ultracart_rest_api_v2_typescript 3.10.208 → 3.10.210

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.208
1
+ ## ultracart_rest_api_v2_typescript@3.10.210
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.208 --save
39
+ npm install ultracart_rest_api_v2_typescript@3.10.210 --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.210 | 06/03/2024 | conversationPbxPhoneNumber - fix serialized name for phone number UUID |
58
+ | 3.10.209 | 05/31/2024 | ItemApi.getInventorySnapshot method |
57
59
  | 3.10.208 | 05/30/2024 | add adult sig req. to the merchant item destination markup for items |
58
60
  | 3.10.207 | 05/29/2024 | added methods getEmailCommseqRateLimiters, resetEmailCommseqRateLimiters |
59
61
  | 3.10.206 | 05/28/2024 | added property to OrderQuery object to allow querying from cache |
package/api.ts CHANGED
@@ -9438,7 +9438,7 @@ export interface ConversationPbxPhoneNumber {
9438
9438
  * @type {string}
9439
9439
  * @memberof ConversationPbxPhoneNumber
9440
9440
  */
9441
- conversation_pbx_time_range_uuid?: string;
9441
+ conversation_pbx_phone_number_uuid?: string;
9442
9442
  /**
9443
9443
  * Merchant Id
9444
9444
  * @type {string}
@@ -26059,13 +26059,13 @@ export interface ItemAutoOrderStep {
26059
26059
  */
26060
26060
  schedule?: string;
26061
26061
  /**
26062
- * Email list name to subscribe the customer to when the rebill occurs
26062
+ * Email list name to subscribe the customer to when the rebill occurs (decommissioned email engine)
26063
26063
  * @type {string}
26064
26064
  * @memberof ItemAutoOrderStep
26065
26065
  */
26066
26066
  subscribe_email_list_name?: string;
26067
26067
  /**
26068
- * Email list identifier to subscribe the customer to when this rebill occurs
26068
+ * Email list identifier to subscribe the customer to when this rebill occurs (decommissioned email engine)
26069
26069
  * @type {number}
26070
26070
  * @memberof ItemAutoOrderStep
26071
26071
  */
@@ -28042,6 +28042,126 @@ export interface ItemInternal {
28042
28042
  memo?: string;
28043
28043
  }
28044
28044
 
28045
+ /**
28046
+ *
28047
+ * @export
28048
+ * @interface ItemInventorySnapshot
28049
+ */
28050
+ export interface ItemInventorySnapshot {
28051
+ /**
28052
+ *
28053
+ * @type {number}
28054
+ * @memberof ItemInventorySnapshot
28055
+ */
28056
+ allocated_to_placed_orders?: number;
28057
+ /**
28058
+ *
28059
+ * @type {number}
28060
+ * @memberof ItemInventorySnapshot
28061
+ */
28062
+ allocated_to_shopping_carts?: number;
28063
+ /**
28064
+ *
28065
+ * @type {number}
28066
+ * @memberof ItemInventorySnapshot
28067
+ */
28068
+ available_to_allocate?: number;
28069
+ /**
28070
+ *
28071
+ * @type {Array<ItemInventorySnapshotDistributionCenter>}
28072
+ * @memberof ItemInventorySnapshot
28073
+ */
28074
+ distribution_centers?: Array<ItemInventorySnapshotDistributionCenter>;
28075
+ /**
28076
+ *
28077
+ * @type {string}
28078
+ * @memberof ItemInventorySnapshot
28079
+ */
28080
+ merchant_item_id?: string;
28081
+ /**
28082
+ *
28083
+ * @type {number}
28084
+ * @memberof ItemInventorySnapshot
28085
+ */
28086
+ quantity?: number;
28087
+ }
28088
+
28089
+ /**
28090
+ *
28091
+ * @export
28092
+ * @interface ItemInventorySnapshotDistributionCenter
28093
+ */
28094
+ export interface ItemInventorySnapshotDistributionCenter {
28095
+ /**
28096
+ *
28097
+ * @type {number}
28098
+ * @memberof ItemInventorySnapshotDistributionCenter
28099
+ */
28100
+ allocated_to_placed_orders?: number;
28101
+ /**
28102
+ *
28103
+ * @type {number}
28104
+ * @memberof ItemInventorySnapshotDistributionCenter
28105
+ */
28106
+ allocated_to_shopping_carts?: number;
28107
+ /**
28108
+ *
28109
+ * @type {number}
28110
+ * @memberof ItemInventorySnapshotDistributionCenter
28111
+ */
28112
+ available_to_allocate?: number;
28113
+ /**
28114
+ *
28115
+ * @type {string}
28116
+ * @memberof ItemInventorySnapshotDistributionCenter
28117
+ */
28118
+ code?: string;
28119
+ /**
28120
+ *
28121
+ * @type {number}
28122
+ * @memberof ItemInventorySnapshotDistributionCenter
28123
+ */
28124
+ quantity?: number;
28125
+ }
28126
+
28127
+ /**
28128
+ *
28129
+ * @export
28130
+ * @interface ItemInventorySnapshotResponse
28131
+ */
28132
+ export interface ItemInventorySnapshotResponse {
28133
+ /**
28134
+ *
28135
+ * @type {ModelError}
28136
+ * @memberof ItemInventorySnapshotResponse
28137
+ */
28138
+ error?: ModelError;
28139
+ /**
28140
+ * inventories
28141
+ * @type {Array<ItemInventorySnapshot>}
28142
+ * @memberof ItemInventorySnapshotResponse
28143
+ */
28144
+ inventories?: Array<ItemInventorySnapshot>;
28145
+ /**
28146
+ *
28147
+ * @type {ResponseMetadata}
28148
+ * @memberof ItemInventorySnapshotResponse
28149
+ */
28150
+ metadata?: ResponseMetadata;
28151
+ /**
28152
+ * Indicates if API call was successful
28153
+ * @type {boolean}
28154
+ * @memberof ItemInventorySnapshotResponse
28155
+ */
28156
+ success?: boolean;
28157
+ /**
28158
+ *
28159
+ * @type {Warning}
28160
+ * @memberof ItemInventorySnapshotResponse
28161
+ */
28162
+ warning?: Warning;
28163
+ }
28164
+
28045
28165
  /**
28046
28166
  *
28047
28167
  * @export
@@ -69574,6 +69694,52 @@ export const ItemApiFetchParamCreator = function (configuration?: Configuration)
69574
69694
  options: localVarRequestOptions,
69575
69695
  };
69576
69696
  },
69697
+ /**
69698
+ * Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
69699
+ * @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.
69700
+ * @param {*} [options] Override http request option.
69701
+ * @throws {RequiredError}
69702
+ */
69703
+ restItemInventorySnapshotResponse(options: any = {}): FetchArgs {
69704
+ const localVarPath = `/item/items/inventory_snapshot`;
69705
+ const localVarUrlObj = url.parse(localVarPath, true);
69706
+ const localVarRequestOptions = Object.assign({ method: 'GET' }, options);
69707
+ const localVarHeaderParameter = {} as any;
69708
+ const localVarQueryParameter = {} as any;
69709
+
69710
+ if(configuration && configuration.apiVersion) {
69711
+ localVarHeaderParameter["X-UltraCart-Api-Version"] = configuration.apiVersion;
69712
+ }
69713
+
69714
+
69715
+
69716
+ // authentication ultraCartOauth required
69717
+ // oauth required
69718
+ if (configuration && configuration.accessToken) {
69719
+ const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
69720
+ ? configuration.accessToken("ultraCartOauth", ["item_read"])
69721
+ : configuration.accessToken;
69722
+ localVarHeaderParameter["Authorization"] = "Bearer " + localVarAccessTokenValue;
69723
+ }
69724
+
69725
+ // authentication ultraCartSimpleApiKey required
69726
+ if (configuration && configuration.apiKey) {
69727
+ const localVarApiKeyValue = typeof configuration.apiKey === 'function'
69728
+ ? configuration.apiKey("x-ultracart-simple-key")
69729
+ : configuration.apiKey;
69730
+ localVarHeaderParameter["x-ultracart-simple-key"] = localVarApiKeyValue;
69731
+ }
69732
+
69733
+ localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
69734
+ // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
69735
+ delete localVarUrlObj.search;
69736
+ localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
69737
+
69738
+ return {
69739
+ url: url.format(localVarUrlObj),
69740
+ options: localVarRequestOptions,
69741
+ };
69742
+ },
69577
69743
  /**
69578
69744
  * 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.
69579
69745
  * @summary Updates a file within the digital library
@@ -70295,6 +70461,26 @@ export const ItemApiFp = function(configuration?: Configuration) {
70295
70461
  });
70296
70462
  };
70297
70463
  },
70464
+ /**
70465
+ * Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
70466
+ * @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.
70467
+ * @param {*} [options] Override http request option.
70468
+ * @throws {RequiredError}
70469
+ */
70470
+ restItemInventorySnapshotResponse(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ItemInventorySnapshotResponse> {
70471
+ const localVarFetchArgs = ItemApiFetchParamCreator(configuration).restItemInventorySnapshotResponse(options);
70472
+ return (fetch: FetchAPI = portableFetch, basePath: string = BASE_PATH) => {
70473
+ return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
70474
+
70475
+ if (response.status >= 200 && response.status < 300) {
70476
+ return response.json();
70477
+
70478
+ } else {
70479
+ throw response;
70480
+ }
70481
+ });
70482
+ };
70483
+ },
70298
70484
  /**
70299
70485
  * 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.
70300
70486
  * @summary Updates a file within the digital library
@@ -70615,6 +70801,15 @@ export const ItemApiFactory = function (configuration?: Configuration, fetch?: F
70615
70801
  insertUpdateItemContentAttribute(item_attribute: ItemContentAttribute, merchant_item_oid: number, options?: any) {
70616
70802
  return ItemApiFp(configuration).insertUpdateItemContentAttribute(item_attribute, merchant_item_oid, options)(fetch, basePath);
70617
70803
  },
70804
+ /**
70805
+ * Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
70806
+ * @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.
70807
+ * @param {*} [options] Override http request option.
70808
+ * @throws {RequiredError}
70809
+ */
70810
+ restItemInventorySnapshotResponse(options?: any) {
70811
+ return ItemApiFp(configuration).restItemInventorySnapshotResponse(options)(fetch, basePath);
70812
+ },
70618
70813
  /**
70619
70814
  * 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.
70620
70815
  * @summary Updates a file within the digital library
@@ -70880,6 +71075,15 @@ export interface ItemApiInterface {
70880
71075
  */
70881
71076
  insertUpdateItemContentAttribute(item_attribute: ItemContentAttribute, merchant_item_oid: number, options?: any): Promise<{}>;
70882
71077
 
71078
+ /**
71079
+ * Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
71080
+ * @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.
71081
+ * @param {*} [options] Override http request option.
71082
+ * @throws {RequiredError}
71083
+ * @memberof ItemApiInterface
71084
+ */
71085
+ restItemInventorySnapshotResponse(options?: any): Promise<ItemInventorySnapshotResponse>;
71086
+
70883
71087
  /**
70884
71088
  * 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.
70885
71089
  * @summary Updates a file within the digital library
@@ -71179,6 +71383,17 @@ export class ItemApi extends BaseAPI implements ItemApiInterface {
71179
71383
  return ItemApiFp(this.configuration).insertUpdateItemContentAttribute(item_attribute, merchant_item_oid, options)(this.fetch, this.basePath);
71180
71384
  }
71181
71385
 
71386
+ /**
71387
+ * Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
71388
+ * @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.
71389
+ * @param {*} [options] Override http request option.
71390
+ * @throws {RequiredError}
71391
+ * @memberof ItemApi
71392
+ */
71393
+ public restItemInventorySnapshotResponse(options?: any) {
71394
+ return ItemApiFp(this.configuration).restItemInventorySnapshotResponse(options)(this.fetch, this.basePath);
71395
+ }
71396
+
71182
71397
  /**
71183
71398
  * 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.
71184
71399
  * @summary Updates a file within the digital library
package/dist/api.d.ts CHANGED
@@ -9215,7 +9215,7 @@ export interface ConversationPbxPhoneNumber {
9215
9215
  * @type {string}
9216
9216
  * @memberof ConversationPbxPhoneNumber
9217
9217
  */
9218
- conversation_pbx_time_range_uuid?: string;
9218
+ conversation_pbx_phone_number_uuid?: string;
9219
9219
  /**
9220
9220
  * Merchant Id
9221
9221
  * @type {string}
@@ -25501,13 +25501,13 @@ export interface ItemAutoOrderStep {
25501
25501
  */
25502
25502
  schedule?: string;
25503
25503
  /**
25504
- * Email list name to subscribe the customer to when the rebill occurs
25504
+ * Email list name to subscribe the customer to when the rebill occurs (decommissioned email engine)
25505
25505
  * @type {string}
25506
25506
  * @memberof ItemAutoOrderStep
25507
25507
  */
25508
25508
  subscribe_email_list_name?: string;
25509
25509
  /**
25510
- * Email list identifier to subscribe the customer to when this rebill occurs
25510
+ * Email list identifier to subscribe the customer to when this rebill occurs (decommissioned email engine)
25511
25511
  * @type {number}
25512
25512
  * @memberof ItemAutoOrderStep
25513
25513
  */
@@ -27450,6 +27450,123 @@ export interface ItemInternal {
27450
27450
  */
27451
27451
  memo?: string;
27452
27452
  }
27453
+ /**
27454
+ *
27455
+ * @export
27456
+ * @interface ItemInventorySnapshot
27457
+ */
27458
+ export interface ItemInventorySnapshot {
27459
+ /**
27460
+ *
27461
+ * @type {number}
27462
+ * @memberof ItemInventorySnapshot
27463
+ */
27464
+ allocated_to_placed_orders?: number;
27465
+ /**
27466
+ *
27467
+ * @type {number}
27468
+ * @memberof ItemInventorySnapshot
27469
+ */
27470
+ allocated_to_shopping_carts?: number;
27471
+ /**
27472
+ *
27473
+ * @type {number}
27474
+ * @memberof ItemInventorySnapshot
27475
+ */
27476
+ available_to_allocate?: number;
27477
+ /**
27478
+ *
27479
+ * @type {Array<ItemInventorySnapshotDistributionCenter>}
27480
+ * @memberof ItemInventorySnapshot
27481
+ */
27482
+ distribution_centers?: Array<ItemInventorySnapshotDistributionCenter>;
27483
+ /**
27484
+ *
27485
+ * @type {string}
27486
+ * @memberof ItemInventorySnapshot
27487
+ */
27488
+ merchant_item_id?: string;
27489
+ /**
27490
+ *
27491
+ * @type {number}
27492
+ * @memberof ItemInventorySnapshot
27493
+ */
27494
+ quantity?: number;
27495
+ }
27496
+ /**
27497
+ *
27498
+ * @export
27499
+ * @interface ItemInventorySnapshotDistributionCenter
27500
+ */
27501
+ export interface ItemInventorySnapshotDistributionCenter {
27502
+ /**
27503
+ *
27504
+ * @type {number}
27505
+ * @memberof ItemInventorySnapshotDistributionCenter
27506
+ */
27507
+ allocated_to_placed_orders?: number;
27508
+ /**
27509
+ *
27510
+ * @type {number}
27511
+ * @memberof ItemInventorySnapshotDistributionCenter
27512
+ */
27513
+ allocated_to_shopping_carts?: number;
27514
+ /**
27515
+ *
27516
+ * @type {number}
27517
+ * @memberof ItemInventorySnapshotDistributionCenter
27518
+ */
27519
+ available_to_allocate?: number;
27520
+ /**
27521
+ *
27522
+ * @type {string}
27523
+ * @memberof ItemInventorySnapshotDistributionCenter
27524
+ */
27525
+ code?: string;
27526
+ /**
27527
+ *
27528
+ * @type {number}
27529
+ * @memberof ItemInventorySnapshotDistributionCenter
27530
+ */
27531
+ quantity?: number;
27532
+ }
27533
+ /**
27534
+ *
27535
+ * @export
27536
+ * @interface ItemInventorySnapshotResponse
27537
+ */
27538
+ export interface ItemInventorySnapshotResponse {
27539
+ /**
27540
+ *
27541
+ * @type {ModelError}
27542
+ * @memberof ItemInventorySnapshotResponse
27543
+ */
27544
+ error?: ModelError;
27545
+ /**
27546
+ * inventories
27547
+ * @type {Array<ItemInventorySnapshot>}
27548
+ * @memberof ItemInventorySnapshotResponse
27549
+ */
27550
+ inventories?: Array<ItemInventorySnapshot>;
27551
+ /**
27552
+ *
27553
+ * @type {ResponseMetadata}
27554
+ * @memberof ItemInventorySnapshotResponse
27555
+ */
27556
+ metadata?: ResponseMetadata;
27557
+ /**
27558
+ * Indicates if API call was successful
27559
+ * @type {boolean}
27560
+ * @memberof ItemInventorySnapshotResponse
27561
+ */
27562
+ success?: boolean;
27563
+ /**
27564
+ *
27565
+ * @type {Warning}
27566
+ * @memberof ItemInventorySnapshotResponse
27567
+ */
27568
+ warning?: Warning;
27569
+ }
27453
27570
  /**
27454
27571
  *
27455
27572
  * @export
@@ -53774,6 +53891,13 @@ export declare const ItemApiFetchParamCreator: (configuration?: Configuration) =
53774
53891
  * @throws {RequiredError}
53775
53892
  */
53776
53893
  insertUpdateItemContentAttribute(item_attribute: ItemContentAttribute, merchant_item_oid: number, options?: any): FetchArgs;
53894
+ /**
53895
+ * Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
53896
+ * @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.
53897
+ * @param {*} [options] Override http request option.
53898
+ * @throws {RequiredError}
53899
+ */
53900
+ restItemInventorySnapshotResponse(options?: any): FetchArgs;
53777
53901
  /**
53778
53902
  * 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.
53779
53903
  * @summary Updates a file within the digital library
@@ -53992,6 +54116,13 @@ export declare const ItemApiFp: (configuration?: Configuration) => {
53992
54116
  * @throws {RequiredError}
53993
54117
  */
53994
54118
  insertUpdateItemContentAttribute(item_attribute: ItemContentAttribute, merchant_item_oid: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
54119
+ /**
54120
+ * Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
54121
+ * @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.
54122
+ * @param {*} [options] Override http request option.
54123
+ * @throws {RequiredError}
54124
+ */
54125
+ restItemInventorySnapshotResponse(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ItemInventorySnapshotResponse>;
53995
54126
  /**
53996
54127
  * 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.
53997
54128
  * @summary Updates a file within the digital library
@@ -54210,6 +54341,13 @@ export declare const ItemApiFactory: (configuration?: Configuration, fetch?: Fet
54210
54341
  * @throws {RequiredError}
54211
54342
  */
54212
54343
  insertUpdateItemContentAttribute(item_attribute: ItemContentAttribute, merchant_item_oid: number, options?: any): Promise<Response>;
54344
+ /**
54345
+ * Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
54346
+ * @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.
54347
+ * @param {*} [options] Override http request option.
54348
+ * @throws {RequiredError}
54349
+ */
54350
+ restItemInventorySnapshotResponse(options?: any): Promise<ItemInventorySnapshotResponse>;
54213
54351
  /**
54214
54352
  * 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.
54215
54353
  * @summary Updates a file within the digital library
@@ -54446,6 +54584,14 @@ export interface ItemApiInterface {
54446
54584
  * @memberof ItemApiInterface
54447
54585
  */
54448
54586
  insertUpdateItemContentAttribute(item_attribute: ItemContentAttribute, merchant_item_oid: number, options?: any): Promise<{}>;
54587
+ /**
54588
+ * Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
54589
+ * @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.
54590
+ * @param {*} [options] Override http request option.
54591
+ * @throws {RequiredError}
54592
+ * @memberof ItemApiInterface
54593
+ */
54594
+ restItemInventorySnapshotResponse(options?: any): Promise<ItemInventorySnapshotResponse>;
54449
54595
  /**
54450
54596
  * 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.
54451
54597
  * @summary Updates a file within the digital library
@@ -54688,6 +54834,14 @@ export declare class ItemApi extends BaseAPI implements ItemApiInterface {
54688
54834
  * @memberof ItemApi
54689
54835
  */
54690
54836
  insertUpdateItemContentAttribute(item_attribute: ItemContentAttribute, merchant_item_oid: number, options?: any): Promise<Response>;
54837
+ /**
54838
+ * Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
54839
+ * @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.
54840
+ * @param {*} [options] Override http request option.
54841
+ * @throws {RequiredError}
54842
+ * @memberof ItemApi
54843
+ */
54844
+ restItemInventorySnapshotResponse(options?: any): Promise<ItemInventorySnapshotResponse>;
54691
54845
  /**
54692
54846
  * 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.
54693
54847
  * @summary Updates a file within the digital library
package/dist/api.js CHANGED
@@ -22742,6 +22742,46 @@ var ItemApiFetchParamCreator = function (configuration) {
22742
22742
  options: localVarRequestOptions,
22743
22743
  };
22744
22744
  },
22745
+ /**
22746
+ * Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
22747
+ * @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.
22748
+ * @param {*} [options] Override http request option.
22749
+ * @throws {RequiredError}
22750
+ */
22751
+ restItemInventorySnapshotResponse: function (options) {
22752
+ if (options === void 0) { options = {}; }
22753
+ var localVarPath = "/item/items/inventory_snapshot";
22754
+ var localVarUrlObj = url.parse(localVarPath, true);
22755
+ var localVarRequestOptions = Object.assign({ method: 'GET' }, options);
22756
+ var localVarHeaderParameter = {};
22757
+ var localVarQueryParameter = {};
22758
+ if (configuration && configuration.apiVersion) {
22759
+ localVarHeaderParameter["X-UltraCart-Api-Version"] = configuration.apiVersion;
22760
+ }
22761
+ // authentication ultraCartOauth required
22762
+ // oauth required
22763
+ if (configuration && configuration.accessToken) {
22764
+ var localVarAccessTokenValue = typeof configuration.accessToken === 'function'
22765
+ ? configuration.accessToken("ultraCartOauth", ["item_read"])
22766
+ : configuration.accessToken;
22767
+ localVarHeaderParameter["Authorization"] = "Bearer " + localVarAccessTokenValue;
22768
+ }
22769
+ // authentication ultraCartSimpleApiKey required
22770
+ if (configuration && configuration.apiKey) {
22771
+ var localVarApiKeyValue = typeof configuration.apiKey === 'function'
22772
+ ? configuration.apiKey("x-ultracart-simple-key")
22773
+ : configuration.apiKey;
22774
+ localVarHeaderParameter["x-ultracart-simple-key"] = localVarApiKeyValue;
22775
+ }
22776
+ localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
22777
+ // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
22778
+ delete localVarUrlObj.search;
22779
+ localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
22780
+ return {
22781
+ url: url.format(localVarUrlObj),
22782
+ options: localVarRequestOptions,
22783
+ };
22784
+ },
22745
22785
  /**
22746
22786
  * 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.
22747
22787
  * @summary Updates a file within the digital library
@@ -23439,6 +23479,27 @@ var ItemApiFp = function (configuration) {
23439
23479
  });
23440
23480
  };
23441
23481
  },
23482
+ /**
23483
+ * Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
23484
+ * @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.
23485
+ * @param {*} [options] Override http request option.
23486
+ * @throws {RequiredError}
23487
+ */
23488
+ restItemInventorySnapshotResponse: function (options) {
23489
+ var localVarFetchArgs = (0, exports.ItemApiFetchParamCreator)(configuration).restItemInventorySnapshotResponse(options);
23490
+ return function (fetch, basePath) {
23491
+ if (fetch === void 0) { fetch = portableFetch; }
23492
+ if (basePath === void 0) { basePath = BASE_PATH; }
23493
+ return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then(function (response) {
23494
+ if (response.status >= 200 && response.status < 300) {
23495
+ return response.json();
23496
+ }
23497
+ else {
23498
+ throw response;
23499
+ }
23500
+ });
23501
+ };
23502
+ },
23442
23503
  /**
23443
23504
  * 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.
23444
23505
  * @summary Updates a file within the digital library
@@ -23764,6 +23825,15 @@ var ItemApiFactory = function (configuration, fetch, basePath) {
23764
23825
  insertUpdateItemContentAttribute: function (item_attribute, merchant_item_oid, options) {
23765
23826
  return (0, exports.ItemApiFp)(configuration).insertUpdateItemContentAttribute(item_attribute, merchant_item_oid, options)(fetch, basePath);
23766
23827
  },
23828
+ /**
23829
+ * Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
23830
+ * @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.
23831
+ * @param {*} [options] Override http request option.
23832
+ * @throws {RequiredError}
23833
+ */
23834
+ restItemInventorySnapshotResponse: function (options) {
23835
+ return (0, exports.ItemApiFp)(configuration).restItemInventorySnapshotResponse(options)(fetch, basePath);
23836
+ },
23767
23837
  /**
23768
23838
  * 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.
23769
23839
  * @summary Updates a file within the digital library
@@ -24051,6 +24121,16 @@ var ItemApi = /** @class */ (function (_super) {
24051
24121
  ItemApi.prototype.insertUpdateItemContentAttribute = function (item_attribute, merchant_item_oid, options) {
24052
24122
  return (0, exports.ItemApiFp)(this.configuration).insertUpdateItemContentAttribute(item_attribute, merchant_item_oid, options)(this.fetch, this.basePath);
24053
24123
  };
24124
+ /**
24125
+ * Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
24126
+ * @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.
24127
+ * @param {*} [options] Override http request option.
24128
+ * @throws {RequiredError}
24129
+ * @memberof ItemApi
24130
+ */
24131
+ ItemApi.prototype.restItemInventorySnapshotResponse = function (options) {
24132
+ return (0, exports.ItemApiFp)(this.configuration).restItemInventorySnapshotResponse(options)(this.fetch, this.basePath);
24133
+ };
24054
24134
  /**
24055
24135
  * 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.
24056
24136
  * @summary Updates a file within the digital library
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "3.10.208",
3
+ "version": "3.10.210",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "keywords": [