@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/dist/esm/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* GFN Catalog API
|
|
3
3
|
* 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.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.6.
|
|
5
|
+
* The version of the OpenAPI document: 3.6.3
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,94 +13,36 @@ import type { Configuration } from './configuration';
|
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import type { RequestArgs } from './base';
|
|
15
15
|
import { BaseAPI } from './base';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface ApiError
|
|
20
|
-
*/
|
|
21
16
|
export interface ApiError {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof ApiError
|
|
26
|
-
*/
|
|
27
17
|
'code'?: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof ApiError
|
|
32
|
-
*/
|
|
33
18
|
'message': string;
|
|
34
19
|
}
|
|
35
|
-
/**
|
|
36
|
-
*
|
|
37
|
-
* @export
|
|
38
|
-
* @interface ApiValidationError
|
|
39
|
-
*/
|
|
40
20
|
export interface ApiValidationError {
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @type {string}
|
|
44
|
-
* @memberof ApiValidationError
|
|
45
|
-
*/
|
|
46
21
|
'message': string;
|
|
47
|
-
/**
|
|
48
|
-
*
|
|
49
|
-
* @type {{ [key: string]: Array<string>; }}
|
|
50
|
-
* @memberof ApiValidationError
|
|
51
|
-
*/
|
|
52
22
|
'errors': {
|
|
53
23
|
[key: string]: Array<string>;
|
|
54
24
|
};
|
|
55
25
|
}
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @export
|
|
59
|
-
* @interface Attribute
|
|
60
|
-
*/
|
|
61
26
|
export interface Attribute {
|
|
62
27
|
/**
|
|
63
28
|
* Attribute name
|
|
64
|
-
* @type {string}
|
|
65
|
-
* @memberof Attribute
|
|
66
29
|
*/
|
|
67
30
|
'name': string;
|
|
68
31
|
/**
|
|
69
32
|
* Attribute value
|
|
70
|
-
* @type {string}
|
|
71
|
-
* @memberof Attribute
|
|
72
33
|
*/
|
|
73
34
|
'value': string;
|
|
74
|
-
/**
|
|
75
|
-
*
|
|
76
|
-
* @type {AttributeThumbnail}
|
|
77
|
-
* @memberof Attribute
|
|
78
|
-
*/
|
|
79
35
|
'thumbnail'?: AttributeThumbnail;
|
|
80
36
|
/**
|
|
81
37
|
* Attribute tags
|
|
82
|
-
* @type {Array<string>}
|
|
83
|
-
* @memberof Attribute
|
|
84
38
|
*/
|
|
85
39
|
'tags'?: Array<string>;
|
|
86
40
|
}
|
|
87
41
|
/**
|
|
88
42
|
* Attribute thumbnail
|
|
89
|
-
* @export
|
|
90
|
-
* @interface AttributeThumbnail
|
|
91
43
|
*/
|
|
92
44
|
export interface AttributeThumbnail {
|
|
93
|
-
/**
|
|
94
|
-
*
|
|
95
|
-
* @type {string}
|
|
96
|
-
* @memberof AttributeThumbnail
|
|
97
|
-
*/
|
|
98
45
|
'type'?: AttributeThumbnailTypeEnum;
|
|
99
|
-
/**
|
|
100
|
-
*
|
|
101
|
-
* @type {string}
|
|
102
|
-
* @memberof AttributeThumbnail
|
|
103
|
-
*/
|
|
104
46
|
'value'?: string;
|
|
105
47
|
}
|
|
106
48
|
export declare const AttributeThumbnailTypeEnum: {
|
|
@@ -109,538 +51,189 @@ export declare const AttributeThumbnailTypeEnum: {
|
|
|
109
51
|
readonly Image: "image";
|
|
110
52
|
};
|
|
111
53
|
export type AttributeThumbnailTypeEnum = typeof AttributeThumbnailTypeEnum[keyof typeof AttributeThumbnailTypeEnum];
|
|
112
|
-
/**
|
|
113
|
-
*
|
|
114
|
-
* @export
|
|
115
|
-
* @interface ExportTransactionsRequest
|
|
116
|
-
*/
|
|
117
54
|
export interface ExportTransactionsRequest {
|
|
118
55
|
/**
|
|
119
56
|
* Include only transactions from this statement
|
|
120
|
-
* @type {string}
|
|
121
|
-
* @memberof ExportTransactionsRequest
|
|
122
57
|
*/
|
|
123
58
|
'statement'?: string;
|
|
124
59
|
}
|
|
125
|
-
/**
|
|
126
|
-
*
|
|
127
|
-
* @export
|
|
128
|
-
* @interface Fulfillment
|
|
129
|
-
*/
|
|
130
60
|
export interface Fulfillment {
|
|
131
|
-
/**
|
|
132
|
-
*
|
|
133
|
-
* @type {number}
|
|
134
|
-
* @memberof Fulfillment
|
|
135
|
-
*/
|
|
136
61
|
'id': number;
|
|
137
|
-
/**
|
|
138
|
-
*
|
|
139
|
-
* @type {string}
|
|
140
|
-
* @memberof Fulfillment
|
|
141
|
-
*/
|
|
142
62
|
'merchantRef': string;
|
|
143
|
-
/**
|
|
144
|
-
*
|
|
145
|
-
* @type {number}
|
|
146
|
-
* @memberof Fulfillment
|
|
147
|
-
*/
|
|
148
63
|
'total': number;
|
|
149
|
-
/**
|
|
150
|
-
*
|
|
151
|
-
* @type {string}
|
|
152
|
-
* @memberof Fulfillment
|
|
153
|
-
*/
|
|
154
64
|
'createdAt': string;
|
|
155
65
|
}
|
|
156
66
|
/**
|
|
157
67
|
* Image description
|
|
158
|
-
* @export
|
|
159
|
-
* @interface Image
|
|
160
68
|
*/
|
|
161
69
|
export interface Image {
|
|
162
70
|
/**
|
|
163
71
|
* Unique object identifier
|
|
164
|
-
* @type {string}
|
|
165
|
-
* @memberof Image
|
|
166
72
|
*/
|
|
167
73
|
'id'?: string;
|
|
168
|
-
/**
|
|
169
|
-
*
|
|
170
|
-
* @type {string}
|
|
171
|
-
* @memberof Image
|
|
172
|
-
*/
|
|
173
74
|
'src': string;
|
|
174
|
-
/**
|
|
175
|
-
*
|
|
176
|
-
* @type {string}
|
|
177
|
-
* @memberof Image
|
|
178
|
-
*/
|
|
179
75
|
'alt'?: string;
|
|
180
76
|
/**
|
|
181
77
|
* List of variant Ids
|
|
182
|
-
* @type {Array<string>}
|
|
183
|
-
* @memberof Image
|
|
184
78
|
*/
|
|
185
79
|
'variantIds'?: Array<string>;
|
|
186
|
-
/**
|
|
187
|
-
*
|
|
188
|
-
* @type {number}
|
|
189
|
-
* @memberof Image
|
|
190
|
-
*/
|
|
191
80
|
'sortOrder'?: number;
|
|
192
|
-
/**
|
|
193
|
-
*
|
|
194
|
-
* @type {string}
|
|
195
|
-
* @memberof Image
|
|
196
|
-
*/
|
|
197
81
|
'createdAt'?: string;
|
|
198
|
-
/**
|
|
199
|
-
*
|
|
200
|
-
* @type {string}
|
|
201
|
-
* @memberof Image
|
|
202
|
-
*/
|
|
203
82
|
'updatedAt'?: string;
|
|
204
83
|
}
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
* @export
|
|
208
|
-
* @interface InlineObject
|
|
209
|
-
*/
|
|
210
|
-
export interface InlineObject {
|
|
211
|
-
/**
|
|
212
|
-
*
|
|
213
|
-
* @type {Array<Statement>}
|
|
214
|
-
* @memberof InlineObject
|
|
215
|
-
*/
|
|
216
|
-
'statements'?: Array<Statement>;
|
|
217
|
-
/**
|
|
218
|
-
*
|
|
219
|
-
* @type {number}
|
|
220
|
-
* @memberof InlineObject
|
|
221
|
-
*/
|
|
84
|
+
export interface ListFulfillments200Response {
|
|
85
|
+
'fulfillments'?: Array<Fulfillment>;
|
|
222
86
|
'nextPageToken'?: number | null;
|
|
223
87
|
}
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
* @export
|
|
227
|
-
* @interface InlineObject1
|
|
228
|
-
*/
|
|
229
|
-
export interface InlineObject1 {
|
|
230
|
-
/**
|
|
231
|
-
*
|
|
232
|
-
* @type {Array<Transaction>}
|
|
233
|
-
* @memberof InlineObject1
|
|
234
|
-
*/
|
|
235
|
-
'transactions'?: Array<Transaction>;
|
|
236
|
-
/**
|
|
237
|
-
*
|
|
238
|
-
* @type {number}
|
|
239
|
-
* @memberof InlineObject1
|
|
240
|
-
*/
|
|
88
|
+
export interface ListStatements200Response {
|
|
89
|
+
'statements'?: Array<Statement>;
|
|
241
90
|
'nextPageToken'?: number | null;
|
|
242
91
|
}
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
* @export
|
|
246
|
-
* @interface InlineObject2
|
|
247
|
-
*/
|
|
248
|
-
export interface InlineObject2 {
|
|
249
|
-
/**
|
|
250
|
-
*
|
|
251
|
-
* @type {Array<Fulfillment>}
|
|
252
|
-
* @memberof InlineObject2
|
|
253
|
-
*/
|
|
254
|
-
'fulfillments'?: Array<Fulfillment>;
|
|
255
|
-
/**
|
|
256
|
-
*
|
|
257
|
-
* @type {number}
|
|
258
|
-
* @memberof InlineObject2
|
|
259
|
-
*/
|
|
92
|
+
export interface ListTransactions200Response {
|
|
93
|
+
'transactions'?: Array<Transaction>;
|
|
260
94
|
'nextPageToken'?: number | null;
|
|
261
95
|
}
|
|
262
|
-
/**
|
|
263
|
-
*
|
|
264
|
-
* @export
|
|
265
|
-
* @interface Location
|
|
266
|
-
*/
|
|
267
96
|
export interface Location {
|
|
268
97
|
/**
|
|
269
98
|
* The total number of units available at the location
|
|
270
|
-
* @type {number}
|
|
271
|
-
* @memberof Location
|
|
272
99
|
*/
|
|
273
100
|
'level': number;
|
|
274
101
|
/**
|
|
275
102
|
* ISO alpha-2 country code
|
|
276
|
-
* @type {string}
|
|
277
|
-
* @memberof Location
|
|
278
103
|
*/
|
|
279
104
|
'country': string;
|
|
280
105
|
}
|
|
281
|
-
/**
|
|
282
|
-
*
|
|
283
|
-
* @export
|
|
284
|
-
* @interface Product
|
|
285
|
-
*/
|
|
286
106
|
export interface Product {
|
|
287
107
|
/**
|
|
288
108
|
* Unique object identifier
|
|
289
|
-
* @type {string}
|
|
290
|
-
* @memberof Product
|
|
291
109
|
*/
|
|
292
110
|
'id': string;
|
|
293
111
|
/**
|
|
294
112
|
* A reference to the resource location
|
|
295
|
-
* @type {string}
|
|
296
|
-
* @memberof Product
|
|
297
113
|
*/
|
|
298
114
|
'ref'?: string;
|
|
299
|
-
/**
|
|
300
|
-
*
|
|
301
|
-
* @type {string}
|
|
302
|
-
* @memberof Product
|
|
303
|
-
*/
|
|
304
115
|
'title': string;
|
|
305
|
-
/**
|
|
306
|
-
*
|
|
307
|
-
* @type {string}
|
|
308
|
-
* @memberof Product
|
|
309
|
-
*/
|
|
310
116
|
'styleCode'?: string;
|
|
311
|
-
/**
|
|
312
|
-
*
|
|
313
|
-
* @type {string}
|
|
314
|
-
* @memberof Product
|
|
315
|
-
*/
|
|
316
117
|
'material'?: string;
|
|
317
|
-
/**
|
|
318
|
-
*
|
|
319
|
-
* @type {string}
|
|
320
|
-
* @memberof Product
|
|
321
|
-
*/
|
|
322
118
|
'description'?: string;
|
|
323
|
-
/**
|
|
324
|
-
*
|
|
325
|
-
* @type {string}
|
|
326
|
-
* @memberof Product
|
|
327
|
-
*/
|
|
328
119
|
'specifications'?: string;
|
|
329
120
|
/**
|
|
330
121
|
* Attributes associated to a product such as Colour and Size.
|
|
331
|
-
* @type {Array<ProductAttribute>}
|
|
332
|
-
* @memberof Product
|
|
333
122
|
*/
|
|
334
123
|
'attributes': Array<ProductAttribute>;
|
|
335
124
|
/**
|
|
336
125
|
* 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.
|
|
337
|
-
* @type {Array<ProductImagesInner>}
|
|
338
|
-
* @memberof Product
|
|
339
126
|
*/
|
|
340
127
|
'images'?: Array<ProductImagesInner>;
|
|
341
128
|
/**
|
|
342
129
|
* Variants
|
|
343
|
-
* @type {Array<ProductVariantsInner>}
|
|
344
|
-
* @memberof Product
|
|
345
130
|
*/
|
|
346
131
|
'variants': Array<ProductVariantsInner>;
|
|
347
|
-
/**
|
|
348
|
-
*
|
|
349
|
-
* @type {ProductBrand}
|
|
350
|
-
* @memberof Product
|
|
351
|
-
*/
|
|
352
132
|
'brand'?: ProductBrand;
|
|
353
133
|
}
|
|
354
|
-
/**
|
|
355
|
-
*
|
|
356
|
-
* @export
|
|
357
|
-
* @interface ProductAttribute
|
|
358
|
-
*/
|
|
359
134
|
export interface ProductAttribute {
|
|
360
135
|
/**
|
|
361
136
|
* Attribute name
|
|
362
|
-
* @type {string}
|
|
363
|
-
* @memberof ProductAttribute
|
|
364
137
|
*/
|
|
365
138
|
'name': string;
|
|
366
139
|
/**
|
|
367
140
|
* Position of the attribute when ordered
|
|
368
|
-
* @type {number}
|
|
369
|
-
* @memberof ProductAttribute
|
|
370
141
|
*/
|
|
371
142
|
'sortOrder': number;
|
|
372
143
|
/**
|
|
373
144
|
* Attribute values
|
|
374
|
-
* @type {Array<ProductAttributeValuesInner>}
|
|
375
|
-
* @memberof ProductAttribute
|
|
376
145
|
*/
|
|
377
146
|
'values': Array<ProductAttributeValuesInner>;
|
|
378
147
|
}
|
|
379
|
-
/**
|
|
380
|
-
*
|
|
381
|
-
* @export
|
|
382
|
-
* @interface ProductAttributeValuesInner
|
|
383
|
-
*/
|
|
384
148
|
export interface ProductAttributeValuesInner {
|
|
385
149
|
/**
|
|
386
150
|
* Position of the attribute value when ordered
|
|
387
|
-
* @type {number}
|
|
388
|
-
* @memberof ProductAttributeValuesInner
|
|
389
151
|
*/
|
|
390
152
|
'sortOrder': number;
|
|
391
153
|
/**
|
|
392
154
|
* Value of the attribute
|
|
393
|
-
* @type {string}
|
|
394
|
-
* @memberof ProductAttributeValuesInner
|
|
395
155
|
*/
|
|
396
156
|
'value': string;
|
|
397
157
|
}
|
|
398
|
-
/**
|
|
399
|
-
*
|
|
400
|
-
* @export
|
|
401
|
-
* @interface ProductBrand
|
|
402
|
-
*/
|
|
403
158
|
export interface ProductBrand {
|
|
404
159
|
/**
|
|
405
160
|
* the name of the brand that manufactures/supplies the product
|
|
406
|
-
* @type {string}
|
|
407
|
-
* @memberof ProductBrand
|
|
408
161
|
*/
|
|
409
162
|
'name': string;
|
|
410
163
|
/**
|
|
411
164
|
* a URL to the brand\'s logo
|
|
412
|
-
* @type {string}
|
|
413
|
-
* @memberof ProductBrand
|
|
414
165
|
*/
|
|
415
166
|
'logo'?: string;
|
|
416
167
|
}
|
|
417
|
-
/**
|
|
418
|
-
*
|
|
419
|
-
* @export
|
|
420
|
-
* @interface ProductImagesInner
|
|
421
|
-
*/
|
|
422
168
|
export interface ProductImagesInner {
|
|
423
169
|
/**
|
|
424
170
|
* Unique object identifier
|
|
425
|
-
* @type {string}
|
|
426
|
-
* @memberof ProductImagesInner
|
|
427
171
|
*/
|
|
428
172
|
'id': string;
|
|
429
|
-
/**
|
|
430
|
-
*
|
|
431
|
-
* @type {string}
|
|
432
|
-
* @memberof ProductImagesInner
|
|
433
|
-
*/
|
|
434
173
|
'src': string;
|
|
435
|
-
/**
|
|
436
|
-
*
|
|
437
|
-
* @type {string}
|
|
438
|
-
* @memberof ProductImagesInner
|
|
439
|
-
*/
|
|
440
174
|
'alt'?: string;
|
|
441
|
-
/**
|
|
442
|
-
*
|
|
443
|
-
* @type {number}
|
|
444
|
-
* @memberof ProductImagesInner
|
|
445
|
-
*/
|
|
446
175
|
'sortOrder'?: number;
|
|
447
176
|
}
|
|
448
|
-
/**
|
|
449
|
-
*
|
|
450
|
-
* @export
|
|
451
|
-
* @interface ProductVariantsInner
|
|
452
|
-
*/
|
|
453
177
|
export interface ProductVariantsInner {
|
|
454
178
|
/**
|
|
455
179
|
* Unique object identifier
|
|
456
|
-
* @type {string}
|
|
457
|
-
* @memberof ProductVariantsInner
|
|
458
180
|
*/
|
|
459
181
|
'id': string;
|
|
460
182
|
/**
|
|
461
183
|
* A reference to the resource location
|
|
462
|
-
* @type {string}
|
|
463
|
-
* @memberof ProductVariantsInner
|
|
464
184
|
*/
|
|
465
185
|
'ref'?: string;
|
|
466
186
|
}
|
|
467
|
-
/**
|
|
468
|
-
*
|
|
469
|
-
* @export
|
|
470
|
-
* @interface ProductsResponse
|
|
471
|
-
*/
|
|
472
187
|
export interface ProductsResponse {
|
|
473
|
-
/**
|
|
474
|
-
*
|
|
475
|
-
* @type {Array<Product>}
|
|
476
|
-
* @memberof ProductsResponse
|
|
477
|
-
*/
|
|
478
188
|
'products'?: Array<Product>;
|
|
479
|
-
/**
|
|
480
|
-
*
|
|
481
|
-
* @type {number}
|
|
482
|
-
* @memberof ProductsResponse
|
|
483
|
-
*/
|
|
484
189
|
'nextPageToken'?: number | null;
|
|
485
190
|
}
|
|
486
|
-
/**
|
|
487
|
-
*
|
|
488
|
-
* @export
|
|
489
|
-
* @interface Statement
|
|
490
|
-
*/
|
|
491
191
|
export interface Statement {
|
|
492
192
|
/**
|
|
493
193
|
* Unique object identifier
|
|
494
|
-
* @type {string}
|
|
495
|
-
* @memberof Statement
|
|
496
194
|
*/
|
|
497
195
|
'id': string;
|
|
498
196
|
/**
|
|
499
197
|
* A reference to the resource location
|
|
500
|
-
* @type {string}
|
|
501
|
-
* @memberof Statement
|
|
502
198
|
*/
|
|
503
199
|
'ref': string;
|
|
504
|
-
/**
|
|
505
|
-
*
|
|
506
|
-
* @type {number}
|
|
507
|
-
* @memberof Statement
|
|
508
|
-
*/
|
|
509
200
|
'total': number;
|
|
510
|
-
/**
|
|
511
|
-
*
|
|
512
|
-
* @type {string}
|
|
513
|
-
* @memberof Statement
|
|
514
|
-
*/
|
|
515
201
|
'startDate': string;
|
|
516
|
-
/**
|
|
517
|
-
*
|
|
518
|
-
* @type {string}
|
|
519
|
-
* @memberof Statement
|
|
520
|
-
*/
|
|
521
202
|
'endDate': string;
|
|
522
|
-
/**
|
|
523
|
-
*
|
|
524
|
-
* @type {string}
|
|
525
|
-
* @memberof Statement
|
|
526
|
-
*/
|
|
527
203
|
'createdAt': string;
|
|
528
|
-
/**
|
|
529
|
-
*
|
|
530
|
-
* @type {number}
|
|
531
|
-
* @memberof Statement
|
|
532
|
-
*/
|
|
533
204
|
'fulfillmentCount': number;
|
|
534
|
-
/**
|
|
535
|
-
*
|
|
536
|
-
* @type {string}
|
|
537
|
-
* @memberof Statement
|
|
538
|
-
*/
|
|
539
205
|
'issuedAt'?: string;
|
|
540
206
|
}
|
|
541
|
-
/**
|
|
542
|
-
*
|
|
543
|
-
* @export
|
|
544
|
-
* @interface Stock
|
|
545
|
-
*/
|
|
546
207
|
export interface Stock {
|
|
547
208
|
/**
|
|
548
209
|
* Current stock level
|
|
549
|
-
* @type {number}
|
|
550
|
-
* @memberof Stock
|
|
551
210
|
*/
|
|
552
211
|
'level'?: number;
|
|
553
|
-
/**
|
|
554
|
-
*
|
|
555
|
-
* @type {Array<Location>}
|
|
556
|
-
* @memberof Stock
|
|
557
|
-
*/
|
|
558
212
|
'locations'?: Array<Location>;
|
|
559
213
|
}
|
|
560
|
-
/**
|
|
561
|
-
*
|
|
562
|
-
* @export
|
|
563
|
-
* @interface StockResponse
|
|
564
|
-
*/
|
|
565
214
|
export interface StockResponse {
|
|
566
|
-
/**
|
|
567
|
-
*
|
|
568
|
-
* @type {Array<VariantStock>}
|
|
569
|
-
* @memberof StockResponse
|
|
570
|
-
*/
|
|
571
215
|
'variants'?: Array<VariantStock>;
|
|
572
|
-
/**
|
|
573
|
-
*
|
|
574
|
-
* @type {number}
|
|
575
|
-
* @memberof StockResponse
|
|
576
|
-
*/
|
|
577
216
|
'nextPageToken'?: number | null;
|
|
578
217
|
}
|
|
579
|
-
/**
|
|
580
|
-
*
|
|
581
|
-
* @export
|
|
582
|
-
* @interface Transaction
|
|
583
|
-
*/
|
|
584
218
|
export interface Transaction {
|
|
585
219
|
/**
|
|
586
220
|
* Unique object identifier
|
|
587
|
-
* @type {string}
|
|
588
|
-
* @memberof Transaction
|
|
589
221
|
*/
|
|
590
222
|
'id': string;
|
|
591
223
|
/**
|
|
592
224
|
* A reference to the resource location
|
|
593
|
-
* @type {string}
|
|
594
|
-
* @memberof Transaction
|
|
595
225
|
*/
|
|
596
226
|
'ref': string;
|
|
597
227
|
/**
|
|
598
228
|
* A reference to the resource location
|
|
599
|
-
* @type {string}
|
|
600
|
-
* @memberof Transaction
|
|
601
229
|
*/
|
|
602
230
|
'statement'?: string | null;
|
|
603
|
-
/**
|
|
604
|
-
*
|
|
605
|
-
* @type {number}
|
|
606
|
-
* @memberof Transaction
|
|
607
|
-
*/
|
|
608
231
|
'cost'?: number;
|
|
609
|
-
/**
|
|
610
|
-
*
|
|
611
|
-
* @type {string}
|
|
612
|
-
* @memberof Transaction
|
|
613
|
-
*/
|
|
614
232
|
'type'?: TransactionTypeEnum;
|
|
615
|
-
/**
|
|
616
|
-
*
|
|
617
|
-
* @type {boolean}
|
|
618
|
-
* @memberof Transaction
|
|
619
|
-
*/
|
|
620
233
|
'taxable'?: boolean;
|
|
621
|
-
/**
|
|
622
|
-
*
|
|
623
|
-
* @type {string}
|
|
624
|
-
* @memberof Transaction
|
|
625
|
-
*/
|
|
626
234
|
'createdAt': string;
|
|
627
|
-
/**
|
|
628
|
-
*
|
|
629
|
-
* @type {number}
|
|
630
|
-
* @memberof Transaction
|
|
631
|
-
*/
|
|
632
235
|
'fulfillmentId'?: number;
|
|
633
|
-
/**
|
|
634
|
-
*
|
|
635
|
-
* @type {number}
|
|
636
|
-
* @memberof Transaction
|
|
637
|
-
*/
|
|
638
236
|
'orderId'?: number;
|
|
639
|
-
/**
|
|
640
|
-
*
|
|
641
|
-
* @type {string}
|
|
642
|
-
* @memberof Transaction
|
|
643
|
-
*/
|
|
644
237
|
'description'?: string;
|
|
645
238
|
}
|
|
646
239
|
export declare const TransactionTypeEnum: {
|
|
@@ -649,152 +242,72 @@ export declare const TransactionTypeEnum: {
|
|
|
649
242
|
readonly Shipping: "shipping";
|
|
650
243
|
};
|
|
651
244
|
export type TransactionTypeEnum = typeof TransactionTypeEnum[keyof typeof TransactionTypeEnum];
|
|
652
|
-
/**
|
|
653
|
-
*
|
|
654
|
-
* @export
|
|
655
|
-
* @interface Variant
|
|
656
|
-
*/
|
|
657
245
|
export interface Variant {
|
|
658
246
|
/**
|
|
659
247
|
* Unique object identifier
|
|
660
|
-
* @type {string}
|
|
661
|
-
* @memberof Variant
|
|
662
248
|
*/
|
|
663
249
|
'id'?: string;
|
|
664
250
|
/**
|
|
665
251
|
* A reference to the resource location
|
|
666
|
-
* @type {string}
|
|
667
|
-
* @memberof Variant
|
|
668
252
|
*/
|
|
669
253
|
'ref'?: string;
|
|
670
|
-
/**
|
|
671
|
-
*
|
|
672
|
-
* @type {VariantProduct}
|
|
673
|
-
* @memberof Variant
|
|
674
|
-
*/
|
|
675
254
|
'product'?: VariantProduct;
|
|
676
|
-
/**
|
|
677
|
-
*
|
|
678
|
-
* @type {string}
|
|
679
|
-
* @memberof Variant
|
|
680
|
-
*/
|
|
681
255
|
'sku': string;
|
|
682
256
|
/**
|
|
683
257
|
* 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.
|
|
684
|
-
* @type {Array<Attribute>}
|
|
685
|
-
* @memberof Variant
|
|
686
258
|
*/
|
|
687
259
|
'attributes': Array<Attribute>;
|
|
688
|
-
/**
|
|
689
|
-
*
|
|
690
|
-
* @type {VariantManufacturerOrigin}
|
|
691
|
-
* @memberof Variant
|
|
692
|
-
*/
|
|
693
260
|
'manufacturerOrigin'?: VariantManufacturerOrigin;
|
|
694
|
-
/**
|
|
695
|
-
*
|
|
696
|
-
* @type {Stock}
|
|
697
|
-
* @memberof Variant
|
|
698
|
-
*/
|
|
699
261
|
'stock'?: Stock;
|
|
700
262
|
/**
|
|
701
263
|
* Images
|
|
702
|
-
* @type {Array<Image>}
|
|
703
|
-
* @memberof Variant
|
|
704
264
|
*/
|
|
705
265
|
'images'?: Array<Image>;
|
|
706
266
|
}
|
|
707
267
|
/**
|
|
708
268
|
* Where the product was originally produced or manufactured
|
|
709
|
-
* @export
|
|
710
|
-
* @interface VariantManufacturerOrigin
|
|
711
269
|
*/
|
|
712
270
|
export interface VariantManufacturerOrigin {
|
|
713
271
|
/**
|
|
714
272
|
* Country of origin (ISO 3166-1 alpha-2).
|
|
715
|
-
* @type {string}
|
|
716
|
-
* @memberof VariantManufacturerOrigin
|
|
717
273
|
*/
|
|
718
274
|
'country'?: string;
|
|
719
275
|
/**
|
|
720
276
|
* Name of the country of origin
|
|
721
|
-
* @type {string}
|
|
722
|
-
* @memberof VariantManufacturerOrigin
|
|
723
277
|
*/
|
|
724
278
|
'name'?: string;
|
|
725
279
|
}
|
|
726
|
-
/**
|
|
727
|
-
*
|
|
728
|
-
* @export
|
|
729
|
-
* @interface VariantProduct
|
|
730
|
-
*/
|
|
731
280
|
export interface VariantProduct {
|
|
732
281
|
/**
|
|
733
282
|
* Unique object identifier
|
|
734
|
-
* @type {string}
|
|
735
|
-
* @memberof VariantProduct
|
|
736
283
|
*/
|
|
737
284
|
'id'?: string;
|
|
738
285
|
/**
|
|
739
286
|
* A reference to the resource location
|
|
740
|
-
* @type {string}
|
|
741
|
-
* @memberof VariantProduct
|
|
742
287
|
*/
|
|
743
288
|
'ref'?: string;
|
|
744
289
|
}
|
|
745
|
-
/**
|
|
746
|
-
*
|
|
747
|
-
* @export
|
|
748
|
-
* @interface VariantStock
|
|
749
|
-
*/
|
|
750
290
|
export interface VariantStock {
|
|
751
291
|
/**
|
|
752
292
|
* Unique object identifier
|
|
753
|
-
* @type {string}
|
|
754
|
-
* @memberof VariantStock
|
|
755
293
|
*/
|
|
756
294
|
'id'?: string;
|
|
757
295
|
/**
|
|
758
296
|
* A reference to the resource location
|
|
759
|
-
* @type {string}
|
|
760
|
-
* @memberof VariantStock
|
|
761
297
|
*/
|
|
762
298
|
'ref'?: string;
|
|
763
299
|
/**
|
|
764
300
|
* A reference to the resource location
|
|
765
|
-
* @type {string}
|
|
766
|
-
* @memberof VariantStock
|
|
767
301
|
*/
|
|
768
302
|
'productRef'?: string;
|
|
769
|
-
/**
|
|
770
|
-
*
|
|
771
|
-
* @type {Stock}
|
|
772
|
-
* @memberof VariantStock
|
|
773
|
-
*/
|
|
774
303
|
'stock'?: Stock;
|
|
775
304
|
}
|
|
776
|
-
/**
|
|
777
|
-
*
|
|
778
|
-
* @export
|
|
779
|
-
* @interface VariantsResponse
|
|
780
|
-
*/
|
|
781
305
|
export interface VariantsResponse {
|
|
782
|
-
/**
|
|
783
|
-
*
|
|
784
|
-
* @type {Array<Variant>}
|
|
785
|
-
* @memberof VariantsResponse
|
|
786
|
-
*/
|
|
787
306
|
'variants'?: Array<Variant>;
|
|
788
|
-
/**
|
|
789
|
-
*
|
|
790
|
-
* @type {number}
|
|
791
|
-
* @memberof VariantsResponse
|
|
792
|
-
*/
|
|
793
307
|
'nextPageToken'?: number | null;
|
|
794
308
|
}
|
|
795
309
|
/**
|
|
796
310
|
* ProductsApi - axios parameter creator
|
|
797
|
-
* @export
|
|
798
311
|
*/
|
|
799
312
|
export declare const ProductsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
800
313
|
/**
|
|
@@ -822,7 +335,6 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
822
335
|
};
|
|
823
336
|
/**
|
|
824
337
|
* ProductsApi - functional programming interface
|
|
825
|
-
* @export
|
|
826
338
|
*/
|
|
827
339
|
export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
828
340
|
/**
|
|
@@ -850,7 +362,6 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
850
362
|
};
|
|
851
363
|
/**
|
|
852
364
|
* ProductsApi - factory interface
|
|
853
|
-
* @export
|
|
854
365
|
*/
|
|
855
366
|
export declare const ProductsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
856
367
|
/**
|
|
@@ -872,71 +383,45 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
|
872
383
|
};
|
|
873
384
|
/**
|
|
874
385
|
* Request parameters for getProduct operation in ProductsApi.
|
|
875
|
-
* @export
|
|
876
|
-
* @interface ProductsApiGetProductRequest
|
|
877
386
|
*/
|
|
878
387
|
export interface ProductsApiGetProductRequest {
|
|
879
388
|
/**
|
|
880
389
|
* What project it is
|
|
881
|
-
* @type {string}
|
|
882
|
-
* @memberof ProductsApiGetProduct
|
|
883
390
|
*/
|
|
884
391
|
readonly project: string;
|
|
885
|
-
/**
|
|
886
|
-
*
|
|
887
|
-
* @type {string}
|
|
888
|
-
* @memberof ProductsApiGetProduct
|
|
889
|
-
*/
|
|
890
392
|
readonly productId: string;
|
|
891
393
|
/**
|
|
892
394
|
* Filter response fields to only include a subset of the resource.
|
|
893
|
-
* @type {string}
|
|
894
|
-
* @memberof ProductsApiGetProduct
|
|
895
395
|
*/
|
|
896
396
|
readonly fields?: string;
|
|
897
397
|
}
|
|
898
398
|
/**
|
|
899
399
|
* Request parameters for listProducts operation in ProductsApi.
|
|
900
|
-
* @export
|
|
901
|
-
* @interface ProductsApiListProductsRequest
|
|
902
400
|
*/
|
|
903
401
|
export interface ProductsApiListProductsRequest {
|
|
904
402
|
/**
|
|
905
403
|
* What project it is
|
|
906
|
-
* @type {string}
|
|
907
|
-
* @memberof ProductsApiListProducts
|
|
908
404
|
*/
|
|
909
405
|
readonly project: string;
|
|
910
406
|
/**
|
|
911
407
|
* Page reference token
|
|
912
|
-
* @type {number}
|
|
913
|
-
* @memberof ProductsApiListProducts
|
|
914
408
|
*/
|
|
915
409
|
readonly pageToken?: number;
|
|
916
410
|
/**
|
|
917
411
|
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
918
|
-
* @type {number}
|
|
919
|
-
* @memberof ProductsApiListProducts
|
|
920
412
|
*/
|
|
921
413
|
readonly pageSize?: number;
|
|
922
414
|
/**
|
|
923
415
|
* Filter response fields to only include a subset of the resource.
|
|
924
|
-
* @type {string}
|
|
925
|
-
* @memberof ProductsApiListProducts
|
|
926
416
|
*/
|
|
927
417
|
readonly fields?: string;
|
|
928
418
|
/**
|
|
929
419
|
* Search terms to filter based on.
|
|
930
|
-
* @type {string}
|
|
931
|
-
* @memberof ProductsApiListProducts
|
|
932
420
|
*/
|
|
933
421
|
readonly search?: string;
|
|
934
422
|
}
|
|
935
423
|
/**
|
|
936
424
|
* ProductsApi - object-oriented interface
|
|
937
|
-
* @export
|
|
938
|
-
* @class ProductsApi
|
|
939
|
-
* @extends {BaseAPI}
|
|
940
425
|
*/
|
|
941
426
|
export declare class ProductsApi extends BaseAPI {
|
|
942
427
|
/**
|
|
@@ -945,22 +430,19 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
945
430
|
* @param {ProductsApiGetProductRequest} requestParameters Request parameters.
|
|
946
431
|
* @param {*} [options] Override http request option.
|
|
947
432
|
* @throws {RequiredError}
|
|
948
|
-
* @memberof ProductsApi
|
|
949
433
|
*/
|
|
950
|
-
getProduct(requestParameters: ProductsApiGetProductRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Product, any>>;
|
|
434
|
+
getProduct(requestParameters: ProductsApiGetProductRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Product, any, {}>>;
|
|
951
435
|
/**
|
|
952
436
|
* Lists all GFN products available to the project. Can be filtered by style codes using the search parameter.
|
|
953
437
|
* @summary List GFN products
|
|
954
438
|
* @param {ProductsApiListProductsRequest} requestParameters Request parameters.
|
|
955
439
|
* @param {*} [options] Override http request option.
|
|
956
440
|
* @throws {RequiredError}
|
|
957
|
-
* @memberof ProductsApi
|
|
958
441
|
*/
|
|
959
|
-
listProducts(requestParameters: ProductsApiListProductsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductsResponse, any>>;
|
|
442
|
+
listProducts(requestParameters: ProductsApiListProductsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductsResponse, any, {}>>;
|
|
960
443
|
}
|
|
961
444
|
/**
|
|
962
445
|
* StatementsApi - axios parameter creator
|
|
963
|
-
* @export
|
|
964
446
|
*/
|
|
965
447
|
export declare const StatementsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
966
448
|
/**
|
|
@@ -986,7 +468,6 @@ export declare const StatementsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
986
468
|
};
|
|
987
469
|
/**
|
|
988
470
|
* StatementsApi - functional programming interface
|
|
989
|
-
* @export
|
|
990
471
|
*/
|
|
991
472
|
export declare const StatementsApiFp: (configuration?: Configuration) => {
|
|
992
473
|
/**
|
|
@@ -1008,11 +489,10 @@ export declare const StatementsApiFp: (configuration?: Configuration) => {
|
|
|
1008
489
|
* @param {*} [options] Override http request option.
|
|
1009
490
|
* @throws {RequiredError}
|
|
1010
491
|
*/
|
|
1011
|
-
listStatements(project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
492
|
+
listStatements(project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListStatements200Response>>;
|
|
1012
493
|
};
|
|
1013
494
|
/**
|
|
1014
495
|
* StatementsApi - factory interface
|
|
1015
|
-
* @export
|
|
1016
496
|
*/
|
|
1017
497
|
export declare const StatementsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1018
498
|
/**
|
|
@@ -1030,63 +510,41 @@ export declare const StatementsApiFactory: (configuration?: Configuration, baseP
|
|
|
1030
510
|
* @param {*} [options] Override http request option.
|
|
1031
511
|
* @throws {RequiredError}
|
|
1032
512
|
*/
|
|
1033
|
-
listStatements(requestParameters: StatementsApiListStatementsRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
513
|
+
listStatements(requestParameters: StatementsApiListStatementsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListStatements200Response>;
|
|
1034
514
|
};
|
|
1035
515
|
/**
|
|
1036
516
|
* Request parameters for getStatement operation in StatementsApi.
|
|
1037
|
-
* @export
|
|
1038
|
-
* @interface StatementsApiGetStatementRequest
|
|
1039
517
|
*/
|
|
1040
518
|
export interface StatementsApiGetStatementRequest {
|
|
1041
519
|
/**
|
|
1042
520
|
* What project it is
|
|
1043
|
-
* @type {string}
|
|
1044
|
-
* @memberof StatementsApiGetStatement
|
|
1045
521
|
*/
|
|
1046
522
|
readonly project: string;
|
|
1047
|
-
/**
|
|
1048
|
-
*
|
|
1049
|
-
* @type {string}
|
|
1050
|
-
* @memberof StatementsApiGetStatement
|
|
1051
|
-
*/
|
|
1052
523
|
readonly statementId: string;
|
|
1053
524
|
}
|
|
1054
525
|
/**
|
|
1055
526
|
* Request parameters for listStatements operation in StatementsApi.
|
|
1056
|
-
* @export
|
|
1057
|
-
* @interface StatementsApiListStatementsRequest
|
|
1058
527
|
*/
|
|
1059
528
|
export interface StatementsApiListStatementsRequest {
|
|
1060
529
|
/**
|
|
1061
530
|
* What project it is
|
|
1062
|
-
* @type {string}
|
|
1063
|
-
* @memberof StatementsApiListStatements
|
|
1064
531
|
*/
|
|
1065
532
|
readonly project: string;
|
|
1066
533
|
/**
|
|
1067
534
|
* Page reference token
|
|
1068
|
-
* @type {number}
|
|
1069
|
-
* @memberof StatementsApiListStatements
|
|
1070
535
|
*/
|
|
1071
536
|
readonly pageToken?: number;
|
|
1072
537
|
/**
|
|
1073
538
|
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1074
|
-
* @type {number}
|
|
1075
|
-
* @memberof StatementsApiListStatements
|
|
1076
539
|
*/
|
|
1077
540
|
readonly pageSize?: number;
|
|
1078
541
|
/**
|
|
1079
542
|
* Search term used to filter results by
|
|
1080
|
-
* @type {string}
|
|
1081
|
-
* @memberof StatementsApiListStatements
|
|
1082
543
|
*/
|
|
1083
544
|
readonly search?: string;
|
|
1084
545
|
}
|
|
1085
546
|
/**
|
|
1086
547
|
* StatementsApi - object-oriented interface
|
|
1087
|
-
* @export
|
|
1088
|
-
* @class StatementsApi
|
|
1089
|
-
* @extends {BaseAPI}
|
|
1090
548
|
*/
|
|
1091
549
|
export declare class StatementsApi extends BaseAPI {
|
|
1092
550
|
/**
|
|
@@ -1095,22 +553,19 @@ export declare class StatementsApi extends BaseAPI {
|
|
|
1095
553
|
* @param {StatementsApiGetStatementRequest} requestParameters Request parameters.
|
|
1096
554
|
* @param {*} [options] Override http request option.
|
|
1097
555
|
* @throws {RequiredError}
|
|
1098
|
-
* @memberof StatementsApi
|
|
1099
556
|
*/
|
|
1100
|
-
getStatement(requestParameters: StatementsApiGetStatementRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Statement, any>>;
|
|
557
|
+
getStatement(requestParameters: StatementsApiGetStatementRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Statement, any, {}>>;
|
|
1101
558
|
/**
|
|
1102
559
|
* Lists GFN statements available to the project
|
|
1103
560
|
* @summary List GFN statements
|
|
1104
561
|
* @param {StatementsApiListStatementsRequest} requestParameters Request parameters.
|
|
1105
562
|
* @param {*} [options] Override http request option.
|
|
1106
563
|
* @throws {RequiredError}
|
|
1107
|
-
* @memberof StatementsApi
|
|
1108
564
|
*/
|
|
1109
|
-
listStatements(requestParameters: StatementsApiListStatementsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
565
|
+
listStatements(requestParameters: StatementsApiListStatementsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListStatements200Response, any, {}>>;
|
|
1110
566
|
}
|
|
1111
567
|
/**
|
|
1112
568
|
* TransactionsApi - axios parameter creator
|
|
1113
|
-
* @export
|
|
1114
569
|
*/
|
|
1115
570
|
export declare const TransactionsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
1116
571
|
/**
|
|
@@ -1149,7 +604,6 @@ export declare const TransactionsApiAxiosParamCreator: (configuration?: Configur
|
|
|
1149
604
|
};
|
|
1150
605
|
/**
|
|
1151
606
|
* TransactionsApi - functional programming interface
|
|
1152
|
-
* @export
|
|
1153
607
|
*/
|
|
1154
608
|
export declare const TransactionsApiFp: (configuration?: Configuration) => {
|
|
1155
609
|
/**
|
|
@@ -1171,7 +625,7 @@ export declare const TransactionsApiFp: (configuration?: Configuration) => {
|
|
|
1171
625
|
* @param {*} [options] Override http request option.
|
|
1172
626
|
* @throws {RequiredError}
|
|
1173
627
|
*/
|
|
1174
|
-
listFulfillments(project: string, pageToken?: number, pageSize?: number, statementId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
628
|
+
listFulfillments(project: string, pageToken?: number, pageSize?: number, statementId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListFulfillments200Response>>;
|
|
1175
629
|
/**
|
|
1176
630
|
* Lists all GFN transactions available to the project
|
|
1177
631
|
* @summary List GFN transactions
|
|
@@ -1184,11 +638,10 @@ export declare const TransactionsApiFp: (configuration?: Configuration) => {
|
|
|
1184
638
|
* @param {*} [options] Override http request option.
|
|
1185
639
|
* @throws {RequiredError}
|
|
1186
640
|
*/
|
|
1187
|
-
listTransactions(project: string, pageToken?: number, pageSize?: number, statementId?: string, fulfillmentId?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
641
|
+
listTransactions(project: string, pageToken?: number, pageSize?: number, statementId?: string, fulfillmentId?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTransactions200Response>>;
|
|
1188
642
|
};
|
|
1189
643
|
/**
|
|
1190
644
|
* TransactionsApi - factory interface
|
|
1191
|
-
* @export
|
|
1192
645
|
*/
|
|
1193
646
|
export declare const TransactionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1194
647
|
/**
|
|
@@ -1206,7 +659,7 @@ export declare const TransactionsApiFactory: (configuration?: Configuration, bas
|
|
|
1206
659
|
* @param {*} [options] Override http request option.
|
|
1207
660
|
* @throws {RequiredError}
|
|
1208
661
|
*/
|
|
1209
|
-
listFulfillments(requestParameters: TransactionsApiListFulfillmentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
662
|
+
listFulfillments(requestParameters: TransactionsApiListFulfillmentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListFulfillments200Response>;
|
|
1210
663
|
/**
|
|
1211
664
|
* Lists all GFN transactions available to the project
|
|
1212
665
|
* @summary List GFN transactions
|
|
@@ -1214,106 +667,64 @@ export declare const TransactionsApiFactory: (configuration?: Configuration, bas
|
|
|
1214
667
|
* @param {*} [options] Override http request option.
|
|
1215
668
|
* @throws {RequiredError}
|
|
1216
669
|
*/
|
|
1217
|
-
listTransactions(requestParameters: TransactionsApiListTransactionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
670
|
+
listTransactions(requestParameters: TransactionsApiListTransactionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListTransactions200Response>;
|
|
1218
671
|
};
|
|
1219
672
|
/**
|
|
1220
673
|
* Request parameters for exportTransactions operation in TransactionsApi.
|
|
1221
|
-
* @export
|
|
1222
|
-
* @interface TransactionsApiExportTransactionsRequest
|
|
1223
674
|
*/
|
|
1224
675
|
export interface TransactionsApiExportTransactionsRequest {
|
|
1225
676
|
/**
|
|
1226
677
|
* What project it is
|
|
1227
|
-
* @type {string}
|
|
1228
|
-
* @memberof TransactionsApiExportTransactions
|
|
1229
678
|
*/
|
|
1230
679
|
readonly project: string;
|
|
1231
680
|
/**
|
|
1232
681
|
* Period selection data for the export
|
|
1233
|
-
* @type {ExportTransactionsRequest}
|
|
1234
|
-
* @memberof TransactionsApiExportTransactions
|
|
1235
682
|
*/
|
|
1236
683
|
readonly exportTransactionsRequest: ExportTransactionsRequest;
|
|
1237
684
|
}
|
|
1238
685
|
/**
|
|
1239
686
|
* Request parameters for listFulfillments operation in TransactionsApi.
|
|
1240
|
-
* @export
|
|
1241
|
-
* @interface TransactionsApiListFulfillmentsRequest
|
|
1242
687
|
*/
|
|
1243
688
|
export interface TransactionsApiListFulfillmentsRequest {
|
|
1244
689
|
/**
|
|
1245
690
|
* What project it is
|
|
1246
|
-
* @type {string}
|
|
1247
|
-
* @memberof TransactionsApiListFulfillments
|
|
1248
691
|
*/
|
|
1249
692
|
readonly project: string;
|
|
1250
693
|
/**
|
|
1251
694
|
* Page reference token
|
|
1252
|
-
* @type {number}
|
|
1253
|
-
* @memberof TransactionsApiListFulfillments
|
|
1254
695
|
*/
|
|
1255
696
|
readonly pageToken?: number;
|
|
1256
697
|
/**
|
|
1257
698
|
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1258
|
-
* @type {number}
|
|
1259
|
-
* @memberof TransactionsApiListFulfillments
|
|
1260
699
|
*/
|
|
1261
700
|
readonly pageSize?: number;
|
|
1262
|
-
/**
|
|
1263
|
-
*
|
|
1264
|
-
* @type {string}
|
|
1265
|
-
* @memberof TransactionsApiListFulfillments
|
|
1266
|
-
*/
|
|
1267
701
|
readonly statementId?: string;
|
|
1268
702
|
}
|
|
1269
703
|
/**
|
|
1270
704
|
* Request parameters for listTransactions operation in TransactionsApi.
|
|
1271
|
-
* @export
|
|
1272
|
-
* @interface TransactionsApiListTransactionsRequest
|
|
1273
705
|
*/
|
|
1274
706
|
export interface TransactionsApiListTransactionsRequest {
|
|
1275
707
|
/**
|
|
1276
708
|
* What project it is
|
|
1277
|
-
* @type {string}
|
|
1278
|
-
* @memberof TransactionsApiListTransactions
|
|
1279
709
|
*/
|
|
1280
710
|
readonly project: string;
|
|
1281
711
|
/**
|
|
1282
712
|
* Page reference token
|
|
1283
|
-
* @type {number}
|
|
1284
|
-
* @memberof TransactionsApiListTransactions
|
|
1285
713
|
*/
|
|
1286
714
|
readonly pageToken?: number;
|
|
1287
715
|
/**
|
|
1288
716
|
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1289
|
-
* @type {number}
|
|
1290
|
-
* @memberof TransactionsApiListTransactions
|
|
1291
717
|
*/
|
|
1292
718
|
readonly pageSize?: number;
|
|
1293
|
-
/**
|
|
1294
|
-
*
|
|
1295
|
-
* @type {string}
|
|
1296
|
-
* @memberof TransactionsApiListTransactions
|
|
1297
|
-
*/
|
|
1298
719
|
readonly statementId?: string;
|
|
1299
|
-
/**
|
|
1300
|
-
*
|
|
1301
|
-
* @type {string}
|
|
1302
|
-
* @memberof TransactionsApiListTransactions
|
|
1303
|
-
*/
|
|
1304
720
|
readonly fulfillmentId?: string;
|
|
1305
721
|
/**
|
|
1306
722
|
* Search by fulfillment id
|
|
1307
|
-
* @type {string}
|
|
1308
|
-
* @memberof TransactionsApiListTransactions
|
|
1309
723
|
*/
|
|
1310
724
|
readonly search?: string;
|
|
1311
725
|
}
|
|
1312
726
|
/**
|
|
1313
727
|
* TransactionsApi - object-oriented interface
|
|
1314
|
-
* @export
|
|
1315
|
-
* @class TransactionsApi
|
|
1316
|
-
* @extends {BaseAPI}
|
|
1317
728
|
*/
|
|
1318
729
|
export declare class TransactionsApi extends BaseAPI {
|
|
1319
730
|
/**
|
|
@@ -1322,31 +733,27 @@ export declare class TransactionsApi extends BaseAPI {
|
|
|
1322
733
|
* @param {TransactionsApiExportTransactionsRequest} requestParameters Request parameters.
|
|
1323
734
|
* @param {*} [options] Override http request option.
|
|
1324
735
|
* @throws {RequiredError}
|
|
1325
|
-
* @memberof TransactionsApi
|
|
1326
736
|
*/
|
|
1327
|
-
exportTransactions(requestParameters: TransactionsApiExportTransactionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
|
|
737
|
+
exportTransactions(requestParameters: TransactionsApiExportTransactionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}>>;
|
|
1328
738
|
/**
|
|
1329
739
|
* Lists all the fulfillments in the project with GFN transactions
|
|
1330
740
|
* @summary Lists the GFN fulfillments of the project
|
|
1331
741
|
* @param {TransactionsApiListFulfillmentsRequest} requestParameters Request parameters.
|
|
1332
742
|
* @param {*} [options] Override http request option.
|
|
1333
743
|
* @throws {RequiredError}
|
|
1334
|
-
* @memberof TransactionsApi
|
|
1335
744
|
*/
|
|
1336
|
-
listFulfillments(requestParameters: TransactionsApiListFulfillmentsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
745
|
+
listFulfillments(requestParameters: TransactionsApiListFulfillmentsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListFulfillments200Response, any, {}>>;
|
|
1337
746
|
/**
|
|
1338
747
|
* Lists all GFN transactions available to the project
|
|
1339
748
|
* @summary List GFN transactions
|
|
1340
749
|
* @param {TransactionsApiListTransactionsRequest} requestParameters Request parameters.
|
|
1341
750
|
* @param {*} [options] Override http request option.
|
|
1342
751
|
* @throws {RequiredError}
|
|
1343
|
-
* @memberof TransactionsApi
|
|
1344
752
|
*/
|
|
1345
|
-
listTransactions(requestParameters: TransactionsApiListTransactionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
753
|
+
listTransactions(requestParameters: TransactionsApiListTransactionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTransactions200Response, any, {}>>;
|
|
1346
754
|
}
|
|
1347
755
|
/**
|
|
1348
756
|
* VariantsApi - axios parameter creator
|
|
1349
|
-
* @export
|
|
1350
757
|
*/
|
|
1351
758
|
export declare const VariantsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
1352
759
|
/**
|
|
@@ -1396,7 +803,6 @@ export declare const VariantsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
1396
803
|
};
|
|
1397
804
|
/**
|
|
1398
805
|
* VariantsApi - functional programming interface
|
|
1399
|
-
* @export
|
|
1400
806
|
*/
|
|
1401
807
|
export declare const VariantsApiFp: (configuration?: Configuration) => {
|
|
1402
808
|
/**
|
|
@@ -1446,7 +852,6 @@ export declare const VariantsApiFp: (configuration?: Configuration) => {
|
|
|
1446
852
|
};
|
|
1447
853
|
/**
|
|
1448
854
|
* VariantsApi - factory interface
|
|
1449
|
-
* @export
|
|
1450
855
|
*/
|
|
1451
856
|
export declare const VariantsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1452
857
|
/**
|
|
@@ -1484,133 +889,90 @@ export declare const VariantsApiFactory: (configuration?: Configuration, basePat
|
|
|
1484
889
|
};
|
|
1485
890
|
/**
|
|
1486
891
|
* Request parameters for getStock operation in VariantsApi.
|
|
1487
|
-
* @export
|
|
1488
|
-
* @interface VariantsApiGetStockRequest
|
|
1489
892
|
*/
|
|
1490
893
|
export interface VariantsApiGetStockRequest {
|
|
1491
894
|
/**
|
|
1492
895
|
* What project it is
|
|
1493
|
-
* @type {string}
|
|
1494
|
-
* @memberof VariantsApiGetStock
|
|
1495
896
|
*/
|
|
1496
897
|
readonly project: string;
|
|
1497
898
|
/**
|
|
1498
899
|
* Variants unique identifier
|
|
1499
|
-
* @type {string}
|
|
1500
|
-
* @memberof VariantsApiGetStock
|
|
1501
900
|
*/
|
|
1502
901
|
readonly variantId: string;
|
|
1503
902
|
/**
|
|
1504
903
|
* Fetch stock levels from specific fulfiller projects
|
|
1505
|
-
* @type {string}
|
|
1506
|
-
* @memberof VariantsApiGetStock
|
|
1507
904
|
*/
|
|
1508
905
|
readonly fulfillmentProjects?: string;
|
|
1509
906
|
}
|
|
1510
907
|
/**
|
|
1511
908
|
* Request parameters for getVariant operation in VariantsApi.
|
|
1512
|
-
* @export
|
|
1513
|
-
* @interface VariantsApiGetVariantRequest
|
|
1514
909
|
*/
|
|
1515
910
|
export interface VariantsApiGetVariantRequest {
|
|
1516
911
|
/**
|
|
1517
912
|
* What project it is
|
|
1518
|
-
* @type {string}
|
|
1519
|
-
* @memberof VariantsApiGetVariant
|
|
1520
913
|
*/
|
|
1521
914
|
readonly project: string;
|
|
1522
915
|
/**
|
|
1523
916
|
* Variants unique identifier
|
|
1524
|
-
* @type {string}
|
|
1525
|
-
* @memberof VariantsApiGetVariant
|
|
1526
917
|
*/
|
|
1527
918
|
readonly variantId: string;
|
|
1528
919
|
/**
|
|
1529
920
|
* Filter response fields to only include a subset of the resource.
|
|
1530
|
-
* @type {string}
|
|
1531
|
-
* @memberof VariantsApiGetVariant
|
|
1532
921
|
*/
|
|
1533
922
|
readonly fields?: string;
|
|
1534
923
|
}
|
|
1535
924
|
/**
|
|
1536
925
|
* Request parameters for listStock operation in VariantsApi.
|
|
1537
|
-
* @export
|
|
1538
|
-
* @interface VariantsApiListStockRequest
|
|
1539
926
|
*/
|
|
1540
927
|
export interface VariantsApiListStockRequest {
|
|
1541
928
|
/**
|
|
1542
929
|
* What project it is
|
|
1543
|
-
* @type {string}
|
|
1544
|
-
* @memberof VariantsApiListStock
|
|
1545
930
|
*/
|
|
1546
931
|
readonly project: string;
|
|
1547
932
|
/**
|
|
1548
933
|
* Fetch stock levels from specific fulfiller projects
|
|
1549
|
-
* @type {string}
|
|
1550
|
-
* @memberof VariantsApiListStock
|
|
1551
934
|
*/
|
|
1552
935
|
readonly fulfillmentProjects?: string;
|
|
1553
936
|
/**
|
|
1554
937
|
* Page reference token
|
|
1555
|
-
* @type {number}
|
|
1556
|
-
* @memberof VariantsApiListStock
|
|
1557
938
|
*/
|
|
1558
939
|
readonly pageToken?: number;
|
|
1559
940
|
/**
|
|
1560
941
|
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1561
|
-
* @type {number}
|
|
1562
|
-
* @memberof VariantsApiListStock
|
|
1563
942
|
*/
|
|
1564
943
|
readonly pageSize?: number;
|
|
1565
944
|
/**
|
|
1566
945
|
* Search terms to filter based on.
|
|
1567
|
-
* @type {string}
|
|
1568
|
-
* @memberof VariantsApiListStock
|
|
1569
946
|
*/
|
|
1570
947
|
readonly search?: string;
|
|
1571
948
|
}
|
|
1572
949
|
/**
|
|
1573
950
|
* Request parameters for listVariants operation in VariantsApi.
|
|
1574
|
-
* @export
|
|
1575
|
-
* @interface VariantsApiListVariantsRequest
|
|
1576
951
|
*/
|
|
1577
952
|
export interface VariantsApiListVariantsRequest {
|
|
1578
953
|
/**
|
|
1579
954
|
* What project it is
|
|
1580
|
-
* @type {string}
|
|
1581
|
-
* @memberof VariantsApiListVariants
|
|
1582
955
|
*/
|
|
1583
956
|
readonly project: string;
|
|
1584
957
|
/**
|
|
1585
958
|
* Page reference token
|
|
1586
|
-
* @type {number}
|
|
1587
|
-
* @memberof VariantsApiListVariants
|
|
1588
959
|
*/
|
|
1589
960
|
readonly pageToken?: number;
|
|
1590
961
|
/**
|
|
1591
962
|
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1592
|
-
* @type {number}
|
|
1593
|
-
* @memberof VariantsApiListVariants
|
|
1594
963
|
*/
|
|
1595
964
|
readonly pageSize?: number;
|
|
1596
965
|
/**
|
|
1597
966
|
* Filter response fields to only include a subset of the resource.
|
|
1598
|
-
* @type {string}
|
|
1599
|
-
* @memberof VariantsApiListVariants
|
|
1600
967
|
*/
|
|
1601
968
|
readonly fields?: string;
|
|
1602
969
|
/**
|
|
1603
970
|
* Search terms to filter based on.
|
|
1604
|
-
* @type {string}
|
|
1605
|
-
* @memberof VariantsApiListVariants
|
|
1606
971
|
*/
|
|
1607
972
|
readonly search?: string;
|
|
1608
973
|
}
|
|
1609
974
|
/**
|
|
1610
975
|
* VariantsApi - object-oriented interface
|
|
1611
|
-
* @export
|
|
1612
|
-
* @class VariantsApi
|
|
1613
|
-
* @extends {BaseAPI}
|
|
1614
976
|
*/
|
|
1615
977
|
export declare class VariantsApi extends BaseAPI {
|
|
1616
978
|
/**
|
|
@@ -1619,34 +981,30 @@ export declare class VariantsApi extends BaseAPI {
|
|
|
1619
981
|
* @param {VariantsApiGetStockRequest} requestParameters Request parameters.
|
|
1620
982
|
* @param {*} [options] Override http request option.
|
|
1621
983
|
* @throws {RequiredError}
|
|
1622
|
-
* @memberof VariantsApi
|
|
1623
984
|
*/
|
|
1624
|
-
getStock(requestParameters: VariantsApiGetStockRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VariantStock, any>>;
|
|
985
|
+
getStock(requestParameters: VariantsApiGetStockRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VariantStock, any, {}>>;
|
|
1625
986
|
/**
|
|
1626
987
|
* Gets a GFN variant by the given ID.
|
|
1627
988
|
* @summary Get a GFN variant
|
|
1628
989
|
* @param {VariantsApiGetVariantRequest} requestParameters Request parameters.
|
|
1629
990
|
* @param {*} [options] Override http request option.
|
|
1630
991
|
* @throws {RequiredError}
|
|
1631
|
-
* @memberof VariantsApi
|
|
1632
992
|
*/
|
|
1633
|
-
getVariant(requestParameters: VariantsApiGetVariantRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Variant, any>>;
|
|
993
|
+
getVariant(requestParameters: VariantsApiGetVariantRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Variant, any, {}>>;
|
|
1634
994
|
/**
|
|
1635
995
|
* Lists the stock levels for all GFN variants available to the project.
|
|
1636
996
|
* @summary List GFN variant stock
|
|
1637
997
|
* @param {VariantsApiListStockRequest} requestParameters Request parameters.
|
|
1638
998
|
* @param {*} [options] Override http request option.
|
|
1639
999
|
* @throws {RequiredError}
|
|
1640
|
-
* @memberof VariantsApi
|
|
1641
1000
|
*/
|
|
1642
|
-
listStock(requestParameters: VariantsApiListStockRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StockResponse, any>>;
|
|
1001
|
+
listStock(requestParameters: VariantsApiListStockRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StockResponse, any, {}>>;
|
|
1643
1002
|
/**
|
|
1644
1003
|
* Lists all GFN variants available to the project. Can be filtered by product ID, SKU, and attribute values using the search parameter.
|
|
1645
1004
|
* @summary List GFN variants
|
|
1646
1005
|
* @param {VariantsApiListVariantsRequest} requestParameters Request parameters.
|
|
1647
1006
|
* @param {*} [options] Override http request option.
|
|
1648
1007
|
* @throws {RequiredError}
|
|
1649
|
-
* @memberof VariantsApi
|
|
1650
1008
|
*/
|
|
1651
|
-
listVariants(requestParameters: VariantsApiListVariantsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VariantsResponse, any>>;
|
|
1009
|
+
listVariants(requestParameters: VariantsApiListVariantsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VariantsResponse, any, {}>>;
|
|
1652
1010
|
}
|