@teemill/gfn-catalog 2.2.0 → 3.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.
- package/README.md +2 -2
- package/api.ts +179 -9
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +117 -9
- package/dist/api.js +89 -1
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +117 -9
- package/dist/esm/api.js +89 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/gfn-catalog@
|
|
1
|
+
## @teemill/gfn-catalog@3.0.0
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @teemill/gfn-catalog@
|
|
39
|
+
npm install @teemill/gfn-catalog@3.0.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* GFN Catalog API
|
|
5
5
|
* 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.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 3.0.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -127,23 +127,42 @@ export type AttributeThumbnailTypeEnum = typeof AttributeThumbnailTypeEnum[keyof
|
|
|
127
127
|
*/
|
|
128
128
|
export interface ExportTransactionsRequest {
|
|
129
129
|
/**
|
|
130
|
-
*
|
|
130
|
+
* Include only transactions from this statement
|
|
131
131
|
* @type {string}
|
|
132
132
|
* @memberof ExportTransactionsRequest
|
|
133
133
|
*/
|
|
134
|
-
'
|
|
134
|
+
'statement'?: string;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
*
|
|
138
|
+
* @export
|
|
139
|
+
* @interface Fulfillment
|
|
140
|
+
*/
|
|
141
|
+
export interface Fulfillment {
|
|
142
|
+
/**
|
|
143
|
+
*
|
|
144
|
+
* @type {number}
|
|
145
|
+
* @memberof Fulfillment
|
|
146
|
+
*/
|
|
147
|
+
'id': number;
|
|
135
148
|
/**
|
|
136
|
-
*
|
|
149
|
+
*
|
|
137
150
|
* @type {string}
|
|
138
|
-
* @memberof
|
|
151
|
+
* @memberof Fulfillment
|
|
139
152
|
*/
|
|
140
|
-
'
|
|
153
|
+
'merchantRef': string;
|
|
141
154
|
/**
|
|
142
|
-
*
|
|
155
|
+
*
|
|
156
|
+
* @type {number}
|
|
157
|
+
* @memberof Fulfillment
|
|
158
|
+
*/
|
|
159
|
+
'total': number;
|
|
160
|
+
/**
|
|
161
|
+
*
|
|
143
162
|
* @type {string}
|
|
144
|
-
* @memberof
|
|
163
|
+
* @memberof Fulfillment
|
|
145
164
|
*/
|
|
146
|
-
'
|
|
165
|
+
'createdAt': string;
|
|
147
166
|
}
|
|
148
167
|
/**
|
|
149
168
|
* Image description
|
|
@@ -194,6 +213,25 @@ export interface Image {
|
|
|
194
213
|
*/
|
|
195
214
|
'updatedAt'?: string;
|
|
196
215
|
}
|
|
216
|
+
/**
|
|
217
|
+
*
|
|
218
|
+
* @export
|
|
219
|
+
* @interface ListFulfillments200Response
|
|
220
|
+
*/
|
|
221
|
+
export interface ListFulfillments200Response {
|
|
222
|
+
/**
|
|
223
|
+
*
|
|
224
|
+
* @type {Array<Fulfillment>}
|
|
225
|
+
* @memberof ListFulfillments200Response
|
|
226
|
+
*/
|
|
227
|
+
'fulfillments'?: Array<Fulfillment>;
|
|
228
|
+
/**
|
|
229
|
+
*
|
|
230
|
+
* @type {number}
|
|
231
|
+
* @memberof ListFulfillments200Response
|
|
232
|
+
*/
|
|
233
|
+
'nextPageToken'?: number | null;
|
|
234
|
+
}
|
|
197
235
|
/**
|
|
198
236
|
*
|
|
199
237
|
* @export
|
|
@@ -1111,6 +1149,65 @@ export const TransactionsApiAxiosParamCreator = function (configuration?: Config
|
|
|
1111
1149
|
options: localVarRequestOptions,
|
|
1112
1150
|
};
|
|
1113
1151
|
},
|
|
1152
|
+
/**
|
|
1153
|
+
* Lists all the fulfillments in the project with GFN transactions
|
|
1154
|
+
* @summary Lists the GFN fulfillments of the project
|
|
1155
|
+
* @param {string} project What project it is
|
|
1156
|
+
* @param {number} [pageToken] Page reference token
|
|
1157
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1158
|
+
* @param {string} [statementId]
|
|
1159
|
+
* @param {*} [options] Override http request option.
|
|
1160
|
+
* @throws {RequiredError}
|
|
1161
|
+
*/
|
|
1162
|
+
listFulfillments: async (project: string, pageToken?: number, pageSize?: number, statementId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1163
|
+
// verify required parameter 'project' is not null or undefined
|
|
1164
|
+
assertParamExists('listFulfillments', 'project', project)
|
|
1165
|
+
const localVarPath = `/v1/gfn/transactions/fulfillments`;
|
|
1166
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1167
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1168
|
+
let baseOptions;
|
|
1169
|
+
if (configuration) {
|
|
1170
|
+
baseOptions = configuration.baseOptions;
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1173
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1174
|
+
const localVarHeaderParameter = {} as any;
|
|
1175
|
+
const localVarQueryParameter = {} as any;
|
|
1176
|
+
|
|
1177
|
+
// authentication session-oauth required
|
|
1178
|
+
// oauth required
|
|
1179
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1180
|
+
|
|
1181
|
+
// authentication api-key required
|
|
1182
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1183
|
+
|
|
1184
|
+
if (project !== undefined) {
|
|
1185
|
+
localVarQueryParameter['project'] = project;
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1188
|
+
if (pageToken !== undefined) {
|
|
1189
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
1190
|
+
}
|
|
1191
|
+
|
|
1192
|
+
if (pageSize !== undefined) {
|
|
1193
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1196
|
+
if (statementId !== undefined) {
|
|
1197
|
+
localVarQueryParameter['statementId'] = statementId;
|
|
1198
|
+
}
|
|
1199
|
+
|
|
1200
|
+
|
|
1201
|
+
|
|
1202
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1203
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1204
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1205
|
+
|
|
1206
|
+
return {
|
|
1207
|
+
url: toPathString(localVarUrlObj),
|
|
1208
|
+
options: localVarRequestOptions,
|
|
1209
|
+
};
|
|
1210
|
+
},
|
|
1114
1211
|
/**
|
|
1115
1212
|
* Lists all GFN transactions available to the project
|
|
1116
1213
|
* @summary List GFN transactions
|
|
@@ -1204,6 +1301,22 @@ export const TransactionsApiFp = function(configuration?: Configuration) {
|
|
|
1204
1301
|
const localVarOperationServerBasePath = operationServerMap['TransactionsApi.exportTransactions']?.[localVarOperationServerIndex]?.url;
|
|
1205
1302
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1206
1303
|
},
|
|
1304
|
+
/**
|
|
1305
|
+
* Lists all the fulfillments in the project with GFN transactions
|
|
1306
|
+
* @summary Lists the GFN fulfillments of the project
|
|
1307
|
+
* @param {string} project What project it is
|
|
1308
|
+
* @param {number} [pageToken] Page reference token
|
|
1309
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1310
|
+
* @param {string} [statementId]
|
|
1311
|
+
* @param {*} [options] Override http request option.
|
|
1312
|
+
* @throws {RequiredError}
|
|
1313
|
+
*/
|
|
1314
|
+
async listFulfillments(project: string, pageToken?: number, pageSize?: number, statementId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListFulfillments200Response>> {
|
|
1315
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listFulfillments(project, pageToken, pageSize, statementId, options);
|
|
1316
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1317
|
+
const localVarOperationServerBasePath = operationServerMap['TransactionsApi.listFulfillments']?.[localVarOperationServerIndex]?.url;
|
|
1318
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1319
|
+
},
|
|
1207
1320
|
/**
|
|
1208
1321
|
* Lists all GFN transactions available to the project
|
|
1209
1322
|
* @summary List GFN transactions
|
|
@@ -1242,6 +1355,16 @@ export const TransactionsApiFactory = function (configuration?: Configuration, b
|
|
|
1242
1355
|
exportTransactions(requestParameters: TransactionsApiExportTransactionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
|
|
1243
1356
|
return localVarFp.exportTransactions(requestParameters.project, requestParameters.exportTransactionsRequest, options).then((request) => request(axios, basePath));
|
|
1244
1357
|
},
|
|
1358
|
+
/**
|
|
1359
|
+
* Lists all the fulfillments in the project with GFN transactions
|
|
1360
|
+
* @summary Lists the GFN fulfillments of the project
|
|
1361
|
+
* @param {TransactionsApiListFulfillmentsRequest} requestParameters Request parameters.
|
|
1362
|
+
* @param {*} [options] Override http request option.
|
|
1363
|
+
* @throws {RequiredError}
|
|
1364
|
+
*/
|
|
1365
|
+
listFulfillments(requestParameters: TransactionsApiListFulfillmentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListFulfillments200Response> {
|
|
1366
|
+
return localVarFp.listFulfillments(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.statementId, options).then((request) => request(axios, basePath));
|
|
1367
|
+
},
|
|
1245
1368
|
/**
|
|
1246
1369
|
* Lists all GFN transactions available to the project
|
|
1247
1370
|
* @summary List GFN transactions
|
|
@@ -1276,6 +1399,41 @@ export interface TransactionsApiExportTransactionsRequest {
|
|
|
1276
1399
|
readonly exportTransactionsRequest: ExportTransactionsRequest
|
|
1277
1400
|
}
|
|
1278
1401
|
|
|
1402
|
+
/**
|
|
1403
|
+
* Request parameters for listFulfillments operation in TransactionsApi.
|
|
1404
|
+
* @export
|
|
1405
|
+
* @interface TransactionsApiListFulfillmentsRequest
|
|
1406
|
+
*/
|
|
1407
|
+
export interface TransactionsApiListFulfillmentsRequest {
|
|
1408
|
+
/**
|
|
1409
|
+
* What project it is
|
|
1410
|
+
* @type {string}
|
|
1411
|
+
* @memberof TransactionsApiListFulfillments
|
|
1412
|
+
*/
|
|
1413
|
+
readonly project: string
|
|
1414
|
+
|
|
1415
|
+
/**
|
|
1416
|
+
* Page reference token
|
|
1417
|
+
* @type {number}
|
|
1418
|
+
* @memberof TransactionsApiListFulfillments
|
|
1419
|
+
*/
|
|
1420
|
+
readonly pageToken?: number
|
|
1421
|
+
|
|
1422
|
+
/**
|
|
1423
|
+
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1424
|
+
* @type {number}
|
|
1425
|
+
* @memberof TransactionsApiListFulfillments
|
|
1426
|
+
*/
|
|
1427
|
+
readonly pageSize?: number
|
|
1428
|
+
|
|
1429
|
+
/**
|
|
1430
|
+
*
|
|
1431
|
+
* @type {string}
|
|
1432
|
+
* @memberof TransactionsApiListFulfillments
|
|
1433
|
+
*/
|
|
1434
|
+
readonly statementId?: string
|
|
1435
|
+
}
|
|
1436
|
+
|
|
1279
1437
|
/**
|
|
1280
1438
|
* Request parameters for listTransactions operation in TransactionsApi.
|
|
1281
1439
|
* @export
|
|
@@ -1344,6 +1502,18 @@ export class TransactionsApi extends BaseAPI {
|
|
|
1344
1502
|
return TransactionsApiFp(this.configuration).exportTransactions(requestParameters.project, requestParameters.exportTransactionsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1345
1503
|
}
|
|
1346
1504
|
|
|
1505
|
+
/**
|
|
1506
|
+
* Lists all the fulfillments in the project with GFN transactions
|
|
1507
|
+
* @summary Lists the GFN fulfillments of the project
|
|
1508
|
+
* @param {TransactionsApiListFulfillmentsRequest} requestParameters Request parameters.
|
|
1509
|
+
* @param {*} [options] Override http request option.
|
|
1510
|
+
* @throws {RequiredError}
|
|
1511
|
+
* @memberof TransactionsApi
|
|
1512
|
+
*/
|
|
1513
|
+
public listFulfillments(requestParameters: TransactionsApiListFulfillmentsRequest, options?: RawAxiosRequestConfig) {
|
|
1514
|
+
return TransactionsApiFp(this.configuration).listFulfillments(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.statementId, options).then((request) => request(this.axios, this.basePath));
|
|
1515
|
+
}
|
|
1516
|
+
|
|
1347
1517
|
/**
|
|
1348
1518
|
* Lists all GFN transactions available to the project
|
|
1349
1519
|
* @summary List GFN transactions
|
package/base.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* GFN Catalog API
|
|
5
5
|
* 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.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 3.0.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/common.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* GFN Catalog API
|
|
5
5
|
* 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.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 3.0.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/configuration.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* GFN Catalog API
|
|
5
5
|
* 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.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 3.0.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* GFN Catalog API
|
|
3
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
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 3.0.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -116,23 +116,42 @@ export type AttributeThumbnailTypeEnum = typeof AttributeThumbnailTypeEnum[keyof
|
|
|
116
116
|
*/
|
|
117
117
|
export interface ExportTransactionsRequest {
|
|
118
118
|
/**
|
|
119
|
-
*
|
|
119
|
+
* Include only transactions from this statement
|
|
120
120
|
* @type {string}
|
|
121
121
|
* @memberof ExportTransactionsRequest
|
|
122
122
|
*/
|
|
123
|
-
'
|
|
123
|
+
'statement'?: string;
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
*
|
|
127
|
+
* @export
|
|
128
|
+
* @interface Fulfillment
|
|
129
|
+
*/
|
|
130
|
+
export interface Fulfillment {
|
|
131
|
+
/**
|
|
132
|
+
*
|
|
133
|
+
* @type {number}
|
|
134
|
+
* @memberof Fulfillment
|
|
135
|
+
*/
|
|
136
|
+
'id': number;
|
|
124
137
|
/**
|
|
125
|
-
*
|
|
138
|
+
*
|
|
126
139
|
* @type {string}
|
|
127
|
-
* @memberof
|
|
140
|
+
* @memberof Fulfillment
|
|
128
141
|
*/
|
|
129
|
-
'
|
|
142
|
+
'merchantRef': string;
|
|
130
143
|
/**
|
|
131
|
-
*
|
|
144
|
+
*
|
|
145
|
+
* @type {number}
|
|
146
|
+
* @memberof Fulfillment
|
|
147
|
+
*/
|
|
148
|
+
'total': number;
|
|
149
|
+
/**
|
|
150
|
+
*
|
|
132
151
|
* @type {string}
|
|
133
|
-
* @memberof
|
|
152
|
+
* @memberof Fulfillment
|
|
134
153
|
*/
|
|
135
|
-
'
|
|
154
|
+
'createdAt': string;
|
|
136
155
|
}
|
|
137
156
|
/**
|
|
138
157
|
* Image description
|
|
@@ -183,6 +202,25 @@ export interface Image {
|
|
|
183
202
|
*/
|
|
184
203
|
'updatedAt'?: string;
|
|
185
204
|
}
|
|
205
|
+
/**
|
|
206
|
+
*
|
|
207
|
+
* @export
|
|
208
|
+
* @interface ListFulfillments200Response
|
|
209
|
+
*/
|
|
210
|
+
export interface ListFulfillments200Response {
|
|
211
|
+
/**
|
|
212
|
+
*
|
|
213
|
+
* @type {Array<Fulfillment>}
|
|
214
|
+
* @memberof ListFulfillments200Response
|
|
215
|
+
*/
|
|
216
|
+
'fulfillments'?: Array<Fulfillment>;
|
|
217
|
+
/**
|
|
218
|
+
*
|
|
219
|
+
* @type {number}
|
|
220
|
+
* @memberof ListFulfillments200Response
|
|
221
|
+
*/
|
|
222
|
+
'nextPageToken'?: number | null;
|
|
223
|
+
}
|
|
186
224
|
/**
|
|
187
225
|
*
|
|
188
226
|
* @export
|
|
@@ -848,6 +886,17 @@ export declare const TransactionsApiAxiosParamCreator: (configuration?: Configur
|
|
|
848
886
|
* @throws {RequiredError}
|
|
849
887
|
*/
|
|
850
888
|
exportTransactions: (project: string, exportTransactionsRequest: ExportTransactionsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
889
|
+
/**
|
|
890
|
+
* Lists all the fulfillments in the project with GFN transactions
|
|
891
|
+
* @summary Lists the GFN fulfillments of the project
|
|
892
|
+
* @param {string} project What project it is
|
|
893
|
+
* @param {number} [pageToken] Page reference token
|
|
894
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
895
|
+
* @param {string} [statementId]
|
|
896
|
+
* @param {*} [options] Override http request option.
|
|
897
|
+
* @throws {RequiredError}
|
|
898
|
+
*/
|
|
899
|
+
listFulfillments: (project: string, pageToken?: number, pageSize?: number, statementId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
851
900
|
/**
|
|
852
901
|
* Lists all GFN transactions available to the project
|
|
853
902
|
* @summary List GFN transactions
|
|
@@ -876,6 +925,17 @@ export declare const TransactionsApiFp: (configuration?: Configuration) => {
|
|
|
876
925
|
* @throws {RequiredError}
|
|
877
926
|
*/
|
|
878
927
|
exportTransactions(project: string, exportTransactionsRequest: ExportTransactionsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
928
|
+
/**
|
|
929
|
+
* Lists all the fulfillments in the project with GFN transactions
|
|
930
|
+
* @summary Lists the GFN fulfillments of the project
|
|
931
|
+
* @param {string} project What project it is
|
|
932
|
+
* @param {number} [pageToken] Page reference token
|
|
933
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
934
|
+
* @param {string} [statementId]
|
|
935
|
+
* @param {*} [options] Override http request option.
|
|
936
|
+
* @throws {RequiredError}
|
|
937
|
+
*/
|
|
938
|
+
listFulfillments(project: string, pageToken?: number, pageSize?: number, statementId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListFulfillments200Response>>;
|
|
879
939
|
/**
|
|
880
940
|
* Lists all GFN transactions available to the project
|
|
881
941
|
* @summary List GFN transactions
|
|
@@ -903,6 +963,14 @@ export declare const TransactionsApiFactory: (configuration?: Configuration, bas
|
|
|
903
963
|
* @throws {RequiredError}
|
|
904
964
|
*/
|
|
905
965
|
exportTransactions(requestParameters: TransactionsApiExportTransactionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
966
|
+
/**
|
|
967
|
+
* Lists all the fulfillments in the project with GFN transactions
|
|
968
|
+
* @summary Lists the GFN fulfillments of the project
|
|
969
|
+
* @param {TransactionsApiListFulfillmentsRequest} requestParameters Request parameters.
|
|
970
|
+
* @param {*} [options] Override http request option.
|
|
971
|
+
* @throws {RequiredError}
|
|
972
|
+
*/
|
|
973
|
+
listFulfillments(requestParameters: TransactionsApiListFulfillmentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListFulfillments200Response>;
|
|
906
974
|
/**
|
|
907
975
|
* Lists all GFN transactions available to the project
|
|
908
976
|
* @summary List GFN transactions
|
|
@@ -931,6 +999,37 @@ export interface TransactionsApiExportTransactionsRequest {
|
|
|
931
999
|
*/
|
|
932
1000
|
readonly exportTransactionsRequest: ExportTransactionsRequest;
|
|
933
1001
|
}
|
|
1002
|
+
/**
|
|
1003
|
+
* Request parameters for listFulfillments operation in TransactionsApi.
|
|
1004
|
+
* @export
|
|
1005
|
+
* @interface TransactionsApiListFulfillmentsRequest
|
|
1006
|
+
*/
|
|
1007
|
+
export interface TransactionsApiListFulfillmentsRequest {
|
|
1008
|
+
/**
|
|
1009
|
+
* What project it is
|
|
1010
|
+
* @type {string}
|
|
1011
|
+
* @memberof TransactionsApiListFulfillments
|
|
1012
|
+
*/
|
|
1013
|
+
readonly project: string;
|
|
1014
|
+
/**
|
|
1015
|
+
* Page reference token
|
|
1016
|
+
* @type {number}
|
|
1017
|
+
* @memberof TransactionsApiListFulfillments
|
|
1018
|
+
*/
|
|
1019
|
+
readonly pageToken?: number;
|
|
1020
|
+
/**
|
|
1021
|
+
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1022
|
+
* @type {number}
|
|
1023
|
+
* @memberof TransactionsApiListFulfillments
|
|
1024
|
+
*/
|
|
1025
|
+
readonly pageSize?: number;
|
|
1026
|
+
/**
|
|
1027
|
+
*
|
|
1028
|
+
* @type {string}
|
|
1029
|
+
* @memberof TransactionsApiListFulfillments
|
|
1030
|
+
*/
|
|
1031
|
+
readonly statementId?: string;
|
|
1032
|
+
}
|
|
934
1033
|
/**
|
|
935
1034
|
* Request parameters for listTransactions operation in TransactionsApi.
|
|
936
1035
|
* @export
|
|
@@ -990,6 +1089,15 @@ export declare class TransactionsApi extends BaseAPI {
|
|
|
990
1089
|
* @memberof TransactionsApi
|
|
991
1090
|
*/
|
|
992
1091
|
exportTransactions(requestParameters: TransactionsApiExportTransactionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
|
|
1092
|
+
/**
|
|
1093
|
+
* Lists all the fulfillments in the project with GFN transactions
|
|
1094
|
+
* @summary Lists the GFN fulfillments of the project
|
|
1095
|
+
* @param {TransactionsApiListFulfillmentsRequest} requestParameters Request parameters.
|
|
1096
|
+
* @param {*} [options] Override http request option.
|
|
1097
|
+
* @throws {RequiredError}
|
|
1098
|
+
* @memberof TransactionsApi
|
|
1099
|
+
*/
|
|
1100
|
+
listFulfillments(requestParameters: TransactionsApiListFulfillmentsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListFulfillments200Response, any>>;
|
|
993
1101
|
/**
|
|
994
1102
|
* Lists all GFN transactions available to the project
|
|
995
1103
|
* @summary List GFN transactions
|
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* GFN Catalog API
|
|
6
6
|
* 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.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 3.0.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -421,6 +421,54 @@ const TransactionsApiAxiosParamCreator = function (configuration) {
|
|
|
421
421
|
options: localVarRequestOptions,
|
|
422
422
|
};
|
|
423
423
|
}),
|
|
424
|
+
/**
|
|
425
|
+
* Lists all the fulfillments in the project with GFN transactions
|
|
426
|
+
* @summary Lists the GFN fulfillments of the project
|
|
427
|
+
* @param {string} project What project it is
|
|
428
|
+
* @param {number} [pageToken] Page reference token
|
|
429
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
430
|
+
* @param {string} [statementId]
|
|
431
|
+
* @param {*} [options] Override http request option.
|
|
432
|
+
* @throws {RequiredError}
|
|
433
|
+
*/
|
|
434
|
+
listFulfillments: (project_1, pageToken_1, pageSize_1, statementId_1, ...args_1) => __awaiter(this, [project_1, pageToken_1, pageSize_1, statementId_1, ...args_1], void 0, function* (project, pageToken, pageSize, statementId, options = {}) {
|
|
435
|
+
// verify required parameter 'project' is not null or undefined
|
|
436
|
+
(0, common_1.assertParamExists)('listFulfillments', 'project', project);
|
|
437
|
+
const localVarPath = `/v1/gfn/transactions/fulfillments`;
|
|
438
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
439
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
440
|
+
let baseOptions;
|
|
441
|
+
if (configuration) {
|
|
442
|
+
baseOptions = configuration.baseOptions;
|
|
443
|
+
}
|
|
444
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
445
|
+
const localVarHeaderParameter = {};
|
|
446
|
+
const localVarQueryParameter = {};
|
|
447
|
+
// authentication session-oauth required
|
|
448
|
+
// oauth required
|
|
449
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
450
|
+
// authentication api-key required
|
|
451
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
452
|
+
if (project !== undefined) {
|
|
453
|
+
localVarQueryParameter['project'] = project;
|
|
454
|
+
}
|
|
455
|
+
if (pageToken !== undefined) {
|
|
456
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
457
|
+
}
|
|
458
|
+
if (pageSize !== undefined) {
|
|
459
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
460
|
+
}
|
|
461
|
+
if (statementId !== undefined) {
|
|
462
|
+
localVarQueryParameter['statementId'] = statementId;
|
|
463
|
+
}
|
|
464
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
465
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
466
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
467
|
+
return {
|
|
468
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
469
|
+
options: localVarRequestOptions,
|
|
470
|
+
};
|
|
471
|
+
}),
|
|
424
472
|
/**
|
|
425
473
|
* Lists all GFN transactions available to the project
|
|
426
474
|
* @summary List GFN transactions
|
|
@@ -504,6 +552,25 @@ const TransactionsApiFp = function (configuration) {
|
|
|
504
552
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
505
553
|
});
|
|
506
554
|
},
|
|
555
|
+
/**
|
|
556
|
+
* Lists all the fulfillments in the project with GFN transactions
|
|
557
|
+
* @summary Lists the GFN fulfillments of the project
|
|
558
|
+
* @param {string} project What project it is
|
|
559
|
+
* @param {number} [pageToken] Page reference token
|
|
560
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
561
|
+
* @param {string} [statementId]
|
|
562
|
+
* @param {*} [options] Override http request option.
|
|
563
|
+
* @throws {RequiredError}
|
|
564
|
+
*/
|
|
565
|
+
listFulfillments(project, pageToken, pageSize, statementId, options) {
|
|
566
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
567
|
+
var _a, _b, _c;
|
|
568
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listFulfillments(project, pageToken, pageSize, statementId, options);
|
|
569
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
570
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TransactionsApi.listFulfillments']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
571
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
572
|
+
});
|
|
573
|
+
},
|
|
507
574
|
/**
|
|
508
575
|
* Lists all GFN transactions available to the project
|
|
509
576
|
* @summary List GFN transactions
|
|
@@ -545,6 +612,16 @@ const TransactionsApiFactory = function (configuration, basePath, axios) {
|
|
|
545
612
|
exportTransactions(requestParameters, options) {
|
|
546
613
|
return localVarFp.exportTransactions(requestParameters.project, requestParameters.exportTransactionsRequest, options).then((request) => request(axios, basePath));
|
|
547
614
|
},
|
|
615
|
+
/**
|
|
616
|
+
* Lists all the fulfillments in the project with GFN transactions
|
|
617
|
+
* @summary Lists the GFN fulfillments of the project
|
|
618
|
+
* @param {TransactionsApiListFulfillmentsRequest} requestParameters Request parameters.
|
|
619
|
+
* @param {*} [options] Override http request option.
|
|
620
|
+
* @throws {RequiredError}
|
|
621
|
+
*/
|
|
622
|
+
listFulfillments(requestParameters, options) {
|
|
623
|
+
return localVarFp.listFulfillments(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.statementId, options).then((request) => request(axios, basePath));
|
|
624
|
+
},
|
|
548
625
|
/**
|
|
549
626
|
* Lists all GFN transactions available to the project
|
|
550
627
|
* @summary List GFN transactions
|
|
@@ -576,6 +653,17 @@ class TransactionsApi extends base_1.BaseAPI {
|
|
|
576
653
|
exportTransactions(requestParameters, options) {
|
|
577
654
|
return (0, exports.TransactionsApiFp)(this.configuration).exportTransactions(requestParameters.project, requestParameters.exportTransactionsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
578
655
|
}
|
|
656
|
+
/**
|
|
657
|
+
* Lists all the fulfillments in the project with GFN transactions
|
|
658
|
+
* @summary Lists the GFN fulfillments of the project
|
|
659
|
+
* @param {TransactionsApiListFulfillmentsRequest} requestParameters Request parameters.
|
|
660
|
+
* @param {*} [options] Override http request option.
|
|
661
|
+
* @throws {RequiredError}
|
|
662
|
+
* @memberof TransactionsApi
|
|
663
|
+
*/
|
|
664
|
+
listFulfillments(requestParameters, options) {
|
|
665
|
+
return (0, exports.TransactionsApiFp)(this.configuration).listFulfillments(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.statementId, options).then((request) => request(this.axios, this.basePath));
|
|
666
|
+
}
|
|
579
667
|
/**
|
|
580
668
|
* Lists all GFN transactions available to the project
|
|
581
669
|
* @summary List GFN transactions
|
package/dist/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* GFN Catalog API
|
|
3
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
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 3.0.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/base.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* GFN Catalog API
|
|
6
6
|
* 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.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 3.0.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* GFN Catalog API
|
|
3
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
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 3.0.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* GFN Catalog API
|
|
6
6
|
* 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.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 3.0.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* GFN Catalog API
|
|
3
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
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 3.0.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* GFN Catalog API
|
|
6
6
|
* 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.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 3.0.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* GFN Catalog API
|
|
3
3
|
* Use this API to access the Global 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
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 3.0.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -116,23 +116,42 @@ export type AttributeThumbnailTypeEnum = typeof AttributeThumbnailTypeEnum[keyof
|
|
|
116
116
|
*/
|
|
117
117
|
export interface ExportTransactionsRequest {
|
|
118
118
|
/**
|
|
119
|
-
*
|
|
119
|
+
* Include only transactions from this statement
|
|
120
120
|
* @type {string}
|
|
121
121
|
* @memberof ExportTransactionsRequest
|
|
122
122
|
*/
|
|
123
|
-
'
|
|
123
|
+
'statement'?: string;
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
*
|
|
127
|
+
* @export
|
|
128
|
+
* @interface Fulfillment
|
|
129
|
+
*/
|
|
130
|
+
export interface Fulfillment {
|
|
131
|
+
/**
|
|
132
|
+
*
|
|
133
|
+
* @type {number}
|
|
134
|
+
* @memberof Fulfillment
|
|
135
|
+
*/
|
|
136
|
+
'id': number;
|
|
124
137
|
/**
|
|
125
|
-
*
|
|
138
|
+
*
|
|
126
139
|
* @type {string}
|
|
127
|
-
* @memberof
|
|
140
|
+
* @memberof Fulfillment
|
|
128
141
|
*/
|
|
129
|
-
'
|
|
142
|
+
'merchantRef': string;
|
|
130
143
|
/**
|
|
131
|
-
*
|
|
144
|
+
*
|
|
145
|
+
* @type {number}
|
|
146
|
+
* @memberof Fulfillment
|
|
147
|
+
*/
|
|
148
|
+
'total': number;
|
|
149
|
+
/**
|
|
150
|
+
*
|
|
132
151
|
* @type {string}
|
|
133
|
-
* @memberof
|
|
152
|
+
* @memberof Fulfillment
|
|
134
153
|
*/
|
|
135
|
-
'
|
|
154
|
+
'createdAt': string;
|
|
136
155
|
}
|
|
137
156
|
/**
|
|
138
157
|
* Image description
|
|
@@ -183,6 +202,25 @@ export interface Image {
|
|
|
183
202
|
*/
|
|
184
203
|
'updatedAt'?: string;
|
|
185
204
|
}
|
|
205
|
+
/**
|
|
206
|
+
*
|
|
207
|
+
* @export
|
|
208
|
+
* @interface ListFulfillments200Response
|
|
209
|
+
*/
|
|
210
|
+
export interface ListFulfillments200Response {
|
|
211
|
+
/**
|
|
212
|
+
*
|
|
213
|
+
* @type {Array<Fulfillment>}
|
|
214
|
+
* @memberof ListFulfillments200Response
|
|
215
|
+
*/
|
|
216
|
+
'fulfillments'?: Array<Fulfillment>;
|
|
217
|
+
/**
|
|
218
|
+
*
|
|
219
|
+
* @type {number}
|
|
220
|
+
* @memberof ListFulfillments200Response
|
|
221
|
+
*/
|
|
222
|
+
'nextPageToken'?: number | null;
|
|
223
|
+
}
|
|
186
224
|
/**
|
|
187
225
|
*
|
|
188
226
|
* @export
|
|
@@ -848,6 +886,17 @@ export declare const TransactionsApiAxiosParamCreator: (configuration?: Configur
|
|
|
848
886
|
* @throws {RequiredError}
|
|
849
887
|
*/
|
|
850
888
|
exportTransactions: (project: string, exportTransactionsRequest: ExportTransactionsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
889
|
+
/**
|
|
890
|
+
* Lists all the fulfillments in the project with GFN transactions
|
|
891
|
+
* @summary Lists the GFN fulfillments of the project
|
|
892
|
+
* @param {string} project What project it is
|
|
893
|
+
* @param {number} [pageToken] Page reference token
|
|
894
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
895
|
+
* @param {string} [statementId]
|
|
896
|
+
* @param {*} [options] Override http request option.
|
|
897
|
+
* @throws {RequiredError}
|
|
898
|
+
*/
|
|
899
|
+
listFulfillments: (project: string, pageToken?: number, pageSize?: number, statementId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
851
900
|
/**
|
|
852
901
|
* Lists all GFN transactions available to the project
|
|
853
902
|
* @summary List GFN transactions
|
|
@@ -876,6 +925,17 @@ export declare const TransactionsApiFp: (configuration?: Configuration) => {
|
|
|
876
925
|
* @throws {RequiredError}
|
|
877
926
|
*/
|
|
878
927
|
exportTransactions(project: string, exportTransactionsRequest: ExportTransactionsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
928
|
+
/**
|
|
929
|
+
* Lists all the fulfillments in the project with GFN transactions
|
|
930
|
+
* @summary Lists the GFN fulfillments of the project
|
|
931
|
+
* @param {string} project What project it is
|
|
932
|
+
* @param {number} [pageToken] Page reference token
|
|
933
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
934
|
+
* @param {string} [statementId]
|
|
935
|
+
* @param {*} [options] Override http request option.
|
|
936
|
+
* @throws {RequiredError}
|
|
937
|
+
*/
|
|
938
|
+
listFulfillments(project: string, pageToken?: number, pageSize?: number, statementId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListFulfillments200Response>>;
|
|
879
939
|
/**
|
|
880
940
|
* Lists all GFN transactions available to the project
|
|
881
941
|
* @summary List GFN transactions
|
|
@@ -903,6 +963,14 @@ export declare const TransactionsApiFactory: (configuration?: Configuration, bas
|
|
|
903
963
|
* @throws {RequiredError}
|
|
904
964
|
*/
|
|
905
965
|
exportTransactions(requestParameters: TransactionsApiExportTransactionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
966
|
+
/**
|
|
967
|
+
* Lists all the fulfillments in the project with GFN transactions
|
|
968
|
+
* @summary Lists the GFN fulfillments of the project
|
|
969
|
+
* @param {TransactionsApiListFulfillmentsRequest} requestParameters Request parameters.
|
|
970
|
+
* @param {*} [options] Override http request option.
|
|
971
|
+
* @throws {RequiredError}
|
|
972
|
+
*/
|
|
973
|
+
listFulfillments(requestParameters: TransactionsApiListFulfillmentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListFulfillments200Response>;
|
|
906
974
|
/**
|
|
907
975
|
* Lists all GFN transactions available to the project
|
|
908
976
|
* @summary List GFN transactions
|
|
@@ -931,6 +999,37 @@ export interface TransactionsApiExportTransactionsRequest {
|
|
|
931
999
|
*/
|
|
932
1000
|
readonly exportTransactionsRequest: ExportTransactionsRequest;
|
|
933
1001
|
}
|
|
1002
|
+
/**
|
|
1003
|
+
* Request parameters for listFulfillments operation in TransactionsApi.
|
|
1004
|
+
* @export
|
|
1005
|
+
* @interface TransactionsApiListFulfillmentsRequest
|
|
1006
|
+
*/
|
|
1007
|
+
export interface TransactionsApiListFulfillmentsRequest {
|
|
1008
|
+
/**
|
|
1009
|
+
* What project it is
|
|
1010
|
+
* @type {string}
|
|
1011
|
+
* @memberof TransactionsApiListFulfillments
|
|
1012
|
+
*/
|
|
1013
|
+
readonly project: string;
|
|
1014
|
+
/**
|
|
1015
|
+
* Page reference token
|
|
1016
|
+
* @type {number}
|
|
1017
|
+
* @memberof TransactionsApiListFulfillments
|
|
1018
|
+
*/
|
|
1019
|
+
readonly pageToken?: number;
|
|
1020
|
+
/**
|
|
1021
|
+
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1022
|
+
* @type {number}
|
|
1023
|
+
* @memberof TransactionsApiListFulfillments
|
|
1024
|
+
*/
|
|
1025
|
+
readonly pageSize?: number;
|
|
1026
|
+
/**
|
|
1027
|
+
*
|
|
1028
|
+
* @type {string}
|
|
1029
|
+
* @memberof TransactionsApiListFulfillments
|
|
1030
|
+
*/
|
|
1031
|
+
readonly statementId?: string;
|
|
1032
|
+
}
|
|
934
1033
|
/**
|
|
935
1034
|
* Request parameters for listTransactions operation in TransactionsApi.
|
|
936
1035
|
* @export
|
|
@@ -990,6 +1089,15 @@ export declare class TransactionsApi extends BaseAPI {
|
|
|
990
1089
|
* @memberof TransactionsApi
|
|
991
1090
|
*/
|
|
992
1091
|
exportTransactions(requestParameters: TransactionsApiExportTransactionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
|
|
1092
|
+
/**
|
|
1093
|
+
* Lists all the fulfillments in the project with GFN transactions
|
|
1094
|
+
* @summary Lists the GFN fulfillments of the project
|
|
1095
|
+
* @param {TransactionsApiListFulfillmentsRequest} requestParameters Request parameters.
|
|
1096
|
+
* @param {*} [options] Override http request option.
|
|
1097
|
+
* @throws {RequiredError}
|
|
1098
|
+
* @memberof TransactionsApi
|
|
1099
|
+
*/
|
|
1100
|
+
listFulfillments(requestParameters: TransactionsApiListFulfillmentsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListFulfillments200Response, any>>;
|
|
993
1101
|
/**
|
|
994
1102
|
* Lists all GFN transactions available to the project
|
|
995
1103
|
* @summary List GFN transactions
|
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* GFN Catalog API
|
|
5
5
|
* 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.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 3.0.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -410,6 +410,54 @@ export const TransactionsApiAxiosParamCreator = function (configuration) {
|
|
|
410
410
|
options: localVarRequestOptions,
|
|
411
411
|
};
|
|
412
412
|
}),
|
|
413
|
+
/**
|
|
414
|
+
* Lists all the fulfillments in the project with GFN transactions
|
|
415
|
+
* @summary Lists the GFN fulfillments of the project
|
|
416
|
+
* @param {string} project What project it is
|
|
417
|
+
* @param {number} [pageToken] Page reference token
|
|
418
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
419
|
+
* @param {string} [statementId]
|
|
420
|
+
* @param {*} [options] Override http request option.
|
|
421
|
+
* @throws {RequiredError}
|
|
422
|
+
*/
|
|
423
|
+
listFulfillments: (project_1, pageToken_1, pageSize_1, statementId_1, ...args_1) => __awaiter(this, [project_1, pageToken_1, pageSize_1, statementId_1, ...args_1], void 0, function* (project, pageToken, pageSize, statementId, options = {}) {
|
|
424
|
+
// verify required parameter 'project' is not null or undefined
|
|
425
|
+
assertParamExists('listFulfillments', 'project', project);
|
|
426
|
+
const localVarPath = `/v1/gfn/transactions/fulfillments`;
|
|
427
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
428
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
429
|
+
let baseOptions;
|
|
430
|
+
if (configuration) {
|
|
431
|
+
baseOptions = configuration.baseOptions;
|
|
432
|
+
}
|
|
433
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
434
|
+
const localVarHeaderParameter = {};
|
|
435
|
+
const localVarQueryParameter = {};
|
|
436
|
+
// authentication session-oauth required
|
|
437
|
+
// oauth required
|
|
438
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
439
|
+
// authentication api-key required
|
|
440
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
441
|
+
if (project !== undefined) {
|
|
442
|
+
localVarQueryParameter['project'] = project;
|
|
443
|
+
}
|
|
444
|
+
if (pageToken !== undefined) {
|
|
445
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
446
|
+
}
|
|
447
|
+
if (pageSize !== undefined) {
|
|
448
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
449
|
+
}
|
|
450
|
+
if (statementId !== undefined) {
|
|
451
|
+
localVarQueryParameter['statementId'] = statementId;
|
|
452
|
+
}
|
|
453
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
454
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
455
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
456
|
+
return {
|
|
457
|
+
url: toPathString(localVarUrlObj),
|
|
458
|
+
options: localVarRequestOptions,
|
|
459
|
+
};
|
|
460
|
+
}),
|
|
413
461
|
/**
|
|
414
462
|
* Lists all GFN transactions available to the project
|
|
415
463
|
* @summary List GFN transactions
|
|
@@ -492,6 +540,25 @@ export const TransactionsApiFp = function (configuration) {
|
|
|
492
540
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
493
541
|
});
|
|
494
542
|
},
|
|
543
|
+
/**
|
|
544
|
+
* Lists all the fulfillments in the project with GFN transactions
|
|
545
|
+
* @summary Lists the GFN fulfillments of the project
|
|
546
|
+
* @param {string} project What project it is
|
|
547
|
+
* @param {number} [pageToken] Page reference token
|
|
548
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
549
|
+
* @param {string} [statementId]
|
|
550
|
+
* @param {*} [options] Override http request option.
|
|
551
|
+
* @throws {RequiredError}
|
|
552
|
+
*/
|
|
553
|
+
listFulfillments(project, pageToken, pageSize, statementId, options) {
|
|
554
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
555
|
+
var _a, _b, _c;
|
|
556
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listFulfillments(project, pageToken, pageSize, statementId, options);
|
|
557
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
558
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TransactionsApi.listFulfillments']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
559
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
560
|
+
});
|
|
561
|
+
},
|
|
495
562
|
/**
|
|
496
563
|
* Lists all GFN transactions available to the project
|
|
497
564
|
* @summary List GFN transactions
|
|
@@ -532,6 +599,16 @@ export const TransactionsApiFactory = function (configuration, basePath, axios)
|
|
|
532
599
|
exportTransactions(requestParameters, options) {
|
|
533
600
|
return localVarFp.exportTransactions(requestParameters.project, requestParameters.exportTransactionsRequest, options).then((request) => request(axios, basePath));
|
|
534
601
|
},
|
|
602
|
+
/**
|
|
603
|
+
* Lists all the fulfillments in the project with GFN transactions
|
|
604
|
+
* @summary Lists the GFN fulfillments of the project
|
|
605
|
+
* @param {TransactionsApiListFulfillmentsRequest} requestParameters Request parameters.
|
|
606
|
+
* @param {*} [options] Override http request option.
|
|
607
|
+
* @throws {RequiredError}
|
|
608
|
+
*/
|
|
609
|
+
listFulfillments(requestParameters, options) {
|
|
610
|
+
return localVarFp.listFulfillments(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.statementId, options).then((request) => request(axios, basePath));
|
|
611
|
+
},
|
|
535
612
|
/**
|
|
536
613
|
* Lists all GFN transactions available to the project
|
|
537
614
|
* @summary List GFN transactions
|
|
@@ -562,6 +639,17 @@ export class TransactionsApi extends BaseAPI {
|
|
|
562
639
|
exportTransactions(requestParameters, options) {
|
|
563
640
|
return TransactionsApiFp(this.configuration).exportTransactions(requestParameters.project, requestParameters.exportTransactionsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
564
641
|
}
|
|
642
|
+
/**
|
|
643
|
+
* Lists all the fulfillments in the project with GFN transactions
|
|
644
|
+
* @summary Lists the GFN fulfillments of the project
|
|
645
|
+
* @param {TransactionsApiListFulfillmentsRequest} requestParameters Request parameters.
|
|
646
|
+
* @param {*} [options] Override http request option.
|
|
647
|
+
* @throws {RequiredError}
|
|
648
|
+
* @memberof TransactionsApi
|
|
649
|
+
*/
|
|
650
|
+
listFulfillments(requestParameters, options) {
|
|
651
|
+
return TransactionsApiFp(this.configuration).listFulfillments(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.statementId, options).then((request) => request(this.axios, this.basePath));
|
|
652
|
+
}
|
|
565
653
|
/**
|
|
566
654
|
* Lists all GFN transactions available to the project
|
|
567
655
|
* @summary List GFN transactions
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* GFN Catalog API
|
|
3
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
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 3.0.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/base.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* GFN Catalog API
|
|
5
5
|
* 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.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 3.0.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* GFN Catalog API
|
|
3
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
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 3.0.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* GFN Catalog API
|
|
5
5
|
* 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.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 3.0.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* GFN Catalog API
|
|
3
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
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 3.0.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* GFN Catalog API
|
|
5
5
|
* 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.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 3.0.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* GFN Catalog API
|
|
3
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
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 3.0.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* GFN Catalog API
|
|
5
5
|
* 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.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 3.0.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* GFN Catalog API
|
|
3
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
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 3.0.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* GFN Catalog API
|
|
6
6
|
* 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.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 3.0.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/index.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* GFN Catalog API
|
|
5
5
|
* 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.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 3.0.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|