@wix/ecom 1.0.608 → 1.0.610

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/ecom",
3
- "version": "1.0.608",
3
+ "version": "1.0.610",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -26,7 +26,7 @@
26
26
  "@wix/ecom_cart": "1.0.43",
27
27
  "@wix/ecom_checkout": "1.0.45",
28
28
  "@wix/ecom_checkout-settings": "1.0.32",
29
- "@wix/ecom_checkout-templates": "1.0.46",
29
+ "@wix/ecom_checkout-templates": "1.0.47",
30
30
  "@wix/ecom_currencies": "1.0.23",
31
31
  "@wix/ecom_current-cart": "1.0.43",
32
32
  "@wix/ecom_custom-triggers": "1.0.5",
@@ -38,7 +38,7 @@
38
38
  "@wix/ecom_orders-settings": "1.0.29",
39
39
  "@wix/ecom_payment-settings": "1.0.9",
40
40
  "@wix/ecom_recommendations": "1.0.26",
41
- "@wix/ecom_shipping-rates": "1.0.11",
41
+ "@wix/ecom_shipping-rates": "1.0.12",
42
42
  "@wix/ecom_validations": "1.0.8"
43
43
  },
44
44
  "devDependencies": {
@@ -64,5 +64,5 @@
64
64
  "fqdn": ""
65
65
  }
66
66
  },
67
- "falconPackageHash": "3a4dc518bf4372a0acb9f44c85f521a1ce3a7772a4f41d441ad55f2d"
67
+ "falconPackageHash": "d7b86beed8b8a58f46c78c3a64013d5e2c2d0aabdd24c277f4f067d3"
68
68
  }
@@ -21402,18 +21402,6 @@ declare enum ItemTypeItemType$1 {
21402
21402
  GIFT_CARD = "GIFT_CARD",
21403
21403
  SERVICE = "SERVICE"
21404
21404
  }
21405
- interface Scope {
21406
- /** Scope namespace (Wix Stores, Wix Bookings, Wix Events, Wix Pricing Plans) */
21407
- namespace?: string;
21408
- /** Coupon scope's applied group (e.g., event or ticket in Wix Events) */
21409
- group?: Group;
21410
- }
21411
- interface Group {
21412
- /** Coupon scope's group (e.g., product or collection in Wix Stores). See [valid scope values](https://dev.wix.com/api/rest/coupons/coupons/valid-scope-values). */
21413
- name?: string;
21414
- /** Item ID (when the coupon scope is limited to just one item). */
21415
- entityId?: string | null;
21416
- }
21417
21405
  interface SubscriptionOptionInfo$1 {
21418
21406
  /** Subscription option settings. */
21419
21407
  subscriptionSettings?: SubscriptionSettings$2;
@@ -22019,6 +22007,18 @@ declare enum ItemAvailabilityStatus {
22019
22007
  /** Available quantity is less than requested */
22020
22008
  PARTIALLY_AVAILABLE = "PARTIALLY_AVAILABLE"
22021
22009
  }
22010
+ interface Scope {
22011
+ /** Scope namespace (Wix Stores, Wix Bookings, Wix Events, Wix Pricing Plans) */
22012
+ namespace?: string;
22013
+ /** Coupon scope's applied group (e.g., event or ticket in Wix Events) */
22014
+ group?: Group;
22015
+ }
22016
+ interface Group {
22017
+ /** Coupon scope's group (e.g., product or collection in Wix Stores). See [valid scope values](https://dev.wix.com/api/rest/coupons/coupons/valid-scope-values). */
22018
+ name?: string;
22019
+ /** Item ID (when the coupon scope is limited to just one item). */
22020
+ entityId?: string | null;
22021
+ }
22022
22022
  /** Billing Info and shipping details */
22023
22023
  interface AddressWithContact$1 {
22024
22024
  /** Address. */
@@ -34036,12 +34036,6 @@ interface CreateCheckoutTemplateResponseNonNullableFields$1 {
34036
34036
  physicalProperties?: {
34037
34037
  shippable: boolean;
34038
34038
  };
34039
- couponScopes: {
34040
- namespace: string;
34041
- group?: {
34042
- name: string;
34043
- };
34044
- }[];
34045
34039
  subscriptionOptionInfo?: {
34046
34040
  subscriptionSettings?: {
34047
34041
  frequency: SubscriptionFrequency$2;
@@ -34162,12 +34156,6 @@ interface GetCheckoutTemplateResponseNonNullableFields$1 {
34162
34156
  physicalProperties?: {
34163
34157
  shippable: boolean;
34164
34158
  };
34165
- couponScopes: {
34166
- namespace: string;
34167
- group?: {
34168
- name: string;
34169
- };
34170
- }[];
34171
34159
  subscriptionOptionInfo?: {
34172
34160
  subscriptionSettings?: {
34173
34161
  frequency: SubscriptionFrequency$2;
@@ -34288,12 +34276,6 @@ interface UpdateCheckoutTemplateResponseNonNullableFields$1 {
34288
34276
  physicalProperties?: {
34289
34277
  shippable: boolean;
34290
34278
  };
34291
- couponScopes: {
34292
- namespace: string;
34293
- group?: {
34294
- name: string;
34295
- };
34296
- }[];
34297
34279
  subscriptionOptionInfo?: {
34298
34280
  subscriptionSettings?: {
34299
34281
  frequency: SubscriptionFrequency$2;
@@ -34414,12 +34396,6 @@ interface QueryCheckoutTemplatesResponseNonNullableFields$1 {
34414
34396
  physicalProperties?: {
34415
34397
  shippable: boolean;
34416
34398
  };
34417
- couponScopes: {
34418
- namespace: string;
34419
- group?: {
34420
- name: string;
34421
- };
34422
- }[];
34423
34399
  subscriptionOptionInfo?: {
34424
34400
  subscriptionSettings?: {
34425
34401
  frequency: SubscriptionFrequency$2;
@@ -424,37 +424,41 @@ interface IdentificationDataIdOneOf$4 {
424
424
  }
425
425
 
426
426
  declare class MissingPostalCodeWixError extends Error {
427
- httpCode: string;
427
+ httpCode: number;
428
+ statusCode: string;
428
429
  applicationCode: string;
429
- errorDescription: string;
430
- messageSchema: string;
430
+ name: string;
431
+ errorSchemaName: string;
431
432
  data: MissingPostalCodeError;
432
433
  constructor(data: MissingPostalCodeError);
433
434
  static readonly __type = "wix_spi_error";
434
435
  }
435
436
  declare class InvalidPostalCodeWixError extends Error {
436
- httpCode: string;
437
+ httpCode: number;
438
+ statusCode: string;
437
439
  applicationCode: string;
438
- errorDescription: string;
439
- messageSchema: string;
440
+ name: string;
441
+ errorSchemaName: string;
440
442
  data: InvalidPostalCodeError;
441
443
  constructor(data: InvalidPostalCodeError);
442
444
  static readonly __type = "wix_spi_error";
443
445
  }
444
446
  declare class InvalidAddressWixError extends Error {
445
- httpCode: string;
447
+ httpCode: number;
448
+ statusCode: string;
446
449
  applicationCode: string;
447
- errorDescription: string;
448
- messageSchema: string;
450
+ name: string;
451
+ errorSchemaName: string;
449
452
  data: InvalidAddressError;
450
453
  constructor(data: InvalidAddressError);
451
454
  static readonly __type = "wix_spi_error";
452
455
  }
453
456
  declare class GenericShippingRatesWixError extends Error {
454
- httpCode: string;
457
+ httpCode: number;
458
+ statusCode: string;
455
459
  applicationCode: string;
456
- errorDescription: string;
457
- messageSchema: string;
460
+ name: string;
461
+ errorSchemaName: string;
458
462
  data: GenericShippingRatesError;
459
463
  constructor(data: GenericShippingRatesError);
460
464
  static readonly __type = "wix_spi_error";
@@ -453,37 +453,41 @@ declare const provideHandlers$4: ServicePluginDefinition<{
453
453
  }>;
454
454
 
455
455
  declare class MissingPostalCodeWixError extends Error {
456
- httpCode: string;
456
+ httpCode: number;
457
+ statusCode: string;
457
458
  applicationCode: string;
458
- errorDescription: string;
459
- messageSchema: string;
459
+ name: string;
460
+ errorSchemaName: string;
460
461
  data: MissingPostalCodeError;
461
462
  constructor(data: MissingPostalCodeError);
462
463
  static readonly __type = "wix_spi_error";
463
464
  }
464
465
  declare class InvalidPostalCodeWixError extends Error {
465
- httpCode: string;
466
+ httpCode: number;
467
+ statusCode: string;
466
468
  applicationCode: string;
467
- errorDescription: string;
468
- messageSchema: string;
469
+ name: string;
470
+ errorSchemaName: string;
469
471
  data: InvalidPostalCodeError;
470
472
  constructor(data: InvalidPostalCodeError);
471
473
  static readonly __type = "wix_spi_error";
472
474
  }
473
475
  declare class InvalidAddressWixError extends Error {
474
- httpCode: string;
476
+ httpCode: number;
477
+ statusCode: string;
475
478
  applicationCode: string;
476
- errorDescription: string;
477
- messageSchema: string;
479
+ name: string;
480
+ errorSchemaName: string;
478
481
  data: InvalidAddressError;
479
482
  constructor(data: InvalidAddressError);
480
483
  static readonly __type = "wix_spi_error";
481
484
  }
482
485
  declare class GenericShippingRatesWixError extends Error {
483
- httpCode: string;
486
+ httpCode: number;
487
+ statusCode: string;
484
488
  applicationCode: string;
485
- errorDescription: string;
486
- messageSchema: string;
489
+ name: string;
490
+ errorSchemaName: string;
487
491
  data: GenericShippingRatesError;
488
492
  constructor(data: GenericShippingRatesError);
489
493
  static readonly __type = "wix_spi_error";