@wix/ecom 1.0.821 → 1.0.823
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.
|
@@ -1389,7 +1389,7 @@ interface UpdateDiscountRuleResponseNonNullableFields {
|
|
|
1389
1389
|
interface QueryDiscountRulesResponseNonNullableFields {
|
|
1390
1390
|
discountRules: DiscountRuleNonNullableFields$7[];
|
|
1391
1391
|
}
|
|
1392
|
-
interface BaseEventMetadata$
|
|
1392
|
+
interface BaseEventMetadata$e {
|
|
1393
1393
|
/** App instance ID. */
|
|
1394
1394
|
instanceId?: string | null;
|
|
1395
1395
|
/** Event type. */
|
|
@@ -1397,7 +1397,7 @@ interface BaseEventMetadata$f {
|
|
|
1397
1397
|
/** The identification type and identity data. */
|
|
1398
1398
|
identity?: IdentificationData$n;
|
|
1399
1399
|
}
|
|
1400
|
-
interface EventMetadata$
|
|
1400
|
+
interface EventMetadata$e extends BaseEventMetadata$e {
|
|
1401
1401
|
/**
|
|
1402
1402
|
* Unique event ID.
|
|
1403
1403
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -1437,14 +1437,14 @@ interface EventMetadata$f extends BaseEventMetadata$f {
|
|
|
1437
1437
|
}
|
|
1438
1438
|
interface DiscountRuleCreatedEnvelope {
|
|
1439
1439
|
entity: DiscountRule$8;
|
|
1440
|
-
metadata: EventMetadata$
|
|
1440
|
+
metadata: EventMetadata$e;
|
|
1441
1441
|
}
|
|
1442
1442
|
interface DiscountRuleUpdatedEnvelope {
|
|
1443
1443
|
entity: DiscountRule$8;
|
|
1444
|
-
metadata: EventMetadata$
|
|
1444
|
+
metadata: EventMetadata$e;
|
|
1445
1445
|
}
|
|
1446
1446
|
interface DiscountRuleDeletedEnvelope {
|
|
1447
|
-
metadata: EventMetadata$
|
|
1447
|
+
metadata: EventMetadata$e;
|
|
1448
1448
|
}
|
|
1449
1449
|
interface UpdateDiscountRule {
|
|
1450
1450
|
/**
|
|
@@ -1639,7 +1639,7 @@ declare const onDiscountRuleCreated$1: EventDefinition<DiscountRuleCreatedEnvelo
|
|
|
1639
1639
|
declare const onDiscountRuleUpdated$1: EventDefinition<DiscountRuleUpdatedEnvelope, "wix.ecom.discounts.v1.discount_rule_updated">;
|
|
1640
1640
|
declare const onDiscountRuleDeleted$1: EventDefinition<DiscountRuleDeletedEnvelope, "wix.ecom.discounts.v1.discount_rule_deleted">;
|
|
1641
1641
|
|
|
1642
|
-
declare function createEventModule$
|
|
1642
|
+
declare function createEventModule$e<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
1643
1643
|
|
|
1644
1644
|
declare const createDiscountRule: MaybeContext<BuildRESTFunction<typeof createDiscountRule$1> & typeof createDiscountRule$1>;
|
|
1645
1645
|
declare const getDiscountRule: MaybeContext<BuildRESTFunction<typeof getDiscountRule$1> & typeof getDiscountRule$1>;
|
|
@@ -1651,19 +1651,19 @@ type _publicOnDiscountRuleCreatedType = typeof onDiscountRuleCreated$1;
|
|
|
1651
1651
|
/**
|
|
1652
1652
|
* Triggered when a discount rule is created.
|
|
1653
1653
|
*/
|
|
1654
|
-
declare const onDiscountRuleCreated: ReturnType<typeof createEventModule$
|
|
1654
|
+
declare const onDiscountRuleCreated: ReturnType<typeof createEventModule$e<_publicOnDiscountRuleCreatedType>>;
|
|
1655
1655
|
|
|
1656
1656
|
type _publicOnDiscountRuleUpdatedType = typeof onDiscountRuleUpdated$1;
|
|
1657
1657
|
/**
|
|
1658
1658
|
* Triggered when a discount rule is updated.
|
|
1659
1659
|
*/
|
|
1660
|
-
declare const onDiscountRuleUpdated: ReturnType<typeof createEventModule$
|
|
1660
|
+
declare const onDiscountRuleUpdated: ReturnType<typeof createEventModule$e<_publicOnDiscountRuleUpdatedType>>;
|
|
1661
1661
|
|
|
1662
1662
|
type _publicOnDiscountRuleDeletedType = typeof onDiscountRuleDeleted$1;
|
|
1663
1663
|
/**
|
|
1664
1664
|
* Triggered when a discount rule is deleted.
|
|
1665
1665
|
*/
|
|
1666
|
-
declare const onDiscountRuleDeleted: ReturnType<typeof createEventModule$
|
|
1666
|
+
declare const onDiscountRuleDeleted: ReturnType<typeof createEventModule$e<_publicOnDiscountRuleDeletedType>>;
|
|
1667
1667
|
|
|
1668
1668
|
type index_d$t_ActiveTimeInfo = ActiveTimeInfo;
|
|
1669
1669
|
type index_d$t_And = And;
|
|
@@ -1728,7 +1728,7 @@ declare const index_d$t_onDiscountRuleUpdated: typeof onDiscountRuleUpdated;
|
|
|
1728
1728
|
declare const index_d$t_queryDiscountRules: typeof queryDiscountRules;
|
|
1729
1729
|
declare const index_d$t_updateDiscountRule: typeof updateDiscountRule;
|
|
1730
1730
|
declare namespace index_d$t {
|
|
1731
|
-
export { type ActionEvent$n as ActionEvent, type index_d$t_ActiveTimeInfo as ActiveTimeInfo, type index_d$t_And as And, type AppliedDiscount$8 as AppliedDiscount, type index_d$t_AppliedDiscountRule as AppliedDiscountRule, index_d$t_AppliedSubjectType as AppliedSubjectType, type BaseEventMetadata$
|
|
1731
|
+
export { type ActionEvent$n as ActionEvent, type index_d$t_ActiveTimeInfo as ActiveTimeInfo, type index_d$t_And as And, type AppliedDiscount$8 as AppliedDiscount, type index_d$t_AppliedDiscountRule as AppliedDiscountRule, index_d$t_AppliedSubjectType as AppliedSubjectType, type BaseEventMetadata$e as BaseEventMetadata, type index_d$t_BuyXGetYInfo as BuyXGetYInfo, type index_d$t_CatalogItemFilter as CatalogItemFilter, type CatalogReference$c as CatalogReference, type index_d$t_CreateDiscountRuleRequest as CreateDiscountRuleRequest, type index_d$t_CreateDiscountRuleResponse as CreateDiscountRuleResponse, type index_d$t_CreateDiscountRuleResponseNonNullableFields as CreateDiscountRuleResponseNonNullableFields, type CursorPaging$f as CursorPaging, type Cursors$f as Cursors, type index_d$t_Custom as Custom, type index_d$t_CustomFilter as CustomFilter, type index_d$t_CustomerBuy as CustomerBuy, type index_d$t_CustomerBuyConditionOneOf as CustomerBuyConditionOneOf, type index_d$t_CustomerGet as CustomerGet, type index_d$t_DeleteDiscountRuleRequest as DeleteDiscountRuleRequest, type index_d$t_DeleteDiscountRuleResponse as DeleteDiscountRuleResponse, type Discount$3 as Discount, type index_d$t_DiscountDiscountOneOf as DiscountDiscountOneOf, type DiscountRule$8 as DiscountRule, type index_d$t_DiscountRuleCreatedEnvelope as DiscountRuleCreatedEnvelope, type index_d$t_DiscountRuleDeletedEnvelope as DiscountRuleDeletedEnvelope, type DiscountRuleName$8 as DiscountRuleName, type DiscountRuleNonNullableFields$7 as DiscountRuleNonNullableFields, type index_d$t_DiscountRuleUpdatedEnvelope as DiscountRuleUpdatedEnvelope, type index_d$t_DiscountRuleUsageLimitReached as DiscountRuleUsageLimitReached, type index_d$t_DiscountRulesQueryBuilder as DiscountRulesQueryBuilder, type index_d$t_DiscountRulesQueryResult as DiscountRulesQueryResult, type index_d$t_DiscountSettings as DiscountSettings, type index_d$t_DiscountTrigger as DiscountTrigger, type index_d$t_DiscountTriggerTriggerOneOf as DiscountTriggerTriggerOneOf, DiscountType$8 as DiscountType, type index_d$t_Discounts as Discounts, type DomainEvent$n as DomainEvent, type DomainEventBodyOneOf$n as DomainEventBodyOneOf, type Empty$g as Empty, type EntityCreatedEvent$n as EntityCreatedEvent, type EntityDeletedEvent$n as EntityDeletedEvent, type EntityUpdatedEvent$n as EntityUpdatedEvent, type EventMetadata$e as EventMetadata, type ExtendedFields$c as ExtendedFields, type index_d$t_GetAppliedDiscountsRequest as GetAppliedDiscountsRequest, type index_d$t_GetAppliedDiscountsResponse as GetAppliedDiscountsResponse, type index_d$t_GetDiscountRuleRequest as GetDiscountRuleRequest, type index_d$t_GetDiscountRuleResponse as GetDiscountRuleResponse, type index_d$t_GetDiscountRuleResponseNonNullableFields as GetDiscountRuleResponseNonNullableFields, type IdentificationData$n as IdentificationData, type IdentificationDataIdOneOf$n as IdentificationDataIdOneOf, type index_d$t_ItemQuantityRange as ItemQuantityRange, type LineItem$7 as LineItem, type MessageEnvelope$m as MessageEnvelope, type MultiCurrencyPrice$6 as MultiCurrencyPrice, type index_d$t_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$t_QueryDiscountRulesRequest as QueryDiscountRulesRequest, type index_d$t_QueryDiscountRulesResponse as QueryDiscountRulesResponse, type index_d$t_QueryDiscountRulesResponseNonNullableFields as QueryDiscountRulesResponseNonNullableFields, type RestoreInfo$n as RestoreInfo, type Scope$5 as Scope, type index_d$t_ScopeScopeItemsOneOf as ScopeScopeItemsOneOf, index_d$t_ScopeType as ScopeType, SortOrder$f as SortOrder, type Sorting$f as Sorting, type index_d$t_SpecificItemsInfo as SpecificItemsInfo, Status$5 as Status, type index_d$t_SubtotalRange as SubtotalRange, index_d$t_TriggerType as TriggerType, index_d$t_Type as Type, type index_d$t_UpdateDiscountRule as UpdateDiscountRule, type index_d$t_UpdateDiscountRuleRequest as UpdateDiscountRuleRequest, type index_d$t_UpdateDiscountRuleResponse as UpdateDiscountRuleResponse, type index_d$t_UpdateDiscountRuleResponseNonNullableFields as UpdateDiscountRuleResponseNonNullableFields, WebhookIdentityType$m as WebhookIdentityType, type index_d$t__publicOnDiscountRuleCreatedType as _publicOnDiscountRuleCreatedType, type index_d$t__publicOnDiscountRuleDeletedType as _publicOnDiscountRuleDeletedType, type index_d$t__publicOnDiscountRuleUpdatedType as _publicOnDiscountRuleUpdatedType, index_d$t_createDiscountRule as createDiscountRule, index_d$t_deleteDiscountRule as deleteDiscountRule, index_d$t_getDiscountRule as getDiscountRule, index_d$t_onDiscountRuleCreated as onDiscountRuleCreated, index_d$t_onDiscountRuleDeleted as onDiscountRuleDeleted, index_d$t_onDiscountRuleUpdated as onDiscountRuleUpdated, onDiscountRuleCreated$1 as publicOnDiscountRuleCreated, onDiscountRuleDeleted$1 as publicOnDiscountRuleDeleted, onDiscountRuleUpdated$1 as publicOnDiscountRuleUpdated, index_d$t_queryDiscountRules as queryDiscountRules, index_d$t_updateDiscountRule as updateDiscountRule };
|
|
1732
1732
|
}
|
|
1733
1733
|
|
|
1734
1734
|
interface Invoice {
|
|
@@ -2912,7 +2912,7 @@ interface OrderTaxInfo$2 {
|
|
|
2912
2912
|
/**
|
|
2913
2913
|
* Whether the draft order is exempt from tax calculations.
|
|
2914
2914
|
*
|
|
2915
|
-
* Default: `
|
|
2915
|
+
* Default: `false`
|
|
2916
2916
|
* @readonly
|
|
2917
2917
|
*/
|
|
2918
2918
|
taxExempt?: boolean | null;
|
|
@@ -3521,7 +3521,7 @@ interface GetSubscriptionContractResponseNonNullableFields {
|
|
|
3521
3521
|
interface QuerySubscriptionContractsResponseNonNullableFields {
|
|
3522
3522
|
subscriptionContracts: SubscriptionContractNonNullableFields[];
|
|
3523
3523
|
}
|
|
3524
|
-
interface BaseEventMetadata$
|
|
3524
|
+
interface BaseEventMetadata$d {
|
|
3525
3525
|
/** App instance ID. */
|
|
3526
3526
|
instanceId?: string | null;
|
|
3527
3527
|
/** Event type. */
|
|
@@ -3529,7 +3529,7 @@ interface BaseEventMetadata$e {
|
|
|
3529
3529
|
/** The identification type and identity data. */
|
|
3530
3530
|
identity?: IdentificationData$l;
|
|
3531
3531
|
}
|
|
3532
|
-
interface EventMetadata$
|
|
3532
|
+
interface EventMetadata$d extends BaseEventMetadata$d {
|
|
3533
3533
|
/**
|
|
3534
3534
|
* Unique event ID.
|
|
3535
3535
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -3569,14 +3569,14 @@ interface EventMetadata$e extends BaseEventMetadata$e {
|
|
|
3569
3569
|
}
|
|
3570
3570
|
interface SubscriptionContractCreatedEnvelope {
|
|
3571
3571
|
entity: SubscriptionContract;
|
|
3572
|
-
metadata: EventMetadata$
|
|
3572
|
+
metadata: EventMetadata$d;
|
|
3573
3573
|
}
|
|
3574
3574
|
interface SubscriptionContractUpdatedEnvelope {
|
|
3575
3575
|
entity: SubscriptionContract;
|
|
3576
|
-
metadata: EventMetadata$
|
|
3576
|
+
metadata: EventMetadata$d;
|
|
3577
3577
|
}
|
|
3578
3578
|
interface SubscriptionContractDeletedEnvelope {
|
|
3579
|
-
metadata: EventMetadata$
|
|
3579
|
+
metadata: EventMetadata$d;
|
|
3580
3580
|
}
|
|
3581
3581
|
interface QueryCursorResult$c {
|
|
3582
3582
|
cursors: Cursors$e;
|
|
@@ -3663,22 +3663,22 @@ declare const onSubscriptionContractCreated$1: EventDefinition<SubscriptionContr
|
|
|
3663
3663
|
declare const onSubscriptionContractUpdated$1: EventDefinition<SubscriptionContractUpdatedEnvelope, "wix.ecom.subscription_contracts.v1.subscription_contract_updated">;
|
|
3664
3664
|
declare const onSubscriptionContractDeleted$1: EventDefinition<SubscriptionContractDeletedEnvelope, "wix.ecom.subscription_contracts.v1.subscription_contract_deleted">;
|
|
3665
3665
|
|
|
3666
|
-
declare function createEventModule$
|
|
3666
|
+
declare function createEventModule$d<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
3667
3667
|
|
|
3668
3668
|
declare const getSubscriptionContract: MaybeContext<BuildRESTFunction<typeof getSubscriptionContract$1> & typeof getSubscriptionContract$1>;
|
|
3669
3669
|
declare const querySubscriptionContracts: MaybeContext<BuildRESTFunction<typeof querySubscriptionContracts$1> & typeof querySubscriptionContracts$1>;
|
|
3670
3670
|
|
|
3671
3671
|
type _publicOnSubscriptionContractCreatedType = typeof onSubscriptionContractCreated$1;
|
|
3672
3672
|
/** */
|
|
3673
|
-
declare const onSubscriptionContractCreated: ReturnType<typeof createEventModule$
|
|
3673
|
+
declare const onSubscriptionContractCreated: ReturnType<typeof createEventModule$d<_publicOnSubscriptionContractCreatedType>>;
|
|
3674
3674
|
|
|
3675
3675
|
type _publicOnSubscriptionContractUpdatedType = typeof onSubscriptionContractUpdated$1;
|
|
3676
3676
|
/** */
|
|
3677
|
-
declare const onSubscriptionContractUpdated: ReturnType<typeof createEventModule$
|
|
3677
|
+
declare const onSubscriptionContractUpdated: ReturnType<typeof createEventModule$d<_publicOnSubscriptionContractUpdatedType>>;
|
|
3678
3678
|
|
|
3679
3679
|
type _publicOnSubscriptionContractDeletedType = typeof onSubscriptionContractDeleted$1;
|
|
3680
3680
|
/** */
|
|
3681
|
-
declare const onSubscriptionContractDeleted: ReturnType<typeof createEventModule$
|
|
3681
|
+
declare const onSubscriptionContractDeleted: ReturnType<typeof createEventModule$d<_publicOnSubscriptionContractDeletedType>>;
|
|
3682
3682
|
|
|
3683
3683
|
type index_d$q_CreateSubscriptionContractRequest = CreateSubscriptionContractRequest;
|
|
3684
3684
|
type index_d$q_CreateSubscriptionContractResponse = CreateSubscriptionContractResponse;
|
|
@@ -3708,7 +3708,7 @@ declare const index_d$q_onSubscriptionContractDeleted: typeof onSubscriptionCont
|
|
|
3708
3708
|
declare const index_d$q_onSubscriptionContractUpdated: typeof onSubscriptionContractUpdated;
|
|
3709
3709
|
declare const index_d$q_querySubscriptionContracts: typeof querySubscriptionContracts;
|
|
3710
3710
|
declare namespace index_d$q {
|
|
3711
|
-
export { type ActionEvent$l as ActionEvent, type Address$b as Address, type AddressLocation$a as AddressLocation, type AddressWithContact$6 as AddressWithContact, type AppliedDiscount$7 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$7 as AppliedDiscountDiscountSourceOneOf, type BaseEventMetadata$
|
|
3711
|
+
export { type ActionEvent$l as ActionEvent, type Address$b as Address, type AddressLocation$a as AddressLocation, type AddressWithContact$6 as AddressWithContact, type AppliedDiscount$7 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$7 as AppliedDiscountDiscountSourceOneOf, type BaseEventMetadata$d as BaseEventMetadata, type BuyerInfo$9 as BuyerInfo, type BuyerInfoIdOneOf$6 as BuyerInfoIdOneOf, type CatalogReference$a as CatalogReference, type ChannelInfo$4 as ChannelInfo, ChannelType$7 as ChannelType, type Color$6 as Color, type Coupon$7 as Coupon, type index_d$q_CreateSubscriptionContractRequest as CreateSubscriptionContractRequest, type index_d$q_CreateSubscriptionContractResponse as CreateSubscriptionContractResponse, type CursorPaging$e as CursorPaging, type CursorPagingMetadata$b as CursorPagingMetadata, type CursorQuery$8 as CursorQuery, type CursorQueryPagingMethodOneOf$8 as CursorQueryPagingMethodOneOf, type Cursors$e as Cursors, type CustomField$5 as CustomField, type DeliveryLogistics$8 as DeliveryLogistics, type DeliveryLogisticsAddressOneOf$1 as DeliveryLogisticsAddressOneOf, type DeliveryTimeSlot$8 as DeliveryTimeSlot, type DescriptionLine$6 as DescriptionLine, type DescriptionLineDescriptionLineValueOneOf$6 as DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName$6 as DescriptionLineName, DescriptionLineType$6 as DescriptionLineType, type DescriptionLineValueOneOf$6 as DescriptionLineValueOneOf, type DigitalFile$3 as DigitalFile, DiscountReason$2 as DiscountReason, type DiscountRule$7 as DiscountRule, type DiscountRuleName$7 as DiscountRuleName, DiscountType$7 as DiscountType, type DomainEvent$l as DomainEvent, type DomainEventBodyOneOf$l as DomainEventBodyOneOf, type Empty$e as Empty, type EntityCreatedEvent$l as EntityCreatedEvent, type EntityDeletedEvent$l as EntityDeletedEvent, type EntityUpdatedEvent$l as EntityUpdatedEvent, type EventMetadata$d as EventMetadata, type ExtendedFields$b as ExtendedFields, type FullAddressContactDetails$8 as FullAddressContactDetails, type index_d$q_GetSubscriptionContractRequest as GetSubscriptionContractRequest, type index_d$q_GetSubscriptionContractResponse as GetSubscriptionContractResponse, type index_d$q_GetSubscriptionContractResponseNonNullableFields as GetSubscriptionContractResponseNonNullableFields, type IdentificationData$l as IdentificationData, type IdentificationDataIdOneOf$l as IdentificationDataIdOneOf, type ItemTaxFullDetails$7 as ItemTaxFullDetails, type ItemType$7 as ItemType, ItemTypeItemType$7 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$7 as ItemTypeItemTypeDataOneOf, JurisdictionType$7 as JurisdictionType, type LineItemDiscount$7 as LineItemDiscount, type LineItemTaxBreakdown$2 as LineItemTaxBreakdown, type LineItemTaxInfo$2 as LineItemTaxInfo, type LocationAndQuantity$2 as LocationAndQuantity, type MerchantDiscount$7 as MerchantDiscount, type MerchantDiscountMerchantDiscountReasonOneOf$2 as MerchantDiscountMerchantDiscountReasonOneOf, type MessageEnvelope$k as MessageEnvelope, type OrderLineItem$2 as OrderLineItem, type OrderTaxBreakdown$2 as OrderTaxBreakdown, type OrderTaxInfo$2 as OrderTaxInfo, PaymentOptionType$7 as PaymentOptionType, type PhysicalProperties$8 as PhysicalProperties, type PickupAddress$4 as PickupAddress, type PickupDetails$9 as PickupDetails, PickupMethod$8 as PickupMethod, type PlainTextValue$6 as PlainTextValue, type Price$5 as Price, type PriceDescription$6 as PriceDescription, type PriceSummary$7 as PriceSummary, type ProductName$6 as ProductName, type index_d$q_QuerySubscriptionContractsRequest as QuerySubscriptionContractsRequest, type index_d$q_QuerySubscriptionContractsResponse as QuerySubscriptionContractsResponse, type index_d$q_QuerySubscriptionContractsResponseNonNullableFields as QuerySubscriptionContractsResponseNonNullableFields, type RestoreInfo$l as RestoreInfo, type ShippingInformation$5 as ShippingInformation, type ShippingPrice$7 as ShippingPrice, type ShippingRegion$7 as ShippingRegion, SortOrder$e as SortOrder, type Sorting$e as Sorting, type StreetAddress$a as StreetAddress, type index_d$q_SubscriptionContract as SubscriptionContract, type index_d$q_SubscriptionContractCreatedEnvelope as SubscriptionContractCreatedEnvelope, type index_d$q_SubscriptionContractDeletedEnvelope as SubscriptionContractDeletedEnvelope, type index_d$q_SubscriptionContractNonNullableFields as SubscriptionContractNonNullableFields, type index_d$q_SubscriptionContractUpdatedEnvelope as SubscriptionContractUpdatedEnvelope, type index_d$q_SubscriptionContractsQueryBuilder as SubscriptionContractsQueryBuilder, type index_d$q_SubscriptionContractsQueryResult as SubscriptionContractsQueryResult, SubscriptionFrequency$8 as SubscriptionFrequency, type SubscriptionInfo$3 as SubscriptionInfo, type SubscriptionSettings$8 as SubscriptionSettings, type TaxableAddress$7 as TaxableAddress, type TaxableAddressTaxableAddressDataOneOf$7 as TaxableAddressTaxableAddressDataOneOf, TaxableAddressType$7 as TaxableAddressType, type index_d$q_UpdateSubscriptionContractRequest as UpdateSubscriptionContractRequest, type index_d$q_UpdateSubscriptionContractResponse as UpdateSubscriptionContractResponse, type V1SubscriptionSettings$1 as V1SubscriptionSettings, index_d$q_V2SubscriptionFrequency as V2SubscriptionFrequency, type VatId$9 as VatId, VatType$9 as VatType, WebhookIdentityType$k as WebhookIdentityType, WeightUnit$9 as WeightUnit, type index_d$q__publicOnSubscriptionContractCreatedType as _publicOnSubscriptionContractCreatedType, type index_d$q__publicOnSubscriptionContractDeletedType as _publicOnSubscriptionContractDeletedType, type index_d$q__publicOnSubscriptionContractUpdatedType as _publicOnSubscriptionContractUpdatedType, index_d$q_getSubscriptionContract as getSubscriptionContract, index_d$q_onSubscriptionContractCreated as onSubscriptionContractCreated, index_d$q_onSubscriptionContractDeleted as onSubscriptionContractDeleted, index_d$q_onSubscriptionContractUpdated as onSubscriptionContractUpdated, onSubscriptionContractCreated$1 as publicOnSubscriptionContractCreated, onSubscriptionContractDeleted$1 as publicOnSubscriptionContractDeleted, onSubscriptionContractUpdated$1 as publicOnSubscriptionContractUpdated, index_d$q_querySubscriptionContracts as querySubscriptionContracts };
|
|
3712
3712
|
}
|
|
3713
3713
|
|
|
3714
3714
|
interface AbandonedCheckout {
|
|
@@ -4349,7 +4349,7 @@ interface RawHttpResponseNonNullableFields$1 {
|
|
|
4349
4349
|
body: Uint8Array;
|
|
4350
4350
|
headers: HeadersEntryNonNullableFields$1[];
|
|
4351
4351
|
}
|
|
4352
|
-
interface BaseEventMetadata$
|
|
4352
|
+
interface BaseEventMetadata$c {
|
|
4353
4353
|
/** App instance ID. */
|
|
4354
4354
|
instanceId?: string | null;
|
|
4355
4355
|
/** Event type. */
|
|
@@ -4357,7 +4357,7 @@ interface BaseEventMetadata$d {
|
|
|
4357
4357
|
/** The identification type and identity data. */
|
|
4358
4358
|
identity?: IdentificationData$k;
|
|
4359
4359
|
}
|
|
4360
|
-
interface EventMetadata$
|
|
4360
|
+
interface EventMetadata$c extends BaseEventMetadata$c {
|
|
4361
4361
|
/**
|
|
4362
4362
|
* Unique event ID.
|
|
4363
4363
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -4397,7 +4397,7 @@ interface EventMetadata$d extends BaseEventMetadata$d {
|
|
|
4397
4397
|
}
|
|
4398
4398
|
interface AbandonedCheckoutRecoveredEnvelope {
|
|
4399
4399
|
data: AbandonedCheckoutRecovered;
|
|
4400
|
-
metadata: EventMetadata$
|
|
4400
|
+
metadata: EventMetadata$c;
|
|
4401
4401
|
}
|
|
4402
4402
|
interface QueryCursorResult$b {
|
|
4403
4403
|
cursors: CommonCursors;
|
|
@@ -4529,7 +4529,7 @@ interface RedirectToCheckoutSignature {
|
|
|
4529
4529
|
}
|
|
4530
4530
|
declare const onAbandonedCheckoutRecovered$1: EventDefinition<AbandonedCheckoutRecoveredEnvelope, "wix.ecom.v1.abandoned_checkout_recovered">;
|
|
4531
4531
|
|
|
4532
|
-
declare function createEventModule$
|
|
4532
|
+
declare function createEventModule$c<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
4533
4533
|
|
|
4534
4534
|
declare const getAbandonedCheckout: MaybeContext<BuildRESTFunction<typeof getAbandonedCheckout$1> & typeof getAbandonedCheckout$1>;
|
|
4535
4535
|
declare const deleteAbandonedCheckout: MaybeContext<BuildRESTFunction<typeof deleteAbandonedCheckout$1> & typeof deleteAbandonedCheckout$1>;
|
|
@@ -4541,7 +4541,7 @@ type _publicOnAbandonedCheckoutRecoveredType = typeof onAbandonedCheckoutRecover
|
|
|
4541
4541
|
/**
|
|
4542
4542
|
* Triggered when an abandoned checkout is recovered (the customer completes the checkout).
|
|
4543
4543
|
*/
|
|
4544
|
-
declare const onAbandonedCheckoutRecovered: ReturnType<typeof createEventModule$
|
|
4544
|
+
declare const onAbandonedCheckoutRecovered: ReturnType<typeof createEventModule$c<_publicOnAbandonedCheckoutRecoveredType>>;
|
|
4545
4545
|
|
|
4546
4546
|
type index_d$p_AbandonedCheckout = AbandonedCheckout;
|
|
4547
4547
|
type index_d$p_AbandonedCheckoutNonNullableFields = AbandonedCheckoutNonNullableFields;
|
|
@@ -4589,7 +4589,7 @@ declare const index_d$p_queryAbandonedCheckouts: typeof queryAbandonedCheckouts;
|
|
|
4589
4589
|
declare const index_d$p_redirectToCheckout: typeof redirectToCheckout;
|
|
4590
4590
|
declare const index_d$p_searchAbandonedCheckouts: typeof searchAbandonedCheckouts;
|
|
4591
4591
|
declare namespace index_d$p {
|
|
4592
|
-
export { type index_d$p_AbandonedCheckout as AbandonedCheckout, type index_d$p_AbandonedCheckoutNonNullableFields as AbandonedCheckoutNonNullableFields, type index_d$p_AbandonedCheckoutRecovered as AbandonedCheckoutRecovered, type index_d$p_AbandonedCheckoutRecoveredEnvelope as AbandonedCheckoutRecoveredEnvelope, type index_d$p_AbandonedCheckoutsQueryBuilder as AbandonedCheckoutsQueryBuilder, type index_d$p_AbandonedCheckoutsQueryResult as AbandonedCheckoutsQueryResult, type ActionEvent$k as ActionEvent, type Activity$3 as Activity, ActivityType$3 as ActivityType, type index_d$p_AddAbandonedCheckoutActivityRequest as AddAbandonedCheckoutActivityRequest, type index_d$p_AddAbandonedCheckoutActivityResponse as AddAbandonedCheckoutActivityResponse, type BaseEventMetadata$
|
|
4592
|
+
export { type index_d$p_AbandonedCheckout as AbandonedCheckout, type index_d$p_AbandonedCheckoutNonNullableFields as AbandonedCheckoutNonNullableFields, type index_d$p_AbandonedCheckoutRecovered as AbandonedCheckoutRecovered, type index_d$p_AbandonedCheckoutRecoveredEnvelope as AbandonedCheckoutRecoveredEnvelope, type index_d$p_AbandonedCheckoutsQueryBuilder as AbandonedCheckoutsQueryBuilder, type index_d$p_AbandonedCheckoutsQueryResult as AbandonedCheckoutsQueryResult, type ActionEvent$k as ActionEvent, type Activity$3 as Activity, ActivityType$3 as ActivityType, type index_d$p_AddAbandonedCheckoutActivityRequest as AddAbandonedCheckoutActivityRequest, type index_d$p_AddAbandonedCheckoutActivityResponse as AddAbandonedCheckoutActivityResponse, type BaseEventMetadata$c as BaseEventMetadata, type BuyerInfo$8 as BuyerInfo, type Cancel$1 as Cancel, type index_d$p_CartAbandonedEvent as CartAbandonedEvent, type index_d$p_CartRecoveredEvent as CartRecoveredEvent, type index_d$p_CommonCursorPaging as CommonCursorPaging, type index_d$p_CommonCursors as CommonCursors, type index_d$p_CommonPaging as CommonPaging, type index_d$p_CommonPagingMetadataV2 as CommonPagingMetadataV2, index_d$p_CommonSortOrder as CommonSortOrder, type index_d$p_CommonSorting as CommonSorting, type Complete$1 as Complete, type CursorPaging$d as CursorPaging, type Cursors$d as Cursors, type index_d$p_DeleteAbandonedCheckoutRequest as DeleteAbandonedCheckoutRequest, type index_d$p_DeleteAbandonedCheckoutResponse as DeleteAbandonedCheckoutResponse, type DomainEvent$k as DomainEvent, type DomainEventBodyOneOf$k as DomainEventBodyOneOf, type Empty$d as Empty, type EntityCreatedEvent$k as EntityCreatedEvent, type EntityDeletedEvent$k as EntityDeletedEvent, type EntityUpdatedEvent$k as EntityUpdatedEvent, type EventMetadata$c as EventMetadata, type FullAddressContactDetails$7 as FullAddressContactDetails, type index_d$p_GetAbandonedCheckoutRequest as GetAbandonedCheckoutRequest, type index_d$p_GetAbandonedCheckoutResponse as GetAbandonedCheckoutResponse, type index_d$p_GetAbandonedCheckoutResponseNonNullableFields as GetAbandonedCheckoutResponseNonNullableFields, type HeadersEntry$1 as HeadersEntry, type IdentificationData$k as IdentificationData, type IdentificationDataIdOneOf$k as IdentificationDataIdOneOf, index_d$p_Identity as Identity, type MessageEnvelope$j as MessageEnvelope, index_d$p_Mode as Mode, type MultiCurrencyPrice$5 as MultiCurrencyPrice, type Paging$3 as Paging, type PagingMetadataV2$1 as PagingMetadataV2, type index_d$p_QueryAbandonedCheckoutsRequest as QueryAbandonedCheckoutsRequest, type index_d$p_QueryAbandonedCheckoutsResponse as QueryAbandonedCheckoutsResponse, type index_d$p_QueryAbandonedCheckoutsResponseNonNullableFields as QueryAbandonedCheckoutsResponseNonNullableFields, type QueryV2$3 as QueryV2, type QueryV2PagingMethodOneOf$3 as QueryV2PagingMethodOneOf, type RawHttpResponse$1 as RawHttpResponse, type RawHttpResponseNonNullableFields$1 as RawHttpResponseNonNullableFields, type index_d$p_RedirectToCheckoutRequest as RedirectToCheckoutRequest, type Reschedule$1 as Reschedule, type RestoreInfo$k as RestoreInfo, type index_d$p_Search as Search, type index_d$p_SearchAbandonedCheckoutsOptions as SearchAbandonedCheckoutsOptions, type index_d$p_SearchAbandonedCheckoutsRequest as SearchAbandonedCheckoutsRequest, type index_d$p_SearchAbandonedCheckoutsResponse as SearchAbandonedCheckoutsResponse, type index_d$p_SearchAbandonedCheckoutsResponseNonNullableFields as SearchAbandonedCheckoutsResponseNonNullableFields, type index_d$p_SearchDetails as SearchDetails, type index_d$p_SearchPagingMethodOneOf as SearchPagingMethodOneOf, SortOrder$d as SortOrder, type Sorting$d 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$p_V1BuyerInfoIdOneOf as V1BuyerInfoIdOneOf, type VatId$8 as VatId, VatType$8 as VatType, WebhookIdentityType$j as WebhookIdentityType, type index_d$p__publicOnAbandonedCheckoutRecoveredType as _publicOnAbandonedCheckoutRecoveredType, index_d$p_deleteAbandonedCheckout as deleteAbandonedCheckout, index_d$p_getAbandonedCheckout as getAbandonedCheckout, index_d$p_onAbandonedCheckoutRecovered as onAbandonedCheckoutRecovered, onAbandonedCheckoutRecovered$1 as publicOnAbandonedCheckoutRecovered, index_d$p_queryAbandonedCheckouts as queryAbandonedCheckouts, index_d$p_redirectToCheckout as redirectToCheckout, index_d$p_searchAbandonedCheckouts as searchAbandonedCheckouts };
|
|
4593
4593
|
}
|
|
4594
4594
|
|
|
4595
4595
|
/**
|
|
@@ -5036,7 +5036,7 @@ interface BackInStockNotificationRequestsCountNonNullableFields {
|
|
|
5036
5036
|
interface GetBackInStockNotificationRequestsCountByCatalogReferencesResponseNonNullableFields {
|
|
5037
5037
|
countsPerCatalogReference: BackInStockNotificationRequestsCountNonNullableFields[];
|
|
5038
5038
|
}
|
|
5039
|
-
interface BaseEventMetadata$
|
|
5039
|
+
interface BaseEventMetadata$b {
|
|
5040
5040
|
/** App instance ID. */
|
|
5041
5041
|
instanceId?: string | null;
|
|
5042
5042
|
/** Event type. */
|
|
@@ -5044,7 +5044,7 @@ interface BaseEventMetadata$c {
|
|
|
5044
5044
|
/** The identification type and identity data. */
|
|
5045
5045
|
identity?: IdentificationData$j;
|
|
5046
5046
|
}
|
|
5047
|
-
interface EventMetadata$
|
|
5047
|
+
interface EventMetadata$b extends BaseEventMetadata$b {
|
|
5048
5048
|
/**
|
|
5049
5049
|
* Unique event ID.
|
|
5050
5050
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -5084,14 +5084,14 @@ interface EventMetadata$c extends BaseEventMetadata$c {
|
|
|
5084
5084
|
}
|
|
5085
5085
|
interface BackInStockNotificationRequestCreatedEnvelope {
|
|
5086
5086
|
entity: BackInStockNotificationRequest;
|
|
5087
|
-
metadata: EventMetadata$
|
|
5087
|
+
metadata: EventMetadata$b;
|
|
5088
5088
|
}
|
|
5089
5089
|
interface BackInStockNotificationRequestDeletedEnvelope {
|
|
5090
|
-
metadata: EventMetadata$
|
|
5090
|
+
metadata: EventMetadata$b;
|
|
5091
5091
|
}
|
|
5092
5092
|
interface BackInStockNotificationRequestUpdatedEnvelope {
|
|
5093
5093
|
entity: BackInStockNotificationRequest;
|
|
5094
|
-
metadata: EventMetadata$
|
|
5094
|
+
metadata: EventMetadata$b;
|
|
5095
5095
|
}
|
|
5096
5096
|
interface QueryCursorResult$a {
|
|
5097
5097
|
cursors: Cursors$c;
|
|
@@ -5291,7 +5291,7 @@ declare const onBackInStockNotificationRequestCreated$1: EventDefinition<BackInS
|
|
|
5291
5291
|
declare const onBackInStockNotificationRequestDeleted$1: EventDefinition<BackInStockNotificationRequestDeletedEnvelope, "wix.ecom.v1.back_in_stock_notification_request_deleted">;
|
|
5292
5292
|
declare const onBackInStockNotificationRequestUpdated$1: EventDefinition<BackInStockNotificationRequestUpdatedEnvelope, "wix.ecom.v1.back_in_stock_notification_request_updated">;
|
|
5293
5293
|
|
|
5294
|
-
declare function createEventModule$
|
|
5294
|
+
declare function createEventModule$b<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
5295
5295
|
|
|
5296
5296
|
declare const createBackInStockNotificationRequest: MaybeContext<BuildRESTFunction<typeof createBackInStockNotificationRequest$1> & typeof createBackInStockNotificationRequest$1>;
|
|
5297
5297
|
declare const getBackInStockNotificationRequest: MaybeContext<BuildRESTFunction<typeof getBackInStockNotificationRequest$1> & typeof getBackInStockNotificationRequest$1>;
|
|
@@ -5305,19 +5305,19 @@ type _publicOnBackInStockNotificationRequestCreatedType = typeof onBackInStockNo
|
|
|
5305
5305
|
/**
|
|
5306
5306
|
* Triggered when a back in stock notification request is created.
|
|
5307
5307
|
*/
|
|
5308
|
-
declare const onBackInStockNotificationRequestCreated: ReturnType<typeof createEventModule$
|
|
5308
|
+
declare const onBackInStockNotificationRequestCreated: ReturnType<typeof createEventModule$b<_publicOnBackInStockNotificationRequestCreatedType>>;
|
|
5309
5309
|
|
|
5310
5310
|
type _publicOnBackInStockNotificationRequestDeletedType = typeof onBackInStockNotificationRequestDeleted$1;
|
|
5311
5311
|
/**
|
|
5312
5312
|
* Triggered when a back in stock notification request is deleted.
|
|
5313
5313
|
*/
|
|
5314
|
-
declare const onBackInStockNotificationRequestDeleted: ReturnType<typeof createEventModule$
|
|
5314
|
+
declare const onBackInStockNotificationRequestDeleted: ReturnType<typeof createEventModule$b<_publicOnBackInStockNotificationRequestDeletedType>>;
|
|
5315
5315
|
|
|
5316
5316
|
type _publicOnBackInStockNotificationRequestUpdatedType = typeof onBackInStockNotificationRequestUpdated$1;
|
|
5317
5317
|
/**
|
|
5318
5318
|
* Triggered when a back in stock notification request is updated.
|
|
5319
5319
|
*/
|
|
5320
|
-
declare const onBackInStockNotificationRequestUpdated: ReturnType<typeof createEventModule$
|
|
5320
|
+
declare const onBackInStockNotificationRequestUpdated: ReturnType<typeof createEventModule$b<_publicOnBackInStockNotificationRequestUpdatedType>>;
|
|
5321
5321
|
|
|
5322
5322
|
type index_d$o_BackInStockItemDetails = BackInStockItemDetails;
|
|
5323
5323
|
type index_d$o_BackInStockNotificationRequest = BackInStockNotificationRequest;
|
|
@@ -5367,7 +5367,7 @@ declare const index_d$o_onBackInStockNotificationRequestUpdated: typeof onBackIn
|
|
|
5367
5367
|
declare const index_d$o_queryBackInStockNotificationRequests: typeof queryBackInStockNotificationRequests;
|
|
5368
5368
|
declare const index_d$o_reportItemsBackInStock: typeof reportItemsBackInStock;
|
|
5369
5369
|
declare namespace index_d$o {
|
|
5370
|
-
export { type ActionEvent$j as ActionEvent, type App$1 as App, type index_d$o_BackInStockItemDetails as BackInStockItemDetails, type index_d$o_BackInStockNotificationRequest as BackInStockNotificationRequest, type index_d$o_BackInStockNotificationRequestCreatedEnvelope as BackInStockNotificationRequestCreatedEnvelope, type index_d$o_BackInStockNotificationRequestDeletedEnvelope as BackInStockNotificationRequestDeletedEnvelope, type index_d$o_BackInStockNotificationRequestNonNullableFields as BackInStockNotificationRequestNonNullableFields, type index_d$o_BackInStockNotificationRequestUpdatedEnvelope as BackInStockNotificationRequestUpdatedEnvelope, type index_d$o_BackInStockNotificationRequestsCount as BackInStockNotificationRequestsCount, type BaseEventMetadata$
|
|
5370
|
+
export { type ActionEvent$j as ActionEvent, type App$1 as App, type index_d$o_BackInStockItemDetails as BackInStockItemDetails, type index_d$o_BackInStockNotificationRequest as BackInStockNotificationRequest, type index_d$o_BackInStockNotificationRequestCreatedEnvelope as BackInStockNotificationRequestCreatedEnvelope, type index_d$o_BackInStockNotificationRequestDeletedEnvelope as BackInStockNotificationRequestDeletedEnvelope, type index_d$o_BackInStockNotificationRequestNonNullableFields as BackInStockNotificationRequestNonNullableFields, type index_d$o_BackInStockNotificationRequestUpdatedEnvelope as BackInStockNotificationRequestUpdatedEnvelope, type index_d$o_BackInStockNotificationRequestsCount as BackInStockNotificationRequestsCount, type BaseEventMetadata$b as BaseEventMetadata, type CatalogReference$9 as CatalogReference, type index_d$o_CreateBackInStockNotificationRequestRequest as CreateBackInStockNotificationRequestRequest, type index_d$o_CreateBackInStockNotificationRequestResponse as CreateBackInStockNotificationRequestResponse, type index_d$o_CreateBackInStockNotificationRequestResponseNonNullableFields as CreateBackInStockNotificationRequestResponseNonNullableFields, type CursorPaging$c as CursorPaging, type Cursors$c as Cursors, type index_d$o_DeleteBackInStockNotificationRequestRequest as DeleteBackInStockNotificationRequestRequest, type index_d$o_DeleteBackInStockNotificationRequestResponse as DeleteBackInStockNotificationRequestResponse, type DomainEvent$j as DomainEvent, type DomainEventBodyOneOf$j as DomainEventBodyOneOf, type Empty$c as Empty, type EntityCreatedEvent$j as EntityCreatedEvent, type EntityDeletedEvent$j as EntityDeletedEvent, type EntityUpdatedEvent$j as EntityUpdatedEvent, type EventMetadata$b as EventMetadata, type index_d$o_File as File, type index_d$o_GetBackInStockNotificationRequestRequest as GetBackInStockNotificationRequestRequest, type index_d$o_GetBackInStockNotificationRequestResponse as GetBackInStockNotificationRequestResponse, type index_d$o_GetBackInStockNotificationRequestResponseNonNullableFields as GetBackInStockNotificationRequestResponseNonNullableFields, type index_d$o_GetBackInStockNotificationRequestsCountByCatalogReferencesRequest as GetBackInStockNotificationRequestsCountByCatalogReferencesRequest, type index_d$o_GetBackInStockNotificationRequestsCountByCatalogReferencesResponse as GetBackInStockNotificationRequestsCountByCatalogReferencesResponse, type index_d$o_GetBackInStockNotificationRequestsCountByCatalogReferencesResponseNonNullableFields as GetBackInStockNotificationRequestsCountByCatalogReferencesResponseNonNullableFields, type IdentificationData$j as IdentificationData, type IdentificationDataIdOneOf$j as IdentificationDataIdOneOf, type index_d$o_InvalidateCache as InvalidateCache, type index_d$o_InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOf, type index_d$o_MarkAsNotificationSentRequest as MarkAsNotificationSentRequest, type index_d$o_MarkAsNotificationSentResponse as MarkAsNotificationSentResponse, type index_d$o_MarkAsNotificationSentResponseNonNullableFields as MarkAsNotificationSentResponseNonNullableFields, type MessageEnvelope$i as MessageEnvelope, type index_d$o_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$o_QueryBackInStockNotificationRequestsRequest as QueryBackInStockNotificationRequestsRequest, type index_d$o_QueryBackInStockNotificationRequestsResponse as QueryBackInStockNotificationRequestsResponse, type index_d$o_QueryBackInStockNotificationRequestsResponseNonNullableFields as QueryBackInStockNotificationRequestsResponseNonNullableFields, type index_d$o_ReportItemsBackInStockOptions as ReportItemsBackInStockOptions, type index_d$o_ReportItemsBackInStockRequest as ReportItemsBackInStockRequest, type index_d$o_ReportItemsBackInStockResponse as ReportItemsBackInStockResponse, type index_d$o_RequestsQueryBuilder as RequestsQueryBuilder, type index_d$o_RequestsQueryResult as RequestsQueryResult, type RestoreInfo$j as RestoreInfo, SortOrder$c as SortOrder, type Sorting$c as Sorting, Status$3 as Status, type index_d$o_URI as URI, WebhookIdentityType$i as WebhookIdentityType, type index_d$o__publicOnBackInStockNotificationRequestCreatedType as _publicOnBackInStockNotificationRequestCreatedType, type index_d$o__publicOnBackInStockNotificationRequestDeletedType as _publicOnBackInStockNotificationRequestDeletedType, type index_d$o__publicOnBackInStockNotificationRequestUpdatedType as _publicOnBackInStockNotificationRequestUpdatedType, index_d$o_createBackInStockNotificationRequest as createBackInStockNotificationRequest, index_d$o_deleteBackInStockNotificationRequest as deleteBackInStockNotificationRequest, index_d$o_getBackInStockNotificationRequest as getBackInStockNotificationRequest, index_d$o_getBackInStockNotificationRequestsCountByCatalogReferences as getBackInStockNotificationRequestsCountByCatalogReferences, index_d$o_markAsNotificationSent as markAsNotificationSent, index_d$o_onBackInStockNotificationRequestCreated as onBackInStockNotificationRequestCreated, index_d$o_onBackInStockNotificationRequestDeleted as onBackInStockNotificationRequestDeleted, index_d$o_onBackInStockNotificationRequestUpdated as onBackInStockNotificationRequestUpdated, onBackInStockNotificationRequestCreated$1 as publicOnBackInStockNotificationRequestCreated, onBackInStockNotificationRequestDeleted$1 as publicOnBackInStockNotificationRequestDeleted, onBackInStockNotificationRequestUpdated$1 as publicOnBackInStockNotificationRequestUpdated, index_d$o_queryBackInStockNotificationRequests as queryBackInStockNotificationRequests, index_d$o_reportItemsBackInStock as reportItemsBackInStock };
|
|
5371
5371
|
}
|
|
5372
5372
|
|
|
5373
5373
|
/**
|
|
@@ -5857,6 +5857,18 @@ interface SubscriptionSettings$7 {
|
|
|
5857
5857
|
autoRenewal?: boolean;
|
|
5858
5858
|
/** Number of billing cycles before subscription ends. Ignored if `autoRenewal` is `true`. */
|
|
5859
5859
|
billingCycles?: number | null;
|
|
5860
|
+
/**
|
|
5861
|
+
* Period until first cycle starts. If applied payNow will be 0
|
|
5862
|
+
* If None => no free trial
|
|
5863
|
+
*/
|
|
5864
|
+
freeTrialPeriod?: FreeTrialPeriod$3;
|
|
5865
|
+
/** The date the subscription will start. The subscription will be charged either now or according to freeTrialDays. */
|
|
5866
|
+
startDate?: Date | null;
|
|
5867
|
+
/**
|
|
5868
|
+
* Whether to generate an order each billing cycle. An order will always be generated for the first billing cycle.
|
|
5869
|
+
* Default None => will behave like true
|
|
5870
|
+
*/
|
|
5871
|
+
generateOrderEachBillingCycle?: boolean | null;
|
|
5860
5872
|
}
|
|
5861
5873
|
/** Frequency unit of recurring payment */
|
|
5862
5874
|
declare enum SubscriptionFrequency$7 {
|
|
@@ -5866,6 +5878,12 @@ declare enum SubscriptionFrequency$7 {
|
|
|
5866
5878
|
MONTH = "MONTH",
|
|
5867
5879
|
YEAR = "YEAR"
|
|
5868
5880
|
}
|
|
5881
|
+
interface FreeTrialPeriod$3 {
|
|
5882
|
+
/** Frequency of priod. Values: DAY, WEEK, MONTH, YEAR */
|
|
5883
|
+
frequency?: SubscriptionFrequency$7;
|
|
5884
|
+
/** interval of period */
|
|
5885
|
+
interval?: number;
|
|
5886
|
+
}
|
|
5869
5887
|
interface Title$3 {
|
|
5870
5888
|
/** Subscription option name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope). */
|
|
5871
5889
|
original?: string;
|
|
@@ -7376,10 +7394,15 @@ interface ItemTypeNonNullableFields$5 {
|
|
|
7376
7394
|
preset: ItemTypeItemType$6;
|
|
7377
7395
|
custom: string;
|
|
7378
7396
|
}
|
|
7397
|
+
interface FreeTrialPeriodNonNullableFields$3 {
|
|
7398
|
+
frequency: SubscriptionFrequency$7;
|
|
7399
|
+
interval: number;
|
|
7400
|
+
}
|
|
7379
7401
|
interface SubscriptionSettingsNonNullableFields$5 {
|
|
7380
7402
|
frequency: SubscriptionFrequency$7;
|
|
7381
7403
|
autoRenewal: boolean;
|
|
7382
7404
|
enableCustomerCancellation: boolean;
|
|
7405
|
+
freeTrialPeriod?: FreeTrialPeriodNonNullableFields$3;
|
|
7383
7406
|
}
|
|
7384
7407
|
interface TitleNonNullableFields$3 {
|
|
7385
7408
|
original: string;
|
|
@@ -7783,7 +7806,7 @@ interface CreateCartResponseNonNullableFields$1 {
|
|
|
7783
7806
|
interface GetCartResponseNonNullableFields$1 {
|
|
7784
7807
|
cart?: CartNonNullableFields$1;
|
|
7785
7808
|
}
|
|
7786
|
-
interface BaseEventMetadata$
|
|
7809
|
+
interface BaseEventMetadata$a {
|
|
7787
7810
|
/** App instance ID. */
|
|
7788
7811
|
instanceId?: string | null;
|
|
7789
7812
|
/** Event type. */
|
|
@@ -7791,7 +7814,7 @@ interface BaseEventMetadata$b {
|
|
|
7791
7814
|
/** The identification type and identity data. */
|
|
7792
7815
|
identity?: IdentificationData$i;
|
|
7793
7816
|
}
|
|
7794
|
-
interface EventMetadata$
|
|
7817
|
+
interface EventMetadata$a extends BaseEventMetadata$a {
|
|
7795
7818
|
/**
|
|
7796
7819
|
* Unique event ID.
|
|
7797
7820
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -7831,14 +7854,14 @@ interface EventMetadata$b extends BaseEventMetadata$b {
|
|
|
7831
7854
|
}
|
|
7832
7855
|
interface CartUpdatedEnvelope$1 {
|
|
7833
7856
|
entity: Cart$1;
|
|
7834
|
-
metadata: EventMetadata$
|
|
7857
|
+
metadata: EventMetadata$a;
|
|
7835
7858
|
}
|
|
7836
7859
|
interface CartDeletedEnvelope$1 {
|
|
7837
|
-
metadata: EventMetadata$
|
|
7860
|
+
metadata: EventMetadata$a;
|
|
7838
7861
|
}
|
|
7839
7862
|
interface CartCreatedEnvelope$1 {
|
|
7840
7863
|
entity: Cart$1;
|
|
7841
|
-
metadata: EventMetadata$
|
|
7864
|
+
metadata: EventMetadata$a;
|
|
7842
7865
|
}
|
|
7843
7866
|
interface CreateCartOptions {
|
|
7844
7867
|
/** Cart info. */
|
|
@@ -8146,7 +8169,7 @@ declare const onCartUpdated$3: EventDefinition<CartUpdatedEnvelope$1, "wix.ecom.
|
|
|
8146
8169
|
declare const onCartDeleted$3: EventDefinition<CartDeletedEnvelope$1, "wix.ecom.v1.cart_deleted">;
|
|
8147
8170
|
declare const onCartCreated$3: EventDefinition<CartCreatedEnvelope$1, "wix.ecom.v1.cart_created">;
|
|
8148
8171
|
|
|
8149
|
-
declare function createEventModule$
|
|
8172
|
+
declare function createEventModule$a<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
8150
8173
|
|
|
8151
8174
|
declare const createCart: MaybeContext<BuildRESTFunction<typeof createCart$1> & typeof createCart$1>;
|
|
8152
8175
|
declare const updateCart: MaybeContext<BuildRESTFunction<typeof updateCart$1> & typeof updateCart$1>;
|
|
@@ -8163,19 +8186,19 @@ type _publicOnCartUpdatedType$1 = typeof onCartUpdated$3;
|
|
|
8163
8186
|
/**
|
|
8164
8187
|
* Triggered when a cart is updated.
|
|
8165
8188
|
*/
|
|
8166
|
-
declare const onCartUpdated$2: ReturnType<typeof createEventModule$
|
|
8189
|
+
declare const onCartUpdated$2: ReturnType<typeof createEventModule$a<_publicOnCartUpdatedType>>;
|
|
8167
8190
|
|
|
8168
8191
|
type _publicOnCartDeletedType$1 = typeof onCartDeleted$3;
|
|
8169
8192
|
/**
|
|
8170
8193
|
* Triggered when a cart is deleted.
|
|
8171
8194
|
*/
|
|
8172
|
-
declare const onCartDeleted$2: ReturnType<typeof createEventModule$
|
|
8195
|
+
declare const onCartDeleted$2: ReturnType<typeof createEventModule$a<_publicOnCartDeletedType>>;
|
|
8173
8196
|
|
|
8174
8197
|
type _publicOnCartCreatedType$1 = typeof onCartCreated$3;
|
|
8175
8198
|
/**
|
|
8176
8199
|
* Triggered when a cart is created.
|
|
8177
8200
|
*/
|
|
8178
|
-
declare const onCartCreated$2: ReturnType<typeof createEventModule$
|
|
8201
|
+
declare const onCartCreated$2: ReturnType<typeof createEventModule$a<_publicOnCartCreatedType>>;
|
|
8179
8202
|
|
|
8180
8203
|
type index_d$m_AddToCartOptions = AddToCartOptions;
|
|
8181
8204
|
type index_d$m_CreateCartOptions = CreateCartOptions;
|
|
@@ -8188,7 +8211,7 @@ declare const index_d$m_estimateTotals: typeof estimateTotals;
|
|
|
8188
8211
|
declare const index_d$m_getCart: typeof getCart;
|
|
8189
8212
|
declare const index_d$m_updateCart: typeof updateCart;
|
|
8190
8213
|
declare namespace index_d$m {
|
|
8191
|
-
export { type ActionEvent$i as ActionEvent, type index_d$m_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$a as Address, type AddressLocation$9 as AddressLocation, type AddressWithContact$5 as AddressWithContact, type AggregatedTaxBreakdown$4 as AggregatedTaxBreakdown, type ApplicationError$b as ApplicationError, type AppliedDiscount$6 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$6 as AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails$4 as AutoTaxFallbackCalculationDetails, type BaseEventMetadata$b 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$6 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$8 as CatalogReference, ChannelType$6 as ChannelType, ChargeType$6 as ChargeType, type Color$5 as Color, type Coupon$6 as Coupon, type index_d$m_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$7 as DeliveryLogistics, type DeliveryTimeSlot$7 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$6 as Details, type DetailsKindOneOf$6 as DetailsKindOneOf, type DiscountRule$6 as DiscountRule, type DiscountRuleName$6 as DiscountRuleName, DiscountType$6 as DiscountType, type DomainEvent$i as DomainEvent, type DomainEventBodyOneOf$i as DomainEventBodyOneOf, type Empty$b as Empty, type EntityCreatedEvent$i as EntityCreatedEvent, type EntityDeletedEvent$i as EntityDeletedEvent, type EntityUpdatedEvent$i as EntityUpdatedEvent, type EstimateCurrentCartTotalsRequest$1 as EstimateCurrentCartTotalsRequest, type index_d$m_EstimateTotalsOptions as EstimateTotalsOptions, type EstimateTotalsRequest$1 as EstimateTotalsRequest, type EstimateTotalsResponse$1 as EstimateTotalsResponse, type EstimateTotalsResponseNonNullableFields$1 as EstimateTotalsResponseNonNullableFields, type EventMetadata$b as EventMetadata, type ExtendedFields$a as ExtendedFields, FallbackReason$4 as FallbackReason, type FieldViolation$6 as FieldViolation, FileType$4 as FileType, type FullAddressContactDetails$6 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$i as IdentificationData, type IdentificationDataIdOneOf$i 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$h 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, type PaymentOption$3 as PaymentOption, PaymentOptionType$6 as PaymentOptionType, type PhysicalProperties$7 as PhysicalProperties, type PickupDetails$8 as PickupDetails, PickupMethod$7 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$i as RestoreInfo, RuleType$6 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$9 as StreetAddress, SubscriptionFrequency$7 as SubscriptionFrequency, type SubscriptionOptionInfo$4 as SubscriptionOptionInfo, type SubscriptionSettings$7 as SubscriptionSettings, SuggestedFix$3 as SuggestedFix, type SystemError$6 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$m_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$6 as ValidationError, type VatId$7 as VatId, VatType$7 as VatType, type Violation$3 as Violation, WebhookIdentityType$h as WebhookIdentityType, WeightUnit$8 as WeightUnit, type _publicOnCartCreatedType$1 as _publicOnCartCreatedType, type _publicOnCartDeletedType$1 as _publicOnCartDeletedType, type _publicOnCartUpdatedType$1 as _publicOnCartUpdatedType, index_d$m_addToCart as addToCart, index_d$m_createCart as createCart, createCheckout$2 as createCheckout, index_d$m_deleteCart as deleteCart, index_d$m_estimateTotals as estimateTotals, index_d$m_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$m_updateCart as updateCart, updateLineItemsQuantity$2 as updateLineItemsQuantity };
|
|
8214
|
+
export { type ActionEvent$i as ActionEvent, type index_d$m_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$a as Address, type AddressLocation$9 as AddressLocation, type AddressWithContact$5 as AddressWithContact, type AggregatedTaxBreakdown$4 as AggregatedTaxBreakdown, type ApplicationError$b as ApplicationError, type AppliedDiscount$6 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$6 as AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails$4 as AutoTaxFallbackCalculationDetails, type BaseEventMetadata$a 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$6 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$8 as CatalogReference, ChannelType$6 as ChannelType, ChargeType$6 as ChargeType, type Color$5 as Color, type Coupon$6 as Coupon, type index_d$m_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$7 as DeliveryLogistics, type DeliveryTimeSlot$7 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$6 as Details, type DetailsKindOneOf$6 as DetailsKindOneOf, type DiscountRule$6 as DiscountRule, type DiscountRuleName$6 as DiscountRuleName, DiscountType$6 as DiscountType, type DomainEvent$i as DomainEvent, type DomainEventBodyOneOf$i as DomainEventBodyOneOf, type Empty$b as Empty, type EntityCreatedEvent$i as EntityCreatedEvent, type EntityDeletedEvent$i as EntityDeletedEvent, type EntityUpdatedEvent$i as EntityUpdatedEvent, type EstimateCurrentCartTotalsRequest$1 as EstimateCurrentCartTotalsRequest, type index_d$m_EstimateTotalsOptions as EstimateTotalsOptions, type EstimateTotalsRequest$1 as EstimateTotalsRequest, type EstimateTotalsResponse$1 as EstimateTotalsResponse, type EstimateTotalsResponseNonNullableFields$1 as EstimateTotalsResponseNonNullableFields, type EventMetadata$a as EventMetadata, type ExtendedFields$a as ExtendedFields, FallbackReason$4 as FallbackReason, type FieldViolation$6 as FieldViolation, FileType$4 as FileType, type FreeTrialPeriod$3 as FreeTrialPeriod, type FullAddressContactDetails$6 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$i as IdentificationData, type IdentificationDataIdOneOf$i 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$h 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, type PaymentOption$3 as PaymentOption, PaymentOptionType$6 as PaymentOptionType, type PhysicalProperties$7 as PhysicalProperties, type PickupDetails$8 as PickupDetails, PickupMethod$7 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$i as RestoreInfo, RuleType$6 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$9 as StreetAddress, SubscriptionFrequency$7 as SubscriptionFrequency, type SubscriptionOptionInfo$4 as SubscriptionOptionInfo, type SubscriptionSettings$7 as SubscriptionSettings, SuggestedFix$3 as SuggestedFix, type SystemError$6 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$m_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$6 as ValidationError, type VatId$7 as VatId, VatType$7 as VatType, type Violation$3 as Violation, WebhookIdentityType$h as WebhookIdentityType, WeightUnit$8 as WeightUnit, type _publicOnCartCreatedType$1 as _publicOnCartCreatedType, type _publicOnCartDeletedType$1 as _publicOnCartDeletedType, type _publicOnCartUpdatedType$1 as _publicOnCartUpdatedType, index_d$m_addToCart as addToCart, index_d$m_createCart as createCart, createCheckout$2 as createCheckout, index_d$m_deleteCart as deleteCart, index_d$m_estimateTotals as estimateTotals, index_d$m_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$m_updateCart as updateCart, updateLineItemsQuantity$2 as updateLineItemsQuantity };
|
|
8192
8215
|
}
|
|
8193
8216
|
|
|
8194
8217
|
interface Cart {
|
|
@@ -8569,6 +8592,18 @@ interface SubscriptionSettings$6 {
|
|
|
8569
8592
|
autoRenewal?: boolean;
|
|
8570
8593
|
/** Number of billing cycles before subscription ends. Ignored if `autoRenewal` is `true`. */
|
|
8571
8594
|
billingCycles?: number | null;
|
|
8595
|
+
/**
|
|
8596
|
+
* Period until first cycle starts. If applied payNow will be 0
|
|
8597
|
+
* If None => no free trial
|
|
8598
|
+
*/
|
|
8599
|
+
freeTrialPeriod?: FreeTrialPeriod$2;
|
|
8600
|
+
/** The date the subscription will start. The subscription will be charged either now or according to freeTrialDays. */
|
|
8601
|
+
startDate?: Date | null;
|
|
8602
|
+
/**
|
|
8603
|
+
* Whether to generate an order each billing cycle. An order will always be generated for the first billing cycle.
|
|
8604
|
+
* Default None => will behave like true
|
|
8605
|
+
*/
|
|
8606
|
+
generateOrderEachBillingCycle?: boolean | null;
|
|
8572
8607
|
}
|
|
8573
8608
|
/** Frequency unit of recurring payment */
|
|
8574
8609
|
declare enum SubscriptionFrequency$6 {
|
|
@@ -8578,6 +8613,12 @@ declare enum SubscriptionFrequency$6 {
|
|
|
8578
8613
|
MONTH = "MONTH",
|
|
8579
8614
|
YEAR = "YEAR"
|
|
8580
8615
|
}
|
|
8616
|
+
interface FreeTrialPeriod$2 {
|
|
8617
|
+
/** Frequency of priod. Values: DAY, WEEK, MONTH, YEAR */
|
|
8618
|
+
frequency?: SubscriptionFrequency$6;
|
|
8619
|
+
/** interval of period */
|
|
8620
|
+
interval?: number;
|
|
8621
|
+
}
|
|
8581
8622
|
interface Title$2 {
|
|
8582
8623
|
/** Subscription option name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope). */
|
|
8583
8624
|
original?: string;
|
|
@@ -10088,10 +10129,15 @@ interface ItemTypeNonNullableFields$4 {
|
|
|
10088
10129
|
preset: ItemTypeItemType$5;
|
|
10089
10130
|
custom: string;
|
|
10090
10131
|
}
|
|
10132
|
+
interface FreeTrialPeriodNonNullableFields$2 {
|
|
10133
|
+
frequency: SubscriptionFrequency$6;
|
|
10134
|
+
interval: number;
|
|
10135
|
+
}
|
|
10091
10136
|
interface SubscriptionSettingsNonNullableFields$4 {
|
|
10092
10137
|
frequency: SubscriptionFrequency$6;
|
|
10093
10138
|
autoRenewal: boolean;
|
|
10094
10139
|
enableCustomerCancellation: boolean;
|
|
10140
|
+
freeTrialPeriod?: FreeTrialPeriodNonNullableFields$2;
|
|
10095
10141
|
}
|
|
10096
10142
|
interface TitleNonNullableFields$2 {
|
|
10097
10143
|
original: string;
|
|
@@ -10495,7 +10541,7 @@ interface CreateCartResponseNonNullableFields {
|
|
|
10495
10541
|
interface GetCartResponseNonNullableFields {
|
|
10496
10542
|
cart?: CartNonNullableFields;
|
|
10497
10543
|
}
|
|
10498
|
-
interface BaseEventMetadata$
|
|
10544
|
+
interface BaseEventMetadata$9 {
|
|
10499
10545
|
/** App instance ID. */
|
|
10500
10546
|
instanceId?: string | null;
|
|
10501
10547
|
/** Event type. */
|
|
@@ -10503,7 +10549,7 @@ interface BaseEventMetadata$a {
|
|
|
10503
10549
|
/** The identification type and identity data. */
|
|
10504
10550
|
identity?: IdentificationData$h;
|
|
10505
10551
|
}
|
|
10506
|
-
interface EventMetadata$
|
|
10552
|
+
interface EventMetadata$9 extends BaseEventMetadata$9 {
|
|
10507
10553
|
/**
|
|
10508
10554
|
* Unique event ID.
|
|
10509
10555
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -10543,14 +10589,14 @@ interface EventMetadata$a extends BaseEventMetadata$a {
|
|
|
10543
10589
|
}
|
|
10544
10590
|
interface CartUpdatedEnvelope {
|
|
10545
10591
|
entity: Cart;
|
|
10546
|
-
metadata: EventMetadata$
|
|
10592
|
+
metadata: EventMetadata$9;
|
|
10547
10593
|
}
|
|
10548
10594
|
interface CartDeletedEnvelope {
|
|
10549
|
-
metadata: EventMetadata$
|
|
10595
|
+
metadata: EventMetadata$9;
|
|
10550
10596
|
}
|
|
10551
10597
|
interface CartCreatedEnvelope {
|
|
10552
10598
|
entity: Cart;
|
|
10553
|
-
metadata: EventMetadata$
|
|
10599
|
+
metadata: EventMetadata$9;
|
|
10554
10600
|
}
|
|
10555
10601
|
interface UpdateCurrentCartOptions {
|
|
10556
10602
|
/** Cart info. */
|
|
@@ -10733,7 +10779,7 @@ declare const onCartUpdated$1: EventDefinition<CartUpdatedEnvelope, "wix.ecom.v1
|
|
|
10733
10779
|
declare const onCartDeleted$1: EventDefinition<CartDeletedEnvelope, "wix.ecom.v1.cart_deleted">;
|
|
10734
10780
|
declare const onCartCreated$1: EventDefinition<CartCreatedEnvelope, "wix.ecom.v1.cart_created">;
|
|
10735
10781
|
|
|
10736
|
-
declare function createEventModule$
|
|
10782
|
+
declare function createEventModule$9<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
10737
10783
|
|
|
10738
10784
|
declare const getCurrentCart: MaybeContext<BuildRESTFunction<typeof getCurrentCart$1> & typeof getCurrentCart$1>;
|
|
10739
10785
|
declare const updateCurrentCart: MaybeContext<BuildRESTFunction<typeof updateCurrentCart$1> & typeof updateCurrentCart$1>;
|
|
@@ -10749,19 +10795,19 @@ type _publicOnCartUpdatedType = typeof onCartUpdated$1;
|
|
|
10749
10795
|
/**
|
|
10750
10796
|
* Triggered when a cart is updated.
|
|
10751
10797
|
*/
|
|
10752
|
-
declare const onCartUpdated: ReturnType<typeof createEventModule$
|
|
10798
|
+
declare const onCartUpdated: ReturnType<typeof createEventModule$9<_publicOnCartUpdatedType>>;
|
|
10753
10799
|
|
|
10754
10800
|
type _publicOnCartDeletedType = typeof onCartDeleted$1;
|
|
10755
10801
|
/**
|
|
10756
10802
|
* Triggered when a cart is deleted.
|
|
10757
10803
|
*/
|
|
10758
|
-
declare const onCartDeleted: ReturnType<typeof createEventModule$
|
|
10804
|
+
declare const onCartDeleted: ReturnType<typeof createEventModule$9<_publicOnCartDeletedType>>;
|
|
10759
10805
|
|
|
10760
10806
|
type _publicOnCartCreatedType = typeof onCartCreated$1;
|
|
10761
10807
|
/**
|
|
10762
10808
|
* Triggered when a cart is created.
|
|
10763
10809
|
*/
|
|
10764
|
-
declare const onCartCreated: ReturnType<typeof createEventModule$
|
|
10810
|
+
declare const onCartCreated: ReturnType<typeof createEventModule$9<_publicOnCartCreatedType>>;
|
|
10765
10811
|
|
|
10766
10812
|
type index_d$l_AddToCartRequest = AddToCartRequest;
|
|
10767
10813
|
type index_d$l_AddToCartResponse = AddToCartResponse;
|
|
@@ -10823,7 +10869,7 @@ declare const index_d$l_removeLineItemsFromCurrentCart: typeof removeLineItemsFr
|
|
|
10823
10869
|
declare const index_d$l_updateCurrentCart: typeof updateCurrentCart;
|
|
10824
10870
|
declare const index_d$l_updateCurrentCartLineItemQuantity: typeof updateCurrentCartLineItemQuantity;
|
|
10825
10871
|
declare namespace index_d$l {
|
|
10826
|
-
export { type ActionEvent$h as ActionEvent, type index_d$l_AddToCartRequest as AddToCartRequest, type index_d$l_AddToCartResponse as AddToCartResponse, type index_d$l_AddToCartResponseNonNullableFields as AddToCartResponseNonNullableFields, type index_d$l_AddToCurrentCartAndEstimateTotalsRequest as AddToCurrentCartAndEstimateTotalsRequest, type index_d$l_AddToCurrentCartOptions as AddToCurrentCartOptions, type index_d$l_AddToCurrentCartRequest as AddToCurrentCartRequest, type AdditionalFee$5 as AdditionalFee, type Address$9 as Address, type AddressLocation$8 as AddressLocation, type AddressWithContact$4 as AddressWithContact, type AggregatedTaxBreakdown$3 as AggregatedTaxBreakdown, type ApplicationError$a as ApplicationError, type AppliedDiscount$5 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$5 as AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails$3 as AutoTaxFallbackCalculationDetails, type BaseEventMetadata$a 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$5 as CarrierError, type CarrierErrors$4 as CarrierErrors, type CarrierServiceOption$3 as CarrierServiceOption, type index_d$l_Cart as Cart, type index_d$l_CartCreatedEnvelope as CartCreatedEnvelope, type index_d$l_CartDeletedEnvelope as CartDeletedEnvelope, type index_d$l_CartDiscount as CartDiscount, type index_d$l_CartDiscountDiscountSourceOneOf as CartDiscountDiscountSourceOneOf, type index_d$l_CartNonNullableFields as CartNonNullableFields, type index_d$l_CartUpdatedEnvelope as CartUpdatedEnvelope, type CatalogOverrideFields$2 as CatalogOverrideFields, type CatalogReference$7 as CatalogReference, ChannelType$5 as ChannelType, ChargeType$5 as ChargeType, type Color$4 as Color, type Coupon$5 as Coupon, type index_d$l_CreateCartRequest as CreateCartRequest, type index_d$l_CreateCartResponse as CreateCartResponse, type index_d$l_CreateCartResponseNonNullableFields as CreateCartResponseNonNullableFields, type index_d$l_CreateCheckoutFromCurrentCartOptions as CreateCheckoutFromCurrentCartOptions, type index_d$l_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$l_DeleteCartRequest as DeleteCartRequest, type index_d$l_DeleteCartResponse as DeleteCartResponse, type index_d$l_DeleteCurrentCartRequest as DeleteCurrentCartRequest, type DeliveryLogistics$6 as DeliveryLogistics, type DeliveryTimeSlot$6 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$5 as Details, type DetailsKindOneOf$5 as DetailsKindOneOf, type DiscountRule$5 as DiscountRule, type DiscountRuleName$5 as DiscountRuleName, DiscountType$5 as DiscountType, type DomainEvent$h as DomainEvent, type DomainEventBodyOneOf$h as DomainEventBodyOneOf, type Empty$a as Empty, type EntityCreatedEvent$h as EntityCreatedEvent, type EntityDeletedEvent$h as EntityDeletedEvent, type EntityUpdatedEvent$h as EntityUpdatedEvent, type index_d$l_EstimateCurrentCartTotalsOptions as EstimateCurrentCartTotalsOptions, type index_d$l_EstimateCurrentCartTotalsRequest as EstimateCurrentCartTotalsRequest, type index_d$l_EstimateTotalsRequest as EstimateTotalsRequest, type index_d$l_EstimateTotalsResponse as EstimateTotalsResponse, type index_d$l_EstimateTotalsResponseNonNullableFields as EstimateTotalsResponseNonNullableFields, type EventMetadata$a as EventMetadata, type ExtendedFields$9 as ExtendedFields, FallbackReason$3 as FallbackReason, type FieldViolation$5 as FieldViolation, FileType$3 as FileType, type FullAddressContactDetails$5 as FullAddressContactDetails, type index_d$l_GetCartByCheckoutIdRequest as GetCartByCheckoutIdRequest, type index_d$l_GetCartByCheckoutIdResponse as GetCartByCheckoutIdResponse, type index_d$l_GetCartRequest as GetCartRequest, type index_d$l_GetCartResponse as GetCartResponse, type index_d$l_GetCartResponseNonNullableFields as GetCartResponseNonNullableFields, type index_d$l_GetCurrentCartRequest as GetCurrentCartRequest, type index_d$l_GetCurrentCartResponse as GetCurrentCartResponse, type index_d$l_GetCurrentCartResponseNonNullableFields as GetCurrentCartResponseNonNullableFields, type GiftCard$5 as GiftCard, type Group$3 as Group, type index_d$l_HostSelectedMembership as HostSelectedMembership, type IdentificationData$h as IdentificationData, type IdentificationDataIdOneOf$h 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$g 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, type PaymentOption$2 as PaymentOption, PaymentOptionType$5 as PaymentOptionType, type PhysicalProperties$6 as PhysicalProperties, type PickupDetails$7 as PickupDetails, PickupMethod$6 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$l_RemoveCouponFromCurrentCartRequest as RemoveCouponFromCurrentCartRequest, type RemoveCouponRequest$1 as RemoveCouponRequest, type RemoveCouponResponse$1 as RemoveCouponResponse, type RemoveCouponResponseNonNullableFields$1 as RemoveCouponResponseNonNullableFields, type index_d$l_RemoveLineItemsFromCurrentCartRequest as RemoveLineItemsFromCurrentCartRequest, type RemoveLineItemsRequest$1 as RemoveLineItemsRequest, type RemoveLineItemsResponse$1 as RemoveLineItemsResponse, type RemoveLineItemsResponseNonNullableFields$1 as RemoveLineItemsResponseNonNullableFields, type RestoreInfo$h as RestoreInfo, RuleType$5 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$8 as StreetAddress, SubscriptionFrequency$6 as SubscriptionFrequency, type SubscriptionOptionInfo$3 as SubscriptionOptionInfo, type SubscriptionSettings$6 as SubscriptionSettings, SuggestedFix$2 as SuggestedFix, type SystemError$5 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$l_UpdateCartRequest as UpdateCartRequest, type index_d$l_UpdateCartResponse as UpdateCartResponse, type index_d$l_UpdateCartResponseNonNullableFields as UpdateCartResponseNonNullableFields, type index_d$l_UpdateCurrentCartLineItemQuantityRequest as UpdateCurrentCartLineItemQuantityRequest, type index_d$l_UpdateCurrentCartOptions as UpdateCurrentCartOptions, type UpdateLineItemsQuantityRequest$1 as UpdateLineItemsQuantityRequest, type UpdateLineItemsQuantityResponse$1 as UpdateLineItemsQuantityResponse, type UpdateLineItemsQuantityResponseNonNullableFields$1 as UpdateLineItemsQuantityResponseNonNullableFields, type index_d$l_V1Coupon as V1Coupon, type index_d$l_V1MerchantDiscount as V1MerchantDiscount, type ValidationError$5 as ValidationError, type VatId$6 as VatId, VatType$6 as VatType, type Violation$2 as Violation, WebhookIdentityType$g as WebhookIdentityType, WeightUnit$7 as WeightUnit, type index_d$l__publicOnCartCreatedType as _publicOnCartCreatedType, type index_d$l__publicOnCartDeletedType as _publicOnCartDeletedType, type index_d$l__publicOnCartUpdatedType as _publicOnCartUpdatedType, index_d$l_addToCurrentCart as addToCurrentCart, index_d$l_createCheckoutFromCurrentCart as createCheckoutFromCurrentCart, index_d$l_deleteCurrentCart as deleteCurrentCart, index_d$l_estimateCurrentCartTotals as estimateCurrentCartTotals, index_d$l_getCurrentCart as getCurrentCart, index_d$l_onCartCreated as onCartCreated, index_d$l_onCartDeleted as onCartDeleted, index_d$l_onCartUpdated as onCartUpdated, onCartCreated$1 as publicOnCartCreated, onCartDeleted$1 as publicOnCartDeleted, onCartUpdated$1 as publicOnCartUpdated, index_d$l_removeCouponFromCurrentCart as removeCouponFromCurrentCart, index_d$l_removeLineItemsFromCurrentCart as removeLineItemsFromCurrentCart, index_d$l_updateCurrentCart as updateCurrentCart, index_d$l_updateCurrentCartLineItemQuantity as updateCurrentCartLineItemQuantity };
|
|
10872
|
+
export { type ActionEvent$h as ActionEvent, type index_d$l_AddToCartRequest as AddToCartRequest, type index_d$l_AddToCartResponse as AddToCartResponse, type index_d$l_AddToCartResponseNonNullableFields as AddToCartResponseNonNullableFields, type index_d$l_AddToCurrentCartAndEstimateTotalsRequest as AddToCurrentCartAndEstimateTotalsRequest, type index_d$l_AddToCurrentCartOptions as AddToCurrentCartOptions, type index_d$l_AddToCurrentCartRequest as AddToCurrentCartRequest, type AdditionalFee$5 as AdditionalFee, type Address$9 as Address, type AddressLocation$8 as AddressLocation, type AddressWithContact$4 as AddressWithContact, type AggregatedTaxBreakdown$3 as AggregatedTaxBreakdown, type ApplicationError$a as ApplicationError, type AppliedDiscount$5 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$5 as AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails$3 as AutoTaxFallbackCalculationDetails, type BaseEventMetadata$9 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$5 as CarrierError, type CarrierErrors$4 as CarrierErrors, type CarrierServiceOption$3 as CarrierServiceOption, type index_d$l_Cart as Cart, type index_d$l_CartCreatedEnvelope as CartCreatedEnvelope, type index_d$l_CartDeletedEnvelope as CartDeletedEnvelope, type index_d$l_CartDiscount as CartDiscount, type index_d$l_CartDiscountDiscountSourceOneOf as CartDiscountDiscountSourceOneOf, type index_d$l_CartNonNullableFields as CartNonNullableFields, type index_d$l_CartUpdatedEnvelope as CartUpdatedEnvelope, type CatalogOverrideFields$2 as CatalogOverrideFields, type CatalogReference$7 as CatalogReference, ChannelType$5 as ChannelType, ChargeType$5 as ChargeType, type Color$4 as Color, type Coupon$5 as Coupon, type index_d$l_CreateCartRequest as CreateCartRequest, type index_d$l_CreateCartResponse as CreateCartResponse, type index_d$l_CreateCartResponseNonNullableFields as CreateCartResponseNonNullableFields, type index_d$l_CreateCheckoutFromCurrentCartOptions as CreateCheckoutFromCurrentCartOptions, type index_d$l_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$l_DeleteCartRequest as DeleteCartRequest, type index_d$l_DeleteCartResponse as DeleteCartResponse, type index_d$l_DeleteCurrentCartRequest as DeleteCurrentCartRequest, type DeliveryLogistics$6 as DeliveryLogistics, type DeliveryTimeSlot$6 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$5 as Details, type DetailsKindOneOf$5 as DetailsKindOneOf, type DiscountRule$5 as DiscountRule, type DiscountRuleName$5 as DiscountRuleName, DiscountType$5 as DiscountType, type DomainEvent$h as DomainEvent, type DomainEventBodyOneOf$h as DomainEventBodyOneOf, type Empty$a as Empty, type EntityCreatedEvent$h as EntityCreatedEvent, type EntityDeletedEvent$h as EntityDeletedEvent, type EntityUpdatedEvent$h as EntityUpdatedEvent, type index_d$l_EstimateCurrentCartTotalsOptions as EstimateCurrentCartTotalsOptions, type index_d$l_EstimateCurrentCartTotalsRequest as EstimateCurrentCartTotalsRequest, type index_d$l_EstimateTotalsRequest as EstimateTotalsRequest, type index_d$l_EstimateTotalsResponse as EstimateTotalsResponse, type index_d$l_EstimateTotalsResponseNonNullableFields as EstimateTotalsResponseNonNullableFields, type EventMetadata$9 as EventMetadata, type ExtendedFields$9 as ExtendedFields, FallbackReason$3 as FallbackReason, type FieldViolation$5 as FieldViolation, FileType$3 as FileType, type FreeTrialPeriod$2 as FreeTrialPeriod, type FullAddressContactDetails$5 as FullAddressContactDetails, type index_d$l_GetCartByCheckoutIdRequest as GetCartByCheckoutIdRequest, type index_d$l_GetCartByCheckoutIdResponse as GetCartByCheckoutIdResponse, type index_d$l_GetCartRequest as GetCartRequest, type index_d$l_GetCartResponse as GetCartResponse, type index_d$l_GetCartResponseNonNullableFields as GetCartResponseNonNullableFields, type index_d$l_GetCurrentCartRequest as GetCurrentCartRequest, type index_d$l_GetCurrentCartResponse as GetCurrentCartResponse, type index_d$l_GetCurrentCartResponseNonNullableFields as GetCurrentCartResponseNonNullableFields, type GiftCard$5 as GiftCard, type Group$3 as Group, type index_d$l_HostSelectedMembership as HostSelectedMembership, type IdentificationData$h as IdentificationData, type IdentificationDataIdOneOf$h 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$g 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, type PaymentOption$2 as PaymentOption, PaymentOptionType$5 as PaymentOptionType, type PhysicalProperties$6 as PhysicalProperties, type PickupDetails$7 as PickupDetails, PickupMethod$6 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$l_RemoveCouponFromCurrentCartRequest as RemoveCouponFromCurrentCartRequest, type RemoveCouponRequest$1 as RemoveCouponRequest, type RemoveCouponResponse$1 as RemoveCouponResponse, type RemoveCouponResponseNonNullableFields$1 as RemoveCouponResponseNonNullableFields, type index_d$l_RemoveLineItemsFromCurrentCartRequest as RemoveLineItemsFromCurrentCartRequest, type RemoveLineItemsRequest$1 as RemoveLineItemsRequest, type RemoveLineItemsResponse$1 as RemoveLineItemsResponse, type RemoveLineItemsResponseNonNullableFields$1 as RemoveLineItemsResponseNonNullableFields, type RestoreInfo$h as RestoreInfo, RuleType$5 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$8 as StreetAddress, SubscriptionFrequency$6 as SubscriptionFrequency, type SubscriptionOptionInfo$3 as SubscriptionOptionInfo, type SubscriptionSettings$6 as SubscriptionSettings, SuggestedFix$2 as SuggestedFix, type SystemError$5 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$l_UpdateCartRequest as UpdateCartRequest, type index_d$l_UpdateCartResponse as UpdateCartResponse, type index_d$l_UpdateCartResponseNonNullableFields as UpdateCartResponseNonNullableFields, type index_d$l_UpdateCurrentCartLineItemQuantityRequest as UpdateCurrentCartLineItemQuantityRequest, type index_d$l_UpdateCurrentCartOptions as UpdateCurrentCartOptions, type UpdateLineItemsQuantityRequest$1 as UpdateLineItemsQuantityRequest, type UpdateLineItemsQuantityResponse$1 as UpdateLineItemsQuantityResponse, type UpdateLineItemsQuantityResponseNonNullableFields$1 as UpdateLineItemsQuantityResponseNonNullableFields, type index_d$l_V1Coupon as V1Coupon, type index_d$l_V1MerchantDiscount as V1MerchantDiscount, type ValidationError$5 as ValidationError, type VatId$6 as VatId, VatType$6 as VatType, type Violation$2 as Violation, WebhookIdentityType$g as WebhookIdentityType, WeightUnit$7 as WeightUnit, type index_d$l__publicOnCartCreatedType as _publicOnCartCreatedType, type index_d$l__publicOnCartDeletedType as _publicOnCartDeletedType, type index_d$l__publicOnCartUpdatedType as _publicOnCartUpdatedType, index_d$l_addToCurrentCart as addToCurrentCart, index_d$l_createCheckoutFromCurrentCart as createCheckoutFromCurrentCart, index_d$l_deleteCurrentCart as deleteCurrentCart, index_d$l_estimateCurrentCartTotals as estimateCurrentCartTotals, index_d$l_getCurrentCart as getCurrentCart, index_d$l_onCartCreated as onCartCreated, index_d$l_onCartDeleted as onCartDeleted, index_d$l_onCartUpdated as onCartUpdated, onCartCreated$1 as publicOnCartCreated, onCartDeleted$1 as publicOnCartDeleted, onCartUpdated$1 as publicOnCartUpdated, index_d$l_removeCouponFromCurrentCart as removeCouponFromCurrentCart, index_d$l_removeLineItemsFromCurrentCart as removeLineItemsFromCurrentCart, index_d$l_updateCurrentCart as updateCurrentCart, index_d$l_updateCurrentCartLineItemQuantity as updateCurrentCartLineItemQuantity };
|
|
10827
10873
|
}
|
|
10828
10874
|
|
|
10829
10875
|
interface Checkout$1 {
|
|
@@ -11396,6 +11442,18 @@ interface SubscriptionSettings$5 {
|
|
|
11396
11442
|
autoRenewal?: boolean;
|
|
11397
11443
|
/** Number of billing cycles before subscription ends. Ignored if `autoRenewal` is `true`. */
|
|
11398
11444
|
billingCycles?: number | null;
|
|
11445
|
+
/**
|
|
11446
|
+
* Period until first cycle starts. If applied payNow will be 0
|
|
11447
|
+
* If None => no free trial
|
|
11448
|
+
*/
|
|
11449
|
+
freeTrialPeriod?: FreeTrialPeriod$1;
|
|
11450
|
+
/** The date the subscription will start. The subscription will be charged either now or according to freeTrialDays. */
|
|
11451
|
+
startDate?: Date | null;
|
|
11452
|
+
/**
|
|
11453
|
+
* Whether to generate an order each billing cycle. An order will always be generated for the first billing cycle.
|
|
11454
|
+
* Default None => will behave like true
|
|
11455
|
+
*/
|
|
11456
|
+
generateOrderEachBillingCycle?: boolean | null;
|
|
11399
11457
|
}
|
|
11400
11458
|
/** Frequency unit of recurring payment */
|
|
11401
11459
|
declare enum SubscriptionFrequency$5 {
|
|
@@ -11405,6 +11463,12 @@ declare enum SubscriptionFrequency$5 {
|
|
|
11405
11463
|
MONTH = "MONTH",
|
|
11406
11464
|
YEAR = "YEAR"
|
|
11407
11465
|
}
|
|
11466
|
+
interface FreeTrialPeriod$1 {
|
|
11467
|
+
/** Frequency of priod. Values: DAY, WEEK, MONTH, YEAR */
|
|
11468
|
+
frequency?: SubscriptionFrequency$5;
|
|
11469
|
+
/** interval of period */
|
|
11470
|
+
interval?: number;
|
|
11471
|
+
}
|
|
11408
11472
|
interface Title$1 {
|
|
11409
11473
|
/** Subscription option name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope). */
|
|
11410
11474
|
original?: string;
|
|
@@ -13296,10 +13360,15 @@ interface ItemTypeNonNullableFields$3 {
|
|
|
13296
13360
|
preset: ItemTypeItemType$4;
|
|
13297
13361
|
custom: string;
|
|
13298
13362
|
}
|
|
13363
|
+
interface FreeTrialPeriodNonNullableFields$1 {
|
|
13364
|
+
frequency: SubscriptionFrequency$5;
|
|
13365
|
+
interval: number;
|
|
13366
|
+
}
|
|
13299
13367
|
interface SubscriptionSettingsNonNullableFields$3 {
|
|
13300
13368
|
frequency: SubscriptionFrequency$5;
|
|
13301
13369
|
autoRenewal: boolean;
|
|
13302
13370
|
enableCustomerCancellation: boolean;
|
|
13371
|
+
freeTrialPeriod?: FreeTrialPeriodNonNullableFields$1;
|
|
13303
13372
|
}
|
|
13304
13373
|
interface TitleNonNullableFields$1 {
|
|
13305
13374
|
original: string;
|
|
@@ -13698,7 +13767,7 @@ interface UpdateLineItemsQuantityResponseNonNullableFields {
|
|
|
13698
13767
|
interface GetCheckoutPaymentSettingsResponseNonNullableFields {
|
|
13699
13768
|
blockedPaymentOptions: GetCheckoutPaymentSettingsResponsePaymentOption[];
|
|
13700
13769
|
}
|
|
13701
|
-
interface BaseEventMetadata$
|
|
13770
|
+
interface BaseEventMetadata$8 {
|
|
13702
13771
|
/** App instance ID. */
|
|
13703
13772
|
instanceId?: string | null;
|
|
13704
13773
|
/** Event type. */
|
|
@@ -13706,7 +13775,7 @@ interface BaseEventMetadata$9 {
|
|
|
13706
13775
|
/** The identification type and identity data. */
|
|
13707
13776
|
identity?: IdentificationData$g;
|
|
13708
13777
|
}
|
|
13709
|
-
interface EventMetadata$
|
|
13778
|
+
interface EventMetadata$8 extends BaseEventMetadata$8 {
|
|
13710
13779
|
/**
|
|
13711
13780
|
* Unique event ID.
|
|
13712
13781
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -13746,15 +13815,15 @@ interface EventMetadata$9 extends BaseEventMetadata$9 {
|
|
|
13746
13815
|
}
|
|
13747
13816
|
interface CheckoutCreatedEnvelope {
|
|
13748
13817
|
entity: Checkout$1;
|
|
13749
|
-
metadata: EventMetadata$
|
|
13818
|
+
metadata: EventMetadata$8;
|
|
13750
13819
|
}
|
|
13751
13820
|
interface CheckoutUpdatedEnvelope {
|
|
13752
13821
|
entity: Checkout$1;
|
|
13753
|
-
metadata: EventMetadata$
|
|
13822
|
+
metadata: EventMetadata$8;
|
|
13754
13823
|
}
|
|
13755
13824
|
interface CheckoutCompletedEnvelope {
|
|
13756
13825
|
data: CheckoutMarkedAsCompleted;
|
|
13757
|
-
metadata: EventMetadata$
|
|
13826
|
+
metadata: EventMetadata$8;
|
|
13758
13827
|
}
|
|
13759
13828
|
interface CreateCheckoutOptions {
|
|
13760
13829
|
/** Checkout information. */
|
|
@@ -14178,7 +14247,7 @@ declare const onCheckoutCreated$1: EventDefinition<CheckoutCreatedEnvelope, "wix
|
|
|
14178
14247
|
declare const onCheckoutUpdated$1: EventDefinition<CheckoutUpdatedEnvelope, "wix.ecom.v1.checkout_updated">;
|
|
14179
14248
|
declare const onCheckoutCompleted$1: EventDefinition<CheckoutCompletedEnvelope, "wix.ecom.v1.checkout_completed">;
|
|
14180
14249
|
|
|
14181
|
-
declare function createEventModule$
|
|
14250
|
+
declare function createEventModule$8<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
14182
14251
|
|
|
14183
14252
|
declare const createCheckout: MaybeContext<BuildRESTFunction<typeof createCheckout$1> & typeof createCheckout$1>;
|
|
14184
14253
|
declare const getCheckout: MaybeContext<BuildRESTFunction<typeof getCheckout$1> & typeof getCheckout$1>;
|
|
@@ -14199,20 +14268,20 @@ type _publicOnCheckoutCreatedType = typeof onCheckoutCreated$1;
|
|
|
14199
14268
|
/**
|
|
14200
14269
|
* Triggered when a checkout is created.
|
|
14201
14270
|
*/
|
|
14202
|
-
declare const onCheckoutCreated: ReturnType<typeof createEventModule$
|
|
14271
|
+
declare const onCheckoutCreated: ReturnType<typeof createEventModule$8<_publicOnCheckoutCreatedType>>;
|
|
14203
14272
|
|
|
14204
14273
|
type _publicOnCheckoutUpdatedType = typeof onCheckoutUpdated$1;
|
|
14205
14274
|
/**
|
|
14206
14275
|
* Triggered when a checkout is updated.
|
|
14207
14276
|
*/
|
|
14208
|
-
declare const onCheckoutUpdated: ReturnType<typeof createEventModule$
|
|
14277
|
+
declare const onCheckoutUpdated: ReturnType<typeof createEventModule$8<_publicOnCheckoutUpdatedType>>;
|
|
14209
14278
|
|
|
14210
14279
|
type _publicOnCheckoutCompletedType = typeof onCheckoutCompleted$1;
|
|
14211
14280
|
/**
|
|
14212
14281
|
* Triggered when an order created from this checkout is
|
|
14213
14282
|
* successfully paid for or when a checkout is marked as completed.
|
|
14214
14283
|
*/
|
|
14215
|
-
declare const onCheckoutCompleted: ReturnType<typeof createEventModule$
|
|
14284
|
+
declare const onCheckoutCompleted: ReturnType<typeof createEventModule$8<_publicOnCheckoutCompletedType>>;
|
|
14216
14285
|
|
|
14217
14286
|
type index_d$k_AddToCheckoutOptions = AddToCheckoutOptions;
|
|
14218
14287
|
type index_d$k_AddToCheckoutRequest = AddToCheckoutRequest;
|
|
@@ -14320,7 +14389,7 @@ declare const index_d$k_removeOverrideCheckoutUrl: typeof removeOverrideCheckout
|
|
|
14320
14389
|
declare const index_d$k_updateCheckout: typeof updateCheckout;
|
|
14321
14390
|
declare const index_d$k_updateLineItemsQuantity: typeof updateLineItemsQuantity;
|
|
14322
14391
|
declare namespace index_d$k {
|
|
14323
|
-
export { type ActionEvent$g as ActionEvent, type index_d$k_AddToCheckoutOptions as AddToCheckoutOptions, type index_d$k_AddToCheckoutRequest as AddToCheckoutRequest, type index_d$k_AddToCheckoutResponse as AddToCheckoutResponse, type index_d$k_AddToCheckoutResponseNonNullableFields as AddToCheckoutResponseNonNullableFields, type AdditionalFee$4 as AdditionalFee, type Address$8 as Address, type AddressAddressLine1OptionsOneOf$1 as AddressAddressLine1OptionsOneOf, type AddressLocation$7 as AddressLocation, type AddressWithContact$3 as AddressWithContact, type AggregatedTaxBreakdown$2 as AggregatedTaxBreakdown, type index_d$k_ApiAddress as ApiAddress, type ApplicationError$9 as ApplicationError, type AppliedCoupon$1 as AppliedCoupon, type AppliedDiscount$4 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$4 as AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails$2 as AutoTaxFallbackCalculationDetails, type BaseEventMetadata$9 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$4 as CarrierError, type CarrierErrors$3 as CarrierErrors, type CarrierServiceOption$2 as CarrierServiceOption, type CatalogOverrideFields$1 as CatalogOverrideFields, type CatalogReference$6 as CatalogReference, type ChannelInfo$3 as ChannelInfo, index_d$k_ChannelInfoChannelType as ChannelInfoChannelType, ChannelType$4 as ChannelType, type index_d$k_ChargeDetails as ChargeDetails, ChargeType$4 as ChargeType, type Checkout$1 as Checkout, type index_d$k_CheckoutCompletedEnvelope as CheckoutCompletedEnvelope, type index_d$k_CheckoutCreatedEnvelope as CheckoutCreatedEnvelope, type index_d$k_CheckoutMarkedAsCompleted as CheckoutMarkedAsCompleted, type index_d$k_CheckoutNonNullableFields as CheckoutNonNullableFields, type index_d$k_CheckoutUpdatedEnvelope as CheckoutUpdatedEnvelope, type Color$3 as Color, type index_d$k_CommonVatId as CommonVatId, index_d$k_CommonVatType as CommonVatType, type ConversionInfo$1 as ConversionInfo, type Coupon$4 as Coupon, type index_d$k_CreateCheckoutOptions as CreateCheckoutOptions, type index_d$k_CreateCheckoutRequest as CreateCheckoutRequest, type index_d$k_CreateCheckoutResponse as CreateCheckoutResponse, type index_d$k_CreateCheckoutResponseNonNullableFields as CreateCheckoutResponseNonNullableFields, type index_d$k_CreateOrderAndChargeRequest as CreateOrderAndChargeRequest, type index_d$k_CreateOrderAndChargeResponse as CreateOrderAndChargeResponse, type index_d$k_CreateOrderAndChargeResponseIdOneOf as CreateOrderAndChargeResponseIdOneOf, type index_d$k_CreateOrderOptions as CreateOrderOptions, type CreateOrderRequest$1 as CreateOrderRequest, type CreateOrderResponse$1 as CreateOrderResponse, type index_d$k_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$5 as DeliveryLogistics, type DeliveryTimeSlot$5 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$4 as Details, type DetailsKindOneOf$4 as DetailsKindOneOf, type Discount$2 as Discount, index_d$k_DiscountDiscountType as DiscountDiscountType, type DiscountRule$4 as DiscountRule, type DiscountRuleName$4 as DiscountRuleName, DiscountType$4 as DiscountType, type DomainEvent$g as DomainEvent, type DomainEventBodyOneOf$g as DomainEventBodyOneOf, type index_d$k_DoublePaymentErrorData as DoublePaymentErrorData, type index_d$k_DoublePaymentErrorDataIdOneOf as DoublePaymentErrorDataIdOneOf, type Empty$9 as Empty, type EntityCreatedEvent$g as EntityCreatedEvent, type EntityDeletedEvent$g as EntityDeletedEvent, type EntityUpdatedEvent$g as EntityUpdatedEvent, type EventMetadata$9 as EventMetadata, type ExtendedFields$8 as ExtendedFields, type ExternalReference$2 as ExternalReference, FallbackReason$2 as FallbackReason, type FieldViolation$4 as FieldViolation, FileType$2 as FileType, type FullAddressContactDetails$4 as FullAddressContactDetails, type FullName$1 as FullName, type index_d$k_GetCheckoutByCartIdRequest as GetCheckoutByCartIdRequest, type index_d$k_GetCheckoutByCartIdResponse as GetCheckoutByCartIdResponse, type index_d$k_GetCheckoutByCartIdResponseNonNullableFields as GetCheckoutByCartIdResponseNonNullableFields, type index_d$k_GetCheckoutPaymentSettingsRequest as GetCheckoutPaymentSettingsRequest, type index_d$k_GetCheckoutPaymentSettingsResponse as GetCheckoutPaymentSettingsResponse, type index_d$k_GetCheckoutPaymentSettingsResponseNonNullableFields as GetCheckoutPaymentSettingsResponseNonNullableFields, index_d$k_GetCheckoutPaymentSettingsResponsePaymentOption as GetCheckoutPaymentSettingsResponsePaymentOption, type index_d$k_GetCheckoutRequest as GetCheckoutRequest, type index_d$k_GetCheckoutResponse as GetCheckoutResponse, type index_d$k_GetCheckoutResponseNonNullableFields as GetCheckoutResponseNonNullableFields, type index_d$k_GetCheckoutURLRequest as GetCheckoutURLRequest, type index_d$k_GetCheckoutURLResponse as GetCheckoutURLResponse, type index_d$k_GetCheckoutURLResponseNonNullableFields as GetCheckoutURLResponseNonNullableFields, type index_d$k_GetCheckoutWithAllExtendedFieldsRequest as GetCheckoutWithAllExtendedFieldsRequest, type index_d$k_GetCheckoutWithAllExtendedFieldsResponse as GetCheckoutWithAllExtendedFieldsResponse, type index_d$k_GetWixCheckoutURLRequest as GetWixCheckoutURLRequest, type index_d$k_GetWixCheckoutURLResponse as GetWixCheckoutURLResponse, type GiftCard$4 as GiftCard, type Group$2 as Group, type IdentificationData$g as IdentificationData, type IdentificationDataIdOneOf$g as IdentificationDataIdOneOf, IdentityType$4 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$k_LineItemQuantityUpdate as LineItemQuantityUpdate, LineItemType$1 as LineItemType, ManualCalculationReason$2 as ManualCalculationReason, type index_d$k_MarkCheckoutAsCompletedRequest as MarkCheckoutAsCompletedRequest, type index_d$k_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$f 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$k_PaymentErrorResponseData as PaymentErrorResponseData, type PaymentOption$1 as PaymentOption, PaymentOptionType$4 as PaymentOptionType, type PhysicalProperties$5 as PhysicalProperties, type PickupAddress$3 as PickupAddress, type PickupDetails$6 as PickupDetails, PickupMethod$5 as PickupMethod, type PlainTextValue$3 as PlainTextValue, type PriceDescription$3 as PriceDescription, type PriceSummary$4 as PriceSummary, type index_d$k_ProductDetails as ProductDetails, type ProductName$3 as ProductName, RateType$2 as RateType, type index_d$k_RedeemErrorData as RedeemErrorData, type index_d$k_RemoveCouponRequest as RemoveCouponRequest, type index_d$k_RemoveCouponResponse as RemoveCouponResponse, type index_d$k_RemoveCouponResponseNonNullableFields as RemoveCouponResponseNonNullableFields, type index_d$k_RemoveGiftCardRequest as RemoveGiftCardRequest, type index_d$k_RemoveGiftCardResponse as RemoveGiftCardResponse, type index_d$k_RemoveGiftCardResponseNonNullableFields as RemoveGiftCardResponseNonNullableFields, type index_d$k_RemoveLineItemsRequest as RemoveLineItemsRequest, type index_d$k_RemoveLineItemsResponse as RemoveLineItemsResponse, type index_d$k_RemoveLineItemsResponseNonNullableFields as RemoveLineItemsResponseNonNullableFields, type index_d$k_RemoveOverrideCheckoutUrlRequest as RemoveOverrideCheckoutUrlRequest, type index_d$k_RemoveOverrideCheckoutUrlResponse as RemoveOverrideCheckoutUrlResponse, type index_d$k_RemoveOverrideCheckoutUrlResponseNonNullableFields as RemoveOverrideCheckoutUrlResponseNonNullableFields, type RestoreInfo$g as RestoreInfo, RuleType$4 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$k_ShippingCalculationErrorData as ShippingCalculationErrorData, type index_d$k_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$k_StoreSettings as StoreSettings, type Street$1 as Street, type StreetAddress$7 as StreetAddress, type index_d$k_Subscription as Subscription, type index_d$k_SubscriptionCreated as SubscriptionCreated, SubscriptionFrequency$5 as SubscriptionFrequency, type SubscriptionOptionInfo$2 as SubscriptionOptionInfo, type SubscriptionSettings$5 as SubscriptionSettings, SuggestedFix$1 as SuggestedFix, type SystemError$4 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$k_UpdateCheckout as UpdateCheckout, type index_d$k_UpdateCheckoutOptions as UpdateCheckoutOptions, type index_d$k_UpdateCheckoutRequest as UpdateCheckoutRequest, type index_d$k_UpdateCheckoutResponse as UpdateCheckoutResponse, type index_d$k_UpdateCheckoutResponseNonNullableFields as UpdateCheckoutResponseNonNullableFields, type index_d$k_UpdateLineItemsQuantityRequest as UpdateLineItemsQuantityRequest, type index_d$k_UpdateLineItemsQuantityResponse as UpdateLineItemsQuantityResponse, type index_d$k_UpdateLineItemsQuantityResponseNonNullableFields as UpdateLineItemsQuantityResponseNonNullableFields, type index_d$k_UpdatedCheckoutMessage as UpdatedCheckoutMessage, type index_d$k_V1BuyerInfo as V1BuyerInfo, type index_d$k_V1CustomField as V1CustomField, type V1LineItem$1 as V1LineItem, type V1PickupDetails$1 as V1PickupDetails, type index_d$k_V1ShippingInfo as V1ShippingInfo, type index_d$k_V1ShippingInfoDetailsOneOf as V1ShippingInfoDetailsOneOf, type index_d$k_V1SubscriptionOptionInfo as V1SubscriptionOptionInfo, type index_d$k_V1SubscriptionSettings as V1SubscriptionSettings, type ValidationError$4 as ValidationError, type VatId$5 as VatId, VatType$5 as VatType, type Violation$1 as Violation, type index_d$k_ViolationsList as ViolationsList, WebhookIdentityType$f as WebhookIdentityType, WeightUnit$6 as WeightUnit, type index_d$k__publicOnCheckoutCompletedType as _publicOnCheckoutCompletedType, type index_d$k__publicOnCheckoutCreatedType as _publicOnCheckoutCreatedType, type index_d$k__publicOnCheckoutUpdatedType as _publicOnCheckoutUpdatedType, index_d$k_addToCheckout as addToCheckout, index_d$k_createCheckout as createCheckout, createOrder$2 as createOrder, index_d$k_getCheckout as getCheckout, index_d$k_getCheckoutByCartId as getCheckoutByCartId, index_d$k_getCheckoutPaymentSettings as getCheckoutPaymentSettings, index_d$k_getCheckoutUrl as getCheckoutUrl, index_d$k_markCheckoutAsCompleted as markCheckoutAsCompleted, index_d$k_onCheckoutCompleted as onCheckoutCompleted, index_d$k_onCheckoutCreated as onCheckoutCreated, index_d$k_onCheckoutUpdated as onCheckoutUpdated, onCheckoutCompleted$1 as publicOnCheckoutCompleted, onCheckoutCreated$1 as publicOnCheckoutCreated, onCheckoutUpdated$1 as publicOnCheckoutUpdated, index_d$k_removeCoupon as removeCoupon, index_d$k_removeGiftCard as removeGiftCard, index_d$k_removeLineItems as removeLineItems, index_d$k_removeOverrideCheckoutUrl as removeOverrideCheckoutUrl, index_d$k_updateCheckout as updateCheckout, index_d$k_updateLineItemsQuantity as updateLineItemsQuantity };
|
|
14392
|
+
export { type ActionEvent$g as ActionEvent, type index_d$k_AddToCheckoutOptions as AddToCheckoutOptions, type index_d$k_AddToCheckoutRequest as AddToCheckoutRequest, type index_d$k_AddToCheckoutResponse as AddToCheckoutResponse, type index_d$k_AddToCheckoutResponseNonNullableFields as AddToCheckoutResponseNonNullableFields, type AdditionalFee$4 as AdditionalFee, type Address$8 as Address, type AddressAddressLine1OptionsOneOf$1 as AddressAddressLine1OptionsOneOf, type AddressLocation$7 as AddressLocation, type AddressWithContact$3 as AddressWithContact, type AggregatedTaxBreakdown$2 as AggregatedTaxBreakdown, type index_d$k_ApiAddress as ApiAddress, type ApplicationError$9 as ApplicationError, type AppliedCoupon$1 as AppliedCoupon, type AppliedDiscount$4 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$4 as AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails$2 as AutoTaxFallbackCalculationDetails, type BaseEventMetadata$8 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$4 as CarrierError, type CarrierErrors$3 as CarrierErrors, type CarrierServiceOption$2 as CarrierServiceOption, type CatalogOverrideFields$1 as CatalogOverrideFields, type CatalogReference$6 as CatalogReference, type ChannelInfo$3 as ChannelInfo, index_d$k_ChannelInfoChannelType as ChannelInfoChannelType, ChannelType$4 as ChannelType, type index_d$k_ChargeDetails as ChargeDetails, ChargeType$4 as ChargeType, type Checkout$1 as Checkout, type index_d$k_CheckoutCompletedEnvelope as CheckoutCompletedEnvelope, type index_d$k_CheckoutCreatedEnvelope as CheckoutCreatedEnvelope, type index_d$k_CheckoutMarkedAsCompleted as CheckoutMarkedAsCompleted, type index_d$k_CheckoutNonNullableFields as CheckoutNonNullableFields, type index_d$k_CheckoutUpdatedEnvelope as CheckoutUpdatedEnvelope, type Color$3 as Color, type index_d$k_CommonVatId as CommonVatId, index_d$k_CommonVatType as CommonVatType, type ConversionInfo$1 as ConversionInfo, type Coupon$4 as Coupon, type index_d$k_CreateCheckoutOptions as CreateCheckoutOptions, type index_d$k_CreateCheckoutRequest as CreateCheckoutRequest, type index_d$k_CreateCheckoutResponse as CreateCheckoutResponse, type index_d$k_CreateCheckoutResponseNonNullableFields as CreateCheckoutResponseNonNullableFields, type index_d$k_CreateOrderAndChargeRequest as CreateOrderAndChargeRequest, type index_d$k_CreateOrderAndChargeResponse as CreateOrderAndChargeResponse, type index_d$k_CreateOrderAndChargeResponseIdOneOf as CreateOrderAndChargeResponseIdOneOf, type index_d$k_CreateOrderOptions as CreateOrderOptions, type CreateOrderRequest$1 as CreateOrderRequest, type CreateOrderResponse$1 as CreateOrderResponse, type index_d$k_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$5 as DeliveryLogistics, type DeliveryTimeSlot$5 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$4 as Details, type DetailsKindOneOf$4 as DetailsKindOneOf, type Discount$2 as Discount, index_d$k_DiscountDiscountType as DiscountDiscountType, type DiscountRule$4 as DiscountRule, type DiscountRuleName$4 as DiscountRuleName, DiscountType$4 as DiscountType, type DomainEvent$g as DomainEvent, type DomainEventBodyOneOf$g as DomainEventBodyOneOf, type index_d$k_DoublePaymentErrorData as DoublePaymentErrorData, type index_d$k_DoublePaymentErrorDataIdOneOf as DoublePaymentErrorDataIdOneOf, type Empty$9 as Empty, type EntityCreatedEvent$g as EntityCreatedEvent, type EntityDeletedEvent$g as EntityDeletedEvent, type EntityUpdatedEvent$g as EntityUpdatedEvent, type EventMetadata$8 as EventMetadata, type ExtendedFields$8 as ExtendedFields, type ExternalReference$2 as ExternalReference, FallbackReason$2 as FallbackReason, type FieldViolation$4 as FieldViolation, FileType$2 as FileType, type FreeTrialPeriod$1 as FreeTrialPeriod, type FullAddressContactDetails$4 as FullAddressContactDetails, type FullName$1 as FullName, type index_d$k_GetCheckoutByCartIdRequest as GetCheckoutByCartIdRequest, type index_d$k_GetCheckoutByCartIdResponse as GetCheckoutByCartIdResponse, type index_d$k_GetCheckoutByCartIdResponseNonNullableFields as GetCheckoutByCartIdResponseNonNullableFields, type index_d$k_GetCheckoutPaymentSettingsRequest as GetCheckoutPaymentSettingsRequest, type index_d$k_GetCheckoutPaymentSettingsResponse as GetCheckoutPaymentSettingsResponse, type index_d$k_GetCheckoutPaymentSettingsResponseNonNullableFields as GetCheckoutPaymentSettingsResponseNonNullableFields, index_d$k_GetCheckoutPaymentSettingsResponsePaymentOption as GetCheckoutPaymentSettingsResponsePaymentOption, type index_d$k_GetCheckoutRequest as GetCheckoutRequest, type index_d$k_GetCheckoutResponse as GetCheckoutResponse, type index_d$k_GetCheckoutResponseNonNullableFields as GetCheckoutResponseNonNullableFields, type index_d$k_GetCheckoutURLRequest as GetCheckoutURLRequest, type index_d$k_GetCheckoutURLResponse as GetCheckoutURLResponse, type index_d$k_GetCheckoutURLResponseNonNullableFields as GetCheckoutURLResponseNonNullableFields, type index_d$k_GetCheckoutWithAllExtendedFieldsRequest as GetCheckoutWithAllExtendedFieldsRequest, type index_d$k_GetCheckoutWithAllExtendedFieldsResponse as GetCheckoutWithAllExtendedFieldsResponse, type index_d$k_GetWixCheckoutURLRequest as GetWixCheckoutURLRequest, type index_d$k_GetWixCheckoutURLResponse as GetWixCheckoutURLResponse, type GiftCard$4 as GiftCard, type Group$2 as Group, type IdentificationData$g as IdentificationData, type IdentificationDataIdOneOf$g as IdentificationDataIdOneOf, IdentityType$4 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$k_LineItemQuantityUpdate as LineItemQuantityUpdate, LineItemType$1 as LineItemType, ManualCalculationReason$2 as ManualCalculationReason, type index_d$k_MarkCheckoutAsCompletedRequest as MarkCheckoutAsCompletedRequest, type index_d$k_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$f 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$k_PaymentErrorResponseData as PaymentErrorResponseData, type PaymentOption$1 as PaymentOption, PaymentOptionType$4 as PaymentOptionType, type PhysicalProperties$5 as PhysicalProperties, type PickupAddress$3 as PickupAddress, type PickupDetails$6 as PickupDetails, PickupMethod$5 as PickupMethod, type PlainTextValue$3 as PlainTextValue, type PriceDescription$3 as PriceDescription, type PriceSummary$4 as PriceSummary, type index_d$k_ProductDetails as ProductDetails, type ProductName$3 as ProductName, RateType$2 as RateType, type index_d$k_RedeemErrorData as RedeemErrorData, type index_d$k_RemoveCouponRequest as RemoveCouponRequest, type index_d$k_RemoveCouponResponse as RemoveCouponResponse, type index_d$k_RemoveCouponResponseNonNullableFields as RemoveCouponResponseNonNullableFields, type index_d$k_RemoveGiftCardRequest as RemoveGiftCardRequest, type index_d$k_RemoveGiftCardResponse as RemoveGiftCardResponse, type index_d$k_RemoveGiftCardResponseNonNullableFields as RemoveGiftCardResponseNonNullableFields, type index_d$k_RemoveLineItemsRequest as RemoveLineItemsRequest, type index_d$k_RemoveLineItemsResponse as RemoveLineItemsResponse, type index_d$k_RemoveLineItemsResponseNonNullableFields as RemoveLineItemsResponseNonNullableFields, type index_d$k_RemoveOverrideCheckoutUrlRequest as RemoveOverrideCheckoutUrlRequest, type index_d$k_RemoveOverrideCheckoutUrlResponse as RemoveOverrideCheckoutUrlResponse, type index_d$k_RemoveOverrideCheckoutUrlResponseNonNullableFields as RemoveOverrideCheckoutUrlResponseNonNullableFields, type RestoreInfo$g as RestoreInfo, RuleType$4 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$k_ShippingCalculationErrorData as ShippingCalculationErrorData, type index_d$k_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$k_StoreSettings as StoreSettings, type Street$1 as Street, type StreetAddress$7 as StreetAddress, type index_d$k_Subscription as Subscription, type index_d$k_SubscriptionCreated as SubscriptionCreated, SubscriptionFrequency$5 as SubscriptionFrequency, type SubscriptionOptionInfo$2 as SubscriptionOptionInfo, type SubscriptionSettings$5 as SubscriptionSettings, SuggestedFix$1 as SuggestedFix, type SystemError$4 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$k_UpdateCheckout as UpdateCheckout, type index_d$k_UpdateCheckoutOptions as UpdateCheckoutOptions, type index_d$k_UpdateCheckoutRequest as UpdateCheckoutRequest, type index_d$k_UpdateCheckoutResponse as UpdateCheckoutResponse, type index_d$k_UpdateCheckoutResponseNonNullableFields as UpdateCheckoutResponseNonNullableFields, type index_d$k_UpdateLineItemsQuantityRequest as UpdateLineItemsQuantityRequest, type index_d$k_UpdateLineItemsQuantityResponse as UpdateLineItemsQuantityResponse, type index_d$k_UpdateLineItemsQuantityResponseNonNullableFields as UpdateLineItemsQuantityResponseNonNullableFields, type index_d$k_UpdatedCheckoutMessage as UpdatedCheckoutMessage, type index_d$k_V1BuyerInfo as V1BuyerInfo, type index_d$k_V1CustomField as V1CustomField, type V1LineItem$1 as V1LineItem, type V1PickupDetails$1 as V1PickupDetails, type index_d$k_V1ShippingInfo as V1ShippingInfo, type index_d$k_V1ShippingInfoDetailsOneOf as V1ShippingInfoDetailsOneOf, type index_d$k_V1SubscriptionOptionInfo as V1SubscriptionOptionInfo, type index_d$k_V1SubscriptionSettings as V1SubscriptionSettings, type ValidationError$4 as ValidationError, type VatId$5 as VatId, VatType$5 as VatType, type Violation$1 as Violation, type index_d$k_ViolationsList as ViolationsList, WebhookIdentityType$f as WebhookIdentityType, WeightUnit$6 as WeightUnit, type index_d$k__publicOnCheckoutCompletedType as _publicOnCheckoutCompletedType, type index_d$k__publicOnCheckoutCreatedType as _publicOnCheckoutCreatedType, type index_d$k__publicOnCheckoutUpdatedType as _publicOnCheckoutUpdatedType, index_d$k_addToCheckout as addToCheckout, index_d$k_createCheckout as createCheckout, createOrder$2 as createOrder, index_d$k_getCheckout as getCheckout, index_d$k_getCheckoutByCartId as getCheckoutByCartId, index_d$k_getCheckoutPaymentSettings as getCheckoutPaymentSettings, index_d$k_getCheckoutUrl as getCheckoutUrl, index_d$k_markCheckoutAsCompleted as markCheckoutAsCompleted, index_d$k_onCheckoutCompleted as onCheckoutCompleted, index_d$k_onCheckoutCreated as onCheckoutCreated, index_d$k_onCheckoutUpdated as onCheckoutUpdated, onCheckoutCompleted$1 as publicOnCheckoutCompleted, onCheckoutCreated$1 as publicOnCheckoutCreated, onCheckoutUpdated$1 as publicOnCheckoutUpdated, index_d$k_removeCoupon as removeCoupon, index_d$k_removeGiftCard as removeGiftCard, index_d$k_removeLineItems as removeLineItems, index_d$k_removeOverrideCheckoutUrl as removeOverrideCheckoutUrl, index_d$k_updateCheckout as updateCheckout, index_d$k_updateLineItemsQuantity as updateLineItemsQuantity };
|
|
14324
14393
|
}
|
|
14325
14394
|
|
|
14326
14395
|
interface CheckoutSettings {
|
|
@@ -14661,7 +14730,7 @@ interface GetCheckoutSettingsResponseNonNullableFields {
|
|
|
14661
14730
|
interface UpdateCheckoutSettingsResponseNonNullableFields {
|
|
14662
14731
|
checkoutSettings?: CheckoutSettingsNonNullableFields;
|
|
14663
14732
|
}
|
|
14664
|
-
interface BaseEventMetadata$
|
|
14733
|
+
interface BaseEventMetadata$7 {
|
|
14665
14734
|
/** App instance ID. */
|
|
14666
14735
|
instanceId?: string | null;
|
|
14667
14736
|
/** Event type. */
|
|
@@ -14669,7 +14738,7 @@ interface BaseEventMetadata$8 {
|
|
|
14669
14738
|
/** The identification type and identity data. */
|
|
14670
14739
|
identity?: IdentificationData$f;
|
|
14671
14740
|
}
|
|
14672
|
-
interface EventMetadata$
|
|
14741
|
+
interface EventMetadata$7 extends BaseEventMetadata$7 {
|
|
14673
14742
|
/**
|
|
14674
14743
|
* Unique event ID.
|
|
14675
14744
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -14709,7 +14778,7 @@ interface EventMetadata$8 extends BaseEventMetadata$8 {
|
|
|
14709
14778
|
}
|
|
14710
14779
|
interface CheckoutSettingsUpdatedEnvelope {
|
|
14711
14780
|
entity: CheckoutSettings;
|
|
14712
|
-
metadata: EventMetadata$
|
|
14781
|
+
metadata: EventMetadata$7;
|
|
14713
14782
|
}
|
|
14714
14783
|
|
|
14715
14784
|
declare function getCheckoutSettings$1(httpClient: HttpClient): GetCheckoutSettingsSignature;
|
|
@@ -14737,7 +14806,7 @@ interface UpdateCheckoutSettingsSignature {
|
|
|
14737
14806
|
}
|
|
14738
14807
|
declare const onCheckoutSettingsUpdated$1: EventDefinition<CheckoutSettingsUpdatedEnvelope, "wix.ecom.v1.checkout_settings_updated">;
|
|
14739
14808
|
|
|
14740
|
-
declare function createEventModule$
|
|
14809
|
+
declare function createEventModule$7<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
14741
14810
|
|
|
14742
14811
|
declare const getCheckoutSettings: MaybeContext<BuildRESTFunction<typeof getCheckoutSettings$1> & typeof getCheckoutSettings$1>;
|
|
14743
14812
|
declare const updateCheckoutSettings: MaybeContext<BuildRESTFunction<typeof updateCheckoutSettings$1> & typeof updateCheckoutSettings$1>;
|
|
@@ -14746,7 +14815,7 @@ type _publicOnCheckoutSettingsUpdatedType = typeof onCheckoutSettingsUpdated$1;
|
|
|
14746
14815
|
/**
|
|
14747
14816
|
* Triggered when checkout settings are updated.
|
|
14748
14817
|
*/
|
|
14749
|
-
declare const onCheckoutSettingsUpdated: ReturnType<typeof createEventModule$
|
|
14818
|
+
declare const onCheckoutSettingsUpdated: ReturnType<typeof createEventModule$7<_publicOnCheckoutSettingsUpdatedType>>;
|
|
14750
14819
|
|
|
14751
14820
|
type index_d$j_Alignment = Alignment;
|
|
14752
14821
|
declare const index_d$j_Alignment: typeof Alignment;
|
|
@@ -14782,7 +14851,7 @@ declare const index_d$j_getCheckoutSettings: typeof getCheckoutSettings;
|
|
|
14782
14851
|
declare const index_d$j_onCheckoutSettingsUpdated: typeof onCheckoutSettingsUpdated;
|
|
14783
14852
|
declare const index_d$j_updateCheckoutSettings: typeof updateCheckoutSettings;
|
|
14784
14853
|
declare namespace index_d$j {
|
|
14785
|
-
export { type ActionEvent$f as ActionEvent, index_d$j_Alignment as Alignment, type BaseEventMetadata$
|
|
14854
|
+
export { type ActionEvent$f as ActionEvent, index_d$j_Alignment as Alignment, type BaseEventMetadata$7 as BaseEventMetadata, type index_d$j_CheckboxField as CheckboxField, type index_d$j_CheckoutBrand as CheckoutBrand, type index_d$j_CheckoutFields as CheckoutFields, type index_d$j_CheckoutHeader as CheckoutHeader, type index_d$j_CheckoutPolicies as CheckoutPolicies, type index_d$j_CheckoutSettings as CheckoutSettings, type index_d$j_CheckoutSettingsUpdatedEnvelope as CheckoutSettingsUpdatedEnvelope, type index_d$j_ContactUsPolicy as ContactUsPolicy, type index_d$j_CustomCheckoutPolicy as CustomCheckoutPolicy, type index_d$j_DeleteCheckoutSettingsRequest as DeleteCheckoutSettingsRequest, type index_d$j_DeleteCheckoutSettingsResponse as DeleteCheckoutSettingsResponse, type index_d$j_DigitalItemPolicy as DigitalItemPolicy, type DomainEvent$f as DomainEvent, type DomainEventBodyOneOf$f as DomainEventBodyOneOf, type Empty$8 as Empty, type EntityCreatedEvent$f as EntityCreatedEvent, type EntityDeletedEvent$f as EntityDeletedEvent, type EntityUpdatedEvent$f as EntityUpdatedEvent, type EventMetadata$7 as EventMetadata, type index_d$j_GetCheckoutSettingsRequest as GetCheckoutSettingsRequest, type index_d$j_GetCheckoutSettingsResponse as GetCheckoutSettingsResponse, type index_d$j_GetCheckoutSettingsResponseNonNullableFields as GetCheckoutSettingsResponseNonNullableFields, type index_d$j_GiftCardProviderWasProvisioned as GiftCardProviderWasProvisioned, type IdentificationData$f as IdentificationData, type IdentificationDataIdOneOf$f as IdentificationDataIdOneOf, type index_d$j_ListCheckoutSettingsRequest as ListCheckoutSettingsRequest, type index_d$j_ListCheckoutSettingsResponse as ListCheckoutSettingsResponse, type index_d$j_Logo as Logo, index_d$j_LogoSize as LogoSize, type MessageEnvelope$e as MessageEnvelope, type index_d$j_PrivacyPolicy as PrivacyPolicy, type RestoreInfo$f as RestoreInfo, type index_d$j_ReturnPolicy as ReturnPolicy, type index_d$j_TermsAndConditionsPolicy as TermsAndConditionsPolicy, type index_d$j_UpdateCheckoutSettingsRequest as UpdateCheckoutSettingsRequest, type index_d$j_UpdateCheckoutSettingsResponse as UpdateCheckoutSettingsResponse, type index_d$j_UpdateCheckoutSettingsResponseNonNullableFields as UpdateCheckoutSettingsResponseNonNullableFields, WebhookIdentityType$e as WebhookIdentityType, type index_d$j__publicOnCheckoutSettingsUpdatedType as _publicOnCheckoutSettingsUpdatedType, index_d$j_getCheckoutSettings as getCheckoutSettings, index_d$j_onCheckoutSettingsUpdated as onCheckoutSettingsUpdated, onCheckoutSettingsUpdated$1 as publicOnCheckoutSettingsUpdated, index_d$j_updateCheckoutSettings as updateCheckoutSettings };
|
|
14786
14855
|
}
|
|
14787
14856
|
|
|
14788
14857
|
interface CheckoutTemplate {
|
|
@@ -15170,6 +15239,18 @@ interface SubscriptionSettings$4 {
|
|
|
15170
15239
|
autoRenewal?: boolean;
|
|
15171
15240
|
/** Number of billing cycles before subscription ends. Ignored if `autoRenewal` is `true`. */
|
|
15172
15241
|
billingCycles?: number | null;
|
|
15242
|
+
/**
|
|
15243
|
+
* Period until first cycle starts. If applied payNow will be 0
|
|
15244
|
+
* If None => no free trial
|
|
15245
|
+
*/
|
|
15246
|
+
freeTrialPeriod?: FreeTrialPeriod;
|
|
15247
|
+
/** The date the subscription will start. The subscription will be charged either now or according to freeTrialDays. */
|
|
15248
|
+
startDate?: Date | null;
|
|
15249
|
+
/**
|
|
15250
|
+
* Whether to generate an order each billing cycle. An order will always be generated for the first billing cycle.
|
|
15251
|
+
* Default None => will behave like true
|
|
15252
|
+
*/
|
|
15253
|
+
generateOrderEachBillingCycle?: boolean | null;
|
|
15173
15254
|
}
|
|
15174
15255
|
/** Frequency unit of recurring payment */
|
|
15175
15256
|
declare enum SubscriptionFrequency$4 {
|
|
@@ -15179,6 +15260,12 @@ declare enum SubscriptionFrequency$4 {
|
|
|
15179
15260
|
MONTH = "MONTH",
|
|
15180
15261
|
YEAR = "YEAR"
|
|
15181
15262
|
}
|
|
15263
|
+
interface FreeTrialPeriod {
|
|
15264
|
+
/** Frequency of priod. Values: DAY, WEEK, MONTH, YEAR */
|
|
15265
|
+
frequency?: SubscriptionFrequency$4;
|
|
15266
|
+
/** interval of period */
|
|
15267
|
+
interval?: number;
|
|
15268
|
+
}
|
|
15182
15269
|
interface Title {
|
|
15183
15270
|
/** Subscription option name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope). */
|
|
15184
15271
|
original?: string;
|
|
@@ -16797,10 +16884,15 @@ interface ItemTypeNonNullableFields$2 {
|
|
|
16797
16884
|
preset: ItemTypeItemType$3;
|
|
16798
16885
|
custom: string;
|
|
16799
16886
|
}
|
|
16887
|
+
interface FreeTrialPeriodNonNullableFields {
|
|
16888
|
+
frequency: SubscriptionFrequency$4;
|
|
16889
|
+
interval: number;
|
|
16890
|
+
}
|
|
16800
16891
|
interface SubscriptionSettingsNonNullableFields$2 {
|
|
16801
16892
|
frequency: SubscriptionFrequency$4;
|
|
16802
16893
|
autoRenewal: boolean;
|
|
16803
16894
|
enableCustomerCancellation: boolean;
|
|
16895
|
+
freeTrialPeriod?: FreeTrialPeriodNonNullableFields;
|
|
16804
16896
|
}
|
|
16805
16897
|
interface TitleNonNullableFields {
|
|
16806
16898
|
original: string;
|
|
@@ -16875,7 +16967,7 @@ interface RawHttpResponseNonNullableFields {
|
|
|
16875
16967
|
body: Uint8Array;
|
|
16876
16968
|
headers: HeadersEntryNonNullableFields[];
|
|
16877
16969
|
}
|
|
16878
|
-
interface BaseEventMetadata$
|
|
16970
|
+
interface BaseEventMetadata$6 {
|
|
16879
16971
|
/** App instance ID. */
|
|
16880
16972
|
instanceId?: string | null;
|
|
16881
16973
|
/** Event type. */
|
|
@@ -16883,7 +16975,7 @@ interface BaseEventMetadata$7 {
|
|
|
16883
16975
|
/** The identification type and identity data. */
|
|
16884
16976
|
identity?: IdentificationData$e;
|
|
16885
16977
|
}
|
|
16886
|
-
interface EventMetadata$
|
|
16978
|
+
interface EventMetadata$6 extends BaseEventMetadata$6 {
|
|
16887
16979
|
/**
|
|
16888
16980
|
* Unique event ID.
|
|
16889
16981
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -16923,18 +17015,18 @@ interface EventMetadata$7 extends BaseEventMetadata$7 {
|
|
|
16923
17015
|
}
|
|
16924
17016
|
interface CheckoutTemplateCreatedEnvelope {
|
|
16925
17017
|
entity: CheckoutTemplate;
|
|
16926
|
-
metadata: EventMetadata$
|
|
17018
|
+
metadata: EventMetadata$6;
|
|
16927
17019
|
}
|
|
16928
17020
|
interface CheckoutTemplateUpdatedEnvelope {
|
|
16929
17021
|
entity: CheckoutTemplate;
|
|
16930
|
-
metadata: EventMetadata$
|
|
17022
|
+
metadata: EventMetadata$6;
|
|
16931
17023
|
}
|
|
16932
17024
|
interface CheckoutTemplateDeletedEnvelope {
|
|
16933
|
-
metadata: EventMetadata$
|
|
17025
|
+
metadata: EventMetadata$6;
|
|
16934
17026
|
}
|
|
16935
17027
|
interface CheckoutTemplateUsedEnvelope {
|
|
16936
17028
|
data: CheckoutTemplateUsed;
|
|
16937
|
-
metadata: EventMetadata$
|
|
17029
|
+
metadata: EventMetadata$6;
|
|
16938
17030
|
}
|
|
16939
17031
|
interface UpdateCheckoutTemplate {
|
|
16940
17032
|
/**
|
|
@@ -17143,7 +17235,7 @@ declare const onCheckoutTemplateUpdated$1: EventDefinition<CheckoutTemplateUpdat
|
|
|
17143
17235
|
declare const onCheckoutTemplateDeleted$1: EventDefinition<CheckoutTemplateDeletedEnvelope, "wix.ecom.v1.checkout_template_deleted">;
|
|
17144
17236
|
declare const onCheckoutTemplateUsed$1: EventDefinition<CheckoutTemplateUsedEnvelope, "wix.ecom.v1.checkout_template_used">;
|
|
17145
17237
|
|
|
17146
|
-
declare function createEventModule$
|
|
17238
|
+
declare function createEventModule$6<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
17147
17239
|
|
|
17148
17240
|
declare const createCheckoutTemplate: MaybeContext<BuildRESTFunction<typeof createCheckoutTemplate$1> & typeof createCheckoutTemplate$1>;
|
|
17149
17241
|
declare const getCheckoutTemplate: MaybeContext<BuildRESTFunction<typeof getCheckoutTemplate$1> & typeof getCheckoutTemplate$1>;
|
|
@@ -17157,25 +17249,25 @@ type _publicOnCheckoutTemplateCreatedType = typeof onCheckoutTemplateCreated$1;
|
|
|
17157
17249
|
/**
|
|
17158
17250
|
* Triggered when a checkout template is created.
|
|
17159
17251
|
*/
|
|
17160
|
-
declare const onCheckoutTemplateCreated: ReturnType<typeof createEventModule$
|
|
17252
|
+
declare const onCheckoutTemplateCreated: ReturnType<typeof createEventModule$6<_publicOnCheckoutTemplateCreatedType>>;
|
|
17161
17253
|
|
|
17162
17254
|
type _publicOnCheckoutTemplateUpdatedType = typeof onCheckoutTemplateUpdated$1;
|
|
17163
17255
|
/**
|
|
17164
17256
|
* Triggered when a checkout template is updated.
|
|
17165
17257
|
*/
|
|
17166
|
-
declare const onCheckoutTemplateUpdated: ReturnType<typeof createEventModule$
|
|
17258
|
+
declare const onCheckoutTemplateUpdated: ReturnType<typeof createEventModule$6<_publicOnCheckoutTemplateUpdatedType>>;
|
|
17167
17259
|
|
|
17168
17260
|
type _publicOnCheckoutTemplateDeletedType = typeof onCheckoutTemplateDeleted$1;
|
|
17169
17261
|
/**
|
|
17170
17262
|
* Triggered when a checkout template is deleted.
|
|
17171
17263
|
*/
|
|
17172
|
-
declare const onCheckoutTemplateDeleted: ReturnType<typeof createEventModule$
|
|
17264
|
+
declare const onCheckoutTemplateDeleted: ReturnType<typeof createEventModule$6<_publicOnCheckoutTemplateDeletedType>>;
|
|
17173
17265
|
|
|
17174
17266
|
type _publicOnCheckoutTemplateUsedType = typeof onCheckoutTemplateUsed$1;
|
|
17175
17267
|
/**
|
|
17176
17268
|
* Triggered when a checkout is created from a checkout template.
|
|
17177
17269
|
*/
|
|
17178
|
-
declare const onCheckoutTemplateUsed: ReturnType<typeof createEventModule$
|
|
17270
|
+
declare const onCheckoutTemplateUsed: ReturnType<typeof createEventModule$6<_publicOnCheckoutTemplateUsedType>>;
|
|
17179
17271
|
|
|
17180
17272
|
type index_d$i_CatalogOverrideFields = CatalogOverrideFields;
|
|
17181
17273
|
type index_d$i_Checkout = Checkout;
|
|
@@ -17203,6 +17295,7 @@ type index_d$i_CustomSettings = CustomSettings;
|
|
|
17203
17295
|
type index_d$i_DeleteCheckoutTemplateRequest = DeleteCheckoutTemplateRequest;
|
|
17204
17296
|
type index_d$i_DeleteCheckoutTemplateResponse = DeleteCheckoutTemplateResponse;
|
|
17205
17297
|
type index_d$i_Description = Description;
|
|
17298
|
+
type index_d$i_FreeTrialPeriod = FreeTrialPeriod;
|
|
17206
17299
|
type index_d$i_GetCheckoutTemplateRequest = GetCheckoutTemplateRequest;
|
|
17207
17300
|
type index_d$i_GetCheckoutTemplateResponse = GetCheckoutTemplateResponse;
|
|
17208
17301
|
type index_d$i_GetCheckoutTemplateResponseNonNullableFields = GetCheckoutTemplateResponseNonNullableFields;
|
|
@@ -17252,7 +17345,7 @@ declare const index_d$i_onCheckoutTemplateUsed: typeof onCheckoutTemplateUsed;
|
|
|
17252
17345
|
declare const index_d$i_queryCheckoutTemplates: typeof queryCheckoutTemplates;
|
|
17253
17346
|
declare const index_d$i_updateCheckoutTemplate: typeof updateCheckoutTemplate;
|
|
17254
17347
|
declare namespace index_d$i {
|
|
17255
|
-
export { type ActionEvent$e as ActionEvent, type AdditionalFee$3 as AdditionalFee, type Address$7 as Address, type AddressLocation$6 as AddressLocation, type AddressWithContact$2 as AddressWithContact, type AggregatedTaxBreakdown$1 as AggregatedTaxBreakdown, type ApplicationError$8 as ApplicationError, type AppliedDiscount$3 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$3 as AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails$1 as AutoTaxFallbackCalculationDetails, type BaseEventMetadata$7 as BaseEventMetadata, type BuyerInfo$4 as BuyerInfo, type BuyerInfoIdOneOf$2 as BuyerInfoIdOneOf, type CalculationErrors$2 as CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf$2 as CalculationErrorsShippingCalculationErrorOneOf, type CarrierError$3 as CarrierError, type CarrierErrors$2 as CarrierErrors, type CarrierServiceOption$1 as CarrierServiceOption, type index_d$i_CatalogOverrideFields as CatalogOverrideFields, type CatalogReference$5 as CatalogReference, ChannelType$3 as ChannelType, ChargeType$3 as ChargeType, type index_d$i_Checkout as Checkout, type index_d$i_CheckoutCustomization as CheckoutCustomization, type index_d$i_CheckoutTemplate as CheckoutTemplate, type index_d$i_CheckoutTemplateCreatedEnvelope as CheckoutTemplateCreatedEnvelope, type index_d$i_CheckoutTemplateDeletedEnvelope as CheckoutTemplateDeletedEnvelope, type index_d$i_CheckoutTemplateNonNullableFields as CheckoutTemplateNonNullableFields, type index_d$i_CheckoutTemplateUpdatedEnvelope as CheckoutTemplateUpdatedEnvelope, type index_d$i_CheckoutTemplateUsed as CheckoutTemplateUsed, type index_d$i_CheckoutTemplateUsedEnvelope as CheckoutTemplateUsedEnvelope, type index_d$i_CheckoutTemplatesQueryBuilder as CheckoutTemplatesQueryBuilder, type index_d$i_CheckoutTemplatesQueryResult as CheckoutTemplatesQueryResult, type Color$2 as Color, type index_d$i_ConversionInfo as ConversionInfo, type Coupon$3 as Coupon, type index_d$i_CreateAndRedirectToCheckoutRequest as CreateAndRedirectToCheckoutRequest, type index_d$i_CreateCheckoutFromTemplateRequest as CreateCheckoutFromTemplateRequest, type index_d$i_CreateCheckoutFromTemplateResponse as CreateCheckoutFromTemplateResponse, type index_d$i_CreateCheckoutFromTemplateResponseNonNullableFields as CreateCheckoutFromTemplateResponseNonNullableFields, type index_d$i_CreateCheckoutTemplateRequest as CreateCheckoutTemplateRequest, type index_d$i_CreateCheckoutTemplateResponse as CreateCheckoutTemplateResponse, type index_d$i_CreateCheckoutTemplateResponseNonNullableFields as CreateCheckoutTemplateResponseNonNullableFields, type CreatedBy$2 as CreatedBy, type index_d$i_CreatedByIdOneOf as CreatedByIdOneOf, type CursorPaging$b as CursorPaging, type CursorPagingMetadata$a as CursorPagingMetadata, type CursorQuery$7 as CursorQuery, type CursorQueryPagingMethodOneOf$7 as CursorQueryPagingMethodOneOf, type Cursors$b as Cursors, type index_d$i_CustomContentReference as CustomContentReference, type CustomField$3 as CustomField, type CustomLineItem$1 as CustomLineItem, type index_d$i_CustomSettings as CustomSettings, type index_d$i_DeleteCheckoutTemplateRequest as DeleteCheckoutTemplateRequest, type index_d$i_DeleteCheckoutTemplateResponse as DeleteCheckoutTemplateResponse, type DeliveryLogistics$4 as DeliveryLogistics, type DeliveryTimeSlot$4 as DeliveryTimeSlot, type index_d$i_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$3 as Details, type DetailsKindOneOf$3 as DetailsKindOneOf, type DiscountRule$3 as DiscountRule, type DiscountRuleName$3 as DiscountRuleName, DiscountType$3 as DiscountType, type DomainEvent$e as DomainEvent, type DomainEventBodyOneOf$e as DomainEventBodyOneOf, type EntityCreatedEvent$e as EntityCreatedEvent, type EntityDeletedEvent$e as EntityDeletedEvent, type EntityUpdatedEvent$e as EntityUpdatedEvent, type EventMetadata$7 as EventMetadata, type ExtendedFields$7 as ExtendedFields, type ExternalReference$1 as ExternalReference, FallbackReason$1 as FallbackReason, type FieldViolation$3 as FieldViolation, FileType$1 as FileType, type FullAddressContactDetails$3 as FullAddressContactDetails, type index_d$i_GetCheckoutTemplateRequest as GetCheckoutTemplateRequest, type index_d$i_GetCheckoutTemplateResponse as GetCheckoutTemplateResponse, type index_d$i_GetCheckoutTemplateResponseNonNullableFields as GetCheckoutTemplateResponseNonNullableFields, type GiftCard$3 as GiftCard, type Group$1 as Group, type index_d$i_HeadersEntry as HeadersEntry, type IdentificationData$e as IdentificationData, type IdentificationDataIdOneOf$e as IdentificationDataIdOneOf, type InvalidMembership$1 as InvalidMembership, type index_d$i_ItemAvailabilityInfo as ItemAvailabilityInfo, index_d$i_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$d as MessageEnvelope, type MultiCurrencyPrice$1 as MultiCurrencyPrice, index_d$i_NameInLineItem as NameInLineItem, index_d$i_NameInOther as NameInOther, type index_d$i_Other as Other, type OtherCharge$1 as OtherCharge, type index_d$i_PaymentOption as PaymentOption, PaymentOptionType$3 as PaymentOptionType, type PhysicalProperties$4 as PhysicalProperties, type PickupDetails$5 as PickupDetails, PickupMethod$4 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$i_QueryCheckoutTemplatesRequest as QueryCheckoutTemplatesRequest, type index_d$i_QueryCheckoutTemplatesResponse as QueryCheckoutTemplatesResponse, type index_d$i_QueryCheckoutTemplatesResponseNonNullableFields as QueryCheckoutTemplatesResponseNonNullableFields, RateType$1 as RateType, type index_d$i_RawHttpResponse as RawHttpResponse, type index_d$i_RawHttpResponseNonNullableFields as RawHttpResponseNonNullableFields, type RestoreInfo$e as RestoreInfo, RuleType$3 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$i_Severity as Severity, type ShippingInfo$1 as ShippingInfo, type ShippingOption$3 as ShippingOption, type ShippingPrice$3 as ShippingPrice, type ShippingRegion$3 as ShippingRegion, SortOrder$b as SortOrder, type Sorting$b as Sorting, Status$2 as Status, type StreetAddress$6 as StreetAddress, SubscriptionFrequency$4 as SubscriptionFrequency, type SubscriptionOptionInfo$1 as SubscriptionOptionInfo, type SubscriptionSettings$4 as SubscriptionSettings, index_d$i_SuggestedFix as SuggestedFix, type SystemError$3 as SystemError, type index_d$i_Target as Target, type index_d$i_TargetLineItem as TargetLineItem, type index_d$i_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$i_Title as Title, type index_d$i_UpdateCheckoutTemplate as UpdateCheckoutTemplate, type index_d$i_UpdateCheckoutTemplateRequest as UpdateCheckoutTemplateRequest, type index_d$i_UpdateCheckoutTemplateResponse as UpdateCheckoutTemplateResponse, type index_d$i_UpdateCheckoutTemplateResponseNonNullableFields as UpdateCheckoutTemplateResponseNonNullableFields, type index_d$i_V1LineItem as V1LineItem, type ValidationError$3 as ValidationError, type VatId$4 as VatId, VatType$4 as VatType, type index_d$i_Violation as Violation, type index_d$i_WebClientCustomization as WebClientCustomization, WebhookIdentityType$d as WebhookIdentityType, WeightUnit$5 as WeightUnit, type index_d$i__publicOnCheckoutTemplateCreatedType as _publicOnCheckoutTemplateCreatedType, type index_d$i__publicOnCheckoutTemplateDeletedType as _publicOnCheckoutTemplateDeletedType, type index_d$i__publicOnCheckoutTemplateUpdatedType as _publicOnCheckoutTemplateUpdatedType, type index_d$i__publicOnCheckoutTemplateUsedType as _publicOnCheckoutTemplateUsedType, index_d$i_createAndRedirectToCheckout as createAndRedirectToCheckout, index_d$i_createCheckoutFromTemplate as createCheckoutFromTemplate, index_d$i_createCheckoutTemplate as createCheckoutTemplate, index_d$i_deleteCheckoutTemplate as deleteCheckoutTemplate, index_d$i_getCheckoutTemplate as getCheckoutTemplate, index_d$i_onCheckoutTemplateCreated as onCheckoutTemplateCreated, index_d$i_onCheckoutTemplateDeleted as onCheckoutTemplateDeleted, index_d$i_onCheckoutTemplateUpdated as onCheckoutTemplateUpdated, index_d$i_onCheckoutTemplateUsed as onCheckoutTemplateUsed, onCheckoutTemplateCreated$1 as publicOnCheckoutTemplateCreated, onCheckoutTemplateDeleted$1 as publicOnCheckoutTemplateDeleted, onCheckoutTemplateUpdated$1 as publicOnCheckoutTemplateUpdated, onCheckoutTemplateUsed$1 as publicOnCheckoutTemplateUsed, index_d$i_queryCheckoutTemplates as queryCheckoutTemplates, index_d$i_updateCheckoutTemplate as updateCheckoutTemplate };
|
|
17348
|
+
export { type ActionEvent$e as ActionEvent, type AdditionalFee$3 as AdditionalFee, type Address$7 as Address, type AddressLocation$6 as AddressLocation, type AddressWithContact$2 as AddressWithContact, type AggregatedTaxBreakdown$1 as AggregatedTaxBreakdown, type ApplicationError$8 as ApplicationError, type AppliedDiscount$3 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$3 as AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails$1 as AutoTaxFallbackCalculationDetails, type BaseEventMetadata$6 as BaseEventMetadata, type BuyerInfo$4 as BuyerInfo, type BuyerInfoIdOneOf$2 as BuyerInfoIdOneOf, type CalculationErrors$2 as CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf$2 as CalculationErrorsShippingCalculationErrorOneOf, type CarrierError$3 as CarrierError, type CarrierErrors$2 as CarrierErrors, type CarrierServiceOption$1 as CarrierServiceOption, type index_d$i_CatalogOverrideFields as CatalogOverrideFields, type CatalogReference$5 as CatalogReference, ChannelType$3 as ChannelType, ChargeType$3 as ChargeType, type index_d$i_Checkout as Checkout, type index_d$i_CheckoutCustomization as CheckoutCustomization, type index_d$i_CheckoutTemplate as CheckoutTemplate, type index_d$i_CheckoutTemplateCreatedEnvelope as CheckoutTemplateCreatedEnvelope, type index_d$i_CheckoutTemplateDeletedEnvelope as CheckoutTemplateDeletedEnvelope, type index_d$i_CheckoutTemplateNonNullableFields as CheckoutTemplateNonNullableFields, type index_d$i_CheckoutTemplateUpdatedEnvelope as CheckoutTemplateUpdatedEnvelope, type index_d$i_CheckoutTemplateUsed as CheckoutTemplateUsed, type index_d$i_CheckoutTemplateUsedEnvelope as CheckoutTemplateUsedEnvelope, type index_d$i_CheckoutTemplatesQueryBuilder as CheckoutTemplatesQueryBuilder, type index_d$i_CheckoutTemplatesQueryResult as CheckoutTemplatesQueryResult, type Color$2 as Color, type index_d$i_ConversionInfo as ConversionInfo, type Coupon$3 as Coupon, type index_d$i_CreateAndRedirectToCheckoutRequest as CreateAndRedirectToCheckoutRequest, type index_d$i_CreateCheckoutFromTemplateRequest as CreateCheckoutFromTemplateRequest, type index_d$i_CreateCheckoutFromTemplateResponse as CreateCheckoutFromTemplateResponse, type index_d$i_CreateCheckoutFromTemplateResponseNonNullableFields as CreateCheckoutFromTemplateResponseNonNullableFields, type index_d$i_CreateCheckoutTemplateRequest as CreateCheckoutTemplateRequest, type index_d$i_CreateCheckoutTemplateResponse as CreateCheckoutTemplateResponse, type index_d$i_CreateCheckoutTemplateResponseNonNullableFields as CreateCheckoutTemplateResponseNonNullableFields, type CreatedBy$2 as CreatedBy, type index_d$i_CreatedByIdOneOf as CreatedByIdOneOf, type CursorPaging$b as CursorPaging, type CursorPagingMetadata$a as CursorPagingMetadata, type CursorQuery$7 as CursorQuery, type CursorQueryPagingMethodOneOf$7 as CursorQueryPagingMethodOneOf, type Cursors$b as Cursors, type index_d$i_CustomContentReference as CustomContentReference, type CustomField$3 as CustomField, type CustomLineItem$1 as CustomLineItem, type index_d$i_CustomSettings as CustomSettings, type index_d$i_DeleteCheckoutTemplateRequest as DeleteCheckoutTemplateRequest, type index_d$i_DeleteCheckoutTemplateResponse as DeleteCheckoutTemplateResponse, type DeliveryLogistics$4 as DeliveryLogistics, type DeliveryTimeSlot$4 as DeliveryTimeSlot, type index_d$i_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$3 as Details, type DetailsKindOneOf$3 as DetailsKindOneOf, type DiscountRule$3 as DiscountRule, type DiscountRuleName$3 as DiscountRuleName, DiscountType$3 as DiscountType, type DomainEvent$e as DomainEvent, type DomainEventBodyOneOf$e as DomainEventBodyOneOf, type EntityCreatedEvent$e as EntityCreatedEvent, type EntityDeletedEvent$e as EntityDeletedEvent, type EntityUpdatedEvent$e as EntityUpdatedEvent, type EventMetadata$6 as EventMetadata, type ExtendedFields$7 as ExtendedFields, type ExternalReference$1 as ExternalReference, FallbackReason$1 as FallbackReason, type FieldViolation$3 as FieldViolation, FileType$1 as FileType, type index_d$i_FreeTrialPeriod as FreeTrialPeriod, type FullAddressContactDetails$3 as FullAddressContactDetails, type index_d$i_GetCheckoutTemplateRequest as GetCheckoutTemplateRequest, type index_d$i_GetCheckoutTemplateResponse as GetCheckoutTemplateResponse, type index_d$i_GetCheckoutTemplateResponseNonNullableFields as GetCheckoutTemplateResponseNonNullableFields, type GiftCard$3 as GiftCard, type Group$1 as Group, type index_d$i_HeadersEntry as HeadersEntry, type IdentificationData$e as IdentificationData, type IdentificationDataIdOneOf$e as IdentificationDataIdOneOf, type InvalidMembership$1 as InvalidMembership, type index_d$i_ItemAvailabilityInfo as ItemAvailabilityInfo, index_d$i_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$d as MessageEnvelope, type MultiCurrencyPrice$1 as MultiCurrencyPrice, index_d$i_NameInLineItem as NameInLineItem, index_d$i_NameInOther as NameInOther, type index_d$i_Other as Other, type OtherCharge$1 as OtherCharge, type index_d$i_PaymentOption as PaymentOption, PaymentOptionType$3 as PaymentOptionType, type PhysicalProperties$4 as PhysicalProperties, type PickupDetails$5 as PickupDetails, PickupMethod$4 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$i_QueryCheckoutTemplatesRequest as QueryCheckoutTemplatesRequest, type index_d$i_QueryCheckoutTemplatesResponse as QueryCheckoutTemplatesResponse, type index_d$i_QueryCheckoutTemplatesResponseNonNullableFields as QueryCheckoutTemplatesResponseNonNullableFields, RateType$1 as RateType, type index_d$i_RawHttpResponse as RawHttpResponse, type index_d$i_RawHttpResponseNonNullableFields as RawHttpResponseNonNullableFields, type RestoreInfo$e as RestoreInfo, RuleType$3 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$i_Severity as Severity, type ShippingInfo$1 as ShippingInfo, type ShippingOption$3 as ShippingOption, type ShippingPrice$3 as ShippingPrice, type ShippingRegion$3 as ShippingRegion, SortOrder$b as SortOrder, type Sorting$b as Sorting, Status$2 as Status, type StreetAddress$6 as StreetAddress, SubscriptionFrequency$4 as SubscriptionFrequency, type SubscriptionOptionInfo$1 as SubscriptionOptionInfo, type SubscriptionSettings$4 as SubscriptionSettings, index_d$i_SuggestedFix as SuggestedFix, type SystemError$3 as SystemError, type index_d$i_Target as Target, type index_d$i_TargetLineItem as TargetLineItem, type index_d$i_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$i_Title as Title, type index_d$i_UpdateCheckoutTemplate as UpdateCheckoutTemplate, type index_d$i_UpdateCheckoutTemplateRequest as UpdateCheckoutTemplateRequest, type index_d$i_UpdateCheckoutTemplateResponse as UpdateCheckoutTemplateResponse, type index_d$i_UpdateCheckoutTemplateResponseNonNullableFields as UpdateCheckoutTemplateResponseNonNullableFields, type index_d$i_V1LineItem as V1LineItem, type ValidationError$3 as ValidationError, type VatId$4 as VatId, VatType$4 as VatType, type index_d$i_Violation as Violation, type index_d$i_WebClientCustomization as WebClientCustomization, WebhookIdentityType$d as WebhookIdentityType, WeightUnit$5 as WeightUnit, type index_d$i__publicOnCheckoutTemplateCreatedType as _publicOnCheckoutTemplateCreatedType, type index_d$i__publicOnCheckoutTemplateDeletedType as _publicOnCheckoutTemplateDeletedType, type index_d$i__publicOnCheckoutTemplateUpdatedType as _publicOnCheckoutTemplateUpdatedType, type index_d$i__publicOnCheckoutTemplateUsedType as _publicOnCheckoutTemplateUsedType, index_d$i_createAndRedirectToCheckout as createAndRedirectToCheckout, index_d$i_createCheckoutFromTemplate as createCheckoutFromTemplate, index_d$i_createCheckoutTemplate as createCheckoutTemplate, index_d$i_deleteCheckoutTemplate as deleteCheckoutTemplate, index_d$i_getCheckoutTemplate as getCheckoutTemplate, index_d$i_onCheckoutTemplateCreated as onCheckoutTemplateCreated, index_d$i_onCheckoutTemplateDeleted as onCheckoutTemplateDeleted, index_d$i_onCheckoutTemplateUpdated as onCheckoutTemplateUpdated, index_d$i_onCheckoutTemplateUsed as onCheckoutTemplateUsed, onCheckoutTemplateCreated$1 as publicOnCheckoutTemplateCreated, onCheckoutTemplateDeleted$1 as publicOnCheckoutTemplateDeleted, onCheckoutTemplateUpdated$1 as publicOnCheckoutTemplateUpdated, onCheckoutTemplateUsed$1 as publicOnCheckoutTemplateUsed, index_d$i_queryCheckoutTemplates as queryCheckoutTemplates, index_d$i_updateCheckoutTemplate as updateCheckoutTemplate };
|
|
17256
17349
|
}
|
|
17257
17350
|
|
|
17258
17351
|
/**
|
|
@@ -18202,7 +18295,7 @@ interface ListDeliveryCarriersResponseNonNullableFields {
|
|
|
18202
18295
|
interface UpdateExtendedFieldsResponseNonNullableFields$3 {
|
|
18203
18296
|
deliveryProfile?: DeliveryProfileNonNullableFields;
|
|
18204
18297
|
}
|
|
18205
|
-
interface BaseEventMetadata$
|
|
18298
|
+
interface BaseEventMetadata$5 {
|
|
18206
18299
|
/** App instance ID. */
|
|
18207
18300
|
instanceId?: string | null;
|
|
18208
18301
|
/** Event type. */
|
|
@@ -18210,7 +18303,7 @@ interface BaseEventMetadata$6 {
|
|
|
18210
18303
|
/** The identification type and identity data. */
|
|
18211
18304
|
identity?: IdentificationData$d;
|
|
18212
18305
|
}
|
|
18213
|
-
interface EventMetadata$
|
|
18306
|
+
interface EventMetadata$5 extends BaseEventMetadata$5 {
|
|
18214
18307
|
/**
|
|
18215
18308
|
* Unique event ID.
|
|
18216
18309
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -18250,27 +18343,27 @@ interface EventMetadata$6 extends BaseEventMetadata$6 {
|
|
|
18250
18343
|
}
|
|
18251
18344
|
interface DeliveryProfileCreatedEnvelope {
|
|
18252
18345
|
entity: DeliveryProfile;
|
|
18253
|
-
metadata: EventMetadata$
|
|
18346
|
+
metadata: EventMetadata$5;
|
|
18254
18347
|
}
|
|
18255
18348
|
interface DeliveryProfileDeliveryRegionAddedEnvelope {
|
|
18256
18349
|
data: DeliveryRegionAdded;
|
|
18257
|
-
metadata: EventMetadata$
|
|
18350
|
+
metadata: EventMetadata$5;
|
|
18258
18351
|
}
|
|
18259
18352
|
interface DeliveryProfileUpdatedEnvelope {
|
|
18260
18353
|
entity: DeliveryProfile;
|
|
18261
|
-
metadata: EventMetadata$
|
|
18354
|
+
metadata: EventMetadata$5;
|
|
18262
18355
|
}
|
|
18263
18356
|
interface DeliveryProfileDeletedEnvelope {
|
|
18264
18357
|
entity: DeliveryProfile;
|
|
18265
|
-
metadata: EventMetadata$
|
|
18358
|
+
metadata: EventMetadata$5;
|
|
18266
18359
|
}
|
|
18267
18360
|
interface DeliveryProfileDeliveryRegionRemovedEnvelope {
|
|
18268
18361
|
data: DeliveryRegionRemoved;
|
|
18269
|
-
metadata: EventMetadata$
|
|
18362
|
+
metadata: EventMetadata$5;
|
|
18270
18363
|
}
|
|
18271
18364
|
interface DeliveryProfileDeliveryRegionUpdatedEnvelope {
|
|
18272
18365
|
data: DeliveryRegionUpdated;
|
|
18273
|
-
metadata: EventMetadata$
|
|
18366
|
+
metadata: EventMetadata$5;
|
|
18274
18367
|
}
|
|
18275
18368
|
interface UpdateDeliveryProfile {
|
|
18276
18369
|
/**
|
|
@@ -18608,7 +18701,7 @@ declare const onDeliveryProfileDeleted$1: EventDefinition<DeliveryProfileDeleted
|
|
|
18608
18701
|
declare const onDeliveryProfileDeliveryRegionRemoved$1: EventDefinition<DeliveryProfileDeliveryRegionRemovedEnvelope, "wix.ecom.v1.delivery_profile_delivery_region_removed">;
|
|
18609
18702
|
declare const onDeliveryProfileDeliveryRegionUpdated$1: EventDefinition<DeliveryProfileDeliveryRegionUpdatedEnvelope, "wix.ecom.v1.delivery_profile_delivery_region_updated">;
|
|
18610
18703
|
|
|
18611
|
-
declare function createEventModule$
|
|
18704
|
+
declare function createEventModule$5<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
18612
18705
|
|
|
18613
18706
|
declare const createDeliveryProfile: MaybeContext<BuildRESTFunction<typeof createDeliveryProfile$1> & typeof createDeliveryProfile$1>;
|
|
18614
18707
|
declare const getDeliveryProfile: MaybeContext<BuildRESTFunction<typeof getDeliveryProfile$1> & typeof getDeliveryProfile$1>;
|
|
@@ -18627,35 +18720,35 @@ declare const updateExtendedFields$6: MaybeContext<BuildRESTFunction<typeof upda
|
|
|
18627
18720
|
|
|
18628
18721
|
type _publicOnDeliveryProfileCreatedType = typeof onDeliveryProfileCreated$1;
|
|
18629
18722
|
/** */
|
|
18630
|
-
declare const onDeliveryProfileCreated: ReturnType<typeof createEventModule$
|
|
18723
|
+
declare const onDeliveryProfileCreated: ReturnType<typeof createEventModule$5<_publicOnDeliveryProfileCreatedType>>;
|
|
18631
18724
|
|
|
18632
18725
|
type _publicOnDeliveryProfileDeliveryRegionAddedType = typeof onDeliveryProfileDeliveryRegionAdded$1;
|
|
18633
18726
|
/**
|
|
18634
18727
|
* Triggered when a delivery_region is added to a delivery_profile.
|
|
18635
18728
|
*/
|
|
18636
|
-
declare const onDeliveryProfileDeliveryRegionAdded: ReturnType<typeof createEventModule$
|
|
18729
|
+
declare const onDeliveryProfileDeliveryRegionAdded: ReturnType<typeof createEventModule$5<_publicOnDeliveryProfileDeliveryRegionAddedType>>;
|
|
18637
18730
|
|
|
18638
18731
|
type _publicOnDeliveryProfileUpdatedType = typeof onDeliveryProfileUpdated$1;
|
|
18639
18732
|
/**
|
|
18640
18733
|
* Triggered when the delivery_carrier updated successfully
|
|
18641
18734
|
*/
|
|
18642
|
-
declare const onDeliveryProfileUpdated: ReturnType<typeof createEventModule$
|
|
18735
|
+
declare const onDeliveryProfileUpdated: ReturnType<typeof createEventModule$5<_publicOnDeliveryProfileUpdatedType>>;
|
|
18643
18736
|
|
|
18644
18737
|
type _publicOnDeliveryProfileDeletedType = typeof onDeliveryProfileDeleted$1;
|
|
18645
18738
|
/** */
|
|
18646
|
-
declare const onDeliveryProfileDeleted: ReturnType<typeof createEventModule$
|
|
18739
|
+
declare const onDeliveryProfileDeleted: ReturnType<typeof createEventModule$5<_publicOnDeliveryProfileDeletedType>>;
|
|
18647
18740
|
|
|
18648
18741
|
type _publicOnDeliveryProfileDeliveryRegionRemovedType = typeof onDeliveryProfileDeliveryRegionRemoved$1;
|
|
18649
18742
|
/**
|
|
18650
18743
|
* Triggered for each delivery_region assigned to the deleted delivery_profile
|
|
18651
18744
|
*/
|
|
18652
|
-
declare const onDeliveryProfileDeliveryRegionRemoved: ReturnType<typeof createEventModule$
|
|
18745
|
+
declare const onDeliveryProfileDeliveryRegionRemoved: ReturnType<typeof createEventModule$5<_publicOnDeliveryProfileDeliveryRegionRemovedType>>;
|
|
18653
18746
|
|
|
18654
18747
|
type _publicOnDeliveryProfileDeliveryRegionUpdatedType = typeof onDeliveryProfileDeliveryRegionUpdated$1;
|
|
18655
18748
|
/**
|
|
18656
18749
|
* Triggered when the delivery_carrier updated successfully
|
|
18657
18750
|
*/
|
|
18658
|
-
declare const onDeliveryProfileDeliveryRegionUpdated: ReturnType<typeof createEventModule$
|
|
18751
|
+
declare const onDeliveryProfileDeliveryRegionUpdated: ReturnType<typeof createEventModule$5<_publicOnDeliveryProfileDeliveryRegionUpdatedType>>;
|
|
18659
18752
|
|
|
18660
18753
|
type index_d$h_AddDeliveryCarrierOptions = AddDeliveryCarrierOptions;
|
|
18661
18754
|
type index_d$h_AddDeliveryCarrierRequest = AddDeliveryCarrierRequest;
|
|
@@ -18767,7 +18860,7 @@ declare const index_d$h_updateDeliveryCarrier: typeof updateDeliveryCarrier;
|
|
|
18767
18860
|
declare const index_d$h_updateDeliveryProfile: typeof updateDeliveryProfile;
|
|
18768
18861
|
declare const index_d$h_updateDeliveryRegion: typeof updateDeliveryRegion;
|
|
18769
18862
|
declare namespace index_d$h {
|
|
18770
|
-
export { type ActionEvent$d as ActionEvent, type index_d$h_AddDeliveryCarrierOptions as AddDeliveryCarrierOptions, type index_d$h_AddDeliveryCarrierRequest as AddDeliveryCarrierRequest, type index_d$h_AddDeliveryCarrierResponse as AddDeliveryCarrierResponse, type index_d$h_AddDeliveryCarrierResponseNonNullableFields as AddDeliveryCarrierResponseNonNullableFields, type AddDeliveryRegionOptions$2 as AddDeliveryRegionOptions, type AddDeliveryRegionRequest$2 as AddDeliveryRegionRequest, type AddDeliveryRegionResponse$2 as AddDeliveryRegionResponse, type AddDeliveryRegionResponseNonNullableFields$2 as AddDeliveryRegionResponseNonNullableFields, type AdditionalCharge$1 as AdditionalCharge, type ApplicationError$7 as ApplicationError, type index_d$h_Asset as Asset, type index_d$h_BackupRate as BackupRate, type BaseEventMetadata$6 as BaseEventMetadata, type BulkActionMetadata$3 as BulkActionMetadata, ChargeType$2 as ChargeType, type index_d$h_Column as Column, type index_d$h_CreateDeliveryProfileRequest as CreateDeliveryProfileRequest, type index_d$h_CreateDeliveryProfileResponse as CreateDeliveryProfileResponse, type index_d$h_CreateDeliveryProfileResponseNonNullableFields as CreateDeliveryProfileResponseNonNullableFields, type CursorPaging$a as CursorPaging, type CursorPagingMetadata$9 as CursorPagingMetadata, type CursorQuery$6 as CursorQuery, type CursorQueryPagingMethodOneOf$6 as CursorQueryPagingMethodOneOf, type Cursors$a as Cursors, type index_d$h_DashboardTable as DashboardTable, type index_d$h_DeleteContext as DeleteContext, type index_d$h_DeleteDeliveryProfileRequest as DeleteDeliveryProfileRequest, type index_d$h_DeleteDeliveryProfileResponse as DeleteDeliveryProfileResponse, index_d$h_DeleteStatus as DeleteStatus, type index_d$h_DeliveryCarrier as DeliveryCarrier, type index_d$h_DeliveryCarrierDetails as DeliveryCarrierDetails, type index_d$h_DeliveryCarrierRegionalSettings as DeliveryCarrierRegionalSettings, type index_d$h_DeliveryProfile as DeliveryProfile, type index_d$h_DeliveryProfileCreatedEnvelope as DeliveryProfileCreatedEnvelope, type index_d$h_DeliveryProfileDeletedEnvelope as DeliveryProfileDeletedEnvelope, type index_d$h_DeliveryProfileDeliveryRegionAddedEnvelope as DeliveryProfileDeliveryRegionAddedEnvelope, type index_d$h_DeliveryProfileDeliveryRegionRemovedEnvelope as DeliveryProfileDeliveryRegionRemovedEnvelope, type index_d$h_DeliveryProfileDeliveryRegionUpdatedEnvelope as DeliveryProfileDeliveryRegionUpdatedEnvelope, type index_d$h_DeliveryProfileNonNullableFields as DeliveryProfileNonNullableFields, type index_d$h_DeliveryProfileUpdatedEnvelope as DeliveryProfileUpdatedEnvelope, type index_d$h_DeliveryProfilesQueryBuilder as DeliveryProfilesQueryBuilder, type index_d$h_DeliveryProfilesQueryResult as DeliveryProfilesQueryResult, type index_d$h_DeliveryRegion as DeliveryRegion, type index_d$h_DeliveryRegionAdded as DeliveryRegionAdded, type index_d$h_DeliveryRegionRemoved as DeliveryRegionRemoved, type index_d$h_DeliveryRegionUpdated as DeliveryRegionUpdated, type Destination$1 as Destination, type DomainEvent$d as DomainEvent, type DomainEventBodyOneOf$d as DomainEventBodyOneOf, type Empty$7 as Empty, type EntityCreatedEvent$d as EntityCreatedEvent, type EntityDeletedEvent$d as EntityDeletedEvent, type EntityUpdatedEvent$d as EntityUpdatedEvent, type EventMetadata$6 as EventMetadata, type ExtendedFields$6 as ExtendedFields, type index_d$h_GetDeliveryProfileRequest as GetDeliveryProfileRequest, type index_d$h_GetDeliveryProfileResponse as GetDeliveryProfileResponse, type index_d$h_GetDeliveryProfileResponseNonNullableFields as GetDeliveryProfileResponseNonNullableFields, type IdentificationData$d as IdentificationData, type IdentificationDataIdOneOf$d as IdentificationDataIdOneOf, type ItemMetadata$3 as ItemMetadata, type index_d$h_ListDeliveryCarrierDetailsRequest as ListDeliveryCarrierDetailsRequest, type index_d$h_ListDeliveryCarrierDetailsResponse as ListDeliveryCarrierDetailsResponse, type index_d$h_ListDeliveryCarrierDetailsResponseNonNullableFields as ListDeliveryCarrierDetailsResponseNonNullableFields, type index_d$h_ListDeliveryCarriersOptions as ListDeliveryCarriersOptions, type index_d$h_ListDeliveryCarriersRequest as ListDeliveryCarriersRequest, type index_d$h_ListDeliveryCarriersResponse as ListDeliveryCarriersResponse, type index_d$h_ListDeliveryCarriersResponseNonNullableFields as ListDeliveryCarriersResponseNonNullableFields, type index_d$h_ListDeliveryCarriersResult as ListDeliveryCarriersResult, type MessageEnvelope$c as MessageEnvelope, type index_d$h_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type index_d$h_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, Namespace$1 as Namespace, type index_d$h_NamespaceChanged as NamespaceChanged, type index_d$h_QueryDeliveryProfilesRequest as QueryDeliveryProfilesRequest, type index_d$h_QueryDeliveryProfilesResponse as QueryDeliveryProfilesResponse, type index_d$h_QueryDeliveryProfilesResponseNonNullableFields as QueryDeliveryProfilesResponseNonNullableFields, type index_d$h_RemoveDeliveryCarrierOptions as RemoveDeliveryCarrierOptions, type index_d$h_RemoveDeliveryCarrierRequest as RemoveDeliveryCarrierRequest, type index_d$h_RemoveDeliveryCarrierResponse as RemoveDeliveryCarrierResponse, type index_d$h_RemoveDeliveryCarrierResponseNonNullableFields as RemoveDeliveryCarrierResponseNonNullableFields, type index_d$h_RemoveDeliveryRegionIdentifiers as RemoveDeliveryRegionIdentifiers, type RemoveDeliveryRegionOptions$2 as RemoveDeliveryRegionOptions, type RemoveDeliveryRegionRequest$2 as RemoveDeliveryRegionRequest, type RemoveDeliveryRegionResponse$2 as RemoveDeliveryRegionResponse, type RemoveDeliveryRegionResponseNonNullableFields$2 as RemoveDeliveryRegionResponseNonNullableFields, type RestoreInfo$d as RestoreInfo, type index_d$h_Row as Row, type index_d$h_ServiceProvisioned as ServiceProvisioned, type index_d$h_ServiceRemoved as ServiceRemoved, type index_d$h_SiteCreated as SiteCreated, index_d$h_SiteCreatedContext as SiteCreatedContext, type index_d$h_SiteDeleted as SiteDeleted, type index_d$h_SiteHardDeleted as SiteHardDeleted, type index_d$h_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type index_d$h_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type index_d$h_SitePublished as SitePublished, type index_d$h_SiteRenamed as SiteRenamed, type index_d$h_SiteTransferred as SiteTransferred, type index_d$h_SiteUndeleted as SiteUndeleted, type index_d$h_SiteUnpublished as SiteUnpublished, SortOrder$a as SortOrder, type Sorting$a as Sorting, State$1 as State, type index_d$h_StudioAssigned as StudioAssigned, type index_d$h_StudioUnassigned as StudioUnassigned, type index_d$h_UpdateDeliveryCarrierOptions as UpdateDeliveryCarrierOptions, type index_d$h_UpdateDeliveryCarrierRequest as UpdateDeliveryCarrierRequest, type index_d$h_UpdateDeliveryCarrierResponse as UpdateDeliveryCarrierResponse, type index_d$h_UpdateDeliveryCarrierResponseNonNullableFields as UpdateDeliveryCarrierResponseNonNullableFields, type index_d$h_UpdateDeliveryProfile as UpdateDeliveryProfile, type index_d$h_UpdateDeliveryProfileRequest as UpdateDeliveryProfileRequest, type index_d$h_UpdateDeliveryProfileResponse as UpdateDeliveryProfileResponse, type index_d$h_UpdateDeliveryProfileResponseNonNullableFields as UpdateDeliveryProfileResponseNonNullableFields, type index_d$h_UpdateDeliveryRegion as UpdateDeliveryRegion, type index_d$h_UpdateDeliveryRegionIdentifiers as UpdateDeliveryRegionIdentifiers, type index_d$h_UpdateDeliveryRegionOptions as UpdateDeliveryRegionOptions, type index_d$h_UpdateDeliveryRegionRequest as UpdateDeliveryRegionRequest, type index_d$h_UpdateDeliveryRegionResponse as UpdateDeliveryRegionResponse, type index_d$h_UpdateDeliveryRegionResponseNonNullableFields as UpdateDeliveryRegionResponseNonNullableFields, type UpdateExtendedFieldsOptions$3 as UpdateExtendedFieldsOptions, type UpdateExtendedFieldsRequest$4 as UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse$4 as UpdateExtendedFieldsResponse, type UpdateExtendedFieldsResponseNonNullableFields$3 as UpdateExtendedFieldsResponseNonNullableFields, WebhookIdentityType$c as WebhookIdentityType, type index_d$h__publicOnDeliveryProfileCreatedType as _publicOnDeliveryProfileCreatedType, type index_d$h__publicOnDeliveryProfileDeletedType as _publicOnDeliveryProfileDeletedType, type index_d$h__publicOnDeliveryProfileDeliveryRegionAddedType as _publicOnDeliveryProfileDeliveryRegionAddedType, type index_d$h__publicOnDeliveryProfileDeliveryRegionRemovedType as _publicOnDeliveryProfileDeliveryRegionRemovedType, type index_d$h__publicOnDeliveryProfileDeliveryRegionUpdatedType as _publicOnDeliveryProfileDeliveryRegionUpdatedType, type index_d$h__publicOnDeliveryProfileUpdatedType as _publicOnDeliveryProfileUpdatedType, index_d$h_addDeliveryCarrier as addDeliveryCarrier, addDeliveryRegion$4 as addDeliveryRegion, index_d$h_createDeliveryProfile as createDeliveryProfile, index_d$h_deleteDeliveryProfile as deleteDeliveryProfile, index_d$h_getDeliveryProfile as getDeliveryProfile, index_d$h_listDeliveryCarrierDetails as listDeliveryCarrierDetails, index_d$h_listDeliveryCarriers as listDeliveryCarriers, index_d$h_onDeliveryProfileCreated as onDeliveryProfileCreated, index_d$h_onDeliveryProfileDeleted as onDeliveryProfileDeleted, index_d$h_onDeliveryProfileDeliveryRegionAdded as onDeliveryProfileDeliveryRegionAdded, index_d$h_onDeliveryProfileDeliveryRegionRemoved as onDeliveryProfileDeliveryRegionRemoved, index_d$h_onDeliveryProfileDeliveryRegionUpdated as onDeliveryProfileDeliveryRegionUpdated, index_d$h_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$h_queryDeliveryProfiles as queryDeliveryProfiles, index_d$h_removeDeliveryCarrier as removeDeliveryCarrier, removeDeliveryRegion$4 as removeDeliveryRegion, index_d$h_updateDeliveryCarrier as updateDeliveryCarrier, index_d$h_updateDeliveryProfile as updateDeliveryProfile, index_d$h_updateDeliveryRegion as updateDeliveryRegion, updateExtendedFields$6 as updateExtendedFields };
|
|
18863
|
+
export { type ActionEvent$d as ActionEvent, type index_d$h_AddDeliveryCarrierOptions as AddDeliveryCarrierOptions, type index_d$h_AddDeliveryCarrierRequest as AddDeliveryCarrierRequest, type index_d$h_AddDeliveryCarrierResponse as AddDeliveryCarrierResponse, type index_d$h_AddDeliveryCarrierResponseNonNullableFields as AddDeliveryCarrierResponseNonNullableFields, type AddDeliveryRegionOptions$2 as AddDeliveryRegionOptions, type AddDeliveryRegionRequest$2 as AddDeliveryRegionRequest, type AddDeliveryRegionResponse$2 as AddDeliveryRegionResponse, type AddDeliveryRegionResponseNonNullableFields$2 as AddDeliveryRegionResponseNonNullableFields, type AdditionalCharge$1 as AdditionalCharge, type ApplicationError$7 as ApplicationError, type index_d$h_Asset as Asset, type index_d$h_BackupRate as BackupRate, type BaseEventMetadata$5 as BaseEventMetadata, type BulkActionMetadata$3 as BulkActionMetadata, ChargeType$2 as ChargeType, type index_d$h_Column as Column, type index_d$h_CreateDeliveryProfileRequest as CreateDeliveryProfileRequest, type index_d$h_CreateDeliveryProfileResponse as CreateDeliveryProfileResponse, type index_d$h_CreateDeliveryProfileResponseNonNullableFields as CreateDeliveryProfileResponseNonNullableFields, type CursorPaging$a as CursorPaging, type CursorPagingMetadata$9 as CursorPagingMetadata, type CursorQuery$6 as CursorQuery, type CursorQueryPagingMethodOneOf$6 as CursorQueryPagingMethodOneOf, type Cursors$a as Cursors, type index_d$h_DashboardTable as DashboardTable, type index_d$h_DeleteContext as DeleteContext, type index_d$h_DeleteDeliveryProfileRequest as DeleteDeliveryProfileRequest, type index_d$h_DeleteDeliveryProfileResponse as DeleteDeliveryProfileResponse, index_d$h_DeleteStatus as DeleteStatus, type index_d$h_DeliveryCarrier as DeliveryCarrier, type index_d$h_DeliveryCarrierDetails as DeliveryCarrierDetails, type index_d$h_DeliveryCarrierRegionalSettings as DeliveryCarrierRegionalSettings, type index_d$h_DeliveryProfile as DeliveryProfile, type index_d$h_DeliveryProfileCreatedEnvelope as DeliveryProfileCreatedEnvelope, type index_d$h_DeliveryProfileDeletedEnvelope as DeliveryProfileDeletedEnvelope, type index_d$h_DeliveryProfileDeliveryRegionAddedEnvelope as DeliveryProfileDeliveryRegionAddedEnvelope, type index_d$h_DeliveryProfileDeliveryRegionRemovedEnvelope as DeliveryProfileDeliveryRegionRemovedEnvelope, type index_d$h_DeliveryProfileDeliveryRegionUpdatedEnvelope as DeliveryProfileDeliveryRegionUpdatedEnvelope, type index_d$h_DeliveryProfileNonNullableFields as DeliveryProfileNonNullableFields, type index_d$h_DeliveryProfileUpdatedEnvelope as DeliveryProfileUpdatedEnvelope, type index_d$h_DeliveryProfilesQueryBuilder as DeliveryProfilesQueryBuilder, type index_d$h_DeliveryProfilesQueryResult as DeliveryProfilesQueryResult, type index_d$h_DeliveryRegion as DeliveryRegion, type index_d$h_DeliveryRegionAdded as DeliveryRegionAdded, type index_d$h_DeliveryRegionRemoved as DeliveryRegionRemoved, type index_d$h_DeliveryRegionUpdated as DeliveryRegionUpdated, type Destination$1 as Destination, type DomainEvent$d as DomainEvent, type DomainEventBodyOneOf$d as DomainEventBodyOneOf, type Empty$7 as Empty, type EntityCreatedEvent$d as EntityCreatedEvent, type EntityDeletedEvent$d as EntityDeletedEvent, type EntityUpdatedEvent$d as EntityUpdatedEvent, type EventMetadata$5 as EventMetadata, type ExtendedFields$6 as ExtendedFields, type index_d$h_GetDeliveryProfileRequest as GetDeliveryProfileRequest, type index_d$h_GetDeliveryProfileResponse as GetDeliveryProfileResponse, type index_d$h_GetDeliveryProfileResponseNonNullableFields as GetDeliveryProfileResponseNonNullableFields, type IdentificationData$d as IdentificationData, type IdentificationDataIdOneOf$d as IdentificationDataIdOneOf, type ItemMetadata$3 as ItemMetadata, type index_d$h_ListDeliveryCarrierDetailsRequest as ListDeliveryCarrierDetailsRequest, type index_d$h_ListDeliveryCarrierDetailsResponse as ListDeliveryCarrierDetailsResponse, type index_d$h_ListDeliveryCarrierDetailsResponseNonNullableFields as ListDeliveryCarrierDetailsResponseNonNullableFields, type index_d$h_ListDeliveryCarriersOptions as ListDeliveryCarriersOptions, type index_d$h_ListDeliveryCarriersRequest as ListDeliveryCarriersRequest, type index_d$h_ListDeliveryCarriersResponse as ListDeliveryCarriersResponse, type index_d$h_ListDeliveryCarriersResponseNonNullableFields as ListDeliveryCarriersResponseNonNullableFields, type index_d$h_ListDeliveryCarriersResult as ListDeliveryCarriersResult, type MessageEnvelope$c as MessageEnvelope, type index_d$h_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type index_d$h_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, Namespace$1 as Namespace, type index_d$h_NamespaceChanged as NamespaceChanged, type index_d$h_QueryDeliveryProfilesRequest as QueryDeliveryProfilesRequest, type index_d$h_QueryDeliveryProfilesResponse as QueryDeliveryProfilesResponse, type index_d$h_QueryDeliveryProfilesResponseNonNullableFields as QueryDeliveryProfilesResponseNonNullableFields, type index_d$h_RemoveDeliveryCarrierOptions as RemoveDeliveryCarrierOptions, type index_d$h_RemoveDeliveryCarrierRequest as RemoveDeliveryCarrierRequest, type index_d$h_RemoveDeliveryCarrierResponse as RemoveDeliveryCarrierResponse, type index_d$h_RemoveDeliveryCarrierResponseNonNullableFields as RemoveDeliveryCarrierResponseNonNullableFields, type index_d$h_RemoveDeliveryRegionIdentifiers as RemoveDeliveryRegionIdentifiers, type RemoveDeliveryRegionOptions$2 as RemoveDeliveryRegionOptions, type RemoveDeliveryRegionRequest$2 as RemoveDeliveryRegionRequest, type RemoveDeliveryRegionResponse$2 as RemoveDeliveryRegionResponse, type RemoveDeliveryRegionResponseNonNullableFields$2 as RemoveDeliveryRegionResponseNonNullableFields, type RestoreInfo$d as RestoreInfo, type index_d$h_Row as Row, type index_d$h_ServiceProvisioned as ServiceProvisioned, type index_d$h_ServiceRemoved as ServiceRemoved, type index_d$h_SiteCreated as SiteCreated, index_d$h_SiteCreatedContext as SiteCreatedContext, type index_d$h_SiteDeleted as SiteDeleted, type index_d$h_SiteHardDeleted as SiteHardDeleted, type index_d$h_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type index_d$h_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type index_d$h_SitePublished as SitePublished, type index_d$h_SiteRenamed as SiteRenamed, type index_d$h_SiteTransferred as SiteTransferred, type index_d$h_SiteUndeleted as SiteUndeleted, type index_d$h_SiteUnpublished as SiteUnpublished, SortOrder$a as SortOrder, type Sorting$a as Sorting, State$1 as State, type index_d$h_StudioAssigned as StudioAssigned, type index_d$h_StudioUnassigned as StudioUnassigned, type index_d$h_UpdateDeliveryCarrierOptions as UpdateDeliveryCarrierOptions, type index_d$h_UpdateDeliveryCarrierRequest as UpdateDeliveryCarrierRequest, type index_d$h_UpdateDeliveryCarrierResponse as UpdateDeliveryCarrierResponse, type index_d$h_UpdateDeliveryCarrierResponseNonNullableFields as UpdateDeliveryCarrierResponseNonNullableFields, type index_d$h_UpdateDeliveryProfile as UpdateDeliveryProfile, type index_d$h_UpdateDeliveryProfileRequest as UpdateDeliveryProfileRequest, type index_d$h_UpdateDeliveryProfileResponse as UpdateDeliveryProfileResponse, type index_d$h_UpdateDeliveryProfileResponseNonNullableFields as UpdateDeliveryProfileResponseNonNullableFields, type index_d$h_UpdateDeliveryRegion as UpdateDeliveryRegion, type index_d$h_UpdateDeliveryRegionIdentifiers as UpdateDeliveryRegionIdentifiers, type index_d$h_UpdateDeliveryRegionOptions as UpdateDeliveryRegionOptions, type index_d$h_UpdateDeliveryRegionRequest as UpdateDeliveryRegionRequest, type index_d$h_UpdateDeliveryRegionResponse as UpdateDeliveryRegionResponse, type index_d$h_UpdateDeliveryRegionResponseNonNullableFields as UpdateDeliveryRegionResponseNonNullableFields, type UpdateExtendedFieldsOptions$3 as UpdateExtendedFieldsOptions, type UpdateExtendedFieldsRequest$4 as UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse$4 as UpdateExtendedFieldsResponse, type UpdateExtendedFieldsResponseNonNullableFields$3 as UpdateExtendedFieldsResponseNonNullableFields, WebhookIdentityType$c as WebhookIdentityType, type index_d$h__publicOnDeliveryProfileCreatedType as _publicOnDeliveryProfileCreatedType, type index_d$h__publicOnDeliveryProfileDeletedType as _publicOnDeliveryProfileDeletedType, type index_d$h__publicOnDeliveryProfileDeliveryRegionAddedType as _publicOnDeliveryProfileDeliveryRegionAddedType, type index_d$h__publicOnDeliveryProfileDeliveryRegionRemovedType as _publicOnDeliveryProfileDeliveryRegionRemovedType, type index_d$h__publicOnDeliveryProfileDeliveryRegionUpdatedType as _publicOnDeliveryProfileDeliveryRegionUpdatedType, type index_d$h__publicOnDeliveryProfileUpdatedType as _publicOnDeliveryProfileUpdatedType, index_d$h_addDeliveryCarrier as addDeliveryCarrier, addDeliveryRegion$4 as addDeliveryRegion, index_d$h_createDeliveryProfile as createDeliveryProfile, index_d$h_deleteDeliveryProfile as deleteDeliveryProfile, index_d$h_getDeliveryProfile as getDeliveryProfile, index_d$h_listDeliveryCarrierDetails as listDeliveryCarrierDetails, index_d$h_listDeliveryCarriers as listDeliveryCarriers, index_d$h_onDeliveryProfileCreated as onDeliveryProfileCreated, index_d$h_onDeliveryProfileDeleted as onDeliveryProfileDeleted, index_d$h_onDeliveryProfileDeliveryRegionAdded as onDeliveryProfileDeliveryRegionAdded, index_d$h_onDeliveryProfileDeliveryRegionRemoved as onDeliveryProfileDeliveryRegionRemoved, index_d$h_onDeliveryProfileDeliveryRegionUpdated as onDeliveryProfileDeliveryRegionUpdated, index_d$h_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$h_queryDeliveryProfiles as queryDeliveryProfiles, index_d$h_removeDeliveryCarrier as removeDeliveryCarrier, removeDeliveryRegion$4 as removeDeliveryRegion, index_d$h_updateDeliveryCarrier as updateDeliveryCarrier, index_d$h_updateDeliveryProfile as updateDeliveryProfile, index_d$h_updateDeliveryRegion as updateDeliveryRegion, updateExtendedFields$6 as updateExtendedFields };
|
|
18771
18864
|
}
|
|
18772
18865
|
|
|
18773
18866
|
/** DraftOrder is the main entity of DraftOrders service. It represents a single edit order. */
|
|
@@ -19792,7 +19885,7 @@ interface OrderTaxInfo$1 {
|
|
|
19792
19885
|
/**
|
|
19793
19886
|
* Whether the draft order is exempt from tax calculations.
|
|
19794
19887
|
*
|
|
19795
|
-
* Default: `
|
|
19888
|
+
* Default: `false`
|
|
19796
19889
|
* @readonly
|
|
19797
19890
|
*/
|
|
19798
19891
|
taxExempt?: boolean | null;
|
|
@@ -22753,7 +22846,7 @@ interface BulkCreateFulfillmentResponseNonNullableFields {
|
|
|
22753
22846
|
results: BulkOrderFulfillmentsResultNonNullableFields[];
|
|
22754
22847
|
bulkActionMetadata?: BulkActionMetadataNonNullableFields$2;
|
|
22755
22848
|
}
|
|
22756
|
-
interface BaseEventMetadata$
|
|
22849
|
+
interface BaseEventMetadata$4 {
|
|
22757
22850
|
/** App instance ID. */
|
|
22758
22851
|
instanceId?: string | null;
|
|
22759
22852
|
/** Event type. */
|
|
@@ -22761,7 +22854,7 @@ interface BaseEventMetadata$5 {
|
|
|
22761
22854
|
/** The identification type and identity data. */
|
|
22762
22855
|
identity?: IdentificationData$b;
|
|
22763
22856
|
}
|
|
22764
|
-
interface EventMetadata$
|
|
22857
|
+
interface EventMetadata$4 extends BaseEventMetadata$4 {
|
|
22765
22858
|
/**
|
|
22766
22859
|
* Unique event ID.
|
|
22767
22860
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -22801,7 +22894,7 @@ interface EventMetadata$5 extends BaseEventMetadata$5 {
|
|
|
22801
22894
|
}
|
|
22802
22895
|
interface FulfillmentsUpdatedEnvelope {
|
|
22803
22896
|
entity: OrderWithFulfillments;
|
|
22804
|
-
metadata: EventMetadata$
|
|
22897
|
+
metadata: EventMetadata$4;
|
|
22805
22898
|
}
|
|
22806
22899
|
interface UpdateFulfillmentOptions {
|
|
22807
22900
|
/** Fulfillment info. */
|
|
@@ -22928,7 +23021,7 @@ interface BulkCreateFulfillmentsSignature {
|
|
|
22928
23021
|
}
|
|
22929
23022
|
declare const onFulfillmentsUpdated$1: EventDefinition<FulfillmentsUpdatedEnvelope, "wix.ecom.v1.fulfillments_updated">;
|
|
22930
23023
|
|
|
22931
|
-
declare function createEventModule$
|
|
23024
|
+
declare function createEventModule$4<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
22932
23025
|
|
|
22933
23026
|
declare const listFulfillmentsForSingleOrder: MaybeContext<BuildRESTFunction<typeof listFulfillmentsForSingleOrder$1> & typeof listFulfillmentsForSingleOrder$1>;
|
|
22934
23027
|
declare const listFulfillmentsForMultipleOrders: MaybeContext<BuildRESTFunction<typeof listFulfillmentsForMultipleOrders$1> & typeof listFulfillmentsForMultipleOrders$1>;
|
|
@@ -22943,7 +23036,7 @@ type _publicOnFulfillmentsUpdatedType = typeof onFulfillmentsUpdated$1;
|
|
|
22943
23036
|
*
|
|
22944
23037
|
* The response contains the order's ID and details about all of its fulfillments following the change.
|
|
22945
23038
|
*/
|
|
22946
|
-
declare const onFulfillmentsUpdated: ReturnType<typeof createEventModule$
|
|
23039
|
+
declare const onFulfillmentsUpdated: ReturnType<typeof createEventModule$4<_publicOnFulfillmentsUpdatedType>>;
|
|
22947
23040
|
|
|
22948
23041
|
type index_d$f_BulkCreateFulfillmentRequest = BulkCreateFulfillmentRequest;
|
|
22949
23042
|
type index_d$f_BulkCreateFulfillmentResponse = BulkCreateFulfillmentResponse;
|
|
@@ -22986,7 +23079,7 @@ declare const index_d$f_listFulfillmentsForSingleOrder: typeof listFulfillmentsF
|
|
|
22986
23079
|
declare const index_d$f_onFulfillmentsUpdated: typeof onFulfillmentsUpdated;
|
|
22987
23080
|
declare const index_d$f_updateFulfillment: typeof updateFulfillment;
|
|
22988
23081
|
declare namespace index_d$f {
|
|
22989
|
-
export { type ActionEvent$b as ActionEvent, type ApplicationError$5 as ApplicationError, type BaseEventMetadata$
|
|
23082
|
+
export { type ActionEvent$b as ActionEvent, type ApplicationError$5 as ApplicationError, type BaseEventMetadata$4 as BaseEventMetadata, type BulkActionMetadata$2 as BulkActionMetadata, type index_d$f_BulkCreateFulfillmentRequest as BulkCreateFulfillmentRequest, type index_d$f_BulkCreateFulfillmentResponse as BulkCreateFulfillmentResponse, type index_d$f_BulkCreateFulfillmentResponseNonNullableFields as BulkCreateFulfillmentResponseNonNullableFields, type index_d$f_BulkCreateOrderWithFulfillments as BulkCreateOrderWithFulfillments, type index_d$f_BulkOrderFulfillmentsResult as BulkOrderFulfillmentsResult, type BuyerInfo$2 as BuyerInfo, type index_d$f_CreateFulfillmentRequest as CreateFulfillmentRequest, type index_d$f_CreateFulfillmentResponse as CreateFulfillmentResponse, type index_d$f_CreateFulfillmentResponseNonNullableFields as CreateFulfillmentResponseNonNullableFields, type index_d$f_CustomFulfillmentInfo as CustomFulfillmentInfo, type index_d$f_DeleteFulfillmentIdentifiers as DeleteFulfillmentIdentifiers, type index_d$f_DeleteFulfillmentRequest as DeleteFulfillmentRequest, type index_d$f_DeleteFulfillmentResponse as DeleteFulfillmentResponse, type index_d$f_DeleteFulfillmentResponseNonNullableFields as DeleteFulfillmentResponseNonNullableFields, 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$4 as EventMetadata, type Fulfillment$1 as Fulfillment, type index_d$f_FulfillmentCreated as FulfillmentCreated, type index_d$f_FulfillmentDeleted as FulfillmentDeleted, type index_d$f_FulfillmentFulfillmentInfoOneOf as FulfillmentFulfillmentInfoOneOf, type FulfillmentLineItem$1 as FulfillmentLineItem, FulfillmentStatus$2 as FulfillmentStatus, type FulfillmentTrackingInfo$1 as FulfillmentTrackingInfo, type index_d$f_FulfillmentUpdated as FulfillmentUpdated, type index_d$f_FulfillmentsUpdatedEnvelope as FulfillmentsUpdatedEnvelope, type IdentificationData$b as IdentificationData, type IdentificationDataIdOneOf$b as IdentificationDataIdOneOf, IdentityType$3 as IdentityType, type ItemMetadata$2 as ItemMetadata, type index_d$f_ListFulfillmentsForMultipleOrdersRequest as ListFulfillmentsForMultipleOrdersRequest, type index_d$f_ListFulfillmentsForMultipleOrdersResponse as ListFulfillmentsForMultipleOrdersResponse, type index_d$f_ListFulfillmentsForMultipleOrdersResponseNonNullableFields as ListFulfillmentsForMultipleOrdersResponseNonNullableFields, type index_d$f_ListFulfillmentsForSingleOrderRequest as ListFulfillmentsForSingleOrderRequest, type index_d$f_ListFulfillmentsForSingleOrderResponse as ListFulfillmentsForSingleOrderResponse, type index_d$f_ListFulfillmentsForSingleOrderResponseNonNullableFields as ListFulfillmentsForSingleOrderResponseNonNullableFields, type MessageEnvelope$a as MessageEnvelope, type index_d$f_OrderWithFulfillments as OrderWithFulfillments, type index_d$f_OrderWithFulfillmentsNonNullableFields as OrderWithFulfillmentsNonNullableFields, type RestoreInfo$b as RestoreInfo, type index_d$f_UpdateFulfillmentIdentifiers as UpdateFulfillmentIdentifiers, type index_d$f_UpdateFulfillmentOptions as UpdateFulfillmentOptions, type index_d$f_UpdateFulfillmentRequest as UpdateFulfillmentRequest, type index_d$f_UpdateFulfillmentResponse as UpdateFulfillmentResponse, type index_d$f_UpdateFulfillmentResponseNonNullableFields as UpdateFulfillmentResponseNonNullableFields, type index_d$f_V2FulfillmentTrackingInfo as V2FulfillmentTrackingInfo, WebhookIdentityType$a as WebhookIdentityType, type index_d$f__publicOnFulfillmentsUpdatedType as _publicOnFulfillmentsUpdatedType, index_d$f_bulkCreateFulfillments as bulkCreateFulfillments, index_d$f_createFulfillment as createFulfillment, index_d$f_deleteFulfillment as deleteFulfillment, index_d$f_listFulfillmentsForMultipleOrders as listFulfillmentsForMultipleOrders, index_d$f_listFulfillmentsForSingleOrder as listFulfillmentsForSingleOrder, index_d$f_onFulfillmentsUpdated as onFulfillmentsUpdated, onFulfillmentsUpdated$1 as publicOnFulfillmentsUpdated, index_d$f_updateFulfillment as updateFulfillment };
|
|
22990
23083
|
}
|
|
22991
23084
|
|
|
22992
23085
|
interface GiftCard$2 {
|
|
@@ -24742,7 +24835,7 @@ interface OrderTaxInfo {
|
|
|
24742
24835
|
/**
|
|
24743
24836
|
* Whether the draft order is exempt from tax calculations.
|
|
24744
24837
|
*
|
|
24745
|
-
* Default: `
|
|
24838
|
+
* Default: `false`
|
|
24746
24839
|
* @readonly
|
|
24747
24840
|
*/
|
|
24748
24841
|
taxExempt?: boolean | null;
|
|
@@ -26803,7 +26896,7 @@ interface TriggerRefundResponse$1 {
|
|
|
26803
26896
|
failedPaymentIds?: ItemMetadata$1[];
|
|
26804
26897
|
}
|
|
26805
26898
|
/** Triggered when a refund is created. */
|
|
26806
|
-
interface RefundCreated
|
|
26899
|
+
interface RefundCreated {
|
|
26807
26900
|
/** Updated order transactions. */
|
|
26808
26901
|
orderTransactions?: OrderTransactions$2;
|
|
26809
26902
|
/** ID of the created refund. */
|
|
@@ -28931,7 +29024,7 @@ interface BulkUpdateOrderTagsResponseNonNullableFields {
|
|
|
28931
29024
|
results: BulkUpdateOrderTagsResultNonNullableFields[];
|
|
28932
29025
|
bulkActionMetadata?: BulkActionMetadataNonNullableFields$1;
|
|
28933
29026
|
}
|
|
28934
|
-
interface BaseEventMetadata$
|
|
29027
|
+
interface BaseEventMetadata$3 {
|
|
28935
29028
|
/** App instance ID. */
|
|
28936
29029
|
instanceId?: string | null;
|
|
28937
29030
|
/** Event type. */
|
|
@@ -28939,7 +29032,7 @@ interface BaseEventMetadata$4 {
|
|
|
28939
29032
|
/** The identification type and identity data. */
|
|
28940
29033
|
identity?: IdentificationData$9;
|
|
28941
29034
|
}
|
|
28942
|
-
interface EventMetadata$
|
|
29035
|
+
interface EventMetadata$3 extends BaseEventMetadata$3 {
|
|
28943
29036
|
/**
|
|
28944
29037
|
* Unique event ID.
|
|
28945
29038
|
* Allows clients to ignore duplicate webhooks.
|
|
@@ -28979,23 +29072,23 @@ interface EventMetadata$4 extends BaseEventMetadata$4 {
|
|
|
28979
29072
|
}
|
|
28980
29073
|
interface OrderPaymentStatusUpdatedEnvelope {
|
|
28981
29074
|
data: PaymentStatusUpdated;
|
|
28982
|
-
metadata: EventMetadata$
|
|
29075
|
+
metadata: EventMetadata$3;
|
|
28983
29076
|
}
|
|
28984
29077
|
interface OrderUpdatedEnvelope {
|
|
28985
29078
|
entity: Order$1;
|
|
28986
|
-
metadata: EventMetadata$
|
|
29079
|
+
metadata: EventMetadata$3;
|
|
28987
29080
|
}
|
|
28988
29081
|
interface OrderCreatedEnvelope {
|
|
28989
29082
|
entity: Order$1;
|
|
28990
|
-
metadata: EventMetadata$
|
|
29083
|
+
metadata: EventMetadata$3;
|
|
28991
29084
|
}
|
|
28992
29085
|
interface OrderCanceledEnvelope {
|
|
28993
29086
|
data: OrderCanceledEventOrderCanceled;
|
|
28994
|
-
metadata: EventMetadata$
|
|
29087
|
+
metadata: EventMetadata$3;
|
|
28995
29088
|
}
|
|
28996
29089
|
interface OrderApprovedEnvelope {
|
|
28997
29090
|
data: OrderApproved;
|
|
28998
|
-
metadata: EventMetadata$
|
|
29091
|
+
metadata: EventMetadata$3;
|
|
28999
29092
|
}
|
|
29000
29093
|
interface PreparePaymentCollectionOptions {
|
|
29001
29094
|
/**
|
|
@@ -29371,7 +29464,7 @@ declare const onOrderCreated$1: EventDefinition<OrderCreatedEnvelope, "wix.ecom.
|
|
|
29371
29464
|
declare const onOrderCanceled$1: EventDefinition<OrderCanceledEnvelope, "wix.ecom.v1.order_canceled">;
|
|
29372
29465
|
declare const onOrderApproved$1: EventDefinition<OrderApprovedEnvelope, "wix.ecom.v1.order_approved">;
|
|
29373
29466
|
|
|
29374
|
-
declare function createEventModule$
|
|
29467
|
+
declare function createEventModule$3<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
29375
29468
|
|
|
29376
29469
|
declare const preparePaymentCollection: MaybeContext<BuildRESTFunction<typeof preparePaymentCollection$1> & typeof preparePaymentCollection$1>;
|
|
29377
29470
|
declare const getPaymentCollectabilityStatus: MaybeContext<BuildRESTFunction<typeof getPaymentCollectabilityStatus$1> & typeof getPaymentCollectabilityStatus$1>;
|
|
@@ -29389,32 +29482,32 @@ type _publicOnOrderPaymentStatusUpdatedType = typeof onOrderPaymentStatusUpdated
|
|
|
29389
29482
|
/**
|
|
29390
29483
|
* Triggered when an order's payment status is updated to `"PAID"`.
|
|
29391
29484
|
*/
|
|
29392
|
-
declare const onOrderPaymentStatusUpdated: ReturnType<typeof createEventModule$
|
|
29485
|
+
declare const onOrderPaymentStatusUpdated: ReturnType<typeof createEventModule$3<_publicOnOrderPaymentStatusUpdatedType>>;
|
|
29393
29486
|
|
|
29394
29487
|
type _publicOnOrderUpdatedType = typeof onOrderUpdated$1;
|
|
29395
29488
|
/** */
|
|
29396
|
-
declare const onOrderUpdated: ReturnType<typeof createEventModule$
|
|
29489
|
+
declare const onOrderUpdated: ReturnType<typeof createEventModule$3<_publicOnOrderUpdatedType>>;
|
|
29397
29490
|
|
|
29398
29491
|
type _publicOnOrderCreatedType = typeof onOrderCreated$1;
|
|
29399
29492
|
/**
|
|
29400
29493
|
* Triggered when an order is created.
|
|
29401
29494
|
* Learn more about [webhook payload structure](https://dev.wix.com/docs/rest/api-reference/wix-e-commerce/orders/order-object-conversion#webhook-conversion-table).
|
|
29402
29495
|
*/
|
|
29403
|
-
declare const onOrderCreated: ReturnType<typeof createEventModule$
|
|
29496
|
+
declare const onOrderCreated: ReturnType<typeof createEventModule$3<_publicOnOrderCreatedType>>;
|
|
29404
29497
|
|
|
29405
29498
|
type _publicOnOrderCanceledType = typeof onOrderCanceled$1;
|
|
29406
29499
|
/**
|
|
29407
29500
|
* Triggered when an order is canceled.
|
|
29408
29501
|
* 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).
|
|
29409
29502
|
*/
|
|
29410
|
-
declare const onOrderCanceled: ReturnType<typeof createEventModule$
|
|
29503
|
+
declare const onOrderCanceled: ReturnType<typeof createEventModule$3<_publicOnOrderCanceledType>>;
|
|
29411
29504
|
|
|
29412
29505
|
type _publicOnOrderApprovedType = typeof onOrderApproved$1;
|
|
29413
29506
|
/**
|
|
29414
29507
|
* Triggered when an order is created and its status is updated to `"APPROVED"`.
|
|
29415
29508
|
* 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).
|
|
29416
29509
|
*/
|
|
29417
|
-
declare const onOrderApproved: ReturnType<typeof createEventModule$
|
|
29510
|
+
declare const onOrderApproved: ReturnType<typeof createEventModule$3<_publicOnOrderApprovedType>>;
|
|
29418
29511
|
|
|
29419
29512
|
type index_d$c_ActivityContentOneOf = ActivityContentOneOf;
|
|
29420
29513
|
type index_d$c_AddActivitiesRequest = AddActivitiesRequest;
|
|
@@ -29727,6 +29820,7 @@ type index_d$c_QuotesAddress = QuotesAddress;
|
|
|
29727
29820
|
type index_d$c_RecordManuallyCollectedPaymentRequest = RecordManuallyCollectedPaymentRequest;
|
|
29728
29821
|
type index_d$c_RecordManuallyCollectedPaymentResponse = RecordManuallyCollectedPaymentResponse;
|
|
29729
29822
|
type index_d$c_RedirectUrls = RedirectUrls;
|
|
29823
|
+
type index_d$c_RefundCreated = RefundCreated;
|
|
29730
29824
|
type index_d$c_RefundInitiated = RefundInitiated;
|
|
29731
29825
|
type index_d$c_RefundedAsStoreCredit = RefundedAsStoreCredit;
|
|
29732
29826
|
type index_d$c_RefundedPayment = RefundedPayment;
|
|
@@ -29852,7 +29946,7 @@ declare const index_d$c_searchOrders: typeof searchOrders;
|
|
|
29852
29946
|
declare const index_d$c_updateOrder: typeof updateOrder;
|
|
29853
29947
|
declare const index_d$c_voidAuthorizedPayments: typeof voidAuthorizedPayments;
|
|
29854
29948
|
declare namespace index_d$c {
|
|
29855
|
-
export { type ActionEvent$9 as ActionEvent, ActionType$2 as ActionType, type Activity$1 as Activity, type index_d$c_ActivityContentOneOf as ActivityContentOneOf, ActivityType$1 as ActivityType, type index_d$c_AddActivitiesRequest as AddActivitiesRequest, type index_d$c_AddActivitiesResponse as AddActivitiesResponse, type index_d$c_AddActivityRequest as AddActivityRequest, type index_d$c_AddActivityResponse as AddActivityResponse, type index_d$c_AddInternalActivityRequest as AddInternalActivityRequest, type index_d$c_AddInternalActivityResponse as AddInternalActivityResponse, type AdditionalFee$1 as AdditionalFee, type index_d$c_AdditionalFeeDelta as AdditionalFeeDelta, type index_d$c_AdditionalFeeDeltaDeltaOneOf as AdditionalFeeDeltaDeltaOneOf, type AdditionalFeeRefund$2 as AdditionalFeeRefund, type Address$5 as Address, type index_d$c_AddressDescription as AddressDescription, type AddressLocation$3 as AddressLocation, type index_d$c_AddressWithContact as AddressWithContact, type index_d$c_AggregateOrdersRequest as AggregateOrdersRequest, type index_d$c_AggregateOrdersResponse as AggregateOrdersResponse, type AggregatedRefundSummary$2 as AggregatedRefundSummary, type index_d$c_App as App, type ApplicationError$4 as ApplicationError, type AppliedDiscount$1 as AppliedDiscount, type index_d$c_AppliedDiscountDelta as AppliedDiscountDelta, type index_d$c_AppliedDiscountDeltaDeltaOneOf as AppliedDiscountDeltaDeltaOneOf, type AppliedDiscountDiscountSourceOneOf$1 as AppliedDiscountDiscountSourceOneOf, type index_d$c_ArchiveOrderRequest as ArchiveOrderRequest, type index_d$c_ArchiveOrderResponse as ArchiveOrderResponse, index_d$c_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$c_AuthorizedPaymentCaptured as AuthorizedPaymentCaptured, type index_d$c_AuthorizedPaymentCreated as AuthorizedPaymentCreated, type index_d$c_AuthorizedPaymentVoided as AuthorizedPaymentVoided, type index_d$c_Balance as Balance, type index_d$c_BalanceSummary as BalanceSummary, type BaseEventMetadata$4 as BaseEventMetadata, type index_d$c_BatchOfTriggerReindexOrderRequest as BatchOfTriggerReindexOrderRequest, type index_d$c_BigDecimalWrapper as BigDecimalWrapper, type BulkActionMetadata$1 as BulkActionMetadata, type index_d$c_BulkArchiveOrdersByFilterRequest as BulkArchiveOrdersByFilterRequest, type index_d$c_BulkArchiveOrdersByFilterResponse as BulkArchiveOrdersByFilterResponse, type index_d$c_BulkArchiveOrdersRequest as BulkArchiveOrdersRequest, type index_d$c_BulkArchiveOrdersResponse as BulkArchiveOrdersResponse, type index_d$c_BulkMarkAsFulfilledByFilterRequest as BulkMarkAsFulfilledByFilterRequest, type index_d$c_BulkMarkAsFulfilledByFilterResponse as BulkMarkAsFulfilledByFilterResponse, type index_d$c_BulkMarkAsFulfilledRequest as BulkMarkAsFulfilledRequest, type index_d$c_BulkMarkAsFulfilledResponse as BulkMarkAsFulfilledResponse, type index_d$c_BulkMarkAsUnfulfilledByFilterRequest as BulkMarkAsUnfulfilledByFilterRequest, type index_d$c_BulkMarkAsUnfulfilledByFilterResponse as BulkMarkAsUnfulfilledByFilterResponse, type index_d$c_BulkMarkAsUnfulfilledRequest as BulkMarkAsUnfulfilledRequest, type index_d$c_BulkMarkAsUnfulfilledResponse as BulkMarkAsUnfulfilledResponse, type index_d$c_BulkMarkOrdersAsPaidRequest as BulkMarkOrdersAsPaidRequest, type index_d$c_BulkMarkOrdersAsPaidResponse as BulkMarkOrdersAsPaidResponse, type index_d$c_BulkOrderResult as BulkOrderResult, type index_d$c_BulkSendBuyerPickupConfirmationEmailsRequest as BulkSendBuyerPickupConfirmationEmailsRequest, type index_d$c_BulkSendBuyerPickupConfirmationEmailsResponse as BulkSendBuyerPickupConfirmationEmailsResponse, type index_d$c_BulkSendBuyerShippingConfirmationEmailsRequest as BulkSendBuyerShippingConfirmationEmailsRequest, type index_d$c_BulkSendBuyerShippingConfirmationEmailsResponse as BulkSendBuyerShippingConfirmationEmailsResponse, type index_d$c_BulkUnArchiveOrdersByFilterRequest as BulkUnArchiveOrdersByFilterRequest, type index_d$c_BulkUnArchiveOrdersByFilterResponse as BulkUnArchiveOrdersByFilterResponse, type index_d$c_BulkUnArchiveOrdersRequest as BulkUnArchiveOrdersRequest, type index_d$c_BulkUnArchiveOrdersResponse as BulkUnArchiveOrdersResponse, type index_d$c_BulkUpdateOrderTagsOptions as BulkUpdateOrderTagsOptions, type index_d$c_BulkUpdateOrderTagsRequest as BulkUpdateOrderTagsRequest, type index_d$c_BulkUpdateOrderTagsResponse as BulkUpdateOrderTagsResponse, type index_d$c_BulkUpdateOrderTagsResponseNonNullableFields as BulkUpdateOrderTagsResponseNonNullableFields, type index_d$c_BulkUpdateOrderTagsResult as BulkUpdateOrderTagsResult, type index_d$c_BulkUpdateOrdersOptions as BulkUpdateOrdersOptions, type index_d$c_BulkUpdateOrdersRequest as BulkUpdateOrdersRequest, type index_d$c_BulkUpdateOrdersResponse as BulkUpdateOrdersResponse, type index_d$c_BulkUpdateOrdersResponseNonNullableFields as BulkUpdateOrdersResponseNonNullableFields, type BuyerInfo$1 as BuyerInfo, type index_d$c_BuyerInfoIdOneOf as BuyerInfoIdOneOf, type index_d$c_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$c_CalculatedTax as CalculatedTax, type index_d$c_CalculatedTaxes as CalculatedTaxes, type index_d$c_Cancel as Cancel, type index_d$c_CancelOrderOptions as CancelOrderOptions, type index_d$c_CancelOrderRequest as CancelOrderRequest, type index_d$c_CancelOrderResponse as CancelOrderResponse, type index_d$c_CancelOrderResponseNonNullableFields as CancelOrderResponseNonNullableFields, type index_d$c_CaptureAuthorizedPaymentsRequest as CaptureAuthorizedPaymentsRequest, type index_d$c_CaptureAuthorizedPaymentsResponse as CaptureAuthorizedPaymentsResponse, type index_d$c_CaptureAuthorizedPaymentsResponseNonNullableFields as CaptureAuthorizedPaymentsResponseNonNullableFields, type CatalogReference$3 as CatalogReference, type ChannelInfo$1 as ChannelInfo, ChannelType$1 as ChannelType, type index_d$c_ChargeMembershipsRequest as ChargeMembershipsRequest, type index_d$c_ChargeMembershipsResponse as ChargeMembershipsResponse, type index_d$c_ChargeSavedPaymentMethodRequest as ChargeSavedPaymentMethodRequest, type index_d$c_ChargeSavedPaymentMethodResponse as ChargeSavedPaymentMethodResponse, type index_d$c_ChargedBy as ChargedBy, type index_d$c_Color as Color, type index_d$c_CommitDeltasRequest as CommitDeltasRequest, type index_d$c_CommitDeltasResponse as CommitDeltasResponse, type index_d$c_CommittedDiffs as CommittedDiffs, type index_d$c_CommittedDiffsShippingUpdateInfoOneOf as CommittedDiffsShippingUpdateInfoOneOf, type index_d$c_CommonAddress as CommonAddress, type index_d$c_CommonAddressStreetOneOf as CommonAddressStreetOneOf, type index_d$c_Company as Company, type index_d$c_Complete as Complete, type index_d$c_ContinueSideEffectsFlowInLegacyData as ContinueSideEffectsFlowInLegacyData, type Coupon$1 as Coupon, type index_d$c_CreateOrderRequest as CreateOrderRequest, type index_d$c_CreateOrderResponse as CreateOrderResponse, type index_d$c_CreateOrderResponseNonNullableFields as CreateOrderResponseNonNullableFields, type index_d$c_CreatePaymentGatewayOrderRequest as CreatePaymentGatewayOrderRequest, type index_d$c_CreatePaymentGatewayOrderResponse as CreatePaymentGatewayOrderResponse, type index_d$c_CreatedBy as CreatedBy, type index_d$c_CreatedByStringOneOf as CreatedByStringOneOf, type index_d$c_CreditCardDetails as CreditCardDetails, type CreditCardPaymentMethodDetails$2 as CreditCardPaymentMethodDetails, type CursorPaging$7 as CursorPaging, type CursorPagingMetadata$6 as CursorPagingMetadata, type index_d$c_CursorSearch as CursorSearch, type index_d$c_CursorSearchPagingMethodOneOf as CursorSearchPagingMethodOneOf, type Cursors$7 as Cursors, type index_d$c_CustomActivity as CustomActivity, type CustomField$1 as CustomField, index_d$c_CustomFieldGroup as CustomFieldGroup, type index_d$c_CustomFieldValue as CustomFieldValue, type index_d$c_Customer as Customer, type index_d$c_DecrementData as DecrementData, type index_d$c_DecrementItemsQuantityRequest as DecrementItemsQuantityRequest, type index_d$c_DecrementItemsQuantityResponse as DecrementItemsQuantityResponse, type index_d$c_DelayedCaptureSettings as DelayedCaptureSettings, type index_d$c_DeleteActivityRequest as DeleteActivityRequest, type index_d$c_DeleteActivityResponse as DeleteActivityResponse, type index_d$c_DeleteByFilterOperation as DeleteByFilterOperation, type index_d$c_DeleteByIdsOperation as DeleteByIdsOperation, type DeliveryLogistics$2 as DeliveryLogistics, type index_d$c_DeliveryLogisticsAddressOneOf as DeliveryLogisticsAddressOneOf, type DeliveryTimeSlot$2 as DeliveryTimeSlot, index_d$c_DeltaPaymentOptionType as DeltaPaymentOptionType, type index_d$c_Deposit as Deposit, index_d$c_DepositType as DepositType, type index_d$c_DescriptionLine as DescriptionLine, type index_d$c_DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOf, type index_d$c_DescriptionLineName as DescriptionLineName, index_d$c_DescriptionLineType as DescriptionLineType, type index_d$c_DescriptionLineValueOneOf as DescriptionLineValueOneOf, type DiffmatokyPayload$2 as DiffmatokyPayload, type DigitalFile$1 as DigitalFile, type Discount$1 as Discount, type index_d$c_DiscountOneDiscountTypeOneOf as DiscountOneDiscountTypeOneOf, index_d$c_DiscountReason as DiscountReason, type DiscountRule$1 as DiscountRule, type DiscountRuleName$1 as DiscountRuleName, DiscountType$1 as DiscountType, type DomainEvent$9 as DomainEvent, type DomainEventBodyOneOf$9 as DomainEventBodyOneOf, type index_d$c_DownloadLinkSent as DownloadLinkSent, type index_d$c_DraftOrderChangesApplied as DraftOrderChangesApplied, type index_d$c_DraftOrderCommitSettings as DraftOrderCommitSettings, type index_d$c_DraftOrderDiffs as DraftOrderDiffs, type index_d$c_DraftOrderDiffsBillingUpdateInfoOneOf as DraftOrderDiffsBillingUpdateInfoOneOf, type index_d$c_DraftOrderDiffsBuyerUpdateInfoOneOf as DraftOrderDiffsBuyerUpdateInfoOneOf, type index_d$c_DraftOrderDiffsRecipientUpdateInfoOneOf as DraftOrderDiffsRecipientUpdateInfoOneOf, type index_d$c_DraftOrderDiffsShippingUpdateInfoOneOf as DraftOrderDiffsShippingUpdateInfoOneOf, type index_d$c_Duration as Duration, index_d$c_DurationUnit as DurationUnit, type index_d$c_Email as Email, type index_d$c_EmailEdited as EmailEdited, type Empty$5 as Empty, type EntityCreatedEvent$9 as EntityCreatedEvent, type EntityDeletedEvent$9 as EntityDeletedEvent, type EntityUpdatedEvent$9 as EntityUpdatedEvent, type ErrorInformation$2 as ErrorInformation, type EventMetadata$4 as EventMetadata, type ExtendedFields$4 as ExtendedFields, type index_d$c_ExternalUriMapping as ExternalUriMapping, type index_d$c_FulfillerEmailSent as FulfillerEmailSent, FulfillmentStatus$1 as FulfillmentStatus, type index_d$c_FulfillmentStatusUpdated as FulfillmentStatusUpdated, type index_d$c_FulfillmentStatusesAggregate as FulfillmentStatusesAggregate, type FullAddressContactDetails$1 as FullAddressContactDetails, type index_d$c_GetMetasiteDataRequest as GetMetasiteDataRequest, type index_d$c_GetMetasiteDataResponse as GetMetasiteDataResponse, type index_d$c_GetOrderForMetasiteRequest as GetOrderForMetasiteRequest, type index_d$c_GetOrderForMetasiteResponse as GetOrderForMetasiteResponse, type index_d$c_GetOrderRequest as GetOrderRequest, type index_d$c_GetOrderResponse as GetOrderResponse, type index_d$c_GetOrderResponseNonNullableFields as GetOrderResponseNonNullableFields, type index_d$c_GetPaymentCollectabilityStatusRequest as GetPaymentCollectabilityStatusRequest, type index_d$c_GetPaymentCollectabilityStatusResponse as GetPaymentCollectabilityStatusResponse, type index_d$c_GetPaymentCollectabilityStatusResponseNonNullableFields as GetPaymentCollectabilityStatusResponseNonNullableFields, type GetRefundabilityStatusRequest$1 as GetRefundabilityStatusRequest, type GetRefundabilityStatusResponse$1 as GetRefundabilityStatusResponse, type index_d$c_GetShipmentsRequest as GetShipmentsRequest, type index_d$c_GetShipmentsResponse as GetShipmentsResponse, type GiftCardPaymentDetails$2 as GiftCardPaymentDetails, type index_d$c_GiftCardPaymentRefund as GiftCardPaymentRefund, type index_d$c_HtmlApplication as HtmlApplication, type index_d$c_IdAndVersion as IdAndVersion, type IdentificationData$9 as IdentificationData, type IdentificationDataIdOneOf$9 as IdentificationDataIdOneOf, type IndexingMessage$1 as IndexingMessage, type index_d$c_InternalActivity as InternalActivity, type index_d$c_InternalActivityContentOneOf as InternalActivityContentOneOf, type index_d$c_InternalDocument as InternalDocument, type index_d$c_InternalDocumentUpdateByFilterOperation as InternalDocumentUpdateByFilterOperation, type index_d$c_InternalDocumentUpdateOperation as InternalDocumentUpdateOperation, type index_d$c_InternalQueryOrdersRequest as InternalQueryOrdersRequest, type index_d$c_InternalQueryOrdersResponse as InternalQueryOrdersResponse, type index_d$c_InternalUpdateExistingOperation as InternalUpdateExistingOperation, index_d$c_InventoryAction as InventoryAction, type index_d$c_InventoryUpdateDetails as InventoryUpdateDetails, type index_d$c_InvoiceAdded as InvoiceAdded, type index_d$c_InvoiceDates as InvoiceDates, type index_d$c_InvoiceDynamicPriceTotals as InvoiceDynamicPriceTotals, type index_d$c_InvoiceFields as InvoiceFields, type index_d$c_InvoiceSent as InvoiceSent, type index_d$c_InvoiceSentEvent as InvoiceSentEvent, index_d$c_InvoiceStatus as InvoiceStatus, type index_d$c_InvoicesPayment as InvoicesPayment, type index_d$c_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$c_ItemizedFee as ItemizedFee, JurisdictionType$1 as JurisdictionType, type LineItem$2 as LineItem, type index_d$c_LineItemAmount as LineItemAmount, type index_d$c_LineItemChanges as LineItemChanges, type index_d$c_LineItemDelta as LineItemDelta, type index_d$c_LineItemDeltaDeltaOneOf as LineItemDeltaDeltaOneOf, type LineItemDiscount$1 as LineItemDiscount, type index_d$c_LineItemExchangeData as LineItemExchangeData, type index_d$c_LineItemMetaData as LineItemMetaData, type index_d$c_LineItemPriceChange as LineItemPriceChange, type index_d$c_LineItemQuantityChange as LineItemQuantityChange, index_d$c_LineItemQuantityChangeType as LineItemQuantityChangeType, type LineItemRefund$2 as LineItemRefund, type index_d$c_LineItemTax as LineItemTax, type index_d$c_LineItemTaxBreakdown as LineItemTaxBreakdown, type index_d$c_LineItemTaxInfo as LineItemTaxInfo, type index_d$c_LineItemUpdate as LineItemUpdate, type index_d$c_LineItems as LineItems, type index_d$c_ListOrderTransactionsForMetasiteRequest as ListOrderTransactionsForMetasiteRequest, type index_d$c_ListOrderTransactionsForMetasiteResponse as ListOrderTransactionsForMetasiteResponse, type index_d$c_Locale as Locale, type index_d$c_LocationAndQuantity as LocationAndQuantity, type index_d$c_ManagedAdditionalFee as ManagedAdditionalFee, type index_d$c_ManagedDiscount as ManagedDiscount, type index_d$c_ManagedLineItem as ManagedLineItem, ManuallyRefundableReason$1 as ManuallyRefundableReason, type index_d$c_MarkAsFulfilledRequest as MarkAsFulfilledRequest, type index_d$c_MarkAsFulfilledResponse as MarkAsFulfilledResponse, type index_d$c_MarkAsUnfulfilledRequest as MarkAsUnfulfilledRequest, type index_d$c_MarkAsUnfulfilledResponse as MarkAsUnfulfilledResponse, type index_d$c_MarkOrderAsPaidRequest as MarkOrderAsPaidRequest, type index_d$c_MarkOrderAsPaidResponse as MarkOrderAsPaidResponse, type index_d$c_MarkOrderAsSeenByHumanRequest as MarkOrderAsSeenByHumanRequest, type index_d$c_MarkOrderAsSeenByHumanResponse as MarkOrderAsSeenByHumanResponse, type index_d$c_MaskedOrder as MaskedOrder, type index_d$c_MaskedOrderLineItem as MaskedOrderLineItem, type index_d$c_MembershipChargeItem as MembershipChargeItem, type MembershipName$3 as MembershipName, type MembershipPaymentDetails$2 as MembershipPaymentDetails, type index_d$c_MembershipPaymentRefund as MembershipPaymentRefund, MembershipPaymentStatus$2 as MembershipPaymentStatus, type index_d$c_MerchantComment as MerchantComment, type MerchantDiscount$1 as MerchantDiscount, type index_d$c_MerchantDiscountMerchantDiscountReasonOneOf as MerchantDiscountMerchantDiscountReasonOneOf, type MessageEnvelope$8 as MessageEnvelope, type index_d$c_MetaData as MetaData, type index_d$c_MetaSite as MetaSite, type index_d$c_MetaTag as MetaTag, index_d$c_Namespace as Namespace, type index_d$c_NewExchangeOrderCreated as NewExchangeOrderCreated, NonRefundableReason$1 as NonRefundableReason, type Order$1 as Order, index_d$c_OrderApprovalStrategy as OrderApprovalStrategy, type index_d$c_OrderApproved as OrderApproved, type index_d$c_OrderApprovedEnvelope as OrderApprovedEnvelope, type index_d$c_OrderCanceled as OrderCanceled, type index_d$c_OrderCanceledEnvelope as OrderCanceledEnvelope, type index_d$c_OrderCanceledEventOrderCanceled as OrderCanceledEventOrderCanceled, type index_d$c_OrderChange as OrderChange, type index_d$c_OrderChangeValueOneOf as OrderChangeValueOneOf, type index_d$c_OrderCreateNotifications as OrderCreateNotifications, type index_d$c_OrderCreatedEnvelope as OrderCreatedEnvelope, type index_d$c_OrderCreatedFromExchange as OrderCreatedFromExchange, type index_d$c_OrderCreationSettings as OrderCreationSettings, type index_d$c_OrderDeltasCommitted as OrderDeltasCommitted, type index_d$c_OrderFulfilled as OrderFulfilled, type index_d$c_OrderItemsRestocked as OrderItemsRestocked, type index_d$c_OrderLineItem as OrderLineItem, type index_d$c_OrderLineItemChangedDetails as OrderLineItemChangedDetails, type index_d$c_OrderNonNullableFields as OrderNonNullableFields, type index_d$c_OrderNotFulfilled as OrderNotFulfilled, type index_d$c_OrderPaid as OrderPaid, type index_d$c_OrderPartiallyPaid as OrderPartiallyPaid, type index_d$c_OrderPaymentStatusUpdatedEnvelope as OrderPaymentStatusUpdatedEnvelope, type index_d$c_OrderPending as OrderPending, type index_d$c_OrderPlaced as OrderPlaced, type OrderRefunded$1 as OrderRefunded, type index_d$c_OrderRejected as OrderRejected, type index_d$c_OrderRejectedEventOrderRejected as OrderRejectedEventOrderRejected, index_d$c_OrderStatus as OrderStatus, type index_d$c_OrderTaxBreakdown as OrderTaxBreakdown, type index_d$c_OrderTaxInfo as OrderTaxInfo, type OrderTransactions$2 as OrderTransactions, type index_d$c_OrderUpdatedEnvelope as OrderUpdatedEnvelope, type index_d$c_OrdersExperiments as OrdersExperiments, type Payment$2 as Payment, type index_d$c_PaymentCanceled as PaymentCanceled, type index_d$c_PaymentCanceledPaymentDetailsOneOf as PaymentCanceledPaymentDetailsOneOf, type index_d$c_PaymentCapture as PaymentCapture, index_d$c_PaymentCollectabilityStatus as PaymentCollectabilityStatus, type index_d$c_PaymentDeclined as PaymentDeclined, type index_d$c_PaymentDeclinedPaymentDetailsOneOf as PaymentDeclinedPaymentDetailsOneOf, PaymentOptionType$1 as PaymentOptionType, type PaymentPaymentDetailsOneOf$2 as PaymentPaymentDetailsOneOf, type index_d$c_PaymentPending as PaymentPending, type index_d$c_PaymentPendingPaymentDetailsOneOf as PaymentPendingPaymentDetailsOneOf, type PaymentRefund$1 as PaymentRefund, type index_d$c_PaymentRefundFailed as PaymentRefundFailed, type index_d$c_PaymentRefunded as PaymentRefunded, PaymentStatus$1 as PaymentStatus, type index_d$c_PaymentStatusUpdated as PaymentStatusUpdated, type index_d$c_Payments as Payments, type index_d$c_Phone as Phone, type PhysicalProperties$2 as PhysicalProperties, type PickupAddress$1 as PickupAddress, type PickupDetails$3 as PickupDetails, PickupMethod$2 as PickupMethod, type index_d$c_PickupReadyEmailSent as PickupReadyEmailSent, index_d$c_Placement as Placement, type index_d$c_PlainTextValue as PlainTextValue, type index_d$c_PlatformPaging as PlatformPaging, type index_d$c_PlatformPagingMetadata as PlatformPagingMetadata, type index_d$c_PlatformQuery as PlatformQuery, type index_d$c_PlatformQueryPagingMethodOneOf as PlatformQueryPagingMethodOneOf, type index_d$c_PreparePaymentCollectionOptions as PreparePaymentCollectionOptions, type index_d$c_PreparePaymentCollectionRequest as PreparePaymentCollectionRequest, type index_d$c_PreparePaymentCollectionResponse as PreparePaymentCollectionResponse, type index_d$c_PreparePaymentCollectionResponseNonNullableFields as PreparePaymentCollectionResponseNonNullableFields, type index_d$c_PreviewBuyerConfirmationEmailRequest as PreviewBuyerConfirmationEmailRequest, type index_d$c_PreviewBuyerConfirmationEmailResponse as PreviewBuyerConfirmationEmailResponse, type index_d$c_PreviewBuyerPaymentsReceivedEmailRequest as PreviewBuyerPaymentsReceivedEmailRequest, type index_d$c_PreviewBuyerPaymentsReceivedEmailResponse as PreviewBuyerPaymentsReceivedEmailResponse, type index_d$c_PreviewBuyerPickupConfirmationEmailRequest as PreviewBuyerPickupConfirmationEmailRequest, type index_d$c_PreviewBuyerPickupConfirmationEmailResponse as PreviewBuyerPickupConfirmationEmailResponse, type index_d$c_PreviewCancelEmailRequest as PreviewCancelEmailRequest, type index_d$c_PreviewCancelEmailResponse as PreviewCancelEmailResponse, type index_d$c_PreviewCancelRefundEmailRequest as PreviewCancelRefundEmailRequest, type index_d$c_PreviewCancelRefundEmailResponse as PreviewCancelRefundEmailResponse, type index_d$c_PreviewEmailByTypeRequest as PreviewEmailByTypeRequest, type index_d$c_PreviewEmailByTypeResponse as PreviewEmailByTypeResponse, index_d$c_PreviewEmailType as PreviewEmailType, type index_d$c_PreviewRefundEmailRequest as PreviewRefundEmailRequest, type index_d$c_PreviewRefundEmailResponse as PreviewRefundEmailResponse, type index_d$c_PreviewResendDownloadLinksEmailRequest as PreviewResendDownloadLinksEmailRequest, type index_d$c_PreviewResendDownloadLinksEmailResponse as PreviewResendDownloadLinksEmailResponse, type index_d$c_PreviewShippingConfirmationEmailRequest as PreviewShippingConfirmationEmailRequest, type index_d$c_PreviewShippingConfirmationEmailResponse as PreviewShippingConfirmationEmailResponse, type Price$3 as Price, type index_d$c_PriceDescription as PriceDescription, type PriceSummary$1 as PriceSummary, type index_d$c_ProductName as ProductName, type index_d$c_PublicActivity as PublicActivity, type index_d$c_PublicActivityContentOneOf as PublicActivityContentOneOf, type index_d$c_QueryOrderRequest as QueryOrderRequest, type index_d$c_QueryOrderResponse as QueryOrderResponse, type index_d$c_QueryOrdersForMetasiteRequest as QueryOrdersForMetasiteRequest, type index_d$c_QueryOrdersForMetasiteResponse as QueryOrdersForMetasiteResponse, type index_d$c_QuotesAddress as QuotesAddress, Reason$2 as Reason, type index_d$c_RecordManuallyCollectedPaymentRequest as RecordManuallyCollectedPaymentRequest, type index_d$c_RecordManuallyCollectedPaymentResponse as RecordManuallyCollectedPaymentResponse, type index_d$c_RedirectUrls as RedirectUrls, type Refund$2 as Refund, type RefundCreated$1 as RefundCreated, type RefundDetails$2 as RefundDetails, type index_d$c_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$c_RefundedAsStoreCredit as RefundedAsStoreCredit, type index_d$c_RefundedPayment as RefundedPayment, type index_d$c_RefundedPaymentKindOneOf as RefundedPaymentKindOneOf, type index_d$c_RegularPayment as RegularPayment, type RegularPaymentDetails$2 as RegularPaymentDetails, type RegularPaymentDetailsPaymentMethodDetailsOneOf$2 as RegularPaymentDetailsPaymentMethodDetailsOneOf, type index_d$c_RegularPaymentPaymentMethodDetailsOneOf as RegularPaymentPaymentMethodDetailsOneOf, type index_d$c_RegularPaymentRefund as RegularPaymentRefund, type index_d$c_Reschedule as Reschedule, type RestockInfo$1 as RestockInfo, type RestockItem$1 as RestockItem, RestockType$1 as RestockType, type RestoreInfo$9 as RestoreInfo, type index_d$c_SavedPaymentMethod as SavedPaymentMethod, ScheduledAction$2 as ScheduledAction, type index_d$c_SearchOrdersOptions as SearchOrdersOptions, type index_d$c_SearchOrdersRequest as SearchOrdersRequest, type index_d$c_SearchOrdersResponse as SearchOrdersResponse, type index_d$c_SearchOrdersResponseNonNullableFields as SearchOrdersResponseNonNullableFields, type index_d$c_SendBuyerConfirmationEmailRequest as SendBuyerConfirmationEmailRequest, type index_d$c_SendBuyerConfirmationEmailResponse as SendBuyerConfirmationEmailResponse, type index_d$c_SendBuyerPaymentsReceivedEmailRequest as SendBuyerPaymentsReceivedEmailRequest, type index_d$c_SendBuyerPaymentsReceivedEmailResponse as SendBuyerPaymentsReceivedEmailResponse, type index_d$c_SendBuyerPickupConfirmationEmailRequest as SendBuyerPickupConfirmationEmailRequest, type index_d$c_SendBuyerPickupConfirmationEmailResponse as SendBuyerPickupConfirmationEmailResponse, type index_d$c_SendBuyerShippingConfirmationEmailRequest as SendBuyerShippingConfirmationEmailRequest, type index_d$c_SendBuyerShippingConfirmationEmailResponse as SendBuyerShippingConfirmationEmailResponse, type index_d$c_SendCancelRefundEmailRequest as SendCancelRefundEmailRequest, type index_d$c_SendCancelRefundEmailResponse as SendCancelRefundEmailResponse, type index_d$c_SendMerchantOrderReceivedNotificationRequest as SendMerchantOrderReceivedNotificationRequest, type index_d$c_SendMerchantOrderReceivedNotificationResponse as SendMerchantOrderReceivedNotificationResponse, type index_d$c_SendMerchantOrderReceivedPushRequest as SendMerchantOrderReceivedPushRequest, type index_d$c_SendMerchantOrderReceivedPushResponse as SendMerchantOrderReceivedPushResponse, type index_d$c_SendRefundEmailRequest as SendRefundEmailRequest, type index_d$c_SendRefundEmailResponse as SendRefundEmailResponse, type index_d$c_SeoData as SeoData, type ServiceProperties$1 as ServiceProperties, type index_d$c_ShippingAddressEdited as ShippingAddressEdited, type index_d$c_ShippingConfirmationEmailSent as ShippingConfirmationEmailSent, type ShippingInformation$1 as ShippingInformation, type index_d$c_ShippingInformationChange as ShippingInformationChange, type ShippingPrice$1 as ShippingPrice, type ShippingRefund$2 as ShippingRefund, type ShippingRegion$1 as ShippingRegion, type SnapshotMessage$1 as SnapshotMessage, SortOrder$7 as SortOrder, type Sorting$7 as Sorting, type Source$1 as Source, index_d$c_SourceType as SourceType, type index_d$c_StandardDetails as StandardDetails, index_d$c_State as State, type StreetAddress$4 as StreetAddress, type Subdivision$1 as Subdivision, SubdivisionType$1 as SubdivisionType, SubscriptionFrequency$2 as SubscriptionFrequency, type SubscriptionInfo$1 as SubscriptionInfo, type SubscriptionSettings$2 as SubscriptionSettings, type index_d$c_TagList as TagList, type index_d$c_Tags as Tags, type index_d$c_Task as Task, type index_d$c_TaskAction as TaskAction, type index_d$c_TaskActionActionOneOf as TaskActionActionOneOf, type index_d$c_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$c_TotalPrice as TotalPrice, type index_d$c_TotalPriceChange as TotalPriceChange, type index_d$c_TrackingLinkAdded as TrackingLinkAdded, type index_d$c_TrackingNumberAdded as TrackingNumberAdded, type index_d$c_TrackingNumberEdited as TrackingNumberEdited, TransactionStatus$2 as TransactionStatus, type index_d$c_TranslatedValue as TranslatedValue, type TriggerRefundRequest$1 as TriggerRefundRequest, type TriggerRefundResponse$1 as TriggerRefundResponse, type index_d$c_TriggerReindexOrderRequest as TriggerReindexOrderRequest, type index_d$c_TriggerReindexRequest as TriggerReindexRequest, type index_d$c_TriggerReindexResponse as TriggerReindexResponse, type index_d$c_TriggerSideEffectsFromLegacyData as TriggerSideEffectsFromLegacyData, type index_d$c_UnArchiveOrderRequest as UnArchiveOrderRequest, type index_d$c_UnArchiveOrderResponse as UnArchiveOrderResponse, type index_d$c_UpdateActivityRequest as UpdateActivityRequest, type index_d$c_UpdateActivityResponse as UpdateActivityResponse, type index_d$c_UpdateBillingContactDetailsRequest as UpdateBillingContactDetailsRequest, type index_d$c_UpdateBillingContactDetailsResponse as UpdateBillingContactDetailsResponse, type index_d$c_UpdateBuyerEmailRequest as UpdateBuyerEmailRequest, type index_d$c_UpdateBuyerEmailResponse as UpdateBuyerEmailResponse, type index_d$c_UpdateBuyerInfoRequest as UpdateBuyerInfoRequest, type index_d$c_UpdateBuyerInfoResponse as UpdateBuyerInfoResponse, type index_d$c_UpdateInternalDocumentsEvent as UpdateInternalDocumentsEvent, type index_d$c_UpdateInternalDocumentsEventOperationOneOf as UpdateInternalDocumentsEventOperationOneOf, type index_d$c_UpdateLineItemsDescriptionLinesRequest as UpdateLineItemsDescriptionLinesRequest, type index_d$c_UpdateLineItemsDescriptionLinesResponse as UpdateLineItemsDescriptionLinesResponse, type index_d$c_UpdateOrder as UpdateOrder, type index_d$c_UpdateOrderLineItemRequest as UpdateOrderLineItemRequest, type index_d$c_UpdateOrderLineItemResponse as UpdateOrderLineItemResponse, type index_d$c_UpdateOrderLineItemsRequest as UpdateOrderLineItemsRequest, type index_d$c_UpdateOrderLineItemsResponse as UpdateOrderLineItemsResponse, type index_d$c_UpdateOrderRequest as UpdateOrderRequest, type index_d$c_UpdateOrderResponse as UpdateOrderResponse, type index_d$c_UpdateOrderResponseNonNullableFields as UpdateOrderResponseNonNullableFields, type index_d$c_UpdateOrderShippingAddressRequest as UpdateOrderShippingAddressRequest, type index_d$c_UpdateOrderShippingAddressResponse as UpdateOrderShippingAddressResponse, type index_d$c_UpsertRefundRequest as UpsertRefundRequest, type index_d$c_UpsertRefundResponse as UpsertRefundResponse, type index_d$c_UserDataResponse as UserDataResponse, type index_d$c_V1BulkMarkOrdersAsPaidRequest as V1BulkMarkOrdersAsPaidRequest, type index_d$c_V1BulkMarkOrdersAsPaidResponse as V1BulkMarkOrdersAsPaidResponse, type index_d$c_V1CreatePaymentGatewayOrderRequest as V1CreatePaymentGatewayOrderRequest, type index_d$c_V1CreatePaymentGatewayOrderResponse as V1CreatePaymentGatewayOrderResponse, type index_d$c_V1LineItemDelta as V1LineItemDelta, type index_d$c_V1LineItemDeltaDeltaOneOf as V1LineItemDeltaDeltaOneOf, type index_d$c_V1MarkOrderAsPaidRequest as V1MarkOrderAsPaidRequest, type index_d$c_V1MarkOrderAsPaidResponse as V1MarkOrderAsPaidResponse, type index_d$c_V1RestockItem as V1RestockItem, type index_d$c_V1ScheduledAction as V1ScheduledAction, type index_d$c_V1ShippingInformation as V1ShippingInformation, type index_d$c_Value as Value, index_d$c_ValueType as ValueType, type VatId$2 as VatId, VatType$2 as VatType, type index_d$c_VersionedDeleteByIdsOperation as VersionedDeleteByIdsOperation, type index_d$c_VersionedDocumentId as VersionedDocumentId, type index_d$c_VersionedDocumentUpdateOperation as VersionedDocumentUpdateOperation, index_d$c_VersioningMode as VersioningMode, type index_d$c_VoidAuthorizedPaymentsRequest as VoidAuthorizedPaymentsRequest, type index_d$c_VoidAuthorizedPaymentsResponse as VoidAuthorizedPaymentsResponse, type index_d$c_VoidAuthorizedPaymentsResponseNonNullableFields as VoidAuthorizedPaymentsResponseNonNullableFields, WebhookIdentityType$8 as WebhookIdentityType, WeightUnit$3 as WeightUnit, type index_d$c__publicOnOrderApprovedType as _publicOnOrderApprovedType, type index_d$c__publicOnOrderCanceledType as _publicOnOrderCanceledType, type index_d$c__publicOnOrderCreatedType as _publicOnOrderCreatedType, type index_d$c__publicOnOrderPaymentStatusUpdatedType as _publicOnOrderPaymentStatusUpdatedType, type index_d$c__publicOnOrderUpdatedType as _publicOnOrderUpdatedType, index_d$c_bulkUpdateOrderTags as bulkUpdateOrderTags, index_d$c_bulkUpdateOrders as bulkUpdateOrders, index_d$c_cancelOrder as cancelOrder, index_d$c_captureAuthorizedPayments as captureAuthorizedPayments, index_d$c_createOrder as createOrder, index_d$c_getOrder as getOrder, index_d$c_getPaymentCollectabilityStatus as getPaymentCollectabilityStatus, index_d$c_onOrderApproved as onOrderApproved, index_d$c_onOrderCanceled as onOrderCanceled, index_d$c_onOrderCreated as onOrderCreated, index_d$c_onOrderPaymentStatusUpdated as onOrderPaymentStatusUpdated, index_d$c_onOrderUpdated as onOrderUpdated, index_d$c_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$c_searchOrders as searchOrders, index_d$c_updateOrder as updateOrder, index_d$c_voidAuthorizedPayments as voidAuthorizedPayments };
|
|
29949
|
+
export { type ActionEvent$9 as ActionEvent, ActionType$2 as ActionType, type Activity$1 as Activity, type index_d$c_ActivityContentOneOf as ActivityContentOneOf, ActivityType$1 as ActivityType, type index_d$c_AddActivitiesRequest as AddActivitiesRequest, type index_d$c_AddActivitiesResponse as AddActivitiesResponse, type index_d$c_AddActivityRequest as AddActivityRequest, type index_d$c_AddActivityResponse as AddActivityResponse, type index_d$c_AddInternalActivityRequest as AddInternalActivityRequest, type index_d$c_AddInternalActivityResponse as AddInternalActivityResponse, type AdditionalFee$1 as AdditionalFee, type index_d$c_AdditionalFeeDelta as AdditionalFeeDelta, type index_d$c_AdditionalFeeDeltaDeltaOneOf as AdditionalFeeDeltaDeltaOneOf, type AdditionalFeeRefund$2 as AdditionalFeeRefund, type Address$5 as Address, type index_d$c_AddressDescription as AddressDescription, type AddressLocation$3 as AddressLocation, type index_d$c_AddressWithContact as AddressWithContact, type index_d$c_AggregateOrdersRequest as AggregateOrdersRequest, type index_d$c_AggregateOrdersResponse as AggregateOrdersResponse, type AggregatedRefundSummary$2 as AggregatedRefundSummary, type index_d$c_App as App, type ApplicationError$4 as ApplicationError, type AppliedDiscount$1 as AppliedDiscount, type index_d$c_AppliedDiscountDelta as AppliedDiscountDelta, type index_d$c_AppliedDiscountDeltaDeltaOneOf as AppliedDiscountDeltaDeltaOneOf, type AppliedDiscountDiscountSourceOneOf$1 as AppliedDiscountDiscountSourceOneOf, type index_d$c_ArchiveOrderRequest as ArchiveOrderRequest, type index_d$c_ArchiveOrderResponse as ArchiveOrderResponse, index_d$c_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$c_AuthorizedPaymentCaptured as AuthorizedPaymentCaptured, type index_d$c_AuthorizedPaymentCreated as AuthorizedPaymentCreated, type index_d$c_AuthorizedPaymentVoided as AuthorizedPaymentVoided, type index_d$c_Balance as Balance, type index_d$c_BalanceSummary as BalanceSummary, type BaseEventMetadata$3 as BaseEventMetadata, type index_d$c_BatchOfTriggerReindexOrderRequest as BatchOfTriggerReindexOrderRequest, type index_d$c_BigDecimalWrapper as BigDecimalWrapper, type BulkActionMetadata$1 as BulkActionMetadata, type index_d$c_BulkArchiveOrdersByFilterRequest as BulkArchiveOrdersByFilterRequest, type index_d$c_BulkArchiveOrdersByFilterResponse as BulkArchiveOrdersByFilterResponse, type index_d$c_BulkArchiveOrdersRequest as BulkArchiveOrdersRequest, type index_d$c_BulkArchiveOrdersResponse as BulkArchiveOrdersResponse, type index_d$c_BulkMarkAsFulfilledByFilterRequest as BulkMarkAsFulfilledByFilterRequest, type index_d$c_BulkMarkAsFulfilledByFilterResponse as BulkMarkAsFulfilledByFilterResponse, type index_d$c_BulkMarkAsFulfilledRequest as BulkMarkAsFulfilledRequest, type index_d$c_BulkMarkAsFulfilledResponse as BulkMarkAsFulfilledResponse, type index_d$c_BulkMarkAsUnfulfilledByFilterRequest as BulkMarkAsUnfulfilledByFilterRequest, type index_d$c_BulkMarkAsUnfulfilledByFilterResponse as BulkMarkAsUnfulfilledByFilterResponse, type index_d$c_BulkMarkAsUnfulfilledRequest as BulkMarkAsUnfulfilledRequest, type index_d$c_BulkMarkAsUnfulfilledResponse as BulkMarkAsUnfulfilledResponse, type index_d$c_BulkMarkOrdersAsPaidRequest as BulkMarkOrdersAsPaidRequest, type index_d$c_BulkMarkOrdersAsPaidResponse as BulkMarkOrdersAsPaidResponse, type index_d$c_BulkOrderResult as BulkOrderResult, type index_d$c_BulkSendBuyerPickupConfirmationEmailsRequest as BulkSendBuyerPickupConfirmationEmailsRequest, type index_d$c_BulkSendBuyerPickupConfirmationEmailsResponse as BulkSendBuyerPickupConfirmationEmailsResponse, type index_d$c_BulkSendBuyerShippingConfirmationEmailsRequest as BulkSendBuyerShippingConfirmationEmailsRequest, type index_d$c_BulkSendBuyerShippingConfirmationEmailsResponse as BulkSendBuyerShippingConfirmationEmailsResponse, type index_d$c_BulkUnArchiveOrdersByFilterRequest as BulkUnArchiveOrdersByFilterRequest, type index_d$c_BulkUnArchiveOrdersByFilterResponse as BulkUnArchiveOrdersByFilterResponse, type index_d$c_BulkUnArchiveOrdersRequest as BulkUnArchiveOrdersRequest, type index_d$c_BulkUnArchiveOrdersResponse as BulkUnArchiveOrdersResponse, type index_d$c_BulkUpdateOrderTagsOptions as BulkUpdateOrderTagsOptions, type index_d$c_BulkUpdateOrderTagsRequest as BulkUpdateOrderTagsRequest, type index_d$c_BulkUpdateOrderTagsResponse as BulkUpdateOrderTagsResponse, type index_d$c_BulkUpdateOrderTagsResponseNonNullableFields as BulkUpdateOrderTagsResponseNonNullableFields, type index_d$c_BulkUpdateOrderTagsResult as BulkUpdateOrderTagsResult, type index_d$c_BulkUpdateOrdersOptions as BulkUpdateOrdersOptions, type index_d$c_BulkUpdateOrdersRequest as BulkUpdateOrdersRequest, type index_d$c_BulkUpdateOrdersResponse as BulkUpdateOrdersResponse, type index_d$c_BulkUpdateOrdersResponseNonNullableFields as BulkUpdateOrdersResponseNonNullableFields, type BuyerInfo$1 as BuyerInfo, type index_d$c_BuyerInfoIdOneOf as BuyerInfoIdOneOf, type index_d$c_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$c_CalculatedTax as CalculatedTax, type index_d$c_CalculatedTaxes as CalculatedTaxes, type index_d$c_Cancel as Cancel, type index_d$c_CancelOrderOptions as CancelOrderOptions, type index_d$c_CancelOrderRequest as CancelOrderRequest, type index_d$c_CancelOrderResponse as CancelOrderResponse, type index_d$c_CancelOrderResponseNonNullableFields as CancelOrderResponseNonNullableFields, type index_d$c_CaptureAuthorizedPaymentsRequest as CaptureAuthorizedPaymentsRequest, type index_d$c_CaptureAuthorizedPaymentsResponse as CaptureAuthorizedPaymentsResponse, type index_d$c_CaptureAuthorizedPaymentsResponseNonNullableFields as CaptureAuthorizedPaymentsResponseNonNullableFields, type CatalogReference$3 as CatalogReference, type ChannelInfo$1 as ChannelInfo, ChannelType$1 as ChannelType, type index_d$c_ChargeMembershipsRequest as ChargeMembershipsRequest, type index_d$c_ChargeMembershipsResponse as ChargeMembershipsResponse, type index_d$c_ChargeSavedPaymentMethodRequest as ChargeSavedPaymentMethodRequest, type index_d$c_ChargeSavedPaymentMethodResponse as ChargeSavedPaymentMethodResponse, type index_d$c_ChargedBy as ChargedBy, type index_d$c_Color as Color, type index_d$c_CommitDeltasRequest as CommitDeltasRequest, type index_d$c_CommitDeltasResponse as CommitDeltasResponse, type index_d$c_CommittedDiffs as CommittedDiffs, type index_d$c_CommittedDiffsShippingUpdateInfoOneOf as CommittedDiffsShippingUpdateInfoOneOf, type index_d$c_CommonAddress as CommonAddress, type index_d$c_CommonAddressStreetOneOf as CommonAddressStreetOneOf, type index_d$c_Company as Company, type index_d$c_Complete as Complete, type index_d$c_ContinueSideEffectsFlowInLegacyData as ContinueSideEffectsFlowInLegacyData, type Coupon$1 as Coupon, type index_d$c_CreateOrderRequest as CreateOrderRequest, type index_d$c_CreateOrderResponse as CreateOrderResponse, type index_d$c_CreateOrderResponseNonNullableFields as CreateOrderResponseNonNullableFields, type index_d$c_CreatePaymentGatewayOrderRequest as CreatePaymentGatewayOrderRequest, type index_d$c_CreatePaymentGatewayOrderResponse as CreatePaymentGatewayOrderResponse, type index_d$c_CreatedBy as CreatedBy, type index_d$c_CreatedByStringOneOf as CreatedByStringOneOf, type index_d$c_CreditCardDetails as CreditCardDetails, type CreditCardPaymentMethodDetails$2 as CreditCardPaymentMethodDetails, type CursorPaging$7 as CursorPaging, type CursorPagingMetadata$6 as CursorPagingMetadata, type index_d$c_CursorSearch as CursorSearch, type index_d$c_CursorSearchPagingMethodOneOf as CursorSearchPagingMethodOneOf, type Cursors$7 as Cursors, type index_d$c_CustomActivity as CustomActivity, type CustomField$1 as CustomField, index_d$c_CustomFieldGroup as CustomFieldGroup, type index_d$c_CustomFieldValue as CustomFieldValue, type index_d$c_Customer as Customer, type index_d$c_DecrementData as DecrementData, type index_d$c_DecrementItemsQuantityRequest as DecrementItemsQuantityRequest, type index_d$c_DecrementItemsQuantityResponse as DecrementItemsQuantityResponse, type index_d$c_DelayedCaptureSettings as DelayedCaptureSettings, type index_d$c_DeleteActivityRequest as DeleteActivityRequest, type index_d$c_DeleteActivityResponse as DeleteActivityResponse, type index_d$c_DeleteByFilterOperation as DeleteByFilterOperation, type index_d$c_DeleteByIdsOperation as DeleteByIdsOperation, type DeliveryLogistics$2 as DeliveryLogistics, type index_d$c_DeliveryLogisticsAddressOneOf as DeliveryLogisticsAddressOneOf, type DeliveryTimeSlot$2 as DeliveryTimeSlot, index_d$c_DeltaPaymentOptionType as DeltaPaymentOptionType, type index_d$c_Deposit as Deposit, index_d$c_DepositType as DepositType, type index_d$c_DescriptionLine as DescriptionLine, type index_d$c_DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOf, type index_d$c_DescriptionLineName as DescriptionLineName, index_d$c_DescriptionLineType as DescriptionLineType, type index_d$c_DescriptionLineValueOneOf as DescriptionLineValueOneOf, type DiffmatokyPayload$2 as DiffmatokyPayload, type DigitalFile$1 as DigitalFile, type Discount$1 as Discount, type index_d$c_DiscountOneDiscountTypeOneOf as DiscountOneDiscountTypeOneOf, index_d$c_DiscountReason as DiscountReason, type DiscountRule$1 as DiscountRule, type DiscountRuleName$1 as DiscountRuleName, DiscountType$1 as DiscountType, type DomainEvent$9 as DomainEvent, type DomainEventBodyOneOf$9 as DomainEventBodyOneOf, type index_d$c_DownloadLinkSent as DownloadLinkSent, type index_d$c_DraftOrderChangesApplied as DraftOrderChangesApplied, type index_d$c_DraftOrderCommitSettings as DraftOrderCommitSettings, type index_d$c_DraftOrderDiffs as DraftOrderDiffs, type index_d$c_DraftOrderDiffsBillingUpdateInfoOneOf as DraftOrderDiffsBillingUpdateInfoOneOf, type index_d$c_DraftOrderDiffsBuyerUpdateInfoOneOf as DraftOrderDiffsBuyerUpdateInfoOneOf, type index_d$c_DraftOrderDiffsRecipientUpdateInfoOneOf as DraftOrderDiffsRecipientUpdateInfoOneOf, type index_d$c_DraftOrderDiffsShippingUpdateInfoOneOf as DraftOrderDiffsShippingUpdateInfoOneOf, type index_d$c_Duration as Duration, index_d$c_DurationUnit as DurationUnit, type index_d$c_Email as Email, type index_d$c_EmailEdited as EmailEdited, type Empty$5 as Empty, type EntityCreatedEvent$9 as EntityCreatedEvent, type EntityDeletedEvent$9 as EntityDeletedEvent, type EntityUpdatedEvent$9 as EntityUpdatedEvent, type ErrorInformation$2 as ErrorInformation, type EventMetadata$3 as EventMetadata, type ExtendedFields$4 as ExtendedFields, type index_d$c_ExternalUriMapping as ExternalUriMapping, type index_d$c_FulfillerEmailSent as FulfillerEmailSent, FulfillmentStatus$1 as FulfillmentStatus, type index_d$c_FulfillmentStatusUpdated as FulfillmentStatusUpdated, type index_d$c_FulfillmentStatusesAggregate as FulfillmentStatusesAggregate, type FullAddressContactDetails$1 as FullAddressContactDetails, type index_d$c_GetMetasiteDataRequest as GetMetasiteDataRequest, type index_d$c_GetMetasiteDataResponse as GetMetasiteDataResponse, type index_d$c_GetOrderForMetasiteRequest as GetOrderForMetasiteRequest, type index_d$c_GetOrderForMetasiteResponse as GetOrderForMetasiteResponse, type index_d$c_GetOrderRequest as GetOrderRequest, type index_d$c_GetOrderResponse as GetOrderResponse, type index_d$c_GetOrderResponseNonNullableFields as GetOrderResponseNonNullableFields, type index_d$c_GetPaymentCollectabilityStatusRequest as GetPaymentCollectabilityStatusRequest, type index_d$c_GetPaymentCollectabilityStatusResponse as GetPaymentCollectabilityStatusResponse, type index_d$c_GetPaymentCollectabilityStatusResponseNonNullableFields as GetPaymentCollectabilityStatusResponseNonNullableFields, type GetRefundabilityStatusRequest$1 as GetRefundabilityStatusRequest, type GetRefundabilityStatusResponse$1 as GetRefundabilityStatusResponse, type index_d$c_GetShipmentsRequest as GetShipmentsRequest, type index_d$c_GetShipmentsResponse as GetShipmentsResponse, type GiftCardPaymentDetails$2 as GiftCardPaymentDetails, type index_d$c_GiftCardPaymentRefund as GiftCardPaymentRefund, type index_d$c_HtmlApplication as HtmlApplication, type index_d$c_IdAndVersion as IdAndVersion, type IdentificationData$9 as IdentificationData, type IdentificationDataIdOneOf$9 as IdentificationDataIdOneOf, type IndexingMessage$1 as IndexingMessage, type index_d$c_InternalActivity as InternalActivity, type index_d$c_InternalActivityContentOneOf as InternalActivityContentOneOf, type index_d$c_InternalDocument as InternalDocument, type index_d$c_InternalDocumentUpdateByFilterOperation as InternalDocumentUpdateByFilterOperation, type index_d$c_InternalDocumentUpdateOperation as InternalDocumentUpdateOperation, type index_d$c_InternalQueryOrdersRequest as InternalQueryOrdersRequest, type index_d$c_InternalQueryOrdersResponse as InternalQueryOrdersResponse, type index_d$c_InternalUpdateExistingOperation as InternalUpdateExistingOperation, index_d$c_InventoryAction as InventoryAction, type index_d$c_InventoryUpdateDetails as InventoryUpdateDetails, type index_d$c_InvoiceAdded as InvoiceAdded, type index_d$c_InvoiceDates as InvoiceDates, type index_d$c_InvoiceDynamicPriceTotals as InvoiceDynamicPriceTotals, type index_d$c_InvoiceFields as InvoiceFields, type index_d$c_InvoiceSent as InvoiceSent, type index_d$c_InvoiceSentEvent as InvoiceSentEvent, index_d$c_InvoiceStatus as InvoiceStatus, type index_d$c_InvoicesPayment as InvoicesPayment, type index_d$c_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$c_ItemizedFee as ItemizedFee, JurisdictionType$1 as JurisdictionType, type LineItem$2 as LineItem, type index_d$c_LineItemAmount as LineItemAmount, type index_d$c_LineItemChanges as LineItemChanges, type index_d$c_LineItemDelta as LineItemDelta, type index_d$c_LineItemDeltaDeltaOneOf as LineItemDeltaDeltaOneOf, type LineItemDiscount$1 as LineItemDiscount, type index_d$c_LineItemExchangeData as LineItemExchangeData, type index_d$c_LineItemMetaData as LineItemMetaData, type index_d$c_LineItemPriceChange as LineItemPriceChange, type index_d$c_LineItemQuantityChange as LineItemQuantityChange, index_d$c_LineItemQuantityChangeType as LineItemQuantityChangeType, type LineItemRefund$2 as LineItemRefund, type index_d$c_LineItemTax as LineItemTax, type index_d$c_LineItemTaxBreakdown as LineItemTaxBreakdown, type index_d$c_LineItemTaxInfo as LineItemTaxInfo, type index_d$c_LineItemUpdate as LineItemUpdate, type index_d$c_LineItems as LineItems, type index_d$c_ListOrderTransactionsForMetasiteRequest as ListOrderTransactionsForMetasiteRequest, type index_d$c_ListOrderTransactionsForMetasiteResponse as ListOrderTransactionsForMetasiteResponse, type index_d$c_Locale as Locale, type index_d$c_LocationAndQuantity as LocationAndQuantity, type index_d$c_ManagedAdditionalFee as ManagedAdditionalFee, type index_d$c_ManagedDiscount as ManagedDiscount, type index_d$c_ManagedLineItem as ManagedLineItem, ManuallyRefundableReason$1 as ManuallyRefundableReason, type index_d$c_MarkAsFulfilledRequest as MarkAsFulfilledRequest, type index_d$c_MarkAsFulfilledResponse as MarkAsFulfilledResponse, type index_d$c_MarkAsUnfulfilledRequest as MarkAsUnfulfilledRequest, type index_d$c_MarkAsUnfulfilledResponse as MarkAsUnfulfilledResponse, type index_d$c_MarkOrderAsPaidRequest as MarkOrderAsPaidRequest, type index_d$c_MarkOrderAsPaidResponse as MarkOrderAsPaidResponse, type index_d$c_MarkOrderAsSeenByHumanRequest as MarkOrderAsSeenByHumanRequest, type index_d$c_MarkOrderAsSeenByHumanResponse as MarkOrderAsSeenByHumanResponse, type index_d$c_MaskedOrder as MaskedOrder, type index_d$c_MaskedOrderLineItem as MaskedOrderLineItem, type index_d$c_MembershipChargeItem as MembershipChargeItem, type MembershipName$3 as MembershipName, type MembershipPaymentDetails$2 as MembershipPaymentDetails, type index_d$c_MembershipPaymentRefund as MembershipPaymentRefund, MembershipPaymentStatus$2 as MembershipPaymentStatus, type index_d$c_MerchantComment as MerchantComment, type MerchantDiscount$1 as MerchantDiscount, type index_d$c_MerchantDiscountMerchantDiscountReasonOneOf as MerchantDiscountMerchantDiscountReasonOneOf, type MessageEnvelope$8 as MessageEnvelope, type index_d$c_MetaData as MetaData, type index_d$c_MetaSite as MetaSite, type index_d$c_MetaTag as MetaTag, index_d$c_Namespace as Namespace, type index_d$c_NewExchangeOrderCreated as NewExchangeOrderCreated, NonRefundableReason$1 as NonRefundableReason, type Order$1 as Order, index_d$c_OrderApprovalStrategy as OrderApprovalStrategy, type index_d$c_OrderApproved as OrderApproved, type index_d$c_OrderApprovedEnvelope as OrderApprovedEnvelope, type index_d$c_OrderCanceled as OrderCanceled, type index_d$c_OrderCanceledEnvelope as OrderCanceledEnvelope, type index_d$c_OrderCanceledEventOrderCanceled as OrderCanceledEventOrderCanceled, type index_d$c_OrderChange as OrderChange, type index_d$c_OrderChangeValueOneOf as OrderChangeValueOneOf, type index_d$c_OrderCreateNotifications as OrderCreateNotifications, type index_d$c_OrderCreatedEnvelope as OrderCreatedEnvelope, type index_d$c_OrderCreatedFromExchange as OrderCreatedFromExchange, type index_d$c_OrderCreationSettings as OrderCreationSettings, type index_d$c_OrderDeltasCommitted as OrderDeltasCommitted, type index_d$c_OrderFulfilled as OrderFulfilled, type index_d$c_OrderItemsRestocked as OrderItemsRestocked, type index_d$c_OrderLineItem as OrderLineItem, type index_d$c_OrderLineItemChangedDetails as OrderLineItemChangedDetails, type index_d$c_OrderNonNullableFields as OrderNonNullableFields, type index_d$c_OrderNotFulfilled as OrderNotFulfilled, type index_d$c_OrderPaid as OrderPaid, type index_d$c_OrderPartiallyPaid as OrderPartiallyPaid, type index_d$c_OrderPaymentStatusUpdatedEnvelope as OrderPaymentStatusUpdatedEnvelope, type index_d$c_OrderPending as OrderPending, type index_d$c_OrderPlaced as OrderPlaced, type OrderRefunded$1 as OrderRefunded, type index_d$c_OrderRejected as OrderRejected, type index_d$c_OrderRejectedEventOrderRejected as OrderRejectedEventOrderRejected, index_d$c_OrderStatus as OrderStatus, type index_d$c_OrderTaxBreakdown as OrderTaxBreakdown, type index_d$c_OrderTaxInfo as OrderTaxInfo, type OrderTransactions$2 as OrderTransactions, type index_d$c_OrderUpdatedEnvelope as OrderUpdatedEnvelope, type index_d$c_OrdersExperiments as OrdersExperiments, type Payment$2 as Payment, type index_d$c_PaymentCanceled as PaymentCanceled, type index_d$c_PaymentCanceledPaymentDetailsOneOf as PaymentCanceledPaymentDetailsOneOf, type index_d$c_PaymentCapture as PaymentCapture, index_d$c_PaymentCollectabilityStatus as PaymentCollectabilityStatus, type index_d$c_PaymentDeclined as PaymentDeclined, type index_d$c_PaymentDeclinedPaymentDetailsOneOf as PaymentDeclinedPaymentDetailsOneOf, PaymentOptionType$1 as PaymentOptionType, type PaymentPaymentDetailsOneOf$2 as PaymentPaymentDetailsOneOf, type index_d$c_PaymentPending as PaymentPending, type index_d$c_PaymentPendingPaymentDetailsOneOf as PaymentPendingPaymentDetailsOneOf, type PaymentRefund$1 as PaymentRefund, type index_d$c_PaymentRefundFailed as PaymentRefundFailed, type index_d$c_PaymentRefunded as PaymentRefunded, PaymentStatus$1 as PaymentStatus, type index_d$c_PaymentStatusUpdated as PaymentStatusUpdated, type index_d$c_Payments as Payments, type index_d$c_Phone as Phone, type PhysicalProperties$2 as PhysicalProperties, type PickupAddress$1 as PickupAddress, type PickupDetails$3 as PickupDetails, PickupMethod$2 as PickupMethod, type index_d$c_PickupReadyEmailSent as PickupReadyEmailSent, index_d$c_Placement as Placement, type index_d$c_PlainTextValue as PlainTextValue, type index_d$c_PlatformPaging as PlatformPaging, type index_d$c_PlatformPagingMetadata as PlatformPagingMetadata, type index_d$c_PlatformQuery as PlatformQuery, type index_d$c_PlatformQueryPagingMethodOneOf as PlatformQueryPagingMethodOneOf, type index_d$c_PreparePaymentCollectionOptions as PreparePaymentCollectionOptions, type index_d$c_PreparePaymentCollectionRequest as PreparePaymentCollectionRequest, type index_d$c_PreparePaymentCollectionResponse as PreparePaymentCollectionResponse, type index_d$c_PreparePaymentCollectionResponseNonNullableFields as PreparePaymentCollectionResponseNonNullableFields, type index_d$c_PreviewBuyerConfirmationEmailRequest as PreviewBuyerConfirmationEmailRequest, type index_d$c_PreviewBuyerConfirmationEmailResponse as PreviewBuyerConfirmationEmailResponse, type index_d$c_PreviewBuyerPaymentsReceivedEmailRequest as PreviewBuyerPaymentsReceivedEmailRequest, type index_d$c_PreviewBuyerPaymentsReceivedEmailResponse as PreviewBuyerPaymentsReceivedEmailResponse, type index_d$c_PreviewBuyerPickupConfirmationEmailRequest as PreviewBuyerPickupConfirmationEmailRequest, type index_d$c_PreviewBuyerPickupConfirmationEmailResponse as PreviewBuyerPickupConfirmationEmailResponse, type index_d$c_PreviewCancelEmailRequest as PreviewCancelEmailRequest, type index_d$c_PreviewCancelEmailResponse as PreviewCancelEmailResponse, type index_d$c_PreviewCancelRefundEmailRequest as PreviewCancelRefundEmailRequest, type index_d$c_PreviewCancelRefundEmailResponse as PreviewCancelRefundEmailResponse, type index_d$c_PreviewEmailByTypeRequest as PreviewEmailByTypeRequest, type index_d$c_PreviewEmailByTypeResponse as PreviewEmailByTypeResponse, index_d$c_PreviewEmailType as PreviewEmailType, type index_d$c_PreviewRefundEmailRequest as PreviewRefundEmailRequest, type index_d$c_PreviewRefundEmailResponse as PreviewRefundEmailResponse, type index_d$c_PreviewResendDownloadLinksEmailRequest as PreviewResendDownloadLinksEmailRequest, type index_d$c_PreviewResendDownloadLinksEmailResponse as PreviewResendDownloadLinksEmailResponse, type index_d$c_PreviewShippingConfirmationEmailRequest as PreviewShippingConfirmationEmailRequest, type index_d$c_PreviewShippingConfirmationEmailResponse as PreviewShippingConfirmationEmailResponse, type Price$3 as Price, type index_d$c_PriceDescription as PriceDescription, type PriceSummary$1 as PriceSummary, type index_d$c_ProductName as ProductName, type index_d$c_PublicActivity as PublicActivity, type index_d$c_PublicActivityContentOneOf as PublicActivityContentOneOf, type index_d$c_QueryOrderRequest as QueryOrderRequest, type index_d$c_QueryOrderResponse as QueryOrderResponse, type index_d$c_QueryOrdersForMetasiteRequest as QueryOrdersForMetasiteRequest, type index_d$c_QueryOrdersForMetasiteResponse as QueryOrdersForMetasiteResponse, type index_d$c_QuotesAddress as QuotesAddress, Reason$2 as Reason, type index_d$c_RecordManuallyCollectedPaymentRequest as RecordManuallyCollectedPaymentRequest, type index_d$c_RecordManuallyCollectedPaymentResponse as RecordManuallyCollectedPaymentResponse, type index_d$c_RedirectUrls as RedirectUrls, type Refund$2 as Refund, type index_d$c_RefundCreated as RefundCreated, type RefundDetails$2 as RefundDetails, type index_d$c_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$c_RefundedAsStoreCredit as RefundedAsStoreCredit, type index_d$c_RefundedPayment as RefundedPayment, type index_d$c_RefundedPaymentKindOneOf as RefundedPaymentKindOneOf, type index_d$c_RegularPayment as RegularPayment, type RegularPaymentDetails$2 as RegularPaymentDetails, type RegularPaymentDetailsPaymentMethodDetailsOneOf$2 as RegularPaymentDetailsPaymentMethodDetailsOneOf, type index_d$c_RegularPaymentPaymentMethodDetailsOneOf as RegularPaymentPaymentMethodDetailsOneOf, type index_d$c_RegularPaymentRefund as RegularPaymentRefund, type index_d$c_Reschedule as Reschedule, type RestockInfo$1 as RestockInfo, type RestockItem$1 as RestockItem, RestockType$1 as RestockType, type RestoreInfo$9 as RestoreInfo, type index_d$c_SavedPaymentMethod as SavedPaymentMethod, ScheduledAction$2 as ScheduledAction, type index_d$c_SearchOrdersOptions as SearchOrdersOptions, type index_d$c_SearchOrdersRequest as SearchOrdersRequest, type index_d$c_SearchOrdersResponse as SearchOrdersResponse, type index_d$c_SearchOrdersResponseNonNullableFields as SearchOrdersResponseNonNullableFields, type index_d$c_SendBuyerConfirmationEmailRequest as SendBuyerConfirmationEmailRequest, type index_d$c_SendBuyerConfirmationEmailResponse as SendBuyerConfirmationEmailResponse, type index_d$c_SendBuyerPaymentsReceivedEmailRequest as SendBuyerPaymentsReceivedEmailRequest, type index_d$c_SendBuyerPaymentsReceivedEmailResponse as SendBuyerPaymentsReceivedEmailResponse, type index_d$c_SendBuyerPickupConfirmationEmailRequest as SendBuyerPickupConfirmationEmailRequest, type index_d$c_SendBuyerPickupConfirmationEmailResponse as SendBuyerPickupConfirmationEmailResponse, type index_d$c_SendBuyerShippingConfirmationEmailRequest as SendBuyerShippingConfirmationEmailRequest, type index_d$c_SendBuyerShippingConfirmationEmailResponse as SendBuyerShippingConfirmationEmailResponse, type index_d$c_SendCancelRefundEmailRequest as SendCancelRefundEmailRequest, type index_d$c_SendCancelRefundEmailResponse as SendCancelRefundEmailResponse, type index_d$c_SendMerchantOrderReceivedNotificationRequest as SendMerchantOrderReceivedNotificationRequest, type index_d$c_SendMerchantOrderReceivedNotificationResponse as SendMerchantOrderReceivedNotificationResponse, type index_d$c_SendMerchantOrderReceivedPushRequest as SendMerchantOrderReceivedPushRequest, type index_d$c_SendMerchantOrderReceivedPushResponse as SendMerchantOrderReceivedPushResponse, type index_d$c_SendRefundEmailRequest as SendRefundEmailRequest, type index_d$c_SendRefundEmailResponse as SendRefundEmailResponse, type index_d$c_SeoData as SeoData, type ServiceProperties$1 as ServiceProperties, type index_d$c_ShippingAddressEdited as ShippingAddressEdited, type index_d$c_ShippingConfirmationEmailSent as ShippingConfirmationEmailSent, type ShippingInformation$1 as ShippingInformation, type index_d$c_ShippingInformationChange as ShippingInformationChange, type ShippingPrice$1 as ShippingPrice, type ShippingRefund$2 as ShippingRefund, type ShippingRegion$1 as ShippingRegion, type SnapshotMessage$1 as SnapshotMessage, SortOrder$7 as SortOrder, type Sorting$7 as Sorting, type Source$1 as Source, index_d$c_SourceType as SourceType, type index_d$c_StandardDetails as StandardDetails, index_d$c_State as State, type StreetAddress$4 as StreetAddress, type Subdivision$1 as Subdivision, SubdivisionType$1 as SubdivisionType, SubscriptionFrequency$2 as SubscriptionFrequency, type SubscriptionInfo$1 as SubscriptionInfo, type SubscriptionSettings$2 as SubscriptionSettings, type index_d$c_TagList as TagList, type index_d$c_Tags as Tags, type index_d$c_Task as Task, type index_d$c_TaskAction as TaskAction, type index_d$c_TaskActionActionOneOf as TaskActionActionOneOf, type index_d$c_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$c_TotalPrice as TotalPrice, type index_d$c_TotalPriceChange as TotalPriceChange, type index_d$c_TrackingLinkAdded as TrackingLinkAdded, type index_d$c_TrackingNumberAdded as TrackingNumberAdded, type index_d$c_TrackingNumberEdited as TrackingNumberEdited, TransactionStatus$2 as TransactionStatus, type index_d$c_TranslatedValue as TranslatedValue, type TriggerRefundRequest$1 as TriggerRefundRequest, type TriggerRefundResponse$1 as TriggerRefundResponse, type index_d$c_TriggerReindexOrderRequest as TriggerReindexOrderRequest, type index_d$c_TriggerReindexRequest as TriggerReindexRequest, type index_d$c_TriggerReindexResponse as TriggerReindexResponse, type index_d$c_TriggerSideEffectsFromLegacyData as TriggerSideEffectsFromLegacyData, type index_d$c_UnArchiveOrderRequest as UnArchiveOrderRequest, type index_d$c_UnArchiveOrderResponse as UnArchiveOrderResponse, type index_d$c_UpdateActivityRequest as UpdateActivityRequest, type index_d$c_UpdateActivityResponse as UpdateActivityResponse, type index_d$c_UpdateBillingContactDetailsRequest as UpdateBillingContactDetailsRequest, type index_d$c_UpdateBillingContactDetailsResponse as UpdateBillingContactDetailsResponse, type index_d$c_UpdateBuyerEmailRequest as UpdateBuyerEmailRequest, type index_d$c_UpdateBuyerEmailResponse as UpdateBuyerEmailResponse, type index_d$c_UpdateBuyerInfoRequest as UpdateBuyerInfoRequest, type index_d$c_UpdateBuyerInfoResponse as UpdateBuyerInfoResponse, type index_d$c_UpdateInternalDocumentsEvent as UpdateInternalDocumentsEvent, type index_d$c_UpdateInternalDocumentsEventOperationOneOf as UpdateInternalDocumentsEventOperationOneOf, type index_d$c_UpdateLineItemsDescriptionLinesRequest as UpdateLineItemsDescriptionLinesRequest, type index_d$c_UpdateLineItemsDescriptionLinesResponse as UpdateLineItemsDescriptionLinesResponse, type index_d$c_UpdateOrder as UpdateOrder, type index_d$c_UpdateOrderLineItemRequest as UpdateOrderLineItemRequest, type index_d$c_UpdateOrderLineItemResponse as UpdateOrderLineItemResponse, type index_d$c_UpdateOrderLineItemsRequest as UpdateOrderLineItemsRequest, type index_d$c_UpdateOrderLineItemsResponse as UpdateOrderLineItemsResponse, type index_d$c_UpdateOrderRequest as UpdateOrderRequest, type index_d$c_UpdateOrderResponse as UpdateOrderResponse, type index_d$c_UpdateOrderResponseNonNullableFields as UpdateOrderResponseNonNullableFields, type index_d$c_UpdateOrderShippingAddressRequest as UpdateOrderShippingAddressRequest, type index_d$c_UpdateOrderShippingAddressResponse as UpdateOrderShippingAddressResponse, type index_d$c_UpsertRefundRequest as UpsertRefundRequest, type index_d$c_UpsertRefundResponse as UpsertRefundResponse, type index_d$c_UserDataResponse as UserDataResponse, type index_d$c_V1BulkMarkOrdersAsPaidRequest as V1BulkMarkOrdersAsPaidRequest, type index_d$c_V1BulkMarkOrdersAsPaidResponse as V1BulkMarkOrdersAsPaidResponse, type index_d$c_V1CreatePaymentGatewayOrderRequest as V1CreatePaymentGatewayOrderRequest, type index_d$c_V1CreatePaymentGatewayOrderResponse as V1CreatePaymentGatewayOrderResponse, type index_d$c_V1LineItemDelta as V1LineItemDelta, type index_d$c_V1LineItemDeltaDeltaOneOf as V1LineItemDeltaDeltaOneOf, type index_d$c_V1MarkOrderAsPaidRequest as V1MarkOrderAsPaidRequest, type index_d$c_V1MarkOrderAsPaidResponse as V1MarkOrderAsPaidResponse, type index_d$c_V1RestockItem as V1RestockItem, type index_d$c_V1ScheduledAction as V1ScheduledAction, type index_d$c_V1ShippingInformation as V1ShippingInformation, type index_d$c_Value as Value, index_d$c_ValueType as ValueType, type VatId$2 as VatId, VatType$2 as VatType, type index_d$c_VersionedDeleteByIdsOperation as VersionedDeleteByIdsOperation, type index_d$c_VersionedDocumentId as VersionedDocumentId, type index_d$c_VersionedDocumentUpdateOperation as VersionedDocumentUpdateOperation, index_d$c_VersioningMode as VersioningMode, type index_d$c_VoidAuthorizedPaymentsRequest as VoidAuthorizedPaymentsRequest, type index_d$c_VoidAuthorizedPaymentsResponse as VoidAuthorizedPaymentsResponse, type index_d$c_VoidAuthorizedPaymentsResponseNonNullableFields as VoidAuthorizedPaymentsResponseNonNullableFields, WebhookIdentityType$8 as WebhookIdentityType, WeightUnit$3 as WeightUnit, type index_d$c__publicOnOrderApprovedType as _publicOnOrderApprovedType, type index_d$c__publicOnOrderCanceledType as _publicOnOrderCanceledType, type index_d$c__publicOnOrderCreatedType as _publicOnOrderCreatedType, type index_d$c__publicOnOrderPaymentStatusUpdatedType as _publicOnOrderPaymentStatusUpdatedType, type index_d$c__publicOnOrderUpdatedType as _publicOnOrderUpdatedType, index_d$c_bulkUpdateOrderTags as bulkUpdateOrderTags, index_d$c_bulkUpdateOrders as bulkUpdateOrders, index_d$c_cancelOrder as cancelOrder, index_d$c_captureAuthorizedPayments as captureAuthorizedPayments, index_d$c_createOrder as createOrder, index_d$c_getOrder as getOrder, index_d$c_getPaymentCollectabilityStatus as getPaymentCollectabilityStatus, index_d$c_onOrderApproved as onOrderApproved, index_d$c_onOrderCanceled as onOrderCanceled, index_d$c_onOrderCreated as onOrderCreated, index_d$c_onOrderPaymentStatusUpdated as onOrderPaymentStatusUpdated, index_d$c_onOrderUpdated as onOrderUpdated, index_d$c_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$c_searchOrders as searchOrders, index_d$c_updateOrder as updateOrder, index_d$c_voidAuthorizedPayments as voidAuthorizedPayments };
|
|
29856
29950
|
}
|
|
29857
29951
|
|
|
29858
29952
|
interface OrderPaymentRequest {
|
|
@@ -31881,6 +31975,41 @@ interface PaymentsUpdated {
|
|
|
31881
31975
|
/** List of IDs of the updated refunds. */
|
|
31882
31976
|
refundIds?: string[];
|
|
31883
31977
|
}
|
|
31978
|
+
interface RefundCompleted {
|
|
31979
|
+
/** Order ID. */
|
|
31980
|
+
orderId?: string;
|
|
31981
|
+
/** Completed refund. */
|
|
31982
|
+
refund?: Refund;
|
|
31983
|
+
/** Refund side effects. */
|
|
31984
|
+
sideEffects?: RefundSideEffects;
|
|
31985
|
+
/** Order transactions after refund is completed. */
|
|
31986
|
+
orderTransactions?: OrderTransactions;
|
|
31987
|
+
}
|
|
31988
|
+
interface RefundSideEffects {
|
|
31989
|
+
/** Inventory restock details as part of this refund. */
|
|
31990
|
+
restockInfo?: RestockInfo;
|
|
31991
|
+
/** Whether to send a refund confirmation email to the customer. */
|
|
31992
|
+
sendOrderRefundedEmail?: boolean;
|
|
31993
|
+
/** Custom message added to the refund confirmation email. */
|
|
31994
|
+
customMessage?: string | null;
|
|
31995
|
+
}
|
|
31996
|
+
interface RestockInfo {
|
|
31997
|
+
/** Restock type. */
|
|
31998
|
+
type?: RestockType;
|
|
31999
|
+
/** Restocked line items and quantities. Only relevant for `{"type": "SOME_ITEMS"}`. */
|
|
32000
|
+
items?: RestockItem[];
|
|
32001
|
+
}
|
|
32002
|
+
declare enum RestockType {
|
|
32003
|
+
NO_ITEMS = "NO_ITEMS",
|
|
32004
|
+
ALL_ITEMS = "ALL_ITEMS",
|
|
32005
|
+
SOME_ITEMS = "SOME_ITEMS"
|
|
32006
|
+
}
|
|
32007
|
+
interface RestockItem {
|
|
32008
|
+
/** ID of the line item being restocked. */
|
|
32009
|
+
lineItemId?: string;
|
|
32010
|
+
/** Line item quantity being restocked. */
|
|
32011
|
+
quantity?: number;
|
|
32012
|
+
}
|
|
31884
32013
|
interface ListTransactionsForSingleOrderRequest {
|
|
31885
32014
|
/** Order ID. */
|
|
31886
32015
|
orderId: string;
|
|
@@ -31917,52 +32046,12 @@ interface AddRefundRequest {
|
|
|
31917
32046
|
/** Side effect details related to refund */
|
|
31918
32047
|
sideEffects?: RefundSideEffects;
|
|
31919
32048
|
}
|
|
31920
|
-
interface RefundSideEffects {
|
|
31921
|
-
/** Inventory restock details as part of this refund. */
|
|
31922
|
-
restockInfo?: RestockInfo;
|
|
31923
|
-
/** Whether to send a refund confirmation email to the customer. */
|
|
31924
|
-
sendOrderRefundedEmail?: boolean;
|
|
31925
|
-
/** Custom message added to the refund confirmation email. */
|
|
31926
|
-
customMessage?: string | null;
|
|
31927
|
-
}
|
|
31928
|
-
interface RestockInfo {
|
|
31929
|
-
/** Restock type. */
|
|
31930
|
-
type?: RestockType;
|
|
31931
|
-
/** Restocked line items and quantities. Only relevant for `{"type": "SOME_ITEMS"}`. */
|
|
31932
|
-
items?: RestockItem[];
|
|
31933
|
-
}
|
|
31934
|
-
declare enum RestockType {
|
|
31935
|
-
NO_ITEMS = "NO_ITEMS",
|
|
31936
|
-
ALL_ITEMS = "ALL_ITEMS",
|
|
31937
|
-
SOME_ITEMS = "SOME_ITEMS"
|
|
31938
|
-
}
|
|
31939
|
-
interface RestockItem {
|
|
31940
|
-
/** ID of the line item being restocked. */
|
|
31941
|
-
lineItemId?: string;
|
|
31942
|
-
/** Line item quantity being restocked. */
|
|
31943
|
-
quantity?: number;
|
|
31944
|
-
}
|
|
31945
32049
|
interface AddRefundResponse {
|
|
31946
32050
|
/** Order ID and its associated transactions. */
|
|
31947
32051
|
orderTransactions?: OrderTransactions;
|
|
31948
32052
|
/** Created refund ID */
|
|
31949
32053
|
refundId?: string;
|
|
31950
32054
|
}
|
|
31951
|
-
/** Triggered when a refund is created. */
|
|
31952
|
-
interface RefundCreated {
|
|
31953
|
-
/** Updated order transactions. */
|
|
31954
|
-
orderTransactions?: OrderTransactions;
|
|
31955
|
-
/** ID of the created refund. */
|
|
31956
|
-
refundId?: string;
|
|
31957
|
-
/** Inventory restock details as part of this refund.. */
|
|
31958
|
-
restockInfo?: RestockInfo;
|
|
31959
|
-
/** Whether to send a refund confirmation email to the customer. */
|
|
31960
|
-
sendOrderRefundedEmail?: boolean;
|
|
31961
|
-
/** Custom message added to the refund confirmation email. */
|
|
31962
|
-
customMessage?: string | null;
|
|
31963
|
-
/** Refunded line items and quantities that are part of the created refund. */
|
|
31964
|
-
refundItems?: RefundItem[];
|
|
31965
|
-
}
|
|
31966
32055
|
interface UpdatePaymentStatusRequest {
|
|
31967
32056
|
/** Order ID. */
|
|
31968
32057
|
orderId: string;
|
|
@@ -32546,56 +32635,6 @@ interface BulkUpdatePaymentStatusesResponseNonNullableFields {
|
|
|
32546
32635
|
results: BulkPaymentResultNonNullableFields[];
|
|
32547
32636
|
bulkActionMetadata?: BulkActionMetadataNonNullableFields;
|
|
32548
32637
|
}
|
|
32549
|
-
interface BaseEventMetadata$3 {
|
|
32550
|
-
/** App instance ID. */
|
|
32551
|
-
instanceId?: string | null;
|
|
32552
|
-
/** Event type. */
|
|
32553
|
-
eventType?: string;
|
|
32554
|
-
/** The identification type and identity data. */
|
|
32555
|
-
identity?: IdentificationData$7;
|
|
32556
|
-
}
|
|
32557
|
-
interface EventMetadata$3 extends BaseEventMetadata$3 {
|
|
32558
|
-
/**
|
|
32559
|
-
* Unique event ID.
|
|
32560
|
-
* Allows clients to ignore duplicate webhooks.
|
|
32561
|
-
*/
|
|
32562
|
-
_id?: string;
|
|
32563
|
-
/**
|
|
32564
|
-
* Assumes actions are also always typed to an entity_type
|
|
32565
|
-
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
32566
|
-
*/
|
|
32567
|
-
entityFqdn?: string;
|
|
32568
|
-
/**
|
|
32569
|
-
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
32570
|
-
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
32571
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
32572
|
-
*/
|
|
32573
|
-
slug?: string;
|
|
32574
|
-
/** ID of the entity associated with the event. */
|
|
32575
|
-
entityId?: string;
|
|
32576
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
32577
|
-
eventTime?: Date | null;
|
|
32578
|
-
/**
|
|
32579
|
-
* Whether the event was triggered as a result of a privacy regulation application
|
|
32580
|
-
* (for example, GDPR).
|
|
32581
|
-
*/
|
|
32582
|
-
triggeredByAnonymizeRequest?: boolean | null;
|
|
32583
|
-
/** If present, indicates the action that triggered the event. */
|
|
32584
|
-
originatedFrom?: string | null;
|
|
32585
|
-
/**
|
|
32586
|
-
* A sequence number defining the order of updates to the underlying entity.
|
|
32587
|
-
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
32588
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
32589
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
32590
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
32591
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
32592
|
-
*/
|
|
32593
|
-
entityEventSequence?: string | null;
|
|
32594
|
-
}
|
|
32595
|
-
interface OrderTransactionsUpdatedEnvelope {
|
|
32596
|
-
data: PaymentsUpdated;
|
|
32597
|
-
metadata: EventMetadata$3;
|
|
32598
|
-
}
|
|
32599
32638
|
interface UpdatePaymentStatusIdentifiers {
|
|
32600
32639
|
/** Payment ID. */
|
|
32601
32640
|
paymentId: string;
|
|
@@ -32670,9 +32709,6 @@ interface BulkUpdatePaymentStatusesSignature {
|
|
|
32670
32709
|
*/
|
|
32671
32710
|
(paymentAndOrderIds: PaymentAndOrderId[], options?: BulkUpdatePaymentStatusesOptions | undefined): Promise<BulkUpdatePaymentStatusesResponse & BulkUpdatePaymentStatusesResponseNonNullableFields>;
|
|
32672
32711
|
}
|
|
32673
|
-
declare const onOrderTransactionsUpdated$1: EventDefinition<OrderTransactionsUpdatedEnvelope, "wix.ecom.v1.order_transactions_updated">;
|
|
32674
|
-
|
|
32675
|
-
declare function createEventModule$3<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
32676
32712
|
|
|
32677
32713
|
declare const listTransactionsForSingleOrder: MaybeContext<BuildRESTFunction<typeof listTransactionsForSingleOrder$1> & typeof listTransactionsForSingleOrder$1>;
|
|
32678
32714
|
declare const listTransactionsForMultipleOrders: MaybeContext<BuildRESTFunction<typeof listTransactionsForMultipleOrders$1> & typeof listTransactionsForMultipleOrders$1>;
|
|
@@ -32680,10 +32716,6 @@ declare const addPayments: MaybeContext<BuildRESTFunction<typeof addPayments$1>
|
|
|
32680
32716
|
declare const updatePaymentStatus: MaybeContext<BuildRESTFunction<typeof updatePaymentStatus$1> & typeof updatePaymentStatus$1>;
|
|
32681
32717
|
declare const bulkUpdatePaymentStatuses: MaybeContext<BuildRESTFunction<typeof bulkUpdatePaymentStatuses$1> & typeof bulkUpdatePaymentStatuses$1>;
|
|
32682
32718
|
|
|
32683
|
-
type _publicOnOrderTransactionsUpdatedType = typeof onOrderTransactionsUpdated$1;
|
|
32684
|
-
/** */
|
|
32685
|
-
declare const onOrderTransactionsUpdated: ReturnType<typeof createEventModule$3<_publicOnOrderTransactionsUpdatedType>>;
|
|
32686
|
-
|
|
32687
32719
|
type index_d$a_ActionType = ActionType;
|
|
32688
32720
|
declare const index_d$a_ActionType: typeof ActionType;
|
|
32689
32721
|
type index_d$a_Activity = Activity;
|
|
@@ -32782,7 +32814,6 @@ type index_d$a_OptionSelection = OptionSelection;
|
|
|
32782
32814
|
type index_d$a_Order = Order;
|
|
32783
32815
|
type index_d$a_OrderRefunded = OrderRefunded;
|
|
32784
32816
|
type index_d$a_OrderTransactions = OrderTransactions;
|
|
32785
|
-
type index_d$a_OrderTransactionsUpdatedEnvelope = OrderTransactionsUpdatedEnvelope;
|
|
32786
32817
|
type index_d$a_Payment = Payment;
|
|
32787
32818
|
type index_d$a_PaymentAndOrderId = PaymentAndOrderId;
|
|
32788
32819
|
type index_d$a_PaymentPaymentDetailsOneOf = PaymentPaymentDetailsOneOf;
|
|
@@ -32796,7 +32827,7 @@ type index_d$a_QueryOrderTransactionsResponse = QueryOrderTransactionsResponse;
|
|
|
32796
32827
|
type index_d$a_Reason = Reason;
|
|
32797
32828
|
declare const index_d$a_Reason: typeof Reason;
|
|
32798
32829
|
type index_d$a_Refund = Refund;
|
|
32799
|
-
type index_d$
|
|
32830
|
+
type index_d$a_RefundCompleted = RefundCompleted;
|
|
32800
32831
|
type index_d$a_RefundDetails = RefundDetails;
|
|
32801
32832
|
type index_d$a_RefundItem = RefundItem;
|
|
32802
32833
|
type index_d$a_RefundSideEffects = RefundSideEffects;
|
|
@@ -32840,15 +32871,13 @@ type index_d$a_UpdateRefundTransactionRequest = UpdateRefundTransactionRequest;
|
|
|
32840
32871
|
type index_d$a_UpdateRefundTransactionResponse = UpdateRefundTransactionResponse;
|
|
32841
32872
|
type index_d$a_V2InvoiceInfo = V2InvoiceInfo;
|
|
32842
32873
|
type index_d$a_V2Refund = V2Refund;
|
|
32843
|
-
type index_d$a__publicOnOrderTransactionsUpdatedType = _publicOnOrderTransactionsUpdatedType;
|
|
32844
32874
|
declare const index_d$a_addPayments: typeof addPayments;
|
|
32845
32875
|
declare const index_d$a_bulkUpdatePaymentStatuses: typeof bulkUpdatePaymentStatuses;
|
|
32846
32876
|
declare const index_d$a_listTransactionsForMultipleOrders: typeof listTransactionsForMultipleOrders;
|
|
32847
32877
|
declare const index_d$a_listTransactionsForSingleOrder: typeof listTransactionsForSingleOrder;
|
|
32848
|
-
declare const index_d$a_onOrderTransactionsUpdated: typeof onOrderTransactionsUpdated;
|
|
32849
32878
|
declare const index_d$a_updatePaymentStatus: typeof updatePaymentStatus;
|
|
32850
32879
|
declare namespace index_d$a {
|
|
32851
|
-
export { type ActionEvent$7 as ActionEvent, index_d$a_ActionType as ActionType, type index_d$a_Activity as Activity, index_d$a_ActivityType as ActivityType, type index_d$a_AddInvoiceToOrderRequest as AddInvoiceToOrderRequest, type index_d$a_AddInvoiceToOrderResponse as AddInvoiceToOrderResponse, type index_d$a_AddPaymentsRequest as AddPaymentsRequest, type index_d$a_AddPaymentsResponse as AddPaymentsResponse, type index_d$a_AddPaymentsResponseNonNullableFields as AddPaymentsResponseNonNullableFields, type index_d$a_AddRefundRequest as AddRefundRequest, type index_d$a_AddRefundResponse as AddRefundResponse, type index_d$a_AdditionalFeeRefund as AdditionalFeeRefund, type Address$4 as Address, type index_d$a_AddressAddressLine1OptionsOneOf as AddressAddressLine1OptionsOneOf, type index_d$a_AggregatedRefundSummary as AggregatedRefundSummary, type ApplicationError$3 as ApplicationError, type index_d$a_AppliedCoupon as AppliedCoupon, type index_d$a_AuthorizationActionFailureDetails as AuthorizationActionFailureDetails, type index_d$a_AuthorizationCapture as AuthorizationCapture, index_d$a_AuthorizationCaptureStatus as AuthorizationCaptureStatus, type index_d$a_AuthorizationDetails as AuthorizationDetails, type index_d$a_AuthorizationVoid as AuthorizationVoid, index_d$a_AuthorizationVoidStatus as AuthorizationVoidStatus, type BaseEventMetadata$3 as BaseEventMetadata, type index_d$a_BillingInfo as BillingInfo, type index_d$a_BulkActionMetadata as BulkActionMetadata, type index_d$a_BulkGenerateInvoicesRequest as BulkGenerateInvoicesRequest, type index_d$a_BulkGenerateInvoicesResponse as BulkGenerateInvoicesResponse, type index_d$a_BulkInvoiceResult as BulkInvoiceResult, type index_d$a_BulkPaymentResult as BulkPaymentResult, type index_d$a_BulkUpdatePaymentStatusesOptions as BulkUpdatePaymentStatusesOptions, type index_d$a_BulkUpdatePaymentStatusesRequest as BulkUpdatePaymentStatusesRequest, type index_d$a_BulkUpdatePaymentStatusesResponse as BulkUpdatePaymentStatusesResponse, type index_d$a_BulkUpdatePaymentStatusesResponseNonNullableFields as BulkUpdatePaymentStatusesResponseNonNullableFields, type index_d$a_BuyerDetails as BuyerDetails, type index_d$a_BuyerInfo as BuyerInfo, type index_d$a_CalculateRefundItemRequest as CalculateRefundItemRequest, type index_d$a_CalculateRefundItemResponse as CalculateRefundItemResponse, type index_d$a_CalculateRefundRequest as CalculateRefundRequest, type index_d$a_CalculateRefundResponse as CalculateRefundResponse, type index_d$a_ChannelInfo as ChannelInfo, index_d$a_ChannelType as ChannelType, type index_d$a_CreditCardPaymentMethodDetails as CreditCardPaymentMethodDetails, type CursorPaging$5 as CursorPaging, type CursorPagingMetadata$4 as CursorPagingMetadata, type CursorQuery$3 as CursorQuery, type CursorQueryPagingMethodOneOf$3 as CursorQueryPagingMethodOneOf, type Cursors$5 as Cursors, type index_d$a_CustomField as CustomField, type index_d$a_CustomTextFieldSelection as CustomTextFieldSelection, type DiffmatokyPayload$1 as DiffmatokyPayload, type index_d$a_DigitalFile as DigitalFile, type index_d$a_Discount as Discount, type DomainEvent$7 as DomainEvent, type DomainEventBodyOneOf$7 as DomainEventBodyOneOf, type index_d$a_EnteredBy as EnteredBy, index_d$a_EnteredByIdentityType as EnteredByIdentityType, type EntityCreatedEvent$7 as EntityCreatedEvent, type EntityDeletedEvent$7 as EntityDeletedEvent, type EntityUpdatedEvent$7 as EntityUpdatedEvent, type ErrorInformation$1 as ErrorInformation, type EventMetadata$3 as EventMetadata, type index_d$a_Fulfillment as Fulfillment, type index_d$a_FulfillmentLineItem as FulfillmentLineItem, index_d$a_FulfillmentStatus as FulfillmentStatus, type index_d$a_FulfillmentTrackingInfo as FulfillmentTrackingInfo, type index_d$a_FullName as FullName, type index_d$a_GenerateInvoiceRequest as GenerateInvoiceRequest, type index_d$a_GenerateInvoiceResponse as GenerateInvoiceResponse, type index_d$a_GetRefundabilityStatusRequest as GetRefundabilityStatusRequest, type index_d$a_GetRefundabilityStatusResponse as GetRefundabilityStatusResponse, type GiftCard$1 as GiftCard, type index_d$a_GiftCardPaymentDetails as GiftCardPaymentDetails, type IdentificationData$7 as IdentificationData, type IdentificationDataIdOneOf$7 as IdentificationDataIdOneOf, IdentityType$2 as IdentityType, type index_d$a_IndexingMessage as IndexingMessage, type index_d$a_InvoiceForOrder as InvoiceForOrder, type index_d$a_InvoiceInfo as InvoiceInfo, index_d$a_InvoiceSource as InvoiceSource, type index_d$a_InvoicesForOrder as InvoicesForOrder, type index_d$a_ItemMetadata as ItemMetadata, type LineItem$1 as LineItem, type index_d$a_LineItemPriceData as LineItemPriceData, type index_d$a_LineItemRefund as LineItemRefund, index_d$a_LineItemType as LineItemType, type index_d$a_ListInvoicesForMultipleOrdersRequest as ListInvoicesForMultipleOrdersRequest, type index_d$a_ListInvoicesForMultipleOrdersResponse as ListInvoicesForMultipleOrdersResponse, type index_d$a_ListInvoicesForSingleOrderRequest as ListInvoicesForSingleOrderRequest, type index_d$a_ListInvoicesForSingleOrderResponse as ListInvoicesForSingleOrderResponse, type index_d$a_ListTransactionsForMultipleOrdersRequest as ListTransactionsForMultipleOrdersRequest, type index_d$a_ListTransactionsForMultipleOrdersResponse as ListTransactionsForMultipleOrdersResponse, type index_d$a_ListTransactionsForMultipleOrdersResponseNonNullableFields as ListTransactionsForMultipleOrdersResponseNonNullableFields, type index_d$a_ListTransactionsForSingleOrderRequest as ListTransactionsForSingleOrderRequest, type index_d$a_ListTransactionsForSingleOrderResponse as ListTransactionsForSingleOrderResponse, type index_d$a_ListTransactionsForSingleOrderResponseNonNullableFields as ListTransactionsForSingleOrderResponseNonNullableFields, index_d$a_ManuallyRefundableReason as ManuallyRefundableReason, type index_d$a_MaskedPayment as MaskedPayment, type index_d$a_MediaItem as MediaItem, index_d$a_MediaItemType as MediaItemType, type MembershipName$1 as MembershipName, type index_d$a_MembershipPaymentDetails as MembershipPaymentDetails, index_d$a_MembershipPaymentStatus as MembershipPaymentStatus, type MessageEnvelope$6 as MessageEnvelope, index_d$a_NonRefundableReason as NonRefundableReason, type index_d$a_OptionSelection as OptionSelection, type index_d$a_Order as Order, type index_d$a_OrderRefunded as OrderRefunded, type index_d$a_OrderTransactions as OrderTransactions, type index_d$a_OrderTransactionsUpdatedEnvelope as OrderTransactionsUpdatedEnvelope, type index_d$a_Payment as Payment, type index_d$a_PaymentAndOrderId as PaymentAndOrderId, type index_d$a_PaymentPaymentDetailsOneOf as PaymentPaymentDetailsOneOf, type index_d$a_PaymentRefund as PaymentRefund, index_d$a_PaymentStatus as PaymentStatus, type index_d$a_PaymentsUpdated as PaymentsUpdated, type index_d$a_PickupAddress as PickupAddress, type PickupDetails$2 as PickupDetails, type Price$1 as Price, type index_d$a_QueryOrderTransactionsRequest as QueryOrderTransactionsRequest, type index_d$a_QueryOrderTransactionsResponse as QueryOrderTransactionsResponse, index_d$a_Reason as Reason, type index_d$a_Refund as Refund, type index_d$a_RefundCreated as RefundCreated, type index_d$a_RefundDetails as RefundDetails, type index_d$a_RefundItem as RefundItem, type index_d$a_RefundSideEffects as RefundSideEffects, index_d$a_RefundStatus as RefundStatus, type index_d$a_RefundTransaction as RefundTransaction, type index_d$a_Refundability as Refundability, type index_d$a_RefundabilityAdditionalRefundabilityInfoOneOf as RefundabilityAdditionalRefundabilityInfoOneOf, index_d$a_RefundableStatus as RefundableStatus, type index_d$a_RegularPaymentDetails as RegularPaymentDetails, type index_d$a_RegularPaymentDetailsPaymentMethodDetailsOneOf as RegularPaymentDetailsPaymentMethodDetailsOneOf, type index_d$a_RestockInfo as RestockInfo, type index_d$a_RestockItem as RestockItem, index_d$a_RestockType as RestockType, type RestoreInfo$7 as RestoreInfo, type index_d$a_ScheduledAction as ScheduledAction, type index_d$a_ShipmentDetails as ShipmentDetails, type index_d$a_ShippingInfo as ShippingInfo, type index_d$a_ShippingInfoDetailsOneOf as ShippingInfoDetailsOneOf, type index_d$a_ShippingPriceData as ShippingPriceData, type index_d$a_ShippingRefund as ShippingRefund, type index_d$a_SnapshotMessage as SnapshotMessage, SortOrder$5 as SortOrder, type Sorting$5 as Sorting, type index_d$a_Street as Street, SubscriptionFrequency$1 as SubscriptionFrequency, type index_d$a_SubscriptionInfo as SubscriptionInfo, type index_d$a_SubscriptionOptionInfo as SubscriptionOptionInfo, type SubscriptionSettings$1 as SubscriptionSettings, type index_d$a_Totals as Totals, type index_d$a_TrackingInfo as TrackingInfo, index_d$a_TransactionStatus as TransactionStatus, type index_d$a_TriggerRefundRequest as TriggerRefundRequest, type index_d$a_TriggerRefundResponse as TriggerRefundResponse, type index_d$a_UpdatePaymentStatusIdentifiers as UpdatePaymentStatusIdentifiers, type index_d$a_UpdatePaymentStatusOptions as UpdatePaymentStatusOptions, type index_d$a_UpdatePaymentStatusRequest as UpdatePaymentStatusRequest, type index_d$a_UpdatePaymentStatusResponse as UpdatePaymentStatusResponse, type index_d$a_UpdatePaymentStatusResponseNonNullableFields as UpdatePaymentStatusResponseNonNullableFields, type index_d$a_UpdatePaymentsRequest as UpdatePaymentsRequest, type index_d$a_UpdatePaymentsResponse as UpdatePaymentsResponse, type index_d$a_UpdateRefundTransactionRequest as UpdateRefundTransactionRequest, type index_d$a_UpdateRefundTransactionResponse as UpdateRefundTransactionResponse, type index_d$a_V2InvoiceInfo as V2InvoiceInfo, type index_d$a_V2Refund as V2Refund, type VatId$1 as VatId, VatType$1 as VatType, WebhookIdentityType$6 as WebhookIdentityType, WeightUnit$2 as WeightUnit, type index_d$a__publicOnOrderTransactionsUpdatedType as _publicOnOrderTransactionsUpdatedType, index_d$a_addPayments as addPayments, index_d$a_bulkUpdatePaymentStatuses as bulkUpdatePaymentStatuses, index_d$a_listTransactionsForMultipleOrders as listTransactionsForMultipleOrders, index_d$a_listTransactionsForSingleOrder as listTransactionsForSingleOrder, index_d$a_onOrderTransactionsUpdated as onOrderTransactionsUpdated, onOrderTransactionsUpdated$1 as publicOnOrderTransactionsUpdated, index_d$a_updatePaymentStatus as updatePaymentStatus };
|
|
32880
|
+
export { type ActionEvent$7 as ActionEvent, index_d$a_ActionType as ActionType, type index_d$a_Activity as Activity, index_d$a_ActivityType as ActivityType, type index_d$a_AddInvoiceToOrderRequest as AddInvoiceToOrderRequest, type index_d$a_AddInvoiceToOrderResponse as AddInvoiceToOrderResponse, type index_d$a_AddPaymentsRequest as AddPaymentsRequest, type index_d$a_AddPaymentsResponse as AddPaymentsResponse, type index_d$a_AddPaymentsResponseNonNullableFields as AddPaymentsResponseNonNullableFields, type index_d$a_AddRefundRequest as AddRefundRequest, type index_d$a_AddRefundResponse as AddRefundResponse, type index_d$a_AdditionalFeeRefund as AdditionalFeeRefund, type Address$4 as Address, type index_d$a_AddressAddressLine1OptionsOneOf as AddressAddressLine1OptionsOneOf, type index_d$a_AggregatedRefundSummary as AggregatedRefundSummary, type ApplicationError$3 as ApplicationError, type index_d$a_AppliedCoupon as AppliedCoupon, type index_d$a_AuthorizationActionFailureDetails as AuthorizationActionFailureDetails, type index_d$a_AuthorizationCapture as AuthorizationCapture, index_d$a_AuthorizationCaptureStatus as AuthorizationCaptureStatus, type index_d$a_AuthorizationDetails as AuthorizationDetails, type index_d$a_AuthorizationVoid as AuthorizationVoid, index_d$a_AuthorizationVoidStatus as AuthorizationVoidStatus, type index_d$a_BillingInfo as BillingInfo, type index_d$a_BulkActionMetadata as BulkActionMetadata, type index_d$a_BulkGenerateInvoicesRequest as BulkGenerateInvoicesRequest, type index_d$a_BulkGenerateInvoicesResponse as BulkGenerateInvoicesResponse, type index_d$a_BulkInvoiceResult as BulkInvoiceResult, type index_d$a_BulkPaymentResult as BulkPaymentResult, type index_d$a_BulkUpdatePaymentStatusesOptions as BulkUpdatePaymentStatusesOptions, type index_d$a_BulkUpdatePaymentStatusesRequest as BulkUpdatePaymentStatusesRequest, type index_d$a_BulkUpdatePaymentStatusesResponse as BulkUpdatePaymentStatusesResponse, type index_d$a_BulkUpdatePaymentStatusesResponseNonNullableFields as BulkUpdatePaymentStatusesResponseNonNullableFields, type index_d$a_BuyerDetails as BuyerDetails, type index_d$a_BuyerInfo as BuyerInfo, type index_d$a_CalculateRefundItemRequest as CalculateRefundItemRequest, type index_d$a_CalculateRefundItemResponse as CalculateRefundItemResponse, type index_d$a_CalculateRefundRequest as CalculateRefundRequest, type index_d$a_CalculateRefundResponse as CalculateRefundResponse, type index_d$a_ChannelInfo as ChannelInfo, index_d$a_ChannelType as ChannelType, type index_d$a_CreditCardPaymentMethodDetails as CreditCardPaymentMethodDetails, type CursorPaging$5 as CursorPaging, type CursorPagingMetadata$4 as CursorPagingMetadata, type CursorQuery$3 as CursorQuery, type CursorQueryPagingMethodOneOf$3 as CursorQueryPagingMethodOneOf, type Cursors$5 as Cursors, type index_d$a_CustomField as CustomField, type index_d$a_CustomTextFieldSelection as CustomTextFieldSelection, type DiffmatokyPayload$1 as DiffmatokyPayload, type index_d$a_DigitalFile as DigitalFile, type index_d$a_Discount as Discount, type DomainEvent$7 as DomainEvent, type DomainEventBodyOneOf$7 as DomainEventBodyOneOf, type index_d$a_EnteredBy as EnteredBy, index_d$a_EnteredByIdentityType as EnteredByIdentityType, type EntityCreatedEvent$7 as EntityCreatedEvent, type EntityDeletedEvent$7 as EntityDeletedEvent, type EntityUpdatedEvent$7 as EntityUpdatedEvent, type ErrorInformation$1 as ErrorInformation, type index_d$a_Fulfillment as Fulfillment, type index_d$a_FulfillmentLineItem as FulfillmentLineItem, index_d$a_FulfillmentStatus as FulfillmentStatus, type index_d$a_FulfillmentTrackingInfo as FulfillmentTrackingInfo, type index_d$a_FullName as FullName, type index_d$a_GenerateInvoiceRequest as GenerateInvoiceRequest, type index_d$a_GenerateInvoiceResponse as GenerateInvoiceResponse, type index_d$a_GetRefundabilityStatusRequest as GetRefundabilityStatusRequest, type index_d$a_GetRefundabilityStatusResponse as GetRefundabilityStatusResponse, type GiftCard$1 as GiftCard, type index_d$a_GiftCardPaymentDetails as GiftCardPaymentDetails, type IdentificationData$7 as IdentificationData, type IdentificationDataIdOneOf$7 as IdentificationDataIdOneOf, IdentityType$2 as IdentityType, type index_d$a_IndexingMessage as IndexingMessage, type index_d$a_InvoiceForOrder as InvoiceForOrder, type index_d$a_InvoiceInfo as InvoiceInfo, index_d$a_InvoiceSource as InvoiceSource, type index_d$a_InvoicesForOrder as InvoicesForOrder, type index_d$a_ItemMetadata as ItemMetadata, type LineItem$1 as LineItem, type index_d$a_LineItemPriceData as LineItemPriceData, type index_d$a_LineItemRefund as LineItemRefund, index_d$a_LineItemType as LineItemType, type index_d$a_ListInvoicesForMultipleOrdersRequest as ListInvoicesForMultipleOrdersRequest, type index_d$a_ListInvoicesForMultipleOrdersResponse as ListInvoicesForMultipleOrdersResponse, type index_d$a_ListInvoicesForSingleOrderRequest as ListInvoicesForSingleOrderRequest, type index_d$a_ListInvoicesForSingleOrderResponse as ListInvoicesForSingleOrderResponse, type index_d$a_ListTransactionsForMultipleOrdersRequest as ListTransactionsForMultipleOrdersRequest, type index_d$a_ListTransactionsForMultipleOrdersResponse as ListTransactionsForMultipleOrdersResponse, type index_d$a_ListTransactionsForMultipleOrdersResponseNonNullableFields as ListTransactionsForMultipleOrdersResponseNonNullableFields, type index_d$a_ListTransactionsForSingleOrderRequest as ListTransactionsForSingleOrderRequest, type index_d$a_ListTransactionsForSingleOrderResponse as ListTransactionsForSingleOrderResponse, type index_d$a_ListTransactionsForSingleOrderResponseNonNullableFields as ListTransactionsForSingleOrderResponseNonNullableFields, index_d$a_ManuallyRefundableReason as ManuallyRefundableReason, type index_d$a_MaskedPayment as MaskedPayment, type index_d$a_MediaItem as MediaItem, index_d$a_MediaItemType as MediaItemType, type MembershipName$1 as MembershipName, type index_d$a_MembershipPaymentDetails as MembershipPaymentDetails, index_d$a_MembershipPaymentStatus as MembershipPaymentStatus, type MessageEnvelope$6 as MessageEnvelope, index_d$a_NonRefundableReason as NonRefundableReason, type index_d$a_OptionSelection as OptionSelection, type index_d$a_Order as Order, type index_d$a_OrderRefunded as OrderRefunded, type index_d$a_OrderTransactions as OrderTransactions, type index_d$a_Payment as Payment, type index_d$a_PaymentAndOrderId as PaymentAndOrderId, type index_d$a_PaymentPaymentDetailsOneOf as PaymentPaymentDetailsOneOf, type index_d$a_PaymentRefund as PaymentRefund, index_d$a_PaymentStatus as PaymentStatus, type index_d$a_PaymentsUpdated as PaymentsUpdated, type index_d$a_PickupAddress as PickupAddress, type PickupDetails$2 as PickupDetails, type Price$1 as Price, type index_d$a_QueryOrderTransactionsRequest as QueryOrderTransactionsRequest, type index_d$a_QueryOrderTransactionsResponse as QueryOrderTransactionsResponse, index_d$a_Reason as Reason, type index_d$a_Refund as Refund, type index_d$a_RefundCompleted as RefundCompleted, type index_d$a_RefundDetails as RefundDetails, type index_d$a_RefundItem as RefundItem, type index_d$a_RefundSideEffects as RefundSideEffects, index_d$a_RefundStatus as RefundStatus, type index_d$a_RefundTransaction as RefundTransaction, type index_d$a_Refundability as Refundability, type index_d$a_RefundabilityAdditionalRefundabilityInfoOneOf as RefundabilityAdditionalRefundabilityInfoOneOf, index_d$a_RefundableStatus as RefundableStatus, type index_d$a_RegularPaymentDetails as RegularPaymentDetails, type index_d$a_RegularPaymentDetailsPaymentMethodDetailsOneOf as RegularPaymentDetailsPaymentMethodDetailsOneOf, type index_d$a_RestockInfo as RestockInfo, type index_d$a_RestockItem as RestockItem, index_d$a_RestockType as RestockType, type RestoreInfo$7 as RestoreInfo, type index_d$a_ScheduledAction as ScheduledAction, type index_d$a_ShipmentDetails as ShipmentDetails, type index_d$a_ShippingInfo as ShippingInfo, type index_d$a_ShippingInfoDetailsOneOf as ShippingInfoDetailsOneOf, type index_d$a_ShippingPriceData as ShippingPriceData, type index_d$a_ShippingRefund as ShippingRefund, type index_d$a_SnapshotMessage as SnapshotMessage, SortOrder$5 as SortOrder, type Sorting$5 as Sorting, type index_d$a_Street as Street, SubscriptionFrequency$1 as SubscriptionFrequency, type index_d$a_SubscriptionInfo as SubscriptionInfo, type index_d$a_SubscriptionOptionInfo as SubscriptionOptionInfo, type SubscriptionSettings$1 as SubscriptionSettings, type index_d$a_Totals as Totals, type index_d$a_TrackingInfo as TrackingInfo, index_d$a_TransactionStatus as TransactionStatus, type index_d$a_TriggerRefundRequest as TriggerRefundRequest, type index_d$a_TriggerRefundResponse as TriggerRefundResponse, type index_d$a_UpdatePaymentStatusIdentifiers as UpdatePaymentStatusIdentifiers, type index_d$a_UpdatePaymentStatusOptions as UpdatePaymentStatusOptions, type index_d$a_UpdatePaymentStatusRequest as UpdatePaymentStatusRequest, type index_d$a_UpdatePaymentStatusResponse as UpdatePaymentStatusResponse, type index_d$a_UpdatePaymentStatusResponseNonNullableFields as UpdatePaymentStatusResponseNonNullableFields, type index_d$a_UpdatePaymentsRequest as UpdatePaymentsRequest, type index_d$a_UpdatePaymentsResponse as UpdatePaymentsResponse, type index_d$a_UpdateRefundTransactionRequest as UpdateRefundTransactionRequest, type index_d$a_UpdateRefundTransactionResponse as UpdateRefundTransactionResponse, type index_d$a_V2InvoiceInfo as V2InvoiceInfo, type index_d$a_V2Refund as V2Refund, type VatId$1 as VatId, VatType$1 as VatType, WebhookIdentityType$6 as WebhookIdentityType, WeightUnit$2 as WeightUnit, index_d$a_addPayments as addPayments, index_d$a_bulkUpdatePaymentStatuses as bulkUpdatePaymentStatuses, index_d$a_listTransactionsForMultipleOrders as listTransactionsForMultipleOrders, index_d$a_listTransactionsForSingleOrder as listTransactionsForSingleOrder, index_d$a_updatePaymentStatus as updatePaymentStatus };
|
|
32852
32881
|
}
|
|
32853
32882
|
|
|
32854
32883
|
interface OrdersSettings {
|