ultracart_rest_api_v2_typescript 3.11.0 → 3.11.1

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.11.0
1
+ ## ultracart_rest_api_v2_typescript@3.11.1
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.11.0 --save
39
+ npm install ultracart_rest_api_v2_typescript@3.11.1 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -54,6 +54,7 @@ Not every change is committed to every SDK.
54
54
 
55
55
  | Version | Date | Comments |
56
56
  | --: | :-: | --- |
57
+ | 3.11.1 | 02/28/2025 | auto order pause method |
57
58
  | 3.11.0 | 02/21/2025 | ItemApi.getInventorySnapshot had bad nickname causing bad sdk method name |
58
59
  | 3.10.228 | 02/20/2025 | automation fix |
59
60
  | 3.10.227 | 02/20/2025 | no change, revving sdk to troubleshoot java deployment automation |
package/api.ts CHANGED
@@ -28593,7 +28593,7 @@ export interface ItemPaymentProcessing {
28593
28593
  */
28594
28594
  block_prepaid?: boolean;
28595
28595
  /**
28596
- * True if this item should block any refund attempts
28596
+ * True if this item should block any refund attempts, set to false otherwise, null value will not update the field
28597
28597
  * @type {boolean}
28598
28598
  * @memberof ItemPaymentProcessing
28599
28599
  */
@@ -32661,7 +32661,7 @@ export interface OrderCoupon {
32661
32661
  */
32662
32662
  coupon_code?: string;
32663
32663
  /**
32664
- * True if this coupon is hidde from the customer
32664
+ * True if this coupon is hide from the customer
32665
32665
  * @type {boolean}
32666
32666
  * @memberof OrderCoupon
32667
32667
  */
@@ -46139,6 +46139,72 @@ export const AutoOrderApiFetchParamCreator = function (configuration?: Configura
46139
46139
  options: localVarRequestOptions,
46140
46140
  };
46141
46141
  },
46142
+ /**
46143
+ * Completely pause an auto order
46144
+ * @summary Pause auto order
46145
+ * @param {AutoOrder} auto_order Auto orders to pause
46146
+ * @param {number} auto_order_oid The auto order oid to pause.
46147
+ * @param {string} [_expand] The object expansion to perform on the result. See documentation for examples
46148
+ * @param {*} [options] Override http request option.
46149
+ * @throws {RequiredError}
46150
+ */
46151
+ pauseAutoOrder(auto_order: AutoOrder, auto_order_oid: number, _expand?: string, options: any = {}): FetchArgs {
46152
+ // verify required parameter 'auto_order' is not null or undefined
46153
+ if (auto_order === null || auto_order === undefined) {
46154
+ throw new RequiredError('auto_order','Required parameter auto_order was null or undefined when calling pauseAutoOrder.');
46155
+ }
46156
+ // verify required parameter 'auto_order_oid' is not null or undefined
46157
+ if (auto_order_oid === null || auto_order_oid === undefined) {
46158
+ throw new RequiredError('auto_order_oid','Required parameter auto_order_oid was null or undefined when calling pauseAutoOrder.');
46159
+ }
46160
+ const localVarPath = `/auto_order/auto_orders/{auto_order_oid}/pause`
46161
+ .replace(`{${"auto_order_oid"}}`, encodeURIComponent(String(auto_order_oid)));
46162
+ const localVarUrlObj = url.parse(localVarPath, true);
46163
+ const localVarRequestOptions = Object.assign({ method: 'PUT' }, options);
46164
+ const localVarHeaderParameter = {} as any;
46165
+ const localVarQueryParameter = {} as any;
46166
+
46167
+ if(configuration && configuration.apiVersion) {
46168
+ localVarHeaderParameter["X-UltraCart-Api-Version"] = configuration.apiVersion;
46169
+ }
46170
+
46171
+
46172
+
46173
+ // authentication ultraCartOauth required
46174
+ // oauth required
46175
+ if (configuration && configuration.accessToken) {
46176
+ const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
46177
+ ? configuration.accessToken("ultraCartOauth", ["auto_order_write"])
46178
+ : configuration.accessToken;
46179
+ localVarHeaderParameter["Authorization"] = "Bearer " + localVarAccessTokenValue;
46180
+ }
46181
+
46182
+ // authentication ultraCartSimpleApiKey required
46183
+ if (configuration && configuration.apiKey) {
46184
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
46185
+ ? configuration.apiKey("x-ultracart-simple-key")
46186
+ : configuration.apiKey;
46187
+ localVarHeaderParameter["x-ultracart-simple-key"] = localVarApiKeyValue;
46188
+ }
46189
+
46190
+ if (_expand !== undefined) {
46191
+ localVarQueryParameter['_expand'] = _expand;
46192
+ }
46193
+
46194
+ localVarHeaderParameter['Content-Type'] = 'application/json; charset=UTF-8';
46195
+
46196
+ localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
46197
+ // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
46198
+ delete localVarUrlObj.search;
46199
+ localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
46200
+ const needsSerialization = (<any>"AutoOrder" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
46201
+ localVarRequestOptions.body = needsSerialization ? JSON.stringify(auto_order || {}) : (auto_order || "");
46202
+
46203
+ return {
46204
+ url: url.format(localVarUrlObj),
46205
+ options: localVarRequestOptions,
46206
+ };
46207
+ },
46142
46208
  /**
46143
46209
  * Update an auto order on the UltraCart account.
46144
46210
  * @summary Update an auto order
@@ -46490,6 +46556,29 @@ export const AutoOrderApiFp = function(configuration?: Configuration) {
46490
46556
  });
46491
46557
  };
46492
46558
  },
46559
+ /**
46560
+ * Completely pause an auto order
46561
+ * @summary Pause auto order
46562
+ * @param {AutoOrder} auto_order Auto orders to pause
46563
+ * @param {number} auto_order_oid The auto order oid to pause.
46564
+ * @param {string} [_expand] The object expansion to perform on the result. See documentation for examples
46565
+ * @param {*} [options] Override http request option.
46566
+ * @throws {RequiredError}
46567
+ */
46568
+ pauseAutoOrder(auto_order: AutoOrder, auto_order_oid: number, _expand?: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<AutoOrderResponse> {
46569
+ const localVarFetchArgs = AutoOrderApiFetchParamCreator(configuration).pauseAutoOrder(auto_order, auto_order_oid, _expand, options);
46570
+ return (fetch: FetchAPI = portableFetch, basePath: string = BASE_PATH) => {
46571
+ return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
46572
+
46573
+ if (response.status >= 200 && response.status < 300) {
46574
+ return response.json();
46575
+
46576
+ } else {
46577
+ throw response;
46578
+ }
46579
+ });
46580
+ };
46581
+ },
46493
46582
  /**
46494
46583
  * Update an auto order on the UltraCart account.
46495
46584
  * @summary Update an auto order
@@ -46660,6 +46749,18 @@ export const AutoOrderApiFactory = function (configuration?: Configuration, fetc
46660
46749
  getAutoOrdersByQuery(auto_order_query: AutoOrderQuery, _limit?: number, _offset?: number, _sort?: string, _expand?: string, options?: any) {
46661
46750
  return AutoOrderApiFp(configuration).getAutoOrdersByQuery(auto_order_query, _limit, _offset, _sort, _expand, options)(fetch, basePath);
46662
46751
  },
46752
+ /**
46753
+ * Completely pause an auto order
46754
+ * @summary Pause auto order
46755
+ * @param {AutoOrder} auto_order Auto orders to pause
46756
+ * @param {number} auto_order_oid The auto order oid to pause.
46757
+ * @param {string} [_expand] The object expansion to perform on the result. See documentation for examples
46758
+ * @param {*} [options] Override http request option.
46759
+ * @throws {RequiredError}
46760
+ */
46761
+ pauseAutoOrder(auto_order: AutoOrder, auto_order_oid: number, _expand?: string, options?: any) {
46762
+ return AutoOrderApiFp(configuration).pauseAutoOrder(auto_order, auto_order_oid, _expand, options)(fetch, basePath);
46763
+ },
46663
46764
  /**
46664
46765
  * Update an auto order on the UltraCart account.
46665
46766
  * @summary Update an auto order
@@ -46808,6 +46909,18 @@ export interface AutoOrderApiInterface {
46808
46909
  */
46809
46910
  getAutoOrdersByQuery(auto_order_query: AutoOrderQuery, _limit?: number, _offset?: number, _sort?: string, _expand?: string, options?: any): Promise<AutoOrdersResponse>;
46810
46911
 
46912
+ /**
46913
+ * Completely pause an auto order
46914
+ * @summary Pause auto order
46915
+ * @param {AutoOrder} auto_order Auto orders to pause
46916
+ * @param {number} auto_order_oid The auto order oid to pause.
46917
+ * @param {string} [_expand] The object expansion to perform on the result. See documentation for examples
46918
+ * @param {*} [options] Override http request option.
46919
+ * @throws {RequiredError}
46920
+ * @memberof AutoOrderApiInterface
46921
+ */
46922
+ pauseAutoOrder(auto_order: AutoOrder, auto_order_oid: number, _expand?: string, options?: any): Promise<AutoOrderResponse>;
46923
+
46811
46924
  /**
46812
46925
  * Update an auto order on the UltraCart account.
46813
46926
  * @summary Update an auto order
@@ -46972,6 +47085,20 @@ export class AutoOrderApi extends BaseAPI implements AutoOrderApiInterface {
46972
47085
  return AutoOrderApiFp(this.configuration).getAutoOrdersByQuery(auto_order_query, _limit, _offset, _sort, _expand, options)(this.fetch, this.basePath);
46973
47086
  }
46974
47087
 
47088
+ /**
47089
+ * Completely pause an auto order
47090
+ * @summary Pause auto order
47091
+ * @param {AutoOrder} auto_order Auto orders to pause
47092
+ * @param {number} auto_order_oid The auto order oid to pause.
47093
+ * @param {string} [_expand] The object expansion to perform on the result. See documentation for examples
47094
+ * @param {*} [options] Override http request option.
47095
+ * @throws {RequiredError}
47096
+ * @memberof AutoOrderApi
47097
+ */
47098
+ public pauseAutoOrder(auto_order: AutoOrder, auto_order_oid: number, _expand?: string, options?: any) {
47099
+ return AutoOrderApiFp(this.configuration).pauseAutoOrder(auto_order, auto_order_oid, _expand, options)(this.fetch, this.basePath);
47100
+ }
47101
+
46975
47102
  /**
46976
47103
  * Update an auto order on the UltraCart account.
46977
47104
  * @summary Update an auto order
package/dist/api.d.ts CHANGED
@@ -27989,7 +27989,7 @@ export interface ItemPaymentProcessing {
27989
27989
  */
27990
27990
  block_prepaid?: boolean;
27991
27991
  /**
27992
- * True if this item should block any refund attempts
27992
+ * True if this item should block any refund attempts, set to false otherwise, null value will not update the field
27993
27993
  * @type {boolean}
27994
27994
  * @memberof ItemPaymentProcessing
27995
27995
  */
@@ -31974,7 +31974,7 @@ export interface OrderCoupon {
31974
31974
  */
31975
31975
  coupon_code?: string;
31976
31976
  /**
31977
- * True if this coupon is hidde from the customer
31977
+ * True if this coupon is hide from the customer
31978
31978
  * @type {boolean}
31979
31979
  * @memberof OrderCoupon
31980
31980
  */
@@ -44523,6 +44523,16 @@ export declare const AutoOrderApiFetchParamCreator: (configuration?: Configurati
44523
44523
  * @throws {RequiredError}
44524
44524
  */
44525
44525
  getAutoOrdersByQuery(auto_order_query: AutoOrderQuery, _limit?: number, _offset?: number, _sort?: string, _expand?: string, options?: any): FetchArgs;
44526
+ /**
44527
+ * Completely pause an auto order
44528
+ * @summary Pause auto order
44529
+ * @param {AutoOrder} auto_order Auto orders to pause
44530
+ * @param {number} auto_order_oid The auto order oid to pause.
44531
+ * @param {string} [_expand] The object expansion to perform on the result. See documentation for examples
44532
+ * @param {*} [options] Override http request option.
44533
+ * @throws {RequiredError}
44534
+ */
44535
+ pauseAutoOrder(auto_order: AutoOrder, auto_order_oid: number, _expand?: string, options?: any): FetchArgs;
44526
44536
  /**
44527
44537
  * Update an auto order on the UltraCart account.
44528
44538
  * @summary Update an auto order
@@ -44648,6 +44658,16 @@ export declare const AutoOrderApiFp: (configuration?: Configuration) => {
44648
44658
  * @throws {RequiredError}
44649
44659
  */
44650
44660
  getAutoOrdersByQuery(auto_order_query: AutoOrderQuery, _limit?: number, _offset?: number, _sort?: string, _expand?: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<AutoOrdersResponse>;
44661
+ /**
44662
+ * Completely pause an auto order
44663
+ * @summary Pause auto order
44664
+ * @param {AutoOrder} auto_order Auto orders to pause
44665
+ * @param {number} auto_order_oid The auto order oid to pause.
44666
+ * @param {string} [_expand] The object expansion to perform on the result. See documentation for examples
44667
+ * @param {*} [options] Override http request option.
44668
+ * @throws {RequiredError}
44669
+ */
44670
+ pauseAutoOrder(auto_order: AutoOrder, auto_order_oid: number, _expand?: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<AutoOrderResponse>;
44651
44671
  /**
44652
44672
  * Update an auto order on the UltraCart account.
44653
44673
  * @summary Update an auto order
@@ -44773,6 +44793,16 @@ export declare const AutoOrderApiFactory: (configuration?: Configuration, fetch?
44773
44793
  * @throws {RequiredError}
44774
44794
  */
44775
44795
  getAutoOrdersByQuery(auto_order_query: AutoOrderQuery, _limit?: number, _offset?: number, _sort?: string, _expand?: string, options?: any): Promise<AutoOrdersResponse>;
44796
+ /**
44797
+ * Completely pause an auto order
44798
+ * @summary Pause auto order
44799
+ * @param {AutoOrder} auto_order Auto orders to pause
44800
+ * @param {number} auto_order_oid The auto order oid to pause.
44801
+ * @param {string} [_expand] The object expansion to perform on the result. See documentation for examples
44802
+ * @param {*} [options] Override http request option.
44803
+ * @throws {RequiredError}
44804
+ */
44805
+ pauseAutoOrder(auto_order: AutoOrder, auto_order_oid: number, _expand?: string, options?: any): Promise<AutoOrderResponse>;
44776
44806
  /**
44777
44807
  * Update an auto order on the UltraCart account.
44778
44808
  * @summary Update an auto order
@@ -44907,6 +44937,17 @@ export interface AutoOrderApiInterface {
44907
44937
  * @memberof AutoOrderApiInterface
44908
44938
  */
44909
44939
  getAutoOrdersByQuery(auto_order_query: AutoOrderQuery, _limit?: number, _offset?: number, _sort?: string, _expand?: string, options?: any): Promise<AutoOrdersResponse>;
44940
+ /**
44941
+ * Completely pause an auto order
44942
+ * @summary Pause auto order
44943
+ * @param {AutoOrder} auto_order Auto orders to pause
44944
+ * @param {number} auto_order_oid The auto order oid to pause.
44945
+ * @param {string} [_expand] The object expansion to perform on the result. See documentation for examples
44946
+ * @param {*} [options] Override http request option.
44947
+ * @throws {RequiredError}
44948
+ * @memberof AutoOrderApiInterface
44949
+ */
44950
+ pauseAutoOrder(auto_order: AutoOrder, auto_order_oid: number, _expand?: string, options?: any): Promise<AutoOrderResponse>;
44910
44951
  /**
44911
44952
  * Update an auto order on the UltraCart account.
44912
44953
  * @summary Update an auto order
@@ -45044,6 +45085,17 @@ export declare class AutoOrderApi extends BaseAPI implements AutoOrderApiInterfa
45044
45085
  * @memberof AutoOrderApi
45045
45086
  */
45046
45087
  getAutoOrdersByQuery(auto_order_query: AutoOrderQuery, _limit?: number, _offset?: number, _sort?: string, _expand?: string, options?: any): Promise<AutoOrdersResponse>;
45088
+ /**
45089
+ * Completely pause an auto order
45090
+ * @summary Pause auto order
45091
+ * @param {AutoOrder} auto_order Auto orders to pause
45092
+ * @param {number} auto_order_oid The auto order oid to pause.
45093
+ * @param {string} [_expand] The object expansion to perform on the result. See documentation for examples
45094
+ * @param {*} [options] Override http request option.
45095
+ * @throws {RequiredError}
45096
+ * @memberof AutoOrderApi
45097
+ */
45098
+ pauseAutoOrder(auto_order: AutoOrder, auto_order_oid: number, _expand?: string, options?: any): Promise<AutoOrderResponse>;
45047
45099
  /**
45048
45100
  * Update an auto order on the UltraCart account.
45049
45101
  * @summary Update an auto order
package/dist/api.js CHANGED
@@ -2686,6 +2686,64 @@ var AutoOrderApiFetchParamCreator = function (configuration) {
2686
2686
  options: localVarRequestOptions,
2687
2687
  };
2688
2688
  },
2689
+ /**
2690
+ * Completely pause an auto order
2691
+ * @summary Pause auto order
2692
+ * @param {AutoOrder} auto_order Auto orders to pause
2693
+ * @param {number} auto_order_oid The auto order oid to pause.
2694
+ * @param {string} [_expand] The object expansion to perform on the result. See documentation for examples
2695
+ * @param {*} [options] Override http request option.
2696
+ * @throws {RequiredError}
2697
+ */
2698
+ pauseAutoOrder: function (auto_order, auto_order_oid, _expand, options) {
2699
+ if (options === void 0) { options = {}; }
2700
+ // verify required parameter 'auto_order' is not null or undefined
2701
+ if (auto_order === null || auto_order === undefined) {
2702
+ throw new RequiredError('auto_order', 'Required parameter auto_order was null or undefined when calling pauseAutoOrder.');
2703
+ }
2704
+ // verify required parameter 'auto_order_oid' is not null or undefined
2705
+ if (auto_order_oid === null || auto_order_oid === undefined) {
2706
+ throw new RequiredError('auto_order_oid', 'Required parameter auto_order_oid was null or undefined when calling pauseAutoOrder.');
2707
+ }
2708
+ var localVarPath = "/auto_order/auto_orders/{auto_order_oid}/pause"
2709
+ .replace("{".concat("auto_order_oid", "}"), encodeURIComponent(String(auto_order_oid)));
2710
+ var localVarUrlObj = url.parse(localVarPath, true);
2711
+ var localVarRequestOptions = Object.assign({ method: 'PUT' }, options);
2712
+ var localVarHeaderParameter = {};
2713
+ var localVarQueryParameter = {};
2714
+ if (configuration && configuration.apiVersion) {
2715
+ localVarHeaderParameter["X-UltraCart-Api-Version"] = configuration.apiVersion;
2716
+ }
2717
+ // authentication ultraCartOauth required
2718
+ // oauth required
2719
+ if (configuration && configuration.accessToken) {
2720
+ var localVarAccessTokenValue = typeof configuration.accessToken === 'function'
2721
+ ? configuration.accessToken("ultraCartOauth", ["auto_order_write"])
2722
+ : configuration.accessToken;
2723
+ localVarHeaderParameter["Authorization"] = "Bearer " + localVarAccessTokenValue;
2724
+ }
2725
+ // authentication ultraCartSimpleApiKey required
2726
+ if (configuration && configuration.apiKey) {
2727
+ var localVarApiKeyValue = typeof configuration.apiKey === 'function'
2728
+ ? configuration.apiKey("x-ultracart-simple-key")
2729
+ : configuration.apiKey;
2730
+ localVarHeaderParameter["x-ultracart-simple-key"] = localVarApiKeyValue;
2731
+ }
2732
+ if (_expand !== undefined) {
2733
+ localVarQueryParameter['_expand'] = _expand;
2734
+ }
2735
+ localVarHeaderParameter['Content-Type'] = 'application/json; charset=UTF-8';
2736
+ localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
2737
+ // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
2738
+ delete localVarUrlObj.search;
2739
+ localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
2740
+ var needsSerialization = ("AutoOrder" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
2741
+ localVarRequestOptions.body = needsSerialization ? JSON.stringify(auto_order || {}) : (auto_order || "");
2742
+ return {
2743
+ url: url.format(localVarUrlObj),
2744
+ options: localVarRequestOptions,
2745
+ };
2746
+ },
2689
2747
  /**
2690
2748
  * Update an auto order on the UltraCart account.
2691
2749
  * @summary Update an auto order
@@ -3026,6 +3084,30 @@ var AutoOrderApiFp = function (configuration) {
3026
3084
  });
3027
3085
  };
3028
3086
  },
3087
+ /**
3088
+ * Completely pause an auto order
3089
+ * @summary Pause auto order
3090
+ * @param {AutoOrder} auto_order Auto orders to pause
3091
+ * @param {number} auto_order_oid The auto order oid to pause.
3092
+ * @param {string} [_expand] The object expansion to perform on the result. See documentation for examples
3093
+ * @param {*} [options] Override http request option.
3094
+ * @throws {RequiredError}
3095
+ */
3096
+ pauseAutoOrder: function (auto_order, auto_order_oid, _expand, options) {
3097
+ var localVarFetchArgs = (0, exports.AutoOrderApiFetchParamCreator)(configuration).pauseAutoOrder(auto_order, auto_order_oid, _expand, options);
3098
+ return function (fetch, basePath) {
3099
+ if (fetch === void 0) { fetch = portableFetch; }
3100
+ if (basePath === void 0) { basePath = BASE_PATH; }
3101
+ return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then(function (response) {
3102
+ if (response.status >= 200 && response.status < 300) {
3103
+ return response.json();
3104
+ }
3105
+ else {
3106
+ throw response;
3107
+ }
3108
+ });
3109
+ };
3110
+ },
3029
3111
  /**
3030
3112
  * Update an auto order on the UltraCart account.
3031
3113
  * @summary Update an auto order
@@ -3198,6 +3280,18 @@ var AutoOrderApiFactory = function (configuration, fetch, basePath) {
3198
3280
  getAutoOrdersByQuery: function (auto_order_query, _limit, _offset, _sort, _expand, options) {
3199
3281
  return (0, exports.AutoOrderApiFp)(configuration).getAutoOrdersByQuery(auto_order_query, _limit, _offset, _sort, _expand, options)(fetch, basePath);
3200
3282
  },
3283
+ /**
3284
+ * Completely pause an auto order
3285
+ * @summary Pause auto order
3286
+ * @param {AutoOrder} auto_order Auto orders to pause
3287
+ * @param {number} auto_order_oid The auto order oid to pause.
3288
+ * @param {string} [_expand] The object expansion to perform on the result. See documentation for examples
3289
+ * @param {*} [options] Override http request option.
3290
+ * @throws {RequiredError}
3291
+ */
3292
+ pauseAutoOrder: function (auto_order, auto_order_oid, _expand, options) {
3293
+ return (0, exports.AutoOrderApiFp)(configuration).pauseAutoOrder(auto_order, auto_order_oid, _expand, options)(fetch, basePath);
3294
+ },
3201
3295
  /**
3202
3296
  * Update an auto order on the UltraCart account.
3203
3297
  * @summary Update an auto order
@@ -3359,6 +3453,19 @@ var AutoOrderApi = /** @class */ (function (_super) {
3359
3453
  AutoOrderApi.prototype.getAutoOrdersByQuery = function (auto_order_query, _limit, _offset, _sort, _expand, options) {
3360
3454
  return (0, exports.AutoOrderApiFp)(this.configuration).getAutoOrdersByQuery(auto_order_query, _limit, _offset, _sort, _expand, options)(this.fetch, this.basePath);
3361
3455
  };
3456
+ /**
3457
+ * Completely pause an auto order
3458
+ * @summary Pause auto order
3459
+ * @param {AutoOrder} auto_order Auto orders to pause
3460
+ * @param {number} auto_order_oid The auto order oid to pause.
3461
+ * @param {string} [_expand] The object expansion to perform on the result. See documentation for examples
3462
+ * @param {*} [options] Override http request option.
3463
+ * @throws {RequiredError}
3464
+ * @memberof AutoOrderApi
3465
+ */
3466
+ AutoOrderApi.prototype.pauseAutoOrder = function (auto_order, auto_order_oid, _expand, options) {
3467
+ return (0, exports.AutoOrderApiFp)(this.configuration).pauseAutoOrder(auto_order, auto_order_oid, _expand, options)(this.fetch, this.basePath);
3468
+ };
3362
3469
  /**
3363
3470
  * Update an auto order on the UltraCart account.
3364
3471
  * @summary Update an auto order
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "3.11.0",
3
+ "version": "3.11.1",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "keywords": [