Skip to content

Commit cf1635d

Browse files
committed
build(codegen): updating SDK
1 parent 265b2c1 commit cf1635d

6 files changed

Lines changed: 27 additions & 6 deletions

File tree

.changeset/changes_checkout.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
'@commercetools/checkout-sdk': minor
3+
---
4+
5+
**Checkout changes**
6+
7+
<details>
8+
<summary>Added Type(s)</summary>
9+
10+
- added type `CountryCode`
11+
- added type `CurrencyCode`
12+
- added type `Locale`
13+
</details>

changes.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
**Api changes**
1+
**Checkout changes**
22

33
<details>
44
<summary>Added Type(s)</summary>
55

6-
- added type `ExactLockConflictError`
7-
- added type `ValidityLockConflictError`
8-
- added type `GraphQLExactLockConflictError`
9-
- added type `GraphQLValidityLockConflictError`
6+
- added type `CountryCode`
7+
- added type `CurrencyCode`
8+
- added type `Locale`
109
</details>

packages/checkout-sdk/src/generated/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ export * from './models/payment-integration'
3030
export * from './models/payment-integration-draft'
3131
export * from './models/payment-intents'
3232
export * from './models/responses'
33+
export * from './models/scalar-types'
3334
export * from './models/transaction'
3435
//Common package
3536
export * from './shared/utils/common-types'

packages/checkout-sdk/src/generated/models/common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export interface Amount {
115115
readonly currencyCode: string
116116
}
117117
/**
118-
* JSON object where the keys are of type [Locale](ctp:api:type:Locale), and the values are the strings used for the corresponding language.
118+
* JSON object where the keys are of type [Locale](ctp:checkout:type:Locale), and the values are the strings used for the corresponding language.
119119
*
120120
*/
121121
export interface LocalizedString {
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/**
2+
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
3+
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
4+
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
5+
*/
6+
7+
export type Locale = string

references.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -520,3 +520,4 @@ d3b8e01b6233c9a25fa53d3a8a50a8e1721e664c
520520
d71139f421f6ec0343438bef335b6826feaa86e7
521521
4880d2d5a0865d3d80661dbedabf8a400d35e04c
522522
1c132d4f4baa5b0c2972dfa0340a2ed5d5e781e8
523+
f2c34069b067b892f11f451fccc4b0b7886874c6

0 commit comments

Comments
 (0)