@wix/ecom 1.0.777 → 1.0.779
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -63,16 +63,16 @@ type APIMetadata = {
|
|
|
63
63
|
packageName?: string;
|
|
64
64
|
};
|
|
65
65
|
type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
|
|
66
|
-
type EventDefinition$
|
|
66
|
+
type EventDefinition$g<Payload = unknown, Type extends string = string> = {
|
|
67
67
|
__type: 'event-definition';
|
|
68
68
|
type: Type;
|
|
69
69
|
isDomainEvent?: boolean;
|
|
70
70
|
transformations?: (envelope: unknown) => Payload;
|
|
71
71
|
__payload: Payload;
|
|
72
72
|
};
|
|
73
|
-
declare function EventDefinition$
|
|
74
|
-
type EventHandler$
|
|
75
|
-
type BuildEventDefinition$
|
|
73
|
+
declare function EventDefinition$g<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition$g<Payload, Type>;
|
|
74
|
+
type EventHandler$g<T extends EventDefinition$g> = (payload: T['__payload']) => void | Promise<void>;
|
|
75
|
+
type BuildEventDefinition$g<T extends EventDefinition$g<any, string>> = (handler: EventHandler$g<T>) => void;
|
|
76
76
|
|
|
77
77
|
type ServicePluginMethodInput = {
|
|
78
78
|
request: any;
|
|
@@ -367,7 +367,7 @@ ConditionalKeys<Base, Condition>
|
|
|
367
367
|
* can either be a REST module or a host module.
|
|
368
368
|
* This type is recursive, so it can describe nested modules.
|
|
369
369
|
*/
|
|
370
|
-
type Descriptors = RESTFunctionDescriptor | AmbassadorFunctionDescriptor | HostModule<any, any> | EventDefinition$
|
|
370
|
+
type Descriptors = RESTFunctionDescriptor | AmbassadorFunctionDescriptor | HostModule<any, any> | EventDefinition$g<any> | ServicePluginDefinition<any> | {
|
|
371
371
|
[key: string]: Descriptors | PublicMetadata | any;
|
|
372
372
|
};
|
|
373
373
|
/**
|
|
@@ -380,7 +380,7 @@ type BuildDescriptors<T extends Descriptors, H extends Host<any> | undefined, De
|
|
|
380
380
|
done: T;
|
|
381
381
|
recurse: T extends {
|
|
382
382
|
__type: typeof SERVICE_PLUGIN_ERROR_TYPE;
|
|
383
|
-
} ? never : T extends AmbassadorFunctionDescriptor ? BuildAmbassadorFunction<T> : T extends RESTFunctionDescriptor ? BuildRESTFunction<T> : T extends EventDefinition$
|
|
383
|
+
} ? never : T extends AmbassadorFunctionDescriptor ? BuildAmbassadorFunction<T> : T extends RESTFunctionDescriptor ? BuildRESTFunction<T> : T extends EventDefinition$g<any> ? BuildEventDefinition$g<T> : T extends ServicePluginDefinition<any> ? BuildServicePluginDefinition<T> : T extends HostModule<any, any> ? HostModuleAPI<T> : ConditionalExcept<{
|
|
384
384
|
[Key in keyof T]: T[Key] extends Descriptors ? BuildDescriptors<T[Key], H, [
|
|
385
385
|
-1,
|
|
386
386
|
0,
|
|
@@ -1323,7 +1323,7 @@ interface UpdateDiscountRuleResponseNonNullableFields {
|
|
|
1323
1323
|
interface QueryDiscountRulesResponseNonNullableFields {
|
|
1324
1324
|
discountRules: DiscountRuleNonNullableFields$6[];
|
|
1325
1325
|
}
|
|
1326
|
-
interface BaseEventMetadata$
|
|
1326
|
+
interface BaseEventMetadata$f {
|
|
1327
1327
|
/** App instance ID. */
|
|
1328
1328
|
instanceId?: string | null;
|
|
1329
1329
|
/** Event type. */
|
|
@@ -1331,7 +1331,7 @@ interface BaseEventMetadata$g {
|
|
|
1331
1331
|
/** The identification type and identity data. */
|
|
1332
1332
|
identity?: IdentificationData$j;
|
|
1333
1333
|
}
|
|
1334
|
-
interface EventMetadata$
|
|
1334
|
+
interface EventMetadata$f extends BaseEventMetadata$f {
|
|
1335
1335
|
/**
|
|
1336
1336
|
* Unique event ID.
|
|
1337
1337
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -1371,14 +1371,14 @@ interface EventMetadata$g extends BaseEventMetadata$g {
|
|
|
1371
1371
|
}
|
|
1372
1372
|
interface DiscountRuleCreatedEnvelope {
|
|
1373
1373
|
entity: DiscountRule$7;
|
|
1374
|
-
metadata: EventMetadata$
|
|
1374
|
+
metadata: EventMetadata$f;
|
|
1375
1375
|
}
|
|
1376
1376
|
interface DiscountRuleUpdatedEnvelope {
|
|
1377
1377
|
entity: DiscountRule$7;
|
|
1378
|
-
metadata: EventMetadata$
|
|
1378
|
+
metadata: EventMetadata$f;
|
|
1379
1379
|
}
|
|
1380
1380
|
interface DiscountRuleDeletedEnvelope {
|
|
1381
|
-
metadata: EventMetadata$
|
|
1381
|
+
metadata: EventMetadata$f;
|
|
1382
1382
|
}
|
|
1383
1383
|
interface UpdateDiscountRule {
|
|
1384
1384
|
/**
|
|
@@ -1569,20 +1569,20 @@ interface QueryDiscountRulesSignature {
|
|
|
1569
1569
|
*/
|
|
1570
1570
|
(): DiscountRulesQueryBuilder;
|
|
1571
1571
|
}
|
|
1572
|
-
declare const onDiscountRuleCreated$1: EventDefinition$
|
|
1573
|
-
declare const onDiscountRuleUpdated$1: EventDefinition$
|
|
1574
|
-
declare const onDiscountRuleDeleted$1: EventDefinition$
|
|
1572
|
+
declare const onDiscountRuleCreated$1: EventDefinition$g<DiscountRuleCreatedEnvelope, "wix.ecom.discounts.v1.discount_rule_created">;
|
|
1573
|
+
declare const onDiscountRuleUpdated$1: EventDefinition$g<DiscountRuleUpdatedEnvelope, "wix.ecom.discounts.v1.discount_rule_updated">;
|
|
1574
|
+
declare const onDiscountRuleDeleted$1: EventDefinition$g<DiscountRuleDeletedEnvelope, "wix.ecom.discounts.v1.discount_rule_deleted">;
|
|
1575
1575
|
|
|
1576
|
-
type EventDefinition$
|
|
1576
|
+
type EventDefinition$f<Payload = unknown, Type extends string = string> = {
|
|
1577
1577
|
__type: 'event-definition';
|
|
1578
1578
|
type: Type;
|
|
1579
1579
|
isDomainEvent?: boolean;
|
|
1580
1580
|
transformations?: (envelope: unknown) => Payload;
|
|
1581
1581
|
__payload: Payload;
|
|
1582
1582
|
};
|
|
1583
|
-
declare function EventDefinition$
|
|
1584
|
-
type EventHandler$
|
|
1585
|
-
type BuildEventDefinition$
|
|
1583
|
+
declare function EventDefinition$f<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition$f<Payload, Type>;
|
|
1584
|
+
type EventHandler$f<T extends EventDefinition$f> = (payload: T['__payload']) => void | Promise<void>;
|
|
1585
|
+
type BuildEventDefinition$f<T extends EventDefinition$f<any, string>> = (handler: EventHandler$f<T>) => void;
|
|
1586
1586
|
|
|
1587
1587
|
declare global {
|
|
1588
1588
|
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
@@ -1591,7 +1591,7 @@ declare global {
|
|
|
1591
1591
|
}
|
|
1592
1592
|
}
|
|
1593
1593
|
|
|
1594
|
-
declare function createEventModule$
|
|
1594
|
+
declare function createEventModule$f<T extends EventDefinition$f<any, string>>(eventDefinition: T): BuildEventDefinition$f<T> & T;
|
|
1595
1595
|
|
|
1596
1596
|
declare const createDiscountRule: MaybeContext<BuildRESTFunction<typeof createDiscountRule$1> & typeof createDiscountRule$1>;
|
|
1597
1597
|
declare const getDiscountRule: MaybeContext<BuildRESTFunction<typeof getDiscountRule$1> & typeof getDiscountRule$1>;
|
|
@@ -1603,19 +1603,19 @@ type _publicOnDiscountRuleCreatedType = typeof onDiscountRuleCreated$1;
|
|
|
1603
1603
|
/**
|
|
1604
1604
|
* Triggered when a discount rule is created.
|
|
1605
1605
|
*/
|
|
1606
|
-
declare const onDiscountRuleCreated: ReturnType<typeof createEventModule$
|
|
1606
|
+
declare const onDiscountRuleCreated: ReturnType<typeof createEventModule$f<_publicOnDiscountRuleCreatedType>>;
|
|
1607
1607
|
|
|
1608
1608
|
type _publicOnDiscountRuleUpdatedType = typeof onDiscountRuleUpdated$1;
|
|
1609
1609
|
/**
|
|
1610
1610
|
* Triggered when a discount rule is updated.
|
|
1611
1611
|
*/
|
|
1612
|
-
declare const onDiscountRuleUpdated: ReturnType<typeof createEventModule$
|
|
1612
|
+
declare const onDiscountRuleUpdated: ReturnType<typeof createEventModule$f<_publicOnDiscountRuleUpdatedType>>;
|
|
1613
1613
|
|
|
1614
1614
|
type _publicOnDiscountRuleDeletedType = typeof onDiscountRuleDeleted$1;
|
|
1615
1615
|
/**
|
|
1616
1616
|
* Triggered when a discount rule is deleted.
|
|
1617
1617
|
*/
|
|
1618
|
-
declare const onDiscountRuleDeleted: ReturnType<typeof createEventModule$
|
|
1618
|
+
declare const onDiscountRuleDeleted: ReturnType<typeof createEventModule$f<_publicOnDiscountRuleDeletedType>>;
|
|
1619
1619
|
|
|
1620
1620
|
type index_d$o_ActiveTimeInfo = ActiveTimeInfo;
|
|
1621
1621
|
type index_d$o_And = And;
|
|
@@ -1680,7 +1680,7 @@ declare const index_d$o_onDiscountRuleUpdated: typeof onDiscountRuleUpdated;
|
|
|
1680
1680
|
declare const index_d$o_queryDiscountRules: typeof queryDiscountRules;
|
|
1681
1681
|
declare const index_d$o_updateDiscountRule: typeof updateDiscountRule;
|
|
1682
1682
|
declare namespace index_d$o {
|
|
1683
|
-
export { type ActionEvent$j as ActionEvent, type index_d$o_ActiveTimeInfo as ActiveTimeInfo, type index_d$o_And as And, type AppliedDiscount$7 as AppliedDiscount, type index_d$o_AppliedDiscountRule as AppliedDiscountRule, index_d$o_AppliedSubjectType as AppliedSubjectType, type BaseEventMetadata$
|
|
1683
|
+
export { type ActionEvent$j as ActionEvent, type index_d$o_ActiveTimeInfo as ActiveTimeInfo, type index_d$o_And as And, type AppliedDiscount$7 as AppliedDiscount, type index_d$o_AppliedDiscountRule as AppliedDiscountRule, index_d$o_AppliedSubjectType as AppliedSubjectType, type BaseEventMetadata$f as BaseEventMetadata, type index_d$o_BuyXGetYInfo as BuyXGetYInfo, type index_d$o_CatalogItemFilter as CatalogItemFilter, type CatalogReference$9 as CatalogReference, type index_d$o_CreateDiscountRuleRequest as CreateDiscountRuleRequest, type index_d$o_CreateDiscountRuleResponse as CreateDiscountRuleResponse, type index_d$o_CreateDiscountRuleResponseNonNullableFields as CreateDiscountRuleResponseNonNullableFields, type CursorPaging$b as CursorPaging, type Cursors$b as Cursors, type index_d$o_Custom as Custom, type index_d$o_CustomFilter as CustomFilter, type index_d$o_CustomerBuy as CustomerBuy, type index_d$o_CustomerBuyConditionOneOf as CustomerBuyConditionOneOf, type index_d$o_CustomerGet as CustomerGet, type index_d$o_DeleteDiscountRuleRequest as DeleteDiscountRuleRequest, type index_d$o_DeleteDiscountRuleResponse as DeleteDiscountRuleResponse, type Discount$3 as Discount, type index_d$o_DiscountDiscountOneOf as DiscountDiscountOneOf, type DiscountRule$7 as DiscountRule, type index_d$o_DiscountRuleCreatedEnvelope as DiscountRuleCreatedEnvelope, type index_d$o_DiscountRuleDeletedEnvelope as DiscountRuleDeletedEnvelope, type DiscountRuleName$7 as DiscountRuleName, type DiscountRuleNonNullableFields$6 as DiscountRuleNonNullableFields, type index_d$o_DiscountRuleUpdatedEnvelope as DiscountRuleUpdatedEnvelope, type index_d$o_DiscountRuleUsageLimitReached as DiscountRuleUsageLimitReached, type index_d$o_DiscountRulesQueryBuilder as DiscountRulesQueryBuilder, type index_d$o_DiscountRulesQueryResult as DiscountRulesQueryResult, type index_d$o_DiscountSettings as DiscountSettings, type index_d$o_DiscountTrigger as DiscountTrigger, type index_d$o_DiscountTriggerTriggerOneOf as DiscountTriggerTriggerOneOf, DiscountType$7 as DiscountType, type index_d$o_Discounts as Discounts, type DomainEvent$j as DomainEvent, type DomainEventBodyOneOf$j as DomainEventBodyOneOf, type Empty$e as Empty, type EntityCreatedEvent$j as EntityCreatedEvent, type EntityDeletedEvent$j as EntityDeletedEvent, type EntityUpdatedEvent$j as EntityUpdatedEvent, type EventMetadata$f as EventMetadata, type ExtendedFields$a as ExtendedFields, type index_d$o_GetAppliedDiscountsRequest as GetAppliedDiscountsRequest, type index_d$o_GetAppliedDiscountsResponse as GetAppliedDiscountsResponse, type index_d$o_GetDiscountRuleRequest as GetDiscountRuleRequest, type index_d$o_GetDiscountRuleResponse as GetDiscountRuleResponse, type index_d$o_GetDiscountRuleResponseNonNullableFields as GetDiscountRuleResponseNonNullableFields, type IdentificationData$j as IdentificationData, type IdentificationDataIdOneOf$j as IdentificationDataIdOneOf, type index_d$o_ItemQuantityRange as ItemQuantityRange, type LineItem$7 as LineItem, type MessageEnvelope$j as MessageEnvelope, type MultiCurrencyPrice$6 as MultiCurrencyPrice, type index_d$o_Or as Or, type PlatformPaging$2 as PlatformPaging, type PlatformPagingMetadata$2 as PlatformPagingMetadata, type PlatformQuery$2 as PlatformQuery, type PlatformQueryPagingMethodOneOf$2 as PlatformQueryPagingMethodOneOf, type index_d$o_QueryDiscountRulesRequest as QueryDiscountRulesRequest, type index_d$o_QueryDiscountRulesResponse as QueryDiscountRulesResponse, type index_d$o_QueryDiscountRulesResponseNonNullableFields as QueryDiscountRulesResponseNonNullableFields, type RestoreInfo$j as RestoreInfo, type Scope$5 as Scope, type index_d$o_ScopeScopeItemsOneOf as ScopeScopeItemsOneOf, index_d$o_ScopeType as ScopeType, SortOrder$b as SortOrder, type Sorting$b as Sorting, type index_d$o_SpecificItemsInfo as SpecificItemsInfo, Status$5 as Status, type index_d$o_SubtotalRange as SubtotalRange, index_d$o_TriggerType as TriggerType, index_d$o_Type as Type, type index_d$o_UpdateDiscountRule as UpdateDiscountRule, type index_d$o_UpdateDiscountRuleRequest as UpdateDiscountRuleRequest, type index_d$o_UpdateDiscountRuleResponse as UpdateDiscountRuleResponse, type index_d$o_UpdateDiscountRuleResponseNonNullableFields as UpdateDiscountRuleResponseNonNullableFields, WebhookIdentityType$j as WebhookIdentityType, type index_d$o__publicOnDiscountRuleCreatedType as _publicOnDiscountRuleCreatedType, type index_d$o__publicOnDiscountRuleDeletedType as _publicOnDiscountRuleDeletedType, type index_d$o__publicOnDiscountRuleUpdatedType as _publicOnDiscountRuleUpdatedType, index_d$o_createDiscountRule as createDiscountRule, index_d$o_deleteDiscountRule as deleteDiscountRule, index_d$o_getDiscountRule as getDiscountRule, index_d$o_onDiscountRuleCreated as onDiscountRuleCreated, index_d$o_onDiscountRuleDeleted as onDiscountRuleDeleted, index_d$o_onDiscountRuleUpdated as onDiscountRuleUpdated, onDiscountRuleCreated$1 as publicOnDiscountRuleCreated, onDiscountRuleDeleted$1 as publicOnDiscountRuleDeleted, onDiscountRuleUpdated$1 as publicOnDiscountRuleUpdated, index_d$o_queryDiscountRules as queryDiscountRules, index_d$o_updateDiscountRule as updateDiscountRule };
|
|
1684
1684
|
}
|
|
1685
1685
|
|
|
1686
1686
|
interface Invoice {
|
|
@@ -2805,7 +2805,7 @@ interface RawHttpResponseNonNullableFields$1 {
|
|
|
2805
2805
|
body: Uint8Array;
|
|
2806
2806
|
headers: HeadersEntryNonNullableFields$1[];
|
|
2807
2807
|
}
|
|
2808
|
-
interface BaseEventMetadata$
|
|
2808
|
+
interface BaseEventMetadata$e {
|
|
2809
2809
|
/** App instance ID. */
|
|
2810
2810
|
instanceId?: string | null;
|
|
2811
2811
|
/** Event type. */
|
|
@@ -2813,7 +2813,7 @@ interface BaseEventMetadata$f {
|
|
|
2813
2813
|
/** The identification type and identity data. */
|
|
2814
2814
|
identity?: IdentificationData$h;
|
|
2815
2815
|
}
|
|
2816
|
-
interface EventMetadata$
|
|
2816
|
+
interface EventMetadata$e extends BaseEventMetadata$e {
|
|
2817
2817
|
/**
|
|
2818
2818
|
* Unique event ID.
|
|
2819
2819
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -2853,7 +2853,7 @@ interface EventMetadata$f extends BaseEventMetadata$f {
|
|
|
2853
2853
|
}
|
|
2854
2854
|
interface AbandonedCheckoutRecoveredEnvelope {
|
|
2855
2855
|
data: AbandonedCheckoutRecovered;
|
|
2856
|
-
metadata: EventMetadata$
|
|
2856
|
+
metadata: EventMetadata$e;
|
|
2857
2857
|
}
|
|
2858
2858
|
interface QueryCursorResult$8 {
|
|
2859
2859
|
cursors: CommonCursors;
|
|
@@ -2972,18 +2972,18 @@ interface RedirectToCheckoutSignature {
|
|
|
2972
2972
|
*/
|
|
2973
2973
|
(abandonedCheckoutId: string, metasiteId: string): Promise<RawHttpResponse$1 & RawHttpResponseNonNullableFields$1>;
|
|
2974
2974
|
}
|
|
2975
|
-
declare const onAbandonedCheckoutRecovered$1: EventDefinition$
|
|
2975
|
+
declare const onAbandonedCheckoutRecovered$1: EventDefinition$g<AbandonedCheckoutRecoveredEnvelope, "wix.ecom.v1.abandoned_checkout_recovered">;
|
|
2976
2976
|
|
|
2977
|
-
type EventDefinition$
|
|
2977
|
+
type EventDefinition$e<Payload = unknown, Type extends string = string> = {
|
|
2978
2978
|
__type: 'event-definition';
|
|
2979
2979
|
type: Type;
|
|
2980
2980
|
isDomainEvent?: boolean;
|
|
2981
2981
|
transformations?: (envelope: unknown) => Payload;
|
|
2982
2982
|
__payload: Payload;
|
|
2983
2983
|
};
|
|
2984
|
-
declare function EventDefinition$
|
|
2985
|
-
type EventHandler$
|
|
2986
|
-
type BuildEventDefinition$
|
|
2984
|
+
declare function EventDefinition$e<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition$e<Payload, Type>;
|
|
2985
|
+
type EventHandler$e<T extends EventDefinition$e> = (payload: T['__payload']) => void | Promise<void>;
|
|
2986
|
+
type BuildEventDefinition$e<T extends EventDefinition$e<any, string>> = (handler: EventHandler$e<T>) => void;
|
|
2987
2987
|
|
|
2988
2988
|
declare global {
|
|
2989
2989
|
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
@@ -2992,7 +2992,7 @@ declare global {
|
|
|
2992
2992
|
}
|
|
2993
2993
|
}
|
|
2994
2994
|
|
|
2995
|
-
declare function createEventModule$
|
|
2995
|
+
declare function createEventModule$e<T extends EventDefinition$e<any, string>>(eventDefinition: T): BuildEventDefinition$e<T> & T;
|
|
2996
2996
|
|
|
2997
2997
|
declare const getAbandonedCheckout: MaybeContext<BuildRESTFunction<typeof getAbandonedCheckout$1> & typeof getAbandonedCheckout$1>;
|
|
2998
2998
|
declare const deleteAbandonedCheckout: MaybeContext<BuildRESTFunction<typeof deleteAbandonedCheckout$1> & typeof deleteAbandonedCheckout$1>;
|
|
@@ -3003,7 +3003,7 @@ type _publicOnAbandonedCheckoutRecoveredType = typeof onAbandonedCheckoutRecover
|
|
|
3003
3003
|
/**
|
|
3004
3004
|
* Triggered when an abandoned checkout is recovered (the customer completes the checkout).
|
|
3005
3005
|
*/
|
|
3006
|
-
declare const onAbandonedCheckoutRecovered: ReturnType<typeof createEventModule$
|
|
3006
|
+
declare const onAbandonedCheckoutRecovered: ReturnType<typeof createEventModule$e<_publicOnAbandonedCheckoutRecoveredType>>;
|
|
3007
3007
|
|
|
3008
3008
|
type index_d$l_AbandonedCheckout = AbandonedCheckout;
|
|
3009
3009
|
type index_d$l_AbandonedCheckoutNonNullableFields = AbandonedCheckoutNonNullableFields;
|
|
@@ -3049,7 +3049,7 @@ declare const index_d$l_onAbandonedCheckoutRecovered: typeof onAbandonedCheckout
|
|
|
3049
3049
|
declare const index_d$l_queryAbandonedCheckouts: typeof queryAbandonedCheckouts;
|
|
3050
3050
|
declare const index_d$l_redirectToCheckout: typeof redirectToCheckout;
|
|
3051
3051
|
declare namespace index_d$l {
|
|
3052
|
-
export { type index_d$l_AbandonedCheckout as AbandonedCheckout, type index_d$l_AbandonedCheckoutNonNullableFields as AbandonedCheckoutNonNullableFields, type index_d$l_AbandonedCheckoutRecovered as AbandonedCheckoutRecovered, type index_d$l_AbandonedCheckoutRecoveredEnvelope as AbandonedCheckoutRecoveredEnvelope, type index_d$l_AbandonedCheckoutsQueryBuilder as AbandonedCheckoutsQueryBuilder, type index_d$l_AbandonedCheckoutsQueryResult as AbandonedCheckoutsQueryResult, type ActionEvent$h as ActionEvent, type Activity$3 as Activity, ActivityType$3 as ActivityType, type index_d$l_AddAbandonedCheckoutActivityRequest as AddAbandonedCheckoutActivityRequest, type index_d$l_AddAbandonedCheckoutActivityResponse as AddAbandonedCheckoutActivityResponse, type BaseEventMetadata$
|
|
3052
|
+
export { type index_d$l_AbandonedCheckout as AbandonedCheckout, type index_d$l_AbandonedCheckoutNonNullableFields as AbandonedCheckoutNonNullableFields, type index_d$l_AbandonedCheckoutRecovered as AbandonedCheckoutRecovered, type index_d$l_AbandonedCheckoutRecoveredEnvelope as AbandonedCheckoutRecoveredEnvelope, type index_d$l_AbandonedCheckoutsQueryBuilder as AbandonedCheckoutsQueryBuilder, type index_d$l_AbandonedCheckoutsQueryResult as AbandonedCheckoutsQueryResult, type ActionEvent$h as ActionEvent, type Activity$3 as Activity, ActivityType$3 as ActivityType, type index_d$l_AddAbandonedCheckoutActivityRequest as AddAbandonedCheckoutActivityRequest, type index_d$l_AddAbandonedCheckoutActivityResponse as AddAbandonedCheckoutActivityResponse, type BaseEventMetadata$e as BaseEventMetadata, type BuyerInfo$8 as BuyerInfo, type Cancel$1 as Cancel, type index_d$l_CartAbandonedEvent as CartAbandonedEvent, type index_d$l_CartRecoveredEvent as CartRecoveredEvent, type index_d$l_CommonCursorPaging as CommonCursorPaging, type index_d$l_CommonCursors as CommonCursors, type index_d$l_CommonPaging as CommonPaging, type index_d$l_CommonPagingMetadataV2 as CommonPagingMetadataV2, index_d$l_CommonSortOrder as CommonSortOrder, type index_d$l_CommonSorting as CommonSorting, type Complete$1 as Complete, type CursorPaging$a as CursorPaging, type Cursors$a as Cursors, type index_d$l_DeleteAbandonedCheckoutRequest as DeleteAbandonedCheckoutRequest, type index_d$l_DeleteAbandonedCheckoutResponse as DeleteAbandonedCheckoutResponse, type DomainEvent$h as DomainEvent, type DomainEventBodyOneOf$h as DomainEventBodyOneOf, type Empty$c as Empty, type EntityCreatedEvent$h as EntityCreatedEvent, type EntityDeletedEvent$h as EntityDeletedEvent, type EntityUpdatedEvent$h as EntityUpdatedEvent, type EventMetadata$e as EventMetadata, type FullAddressContactDetails$6 as FullAddressContactDetails, type index_d$l_GetAbandonedCheckoutRequest as GetAbandonedCheckoutRequest, type index_d$l_GetAbandonedCheckoutResponse as GetAbandonedCheckoutResponse, type index_d$l_GetAbandonedCheckoutResponseNonNullableFields as GetAbandonedCheckoutResponseNonNullableFields, type HeadersEntry$1 as HeadersEntry, type IdentificationData$h as IdentificationData, type IdentificationDataIdOneOf$h as IdentificationDataIdOneOf, index_d$l_Identity as Identity, type MessageEnvelope$h as MessageEnvelope, index_d$l_Mode as Mode, type MultiCurrencyPrice$5 as MultiCurrencyPrice, type Paging$1 as Paging, type index_d$l_PagingMetadataV2 as PagingMetadataV2, type index_d$l_QueryAbandonedCheckoutsRequest as QueryAbandonedCheckoutsRequest, type index_d$l_QueryAbandonedCheckoutsResponse as QueryAbandonedCheckoutsResponse, type index_d$l_QueryAbandonedCheckoutsResponseNonNullableFields as QueryAbandonedCheckoutsResponseNonNullableFields, type QueryV2$1 as QueryV2, type QueryV2PagingMethodOneOf$1 as QueryV2PagingMethodOneOf, type RawHttpResponse$1 as RawHttpResponse, type RawHttpResponseNonNullableFields$1 as RawHttpResponseNonNullableFields, type index_d$l_RedirectToCheckoutRequest as RedirectToCheckoutRequest, type Reschedule$1 as Reschedule, type RestoreInfo$h as RestoreInfo, type index_d$l_Search as Search, type index_d$l_SearchAbandonedCheckoutsRequest as SearchAbandonedCheckoutsRequest, type index_d$l_SearchAbandonedCheckoutsResponse as SearchAbandonedCheckoutsResponse, type index_d$l_SearchDetails as SearchDetails, type index_d$l_SearchPagingMethodOneOf as SearchPagingMethodOneOf, SortOrder$a as SortOrder, type Sorting$a as Sorting, Status$4 as Status, type Task$1 as Task, type TaskAction$1 as TaskAction, type TaskActionActionOneOf$1 as TaskActionActionOneOf, type TaskKey$1 as TaskKey, type Totals$2 as Totals, type V1BuyerInfo$1 as V1BuyerInfo, type index_d$l_V1BuyerInfoIdOneOf as V1BuyerInfoIdOneOf, type VatId$7 as VatId, VatType$7 as VatType, WebhookIdentityType$h as WebhookIdentityType, type index_d$l__publicOnAbandonedCheckoutRecoveredType as _publicOnAbandonedCheckoutRecoveredType, index_d$l_deleteAbandonedCheckout as deleteAbandonedCheckout, index_d$l_getAbandonedCheckout as getAbandonedCheckout, index_d$l_onAbandonedCheckoutRecovered as onAbandonedCheckoutRecovered, onAbandonedCheckoutRecovered$1 as publicOnAbandonedCheckoutRecovered, index_d$l_queryAbandonedCheckouts as queryAbandonedCheckouts, index_d$l_redirectToCheckout as redirectToCheckout };
|
|
3053
3053
|
}
|
|
3054
3054
|
|
|
3055
3055
|
/**
|
|
@@ -3496,7 +3496,7 @@ interface BackInStockNotificationRequestsCountNonNullableFields {
|
|
|
3496
3496
|
interface GetBackInStockNotificationRequestsCountByCatalogReferencesResponseNonNullableFields {
|
|
3497
3497
|
countsPerCatalogReference: BackInStockNotificationRequestsCountNonNullableFields[];
|
|
3498
3498
|
}
|
|
3499
|
-
interface BaseEventMetadata$
|
|
3499
|
+
interface BaseEventMetadata$d {
|
|
3500
3500
|
/** App instance ID. */
|
|
3501
3501
|
instanceId?: string | null;
|
|
3502
3502
|
/** Event type. */
|
|
@@ -3504,7 +3504,7 @@ interface BaseEventMetadata$e {
|
|
|
3504
3504
|
/** The identification type and identity data. */
|
|
3505
3505
|
identity?: IdentificationData$g;
|
|
3506
3506
|
}
|
|
3507
|
-
interface EventMetadata$
|
|
3507
|
+
interface EventMetadata$d extends BaseEventMetadata$d {
|
|
3508
3508
|
/**
|
|
3509
3509
|
* Unique event ID.
|
|
3510
3510
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -3544,14 +3544,14 @@ interface EventMetadata$e extends BaseEventMetadata$e {
|
|
|
3544
3544
|
}
|
|
3545
3545
|
interface BackInStockNotificationRequestCreatedEnvelope {
|
|
3546
3546
|
entity: BackInStockNotificationRequest;
|
|
3547
|
-
metadata: EventMetadata$
|
|
3547
|
+
metadata: EventMetadata$d;
|
|
3548
3548
|
}
|
|
3549
3549
|
interface BackInStockNotificationRequestDeletedEnvelope {
|
|
3550
|
-
metadata: EventMetadata$
|
|
3550
|
+
metadata: EventMetadata$d;
|
|
3551
3551
|
}
|
|
3552
3552
|
interface BackInStockNotificationRequestUpdatedEnvelope {
|
|
3553
3553
|
entity: BackInStockNotificationRequest;
|
|
3554
|
-
metadata: EventMetadata$
|
|
3554
|
+
metadata: EventMetadata$d;
|
|
3555
3555
|
}
|
|
3556
3556
|
interface QueryCursorResult$7 {
|
|
3557
3557
|
cursors: Cursors$9;
|
|
@@ -3747,20 +3747,20 @@ interface ReportItemsBackInStockSignature {
|
|
|
3747
3747
|
*/
|
|
3748
3748
|
(itemDetails: BackInStockItemDetails, options?: ReportItemsBackInStockOptions | undefined): Promise<void>;
|
|
3749
3749
|
}
|
|
3750
|
-
declare const onBackInStockNotificationRequestCreated$1: EventDefinition$
|
|
3751
|
-
declare const onBackInStockNotificationRequestDeleted$1: EventDefinition$
|
|
3752
|
-
declare const onBackInStockNotificationRequestUpdated$1: EventDefinition$
|
|
3750
|
+
declare const onBackInStockNotificationRequestCreated$1: EventDefinition$g<BackInStockNotificationRequestCreatedEnvelope, "wix.ecom.v1.back_in_stock_notification_request_created">;
|
|
3751
|
+
declare const onBackInStockNotificationRequestDeleted$1: EventDefinition$g<BackInStockNotificationRequestDeletedEnvelope, "wix.ecom.v1.back_in_stock_notification_request_deleted">;
|
|
3752
|
+
declare const onBackInStockNotificationRequestUpdated$1: EventDefinition$g<BackInStockNotificationRequestUpdatedEnvelope, "wix.ecom.v1.back_in_stock_notification_request_updated">;
|
|
3753
3753
|
|
|
3754
|
-
type EventDefinition$
|
|
3754
|
+
type EventDefinition$d<Payload = unknown, Type extends string = string> = {
|
|
3755
3755
|
__type: 'event-definition';
|
|
3756
3756
|
type: Type;
|
|
3757
3757
|
isDomainEvent?: boolean;
|
|
3758
3758
|
transformations?: (envelope: unknown) => Payload;
|
|
3759
3759
|
__payload: Payload;
|
|
3760
3760
|
};
|
|
3761
|
-
declare function EventDefinition$
|
|
3762
|
-
type EventHandler$
|
|
3763
|
-
type BuildEventDefinition$
|
|
3761
|
+
declare function EventDefinition$d<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition$d<Payload, Type>;
|
|
3762
|
+
type EventHandler$d<T extends EventDefinition$d> = (payload: T['__payload']) => void | Promise<void>;
|
|
3763
|
+
type BuildEventDefinition$d<T extends EventDefinition$d<any, string>> = (handler: EventHandler$d<T>) => void;
|
|
3764
3764
|
|
|
3765
3765
|
declare global {
|
|
3766
3766
|
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
@@ -3769,7 +3769,7 @@ declare global {
|
|
|
3769
3769
|
}
|
|
3770
3770
|
}
|
|
3771
3771
|
|
|
3772
|
-
declare function createEventModule$
|
|
3772
|
+
declare function createEventModule$d<T extends EventDefinition$d<any, string>>(eventDefinition: T): BuildEventDefinition$d<T> & T;
|
|
3773
3773
|
|
|
3774
3774
|
declare const createBackInStockNotificationRequest: MaybeContext<BuildRESTFunction<typeof createBackInStockNotificationRequest$1> & typeof createBackInStockNotificationRequest$1>;
|
|
3775
3775
|
declare const getBackInStockNotificationRequest: MaybeContext<BuildRESTFunction<typeof getBackInStockNotificationRequest$1> & typeof getBackInStockNotificationRequest$1>;
|
|
@@ -3783,19 +3783,19 @@ type _publicOnBackInStockNotificationRequestCreatedType = typeof onBackInStockNo
|
|
|
3783
3783
|
/**
|
|
3784
3784
|
* Triggered when a back in stock notification request is created.
|
|
3785
3785
|
*/
|
|
3786
|
-
declare const onBackInStockNotificationRequestCreated: ReturnType<typeof createEventModule$
|
|
3786
|
+
declare const onBackInStockNotificationRequestCreated: ReturnType<typeof createEventModule$d<_publicOnBackInStockNotificationRequestCreatedType>>;
|
|
3787
3787
|
|
|
3788
3788
|
type _publicOnBackInStockNotificationRequestDeletedType = typeof onBackInStockNotificationRequestDeleted$1;
|
|
3789
3789
|
/**
|
|
3790
3790
|
* Triggered when a back in stock notification request is deleted.
|
|
3791
3791
|
*/
|
|
3792
|
-
declare const onBackInStockNotificationRequestDeleted: ReturnType<typeof createEventModule$
|
|
3792
|
+
declare const onBackInStockNotificationRequestDeleted: ReturnType<typeof createEventModule$d<_publicOnBackInStockNotificationRequestDeletedType>>;
|
|
3793
3793
|
|
|
3794
3794
|
type _publicOnBackInStockNotificationRequestUpdatedType = typeof onBackInStockNotificationRequestUpdated$1;
|
|
3795
3795
|
/**
|
|
3796
3796
|
* Triggered when a back in stock notification request is updated.
|
|
3797
3797
|
*/
|
|
3798
|
-
declare const onBackInStockNotificationRequestUpdated: ReturnType<typeof createEventModule$
|
|
3798
|
+
declare const onBackInStockNotificationRequestUpdated: ReturnType<typeof createEventModule$d<_publicOnBackInStockNotificationRequestUpdatedType>>;
|
|
3799
3799
|
|
|
3800
3800
|
type index_d$k_BackInStockItemDetails = BackInStockItemDetails;
|
|
3801
3801
|
type index_d$k_BackInStockNotificationRequest = BackInStockNotificationRequest;
|
|
@@ -3845,7 +3845,7 @@ declare const index_d$k_onBackInStockNotificationRequestUpdated: typeof onBackIn
|
|
|
3845
3845
|
declare const index_d$k_queryBackInStockNotificationRequests: typeof queryBackInStockNotificationRequests;
|
|
3846
3846
|
declare const index_d$k_reportItemsBackInStock: typeof reportItemsBackInStock;
|
|
3847
3847
|
declare namespace index_d$k {
|
|
3848
|
-
export { type ActionEvent$g as ActionEvent, type App$1 as App, type index_d$k_BackInStockItemDetails as BackInStockItemDetails, type index_d$k_BackInStockNotificationRequest as BackInStockNotificationRequest, type index_d$k_BackInStockNotificationRequestCreatedEnvelope as BackInStockNotificationRequestCreatedEnvelope, type index_d$k_BackInStockNotificationRequestDeletedEnvelope as BackInStockNotificationRequestDeletedEnvelope, type index_d$k_BackInStockNotificationRequestNonNullableFields as BackInStockNotificationRequestNonNullableFields, type index_d$k_BackInStockNotificationRequestUpdatedEnvelope as BackInStockNotificationRequestUpdatedEnvelope, type index_d$k_BackInStockNotificationRequestsCount as BackInStockNotificationRequestsCount, type BaseEventMetadata$
|
|
3848
|
+
export { type ActionEvent$g as ActionEvent, type App$1 as App, type index_d$k_BackInStockItemDetails as BackInStockItemDetails, type index_d$k_BackInStockNotificationRequest as BackInStockNotificationRequest, type index_d$k_BackInStockNotificationRequestCreatedEnvelope as BackInStockNotificationRequestCreatedEnvelope, type index_d$k_BackInStockNotificationRequestDeletedEnvelope as BackInStockNotificationRequestDeletedEnvelope, type index_d$k_BackInStockNotificationRequestNonNullableFields as BackInStockNotificationRequestNonNullableFields, type index_d$k_BackInStockNotificationRequestUpdatedEnvelope as BackInStockNotificationRequestUpdatedEnvelope, type index_d$k_BackInStockNotificationRequestsCount as BackInStockNotificationRequestsCount, type BaseEventMetadata$d as BaseEventMetadata, type CatalogReference$7 as CatalogReference, type index_d$k_CreateBackInStockNotificationRequestRequest as CreateBackInStockNotificationRequestRequest, type index_d$k_CreateBackInStockNotificationRequestResponse as CreateBackInStockNotificationRequestResponse, type index_d$k_CreateBackInStockNotificationRequestResponseNonNullableFields as CreateBackInStockNotificationRequestResponseNonNullableFields, type CursorPaging$9 as CursorPaging, type Cursors$9 as Cursors, type index_d$k_DeleteBackInStockNotificationRequestRequest as DeleteBackInStockNotificationRequestRequest, type index_d$k_DeleteBackInStockNotificationRequestResponse as DeleteBackInStockNotificationRequestResponse, type DomainEvent$g as DomainEvent, type DomainEventBodyOneOf$g as DomainEventBodyOneOf, type Empty$b as Empty, type EntityCreatedEvent$g as EntityCreatedEvent, type EntityDeletedEvent$g as EntityDeletedEvent, type EntityUpdatedEvent$g as EntityUpdatedEvent, type EventMetadata$d as EventMetadata, type index_d$k_File as File, type index_d$k_GetBackInStockNotificationRequestRequest as GetBackInStockNotificationRequestRequest, type index_d$k_GetBackInStockNotificationRequestResponse as GetBackInStockNotificationRequestResponse, type index_d$k_GetBackInStockNotificationRequestResponseNonNullableFields as GetBackInStockNotificationRequestResponseNonNullableFields, type index_d$k_GetBackInStockNotificationRequestsCountByCatalogReferencesRequest as GetBackInStockNotificationRequestsCountByCatalogReferencesRequest, type index_d$k_GetBackInStockNotificationRequestsCountByCatalogReferencesResponse as GetBackInStockNotificationRequestsCountByCatalogReferencesResponse, type index_d$k_GetBackInStockNotificationRequestsCountByCatalogReferencesResponseNonNullableFields as GetBackInStockNotificationRequestsCountByCatalogReferencesResponseNonNullableFields, type IdentificationData$g as IdentificationData, type IdentificationDataIdOneOf$g as IdentificationDataIdOneOf, type index_d$k_InvalidateCache as InvalidateCache, type index_d$k_InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOf, type index_d$k_MarkAsNotificationSentRequest as MarkAsNotificationSentRequest, type index_d$k_MarkAsNotificationSentResponse as MarkAsNotificationSentResponse, type index_d$k_MarkAsNotificationSentResponseNonNullableFields as MarkAsNotificationSentResponseNonNullableFields, type MessageEnvelope$g as MessageEnvelope, type index_d$k_Page as Page, type PlatformPaging$1 as PlatformPaging, type PlatformPagingMetadata$1 as PlatformPagingMetadata, type PlatformQuery$1 as PlatformQuery, type PlatformQueryPagingMethodOneOf$1 as PlatformQueryPagingMethodOneOf, type index_d$k_QueryBackInStockNotificationRequestsRequest as QueryBackInStockNotificationRequestsRequest, type index_d$k_QueryBackInStockNotificationRequestsResponse as QueryBackInStockNotificationRequestsResponse, type index_d$k_QueryBackInStockNotificationRequestsResponseNonNullableFields as QueryBackInStockNotificationRequestsResponseNonNullableFields, type index_d$k_ReportItemsBackInStockOptions as ReportItemsBackInStockOptions, type index_d$k_ReportItemsBackInStockRequest as ReportItemsBackInStockRequest, type index_d$k_ReportItemsBackInStockResponse as ReportItemsBackInStockResponse, type index_d$k_RequestsQueryBuilder as RequestsQueryBuilder, type index_d$k_RequestsQueryResult as RequestsQueryResult, type RestoreInfo$g as RestoreInfo, SortOrder$9 as SortOrder, type Sorting$9 as Sorting, Status$3 as Status, type index_d$k_URI as URI, WebhookIdentityType$g as WebhookIdentityType, type index_d$k__publicOnBackInStockNotificationRequestCreatedType as _publicOnBackInStockNotificationRequestCreatedType, type index_d$k__publicOnBackInStockNotificationRequestDeletedType as _publicOnBackInStockNotificationRequestDeletedType, type index_d$k__publicOnBackInStockNotificationRequestUpdatedType as _publicOnBackInStockNotificationRequestUpdatedType, index_d$k_createBackInStockNotificationRequest as createBackInStockNotificationRequest, index_d$k_deleteBackInStockNotificationRequest as deleteBackInStockNotificationRequest, index_d$k_getBackInStockNotificationRequest as getBackInStockNotificationRequest, index_d$k_getBackInStockNotificationRequestsCountByCatalogReferences as getBackInStockNotificationRequestsCountByCatalogReferences, index_d$k_markAsNotificationSent as markAsNotificationSent, index_d$k_onBackInStockNotificationRequestCreated as onBackInStockNotificationRequestCreated, index_d$k_onBackInStockNotificationRequestDeleted as onBackInStockNotificationRequestDeleted, index_d$k_onBackInStockNotificationRequestUpdated as onBackInStockNotificationRequestUpdated, onBackInStockNotificationRequestCreated$1 as publicOnBackInStockNotificationRequestCreated, onBackInStockNotificationRequestDeleted$1 as publicOnBackInStockNotificationRequestDeleted, onBackInStockNotificationRequestUpdated$1 as publicOnBackInStockNotificationRequestUpdated, index_d$k_queryBackInStockNotificationRequests as queryBackInStockNotificationRequests, index_d$k_reportItemsBackInStock as reportItemsBackInStock };
|
|
3849
3849
|
}
|
|
3850
3850
|
|
|
3851
3851
|
/**
|
|
@@ -6235,7 +6235,7 @@ interface CreateCartResponseNonNullableFields$1 {
|
|
|
6235
6235
|
interface GetCartResponseNonNullableFields$1 {
|
|
6236
6236
|
cart?: CartNonNullableFields$1;
|
|
6237
6237
|
}
|
|
6238
|
-
interface BaseEventMetadata$
|
|
6238
|
+
interface BaseEventMetadata$c {
|
|
6239
6239
|
/** App instance ID. */
|
|
6240
6240
|
instanceId?: string | null;
|
|
6241
6241
|
/** Event type. */
|
|
@@ -6243,7 +6243,7 @@ interface BaseEventMetadata$d {
|
|
|
6243
6243
|
/** The identification type and identity data. */
|
|
6244
6244
|
identity?: IdentificationData$f;
|
|
6245
6245
|
}
|
|
6246
|
-
interface EventMetadata$
|
|
6246
|
+
interface EventMetadata$c extends BaseEventMetadata$c {
|
|
6247
6247
|
/**
|
|
6248
6248
|
* Unique event ID.
|
|
6249
6249
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -6283,14 +6283,14 @@ interface EventMetadata$d extends BaseEventMetadata$d {
|
|
|
6283
6283
|
}
|
|
6284
6284
|
interface CartUpdatedEnvelope$1 {
|
|
6285
6285
|
entity: Cart$1;
|
|
6286
|
-
metadata: EventMetadata$
|
|
6286
|
+
metadata: EventMetadata$c;
|
|
6287
6287
|
}
|
|
6288
6288
|
interface CartDeletedEnvelope$1 {
|
|
6289
|
-
metadata: EventMetadata$
|
|
6289
|
+
metadata: EventMetadata$c;
|
|
6290
6290
|
}
|
|
6291
6291
|
interface CartCreatedEnvelope$1 {
|
|
6292
6292
|
entity: Cart$1;
|
|
6293
|
-
metadata: EventMetadata$
|
|
6293
|
+
metadata: EventMetadata$c;
|
|
6294
6294
|
}
|
|
6295
6295
|
interface CreateCartOptions {
|
|
6296
6296
|
/** Cart info. */
|
|
@@ -6594,20 +6594,20 @@ interface DeleteCartSignature {
|
|
|
6594
6594
|
*/
|
|
6595
6595
|
(_id: string): Promise<void>;
|
|
6596
6596
|
}
|
|
6597
|
-
declare const onCartUpdated$3: EventDefinition$
|
|
6598
|
-
declare const onCartDeleted$3: EventDefinition$
|
|
6599
|
-
declare const onCartCreated$3: EventDefinition$
|
|
6597
|
+
declare const onCartUpdated$3: EventDefinition$g<CartUpdatedEnvelope$1, "wix.ecom.v1.cart_updated">;
|
|
6598
|
+
declare const onCartDeleted$3: EventDefinition$g<CartDeletedEnvelope$1, "wix.ecom.v1.cart_deleted">;
|
|
6599
|
+
declare const onCartCreated$3: EventDefinition$g<CartCreatedEnvelope$1, "wix.ecom.v1.cart_created">;
|
|
6600
6600
|
|
|
6601
|
-
type EventDefinition$
|
|
6601
|
+
type EventDefinition$c<Payload = unknown, Type extends string = string> = {
|
|
6602
6602
|
__type: 'event-definition';
|
|
6603
6603
|
type: Type;
|
|
6604
6604
|
isDomainEvent?: boolean;
|
|
6605
6605
|
transformations?: (envelope: unknown) => Payload;
|
|
6606
6606
|
__payload: Payload;
|
|
6607
6607
|
};
|
|
6608
|
-
declare function EventDefinition$
|
|
6609
|
-
type EventHandler$
|
|
6610
|
-
type BuildEventDefinition$
|
|
6608
|
+
declare function EventDefinition$c<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition$c<Payload, Type>;
|
|
6609
|
+
type EventHandler$c<T extends EventDefinition$c> = (payload: T['__payload']) => void | Promise<void>;
|
|
6610
|
+
type BuildEventDefinition$c<T extends EventDefinition$c<any, string>> = (handler: EventHandler$c<T>) => void;
|
|
6611
6611
|
|
|
6612
6612
|
declare global {
|
|
6613
6613
|
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
@@ -6616,7 +6616,7 @@ declare global {
|
|
|
6616
6616
|
}
|
|
6617
6617
|
}
|
|
6618
6618
|
|
|
6619
|
-
declare function createEventModule$
|
|
6619
|
+
declare function createEventModule$c<T extends EventDefinition$c<any, string>>(eventDefinition: T): BuildEventDefinition$c<T> & T;
|
|
6620
6620
|
|
|
6621
6621
|
declare const createCart: MaybeContext<BuildRESTFunction<typeof createCart$1> & typeof createCart$1>;
|
|
6622
6622
|
declare const updateCart: MaybeContext<BuildRESTFunction<typeof updateCart$1> & typeof updateCart$1>;
|
|
@@ -6633,19 +6633,19 @@ type _publicOnCartUpdatedType$1 = typeof onCartUpdated$3;
|
|
|
6633
6633
|
/**
|
|
6634
6634
|
* Triggered when a cart is updated.
|
|
6635
6635
|
*/
|
|
6636
|
-
declare const onCartUpdated$2: ReturnType<typeof createEventModule$
|
|
6636
|
+
declare const onCartUpdated$2: ReturnType<typeof createEventModule$c<_publicOnCartUpdatedType>>;
|
|
6637
6637
|
|
|
6638
6638
|
type _publicOnCartDeletedType$1 = typeof onCartDeleted$3;
|
|
6639
6639
|
/**
|
|
6640
6640
|
* Triggered when a cart is deleted.
|
|
6641
6641
|
*/
|
|
6642
|
-
declare const onCartDeleted$2: ReturnType<typeof createEventModule$
|
|
6642
|
+
declare const onCartDeleted$2: ReturnType<typeof createEventModule$c<_publicOnCartDeletedType>>;
|
|
6643
6643
|
|
|
6644
6644
|
type _publicOnCartCreatedType$1 = typeof onCartCreated$3;
|
|
6645
6645
|
/**
|
|
6646
6646
|
* Triggered when a cart is created.
|
|
6647
6647
|
*/
|
|
6648
|
-
declare const onCartCreated$2: ReturnType<typeof createEventModule$
|
|
6648
|
+
declare const onCartCreated$2: ReturnType<typeof createEventModule$c<_publicOnCartCreatedType>>;
|
|
6649
6649
|
|
|
6650
6650
|
type index_d$i_AddToCartOptions = AddToCartOptions;
|
|
6651
6651
|
type index_d$i_CreateCartOptions = CreateCartOptions;
|
|
@@ -6658,7 +6658,7 @@ declare const index_d$i_estimateTotals: typeof estimateTotals;
|
|
|
6658
6658
|
declare const index_d$i_getCart: typeof getCart;
|
|
6659
6659
|
declare const index_d$i_updateCart: typeof updateCart;
|
|
6660
6660
|
declare namespace index_d$i {
|
|
6661
|
-
export { type ActionEvent$f as ActionEvent, type index_d$i_AddToCartOptions as AddToCartOptions, type AddToCartRequest$1 as AddToCartRequest, type AddToCartResponse$1 as AddToCartResponse, type AddToCartResponseNonNullableFields$1 as AddToCartResponseNonNullableFields, type AddToCurrentCartAndEstimateTotalsRequest$1 as AddToCurrentCartAndEstimateTotalsRequest, type AddToCurrentCartRequest$1 as AddToCurrentCartRequest, type AdditionalFee$6 as AdditionalFee, type Address$9 as Address, type AddressLocation$8 as AddressLocation, type AddressWithContact$5 as AddressWithContact, type AggregatedTaxBreakdown$4 as AggregatedTaxBreakdown, type ApplicationError$a as ApplicationError, type AppliedDiscount$6 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$6 as AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails$4 as AutoTaxFallbackCalculationDetails, type BaseEventMetadata$d as BaseEventMetadata, type BuyerInfo$7 as BuyerInfo, type BuyerInfoIdOneOf$5 as BuyerInfoIdOneOf, type CalculatedLineItem$2 as CalculatedLineItem, type CalculationErrors$5 as CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf$5 as CalculationErrorsShippingCalculationErrorOneOf, type CarrierError$5 as CarrierError, type CarrierErrors$5 as CarrierErrors, type CarrierServiceOption$4 as CarrierServiceOption, type Cart$1 as Cart, type CartCreatedEnvelope$1 as CartCreatedEnvelope, type CartDeletedEnvelope$1 as CartDeletedEnvelope, type CartDiscount$1 as CartDiscount, type CartDiscountDiscountSourceOneOf$1 as CartDiscountDiscountSourceOneOf, type CartNonNullableFields$1 as CartNonNullableFields, type CartUpdatedEnvelope$1 as CartUpdatedEnvelope, type CatalogOverrideFields$3 as CatalogOverrideFields, type CatalogReference$6 as CatalogReference, ChannelType$6 as ChannelType, ChargeType$5 as ChargeType, type Color$5 as Color, type Coupon$6 as Coupon, type index_d$i_CreateCartOptions as CreateCartOptions, type CreateCartRequest$1 as CreateCartRequest, type CreateCartResponse$1 as CreateCartResponse, type CreateCartResponseNonNullableFields$1 as CreateCartResponseNonNullableFields, type CreateCheckoutFromCurrentCartRequest$1 as CreateCheckoutFromCurrentCartRequest, type CreateCheckoutOptions$1 as CreateCheckoutOptions, type CreateCheckoutRequest$2 as CreateCheckoutRequest, type CreateCheckoutResponse$2 as CreateCheckoutResponse, type CreateCheckoutResponseNonNullableFields$2 as CreateCheckoutResponseNonNullableFields, type CustomLineItem$4 as CustomLineItem, type DeleteCartRequest$1 as DeleteCartRequest, type DeleteCartResponse$1 as DeleteCartResponse, type DeleteCurrentCartRequest$1 as DeleteCurrentCartRequest, type DeliveryLogistics$6 as DeliveryLogistics, type DeliveryTimeSlot$6 as DeliveryTimeSlot, type Description$3 as Description, type DescriptionLine$5 as DescriptionLine, type DescriptionLineDescriptionLineValueOneOf$5 as DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName$5 as DescriptionLineName, DescriptionLineType$5 as DescriptionLineType, type DescriptionLineValueOneOf$5 as DescriptionLineValueOneOf, type Details$5 as Details, type DetailsKindOneOf$5 as DetailsKindOneOf, type DiscountRule$6 as DiscountRule, type DiscountRuleName$6 as DiscountRuleName, DiscountType$6 as DiscountType, type DomainEvent$f as DomainEvent, type DomainEventBodyOneOf$f as DomainEventBodyOneOf, type Empty$a as Empty, type EntityCreatedEvent$f as EntityCreatedEvent, type EntityDeletedEvent$f as EntityDeletedEvent, type EntityUpdatedEvent$f as EntityUpdatedEvent, type EstimateCurrentCartTotalsRequest$1 as EstimateCurrentCartTotalsRequest, type index_d$i_EstimateTotalsOptions as EstimateTotalsOptions, type EstimateTotalsRequest$1 as EstimateTotalsRequest, type EstimateTotalsResponse$1 as EstimateTotalsResponse, type EstimateTotalsResponseNonNullableFields$1 as EstimateTotalsResponseNonNullableFields, type EventMetadata$d as EventMetadata, type ExtendedFields$9 as ExtendedFields, FallbackReason$4 as FallbackReason, type FieldViolation$5 as FieldViolation, FileType$4 as FileType, type FullAddressContactDetails$5 as FullAddressContactDetails, type GetCartByCheckoutIdRequest$1 as GetCartByCheckoutIdRequest, type GetCartByCheckoutIdResponse$1 as GetCartByCheckoutIdResponse, type GetCartRequest$1 as GetCartRequest, type GetCartResponse$1 as GetCartResponse, type GetCartResponseNonNullableFields$1 as GetCartResponseNonNullableFields, type GetCurrentCartRequest$1 as GetCurrentCartRequest, type GetCurrentCartResponse$1 as GetCurrentCartResponse, type GetCurrentCartResponseNonNullableFields$1 as GetCurrentCartResponseNonNullableFields, type GiftCard$6 as GiftCard, type Group$4 as Group, type HostSelectedMembership$1 as HostSelectedMembership, type IdentificationData$f as IdentificationData, type IdentificationDataIdOneOf$f as IdentificationDataIdOneOf, type InvalidMembership$4 as InvalidMembership, type ItemAvailabilityInfo$3 as ItemAvailabilityInfo, ItemAvailabilityStatus$3 as ItemAvailabilityStatus, type ItemTaxFullDetails$6 as ItemTaxFullDetails, type ItemType$6 as ItemType, ItemTypeItemType$6 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$6 as ItemTypeItemTypeDataOneOf, JurisdictionType$6 as JurisdictionType, type LineItem$6 as LineItem, type LineItemDiscount$6 as LineItemDiscount, type LineItemPricesData$2 as LineItemPricesData, type LineItemQuantityUpdate$2 as LineItemQuantityUpdate, ManualCalculationReason$4 as ManualCalculationReason, type Membership$4 as Membership, type MembershipName$7 as MembershipName, type MembershipOptions$4 as MembershipOptions, type MembershipPaymentCredits$4 as MembershipPaymentCredits, type MerchantDiscount$6 as MerchantDiscount, type MerchantDiscountInput$3 as MerchantDiscountInput, type MessageEnvelope$f as MessageEnvelope, type MultiCurrencyPrice$4 as MultiCurrencyPrice, NameInLineItem$3 as NameInLineItem, NameInOther$3 as NameInOther, type Other$3 as Other, type OtherCharge$4 as OtherCharge, PaymentOptionType$6 as PaymentOptionType, type PhysicalProperties$6 as PhysicalProperties, type PickupDetails$7 as PickupDetails, PickupMethod$6 as PickupMethod, type PlainTextValue$5 as PlainTextValue, type PriceDescription$5 as PriceDescription, type PriceSummary$6 as PriceSummary, type ProductName$5 as ProductName, RateType$4 as RateType, type RemoveCouponFromCurrentCartRequest$1 as RemoveCouponFromCurrentCartRequest, type RemoveCouponRequest$2 as RemoveCouponRequest, type RemoveCouponResponse$2 as RemoveCouponResponse, type RemoveCouponResponseNonNullableFields$2 as RemoveCouponResponseNonNullableFields, type RemoveLineItemsFromCurrentCartRequest$1 as RemoveLineItemsFromCurrentCartRequest, type RemoveLineItemsRequest$2 as RemoveLineItemsRequest, type RemoveLineItemsResponse$2 as RemoveLineItemsResponse, type RemoveLineItemsResponseNonNullableFields$2 as RemoveLineItemsResponseNonNullableFields, type RestoreInfo$f as RestoreInfo, RuleType$5 as RuleType, type Scope$4 as Scope, type SecuredMedia$4 as SecuredMedia, type SelectedCarrierServiceOption$4 as SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge$4 as SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices$4 as SelectedCarrierServiceOptionPrices, type SelectedMembership$4 as SelectedMembership, type SelectedMemberships$4 as SelectedMemberships, type SelectedShippingOption$2 as SelectedShippingOption, type ServiceProperties$5 as ServiceProperties, Severity$3 as Severity, type ShippingInformation$4 as ShippingInformation, type ShippingOption$6 as ShippingOption, type ShippingPrice$6 as ShippingPrice, type ShippingRegion$6 as ShippingRegion, type StreetAddress$8 as StreetAddress, SubscriptionFrequency$7 as SubscriptionFrequency, type SubscriptionOptionInfo$4 as SubscriptionOptionInfo, type SubscriptionSettings$7 as SubscriptionSettings, type SystemError$5 as SystemError, type Target$3 as Target, type TargetLineItem$3 as TargetLineItem, type TargetTargetTypeOneOf$3 as TargetTargetTypeOneOf, type TaxBreakdown$4 as TaxBreakdown, type TaxCalculationDetails$4 as TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf$4 as TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown$4 as TaxRateBreakdown, type TaxSummary$6 as TaxSummary, type TaxableAddress$6 as TaxableAddress, type TaxableAddressTaxableAddressDataOneOf$6 as TaxableAddressTaxableAddressDataOneOf, TaxableAddressType$6 as TaxableAddressType, type Title$3 as Title, type index_d$i_UpdateCartOptions as UpdateCartOptions, type UpdateCartRequest$1 as UpdateCartRequest, type UpdateCartResponse$1 as UpdateCartResponse, type UpdateCartResponseNonNullableFields$1 as UpdateCartResponseNonNullableFields, type UpdateCurrentCartLineItemQuantityRequest$1 as UpdateCurrentCartLineItemQuantityRequest, type UpdateLineItemsQuantityRequest$2 as UpdateLineItemsQuantityRequest, type UpdateLineItemsQuantityResponse$2 as UpdateLineItemsQuantityResponse, type UpdateLineItemsQuantityResponseNonNullableFields$2 as UpdateLineItemsQuantityResponseNonNullableFields, type V1Coupon$1 as V1Coupon, type V1MerchantDiscount$1 as V1MerchantDiscount, type ValidationError$5 as ValidationError, type VatId$6 as VatId, VatType$6 as VatType, type Violation$3 as Violation, WebhookIdentityType$f as WebhookIdentityType, WeightUnit$7 as WeightUnit, type _publicOnCartCreatedType$1 as _publicOnCartCreatedType, type _publicOnCartDeletedType$1 as _publicOnCartDeletedType, type _publicOnCartUpdatedType$1 as _publicOnCartUpdatedType, index_d$i_addToCart as addToCart, index_d$i_createCart as createCart, createCheckout$2 as createCheckout, index_d$i_deleteCart as deleteCart, index_d$i_estimateTotals as estimateTotals, index_d$i_getCart as getCart, onCartCreated$2 as onCartCreated, onCartDeleted$2 as onCartDeleted, onCartUpdated$2 as onCartUpdated, onCartCreated$3 as publicOnCartCreated, onCartDeleted$3 as publicOnCartDeleted, onCartUpdated$3 as publicOnCartUpdated, removeCoupon$2 as removeCoupon, removeLineItems$2 as removeLineItems, index_d$i_updateCart as updateCart, updateLineItemsQuantity$2 as updateLineItemsQuantity };
|
|
6661
|
+
export { type ActionEvent$f as ActionEvent, type index_d$i_AddToCartOptions as AddToCartOptions, type AddToCartRequest$1 as AddToCartRequest, type AddToCartResponse$1 as AddToCartResponse, type AddToCartResponseNonNullableFields$1 as AddToCartResponseNonNullableFields, type AddToCurrentCartAndEstimateTotalsRequest$1 as AddToCurrentCartAndEstimateTotalsRequest, type AddToCurrentCartRequest$1 as AddToCurrentCartRequest, type AdditionalFee$6 as AdditionalFee, type Address$9 as Address, type AddressLocation$8 as AddressLocation, type AddressWithContact$5 as AddressWithContact, type AggregatedTaxBreakdown$4 as AggregatedTaxBreakdown, type ApplicationError$a as ApplicationError, type AppliedDiscount$6 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$6 as AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails$4 as AutoTaxFallbackCalculationDetails, type BaseEventMetadata$c as BaseEventMetadata, type BuyerInfo$7 as BuyerInfo, type BuyerInfoIdOneOf$5 as BuyerInfoIdOneOf, type CalculatedLineItem$2 as CalculatedLineItem, type CalculationErrors$5 as CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf$5 as CalculationErrorsShippingCalculationErrorOneOf, type CarrierError$5 as CarrierError, type CarrierErrors$5 as CarrierErrors, type CarrierServiceOption$4 as CarrierServiceOption, type Cart$1 as Cart, type CartCreatedEnvelope$1 as CartCreatedEnvelope, type CartDeletedEnvelope$1 as CartDeletedEnvelope, type CartDiscount$1 as CartDiscount, type CartDiscountDiscountSourceOneOf$1 as CartDiscountDiscountSourceOneOf, type CartNonNullableFields$1 as CartNonNullableFields, type CartUpdatedEnvelope$1 as CartUpdatedEnvelope, type CatalogOverrideFields$3 as CatalogOverrideFields, type CatalogReference$6 as CatalogReference, ChannelType$6 as ChannelType, ChargeType$5 as ChargeType, type Color$5 as Color, type Coupon$6 as Coupon, type index_d$i_CreateCartOptions as CreateCartOptions, type CreateCartRequest$1 as CreateCartRequest, type CreateCartResponse$1 as CreateCartResponse, type CreateCartResponseNonNullableFields$1 as CreateCartResponseNonNullableFields, type CreateCheckoutFromCurrentCartRequest$1 as CreateCheckoutFromCurrentCartRequest, type CreateCheckoutOptions$1 as CreateCheckoutOptions, type CreateCheckoutRequest$2 as CreateCheckoutRequest, type CreateCheckoutResponse$2 as CreateCheckoutResponse, type CreateCheckoutResponseNonNullableFields$2 as CreateCheckoutResponseNonNullableFields, type CustomLineItem$4 as CustomLineItem, type DeleteCartRequest$1 as DeleteCartRequest, type DeleteCartResponse$1 as DeleteCartResponse, type DeleteCurrentCartRequest$1 as DeleteCurrentCartRequest, type DeliveryLogistics$6 as DeliveryLogistics, type DeliveryTimeSlot$6 as DeliveryTimeSlot, type Description$3 as Description, type DescriptionLine$5 as DescriptionLine, type DescriptionLineDescriptionLineValueOneOf$5 as DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName$5 as DescriptionLineName, DescriptionLineType$5 as DescriptionLineType, type DescriptionLineValueOneOf$5 as DescriptionLineValueOneOf, type Details$5 as Details, type DetailsKindOneOf$5 as DetailsKindOneOf, type DiscountRule$6 as DiscountRule, type DiscountRuleName$6 as DiscountRuleName, DiscountType$6 as DiscountType, type DomainEvent$f as DomainEvent, type DomainEventBodyOneOf$f as DomainEventBodyOneOf, type Empty$a as Empty, type EntityCreatedEvent$f as EntityCreatedEvent, type EntityDeletedEvent$f as EntityDeletedEvent, type EntityUpdatedEvent$f as EntityUpdatedEvent, type EstimateCurrentCartTotalsRequest$1 as EstimateCurrentCartTotalsRequest, type index_d$i_EstimateTotalsOptions as EstimateTotalsOptions, type EstimateTotalsRequest$1 as EstimateTotalsRequest, type EstimateTotalsResponse$1 as EstimateTotalsResponse, type EstimateTotalsResponseNonNullableFields$1 as EstimateTotalsResponseNonNullableFields, type EventMetadata$c as EventMetadata, type ExtendedFields$9 as ExtendedFields, FallbackReason$4 as FallbackReason, type FieldViolation$5 as FieldViolation, FileType$4 as FileType, type FullAddressContactDetails$5 as FullAddressContactDetails, type GetCartByCheckoutIdRequest$1 as GetCartByCheckoutIdRequest, type GetCartByCheckoutIdResponse$1 as GetCartByCheckoutIdResponse, type GetCartRequest$1 as GetCartRequest, type GetCartResponse$1 as GetCartResponse, type GetCartResponseNonNullableFields$1 as GetCartResponseNonNullableFields, type GetCurrentCartRequest$1 as GetCurrentCartRequest, type GetCurrentCartResponse$1 as GetCurrentCartResponse, type GetCurrentCartResponseNonNullableFields$1 as GetCurrentCartResponseNonNullableFields, type GiftCard$6 as GiftCard, type Group$4 as Group, type HostSelectedMembership$1 as HostSelectedMembership, type IdentificationData$f as IdentificationData, type IdentificationDataIdOneOf$f as IdentificationDataIdOneOf, type InvalidMembership$4 as InvalidMembership, type ItemAvailabilityInfo$3 as ItemAvailabilityInfo, ItemAvailabilityStatus$3 as ItemAvailabilityStatus, type ItemTaxFullDetails$6 as ItemTaxFullDetails, type ItemType$6 as ItemType, ItemTypeItemType$6 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$6 as ItemTypeItemTypeDataOneOf, JurisdictionType$6 as JurisdictionType, type LineItem$6 as LineItem, type LineItemDiscount$6 as LineItemDiscount, type LineItemPricesData$2 as LineItemPricesData, type LineItemQuantityUpdate$2 as LineItemQuantityUpdate, ManualCalculationReason$4 as ManualCalculationReason, type Membership$4 as Membership, type MembershipName$7 as MembershipName, type MembershipOptions$4 as MembershipOptions, type MembershipPaymentCredits$4 as MembershipPaymentCredits, type MerchantDiscount$6 as MerchantDiscount, type MerchantDiscountInput$3 as MerchantDiscountInput, type MessageEnvelope$f as MessageEnvelope, type MultiCurrencyPrice$4 as MultiCurrencyPrice, NameInLineItem$3 as NameInLineItem, NameInOther$3 as NameInOther, type Other$3 as Other, type OtherCharge$4 as OtherCharge, PaymentOptionType$6 as PaymentOptionType, type PhysicalProperties$6 as PhysicalProperties, type PickupDetails$7 as PickupDetails, PickupMethod$6 as PickupMethod, type PlainTextValue$5 as PlainTextValue, type PriceDescription$5 as PriceDescription, type PriceSummary$6 as PriceSummary, type ProductName$5 as ProductName, RateType$4 as RateType, type RemoveCouponFromCurrentCartRequest$1 as RemoveCouponFromCurrentCartRequest, type RemoveCouponRequest$2 as RemoveCouponRequest, type RemoveCouponResponse$2 as RemoveCouponResponse, type RemoveCouponResponseNonNullableFields$2 as RemoveCouponResponseNonNullableFields, type RemoveLineItemsFromCurrentCartRequest$1 as RemoveLineItemsFromCurrentCartRequest, type RemoveLineItemsRequest$2 as RemoveLineItemsRequest, type RemoveLineItemsResponse$2 as RemoveLineItemsResponse, type RemoveLineItemsResponseNonNullableFields$2 as RemoveLineItemsResponseNonNullableFields, type RestoreInfo$f as RestoreInfo, RuleType$5 as RuleType, type Scope$4 as Scope, type SecuredMedia$4 as SecuredMedia, type SelectedCarrierServiceOption$4 as SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge$4 as SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices$4 as SelectedCarrierServiceOptionPrices, type SelectedMembership$4 as SelectedMembership, type SelectedMemberships$4 as SelectedMemberships, type SelectedShippingOption$2 as SelectedShippingOption, type ServiceProperties$5 as ServiceProperties, Severity$3 as Severity, type ShippingInformation$4 as ShippingInformation, type ShippingOption$6 as ShippingOption, type ShippingPrice$6 as ShippingPrice, type ShippingRegion$6 as ShippingRegion, type StreetAddress$8 as StreetAddress, SubscriptionFrequency$7 as SubscriptionFrequency, type SubscriptionOptionInfo$4 as SubscriptionOptionInfo, type SubscriptionSettings$7 as SubscriptionSettings, type SystemError$5 as SystemError, type Target$3 as Target, type TargetLineItem$3 as TargetLineItem, type TargetTargetTypeOneOf$3 as TargetTargetTypeOneOf, type TaxBreakdown$4 as TaxBreakdown, type TaxCalculationDetails$4 as TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf$4 as TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown$4 as TaxRateBreakdown, type TaxSummary$6 as TaxSummary, type TaxableAddress$6 as TaxableAddress, type TaxableAddressTaxableAddressDataOneOf$6 as TaxableAddressTaxableAddressDataOneOf, TaxableAddressType$6 as TaxableAddressType, type Title$3 as Title, type index_d$i_UpdateCartOptions as UpdateCartOptions, type UpdateCartRequest$1 as UpdateCartRequest, type UpdateCartResponse$1 as UpdateCartResponse, type UpdateCartResponseNonNullableFields$1 as UpdateCartResponseNonNullableFields, type UpdateCurrentCartLineItemQuantityRequest$1 as UpdateCurrentCartLineItemQuantityRequest, type UpdateLineItemsQuantityRequest$2 as UpdateLineItemsQuantityRequest, type UpdateLineItemsQuantityResponse$2 as UpdateLineItemsQuantityResponse, type UpdateLineItemsQuantityResponseNonNullableFields$2 as UpdateLineItemsQuantityResponseNonNullableFields, type V1Coupon$1 as V1Coupon, type V1MerchantDiscount$1 as V1MerchantDiscount, type ValidationError$5 as ValidationError, type VatId$6 as VatId, VatType$6 as VatType, type Violation$3 as Violation, WebhookIdentityType$f as WebhookIdentityType, WeightUnit$7 as WeightUnit, type _publicOnCartCreatedType$1 as _publicOnCartCreatedType, type _publicOnCartDeletedType$1 as _publicOnCartDeletedType, type _publicOnCartUpdatedType$1 as _publicOnCartUpdatedType, index_d$i_addToCart as addToCart, index_d$i_createCart as createCart, createCheckout$2 as createCheckout, index_d$i_deleteCart as deleteCart, index_d$i_estimateTotals as estimateTotals, index_d$i_getCart as getCart, onCartCreated$2 as onCartCreated, onCartDeleted$2 as onCartDeleted, onCartUpdated$2 as onCartUpdated, onCartCreated$3 as publicOnCartCreated, onCartDeleted$3 as publicOnCartDeleted, onCartUpdated$3 as publicOnCartUpdated, removeCoupon$2 as removeCoupon, removeLineItems$2 as removeLineItems, index_d$i_updateCart as updateCart, updateLineItemsQuantity$2 as updateLineItemsQuantity };
|
|
6662
6662
|
}
|
|
6663
6663
|
|
|
6664
6664
|
interface Cart {
|
|
@@ -8939,7 +8939,7 @@ interface CreateCartResponseNonNullableFields {
|
|
|
8939
8939
|
interface GetCartResponseNonNullableFields {
|
|
8940
8940
|
cart?: CartNonNullableFields;
|
|
8941
8941
|
}
|
|
8942
|
-
interface BaseEventMetadata$
|
|
8942
|
+
interface BaseEventMetadata$b {
|
|
8943
8943
|
/** App instance ID. */
|
|
8944
8944
|
instanceId?: string | null;
|
|
8945
8945
|
/** Event type. */
|
|
@@ -8947,7 +8947,7 @@ interface BaseEventMetadata$c {
|
|
|
8947
8947
|
/** The identification type and identity data. */
|
|
8948
8948
|
identity?: IdentificationData$e;
|
|
8949
8949
|
}
|
|
8950
|
-
interface EventMetadata$
|
|
8950
|
+
interface EventMetadata$b extends BaseEventMetadata$b {
|
|
8951
8951
|
/**
|
|
8952
8952
|
* Unique event ID.
|
|
8953
8953
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -8987,14 +8987,14 @@ interface EventMetadata$c extends BaseEventMetadata$c {
|
|
|
8987
8987
|
}
|
|
8988
8988
|
interface CartUpdatedEnvelope {
|
|
8989
8989
|
entity: Cart;
|
|
8990
|
-
metadata: EventMetadata$
|
|
8990
|
+
metadata: EventMetadata$b;
|
|
8991
8991
|
}
|
|
8992
8992
|
interface CartDeletedEnvelope {
|
|
8993
|
-
metadata: EventMetadata$
|
|
8993
|
+
metadata: EventMetadata$b;
|
|
8994
8994
|
}
|
|
8995
8995
|
interface CartCreatedEnvelope {
|
|
8996
8996
|
entity: Cart;
|
|
8997
|
-
metadata: EventMetadata$
|
|
8997
|
+
metadata: EventMetadata$b;
|
|
8998
8998
|
}
|
|
8999
8999
|
interface UpdateCurrentCartOptions {
|
|
9000
9000
|
/** Cart info. */
|
|
@@ -9173,20 +9173,20 @@ interface DeleteCurrentCartSignature {
|
|
|
9173
9173
|
*/
|
|
9174
9174
|
(): Promise<void>;
|
|
9175
9175
|
}
|
|
9176
|
-
declare const onCartUpdated$1: EventDefinition$
|
|
9177
|
-
declare const onCartDeleted$1: EventDefinition$
|
|
9178
|
-
declare const onCartCreated$1: EventDefinition$
|
|
9176
|
+
declare const onCartUpdated$1: EventDefinition$g<CartUpdatedEnvelope, "wix.ecom.v1.cart_updated">;
|
|
9177
|
+
declare const onCartDeleted$1: EventDefinition$g<CartDeletedEnvelope, "wix.ecom.v1.cart_deleted">;
|
|
9178
|
+
declare const onCartCreated$1: EventDefinition$g<CartCreatedEnvelope, "wix.ecom.v1.cart_created">;
|
|
9179
9179
|
|
|
9180
|
-
type EventDefinition$
|
|
9180
|
+
type EventDefinition$b<Payload = unknown, Type extends string = string> = {
|
|
9181
9181
|
__type: 'event-definition';
|
|
9182
9182
|
type: Type;
|
|
9183
9183
|
isDomainEvent?: boolean;
|
|
9184
9184
|
transformations?: (envelope: unknown) => Payload;
|
|
9185
9185
|
__payload: Payload;
|
|
9186
9186
|
};
|
|
9187
|
-
declare function EventDefinition$
|
|
9188
|
-
type EventHandler$
|
|
9189
|
-
type BuildEventDefinition$
|
|
9187
|
+
declare function EventDefinition$b<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition$b<Payload, Type>;
|
|
9188
|
+
type EventHandler$b<T extends EventDefinition$b> = (payload: T['__payload']) => void | Promise<void>;
|
|
9189
|
+
type BuildEventDefinition$b<T extends EventDefinition$b<any, string>> = (handler: EventHandler$b<T>) => void;
|
|
9190
9190
|
|
|
9191
9191
|
declare global {
|
|
9192
9192
|
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
@@ -9195,7 +9195,7 @@ declare global {
|
|
|
9195
9195
|
}
|
|
9196
9196
|
}
|
|
9197
9197
|
|
|
9198
|
-
declare function createEventModule$
|
|
9198
|
+
declare function createEventModule$b<T extends EventDefinition$b<any, string>>(eventDefinition: T): BuildEventDefinition$b<T> & T;
|
|
9199
9199
|
|
|
9200
9200
|
declare const getCurrentCart: MaybeContext<BuildRESTFunction<typeof getCurrentCart$1> & typeof getCurrentCart$1>;
|
|
9201
9201
|
declare const updateCurrentCart: MaybeContext<BuildRESTFunction<typeof updateCurrentCart$1> & typeof updateCurrentCart$1>;
|
|
@@ -9211,19 +9211,19 @@ type _publicOnCartUpdatedType = typeof onCartUpdated$1;
|
|
|
9211
9211
|
/**
|
|
9212
9212
|
* Triggered when a cart is updated.
|
|
9213
9213
|
*/
|
|
9214
|
-
declare const onCartUpdated: ReturnType<typeof createEventModule$
|
|
9214
|
+
declare const onCartUpdated: ReturnType<typeof createEventModule$b<_publicOnCartUpdatedType>>;
|
|
9215
9215
|
|
|
9216
9216
|
type _publicOnCartDeletedType = typeof onCartDeleted$1;
|
|
9217
9217
|
/**
|
|
9218
9218
|
* Triggered when a cart is deleted.
|
|
9219
9219
|
*/
|
|
9220
|
-
declare const onCartDeleted: ReturnType<typeof createEventModule$
|
|
9220
|
+
declare const onCartDeleted: ReturnType<typeof createEventModule$b<_publicOnCartDeletedType>>;
|
|
9221
9221
|
|
|
9222
9222
|
type _publicOnCartCreatedType = typeof onCartCreated$1;
|
|
9223
9223
|
/**
|
|
9224
9224
|
* Triggered when a cart is created.
|
|
9225
9225
|
*/
|
|
9226
|
-
declare const onCartCreated: ReturnType<typeof createEventModule$
|
|
9226
|
+
declare const onCartCreated: ReturnType<typeof createEventModule$b<_publicOnCartCreatedType>>;
|
|
9227
9227
|
|
|
9228
9228
|
type index_d$h_AddToCartRequest = AddToCartRequest;
|
|
9229
9229
|
type index_d$h_AddToCartResponse = AddToCartResponse;
|
|
@@ -9285,7 +9285,7 @@ declare const index_d$h_removeLineItemsFromCurrentCart: typeof removeLineItemsFr
|
|
|
9285
9285
|
declare const index_d$h_updateCurrentCart: typeof updateCurrentCart;
|
|
9286
9286
|
declare const index_d$h_updateCurrentCartLineItemQuantity: typeof updateCurrentCartLineItemQuantity;
|
|
9287
9287
|
declare namespace index_d$h {
|
|
9288
|
-
export { type ActionEvent$e as ActionEvent, type index_d$h_AddToCartRequest as AddToCartRequest, type index_d$h_AddToCartResponse as AddToCartResponse, type index_d$h_AddToCartResponseNonNullableFields as AddToCartResponseNonNullableFields, type index_d$h_AddToCurrentCartAndEstimateTotalsRequest as AddToCurrentCartAndEstimateTotalsRequest, type index_d$h_AddToCurrentCartOptions as AddToCurrentCartOptions, type index_d$h_AddToCurrentCartRequest as AddToCurrentCartRequest, type AdditionalFee$5 as AdditionalFee, type Address$8 as Address, type AddressLocation$7 as AddressLocation, type AddressWithContact$4 as AddressWithContact, type AggregatedTaxBreakdown$3 as AggregatedTaxBreakdown, type ApplicationError$9 as ApplicationError, type AppliedDiscount$5 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$5 as AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails$3 as AutoTaxFallbackCalculationDetails, type BaseEventMetadata$c as BaseEventMetadata, type BuyerInfo$6 as BuyerInfo, type BuyerInfoIdOneOf$4 as BuyerInfoIdOneOf, type CalculatedLineItem$1 as CalculatedLineItem, type CalculationErrors$4 as CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf$4 as CalculationErrorsShippingCalculationErrorOneOf, type CarrierError$4 as CarrierError, type CarrierErrors$4 as CarrierErrors, type CarrierServiceOption$3 as CarrierServiceOption, type index_d$h_Cart as Cart, type index_d$h_CartCreatedEnvelope as CartCreatedEnvelope, type index_d$h_CartDeletedEnvelope as CartDeletedEnvelope, type index_d$h_CartDiscount as CartDiscount, type index_d$h_CartDiscountDiscountSourceOneOf as CartDiscountDiscountSourceOneOf, type index_d$h_CartNonNullableFields as CartNonNullableFields, type index_d$h_CartUpdatedEnvelope as CartUpdatedEnvelope, type CatalogOverrideFields$2 as CatalogOverrideFields, type CatalogReference$5 as CatalogReference, ChannelType$5 as ChannelType, ChargeType$4 as ChargeType, type Color$4 as Color, type Coupon$5 as Coupon, type index_d$h_CreateCartRequest as CreateCartRequest, type index_d$h_CreateCartResponse as CreateCartResponse, type index_d$h_CreateCartResponseNonNullableFields as CreateCartResponseNonNullableFields, type index_d$h_CreateCheckoutFromCurrentCartOptions as CreateCheckoutFromCurrentCartOptions, type index_d$h_CreateCheckoutFromCurrentCartRequest as CreateCheckoutFromCurrentCartRequest, type CreateCheckoutRequest$1 as CreateCheckoutRequest, type CreateCheckoutResponse$1 as CreateCheckoutResponse, type CreateCheckoutResponseNonNullableFields$1 as CreateCheckoutResponseNonNullableFields, type CustomLineItem$3 as CustomLineItem, type index_d$h_DeleteCartRequest as DeleteCartRequest, type index_d$h_DeleteCartResponse as DeleteCartResponse, type index_d$h_DeleteCurrentCartRequest as DeleteCurrentCartRequest, type DeliveryLogistics$5 as DeliveryLogistics, type DeliveryTimeSlot$5 as DeliveryTimeSlot, type Description$2 as Description, type DescriptionLine$4 as DescriptionLine, type DescriptionLineDescriptionLineValueOneOf$4 as DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName$4 as DescriptionLineName, DescriptionLineType$4 as DescriptionLineType, type DescriptionLineValueOneOf$4 as DescriptionLineValueOneOf, type Details$4 as Details, type DetailsKindOneOf$4 as DetailsKindOneOf, type DiscountRule$5 as DiscountRule, type DiscountRuleName$5 as DiscountRuleName, DiscountType$5 as DiscountType, type DomainEvent$e as DomainEvent, type DomainEventBodyOneOf$e as DomainEventBodyOneOf, type Empty$9 as Empty, type EntityCreatedEvent$e as EntityCreatedEvent, type EntityDeletedEvent$e as EntityDeletedEvent, type EntityUpdatedEvent$e as EntityUpdatedEvent, type index_d$h_EstimateCurrentCartTotalsOptions as EstimateCurrentCartTotalsOptions, type index_d$h_EstimateCurrentCartTotalsRequest as EstimateCurrentCartTotalsRequest, type index_d$h_EstimateTotalsRequest as EstimateTotalsRequest, type index_d$h_EstimateTotalsResponse as EstimateTotalsResponse, type index_d$h_EstimateTotalsResponseNonNullableFields as EstimateTotalsResponseNonNullableFields, type EventMetadata$c as EventMetadata, type ExtendedFields$8 as ExtendedFields, FallbackReason$3 as FallbackReason, type FieldViolation$4 as FieldViolation, FileType$3 as FileType, type FullAddressContactDetails$4 as FullAddressContactDetails, type index_d$h_GetCartByCheckoutIdRequest as GetCartByCheckoutIdRequest, type index_d$h_GetCartByCheckoutIdResponse as GetCartByCheckoutIdResponse, type index_d$h_GetCartRequest as GetCartRequest, type index_d$h_GetCartResponse as GetCartResponse, type index_d$h_GetCartResponseNonNullableFields as GetCartResponseNonNullableFields, type index_d$h_GetCurrentCartRequest as GetCurrentCartRequest, type index_d$h_GetCurrentCartResponse as GetCurrentCartResponse, type index_d$h_GetCurrentCartResponseNonNullableFields as GetCurrentCartResponseNonNullableFields, type GiftCard$5 as GiftCard, type Group$3 as Group, type index_d$h_HostSelectedMembership as HostSelectedMembership, type IdentificationData$e as IdentificationData, type IdentificationDataIdOneOf$e as IdentificationDataIdOneOf, type InvalidMembership$3 as InvalidMembership, type ItemAvailabilityInfo$2 as ItemAvailabilityInfo, ItemAvailabilityStatus$2 as ItemAvailabilityStatus, type ItemTaxFullDetails$5 as ItemTaxFullDetails, type ItemType$5 as ItemType, ItemTypeItemType$5 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$5 as ItemTypeItemTypeDataOneOf, JurisdictionType$5 as JurisdictionType, type LineItem$5 as LineItem, type LineItemDiscount$5 as LineItemDiscount, type LineItemPricesData$1 as LineItemPricesData, type LineItemQuantityUpdate$1 as LineItemQuantityUpdate, ManualCalculationReason$3 as ManualCalculationReason, type Membership$3 as Membership, type MembershipName$6 as MembershipName, type MembershipOptions$3 as MembershipOptions, type MembershipPaymentCredits$3 as MembershipPaymentCredits, type MerchantDiscount$5 as MerchantDiscount, type MerchantDiscountInput$2 as MerchantDiscountInput, type MessageEnvelope$e as MessageEnvelope, type MultiCurrencyPrice$3 as MultiCurrencyPrice, NameInLineItem$2 as NameInLineItem, NameInOther$2 as NameInOther, type Other$2 as Other, type OtherCharge$3 as OtherCharge, PaymentOptionType$5 as PaymentOptionType, type PhysicalProperties$5 as PhysicalProperties, type PickupDetails$6 as PickupDetails, PickupMethod$5 as PickupMethod, type PlainTextValue$4 as PlainTextValue, type PriceDescription$4 as PriceDescription, type PriceSummary$5 as PriceSummary, type ProductName$4 as ProductName, RateType$3 as RateType, type index_d$h_RemoveCouponFromCurrentCartRequest as RemoveCouponFromCurrentCartRequest, type RemoveCouponRequest$1 as RemoveCouponRequest, type RemoveCouponResponse$1 as RemoveCouponResponse, type RemoveCouponResponseNonNullableFields$1 as RemoveCouponResponseNonNullableFields, type index_d$h_RemoveLineItemsFromCurrentCartRequest as RemoveLineItemsFromCurrentCartRequest, type RemoveLineItemsRequest$1 as RemoveLineItemsRequest, type RemoveLineItemsResponse$1 as RemoveLineItemsResponse, type RemoveLineItemsResponseNonNullableFields$1 as RemoveLineItemsResponseNonNullableFields, type RestoreInfo$e as RestoreInfo, RuleType$4 as RuleType, type Scope$3 as Scope, type SecuredMedia$3 as SecuredMedia, type SelectedCarrierServiceOption$3 as SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge$3 as SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices$3 as SelectedCarrierServiceOptionPrices, type SelectedMembership$3 as SelectedMembership, type SelectedMemberships$3 as SelectedMemberships, type SelectedShippingOption$1 as SelectedShippingOption, type ServiceProperties$4 as ServiceProperties, Severity$2 as Severity, type ShippingInformation$3 as ShippingInformation, type ShippingOption$5 as ShippingOption, type ShippingPrice$5 as ShippingPrice, type ShippingRegion$5 as ShippingRegion, type StreetAddress$7 as StreetAddress, SubscriptionFrequency$6 as SubscriptionFrequency, type SubscriptionOptionInfo$3 as SubscriptionOptionInfo, type SubscriptionSettings$6 as SubscriptionSettings, type SystemError$4 as SystemError, type Target$2 as Target, type TargetLineItem$2 as TargetLineItem, type TargetTargetTypeOneOf$2 as TargetTargetTypeOneOf, type TaxBreakdown$3 as TaxBreakdown, type TaxCalculationDetails$3 as TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf$3 as TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown$3 as TaxRateBreakdown, type TaxSummary$5 as TaxSummary, type TaxableAddress$5 as TaxableAddress, type TaxableAddressTaxableAddressDataOneOf$5 as TaxableAddressTaxableAddressDataOneOf, TaxableAddressType$5 as TaxableAddressType, type Title$2 as Title, type index_d$h_UpdateCartRequest as UpdateCartRequest, type index_d$h_UpdateCartResponse as UpdateCartResponse, type index_d$h_UpdateCartResponseNonNullableFields as UpdateCartResponseNonNullableFields, type index_d$h_UpdateCurrentCartLineItemQuantityRequest as UpdateCurrentCartLineItemQuantityRequest, type index_d$h_UpdateCurrentCartOptions as UpdateCurrentCartOptions, type UpdateLineItemsQuantityRequest$1 as UpdateLineItemsQuantityRequest, type UpdateLineItemsQuantityResponse$1 as UpdateLineItemsQuantityResponse, type UpdateLineItemsQuantityResponseNonNullableFields$1 as UpdateLineItemsQuantityResponseNonNullableFields, type index_d$h_V1Coupon as V1Coupon, type index_d$h_V1MerchantDiscount as V1MerchantDiscount, type ValidationError$4 as ValidationError, type VatId$5 as VatId, VatType$5 as VatType, type Violation$2 as Violation, WebhookIdentityType$e as WebhookIdentityType, WeightUnit$6 as WeightUnit, type index_d$h__publicOnCartCreatedType as _publicOnCartCreatedType, type index_d$h__publicOnCartDeletedType as _publicOnCartDeletedType, type index_d$h__publicOnCartUpdatedType as _publicOnCartUpdatedType, index_d$h_addToCurrentCart as addToCurrentCart, index_d$h_createCheckoutFromCurrentCart as createCheckoutFromCurrentCart, index_d$h_deleteCurrentCart as deleteCurrentCart, index_d$h_estimateCurrentCartTotals as estimateCurrentCartTotals, index_d$h_getCurrentCart as getCurrentCart, index_d$h_onCartCreated as onCartCreated, index_d$h_onCartDeleted as onCartDeleted, index_d$h_onCartUpdated as onCartUpdated, onCartCreated$1 as publicOnCartCreated, onCartDeleted$1 as publicOnCartDeleted, onCartUpdated$1 as publicOnCartUpdated, index_d$h_removeCouponFromCurrentCart as removeCouponFromCurrentCart, index_d$h_removeLineItemsFromCurrentCart as removeLineItemsFromCurrentCart, index_d$h_updateCurrentCart as updateCurrentCart, index_d$h_updateCurrentCartLineItemQuantity as updateCurrentCartLineItemQuantity };
|
|
9288
|
+
export { type ActionEvent$e as ActionEvent, type index_d$h_AddToCartRequest as AddToCartRequest, type index_d$h_AddToCartResponse as AddToCartResponse, type index_d$h_AddToCartResponseNonNullableFields as AddToCartResponseNonNullableFields, type index_d$h_AddToCurrentCartAndEstimateTotalsRequest as AddToCurrentCartAndEstimateTotalsRequest, type index_d$h_AddToCurrentCartOptions as AddToCurrentCartOptions, type index_d$h_AddToCurrentCartRequest as AddToCurrentCartRequest, type AdditionalFee$5 as AdditionalFee, type Address$8 as Address, type AddressLocation$7 as AddressLocation, type AddressWithContact$4 as AddressWithContact, type AggregatedTaxBreakdown$3 as AggregatedTaxBreakdown, type ApplicationError$9 as ApplicationError, type AppliedDiscount$5 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$5 as AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails$3 as AutoTaxFallbackCalculationDetails, type BaseEventMetadata$b as BaseEventMetadata, type BuyerInfo$6 as BuyerInfo, type BuyerInfoIdOneOf$4 as BuyerInfoIdOneOf, type CalculatedLineItem$1 as CalculatedLineItem, type CalculationErrors$4 as CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf$4 as CalculationErrorsShippingCalculationErrorOneOf, type CarrierError$4 as CarrierError, type CarrierErrors$4 as CarrierErrors, type CarrierServiceOption$3 as CarrierServiceOption, type index_d$h_Cart as Cart, type index_d$h_CartCreatedEnvelope as CartCreatedEnvelope, type index_d$h_CartDeletedEnvelope as CartDeletedEnvelope, type index_d$h_CartDiscount as CartDiscount, type index_d$h_CartDiscountDiscountSourceOneOf as CartDiscountDiscountSourceOneOf, type index_d$h_CartNonNullableFields as CartNonNullableFields, type index_d$h_CartUpdatedEnvelope as CartUpdatedEnvelope, type CatalogOverrideFields$2 as CatalogOverrideFields, type CatalogReference$5 as CatalogReference, ChannelType$5 as ChannelType, ChargeType$4 as ChargeType, type Color$4 as Color, type Coupon$5 as Coupon, type index_d$h_CreateCartRequest as CreateCartRequest, type index_d$h_CreateCartResponse as CreateCartResponse, type index_d$h_CreateCartResponseNonNullableFields as CreateCartResponseNonNullableFields, type index_d$h_CreateCheckoutFromCurrentCartOptions as CreateCheckoutFromCurrentCartOptions, type index_d$h_CreateCheckoutFromCurrentCartRequest as CreateCheckoutFromCurrentCartRequest, type CreateCheckoutRequest$1 as CreateCheckoutRequest, type CreateCheckoutResponse$1 as CreateCheckoutResponse, type CreateCheckoutResponseNonNullableFields$1 as CreateCheckoutResponseNonNullableFields, type CustomLineItem$3 as CustomLineItem, type index_d$h_DeleteCartRequest as DeleteCartRequest, type index_d$h_DeleteCartResponse as DeleteCartResponse, type index_d$h_DeleteCurrentCartRequest as DeleteCurrentCartRequest, type DeliveryLogistics$5 as DeliveryLogistics, type DeliveryTimeSlot$5 as DeliveryTimeSlot, type Description$2 as Description, type DescriptionLine$4 as DescriptionLine, type DescriptionLineDescriptionLineValueOneOf$4 as DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName$4 as DescriptionLineName, DescriptionLineType$4 as DescriptionLineType, type DescriptionLineValueOneOf$4 as DescriptionLineValueOneOf, type Details$4 as Details, type DetailsKindOneOf$4 as DetailsKindOneOf, type DiscountRule$5 as DiscountRule, type DiscountRuleName$5 as DiscountRuleName, DiscountType$5 as DiscountType, type DomainEvent$e as DomainEvent, type DomainEventBodyOneOf$e as DomainEventBodyOneOf, type Empty$9 as Empty, type EntityCreatedEvent$e as EntityCreatedEvent, type EntityDeletedEvent$e as EntityDeletedEvent, type EntityUpdatedEvent$e as EntityUpdatedEvent, type index_d$h_EstimateCurrentCartTotalsOptions as EstimateCurrentCartTotalsOptions, type index_d$h_EstimateCurrentCartTotalsRequest as EstimateCurrentCartTotalsRequest, type index_d$h_EstimateTotalsRequest as EstimateTotalsRequest, type index_d$h_EstimateTotalsResponse as EstimateTotalsResponse, type index_d$h_EstimateTotalsResponseNonNullableFields as EstimateTotalsResponseNonNullableFields, type EventMetadata$b as EventMetadata, type ExtendedFields$8 as ExtendedFields, FallbackReason$3 as FallbackReason, type FieldViolation$4 as FieldViolation, FileType$3 as FileType, type FullAddressContactDetails$4 as FullAddressContactDetails, type index_d$h_GetCartByCheckoutIdRequest as GetCartByCheckoutIdRequest, type index_d$h_GetCartByCheckoutIdResponse as GetCartByCheckoutIdResponse, type index_d$h_GetCartRequest as GetCartRequest, type index_d$h_GetCartResponse as GetCartResponse, type index_d$h_GetCartResponseNonNullableFields as GetCartResponseNonNullableFields, type index_d$h_GetCurrentCartRequest as GetCurrentCartRequest, type index_d$h_GetCurrentCartResponse as GetCurrentCartResponse, type index_d$h_GetCurrentCartResponseNonNullableFields as GetCurrentCartResponseNonNullableFields, type GiftCard$5 as GiftCard, type Group$3 as Group, type index_d$h_HostSelectedMembership as HostSelectedMembership, type IdentificationData$e as IdentificationData, type IdentificationDataIdOneOf$e as IdentificationDataIdOneOf, type InvalidMembership$3 as InvalidMembership, type ItemAvailabilityInfo$2 as ItemAvailabilityInfo, ItemAvailabilityStatus$2 as ItemAvailabilityStatus, type ItemTaxFullDetails$5 as ItemTaxFullDetails, type ItemType$5 as ItemType, ItemTypeItemType$5 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$5 as ItemTypeItemTypeDataOneOf, JurisdictionType$5 as JurisdictionType, type LineItem$5 as LineItem, type LineItemDiscount$5 as LineItemDiscount, type LineItemPricesData$1 as LineItemPricesData, type LineItemQuantityUpdate$1 as LineItemQuantityUpdate, ManualCalculationReason$3 as ManualCalculationReason, type Membership$3 as Membership, type MembershipName$6 as MembershipName, type MembershipOptions$3 as MembershipOptions, type MembershipPaymentCredits$3 as MembershipPaymentCredits, type MerchantDiscount$5 as MerchantDiscount, type MerchantDiscountInput$2 as MerchantDiscountInput, type MessageEnvelope$e as MessageEnvelope, type MultiCurrencyPrice$3 as MultiCurrencyPrice, NameInLineItem$2 as NameInLineItem, NameInOther$2 as NameInOther, type Other$2 as Other, type OtherCharge$3 as OtherCharge, PaymentOptionType$5 as PaymentOptionType, type PhysicalProperties$5 as PhysicalProperties, type PickupDetails$6 as PickupDetails, PickupMethod$5 as PickupMethod, type PlainTextValue$4 as PlainTextValue, type PriceDescription$4 as PriceDescription, type PriceSummary$5 as PriceSummary, type ProductName$4 as ProductName, RateType$3 as RateType, type index_d$h_RemoveCouponFromCurrentCartRequest as RemoveCouponFromCurrentCartRequest, type RemoveCouponRequest$1 as RemoveCouponRequest, type RemoveCouponResponse$1 as RemoveCouponResponse, type RemoveCouponResponseNonNullableFields$1 as RemoveCouponResponseNonNullableFields, type index_d$h_RemoveLineItemsFromCurrentCartRequest as RemoveLineItemsFromCurrentCartRequest, type RemoveLineItemsRequest$1 as RemoveLineItemsRequest, type RemoveLineItemsResponse$1 as RemoveLineItemsResponse, type RemoveLineItemsResponseNonNullableFields$1 as RemoveLineItemsResponseNonNullableFields, type RestoreInfo$e as RestoreInfo, RuleType$4 as RuleType, type Scope$3 as Scope, type SecuredMedia$3 as SecuredMedia, type SelectedCarrierServiceOption$3 as SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge$3 as SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices$3 as SelectedCarrierServiceOptionPrices, type SelectedMembership$3 as SelectedMembership, type SelectedMemberships$3 as SelectedMemberships, type SelectedShippingOption$1 as SelectedShippingOption, type ServiceProperties$4 as ServiceProperties, Severity$2 as Severity, type ShippingInformation$3 as ShippingInformation, type ShippingOption$5 as ShippingOption, type ShippingPrice$5 as ShippingPrice, type ShippingRegion$5 as ShippingRegion, type StreetAddress$7 as StreetAddress, SubscriptionFrequency$6 as SubscriptionFrequency, type SubscriptionOptionInfo$3 as SubscriptionOptionInfo, type SubscriptionSettings$6 as SubscriptionSettings, type SystemError$4 as SystemError, type Target$2 as Target, type TargetLineItem$2 as TargetLineItem, type TargetTargetTypeOneOf$2 as TargetTargetTypeOneOf, type TaxBreakdown$3 as TaxBreakdown, type TaxCalculationDetails$3 as TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf$3 as TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown$3 as TaxRateBreakdown, type TaxSummary$5 as TaxSummary, type TaxableAddress$5 as TaxableAddress, type TaxableAddressTaxableAddressDataOneOf$5 as TaxableAddressTaxableAddressDataOneOf, TaxableAddressType$5 as TaxableAddressType, type Title$2 as Title, type index_d$h_UpdateCartRequest as UpdateCartRequest, type index_d$h_UpdateCartResponse as UpdateCartResponse, type index_d$h_UpdateCartResponseNonNullableFields as UpdateCartResponseNonNullableFields, type index_d$h_UpdateCurrentCartLineItemQuantityRequest as UpdateCurrentCartLineItemQuantityRequest, type index_d$h_UpdateCurrentCartOptions as UpdateCurrentCartOptions, type UpdateLineItemsQuantityRequest$1 as UpdateLineItemsQuantityRequest, type UpdateLineItemsQuantityResponse$1 as UpdateLineItemsQuantityResponse, type UpdateLineItemsQuantityResponseNonNullableFields$1 as UpdateLineItemsQuantityResponseNonNullableFields, type index_d$h_V1Coupon as V1Coupon, type index_d$h_V1MerchantDiscount as V1MerchantDiscount, type ValidationError$4 as ValidationError, type VatId$5 as VatId, VatType$5 as VatType, type Violation$2 as Violation, WebhookIdentityType$e as WebhookIdentityType, WeightUnit$6 as WeightUnit, type index_d$h__publicOnCartCreatedType as _publicOnCartCreatedType, type index_d$h__publicOnCartDeletedType as _publicOnCartDeletedType, type index_d$h__publicOnCartUpdatedType as _publicOnCartUpdatedType, index_d$h_addToCurrentCart as addToCurrentCart, index_d$h_createCheckoutFromCurrentCart as createCheckoutFromCurrentCart, index_d$h_deleteCurrentCart as deleteCurrentCart, index_d$h_estimateCurrentCartTotals as estimateCurrentCartTotals, index_d$h_getCurrentCart as getCurrentCart, index_d$h_onCartCreated as onCartCreated, index_d$h_onCartDeleted as onCartDeleted, index_d$h_onCartUpdated as onCartUpdated, onCartCreated$1 as publicOnCartCreated, onCartDeleted$1 as publicOnCartDeleted, onCartUpdated$1 as publicOnCartUpdated, index_d$h_removeCouponFromCurrentCart as removeCouponFromCurrentCart, index_d$h_removeLineItemsFromCurrentCart as removeLineItemsFromCurrentCart, index_d$h_updateCurrentCart as updateCurrentCart, index_d$h_updateCurrentCartLineItemQuantity as updateCurrentCartLineItemQuantity };
|
|
9289
9289
|
}
|
|
9290
9290
|
|
|
9291
9291
|
interface Checkout$1 {
|
|
@@ -12129,7 +12129,7 @@ interface UpdateLineItemsQuantityResponseNonNullableFields {
|
|
|
12129
12129
|
interface GetCheckoutPaymentSettingsResponseNonNullableFields {
|
|
12130
12130
|
blockedPaymentOptions: PaymentOption[];
|
|
12131
12131
|
}
|
|
12132
|
-
interface BaseEventMetadata$
|
|
12132
|
+
interface BaseEventMetadata$a {
|
|
12133
12133
|
/** App instance ID. */
|
|
12134
12134
|
instanceId?: string | null;
|
|
12135
12135
|
/** Event type. */
|
|
@@ -12137,7 +12137,7 @@ interface BaseEventMetadata$b {
|
|
|
12137
12137
|
/** The identification type and identity data. */
|
|
12138
12138
|
identity?: IdentificationData$d;
|
|
12139
12139
|
}
|
|
12140
|
-
interface EventMetadata$
|
|
12140
|
+
interface EventMetadata$a extends BaseEventMetadata$a {
|
|
12141
12141
|
/**
|
|
12142
12142
|
* Unique event ID.
|
|
12143
12143
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -12177,15 +12177,15 @@ interface EventMetadata$b extends BaseEventMetadata$b {
|
|
|
12177
12177
|
}
|
|
12178
12178
|
interface CheckoutCreatedEnvelope {
|
|
12179
12179
|
entity: Checkout$1;
|
|
12180
|
-
metadata: EventMetadata$
|
|
12180
|
+
metadata: EventMetadata$a;
|
|
12181
12181
|
}
|
|
12182
12182
|
interface CheckoutUpdatedEnvelope {
|
|
12183
12183
|
entity: Checkout$1;
|
|
12184
|
-
metadata: EventMetadata$
|
|
12184
|
+
metadata: EventMetadata$a;
|
|
12185
12185
|
}
|
|
12186
12186
|
interface CheckoutCompletedEnvelope {
|
|
12187
12187
|
data: CheckoutMarkedAsCompleted;
|
|
12188
|
-
metadata: EventMetadata$
|
|
12188
|
+
metadata: EventMetadata$a;
|
|
12189
12189
|
}
|
|
12190
12190
|
interface CreateCheckoutOptions {
|
|
12191
12191
|
/** Checkout information. */
|
|
@@ -12605,20 +12605,20 @@ interface GetCheckoutPaymentSettingsSignature {
|
|
|
12605
12605
|
/** @param - Checkout ID. */
|
|
12606
12606
|
(_id: string): Promise<GetCheckoutPaymentSettingsResponse & GetCheckoutPaymentSettingsResponseNonNullableFields>;
|
|
12607
12607
|
}
|
|
12608
|
-
declare const onCheckoutCreated$1: EventDefinition$
|
|
12609
|
-
declare const onCheckoutUpdated$1: EventDefinition$
|
|
12610
|
-
declare const onCheckoutCompleted$1: EventDefinition$
|
|
12608
|
+
declare const onCheckoutCreated$1: EventDefinition$g<CheckoutCreatedEnvelope, "wix.ecom.v1.checkout_created">;
|
|
12609
|
+
declare const onCheckoutUpdated$1: EventDefinition$g<CheckoutUpdatedEnvelope, "wix.ecom.v1.checkout_updated">;
|
|
12610
|
+
declare const onCheckoutCompleted$1: EventDefinition$g<CheckoutCompletedEnvelope, "wix.ecom.v1.checkout_completed">;
|
|
12611
12611
|
|
|
12612
|
-
type EventDefinition$
|
|
12612
|
+
type EventDefinition$a<Payload = unknown, Type extends string = string> = {
|
|
12613
12613
|
__type: 'event-definition';
|
|
12614
12614
|
type: Type;
|
|
12615
12615
|
isDomainEvent?: boolean;
|
|
12616
12616
|
transformations?: (envelope: unknown) => Payload;
|
|
12617
12617
|
__payload: Payload;
|
|
12618
12618
|
};
|
|
12619
|
-
declare function EventDefinition$
|
|
12620
|
-
type EventHandler$
|
|
12621
|
-
type BuildEventDefinition$
|
|
12619
|
+
declare function EventDefinition$a<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition$a<Payload, Type>;
|
|
12620
|
+
type EventHandler$a<T extends EventDefinition$a> = (payload: T['__payload']) => void | Promise<void>;
|
|
12621
|
+
type BuildEventDefinition$a<T extends EventDefinition$a<any, string>> = (handler: EventHandler$a<T>) => void;
|
|
12622
12622
|
|
|
12623
12623
|
declare global {
|
|
12624
12624
|
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
@@ -12627,7 +12627,7 @@ declare global {
|
|
|
12627
12627
|
}
|
|
12628
12628
|
}
|
|
12629
12629
|
|
|
12630
|
-
declare function createEventModule$
|
|
12630
|
+
declare function createEventModule$a<T extends EventDefinition$a<any, string>>(eventDefinition: T): BuildEventDefinition$a<T> & T;
|
|
12631
12631
|
|
|
12632
12632
|
declare const createCheckout: MaybeContext<BuildRESTFunction<typeof createCheckout$1> & typeof createCheckout$1>;
|
|
12633
12633
|
declare const getCheckout: MaybeContext<BuildRESTFunction<typeof getCheckout$1> & typeof getCheckout$1>;
|
|
@@ -12648,20 +12648,20 @@ type _publicOnCheckoutCreatedType = typeof onCheckoutCreated$1;
|
|
|
12648
12648
|
/**
|
|
12649
12649
|
* Triggered when a checkout is created.
|
|
12650
12650
|
*/
|
|
12651
|
-
declare const onCheckoutCreated: ReturnType<typeof createEventModule$
|
|
12651
|
+
declare const onCheckoutCreated: ReturnType<typeof createEventModule$a<_publicOnCheckoutCreatedType>>;
|
|
12652
12652
|
|
|
12653
12653
|
type _publicOnCheckoutUpdatedType = typeof onCheckoutUpdated$1;
|
|
12654
12654
|
/**
|
|
12655
12655
|
* Triggered when a checkout is updated.
|
|
12656
12656
|
*/
|
|
12657
|
-
declare const onCheckoutUpdated: ReturnType<typeof createEventModule$
|
|
12657
|
+
declare const onCheckoutUpdated: ReturnType<typeof createEventModule$a<_publicOnCheckoutUpdatedType>>;
|
|
12658
12658
|
|
|
12659
12659
|
type _publicOnCheckoutCompletedType = typeof onCheckoutCompleted$1;
|
|
12660
12660
|
/**
|
|
12661
12661
|
* Triggered when an order created from this checkout is
|
|
12662
12662
|
* successfully paid for or when a checkout is marked as completed.
|
|
12663
12663
|
*/
|
|
12664
|
-
declare const onCheckoutCompleted: ReturnType<typeof createEventModule$
|
|
12664
|
+
declare const onCheckoutCompleted: ReturnType<typeof createEventModule$a<_publicOnCheckoutCompletedType>>;
|
|
12665
12665
|
|
|
12666
12666
|
type index_d$g_AddToCheckoutOptions = AddToCheckoutOptions;
|
|
12667
12667
|
type index_d$g_AddToCheckoutRequest = AddToCheckoutRequest;
|
|
@@ -12769,7 +12769,7 @@ declare const index_d$g_removeOverrideCheckoutUrl: typeof removeOverrideCheckout
|
|
|
12769
12769
|
declare const index_d$g_updateCheckout: typeof updateCheckout;
|
|
12770
12770
|
declare const index_d$g_updateLineItemsQuantity: typeof updateLineItemsQuantity;
|
|
12771
12771
|
declare namespace index_d$g {
|
|
12772
|
-
export { type ActionEvent$d as ActionEvent, type index_d$g_AddToCheckoutOptions as AddToCheckoutOptions, type index_d$g_AddToCheckoutRequest as AddToCheckoutRequest, type index_d$g_AddToCheckoutResponse as AddToCheckoutResponse, type index_d$g_AddToCheckoutResponseNonNullableFields as AddToCheckoutResponseNonNullableFields, type AdditionalFee$4 as AdditionalFee, type Address$7 as Address, type AddressAddressLine1OptionsOneOf$1 as AddressAddressLine1OptionsOneOf, type AddressLocation$6 as AddressLocation, type AddressWithContact$3 as AddressWithContact, type AggregatedTaxBreakdown$2 as AggregatedTaxBreakdown, type index_d$g_ApiAddress as ApiAddress, type ApplicationError$8 as ApplicationError, type AppliedCoupon$1 as AppliedCoupon, type AppliedDiscount$4 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$4 as AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails$2 as AutoTaxFallbackCalculationDetails, type BaseEventMetadata$b as BaseEventMetadata, type BillingInfo$1 as BillingInfo, type BuyerInfo$5 as BuyerInfo, type BuyerInfoIdOneOf$3 as BuyerInfoIdOneOf, type CalculationErrors$3 as CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf$3 as CalculationErrorsShippingCalculationErrorOneOf, type CarrierError$3 as CarrierError, type CarrierErrors$3 as CarrierErrors, type CarrierServiceOption$2 as CarrierServiceOption, type CatalogOverrideFields$1 as CatalogOverrideFields, type CatalogReference$4 as CatalogReference, type ChannelInfo$3 as ChannelInfo, index_d$g_ChannelInfoChannelType as ChannelInfoChannelType, ChannelType$4 as ChannelType, type index_d$g_ChargeDetails as ChargeDetails, ChargeType$3 as ChargeType, type Checkout$1 as Checkout, type index_d$g_CheckoutCompletedEnvelope as CheckoutCompletedEnvelope, type index_d$g_CheckoutCreatedEnvelope as CheckoutCreatedEnvelope, type index_d$g_CheckoutMarkedAsCompleted as CheckoutMarkedAsCompleted, type index_d$g_CheckoutNonNullableFields as CheckoutNonNullableFields, type index_d$g_CheckoutUpdatedEnvelope as CheckoutUpdatedEnvelope, type Color$3 as Color, type index_d$g_CommonVatId as CommonVatId, index_d$g_CommonVatType as CommonVatType, type ConversionInfo$1 as ConversionInfo, type Coupon$4 as Coupon, type index_d$g_CreateCheckoutOptions as CreateCheckoutOptions, type index_d$g_CreateCheckoutRequest as CreateCheckoutRequest, type index_d$g_CreateCheckoutResponse as CreateCheckoutResponse, type index_d$g_CreateCheckoutResponseNonNullableFields as CreateCheckoutResponseNonNullableFields, type index_d$g_CreateOrderAndChargeRequest as CreateOrderAndChargeRequest, type index_d$g_CreateOrderAndChargeResponse as CreateOrderAndChargeResponse, type index_d$g_CreateOrderAndChargeResponseIdOneOf as CreateOrderAndChargeResponseIdOneOf, type index_d$g_CreateOrderOptions as CreateOrderOptions, type CreateOrderRequest$1 as CreateOrderRequest, type CreateOrderResponse$1 as CreateOrderResponse, type index_d$g_CreateOrderResponseIdOneOf as CreateOrderResponseIdOneOf, type CreateOrderResponseNonNullableFields$1 as CreateOrderResponseNonNullableFields, type CreatedBy$3 as CreatedBy, type CreatedByIdOneOf$1 as CreatedByIdOneOf, type CustomContentReference$1 as CustomContentReference, type CustomField$4 as CustomField, type CustomLineItem$2 as CustomLineItem, type CustomSettings$1 as CustomSettings, type CustomTextFieldSelection$1 as CustomTextFieldSelection, type DeliveryLogistics$4 as DeliveryLogistics, type DeliveryTimeSlot$4 as DeliveryTimeSlot, type Description$1 as Description, type DescriptionLine$3 as DescriptionLine, type DescriptionLineDescriptionLineValueOneOf$3 as DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName$3 as DescriptionLineName, DescriptionLineType$3 as DescriptionLineType, type DescriptionLineValueOneOf$3 as DescriptionLineValueOneOf, type Details$3 as Details, type DetailsKindOneOf$3 as DetailsKindOneOf, type Discount$2 as Discount, index_d$g_DiscountDiscountType as DiscountDiscountType, type DiscountRule$4 as DiscountRule, type DiscountRuleName$4 as DiscountRuleName, DiscountType$4 as DiscountType, type DomainEvent$d as DomainEvent, type DomainEventBodyOneOf$d as DomainEventBodyOneOf, type index_d$g_DoublePaymentErrorData as DoublePaymentErrorData, type index_d$g_DoublePaymentErrorDataIdOneOf as DoublePaymentErrorDataIdOneOf, type Empty$8 as Empty, type EntityCreatedEvent$d as EntityCreatedEvent, type EntityDeletedEvent$d as EntityDeletedEvent, type EntityUpdatedEvent$d as EntityUpdatedEvent, type EventMetadata$b as EventMetadata, type ExtendedFields$7 as ExtendedFields, type ExternalReference$2 as ExternalReference, FallbackReason$2 as FallbackReason, type FieldViolation$3 as FieldViolation, FileType$2 as FileType, type FullAddressContactDetails$3 as FullAddressContactDetails, type FullName$1 as FullName, type index_d$g_GetCheckoutByCartIdRequest as GetCheckoutByCartIdRequest, type index_d$g_GetCheckoutByCartIdResponse as GetCheckoutByCartIdResponse, type index_d$g_GetCheckoutByCartIdResponseNonNullableFields as GetCheckoutByCartIdResponseNonNullableFields, type index_d$g_GetCheckoutPaymentSettingsRequest as GetCheckoutPaymentSettingsRequest, type index_d$g_GetCheckoutPaymentSettingsResponse as GetCheckoutPaymentSettingsResponse, type index_d$g_GetCheckoutPaymentSettingsResponseNonNullableFields as GetCheckoutPaymentSettingsResponseNonNullableFields, type index_d$g_GetCheckoutRequest as GetCheckoutRequest, type index_d$g_GetCheckoutResponse as GetCheckoutResponse, type index_d$g_GetCheckoutResponseNonNullableFields as GetCheckoutResponseNonNullableFields, type index_d$g_GetCheckoutURLRequest as GetCheckoutURLRequest, type index_d$g_GetCheckoutURLResponse as GetCheckoutURLResponse, type index_d$g_GetCheckoutURLResponseNonNullableFields as GetCheckoutURLResponseNonNullableFields, type index_d$g_GetCheckoutWithAllExtendedFieldsRequest as GetCheckoutWithAllExtendedFieldsRequest, type index_d$g_GetCheckoutWithAllExtendedFieldsResponse as GetCheckoutWithAllExtendedFieldsResponse, type index_d$g_GetWixCheckoutURLRequest as GetWixCheckoutURLRequest, type index_d$g_GetWixCheckoutURLResponse as GetWixCheckoutURLResponse, type GiftCard$4 as GiftCard, type Group$2 as Group, type IdentificationData$d as IdentificationData, type IdentificationDataIdOneOf$d as IdentificationDataIdOneOf, IdentityType$2 as IdentityType, type InvalidMembership$2 as InvalidMembership, type ItemAvailabilityInfo$1 as ItemAvailabilityInfo, ItemAvailabilityStatus$1 as ItemAvailabilityStatus, type ItemTaxFullDetails$4 as ItemTaxFullDetails, type ItemType$4 as ItemType, ItemTypeItemType$4 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$4 as ItemTypeItemTypeDataOneOf, JurisdictionType$4 as JurisdictionType, type LineItem$4 as LineItem, type LineItemDiscount$4 as LineItemDiscount, type index_d$g_LineItemQuantityUpdate as LineItemQuantityUpdate, LineItemType$1 as LineItemType, ManualCalculationReason$2 as ManualCalculationReason, type index_d$g_MarkCheckoutAsCompletedRequest as MarkCheckoutAsCompletedRequest, type index_d$g_MarkCheckoutAsCompletedResponse as MarkCheckoutAsCompletedResponse, type MediaItem$1 as MediaItem, MediaItemType$1 as MediaItemType, type Membership$2 as Membership, type MembershipName$5 as MembershipName, type MembershipOptions$2 as MembershipOptions, type MembershipPaymentCredits$2 as MembershipPaymentCredits, type MerchantDiscount$4 as MerchantDiscount, type MerchantDiscountInput$1 as MerchantDiscountInput, type MessageEnvelope$d as MessageEnvelope, type MultiCurrencyPrice$2 as MultiCurrencyPrice, NameInLineItem$1 as NameInLineItem, NameInOther$1 as NameInOther, type OptionSelection$1 as OptionSelection, type Other$1 as Other, type OtherCharge$2 as OtherCharge, type index_d$g_PaymentErrorResponseData as PaymentErrorResponseData, index_d$g_PaymentOption as PaymentOption, PaymentOptionType$4 as PaymentOptionType, type PhysicalProperties$4 as PhysicalProperties, type PickupAddress$3 as PickupAddress, type PickupDetails$5 as PickupDetails, PickupMethod$4 as PickupMethod, type PlainTextValue$3 as PlainTextValue, type PriceDescription$3 as PriceDescription, type PriceSummary$4 as PriceSummary, type index_d$g_ProductDetails as ProductDetails, type ProductName$3 as ProductName, RateType$2 as RateType, type index_d$g_RedeemErrorData as RedeemErrorData, type index_d$g_RemoveCouponRequest as RemoveCouponRequest, type index_d$g_RemoveCouponResponse as RemoveCouponResponse, type index_d$g_RemoveCouponResponseNonNullableFields as RemoveCouponResponseNonNullableFields, type index_d$g_RemoveGiftCardRequest as RemoveGiftCardRequest, type index_d$g_RemoveGiftCardResponse as RemoveGiftCardResponse, type index_d$g_RemoveGiftCardResponseNonNullableFields as RemoveGiftCardResponseNonNullableFields, type index_d$g_RemoveLineItemsRequest as RemoveLineItemsRequest, type index_d$g_RemoveLineItemsResponse as RemoveLineItemsResponse, type index_d$g_RemoveLineItemsResponseNonNullableFields as RemoveLineItemsResponseNonNullableFields, type index_d$g_RemoveOverrideCheckoutUrlRequest as RemoveOverrideCheckoutUrlRequest, type index_d$g_RemoveOverrideCheckoutUrlResponse as RemoveOverrideCheckoutUrlResponse, type index_d$g_RemoveOverrideCheckoutUrlResponseNonNullableFields as RemoveOverrideCheckoutUrlResponseNonNullableFields, type RestoreInfo$d as RestoreInfo, RuleType$3 as RuleType, type Scope$2 as Scope, type SecuredMedia$2 as SecuredMedia, type SelectedCarrierServiceOption$2 as SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge$2 as SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices$2 as SelectedCarrierServiceOptionPrices, type SelectedMembership$2 as SelectedMembership, type SelectedMemberships$2 as SelectedMemberships, type ServiceProperties$3 as ServiceProperties, Severity$1 as Severity, type ShipmentDetails$1 as ShipmentDetails, type index_d$g_ShippingCalculationErrorData as ShippingCalculationErrorData, type index_d$g_ShippingCalculationErrorDataShippingCalculationErrorOneOf as ShippingCalculationErrorDataShippingCalculationErrorOneOf, type ShippingInfo$2 as ShippingInfo, type ShippingOption$4 as ShippingOption, type ShippingPrice$4 as ShippingPrice, type ShippingRegion$4 as ShippingRegion, type index_d$g_StoreSettings as StoreSettings, type Street$1 as Street, type StreetAddress$6 as StreetAddress, type index_d$g_Subscription as Subscription, type index_d$g_SubscriptionCreated as SubscriptionCreated, SubscriptionFrequency$5 as SubscriptionFrequency, type SubscriptionOptionInfo$2 as SubscriptionOptionInfo, type SubscriptionSettings$5 as SubscriptionSettings, type SystemError$3 as SystemError, type Target$1 as Target, type TargetLineItem$1 as TargetLineItem, type TargetTargetTypeOneOf$1 as TargetTargetTypeOneOf, type TaxBreakdown$2 as TaxBreakdown, type TaxCalculationDetails$2 as TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf$2 as TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown$2 as TaxRateBreakdown, type TaxSummary$4 as TaxSummary, type TaxableAddress$4 as TaxableAddress, type TaxableAddressTaxableAddressDataOneOf$4 as TaxableAddressTaxableAddressDataOneOf, TaxableAddressType$4 as TaxableAddressType, type Title$1 as Title, type Totals$1 as Totals, type index_d$g_UpdateCheckout as UpdateCheckout, type index_d$g_UpdateCheckoutOptions as UpdateCheckoutOptions, type index_d$g_UpdateCheckoutRequest as UpdateCheckoutRequest, type index_d$g_UpdateCheckoutResponse as UpdateCheckoutResponse, type index_d$g_UpdateCheckoutResponseNonNullableFields as UpdateCheckoutResponseNonNullableFields, type index_d$g_UpdateLineItemsQuantityRequest as UpdateLineItemsQuantityRequest, type index_d$g_UpdateLineItemsQuantityResponse as UpdateLineItemsQuantityResponse, type index_d$g_UpdateLineItemsQuantityResponseNonNullableFields as UpdateLineItemsQuantityResponseNonNullableFields, type index_d$g_UpdatedCheckoutMessage as UpdatedCheckoutMessage, type index_d$g_V1BuyerInfo as V1BuyerInfo, type index_d$g_V1CustomField as V1CustomField, type V1LineItem$1 as V1LineItem, type V1PickupDetails$1 as V1PickupDetails, type index_d$g_V1ShippingInfo as V1ShippingInfo, type index_d$g_V1ShippingInfoDetailsOneOf as V1ShippingInfoDetailsOneOf, type index_d$g_V1SubscriptionOptionInfo as V1SubscriptionOptionInfo, type index_d$g_V1SubscriptionSettings as V1SubscriptionSettings, type ValidationError$3 as ValidationError, type VatId$4 as VatId, VatType$4 as VatType, type Violation$1 as Violation, type index_d$g_ViolationsList as ViolationsList, WebhookIdentityType$d as WebhookIdentityType, WeightUnit$5 as WeightUnit, type index_d$g__publicOnCheckoutCompletedType as _publicOnCheckoutCompletedType, type index_d$g__publicOnCheckoutCreatedType as _publicOnCheckoutCreatedType, type index_d$g__publicOnCheckoutUpdatedType as _publicOnCheckoutUpdatedType, index_d$g_addToCheckout as addToCheckout, index_d$g_createCheckout as createCheckout, createOrder$2 as createOrder, index_d$g_getCheckout as getCheckout, index_d$g_getCheckoutByCartId as getCheckoutByCartId, index_d$g_getCheckoutPaymentSettings as getCheckoutPaymentSettings, index_d$g_getCheckoutUrl as getCheckoutUrl, index_d$g_markCheckoutAsCompleted as markCheckoutAsCompleted, index_d$g_onCheckoutCompleted as onCheckoutCompleted, index_d$g_onCheckoutCreated as onCheckoutCreated, index_d$g_onCheckoutUpdated as onCheckoutUpdated, onCheckoutCompleted$1 as publicOnCheckoutCompleted, onCheckoutCreated$1 as publicOnCheckoutCreated, onCheckoutUpdated$1 as publicOnCheckoutUpdated, index_d$g_removeCoupon as removeCoupon, index_d$g_removeGiftCard as removeGiftCard, index_d$g_removeLineItems as removeLineItems, index_d$g_removeOverrideCheckoutUrl as removeOverrideCheckoutUrl, index_d$g_updateCheckout as updateCheckout, index_d$g_updateLineItemsQuantity as updateLineItemsQuantity };
|
|
12772
|
+
export { type ActionEvent$d as ActionEvent, type index_d$g_AddToCheckoutOptions as AddToCheckoutOptions, type index_d$g_AddToCheckoutRequest as AddToCheckoutRequest, type index_d$g_AddToCheckoutResponse as AddToCheckoutResponse, type index_d$g_AddToCheckoutResponseNonNullableFields as AddToCheckoutResponseNonNullableFields, type AdditionalFee$4 as AdditionalFee, type Address$7 as Address, type AddressAddressLine1OptionsOneOf$1 as AddressAddressLine1OptionsOneOf, type AddressLocation$6 as AddressLocation, type AddressWithContact$3 as AddressWithContact, type AggregatedTaxBreakdown$2 as AggregatedTaxBreakdown, type index_d$g_ApiAddress as ApiAddress, type ApplicationError$8 as ApplicationError, type AppliedCoupon$1 as AppliedCoupon, type AppliedDiscount$4 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$4 as AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails$2 as AutoTaxFallbackCalculationDetails, type BaseEventMetadata$a as BaseEventMetadata, type BillingInfo$1 as BillingInfo, type BuyerInfo$5 as BuyerInfo, type BuyerInfoIdOneOf$3 as BuyerInfoIdOneOf, type CalculationErrors$3 as CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf$3 as CalculationErrorsShippingCalculationErrorOneOf, type CarrierError$3 as CarrierError, type CarrierErrors$3 as CarrierErrors, type CarrierServiceOption$2 as CarrierServiceOption, type CatalogOverrideFields$1 as CatalogOverrideFields, type CatalogReference$4 as CatalogReference, type ChannelInfo$3 as ChannelInfo, index_d$g_ChannelInfoChannelType as ChannelInfoChannelType, ChannelType$4 as ChannelType, type index_d$g_ChargeDetails as ChargeDetails, ChargeType$3 as ChargeType, type Checkout$1 as Checkout, type index_d$g_CheckoutCompletedEnvelope as CheckoutCompletedEnvelope, type index_d$g_CheckoutCreatedEnvelope as CheckoutCreatedEnvelope, type index_d$g_CheckoutMarkedAsCompleted as CheckoutMarkedAsCompleted, type index_d$g_CheckoutNonNullableFields as CheckoutNonNullableFields, type index_d$g_CheckoutUpdatedEnvelope as CheckoutUpdatedEnvelope, type Color$3 as Color, type index_d$g_CommonVatId as CommonVatId, index_d$g_CommonVatType as CommonVatType, type ConversionInfo$1 as ConversionInfo, type Coupon$4 as Coupon, type index_d$g_CreateCheckoutOptions as CreateCheckoutOptions, type index_d$g_CreateCheckoutRequest as CreateCheckoutRequest, type index_d$g_CreateCheckoutResponse as CreateCheckoutResponse, type index_d$g_CreateCheckoutResponseNonNullableFields as CreateCheckoutResponseNonNullableFields, type index_d$g_CreateOrderAndChargeRequest as CreateOrderAndChargeRequest, type index_d$g_CreateOrderAndChargeResponse as CreateOrderAndChargeResponse, type index_d$g_CreateOrderAndChargeResponseIdOneOf as CreateOrderAndChargeResponseIdOneOf, type index_d$g_CreateOrderOptions as CreateOrderOptions, type CreateOrderRequest$1 as CreateOrderRequest, type CreateOrderResponse$1 as CreateOrderResponse, type index_d$g_CreateOrderResponseIdOneOf as CreateOrderResponseIdOneOf, type CreateOrderResponseNonNullableFields$1 as CreateOrderResponseNonNullableFields, type CreatedBy$3 as CreatedBy, type CreatedByIdOneOf$1 as CreatedByIdOneOf, type CustomContentReference$1 as CustomContentReference, type CustomField$4 as CustomField, type CustomLineItem$2 as CustomLineItem, type CustomSettings$1 as CustomSettings, type CustomTextFieldSelection$1 as CustomTextFieldSelection, type DeliveryLogistics$4 as DeliveryLogistics, type DeliveryTimeSlot$4 as DeliveryTimeSlot, type Description$1 as Description, type DescriptionLine$3 as DescriptionLine, type DescriptionLineDescriptionLineValueOneOf$3 as DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName$3 as DescriptionLineName, DescriptionLineType$3 as DescriptionLineType, type DescriptionLineValueOneOf$3 as DescriptionLineValueOneOf, type Details$3 as Details, type DetailsKindOneOf$3 as DetailsKindOneOf, type Discount$2 as Discount, index_d$g_DiscountDiscountType as DiscountDiscountType, type DiscountRule$4 as DiscountRule, type DiscountRuleName$4 as DiscountRuleName, DiscountType$4 as DiscountType, type DomainEvent$d as DomainEvent, type DomainEventBodyOneOf$d as DomainEventBodyOneOf, type index_d$g_DoublePaymentErrorData as DoublePaymentErrorData, type index_d$g_DoublePaymentErrorDataIdOneOf as DoublePaymentErrorDataIdOneOf, type Empty$8 as Empty, type EntityCreatedEvent$d as EntityCreatedEvent, type EntityDeletedEvent$d as EntityDeletedEvent, type EntityUpdatedEvent$d as EntityUpdatedEvent, type EventMetadata$a as EventMetadata, type ExtendedFields$7 as ExtendedFields, type ExternalReference$2 as ExternalReference, FallbackReason$2 as FallbackReason, type FieldViolation$3 as FieldViolation, FileType$2 as FileType, type FullAddressContactDetails$3 as FullAddressContactDetails, type FullName$1 as FullName, type index_d$g_GetCheckoutByCartIdRequest as GetCheckoutByCartIdRequest, type index_d$g_GetCheckoutByCartIdResponse as GetCheckoutByCartIdResponse, type index_d$g_GetCheckoutByCartIdResponseNonNullableFields as GetCheckoutByCartIdResponseNonNullableFields, type index_d$g_GetCheckoutPaymentSettingsRequest as GetCheckoutPaymentSettingsRequest, type index_d$g_GetCheckoutPaymentSettingsResponse as GetCheckoutPaymentSettingsResponse, type index_d$g_GetCheckoutPaymentSettingsResponseNonNullableFields as GetCheckoutPaymentSettingsResponseNonNullableFields, type index_d$g_GetCheckoutRequest as GetCheckoutRequest, type index_d$g_GetCheckoutResponse as GetCheckoutResponse, type index_d$g_GetCheckoutResponseNonNullableFields as GetCheckoutResponseNonNullableFields, type index_d$g_GetCheckoutURLRequest as GetCheckoutURLRequest, type index_d$g_GetCheckoutURLResponse as GetCheckoutURLResponse, type index_d$g_GetCheckoutURLResponseNonNullableFields as GetCheckoutURLResponseNonNullableFields, type index_d$g_GetCheckoutWithAllExtendedFieldsRequest as GetCheckoutWithAllExtendedFieldsRequest, type index_d$g_GetCheckoutWithAllExtendedFieldsResponse as GetCheckoutWithAllExtendedFieldsResponse, type index_d$g_GetWixCheckoutURLRequest as GetWixCheckoutURLRequest, type index_d$g_GetWixCheckoutURLResponse as GetWixCheckoutURLResponse, type GiftCard$4 as GiftCard, type Group$2 as Group, type IdentificationData$d as IdentificationData, type IdentificationDataIdOneOf$d as IdentificationDataIdOneOf, IdentityType$2 as IdentityType, type InvalidMembership$2 as InvalidMembership, type ItemAvailabilityInfo$1 as ItemAvailabilityInfo, ItemAvailabilityStatus$1 as ItemAvailabilityStatus, type ItemTaxFullDetails$4 as ItemTaxFullDetails, type ItemType$4 as ItemType, ItemTypeItemType$4 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$4 as ItemTypeItemTypeDataOneOf, JurisdictionType$4 as JurisdictionType, type LineItem$4 as LineItem, type LineItemDiscount$4 as LineItemDiscount, type index_d$g_LineItemQuantityUpdate as LineItemQuantityUpdate, LineItemType$1 as LineItemType, ManualCalculationReason$2 as ManualCalculationReason, type index_d$g_MarkCheckoutAsCompletedRequest as MarkCheckoutAsCompletedRequest, type index_d$g_MarkCheckoutAsCompletedResponse as MarkCheckoutAsCompletedResponse, type MediaItem$1 as MediaItem, MediaItemType$1 as MediaItemType, type Membership$2 as Membership, type MembershipName$5 as MembershipName, type MembershipOptions$2 as MembershipOptions, type MembershipPaymentCredits$2 as MembershipPaymentCredits, type MerchantDiscount$4 as MerchantDiscount, type MerchantDiscountInput$1 as MerchantDiscountInput, type MessageEnvelope$d as MessageEnvelope, type MultiCurrencyPrice$2 as MultiCurrencyPrice, NameInLineItem$1 as NameInLineItem, NameInOther$1 as NameInOther, type OptionSelection$1 as OptionSelection, type Other$1 as Other, type OtherCharge$2 as OtherCharge, type index_d$g_PaymentErrorResponseData as PaymentErrorResponseData, index_d$g_PaymentOption as PaymentOption, PaymentOptionType$4 as PaymentOptionType, type PhysicalProperties$4 as PhysicalProperties, type PickupAddress$3 as PickupAddress, type PickupDetails$5 as PickupDetails, PickupMethod$4 as PickupMethod, type PlainTextValue$3 as PlainTextValue, type PriceDescription$3 as PriceDescription, type PriceSummary$4 as PriceSummary, type index_d$g_ProductDetails as ProductDetails, type ProductName$3 as ProductName, RateType$2 as RateType, type index_d$g_RedeemErrorData as RedeemErrorData, type index_d$g_RemoveCouponRequest as RemoveCouponRequest, type index_d$g_RemoveCouponResponse as RemoveCouponResponse, type index_d$g_RemoveCouponResponseNonNullableFields as RemoveCouponResponseNonNullableFields, type index_d$g_RemoveGiftCardRequest as RemoveGiftCardRequest, type index_d$g_RemoveGiftCardResponse as RemoveGiftCardResponse, type index_d$g_RemoveGiftCardResponseNonNullableFields as RemoveGiftCardResponseNonNullableFields, type index_d$g_RemoveLineItemsRequest as RemoveLineItemsRequest, type index_d$g_RemoveLineItemsResponse as RemoveLineItemsResponse, type index_d$g_RemoveLineItemsResponseNonNullableFields as RemoveLineItemsResponseNonNullableFields, type index_d$g_RemoveOverrideCheckoutUrlRequest as RemoveOverrideCheckoutUrlRequest, type index_d$g_RemoveOverrideCheckoutUrlResponse as RemoveOverrideCheckoutUrlResponse, type index_d$g_RemoveOverrideCheckoutUrlResponseNonNullableFields as RemoveOverrideCheckoutUrlResponseNonNullableFields, type RestoreInfo$d as RestoreInfo, RuleType$3 as RuleType, type Scope$2 as Scope, type SecuredMedia$2 as SecuredMedia, type SelectedCarrierServiceOption$2 as SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge$2 as SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices$2 as SelectedCarrierServiceOptionPrices, type SelectedMembership$2 as SelectedMembership, type SelectedMemberships$2 as SelectedMemberships, type ServiceProperties$3 as ServiceProperties, Severity$1 as Severity, type ShipmentDetails$1 as ShipmentDetails, type index_d$g_ShippingCalculationErrorData as ShippingCalculationErrorData, type index_d$g_ShippingCalculationErrorDataShippingCalculationErrorOneOf as ShippingCalculationErrorDataShippingCalculationErrorOneOf, type ShippingInfo$2 as ShippingInfo, type ShippingOption$4 as ShippingOption, type ShippingPrice$4 as ShippingPrice, type ShippingRegion$4 as ShippingRegion, type index_d$g_StoreSettings as StoreSettings, type Street$1 as Street, type StreetAddress$6 as StreetAddress, type index_d$g_Subscription as Subscription, type index_d$g_SubscriptionCreated as SubscriptionCreated, SubscriptionFrequency$5 as SubscriptionFrequency, type SubscriptionOptionInfo$2 as SubscriptionOptionInfo, type SubscriptionSettings$5 as SubscriptionSettings, type SystemError$3 as SystemError, type Target$1 as Target, type TargetLineItem$1 as TargetLineItem, type TargetTargetTypeOneOf$1 as TargetTargetTypeOneOf, type TaxBreakdown$2 as TaxBreakdown, type TaxCalculationDetails$2 as TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf$2 as TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown$2 as TaxRateBreakdown, type TaxSummary$4 as TaxSummary, type TaxableAddress$4 as TaxableAddress, type TaxableAddressTaxableAddressDataOneOf$4 as TaxableAddressTaxableAddressDataOneOf, TaxableAddressType$4 as TaxableAddressType, type Title$1 as Title, type Totals$1 as Totals, type index_d$g_UpdateCheckout as UpdateCheckout, type index_d$g_UpdateCheckoutOptions as UpdateCheckoutOptions, type index_d$g_UpdateCheckoutRequest as UpdateCheckoutRequest, type index_d$g_UpdateCheckoutResponse as UpdateCheckoutResponse, type index_d$g_UpdateCheckoutResponseNonNullableFields as UpdateCheckoutResponseNonNullableFields, type index_d$g_UpdateLineItemsQuantityRequest as UpdateLineItemsQuantityRequest, type index_d$g_UpdateLineItemsQuantityResponse as UpdateLineItemsQuantityResponse, type index_d$g_UpdateLineItemsQuantityResponseNonNullableFields as UpdateLineItemsQuantityResponseNonNullableFields, type index_d$g_UpdatedCheckoutMessage as UpdatedCheckoutMessage, type index_d$g_V1BuyerInfo as V1BuyerInfo, type index_d$g_V1CustomField as V1CustomField, type V1LineItem$1 as V1LineItem, type V1PickupDetails$1 as V1PickupDetails, type index_d$g_V1ShippingInfo as V1ShippingInfo, type index_d$g_V1ShippingInfoDetailsOneOf as V1ShippingInfoDetailsOneOf, type index_d$g_V1SubscriptionOptionInfo as V1SubscriptionOptionInfo, type index_d$g_V1SubscriptionSettings as V1SubscriptionSettings, type ValidationError$3 as ValidationError, type VatId$4 as VatId, VatType$4 as VatType, type Violation$1 as Violation, type index_d$g_ViolationsList as ViolationsList, WebhookIdentityType$d as WebhookIdentityType, WeightUnit$5 as WeightUnit, type index_d$g__publicOnCheckoutCompletedType as _publicOnCheckoutCompletedType, type index_d$g__publicOnCheckoutCreatedType as _publicOnCheckoutCreatedType, type index_d$g__publicOnCheckoutUpdatedType as _publicOnCheckoutUpdatedType, index_d$g_addToCheckout as addToCheckout, index_d$g_createCheckout as createCheckout, createOrder$2 as createOrder, index_d$g_getCheckout as getCheckout, index_d$g_getCheckoutByCartId as getCheckoutByCartId, index_d$g_getCheckoutPaymentSettings as getCheckoutPaymentSettings, index_d$g_getCheckoutUrl as getCheckoutUrl, index_d$g_markCheckoutAsCompleted as markCheckoutAsCompleted, index_d$g_onCheckoutCompleted as onCheckoutCompleted, index_d$g_onCheckoutCreated as onCheckoutCreated, index_d$g_onCheckoutUpdated as onCheckoutUpdated, onCheckoutCompleted$1 as publicOnCheckoutCompleted, onCheckoutCreated$1 as publicOnCheckoutCreated, onCheckoutUpdated$1 as publicOnCheckoutUpdated, index_d$g_removeCoupon as removeCoupon, index_d$g_removeGiftCard as removeGiftCard, index_d$g_removeLineItems as removeLineItems, index_d$g_removeOverrideCheckoutUrl as removeOverrideCheckoutUrl, index_d$g_updateCheckout as updateCheckout, index_d$g_updateLineItemsQuantity as updateLineItemsQuantity };
|
|
12773
12773
|
}
|
|
12774
12774
|
|
|
12775
12775
|
interface CheckoutSettings {
|
|
@@ -13110,7 +13110,7 @@ interface GetCheckoutSettingsResponseNonNullableFields {
|
|
|
13110
13110
|
interface UpdateCheckoutSettingsResponseNonNullableFields {
|
|
13111
13111
|
checkoutSettings?: CheckoutSettingsNonNullableFields;
|
|
13112
13112
|
}
|
|
13113
|
-
interface BaseEventMetadata$
|
|
13113
|
+
interface BaseEventMetadata$9 {
|
|
13114
13114
|
/** App instance ID. */
|
|
13115
13115
|
instanceId?: string | null;
|
|
13116
13116
|
/** Event type. */
|
|
@@ -13118,7 +13118,7 @@ interface BaseEventMetadata$a {
|
|
|
13118
13118
|
/** The identification type and identity data. */
|
|
13119
13119
|
identity?: IdentificationData$c;
|
|
13120
13120
|
}
|
|
13121
|
-
interface EventMetadata$
|
|
13121
|
+
interface EventMetadata$9 extends BaseEventMetadata$9 {
|
|
13122
13122
|
/**
|
|
13123
13123
|
* Unique event ID.
|
|
13124
13124
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -13158,7 +13158,7 @@ interface EventMetadata$a extends BaseEventMetadata$a {
|
|
|
13158
13158
|
}
|
|
13159
13159
|
interface CheckoutSettingsUpdatedEnvelope {
|
|
13160
13160
|
entity: CheckoutSettings;
|
|
13161
|
-
metadata: EventMetadata$
|
|
13161
|
+
metadata: EventMetadata$9;
|
|
13162
13162
|
}
|
|
13163
13163
|
|
|
13164
13164
|
declare function getCheckoutSettings$1(httpClient: HttpClient): GetCheckoutSettingsSignature;
|
|
@@ -13184,18 +13184,18 @@ interface UpdateCheckoutSettingsSignature {
|
|
|
13184
13184
|
*/
|
|
13185
13185
|
(checkoutSettings: CheckoutSettings): Promise<UpdateCheckoutSettingsResponse & UpdateCheckoutSettingsResponseNonNullableFields>;
|
|
13186
13186
|
}
|
|
13187
|
-
declare const onCheckoutSettingsUpdated$1: EventDefinition$
|
|
13187
|
+
declare const onCheckoutSettingsUpdated$1: EventDefinition$g<CheckoutSettingsUpdatedEnvelope, "wix.ecom.v1.checkout_settings_updated">;
|
|
13188
13188
|
|
|
13189
|
-
type EventDefinition$
|
|
13189
|
+
type EventDefinition$9<Payload = unknown, Type extends string = string> = {
|
|
13190
13190
|
__type: 'event-definition';
|
|
13191
13191
|
type: Type;
|
|
13192
13192
|
isDomainEvent?: boolean;
|
|
13193
13193
|
transformations?: (envelope: unknown) => Payload;
|
|
13194
13194
|
__payload: Payload;
|
|
13195
13195
|
};
|
|
13196
|
-
declare function EventDefinition$
|
|
13197
|
-
type EventHandler$
|
|
13198
|
-
type BuildEventDefinition$
|
|
13196
|
+
declare function EventDefinition$9<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition$9<Payload, Type>;
|
|
13197
|
+
type EventHandler$9<T extends EventDefinition$9> = (payload: T['__payload']) => void | Promise<void>;
|
|
13198
|
+
type BuildEventDefinition$9<T extends EventDefinition$9<any, string>> = (handler: EventHandler$9<T>) => void;
|
|
13199
13199
|
|
|
13200
13200
|
declare global {
|
|
13201
13201
|
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
@@ -13204,7 +13204,7 @@ declare global {
|
|
|
13204
13204
|
}
|
|
13205
13205
|
}
|
|
13206
13206
|
|
|
13207
|
-
declare function createEventModule$
|
|
13207
|
+
declare function createEventModule$9<T extends EventDefinition$9<any, string>>(eventDefinition: T): BuildEventDefinition$9<T> & T;
|
|
13208
13208
|
|
|
13209
13209
|
declare const getCheckoutSettings: MaybeContext<BuildRESTFunction<typeof getCheckoutSettings$1> & typeof getCheckoutSettings$1>;
|
|
13210
13210
|
declare const updateCheckoutSettings: MaybeContext<BuildRESTFunction<typeof updateCheckoutSettings$1> & typeof updateCheckoutSettings$1>;
|
|
@@ -13213,7 +13213,7 @@ type _publicOnCheckoutSettingsUpdatedType = typeof onCheckoutSettingsUpdated$1;
|
|
|
13213
13213
|
/**
|
|
13214
13214
|
* Triggered when checkout settings are updated.
|
|
13215
13215
|
*/
|
|
13216
|
-
declare const onCheckoutSettingsUpdated: ReturnType<typeof createEventModule$
|
|
13216
|
+
declare const onCheckoutSettingsUpdated: ReturnType<typeof createEventModule$9<_publicOnCheckoutSettingsUpdatedType>>;
|
|
13217
13217
|
|
|
13218
13218
|
type index_d$f_Alignment = Alignment;
|
|
13219
13219
|
declare const index_d$f_Alignment: typeof Alignment;
|
|
@@ -13249,7 +13249,7 @@ declare const index_d$f_getCheckoutSettings: typeof getCheckoutSettings;
|
|
|
13249
13249
|
declare const index_d$f_onCheckoutSettingsUpdated: typeof onCheckoutSettingsUpdated;
|
|
13250
13250
|
declare const index_d$f_updateCheckoutSettings: typeof updateCheckoutSettings;
|
|
13251
13251
|
declare namespace index_d$f {
|
|
13252
|
-
export { type ActionEvent$c as ActionEvent, index_d$f_Alignment as Alignment, type BaseEventMetadata$
|
|
13252
|
+
export { type ActionEvent$c as ActionEvent, index_d$f_Alignment as Alignment, type BaseEventMetadata$9 as BaseEventMetadata, type index_d$f_CheckboxField as CheckboxField, type index_d$f_CheckoutBrand as CheckoutBrand, type index_d$f_CheckoutFields as CheckoutFields, type index_d$f_CheckoutHeader as CheckoutHeader, type index_d$f_CheckoutPolicies as CheckoutPolicies, type index_d$f_CheckoutSettings as CheckoutSettings, type index_d$f_CheckoutSettingsUpdatedEnvelope as CheckoutSettingsUpdatedEnvelope, type index_d$f_ContactUsPolicy as ContactUsPolicy, type index_d$f_CustomCheckoutPolicy as CustomCheckoutPolicy, type index_d$f_DeleteCheckoutSettingsRequest as DeleteCheckoutSettingsRequest, type index_d$f_DeleteCheckoutSettingsResponse as DeleteCheckoutSettingsResponse, type index_d$f_DigitalItemPolicy as DigitalItemPolicy, type DomainEvent$c as DomainEvent, type DomainEventBodyOneOf$c as DomainEventBodyOneOf, type Empty$7 as Empty, type EntityCreatedEvent$c as EntityCreatedEvent, type EntityDeletedEvent$c as EntityDeletedEvent, type EntityUpdatedEvent$c as EntityUpdatedEvent, type EventMetadata$9 as EventMetadata, type index_d$f_GetCheckoutSettingsRequest as GetCheckoutSettingsRequest, type index_d$f_GetCheckoutSettingsResponse as GetCheckoutSettingsResponse, type index_d$f_GetCheckoutSettingsResponseNonNullableFields as GetCheckoutSettingsResponseNonNullableFields, type index_d$f_GiftCardProviderWasProvisioned as GiftCardProviderWasProvisioned, type IdentificationData$c as IdentificationData, type IdentificationDataIdOneOf$c as IdentificationDataIdOneOf, type index_d$f_ListCheckoutSettingsRequest as ListCheckoutSettingsRequest, type index_d$f_ListCheckoutSettingsResponse as ListCheckoutSettingsResponse, type index_d$f_Logo as Logo, index_d$f_LogoSize as LogoSize, type MessageEnvelope$c as MessageEnvelope, type index_d$f_PrivacyPolicy as PrivacyPolicy, type RestoreInfo$c as RestoreInfo, type index_d$f_ReturnPolicy as ReturnPolicy, type index_d$f_TermsAndConditionsPolicy as TermsAndConditionsPolicy, type index_d$f_UpdateCheckoutSettingsRequest as UpdateCheckoutSettingsRequest, type index_d$f_UpdateCheckoutSettingsResponse as UpdateCheckoutSettingsResponse, type index_d$f_UpdateCheckoutSettingsResponseNonNullableFields as UpdateCheckoutSettingsResponseNonNullableFields, WebhookIdentityType$c as WebhookIdentityType, type index_d$f__publicOnCheckoutSettingsUpdatedType as _publicOnCheckoutSettingsUpdatedType, index_d$f_getCheckoutSettings as getCheckoutSettings, index_d$f_onCheckoutSettingsUpdated as onCheckoutSettingsUpdated, onCheckoutSettingsUpdated$1 as publicOnCheckoutSettingsUpdated, index_d$f_updateCheckoutSettings as updateCheckoutSettings };
|
|
13253
13253
|
}
|
|
13254
13254
|
|
|
13255
13255
|
interface CheckoutTemplate {
|
|
@@ -15312,7 +15312,7 @@ interface RawHttpResponseNonNullableFields {
|
|
|
15312
15312
|
body: Uint8Array;
|
|
15313
15313
|
headers: HeadersEntryNonNullableFields[];
|
|
15314
15314
|
}
|
|
15315
|
-
interface BaseEventMetadata$
|
|
15315
|
+
interface BaseEventMetadata$8 {
|
|
15316
15316
|
/** App instance ID. */
|
|
15317
15317
|
instanceId?: string | null;
|
|
15318
15318
|
/** Event type. */
|
|
@@ -15320,7 +15320,7 @@ interface BaseEventMetadata$9 {
|
|
|
15320
15320
|
/** The identification type and identity data. */
|
|
15321
15321
|
identity?: IdentificationData$b;
|
|
15322
15322
|
}
|
|
15323
|
-
interface EventMetadata$
|
|
15323
|
+
interface EventMetadata$8 extends BaseEventMetadata$8 {
|
|
15324
15324
|
/**
|
|
15325
15325
|
* Unique event ID.
|
|
15326
15326
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -15360,18 +15360,18 @@ interface EventMetadata$9 extends BaseEventMetadata$9 {
|
|
|
15360
15360
|
}
|
|
15361
15361
|
interface CheckoutTemplateCreatedEnvelope {
|
|
15362
15362
|
entity: CheckoutTemplate;
|
|
15363
|
-
metadata: EventMetadata$
|
|
15363
|
+
metadata: EventMetadata$8;
|
|
15364
15364
|
}
|
|
15365
15365
|
interface CheckoutTemplateUpdatedEnvelope {
|
|
15366
15366
|
entity: CheckoutTemplate;
|
|
15367
|
-
metadata: EventMetadata$
|
|
15367
|
+
metadata: EventMetadata$8;
|
|
15368
15368
|
}
|
|
15369
15369
|
interface CheckoutTemplateDeletedEnvelope {
|
|
15370
|
-
metadata: EventMetadata$
|
|
15370
|
+
metadata: EventMetadata$8;
|
|
15371
15371
|
}
|
|
15372
15372
|
interface CheckoutTemplateUsedEnvelope {
|
|
15373
15373
|
data: CheckoutTemplateUsed;
|
|
15374
|
-
metadata: EventMetadata$
|
|
15374
|
+
metadata: EventMetadata$8;
|
|
15375
15375
|
}
|
|
15376
15376
|
interface UpdateCheckoutTemplate {
|
|
15377
15377
|
/**
|
|
@@ -15575,21 +15575,21 @@ interface CreateAndRedirectToCheckoutSignature {
|
|
|
15575
15575
|
*/
|
|
15576
15576
|
(checkoutTemplateId: string, siteId: string): Promise<RawHttpResponse & RawHttpResponseNonNullableFields>;
|
|
15577
15577
|
}
|
|
15578
|
-
declare const onCheckoutTemplateCreated$1: EventDefinition$
|
|
15579
|
-
declare const onCheckoutTemplateUpdated$1: EventDefinition$
|
|
15580
|
-
declare const onCheckoutTemplateDeleted$1: EventDefinition$
|
|
15581
|
-
declare const onCheckoutTemplateUsed$1: EventDefinition$
|
|
15578
|
+
declare const onCheckoutTemplateCreated$1: EventDefinition$g<CheckoutTemplateCreatedEnvelope, "wix.ecom.v1.checkout_template_created">;
|
|
15579
|
+
declare const onCheckoutTemplateUpdated$1: EventDefinition$g<CheckoutTemplateUpdatedEnvelope, "wix.ecom.v1.checkout_template_updated">;
|
|
15580
|
+
declare const onCheckoutTemplateDeleted$1: EventDefinition$g<CheckoutTemplateDeletedEnvelope, "wix.ecom.v1.checkout_template_deleted">;
|
|
15581
|
+
declare const onCheckoutTemplateUsed$1: EventDefinition$g<CheckoutTemplateUsedEnvelope, "wix.ecom.v1.checkout_template_used">;
|
|
15582
15582
|
|
|
15583
|
-
type EventDefinition$
|
|
15583
|
+
type EventDefinition$8<Payload = unknown, Type extends string = string> = {
|
|
15584
15584
|
__type: 'event-definition';
|
|
15585
15585
|
type: Type;
|
|
15586
15586
|
isDomainEvent?: boolean;
|
|
15587
15587
|
transformations?: (envelope: unknown) => Payload;
|
|
15588
15588
|
__payload: Payload;
|
|
15589
15589
|
};
|
|
15590
|
-
declare function EventDefinition$
|
|
15591
|
-
type EventHandler$
|
|
15592
|
-
type BuildEventDefinition$
|
|
15590
|
+
declare function EventDefinition$8<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition$8<Payload, Type>;
|
|
15591
|
+
type EventHandler$8<T extends EventDefinition$8> = (payload: T['__payload']) => void | Promise<void>;
|
|
15592
|
+
type BuildEventDefinition$8<T extends EventDefinition$8<any, string>> = (handler: EventHandler$8<T>) => void;
|
|
15593
15593
|
|
|
15594
15594
|
declare global {
|
|
15595
15595
|
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
@@ -15598,7 +15598,7 @@ declare global {
|
|
|
15598
15598
|
}
|
|
15599
15599
|
}
|
|
15600
15600
|
|
|
15601
|
-
declare function createEventModule$
|
|
15601
|
+
declare function createEventModule$8<T extends EventDefinition$8<any, string>>(eventDefinition: T): BuildEventDefinition$8<T> & T;
|
|
15602
15602
|
|
|
15603
15603
|
declare const createCheckoutTemplate: MaybeContext<BuildRESTFunction<typeof createCheckoutTemplate$1> & typeof createCheckoutTemplate$1>;
|
|
15604
15604
|
declare const getCheckoutTemplate: MaybeContext<BuildRESTFunction<typeof getCheckoutTemplate$1> & typeof getCheckoutTemplate$1>;
|
|
@@ -15612,25 +15612,25 @@ type _publicOnCheckoutTemplateCreatedType = typeof onCheckoutTemplateCreated$1;
|
|
|
15612
15612
|
/**
|
|
15613
15613
|
* Triggered when a checkout template is created.
|
|
15614
15614
|
*/
|
|
15615
|
-
declare const onCheckoutTemplateCreated: ReturnType<typeof createEventModule$
|
|
15615
|
+
declare const onCheckoutTemplateCreated: ReturnType<typeof createEventModule$8<_publicOnCheckoutTemplateCreatedType>>;
|
|
15616
15616
|
|
|
15617
15617
|
type _publicOnCheckoutTemplateUpdatedType = typeof onCheckoutTemplateUpdated$1;
|
|
15618
15618
|
/**
|
|
15619
15619
|
* Triggered when a checkout template is updated.
|
|
15620
15620
|
*/
|
|
15621
|
-
declare const onCheckoutTemplateUpdated: ReturnType<typeof createEventModule$
|
|
15621
|
+
declare const onCheckoutTemplateUpdated: ReturnType<typeof createEventModule$8<_publicOnCheckoutTemplateUpdatedType>>;
|
|
15622
15622
|
|
|
15623
15623
|
type _publicOnCheckoutTemplateDeletedType = typeof onCheckoutTemplateDeleted$1;
|
|
15624
15624
|
/**
|
|
15625
15625
|
* Triggered when a checkout template is deleted.
|
|
15626
15626
|
*/
|
|
15627
|
-
declare const onCheckoutTemplateDeleted: ReturnType<typeof createEventModule$
|
|
15627
|
+
declare const onCheckoutTemplateDeleted: ReturnType<typeof createEventModule$8<_publicOnCheckoutTemplateDeletedType>>;
|
|
15628
15628
|
|
|
15629
15629
|
type _publicOnCheckoutTemplateUsedType = typeof onCheckoutTemplateUsed$1;
|
|
15630
15630
|
/**
|
|
15631
15631
|
* Triggered when a checkout is created from a checkout template.
|
|
15632
15632
|
*/
|
|
15633
|
-
declare const onCheckoutTemplateUsed: ReturnType<typeof createEventModule$
|
|
15633
|
+
declare const onCheckoutTemplateUsed: ReturnType<typeof createEventModule$8<_publicOnCheckoutTemplateUsedType>>;
|
|
15634
15634
|
|
|
15635
15635
|
type index_d$e_CatalogOverrideFields = CatalogOverrideFields;
|
|
15636
15636
|
type index_d$e_Checkout = Checkout;
|
|
@@ -15704,7 +15704,7 @@ declare const index_d$e_onCheckoutTemplateUsed: typeof onCheckoutTemplateUsed;
|
|
|
15704
15704
|
declare const index_d$e_queryCheckoutTemplates: typeof queryCheckoutTemplates;
|
|
15705
15705
|
declare const index_d$e_updateCheckoutTemplate: typeof updateCheckoutTemplate;
|
|
15706
15706
|
declare namespace index_d$e {
|
|
15707
|
-
export { type ActionEvent$b as ActionEvent, type AdditionalFee$3 as AdditionalFee, type Address$6 as Address, type AddressLocation$5 as AddressLocation, type AddressWithContact$2 as AddressWithContact, type AggregatedTaxBreakdown$1 as AggregatedTaxBreakdown, type ApplicationError$7 as ApplicationError, type AppliedDiscount$3 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$3 as AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails$1 as AutoTaxFallbackCalculationDetails, type BaseEventMetadata$9 as BaseEventMetadata, type BuyerInfo$4 as BuyerInfo, type BuyerInfoIdOneOf$2 as BuyerInfoIdOneOf, type CalculationErrors$2 as CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf$2 as CalculationErrorsShippingCalculationErrorOneOf, type CarrierError$2 as CarrierError, type CarrierErrors$2 as CarrierErrors, type CarrierServiceOption$1 as CarrierServiceOption, type index_d$e_CatalogOverrideFields as CatalogOverrideFields, type CatalogReference$3 as CatalogReference, ChannelType$3 as ChannelType, ChargeType$2 as ChargeType, type index_d$e_Checkout as Checkout, type index_d$e_CheckoutCustomization as CheckoutCustomization, type index_d$e_CheckoutTemplate as CheckoutTemplate, type index_d$e_CheckoutTemplateCreatedEnvelope as CheckoutTemplateCreatedEnvelope, type index_d$e_CheckoutTemplateDeletedEnvelope as CheckoutTemplateDeletedEnvelope, type index_d$e_CheckoutTemplateNonNullableFields as CheckoutTemplateNonNullableFields, type index_d$e_CheckoutTemplateUpdatedEnvelope as CheckoutTemplateUpdatedEnvelope, type index_d$e_CheckoutTemplateUsed as CheckoutTemplateUsed, type index_d$e_CheckoutTemplateUsedEnvelope as CheckoutTemplateUsedEnvelope, type index_d$e_CheckoutTemplatesQueryBuilder as CheckoutTemplatesQueryBuilder, type index_d$e_CheckoutTemplatesQueryResult as CheckoutTemplatesQueryResult, type Color$2 as Color, type index_d$e_ConversionInfo as ConversionInfo, type Coupon$3 as Coupon, type index_d$e_CreateAndRedirectToCheckoutRequest as CreateAndRedirectToCheckoutRequest, type index_d$e_CreateCheckoutFromTemplateRequest as CreateCheckoutFromTemplateRequest, type index_d$e_CreateCheckoutFromTemplateResponse as CreateCheckoutFromTemplateResponse, type index_d$e_CreateCheckoutFromTemplateResponseNonNullableFields as CreateCheckoutFromTemplateResponseNonNullableFields, type index_d$e_CreateCheckoutTemplateRequest as CreateCheckoutTemplateRequest, type index_d$e_CreateCheckoutTemplateResponse as CreateCheckoutTemplateResponse, type index_d$e_CreateCheckoutTemplateResponseNonNullableFields as CreateCheckoutTemplateResponseNonNullableFields, type CreatedBy$2 as CreatedBy, type index_d$e_CreatedByIdOneOf as CreatedByIdOneOf, type CursorPaging$8 as CursorPaging, type CursorPagingMetadata$8 as CursorPagingMetadata, type CursorQuery$6 as CursorQuery, type CursorQueryPagingMethodOneOf$6 as CursorQueryPagingMethodOneOf, type Cursors$8 as Cursors, type index_d$e_CustomContentReference as CustomContentReference, type CustomField$3 as CustomField, type CustomLineItem$1 as CustomLineItem, type index_d$e_CustomSettings as CustomSettings, type index_d$e_DeleteCheckoutTemplateRequest as DeleteCheckoutTemplateRequest, type index_d$e_DeleteCheckoutTemplateResponse as DeleteCheckoutTemplateResponse, type DeliveryLogistics$3 as DeliveryLogistics, type DeliveryTimeSlot$3 as DeliveryTimeSlot, type index_d$e_Description as Description, type DescriptionLine$2 as DescriptionLine, type DescriptionLineDescriptionLineValueOneOf$2 as DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName$2 as DescriptionLineName, DescriptionLineType$2 as DescriptionLineType, type DescriptionLineValueOneOf$2 as DescriptionLineValueOneOf, type Details$2 as Details, type DetailsKindOneOf$2 as DetailsKindOneOf, type DiscountRule$3 as DiscountRule, type DiscountRuleName$3 as DiscountRuleName, DiscountType$3 as DiscountType, type DomainEvent$b as DomainEvent, type DomainEventBodyOneOf$b as DomainEventBodyOneOf, type EntityCreatedEvent$b as EntityCreatedEvent, type EntityDeletedEvent$b as EntityDeletedEvent, type EntityUpdatedEvent$b as EntityUpdatedEvent, type EventMetadata$9 as EventMetadata, type ExtendedFields$6 as ExtendedFields, type ExternalReference$1 as ExternalReference, FallbackReason$1 as FallbackReason, type FieldViolation$2 as FieldViolation, FileType$1 as FileType, type FullAddressContactDetails$2 as FullAddressContactDetails, type index_d$e_GetCheckoutTemplateRequest as GetCheckoutTemplateRequest, type index_d$e_GetCheckoutTemplateResponse as GetCheckoutTemplateResponse, type index_d$e_GetCheckoutTemplateResponseNonNullableFields as GetCheckoutTemplateResponseNonNullableFields, type GiftCard$3 as GiftCard, type Group$1 as Group, type index_d$e_HeadersEntry as HeadersEntry, type IdentificationData$b as IdentificationData, type IdentificationDataIdOneOf$b as IdentificationDataIdOneOf, type InvalidMembership$1 as InvalidMembership, type index_d$e_ItemAvailabilityInfo as ItemAvailabilityInfo, index_d$e_ItemAvailabilityStatus as ItemAvailabilityStatus, type ItemTaxFullDetails$3 as ItemTaxFullDetails, type ItemType$3 as ItemType, ItemTypeItemType$3 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$3 as ItemTypeItemTypeDataOneOf, JurisdictionType$3 as JurisdictionType, type LineItem$3 as LineItem, type LineItemDiscount$3 as LineItemDiscount, ManualCalculationReason$1 as ManualCalculationReason, type Membership$1 as Membership, type MembershipName$4 as MembershipName, type MembershipOptions$1 as MembershipOptions, type MembershipPaymentCredits$1 as MembershipPaymentCredits, type MerchantDiscount$3 as MerchantDiscount, type MessageEnvelope$b as MessageEnvelope, type MultiCurrencyPrice$1 as MultiCurrencyPrice, index_d$e_NameInLineItem as NameInLineItem, index_d$e_NameInOther as NameInOther, type index_d$e_Other as Other, type OtherCharge$1 as OtherCharge, PaymentOptionType$3 as PaymentOptionType, type PhysicalProperties$3 as PhysicalProperties, type PickupDetails$4 as PickupDetails, PickupMethod$3 as PickupMethod, type PlainTextValue$2 as PlainTextValue, type PriceDescription$2 as PriceDescription, type PriceSummary$3 as PriceSummary, type ProductName$2 as ProductName, type index_d$e_QueryCheckoutTemplatesRequest as QueryCheckoutTemplatesRequest, type index_d$e_QueryCheckoutTemplatesResponse as QueryCheckoutTemplatesResponse, type index_d$e_QueryCheckoutTemplatesResponseNonNullableFields as QueryCheckoutTemplatesResponseNonNullableFields, RateType$1 as RateType, type index_d$e_RawHttpResponse as RawHttpResponse, type index_d$e_RawHttpResponseNonNullableFields as RawHttpResponseNonNullableFields, type RestoreInfo$b as RestoreInfo, RuleType$2 as RuleType, type Scope$1 as Scope, type SecuredMedia$1 as SecuredMedia, type SelectedCarrierServiceOption$1 as SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge$1 as SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices$1 as SelectedCarrierServiceOptionPrices, type SelectedMembership$1 as SelectedMembership, type SelectedMemberships$1 as SelectedMemberships, type ServiceProperties$2 as ServiceProperties, index_d$e_Severity as Severity, type ShippingInfo$1 as ShippingInfo, type ShippingOption$3 as ShippingOption, type ShippingPrice$3 as ShippingPrice, type ShippingRegion$3 as ShippingRegion, SortOrder$8 as SortOrder, type Sorting$8 as Sorting, Status$2 as Status, type StreetAddress$5 as StreetAddress, SubscriptionFrequency$4 as SubscriptionFrequency, type SubscriptionOptionInfo$1 as SubscriptionOptionInfo, type SubscriptionSettings$4 as SubscriptionSettings, type SystemError$2 as SystemError, type index_d$e_Target as Target, type index_d$e_TargetLineItem as TargetLineItem, type index_d$e_TargetTargetTypeOneOf as TargetTargetTypeOneOf, type TaxBreakdown$1 as TaxBreakdown, type TaxCalculationDetails$1 as TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf$1 as TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown$1 as TaxRateBreakdown, type TaxSummary$3 as TaxSummary, type TaxableAddress$3 as TaxableAddress, type TaxableAddressTaxableAddressDataOneOf$3 as TaxableAddressTaxableAddressDataOneOf, TaxableAddressType$3 as TaxableAddressType, type index_d$e_Title as Title, type index_d$e_UpdateCheckoutTemplate as UpdateCheckoutTemplate, type index_d$e_UpdateCheckoutTemplateRequest as UpdateCheckoutTemplateRequest, type index_d$e_UpdateCheckoutTemplateResponse as UpdateCheckoutTemplateResponse, type index_d$e_UpdateCheckoutTemplateResponseNonNullableFields as UpdateCheckoutTemplateResponseNonNullableFields, type index_d$e_V1LineItem as V1LineItem, type ValidationError$2 as ValidationError, type VatId$3 as VatId, VatType$3 as VatType, type index_d$e_Violation as Violation, type index_d$e_WebClientCustomization as WebClientCustomization, WebhookIdentityType$b as WebhookIdentityType, WeightUnit$4 as WeightUnit, type index_d$e__publicOnCheckoutTemplateCreatedType as _publicOnCheckoutTemplateCreatedType, type index_d$e__publicOnCheckoutTemplateDeletedType as _publicOnCheckoutTemplateDeletedType, type index_d$e__publicOnCheckoutTemplateUpdatedType as _publicOnCheckoutTemplateUpdatedType, type index_d$e__publicOnCheckoutTemplateUsedType as _publicOnCheckoutTemplateUsedType, index_d$e_createAndRedirectToCheckout as createAndRedirectToCheckout, index_d$e_createCheckoutFromTemplate as createCheckoutFromTemplate, index_d$e_createCheckoutTemplate as createCheckoutTemplate, index_d$e_deleteCheckoutTemplate as deleteCheckoutTemplate, index_d$e_getCheckoutTemplate as getCheckoutTemplate, index_d$e_onCheckoutTemplateCreated as onCheckoutTemplateCreated, index_d$e_onCheckoutTemplateDeleted as onCheckoutTemplateDeleted, index_d$e_onCheckoutTemplateUpdated as onCheckoutTemplateUpdated, index_d$e_onCheckoutTemplateUsed as onCheckoutTemplateUsed, onCheckoutTemplateCreated$1 as publicOnCheckoutTemplateCreated, onCheckoutTemplateDeleted$1 as publicOnCheckoutTemplateDeleted, onCheckoutTemplateUpdated$1 as publicOnCheckoutTemplateUpdated, onCheckoutTemplateUsed$1 as publicOnCheckoutTemplateUsed, index_d$e_queryCheckoutTemplates as queryCheckoutTemplates, index_d$e_updateCheckoutTemplate as updateCheckoutTemplate };
|
|
15707
|
+
export { type ActionEvent$b as ActionEvent, type AdditionalFee$3 as AdditionalFee, type Address$6 as Address, type AddressLocation$5 as AddressLocation, type AddressWithContact$2 as AddressWithContact, type AggregatedTaxBreakdown$1 as AggregatedTaxBreakdown, type ApplicationError$7 as ApplicationError, type AppliedDiscount$3 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$3 as AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails$1 as AutoTaxFallbackCalculationDetails, type BaseEventMetadata$8 as BaseEventMetadata, type BuyerInfo$4 as BuyerInfo, type BuyerInfoIdOneOf$2 as BuyerInfoIdOneOf, type CalculationErrors$2 as CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf$2 as CalculationErrorsShippingCalculationErrorOneOf, type CarrierError$2 as CarrierError, type CarrierErrors$2 as CarrierErrors, type CarrierServiceOption$1 as CarrierServiceOption, type index_d$e_CatalogOverrideFields as CatalogOverrideFields, type CatalogReference$3 as CatalogReference, ChannelType$3 as ChannelType, ChargeType$2 as ChargeType, type index_d$e_Checkout as Checkout, type index_d$e_CheckoutCustomization as CheckoutCustomization, type index_d$e_CheckoutTemplate as CheckoutTemplate, type index_d$e_CheckoutTemplateCreatedEnvelope as CheckoutTemplateCreatedEnvelope, type index_d$e_CheckoutTemplateDeletedEnvelope as CheckoutTemplateDeletedEnvelope, type index_d$e_CheckoutTemplateNonNullableFields as CheckoutTemplateNonNullableFields, type index_d$e_CheckoutTemplateUpdatedEnvelope as CheckoutTemplateUpdatedEnvelope, type index_d$e_CheckoutTemplateUsed as CheckoutTemplateUsed, type index_d$e_CheckoutTemplateUsedEnvelope as CheckoutTemplateUsedEnvelope, type index_d$e_CheckoutTemplatesQueryBuilder as CheckoutTemplatesQueryBuilder, type index_d$e_CheckoutTemplatesQueryResult as CheckoutTemplatesQueryResult, type Color$2 as Color, type index_d$e_ConversionInfo as ConversionInfo, type Coupon$3 as Coupon, type index_d$e_CreateAndRedirectToCheckoutRequest as CreateAndRedirectToCheckoutRequest, type index_d$e_CreateCheckoutFromTemplateRequest as CreateCheckoutFromTemplateRequest, type index_d$e_CreateCheckoutFromTemplateResponse as CreateCheckoutFromTemplateResponse, type index_d$e_CreateCheckoutFromTemplateResponseNonNullableFields as CreateCheckoutFromTemplateResponseNonNullableFields, type index_d$e_CreateCheckoutTemplateRequest as CreateCheckoutTemplateRequest, type index_d$e_CreateCheckoutTemplateResponse as CreateCheckoutTemplateResponse, type index_d$e_CreateCheckoutTemplateResponseNonNullableFields as CreateCheckoutTemplateResponseNonNullableFields, type CreatedBy$2 as CreatedBy, type index_d$e_CreatedByIdOneOf as CreatedByIdOneOf, type CursorPaging$8 as CursorPaging, type CursorPagingMetadata$8 as CursorPagingMetadata, type CursorQuery$6 as CursorQuery, type CursorQueryPagingMethodOneOf$6 as CursorQueryPagingMethodOneOf, type Cursors$8 as Cursors, type index_d$e_CustomContentReference as CustomContentReference, type CustomField$3 as CustomField, type CustomLineItem$1 as CustomLineItem, type index_d$e_CustomSettings as CustomSettings, type index_d$e_DeleteCheckoutTemplateRequest as DeleteCheckoutTemplateRequest, type index_d$e_DeleteCheckoutTemplateResponse as DeleteCheckoutTemplateResponse, type DeliveryLogistics$3 as DeliveryLogistics, type DeliveryTimeSlot$3 as DeliveryTimeSlot, type index_d$e_Description as Description, type DescriptionLine$2 as DescriptionLine, type DescriptionLineDescriptionLineValueOneOf$2 as DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName$2 as DescriptionLineName, DescriptionLineType$2 as DescriptionLineType, type DescriptionLineValueOneOf$2 as DescriptionLineValueOneOf, type Details$2 as Details, type DetailsKindOneOf$2 as DetailsKindOneOf, type DiscountRule$3 as DiscountRule, type DiscountRuleName$3 as DiscountRuleName, DiscountType$3 as DiscountType, type DomainEvent$b as DomainEvent, type DomainEventBodyOneOf$b as DomainEventBodyOneOf, type EntityCreatedEvent$b as EntityCreatedEvent, type EntityDeletedEvent$b as EntityDeletedEvent, type EntityUpdatedEvent$b as EntityUpdatedEvent, type EventMetadata$8 as EventMetadata, type ExtendedFields$6 as ExtendedFields, type ExternalReference$1 as ExternalReference, FallbackReason$1 as FallbackReason, type FieldViolation$2 as FieldViolation, FileType$1 as FileType, type FullAddressContactDetails$2 as FullAddressContactDetails, type index_d$e_GetCheckoutTemplateRequest as GetCheckoutTemplateRequest, type index_d$e_GetCheckoutTemplateResponse as GetCheckoutTemplateResponse, type index_d$e_GetCheckoutTemplateResponseNonNullableFields as GetCheckoutTemplateResponseNonNullableFields, type GiftCard$3 as GiftCard, type Group$1 as Group, type index_d$e_HeadersEntry as HeadersEntry, type IdentificationData$b as IdentificationData, type IdentificationDataIdOneOf$b as IdentificationDataIdOneOf, type InvalidMembership$1 as InvalidMembership, type index_d$e_ItemAvailabilityInfo as ItemAvailabilityInfo, index_d$e_ItemAvailabilityStatus as ItemAvailabilityStatus, type ItemTaxFullDetails$3 as ItemTaxFullDetails, type ItemType$3 as ItemType, ItemTypeItemType$3 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$3 as ItemTypeItemTypeDataOneOf, JurisdictionType$3 as JurisdictionType, type LineItem$3 as LineItem, type LineItemDiscount$3 as LineItemDiscount, ManualCalculationReason$1 as ManualCalculationReason, type Membership$1 as Membership, type MembershipName$4 as MembershipName, type MembershipOptions$1 as MembershipOptions, type MembershipPaymentCredits$1 as MembershipPaymentCredits, type MerchantDiscount$3 as MerchantDiscount, type MessageEnvelope$b as MessageEnvelope, type MultiCurrencyPrice$1 as MultiCurrencyPrice, index_d$e_NameInLineItem as NameInLineItem, index_d$e_NameInOther as NameInOther, type index_d$e_Other as Other, type OtherCharge$1 as OtherCharge, PaymentOptionType$3 as PaymentOptionType, type PhysicalProperties$3 as PhysicalProperties, type PickupDetails$4 as PickupDetails, PickupMethod$3 as PickupMethod, type PlainTextValue$2 as PlainTextValue, type PriceDescription$2 as PriceDescription, type PriceSummary$3 as PriceSummary, type ProductName$2 as ProductName, type index_d$e_QueryCheckoutTemplatesRequest as QueryCheckoutTemplatesRequest, type index_d$e_QueryCheckoutTemplatesResponse as QueryCheckoutTemplatesResponse, type index_d$e_QueryCheckoutTemplatesResponseNonNullableFields as QueryCheckoutTemplatesResponseNonNullableFields, RateType$1 as RateType, type index_d$e_RawHttpResponse as RawHttpResponse, type index_d$e_RawHttpResponseNonNullableFields as RawHttpResponseNonNullableFields, type RestoreInfo$b as RestoreInfo, RuleType$2 as RuleType, type Scope$1 as Scope, type SecuredMedia$1 as SecuredMedia, type SelectedCarrierServiceOption$1 as SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge$1 as SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices$1 as SelectedCarrierServiceOptionPrices, type SelectedMembership$1 as SelectedMembership, type SelectedMemberships$1 as SelectedMemberships, type ServiceProperties$2 as ServiceProperties, index_d$e_Severity as Severity, type ShippingInfo$1 as ShippingInfo, type ShippingOption$3 as ShippingOption, type ShippingPrice$3 as ShippingPrice, type ShippingRegion$3 as ShippingRegion, SortOrder$8 as SortOrder, type Sorting$8 as Sorting, Status$2 as Status, type StreetAddress$5 as StreetAddress, SubscriptionFrequency$4 as SubscriptionFrequency, type SubscriptionOptionInfo$1 as SubscriptionOptionInfo, type SubscriptionSettings$4 as SubscriptionSettings, type SystemError$2 as SystemError, type index_d$e_Target as Target, type index_d$e_TargetLineItem as TargetLineItem, type index_d$e_TargetTargetTypeOneOf as TargetTargetTypeOneOf, type TaxBreakdown$1 as TaxBreakdown, type TaxCalculationDetails$1 as TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf$1 as TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown$1 as TaxRateBreakdown, type TaxSummary$3 as TaxSummary, type TaxableAddress$3 as TaxableAddress, type TaxableAddressTaxableAddressDataOneOf$3 as TaxableAddressTaxableAddressDataOneOf, TaxableAddressType$3 as TaxableAddressType, type index_d$e_Title as Title, type index_d$e_UpdateCheckoutTemplate as UpdateCheckoutTemplate, type index_d$e_UpdateCheckoutTemplateRequest as UpdateCheckoutTemplateRequest, type index_d$e_UpdateCheckoutTemplateResponse as UpdateCheckoutTemplateResponse, type index_d$e_UpdateCheckoutTemplateResponseNonNullableFields as UpdateCheckoutTemplateResponseNonNullableFields, type index_d$e_V1LineItem as V1LineItem, type ValidationError$2 as ValidationError, type VatId$3 as VatId, VatType$3 as VatType, type index_d$e_Violation as Violation, type index_d$e_WebClientCustomization as WebClientCustomization, WebhookIdentityType$b as WebhookIdentityType, WeightUnit$4 as WeightUnit, type index_d$e__publicOnCheckoutTemplateCreatedType as _publicOnCheckoutTemplateCreatedType, type index_d$e__publicOnCheckoutTemplateDeletedType as _publicOnCheckoutTemplateDeletedType, type index_d$e__publicOnCheckoutTemplateUpdatedType as _publicOnCheckoutTemplateUpdatedType, type index_d$e__publicOnCheckoutTemplateUsedType as _publicOnCheckoutTemplateUsedType, index_d$e_createAndRedirectToCheckout as createAndRedirectToCheckout, index_d$e_createCheckoutFromTemplate as createCheckoutFromTemplate, index_d$e_createCheckoutTemplate as createCheckoutTemplate, index_d$e_deleteCheckoutTemplate as deleteCheckoutTemplate, index_d$e_getCheckoutTemplate as getCheckoutTemplate, index_d$e_onCheckoutTemplateCreated as onCheckoutTemplateCreated, index_d$e_onCheckoutTemplateDeleted as onCheckoutTemplateDeleted, index_d$e_onCheckoutTemplateUpdated as onCheckoutTemplateUpdated, index_d$e_onCheckoutTemplateUsed as onCheckoutTemplateUsed, onCheckoutTemplateCreated$1 as publicOnCheckoutTemplateCreated, onCheckoutTemplateDeleted$1 as publicOnCheckoutTemplateDeleted, onCheckoutTemplateUpdated$1 as publicOnCheckoutTemplateUpdated, onCheckoutTemplateUsed$1 as publicOnCheckoutTemplateUsed, index_d$e_queryCheckoutTemplates as queryCheckoutTemplates, index_d$e_updateCheckoutTemplate as updateCheckoutTemplate };
|
|
15708
15708
|
}
|
|
15709
15709
|
|
|
15710
15710
|
/**
|
|
@@ -15952,7 +15952,7 @@ interface Cursors$7 {
|
|
|
15952
15952
|
/** Cursor pointing to the previous page in the list of results. */
|
|
15953
15953
|
prev?: string | null;
|
|
15954
15954
|
}
|
|
15955
|
-
interface AddDeliveryRegionRequest {
|
|
15955
|
+
interface AddDeliveryRegionRequest$1 {
|
|
15956
15956
|
/** delivery profile id to associated with the DeliveryRegion */
|
|
15957
15957
|
deliveryProfileId: string;
|
|
15958
15958
|
/** DeliveryRegion to be created */
|
|
@@ -15963,7 +15963,7 @@ interface AddDeliveryRegionRequest {
|
|
|
15963
15963
|
*/
|
|
15964
15964
|
revision?: string | null;
|
|
15965
15965
|
}
|
|
15966
|
-
interface AddDeliveryRegionResponse {
|
|
15966
|
+
interface AddDeliveryRegionResponse$1 {
|
|
15967
15967
|
/** The updated DeliveryProfile with the new DeliveryRegion */
|
|
15968
15968
|
deliveryProfile?: DeliveryProfile;
|
|
15969
15969
|
}
|
|
@@ -16007,7 +16007,7 @@ interface DeliveryRegionUpdated {
|
|
|
16007
16007
|
*/
|
|
16008
16008
|
_createdDate?: Date;
|
|
16009
16009
|
}
|
|
16010
|
-
interface RemoveDeliveryRegionRequest {
|
|
16010
|
+
interface RemoveDeliveryRegionRequest$1 {
|
|
16011
16011
|
/** DeliveryProfile id that owns the DeliveryRegion */
|
|
16012
16012
|
deliveryProfileId: string;
|
|
16013
16013
|
/** Id of the DeliveryRegion to delete */
|
|
@@ -16018,7 +16018,7 @@ interface RemoveDeliveryRegionRequest {
|
|
|
16018
16018
|
*/
|
|
16019
16019
|
revision?: string | null;
|
|
16020
16020
|
}
|
|
16021
|
-
interface RemoveDeliveryRegionResponse {
|
|
16021
|
+
interface RemoveDeliveryRegionResponse$1 {
|
|
16022
16022
|
/** The updated DeliveryProfile without DeliveryRegion */
|
|
16023
16023
|
deliveryProfile?: DeliveryProfile;
|
|
16024
16024
|
}
|
|
@@ -16587,13 +16587,13 @@ interface UpdateDeliveryProfileResponseNonNullableFields {
|
|
|
16587
16587
|
interface QueryDeliveryProfilesResponseNonNullableFields {
|
|
16588
16588
|
deliveryProfiles: DeliveryProfileNonNullableFields[];
|
|
16589
16589
|
}
|
|
16590
|
-
interface AddDeliveryRegionResponseNonNullableFields {
|
|
16590
|
+
interface AddDeliveryRegionResponseNonNullableFields$1 {
|
|
16591
16591
|
deliveryProfile?: DeliveryProfileNonNullableFields;
|
|
16592
16592
|
}
|
|
16593
16593
|
interface UpdateDeliveryRegionResponseNonNullableFields {
|
|
16594
16594
|
deliveryProfile?: DeliveryProfileNonNullableFields;
|
|
16595
16595
|
}
|
|
16596
|
-
interface RemoveDeliveryRegionResponseNonNullableFields {
|
|
16596
|
+
interface RemoveDeliveryRegionResponseNonNullableFields$1 {
|
|
16597
16597
|
deliveryProfile?: DeliveryProfileNonNullableFields;
|
|
16598
16598
|
}
|
|
16599
16599
|
interface AddDeliveryCarrierResponseNonNullableFields {
|
|
@@ -16654,7 +16654,7 @@ interface ListDeliveryCarriersResponseNonNullableFields {
|
|
|
16654
16654
|
interface UpdateExtendedFieldsResponseNonNullableFields$3 {
|
|
16655
16655
|
deliveryProfile?: DeliveryProfileNonNullableFields;
|
|
16656
16656
|
}
|
|
16657
|
-
interface BaseEventMetadata$
|
|
16657
|
+
interface BaseEventMetadata$7 {
|
|
16658
16658
|
/** App instance ID. */
|
|
16659
16659
|
instanceId?: string | null;
|
|
16660
16660
|
/** Event type. */
|
|
@@ -16662,7 +16662,7 @@ interface BaseEventMetadata$8 {
|
|
|
16662
16662
|
/** The identification type and identity data. */
|
|
16663
16663
|
identity?: IdentificationData$a;
|
|
16664
16664
|
}
|
|
16665
|
-
interface EventMetadata$
|
|
16665
|
+
interface EventMetadata$7 extends BaseEventMetadata$7 {
|
|
16666
16666
|
/**
|
|
16667
16667
|
* Unique event ID.
|
|
16668
16668
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -16702,27 +16702,27 @@ interface EventMetadata$8 extends BaseEventMetadata$8 {
|
|
|
16702
16702
|
}
|
|
16703
16703
|
interface DeliveryProfileCreatedEnvelope {
|
|
16704
16704
|
entity: DeliveryProfile;
|
|
16705
|
-
metadata: EventMetadata$
|
|
16705
|
+
metadata: EventMetadata$7;
|
|
16706
16706
|
}
|
|
16707
16707
|
interface DeliveryProfileDeliveryRegionAddedEnvelope {
|
|
16708
16708
|
data: DeliveryRegionAdded;
|
|
16709
|
-
metadata: EventMetadata$
|
|
16709
|
+
metadata: EventMetadata$7;
|
|
16710
16710
|
}
|
|
16711
16711
|
interface DeliveryProfileUpdatedEnvelope {
|
|
16712
16712
|
entity: DeliveryProfile;
|
|
16713
|
-
metadata: EventMetadata$
|
|
16713
|
+
metadata: EventMetadata$7;
|
|
16714
16714
|
}
|
|
16715
16715
|
interface DeliveryProfileDeletedEnvelope {
|
|
16716
16716
|
entity: DeliveryProfile;
|
|
16717
|
-
metadata: EventMetadata$
|
|
16717
|
+
metadata: EventMetadata$7;
|
|
16718
16718
|
}
|
|
16719
16719
|
interface DeliveryProfileDeliveryRegionRemovedEnvelope {
|
|
16720
16720
|
data: DeliveryRegionRemoved;
|
|
16721
|
-
metadata: EventMetadata$
|
|
16721
|
+
metadata: EventMetadata$7;
|
|
16722
16722
|
}
|
|
16723
16723
|
interface DeliveryProfileDeliveryRegionUpdatedEnvelope {
|
|
16724
16724
|
data: DeliveryRegionUpdated;
|
|
16725
|
-
metadata: EventMetadata$
|
|
16725
|
+
metadata: EventMetadata$7;
|
|
16726
16726
|
}
|
|
16727
16727
|
interface UpdateDeliveryProfile {
|
|
16728
16728
|
/**
|
|
@@ -16834,7 +16834,7 @@ interface DeliveryProfilesQueryBuilder {
|
|
|
16834
16834
|
/** @documentationMaturity preview */
|
|
16835
16835
|
find: () => Promise<DeliveryProfilesQueryResult>;
|
|
16836
16836
|
}
|
|
16837
|
-
interface AddDeliveryRegionOptions {
|
|
16837
|
+
interface AddDeliveryRegionOptions$1 {
|
|
16838
16838
|
/**
|
|
16839
16839
|
* DeliveryProfile revision.
|
|
16840
16840
|
* @readonly
|
|
@@ -16886,7 +16886,7 @@ interface RemoveDeliveryRegionIdentifiers {
|
|
|
16886
16886
|
/** Id of the DeliveryRegion to delete */
|
|
16887
16887
|
deliveryRegionId: string;
|
|
16888
16888
|
}
|
|
16889
|
-
interface RemoveDeliveryRegionOptions {
|
|
16889
|
+
interface RemoveDeliveryRegionOptions$1 {
|
|
16890
16890
|
/**
|
|
16891
16891
|
* DeliveryProfile revision.
|
|
16892
16892
|
* @readonly
|
|
@@ -16977,14 +16977,14 @@ interface QueryDeliveryProfilesSignature {
|
|
|
16977
16977
|
*/
|
|
16978
16978
|
(): DeliveryProfilesQueryBuilder;
|
|
16979
16979
|
}
|
|
16980
|
-
declare function addDeliveryRegion$
|
|
16981
|
-
interface AddDeliveryRegionSignature {
|
|
16980
|
+
declare function addDeliveryRegion$3(httpClient: HttpClient): AddDeliveryRegionSignature$1;
|
|
16981
|
+
interface AddDeliveryRegionSignature$1 {
|
|
16982
16982
|
/**
|
|
16983
16983
|
* Creates a new DeliveryRegion in an existing DeliveryProfile.
|
|
16984
16984
|
* @param - delivery profile id to associated with the DeliveryRegion
|
|
16985
16985
|
* @param - DeliveryRegion to be created
|
|
16986
16986
|
*/
|
|
16987
|
-
(deliveryProfileId: string, deliveryRegion: DeliveryRegion, options?: AddDeliveryRegionOptions | undefined): Promise<AddDeliveryRegionResponse & AddDeliveryRegionResponseNonNullableFields>;
|
|
16987
|
+
(deliveryProfileId: string, deliveryRegion: DeliveryRegion, options?: AddDeliveryRegionOptions$1 | undefined): Promise<AddDeliveryRegionResponse$1 & AddDeliveryRegionResponseNonNullableFields$1>;
|
|
16988
16988
|
}
|
|
16989
16989
|
declare function updateDeliveryRegion$1(httpClient: HttpClient): UpdateDeliveryRegionSignature;
|
|
16990
16990
|
interface UpdateDeliveryRegionSignature {
|
|
@@ -16997,12 +16997,12 @@ interface UpdateDeliveryRegionSignature {
|
|
|
16997
16997
|
*/
|
|
16998
16998
|
(identifiers: UpdateDeliveryRegionIdentifiers, deliveryRegion: UpdateDeliveryRegion, options?: UpdateDeliveryRegionOptions | undefined): Promise<UpdateDeliveryRegionResponse & UpdateDeliveryRegionResponseNonNullableFields>;
|
|
16999
16999
|
}
|
|
17000
|
-
declare function removeDeliveryRegion$
|
|
17001
|
-
interface RemoveDeliveryRegionSignature {
|
|
17000
|
+
declare function removeDeliveryRegion$3(httpClient: HttpClient): RemoveDeliveryRegionSignature$1;
|
|
17001
|
+
interface RemoveDeliveryRegionSignature$1 {
|
|
17002
17002
|
/**
|
|
17003
17003
|
* Delete a DeliveryRegion
|
|
17004
17004
|
*/
|
|
17005
|
-
(identifiers: RemoveDeliveryRegionIdentifiers, options?: RemoveDeliveryRegionOptions | undefined): Promise<RemoveDeliveryRegionResponse & RemoveDeliveryRegionResponseNonNullableFields>;
|
|
17005
|
+
(identifiers: RemoveDeliveryRegionIdentifiers, options?: RemoveDeliveryRegionOptions$1 | undefined): Promise<RemoveDeliveryRegionResponse$1 & RemoveDeliveryRegionResponseNonNullableFields$1>;
|
|
17006
17006
|
}
|
|
17007
17007
|
declare function addDeliveryCarrier$1(httpClient: HttpClient): AddDeliveryCarrierSignature;
|
|
17008
17008
|
interface AddDeliveryCarrierSignature {
|
|
@@ -17053,23 +17053,23 @@ interface UpdateExtendedFieldsSignature$3 {
|
|
|
17053
17053
|
*/
|
|
17054
17054
|
(_id: string, namespace: string, options: UpdateExtendedFieldsOptions$3): Promise<UpdateExtendedFieldsResponse$4 & UpdateExtendedFieldsResponseNonNullableFields$3>;
|
|
17055
17055
|
}
|
|
17056
|
-
declare const onDeliveryProfileCreated$1: EventDefinition$
|
|
17057
|
-
declare const onDeliveryProfileDeliveryRegionAdded$1: EventDefinition$
|
|
17058
|
-
declare const onDeliveryProfileUpdated$1: EventDefinition$
|
|
17059
|
-
declare const onDeliveryProfileDeleted$1: EventDefinition$
|
|
17060
|
-
declare const onDeliveryProfileDeliveryRegionRemoved$1: EventDefinition$
|
|
17061
|
-
declare const onDeliveryProfileDeliveryRegionUpdated$1: EventDefinition$
|
|
17056
|
+
declare const onDeliveryProfileCreated$1: EventDefinition$g<DeliveryProfileCreatedEnvelope, "wix.ecom.v1.delivery_profile_created">;
|
|
17057
|
+
declare const onDeliveryProfileDeliveryRegionAdded$1: EventDefinition$g<DeliveryProfileDeliveryRegionAddedEnvelope, "wix.ecom.v1.delivery_profile_delivery_region_added">;
|
|
17058
|
+
declare const onDeliveryProfileUpdated$1: EventDefinition$g<DeliveryProfileUpdatedEnvelope, "wix.ecom.v1.delivery_profile_updated">;
|
|
17059
|
+
declare const onDeliveryProfileDeleted$1: EventDefinition$g<DeliveryProfileDeletedEnvelope, "wix.ecom.v1.delivery_profile_deleted">;
|
|
17060
|
+
declare const onDeliveryProfileDeliveryRegionRemoved$1: EventDefinition$g<DeliveryProfileDeliveryRegionRemovedEnvelope, "wix.ecom.v1.delivery_profile_delivery_region_removed">;
|
|
17061
|
+
declare const onDeliveryProfileDeliveryRegionUpdated$1: EventDefinition$g<DeliveryProfileDeliveryRegionUpdatedEnvelope, "wix.ecom.v1.delivery_profile_delivery_region_updated">;
|
|
17062
17062
|
|
|
17063
|
-
type EventDefinition$
|
|
17063
|
+
type EventDefinition$7<Payload = unknown, Type extends string = string> = {
|
|
17064
17064
|
__type: 'event-definition';
|
|
17065
17065
|
type: Type;
|
|
17066
17066
|
isDomainEvent?: boolean;
|
|
17067
17067
|
transformations?: (envelope: unknown) => Payload;
|
|
17068
17068
|
__payload: Payload;
|
|
17069
17069
|
};
|
|
17070
|
-
declare function EventDefinition$
|
|
17071
|
-
type EventHandler$
|
|
17072
|
-
type BuildEventDefinition$
|
|
17070
|
+
declare function EventDefinition$7<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition$7<Payload, Type>;
|
|
17071
|
+
type EventHandler$7<T extends EventDefinition$7> = (payload: T['__payload']) => void | Promise<void>;
|
|
17072
|
+
type BuildEventDefinition$7<T extends EventDefinition$7<any, string>> = (handler: EventHandler$7<T>) => void;
|
|
17073
17073
|
|
|
17074
17074
|
declare global {
|
|
17075
17075
|
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
@@ -17078,16 +17078,16 @@ declare global {
|
|
|
17078
17078
|
}
|
|
17079
17079
|
}
|
|
17080
17080
|
|
|
17081
|
-
declare function createEventModule$
|
|
17081
|
+
declare function createEventModule$7<T extends EventDefinition$7<any, string>>(eventDefinition: T): BuildEventDefinition$7<T> & T;
|
|
17082
17082
|
|
|
17083
17083
|
declare const createDeliveryProfile: MaybeContext<BuildRESTFunction<typeof createDeliveryProfile$1> & typeof createDeliveryProfile$1>;
|
|
17084
17084
|
declare const getDeliveryProfile: MaybeContext<BuildRESTFunction<typeof getDeliveryProfile$1> & typeof getDeliveryProfile$1>;
|
|
17085
17085
|
declare const updateDeliveryProfile: MaybeContext<BuildRESTFunction<typeof updateDeliveryProfile$1> & typeof updateDeliveryProfile$1>;
|
|
17086
17086
|
declare const deleteDeliveryProfile: MaybeContext<BuildRESTFunction<typeof deleteDeliveryProfile$1> & typeof deleteDeliveryProfile$1>;
|
|
17087
17087
|
declare const queryDeliveryProfiles: MaybeContext<BuildRESTFunction<typeof queryDeliveryProfiles$1> & typeof queryDeliveryProfiles$1>;
|
|
17088
|
-
declare const addDeliveryRegion: MaybeContext<BuildRESTFunction<typeof addDeliveryRegion$
|
|
17088
|
+
declare const addDeliveryRegion$2: MaybeContext<BuildRESTFunction<typeof addDeliveryRegion$3> & typeof addDeliveryRegion$3>;
|
|
17089
17089
|
declare const updateDeliveryRegion: MaybeContext<BuildRESTFunction<typeof updateDeliveryRegion$1> & typeof updateDeliveryRegion$1>;
|
|
17090
|
-
declare const removeDeliveryRegion: MaybeContext<BuildRESTFunction<typeof removeDeliveryRegion$
|
|
17090
|
+
declare const removeDeliveryRegion$2: MaybeContext<BuildRESTFunction<typeof removeDeliveryRegion$3> & typeof removeDeliveryRegion$3>;
|
|
17091
17091
|
declare const addDeliveryCarrier: MaybeContext<BuildRESTFunction<typeof addDeliveryCarrier$1> & typeof addDeliveryCarrier$1>;
|
|
17092
17092
|
declare const removeDeliveryCarrier: MaybeContext<BuildRESTFunction<typeof removeDeliveryCarrier$1> & typeof removeDeliveryCarrier$1>;
|
|
17093
17093
|
declare const updateDeliveryCarrier: MaybeContext<BuildRESTFunction<typeof updateDeliveryCarrier$1> & typeof updateDeliveryCarrier$1>;
|
|
@@ -17097,44 +17097,40 @@ declare const updateExtendedFields$6: MaybeContext<BuildRESTFunction<typeof upda
|
|
|
17097
17097
|
|
|
17098
17098
|
type _publicOnDeliveryProfileCreatedType = typeof onDeliveryProfileCreated$1;
|
|
17099
17099
|
/** */
|
|
17100
|
-
declare const onDeliveryProfileCreated: ReturnType<typeof createEventModule$
|
|
17100
|
+
declare const onDeliveryProfileCreated: ReturnType<typeof createEventModule$7<_publicOnDeliveryProfileCreatedType>>;
|
|
17101
17101
|
|
|
17102
17102
|
type _publicOnDeliveryProfileDeliveryRegionAddedType = typeof onDeliveryProfileDeliveryRegionAdded$1;
|
|
17103
17103
|
/**
|
|
17104
17104
|
* Triggered when a delivery_region is added to a delivery_profile.
|
|
17105
17105
|
*/
|
|
17106
|
-
declare const onDeliveryProfileDeliveryRegionAdded: ReturnType<typeof createEventModule$
|
|
17106
|
+
declare const onDeliveryProfileDeliveryRegionAdded: ReturnType<typeof createEventModule$7<_publicOnDeliveryProfileDeliveryRegionAddedType>>;
|
|
17107
17107
|
|
|
17108
17108
|
type _publicOnDeliveryProfileUpdatedType = typeof onDeliveryProfileUpdated$1;
|
|
17109
17109
|
/**
|
|
17110
17110
|
* Triggered when the delivery_carrier updated successfully
|
|
17111
17111
|
*/
|
|
17112
|
-
declare const onDeliveryProfileUpdated: ReturnType<typeof createEventModule$
|
|
17112
|
+
declare const onDeliveryProfileUpdated: ReturnType<typeof createEventModule$7<_publicOnDeliveryProfileUpdatedType>>;
|
|
17113
17113
|
|
|
17114
17114
|
type _publicOnDeliveryProfileDeletedType = typeof onDeliveryProfileDeleted$1;
|
|
17115
17115
|
/** */
|
|
17116
|
-
declare const onDeliveryProfileDeleted: ReturnType<typeof createEventModule$
|
|
17116
|
+
declare const onDeliveryProfileDeleted: ReturnType<typeof createEventModule$7<_publicOnDeliveryProfileDeletedType>>;
|
|
17117
17117
|
|
|
17118
17118
|
type _publicOnDeliveryProfileDeliveryRegionRemovedType = typeof onDeliveryProfileDeliveryRegionRemoved$1;
|
|
17119
17119
|
/**
|
|
17120
17120
|
* Triggered for each delivery_region assigned to the deleted delivery_profile
|
|
17121
17121
|
*/
|
|
17122
|
-
declare const onDeliveryProfileDeliveryRegionRemoved: ReturnType<typeof createEventModule$
|
|
17122
|
+
declare const onDeliveryProfileDeliveryRegionRemoved: ReturnType<typeof createEventModule$7<_publicOnDeliveryProfileDeliveryRegionRemovedType>>;
|
|
17123
17123
|
|
|
17124
17124
|
type _publicOnDeliveryProfileDeliveryRegionUpdatedType = typeof onDeliveryProfileDeliveryRegionUpdated$1;
|
|
17125
17125
|
/**
|
|
17126
17126
|
* Triggered when the delivery_carrier updated successfully
|
|
17127
17127
|
*/
|
|
17128
|
-
declare const onDeliveryProfileDeliveryRegionUpdated: ReturnType<typeof createEventModule$
|
|
17128
|
+
declare const onDeliveryProfileDeliveryRegionUpdated: ReturnType<typeof createEventModule$7<_publicOnDeliveryProfileDeliveryRegionUpdatedType>>;
|
|
17129
17129
|
|
|
17130
17130
|
type index_d$d_AddDeliveryCarrierOptions = AddDeliveryCarrierOptions;
|
|
17131
17131
|
type index_d$d_AddDeliveryCarrierRequest = AddDeliveryCarrierRequest;
|
|
17132
17132
|
type index_d$d_AddDeliveryCarrierResponse = AddDeliveryCarrierResponse;
|
|
17133
17133
|
type index_d$d_AddDeliveryCarrierResponseNonNullableFields = AddDeliveryCarrierResponseNonNullableFields;
|
|
17134
|
-
type index_d$d_AddDeliveryRegionOptions = AddDeliveryRegionOptions;
|
|
17135
|
-
type index_d$d_AddDeliveryRegionRequest = AddDeliveryRegionRequest;
|
|
17136
|
-
type index_d$d_AddDeliveryRegionResponse = AddDeliveryRegionResponse;
|
|
17137
|
-
type index_d$d_AddDeliveryRegionResponseNonNullableFields = AddDeliveryRegionResponseNonNullableFields;
|
|
17138
17134
|
type index_d$d_AdditionalCharge = AdditionalCharge;
|
|
17139
17135
|
type index_d$d_Asset = Asset;
|
|
17140
17136
|
type index_d$d_BackupRate = BackupRate;
|
|
@@ -17187,10 +17183,6 @@ type index_d$d_RemoveDeliveryCarrierRequest = RemoveDeliveryCarrierRequest;
|
|
|
17187
17183
|
type index_d$d_RemoveDeliveryCarrierResponse = RemoveDeliveryCarrierResponse;
|
|
17188
17184
|
type index_d$d_RemoveDeliveryCarrierResponseNonNullableFields = RemoveDeliveryCarrierResponseNonNullableFields;
|
|
17189
17185
|
type index_d$d_RemoveDeliveryRegionIdentifiers = RemoveDeliveryRegionIdentifiers;
|
|
17190
|
-
type index_d$d_RemoveDeliveryRegionOptions = RemoveDeliveryRegionOptions;
|
|
17191
|
-
type index_d$d_RemoveDeliveryRegionRequest = RemoveDeliveryRegionRequest;
|
|
17192
|
-
type index_d$d_RemoveDeliveryRegionResponse = RemoveDeliveryRegionResponse;
|
|
17193
|
-
type index_d$d_RemoveDeliveryRegionResponseNonNullableFields = RemoveDeliveryRegionResponseNonNullableFields;
|
|
17194
17186
|
type index_d$d_Row = Row;
|
|
17195
17187
|
type index_d$d_ServiceProvisioned = ServiceProvisioned;
|
|
17196
17188
|
type index_d$d_ServiceRemoved = ServiceRemoved;
|
|
@@ -17229,7 +17221,6 @@ type index_d$d__publicOnDeliveryProfileDeliveryRegionRemovedType = _publicOnDeli
|
|
|
17229
17221
|
type index_d$d__publicOnDeliveryProfileDeliveryRegionUpdatedType = _publicOnDeliveryProfileDeliveryRegionUpdatedType;
|
|
17230
17222
|
type index_d$d__publicOnDeliveryProfileUpdatedType = _publicOnDeliveryProfileUpdatedType;
|
|
17231
17223
|
declare const index_d$d_addDeliveryCarrier: typeof addDeliveryCarrier;
|
|
17232
|
-
declare const index_d$d_addDeliveryRegion: typeof addDeliveryRegion;
|
|
17233
17224
|
declare const index_d$d_createDeliveryProfile: typeof createDeliveryProfile;
|
|
17234
17225
|
declare const index_d$d_deleteDeliveryProfile: typeof deleteDeliveryProfile;
|
|
17235
17226
|
declare const index_d$d_getDeliveryProfile: typeof getDeliveryProfile;
|
|
@@ -17243,12 +17234,11 @@ declare const index_d$d_onDeliveryProfileDeliveryRegionUpdated: typeof onDeliver
|
|
|
17243
17234
|
declare const index_d$d_onDeliveryProfileUpdated: typeof onDeliveryProfileUpdated;
|
|
17244
17235
|
declare const index_d$d_queryDeliveryProfiles: typeof queryDeliveryProfiles;
|
|
17245
17236
|
declare const index_d$d_removeDeliveryCarrier: typeof removeDeliveryCarrier;
|
|
17246
|
-
declare const index_d$d_removeDeliveryRegion: typeof removeDeliveryRegion;
|
|
17247
17237
|
declare const index_d$d_updateDeliveryCarrier: typeof updateDeliveryCarrier;
|
|
17248
17238
|
declare const index_d$d_updateDeliveryProfile: typeof updateDeliveryProfile;
|
|
17249
17239
|
declare const index_d$d_updateDeliveryRegion: typeof updateDeliveryRegion;
|
|
17250
17240
|
declare namespace index_d$d {
|
|
17251
|
-
export { type ActionEvent$a as ActionEvent, type index_d$d_AddDeliveryCarrierOptions as AddDeliveryCarrierOptions, type index_d$d_AddDeliveryCarrierRequest as AddDeliveryCarrierRequest, type index_d$d_AddDeliveryCarrierResponse as AddDeliveryCarrierResponse, type index_d$d_AddDeliveryCarrierResponseNonNullableFields as AddDeliveryCarrierResponseNonNullableFields, type index_d$d_AddDeliveryRegionOptions as AddDeliveryRegionOptions, type index_d$d_AddDeliveryRegionRequest as AddDeliveryRegionRequest, type index_d$d_AddDeliveryRegionResponse as AddDeliveryRegionResponse, type index_d$d_AddDeliveryRegionResponseNonNullableFields as AddDeliveryRegionResponseNonNullableFields, type index_d$d_AdditionalCharge as AdditionalCharge, type ApplicationError$6 as ApplicationError, type index_d$d_Asset as Asset, type index_d$d_BackupRate as BackupRate, type BaseEventMetadata$8 as BaseEventMetadata, type BulkActionMetadata$3 as BulkActionMetadata, ChargeType$1 as ChargeType, type index_d$d_Column as Column, type index_d$d_CreateDeliveryProfileRequest as CreateDeliveryProfileRequest, type index_d$d_CreateDeliveryProfileResponse as CreateDeliveryProfileResponse, type index_d$d_CreateDeliveryProfileResponseNonNullableFields as CreateDeliveryProfileResponseNonNullableFields, type CursorPaging$7 as CursorPaging, type CursorPagingMetadata$7 as CursorPagingMetadata, type CursorQuery$5 as CursorQuery, type CursorQueryPagingMethodOneOf$5 as CursorQueryPagingMethodOneOf, type Cursors$7 as Cursors, type index_d$d_DashboardTable as DashboardTable, type index_d$d_DeleteContext as DeleteContext, type index_d$d_DeleteDeliveryProfileRequest as DeleteDeliveryProfileRequest, type index_d$d_DeleteDeliveryProfileResponse as DeleteDeliveryProfileResponse, index_d$d_DeleteStatus as DeleteStatus, type index_d$d_DeliveryCarrier as DeliveryCarrier, type index_d$d_DeliveryCarrierDetails as DeliveryCarrierDetails, type index_d$d_DeliveryCarrierRegionalSettings as DeliveryCarrierRegionalSettings, type index_d$d_DeliveryProfile as DeliveryProfile, type index_d$d_DeliveryProfileCreatedEnvelope as DeliveryProfileCreatedEnvelope, type index_d$d_DeliveryProfileDeletedEnvelope as DeliveryProfileDeletedEnvelope, type index_d$d_DeliveryProfileDeliveryRegionAddedEnvelope as DeliveryProfileDeliveryRegionAddedEnvelope, type index_d$d_DeliveryProfileDeliveryRegionRemovedEnvelope as DeliveryProfileDeliveryRegionRemovedEnvelope, type index_d$d_DeliveryProfileDeliveryRegionUpdatedEnvelope as DeliveryProfileDeliveryRegionUpdatedEnvelope, type index_d$d_DeliveryProfileNonNullableFields as DeliveryProfileNonNullableFields, type index_d$d_DeliveryProfileUpdatedEnvelope as DeliveryProfileUpdatedEnvelope, type index_d$d_DeliveryProfilesQueryBuilder as DeliveryProfilesQueryBuilder, type index_d$d_DeliveryProfilesQueryResult as DeliveryProfilesQueryResult, type index_d$d_DeliveryRegion as DeliveryRegion, type index_d$d_DeliveryRegionAdded as DeliveryRegionAdded, type index_d$d_DeliveryRegionRemoved as DeliveryRegionRemoved, type index_d$d_DeliveryRegionUpdated as DeliveryRegionUpdated, type Destination$1 as Destination, type DomainEvent$a as DomainEvent, type DomainEventBodyOneOf$a as DomainEventBodyOneOf, type Empty$6 as Empty, type EntityCreatedEvent$a as EntityCreatedEvent, type EntityDeletedEvent$a as EntityDeletedEvent, type EntityUpdatedEvent$a as EntityUpdatedEvent, type EventMetadata$8 as EventMetadata, type ExtendedFields$5 as ExtendedFields, type index_d$d_GetDeliveryProfileRequest as GetDeliveryProfileRequest, type index_d$d_GetDeliveryProfileResponse as GetDeliveryProfileResponse, type index_d$d_GetDeliveryProfileResponseNonNullableFields as GetDeliveryProfileResponseNonNullableFields, type IdentificationData$a as IdentificationData, type IdentificationDataIdOneOf$a as IdentificationDataIdOneOf, type ItemMetadata$3 as ItemMetadata, type index_d$d_ListDeliveryCarrierDetailsRequest as ListDeliveryCarrierDetailsRequest, type index_d$d_ListDeliveryCarrierDetailsResponse as ListDeliveryCarrierDetailsResponse, type index_d$d_ListDeliveryCarrierDetailsResponseNonNullableFields as ListDeliveryCarrierDetailsResponseNonNullableFields, type index_d$d_ListDeliveryCarriersOptions as ListDeliveryCarriersOptions, type index_d$d_ListDeliveryCarriersRequest as ListDeliveryCarriersRequest, type index_d$d_ListDeliveryCarriersResponse as ListDeliveryCarriersResponse, type index_d$d_ListDeliveryCarriersResponseNonNullableFields as ListDeliveryCarriersResponseNonNullableFields, type index_d$d_ListDeliveryCarriersResult as ListDeliveryCarriersResult, type MessageEnvelope$a as MessageEnvelope, type index_d$d_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type index_d$d_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, Namespace$1 as Namespace, type index_d$d_NamespaceChanged as NamespaceChanged, type index_d$d_QueryDeliveryProfilesRequest as QueryDeliveryProfilesRequest, type index_d$d_QueryDeliveryProfilesResponse as QueryDeliveryProfilesResponse, type index_d$d_QueryDeliveryProfilesResponseNonNullableFields as QueryDeliveryProfilesResponseNonNullableFields, type index_d$d_RemoveDeliveryCarrierOptions as RemoveDeliveryCarrierOptions, type index_d$d_RemoveDeliveryCarrierRequest as RemoveDeliveryCarrierRequest, type index_d$d_RemoveDeliveryCarrierResponse as RemoveDeliveryCarrierResponse, type index_d$d_RemoveDeliveryCarrierResponseNonNullableFields as RemoveDeliveryCarrierResponseNonNullableFields, type index_d$d_RemoveDeliveryRegionIdentifiers as RemoveDeliveryRegionIdentifiers, type index_d$d_RemoveDeliveryRegionOptions as RemoveDeliveryRegionOptions, type index_d$d_RemoveDeliveryRegionRequest as RemoveDeliveryRegionRequest, type index_d$d_RemoveDeliveryRegionResponse as RemoveDeliveryRegionResponse, type index_d$d_RemoveDeliveryRegionResponseNonNullableFields as RemoveDeliveryRegionResponseNonNullableFields, type RestoreInfo$a as RestoreInfo, type index_d$d_Row as Row, type index_d$d_ServiceProvisioned as ServiceProvisioned, type index_d$d_ServiceRemoved as ServiceRemoved, type index_d$d_SiteCreated as SiteCreated, index_d$d_SiteCreatedContext as SiteCreatedContext, type index_d$d_SiteDeleted as SiteDeleted, type index_d$d_SiteHardDeleted as SiteHardDeleted, type index_d$d_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type index_d$d_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type index_d$d_SitePublished as SitePublished, type index_d$d_SiteRenamed as SiteRenamed, type index_d$d_SiteTransferred as SiteTransferred, type index_d$d_SiteUndeleted as SiteUndeleted, type index_d$d_SiteUnpublished as SiteUnpublished, SortOrder$7 as SortOrder, type Sorting$7 as Sorting, State$1 as State, type index_d$d_StudioAssigned as StudioAssigned, type index_d$d_StudioUnassigned as StudioUnassigned, type index_d$d_UpdateDeliveryCarrierOptions as UpdateDeliveryCarrierOptions, type index_d$d_UpdateDeliveryCarrierRequest as UpdateDeliveryCarrierRequest, type index_d$d_UpdateDeliveryCarrierResponse as UpdateDeliveryCarrierResponse, type index_d$d_UpdateDeliveryCarrierResponseNonNullableFields as UpdateDeliveryCarrierResponseNonNullableFields, type index_d$d_UpdateDeliveryProfile as UpdateDeliveryProfile, type index_d$d_UpdateDeliveryProfileRequest as UpdateDeliveryProfileRequest, type index_d$d_UpdateDeliveryProfileResponse as UpdateDeliveryProfileResponse, type index_d$d_UpdateDeliveryProfileResponseNonNullableFields as UpdateDeliveryProfileResponseNonNullableFields, type index_d$d_UpdateDeliveryRegion as UpdateDeliveryRegion, type index_d$d_UpdateDeliveryRegionIdentifiers as UpdateDeliveryRegionIdentifiers, type index_d$d_UpdateDeliveryRegionOptions as UpdateDeliveryRegionOptions, type index_d$d_UpdateDeliveryRegionRequest as UpdateDeliveryRegionRequest, type index_d$d_UpdateDeliveryRegionResponse as UpdateDeliveryRegionResponse, type index_d$d_UpdateDeliveryRegionResponseNonNullableFields as UpdateDeliveryRegionResponseNonNullableFields, type UpdateExtendedFieldsOptions$3 as UpdateExtendedFieldsOptions, type UpdateExtendedFieldsRequest$4 as UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse$4 as UpdateExtendedFieldsResponse, type UpdateExtendedFieldsResponseNonNullableFields$3 as UpdateExtendedFieldsResponseNonNullableFields, WebhookIdentityType$a as WebhookIdentityType, type index_d$d__publicOnDeliveryProfileCreatedType as _publicOnDeliveryProfileCreatedType, type index_d$d__publicOnDeliveryProfileDeletedType as _publicOnDeliveryProfileDeletedType, type index_d$d__publicOnDeliveryProfileDeliveryRegionAddedType as _publicOnDeliveryProfileDeliveryRegionAddedType, type index_d$d__publicOnDeliveryProfileDeliveryRegionRemovedType as _publicOnDeliveryProfileDeliveryRegionRemovedType, type index_d$d__publicOnDeliveryProfileDeliveryRegionUpdatedType as _publicOnDeliveryProfileDeliveryRegionUpdatedType, type index_d$d__publicOnDeliveryProfileUpdatedType as _publicOnDeliveryProfileUpdatedType, index_d$d_addDeliveryCarrier as addDeliveryCarrier, index_d$d_addDeliveryRegion as addDeliveryRegion, index_d$d_createDeliveryProfile as createDeliveryProfile, index_d$d_deleteDeliveryProfile as deleteDeliveryProfile, index_d$d_getDeliveryProfile as getDeliveryProfile, index_d$d_listDeliveryCarrierDetails as listDeliveryCarrierDetails, index_d$d_listDeliveryCarriers as listDeliveryCarriers, index_d$d_onDeliveryProfileCreated as onDeliveryProfileCreated, index_d$d_onDeliveryProfileDeleted as onDeliveryProfileDeleted, index_d$d_onDeliveryProfileDeliveryRegionAdded as onDeliveryProfileDeliveryRegionAdded, index_d$d_onDeliveryProfileDeliveryRegionRemoved as onDeliveryProfileDeliveryRegionRemoved, index_d$d_onDeliveryProfileDeliveryRegionUpdated as onDeliveryProfileDeliveryRegionUpdated, index_d$d_onDeliveryProfileUpdated as onDeliveryProfileUpdated, onDeliveryProfileCreated$1 as publicOnDeliveryProfileCreated, onDeliveryProfileDeleted$1 as publicOnDeliveryProfileDeleted, onDeliveryProfileDeliveryRegionAdded$1 as publicOnDeliveryProfileDeliveryRegionAdded, onDeliveryProfileDeliveryRegionRemoved$1 as publicOnDeliveryProfileDeliveryRegionRemoved, onDeliveryProfileDeliveryRegionUpdated$1 as publicOnDeliveryProfileDeliveryRegionUpdated, onDeliveryProfileUpdated$1 as publicOnDeliveryProfileUpdated, index_d$d_queryDeliveryProfiles as queryDeliveryProfiles, index_d$d_removeDeliveryCarrier as removeDeliveryCarrier, index_d$d_removeDeliveryRegion as removeDeliveryRegion, index_d$d_updateDeliveryCarrier as updateDeliveryCarrier, index_d$d_updateDeliveryProfile as updateDeliveryProfile, index_d$d_updateDeliveryRegion as updateDeliveryRegion, updateExtendedFields$6 as updateExtendedFields };
|
|
17241
|
+
export { type ActionEvent$a as ActionEvent, type index_d$d_AddDeliveryCarrierOptions as AddDeliveryCarrierOptions, type index_d$d_AddDeliveryCarrierRequest as AddDeliveryCarrierRequest, type index_d$d_AddDeliveryCarrierResponse as AddDeliveryCarrierResponse, type index_d$d_AddDeliveryCarrierResponseNonNullableFields as AddDeliveryCarrierResponseNonNullableFields, type AddDeliveryRegionOptions$1 as AddDeliveryRegionOptions, type AddDeliveryRegionRequest$1 as AddDeliveryRegionRequest, type AddDeliveryRegionResponse$1 as AddDeliveryRegionResponse, type AddDeliveryRegionResponseNonNullableFields$1 as AddDeliveryRegionResponseNonNullableFields, type index_d$d_AdditionalCharge as AdditionalCharge, type ApplicationError$6 as ApplicationError, type index_d$d_Asset as Asset, type index_d$d_BackupRate as BackupRate, type BaseEventMetadata$7 as BaseEventMetadata, type BulkActionMetadata$3 as BulkActionMetadata, ChargeType$1 as ChargeType, type index_d$d_Column as Column, type index_d$d_CreateDeliveryProfileRequest as CreateDeliveryProfileRequest, type index_d$d_CreateDeliveryProfileResponse as CreateDeliveryProfileResponse, type index_d$d_CreateDeliveryProfileResponseNonNullableFields as CreateDeliveryProfileResponseNonNullableFields, type CursorPaging$7 as CursorPaging, type CursorPagingMetadata$7 as CursorPagingMetadata, type CursorQuery$5 as CursorQuery, type CursorQueryPagingMethodOneOf$5 as CursorQueryPagingMethodOneOf, type Cursors$7 as Cursors, type index_d$d_DashboardTable as DashboardTable, type index_d$d_DeleteContext as DeleteContext, type index_d$d_DeleteDeliveryProfileRequest as DeleteDeliveryProfileRequest, type index_d$d_DeleteDeliveryProfileResponse as DeleteDeliveryProfileResponse, index_d$d_DeleteStatus as DeleteStatus, type index_d$d_DeliveryCarrier as DeliveryCarrier, type index_d$d_DeliveryCarrierDetails as DeliveryCarrierDetails, type index_d$d_DeliveryCarrierRegionalSettings as DeliveryCarrierRegionalSettings, type index_d$d_DeliveryProfile as DeliveryProfile, type index_d$d_DeliveryProfileCreatedEnvelope as DeliveryProfileCreatedEnvelope, type index_d$d_DeliveryProfileDeletedEnvelope as DeliveryProfileDeletedEnvelope, type index_d$d_DeliveryProfileDeliveryRegionAddedEnvelope as DeliveryProfileDeliveryRegionAddedEnvelope, type index_d$d_DeliveryProfileDeliveryRegionRemovedEnvelope as DeliveryProfileDeliveryRegionRemovedEnvelope, type index_d$d_DeliveryProfileDeliveryRegionUpdatedEnvelope as DeliveryProfileDeliveryRegionUpdatedEnvelope, type index_d$d_DeliveryProfileNonNullableFields as DeliveryProfileNonNullableFields, type index_d$d_DeliveryProfileUpdatedEnvelope as DeliveryProfileUpdatedEnvelope, type index_d$d_DeliveryProfilesQueryBuilder as DeliveryProfilesQueryBuilder, type index_d$d_DeliveryProfilesQueryResult as DeliveryProfilesQueryResult, type index_d$d_DeliveryRegion as DeliveryRegion, type index_d$d_DeliveryRegionAdded as DeliveryRegionAdded, type index_d$d_DeliveryRegionRemoved as DeliveryRegionRemoved, type index_d$d_DeliveryRegionUpdated as DeliveryRegionUpdated, type Destination$1 as Destination, type DomainEvent$a as DomainEvent, type DomainEventBodyOneOf$a as DomainEventBodyOneOf, type Empty$6 as Empty, type EntityCreatedEvent$a as EntityCreatedEvent, type EntityDeletedEvent$a as EntityDeletedEvent, type EntityUpdatedEvent$a as EntityUpdatedEvent, type EventMetadata$7 as EventMetadata, type ExtendedFields$5 as ExtendedFields, type index_d$d_GetDeliveryProfileRequest as GetDeliveryProfileRequest, type index_d$d_GetDeliveryProfileResponse as GetDeliveryProfileResponse, type index_d$d_GetDeliveryProfileResponseNonNullableFields as GetDeliveryProfileResponseNonNullableFields, type IdentificationData$a as IdentificationData, type IdentificationDataIdOneOf$a as IdentificationDataIdOneOf, type ItemMetadata$3 as ItemMetadata, type index_d$d_ListDeliveryCarrierDetailsRequest as ListDeliveryCarrierDetailsRequest, type index_d$d_ListDeliveryCarrierDetailsResponse as ListDeliveryCarrierDetailsResponse, type index_d$d_ListDeliveryCarrierDetailsResponseNonNullableFields as ListDeliveryCarrierDetailsResponseNonNullableFields, type index_d$d_ListDeliveryCarriersOptions as ListDeliveryCarriersOptions, type index_d$d_ListDeliveryCarriersRequest as ListDeliveryCarriersRequest, type index_d$d_ListDeliveryCarriersResponse as ListDeliveryCarriersResponse, type index_d$d_ListDeliveryCarriersResponseNonNullableFields as ListDeliveryCarriersResponseNonNullableFields, type index_d$d_ListDeliveryCarriersResult as ListDeliveryCarriersResult, type MessageEnvelope$a as MessageEnvelope, type index_d$d_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type index_d$d_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, Namespace$1 as Namespace, type index_d$d_NamespaceChanged as NamespaceChanged, type index_d$d_QueryDeliveryProfilesRequest as QueryDeliveryProfilesRequest, type index_d$d_QueryDeliveryProfilesResponse as QueryDeliveryProfilesResponse, type index_d$d_QueryDeliveryProfilesResponseNonNullableFields as QueryDeliveryProfilesResponseNonNullableFields, type index_d$d_RemoveDeliveryCarrierOptions as RemoveDeliveryCarrierOptions, type index_d$d_RemoveDeliveryCarrierRequest as RemoveDeliveryCarrierRequest, type index_d$d_RemoveDeliveryCarrierResponse as RemoveDeliveryCarrierResponse, type index_d$d_RemoveDeliveryCarrierResponseNonNullableFields as RemoveDeliveryCarrierResponseNonNullableFields, type index_d$d_RemoveDeliveryRegionIdentifiers as RemoveDeliveryRegionIdentifiers, type RemoveDeliveryRegionOptions$1 as RemoveDeliveryRegionOptions, type RemoveDeliveryRegionRequest$1 as RemoveDeliveryRegionRequest, type RemoveDeliveryRegionResponse$1 as RemoveDeliveryRegionResponse, type RemoveDeliveryRegionResponseNonNullableFields$1 as RemoveDeliveryRegionResponseNonNullableFields, type RestoreInfo$a as RestoreInfo, type index_d$d_Row as Row, type index_d$d_ServiceProvisioned as ServiceProvisioned, type index_d$d_ServiceRemoved as ServiceRemoved, type index_d$d_SiteCreated as SiteCreated, index_d$d_SiteCreatedContext as SiteCreatedContext, type index_d$d_SiteDeleted as SiteDeleted, type index_d$d_SiteHardDeleted as SiteHardDeleted, type index_d$d_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type index_d$d_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type index_d$d_SitePublished as SitePublished, type index_d$d_SiteRenamed as SiteRenamed, type index_d$d_SiteTransferred as SiteTransferred, type index_d$d_SiteUndeleted as SiteUndeleted, type index_d$d_SiteUnpublished as SiteUnpublished, SortOrder$7 as SortOrder, type Sorting$7 as Sorting, State$1 as State, type index_d$d_StudioAssigned as StudioAssigned, type index_d$d_StudioUnassigned as StudioUnassigned, type index_d$d_UpdateDeliveryCarrierOptions as UpdateDeliveryCarrierOptions, type index_d$d_UpdateDeliveryCarrierRequest as UpdateDeliveryCarrierRequest, type index_d$d_UpdateDeliveryCarrierResponse as UpdateDeliveryCarrierResponse, type index_d$d_UpdateDeliveryCarrierResponseNonNullableFields as UpdateDeliveryCarrierResponseNonNullableFields, type index_d$d_UpdateDeliveryProfile as UpdateDeliveryProfile, type index_d$d_UpdateDeliveryProfileRequest as UpdateDeliveryProfileRequest, type index_d$d_UpdateDeliveryProfileResponse as UpdateDeliveryProfileResponse, type index_d$d_UpdateDeliveryProfileResponseNonNullableFields as UpdateDeliveryProfileResponseNonNullableFields, type index_d$d_UpdateDeliveryRegion as UpdateDeliveryRegion, type index_d$d_UpdateDeliveryRegionIdentifiers as UpdateDeliveryRegionIdentifiers, type index_d$d_UpdateDeliveryRegionOptions as UpdateDeliveryRegionOptions, type index_d$d_UpdateDeliveryRegionRequest as UpdateDeliveryRegionRequest, type index_d$d_UpdateDeliveryRegionResponse as UpdateDeliveryRegionResponse, type index_d$d_UpdateDeliveryRegionResponseNonNullableFields as UpdateDeliveryRegionResponseNonNullableFields, type UpdateExtendedFieldsOptions$3 as UpdateExtendedFieldsOptions, type UpdateExtendedFieldsRequest$4 as UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse$4 as UpdateExtendedFieldsResponse, type UpdateExtendedFieldsResponseNonNullableFields$3 as UpdateExtendedFieldsResponseNonNullableFields, WebhookIdentityType$a as WebhookIdentityType, type index_d$d__publicOnDeliveryProfileCreatedType as _publicOnDeliveryProfileCreatedType, type index_d$d__publicOnDeliveryProfileDeletedType as _publicOnDeliveryProfileDeletedType, type index_d$d__publicOnDeliveryProfileDeliveryRegionAddedType as _publicOnDeliveryProfileDeliveryRegionAddedType, type index_d$d__publicOnDeliveryProfileDeliveryRegionRemovedType as _publicOnDeliveryProfileDeliveryRegionRemovedType, type index_d$d__publicOnDeliveryProfileDeliveryRegionUpdatedType as _publicOnDeliveryProfileDeliveryRegionUpdatedType, type index_d$d__publicOnDeliveryProfileUpdatedType as _publicOnDeliveryProfileUpdatedType, index_d$d_addDeliveryCarrier as addDeliveryCarrier, addDeliveryRegion$2 as addDeliveryRegion, index_d$d_createDeliveryProfile as createDeliveryProfile, index_d$d_deleteDeliveryProfile as deleteDeliveryProfile, index_d$d_getDeliveryProfile as getDeliveryProfile, index_d$d_listDeliveryCarrierDetails as listDeliveryCarrierDetails, index_d$d_listDeliveryCarriers as listDeliveryCarriers, index_d$d_onDeliveryProfileCreated as onDeliveryProfileCreated, index_d$d_onDeliveryProfileDeleted as onDeliveryProfileDeleted, index_d$d_onDeliveryProfileDeliveryRegionAdded as onDeliveryProfileDeliveryRegionAdded, index_d$d_onDeliveryProfileDeliveryRegionRemoved as onDeliveryProfileDeliveryRegionRemoved, index_d$d_onDeliveryProfileDeliveryRegionUpdated as onDeliveryProfileDeliveryRegionUpdated, index_d$d_onDeliveryProfileUpdated as onDeliveryProfileUpdated, onDeliveryProfileCreated$1 as publicOnDeliveryProfileCreated, onDeliveryProfileDeleted$1 as publicOnDeliveryProfileDeleted, onDeliveryProfileDeliveryRegionAdded$1 as publicOnDeliveryProfileDeliveryRegionAdded, onDeliveryProfileDeliveryRegionRemoved$1 as publicOnDeliveryProfileDeliveryRegionRemoved, onDeliveryProfileDeliveryRegionUpdated$1 as publicOnDeliveryProfileDeliveryRegionUpdated, onDeliveryProfileUpdated$1 as publicOnDeliveryProfileUpdated, index_d$d_queryDeliveryProfiles as queryDeliveryProfiles, index_d$d_removeDeliveryCarrier as removeDeliveryCarrier, removeDeliveryRegion$2 as removeDeliveryRegion, index_d$d_updateDeliveryCarrier as updateDeliveryCarrier, index_d$d_updateDeliveryProfile as updateDeliveryProfile, index_d$d_updateDeliveryRegion as updateDeliveryRegion, updateExtendedFields$6 as updateExtendedFields };
|
|
17252
17242
|
}
|
|
17253
17243
|
|
|
17254
17244
|
/** DraftOrder is the main entity of DraftOrders service. It represents a single edit order. */
|
|
@@ -18965,7 +18955,13 @@ declare enum PaymentStatus$2 {
|
|
|
18965
18955
|
/** Payments received but not yet confirmed by the payment provider */
|
|
18966
18956
|
PENDING = "PENDING",
|
|
18967
18957
|
/** At least one payment was received and approved, covering less than total price amount */
|
|
18968
|
-
PARTIALLY_PAID = "PARTIALLY_PAID"
|
|
18958
|
+
PARTIALLY_PAID = "PARTIALLY_PAID",
|
|
18959
|
+
/** Payment received but not yet confirmed by the payment provider and waits for some user action */
|
|
18960
|
+
PENDING_MERCHANT = "PENDING_MERCHANT",
|
|
18961
|
+
/** Payment was canceled by user on payment provider side */
|
|
18962
|
+
CANCELED = "CANCELED",
|
|
18963
|
+
/** Payment was declined by payment provider */
|
|
18964
|
+
DECLINED = "DECLINED"
|
|
18969
18965
|
}
|
|
18970
18966
|
declare enum FulfillmentStatus$3 {
|
|
18971
18967
|
/** none of the order items are fulfilled or order was manually marked as unfulfilled */
|
|
@@ -18981,7 +18977,9 @@ declare enum FulfillmentStatus$3 {
|
|
|
18981
18977
|
declare enum OrderStatus$1 {
|
|
18982
18978
|
INITIALIZED = "INITIALIZED",
|
|
18983
18979
|
APPROVED = "APPROVED",
|
|
18984
|
-
CANCELED = "CANCELED"
|
|
18980
|
+
CANCELED = "CANCELED",
|
|
18981
|
+
PENDING = "PENDING",
|
|
18982
|
+
REJECTED = "REJECTED"
|
|
18985
18983
|
}
|
|
18986
18984
|
interface Activity$2 extends ActivityContentOneOf$1 {
|
|
18987
18985
|
/** Custom activity details (optional). `activity.type` must be `CUSTOM_ACTIVITY`. */
|
|
@@ -21130,7 +21128,7 @@ interface BulkCreateFulfillmentResponseNonNullableFields {
|
|
|
21130
21128
|
results: BulkOrderFulfillmentsResultNonNullableFields[];
|
|
21131
21129
|
bulkActionMetadata?: BulkActionMetadataNonNullableFields$2;
|
|
21132
21130
|
}
|
|
21133
|
-
interface BaseEventMetadata$
|
|
21131
|
+
interface BaseEventMetadata$6 {
|
|
21134
21132
|
/** App instance ID. */
|
|
21135
21133
|
instanceId?: string | null;
|
|
21136
21134
|
/** Event type. */
|
|
@@ -21138,7 +21136,7 @@ interface BaseEventMetadata$7 {
|
|
|
21138
21136
|
/** The identification type and identity data. */
|
|
21139
21137
|
identity?: IdentificationData$8;
|
|
21140
21138
|
}
|
|
21141
|
-
interface EventMetadata$
|
|
21139
|
+
interface EventMetadata$6 extends BaseEventMetadata$6 {
|
|
21142
21140
|
/**
|
|
21143
21141
|
* Unique event ID.
|
|
21144
21142
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -21178,7 +21176,7 @@ interface EventMetadata$7 extends BaseEventMetadata$7 {
|
|
|
21178
21176
|
}
|
|
21179
21177
|
interface FulfillmentsUpdatedEnvelope {
|
|
21180
21178
|
entity: OrderWithFulfillments;
|
|
21181
|
-
metadata: EventMetadata$
|
|
21179
|
+
metadata: EventMetadata$6;
|
|
21182
21180
|
}
|
|
21183
21181
|
interface UpdateFulfillmentOptions {
|
|
21184
21182
|
/** Fulfillment info. */
|
|
@@ -21303,18 +21301,18 @@ interface BulkCreateFulfillmentsSignature {
|
|
|
21303
21301
|
*/
|
|
21304
21302
|
(ordersWithFulfillments: BulkCreateOrderWithFulfillments[]): Promise<BulkCreateFulfillmentResponse & BulkCreateFulfillmentResponseNonNullableFields>;
|
|
21305
21303
|
}
|
|
21306
|
-
declare const onFulfillmentsUpdated$1: EventDefinition$
|
|
21304
|
+
declare const onFulfillmentsUpdated$1: EventDefinition$g<FulfillmentsUpdatedEnvelope, "wix.ecom.v1.fulfillments_updated">;
|
|
21307
21305
|
|
|
21308
|
-
type EventDefinition$
|
|
21306
|
+
type EventDefinition$6<Payload = unknown, Type extends string = string> = {
|
|
21309
21307
|
__type: 'event-definition';
|
|
21310
21308
|
type: Type;
|
|
21311
21309
|
isDomainEvent?: boolean;
|
|
21312
21310
|
transformations?: (envelope: unknown) => Payload;
|
|
21313
21311
|
__payload: Payload;
|
|
21314
21312
|
};
|
|
21315
|
-
declare function EventDefinition$
|
|
21316
|
-
type EventHandler$
|
|
21317
|
-
type BuildEventDefinition$
|
|
21313
|
+
declare function EventDefinition$6<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition$6<Payload, Type>;
|
|
21314
|
+
type EventHandler$6<T extends EventDefinition$6> = (payload: T['__payload']) => void | Promise<void>;
|
|
21315
|
+
type BuildEventDefinition$6<T extends EventDefinition$6<any, string>> = (handler: EventHandler$6<T>) => void;
|
|
21318
21316
|
|
|
21319
21317
|
declare global {
|
|
21320
21318
|
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
@@ -21323,7 +21321,7 @@ declare global {
|
|
|
21323
21321
|
}
|
|
21324
21322
|
}
|
|
21325
21323
|
|
|
21326
|
-
declare function createEventModule$
|
|
21324
|
+
declare function createEventModule$6<T extends EventDefinition$6<any, string>>(eventDefinition: T): BuildEventDefinition$6<T> & T;
|
|
21327
21325
|
|
|
21328
21326
|
declare const listFulfillmentsForSingleOrder: MaybeContext<BuildRESTFunction<typeof listFulfillmentsForSingleOrder$1> & typeof listFulfillmentsForSingleOrder$1>;
|
|
21329
21327
|
declare const listFulfillmentsForMultipleOrders: MaybeContext<BuildRESTFunction<typeof listFulfillmentsForMultipleOrders$1> & typeof listFulfillmentsForMultipleOrders$1>;
|
|
@@ -21338,7 +21336,7 @@ type _publicOnFulfillmentsUpdatedType = typeof onFulfillmentsUpdated$1;
|
|
|
21338
21336
|
*
|
|
21339
21337
|
* The response contains the order's ID and details about all of its fulfillments following the change.
|
|
21340
21338
|
*/
|
|
21341
|
-
declare const onFulfillmentsUpdated: ReturnType<typeof createEventModule$
|
|
21339
|
+
declare const onFulfillmentsUpdated: ReturnType<typeof createEventModule$6<_publicOnFulfillmentsUpdatedType>>;
|
|
21342
21340
|
|
|
21343
21341
|
type index_d$b_BulkCreateFulfillmentRequest = BulkCreateFulfillmentRequest;
|
|
21344
21342
|
type index_d$b_BulkCreateFulfillmentResponse = BulkCreateFulfillmentResponse;
|
|
@@ -21381,7 +21379,7 @@ declare const index_d$b_listFulfillmentsForSingleOrder: typeof listFulfillmentsF
|
|
|
21381
21379
|
declare const index_d$b_onFulfillmentsUpdated: typeof onFulfillmentsUpdated;
|
|
21382
21380
|
declare const index_d$b_updateFulfillment: typeof updateFulfillment;
|
|
21383
21381
|
declare namespace index_d$b {
|
|
21384
|
-
export { type ActionEvent$8 as ActionEvent, type ApplicationError$4 as ApplicationError, type BaseEventMetadata$
|
|
21382
|
+
export { type ActionEvent$8 as ActionEvent, type ApplicationError$4 as ApplicationError, type BaseEventMetadata$6 as BaseEventMetadata, type BulkActionMetadata$2 as BulkActionMetadata, type index_d$b_BulkCreateFulfillmentRequest as BulkCreateFulfillmentRequest, type index_d$b_BulkCreateFulfillmentResponse as BulkCreateFulfillmentResponse, type index_d$b_BulkCreateFulfillmentResponseNonNullableFields as BulkCreateFulfillmentResponseNonNullableFields, type index_d$b_BulkCreateOrderWithFulfillments as BulkCreateOrderWithFulfillments, type index_d$b_BulkOrderFulfillmentsResult as BulkOrderFulfillmentsResult, type BuyerInfo$2 as BuyerInfo, type index_d$b_CreateFulfillmentRequest as CreateFulfillmentRequest, type index_d$b_CreateFulfillmentResponse as CreateFulfillmentResponse, type index_d$b_CreateFulfillmentResponseNonNullableFields as CreateFulfillmentResponseNonNullableFields, type index_d$b_CustomFulfillmentInfo as CustomFulfillmentInfo, type index_d$b_DeleteFulfillmentIdentifiers as DeleteFulfillmentIdentifiers, type index_d$b_DeleteFulfillmentRequest as DeleteFulfillmentRequest, type index_d$b_DeleteFulfillmentResponse as DeleteFulfillmentResponse, type index_d$b_DeleteFulfillmentResponseNonNullableFields as DeleteFulfillmentResponseNonNullableFields, type DomainEvent$8 as DomainEvent, type DomainEventBodyOneOf$8 as DomainEventBodyOneOf, type EntityCreatedEvent$8 as EntityCreatedEvent, type EntityDeletedEvent$8 as EntityDeletedEvent, type EntityUpdatedEvent$8 as EntityUpdatedEvent, type EventMetadata$6 as EventMetadata, type Fulfillment$1 as Fulfillment, type index_d$b_FulfillmentCreated as FulfillmentCreated, type index_d$b_FulfillmentDeleted as FulfillmentDeleted, type index_d$b_FulfillmentFulfillmentInfoOneOf as FulfillmentFulfillmentInfoOneOf, type FulfillmentLineItem$1 as FulfillmentLineItem, FulfillmentStatus$2 as FulfillmentStatus, type FulfillmentTrackingInfo$1 as FulfillmentTrackingInfo, type index_d$b_FulfillmentUpdated as FulfillmentUpdated, type index_d$b_FulfillmentsUpdatedEnvelope as FulfillmentsUpdatedEnvelope, type IdentificationData$8 as IdentificationData, type IdentificationDataIdOneOf$8 as IdentificationDataIdOneOf, IdentityType$1 as IdentityType, type ItemMetadata$2 as ItemMetadata, type index_d$b_ListFulfillmentsForMultipleOrdersRequest as ListFulfillmentsForMultipleOrdersRequest, type index_d$b_ListFulfillmentsForMultipleOrdersResponse as ListFulfillmentsForMultipleOrdersResponse, type index_d$b_ListFulfillmentsForMultipleOrdersResponseNonNullableFields as ListFulfillmentsForMultipleOrdersResponseNonNullableFields, type index_d$b_ListFulfillmentsForSingleOrderRequest as ListFulfillmentsForSingleOrderRequest, type index_d$b_ListFulfillmentsForSingleOrderResponse as ListFulfillmentsForSingleOrderResponse, type index_d$b_ListFulfillmentsForSingleOrderResponseNonNullableFields as ListFulfillmentsForSingleOrderResponseNonNullableFields, type MessageEnvelope$8 as MessageEnvelope, type index_d$b_OrderWithFulfillments as OrderWithFulfillments, type index_d$b_OrderWithFulfillmentsNonNullableFields as OrderWithFulfillmentsNonNullableFields, type RestoreInfo$8 as RestoreInfo, type index_d$b_UpdateFulfillmentIdentifiers as UpdateFulfillmentIdentifiers, type index_d$b_UpdateFulfillmentOptions as UpdateFulfillmentOptions, type index_d$b_UpdateFulfillmentRequest as UpdateFulfillmentRequest, type index_d$b_UpdateFulfillmentResponse as UpdateFulfillmentResponse, type index_d$b_UpdateFulfillmentResponseNonNullableFields as UpdateFulfillmentResponseNonNullableFields, type index_d$b_V2FulfillmentTrackingInfo as V2FulfillmentTrackingInfo, WebhookIdentityType$8 as WebhookIdentityType, type index_d$b__publicOnFulfillmentsUpdatedType as _publicOnFulfillmentsUpdatedType, index_d$b_bulkCreateFulfillments as bulkCreateFulfillments, index_d$b_createFulfillment as createFulfillment, index_d$b_deleteFulfillment as deleteFulfillment, index_d$b_listFulfillmentsForMultipleOrders as listFulfillmentsForMultipleOrders, index_d$b_listFulfillmentsForSingleOrder as listFulfillmentsForSingleOrder, index_d$b_onFulfillmentsUpdated as onFulfillmentsUpdated, onFulfillmentsUpdated$1 as publicOnFulfillmentsUpdated, index_d$b_updateFulfillment as updateFulfillment };
|
|
21385
21383
|
}
|
|
21386
21384
|
|
|
21387
21385
|
interface GiftCard$2 {
|
|
@@ -21966,7 +21964,7 @@ interface BulkUpdateLocalDeliveryOptionResponseNonNullableFields {
|
|
|
21966
21964
|
localDeliveryOptions: LocalDeliveryOptionNonNullableFields[];
|
|
21967
21965
|
errors: LocalDeliveryOptionErrorNonNullableFields[];
|
|
21968
21966
|
}
|
|
21969
|
-
interface BaseEventMetadata$
|
|
21967
|
+
interface BaseEventMetadata$5 {
|
|
21970
21968
|
/** App instance ID. */
|
|
21971
21969
|
instanceId?: string | null;
|
|
21972
21970
|
/** Event type. */
|
|
@@ -21974,7 +21972,7 @@ interface BaseEventMetadata$6 {
|
|
|
21974
21972
|
/** The identification type and identity data. */
|
|
21975
21973
|
identity?: IdentificationData$7;
|
|
21976
21974
|
}
|
|
21977
|
-
interface EventMetadata$
|
|
21975
|
+
interface EventMetadata$5 extends BaseEventMetadata$5 {
|
|
21978
21976
|
/**
|
|
21979
21977
|
* Unique event ID.
|
|
21980
21978
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -22014,15 +22012,15 @@ interface EventMetadata$6 extends BaseEventMetadata$6 {
|
|
|
22014
22012
|
}
|
|
22015
22013
|
interface LocalDeliveryOptionCreatedEnvelope {
|
|
22016
22014
|
entity: LocalDeliveryOption;
|
|
22017
|
-
metadata: EventMetadata$
|
|
22015
|
+
metadata: EventMetadata$5;
|
|
22018
22016
|
}
|
|
22019
22017
|
interface LocalDeliveryOptionUpdatedEnvelope {
|
|
22020
22018
|
entity: LocalDeliveryOption;
|
|
22021
|
-
metadata: EventMetadata$
|
|
22019
|
+
metadata: EventMetadata$5;
|
|
22022
22020
|
}
|
|
22023
22021
|
interface LocalDeliveryOptionDeletedEnvelope {
|
|
22024
22022
|
entity: LocalDeliveryOption;
|
|
22025
|
-
metadata: EventMetadata$
|
|
22023
|
+
metadata: EventMetadata$5;
|
|
22026
22024
|
}
|
|
22027
22025
|
interface UpdateLocalDeliveryOption {
|
|
22028
22026
|
zipConfig?: ZipCodeConfig;
|
|
@@ -22097,20 +22095,20 @@ interface BulkDeleteLocalDeliveryOptionSignature {
|
|
|
22097
22095
|
/** */
|
|
22098
22096
|
(ids: string[]): Promise<void>;
|
|
22099
22097
|
}
|
|
22100
|
-
declare const onLocalDeliveryOptionCreated$1: EventDefinition$
|
|
22101
|
-
declare const onLocalDeliveryOptionUpdated$1: EventDefinition$
|
|
22102
|
-
declare const onLocalDeliveryOptionDeleted$1: EventDefinition$
|
|
22098
|
+
declare const onLocalDeliveryOptionCreated$1: EventDefinition$g<LocalDeliveryOptionCreatedEnvelope, "wix.ecom.v1.local_delivery_option_created">;
|
|
22099
|
+
declare const onLocalDeliveryOptionUpdated$1: EventDefinition$g<LocalDeliveryOptionUpdatedEnvelope, "wix.ecom.v1.local_delivery_option_updated">;
|
|
22100
|
+
declare const onLocalDeliveryOptionDeleted$1: EventDefinition$g<LocalDeliveryOptionDeletedEnvelope, "wix.ecom.v1.local_delivery_option_deleted">;
|
|
22103
22101
|
|
|
22104
|
-
type EventDefinition$
|
|
22102
|
+
type EventDefinition$5<Payload = unknown, Type extends string = string> = {
|
|
22105
22103
|
__type: 'event-definition';
|
|
22106
22104
|
type: Type;
|
|
22107
22105
|
isDomainEvent?: boolean;
|
|
22108
22106
|
transformations?: (envelope: unknown) => Payload;
|
|
22109
22107
|
__payload: Payload;
|
|
22110
22108
|
};
|
|
22111
|
-
declare function EventDefinition$
|
|
22112
|
-
type EventHandler$
|
|
22113
|
-
type BuildEventDefinition$
|
|
22109
|
+
declare function EventDefinition$5<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition$5<Payload, Type>;
|
|
22110
|
+
type EventHandler$5<T extends EventDefinition$5> = (payload: T['__payload']) => void | Promise<void>;
|
|
22111
|
+
type BuildEventDefinition$5<T extends EventDefinition$5<any, string>> = (handler: EventHandler$5<T>) => void;
|
|
22114
22112
|
|
|
22115
22113
|
declare global {
|
|
22116
22114
|
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
@@ -22119,7 +22117,7 @@ declare global {
|
|
|
22119
22117
|
}
|
|
22120
22118
|
}
|
|
22121
22119
|
|
|
22122
|
-
declare function createEventModule$
|
|
22120
|
+
declare function createEventModule$5<T extends EventDefinition$5<any, string>>(eventDefinition: T): BuildEventDefinition$5<T> & T;
|
|
22123
22121
|
|
|
22124
22122
|
declare const createLocalDeliveryOption: MaybeContext<BuildRESTFunction<typeof createLocalDeliveryOption$1> & typeof createLocalDeliveryOption$1>;
|
|
22125
22123
|
declare const getLocalDeliveryOption: MaybeContext<BuildRESTFunction<typeof getLocalDeliveryOption$1> & typeof getLocalDeliveryOption$1>;
|
|
@@ -22132,15 +22130,15 @@ declare const bulkDeleteLocalDeliveryOption: MaybeContext<BuildRESTFunction<type
|
|
|
22132
22130
|
|
|
22133
22131
|
type _publicOnLocalDeliveryOptionCreatedType = typeof onLocalDeliveryOptionCreated$1;
|
|
22134
22132
|
/** */
|
|
22135
|
-
declare const onLocalDeliveryOptionCreated: ReturnType<typeof createEventModule$
|
|
22133
|
+
declare const onLocalDeliveryOptionCreated: ReturnType<typeof createEventModule$5<_publicOnLocalDeliveryOptionCreatedType>>;
|
|
22136
22134
|
|
|
22137
22135
|
type _publicOnLocalDeliveryOptionUpdatedType = typeof onLocalDeliveryOptionUpdated$1;
|
|
22138
22136
|
/** */
|
|
22139
|
-
declare const onLocalDeliveryOptionUpdated: ReturnType<typeof createEventModule$
|
|
22137
|
+
declare const onLocalDeliveryOptionUpdated: ReturnType<typeof createEventModule$5<_publicOnLocalDeliveryOptionUpdatedType>>;
|
|
22140
22138
|
|
|
22141
22139
|
type _publicOnLocalDeliveryOptionDeletedType = typeof onLocalDeliveryOptionDeleted$1;
|
|
22142
22140
|
/** */
|
|
22143
|
-
declare const onLocalDeliveryOptionDeleted: ReturnType<typeof createEventModule$
|
|
22141
|
+
declare const onLocalDeliveryOptionDeleted: ReturnType<typeof createEventModule$5<_publicOnLocalDeliveryOptionDeletedType>>;
|
|
22144
22142
|
|
|
22145
22143
|
type index_d$9_BulkCreateLocalDeliveryOptionRequest = BulkCreateLocalDeliveryOptionRequest;
|
|
22146
22144
|
type index_d$9_BulkCreateLocalDeliveryOptionResponse = BulkCreateLocalDeliveryOptionResponse;
|
|
@@ -22203,7 +22201,7 @@ declare const index_d$9_onLocalDeliveryOptionDeleted: typeof onLocalDeliveryOpti
|
|
|
22203
22201
|
declare const index_d$9_onLocalDeliveryOptionUpdated: typeof onLocalDeliveryOptionUpdated;
|
|
22204
22202
|
declare const index_d$9_updateLocalDeliveryOption: typeof updateLocalDeliveryOption;
|
|
22205
22203
|
declare namespace index_d$9 {
|
|
22206
|
-
export { type ActionEvent$7 as ActionEvent, type AddressLocation$3 as AddressLocation, type BaseEventMetadata$
|
|
22204
|
+
export { type ActionEvent$7 as ActionEvent, type AddressLocation$3 as AddressLocation, type BaseEventMetadata$5 as BaseEventMetadata, type index_d$9_BulkCreateLocalDeliveryOptionRequest as BulkCreateLocalDeliveryOptionRequest, type index_d$9_BulkCreateLocalDeliveryOptionResponse as BulkCreateLocalDeliveryOptionResponse, type index_d$9_BulkCreateLocalDeliveryOptionResponseNonNullableFields as BulkCreateLocalDeliveryOptionResponseNonNullableFields, type index_d$9_BulkDeleteLocalDeliveryOptionRequest as BulkDeleteLocalDeliveryOptionRequest, type index_d$9_BulkDeleteLocalDeliveryOptionResponse as BulkDeleteLocalDeliveryOptionResponse, type index_d$9_BulkUpdateLocalDeliveryOptionRequest as BulkUpdateLocalDeliveryOptionRequest, type index_d$9_BulkUpdateLocalDeliveryOptionResponse as BulkUpdateLocalDeliveryOptionResponse, type index_d$9_BulkUpdateLocalDeliveryOptionResponseNonNullableFields as BulkUpdateLocalDeliveryOptionResponseNonNullableFields, type Condition$2 as Condition, ConditionType$2 as ConditionType, type ConditionalRates$2 as ConditionalRates, type index_d$9_CreateLocalDeliveryOptionRequest as CreateLocalDeliveryOptionRequest, type index_d$9_CreateLocalDeliveryOptionResponse as CreateLocalDeliveryOptionResponse, type index_d$9_CreateLocalDeliveryOptionResponseNonNullableFields as CreateLocalDeliveryOptionResponseNonNullableFields, type index_d$9_CustomAreaConfig as CustomAreaConfig, index_d$9_DayOfWeek as DayOfWeek, type index_d$9_DaySlot as DaySlot, type index_d$9_Days as Days, type index_d$9_DeleteLocalDeliveryOptionRequest as DeleteLocalDeliveryOptionRequest, type index_d$9_DeleteLocalDeliveryOptionResponse as DeleteLocalDeliveryOptionResponse, type index_d$9_Destination as Destination, type DomainEvent$7 as DomainEvent, type DomainEventBodyOneOf$7 as DomainEventBodyOneOf, type Empty$5 as Empty, type EntityCreatedEvent$7 as EntityCreatedEvent, type EntityDeletedEvent$7 as EntityDeletedEvent, type EntityUpdatedEvent$7 as EntityUpdatedEvent, type EventMetadata$5 as EventMetadata, type index_d$9_GetLocalDeliveryOptionRequest as GetLocalDeliveryOptionRequest, type index_d$9_GetLocalDeliveryOptionResponse as GetLocalDeliveryOptionResponse, type index_d$9_GetLocalDeliveryOptionResponseNonNullableFields as GetLocalDeliveryOptionResponseNonNullableFields, type IdentificationData$7 as IdentificationData, type IdentificationDataIdOneOf$7 as IdentificationDataIdOneOf, index_d$9_LengthUnit as LengthUnit, type index_d$9_ListLocalDeliveryOptionsRequest as ListLocalDeliveryOptionsRequest, type index_d$9_ListLocalDeliveryOptionsResponse as ListLocalDeliveryOptionsResponse, type index_d$9_ListLocalDeliveryOptionsResponseNonNullableFields as ListLocalDeliveryOptionsResponseNonNullableFields, type index_d$9_LocalDeliveryAddress as LocalDeliveryAddress, type index_d$9_LocalDeliveryOption as LocalDeliveryOption, type index_d$9_LocalDeliveryOptionConfigOneOf as LocalDeliveryOptionConfigOneOf, type index_d$9_LocalDeliveryOptionCreatedEnvelope as LocalDeliveryOptionCreatedEnvelope, type index_d$9_LocalDeliveryOptionDeletedEnvelope as LocalDeliveryOptionDeletedEnvelope, type index_d$9_LocalDeliveryOptionError as LocalDeliveryOptionError, type index_d$9_LocalDeliveryOptionNonNullableFields as LocalDeliveryOptionNonNullableFields, type index_d$9_LocalDeliveryOptionUpdatedEnvelope as LocalDeliveryOptionUpdatedEnvelope, LogicalOperator$2 as LogicalOperator, type MessageEnvelope$7 as MessageEnvelope, type index_d$9_RadiusConfig as RadiusConfig, type RestoreInfo$7 as RestoreInfo, type index_d$9_ScheduledDelivery as ScheduledDelivery, type index_d$9_TimeOfDay as TimeOfDay, type index_d$9_TimePoint as TimePoint, type index_d$9_TimeSlot as TimeSlot, type index_d$9_TimeWindow as TimeWindow, type index_d$9_UpdateLocalDeliveryOption as UpdateLocalDeliveryOption, type index_d$9_UpdateLocalDeliveryOptionRequest as UpdateLocalDeliveryOptionRequest, type index_d$9_UpdateLocalDeliveryOptionResponse as UpdateLocalDeliveryOptionResponse, type index_d$9_UpdateLocalDeliveryOptionResponseNonNullableFields as UpdateLocalDeliveryOptionResponseNonNullableFields, WebhookIdentityType$7 as WebhookIdentityType, type index_d$9_ZipCodeConfig as ZipCodeConfig, type index_d$9__publicOnLocalDeliveryOptionCreatedType as _publicOnLocalDeliveryOptionCreatedType, type index_d$9__publicOnLocalDeliveryOptionDeletedType as _publicOnLocalDeliveryOptionDeletedType, type index_d$9__publicOnLocalDeliveryOptionUpdatedType as _publicOnLocalDeliveryOptionUpdatedType, index_d$9_bulkCreateLocalDeliveryOption as bulkCreateLocalDeliveryOption, index_d$9_bulkDeleteLocalDeliveryOption as bulkDeleteLocalDeliveryOption, index_d$9_bulkUpdateLocalDeliveryOption as bulkUpdateLocalDeliveryOption, index_d$9_createLocalDeliveryOption as createLocalDeliveryOption, index_d$9_deleteLocalDeliveryOption as deleteLocalDeliveryOption, index_d$9_getLocalDeliveryOption as getLocalDeliveryOption, index_d$9_listLocalDeliveryOptions as listLocalDeliveryOptions, index_d$9_onLocalDeliveryOptionCreated as onLocalDeliveryOptionCreated, index_d$9_onLocalDeliveryOptionDeleted as onLocalDeliveryOptionDeleted, index_d$9_onLocalDeliveryOptionUpdated as onLocalDeliveryOptionUpdated, onLocalDeliveryOptionCreated$1 as publicOnLocalDeliveryOptionCreated, onLocalDeliveryOptionDeleted$1 as publicOnLocalDeliveryOptionDeleted, onLocalDeliveryOptionUpdated$1 as publicOnLocalDeliveryOptionUpdated, index_d$9_updateLocalDeliveryOption as updateLocalDeliveryOption };
|
|
22207
22205
|
}
|
|
22208
22206
|
|
|
22209
22207
|
interface Order$1 {
|
|
@@ -22748,7 +22746,13 @@ declare enum PaymentStatus$1 {
|
|
|
22748
22746
|
/** Payments received but not yet confirmed by the payment provider */
|
|
22749
22747
|
PENDING = "PENDING",
|
|
22750
22748
|
/** At least one payment was received and approved, covering less than total price amount */
|
|
22751
|
-
PARTIALLY_PAID = "PARTIALLY_PAID"
|
|
22749
|
+
PARTIALLY_PAID = "PARTIALLY_PAID",
|
|
22750
|
+
/** Payment received but not yet confirmed by the payment provider and waits for some user action */
|
|
22751
|
+
PENDING_MERCHANT = "PENDING_MERCHANT",
|
|
22752
|
+
/** Payment was canceled by user on payment provider side */
|
|
22753
|
+
CANCELED = "CANCELED",
|
|
22754
|
+
/** Payment was declined by payment provider */
|
|
22755
|
+
DECLINED = "DECLINED"
|
|
22752
22756
|
}
|
|
22753
22757
|
declare enum FulfillmentStatus$1 {
|
|
22754
22758
|
/** none of the order items are fulfilled or order was manually marked as unfulfilled */
|
|
@@ -22955,7 +22959,9 @@ interface ShippingRegion$1 {
|
|
|
22955
22959
|
declare enum OrderStatus {
|
|
22956
22960
|
INITIALIZED = "INITIALIZED",
|
|
22957
22961
|
APPROVED = "APPROVED",
|
|
22958
|
-
CANCELED = "CANCELED"
|
|
22962
|
+
CANCELED = "CANCELED",
|
|
22963
|
+
PENDING = "PENDING",
|
|
22964
|
+
REJECTED = "REJECTED"
|
|
22959
22965
|
}
|
|
22960
22966
|
interface TaxSummary$1 {
|
|
22961
22967
|
/**
|
|
@@ -27056,7 +27062,7 @@ interface BulkUpdateOrderTagsResponseNonNullableFields {
|
|
|
27056
27062
|
results: BulkUpdateOrderTagsResultNonNullableFields[];
|
|
27057
27063
|
bulkActionMetadata?: BulkActionMetadataNonNullableFields$1;
|
|
27058
27064
|
}
|
|
27059
|
-
interface BaseEventMetadata$
|
|
27065
|
+
interface BaseEventMetadata$4 {
|
|
27060
27066
|
/** App instance ID. */
|
|
27061
27067
|
instanceId?: string | null;
|
|
27062
27068
|
/** Event type. */
|
|
@@ -27064,7 +27070,7 @@ interface BaseEventMetadata$5 {
|
|
|
27064
27070
|
/** The identification type and identity data. */
|
|
27065
27071
|
identity?: IdentificationData$6;
|
|
27066
27072
|
}
|
|
27067
|
-
interface EventMetadata$
|
|
27073
|
+
interface EventMetadata$4 extends BaseEventMetadata$4 {
|
|
27068
27074
|
/**
|
|
27069
27075
|
* Unique event ID.
|
|
27070
27076
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -27104,23 +27110,23 @@ interface EventMetadata$5 extends BaseEventMetadata$5 {
|
|
|
27104
27110
|
}
|
|
27105
27111
|
interface OrderPaymentStatusUpdatedEnvelope {
|
|
27106
27112
|
data: PaymentStatusUpdated;
|
|
27107
|
-
metadata: EventMetadata$
|
|
27113
|
+
metadata: EventMetadata$4;
|
|
27108
27114
|
}
|
|
27109
27115
|
interface OrderUpdatedEnvelope {
|
|
27110
27116
|
entity: Order$1;
|
|
27111
|
-
metadata: EventMetadata$
|
|
27117
|
+
metadata: EventMetadata$4;
|
|
27112
27118
|
}
|
|
27113
27119
|
interface OrderCreatedEnvelope {
|
|
27114
27120
|
entity: Order$1;
|
|
27115
|
-
metadata: EventMetadata$
|
|
27121
|
+
metadata: EventMetadata$4;
|
|
27116
27122
|
}
|
|
27117
27123
|
interface OrderCanceledEnvelope {
|
|
27118
27124
|
data: OrderCanceledEventOrderCanceled;
|
|
27119
|
-
metadata: EventMetadata$
|
|
27125
|
+
metadata: EventMetadata$4;
|
|
27120
27126
|
}
|
|
27121
27127
|
interface OrderApprovedEnvelope {
|
|
27122
27128
|
data: OrderApproved;
|
|
27123
|
-
metadata: EventMetadata$
|
|
27129
|
+
metadata: EventMetadata$4;
|
|
27124
27130
|
}
|
|
27125
27131
|
interface PreparePaymentCollectionOptions {
|
|
27126
27132
|
/**
|
|
@@ -27485,22 +27491,22 @@ interface BulkUpdateOrderTagsSignature {
|
|
|
27485
27491
|
*/
|
|
27486
27492
|
(orderIds: string[], options?: BulkUpdateOrderTagsOptions | undefined): Promise<BulkUpdateOrderTagsResponse & BulkUpdateOrderTagsResponseNonNullableFields>;
|
|
27487
27493
|
}
|
|
27488
|
-
declare const onOrderPaymentStatusUpdated$1: EventDefinition$
|
|
27489
|
-
declare const onOrderUpdated$1: EventDefinition$
|
|
27490
|
-
declare const onOrderCreated$1: EventDefinition$
|
|
27491
|
-
declare const onOrderCanceled$1: EventDefinition$
|
|
27492
|
-
declare const onOrderApproved$1: EventDefinition$
|
|
27494
|
+
declare const onOrderPaymentStatusUpdated$1: EventDefinition$g<OrderPaymentStatusUpdatedEnvelope, "wix.ecom.v1.order_payment_status_updated">;
|
|
27495
|
+
declare const onOrderUpdated$1: EventDefinition$g<OrderUpdatedEnvelope, "wix.ecom.v1.order_updated">;
|
|
27496
|
+
declare const onOrderCreated$1: EventDefinition$g<OrderCreatedEnvelope, "wix.ecom.v1.order_created">;
|
|
27497
|
+
declare const onOrderCanceled$1: EventDefinition$g<OrderCanceledEnvelope, "wix.ecom.v1.order_canceled">;
|
|
27498
|
+
declare const onOrderApproved$1: EventDefinition$g<OrderApprovedEnvelope, "wix.ecom.v1.order_approved">;
|
|
27493
27499
|
|
|
27494
|
-
type EventDefinition$
|
|
27500
|
+
type EventDefinition$4<Payload = unknown, Type extends string = string> = {
|
|
27495
27501
|
__type: 'event-definition';
|
|
27496
27502
|
type: Type;
|
|
27497
27503
|
isDomainEvent?: boolean;
|
|
27498
27504
|
transformations?: (envelope: unknown) => Payload;
|
|
27499
27505
|
__payload: Payload;
|
|
27500
27506
|
};
|
|
27501
|
-
declare function EventDefinition$
|
|
27502
|
-
type EventHandler$
|
|
27503
|
-
type BuildEventDefinition$
|
|
27507
|
+
declare function EventDefinition$4<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition$4<Payload, Type>;
|
|
27508
|
+
type EventHandler$4<T extends EventDefinition$4> = (payload: T['__payload']) => void | Promise<void>;
|
|
27509
|
+
type BuildEventDefinition$4<T extends EventDefinition$4<any, string>> = (handler: EventHandler$4<T>) => void;
|
|
27504
27510
|
|
|
27505
27511
|
declare global {
|
|
27506
27512
|
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
@@ -27509,7 +27515,7 @@ declare global {
|
|
|
27509
27515
|
}
|
|
27510
27516
|
}
|
|
27511
27517
|
|
|
27512
|
-
declare function createEventModule$
|
|
27518
|
+
declare function createEventModule$4<T extends EventDefinition$4<any, string>>(eventDefinition: T): BuildEventDefinition$4<T> & T;
|
|
27513
27519
|
|
|
27514
27520
|
declare const preparePaymentCollection: MaybeContext<BuildRESTFunction<typeof preparePaymentCollection$1> & typeof preparePaymentCollection$1>;
|
|
27515
27521
|
declare const getPaymentCollectabilityStatus: MaybeContext<BuildRESTFunction<typeof getPaymentCollectabilityStatus$1> & typeof getPaymentCollectabilityStatus$1>;
|
|
@@ -27527,32 +27533,32 @@ type _publicOnOrderPaymentStatusUpdatedType = typeof onOrderPaymentStatusUpdated
|
|
|
27527
27533
|
/**
|
|
27528
27534
|
* Triggered when an order's payment status is updated to `"PAID"`.
|
|
27529
27535
|
*/
|
|
27530
|
-
declare const onOrderPaymentStatusUpdated: ReturnType<typeof createEventModule$
|
|
27536
|
+
declare const onOrderPaymentStatusUpdated: ReturnType<typeof createEventModule$4<_publicOnOrderPaymentStatusUpdatedType>>;
|
|
27531
27537
|
|
|
27532
27538
|
type _publicOnOrderUpdatedType = typeof onOrderUpdated$1;
|
|
27533
27539
|
/** */
|
|
27534
|
-
declare const onOrderUpdated: ReturnType<typeof createEventModule$
|
|
27540
|
+
declare const onOrderUpdated: ReturnType<typeof createEventModule$4<_publicOnOrderUpdatedType>>;
|
|
27535
27541
|
|
|
27536
27542
|
type _publicOnOrderCreatedType = typeof onOrderCreated$1;
|
|
27537
27543
|
/**
|
|
27538
27544
|
* Triggered when an order is created.
|
|
27539
27545
|
* Learn more about [webhook payload structure](https://dev.wix.com/docs/rest/api-reference/wix-e-commerce/orders/order-object-conversion#webhook-conversion-table).
|
|
27540
27546
|
*/
|
|
27541
|
-
declare const onOrderCreated: ReturnType<typeof createEventModule$
|
|
27547
|
+
declare const onOrderCreated: ReturnType<typeof createEventModule$4<_publicOnOrderCreatedType>>;
|
|
27542
27548
|
|
|
27543
27549
|
type _publicOnOrderCanceledType = typeof onOrderCanceled$1;
|
|
27544
27550
|
/**
|
|
27545
27551
|
* Triggered when an order is canceled.
|
|
27546
27552
|
* Learn more about [eCommerce webhook payload structure](https://dev.wix.com/docs/rest/api-reference/wix-e-commerce/orders/order-object-conversion#webhook-conversion-table).
|
|
27547
27553
|
*/
|
|
27548
|
-
declare const onOrderCanceled: ReturnType<typeof createEventModule$
|
|
27554
|
+
declare const onOrderCanceled: ReturnType<typeof createEventModule$4<_publicOnOrderCanceledType>>;
|
|
27549
27555
|
|
|
27550
27556
|
type _publicOnOrderApprovedType = typeof onOrderApproved$1;
|
|
27551
27557
|
/**
|
|
27552
27558
|
* Triggered when an order is created and its status is updated to `"APPROVED"`.
|
|
27553
27559
|
* Learn more about [eCommerce webhook payload structure](https://dev.wix.com/docs/rest/api-reference/wix-e-commerce/orders/order-object-conversion#webhook-conversion-table).
|
|
27554
27560
|
*/
|
|
27555
|
-
declare const onOrderApproved: ReturnType<typeof createEventModule$
|
|
27561
|
+
declare const onOrderApproved: ReturnType<typeof createEventModule$4<_publicOnOrderApprovedType>>;
|
|
27556
27562
|
|
|
27557
27563
|
type index_d$8_ActivityContentOneOf = ActivityContentOneOf;
|
|
27558
27564
|
type index_d$8_AddActivitiesRequest = AddActivitiesRequest;
|
|
@@ -27980,7 +27986,7 @@ declare const index_d$8_searchOrders: typeof searchOrders;
|
|
|
27980
27986
|
declare const index_d$8_updateOrder: typeof updateOrder;
|
|
27981
27987
|
declare const index_d$8_voidAuthorizedPayments: typeof voidAuthorizedPayments;
|
|
27982
27988
|
declare namespace index_d$8 {
|
|
27983
|
-
export { type ActionEvent$6 as ActionEvent, ActionType$2 as ActionType, type Activity$1 as Activity, type index_d$8_ActivityContentOneOf as ActivityContentOneOf, ActivityType$1 as ActivityType, type index_d$8_AddActivitiesRequest as AddActivitiesRequest, type index_d$8_AddActivitiesResponse as AddActivitiesResponse, type index_d$8_AddActivityRequest as AddActivityRequest, type index_d$8_AddActivityResponse as AddActivityResponse, type index_d$8_AddInternalActivityRequest as AddInternalActivityRequest, type index_d$8_AddInternalActivityResponse as AddInternalActivityResponse, type AdditionalFee$1 as AdditionalFee, type index_d$8_AdditionalFeeDelta as AdditionalFeeDelta, type index_d$8_AdditionalFeeDeltaDeltaOneOf as AdditionalFeeDeltaDeltaOneOf, type AdditionalFeeRefund$2 as AdditionalFeeRefund, type Address$4 as Address, type index_d$8_AddressDescription as AddressDescription, type AddressLocation$2 as AddressLocation, type index_d$8_AddressWithContact as AddressWithContact, type index_d$8_AggregateOrdersRequest as AggregateOrdersRequest, type index_d$8_AggregateOrdersResponse as AggregateOrdersResponse, type AggregatedRefundSummary$2 as AggregatedRefundSummary, type index_d$8_App as App, type ApplicationError$3 as ApplicationError, type AppliedDiscount$1 as AppliedDiscount, type index_d$8_AppliedDiscountDelta as AppliedDiscountDelta, type index_d$8_AppliedDiscountDeltaDeltaOneOf as AppliedDiscountDeltaDeltaOneOf, type AppliedDiscountDiscountSourceOneOf$1 as AppliedDiscountDiscountSourceOneOf, type index_d$8_ArchiveOrderRequest as ArchiveOrderRequest, type index_d$8_ArchiveOrderResponse as ArchiveOrderResponse, index_d$8_AttributionSource as AttributionSource, type AuthorizationActionFailureDetails$2 as AuthorizationActionFailureDetails, type AuthorizationCapture$2 as AuthorizationCapture, AuthorizationCaptureStatus$2 as AuthorizationCaptureStatus, type AuthorizationDetails$2 as AuthorizationDetails, type AuthorizationVoid$2 as AuthorizationVoid, AuthorizationVoidStatus$2 as AuthorizationVoidStatus, type index_d$8_AuthorizedPaymentCaptured as AuthorizedPaymentCaptured, type index_d$8_AuthorizedPaymentCreated as AuthorizedPaymentCreated, type index_d$8_AuthorizedPaymentVoided as AuthorizedPaymentVoided, type index_d$8_Balance as Balance, type index_d$8_BalanceSummary as BalanceSummary, type BaseEventMetadata$5 as BaseEventMetadata, type index_d$8_BatchOfTriggerReindexOrderRequest as BatchOfTriggerReindexOrderRequest, type index_d$8_BigDecimalWrapper as BigDecimalWrapper, type BulkActionMetadata$1 as BulkActionMetadata, type index_d$8_BulkArchiveOrdersByFilterRequest as BulkArchiveOrdersByFilterRequest, type index_d$8_BulkArchiveOrdersByFilterResponse as BulkArchiveOrdersByFilterResponse, type index_d$8_BulkArchiveOrdersRequest as BulkArchiveOrdersRequest, type index_d$8_BulkArchiveOrdersResponse as BulkArchiveOrdersResponse, type index_d$8_BulkMarkAsFulfilledByFilterRequest as BulkMarkAsFulfilledByFilterRequest, type index_d$8_BulkMarkAsFulfilledByFilterResponse as BulkMarkAsFulfilledByFilterResponse, type index_d$8_BulkMarkAsFulfilledRequest as BulkMarkAsFulfilledRequest, type index_d$8_BulkMarkAsFulfilledResponse as BulkMarkAsFulfilledResponse, type index_d$8_BulkMarkAsUnfulfilledByFilterRequest as BulkMarkAsUnfulfilledByFilterRequest, type index_d$8_BulkMarkAsUnfulfilledByFilterResponse as BulkMarkAsUnfulfilledByFilterResponse, type index_d$8_BulkMarkAsUnfulfilledRequest as BulkMarkAsUnfulfilledRequest, type index_d$8_BulkMarkAsUnfulfilledResponse as BulkMarkAsUnfulfilledResponse, type index_d$8_BulkMarkOrdersAsPaidRequest as BulkMarkOrdersAsPaidRequest, type index_d$8_BulkMarkOrdersAsPaidResponse as BulkMarkOrdersAsPaidResponse, type index_d$8_BulkOrderResult as BulkOrderResult, type index_d$8_BulkSendBuyerPickupConfirmationEmailsRequest as BulkSendBuyerPickupConfirmationEmailsRequest, type index_d$8_BulkSendBuyerPickupConfirmationEmailsResponse as BulkSendBuyerPickupConfirmationEmailsResponse, type index_d$8_BulkSendBuyerShippingConfirmationEmailsRequest as BulkSendBuyerShippingConfirmationEmailsRequest, type index_d$8_BulkSendBuyerShippingConfirmationEmailsResponse as BulkSendBuyerShippingConfirmationEmailsResponse, type index_d$8_BulkUnArchiveOrdersByFilterRequest as BulkUnArchiveOrdersByFilterRequest, type index_d$8_BulkUnArchiveOrdersByFilterResponse as BulkUnArchiveOrdersByFilterResponse, type index_d$8_BulkUnArchiveOrdersRequest as BulkUnArchiveOrdersRequest, type index_d$8_BulkUnArchiveOrdersResponse as BulkUnArchiveOrdersResponse, type index_d$8_BulkUpdateOrderTagsOptions as BulkUpdateOrderTagsOptions, type index_d$8_BulkUpdateOrderTagsRequest as BulkUpdateOrderTagsRequest, type index_d$8_BulkUpdateOrderTagsResponse as BulkUpdateOrderTagsResponse, type index_d$8_BulkUpdateOrderTagsResponseNonNullableFields as BulkUpdateOrderTagsResponseNonNullableFields, type index_d$8_BulkUpdateOrderTagsResult as BulkUpdateOrderTagsResult, type index_d$8_BulkUpdateOrdersOptions as BulkUpdateOrdersOptions, type index_d$8_BulkUpdateOrdersRequest as BulkUpdateOrdersRequest, type index_d$8_BulkUpdateOrdersResponse as BulkUpdateOrdersResponse, type index_d$8_BulkUpdateOrdersResponseNonNullableFields as BulkUpdateOrdersResponseNonNullableFields, type BuyerInfo$1 as BuyerInfo, type index_d$8_BuyerInfoIdOneOf as BuyerInfoIdOneOf, type index_d$8_BuyerInfoUpdate as BuyerInfoUpdate, type CalculateRefundItemRequest$1 as CalculateRefundItemRequest, type CalculateRefundItemResponse$1 as CalculateRefundItemResponse, type CalculateRefundRequest$1 as CalculateRefundRequest, type CalculateRefundResponse$1 as CalculateRefundResponse, type index_d$8_CalculatedTax as CalculatedTax, type index_d$8_CalculatedTaxes as CalculatedTaxes, type index_d$8_Cancel as Cancel, type index_d$8_CancelOrderOptions as CancelOrderOptions, type index_d$8_CancelOrderRequest as CancelOrderRequest, type index_d$8_CancelOrderResponse as CancelOrderResponse, type index_d$8_CancelOrderResponseNonNullableFields as CancelOrderResponseNonNullableFields, type index_d$8_CaptureAuthorizedPaymentsRequest as CaptureAuthorizedPaymentsRequest, type index_d$8_CaptureAuthorizedPaymentsResponse as CaptureAuthorizedPaymentsResponse, type index_d$8_CaptureAuthorizedPaymentsResponseNonNullableFields as CaptureAuthorizedPaymentsResponseNonNullableFields, type CatalogReference$1 as CatalogReference, type ChannelInfo$1 as ChannelInfo, ChannelType$1 as ChannelType, type index_d$8_ChargeMembershipsRequest as ChargeMembershipsRequest, type index_d$8_ChargeMembershipsResponse as ChargeMembershipsResponse, type index_d$8_ChargeSavedPaymentMethodRequest as ChargeSavedPaymentMethodRequest, type index_d$8_ChargeSavedPaymentMethodResponse as ChargeSavedPaymentMethodResponse, type index_d$8_ChargedBy as ChargedBy, type index_d$8_Color as Color, type index_d$8_CommitDeltasRequest as CommitDeltasRequest, type index_d$8_CommitDeltasResponse as CommitDeltasResponse, type index_d$8_CommittedDiffs as CommittedDiffs, type index_d$8_CommittedDiffsShippingUpdateInfoOneOf as CommittedDiffsShippingUpdateInfoOneOf, type index_d$8_CommonAddress as CommonAddress, type index_d$8_CommonAddressStreetOneOf as CommonAddressStreetOneOf, type index_d$8_Company as Company, type index_d$8_Complete as Complete, type index_d$8_ContinueSideEffectsFlowInLegacyData as ContinueSideEffectsFlowInLegacyData, type Coupon$1 as Coupon, type index_d$8_CreateOrderRequest as CreateOrderRequest, type index_d$8_CreateOrderResponse as CreateOrderResponse, type index_d$8_CreateOrderResponseNonNullableFields as CreateOrderResponseNonNullableFields, type index_d$8_CreatePaymentGatewayOrderRequest as CreatePaymentGatewayOrderRequest, type index_d$8_CreatePaymentGatewayOrderResponse as CreatePaymentGatewayOrderResponse, type index_d$8_CreatedBy as CreatedBy, type index_d$8_CreatedByStringOneOf as CreatedByStringOneOf, type CreditCardPaymentMethodDetails$2 as CreditCardPaymentMethodDetails, type CursorPaging$5 as CursorPaging, type CursorPagingMetadata$5 as CursorPagingMetadata, type index_d$8_CursorSearch as CursorSearch, type index_d$8_CursorSearchPagingMethodOneOf as CursorSearchPagingMethodOneOf, type Cursors$5 as Cursors, type index_d$8_CustomActivity as CustomActivity, type CustomField$1 as CustomField, index_d$8_CustomFieldGroup as CustomFieldGroup, type index_d$8_CustomFieldValue as CustomFieldValue, type index_d$8_Customer as Customer, type index_d$8_DecrementData as DecrementData, type index_d$8_DecrementItemsQuantityRequest as DecrementItemsQuantityRequest, type index_d$8_DecrementItemsQuantityResponse as DecrementItemsQuantityResponse, type index_d$8_DelayedCaptureSettings as DelayedCaptureSettings, type index_d$8_DeleteActivityRequest as DeleteActivityRequest, type index_d$8_DeleteActivityResponse as DeleteActivityResponse, type index_d$8_DeleteByFilterOperation as DeleteByFilterOperation, type index_d$8_DeleteByIdsOperation as DeleteByIdsOperation, type DeliveryLogistics$1 as DeliveryLogistics, type index_d$8_DeliveryLogisticsAddressOneOf as DeliveryLogisticsAddressOneOf, type DeliveryTimeSlot$1 as DeliveryTimeSlot, index_d$8_DeltaPaymentOptionType as DeltaPaymentOptionType, type index_d$8_Deposit as Deposit, index_d$8_DepositType as DepositType, type index_d$8_DescriptionLine as DescriptionLine, type index_d$8_DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOf, type index_d$8_DescriptionLineName as DescriptionLineName, index_d$8_DescriptionLineType as DescriptionLineType, type index_d$8_DescriptionLineValueOneOf as DescriptionLineValueOneOf, type DiffmatokyPayload$2 as DiffmatokyPayload, type DigitalFile$1 as DigitalFile, type Discount$1 as Discount, type index_d$8_DiscountOneDiscountTypeOneOf as DiscountOneDiscountTypeOneOf, index_d$8_DiscountReason as DiscountReason, type DiscountRule$1 as DiscountRule, type DiscountRuleName$1 as DiscountRuleName, DiscountType$1 as DiscountType, type DomainEvent$6 as DomainEvent, type DomainEventBodyOneOf$6 as DomainEventBodyOneOf, type index_d$8_DownloadLinkSent as DownloadLinkSent, type index_d$8_DraftOrderChangesApplied as DraftOrderChangesApplied, type index_d$8_DraftOrderCommitSettings as DraftOrderCommitSettings, type index_d$8_DraftOrderDiffs as DraftOrderDiffs, type index_d$8_DraftOrderDiffsBillingUpdateInfoOneOf as DraftOrderDiffsBillingUpdateInfoOneOf, type index_d$8_DraftOrderDiffsBuyerUpdateInfoOneOf as DraftOrderDiffsBuyerUpdateInfoOneOf, type index_d$8_DraftOrderDiffsRecipientUpdateInfoOneOf as DraftOrderDiffsRecipientUpdateInfoOneOf, type index_d$8_DraftOrderDiffsShippingUpdateInfoOneOf as DraftOrderDiffsShippingUpdateInfoOneOf, type index_d$8_Duration as Duration, index_d$8_DurationUnit as DurationUnit, type index_d$8_Email as Email, type index_d$8_EmailEdited as EmailEdited, type Empty$4 as Empty, type EntityCreatedEvent$6 as EntityCreatedEvent, type EntityDeletedEvent$6 as EntityDeletedEvent, type EntityUpdatedEvent$6 as EntityUpdatedEvent, type ErrorInformation$2 as ErrorInformation, type EventMetadata$5 as EventMetadata, type ExtendedFields$3 as ExtendedFields, type index_d$8_ExternalUriMapping as ExternalUriMapping, type index_d$8_FulfillerEmailSent as FulfillerEmailSent, FulfillmentStatus$1 as FulfillmentStatus, type index_d$8_FulfillmentStatusUpdated as FulfillmentStatusUpdated, type index_d$8_FulfillmentStatusesAggregate as FulfillmentStatusesAggregate, type index_d$8_FullAddressContactDetails as FullAddressContactDetails, type index_d$8_GetMetasiteDataRequest as GetMetasiteDataRequest, type index_d$8_GetMetasiteDataResponse as GetMetasiteDataResponse, type index_d$8_GetOrderForMetasiteRequest as GetOrderForMetasiteRequest, type index_d$8_GetOrderForMetasiteResponse as GetOrderForMetasiteResponse, type index_d$8_GetOrderRequest as GetOrderRequest, type index_d$8_GetOrderResponse as GetOrderResponse, type index_d$8_GetOrderResponseNonNullableFields as GetOrderResponseNonNullableFields, type index_d$8_GetPaymentCollectabilityStatusRequest as GetPaymentCollectabilityStatusRequest, type index_d$8_GetPaymentCollectabilityStatusResponse as GetPaymentCollectabilityStatusResponse, type index_d$8_GetPaymentCollectabilityStatusResponseNonNullableFields as GetPaymentCollectabilityStatusResponseNonNullableFields, type GetRefundabilityStatusRequest$1 as GetRefundabilityStatusRequest, type GetRefundabilityStatusResponse$1 as GetRefundabilityStatusResponse, type index_d$8_GetShipmentsRequest as GetShipmentsRequest, type index_d$8_GetShipmentsResponse as GetShipmentsResponse, type GiftCardPaymentDetails$2 as GiftCardPaymentDetails, type index_d$8_HtmlApplication as HtmlApplication, type index_d$8_IdAndVersion as IdAndVersion, type IdentificationData$6 as IdentificationData, type IdentificationDataIdOneOf$6 as IdentificationDataIdOneOf, type IndexingMessage$1 as IndexingMessage, type index_d$8_InternalActivity as InternalActivity, type index_d$8_InternalActivityContentOneOf as InternalActivityContentOneOf, type index_d$8_InternalDocument as InternalDocument, type index_d$8_InternalDocumentUpdateByFilterOperation as InternalDocumentUpdateByFilterOperation, type index_d$8_InternalDocumentUpdateOperation as InternalDocumentUpdateOperation, type index_d$8_InternalQueryOrdersRequest as InternalQueryOrdersRequest, type index_d$8_InternalQueryOrdersResponse as InternalQueryOrdersResponse, type index_d$8_InternalUpdateExistingOperation as InternalUpdateExistingOperation, index_d$8_InventoryAction as InventoryAction, type index_d$8_InventoryUpdateDetails as InventoryUpdateDetails, type index_d$8_InvoiceAdded as InvoiceAdded, type index_d$8_InvoiceDates as InvoiceDates, type index_d$8_InvoiceDynamicPriceTotals as InvoiceDynamicPriceTotals, type index_d$8_InvoiceFields as InvoiceFields, type index_d$8_InvoiceSent as InvoiceSent, type index_d$8_InvoiceSentEvent as InvoiceSentEvent, index_d$8_InvoiceStatus as InvoiceStatus, type index_d$8_InvoicesPayment as InvoicesPayment, type index_d$8_ItemChangedDetails as ItemChangedDetails, type ItemMetadata$1 as ItemMetadata, type ItemTaxFullDetails$1 as ItemTaxFullDetails, type ItemType$1 as ItemType, ItemTypeItemType$1 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$1 as ItemTypeItemTypeDataOneOf, type index_d$8_ItemizedFee as ItemizedFee, JurisdictionType$1 as JurisdictionType, type LineItem$2 as LineItem, type index_d$8_LineItemAmount as LineItemAmount, type index_d$8_LineItemChanges as LineItemChanges, type index_d$8_LineItemDelta as LineItemDelta, type index_d$8_LineItemDeltaDeltaOneOf as LineItemDeltaDeltaOneOf, type LineItemDiscount$1 as LineItemDiscount, type index_d$8_LineItemExchangeData as LineItemExchangeData, type index_d$8_LineItemMetaData as LineItemMetaData, type index_d$8_LineItemPriceChange as LineItemPriceChange, type index_d$8_LineItemQuantityChange as LineItemQuantityChange, index_d$8_LineItemQuantityChangeType as LineItemQuantityChangeType, type LineItemRefund$2 as LineItemRefund, type index_d$8_LineItemTax as LineItemTax, type index_d$8_LineItemTaxBreakdown as LineItemTaxBreakdown, type index_d$8_LineItemTaxInfo as LineItemTaxInfo, type index_d$8_LineItemUpdate as LineItemUpdate, type index_d$8_LineItems as LineItems, type index_d$8_ListOrderTransactionsForMetasiteRequest as ListOrderTransactionsForMetasiteRequest, type index_d$8_ListOrderTransactionsForMetasiteResponse as ListOrderTransactionsForMetasiteResponse, type index_d$8_Locale as Locale, type index_d$8_LocationAndQuantity as LocationAndQuantity, type index_d$8_ManagedAdditionalFee as ManagedAdditionalFee, type index_d$8_ManagedDiscount as ManagedDiscount, type index_d$8_ManagedLineItem as ManagedLineItem, ManuallyRefundableReason$1 as ManuallyRefundableReason, type index_d$8_MarkAsFulfilledRequest as MarkAsFulfilledRequest, type index_d$8_MarkAsFulfilledResponse as MarkAsFulfilledResponse, type index_d$8_MarkAsUnfulfilledRequest as MarkAsUnfulfilledRequest, type index_d$8_MarkAsUnfulfilledResponse as MarkAsUnfulfilledResponse, type index_d$8_MarkOrderAsPaidRequest as MarkOrderAsPaidRequest, type index_d$8_MarkOrderAsPaidResponse as MarkOrderAsPaidResponse, type index_d$8_MarkOrderAsSeenByHumanRequest as MarkOrderAsSeenByHumanRequest, type index_d$8_MarkOrderAsSeenByHumanResponse as MarkOrderAsSeenByHumanResponse, type index_d$8_MaskedOrder as MaskedOrder, type index_d$8_MaskedOrderLineItem as MaskedOrderLineItem, type index_d$8_MembershipChargeItem as MembershipChargeItem, type MembershipName$3 as MembershipName, type MembershipPaymentDetails$2 as MembershipPaymentDetails, MembershipPaymentStatus$2 as MembershipPaymentStatus, type index_d$8_MerchantComment as MerchantComment, type MerchantDiscount$1 as MerchantDiscount, type index_d$8_MerchantDiscountMerchantDiscountReasonOneOf as MerchantDiscountMerchantDiscountReasonOneOf, type MessageEnvelope$6 as MessageEnvelope, type index_d$8_MetaData as MetaData, type index_d$8_MetaSite as MetaSite, type index_d$8_MetaTag as MetaTag, index_d$8_Namespace as Namespace, type index_d$8_NewExchangeOrderCreated as NewExchangeOrderCreated, NonRefundableReason$1 as NonRefundableReason, type Order$1 as Order, index_d$8_OrderApprovalStrategy as OrderApprovalStrategy, type index_d$8_OrderApproved as OrderApproved, type index_d$8_OrderApprovedEnvelope as OrderApprovedEnvelope, type index_d$8_OrderCanceled as OrderCanceled, type index_d$8_OrderCanceledEnvelope as OrderCanceledEnvelope, type index_d$8_OrderCanceledEventOrderCanceled as OrderCanceledEventOrderCanceled, type index_d$8_OrderChange as OrderChange, type index_d$8_OrderChangeValueOneOf as OrderChangeValueOneOf, type index_d$8_OrderCreateNotifications as OrderCreateNotifications, type index_d$8_OrderCreatedEnvelope as OrderCreatedEnvelope, type index_d$8_OrderCreatedFromExchange as OrderCreatedFromExchange, type index_d$8_OrderCreationSettings as OrderCreationSettings, type index_d$8_OrderDeltasCommitted as OrderDeltasCommitted, type index_d$8_OrderFulfilled as OrderFulfilled, type index_d$8_OrderItemsRestocked as OrderItemsRestocked, type index_d$8_OrderLineItem as OrderLineItem, type index_d$8_OrderLineItemChangedDetails as OrderLineItemChangedDetails, type index_d$8_OrderNonNullableFields as OrderNonNullableFields, type index_d$8_OrderNotFulfilled as OrderNotFulfilled, type index_d$8_OrderPaid as OrderPaid, type index_d$8_OrderPartiallyPaid as OrderPartiallyPaid, type index_d$8_OrderPaymentStatusUpdatedEnvelope as OrderPaymentStatusUpdatedEnvelope, type index_d$8_OrderPlaced as OrderPlaced, type OrderRefunded$1 as OrderRefunded, index_d$8_OrderStatus as OrderStatus, type index_d$8_OrderTaxBreakdown as OrderTaxBreakdown, type index_d$8_OrderTaxInfo as OrderTaxInfo, type OrderTransactions$2 as OrderTransactions, type index_d$8_OrderUpdatedEnvelope as OrderUpdatedEnvelope, type index_d$8_OrdersExperiments as OrdersExperiments, type Payment$2 as Payment, type index_d$8_PaymentCapture as PaymentCapture, index_d$8_PaymentCollectabilityStatus as PaymentCollectabilityStatus, PaymentOptionType$1 as PaymentOptionType, type PaymentPaymentDetailsOneOf$2 as PaymentPaymentDetailsOneOf, type PaymentRefund$1 as PaymentRefund, type index_d$8_PaymentRefundFailed as PaymentRefundFailed, type index_d$8_PaymentRefunded as PaymentRefunded, PaymentStatus$1 as PaymentStatus, type index_d$8_PaymentStatusUpdated as PaymentStatusUpdated, type index_d$8_Payments as Payments, type index_d$8_Phone as Phone, type PhysicalProperties$1 as PhysicalProperties, type PickupAddress$1 as PickupAddress, type PickupDetails$2 as PickupDetails, PickupMethod$1 as PickupMethod, type index_d$8_PickupReadyEmailSent as PickupReadyEmailSent, index_d$8_Placement as Placement, type index_d$8_PlainTextValue as PlainTextValue, type index_d$8_PlatformPaging as PlatformPaging, type index_d$8_PlatformPagingMetadata as PlatformPagingMetadata, type index_d$8_PlatformQuery as PlatformQuery, type index_d$8_PlatformQueryPagingMethodOneOf as PlatformQueryPagingMethodOneOf, type index_d$8_PreparePaymentCollectionOptions as PreparePaymentCollectionOptions, type index_d$8_PreparePaymentCollectionRequest as PreparePaymentCollectionRequest, type index_d$8_PreparePaymentCollectionResponse as PreparePaymentCollectionResponse, type index_d$8_PreparePaymentCollectionResponseNonNullableFields as PreparePaymentCollectionResponseNonNullableFields, type index_d$8_PreviewBuyerConfirmationEmailRequest as PreviewBuyerConfirmationEmailRequest, type index_d$8_PreviewBuyerConfirmationEmailResponse as PreviewBuyerConfirmationEmailResponse, type index_d$8_PreviewBuyerPaymentsReceivedEmailRequest as PreviewBuyerPaymentsReceivedEmailRequest, type index_d$8_PreviewBuyerPaymentsReceivedEmailResponse as PreviewBuyerPaymentsReceivedEmailResponse, type index_d$8_PreviewBuyerPickupConfirmationEmailRequest as PreviewBuyerPickupConfirmationEmailRequest, type index_d$8_PreviewBuyerPickupConfirmationEmailResponse as PreviewBuyerPickupConfirmationEmailResponse, type index_d$8_PreviewCancelEmailRequest as PreviewCancelEmailRequest, type index_d$8_PreviewCancelEmailResponse as PreviewCancelEmailResponse, type index_d$8_PreviewCancelRefundEmailRequest as PreviewCancelRefundEmailRequest, type index_d$8_PreviewCancelRefundEmailResponse as PreviewCancelRefundEmailResponse, type index_d$8_PreviewEmailByTypeRequest as PreviewEmailByTypeRequest, type index_d$8_PreviewEmailByTypeResponse as PreviewEmailByTypeResponse, index_d$8_PreviewEmailType as PreviewEmailType, type index_d$8_PreviewRefundEmailRequest as PreviewRefundEmailRequest, type index_d$8_PreviewRefundEmailResponse as PreviewRefundEmailResponse, type index_d$8_PreviewResendDownloadLinksEmailRequest as PreviewResendDownloadLinksEmailRequest, type index_d$8_PreviewResendDownloadLinksEmailResponse as PreviewResendDownloadLinksEmailResponse, type index_d$8_PreviewShippingConfirmationEmailRequest as PreviewShippingConfirmationEmailRequest, type index_d$8_PreviewShippingConfirmationEmailResponse as PreviewShippingConfirmationEmailResponse, type Price$2 as Price, type index_d$8_PriceDescription as PriceDescription, type PriceSummary$1 as PriceSummary, type index_d$8_ProductName as ProductName, type index_d$8_PublicActivity as PublicActivity, type index_d$8_PublicActivityContentOneOf as PublicActivityContentOneOf, type index_d$8_QueryOrderRequest as QueryOrderRequest, type index_d$8_QueryOrderResponse as QueryOrderResponse, type index_d$8_QueryOrdersForMetasiteRequest as QueryOrdersForMetasiteRequest, type index_d$8_QueryOrdersForMetasiteResponse as QueryOrdersForMetasiteResponse, type index_d$8_QuotesAddress as QuotesAddress, Reason$2 as Reason, type index_d$8_RecordManuallyCollectedPaymentRequest as RecordManuallyCollectedPaymentRequest, type index_d$8_RecordManuallyCollectedPaymentResponse as RecordManuallyCollectedPaymentResponse, type index_d$8_RedirectUrls as RedirectUrls, type Refund$2 as Refund, type RefundCreated$1 as RefundCreated, type RefundDetails$2 as RefundDetails, type index_d$8_RefundInitiated as RefundInitiated, type RefundItem$2 as RefundItem, type RefundSideEffects$1 as RefundSideEffects, RefundStatus$2 as RefundStatus, type RefundTransaction$2 as RefundTransaction, type Refundability$1 as Refundability, type RefundabilityAdditionalRefundabilityInfoOneOf$1 as RefundabilityAdditionalRefundabilityInfoOneOf, RefundableStatus$1 as RefundableStatus, type index_d$8_RefundedAsStoreCredit as RefundedAsStoreCredit, type index_d$8_RefundedPayment as RefundedPayment, type index_d$8_RefundedPaymentKindOneOf as RefundedPaymentKindOneOf, type RegularPaymentDetails$2 as RegularPaymentDetails, type RegularPaymentDetailsPaymentMethodDetailsOneOf$2 as RegularPaymentDetailsPaymentMethodDetailsOneOf, type index_d$8_RegularPaymentRefund as RegularPaymentRefund, type index_d$8_Reschedule as Reschedule, type RestockInfo$1 as RestockInfo, type RestockItem$1 as RestockItem, RestockType$1 as RestockType, type RestoreInfo$6 as RestoreInfo, type index_d$8_SavedPaymentMethod as SavedPaymentMethod, ScheduledAction$2 as ScheduledAction, type index_d$8_SearchOrdersOptions as SearchOrdersOptions, type index_d$8_SearchOrdersRequest as SearchOrdersRequest, type index_d$8_SearchOrdersResponse as SearchOrdersResponse, type index_d$8_SearchOrdersResponseNonNullableFields as SearchOrdersResponseNonNullableFields, type index_d$8_SendBuyerConfirmationEmailRequest as SendBuyerConfirmationEmailRequest, type index_d$8_SendBuyerConfirmationEmailResponse as SendBuyerConfirmationEmailResponse, type index_d$8_SendBuyerPaymentsReceivedEmailRequest as SendBuyerPaymentsReceivedEmailRequest, type index_d$8_SendBuyerPaymentsReceivedEmailResponse as SendBuyerPaymentsReceivedEmailResponse, type index_d$8_SendBuyerPickupConfirmationEmailRequest as SendBuyerPickupConfirmationEmailRequest, type index_d$8_SendBuyerPickupConfirmationEmailResponse as SendBuyerPickupConfirmationEmailResponse, type index_d$8_SendBuyerShippingConfirmationEmailRequest as SendBuyerShippingConfirmationEmailRequest, type index_d$8_SendBuyerShippingConfirmationEmailResponse as SendBuyerShippingConfirmationEmailResponse, type index_d$8_SendCancelRefundEmailRequest as SendCancelRefundEmailRequest, type index_d$8_SendCancelRefundEmailResponse as SendCancelRefundEmailResponse, type index_d$8_SendMerchantOrderReceivedNotificationRequest as SendMerchantOrderReceivedNotificationRequest, type index_d$8_SendMerchantOrderReceivedNotificationResponse as SendMerchantOrderReceivedNotificationResponse, type index_d$8_SendMerchantOrderReceivedPushRequest as SendMerchantOrderReceivedPushRequest, type index_d$8_SendMerchantOrderReceivedPushResponse as SendMerchantOrderReceivedPushResponse, type index_d$8_SendRefundEmailRequest as SendRefundEmailRequest, type index_d$8_SendRefundEmailResponse as SendRefundEmailResponse, type index_d$8_SeoData as SeoData, type ServiceProperties$1 as ServiceProperties, type index_d$8_ShippingAddressEdited as ShippingAddressEdited, type index_d$8_ShippingConfirmationEmailSent as ShippingConfirmationEmailSent, type ShippingInformation$1 as ShippingInformation, type index_d$8_ShippingInformationChange as ShippingInformationChange, type ShippingPrice$1 as ShippingPrice, type ShippingRefund$2 as ShippingRefund, type ShippingRegion$1 as ShippingRegion, type SnapshotMessage$1 as SnapshotMessage, SortOrder$5 as SortOrder, type Sorting$5 as Sorting, type Source$1 as Source, index_d$8_SourceType as SourceType, type index_d$8_StandardDetails as StandardDetails, index_d$8_State as State, type StreetAddress$3 as StreetAddress, type index_d$8_Subdivision as Subdivision, index_d$8_SubdivisionType as SubdivisionType, SubscriptionFrequency$2 as SubscriptionFrequency, type SubscriptionInfo$1 as SubscriptionInfo, type SubscriptionSettings$2 as SubscriptionSettings, type index_d$8_TagList as TagList, type index_d$8_Tags as Tags, type index_d$8_Task as Task, type index_d$8_TaskAction as TaskAction, type index_d$8_TaskActionActionOneOf as TaskActionActionOneOf, type index_d$8_TaskKey as TaskKey, type TaxSummary$1 as TaxSummary, type TaxableAddress$1 as TaxableAddress, type TaxableAddressTaxableAddressDataOneOf$1 as TaxableAddressTaxableAddressDataOneOf, TaxableAddressType$1 as TaxableAddressType, type index_d$8_TotalPrice as TotalPrice, type index_d$8_TotalPriceChange as TotalPriceChange, type index_d$8_TrackingLinkAdded as TrackingLinkAdded, type index_d$8_TrackingNumberAdded as TrackingNumberAdded, type index_d$8_TrackingNumberEdited as TrackingNumberEdited, TransactionStatus$2 as TransactionStatus, type index_d$8_TranslatedValue as TranslatedValue, type TriggerRefundRequest$1 as TriggerRefundRequest, type TriggerRefundResponse$1 as TriggerRefundResponse, type index_d$8_TriggerReindexOrderRequest as TriggerReindexOrderRequest, type index_d$8_TriggerReindexRequest as TriggerReindexRequest, type index_d$8_TriggerReindexResponse as TriggerReindexResponse, type index_d$8_TriggerSideEffectsFromLegacyData as TriggerSideEffectsFromLegacyData, type index_d$8_UnArchiveOrderRequest as UnArchiveOrderRequest, type index_d$8_UnArchiveOrderResponse as UnArchiveOrderResponse, type index_d$8_UpdateActivityRequest as UpdateActivityRequest, type index_d$8_UpdateActivityResponse as UpdateActivityResponse, type index_d$8_UpdateBillingContactDetailsRequest as UpdateBillingContactDetailsRequest, type index_d$8_UpdateBillingContactDetailsResponse as UpdateBillingContactDetailsResponse, type index_d$8_UpdateBuyerEmailRequest as UpdateBuyerEmailRequest, type index_d$8_UpdateBuyerEmailResponse as UpdateBuyerEmailResponse, type index_d$8_UpdateBuyerInfoRequest as UpdateBuyerInfoRequest, type index_d$8_UpdateBuyerInfoResponse as UpdateBuyerInfoResponse, type index_d$8_UpdateInternalDocumentsEvent as UpdateInternalDocumentsEvent, type index_d$8_UpdateInternalDocumentsEventOperationOneOf as UpdateInternalDocumentsEventOperationOneOf, type index_d$8_UpdateLineItemsDescriptionLinesRequest as UpdateLineItemsDescriptionLinesRequest, type index_d$8_UpdateLineItemsDescriptionLinesResponse as UpdateLineItemsDescriptionLinesResponse, type index_d$8_UpdateOrder as UpdateOrder, type index_d$8_UpdateOrderLineItemRequest as UpdateOrderLineItemRequest, type index_d$8_UpdateOrderLineItemResponse as UpdateOrderLineItemResponse, type index_d$8_UpdateOrderLineItemsRequest as UpdateOrderLineItemsRequest, type index_d$8_UpdateOrderLineItemsResponse as UpdateOrderLineItemsResponse, type index_d$8_UpdateOrderRequest as UpdateOrderRequest, type index_d$8_UpdateOrderResponse as UpdateOrderResponse, type index_d$8_UpdateOrderResponseNonNullableFields as UpdateOrderResponseNonNullableFields, type index_d$8_UpdateOrderShippingAddressRequest as UpdateOrderShippingAddressRequest, type index_d$8_UpdateOrderShippingAddressResponse as UpdateOrderShippingAddressResponse, type index_d$8_UpsertRefundRequest as UpsertRefundRequest, type index_d$8_UpsertRefundResponse as UpsertRefundResponse, type index_d$8_UserDataResponse as UserDataResponse, type index_d$8_V1BulkMarkOrdersAsPaidRequest as V1BulkMarkOrdersAsPaidRequest, type index_d$8_V1BulkMarkOrdersAsPaidResponse as V1BulkMarkOrdersAsPaidResponse, type index_d$8_V1CreatePaymentGatewayOrderRequest as V1CreatePaymentGatewayOrderRequest, type index_d$8_V1CreatePaymentGatewayOrderResponse as V1CreatePaymentGatewayOrderResponse, type index_d$8_V1LineItemDelta as V1LineItemDelta, type index_d$8_V1LineItemDeltaDeltaOneOf as V1LineItemDeltaDeltaOneOf, type index_d$8_V1MarkOrderAsPaidRequest as V1MarkOrderAsPaidRequest, type index_d$8_V1MarkOrderAsPaidResponse as V1MarkOrderAsPaidResponse, type index_d$8_V1RestockItem as V1RestockItem, type index_d$8_V1ScheduledAction as V1ScheduledAction, type index_d$8_V1ShippingInformation as V1ShippingInformation, type index_d$8_Value as Value, index_d$8_ValueType as ValueType, type VatId$1 as VatId, VatType$1 as VatType, type index_d$8_VersionedDeleteByIdsOperation as VersionedDeleteByIdsOperation, type index_d$8_VersionedDocumentId as VersionedDocumentId, type index_d$8_VersionedDocumentUpdateOperation as VersionedDocumentUpdateOperation, index_d$8_VersioningMode as VersioningMode, type index_d$8_VoidAuthorizedPaymentsRequest as VoidAuthorizedPaymentsRequest, type index_d$8_VoidAuthorizedPaymentsResponse as VoidAuthorizedPaymentsResponse, type index_d$8_VoidAuthorizedPaymentsResponseNonNullableFields as VoidAuthorizedPaymentsResponseNonNullableFields, WebhookIdentityType$6 as WebhookIdentityType, WeightUnit$2 as WeightUnit, type index_d$8__publicOnOrderApprovedType as _publicOnOrderApprovedType, type index_d$8__publicOnOrderCanceledType as _publicOnOrderCanceledType, type index_d$8__publicOnOrderCreatedType as _publicOnOrderCreatedType, type index_d$8__publicOnOrderPaymentStatusUpdatedType as _publicOnOrderPaymentStatusUpdatedType, type index_d$8__publicOnOrderUpdatedType as _publicOnOrderUpdatedType, index_d$8_bulkUpdateOrderTags as bulkUpdateOrderTags, index_d$8_bulkUpdateOrders as bulkUpdateOrders, index_d$8_cancelOrder as cancelOrder, index_d$8_captureAuthorizedPayments as captureAuthorizedPayments, index_d$8_createOrder as createOrder, index_d$8_getOrder as getOrder, index_d$8_getPaymentCollectabilityStatus as getPaymentCollectabilityStatus, index_d$8_onOrderApproved as onOrderApproved, index_d$8_onOrderCanceled as onOrderCanceled, index_d$8_onOrderCreated as onOrderCreated, index_d$8_onOrderPaymentStatusUpdated as onOrderPaymentStatusUpdated, index_d$8_onOrderUpdated as onOrderUpdated, index_d$8_preparePaymentCollection as preparePaymentCollection, onOrderApproved$1 as publicOnOrderApproved, onOrderCanceled$1 as publicOnOrderCanceled, onOrderCreated$1 as publicOnOrderCreated, onOrderPaymentStatusUpdated$1 as publicOnOrderPaymentStatusUpdated, onOrderUpdated$1 as publicOnOrderUpdated, index_d$8_searchOrders as searchOrders, index_d$8_updateOrder as updateOrder, index_d$8_voidAuthorizedPayments as voidAuthorizedPayments };
|
|
27989
|
+
export { type ActionEvent$6 as ActionEvent, ActionType$2 as ActionType, type Activity$1 as Activity, type index_d$8_ActivityContentOneOf as ActivityContentOneOf, ActivityType$1 as ActivityType, type index_d$8_AddActivitiesRequest as AddActivitiesRequest, type index_d$8_AddActivitiesResponse as AddActivitiesResponse, type index_d$8_AddActivityRequest as AddActivityRequest, type index_d$8_AddActivityResponse as AddActivityResponse, type index_d$8_AddInternalActivityRequest as AddInternalActivityRequest, type index_d$8_AddInternalActivityResponse as AddInternalActivityResponse, type AdditionalFee$1 as AdditionalFee, type index_d$8_AdditionalFeeDelta as AdditionalFeeDelta, type index_d$8_AdditionalFeeDeltaDeltaOneOf as AdditionalFeeDeltaDeltaOneOf, type AdditionalFeeRefund$2 as AdditionalFeeRefund, type Address$4 as Address, type index_d$8_AddressDescription as AddressDescription, type AddressLocation$2 as AddressLocation, type index_d$8_AddressWithContact as AddressWithContact, type index_d$8_AggregateOrdersRequest as AggregateOrdersRequest, type index_d$8_AggregateOrdersResponse as AggregateOrdersResponse, type AggregatedRefundSummary$2 as AggregatedRefundSummary, type index_d$8_App as App, type ApplicationError$3 as ApplicationError, type AppliedDiscount$1 as AppliedDiscount, type index_d$8_AppliedDiscountDelta as AppliedDiscountDelta, type index_d$8_AppliedDiscountDeltaDeltaOneOf as AppliedDiscountDeltaDeltaOneOf, type AppliedDiscountDiscountSourceOneOf$1 as AppliedDiscountDiscountSourceOneOf, type index_d$8_ArchiveOrderRequest as ArchiveOrderRequest, type index_d$8_ArchiveOrderResponse as ArchiveOrderResponse, index_d$8_AttributionSource as AttributionSource, type AuthorizationActionFailureDetails$2 as AuthorizationActionFailureDetails, type AuthorizationCapture$2 as AuthorizationCapture, AuthorizationCaptureStatus$2 as AuthorizationCaptureStatus, type AuthorizationDetails$2 as AuthorizationDetails, type AuthorizationVoid$2 as AuthorizationVoid, AuthorizationVoidStatus$2 as AuthorizationVoidStatus, type index_d$8_AuthorizedPaymentCaptured as AuthorizedPaymentCaptured, type index_d$8_AuthorizedPaymentCreated as AuthorizedPaymentCreated, type index_d$8_AuthorizedPaymentVoided as AuthorizedPaymentVoided, type index_d$8_Balance as Balance, type index_d$8_BalanceSummary as BalanceSummary, type BaseEventMetadata$4 as BaseEventMetadata, type index_d$8_BatchOfTriggerReindexOrderRequest as BatchOfTriggerReindexOrderRequest, type index_d$8_BigDecimalWrapper as BigDecimalWrapper, type BulkActionMetadata$1 as BulkActionMetadata, type index_d$8_BulkArchiveOrdersByFilterRequest as BulkArchiveOrdersByFilterRequest, type index_d$8_BulkArchiveOrdersByFilterResponse as BulkArchiveOrdersByFilterResponse, type index_d$8_BulkArchiveOrdersRequest as BulkArchiveOrdersRequest, type index_d$8_BulkArchiveOrdersResponse as BulkArchiveOrdersResponse, type index_d$8_BulkMarkAsFulfilledByFilterRequest as BulkMarkAsFulfilledByFilterRequest, type index_d$8_BulkMarkAsFulfilledByFilterResponse as BulkMarkAsFulfilledByFilterResponse, type index_d$8_BulkMarkAsFulfilledRequest as BulkMarkAsFulfilledRequest, type index_d$8_BulkMarkAsFulfilledResponse as BulkMarkAsFulfilledResponse, type index_d$8_BulkMarkAsUnfulfilledByFilterRequest as BulkMarkAsUnfulfilledByFilterRequest, type index_d$8_BulkMarkAsUnfulfilledByFilterResponse as BulkMarkAsUnfulfilledByFilterResponse, type index_d$8_BulkMarkAsUnfulfilledRequest as BulkMarkAsUnfulfilledRequest, type index_d$8_BulkMarkAsUnfulfilledResponse as BulkMarkAsUnfulfilledResponse, type index_d$8_BulkMarkOrdersAsPaidRequest as BulkMarkOrdersAsPaidRequest, type index_d$8_BulkMarkOrdersAsPaidResponse as BulkMarkOrdersAsPaidResponse, type index_d$8_BulkOrderResult as BulkOrderResult, type index_d$8_BulkSendBuyerPickupConfirmationEmailsRequest as BulkSendBuyerPickupConfirmationEmailsRequest, type index_d$8_BulkSendBuyerPickupConfirmationEmailsResponse as BulkSendBuyerPickupConfirmationEmailsResponse, type index_d$8_BulkSendBuyerShippingConfirmationEmailsRequest as BulkSendBuyerShippingConfirmationEmailsRequest, type index_d$8_BulkSendBuyerShippingConfirmationEmailsResponse as BulkSendBuyerShippingConfirmationEmailsResponse, type index_d$8_BulkUnArchiveOrdersByFilterRequest as BulkUnArchiveOrdersByFilterRequest, type index_d$8_BulkUnArchiveOrdersByFilterResponse as BulkUnArchiveOrdersByFilterResponse, type index_d$8_BulkUnArchiveOrdersRequest as BulkUnArchiveOrdersRequest, type index_d$8_BulkUnArchiveOrdersResponse as BulkUnArchiveOrdersResponse, type index_d$8_BulkUpdateOrderTagsOptions as BulkUpdateOrderTagsOptions, type index_d$8_BulkUpdateOrderTagsRequest as BulkUpdateOrderTagsRequest, type index_d$8_BulkUpdateOrderTagsResponse as BulkUpdateOrderTagsResponse, type index_d$8_BulkUpdateOrderTagsResponseNonNullableFields as BulkUpdateOrderTagsResponseNonNullableFields, type index_d$8_BulkUpdateOrderTagsResult as BulkUpdateOrderTagsResult, type index_d$8_BulkUpdateOrdersOptions as BulkUpdateOrdersOptions, type index_d$8_BulkUpdateOrdersRequest as BulkUpdateOrdersRequest, type index_d$8_BulkUpdateOrdersResponse as BulkUpdateOrdersResponse, type index_d$8_BulkUpdateOrdersResponseNonNullableFields as BulkUpdateOrdersResponseNonNullableFields, type BuyerInfo$1 as BuyerInfo, type index_d$8_BuyerInfoIdOneOf as BuyerInfoIdOneOf, type index_d$8_BuyerInfoUpdate as BuyerInfoUpdate, type CalculateRefundItemRequest$1 as CalculateRefundItemRequest, type CalculateRefundItemResponse$1 as CalculateRefundItemResponse, type CalculateRefundRequest$1 as CalculateRefundRequest, type CalculateRefundResponse$1 as CalculateRefundResponse, type index_d$8_CalculatedTax as CalculatedTax, type index_d$8_CalculatedTaxes as CalculatedTaxes, type index_d$8_Cancel as Cancel, type index_d$8_CancelOrderOptions as CancelOrderOptions, type index_d$8_CancelOrderRequest as CancelOrderRequest, type index_d$8_CancelOrderResponse as CancelOrderResponse, type index_d$8_CancelOrderResponseNonNullableFields as CancelOrderResponseNonNullableFields, type index_d$8_CaptureAuthorizedPaymentsRequest as CaptureAuthorizedPaymentsRequest, type index_d$8_CaptureAuthorizedPaymentsResponse as CaptureAuthorizedPaymentsResponse, type index_d$8_CaptureAuthorizedPaymentsResponseNonNullableFields as CaptureAuthorizedPaymentsResponseNonNullableFields, type CatalogReference$1 as CatalogReference, type ChannelInfo$1 as ChannelInfo, ChannelType$1 as ChannelType, type index_d$8_ChargeMembershipsRequest as ChargeMembershipsRequest, type index_d$8_ChargeMembershipsResponse as ChargeMembershipsResponse, type index_d$8_ChargeSavedPaymentMethodRequest as ChargeSavedPaymentMethodRequest, type index_d$8_ChargeSavedPaymentMethodResponse as ChargeSavedPaymentMethodResponse, type index_d$8_ChargedBy as ChargedBy, type index_d$8_Color as Color, type index_d$8_CommitDeltasRequest as CommitDeltasRequest, type index_d$8_CommitDeltasResponse as CommitDeltasResponse, type index_d$8_CommittedDiffs as CommittedDiffs, type index_d$8_CommittedDiffsShippingUpdateInfoOneOf as CommittedDiffsShippingUpdateInfoOneOf, type index_d$8_CommonAddress as CommonAddress, type index_d$8_CommonAddressStreetOneOf as CommonAddressStreetOneOf, type index_d$8_Company as Company, type index_d$8_Complete as Complete, type index_d$8_ContinueSideEffectsFlowInLegacyData as ContinueSideEffectsFlowInLegacyData, type Coupon$1 as Coupon, type index_d$8_CreateOrderRequest as CreateOrderRequest, type index_d$8_CreateOrderResponse as CreateOrderResponse, type index_d$8_CreateOrderResponseNonNullableFields as CreateOrderResponseNonNullableFields, type index_d$8_CreatePaymentGatewayOrderRequest as CreatePaymentGatewayOrderRequest, type index_d$8_CreatePaymentGatewayOrderResponse as CreatePaymentGatewayOrderResponse, type index_d$8_CreatedBy as CreatedBy, type index_d$8_CreatedByStringOneOf as CreatedByStringOneOf, type CreditCardPaymentMethodDetails$2 as CreditCardPaymentMethodDetails, type CursorPaging$5 as CursorPaging, type CursorPagingMetadata$5 as CursorPagingMetadata, type index_d$8_CursorSearch as CursorSearch, type index_d$8_CursorSearchPagingMethodOneOf as CursorSearchPagingMethodOneOf, type Cursors$5 as Cursors, type index_d$8_CustomActivity as CustomActivity, type CustomField$1 as CustomField, index_d$8_CustomFieldGroup as CustomFieldGroup, type index_d$8_CustomFieldValue as CustomFieldValue, type index_d$8_Customer as Customer, type index_d$8_DecrementData as DecrementData, type index_d$8_DecrementItemsQuantityRequest as DecrementItemsQuantityRequest, type index_d$8_DecrementItemsQuantityResponse as DecrementItemsQuantityResponse, type index_d$8_DelayedCaptureSettings as DelayedCaptureSettings, type index_d$8_DeleteActivityRequest as DeleteActivityRequest, type index_d$8_DeleteActivityResponse as DeleteActivityResponse, type index_d$8_DeleteByFilterOperation as DeleteByFilterOperation, type index_d$8_DeleteByIdsOperation as DeleteByIdsOperation, type DeliveryLogistics$1 as DeliveryLogistics, type index_d$8_DeliveryLogisticsAddressOneOf as DeliveryLogisticsAddressOneOf, type DeliveryTimeSlot$1 as DeliveryTimeSlot, index_d$8_DeltaPaymentOptionType as DeltaPaymentOptionType, type index_d$8_Deposit as Deposit, index_d$8_DepositType as DepositType, type index_d$8_DescriptionLine as DescriptionLine, type index_d$8_DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOf, type index_d$8_DescriptionLineName as DescriptionLineName, index_d$8_DescriptionLineType as DescriptionLineType, type index_d$8_DescriptionLineValueOneOf as DescriptionLineValueOneOf, type DiffmatokyPayload$2 as DiffmatokyPayload, type DigitalFile$1 as DigitalFile, type Discount$1 as Discount, type index_d$8_DiscountOneDiscountTypeOneOf as DiscountOneDiscountTypeOneOf, index_d$8_DiscountReason as DiscountReason, type DiscountRule$1 as DiscountRule, type DiscountRuleName$1 as DiscountRuleName, DiscountType$1 as DiscountType, type DomainEvent$6 as DomainEvent, type DomainEventBodyOneOf$6 as DomainEventBodyOneOf, type index_d$8_DownloadLinkSent as DownloadLinkSent, type index_d$8_DraftOrderChangesApplied as DraftOrderChangesApplied, type index_d$8_DraftOrderCommitSettings as DraftOrderCommitSettings, type index_d$8_DraftOrderDiffs as DraftOrderDiffs, type index_d$8_DraftOrderDiffsBillingUpdateInfoOneOf as DraftOrderDiffsBillingUpdateInfoOneOf, type index_d$8_DraftOrderDiffsBuyerUpdateInfoOneOf as DraftOrderDiffsBuyerUpdateInfoOneOf, type index_d$8_DraftOrderDiffsRecipientUpdateInfoOneOf as DraftOrderDiffsRecipientUpdateInfoOneOf, type index_d$8_DraftOrderDiffsShippingUpdateInfoOneOf as DraftOrderDiffsShippingUpdateInfoOneOf, type index_d$8_Duration as Duration, index_d$8_DurationUnit as DurationUnit, type index_d$8_Email as Email, type index_d$8_EmailEdited as EmailEdited, type Empty$4 as Empty, type EntityCreatedEvent$6 as EntityCreatedEvent, type EntityDeletedEvent$6 as EntityDeletedEvent, type EntityUpdatedEvent$6 as EntityUpdatedEvent, type ErrorInformation$2 as ErrorInformation, type EventMetadata$4 as EventMetadata, type ExtendedFields$3 as ExtendedFields, type index_d$8_ExternalUriMapping as ExternalUriMapping, type index_d$8_FulfillerEmailSent as FulfillerEmailSent, FulfillmentStatus$1 as FulfillmentStatus, type index_d$8_FulfillmentStatusUpdated as FulfillmentStatusUpdated, type index_d$8_FulfillmentStatusesAggregate as FulfillmentStatusesAggregate, type index_d$8_FullAddressContactDetails as FullAddressContactDetails, type index_d$8_GetMetasiteDataRequest as GetMetasiteDataRequest, type index_d$8_GetMetasiteDataResponse as GetMetasiteDataResponse, type index_d$8_GetOrderForMetasiteRequest as GetOrderForMetasiteRequest, type index_d$8_GetOrderForMetasiteResponse as GetOrderForMetasiteResponse, type index_d$8_GetOrderRequest as GetOrderRequest, type index_d$8_GetOrderResponse as GetOrderResponse, type index_d$8_GetOrderResponseNonNullableFields as GetOrderResponseNonNullableFields, type index_d$8_GetPaymentCollectabilityStatusRequest as GetPaymentCollectabilityStatusRequest, type index_d$8_GetPaymentCollectabilityStatusResponse as GetPaymentCollectabilityStatusResponse, type index_d$8_GetPaymentCollectabilityStatusResponseNonNullableFields as GetPaymentCollectabilityStatusResponseNonNullableFields, type GetRefundabilityStatusRequest$1 as GetRefundabilityStatusRequest, type GetRefundabilityStatusResponse$1 as GetRefundabilityStatusResponse, type index_d$8_GetShipmentsRequest as GetShipmentsRequest, type index_d$8_GetShipmentsResponse as GetShipmentsResponse, type GiftCardPaymentDetails$2 as GiftCardPaymentDetails, type index_d$8_HtmlApplication as HtmlApplication, type index_d$8_IdAndVersion as IdAndVersion, type IdentificationData$6 as IdentificationData, type IdentificationDataIdOneOf$6 as IdentificationDataIdOneOf, type IndexingMessage$1 as IndexingMessage, type index_d$8_InternalActivity as InternalActivity, type index_d$8_InternalActivityContentOneOf as InternalActivityContentOneOf, type index_d$8_InternalDocument as InternalDocument, type index_d$8_InternalDocumentUpdateByFilterOperation as InternalDocumentUpdateByFilterOperation, type index_d$8_InternalDocumentUpdateOperation as InternalDocumentUpdateOperation, type index_d$8_InternalQueryOrdersRequest as InternalQueryOrdersRequest, type index_d$8_InternalQueryOrdersResponse as InternalQueryOrdersResponse, type index_d$8_InternalUpdateExistingOperation as InternalUpdateExistingOperation, index_d$8_InventoryAction as InventoryAction, type index_d$8_InventoryUpdateDetails as InventoryUpdateDetails, type index_d$8_InvoiceAdded as InvoiceAdded, type index_d$8_InvoiceDates as InvoiceDates, type index_d$8_InvoiceDynamicPriceTotals as InvoiceDynamicPriceTotals, type index_d$8_InvoiceFields as InvoiceFields, type index_d$8_InvoiceSent as InvoiceSent, type index_d$8_InvoiceSentEvent as InvoiceSentEvent, index_d$8_InvoiceStatus as InvoiceStatus, type index_d$8_InvoicesPayment as InvoicesPayment, type index_d$8_ItemChangedDetails as ItemChangedDetails, type ItemMetadata$1 as ItemMetadata, type ItemTaxFullDetails$1 as ItemTaxFullDetails, type ItemType$1 as ItemType, ItemTypeItemType$1 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$1 as ItemTypeItemTypeDataOneOf, type index_d$8_ItemizedFee as ItemizedFee, JurisdictionType$1 as JurisdictionType, type LineItem$2 as LineItem, type index_d$8_LineItemAmount as LineItemAmount, type index_d$8_LineItemChanges as LineItemChanges, type index_d$8_LineItemDelta as LineItemDelta, type index_d$8_LineItemDeltaDeltaOneOf as LineItemDeltaDeltaOneOf, type LineItemDiscount$1 as LineItemDiscount, type index_d$8_LineItemExchangeData as LineItemExchangeData, type index_d$8_LineItemMetaData as LineItemMetaData, type index_d$8_LineItemPriceChange as LineItemPriceChange, type index_d$8_LineItemQuantityChange as LineItemQuantityChange, index_d$8_LineItemQuantityChangeType as LineItemQuantityChangeType, type LineItemRefund$2 as LineItemRefund, type index_d$8_LineItemTax as LineItemTax, type index_d$8_LineItemTaxBreakdown as LineItemTaxBreakdown, type index_d$8_LineItemTaxInfo as LineItemTaxInfo, type index_d$8_LineItemUpdate as LineItemUpdate, type index_d$8_LineItems as LineItems, type index_d$8_ListOrderTransactionsForMetasiteRequest as ListOrderTransactionsForMetasiteRequest, type index_d$8_ListOrderTransactionsForMetasiteResponse as ListOrderTransactionsForMetasiteResponse, type index_d$8_Locale as Locale, type index_d$8_LocationAndQuantity as LocationAndQuantity, type index_d$8_ManagedAdditionalFee as ManagedAdditionalFee, type index_d$8_ManagedDiscount as ManagedDiscount, type index_d$8_ManagedLineItem as ManagedLineItem, ManuallyRefundableReason$1 as ManuallyRefundableReason, type index_d$8_MarkAsFulfilledRequest as MarkAsFulfilledRequest, type index_d$8_MarkAsFulfilledResponse as MarkAsFulfilledResponse, type index_d$8_MarkAsUnfulfilledRequest as MarkAsUnfulfilledRequest, type index_d$8_MarkAsUnfulfilledResponse as MarkAsUnfulfilledResponse, type index_d$8_MarkOrderAsPaidRequest as MarkOrderAsPaidRequest, type index_d$8_MarkOrderAsPaidResponse as MarkOrderAsPaidResponse, type index_d$8_MarkOrderAsSeenByHumanRequest as MarkOrderAsSeenByHumanRequest, type index_d$8_MarkOrderAsSeenByHumanResponse as MarkOrderAsSeenByHumanResponse, type index_d$8_MaskedOrder as MaskedOrder, type index_d$8_MaskedOrderLineItem as MaskedOrderLineItem, type index_d$8_MembershipChargeItem as MembershipChargeItem, type MembershipName$3 as MembershipName, type MembershipPaymentDetails$2 as MembershipPaymentDetails, MembershipPaymentStatus$2 as MembershipPaymentStatus, type index_d$8_MerchantComment as MerchantComment, type MerchantDiscount$1 as MerchantDiscount, type index_d$8_MerchantDiscountMerchantDiscountReasonOneOf as MerchantDiscountMerchantDiscountReasonOneOf, type MessageEnvelope$6 as MessageEnvelope, type index_d$8_MetaData as MetaData, type index_d$8_MetaSite as MetaSite, type index_d$8_MetaTag as MetaTag, index_d$8_Namespace as Namespace, type index_d$8_NewExchangeOrderCreated as NewExchangeOrderCreated, NonRefundableReason$1 as NonRefundableReason, type Order$1 as Order, index_d$8_OrderApprovalStrategy as OrderApprovalStrategy, type index_d$8_OrderApproved as OrderApproved, type index_d$8_OrderApprovedEnvelope as OrderApprovedEnvelope, type index_d$8_OrderCanceled as OrderCanceled, type index_d$8_OrderCanceledEnvelope as OrderCanceledEnvelope, type index_d$8_OrderCanceledEventOrderCanceled as OrderCanceledEventOrderCanceled, type index_d$8_OrderChange as OrderChange, type index_d$8_OrderChangeValueOneOf as OrderChangeValueOneOf, type index_d$8_OrderCreateNotifications as OrderCreateNotifications, type index_d$8_OrderCreatedEnvelope as OrderCreatedEnvelope, type index_d$8_OrderCreatedFromExchange as OrderCreatedFromExchange, type index_d$8_OrderCreationSettings as OrderCreationSettings, type index_d$8_OrderDeltasCommitted as OrderDeltasCommitted, type index_d$8_OrderFulfilled as OrderFulfilled, type index_d$8_OrderItemsRestocked as OrderItemsRestocked, type index_d$8_OrderLineItem as OrderLineItem, type index_d$8_OrderLineItemChangedDetails as OrderLineItemChangedDetails, type index_d$8_OrderNonNullableFields as OrderNonNullableFields, type index_d$8_OrderNotFulfilled as OrderNotFulfilled, type index_d$8_OrderPaid as OrderPaid, type index_d$8_OrderPartiallyPaid as OrderPartiallyPaid, type index_d$8_OrderPaymentStatusUpdatedEnvelope as OrderPaymentStatusUpdatedEnvelope, type index_d$8_OrderPlaced as OrderPlaced, type OrderRefunded$1 as OrderRefunded, index_d$8_OrderStatus as OrderStatus, type index_d$8_OrderTaxBreakdown as OrderTaxBreakdown, type index_d$8_OrderTaxInfo as OrderTaxInfo, type OrderTransactions$2 as OrderTransactions, type index_d$8_OrderUpdatedEnvelope as OrderUpdatedEnvelope, type index_d$8_OrdersExperiments as OrdersExperiments, type Payment$2 as Payment, type index_d$8_PaymentCapture as PaymentCapture, index_d$8_PaymentCollectabilityStatus as PaymentCollectabilityStatus, PaymentOptionType$1 as PaymentOptionType, type PaymentPaymentDetailsOneOf$2 as PaymentPaymentDetailsOneOf, type PaymentRefund$1 as PaymentRefund, type index_d$8_PaymentRefundFailed as PaymentRefundFailed, type index_d$8_PaymentRefunded as PaymentRefunded, PaymentStatus$1 as PaymentStatus, type index_d$8_PaymentStatusUpdated as PaymentStatusUpdated, type index_d$8_Payments as Payments, type index_d$8_Phone as Phone, type PhysicalProperties$1 as PhysicalProperties, type PickupAddress$1 as PickupAddress, type PickupDetails$2 as PickupDetails, PickupMethod$1 as PickupMethod, type index_d$8_PickupReadyEmailSent as PickupReadyEmailSent, index_d$8_Placement as Placement, type index_d$8_PlainTextValue as PlainTextValue, type index_d$8_PlatformPaging as PlatformPaging, type index_d$8_PlatformPagingMetadata as PlatformPagingMetadata, type index_d$8_PlatformQuery as PlatformQuery, type index_d$8_PlatformQueryPagingMethodOneOf as PlatformQueryPagingMethodOneOf, type index_d$8_PreparePaymentCollectionOptions as PreparePaymentCollectionOptions, type index_d$8_PreparePaymentCollectionRequest as PreparePaymentCollectionRequest, type index_d$8_PreparePaymentCollectionResponse as PreparePaymentCollectionResponse, type index_d$8_PreparePaymentCollectionResponseNonNullableFields as PreparePaymentCollectionResponseNonNullableFields, type index_d$8_PreviewBuyerConfirmationEmailRequest as PreviewBuyerConfirmationEmailRequest, type index_d$8_PreviewBuyerConfirmationEmailResponse as PreviewBuyerConfirmationEmailResponse, type index_d$8_PreviewBuyerPaymentsReceivedEmailRequest as PreviewBuyerPaymentsReceivedEmailRequest, type index_d$8_PreviewBuyerPaymentsReceivedEmailResponse as PreviewBuyerPaymentsReceivedEmailResponse, type index_d$8_PreviewBuyerPickupConfirmationEmailRequest as PreviewBuyerPickupConfirmationEmailRequest, type index_d$8_PreviewBuyerPickupConfirmationEmailResponse as PreviewBuyerPickupConfirmationEmailResponse, type index_d$8_PreviewCancelEmailRequest as PreviewCancelEmailRequest, type index_d$8_PreviewCancelEmailResponse as PreviewCancelEmailResponse, type index_d$8_PreviewCancelRefundEmailRequest as PreviewCancelRefundEmailRequest, type index_d$8_PreviewCancelRefundEmailResponse as PreviewCancelRefundEmailResponse, type index_d$8_PreviewEmailByTypeRequest as PreviewEmailByTypeRequest, type index_d$8_PreviewEmailByTypeResponse as PreviewEmailByTypeResponse, index_d$8_PreviewEmailType as PreviewEmailType, type index_d$8_PreviewRefundEmailRequest as PreviewRefundEmailRequest, type index_d$8_PreviewRefundEmailResponse as PreviewRefundEmailResponse, type index_d$8_PreviewResendDownloadLinksEmailRequest as PreviewResendDownloadLinksEmailRequest, type index_d$8_PreviewResendDownloadLinksEmailResponse as PreviewResendDownloadLinksEmailResponse, type index_d$8_PreviewShippingConfirmationEmailRequest as PreviewShippingConfirmationEmailRequest, type index_d$8_PreviewShippingConfirmationEmailResponse as PreviewShippingConfirmationEmailResponse, type Price$2 as Price, type index_d$8_PriceDescription as PriceDescription, type PriceSummary$1 as PriceSummary, type index_d$8_ProductName as ProductName, type index_d$8_PublicActivity as PublicActivity, type index_d$8_PublicActivityContentOneOf as PublicActivityContentOneOf, type index_d$8_QueryOrderRequest as QueryOrderRequest, type index_d$8_QueryOrderResponse as QueryOrderResponse, type index_d$8_QueryOrdersForMetasiteRequest as QueryOrdersForMetasiteRequest, type index_d$8_QueryOrdersForMetasiteResponse as QueryOrdersForMetasiteResponse, type index_d$8_QuotesAddress as QuotesAddress, Reason$2 as Reason, type index_d$8_RecordManuallyCollectedPaymentRequest as RecordManuallyCollectedPaymentRequest, type index_d$8_RecordManuallyCollectedPaymentResponse as RecordManuallyCollectedPaymentResponse, type index_d$8_RedirectUrls as RedirectUrls, type Refund$2 as Refund, type RefundCreated$1 as RefundCreated, type RefundDetails$2 as RefundDetails, type index_d$8_RefundInitiated as RefundInitiated, type RefundItem$2 as RefundItem, type RefundSideEffects$1 as RefundSideEffects, RefundStatus$2 as RefundStatus, type RefundTransaction$2 as RefundTransaction, type Refundability$1 as Refundability, type RefundabilityAdditionalRefundabilityInfoOneOf$1 as RefundabilityAdditionalRefundabilityInfoOneOf, RefundableStatus$1 as RefundableStatus, type index_d$8_RefundedAsStoreCredit as RefundedAsStoreCredit, type index_d$8_RefundedPayment as RefundedPayment, type index_d$8_RefundedPaymentKindOneOf as RefundedPaymentKindOneOf, type RegularPaymentDetails$2 as RegularPaymentDetails, type RegularPaymentDetailsPaymentMethodDetailsOneOf$2 as RegularPaymentDetailsPaymentMethodDetailsOneOf, type index_d$8_RegularPaymentRefund as RegularPaymentRefund, type index_d$8_Reschedule as Reschedule, type RestockInfo$1 as RestockInfo, type RestockItem$1 as RestockItem, RestockType$1 as RestockType, type RestoreInfo$6 as RestoreInfo, type index_d$8_SavedPaymentMethod as SavedPaymentMethod, ScheduledAction$2 as ScheduledAction, type index_d$8_SearchOrdersOptions as SearchOrdersOptions, type index_d$8_SearchOrdersRequest as SearchOrdersRequest, type index_d$8_SearchOrdersResponse as SearchOrdersResponse, type index_d$8_SearchOrdersResponseNonNullableFields as SearchOrdersResponseNonNullableFields, type index_d$8_SendBuyerConfirmationEmailRequest as SendBuyerConfirmationEmailRequest, type index_d$8_SendBuyerConfirmationEmailResponse as SendBuyerConfirmationEmailResponse, type index_d$8_SendBuyerPaymentsReceivedEmailRequest as SendBuyerPaymentsReceivedEmailRequest, type index_d$8_SendBuyerPaymentsReceivedEmailResponse as SendBuyerPaymentsReceivedEmailResponse, type index_d$8_SendBuyerPickupConfirmationEmailRequest as SendBuyerPickupConfirmationEmailRequest, type index_d$8_SendBuyerPickupConfirmationEmailResponse as SendBuyerPickupConfirmationEmailResponse, type index_d$8_SendBuyerShippingConfirmationEmailRequest as SendBuyerShippingConfirmationEmailRequest, type index_d$8_SendBuyerShippingConfirmationEmailResponse as SendBuyerShippingConfirmationEmailResponse, type index_d$8_SendCancelRefundEmailRequest as SendCancelRefundEmailRequest, type index_d$8_SendCancelRefundEmailResponse as SendCancelRefundEmailResponse, type index_d$8_SendMerchantOrderReceivedNotificationRequest as SendMerchantOrderReceivedNotificationRequest, type index_d$8_SendMerchantOrderReceivedNotificationResponse as SendMerchantOrderReceivedNotificationResponse, type index_d$8_SendMerchantOrderReceivedPushRequest as SendMerchantOrderReceivedPushRequest, type index_d$8_SendMerchantOrderReceivedPushResponse as SendMerchantOrderReceivedPushResponse, type index_d$8_SendRefundEmailRequest as SendRefundEmailRequest, type index_d$8_SendRefundEmailResponse as SendRefundEmailResponse, type index_d$8_SeoData as SeoData, type ServiceProperties$1 as ServiceProperties, type index_d$8_ShippingAddressEdited as ShippingAddressEdited, type index_d$8_ShippingConfirmationEmailSent as ShippingConfirmationEmailSent, type ShippingInformation$1 as ShippingInformation, type index_d$8_ShippingInformationChange as ShippingInformationChange, type ShippingPrice$1 as ShippingPrice, type ShippingRefund$2 as ShippingRefund, type ShippingRegion$1 as ShippingRegion, type SnapshotMessage$1 as SnapshotMessage, SortOrder$5 as SortOrder, type Sorting$5 as Sorting, type Source$1 as Source, index_d$8_SourceType as SourceType, type index_d$8_StandardDetails as StandardDetails, index_d$8_State as State, type StreetAddress$3 as StreetAddress, type index_d$8_Subdivision as Subdivision, index_d$8_SubdivisionType as SubdivisionType, SubscriptionFrequency$2 as SubscriptionFrequency, type SubscriptionInfo$1 as SubscriptionInfo, type SubscriptionSettings$2 as SubscriptionSettings, type index_d$8_TagList as TagList, type index_d$8_Tags as Tags, type index_d$8_Task as Task, type index_d$8_TaskAction as TaskAction, type index_d$8_TaskActionActionOneOf as TaskActionActionOneOf, type index_d$8_TaskKey as TaskKey, type TaxSummary$1 as TaxSummary, type TaxableAddress$1 as TaxableAddress, type TaxableAddressTaxableAddressDataOneOf$1 as TaxableAddressTaxableAddressDataOneOf, TaxableAddressType$1 as TaxableAddressType, type index_d$8_TotalPrice as TotalPrice, type index_d$8_TotalPriceChange as TotalPriceChange, type index_d$8_TrackingLinkAdded as TrackingLinkAdded, type index_d$8_TrackingNumberAdded as TrackingNumberAdded, type index_d$8_TrackingNumberEdited as TrackingNumberEdited, TransactionStatus$2 as TransactionStatus, type index_d$8_TranslatedValue as TranslatedValue, type TriggerRefundRequest$1 as TriggerRefundRequest, type TriggerRefundResponse$1 as TriggerRefundResponse, type index_d$8_TriggerReindexOrderRequest as TriggerReindexOrderRequest, type index_d$8_TriggerReindexRequest as TriggerReindexRequest, type index_d$8_TriggerReindexResponse as TriggerReindexResponse, type index_d$8_TriggerSideEffectsFromLegacyData as TriggerSideEffectsFromLegacyData, type index_d$8_UnArchiveOrderRequest as UnArchiveOrderRequest, type index_d$8_UnArchiveOrderResponse as UnArchiveOrderResponse, type index_d$8_UpdateActivityRequest as UpdateActivityRequest, type index_d$8_UpdateActivityResponse as UpdateActivityResponse, type index_d$8_UpdateBillingContactDetailsRequest as UpdateBillingContactDetailsRequest, type index_d$8_UpdateBillingContactDetailsResponse as UpdateBillingContactDetailsResponse, type index_d$8_UpdateBuyerEmailRequest as UpdateBuyerEmailRequest, type index_d$8_UpdateBuyerEmailResponse as UpdateBuyerEmailResponse, type index_d$8_UpdateBuyerInfoRequest as UpdateBuyerInfoRequest, type index_d$8_UpdateBuyerInfoResponse as UpdateBuyerInfoResponse, type index_d$8_UpdateInternalDocumentsEvent as UpdateInternalDocumentsEvent, type index_d$8_UpdateInternalDocumentsEventOperationOneOf as UpdateInternalDocumentsEventOperationOneOf, type index_d$8_UpdateLineItemsDescriptionLinesRequest as UpdateLineItemsDescriptionLinesRequest, type index_d$8_UpdateLineItemsDescriptionLinesResponse as UpdateLineItemsDescriptionLinesResponse, type index_d$8_UpdateOrder as UpdateOrder, type index_d$8_UpdateOrderLineItemRequest as UpdateOrderLineItemRequest, type index_d$8_UpdateOrderLineItemResponse as UpdateOrderLineItemResponse, type index_d$8_UpdateOrderLineItemsRequest as UpdateOrderLineItemsRequest, type index_d$8_UpdateOrderLineItemsResponse as UpdateOrderLineItemsResponse, type index_d$8_UpdateOrderRequest as UpdateOrderRequest, type index_d$8_UpdateOrderResponse as UpdateOrderResponse, type index_d$8_UpdateOrderResponseNonNullableFields as UpdateOrderResponseNonNullableFields, type index_d$8_UpdateOrderShippingAddressRequest as UpdateOrderShippingAddressRequest, type index_d$8_UpdateOrderShippingAddressResponse as UpdateOrderShippingAddressResponse, type index_d$8_UpsertRefundRequest as UpsertRefundRequest, type index_d$8_UpsertRefundResponse as UpsertRefundResponse, type index_d$8_UserDataResponse as UserDataResponse, type index_d$8_V1BulkMarkOrdersAsPaidRequest as V1BulkMarkOrdersAsPaidRequest, type index_d$8_V1BulkMarkOrdersAsPaidResponse as V1BulkMarkOrdersAsPaidResponse, type index_d$8_V1CreatePaymentGatewayOrderRequest as V1CreatePaymentGatewayOrderRequest, type index_d$8_V1CreatePaymentGatewayOrderResponse as V1CreatePaymentGatewayOrderResponse, type index_d$8_V1LineItemDelta as V1LineItemDelta, type index_d$8_V1LineItemDeltaDeltaOneOf as V1LineItemDeltaDeltaOneOf, type index_d$8_V1MarkOrderAsPaidRequest as V1MarkOrderAsPaidRequest, type index_d$8_V1MarkOrderAsPaidResponse as V1MarkOrderAsPaidResponse, type index_d$8_V1RestockItem as V1RestockItem, type index_d$8_V1ScheduledAction as V1ScheduledAction, type index_d$8_V1ShippingInformation as V1ShippingInformation, type index_d$8_Value as Value, index_d$8_ValueType as ValueType, type VatId$1 as VatId, VatType$1 as VatType, type index_d$8_VersionedDeleteByIdsOperation as VersionedDeleteByIdsOperation, type index_d$8_VersionedDocumentId as VersionedDocumentId, type index_d$8_VersionedDocumentUpdateOperation as VersionedDocumentUpdateOperation, index_d$8_VersioningMode as VersioningMode, type index_d$8_VoidAuthorizedPaymentsRequest as VoidAuthorizedPaymentsRequest, type index_d$8_VoidAuthorizedPaymentsResponse as VoidAuthorizedPaymentsResponse, type index_d$8_VoidAuthorizedPaymentsResponseNonNullableFields as VoidAuthorizedPaymentsResponseNonNullableFields, WebhookIdentityType$6 as WebhookIdentityType, WeightUnit$2 as WeightUnit, type index_d$8__publicOnOrderApprovedType as _publicOnOrderApprovedType, type index_d$8__publicOnOrderCanceledType as _publicOnOrderCanceledType, type index_d$8__publicOnOrderCreatedType as _publicOnOrderCreatedType, type index_d$8__publicOnOrderPaymentStatusUpdatedType as _publicOnOrderPaymentStatusUpdatedType, type index_d$8__publicOnOrderUpdatedType as _publicOnOrderUpdatedType, index_d$8_bulkUpdateOrderTags as bulkUpdateOrderTags, index_d$8_bulkUpdateOrders as bulkUpdateOrders, index_d$8_cancelOrder as cancelOrder, index_d$8_captureAuthorizedPayments as captureAuthorizedPayments, index_d$8_createOrder as createOrder, index_d$8_getOrder as getOrder, index_d$8_getPaymentCollectabilityStatus as getPaymentCollectabilityStatus, index_d$8_onOrderApproved as onOrderApproved, index_d$8_onOrderCanceled as onOrderCanceled, index_d$8_onOrderCreated as onOrderCreated, index_d$8_onOrderPaymentStatusUpdated as onOrderPaymentStatusUpdated, index_d$8_onOrderUpdated as onOrderUpdated, index_d$8_preparePaymentCollection as preparePaymentCollection, onOrderApproved$1 as publicOnOrderApproved, onOrderCanceled$1 as publicOnOrderCanceled, onOrderCreated$1 as publicOnOrderCreated, onOrderPaymentStatusUpdated$1 as publicOnOrderPaymentStatusUpdated, onOrderUpdated$1 as publicOnOrderUpdated, index_d$8_searchOrders as searchOrders, index_d$8_updateOrder as updateOrder, index_d$8_voidAuthorizedPayments as voidAuthorizedPayments };
|
|
27984
27990
|
}
|
|
27985
27991
|
|
|
27986
27992
|
interface OrderPaymentRequest {
|
|
@@ -30674,7 +30680,7 @@ interface BulkUpdatePaymentStatusesResponseNonNullableFields {
|
|
|
30674
30680
|
results: BulkPaymentResultNonNullableFields[];
|
|
30675
30681
|
bulkActionMetadata?: BulkActionMetadataNonNullableFields;
|
|
30676
30682
|
}
|
|
30677
|
-
interface BaseEventMetadata$
|
|
30683
|
+
interface BaseEventMetadata$3 {
|
|
30678
30684
|
/** App instance ID. */
|
|
30679
30685
|
instanceId?: string | null;
|
|
30680
30686
|
/** Event type. */
|
|
@@ -30682,7 +30688,7 @@ interface BaseEventMetadata$4 {
|
|
|
30682
30688
|
/** The identification type and identity data. */
|
|
30683
30689
|
identity?: IdentificationData$4;
|
|
30684
30690
|
}
|
|
30685
|
-
interface EventMetadata$
|
|
30691
|
+
interface EventMetadata$3 extends BaseEventMetadata$3 {
|
|
30686
30692
|
/**
|
|
30687
30693
|
* Unique event ID.
|
|
30688
30694
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -30722,7 +30728,7 @@ interface EventMetadata$4 extends BaseEventMetadata$4 {
|
|
|
30722
30728
|
}
|
|
30723
30729
|
interface OrderTransactionsUpdatedEnvelope {
|
|
30724
30730
|
data: PaymentsUpdated;
|
|
30725
|
-
metadata: EventMetadata$
|
|
30731
|
+
metadata: EventMetadata$3;
|
|
30726
30732
|
}
|
|
30727
30733
|
interface UpdatePaymentStatusIdentifiers {
|
|
30728
30734
|
/** Payment ID. */
|
|
@@ -30798,18 +30804,18 @@ interface BulkUpdatePaymentStatusesSignature {
|
|
|
30798
30804
|
*/
|
|
30799
30805
|
(paymentAndOrderIds: PaymentAndOrderId[], options?: BulkUpdatePaymentStatusesOptions | undefined): Promise<BulkUpdatePaymentStatusesResponse & BulkUpdatePaymentStatusesResponseNonNullableFields>;
|
|
30800
30806
|
}
|
|
30801
|
-
declare const onOrderTransactionsUpdated$1: EventDefinition$
|
|
30807
|
+
declare const onOrderTransactionsUpdated$1: EventDefinition$g<OrderTransactionsUpdatedEnvelope, "wix.ecom.v1.order_transactions_updated">;
|
|
30802
30808
|
|
|
30803
|
-
type EventDefinition$
|
|
30809
|
+
type EventDefinition$3<Payload = unknown, Type extends string = string> = {
|
|
30804
30810
|
__type: 'event-definition';
|
|
30805
30811
|
type: Type;
|
|
30806
30812
|
isDomainEvent?: boolean;
|
|
30807
30813
|
transformations?: (envelope: unknown) => Payload;
|
|
30808
30814
|
__payload: Payload;
|
|
30809
30815
|
};
|
|
30810
|
-
declare function EventDefinition$
|
|
30811
|
-
type EventHandler$
|
|
30812
|
-
type BuildEventDefinition$
|
|
30816
|
+
declare function EventDefinition$3<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition$3<Payload, Type>;
|
|
30817
|
+
type EventHandler$3<T extends EventDefinition$3> = (payload: T['__payload']) => void | Promise<void>;
|
|
30818
|
+
type BuildEventDefinition$3<T extends EventDefinition$3<any, string>> = (handler: EventHandler$3<T>) => void;
|
|
30813
30819
|
|
|
30814
30820
|
declare global {
|
|
30815
30821
|
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
@@ -30818,7 +30824,7 @@ declare global {
|
|
|
30818
30824
|
}
|
|
30819
30825
|
}
|
|
30820
30826
|
|
|
30821
|
-
declare function createEventModule$
|
|
30827
|
+
declare function createEventModule$3<T extends EventDefinition$3<any, string>>(eventDefinition: T): BuildEventDefinition$3<T> & T;
|
|
30822
30828
|
|
|
30823
30829
|
declare const listTransactionsForSingleOrder: MaybeContext<BuildRESTFunction<typeof listTransactionsForSingleOrder$1> & typeof listTransactionsForSingleOrder$1>;
|
|
30824
30830
|
declare const listTransactionsForMultipleOrders: MaybeContext<BuildRESTFunction<typeof listTransactionsForMultipleOrders$1> & typeof listTransactionsForMultipleOrders$1>;
|
|
@@ -30828,7 +30834,7 @@ declare const bulkUpdatePaymentStatuses: MaybeContext<BuildRESTFunction<typeof b
|
|
|
30828
30834
|
|
|
30829
30835
|
type _publicOnOrderTransactionsUpdatedType = typeof onOrderTransactionsUpdated$1;
|
|
30830
30836
|
/** */
|
|
30831
|
-
declare const onOrderTransactionsUpdated: ReturnType<typeof createEventModule$
|
|
30837
|
+
declare const onOrderTransactionsUpdated: ReturnType<typeof createEventModule$3<_publicOnOrderTransactionsUpdatedType>>;
|
|
30832
30838
|
|
|
30833
30839
|
type index_d$6_ActionType = ActionType;
|
|
30834
30840
|
declare const index_d$6_ActionType: typeof ActionType;
|
|
@@ -31000,7 +31006,7 @@ declare const index_d$6_listTransactionsForSingleOrder: typeof listTransactionsF
|
|
|
31000
31006
|
declare const index_d$6_onOrderTransactionsUpdated: typeof onOrderTransactionsUpdated;
|
|
31001
31007
|
declare const index_d$6_updatePaymentStatus: typeof updatePaymentStatus;
|
|
31002
31008
|
declare namespace index_d$6 {
|
|
31003
|
-
export { type ActionEvent$4 as ActionEvent, index_d$6_ActionType as ActionType, type index_d$6_Activity as Activity, index_d$6_ActivityType as ActivityType, type index_d$6_AddInvoiceToOrderRequest as AddInvoiceToOrderRequest, type index_d$6_AddInvoiceToOrderResponse as AddInvoiceToOrderResponse, type index_d$6_AddPaymentsRequest as AddPaymentsRequest, type index_d$6_AddPaymentsResponse as AddPaymentsResponse, type index_d$6_AddPaymentsResponseNonNullableFields as AddPaymentsResponseNonNullableFields, type index_d$6_AddRefundRequest as AddRefundRequest, type index_d$6_AddRefundResponse as AddRefundResponse, type index_d$6_AdditionalFeeRefund as AdditionalFeeRefund, type Address$3 as Address, type index_d$6_AddressAddressLine1OptionsOneOf as AddressAddressLine1OptionsOneOf, type index_d$6_AggregatedRefundSummary as AggregatedRefundSummary, type ApplicationError$2 as ApplicationError, type index_d$6_AppliedCoupon as AppliedCoupon, type index_d$6_AuthorizationActionFailureDetails as AuthorizationActionFailureDetails, type index_d$6_AuthorizationCapture as AuthorizationCapture, index_d$6_AuthorizationCaptureStatus as AuthorizationCaptureStatus, type index_d$6_AuthorizationDetails as AuthorizationDetails, type index_d$6_AuthorizationVoid as AuthorizationVoid, index_d$6_AuthorizationVoidStatus as AuthorizationVoidStatus, type BaseEventMetadata$4 as BaseEventMetadata, type index_d$6_BillingInfo as BillingInfo, type index_d$6_BulkActionMetadata as BulkActionMetadata, type index_d$6_BulkGenerateInvoicesRequest as BulkGenerateInvoicesRequest, type index_d$6_BulkGenerateInvoicesResponse as BulkGenerateInvoicesResponse, type index_d$6_BulkInvoiceResult as BulkInvoiceResult, type index_d$6_BulkPaymentResult as BulkPaymentResult, type index_d$6_BulkUpdatePaymentStatusesOptions as BulkUpdatePaymentStatusesOptions, type index_d$6_BulkUpdatePaymentStatusesRequest as BulkUpdatePaymentStatusesRequest, type index_d$6_BulkUpdatePaymentStatusesResponse as BulkUpdatePaymentStatusesResponse, type index_d$6_BulkUpdatePaymentStatusesResponseNonNullableFields as BulkUpdatePaymentStatusesResponseNonNullableFields, type index_d$6_BuyerDetails as BuyerDetails, type index_d$6_BuyerInfo as BuyerInfo, type index_d$6_CalculateRefundItemRequest as CalculateRefundItemRequest, type index_d$6_CalculateRefundItemResponse as CalculateRefundItemResponse, type index_d$6_CalculateRefundRequest as CalculateRefundRequest, type index_d$6_CalculateRefundResponse as CalculateRefundResponse, type index_d$6_ChannelInfo as ChannelInfo, index_d$6_ChannelType as ChannelType, type index_d$6_CreditCardPaymentMethodDetails as CreditCardPaymentMethodDetails, type CursorPaging$3 as CursorPaging, type CursorPagingMetadata$3 as CursorPagingMetadata, type CursorQuery$2 as CursorQuery, type CursorQueryPagingMethodOneOf$2 as CursorQueryPagingMethodOneOf, type Cursors$3 as Cursors, type index_d$6_CustomField as CustomField, type index_d$6_CustomTextFieldSelection as CustomTextFieldSelection, type DiffmatokyPayload$1 as DiffmatokyPayload, type index_d$6_DigitalFile as DigitalFile, type index_d$6_Discount as Discount, type DomainEvent$4 as DomainEvent, type DomainEventBodyOneOf$4 as DomainEventBodyOneOf, type index_d$6_EnteredBy as EnteredBy, index_d$6_EnteredByIdentityType as EnteredByIdentityType, type EntityCreatedEvent$4 as EntityCreatedEvent, type EntityDeletedEvent$4 as EntityDeletedEvent, type EntityUpdatedEvent$4 as EntityUpdatedEvent, type ErrorInformation$1 as ErrorInformation, type EventMetadata$4 as EventMetadata, type index_d$6_Fulfillment as Fulfillment, type index_d$6_FulfillmentLineItem as FulfillmentLineItem, index_d$6_FulfillmentStatus as FulfillmentStatus, type index_d$6_FulfillmentTrackingInfo as FulfillmentTrackingInfo, type index_d$6_FullName as FullName, type index_d$6_GenerateInvoiceRequest as GenerateInvoiceRequest, type index_d$6_GenerateInvoiceResponse as GenerateInvoiceResponse, type index_d$6_GetRefundabilityStatusRequest as GetRefundabilityStatusRequest, type index_d$6_GetRefundabilityStatusResponse as GetRefundabilityStatusResponse, type GiftCard$1 as GiftCard, type index_d$6_GiftCardPaymentDetails as GiftCardPaymentDetails, type IdentificationData$4 as IdentificationData, type IdentificationDataIdOneOf$4 as IdentificationDataIdOneOf, index_d$6_IdentityType as IdentityType, type index_d$6_IndexingMessage as IndexingMessage, type index_d$6_InvoiceForOrder as InvoiceForOrder, type index_d$6_InvoiceInfo as InvoiceInfo, index_d$6_InvoiceSource as InvoiceSource, type index_d$6_InvoicesForOrder as InvoicesForOrder, type index_d$6_ItemMetadata as ItemMetadata, type LineItem$1 as LineItem, type index_d$6_LineItemPriceData as LineItemPriceData, type index_d$6_LineItemRefund as LineItemRefund, index_d$6_LineItemType as LineItemType, type index_d$6_ListInvoicesForMultipleOrdersRequest as ListInvoicesForMultipleOrdersRequest, type index_d$6_ListInvoicesForMultipleOrdersResponse as ListInvoicesForMultipleOrdersResponse, type index_d$6_ListInvoicesForSingleOrderRequest as ListInvoicesForSingleOrderRequest, type index_d$6_ListInvoicesForSingleOrderResponse as ListInvoicesForSingleOrderResponse, type index_d$6_ListTransactionsForMultipleOrdersRequest as ListTransactionsForMultipleOrdersRequest, type index_d$6_ListTransactionsForMultipleOrdersResponse as ListTransactionsForMultipleOrdersResponse, type index_d$6_ListTransactionsForMultipleOrdersResponseNonNullableFields as ListTransactionsForMultipleOrdersResponseNonNullableFields, type index_d$6_ListTransactionsForSingleOrderRequest as ListTransactionsForSingleOrderRequest, type index_d$6_ListTransactionsForSingleOrderResponse as ListTransactionsForSingleOrderResponse, type index_d$6_ListTransactionsForSingleOrderResponseNonNullableFields as ListTransactionsForSingleOrderResponseNonNullableFields, index_d$6_ManuallyRefundableReason as ManuallyRefundableReason, type index_d$6_MaskedPayment as MaskedPayment, type index_d$6_MediaItem as MediaItem, index_d$6_MediaItemType as MediaItemType, type MembershipName$1 as MembershipName, type index_d$6_MembershipPaymentDetails as MembershipPaymentDetails, index_d$6_MembershipPaymentStatus as MembershipPaymentStatus, type MessageEnvelope$4 as MessageEnvelope, index_d$6_NonRefundableReason as NonRefundableReason, type index_d$6_OptionSelection as OptionSelection, type index_d$6_Order as Order, type index_d$6_OrderRefunded as OrderRefunded, type index_d$6_OrderTransactions as OrderTransactions, type index_d$6_OrderTransactionsUpdatedEnvelope as OrderTransactionsUpdatedEnvelope, type index_d$6_Payment as Payment, type index_d$6_PaymentAndOrderId as PaymentAndOrderId, type index_d$6_PaymentPaymentDetailsOneOf as PaymentPaymentDetailsOneOf, type index_d$6_PaymentRefund as PaymentRefund, index_d$6_PaymentStatus as PaymentStatus, type index_d$6_PaymentsUpdated as PaymentsUpdated, type index_d$6_PickupAddress as PickupAddress, type PickupDetails$1 as PickupDetails, type index_d$6_Price as Price, type index_d$6_QueryOrderTransactionsRequest as QueryOrderTransactionsRequest, type index_d$6_QueryOrderTransactionsResponse as QueryOrderTransactionsResponse, index_d$6_Reason as Reason, type index_d$6_Refund as Refund, type index_d$6_RefundCreated as RefundCreated, type index_d$6_RefundDetails as RefundDetails, type index_d$6_RefundItem as RefundItem, type index_d$6_RefundSideEffects as RefundSideEffects, index_d$6_RefundStatus as RefundStatus, type index_d$6_RefundTransaction as RefundTransaction, type index_d$6_Refundability as Refundability, type index_d$6_RefundabilityAdditionalRefundabilityInfoOneOf as RefundabilityAdditionalRefundabilityInfoOneOf, index_d$6_RefundableStatus as RefundableStatus, type index_d$6_RegularPaymentDetails as RegularPaymentDetails, type index_d$6_RegularPaymentDetailsPaymentMethodDetailsOneOf as RegularPaymentDetailsPaymentMethodDetailsOneOf, type index_d$6_RestockInfo as RestockInfo, type index_d$6_RestockItem as RestockItem, index_d$6_RestockType as RestockType, type RestoreInfo$4 as RestoreInfo, type index_d$6_ScheduledAction as ScheduledAction, type index_d$6_ShipmentDetails as ShipmentDetails, type index_d$6_ShippingInfo as ShippingInfo, type index_d$6_ShippingInfoDetailsOneOf as ShippingInfoDetailsOneOf, type index_d$6_ShippingPriceData as ShippingPriceData, type index_d$6_ShippingRefund as ShippingRefund, type index_d$6_SnapshotMessage as SnapshotMessage, SortOrder$3 as SortOrder, type Sorting$3 as Sorting, type index_d$6_Street as Street, SubscriptionFrequency$1 as SubscriptionFrequency, type index_d$6_SubscriptionInfo as SubscriptionInfo, type index_d$6_SubscriptionOptionInfo as SubscriptionOptionInfo, type SubscriptionSettings$1 as SubscriptionSettings, type index_d$6_Totals as Totals, type index_d$6_TrackingInfo as TrackingInfo, index_d$6_TransactionStatus as TransactionStatus, type index_d$6_TriggerRefundRequest as TriggerRefundRequest, type index_d$6_TriggerRefundResponse as TriggerRefundResponse, type index_d$6_UpdatePaymentStatusIdentifiers as UpdatePaymentStatusIdentifiers, type index_d$6_UpdatePaymentStatusOptions as UpdatePaymentStatusOptions, type index_d$6_UpdatePaymentStatusRequest as UpdatePaymentStatusRequest, type index_d$6_UpdatePaymentStatusResponse as UpdatePaymentStatusResponse, type index_d$6_UpdatePaymentStatusResponseNonNullableFields as UpdatePaymentStatusResponseNonNullableFields, type index_d$6_UpdatePaymentsRequest as UpdatePaymentsRequest, type index_d$6_UpdatePaymentsResponse as UpdatePaymentsResponse, type index_d$6_UpdateRefundTransactionRequest as UpdateRefundTransactionRequest, type index_d$6_UpdateRefundTransactionResponse as UpdateRefundTransactionResponse, type index_d$6_V2InvoiceInfo as V2InvoiceInfo, type index_d$6_V2Refund as V2Refund, type index_d$6_VatId as VatId, index_d$6_VatType as VatType, WebhookIdentityType$4 as WebhookIdentityType, WeightUnit$1 as WeightUnit, type index_d$6__publicOnOrderTransactionsUpdatedType as _publicOnOrderTransactionsUpdatedType, index_d$6_addPayments as addPayments, index_d$6_bulkUpdatePaymentStatuses as bulkUpdatePaymentStatuses, index_d$6_listTransactionsForMultipleOrders as listTransactionsForMultipleOrders, index_d$6_listTransactionsForSingleOrder as listTransactionsForSingleOrder, index_d$6_onOrderTransactionsUpdated as onOrderTransactionsUpdated, onOrderTransactionsUpdated$1 as publicOnOrderTransactionsUpdated, index_d$6_updatePaymentStatus as updatePaymentStatus };
|
|
31009
|
+
export { type ActionEvent$4 as ActionEvent, index_d$6_ActionType as ActionType, type index_d$6_Activity as Activity, index_d$6_ActivityType as ActivityType, type index_d$6_AddInvoiceToOrderRequest as AddInvoiceToOrderRequest, type index_d$6_AddInvoiceToOrderResponse as AddInvoiceToOrderResponse, type index_d$6_AddPaymentsRequest as AddPaymentsRequest, type index_d$6_AddPaymentsResponse as AddPaymentsResponse, type index_d$6_AddPaymentsResponseNonNullableFields as AddPaymentsResponseNonNullableFields, type index_d$6_AddRefundRequest as AddRefundRequest, type index_d$6_AddRefundResponse as AddRefundResponse, type index_d$6_AdditionalFeeRefund as AdditionalFeeRefund, type Address$3 as Address, type index_d$6_AddressAddressLine1OptionsOneOf as AddressAddressLine1OptionsOneOf, type index_d$6_AggregatedRefundSummary as AggregatedRefundSummary, type ApplicationError$2 as ApplicationError, type index_d$6_AppliedCoupon as AppliedCoupon, type index_d$6_AuthorizationActionFailureDetails as AuthorizationActionFailureDetails, type index_d$6_AuthorizationCapture as AuthorizationCapture, index_d$6_AuthorizationCaptureStatus as AuthorizationCaptureStatus, type index_d$6_AuthorizationDetails as AuthorizationDetails, type index_d$6_AuthorizationVoid as AuthorizationVoid, index_d$6_AuthorizationVoidStatus as AuthorizationVoidStatus, type BaseEventMetadata$3 as BaseEventMetadata, type index_d$6_BillingInfo as BillingInfo, type index_d$6_BulkActionMetadata as BulkActionMetadata, type index_d$6_BulkGenerateInvoicesRequest as BulkGenerateInvoicesRequest, type index_d$6_BulkGenerateInvoicesResponse as BulkGenerateInvoicesResponse, type index_d$6_BulkInvoiceResult as BulkInvoiceResult, type index_d$6_BulkPaymentResult as BulkPaymentResult, type index_d$6_BulkUpdatePaymentStatusesOptions as BulkUpdatePaymentStatusesOptions, type index_d$6_BulkUpdatePaymentStatusesRequest as BulkUpdatePaymentStatusesRequest, type index_d$6_BulkUpdatePaymentStatusesResponse as BulkUpdatePaymentStatusesResponse, type index_d$6_BulkUpdatePaymentStatusesResponseNonNullableFields as BulkUpdatePaymentStatusesResponseNonNullableFields, type index_d$6_BuyerDetails as BuyerDetails, type index_d$6_BuyerInfo as BuyerInfo, type index_d$6_CalculateRefundItemRequest as CalculateRefundItemRequest, type index_d$6_CalculateRefundItemResponse as CalculateRefundItemResponse, type index_d$6_CalculateRefundRequest as CalculateRefundRequest, type index_d$6_CalculateRefundResponse as CalculateRefundResponse, type index_d$6_ChannelInfo as ChannelInfo, index_d$6_ChannelType as ChannelType, type index_d$6_CreditCardPaymentMethodDetails as CreditCardPaymentMethodDetails, type CursorPaging$3 as CursorPaging, type CursorPagingMetadata$3 as CursorPagingMetadata, type CursorQuery$2 as CursorQuery, type CursorQueryPagingMethodOneOf$2 as CursorQueryPagingMethodOneOf, type Cursors$3 as Cursors, type index_d$6_CustomField as CustomField, type index_d$6_CustomTextFieldSelection as CustomTextFieldSelection, type DiffmatokyPayload$1 as DiffmatokyPayload, type index_d$6_DigitalFile as DigitalFile, type index_d$6_Discount as Discount, type DomainEvent$4 as DomainEvent, type DomainEventBodyOneOf$4 as DomainEventBodyOneOf, type index_d$6_EnteredBy as EnteredBy, index_d$6_EnteredByIdentityType as EnteredByIdentityType, type EntityCreatedEvent$4 as EntityCreatedEvent, type EntityDeletedEvent$4 as EntityDeletedEvent, type EntityUpdatedEvent$4 as EntityUpdatedEvent, type ErrorInformation$1 as ErrorInformation, type EventMetadata$3 as EventMetadata, type index_d$6_Fulfillment as Fulfillment, type index_d$6_FulfillmentLineItem as FulfillmentLineItem, index_d$6_FulfillmentStatus as FulfillmentStatus, type index_d$6_FulfillmentTrackingInfo as FulfillmentTrackingInfo, type index_d$6_FullName as FullName, type index_d$6_GenerateInvoiceRequest as GenerateInvoiceRequest, type index_d$6_GenerateInvoiceResponse as GenerateInvoiceResponse, type index_d$6_GetRefundabilityStatusRequest as GetRefundabilityStatusRequest, type index_d$6_GetRefundabilityStatusResponse as GetRefundabilityStatusResponse, type GiftCard$1 as GiftCard, type index_d$6_GiftCardPaymentDetails as GiftCardPaymentDetails, type IdentificationData$4 as IdentificationData, type IdentificationDataIdOneOf$4 as IdentificationDataIdOneOf, index_d$6_IdentityType as IdentityType, type index_d$6_IndexingMessage as IndexingMessage, type index_d$6_InvoiceForOrder as InvoiceForOrder, type index_d$6_InvoiceInfo as InvoiceInfo, index_d$6_InvoiceSource as InvoiceSource, type index_d$6_InvoicesForOrder as InvoicesForOrder, type index_d$6_ItemMetadata as ItemMetadata, type LineItem$1 as LineItem, type index_d$6_LineItemPriceData as LineItemPriceData, type index_d$6_LineItemRefund as LineItemRefund, index_d$6_LineItemType as LineItemType, type index_d$6_ListInvoicesForMultipleOrdersRequest as ListInvoicesForMultipleOrdersRequest, type index_d$6_ListInvoicesForMultipleOrdersResponse as ListInvoicesForMultipleOrdersResponse, type index_d$6_ListInvoicesForSingleOrderRequest as ListInvoicesForSingleOrderRequest, type index_d$6_ListInvoicesForSingleOrderResponse as ListInvoicesForSingleOrderResponse, type index_d$6_ListTransactionsForMultipleOrdersRequest as ListTransactionsForMultipleOrdersRequest, type index_d$6_ListTransactionsForMultipleOrdersResponse as ListTransactionsForMultipleOrdersResponse, type index_d$6_ListTransactionsForMultipleOrdersResponseNonNullableFields as ListTransactionsForMultipleOrdersResponseNonNullableFields, type index_d$6_ListTransactionsForSingleOrderRequest as ListTransactionsForSingleOrderRequest, type index_d$6_ListTransactionsForSingleOrderResponse as ListTransactionsForSingleOrderResponse, type index_d$6_ListTransactionsForSingleOrderResponseNonNullableFields as ListTransactionsForSingleOrderResponseNonNullableFields, index_d$6_ManuallyRefundableReason as ManuallyRefundableReason, type index_d$6_MaskedPayment as MaskedPayment, type index_d$6_MediaItem as MediaItem, index_d$6_MediaItemType as MediaItemType, type MembershipName$1 as MembershipName, type index_d$6_MembershipPaymentDetails as MembershipPaymentDetails, index_d$6_MembershipPaymentStatus as MembershipPaymentStatus, type MessageEnvelope$4 as MessageEnvelope, index_d$6_NonRefundableReason as NonRefundableReason, type index_d$6_OptionSelection as OptionSelection, type index_d$6_Order as Order, type index_d$6_OrderRefunded as OrderRefunded, type index_d$6_OrderTransactions as OrderTransactions, type index_d$6_OrderTransactionsUpdatedEnvelope as OrderTransactionsUpdatedEnvelope, type index_d$6_Payment as Payment, type index_d$6_PaymentAndOrderId as PaymentAndOrderId, type index_d$6_PaymentPaymentDetailsOneOf as PaymentPaymentDetailsOneOf, type index_d$6_PaymentRefund as PaymentRefund, index_d$6_PaymentStatus as PaymentStatus, type index_d$6_PaymentsUpdated as PaymentsUpdated, type index_d$6_PickupAddress as PickupAddress, type PickupDetails$1 as PickupDetails, type index_d$6_Price as Price, type index_d$6_QueryOrderTransactionsRequest as QueryOrderTransactionsRequest, type index_d$6_QueryOrderTransactionsResponse as QueryOrderTransactionsResponse, index_d$6_Reason as Reason, type index_d$6_Refund as Refund, type index_d$6_RefundCreated as RefundCreated, type index_d$6_RefundDetails as RefundDetails, type index_d$6_RefundItem as RefundItem, type index_d$6_RefundSideEffects as RefundSideEffects, index_d$6_RefundStatus as RefundStatus, type index_d$6_RefundTransaction as RefundTransaction, type index_d$6_Refundability as Refundability, type index_d$6_RefundabilityAdditionalRefundabilityInfoOneOf as RefundabilityAdditionalRefundabilityInfoOneOf, index_d$6_RefundableStatus as RefundableStatus, type index_d$6_RegularPaymentDetails as RegularPaymentDetails, type index_d$6_RegularPaymentDetailsPaymentMethodDetailsOneOf as RegularPaymentDetailsPaymentMethodDetailsOneOf, type index_d$6_RestockInfo as RestockInfo, type index_d$6_RestockItem as RestockItem, index_d$6_RestockType as RestockType, type RestoreInfo$4 as RestoreInfo, type index_d$6_ScheduledAction as ScheduledAction, type index_d$6_ShipmentDetails as ShipmentDetails, type index_d$6_ShippingInfo as ShippingInfo, type index_d$6_ShippingInfoDetailsOneOf as ShippingInfoDetailsOneOf, type index_d$6_ShippingPriceData as ShippingPriceData, type index_d$6_ShippingRefund as ShippingRefund, type index_d$6_SnapshotMessage as SnapshotMessage, SortOrder$3 as SortOrder, type Sorting$3 as Sorting, type index_d$6_Street as Street, SubscriptionFrequency$1 as SubscriptionFrequency, type index_d$6_SubscriptionInfo as SubscriptionInfo, type index_d$6_SubscriptionOptionInfo as SubscriptionOptionInfo, type SubscriptionSettings$1 as SubscriptionSettings, type index_d$6_Totals as Totals, type index_d$6_TrackingInfo as TrackingInfo, index_d$6_TransactionStatus as TransactionStatus, type index_d$6_TriggerRefundRequest as TriggerRefundRequest, type index_d$6_TriggerRefundResponse as TriggerRefundResponse, type index_d$6_UpdatePaymentStatusIdentifiers as UpdatePaymentStatusIdentifiers, type index_d$6_UpdatePaymentStatusOptions as UpdatePaymentStatusOptions, type index_d$6_UpdatePaymentStatusRequest as UpdatePaymentStatusRequest, type index_d$6_UpdatePaymentStatusResponse as UpdatePaymentStatusResponse, type index_d$6_UpdatePaymentStatusResponseNonNullableFields as UpdatePaymentStatusResponseNonNullableFields, type index_d$6_UpdatePaymentsRequest as UpdatePaymentsRequest, type index_d$6_UpdatePaymentsResponse as UpdatePaymentsResponse, type index_d$6_UpdateRefundTransactionRequest as UpdateRefundTransactionRequest, type index_d$6_UpdateRefundTransactionResponse as UpdateRefundTransactionResponse, type index_d$6_V2InvoiceInfo as V2InvoiceInfo, type index_d$6_V2Refund as V2Refund, type index_d$6_VatId as VatId, index_d$6_VatType as VatType, WebhookIdentityType$4 as WebhookIdentityType, WeightUnit$1 as WeightUnit, type index_d$6__publicOnOrderTransactionsUpdatedType as _publicOnOrderTransactionsUpdatedType, index_d$6_addPayments as addPayments, index_d$6_bulkUpdatePaymentStatuses as bulkUpdatePaymentStatuses, index_d$6_listTransactionsForMultipleOrders as listTransactionsForMultipleOrders, index_d$6_listTransactionsForSingleOrder as listTransactionsForSingleOrder, index_d$6_onOrderTransactionsUpdated as onOrderTransactionsUpdated, onOrderTransactionsUpdated$1 as publicOnOrderTransactionsUpdated, index_d$6_updatePaymentStatus as updatePaymentStatus };
|
|
31004
31010
|
}
|
|
31005
31011
|
|
|
31006
31012
|
interface OrdersSettings {
|
|
@@ -31177,7 +31183,7 @@ interface GetOrdersSettingsResponseNonNullableFields {
|
|
|
31177
31183
|
interface UpdateOrdersSettingsResponseNonNullableFields {
|
|
31178
31184
|
ordersSettings?: OrdersSettingsNonNullableFields;
|
|
31179
31185
|
}
|
|
31180
|
-
interface BaseEventMetadata$
|
|
31186
|
+
interface BaseEventMetadata$2 {
|
|
31181
31187
|
/** App instance ID. */
|
|
31182
31188
|
instanceId?: string | null;
|
|
31183
31189
|
/** Event type. */
|
|
@@ -31185,7 +31191,7 @@ interface BaseEventMetadata$3 {
|
|
|
31185
31191
|
/** The identification type and identity data. */
|
|
31186
31192
|
identity?: IdentificationData$3;
|
|
31187
31193
|
}
|
|
31188
|
-
interface EventMetadata$
|
|
31194
|
+
interface EventMetadata$2 extends BaseEventMetadata$2 {
|
|
31189
31195
|
/**
|
|
31190
31196
|
* Unique event ID.
|
|
31191
31197
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -31225,7 +31231,7 @@ interface EventMetadata$3 extends BaseEventMetadata$3 {
|
|
|
31225
31231
|
}
|
|
31226
31232
|
interface OrdersSettingsUpdatedEnvelope {
|
|
31227
31233
|
entity: OrdersSettings;
|
|
31228
|
-
metadata: EventMetadata$
|
|
31234
|
+
metadata: EventMetadata$2;
|
|
31229
31235
|
}
|
|
31230
31236
|
|
|
31231
31237
|
declare function getOrdersSettings$1(httpClient: HttpClient): GetOrdersSettingsSignature;
|
|
@@ -31251,18 +31257,18 @@ interface UpdateOrdersSettingsSignature {
|
|
|
31251
31257
|
*/
|
|
31252
31258
|
(ordersSettings: OrdersSettings): Promise<UpdateOrdersSettingsResponse & UpdateOrdersSettingsResponseNonNullableFields>;
|
|
31253
31259
|
}
|
|
31254
|
-
declare const onOrdersSettingsUpdated$1: EventDefinition$
|
|
31260
|
+
declare const onOrdersSettingsUpdated$1: EventDefinition$g<OrdersSettingsUpdatedEnvelope, "wix.ecom.v1.orders_settings_updated">;
|
|
31255
31261
|
|
|
31256
|
-
type EventDefinition$
|
|
31262
|
+
type EventDefinition$2<Payload = unknown, Type extends string = string> = {
|
|
31257
31263
|
__type: 'event-definition';
|
|
31258
31264
|
type: Type;
|
|
31259
31265
|
isDomainEvent?: boolean;
|
|
31260
31266
|
transformations?: (envelope: unknown) => Payload;
|
|
31261
31267
|
__payload: Payload;
|
|
31262
31268
|
};
|
|
31263
|
-
declare function EventDefinition$
|
|
31264
|
-
type EventHandler$
|
|
31265
|
-
type BuildEventDefinition$
|
|
31269
|
+
declare function EventDefinition$2<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition$2<Payload, Type>;
|
|
31270
|
+
type EventHandler$2<T extends EventDefinition$2> = (payload: T['__payload']) => void | Promise<void>;
|
|
31271
|
+
type BuildEventDefinition$2<T extends EventDefinition$2<any, string>> = (handler: EventHandler$2<T>) => void;
|
|
31266
31272
|
|
|
31267
31273
|
declare global {
|
|
31268
31274
|
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
@@ -31271,7 +31277,7 @@ declare global {
|
|
|
31271
31277
|
}
|
|
31272
31278
|
}
|
|
31273
31279
|
|
|
31274
|
-
declare function createEventModule$
|
|
31280
|
+
declare function createEventModule$2<T extends EventDefinition$2<any, string>>(eventDefinition: T): BuildEventDefinition$2<T> & T;
|
|
31275
31281
|
|
|
31276
31282
|
declare const getOrdersSettings: MaybeContext<BuildRESTFunction<typeof getOrdersSettings$1> & typeof getOrdersSettings$1>;
|
|
31277
31283
|
declare const updateOrdersSettings: MaybeContext<BuildRESTFunction<typeof updateOrdersSettings$1> & typeof updateOrdersSettings$1>;
|
|
@@ -31280,7 +31286,7 @@ type _publicOnOrdersSettingsUpdatedType = typeof onOrdersSettingsUpdated$1;
|
|
|
31280
31286
|
/**
|
|
31281
31287
|
* Triggered when orders settings are updated.
|
|
31282
31288
|
*/
|
|
31283
|
-
declare const onOrdersSettingsUpdated: ReturnType<typeof createEventModule$
|
|
31289
|
+
declare const onOrdersSettingsUpdated: ReturnType<typeof createEventModule$2<_publicOnOrdersSettingsUpdatedType>>;
|
|
31284
31290
|
|
|
31285
31291
|
type index_d$5_DeleteOrdersSettingsRequest = DeleteOrdersSettingsRequest;
|
|
31286
31292
|
type index_d$5_DeleteOrdersSettingsResponse = DeleteOrdersSettingsResponse;
|
|
@@ -31301,7 +31307,7 @@ declare const index_d$5_getOrdersSettings: typeof getOrdersSettings;
|
|
|
31301
31307
|
declare const index_d$5_onOrdersSettingsUpdated: typeof onOrdersSettingsUpdated;
|
|
31302
31308
|
declare const index_d$5_updateOrdersSettings: typeof updateOrdersSettings;
|
|
31303
31309
|
declare namespace index_d$5 {
|
|
31304
|
-
export { type ActionEvent$3 as ActionEvent, type BaseEventMetadata$
|
|
31310
|
+
export { type ActionEvent$3 as ActionEvent, type BaseEventMetadata$2 as BaseEventMetadata, type index_d$5_DeleteOrdersSettingsRequest as DeleteOrdersSettingsRequest, type index_d$5_DeleteOrdersSettingsResponse as DeleteOrdersSettingsResponse, type DomainEvent$3 as DomainEvent, type DomainEventBodyOneOf$3 as DomainEventBodyOneOf, type EntityCreatedEvent$3 as EntityCreatedEvent, type EntityDeletedEvent$3 as EntityDeletedEvent, type EntityUpdatedEvent$3 as EntityUpdatedEvent, type EventMetadata$2 as EventMetadata, type index_d$5_GetOrdersSettingsRequest as GetOrdersSettingsRequest, type index_d$5_GetOrdersSettingsResponse as GetOrdersSettingsResponse, type index_d$5_GetOrdersSettingsResponseNonNullableFields as GetOrdersSettingsResponseNonNullableFields, type IdentificationData$3 as IdentificationData, type IdentificationDataIdOneOf$3 as IdentificationDataIdOneOf, index_d$5_InventoryUpdateTrigger as InventoryUpdateTrigger, type index_d$5_ListOrdersSettingsRequest as ListOrdersSettingsRequest, type index_d$5_ListOrdersSettingsResponse as ListOrdersSettingsResponse, type MessageEnvelope$3 as MessageEnvelope, type index_d$5_OrdersSettings as OrdersSettings, type index_d$5_OrdersSettingsUpdatedEnvelope as OrdersSettingsUpdatedEnvelope, type RestoreInfo$3 as RestoreInfo, type index_d$5_UpdateOrdersSettingsRequest as UpdateOrdersSettingsRequest, type index_d$5_UpdateOrdersSettingsResponse as UpdateOrdersSettingsResponse, type index_d$5_UpdateOrdersSettingsResponseNonNullableFields as UpdateOrdersSettingsResponseNonNullableFields, WebhookIdentityType$3 as WebhookIdentityType, type index_d$5__publicOnOrdersSettingsUpdatedType as _publicOnOrdersSettingsUpdatedType, index_d$5_getOrdersSettings as getOrdersSettings, index_d$5_onOrdersSettingsUpdated as onOrdersSettingsUpdated, onOrdersSettingsUpdated$1 as publicOnOrdersSettingsUpdated, index_d$5_updateOrdersSettings as updateOrdersSettings };
|
|
31305
31311
|
}
|
|
31306
31312
|
|
|
31307
31313
|
/** PickupLocation is the main entity of PickupLocations that can be used for lorem ipsum dolor */
|
|
@@ -31311,9 +31317,10 @@ interface PickupLocation {
|
|
|
31311
31317
|
* @readonly
|
|
31312
31318
|
*/
|
|
31313
31319
|
_id?: string | null;
|
|
31314
|
-
/**
|
|
31315
|
-
|
|
31316
|
-
|
|
31320
|
+
/**
|
|
31321
|
+
* Represents the current state of an item. Each time the item is modified, its `revision` changes. for an update operation to succeed, you MUST pass the latest revision
|
|
31322
|
+
* @readonly
|
|
31323
|
+
*/
|
|
31317
31324
|
revision?: string | null;
|
|
31318
31325
|
/**
|
|
31319
31326
|
* Represents the time this PickupLocation was created
|
|
@@ -31337,6 +31344,8 @@ interface PickupLocation {
|
|
|
31337
31344
|
active?: boolean | null;
|
|
31338
31345
|
/** at runtime for a given pickup input, up to one rate (price) should be returned in an option. If more than one rate is valid then we return the lowest one. */
|
|
31339
31346
|
rates?: ConditionalRates$1[];
|
|
31347
|
+
/** This pickup location is active for the following delivery regions. */
|
|
31348
|
+
deliveryRegionIds?: string[];
|
|
31340
31349
|
}
|
|
31341
31350
|
/** Physical address */
|
|
31342
31351
|
interface Address$2 extends AddressStreetOneOf {
|
|
@@ -31503,7 +31512,7 @@ interface QueryPickupLocationResponse {
|
|
|
31503
31512
|
pagingMetadata?: CursorPagingMetadata$2;
|
|
31504
31513
|
}
|
|
31505
31514
|
interface CursorPagingMetadata$2 {
|
|
31506
|
-
/** Number of items returned in
|
|
31515
|
+
/** Number of items returned in current page. */
|
|
31507
31516
|
count?: number | null;
|
|
31508
31517
|
/** Cursor strings that point to the next page, previous page, or both. */
|
|
31509
31518
|
cursors?: Cursors$2;
|
|
@@ -31521,6 +31530,30 @@ interface Cursors$2 {
|
|
|
31521
31530
|
/** Cursor pointing to the previous page in the list of results. */
|
|
31522
31531
|
prev?: string | null;
|
|
31523
31532
|
}
|
|
31533
|
+
interface AddDeliveryRegionRequest {
|
|
31534
|
+
/** Id of the PickupLocation to add to the delivery region */
|
|
31535
|
+
pickupLocationId: string;
|
|
31536
|
+
/** Id of the DeliveryRegion to add the PickupLocation to */
|
|
31537
|
+
deliveryRegionId: string;
|
|
31538
|
+
/** Revision of the PickupLocation */
|
|
31539
|
+
revision: string | null;
|
|
31540
|
+
}
|
|
31541
|
+
interface AddDeliveryRegionResponse {
|
|
31542
|
+
/** The updated PickupLocation */
|
|
31543
|
+
pickupLocation?: PickupLocation;
|
|
31544
|
+
}
|
|
31545
|
+
interface RemoveDeliveryRegionRequest {
|
|
31546
|
+
/** Id of the PickupLocation to add to the delivery region */
|
|
31547
|
+
pickupLocationId: string;
|
|
31548
|
+
/** Id of the DeliveryRegion to add the PickupLocation to */
|
|
31549
|
+
deliveryRegionId: string;
|
|
31550
|
+
/** Revision of the PickupLocation */
|
|
31551
|
+
revision: string | null;
|
|
31552
|
+
}
|
|
31553
|
+
interface RemoveDeliveryRegionResponse {
|
|
31554
|
+
/** The updated PickupLocation */
|
|
31555
|
+
pickupLocation?: PickupLocation;
|
|
31556
|
+
}
|
|
31524
31557
|
interface BulkCreatePickupLocationRequest {
|
|
31525
31558
|
pickupLocations: PickupLocation[];
|
|
31526
31559
|
}
|
|
@@ -31685,6 +31718,7 @@ interface ConditionalRatesNonNullableFields$1 {
|
|
|
31685
31718
|
interface PickupLocationNonNullableFields {
|
|
31686
31719
|
address?: AddressNonNullableFields$2;
|
|
31687
31720
|
rates: ConditionalRatesNonNullableFields$1[];
|
|
31721
|
+
deliveryRegionIds: string[];
|
|
31688
31722
|
}
|
|
31689
31723
|
interface CreatePickupLocationResponseNonNullableFields {
|
|
31690
31724
|
pickupLocation?: PickupLocationNonNullableFields;
|
|
@@ -31698,6 +31732,12 @@ interface UpdatePickupLocationResponseNonNullableFields {
|
|
|
31698
31732
|
interface QueryPickupLocationResponseNonNullableFields {
|
|
31699
31733
|
pickupLocations: PickupLocationNonNullableFields[];
|
|
31700
31734
|
}
|
|
31735
|
+
interface AddDeliveryRegionResponseNonNullableFields {
|
|
31736
|
+
pickupLocation?: PickupLocationNonNullableFields;
|
|
31737
|
+
}
|
|
31738
|
+
interface RemoveDeliveryRegionResponseNonNullableFields {
|
|
31739
|
+
pickupLocation?: PickupLocationNonNullableFields;
|
|
31740
|
+
}
|
|
31701
31741
|
interface ApplicationErrorNonNullableFields$1 {
|
|
31702
31742
|
code: string;
|
|
31703
31743
|
description: string;
|
|
@@ -31717,73 +31757,16 @@ interface BulkUpdatePickupLocationResponseNonNullableFields {
|
|
|
31717
31757
|
interface BulkDeletePickupLocationResponseNonNullableFields {
|
|
31718
31758
|
errors: PickupLocationErrorNonNullableFields[];
|
|
31719
31759
|
}
|
|
31720
|
-
interface BaseEventMetadata$2 {
|
|
31721
|
-
/** App instance ID. */
|
|
31722
|
-
instanceId?: string | null;
|
|
31723
|
-
/** Event type. */
|
|
31724
|
-
eventType?: string;
|
|
31725
|
-
/** The identification type and identity data. */
|
|
31726
|
-
identity?: IdentificationData$2;
|
|
31727
|
-
}
|
|
31728
|
-
interface EventMetadata$2 extends BaseEventMetadata$2 {
|
|
31729
|
-
/**
|
|
31730
|
-
* Unique event ID.
|
|
31731
|
-
* Allows clients to ignore duplicate webhooks.
|
|
31732
|
-
*/
|
|
31733
|
-
_id?: string;
|
|
31734
|
-
/**
|
|
31735
|
-
* Assumes actions are also always typed to an entity_type
|
|
31736
|
-
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
31737
|
-
*/
|
|
31738
|
-
entityFqdn?: string;
|
|
31739
|
-
/**
|
|
31740
|
-
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
31741
|
-
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
31742
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
31743
|
-
*/
|
|
31744
|
-
slug?: string;
|
|
31745
|
-
/** ID of the entity associated with the event. */
|
|
31746
|
-
entityId?: string;
|
|
31747
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
31748
|
-
eventTime?: Date;
|
|
31749
|
-
/**
|
|
31750
|
-
* Whether the event was triggered as a result of a privacy regulation application
|
|
31751
|
-
* (for example, GDPR).
|
|
31752
|
-
*/
|
|
31753
|
-
triggeredByAnonymizeRequest?: boolean | null;
|
|
31754
|
-
/** If present, indicates the action that triggered the event. */
|
|
31755
|
-
originatedFrom?: string | null;
|
|
31756
|
-
/**
|
|
31757
|
-
* A sequence number defining the order of updates to the underlying entity.
|
|
31758
|
-
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
31759
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
31760
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
31761
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
31762
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
31763
|
-
*/
|
|
31764
|
-
entityEventSequence?: string | null;
|
|
31765
|
-
}
|
|
31766
|
-
interface PickupLocationCreatedEnvelope {
|
|
31767
|
-
entity: PickupLocation;
|
|
31768
|
-
metadata: EventMetadata$2;
|
|
31769
|
-
}
|
|
31770
|
-
interface PickupLocationUpdatedEnvelope {
|
|
31771
|
-
entity: PickupLocation;
|
|
31772
|
-
metadata: EventMetadata$2;
|
|
31773
|
-
}
|
|
31774
|
-
interface PickupLocationDeletedEnvelope {
|
|
31775
|
-
entity: PickupLocation;
|
|
31776
|
-
metadata: EventMetadata$2;
|
|
31777
|
-
}
|
|
31778
31760
|
interface UpdatePickupLocation {
|
|
31779
31761
|
/**
|
|
31780
31762
|
* PickupLocation ID
|
|
31781
31763
|
* @readonly
|
|
31782
31764
|
*/
|
|
31783
31765
|
_id?: string | null;
|
|
31784
|
-
/**
|
|
31785
|
-
|
|
31786
|
-
|
|
31766
|
+
/**
|
|
31767
|
+
* Represents the current state of an item. Each time the item is modified, its `revision` changes. for an update operation to succeed, you MUST pass the latest revision
|
|
31768
|
+
* @readonly
|
|
31769
|
+
*/
|
|
31787
31770
|
revision?: string | null;
|
|
31788
31771
|
/**
|
|
31789
31772
|
* Represents the time this PickupLocation was created
|
|
@@ -31807,6 +31790,8 @@ interface UpdatePickupLocation {
|
|
|
31807
31790
|
active?: boolean | null;
|
|
31808
31791
|
/** at runtime for a given pickup input, up to one rate (price) should be returned in an option. If more than one rate is valid then we return the lowest one. */
|
|
31809
31792
|
rates?: ConditionalRates$1[];
|
|
31793
|
+
/** This pickup location is active for the following delivery regions. */
|
|
31794
|
+
deliveryRegionIds?: string[];
|
|
31810
31795
|
}
|
|
31811
31796
|
interface QueryCursorResult$2 {
|
|
31812
31797
|
cursors: Cursors$2;
|
|
@@ -31826,12 +31811,12 @@ interface PickupLocationsQueryBuilder {
|
|
|
31826
31811
|
* @param value - Value to compare against.
|
|
31827
31812
|
* @documentationMaturity preview
|
|
31828
31813
|
*/
|
|
31829
|
-
eq: (propertyName: '
|
|
31814
|
+
eq: (propertyName: '_createdDate' | '_updatedDate' | 'name' | 'address.country' | 'address.subdivision' | 'address.city' | 'deliveryRegionIds', value: any) => PickupLocationsQueryBuilder;
|
|
31830
31815
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
31831
31816
|
* @param value - Value to compare against.
|
|
31832
31817
|
* @documentationMaturity preview
|
|
31833
31818
|
*/
|
|
31834
|
-
ne: (propertyName: '
|
|
31819
|
+
ne: (propertyName: '_createdDate' | '_updatedDate' | 'name' | 'address.country' | 'address.subdivision' | 'address.city' | 'deliveryRegionIds', value: any) => PickupLocationsQueryBuilder;
|
|
31835
31820
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
31836
31821
|
* @param value - Value to compare against.
|
|
31837
31822
|
* @documentationMaturity preview
|
|
@@ -31856,24 +31841,21 @@ interface PickupLocationsQueryBuilder {
|
|
|
31856
31841
|
* @param string - String to compare against. Case-insensitive.
|
|
31857
31842
|
* @documentationMaturity preview
|
|
31858
31843
|
*/
|
|
31859
|
-
startsWith: (propertyName: '
|
|
31844
|
+
startsWith: (propertyName: 'name' | 'address.country' | 'address.subdivision' | 'address.city', value: string) => PickupLocationsQueryBuilder;
|
|
31860
31845
|
/** @param propertyName - Property whose value is compared with `values`.
|
|
31861
31846
|
* @param values - List of values to compare against.
|
|
31862
31847
|
* @documentationMaturity preview
|
|
31863
31848
|
*/
|
|
31864
|
-
hasSome: (propertyName: '
|
|
31865
|
-
/** @
|
|
31866
|
-
|
|
31867
|
-
/** @documentationMaturity preview */
|
|
31868
|
-
exists: (propertyName: 'shippingRuleId' | '_createdDate' | '_updatedDate' | 'name' | 'address.country' | 'address.subdivision' | 'address.city', value: boolean) => PickupLocationsQueryBuilder;
|
|
31869
|
-
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
31870
|
-
* @documentationMaturity preview
|
|
31871
|
-
*/
|
|
31872
|
-
ascending: (...propertyNames: Array<'shippingRuleId' | '_createdDate' | '_updatedDate' | 'name' | 'address.country' | 'address.subdivision' | 'address.city'>) => PickupLocationsQueryBuilder;
|
|
31873
|
-
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
31849
|
+
hasSome: (propertyName: '_createdDate' | '_updatedDate' | 'name' | 'address.country' | 'address.subdivision' | 'address.city' | 'deliveryRegionIds', value: any[]) => PickupLocationsQueryBuilder;
|
|
31850
|
+
/** @param propertyName - Property whose value is compared with `values`.
|
|
31851
|
+
* @param values - List of values to compare against.
|
|
31874
31852
|
* @documentationMaturity preview
|
|
31875
31853
|
*/
|
|
31876
|
-
|
|
31854
|
+
hasAll: (propertyName: 'deliveryRegionIds', value: any[]) => PickupLocationsQueryBuilder;
|
|
31855
|
+
/** @documentationMaturity preview */
|
|
31856
|
+
in: (propertyName: '_createdDate' | '_updatedDate' | 'name' | 'address.country' | 'address.subdivision' | 'address.city' | 'deliveryRegionIds', value: any) => PickupLocationsQueryBuilder;
|
|
31857
|
+
/** @documentationMaturity preview */
|
|
31858
|
+
exists: (propertyName: '_createdDate' | '_updatedDate' | 'name' | 'address.country' | 'address.subdivision' | 'address.city' | 'deliveryRegionIds', value: boolean) => PickupLocationsQueryBuilder;
|
|
31877
31859
|
/** @param limit - Number of items to return, which is also the `pageSize` of the results object.
|
|
31878
31860
|
* @documentationMaturity preview
|
|
31879
31861
|
*/
|
|
@@ -31885,6 +31867,14 @@ interface PickupLocationsQueryBuilder {
|
|
|
31885
31867
|
/** @documentationMaturity preview */
|
|
31886
31868
|
find: () => Promise<PickupLocationsQueryResult>;
|
|
31887
31869
|
}
|
|
31870
|
+
interface AddDeliveryRegionOptions {
|
|
31871
|
+
/** Revision of the PickupLocation */
|
|
31872
|
+
revision: string | null;
|
|
31873
|
+
}
|
|
31874
|
+
interface RemoveDeliveryRegionOptions {
|
|
31875
|
+
/** Revision of the PickupLocation */
|
|
31876
|
+
revision: string | null;
|
|
31877
|
+
}
|
|
31888
31878
|
|
|
31889
31879
|
declare function createPickupLocation$1(httpClient: HttpClient): CreatePickupLocationSignature;
|
|
31890
31880
|
interface CreatePickupLocationSignature {
|
|
@@ -31908,6 +31898,7 @@ declare function updatePickupLocation$1(httpClient: HttpClient): UpdatePickupLoc
|
|
|
31908
31898
|
interface UpdatePickupLocationSignature {
|
|
31909
31899
|
/**
|
|
31910
31900
|
* Update a PickupLocation
|
|
31901
|
+
* Delivery regions cannot be updated using this method, use AddDeliveryRegion and RemoveDeliveryRegion instead.
|
|
31911
31902
|
* @param - PickupLocation ID
|
|
31912
31903
|
* @returns The updated PickupLocation
|
|
31913
31904
|
*/
|
|
@@ -31928,6 +31919,24 @@ interface QueryPickupLocationSignature {
|
|
|
31928
31919
|
*/
|
|
31929
31920
|
(): PickupLocationsQueryBuilder;
|
|
31930
31921
|
}
|
|
31922
|
+
declare function addDeliveryRegion$1(httpClient: HttpClient): AddDeliveryRegionSignature;
|
|
31923
|
+
interface AddDeliveryRegionSignature {
|
|
31924
|
+
/**
|
|
31925
|
+
* Add a DeliveryRegion to a PickupLocation
|
|
31926
|
+
* @param - Id of the PickupLocation to add to the delivery region
|
|
31927
|
+
* @param - Id of the DeliveryRegion to add the PickupLocation to
|
|
31928
|
+
*/
|
|
31929
|
+
(pickupLocationId: string, deliveryRegionId: string, options: AddDeliveryRegionOptions): Promise<AddDeliveryRegionResponse & AddDeliveryRegionResponseNonNullableFields>;
|
|
31930
|
+
}
|
|
31931
|
+
declare function removeDeliveryRegion$1(httpClient: HttpClient): RemoveDeliveryRegionSignature;
|
|
31932
|
+
interface RemoveDeliveryRegionSignature {
|
|
31933
|
+
/**
|
|
31934
|
+
* Remove a DeliveryRegion from a PickupLocation
|
|
31935
|
+
* @param - Id of the PickupLocation to add to the delivery region
|
|
31936
|
+
* @param - Id of the DeliveryRegion to add the PickupLocation to
|
|
31937
|
+
*/
|
|
31938
|
+
(pickupLocationId: string, deliveryRegionId: string, options: RemoveDeliveryRegionOptions): Promise<RemoveDeliveryRegionResponse & RemoveDeliveryRegionResponseNonNullableFields>;
|
|
31939
|
+
}
|
|
31931
31940
|
declare function bulkCreatePickupLocation$1(httpClient: HttpClient): BulkCreatePickupLocationSignature;
|
|
31932
31941
|
interface BulkCreatePickupLocationSignature {
|
|
31933
31942
|
/**
|
|
@@ -31949,51 +31958,22 @@ interface BulkDeletePickupLocationSignature {
|
|
|
31949
31958
|
*/
|
|
31950
31959
|
(pickupLocationIds: string[]): Promise<BulkDeletePickupLocationResponse & BulkDeletePickupLocationResponseNonNullableFields>;
|
|
31951
31960
|
}
|
|
31952
|
-
declare const onPickupLocationCreated$1: EventDefinition$h<PickupLocationCreatedEnvelope, "wix.ecom.v1.pickup_location_created">;
|
|
31953
|
-
declare const onPickupLocationUpdated$1: EventDefinition$h<PickupLocationUpdatedEnvelope, "wix.ecom.v1.pickup_location_updated">;
|
|
31954
|
-
declare const onPickupLocationDeleted$1: EventDefinition$h<PickupLocationDeletedEnvelope, "wix.ecom.v1.pickup_location_deleted">;
|
|
31955
|
-
|
|
31956
|
-
type EventDefinition$2<Payload = unknown, Type extends string = string> = {
|
|
31957
|
-
__type: 'event-definition';
|
|
31958
|
-
type: Type;
|
|
31959
|
-
isDomainEvent?: boolean;
|
|
31960
|
-
transformations?: (envelope: unknown) => Payload;
|
|
31961
|
-
__payload: Payload;
|
|
31962
|
-
};
|
|
31963
|
-
declare function EventDefinition$2<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition$2<Payload, Type>;
|
|
31964
|
-
type EventHandler$2<T extends EventDefinition$2> = (payload: T['__payload']) => void | Promise<void>;
|
|
31965
|
-
type BuildEventDefinition$2<T extends EventDefinition$2<any, string>> = (handler: EventHandler$2<T>) => void;
|
|
31966
|
-
|
|
31967
|
-
declare global {
|
|
31968
|
-
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
31969
|
-
interface SymbolConstructor {
|
|
31970
|
-
readonly observable: symbol;
|
|
31971
|
-
}
|
|
31972
|
-
}
|
|
31973
|
-
|
|
31974
|
-
declare function createEventModule$2<T extends EventDefinition$2<any, string>>(eventDefinition: T): BuildEventDefinition$2<T> & T;
|
|
31975
31961
|
|
|
31976
31962
|
declare const createPickupLocation: MaybeContext<BuildRESTFunction<typeof createPickupLocation$1> & typeof createPickupLocation$1>;
|
|
31977
31963
|
declare const getPickupLocation: MaybeContext<BuildRESTFunction<typeof getPickupLocation$1> & typeof getPickupLocation$1>;
|
|
31978
31964
|
declare const updatePickupLocation: MaybeContext<BuildRESTFunction<typeof updatePickupLocation$1> & typeof updatePickupLocation$1>;
|
|
31979
31965
|
declare const deletePickupLocation: MaybeContext<BuildRESTFunction<typeof deletePickupLocation$1> & typeof deletePickupLocation$1>;
|
|
31980
31966
|
declare const queryPickupLocation: MaybeContext<BuildRESTFunction<typeof queryPickupLocation$1> & typeof queryPickupLocation$1>;
|
|
31967
|
+
declare const addDeliveryRegion: MaybeContext<BuildRESTFunction<typeof addDeliveryRegion$1> & typeof addDeliveryRegion$1>;
|
|
31968
|
+
declare const removeDeliveryRegion: MaybeContext<BuildRESTFunction<typeof removeDeliveryRegion$1> & typeof removeDeliveryRegion$1>;
|
|
31981
31969
|
declare const bulkCreatePickupLocation: MaybeContext<BuildRESTFunction<typeof bulkCreatePickupLocation$1> & typeof bulkCreatePickupLocation$1>;
|
|
31982
31970
|
declare const bulkUpdatePickupLocation: MaybeContext<BuildRESTFunction<typeof bulkUpdatePickupLocation$1> & typeof bulkUpdatePickupLocation$1>;
|
|
31983
31971
|
declare const bulkDeletePickupLocation: MaybeContext<BuildRESTFunction<typeof bulkDeletePickupLocation$1> & typeof bulkDeletePickupLocation$1>;
|
|
31984
31972
|
|
|
31985
|
-
type
|
|
31986
|
-
|
|
31987
|
-
|
|
31988
|
-
|
|
31989
|
-
type _publicOnPickupLocationUpdatedType = typeof onPickupLocationUpdated$1;
|
|
31990
|
-
/** */
|
|
31991
|
-
declare const onPickupLocationUpdated: ReturnType<typeof createEventModule$2<_publicOnPickupLocationUpdatedType>>;
|
|
31992
|
-
|
|
31993
|
-
type _publicOnPickupLocationDeletedType = typeof onPickupLocationDeleted$1;
|
|
31994
|
-
/** */
|
|
31995
|
-
declare const onPickupLocationDeleted: ReturnType<typeof createEventModule$2<_publicOnPickupLocationDeletedType>>;
|
|
31996
|
-
|
|
31973
|
+
type index_d$4_AddDeliveryRegionOptions = AddDeliveryRegionOptions;
|
|
31974
|
+
type index_d$4_AddDeliveryRegionRequest = AddDeliveryRegionRequest;
|
|
31975
|
+
type index_d$4_AddDeliveryRegionResponse = AddDeliveryRegionResponse;
|
|
31976
|
+
type index_d$4_AddDeliveryRegionResponseNonNullableFields = AddDeliveryRegionResponseNonNullableFields;
|
|
31997
31977
|
type index_d$4_AddressStreetOneOf = AddressStreetOneOf;
|
|
31998
31978
|
type index_d$4_BulkCreatePickupLocationRequest = BulkCreatePickupLocationRequest;
|
|
31999
31979
|
type index_d$4_BulkCreatePickupLocationResponse = BulkCreatePickupLocationResponse;
|
|
@@ -32016,11 +31996,8 @@ type index_d$4_GetPickupLocationResponse = GetPickupLocationResponse;
|
|
|
32016
31996
|
type index_d$4_GetPickupLocationResponseNonNullableFields = GetPickupLocationResponseNonNullableFields;
|
|
32017
31997
|
type index_d$4_Paging = Paging;
|
|
32018
31998
|
type index_d$4_PickupLocation = PickupLocation;
|
|
32019
|
-
type index_d$4_PickupLocationCreatedEnvelope = PickupLocationCreatedEnvelope;
|
|
32020
|
-
type index_d$4_PickupLocationDeletedEnvelope = PickupLocationDeletedEnvelope;
|
|
32021
31999
|
type index_d$4_PickupLocationError = PickupLocationError;
|
|
32022
32000
|
type index_d$4_PickupLocationNonNullableFields = PickupLocationNonNullableFields;
|
|
32023
|
-
type index_d$4_PickupLocationUpdatedEnvelope = PickupLocationUpdatedEnvelope;
|
|
32024
32001
|
type index_d$4_PickupLocationsQueryBuilder = PickupLocationsQueryBuilder;
|
|
32025
32002
|
type index_d$4_PickupLocationsQueryResult = PickupLocationsQueryResult;
|
|
32026
32003
|
type index_d$4_QueryPickupLocationRequest = QueryPickupLocationRequest;
|
|
@@ -32028,26 +32005,26 @@ type index_d$4_QueryPickupLocationResponse = QueryPickupLocationResponse;
|
|
|
32028
32005
|
type index_d$4_QueryPickupLocationResponseNonNullableFields = QueryPickupLocationResponseNonNullableFields;
|
|
32029
32006
|
type index_d$4_QueryV2 = QueryV2;
|
|
32030
32007
|
type index_d$4_QueryV2PagingMethodOneOf = QueryV2PagingMethodOneOf;
|
|
32008
|
+
type index_d$4_RemoveDeliveryRegionOptions = RemoveDeliveryRegionOptions;
|
|
32009
|
+
type index_d$4_RemoveDeliveryRegionRequest = RemoveDeliveryRegionRequest;
|
|
32010
|
+
type index_d$4_RemoveDeliveryRegionResponse = RemoveDeliveryRegionResponse;
|
|
32011
|
+
type index_d$4_RemoveDeliveryRegionResponseNonNullableFields = RemoveDeliveryRegionResponseNonNullableFields;
|
|
32031
32012
|
type index_d$4_UpdatePickupLocation = UpdatePickupLocation;
|
|
32032
32013
|
type index_d$4_UpdatePickupLocationRequest = UpdatePickupLocationRequest;
|
|
32033
32014
|
type index_d$4_UpdatePickupLocationResponse = UpdatePickupLocationResponse;
|
|
32034
32015
|
type index_d$4_UpdatePickupLocationResponseNonNullableFields = UpdatePickupLocationResponseNonNullableFields;
|
|
32035
|
-
|
|
32036
|
-
type index_d$4__publicOnPickupLocationDeletedType = _publicOnPickupLocationDeletedType;
|
|
32037
|
-
type index_d$4__publicOnPickupLocationUpdatedType = _publicOnPickupLocationUpdatedType;
|
|
32016
|
+
declare const index_d$4_addDeliveryRegion: typeof addDeliveryRegion;
|
|
32038
32017
|
declare const index_d$4_bulkCreatePickupLocation: typeof bulkCreatePickupLocation;
|
|
32039
32018
|
declare const index_d$4_bulkDeletePickupLocation: typeof bulkDeletePickupLocation;
|
|
32040
32019
|
declare const index_d$4_bulkUpdatePickupLocation: typeof bulkUpdatePickupLocation;
|
|
32041
32020
|
declare const index_d$4_createPickupLocation: typeof createPickupLocation;
|
|
32042
32021
|
declare const index_d$4_deletePickupLocation: typeof deletePickupLocation;
|
|
32043
32022
|
declare const index_d$4_getPickupLocation: typeof getPickupLocation;
|
|
32044
|
-
declare const index_d$4_onPickupLocationCreated: typeof onPickupLocationCreated;
|
|
32045
|
-
declare const index_d$4_onPickupLocationDeleted: typeof onPickupLocationDeleted;
|
|
32046
|
-
declare const index_d$4_onPickupLocationUpdated: typeof onPickupLocationUpdated;
|
|
32047
32023
|
declare const index_d$4_queryPickupLocation: typeof queryPickupLocation;
|
|
32024
|
+
declare const index_d$4_removeDeliveryRegion: typeof removeDeliveryRegion;
|
|
32048
32025
|
declare const index_d$4_updatePickupLocation: typeof updatePickupLocation;
|
|
32049
32026
|
declare namespace index_d$4 {
|
|
32050
|
-
export { type ActionEvent$2 as ActionEvent, type
|
|
32027
|
+
export { type ActionEvent$2 as ActionEvent, type index_d$4_AddDeliveryRegionOptions as AddDeliveryRegionOptions, type index_d$4_AddDeliveryRegionRequest as AddDeliveryRegionRequest, type index_d$4_AddDeliveryRegionResponse as AddDeliveryRegionResponse, type index_d$4_AddDeliveryRegionResponseNonNullableFields as AddDeliveryRegionResponseNonNullableFields, type Address$2 as Address, type index_d$4_AddressStreetOneOf as AddressStreetOneOf, type ApplicationError$1 as ApplicationError, type index_d$4_BulkCreatePickupLocationRequest as BulkCreatePickupLocationRequest, type index_d$4_BulkCreatePickupLocationResponse as BulkCreatePickupLocationResponse, type index_d$4_BulkCreatePickupLocationResponseNonNullableFields as BulkCreatePickupLocationResponseNonNullableFields, type index_d$4_BulkDeletePickupLocationRequest as BulkDeletePickupLocationRequest, type index_d$4_BulkDeletePickupLocationResponse as BulkDeletePickupLocationResponse, type index_d$4_BulkDeletePickupLocationResponseNonNullableFields as BulkDeletePickupLocationResponseNonNullableFields, type index_d$4_BulkUpdatePickupLocationRequest as BulkUpdatePickupLocationRequest, type index_d$4_BulkUpdatePickupLocationResponse as BulkUpdatePickupLocationResponse, type index_d$4_BulkUpdatePickupLocationResponseNonNullableFields as BulkUpdatePickupLocationResponseNonNullableFields, type Condition$1 as Condition, ConditionType$1 as ConditionType, type ConditionalRates$1 as ConditionalRates, type index_d$4_CreatePickupLocationRequest as CreatePickupLocationRequest, type index_d$4_CreatePickupLocationResponse as CreatePickupLocationResponse, type index_d$4_CreatePickupLocationResponseNonNullableFields as CreatePickupLocationResponseNonNullableFields, type CursorPaging$2 as CursorPaging, type CursorPagingMetadata$2 as CursorPagingMetadata, type Cursors$2 as Cursors, type index_d$4_DeletePickupLocationRequest as DeletePickupLocationRequest, type index_d$4_DeletePickupLocationResponse as DeletePickupLocationResponse, type index_d$4_DiffmatokyPayload as DiffmatokyPayload, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type Empty$2 as Empty, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type index_d$4_ErrorInformation as ErrorInformation, type index_d$4_GetPickupLocationRequest as GetPickupLocationRequest, type index_d$4_GetPickupLocationResponse as GetPickupLocationResponse, type index_d$4_GetPickupLocationResponseNonNullableFields as GetPickupLocationResponseNonNullableFields, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, LogicalOperator$1 as LogicalOperator, type MessageEnvelope$2 as MessageEnvelope, type index_d$4_Paging as Paging, type index_d$4_PickupLocation as PickupLocation, type index_d$4_PickupLocationError as PickupLocationError, type index_d$4_PickupLocationNonNullableFields as PickupLocationNonNullableFields, type index_d$4_PickupLocationsQueryBuilder as PickupLocationsQueryBuilder, type index_d$4_PickupLocationsQueryResult as PickupLocationsQueryResult, type index_d$4_QueryPickupLocationRequest as QueryPickupLocationRequest, type index_d$4_QueryPickupLocationResponse as QueryPickupLocationResponse, type index_d$4_QueryPickupLocationResponseNonNullableFields as QueryPickupLocationResponseNonNullableFields, type index_d$4_QueryV2 as QueryV2, type index_d$4_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type index_d$4_RemoveDeliveryRegionOptions as RemoveDeliveryRegionOptions, type index_d$4_RemoveDeliveryRegionRequest as RemoveDeliveryRegionRequest, type index_d$4_RemoveDeliveryRegionResponse as RemoveDeliveryRegionResponse, type index_d$4_RemoveDeliveryRegionResponseNonNullableFields as RemoveDeliveryRegionResponseNonNullableFields, type RestoreInfo$2 as RestoreInfo, SortOrder$2 as SortOrder, type Sorting$2 as Sorting, type StreetAddress$2 as StreetAddress, type index_d$4_UpdatePickupLocation as UpdatePickupLocation, type index_d$4_UpdatePickupLocationRequest as UpdatePickupLocationRequest, type index_d$4_UpdatePickupLocationResponse as UpdatePickupLocationResponse, type index_d$4_UpdatePickupLocationResponseNonNullableFields as UpdatePickupLocationResponseNonNullableFields, WebhookIdentityType$2 as WebhookIdentityType, index_d$4_addDeliveryRegion as addDeliveryRegion, index_d$4_bulkCreatePickupLocation as bulkCreatePickupLocation, index_d$4_bulkDeletePickupLocation as bulkDeletePickupLocation, index_d$4_bulkUpdatePickupLocation as bulkUpdatePickupLocation, index_d$4_createPickupLocation as createPickupLocation, index_d$4_deletePickupLocation as deletePickupLocation, index_d$4_getPickupLocation as getPickupLocation, index_d$4_queryPickupLocation as queryPickupLocation, index_d$4_removeDeliveryRegion as removeDeliveryRegion, index_d$4_updatePickupLocation as updatePickupLocation };
|
|
32051
32028
|
}
|
|
32052
32029
|
|
|
32053
32030
|
interface ShippingOption$1 {
|
|
@@ -32607,9 +32584,9 @@ interface UpdateExtendedFieldsSignature$1 {
|
|
|
32607
32584
|
*/
|
|
32608
32585
|
(_id: string, namespace: string, options: UpdateExtendedFieldsOptions$1): Promise<UpdateExtendedFieldsResponse$1 & UpdateExtendedFieldsResponseNonNullableFields$1>;
|
|
32609
32586
|
}
|
|
32610
|
-
declare const onShippingOptionCreated$1: EventDefinition$
|
|
32611
|
-
declare const onShippingOptionUpdated$1: EventDefinition$
|
|
32612
|
-
declare const onShippingOptionDeleted$1: EventDefinition$
|
|
32587
|
+
declare const onShippingOptionCreated$1: EventDefinition$g<ShippingOptionCreatedEnvelope, "wix.ecom.v1.shipping_option_created">;
|
|
32588
|
+
declare const onShippingOptionUpdated$1: EventDefinition$g<ShippingOptionUpdatedEnvelope, "wix.ecom.v1.shipping_option_updated">;
|
|
32589
|
+
declare const onShippingOptionDeleted$1: EventDefinition$g<ShippingOptionDeletedEnvelope, "wix.ecom.v1.shipping_option_deleted">;
|
|
32613
32590
|
|
|
32614
32591
|
type EventDefinition$1<Payload = unknown, Type extends string = string> = {
|
|
32615
32592
|
__type: 'event-definition';
|
|
@@ -33354,9 +33331,9 @@ interface UpdateExtendedFieldsSignature {
|
|
|
33354
33331
|
*/
|
|
33355
33332
|
(_id: string, namespace: string, options: UpdateExtendedFieldsOptions): Promise<UpdateExtendedFieldsResponse & UpdateExtendedFieldsResponseNonNullableFields>;
|
|
33356
33333
|
}
|
|
33357
|
-
declare const onShippoConfigurationCreated$1: EventDefinition$
|
|
33358
|
-
declare const onShippoConfigurationUpdated$1: EventDefinition$
|
|
33359
|
-
declare const onShippoConfigurationDeleted$1: EventDefinition$
|
|
33334
|
+
declare const onShippoConfigurationCreated$1: EventDefinition$g<ShippoConfigurationCreatedEnvelope, "wix.ecom.v1.shippo_configuration_created">;
|
|
33335
|
+
declare const onShippoConfigurationUpdated$1: EventDefinition$g<ShippoConfigurationUpdatedEnvelope, "wix.ecom.v1.shippo_configuration_updated">;
|
|
33336
|
+
declare const onShippoConfigurationDeleted$1: EventDefinition$g<ShippoConfigurationDeletedEnvelope, "wix.ecom.v1.shippo_configuration_deleted">;
|
|
33360
33337
|
|
|
33361
33338
|
type EventDefinition<Payload = unknown, Type extends string = string> = {
|
|
33362
33339
|
__type: 'event-definition';
|