ultracart_rest_api_v2_typescript 3.10.138 → 3.10.140

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 CHANGED
@@ -1,4 +1,4 @@
1
- ## ultracart_rest_api_v2_typescript@3.10.138
1
+ ## ultracart_rest_api_v2_typescript@3.10.140
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.138 --save
39
+ npm install ultracart_rest_api_v2_typescript@3.10.140 --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.140 | 06/06/2023 | auto order add_ons |
58
+ | 3.10.139 | 05/25/2023 | added venmo constants for payment type |
57
59
  | 3.10.138 | 05/18/2023 | dw bi - send back the executed SQL |
58
60
  | 3.10.137 | 05/04/2023 | item api added methods for items reviews |
59
61
  | 3.10.136 | 04/28/2023 | item - pricing tier level flag for exempt from min item count |
package/api.ts CHANGED
@@ -1340,6 +1340,12 @@ export interface ApplyLibraryItemResponse {
1340
1340
  * @interface AutoOrder
1341
1341
  */
1342
1342
  export interface AutoOrder {
1343
+ /**
1344
+ * Array of addon objects instructing which items to add to auto order and how many times they should be added.
1345
+ * @type {Array<AutoOrderAddonItem>}
1346
+ * @memberof AutoOrder
1347
+ */
1348
+ add_ons?: Array<AutoOrderAddonItem>;
1343
1349
  /**
1344
1350
  * Unique code assigned to this auto order
1345
1351
  * @type {string}
@@ -1496,6 +1502,70 @@ export namespace AutoOrder {
1496
1502
  }
1497
1503
  }
1498
1504
 
1505
+ /**
1506
+ *
1507
+ * @export
1508
+ * @interface AutoOrderAddonItem
1509
+ */
1510
+ export interface AutoOrderAddonItem {
1511
+ /**
1512
+ *
1513
+ * @type {number}
1514
+ * @memberof AutoOrderAddonItem
1515
+ */
1516
+ arbitrary_unit_cost?: number;
1517
+ /**
1518
+ *
1519
+ * @type {boolean}
1520
+ * @memberof AutoOrderAddonItem
1521
+ */
1522
+ free_shipping?: boolean;
1523
+ /**
1524
+ *
1525
+ * @type {string}
1526
+ * @memberof AutoOrderAddonItem
1527
+ */
1528
+ item_id?: string;
1529
+ /**
1530
+ *
1531
+ * @type {number}
1532
+ * @memberof AutoOrderAddonItem
1533
+ */
1534
+ next_x_orders?: number;
1535
+ /**
1536
+ * Options associated with this item
1537
+ * @type {Array<AutoOrderAddonItemOption>}
1538
+ * @memberof AutoOrderAddonItem
1539
+ */
1540
+ options?: Array<AutoOrderAddonItemOption>;
1541
+ /**
1542
+ *
1543
+ * @type {number}
1544
+ * @memberof AutoOrderAddonItem
1545
+ */
1546
+ quantity?: number;
1547
+ }
1548
+
1549
+ /**
1550
+ *
1551
+ * @export
1552
+ * @interface AutoOrderAddonItemOption
1553
+ */
1554
+ export interface AutoOrderAddonItemOption {
1555
+ /**
1556
+ * Label
1557
+ * @type {string}
1558
+ * @memberof AutoOrderAddonItemOption
1559
+ */
1560
+ label?: string;
1561
+ /**
1562
+ * Value
1563
+ * @type {string}
1564
+ * @memberof AutoOrderAddonItemOption
1565
+ */
1566
+ value?: string;
1567
+ }
1568
+
1499
1569
  /**
1500
1570
  *
1501
1571
  * @export
@@ -22800,12 +22870,24 @@ export interface ItemAutoOrder {
22800
22870
  * @memberof ItemAutoOrder
22801
22871
  */
22802
22872
  auto_order_cancel_item_oid?: number;
22873
+ /**
22874
+ * The minimum life time count that must be billed in order to not be charged the cancellation item.
22875
+ * @type {number}
22876
+ * @memberof ItemAutoOrder
22877
+ */
22878
+ auto_order_cancel_minimum_life_time_count?: number;
22803
22879
  /**
22804
22880
  * The minimum life time value that must be paid in order to not be charged the cancellation item.
22805
22881
  * @type {number}
22806
22882
  * @memberof ItemAutoOrder
22807
22883
  */
22808
22884
  auto_order_cancel_minimum_life_time_value?: number;
22885
+ /**
22886
+ * The minimum rebill count that must be billed in order to not be charged the cancellation item.
22887
+ * @type {number}
22888
+ * @memberof ItemAutoOrder
22889
+ */
22890
+ auto_order_cancel_minimum_rebill_count?: number;
22809
22891
  /**
22810
22892
  * The minimum rebill value that must be paid in order to not be charged the cancellation item.
22811
22893
  * @type {number}
@@ -30917,7 +30999,8 @@ export namespace OrderPayment {
30917
30999
  WireTransfer = <any> 'Wire Transfer',
30918
31000
  Walmart = <any> 'Walmart',
30919
31001
  ShopCom = <any> 'Shop.com',
30920
- Sezzle = <any> 'Sezzle'
31002
+ Sezzle = <any> 'Sezzle',
31003
+ Venmo = <any> 'Venmo'
30921
31004
  }
30922
31005
  /**
30923
31006
  * @export
package/dist/api.d.ts CHANGED
@@ -1298,6 +1298,12 @@ export interface ApplyLibraryItemResponse {
1298
1298
  * @interface AutoOrder
1299
1299
  */
1300
1300
  export interface AutoOrder {
1301
+ /**
1302
+ * Array of addon objects instructing which items to add to auto order and how many times they should be added.
1303
+ * @type {Array<AutoOrderAddonItem>}
1304
+ * @memberof AutoOrder
1305
+ */
1306
+ add_ons?: Array<AutoOrderAddonItem>;
1301
1307
  /**
1302
1308
  * Unique code assigned to this auto order
1303
1309
  * @type {string}
@@ -1452,6 +1458,68 @@ export declare namespace AutoOrder {
1452
1458
  Disabled
1453
1459
  }
1454
1460
  }
1461
+ /**
1462
+ *
1463
+ * @export
1464
+ * @interface AutoOrderAddonItem
1465
+ */
1466
+ export interface AutoOrderAddonItem {
1467
+ /**
1468
+ *
1469
+ * @type {number}
1470
+ * @memberof AutoOrderAddonItem
1471
+ */
1472
+ arbitrary_unit_cost?: number;
1473
+ /**
1474
+ *
1475
+ * @type {boolean}
1476
+ * @memberof AutoOrderAddonItem
1477
+ */
1478
+ free_shipping?: boolean;
1479
+ /**
1480
+ *
1481
+ * @type {string}
1482
+ * @memberof AutoOrderAddonItem
1483
+ */
1484
+ item_id?: string;
1485
+ /**
1486
+ *
1487
+ * @type {number}
1488
+ * @memberof AutoOrderAddonItem
1489
+ */
1490
+ next_x_orders?: number;
1491
+ /**
1492
+ * Options associated with this item
1493
+ * @type {Array<AutoOrderAddonItemOption>}
1494
+ * @memberof AutoOrderAddonItem
1495
+ */
1496
+ options?: Array<AutoOrderAddonItemOption>;
1497
+ /**
1498
+ *
1499
+ * @type {number}
1500
+ * @memberof AutoOrderAddonItem
1501
+ */
1502
+ quantity?: number;
1503
+ }
1504
+ /**
1505
+ *
1506
+ * @export
1507
+ * @interface AutoOrderAddonItemOption
1508
+ */
1509
+ export interface AutoOrderAddonItemOption {
1510
+ /**
1511
+ * Label
1512
+ * @type {string}
1513
+ * @memberof AutoOrderAddonItemOption
1514
+ */
1515
+ label?: string;
1516
+ /**
1517
+ * Value
1518
+ * @type {string}
1519
+ * @memberof AutoOrderAddonItemOption
1520
+ */
1521
+ value?: string;
1522
+ }
1455
1523
  /**
1456
1524
  *
1457
1525
  * @export
@@ -22304,12 +22372,24 @@ export interface ItemAutoOrder {
22304
22372
  * @memberof ItemAutoOrder
22305
22373
  */
22306
22374
  auto_order_cancel_item_oid?: number;
22375
+ /**
22376
+ * The minimum life time count that must be billed in order to not be charged the cancellation item.
22377
+ * @type {number}
22378
+ * @memberof ItemAutoOrder
22379
+ */
22380
+ auto_order_cancel_minimum_life_time_count?: number;
22307
22381
  /**
22308
22382
  * The minimum life time value that must be paid in order to not be charged the cancellation item.
22309
22383
  * @type {number}
22310
22384
  * @memberof ItemAutoOrder
22311
22385
  */
22312
22386
  auto_order_cancel_minimum_life_time_value?: number;
22387
+ /**
22388
+ * The minimum rebill count that must be billed in order to not be charged the cancellation item.
22389
+ * @type {number}
22390
+ * @memberof ItemAutoOrder
22391
+ */
22392
+ auto_order_cancel_minimum_rebill_count?: number;
22313
22393
  /**
22314
22394
  * The minimum rebill value that must be paid in order to not be charged the cancellation item.
22315
22395
  * @type {number}
@@ -30265,7 +30345,8 @@ export declare namespace OrderPayment {
30265
30345
  WireTransfer,
30266
30346
  Walmart,
30267
30347
  ShopCom,
30268
- Sezzle
30348
+ Sezzle,
30349
+ Venmo
30269
30350
  }
30270
30351
  /**
30271
30352
  * @export
package/dist/api.js CHANGED
@@ -1161,6 +1161,7 @@ var OrderPayment;
1161
1161
  PaymentMethodEnum[PaymentMethodEnum["Walmart"] = 'Walmart'] = "Walmart";
1162
1162
  PaymentMethodEnum[PaymentMethodEnum["ShopCom"] = 'Shop.com'] = "ShopCom";
1163
1163
  PaymentMethodEnum[PaymentMethodEnum["Sezzle"] = 'Sezzle'] = "Sezzle";
1164
+ PaymentMethodEnum[PaymentMethodEnum["Venmo"] = 'Venmo'] = "Venmo";
1164
1165
  })(PaymentMethodEnum = OrderPayment.PaymentMethodEnum || (OrderPayment.PaymentMethodEnum = {}));
1165
1166
  /**
1166
1167
  * @export
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "3.10.138",
3
+ "version": "3.10.140",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "keywords": [