@teemill/pickfaces 0.3.0 → 0.4.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/.openapi-generator/VERSION +1 -1
- package/README.md +2 -2
- package/dist/apis/PickfacesApi.d.ts +2 -2
- package/dist/apis/PickfacesApi.js +83 -35
- package/dist/models/CreatePickfaceRequest.d.ts +2 -2
- package/dist/models/CreatePickfaceRequest.js +2 -2
- package/dist/models/CreatePickfaceRequestDimensions.d.ts +2 -2
- package/dist/models/CreatePickfaceRequestDimensions.js +2 -2
- package/dist/models/GetPickfaces200Response.d.ts +2 -2
- package/dist/models/GetPickfaces200Response.js +2 -2
- package/dist/models/ModelError.d.ts +2 -2
- package/dist/models/ModelError.js +2 -2
- package/dist/models/Pickface.d.ts +8 -2
- package/dist/models/Pickface.js +4 -2
- package/dist/models/PickfaceContentsInner.d.ts +2 -2
- package/dist/models/PickfaceContentsInner.js +2 -2
- package/dist/models/PickfaceContentsInnerApplicationsInner.d.ts +2 -2
- package/dist/models/PickfaceContentsInnerApplicationsInner.js +2 -2
- package/dist/models/PickfaceContentsInnerMetadata.d.ts +2 -2
- package/dist/models/PickfaceContentsInnerMetadata.js +2 -2
- package/dist/models/PickfaceContentsInnerQuantity.d.ts +2 -2
- package/dist/models/PickfaceContentsInnerQuantity.js +2 -2
- package/dist/models/UpdatePickfaceRequest.d.ts +2 -2
- package/dist/models/UpdatePickfaceRequest.js +2 -2
- package/dist/runtime.d.ts +2 -2
- package/dist/runtime.js +2 -2
- package/package.json +1 -1
- package/src/apis/PickfacesApi.ts +36 -10
- package/src/models/CreatePickfaceRequest.ts +2 -2
- package/src/models/CreatePickfaceRequestDimensions.ts +2 -2
- package/src/models/GetPickfaces200Response.ts +2 -2
- package/src/models/ModelError.ts +2 -2
- package/src/models/Pickface.ts +10 -2
- package/src/models/PickfaceContentsInner.ts +2 -2
- package/src/models/PickfaceContentsInnerApplicationsInner.ts +2 -2
- package/src/models/PickfaceContentsInnerMetadata.ts +2 -2
- package/src/models/PickfaceContentsInnerQuantity.ts +2 -2
- package/src/models/UpdatePickfaceRequest.ts +2 -2
- package/src/runtime.ts +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.3.0-SNAPSHOT
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/pickfaces@0.
|
|
1
|
+
## @teemill/pickfaces@0.4.0
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). 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/pickfaces@0.
|
|
39
|
+
npm install @teemill/pickfaces@0.4.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Pickfaces API
|
|
3
|
-
* Manage Teemill Pickfaces Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
3
|
+
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.4.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Pickfaces API
|
|
6
|
-
* Manage Teemill Pickfaces Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
|
+
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.4.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -92,9 +92,9 @@ var PickfacesApi = /** @class */ (function (_super) {
|
|
|
92
92
|
*/
|
|
93
93
|
PickfacesApi.prototype.createPickfaceRaw = function (requestParameters, initOverrides) {
|
|
94
94
|
return __awaiter(this, void 0, void 0, function () {
|
|
95
|
-
var queryParameters, headerParameters, response;
|
|
96
|
-
return __generator(this, function (
|
|
97
|
-
switch (
|
|
95
|
+
var queryParameters, headerParameters, _a, _b, response;
|
|
96
|
+
return __generator(this, function (_c) {
|
|
97
|
+
switch (_c.label) {
|
|
98
98
|
case 0:
|
|
99
99
|
if (requestParameters.project === null || requestParameters.project === undefined) {
|
|
100
100
|
throw new runtime.RequiredError('project', 'Required parameter requestParameters.project was null or undefined when calling createPickface.');
|
|
@@ -108,6 +108,16 @@ var PickfacesApi = /** @class */ (function (_super) {
|
|
|
108
108
|
}
|
|
109
109
|
headerParameters = {};
|
|
110
110
|
headerParameters['Content-Type'] = 'application/json';
|
|
111
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
112
|
+
// oauth required
|
|
113
|
+
_a = headerParameters;
|
|
114
|
+
_b = "Authorization";
|
|
115
|
+
return [4 /*yield*/, this.configuration.accessToken("session-oauth", [])];
|
|
116
|
+
case 1:
|
|
117
|
+
// oauth required
|
|
118
|
+
_a[_b] = _c.sent();
|
|
119
|
+
_c.label = 2;
|
|
120
|
+
case 2:
|
|
111
121
|
if (this.configuration && this.configuration.apiKey) {
|
|
112
122
|
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
|
|
113
123
|
}
|
|
@@ -118,8 +128,8 @@ var PickfacesApi = /** @class */ (function (_super) {
|
|
|
118
128
|
query: queryParameters,
|
|
119
129
|
body: (0, index_1.CreatePickfaceRequestToJSON)(requestParameters.createPickfaceRequest),
|
|
120
130
|
}, initOverrides)];
|
|
121
|
-
case
|
|
122
|
-
response =
|
|
131
|
+
case 3:
|
|
132
|
+
response = _c.sent();
|
|
123
133
|
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.PickfaceFromJSON)(jsonValue); })];
|
|
124
134
|
}
|
|
125
135
|
});
|
|
@@ -135,8 +145,7 @@ var PickfacesApi = /** @class */ (function (_super) {
|
|
|
135
145
|
return __generator(this, function (_a) {
|
|
136
146
|
switch (_a.label) {
|
|
137
147
|
case 0: return [4 /*yield*/, this.createPickfaceRaw({
|
|
138
|
-
project: project,
|
|
139
|
-
createPickfaceRequest: createPickfaceRequest
|
|
148
|
+
project: project, createPickfaceRequest: createPickfaceRequest,
|
|
140
149
|
}, initOverrides)];
|
|
141
150
|
case 1:
|
|
142
151
|
response = _a.sent();
|
|
@@ -152,9 +161,9 @@ var PickfacesApi = /** @class */ (function (_super) {
|
|
|
152
161
|
*/
|
|
153
162
|
PickfacesApi.prototype.deletePickfaceRaw = function (requestParameters, initOverrides) {
|
|
154
163
|
return __awaiter(this, void 0, void 0, function () {
|
|
155
|
-
var queryParameters, headerParameters, response;
|
|
156
|
-
return __generator(this, function (
|
|
157
|
-
switch (
|
|
164
|
+
var queryParameters, headerParameters, _a, _b, response;
|
|
165
|
+
return __generator(this, function (_c) {
|
|
166
|
+
switch (_c.label) {
|
|
158
167
|
case 0:
|
|
159
168
|
if (requestParameters.project === null || requestParameters.project === undefined) {
|
|
160
169
|
throw new runtime.RequiredError('project', 'Required parameter requestParameters.project was null or undefined when calling deletePickface.');
|
|
@@ -167,6 +176,16 @@ var PickfacesApi = /** @class */ (function (_super) {
|
|
|
167
176
|
queryParameters['project'] = requestParameters.project;
|
|
168
177
|
}
|
|
169
178
|
headerParameters = {};
|
|
179
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
180
|
+
// oauth required
|
|
181
|
+
_a = headerParameters;
|
|
182
|
+
_b = "Authorization";
|
|
183
|
+
return [4 /*yield*/, this.configuration.accessToken("session-oauth", [])];
|
|
184
|
+
case 1:
|
|
185
|
+
// oauth required
|
|
186
|
+
_a[_b] = _c.sent();
|
|
187
|
+
_c.label = 2;
|
|
188
|
+
case 2:
|
|
170
189
|
if (this.configuration && this.configuration.apiKey) {
|
|
171
190
|
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
|
|
172
191
|
}
|
|
@@ -176,8 +195,8 @@ var PickfacesApi = /** @class */ (function (_super) {
|
|
|
176
195
|
headers: headerParameters,
|
|
177
196
|
query: queryParameters,
|
|
178
197
|
}, initOverrides)];
|
|
179
|
-
case
|
|
180
|
-
response =
|
|
198
|
+
case 3:
|
|
199
|
+
response = _c.sent();
|
|
181
200
|
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
182
201
|
}
|
|
183
202
|
});
|
|
@@ -191,7 +210,9 @@ var PickfacesApi = /** @class */ (function (_super) {
|
|
|
191
210
|
return __awaiter(this, void 0, void 0, function () {
|
|
192
211
|
return __generator(this, function (_a) {
|
|
193
212
|
switch (_a.label) {
|
|
194
|
-
case 0: return [4 /*yield*/, this.deletePickfaceRaw({
|
|
213
|
+
case 0: return [4 /*yield*/, this.deletePickfaceRaw({
|
|
214
|
+
project: project, pickfaceId: pickfaceId,
|
|
215
|
+
}, initOverrides)];
|
|
195
216
|
case 1:
|
|
196
217
|
_a.sent();
|
|
197
218
|
return [2 /*return*/];
|
|
@@ -205,9 +226,9 @@ var PickfacesApi = /** @class */ (function (_super) {
|
|
|
205
226
|
*/
|
|
206
227
|
PickfacesApi.prototype.getPickfaceRaw = function (requestParameters, initOverrides) {
|
|
207
228
|
return __awaiter(this, void 0, void 0, function () {
|
|
208
|
-
var queryParameters, headerParameters, response;
|
|
209
|
-
return __generator(this, function (
|
|
210
|
-
switch (
|
|
229
|
+
var queryParameters, headerParameters, _a, _b, response;
|
|
230
|
+
return __generator(this, function (_c) {
|
|
231
|
+
switch (_c.label) {
|
|
211
232
|
case 0:
|
|
212
233
|
if (requestParameters.project === null || requestParameters.project === undefined) {
|
|
213
234
|
throw new runtime.RequiredError('project', 'Required parameter requestParameters.project was null or undefined when calling getPickface.');
|
|
@@ -220,6 +241,16 @@ var PickfacesApi = /** @class */ (function (_super) {
|
|
|
220
241
|
queryParameters['project'] = requestParameters.project;
|
|
221
242
|
}
|
|
222
243
|
headerParameters = {};
|
|
244
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
245
|
+
// oauth required
|
|
246
|
+
_a = headerParameters;
|
|
247
|
+
_b = "Authorization";
|
|
248
|
+
return [4 /*yield*/, this.configuration.accessToken("session-oauth", [])];
|
|
249
|
+
case 1:
|
|
250
|
+
// oauth required
|
|
251
|
+
_a[_b] = _c.sent();
|
|
252
|
+
_c.label = 2;
|
|
253
|
+
case 2:
|
|
223
254
|
if (this.configuration && this.configuration.apiKey) {
|
|
224
255
|
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
|
|
225
256
|
}
|
|
@@ -229,8 +260,8 @@ var PickfacesApi = /** @class */ (function (_super) {
|
|
|
229
260
|
headers: headerParameters,
|
|
230
261
|
query: queryParameters,
|
|
231
262
|
}, initOverrides)];
|
|
232
|
-
case
|
|
233
|
-
response =
|
|
263
|
+
case 3:
|
|
264
|
+
response = _c.sent();
|
|
234
265
|
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.PickfaceFromJSON)(jsonValue); })];
|
|
235
266
|
}
|
|
236
267
|
});
|
|
@@ -246,8 +277,7 @@ var PickfacesApi = /** @class */ (function (_super) {
|
|
|
246
277
|
return __generator(this, function (_a) {
|
|
247
278
|
switch (_a.label) {
|
|
248
279
|
case 0: return [4 /*yield*/, this.getPickfaceRaw({
|
|
249
|
-
project: project,
|
|
250
|
-
pickfaceId: pickfaceId
|
|
280
|
+
project: project, pickfaceId: pickfaceId,
|
|
251
281
|
}, initOverrides)];
|
|
252
282
|
case 1:
|
|
253
283
|
response = _a.sent();
|
|
@@ -263,9 +293,9 @@ var PickfacesApi = /** @class */ (function (_super) {
|
|
|
263
293
|
*/
|
|
264
294
|
PickfacesApi.prototype.getPickfacesRaw = function (requestParameters, initOverrides) {
|
|
265
295
|
return __awaiter(this, void 0, void 0, function () {
|
|
266
|
-
var queryParameters, headerParameters, response;
|
|
267
|
-
return __generator(this, function (
|
|
268
|
-
switch (
|
|
296
|
+
var queryParameters, headerParameters, _a, _b, response;
|
|
297
|
+
return __generator(this, function (_c) {
|
|
298
|
+
switch (_c.label) {
|
|
269
299
|
case 0:
|
|
270
300
|
if (requestParameters.project === null || requestParameters.project === undefined) {
|
|
271
301
|
throw new runtime.RequiredError('project', 'Required parameter requestParameters.project was null or undefined when calling getPickfaces.');
|
|
@@ -284,6 +314,16 @@ var PickfacesApi = /** @class */ (function (_super) {
|
|
|
284
314
|
queryParameters['pageSize'] = requestParameters.pageSize;
|
|
285
315
|
}
|
|
286
316
|
headerParameters = {};
|
|
317
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
318
|
+
// oauth required
|
|
319
|
+
_a = headerParameters;
|
|
320
|
+
_b = "Authorization";
|
|
321
|
+
return [4 /*yield*/, this.configuration.accessToken("session-oauth", [])];
|
|
322
|
+
case 1:
|
|
323
|
+
// oauth required
|
|
324
|
+
_a[_b] = _c.sent();
|
|
325
|
+
_c.label = 2;
|
|
326
|
+
case 2:
|
|
287
327
|
if (this.configuration && this.configuration.apiKey) {
|
|
288
328
|
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
|
|
289
329
|
}
|
|
@@ -293,8 +333,8 @@ var PickfacesApi = /** @class */ (function (_super) {
|
|
|
293
333
|
headers: headerParameters,
|
|
294
334
|
query: queryParameters,
|
|
295
335
|
}, initOverrides)];
|
|
296
|
-
case
|
|
297
|
-
response =
|
|
336
|
+
case 3:
|
|
337
|
+
response = _c.sent();
|
|
298
338
|
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GetPickfaces200ResponseFromJSON)(jsonValue); })];
|
|
299
339
|
}
|
|
300
340
|
});
|
|
@@ -325,9 +365,9 @@ var PickfacesApi = /** @class */ (function (_super) {
|
|
|
325
365
|
*/
|
|
326
366
|
PickfacesApi.prototype.updatePickfaceRaw = function (requestParameters, initOverrides) {
|
|
327
367
|
return __awaiter(this, void 0, void 0, function () {
|
|
328
|
-
var queryParameters, headerParameters, response;
|
|
329
|
-
return __generator(this, function (
|
|
330
|
-
switch (
|
|
368
|
+
var queryParameters, headerParameters, _a, _b, response;
|
|
369
|
+
return __generator(this, function (_c) {
|
|
370
|
+
switch (_c.label) {
|
|
331
371
|
case 0:
|
|
332
372
|
if (requestParameters.project === null || requestParameters.project === undefined) {
|
|
333
373
|
throw new runtime.RequiredError('project', 'Required parameter requestParameters.project was null or undefined when calling updatePickface.');
|
|
@@ -344,6 +384,16 @@ var PickfacesApi = /** @class */ (function (_super) {
|
|
|
344
384
|
}
|
|
345
385
|
headerParameters = {};
|
|
346
386
|
headerParameters['Content-Type'] = 'application/json';
|
|
387
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
388
|
+
// oauth required
|
|
389
|
+
_a = headerParameters;
|
|
390
|
+
_b = "Authorization";
|
|
391
|
+
return [4 /*yield*/, this.configuration.accessToken("session-oauth", [])];
|
|
392
|
+
case 1:
|
|
393
|
+
// oauth required
|
|
394
|
+
_a[_b] = _c.sent();
|
|
395
|
+
_c.label = 2;
|
|
396
|
+
case 2:
|
|
347
397
|
if (this.configuration && this.configuration.apiKey) {
|
|
348
398
|
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
|
|
349
399
|
}
|
|
@@ -354,8 +404,8 @@ var PickfacesApi = /** @class */ (function (_super) {
|
|
|
354
404
|
query: queryParameters,
|
|
355
405
|
body: (0, index_1.UpdatePickfaceRequestToJSON)(requestParameters.updatePickfaceRequest),
|
|
356
406
|
}, initOverrides)];
|
|
357
|
-
case
|
|
358
|
-
response =
|
|
407
|
+
case 3:
|
|
408
|
+
response = _c.sent();
|
|
359
409
|
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.PickfaceFromJSON)(jsonValue); })];
|
|
360
410
|
}
|
|
361
411
|
});
|
|
@@ -371,9 +421,7 @@ var PickfacesApi = /** @class */ (function (_super) {
|
|
|
371
421
|
return __generator(this, function (_a) {
|
|
372
422
|
switch (_a.label) {
|
|
373
423
|
case 0: return [4 /*yield*/, this.updatePickfaceRaw({
|
|
374
|
-
project: project,
|
|
375
|
-
pickfaceId: pickfaceId,
|
|
376
|
-
updatePickfaceRequest: updatePickfaceRequest
|
|
424
|
+
project: project, pickfaceId: pickfaceId, updatePickfaceRequest: updatePickfaceRequest,
|
|
377
425
|
}, initOverrides)];
|
|
378
426
|
case 1:
|
|
379
427
|
response = _a.sent();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Pickfaces API
|
|
3
|
-
* Manage Teemill Pickfaces Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
3
|
+
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.4.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Pickfaces API
|
|
6
|
-
* Manage Teemill Pickfaces Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
|
+
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.4.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Pickfaces API
|
|
3
|
-
* Manage Teemill Pickfaces Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
3
|
+
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.4.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Pickfaces API
|
|
6
|
-
* Manage Teemill Pickfaces Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
|
+
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.4.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Pickfaces API
|
|
3
|
-
* Manage Teemill Pickfaces Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
3
|
+
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.4.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Pickfaces API
|
|
6
|
-
* Manage Teemill Pickfaces Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
|
+
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.4.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Pickfaces API
|
|
3
|
-
* Manage Teemill Pickfaces Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
3
|
+
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.4.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Pickfaces API
|
|
6
|
-
* Manage Teemill Pickfaces Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
|
+
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.4.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Pickfaces API
|
|
3
|
-
* Manage Teemill Pickfaces Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
3
|
+
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.4.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -47,6 +47,12 @@ export interface Pickface {
|
|
|
47
47
|
* @memberof Pickface
|
|
48
48
|
*/
|
|
49
49
|
dimensions?: CreatePickfaceRequestDimensions;
|
|
50
|
+
/**
|
|
51
|
+
* The percentage of the pickface that has been taken up by its contents
|
|
52
|
+
* @type {number}
|
|
53
|
+
* @memberof Pickface
|
|
54
|
+
*/
|
|
55
|
+
fullness?: number;
|
|
50
56
|
/**
|
|
51
57
|
*
|
|
52
58
|
* @type {Array<PickfaceContentsInner>}
|
package/dist/models/Pickface.js
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Pickfaces API
|
|
6
|
-
* Manage Teemill Pickfaces Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
|
+
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.4.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -39,6 +39,7 @@ function PickfaceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
39
|
'code': !(0, runtime_1.exists)(json, 'code') ? undefined : json['code'],
|
|
40
40
|
'enabled': !(0, runtime_1.exists)(json, 'enabled') ? undefined : json['enabled'],
|
|
41
41
|
'dimensions': !(0, runtime_1.exists)(json, 'dimensions') ? undefined : (0, CreatePickfaceRequestDimensions_1.CreatePickfaceRequestDimensionsFromJSON)(json['dimensions']),
|
|
42
|
+
'fullness': !(0, runtime_1.exists)(json, 'fullness') ? undefined : json['fullness'],
|
|
42
43
|
'contents': !(0, runtime_1.exists)(json, 'contents') ? undefined : (json['contents'].map(PickfaceContentsInner_1.PickfaceContentsInnerFromJSON)),
|
|
43
44
|
};
|
|
44
45
|
}
|
|
@@ -56,6 +57,7 @@ function PickfaceToJSON(value) {
|
|
|
56
57
|
'code': value.code,
|
|
57
58
|
'enabled': value.enabled,
|
|
58
59
|
'dimensions': (0, CreatePickfaceRequestDimensions_1.CreatePickfaceRequestDimensionsToJSON)(value.dimensions),
|
|
60
|
+
'fullness': value.fullness,
|
|
59
61
|
'contents': value.contents === undefined ? undefined : (value.contents.map(PickfaceContentsInner_1.PickfaceContentsInnerToJSON)),
|
|
60
62
|
};
|
|
61
63
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Pickfaces API
|
|
3
|
-
* Manage Teemill Pickfaces Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
3
|
+
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.4.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Pickfaces API
|
|
6
|
-
* Manage Teemill Pickfaces Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
|
+
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.4.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Pickfaces API
|
|
3
|
-
* Manage Teemill Pickfaces Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
3
|
+
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.4.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Pickfaces API
|
|
6
|
-
* Manage Teemill Pickfaces Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
|
+
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.4.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Pickfaces API
|
|
3
|
-
* Manage Teemill Pickfaces Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
3
|
+
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.4.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Pickfaces API
|
|
6
|
-
* Manage Teemill Pickfaces Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
|
+
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.4.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Pickfaces API
|
|
3
|
-
* Manage Teemill Pickfaces Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
3
|
+
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.4.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Pickfaces API
|
|
6
|
-
* Manage Teemill Pickfaces Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
|
+
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.4.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Pickfaces API
|
|
3
|
-
* Manage Teemill Pickfaces Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
3
|
+
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.4.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Pickfaces API
|
|
6
|
-
* Manage Teemill Pickfaces Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
|
+
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.4.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/runtime.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Pickfaces API
|
|
3
|
-
* Manage Teemill Pickfaces Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
3
|
+
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.4.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/runtime.js
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Pickfaces API
|
|
6
|
-
* Manage Teemill Pickfaces Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
|
+
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.4.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/package.json
CHANGED
package/src/apis/PickfacesApi.ts
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Pickfaces API
|
|
5
|
-
* Manage Teemill Pickfaces Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
5
|
+
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -87,6 +87,11 @@ export class PickfacesApi extends runtime.BaseAPI {
|
|
|
87
87
|
|
|
88
88
|
headerParameters['Content-Type'] = 'application/json';
|
|
89
89
|
|
|
90
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
91
|
+
// oauth required
|
|
92
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("session-oauth", []);
|
|
93
|
+
}
|
|
94
|
+
|
|
90
95
|
if (this.configuration && this.configuration.apiKey) {
|
|
91
96
|
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
|
|
92
97
|
}
|
|
@@ -112,8 +117,7 @@ export class PickfacesApi extends runtime.BaseAPI {
|
|
|
112
117
|
): Promise<Pickface> {
|
|
113
118
|
const response = await this.createPickfaceRaw(
|
|
114
119
|
{
|
|
115
|
-
project: project,
|
|
116
|
-
createPickfaceRequest: createPickfaceRequest
|
|
120
|
+
project: project,createPickfaceRequest: createPickfaceRequest,
|
|
117
121
|
},
|
|
118
122
|
initOverrides
|
|
119
123
|
);
|
|
@@ -142,6 +146,11 @@ export class PickfacesApi extends runtime.BaseAPI {
|
|
|
142
146
|
|
|
143
147
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
144
148
|
|
|
149
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
150
|
+
// oauth required
|
|
151
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("session-oauth", []);
|
|
152
|
+
}
|
|
153
|
+
|
|
145
154
|
if (this.configuration && this.configuration.apiKey) {
|
|
146
155
|
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
|
|
147
156
|
}
|
|
@@ -164,7 +173,12 @@ export class PickfacesApi extends runtime.BaseAPI {
|
|
|
164
173
|
project: string, pickfaceId: string,
|
|
165
174
|
initOverrides?: RequestInit | runtime.InitOverrideFunction
|
|
166
175
|
): Promise<void> {
|
|
167
|
-
await this.deletePickfaceRaw(
|
|
176
|
+
await this.deletePickfaceRaw(
|
|
177
|
+
{
|
|
178
|
+
project: project,pickfaceId: pickfaceId,
|
|
179
|
+
},
|
|
180
|
+
initOverrides
|
|
181
|
+
);
|
|
168
182
|
}
|
|
169
183
|
|
|
170
184
|
/**
|
|
@@ -188,6 +202,11 @@ export class PickfacesApi extends runtime.BaseAPI {
|
|
|
188
202
|
|
|
189
203
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
190
204
|
|
|
205
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
206
|
+
// oauth required
|
|
207
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("session-oauth", []);
|
|
208
|
+
}
|
|
209
|
+
|
|
191
210
|
if (this.configuration && this.configuration.apiKey) {
|
|
192
211
|
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
|
|
193
212
|
}
|
|
@@ -212,8 +231,7 @@ export class PickfacesApi extends runtime.BaseAPI {
|
|
|
212
231
|
): Promise<Pickface> {
|
|
213
232
|
const response = await this.getPickfaceRaw(
|
|
214
233
|
{
|
|
215
|
-
project: project,
|
|
216
|
-
pickfaceId: pickfaceId
|
|
234
|
+
project: project,pickfaceId: pickfaceId,
|
|
217
235
|
},
|
|
218
236
|
initOverrides
|
|
219
237
|
);
|
|
@@ -250,6 +268,11 @@ export class PickfacesApi extends runtime.BaseAPI {
|
|
|
250
268
|
|
|
251
269
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
252
270
|
|
|
271
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
272
|
+
// oauth required
|
|
273
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("session-oauth", []);
|
|
274
|
+
}
|
|
275
|
+
|
|
253
276
|
if (this.configuration && this.configuration.apiKey) {
|
|
254
277
|
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
|
|
255
278
|
}
|
|
@@ -311,6 +334,11 @@ export class PickfacesApi extends runtime.BaseAPI {
|
|
|
311
334
|
|
|
312
335
|
headerParameters['Content-Type'] = 'application/json';
|
|
313
336
|
|
|
337
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
338
|
+
// oauth required
|
|
339
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("session-oauth", []);
|
|
340
|
+
}
|
|
341
|
+
|
|
314
342
|
if (this.configuration && this.configuration.apiKey) {
|
|
315
343
|
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // api-key authentication
|
|
316
344
|
}
|
|
@@ -336,9 +364,7 @@ export class PickfacesApi extends runtime.BaseAPI {
|
|
|
336
364
|
): Promise<Pickface> {
|
|
337
365
|
const response = await this.updatePickfaceRaw(
|
|
338
366
|
{
|
|
339
|
-
project: project,
|
|
340
|
-
pickfaceId: pickfaceId,
|
|
341
|
-
updatePickfaceRequest: updatePickfaceRequest
|
|
367
|
+
project: project,pickfaceId: pickfaceId,updatePickfaceRequest: updatePickfaceRequest,
|
|
342
368
|
},
|
|
343
369
|
initOverrides
|
|
344
370
|
);
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Pickfaces API
|
|
5
|
-
* Manage Teemill Pickfaces Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
5
|
+
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Pickfaces API
|
|
5
|
-
* Manage Teemill Pickfaces Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
5
|
+
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Pickfaces API
|
|
5
|
-
* Manage Teemill Pickfaces Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
5
|
+
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/src/models/ModelError.ts
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Pickfaces API
|
|
5
|
-
* Manage Teemill Pickfaces Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
5
|
+
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/src/models/Pickface.ts
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Pickfaces API
|
|
5
|
-
* Manage Teemill Pickfaces Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
5
|
+
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -62,6 +62,12 @@ export interface Pickface {
|
|
|
62
62
|
* @memberof Pickface
|
|
63
63
|
*/
|
|
64
64
|
dimensions?: CreatePickfaceRequestDimensions;
|
|
65
|
+
/**
|
|
66
|
+
* The percentage of the pickface that has been taken up by its contents
|
|
67
|
+
* @type {number}
|
|
68
|
+
* @memberof Pickface
|
|
69
|
+
*/
|
|
70
|
+
fullness?: number;
|
|
65
71
|
/**
|
|
66
72
|
*
|
|
67
73
|
* @type {Array<PickfaceContentsInner>}
|
|
@@ -94,6 +100,7 @@ export function PickfaceFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
|
|
94
100
|
'code': !exists(json, 'code') ? undefined : json['code'],
|
|
95
101
|
'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
|
|
96
102
|
'dimensions': !exists(json, 'dimensions') ? undefined : CreatePickfaceRequestDimensionsFromJSON(json['dimensions']),
|
|
103
|
+
'fullness': !exists(json, 'fullness') ? undefined : json['fullness'],
|
|
97
104
|
'contents': !exists(json, 'contents') ? undefined : ((json['contents'] as Array<any>).map(PickfaceContentsInnerFromJSON)),
|
|
98
105
|
};
|
|
99
106
|
}
|
|
@@ -112,6 +119,7 @@ export function PickfaceToJSON(value?: Pickface | null): any {
|
|
|
112
119
|
'code': value.code,
|
|
113
120
|
'enabled': value.enabled,
|
|
114
121
|
'dimensions': CreatePickfaceRequestDimensionsToJSON(value.dimensions),
|
|
122
|
+
'fullness': value.fullness,
|
|
115
123
|
'contents': value.contents === undefined ? undefined : ((value.contents as Array<any>).map(PickfaceContentsInnerToJSON)),
|
|
116
124
|
};
|
|
117
125
|
}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Pickfaces API
|
|
5
|
-
* Manage Teemill Pickfaces Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
5
|
+
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Pickfaces API
|
|
5
|
-
* Manage Teemill Pickfaces Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
5
|
+
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Pickfaces API
|
|
5
|
-
* Manage Teemill Pickfaces Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
5
|
+
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Pickfaces API
|
|
5
|
-
* Manage Teemill Pickfaces Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
5
|
+
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Pickfaces API
|
|
5
|
-
* Manage Teemill Pickfaces Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
5
|
+
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/src/runtime.ts
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Pickfaces API
|
|
5
|
-
* Manage Teemill Pickfaces Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
5
|
+
* Manage Teemill Pickfaces. Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.4.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|