@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/dist/api.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.1
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).
@@ -41,7 +41,6 @@ exports.TransactionTypeEnum = {
41
41
  };
42
42
  /**
43
43
  * ProductsApi - axios parameter creator
44
- * @export
45
44
  */
46
45
  const ProductsApiAxiosParamCreator = function (configuration) {
47
46
  return {
@@ -146,7 +145,6 @@ const ProductsApiAxiosParamCreator = function (configuration) {
146
145
  exports.ProductsApiAxiosParamCreator = ProductsApiAxiosParamCreator;
147
146
  /**
148
147
  * ProductsApi - functional programming interface
149
- * @export
150
148
  */
151
149
  const ProductsApiFp = function (configuration) {
152
150
  const localVarAxiosParamCreator = (0, exports.ProductsApiAxiosParamCreator)(configuration);
@@ -194,7 +192,6 @@ const ProductsApiFp = function (configuration) {
194
192
  exports.ProductsApiFp = ProductsApiFp;
195
193
  /**
196
194
  * ProductsApi - factory interface
197
- * @export
198
195
  */
199
196
  const ProductsApiFactory = function (configuration, basePath, axios) {
200
197
  const localVarFp = (0, exports.ProductsApiFp)(configuration);
@@ -224,9 +221,6 @@ const ProductsApiFactory = function (configuration, basePath, axios) {
224
221
  exports.ProductsApiFactory = ProductsApiFactory;
225
222
  /**
226
223
  * ProductsApi - object-oriented interface
227
- * @export
228
- * @class ProductsApi
229
- * @extends {BaseAPI}
230
224
  */
231
225
  class ProductsApi extends base_1.BaseAPI {
232
226
  /**
@@ -235,7 +229,6 @@ class ProductsApi extends base_1.BaseAPI {
235
229
  * @param {ProductsApiGetProductRequest} requestParameters Request parameters.
236
230
  * @param {*} [options] Override http request option.
237
231
  * @throws {RequiredError}
238
- * @memberof ProductsApi
239
232
  */
240
233
  getProduct(requestParameters, options) {
241
234
  return (0, exports.ProductsApiFp)(this.configuration).getProduct(requestParameters.project, requestParameters.productId, requestParameters.fields, options).then((request) => request(this.axios, this.basePath));
@@ -246,7 +239,6 @@ class ProductsApi extends base_1.BaseAPI {
246
239
  * @param {ProductsApiListProductsRequest} requestParameters Request parameters.
247
240
  * @param {*} [options] Override http request option.
248
241
  * @throws {RequiredError}
249
- * @memberof ProductsApi
250
242
  */
251
243
  listProducts(requestParameters, options) {
252
244
  return (0, exports.ProductsApiFp)(this.configuration).listProducts(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.fields, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
@@ -255,7 +247,6 @@ class ProductsApi extends base_1.BaseAPI {
255
247
  exports.ProductsApi = ProductsApi;
256
248
  /**
257
249
  * StatementsApi - axios parameter creator
258
- * @export
259
250
  */
260
251
  const StatementsApiAxiosParamCreator = function (configuration) {
261
252
  return {
@@ -352,7 +343,6 @@ const StatementsApiAxiosParamCreator = function (configuration) {
352
343
  exports.StatementsApiAxiosParamCreator = StatementsApiAxiosParamCreator;
353
344
  /**
354
345
  * StatementsApi - functional programming interface
355
- * @export
356
346
  */
357
347
  const StatementsApiFp = function (configuration) {
358
348
  const localVarAxiosParamCreator = (0, exports.StatementsApiAxiosParamCreator)(configuration);
@@ -398,7 +388,6 @@ const StatementsApiFp = function (configuration) {
398
388
  exports.StatementsApiFp = StatementsApiFp;
399
389
  /**
400
390
  * StatementsApi - factory interface
401
- * @export
402
391
  */
403
392
  const StatementsApiFactory = function (configuration, basePath, axios) {
404
393
  const localVarFp = (0, exports.StatementsApiFp)(configuration);
@@ -428,9 +417,6 @@ const StatementsApiFactory = function (configuration, basePath, axios) {
428
417
  exports.StatementsApiFactory = StatementsApiFactory;
429
418
  /**
430
419
  * StatementsApi - object-oriented interface
431
- * @export
432
- * @class StatementsApi
433
- * @extends {BaseAPI}
434
420
  */
435
421
  class StatementsApi extends base_1.BaseAPI {
436
422
  /**
@@ -439,7 +425,6 @@ class StatementsApi extends base_1.BaseAPI {
439
425
  * @param {StatementsApiGetStatementRequest} requestParameters Request parameters.
440
426
  * @param {*} [options] Override http request option.
441
427
  * @throws {RequiredError}
442
- * @memberof StatementsApi
443
428
  */
444
429
  getStatement(requestParameters, options) {
445
430
  return (0, exports.StatementsApiFp)(this.configuration).getStatement(requestParameters.project, requestParameters.statementId, options).then((request) => request(this.axios, this.basePath));
@@ -450,7 +435,6 @@ class StatementsApi extends base_1.BaseAPI {
450
435
  * @param {StatementsApiListStatementsRequest} requestParameters Request parameters.
451
436
  * @param {*} [options] Override http request option.
452
437
  * @throws {RequiredError}
453
- * @memberof StatementsApi
454
438
  */
455
439
  listStatements(requestParameters, options) {
456
440
  return (0, exports.StatementsApiFp)(this.configuration).listStatements(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
@@ -459,7 +443,6 @@ class StatementsApi extends base_1.BaseAPI {
459
443
  exports.StatementsApi = StatementsApi;
460
444
  /**
461
445
  * TransactionsApi - axios parameter creator
462
- * @export
463
446
  */
464
447
  const TransactionsApiAxiosParamCreator = function (configuration) {
465
448
  return {
@@ -613,7 +596,6 @@ const TransactionsApiAxiosParamCreator = function (configuration) {
613
596
  exports.TransactionsApiAxiosParamCreator = TransactionsApiAxiosParamCreator;
614
597
  /**
615
598
  * TransactionsApi - functional programming interface
616
- * @export
617
599
  */
618
600
  const TransactionsApiFp = function (configuration) {
619
601
  const localVarAxiosParamCreator = (0, exports.TransactionsApiAxiosParamCreator)(configuration);
@@ -680,7 +662,6 @@ const TransactionsApiFp = function (configuration) {
680
662
  exports.TransactionsApiFp = TransactionsApiFp;
681
663
  /**
682
664
  * TransactionsApi - factory interface
683
- * @export
684
665
  */
685
666
  const TransactionsApiFactory = function (configuration, basePath, axios) {
686
667
  const localVarFp = (0, exports.TransactionsApiFp)(configuration);
@@ -720,9 +701,6 @@ const TransactionsApiFactory = function (configuration, basePath, axios) {
720
701
  exports.TransactionsApiFactory = TransactionsApiFactory;
721
702
  /**
722
703
  * TransactionsApi - object-oriented interface
723
- * @export
724
- * @class TransactionsApi
725
- * @extends {BaseAPI}
726
704
  */
727
705
  class TransactionsApi extends base_1.BaseAPI {
728
706
  /**
@@ -731,7 +709,6 @@ class TransactionsApi extends base_1.BaseAPI {
731
709
  * @param {TransactionsApiExportTransactionsRequest} requestParameters Request parameters.
732
710
  * @param {*} [options] Override http request option.
733
711
  * @throws {RequiredError}
734
- * @memberof TransactionsApi
735
712
  */
736
713
  exportTransactions(requestParameters, options) {
737
714
  return (0, exports.TransactionsApiFp)(this.configuration).exportTransactions(requestParameters.project, requestParameters.exportTransactionsRequest, options).then((request) => request(this.axios, this.basePath));
@@ -742,7 +719,6 @@ class TransactionsApi extends base_1.BaseAPI {
742
719
  * @param {TransactionsApiListFulfillmentsRequest} requestParameters Request parameters.
743
720
  * @param {*} [options] Override http request option.
744
721
  * @throws {RequiredError}
745
- * @memberof TransactionsApi
746
722
  */
747
723
  listFulfillments(requestParameters, options) {
748
724
  return (0, exports.TransactionsApiFp)(this.configuration).listFulfillments(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.statementId, options).then((request) => request(this.axios, this.basePath));
@@ -753,7 +729,6 @@ class TransactionsApi extends base_1.BaseAPI {
753
729
  * @param {TransactionsApiListTransactionsRequest} requestParameters Request parameters.
754
730
  * @param {*} [options] Override http request option.
755
731
  * @throws {RequiredError}
756
- * @memberof TransactionsApi
757
732
  */
758
733
  listTransactions(requestParameters, options) {
759
734
  return (0, exports.TransactionsApiFp)(this.configuration).listTransactions(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.statementId, requestParameters.fulfillmentId, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
@@ -762,7 +737,6 @@ class TransactionsApi extends base_1.BaseAPI {
762
737
  exports.TransactionsApi = TransactionsApi;
763
738
  /**
764
739
  * VariantsApi - axios parameter creator
765
- * @export
766
740
  */
767
741
  const VariantsApiAxiosParamCreator = function (configuration) {
768
742
  return {
@@ -963,7 +937,6 @@ const VariantsApiAxiosParamCreator = function (configuration) {
963
937
  exports.VariantsApiAxiosParamCreator = VariantsApiAxiosParamCreator;
964
938
  /**
965
939
  * VariantsApi - functional programming interface
966
- * @export
967
940
  */
968
941
  const VariantsApiFp = function (configuration) {
969
942
  const localVarAxiosParamCreator = (0, exports.VariantsApiAxiosParamCreator)(configuration);
@@ -1049,7 +1022,6 @@ const VariantsApiFp = function (configuration) {
1049
1022
  exports.VariantsApiFp = VariantsApiFp;
1050
1023
  /**
1051
1024
  * VariantsApi - factory interface
1052
- * @export
1053
1025
  */
1054
1026
  const VariantsApiFactory = function (configuration, basePath, axios) {
1055
1027
  const localVarFp = (0, exports.VariantsApiFp)(configuration);
@@ -1099,9 +1071,6 @@ const VariantsApiFactory = function (configuration, basePath, axios) {
1099
1071
  exports.VariantsApiFactory = VariantsApiFactory;
1100
1072
  /**
1101
1073
  * VariantsApi - object-oriented interface
1102
- * @export
1103
- * @class VariantsApi
1104
- * @extends {BaseAPI}
1105
1074
  */
1106
1075
  class VariantsApi extends base_1.BaseAPI {
1107
1076
  /**
@@ -1110,7 +1079,6 @@ class VariantsApi extends base_1.BaseAPI {
1110
1079
  * @param {VariantsApiGetStockRequest} requestParameters Request parameters.
1111
1080
  * @param {*} [options] Override http request option.
1112
1081
  * @throws {RequiredError}
1113
- * @memberof VariantsApi
1114
1082
  */
1115
1083
  getStock(requestParameters, options) {
1116
1084
  return (0, exports.VariantsApiFp)(this.configuration).getStock(requestParameters.project, requestParameters.variantId, requestParameters.fulfillmentProjects, options).then((request) => request(this.axios, this.basePath));
@@ -1121,7 +1089,6 @@ class VariantsApi extends base_1.BaseAPI {
1121
1089
  * @param {VariantsApiGetVariantRequest} requestParameters Request parameters.
1122
1090
  * @param {*} [options] Override http request option.
1123
1091
  * @throws {RequiredError}
1124
- * @memberof VariantsApi
1125
1092
  */
1126
1093
  getVariant(requestParameters, options) {
1127
1094
  return (0, exports.VariantsApiFp)(this.configuration).getVariant(requestParameters.project, requestParameters.variantId, requestParameters.fields, options).then((request) => request(this.axios, this.basePath));
@@ -1132,7 +1099,6 @@ class VariantsApi extends base_1.BaseAPI {
1132
1099
  * @param {VariantsApiListStockRequest} requestParameters Request parameters.
1133
1100
  * @param {*} [options] Override http request option.
1134
1101
  * @throws {RequiredError}
1135
- * @memberof VariantsApi
1136
1102
  */
1137
1103
  listStock(requestParameters, options) {
1138
1104
  return (0, exports.VariantsApiFp)(this.configuration).listStock(requestParameters.project, requestParameters.fulfillmentProjects, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
@@ -1143,7 +1109,6 @@ class VariantsApi extends base_1.BaseAPI {
1143
1109
  * @param {VariantsApiListVariantsRequest} requestParameters Request parameters.
1144
1110
  * @param {*} [options] Override http request option.
1145
1111
  * @throws {RequiredError}
1146
- * @memberof VariantsApi
1147
1112
  */
1148
1113
  listVariants(requestParameters, options) {
1149
1114
  return (0, exports.VariantsApiFp)(this.configuration).listVariants(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.fields, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
package/dist/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.1
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/base.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.1
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).
@@ -16,21 +16,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.operationServerMap = exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
17
17
  const axios_1 = require("axios");
18
18
  exports.BASE_PATH = "https://api.podos.io".replace(/\/+$/, "");
19
- /**
20
- *
21
- * @export
22
- */
23
19
  exports.COLLECTION_FORMATS = {
24
20
  csv: ",",
25
21
  ssv: " ",
26
22
  tsv: "\t",
27
23
  pipes: "|",
28
24
  };
29
- /**
30
- *
31
- * @export
32
- * @class BaseAPI
33
- */
34
25
  class BaseAPI {
35
26
  constructor(configuration, basePath = exports.BASE_PATH, axios = axios_1.default) {
36
27
  var _a;
@@ -44,12 +35,6 @@ class BaseAPI {
44
35
  }
45
36
  exports.BaseAPI = BaseAPI;
46
37
  ;
47
- /**
48
- *
49
- * @export
50
- * @class RequiredError
51
- * @extends {Error}
52
- */
53
38
  class RequiredError extends Error {
54
39
  constructor(field, msg) {
55
40
  super(msg);
@@ -58,8 +43,4 @@ class RequiredError extends Error {
58
43
  }
59
44
  }
60
45
  exports.RequiredError = RequiredError;
61
- /**
62
- *
63
- * @export
64
- */
65
46
  exports.operationServerMap = {};
package/dist/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.1
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/common.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.1
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).
@@ -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.1
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
  /**
@@ -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.1
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).