Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .changeset/changes_checkout.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
'@commercetools/checkout-sdk': minor
---

**Checkout changes**

<details>
<summary>Added Type(s)</summary>

- added type `CountryCode`
- added type `CurrencyCode`
- added type `Locale`
</details>
9 changes: 4 additions & 5 deletions changes.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
**Api changes**
**Checkout changes**

<details>
<summary>Added Type(s)</summary>

- added type `ExactLockConflictError`
- added type `ValidityLockConflictError`
- added type `GraphQLExactLockConflictError`
- added type `GraphQLValidityLockConflictError`
- added type `CountryCode`
- added type `CurrencyCode`
- added type `Locale`
</details>
1 change: 1 addition & 0 deletions packages/checkout-sdk/src/generated/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export * from './models/payment-integration'
export * from './models/payment-integration-draft'
export * from './models/payment-intents'
export * from './models/responses'
export * from './models/scalar-types'
export * from './models/transaction'
//Common package
export * from './shared/utils/common-types'
Expand Down
2 changes: 1 addition & 1 deletion packages/checkout-sdk/src/generated/models/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export interface Amount {
readonly currencyCode: string
}
/**
* JSON object where the keys are of type [Locale](ctp:api:type:Locale), and the values are the strings used for the corresponding language.
* JSON object where the keys are of type [Locale](ctp:checkout:type:Locale), and the values are the strings used for the corresponding language.
*
*/
export interface LocalizedString {
Expand Down
7 changes: 7 additions & 0 deletions packages/checkout-sdk/src/generated/models/scalar-types.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/**
* Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
* Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
* For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
*/

export type Locale = string
1 change: 1 addition & 0 deletions references.txt
Original file line number Diff line number Diff line change
Expand Up @@ -520,3 +520,4 @@ d3b8e01b6233c9a25fa53d3a8a50a8e1721e664c
d71139f421f6ec0343438bef335b6826feaa86e7
4880d2d5a0865d3d80661dbedabf8a400d35e04c
1c132d4f4baa5b0c2972dfa0340a2ed5d5e781e8
f2c34069b067b892f11f451fccc4b0b7886874c6
Loading