@wix/auto_sdk_ecom_validations 1.0.66 → 1.0.68

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.
@@ -244,15 +244,9 @@ interface PhysicalProperties {
244
244
  sku?: string | null;
245
245
  /** Whether this line item is shippable. */
246
246
  shippable?: boolean;
247
- /**
248
- * Product dimensions (length, width, height of the physical product).
249
- * @internal
250
- */
247
+ /** Product dimensions (length, width, height of the physical product). */
251
248
  productDimensions?: Dimensions;
252
- /**
253
- * Package dimensions (length, width, height of the shipping package).
254
- * @internal
255
- */
249
+ /** Package dimensions (length, width, height of the shipping package). */
256
250
  packageDimensions?: Dimensions;
257
251
  }
258
252
  interface Dimensions {
@@ -348,17 +342,17 @@ interface SubscriptionSettings {
348
342
  */
349
343
  freeTrialPeriod?: FreeTrialPeriod;
350
344
  /**
351
- * The date the subscription will start. The subscription will be charged either now or according to freeTrialDays.
352
- * @internal
345
+ * Date and time the subscription starts.
346
+ *
347
+ * The first charge happens when the order is placed. When `freeTrialPeriod` is set, the first charge happens when the free trial ends.
353
348
  */
354
349
  startDate?: Date | null;
355
- /**
356
- * Billing configuration for recurring charges.
357
- * @internal
358
- */
350
+ /** Billing configuration for recurring charges. */
359
351
  billingSettings?: BillingSettings;
360
352
  /**
361
- * Whether the product/service/subscription access period is aligned with the billing period.
353
+ * How the access period of the product, service, or subscription relates to the billing period.
354
+ *
355
+ * Default: `ALIGNED_WITH_BILLING_PERIOD`
362
356
  * @internal
363
357
  */
364
358
  productPeriodAlignment?: ProductPeriodAlignment;
@@ -392,7 +386,9 @@ interface FreeTrialPeriod {
392
386
  }
393
387
  interface BillingSettings {
394
388
  /**
395
- * Day of month (1-28) to anchor recurring billing to. When set, billing recurs on this day each cycle. Does not apply to weekly subscriptions.
389
+ * Day of the month that recurring charges fall on. For example, `15` to charge on the 15th of each month.
390
+ *
391
+ * Used only when the subscription's `frequency` is `MONTH` and `interval` is `1`.
396
392
  * @min 1
397
393
  * @max 28
398
394
  */
@@ -985,6 +981,21 @@ interface ValidationsSPIConfig {
985
981
  * @internal
986
982
  */
987
983
  filter?: Record<string, any> | null;
984
+ /**
985
+ * Optional. Information that Wix's AI assistant reads to decide when your service plugin applies. Wix users don't see this information.
986
+ * @internal
987
+ */
988
+ aiContext?: AiContext;
989
+ }
990
+ /** Information about your service plugin for Wix's AI assistant. */
991
+ interface AiContext {
992
+ /**
993
+ * Plain-text description of what your service plugin does and when it applies.
994
+ * @internal
995
+ * @minLength 20
996
+ * @maxLength 10000
997
+ */
998
+ description?: string | null;
988
999
  }
989
1000
  /**
990
1001
  * this message is not directly used by any service,
@@ -1108,4 +1119,4 @@ declare const provideHandlers: ServicePluginDefinition<{
1108
1119
  getValidationViolations(payload: GetValidationViolationsEnvelope): GetValidationViolationsResponse | Promise<GetValidationViolationsResponse>;
1109
1120
  }>;
1110
1121
 
1111
- 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 };
1122
+ 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 AiContext as af, type Context as ag, IdentityType as ah, type IdentificationData as ai, type IdentificationDataIdOneOf as aj, type GetValidationViolationsEnvelope as ak, 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 };
@@ -1,5 +1,5 @@
1
- import { p as provideHandlers$1 } from './interfaces-ecommerce-v1-validations-provider.public-BHD2s8xp.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-BHD2s8xp.mjs';
1
+ import { p as provideHandlers$1 } from './interfaces-ecommerce-v1-validations-provider.public-ngtderyI.mjs';
2
+ export { s as Address, u as AddressLocation, A as AddressWithContact, af as AiContext, N as ApplicableLineItems, X as AppliedDiscount, Y as AppliedDiscountDiscountSourceOneOf, i as BillingSettings, B as BuyerDetails, K as Carrier, C as CatalogReference, ag 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, ai as IdentificationData, aj as IdentificationDataIdOneOf, ah 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-ngtderyI.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 { aj as GetValidationViolationsEnvelope, a4 as GetValidationViolationsResponse } from './interfaces-ecommerce-v1-validations-provider.public-BHD2s8xp.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-BHD2s8xp.mjs';
1
+ import { ak as GetValidationViolationsEnvelope, a4 as GetValidationViolationsResponse } from './interfaces-ecommerce-v1-validations-provider.public-ngtderyI.mjs';
2
+ export { s as Address, u as AddressLocation, A as AddressWithContact, af as AiContext, N as ApplicableLineItems, X as AppliedDiscount, Y as AppliedDiscountDiscountSourceOneOf, i as BillingSettings, B as BuyerDetails, K as Carrier, C as CatalogReference, ag 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, ai as IdentificationData, aj as IdentificationDataIdOneOf, ah 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-ngtderyI.mjs';
3
3
  import '@wix/sdk-types';
4
4
 
5
5
  /**
@@ -244,15 +244,9 @@ interface PhysicalProperties {
244
244
  sku?: string | null;
245
245
  /** Whether this line item is shippable. */
246
246
  shippable?: boolean;
247
- /**
248
- * Product dimensions (length, width, height of the physical product).
249
- * @internal
250
- */
247
+ /** Product dimensions (length, width, height of the physical product). */
251
248
  productDimensions?: Dimensions;
252
- /**
253
- * Package dimensions (length, width, height of the shipping package).
254
- * @internal
255
- */
249
+ /** Package dimensions (length, width, height of the shipping package). */
256
250
  packageDimensions?: Dimensions;
257
251
  }
258
252
  interface Dimensions {
@@ -348,17 +342,17 @@ interface SubscriptionSettings {
348
342
  */
349
343
  freeTrialPeriod?: FreeTrialPeriod;
350
344
  /**
351
- * The date the subscription will start. The subscription will be charged either now or according to freeTrialDays.
352
- * @internal
345
+ * Date and time the subscription starts.
346
+ *
347
+ * The first charge happens when the order is placed. When `freeTrialPeriod` is set, the first charge happens when the free trial ends.
353
348
  */
354
349
  startDate?: Date | null;
355
- /**
356
- * Billing configuration for recurring charges.
357
- * @internal
358
- */
350
+ /** Billing configuration for recurring charges. */
359
351
  billingSettings?: BillingSettings;
360
352
  /**
361
- * Whether the product/service/subscription access period is aligned with the billing period.
353
+ * How the access period of the product, service, or subscription relates to the billing period.
354
+ *
355
+ * Default: `ALIGNED_WITH_BILLING_PERIOD`
362
356
  * @internal
363
357
  */
364
358
  productPeriodAlignment?: ProductPeriodAlignment;
@@ -392,7 +386,9 @@ interface FreeTrialPeriod {
392
386
  }
393
387
  interface BillingSettings {
394
388
  /**
395
- * Day of month (1-28) to anchor recurring billing to. When set, billing recurs on this day each cycle. Does not apply to weekly subscriptions.
389
+ * Day of the month that recurring charges fall on. For example, `15` to charge on the 15th of each month.
390
+ *
391
+ * Used only when the subscription's `frequency` is `MONTH` and `interval` is `1`.
396
392
  * @min 1
397
393
  * @max 28
398
394
  */
@@ -985,6 +981,21 @@ interface ValidationsSPIConfig {
985
981
  * @internal
986
982
  */
987
983
  filter?: Record<string, any> | null;
984
+ /**
985
+ * Optional. Information that Wix's AI assistant reads to decide when your service plugin applies. Wix users don't see this information.
986
+ * @internal
987
+ */
988
+ aiContext?: AiContext;
989
+ }
990
+ /** Information about your service plugin for Wix's AI assistant. */
991
+ interface AiContext {
992
+ /**
993
+ * Plain-text description of what your service plugin does and when it applies.
994
+ * @internal
995
+ * @minLength 20
996
+ * @maxLength 10000
997
+ */
998
+ description?: string | null;
988
999
  }
989
1000
  /**
990
1001
  * this message is not directly used by any service,
@@ -1108,4 +1119,4 @@ declare const provideHandlers: ServicePluginDefinition<{
1108
1119
  getValidationViolations(payload: GetValidationViolationsEnvelope): GetValidationViolationsResponse | Promise<GetValidationViolationsResponse>;
1109
1120
  }>;
1110
1121
 
1111
- 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 };
1122
+ 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 AiContext as af, type Context as ag, IdentityType as ah, type IdentificationData as ai, type IdentificationDataIdOneOf as aj, type GetValidationViolationsEnvelope as ak, 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.66",
3
+ "version": "1.0.68",
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": "c28f02489c0586d6f507be0ea44196cf4792a73f70dbaba66dfef735"
47
+ "falconPackageHash": "a71b6d6f312f7af1ea249516a2b2d23a18385873580ed3339c209ee1"
48
48
  }