@wix/auto_sdk_ecom_validations 1.0.61 → 1.0.62
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 +2 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/{interfaces-ecommerce-v1-validations-provider.public-DqSMj0EX.d.ts → interfaces-ecommerce-v1-validations-provider.public-COvWdzXg.d.ts} +23 -2
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/{interfaces-ecommerce-v1-validations-provider.public-DqSMj0EX.d.mts → interfaces-ecommerce-v1-validations-provider.public-COvWdzXg.d.mts} +23 -2
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/{interfaces-ecommerce-v1-validations-provider.public-DG07ctt6.d.ts → interfaces-ecommerce-v1-validations-provider.public-D9fxNOpt.d.ts} +32 -2
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/{interfaces-ecommerce-v1-validations-provider.public-DG07ctt6.d.mts → interfaces-ecommerce-v1-validations-provider.public-D9fxNOpt.d.mts} +32 -2
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as provideHandlers$1 } from './interfaces-ecommerce-v1-validations-provider.public-
|
|
2
|
-
export {
|
|
1
|
+
import { p as provideHandlers$1 } from './interfaces-ecommerce-v1-validations-provider.public-D9fxNOpt.mjs';
|
|
2
|
+
export { s as Address, u as AddressLocation, A as AddressWithContact, N as ApplicableLineItems, X as AppliedDiscount, Y as AppliedDiscountDiscountSourceOneOf, i as BillingSettings, B as BuyerDetails, K as Carrier, C as CatalogReference, af as Context, _ as Coupon, U as CustomField, Q as CustomFields, k as CyclePriceOverride, H as DeliveryAllocation, O as DeliveryTimeSlot, l as Description, D as Dimensions, c as DimensionsUnit, a0 as DiscountRule, a1 as DiscountRuleName, Z as DiscountType, a3 as ExtendedFields, a2 as ExternalReference, F as FreeTrialPeriod, v as FullAddressContactDetails, G as GetValidationViolationsRequest, a4 as GetValidationViolationsResponse, q as GiftCard, ah as IdentificationData, ai as IdentificationDataIdOneOf, ag as IdentityType, n as ItemTaxFullDetails, I as ItemType, d as ItemTypeItemTypeDataOneOf, e as ItemTypePreset, J as JurisdictionType, L as LineItem, m as LineItemPricesData, $ as MerchantDiscount, M as MultiCurrencyPrice, aa as NameInLineItem, a9 as NameInOther, ac as Other, b as PhysicalProperties, r as PriceSummary, P as ProductName, j as ProductPeriodAlignment, R as Region, z as SelectedCarrierServiceOption, E as SelectedCarrierServiceOptionPrices, a6 as Severity, y as ShippingInfo, a as Source, S as SourceInfo, t as StreetAddress, h as SubscriptionFrequency, f as SubscriptionOptionInfo, g as SubscriptionSettings, ab as SuggestedFix, a7 as Target, ad as TargetLineItem, a8 as TargetTargetTypeOneOf, o as TaxBreakdown, T as Title, V as ValidationInfo, ae as ValidationsSPIConfig, w as VatId, x as VatType, a5 as Violation, W as WeightUnit } from './interfaces-ecommerce-v1-validations-provider.public-D9fxNOpt.mjs';
|
|
3
3
|
import { BuildServicePluginDefinition } from '@wix/sdk-types';
|
|
4
4
|
|
|
5
5
|
declare const provideHandlers: BuildServicePluginDefinition<typeof provideHandlers$1> & typeof provideHandlers$1;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { aj as GetValidationViolationsEnvelope, a4 as GetValidationViolationsResponse } from './interfaces-ecommerce-v1-validations-provider.public-D9fxNOpt.mjs';
|
|
2
|
+
export { s as Address, u as AddressLocation, A as AddressWithContact, N as ApplicableLineItems, X as AppliedDiscount, Y as AppliedDiscountDiscountSourceOneOf, i as BillingSettings, B as BuyerDetails, K as Carrier, C as CatalogReference, af as Context, _ as Coupon, U as CustomField, Q as CustomFields, k as CyclePriceOverride, H as DeliveryAllocation, O as DeliveryTimeSlot, l as Description, D as Dimensions, c as DimensionsUnit, a0 as DiscountRule, a1 as DiscountRuleName, Z as DiscountType, a3 as ExtendedFields, a2 as ExternalReference, F as FreeTrialPeriod, v as FullAddressContactDetails, G as GetValidationViolationsRequest, q as GiftCard, ah as IdentificationData, ai as IdentificationDataIdOneOf, ag as IdentityType, n as ItemTaxFullDetails, I as ItemType, d as ItemTypeItemTypeDataOneOf, e as ItemTypePreset, J as JurisdictionType, L as LineItem, m as LineItemPricesData, $ as MerchantDiscount, M as MultiCurrencyPrice, aa as NameInLineItem, a9 as NameInOther, ac as Other, b as PhysicalProperties, r as PriceSummary, P as ProductName, j as ProductPeriodAlignment, R as Region, z as SelectedCarrierServiceOption, E as SelectedCarrierServiceOptionPrices, a6 as Severity, y as ShippingInfo, a as Source, S as SourceInfo, t as StreetAddress, h as SubscriptionFrequency, f as SubscriptionOptionInfo, g as SubscriptionSettings, ab as SuggestedFix, a7 as Target, ad as TargetLineItem, a8 as TargetTargetTypeOneOf, o as TaxBreakdown, T as Title, V as ValidationInfo, ae as ValidationsSPIConfig, w as VatId, x as VatType, a5 as Violation, W as WeightUnit } from './interfaces-ecommerce-v1-validations-provider.public-D9fxNOpt.mjs';
|
|
3
3
|
import '@wix/sdk-types';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -337,7 +337,7 @@ interface SubscriptionSettings {
|
|
|
337
337
|
* @min 1
|
|
338
338
|
*/
|
|
339
339
|
billingCycles?: number | null;
|
|
340
|
-
/** Whether to allow the customer to cancel the subscription
|
|
340
|
+
/** Whether to allow the customer to cancel the subscription. */
|
|
341
341
|
enableCustomerCancellation?: boolean;
|
|
342
342
|
/**
|
|
343
343
|
* Period until first cycle starts. If applied payNow will be 0
|
|
@@ -359,6 +359,15 @@ interface SubscriptionSettings {
|
|
|
359
359
|
* @internal
|
|
360
360
|
*/
|
|
361
361
|
productPeriodAlignment?: ProductPeriodAlignment;
|
|
362
|
+
/**
|
|
363
|
+
* Unit prices for specified billing cycles of the subscription. Cycles that no entry covers
|
|
364
|
+
* are charged the item's `price`.
|
|
365
|
+
*
|
|
366
|
+
* When `billingCycles` is set, every entry must end on or before the last billing cycle.
|
|
367
|
+
* @internal
|
|
368
|
+
* @maxSize 1
|
|
369
|
+
*/
|
|
370
|
+
cyclePriceOverrides?: CyclePriceOverride[];
|
|
362
371
|
}
|
|
363
372
|
/** Frequency unit of recurring payment */
|
|
364
373
|
declare enum SubscriptionFrequency {
|
|
@@ -392,6 +401,27 @@ declare enum ProductPeriodAlignment {
|
|
|
392
401
|
/** Billing period is independent of the product/service/subscription access period. */
|
|
393
402
|
NOT_ALIGNED_WITH_BILLING_PERIOD = "NOT_ALIGNED_WITH_BILLING_PERIOD"
|
|
394
403
|
}
|
|
404
|
+
interface CyclePriceOverride {
|
|
405
|
+
/**
|
|
406
|
+
* __Required.__ First billing cycle the price applies to. The first paid cycle of the
|
|
407
|
+
* subscription is `1`. A free trial period, if any, is cycle `0`.
|
|
408
|
+
* @min 1
|
|
409
|
+
* @max 1
|
|
410
|
+
*/
|
|
411
|
+
cycleFrom?: number;
|
|
412
|
+
/**
|
|
413
|
+
* __Required.__ Number of consecutive billing cycles the price applies to, starting at `cycleFrom`.
|
|
414
|
+
* @min 1
|
|
415
|
+
* @max 1
|
|
416
|
+
*/
|
|
417
|
+
numberOfCycles?: number | null;
|
|
418
|
+
/**
|
|
419
|
+
* __Required.__ Unit price for the cycles this entry covers, in the item's currency.
|
|
420
|
+
* Can be higher than, lower than, or equal to the item's `price`.
|
|
421
|
+
* @decimalValue options { gte:0, lte:1000000000000000, maxScale:4 }
|
|
422
|
+
*/
|
|
423
|
+
price?: string;
|
|
424
|
+
}
|
|
395
425
|
interface Title {
|
|
396
426
|
/**
|
|
397
427
|
* Subscription option name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
|
|
@@ -1075,4 +1105,4 @@ declare const provideHandlers: ServicePluginDefinition<{
|
|
|
1075
1105
|
getValidationViolations(payload: GetValidationViolationsEnvelope): GetValidationViolationsResponse | Promise<GetValidationViolationsResponse>;
|
|
1076
1106
|
}>;
|
|
1077
1107
|
|
|
1078
|
-
export { type
|
|
1108
|
+
export { type MerchantDiscount as $, type AddressWithContact as A, type BuyerDetails as B, type CatalogReference as C, type Dimensions as D, type SelectedCarrierServiceOptionPrices as E, type FreeTrialPeriod as F, type GetValidationViolationsRequest as G, type DeliveryAllocation as H, type ItemType as I, JurisdictionType as J, type Carrier as K, type LineItem as L, type MultiCurrencyPrice as M, type ApplicableLineItems as N, type DeliveryTimeSlot as O, type ProductName as P, type CustomFields as Q, type Region as R, type SourceInfo as S, type Title as T, type CustomField as U, type ValidationInfo as V, WeightUnit as W, type AppliedDiscount as X, type AppliedDiscountDiscountSourceOneOf as Y, DiscountType as Z, type Coupon as _, Source as a, type DiscountRule as a0, type DiscountRuleName as a1, type ExternalReference as a2, type ExtendedFields as a3, type GetValidationViolationsResponse as a4, type Violation as a5, Severity as a6, type Target as a7, type TargetTargetTypeOneOf as a8, NameInOther as a9, NameInLineItem as aa, SuggestedFix as ab, type Other as ac, type TargetLineItem as ad, type ValidationsSPIConfig as ae, type Context as af, IdentityType as ag, type IdentificationData as ah, type IdentificationDataIdOneOf as ai, type GetValidationViolationsEnvelope as aj, type PhysicalProperties as b, DimensionsUnit as c, type ItemTypeItemTypeDataOneOf as d, ItemTypePreset as e, type SubscriptionOptionInfo as f, type SubscriptionSettings as g, SubscriptionFrequency as h, type BillingSettings as i, ProductPeriodAlignment as j, type CyclePriceOverride as k, type Description as l, type LineItemPricesData as m, type ItemTaxFullDetails as n, type TaxBreakdown as o, provideHandlers as p, type GiftCard as q, type PriceSummary as r, type Address as s, type StreetAddress as t, type AddressLocation as u, type FullAddressContactDetails as v, type VatId as w, VatType as x, type ShippingInfo as y, type SelectedCarrierServiceOption as z };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_ecom_validations",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.62",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"fqdn": "wix.interfaces.ecommerce.v1.validations_provider"
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
|
-
"falconPackageHash": "
|
|
47
|
+
"falconPackageHash": "8d1ae964e2ffffa0c729af9c4aead53d2214ca2c9072d185eb36765f"
|
|
48
48
|
}
|