@teemill/gfn-catalog 3.6.1 → 3.6.3
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 +5 -5
- package/api.ts +13 -655
- package/base.ts +1 -25
- package/common.ts +1 -2
- package/configuration.ts +1 -18
- package/dist/api.d.ts +24 -666
- package/dist/api.js +1 -36
- package/dist/base.d.ts +1 -25
- package/dist/base.js +1 -20
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -18
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +24 -666
- package/dist/esm/api.js +1 -36
- package/dist/esm/base.d.ts +1 -25
- package/dist/esm/base.js +1 -20
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -18
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/ListFulfillments200Response.md +22 -0
- package/docs/ListStatements200Response.md +22 -0
- package/docs/ListTransactions200Response.md +22 -0
- package/docs/StatementsApi.md +2 -2
- package/docs/TransactionsApi.md +4 -4
- package/index.ts +1 -1
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* GFN Catalog API
|
|
5
5
|
* Use this API to access the Global Fulfillment Network, which contains all the warehouse products and variants available to a given project. Warehouse products represent the base products that can be printed on. Products are the top level items, and variants are the different options available for each product. For example, a product might be a T-shirt, and each variant represents a different size and colour combination of that T-shirt. Use references to these warehouse products to create new product listings on your project via the Product Catalog API. Use the variant information to decide which options you would like to offer on each product listing.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.6.
|
|
7
|
+
* The version of the OpenAPI document: 3.6.3
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -23,92 +23,34 @@ import type { RequestArgs } from './base';
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';
|
|
25
25
|
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @export
|
|
29
|
-
* @interface ApiError
|
|
30
|
-
*/
|
|
31
26
|
export interface ApiError {
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof ApiError
|
|
36
|
-
*/
|
|
37
27
|
'code'?: string;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof ApiError
|
|
42
|
-
*/
|
|
43
28
|
'message': string;
|
|
44
29
|
}
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @export
|
|
48
|
-
* @interface ApiValidationError
|
|
49
|
-
*/
|
|
50
30
|
export interface ApiValidationError {
|
|
51
|
-
/**
|
|
52
|
-
*
|
|
53
|
-
* @type {string}
|
|
54
|
-
* @memberof ApiValidationError
|
|
55
|
-
*/
|
|
56
31
|
'message': string;
|
|
57
|
-
/**
|
|
58
|
-
*
|
|
59
|
-
* @type {{ [key: string]: Array<string>; }}
|
|
60
|
-
* @memberof ApiValidationError
|
|
61
|
-
*/
|
|
62
32
|
'errors': { [key: string]: Array<string>; };
|
|
63
33
|
}
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
* @export
|
|
67
|
-
* @interface Attribute
|
|
68
|
-
*/
|
|
69
34
|
export interface Attribute {
|
|
70
35
|
/**
|
|
71
36
|
* Attribute name
|
|
72
|
-
* @type {string}
|
|
73
|
-
* @memberof Attribute
|
|
74
37
|
*/
|
|
75
38
|
'name': string;
|
|
76
39
|
/**
|
|
77
40
|
* Attribute value
|
|
78
|
-
* @type {string}
|
|
79
|
-
* @memberof Attribute
|
|
80
41
|
*/
|
|
81
42
|
'value': string;
|
|
82
|
-
/**
|
|
83
|
-
*
|
|
84
|
-
* @type {AttributeThumbnail}
|
|
85
|
-
* @memberof Attribute
|
|
86
|
-
*/
|
|
87
43
|
'thumbnail'?: AttributeThumbnail;
|
|
88
44
|
/**
|
|
89
45
|
* Attribute tags
|
|
90
|
-
* @type {Array<string>}
|
|
91
|
-
* @memberof Attribute
|
|
92
46
|
*/
|
|
93
47
|
'tags'?: Array<string>;
|
|
94
48
|
}
|
|
95
49
|
/**
|
|
96
50
|
* Attribute thumbnail
|
|
97
|
-
* @export
|
|
98
|
-
* @interface AttributeThumbnail
|
|
99
51
|
*/
|
|
100
52
|
export interface AttributeThumbnail {
|
|
101
|
-
/**
|
|
102
|
-
*
|
|
103
|
-
* @type {string}
|
|
104
|
-
* @memberof AttributeThumbnail
|
|
105
|
-
*/
|
|
106
53
|
'type'?: AttributeThumbnailTypeEnum;
|
|
107
|
-
/**
|
|
108
|
-
*
|
|
109
|
-
* @type {string}
|
|
110
|
-
* @memberof AttributeThumbnail
|
|
111
|
-
*/
|
|
112
54
|
'value'?: string;
|
|
113
55
|
}
|
|
114
56
|
|
|
@@ -120,538 +62,189 @@ export const AttributeThumbnailTypeEnum = {
|
|
|
120
62
|
|
|
121
63
|
export type AttributeThumbnailTypeEnum = typeof AttributeThumbnailTypeEnum[keyof typeof AttributeThumbnailTypeEnum];
|
|
122
64
|
|
|
123
|
-
/**
|
|
124
|
-
*
|
|
125
|
-
* @export
|
|
126
|
-
* @interface ExportTransactionsRequest
|
|
127
|
-
*/
|
|
128
65
|
export interface ExportTransactionsRequest {
|
|
129
66
|
/**
|
|
130
67
|
* Include only transactions from this statement
|
|
131
|
-
* @type {string}
|
|
132
|
-
* @memberof ExportTransactionsRequest
|
|
133
68
|
*/
|
|
134
69
|
'statement'?: string;
|
|
135
70
|
}
|
|
136
|
-
/**
|
|
137
|
-
*
|
|
138
|
-
* @export
|
|
139
|
-
* @interface Fulfillment
|
|
140
|
-
*/
|
|
141
71
|
export interface Fulfillment {
|
|
142
|
-
/**
|
|
143
|
-
*
|
|
144
|
-
* @type {number}
|
|
145
|
-
* @memberof Fulfillment
|
|
146
|
-
*/
|
|
147
72
|
'id': number;
|
|
148
|
-
/**
|
|
149
|
-
*
|
|
150
|
-
* @type {string}
|
|
151
|
-
* @memberof Fulfillment
|
|
152
|
-
*/
|
|
153
73
|
'merchantRef': string;
|
|
154
|
-
/**
|
|
155
|
-
*
|
|
156
|
-
* @type {number}
|
|
157
|
-
* @memberof Fulfillment
|
|
158
|
-
*/
|
|
159
74
|
'total': number;
|
|
160
|
-
/**
|
|
161
|
-
*
|
|
162
|
-
* @type {string}
|
|
163
|
-
* @memberof Fulfillment
|
|
164
|
-
*/
|
|
165
75
|
'createdAt': string;
|
|
166
76
|
}
|
|
167
77
|
/**
|
|
168
78
|
* Image description
|
|
169
|
-
* @export
|
|
170
|
-
* @interface Image
|
|
171
79
|
*/
|
|
172
80
|
export interface Image {
|
|
173
81
|
/**
|
|
174
82
|
* Unique object identifier
|
|
175
|
-
* @type {string}
|
|
176
|
-
* @memberof Image
|
|
177
83
|
*/
|
|
178
84
|
'id'?: string;
|
|
179
|
-
/**
|
|
180
|
-
*
|
|
181
|
-
* @type {string}
|
|
182
|
-
* @memberof Image
|
|
183
|
-
*/
|
|
184
85
|
'src': string;
|
|
185
|
-
/**
|
|
186
|
-
*
|
|
187
|
-
* @type {string}
|
|
188
|
-
* @memberof Image
|
|
189
|
-
*/
|
|
190
86
|
'alt'?: string;
|
|
191
87
|
/**
|
|
192
88
|
* List of variant Ids
|
|
193
|
-
* @type {Array<string>}
|
|
194
|
-
* @memberof Image
|
|
195
89
|
*/
|
|
196
90
|
'variantIds'?: Array<string>;
|
|
197
|
-
/**
|
|
198
|
-
*
|
|
199
|
-
* @type {number}
|
|
200
|
-
* @memberof Image
|
|
201
|
-
*/
|
|
202
91
|
'sortOrder'?: number;
|
|
203
|
-
/**
|
|
204
|
-
*
|
|
205
|
-
* @type {string}
|
|
206
|
-
* @memberof Image
|
|
207
|
-
*/
|
|
208
92
|
'createdAt'?: string;
|
|
209
|
-
/**
|
|
210
|
-
*
|
|
211
|
-
* @type {string}
|
|
212
|
-
* @memberof Image
|
|
213
|
-
*/
|
|
214
93
|
'updatedAt'?: string;
|
|
215
94
|
}
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
* @export
|
|
219
|
-
* @interface InlineObject
|
|
220
|
-
*/
|
|
221
|
-
export interface InlineObject {
|
|
222
|
-
/**
|
|
223
|
-
*
|
|
224
|
-
* @type {Array<Statement>}
|
|
225
|
-
* @memberof InlineObject
|
|
226
|
-
*/
|
|
227
|
-
'statements'?: Array<Statement>;
|
|
228
|
-
/**
|
|
229
|
-
*
|
|
230
|
-
* @type {number}
|
|
231
|
-
* @memberof InlineObject
|
|
232
|
-
*/
|
|
95
|
+
export interface ListFulfillments200Response {
|
|
96
|
+
'fulfillments'?: Array<Fulfillment>;
|
|
233
97
|
'nextPageToken'?: number | null;
|
|
234
98
|
}
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
* @export
|
|
238
|
-
* @interface InlineObject1
|
|
239
|
-
*/
|
|
240
|
-
export interface InlineObject1 {
|
|
241
|
-
/**
|
|
242
|
-
*
|
|
243
|
-
* @type {Array<Transaction>}
|
|
244
|
-
* @memberof InlineObject1
|
|
245
|
-
*/
|
|
246
|
-
'transactions'?: Array<Transaction>;
|
|
247
|
-
/**
|
|
248
|
-
*
|
|
249
|
-
* @type {number}
|
|
250
|
-
* @memberof InlineObject1
|
|
251
|
-
*/
|
|
99
|
+
export interface ListStatements200Response {
|
|
100
|
+
'statements'?: Array<Statement>;
|
|
252
101
|
'nextPageToken'?: number | null;
|
|
253
102
|
}
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
* @export
|
|
257
|
-
* @interface InlineObject2
|
|
258
|
-
*/
|
|
259
|
-
export interface InlineObject2 {
|
|
260
|
-
/**
|
|
261
|
-
*
|
|
262
|
-
* @type {Array<Fulfillment>}
|
|
263
|
-
* @memberof InlineObject2
|
|
264
|
-
*/
|
|
265
|
-
'fulfillments'?: Array<Fulfillment>;
|
|
266
|
-
/**
|
|
267
|
-
*
|
|
268
|
-
* @type {number}
|
|
269
|
-
* @memberof InlineObject2
|
|
270
|
-
*/
|
|
103
|
+
export interface ListTransactions200Response {
|
|
104
|
+
'transactions'?: Array<Transaction>;
|
|
271
105
|
'nextPageToken'?: number | null;
|
|
272
106
|
}
|
|
273
|
-
/**
|
|
274
|
-
*
|
|
275
|
-
* @export
|
|
276
|
-
* @interface Location
|
|
277
|
-
*/
|
|
278
107
|
export interface Location {
|
|
279
108
|
/**
|
|
280
109
|
* The total number of units available at the location
|
|
281
|
-
* @type {number}
|
|
282
|
-
* @memberof Location
|
|
283
110
|
*/
|
|
284
111
|
'level': number;
|
|
285
112
|
/**
|
|
286
113
|
* ISO alpha-2 country code
|
|
287
|
-
* @type {string}
|
|
288
|
-
* @memberof Location
|
|
289
114
|
*/
|
|
290
115
|
'country': string;
|
|
291
116
|
}
|
|
292
|
-
/**
|
|
293
|
-
*
|
|
294
|
-
* @export
|
|
295
|
-
* @interface Product
|
|
296
|
-
*/
|
|
297
117
|
export interface Product {
|
|
298
118
|
/**
|
|
299
119
|
* Unique object identifier
|
|
300
|
-
* @type {string}
|
|
301
|
-
* @memberof Product
|
|
302
120
|
*/
|
|
303
121
|
'id': string;
|
|
304
122
|
/**
|
|
305
123
|
* A reference to the resource location
|
|
306
|
-
* @type {string}
|
|
307
|
-
* @memberof Product
|
|
308
124
|
*/
|
|
309
125
|
'ref'?: string;
|
|
310
|
-
/**
|
|
311
|
-
*
|
|
312
|
-
* @type {string}
|
|
313
|
-
* @memberof Product
|
|
314
|
-
*/
|
|
315
126
|
'title': string;
|
|
316
|
-
/**
|
|
317
|
-
*
|
|
318
|
-
* @type {string}
|
|
319
|
-
* @memberof Product
|
|
320
|
-
*/
|
|
321
127
|
'styleCode'?: string;
|
|
322
|
-
/**
|
|
323
|
-
*
|
|
324
|
-
* @type {string}
|
|
325
|
-
* @memberof Product
|
|
326
|
-
*/
|
|
327
128
|
'material'?: string;
|
|
328
|
-
/**
|
|
329
|
-
*
|
|
330
|
-
* @type {string}
|
|
331
|
-
* @memberof Product
|
|
332
|
-
*/
|
|
333
129
|
'description'?: string;
|
|
334
|
-
/**
|
|
335
|
-
*
|
|
336
|
-
* @type {string}
|
|
337
|
-
* @memberof Product
|
|
338
|
-
*/
|
|
339
130
|
'specifications'?: string;
|
|
340
131
|
/**
|
|
341
132
|
* Attributes associated to a product such as Colour and Size.
|
|
342
|
-
* @type {Array<ProductAttribute>}
|
|
343
|
-
* @memberof Product
|
|
344
133
|
*/
|
|
345
134
|
'attributes': Array<ProductAttribute>;
|
|
346
135
|
/**
|
|
347
136
|
* Images attached to the product. For example, photos of models using/wearing the product. This property currently does not include images linked to specific variants.
|
|
348
|
-
* @type {Array<ProductImagesInner>}
|
|
349
|
-
* @memberof Product
|
|
350
137
|
*/
|
|
351
138
|
'images'?: Array<ProductImagesInner>;
|
|
352
139
|
/**
|
|
353
140
|
* Variants
|
|
354
|
-
* @type {Array<ProductVariantsInner>}
|
|
355
|
-
* @memberof Product
|
|
356
141
|
*/
|
|
357
142
|
'variants': Array<ProductVariantsInner>;
|
|
358
|
-
/**
|
|
359
|
-
*
|
|
360
|
-
* @type {ProductBrand}
|
|
361
|
-
* @memberof Product
|
|
362
|
-
*/
|
|
363
143
|
'brand'?: ProductBrand;
|
|
364
144
|
}
|
|
365
|
-
/**
|
|
366
|
-
*
|
|
367
|
-
* @export
|
|
368
|
-
* @interface ProductAttribute
|
|
369
|
-
*/
|
|
370
145
|
export interface ProductAttribute {
|
|
371
146
|
/**
|
|
372
147
|
* Attribute name
|
|
373
|
-
* @type {string}
|
|
374
|
-
* @memberof ProductAttribute
|
|
375
148
|
*/
|
|
376
149
|
'name': string;
|
|
377
150
|
/**
|
|
378
151
|
* Position of the attribute when ordered
|
|
379
|
-
* @type {number}
|
|
380
|
-
* @memberof ProductAttribute
|
|
381
152
|
*/
|
|
382
153
|
'sortOrder': number;
|
|
383
154
|
/**
|
|
384
155
|
* Attribute values
|
|
385
|
-
* @type {Array<ProductAttributeValuesInner>}
|
|
386
|
-
* @memberof ProductAttribute
|
|
387
156
|
*/
|
|
388
157
|
'values': Array<ProductAttributeValuesInner>;
|
|
389
158
|
}
|
|
390
|
-
/**
|
|
391
|
-
*
|
|
392
|
-
* @export
|
|
393
|
-
* @interface ProductAttributeValuesInner
|
|
394
|
-
*/
|
|
395
159
|
export interface ProductAttributeValuesInner {
|
|
396
160
|
/**
|
|
397
161
|
* Position of the attribute value when ordered
|
|
398
|
-
* @type {number}
|
|
399
|
-
* @memberof ProductAttributeValuesInner
|
|
400
162
|
*/
|
|
401
163
|
'sortOrder': number;
|
|
402
164
|
/**
|
|
403
165
|
* Value of the attribute
|
|
404
|
-
* @type {string}
|
|
405
|
-
* @memberof ProductAttributeValuesInner
|
|
406
166
|
*/
|
|
407
167
|
'value': string;
|
|
408
168
|
}
|
|
409
|
-
/**
|
|
410
|
-
*
|
|
411
|
-
* @export
|
|
412
|
-
* @interface ProductBrand
|
|
413
|
-
*/
|
|
414
169
|
export interface ProductBrand {
|
|
415
170
|
/**
|
|
416
171
|
* the name of the brand that manufactures/supplies the product
|
|
417
|
-
* @type {string}
|
|
418
|
-
* @memberof ProductBrand
|
|
419
172
|
*/
|
|
420
173
|
'name': string;
|
|
421
174
|
/**
|
|
422
175
|
* a URL to the brand\'s logo
|
|
423
|
-
* @type {string}
|
|
424
|
-
* @memberof ProductBrand
|
|
425
176
|
*/
|
|
426
177
|
'logo'?: string;
|
|
427
178
|
}
|
|
428
|
-
/**
|
|
429
|
-
*
|
|
430
|
-
* @export
|
|
431
|
-
* @interface ProductImagesInner
|
|
432
|
-
*/
|
|
433
179
|
export interface ProductImagesInner {
|
|
434
180
|
/**
|
|
435
181
|
* Unique object identifier
|
|
436
|
-
* @type {string}
|
|
437
|
-
* @memberof ProductImagesInner
|
|
438
182
|
*/
|
|
439
183
|
'id': string;
|
|
440
|
-
/**
|
|
441
|
-
*
|
|
442
|
-
* @type {string}
|
|
443
|
-
* @memberof ProductImagesInner
|
|
444
|
-
*/
|
|
445
184
|
'src': string;
|
|
446
|
-
/**
|
|
447
|
-
*
|
|
448
|
-
* @type {string}
|
|
449
|
-
* @memberof ProductImagesInner
|
|
450
|
-
*/
|
|
451
185
|
'alt'?: string;
|
|
452
|
-
/**
|
|
453
|
-
*
|
|
454
|
-
* @type {number}
|
|
455
|
-
* @memberof ProductImagesInner
|
|
456
|
-
*/
|
|
457
186
|
'sortOrder'?: number;
|
|
458
187
|
}
|
|
459
|
-
/**
|
|
460
|
-
*
|
|
461
|
-
* @export
|
|
462
|
-
* @interface ProductVariantsInner
|
|
463
|
-
*/
|
|
464
188
|
export interface ProductVariantsInner {
|
|
465
189
|
/**
|
|
466
190
|
* Unique object identifier
|
|
467
|
-
* @type {string}
|
|
468
|
-
* @memberof ProductVariantsInner
|
|
469
191
|
*/
|
|
470
192
|
'id': string;
|
|
471
193
|
/**
|
|
472
194
|
* A reference to the resource location
|
|
473
|
-
* @type {string}
|
|
474
|
-
* @memberof ProductVariantsInner
|
|
475
195
|
*/
|
|
476
196
|
'ref'?: string;
|
|
477
197
|
}
|
|
478
|
-
/**
|
|
479
|
-
*
|
|
480
|
-
* @export
|
|
481
|
-
* @interface ProductsResponse
|
|
482
|
-
*/
|
|
483
198
|
export interface ProductsResponse {
|
|
484
|
-
/**
|
|
485
|
-
*
|
|
486
|
-
* @type {Array<Product>}
|
|
487
|
-
* @memberof ProductsResponse
|
|
488
|
-
*/
|
|
489
199
|
'products'?: Array<Product>;
|
|
490
|
-
/**
|
|
491
|
-
*
|
|
492
|
-
* @type {number}
|
|
493
|
-
* @memberof ProductsResponse
|
|
494
|
-
*/
|
|
495
200
|
'nextPageToken'?: number | null;
|
|
496
201
|
}
|
|
497
|
-
/**
|
|
498
|
-
*
|
|
499
|
-
* @export
|
|
500
|
-
* @interface Statement
|
|
501
|
-
*/
|
|
502
202
|
export interface Statement {
|
|
503
203
|
/**
|
|
504
204
|
* Unique object identifier
|
|
505
|
-
* @type {string}
|
|
506
|
-
* @memberof Statement
|
|
507
205
|
*/
|
|
508
206
|
'id': string;
|
|
509
207
|
/**
|
|
510
208
|
* A reference to the resource location
|
|
511
|
-
* @type {string}
|
|
512
|
-
* @memberof Statement
|
|
513
209
|
*/
|
|
514
210
|
'ref': string;
|
|
515
|
-
/**
|
|
516
|
-
*
|
|
517
|
-
* @type {number}
|
|
518
|
-
* @memberof Statement
|
|
519
|
-
*/
|
|
520
211
|
'total': number;
|
|
521
|
-
/**
|
|
522
|
-
*
|
|
523
|
-
* @type {string}
|
|
524
|
-
* @memberof Statement
|
|
525
|
-
*/
|
|
526
212
|
'startDate': string;
|
|
527
|
-
/**
|
|
528
|
-
*
|
|
529
|
-
* @type {string}
|
|
530
|
-
* @memberof Statement
|
|
531
|
-
*/
|
|
532
213
|
'endDate': string;
|
|
533
|
-
/**
|
|
534
|
-
*
|
|
535
|
-
* @type {string}
|
|
536
|
-
* @memberof Statement
|
|
537
|
-
*/
|
|
538
214
|
'createdAt': string;
|
|
539
|
-
/**
|
|
540
|
-
*
|
|
541
|
-
* @type {number}
|
|
542
|
-
* @memberof Statement
|
|
543
|
-
*/
|
|
544
215
|
'fulfillmentCount': number;
|
|
545
|
-
/**
|
|
546
|
-
*
|
|
547
|
-
* @type {string}
|
|
548
|
-
* @memberof Statement
|
|
549
|
-
*/
|
|
550
216
|
'issuedAt'?: string;
|
|
551
217
|
}
|
|
552
|
-
/**
|
|
553
|
-
*
|
|
554
|
-
* @export
|
|
555
|
-
* @interface Stock
|
|
556
|
-
*/
|
|
557
218
|
export interface Stock {
|
|
558
219
|
/**
|
|
559
220
|
* Current stock level
|
|
560
|
-
* @type {number}
|
|
561
|
-
* @memberof Stock
|
|
562
221
|
*/
|
|
563
222
|
'level'?: number;
|
|
564
|
-
/**
|
|
565
|
-
*
|
|
566
|
-
* @type {Array<Location>}
|
|
567
|
-
* @memberof Stock
|
|
568
|
-
*/
|
|
569
223
|
'locations'?: Array<Location>;
|
|
570
224
|
}
|
|
571
|
-
/**
|
|
572
|
-
*
|
|
573
|
-
* @export
|
|
574
|
-
* @interface StockResponse
|
|
575
|
-
*/
|
|
576
225
|
export interface StockResponse {
|
|
577
|
-
/**
|
|
578
|
-
*
|
|
579
|
-
* @type {Array<VariantStock>}
|
|
580
|
-
* @memberof StockResponse
|
|
581
|
-
*/
|
|
582
226
|
'variants'?: Array<VariantStock>;
|
|
583
|
-
/**
|
|
584
|
-
*
|
|
585
|
-
* @type {number}
|
|
586
|
-
* @memberof StockResponse
|
|
587
|
-
*/
|
|
588
227
|
'nextPageToken'?: number | null;
|
|
589
228
|
}
|
|
590
|
-
/**
|
|
591
|
-
*
|
|
592
|
-
* @export
|
|
593
|
-
* @interface Transaction
|
|
594
|
-
*/
|
|
595
229
|
export interface Transaction {
|
|
596
230
|
/**
|
|
597
231
|
* Unique object identifier
|
|
598
|
-
* @type {string}
|
|
599
|
-
* @memberof Transaction
|
|
600
232
|
*/
|
|
601
233
|
'id': string;
|
|
602
234
|
/**
|
|
603
235
|
* A reference to the resource location
|
|
604
|
-
* @type {string}
|
|
605
|
-
* @memberof Transaction
|
|
606
236
|
*/
|
|
607
237
|
'ref': string;
|
|
608
238
|
/**
|
|
609
239
|
* A reference to the resource location
|
|
610
|
-
* @type {string}
|
|
611
|
-
* @memberof Transaction
|
|
612
240
|
*/
|
|
613
241
|
'statement'?: string | null;
|
|
614
|
-
/**
|
|
615
|
-
*
|
|
616
|
-
* @type {number}
|
|
617
|
-
* @memberof Transaction
|
|
618
|
-
*/
|
|
619
242
|
'cost'?: number;
|
|
620
|
-
/**
|
|
621
|
-
*
|
|
622
|
-
* @type {string}
|
|
623
|
-
* @memberof Transaction
|
|
624
|
-
*/
|
|
625
243
|
'type'?: TransactionTypeEnum;
|
|
626
|
-
/**
|
|
627
|
-
*
|
|
628
|
-
* @type {boolean}
|
|
629
|
-
* @memberof Transaction
|
|
630
|
-
*/
|
|
631
244
|
'taxable'?: boolean;
|
|
632
|
-
/**
|
|
633
|
-
*
|
|
634
|
-
* @type {string}
|
|
635
|
-
* @memberof Transaction
|
|
636
|
-
*/
|
|
637
245
|
'createdAt': string;
|
|
638
|
-
/**
|
|
639
|
-
*
|
|
640
|
-
* @type {number}
|
|
641
|
-
* @memberof Transaction
|
|
642
|
-
*/
|
|
643
246
|
'fulfillmentId'?: number;
|
|
644
|
-
/**
|
|
645
|
-
*
|
|
646
|
-
* @type {number}
|
|
647
|
-
* @memberof Transaction
|
|
648
|
-
*/
|
|
649
247
|
'orderId'?: number;
|
|
650
|
-
/**
|
|
651
|
-
*
|
|
652
|
-
* @type {string}
|
|
653
|
-
* @memberof Transaction
|
|
654
|
-
*/
|
|
655
248
|
'description'?: string;
|
|
656
249
|
}
|
|
657
250
|
|
|
@@ -663,153 +256,73 @@ export const TransactionTypeEnum = {
|
|
|
663
256
|
|
|
664
257
|
export type TransactionTypeEnum = typeof TransactionTypeEnum[keyof typeof TransactionTypeEnum];
|
|
665
258
|
|
|
666
|
-
/**
|
|
667
|
-
*
|
|
668
|
-
* @export
|
|
669
|
-
* @interface Variant
|
|
670
|
-
*/
|
|
671
259
|
export interface Variant {
|
|
672
260
|
/**
|
|
673
261
|
* Unique object identifier
|
|
674
|
-
* @type {string}
|
|
675
|
-
* @memberof Variant
|
|
676
262
|
*/
|
|
677
263
|
'id'?: string;
|
|
678
264
|
/**
|
|
679
265
|
* A reference to the resource location
|
|
680
|
-
* @type {string}
|
|
681
|
-
* @memberof Variant
|
|
682
266
|
*/
|
|
683
267
|
'ref'?: string;
|
|
684
|
-
/**
|
|
685
|
-
*
|
|
686
|
-
* @type {VariantProduct}
|
|
687
|
-
* @memberof Variant
|
|
688
|
-
*/
|
|
689
268
|
'product'?: VariantProduct;
|
|
690
|
-
/**
|
|
691
|
-
*
|
|
692
|
-
* @type {string}
|
|
693
|
-
* @memberof Variant
|
|
694
|
-
*/
|
|
695
269
|
'sku': string;
|
|
696
270
|
/**
|
|
697
271
|
* Attributes associated to a variant such as Colour and Size. An attribute can have thumbnail type of `text`, `color`, or `image`. Attribute tags are intended for grouping and filtering, e.g. by a group of colours.
|
|
698
|
-
* @type {Array<Attribute>}
|
|
699
|
-
* @memberof Variant
|
|
700
272
|
*/
|
|
701
273
|
'attributes': Array<Attribute>;
|
|
702
|
-
/**
|
|
703
|
-
*
|
|
704
|
-
* @type {VariantManufacturerOrigin}
|
|
705
|
-
* @memberof Variant
|
|
706
|
-
*/
|
|
707
274
|
'manufacturerOrigin'?: VariantManufacturerOrigin;
|
|
708
|
-
/**
|
|
709
|
-
*
|
|
710
|
-
* @type {Stock}
|
|
711
|
-
* @memberof Variant
|
|
712
|
-
*/
|
|
713
275
|
'stock'?: Stock;
|
|
714
276
|
/**
|
|
715
277
|
* Images
|
|
716
|
-
* @type {Array<Image>}
|
|
717
|
-
* @memberof Variant
|
|
718
278
|
*/
|
|
719
279
|
'images'?: Array<Image>;
|
|
720
280
|
}
|
|
721
281
|
/**
|
|
722
282
|
* Where the product was originally produced or manufactured
|
|
723
|
-
* @export
|
|
724
|
-
* @interface VariantManufacturerOrigin
|
|
725
283
|
*/
|
|
726
284
|
export interface VariantManufacturerOrigin {
|
|
727
285
|
/**
|
|
728
286
|
* Country of origin (ISO 3166-1 alpha-2).
|
|
729
|
-
* @type {string}
|
|
730
|
-
* @memberof VariantManufacturerOrigin
|
|
731
287
|
*/
|
|
732
288
|
'country'?: string;
|
|
733
289
|
/**
|
|
734
290
|
* Name of the country of origin
|
|
735
|
-
* @type {string}
|
|
736
|
-
* @memberof VariantManufacturerOrigin
|
|
737
291
|
*/
|
|
738
292
|
'name'?: string;
|
|
739
293
|
}
|
|
740
|
-
/**
|
|
741
|
-
*
|
|
742
|
-
* @export
|
|
743
|
-
* @interface VariantProduct
|
|
744
|
-
*/
|
|
745
294
|
export interface VariantProduct {
|
|
746
295
|
/**
|
|
747
296
|
* Unique object identifier
|
|
748
|
-
* @type {string}
|
|
749
|
-
* @memberof VariantProduct
|
|
750
297
|
*/
|
|
751
298
|
'id'?: string;
|
|
752
299
|
/**
|
|
753
300
|
* A reference to the resource location
|
|
754
|
-
* @type {string}
|
|
755
|
-
* @memberof VariantProduct
|
|
756
301
|
*/
|
|
757
302
|
'ref'?: string;
|
|
758
303
|
}
|
|
759
|
-
/**
|
|
760
|
-
*
|
|
761
|
-
* @export
|
|
762
|
-
* @interface VariantStock
|
|
763
|
-
*/
|
|
764
304
|
export interface VariantStock {
|
|
765
305
|
/**
|
|
766
306
|
* Unique object identifier
|
|
767
|
-
* @type {string}
|
|
768
|
-
* @memberof VariantStock
|
|
769
307
|
*/
|
|
770
308
|
'id'?: string;
|
|
771
309
|
/**
|
|
772
310
|
* A reference to the resource location
|
|
773
|
-
* @type {string}
|
|
774
|
-
* @memberof VariantStock
|
|
775
311
|
*/
|
|
776
312
|
'ref'?: string;
|
|
777
313
|
/**
|
|
778
314
|
* A reference to the resource location
|
|
779
|
-
* @type {string}
|
|
780
|
-
* @memberof VariantStock
|
|
781
315
|
*/
|
|
782
316
|
'productRef'?: string;
|
|
783
|
-
/**
|
|
784
|
-
*
|
|
785
|
-
* @type {Stock}
|
|
786
|
-
* @memberof VariantStock
|
|
787
|
-
*/
|
|
788
317
|
'stock'?: Stock;
|
|
789
318
|
}
|
|
790
|
-
/**
|
|
791
|
-
*
|
|
792
|
-
* @export
|
|
793
|
-
* @interface VariantsResponse
|
|
794
|
-
*/
|
|
795
319
|
export interface VariantsResponse {
|
|
796
|
-
/**
|
|
797
|
-
*
|
|
798
|
-
* @type {Array<Variant>}
|
|
799
|
-
* @memberof VariantsResponse
|
|
800
|
-
*/
|
|
801
320
|
'variants'?: Array<Variant>;
|
|
802
|
-
/**
|
|
803
|
-
*
|
|
804
|
-
* @type {number}
|
|
805
|
-
* @memberof VariantsResponse
|
|
806
|
-
*/
|
|
807
321
|
'nextPageToken'?: number | null;
|
|
808
322
|
}
|
|
809
323
|
|
|
810
324
|
/**
|
|
811
325
|
* ProductsApi - axios parameter creator
|
|
812
|
-
* @export
|
|
813
326
|
*/
|
|
814
327
|
export const ProductsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
815
328
|
return {
|
|
@@ -935,7 +448,6 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
935
448
|
|
|
936
449
|
/**
|
|
937
450
|
* ProductsApi - functional programming interface
|
|
938
|
-
* @export
|
|
939
451
|
*/
|
|
940
452
|
export const ProductsApiFp = function(configuration?: Configuration) {
|
|
941
453
|
const localVarAxiosParamCreator = ProductsApiAxiosParamCreator(configuration)
|
|
@@ -977,7 +489,6 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
977
489
|
|
|
978
490
|
/**
|
|
979
491
|
* ProductsApi - factory interface
|
|
980
|
-
* @export
|
|
981
492
|
*/
|
|
982
493
|
export const ProductsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
983
494
|
const localVarFp = ProductsApiFp(configuration)
|
|
@@ -1007,79 +518,53 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
1007
518
|
|
|
1008
519
|
/**
|
|
1009
520
|
* Request parameters for getProduct operation in ProductsApi.
|
|
1010
|
-
* @export
|
|
1011
|
-
* @interface ProductsApiGetProductRequest
|
|
1012
521
|
*/
|
|
1013
522
|
export interface ProductsApiGetProductRequest {
|
|
1014
523
|
/**
|
|
1015
524
|
* What project it is
|
|
1016
|
-
* @type {string}
|
|
1017
|
-
* @memberof ProductsApiGetProduct
|
|
1018
525
|
*/
|
|
1019
526
|
readonly project: string
|
|
1020
527
|
|
|
1021
|
-
/**
|
|
1022
|
-
*
|
|
1023
|
-
* @type {string}
|
|
1024
|
-
* @memberof ProductsApiGetProduct
|
|
1025
|
-
*/
|
|
1026
528
|
readonly productId: string
|
|
1027
529
|
|
|
1028
530
|
/**
|
|
1029
531
|
* Filter response fields to only include a subset of the resource.
|
|
1030
|
-
* @type {string}
|
|
1031
|
-
* @memberof ProductsApiGetProduct
|
|
1032
532
|
*/
|
|
1033
533
|
readonly fields?: string
|
|
1034
534
|
}
|
|
1035
535
|
|
|
1036
536
|
/**
|
|
1037
537
|
* Request parameters for listProducts operation in ProductsApi.
|
|
1038
|
-
* @export
|
|
1039
|
-
* @interface ProductsApiListProductsRequest
|
|
1040
538
|
*/
|
|
1041
539
|
export interface ProductsApiListProductsRequest {
|
|
1042
540
|
/**
|
|
1043
541
|
* What project it is
|
|
1044
|
-
* @type {string}
|
|
1045
|
-
* @memberof ProductsApiListProducts
|
|
1046
542
|
*/
|
|
1047
543
|
readonly project: string
|
|
1048
544
|
|
|
1049
545
|
/**
|
|
1050
546
|
* Page reference token
|
|
1051
|
-
* @type {number}
|
|
1052
|
-
* @memberof ProductsApiListProducts
|
|
1053
547
|
*/
|
|
1054
548
|
readonly pageToken?: number
|
|
1055
549
|
|
|
1056
550
|
/**
|
|
1057
551
|
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1058
|
-
* @type {number}
|
|
1059
|
-
* @memberof ProductsApiListProducts
|
|
1060
552
|
*/
|
|
1061
553
|
readonly pageSize?: number
|
|
1062
554
|
|
|
1063
555
|
/**
|
|
1064
556
|
* Filter response fields to only include a subset of the resource.
|
|
1065
|
-
* @type {string}
|
|
1066
|
-
* @memberof ProductsApiListProducts
|
|
1067
557
|
*/
|
|
1068
558
|
readonly fields?: string
|
|
1069
559
|
|
|
1070
560
|
/**
|
|
1071
561
|
* Search terms to filter based on.
|
|
1072
|
-
* @type {string}
|
|
1073
|
-
* @memberof ProductsApiListProducts
|
|
1074
562
|
*/
|
|
1075
563
|
readonly search?: string
|
|
1076
564
|
}
|
|
1077
565
|
|
|
1078
566
|
/**
|
|
1079
567
|
* ProductsApi - object-oriented interface
|
|
1080
|
-
* @export
|
|
1081
|
-
* @class ProductsApi
|
|
1082
|
-
* @extends {BaseAPI}
|
|
1083
568
|
*/
|
|
1084
569
|
export class ProductsApi extends BaseAPI {
|
|
1085
570
|
/**
|
|
@@ -1088,7 +573,6 @@ export class ProductsApi extends BaseAPI {
|
|
|
1088
573
|
* @param {ProductsApiGetProductRequest} requestParameters Request parameters.
|
|
1089
574
|
* @param {*} [options] Override http request option.
|
|
1090
575
|
* @throws {RequiredError}
|
|
1091
|
-
* @memberof ProductsApi
|
|
1092
576
|
*/
|
|
1093
577
|
public getProduct(requestParameters: ProductsApiGetProductRequest, options?: RawAxiosRequestConfig) {
|
|
1094
578
|
return ProductsApiFp(this.configuration).getProduct(requestParameters.project, requestParameters.productId, requestParameters.fields, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1100,7 +584,6 @@ export class ProductsApi extends BaseAPI {
|
|
|
1100
584
|
* @param {ProductsApiListProductsRequest} requestParameters Request parameters.
|
|
1101
585
|
* @param {*} [options] Override http request option.
|
|
1102
586
|
* @throws {RequiredError}
|
|
1103
|
-
* @memberof ProductsApi
|
|
1104
587
|
*/
|
|
1105
588
|
public listProducts(requestParameters: ProductsApiListProductsRequest, options?: RawAxiosRequestConfig) {
|
|
1106
589
|
return ProductsApiFp(this.configuration).listProducts(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.fields, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1111,7 +594,6 @@ export class ProductsApi extends BaseAPI {
|
|
|
1111
594
|
|
|
1112
595
|
/**
|
|
1113
596
|
* StatementsApi - axios parameter creator
|
|
1114
|
-
* @export
|
|
1115
597
|
*/
|
|
1116
598
|
export const StatementsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
1117
599
|
return {
|
|
@@ -1227,7 +709,6 @@ export const StatementsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
1227
709
|
|
|
1228
710
|
/**
|
|
1229
711
|
* StatementsApi - functional programming interface
|
|
1230
|
-
* @export
|
|
1231
712
|
*/
|
|
1232
713
|
export const StatementsApiFp = function(configuration?: Configuration) {
|
|
1233
714
|
const localVarAxiosParamCreator = StatementsApiAxiosParamCreator(configuration)
|
|
@@ -1256,7 +737,7 @@ export const StatementsApiFp = function(configuration?: Configuration) {
|
|
|
1256
737
|
* @param {*} [options] Override http request option.
|
|
1257
738
|
* @throws {RequiredError}
|
|
1258
739
|
*/
|
|
1259
|
-
async listStatements(project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
740
|
+
async listStatements(project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListStatements200Response>> {
|
|
1260
741
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listStatements(project, pageToken, pageSize, search, options);
|
|
1261
742
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1262
743
|
const localVarOperationServerBasePath = operationServerMap['StatementsApi.listStatements']?.[localVarOperationServerIndex]?.url;
|
|
@@ -1267,7 +748,6 @@ export const StatementsApiFp = function(configuration?: Configuration) {
|
|
|
1267
748
|
|
|
1268
749
|
/**
|
|
1269
750
|
* StatementsApi - factory interface
|
|
1270
|
-
* @export
|
|
1271
751
|
*/
|
|
1272
752
|
export const StatementsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
1273
753
|
const localVarFp = StatementsApiFp(configuration)
|
|
@@ -1289,7 +769,7 @@ export const StatementsApiFactory = function (configuration?: Configuration, bas
|
|
|
1289
769
|
* @param {*} [options] Override http request option.
|
|
1290
770
|
* @throws {RequiredError}
|
|
1291
771
|
*/
|
|
1292
|
-
listStatements(requestParameters: StatementsApiListStatementsRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
772
|
+
listStatements(requestParameters: StatementsApiListStatementsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListStatements200Response> {
|
|
1293
773
|
return localVarFp.listStatements(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
1294
774
|
},
|
|
1295
775
|
};
|
|
@@ -1297,65 +777,43 @@ export const StatementsApiFactory = function (configuration?: Configuration, bas
|
|
|
1297
777
|
|
|
1298
778
|
/**
|
|
1299
779
|
* Request parameters for getStatement operation in StatementsApi.
|
|
1300
|
-
* @export
|
|
1301
|
-
* @interface StatementsApiGetStatementRequest
|
|
1302
780
|
*/
|
|
1303
781
|
export interface StatementsApiGetStatementRequest {
|
|
1304
782
|
/**
|
|
1305
783
|
* What project it is
|
|
1306
|
-
* @type {string}
|
|
1307
|
-
* @memberof StatementsApiGetStatement
|
|
1308
784
|
*/
|
|
1309
785
|
readonly project: string
|
|
1310
786
|
|
|
1311
|
-
/**
|
|
1312
|
-
*
|
|
1313
|
-
* @type {string}
|
|
1314
|
-
* @memberof StatementsApiGetStatement
|
|
1315
|
-
*/
|
|
1316
787
|
readonly statementId: string
|
|
1317
788
|
}
|
|
1318
789
|
|
|
1319
790
|
/**
|
|
1320
791
|
* Request parameters for listStatements operation in StatementsApi.
|
|
1321
|
-
* @export
|
|
1322
|
-
* @interface StatementsApiListStatementsRequest
|
|
1323
792
|
*/
|
|
1324
793
|
export interface StatementsApiListStatementsRequest {
|
|
1325
794
|
/**
|
|
1326
795
|
* What project it is
|
|
1327
|
-
* @type {string}
|
|
1328
|
-
* @memberof StatementsApiListStatements
|
|
1329
796
|
*/
|
|
1330
797
|
readonly project: string
|
|
1331
798
|
|
|
1332
799
|
/**
|
|
1333
800
|
* Page reference token
|
|
1334
|
-
* @type {number}
|
|
1335
|
-
* @memberof StatementsApiListStatements
|
|
1336
801
|
*/
|
|
1337
802
|
readonly pageToken?: number
|
|
1338
803
|
|
|
1339
804
|
/**
|
|
1340
805
|
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1341
|
-
* @type {number}
|
|
1342
|
-
* @memberof StatementsApiListStatements
|
|
1343
806
|
*/
|
|
1344
807
|
readonly pageSize?: number
|
|
1345
808
|
|
|
1346
809
|
/**
|
|
1347
810
|
* Search term used to filter results by
|
|
1348
|
-
* @type {string}
|
|
1349
|
-
* @memberof StatementsApiListStatements
|
|
1350
811
|
*/
|
|
1351
812
|
readonly search?: string
|
|
1352
813
|
}
|
|
1353
814
|
|
|
1354
815
|
/**
|
|
1355
816
|
* StatementsApi - object-oriented interface
|
|
1356
|
-
* @export
|
|
1357
|
-
* @class StatementsApi
|
|
1358
|
-
* @extends {BaseAPI}
|
|
1359
817
|
*/
|
|
1360
818
|
export class StatementsApi extends BaseAPI {
|
|
1361
819
|
/**
|
|
@@ -1364,7 +822,6 @@ export class StatementsApi extends BaseAPI {
|
|
|
1364
822
|
* @param {StatementsApiGetStatementRequest} requestParameters Request parameters.
|
|
1365
823
|
* @param {*} [options] Override http request option.
|
|
1366
824
|
* @throws {RequiredError}
|
|
1367
|
-
* @memberof StatementsApi
|
|
1368
825
|
*/
|
|
1369
826
|
public getStatement(requestParameters: StatementsApiGetStatementRequest, options?: RawAxiosRequestConfig) {
|
|
1370
827
|
return StatementsApiFp(this.configuration).getStatement(requestParameters.project, requestParameters.statementId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1376,7 +833,6 @@ export class StatementsApi extends BaseAPI {
|
|
|
1376
833
|
* @param {StatementsApiListStatementsRequest} requestParameters Request parameters.
|
|
1377
834
|
* @param {*} [options] Override http request option.
|
|
1378
835
|
* @throws {RequiredError}
|
|
1379
|
-
* @memberof StatementsApi
|
|
1380
836
|
*/
|
|
1381
837
|
public listStatements(requestParameters: StatementsApiListStatementsRequest, options?: RawAxiosRequestConfig) {
|
|
1382
838
|
return StatementsApiFp(this.configuration).listStatements(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1387,7 +843,6 @@ export class StatementsApi extends BaseAPI {
|
|
|
1387
843
|
|
|
1388
844
|
/**
|
|
1389
845
|
* TransactionsApi - axios parameter creator
|
|
1390
|
-
* @export
|
|
1391
846
|
*/
|
|
1392
847
|
export const TransactionsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
1393
848
|
return {
|
|
@@ -1574,7 +1029,6 @@ export const TransactionsApiAxiosParamCreator = function (configuration?: Config
|
|
|
1574
1029
|
|
|
1575
1030
|
/**
|
|
1576
1031
|
* TransactionsApi - functional programming interface
|
|
1577
|
-
* @export
|
|
1578
1032
|
*/
|
|
1579
1033
|
export const TransactionsApiFp = function(configuration?: Configuration) {
|
|
1580
1034
|
const localVarAxiosParamCreator = TransactionsApiAxiosParamCreator(configuration)
|
|
@@ -1603,7 +1057,7 @@ export const TransactionsApiFp = function(configuration?: Configuration) {
|
|
|
1603
1057
|
* @param {*} [options] Override http request option.
|
|
1604
1058
|
* @throws {RequiredError}
|
|
1605
1059
|
*/
|
|
1606
|
-
async listFulfillments(project: string, pageToken?: number, pageSize?: number, statementId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1060
|
+
async listFulfillments(project: string, pageToken?: number, pageSize?: number, statementId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListFulfillments200Response>> {
|
|
1607
1061
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listFulfillments(project, pageToken, pageSize, statementId, options);
|
|
1608
1062
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1609
1063
|
const localVarOperationServerBasePath = operationServerMap['TransactionsApi.listFulfillments']?.[localVarOperationServerIndex]?.url;
|
|
@@ -1621,7 +1075,7 @@ export const TransactionsApiFp = function(configuration?: Configuration) {
|
|
|
1621
1075
|
* @param {*} [options] Override http request option.
|
|
1622
1076
|
* @throws {RequiredError}
|
|
1623
1077
|
*/
|
|
1624
|
-
async listTransactions(project: string, pageToken?: number, pageSize?: number, statementId?: string, fulfillmentId?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1078
|
+
async listTransactions(project: string, pageToken?: number, pageSize?: number, statementId?: string, fulfillmentId?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTransactions200Response>> {
|
|
1625
1079
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listTransactions(project, pageToken, pageSize, statementId, fulfillmentId, search, options);
|
|
1626
1080
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1627
1081
|
const localVarOperationServerBasePath = operationServerMap['TransactionsApi.listTransactions']?.[localVarOperationServerIndex]?.url;
|
|
@@ -1632,7 +1086,6 @@ export const TransactionsApiFp = function(configuration?: Configuration) {
|
|
|
1632
1086
|
|
|
1633
1087
|
/**
|
|
1634
1088
|
* TransactionsApi - factory interface
|
|
1635
|
-
* @export
|
|
1636
1089
|
*/
|
|
1637
1090
|
export const TransactionsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
1638
1091
|
const localVarFp = TransactionsApiFp(configuration)
|
|
@@ -1654,7 +1107,7 @@ export const TransactionsApiFactory = function (configuration?: Configuration, b
|
|
|
1654
1107
|
* @param {*} [options] Override http request option.
|
|
1655
1108
|
* @throws {RequiredError}
|
|
1656
1109
|
*/
|
|
1657
|
-
listFulfillments(requestParameters: TransactionsApiListFulfillmentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1110
|
+
listFulfillments(requestParameters: TransactionsApiListFulfillmentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListFulfillments200Response> {
|
|
1658
1111
|
return localVarFp.listFulfillments(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.statementId, options).then((request) => request(axios, basePath));
|
|
1659
1112
|
},
|
|
1660
1113
|
/**
|
|
@@ -1664,7 +1117,7 @@ export const TransactionsApiFactory = function (configuration?: Configuration, b
|
|
|
1664
1117
|
* @param {*} [options] Override http request option.
|
|
1665
1118
|
* @throws {RequiredError}
|
|
1666
1119
|
*/
|
|
1667
|
-
listTransactions(requestParameters: TransactionsApiListTransactionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1120
|
+
listTransactions(requestParameters: TransactionsApiListTransactionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListTransactions200Response> {
|
|
1668
1121
|
return localVarFp.listTransactions(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.statementId, requestParameters.fulfillmentId, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
1669
1122
|
},
|
|
1670
1123
|
};
|
|
@@ -1672,114 +1125,72 @@ export const TransactionsApiFactory = function (configuration?: Configuration, b
|
|
|
1672
1125
|
|
|
1673
1126
|
/**
|
|
1674
1127
|
* Request parameters for exportTransactions operation in TransactionsApi.
|
|
1675
|
-
* @export
|
|
1676
|
-
* @interface TransactionsApiExportTransactionsRequest
|
|
1677
1128
|
*/
|
|
1678
1129
|
export interface TransactionsApiExportTransactionsRequest {
|
|
1679
1130
|
/**
|
|
1680
1131
|
* What project it is
|
|
1681
|
-
* @type {string}
|
|
1682
|
-
* @memberof TransactionsApiExportTransactions
|
|
1683
1132
|
*/
|
|
1684
1133
|
readonly project: string
|
|
1685
1134
|
|
|
1686
1135
|
/**
|
|
1687
1136
|
* Period selection data for the export
|
|
1688
|
-
* @type {ExportTransactionsRequest}
|
|
1689
|
-
* @memberof TransactionsApiExportTransactions
|
|
1690
1137
|
*/
|
|
1691
1138
|
readonly exportTransactionsRequest: ExportTransactionsRequest
|
|
1692
1139
|
}
|
|
1693
1140
|
|
|
1694
1141
|
/**
|
|
1695
1142
|
* Request parameters for listFulfillments operation in TransactionsApi.
|
|
1696
|
-
* @export
|
|
1697
|
-
* @interface TransactionsApiListFulfillmentsRequest
|
|
1698
1143
|
*/
|
|
1699
1144
|
export interface TransactionsApiListFulfillmentsRequest {
|
|
1700
1145
|
/**
|
|
1701
1146
|
* What project it is
|
|
1702
|
-
* @type {string}
|
|
1703
|
-
* @memberof TransactionsApiListFulfillments
|
|
1704
1147
|
*/
|
|
1705
1148
|
readonly project: string
|
|
1706
1149
|
|
|
1707
1150
|
/**
|
|
1708
1151
|
* Page reference token
|
|
1709
|
-
* @type {number}
|
|
1710
|
-
* @memberof TransactionsApiListFulfillments
|
|
1711
1152
|
*/
|
|
1712
1153
|
readonly pageToken?: number
|
|
1713
1154
|
|
|
1714
1155
|
/**
|
|
1715
1156
|
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1716
|
-
* @type {number}
|
|
1717
|
-
* @memberof TransactionsApiListFulfillments
|
|
1718
1157
|
*/
|
|
1719
1158
|
readonly pageSize?: number
|
|
1720
1159
|
|
|
1721
|
-
/**
|
|
1722
|
-
*
|
|
1723
|
-
* @type {string}
|
|
1724
|
-
* @memberof TransactionsApiListFulfillments
|
|
1725
|
-
*/
|
|
1726
1160
|
readonly statementId?: string
|
|
1727
1161
|
}
|
|
1728
1162
|
|
|
1729
1163
|
/**
|
|
1730
1164
|
* Request parameters for listTransactions operation in TransactionsApi.
|
|
1731
|
-
* @export
|
|
1732
|
-
* @interface TransactionsApiListTransactionsRequest
|
|
1733
1165
|
*/
|
|
1734
1166
|
export interface TransactionsApiListTransactionsRequest {
|
|
1735
1167
|
/**
|
|
1736
1168
|
* What project it is
|
|
1737
|
-
* @type {string}
|
|
1738
|
-
* @memberof TransactionsApiListTransactions
|
|
1739
1169
|
*/
|
|
1740
1170
|
readonly project: string
|
|
1741
1171
|
|
|
1742
1172
|
/**
|
|
1743
1173
|
* Page reference token
|
|
1744
|
-
* @type {number}
|
|
1745
|
-
* @memberof TransactionsApiListTransactions
|
|
1746
1174
|
*/
|
|
1747
1175
|
readonly pageToken?: number
|
|
1748
1176
|
|
|
1749
1177
|
/**
|
|
1750
1178
|
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1751
|
-
* @type {number}
|
|
1752
|
-
* @memberof TransactionsApiListTransactions
|
|
1753
1179
|
*/
|
|
1754
1180
|
readonly pageSize?: number
|
|
1755
1181
|
|
|
1756
|
-
/**
|
|
1757
|
-
*
|
|
1758
|
-
* @type {string}
|
|
1759
|
-
* @memberof TransactionsApiListTransactions
|
|
1760
|
-
*/
|
|
1761
1182
|
readonly statementId?: string
|
|
1762
1183
|
|
|
1763
|
-
/**
|
|
1764
|
-
*
|
|
1765
|
-
* @type {string}
|
|
1766
|
-
* @memberof TransactionsApiListTransactions
|
|
1767
|
-
*/
|
|
1768
1184
|
readonly fulfillmentId?: string
|
|
1769
1185
|
|
|
1770
1186
|
/**
|
|
1771
1187
|
* Search by fulfillment id
|
|
1772
|
-
* @type {string}
|
|
1773
|
-
* @memberof TransactionsApiListTransactions
|
|
1774
1188
|
*/
|
|
1775
1189
|
readonly search?: string
|
|
1776
1190
|
}
|
|
1777
1191
|
|
|
1778
1192
|
/**
|
|
1779
1193
|
* TransactionsApi - object-oriented interface
|
|
1780
|
-
* @export
|
|
1781
|
-
* @class TransactionsApi
|
|
1782
|
-
* @extends {BaseAPI}
|
|
1783
1194
|
*/
|
|
1784
1195
|
export class TransactionsApi extends BaseAPI {
|
|
1785
1196
|
/**
|
|
@@ -1788,7 +1199,6 @@ export class TransactionsApi extends BaseAPI {
|
|
|
1788
1199
|
* @param {TransactionsApiExportTransactionsRequest} requestParameters Request parameters.
|
|
1789
1200
|
* @param {*} [options] Override http request option.
|
|
1790
1201
|
* @throws {RequiredError}
|
|
1791
|
-
* @memberof TransactionsApi
|
|
1792
1202
|
*/
|
|
1793
1203
|
public exportTransactions(requestParameters: TransactionsApiExportTransactionsRequest, options?: RawAxiosRequestConfig) {
|
|
1794
1204
|
return TransactionsApiFp(this.configuration).exportTransactions(requestParameters.project, requestParameters.exportTransactionsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1800,7 +1210,6 @@ export class TransactionsApi extends BaseAPI {
|
|
|
1800
1210
|
* @param {TransactionsApiListFulfillmentsRequest} requestParameters Request parameters.
|
|
1801
1211
|
* @param {*} [options] Override http request option.
|
|
1802
1212
|
* @throws {RequiredError}
|
|
1803
|
-
* @memberof TransactionsApi
|
|
1804
1213
|
*/
|
|
1805
1214
|
public listFulfillments(requestParameters: TransactionsApiListFulfillmentsRequest, options?: RawAxiosRequestConfig) {
|
|
1806
1215
|
return TransactionsApiFp(this.configuration).listFulfillments(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.statementId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1812,7 +1221,6 @@ export class TransactionsApi extends BaseAPI {
|
|
|
1812
1221
|
* @param {TransactionsApiListTransactionsRequest} requestParameters Request parameters.
|
|
1813
1222
|
* @param {*} [options] Override http request option.
|
|
1814
1223
|
* @throws {RequiredError}
|
|
1815
|
-
* @memberof TransactionsApi
|
|
1816
1224
|
*/
|
|
1817
1225
|
public listTransactions(requestParameters: TransactionsApiListTransactionsRequest, options?: RawAxiosRequestConfig) {
|
|
1818
1226
|
return TransactionsApiFp(this.configuration).listTransactions(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.statementId, requestParameters.fulfillmentId, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1823,7 +1231,6 @@ export class TransactionsApi extends BaseAPI {
|
|
|
1823
1231
|
|
|
1824
1232
|
/**
|
|
1825
1233
|
* VariantsApi - axios parameter creator
|
|
1826
|
-
* @export
|
|
1827
1234
|
*/
|
|
1828
1235
|
export const VariantsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
1829
1236
|
return {
|
|
@@ -2066,7 +1473,6 @@ export const VariantsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
2066
1473
|
|
|
2067
1474
|
/**
|
|
2068
1475
|
* VariantsApi - functional programming interface
|
|
2069
|
-
* @export
|
|
2070
1476
|
*/
|
|
2071
1477
|
export const VariantsApiFp = function(configuration?: Configuration) {
|
|
2072
1478
|
const localVarAxiosParamCreator = VariantsApiAxiosParamCreator(configuration)
|
|
@@ -2140,7 +1546,6 @@ export const VariantsApiFp = function(configuration?: Configuration) {
|
|
|
2140
1546
|
|
|
2141
1547
|
/**
|
|
2142
1548
|
* VariantsApi - factory interface
|
|
2143
|
-
* @export
|
|
2144
1549
|
*/
|
|
2145
1550
|
export const VariantsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
2146
1551
|
const localVarFp = VariantsApiFp(configuration)
|
|
@@ -2190,149 +1595,106 @@ export const VariantsApiFactory = function (configuration?: Configuration, baseP
|
|
|
2190
1595
|
|
|
2191
1596
|
/**
|
|
2192
1597
|
* Request parameters for getStock operation in VariantsApi.
|
|
2193
|
-
* @export
|
|
2194
|
-
* @interface VariantsApiGetStockRequest
|
|
2195
1598
|
*/
|
|
2196
1599
|
export interface VariantsApiGetStockRequest {
|
|
2197
1600
|
/**
|
|
2198
1601
|
* What project it is
|
|
2199
|
-
* @type {string}
|
|
2200
|
-
* @memberof VariantsApiGetStock
|
|
2201
1602
|
*/
|
|
2202
1603
|
readonly project: string
|
|
2203
1604
|
|
|
2204
1605
|
/**
|
|
2205
1606
|
* Variants unique identifier
|
|
2206
|
-
* @type {string}
|
|
2207
|
-
* @memberof VariantsApiGetStock
|
|
2208
1607
|
*/
|
|
2209
1608
|
readonly variantId: string
|
|
2210
1609
|
|
|
2211
1610
|
/**
|
|
2212
1611
|
* Fetch stock levels from specific fulfiller projects
|
|
2213
|
-
* @type {string}
|
|
2214
|
-
* @memberof VariantsApiGetStock
|
|
2215
1612
|
*/
|
|
2216
1613
|
readonly fulfillmentProjects?: string
|
|
2217
1614
|
}
|
|
2218
1615
|
|
|
2219
1616
|
/**
|
|
2220
1617
|
* Request parameters for getVariant operation in VariantsApi.
|
|
2221
|
-
* @export
|
|
2222
|
-
* @interface VariantsApiGetVariantRequest
|
|
2223
1618
|
*/
|
|
2224
1619
|
export interface VariantsApiGetVariantRequest {
|
|
2225
1620
|
/**
|
|
2226
1621
|
* What project it is
|
|
2227
|
-
* @type {string}
|
|
2228
|
-
* @memberof VariantsApiGetVariant
|
|
2229
1622
|
*/
|
|
2230
1623
|
readonly project: string
|
|
2231
1624
|
|
|
2232
1625
|
/**
|
|
2233
1626
|
* Variants unique identifier
|
|
2234
|
-
* @type {string}
|
|
2235
|
-
* @memberof VariantsApiGetVariant
|
|
2236
1627
|
*/
|
|
2237
1628
|
readonly variantId: string
|
|
2238
1629
|
|
|
2239
1630
|
/**
|
|
2240
1631
|
* Filter response fields to only include a subset of the resource.
|
|
2241
|
-
* @type {string}
|
|
2242
|
-
* @memberof VariantsApiGetVariant
|
|
2243
1632
|
*/
|
|
2244
1633
|
readonly fields?: string
|
|
2245
1634
|
}
|
|
2246
1635
|
|
|
2247
1636
|
/**
|
|
2248
1637
|
* Request parameters for listStock operation in VariantsApi.
|
|
2249
|
-
* @export
|
|
2250
|
-
* @interface VariantsApiListStockRequest
|
|
2251
1638
|
*/
|
|
2252
1639
|
export interface VariantsApiListStockRequest {
|
|
2253
1640
|
/**
|
|
2254
1641
|
* What project it is
|
|
2255
|
-
* @type {string}
|
|
2256
|
-
* @memberof VariantsApiListStock
|
|
2257
1642
|
*/
|
|
2258
1643
|
readonly project: string
|
|
2259
1644
|
|
|
2260
1645
|
/**
|
|
2261
1646
|
* Fetch stock levels from specific fulfiller projects
|
|
2262
|
-
* @type {string}
|
|
2263
|
-
* @memberof VariantsApiListStock
|
|
2264
1647
|
*/
|
|
2265
1648
|
readonly fulfillmentProjects?: string
|
|
2266
1649
|
|
|
2267
1650
|
/**
|
|
2268
1651
|
* Page reference token
|
|
2269
|
-
* @type {number}
|
|
2270
|
-
* @memberof VariantsApiListStock
|
|
2271
1652
|
*/
|
|
2272
1653
|
readonly pageToken?: number
|
|
2273
1654
|
|
|
2274
1655
|
/**
|
|
2275
1656
|
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
2276
|
-
* @type {number}
|
|
2277
|
-
* @memberof VariantsApiListStock
|
|
2278
1657
|
*/
|
|
2279
1658
|
readonly pageSize?: number
|
|
2280
1659
|
|
|
2281
1660
|
/**
|
|
2282
1661
|
* Search terms to filter based on.
|
|
2283
|
-
* @type {string}
|
|
2284
|
-
* @memberof VariantsApiListStock
|
|
2285
1662
|
*/
|
|
2286
1663
|
readonly search?: string
|
|
2287
1664
|
}
|
|
2288
1665
|
|
|
2289
1666
|
/**
|
|
2290
1667
|
* Request parameters for listVariants operation in VariantsApi.
|
|
2291
|
-
* @export
|
|
2292
|
-
* @interface VariantsApiListVariantsRequest
|
|
2293
1668
|
*/
|
|
2294
1669
|
export interface VariantsApiListVariantsRequest {
|
|
2295
1670
|
/**
|
|
2296
1671
|
* What project it is
|
|
2297
|
-
* @type {string}
|
|
2298
|
-
* @memberof VariantsApiListVariants
|
|
2299
1672
|
*/
|
|
2300
1673
|
readonly project: string
|
|
2301
1674
|
|
|
2302
1675
|
/**
|
|
2303
1676
|
* Page reference token
|
|
2304
|
-
* @type {number}
|
|
2305
|
-
* @memberof VariantsApiListVariants
|
|
2306
1677
|
*/
|
|
2307
1678
|
readonly pageToken?: number
|
|
2308
1679
|
|
|
2309
1680
|
/**
|
|
2310
1681
|
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
2311
|
-
* @type {number}
|
|
2312
|
-
* @memberof VariantsApiListVariants
|
|
2313
1682
|
*/
|
|
2314
1683
|
readonly pageSize?: number
|
|
2315
1684
|
|
|
2316
1685
|
/**
|
|
2317
1686
|
* Filter response fields to only include a subset of the resource.
|
|
2318
|
-
* @type {string}
|
|
2319
|
-
* @memberof VariantsApiListVariants
|
|
2320
1687
|
*/
|
|
2321
1688
|
readonly fields?: string
|
|
2322
1689
|
|
|
2323
1690
|
/**
|
|
2324
1691
|
* Search terms to filter based on.
|
|
2325
|
-
* @type {string}
|
|
2326
|
-
* @memberof VariantsApiListVariants
|
|
2327
1692
|
*/
|
|
2328
1693
|
readonly search?: string
|
|
2329
1694
|
}
|
|
2330
1695
|
|
|
2331
1696
|
/**
|
|
2332
1697
|
* VariantsApi - object-oriented interface
|
|
2333
|
-
* @export
|
|
2334
|
-
* @class VariantsApi
|
|
2335
|
-
* @extends {BaseAPI}
|
|
2336
1698
|
*/
|
|
2337
1699
|
export class VariantsApi extends BaseAPI {
|
|
2338
1700
|
/**
|
|
@@ -2341,7 +1703,6 @@ export class VariantsApi extends BaseAPI {
|
|
|
2341
1703
|
* @param {VariantsApiGetStockRequest} requestParameters Request parameters.
|
|
2342
1704
|
* @param {*} [options] Override http request option.
|
|
2343
1705
|
* @throws {RequiredError}
|
|
2344
|
-
* @memberof VariantsApi
|
|
2345
1706
|
*/
|
|
2346
1707
|
public getStock(requestParameters: VariantsApiGetStockRequest, options?: RawAxiosRequestConfig) {
|
|
2347
1708
|
return VariantsApiFp(this.configuration).getStock(requestParameters.project, requestParameters.variantId, requestParameters.fulfillmentProjects, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2353,7 +1714,6 @@ export class VariantsApi extends BaseAPI {
|
|
|
2353
1714
|
* @param {VariantsApiGetVariantRequest} requestParameters Request parameters.
|
|
2354
1715
|
* @param {*} [options] Override http request option.
|
|
2355
1716
|
* @throws {RequiredError}
|
|
2356
|
-
* @memberof VariantsApi
|
|
2357
1717
|
*/
|
|
2358
1718
|
public getVariant(requestParameters: VariantsApiGetVariantRequest, options?: RawAxiosRequestConfig) {
|
|
2359
1719
|
return VariantsApiFp(this.configuration).getVariant(requestParameters.project, requestParameters.variantId, requestParameters.fields, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2365,7 +1725,6 @@ export class VariantsApi extends BaseAPI {
|
|
|
2365
1725
|
* @param {VariantsApiListStockRequest} requestParameters Request parameters.
|
|
2366
1726
|
* @param {*} [options] Override http request option.
|
|
2367
1727
|
* @throws {RequiredError}
|
|
2368
|
-
* @memberof VariantsApi
|
|
2369
1728
|
*/
|
|
2370
1729
|
public listStock(requestParameters: VariantsApiListStockRequest, options?: RawAxiosRequestConfig) {
|
|
2371
1730
|
return VariantsApiFp(this.configuration).listStock(requestParameters.project, requestParameters.fulfillmentProjects, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2377,7 +1736,6 @@ export class VariantsApi extends BaseAPI {
|
|
|
2377
1736
|
* @param {VariantsApiListVariantsRequest} requestParameters Request parameters.
|
|
2378
1737
|
* @param {*} [options] Override http request option.
|
|
2379
1738
|
* @throws {RequiredError}
|
|
2380
|
-
* @memberof VariantsApi
|
|
2381
1739
|
*/
|
|
2382
1740
|
public listVariants(requestParameters: VariantsApiListVariantsRequest, options?: RawAxiosRequestConfig) {
|
|
2383
1741
|
return VariantsApiFp(this.configuration).listVariants(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.fields, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|