@wix/auto_sdk_ecom_checkout-templates 1.0.113 → 1.0.114
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 +8 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +5 -1
- package/build/cjs/index.typings.js +8 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +5 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +5 -1
- package/build/es/index.typings.mjs +5 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +8 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +5 -1
- package/build/internal/cjs/index.typings.js +8 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +5 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +5 -1
- package/build/internal/es/index.typings.mjs +5 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/package.json +4 -4
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
2
|
import { CheckoutTemplate, CreateCheckoutTemplateApplicationErrors, UpdateCheckoutTemplate, UpdateCheckoutTemplateApplicationErrors, CreateCheckoutFromTemplateResponse, CreateCheckoutFromTemplateApplicationErrors, RawHttpResponse, CreateAndRedirectToCheckoutApplicationErrors, CheckoutTemplateCreatedEnvelope, CheckoutTemplateDeletedEnvelope, CheckoutTemplateUpdatedEnvelope, CheckoutTemplateUsedEnvelope, CheckoutTemplatesQueryBuilder, CheckoutTemplateQuery, typedQueryCheckoutTemplates } from './index.typings.js';
|
|
3
|
-
export { AccountInfo, AccountInfoMetadata, ActionEvent, AdditionalFee, AdditionalFeeSource, AdditionalFeeSourceWithLiterals, Address, AddressLocation, AddressWithContact, AggregatedTaxBreakdown, ApplicableLineItems, ApplicationError, AppliedDiscount, AppliedDiscountDiscountSourceOneOf, AutoTaxFallbackCalculationDetails, BalanceType, BalanceTypeWithLiterals, BaseEventMetadata, BuyerInfo, BuyerInfoIdOneOf, CalculationErrors, CalculationErrorsShippingCalculationErrorOneOf, Carrier, CarrierError, CarrierErrors, CarrierServiceOption, CatalogOverrideFields, CatalogReference, ChannelType, ChannelTypeWithLiterals, Charge, ChargeType, ChargeTypeWithLiterals, Checkout, CheckoutCustomization, CheckoutTemplateQuerySpec, CheckoutTemplateUsed, CheckoutTemplatesQueryResult, Color, CommonQueryWithEntityContext, ConversionInfo, Coupon, CreateAndRedirectToCheckoutRequest, CreateCheckoutFromTemplateRequest, CreateCheckoutTemplateRequest, CreateCheckoutTemplateResponse, CreatedBy, CreatedByIdOneOf, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomContentReference, CustomField, CustomLineItem, CustomSettings, DeleteCheckoutTemplateRequest, DeleteCheckoutTemplateResponse, DeliveryAllocation, DeliveryLogistics, DeliveryTimeSlot, Description, DescriptionLine, DescriptionLineDescriptionLineValueOneOf, DescriptionLineName, DescriptionLineType, DescriptionLineTypeWithLiterals, DescriptionLineValueOneOf, Details, DetailsKindOneOf, Dimensions, DimensionsUnit, DimensionsUnitWithLiterals, DiscountRule, DiscountRuleName, DiscountType, DiscountTypeWithLiterals, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, ExternalReference, FallbackReason, FallbackReasonWithLiterals, FieldViolation, FileType, FileTypeWithLiterals, FocalPoint, FreeTrialPeriod, FullAddressContactDetails, GetCheckoutTemplateRequest, GetCheckoutTemplateResponse, GiftCard, Group, HeadersEntry, IdentificationData, IdentificationDataIdOneOf, InvalidMembership, ItemAvailabilityInfo, ItemAvailabilityStatus, ItemAvailabilityStatusWithLiterals, ItemCombination, ItemCombinationLineItem, ItemModifier, ItemTaxFullDetails, ItemType, ItemTypeItemTypeDataOneOf, ItemTypePreset, ItemTypePresetWithLiterals, JurisdictionType, JurisdictionTypeWithLiterals, LineItem, LineItemDiscount, ManualCalculationReason, ManualCalculationReasonWithLiterals, Membership, MembershipName, MembershipOptions, MembershipPaymentCredits, MerchantDiscount, MessageEnvelope, ModifierGroup, MultiCurrencyPrice, NameInLineItem, NameInLineItemWithLiterals, NameInOther, NameInOtherWithLiterals, Other, OtherCharge, PaymentOption, PaymentOptionType, PaymentOptionTypeWithLiterals, PhysicalProperties, PickupDetails, PickupMethod, PickupMethodWithLiterals, PlainTextValue, PlatformFee, PlatformFeeChargeType, PlatformFeeChargeTypeWithLiterals, Policy, PriceDescription, PriceSummary, ProductName, QueryCheckoutTemplatesRequest, QueryCheckoutTemplatesResponse, RateType, RateTypeWithLiterals, Region, RestoreInfo, RuleType, RuleTypeWithLiterals, Scope, SecuredMedia, SelectedCarrierServiceOption, SelectedCarrierServiceOptionOtherCharge, SelectedCarrierServiceOptionPrices, SelectedMembership, SelectedMemberships, ServiceProperties, Severity, SeverityWithLiterals, ShippingInfo, ShippingOption, ShippingPrice, ShippingRegion, SortOrder, SortOrderWithLiterals, Sorting, Status, StatusWithLiterals, StreetAddress, SubscriptionCharges, SubscriptionFrequency, SubscriptionFrequencyWithLiterals, SubscriptionOptionInfo, SubscriptionSettings, SuggestedFix, SuggestedFixWithLiterals, SystemError, Target, TargetLineItem, TargetTargetTypeOneOf, TaxBreakdown, TaxCalculationDetails, TaxCalculationDetailsCalculationDetailsOneOf, TaxRateBreakdown, TaxSummary, TaxableAddress, TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, TaxableAddressTypeWithLiterals, Title, TranslatableString, UpdateCheckoutTemplateRequest, UpdateCheckoutTemplateResponse, V1ItemModifier, V1LineItem, V1ModifierGroup, ValidationError, VatId, VatType, VatTypeWithLiterals, Violation, WebClientCustomization, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WeightUnit, WeightUnitWithLiterals } from './index.typings.js';
|
|
3
|
+
export { AccountInfo, AccountInfoMetadata, ActionEvent, AdditionalFee, AdditionalFeeSource, AdditionalFeeSourceWithLiterals, Address, AddressLocation, AddressWithContact, AggregatedTaxBreakdown, ApplicableLineItems, ApplicationError, AppliedDiscount, AppliedDiscountDiscountSourceOneOf, AutoTaxFallbackCalculationDetails, BalanceType, BalanceTypeWithLiterals, BaseEventMetadata, BuyerInfo, BuyerInfoIdOneOf, CalculationErrors, CalculationErrorsShippingCalculationErrorOneOf, Carrier, CarrierError, CarrierErrors, CarrierServiceOption, CatalogOverrideFields, CatalogReference, ChannelType, ChannelTypeWithLiterals, Charge, ChargeType, ChargeTypeWithLiterals, Checkout, CheckoutCustomization, CheckoutTemplateQuerySpec, CheckoutTemplateUsed, CheckoutTemplatesQueryResult, Color, CommonQueryWithEntityContext, ConversionInfo, Coupon, CreateAndRedirectToCheckoutRequest, CreateCheckoutFromTemplateRequest, CreateCheckoutTemplateRequest, CreateCheckoutTemplateResponse, CreatedBy, CreatedByIdOneOf, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomContentReference, CustomField, CustomLineItem, CustomSettings, DeleteCheckoutTemplateRequest, DeleteCheckoutTemplateResponse, DeliveryAllocation, DeliveryLogistics, DeliveryTimeSlot, Description, DescriptionLine, DescriptionLineDescriptionLineValueOneOf, DescriptionLineName, DescriptionLineType, DescriptionLineTypeWithLiterals, DescriptionLineValueOneOf, Details, DetailsKindOneOf, Dimensions, DimensionsUnit, DimensionsUnitWithLiterals, DiscountRule, DiscountRuleName, DiscountType, DiscountTypeWithLiterals, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, ExternalReference, FallbackReason, FallbackReasonWithLiterals, FieldViolation, FileType, FileTypeWithLiterals, Filter, FocalPoint, FreeTrialPeriod, FullAddressContactDetails, GetCheckoutTemplateRequest, GetCheckoutTemplateResponse, GiftCard, Group, HeadersEntry, IdentificationData, IdentificationDataIdOneOf, InvalidMembership, ItemAvailabilityInfo, ItemAvailabilityStatus, ItemAvailabilityStatusWithLiterals, ItemCombination, ItemCombinationLineItem, ItemModifier, ItemTaxFullDetails, ItemType, ItemTypeItemTypeDataOneOf, ItemTypePreset, ItemTypePresetWithLiterals, JurisdictionType, JurisdictionTypeWithLiterals, LineItem, LineItemDiscount, ManualCalculationReason, ManualCalculationReasonWithLiterals, Membership, MembershipName, MembershipOptions, MembershipPaymentCredits, MerchantDiscount, MessageEnvelope, ModifierGroup, MultiCurrencyPrice, NameInLineItem, NameInLineItemWithLiterals, NameInOther, NameInOtherWithLiterals, Other, OtherCharge, PaymentOption, PaymentOptionType, PaymentOptionTypeWithLiterals, PhysicalProperties, PickupDetails, PickupMethod, PickupMethodWithLiterals, PlainTextValue, PlatformFee, PlatformFeeChargeType, PlatformFeeChargeTypeWithLiterals, Policy, PriceDescription, PriceSummary, ProductName, QueryBuilder, QueryCheckoutTemplatesRequest, QueryCheckoutTemplatesResponse, RateType, RateTypeWithLiterals, Region, RestoreInfo, RuleType, RuleTypeWithLiterals, Scope, SecuredMedia, SelectedCarrierServiceOption, SelectedCarrierServiceOptionOtherCharge, SelectedCarrierServiceOptionPrices, SelectedMembership, SelectedMemberships, ServiceProperties, Severity, SeverityWithLiterals, ShippingInfo, ShippingOption, ShippingPrice, ShippingRegion, Sort, SortOrder, SortOrderWithLiterals, Sorting, Status, StatusWithLiterals, StreetAddress, SubscriptionCharges, SubscriptionFrequency, SubscriptionFrequencyWithLiterals, SubscriptionOptionInfo, SubscriptionSettings, SuggestedFix, SuggestedFixWithLiterals, SystemError, Target, TargetLineItem, TargetTargetTypeOneOf, TaxBreakdown, TaxCalculationDetails, TaxCalculationDetailsCalculationDetailsOneOf, TaxRateBreakdown, TaxSummary, TaxableAddress, TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, TaxableAddressTypeWithLiterals, Title, TranslatableString, UpdateCheckoutTemplateRequest, UpdateCheckoutTemplateResponse, V1ItemModifier, V1LineItem, V1ModifierGroup, ValidationError, VatId, VatType, VatTypeWithLiterals, Violation, WebClientCustomization, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WeightUnit, WeightUnitWithLiterals } from './index.typings.js';
|
|
4
4
|
|
|
5
5
|
declare function createCheckoutTemplate$1(httpClient: HttpClient): CreateCheckoutTemplateSignature;
|
|
6
6
|
interface CreateCheckoutTemplateSignature {
|
package/build/cjs/index.js
CHANGED
|
@@ -29,6 +29,7 @@ __export(index_exports, {
|
|
|
29
29
|
DiscountType: () => DiscountType,
|
|
30
30
|
FallbackReason: () => FallbackReason,
|
|
31
31
|
FileType: () => FileType,
|
|
32
|
+
Filter: () => Filter,
|
|
32
33
|
ItemAvailabilityStatus: () => ItemAvailabilityStatus,
|
|
33
34
|
ItemTypePreset: () => ItemTypePreset,
|
|
34
35
|
JurisdictionType: () => JurisdictionType,
|
|
@@ -38,9 +39,11 @@ __export(index_exports, {
|
|
|
38
39
|
PaymentOptionType: () => PaymentOptionType,
|
|
39
40
|
PickupMethod: () => PickupMethod,
|
|
40
41
|
PlatformFeeChargeType: () => PlatformFeeChargeType,
|
|
42
|
+
QueryBuilder: () => QueryBuilder,
|
|
41
43
|
RateType: () => RateType,
|
|
42
44
|
RuleType: () => RuleType,
|
|
43
45
|
Severity: () => Severity,
|
|
46
|
+
Sort: () => Sort,
|
|
44
47
|
SortOrder: () => SortOrder,
|
|
45
48
|
Status: () => Status,
|
|
46
49
|
SubscriptionFrequency: () => SubscriptionFrequency,
|
|
@@ -450,6 +453,7 @@ var import_image2 = require("@wix/sdk-runtime/transformations/image");
|
|
|
450
453
|
var import_page_url_v2 = require("@wix/sdk-runtime/transformations/page-url-v2");
|
|
451
454
|
var import_page_url_v22 = require("@wix/sdk-runtime/transformations/page-url-v2");
|
|
452
455
|
var import_transform_paths2 = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
456
|
+
var import_query_builder_utils = require("@wix/sdk-runtime/query-builder-utils");
|
|
453
457
|
var Status = /* @__PURE__ */ ((Status2) => {
|
|
454
458
|
Status2["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
|
|
455
459
|
Status2["ACTIVE"] = "ACTIVE";
|
|
@@ -938,6 +942,7 @@ async function typedQueryCheckoutTemplates(query) {
|
|
|
938
942
|
throw transformedError;
|
|
939
943
|
}
|
|
940
944
|
}
|
|
945
|
+
var { QueryBuilder, Filter, Sort } = (0, import_query_builder_utils.createQueryUtils)();
|
|
941
946
|
async function createCheckoutFromTemplate2(checkoutTemplateId, siteId) {
|
|
942
947
|
const { httpClient, sideEffects } = arguments[2];
|
|
943
948
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
@@ -1321,6 +1326,7 @@ var onCheckoutTemplateUsed2 = (0, import_event_definition_modules.createEventMod
|
|
|
1321
1326
|
DiscountType,
|
|
1322
1327
|
FallbackReason,
|
|
1323
1328
|
FileType,
|
|
1329
|
+
Filter,
|
|
1324
1330
|
ItemAvailabilityStatus,
|
|
1325
1331
|
ItemTypePreset,
|
|
1326
1332
|
JurisdictionType,
|
|
@@ -1330,9 +1336,11 @@ var onCheckoutTemplateUsed2 = (0, import_event_definition_modules.createEventMod
|
|
|
1330
1336
|
PaymentOptionType,
|
|
1331
1337
|
PickupMethod,
|
|
1332
1338
|
PlatformFeeChargeType,
|
|
1339
|
+
QueryBuilder,
|
|
1333
1340
|
RateType,
|
|
1334
1341
|
RuleType,
|
|
1335
1342
|
Severity,
|
|
1343
|
+
Sort,
|
|
1336
1344
|
SortOrder,
|
|
1337
1345
|
Status,
|
|
1338
1346
|
SubscriptionFrequency,
|