ultracart_rest_api_v2_typescript 3.10.137 → 3.10.139

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.137
1
+ ## ultracart_rest_api_v2_typescript@3.10.139
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.137 --save
39
+ npm install ultracart_rest_api_v2_typescript@3.10.139 --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.139 | 05/25/2023 | added venmo constants for payment type |
58
+ | 3.10.138 | 05/18/2023 | dw bi - send back the executed SQL |
57
59
  | 3.10.137 | 05/04/2023 | item api added methods for items reviews |
58
60
  | 3.10.136 | 04/28/2023 | item - pricing tier level flag for exempt from min item count |
59
61
  | 3.10.135 | 04/27/2023 | order - expose dual vaulted identifiers |
package/api.ts CHANGED
@@ -1544,6 +1544,12 @@ export interface AutoOrderItem {
1544
1544
  * @memberof AutoOrderItem
1545
1545
  */
1546
1546
  auto_order_item_oid?: number;
1547
+ /**
1548
+ * Date/time of the first order of this item. Null if item added to auto order and has not been rebilled yet.
1549
+ * @type {string}
1550
+ * @memberof AutoOrderItem
1551
+ */
1552
+ first_order_dts?: string;
1547
1553
  /**
1548
1554
  * Frequency of the rebill if not a fixed schedule
1549
1555
  * @type {string}
@@ -1610,6 +1616,12 @@ export interface AutoOrderItem {
1610
1616
  * @memberof AutoOrderItem
1611
1617
  */
1612
1618
  original_quantity?: number;
1619
+ /**
1620
+ * True if paused. This field is an object instead of a primitive for backwards compatibility.
1621
+ * @type {boolean}
1622
+ * @memberof AutoOrderItem
1623
+ */
1624
+ paused?: boolean;
1613
1625
  /**
1614
1626
  * The PayPal Payer ID tied to this item
1615
1627
  * @type {string}
@@ -25509,6 +25521,12 @@ export interface ItemPricingTierLimit {
25509
25521
  * @memberof ItemPricingTierLimit
25510
25522
  */
25511
25523
  multiple_quantity?: number;
25524
+ /**
25525
+ * Payment method validity
25526
+ * @type {Array<string>}
25527
+ * @memberof ItemPricingTierLimit
25528
+ */
25529
+ payment_method_validity?: Array<string>;
25512
25530
  }
25513
25531
 
25514
25532
  /**
@@ -30899,7 +30917,8 @@ export namespace OrderPayment {
30899
30917
  WireTransfer = <any> 'Wire Transfer',
30900
30918
  Walmart = <any> 'Walmart',
30901
30919
  ShopCom = <any> 'Shop.com',
30902
- Sezzle = <any> 'Sezzle'
30920
+ Sezzle = <any> 'Sezzle',
30921
+ Venmo = <any> 'Venmo'
30903
30922
  }
30904
30923
  /**
30905
30924
  * @export
@@ -33708,6 +33727,12 @@ export interface ReportDataSet {
33708
33727
  * @memberof ReportDataSet
33709
33728
  */
33710
33729
  error_message?: string;
33730
+ /**
33731
+ *
33732
+ * @type {string}
33733
+ * @memberof ReportDataSet
33734
+ */
33735
+ executed_sql?: string;
33711
33736
  /**
33712
33737
  * An identifier that can be used to help match up the returned data set
33713
33738
  * @type {string}
@@ -58733,7 +58758,7 @@ export const ItemApiFetchParamCreator = function (configuration?: Configuration)
58733
58758
  },
58734
58759
  /**
58735
58760
  * Retrieve an item review.
58736
- * @summary get a review
58761
+ * @summary Get a review
58737
58762
  * @param {number} review_oid The review oid to retrieve.
58738
58763
  * @param {number} merchant_item_oid The item oid the review is associated with.
58739
58764
  * @param {*} [options] Override http request option.
@@ -58791,7 +58816,7 @@ export const ItemApiFetchParamCreator = function (configuration?: Configuration)
58791
58816
  },
58792
58817
  /**
58793
58818
  * Retrieve item reviews.
58794
- * @summary get reviews for an item
58819
+ * @summary Get reviews for an item
58795
58820
  * @param {number} merchant_item_oid The item oid the review is associated with.
58796
58821
  * @param {*} [options] Override http request option.
58797
58822
  * @throws {RequiredError}
@@ -59664,7 +59689,7 @@ export const ItemApiFp = function(configuration?: Configuration) {
59664
59689
  },
59665
59690
  /**
59666
59691
  * Retrieve an item review.
59667
- * @summary get a review
59692
+ * @summary Get a review
59668
59693
  * @param {number} review_oid The review oid to retrieve.
59669
59694
  * @param {number} merchant_item_oid The item oid the review is associated with.
59670
59695
  * @param {*} [options] Override http request option.
@@ -59686,7 +59711,7 @@ export const ItemApiFp = function(configuration?: Configuration) {
59686
59711
  },
59687
59712
  /**
59688
59713
  * Retrieve item reviews.
59689
- * @summary get reviews for an item
59714
+ * @summary Get reviews for an item
59690
59715
  * @param {number} merchant_item_oid The item oid the review is associated with.
59691
59716
  * @param {*} [options] Override http request option.
59692
59717
  * @throws {RequiredError}
@@ -60039,7 +60064,7 @@ export const ItemApiFactory = function (configuration?: Configuration, fetch?: F
60039
60064
  },
60040
60065
  /**
60041
60066
  * Retrieve an item review.
60042
- * @summary get a review
60067
+ * @summary Get a review
60043
60068
  * @param {number} review_oid The review oid to retrieve.
60044
60069
  * @param {number} merchant_item_oid The item oid the review is associated with.
60045
60070
  * @param {*} [options] Override http request option.
@@ -60050,7 +60075,7 @@ export const ItemApiFactory = function (configuration?: Configuration, fetch?: F
60050
60075
  },
60051
60076
  /**
60052
60077
  * Retrieve item reviews.
60053
- * @summary get reviews for an item
60078
+ * @summary Get reviews for an item
60054
60079
  * @param {number} merchant_item_oid The item oid the review is associated with.
60055
60080
  * @param {*} [options] Override http request option.
60056
60081
  * @throws {RequiredError}
@@ -60293,7 +60318,7 @@ export interface ItemApiInterface {
60293
60318
 
60294
60319
  /**
60295
60320
  * Retrieve an item review.
60296
- * @summary get a review
60321
+ * @summary Get a review
60297
60322
  * @param {number} review_oid The review oid to retrieve.
60298
60323
  * @param {number} merchant_item_oid The item oid the review is associated with.
60299
60324
  * @param {*} [options] Override http request option.
@@ -60304,7 +60329,7 @@ export interface ItemApiInterface {
60304
60329
 
60305
60330
  /**
60306
60331
  * Retrieve item reviews.
60307
- * @summary get reviews for an item
60332
+ * @summary Get reviews for an item
60308
60333
  * @param {number} merchant_item_oid The item oid the review is associated with.
60309
60334
  * @param {*} [options] Override http request option.
60310
60335
  * @throws {RequiredError}
@@ -60567,7 +60592,7 @@ export class ItemApi extends BaseAPI implements ItemApiInterface {
60567
60592
 
60568
60593
  /**
60569
60594
  * Retrieve an item review.
60570
- * @summary get a review
60595
+ * @summary Get a review
60571
60596
  * @param {number} review_oid The review oid to retrieve.
60572
60597
  * @param {number} merchant_item_oid The item oid the review is associated with.
60573
60598
  * @param {*} [options] Override http request option.
@@ -60580,7 +60605,7 @@ export class ItemApi extends BaseAPI implements ItemApiInterface {
60580
60605
 
60581
60606
  /**
60582
60607
  * Retrieve item reviews.
60583
- * @summary get reviews for an item
60608
+ * @summary Get reviews for an item
60584
60609
  * @param {number} merchant_item_oid The item oid the review is associated with.
60585
60610
  * @param {*} [options] Override http request option.
60586
60611
  * @throws {RequiredError}
package/dist/api.d.ts CHANGED
@@ -1500,6 +1500,12 @@ export interface AutoOrderItem {
1500
1500
  * @memberof AutoOrderItem
1501
1501
  */
1502
1502
  auto_order_item_oid?: number;
1503
+ /**
1504
+ * Date/time of the first order of this item. Null if item added to auto order and has not been rebilled yet.
1505
+ * @type {string}
1506
+ * @memberof AutoOrderItem
1507
+ */
1508
+ first_order_dts?: string;
1503
1509
  /**
1504
1510
  * Frequency of the rebill if not a fixed schedule
1505
1511
  * @type {string}
@@ -1566,6 +1572,12 @@ export interface AutoOrderItem {
1566
1572
  * @memberof AutoOrderItem
1567
1573
  */
1568
1574
  original_quantity?: number;
1575
+ /**
1576
+ * True if paused. This field is an object instead of a primitive for backwards compatibility.
1577
+ * @type {boolean}
1578
+ * @memberof AutoOrderItem
1579
+ */
1580
+ paused?: boolean;
1569
1581
  /**
1570
1582
  * The PayPal Payer ID tied to this item
1571
1583
  * @type {string}
@@ -24965,6 +24977,12 @@ export interface ItemPricingTierLimit {
24965
24977
  * @memberof ItemPricingTierLimit
24966
24978
  */
24967
24979
  multiple_quantity?: number;
24980
+ /**
24981
+ * Payment method validity
24982
+ * @type {Array<string>}
24983
+ * @memberof ItemPricingTierLimit
24984
+ */
24985
+ payment_method_validity?: Array<string>;
24968
24986
  }
24969
24987
  /**
24970
24988
  *
@@ -30247,7 +30265,8 @@ export declare namespace OrderPayment {
30247
30265
  WireTransfer,
30248
30266
  Walmart,
30249
30267
  ShopCom,
30250
- Sezzle
30268
+ Sezzle,
30269
+ Venmo
30251
30270
  }
30252
30271
  /**
30253
30272
  * @export
@@ -33003,6 +33022,12 @@ export interface ReportDataSet {
33003
33022
  * @memberof ReportDataSet
33004
33023
  */
33005
33024
  error_message?: string;
33025
+ /**
33026
+ *
33027
+ * @type {string}
33028
+ * @memberof ReportDataSet
33029
+ */
33030
+ executed_sql?: string;
33006
33031
  /**
33007
33032
  * An identifier that can be used to help match up the returned data set
33008
33033
  * @type {string}
@@ -46951,7 +46976,7 @@ export declare const ItemApiFetchParamCreator: (configuration?: Configuration) =
46951
46976
  getPricingTiers(_expand?: string, options?: any): FetchArgs;
46952
46977
  /**
46953
46978
  * Retrieve an item review.
46954
- * @summary get a review
46979
+ * @summary Get a review
46955
46980
  * @param {number} review_oid The review oid to retrieve.
46956
46981
  * @param {number} merchant_item_oid The item oid the review is associated with.
46957
46982
  * @param {*} [options] Override http request option.
@@ -46960,7 +46985,7 @@ export declare const ItemApiFetchParamCreator: (configuration?: Configuration) =
46960
46985
  getReview(review_oid: number, merchant_item_oid: number, options?: any): FetchArgs;
46961
46986
  /**
46962
46987
  * Retrieve item reviews.
46963
- * @summary get reviews for an item
46988
+ * @summary Get reviews for an item
46964
46989
  * @param {number} merchant_item_oid The item oid the review is associated with.
46965
46990
  * @param {*} [options] Override http request option.
46966
46991
  * @throws {RequiredError}
@@ -47160,7 +47185,7 @@ export declare const ItemApiFp: (configuration?: Configuration) => {
47160
47185
  getPricingTiers(_expand?: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<PricingTiersResponse>;
47161
47186
  /**
47162
47187
  * Retrieve an item review.
47163
- * @summary get a review
47188
+ * @summary Get a review
47164
47189
  * @param {number} review_oid The review oid to retrieve.
47165
47190
  * @param {number} merchant_item_oid The item oid the review is associated with.
47166
47191
  * @param {*} [options] Override http request option.
@@ -47169,7 +47194,7 @@ export declare const ItemApiFp: (configuration?: Configuration) => {
47169
47194
  getReview(review_oid: number, merchant_item_oid: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ItemReviewResponse>;
47170
47195
  /**
47171
47196
  * Retrieve item reviews.
47172
- * @summary get reviews for an item
47197
+ * @summary Get reviews for an item
47173
47198
  * @param {number} merchant_item_oid The item oid the review is associated with.
47174
47199
  * @param {*} [options] Override http request option.
47175
47200
  * @throws {RequiredError}
@@ -47369,7 +47394,7 @@ export declare const ItemApiFactory: (configuration?: Configuration, fetch?: Fet
47369
47394
  getPricingTiers(_expand?: string, options?: any): Promise<PricingTiersResponse>;
47370
47395
  /**
47371
47396
  * Retrieve an item review.
47372
- * @summary get a review
47397
+ * @summary Get a review
47373
47398
  * @param {number} review_oid The review oid to retrieve.
47374
47399
  * @param {number} merchant_item_oid The item oid the review is associated with.
47375
47400
  * @param {*} [options] Override http request option.
@@ -47378,7 +47403,7 @@ export declare const ItemApiFactory: (configuration?: Configuration, fetch?: Fet
47378
47403
  getReview(review_oid: number, merchant_item_oid: number, options?: any): Promise<ItemReviewResponse>;
47379
47404
  /**
47380
47405
  * Retrieve item reviews.
47381
- * @summary get reviews for an item
47406
+ * @summary Get reviews for an item
47382
47407
  * @param {number} merchant_item_oid The item oid the review is associated with.
47383
47408
  * @param {*} [options] Override http request option.
47384
47409
  * @throws {RequiredError}
@@ -47589,7 +47614,7 @@ export interface ItemApiInterface {
47589
47614
  getPricingTiers(_expand?: string, options?: any): Promise<PricingTiersResponse>;
47590
47615
  /**
47591
47616
  * Retrieve an item review.
47592
- * @summary get a review
47617
+ * @summary Get a review
47593
47618
  * @param {number} review_oid The review oid to retrieve.
47594
47619
  * @param {number} merchant_item_oid The item oid the review is associated with.
47595
47620
  * @param {*} [options] Override http request option.
@@ -47599,7 +47624,7 @@ export interface ItemApiInterface {
47599
47624
  getReview(review_oid: number, merchant_item_oid: number, options?: any): Promise<ItemReviewResponse>;
47600
47625
  /**
47601
47626
  * Retrieve item reviews.
47602
- * @summary get reviews for an item
47627
+ * @summary Get reviews for an item
47603
47628
  * @param {number} merchant_item_oid The item oid the review is associated with.
47604
47629
  * @param {*} [options] Override http request option.
47605
47630
  * @throws {RequiredError}
@@ -47821,7 +47846,7 @@ export declare class ItemApi extends BaseAPI implements ItemApiInterface {
47821
47846
  getPricingTiers(_expand?: string, options?: any): Promise<PricingTiersResponse>;
47822
47847
  /**
47823
47848
  * Retrieve an item review.
47824
- * @summary get a review
47849
+ * @summary Get a review
47825
47850
  * @param {number} review_oid The review oid to retrieve.
47826
47851
  * @param {number} merchant_item_oid The item oid the review is associated with.
47827
47852
  * @param {*} [options] Override http request option.
@@ -47831,7 +47856,7 @@ export declare class ItemApi extends BaseAPI implements ItemApiInterface {
47831
47856
  getReview(review_oid: number, merchant_item_oid: number, options?: any): Promise<ItemReviewResponse>;
47832
47857
  /**
47833
47858
  * Retrieve item reviews.
47834
- * @summary get reviews for an item
47859
+ * @summary Get reviews for an item
47835
47860
  * @param {number} merchant_item_oid The item oid the review is associated with.
47836
47861
  * @param {*} [options] Override http request option.
47837
47862
  * @throws {RequiredError}
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
@@ -17075,7 +17076,7 @@ var ItemApiFetchParamCreator = function (configuration) {
17075
17076
  },
17076
17077
  /**
17077
17078
  * Retrieve an item review.
17078
- * @summary get a review
17079
+ * @summary Get a review
17079
17080
  * @param {number} review_oid The review oid to retrieve.
17080
17081
  * @param {number} merchant_item_oid The item oid the review is associated with.
17081
17082
  * @param {*} [options] Override http request option.
@@ -17127,7 +17128,7 @@ var ItemApiFetchParamCreator = function (configuration) {
17127
17128
  },
17128
17129
  /**
17129
17130
  * Retrieve item reviews.
17130
- * @summary get reviews for an item
17131
+ * @summary Get reviews for an item
17131
17132
  * @param {number} merchant_item_oid The item oid the review is associated with.
17132
17133
  * @param {*} [options] Override http request option.
17133
17134
  * @throws {RequiredError}
@@ -17928,7 +17929,7 @@ var ItemApiFp = function (configuration) {
17928
17929
  },
17929
17930
  /**
17930
17931
  * Retrieve an item review.
17931
- * @summary get a review
17932
+ * @summary Get a review
17932
17933
  * @param {number} review_oid The review oid to retrieve.
17933
17934
  * @param {number} merchant_item_oid The item oid the review is associated with.
17934
17935
  * @param {*} [options] Override http request option.
@@ -17951,7 +17952,7 @@ var ItemApiFp = function (configuration) {
17951
17952
  },
17952
17953
  /**
17953
17954
  * Retrieve item reviews.
17954
- * @summary get reviews for an item
17955
+ * @summary Get reviews for an item
17955
17956
  * @param {number} merchant_item_oid The item oid the review is associated with.
17956
17957
  * @param {*} [options] Override http request option.
17957
17958
  * @throws {RequiredError}
@@ -18314,7 +18315,7 @@ var ItemApiFactory = function (configuration, fetch, basePath) {
18314
18315
  },
18315
18316
  /**
18316
18317
  * Retrieve an item review.
18317
- * @summary get a review
18318
+ * @summary Get a review
18318
18319
  * @param {number} review_oid The review oid to retrieve.
18319
18320
  * @param {number} merchant_item_oid The item oid the review is associated with.
18320
18321
  * @param {*} [options] Override http request option.
@@ -18325,7 +18326,7 @@ var ItemApiFactory = function (configuration, fetch, basePath) {
18325
18326
  },
18326
18327
  /**
18327
18328
  * Retrieve item reviews.
18328
- * @summary get reviews for an item
18329
+ * @summary Get reviews for an item
18329
18330
  * @param {number} merchant_item_oid The item oid the review is associated with.
18330
18331
  * @param {*} [options] Override http request option.
18331
18332
  * @throws {RequiredError}
@@ -18583,7 +18584,7 @@ var ItemApi = /** @class */ (function (_super) {
18583
18584
  };
18584
18585
  /**
18585
18586
  * Retrieve an item review.
18586
- * @summary get a review
18587
+ * @summary Get a review
18587
18588
  * @param {number} review_oid The review oid to retrieve.
18588
18589
  * @param {number} merchant_item_oid The item oid the review is associated with.
18589
18590
  * @param {*} [options] Override http request option.
@@ -18595,7 +18596,7 @@ var ItemApi = /** @class */ (function (_super) {
18595
18596
  };
18596
18597
  /**
18597
18598
  * Retrieve item reviews.
18598
- * @summary get reviews for an item
18599
+ * @summary Get reviews for an item
18599
18600
  * @param {number} merchant_item_oid The item oid the review is associated with.
18600
18601
  * @param {*} [options] Override http request option.
18601
18602
  * @throws {RequiredError}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "3.10.137",
3
+ "version": "3.10.139",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "keywords": [