Skip to content

Commit 6c111b9

Browse files
committed
chore(buyers): Update buyers spec
1 parent cbcf791 commit 6c111b9

Some content is hidden

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

48 files changed

+1658
-725
lines changed

.speakeasy/gen.lock

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 595a8af4-8da0-44fa-a00d-c1cb52e0c7dc
33
management:
4-
docChecksum: 8c961283d2319291baaf8086401a6006
4+
docChecksum: 12c0c7a9cebc9044f805d249944176a4
55
docVersion: 1.0.0
66
speakeasyVersion: 1.390.8
77
generationVersion: 2.409.8
8-
releaseVersion: 0.7.5
9-
configChecksum: 9af6fa5603023956f46f3918f925a1b7
8+
releaseVersion: 0.8.2
9+
configChecksum: 506dee2e44fd800ac21b7cfad0785847
1010
repoURL: https://github.com/gr4vy/gr4vy-js.git
1111
installationURL: https://github.com/gr4vy/gr4vy-js
1212
published: true
@@ -24,6 +24,7 @@ features:
2424
globalServerURLs: 2.82.4
2525
groups: 2.81.2
2626
nameOverrides: 2.81.2
27+
nullables: 0.1.0
2728
pagination: 2.82.6
2829
responseFormat: 0.2.3
2930
retries: 2.83.0
@@ -96,12 +97,12 @@ generatedFiles:
9697
- src/models/operations/deletebuyershippingdetails.ts
9798
- src/models/components/buyercollection.ts
9899
- src/models/components/buyer.ts
99-
- src/models/components/billingdetails.ts
100100
- src/models/components/taxidkind.ts
101101
- src/models/components/validationerror.ts
102102
- src/models/components/buyercreate.ts
103103
- src/models/components/buyerupdate.ts
104104
- src/models/components/billingdetailssummary.ts
105+
- src/models/components/billingdetails.ts
105106
- src/models/components/shippingdetailslist.ts
106107
- src/models/components/shippingdetails.ts
107108
- src/models/components/shippingdetailscreate.ts
@@ -125,22 +126,28 @@ generatedFiles:
125126
- docs/models/operations/deletebuyershippingdetailsrequest.md
126127
- docs/models/components/buyercollection.md
127128
- docs/models/components/type.md
129+
- docs/models/components/buyeraddress.md
130+
- docs/models/components/buyertaxid.md
131+
- docs/models/components/buyerbillingdetails.md
128132
- docs/models/components/buyer.md
129-
- docs/models/components/address.md
130-
- docs/models/components/taxid.md
131-
- docs/models/components/billingdetails.md
132133
- docs/models/components/taxidkind.md
133134
- docs/models/components/loc.md
134135
- docs/models/components/validationerror.md
135136
- docs/models/components/buyercreateaddress.md
136137
- docs/models/components/buyercreatetaxid.md
137138
- docs/models/components/buyercreatebillingdetails.md
138139
- docs/models/components/buyercreate.md
140+
- docs/models/components/buyerupdateaddress.md
141+
- docs/models/components/buyerupdatetaxid.md
142+
- docs/models/components/buyerupdatebillingdetails.md
139143
- docs/models/components/buyerupdate.md
140-
- docs/models/components/billingdetailssummaryaddress.md
141-
- docs/models/components/billingdetailssummarytaxid.md
144+
- docs/models/components/address.md
145+
- docs/models/components/taxid.md
142146
- docs/models/components/billingdetailssummarytype.md
143147
- docs/models/components/billingdetailssummary.md
148+
- docs/models/components/billingdetailsaddress.md
149+
- docs/models/components/billingdetailstaxid.md
150+
- docs/models/components/billingdetails.md
144151
- docs/models/components/shippingdetailslist.md
145152
- docs/models/components/shippingdetailsaddress.md
146153
- docs/models/components/shippingdetailstype.md

.speakeasy/gen.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ generation:
1212
auth:
1313
oAuth2ClientCredentialsEnabled: false
1414
typescript:
15-
version: 0.7.5
15+
version: 0.8.2
1616
additionalDependencies:
1717
dependencies:
1818
'@trust/keyto': ^1.0.1
@@ -26,7 +26,7 @@ typescript:
2626
'@types/uuid': ^9.0.8
2727
peerDependencies: {}
2828
additionalPackageJSON: {}
29-
author: Speakeasy
29+
author: Gr4vy
3030
clientServerStatusCodesAsErrors: true
3131
enumFormat: union
3232
envVarPrefix: GR4VY

.speakeasy/workflow.lock

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,22 @@ speakeasyVersion: 1.390.8
22
sources:
33
openapi:
44
sourceNamespace: openapi
5-
sourceRevisionDigest: sha256:b345c5de7018c47d67f08afba307ae772ce9ca4db27ca36343caed97b9d5c1f8
6-
sourceBlobDigest: sha256:18c33c5e7d8d2b9711dd4679f2e5008cf481f505d046e6fc93a304542e8691a4
5+
sourceRevisionDigest: sha256:e12ca0731cf9d1249884106cab0f7fb21a576961b89879d98c7557a97ff66951
6+
sourceBlobDigest: sha256:91e79b636c103690ceea03207427b95c02d1ccfa6487d63a47d7c262d053c6ec
77
tags:
88
- latest
99
targets:
1010
first-target:
1111
source: openapi
1212
sourceNamespace: openapi
13-
sourceRevisionDigest: sha256:b345c5de7018c47d67f08afba307ae772ce9ca4db27ca36343caed97b9d5c1f8
14-
sourceBlobDigest: sha256:18c33c5e7d8d2b9711dd4679f2e5008cf481f505d046e6fc93a304542e8691a4
13+
sourceRevisionDigest: sha256:916f35ec72323b7de793b9e99cf14fac33e497c7148c84b996d5cbfd69870398
14+
sourceBlobDigest: sha256:9ed8dd012845981cbfd2fffa608bf33138ca66d764d144933170a6218ca49e99
15+
outLocation: /Users/cbetta/code/gr4vy-js
16+
typescript:
17+
source: openapi
18+
sourceNamespace: openapi
19+
sourceRevisionDigest: sha256:e12ca0731cf9d1249884106cab0f7fb21a576961b89879d98c7557a97ff66951
20+
sourceBlobDigest: sha256:91e79b636c103690ceea03207427b95c02d1ccfa6487d63a47d7c262d053c6ec
1521
outLocation: /Users/cbetta/code/gr4vy-js
1622
workflow:
1723
workflowVersion: 1.0.0
@@ -26,7 +32,7 @@ workflow:
2632
registry:
2733
location: registry.speakeasyapi.dev/gr4vy/gr4vy/openapi
2834
targets:
29-
first-target:
35+
typescript:
3036
target: typescript
3137
source: openapi
3238
publish:

.speakeasy/workflow.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ sources:
1212
registry:
1313
location: registry.speakeasyapi.dev/gr4vy/gr4vy/openapi
1414
targets:
15-
first-target:
15+
typescript:
1616
target: typescript
1717
source: openapi
1818
publish:

docs/models/components/address.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
# Address
22

3-
The address for these buyer details.
3+
The address for the person.
44

55
## Example Usage
66

77
```typescript
88
import { Address } from "@gr4vy/sdk/models/components";
99

1010
let value: Address = {
11-
country: "US",
11+
country: "DE",
1212
stateCode: "GB-LND",
1313
};
1414
```
1515

1616
## Fields
1717

18-
| Field | Type | Required | Description | Example |
19-
| ------------------- | ------------------- | ------------------- | ------------------- | ------------------- |
20-
| `city` | *string* | :heavy_minus_sign: | N/A | |
21-
| `country` | *string* | :heavy_minus_sign: | N/A | DE |
22-
| `postalCode` | *string* | :heavy_minus_sign: | N/A | |
23-
| `state` | *string* | :heavy_minus_sign: | N/A | |
24-
| `stateCode` | *string* | :heavy_minus_sign: | N/A | GB-LND |
25-
| `houseNumberOrName` | *string* | :heavy_minus_sign: | N/A | |
26-
| `line1` | *string* | :heavy_minus_sign: | N/A | |
27-
| `line2` | *string* | :heavy_minus_sign: | N/A | |
28-
| `organization` | *string* | :heavy_minus_sign: | N/A | |
18+
| Field | Type | Required | Description | Example |
19+
| ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ |
20+
| `city` | *string* | :heavy_minus_sign: | The city of the address | |
21+
| `country` | *string* | :heavy_minus_sign: | The country of the address | DE |
22+
| `postalCode` | *string* | :heavy_minus_sign: | The postal code of the address | |
23+
| `state` | *string* | :heavy_minus_sign: | The full state name of the address | |
24+
| `stateCode` | *string* | :heavy_minus_sign: | The state code of the address | GB-LND |
25+
| `houseNumberOrName` | *string* | :heavy_minus_sign: | The house number or name of the address. | |
26+
| `line1` | *string* | :heavy_minus_sign: | The first line of the address. | |
27+
| `line2` | *string* | :heavy_minus_sign: | The second line of the address. | |
28+
| `organization` | *string* | :heavy_minus_sign: | The company or organization name of the address. | |

docs/models/components/billingdetails.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,21 @@ Base model with JSON encoders.
88
import { BillingDetails } from "@gr4vy/sdk/models/components";
99

1010
let value: BillingDetails = {
11-
phoneNumber: "+442071838750",
11+
phoneNumber: "+14155552671",
1212
address: {
1313
country: "GB",
14-
stateCode: "US-CA",
14+
stateCode: "GB-LND",
1515
},
1616
};
1717
```
1818

1919
## Fields
2020

21-
| Field | Type | Required | Description | Example |
22-
| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- |
23-
| `firstName` | *string* | :heavy_minus_sign: | The first or given name for these buyer details. | |
24-
| `lastName` | *string* | :heavy_minus_sign: | The last or family name for these buyer details. | |
25-
| `emailAddress` | *string* | :heavy_minus_sign: | The email address for these buyer details. | |
26-
| `phoneNumber` | *string* | :heavy_minus_sign: | The phone number for these buyer details. | +14155552671 |
27-
| `address` | [components.Address](../../models/components/address.md) | :heavy_minus_sign: | The address for these buyer details. | |
28-
| `taxId` | [components.TaxId](../../models/components/taxid.md) | :heavy_minus_sign: | The tax ID for these buyer details. | |
21+
| Field | Type | Required | Description | Example |
22+
| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ |
23+
| `firstName` | *string* | :heavy_minus_sign: | The first or given name for the person. | |
24+
| `lastName` | *string* | :heavy_minus_sign: | The last or family name for the person. | |
25+
| `emailAddress` | *string* | :heavy_minus_sign: | The email address for the person. | |
26+
| `phoneNumber` | *string* | :heavy_minus_sign: | The phone number for the person. | +14155552671 |
27+
| `address` | [components.BillingDetailsAddress](../../models/components/billingdetailsaddress.md) | :heavy_minus_sign: | The address for the person. | |
28+
| `taxId` | [components.BillingDetailsTaxId](../../models/components/billingdetailstaxid.md) | :heavy_minus_sign: | The tax ID for these buyer details. | |
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# BillingDetailsAddress
2+
3+
The address for the person.
4+
5+
## Example Usage
6+
7+
```typescript
8+
import { BillingDetailsAddress } from "@gr4vy/sdk/models/components";
9+
10+
let value: BillingDetailsAddress = {
11+
country: "US",
12+
stateCode: "GB-LND",
13+
};
14+
```
15+
16+
## Fields
17+
18+
| Field | Type | Required | Description | Example |
19+
| ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ |
20+
| `city` | *string* | :heavy_minus_sign: | The city of the address | |
21+
| `country` | *string* | :heavy_minus_sign: | The country of the address | DE |
22+
| `postalCode` | *string* | :heavy_minus_sign: | The postal code of the address | |
23+
| `state` | *string* | :heavy_minus_sign: | The full state name of the address | |
24+
| `stateCode` | *string* | :heavy_minus_sign: | The state code of the address | GB-LND |
25+
| `houseNumberOrName` | *string* | :heavy_minus_sign: | The house number or name of the address. | |
26+
| `line1` | *string* | :heavy_minus_sign: | The first line of the address. | |
27+
| `line2` | *string* | :heavy_minus_sign: | The second line of the address. | |
28+
| `organization` | *string* | :heavy_minus_sign: | The company or organization name of the address. | |

0 commit comments

Comments
 (0)