@wix/auto_sdk_ecom_checkout-templates 1.0.2 → 1.0.4
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/src/ecom-v1-checkout-template-checkout-templates.context.d.ts +6 -14
- package/build/cjs/src/ecom-v1-checkout-template-checkout-templates.context.js +7 -15
- package/build/cjs/src/ecom-v1-checkout-template-checkout-templates.context.js.map +1 -1
- package/build/cjs/src/ecom-v1-checkout-template-checkout-templates.http.d.ts +6 -5
- package/build/cjs/src/ecom-v1-checkout-template-checkout-templates.http.js +6 -5
- package/build/cjs/src/ecom-v1-checkout-template-checkout-templates.http.js.map +1 -1
- package/build/cjs/src/ecom-v1-checkout-template-checkout-templates.public.d.ts +7 -6
- package/build/cjs/src/ecom-v1-checkout-template-checkout-templates.public.js +3 -0
- package/build/cjs/src/ecom-v1-checkout-template-checkout-templates.public.js.map +1 -1
- package/build/cjs/src/ecom-v1-checkout-template-checkout-templates.types.d.ts +718 -249
- package/build/cjs/src/ecom-v1-checkout-template-checkout-templates.types.js +15 -15
- package/build/cjs/src/ecom-v1-checkout-template-checkout-templates.types.js.map +1 -1
- package/build/cjs/src/ecom-v1-checkout-template-checkout-templates.universal.d.ts +772 -303
- package/build/cjs/src/ecom-v1-checkout-template-checkout-templates.universal.js +34 -28
- package/build/cjs/src/ecom-v1-checkout-template-checkout-templates.universal.js.map +1 -1
- package/build/es/src/ecom-v1-checkout-template-checkout-templates.context.d.ts +6 -14
- package/build/es/src/ecom-v1-checkout-template-checkout-templates.context.js +5 -13
- package/build/es/src/ecom-v1-checkout-template-checkout-templates.context.js.map +1 -1
- package/build/es/src/ecom-v1-checkout-template-checkout-templates.http.d.ts +6 -5
- package/build/es/src/ecom-v1-checkout-template-checkout-templates.http.js +6 -5
- package/build/es/src/ecom-v1-checkout-template-checkout-templates.http.js.map +1 -1
- package/build/es/src/ecom-v1-checkout-template-checkout-templates.public.d.ts +7 -6
- package/build/es/src/ecom-v1-checkout-template-checkout-templates.public.js +3 -0
- package/build/es/src/ecom-v1-checkout-template-checkout-templates.public.js.map +1 -1
- package/build/es/src/ecom-v1-checkout-template-checkout-templates.types.d.ts +718 -249
- package/build/es/src/ecom-v1-checkout-template-checkout-templates.types.js +14 -14
- package/build/es/src/ecom-v1-checkout-template-checkout-templates.types.js.map +1 -1
- package/build/es/src/ecom-v1-checkout-template-checkout-templates.universal.d.ts +772 -303
- package/build/es/src/ecom-v1-checkout-template-checkout-templates.universal.js +33 -27
- package/build/es/src/ecom-v1-checkout-template-checkout-templates.universal.js.map +1 -1
- package/build/internal/cjs/src/ecom-v1-checkout-template-checkout-templates.context.d.ts +6 -14
- package/build/internal/cjs/src/ecom-v1-checkout-template-checkout-templates.context.js +7 -15
- package/build/internal/cjs/src/ecom-v1-checkout-template-checkout-templates.context.js.map +1 -1
- package/build/internal/cjs/src/ecom-v1-checkout-template-checkout-templates.http.d.ts +6 -5
- package/build/internal/cjs/src/ecom-v1-checkout-template-checkout-templates.http.js +6 -5
- package/build/internal/cjs/src/ecom-v1-checkout-template-checkout-templates.http.js.map +1 -1
- package/build/internal/cjs/src/ecom-v1-checkout-template-checkout-templates.public.d.ts +7 -6
- package/build/internal/cjs/src/ecom-v1-checkout-template-checkout-templates.public.js +3 -0
- package/build/internal/cjs/src/ecom-v1-checkout-template-checkout-templates.public.js.map +1 -1
- package/build/internal/cjs/src/ecom-v1-checkout-template-checkout-templates.types.d.ts +723 -249
- package/build/internal/cjs/src/ecom-v1-checkout-template-checkout-templates.types.js +15 -15
- package/build/internal/cjs/src/ecom-v1-checkout-template-checkout-templates.types.js.map +1 -1
- package/build/internal/cjs/src/ecom-v1-checkout-template-checkout-templates.universal.d.ts +792 -308
- package/build/internal/cjs/src/ecom-v1-checkout-template-checkout-templates.universal.js +34 -28
- package/build/internal/cjs/src/ecom-v1-checkout-template-checkout-templates.universal.js.map +1 -1
- package/build/internal/es/src/ecom-v1-checkout-template-checkout-templates.context.d.ts +6 -14
- package/build/internal/es/src/ecom-v1-checkout-template-checkout-templates.context.js +5 -13
- package/build/internal/es/src/ecom-v1-checkout-template-checkout-templates.context.js.map +1 -1
- package/build/internal/es/src/ecom-v1-checkout-template-checkout-templates.http.d.ts +6 -5
- package/build/internal/es/src/ecom-v1-checkout-template-checkout-templates.http.js +6 -5
- package/build/internal/es/src/ecom-v1-checkout-template-checkout-templates.http.js.map +1 -1
- package/build/internal/es/src/ecom-v1-checkout-template-checkout-templates.public.d.ts +7 -6
- package/build/internal/es/src/ecom-v1-checkout-template-checkout-templates.public.js +3 -0
- package/build/internal/es/src/ecom-v1-checkout-template-checkout-templates.public.js.map +1 -1
- package/build/internal/es/src/ecom-v1-checkout-template-checkout-templates.types.d.ts +723 -249
- package/build/internal/es/src/ecom-v1-checkout-template-checkout-templates.types.js +14 -14
- package/build/internal/es/src/ecom-v1-checkout-template-checkout-templates.types.js.map +1 -1
- package/build/internal/es/src/ecom-v1-checkout-template-checkout-templates.universal.d.ts +792 -308
- package/build/internal/es/src/ecom-v1-checkout-template-checkout-templates.universal.js +33 -27
- package/build/internal/es/src/ecom-v1-checkout-template-checkout-templates.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -12,21 +12,13 @@ export declare const deleteCheckoutTemplate: MaybeContext<BuildRESTFunction<type
|
|
|
12
12
|
export declare const queryCheckoutTemplates: MaybeContext<BuildRESTFunction<typeof publicQueryCheckoutTemplates> & typeof publicQueryCheckoutTemplates>;
|
|
13
13
|
export declare const createCheckoutFromTemplate: MaybeContext<BuildRESTFunction<typeof publicCreateCheckoutFromTemplate> & typeof publicCreateCheckoutFromTemplate>;
|
|
14
14
|
export declare const createAndRedirectToCheckout: MaybeContext<BuildRESTFunction<typeof publicCreateAndRedirectToCheckout> & typeof publicCreateAndRedirectToCheckout>;
|
|
15
|
-
/**
|
|
16
|
-
* Triggered when a checkout template is created.
|
|
17
|
-
*/
|
|
15
|
+
/** */
|
|
18
16
|
export declare const onCheckoutTemplateCreated: ReturnType<typeof createEventModule<typeof publicOnCheckoutTemplateCreated>>;
|
|
19
|
-
/**
|
|
20
|
-
* Triggered when a checkout template is deleted.
|
|
21
|
-
*/
|
|
17
|
+
/** */
|
|
22
18
|
export declare const onCheckoutTemplateDeleted: ReturnType<typeof createEventModule<typeof publicOnCheckoutTemplateDeleted>>;
|
|
23
|
-
/**
|
|
24
|
-
* Triggered when a checkout template is updated.
|
|
25
|
-
*/
|
|
19
|
+
/** */
|
|
26
20
|
export declare const onCheckoutTemplateUpdated: ReturnType<typeof createEventModule<typeof publicOnCheckoutTemplateUpdated>>;
|
|
27
|
-
/**
|
|
28
|
-
* Triggered when a checkout is created from a checkout template.
|
|
29
|
-
*/
|
|
21
|
+
/** */
|
|
30
22
|
export declare const onCheckoutTemplateUsed: ReturnType<typeof createEventModule<typeof publicOnCheckoutTemplateUsed>>;
|
|
31
|
-
export { Status, DescriptionLineType, PaymentOptionType, ItemTypeItemType, SubscriptionFrequency, FileType,
|
|
32
|
-
export { CheckoutTemplate, CheckoutCustomization, WebClientCustomization, V1LineItem, CatalogReference, CatalogOverrideFields, ProductName, DescriptionLine, DescriptionLineValueOneOf, DescriptionLineDescriptionLineValueOneOf, DescriptionLineName, PlainTextValue, Color, PhysicalProperties, PaymentOption, CustomLineItem, PriceDescription, ItemType, ItemTypeItemTypeDataOneOf, SubscriptionOptionInfo, SubscriptionSettings, FreeTrialPeriod, Title, Description, SecuredMedia, ServiceProperties, Policy,
|
|
23
|
+
export { Status, DescriptionLineType, PaymentOptionType, ItemTypeItemType, SubscriptionFrequency, FileType, TaxableAddressType, JurisdictionType, ItemAvailabilityStatus, VatType, PickupMethod, ChargeType, RuleType, DiscountType, WeightUnit, RateType, ManualCalculationReason, FallbackReason, ChannelType, AdditionalFeeSource, Severity, NameInOther, NameInLineItem, SuggestedFix, SortOrder, WebhookIdentityType, } from './ecom-v1-checkout-template-checkout-templates.universal.js';
|
|
24
|
+
export { CheckoutTemplate, CheckoutCustomization, WebClientCustomization, V1LineItem, CatalogReference, CatalogOverrideFields, ProductName, DescriptionLine, DescriptionLineValueOneOf, DescriptionLineDescriptionLineValueOneOf, DescriptionLineName, PlainTextValue, Color, PhysicalProperties, PaymentOption, CustomLineItem, PriceDescription, ItemType, ItemTypeItemTypeDataOneOf, SubscriptionOptionInfo, SubscriptionSettings, FreeTrialPeriod, Title, Description, SecuredMedia, ServiceProperties, Policy, TaxableAddress, TaxableAddressTaxableAddressDataOneOf, ExtendedFields, CustomContentReference, ExternalReference, CheckoutTemplateUsed, Checkout, LineItem, MultiCurrencyPrice, ItemTaxFullDetails, TaxRateBreakdown, TaxBreakdown, FocalPoint, ItemAvailabilityInfo, Scope, Group, AddressWithContact, Address, StreetAddress, AddressLocation, FullAddressContactDetails, VatId, ShippingInfo, SelectedCarrierServiceOption, DeliveryLogistics, PickupDetails, DeliveryTimeSlot, SelectedCarrierServiceOptionPrices, SelectedCarrierServiceOptionOtherCharge, DeliveryAllocation, Carrier, Region, ApplicableLineItems, ShippingRegion, CarrierServiceOption, ShippingOption, ShippingPrice, OtherCharge, BuyerInfo, BuyerInfoIdOneOf, PriceSummary, CalculationErrors, CalculationErrorsShippingCalculationErrorOneOf, Details, DetailsKindOneOf, ApplicationError, ValidationError, FieldViolation, SystemError, CarrierErrors, CarrierError, GiftCard, AppliedDiscount, AppliedDiscountDiscountSourceOneOf, Coupon, MerchantDiscount, DiscountRule, DiscountRuleName, LineItemDiscount, CustomField, TaxSummary, TaxCalculationDetails, TaxCalculationDetailsCalculationDetailsOneOf, AutoTaxFallbackCalculationDetails, AggregatedTaxBreakdown, CreatedBy, CreatedByIdOneOf, MembershipOptions, Membership, MembershipName, MembershipPaymentCredits, InvalidMembership, SelectedMemberships, SelectedMembership, AdditionalFee, ConversionInfo, Violation, Target, TargetTargetTypeOneOf, Other, TargetLineItem, CustomSettings, SubscriptionCharges, Charge, CreateCheckoutTemplateRequest, CreateCheckoutTemplateResponse, GetCheckoutTemplateRequest, GetCheckoutTemplateResponse, UpdateCheckoutTemplateRequest, UpdateCheckoutTemplateResponse, DeleteCheckoutTemplateRequest, DeleteCheckoutTemplateResponse, QueryCheckoutTemplatesRequest, CursorQuery, CursorQueryPagingMethodOneOf, Sorting, CursorPaging, QueryCheckoutTemplatesResponse, CursorPagingMetadata, Cursors, CreateCheckoutFromTemplateRequest, CreateCheckoutFromTemplateResponse, CreateAndRedirectToCheckoutRequest, RawHttpResponse, HeadersEntry, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, RestoreInfo, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, CheckoutTemplateNonNullableFields, CreateCheckoutTemplateResponseNonNullableFields, GetCheckoutTemplateResponseNonNullableFields, UpdateCheckoutTemplateResponseNonNullableFields, QueryCheckoutTemplatesResponseNonNullableFields, CreateCheckoutFromTemplateResponseNonNullableFields, RawHttpResponseNonNullableFields, BaseEventMetadata, EventMetadata, CheckoutTemplateCreatedEnvelope, CheckoutTemplateDeletedEnvelope, CheckoutTemplateUpdatedEnvelope, CheckoutTemplateUsedEnvelope, UpdateCheckoutTemplate, CheckoutTemplatesQueryResult, CheckoutTemplatesQueryBuilder, } from './ecom-v1-checkout-template-checkout-templates.universal.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WebhookIdentityType = exports.SuggestedFix = exports.NameInLineItem = exports.NameInOther = exports.Severity = exports.AdditionalFeeSource = exports.ChannelType = exports.FallbackReason = exports.ManualCalculationReason = exports.RateType = exports.WeightUnit = exports.DiscountType = exports.RuleType = exports.ChargeType = exports.PickupMethod = exports.VatType = exports.
|
|
3
|
+
exports.WebhookIdentityType = exports.SortOrder = exports.SuggestedFix = exports.NameInLineItem = exports.NameInOther = exports.Severity = exports.AdditionalFeeSource = exports.ChannelType = exports.FallbackReason = exports.ManualCalculationReason = exports.RateType = exports.WeightUnit = exports.DiscountType = exports.RuleType = exports.ChargeType = exports.PickupMethod = exports.VatType = exports.ItemAvailabilityStatus = exports.JurisdictionType = exports.TaxableAddressType = exports.FileType = exports.SubscriptionFrequency = exports.ItemTypeItemType = exports.PaymentOptionType = exports.DescriptionLineType = exports.Status = exports.onCheckoutTemplateUsed = exports.onCheckoutTemplateUpdated = exports.onCheckoutTemplateDeleted = exports.onCheckoutTemplateCreated = exports.createAndRedirectToCheckout = exports.createCheckoutFromTemplate = exports.queryCheckoutTemplates = exports.deleteCheckoutTemplate = exports.updateCheckoutTemplate = exports.getCheckoutTemplate = exports.createCheckoutTemplate = void 0;
|
|
4
4
|
const ecom_v1_checkout_template_checkout_templates_public_js_1 = require("./ecom-v1-checkout-template-checkout-templates.public.js");
|
|
5
5
|
const rest_modules_1 = require("@wix/sdk-runtime/rest-modules");
|
|
6
6
|
const event_definition_modules_1 = require("@wix/sdk-runtime/event-definition-modules");
|
|
@@ -15,21 +15,13 @@ exports.deleteCheckoutTemplate = (0, rest_modules_1.createRESTModule)(ecom_v1_ch
|
|
|
15
15
|
exports.queryCheckoutTemplates = (0, rest_modules_1.createRESTModule)(ecom_v1_checkout_template_checkout_templates_public_js_1.queryCheckoutTemplates);
|
|
16
16
|
exports.createCheckoutFromTemplate = (0, rest_modules_1.createRESTModule)(ecom_v1_checkout_template_checkout_templates_public_js_1.createCheckoutFromTemplate);
|
|
17
17
|
exports.createAndRedirectToCheckout = (0, rest_modules_1.createRESTModule)(ecom_v1_checkout_template_checkout_templates_public_js_1.createAndRedirectToCheckout);
|
|
18
|
-
/**
|
|
19
|
-
* Triggered when a checkout template is created.
|
|
20
|
-
*/
|
|
18
|
+
/** */
|
|
21
19
|
exports.onCheckoutTemplateCreated = (0, event_definition_modules_1.createEventModule)(ecom_v1_checkout_template_checkout_templates_public_js_2.onCheckoutTemplateCreated);
|
|
22
|
-
/**
|
|
23
|
-
* Triggered when a checkout template is deleted.
|
|
24
|
-
*/
|
|
20
|
+
/** */
|
|
25
21
|
exports.onCheckoutTemplateDeleted = (0, event_definition_modules_1.createEventModule)(ecom_v1_checkout_template_checkout_templates_public_js_3.onCheckoutTemplateDeleted);
|
|
26
|
-
/**
|
|
27
|
-
* Triggered when a checkout template is updated.
|
|
28
|
-
*/
|
|
22
|
+
/** */
|
|
29
23
|
exports.onCheckoutTemplateUpdated = (0, event_definition_modules_1.createEventModule)(ecom_v1_checkout_template_checkout_templates_public_js_4.onCheckoutTemplateUpdated);
|
|
30
|
-
/**
|
|
31
|
-
* Triggered when a checkout is created from a checkout template.
|
|
32
|
-
*/
|
|
24
|
+
/** */
|
|
33
25
|
exports.onCheckoutTemplateUsed = (0, event_definition_modules_1.createEventModule)(ecom_v1_checkout_template_checkout_templates_public_js_5.onCheckoutTemplateUsed);
|
|
34
26
|
var ecom_v1_checkout_template_checkout_templates_universal_js_1 = require("./ecom-v1-checkout-template-checkout-templates.universal.js");
|
|
35
27
|
Object.defineProperty(exports, "Status", { enumerable: true, get: function () { return ecom_v1_checkout_template_checkout_templates_universal_js_1.Status; } });
|
|
@@ -38,10 +30,9 @@ Object.defineProperty(exports, "PaymentOptionType", { enumerable: true, get: fun
|
|
|
38
30
|
Object.defineProperty(exports, "ItemTypeItemType", { enumerable: true, get: function () { return ecom_v1_checkout_template_checkout_templates_universal_js_1.ItemTypeItemType; } });
|
|
39
31
|
Object.defineProperty(exports, "SubscriptionFrequency", { enumerable: true, get: function () { return ecom_v1_checkout_template_checkout_templates_universal_js_1.SubscriptionFrequency; } });
|
|
40
32
|
Object.defineProperty(exports, "FileType", { enumerable: true, get: function () { return ecom_v1_checkout_template_checkout_templates_universal_js_1.FileType; } });
|
|
41
|
-
Object.defineProperty(exports, "
|
|
33
|
+
Object.defineProperty(exports, "TaxableAddressType", { enumerable: true, get: function () { return ecom_v1_checkout_template_checkout_templates_universal_js_1.TaxableAddressType; } });
|
|
42
34
|
Object.defineProperty(exports, "JurisdictionType", { enumerable: true, get: function () { return ecom_v1_checkout_template_checkout_templates_universal_js_1.JurisdictionType; } });
|
|
43
35
|
Object.defineProperty(exports, "ItemAvailabilityStatus", { enumerable: true, get: function () { return ecom_v1_checkout_template_checkout_templates_universal_js_1.ItemAvailabilityStatus; } });
|
|
44
|
-
Object.defineProperty(exports, "TaxableAddressType", { enumerable: true, get: function () { return ecom_v1_checkout_template_checkout_templates_universal_js_1.TaxableAddressType; } });
|
|
45
36
|
Object.defineProperty(exports, "VatType", { enumerable: true, get: function () { return ecom_v1_checkout_template_checkout_templates_universal_js_1.VatType; } });
|
|
46
37
|
Object.defineProperty(exports, "PickupMethod", { enumerable: true, get: function () { return ecom_v1_checkout_template_checkout_templates_universal_js_1.PickupMethod; } });
|
|
47
38
|
Object.defineProperty(exports, "ChargeType", { enumerable: true, get: function () { return ecom_v1_checkout_template_checkout_templates_universal_js_1.ChargeType; } });
|
|
@@ -57,5 +48,6 @@ Object.defineProperty(exports, "Severity", { enumerable: true, get: function ()
|
|
|
57
48
|
Object.defineProperty(exports, "NameInOther", { enumerable: true, get: function () { return ecom_v1_checkout_template_checkout_templates_universal_js_1.NameInOther; } });
|
|
58
49
|
Object.defineProperty(exports, "NameInLineItem", { enumerable: true, get: function () { return ecom_v1_checkout_template_checkout_templates_universal_js_1.NameInLineItem; } });
|
|
59
50
|
Object.defineProperty(exports, "SuggestedFix", { enumerable: true, get: function () { return ecom_v1_checkout_template_checkout_templates_universal_js_1.SuggestedFix; } });
|
|
51
|
+
Object.defineProperty(exports, "SortOrder", { enumerable: true, get: function () { return ecom_v1_checkout_template_checkout_templates_universal_js_1.SortOrder; } });
|
|
60
52
|
Object.defineProperty(exports, "WebhookIdentityType", { enumerable: true, get: function () { return ecom_v1_checkout_template_checkout_templates_universal_js_1.WebhookIdentityType; } });
|
|
61
53
|
//# sourceMappingURL=ecom-v1-checkout-template-checkout-templates.context.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-checkout-template-checkout-templates.context.js","sourceRoot":"","sources":["../../../src/ecom-v1-checkout-template-checkout-templates.context.ts"],"names":[],"mappings":";;;AAAA,qIAQkE;AAClE,gEAAiE;AACjE,wFAA8E;AAE9E,qIAAwI;AACxI,qIAAwI;AACxI,qIAAwI;AACxI,qIAAkI;AAErH,QAAA,sBAAsB,GAGjB,IAAA,+BAAgB,EAAC,+EAA4B,CAAC,CAAC;AACpD,QAAA,mBAAmB,GAGd,IAAA,+BAAgB,EAAC,4EAAyB,CAAC,CAAC;AACjD,QAAA,sBAAsB,GAGjB,IAAA,+BAAgB,EAAC,+EAA4B,CAAC,CAAC;AACpD,QAAA,sBAAsB,GAGjB,IAAA,+BAAgB,EAAC,+EAA4B,CAAC,CAAC;AACpD,QAAA,sBAAsB,GAGjB,IAAA,+BAAgB,EAAC,+EAA4B,CAAC,CAAC;AACpD,QAAA,0BAA0B,GAGrB,IAAA,+BAAgB,EAAC,mFAAgC,CAAC,CAAC;AACxD,QAAA,2BAA2B,GAGtB,IAAA,+BAAgB,EAAC,oFAAiC,CAAC,CAAC;AACtE
|
|
1
|
+
{"version":3,"file":"ecom-v1-checkout-template-checkout-templates.context.js","sourceRoot":"","sources":["../../../src/ecom-v1-checkout-template-checkout-templates.context.ts"],"names":[],"mappings":";;;AAAA,qIAQkE;AAClE,gEAAiE;AACjE,wFAA8E;AAE9E,qIAAwI;AACxI,qIAAwI;AACxI,qIAAwI;AACxI,qIAAkI;AAErH,QAAA,sBAAsB,GAGjB,IAAA,+BAAgB,EAAC,+EAA4B,CAAC,CAAC;AACpD,QAAA,mBAAmB,GAGd,IAAA,+BAAgB,EAAC,4EAAyB,CAAC,CAAC;AACjD,QAAA,sBAAsB,GAGjB,IAAA,+BAAgB,EAAC,+EAA4B,CAAC,CAAC;AACpD,QAAA,sBAAsB,GAGjB,IAAA,+BAAgB,EAAC,+EAA4B,CAAC,CAAC;AACpD,QAAA,sBAAsB,GAGjB,IAAA,+BAAgB,EAAC,+EAA4B,CAAC,CAAC;AACpD,QAAA,0BAA0B,GAGrB,IAAA,+BAAgB,EAAC,mFAAgC,CAAC,CAAC;AACxD,QAAA,2BAA2B,GAGtB,IAAA,+BAAgB,EAAC,oFAAiC,CAAC,CAAC;AACtE,MAAM;AACO,QAAA,yBAAyB,GAElC,IAAA,4CAAiB,EAAC,kFAA+B,CAAC,CAAC;AACvD,MAAM;AACO,QAAA,yBAAyB,GAElC,IAAA,4CAAiB,EAAC,kFAA+B,CAAC,CAAC;AACvD,MAAM;AACO,QAAA,yBAAyB,GAElC,IAAA,4CAAiB,EAAC,kFAA+B,CAAC,CAAC;AACvD,MAAM;AACO,QAAA,sBAAsB,GAE/B,IAAA,4CAAiB,EAAC,+EAA4B,CAAC,CAAC;AAEpD,yIA2BqE;AA1BnE,mJAAA,MAAM,OAAA;AACN,gKAAA,mBAAmB,OAAA;AACnB,8JAAA,iBAAiB,OAAA;AACjB,6JAAA,gBAAgB,OAAA;AAChB,kKAAA,qBAAqB,OAAA;AACrB,qJAAA,QAAQ,OAAA;AACR,+JAAA,kBAAkB,OAAA;AAClB,6JAAA,gBAAgB,OAAA;AAChB,mKAAA,sBAAsB,OAAA;AACtB,oJAAA,OAAO,OAAA;AACP,yJAAA,YAAY,OAAA;AACZ,uJAAA,UAAU,OAAA;AACV,qJAAA,QAAQ,OAAA;AACR,yJAAA,YAAY,OAAA;AACZ,uJAAA,UAAU,OAAA;AACV,qJAAA,QAAQ,OAAA;AACR,oKAAA,uBAAuB,OAAA;AACvB,2JAAA,cAAc,OAAA;AACd,wJAAA,WAAW,OAAA;AACX,gKAAA,mBAAmB,OAAA;AACnB,qJAAA,QAAQ,OAAA;AACR,wJAAA,WAAW,OAAA;AACX,2JAAA,cAAc,OAAA;AACd,yJAAA,YAAY,OAAA;AACZ,sJAAA,SAAS,OAAA;AACT,gKAAA,mBAAmB,OAAA"}
|
|
@@ -10,7 +10,8 @@ import { RequestOptionsFactory } from '@wix/sdk-types';
|
|
|
10
10
|
* using the checkout template to offer a flash sale to their social media followers, they may want to lock the option to apply an
|
|
11
11
|
* additional coupon on top of the sale being offered. If so, they can set `customization.lockedCoupon` to `true`.
|
|
12
12
|
*
|
|
13
|
-
* A checkout can be created with a checkout template by calling
|
|
13
|
+
* A checkout can be created with a checkout template by calling [Create Checkout From Template](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout-templates/create-checkout-from-template).
|
|
14
|
+
* The site may add further customizations to the new checkout and then redirect the customer using the new checkout's `checkoutUrl`.
|
|
14
15
|
*/
|
|
15
16
|
export declare function createCheckoutTemplate(payload: object): RequestOptionsFactory<any>;
|
|
16
17
|
/** Retrieves a checkout template. */
|
|
@@ -49,7 +50,7 @@ export declare function queryCheckoutTemplates(payload: object): RequestOptionsF
|
|
|
49
50
|
/**
|
|
50
51
|
* Creates a new checkout based on the checkout template.
|
|
51
52
|
*
|
|
52
|
-
* Before using this
|
|
53
|
+
* Before using this endpoint, you must have a checkout template available. Create a checkout template with [Create Checkout Template](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout-templates/create-checkout-template).
|
|
53
54
|
*
|
|
54
55
|
* The customer can be directed to the new checkout using the checkout's `checkoutUrl`.
|
|
55
56
|
*/
|
|
@@ -57,11 +58,11 @@ export declare function createCheckoutFromTemplate(payload: object): RequestOpti
|
|
|
57
58
|
/**
|
|
58
59
|
* Creates a new checkout based on the checkout template and redirects to the new checkout page.
|
|
59
60
|
*
|
|
60
|
-
* Before using this
|
|
61
|
+
* Before using this endpoint, you must have a checkout template available. Create a checkout template with [Create Checkout Template](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout-templates/create-checkout-template).
|
|
61
62
|
*
|
|
62
|
-
* To build a URL that uses this
|
|
63
|
+
* To build a URL that uses this endpoint, follow this format:
|
|
63
64
|
* `https://www.wixapis.com/ecom/v1/checkout-templates/{checkoutTemplateId}/create-and-redirect-to-checkout?siteId={siteId}`
|
|
64
65
|
*
|
|
65
|
-
* To create a checkout but not automatically redirect to the checkout page, use
|
|
66
|
+
* To create a checkout but not automatically redirect to the checkout page, use [Create Checkout From Template](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout-templates/create-checkout-from-template).
|
|
66
67
|
*/
|
|
67
68
|
export declare function createAndRedirectToCheckout(payload: object): RequestOptionsFactory<any>;
|
|
@@ -39,7 +39,8 @@ const PACKAGE_NAME = '@wix/auto_sdk_ecom_checkout-templates';
|
|
|
39
39
|
* using the checkout template to offer a flash sale to their social media followers, they may want to lock the option to apply an
|
|
40
40
|
* additional coupon on top of the sale being offered. If so, they can set `customization.lockedCoupon` to `true`.
|
|
41
41
|
*
|
|
42
|
-
* A checkout can be created with a checkout template by calling
|
|
42
|
+
* A checkout can be created with a checkout template by calling [Create Checkout From Template](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout-templates/create-checkout-from-template).
|
|
43
|
+
* The site may add further customizations to the new checkout and then redirect the customer using the new checkout's `checkoutUrl`.
|
|
43
44
|
*/
|
|
44
45
|
function createCheckoutTemplate(payload) {
|
|
45
46
|
function __createCheckoutTemplate({ host }) {
|
|
@@ -316,7 +317,7 @@ exports.queryCheckoutTemplates = queryCheckoutTemplates;
|
|
|
316
317
|
/**
|
|
317
318
|
* Creates a new checkout based on the checkout template.
|
|
318
319
|
*
|
|
319
|
-
* Before using this
|
|
320
|
+
* Before using this endpoint, you must have a checkout template available. Create a checkout template with [Create Checkout Template](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout-templates/create-checkout-template).
|
|
320
321
|
*
|
|
321
322
|
* The customer can be directed to the new checkout using the checkout's `checkoutUrl`.
|
|
322
323
|
*/
|
|
@@ -342,12 +343,12 @@ exports.createCheckoutFromTemplate = createCheckoutFromTemplate;
|
|
|
342
343
|
/**
|
|
343
344
|
* Creates a new checkout based on the checkout template and redirects to the new checkout page.
|
|
344
345
|
*
|
|
345
|
-
* Before using this
|
|
346
|
+
* Before using this endpoint, you must have a checkout template available. Create a checkout template with [Create Checkout Template](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout-templates/create-checkout-template).
|
|
346
347
|
*
|
|
347
|
-
* To build a URL that uses this
|
|
348
|
+
* To build a URL that uses this endpoint, follow this format:
|
|
348
349
|
* `https://www.wixapis.com/ecom/v1/checkout-templates/{checkoutTemplateId}/create-and-redirect-to-checkout?siteId={siteId}`
|
|
349
350
|
*
|
|
350
|
-
* To create a checkout but not automatically redirect to the checkout page, use
|
|
351
|
+
* To create a checkout but not automatically redirect to the checkout page, use [Create Checkout From Template](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout-templates/create-checkout-from-template).
|
|
351
352
|
*/
|
|
352
353
|
function createAndRedirectToCheckout(payload) {
|
|
353
354
|
function __createAndRedirectToCheckout({ host }) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-checkout-template-checkout-templates.http.js","sourceRoot":"","sources":["../../../src/ecom-v1-checkout-template-checkout-templates.http.ts"],"names":[],"mappings":";;;AAAA,gEAAkE;AAClE,kEAAsF;AACtF,kEAAsF;AACtF,kEAAsF;AACtF,0EAAkG;AAClG,0EAAkG;AAClG,4EAAmG;AACnG,sFAAkF;AAClF,gEAA2D;AAI3D,SAAS,6DAA6D,CACpE,IAA8C;IAE9C,MAAM,gBAAgB,GAAG;QACvB,mBAAmB,EAAE;YACnB;gBACE,OAAO,EAAE,6BAA6B;gBACtC,QAAQ,EAAE,wBAAwB;aACnC;SACF;QACD,iBAAiB,EAAE;YACjB;gBACE,OAAO,EAAE,6BAA6B;gBACtC,QAAQ,EAAE,wBAAwB;aACnC;SACF;KACF,CAAC;IAEF,OAAO,IAAA,yBAAU,EAAC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,EAAE,gBAAgB,EAAE,CAAC,CAAC,CAAC;AAC/D,CAAC;AAED,MAAM,YAAY,GAAG,uCAAuC,CAAC;AAE7D
|
|
1
|
+
{"version":3,"file":"ecom-v1-checkout-template-checkout-templates.http.js","sourceRoot":"","sources":["../../../src/ecom-v1-checkout-template-checkout-templates.http.ts"],"names":[],"mappings":";;;AAAA,gEAAkE;AAClE,kEAAsF;AACtF,kE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,EAAE,MAAM,EAAE,CAAC;iBAC1B;aACF,CAAC;SACL,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,OAAO,6BAA6B,CAAC;AACvC,CAAC;AA9BD,kEA8BC"}
|
|
@@ -16,7 +16,8 @@ interface CreateCheckoutTemplateSignature {
|
|
|
16
16
|
* using the checkout template to offer a flash sale to their social media followers, they may want to lock the option to apply an
|
|
17
17
|
* additional coupon on top of the sale being offered. If so, they can set `customization.lockedCoupon` to `true`.
|
|
18
18
|
*
|
|
19
|
-
* A checkout can be created with a checkout template by calling
|
|
19
|
+
* A checkout can be created with a checkout template by calling [Create Checkout From Template](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout-templates/create-checkout-from-template).
|
|
20
|
+
* The site may add further customizations to the new checkout and then redirect the customer using the new checkout's `checkoutUrl`.
|
|
20
21
|
* @param - Checkout template to create.
|
|
21
22
|
* @returns Created checkout template.
|
|
22
23
|
*/
|
|
@@ -80,7 +81,7 @@ interface CreateCheckoutFromTemplateSignature {
|
|
|
80
81
|
/**
|
|
81
82
|
* Creates a new checkout based on the checkout template.
|
|
82
83
|
*
|
|
83
|
-
* Before using this
|
|
84
|
+
* Before using this endpoint, you must have a checkout template available. Create a checkout template with [Create Checkout Template](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout-templates/create-checkout-template).
|
|
84
85
|
*
|
|
85
86
|
* The customer can be directed to the new checkout using the checkout's `checkoutUrl`.
|
|
86
87
|
* @param - ID of the checkout template to use to create a checkout from.
|
|
@@ -93,12 +94,12 @@ interface CreateAndRedirectToCheckoutSignature {
|
|
|
93
94
|
/**
|
|
94
95
|
* Creates a new checkout based on the checkout template and redirects to the new checkout page.
|
|
95
96
|
*
|
|
96
|
-
* Before using this
|
|
97
|
+
* Before using this endpoint, you must have a checkout template available. Create a checkout template with [Create Checkout Template](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout-templates/create-checkout-template).
|
|
97
98
|
*
|
|
98
|
-
* To build a URL that uses this
|
|
99
|
+
* To build a URL that uses this endpoint, follow this format:
|
|
99
100
|
* `https://www.wixapis.com/ecom/v1/checkout-templates/{checkoutTemplateId}/create-and-redirect-to-checkout?siteId={siteId}`
|
|
100
101
|
*
|
|
101
|
-
* To create a checkout but not automatically redirect to the checkout page, use
|
|
102
|
+
* To create a checkout but not automatically redirect to the checkout page, use [Create Checkout From Template](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout-templates/create-checkout-from-template).
|
|
102
103
|
* @param - ID of the checkout template to use to create a checkout.
|
|
103
104
|
* @param - ID of the site associated with the checkout template.
|
|
104
105
|
*/
|
|
@@ -108,4 +109,4 @@ export declare const onCheckoutTemplateCreated: EventDefinition<CheckoutTemplate
|
|
|
108
109
|
export declare const onCheckoutTemplateDeleted: EventDefinition<CheckoutTemplateDeletedEnvelope, "wix.ecom.v1.checkout_template_deleted">;
|
|
109
110
|
export declare const onCheckoutTemplateUpdated: EventDefinition<CheckoutTemplateUpdatedEnvelope, "wix.ecom.v1.checkout_template_updated">;
|
|
110
111
|
export declare const onCheckoutTemplateUsed: EventDefinition<CheckoutTemplateUsedEnvelope, "wix.ecom.v1.checkout_template_used">;
|
|
111
|
-
export { ActionEvent, AdditionalFee, AdditionalFeeSource, Address, AddressLocation, AddressWithContact, AggregatedTaxBreakdown, ApplicableLineItems, ApplicationError, AppliedDiscount, AppliedDiscountDiscountSourceOneOf, AutoTaxFallbackCalculationDetails, BaseEventMetadata, BuyerInfo, BuyerInfoIdOneOf, CalculationErrors, CalculationErrorsShippingCalculationErrorOneOf, Carrier, CarrierError, CarrierErrors, CarrierServiceOption, CatalogOverrideFields, CatalogReference, ChannelType, ChargeType, Checkout, CheckoutCustomization, CheckoutTemplate, CheckoutTemplateCreatedEnvelope, CheckoutTemplateDeletedEnvelope, CheckoutTemplateNonNullableFields, CheckoutTemplateUpdatedEnvelope, CheckoutTemplateUsed, CheckoutTemplateUsedEnvelope, CheckoutTemplatesQueryBuilder, CheckoutTemplatesQueryResult, Color, ConversionInfo, Coupon, CreateAndRedirectToCheckoutRequest, CreateCheckoutFromTemplateRequest, CreateCheckoutFromTemplateResponse, CreateCheckoutFromTemplateResponseNonNullableFields, CreateCheckoutTemplateRequest, CreateCheckoutTemplateResponse, CreateCheckoutTemplateResponseNonNullableFields, CreatedBy, CreatedByIdOneOf, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomContentReference, CustomField, CustomLineItem, CustomSettings, DeleteCheckoutTemplateRequest, DeleteCheckoutTemplateResponse, DeliveryAllocation, DeliveryLogistics, DeliveryTimeSlot, Description, DescriptionLine, DescriptionLineDescriptionLineValueOneOf, DescriptionLineName, DescriptionLineType, DescriptionLineValueOneOf, Details, DetailsKindOneOf, DiscountRule, DiscountRuleName, DiscountType, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, ExternalReference, FallbackReason, FieldViolation, FileType, FocalPoint, FreeTrialPeriod, FullAddressContactDetails, GetCheckoutTemplateRequest, GetCheckoutTemplateResponse, GetCheckoutTemplateResponseNonNullableFields, GiftCard, Group, HeadersEntry, IdentificationData, IdentificationDataIdOneOf, InvalidMembership, ItemAvailabilityInfo, ItemAvailabilityStatus, ItemTaxFullDetails, ItemType, ItemTypeItemType, ItemTypeItemTypeDataOneOf, JurisdictionType, LineItem, LineItemDiscount, ManualCalculationReason, Membership, MembershipName, MembershipOptions, MembershipPaymentCredits, MerchantDiscount, MessageEnvelope, MultiCurrencyPrice, NameInLineItem, NameInOther, Other, OtherCharge, PaymentOption, PaymentOptionType, PhysicalProperties, PickupDetails, PickupMethod, PlainTextValue, Policy, PriceDescription, PriceSummary, ProductName, QueryCheckoutTemplatesRequest, QueryCheckoutTemplatesResponse, QueryCheckoutTemplatesResponseNonNullableFields, RateType, RawHttpResponse, RawHttpResponseNonNullableFields, Region, RestoreInfo, RuleType, Scope, SecuredMedia, SelectedCarrierServiceOption, SelectedCarrierServiceOptionOtherCharge, SelectedCarrierServiceOptionPrices, SelectedMembership, SelectedMemberships, ServiceProperties, Severity, ShippingInfo, ShippingOption, ShippingPrice, ShippingRegion, SortOrder, Sorting, Status, StreetAddress, SubscriptionFrequency, SubscriptionOptionInfo, SubscriptionSettings, SuggestedFix, SystemError, Target, TargetLineItem, TargetTargetTypeOneOf, TaxBreakdown, TaxCalculationDetails, TaxCalculationDetailsCalculationDetailsOneOf, TaxRateBreakdown, TaxSummary, TaxableAddress, TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, Title, UpdateCheckoutTemplate, UpdateCheckoutTemplateRequest, UpdateCheckoutTemplateResponse, UpdateCheckoutTemplateResponseNonNullableFields, V1LineItem, ValidationError, VatId, VatType, Violation, WebClientCustomization, WebhookIdentityType, WeightUnit, } from './ecom-v1-checkout-template-checkout-templates.universal.js';
|
|
112
|
+
export { ActionEvent, AdditionalFee, AdditionalFeeSource, Address, AddressLocation, AddressWithContact, AggregatedTaxBreakdown, ApplicableLineItems, ApplicationError, AppliedDiscount, AppliedDiscountDiscountSourceOneOf, AutoTaxFallbackCalculationDetails, BaseEventMetadata, BuyerInfo, BuyerInfoIdOneOf, CalculationErrors, CalculationErrorsShippingCalculationErrorOneOf, Carrier, CarrierError, CarrierErrors, CarrierServiceOption, CatalogOverrideFields, CatalogReference, ChannelType, Charge, ChargeType, Checkout, CheckoutCustomization, CheckoutTemplate, CheckoutTemplateCreatedEnvelope, CheckoutTemplateDeletedEnvelope, CheckoutTemplateNonNullableFields, CheckoutTemplateUpdatedEnvelope, CheckoutTemplateUsed, CheckoutTemplateUsedEnvelope, CheckoutTemplatesQueryBuilder, CheckoutTemplatesQueryResult, Color, ConversionInfo, Coupon, CreateAndRedirectToCheckoutRequest, CreateCheckoutFromTemplateRequest, CreateCheckoutFromTemplateResponse, CreateCheckoutFromTemplateResponseNonNullableFields, CreateCheckoutTemplateRequest, CreateCheckoutTemplateResponse, CreateCheckoutTemplateResponseNonNullableFields, CreatedBy, CreatedByIdOneOf, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomContentReference, CustomField, CustomLineItem, CustomSettings, DeleteCheckoutTemplateRequest, DeleteCheckoutTemplateResponse, DeliveryAllocation, DeliveryLogistics, DeliveryTimeSlot, Description, DescriptionLine, DescriptionLineDescriptionLineValueOneOf, DescriptionLineName, DescriptionLineType, DescriptionLineValueOneOf, Details, DetailsKindOneOf, DiscountRule, DiscountRuleName, DiscountType, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, ExternalReference, FallbackReason, FieldViolation, FileType, FocalPoint, FreeTrialPeriod, FullAddressContactDetails, GetCheckoutTemplateRequest, GetCheckoutTemplateResponse, GetCheckoutTemplateResponseNonNullableFields, GiftCard, Group, HeadersEntry, IdentificationData, IdentificationDataIdOneOf, InvalidMembership, ItemAvailabilityInfo, ItemAvailabilityStatus, ItemTaxFullDetails, ItemType, ItemTypeItemType, ItemTypeItemTypeDataOneOf, JurisdictionType, LineItem, LineItemDiscount, ManualCalculationReason, Membership, MembershipName, MembershipOptions, MembershipPaymentCredits, MerchantDiscount, MessageEnvelope, MultiCurrencyPrice, NameInLineItem, NameInOther, Other, OtherCharge, PaymentOption, PaymentOptionType, PhysicalProperties, PickupDetails, PickupMethod, PlainTextValue, Policy, PriceDescription, PriceSummary, ProductName, QueryCheckoutTemplatesRequest, QueryCheckoutTemplatesResponse, QueryCheckoutTemplatesResponseNonNullableFields, RateType, RawHttpResponse, RawHttpResponseNonNullableFields, Region, RestoreInfo, RuleType, Scope, SecuredMedia, SelectedCarrierServiceOption, SelectedCarrierServiceOptionOtherCharge, SelectedCarrierServiceOptionPrices, SelectedMembership, SelectedMemberships, ServiceProperties, Severity, ShippingInfo, ShippingOption, ShippingPrice, ShippingRegion, SortOrder, Sorting, Status, StreetAddress, SubscriptionCharges, SubscriptionFrequency, SubscriptionOptionInfo, SubscriptionSettings, SuggestedFix, SystemError, Target, TargetLineItem, TargetTargetTypeOneOf, TaxBreakdown, TaxCalculationDetails, TaxCalculationDetailsCalculationDetailsOneOf, TaxRateBreakdown, TaxSummary, TaxableAddress, TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, Title, UpdateCheckoutTemplate, UpdateCheckoutTemplateRequest, UpdateCheckoutTemplateResponse, UpdateCheckoutTemplateResponseNonNullableFields, V1LineItem, ValidationError, VatId, VatType, Violation, WebClientCustomization, WebhookIdentityType, WeightUnit, } from './ecom-v1-checkout-template-checkout-templates.universal.js';
|
|
@@ -221,6 +221,9 @@ exports.onCheckoutTemplateUsed = (0, sdk_types_1.EventDefinition)('wix.ecom.v1.c
|
|
|
221
221
|
{
|
|
222
222
|
path: 'data.checkout.membershipOptions.invalidMemberships.membership.expirationDate',
|
|
223
223
|
},
|
|
224
|
+
{
|
|
225
|
+
path: 'data.checkout.subscriptionCharges.charges.cycleBillingDate',
|
|
226
|
+
},
|
|
224
227
|
{ path: 'metadata.eventTime' },
|
|
225
228
|
],
|
|
226
229
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecom-v1-checkout-template-checkout-templates.public.js","sourceRoot":"","sources":["../../../src/ecom-v1-checkout-template-checkout-templates.public.ts"],"names":[],"mappings":";;;AAAA,oFAAkG;AAClG,sEAA4F;AAC5F,kEAAsF;AACtF,kEAAsF;AACtF,8EAAoG;AACpG,0EAAkG;AAClG,sFAAkF;AAClF,8CAA6D;AAC7D,2IAoBqE;AAExD,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,WAAW,EAAE,CAAC;AAExD,SAAgB,sBAAsB,CACpC,UAAsB;IAEtB,OAAO,CAAC,gBAAkC,EAAE,EAAE,CAC5C,IAAA,kFAA+B,EAC7B,gBAAgB;IAChB,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AATD,wDASC;
|
|
1
|
+
{"version":3,"file":"ecom-v1-checkout-template-checkout-templates.public.js","sourceRoot":"","sources":["../../../src/ecom-v1-checkout-template-checkout-templates.public.ts"],"names":[],"mappings":";;;AAAA,oFAAkG;AAClG,sEAA4F;AAC5F,kEAAsF;AACtF,kEAAsF;AACtF,8EAAoG;AACpG,0EAAkG;AAClG,sFAAkF;AAClF,8CAA6D;AAC7D,2IAoBqE;AAExD,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,WAAW,EAAE,CAAC;AAExD,SAAgB,sBAAsB,CACpC,UAAsB;IAEtB,OAAO,CAAC,gBAAkC,EAAE,EAAE,CAC5C,IAAA,kFAA+B,EAC7B,gBAAgB;IAChB,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AATD,wDASC;AAwBD,SAAgB,mBAAmB,CACjC,UAAsB;IAEtB,OAAO,CAAC,kBAA0B,EAAE,EAAE,CACpC,IAAA,+EAA4B,EAC1B,kBAAkB;IAClB,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AATD,kDASC;AAaD,SAAgB,sBAAsB,CACpC,UAAsB;IAEtB,OAAO,CAAC,GAAkB,EAAE,gBAAwC,EAAE,EAAE,CACtE,IAAA,kFAA+B,EAC7B,GAAG,EACH,gBAAgB;IAChB,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAVD,wDAUC;AAiBD,SAAgB,sBAAsB,CACpC,UAAsB;IAEtB,OAAO,CAAC,kBAA0B,EAAE,EAAE,CACpC,IAAA,kFAA+B,EAC7B,kBAAkB;IAClB,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AATD,wDASC;AAaD,SAAgB,sBAAsB,CACpC,UAAsB;IAEtB,OAAO,GAAG,EAAE,CACV,IAAA,kFAA+B;IAC7B,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,wDAQC;AAsBD,SAAgB,0BAA0B,CACxC,UAAsB;IAEtB,OAAO,CAAC,kBAA0B,EAAE,MAA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