ultracart_rest_api_v2_typescript 3.10.139 → 3.10.141

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.139
1
+ ## ultracart_rest_api_v2_typescript@3.10.141
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.139 --save
39
+ npm install ultracart_rest_api_v2_typescript@3.10.141 --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.141 | 06/08/2023 | customer profile qb tax exempt reason code field |
58
+ | 3.10.140 | 06/06/2023 | auto order add_ons |
57
59
  | 3.10.139 | 05/25/2023 | added venmo constants for payment type |
58
60
  | 3.10.138 | 05/18/2023 | dw bi - send back the executed SQL |
59
61
  | 3.10.137 | 05/04/2023 | item api added methods for items reviews |
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
@@ -12027,6 +12097,12 @@ export interface Customer {
12027
12097
  * @memberof Customer
12028
12098
  */
12029
12099
  qb_code?: string;
12100
+ /**
12101
+ * QuickBooks tax exemption reason code
12102
+ * @type {number}
12103
+ * @memberof Customer
12104
+ */
12105
+ qb_tax_exemption_reason_code?: number;
12030
12106
  /**
12031
12107
  * Quotes associated with this customer profile
12032
12108
  * @type {Array<Order>}
@@ -22800,12 +22876,24 @@ export interface ItemAutoOrder {
22800
22876
  * @memberof ItemAutoOrder
22801
22877
  */
22802
22878
  auto_order_cancel_item_oid?: number;
22879
+ /**
22880
+ * The minimum life time count that must be billed in order to not be charged the cancellation item.
22881
+ * @type {number}
22882
+ * @memberof ItemAutoOrder
22883
+ */
22884
+ auto_order_cancel_minimum_life_time_count?: number;
22803
22885
  /**
22804
22886
  * The minimum life time value that must be paid in order to not be charged the cancellation item.
22805
22887
  * @type {number}
22806
22888
  * @memberof ItemAutoOrder
22807
22889
  */
22808
22890
  auto_order_cancel_minimum_life_time_value?: number;
22891
+ /**
22892
+ * The minimum rebill count that must be billed in order to not be charged the cancellation item.
22893
+ * @type {number}
22894
+ * @memberof ItemAutoOrder
22895
+ */
22896
+ auto_order_cancel_minimum_rebill_count?: number;
22809
22897
  /**
22810
22898
  * The minimum rebill value that must be paid in order to not be charged the cancellation item.
22811
22899
  * @type {number}
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
@@ -11730,6 +11798,12 @@ export interface Customer {
11730
11798
  * @memberof Customer
11731
11799
  */
11732
11800
  qb_code?: string;
11801
+ /**
11802
+ * QuickBooks tax exemption reason code
11803
+ * @type {number}
11804
+ * @memberof Customer
11805
+ */
11806
+ qb_tax_exemption_reason_code?: number;
11733
11807
  /**
11734
11808
  * Quotes associated with this customer profile
11735
11809
  * @type {Array<Order>}
@@ -22304,12 +22378,24 @@ export interface ItemAutoOrder {
22304
22378
  * @memberof ItemAutoOrder
22305
22379
  */
22306
22380
  auto_order_cancel_item_oid?: number;
22381
+ /**
22382
+ * The minimum life time count that must be billed in order to not be charged the cancellation item.
22383
+ * @type {number}
22384
+ * @memberof ItemAutoOrder
22385
+ */
22386
+ auto_order_cancel_minimum_life_time_count?: number;
22307
22387
  /**
22308
22388
  * The minimum life time value that must be paid in order to not be charged the cancellation item.
22309
22389
  * @type {number}
22310
22390
  * @memberof ItemAutoOrder
22311
22391
  */
22312
22392
  auto_order_cancel_minimum_life_time_value?: number;
22393
+ /**
22394
+ * The minimum rebill count that must be billed in order to not be charged the cancellation item.
22395
+ * @type {number}
22396
+ * @memberof ItemAutoOrder
22397
+ */
22398
+ auto_order_cancel_minimum_rebill_count?: number;
22313
22399
  /**
22314
22400
  * The minimum rebill value that must be paid in order to not be charged the cancellation item.
22315
22401
  * @type {number}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "3.10.139",
3
+ "version": "3.10.141",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "keywords": [