@wix/ecom 1.0.787 → 1.0.788
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.
|
@@ -210,6 +210,8 @@ declare class GiftCardNotFoundWixError extends Error {
|
|
|
210
210
|
applicationCode: string;
|
|
211
211
|
/** @hidden */
|
|
212
212
|
name: string;
|
|
213
|
+
/** @hidden */
|
|
214
|
+
errorType: string;
|
|
213
215
|
constructor();
|
|
214
216
|
/** @hidden */
|
|
215
217
|
static readonly __type = "wix_spi_error";
|
|
@@ -226,6 +228,8 @@ declare class GiftCardDisabledWixError extends Error {
|
|
|
226
228
|
applicationCode: string;
|
|
227
229
|
/** @hidden */
|
|
228
230
|
name: string;
|
|
231
|
+
/** @hidden */
|
|
232
|
+
errorType: string;
|
|
229
233
|
constructor();
|
|
230
234
|
/** @hidden */
|
|
231
235
|
static readonly __type = "wix_spi_error";
|
|
@@ -242,6 +246,8 @@ declare class GiftCardExpiredWixError extends Error {
|
|
|
242
246
|
applicationCode: string;
|
|
243
247
|
/** @hidden */
|
|
244
248
|
name: string;
|
|
249
|
+
/** @hidden */
|
|
250
|
+
errorType: string;
|
|
245
251
|
constructor();
|
|
246
252
|
/** @hidden */
|
|
247
253
|
static readonly __type = "wix_spi_error";
|
|
@@ -258,6 +264,8 @@ declare class InsufficientFundsWixError extends Error {
|
|
|
258
264
|
applicationCode: string;
|
|
259
265
|
/** @hidden */
|
|
260
266
|
name: string;
|
|
267
|
+
/** @hidden */
|
|
268
|
+
errorType: string;
|
|
261
269
|
constructor();
|
|
262
270
|
/** @hidden */
|
|
263
271
|
static readonly __type = "wix_spi_error";
|
|
@@ -274,6 +282,8 @@ declare class AlreadyRedeemedWixError extends Error {
|
|
|
274
282
|
applicationCode: string;
|
|
275
283
|
/** @hidden */
|
|
276
284
|
name: string;
|
|
285
|
+
/** @hidden */
|
|
286
|
+
errorType: string;
|
|
277
287
|
constructor();
|
|
278
288
|
/** @hidden */
|
|
279
289
|
static readonly __type = "wix_spi_error";
|
|
@@ -290,6 +300,8 @@ declare class CurrencyNotSupportedWixError extends Error {
|
|
|
290
300
|
applicationCode: string;
|
|
291
301
|
/** @hidden */
|
|
292
302
|
name: string;
|
|
303
|
+
/** @hidden */
|
|
304
|
+
errorType: string;
|
|
293
305
|
constructor();
|
|
294
306
|
/** @hidden */
|
|
295
307
|
static readonly __type = "wix_spi_error";
|
|
@@ -306,6 +318,8 @@ declare class TransactionNotFoundWixError$1 extends Error {
|
|
|
306
318
|
applicationCode: string;
|
|
307
319
|
/** @hidden */
|
|
308
320
|
name: string;
|
|
321
|
+
/** @hidden */
|
|
322
|
+
errorType: string;
|
|
309
323
|
constructor();
|
|
310
324
|
/** @hidden */
|
|
311
325
|
static readonly __type = "wix_spi_error";
|
|
@@ -322,6 +336,8 @@ declare class AlreadyVoidedWixError extends Error {
|
|
|
322
336
|
applicationCode: string;
|
|
323
337
|
/** @hidden */
|
|
324
338
|
name: string;
|
|
339
|
+
/** @hidden */
|
|
340
|
+
errorType: string;
|
|
325
341
|
constructor();
|
|
326
342
|
/** @hidden */
|
|
327
343
|
static readonly __type = "wix_spi_error";
|
|
@@ -413,7 +429,7 @@ interface ServiceProperties$1 {
|
|
|
413
429
|
* Date and time the service is to be provided, in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
|
|
414
430
|
* For example, the start time of a class.
|
|
415
431
|
*/
|
|
416
|
-
scheduledDate?: Date;
|
|
432
|
+
scheduledDate?: Date | null;
|
|
417
433
|
/** The number of people participating in the service. For example, the number of people attending a class or the number of people per hotel room. */
|
|
418
434
|
numberOfParticipants?: number | null;
|
|
419
435
|
}
|
|
@@ -445,7 +461,7 @@ interface Membership$1 {
|
|
|
445
461
|
/** Total and remaining membership credits. */
|
|
446
462
|
credits?: MembershipPaymentCredits$1;
|
|
447
463
|
/** Membership expiration date. */
|
|
448
|
-
expirationDate?: Date;
|
|
464
|
+
expirationDate?: Date | null;
|
|
449
465
|
/** Additional data about this membership. */
|
|
450
466
|
additionalData?: Record<string, any> | null;
|
|
451
467
|
}
|
|
@@ -597,11 +613,11 @@ interface OutOfCredits {
|
|
|
597
613
|
}
|
|
598
614
|
interface NotStartedYet {
|
|
599
615
|
/** Start date of the membership. */
|
|
600
|
-
membershipStartDate?: Date;
|
|
616
|
+
membershipStartDate?: Date | null;
|
|
601
617
|
}
|
|
602
618
|
interface Ended {
|
|
603
619
|
/** End date of the membership. */
|
|
604
|
-
endDate?: Date;
|
|
620
|
+
endDate?: Date | null;
|
|
605
621
|
}
|
|
606
622
|
interface MembershipAlreadyChargedError {
|
|
607
623
|
/** ID of the transaction that was already used for membership charge. */
|
|
@@ -742,6 +758,10 @@ declare class InvalidSelectionWixError extends Error {
|
|
|
742
758
|
name: string;
|
|
743
759
|
/** @hidden */
|
|
744
760
|
errorSchemaName: string;
|
|
761
|
+
/** @hidden */
|
|
762
|
+
errorType: string;
|
|
763
|
+
/** @hidden */
|
|
764
|
+
spiErrorData: object;
|
|
745
765
|
data: MembershipInvalidSelectionErrors;
|
|
746
766
|
constructor(data: MembershipInvalidSelectionErrors);
|
|
747
767
|
/** @hidden */
|
|
@@ -759,6 +779,10 @@ declare class MembershipDoesNotApplyToItemWixError extends Error {
|
|
|
759
779
|
applicationCode: string;
|
|
760
780
|
/** @hidden */
|
|
761
781
|
name: string;
|
|
782
|
+
/** @hidden */
|
|
783
|
+
errorType: string;
|
|
784
|
+
/** @hidden */
|
|
785
|
+
spiErrorData: object;
|
|
762
786
|
constructor();
|
|
763
787
|
/** @hidden */
|
|
764
788
|
static readonly __type = "wix_spi_error";
|
|
@@ -777,6 +801,10 @@ declare class MembershipCannotBeUsedWixError extends Error {
|
|
|
777
801
|
name: string;
|
|
778
802
|
/** @hidden */
|
|
779
803
|
errorSchemaName: string;
|
|
804
|
+
/** @hidden */
|
|
805
|
+
errorType: string;
|
|
806
|
+
/** @hidden */
|
|
807
|
+
spiErrorData: object;
|
|
780
808
|
data: MembershipCannotBeChargedError;
|
|
781
809
|
constructor(data: MembershipCannotBeChargedError);
|
|
782
810
|
/** @hidden */
|
|
@@ -796,6 +824,10 @@ declare class MembershipAlreadyChargedWixError extends Error {
|
|
|
796
824
|
name: string;
|
|
797
825
|
/** @hidden */
|
|
798
826
|
errorSchemaName: string;
|
|
827
|
+
/** @hidden */
|
|
828
|
+
errorType: string;
|
|
829
|
+
/** @hidden */
|
|
830
|
+
spiErrorData: object;
|
|
799
831
|
data: MembershipAlreadyChargedError;
|
|
800
832
|
constructor(data: MembershipAlreadyChargedError);
|
|
801
833
|
/** @hidden */
|
|
@@ -813,6 +845,10 @@ declare class TransactionNotFoundWixError extends Error {
|
|
|
813
845
|
applicationCode: string;
|
|
814
846
|
/** @hidden */
|
|
815
847
|
name: string;
|
|
848
|
+
/** @hidden */
|
|
849
|
+
errorType: string;
|
|
850
|
+
/** @hidden */
|
|
851
|
+
spiErrorData: object;
|
|
816
852
|
constructor();
|
|
817
853
|
/** @hidden */
|
|
818
854
|
static readonly __type = "wix_spi_error";
|
|
@@ -829,6 +865,10 @@ declare class TransactionCannotBeVoidedWixError extends Error {
|
|
|
829
865
|
applicationCode: string;
|
|
830
866
|
/** @hidden */
|
|
831
867
|
name: string;
|
|
868
|
+
/** @hidden */
|
|
869
|
+
errorType: string;
|
|
870
|
+
/** @hidden */
|
|
871
|
+
spiErrorData: object;
|
|
832
872
|
constructor();
|
|
833
873
|
/** @hidden */
|
|
834
874
|
static readonly __type = "wix_spi_error";
|
|
@@ -845,6 +885,10 @@ declare class TransactionAlreadyVoidedWixError extends Error {
|
|
|
845
885
|
applicationCode: string;
|
|
846
886
|
/** @hidden */
|
|
847
887
|
name: string;
|
|
888
|
+
/** @hidden */
|
|
889
|
+
errorType: string;
|
|
890
|
+
/** @hidden */
|
|
891
|
+
spiErrorData: object;
|
|
848
892
|
constructor();
|
|
849
893
|
/** @hidden */
|
|
850
894
|
static readonly __type = "wix_spi_error";
|
|
@@ -1059,6 +1103,8 @@ declare class AlgorithmNotSupportedWixError extends Error {
|
|
|
1059
1103
|
name: string;
|
|
1060
1104
|
/** @hidden */
|
|
1061
1105
|
errorSchemaName: string;
|
|
1106
|
+
/** @hidden */
|
|
1107
|
+
errorType: string;
|
|
1062
1108
|
data: RecommendationAlgorithmNotSupported;
|
|
1063
1109
|
constructor(data: RecommendationAlgorithmNotSupported);
|
|
1064
1110
|
/** @hidden */
|
|
@@ -1075,6 +1121,8 @@ declare class ItemAppIdNotSupportedWixError extends Error {
|
|
|
1075
1121
|
name: string;
|
|
1076
1122
|
/** @hidden */
|
|
1077
1123
|
errorSchemaName: string;
|
|
1124
|
+
/** @hidden */
|
|
1125
|
+
errorType: string;
|
|
1078
1126
|
data: ItemAppIdNotSupportedError;
|
|
1079
1127
|
constructor(data: ItemAppIdNotSupportedError);
|
|
1080
1128
|
/** @hidden */
|
|
@@ -1346,9 +1394,9 @@ declare enum PickupMethod$2 {
|
|
|
1346
1394
|
}
|
|
1347
1395
|
interface DeliveryTimeSlot$1 {
|
|
1348
1396
|
/** starting time of the delivery time slot */
|
|
1349
|
-
from?: Date;
|
|
1397
|
+
from?: Date | null;
|
|
1350
1398
|
/** ending time of the delivery time slot */
|
|
1351
|
-
to?: Date;
|
|
1399
|
+
to?: Date | null;
|
|
1352
1400
|
}
|
|
1353
1401
|
interface ShippingPrice$1 {
|
|
1354
1402
|
/** The shipping rate's price. Must align with the [currency's decimal separator](https://en.wikipedia.org/wiki/ISO_4217#Active_codes). */
|
|
@@ -1580,6 +1628,8 @@ declare class MissingPostalCodeWixError extends Error {
|
|
|
1580
1628
|
name: string;
|
|
1581
1629
|
/** @hidden */
|
|
1582
1630
|
errorSchemaName: string;
|
|
1631
|
+
/** @hidden */
|
|
1632
|
+
errorType: string;
|
|
1583
1633
|
data: MissingPostalCodeError;
|
|
1584
1634
|
constructor(data: MissingPostalCodeError);
|
|
1585
1635
|
/** @hidden */
|
|
@@ -1605,6 +1655,8 @@ declare class InvalidPostalCodeWixError extends Error {
|
|
|
1605
1655
|
name: string;
|
|
1606
1656
|
/** @hidden */
|
|
1607
1657
|
errorSchemaName: string;
|
|
1658
|
+
/** @hidden */
|
|
1659
|
+
errorType: string;
|
|
1608
1660
|
data: InvalidPostalCodeError;
|
|
1609
1661
|
constructor(data: InvalidPostalCodeError);
|
|
1610
1662
|
/** @hidden */
|
|
@@ -1629,6 +1681,8 @@ declare class InvalidAddressWixError extends Error {
|
|
|
1629
1681
|
name: string;
|
|
1630
1682
|
/** @hidden */
|
|
1631
1683
|
errorSchemaName: string;
|
|
1684
|
+
/** @hidden */
|
|
1685
|
+
errorType: string;
|
|
1632
1686
|
data: InvalidAddressError;
|
|
1633
1687
|
constructor(data: InvalidAddressError);
|
|
1634
1688
|
/** @hidden */
|
|
@@ -1653,6 +1707,8 @@ declare class GenericShippingRatesWixError extends Error {
|
|
|
1653
1707
|
name: string;
|
|
1654
1708
|
/** @hidden */
|
|
1655
1709
|
errorSchemaName: string;
|
|
1710
|
+
/** @hidden */
|
|
1711
|
+
errorType: string;
|
|
1656
1712
|
data: GenericShippingRatesError;
|
|
1657
1713
|
constructor(data: GenericShippingRatesError);
|
|
1658
1714
|
/** @hidden */
|
|
@@ -2510,6 +2566,8 @@ declare class CouponLimitPerCustomerExceededWixError extends Error {
|
|
|
2510
2566
|
applicationCode: string;
|
|
2511
2567
|
/** @hidden */
|
|
2512
2568
|
name: string;
|
|
2569
|
+
/** @hidden */
|
|
2570
|
+
errorType: string;
|
|
2513
2571
|
constructor();
|
|
2514
2572
|
/** @hidden */
|
|
2515
2573
|
static readonly __type = "wix_spi_error";
|
|
@@ -2523,6 +2581,8 @@ declare class CouponIsDisabledWixError extends Error {
|
|
|
2523
2581
|
applicationCode: string;
|
|
2524
2582
|
/** @hidden */
|
|
2525
2583
|
name: string;
|
|
2584
|
+
/** @hidden */
|
|
2585
|
+
errorType: string;
|
|
2526
2586
|
constructor();
|
|
2527
2587
|
/** @hidden */
|
|
2528
2588
|
static readonly __type = "wix_spi_error";
|
|
@@ -2536,6 +2596,8 @@ declare class CouponUsageExceededWixError extends Error {
|
|
|
2536
2596
|
applicationCode: string;
|
|
2537
2597
|
/** @hidden */
|
|
2538
2598
|
name: string;
|
|
2599
|
+
/** @hidden */
|
|
2600
|
+
errorType: string;
|
|
2539
2601
|
constructor();
|
|
2540
2602
|
/** @hidden */
|
|
2541
2603
|
static readonly __type = "wix_spi_error";
|
|
@@ -2549,6 +2611,8 @@ declare class CouponHasExpiredWixError extends Error {
|
|
|
2549
2611
|
applicationCode: string;
|
|
2550
2612
|
/** @hidden */
|
|
2551
2613
|
name: string;
|
|
2614
|
+
/** @hidden */
|
|
2615
|
+
errorType: string;
|
|
2552
2616
|
constructor();
|
|
2553
2617
|
/** @hidden */
|
|
2554
2618
|
static readonly __type = "wix_spi_error";
|
|
@@ -2562,6 +2626,8 @@ declare class CouponIsNotActiveYetWixError extends Error {
|
|
|
2562
2626
|
applicationCode: string;
|
|
2563
2627
|
/** @hidden */
|
|
2564
2628
|
name: string;
|
|
2629
|
+
/** @hidden */
|
|
2630
|
+
errorType: string;
|
|
2565
2631
|
constructor();
|
|
2566
2632
|
/** @hidden */
|
|
2567
2633
|
static readonly __type = "wix_spi_error";
|
|
@@ -2575,6 +2641,8 @@ declare class CouponDoesNotExistWixError extends Error {
|
|
|
2575
2641
|
applicationCode: string;
|
|
2576
2642
|
/** @hidden */
|
|
2577
2643
|
name: string;
|
|
2644
|
+
/** @hidden */
|
|
2645
|
+
errorType: string;
|
|
2578
2646
|
constructor();
|
|
2579
2647
|
/** @hidden */
|
|
2580
2648
|
static readonly __type = "wix_spi_error";
|
|
@@ -2634,12 +2702,12 @@ interface Order {
|
|
|
2634
2702
|
* Date and time the order was created in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
|
|
2635
2703
|
* @readonly
|
|
2636
2704
|
*/
|
|
2637
|
-
_createdDate?: Date;
|
|
2705
|
+
_createdDate?: Date | null;
|
|
2638
2706
|
/**
|
|
2639
2707
|
* Date and time the order was last updated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
|
|
2640
2708
|
* @readonly
|
|
2641
2709
|
*/
|
|
2642
|
-
_updatedDate?: Date;
|
|
2710
|
+
_updatedDate?: Date | null;
|
|
2643
2711
|
/**
|
|
2644
2712
|
* Order line items.
|
|
2645
2713
|
* @readonly
|
|
@@ -3065,7 +3133,7 @@ interface DigitalFile {
|
|
|
3065
3133
|
* Link expiration time and date.
|
|
3066
3134
|
* @readonly
|
|
3067
3135
|
*/
|
|
3068
|
-
expirationDate?: Date;
|
|
3136
|
+
expirationDate?: Date | null;
|
|
3069
3137
|
}
|
|
3070
3138
|
interface SubscriptionInfo {
|
|
3071
3139
|
/** Subscription ID. */
|
|
@@ -3295,7 +3363,7 @@ interface DeliveryLogistics extends DeliveryLogisticsAddressOneOf {
|
|
|
3295
3363
|
* Deprecated - Latest expected delivery date and time in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
|
|
3296
3364
|
* @deprecated
|
|
3297
3365
|
*/
|
|
3298
|
-
deliverByDate?: Date;
|
|
3366
|
+
deliverByDate?: Date | null;
|
|
3299
3367
|
/** Expected delivery time. */
|
|
3300
3368
|
deliveryTimeSlot?: DeliveryTimeSlot;
|
|
3301
3369
|
}
|
|
@@ -3336,9 +3404,9 @@ declare enum PickupMethod {
|
|
|
3336
3404
|
}
|
|
3337
3405
|
interface DeliveryTimeSlot {
|
|
3338
3406
|
/** Delivery slot starting time. */
|
|
3339
|
-
from?: Date;
|
|
3407
|
+
from?: Date | null;
|
|
3340
3408
|
/** Delivery slot ending time. */
|
|
3341
|
-
to?: Date;
|
|
3409
|
+
to?: Date | null;
|
|
3342
3410
|
}
|
|
3343
3411
|
interface ShippingPrice {
|
|
3344
3412
|
/** Shipping price for display purposes. */
|
|
@@ -3518,7 +3586,7 @@ interface Activity extends ActivityContentOneOf {
|
|
|
3518
3586
|
* Activity creation date and time.
|
|
3519
3587
|
* @readonly
|
|
3520
3588
|
*/
|
|
3521
|
-
_createdDate?: Date;
|
|
3589
|
+
_createdDate?: Date | null;
|
|
3522
3590
|
/** Activity type. */
|
|
3523
3591
|
type?: ActivityType;
|
|
3524
3592
|
}
|
|
@@ -4161,12 +4229,12 @@ interface Checkout {
|
|
|
4161
4229
|
* Date and time the checkout was created.
|
|
4162
4230
|
* @readonly
|
|
4163
4231
|
*/
|
|
4164
|
-
_createdDate?: Date;
|
|
4232
|
+
_createdDate?: Date | null;
|
|
4165
4233
|
/**
|
|
4166
4234
|
* Date and time the checkout was updated.
|
|
4167
4235
|
* @readonly
|
|
4168
4236
|
*/
|
|
4169
|
-
_updatedDate?: Date;
|
|
4237
|
+
_updatedDate?: Date | null;
|
|
4170
4238
|
/**
|
|
4171
4239
|
* Minimal amount to pay in order to place the order.
|
|
4172
4240
|
* @readonly
|
|
@@ -4531,7 +4599,7 @@ interface ServiceProperties {
|
|
|
4531
4599
|
* Date and time the service is to be provided, in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
|
|
4532
4600
|
* For example, the start time of a class.
|
|
4533
4601
|
*/
|
|
4534
|
-
scheduledDate?: Date;
|
|
4602
|
+
scheduledDate?: Date | null;
|
|
4535
4603
|
/** The number of people participating in the service. For example, the number of people attending a class or the number of people per hotel room. */
|
|
4536
4604
|
numberOfParticipants?: number | null;
|
|
4537
4605
|
}
|
|
@@ -4633,9 +4701,9 @@ declare enum PickupDetailsPickupMethod {
|
|
|
4633
4701
|
}
|
|
4634
4702
|
interface V1DeliveryTimeSlot {
|
|
4635
4703
|
/** starting time of the delivery time slot */
|
|
4636
|
-
from?: Date;
|
|
4704
|
+
from?: Date | null;
|
|
4637
4705
|
/** ending time of the delivery time slot */
|
|
4638
|
-
to?: Date;
|
|
4706
|
+
to?: Date | null;
|
|
4639
4707
|
}
|
|
4640
4708
|
interface SelectedCarrierServiceOptionPrices$1 {
|
|
4641
4709
|
/** Total shipping price, after discount and after tax. */
|
|
@@ -5097,7 +5165,7 @@ interface Membership {
|
|
|
5097
5165
|
/** Optional - For a membership that has limited credits, information about credit usage. */
|
|
5098
5166
|
credits?: MembershipPaymentCredits;
|
|
5099
5167
|
/** Optional - TMembership expiry date. */
|
|
5100
|
-
expirationDate?: Date;
|
|
5168
|
+
expirationDate?: Date | null;
|
|
5101
5169
|
/** Additional data about this membership. */
|
|
5102
5170
|
additionalData?: Record<string, any> | null;
|
|
5103
5171
|
}
|