@teemill/gfn-catalog 3.6.1 → 3.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/api.ts +13 -655
- package/base.ts +1 -25
- package/common.ts +1 -2
- package/configuration.ts +1 -18
- package/dist/api.d.ts +24 -666
- package/dist/api.js +1 -36
- package/dist/base.d.ts +1 -25
- package/dist/base.js +1 -20
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -18
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +24 -666
- package/dist/esm/api.js +1 -36
- package/dist/esm/base.d.ts +1 -25
- package/dist/esm/base.js +1 -20
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -18
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/ListFulfillments200Response.md +22 -0
- package/docs/ListStatements200Response.md +22 -0
- package/docs/ListTransactions200Response.md +22 -0
- package/docs/StatementsApi.md +2 -2
- package/docs/TransactionsApi.md +4 -4
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* GFN Catalog API
|
|
5
5
|
* Use this API to access the Global Fulfillment Network, which contains all the warehouse products and variants available to a given project. Warehouse products represent the base products that can be printed on. Products are the top level items, and variants are the different options available for each product. For example, a product might be a T-shirt, and each variant represents a different size and colour combination of that T-shirt. Use references to these warehouse products to create new product listings on your project via the Product Catalog API. Use the variant information to decide which options you would like to offer on each product listing.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.6.
|
|
7
|
+
* The version of the OpenAPI document: 3.6.3
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -38,7 +38,6 @@ export const TransactionTypeEnum = {
|
|
|
38
38
|
};
|
|
39
39
|
/**
|
|
40
40
|
* ProductsApi - axios parameter creator
|
|
41
|
-
* @export
|
|
42
41
|
*/
|
|
43
42
|
export const ProductsApiAxiosParamCreator = function (configuration) {
|
|
44
43
|
return {
|
|
@@ -142,7 +141,6 @@ export const ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
142
141
|
};
|
|
143
142
|
/**
|
|
144
143
|
* ProductsApi - functional programming interface
|
|
145
|
-
* @export
|
|
146
144
|
*/
|
|
147
145
|
export const ProductsApiFp = function (configuration) {
|
|
148
146
|
const localVarAxiosParamCreator = ProductsApiAxiosParamCreator(configuration);
|
|
@@ -189,7 +187,6 @@ export const ProductsApiFp = function (configuration) {
|
|
|
189
187
|
};
|
|
190
188
|
/**
|
|
191
189
|
* ProductsApi - factory interface
|
|
192
|
-
* @export
|
|
193
190
|
*/
|
|
194
191
|
export const ProductsApiFactory = function (configuration, basePath, axios) {
|
|
195
192
|
const localVarFp = ProductsApiFp(configuration);
|
|
@@ -218,9 +215,6 @@ export const ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
218
215
|
};
|
|
219
216
|
/**
|
|
220
217
|
* ProductsApi - object-oriented interface
|
|
221
|
-
* @export
|
|
222
|
-
* @class ProductsApi
|
|
223
|
-
* @extends {BaseAPI}
|
|
224
218
|
*/
|
|
225
219
|
export class ProductsApi extends BaseAPI {
|
|
226
220
|
/**
|
|
@@ -229,7 +223,6 @@ export class ProductsApi extends BaseAPI {
|
|
|
229
223
|
* @param {ProductsApiGetProductRequest} requestParameters Request parameters.
|
|
230
224
|
* @param {*} [options] Override http request option.
|
|
231
225
|
* @throws {RequiredError}
|
|
232
|
-
* @memberof ProductsApi
|
|
233
226
|
*/
|
|
234
227
|
getProduct(requestParameters, options) {
|
|
235
228
|
return ProductsApiFp(this.configuration).getProduct(requestParameters.project, requestParameters.productId, requestParameters.fields, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -240,7 +233,6 @@ export class ProductsApi extends BaseAPI {
|
|
|
240
233
|
* @param {ProductsApiListProductsRequest} requestParameters Request parameters.
|
|
241
234
|
* @param {*} [options] Override http request option.
|
|
242
235
|
* @throws {RequiredError}
|
|
243
|
-
* @memberof ProductsApi
|
|
244
236
|
*/
|
|
245
237
|
listProducts(requestParameters, options) {
|
|
246
238
|
return ProductsApiFp(this.configuration).listProducts(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.fields, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -248,7 +240,6 @@ export class ProductsApi extends BaseAPI {
|
|
|
248
240
|
}
|
|
249
241
|
/**
|
|
250
242
|
* StatementsApi - axios parameter creator
|
|
251
|
-
* @export
|
|
252
243
|
*/
|
|
253
244
|
export const StatementsApiAxiosParamCreator = function (configuration) {
|
|
254
245
|
return {
|
|
@@ -344,7 +335,6 @@ export const StatementsApiAxiosParamCreator = function (configuration) {
|
|
|
344
335
|
};
|
|
345
336
|
/**
|
|
346
337
|
* StatementsApi - functional programming interface
|
|
347
|
-
* @export
|
|
348
338
|
*/
|
|
349
339
|
export const StatementsApiFp = function (configuration) {
|
|
350
340
|
const localVarAxiosParamCreator = StatementsApiAxiosParamCreator(configuration);
|
|
@@ -389,7 +379,6 @@ export const StatementsApiFp = function (configuration) {
|
|
|
389
379
|
};
|
|
390
380
|
/**
|
|
391
381
|
* StatementsApi - factory interface
|
|
392
|
-
* @export
|
|
393
382
|
*/
|
|
394
383
|
export const StatementsApiFactory = function (configuration, basePath, axios) {
|
|
395
384
|
const localVarFp = StatementsApiFp(configuration);
|
|
@@ -418,9 +407,6 @@ export const StatementsApiFactory = function (configuration, basePath, axios) {
|
|
|
418
407
|
};
|
|
419
408
|
/**
|
|
420
409
|
* StatementsApi - object-oriented interface
|
|
421
|
-
* @export
|
|
422
|
-
* @class StatementsApi
|
|
423
|
-
* @extends {BaseAPI}
|
|
424
410
|
*/
|
|
425
411
|
export class StatementsApi extends BaseAPI {
|
|
426
412
|
/**
|
|
@@ -429,7 +415,6 @@ export class StatementsApi extends BaseAPI {
|
|
|
429
415
|
* @param {StatementsApiGetStatementRequest} requestParameters Request parameters.
|
|
430
416
|
* @param {*} [options] Override http request option.
|
|
431
417
|
* @throws {RequiredError}
|
|
432
|
-
* @memberof StatementsApi
|
|
433
418
|
*/
|
|
434
419
|
getStatement(requestParameters, options) {
|
|
435
420
|
return StatementsApiFp(this.configuration).getStatement(requestParameters.project, requestParameters.statementId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -440,7 +425,6 @@ export class StatementsApi extends BaseAPI {
|
|
|
440
425
|
* @param {StatementsApiListStatementsRequest} requestParameters Request parameters.
|
|
441
426
|
* @param {*} [options] Override http request option.
|
|
442
427
|
* @throws {RequiredError}
|
|
443
|
-
* @memberof StatementsApi
|
|
444
428
|
*/
|
|
445
429
|
listStatements(requestParameters, options) {
|
|
446
430
|
return StatementsApiFp(this.configuration).listStatements(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -448,7 +432,6 @@ export class StatementsApi extends BaseAPI {
|
|
|
448
432
|
}
|
|
449
433
|
/**
|
|
450
434
|
* TransactionsApi - axios parameter creator
|
|
451
|
-
* @export
|
|
452
435
|
*/
|
|
453
436
|
export const TransactionsApiAxiosParamCreator = function (configuration) {
|
|
454
437
|
return {
|
|
@@ -601,7 +584,6 @@ export const TransactionsApiAxiosParamCreator = function (configuration) {
|
|
|
601
584
|
};
|
|
602
585
|
/**
|
|
603
586
|
* TransactionsApi - functional programming interface
|
|
604
|
-
* @export
|
|
605
587
|
*/
|
|
606
588
|
export const TransactionsApiFp = function (configuration) {
|
|
607
589
|
const localVarAxiosParamCreator = TransactionsApiAxiosParamCreator(configuration);
|
|
@@ -667,7 +649,6 @@ export const TransactionsApiFp = function (configuration) {
|
|
|
667
649
|
};
|
|
668
650
|
/**
|
|
669
651
|
* TransactionsApi - factory interface
|
|
670
|
-
* @export
|
|
671
652
|
*/
|
|
672
653
|
export const TransactionsApiFactory = function (configuration, basePath, axios) {
|
|
673
654
|
const localVarFp = TransactionsApiFp(configuration);
|
|
@@ -706,9 +687,6 @@ export const TransactionsApiFactory = function (configuration, basePath, axios)
|
|
|
706
687
|
};
|
|
707
688
|
/**
|
|
708
689
|
* TransactionsApi - object-oriented interface
|
|
709
|
-
* @export
|
|
710
|
-
* @class TransactionsApi
|
|
711
|
-
* @extends {BaseAPI}
|
|
712
690
|
*/
|
|
713
691
|
export class TransactionsApi extends BaseAPI {
|
|
714
692
|
/**
|
|
@@ -717,7 +695,6 @@ export class TransactionsApi extends BaseAPI {
|
|
|
717
695
|
* @param {TransactionsApiExportTransactionsRequest} requestParameters Request parameters.
|
|
718
696
|
* @param {*} [options] Override http request option.
|
|
719
697
|
* @throws {RequiredError}
|
|
720
|
-
* @memberof TransactionsApi
|
|
721
698
|
*/
|
|
722
699
|
exportTransactions(requestParameters, options) {
|
|
723
700
|
return TransactionsApiFp(this.configuration).exportTransactions(requestParameters.project, requestParameters.exportTransactionsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -728,7 +705,6 @@ export class TransactionsApi extends BaseAPI {
|
|
|
728
705
|
* @param {TransactionsApiListFulfillmentsRequest} requestParameters Request parameters.
|
|
729
706
|
* @param {*} [options] Override http request option.
|
|
730
707
|
* @throws {RequiredError}
|
|
731
|
-
* @memberof TransactionsApi
|
|
732
708
|
*/
|
|
733
709
|
listFulfillments(requestParameters, options) {
|
|
734
710
|
return TransactionsApiFp(this.configuration).listFulfillments(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.statementId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -739,7 +715,6 @@ export class TransactionsApi extends BaseAPI {
|
|
|
739
715
|
* @param {TransactionsApiListTransactionsRequest} requestParameters Request parameters.
|
|
740
716
|
* @param {*} [options] Override http request option.
|
|
741
717
|
* @throws {RequiredError}
|
|
742
|
-
* @memberof TransactionsApi
|
|
743
718
|
*/
|
|
744
719
|
listTransactions(requestParameters, options) {
|
|
745
720
|
return TransactionsApiFp(this.configuration).listTransactions(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.statementId, requestParameters.fulfillmentId, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -747,7 +722,6 @@ export class TransactionsApi extends BaseAPI {
|
|
|
747
722
|
}
|
|
748
723
|
/**
|
|
749
724
|
* VariantsApi - axios parameter creator
|
|
750
|
-
* @export
|
|
751
725
|
*/
|
|
752
726
|
export const VariantsApiAxiosParamCreator = function (configuration) {
|
|
753
727
|
return {
|
|
@@ -947,7 +921,6 @@ export const VariantsApiAxiosParamCreator = function (configuration) {
|
|
|
947
921
|
};
|
|
948
922
|
/**
|
|
949
923
|
* VariantsApi - functional programming interface
|
|
950
|
-
* @export
|
|
951
924
|
*/
|
|
952
925
|
export const VariantsApiFp = function (configuration) {
|
|
953
926
|
const localVarAxiosParamCreator = VariantsApiAxiosParamCreator(configuration);
|
|
@@ -1032,7 +1005,6 @@ export const VariantsApiFp = function (configuration) {
|
|
|
1032
1005
|
};
|
|
1033
1006
|
/**
|
|
1034
1007
|
* VariantsApi - factory interface
|
|
1035
|
-
* @export
|
|
1036
1008
|
*/
|
|
1037
1009
|
export const VariantsApiFactory = function (configuration, basePath, axios) {
|
|
1038
1010
|
const localVarFp = VariantsApiFp(configuration);
|
|
@@ -1081,9 +1053,6 @@ export const VariantsApiFactory = function (configuration, basePath, axios) {
|
|
|
1081
1053
|
};
|
|
1082
1054
|
/**
|
|
1083
1055
|
* VariantsApi - object-oriented interface
|
|
1084
|
-
* @export
|
|
1085
|
-
* @class VariantsApi
|
|
1086
|
-
* @extends {BaseAPI}
|
|
1087
1056
|
*/
|
|
1088
1057
|
export class VariantsApi extends BaseAPI {
|
|
1089
1058
|
/**
|
|
@@ -1092,7 +1061,6 @@ export class VariantsApi extends BaseAPI {
|
|
|
1092
1061
|
* @param {VariantsApiGetStockRequest} requestParameters Request parameters.
|
|
1093
1062
|
* @param {*} [options] Override http request option.
|
|
1094
1063
|
* @throws {RequiredError}
|
|
1095
|
-
* @memberof VariantsApi
|
|
1096
1064
|
*/
|
|
1097
1065
|
getStock(requestParameters, options) {
|
|
1098
1066
|
return VariantsApiFp(this.configuration).getStock(requestParameters.project, requestParameters.variantId, requestParameters.fulfillmentProjects, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1103,7 +1071,6 @@ export class VariantsApi extends BaseAPI {
|
|
|
1103
1071
|
* @param {VariantsApiGetVariantRequest} requestParameters Request parameters.
|
|
1104
1072
|
* @param {*} [options] Override http request option.
|
|
1105
1073
|
* @throws {RequiredError}
|
|
1106
|
-
* @memberof VariantsApi
|
|
1107
1074
|
*/
|
|
1108
1075
|
getVariant(requestParameters, options) {
|
|
1109
1076
|
return VariantsApiFp(this.configuration).getVariant(requestParameters.project, requestParameters.variantId, requestParameters.fields, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1114,7 +1081,6 @@ export class VariantsApi extends BaseAPI {
|
|
|
1114
1081
|
* @param {VariantsApiListStockRequest} requestParameters Request parameters.
|
|
1115
1082
|
* @param {*} [options] Override http request option.
|
|
1116
1083
|
* @throws {RequiredError}
|
|
1117
|
-
* @memberof VariantsApi
|
|
1118
1084
|
*/
|
|
1119
1085
|
listStock(requestParameters, options) {
|
|
1120
1086
|
return VariantsApiFp(this.configuration).listStock(requestParameters.project, requestParameters.fulfillmentProjects, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1125,7 +1091,6 @@ export class VariantsApi extends BaseAPI {
|
|
|
1125
1091
|
* @param {VariantsApiListVariantsRequest} requestParameters Request parameters.
|
|
1126
1092
|
* @param {*} [options] Override http request option.
|
|
1127
1093
|
* @throws {RequiredError}
|
|
1128
|
-
* @memberof VariantsApi
|
|
1129
1094
|
*/
|
|
1130
1095
|
listVariants(requestParameters, options) {
|
|
1131
1096
|
return VariantsApiFp(this.configuration).listVariants(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.fields, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
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 Fulfillment Network, which contains all the warehouse products and variants available to a given project. Warehouse products represent the base products that can be printed on. Products are the top level items, and variants are the different options available for each product. For example, a product might be a T-shirt, and each variant represents a different size and colour combination of that T-shirt. Use references to these warehouse products to create new product listings on your project via the Product Catalog API. Use the variant information to decide which options you would like to offer on each product listing.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.6.
|
|
5
|
+
* The version of the OpenAPI document: 3.6.3
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,42 +12,22 @@
|
|
|
12
12
|
import type { Configuration } from './configuration';
|
|
13
13
|
import type { AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
export declare const BASE_PATH: string;
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
*/
|
|
19
15
|
export declare const COLLECTION_FORMATS: {
|
|
20
16
|
csv: string;
|
|
21
17
|
ssv: string;
|
|
22
18
|
tsv: string;
|
|
23
19
|
pipes: string;
|
|
24
20
|
};
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @export
|
|
28
|
-
* @interface RequestArgs
|
|
29
|
-
*/
|
|
30
21
|
export interface RequestArgs {
|
|
31
22
|
url: string;
|
|
32
23
|
options: RawAxiosRequestConfig;
|
|
33
24
|
}
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @export
|
|
37
|
-
* @class BaseAPI
|
|
38
|
-
*/
|
|
39
25
|
export declare class BaseAPI {
|
|
40
26
|
protected basePath: string;
|
|
41
27
|
protected axios: AxiosInstance;
|
|
42
28
|
protected configuration: Configuration | undefined;
|
|
43
29
|
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
44
30
|
}
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @export
|
|
48
|
-
* @class RequiredError
|
|
49
|
-
* @extends {Error}
|
|
50
|
-
*/
|
|
51
31
|
export declare class RequiredError extends Error {
|
|
52
32
|
field: string;
|
|
53
33
|
constructor(field: string, msg?: string);
|
|
@@ -58,9 +38,5 @@ interface ServerMap {
|
|
|
58
38
|
description: string;
|
|
59
39
|
}[];
|
|
60
40
|
}
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @export
|
|
64
|
-
*/
|
|
65
41
|
export declare const operationServerMap: ServerMap;
|
|
66
42
|
export {};
|
package/dist/esm/base.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* GFN Catalog API
|
|
5
5
|
* Use this API to access the Global Fulfillment Network, which contains all the warehouse products and variants available to a given project. Warehouse products represent the base products that can be printed on. Products are the top level items, and variants are the different options available for each product. For example, a product might be a T-shirt, and each variant represents a different size and colour combination of that T-shirt. Use references to these warehouse products to create new product listings on your project via the Product Catalog API. Use the variant information to decide which options you would like to offer on each product listing.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.6.
|
|
7
|
+
* The version of the OpenAPI document: 3.6.3
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,21 +13,12 @@
|
|
|
13
13
|
*/
|
|
14
14
|
import globalAxios from 'axios';
|
|
15
15
|
export const BASE_PATH = "https://api.podos.io".replace(/\/+$/, "");
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
*/
|
|
20
16
|
export const COLLECTION_FORMATS = {
|
|
21
17
|
csv: ",",
|
|
22
18
|
ssv: " ",
|
|
23
19
|
tsv: "\t",
|
|
24
20
|
pipes: "|",
|
|
25
21
|
};
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @export
|
|
29
|
-
* @class BaseAPI
|
|
30
|
-
*/
|
|
31
22
|
export class BaseAPI {
|
|
32
23
|
constructor(configuration, basePath = BASE_PATH, axios = globalAxios) {
|
|
33
24
|
var _a;
|
|
@@ -40,12 +31,6 @@ export class BaseAPI {
|
|
|
40
31
|
}
|
|
41
32
|
}
|
|
42
33
|
;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @export
|
|
46
|
-
* @class RequiredError
|
|
47
|
-
* @extends {Error}
|
|
48
|
-
*/
|
|
49
34
|
export class RequiredError extends Error {
|
|
50
35
|
constructor(field, msg) {
|
|
51
36
|
super(msg);
|
|
@@ -53,8 +38,4 @@ export class RequiredError extends Error {
|
|
|
53
38
|
this.name = "RequiredError";
|
|
54
39
|
}
|
|
55
40
|
}
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @export
|
|
59
|
-
*/
|
|
60
41
|
export const operationServerMap = {};
|
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 Fulfillment Network, which contains all the warehouse products and variants available to a given project. Warehouse products represent the base products that can be printed on. Products are the top level items, and variants are the different options available for each product. For example, a product might be a T-shirt, and each variant represents a different size and colour combination of that T-shirt. Use references to these warehouse products to create new product listings on your project via the Product Catalog API. Use the variant information to decide which options you would like to offer on each product listing.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.6.
|
|
5
|
+
* The version of the OpenAPI document: 3.6.3
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* GFN Catalog API
|
|
5
5
|
* Use this API to access the Global Fulfillment Network, which contains all the warehouse products and variants available to a given project. Warehouse products represent the base products that can be printed on. Products are the top level items, and variants are the different options available for each product. For example, a product might be a T-shirt, and each variant represents a different size and colour combination of that T-shirt. Use references to these warehouse products to create new product listings on your project via the Product Catalog API. Use the variant information to decide which options you would like to offer on each product listing.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.6.
|
|
7
|
+
* The version of the OpenAPI document: 3.6.3
|
|
8
8
|
*
|
|
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 Fulfillment Network, which contains all the warehouse products and variants available to a given project. Warehouse products represent the base products that can be printed on. Products are the top level items, and variants are the different options available for each product. For example, a product might be a T-shirt, and each variant represents a different size and colour combination of that T-shirt. Use references to these warehouse products to create new product listings on your project via the Product Catalog API. Use the variant information to decide which options you would like to offer on each product listing.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.6.
|
|
5
|
+
* The version of the OpenAPI document: 3.6.3
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -23,49 +23,32 @@ export declare class Configuration {
|
|
|
23
23
|
/**
|
|
24
24
|
* parameter for apiKey security
|
|
25
25
|
* @param name security name
|
|
26
|
-
* @memberof Configuration
|
|
27
26
|
*/
|
|
28
27
|
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
29
28
|
/**
|
|
30
29
|
* parameter for basic security
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof Configuration
|
|
34
30
|
*/
|
|
35
31
|
username?: string;
|
|
36
32
|
/**
|
|
37
33
|
* parameter for basic security
|
|
38
|
-
*
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof Configuration
|
|
41
34
|
*/
|
|
42
35
|
password?: string;
|
|
43
36
|
/**
|
|
44
37
|
* parameter for oauth2 security
|
|
45
38
|
* @param name security name
|
|
46
39
|
* @param scopes oauth2 scope
|
|
47
|
-
* @memberof Configuration
|
|
48
40
|
*/
|
|
49
41
|
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
50
42
|
/**
|
|
51
43
|
* override base path
|
|
52
|
-
*
|
|
53
|
-
* @type {string}
|
|
54
|
-
* @memberof Configuration
|
|
55
44
|
*/
|
|
56
45
|
basePath?: string;
|
|
57
46
|
/**
|
|
58
47
|
* override server index
|
|
59
|
-
*
|
|
60
|
-
* @type {number}
|
|
61
|
-
* @memberof Configuration
|
|
62
48
|
*/
|
|
63
49
|
serverIndex?: number;
|
|
64
50
|
/**
|
|
65
51
|
* base options for axios calls
|
|
66
|
-
*
|
|
67
|
-
* @type {any}
|
|
68
|
-
* @memberof Configuration
|
|
69
52
|
*/
|
|
70
53
|
baseOptions?: any;
|
|
71
54
|
/**
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* GFN Catalog API
|
|
5
5
|
* Use this API to access the Global Fulfillment Network, which contains all the warehouse products and variants available to a given project. Warehouse products represent the base products that can be printed on. Products are the top level items, and variants are the different options available for each product. For example, a product might be a T-shirt, and each variant represents a different size and colour combination of that T-shirt. Use references to these warehouse products to create new product listings on your project via the Product Catalog API. Use the variant information to decide which options you would like to offer on each product listing.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.6.
|
|
7
|
+
* The version of the OpenAPI document: 3.6.3
|
|
8
8
|
*
|
|
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 Fulfillment Network, which contains all the warehouse products and variants available to a given project. Warehouse products represent the base products that can be printed on. Products are the top level items, and variants are the different options available for each product. For example, a product might be a T-shirt, and each variant represents a different size and colour combination of that T-shirt. Use references to these warehouse products to create new product listings on your project via the Product Catalog API. Use the variant information to decide which options you would like to offer on each product listing.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.6.
|
|
5
|
+
* The version of the OpenAPI document: 3.6.3
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* GFN Catalog API
|
|
5
5
|
* Use this API to access the Global Fulfillment Network, which contains all the warehouse products and variants available to a given project. Warehouse products represent the base products that can be printed on. Products are the top level items, and variants are the different options available for each product. For example, a product might be a T-shirt, and each variant represents a different size and colour combination of that T-shirt. Use references to these warehouse products to create new product listings on your project via the Product Catalog API. Use the variant information to decide which options you would like to offer on each product listing.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.6.
|
|
7
|
+
* The version of the OpenAPI document: 3.6.3
|
|
8
8
|
*
|
|
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 Fulfillment Network, which contains all the warehouse products and variants available to a given project. Warehouse products represent the base products that can be printed on. Products are the top level items, and variants are the different options available for each product. For example, a product might be a T-shirt, and each variant represents a different size and colour combination of that T-shirt. Use references to these warehouse products to create new product listings on your project via the Product Catalog API. Use the variant information to decide which options you would like to offer on each product listing.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.6.
|
|
5
|
+
* The version of the OpenAPI document: 3.6.3
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* GFN Catalog API
|
|
6
6
|
* Use this API to access the Global Fulfillment Network, which contains all the warehouse products and variants available to a given project. Warehouse products represent the base products that can be printed on. Products are the top level items, and variants are the different options available for each product. For example, a product might be a T-shirt, and each variant represents a different size and colour combination of that T-shirt. Use references to these warehouse products to create new product listings on your project via the Product Catalog API. Use the variant information to decide which options you would like to offer on each product listing.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.6.
|
|
8
|
+
* The version of the OpenAPI document: 3.6.3
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# ListFulfillments200Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**fulfillments** | [**Array<Fulfillment>**](Fulfillment.md) | | [optional] [default to undefined]
|
|
9
|
+
**nextPageToken** | **number** | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { ListFulfillments200Response } from '@teemill/gfn-catalog';
|
|
15
|
+
|
|
16
|
+
const instance: ListFulfillments200Response = {
|
|
17
|
+
fulfillments,
|
|
18
|
+
nextPageToken,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# ListStatements200Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**statements** | [**Array<Statement>**](Statement.md) | | [optional] [default to undefined]
|
|
9
|
+
**nextPageToken** | **number** | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { ListStatements200Response } from '@teemill/gfn-catalog';
|
|
15
|
+
|
|
16
|
+
const instance: ListStatements200Response = {
|
|
17
|
+
statements,
|
|
18
|
+
nextPageToken,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# ListTransactions200Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**transactions** | [**Array<Transaction>**](Transaction.md) | | [optional] [default to undefined]
|
|
9
|
+
**nextPageToken** | **number** | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { ListTransactions200Response } from '@teemill/gfn-catalog';
|
|
15
|
+
|
|
16
|
+
const instance: ListTransactions200Response = {
|
|
17
|
+
transactions,
|
|
18
|
+
nextPageToken,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/StatementsApi.md
CHANGED
|
@@ -67,7 +67,7 @@ const { status, data } = await apiInstance.getStatement(
|
|
|
67
67
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
68
68
|
|
|
69
69
|
# **listStatements**
|
|
70
|
-
>
|
|
70
|
+
> ListStatements200Response listStatements()
|
|
71
71
|
|
|
72
72
|
Lists GFN statements available to the project
|
|
73
73
|
|
|
@@ -107,7 +107,7 @@ const { status, data } = await apiInstance.listStatements(
|
|
|
107
107
|
|
|
108
108
|
### Return type
|
|
109
109
|
|
|
110
|
-
**
|
|
110
|
+
**ListStatements200Response**
|
|
111
111
|
|
|
112
112
|
### Authorization
|
|
113
113
|
|
package/docs/TransactionsApi.md
CHANGED
|
@@ -70,7 +70,7 @@ const { status, data } = await apiInstance.exportTransactions(
|
|
|
70
70
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
71
71
|
|
|
72
72
|
# **listFulfillments**
|
|
73
|
-
>
|
|
73
|
+
> ListFulfillments200Response listFulfillments()
|
|
74
74
|
|
|
75
75
|
Lists all the fulfillments in the project with GFN transactions
|
|
76
76
|
|
|
@@ -110,7 +110,7 @@ const { status, data } = await apiInstance.listFulfillments(
|
|
|
110
110
|
|
|
111
111
|
### Return type
|
|
112
112
|
|
|
113
|
-
**
|
|
113
|
+
**ListFulfillments200Response**
|
|
114
114
|
|
|
115
115
|
### Authorization
|
|
116
116
|
|
|
@@ -134,7 +134,7 @@ const { status, data } = await apiInstance.listFulfillments(
|
|
|
134
134
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
135
135
|
|
|
136
136
|
# **listTransactions**
|
|
137
|
-
>
|
|
137
|
+
> ListTransactions200Response listTransactions()
|
|
138
138
|
|
|
139
139
|
Lists all GFN transactions available to the project
|
|
140
140
|
|
|
@@ -180,7 +180,7 @@ const { status, data } = await apiInstance.listTransactions(
|
|
|
180
180
|
|
|
181
181
|
### Return type
|
|
182
182
|
|
|
183
|
-
**
|
|
183
|
+
**ListTransactions200Response**
|
|
184
184
|
|
|
185
185
|
### Authorization
|
|
186
186
|
|
package/index.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* GFN Catalog API
|
|
5
5
|
* Use this API to access the Global Fulfillment Network, which contains all the warehouse products and variants available to a given project. Warehouse products represent the base products that can be printed on. Products are the top level items, and variants are the different options available for each product. For example, a product might be a T-shirt, and each variant represents a different size and colour combination of that T-shirt. Use references to these warehouse products to create new product listings on your project via the Product Catalog API. Use the variant information to decide which options you would like to offer on each product listing.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 3.6.
|
|
7
|
+
* The version of the OpenAPI document: 3.6.3
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|