ultracart_rest_api_v2_typescript 3.10.207 → 3.10.209

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.207
1
+ ## ultracart_rest_api_v2_typescript@3.10.209
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.207 --save
39
+ npm install ultracart_rest_api_v2_typescript@3.10.209 --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.209 | 05/31/2024 | ItemApi.getInventorySnapshot method |
58
+ | 3.10.208 | 05/30/2024 | add adult sig req. to the merchant item destination markup for items |
57
59
  | 3.10.207 | 05/29/2024 | added methods getEmailCommseqRateLimiters, resetEmailCommseqRateLimiters |
58
60
  | 3.10.206 | 05/28/2024 | added property to OrderQuery object to allow querying from cache |
59
61
  | 3.10.205 | 05/17/2024 | conv.pbx time based config - changed name from default to default_mapping |
package/api.ts CHANGED
@@ -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
@@ -29712,6 +29832,12 @@ export interface ItemShippingCase {
29712
29832
  * @interface ItemShippingDestinationMarkup
29713
29833
  */
29714
29834
  export interface ItemShippingDestinationMarkup {
29835
+ /**
29836
+ * Adult Signature Required (only updated if not-null value provided)
29837
+ * @type {boolean}
29838
+ * @memberof ItemShippingDestinationMarkup
29839
+ */
29840
+ adult_signature_required?: boolean;
29715
29841
  /**
29716
29842
  * Country code (ISO-3166 two letter)
29717
29843
  * @type {string}
@@ -69568,6 +69694,52 @@ export const ItemApiFetchParamCreator = function (configuration?: Configuration)
69568
69694
  options: localVarRequestOptions,
69569
69695
  };
69570
69696
  },
69697
+ /**
69698
+ * Retrieves a list of item inventories.
69699
+ * @summary Retrieve a list of item inventories
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
+ },
69571
69743
  /**
69572
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.
69573
69745
  * @summary Updates a file within the digital library
@@ -70289,6 +70461,26 @@ export const ItemApiFp = function(configuration?: Configuration) {
70289
70461
  });
70290
70462
  };
70291
70463
  },
70464
+ /**
70465
+ * Retrieves a list of item inventories.
70466
+ * @summary Retrieve a list of item inventories
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
+ },
70292
70484
  /**
70293
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.
70294
70486
  * @summary Updates a file within the digital library
@@ -70609,6 +70801,15 @@ export const ItemApiFactory = function (configuration?: Configuration, fetch?: F
70609
70801
  insertUpdateItemContentAttribute(item_attribute: ItemContentAttribute, merchant_item_oid: number, options?: any) {
70610
70802
  return ItemApiFp(configuration).insertUpdateItemContentAttribute(item_attribute, merchant_item_oid, options)(fetch, basePath);
70611
70803
  },
70804
+ /**
70805
+ * Retrieves a list of item inventories.
70806
+ * @summary Retrieve a list of item inventories
70807
+ * @param {*} [options] Override http request option.
70808
+ * @throws {RequiredError}
70809
+ */
70810
+ restItemInventorySnapshotResponse(options?: any) {
70811
+ return ItemApiFp(configuration).restItemInventorySnapshotResponse(options)(fetch, basePath);
70812
+ },
70612
70813
  /**
70613
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.
70614
70815
  * @summary Updates a file within the digital library
@@ -70874,6 +71075,15 @@ export interface ItemApiInterface {
70874
71075
  */
70875
71076
  insertUpdateItemContentAttribute(item_attribute: ItemContentAttribute, merchant_item_oid: number, options?: any): Promise<{}>;
70876
71077
 
71078
+ /**
71079
+ * Retrieves a list of item inventories.
71080
+ * @summary Retrieve a list of item inventories
71081
+ * @param {*} [options] Override http request option.
71082
+ * @throws {RequiredError}
71083
+ * @memberof ItemApiInterface
71084
+ */
71085
+ restItemInventorySnapshotResponse(options?: any): Promise<ItemInventorySnapshotResponse>;
71086
+
70877
71087
  /**
70878
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.
70879
71089
  * @summary Updates a file within the digital library
@@ -71173,6 +71383,17 @@ export class ItemApi extends BaseAPI implements ItemApiInterface {
71173
71383
  return ItemApiFp(this.configuration).insertUpdateItemContentAttribute(item_attribute, merchant_item_oid, options)(this.fetch, this.basePath);
71174
71384
  }
71175
71385
 
71386
+ /**
71387
+ * Retrieves a list of item inventories.
71388
+ * @summary Retrieve a list of item inventories
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
+
71176
71397
  /**
71177
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.
71178
71399
  * @summary Updates a file within the digital library
package/dist/api.d.ts CHANGED
@@ -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
@@ -29087,6 +29204,12 @@ export interface ItemShippingCase {
29087
29204
  * @interface ItemShippingDestinationMarkup
29088
29205
  */
29089
29206
  export interface ItemShippingDestinationMarkup {
29207
+ /**
29208
+ * Adult Signature Required (only updated if not-null value provided)
29209
+ * @type {boolean}
29210
+ * @memberof ItemShippingDestinationMarkup
29211
+ */
29212
+ adult_signature_required?: boolean;
29090
29213
  /**
29091
29214
  * Country code (ISO-3166 two letter)
29092
29215
  * @type {string}
@@ -53768,6 +53891,13 @@ export declare const ItemApiFetchParamCreator: (configuration?: Configuration) =
53768
53891
  * @throws {RequiredError}
53769
53892
  */
53770
53893
  insertUpdateItemContentAttribute(item_attribute: ItemContentAttribute, merchant_item_oid: number, options?: any): FetchArgs;
53894
+ /**
53895
+ * Retrieves a list of item inventories.
53896
+ * @summary Retrieve a list of item inventories
53897
+ * @param {*} [options] Override http request option.
53898
+ * @throws {RequiredError}
53899
+ */
53900
+ restItemInventorySnapshotResponse(options?: any): FetchArgs;
53771
53901
  /**
53772
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.
53773
53903
  * @summary Updates a file within the digital library
@@ -53986,6 +54116,13 @@ export declare const ItemApiFp: (configuration?: Configuration) => {
53986
54116
  * @throws {RequiredError}
53987
54117
  */
53988
54118
  insertUpdateItemContentAttribute(item_attribute: ItemContentAttribute, merchant_item_oid: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
54119
+ /**
54120
+ * Retrieves a list of item inventories.
54121
+ * @summary Retrieve a list of item inventories
54122
+ * @param {*} [options] Override http request option.
54123
+ * @throws {RequiredError}
54124
+ */
54125
+ restItemInventorySnapshotResponse(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ItemInventorySnapshotResponse>;
53989
54126
  /**
53990
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.
53991
54128
  * @summary Updates a file within the digital library
@@ -54204,6 +54341,13 @@ export declare const ItemApiFactory: (configuration?: Configuration, fetch?: Fet
54204
54341
  * @throws {RequiredError}
54205
54342
  */
54206
54343
  insertUpdateItemContentAttribute(item_attribute: ItemContentAttribute, merchant_item_oid: number, options?: any): Promise<Response>;
54344
+ /**
54345
+ * Retrieves a list of item inventories.
54346
+ * @summary Retrieve a list of item inventories
54347
+ * @param {*} [options] Override http request option.
54348
+ * @throws {RequiredError}
54349
+ */
54350
+ restItemInventorySnapshotResponse(options?: any): Promise<ItemInventorySnapshotResponse>;
54207
54351
  /**
54208
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.
54209
54353
  * @summary Updates a file within the digital library
@@ -54440,6 +54584,14 @@ export interface ItemApiInterface {
54440
54584
  * @memberof ItemApiInterface
54441
54585
  */
54442
54586
  insertUpdateItemContentAttribute(item_attribute: ItemContentAttribute, merchant_item_oid: number, options?: any): Promise<{}>;
54587
+ /**
54588
+ * Retrieves a list of item inventories.
54589
+ * @summary Retrieve a list of item inventories
54590
+ * @param {*} [options] Override http request option.
54591
+ * @throws {RequiredError}
54592
+ * @memberof ItemApiInterface
54593
+ */
54594
+ restItemInventorySnapshotResponse(options?: any): Promise<ItemInventorySnapshotResponse>;
54443
54595
  /**
54444
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.
54445
54597
  * @summary Updates a file within the digital library
@@ -54682,6 +54834,14 @@ export declare class ItemApi extends BaseAPI implements ItemApiInterface {
54682
54834
  * @memberof ItemApi
54683
54835
  */
54684
54836
  insertUpdateItemContentAttribute(item_attribute: ItemContentAttribute, merchant_item_oid: number, options?: any): Promise<Response>;
54837
+ /**
54838
+ * Retrieves a list of item inventories.
54839
+ * @summary Retrieve a list of item inventories
54840
+ * @param {*} [options] Override http request option.
54841
+ * @throws {RequiredError}
54842
+ * @memberof ItemApi
54843
+ */
54844
+ restItemInventorySnapshotResponse(options?: any): Promise<ItemInventorySnapshotResponse>;
54685
54845
  /**
54686
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.
54687
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
+ * Retrieves a list of item inventories.
22747
+ * @summary Retrieve a list of item inventories
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
+ * Retrieves a list of item inventories.
23484
+ * @summary Retrieve a list of item inventories
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
+ * Retrieves a list of item inventories.
23830
+ * @summary Retrieve a list of item inventories
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
+ * Retrieves a list of item inventories.
24126
+ * @summary Retrieve a list of item inventories
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.207",
3
+ "version": "3.10.209",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "keywords": [