@teemill/gfn-catalog 1.4.0 → 2.0.2
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/FILES +6 -28
- package/README.md +3 -3
- package/api.ts +1892 -0
- package/base.ts +86 -0
- package/common.ts +150 -0
- package/configuration.ts +110 -0
- package/dist/api.d.ts +1287 -0
- package/dist/api.js +966 -0
- package/dist/base.d.ts +66 -0
- package/dist/base.js +65 -0
- package/dist/common.d.ts +65 -0
- package/dist/common.js +161 -0
- package/dist/configuration.d.ts +91 -0
- package/dist/configuration.js +43 -0
- package/dist/esm/api.d.ts +1287 -0
- package/dist/esm/api.js +947 -0
- package/dist/esm/base.d.ts +66 -0
- package/dist/esm/{models/AttributeThumbnail.js → base.js} +38 -26
- package/dist/esm/common.d.ts +65 -0
- package/dist/esm/common.js +149 -0
- package/dist/esm/configuration.d.ts +91 -0
- package/dist/esm/configuration.js +39 -0
- package/dist/esm/index.d.ts +13 -3
- package/dist/esm/index.js +13 -3
- package/dist/index.d.ts +13 -3
- package/dist/index.js +15 -5
- package/git_push.sh +57 -0
- package/{dist/models/Stock.d.ts → index.ts} +8 -21
- package/package.json +14 -2
- package/tsconfig.json +4 -6
- package/dist/apis/ProductsApi.d.ts +0 -35
- package/dist/apis/ProductsApi.js +0 -85
- package/dist/apis/StatementsApi.d.ts +0 -48
- package/dist/apis/StatementsApi.js +0 -127
- package/dist/apis/TransactionsApi.d.ts +0 -48
- package/dist/apis/TransactionsApi.js +0 -129
- package/dist/apis/VariantsApi.d.ts +0 -82
- package/dist/apis/VariantsApi.js +0 -229
- package/dist/apis/index.d.ts +0 -4
- package/dist/apis/index.js +0 -22
- package/dist/esm/apis/ProductsApi.d.ts +0 -35
- package/dist/esm/apis/ProductsApi.js +0 -81
- package/dist/esm/apis/StatementsApi.d.ts +0 -48
- package/dist/esm/apis/StatementsApi.js +0 -123
- package/dist/esm/apis/TransactionsApi.d.ts +0 -48
- package/dist/esm/apis/TransactionsApi.js +0 -125
- package/dist/esm/apis/VariantsApi.d.ts +0 -82
- package/dist/esm/apis/VariantsApi.js +0 -225
- package/dist/esm/apis/index.d.ts +0 -4
- package/dist/esm/apis/index.js +0 -6
- package/dist/esm/models/ApiError.d.ts +0 -37
- package/dist/esm/models/ApiError.js +0 -42
- package/dist/esm/models/ApiValidationError.d.ts +0 -39
- package/dist/esm/models/ApiValidationError.js +0 -44
- package/dist/esm/models/Attribute.d.ts +0 -50
- package/dist/esm/models/Attribute.js +0 -49
- package/dist/esm/models/AttributeThumbnail.d.ts +0 -46
- package/dist/esm/models/ExportTransactionsRequest.d.ts +0 -43
- package/dist/esm/models/ExportTransactionsRequest.js +0 -42
- package/dist/esm/models/Image.d.ts +0 -67
- package/dist/esm/models/Image.js +0 -50
- package/dist/esm/models/ListStatements200Response.d.ts +0 -38
- package/dist/esm/models/ListStatements200Response.js +0 -41
- package/dist/esm/models/ListTransactions200Response.d.ts +0 -38
- package/dist/esm/models/ListTransactions200Response.js +0 -41
- package/dist/esm/models/Product.d.ts +0 -67
- package/dist/esm/models/Product.js +0 -52
- package/dist/esm/models/ProductsResponse.d.ts +0 -38
- package/dist/esm/models/ProductsResponse.js +0 -41
- package/dist/esm/models/Statement.d.ts +0 -61
- package/dist/esm/models/Statement.js +0 -60
- package/dist/esm/models/Stock.d.ts +0 -31
- package/dist/esm/models/Stock.js +0 -38
- package/dist/esm/models/StockResponse.d.ts +0 -38
- package/dist/esm/models/StockResponse.js +0 -41
- package/dist/esm/models/Transaction.d.ts +0 -68
- package/dist/esm/models/Transaction.js +0 -61
- package/dist/esm/models/TransactionOrder.d.ts +0 -37
- package/dist/esm/models/TransactionOrder.js +0 -44
- package/dist/esm/models/Variant.d.ts +0 -78
- package/dist/esm/models/Variant.js +0 -61
- package/dist/esm/models/VariantManufacturerOrigin.d.ts +0 -37
- package/dist/esm/models/VariantManufacturerOrigin.js +0 -40
- package/dist/esm/models/VariantProduct.d.ts +0 -37
- package/dist/esm/models/VariantProduct.js +0 -40
- package/dist/esm/models/VariantStock.d.ts +0 -50
- package/dist/esm/models/VariantStock.js +0 -45
- package/dist/esm/models/VariantsResponse.d.ts +0 -38
- package/dist/esm/models/VariantsResponse.js +0 -41
- package/dist/esm/models/index.d.ts +0 -20
- package/dist/esm/models/index.js +0 -22
- package/dist/esm/runtime.d.ts +0 -187
- package/dist/esm/runtime.js +0 -333
- package/dist/models/ApiError.d.ts +0 -37
- package/dist/models/ApiError.js +0 -49
- package/dist/models/ApiValidationError.d.ts +0 -39
- package/dist/models/ApiValidationError.js +0 -51
- package/dist/models/Attribute.d.ts +0 -50
- package/dist/models/Attribute.js +0 -56
- package/dist/models/AttributeThumbnail.d.ts +0 -46
- package/dist/models/AttributeThumbnail.js +0 -55
- package/dist/models/ExportTransactionsRequest.d.ts +0 -43
- package/dist/models/ExportTransactionsRequest.js +0 -49
- package/dist/models/Image.d.ts +0 -67
- package/dist/models/Image.js +0 -57
- package/dist/models/ListStatements200Response.d.ts +0 -38
- package/dist/models/ListStatements200Response.js +0 -48
- package/dist/models/ListTransactions200Response.d.ts +0 -38
- package/dist/models/ListTransactions200Response.js +0 -48
- package/dist/models/Product.d.ts +0 -67
- package/dist/models/Product.js +0 -59
- package/dist/models/ProductsResponse.d.ts +0 -38
- package/dist/models/ProductsResponse.js +0 -48
- package/dist/models/Statement.d.ts +0 -61
- package/dist/models/Statement.js +0 -67
- package/dist/models/Stock.js +0 -45
- package/dist/models/StockResponse.d.ts +0 -38
- package/dist/models/StockResponse.js +0 -48
- package/dist/models/Transaction.d.ts +0 -68
- package/dist/models/Transaction.js +0 -68
- package/dist/models/TransactionOrder.d.ts +0 -37
- package/dist/models/TransactionOrder.js +0 -51
- package/dist/models/Variant.d.ts +0 -78
- package/dist/models/Variant.js +0 -68
- package/dist/models/VariantManufacturerOrigin.d.ts +0 -37
- package/dist/models/VariantManufacturerOrigin.js +0 -47
- package/dist/models/VariantProduct.d.ts +0 -37
- package/dist/models/VariantProduct.js +0 -47
- package/dist/models/VariantStock.d.ts +0 -50
- package/dist/models/VariantStock.js +0 -52
- package/dist/models/VariantsResponse.d.ts +0 -38
- package/dist/models/VariantsResponse.js +0 -48
- package/dist/models/index.d.ts +0 -20
- package/dist/models/index.js +0 -38
- package/dist/runtime.d.ts +0 -187
- package/dist/runtime.js +0 -349
- package/src/apis/ProductsApi.ts +0 -116
- package/src/apis/StatementsApi.ts +0 -177
- package/src/apis/TransactionsApi.ts +0 -180
- package/src/apis/VariantsApi.ts +0 -345
- package/src/apis/index.ts +0 -6
- package/src/index.ts +0 -5
- package/src/models/ApiError.ts +0 -69
- package/src/models/ApiValidationError.ts +0 -70
- package/src/models/Attribute.ts +0 -93
- package/src/models/AttributeThumbnail.ts +0 -80
- package/src/models/ExportTransactionsRequest.ts +0 -76
- package/src/models/Image.ts +0 -108
- package/src/models/ListStatements200Response.ts +0 -75
- package/src/models/ListTransactions200Response.ts +0 -75
- package/src/models/Product.ts +0 -109
- package/src/models/ProductsResponse.ts +0 -75
- package/src/models/Statement.ts +0 -106
- package/src/models/Stock.ts +0 -60
- package/src/models/StockResponse.ts +0 -75
- package/src/models/Transaction.ts +0 -120
- package/src/models/TransactionOrder.ts +0 -70
- package/src/models/Variant.ts +0 -149
- package/src/models/VariantManufacturerOrigin.ts +0 -68
- package/src/models/VariantProduct.ts +0 -68
- package/src/models/VariantStock.ts +0 -91
- package/src/models/VariantsResponse.ts +0 -75
- package/src/models/index.ts +0 -22
- package/src/runtime.ts +0 -441
|
@@ -0,0 +1,1287 @@
|
|
|
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.2
|
|
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 {ProductsApiListProductsRequest} requestParameters Request parameters.
|
|
623
|
+
* @param {*} [options] Override http request option.
|
|
624
|
+
* @throws {RequiredError}
|
|
625
|
+
*/
|
|
626
|
+
listProducts(requestParameters: ProductsApiListProductsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductsResponse>;
|
|
627
|
+
};
|
|
628
|
+
/**
|
|
629
|
+
* Request parameters for listProducts operation in ProductsApi.
|
|
630
|
+
* @export
|
|
631
|
+
* @interface ProductsApiListProductsRequest
|
|
632
|
+
*/
|
|
633
|
+
export interface ProductsApiListProductsRequest {
|
|
634
|
+
/**
|
|
635
|
+
* What project it is
|
|
636
|
+
* @type {string}
|
|
637
|
+
* @memberof ProductsApiListProducts
|
|
638
|
+
*/
|
|
639
|
+
readonly project: string;
|
|
640
|
+
/**
|
|
641
|
+
* Page reference token
|
|
642
|
+
* @type {number}
|
|
643
|
+
* @memberof ProductsApiListProducts
|
|
644
|
+
*/
|
|
645
|
+
readonly pageToken?: number;
|
|
646
|
+
/**
|
|
647
|
+
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
648
|
+
* @type {number}
|
|
649
|
+
* @memberof ProductsApiListProducts
|
|
650
|
+
*/
|
|
651
|
+
readonly pageSize?: number;
|
|
652
|
+
/**
|
|
653
|
+
* Filter response fields to only include a subset of the resource.
|
|
654
|
+
* @type {string}
|
|
655
|
+
* @memberof ProductsApiListProducts
|
|
656
|
+
*/
|
|
657
|
+
readonly fields?: string;
|
|
658
|
+
/**
|
|
659
|
+
* Search terms to filter based on.
|
|
660
|
+
* @type {string}
|
|
661
|
+
* @memberof ProductsApiListProducts
|
|
662
|
+
*/
|
|
663
|
+
readonly search?: string;
|
|
664
|
+
}
|
|
665
|
+
/**
|
|
666
|
+
* ProductsApi - object-oriented interface
|
|
667
|
+
* @export
|
|
668
|
+
* @class ProductsApi
|
|
669
|
+
* @extends {BaseAPI}
|
|
670
|
+
*/
|
|
671
|
+
export declare class ProductsApi extends BaseAPI {
|
|
672
|
+
/**
|
|
673
|
+
* Lists all GFN products available to the project. Can be filtered by style codes using the search parameter.
|
|
674
|
+
* @summary List GFN products
|
|
675
|
+
* @param {ProductsApiListProductsRequest} requestParameters Request parameters.
|
|
676
|
+
* @param {*} [options] Override http request option.
|
|
677
|
+
* @throws {RequiredError}
|
|
678
|
+
* @memberof ProductsApi
|
|
679
|
+
*/
|
|
680
|
+
listProducts(requestParameters: ProductsApiListProductsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductsResponse, any>>;
|
|
681
|
+
}
|
|
682
|
+
/**
|
|
683
|
+
* StatementsApi - axios parameter creator
|
|
684
|
+
* @export
|
|
685
|
+
*/
|
|
686
|
+
export declare const StatementsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
687
|
+
/**
|
|
688
|
+
* Gets a GFN statement by the given ID.
|
|
689
|
+
* @summary Get a GFN statement
|
|
690
|
+
* @param {string} project What project it is
|
|
691
|
+
* @param {string} statementId
|
|
692
|
+
* @param {*} [options] Override http request option.
|
|
693
|
+
* @throws {RequiredError}
|
|
694
|
+
*/
|
|
695
|
+
getStatement: (project: string, statementId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
696
|
+
/**
|
|
697
|
+
* Lists GFN statements available to the project
|
|
698
|
+
* @summary List GFN statements
|
|
699
|
+
* @param {string} project What project it is
|
|
700
|
+
* @param {number} [pageToken] Page reference token
|
|
701
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
702
|
+
* @param {string} [search] Search term used to filter results by
|
|
703
|
+
* @param {*} [options] Override http request option.
|
|
704
|
+
* @throws {RequiredError}
|
|
705
|
+
*/
|
|
706
|
+
listStatements: (project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
707
|
+
};
|
|
708
|
+
/**
|
|
709
|
+
* StatementsApi - functional programming interface
|
|
710
|
+
* @export
|
|
711
|
+
*/
|
|
712
|
+
export declare const StatementsApiFp: (configuration?: Configuration) => {
|
|
713
|
+
/**
|
|
714
|
+
* Gets a GFN statement by the given ID.
|
|
715
|
+
* @summary Get a GFN statement
|
|
716
|
+
* @param {string} project What project it is
|
|
717
|
+
* @param {string} statementId
|
|
718
|
+
* @param {*} [options] Override http request option.
|
|
719
|
+
* @throws {RequiredError}
|
|
720
|
+
*/
|
|
721
|
+
getStatement(project: string, statementId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Statement>>;
|
|
722
|
+
/**
|
|
723
|
+
* Lists GFN statements available to the project
|
|
724
|
+
* @summary List GFN statements
|
|
725
|
+
* @param {string} project What project it is
|
|
726
|
+
* @param {number} [pageToken] Page reference token
|
|
727
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
728
|
+
* @param {string} [search] Search term used to filter results by
|
|
729
|
+
* @param {*} [options] Override http request option.
|
|
730
|
+
* @throws {RequiredError}
|
|
731
|
+
*/
|
|
732
|
+
listStatements(project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListStatements200Response>>;
|
|
733
|
+
};
|
|
734
|
+
/**
|
|
735
|
+
* StatementsApi - factory interface
|
|
736
|
+
* @export
|
|
737
|
+
*/
|
|
738
|
+
export declare const StatementsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
739
|
+
/**
|
|
740
|
+
* Gets a GFN statement by the given ID.
|
|
741
|
+
* @summary Get a GFN statement
|
|
742
|
+
* @param {StatementsApiGetStatementRequest} requestParameters Request parameters.
|
|
743
|
+
* @param {*} [options] Override http request option.
|
|
744
|
+
* @throws {RequiredError}
|
|
745
|
+
*/
|
|
746
|
+
getStatement(requestParameters: StatementsApiGetStatementRequest, options?: RawAxiosRequestConfig): AxiosPromise<Statement>;
|
|
747
|
+
/**
|
|
748
|
+
* Lists GFN statements available to the project
|
|
749
|
+
* @summary List GFN statements
|
|
750
|
+
* @param {StatementsApiListStatementsRequest} requestParameters Request parameters.
|
|
751
|
+
* @param {*} [options] Override http request option.
|
|
752
|
+
* @throws {RequiredError}
|
|
753
|
+
*/
|
|
754
|
+
listStatements(requestParameters: StatementsApiListStatementsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListStatements200Response>;
|
|
755
|
+
};
|
|
756
|
+
/**
|
|
757
|
+
* Request parameters for getStatement operation in StatementsApi.
|
|
758
|
+
* @export
|
|
759
|
+
* @interface StatementsApiGetStatementRequest
|
|
760
|
+
*/
|
|
761
|
+
export interface StatementsApiGetStatementRequest {
|
|
762
|
+
/**
|
|
763
|
+
* What project it is
|
|
764
|
+
* @type {string}
|
|
765
|
+
* @memberof StatementsApiGetStatement
|
|
766
|
+
*/
|
|
767
|
+
readonly project: string;
|
|
768
|
+
/**
|
|
769
|
+
*
|
|
770
|
+
* @type {string}
|
|
771
|
+
* @memberof StatementsApiGetStatement
|
|
772
|
+
*/
|
|
773
|
+
readonly statementId: string;
|
|
774
|
+
}
|
|
775
|
+
/**
|
|
776
|
+
* Request parameters for listStatements operation in StatementsApi.
|
|
777
|
+
* @export
|
|
778
|
+
* @interface StatementsApiListStatementsRequest
|
|
779
|
+
*/
|
|
780
|
+
export interface StatementsApiListStatementsRequest {
|
|
781
|
+
/**
|
|
782
|
+
* What project it is
|
|
783
|
+
* @type {string}
|
|
784
|
+
* @memberof StatementsApiListStatements
|
|
785
|
+
*/
|
|
786
|
+
readonly project: string;
|
|
787
|
+
/**
|
|
788
|
+
* Page reference token
|
|
789
|
+
* @type {number}
|
|
790
|
+
* @memberof StatementsApiListStatements
|
|
791
|
+
*/
|
|
792
|
+
readonly pageToken?: number;
|
|
793
|
+
/**
|
|
794
|
+
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
795
|
+
* @type {number}
|
|
796
|
+
* @memberof StatementsApiListStatements
|
|
797
|
+
*/
|
|
798
|
+
readonly pageSize?: number;
|
|
799
|
+
/**
|
|
800
|
+
* Search term used to filter results by
|
|
801
|
+
* @type {string}
|
|
802
|
+
* @memberof StatementsApiListStatements
|
|
803
|
+
*/
|
|
804
|
+
readonly search?: string;
|
|
805
|
+
}
|
|
806
|
+
/**
|
|
807
|
+
* StatementsApi - object-oriented interface
|
|
808
|
+
* @export
|
|
809
|
+
* @class StatementsApi
|
|
810
|
+
* @extends {BaseAPI}
|
|
811
|
+
*/
|
|
812
|
+
export declare class StatementsApi extends BaseAPI {
|
|
813
|
+
/**
|
|
814
|
+
* Gets a GFN statement by the given ID.
|
|
815
|
+
* @summary Get a GFN statement
|
|
816
|
+
* @param {StatementsApiGetStatementRequest} requestParameters Request parameters.
|
|
817
|
+
* @param {*} [options] Override http request option.
|
|
818
|
+
* @throws {RequiredError}
|
|
819
|
+
* @memberof StatementsApi
|
|
820
|
+
*/
|
|
821
|
+
getStatement(requestParameters: StatementsApiGetStatementRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Statement, any>>;
|
|
822
|
+
/**
|
|
823
|
+
* Lists GFN statements available to the project
|
|
824
|
+
* @summary List GFN statements
|
|
825
|
+
* @param {StatementsApiListStatementsRequest} requestParameters Request parameters.
|
|
826
|
+
* @param {*} [options] Override http request option.
|
|
827
|
+
* @throws {RequiredError}
|
|
828
|
+
* @memberof StatementsApi
|
|
829
|
+
*/
|
|
830
|
+
listStatements(requestParameters: StatementsApiListStatementsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListStatements200Response, any>>;
|
|
831
|
+
}
|
|
832
|
+
/**
|
|
833
|
+
* TransactionsApi - axios parameter creator
|
|
834
|
+
* @export
|
|
835
|
+
*/
|
|
836
|
+
export declare const TransactionsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
837
|
+
/**
|
|
838
|
+
* Exports all GFN transactions available to the project
|
|
839
|
+
* @summary Export GFN transactions
|
|
840
|
+
* @param {string} project What project it is
|
|
841
|
+
* @param {ExportTransactionsRequest} exportTransactionsRequest Period selection data for the export
|
|
842
|
+
* @param {*} [options] Override http request option.
|
|
843
|
+
* @throws {RequiredError}
|
|
844
|
+
*/
|
|
845
|
+
exportTransactions: (project: string, exportTransactionsRequest: ExportTransactionsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
846
|
+
/**
|
|
847
|
+
* Lists all GFN transactions available to the project
|
|
848
|
+
* @summary List GFN transactions
|
|
849
|
+
* @param {string} project What project it is
|
|
850
|
+
* @param {number} [pageToken] Page reference token
|
|
851
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
852
|
+
* @param {string} [statementId]
|
|
853
|
+
* @param {*} [options] Override http request option.
|
|
854
|
+
* @throws {RequiredError}
|
|
855
|
+
*/
|
|
856
|
+
listTransactions: (project: string, pageToken?: number, pageSize?: number, statementId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
857
|
+
};
|
|
858
|
+
/**
|
|
859
|
+
* TransactionsApi - functional programming interface
|
|
860
|
+
* @export
|
|
861
|
+
*/
|
|
862
|
+
export declare const TransactionsApiFp: (configuration?: Configuration) => {
|
|
863
|
+
/**
|
|
864
|
+
* Exports all GFN transactions available to the project
|
|
865
|
+
* @summary Export GFN transactions
|
|
866
|
+
* @param {string} project What project it is
|
|
867
|
+
* @param {ExportTransactionsRequest} exportTransactionsRequest Period selection data for the export
|
|
868
|
+
* @param {*} [options] Override http request option.
|
|
869
|
+
* @throws {RequiredError}
|
|
870
|
+
*/
|
|
871
|
+
exportTransactions(project: string, exportTransactionsRequest: ExportTransactionsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
872
|
+
/**
|
|
873
|
+
* Lists all GFN transactions available to the project
|
|
874
|
+
* @summary List GFN transactions
|
|
875
|
+
* @param {string} project What project it is
|
|
876
|
+
* @param {number} [pageToken] Page reference token
|
|
877
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
878
|
+
* @param {string} [statementId]
|
|
879
|
+
* @param {*} [options] Override http request option.
|
|
880
|
+
* @throws {RequiredError}
|
|
881
|
+
*/
|
|
882
|
+
listTransactions(project: string, pageToken?: number, pageSize?: number, statementId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTransactions200Response>>;
|
|
883
|
+
};
|
|
884
|
+
/**
|
|
885
|
+
* TransactionsApi - factory interface
|
|
886
|
+
* @export
|
|
887
|
+
*/
|
|
888
|
+
export declare const TransactionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
889
|
+
/**
|
|
890
|
+
* Exports all GFN transactions available to the project
|
|
891
|
+
* @summary Export GFN transactions
|
|
892
|
+
* @param {TransactionsApiExportTransactionsRequest} requestParameters Request parameters.
|
|
893
|
+
* @param {*} [options] Override http request option.
|
|
894
|
+
* @throws {RequiredError}
|
|
895
|
+
*/
|
|
896
|
+
exportTransactions(requestParameters: TransactionsApiExportTransactionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
897
|
+
/**
|
|
898
|
+
* Lists all GFN transactions available to the project
|
|
899
|
+
* @summary List GFN transactions
|
|
900
|
+
* @param {TransactionsApiListTransactionsRequest} requestParameters Request parameters.
|
|
901
|
+
* @param {*} [options] Override http request option.
|
|
902
|
+
* @throws {RequiredError}
|
|
903
|
+
*/
|
|
904
|
+
listTransactions(requestParameters: TransactionsApiListTransactionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListTransactions200Response>;
|
|
905
|
+
};
|
|
906
|
+
/**
|
|
907
|
+
* Request parameters for exportTransactions operation in TransactionsApi.
|
|
908
|
+
* @export
|
|
909
|
+
* @interface TransactionsApiExportTransactionsRequest
|
|
910
|
+
*/
|
|
911
|
+
export interface TransactionsApiExportTransactionsRequest {
|
|
912
|
+
/**
|
|
913
|
+
* What project it is
|
|
914
|
+
* @type {string}
|
|
915
|
+
* @memberof TransactionsApiExportTransactions
|
|
916
|
+
*/
|
|
917
|
+
readonly project: string;
|
|
918
|
+
/**
|
|
919
|
+
* Period selection data for the export
|
|
920
|
+
* @type {ExportTransactionsRequest}
|
|
921
|
+
* @memberof TransactionsApiExportTransactions
|
|
922
|
+
*/
|
|
923
|
+
readonly exportTransactionsRequest: ExportTransactionsRequest;
|
|
924
|
+
}
|
|
925
|
+
/**
|
|
926
|
+
* Request parameters for listTransactions operation in TransactionsApi.
|
|
927
|
+
* @export
|
|
928
|
+
* @interface TransactionsApiListTransactionsRequest
|
|
929
|
+
*/
|
|
930
|
+
export interface TransactionsApiListTransactionsRequest {
|
|
931
|
+
/**
|
|
932
|
+
* What project it is
|
|
933
|
+
* @type {string}
|
|
934
|
+
* @memberof TransactionsApiListTransactions
|
|
935
|
+
*/
|
|
936
|
+
readonly project: string;
|
|
937
|
+
/**
|
|
938
|
+
* Page reference token
|
|
939
|
+
* @type {number}
|
|
940
|
+
* @memberof TransactionsApiListTransactions
|
|
941
|
+
*/
|
|
942
|
+
readonly pageToken?: number;
|
|
943
|
+
/**
|
|
944
|
+
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
945
|
+
* @type {number}
|
|
946
|
+
* @memberof TransactionsApiListTransactions
|
|
947
|
+
*/
|
|
948
|
+
readonly pageSize?: number;
|
|
949
|
+
/**
|
|
950
|
+
*
|
|
951
|
+
* @type {string}
|
|
952
|
+
* @memberof TransactionsApiListTransactions
|
|
953
|
+
*/
|
|
954
|
+
readonly statementId?: string;
|
|
955
|
+
}
|
|
956
|
+
/**
|
|
957
|
+
* TransactionsApi - object-oriented interface
|
|
958
|
+
* @export
|
|
959
|
+
* @class TransactionsApi
|
|
960
|
+
* @extends {BaseAPI}
|
|
961
|
+
*/
|
|
962
|
+
export declare class TransactionsApi extends BaseAPI {
|
|
963
|
+
/**
|
|
964
|
+
* Exports all GFN transactions available to the project
|
|
965
|
+
* @summary Export GFN transactions
|
|
966
|
+
* @param {TransactionsApiExportTransactionsRequest} requestParameters Request parameters.
|
|
967
|
+
* @param {*} [options] Override http request option.
|
|
968
|
+
* @throws {RequiredError}
|
|
969
|
+
* @memberof TransactionsApi
|
|
970
|
+
*/
|
|
971
|
+
exportTransactions(requestParameters: TransactionsApiExportTransactionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
|
|
972
|
+
/**
|
|
973
|
+
* Lists all GFN transactions available to the project
|
|
974
|
+
* @summary List GFN transactions
|
|
975
|
+
* @param {TransactionsApiListTransactionsRequest} requestParameters Request parameters.
|
|
976
|
+
* @param {*} [options] Override http request option.
|
|
977
|
+
* @throws {RequiredError}
|
|
978
|
+
* @memberof TransactionsApi
|
|
979
|
+
*/
|
|
980
|
+
listTransactions(requestParameters: TransactionsApiListTransactionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTransactions200Response, any>>;
|
|
981
|
+
}
|
|
982
|
+
/**
|
|
983
|
+
* VariantsApi - axios parameter creator
|
|
984
|
+
* @export
|
|
985
|
+
*/
|
|
986
|
+
export declare const VariantsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
987
|
+
/**
|
|
988
|
+
* Gets the stock level for the GFN variant with the given ID.
|
|
989
|
+
* @summary Get GFN variant stock
|
|
990
|
+
* @param {string} project What project it is
|
|
991
|
+
* @param {string} variantId Variants unique identifier
|
|
992
|
+
* @param {string} [fulfillmentProjects] Fetch stock levels from specific fulfiller projects
|
|
993
|
+
* @param {*} [options] Override http request option.
|
|
994
|
+
* @throws {RequiredError}
|
|
995
|
+
*/
|
|
996
|
+
getStock: (project: string, variantId: string, fulfillmentProjects?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
997
|
+
/**
|
|
998
|
+
* Gets a GFN variant by the given ID.
|
|
999
|
+
* @summary Get a GFN variant
|
|
1000
|
+
* @param {string} project What project it is
|
|
1001
|
+
* @param {string} variantId Variants unique identifier
|
|
1002
|
+
* @param {string} [fields] Filter response fields to only include a subset of the resource.
|
|
1003
|
+
* @param {*} [options] Override http request option.
|
|
1004
|
+
* @throws {RequiredError}
|
|
1005
|
+
*/
|
|
1006
|
+
getVariant: (project: string, variantId: string, fields?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1007
|
+
/**
|
|
1008
|
+
* Lists the stock levels for all GFN variants available to the project.
|
|
1009
|
+
* @summary List GFN variant stock
|
|
1010
|
+
* @param {string} project What project it is
|
|
1011
|
+
* @param {string} [fulfillmentProjects] Fetch stock levels from specific fulfiller projects
|
|
1012
|
+
* @param {number} [pageToken] Page reference token
|
|
1013
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1014
|
+
* @param {string} [search] Search terms to filter based on.
|
|
1015
|
+
* @param {*} [options] Override http request option.
|
|
1016
|
+
* @throws {RequiredError}
|
|
1017
|
+
*/
|
|
1018
|
+
listStock: (project: string, fulfillmentProjects?: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1019
|
+
/**
|
|
1020
|
+
* Lists all GFN variants available to the project. Can be filtered by product ID, SKU, and attribute values using the search parameter.
|
|
1021
|
+
* @summary List GFN variants
|
|
1022
|
+
* @param {string} project What project it is
|
|
1023
|
+
* @param {number} [pageToken] Page reference token
|
|
1024
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1025
|
+
* @param {string} [fields] Filter response fields to only include a subset of the resource.
|
|
1026
|
+
* @param {string} [search] Search terms to filter based on.
|
|
1027
|
+
* @param {*} [options] Override http request option.
|
|
1028
|
+
* @throws {RequiredError}
|
|
1029
|
+
*/
|
|
1030
|
+
listVariants: (project: string, pageToken?: number, pageSize?: number, fields?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1031
|
+
};
|
|
1032
|
+
/**
|
|
1033
|
+
* VariantsApi - functional programming interface
|
|
1034
|
+
* @export
|
|
1035
|
+
*/
|
|
1036
|
+
export declare const VariantsApiFp: (configuration?: Configuration) => {
|
|
1037
|
+
/**
|
|
1038
|
+
* Gets the stock level for the GFN variant with the given ID.
|
|
1039
|
+
* @summary Get GFN variant stock
|
|
1040
|
+
* @param {string} project What project it is
|
|
1041
|
+
* @param {string} variantId Variants unique identifier
|
|
1042
|
+
* @param {string} [fulfillmentProjects] Fetch stock levels from specific fulfiller projects
|
|
1043
|
+
* @param {*} [options] Override http request option.
|
|
1044
|
+
* @throws {RequiredError}
|
|
1045
|
+
*/
|
|
1046
|
+
getStock(project: string, variantId: string, fulfillmentProjects?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VariantStock>>;
|
|
1047
|
+
/**
|
|
1048
|
+
* Gets a GFN variant by the given ID.
|
|
1049
|
+
* @summary Get a GFN variant
|
|
1050
|
+
* @param {string} project What project it is
|
|
1051
|
+
* @param {string} variantId Variants unique identifier
|
|
1052
|
+
* @param {string} [fields] Filter response fields to only include a subset of the resource.
|
|
1053
|
+
* @param {*} [options] Override http request option.
|
|
1054
|
+
* @throws {RequiredError}
|
|
1055
|
+
*/
|
|
1056
|
+
getVariant(project: string, variantId: string, fields?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Variant>>;
|
|
1057
|
+
/**
|
|
1058
|
+
* Lists the stock levels for all GFN variants available to the project.
|
|
1059
|
+
* @summary List GFN variant stock
|
|
1060
|
+
* @param {string} project What project it is
|
|
1061
|
+
* @param {string} [fulfillmentProjects] Fetch stock levels from specific fulfiller projects
|
|
1062
|
+
* @param {number} [pageToken] Page reference token
|
|
1063
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1064
|
+
* @param {string} [search] Search terms to filter based on.
|
|
1065
|
+
* @param {*} [options] Override http request option.
|
|
1066
|
+
* @throws {RequiredError}
|
|
1067
|
+
*/
|
|
1068
|
+
listStock(project: string, fulfillmentProjects?: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StockResponse>>;
|
|
1069
|
+
/**
|
|
1070
|
+
* Lists all GFN variants available to the project. Can be filtered by product ID, SKU, and attribute values using the search parameter.
|
|
1071
|
+
* @summary List GFN variants
|
|
1072
|
+
* @param {string} project What project it is
|
|
1073
|
+
* @param {number} [pageToken] Page reference token
|
|
1074
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1075
|
+
* @param {string} [fields] Filter response fields to only include a subset of the resource.
|
|
1076
|
+
* @param {string} [search] Search terms to filter based on.
|
|
1077
|
+
* @param {*} [options] Override http request option.
|
|
1078
|
+
* @throws {RequiredError}
|
|
1079
|
+
*/
|
|
1080
|
+
listVariants(project: string, pageToken?: number, pageSize?: number, fields?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VariantsResponse>>;
|
|
1081
|
+
};
|
|
1082
|
+
/**
|
|
1083
|
+
* VariantsApi - factory interface
|
|
1084
|
+
* @export
|
|
1085
|
+
*/
|
|
1086
|
+
export declare const VariantsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1087
|
+
/**
|
|
1088
|
+
* Gets the stock level for the GFN variant with the given ID.
|
|
1089
|
+
* @summary Get GFN variant stock
|
|
1090
|
+
* @param {VariantsApiGetStockRequest} requestParameters Request parameters.
|
|
1091
|
+
* @param {*} [options] Override http request option.
|
|
1092
|
+
* @throws {RequiredError}
|
|
1093
|
+
*/
|
|
1094
|
+
getStock(requestParameters: VariantsApiGetStockRequest, options?: RawAxiosRequestConfig): AxiosPromise<VariantStock>;
|
|
1095
|
+
/**
|
|
1096
|
+
* Gets a GFN variant by the given ID.
|
|
1097
|
+
* @summary Get a GFN variant
|
|
1098
|
+
* @param {VariantsApiGetVariantRequest} requestParameters Request parameters.
|
|
1099
|
+
* @param {*} [options] Override http request option.
|
|
1100
|
+
* @throws {RequiredError}
|
|
1101
|
+
*/
|
|
1102
|
+
getVariant(requestParameters: VariantsApiGetVariantRequest, options?: RawAxiosRequestConfig): AxiosPromise<Variant>;
|
|
1103
|
+
/**
|
|
1104
|
+
* Lists the stock levels for all GFN variants available to the project.
|
|
1105
|
+
* @summary List GFN variant stock
|
|
1106
|
+
* @param {VariantsApiListStockRequest} requestParameters Request parameters.
|
|
1107
|
+
* @param {*} [options] Override http request option.
|
|
1108
|
+
* @throws {RequiredError}
|
|
1109
|
+
*/
|
|
1110
|
+
listStock(requestParameters: VariantsApiListStockRequest, options?: RawAxiosRequestConfig): AxiosPromise<StockResponse>;
|
|
1111
|
+
/**
|
|
1112
|
+
* Lists all GFN variants available to the project. Can be filtered by product ID, SKU, and attribute values using the search parameter.
|
|
1113
|
+
* @summary List GFN variants
|
|
1114
|
+
* @param {VariantsApiListVariantsRequest} requestParameters Request parameters.
|
|
1115
|
+
* @param {*} [options] Override http request option.
|
|
1116
|
+
* @throws {RequiredError}
|
|
1117
|
+
*/
|
|
1118
|
+
listVariants(requestParameters: VariantsApiListVariantsRequest, options?: RawAxiosRequestConfig): AxiosPromise<VariantsResponse>;
|
|
1119
|
+
};
|
|
1120
|
+
/**
|
|
1121
|
+
* Request parameters for getStock operation in VariantsApi.
|
|
1122
|
+
* @export
|
|
1123
|
+
* @interface VariantsApiGetStockRequest
|
|
1124
|
+
*/
|
|
1125
|
+
export interface VariantsApiGetStockRequest {
|
|
1126
|
+
/**
|
|
1127
|
+
* What project it is
|
|
1128
|
+
* @type {string}
|
|
1129
|
+
* @memberof VariantsApiGetStock
|
|
1130
|
+
*/
|
|
1131
|
+
readonly project: string;
|
|
1132
|
+
/**
|
|
1133
|
+
* Variants unique identifier
|
|
1134
|
+
* @type {string}
|
|
1135
|
+
* @memberof VariantsApiGetStock
|
|
1136
|
+
*/
|
|
1137
|
+
readonly variantId: string;
|
|
1138
|
+
/**
|
|
1139
|
+
* Fetch stock levels from specific fulfiller projects
|
|
1140
|
+
* @type {string}
|
|
1141
|
+
* @memberof VariantsApiGetStock
|
|
1142
|
+
*/
|
|
1143
|
+
readonly fulfillmentProjects?: string;
|
|
1144
|
+
}
|
|
1145
|
+
/**
|
|
1146
|
+
* Request parameters for getVariant operation in VariantsApi.
|
|
1147
|
+
* @export
|
|
1148
|
+
* @interface VariantsApiGetVariantRequest
|
|
1149
|
+
*/
|
|
1150
|
+
export interface VariantsApiGetVariantRequest {
|
|
1151
|
+
/**
|
|
1152
|
+
* What project it is
|
|
1153
|
+
* @type {string}
|
|
1154
|
+
* @memberof VariantsApiGetVariant
|
|
1155
|
+
*/
|
|
1156
|
+
readonly project: string;
|
|
1157
|
+
/**
|
|
1158
|
+
* Variants unique identifier
|
|
1159
|
+
* @type {string}
|
|
1160
|
+
* @memberof VariantsApiGetVariant
|
|
1161
|
+
*/
|
|
1162
|
+
readonly variantId: string;
|
|
1163
|
+
/**
|
|
1164
|
+
* Filter response fields to only include a subset of the resource.
|
|
1165
|
+
* @type {string}
|
|
1166
|
+
* @memberof VariantsApiGetVariant
|
|
1167
|
+
*/
|
|
1168
|
+
readonly fields?: string;
|
|
1169
|
+
}
|
|
1170
|
+
/**
|
|
1171
|
+
* Request parameters for listStock operation in VariantsApi.
|
|
1172
|
+
* @export
|
|
1173
|
+
* @interface VariantsApiListStockRequest
|
|
1174
|
+
*/
|
|
1175
|
+
export interface VariantsApiListStockRequest {
|
|
1176
|
+
/**
|
|
1177
|
+
* What project it is
|
|
1178
|
+
* @type {string}
|
|
1179
|
+
* @memberof VariantsApiListStock
|
|
1180
|
+
*/
|
|
1181
|
+
readonly project: string;
|
|
1182
|
+
/**
|
|
1183
|
+
* Fetch stock levels from specific fulfiller projects
|
|
1184
|
+
* @type {string}
|
|
1185
|
+
* @memberof VariantsApiListStock
|
|
1186
|
+
*/
|
|
1187
|
+
readonly fulfillmentProjects?: string;
|
|
1188
|
+
/**
|
|
1189
|
+
* Page reference token
|
|
1190
|
+
* @type {number}
|
|
1191
|
+
* @memberof VariantsApiListStock
|
|
1192
|
+
*/
|
|
1193
|
+
readonly pageToken?: number;
|
|
1194
|
+
/**
|
|
1195
|
+
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1196
|
+
* @type {number}
|
|
1197
|
+
* @memberof VariantsApiListStock
|
|
1198
|
+
*/
|
|
1199
|
+
readonly pageSize?: number;
|
|
1200
|
+
/**
|
|
1201
|
+
* Search terms to filter based on.
|
|
1202
|
+
* @type {string}
|
|
1203
|
+
* @memberof VariantsApiListStock
|
|
1204
|
+
*/
|
|
1205
|
+
readonly search?: string;
|
|
1206
|
+
}
|
|
1207
|
+
/**
|
|
1208
|
+
* Request parameters for listVariants operation in VariantsApi.
|
|
1209
|
+
* @export
|
|
1210
|
+
* @interface VariantsApiListVariantsRequest
|
|
1211
|
+
*/
|
|
1212
|
+
export interface VariantsApiListVariantsRequest {
|
|
1213
|
+
/**
|
|
1214
|
+
* What project it is
|
|
1215
|
+
* @type {string}
|
|
1216
|
+
* @memberof VariantsApiListVariants
|
|
1217
|
+
*/
|
|
1218
|
+
readonly project: string;
|
|
1219
|
+
/**
|
|
1220
|
+
* Page reference token
|
|
1221
|
+
* @type {number}
|
|
1222
|
+
* @memberof VariantsApiListVariants
|
|
1223
|
+
*/
|
|
1224
|
+
readonly pageToken?: number;
|
|
1225
|
+
/**
|
|
1226
|
+
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1227
|
+
* @type {number}
|
|
1228
|
+
* @memberof VariantsApiListVariants
|
|
1229
|
+
*/
|
|
1230
|
+
readonly pageSize?: number;
|
|
1231
|
+
/**
|
|
1232
|
+
* Filter response fields to only include a subset of the resource.
|
|
1233
|
+
* @type {string}
|
|
1234
|
+
* @memberof VariantsApiListVariants
|
|
1235
|
+
*/
|
|
1236
|
+
readonly fields?: string;
|
|
1237
|
+
/**
|
|
1238
|
+
* Search terms to filter based on.
|
|
1239
|
+
* @type {string}
|
|
1240
|
+
* @memberof VariantsApiListVariants
|
|
1241
|
+
*/
|
|
1242
|
+
readonly search?: string;
|
|
1243
|
+
}
|
|
1244
|
+
/**
|
|
1245
|
+
* VariantsApi - object-oriented interface
|
|
1246
|
+
* @export
|
|
1247
|
+
* @class VariantsApi
|
|
1248
|
+
* @extends {BaseAPI}
|
|
1249
|
+
*/
|
|
1250
|
+
export declare class VariantsApi extends BaseAPI {
|
|
1251
|
+
/**
|
|
1252
|
+
* Gets the stock level for the GFN variant with the given ID.
|
|
1253
|
+
* @summary Get GFN variant stock
|
|
1254
|
+
* @param {VariantsApiGetStockRequest} requestParameters Request parameters.
|
|
1255
|
+
* @param {*} [options] Override http request option.
|
|
1256
|
+
* @throws {RequiredError}
|
|
1257
|
+
* @memberof VariantsApi
|
|
1258
|
+
*/
|
|
1259
|
+
getStock(requestParameters: VariantsApiGetStockRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VariantStock, any>>;
|
|
1260
|
+
/**
|
|
1261
|
+
* Gets a GFN variant by the given ID.
|
|
1262
|
+
* @summary Get a GFN variant
|
|
1263
|
+
* @param {VariantsApiGetVariantRequest} requestParameters Request parameters.
|
|
1264
|
+
* @param {*} [options] Override http request option.
|
|
1265
|
+
* @throws {RequiredError}
|
|
1266
|
+
* @memberof VariantsApi
|
|
1267
|
+
*/
|
|
1268
|
+
getVariant(requestParameters: VariantsApiGetVariantRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Variant, any>>;
|
|
1269
|
+
/**
|
|
1270
|
+
* Lists the stock levels for all GFN variants available to the project.
|
|
1271
|
+
* @summary List GFN variant stock
|
|
1272
|
+
* @param {VariantsApiListStockRequest} requestParameters Request parameters.
|
|
1273
|
+
* @param {*} [options] Override http request option.
|
|
1274
|
+
* @throws {RequiredError}
|
|
1275
|
+
* @memberof VariantsApi
|
|
1276
|
+
*/
|
|
1277
|
+
listStock(requestParameters: VariantsApiListStockRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StockResponse, any>>;
|
|
1278
|
+
/**
|
|
1279
|
+
* Lists all GFN variants available to the project. Can be filtered by product ID, SKU, and attribute values using the search parameter.
|
|
1280
|
+
* @summary List GFN variants
|
|
1281
|
+
* @param {VariantsApiListVariantsRequest} requestParameters Request parameters.
|
|
1282
|
+
* @param {*} [options] Override http request option.
|
|
1283
|
+
* @throws {RequiredError}
|
|
1284
|
+
* @memberof VariantsApi
|
|
1285
|
+
*/
|
|
1286
|
+
listVariants(requestParameters: VariantsApiListVariantsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VariantsResponse, any>>;
|
|
1287
|
+
}
|