@teemill/gtins 0.5.0 → 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 +2 -2
- package/api.ts +21 -2
- package/base.ts +3 -3
- package/common.ts +2 -2
- package/configuration.ts +9 -3
- package/dist/api.d.ts +21 -2
- package/dist/api.js +7 -7
- package/dist/base.d.ts +2 -2
- package/dist/base.js +3 -3
- package/dist/common.d.ts +2 -2
- package/dist/common.js +2 -2
- package/dist/configuration.d.ts +2 -2
- package/dist/configuration.js +4 -3
- package/dist/esm/api.d.ts +21 -2
- package/dist/esm/api.js +7 -7
- package/dist/esm/base.d.ts +2 -2
- package/dist/esm/base.js +3 -3
- package/dist/esm/common.d.ts +2 -2
- package/dist/esm/common.js +2 -2
- package/dist/esm/configuration.d.ts +2 -2
- package/dist/esm/configuration.js +4 -3
- package/dist/esm/index.d.ts +2 -2
- package/dist/esm/index.js +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/index.ts +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/gtins@0.
|
|
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.
|
|
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.
|
|
8
|
-
*
|
|
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
|
*
|
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.
|
|
8
|
-
*
|
|
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.
|
|
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.
|
|
8
|
-
*
|
|
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.
|
|
8
|
-
*
|
|
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 =
|
|
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.
|
|
6
|
-
*
|
|
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
|
*
|
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.
|
|
9
|
-
*
|
|
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
|
|
@@ -86,7 +86,7 @@ const GTINsApiAxiosParamCreator = function (configuration) {
|
|
|
86
86
|
* @param {*} [options] Override http request option.
|
|
87
87
|
* @throws {RequiredError}
|
|
88
88
|
*/
|
|
89
|
-
exportGtins: (
|
|
89
|
+
exportGtins: (project_1, gtins_1, ...args_1) => __awaiter(this, [project_1, gtins_1, ...args_1], void 0, function* (project, gtins, options = {}) {
|
|
90
90
|
// verify required parameter 'project' is not null or undefined
|
|
91
91
|
(0, common_1.assertParamExists)('exportGtins', 'project', project);
|
|
92
92
|
const localVarPath = `/v1/gtins/export`;
|
|
@@ -126,7 +126,7 @@ const GTINsApiAxiosParamCreator = function (configuration) {
|
|
|
126
126
|
* @param {*} [options] Override http request option.
|
|
127
127
|
* @throws {RequiredError}
|
|
128
128
|
*/
|
|
129
|
-
getGtin: (
|
|
129
|
+
getGtin: (project_1, gtin_1, ...args_1) => __awaiter(this, [project_1, gtin_1, ...args_1], void 0, function* (project, gtin, options = {}) {
|
|
130
130
|
// verify required parameter 'project' is not null or undefined
|
|
131
131
|
(0, common_1.assertParamExists)('getGtin', 'project', project);
|
|
132
132
|
// verify required parameter 'gtin' is not null or undefined
|
|
@@ -166,7 +166,7 @@ const GTINsApiAxiosParamCreator = function (configuration) {
|
|
|
166
166
|
* @param {*} [options] Override http request option.
|
|
167
167
|
* @throws {RequiredError}
|
|
168
168
|
*/
|
|
169
|
-
importGtins: (
|
|
169
|
+
importGtins: (project_1, body_1, ...args_1) => __awaiter(this, [project_1, body_1, ...args_1], void 0, function* (project, body, options = {}) {
|
|
170
170
|
// verify required parameter 'project' is not null or undefined
|
|
171
171
|
(0, common_1.assertParamExists)('importGtins', 'project', project);
|
|
172
172
|
const localVarPath = `/v1/gtins/import`;
|
|
@@ -207,7 +207,7 @@ const GTINsApiAxiosParamCreator = function (configuration) {
|
|
|
207
207
|
* @param {*} [options] Override http request option.
|
|
208
208
|
* @throws {RequiredError}
|
|
209
209
|
*/
|
|
210
|
-
listGtins: (
|
|
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 = {}) {
|
|
211
211
|
// verify required parameter 'project' is not null or undefined
|
|
212
212
|
(0, common_1.assertParamExists)('listGtins', 'project', project);
|
|
213
213
|
const localVarPath = `/v1/gtins`;
|
|
@@ -253,7 +253,7 @@ const GTINsApiAxiosParamCreator = function (configuration) {
|
|
|
253
253
|
* @param {*} [options] Override http request option.
|
|
254
254
|
* @throws {RequiredError}
|
|
255
255
|
*/
|
|
256
|
-
unassignGtin: (
|
|
256
|
+
unassignGtin: (project_1, gtin_1, ...args_1) => __awaiter(this, [project_1, gtin_1, ...args_1], void 0, function* (project, gtin, options = {}) {
|
|
257
257
|
// verify required parameter 'project' is not null or undefined
|
|
258
258
|
(0, common_1.assertParamExists)('unassignGtin', 'project', project);
|
|
259
259
|
// verify required parameter 'gtin' is not null or undefined
|
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.
|
|
6
|
-
*
|
|
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.
|
|
9
|
-
*
|
|
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.
|
|
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.
|
|
6
|
-
*
|
|
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.
|
|
9
|
-
*
|
|
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/dist/configuration.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.
|
|
6
|
-
*
|
|
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/configuration.js
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* GTINs API
|
|
6
6
|
* Manage GTINs
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
9
|
-
*
|
|
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.
|
|
6
|
-
*
|
|
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
|
*
|
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.
|
|
8
|
-
*
|
|
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
|
|
@@ -83,7 +83,7 @@ export const GTINsApiAxiosParamCreator = function (configuration) {
|
|
|
83
83
|
* @param {*} [options] Override http request option.
|
|
84
84
|
* @throws {RequiredError}
|
|
85
85
|
*/
|
|
86
|
-
exportGtins: (
|
|
86
|
+
exportGtins: (project_1, gtins_1, ...args_1) => __awaiter(this, [project_1, gtins_1, ...args_1], void 0, function* (project, gtins, options = {}) {
|
|
87
87
|
// verify required parameter 'project' is not null or undefined
|
|
88
88
|
assertParamExists('exportGtins', 'project', project);
|
|
89
89
|
const localVarPath = `/v1/gtins/export`;
|
|
@@ -123,7 +123,7 @@ export const GTINsApiAxiosParamCreator = function (configuration) {
|
|
|
123
123
|
* @param {*} [options] Override http request option.
|
|
124
124
|
* @throws {RequiredError}
|
|
125
125
|
*/
|
|
126
|
-
getGtin: (
|
|
126
|
+
getGtin: (project_1, gtin_1, ...args_1) => __awaiter(this, [project_1, gtin_1, ...args_1], void 0, function* (project, gtin, options = {}) {
|
|
127
127
|
// verify required parameter 'project' is not null or undefined
|
|
128
128
|
assertParamExists('getGtin', 'project', project);
|
|
129
129
|
// verify required parameter 'gtin' is not null or undefined
|
|
@@ -163,7 +163,7 @@ export const GTINsApiAxiosParamCreator = function (configuration) {
|
|
|
163
163
|
* @param {*} [options] Override http request option.
|
|
164
164
|
* @throws {RequiredError}
|
|
165
165
|
*/
|
|
166
|
-
importGtins: (
|
|
166
|
+
importGtins: (project_1, body_1, ...args_1) => __awaiter(this, [project_1, body_1, ...args_1], void 0, function* (project, body, options = {}) {
|
|
167
167
|
// verify required parameter 'project' is not null or undefined
|
|
168
168
|
assertParamExists('importGtins', 'project', project);
|
|
169
169
|
const localVarPath = `/v1/gtins/import`;
|
|
@@ -204,7 +204,7 @@ export const GTINsApiAxiosParamCreator = function (configuration) {
|
|
|
204
204
|
* @param {*} [options] Override http request option.
|
|
205
205
|
* @throws {RequiredError}
|
|
206
206
|
*/
|
|
207
|
-
listGtins: (
|
|
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 = {}) {
|
|
208
208
|
// verify required parameter 'project' is not null or undefined
|
|
209
209
|
assertParamExists('listGtins', 'project', project);
|
|
210
210
|
const localVarPath = `/v1/gtins`;
|
|
@@ -250,7 +250,7 @@ export const GTINsApiAxiosParamCreator = function (configuration) {
|
|
|
250
250
|
* @param {*} [options] Override http request option.
|
|
251
251
|
* @throws {RequiredError}
|
|
252
252
|
*/
|
|
253
|
-
unassignGtin: (
|
|
253
|
+
unassignGtin: (project_1, gtin_1, ...args_1) => __awaiter(this, [project_1, gtin_1, ...args_1], void 0, function* (project, gtin, options = {}) {
|
|
254
254
|
// verify required parameter 'project' is not null or undefined
|
|
255
255
|
assertParamExists('unassignGtin', 'project', project);
|
|
256
256
|
// verify required parameter 'gtin' is not null or undefined
|
package/dist/esm/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.
|
|
6
|
-
*
|
|
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.
|
|
8
|
-
*
|
|
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.
|
|
15
|
+
export const BASE_PATH = "https://api.podos.io".replace(/\/+$/, "");
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
package/dist/esm/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.
|
|
6
|
-
*
|
|
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/common.js
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* GTINs API
|
|
5
5
|
* Manage GTINs
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
-
*
|
|
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.
|
|
6
|
-
*
|
|
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.
|
|
8
|
-
*
|
|
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
|
/**
|
package/dist/esm/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.
|
|
6
|
-
*
|
|
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.
|
|
8
|
-
*
|
|
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.
|
|
6
|
-
*
|
|
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.
|
|
9
|
-
*
|
|
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.
|
|
8
|
-
*
|
|
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
|