Skip to content

Commit 44f9567

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate 0.50.1 (#219)
* ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.477.0 * empty commit to trigger [run-tests] workflow --------- Co-authored-by: speakeasybot <[email protected]> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
1 parent 0f47d86 commit 44f9567

File tree

184 files changed

+3667
-937
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

184 files changed

+3667
-937
lines changed

.speakeasy/gen.lock

Lines changed: 141 additions & 18 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ generation:
1313
oAuth2ClientCredentialsEnabled: false
1414
oAuth2PasswordEnabled: false
1515
typescript:
16-
version: 0.49.1
16+
version: 0.50.1
1717
additionalDependencies:
1818
dependencies: {}
1919
devDependencies:

.speakeasy/workflow.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@ speakeasyVersion: 1.477.0
22
sources:
33
my-first-source:
44
sourceNamespace: my-first-source
5-
sourceRevisionDigest: sha256:7a6621696dbc9519df849fb0b71a1a0f516cdb2910f9d4cedf08b7467818c576
6-
sourceBlobDigest: sha256:2bf7ad81b245c395631d9a34311688858814689a1f1922f4f35541aa8836b5db
5+
sourceRevisionDigest: sha256:91c4bb3335c98ca773a92fc99a08a6de081f301d2d9b28c370d6b6d3fa67a3ce
6+
sourceBlobDigest: sha256:cefa494187073dd8bb1eebde5639c67f6f8ede53421ce7fd329ea379e75153ca
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1739219817
9+
- speakeasy-sdk-regen-1739233600
1010
- 0.0.1
1111
targets:
1212
my-first-target:
1313
source: my-first-source
1414
sourceNamespace: my-first-source
15-
sourceRevisionDigest: sha256:7a6621696dbc9519df849fb0b71a1a0f516cdb2910f9d4cedf08b7467818c576
16-
sourceBlobDigest: sha256:2bf7ad81b245c395631d9a34311688858814689a1f1922f4f35541aa8836b5db
15+
sourceRevisionDigest: sha256:91c4bb3335c98ca773a92fc99a08a6de081f301d2d9b28c370d6b6d3fa67a3ce
16+
sourceBlobDigest: sha256:cefa494187073dd8bb1eebde5639c67f6f8ede53421ce7fd329ea379e75153ca
1717
codeSamplesNamespace: code-samples-typescript-my-first-target
18-
codeSamplesRevisionDigest: sha256:7519ff91b54532e087f315331d90873865d2151fb229310c3b7bda1f0601bc17
18+
codeSamplesRevisionDigest: sha256:1e723e23e93b966d21583736a01b00c21afe2444f08f2da7ed3ebf8cfd37a3bc
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,13 @@ run();
151151

152152
* [list](docs/sdks/events/README.md#list) - Retrieve a list of events
153153

154+
### [folders](docs/sdks/folders/README.md)
155+
156+
* [create](docs/sdks/folders/README.md#create) - Create a new folder
157+
* [list](docs/sdks/folders/README.md#list) - Retrieve a list of folders
158+
* [update](docs/sdks/folders/README.md#update) - Update a folder
159+
* [delete](docs/sdks/folders/README.md#delete) - Delete a folder
160+
154161
### [links](docs/sdks/links/README.md)
155162

156163
* [create](docs/sdks/links/README.md#create) - Create a new link
@@ -555,6 +562,10 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
555562
- [`domainsUpdate`](docs/sdks/domains/README.md#update) - Update a domain
556563
- [`embedTokensCreate`](docs/sdks/embedtokens/README.md#create) - Create a new embed token
557564
- [`eventsList`](docs/sdks/events/README.md#list) - Retrieve a list of events
565+
- [`foldersCreate`](docs/sdks/folders/README.md#create) - Create a new folder
566+
- [`foldersDelete`](docs/sdks/folders/README.md#delete) - Delete a folder
567+
- [`foldersList`](docs/sdks/folders/README.md#list) - Retrieve a list of folders
568+
- [`foldersUpdate`](docs/sdks/folders/README.md#update) - Update a folder
558569
- [`linksCount`](docs/sdks/links/README.md#count) - Retrieve links count
559570
- [`linksCreate`](docs/sdks/links/README.md#create) - Create a new link
560571
- [`linksCreateMany`](docs/sdks/links/README.md#createmany) - Bulk create links

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1286,4 +1286,14 @@ Based on:
12861286
### Generated
12871287
- [typescript v0.49.1] .
12881288
### Releases
1289-
- [NPM v0.49.1] https://www.npmjs.com/package/dub/v/0.49.1 - .
1289+
- [NPM v0.49.1] https://www.npmjs.com/package/dub/v/0.49.1 - .
1290+
1291+
## 2025-02-12 00:26:29
1292+
### Changes
1293+
Based on:
1294+
- OpenAPI Doc
1295+
- Speakeasy CLI 1.477.0 (2.497.0) https://github.com/speakeasy-api/speakeasy
1296+
### Generated
1297+
- [typescript v0.50.1] .
1298+
### Releases
1299+
- [NPM v0.50.1] https://www.npmjs.com/package/dub/v/0.50.1 - .

codeSamples.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,30 @@ actions:
6363
- "lang": "typescript"
6464
"label": "listEvents"
6565
"source": "import { Dub } from \"dub\";\n\nconst dub = new Dub({\n token: \"DUB_API_KEY\",\n});\n\nasync function run() {\n const result = await dub.events.list();\n\n // Handle the result\n console.log(result);\n}\n\nrun();"
66+
- target: $["paths"]["/folders"]["get"]
67+
update:
68+
"x-codeSamples":
69+
- "lang": "typescript"
70+
"label": "listFolders"
71+
"source": "import { Dub } from \"dub\";\n\nconst dub = new Dub({\n token: \"DUB_API_KEY\",\n});\n\nasync function run() {\n const result = await dub.folders.list();\n\n // Handle the result\n console.log(result);\n}\n\nrun();"
72+
- target: $["paths"]["/folders"]["post"]
73+
update:
74+
"x-codeSamples":
75+
- "lang": "typescript"
76+
"label": "createFolder"
77+
"source": "import { Dub } from \"dub\";\n\nconst dub = new Dub({\n token: \"DUB_API_KEY\",\n});\n\nasync function run() {\n const result = await dub.folders.create();\n\n // Handle the result\n console.log(result);\n}\n\nrun();"
78+
- target: $["paths"]["/folders/{id}"]["delete"]
79+
update:
80+
"x-codeSamples":
81+
- "lang": "typescript"
82+
"label": "deleteFolder"
83+
"source": "import { Dub } from \"dub\";\n\nconst dub = new Dub({\n token: \"DUB_API_KEY\",\n});\n\nasync function run() {\n const result = await dub.folders.delete(\"<id>\");\n\n // Handle the result\n console.log(result);\n}\n\nrun();"
84+
- target: $["paths"]["/folders/{id}"]["patch"]
85+
update:
86+
"x-codeSamples":
87+
- "lang": "typescript"
88+
"label": "updateFolder"
89+
"source": "import { Dub } from \"dub\";\n\nconst dub = new Dub({\n token: \"DUB_API_KEY\",\n});\n\nasync function run() {\n const result = await dub.folders.update(\"<id>\");\n\n // Handle the result\n console.log(result);\n}\n\nrun();"
6690
- target: $["paths"]["/links"]["get"]
6791
update:
6892
"x-codeSamples":

docs/models/components/accesslevel.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# AccessLevel
2+
3+
The access level of the folder within the workspace.
4+
5+
## Example Usage
6+
7+
```typescript
8+
import { AccessLevel } from "dub/models/components";
9+
10+
let value: AccessLevel = "write";
11+
```
12+
13+
## Values
14+
15+
```typescript
16+
"read" | "write"
17+
```

docs/models/components/analyticstoplinks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ let value: AnalyticsTopLinks = {
1212
key: "<key>",
1313
shortLink: "<value>",
1414
url: "https://productive-fundraising.com/",
15-
createdAt: "1733610180722",
15+
createdAt: "1733710364113",
1616
};
1717
```
1818

docs/models/components/clickevent.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ let value: ClickEvent = {
3131
tenantId: "<id>",
3232
programId: "<id>",
3333
partnerId: "<id>",
34-
expiresAt: "1760430432927",
34+
expiresAt: "1760530616295",
3535
expiredUrl: "https://frugal-yogurt.info",
3636
password: "MD1aZN7QCLAAY_F",
3737
title: "<value>",
@@ -50,6 +50,7 @@ let value: ClickEvent = {
5050
color: "red",
5151
},
5252
],
53+
folderId: "<id>",
5354
webhookIds: [
5455
"<value>",
5556
],
@@ -65,8 +66,8 @@ let value: ClickEvent = {
6566
userId: "<id>",
6667
workspaceId: "<id>",
6768
lastClicked: "<value>",
68-
createdAt: "1732224295500",
69-
updatedAt: "1739206417901",
69+
createdAt: "1732324478868",
70+
updatedAt: "1739306601269",
7071
projectId: "<id>",
7172
},
7273
clickId: "<id>",

docs/models/components/customer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ let value: Customer = {
99
id: "<id>",
1010
externalId: "<id>",
1111
name: "<value>",
12-
createdAt: "1714760984379",
12+
createdAt: "1714861167797",
1313
};
1414
```
1515

docs/models/components/data.md

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,20 @@ import { Data } from "dub/models/components";
77

88
let value: Data = {
99
id: "<id>",
10-
domain: "fruitful-populist.com",
10+
domain: "boiling-underpants.info",
1111
key: "<key>",
12-
url: "https://tinted-ignorance.info",
12+
url: "https://clear-hospitalization.name/",
1313
externalId: "<id>",
1414
tenantId: "<id>",
1515
programId: "<id>",
1616
partnerId: "<id>",
17-
expiresAt: "1748001675311",
18-
expiredUrl: "https://descriptive-waterspout.org/",
19-
password: "CvcFUnP7YlcIjB_",
17+
expiresAt: "1742299812528",
18+
expiredUrl: "https://tasty-partridge.biz/",
19+
password: "0v2LJyvKYT3ZA7Q",
2020
title: "<value>",
21-
description: "gah ew despite separately",
22-
image: "https://loremflickr.com/1236/279?lock=6286261524471032",
23-
video: "https://picsum.videos/seed/kPfklN/1099/3445",
21+
description: "for suckle along although boohoo",
22+
image: "https://loremflickr.com/3919/3469?lock=8680677987618172",
23+
video: "https://loremflickr.com/1471/1191?lock=8120990553362772",
2424
ios: "<value>",
2525
android: "<id>",
2626
geo: {},
@@ -29,15 +29,16 @@ let value: Data = {
2929
{
3030
id: "<id>",
3131
name: "<value>",
32-
color: "red",
32+
color: "brown",
3333
},
3434
],
35+
folderId: "<id>",
3536
webhookIds: [
3637
"<value>",
3738
],
38-
comments: "bitter ah versus alongside ouch whenever",
39-
shortLink: "https://vivid-toothpick.com",
40-
qrCode: "https://fantastic-median.biz",
39+
comments: "throughout hope but hmph reckon drat fuzzy culture any round",
40+
shortLink: "https://spherical-violin.org/",
41+
qrCode: "https://cluttered-minor.biz",
4142
utmSource: "<value>",
4243
utmMedium: "<value>",
4344
utmCampaign: "<value>",
@@ -46,8 +47,8 @@ let value: Data = {
4647
userId: "<id>",
4748
workspaceId: "<id>",
4849
lastClicked: "<value>",
49-
createdAt: "1712529905352",
50-
updatedAt: "1739171881226",
50+
createdAt: "1738380695223",
51+
updatedAt: "1739295650851",
5152
projectId: "<id>",
5253
};
5354
```
@@ -82,6 +83,7 @@ let value: Data = {
8283
| `publicStats` | *boolean* | :heavy_minus_sign: | N/A |
8384
| ~~`tagId`~~ | *string* | :heavy_check_mark: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.<br/><br/>The unique ID of the tag assigned to the short link. This field is deprecated – use `tags` instead. |
8485
| `tags` | [components.TagSchema](../../models/components/tagschema.md)[] | :heavy_check_mark: | The tags assigned to the short link. |
86+
| `folderId` | *string* | :heavy_check_mark: | The unique ID of the folder assigned to the short link. |
8587
| `webhookIds` | *string*[] | :heavy_check_mark: | The IDs of the webhooks that the short link is associated with. |
8688
| `comments` | *string* | :heavy_check_mark: | The comments for the short link. |
8789
| `shortLink` | *string* | :heavy_check_mark: | The full URL of the short link, including the https protocol (e.g. `https://dub.sh/try`). |

docs/models/components/domainschema.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ let value: DomainSchema = {
1212
expiredUrl: "https://acme.com/expired",
1313
notFoundUrl: "https://acme.com/not-found",
1414
logo: "<value>",
15-
createdAt: "1731711990875",
16-
updatedAt: "1739210438321",
15+
createdAt: "1711167905769",
16+
updatedAt: "1739234443322",
1717
registeredDomain: {
1818
id: "<id>",
19-
createdAt: "1733105807606",
20-
expiresAt: "1742603723394",
19+
createdAt: "1713830271886",
20+
expiresAt: "1747849834701",
2121
},
2222
};
2323
```
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# FolderSchema
2+
3+
## Example Usage
4+
5+
```typescript
6+
import { FolderSchema } from "dub/models/components";
7+
8+
let value: FolderSchema = {
9+
id: "<id>",
10+
name: "<value>",
11+
createdAt: "1715288762416",
12+
updatedAt: "1739299490230",
13+
};
14+
```
15+
16+
## Fields
17+
18+
| Field | Type | Required | Description |
19+
| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- |
20+
| `id` | *string* | :heavy_check_mark: | The unique ID of the folder. |
21+
| `name` | *string* | :heavy_check_mark: | The name of the folder. |
22+
| `accessLevel` | [components.AccessLevel](../../models/components/accesslevel.md) | :heavy_minus_sign: | The access level of the folder within the workspace. |
23+
| `linkCount` | *number* | :heavy_minus_sign: | The number of links in the folder. |
24+
| `createdAt` | *string* | :heavy_check_mark: | The date the folder was created. |
25+
| `updatedAt` | *string* | :heavy_check_mark: | The date the folder was updated. |

0 commit comments

Comments
 (0)