@teemill/gtins 0.4.1 → 0.6.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 CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/gtins@0.4.1
1
+ ## @teemill/gtins@0.6.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/gtins@0.4.1 --save
39
+ npm install @teemill/gtins@0.6.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -4,8 +4,8 @@
4
4
  * GTINs API
5
5
  * Manage GTINs
6
6
  *
7
- * The version of the OpenAPI document: 0.4.1
8
- * Contact: hello@teemill.com
7
+ * The version of the OpenAPI document: 0.6.0
8
+ *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -73,6 +73,25 @@ export interface GTIN {
73
73
  * @memberof GTIN
74
74
  */
75
75
  'variantRef': string;
76
+ /**
77
+ *
78
+ * @type {Array<GTINVariantsInner>}
79
+ * @memberof GTIN
80
+ */
81
+ 'variants': Array<GTINVariantsInner>;
82
+ }
83
+ /**
84
+ *
85
+ * @export
86
+ * @interface GTINVariantsInner
87
+ */
88
+ export interface GTINVariantsInner {
89
+ /**
90
+ * A reference to the resource location
91
+ * @type {string}
92
+ * @memberof GTINVariantsInner
93
+ */
94
+ 'ref'?: string;
76
95
  }
77
96
  /**
78
97
  *
@@ -168,10 +187,14 @@ export const GTINsApiAxiosParamCreator = function (configuration?: Configuration
168
187
  /**
169
188
  * Export a CSV of a project\'s GTINs
170
189
  * @summary Export GTINs
190
+ * @param {string} project What project it is
191
+ * @param {string} [gtins] GTINs
171
192
  * @param {*} [options] Override http request option.
172
193
  * @throws {RequiredError}
173
194
  */
174
- exportGtins: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
195
+ exportGtins: async (project: string, gtins?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
196
+ // verify required parameter 'project' is not null or undefined
197
+ assertParamExists('exportGtins', 'project', project)
175
198
  const localVarPath = `/v1/gtins/export`;
176
199
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
177
200
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -180,7 +203,7 @@ export const GTINsApiAxiosParamCreator = function (configuration?: Configuration
180
203
  baseOptions = configuration.baseOptions;
181
204
  }
182
205
 
183
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
206
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
184
207
  const localVarHeaderParameter = {} as any;
185
208
  const localVarQueryParameter = {} as any;
186
209
 
@@ -191,6 +214,14 @@ export const GTINsApiAxiosParamCreator = function (configuration?: Configuration
191
214
  // authentication api-key required
192
215
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
193
216
 
217
+ if (project !== undefined) {
218
+ localVarQueryParameter['project'] = project;
219
+ }
220
+
221
+ if (gtins !== undefined) {
222
+ localVarQueryParameter['gtins'] = gtins;
223
+ }
224
+
194
225
 
195
226
 
196
227
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -433,11 +464,13 @@ export const GTINsApiFp = function(configuration?: Configuration) {
433
464
  /**
434
465
  * Export a CSV of a project\'s GTINs
435
466
  * @summary Export GTINs
467
+ * @param {string} project What project it is
468
+ * @param {string} [gtins] GTINs
436
469
  * @param {*} [options] Override http request option.
437
470
  * @throws {RequiredError}
438
471
  */
439
- async exportGtins(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
440
- const localVarAxiosArgs = await localVarAxiosParamCreator.exportGtins(options);
472
+ async exportGtins(project: string, gtins?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
473
+ const localVarAxiosArgs = await localVarAxiosParamCreator.exportGtins(project, gtins, options);
441
474
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
442
475
  const localVarOperationServerBasePath = operationServerMap['GTINsApi.exportGtins']?.[localVarOperationServerIndex]?.url;
443
476
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -523,11 +556,12 @@ export const GTINsApiFactory = function (configuration?: Configuration, basePath
523
556
  /**
524
557
  * Export a CSV of a project\'s GTINs
525
558
  * @summary Export GTINs
559
+ * @param {GTINsApiExportGtinsRequest} requestParameters Request parameters.
526
560
  * @param {*} [options] Override http request option.
527
561
  * @throws {RequiredError}
528
562
  */
529
- exportGtins(options?: RawAxiosRequestConfig): AxiosPromise<File> {
530
- return localVarFp.exportGtins(options).then((request) => request(axios, basePath));
563
+ exportGtins(requestParameters: GTINsApiExportGtinsRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
564
+ return localVarFp.exportGtins(requestParameters.project, requestParameters.gtins, options).then((request) => request(axios, basePath));
531
565
  },
532
566
  /**
533
567
  * Get a GTIN
@@ -600,6 +634,27 @@ export interface GTINsApiAssignGtinRequest {
600
634
  readonly assignGtinRequest?: AssignGtinRequest
601
635
  }
602
636
 
637
+ /**
638
+ * Request parameters for exportGtins operation in GTINsApi.
639
+ * @export
640
+ * @interface GTINsApiExportGtinsRequest
641
+ */
642
+ export interface GTINsApiExportGtinsRequest {
643
+ /**
644
+ * What project it is
645
+ * @type {string}
646
+ * @memberof GTINsApiExportGtins
647
+ */
648
+ readonly project: string
649
+
650
+ /**
651
+ * GTINs
652
+ * @type {string}
653
+ * @memberof GTINsApiExportGtins
654
+ */
655
+ readonly gtins?: string
656
+ }
657
+
603
658
  /**
604
659
  * Request parameters for getGtin operation in GTINsApi.
605
660
  * @export
@@ -720,12 +775,13 @@ export class GTINsApi extends BaseAPI {
720
775
  /**
721
776
  * Export a CSV of a project\'s GTINs
722
777
  * @summary Export GTINs
778
+ * @param {GTINsApiExportGtinsRequest} requestParameters Request parameters.
723
779
  * @param {*} [options] Override http request option.
724
780
  * @throws {RequiredError}
725
781
  * @memberof GTINsApi
726
782
  */
727
- public exportGtins(options?: RawAxiosRequestConfig) {
728
- return GTINsApiFp(this.configuration).exportGtins(options).then((request) => request(this.axios, this.basePath));
783
+ public exportGtins(requestParameters: GTINsApiExportGtinsRequest, options?: RawAxiosRequestConfig) {
784
+ return GTINsApiFp(this.configuration).exportGtins(requestParameters.project, requestParameters.gtins, options).then((request) => request(this.axios, this.basePath));
729
785
  }
730
786
 
731
787
  /**
package/base.ts CHANGED
@@ -4,8 +4,8 @@
4
4
  * GTINs API
5
5
  * Manage GTINs
6
6
  *
7
- * The version of the OpenAPI document: 0.4.1
8
- * Contact: hello@teemill.com
7
+ * The version of the OpenAPI document: 0.6.0
8
+ *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -19,7 +19,7 @@ import type { Configuration } from './configuration';
19
19
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
20
20
  import globalAxios from 'axios';
21
21
 
22
- export const BASE_PATH = "https://api.teemill.com".replace(/\/+$/, "");
22
+ export const BASE_PATH = "https://api.podos.io".replace(/\/+$/, "");
23
23
 
24
24
  /**
25
25
  *
package/common.ts CHANGED
@@ -4,8 +4,8 @@
4
4
  * GTINs API
5
5
  * Manage GTINs
6
6
  *
7
- * The version of the OpenAPI document: 0.4.1
8
- * Contact: hello@teemill.com
7
+ * The version of the OpenAPI document: 0.6.0
8
+ *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
package/configuration.ts CHANGED
@@ -4,8 +4,8 @@
4
4
  * GTINs API
5
5
  * Manage GTINs
6
6
  *
7
- * The version of the OpenAPI document: 0.4.1
8
- * Contact: hello@teemill.com
7
+ * The version of the OpenAPI document: 0.6.0
8
+ *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -89,7 +89,13 @@ export class Configuration {
89
89
  this.accessToken = param.accessToken;
90
90
  this.basePath = param.basePath;
91
91
  this.serverIndex = param.serverIndex;
92
- this.baseOptions = param.baseOptions;
92
+ this.baseOptions = {
93
+ headers: {
94
+ ...param.baseOptions?.headers,
95
+ 'User-Agent': "OpenAPI-Generator/0.6.0/typescript-axios"
96
+ },
97
+ ...param.baseOptions
98
+ };
93
99
  this.formDataCtor = param.formDataCtor;
94
100
  }
95
101
 
package/dist/api.d.ts CHANGED
@@ -2,8 +2,8 @@
2
2
  * GTINs API
3
3
  * Manage GTINs
4
4
  *
5
- * The version of the OpenAPI document: 0.4.1
6
- * Contact: hello@teemill.com
5
+ * The version of the OpenAPI document: 0.6.0
6
+ *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -63,6 +63,25 @@ export interface GTIN {
63
63
  * @memberof GTIN
64
64
  */
65
65
  'variantRef': string;
66
+ /**
67
+ *
68
+ * @type {Array<GTINVariantsInner>}
69
+ * @memberof GTIN
70
+ */
71
+ 'variants': Array<GTINVariantsInner>;
72
+ }
73
+ /**
74
+ *
75
+ * @export
76
+ * @interface GTINVariantsInner
77
+ */
78
+ export interface GTINVariantsInner {
79
+ /**
80
+ * A reference to the resource location
81
+ * @type {string}
82
+ * @memberof GTINVariantsInner
83
+ */
84
+ 'ref'?: string;
66
85
  }
67
86
  /**
68
87
  *
@@ -114,10 +133,12 @@ export declare const GTINsApiAxiosParamCreator: (configuration?: Configuration)
114
133
  /**
115
134
  * Export a CSV of a project\'s GTINs
116
135
  * @summary Export GTINs
136
+ * @param {string} project What project it is
137
+ * @param {string} [gtins] GTINs
117
138
  * @param {*} [options] Override http request option.
118
139
  * @throws {RequiredError}
119
140
  */
120
- exportGtins: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
141
+ exportGtins: (project: string, gtins?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
121
142
  /**
122
143
  * Get a GTIN
123
144
  * @summary Get GTIN
@@ -175,10 +196,12 @@ export declare const GTINsApiFp: (configuration?: Configuration) => {
175
196
  /**
176
197
  * Export a CSV of a project\'s GTINs
177
198
  * @summary Export GTINs
199
+ * @param {string} project What project it is
200
+ * @param {string} [gtins] GTINs
178
201
  * @param {*} [options] Override http request option.
179
202
  * @throws {RequiredError}
180
203
  */
181
- exportGtins(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
204
+ exportGtins(project: string, gtins?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
182
205
  /**
183
206
  * Get a GTIN
184
207
  * @summary Get GTIN
@@ -234,10 +257,11 @@ export declare const GTINsApiFactory: (configuration?: Configuration, basePath?:
234
257
  /**
235
258
  * Export a CSV of a project\'s GTINs
236
259
  * @summary Export GTINs
260
+ * @param {GTINsApiExportGtinsRequest} requestParameters Request parameters.
237
261
  * @param {*} [options] Override http request option.
238
262
  * @throws {RequiredError}
239
263
  */
240
- exportGtins(options?: RawAxiosRequestConfig): AxiosPromise<File>;
264
+ exportGtins(requestParameters: GTINsApiExportGtinsRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
241
265
  /**
242
266
  * Get a GTIN
243
267
  * @summary Get GTIN
@@ -296,6 +320,25 @@ export interface GTINsApiAssignGtinRequest {
296
320
  */
297
321
  readonly assignGtinRequest?: AssignGtinRequest;
298
322
  }
323
+ /**
324
+ * Request parameters for exportGtins operation in GTINsApi.
325
+ * @export
326
+ * @interface GTINsApiExportGtinsRequest
327
+ */
328
+ export interface GTINsApiExportGtinsRequest {
329
+ /**
330
+ * What project it is
331
+ * @type {string}
332
+ * @memberof GTINsApiExportGtins
333
+ */
334
+ readonly project: string;
335
+ /**
336
+ * GTINs
337
+ * @type {string}
338
+ * @memberof GTINsApiExportGtins
339
+ */
340
+ readonly gtins?: string;
341
+ }
299
342
  /**
300
343
  * Request parameters for getGtin operation in GTINsApi.
301
344
  * @export
@@ -403,11 +446,12 @@ export declare class GTINsApi extends BaseAPI {
403
446
  /**
404
447
  * Export a CSV of a project\'s GTINs
405
448
  * @summary Export GTINs
449
+ * @param {GTINsApiExportGtinsRequest} requestParameters Request parameters.
406
450
  * @param {*} [options] Override http request option.
407
451
  * @throws {RequiredError}
408
452
  * @memberof GTINsApi
409
453
  */
410
- exportGtins(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
454
+ exportGtins(requestParameters: GTINsApiExportGtinsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
411
455
  /**
412
456
  * Get a GTIN
413
457
  * @summary Get GTIN
package/dist/api.js CHANGED
@@ -5,8 +5,8 @@
5
5
  * GTINs API
6
6
  * Manage GTINs
7
7
  *
8
- * The version of the OpenAPI document: 0.4.1
9
- * Contact: hello@teemill.com
8
+ * The version of the OpenAPI document: 0.6.0
9
+ *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -81,10 +81,14 @@ const GTINsApiAxiosParamCreator = function (configuration) {
81
81
  /**
82
82
  * Export a CSV of a project\'s GTINs
83
83
  * @summary Export GTINs
84
+ * @param {string} project What project it is
85
+ * @param {string} [gtins] GTINs
84
86
  * @param {*} [options] Override http request option.
85
87
  * @throws {RequiredError}
86
88
  */
87
- exportGtins: (...args_2) => __awaiter(this, [...args_2], void 0, function* (options = {}) {
89
+ exportGtins: (project_1, gtins_1, ...args_1) => __awaiter(this, [project_1, gtins_1, ...args_1], void 0, function* (project, gtins, options = {}) {
90
+ // verify required parameter 'project' is not null or undefined
91
+ (0, common_1.assertParamExists)('exportGtins', 'project', project);
88
92
  const localVarPath = `/v1/gtins/export`;
89
93
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
90
94
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -92,7 +96,7 @@ const GTINsApiAxiosParamCreator = function (configuration) {
92
96
  if (configuration) {
93
97
  baseOptions = configuration.baseOptions;
94
98
  }
95
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
99
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
96
100
  const localVarHeaderParameter = {};
97
101
  const localVarQueryParameter = {};
98
102
  // authentication session-oauth required
@@ -100,6 +104,12 @@ const GTINsApiAxiosParamCreator = function (configuration) {
100
104
  yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
101
105
  // authentication api-key required
102
106
  yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
107
+ if (project !== undefined) {
108
+ localVarQueryParameter['project'] = project;
109
+ }
110
+ if (gtins !== undefined) {
111
+ localVarQueryParameter['gtins'] = gtins;
112
+ }
103
113
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
104
114
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
105
115
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -116,7 +126,7 @@ const GTINsApiAxiosParamCreator = function (configuration) {
116
126
  * @param {*} [options] Override http request option.
117
127
  * @throws {RequiredError}
118
128
  */
119
- getGtin: (project_2, gtin_2, ...args_3) => __awaiter(this, [project_2, gtin_2, ...args_3], void 0, function* (project, gtin, options = {}) {
129
+ getGtin: (project_1, gtin_1, ...args_1) => __awaiter(this, [project_1, gtin_1, ...args_1], void 0, function* (project, gtin, options = {}) {
120
130
  // verify required parameter 'project' is not null or undefined
121
131
  (0, common_1.assertParamExists)('getGtin', 'project', project);
122
132
  // verify required parameter 'gtin' is not null or undefined
@@ -156,7 +166,7 @@ const GTINsApiAxiosParamCreator = function (configuration) {
156
166
  * @param {*} [options] Override http request option.
157
167
  * @throws {RequiredError}
158
168
  */
159
- importGtins: (project_3, body_1, ...args_4) => __awaiter(this, [project_3, body_1, ...args_4], void 0, function* (project, body, options = {}) {
169
+ importGtins: (project_1, body_1, ...args_1) => __awaiter(this, [project_1, body_1, ...args_1], void 0, function* (project, body, options = {}) {
160
170
  // verify required parameter 'project' is not null or undefined
161
171
  (0, common_1.assertParamExists)('importGtins', 'project', project);
162
172
  const localVarPath = `/v1/gtins/import`;
@@ -197,7 +207,7 @@ const GTINsApiAxiosParamCreator = function (configuration) {
197
207
  * @param {*} [options] Override http request option.
198
208
  * @throws {RequiredError}
199
209
  */
200
- listGtins: (project_4, pageSize_1, pageToken_1, search_1, ...args_5) => __awaiter(this, [project_4, pageSize_1, pageToken_1, search_1, ...args_5], void 0, function* (project, pageSize, pageToken, search, options = {}) {
210
+ listGtins: (project_1, pageSize_1, pageToken_1, search_1, ...args_1) => __awaiter(this, [project_1, pageSize_1, pageToken_1, search_1, ...args_1], void 0, function* (project, pageSize, pageToken, search, options = {}) {
201
211
  // verify required parameter 'project' is not null or undefined
202
212
  (0, common_1.assertParamExists)('listGtins', 'project', project);
203
213
  const localVarPath = `/v1/gtins`;
@@ -243,7 +253,7 @@ const GTINsApiAxiosParamCreator = function (configuration) {
243
253
  * @param {*} [options] Override http request option.
244
254
  * @throws {RequiredError}
245
255
  */
246
- unassignGtin: (project_5, gtin_3, ...args_6) => __awaiter(this, [project_5, gtin_3, ...args_6], void 0, function* (project, gtin, options = {}) {
256
+ unassignGtin: (project_1, gtin_1, ...args_1) => __awaiter(this, [project_1, gtin_1, ...args_1], void 0, function* (project, gtin, options = {}) {
247
257
  // verify required parameter 'project' is not null or undefined
248
258
  (0, common_1.assertParamExists)('unassignGtin', 'project', project);
249
259
  // verify required parameter 'gtin' is not null or undefined
@@ -306,13 +316,15 @@ const GTINsApiFp = function (configuration) {
306
316
  /**
307
317
  * Export a CSV of a project\'s GTINs
308
318
  * @summary Export GTINs
319
+ * @param {string} project What project it is
320
+ * @param {string} [gtins] GTINs
309
321
  * @param {*} [options] Override http request option.
310
322
  * @throws {RequiredError}
311
323
  */
312
- exportGtins(options) {
324
+ exportGtins(project, gtins, options) {
313
325
  return __awaiter(this, void 0, void 0, function* () {
314
326
  var _a, _b, _c;
315
- const localVarAxiosArgs = yield localVarAxiosParamCreator.exportGtins(options);
327
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.exportGtins(project, gtins, options);
316
328
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
317
329
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['GTINsApi.exportGtins']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
318
330
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -411,11 +423,12 @@ const GTINsApiFactory = function (configuration, basePath, axios) {
411
423
  /**
412
424
  * Export a CSV of a project\'s GTINs
413
425
  * @summary Export GTINs
426
+ * @param {GTINsApiExportGtinsRequest} requestParameters Request parameters.
414
427
  * @param {*} [options] Override http request option.
415
428
  * @throws {RequiredError}
416
429
  */
417
- exportGtins(options) {
418
- return localVarFp.exportGtins(options).then((request) => request(axios, basePath));
430
+ exportGtins(requestParameters, options) {
431
+ return localVarFp.exportGtins(requestParameters.project, requestParameters.gtins, options).then((request) => request(axios, basePath));
419
432
  },
420
433
  /**
421
434
  * Get a GTIN
@@ -481,12 +494,13 @@ class GTINsApi extends base_1.BaseAPI {
481
494
  /**
482
495
  * Export a CSV of a project\'s GTINs
483
496
  * @summary Export GTINs
497
+ * @param {GTINsApiExportGtinsRequest} requestParameters Request parameters.
484
498
  * @param {*} [options] Override http request option.
485
499
  * @throws {RequiredError}
486
500
  * @memberof GTINsApi
487
501
  */
488
- exportGtins(options) {
489
- return (0, exports.GTINsApiFp)(this.configuration).exportGtins(options).then((request) => request(this.axios, this.basePath));
502
+ exportGtins(requestParameters, options) {
503
+ return (0, exports.GTINsApiFp)(this.configuration).exportGtins(requestParameters.project, requestParameters.gtins, options).then((request) => request(this.axios, this.basePath));
490
504
  }
491
505
  /**
492
506
  * Get a GTIN
package/dist/base.d.ts CHANGED
@@ -2,8 +2,8 @@
2
2
  * GTINs API
3
3
  * Manage GTINs
4
4
  *
5
- * The version of the OpenAPI document: 0.4.1
6
- * Contact: hello@teemill.com
5
+ * The version of the OpenAPI document: 0.6.0
6
+ *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
package/dist/base.js CHANGED
@@ -5,8 +5,8 @@
5
5
  * GTINs API
6
6
  * Manage GTINs
7
7
  *
8
- * The version of the OpenAPI document: 0.4.1
9
- * Contact: hello@teemill.com
8
+ * The version of the OpenAPI document: 0.6.0
9
+ *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -15,7 +15,7 @@
15
15
  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
- exports.BASE_PATH = "https://api.teemill.com".replace(/\/+$/, "");
18
+ exports.BASE_PATH = "https://api.podos.io".replace(/\/+$/, "");
19
19
  /**
20
20
  *
21
21
  * @export
package/dist/common.d.ts CHANGED
@@ -2,8 +2,8 @@
2
2
  * GTINs API
3
3
  * Manage GTINs
4
4
  *
5
- * The version of the OpenAPI document: 0.4.1
6
- * Contact: hello@teemill.com
5
+ * The version of the OpenAPI document: 0.6.0
6
+ *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
package/dist/common.js CHANGED
@@ -5,8 +5,8 @@
5
5
  * GTINs API
6
6
  * Manage GTINs
7
7
  *
8
- * The version of the OpenAPI document: 0.4.1
9
- * Contact: hello@teemill.com
8
+ * The version of the OpenAPI document: 0.6.0
9
+ *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -2,8 +2,8 @@
2
2
  * GTINs API
3
3
  * Manage GTINs
4
4
  *
5
- * The version of the OpenAPI document: 0.4.1
6
- * Contact: hello@teemill.com
5
+ * The version of the OpenAPI document: 0.6.0
6
+ *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -5,8 +5,8 @@
5
5
  * GTINs API
6
6
  * Manage GTINs
7
7
  *
8
- * The version of the OpenAPI document: 0.4.1
9
- * Contact: hello@teemill.com
8
+ * The version of the OpenAPI document: 0.6.0
9
+ *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -16,13 +16,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.Configuration = void 0;
17
17
  class Configuration {
18
18
  constructor(param = {}) {
19
+ var _a;
19
20
  this.apiKey = param.apiKey;
20
21
  this.username = param.username;
21
22
  this.password = param.password;
22
23
  this.accessToken = param.accessToken;
23
24
  this.basePath = param.basePath;
24
25
  this.serverIndex = param.serverIndex;
25
- this.baseOptions = param.baseOptions;
26
+ this.baseOptions = Object.assign({ headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "OpenAPI-Generator/0.6.0/typescript-axios" }) }, param.baseOptions);
26
27
  this.formDataCtor = param.formDataCtor;
27
28
  }
28
29
  /**
package/dist/esm/api.d.ts CHANGED
@@ -2,8 +2,8 @@
2
2
  * GTINs API
3
3
  * Manage GTINs
4
4
  *
5
- * The version of the OpenAPI document: 0.4.1
6
- * Contact: hello@teemill.com
5
+ * The version of the OpenAPI document: 0.6.0
6
+ *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -63,6 +63,25 @@ export interface GTIN {
63
63
  * @memberof GTIN
64
64
  */
65
65
  'variantRef': string;
66
+ /**
67
+ *
68
+ * @type {Array<GTINVariantsInner>}
69
+ * @memberof GTIN
70
+ */
71
+ 'variants': Array<GTINVariantsInner>;
72
+ }
73
+ /**
74
+ *
75
+ * @export
76
+ * @interface GTINVariantsInner
77
+ */
78
+ export interface GTINVariantsInner {
79
+ /**
80
+ * A reference to the resource location
81
+ * @type {string}
82
+ * @memberof GTINVariantsInner
83
+ */
84
+ 'ref'?: string;
66
85
  }
67
86
  /**
68
87
  *
@@ -114,10 +133,12 @@ export declare const GTINsApiAxiosParamCreator: (configuration?: Configuration)
114
133
  /**
115
134
  * Export a CSV of a project\'s GTINs
116
135
  * @summary Export GTINs
136
+ * @param {string} project What project it is
137
+ * @param {string} [gtins] GTINs
117
138
  * @param {*} [options] Override http request option.
118
139
  * @throws {RequiredError}
119
140
  */
120
- exportGtins: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
141
+ exportGtins: (project: string, gtins?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
121
142
  /**
122
143
  * Get a GTIN
123
144
  * @summary Get GTIN
@@ -175,10 +196,12 @@ export declare const GTINsApiFp: (configuration?: Configuration) => {
175
196
  /**
176
197
  * Export a CSV of a project\'s GTINs
177
198
  * @summary Export GTINs
199
+ * @param {string} project What project it is
200
+ * @param {string} [gtins] GTINs
178
201
  * @param {*} [options] Override http request option.
179
202
  * @throws {RequiredError}
180
203
  */
181
- exportGtins(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
204
+ exportGtins(project: string, gtins?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
182
205
  /**
183
206
  * Get a GTIN
184
207
  * @summary Get GTIN
@@ -234,10 +257,11 @@ export declare const GTINsApiFactory: (configuration?: Configuration, basePath?:
234
257
  /**
235
258
  * Export a CSV of a project\'s GTINs
236
259
  * @summary Export GTINs
260
+ * @param {GTINsApiExportGtinsRequest} requestParameters Request parameters.
237
261
  * @param {*} [options] Override http request option.
238
262
  * @throws {RequiredError}
239
263
  */
240
- exportGtins(options?: RawAxiosRequestConfig): AxiosPromise<File>;
264
+ exportGtins(requestParameters: GTINsApiExportGtinsRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
241
265
  /**
242
266
  * Get a GTIN
243
267
  * @summary Get GTIN
@@ -296,6 +320,25 @@ export interface GTINsApiAssignGtinRequest {
296
320
  */
297
321
  readonly assignGtinRequest?: AssignGtinRequest;
298
322
  }
323
+ /**
324
+ * Request parameters for exportGtins operation in GTINsApi.
325
+ * @export
326
+ * @interface GTINsApiExportGtinsRequest
327
+ */
328
+ export interface GTINsApiExportGtinsRequest {
329
+ /**
330
+ * What project it is
331
+ * @type {string}
332
+ * @memberof GTINsApiExportGtins
333
+ */
334
+ readonly project: string;
335
+ /**
336
+ * GTINs
337
+ * @type {string}
338
+ * @memberof GTINsApiExportGtins
339
+ */
340
+ readonly gtins?: string;
341
+ }
299
342
  /**
300
343
  * Request parameters for getGtin operation in GTINsApi.
301
344
  * @export
@@ -403,11 +446,12 @@ export declare class GTINsApi extends BaseAPI {
403
446
  /**
404
447
  * Export a CSV of a project\'s GTINs
405
448
  * @summary Export GTINs
449
+ * @param {GTINsApiExportGtinsRequest} requestParameters Request parameters.
406
450
  * @param {*} [options] Override http request option.
407
451
  * @throws {RequiredError}
408
452
  * @memberof GTINsApi
409
453
  */
410
- exportGtins(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
454
+ exportGtins(requestParameters: GTINsApiExportGtinsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
411
455
  /**
412
456
  * Get a GTIN
413
457
  * @summary Get GTIN
package/dist/esm/api.js CHANGED
@@ -4,8 +4,8 @@
4
4
  * GTINs API
5
5
  * Manage GTINs
6
6
  *
7
- * The version of the OpenAPI document: 0.4.1
8
- * Contact: hello@teemill.com
7
+ * The version of the OpenAPI document: 0.6.0
8
+ *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -78,10 +78,14 @@ export const GTINsApiAxiosParamCreator = function (configuration) {
78
78
  /**
79
79
  * Export a CSV of a project\'s GTINs
80
80
  * @summary Export GTINs
81
+ * @param {string} project What project it is
82
+ * @param {string} [gtins] GTINs
81
83
  * @param {*} [options] Override http request option.
82
84
  * @throws {RequiredError}
83
85
  */
84
- exportGtins: (...args_2) => __awaiter(this, [...args_2], void 0, function* (options = {}) {
86
+ exportGtins: (project_1, gtins_1, ...args_1) => __awaiter(this, [project_1, gtins_1, ...args_1], void 0, function* (project, gtins, options = {}) {
87
+ // verify required parameter 'project' is not null or undefined
88
+ assertParamExists('exportGtins', 'project', project);
85
89
  const localVarPath = `/v1/gtins/export`;
86
90
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
87
91
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -89,7 +93,7 @@ export const GTINsApiAxiosParamCreator = function (configuration) {
89
93
  if (configuration) {
90
94
  baseOptions = configuration.baseOptions;
91
95
  }
92
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
96
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
93
97
  const localVarHeaderParameter = {};
94
98
  const localVarQueryParameter = {};
95
99
  // authentication session-oauth required
@@ -97,6 +101,12 @@ export const GTINsApiAxiosParamCreator = function (configuration) {
97
101
  yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
98
102
  // authentication api-key required
99
103
  yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
104
+ if (project !== undefined) {
105
+ localVarQueryParameter['project'] = project;
106
+ }
107
+ if (gtins !== undefined) {
108
+ localVarQueryParameter['gtins'] = gtins;
109
+ }
100
110
  setSearchParams(localVarUrlObj, localVarQueryParameter);
101
111
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
102
112
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -113,7 +123,7 @@ export const GTINsApiAxiosParamCreator = function (configuration) {
113
123
  * @param {*} [options] Override http request option.
114
124
  * @throws {RequiredError}
115
125
  */
116
- getGtin: (project_2, gtin_2, ...args_3) => __awaiter(this, [project_2, gtin_2, ...args_3], void 0, function* (project, gtin, options = {}) {
126
+ getGtin: (project_1, gtin_1, ...args_1) => __awaiter(this, [project_1, gtin_1, ...args_1], void 0, function* (project, gtin, options = {}) {
117
127
  // verify required parameter 'project' is not null or undefined
118
128
  assertParamExists('getGtin', 'project', project);
119
129
  // verify required parameter 'gtin' is not null or undefined
@@ -153,7 +163,7 @@ export const GTINsApiAxiosParamCreator = function (configuration) {
153
163
  * @param {*} [options] Override http request option.
154
164
  * @throws {RequiredError}
155
165
  */
156
- importGtins: (project_3, body_1, ...args_4) => __awaiter(this, [project_3, body_1, ...args_4], void 0, function* (project, body, options = {}) {
166
+ importGtins: (project_1, body_1, ...args_1) => __awaiter(this, [project_1, body_1, ...args_1], void 0, function* (project, body, options = {}) {
157
167
  // verify required parameter 'project' is not null or undefined
158
168
  assertParamExists('importGtins', 'project', project);
159
169
  const localVarPath = `/v1/gtins/import`;
@@ -194,7 +204,7 @@ export const GTINsApiAxiosParamCreator = function (configuration) {
194
204
  * @param {*} [options] Override http request option.
195
205
  * @throws {RequiredError}
196
206
  */
197
- listGtins: (project_4, pageSize_1, pageToken_1, search_1, ...args_5) => __awaiter(this, [project_4, pageSize_1, pageToken_1, search_1, ...args_5], void 0, function* (project, pageSize, pageToken, search, options = {}) {
207
+ listGtins: (project_1, pageSize_1, pageToken_1, search_1, ...args_1) => __awaiter(this, [project_1, pageSize_1, pageToken_1, search_1, ...args_1], void 0, function* (project, pageSize, pageToken, search, options = {}) {
198
208
  // verify required parameter 'project' is not null or undefined
199
209
  assertParamExists('listGtins', 'project', project);
200
210
  const localVarPath = `/v1/gtins`;
@@ -240,7 +250,7 @@ export const GTINsApiAxiosParamCreator = function (configuration) {
240
250
  * @param {*} [options] Override http request option.
241
251
  * @throws {RequiredError}
242
252
  */
243
- unassignGtin: (project_5, gtin_3, ...args_6) => __awaiter(this, [project_5, gtin_3, ...args_6], void 0, function* (project, gtin, options = {}) {
253
+ unassignGtin: (project_1, gtin_1, ...args_1) => __awaiter(this, [project_1, gtin_1, ...args_1], void 0, function* (project, gtin, options = {}) {
244
254
  // verify required parameter 'project' is not null or undefined
245
255
  assertParamExists('unassignGtin', 'project', project);
246
256
  // verify required parameter 'gtin' is not null or undefined
@@ -302,13 +312,15 @@ export const GTINsApiFp = function (configuration) {
302
312
  /**
303
313
  * Export a CSV of a project\'s GTINs
304
314
  * @summary Export GTINs
315
+ * @param {string} project What project it is
316
+ * @param {string} [gtins] GTINs
305
317
  * @param {*} [options] Override http request option.
306
318
  * @throws {RequiredError}
307
319
  */
308
- exportGtins(options) {
320
+ exportGtins(project, gtins, options) {
309
321
  return __awaiter(this, void 0, void 0, function* () {
310
322
  var _a, _b, _c;
311
- const localVarAxiosArgs = yield localVarAxiosParamCreator.exportGtins(options);
323
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.exportGtins(project, gtins, options);
312
324
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
313
325
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['GTINsApi.exportGtins']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
314
326
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -406,11 +418,12 @@ export const GTINsApiFactory = function (configuration, basePath, axios) {
406
418
  /**
407
419
  * Export a CSV of a project\'s GTINs
408
420
  * @summary Export GTINs
421
+ * @param {GTINsApiExportGtinsRequest} requestParameters Request parameters.
409
422
  * @param {*} [options] Override http request option.
410
423
  * @throws {RequiredError}
411
424
  */
412
- exportGtins(options) {
413
- return localVarFp.exportGtins(options).then((request) => request(axios, basePath));
425
+ exportGtins(requestParameters, options) {
426
+ return localVarFp.exportGtins(requestParameters.project, requestParameters.gtins, options).then((request) => request(axios, basePath));
414
427
  },
415
428
  /**
416
429
  * Get a GTIN
@@ -475,12 +488,13 @@ export class GTINsApi extends BaseAPI {
475
488
  /**
476
489
  * Export a CSV of a project\'s GTINs
477
490
  * @summary Export GTINs
491
+ * @param {GTINsApiExportGtinsRequest} requestParameters Request parameters.
478
492
  * @param {*} [options] Override http request option.
479
493
  * @throws {RequiredError}
480
494
  * @memberof GTINsApi
481
495
  */
482
- exportGtins(options) {
483
- return GTINsApiFp(this.configuration).exportGtins(options).then((request) => request(this.axios, this.basePath));
496
+ exportGtins(requestParameters, options) {
497
+ return GTINsApiFp(this.configuration).exportGtins(requestParameters.project, requestParameters.gtins, options).then((request) => request(this.axios, this.basePath));
484
498
  }
485
499
  /**
486
500
  * Get a GTIN
@@ -2,8 +2,8 @@
2
2
  * GTINs API
3
3
  * Manage GTINs
4
4
  *
5
- * The version of the OpenAPI document: 0.4.1
6
- * Contact: hello@teemill.com
5
+ * The version of the OpenAPI document: 0.6.0
6
+ *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
package/dist/esm/base.js CHANGED
@@ -4,15 +4,15 @@
4
4
  * GTINs API
5
5
  * Manage GTINs
6
6
  *
7
- * The version of the OpenAPI document: 0.4.1
8
- * Contact: hello@teemill.com
7
+ * The version of the OpenAPI document: 0.6.0
8
+ *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import globalAxios from 'axios';
15
- export const BASE_PATH = "https://api.teemill.com".replace(/\/+$/, "");
15
+ export const BASE_PATH = "https://api.podos.io".replace(/\/+$/, "");
16
16
  /**
17
17
  *
18
18
  * @export
@@ -2,8 +2,8 @@
2
2
  * GTINs API
3
3
  * Manage GTINs
4
4
  *
5
- * The version of the OpenAPI document: 0.4.1
6
- * Contact: hello@teemill.com
5
+ * The version of the OpenAPI document: 0.6.0
6
+ *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -4,8 +4,8 @@
4
4
  * GTINs API
5
5
  * Manage GTINs
6
6
  *
7
- * The version of the OpenAPI document: 0.4.1
8
- * Contact: hello@teemill.com
7
+ * The version of the OpenAPI document: 0.6.0
8
+ *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -2,8 +2,8 @@
2
2
  * GTINs API
3
3
  * Manage GTINs
4
4
  *
5
- * The version of the OpenAPI document: 0.4.1
6
- * Contact: hello@teemill.com
5
+ * The version of the OpenAPI document: 0.6.0
6
+ *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -4,8 +4,8 @@
4
4
  * GTINs API
5
5
  * Manage GTINs
6
6
  *
7
- * The version of the OpenAPI document: 0.4.1
8
- * Contact: hello@teemill.com
7
+ * The version of the OpenAPI document: 0.6.0
8
+ *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -13,13 +13,14 @@
13
13
  */
14
14
  export class Configuration {
15
15
  constructor(param = {}) {
16
+ var _a;
16
17
  this.apiKey = param.apiKey;
17
18
  this.username = param.username;
18
19
  this.password = param.password;
19
20
  this.accessToken = param.accessToken;
20
21
  this.basePath = param.basePath;
21
22
  this.serverIndex = param.serverIndex;
22
- this.baseOptions = param.baseOptions;
23
+ this.baseOptions = Object.assign({ headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "OpenAPI-Generator/0.6.0/typescript-axios" }) }, param.baseOptions);
23
24
  this.formDataCtor = param.formDataCtor;
24
25
  }
25
26
  /**
@@ -2,8 +2,8 @@
2
2
  * GTINs API
3
3
  * Manage GTINs
4
4
  *
5
- * The version of the OpenAPI document: 0.4.1
6
- * Contact: hello@teemill.com
5
+ * The version of the OpenAPI document: 0.6.0
6
+ *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
package/dist/esm/index.js CHANGED
@@ -4,8 +4,8 @@
4
4
  * GTINs API
5
5
  * Manage GTINs
6
6
  *
7
- * The version of the OpenAPI document: 0.4.1
8
- * Contact: hello@teemill.com
7
+ * The version of the OpenAPI document: 0.6.0
8
+ *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
package/dist/index.d.ts CHANGED
@@ -2,8 +2,8 @@
2
2
  * GTINs API
3
3
  * Manage GTINs
4
4
  *
5
- * The version of the OpenAPI document: 0.4.1
6
- * Contact: hello@teemill.com
5
+ * The version of the OpenAPI document: 0.6.0
6
+ *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
package/dist/index.js CHANGED
@@ -5,8 +5,8 @@
5
5
  * GTINs API
6
6
  * Manage GTINs
7
7
  *
8
- * The version of the OpenAPI document: 0.4.1
9
- * Contact: hello@teemill.com
8
+ * The version of the OpenAPI document: 0.6.0
9
+ *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
package/index.ts CHANGED
@@ -4,8 +4,8 @@
4
4
  * GTINs API
5
5
  * Manage GTINs
6
6
  *
7
- * The version of the OpenAPI document: 0.4.1
8
- * Contact: hello@teemill.com
7
+ * The version of the OpenAPI document: 0.6.0
8
+ *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teemill/gtins",
3
- "version": "0.4.1",
3
+ "version": "0.6.0",
4
4
  "description": "OpenAPI client for @teemill/gtins",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {