ultracart_rest_api_v2_typescript 3.10.48 → 3.10.49

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.48
1
+ ## ultracart_rest_api_v2_typescript@3.10.49
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.48 --save
39
+ npm install ultracart_rest_api_v2_typescript@3.10.49 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -54,6 +54,7 @@ Not every change is committed to every SDK.
54
54
 
55
55
  | Version | Date | Comments |
56
56
  | --: | :-: | --- |
57
+ | 3.10.49 | 09/22/2022 | digital item mgmt testing |
57
58
  | 3.10.48 | 09/22/2022 | testing digital file mgmt calls |
58
59
  | 3.10.47 | 09/19/2022 | conversations pagination |
59
60
  | 3.10.46 | 09/13/2022 | storefront comms - postcard tracking |
package/api.ts CHANGED
@@ -48733,16 +48733,10 @@ export const ItemApiFetchParamCreator = function (configuration?: Configuration)
48733
48733
  * Retrieves a digital item (file information) from the account. Be aware that these are not normal items that can be added to a shopping cart. Rather, they are digital files that may be associated with normal items.
48734
48734
  * @summary Retrieve a digital item from the digital library, which are digital files that may be attached to normal items
48735
48735
  * @param {number} digital_item_oid The digital item oid to retrieve.
48736
- * @param {number} [_limit] The maximum number of records to return on this one API call. (Default 100, Max 2000)
48737
- * @param {number} [_offset] Pagination of the record set. Offset is a zero based index.
48738
- * @param {string} [_since] Fetch items that have been created/modified since this date/time.
48739
- * @param {string} [_sort] The sort order of the items. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
48740
- * @param {string} [_expand] The object expansion to perform on the result. See documentation for examples
48741
- * @param {boolean} [_placeholders] Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
48742
48736
  * @param {*} [options] Override http request option.
48743
48737
  * @throws {RequiredError}
48744
48738
  */
48745
- getDigitalItem(digital_item_oid: number, _limit?: number, _offset?: number, _since?: string, _sort?: string, _expand?: string, _placeholders?: boolean, options: any = {}): FetchArgs {
48739
+ getDigitalItem(digital_item_oid: number, options: any = {}): FetchArgs {
48746
48740
  // verify required parameter 'digital_item_oid' is not null or undefined
48747
48741
  if (digital_item_oid === null || digital_item_oid === undefined) {
48748
48742
  throw new RequiredError('digital_item_oid','Required parameter digital_item_oid was null or undefined when calling getDigitalItem.');
@@ -48777,30 +48771,6 @@ export const ItemApiFetchParamCreator = function (configuration?: Configuration)
48777
48771
  localVarHeaderParameter["x-ultracart-simple-key"] = localVarApiKeyValue;
48778
48772
  }
48779
48773
 
48780
- if (_limit !== undefined) {
48781
- localVarQueryParameter['_limit'] = _limit;
48782
- }
48783
-
48784
- if (_offset !== undefined) {
48785
- localVarQueryParameter['_offset'] = _offset;
48786
- }
48787
-
48788
- if (_since !== undefined) {
48789
- localVarQueryParameter['_since'] = _since;
48790
- }
48791
-
48792
- if (_sort !== undefined) {
48793
- localVarQueryParameter['_sort'] = _sort;
48794
- }
48795
-
48796
- if (_expand !== undefined) {
48797
- localVarQueryParameter['_expand'] = _expand;
48798
- }
48799
-
48800
- if (_placeholders !== undefined) {
48801
- localVarQueryParameter['_placeholders'] = _placeholders;
48802
- }
48803
-
48804
48774
  localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
48805
48775
  // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
48806
48776
  delete localVarUrlObj.search;
@@ -49584,17 +49554,11 @@ export const ItemApiFp = function(configuration?: Configuration) {
49584
49554
  * Retrieves a digital item (file information) from the account. Be aware that these are not normal items that can be added to a shopping cart. Rather, they are digital files that may be associated with normal items.
49585
49555
  * @summary Retrieve a digital item from the digital library, which are digital files that may be attached to normal items
49586
49556
  * @param {number} digital_item_oid The digital item oid to retrieve.
49587
- * @param {number} [_limit] The maximum number of records to return on this one API call. (Default 100, Max 2000)
49588
- * @param {number} [_offset] Pagination of the record set. Offset is a zero based index.
49589
- * @param {string} [_since] Fetch items that have been created/modified since this date/time.
49590
- * @param {string} [_sort] The sort order of the items. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
49591
- * @param {string} [_expand] The object expansion to perform on the result. See documentation for examples
49592
- * @param {boolean} [_placeholders] Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
49593
49557
  * @param {*} [options] Override http request option.
49594
49558
  * @throws {RequiredError}
49595
49559
  */
49596
- getDigitalItem(digital_item_oid: number, _limit?: number, _offset?: number, _since?: string, _sort?: string, _expand?: string, _placeholders?: boolean, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ItemDigitalItemResponse> {
49597
- const localVarFetchArgs = ItemApiFetchParamCreator(configuration).getDigitalItem(digital_item_oid, _limit, _offset, _since, _sort, _expand, _placeholders, options);
49560
+ getDigitalItem(digital_item_oid: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ItemDigitalItemResponse> {
49561
+ const localVarFetchArgs = ItemApiFetchParamCreator(configuration).getDigitalItem(digital_item_oid, options);
49598
49562
  return (fetch: FetchAPI = portableFetch, basePath: string = BASE_PATH) => {
49599
49563
  return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
49600
49564
 
@@ -49896,17 +49860,11 @@ export const ItemApiFactory = function (configuration?: Configuration, fetch?: F
49896
49860
  * Retrieves a digital item (file information) from the account. Be aware that these are not normal items that can be added to a shopping cart. Rather, they are digital files that may be associated with normal items.
49897
49861
  * @summary Retrieve a digital item from the digital library, which are digital files that may be attached to normal items
49898
49862
  * @param {number} digital_item_oid The digital item oid to retrieve.
49899
- * @param {number} [_limit] The maximum number of records to return on this one API call. (Default 100, Max 2000)
49900
- * @param {number} [_offset] Pagination of the record set. Offset is a zero based index.
49901
- * @param {string} [_since] Fetch items that have been created/modified since this date/time.
49902
- * @param {string} [_sort] The sort order of the items. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
49903
- * @param {string} [_expand] The object expansion to perform on the result. See documentation for examples
49904
- * @param {boolean} [_placeholders] Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
49905
49863
  * @param {*} [options] Override http request option.
49906
49864
  * @throws {RequiredError}
49907
49865
  */
49908
- getDigitalItem(digital_item_oid: number, _limit?: number, _offset?: number, _since?: string, _sort?: string, _expand?: string, _placeholders?: boolean, options?: any) {
49909
- return ItemApiFp(configuration).getDigitalItem(digital_item_oid, _limit, _offset, _since, _sort, _expand, _placeholders, options)(fetch, basePath);
49866
+ getDigitalItem(digital_item_oid: number, options?: any) {
49867
+ return ItemApiFp(configuration).getDigitalItem(digital_item_oid, options)(fetch, basePath);
49910
49868
  },
49911
49869
  /**
49912
49870
  * Retrieves a group of digital items (file information) from the account. If no parameters are specified, all digital items will be returned. Be aware that these are not normal items that can be added to a shopping cart. Rather, they are digital files that may be associated with normal items. You will need to make multiple API calls in order to retrieve the entire result set since this API performs result set pagination.
@@ -50076,17 +50034,11 @@ export interface ItemApiInterface {
50076
50034
  * Retrieves a digital item (file information) from the account. Be aware that these are not normal items that can be added to a shopping cart. Rather, they are digital files that may be associated with normal items.
50077
50035
  * @summary Retrieve a digital item from the digital library, which are digital files that may be attached to normal items
50078
50036
  * @param {number} digital_item_oid The digital item oid to retrieve.
50079
- * @param {number} [_limit] The maximum number of records to return on this one API call. (Default 100, Max 2000)
50080
- * @param {number} [_offset] Pagination of the record set. Offset is a zero based index.
50081
- * @param {string} [_since] Fetch items that have been created/modified since this date/time.
50082
- * @param {string} [_sort] The sort order of the items. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
50083
- * @param {string} [_expand] The object expansion to perform on the result. See documentation for examples
50084
- * @param {boolean} [_placeholders] Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
50085
50037
  * @param {*} [options] Override http request option.
50086
50038
  * @throws {RequiredError}
50087
50039
  * @memberof ItemApiInterface
50088
50040
  */
50089
- getDigitalItem(digital_item_oid: number, _limit?: number, _offset?: number, _since?: string, _sort?: string, _expand?: string, _placeholders?: boolean, options?: any): Promise<ItemDigitalItemResponse>;
50041
+ getDigitalItem(digital_item_oid: number, options?: any): Promise<ItemDigitalItemResponse>;
50090
50042
 
50091
50043
  /**
50092
50044
  * Retrieves a group of digital items (file information) from the account. If no parameters are specified, all digital items will be returned. Be aware that these are not normal items that can be added to a shopping cart. Rather, they are digital files that may be associated with normal items. You will need to make multiple API calls in order to retrieve the entire result set since this API performs result set pagination.
@@ -50260,18 +50212,12 @@ export class ItemApi extends BaseAPI implements ItemApiInterface {
50260
50212
  * Retrieves a digital item (file information) from the account. Be aware that these are not normal items that can be added to a shopping cart. Rather, they are digital files that may be associated with normal items.
50261
50213
  * @summary Retrieve a digital item from the digital library, which are digital files that may be attached to normal items
50262
50214
  * @param {number} digital_item_oid The digital item oid to retrieve.
50263
- * @param {number} [_limit] The maximum number of records to return on this one API call. (Default 100, Max 2000)
50264
- * @param {number} [_offset] Pagination of the record set. Offset is a zero based index.
50265
- * @param {string} [_since] Fetch items that have been created/modified since this date/time.
50266
- * @param {string} [_sort] The sort order of the items. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
50267
- * @param {string} [_expand] The object expansion to perform on the result. See documentation for examples
50268
- * @param {boolean} [_placeholders] Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
50269
50215
  * @param {*} [options] Override http request option.
50270
50216
  * @throws {RequiredError}
50271
50217
  * @memberof ItemApi
50272
50218
  */
50273
- public getDigitalItem(digital_item_oid: number, _limit?: number, _offset?: number, _since?: string, _sort?: string, _expand?: string, _placeholders?: boolean, options?: any) {
50274
- return ItemApiFp(this.configuration).getDigitalItem(digital_item_oid, _limit, _offset, _since, _sort, _expand, _placeholders, options)(this.fetch, this.basePath);
50219
+ public getDigitalItem(digital_item_oid: number, options?: any) {
50220
+ return ItemApiFp(this.configuration).getDigitalItem(digital_item_oid, options)(this.fetch, this.basePath);
50275
50221
  }
50276
50222
 
50277
50223
  /**
package/dist/api.d.ts CHANGED
@@ -40076,16 +40076,10 @@ export declare const ItemApiFetchParamCreator: (configuration?: Configuration) =
40076
40076
  * Retrieves a digital item (file information) from the account. Be aware that these are not normal items that can be added to a shopping cart. Rather, they are digital files that may be associated with normal items.
40077
40077
  * @summary Retrieve a digital item from the digital library, which are digital files that may be attached to normal items
40078
40078
  * @param {number} digital_item_oid The digital item oid to retrieve.
40079
- * @param {number} [_limit] The maximum number of records to return on this one API call. (Default 100, Max 2000)
40080
- * @param {number} [_offset] Pagination of the record set. Offset is a zero based index.
40081
- * @param {string} [_since] Fetch items that have been created/modified since this date/time.
40082
- * @param {string} [_sort] The sort order of the items. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
40083
- * @param {string} [_expand] The object expansion to perform on the result. See documentation for examples
40084
- * @param {boolean} [_placeholders] Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
40085
40079
  * @param {*} [options] Override http request option.
40086
40080
  * @throws {RequiredError}
40087
40081
  */
40088
- getDigitalItem(digital_item_oid: number, _limit?: number, _offset?: number, _since?: string, _sort?: string, _expand?: string, _placeholders?: boolean, options?: any): FetchArgs;
40082
+ getDigitalItem(digital_item_oid: number, options?: any): FetchArgs;
40089
40083
  /**
40090
40084
  * Retrieves a group of digital items (file information) from the account. If no parameters are specified, all digital items will be returned. Be aware that these are not normal items that can be added to a shopping cart. Rather, they are digital files that may be associated with normal items. You will need to make multiple API calls in order to retrieve the entire result set since this API performs result set pagination.
40091
40085
  * @summary Retrieve digital items from the digital library which are digital files that may be attached to normal items
@@ -40225,16 +40219,10 @@ export declare const ItemApiFp: (configuration?: Configuration) => {
40225
40219
  * Retrieves a digital item (file information) from the account. Be aware that these are not normal items that can be added to a shopping cart. Rather, they are digital files that may be associated with normal items.
40226
40220
  * @summary Retrieve a digital item from the digital library, which are digital files that may be attached to normal items
40227
40221
  * @param {number} digital_item_oid The digital item oid to retrieve.
40228
- * @param {number} [_limit] The maximum number of records to return on this one API call. (Default 100, Max 2000)
40229
- * @param {number} [_offset] Pagination of the record set. Offset is a zero based index.
40230
- * @param {string} [_since] Fetch items that have been created/modified since this date/time.
40231
- * @param {string} [_sort] The sort order of the items. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
40232
- * @param {string} [_expand] The object expansion to perform on the result. See documentation for examples
40233
- * @param {boolean} [_placeholders] Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
40234
40222
  * @param {*} [options] Override http request option.
40235
40223
  * @throws {RequiredError}
40236
40224
  */
40237
- getDigitalItem(digital_item_oid: number, _limit?: number, _offset?: number, _since?: string, _sort?: string, _expand?: string, _placeholders?: boolean, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ItemDigitalItemResponse>;
40225
+ getDigitalItem(digital_item_oid: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<ItemDigitalItemResponse>;
40238
40226
  /**
40239
40227
  * Retrieves a group of digital items (file information) from the account. If no parameters are specified, all digital items will be returned. Be aware that these are not normal items that can be added to a shopping cart. Rather, they are digital files that may be associated with normal items. You will need to make multiple API calls in order to retrieve the entire result set since this API performs result set pagination.
40240
40228
  * @summary Retrieve digital items from the digital library which are digital files that may be attached to normal items
@@ -40374,16 +40362,10 @@ export declare const ItemApiFactory: (configuration?: Configuration, fetch?: Fet
40374
40362
  * Retrieves a digital item (file information) from the account. Be aware that these are not normal items that can be added to a shopping cart. Rather, they are digital files that may be associated with normal items.
40375
40363
  * @summary Retrieve a digital item from the digital library, which are digital files that may be attached to normal items
40376
40364
  * @param {number} digital_item_oid The digital item oid to retrieve.
40377
- * @param {number} [_limit] The maximum number of records to return on this one API call. (Default 100, Max 2000)
40378
- * @param {number} [_offset] Pagination of the record set. Offset is a zero based index.
40379
- * @param {string} [_since] Fetch items that have been created/modified since this date/time.
40380
- * @param {string} [_sort] The sort order of the items. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
40381
- * @param {string} [_expand] The object expansion to perform on the result. See documentation for examples
40382
- * @param {boolean} [_placeholders] Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
40383
40365
  * @param {*} [options] Override http request option.
40384
40366
  * @throws {RequiredError}
40385
40367
  */
40386
- getDigitalItem(digital_item_oid: number, _limit?: number, _offset?: number, _since?: string, _sort?: string, _expand?: string, _placeholders?: boolean, options?: any): Promise<ItemDigitalItemResponse>;
40368
+ getDigitalItem(digital_item_oid: number, options?: any): Promise<ItemDigitalItemResponse>;
40387
40369
  /**
40388
40370
  * Retrieves a group of digital items (file information) from the account. If no parameters are specified, all digital items will be returned. Be aware that these are not normal items that can be added to a shopping cart. Rather, they are digital files that may be associated with normal items. You will need to make multiple API calls in order to retrieve the entire result set since this API performs result set pagination.
40389
40371
  * @summary Retrieve digital items from the digital library which are digital files that may be attached to normal items
@@ -40526,17 +40508,11 @@ export interface ItemApiInterface {
40526
40508
  * Retrieves a digital item (file information) from the account. Be aware that these are not normal items that can be added to a shopping cart. Rather, they are digital files that may be associated with normal items.
40527
40509
  * @summary Retrieve a digital item from the digital library, which are digital files that may be attached to normal items
40528
40510
  * @param {number} digital_item_oid The digital item oid to retrieve.
40529
- * @param {number} [_limit] The maximum number of records to return on this one API call. (Default 100, Max 2000)
40530
- * @param {number} [_offset] Pagination of the record set. Offset is a zero based index.
40531
- * @param {string} [_since] Fetch items that have been created/modified since this date/time.
40532
- * @param {string} [_sort] The sort order of the items. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
40533
- * @param {string} [_expand] The object expansion to perform on the result. See documentation for examples
40534
- * @param {boolean} [_placeholders] Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
40535
40511
  * @param {*} [options] Override http request option.
40536
40512
  * @throws {RequiredError}
40537
40513
  * @memberof ItemApiInterface
40538
40514
  */
40539
- getDigitalItem(digital_item_oid: number, _limit?: number, _offset?: number, _since?: string, _sort?: string, _expand?: string, _placeholders?: boolean, options?: any): Promise<ItemDigitalItemResponse>;
40515
+ getDigitalItem(digital_item_oid: number, options?: any): Promise<ItemDigitalItemResponse>;
40540
40516
  /**
40541
40517
  * Retrieves a group of digital items (file information) from the account. If no parameters are specified, all digital items will be returned. Be aware that these are not normal items that can be added to a shopping cart. Rather, they are digital files that may be associated with normal items. You will need to make multiple API calls in order to retrieve the entire result set since this API performs result set pagination.
40542
40518
  * @summary Retrieve digital items from the digital library which are digital files that may be attached to normal items
@@ -40691,17 +40667,11 @@ export declare class ItemApi extends BaseAPI implements ItemApiInterface {
40691
40667
  * Retrieves a digital item (file information) from the account. Be aware that these are not normal items that can be added to a shopping cart. Rather, they are digital files that may be associated with normal items.
40692
40668
  * @summary Retrieve a digital item from the digital library, which are digital files that may be attached to normal items
40693
40669
  * @param {number} digital_item_oid The digital item oid to retrieve.
40694
- * @param {number} [_limit] The maximum number of records to return on this one API call. (Default 100, Max 2000)
40695
- * @param {number} [_offset] Pagination of the record set. Offset is a zero based index.
40696
- * @param {string} [_since] Fetch items that have been created/modified since this date/time.
40697
- * @param {string} [_sort] The sort order of the items. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
40698
- * @param {string} [_expand] The object expansion to perform on the result. See documentation for examples
40699
- * @param {boolean} [_placeholders] Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
40700
40670
  * @param {*} [options] Override http request option.
40701
40671
  * @throws {RequiredError}
40702
40672
  * @memberof ItemApi
40703
40673
  */
40704
- getDigitalItem(digital_item_oid: number, _limit?: number, _offset?: number, _since?: string, _sort?: string, _expand?: string, _placeholders?: boolean, options?: any): Promise<ItemDigitalItemResponse>;
40674
+ getDigitalItem(digital_item_oid: number, options?: any): Promise<ItemDigitalItemResponse>;
40705
40675
  /**
40706
40676
  * Retrieves a group of digital items (file information) from the account. If no parameters are specified, all digital items will be returned. Be aware that these are not normal items that can be added to a shopping cart. Rather, they are digital files that may be associated with normal items. You will need to make multiple API calls in order to retrieve the entire result set since this API performs result set pagination.
40707
40677
  * @summary Retrieve digital items from the digital library which are digital files that may be attached to normal items
package/dist/api.js CHANGED
@@ -12580,16 +12580,10 @@ var ItemApiFetchParamCreator = function (configuration) {
12580
12580
  * Retrieves a digital item (file information) from the account. Be aware that these are not normal items that can be added to a shopping cart. Rather, they are digital files that may be associated with normal items.
12581
12581
  * @summary Retrieve a digital item from the digital library, which are digital files that may be attached to normal items
12582
12582
  * @param {number} digital_item_oid The digital item oid to retrieve.
12583
- * @param {number} [_limit] The maximum number of records to return on this one API call. (Default 100, Max 2000)
12584
- * @param {number} [_offset] Pagination of the record set. Offset is a zero based index.
12585
- * @param {string} [_since] Fetch items that have been created/modified since this date/time.
12586
- * @param {string} [_sort] The sort order of the items. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
12587
- * @param {string} [_expand] The object expansion to perform on the result. See documentation for examples
12588
- * @param {boolean} [_placeholders] Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
12589
12583
  * @param {*} [options] Override http request option.
12590
12584
  * @throws {RequiredError}
12591
12585
  */
12592
- getDigitalItem: function (digital_item_oid, _limit, _offset, _since, _sort, _expand, _placeholders, options) {
12586
+ getDigitalItem: function (digital_item_oid, options) {
12593
12587
  if (options === void 0) { options = {}; }
12594
12588
  // verify required parameter 'digital_item_oid' is not null or undefined
12595
12589
  if (digital_item_oid === null || digital_item_oid === undefined) {
@@ -12619,24 +12613,6 @@ var ItemApiFetchParamCreator = function (configuration) {
12619
12613
  : configuration.apiKey;
12620
12614
  localVarHeaderParameter["x-ultracart-simple-key"] = localVarApiKeyValue;
12621
12615
  }
12622
- if (_limit !== undefined) {
12623
- localVarQueryParameter['_limit'] = _limit;
12624
- }
12625
- if (_offset !== undefined) {
12626
- localVarQueryParameter['_offset'] = _offset;
12627
- }
12628
- if (_since !== undefined) {
12629
- localVarQueryParameter['_since'] = _since;
12630
- }
12631
- if (_sort !== undefined) {
12632
- localVarQueryParameter['_sort'] = _sort;
12633
- }
12634
- if (_expand !== undefined) {
12635
- localVarQueryParameter['_expand'] = _expand;
12636
- }
12637
- if (_placeholders !== undefined) {
12638
- localVarQueryParameter['_placeholders'] = _placeholders;
12639
- }
12640
12616
  localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
12641
12617
  // fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
12642
12618
  delete localVarUrlObj.search;
@@ -13322,17 +13298,11 @@ var ItemApiFp = function (configuration) {
13322
13298
  * Retrieves a digital item (file information) from the account. Be aware that these are not normal items that can be added to a shopping cart. Rather, they are digital files that may be associated with normal items.
13323
13299
  * @summary Retrieve a digital item from the digital library, which are digital files that may be attached to normal items
13324
13300
  * @param {number} digital_item_oid The digital item oid to retrieve.
13325
- * @param {number} [_limit] The maximum number of records to return on this one API call. (Default 100, Max 2000)
13326
- * @param {number} [_offset] Pagination of the record set. Offset is a zero based index.
13327
- * @param {string} [_since] Fetch items that have been created/modified since this date/time.
13328
- * @param {string} [_sort] The sort order of the items. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
13329
- * @param {string} [_expand] The object expansion to perform on the result. See documentation for examples
13330
- * @param {boolean} [_placeholders] Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
13331
13301
  * @param {*} [options] Override http request option.
13332
13302
  * @throws {RequiredError}
13333
13303
  */
13334
- getDigitalItem: function (digital_item_oid, _limit, _offset, _since, _sort, _expand, _placeholders, options) {
13335
- var localVarFetchArgs = (0, exports.ItemApiFetchParamCreator)(configuration).getDigitalItem(digital_item_oid, _limit, _offset, _since, _sort, _expand, _placeholders, options);
13304
+ getDigitalItem: function (digital_item_oid, options) {
13305
+ var localVarFetchArgs = (0, exports.ItemApiFetchParamCreator)(configuration).getDigitalItem(digital_item_oid, options);
13336
13306
  return function (fetch, basePath) {
13337
13307
  if (fetch === void 0) { fetch = portableFetch; }
13338
13308
  if (basePath === void 0) { basePath = BASE_PATH; }
@@ -13646,17 +13616,11 @@ var ItemApiFactory = function (configuration, fetch, basePath) {
13646
13616
  * Retrieves a digital item (file information) from the account. Be aware that these are not normal items that can be added to a shopping cart. Rather, they are digital files that may be associated with normal items.
13647
13617
  * @summary Retrieve a digital item from the digital library, which are digital files that may be attached to normal items
13648
13618
  * @param {number} digital_item_oid The digital item oid to retrieve.
13649
- * @param {number} [_limit] The maximum number of records to return on this one API call. (Default 100, Max 2000)
13650
- * @param {number} [_offset] Pagination of the record set. Offset is a zero based index.
13651
- * @param {string} [_since] Fetch items that have been created/modified since this date/time.
13652
- * @param {string} [_sort] The sort order of the items. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
13653
- * @param {string} [_expand] The object expansion to perform on the result. See documentation for examples
13654
- * @param {boolean} [_placeholders] Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
13655
13619
  * @param {*} [options] Override http request option.
13656
13620
  * @throws {RequiredError}
13657
13621
  */
13658
- getDigitalItem: function (digital_item_oid, _limit, _offset, _since, _sort, _expand, _placeholders, options) {
13659
- return (0, exports.ItemApiFp)(configuration).getDigitalItem(digital_item_oid, _limit, _offset, _since, _sort, _expand, _placeholders, options)(fetch, basePath);
13622
+ getDigitalItem: function (digital_item_oid, options) {
13623
+ return (0, exports.ItemApiFp)(configuration).getDigitalItem(digital_item_oid, options)(fetch, basePath);
13660
13624
  },
13661
13625
  /**
13662
13626
  * Retrieves a group of digital items (file information) from the account. If no parameters are specified, all digital items will be returned. Be aware that these are not normal items that can be added to a shopping cart. Rather, they are digital files that may be associated with normal items. You will need to make multiple API calls in order to retrieve the entire result set since this API performs result set pagination.
@@ -13833,18 +13797,12 @@ var ItemApi = /** @class */ (function (_super) {
13833
13797
  * Retrieves a digital item (file information) from the account. Be aware that these are not normal items that can be added to a shopping cart. Rather, they are digital files that may be associated with normal items.
13834
13798
  * @summary Retrieve a digital item from the digital library, which are digital files that may be attached to normal items
13835
13799
  * @param {number} digital_item_oid The digital item oid to retrieve.
13836
- * @param {number} [_limit] The maximum number of records to return on this one API call. (Default 100, Max 2000)
13837
- * @param {number} [_offset] Pagination of the record set. Offset is a zero based index.
13838
- * @param {string} [_since] Fetch items that have been created/modified since this date/time.
13839
- * @param {string} [_sort] The sort order of the items. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
13840
- * @param {string} [_expand] The object expansion to perform on the result. See documentation for examples
13841
- * @param {boolean} [_placeholders] Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
13842
13800
  * @param {*} [options] Override http request option.
13843
13801
  * @throws {RequiredError}
13844
13802
  * @memberof ItemApi
13845
13803
  */
13846
- ItemApi.prototype.getDigitalItem = function (digital_item_oid, _limit, _offset, _since, _sort, _expand, _placeholders, options) {
13847
- return (0, exports.ItemApiFp)(this.configuration).getDigitalItem(digital_item_oid, _limit, _offset, _since, _sort, _expand, _placeholders, options)(this.fetch, this.basePath);
13804
+ ItemApi.prototype.getDigitalItem = function (digital_item_oid, options) {
13805
+ return (0, exports.ItemApiFp)(this.configuration).getDigitalItem(digital_item_oid, options)(this.fetch, this.basePath);
13848
13806
  };
13849
13807
  /**
13850
13808
  * Retrieves a group of digital items (file information) from the account. If no parameters are specified, all digital items will be returned. Be aware that these are not normal items that can be added to a shopping cart. Rather, they are digital files that may be associated with normal items. You will need to make multiple API calls in order to retrieve the entire result set since this API performs result set pagination.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "3.10.48",
3
+ "version": "3.10.49",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "keywords": [