@wix/auto_sdk_ecom_subscription-contracts 1.0.63 → 1.0.65
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 +10 -10
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +6 -6
- package/build/cjs/index.typings.js +10 -10
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +6 -6
- package/build/cjs/meta.js +10 -10
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +9 -9
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +6 -6
- package/build/es/index.typings.mjs +9 -9
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +6 -6
- package/build/es/meta.mjs +9 -9
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +10 -10
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +6 -6
- package/build/internal/cjs/index.typings.js +10 -10
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +6 -6
- package/build/internal/cjs/meta.js +10 -10
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +9 -9
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +6 -6
- package/build/internal/es/index.typings.mjs +9 -9
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +6 -6
- package/build/internal/es/meta.mjs +9 -9
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -338,7 +338,7 @@ interface CatalogReference {
|
|
|
338
338
|
/**
|
|
339
339
|
* Additional item details in key:value pairs. Use this optional field to provide more specificity with item selection. The `options` field values differ depending on which catalog is providing the items.
|
|
340
340
|
*
|
|
341
|
-
* For products and variants from a Wix Stores catalog, learn more about eCommerce integration
|
|
341
|
+
* For products and variants from a Wix Stores catalog, learn more about [eCommerce integration](https://dev.wix.com/docs/rest/business-solutions/stores/catalog/e-commerce-integration).
|
|
342
342
|
*/
|
|
343
343
|
options?: Record<string, any> | null;
|
|
344
344
|
}
|
|
@@ -449,18 +449,18 @@ interface PhysicalProperties {
|
|
|
449
449
|
}
|
|
450
450
|
interface ItemType extends ItemTypeItemTypeDataOneOf {
|
|
451
451
|
/** Preset item type. */
|
|
452
|
-
preset?:
|
|
452
|
+
preset?: ItemTypePresetWithLiterals;
|
|
453
453
|
/** Custom item type. When none of the preset types are suitable, specifies the custom type. */
|
|
454
454
|
custom?: string;
|
|
455
455
|
}
|
|
456
456
|
/** @oneof */
|
|
457
457
|
interface ItemTypeItemTypeDataOneOf {
|
|
458
458
|
/** Preset item type. */
|
|
459
|
-
preset?:
|
|
459
|
+
preset?: ItemTypePresetWithLiterals;
|
|
460
460
|
/** Custom item type. When none of the preset types are suitable, specifies the custom type. */
|
|
461
461
|
custom?: string;
|
|
462
462
|
}
|
|
463
|
-
declare enum
|
|
463
|
+
declare enum ItemTypePreset {
|
|
464
464
|
UNRECOGNISED = "UNRECOGNISED",
|
|
465
465
|
PHYSICAL = "PHYSICAL",
|
|
466
466
|
DIGITAL = "DIGITAL",
|
|
@@ -468,7 +468,7 @@ declare enum ItemTypeItemType {
|
|
|
468
468
|
SERVICE = "SERVICE"
|
|
469
469
|
}
|
|
470
470
|
/** @enumType */
|
|
471
|
-
type
|
|
471
|
+
type ItemTypePresetWithLiterals = ItemTypePreset | 'UNRECOGNISED' | 'PHYSICAL' | 'DIGITAL' | 'GIFT_CARD' | 'SERVICE';
|
|
472
472
|
/** Type of selected payment option for catalog item */
|
|
473
473
|
declare enum PaymentOptionType {
|
|
474
474
|
/** The entire payment for this item happens as part of the checkout. */
|
|
@@ -2061,4 +2061,4 @@ interface SubscriptionContractsQueryBuilder {
|
|
|
2061
2061
|
find: () => Promise<SubscriptionContractsQueryResult>;
|
|
2062
2062
|
}
|
|
2063
2063
|
|
|
2064
|
-
export { type ActionEvent, type AdditionalFee, type Address, type AddressLocation, type AddressWithContact, AdjustmentType, type AdjustmentTypeWithLiterals, type ApplicationError, type AppliedDiscount, type AppliedDiscountDiscountSourceOneOf, type BaseEventMetadata, type BillingAdjustment, type BillingAdjustmentPriceSummary, type BulkActionMetadata, type BulkCreateSubscriptionContractsRequest, type BulkCreateSubscriptionContractsResponse, type BulkSubscriptionContractResult, type BulkUpdateSubscriptionContractsRequest, type BulkUpdateSubscriptionContractsResponse, type BuyerInfo, type BuyerInfoIdOneOf, type CatalogReference, type ChannelInfo, ChannelType, type ChannelTypeWithLiterals, type Color, type Coupon, type CreateSubscriptionContractRequest, type CreateSubscriptionContractResponse, type CurrencyConversionDetails, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomField, type DeliveryLogistics, type DeliveryLogisticsAddressOneOf, type DeliveryTimeSlot, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type DigitalFile, DiscountReason, type DiscountReasonWithLiterals, type DiscountRule, type DiscountRuleName, DiscountType, type DiscountTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type FocalPoint, type FreeTrialPeriod, type FullAddressContactDetails, type GetSubscriptionContractRequest, type GetSubscriptionContractResponse, type IdentificationData, type IdentificationDataIdOneOf, type ItemMetadata, type ItemModifier, type ItemTaxFullDetails, type ItemType,
|
|
2064
|
+
export { type ActionEvent, type AdditionalFee, type Address, type AddressLocation, type AddressWithContact, AdjustmentType, type AdjustmentTypeWithLiterals, type ApplicationError, type AppliedDiscount, type AppliedDiscountDiscountSourceOneOf, type BaseEventMetadata, type BillingAdjustment, type BillingAdjustmentPriceSummary, type BulkActionMetadata, type BulkCreateSubscriptionContractsRequest, type BulkCreateSubscriptionContractsResponse, type BulkSubscriptionContractResult, type BulkUpdateSubscriptionContractsRequest, type BulkUpdateSubscriptionContractsResponse, type BuyerInfo, type BuyerInfoIdOneOf, type CatalogReference, type ChannelInfo, ChannelType, type ChannelTypeWithLiterals, type Color, type Coupon, type CreateSubscriptionContractRequest, type CreateSubscriptionContractResponse, type CurrencyConversionDetails, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomField, type DeliveryLogistics, type DeliveryLogisticsAddressOneOf, type DeliveryTimeSlot, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type DigitalFile, DiscountReason, type DiscountReasonWithLiterals, type DiscountRule, type DiscountRuleName, DiscountType, type DiscountTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type FocalPoint, type FreeTrialPeriod, type FullAddressContactDetails, type GetSubscriptionContractRequest, type GetSubscriptionContractResponse, type IdentificationData, type IdentificationDataIdOneOf, type ItemMetadata, type ItemModifier, type ItemTaxFullDetails, type ItemType, type ItemTypeItemTypeDataOneOf, ItemTypePreset, type ItemTypePresetWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LineItemDiscount, type LineItemTaxBreakdown, type LineItemTaxInfo, type Location, type LocationAndQuantity, type MaskedSubscriptionContract, type MerchantDiscount, type MerchantDiscountMerchantDiscountReasonOneOf, type MessageEnvelope, type ModifierGroup, type OrderLineItem, type OrderTaxBreakdown, type OrderTaxInfo, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PhysicalProperties, type PickupAddress, type PickupDetails, PickupMethod, type PickupMethodWithLiterals, type PlainTextValue, type Price, type PriceDescription, type PriceSummary, type ProductName, type QuerySubscriptionContractsRequest, type QuerySubscriptionContractsResponse, type RestoreInfo, type ShippingInformation, type ShippingPrice, type ShippingRegion, SortOrder, type SortOrderWithLiterals, type Sorting, type StreetAddress, type SubscriptionContract, type SubscriptionContractCreatedEnvelope, type SubscriptionContractDeletedEnvelope, type SubscriptionContractUpdatedEnvelope, type SubscriptionContractsQueryBuilder, type SubscriptionContractsQueryResult, type SubscriptionDescription, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionInfo, type SubscriptionSettings, type SubscriptionTitle, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type TranslatableString, type UpdateSubscriptionContractRequest, type UpdateSubscriptionContractResponse, type V1FreeTrialPeriod, type V1SubscriptionDescription, type V1SubscriptionSettings, type V1SubscriptionTitle, V2SubscriptionFrequency, type V2SubscriptionFrequencyWithLiterals, type VatId, VatType, type VatTypeWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, getSubscriptionContract, onSubscriptionContractCreated, onSubscriptionContractDeleted, onSubscriptionContractUpdated, querySubscriptionContracts };
|
|
@@ -25,7 +25,7 @@ __export(index_typings_exports, {
|
|
|
25
25
|
DescriptionLineType: () => DescriptionLineType,
|
|
26
26
|
DiscountReason: () => DiscountReason,
|
|
27
27
|
DiscountType: () => DiscountType,
|
|
28
|
-
|
|
28
|
+
ItemTypePreset: () => ItemTypePreset,
|
|
29
29
|
JurisdictionType: () => JurisdictionType,
|
|
30
30
|
PaymentOptionType: () => PaymentOptionType,
|
|
31
31
|
PickupMethod: () => PickupMethod,
|
|
@@ -272,14 +272,14 @@ var DescriptionLineType = /* @__PURE__ */ ((DescriptionLineType2) => {
|
|
|
272
272
|
DescriptionLineType2["COLOR"] = "COLOR";
|
|
273
273
|
return DescriptionLineType2;
|
|
274
274
|
})(DescriptionLineType || {});
|
|
275
|
-
var
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
return
|
|
282
|
-
})(
|
|
275
|
+
var ItemTypePreset = /* @__PURE__ */ ((ItemTypePreset2) => {
|
|
276
|
+
ItemTypePreset2["UNRECOGNISED"] = "UNRECOGNISED";
|
|
277
|
+
ItemTypePreset2["PHYSICAL"] = "PHYSICAL";
|
|
278
|
+
ItemTypePreset2["DIGITAL"] = "DIGITAL";
|
|
279
|
+
ItemTypePreset2["GIFT_CARD"] = "GIFT_CARD";
|
|
280
|
+
ItemTypePreset2["SERVICE"] = "SERVICE";
|
|
281
|
+
return ItemTypePreset2;
|
|
282
|
+
})(ItemTypePreset || {});
|
|
283
283
|
var PaymentOptionType = /* @__PURE__ */ ((PaymentOptionType2) => {
|
|
284
284
|
PaymentOptionType2["FULL_PAYMENT_ONLINE"] = "FULL_PAYMENT_ONLINE";
|
|
285
285
|
PaymentOptionType2["FULL_PAYMENT_OFFLINE"] = "FULL_PAYMENT_OFFLINE";
|
|
@@ -501,7 +501,7 @@ function querySubscriptionContracts2() {
|
|
|
501
501
|
DescriptionLineType,
|
|
502
502
|
DiscountReason,
|
|
503
503
|
DiscountType,
|
|
504
|
-
|
|
504
|
+
ItemTypePreset,
|
|
505
505
|
JurisdictionType,
|
|
506
506
|
PaymentOptionType,
|
|
507
507
|
PickupMethod,
|