@teemill/gfn-catalog 1.3.0 → 2.0.0

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.
Files changed (120) hide show
  1. package/.openapi-generator/FILES +7 -19
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +3 -3
  4. package/api.ts +1646 -0
  5. package/base.ts +86 -0
  6. package/common.ts +150 -0
  7. package/configuration.ts +110 -0
  8. package/dist/api.d.ts +1074 -0
  9. package/dist/api.js +1014 -0
  10. package/dist/base.d.ts +66 -0
  11. package/dist/base.js +65 -0
  12. package/dist/common.d.ts +65 -0
  13. package/dist/common.js +161 -0
  14. package/dist/configuration.d.ts +91 -0
  15. package/dist/configuration.js +43 -0
  16. package/dist/esm/api.d.ts +1074 -0
  17. package/dist/esm/api.js +995 -0
  18. package/dist/esm/base.d.ts +66 -0
  19. package/dist/esm/{models/AttributeThumbnail.js → base.js} +38 -26
  20. package/dist/esm/common.d.ts +65 -0
  21. package/dist/esm/common.js +149 -0
  22. package/dist/esm/configuration.d.ts +91 -0
  23. package/dist/esm/configuration.js +39 -0
  24. package/dist/esm/index.d.ts +13 -3
  25. package/dist/esm/index.js +13 -3
  26. package/dist/index.d.ts +13 -3
  27. package/dist/index.js +15 -5
  28. package/git_push.sh +57 -0
  29. package/{dist/models/Stock.d.ts → index.ts} +8 -21
  30. package/package.json +15 -3
  31. package/tsconfig.json +4 -6
  32. package/dist/apis/ProductsApi.d.ts +0 -35
  33. package/dist/apis/ProductsApi.js +0 -85
  34. package/dist/apis/VariantsApi.d.ts +0 -82
  35. package/dist/apis/VariantsApi.js +0 -229
  36. package/dist/apis/index.d.ts +0 -2
  37. package/dist/apis/index.js +0 -20
  38. package/dist/esm/apis/ProductsApi.d.ts +0 -35
  39. package/dist/esm/apis/ProductsApi.js +0 -81
  40. package/dist/esm/apis/VariantsApi.d.ts +0 -82
  41. package/dist/esm/apis/VariantsApi.js +0 -225
  42. package/dist/esm/apis/index.d.ts +0 -2
  43. package/dist/esm/apis/index.js +0 -4
  44. package/dist/esm/models/ApiError.d.ts +0 -37
  45. package/dist/esm/models/ApiError.js +0 -42
  46. package/dist/esm/models/Attribute.d.ts +0 -50
  47. package/dist/esm/models/Attribute.js +0 -49
  48. package/dist/esm/models/AttributeThumbnail.d.ts +0 -46
  49. package/dist/esm/models/Image.d.ts +0 -67
  50. package/dist/esm/models/Image.js +0 -50
  51. package/dist/esm/models/Product.d.ts +0 -67
  52. package/dist/esm/models/Product.js +0 -52
  53. package/dist/esm/models/ProductsResponse.d.ts +0 -38
  54. package/dist/esm/models/ProductsResponse.js +0 -41
  55. package/dist/esm/models/Stock.d.ts +0 -31
  56. package/dist/esm/models/Stock.js +0 -38
  57. package/dist/esm/models/StockResponse.d.ts +0 -38
  58. package/dist/esm/models/StockResponse.js +0 -41
  59. package/dist/esm/models/Variant.d.ts +0 -78
  60. package/dist/esm/models/Variant.js +0 -61
  61. package/dist/esm/models/VariantManufacturerOrigin.d.ts +0 -37
  62. package/dist/esm/models/VariantManufacturerOrigin.js +0 -40
  63. package/dist/esm/models/VariantProduct.d.ts +0 -37
  64. package/dist/esm/models/VariantProduct.js +0 -40
  65. package/dist/esm/models/VariantStock.d.ts +0 -50
  66. package/dist/esm/models/VariantStock.js +0 -45
  67. package/dist/esm/models/VariantsResponse.d.ts +0 -38
  68. package/dist/esm/models/VariantsResponse.js +0 -41
  69. package/dist/esm/models/index.d.ts +0 -13
  70. package/dist/esm/models/index.js +0 -15
  71. package/dist/esm/runtime.d.ts +0 -187
  72. package/dist/esm/runtime.js +0 -333
  73. package/dist/models/ApiError.d.ts +0 -37
  74. package/dist/models/ApiError.js +0 -49
  75. package/dist/models/Attribute.d.ts +0 -50
  76. package/dist/models/Attribute.js +0 -56
  77. package/dist/models/AttributeThumbnail.d.ts +0 -46
  78. package/dist/models/AttributeThumbnail.js +0 -55
  79. package/dist/models/Image.d.ts +0 -67
  80. package/dist/models/Image.js +0 -57
  81. package/dist/models/Product.d.ts +0 -67
  82. package/dist/models/Product.js +0 -59
  83. package/dist/models/ProductsResponse.d.ts +0 -38
  84. package/dist/models/ProductsResponse.js +0 -48
  85. package/dist/models/Stock.js +0 -45
  86. package/dist/models/StockResponse.d.ts +0 -38
  87. package/dist/models/StockResponse.js +0 -48
  88. package/dist/models/Variant.d.ts +0 -78
  89. package/dist/models/Variant.js +0 -68
  90. package/dist/models/VariantManufacturerOrigin.d.ts +0 -37
  91. package/dist/models/VariantManufacturerOrigin.js +0 -47
  92. package/dist/models/VariantProduct.d.ts +0 -37
  93. package/dist/models/VariantProduct.js +0 -47
  94. package/dist/models/VariantStock.d.ts +0 -50
  95. package/dist/models/VariantStock.js +0 -52
  96. package/dist/models/VariantsResponse.d.ts +0 -38
  97. package/dist/models/VariantsResponse.js +0 -48
  98. package/dist/models/index.d.ts +0 -13
  99. package/dist/models/index.js +0 -31
  100. package/dist/runtime.d.ts +0 -187
  101. package/dist/runtime.js +0 -349
  102. package/src/apis/ProductsApi.ts +0 -113
  103. package/src/apis/VariantsApi.ts +0 -342
  104. package/src/apis/index.ts +0 -4
  105. package/src/index.ts +0 -5
  106. package/src/models/ApiError.ts +0 -69
  107. package/src/models/Attribute.ts +0 -93
  108. package/src/models/AttributeThumbnail.ts +0 -80
  109. package/src/models/Image.ts +0 -108
  110. package/src/models/Product.ts +0 -109
  111. package/src/models/ProductsResponse.ts +0 -75
  112. package/src/models/Stock.ts +0 -60
  113. package/src/models/StockResponse.ts +0 -75
  114. package/src/models/Variant.ts +0 -149
  115. package/src/models/VariantManufacturerOrigin.ts +0 -68
  116. package/src/models/VariantProduct.ts +0 -68
  117. package/src/models/VariantStock.ts +0 -91
  118. package/src/models/VariantsResponse.ts +0 -75
  119. package/src/models/index.ts +0 -15
  120. package/src/runtime.ts +0 -441
@@ -0,0 +1,1074 @@
1
+ /**
2
+ * GFN Catalog API
3
+ * Use this API to access the Global Fulfilment 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
+ *
5
+ * The version of the OpenAPI document: 2.0.0
6
+ * Contact: hello@teemill.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Configuration } from './configuration';
13
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ import type { RequestArgs } from './base';
15
+ import { BaseAPI } from './base';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface ApiError
20
+ */
21
+ export interface ApiError {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof ApiError
26
+ */
27
+ 'code'?: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof ApiError
32
+ */
33
+ 'message': string;
34
+ }
35
+ /**
36
+ *
37
+ * @export
38
+ * @interface ApiValidationError
39
+ */
40
+ export interface ApiValidationError {
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof ApiValidationError
45
+ */
46
+ 'message': string;
47
+ /**
48
+ *
49
+ * @type {{ [key: string]: Array<string>; }}
50
+ * @memberof ApiValidationError
51
+ */
52
+ 'errors': {
53
+ [key: string]: Array<string>;
54
+ };
55
+ }
56
+ /**
57
+ *
58
+ * @export
59
+ * @interface Attribute
60
+ */
61
+ export interface Attribute {
62
+ /**
63
+ * Attribute name
64
+ * @type {string}
65
+ * @memberof Attribute
66
+ */
67
+ 'name': string;
68
+ /**
69
+ * Attribute value
70
+ * @type {string}
71
+ * @memberof Attribute
72
+ */
73
+ 'value': string;
74
+ /**
75
+ *
76
+ * @type {AttributeThumbnail}
77
+ * @memberof Attribute
78
+ */
79
+ 'thumbnail'?: AttributeThumbnail;
80
+ /**
81
+ * Attribute tags
82
+ * @type {Array<string>}
83
+ * @memberof Attribute
84
+ */
85
+ 'tags'?: Array<string>;
86
+ }
87
+ /**
88
+ * Attribute thumbnail
89
+ * @export
90
+ * @interface AttributeThumbnail
91
+ */
92
+ export interface AttributeThumbnail {
93
+ /**
94
+ *
95
+ * @type {string}
96
+ * @memberof AttributeThumbnail
97
+ */
98
+ 'type'?: AttributeThumbnailTypeEnum;
99
+ /**
100
+ *
101
+ * @type {string}
102
+ * @memberof AttributeThumbnail
103
+ */
104
+ 'value'?: string;
105
+ }
106
+ export declare const AttributeThumbnailTypeEnum: {
107
+ readonly Text: "text";
108
+ readonly Color: "color";
109
+ readonly Image: "image";
110
+ };
111
+ export type AttributeThumbnailTypeEnum = typeof AttributeThumbnailTypeEnum[keyof typeof AttributeThumbnailTypeEnum];
112
+ /**
113
+ *
114
+ * @export
115
+ * @interface ExportTransactionsRequest
116
+ */
117
+ export interface ExportTransactionsRequest {
118
+ /**
119
+ * The start date for the export
120
+ * @type {string}
121
+ * @memberof ExportTransactionsRequest
122
+ */
123
+ 'start'?: string;
124
+ /**
125
+ * The end date for the export
126
+ * @type {string}
127
+ * @memberof ExportTransactionsRequest
128
+ */
129
+ 'end'?: string;
130
+ /**
131
+ * Include only transactions from this statement
132
+ * @type {string}
133
+ * @memberof ExportTransactionsRequest
134
+ */
135
+ 'statement'?: string;
136
+ }
137
+ /**
138
+ * Image description
139
+ * @export
140
+ * @interface Image
141
+ */
142
+ export interface Image {
143
+ /**
144
+ * Unique object identifier
145
+ * @type {string}
146
+ * @memberof Image
147
+ */
148
+ 'id'?: string;
149
+ /**
150
+ *
151
+ * @type {string}
152
+ * @memberof Image
153
+ */
154
+ 'src'?: string;
155
+ /**
156
+ *
157
+ * @type {string}
158
+ * @memberof Image
159
+ */
160
+ 'alt'?: string;
161
+ /**
162
+ * List of variant Ids
163
+ * @type {Array<string>}
164
+ * @memberof Image
165
+ */
166
+ 'variantIds'?: Array<string>;
167
+ /**
168
+ *
169
+ * @type {number}
170
+ * @memberof Image
171
+ */
172
+ 'sortOrder'?: number;
173
+ /**
174
+ *
175
+ * @type {string}
176
+ * @memberof Image
177
+ */
178
+ 'createdAt'?: string;
179
+ /**
180
+ *
181
+ * @type {string}
182
+ * @memberof Image
183
+ */
184
+ 'updatedAt'?: string;
185
+ }
186
+ /**
187
+ *
188
+ * @export
189
+ * @interface ListStatements200Response
190
+ */
191
+ export interface ListStatements200Response {
192
+ /**
193
+ *
194
+ * @type {Array<Statement>}
195
+ * @memberof ListStatements200Response
196
+ */
197
+ 'statements'?: Array<Statement>;
198
+ /**
199
+ *
200
+ * @type {number}
201
+ * @memberof ListStatements200Response
202
+ */
203
+ 'nextPageToken'?: number | null;
204
+ }
205
+ /**
206
+ *
207
+ * @export
208
+ * @interface ListTransactions200Response
209
+ */
210
+ export interface ListTransactions200Response {
211
+ /**
212
+ *
213
+ * @type {Array<Transaction>}
214
+ * @memberof ListTransactions200Response
215
+ */
216
+ 'transactions'?: Array<Transaction>;
217
+ /**
218
+ *
219
+ * @type {number}
220
+ * @memberof ListTransactions200Response
221
+ */
222
+ 'nextPageToken'?: number | null;
223
+ }
224
+ /**
225
+ *
226
+ * @export
227
+ * @interface Product
228
+ */
229
+ export interface Product {
230
+ /**
231
+ * Unique object identifier
232
+ * @type {string}
233
+ * @memberof Product
234
+ */
235
+ 'id'?: string;
236
+ /**
237
+ * A reference to the resource location
238
+ * @type {string}
239
+ * @memberof Product
240
+ */
241
+ 'ref'?: string;
242
+ /**
243
+ *
244
+ * @type {string}
245
+ * @memberof Product
246
+ */
247
+ 'title': string;
248
+ /**
249
+ *
250
+ * @type {string}
251
+ * @memberof Product
252
+ */
253
+ 'styleCode'?: string;
254
+ /**
255
+ *
256
+ * @type {string}
257
+ * @memberof Product
258
+ */
259
+ 'material'?: string;
260
+ /**
261
+ *
262
+ * @type {string}
263
+ * @memberof Product
264
+ */
265
+ 'description'?: string;
266
+ /**
267
+ *
268
+ * @type {string}
269
+ * @memberof Product
270
+ */
271
+ 'specifications'?: string;
272
+ }
273
+ /**
274
+ *
275
+ * @export
276
+ * @interface ProductsResponse
277
+ */
278
+ export interface ProductsResponse {
279
+ /**
280
+ *
281
+ * @type {Array<Product>}
282
+ * @memberof ProductsResponse
283
+ */
284
+ 'products'?: Array<Product>;
285
+ /**
286
+ *
287
+ * @type {number}
288
+ * @memberof ProductsResponse
289
+ */
290
+ 'nextPageToken'?: number;
291
+ }
292
+ /**
293
+ *
294
+ * @export
295
+ * @interface Statement
296
+ */
297
+ export interface Statement {
298
+ /**
299
+ * Unique object identifier
300
+ * @type {string}
301
+ * @memberof Statement
302
+ */
303
+ 'id': string;
304
+ /**
305
+ * A reference to the resource location
306
+ * @type {string}
307
+ * @memberof Statement
308
+ */
309
+ 'ref': string;
310
+ /**
311
+ *
312
+ * @type {number}
313
+ * @memberof Statement
314
+ */
315
+ 'total': number;
316
+ /**
317
+ *
318
+ * @type {string}
319
+ * @memberof Statement
320
+ */
321
+ 'startDate': string;
322
+ /**
323
+ *
324
+ * @type {string}
325
+ * @memberof Statement
326
+ */
327
+ 'endDate': string;
328
+ /**
329
+ *
330
+ * @type {string}
331
+ * @memberof Statement
332
+ */
333
+ 'createdAt': string;
334
+ }
335
+ /**
336
+ *
337
+ * @export
338
+ * @interface Stock
339
+ */
340
+ export interface Stock {
341
+ /**
342
+ * Current stock level
343
+ * @type {number}
344
+ * @memberof Stock
345
+ */
346
+ 'level'?: number;
347
+ }
348
+ /**
349
+ *
350
+ * @export
351
+ * @interface StockResponse
352
+ */
353
+ export interface StockResponse {
354
+ /**
355
+ *
356
+ * @type {Array<VariantStock>}
357
+ * @memberof StockResponse
358
+ */
359
+ 'variants'?: Array<VariantStock>;
360
+ /**
361
+ *
362
+ * @type {number}
363
+ * @memberof StockResponse
364
+ */
365
+ 'nextPageToken'?: number;
366
+ }
367
+ /**
368
+ *
369
+ * @export
370
+ * @interface Transaction
371
+ */
372
+ export interface Transaction {
373
+ /**
374
+ * Unique object identifier
375
+ * @type {string}
376
+ * @memberof Transaction
377
+ */
378
+ 'id': string;
379
+ /**
380
+ * A reference to the resource location
381
+ * @type {string}
382
+ * @memberof Transaction
383
+ */
384
+ 'ref': string;
385
+ /**
386
+ * A reference to the resource location
387
+ * @type {string}
388
+ * @memberof Transaction
389
+ */
390
+ 'statement'?: string;
391
+ /**
392
+ *
393
+ * @type {TransactionOrder}
394
+ * @memberof Transaction
395
+ */
396
+ 'order': TransactionOrder;
397
+ /**
398
+ *
399
+ * @type {TransactionOrder}
400
+ * @memberof Transaction
401
+ */
402
+ 'fulfillment'?: TransactionOrder;
403
+ /**
404
+ *
405
+ * @type {number}
406
+ * @memberof Transaction
407
+ */
408
+ 'total': number;
409
+ /**
410
+ *
411
+ * @type {string}
412
+ * @memberof Transaction
413
+ */
414
+ 'issuedAt': string;
415
+ }
416
+ /**
417
+ *
418
+ * @export
419
+ * @interface TransactionOrder
420
+ */
421
+ export interface TransactionOrder {
422
+ /**
423
+ * A reference to the resource location
424
+ * @type {string}
425
+ * @memberof TransactionOrder
426
+ */
427
+ 'ref': string;
428
+ /**
429
+ * A reference to the resource location
430
+ * @type {string}
431
+ * @memberof TransactionOrder
432
+ */
433
+ 'project': string;
434
+ }
435
+ /**
436
+ *
437
+ * @export
438
+ * @interface Variant
439
+ */
440
+ export interface Variant {
441
+ /**
442
+ * Unique object identifier
443
+ * @type {string}
444
+ * @memberof Variant
445
+ */
446
+ 'id'?: string;
447
+ /**
448
+ * A reference to the resource location
449
+ * @type {string}
450
+ * @memberof Variant
451
+ */
452
+ 'ref'?: string;
453
+ /**
454
+ *
455
+ * @type {VariantProduct}
456
+ * @memberof Variant
457
+ */
458
+ 'product'?: VariantProduct;
459
+ /**
460
+ *
461
+ * @type {string}
462
+ * @memberof Variant
463
+ */
464
+ 'sku': string;
465
+ /**
466
+ * 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.
467
+ * @type {Array<Attribute>}
468
+ * @memberof Variant
469
+ */
470
+ 'attributes': Array<Attribute>;
471
+ /**
472
+ *
473
+ * @type {VariantManufacturerOrigin}
474
+ * @memberof Variant
475
+ */
476
+ 'manufacturerOrigin'?: VariantManufacturerOrigin;
477
+ /**
478
+ *
479
+ * @type {Stock}
480
+ * @memberof Variant
481
+ */
482
+ 'stock'?: Stock;
483
+ /**
484
+ * Images
485
+ * @type {Array<Image>}
486
+ * @memberof Variant
487
+ */
488
+ 'images'?: Array<Image>;
489
+ }
490
+ /**
491
+ * Where the product was originally produced or manufactured
492
+ * @export
493
+ * @interface VariantManufacturerOrigin
494
+ */
495
+ export interface VariantManufacturerOrigin {
496
+ /**
497
+ * Country of origin (ISO 3166-1 alpha-2).
498
+ * @type {string}
499
+ * @memberof VariantManufacturerOrigin
500
+ */
501
+ 'country'?: string;
502
+ /**
503
+ * Name of the country of origin
504
+ * @type {string}
505
+ * @memberof VariantManufacturerOrigin
506
+ */
507
+ 'name'?: string;
508
+ }
509
+ /**
510
+ *
511
+ * @export
512
+ * @interface VariantProduct
513
+ */
514
+ export interface VariantProduct {
515
+ /**
516
+ * Unique object identifier
517
+ * @type {string}
518
+ * @memberof VariantProduct
519
+ */
520
+ 'id'?: string;
521
+ /**
522
+ * A reference to the resource location
523
+ * @type {string}
524
+ * @memberof VariantProduct
525
+ */
526
+ 'ref'?: string;
527
+ }
528
+ /**
529
+ *
530
+ * @export
531
+ * @interface VariantStock
532
+ */
533
+ export interface VariantStock {
534
+ /**
535
+ * Unique object identifier
536
+ * @type {string}
537
+ * @memberof VariantStock
538
+ */
539
+ 'id'?: string;
540
+ /**
541
+ * A reference to the resource location
542
+ * @type {string}
543
+ * @memberof VariantStock
544
+ */
545
+ 'ref'?: string;
546
+ /**
547
+ * A reference to the resource location
548
+ * @type {string}
549
+ * @memberof VariantStock
550
+ */
551
+ 'productRef'?: string;
552
+ /**
553
+ *
554
+ * @type {Stock}
555
+ * @memberof VariantStock
556
+ */
557
+ 'stock'?: Stock;
558
+ }
559
+ /**
560
+ *
561
+ * @export
562
+ * @interface VariantsResponse
563
+ */
564
+ export interface VariantsResponse {
565
+ /**
566
+ *
567
+ * @type {Array<Variant>}
568
+ * @memberof VariantsResponse
569
+ */
570
+ 'variants'?: Array<Variant>;
571
+ /**
572
+ *
573
+ * @type {number}
574
+ * @memberof VariantsResponse
575
+ */
576
+ 'nextPageToken'?: number;
577
+ }
578
+ /**
579
+ * ProductsApi - axios parameter creator
580
+ * @export
581
+ */
582
+ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuration) => {
583
+ /**
584
+ * Lists all GFN products available to the project. Can be filtered by style codes using the search parameter.
585
+ * @summary List GFN products
586
+ * @param {string} project What project it is
587
+ * @param {number} [pageToken] Page reference token
588
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
589
+ * @param {string} [fields] Filter response fields to only include a subset of the resource.
590
+ * @param {string} [search] Search terms to filter based on.
591
+ * @param {*} [options] Override http request option.
592
+ * @throws {RequiredError}
593
+ */
594
+ listProducts: (project: string, pageToken?: number, pageSize?: number, fields?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
595
+ };
596
+ /**
597
+ * ProductsApi - functional programming interface
598
+ * @export
599
+ */
600
+ export declare const ProductsApiFp: (configuration?: Configuration) => {
601
+ /**
602
+ * Lists all GFN products available to the project. Can be filtered by style codes using the search parameter.
603
+ * @summary List GFN products
604
+ * @param {string} project What project it is
605
+ * @param {number} [pageToken] Page reference token
606
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
607
+ * @param {string} [fields] Filter response fields to only include a subset of the resource.
608
+ * @param {string} [search] Search terms to filter based on.
609
+ * @param {*} [options] Override http request option.
610
+ * @throws {RequiredError}
611
+ */
612
+ listProducts(project: string, pageToken?: number, pageSize?: number, fields?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductsResponse>>;
613
+ };
614
+ /**
615
+ * ProductsApi - factory interface
616
+ * @export
617
+ */
618
+ export declare const ProductsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
619
+ /**
620
+ * Lists all GFN products available to the project. Can be filtered by style codes using the search parameter.
621
+ * @summary List GFN products
622
+ * @param {string} project What project it is
623
+ * @param {number} [pageToken] Page reference token
624
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
625
+ * @param {string} [fields] Filter response fields to only include a subset of the resource.
626
+ * @param {string} [search] Search terms to filter based on.
627
+ * @param {*} [options] Override http request option.
628
+ * @throws {RequiredError}
629
+ */
630
+ listProducts(project: string, pageToken?: number, pageSize?: number, fields?: string, search?: string, options?: any): AxiosPromise<ProductsResponse>;
631
+ };
632
+ /**
633
+ * ProductsApi - object-oriented interface
634
+ * @export
635
+ * @class ProductsApi
636
+ * @extends {BaseAPI}
637
+ */
638
+ export declare class ProductsApi extends BaseAPI {
639
+ /**
640
+ * Lists all GFN products available to the project. Can be filtered by style codes using the search parameter.
641
+ * @summary List GFN products
642
+ * @param {string} project What project it is
643
+ * @param {number} [pageToken] Page reference token
644
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
645
+ * @param {string} [fields] Filter response fields to only include a subset of the resource.
646
+ * @param {string} [search] Search terms to filter based on.
647
+ * @param {*} [options] Override http request option.
648
+ * @throws {RequiredError}
649
+ * @memberof ProductsApi
650
+ */
651
+ listProducts(project: string, pageToken?: number, pageSize?: number, fields?: string, search?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductsResponse, any>>;
652
+ }
653
+ /**
654
+ * StatementsApi - axios parameter creator
655
+ * @export
656
+ */
657
+ export declare const StatementsApiAxiosParamCreator: (configuration?: Configuration) => {
658
+ /**
659
+ * Gets a GFN statement by the given ID.
660
+ * @summary Get a GFN statement
661
+ * @param {string} project What project it is
662
+ * @param {string} statementId
663
+ * @param {*} [options] Override http request option.
664
+ * @throws {RequiredError}
665
+ */
666
+ getStatement: (project: string, statementId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
667
+ /**
668
+ * Lists GFN statements available to the project
669
+ * @summary List GFN statements
670
+ * @param {string} project What project it is
671
+ * @param {number} [pageToken] Page reference token
672
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
673
+ * @param {string} [search] Search term used to filter results by
674
+ * @param {*} [options] Override http request option.
675
+ * @throws {RequiredError}
676
+ */
677
+ listStatements: (project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
678
+ };
679
+ /**
680
+ * StatementsApi - functional programming interface
681
+ * @export
682
+ */
683
+ export declare const StatementsApiFp: (configuration?: Configuration) => {
684
+ /**
685
+ * Gets a GFN statement by the given ID.
686
+ * @summary Get a GFN statement
687
+ * @param {string} project What project it is
688
+ * @param {string} statementId
689
+ * @param {*} [options] Override http request option.
690
+ * @throws {RequiredError}
691
+ */
692
+ getStatement(project: string, statementId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Statement>>;
693
+ /**
694
+ * Lists GFN statements available to the project
695
+ * @summary List GFN statements
696
+ * @param {string} project What project it is
697
+ * @param {number} [pageToken] Page reference token
698
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
699
+ * @param {string} [search] Search term used to filter results by
700
+ * @param {*} [options] Override http request option.
701
+ * @throws {RequiredError}
702
+ */
703
+ listStatements(project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListStatements200Response>>;
704
+ };
705
+ /**
706
+ * StatementsApi - factory interface
707
+ * @export
708
+ */
709
+ export declare const StatementsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
710
+ /**
711
+ * Gets a GFN statement by the given ID.
712
+ * @summary Get a GFN statement
713
+ * @param {string} project What project it is
714
+ * @param {string} statementId
715
+ * @param {*} [options] Override http request option.
716
+ * @throws {RequiredError}
717
+ */
718
+ getStatement(project: string, statementId: string, options?: any): AxiosPromise<Statement>;
719
+ /**
720
+ * Lists GFN statements available to the project
721
+ * @summary List GFN statements
722
+ * @param {string} project What project it is
723
+ * @param {number} [pageToken] Page reference token
724
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
725
+ * @param {string} [search] Search term used to filter results by
726
+ * @param {*} [options] Override http request option.
727
+ * @throws {RequiredError}
728
+ */
729
+ listStatements(project: string, pageToken?: number, pageSize?: number, search?: string, options?: any): AxiosPromise<ListStatements200Response>;
730
+ };
731
+ /**
732
+ * StatementsApi - object-oriented interface
733
+ * @export
734
+ * @class StatementsApi
735
+ * @extends {BaseAPI}
736
+ */
737
+ export declare class StatementsApi extends BaseAPI {
738
+ /**
739
+ * Gets a GFN statement by the given ID.
740
+ * @summary Get a GFN statement
741
+ * @param {string} project What project it is
742
+ * @param {string} statementId
743
+ * @param {*} [options] Override http request option.
744
+ * @throws {RequiredError}
745
+ * @memberof StatementsApi
746
+ */
747
+ getStatement(project: string, statementId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Statement, any>>;
748
+ /**
749
+ * Lists GFN statements available to the project
750
+ * @summary List GFN statements
751
+ * @param {string} project What project it is
752
+ * @param {number} [pageToken] Page reference token
753
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
754
+ * @param {string} [search] Search term used to filter results by
755
+ * @param {*} [options] Override http request option.
756
+ * @throws {RequiredError}
757
+ * @memberof StatementsApi
758
+ */
759
+ listStatements(project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListStatements200Response, any>>;
760
+ }
761
+ /**
762
+ * TransactionsApi - axios parameter creator
763
+ * @export
764
+ */
765
+ export declare const TransactionsApiAxiosParamCreator: (configuration?: Configuration) => {
766
+ /**
767
+ * Exports all GFN transactions available to the project
768
+ * @summary Export GFN transactions
769
+ * @param {string} project What project it is
770
+ * @param {ExportTransactionsRequest} exportTransactionsRequest Period selection data for the export
771
+ * @param {*} [options] Override http request option.
772
+ * @throws {RequiredError}
773
+ */
774
+ exportTransactions: (project: string, exportTransactionsRequest: ExportTransactionsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
775
+ /**
776
+ * Lists all GFN transactions available to the project
777
+ * @summary List GFN transactions
778
+ * @param {string} project What project it is
779
+ * @param {number} [pageToken] Page reference token
780
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
781
+ * @param {string} [statementId]
782
+ * @param {*} [options] Override http request option.
783
+ * @throws {RequiredError}
784
+ */
785
+ listTransactions: (project: string, pageToken?: number, pageSize?: number, statementId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
786
+ };
787
+ /**
788
+ * TransactionsApi - functional programming interface
789
+ * @export
790
+ */
791
+ export declare const TransactionsApiFp: (configuration?: Configuration) => {
792
+ /**
793
+ * Exports all GFN transactions available to the project
794
+ * @summary Export GFN transactions
795
+ * @param {string} project What project it is
796
+ * @param {ExportTransactionsRequest} exportTransactionsRequest Period selection data for the export
797
+ * @param {*} [options] Override http request option.
798
+ * @throws {RequiredError}
799
+ */
800
+ exportTransactions(project: string, exportTransactionsRequest: ExportTransactionsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
801
+ /**
802
+ * Lists all GFN transactions available to the project
803
+ * @summary List GFN transactions
804
+ * @param {string} project What project it is
805
+ * @param {number} [pageToken] Page reference token
806
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
807
+ * @param {string} [statementId]
808
+ * @param {*} [options] Override http request option.
809
+ * @throws {RequiredError}
810
+ */
811
+ listTransactions(project: string, pageToken?: number, pageSize?: number, statementId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTransactions200Response>>;
812
+ };
813
+ /**
814
+ * TransactionsApi - factory interface
815
+ * @export
816
+ */
817
+ export declare const TransactionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
818
+ /**
819
+ * Exports all GFN transactions available to the project
820
+ * @summary Export GFN transactions
821
+ * @param {string} project What project it is
822
+ * @param {ExportTransactionsRequest} exportTransactionsRequest Period selection data for the export
823
+ * @param {*} [options] Override http request option.
824
+ * @throws {RequiredError}
825
+ */
826
+ exportTransactions(project: string, exportTransactionsRequest: ExportTransactionsRequest, options?: any): AxiosPromise<File>;
827
+ /**
828
+ * Lists all GFN transactions available to the project
829
+ * @summary List GFN transactions
830
+ * @param {string} project What project it is
831
+ * @param {number} [pageToken] Page reference token
832
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
833
+ * @param {string} [statementId]
834
+ * @param {*} [options] Override http request option.
835
+ * @throws {RequiredError}
836
+ */
837
+ listTransactions(project: string, pageToken?: number, pageSize?: number, statementId?: string, options?: any): AxiosPromise<ListTransactions200Response>;
838
+ };
839
+ /**
840
+ * TransactionsApi - object-oriented interface
841
+ * @export
842
+ * @class TransactionsApi
843
+ * @extends {BaseAPI}
844
+ */
845
+ export declare class TransactionsApi extends BaseAPI {
846
+ /**
847
+ * Exports all GFN transactions available to the project
848
+ * @summary Export GFN transactions
849
+ * @param {string} project What project it is
850
+ * @param {ExportTransactionsRequest} exportTransactionsRequest Period selection data for the export
851
+ * @param {*} [options] Override http request option.
852
+ * @throws {RequiredError}
853
+ * @memberof TransactionsApi
854
+ */
855
+ exportTransactions(project: string, exportTransactionsRequest: ExportTransactionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
856
+ /**
857
+ * Lists all GFN transactions available to the project
858
+ * @summary List GFN transactions
859
+ * @param {string} project What project it is
860
+ * @param {number} [pageToken] Page reference token
861
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
862
+ * @param {string} [statementId]
863
+ * @param {*} [options] Override http request option.
864
+ * @throws {RequiredError}
865
+ * @memberof TransactionsApi
866
+ */
867
+ listTransactions(project: string, pageToken?: number, pageSize?: number, statementId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTransactions200Response, any>>;
868
+ }
869
+ /**
870
+ * VariantsApi - axios parameter creator
871
+ * @export
872
+ */
873
+ export declare const VariantsApiAxiosParamCreator: (configuration?: Configuration) => {
874
+ /**
875
+ * Gets the stock level for the GFN variant with the given ID.
876
+ * @summary Get GFN variant stock
877
+ * @param {string} project What project it is
878
+ * @param {string} variantId Variants unique identifier
879
+ * @param {string} [fulfillmentProjects] Fetch stock levels from specific fulfiller projects
880
+ * @param {*} [options] Override http request option.
881
+ * @throws {RequiredError}
882
+ */
883
+ getStock: (project: string, variantId: string, fulfillmentProjects?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
884
+ /**
885
+ * Gets a GFN variant by the given ID.
886
+ * @summary Get a GFN variant
887
+ * @param {string} project What project it is
888
+ * @param {string} variantId Variants unique identifier
889
+ * @param {string} [fields] Filter response fields to only include a subset of the resource.
890
+ * @param {*} [options] Override http request option.
891
+ * @throws {RequiredError}
892
+ */
893
+ getVariant: (project: string, variantId: string, fields?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
894
+ /**
895
+ * Lists the stock levels for all GFN variants available to the project.
896
+ * @summary List GFN variant stock
897
+ * @param {string} project What project it is
898
+ * @param {string} [fulfillmentProjects] Fetch stock levels from specific fulfiller projects
899
+ * @param {number} [pageToken] Page reference token
900
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
901
+ * @param {string} [search] Search terms to filter based on.
902
+ * @param {*} [options] Override http request option.
903
+ * @throws {RequiredError}
904
+ */
905
+ listStock: (project: string, fulfillmentProjects?: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
906
+ /**
907
+ * Lists all GFN variants available to the project. Can be filtered by product ID, SKU, and attribute values using the search parameter.
908
+ * @summary List GFN variants
909
+ * @param {string} project What project it is
910
+ * @param {number} [pageToken] Page reference token
911
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
912
+ * @param {string} [fields] Filter response fields to only include a subset of the resource.
913
+ * @param {string} [search] Search terms to filter based on.
914
+ * @param {*} [options] Override http request option.
915
+ * @throws {RequiredError}
916
+ */
917
+ listVariants: (project: string, pageToken?: number, pageSize?: number, fields?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
918
+ };
919
+ /**
920
+ * VariantsApi - functional programming interface
921
+ * @export
922
+ */
923
+ export declare const VariantsApiFp: (configuration?: Configuration) => {
924
+ /**
925
+ * Gets the stock level for the GFN variant with the given ID.
926
+ * @summary Get GFN variant stock
927
+ * @param {string} project What project it is
928
+ * @param {string} variantId Variants unique identifier
929
+ * @param {string} [fulfillmentProjects] Fetch stock levels from specific fulfiller projects
930
+ * @param {*} [options] Override http request option.
931
+ * @throws {RequiredError}
932
+ */
933
+ getStock(project: string, variantId: string, fulfillmentProjects?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VariantStock>>;
934
+ /**
935
+ * Gets a GFN variant by the given ID.
936
+ * @summary Get a GFN variant
937
+ * @param {string} project What project it is
938
+ * @param {string} variantId Variants unique identifier
939
+ * @param {string} [fields] Filter response fields to only include a subset of the resource.
940
+ * @param {*} [options] Override http request option.
941
+ * @throws {RequiredError}
942
+ */
943
+ getVariant(project: string, variantId: string, fields?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Variant>>;
944
+ /**
945
+ * Lists the stock levels for all GFN variants available to the project.
946
+ * @summary List GFN variant stock
947
+ * @param {string} project What project it is
948
+ * @param {string} [fulfillmentProjects] Fetch stock levels from specific fulfiller projects
949
+ * @param {number} [pageToken] Page reference token
950
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
951
+ * @param {string} [search] Search terms to filter based on.
952
+ * @param {*} [options] Override http request option.
953
+ * @throws {RequiredError}
954
+ */
955
+ listStock(project: string, fulfillmentProjects?: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StockResponse>>;
956
+ /**
957
+ * Lists all GFN variants available to the project. Can be filtered by product ID, SKU, and attribute values using the search parameter.
958
+ * @summary List GFN variants
959
+ * @param {string} project What project it is
960
+ * @param {number} [pageToken] Page reference token
961
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
962
+ * @param {string} [fields] Filter response fields to only include a subset of the resource.
963
+ * @param {string} [search] Search terms to filter based on.
964
+ * @param {*} [options] Override http request option.
965
+ * @throws {RequiredError}
966
+ */
967
+ listVariants(project: string, pageToken?: number, pageSize?: number, fields?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VariantsResponse>>;
968
+ };
969
+ /**
970
+ * VariantsApi - factory interface
971
+ * @export
972
+ */
973
+ export declare const VariantsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
974
+ /**
975
+ * Gets the stock level for the GFN variant with the given ID.
976
+ * @summary Get GFN variant stock
977
+ * @param {string} project What project it is
978
+ * @param {string} variantId Variants unique identifier
979
+ * @param {string} [fulfillmentProjects] Fetch stock levels from specific fulfiller projects
980
+ * @param {*} [options] Override http request option.
981
+ * @throws {RequiredError}
982
+ */
983
+ getStock(project: string, variantId: string, fulfillmentProjects?: string, options?: any): AxiosPromise<VariantStock>;
984
+ /**
985
+ * Gets a GFN variant by the given ID.
986
+ * @summary Get a GFN variant
987
+ * @param {string} project What project it is
988
+ * @param {string} variantId Variants unique identifier
989
+ * @param {string} [fields] Filter response fields to only include a subset of the resource.
990
+ * @param {*} [options] Override http request option.
991
+ * @throws {RequiredError}
992
+ */
993
+ getVariant(project: string, variantId: string, fields?: string, options?: any): AxiosPromise<Variant>;
994
+ /**
995
+ * Lists the stock levels for all GFN variants available to the project.
996
+ * @summary List GFN variant stock
997
+ * @param {string} project What project it is
998
+ * @param {string} [fulfillmentProjects] Fetch stock levels from specific fulfiller projects
999
+ * @param {number} [pageToken] Page reference token
1000
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
1001
+ * @param {string} [search] Search terms to filter based on.
1002
+ * @param {*} [options] Override http request option.
1003
+ * @throws {RequiredError}
1004
+ */
1005
+ listStock(project: string, fulfillmentProjects?: string, pageToken?: number, pageSize?: number, search?: string, options?: any): AxiosPromise<StockResponse>;
1006
+ /**
1007
+ * Lists all GFN variants available to the project. Can be filtered by product ID, SKU, and attribute values using the search parameter.
1008
+ * @summary List GFN variants
1009
+ * @param {string} project What project it is
1010
+ * @param {number} [pageToken] Page reference token
1011
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
1012
+ * @param {string} [fields] Filter response fields to only include a subset of the resource.
1013
+ * @param {string} [search] Search terms to filter based on.
1014
+ * @param {*} [options] Override http request option.
1015
+ * @throws {RequiredError}
1016
+ */
1017
+ listVariants(project: string, pageToken?: number, pageSize?: number, fields?: string, search?: string, options?: any): AxiosPromise<VariantsResponse>;
1018
+ };
1019
+ /**
1020
+ * VariantsApi - object-oriented interface
1021
+ * @export
1022
+ * @class VariantsApi
1023
+ * @extends {BaseAPI}
1024
+ */
1025
+ export declare class VariantsApi extends BaseAPI {
1026
+ /**
1027
+ * Gets the stock level for the GFN variant with the given ID.
1028
+ * @summary Get GFN variant stock
1029
+ * @param {string} project What project it is
1030
+ * @param {string} variantId Variants unique identifier
1031
+ * @param {string} [fulfillmentProjects] Fetch stock levels from specific fulfiller projects
1032
+ * @param {*} [options] Override http request option.
1033
+ * @throws {RequiredError}
1034
+ * @memberof VariantsApi
1035
+ */
1036
+ getStock(project: string, variantId: string, fulfillmentProjects?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VariantStock, any>>;
1037
+ /**
1038
+ * Gets a GFN variant by the given ID.
1039
+ * @summary Get a GFN variant
1040
+ * @param {string} project What project it is
1041
+ * @param {string} variantId Variants unique identifier
1042
+ * @param {string} [fields] Filter response fields to only include a subset of the resource.
1043
+ * @param {*} [options] Override http request option.
1044
+ * @throws {RequiredError}
1045
+ * @memberof VariantsApi
1046
+ */
1047
+ getVariant(project: string, variantId: string, fields?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Variant, any>>;
1048
+ /**
1049
+ * Lists the stock levels for all GFN variants available to the project.
1050
+ * @summary List GFN variant stock
1051
+ * @param {string} project What project it is
1052
+ * @param {string} [fulfillmentProjects] Fetch stock levels from specific fulfiller projects
1053
+ * @param {number} [pageToken] Page reference token
1054
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
1055
+ * @param {string} [search] Search terms to filter based on.
1056
+ * @param {*} [options] Override http request option.
1057
+ * @throws {RequiredError}
1058
+ * @memberof VariantsApi
1059
+ */
1060
+ listStock(project: string, fulfillmentProjects?: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StockResponse, any>>;
1061
+ /**
1062
+ * Lists all GFN variants available to the project. Can be filtered by product ID, SKU, and attribute values using the search parameter.
1063
+ * @summary List GFN variants
1064
+ * @param {string} project What project it is
1065
+ * @param {number} [pageToken] Page reference token
1066
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
1067
+ * @param {string} [fields] Filter response fields to only include a subset of the resource.
1068
+ * @param {string} [search] Search terms to filter based on.
1069
+ * @param {*} [options] Override http request option.
1070
+ * @throws {RequiredError}
1071
+ * @memberof VariantsApi
1072
+ */
1073
+ listVariants(project: string, pageToken?: number, pageSize?: number, fields?: string, search?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VariantsResponse, any>>;
1074
+ }