@wix/ecom 1.0.846 → 1.0.847
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.
|
@@ -763,7 +763,7 @@ declare class InvalidSelectionWixError extends Error {
|
|
|
763
763
|
/** @hidden */
|
|
764
764
|
spiErrorData: object;
|
|
765
765
|
data: MembershipInvalidSelectionErrors;
|
|
766
|
-
constructor(data
|
|
766
|
+
constructor(data?: MembershipInvalidSelectionErrors);
|
|
767
767
|
/** @hidden */
|
|
768
768
|
static readonly __type = "wix_spi_error";
|
|
769
769
|
}
|
|
@@ -806,7 +806,7 @@ declare class MembershipCannotBeUsedWixError extends Error {
|
|
|
806
806
|
/** @hidden */
|
|
807
807
|
spiErrorData: object;
|
|
808
808
|
data: MembershipCannotBeChargedError;
|
|
809
|
-
constructor(data
|
|
809
|
+
constructor(data?: MembershipCannotBeChargedError);
|
|
810
810
|
/** @hidden */
|
|
811
811
|
static readonly __type = "wix_spi_error";
|
|
812
812
|
}
|
|
@@ -829,7 +829,7 @@ declare class MembershipAlreadyChargedWixError extends Error {
|
|
|
829
829
|
/** @hidden */
|
|
830
830
|
spiErrorData: object;
|
|
831
831
|
data: MembershipAlreadyChargedError;
|
|
832
|
-
constructor(data
|
|
832
|
+
constructor(data?: MembershipAlreadyChargedError);
|
|
833
833
|
/** @hidden */
|
|
834
834
|
static readonly __type = "wix_spi_error";
|
|
835
835
|
}
|
|
@@ -1108,7 +1108,7 @@ declare class AlgorithmNotSupportedWixError extends Error {
|
|
|
1108
1108
|
/** @hidden */
|
|
1109
1109
|
spiErrorData: object;
|
|
1110
1110
|
data: RecommendationAlgorithmNotSupported;
|
|
1111
|
-
constructor(data
|
|
1111
|
+
constructor(data?: RecommendationAlgorithmNotSupported);
|
|
1112
1112
|
/** @hidden */
|
|
1113
1113
|
static readonly __type = "wix_spi_error";
|
|
1114
1114
|
}
|
|
@@ -1128,7 +1128,7 @@ declare class ItemAppIdNotSupportedWixError extends Error {
|
|
|
1128
1128
|
/** @hidden */
|
|
1129
1129
|
spiErrorData: object;
|
|
1130
1130
|
data: ItemAppIdNotSupportedError;
|
|
1131
|
-
constructor(data
|
|
1131
|
+
constructor(data?: ItemAppIdNotSupportedError);
|
|
1132
1132
|
/** @hidden */
|
|
1133
1133
|
static readonly __type = "wix_spi_error";
|
|
1134
1134
|
}
|
|
@@ -1641,7 +1641,7 @@ declare class MissingPostalCodeWixError extends Error {
|
|
|
1641
1641
|
/** @hidden */
|
|
1642
1642
|
spiErrorData: object;
|
|
1643
1643
|
data: MissingPostalCodeError;
|
|
1644
|
-
constructor(data
|
|
1644
|
+
constructor(data?: MissingPostalCodeError);
|
|
1645
1645
|
/** @hidden */
|
|
1646
1646
|
static readonly __type = "wix_spi_error";
|
|
1647
1647
|
}
|
|
@@ -1670,7 +1670,7 @@ declare class InvalidPostalCodeWixError extends Error {
|
|
|
1670
1670
|
/** @hidden */
|
|
1671
1671
|
spiErrorData: object;
|
|
1672
1672
|
data: InvalidPostalCodeError;
|
|
1673
|
-
constructor(data
|
|
1673
|
+
constructor(data?: InvalidPostalCodeError);
|
|
1674
1674
|
/** @hidden */
|
|
1675
1675
|
static readonly __type = "wix_spi_error";
|
|
1676
1676
|
}
|
|
@@ -1698,7 +1698,7 @@ declare class InvalidAddressWixError extends Error {
|
|
|
1698
1698
|
/** @hidden */
|
|
1699
1699
|
spiErrorData: object;
|
|
1700
1700
|
data: InvalidAddressError;
|
|
1701
|
-
constructor(data
|
|
1701
|
+
constructor(data?: InvalidAddressError);
|
|
1702
1702
|
/** @hidden */
|
|
1703
1703
|
static readonly __type = "wix_spi_error";
|
|
1704
1704
|
}
|
|
@@ -1726,7 +1726,7 @@ declare class GenericShippingRatesWixError extends Error {
|
|
|
1726
1726
|
/** @hidden */
|
|
1727
1727
|
spiErrorData: object;
|
|
1728
1728
|
data: GenericShippingRatesError;
|
|
1729
|
-
constructor(data
|
|
1729
|
+
constructor(data?: GenericShippingRatesError);
|
|
1730
1730
|
/** @hidden */
|
|
1731
1731
|
static readonly __type = "wix_spi_error";
|
|
1732
1732
|
}
|
|
@@ -3051,6 +3051,16 @@ declare enum DescriptionLineType {
|
|
|
3051
3051
|
PLAIN_TEXT = "PLAIN_TEXT",
|
|
3052
3052
|
COLOR = "COLOR"
|
|
3053
3053
|
}
|
|
3054
|
+
interface FocalPoint {
|
|
3055
|
+
/** X-coordinate of the focal point. */
|
|
3056
|
+
x?: number;
|
|
3057
|
+
/** Y-coordinate of the focal point. */
|
|
3058
|
+
y?: number;
|
|
3059
|
+
/** crop by height */
|
|
3060
|
+
height?: number | null;
|
|
3061
|
+
/** crop by width */
|
|
3062
|
+
width?: number | null;
|
|
3063
|
+
}
|
|
3054
3064
|
interface PhysicalProperties$1 {
|
|
3055
3065
|
/** Line item weight. Measurement unit matches the weight unit specified in `weightUnit` in the request. */
|
|
3056
3066
|
weight?: number | null;
|
|
@@ -4152,6 +4162,18 @@ interface TagList {
|
|
|
4152
4162
|
/** List of tag IDs */
|
|
4153
4163
|
tagIds?: string[];
|
|
4154
4164
|
}
|
|
4165
|
+
interface Location {
|
|
4166
|
+
/**
|
|
4167
|
+
* Location ID.
|
|
4168
|
+
* Learn more about the [Wix Locations API](https://dev.wix.com/docs/rest/business-management/locations/introduction).
|
|
4169
|
+
*/
|
|
4170
|
+
_id?: string;
|
|
4171
|
+
/**
|
|
4172
|
+
* Location name.
|
|
4173
|
+
* @readonly
|
|
4174
|
+
*/
|
|
4175
|
+
name?: string;
|
|
4176
|
+
}
|
|
4155
4177
|
interface GetPaymentSettingsResponse {
|
|
4156
4178
|
/** Retrieved payment settings. */
|
|
4157
4179
|
paymentSettings?: PaymentSettings;
|
|
@@ -4619,18 +4641,6 @@ interface V1SubscriptionSettings {
|
|
|
4619
4641
|
autoRenewal?: boolean;
|
|
4620
4642
|
/** Number of billing cycles before subscription ends. Ignored if `autoRenewal` is `true`. */
|
|
4621
4643
|
billingCycles?: number | null;
|
|
4622
|
-
/**
|
|
4623
|
-
* Period until first cycle starts. If applied payNow will be 0
|
|
4624
|
-
* If None => no free trial
|
|
4625
|
-
*/
|
|
4626
|
-
freeTrialPeriod?: FreeTrialPeriod$1;
|
|
4627
|
-
/** The date the subscription will start. The subscription will be charged either now or according to freeTrialDays. */
|
|
4628
|
-
startDate?: Date | null;
|
|
4629
|
-
/**
|
|
4630
|
-
* Whether to generate an order each billing cycle. An order will always be generated for the first billing cycle.
|
|
4631
|
-
* Default None => will behave like true
|
|
4632
|
-
*/
|
|
4633
|
-
generateOrderEachBillingCycle?: boolean | null;
|
|
4634
4644
|
}
|
|
4635
4645
|
interface FreeTrialPeriod$1 {
|
|
4636
4646
|
/** Frequency of priod. Values: DAY, WEEK, MONTH, YEAR */
|
|
@@ -5634,6 +5644,7 @@ declare const index_d$1_FallbackReason: typeof FallbackReason;
|
|
|
5634
5644
|
type index_d$1_FieldViolation = FieldViolation;
|
|
5635
5645
|
type index_d$1_FileType = FileType;
|
|
5636
5646
|
declare const index_d$1_FileType: typeof FileType;
|
|
5647
|
+
type index_d$1_FocalPoint = FocalPoint;
|
|
5637
5648
|
type index_d$1_FulfillmentStatus = FulfillmentStatus;
|
|
5638
5649
|
declare const index_d$1_FulfillmentStatus: typeof FulfillmentStatus;
|
|
5639
5650
|
type index_d$1_FulfillmentStatusesAggregate = FulfillmentStatusesAggregate;
|
|
@@ -5657,6 +5668,7 @@ type index_d$1_LineItemQuantityChangeType = LineItemQuantityChangeType;
|
|
|
5657
5668
|
declare const index_d$1_LineItemQuantityChangeType: typeof LineItemQuantityChangeType;
|
|
5658
5669
|
type index_d$1_LineItemTaxBreakdown = LineItemTaxBreakdown;
|
|
5659
5670
|
type index_d$1_LineItemTaxInfo = LineItemTaxInfo;
|
|
5671
|
+
type index_d$1_Location = Location;
|
|
5660
5672
|
type index_d$1_LocationAndQuantity = LocationAndQuantity;
|
|
5661
5673
|
type index_d$1_ManagedAdditionalFee = ManagedAdditionalFee;
|
|
5662
5674
|
type index_d$1_ManagedDiscount = ManagedDiscount;
|
|
@@ -5772,7 +5784,7 @@ type index_d$1_V1SubscriptionSettings = V1SubscriptionSettings;
|
|
|
5772
5784
|
type index_d$1_V1TaxSummary = V1TaxSummary;
|
|
5773
5785
|
type index_d$1_ValidationError = ValidationError;
|
|
5774
5786
|
declare namespace index_d$1 {
|
|
5775
|
-
export { type index_d$1_Activity as Activity, type index_d$1_ActivityContentOneOf as ActivityContentOneOf, index_d$1_ActivityType as ActivityType, type index_d$1_AdditionalFee as AdditionalFee, type Address$1 as Address, type AddressLocation$1 as AddressLocation, type AddressWithContact$1 as AddressWithContact, type index_d$1_AggregatedTaxBreakdown as AggregatedTaxBreakdown, type index_d$1_ApiAddressWithContact as ApiAddressWithContact, type ApplicableLineItems$1 as ApplicableLineItems, type index_d$1_ApplicationError as ApplicationError, type AppliedDiscount$1 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$1 as AppliedDiscountDiscountSourceOneOf, index_d$1_AppliedDiscountDiscountType as AppliedDiscountDiscountType, index_d$1_AttributionSource as AttributionSource, type index_d$1_AuthorizedPaymentCaptured as AuthorizedPaymentCaptured, type index_d$1_AuthorizedPaymentCreated as AuthorizedPaymentCreated, type index_d$1_AuthorizedPaymentVoided as AuthorizedPaymentVoided, type index_d$1_AutoTaxFallbackCalculationDetails as AutoTaxFallbackCalculationDetails, type index_d$1_Balance as Balance, type index_d$1_BalanceSummary as BalanceSummary, type index_d$1_BuyerInfo as BuyerInfo, type index_d$1_BuyerInfoIdOneOf as BuyerInfoIdOneOf, type index_d$1_CalculationErrors as CalculationErrors, type index_d$1_CalculationErrorsShippingCalculationErrorOneOf as CalculationErrorsShippingCalculationErrorOneOf, type Carrier$1 as Carrier, type index_d$1_CarrierError as CarrierError, type index_d$1_CarrierErrors as CarrierErrors, type index_d$1_CarrierServiceOption as CarrierServiceOption, type index_d$1_CatalogOverrideFields as CatalogOverrideFields, type CatalogReference$1 as CatalogReference, type index_d$1_ChannelInfo as ChannelInfo, index_d$1_ChannelType as ChannelType, index_d$1_ChargeType as ChargeType, type index_d$1_Checkout as Checkout, type index_d$1_Color as Color, type Context$1 as Context, type index_d$1_ConversionInfo as ConversionInfo, type Coupon$1 as Coupon, type index_d$1_CreatedBy as CreatedBy, type index_d$1_CreatedByIdOneOf as CreatedByIdOneOf, type index_d$1_CreditCardDetails as CreditCardDetails, type index_d$1_CustomActivity as CustomActivity, type index_d$1_CustomContentReference as CustomContentReference, type CustomField$1 as CustomField, type index_d$1_CustomSettings as CustomSettings, type DeliveryAllocation$1 as DeliveryAllocation, type index_d$1_DeliveryLogistics as DeliveryLogistics, type index_d$1_DeliveryLogisticsAddressOneOf as DeliveryLogisticsAddressOneOf, type index_d$1_DeliveryTimeSlot as DeliveryTimeSlot, type Description$1 as Description, type index_d$1_DescriptionLine as DescriptionLine, type index_d$1_DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOf, type index_d$1_DescriptionLineName as DescriptionLineName, index_d$1_DescriptionLineType as DescriptionLineType, type index_d$1_DescriptionLineValueOneOf as DescriptionLineValueOneOf, type index_d$1_Details as Details, type index_d$1_DetailsKindOneOf as DetailsKindOneOf, type index_d$1_DigitalFile as DigitalFile, index_d$1_DiscountReason as DiscountReason, type DiscountRule$1 as DiscountRule, type DiscountRuleName$1 as DiscountRuleName, DiscountType$1 as DiscountType, type index_d$1_DraftOrderChangesApplied as DraftOrderChangesApplied, type ExtendedFields$1 as ExtendedFields, type ExternalReference$1 as ExternalReference, index_d$1_FallbackReason as FallbackReason, type index_d$1_FieldViolation as FieldViolation, index_d$1_FileType as FileType, type FreeTrialPeriod$1 as FreeTrialPeriod, index_d$1_FulfillmentStatus as FulfillmentStatus, type index_d$1_FulfillmentStatusesAggregate as FulfillmentStatusesAggregate, type FullAddressContactDetails$1 as FullAddressContactDetails, type index_d$1_GetPaymentSettingsForCheckoutRequest as GetPaymentSettingsForCheckoutRequest, type index_d$1_GetPaymentSettingsForCheckoutResponse as GetPaymentSettingsForCheckoutResponse, type index_d$1_GetPaymentSettingsRequest as GetPaymentSettingsRequest, type index_d$1_GetPaymentSettingsResponse as GetPaymentSettingsResponse, type GiftCard$1 as GiftCard, type index_d$1_GiftCardPaymentRefund as GiftCardPaymentRefund, type index_d$1_Group as Group, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, IdentityType$1 as IdentityType, type index_d$1_InvalidMembership as InvalidMembership, type index_d$1_ItemAvailabilityInfo as ItemAvailabilityInfo, index_d$1_ItemAvailabilityStatus as ItemAvailabilityStatus, type ItemTaxFullDetails$1 as ItemTaxFullDetails, type ItemType$1 as ItemType, ItemTypeItemType$1 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$1 as ItemTypeItemTypeDataOneOf, JurisdictionType$1 as JurisdictionType, type LineItem$1 as LineItem, type index_d$1_LineItemAmount as LineItemAmount, type index_d$1_LineItemChanges as LineItemChanges, type index_d$1_LineItemDiscount as LineItemDiscount, type index_d$1_LineItemExchangeData as LineItemExchangeData, type index_d$1_LineItemPriceChange as LineItemPriceChange, type index_d$1_LineItemQuantityChange as LineItemQuantityChange, index_d$1_LineItemQuantityChangeType as LineItemQuantityChangeType, type index_d$1_LineItemTaxBreakdown as LineItemTaxBreakdown, type index_d$1_LineItemTaxInfo as LineItemTaxInfo, type index_d$1_LocationAndQuantity as LocationAndQuantity, type index_d$1_ManagedAdditionalFee as ManagedAdditionalFee, type index_d$1_ManagedDiscount as ManagedDiscount, type index_d$1_ManagedLineItem as ManagedLineItem, index_d$1_ManualCalculationReason as ManualCalculationReason, type index_d$1_Membership as Membership, type index_d$1_MembershipName as MembershipName, type index_d$1_MembershipOptions as MembershipOptions, type index_d$1_MembershipPaymentCredits as MembershipPaymentCredits, type index_d$1_MembershipPaymentRefund as MembershipPaymentRefund, type index_d$1_MerchantComment as MerchantComment, type MerchantDiscount$1 as MerchantDiscount, type index_d$1_MerchantDiscountMerchantDiscountReasonOneOf as MerchantDiscountMerchantDiscountReasonOneOf, type MultiCurrencyPrice$1 as MultiCurrencyPrice, NameInLineItem$1 as NameInLineItem, NameInOther$1 as NameInOther, type index_d$1_NewExchangeOrderCreated as NewExchangeOrderCreated, type index_d$1_Order as Order, type index_d$1_OrderChange as OrderChange, type index_d$1_OrderChangeValueOneOf as OrderChangeValueOneOf, type index_d$1_OrderCreatedFromExchange as OrderCreatedFromExchange, type index_d$1_OrderLineItem as OrderLineItem, type index_d$1_OrderRefunded as OrderRefunded, index_d$1_OrderStatus as OrderStatus, type index_d$1_OrderTaxBreakdown as OrderTaxBreakdown, type index_d$1_OrderTaxInfo as OrderTaxInfo, type Other$1 as Other, type index_d$1_OtherCharge as OtherCharge, type index_d$1_PaymentCanceled as PaymentCanceled, type index_d$1_PaymentCanceledPaymentDetailsOneOf as PaymentCanceledPaymentDetailsOneOf, type index_d$1_PaymentDeclined as PaymentDeclined, type index_d$1_PaymentDeclinedPaymentDetailsOneOf as PaymentDeclinedPaymentDetailsOneOf, type index_d$1_PaymentOption as PaymentOption, index_d$1_PaymentOptionType as PaymentOptionType, type index_d$1_PaymentPending as PaymentPending, type index_d$1_PaymentPendingPaymentDetailsOneOf as PaymentPendingPaymentDetailsOneOf, type index_d$1_PaymentRefundFailed as PaymentRefundFailed, type index_d$1_PaymentRefunded as PaymentRefunded, type index_d$1_PaymentSettings as PaymentSettings, type index_d$1_PaymentSettingsSPIConfig as PaymentSettingsSPIConfig, index_d$1_PaymentStatus as PaymentStatus, type PhysicalProperties$1 as PhysicalProperties, type index_d$1_PickupAddress as PickupAddress, type index_d$1_PickupDetails as PickupDetails, index_d$1_PickupDetailsPickupMethod as PickupDetailsPickupMethod, index_d$1_PickupMethod as PickupMethod, type index_d$1_PlainTextValue as PlainTextValue, type index_d$1_Policy as Policy, type index_d$1_Price as Price, type index_d$1_PriceDescription as PriceDescription, type PriceSummary$1 as PriceSummary, type ProductName$1 as ProductName, index_d$1_RateType as RateType, type index_d$1_RefundInitiated as RefundInitiated, type index_d$1_RefundedAsStoreCredit as RefundedAsStoreCredit, type index_d$1_RefundedPayment as RefundedPayment, type index_d$1_RefundedPaymentKindOneOf as RefundedPaymentKindOneOf, type Region$1 as Region, type index_d$1_RegularPayment as RegularPayment, type index_d$1_RegularPaymentPaymentMethodDetailsOneOf as RegularPaymentPaymentMethodDetailsOneOf, type index_d$1_RegularPaymentRefund as RegularPaymentRefund, index_d$1_RuleType as RuleType, type index_d$1_SavedPaymentMethod as SavedPaymentMethod, type index_d$1_Scope as Scope, type index_d$1_SecuredMedia as SecuredMedia, type SelectedCarrierServiceOption$1 as SelectedCarrierServiceOption, type index_d$1_SelectedCarrierServiceOptionOtherCharge as SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices$1 as SelectedCarrierServiceOptionPrices, type index_d$1_SelectedMembership as SelectedMembership, type index_d$1_SelectedMemberships as SelectedMemberships, type index_d$1_ServiceProperties as ServiceProperties, Severity$1 as Severity, type ShippingInfo$1 as ShippingInfo, type index_d$1_ShippingInformation as ShippingInformation, type index_d$1_ShippingInformationChange as ShippingInformationChange, type index_d$1_ShippingOption as ShippingOption, type index_d$1_ShippingPrice as ShippingPrice, type index_d$1_ShippingRegion as ShippingRegion, type StreetAddress$1 as StreetAddress, SubscriptionFrequency$1 as SubscriptionFrequency, type index_d$1_SubscriptionInfo as SubscriptionInfo, type SubscriptionOptionInfo$1 as SubscriptionOptionInfo, type SubscriptionSettings$1 as SubscriptionSettings, SuggestedFix$1 as SuggestedFix, type index_d$1_SystemError as SystemError, type index_d$1_TagList as TagList, type index_d$1_Tags as Tags, type Target$1 as Target, type TargetLineItem$1 as TargetLineItem, type TargetTargetTypeOneOf$1 as TargetTargetTypeOneOf, type TaxBreakdown$1 as TaxBreakdown, type index_d$1_TaxCalculationDetails as TaxCalculationDetails, type index_d$1_TaxCalculationDetailsCalculationDetailsOneOf as TaxCalculationDetailsCalculationDetailsOneOf, type index_d$1_TaxRateBreakdown as TaxRateBreakdown, type index_d$1_TaxSummary as TaxSummary, type index_d$1_TaxableAddress as TaxableAddress, type index_d$1_TaxableAddressTaxableAddressDataOneOf as TaxableAddressTaxableAddressDataOneOf, index_d$1_TaxableAddressType as TaxableAddressType, type Title$1 as Title, type index_d$1_TotalPriceChange as TotalPriceChange, type index_d$1_TranslatedValue as TranslatedValue, type index_d$1_V1AdditionalFee as V1AdditionalFee, type index_d$1_V1AppliedDiscount as V1AppliedDiscount, type index_d$1_V1AppliedDiscountDiscountSourceOneOf as V1AppliedDiscountDiscountSourceOneOf, type index_d$1_V1BuyerInfo as V1BuyerInfo, type index_d$1_V1BuyerInfoIdOneOf as V1BuyerInfoIdOneOf, type index_d$1_V1Coupon as V1Coupon, type index_d$1_V1CreatedBy as V1CreatedBy, type index_d$1_V1CreatedByStringOneOf as V1CreatedByStringOneOf, type index_d$1_V1DeliveryLogistics as V1DeliveryLogistics, type index_d$1_V1DeliveryTimeSlot as V1DeliveryTimeSlot, type index_d$1_V1DiscountRule as V1DiscountRule, type index_d$1_V1DiscountRuleName as V1DiscountRuleName, type index_d$1_V1ItemTaxFullDetails as V1ItemTaxFullDetails, index_d$1_V1JurisdictionType as V1JurisdictionType, type index_d$1_V1LineItemDiscount as V1LineItemDiscount, type index_d$1_V1MerchantDiscount as V1MerchantDiscount, index_d$1_V1PaymentOption as V1PaymentOption, type index_d$1_V1PickupDetails as V1PickupDetails, type index_d$1_V1PriceSummary as V1PriceSummary, type index_d$1_V1ShippingInformation as V1ShippingInformation, type index_d$1_V1ShippingPrice as V1ShippingPrice, type index_d$1_V1ShippingRegion as V1ShippingRegion, type index_d$1_V1SubscriptionSettings as V1SubscriptionSettings, type index_d$1_V1TaxSummary as V1TaxSummary, type index_d$1_ValidationError as ValidationError, type VatId$1 as VatId, VatType$1 as VatType, type Violation$1 as Violation, WeightUnit$1 as WeightUnit, type _publicProvideHandlersType$1 as _publicProvideHandlersType, provideHandlers$2 as provideHandlers, provideHandlers$3 as publicProvideHandlers };
|
|
5787
|
+
export { type index_d$1_Activity as Activity, type index_d$1_ActivityContentOneOf as ActivityContentOneOf, index_d$1_ActivityType as ActivityType, type index_d$1_AdditionalFee as AdditionalFee, type Address$1 as Address, type AddressLocation$1 as AddressLocation, type AddressWithContact$1 as AddressWithContact, type index_d$1_AggregatedTaxBreakdown as AggregatedTaxBreakdown, type index_d$1_ApiAddressWithContact as ApiAddressWithContact, type ApplicableLineItems$1 as ApplicableLineItems, type index_d$1_ApplicationError as ApplicationError, type AppliedDiscount$1 as AppliedDiscount, type AppliedDiscountDiscountSourceOneOf$1 as AppliedDiscountDiscountSourceOneOf, index_d$1_AppliedDiscountDiscountType as AppliedDiscountDiscountType, index_d$1_AttributionSource as AttributionSource, type index_d$1_AuthorizedPaymentCaptured as AuthorizedPaymentCaptured, type index_d$1_AuthorizedPaymentCreated as AuthorizedPaymentCreated, type index_d$1_AuthorizedPaymentVoided as AuthorizedPaymentVoided, type index_d$1_AutoTaxFallbackCalculationDetails as AutoTaxFallbackCalculationDetails, type index_d$1_Balance as Balance, type index_d$1_BalanceSummary as BalanceSummary, type index_d$1_BuyerInfo as BuyerInfo, type index_d$1_BuyerInfoIdOneOf as BuyerInfoIdOneOf, type index_d$1_CalculationErrors as CalculationErrors, type index_d$1_CalculationErrorsShippingCalculationErrorOneOf as CalculationErrorsShippingCalculationErrorOneOf, type Carrier$1 as Carrier, type index_d$1_CarrierError as CarrierError, type index_d$1_CarrierErrors as CarrierErrors, type index_d$1_CarrierServiceOption as CarrierServiceOption, type index_d$1_CatalogOverrideFields as CatalogOverrideFields, type CatalogReference$1 as CatalogReference, type index_d$1_ChannelInfo as ChannelInfo, index_d$1_ChannelType as ChannelType, index_d$1_ChargeType as ChargeType, type index_d$1_Checkout as Checkout, type index_d$1_Color as Color, type Context$1 as Context, type index_d$1_ConversionInfo as ConversionInfo, type Coupon$1 as Coupon, type index_d$1_CreatedBy as CreatedBy, type index_d$1_CreatedByIdOneOf as CreatedByIdOneOf, type index_d$1_CreditCardDetails as CreditCardDetails, type index_d$1_CustomActivity as CustomActivity, type index_d$1_CustomContentReference as CustomContentReference, type CustomField$1 as CustomField, type index_d$1_CustomSettings as CustomSettings, type DeliveryAllocation$1 as DeliveryAllocation, type index_d$1_DeliveryLogistics as DeliveryLogistics, type index_d$1_DeliveryLogisticsAddressOneOf as DeliveryLogisticsAddressOneOf, type index_d$1_DeliveryTimeSlot as DeliveryTimeSlot, type Description$1 as Description, type index_d$1_DescriptionLine as DescriptionLine, type index_d$1_DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOf, type index_d$1_DescriptionLineName as DescriptionLineName, index_d$1_DescriptionLineType as DescriptionLineType, type index_d$1_DescriptionLineValueOneOf as DescriptionLineValueOneOf, type index_d$1_Details as Details, type index_d$1_DetailsKindOneOf as DetailsKindOneOf, type index_d$1_DigitalFile as DigitalFile, index_d$1_DiscountReason as DiscountReason, type DiscountRule$1 as DiscountRule, type DiscountRuleName$1 as DiscountRuleName, DiscountType$1 as DiscountType, type index_d$1_DraftOrderChangesApplied as DraftOrderChangesApplied, type ExtendedFields$1 as ExtendedFields, type ExternalReference$1 as ExternalReference, index_d$1_FallbackReason as FallbackReason, type index_d$1_FieldViolation as FieldViolation, index_d$1_FileType as FileType, type index_d$1_FocalPoint as FocalPoint, type FreeTrialPeriod$1 as FreeTrialPeriod, index_d$1_FulfillmentStatus as FulfillmentStatus, type index_d$1_FulfillmentStatusesAggregate as FulfillmentStatusesAggregate, type FullAddressContactDetails$1 as FullAddressContactDetails, type index_d$1_GetPaymentSettingsForCheckoutRequest as GetPaymentSettingsForCheckoutRequest, type index_d$1_GetPaymentSettingsForCheckoutResponse as GetPaymentSettingsForCheckoutResponse, type index_d$1_GetPaymentSettingsRequest as GetPaymentSettingsRequest, type index_d$1_GetPaymentSettingsResponse as GetPaymentSettingsResponse, type GiftCard$1 as GiftCard, type index_d$1_GiftCardPaymentRefund as GiftCardPaymentRefund, type index_d$1_Group as Group, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, IdentityType$1 as IdentityType, type index_d$1_InvalidMembership as InvalidMembership, type index_d$1_ItemAvailabilityInfo as ItemAvailabilityInfo, index_d$1_ItemAvailabilityStatus as ItemAvailabilityStatus, type ItemTaxFullDetails$1 as ItemTaxFullDetails, type ItemType$1 as ItemType, ItemTypeItemType$1 as ItemTypeItemType, type ItemTypeItemTypeDataOneOf$1 as ItemTypeItemTypeDataOneOf, JurisdictionType$1 as JurisdictionType, type LineItem$1 as LineItem, type index_d$1_LineItemAmount as LineItemAmount, type index_d$1_LineItemChanges as LineItemChanges, type index_d$1_LineItemDiscount as LineItemDiscount, type index_d$1_LineItemExchangeData as LineItemExchangeData, type index_d$1_LineItemPriceChange as LineItemPriceChange, type index_d$1_LineItemQuantityChange as LineItemQuantityChange, index_d$1_LineItemQuantityChangeType as LineItemQuantityChangeType, type index_d$1_LineItemTaxBreakdown as LineItemTaxBreakdown, type index_d$1_LineItemTaxInfo as LineItemTaxInfo, type index_d$1_Location as Location, type index_d$1_LocationAndQuantity as LocationAndQuantity, type index_d$1_ManagedAdditionalFee as ManagedAdditionalFee, type index_d$1_ManagedDiscount as ManagedDiscount, type index_d$1_ManagedLineItem as ManagedLineItem, index_d$1_ManualCalculationReason as ManualCalculationReason, type index_d$1_Membership as Membership, type index_d$1_MembershipName as MembershipName, type index_d$1_MembershipOptions as MembershipOptions, type index_d$1_MembershipPaymentCredits as MembershipPaymentCredits, type index_d$1_MembershipPaymentRefund as MembershipPaymentRefund, type index_d$1_MerchantComment as MerchantComment, type MerchantDiscount$1 as MerchantDiscount, type index_d$1_MerchantDiscountMerchantDiscountReasonOneOf as MerchantDiscountMerchantDiscountReasonOneOf, type MultiCurrencyPrice$1 as MultiCurrencyPrice, NameInLineItem$1 as NameInLineItem, NameInOther$1 as NameInOther, type index_d$1_NewExchangeOrderCreated as NewExchangeOrderCreated, type index_d$1_Order as Order, type index_d$1_OrderChange as OrderChange, type index_d$1_OrderChangeValueOneOf as OrderChangeValueOneOf, type index_d$1_OrderCreatedFromExchange as OrderCreatedFromExchange, type index_d$1_OrderLineItem as OrderLineItem, type index_d$1_OrderRefunded as OrderRefunded, index_d$1_OrderStatus as OrderStatus, type index_d$1_OrderTaxBreakdown as OrderTaxBreakdown, type index_d$1_OrderTaxInfo as OrderTaxInfo, type Other$1 as Other, type index_d$1_OtherCharge as OtherCharge, type index_d$1_PaymentCanceled as PaymentCanceled, type index_d$1_PaymentCanceledPaymentDetailsOneOf as PaymentCanceledPaymentDetailsOneOf, type index_d$1_PaymentDeclined as PaymentDeclined, type index_d$1_PaymentDeclinedPaymentDetailsOneOf as PaymentDeclinedPaymentDetailsOneOf, type index_d$1_PaymentOption as PaymentOption, index_d$1_PaymentOptionType as PaymentOptionType, type index_d$1_PaymentPending as PaymentPending, type index_d$1_PaymentPendingPaymentDetailsOneOf as PaymentPendingPaymentDetailsOneOf, type index_d$1_PaymentRefundFailed as PaymentRefundFailed, type index_d$1_PaymentRefunded as PaymentRefunded, type index_d$1_PaymentSettings as PaymentSettings, type index_d$1_PaymentSettingsSPIConfig as PaymentSettingsSPIConfig, index_d$1_PaymentStatus as PaymentStatus, type PhysicalProperties$1 as PhysicalProperties, type index_d$1_PickupAddress as PickupAddress, type index_d$1_PickupDetails as PickupDetails, index_d$1_PickupDetailsPickupMethod as PickupDetailsPickupMethod, index_d$1_PickupMethod as PickupMethod, type index_d$1_PlainTextValue as PlainTextValue, type index_d$1_Policy as Policy, type index_d$1_Price as Price, type index_d$1_PriceDescription as PriceDescription, type PriceSummary$1 as PriceSummary, type ProductName$1 as ProductName, index_d$1_RateType as RateType, type index_d$1_RefundInitiated as RefundInitiated, type index_d$1_RefundedAsStoreCredit as RefundedAsStoreCredit, type index_d$1_RefundedPayment as RefundedPayment, type index_d$1_RefundedPaymentKindOneOf as RefundedPaymentKindOneOf, type Region$1 as Region, type index_d$1_RegularPayment as RegularPayment, type index_d$1_RegularPaymentPaymentMethodDetailsOneOf as RegularPaymentPaymentMethodDetailsOneOf, type index_d$1_RegularPaymentRefund as RegularPaymentRefund, index_d$1_RuleType as RuleType, type index_d$1_SavedPaymentMethod as SavedPaymentMethod, type index_d$1_Scope as Scope, type index_d$1_SecuredMedia as SecuredMedia, type SelectedCarrierServiceOption$1 as SelectedCarrierServiceOption, type index_d$1_SelectedCarrierServiceOptionOtherCharge as SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices$1 as SelectedCarrierServiceOptionPrices, type index_d$1_SelectedMembership as SelectedMembership, type index_d$1_SelectedMemberships as SelectedMemberships, type index_d$1_ServiceProperties as ServiceProperties, Severity$1 as Severity, type ShippingInfo$1 as ShippingInfo, type index_d$1_ShippingInformation as ShippingInformation, type index_d$1_ShippingInformationChange as ShippingInformationChange, type index_d$1_ShippingOption as ShippingOption, type index_d$1_ShippingPrice as ShippingPrice, type index_d$1_ShippingRegion as ShippingRegion, type StreetAddress$1 as StreetAddress, SubscriptionFrequency$1 as SubscriptionFrequency, type index_d$1_SubscriptionInfo as SubscriptionInfo, type SubscriptionOptionInfo$1 as SubscriptionOptionInfo, type SubscriptionSettings$1 as SubscriptionSettings, SuggestedFix$1 as SuggestedFix, type index_d$1_SystemError as SystemError, type index_d$1_TagList as TagList, type index_d$1_Tags as Tags, type Target$1 as Target, type TargetLineItem$1 as TargetLineItem, type TargetTargetTypeOneOf$1 as TargetTargetTypeOneOf, type TaxBreakdown$1 as TaxBreakdown, type index_d$1_TaxCalculationDetails as TaxCalculationDetails, type index_d$1_TaxCalculationDetailsCalculationDetailsOneOf as TaxCalculationDetailsCalculationDetailsOneOf, type index_d$1_TaxRateBreakdown as TaxRateBreakdown, type index_d$1_TaxSummary as TaxSummary, type index_d$1_TaxableAddress as TaxableAddress, type index_d$1_TaxableAddressTaxableAddressDataOneOf as TaxableAddressTaxableAddressDataOneOf, index_d$1_TaxableAddressType as TaxableAddressType, type Title$1 as Title, type index_d$1_TotalPriceChange as TotalPriceChange, type index_d$1_TranslatedValue as TranslatedValue, type index_d$1_V1AdditionalFee as V1AdditionalFee, type index_d$1_V1AppliedDiscount as V1AppliedDiscount, type index_d$1_V1AppliedDiscountDiscountSourceOneOf as V1AppliedDiscountDiscountSourceOneOf, type index_d$1_V1BuyerInfo as V1BuyerInfo, type index_d$1_V1BuyerInfoIdOneOf as V1BuyerInfoIdOneOf, type index_d$1_V1Coupon as V1Coupon, type index_d$1_V1CreatedBy as V1CreatedBy, type index_d$1_V1CreatedByStringOneOf as V1CreatedByStringOneOf, type index_d$1_V1DeliveryLogistics as V1DeliveryLogistics, type index_d$1_V1DeliveryTimeSlot as V1DeliveryTimeSlot, type index_d$1_V1DiscountRule as V1DiscountRule, type index_d$1_V1DiscountRuleName as V1DiscountRuleName, type index_d$1_V1ItemTaxFullDetails as V1ItemTaxFullDetails, index_d$1_V1JurisdictionType as V1JurisdictionType, type index_d$1_V1LineItemDiscount as V1LineItemDiscount, type index_d$1_V1MerchantDiscount as V1MerchantDiscount, index_d$1_V1PaymentOption as V1PaymentOption, type index_d$1_V1PickupDetails as V1PickupDetails, type index_d$1_V1PriceSummary as V1PriceSummary, type index_d$1_V1ShippingInformation as V1ShippingInformation, type index_d$1_V1ShippingPrice as V1ShippingPrice, type index_d$1_V1ShippingRegion as V1ShippingRegion, type index_d$1_V1SubscriptionSettings as V1SubscriptionSettings, type index_d$1_V1TaxSummary as V1TaxSummary, type index_d$1_ValidationError as ValidationError, type VatId$1 as VatId, VatType$1 as VatType, type Violation$1 as Violation, WeightUnit$1 as WeightUnit, type _publicProvideHandlersType$1 as _publicProvideHandlersType, provideHandlers$2 as provideHandlers, provideHandlers$3 as publicProvideHandlers };
|
|
5776
5788
|
}
|
|
5777
5789
|
|
|
5778
5790
|
interface GetValidationViolationsRequest {
|
|
@@ -5995,18 +6007,6 @@ interface SubscriptionSettings {
|
|
|
5995
6007
|
autoRenewal?: boolean;
|
|
5996
6008
|
/** Number of billing cycles before subscription ends. Ignored if `autoRenewal` is `true`. */
|
|
5997
6009
|
billingCycles?: number | null;
|
|
5998
|
-
/**
|
|
5999
|
-
* Period until first cycle starts. If applied payNow will be 0
|
|
6000
|
-
* If None => no free trial
|
|
6001
|
-
*/
|
|
6002
|
-
freeTrialPeriod?: FreeTrialPeriod;
|
|
6003
|
-
/** The date the subscription will start. The subscription will be charged either now or according to freeTrialDays. */
|
|
6004
|
-
startDate?: Date | null;
|
|
6005
|
-
/**
|
|
6006
|
-
* Whether to generate an order each billing cycle. An order will always be generated for the first billing cycle.
|
|
6007
|
-
* Default None => will behave like true
|
|
6008
|
-
*/
|
|
6009
|
-
generateOrderEachBillingCycle?: boolean | null;
|
|
6010
6010
|
}
|
|
6011
6011
|
/** Frequency unit of recurring payment */
|
|
6012
6012
|
declare enum SubscriptionFrequency {
|