ultracart_rest_api_v2_typescript 3.10.217 → 3.10.219
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/README.md +4 -2
- package/api.ts +21 -0
- package/dist/api.d.ts +21 -0
- package/dist/api.js +3 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## ultracart_rest_api_v2_typescript@3.10.
|
|
1
|
+
## ultracart_rest_api_v2_typescript@3.10.219
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install ultracart_rest_api_v2_typescript@3.10.
|
|
39
|
+
npm install ultracart_rest_api_v2_typescript@3.10.219 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -54,6 +54,8 @@ Not every change is committed to every SDK.
|
|
|
54
54
|
|
|
55
55
|
| Version | Date | Comments |
|
|
56
56
|
| --: | :-: | --- |
|
|
57
|
+
| 3.10.219 | 11/07/2024 | Coupon - PercentOffWithItemsQuantityPurchase - added support for tags |
|
|
58
|
+
| 3.10.218 | 11/04/2024 | item - new constant for auto order schedule of every 5 months |
|
|
57
59
|
| 3.10.217 | 10/24/2024 | storefront page attribute edit method |
|
|
58
60
|
| 3.10.216 | 09/18/2024 | order payment constant for PayPal Fastlane |
|
|
59
61
|
| 3.10.215 | 08/29/2024 | add hold_for_transmission to item shipping object |
|
package/api.ts
CHANGED
|
@@ -1796,6 +1796,7 @@ export namespace AutoOrderItem {
|
|
|
1796
1796
|
Every2Months = <any> 'Every 2 Months',
|
|
1797
1797
|
Every3Months = <any> 'Every 3 Months',
|
|
1798
1798
|
Every4Months = <any> 'Every 4 Months',
|
|
1799
|
+
Every5Months = <any> 'Every 5 Months',
|
|
1799
1800
|
Every6Months = <any> 'Every 6 Months',
|
|
1800
1801
|
Yearly = <any> 'Yearly',
|
|
1801
1802
|
Every4Weeks = <any> 'Every 4 Weeks',
|
|
@@ -1903,6 +1904,7 @@ export namespace AutoOrderItemSimpleSchedule {
|
|
|
1903
1904
|
Every2Months = <any> 'Every 2 Months',
|
|
1904
1905
|
Every3Months = <any> 'Every 3 Months',
|
|
1905
1906
|
Every4Months = <any> 'Every 4 Months',
|
|
1907
|
+
Every5Months = <any> 'Every 5 Months',
|
|
1906
1908
|
Every6Months = <any> 'Every 6 Months',
|
|
1907
1909
|
Yearly = <any> 'Yearly',
|
|
1908
1910
|
Every4Weeks = <any> 'Every 4 Weeks',
|
|
@@ -6227,6 +6229,7 @@ export namespace ChannelPartnerOrderItem {
|
|
|
6227
6229
|
Every2Months = <any> 'Every 2 Months',
|
|
6228
6230
|
Every3Months = <any> 'Every 3 Months',
|
|
6229
6231
|
Every4Months = <any> 'Every 4 Months',
|
|
6232
|
+
Every5Months = <any> 'Every 5 Months',
|
|
6230
6233
|
Every6Months = <any> 'Every 6 Months',
|
|
6231
6234
|
Yearly = <any> 'Yearly',
|
|
6232
6235
|
Every4Weeks = <any> 'Every 4 Weeks',
|
|
@@ -13270,6 +13273,12 @@ export interface CouponPercentOffItemWithItemsQuantityPurchase {
|
|
|
13270
13273
|
* @memberof CouponPercentOffItemWithItemsQuantityPurchase
|
|
13271
13274
|
*/
|
|
13272
13275
|
discount_percent?: number;
|
|
13276
|
+
/**
|
|
13277
|
+
* An optional list of item tags which will receive a discount if one of the required purchased items is purchased.
|
|
13278
|
+
* @type {Array<string>}
|
|
13279
|
+
* @memberof CouponPercentOffItemWithItemsQuantityPurchase
|
|
13280
|
+
*/
|
|
13281
|
+
item_tags?: Array<string>;
|
|
13273
13282
|
/**
|
|
13274
13283
|
* A list of items which will receive a discount if one of the required purchase items is purchased.
|
|
13275
13284
|
* @type {Array<string>}
|
|
@@ -13288,6 +13297,12 @@ export interface CouponPercentOffItemWithItemsQuantityPurchase {
|
|
|
13288
13297
|
* @memberof CouponPercentOffItemWithItemsQuantityPurchase
|
|
13289
13298
|
*/
|
|
13290
13299
|
required_purchase_items?: Array<string>;
|
|
13300
|
+
/**
|
|
13301
|
+
* Required item tags (at least one from the list) that must be purchase for coupon to be valid.
|
|
13302
|
+
* @type {Array<string>}
|
|
13303
|
+
* @memberof CouponPercentOffItemWithItemsQuantityPurchase
|
|
13304
|
+
*/
|
|
13305
|
+
required_purchase_items_tags?: Array<string>;
|
|
13291
13306
|
/**
|
|
13292
13307
|
* The quantity of items that must be purchased for the discount to be applied.
|
|
13293
13308
|
* @type {number}
|
|
@@ -43767,6 +43782,12 @@ export interface WebhookLog {
|
|
|
43767
43782
|
* @memberof WebhookLog
|
|
43768
43783
|
*/
|
|
43769
43784
|
uri?: string;
|
|
43785
|
+
/**
|
|
43786
|
+
* webhook oid
|
|
43787
|
+
* @type {number}
|
|
43788
|
+
* @memberof WebhookLog
|
|
43789
|
+
*/
|
|
43790
|
+
webhook_oid?: number;
|
|
43770
43791
|
}
|
|
43771
43792
|
|
|
43772
43793
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -1748,6 +1748,7 @@ export declare namespace AutoOrderItem {
|
|
|
1748
1748
|
Every2Months,
|
|
1749
1749
|
Every3Months,
|
|
1750
1750
|
Every4Months,
|
|
1751
|
+
Every5Months,
|
|
1751
1752
|
Every6Months,
|
|
1752
1753
|
Yearly,
|
|
1753
1754
|
Every4Weeks,
|
|
@@ -1851,6 +1852,7 @@ export declare namespace AutoOrderItemSimpleSchedule {
|
|
|
1851
1852
|
Every2Months,
|
|
1852
1853
|
Every3Months,
|
|
1853
1854
|
Every4Months,
|
|
1855
|
+
Every5Months,
|
|
1854
1856
|
Every6Months,
|
|
1855
1857
|
Yearly,
|
|
1856
1858
|
Every4Weeks,
|
|
@@ -6089,6 +6091,7 @@ export declare namespace ChannelPartnerOrderItem {
|
|
|
6089
6091
|
Every2Months,
|
|
6090
6092
|
Every3Months,
|
|
6091
6093
|
Every4Months,
|
|
6094
|
+
Every5Months,
|
|
6092
6095
|
Every6Months,
|
|
6093
6096
|
Yearly,
|
|
6094
6097
|
Every4Weeks,
|
|
@@ -12952,6 +12955,12 @@ export interface CouponPercentOffItemWithItemsQuantityPurchase {
|
|
|
12952
12955
|
* @memberof CouponPercentOffItemWithItemsQuantityPurchase
|
|
12953
12956
|
*/
|
|
12954
12957
|
discount_percent?: number;
|
|
12958
|
+
/**
|
|
12959
|
+
* An optional list of item tags which will receive a discount if one of the required purchased items is purchased.
|
|
12960
|
+
* @type {Array<string>}
|
|
12961
|
+
* @memberof CouponPercentOffItemWithItemsQuantityPurchase
|
|
12962
|
+
*/
|
|
12963
|
+
item_tags?: Array<string>;
|
|
12955
12964
|
/**
|
|
12956
12965
|
* A list of items which will receive a discount if one of the required purchase items is purchased.
|
|
12957
12966
|
* @type {Array<string>}
|
|
@@ -12970,6 +12979,12 @@ export interface CouponPercentOffItemWithItemsQuantityPurchase {
|
|
|
12970
12979
|
* @memberof CouponPercentOffItemWithItemsQuantityPurchase
|
|
12971
12980
|
*/
|
|
12972
12981
|
required_purchase_items?: Array<string>;
|
|
12982
|
+
/**
|
|
12983
|
+
* Required item tags (at least one from the list) that must be purchase for coupon to be valid.
|
|
12984
|
+
* @type {Array<string>}
|
|
12985
|
+
* @memberof CouponPercentOffItemWithItemsQuantityPurchase
|
|
12986
|
+
*/
|
|
12987
|
+
required_purchase_items_tags?: Array<string>;
|
|
12973
12988
|
/**
|
|
12974
12989
|
* The quantity of items that must be purchased for the discount to be applied.
|
|
12975
12990
|
* @type {number}
|
|
@@ -42846,6 +42861,12 @@ export interface WebhookLog {
|
|
|
42846
42861
|
* @memberof WebhookLog
|
|
42847
42862
|
*/
|
|
42848
42863
|
uri?: string;
|
|
42864
|
+
/**
|
|
42865
|
+
* webhook oid
|
|
42866
|
+
* @type {number}
|
|
42867
|
+
* @memberof WebhookLog
|
|
42868
|
+
*/
|
|
42869
|
+
webhook_oid?: number;
|
|
42849
42870
|
}
|
|
42850
42871
|
/**
|
|
42851
42872
|
*
|
package/dist/api.js
CHANGED
|
@@ -180,6 +180,7 @@ var AutoOrderItem;
|
|
|
180
180
|
FrequencyEnum[FrequencyEnum["Every2Months"] = 'Every 2 Months'] = "Every2Months";
|
|
181
181
|
FrequencyEnum[FrequencyEnum["Every3Months"] = 'Every 3 Months'] = "Every3Months";
|
|
182
182
|
FrequencyEnum[FrequencyEnum["Every4Months"] = 'Every 4 Months'] = "Every4Months";
|
|
183
|
+
FrequencyEnum[FrequencyEnum["Every5Months"] = 'Every 5 Months'] = "Every5Months";
|
|
183
184
|
FrequencyEnum[FrequencyEnum["Every6Months"] = 'Every 6 Months'] = "Every6Months";
|
|
184
185
|
FrequencyEnum[FrequencyEnum["Yearly"] = 'Yearly'] = "Yearly";
|
|
185
186
|
FrequencyEnum[FrequencyEnum["Every4Weeks"] = 'Every 4 Weeks'] = "Every4Weeks";
|
|
@@ -210,6 +211,7 @@ var AutoOrderItemSimpleSchedule;
|
|
|
210
211
|
FrequencyEnum[FrequencyEnum["Every2Months"] = 'Every 2 Months'] = "Every2Months";
|
|
211
212
|
FrequencyEnum[FrequencyEnum["Every3Months"] = 'Every 3 Months'] = "Every3Months";
|
|
212
213
|
FrequencyEnum[FrequencyEnum["Every4Months"] = 'Every 4 Months'] = "Every4Months";
|
|
214
|
+
FrequencyEnum[FrequencyEnum["Every5Months"] = 'Every 5 Months'] = "Every5Months";
|
|
213
215
|
FrequencyEnum[FrequencyEnum["Every6Months"] = 'Every 6 Months'] = "Every6Months";
|
|
214
216
|
FrequencyEnum[FrequencyEnum["Yearly"] = 'Yearly'] = "Yearly";
|
|
215
217
|
FrequencyEnum[FrequencyEnum["Every4Weeks"] = 'Every 4 Weeks'] = "Every4Weeks";
|
|
@@ -362,6 +364,7 @@ var ChannelPartnerOrderItem;
|
|
|
362
364
|
AutoOrderScheduleEnum[AutoOrderScheduleEnum["Every2Months"] = 'Every 2 Months'] = "Every2Months";
|
|
363
365
|
AutoOrderScheduleEnum[AutoOrderScheduleEnum["Every3Months"] = 'Every 3 Months'] = "Every3Months";
|
|
364
366
|
AutoOrderScheduleEnum[AutoOrderScheduleEnum["Every4Months"] = 'Every 4 Months'] = "Every4Months";
|
|
367
|
+
AutoOrderScheduleEnum[AutoOrderScheduleEnum["Every5Months"] = 'Every 5 Months'] = "Every5Months";
|
|
365
368
|
AutoOrderScheduleEnum[AutoOrderScheduleEnum["Every6Months"] = 'Every 6 Months'] = "Every6Months";
|
|
366
369
|
AutoOrderScheduleEnum[AutoOrderScheduleEnum["Yearly"] = 'Yearly'] = "Yearly";
|
|
367
370
|
AutoOrderScheduleEnum[AutoOrderScheduleEnum["Every4Weeks"] = 'Every 4 Weeks'] = "Every4Weeks";
|