@wix/ecom 1.0.626 → 1.0.627
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 +4 -4
- package/type-bundles/context.bundle.d.ts +0 -274
- package/type-bundles/index.bundle.d.ts +0 -366
- package/type-bundles/meta.bundle.d.ts +98 -596
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/ecom",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.627",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"@wix/ecom_back-in-stock-notifications": "1.0.35",
|
|
25
25
|
"@wix/ecom_back-in-stock-settings": "1.0.22",
|
|
26
26
|
"@wix/ecom_cart": "1.0.44",
|
|
27
|
-
"@wix/ecom_checkout": "1.0.
|
|
27
|
+
"@wix/ecom_checkout": "1.0.48",
|
|
28
28
|
"@wix/ecom_checkout-settings": "1.0.33",
|
|
29
|
-
"@wix/ecom_checkout-templates": "1.0.
|
|
29
|
+
"@wix/ecom_checkout-templates": "1.0.49",
|
|
30
30
|
"@wix/ecom_currencies": "1.0.23",
|
|
31
31
|
"@wix/ecom_current-cart": "1.0.44",
|
|
32
32
|
"@wix/ecom_custom-triggers": "1.0.7",
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"fqdn": ""
|
|
65
65
|
}
|
|
66
66
|
},
|
|
67
|
-
"falconPackageHash": "
|
|
67
|
+
"falconPackageHash": "dfd5f364f4b7bbd883e6dbe77c4908bfa4b219b5e38c6b984c2bcb9e"
|
|
68
68
|
}
|
|
@@ -7383,8 +7383,6 @@ interface LineItem$1 {
|
|
|
7383
7383
|
* @readonly
|
|
7384
7384
|
*/
|
|
7385
7385
|
depositAmount?: MultiCurrencyPrice$1;
|
|
7386
|
-
/** Allows partial overrides for catalog line item properties like name, price, etc */
|
|
7387
|
-
catalogOverrideFields?: CatalogOverrideFields$1;
|
|
7388
7386
|
}
|
|
7389
7387
|
/** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
|
|
7390
7388
|
interface CatalogReference$2 {
|
|
@@ -7597,20 +7595,6 @@ interface PriceDescription$2 {
|
|
|
7597
7595
|
*/
|
|
7598
7596
|
translated?: string | null;
|
|
7599
7597
|
}
|
|
7600
|
-
interface CatalogOverrideFields$1 {
|
|
7601
|
-
/** Item product name */
|
|
7602
|
-
productName?: ProductName$2;
|
|
7603
|
-
/** Item price **after** discounts. */
|
|
7604
|
-
price?: string | null;
|
|
7605
|
-
/** Item price **before** discount. */
|
|
7606
|
-
fullPrice?: string | null;
|
|
7607
|
-
/** Line item description lines. Used for displaying the cart, checkout and order. */
|
|
7608
|
-
descriptionLines?: DescriptionLine$2[];
|
|
7609
|
-
/** Physical properties of the item. When relevant, contains information such as SKU, item weight, and shippability. */
|
|
7610
|
-
physicalProperties?: PhysicalProperties$2;
|
|
7611
|
-
/** Line item image details. */
|
|
7612
|
-
image?: string;
|
|
7613
|
-
}
|
|
7614
7598
|
/** Billing Info and shipping details */
|
|
7615
7599
|
interface AddressWithContact$2 {
|
|
7616
7600
|
/** Address. */
|
|
@@ -8551,26 +8535,6 @@ interface GetCheckoutResponseNonNullableFields {
|
|
|
8551
8535
|
formattedAmount: string;
|
|
8552
8536
|
formattedConvertedAmount: string;
|
|
8553
8537
|
};
|
|
8554
|
-
catalogOverrideFields?: {
|
|
8555
|
-
productName?: {
|
|
8556
|
-
original: string;
|
|
8557
|
-
};
|
|
8558
|
-
descriptionLines: {
|
|
8559
|
-
plainText?: {
|
|
8560
|
-
original: string;
|
|
8561
|
-
};
|
|
8562
|
-
colorInfo?: {
|
|
8563
|
-
original: string;
|
|
8564
|
-
};
|
|
8565
|
-
name?: {
|
|
8566
|
-
original: string;
|
|
8567
|
-
};
|
|
8568
|
-
}[];
|
|
8569
|
-
physicalProperties?: {
|
|
8570
|
-
shippable: boolean;
|
|
8571
|
-
};
|
|
8572
|
-
image: string;
|
|
8573
|
-
};
|
|
8574
8538
|
}[];
|
|
8575
8539
|
billingInfo?: {
|
|
8576
8540
|
contactDetails?: {
|
|
@@ -9256,26 +9220,6 @@ interface RemoveCouponResponseNonNullableFields {
|
|
|
9256
9220
|
formattedAmount: string;
|
|
9257
9221
|
formattedConvertedAmount: string;
|
|
9258
9222
|
};
|
|
9259
|
-
catalogOverrideFields?: {
|
|
9260
|
-
productName?: {
|
|
9261
|
-
original: string;
|
|
9262
|
-
};
|
|
9263
|
-
descriptionLines: {
|
|
9264
|
-
plainText?: {
|
|
9265
|
-
original: string;
|
|
9266
|
-
};
|
|
9267
|
-
colorInfo?: {
|
|
9268
|
-
original: string;
|
|
9269
|
-
};
|
|
9270
|
-
name?: {
|
|
9271
|
-
original: string;
|
|
9272
|
-
};
|
|
9273
|
-
}[];
|
|
9274
|
-
physicalProperties?: {
|
|
9275
|
-
shippable: boolean;
|
|
9276
|
-
};
|
|
9277
|
-
image: string;
|
|
9278
|
-
};
|
|
9279
9223
|
}[];
|
|
9280
9224
|
billingInfo?: {
|
|
9281
9225
|
contactDetails?: {
|
|
@@ -9958,26 +9902,6 @@ interface RemoveGiftCardResponseNonNullableFields {
|
|
|
9958
9902
|
formattedAmount: string;
|
|
9959
9903
|
formattedConvertedAmount: string;
|
|
9960
9904
|
};
|
|
9961
|
-
catalogOverrideFields?: {
|
|
9962
|
-
productName?: {
|
|
9963
|
-
original: string;
|
|
9964
|
-
};
|
|
9965
|
-
descriptionLines: {
|
|
9966
|
-
plainText?: {
|
|
9967
|
-
original: string;
|
|
9968
|
-
};
|
|
9969
|
-
colorInfo?: {
|
|
9970
|
-
original: string;
|
|
9971
|
-
};
|
|
9972
|
-
name?: {
|
|
9973
|
-
original: string;
|
|
9974
|
-
};
|
|
9975
|
-
}[];
|
|
9976
|
-
physicalProperties?: {
|
|
9977
|
-
shippable: boolean;
|
|
9978
|
-
};
|
|
9979
|
-
image: string;
|
|
9980
|
-
};
|
|
9981
9905
|
}[];
|
|
9982
9906
|
billingInfo?: {
|
|
9983
9907
|
contactDetails?: {
|
|
@@ -10660,26 +10584,6 @@ interface RemoveOverrideCheckoutUrlResponseNonNullableFields {
|
|
|
10660
10584
|
formattedAmount: string;
|
|
10661
10585
|
formattedConvertedAmount: string;
|
|
10662
10586
|
};
|
|
10663
|
-
catalogOverrideFields?: {
|
|
10664
|
-
productName?: {
|
|
10665
|
-
original: string;
|
|
10666
|
-
};
|
|
10667
|
-
descriptionLines: {
|
|
10668
|
-
plainText?: {
|
|
10669
|
-
original: string;
|
|
10670
|
-
};
|
|
10671
|
-
colorInfo?: {
|
|
10672
|
-
original: string;
|
|
10673
|
-
};
|
|
10674
|
-
name?: {
|
|
10675
|
-
original: string;
|
|
10676
|
-
};
|
|
10677
|
-
}[];
|
|
10678
|
-
physicalProperties?: {
|
|
10679
|
-
shippable: boolean;
|
|
10680
|
-
};
|
|
10681
|
-
image: string;
|
|
10682
|
-
};
|
|
10683
10587
|
}[];
|
|
10684
10588
|
billingInfo?: {
|
|
10685
10589
|
contactDetails?: {
|
|
@@ -11362,26 +11266,6 @@ interface AddToCheckoutResponseNonNullableFields {
|
|
|
11362
11266
|
formattedAmount: string;
|
|
11363
11267
|
formattedConvertedAmount: string;
|
|
11364
11268
|
};
|
|
11365
|
-
catalogOverrideFields?: {
|
|
11366
|
-
productName?: {
|
|
11367
|
-
original: string;
|
|
11368
|
-
};
|
|
11369
|
-
descriptionLines: {
|
|
11370
|
-
plainText?: {
|
|
11371
|
-
original: string;
|
|
11372
|
-
};
|
|
11373
|
-
colorInfo?: {
|
|
11374
|
-
original: string;
|
|
11375
|
-
};
|
|
11376
|
-
name?: {
|
|
11377
|
-
original: string;
|
|
11378
|
-
};
|
|
11379
|
-
}[];
|
|
11380
|
-
physicalProperties?: {
|
|
11381
|
-
shippable: boolean;
|
|
11382
|
-
};
|
|
11383
|
-
image: string;
|
|
11384
|
-
};
|
|
11385
11269
|
}[];
|
|
11386
11270
|
billingInfo?: {
|
|
11387
11271
|
contactDetails?: {
|
|
@@ -12064,26 +11948,6 @@ interface RemoveLineItemsResponseNonNullableFields {
|
|
|
12064
11948
|
formattedAmount: string;
|
|
12065
11949
|
formattedConvertedAmount: string;
|
|
12066
11950
|
};
|
|
12067
|
-
catalogOverrideFields?: {
|
|
12068
|
-
productName?: {
|
|
12069
|
-
original: string;
|
|
12070
|
-
};
|
|
12071
|
-
descriptionLines: {
|
|
12072
|
-
plainText?: {
|
|
12073
|
-
original: string;
|
|
12074
|
-
};
|
|
12075
|
-
colorInfo?: {
|
|
12076
|
-
original: string;
|
|
12077
|
-
};
|
|
12078
|
-
name?: {
|
|
12079
|
-
original: string;
|
|
12080
|
-
};
|
|
12081
|
-
}[];
|
|
12082
|
-
physicalProperties?: {
|
|
12083
|
-
shippable: boolean;
|
|
12084
|
-
};
|
|
12085
|
-
image: string;
|
|
12086
|
-
};
|
|
12087
11951
|
}[];
|
|
12088
11952
|
billingInfo?: {
|
|
12089
11953
|
contactDetails?: {
|
|
@@ -12770,26 +12634,6 @@ interface UpdateLineItemsQuantityResponseNonNullableFields {
|
|
|
12770
12634
|
formattedAmount: string;
|
|
12771
12635
|
formattedConvertedAmount: string;
|
|
12772
12636
|
};
|
|
12773
|
-
catalogOverrideFields?: {
|
|
12774
|
-
productName?: {
|
|
12775
|
-
original: string;
|
|
12776
|
-
};
|
|
12777
|
-
descriptionLines: {
|
|
12778
|
-
plainText?: {
|
|
12779
|
-
original: string;
|
|
12780
|
-
};
|
|
12781
|
-
colorInfo?: {
|
|
12782
|
-
original: string;
|
|
12783
|
-
};
|
|
12784
|
-
name?: {
|
|
12785
|
-
original: string;
|
|
12786
|
-
};
|
|
12787
|
-
}[];
|
|
12788
|
-
physicalProperties?: {
|
|
12789
|
-
shippable: boolean;
|
|
12790
|
-
};
|
|
12791
|
-
image: string;
|
|
12792
|
-
};
|
|
12793
12637
|
}[];
|
|
12794
12638
|
billingInfo?: {
|
|
12795
12639
|
contactDetails?: {
|
|
@@ -13729,26 +13573,6 @@ declare function createCheckout$1(httpClient: HttpClient): (options?: CreateChec
|
|
|
13729
13573
|
formattedAmount: string;
|
|
13730
13574
|
formattedConvertedAmount: string;
|
|
13731
13575
|
} | undefined;
|
|
13732
|
-
catalogOverrideFields?: {
|
|
13733
|
-
productName?: {
|
|
13734
|
-
original: string;
|
|
13735
|
-
} | undefined;
|
|
13736
|
-
descriptionLines: {
|
|
13737
|
-
plainText?: {
|
|
13738
|
-
original: string;
|
|
13739
|
-
} | undefined;
|
|
13740
|
-
colorInfo?: {
|
|
13741
|
-
original: string;
|
|
13742
|
-
} | undefined;
|
|
13743
|
-
name?: {
|
|
13744
|
-
original: string;
|
|
13745
|
-
} | undefined;
|
|
13746
|
-
}[];
|
|
13747
|
-
physicalProperties?: {
|
|
13748
|
-
shippable: boolean;
|
|
13749
|
-
} | undefined;
|
|
13750
|
-
image: string;
|
|
13751
|
-
} | undefined;
|
|
13752
13576
|
}[];
|
|
13753
13577
|
billingInfo?: {
|
|
13754
13578
|
contactDetails?: {
|
|
@@ -14431,26 +14255,6 @@ declare function updateCheckout$1(httpClient: HttpClient): (_id: string | null,
|
|
|
14431
14255
|
formattedAmount: string;
|
|
14432
14256
|
formattedConvertedAmount: string;
|
|
14433
14257
|
} | undefined;
|
|
14434
|
-
catalogOverrideFields?: {
|
|
14435
|
-
productName?: {
|
|
14436
|
-
original: string;
|
|
14437
|
-
} | undefined;
|
|
14438
|
-
descriptionLines: {
|
|
14439
|
-
plainText?: {
|
|
14440
|
-
original: string;
|
|
14441
|
-
} | undefined;
|
|
14442
|
-
colorInfo?: {
|
|
14443
|
-
original: string;
|
|
14444
|
-
} | undefined;
|
|
14445
|
-
name?: {
|
|
14446
|
-
original: string;
|
|
14447
|
-
} | undefined;
|
|
14448
|
-
}[];
|
|
14449
|
-
physicalProperties?: {
|
|
14450
|
-
shippable: boolean;
|
|
14451
|
-
} | undefined;
|
|
14452
|
-
image: string;
|
|
14453
|
-
} | undefined;
|
|
14454
14258
|
}[];
|
|
14455
14259
|
billingInfo?: {
|
|
14456
14260
|
contactDetails?: {
|
|
@@ -15367,8 +15171,6 @@ interface V1LineItem {
|
|
|
15367
15171
|
* > **Note:** For more information on what to pass to `lineItems.catalogReference`, see [eCommerce Integration in the Wix Stores Catalog API](https://dev.wix.com/api/rest/wix-stores/catalog/ecommerce-integration).
|
|
15368
15172
|
*/
|
|
15369
15173
|
catalogReference?: CatalogReference$1;
|
|
15370
|
-
/** Allows partial overrides for catalog line item properties like name, price, etc */
|
|
15371
|
-
catalogOverrideFields?: CatalogOverrideFields;
|
|
15372
15174
|
}
|
|
15373
15175
|
/** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
|
|
15374
15176
|
interface CatalogReference$1 {
|
|
@@ -15392,20 +15194,6 @@ interface CatalogReference$1 {
|
|
|
15392
15194
|
*/
|
|
15393
15195
|
options?: Record<string, any> | null;
|
|
15394
15196
|
}
|
|
15395
|
-
interface CatalogOverrideFields {
|
|
15396
|
-
/** Item product name */
|
|
15397
|
-
productName?: ProductName$1;
|
|
15398
|
-
/** Item price **after** discounts. */
|
|
15399
|
-
price?: string | null;
|
|
15400
|
-
/** Item price **before** discount. */
|
|
15401
|
-
fullPrice?: string | null;
|
|
15402
|
-
/** Line item description lines. Used for displaying the cart, checkout and order. */
|
|
15403
|
-
descriptionLines?: DescriptionLine$1[];
|
|
15404
|
-
/** Physical properties of the item. When relevant, contains information such as SKU, item weight, and shippability. */
|
|
15405
|
-
physicalProperties?: PhysicalProperties$1;
|
|
15406
|
-
/** Line item image details. */
|
|
15407
|
-
image?: string;
|
|
15408
|
-
}
|
|
15409
15197
|
interface ProductName$1 {
|
|
15410
15198
|
/**
|
|
15411
15199
|
* __Required.__ Item 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).
|
|
@@ -15847,8 +15635,6 @@ interface LineItem {
|
|
|
15847
15635
|
* @readonly
|
|
15848
15636
|
*/
|
|
15849
15637
|
depositAmount?: MultiCurrencyPrice;
|
|
15850
|
-
/** Allows partial overrides for catalog line item properties like name, price, etc */
|
|
15851
|
-
catalogOverrideFields?: CatalogOverrideFields;
|
|
15852
15638
|
}
|
|
15853
15639
|
interface MultiCurrencyPrice {
|
|
15854
15640
|
/** Amount. */
|
|
@@ -16824,26 +16610,6 @@ declare function createCheckoutTemplate$1(httpClient: HttpClient): (checkoutTemp
|
|
|
16824
16610
|
catalogItemId: string;
|
|
16825
16611
|
appId: string;
|
|
16826
16612
|
} | undefined;
|
|
16827
|
-
catalogOverrideFields?: {
|
|
16828
|
-
productName?: {
|
|
16829
|
-
original: string;
|
|
16830
|
-
} | undefined;
|
|
16831
|
-
descriptionLines: {
|
|
16832
|
-
plainText?: {
|
|
16833
|
-
original: string;
|
|
16834
|
-
} | undefined;
|
|
16835
|
-
colorInfo?: {
|
|
16836
|
-
original: string;
|
|
16837
|
-
} | undefined;
|
|
16838
|
-
name?: {
|
|
16839
|
-
original: string;
|
|
16840
|
-
} | undefined;
|
|
16841
|
-
}[];
|
|
16842
|
-
physicalProperties?: {
|
|
16843
|
-
shippable: boolean;
|
|
16844
|
-
} | undefined;
|
|
16845
|
-
image: string;
|
|
16846
|
-
} | undefined;
|
|
16847
16613
|
}[];
|
|
16848
16614
|
}>;
|
|
16849
16615
|
declare function getCheckoutTemplate$1(httpClient: HttpClient): (checkoutTemplateId: string) => Promise<CheckoutTemplate & {
|
|
@@ -16861,26 +16627,6 @@ declare function getCheckoutTemplate$1(httpClient: HttpClient): (checkoutTemplat
|
|
|
16861
16627
|
catalogItemId: string;
|
|
16862
16628
|
appId: string;
|
|
16863
16629
|
} | undefined;
|
|
16864
|
-
catalogOverrideFields?: {
|
|
16865
|
-
productName?: {
|
|
16866
|
-
original: string;
|
|
16867
|
-
} | undefined;
|
|
16868
|
-
descriptionLines: {
|
|
16869
|
-
plainText?: {
|
|
16870
|
-
original: string;
|
|
16871
|
-
} | undefined;
|
|
16872
|
-
colorInfo?: {
|
|
16873
|
-
original: string;
|
|
16874
|
-
} | undefined;
|
|
16875
|
-
name?: {
|
|
16876
|
-
original: string;
|
|
16877
|
-
} | undefined;
|
|
16878
|
-
}[];
|
|
16879
|
-
physicalProperties?: {
|
|
16880
|
-
shippable: boolean;
|
|
16881
|
-
} | undefined;
|
|
16882
|
-
image: string;
|
|
16883
|
-
} | undefined;
|
|
16884
16630
|
}[];
|
|
16885
16631
|
}>;
|
|
16886
16632
|
declare function updateCheckoutTemplate$1(httpClient: HttpClient): (_id: string | null, checkoutTemplate: UpdateCheckoutTemplate) => Promise<CheckoutTemplate & {
|
|
@@ -16898,26 +16644,6 @@ declare function updateCheckoutTemplate$1(httpClient: HttpClient): (_id: string
|
|
|
16898
16644
|
catalogItemId: string;
|
|
16899
16645
|
appId: string;
|
|
16900
16646
|
} | undefined;
|
|
16901
|
-
catalogOverrideFields?: {
|
|
16902
|
-
productName?: {
|
|
16903
|
-
original: string;
|
|
16904
|
-
} | undefined;
|
|
16905
|
-
descriptionLines: {
|
|
16906
|
-
plainText?: {
|
|
16907
|
-
original: string;
|
|
16908
|
-
} | undefined;
|
|
16909
|
-
colorInfo?: {
|
|
16910
|
-
original: string;
|
|
16911
|
-
} | undefined;
|
|
16912
|
-
name?: {
|
|
16913
|
-
original: string;
|
|
16914
|
-
} | undefined;
|
|
16915
|
-
}[];
|
|
16916
|
-
physicalProperties?: {
|
|
16917
|
-
shippable: boolean;
|
|
16918
|
-
} | undefined;
|
|
16919
|
-
image: string;
|
|
16920
|
-
} | undefined;
|
|
16921
16647
|
}[];
|
|
16922
16648
|
}>;
|
|
16923
16649
|
declare function deleteCheckoutTemplate$1(httpClient: HttpClient): (checkoutTemplateId: string) => Promise<void>;
|