ultracart_rest_api_v2_typescript 3.10.228 → 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 +4 -2
- package/api.ts +224 -97
- package/dist/api.d.ts +91 -39
- package/dist/api.js +187 -80
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## ultracart_rest_api_v2_typescript@3.
|
|
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.
|
|
39
|
+
npm install ultracart_rest_api_v2_typescript@3.11.1 --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.11.1 | 02/28/2025 | auto order pause method |
|
|
58
|
+
| 3.11.0 | 02/21/2025 | ItemApi.getInventorySnapshot had bad nickname causing bad sdk method name |
|
|
57
59
|
| 3.10.228 | 02/20/2025 | automation fix |
|
|
58
60
|
| 3.10.227 | 02/20/2025 | no change, revving sdk to troubleshoot java deployment automation |
|
|
59
61
|
| 3.10.226 | 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
|
|
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
|
|
@@ -69708,6 +69835,52 @@ export const ItemApiFetchParamCreator = function (configuration?: Configuration)
|
|
|
69708
69835
|
|
|
69709
69836
|
|
|
69710
69837
|
|
|
69838
|
+
// authentication ultraCartOauth required
|
|
69839
|
+
// oauth required
|
|
69840
|
+
if (configuration && configuration.accessToken) {
|
|
69841
|
+
const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
69842
|
+
? configuration.accessToken("ultraCartOauth", ["item_read"])
|
|
69843
|
+
: configuration.accessToken;
|
|
69844
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
69845
|
+
}
|
|
69846
|
+
|
|
69847
|
+
// authentication ultraCartSimpleApiKey required
|
|
69848
|
+
if (configuration && configuration.apiKey) {
|
|
69849
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
69850
|
+
? configuration.apiKey("x-ultracart-simple-key")
|
|
69851
|
+
: configuration.apiKey;
|
|
69852
|
+
localVarHeaderParameter["x-ultracart-simple-key"] = localVarApiKeyValue;
|
|
69853
|
+
}
|
|
69854
|
+
|
|
69855
|
+
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
69856
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
69857
|
+
delete localVarUrlObj.search;
|
|
69858
|
+
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
69859
|
+
|
|
69860
|
+
return {
|
|
69861
|
+
url: url.format(localVarUrlObj),
|
|
69862
|
+
options: localVarRequestOptions,
|
|
69863
|
+
};
|
|
69864
|
+
},
|
|
69865
|
+
/**
|
|
69866
|
+
* Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
69867
|
+
* @summary Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
69868
|
+
* @param {*} [options] Override http request option.
|
|
69869
|
+
* @throws {RequiredError}
|
|
69870
|
+
*/
|
|
69871
|
+
getInventorySnapshot(options: any = {}): FetchArgs {
|
|
69872
|
+
const localVarPath = `/item/items/inventory_snapshot`;
|
|
69873
|
+
const localVarUrlObj = url.parse(localVarPath, true);
|
|
69874
|
+
const localVarRequestOptions = Object.assign({ method: 'GET' }, options);
|
|
69875
|
+
const localVarHeaderParameter = {} as any;
|
|
69876
|
+
const localVarQueryParameter = {} as any;
|
|
69877
|
+
|
|
69878
|
+
if(configuration && configuration.apiVersion) {
|
|
69879
|
+
localVarHeaderParameter["X-UltraCart-Api-Version"] = configuration.apiVersion;
|
|
69880
|
+
}
|
|
69881
|
+
|
|
69882
|
+
|
|
69883
|
+
|
|
69711
69884
|
// authentication ultraCartOauth required
|
|
69712
69885
|
// oauth required
|
|
69713
69886
|
if (configuration && configuration.accessToken) {
|
|
@@ -70424,52 +70597,6 @@ export const ItemApiFetchParamCreator = function (configuration?: Configuration)
|
|
|
70424
70597
|
options: localVarRequestOptions,
|
|
70425
70598
|
};
|
|
70426
70599
|
},
|
|
70427
|
-
/**
|
|
70428
|
-
* Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
70429
|
-
* @summary Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
70430
|
-
* @param {*} [options] Override http request option.
|
|
70431
|
-
* @throws {RequiredError}
|
|
70432
|
-
*/
|
|
70433
|
-
restItemInventorySnapshotResponse(options: any = {}): FetchArgs {
|
|
70434
|
-
const localVarPath = `/item/items/inventory_snapshot`;
|
|
70435
|
-
const localVarUrlObj = url.parse(localVarPath, true);
|
|
70436
|
-
const localVarRequestOptions = Object.assign({ method: 'GET' }, options);
|
|
70437
|
-
const localVarHeaderParameter = {} as any;
|
|
70438
|
-
const localVarQueryParameter = {} as any;
|
|
70439
|
-
|
|
70440
|
-
if(configuration && configuration.apiVersion) {
|
|
70441
|
-
localVarHeaderParameter["X-UltraCart-Api-Version"] = configuration.apiVersion;
|
|
70442
|
-
}
|
|
70443
|
-
|
|
70444
|
-
|
|
70445
|
-
|
|
70446
|
-
// authentication ultraCartOauth required
|
|
70447
|
-
// oauth required
|
|
70448
|
-
if (configuration && configuration.accessToken) {
|
|
70449
|
-
const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
70450
|
-
? configuration.accessToken("ultraCartOauth", ["item_read"])
|
|
70451
|
-
: configuration.accessToken;
|
|
70452
|
-
localVarHeaderParameter["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
70453
|
-
}
|
|
70454
|
-
|
|
70455
|
-
// authentication ultraCartSimpleApiKey required
|
|
70456
|
-
if (configuration && configuration.apiKey) {
|
|
70457
|
-
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
70458
|
-
? configuration.apiKey("x-ultracart-simple-key")
|
|
70459
|
-
: configuration.apiKey;
|
|
70460
|
-
localVarHeaderParameter["x-ultracart-simple-key"] = localVarApiKeyValue;
|
|
70461
|
-
}
|
|
70462
|
-
|
|
70463
|
-
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
70464
|
-
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
70465
|
-
delete localVarUrlObj.search;
|
|
70466
|
-
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
70467
|
-
|
|
70468
|
-
return {
|
|
70469
|
-
url: url.format(localVarUrlObj),
|
|
70470
|
-
options: localVarRequestOptions,
|
|
70471
|
-
};
|
|
70472
|
-
},
|
|
70473
70600
|
/**
|
|
70474
70601
|
* Updates a file within the digital library. This does not update an item, but updates a digital file available and selectable as part (or all) of an item.
|
|
70475
70602
|
* @summary Updates a file within the digital library
|
|
@@ -70939,6 +71066,26 @@ export const ItemApiFp = function(configuration?: Configuration) {
|
|
|
70939
71066
|
});
|
|
70940
71067
|
};
|
|
70941
71068
|
},
|
|
71069
|
+
/**
|
|
71070
|
+
* Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
71071
|
+
* @summary Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
71072
|
+
* @param {*} [options] Override http request option.
|
|
71073
|
+
* @throws {RequiredError}
|
|
71074
|
+
*/
|
|
71075
|
+
getInventorySnapshot(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ItemInventorySnapshotResponse> {
|
|
71076
|
+
const localVarFetchArgs = ItemApiFetchParamCreator(configuration).getInventorySnapshot(options);
|
|
71077
|
+
return (fetch: FetchAPI = portableFetch, basePath: string = BASE_PATH) => {
|
|
71078
|
+
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
71079
|
+
|
|
71080
|
+
if (response.status >= 200 && response.status < 300) {
|
|
71081
|
+
return response.json();
|
|
71082
|
+
|
|
71083
|
+
} else {
|
|
71084
|
+
throw response;
|
|
71085
|
+
}
|
|
71086
|
+
});
|
|
71087
|
+
};
|
|
71088
|
+
},
|
|
70942
71089
|
/**
|
|
70943
71090
|
* Retrieves a single item using the specified item oid.
|
|
70944
71091
|
* @summary Retrieve an item
|
|
@@ -71191,26 +71338,6 @@ export const ItemApiFp = function(configuration?: Configuration) {
|
|
|
71191
71338
|
});
|
|
71192
71339
|
};
|
|
71193
71340
|
},
|
|
71194
|
-
/**
|
|
71195
|
-
* Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
71196
|
-
* @summary Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
71197
|
-
* @param {*} [options] Override http request option.
|
|
71198
|
-
* @throws {RequiredError}
|
|
71199
|
-
*/
|
|
71200
|
-
restItemInventorySnapshotResponse(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ItemInventorySnapshotResponse> {
|
|
71201
|
-
const localVarFetchArgs = ItemApiFetchParamCreator(configuration).restItemInventorySnapshotResponse(options);
|
|
71202
|
-
return (fetch: FetchAPI = portableFetch, basePath: string = BASE_PATH) => {
|
|
71203
|
-
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
71204
|
-
|
|
71205
|
-
if (response.status >= 200 && response.status < 300) {
|
|
71206
|
-
return response.json();
|
|
71207
|
-
|
|
71208
|
-
} else {
|
|
71209
|
-
throw response;
|
|
71210
|
-
}
|
|
71211
|
-
});
|
|
71212
|
-
};
|
|
71213
|
-
},
|
|
71214
71341
|
/**
|
|
71215
71342
|
* Updates a file within the digital library. This does not update an item, but updates a digital file available and selectable as part (or all) of an item.
|
|
71216
71343
|
* @summary Updates a file within the digital library
|
|
@@ -71400,6 +71527,15 @@ export const ItemApiFactory = function (configuration?: Configuration, fetch?: F
|
|
|
71400
71527
|
getDigitalItemsByExternalId(external_id: string, options?: any) {
|
|
71401
71528
|
return ItemApiFp(configuration).getDigitalItemsByExternalId(external_id, options)(fetch, basePath);
|
|
71402
71529
|
},
|
|
71530
|
+
/**
|
|
71531
|
+
* Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
71532
|
+
* @summary Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
71533
|
+
* @param {*} [options] Override http request option.
|
|
71534
|
+
* @throws {RequiredError}
|
|
71535
|
+
*/
|
|
71536
|
+
getInventorySnapshot(options?: any) {
|
|
71537
|
+
return ItemApiFp(configuration).getInventorySnapshot(options)(fetch, basePath);
|
|
71538
|
+
},
|
|
71403
71539
|
/**
|
|
71404
71540
|
* Retrieves a single item using the specified item oid.
|
|
71405
71541
|
* @summary Retrieve an item
|
|
@@ -71531,15 +71667,6 @@ export const ItemApiFactory = function (configuration?: Configuration, fetch?: F
|
|
|
71531
71667
|
insertUpdateItemContentAttribute(item_attribute: ItemContentAttribute, merchant_item_oid: number, options?: any) {
|
|
71532
71668
|
return ItemApiFp(configuration).insertUpdateItemContentAttribute(item_attribute, merchant_item_oid, options)(fetch, basePath);
|
|
71533
71669
|
},
|
|
71534
|
-
/**
|
|
71535
|
-
* Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
71536
|
-
* @summary Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
71537
|
-
* @param {*} [options] Override http request option.
|
|
71538
|
-
* @throws {RequiredError}
|
|
71539
|
-
*/
|
|
71540
|
-
restItemInventorySnapshotResponse(options?: any) {
|
|
71541
|
-
return ItemApiFp(configuration).restItemInventorySnapshotResponse(options)(fetch, basePath);
|
|
71542
|
-
},
|
|
71543
71670
|
/**
|
|
71544
71671
|
* Updates a file within the digital library. This does not update an item, but updates a digital file available and selectable as part (or all) of an item.
|
|
71545
71672
|
* @summary Updates a file within the digital library
|
|
@@ -71674,6 +71801,15 @@ export interface ItemApiInterface {
|
|
|
71674
71801
|
*/
|
|
71675
71802
|
getDigitalItemsByExternalId(external_id: string, options?: any): Promise<ItemDigitalItemsResponse>;
|
|
71676
71803
|
|
|
71804
|
+
/**
|
|
71805
|
+
* Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
71806
|
+
* @summary Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
71807
|
+
* @param {*} [options] Override http request option.
|
|
71808
|
+
* @throws {RequiredError}
|
|
71809
|
+
* @memberof ItemApiInterface
|
|
71810
|
+
*/
|
|
71811
|
+
getInventorySnapshot(options?: any): Promise<ItemInventorySnapshotResponse>;
|
|
71812
|
+
|
|
71677
71813
|
/**
|
|
71678
71814
|
* Retrieves a single item using the specified item oid.
|
|
71679
71815
|
* @summary Retrieve an item
|
|
@@ -71805,15 +71941,6 @@ export interface ItemApiInterface {
|
|
|
71805
71941
|
*/
|
|
71806
71942
|
insertUpdateItemContentAttribute(item_attribute: ItemContentAttribute, merchant_item_oid: number, options?: any): Promise<{}>;
|
|
71807
71943
|
|
|
71808
|
-
/**
|
|
71809
|
-
* Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
71810
|
-
* @summary Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
71811
|
-
* @param {*} [options] Override http request option.
|
|
71812
|
-
* @throws {RequiredError}
|
|
71813
|
-
* @memberof ItemApiInterface
|
|
71814
|
-
*/
|
|
71815
|
-
restItemInventorySnapshotResponse(options?: any): Promise<ItemInventorySnapshotResponse>;
|
|
71816
|
-
|
|
71817
71944
|
/**
|
|
71818
71945
|
* Updates a file within the digital library. This does not update an item, but updates a digital file available and selectable as part (or all) of an item.
|
|
71819
71946
|
* @summary Updates a file within the digital library
|
|
@@ -71960,6 +72087,17 @@ export class ItemApi extends BaseAPI implements ItemApiInterface {
|
|
|
71960
72087
|
return ItemApiFp(this.configuration).getDigitalItemsByExternalId(external_id, options)(this.fetch, this.basePath);
|
|
71961
72088
|
}
|
|
71962
72089
|
|
|
72090
|
+
/**
|
|
72091
|
+
* Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
72092
|
+
* @summary Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
72093
|
+
* @param {*} [options] Override http request option.
|
|
72094
|
+
* @throws {RequiredError}
|
|
72095
|
+
* @memberof ItemApi
|
|
72096
|
+
*/
|
|
72097
|
+
public getInventorySnapshot(options?: any) {
|
|
72098
|
+
return ItemApiFp(this.configuration).getInventorySnapshot(options)(this.fetch, this.basePath);
|
|
72099
|
+
}
|
|
72100
|
+
|
|
71963
72101
|
/**
|
|
71964
72102
|
* Retrieves a single item using the specified item oid.
|
|
71965
72103
|
* @summary Retrieve an item
|
|
@@ -72113,17 +72251,6 @@ export class ItemApi extends BaseAPI implements ItemApiInterface {
|
|
|
72113
72251
|
return ItemApiFp(this.configuration).insertUpdateItemContentAttribute(item_attribute, merchant_item_oid, options)(this.fetch, this.basePath);
|
|
72114
72252
|
}
|
|
72115
72253
|
|
|
72116
|
-
/**
|
|
72117
|
-
* Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
72118
|
-
* @summary Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
72119
|
-
* @param {*} [options] Override http request option.
|
|
72120
|
-
* @throws {RequiredError}
|
|
72121
|
-
* @memberof ItemApi
|
|
72122
|
-
*/
|
|
72123
|
-
public restItemInventorySnapshotResponse(options?: any) {
|
|
72124
|
-
return ItemApiFp(this.configuration).restItemInventorySnapshotResponse(options)(this.fetch, this.basePath);
|
|
72125
|
-
}
|
|
72126
|
-
|
|
72127
72254
|
/**
|
|
72128
72255
|
* Updates a file within the digital library. This does not update an item, but updates a digital file available and selectable as part (or all) of an item.
|
|
72129
72256
|
* @summary Updates a file within the digital library
|
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
|
|
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
|
|
@@ -54269,6 +54321,13 @@ export declare const ItemApiFetchParamCreator: (configuration?: Configuration) =
|
|
|
54269
54321
|
* @throws {RequiredError}
|
|
54270
54322
|
*/
|
|
54271
54323
|
getDigitalItemsByExternalId(external_id: string, options?: any): FetchArgs;
|
|
54324
|
+
/**
|
|
54325
|
+
* Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
54326
|
+
* @summary Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
54327
|
+
* @param {*} [options] Override http request option.
|
|
54328
|
+
* @throws {RequiredError}
|
|
54329
|
+
*/
|
|
54330
|
+
getInventorySnapshot(options?: any): FetchArgs;
|
|
54272
54331
|
/**
|
|
54273
54332
|
* Retrieves a single item using the specified item oid.
|
|
54274
54333
|
* @summary Retrieve an item
|
|
@@ -54378,13 +54437,6 @@ export declare const ItemApiFetchParamCreator: (configuration?: Configuration) =
|
|
|
54378
54437
|
* @throws {RequiredError}
|
|
54379
54438
|
*/
|
|
54380
54439
|
insertUpdateItemContentAttribute(item_attribute: ItemContentAttribute, merchant_item_oid: number, options?: any): FetchArgs;
|
|
54381
|
-
/**
|
|
54382
|
-
* Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
54383
|
-
* @summary Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
54384
|
-
* @param {*} [options] Override http request option.
|
|
54385
|
-
* @throws {RequiredError}
|
|
54386
|
-
*/
|
|
54387
|
-
restItemInventorySnapshotResponse(options?: any): FetchArgs;
|
|
54388
54440
|
/**
|
|
54389
54441
|
* Updates a file within the digital library. This does not update an item, but updates a digital file available and selectable as part (or all) of an item.
|
|
54390
54442
|
* @summary Updates a file within the digital library
|
|
@@ -54494,6 +54546,13 @@ export declare const ItemApiFp: (configuration?: Configuration) => {
|
|
|
54494
54546
|
* @throws {RequiredError}
|
|
54495
54547
|
*/
|
|
54496
54548
|
getDigitalItemsByExternalId(external_id: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ItemDigitalItemsResponse>;
|
|
54549
|
+
/**
|
|
54550
|
+
* Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
54551
|
+
* @summary Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
54552
|
+
* @param {*} [options] Override http request option.
|
|
54553
|
+
* @throws {RequiredError}
|
|
54554
|
+
*/
|
|
54555
|
+
getInventorySnapshot(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ItemInventorySnapshotResponse>;
|
|
54497
54556
|
/**
|
|
54498
54557
|
* Retrieves a single item using the specified item oid.
|
|
54499
54558
|
* @summary Retrieve an item
|
|
@@ -54603,13 +54662,6 @@ export declare const ItemApiFp: (configuration?: Configuration) => {
|
|
|
54603
54662
|
* @throws {RequiredError}
|
|
54604
54663
|
*/
|
|
54605
54664
|
insertUpdateItemContentAttribute(item_attribute: ItemContentAttribute, merchant_item_oid: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
|
|
54606
|
-
/**
|
|
54607
|
-
* Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
54608
|
-
* @summary Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
54609
|
-
* @param {*} [options] Override http request option.
|
|
54610
|
-
* @throws {RequiredError}
|
|
54611
|
-
*/
|
|
54612
|
-
restItemInventorySnapshotResponse(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ItemInventorySnapshotResponse>;
|
|
54613
54665
|
/**
|
|
54614
54666
|
* Updates a file within the digital library. This does not update an item, but updates a digital file available and selectable as part (or all) of an item.
|
|
54615
54667
|
* @summary Updates a file within the digital library
|
|
@@ -54719,6 +54771,13 @@ export declare const ItemApiFactory: (configuration?: Configuration, fetch?: Fet
|
|
|
54719
54771
|
* @throws {RequiredError}
|
|
54720
54772
|
*/
|
|
54721
54773
|
getDigitalItemsByExternalId(external_id: string, options?: any): Promise<ItemDigitalItemsResponse>;
|
|
54774
|
+
/**
|
|
54775
|
+
* Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
54776
|
+
* @summary Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
54777
|
+
* @param {*} [options] Override http request option.
|
|
54778
|
+
* @throws {RequiredError}
|
|
54779
|
+
*/
|
|
54780
|
+
getInventorySnapshot(options?: any): Promise<ItemInventorySnapshotResponse>;
|
|
54722
54781
|
/**
|
|
54723
54782
|
* Retrieves a single item using the specified item oid.
|
|
54724
54783
|
* @summary Retrieve an item
|
|
@@ -54828,13 +54887,6 @@ export declare const ItemApiFactory: (configuration?: Configuration, fetch?: Fet
|
|
|
54828
54887
|
* @throws {RequiredError}
|
|
54829
54888
|
*/
|
|
54830
54889
|
insertUpdateItemContentAttribute(item_attribute: ItemContentAttribute, merchant_item_oid: number, options?: any): Promise<Response>;
|
|
54831
|
-
/**
|
|
54832
|
-
* Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
54833
|
-
* @summary Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
54834
|
-
* @param {*} [options] Override http request option.
|
|
54835
|
-
* @throws {RequiredError}
|
|
54836
|
-
*/
|
|
54837
|
-
restItemInventorySnapshotResponse(options?: any): Promise<ItemInventorySnapshotResponse>;
|
|
54838
54890
|
/**
|
|
54839
54891
|
* Updates a file within the digital library. This does not update an item, but updates a digital file available and selectable as part (or all) of an item.
|
|
54840
54892
|
* @summary Updates a file within the digital library
|
|
@@ -54951,6 +55003,14 @@ export interface ItemApiInterface {
|
|
|
54951
55003
|
* @memberof ItemApiInterface
|
|
54952
55004
|
*/
|
|
54953
55005
|
getDigitalItemsByExternalId(external_id: string, options?: any): Promise<ItemDigitalItemsResponse>;
|
|
55006
|
+
/**
|
|
55007
|
+
* Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
55008
|
+
* @summary Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
55009
|
+
* @param {*} [options] Override http request option.
|
|
55010
|
+
* @throws {RequiredError}
|
|
55011
|
+
* @memberof ItemApiInterface
|
|
55012
|
+
*/
|
|
55013
|
+
getInventorySnapshot(options?: any): Promise<ItemInventorySnapshotResponse>;
|
|
54954
55014
|
/**
|
|
54955
55015
|
* Retrieves a single item using the specified item oid.
|
|
54956
55016
|
* @summary Retrieve an item
|
|
@@ -55071,14 +55131,6 @@ export interface ItemApiInterface {
|
|
|
55071
55131
|
* @memberof ItemApiInterface
|
|
55072
55132
|
*/
|
|
55073
55133
|
insertUpdateItemContentAttribute(item_attribute: ItemContentAttribute, merchant_item_oid: number, options?: any): Promise<{}>;
|
|
55074
|
-
/**
|
|
55075
|
-
* Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
55076
|
-
* @summary Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
55077
|
-
* @param {*} [options] Override http request option.
|
|
55078
|
-
* @throws {RequiredError}
|
|
55079
|
-
* @memberof ItemApiInterface
|
|
55080
|
-
*/
|
|
55081
|
-
restItemInventorySnapshotResponse(options?: any): Promise<ItemInventorySnapshotResponse>;
|
|
55082
55134
|
/**
|
|
55083
55135
|
* Updates a file within the digital library. This does not update an item, but updates a digital file available and selectable as part (or all) of an item.
|
|
55084
55136
|
* @summary Updates a file within the digital library
|
|
@@ -55201,6 +55253,14 @@ export declare class ItemApi extends BaseAPI implements ItemApiInterface {
|
|
|
55201
55253
|
* @memberof ItemApi
|
|
55202
55254
|
*/
|
|
55203
55255
|
getDigitalItemsByExternalId(external_id: string, options?: any): Promise<ItemDigitalItemsResponse>;
|
|
55256
|
+
/**
|
|
55257
|
+
* Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
55258
|
+
* @summary Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
55259
|
+
* @param {*} [options] Override http request option.
|
|
55260
|
+
* @throws {RequiredError}
|
|
55261
|
+
* @memberof ItemApi
|
|
55262
|
+
*/
|
|
55263
|
+
getInventorySnapshot(options?: any): Promise<ItemInventorySnapshotResponse>;
|
|
55204
55264
|
/**
|
|
55205
55265
|
* Retrieves a single item using the specified item oid.
|
|
55206
55266
|
* @summary Retrieve an item
|
|
@@ -55321,14 +55381,6 @@ export declare class ItemApi extends BaseAPI implements ItemApiInterface {
|
|
|
55321
55381
|
* @memberof ItemApi
|
|
55322
55382
|
*/
|
|
55323
55383
|
insertUpdateItemContentAttribute(item_attribute: ItemContentAttribute, merchant_item_oid: number, options?: any): Promise<Response>;
|
|
55324
|
-
/**
|
|
55325
|
-
* Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
55326
|
-
* @summary Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
55327
|
-
* @param {*} [options] Override http request option.
|
|
55328
|
-
* @throws {RequiredError}
|
|
55329
|
-
* @memberof ItemApi
|
|
55330
|
-
*/
|
|
55331
|
-
restItemInventorySnapshotResponse(options?: any): Promise<ItemInventorySnapshotResponse>;
|
|
55332
55384
|
/**
|
|
55333
55385
|
* Updates a file within the digital library. This does not update an item, but updates a digital file available and selectable as part (or all) of an item.
|
|
55334
55386
|
* @summary Updates a file within the digital library
|
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
|
|
@@ -22594,6 +22701,46 @@ var ItemApiFetchParamCreator = function (configuration) {
|
|
|
22594
22701
|
options: localVarRequestOptions,
|
|
22595
22702
|
};
|
|
22596
22703
|
},
|
|
22704
|
+
/**
|
|
22705
|
+
* Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
22706
|
+
* @summary Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
22707
|
+
* @param {*} [options] Override http request option.
|
|
22708
|
+
* @throws {RequiredError}
|
|
22709
|
+
*/
|
|
22710
|
+
getInventorySnapshot: function (options) {
|
|
22711
|
+
if (options === void 0) { options = {}; }
|
|
22712
|
+
var localVarPath = "/item/items/inventory_snapshot";
|
|
22713
|
+
var localVarUrlObj = url.parse(localVarPath, true);
|
|
22714
|
+
var localVarRequestOptions = Object.assign({ method: 'GET' }, options);
|
|
22715
|
+
var localVarHeaderParameter = {};
|
|
22716
|
+
var localVarQueryParameter = {};
|
|
22717
|
+
if (configuration && configuration.apiVersion) {
|
|
22718
|
+
localVarHeaderParameter["X-UltraCart-Api-Version"] = configuration.apiVersion;
|
|
22719
|
+
}
|
|
22720
|
+
// authentication ultraCartOauth required
|
|
22721
|
+
// oauth required
|
|
22722
|
+
if (configuration && configuration.accessToken) {
|
|
22723
|
+
var localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
22724
|
+
? configuration.accessToken("ultraCartOauth", ["item_read"])
|
|
22725
|
+
: configuration.accessToken;
|
|
22726
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
22727
|
+
}
|
|
22728
|
+
// authentication ultraCartSimpleApiKey required
|
|
22729
|
+
if (configuration && configuration.apiKey) {
|
|
22730
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
22731
|
+
? configuration.apiKey("x-ultracart-simple-key")
|
|
22732
|
+
: configuration.apiKey;
|
|
22733
|
+
localVarHeaderParameter["x-ultracart-simple-key"] = localVarApiKeyValue;
|
|
22734
|
+
}
|
|
22735
|
+
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
22736
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
22737
|
+
delete localVarUrlObj.search;
|
|
22738
|
+
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
22739
|
+
return {
|
|
22740
|
+
url: url.format(localVarUrlObj),
|
|
22741
|
+
options: localVarRequestOptions,
|
|
22742
|
+
};
|
|
22743
|
+
},
|
|
22597
22744
|
/**
|
|
22598
22745
|
* Retrieves a single item using the specified item oid.
|
|
22599
22746
|
* @summary Retrieve an item
|
|
@@ -23192,46 +23339,6 @@ var ItemApiFetchParamCreator = function (configuration) {
|
|
|
23192
23339
|
options: localVarRequestOptions,
|
|
23193
23340
|
};
|
|
23194
23341
|
},
|
|
23195
|
-
/**
|
|
23196
|
-
* Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
23197
|
-
* @summary Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
23198
|
-
* @param {*} [options] Override http request option.
|
|
23199
|
-
* @throws {RequiredError}
|
|
23200
|
-
*/
|
|
23201
|
-
restItemInventorySnapshotResponse: function (options) {
|
|
23202
|
-
if (options === void 0) { options = {}; }
|
|
23203
|
-
var localVarPath = "/item/items/inventory_snapshot";
|
|
23204
|
-
var localVarUrlObj = url.parse(localVarPath, true);
|
|
23205
|
-
var localVarRequestOptions = Object.assign({ method: 'GET' }, options);
|
|
23206
|
-
var localVarHeaderParameter = {};
|
|
23207
|
-
var localVarQueryParameter = {};
|
|
23208
|
-
if (configuration && configuration.apiVersion) {
|
|
23209
|
-
localVarHeaderParameter["X-UltraCart-Api-Version"] = configuration.apiVersion;
|
|
23210
|
-
}
|
|
23211
|
-
// authentication ultraCartOauth required
|
|
23212
|
-
// oauth required
|
|
23213
|
-
if (configuration && configuration.accessToken) {
|
|
23214
|
-
var localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
23215
|
-
? configuration.accessToken("ultraCartOauth", ["item_read"])
|
|
23216
|
-
: configuration.accessToken;
|
|
23217
|
-
localVarHeaderParameter["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
23218
|
-
}
|
|
23219
|
-
// authentication ultraCartSimpleApiKey required
|
|
23220
|
-
if (configuration && configuration.apiKey) {
|
|
23221
|
-
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
23222
|
-
? configuration.apiKey("x-ultracart-simple-key")
|
|
23223
|
-
: configuration.apiKey;
|
|
23224
|
-
localVarHeaderParameter["x-ultracart-simple-key"] = localVarApiKeyValue;
|
|
23225
|
-
}
|
|
23226
|
-
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
23227
|
-
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
23228
|
-
delete localVarUrlObj.search;
|
|
23229
|
-
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
23230
|
-
return {
|
|
23231
|
-
url: url.format(localVarUrlObj),
|
|
23232
|
-
options: localVarRequestOptions,
|
|
23233
|
-
};
|
|
23234
|
-
},
|
|
23235
23342
|
/**
|
|
23236
23343
|
* Updates a file within the digital library. This does not update an item, but updates a digital file available and selectable as part (or all) of an item.
|
|
23237
23344
|
* @summary Updates a file within the digital library
|
|
@@ -23666,6 +23773,27 @@ var ItemApiFp = function (configuration) {
|
|
|
23666
23773
|
});
|
|
23667
23774
|
};
|
|
23668
23775
|
},
|
|
23776
|
+
/**
|
|
23777
|
+
* Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
23778
|
+
* @summary Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
23779
|
+
* @param {*} [options] Override http request option.
|
|
23780
|
+
* @throws {RequiredError}
|
|
23781
|
+
*/
|
|
23782
|
+
getInventorySnapshot: function (options) {
|
|
23783
|
+
var localVarFetchArgs = (0, exports.ItemApiFetchParamCreator)(configuration).getInventorySnapshot(options);
|
|
23784
|
+
return function (fetch, basePath) {
|
|
23785
|
+
if (fetch === void 0) { fetch = portableFetch; }
|
|
23786
|
+
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
23787
|
+
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then(function (response) {
|
|
23788
|
+
if (response.status >= 200 && response.status < 300) {
|
|
23789
|
+
return response.json();
|
|
23790
|
+
}
|
|
23791
|
+
else {
|
|
23792
|
+
throw response;
|
|
23793
|
+
}
|
|
23794
|
+
});
|
|
23795
|
+
};
|
|
23796
|
+
},
|
|
23669
23797
|
/**
|
|
23670
23798
|
* Retrieves a single item using the specified item oid.
|
|
23671
23799
|
* @summary Retrieve an item
|
|
@@ -23929,27 +24057,6 @@ var ItemApiFp = function (configuration) {
|
|
|
23929
24057
|
});
|
|
23930
24058
|
};
|
|
23931
24059
|
},
|
|
23932
|
-
/**
|
|
23933
|
-
* Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
23934
|
-
* @summary Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
23935
|
-
* @param {*} [options] Override http request option.
|
|
23936
|
-
* @throws {RequiredError}
|
|
23937
|
-
*/
|
|
23938
|
-
restItemInventorySnapshotResponse: function (options) {
|
|
23939
|
-
var localVarFetchArgs = (0, exports.ItemApiFetchParamCreator)(configuration).restItemInventorySnapshotResponse(options);
|
|
23940
|
-
return function (fetch, basePath) {
|
|
23941
|
-
if (fetch === void 0) { fetch = portableFetch; }
|
|
23942
|
-
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
23943
|
-
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then(function (response) {
|
|
23944
|
-
if (response.status >= 200 && response.status < 300) {
|
|
23945
|
-
return response.json();
|
|
23946
|
-
}
|
|
23947
|
-
else {
|
|
23948
|
-
throw response;
|
|
23949
|
-
}
|
|
23950
|
-
});
|
|
23951
|
-
};
|
|
23952
|
-
},
|
|
23953
24060
|
/**
|
|
23954
24061
|
* Updates a file within the digital library. This does not update an item, but updates a digital file available and selectable as part (or all) of an item.
|
|
23955
24062
|
* @summary Updates a file within the digital library
|
|
@@ -24144,6 +24251,15 @@ var ItemApiFactory = function (configuration, fetch, basePath) {
|
|
|
24144
24251
|
getDigitalItemsByExternalId: function (external_id, options) {
|
|
24145
24252
|
return (0, exports.ItemApiFp)(configuration).getDigitalItemsByExternalId(external_id, options)(fetch, basePath);
|
|
24146
24253
|
},
|
|
24254
|
+
/**
|
|
24255
|
+
* Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
24256
|
+
* @summary Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
24257
|
+
* @param {*} [options] Override http request option.
|
|
24258
|
+
* @throws {RequiredError}
|
|
24259
|
+
*/
|
|
24260
|
+
getInventorySnapshot: function (options) {
|
|
24261
|
+
return (0, exports.ItemApiFp)(configuration).getInventorySnapshot(options)(fetch, basePath);
|
|
24262
|
+
},
|
|
24147
24263
|
/**
|
|
24148
24264
|
* Retrieves a single item using the specified item oid.
|
|
24149
24265
|
* @summary Retrieve an item
|
|
@@ -24275,15 +24391,6 @@ var ItemApiFactory = function (configuration, fetch, basePath) {
|
|
|
24275
24391
|
insertUpdateItemContentAttribute: function (item_attribute, merchant_item_oid, options) {
|
|
24276
24392
|
return (0, exports.ItemApiFp)(configuration).insertUpdateItemContentAttribute(item_attribute, merchant_item_oid, options)(fetch, basePath);
|
|
24277
24393
|
},
|
|
24278
|
-
/**
|
|
24279
|
-
* Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
24280
|
-
* @summary Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
24281
|
-
* @param {*} [options] Override http request option.
|
|
24282
|
-
* @throws {RequiredError}
|
|
24283
|
-
*/
|
|
24284
|
-
restItemInventorySnapshotResponse: function (options) {
|
|
24285
|
-
return (0, exports.ItemApiFp)(configuration).restItemInventorySnapshotResponse(options)(fetch, basePath);
|
|
24286
|
-
},
|
|
24287
24394
|
/**
|
|
24288
24395
|
* Updates a file within the digital library. This does not update an item, but updates a digital file available and selectable as part (or all) of an item.
|
|
24289
24396
|
* @summary Updates a file within the digital library
|
|
@@ -24429,6 +24536,16 @@ var ItemApi = /** @class */ (function (_super) {
|
|
|
24429
24536
|
ItemApi.prototype.getDigitalItemsByExternalId = function (external_id, options) {
|
|
24430
24537
|
return (0, exports.ItemApiFp)(this.configuration).getDigitalItemsByExternalId(external_id, options)(this.fetch, this.basePath);
|
|
24431
24538
|
};
|
|
24539
|
+
/**
|
|
24540
|
+
* Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
24541
|
+
* @summary Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
24542
|
+
* @param {*} [options] Override http request option.
|
|
24543
|
+
* @throws {RequiredError}
|
|
24544
|
+
* @memberof ItemApi
|
|
24545
|
+
*/
|
|
24546
|
+
ItemApi.prototype.getInventorySnapshot = function (options) {
|
|
24547
|
+
return (0, exports.ItemApiFp)(this.configuration).getInventorySnapshot(options)(this.fetch, this.basePath);
|
|
24548
|
+
};
|
|
24432
24549
|
/**
|
|
24433
24550
|
* Retrieves a single item using the specified item oid.
|
|
24434
24551
|
* @summary Retrieve an item
|
|
@@ -24571,16 +24688,6 @@ var ItemApi = /** @class */ (function (_super) {
|
|
|
24571
24688
|
ItemApi.prototype.insertUpdateItemContentAttribute = function (item_attribute, merchant_item_oid, options) {
|
|
24572
24689
|
return (0, exports.ItemApiFp)(this.configuration).insertUpdateItemContentAttribute(item_attribute, merchant_item_oid, options)(this.fetch, this.basePath);
|
|
24573
24690
|
};
|
|
24574
|
-
/**
|
|
24575
|
-
* Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
24576
|
-
* @summary Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
|
24577
|
-
* @param {*} [options] Override http request option.
|
|
24578
|
-
* @throws {RequiredError}
|
|
24579
|
-
* @memberof ItemApi
|
|
24580
|
-
*/
|
|
24581
|
-
ItemApi.prototype.restItemInventorySnapshotResponse = function (options) {
|
|
24582
|
-
return (0, exports.ItemApiFp)(this.configuration).restItemInventorySnapshotResponse(options)(this.fetch, this.basePath);
|
|
24583
|
-
};
|
|
24584
24691
|
/**
|
|
24585
24692
|
* Updates a file within the digital library. This does not update an item, but updates a digital file available and selectable as part (or all) of an item.
|
|
24586
24693
|
* @summary Updates a file within the digital library
|