@wix/auto_sdk_ecom_subscription-contracts 1.0.150 → 1.0.152
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.
- package/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js +9 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +28 -5
- package/build/cjs/index.typings.js +9 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +28 -5
- package/build/cjs/meta.js +9 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +8 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +28 -5
- package/build/es/index.typings.mjs +8 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +28 -5
- package/build/es/meta.mjs +8 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.typings.d.ts +110 -19
- package/build/internal/cjs/meta.d.ts +110 -19
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.typings.d.mts +110 -19
- package/build/internal/es/meta.d.mts +110 -19
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
2
|
import { SubscriptionContract, GetSubscriptionContractApplicationErrors, SubscriptionContractCommittedEnvelope, SubscriptionContractCreatedEnvelope, SubscriptionContractDeletedEnvelope, SubscriptionContractUpdatedEnvelope, SubscriptionContractsQueryBuilder, SubscriptionContractQuery, typedQuerySubscriptionContracts } from './index.typings.js';
|
|
3
|
-
export { AccountInfo, AccountInfoMetadata, ActionEvent, ActionInitiator, ActionInitiatorWithLiterals, ActivityAuthor, ActivityAuthorValueOneOf, ActivityType, ActivityTypeWithLiterals, AdditionalFee, AdditionalFeeDelta, AdditionalFeeDeltaDeltaDetailsOneOf, AdditionalFeeSource, AdditionalFeeSourceWithLiterals, AdditionalFeeSummary, Address, AddressLocation, AddressWithContact, AdjustmentType, AdjustmentTypeWithLiterals, ApplicationError, AppliedDiscount, AppliedDiscountDelta, AppliedDiscountDeltaDeltaDetailsOneOf, AppliedDiscountDiscountSourceOneOf, BaseEventMetadata, BaseRateSource, BaseRateSourceWithLiterals, BillingAdjustment, BillingAdjustmentPriceSummary, BillingSettings, BulkActionMetadata, BulkCreateSubscriptionContractsRequest, BulkCreateSubscriptionContractsResponse, BulkSubscriptionContractResult, BulkUpdateSubscriptionContractsRequest, BulkUpdateSubscriptionContractsResponse, BuyerInfo, BuyerInfoIdOneOf, CatalogReference, CatalogReferenceOptionsBeforeChange, ChangeType, ChangeTypeWithLiterals, ChangesAppliedActivity, ChangesAppliedActivityTargetOneOf, ChannelInfo, ChannelType, ChannelTypeWithLiterals, ChargeType, ChargeTypeWithLiterals, Color, CommitSubscriptionContractChangesRequest, CommitSubscriptionContractChangesResponse, CommonQueryWithEntityContext, ContractChange, ContractChangeChangeDetailsOneOf, ContractChangeType, ContractChangeTypeWithLiterals, ContractTarget, Coupon, CreateSubscriptionContractRequest, CreateSubscriptionContractResponse, CrossBorderCalculation, CrossBorderNotApplicableReason, CrossBorderNotApplicableReasonWithLiterals, CrossBorderPriceAdjustment, CrossBorderRepricingMode, CrossBorderRepricingModeWithLiterals, CurrencyConversionDetails, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomField, CyclePriceOverride, DecimalQuantity, DecimalQuantityUnitOneOf, DeliveryLogistics, DeliveryLogisticsAddressOneOf, DeliveryProfileIdBeforeChange, DeliveryTimeSlot, DescriptionLine, DescriptionLineDescriptionLineValueOneOf, DescriptionLineName, DescriptionLineType, DescriptionLineTypeWithLiterals, DescriptionLineValueOneOf, DescriptionLinesBeforeChange, DigitalFile, DigitalFileBeforeChange, Dimensions, DimensionsUnit, DimensionsUnitWithLiterals, DiscountReason, DiscountReasonWithLiterals, DiscountRule, DiscountRuleName, DiscountSummary, DiscountType, DiscountTypeWithLiterals, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, FocalPoint, FreeTrialPeriod, FulfillerIdBeforeChange, FullAddressContactDetails, GetSubscriptionContractRequest, GetSubscriptionContractResponse, IdentificationData, IdentificationDataIdOneOf, ImageBeforeChange, InventoryAppIdBeforeChange, ItemChangedDetails, ItemCombination, ItemCombinationLineItem, ItemMetadata, ItemModifier, ItemTaxFullDetails, ItemType, ItemTypeBeforeChange, ItemTypeItemTypeDataOneOf, ItemTypePreset, ItemTypePresetWithLiterals, JurisdictionType, JurisdictionTypeWithLiterals, LineItemChanges, LineItemCyclePriceOverrides, LineItemDelta, LineItemDeltaDeltaDetailsOneOf, LineItemDiscount, LineItemQuantityChange, LineItemQuantityChangeType, LineItemQuantityChangeTypeWithLiterals, LineItemSummary, LineItemTaxBreakdown, LineItemTaxInfo, Location, LocationAndQuantity, MaskedSubscriptionContract, MeasurementUnit, MeasurementUnitWithLiterals, MerchantDiscount, MerchantDiscountMerchantDiscountReasonOneOf, MessageEnvelope, ModifierGroup, ModifierGroupsBeforeChange, OrderLineItem, OrderTaxBreakdown, OrderTaxInfo, PaymentOptionType, PaymentOptionTypeWithLiterals, PhysicalProperties, PhysicalPropertiesBeforeChange, PickupAddress, PickupDetails, PickupMethod, PickupMethodWithLiterals, PlainTextValue, PlatformFee, PlatformFeeSummary, Price, PriceDescription, PriceDescriptionBeforeChange, PriceSummary, PriceUndeterminedBeforeChange, ProductName, ProductNameBeforeChange, ProductPeriodAlignment, ProductPeriodAlignmentWithLiterals, QuerySubscriptionContractsRequest, QuerySubscriptionContractsResponse, RepriceStatus, RepriceStatusWithLiterals, RestockLocation, RestoreInfo, RootCatalogItemIdBeforeChange, ServiceProperties, ShippingGroupIdBeforeChange, ShippingInformation, ShippingPrice, ShippingRegion, SortOrder, SortOrderWithLiterals, Sorting, SpecificItemsCouponBehavior, SpecificItemsCouponBehaviorWithLiterals, StreetAddress, SubscriptionCommitSettings, SubscriptionContractActivity, SubscriptionContractActivityContentOneOf, SubscriptionContractActivityTargetOneOf, SubscriptionContractCanceled, SubscriptionContractChangesCommitted, SubscriptionContractChargeUpcoming, SubscriptionContractDiffs, SubscriptionContractExpired, SubscriptionContractQuerySpec, SubscriptionContractSettings, SubscriptionContractsQueryResult, SubscriptionDescription, SubscriptionFrequency, SubscriptionFrequencyWithLiterals, SubscriptionInfo, SubscriptionSettings, SubscriptionSettingsProductPeriodAlignment, SubscriptionSettingsProductPeriodAlignmentWithLiterals, SubscriptionTitle, TaxInfoBeforeChange, TaxableAddress, TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, TaxableAddressTypeWithLiterals, TotalPriceChange, TranslatableString, TranslatedValue, UpdateSubscriptionContractRequest, UpdateSubscriptionContractResponse, V1BillingSettings, V1CyclePriceOverride, V1FreeTrialPeriod, V1SubscriptionDescription, V1SubscriptionSettings, V1SubscriptionTitle, V2SubscriptionFrequency, V2SubscriptionFrequencyWithLiterals, VatId, VatType, VatTypeWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WeightUnit, WeightUnitWithLiterals, utils } from './index.typings.js';
|
|
3
|
+
export { AccountInfo, AccountInfoMetadata, ActionEvent, ActionInitiator, ActionInitiatorWithLiterals, ActivityAuthor, ActivityAuthorValueOneOf, ActivityType, ActivityTypeWithLiterals, AdditionalFee, AdditionalFeeDelta, AdditionalFeeDeltaDeltaDetailsOneOf, AdditionalFeeSource, AdditionalFeeSourceWithLiterals, AdditionalFeeSummary, Address, AddressLocation, AddressWithContact, AdjustmentType, AdjustmentTypeWithLiterals, ApplicationError, AppliedDiscount, AppliedDiscountDelta, AppliedDiscountDeltaDeltaDetailsOneOf, AppliedDiscountDiscountSourceOneOf, BaseEventMetadata, BaseRateSource, BaseRateSourceWithLiterals, BillingAdjustment, BillingAdjustmentPriceSummary, BillingSettings, BulkActionMetadata, BulkCreateSubscriptionContractsRequest, BulkCreateSubscriptionContractsResponse, BulkSubscriptionContractResult, BulkUpdateSubscriptionContractsRequest, BulkUpdateSubscriptionContractsResponse, BuyerInfo, BuyerInfoIdOneOf, CatalogReference, CatalogReferenceOptionsBeforeChange, ChangeType, ChangeTypeWithLiterals, ChangesAppliedActivity, ChangesAppliedActivityTargetOneOf, ChannelInfo, ChannelType, ChannelTypeWithLiterals, ChargeType, ChargeTypeWithLiterals, Color, CommitSubscriptionContractChangesRequest, CommitSubscriptionContractChangesResponse, CommonQueryWithEntityContext, ContractChange, ContractChangeChangeDetailsOneOf, ContractChangeType, ContractChangeTypeWithLiterals, ContractTarget, Coupon, CouponDiscountValueOneOf, CreateSubscriptionContractRequest, CreateSubscriptionContractResponse, CrossBorderCalculation, CrossBorderNotApplicableReason, CrossBorderNotApplicableReasonWithLiterals, CrossBorderPriceAdjustment, CrossBorderRepricingMode, CrossBorderRepricingModeWithLiterals, CurrencyConversionDetails, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomField, CyclePriceOverride, DecimalQuantity, DecimalQuantityUnitOneOf, DeliveryLogistics, DeliveryLogisticsAddressOneOf, DeliveryProfileIdBeforeChange, DeliveryTimeSlot, DescriptionLine, DescriptionLineDescriptionLineValueOneOf, DescriptionLineName, DescriptionLineType, DescriptionLineTypeWithLiterals, DescriptionLineValueOneOf, DescriptionLinesBeforeChange, DigitalFile, DigitalFileBeforeChange, Dimensions, DimensionsUnit, DimensionsUnitWithLiterals, DiscountReason, DiscountReasonWithLiterals, DiscountRule, DiscountRuleDiscountValueOneOf, DiscountRuleName, DiscountSummary, DiscountType, DiscountTypeWithLiterals, DiscountValueType, DiscountValueTypeWithLiterals, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, FocalPoint, FreeTrialPeriod, FulfillerIdBeforeChange, FullAddressContactDetails, GetSubscriptionContractRequest, GetSubscriptionContractResponse, IdentificationData, IdentificationDataIdOneOf, ImageBeforeChange, InventoryAppIdBeforeChange, ItemChangedDetails, ItemCombination, ItemCombinationLineItem, ItemMetadata, ItemModifier, ItemTaxFullDetails, ItemType, ItemTypeBeforeChange, ItemTypeItemTypeDataOneOf, ItemTypePreset, ItemTypePresetWithLiterals, JurisdictionType, JurisdictionTypeWithLiterals, LineItemChanges, LineItemCyclePriceOverrides, LineItemDelta, LineItemDeltaDeltaDetailsOneOf, LineItemDiscount, LineItemQuantityChange, LineItemQuantityChangeType, LineItemQuantityChangeTypeWithLiterals, LineItemSummary, LineItemTaxBreakdown, LineItemTaxInfo, Location, LocationAndQuantity, MaskedSubscriptionContract, MeasurementUnit, MeasurementUnitWithLiterals, MerchantDiscount, MerchantDiscountMerchantDiscountReasonOneOf, MessageEnvelope, ModifierGroup, ModifierGroupsBeforeChange, OrderLineItem, OrderTaxBreakdown, OrderTaxInfo, PaymentOptionType, PaymentOptionTypeWithLiterals, PhysicalProperties, PhysicalPropertiesBeforeChange, PickupAddress, PickupDetails, PickupMethod, PickupMethodWithLiterals, PlainTextValue, PlatformFee, PlatformFeeSummary, Price, PriceDescription, PriceDescriptionBeforeChange, PriceSummary, PriceUndeterminedBeforeChange, ProductName, ProductNameBeforeChange, ProductPeriodAlignment, ProductPeriodAlignmentWithLiterals, QuerySubscriptionContractsRequest, QuerySubscriptionContractsResponse, RepriceStatus, RepriceStatusWithLiterals, RestockLocation, RestoreInfo, RootCatalogItemIdBeforeChange, ServiceProperties, ShippingGroupIdBeforeChange, ShippingInformation, ShippingPrice, ShippingRegion, SortOrder, SortOrderWithLiterals, Sorting, SpecificItemsCouponBehavior, SpecificItemsCouponBehaviorWithLiterals, StreetAddress, SubscriptionCommitSettings, SubscriptionContractActivity, SubscriptionContractActivityContentOneOf, SubscriptionContractActivityTargetOneOf, SubscriptionContractCanceled, SubscriptionContractChangesCommitted, SubscriptionContractChargeUpcoming, SubscriptionContractDiffs, SubscriptionContractExpired, SubscriptionContractQuerySpec, SubscriptionContractSettings, SubscriptionContractsQueryResult, SubscriptionDescription, SubscriptionFrequency, SubscriptionFrequencyWithLiterals, SubscriptionInfo, SubscriptionSettings, SubscriptionSettingsProductPeriodAlignment, SubscriptionSettingsProductPeriodAlignmentWithLiterals, SubscriptionTitle, TaxInfoBeforeChange, TaxableAddress, TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, TaxableAddressTypeWithLiterals, TotalPriceChange, TranslatableString, TranslatedValue, UpdateSubscriptionContractRequest, UpdateSubscriptionContractResponse, V1BillingSettings, V1CyclePriceOverride, V1FreeTrialPeriod, V1SubscriptionDescription, V1SubscriptionSettings, V1SubscriptionTitle, V2SubscriptionFrequency, V2SubscriptionFrequencyWithLiterals, VatId, VatType, VatTypeWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WeightUnit, WeightUnitWithLiterals, utils } from './index.typings.js';
|
|
4
4
|
|
|
5
5
|
declare function getSubscriptionContract$1(httpClient: HttpClient): GetSubscriptionContractSignature;
|
|
6
6
|
interface GetSubscriptionContractSignature {
|
|
@@ -867,10 +867,7 @@ interface LineItemTaxInfo {
|
|
|
867
867
|
* @maxSize 7
|
|
868
868
|
*/
|
|
869
869
|
taxBreakdown?: LineItemTaxBreakdown[];
|
|
870
|
-
/**
|
|
871
|
-
* Amount of the line item price that was exempt from tax.
|
|
872
|
-
* @internal
|
|
873
|
-
*/
|
|
870
|
+
/** Amount of the line item price that was exempt from tax. */
|
|
874
871
|
exemptAmount?: Price;
|
|
875
872
|
}
|
|
876
873
|
/**
|
|
@@ -908,10 +905,7 @@ interface LineItemTaxBreakdown {
|
|
|
908
905
|
nonTaxableAmount?: Price;
|
|
909
906
|
/** Taxable amount of the line item price. */
|
|
910
907
|
taxableAmount?: Price;
|
|
911
|
-
/**
|
|
912
|
-
* Amount of the line item price that was exempt from this authority.
|
|
913
|
-
* @internal
|
|
914
|
-
*/
|
|
908
|
+
/** Amount of the line item price that was exempt from this authority. */
|
|
915
909
|
exemptAmount?: Price;
|
|
916
910
|
}
|
|
917
911
|
/** JurisdictionType represents the type of the jurisdiction in which this tax detail applies (e.g. Country,State,County,City,Special). */
|
|
@@ -1893,8 +1887,7 @@ interface OrderTaxInfo {
|
|
|
1893
1887
|
*/
|
|
1894
1888
|
taxExempt?: boolean | null;
|
|
1895
1889
|
/**
|
|
1896
|
-
*
|
|
1897
|
-
* @internal
|
|
1890
|
+
* Total amount exempt from tax calculations.
|
|
1898
1891
|
* @readonly
|
|
1899
1892
|
*/
|
|
1900
1893
|
totalExempt?: Price;
|
|
@@ -1940,10 +1933,7 @@ interface OrderTaxBreakdown {
|
|
|
1940
1933
|
* @internal
|
|
1941
1934
|
*/
|
|
1942
1935
|
aggregatedTaxableAmount?: Price;
|
|
1943
|
-
/**
|
|
1944
|
-
* The aggregated exempt amount from all line items for tax identifiers.
|
|
1945
|
-
* @internal
|
|
1946
|
-
*/
|
|
1936
|
+
/** Total amount exempt from this tax, summed across all line items. */
|
|
1947
1937
|
aggregatedExemptAmount?: Price;
|
|
1948
1938
|
}
|
|
1949
1939
|
/** Cross-border repricing outcome of one calculation. Replaced on every recalculation of the order; the order-level marker that never changes is `Order.crossBorderRepricing`. */
|
|
@@ -2003,6 +1993,7 @@ interface AppliedDiscount extends AppliedDiscountDiscountSourceOneOf {
|
|
|
2003
1993
|
merchantDiscount?: MerchantDiscount;
|
|
2004
1994
|
/** Automatic discount applied by the system based on configured discount rules. */
|
|
2005
1995
|
discountRule?: DiscountRule;
|
|
1996
|
+
/** Discount type. */
|
|
2006
1997
|
discountType?: DiscountTypeWithLiterals;
|
|
2007
1998
|
/**
|
|
2008
1999
|
* __Deprecated.__ Use `lineItemDiscounts` instead.
|
|
@@ -2068,16 +2059,76 @@ declare enum DiscountType {
|
|
|
2068
2059
|
/** @enumType */
|
|
2069
2060
|
type DiscountTypeWithLiterals = DiscountType | 'GLOBAL' | 'SPECIFIC_ITEMS' | 'SHIPPING';
|
|
2070
2061
|
/** Coupon */
|
|
2071
|
-
interface Coupon {
|
|
2062
|
+
interface Coupon extends CouponDiscountValueOneOf {
|
|
2063
|
+
/**
|
|
2064
|
+
* Percentage the coupon took off the price. For example, `10.5` for 10.5%.
|
|
2065
|
+
*
|
|
2066
|
+
* For a `SPECIFIC_ITEMS` discount, the percentage applies to the price of the discounted units. For a `GLOBAL`
|
|
2067
|
+
* discount, it applies to the order subtotal. Either way, it's the price after any discounts applied earlier.
|
|
2068
|
+
* @internal
|
|
2069
|
+
* @format DECIMAL_VALUE
|
|
2070
|
+
* @decimalValue options { gt:0, lte:100, maxScale:2 }
|
|
2071
|
+
*/
|
|
2072
|
+
percentage?: string;
|
|
2072
2073
|
/** Coupon ID. */
|
|
2073
2074
|
_id?: string;
|
|
2074
2075
|
/** Coupon code. */
|
|
2075
2076
|
code?: string;
|
|
2076
2077
|
/** Coupon name. */
|
|
2077
2078
|
name?: string;
|
|
2078
|
-
/**
|
|
2079
|
+
/** Total amount the coupon took off. */
|
|
2079
2080
|
amount?: Price;
|
|
2081
|
+
/**
|
|
2082
|
+
* How the coupon's discount is expressed. `percentage` holds the rate of a percentage coupon, and `amount` holds
|
|
2083
|
+
* the total amount the coupon took off, whatever the type.
|
|
2084
|
+
*
|
|
2085
|
+
* Not returned for a free-shipping coupon.
|
|
2086
|
+
* @internal
|
|
2087
|
+
*/
|
|
2088
|
+
discountValueType?: DiscountValueTypeWithLiterals;
|
|
2089
|
+
}
|
|
2090
|
+
/** @oneof */
|
|
2091
|
+
interface CouponDiscountValueOneOf {
|
|
2092
|
+
/**
|
|
2093
|
+
* Percentage the coupon took off the price. For example, `10.5` for 10.5%.
|
|
2094
|
+
*
|
|
2095
|
+
* For a `SPECIFIC_ITEMS` discount, the percentage applies to the price of the discounted units. For a `GLOBAL`
|
|
2096
|
+
* discount, it applies to the order subtotal. Either way, it's the price after any discounts applied earlier.
|
|
2097
|
+
* @internal
|
|
2098
|
+
* @format DECIMAL_VALUE
|
|
2099
|
+
* @decimalValue options { gt:0, lte:100, maxScale:2 }
|
|
2100
|
+
*/
|
|
2101
|
+
percentage?: string;
|
|
2102
|
+
}
|
|
2103
|
+
/** How a coupon's or discount rule's discount value is expressed. */
|
|
2104
|
+
declare enum DiscountValueType {
|
|
2105
|
+
/**
|
|
2106
|
+
* The discount takes a percentage off the price it applies to.
|
|
2107
|
+
* @documentationMaturity preview
|
|
2108
|
+
* @internal
|
|
2109
|
+
*/
|
|
2110
|
+
PERCENTAGE = "PERCENTAGE",
|
|
2111
|
+
/**
|
|
2112
|
+
* The discount takes a fixed amount off the price it applies to.
|
|
2113
|
+
* @documentationMaturity preview
|
|
2114
|
+
* @internal
|
|
2115
|
+
*/
|
|
2116
|
+
FIXED_AMOUNT = "FIXED_AMOUNT",
|
|
2117
|
+
/**
|
|
2118
|
+
* The discount sets the price it applies to a fixed amount.
|
|
2119
|
+
* @documentationMaturity preview
|
|
2120
|
+
* @internal
|
|
2121
|
+
*/
|
|
2122
|
+
FIXED_PRICE = "FIXED_PRICE",
|
|
2123
|
+
/**
|
|
2124
|
+
* The discount depends on the number of units bought. For example, 3 for $10, or buy 2 get 1 free.
|
|
2125
|
+
* @documentationMaturity preview
|
|
2126
|
+
* @internal
|
|
2127
|
+
*/
|
|
2128
|
+
QUANTITY_BASED = "QUANTITY_BASED"
|
|
2080
2129
|
}
|
|
2130
|
+
/** @enumType */
|
|
2131
|
+
type DiscountValueTypeWithLiterals = DiscountValueType;
|
|
2081
2132
|
/** Discount applied manually by the merchant through the dashboard. */
|
|
2082
2133
|
interface MerchantDiscount extends MerchantDiscountMerchantDiscountReasonOneOf {
|
|
2083
2134
|
/** Predefined discount reason. */
|
|
@@ -2124,7 +2175,17 @@ declare enum DiscountReason {
|
|
|
2124
2175
|
}
|
|
2125
2176
|
/** @enumType */
|
|
2126
2177
|
type DiscountReasonWithLiterals = DiscountReason | 'UNSPECIFIED' | 'EXCHANGED_ITEMS' | 'BILLING_ADJUSTMENT';
|
|
2127
|
-
interface DiscountRule {
|
|
2178
|
+
interface DiscountRule extends DiscountRuleDiscountValueOneOf {
|
|
2179
|
+
/**
|
|
2180
|
+
* Percentage the discount rule took off the price. For example, `10.5` for 10.5%.
|
|
2181
|
+
*
|
|
2182
|
+
* For a `SPECIFIC_ITEMS` discount, the percentage applies to the price of the discounted units. For a `GLOBAL`
|
|
2183
|
+
* discount, it applies to the order subtotal. Either way, it's the price after any discounts applied earlier.
|
|
2184
|
+
* @internal
|
|
2185
|
+
* @format DECIMAL_VALUE
|
|
2186
|
+
* @decimalValue options { gt:0, lte:100, maxScale:2 }
|
|
2187
|
+
*/
|
|
2188
|
+
percentage?: string;
|
|
2128
2189
|
/**
|
|
2129
2190
|
* Discount rule ID
|
|
2130
2191
|
* @format GUID
|
|
@@ -2132,8 +2193,29 @@ interface DiscountRule {
|
|
|
2132
2193
|
_id?: string;
|
|
2133
2194
|
/** Discount rule name */
|
|
2134
2195
|
name?: DiscountRuleName;
|
|
2135
|
-
/**
|
|
2196
|
+
/** Total amount the discount rule took off. */
|
|
2136
2197
|
amount?: Price;
|
|
2198
|
+
/**
|
|
2199
|
+
* How the discount rule's discount is expressed. `percentage` holds the rate of a percentage discount rule, and
|
|
2200
|
+
* `amount` holds the total amount the discount rule took off, whatever the type.
|
|
2201
|
+
*
|
|
2202
|
+
* Not returned for a free-shipping discount rule.
|
|
2203
|
+
* @internal
|
|
2204
|
+
*/
|
|
2205
|
+
discountValueType?: DiscountValueTypeWithLiterals;
|
|
2206
|
+
}
|
|
2207
|
+
/** @oneof */
|
|
2208
|
+
interface DiscountRuleDiscountValueOneOf {
|
|
2209
|
+
/**
|
|
2210
|
+
* Percentage the discount rule took off the price. For example, `10.5` for 10.5%.
|
|
2211
|
+
*
|
|
2212
|
+
* For a `SPECIFIC_ITEMS` discount, the percentage applies to the price of the discounted units. For a `GLOBAL`
|
|
2213
|
+
* discount, it applies to the order subtotal. Either way, it's the price after any discounts applied earlier.
|
|
2214
|
+
* @internal
|
|
2215
|
+
* @format DECIMAL_VALUE
|
|
2216
|
+
* @decimalValue options { gt:0, lte:100, maxScale:2 }
|
|
2217
|
+
*/
|
|
2218
|
+
percentage?: string;
|
|
2137
2219
|
}
|
|
2138
2220
|
interface DiscountRuleName {
|
|
2139
2221
|
/**
|
|
@@ -2157,6 +2239,15 @@ interface LineItemDiscount {
|
|
|
2157
2239
|
_id?: string;
|
|
2158
2240
|
/** Total discount amount for this line item. */
|
|
2159
2241
|
totalDiscount?: Price;
|
|
2242
|
+
/**
|
|
2243
|
+
* Number of the line item's units the discount was applied to.
|
|
2244
|
+
*
|
|
2245
|
+
* Returned only for a `SPECIFIC_ITEMS` discount.
|
|
2246
|
+
* @internal
|
|
2247
|
+
* @min 1
|
|
2248
|
+
* @max 100000
|
|
2249
|
+
*/
|
|
2250
|
+
discountedQuantity?: number | null;
|
|
2160
2251
|
}
|
|
2161
2252
|
interface ItemCombination {
|
|
2162
2253
|
/**
|
|
@@ -3749,4 +3840,4 @@ declare const utils: {
|
|
|
3749
3840
|
query: _wix_sdk_types.QueryHelpers<SubscriptionContract, SubscriptionContractQuerySpec, SubscriptionContractQuery>;
|
|
3750
3841
|
};
|
|
3751
3842
|
|
|
3752
|
-
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, ActionInitiator, type ActionInitiatorWithLiterals, type ActivityAuthor, type ActivityAuthorValueOneOf, ActivityType, type ActivityTypeWithLiterals, type AdditionalFee, type AdditionalFeeDelta, type AdditionalFeeDeltaDeltaDetailsOneOf, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type AdditionalFeeSummary, type Address, type AddressLocation, type AddressWithContact, AdjustmentType, type AdjustmentTypeWithLiterals, type ApplicationError, type AppliedDiscount, type AppliedDiscountDelta, type AppliedDiscountDeltaDeltaDetailsOneOf, type AppliedDiscountDiscountSourceOneOf, type BaseEventMetadata, BaseRateSource, type BaseRateSourceWithLiterals, type BillingAdjustment, type BillingAdjustmentPriceSummary, type BillingSettings, type BulkActionMetadata, type BulkCreateSubscriptionContractsRequest, type BulkCreateSubscriptionContractsResponse, type BulkSubscriptionContractResult, type BulkUpdateSubscriptionContractsRequest, type BulkUpdateSubscriptionContractsResponse, type BuyerInfo, type BuyerInfoIdOneOf, type CatalogReference, type CatalogReferenceOptionsBeforeChange, ChangeType, type ChangeTypeWithLiterals, type ChangesAppliedActivity, type ChangesAppliedActivityTargetOneOf, type ChannelInfo, ChannelType, type ChannelTypeWithLiterals, ChargeType, type ChargeTypeWithLiterals, type Color, type CommitSubscriptionContractChangesRequest, type CommitSubscriptionContractChangesResponse, type CommonQueryWithEntityContext, type ContractChange, type ContractChangeChangeDetailsOneOf, ContractChangeType, type ContractChangeTypeWithLiterals, type ContractTarget, type Coupon, type CreateSubscriptionContractRequest, type CreateSubscriptionContractResponse, type CrossBorderCalculation, CrossBorderNotApplicableReason, type CrossBorderNotApplicableReasonWithLiterals, type CrossBorderPriceAdjustment, CrossBorderRepricingMode, type CrossBorderRepricingModeWithLiterals, type CurrencyConversionDetails, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomField, type CyclePriceOverride, type DecimalQuantity, type DecimalQuantityUnitOneOf, type DeliveryLogistics, type DeliveryLogisticsAddressOneOf, type DeliveryProfileIdBeforeChange, type DeliveryTimeSlot, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type DescriptionLinesBeforeChange, type DigitalFile, type DigitalFileBeforeChange, type Dimensions, DimensionsUnit, type DimensionsUnitWithLiterals, DiscountReason, type DiscountReasonWithLiterals, type DiscountRule, type DiscountRuleName, type DiscountSummary, DiscountType, type DiscountTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type FocalPoint, type FreeTrialPeriod, type FulfillerIdBeforeChange, type FullAddressContactDetails, type GetSubscriptionContractApplicationErrors, type GetSubscriptionContractRequest, type GetSubscriptionContractResponse, type IdentificationData, type IdentificationDataIdOneOf, type ImageBeforeChange, type InventoryAppIdBeforeChange, type ItemChangedDetails, type ItemCombination, type ItemCombinationLineItem, type ItemMetadata, type ItemModifier, type ItemTaxFullDetails, type ItemType, type ItemTypeBeforeChange, type ItemTypeItemTypeDataOneOf, ItemTypePreset, type ItemTypePresetWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LineItemChanges, type LineItemCyclePriceOverrides, type LineItemDelta, type LineItemDeltaDeltaDetailsOneOf, type LineItemDiscount, type LineItemQuantityChange, LineItemQuantityChangeType, type LineItemQuantityChangeTypeWithLiterals, type LineItemSummary, type LineItemTaxBreakdown, type LineItemTaxInfo, type Location, type LocationAndQuantity, type MaskedSubscriptionContract, MeasurementUnit, type MeasurementUnitWithLiterals, type MerchantDiscount, type MerchantDiscountMerchantDiscountReasonOneOf, type MessageEnvelope, type ModifierGroup, type ModifierGroupsBeforeChange, type OrderLineItem, type OrderTaxBreakdown, type OrderTaxInfo, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PhysicalProperties, type PhysicalPropertiesBeforeChange, type PickupAddress, type PickupDetails, PickupMethod, type PickupMethodWithLiterals, type PlainTextValue, type PlatformFee, type PlatformFeeSummary, type Price, type PriceDescription, type PriceDescriptionBeforeChange, type PriceSummary, type PriceUndeterminedBeforeChange, type ProductName, type ProductNameBeforeChange, ProductPeriodAlignment, type ProductPeriodAlignmentWithLiterals, type QuerySubscriptionContractsRequest, type QuerySubscriptionContractsResponse, RepriceStatus, type RepriceStatusWithLiterals, type RestockLocation, type RestoreInfo, type RootCatalogItemIdBeforeChange, type ServiceProperties, type ShippingGroupIdBeforeChange, type ShippingInformation, type ShippingPrice, type ShippingRegion, SortOrder, type SortOrderWithLiterals, type Sorting, SpecificItemsCouponBehavior, type SpecificItemsCouponBehaviorWithLiterals, type StreetAddress, type SubscriptionCommitSettings, type SubscriptionContract, type SubscriptionContractActivity, type SubscriptionContractActivityContentOneOf, type SubscriptionContractActivityTargetOneOf, type SubscriptionContractCanceled, type SubscriptionContractChangesCommitted, type SubscriptionContractChargeUpcoming, type SubscriptionContractCommittedEnvelope, type SubscriptionContractCreatedEnvelope, type SubscriptionContractDeletedEnvelope, type SubscriptionContractDiffs, type SubscriptionContractExpired, type SubscriptionContractQuery, type SubscriptionContractQuerySpec, type SubscriptionContractSettings, type SubscriptionContractUpdatedEnvelope, type SubscriptionContractsQueryBuilder, type SubscriptionContractsQueryResult, type SubscriptionDescription, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionInfo, type SubscriptionSettings, SubscriptionSettingsProductPeriodAlignment, type SubscriptionSettingsProductPeriodAlignmentWithLiterals, type SubscriptionTitle, type TaxInfoBeforeChange, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type TotalPriceChange, type TranslatableString, type TranslatedValue, type UpdateSubscriptionContractRequest, type UpdateSubscriptionContractResponse, type V1BillingSettings, type V1CyclePriceOverride, type V1FreeTrialPeriod, type V1SubscriptionDescription, type V1SubscriptionSettings, type V1SubscriptionTitle, V2SubscriptionFrequency, type V2SubscriptionFrequencyWithLiterals, type VatId, VatType, type VatTypeWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, getSubscriptionContract, onSubscriptionContractCommitted, onSubscriptionContractCreated, onSubscriptionContractDeleted, onSubscriptionContractUpdated, querySubscriptionContracts, typedQuerySubscriptionContracts, utils };
|
|
3843
|
+
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, ActionInitiator, type ActionInitiatorWithLiterals, type ActivityAuthor, type ActivityAuthorValueOneOf, ActivityType, type ActivityTypeWithLiterals, type AdditionalFee, type AdditionalFeeDelta, type AdditionalFeeDeltaDeltaDetailsOneOf, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type AdditionalFeeSummary, type Address, type AddressLocation, type AddressWithContact, AdjustmentType, type AdjustmentTypeWithLiterals, type ApplicationError, type AppliedDiscount, type AppliedDiscountDelta, type AppliedDiscountDeltaDeltaDetailsOneOf, type AppliedDiscountDiscountSourceOneOf, type BaseEventMetadata, BaseRateSource, type BaseRateSourceWithLiterals, type BillingAdjustment, type BillingAdjustmentPriceSummary, type BillingSettings, type BulkActionMetadata, type BulkCreateSubscriptionContractsRequest, type BulkCreateSubscriptionContractsResponse, type BulkSubscriptionContractResult, type BulkUpdateSubscriptionContractsRequest, type BulkUpdateSubscriptionContractsResponse, type BuyerInfo, type BuyerInfoIdOneOf, type CatalogReference, type CatalogReferenceOptionsBeforeChange, ChangeType, type ChangeTypeWithLiterals, type ChangesAppliedActivity, type ChangesAppliedActivityTargetOneOf, type ChannelInfo, ChannelType, type ChannelTypeWithLiterals, ChargeType, type ChargeTypeWithLiterals, type Color, type CommitSubscriptionContractChangesRequest, type CommitSubscriptionContractChangesResponse, type CommonQueryWithEntityContext, type ContractChange, type ContractChangeChangeDetailsOneOf, ContractChangeType, type ContractChangeTypeWithLiterals, type ContractTarget, type Coupon, type CouponDiscountValueOneOf, type CreateSubscriptionContractRequest, type CreateSubscriptionContractResponse, type CrossBorderCalculation, CrossBorderNotApplicableReason, type CrossBorderNotApplicableReasonWithLiterals, type CrossBorderPriceAdjustment, CrossBorderRepricingMode, type CrossBorderRepricingModeWithLiterals, type CurrencyConversionDetails, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomField, type CyclePriceOverride, type DecimalQuantity, type DecimalQuantityUnitOneOf, type DeliveryLogistics, type DeliveryLogisticsAddressOneOf, type DeliveryProfileIdBeforeChange, type DeliveryTimeSlot, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type DescriptionLinesBeforeChange, type DigitalFile, type DigitalFileBeforeChange, type Dimensions, DimensionsUnit, type DimensionsUnitWithLiterals, DiscountReason, type DiscountReasonWithLiterals, type DiscountRule, type DiscountRuleDiscountValueOneOf, type DiscountRuleName, type DiscountSummary, DiscountType, type DiscountTypeWithLiterals, DiscountValueType, type DiscountValueTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type FocalPoint, type FreeTrialPeriod, type FulfillerIdBeforeChange, type FullAddressContactDetails, type GetSubscriptionContractApplicationErrors, type GetSubscriptionContractRequest, type GetSubscriptionContractResponse, type IdentificationData, type IdentificationDataIdOneOf, type ImageBeforeChange, type InventoryAppIdBeforeChange, type ItemChangedDetails, type ItemCombination, type ItemCombinationLineItem, type ItemMetadata, type ItemModifier, type ItemTaxFullDetails, type ItemType, type ItemTypeBeforeChange, type ItemTypeItemTypeDataOneOf, ItemTypePreset, type ItemTypePresetWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LineItemChanges, type LineItemCyclePriceOverrides, type LineItemDelta, type LineItemDeltaDeltaDetailsOneOf, type LineItemDiscount, type LineItemQuantityChange, LineItemQuantityChangeType, type LineItemQuantityChangeTypeWithLiterals, type LineItemSummary, type LineItemTaxBreakdown, type LineItemTaxInfo, type Location, type LocationAndQuantity, type MaskedSubscriptionContract, MeasurementUnit, type MeasurementUnitWithLiterals, type MerchantDiscount, type MerchantDiscountMerchantDiscountReasonOneOf, type MessageEnvelope, type ModifierGroup, type ModifierGroupsBeforeChange, type OrderLineItem, type OrderTaxBreakdown, type OrderTaxInfo, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PhysicalProperties, type PhysicalPropertiesBeforeChange, type PickupAddress, type PickupDetails, PickupMethod, type PickupMethodWithLiterals, type PlainTextValue, type PlatformFee, type PlatformFeeSummary, type Price, type PriceDescription, type PriceDescriptionBeforeChange, type PriceSummary, type PriceUndeterminedBeforeChange, type ProductName, type ProductNameBeforeChange, ProductPeriodAlignment, type ProductPeriodAlignmentWithLiterals, type QuerySubscriptionContractsRequest, type QuerySubscriptionContractsResponse, RepriceStatus, type RepriceStatusWithLiterals, type RestockLocation, type RestoreInfo, type RootCatalogItemIdBeforeChange, type ServiceProperties, type ShippingGroupIdBeforeChange, type ShippingInformation, type ShippingPrice, type ShippingRegion, SortOrder, type SortOrderWithLiterals, type Sorting, SpecificItemsCouponBehavior, type SpecificItemsCouponBehaviorWithLiterals, type StreetAddress, type SubscriptionCommitSettings, type SubscriptionContract, type SubscriptionContractActivity, type SubscriptionContractActivityContentOneOf, type SubscriptionContractActivityTargetOneOf, type SubscriptionContractCanceled, type SubscriptionContractChangesCommitted, type SubscriptionContractChargeUpcoming, type SubscriptionContractCommittedEnvelope, type SubscriptionContractCreatedEnvelope, type SubscriptionContractDeletedEnvelope, type SubscriptionContractDiffs, type SubscriptionContractExpired, type SubscriptionContractQuery, type SubscriptionContractQuerySpec, type SubscriptionContractSettings, type SubscriptionContractUpdatedEnvelope, type SubscriptionContractsQueryBuilder, type SubscriptionContractsQueryResult, type SubscriptionDescription, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionInfo, type SubscriptionSettings, SubscriptionSettingsProductPeriodAlignment, type SubscriptionSettingsProductPeriodAlignmentWithLiterals, type SubscriptionTitle, type TaxInfoBeforeChange, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type TotalPriceChange, type TranslatableString, type TranslatedValue, type UpdateSubscriptionContractRequest, type UpdateSubscriptionContractResponse, type V1BillingSettings, type V1CyclePriceOverride, type V1FreeTrialPeriod, type V1SubscriptionDescription, type V1SubscriptionSettings, type V1SubscriptionTitle, V2SubscriptionFrequency, type V2SubscriptionFrequencyWithLiterals, type VatId, VatType, type VatTypeWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, getSubscriptionContract, onSubscriptionContractCommitted, onSubscriptionContractCreated, onSubscriptionContractDeleted, onSubscriptionContractUpdated, querySubscriptionContracts, typedQuerySubscriptionContracts, utils };
|
|
@@ -908,10 +908,7 @@ interface LineItemTaxInfo {
|
|
|
908
908
|
* @maxSize 7
|
|
909
909
|
*/
|
|
910
910
|
taxBreakdown?: LineItemTaxBreakdown[];
|
|
911
|
-
/**
|
|
912
|
-
* Amount of the line item price that was exempt from tax.
|
|
913
|
-
* @internal
|
|
914
|
-
*/
|
|
911
|
+
/** Amount of the line item price that was exempt from tax. */
|
|
915
912
|
exemptAmount?: Price;
|
|
916
913
|
}
|
|
917
914
|
/**
|
|
@@ -949,10 +946,7 @@ interface LineItemTaxBreakdown {
|
|
|
949
946
|
nonTaxableAmount?: Price;
|
|
950
947
|
/** Taxable amount of the line item price. */
|
|
951
948
|
taxableAmount?: Price;
|
|
952
|
-
/**
|
|
953
|
-
* Amount of the line item price that was exempt from this authority.
|
|
954
|
-
* @internal
|
|
955
|
-
*/
|
|
949
|
+
/** Amount of the line item price that was exempt from this authority. */
|
|
956
950
|
exemptAmount?: Price;
|
|
957
951
|
}
|
|
958
952
|
/** JurisdictionType represents the type of the jurisdiction in which this tax detail applies (e.g. Country,State,County,City,Special). */
|
|
@@ -1934,8 +1928,7 @@ interface OrderTaxInfo {
|
|
|
1934
1928
|
*/
|
|
1935
1929
|
taxExempt?: boolean | null;
|
|
1936
1930
|
/**
|
|
1937
|
-
*
|
|
1938
|
-
* @internal
|
|
1931
|
+
* Total amount exempt from tax calculations.
|
|
1939
1932
|
* @readonly
|
|
1940
1933
|
*/
|
|
1941
1934
|
totalExempt?: Price;
|
|
@@ -1981,10 +1974,7 @@ interface OrderTaxBreakdown {
|
|
|
1981
1974
|
* @internal
|
|
1982
1975
|
*/
|
|
1983
1976
|
aggregatedTaxableAmount?: Price;
|
|
1984
|
-
/**
|
|
1985
|
-
* The aggregated exempt amount from all line items for tax identifiers.
|
|
1986
|
-
* @internal
|
|
1987
|
-
*/
|
|
1977
|
+
/** Total amount exempt from this tax, summed across all line items. */
|
|
1988
1978
|
aggregatedExemptAmount?: Price;
|
|
1989
1979
|
}
|
|
1990
1980
|
/** Cross-border repricing outcome of one calculation. Replaced on every recalculation of the order; the order-level marker that never changes is `Order.crossBorderRepricing`. */
|
|
@@ -2044,6 +2034,7 @@ interface AppliedDiscount extends AppliedDiscountDiscountSourceOneOf {
|
|
|
2044
2034
|
merchantDiscount?: MerchantDiscount;
|
|
2045
2035
|
/** Automatic discount applied by the system based on configured discount rules. */
|
|
2046
2036
|
discountRule?: DiscountRule;
|
|
2037
|
+
/** Discount type. */
|
|
2047
2038
|
discountType?: DiscountTypeWithLiterals;
|
|
2048
2039
|
/**
|
|
2049
2040
|
* __Deprecated.__ Use `lineItemDiscounts` instead.
|
|
@@ -2109,16 +2100,76 @@ declare enum DiscountType {
|
|
|
2109
2100
|
/** @enumType */
|
|
2110
2101
|
type DiscountTypeWithLiterals = DiscountType | 'GLOBAL' | 'SPECIFIC_ITEMS' | 'SHIPPING';
|
|
2111
2102
|
/** Coupon */
|
|
2112
|
-
interface Coupon {
|
|
2103
|
+
interface Coupon extends CouponDiscountValueOneOf {
|
|
2104
|
+
/**
|
|
2105
|
+
* Percentage the coupon took off the price. For example, `10.5` for 10.5%.
|
|
2106
|
+
*
|
|
2107
|
+
* For a `SPECIFIC_ITEMS` discount, the percentage applies to the price of the discounted units. For a `GLOBAL`
|
|
2108
|
+
* discount, it applies to the order subtotal. Either way, it's the price after any discounts applied earlier.
|
|
2109
|
+
* @internal
|
|
2110
|
+
* @format DECIMAL_VALUE
|
|
2111
|
+
* @decimalValue options { gt:0, lte:100, maxScale:2 }
|
|
2112
|
+
*/
|
|
2113
|
+
percentage?: string;
|
|
2113
2114
|
/** Coupon ID. */
|
|
2114
2115
|
id?: string;
|
|
2115
2116
|
/** Coupon code. */
|
|
2116
2117
|
code?: string;
|
|
2117
2118
|
/** Coupon name. */
|
|
2118
2119
|
name?: string;
|
|
2119
|
-
/**
|
|
2120
|
+
/** Total amount the coupon took off. */
|
|
2120
2121
|
amount?: Price;
|
|
2122
|
+
/**
|
|
2123
|
+
* How the coupon's discount is expressed. `percentage` holds the rate of a percentage coupon, and `amount` holds
|
|
2124
|
+
* the total amount the coupon took off, whatever the type.
|
|
2125
|
+
*
|
|
2126
|
+
* Not returned for a free-shipping coupon.
|
|
2127
|
+
* @internal
|
|
2128
|
+
*/
|
|
2129
|
+
discountValueType?: DiscountValueTypeWithLiterals;
|
|
2130
|
+
}
|
|
2131
|
+
/** @oneof */
|
|
2132
|
+
interface CouponDiscountValueOneOf {
|
|
2133
|
+
/**
|
|
2134
|
+
* Percentage the coupon took off the price. For example, `10.5` for 10.5%.
|
|
2135
|
+
*
|
|
2136
|
+
* For a `SPECIFIC_ITEMS` discount, the percentage applies to the price of the discounted units. For a `GLOBAL`
|
|
2137
|
+
* discount, it applies to the order subtotal. Either way, it's the price after any discounts applied earlier.
|
|
2138
|
+
* @internal
|
|
2139
|
+
* @format DECIMAL_VALUE
|
|
2140
|
+
* @decimalValue options { gt:0, lte:100, maxScale:2 }
|
|
2141
|
+
*/
|
|
2142
|
+
percentage?: string;
|
|
2143
|
+
}
|
|
2144
|
+
/** How a coupon's or discount rule's discount value is expressed. */
|
|
2145
|
+
declare enum DiscountValueType {
|
|
2146
|
+
/**
|
|
2147
|
+
* The discount takes a percentage off the price it applies to.
|
|
2148
|
+
* @documentationMaturity preview
|
|
2149
|
+
* @internal
|
|
2150
|
+
*/
|
|
2151
|
+
PERCENTAGE = "PERCENTAGE",
|
|
2152
|
+
/**
|
|
2153
|
+
* The discount takes a fixed amount off the price it applies to.
|
|
2154
|
+
* @documentationMaturity preview
|
|
2155
|
+
* @internal
|
|
2156
|
+
*/
|
|
2157
|
+
FIXED_AMOUNT = "FIXED_AMOUNT",
|
|
2158
|
+
/**
|
|
2159
|
+
* The discount sets the price it applies to a fixed amount.
|
|
2160
|
+
* @documentationMaturity preview
|
|
2161
|
+
* @internal
|
|
2162
|
+
*/
|
|
2163
|
+
FIXED_PRICE = "FIXED_PRICE",
|
|
2164
|
+
/**
|
|
2165
|
+
* The discount depends on the number of units bought. For example, 3 for $10, or buy 2 get 1 free.
|
|
2166
|
+
* @documentationMaturity preview
|
|
2167
|
+
* @internal
|
|
2168
|
+
*/
|
|
2169
|
+
QUANTITY_BASED = "QUANTITY_BASED"
|
|
2121
2170
|
}
|
|
2171
|
+
/** @enumType */
|
|
2172
|
+
type DiscountValueTypeWithLiterals = DiscountValueType;
|
|
2122
2173
|
/** Discount applied manually by the merchant through the dashboard. */
|
|
2123
2174
|
interface MerchantDiscount extends MerchantDiscountMerchantDiscountReasonOneOf {
|
|
2124
2175
|
/** Predefined discount reason. */
|
|
@@ -2165,7 +2216,17 @@ declare enum DiscountReason {
|
|
|
2165
2216
|
}
|
|
2166
2217
|
/** @enumType */
|
|
2167
2218
|
type DiscountReasonWithLiterals = DiscountReason | 'UNSPECIFIED' | 'EXCHANGED_ITEMS' | 'BILLING_ADJUSTMENT';
|
|
2168
|
-
interface DiscountRule {
|
|
2219
|
+
interface DiscountRule extends DiscountRuleDiscountValueOneOf {
|
|
2220
|
+
/**
|
|
2221
|
+
* Percentage the discount rule took off the price. For example, `10.5` for 10.5%.
|
|
2222
|
+
*
|
|
2223
|
+
* For a `SPECIFIC_ITEMS` discount, the percentage applies to the price of the discounted units. For a `GLOBAL`
|
|
2224
|
+
* discount, it applies to the order subtotal. Either way, it's the price after any discounts applied earlier.
|
|
2225
|
+
* @internal
|
|
2226
|
+
* @format DECIMAL_VALUE
|
|
2227
|
+
* @decimalValue options { gt:0, lte:100, maxScale:2 }
|
|
2228
|
+
*/
|
|
2229
|
+
percentage?: string;
|
|
2169
2230
|
/**
|
|
2170
2231
|
* Discount rule ID
|
|
2171
2232
|
* @format GUID
|
|
@@ -2173,8 +2234,29 @@ interface DiscountRule {
|
|
|
2173
2234
|
id?: string;
|
|
2174
2235
|
/** Discount rule name */
|
|
2175
2236
|
name?: DiscountRuleName;
|
|
2176
|
-
/**
|
|
2237
|
+
/** Total amount the discount rule took off. */
|
|
2177
2238
|
amount?: Price;
|
|
2239
|
+
/**
|
|
2240
|
+
* How the discount rule's discount is expressed. `percentage` holds the rate of a percentage discount rule, and
|
|
2241
|
+
* `amount` holds the total amount the discount rule took off, whatever the type.
|
|
2242
|
+
*
|
|
2243
|
+
* Not returned for a free-shipping discount rule.
|
|
2244
|
+
* @internal
|
|
2245
|
+
*/
|
|
2246
|
+
discountValueType?: DiscountValueTypeWithLiterals;
|
|
2247
|
+
}
|
|
2248
|
+
/** @oneof */
|
|
2249
|
+
interface DiscountRuleDiscountValueOneOf {
|
|
2250
|
+
/**
|
|
2251
|
+
* Percentage the discount rule took off the price. For example, `10.5` for 10.5%.
|
|
2252
|
+
*
|
|
2253
|
+
* For a `SPECIFIC_ITEMS` discount, the percentage applies to the price of the discounted units. For a `GLOBAL`
|
|
2254
|
+
* discount, it applies to the order subtotal. Either way, it's the price after any discounts applied earlier.
|
|
2255
|
+
* @internal
|
|
2256
|
+
* @format DECIMAL_VALUE
|
|
2257
|
+
* @decimalValue options { gt:0, lte:100, maxScale:2 }
|
|
2258
|
+
*/
|
|
2259
|
+
percentage?: string;
|
|
2178
2260
|
}
|
|
2179
2261
|
interface DiscountRuleName {
|
|
2180
2262
|
/**
|
|
@@ -2198,6 +2280,15 @@ interface LineItemDiscount {
|
|
|
2198
2280
|
id?: string;
|
|
2199
2281
|
/** Total discount amount for this line item. */
|
|
2200
2282
|
totalDiscount?: Price;
|
|
2283
|
+
/**
|
|
2284
|
+
* Number of the line item's units the discount was applied to.
|
|
2285
|
+
*
|
|
2286
|
+
* Returned only for a `SPECIFIC_ITEMS` discount.
|
|
2287
|
+
* @internal
|
|
2288
|
+
* @min 1
|
|
2289
|
+
* @max 100000
|
|
2290
|
+
*/
|
|
2291
|
+
discountedQuantity?: number | null;
|
|
2201
2292
|
}
|
|
2202
2293
|
interface ItemCombination {
|
|
2203
2294
|
/**
|
|
@@ -3550,4 +3641,4 @@ declare function getSubscriptionContract(): __PublicMethodMetaInfo<'GET', {
|
|
|
3550
3641
|
}, GetSubscriptionContractRequest$1, GetSubscriptionContractRequest, GetSubscriptionContractResponse$1, GetSubscriptionContractResponse>;
|
|
3551
3642
|
declare function querySubscriptionContracts(): __PublicMethodMetaInfo<'GET', {}, QuerySubscriptionContractsRequest$1, QuerySubscriptionContractsRequest, QuerySubscriptionContractsResponse$1, QuerySubscriptionContractsResponse>;
|
|
3552
3643
|
|
|
3553
|
-
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, ActionInitiator as ActionInitiatorOriginal, type ActionInitiatorWithLiterals as ActionInitiatorWithLiteralsOriginal, type ActivityAuthor as ActivityAuthorOriginal, type ActivityAuthorValueOneOf as ActivityAuthorValueOneOfOriginal, ActivityType as ActivityTypeOriginal, type ActivityTypeWithLiterals as ActivityTypeWithLiteralsOriginal, type AdditionalFeeDeltaDeltaDetailsOneOf as AdditionalFeeDeltaDeltaDetailsOneOfOriginal, type AdditionalFeeDelta as AdditionalFeeDeltaOriginal, type AdditionalFee as AdditionalFeeOriginal, AdditionalFeeSource as AdditionalFeeSourceOriginal, type AdditionalFeeSourceWithLiterals as AdditionalFeeSourceWithLiteralsOriginal, type AdditionalFeeSummary as AdditionalFeeSummaryOriginal, type AddressLocation as AddressLocationOriginal, type Address as AddressOriginal, type AddressWithContact as AddressWithContactOriginal, AdjustmentType as AdjustmentTypeOriginal, type AdjustmentTypeWithLiterals as AdjustmentTypeWithLiteralsOriginal, type ApplicationError as ApplicationErrorOriginal, type AppliedDiscountDeltaDeltaDetailsOneOf as AppliedDiscountDeltaDeltaDetailsOneOfOriginal, type AppliedDiscountDelta as AppliedDiscountDeltaOriginal, type AppliedDiscountDiscountSourceOneOf as AppliedDiscountDiscountSourceOneOfOriginal, type AppliedDiscount as AppliedDiscountOriginal, BaseRateSource as BaseRateSourceOriginal, type BaseRateSourceWithLiterals as BaseRateSourceWithLiteralsOriginal, type BillingAdjustment as BillingAdjustmentOriginal, type BillingAdjustmentPriceSummary as BillingAdjustmentPriceSummaryOriginal, type BillingSettings as BillingSettingsOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkCreateSubscriptionContractsRequest as BulkCreateSubscriptionContractsRequestOriginal, type BulkCreateSubscriptionContractsResponse as BulkCreateSubscriptionContractsResponseOriginal, type BulkSubscriptionContractResult as BulkSubscriptionContractResultOriginal, type BulkUpdateSubscriptionContractsRequest as BulkUpdateSubscriptionContractsRequestOriginal, type BulkUpdateSubscriptionContractsResponse as BulkUpdateSubscriptionContractsResponseOriginal, type BuyerInfoIdOneOf as BuyerInfoIdOneOfOriginal, type BuyerInfo as BuyerInfoOriginal, type CatalogReferenceOptionsBeforeChange as CatalogReferenceOptionsBeforeChangeOriginal, type CatalogReference as CatalogReferenceOriginal, ChangeType as ChangeTypeOriginal, type ChangeTypeWithLiterals as ChangeTypeWithLiteralsOriginal, type ChangesAppliedActivity as ChangesAppliedActivityOriginal, type ChangesAppliedActivityTargetOneOf as ChangesAppliedActivityTargetOneOfOriginal, type ChannelInfo as ChannelInfoOriginal, ChannelType as ChannelTypeOriginal, type ChannelTypeWithLiterals as ChannelTypeWithLiteralsOriginal, ChargeType as ChargeTypeOriginal, type ChargeTypeWithLiterals as ChargeTypeWithLiteralsOriginal, type Color as ColorOriginal, type CommitSubscriptionContractChangesRequest as CommitSubscriptionContractChangesRequestOriginal, type CommitSubscriptionContractChangesResponse as CommitSubscriptionContractChangesResponseOriginal, type CommonImage as CommonImageOriginal, type ContractChangeChangeDetailsOneOf as ContractChangeChangeDetailsOneOfOriginal, type ContractChange as ContractChangeOriginal, ContractChangeType as ContractChangeTypeOriginal, type ContractChangeTypeWithLiterals as ContractChangeTypeWithLiteralsOriginal, type ContractTarget as ContractTargetOriginal, type Coupon as CouponOriginal, type CreateSubscriptionContractRequest as CreateSubscriptionContractRequestOriginal, type CreateSubscriptionContractResponse as CreateSubscriptionContractResponseOriginal, type CrossBorderCalculation as CrossBorderCalculationOriginal, CrossBorderNotApplicableReason as CrossBorderNotApplicableReasonOriginal, type CrossBorderNotApplicableReasonWithLiterals as CrossBorderNotApplicableReasonWithLiteralsOriginal, type CrossBorderPriceAdjustment as CrossBorderPriceAdjustmentOriginal, CrossBorderRepricingMode as CrossBorderRepricingModeOriginal, type CrossBorderRepricingModeWithLiterals as CrossBorderRepricingModeWithLiteralsOriginal, type CurrencyConversionDetails as CurrencyConversionDetailsOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type CustomField as CustomFieldOriginal, type CyclePriceOverride as CyclePriceOverrideOriginal, type DecimalQuantity as DecimalQuantityOriginal, type DecimalQuantityUnitOneOf as DecimalQuantityUnitOneOfOriginal, type DeliveryLogisticsAddressOneOf as DeliveryLogisticsAddressOneOfOriginal, type DeliveryLogistics as DeliveryLogisticsOriginal, type DeliveryProfileIdBeforeChange as DeliveryProfileIdBeforeChangeOriginal, type DeliveryTimeSlot as DeliveryTimeSlotOriginal, type DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOfOriginal, type DescriptionLineName as DescriptionLineNameOriginal, type DescriptionLine as DescriptionLineOriginal, DescriptionLineType as DescriptionLineTypeOriginal, type DescriptionLineTypeWithLiterals as DescriptionLineTypeWithLiteralsOriginal, type DescriptionLineValueOneOf as DescriptionLineValueOneOfOriginal, type DescriptionLinesBeforeChange as DescriptionLinesBeforeChangeOriginal, type DigitalFileBeforeChange as DigitalFileBeforeChangeOriginal, type DigitalFile as DigitalFileOriginal, type Dimensions as DimensionsOriginal, DimensionsUnit as DimensionsUnitOriginal, type DimensionsUnitWithLiterals as DimensionsUnitWithLiteralsOriginal, DiscountReason as DiscountReasonOriginal, type DiscountReasonWithLiterals as DiscountReasonWithLiteralsOriginal, type DiscountRuleName as DiscountRuleNameOriginal, type DiscountRule as DiscountRuleOriginal, type DiscountSummary as DiscountSummaryOriginal, DiscountType as DiscountTypeOriginal, type DiscountTypeWithLiterals as DiscountTypeWithLiteralsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExtendedFields as ExtendedFieldsOriginal, type FocalPoint as FocalPointOriginal, type FreeTrialPeriod as FreeTrialPeriodOriginal, type FulfillerIdBeforeChange as FulfillerIdBeforeChangeOriginal, type FullAddressContactDetails as FullAddressContactDetailsOriginal, type GetSubscriptionContractApplicationErrors as GetSubscriptionContractApplicationErrorsOriginal, type GetSubscriptionContractRequest as GetSubscriptionContractRequestOriginal, type GetSubscriptionContractResponse as GetSubscriptionContractResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type ImageBeforeChange as ImageBeforeChangeOriginal, type Image as ImageOriginal, type InventoryAppIdBeforeChange as InventoryAppIdBeforeChangeOriginal, type ItemChangedDetails as ItemChangedDetailsOriginal, type ItemCombinationLineItem as ItemCombinationLineItemOriginal, type ItemCombination as ItemCombinationOriginal, type ItemMetadata as ItemMetadataOriginal, type ItemModifier as ItemModifierOriginal, type ItemTaxFullDetails as ItemTaxFullDetailsOriginal, type ItemTypeBeforeChange as ItemTypeBeforeChangeOriginal, type ItemTypeItemTypeDataOneOf as ItemTypeItemTypeDataOneOfOriginal, type ItemType as ItemTypeOriginal, ItemTypePreset as ItemTypePresetOriginal, type ItemTypePresetWithLiterals as ItemTypePresetWithLiteralsOriginal, JurisdictionType as JurisdictionTypeOriginal, type JurisdictionTypeWithLiterals as JurisdictionTypeWithLiteralsOriginal, type LineItemChanges as LineItemChangesOriginal, type LineItemCyclePriceOverrides as LineItemCyclePriceOverridesOriginal, type LineItemDeltaDeltaDetailsOneOf as LineItemDeltaDeltaDetailsOneOfOriginal, type LineItemDelta as LineItemDeltaOriginal, type LineItemDiscount as LineItemDiscountOriginal, type LineItemQuantityChange as LineItemQuantityChangeOriginal, LineItemQuantityChangeType as LineItemQuantityChangeTypeOriginal, type LineItemQuantityChangeTypeWithLiterals as LineItemQuantityChangeTypeWithLiteralsOriginal, type LineItemSummary as LineItemSummaryOriginal, type LineItemTaxBreakdown as LineItemTaxBreakdownOriginal, type LineItemTaxInfo as LineItemTaxInfoOriginal, type LocationAndQuantity as LocationAndQuantityOriginal, type Location as LocationOriginal, type MaskedSubscriptionContract as MaskedSubscriptionContractOriginal, MeasurementUnit as MeasurementUnitOriginal, type MeasurementUnitWithLiterals as MeasurementUnitWithLiteralsOriginal, type MerchantDiscountMerchantDiscountReasonOneOf as MerchantDiscountMerchantDiscountReasonOneOfOriginal, type MerchantDiscount as MerchantDiscountOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type ModifierGroup as ModifierGroupOriginal, type ModifierGroupsBeforeChange as ModifierGroupsBeforeChangeOriginal, type OrderLineItem as OrderLineItemOriginal, type OrderTaxBreakdown as OrderTaxBreakdownOriginal, type OrderTaxInfo as OrderTaxInfoOriginal, PaymentOptionType as PaymentOptionTypeOriginal, type PaymentOptionTypeWithLiterals as PaymentOptionTypeWithLiteralsOriginal, type PhysicalPropertiesBeforeChange as PhysicalPropertiesBeforeChangeOriginal, type PhysicalProperties as PhysicalPropertiesOriginal, type PickupAddress as PickupAddressOriginal, type PickupDetails as PickupDetailsOriginal, PickupMethod as PickupMethodOriginal, type PickupMethodWithLiterals as PickupMethodWithLiteralsOriginal, type PlainTextValue as PlainTextValueOriginal, type PlatformFee as PlatformFeeOriginal, type PlatformFeeSummary as PlatformFeeSummaryOriginal, type PriceDescriptionBeforeChange as PriceDescriptionBeforeChangeOriginal, type PriceDescription as PriceDescriptionOriginal, type Price as PriceOriginal, type PriceSummary as PriceSummaryOriginal, type PriceUndeterminedBeforeChange as PriceUndeterminedBeforeChangeOriginal, type ProductNameBeforeChange as ProductNameBeforeChangeOriginal, type ProductName as ProductNameOriginal, ProductPeriodAlignment as ProductPeriodAlignmentOriginal, type ProductPeriodAlignmentWithLiterals as ProductPeriodAlignmentWithLiteralsOriginal, type QuerySubscriptionContractsRequest as QuerySubscriptionContractsRequestOriginal, type QuerySubscriptionContractsResponse as QuerySubscriptionContractsResponseOriginal, RepriceStatus as RepriceStatusOriginal, type RepriceStatusWithLiterals as RepriceStatusWithLiteralsOriginal, type RestockLocation as RestockLocationOriginal, type RestoreInfo as RestoreInfoOriginal, type RootCatalogItemIdBeforeChange as RootCatalogItemIdBeforeChangeOriginal, type ServiceProperties as ServicePropertiesOriginal, type ShippingGroupIdBeforeChange as ShippingGroupIdBeforeChangeOriginal, type ShippingInformation as ShippingInformationOriginal, type ShippingPrice as ShippingPriceOriginal, type ShippingRegion as ShippingRegionOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, SpecificItemsCouponBehavior as SpecificItemsCouponBehaviorOriginal, type SpecificItemsCouponBehaviorWithLiterals as SpecificItemsCouponBehaviorWithLiteralsOriginal, type StreetAddress as StreetAddressOriginal, type SubscriptionCommitSettings as SubscriptionCommitSettingsOriginal, type SubscriptionContractActivityContentOneOf as SubscriptionContractActivityContentOneOfOriginal, type SubscriptionContractActivity as SubscriptionContractActivityOriginal, type SubscriptionContractActivityTargetOneOf as SubscriptionContractActivityTargetOneOfOriginal, type SubscriptionContractCanceled as SubscriptionContractCanceledOriginal, type SubscriptionContractChangesCommitted as SubscriptionContractChangesCommittedOriginal, type SubscriptionContractChargeUpcoming as SubscriptionContractChargeUpcomingOriginal, type SubscriptionContractDiffs as SubscriptionContractDiffsOriginal, type SubscriptionContractExpired as SubscriptionContractExpiredOriginal, type SubscriptionContract as SubscriptionContractOriginal, type SubscriptionContractSettings as SubscriptionContractSettingsOriginal, type SubscriptionDescription as SubscriptionDescriptionOriginal, SubscriptionFrequency as SubscriptionFrequencyOriginal, type SubscriptionFrequencyWithLiterals as SubscriptionFrequencyWithLiteralsOriginal, type SubscriptionInfo as SubscriptionInfoOriginal, type SubscriptionSettings as SubscriptionSettingsOriginal, SubscriptionSettingsProductPeriodAlignment as SubscriptionSettingsProductPeriodAlignmentOriginal, type SubscriptionSettingsProductPeriodAlignmentWithLiterals as SubscriptionSettingsProductPeriodAlignmentWithLiteralsOriginal, type SubscriptionTitle as SubscriptionTitleOriginal, type TaxInfoBeforeChange as TaxInfoBeforeChangeOriginal, type TaxableAddress as TaxableAddressOriginal, type TaxableAddressTaxableAddressDataOneOf as TaxableAddressTaxableAddressDataOneOfOriginal, TaxableAddressType as TaxableAddressTypeOriginal, type TaxableAddressTypeWithLiterals as TaxableAddressTypeWithLiteralsOriginal, type TotalPriceChange as TotalPriceChangeOriginal, type TranslatableString as TranslatableStringOriginal, type TranslatedValue as TranslatedValueOriginal, type UpdateSubscriptionContractRequest as UpdateSubscriptionContractRequestOriginal, type UpdateSubscriptionContractResponse as UpdateSubscriptionContractResponseOriginal, type V1BillingSettings as V1BillingSettingsOriginal, type V1CyclePriceOverride as V1CyclePriceOverrideOriginal, type V1FreeTrialPeriod as V1FreeTrialPeriodOriginal, type V1SubscriptionDescription as V1SubscriptionDescriptionOriginal, type V1SubscriptionSettings as V1SubscriptionSettingsOriginal, type V1SubscriptionTitle as V1SubscriptionTitleOriginal, V2SubscriptionFrequency as V2SubscriptionFrequencyOriginal, type V2SubscriptionFrequencyWithLiterals as V2SubscriptionFrequencyWithLiteralsOriginal, type VatId as VatIdOriginal, VatType as VatTypeOriginal, type VatTypeWithLiterals as VatTypeWithLiteralsOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, WeightUnit as WeightUnitOriginal, type WeightUnitWithLiterals as WeightUnitWithLiteralsOriginal, type __PublicMethodMetaInfo, getSubscriptionContract, querySubscriptionContracts };
|
|
3644
|
+
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, ActionInitiator as ActionInitiatorOriginal, type ActionInitiatorWithLiterals as ActionInitiatorWithLiteralsOriginal, type ActivityAuthor as ActivityAuthorOriginal, type ActivityAuthorValueOneOf as ActivityAuthorValueOneOfOriginal, ActivityType as ActivityTypeOriginal, type ActivityTypeWithLiterals as ActivityTypeWithLiteralsOriginal, type AdditionalFeeDeltaDeltaDetailsOneOf as AdditionalFeeDeltaDeltaDetailsOneOfOriginal, type AdditionalFeeDelta as AdditionalFeeDeltaOriginal, type AdditionalFee as AdditionalFeeOriginal, AdditionalFeeSource as AdditionalFeeSourceOriginal, type AdditionalFeeSourceWithLiterals as AdditionalFeeSourceWithLiteralsOriginal, type AdditionalFeeSummary as AdditionalFeeSummaryOriginal, type AddressLocation as AddressLocationOriginal, type Address as AddressOriginal, type AddressWithContact as AddressWithContactOriginal, AdjustmentType as AdjustmentTypeOriginal, type AdjustmentTypeWithLiterals as AdjustmentTypeWithLiteralsOriginal, type ApplicationError as ApplicationErrorOriginal, type AppliedDiscountDeltaDeltaDetailsOneOf as AppliedDiscountDeltaDeltaDetailsOneOfOriginal, type AppliedDiscountDelta as AppliedDiscountDeltaOriginal, type AppliedDiscountDiscountSourceOneOf as AppliedDiscountDiscountSourceOneOfOriginal, type AppliedDiscount as AppliedDiscountOriginal, BaseRateSource as BaseRateSourceOriginal, type BaseRateSourceWithLiterals as BaseRateSourceWithLiteralsOriginal, type BillingAdjustment as BillingAdjustmentOriginal, type BillingAdjustmentPriceSummary as BillingAdjustmentPriceSummaryOriginal, type BillingSettings as BillingSettingsOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkCreateSubscriptionContractsRequest as BulkCreateSubscriptionContractsRequestOriginal, type BulkCreateSubscriptionContractsResponse as BulkCreateSubscriptionContractsResponseOriginal, type BulkSubscriptionContractResult as BulkSubscriptionContractResultOriginal, type BulkUpdateSubscriptionContractsRequest as BulkUpdateSubscriptionContractsRequestOriginal, type BulkUpdateSubscriptionContractsResponse as BulkUpdateSubscriptionContractsResponseOriginal, type BuyerInfoIdOneOf as BuyerInfoIdOneOfOriginal, type BuyerInfo as BuyerInfoOriginal, type CatalogReferenceOptionsBeforeChange as CatalogReferenceOptionsBeforeChangeOriginal, type CatalogReference as CatalogReferenceOriginal, ChangeType as ChangeTypeOriginal, type ChangeTypeWithLiterals as ChangeTypeWithLiteralsOriginal, type ChangesAppliedActivity as ChangesAppliedActivityOriginal, type ChangesAppliedActivityTargetOneOf as ChangesAppliedActivityTargetOneOfOriginal, type ChannelInfo as ChannelInfoOriginal, ChannelType as ChannelTypeOriginal, type ChannelTypeWithLiterals as ChannelTypeWithLiteralsOriginal, ChargeType as ChargeTypeOriginal, type ChargeTypeWithLiterals as ChargeTypeWithLiteralsOriginal, type Color as ColorOriginal, type CommitSubscriptionContractChangesRequest as CommitSubscriptionContractChangesRequestOriginal, type CommitSubscriptionContractChangesResponse as CommitSubscriptionContractChangesResponseOriginal, type CommonImage as CommonImageOriginal, type ContractChangeChangeDetailsOneOf as ContractChangeChangeDetailsOneOfOriginal, type ContractChange as ContractChangeOriginal, ContractChangeType as ContractChangeTypeOriginal, type ContractChangeTypeWithLiterals as ContractChangeTypeWithLiteralsOriginal, type ContractTarget as ContractTargetOriginal, type CouponDiscountValueOneOf as CouponDiscountValueOneOfOriginal, type Coupon as CouponOriginal, type CreateSubscriptionContractRequest as CreateSubscriptionContractRequestOriginal, type CreateSubscriptionContractResponse as CreateSubscriptionContractResponseOriginal, type CrossBorderCalculation as CrossBorderCalculationOriginal, CrossBorderNotApplicableReason as CrossBorderNotApplicableReasonOriginal, type CrossBorderNotApplicableReasonWithLiterals as CrossBorderNotApplicableReasonWithLiteralsOriginal, type CrossBorderPriceAdjustment as CrossBorderPriceAdjustmentOriginal, CrossBorderRepricingMode as CrossBorderRepricingModeOriginal, type CrossBorderRepricingModeWithLiterals as CrossBorderRepricingModeWithLiteralsOriginal, type CurrencyConversionDetails as CurrencyConversionDetailsOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type CustomField as CustomFieldOriginal, type CyclePriceOverride as CyclePriceOverrideOriginal, type DecimalQuantity as DecimalQuantityOriginal, type DecimalQuantityUnitOneOf as DecimalQuantityUnitOneOfOriginal, type DeliveryLogisticsAddressOneOf as DeliveryLogisticsAddressOneOfOriginal, type DeliveryLogistics as DeliveryLogisticsOriginal, type DeliveryProfileIdBeforeChange as DeliveryProfileIdBeforeChangeOriginal, type DeliveryTimeSlot as DeliveryTimeSlotOriginal, type DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOfOriginal, type DescriptionLineName as DescriptionLineNameOriginal, type DescriptionLine as DescriptionLineOriginal, DescriptionLineType as DescriptionLineTypeOriginal, type DescriptionLineTypeWithLiterals as DescriptionLineTypeWithLiteralsOriginal, type DescriptionLineValueOneOf as DescriptionLineValueOneOfOriginal, type DescriptionLinesBeforeChange as DescriptionLinesBeforeChangeOriginal, type DigitalFileBeforeChange as DigitalFileBeforeChangeOriginal, type DigitalFile as DigitalFileOriginal, type Dimensions as DimensionsOriginal, DimensionsUnit as DimensionsUnitOriginal, type DimensionsUnitWithLiterals as DimensionsUnitWithLiteralsOriginal, DiscountReason as DiscountReasonOriginal, type DiscountReasonWithLiterals as DiscountReasonWithLiteralsOriginal, type DiscountRuleDiscountValueOneOf as DiscountRuleDiscountValueOneOfOriginal, type DiscountRuleName as DiscountRuleNameOriginal, type DiscountRule as DiscountRuleOriginal, type DiscountSummary as DiscountSummaryOriginal, DiscountType as DiscountTypeOriginal, type DiscountTypeWithLiterals as DiscountTypeWithLiteralsOriginal, DiscountValueType as DiscountValueTypeOriginal, type DiscountValueTypeWithLiterals as DiscountValueTypeWithLiteralsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExtendedFields as ExtendedFieldsOriginal, type FocalPoint as FocalPointOriginal, type FreeTrialPeriod as FreeTrialPeriodOriginal, type FulfillerIdBeforeChange as FulfillerIdBeforeChangeOriginal, type FullAddressContactDetails as FullAddressContactDetailsOriginal, type GetSubscriptionContractApplicationErrors as GetSubscriptionContractApplicationErrorsOriginal, type GetSubscriptionContractRequest as GetSubscriptionContractRequestOriginal, type GetSubscriptionContractResponse as GetSubscriptionContractResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type ImageBeforeChange as ImageBeforeChangeOriginal, type Image as ImageOriginal, type InventoryAppIdBeforeChange as InventoryAppIdBeforeChangeOriginal, type ItemChangedDetails as ItemChangedDetailsOriginal, type ItemCombinationLineItem as ItemCombinationLineItemOriginal, type ItemCombination as ItemCombinationOriginal, type ItemMetadata as ItemMetadataOriginal, type ItemModifier as ItemModifierOriginal, type ItemTaxFullDetails as ItemTaxFullDetailsOriginal, type ItemTypeBeforeChange as ItemTypeBeforeChangeOriginal, type ItemTypeItemTypeDataOneOf as ItemTypeItemTypeDataOneOfOriginal, type ItemType as ItemTypeOriginal, ItemTypePreset as ItemTypePresetOriginal, type ItemTypePresetWithLiterals as ItemTypePresetWithLiteralsOriginal, JurisdictionType as JurisdictionTypeOriginal, type JurisdictionTypeWithLiterals as JurisdictionTypeWithLiteralsOriginal, type LineItemChanges as LineItemChangesOriginal, type LineItemCyclePriceOverrides as LineItemCyclePriceOverridesOriginal, type LineItemDeltaDeltaDetailsOneOf as LineItemDeltaDeltaDetailsOneOfOriginal, type LineItemDelta as LineItemDeltaOriginal, type LineItemDiscount as LineItemDiscountOriginal, type LineItemQuantityChange as LineItemQuantityChangeOriginal, LineItemQuantityChangeType as LineItemQuantityChangeTypeOriginal, type LineItemQuantityChangeTypeWithLiterals as LineItemQuantityChangeTypeWithLiteralsOriginal, type LineItemSummary as LineItemSummaryOriginal, type LineItemTaxBreakdown as LineItemTaxBreakdownOriginal, type LineItemTaxInfo as LineItemTaxInfoOriginal, type LocationAndQuantity as LocationAndQuantityOriginal, type Location as LocationOriginal, type MaskedSubscriptionContract as MaskedSubscriptionContractOriginal, MeasurementUnit as MeasurementUnitOriginal, type MeasurementUnitWithLiterals as MeasurementUnitWithLiteralsOriginal, type MerchantDiscountMerchantDiscountReasonOneOf as MerchantDiscountMerchantDiscountReasonOneOfOriginal, type MerchantDiscount as MerchantDiscountOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type ModifierGroup as ModifierGroupOriginal, type ModifierGroupsBeforeChange as ModifierGroupsBeforeChangeOriginal, type OrderLineItem as OrderLineItemOriginal, type OrderTaxBreakdown as OrderTaxBreakdownOriginal, type OrderTaxInfo as OrderTaxInfoOriginal, PaymentOptionType as PaymentOptionTypeOriginal, type PaymentOptionTypeWithLiterals as PaymentOptionTypeWithLiteralsOriginal, type PhysicalPropertiesBeforeChange as PhysicalPropertiesBeforeChangeOriginal, type PhysicalProperties as PhysicalPropertiesOriginal, type PickupAddress as PickupAddressOriginal, type PickupDetails as PickupDetailsOriginal, PickupMethod as PickupMethodOriginal, type PickupMethodWithLiterals as PickupMethodWithLiteralsOriginal, type PlainTextValue as PlainTextValueOriginal, type PlatformFee as PlatformFeeOriginal, type PlatformFeeSummary as PlatformFeeSummaryOriginal, type PriceDescriptionBeforeChange as PriceDescriptionBeforeChangeOriginal, type PriceDescription as PriceDescriptionOriginal, type Price as PriceOriginal, type PriceSummary as PriceSummaryOriginal, type PriceUndeterminedBeforeChange as PriceUndeterminedBeforeChangeOriginal, type ProductNameBeforeChange as ProductNameBeforeChangeOriginal, type ProductName as ProductNameOriginal, ProductPeriodAlignment as ProductPeriodAlignmentOriginal, type ProductPeriodAlignmentWithLiterals as ProductPeriodAlignmentWithLiteralsOriginal, type QuerySubscriptionContractsRequest as QuerySubscriptionContractsRequestOriginal, type QuerySubscriptionContractsResponse as QuerySubscriptionContractsResponseOriginal, RepriceStatus as RepriceStatusOriginal, type RepriceStatusWithLiterals as RepriceStatusWithLiteralsOriginal, type RestockLocation as RestockLocationOriginal, type RestoreInfo as RestoreInfoOriginal, type RootCatalogItemIdBeforeChange as RootCatalogItemIdBeforeChangeOriginal, type ServiceProperties as ServicePropertiesOriginal, type ShippingGroupIdBeforeChange as ShippingGroupIdBeforeChangeOriginal, type ShippingInformation as ShippingInformationOriginal, type ShippingPrice as ShippingPriceOriginal, type ShippingRegion as ShippingRegionOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, SpecificItemsCouponBehavior as SpecificItemsCouponBehaviorOriginal, type SpecificItemsCouponBehaviorWithLiterals as SpecificItemsCouponBehaviorWithLiteralsOriginal, type StreetAddress as StreetAddressOriginal, type SubscriptionCommitSettings as SubscriptionCommitSettingsOriginal, type SubscriptionContractActivityContentOneOf as SubscriptionContractActivityContentOneOfOriginal, type SubscriptionContractActivity as SubscriptionContractActivityOriginal, type SubscriptionContractActivityTargetOneOf as SubscriptionContractActivityTargetOneOfOriginal, type SubscriptionContractCanceled as SubscriptionContractCanceledOriginal, type SubscriptionContractChangesCommitted as SubscriptionContractChangesCommittedOriginal, type SubscriptionContractChargeUpcoming as SubscriptionContractChargeUpcomingOriginal, type SubscriptionContractDiffs as SubscriptionContractDiffsOriginal, type SubscriptionContractExpired as SubscriptionContractExpiredOriginal, type SubscriptionContract as SubscriptionContractOriginal, type SubscriptionContractSettings as SubscriptionContractSettingsOriginal, type SubscriptionDescription as SubscriptionDescriptionOriginal, SubscriptionFrequency as SubscriptionFrequencyOriginal, type SubscriptionFrequencyWithLiterals as SubscriptionFrequencyWithLiteralsOriginal, type SubscriptionInfo as SubscriptionInfoOriginal, type SubscriptionSettings as SubscriptionSettingsOriginal, SubscriptionSettingsProductPeriodAlignment as SubscriptionSettingsProductPeriodAlignmentOriginal, type SubscriptionSettingsProductPeriodAlignmentWithLiterals as SubscriptionSettingsProductPeriodAlignmentWithLiteralsOriginal, type SubscriptionTitle as SubscriptionTitleOriginal, type TaxInfoBeforeChange as TaxInfoBeforeChangeOriginal, type TaxableAddress as TaxableAddressOriginal, type TaxableAddressTaxableAddressDataOneOf as TaxableAddressTaxableAddressDataOneOfOriginal, TaxableAddressType as TaxableAddressTypeOriginal, type TaxableAddressTypeWithLiterals as TaxableAddressTypeWithLiteralsOriginal, type TotalPriceChange as TotalPriceChangeOriginal, type TranslatableString as TranslatableStringOriginal, type TranslatedValue as TranslatedValueOriginal, type UpdateSubscriptionContractRequest as UpdateSubscriptionContractRequestOriginal, type UpdateSubscriptionContractResponse as UpdateSubscriptionContractResponseOriginal, type V1BillingSettings as V1BillingSettingsOriginal, type V1CyclePriceOverride as V1CyclePriceOverrideOriginal, type V1FreeTrialPeriod as V1FreeTrialPeriodOriginal, type V1SubscriptionDescription as V1SubscriptionDescriptionOriginal, type V1SubscriptionSettings as V1SubscriptionSettingsOriginal, type V1SubscriptionTitle as V1SubscriptionTitleOriginal, V2SubscriptionFrequency as V2SubscriptionFrequencyOriginal, type V2SubscriptionFrequencyWithLiterals as V2SubscriptionFrequencyWithLiteralsOriginal, type VatId as VatIdOriginal, VatType as VatTypeOriginal, type VatTypeWithLiterals as VatTypeWithLiteralsOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, WeightUnit as WeightUnitOriginal, type WeightUnitWithLiterals as WeightUnitWithLiteralsOriginal, type __PublicMethodMetaInfo, getSubscriptionContract, querySubscriptionContracts };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
2
|
import { SubscriptionContract, GetSubscriptionContractApplicationErrors, SubscriptionContractCommittedEnvelope, SubscriptionContractCreatedEnvelope, SubscriptionContractDeletedEnvelope, SubscriptionContractUpdatedEnvelope, SubscriptionContractsQueryBuilder, SubscriptionContractQuery, typedQuerySubscriptionContracts } from './index.typings.mjs';
|
|
3
|
-
export { AccountInfo, AccountInfoMetadata, ActionEvent, ActionInitiator, ActionInitiatorWithLiterals, ActivityAuthor, ActivityAuthorValueOneOf, ActivityType, ActivityTypeWithLiterals, AdditionalFee, AdditionalFeeDelta, AdditionalFeeDeltaDeltaDetailsOneOf, AdditionalFeeSource, AdditionalFeeSourceWithLiterals, AdditionalFeeSummary, Address, AddressLocation, AddressWithContact, AdjustmentType, AdjustmentTypeWithLiterals, ApplicationError, AppliedDiscount, AppliedDiscountDelta, AppliedDiscountDeltaDeltaDetailsOneOf, AppliedDiscountDiscountSourceOneOf, BaseEventMetadata, BaseRateSource, BaseRateSourceWithLiterals, BillingAdjustment, BillingAdjustmentPriceSummary, BillingSettings, BulkActionMetadata, BulkCreateSubscriptionContractsRequest, BulkCreateSubscriptionContractsResponse, BulkSubscriptionContractResult, BulkUpdateSubscriptionContractsRequest, BulkUpdateSubscriptionContractsResponse, BuyerInfo, BuyerInfoIdOneOf, CatalogReference, CatalogReferenceOptionsBeforeChange, ChangeType, ChangeTypeWithLiterals, ChangesAppliedActivity, ChangesAppliedActivityTargetOneOf, ChannelInfo, ChannelType, ChannelTypeWithLiterals, ChargeType, ChargeTypeWithLiterals, Color, CommitSubscriptionContractChangesRequest, CommitSubscriptionContractChangesResponse, CommonQueryWithEntityContext, ContractChange, ContractChangeChangeDetailsOneOf, ContractChangeType, ContractChangeTypeWithLiterals, ContractTarget, Coupon, CreateSubscriptionContractRequest, CreateSubscriptionContractResponse, CrossBorderCalculation, CrossBorderNotApplicableReason, CrossBorderNotApplicableReasonWithLiterals, CrossBorderPriceAdjustment, CrossBorderRepricingMode, CrossBorderRepricingModeWithLiterals, CurrencyConversionDetails, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomField, CyclePriceOverride, DecimalQuantity, DecimalQuantityUnitOneOf, DeliveryLogistics, DeliveryLogisticsAddressOneOf, DeliveryProfileIdBeforeChange, DeliveryTimeSlot, DescriptionLine, DescriptionLineDescriptionLineValueOneOf, DescriptionLineName, DescriptionLineType, DescriptionLineTypeWithLiterals, DescriptionLineValueOneOf, DescriptionLinesBeforeChange, DigitalFile, DigitalFileBeforeChange, Dimensions, DimensionsUnit, DimensionsUnitWithLiterals, DiscountReason, DiscountReasonWithLiterals, DiscountRule, DiscountRuleName, DiscountSummary, DiscountType, DiscountTypeWithLiterals, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, FocalPoint, FreeTrialPeriod, FulfillerIdBeforeChange, FullAddressContactDetails, GetSubscriptionContractRequest, GetSubscriptionContractResponse, IdentificationData, IdentificationDataIdOneOf, ImageBeforeChange, InventoryAppIdBeforeChange, ItemChangedDetails, ItemCombination, ItemCombinationLineItem, ItemMetadata, ItemModifier, ItemTaxFullDetails, ItemType, ItemTypeBeforeChange, ItemTypeItemTypeDataOneOf, ItemTypePreset, ItemTypePresetWithLiterals, JurisdictionType, JurisdictionTypeWithLiterals, LineItemChanges, LineItemCyclePriceOverrides, LineItemDelta, LineItemDeltaDeltaDetailsOneOf, LineItemDiscount, LineItemQuantityChange, LineItemQuantityChangeType, LineItemQuantityChangeTypeWithLiterals, LineItemSummary, LineItemTaxBreakdown, LineItemTaxInfo, Location, LocationAndQuantity, MaskedSubscriptionContract, MeasurementUnit, MeasurementUnitWithLiterals, MerchantDiscount, MerchantDiscountMerchantDiscountReasonOneOf, MessageEnvelope, ModifierGroup, ModifierGroupsBeforeChange, OrderLineItem, OrderTaxBreakdown, OrderTaxInfo, PaymentOptionType, PaymentOptionTypeWithLiterals, PhysicalProperties, PhysicalPropertiesBeforeChange, PickupAddress, PickupDetails, PickupMethod, PickupMethodWithLiterals, PlainTextValue, PlatformFee, PlatformFeeSummary, Price, PriceDescription, PriceDescriptionBeforeChange, PriceSummary, PriceUndeterminedBeforeChange, ProductName, ProductNameBeforeChange, ProductPeriodAlignment, ProductPeriodAlignmentWithLiterals, QuerySubscriptionContractsRequest, QuerySubscriptionContractsResponse, RepriceStatus, RepriceStatusWithLiterals, RestockLocation, RestoreInfo, RootCatalogItemIdBeforeChange, ServiceProperties, ShippingGroupIdBeforeChange, ShippingInformation, ShippingPrice, ShippingRegion, SortOrder, SortOrderWithLiterals, Sorting, SpecificItemsCouponBehavior, SpecificItemsCouponBehaviorWithLiterals, StreetAddress, SubscriptionCommitSettings, SubscriptionContractActivity, SubscriptionContractActivityContentOneOf, SubscriptionContractActivityTargetOneOf, SubscriptionContractCanceled, SubscriptionContractChangesCommitted, SubscriptionContractChargeUpcoming, SubscriptionContractDiffs, SubscriptionContractExpired, SubscriptionContractQuerySpec, SubscriptionContractSettings, SubscriptionContractsQueryResult, SubscriptionDescription, SubscriptionFrequency, SubscriptionFrequencyWithLiterals, SubscriptionInfo, SubscriptionSettings, SubscriptionSettingsProductPeriodAlignment, SubscriptionSettingsProductPeriodAlignmentWithLiterals, SubscriptionTitle, TaxInfoBeforeChange, TaxableAddress, TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, TaxableAddressTypeWithLiterals, TotalPriceChange, TranslatableString, TranslatedValue, UpdateSubscriptionContractRequest, UpdateSubscriptionContractResponse, V1BillingSettings, V1CyclePriceOverride, V1FreeTrialPeriod, V1SubscriptionDescription, V1SubscriptionSettings, V1SubscriptionTitle, V2SubscriptionFrequency, V2SubscriptionFrequencyWithLiterals, VatId, VatType, VatTypeWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WeightUnit, WeightUnitWithLiterals, utils } from './index.typings.mjs';
|
|
3
|
+
export { AccountInfo, AccountInfoMetadata, ActionEvent, ActionInitiator, ActionInitiatorWithLiterals, ActivityAuthor, ActivityAuthorValueOneOf, ActivityType, ActivityTypeWithLiterals, AdditionalFee, AdditionalFeeDelta, AdditionalFeeDeltaDeltaDetailsOneOf, AdditionalFeeSource, AdditionalFeeSourceWithLiterals, AdditionalFeeSummary, Address, AddressLocation, AddressWithContact, AdjustmentType, AdjustmentTypeWithLiterals, ApplicationError, AppliedDiscount, AppliedDiscountDelta, AppliedDiscountDeltaDeltaDetailsOneOf, AppliedDiscountDiscountSourceOneOf, BaseEventMetadata, BaseRateSource, BaseRateSourceWithLiterals, BillingAdjustment, BillingAdjustmentPriceSummary, BillingSettings, BulkActionMetadata, BulkCreateSubscriptionContractsRequest, BulkCreateSubscriptionContractsResponse, BulkSubscriptionContractResult, BulkUpdateSubscriptionContractsRequest, BulkUpdateSubscriptionContractsResponse, BuyerInfo, BuyerInfoIdOneOf, CatalogReference, CatalogReferenceOptionsBeforeChange, ChangeType, ChangeTypeWithLiterals, ChangesAppliedActivity, ChangesAppliedActivityTargetOneOf, ChannelInfo, ChannelType, ChannelTypeWithLiterals, ChargeType, ChargeTypeWithLiterals, Color, CommitSubscriptionContractChangesRequest, CommitSubscriptionContractChangesResponse, CommonQueryWithEntityContext, ContractChange, ContractChangeChangeDetailsOneOf, ContractChangeType, ContractChangeTypeWithLiterals, ContractTarget, Coupon, CouponDiscountValueOneOf, CreateSubscriptionContractRequest, CreateSubscriptionContractResponse, CrossBorderCalculation, CrossBorderNotApplicableReason, CrossBorderNotApplicableReasonWithLiterals, CrossBorderPriceAdjustment, CrossBorderRepricingMode, CrossBorderRepricingModeWithLiterals, CurrencyConversionDetails, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomField, CyclePriceOverride, DecimalQuantity, DecimalQuantityUnitOneOf, DeliveryLogistics, DeliveryLogisticsAddressOneOf, DeliveryProfileIdBeforeChange, DeliveryTimeSlot, DescriptionLine, DescriptionLineDescriptionLineValueOneOf, DescriptionLineName, DescriptionLineType, DescriptionLineTypeWithLiterals, DescriptionLineValueOneOf, DescriptionLinesBeforeChange, DigitalFile, DigitalFileBeforeChange, Dimensions, DimensionsUnit, DimensionsUnitWithLiterals, DiscountReason, DiscountReasonWithLiterals, DiscountRule, DiscountRuleDiscountValueOneOf, DiscountRuleName, DiscountSummary, DiscountType, DiscountTypeWithLiterals, DiscountValueType, DiscountValueTypeWithLiterals, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, FocalPoint, FreeTrialPeriod, FulfillerIdBeforeChange, FullAddressContactDetails, GetSubscriptionContractRequest, GetSubscriptionContractResponse, IdentificationData, IdentificationDataIdOneOf, ImageBeforeChange, InventoryAppIdBeforeChange, ItemChangedDetails, ItemCombination, ItemCombinationLineItem, ItemMetadata, ItemModifier, ItemTaxFullDetails, ItemType, ItemTypeBeforeChange, ItemTypeItemTypeDataOneOf, ItemTypePreset, ItemTypePresetWithLiterals, JurisdictionType, JurisdictionTypeWithLiterals, LineItemChanges, LineItemCyclePriceOverrides, LineItemDelta, LineItemDeltaDeltaDetailsOneOf, LineItemDiscount, LineItemQuantityChange, LineItemQuantityChangeType, LineItemQuantityChangeTypeWithLiterals, LineItemSummary, LineItemTaxBreakdown, LineItemTaxInfo, Location, LocationAndQuantity, MaskedSubscriptionContract, MeasurementUnit, MeasurementUnitWithLiterals, MerchantDiscount, MerchantDiscountMerchantDiscountReasonOneOf, MessageEnvelope, ModifierGroup, ModifierGroupsBeforeChange, OrderLineItem, OrderTaxBreakdown, OrderTaxInfo, PaymentOptionType, PaymentOptionTypeWithLiterals, PhysicalProperties, PhysicalPropertiesBeforeChange, PickupAddress, PickupDetails, PickupMethod, PickupMethodWithLiterals, PlainTextValue, PlatformFee, PlatformFeeSummary, Price, PriceDescription, PriceDescriptionBeforeChange, PriceSummary, PriceUndeterminedBeforeChange, ProductName, ProductNameBeforeChange, ProductPeriodAlignment, ProductPeriodAlignmentWithLiterals, QuerySubscriptionContractsRequest, QuerySubscriptionContractsResponse, RepriceStatus, RepriceStatusWithLiterals, RestockLocation, RestoreInfo, RootCatalogItemIdBeforeChange, ServiceProperties, ShippingGroupIdBeforeChange, ShippingInformation, ShippingPrice, ShippingRegion, SortOrder, SortOrderWithLiterals, Sorting, SpecificItemsCouponBehavior, SpecificItemsCouponBehaviorWithLiterals, StreetAddress, SubscriptionCommitSettings, SubscriptionContractActivity, SubscriptionContractActivityContentOneOf, SubscriptionContractActivityTargetOneOf, SubscriptionContractCanceled, SubscriptionContractChangesCommitted, SubscriptionContractChargeUpcoming, SubscriptionContractDiffs, SubscriptionContractExpired, SubscriptionContractQuerySpec, SubscriptionContractSettings, SubscriptionContractsQueryResult, SubscriptionDescription, SubscriptionFrequency, SubscriptionFrequencyWithLiterals, SubscriptionInfo, SubscriptionSettings, SubscriptionSettingsProductPeriodAlignment, SubscriptionSettingsProductPeriodAlignmentWithLiterals, SubscriptionTitle, TaxInfoBeforeChange, TaxableAddress, TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, TaxableAddressTypeWithLiterals, TotalPriceChange, TranslatableString, TranslatedValue, UpdateSubscriptionContractRequest, UpdateSubscriptionContractResponse, V1BillingSettings, V1CyclePriceOverride, V1FreeTrialPeriod, V1SubscriptionDescription, V1SubscriptionSettings, V1SubscriptionTitle, V2SubscriptionFrequency, V2SubscriptionFrequencyWithLiterals, VatId, VatType, VatTypeWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WeightUnit, WeightUnitWithLiterals, utils } from './index.typings.mjs';
|
|
4
4
|
|
|
5
5
|
declare function getSubscriptionContract$1(httpClient: HttpClient): GetSubscriptionContractSignature;
|
|
6
6
|
interface GetSubscriptionContractSignature {
|