@teemill/gfn-catalog 3.9.1 → 3.9.4
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/.openapi-generator/VERSION +1 -1
- package/README.md +2 -2
- package/api.ts +197 -32
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +195 -30
- package/dist/api.js +15 -15
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +195 -30
- package/dist/esm/api.js +15 -15
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- 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/ApiError.md +3 -2
- package/docs/ApiValidationError.md +3 -2
- package/docs/Fulfillment.md +5 -4
- package/docs/Image.md +7 -7
- package/docs/Location.md +1 -0
- package/docs/Product.md +9 -8
- package/docs/ProductBrand.md +1 -0
- package/docs/ProductsApi.md +2 -2
- package/docs/Statement.md +9 -8
- package/docs/StatementsApi.md +2 -2
- package/docs/Stock.md +2 -1
- package/docs/Transaction.md +12 -11
- package/docs/TransactionsApi.md +10 -10
- package/docs/Variant.md +7 -6
- package/docs/VariantProduct.md +1 -0
- package/docs/VariantStock.md +6 -5
- package/index.ts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.21.0
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/gfn-catalog@3.9.
|
|
1
|
+
## @teemill/gfn-catalog@3.9.4
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @teemill/gfn-catalog@3.9.
|
|
39
|
+
npm install @teemill/gfn-catalog@3.9.4 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* GFN Catalog
|
|
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.9.
|
|
7
|
+
* The version of the OpenAPI document: 3.9.4
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -23,12 +23,30 @@ 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
|
+
* Represents an error returned by the API.
|
|
28
|
+
*/
|
|
26
29
|
export interface ApiError {
|
|
30
|
+
/**
|
|
31
|
+
* A machine-readable error code identifying the type of error.
|
|
32
|
+
*/
|
|
27
33
|
'code'?: string;
|
|
34
|
+
/**
|
|
35
|
+
* A human-readable message providing more details about the error.
|
|
36
|
+
*/
|
|
28
37
|
'message': string;
|
|
29
38
|
}
|
|
39
|
+
/**
|
|
40
|
+
* Represents a validation error returned by the API, including field-level error details.
|
|
41
|
+
*/
|
|
30
42
|
export interface ApiValidationError {
|
|
43
|
+
/**
|
|
44
|
+
* A human-readable summary of the validation error.
|
|
45
|
+
*/
|
|
31
46
|
'message': string;
|
|
47
|
+
/**
|
|
48
|
+
* A map of field names to arrays of validation error messages.
|
|
49
|
+
*/
|
|
32
50
|
'errors': { [key: string]: Array<string>; };
|
|
33
51
|
}
|
|
34
52
|
export interface Attribute {
|
|
@@ -57,7 +75,7 @@ export interface AttributeThumbnail {
|
|
|
57
75
|
export const AttributeThumbnailTypeEnum = {
|
|
58
76
|
Text: 'text',
|
|
59
77
|
Color: 'color',
|
|
60
|
-
Image: 'image'
|
|
78
|
+
Image: 'image',
|
|
61
79
|
} as const;
|
|
62
80
|
|
|
63
81
|
export type AttributeThumbnailTypeEnum = typeof AttributeThumbnailTypeEnum[keyof typeof AttributeThumbnailTypeEnum];
|
|
@@ -68,28 +86,58 @@ export interface ExportTransactionsRequest {
|
|
|
68
86
|
*/
|
|
69
87
|
'statement'?: string;
|
|
70
88
|
}
|
|
89
|
+
/**
|
|
90
|
+
* A GFN fulfillment summary showing the total cost of transactions.
|
|
91
|
+
*/
|
|
71
92
|
export interface Fulfillment {
|
|
93
|
+
/**
|
|
94
|
+
* The identifier of the fulfillment.
|
|
95
|
+
*/
|
|
72
96
|
'id': number;
|
|
97
|
+
/**
|
|
98
|
+
* The merchant\'s reference for this fulfillment.
|
|
99
|
+
*/
|
|
73
100
|
'merchantRef': string;
|
|
101
|
+
/**
|
|
102
|
+
* The total cost of all transactions for this fulfillment.
|
|
103
|
+
*/
|
|
74
104
|
'total': number;
|
|
105
|
+
/**
|
|
106
|
+
* The timestamp when the fulfillment was created.
|
|
107
|
+
*/
|
|
75
108
|
'createdAt': string;
|
|
76
109
|
}
|
|
77
110
|
/**
|
|
78
|
-
*
|
|
111
|
+
* An image associated with a product or variant.
|
|
79
112
|
*/
|
|
80
113
|
export interface Image {
|
|
81
114
|
/**
|
|
82
|
-
*
|
|
115
|
+
* The unique identifier of the image.
|
|
83
116
|
*/
|
|
84
117
|
'id'?: string;
|
|
118
|
+
/**
|
|
119
|
+
* The URL of the image.
|
|
120
|
+
*/
|
|
85
121
|
'src': string;
|
|
122
|
+
/**
|
|
123
|
+
* Alternative text for the image.
|
|
124
|
+
*/
|
|
86
125
|
'alt'?: string;
|
|
87
126
|
/**
|
|
88
127
|
* List of variant Ids
|
|
89
128
|
*/
|
|
90
129
|
'variantIds'?: Array<string>;
|
|
130
|
+
/**
|
|
131
|
+
* The display order of the image.
|
|
132
|
+
*/
|
|
91
133
|
'sortOrder'?: number;
|
|
134
|
+
/**
|
|
135
|
+
* The timestamp when the image was created.
|
|
136
|
+
*/
|
|
92
137
|
'createdAt'?: string;
|
|
138
|
+
/**
|
|
139
|
+
* The timestamp when the image was last updated.
|
|
140
|
+
*/
|
|
93
141
|
'updatedAt'?: string;
|
|
94
142
|
}
|
|
95
143
|
export interface ListFulfillments200Response {
|
|
@@ -104,6 +152,9 @@ export interface ListTransactions200Response {
|
|
|
104
152
|
'transactions'?: Array<Transaction>;
|
|
105
153
|
'nextPageToken'?: number | null;
|
|
106
154
|
}
|
|
155
|
+
/**
|
|
156
|
+
* A stock location showing the number of units available at a specific warehouse location.
|
|
157
|
+
*/
|
|
107
158
|
export interface Location {
|
|
108
159
|
/**
|
|
109
160
|
* The total number of units available at the location
|
|
@@ -114,22 +165,40 @@ export interface Location {
|
|
|
114
165
|
*/
|
|
115
166
|
'country': string;
|
|
116
167
|
}
|
|
168
|
+
/**
|
|
169
|
+
* A warehouse product available in the Global Fulfillment Network catalog.
|
|
170
|
+
*/
|
|
117
171
|
export interface Product {
|
|
118
172
|
/**
|
|
119
|
-
*
|
|
173
|
+
* The unique identifier of the product.
|
|
120
174
|
*/
|
|
121
175
|
'id': string;
|
|
122
176
|
/**
|
|
123
|
-
* A reference to
|
|
177
|
+
* A URI reference to this product resource.
|
|
124
178
|
*/
|
|
125
179
|
'ref'?: string;
|
|
180
|
+
/**
|
|
181
|
+
* The display title of the product.
|
|
182
|
+
*/
|
|
126
183
|
'title': string;
|
|
184
|
+
/**
|
|
185
|
+
* The style code identifying this product type.
|
|
186
|
+
*/
|
|
127
187
|
'styleCode'?: string;
|
|
188
|
+
/**
|
|
189
|
+
* The material composition of the product.
|
|
190
|
+
*/
|
|
128
191
|
'material'?: string;
|
|
192
|
+
/**
|
|
193
|
+
* A description of the product.
|
|
194
|
+
*/
|
|
129
195
|
'description'?: string;
|
|
196
|
+
/**
|
|
197
|
+
* Product specifications.
|
|
198
|
+
*/
|
|
130
199
|
'specifications'?: string;
|
|
131
200
|
/**
|
|
132
|
-
*
|
|
201
|
+
* The available attributes (e.g. Colour, Size) for this product.
|
|
133
202
|
*/
|
|
134
203
|
'attributes': Array<ProductAttribute>;
|
|
135
204
|
/**
|
|
@@ -166,6 +235,9 @@ export interface ProductAttributeValuesInner {
|
|
|
166
235
|
*/
|
|
167
236
|
'value': string;
|
|
168
237
|
}
|
|
238
|
+
/**
|
|
239
|
+
* The brand that manufactures or supplies this product.
|
|
240
|
+
*/
|
|
169
241
|
export interface ProductBrand {
|
|
170
242
|
/**
|
|
171
243
|
* the name of the brand that manufactures/supplies the product
|
|
@@ -199,83 +271,146 @@ export interface ProductsResponse {
|
|
|
199
271
|
'products'?: Array<Product>;
|
|
200
272
|
'nextPageToken'?: number | null;
|
|
201
273
|
}
|
|
274
|
+
/**
|
|
275
|
+
* A GFN billing statement summarising fulfillment costs over a period.
|
|
276
|
+
*/
|
|
202
277
|
export interface Statement {
|
|
203
278
|
/**
|
|
204
|
-
*
|
|
279
|
+
* The unique identifier of the statement.
|
|
205
280
|
*/
|
|
206
281
|
'id': string;
|
|
207
282
|
/**
|
|
208
|
-
* A reference to
|
|
283
|
+
* A URI reference to this statement resource.
|
|
209
284
|
*/
|
|
210
285
|
'ref': string;
|
|
286
|
+
/**
|
|
287
|
+
* The total cost of all transactions in this statement.
|
|
288
|
+
*/
|
|
211
289
|
'total': number;
|
|
290
|
+
/**
|
|
291
|
+
* The start date of the billing period.
|
|
292
|
+
*/
|
|
212
293
|
'startDate': string;
|
|
294
|
+
/**
|
|
295
|
+
* The end date of the billing period.
|
|
296
|
+
*/
|
|
213
297
|
'endDate': string;
|
|
298
|
+
/**
|
|
299
|
+
* The timestamp when the statement was created.
|
|
300
|
+
*/
|
|
214
301
|
'createdAt': string;
|
|
302
|
+
/**
|
|
303
|
+
* The number of fulfillments included in this statement.
|
|
304
|
+
*/
|
|
215
305
|
'fulfillmentCount': number;
|
|
306
|
+
/**
|
|
307
|
+
* The timestamp when the statement was issued.
|
|
308
|
+
*/
|
|
216
309
|
'issuedAt'?: string;
|
|
217
310
|
}
|
|
311
|
+
/**
|
|
312
|
+
* Stock availability information including total level and per-location breakdown.
|
|
313
|
+
*/
|
|
218
314
|
export interface Stock {
|
|
219
315
|
/**
|
|
220
316
|
* Current stock level
|
|
221
317
|
*/
|
|
222
318
|
'level'?: number;
|
|
319
|
+
/**
|
|
320
|
+
* Stock levels broken down by warehouse location.
|
|
321
|
+
*/
|
|
223
322
|
'locations'?: Array<Location>;
|
|
224
323
|
}
|
|
225
324
|
export interface StockResponse {
|
|
226
325
|
'variants'?: Array<VariantStock>;
|
|
227
326
|
'nextPageToken'?: number | null;
|
|
228
327
|
}
|
|
328
|
+
/**
|
|
329
|
+
* A GFN transaction representing a cost incurred for a fulfillment (blank, application, or shipping).
|
|
330
|
+
*/
|
|
229
331
|
export interface Transaction {
|
|
230
332
|
/**
|
|
231
|
-
*
|
|
333
|
+
* The unique identifier of the transaction.
|
|
232
334
|
*/
|
|
233
335
|
'id': string;
|
|
234
336
|
/**
|
|
235
|
-
* A reference to
|
|
337
|
+
* A URI reference to this transaction resource.
|
|
236
338
|
*/
|
|
237
339
|
'ref': string;
|
|
238
340
|
/**
|
|
239
|
-
* A reference to the
|
|
341
|
+
* A reference to the statement this transaction belongs to. Null if not yet included in a statement.
|
|
240
342
|
*/
|
|
241
343
|
'statement'?: string | null;
|
|
344
|
+
/**
|
|
345
|
+
* The cost of this transaction.
|
|
346
|
+
*/
|
|
242
347
|
'cost'?: number;
|
|
348
|
+
/**
|
|
349
|
+
* The number of units this transaction covers.
|
|
350
|
+
*/
|
|
243
351
|
'quantity': number;
|
|
352
|
+
/**
|
|
353
|
+
* The type of transaction: \'blank\' for base product cost, \'application\' for design application cost, \'shipping\' for shipping cost.
|
|
354
|
+
*/
|
|
244
355
|
'type'?: TransactionTypeEnum;
|
|
356
|
+
/**
|
|
357
|
+
* Whether this transaction is subject to tax.
|
|
358
|
+
*/
|
|
245
359
|
'taxable'?: boolean;
|
|
360
|
+
/**
|
|
361
|
+
* The timestamp when the transaction was created.
|
|
362
|
+
*/
|
|
246
363
|
'createdAt': string;
|
|
364
|
+
/**
|
|
365
|
+
* The identifier of the fulfillment this transaction relates to.
|
|
366
|
+
*/
|
|
247
367
|
'fulfillmentId'?: number;
|
|
368
|
+
/**
|
|
369
|
+
* The identifier of the order this transaction relates to.
|
|
370
|
+
*/
|
|
248
371
|
'orderId'?: number;
|
|
372
|
+
/**
|
|
373
|
+
* A human-readable description of the transaction.
|
|
374
|
+
*/
|
|
249
375
|
'description'?: string;
|
|
250
376
|
}
|
|
251
377
|
|
|
252
378
|
export const TransactionTypeEnum = {
|
|
253
379
|
Blank: 'blank',
|
|
254
380
|
Application: 'application',
|
|
255
|
-
Shipping: 'shipping'
|
|
381
|
+
Shipping: 'shipping',
|
|
256
382
|
} as const;
|
|
257
383
|
|
|
258
384
|
export type TransactionTypeEnum = typeof TransactionTypeEnum[keyof typeof TransactionTypeEnum];
|
|
259
385
|
|
|
386
|
+
/**
|
|
387
|
+
* A specific colour/size combination of a GFN catalog product.
|
|
388
|
+
*/
|
|
260
389
|
export interface Variant {
|
|
261
390
|
/**
|
|
262
|
-
*
|
|
391
|
+
* The unique identifier of the variant.
|
|
263
392
|
*/
|
|
264
393
|
'id'?: string;
|
|
265
394
|
/**
|
|
266
|
-
* A reference to
|
|
395
|
+
* A URI reference to this variant resource.
|
|
267
396
|
*/
|
|
268
397
|
'ref'?: string;
|
|
269
398
|
'product'?: VariantProduct;
|
|
399
|
+
/**
|
|
400
|
+
* The stock keeping unit code for this variant.
|
|
401
|
+
*/
|
|
270
402
|
'sku': string;
|
|
271
403
|
/**
|
|
272
|
-
*
|
|
404
|
+
* The attributes (e.g. Colour, Size) that define this variant.
|
|
273
405
|
*/
|
|
274
406
|
'attributes': Array<Attribute>;
|
|
275
407
|
'manufacturerOrigin'?: VariantManufacturerOrigin;
|
|
408
|
+
/**
|
|
409
|
+
* The stock levels for this variant.
|
|
410
|
+
*/
|
|
276
411
|
'stock'?: Stock;
|
|
277
412
|
/**
|
|
278
|
-
*
|
|
413
|
+
* Product images for this variant.
|
|
279
414
|
*/
|
|
280
415
|
'images'?: Array<Image>;
|
|
281
416
|
}
|
|
@@ -292,6 +427,9 @@ export interface VariantManufacturerOrigin {
|
|
|
292
427
|
*/
|
|
293
428
|
'name'?: string;
|
|
294
429
|
}
|
|
430
|
+
/**
|
|
431
|
+
* A reference to the product this variant belongs to.
|
|
432
|
+
*/
|
|
295
433
|
export interface VariantProduct {
|
|
296
434
|
/**
|
|
297
435
|
* Unique object identifier
|
|
@@ -306,24 +444,33 @@ export interface VariantProduct {
|
|
|
306
444
|
*/
|
|
307
445
|
'ref'?: string;
|
|
308
446
|
}
|
|
447
|
+
/**
|
|
448
|
+
* Stock information for a specific variant, including per-location breakdown.
|
|
449
|
+
*/
|
|
309
450
|
export interface VariantStock {
|
|
310
451
|
/**
|
|
311
|
-
*
|
|
452
|
+
* The unique identifier of the variant.
|
|
312
453
|
*/
|
|
313
454
|
'id'?: string;
|
|
314
455
|
/**
|
|
315
456
|
* The product name of the variant stock
|
|
316
457
|
*/
|
|
317
458
|
'name'?: string;
|
|
459
|
+
/**
|
|
460
|
+
* A unique identifier for a specific variant (product + colour + size).
|
|
461
|
+
*/
|
|
318
462
|
'sku'?: string;
|
|
319
463
|
/**
|
|
320
|
-
* A reference to
|
|
464
|
+
* A URI reference to this variant resource.
|
|
321
465
|
*/
|
|
322
466
|
'ref'?: string;
|
|
323
467
|
/**
|
|
324
|
-
* A reference to the
|
|
468
|
+
* A URI reference to the product this variant belongs to.
|
|
325
469
|
*/
|
|
326
470
|
'productRef'?: string;
|
|
471
|
+
/**
|
|
472
|
+
* The stock levels for this variant.
|
|
473
|
+
*/
|
|
327
474
|
'stock'?: Stock;
|
|
328
475
|
}
|
|
329
476
|
export interface VariantsResponse {
|
|
@@ -340,7 +487,7 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
340
487
|
* Gets a GFN product by the given ID.
|
|
341
488
|
* @summary Get a GFN product
|
|
342
489
|
* @param {string} project What project it is
|
|
343
|
-
* @param {string} productId
|
|
490
|
+
* @param {string} productId The unique identifier of the GFN catalog product.
|
|
344
491
|
* @param {string} [fields] Filter response fields to only include a subset of the resource.
|
|
345
492
|
* @param {*} [options] Override http request option.
|
|
346
493
|
* @throws {RequiredError}
|
|
@@ -466,7 +613,7 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
466
613
|
* Gets a GFN product by the given ID.
|
|
467
614
|
* @summary Get a GFN product
|
|
468
615
|
* @param {string} project What project it is
|
|
469
|
-
* @param {string} productId
|
|
616
|
+
* @param {string} productId The unique identifier of the GFN catalog product.
|
|
470
617
|
* @param {string} [fields] Filter response fields to only include a subset of the resource.
|
|
471
618
|
* @param {*} [options] Override http request option.
|
|
472
619
|
* @throws {RequiredError}
|
|
@@ -535,6 +682,9 @@ export interface ProductsApiGetProductRequest {
|
|
|
535
682
|
*/
|
|
536
683
|
readonly project: string
|
|
537
684
|
|
|
685
|
+
/**
|
|
686
|
+
* The unique identifier of the GFN catalog product.
|
|
687
|
+
*/
|
|
538
688
|
readonly productId: string
|
|
539
689
|
|
|
540
690
|
/**
|
|
@@ -611,7 +761,7 @@ export const StatementsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
611
761
|
* Gets a GFN statement by the given ID.
|
|
612
762
|
* @summary Get a GFN statement
|
|
613
763
|
* @param {string} project What project it is
|
|
614
|
-
* @param {string} statementId
|
|
764
|
+
* @param {string} statementId The unique identifier of the GFN statement.
|
|
615
765
|
* @param {*} [options] Override http request option.
|
|
616
766
|
* @throws {RequiredError}
|
|
617
767
|
*/
|
|
@@ -727,7 +877,7 @@ export const StatementsApiFp = function(configuration?: Configuration) {
|
|
|
727
877
|
* Gets a GFN statement by the given ID.
|
|
728
878
|
* @summary Get a GFN statement
|
|
729
879
|
* @param {string} project What project it is
|
|
730
|
-
* @param {string} statementId
|
|
880
|
+
* @param {string} statementId The unique identifier of the GFN statement.
|
|
731
881
|
* @param {*} [options] Override http request option.
|
|
732
882
|
* @throws {RequiredError}
|
|
733
883
|
*/
|
|
@@ -794,6 +944,9 @@ export interface StatementsApiGetStatementRequest {
|
|
|
794
944
|
*/
|
|
795
945
|
readonly project: string
|
|
796
946
|
|
|
947
|
+
/**
|
|
948
|
+
* The unique identifier of the GFN statement.
|
|
949
|
+
*/
|
|
797
950
|
readonly statementId: string
|
|
798
951
|
}
|
|
799
952
|
|
|
@@ -909,7 +1062,7 @@ export const TransactionsApiAxiosParamCreator = function (configuration?: Config
|
|
|
909
1062
|
* Gets a GFN transaction by the given ID.
|
|
910
1063
|
* @summary Get a GFN transaction
|
|
911
1064
|
* @param {string} project What project it is
|
|
912
|
-
* @param {string} transactionId
|
|
1065
|
+
* @param {string} transactionId The unique identifier of the GFN transaction.
|
|
913
1066
|
* @param {*} [options] Override http request option.
|
|
914
1067
|
* @throws {RequiredError}
|
|
915
1068
|
*/
|
|
@@ -959,7 +1112,7 @@ export const TransactionsApiAxiosParamCreator = function (configuration?: Config
|
|
|
959
1112
|
* @param {string} project What project it is
|
|
960
1113
|
* @param {number} [pageToken] Page reference token
|
|
961
1114
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
962
|
-
* @param {string} [statementId]
|
|
1115
|
+
* @param {string} [statementId] Filter fulfillments by statement ID.
|
|
963
1116
|
* @param {*} [options] Override http request option.
|
|
964
1117
|
* @throws {RequiredError}
|
|
965
1118
|
*/
|
|
@@ -1018,8 +1171,8 @@ export const TransactionsApiAxiosParamCreator = function (configuration?: Config
|
|
|
1018
1171
|
* @param {string} project What project it is
|
|
1019
1172
|
* @param {number} [pageToken] Page reference token
|
|
1020
1173
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1021
|
-
* @param {string} [statementId]
|
|
1022
|
-
* @param {string} [fulfillmentId]
|
|
1174
|
+
* @param {string} [statementId] Filter transactions by statement ID.
|
|
1175
|
+
* @param {string} [fulfillmentId] Filter transactions by fulfillment ID.
|
|
1023
1176
|
* @param {string} [search] Search by fulfillment id
|
|
1024
1177
|
* @param {*} [options] Override http request option.
|
|
1025
1178
|
* @throws {RequiredError}
|
|
@@ -1108,7 +1261,7 @@ export const TransactionsApiFp = function(configuration?: Configuration) {
|
|
|
1108
1261
|
* Gets a GFN transaction by the given ID.
|
|
1109
1262
|
* @summary Get a GFN transaction
|
|
1110
1263
|
* @param {string} project What project it is
|
|
1111
|
-
* @param {string} transactionId
|
|
1264
|
+
* @param {string} transactionId The unique identifier of the GFN transaction.
|
|
1112
1265
|
* @param {*} [options] Override http request option.
|
|
1113
1266
|
* @throws {RequiredError}
|
|
1114
1267
|
*/
|
|
@@ -1124,7 +1277,7 @@ export const TransactionsApiFp = function(configuration?: Configuration) {
|
|
|
1124
1277
|
* @param {string} project What project it is
|
|
1125
1278
|
* @param {number} [pageToken] Page reference token
|
|
1126
1279
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1127
|
-
* @param {string} [statementId]
|
|
1280
|
+
* @param {string} [statementId] Filter fulfillments by statement ID.
|
|
1128
1281
|
* @param {*} [options] Override http request option.
|
|
1129
1282
|
* @throws {RequiredError}
|
|
1130
1283
|
*/
|
|
@@ -1140,8 +1293,8 @@ export const TransactionsApiFp = function(configuration?: Configuration) {
|
|
|
1140
1293
|
* @param {string} project What project it is
|
|
1141
1294
|
* @param {number} [pageToken] Page reference token
|
|
1142
1295
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1143
|
-
* @param {string} [statementId]
|
|
1144
|
-
* @param {string} [fulfillmentId]
|
|
1296
|
+
* @param {string} [statementId] Filter transactions by statement ID.
|
|
1297
|
+
* @param {string} [fulfillmentId] Filter transactions by fulfillment ID.
|
|
1145
1298
|
* @param {string} [search] Search by fulfillment id
|
|
1146
1299
|
* @param {*} [options] Override http request option.
|
|
1147
1300
|
* @throws {RequiredError}
|
|
@@ -1228,6 +1381,9 @@ export interface TransactionsApiGetTransactionRequest {
|
|
|
1228
1381
|
*/
|
|
1229
1382
|
readonly project: string
|
|
1230
1383
|
|
|
1384
|
+
/**
|
|
1385
|
+
* The unique identifier of the GFN transaction.
|
|
1386
|
+
*/
|
|
1231
1387
|
readonly transactionId: string
|
|
1232
1388
|
}
|
|
1233
1389
|
|
|
@@ -1250,6 +1406,9 @@ export interface TransactionsApiListFulfillmentsRequest {
|
|
|
1250
1406
|
*/
|
|
1251
1407
|
readonly pageSize?: number
|
|
1252
1408
|
|
|
1409
|
+
/**
|
|
1410
|
+
* Filter fulfillments by statement ID.
|
|
1411
|
+
*/
|
|
1253
1412
|
readonly statementId?: string
|
|
1254
1413
|
}
|
|
1255
1414
|
|
|
@@ -1272,8 +1431,14 @@ export interface TransactionsApiListTransactionsRequest {
|
|
|
1272
1431
|
*/
|
|
1273
1432
|
readonly pageSize?: number
|
|
1274
1433
|
|
|
1434
|
+
/**
|
|
1435
|
+
* Filter transactions by statement ID.
|
|
1436
|
+
*/
|
|
1275
1437
|
readonly statementId?: string
|
|
1276
1438
|
|
|
1439
|
+
/**
|
|
1440
|
+
* Filter transactions by fulfillment ID.
|
|
1441
|
+
*/
|
|
1277
1442
|
readonly fulfillmentId?: string
|
|
1278
1443
|
|
|
1279
1444
|
/**
|
package/base.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* GFN Catalog
|
|
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.9.
|
|
7
|
+
* The version of the OpenAPI document: 3.9.4
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/common.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* GFN Catalog
|
|
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.9.
|
|
7
|
+
* The version of the OpenAPI document: 3.9.4
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/configuration.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* GFN Catalog
|
|
4
4
|
* 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.
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document: 3.9.
|
|
6
|
+
* The version of the OpenAPI document: 3.9.4
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|