ultracart_rest_api_v2_typescript 4.0.65-RC → 4.0.66-RC

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@4.0.65-RC
1
+ ## ultracart_rest_api_v2_typescript@4.0.66-RC
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@4.0.65-RC --save
39
+ npm install ultracart_rest_api_v2_typescript@4.0.66-RC --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
+ | 4.0.66-RC | 09/22/2022 | digital item mgmt testing |
57
58
  | 4.0.65-RC | 09/22/2022 | testing digital file mgmt calls |
58
59
  | 4.0.64-RC | 09/19/2022 | conversations pagination |
59
60
  | 4.0.63-RC | 09/13/2022 | storefront comms - postcard tracking |
@@ -19,12 +19,6 @@ export interface DeleteItemRequest {
19
19
  }
20
20
  export interface GetDigitalItemRequest {
21
21
  digitalItemOid: number;
22
- limit?: number;
23
- offset?: number;
24
- since?: string;
25
- sort?: string;
26
- expand?: string;
27
- placeholders?: boolean;
28
22
  }
29
23
  export interface GetDigitalItemsRequest {
30
24
  limit?: number;
@@ -123,12 +117,6 @@ export interface ItemApiInterface {
123
117
  * 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.
124
118
  * @summary Retrieve a digital item from the digital library, which are digital files that may be attached to normal items
125
119
  * @param {number} digitalItemOid The digital item oid to retrieve.
126
- * @param {number} [limit] The maximum number of records to return on this one API call. (Default 100, Max 2000)
127
- * @param {number} [offset] Pagination of the record set. Offset is a zero based index.
128
- * @param {string} [since] Fetch items that have been created/modified since this date/time.
129
- * @param {string} [sort] The sort order of the items. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
130
- * @param {string} [expand] The object expansion to perform on the result. See documentation for examples
131
- * @param {boolean} [placeholders] Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
132
120
  * @param {*} [options] Override http request option.
133
121
  * @throws {RequiredError}
134
122
  * @memberof ItemApiInterface
@@ -203,24 +203,6 @@ var ItemApi = /** @class */ (function (_super) {
203
203
  throw new runtime.RequiredError('digitalItemOid', 'Required parameter requestParameters.digitalItemOid was null or undefined when calling getDigitalItem.');
204
204
  }
205
205
  queryParameters = {};
206
- if (requestParameters.limit !== undefined) {
207
- queryParameters['_limit'] = requestParameters.limit;
208
- }
209
- if (requestParameters.offset !== undefined) {
210
- queryParameters['_offset'] = requestParameters.offset;
211
- }
212
- if (requestParameters.since !== undefined) {
213
- queryParameters['_since'] = requestParameters.since;
214
- }
215
- if (requestParameters.sort !== undefined) {
216
- queryParameters['_sort'] = requestParameters.sort;
217
- }
218
- if (requestParameters.expand !== undefined) {
219
- queryParameters['_expand'] = requestParameters.expand;
220
- }
221
- if (requestParameters.placeholders !== undefined) {
222
- queryParameters['_placeholders'] = requestParameters.placeholders;
223
- }
224
206
  headerParameters = {};
225
207
  if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
226
208
  // oauth required
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "4.0.65-RC",
3
+ "version": "4.0.66-RC",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "repository": {
@@ -57,12 +57,6 @@ export interface DeleteItemRequest {
57
57
 
58
58
  export interface GetDigitalItemRequest {
59
59
  digitalItemOid: number;
60
- limit?: number;
61
- offset?: number;
62
- since?: string;
63
- sort?: string;
64
- expand?: string;
65
- placeholders?: boolean;
66
60
  }
67
61
 
68
62
  export interface GetDigitalItemsRequest {
@@ -177,12 +171,6 @@ export interface ItemApiInterface {
177
171
  * 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.
178
172
  * @summary Retrieve a digital item from the digital library, which are digital files that may be attached to normal items
179
173
  * @param {number} digitalItemOid The digital item oid to retrieve.
180
- * @param {number} [limit] The maximum number of records to return on this one API call. (Default 100, Max 2000)
181
- * @param {number} [offset] Pagination of the record set. Offset is a zero based index.
182
- * @param {string} [since] Fetch items that have been created/modified since this date/time.
183
- * @param {string} [sort] The sort order of the items. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
184
- * @param {string} [expand] The object expansion to perform on the result. See documentation for examples
185
- * @param {boolean} [placeholders] Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
186
174
  * @param {*} [options] Override http request option.
187
175
  * @throws {RequiredError}
188
176
  * @memberof ItemApiInterface
@@ -494,30 +482,6 @@ export class ItemApi extends runtime.BaseAPI implements ItemApiInterface {
494
482
 
495
483
  const queryParameters: any = {};
496
484
 
497
- if (requestParameters.limit !== undefined) {
498
- queryParameters['_limit'] = requestParameters.limit;
499
- }
500
-
501
- if (requestParameters.offset !== undefined) {
502
- queryParameters['_offset'] = requestParameters.offset;
503
- }
504
-
505
- if (requestParameters.since !== undefined) {
506
- queryParameters['_since'] = requestParameters.since;
507
- }
508
-
509
- if (requestParameters.sort !== undefined) {
510
- queryParameters['_sort'] = requestParameters.sort;
511
- }
512
-
513
- if (requestParameters.expand !== undefined) {
514
- queryParameters['_expand'] = requestParameters.expand;
515
- }
516
-
517
- if (requestParameters.placeholders !== undefined) {
518
- queryParameters['_placeholders'] = requestParameters.placeholders;
519
- }
520
-
521
485
  const headerParameters: runtime.HTTPHeaders = {};
522
486
 
523
487
  if (this.configuration && this.configuration.accessToken) {