Skip to content

Commit 2e2e9b9

Browse files
committed
build(codegen): updating SDK
1 parent 2da198f commit 2e2e9b9

File tree

16 files changed

+5971
-339
lines changed

16 files changed

+5971
-339
lines changed

.changeset/changes_api.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@
1111
- added type `MergeCartDraft`
1212
- added type `RecurringOrderFailureError`
1313
- added type `GraphQLRecurringOrderFailureError`
14+
- added type `CartFrozenMessage`
15+
- added type `CartUnfrozenMessage`
1416
- added type `RecurringOrderFailedMessage`
17+
- added type `CartFrozenMessagePayload`
18+
- added type `CartUnfrozenMessagePayload`
1519
- added type `RecurringOrderFailedMessagePayload`
1620
</details>
1721

.changeset/changes_history.md

Lines changed: 545 additions & 0 deletions
Large diffs are not rendered by default.

changes.md

Lines changed: 546 additions & 0 deletions
Large diffs are not rendered by default.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@ export interface CartNotFound extends IResponseMessage {
812812
*
813813
*/
814814
export interface CartWithExistingPayment extends IResponseMessage {
815-
readonly code: 'cart_with_exisiting_payment'
815+
readonly code: 'cart_with_existing_payment'
816816
/**
817817
* \`error`
818818
*

packages/history-sdk/src/generated/models/change-history.ts

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66

77
import { Change } from './change'
8-
import { KeyReference, Reference, ResourceIdentifier } from './common'
8+
import { KeyReference, Reference, _ResourceIdentifier } from './common'
99
import { TooManyRequestsError } from './error'
1010
import { Label } from './label'
1111

@@ -69,7 +69,7 @@ export interface Record {
6969
*
7070
*
7171
*/
72-
readonly resource: ResourceIdentifier
72+
readonly resource: _ResourceIdentifier
7373
/**
7474
* References to the [Stores](ctp:api:type:Store) associated with the [Change](ctp:history:type:Change).
7575
*
@@ -293,20 +293,46 @@ export interface ModifiedBy {
293293
* Updates that are triggered automatically as a result of a user-initiated change.
294294
*/
295295
export enum PlatformInitiatedChangeValues {
296+
AddInheritedAssociate = 'addInheritedAssociate',
297+
ChangeIncludedInStatistics = 'changeIncludedInStatistics',
298+
ChangeInheritedAssociate = 'changeInheritedAssociate',
299+
ChangeLastVariantId = 'changeLastVariantId',
296300
ChangeLineItemName = 'changeLineItemName',
301+
ChangeLineItemPublished = 'changeLineItemPublished',
297302
ChangeReviewRatingStatistics = 'changeReviewRatingStatistics',
303+
ChangeTopLevelUnit = 'changeTopLevelUnit',
298304
ExcludeAll = 'excludeAll',
305+
RemoveInheritedAssociate = 'removeInheritedAssociate',
306+
SetAncestors = 'setAncestors',
299307
SetApplicationVersion = 'setApplicationVersion',
308+
SetInheritedAssociates = 'setInheritedAssociates',
309+
SetInheritedStores = 'setInheritedStores',
300310
SetIsValid = 'setIsValid',
311+
SetLineItemDeactivatedAt = 'setLineItemDeactivatedAt',
312+
SetProductCount = 'setProductCount',
313+
SetReservations = 'setReservations',
301314
SetVariantAvailability = 'setVariantAvailability',
302315
}
303316

304317
export type PlatformInitiatedChange =
318+
| 'addInheritedAssociate'
319+
| 'changeIncludedInStatistics'
320+
| 'changeInheritedAssociate'
321+
| 'changeLastVariantId'
305322
| 'changeLineItemName'
323+
| 'changeLineItemPublished'
306324
| 'changeReviewRatingStatistics'
325+
| 'changeTopLevelUnit'
307326
| 'excludeAll'
327+
| 'removeInheritedAssociate'
328+
| 'setAncestors'
308329
| 'setApplicationVersion'
330+
| 'setInheritedAssociates'
331+
| 'setInheritedStores'
309332
| 'setIsValid'
333+
| 'setLineItemDeactivatedAt'
334+
| 'setProductCount'
335+
| 'setReservations'
310336
| 'setVariantAvailability'
311337
| (string & {})
312338
/**
@@ -352,7 +378,6 @@ export enum UpdateTypeValues {
352378
AddTransaction = 'addTransaction',
353379
AddVariant = 'addVariant',
354380
ChangeAddress = 'changeAddress',
355-
ChangeAmountAuthorized = 'changeAmountAuthorized',
356381
ChangeAmountPlanned = 'changeAmountPlanned',
357382
ChangeAssetName = 'changeAssetName',
358383
ChangeAssetOrder = 'changeAssetOrder',
@@ -628,7 +653,6 @@ export type UpdateType =
628653
| 'addTransaction'
629654
| 'addVariant'
630655
| 'changeAddress'
631-
| 'changeAmountAuthorized'
632656
| 'changeAmountPlanned'
633657
| 'changeAssetName'
634658
| 'changeAssetOrder'

0 commit comments

Comments
 (0)