Skip to content

Commit a58c2fd

Browse files
authored
Merge pull request #305 from dubinc/speakeasy-sdk-regen-1780621771
chore: 🐝 Update SDK - Generate 0.72.1
2 parents 14fdc26 + 3a99c55 commit a58c2fd

66 files changed

Lines changed: 1174 additions & 395 deletions

Some content is hidden

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

.speakeasy/gen.lock

Lines changed: 171 additions & 115 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
@@ -29,7 +29,7 @@ generation:
2929
generateNewTests: false
3030
skipResponseBodyAssertions: false
3131
typescript:
32-
version: 0.72.0
32+
version: 0.72.1
3333
acceptHeaderEnum: true
3434
additionalDependencies:
3535
dependencies: {}

.speakeasy/out.openapi.yaml

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

.speakeasy/workflow.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
speakeasyVersion: 1.768.2
1+
speakeasyVersion: 1.771.0
22
sources:
33
my-first-source:
44
sourceNamespace: my-first-source
5-
sourceRevisionDigest: sha256:d7d9b0aa672f03b87d78dd36d13985fbdf76e545c2e76d21c999504c77d610e1
6-
sourceBlobDigest: sha256:c5463475ad19bef081fcaa589315e8598ef8979c55c87be394d3e49d43d2ee5e
5+
sourceRevisionDigest: sha256:96d77a03cb8528446ded92ff65c2f801c29c290e32f87d2f13ae283d5d6626a1
6+
sourceBlobDigest: sha256:b5ee2632503b51cd72009fa925485b26a49fab3ed1195d2980621907cebdf8a0
77
tags:
88
- latest
99
- 0.0.1
1010
targets:
1111
my-first-target:
1212
source: my-first-source
1313
sourceNamespace: my-first-source
14-
sourceRevisionDigest: sha256:d7d9b0aa672f03b87d78dd36d13985fbdf76e545c2e76d21c999504c77d610e1
15-
sourceBlobDigest: sha256:c5463475ad19bef081fcaa589315e8598ef8979c55c87be394d3e49d43d2ee5e
14+
sourceRevisionDigest: sha256:96d77a03cb8528446ded92ff65c2f801c29c290e32f87d2f13ae283d5d6626a1
15+
sourceBlobDigest: sha256:b5ee2632503b51cd72009fa925485b26a49fab3ed1195d2980621907cebdf8a0
1616
codeSamplesNamespace: code-samples-typescript-my-first-target
17-
codeSamplesRevisionDigest: sha256:a2131c0cad95697566dc5609856c583eb2910d2bb477fa8fd1526525fe3efb4a
17+
codeSamplesRevisionDigest: sha256:0ff376e99f5b0bcda1149944100c4bffff274d78057adc63ee855dc12166c669
1818
workflow:
1919
workflowVersion: 1.0.0
2020
speakeasyVersion: latest

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ run();
131131
### [Commissions](docs/sdks/commissions/README.md)
132132

133133
* [list](docs/sdks/commissions/README.md#list) - List all commissions
134+
* [create](docs/sdks/commissions/README.md#create) - Create commission
134135
* [update](docs/sdks/commissions/README.md#update) - Update a commission
135136
* [updateMany](docs/sdks/commissions/README.md#updatemany) - Bulk update commissions
136137

@@ -529,6 +530,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
529530
- [`bountiesApproveSubmission`](docs/sdks/bounties/README.md#approvesubmission) - Approve a bounty submission
530531
- [`bountiesListSubmissions`](docs/sdks/bounties/README.md#listsubmissions) - List bounty submissions
531532
- [`bountiesRejectSubmission`](docs/sdks/bounties/README.md#rejectsubmission) - Reject a bounty submission
533+
- [`commissionsCreate`](docs/sdks/commissions/README.md#create) - Create commission
532534
- [`commissionsList`](docs/sdks/commissions/README.md#list) - List all commissions
533535
- [`commissionsUpdate`](docs/sdks/commissions/README.md#update) - Update a commission
534536
- [`commissionsUpdateMany`](docs/sdks/commissions/README.md#updatemany) - Bulk update commissions

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2046,4 +2046,14 @@ Based on:
20462046
### Generated
20472047
- [typescript v0.72.0] .
20482048
### Releases
2049-
- [NPM v0.72.0] https://www.npmjs.com/package/dub/v/0.72.0 - .
2049+
- [NPM v0.72.0] https://www.npmjs.com/package/dub/v/0.72.0 - .
2050+
2051+
## 2026-06-05 15:53:40
2052+
### Changes
2053+
Based on:
2054+
- OpenAPI Doc
2055+
- Speakeasy CLI 1.771.0 (2.893.0) https://github.com/speakeasy-api/speakeasy
2056+
### Generated
2057+
- [typescript v0.72.1] .
2058+
### Releases
2059+
- [NPM v0.72.1] https://www.npmjs.com/package/dub/v/0.72.1 - .

codeSamples.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,25 @@ actions:
109109
}
110110
}
111111
112+
run();
113+
- target: $["paths"]["/commissions"]["post"]
114+
update:
115+
x-codeSamples:
116+
- lang: typescript
117+
label: createCommission
118+
source: |-
119+
import { Dub } from "dub";
120+
121+
const dub = new Dub({
122+
token: "DUB_API_KEY",
123+
});
124+
125+
async function run() {
126+
const result = await dub.commissions.create();
127+
128+
console.log(result);
129+
}
130+
112131
run();
113132
- target: $["paths"]["/commissions/bulk"]["patch"]
114133
update:

docs/models/components/commissioncreatedeventcustomer.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import { CommissionCreatedEventCustomer } from "dub/models/components";
77

88
let value: CommissionCreatedEventCustomer = {
99
id: "<id>",
10-
name: "<value>",
1110
externalId: "<id>",
1211
createdAt: "1709990980275",
1312
};
@@ -18,7 +17,7 @@ let value: CommissionCreatedEventCustomer = {
1817
| Field | Type | Required | Description |
1918
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
2019
| `id` | *string* | :heavy_check_mark: | The unique ID of the customer. You may use either the customer's `id` on Dub (obtained via `/customers` endpoint) or their `externalId` (unique ID within your system, prefixed with `ext_`, e.g. `ext_123`). |
21-
| `name` | *string* | :heavy_check_mark: | Name of the customer. |
20+
| `name` | *string* | :heavy_minus_sign: | Name of the customer. |
2221
| `email` | *string* | :heavy_minus_sign: | Email of the customer. |
2322
| `avatar` | *string* | :heavy_minus_sign: | Avatar URL of the customer. |
2423
| `externalId` | *string* | :heavy_check_mark: | Unique identifier for the customer in the client's app. |

docs/models/components/customer.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import { Customer } from "dub/models/components";
77

88
let value: Customer = {
99
id: "<id>",
10-
name: "<value>",
1110
externalId: "<id>",
1211
createdAt: "1730600624183",
1312
};
@@ -18,7 +17,7 @@ let value: Customer = {
1817
| Field | Type | Required | Description |
1918
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
2019
| `id` | *string* | :heavy_check_mark: | The unique ID of the customer. You may use either the customer's `id` on Dub (obtained via `/customers` endpoint) or their `externalId` (unique ID within your system, prefixed with `ext_`, e.g. `ext_123`). |
21-
| `name` | *string* | :heavy_check_mark: | Name of the customer. |
20+
| `name` | *string* | :heavy_minus_sign: | Name of the customer. |
2221
| `email` | *string* | :heavy_minus_sign: | Email of the customer. |
2322
| `avatar` | *string* | :heavy_minus_sign: | Avatar URL of the customer. |
2423
| `externalId` | *string* | :heavy_check_mark: | Unique identifier for the customer in the client's app. |

docs/models/components/leadcreatedevent.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ let value: LeadCreatedEvent = {
1515
eventName: "<value>",
1616
customer: {
1717
id: "<id>",
18-
name: "<value>",
1918
externalId: "<id>",
2019
createdAt: "1718158709687",
2120
},

0 commit comments

Comments
 (0)