@teemill/warehouse-packaging 0.1.2 → 0.1.4

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/warehouse-packaging@0.1.2
1
+ ## @teemill/warehouse-packaging@0.1.4
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/warehouse-packaging@0.1.2 --save
39
+ npm install @teemill/warehouse-packaging@0.1.4 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Packaging API
5
5
  * Manage Packaging
6
6
  *
7
- * The version of the OpenAPI document: 0.1.2
7
+ * The version of the OpenAPI document: 0.1.4
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -23,85 +23,33 @@ import type { RequestArgs } from './base';
23
23
  // @ts-ignore
24
24
  import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';
25
25
 
26
- /**
27
- *
28
- * @export
29
- * @interface ApiError
30
- */
31
26
  export interface ApiError {
32
- /**
33
- *
34
- * @type {string}
35
- * @memberof ApiError
36
- */
37
27
  'code'?: string;
38
- /**
39
- *
40
- * @type {string}
41
- * @memberof ApiError
42
- */
43
28
  'message': string;
44
29
  }
45
- /**
46
- *
47
- * @export
48
- * @interface Packaging
49
- */
50
30
  export interface Packaging {
51
31
  /**
52
32
  * Unique object identifier
53
- * @type {string}
54
- * @memberof Packaging
55
33
  */
56
34
  'id': string;
57
35
  /**
58
36
  * A reference to the resource location
59
- * @type {string}
60
- * @memberof Packaging
61
37
  */
62
38
  'ref': string;
63
- /**
64
- *
65
- * @type {string}
66
- * @memberof Packaging
67
- */
68
39
  'name': string;
69
- /**
70
- *
71
- * @type {string}
72
- * @memberof Packaging
73
- */
74
40
  'image': string;
75
41
  /**
76
42
  * Weight in grams
77
- * @type {number}
78
- * @memberof Packaging
79
43
  */
80
44
  'weight': number;
81
45
  }
82
- /**
83
- *
84
- * @export
85
- * @interface PackagingListResponse
86
- */
87
46
  export interface PackagingListResponse {
88
- /**
89
- *
90
- * @type {Array<Packaging>}
91
- * @memberof PackagingListResponse
92
- */
93
47
  'packaging': Array<Packaging>;
94
- /**
95
- *
96
- * @type {number}
97
- * @memberof PackagingListResponse
98
- */
99
48
  'nextPageToken': number;
100
49
  }
101
50
 
102
51
  /**
103
52
  * PackagingApi - axios parameter creator
104
- * @export
105
53
  */
106
54
  export const PackagingApiAxiosParamCreator = function (configuration?: Configuration) {
107
55
  return {
@@ -212,7 +160,6 @@ export const PackagingApiAxiosParamCreator = function (configuration?: Configura
212
160
 
213
161
  /**
214
162
  * PackagingApi - functional programming interface
215
- * @export
216
163
  */
217
164
  export const PackagingApiFp = function(configuration?: Configuration) {
218
165
  const localVarAxiosParamCreator = PackagingApiAxiosParamCreator(configuration)
@@ -251,7 +198,6 @@ export const PackagingApiFp = function(configuration?: Configuration) {
251
198
 
252
199
  /**
253
200
  * PackagingApi - factory interface
254
- * @export
255
201
  */
256
202
  export const PackagingApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
257
203
  const localVarFp = PackagingApiFp(configuration)
@@ -281,58 +227,41 @@ export const PackagingApiFactory = function (configuration?: Configuration, base
281
227
 
282
228
  /**
283
229
  * Request parameters for getPackaging operation in PackagingApi.
284
- * @export
285
- * @interface PackagingApiGetPackagingRequest
286
230
  */
287
231
  export interface PackagingApiGetPackagingRequest {
288
232
  /**
289
233
  * What project it is
290
- * @type {string}
291
- * @memberof PackagingApiGetPackaging
292
234
  */
293
235
  readonly project: string
294
236
 
295
237
  /**
296
238
  * Unique identifier of packaging
297
- * @type {string}
298
- * @memberof PackagingApiGetPackaging
299
239
  */
300
240
  readonly packagingId: string
301
241
  }
302
242
 
303
243
  /**
304
244
  * Request parameters for listPackaging operation in PackagingApi.
305
- * @export
306
- * @interface PackagingApiListPackagingRequest
307
245
  */
308
246
  export interface PackagingApiListPackagingRequest {
309
247
  /**
310
248
  * What project it is
311
- * @type {string}
312
- * @memberof PackagingApiListPackaging
313
249
  */
314
250
  readonly project: string
315
251
 
316
252
  /**
317
253
  * Page reference token
318
- * @type {number}
319
- * @memberof PackagingApiListPackaging
320
254
  */
321
255
  readonly pageToken?: number
322
256
 
323
257
  /**
324
258
  * Max page size. This is the maximum page size that will be returned, but it might be smaller.
325
- * @type {number}
326
- * @memberof PackagingApiListPackaging
327
259
  */
328
260
  readonly pageSize?: number
329
261
  }
330
262
 
331
263
  /**
332
264
  * PackagingApi - object-oriented interface
333
- * @export
334
- * @class PackagingApi
335
- * @extends {BaseAPI}
336
265
  */
337
266
  export class PackagingApi extends BaseAPI {
338
267
  /**
@@ -341,7 +270,6 @@ export class PackagingApi extends BaseAPI {
341
270
  * @param {PackagingApiGetPackagingRequest} requestParameters Request parameters.
342
271
  * @param {*} [options] Override http request option.
343
272
  * @throws {RequiredError}
344
- * @memberof PackagingApi
345
273
  */
346
274
  public getPackaging(requestParameters: PackagingApiGetPackagingRequest, options?: RawAxiosRequestConfig) {
347
275
  return PackagingApiFp(this.configuration).getPackaging(requestParameters.project, requestParameters.packagingId, options).then((request) => request(this.axios, this.basePath));
@@ -353,7 +281,6 @@ export class PackagingApi extends BaseAPI {
353
281
  * @param {PackagingApiListPackagingRequest} requestParameters Request parameters.
354
282
  * @param {*} [options] Override http request option.
355
283
  * @throws {RequiredError}
356
- * @memberof PackagingApi
357
284
  */
358
285
  public listPackaging(requestParameters: PackagingApiListPackagingRequest, options?: RawAxiosRequestConfig) {
359
286
  return PackagingApiFp(this.configuration).listPackaging(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
package/base.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Packaging API
5
5
  * Manage Packaging
6
6
  *
7
- * The version of the OpenAPI document: 0.1.2
7
+ * The version of the OpenAPI document: 0.1.4
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -21,10 +21,6 @@ import globalAxios from 'axios';
21
21
 
22
22
  export const BASE_PATH = "https://api.podos.io".replace(/\/+$/, "");
23
23
 
24
- /**
25
- *
26
- * @export
27
- */
28
24
  export const COLLECTION_FORMATS = {
29
25
  csv: ",",
30
26
  ssv: " ",
@@ -32,21 +28,11 @@ export const COLLECTION_FORMATS = {
32
28
  pipes: "|",
33
29
  };
34
30
 
35
- /**
36
- *
37
- * @export
38
- * @interface RequestArgs
39
- */
40
31
  export interface RequestArgs {
41
32
  url: string;
42
33
  options: RawAxiosRequestConfig;
43
34
  }
44
35
 
45
- /**
46
- *
47
- * @export
48
- * @class BaseAPI
49
- */
50
36
  export class BaseAPI {
51
37
  protected configuration: Configuration | undefined;
52
38
 
@@ -58,12 +44,6 @@ export class BaseAPI {
58
44
  }
59
45
  };
60
46
 
61
- /**
62
- *
63
- * @export
64
- * @class RequiredError
65
- * @extends {Error}
66
- */
67
47
  export class RequiredError extends Error {
68
48
  constructor(public field: string, msg?: string) {
69
49
  super(msg);
@@ -78,9 +58,5 @@ interface ServerMap {
78
58
  }[];
79
59
  }
80
60
 
81
- /**
82
- *
83
- * @export
84
- */
85
61
  export const operationServerMap: ServerMap = {
86
62
  }
package/common.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Packaging API
5
5
  * Manage Packaging
6
6
  *
7
- * The version of the OpenAPI document: 0.1.2
7
+ * The version of the OpenAPI document: 0.1.4
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -12,7 +12,6 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
-
16
15
  import type { Configuration } from "./configuration";
17
16
  import type { RequestArgs } from "./base";
18
17
  import type { AxiosInstance, AxiosResponse } from 'axios';
package/configuration.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Packaging API
5
5
  * Manage Packaging
6
6
  *
7
- * The version of the OpenAPI document: 0.1.2
7
+ * The version of the OpenAPI document: 0.1.4
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -28,49 +28,32 @@ export class Configuration {
28
28
  /**
29
29
  * parameter for apiKey security
30
30
  * @param name security name
31
- * @memberof Configuration
32
31
  */
33
32
  apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
34
33
  /**
35
34
  * parameter for basic security
36
- *
37
- * @type {string}
38
- * @memberof Configuration
39
35
  */
40
36
  username?: string;
41
37
  /**
42
38
  * parameter for basic security
43
- *
44
- * @type {string}
45
- * @memberof Configuration
46
39
  */
47
40
  password?: string;
48
41
  /**
49
42
  * parameter for oauth2 security
50
43
  * @param name security name
51
44
  * @param scopes oauth2 scope
52
- * @memberof Configuration
53
45
  */
54
46
  accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
55
47
  /**
56
48
  * override base path
57
- *
58
- * @type {string}
59
- * @memberof Configuration
60
49
  */
61
50
  basePath?: string;
62
51
  /**
63
52
  * override server index
64
- *
65
- * @type {number}
66
- * @memberof Configuration
67
53
  */
68
54
  serverIndex?: number;
69
55
  /**
70
56
  * base options for axios calls
71
- *
72
- * @type {any}
73
- * @memberof Configuration
74
57
  */
75
58
  baseOptions?: any;
76
59
  /**
package/dist/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Packaging API
3
3
  * Manage Packaging
4
4
  *
5
- * The version of the OpenAPI document: 0.1.2
5
+ * The version of the OpenAPI document: 0.1.4
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,84 +13,32 @@ import type { Configuration } from './configuration';
13
13
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import type { RequestArgs } from './base';
15
15
  import { BaseAPI } from './base';
16
- /**
17
- *
18
- * @export
19
- * @interface ApiError
20
- */
21
16
  export interface ApiError {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof ApiError
26
- */
27
17
  'code'?: string;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof ApiError
32
- */
33
18
  'message': string;
34
19
  }
35
- /**
36
- *
37
- * @export
38
- * @interface Packaging
39
- */
40
20
  export interface Packaging {
41
21
  /**
42
22
  * Unique object identifier
43
- * @type {string}
44
- * @memberof Packaging
45
23
  */
46
24
  'id': string;
47
25
  /**
48
26
  * A reference to the resource location
49
- * @type {string}
50
- * @memberof Packaging
51
27
  */
52
28
  'ref': string;
53
- /**
54
- *
55
- * @type {string}
56
- * @memberof Packaging
57
- */
58
29
  'name': string;
59
- /**
60
- *
61
- * @type {string}
62
- * @memberof Packaging
63
- */
64
30
  'image': string;
65
31
  /**
66
32
  * Weight in grams
67
- * @type {number}
68
- * @memberof Packaging
69
33
  */
70
34
  'weight': number;
71
35
  }
72
- /**
73
- *
74
- * @export
75
- * @interface PackagingListResponse
76
- */
77
36
  export interface PackagingListResponse {
78
- /**
79
- *
80
- * @type {Array<Packaging>}
81
- * @memberof PackagingListResponse
82
- */
83
37
  'packaging': Array<Packaging>;
84
- /**
85
- *
86
- * @type {number}
87
- * @memberof PackagingListResponse
88
- */
89
38
  'nextPageToken': number;
90
39
  }
91
40
  /**
92
41
  * PackagingApi - axios parameter creator
93
- * @export
94
42
  */
95
43
  export declare const PackagingApiAxiosParamCreator: (configuration?: Configuration) => {
96
44
  /**
@@ -115,7 +63,6 @@ export declare const PackagingApiAxiosParamCreator: (configuration?: Configurati
115
63
  };
116
64
  /**
117
65
  * PackagingApi - functional programming interface
118
- * @export
119
66
  */
120
67
  export declare const PackagingApiFp: (configuration?: Configuration) => {
121
68
  /**
@@ -140,7 +87,6 @@ export declare const PackagingApiFp: (configuration?: Configuration) => {
140
87
  };
141
88
  /**
142
89
  * PackagingApi - factory interface
143
- * @export
144
90
  */
145
91
  export declare const PackagingApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
146
92
  /**
@@ -162,53 +108,36 @@ export declare const PackagingApiFactory: (configuration?: Configuration, basePa
162
108
  };
163
109
  /**
164
110
  * Request parameters for getPackaging operation in PackagingApi.
165
- * @export
166
- * @interface PackagingApiGetPackagingRequest
167
111
  */
168
112
  export interface PackagingApiGetPackagingRequest {
169
113
  /**
170
114
  * What project it is
171
- * @type {string}
172
- * @memberof PackagingApiGetPackaging
173
115
  */
174
116
  readonly project: string;
175
117
  /**
176
118
  * Unique identifier of packaging
177
- * @type {string}
178
- * @memberof PackagingApiGetPackaging
179
119
  */
180
120
  readonly packagingId: string;
181
121
  }
182
122
  /**
183
123
  * Request parameters for listPackaging operation in PackagingApi.
184
- * @export
185
- * @interface PackagingApiListPackagingRequest
186
124
  */
187
125
  export interface PackagingApiListPackagingRequest {
188
126
  /**
189
127
  * What project it is
190
- * @type {string}
191
- * @memberof PackagingApiListPackaging
192
128
  */
193
129
  readonly project: string;
194
130
  /**
195
131
  * Page reference token
196
- * @type {number}
197
- * @memberof PackagingApiListPackaging
198
132
  */
199
133
  readonly pageToken?: number;
200
134
  /**
201
135
  * Max page size. This is the maximum page size that will be returned, but it might be smaller.
202
- * @type {number}
203
- * @memberof PackagingApiListPackaging
204
136
  */
205
137
  readonly pageSize?: number;
206
138
  }
207
139
  /**
208
140
  * PackagingApi - object-oriented interface
209
- * @export
210
- * @class PackagingApi
211
- * @extends {BaseAPI}
212
141
  */
213
142
  export declare class PackagingApi extends BaseAPI {
214
143
  /**
@@ -217,16 +146,14 @@ export declare class PackagingApi extends BaseAPI {
217
146
  * @param {PackagingApiGetPackagingRequest} requestParameters Request parameters.
218
147
  * @param {*} [options] Override http request option.
219
148
  * @throws {RequiredError}
220
- * @memberof PackagingApi
221
149
  */
222
- getPackaging(requestParameters: PackagingApiGetPackagingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Packaging, any>>;
150
+ getPackaging(requestParameters: PackagingApiGetPackagingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Packaging, any, {}>>;
223
151
  /**
224
152
  * Lists packaging items paginated into chunks
225
153
  * @summary List packaging
226
154
  * @param {PackagingApiListPackagingRequest} requestParameters Request parameters.
227
155
  * @param {*} [options] Override http request option.
228
156
  * @throws {RequiredError}
229
- * @memberof PackagingApi
230
157
  */
231
- listPackaging(requestParameters: PackagingApiListPackagingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PackagingListResponse, any>>;
158
+ listPackaging(requestParameters: PackagingApiListPackagingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PackagingListResponse, any, {}>>;
232
159
  }
package/dist/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Packaging API
6
6
  * Manage Packaging
7
7
  *
8
- * The version of the OpenAPI document: 0.1.2
8
+ * The version of the OpenAPI document: 0.1.4
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -31,7 +31,6 @@ const common_1 = require("./common");
31
31
  const base_1 = require("./base");
32
32
  /**
33
33
  * PackagingApi - axios parameter creator
34
- * @export
35
34
  */
36
35
  const PackagingApiAxiosParamCreator = function (configuration) {
37
36
  return {
@@ -124,7 +123,6 @@ const PackagingApiAxiosParamCreator = function (configuration) {
124
123
  exports.PackagingApiAxiosParamCreator = PackagingApiAxiosParamCreator;
125
124
  /**
126
125
  * PackagingApi - functional programming interface
127
- * @export
128
126
  */
129
127
  const PackagingApiFp = function (configuration) {
130
128
  const localVarAxiosParamCreator = (0, exports.PackagingApiAxiosParamCreator)(configuration);
@@ -169,7 +167,6 @@ const PackagingApiFp = function (configuration) {
169
167
  exports.PackagingApiFp = PackagingApiFp;
170
168
  /**
171
169
  * PackagingApi - factory interface
172
- * @export
173
170
  */
174
171
  const PackagingApiFactory = function (configuration, basePath, axios) {
175
172
  const localVarFp = (0, exports.PackagingApiFp)(configuration);
@@ -199,9 +196,6 @@ const PackagingApiFactory = function (configuration, basePath, axios) {
199
196
  exports.PackagingApiFactory = PackagingApiFactory;
200
197
  /**
201
198
  * PackagingApi - object-oriented interface
202
- * @export
203
- * @class PackagingApi
204
- * @extends {BaseAPI}
205
199
  */
206
200
  class PackagingApi extends base_1.BaseAPI {
207
201
  /**
@@ -210,7 +204,6 @@ class PackagingApi extends base_1.BaseAPI {
210
204
  * @param {PackagingApiGetPackagingRequest} requestParameters Request parameters.
211
205
  * @param {*} [options] Override http request option.
212
206
  * @throws {RequiredError}
213
- * @memberof PackagingApi
214
207
  */
215
208
  getPackaging(requestParameters, options) {
216
209
  return (0, exports.PackagingApiFp)(this.configuration).getPackaging(requestParameters.project, requestParameters.packagingId, options).then((request) => request(this.axios, this.basePath));
@@ -221,7 +214,6 @@ class PackagingApi extends base_1.BaseAPI {
221
214
  * @param {PackagingApiListPackagingRequest} requestParameters Request parameters.
222
215
  * @param {*} [options] Override http request option.
223
216
  * @throws {RequiredError}
224
- * @memberof PackagingApi
225
217
  */
226
218
  listPackaging(requestParameters, options) {
227
219
  return (0, exports.PackagingApiFp)(this.configuration).listPackaging(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
package/dist/base.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Packaging API
3
3
  * Manage Packaging
4
4
  *
5
- * The version of the OpenAPI document: 0.1.2
5
+ * The version of the OpenAPI document: 0.1.4
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
  * Packaging API
6
6
  * Manage Packaging
7
7
  *
8
- * The version of the OpenAPI document: 0.1.2
8
+ * The version of the OpenAPI document: 0.1.4
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
  * Packaging API
3
3
  * Manage Packaging
4
4
  *
5
- * The version of the OpenAPI document: 0.1.2
5
+ * The version of the OpenAPI document: 0.1.4
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
  * Packaging API
6
6
  * Manage Packaging
7
7
  *
8
- * The version of the OpenAPI document: 0.1.2
8
+ * The version of the OpenAPI document: 0.1.4
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
  * Packaging API
3
3
  * Manage Packaging
4
4
  *
5
- * The version of the OpenAPI document: 0.1.2
5
+ * The version of the OpenAPI document: 0.1.4
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
  * Packaging API
6
6
  * Manage Packaging
7
7
  *
8
- * The version of the OpenAPI document: 0.1.2
8
+ * The version of the OpenAPI document: 0.1.4
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Packaging API
3
3
  * Manage Packaging
4
4
  *
5
- * The version of the OpenAPI document: 0.1.2
5
+ * The version of the OpenAPI document: 0.1.4
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,84 +13,32 @@ import type { Configuration } from './configuration';
13
13
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import type { RequestArgs } from './base';
15
15
  import { BaseAPI } from './base';
16
- /**
17
- *
18
- * @export
19
- * @interface ApiError
20
- */
21
16
  export interface ApiError {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof ApiError
26
- */
27
17
  'code'?: string;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof ApiError
32
- */
33
18
  'message': string;
34
19
  }
35
- /**
36
- *
37
- * @export
38
- * @interface Packaging
39
- */
40
20
  export interface Packaging {
41
21
  /**
42
22
  * Unique object identifier
43
- * @type {string}
44
- * @memberof Packaging
45
23
  */
46
24
  'id': string;
47
25
  /**
48
26
  * A reference to the resource location
49
- * @type {string}
50
- * @memberof Packaging
51
27
  */
52
28
  'ref': string;
53
- /**
54
- *
55
- * @type {string}
56
- * @memberof Packaging
57
- */
58
29
  'name': string;
59
- /**
60
- *
61
- * @type {string}
62
- * @memberof Packaging
63
- */
64
30
  'image': string;
65
31
  /**
66
32
  * Weight in grams
67
- * @type {number}
68
- * @memberof Packaging
69
33
  */
70
34
  'weight': number;
71
35
  }
72
- /**
73
- *
74
- * @export
75
- * @interface PackagingListResponse
76
- */
77
36
  export interface PackagingListResponse {
78
- /**
79
- *
80
- * @type {Array<Packaging>}
81
- * @memberof PackagingListResponse
82
- */
83
37
  'packaging': Array<Packaging>;
84
- /**
85
- *
86
- * @type {number}
87
- * @memberof PackagingListResponse
88
- */
89
38
  'nextPageToken': number;
90
39
  }
91
40
  /**
92
41
  * PackagingApi - axios parameter creator
93
- * @export
94
42
  */
95
43
  export declare const PackagingApiAxiosParamCreator: (configuration?: Configuration) => {
96
44
  /**
@@ -115,7 +63,6 @@ export declare const PackagingApiAxiosParamCreator: (configuration?: Configurati
115
63
  };
116
64
  /**
117
65
  * PackagingApi - functional programming interface
118
- * @export
119
66
  */
120
67
  export declare const PackagingApiFp: (configuration?: Configuration) => {
121
68
  /**
@@ -140,7 +87,6 @@ export declare const PackagingApiFp: (configuration?: Configuration) => {
140
87
  };
141
88
  /**
142
89
  * PackagingApi - factory interface
143
- * @export
144
90
  */
145
91
  export declare const PackagingApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
146
92
  /**
@@ -162,53 +108,36 @@ export declare const PackagingApiFactory: (configuration?: Configuration, basePa
162
108
  };
163
109
  /**
164
110
  * Request parameters for getPackaging operation in PackagingApi.
165
- * @export
166
- * @interface PackagingApiGetPackagingRequest
167
111
  */
168
112
  export interface PackagingApiGetPackagingRequest {
169
113
  /**
170
114
  * What project it is
171
- * @type {string}
172
- * @memberof PackagingApiGetPackaging
173
115
  */
174
116
  readonly project: string;
175
117
  /**
176
118
  * Unique identifier of packaging
177
- * @type {string}
178
- * @memberof PackagingApiGetPackaging
179
119
  */
180
120
  readonly packagingId: string;
181
121
  }
182
122
  /**
183
123
  * Request parameters for listPackaging operation in PackagingApi.
184
- * @export
185
- * @interface PackagingApiListPackagingRequest
186
124
  */
187
125
  export interface PackagingApiListPackagingRequest {
188
126
  /**
189
127
  * What project it is
190
- * @type {string}
191
- * @memberof PackagingApiListPackaging
192
128
  */
193
129
  readonly project: string;
194
130
  /**
195
131
  * Page reference token
196
- * @type {number}
197
- * @memberof PackagingApiListPackaging
198
132
  */
199
133
  readonly pageToken?: number;
200
134
  /**
201
135
  * Max page size. This is the maximum page size that will be returned, but it might be smaller.
202
- * @type {number}
203
- * @memberof PackagingApiListPackaging
204
136
  */
205
137
  readonly pageSize?: number;
206
138
  }
207
139
  /**
208
140
  * PackagingApi - object-oriented interface
209
- * @export
210
- * @class PackagingApi
211
- * @extends {BaseAPI}
212
141
  */
213
142
  export declare class PackagingApi extends BaseAPI {
214
143
  /**
@@ -217,16 +146,14 @@ export declare class PackagingApi extends BaseAPI {
217
146
  * @param {PackagingApiGetPackagingRequest} requestParameters Request parameters.
218
147
  * @param {*} [options] Override http request option.
219
148
  * @throws {RequiredError}
220
- * @memberof PackagingApi
221
149
  */
222
- getPackaging(requestParameters: PackagingApiGetPackagingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Packaging, any>>;
150
+ getPackaging(requestParameters: PackagingApiGetPackagingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Packaging, any, {}>>;
223
151
  /**
224
152
  * Lists packaging items paginated into chunks
225
153
  * @summary List packaging
226
154
  * @param {PackagingApiListPackagingRequest} requestParameters Request parameters.
227
155
  * @param {*} [options] Override http request option.
228
156
  * @throws {RequiredError}
229
- * @memberof PackagingApi
230
157
  */
231
- listPackaging(requestParameters: PackagingApiListPackagingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PackagingListResponse, any>>;
158
+ listPackaging(requestParameters: PackagingApiListPackagingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PackagingListResponse, any, {}>>;
232
159
  }
package/dist/esm/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Packaging API
5
5
  * Manage Packaging
6
6
  *
7
- * The version of the OpenAPI document: 0.1.2
7
+ * The version of the OpenAPI document: 0.1.4
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -28,7 +28,6 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setOAuthToObject,
28
28
  import { BASE_PATH, BaseAPI, operationServerMap } from './base';
29
29
  /**
30
30
  * PackagingApi - axios parameter creator
31
- * @export
32
31
  */
33
32
  export const PackagingApiAxiosParamCreator = function (configuration) {
34
33
  return {
@@ -120,7 +119,6 @@ export const PackagingApiAxiosParamCreator = function (configuration) {
120
119
  };
121
120
  /**
122
121
  * PackagingApi - functional programming interface
123
- * @export
124
122
  */
125
123
  export const PackagingApiFp = function (configuration) {
126
124
  const localVarAxiosParamCreator = PackagingApiAxiosParamCreator(configuration);
@@ -164,7 +162,6 @@ export const PackagingApiFp = function (configuration) {
164
162
  };
165
163
  /**
166
164
  * PackagingApi - factory interface
167
- * @export
168
165
  */
169
166
  export const PackagingApiFactory = function (configuration, basePath, axios) {
170
167
  const localVarFp = PackagingApiFp(configuration);
@@ -193,9 +190,6 @@ export const PackagingApiFactory = function (configuration, basePath, axios) {
193
190
  };
194
191
  /**
195
192
  * PackagingApi - object-oriented interface
196
- * @export
197
- * @class PackagingApi
198
- * @extends {BaseAPI}
199
193
  */
200
194
  export class PackagingApi extends BaseAPI {
201
195
  /**
@@ -204,7 +198,6 @@ export class PackagingApi extends BaseAPI {
204
198
  * @param {PackagingApiGetPackagingRequest} requestParameters Request parameters.
205
199
  * @param {*} [options] Override http request option.
206
200
  * @throws {RequiredError}
207
- * @memberof PackagingApi
208
201
  */
209
202
  getPackaging(requestParameters, options) {
210
203
  return PackagingApiFp(this.configuration).getPackaging(requestParameters.project, requestParameters.packagingId, options).then((request) => request(this.axios, this.basePath));
@@ -215,7 +208,6 @@ export class PackagingApi extends BaseAPI {
215
208
  * @param {PackagingApiListPackagingRequest} requestParameters Request parameters.
216
209
  * @param {*} [options] Override http request option.
217
210
  * @throws {RequiredError}
218
- * @memberof PackagingApi
219
211
  */
220
212
  listPackaging(requestParameters, options) {
221
213
  return PackagingApiFp(this.configuration).listPackaging(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
@@ -2,7 +2,7 @@
2
2
  * Packaging API
3
3
  * Manage Packaging
4
4
  *
5
- * The version of the OpenAPI document: 0.1.2
5
+ * The version of the OpenAPI document: 0.1.4
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
  * Packaging API
5
5
  * Manage Packaging
6
6
  *
7
- * The version of the OpenAPI document: 0.1.2
7
+ * The version of the OpenAPI document: 0.1.4
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 = {};
@@ -2,7 +2,7 @@
2
2
  * Packaging API
3
3
  * Manage Packaging
4
4
  *
5
- * The version of the OpenAPI document: 0.1.2
5
+ * The version of the OpenAPI document: 0.1.4
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Packaging API
5
5
  * Manage Packaging
6
6
  *
7
- * The version of the OpenAPI document: 0.1.2
7
+ * The version of the OpenAPI document: 0.1.4
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
  * Packaging API
3
3
  * Manage Packaging
4
4
  *
5
- * The version of the OpenAPI document: 0.1.2
5
+ * The version of the OpenAPI document: 0.1.4
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
  * Packaging API
5
5
  * Manage Packaging
6
6
  *
7
- * The version of the OpenAPI document: 0.1.2
7
+ * The version of the OpenAPI document: 0.1.4
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
  * Packaging API
3
3
  * Manage Packaging
4
4
  *
5
- * The version of the OpenAPI document: 0.1.2
5
+ * The version of the OpenAPI document: 0.1.4
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
  * Packaging API
5
5
  * Manage Packaging
6
6
  *
7
- * The version of the OpenAPI document: 0.1.2
7
+ * The version of the OpenAPI document: 0.1.4
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
  * Packaging API
3
3
  * Manage Packaging
4
4
  *
5
- * The version of the OpenAPI document: 0.1.2
5
+ * The version of the OpenAPI document: 0.1.4
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
  * Packaging API
6
6
  * Manage Packaging
7
7
  *
8
- * The version of the OpenAPI document: 0.1.2
8
+ * The version of the OpenAPI document: 0.1.4
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/index.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Packaging API
5
5
  * Manage Packaging
6
6
  *
7
- * The version of the OpenAPI document: 0.1.2
7
+ * The version of the OpenAPI document: 0.1.4
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teemill/warehouse-packaging",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "OpenAPI client for @teemill/warehouse-packaging",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -24,7 +24,7 @@
24
24
  "prepare": "npm run build"
25
25
  },
26
26
  "dependencies": {
27
- "axios": "^1.6.1"
27
+ "axios": "1.12.2"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@types/node": "12.11.5 - 12.20.42",