@teemill/platform 0.1.1 → 0.3.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/FILES +0 -1
- package/.openapi-generator/VERSION +1 -1
- package/README.md +2 -2
- package/api.ts +87 -23
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +76 -15
- package/dist/api.js +24 -26
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +76 -15
- package/dist/esm/api.js +24 -26
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +3 -3
package/.openapi-generator/FILES
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.6.0
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/platform@0.
|
|
1
|
+
## @teemill/platform@0.3.0
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @teemill/platform@0.
|
|
39
|
+
npm install @teemill/platform@0.3.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Platform API
|
|
5
5
|
* Manage Your podOS platform 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.3.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -48,6 +48,24 @@ export interface ApiError {
|
|
|
48
48
|
* @interface Platform
|
|
49
49
|
*/
|
|
50
50
|
export interface Platform {
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof Platform
|
|
55
|
+
*/
|
|
56
|
+
'id': string;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {string}
|
|
60
|
+
* @memberof Platform
|
|
61
|
+
*/
|
|
62
|
+
'name': string;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {Array<string>}
|
|
66
|
+
* @memberof Platform
|
|
67
|
+
*/
|
|
68
|
+
'domains': Array<string>;
|
|
51
69
|
/**
|
|
52
70
|
*
|
|
53
71
|
* @type {Array<PlatformLogo>}
|
|
@@ -74,6 +92,19 @@ export interface PlatformLogo {
|
|
|
74
92
|
*/
|
|
75
93
|
'meta': { [key: string]: string; };
|
|
76
94
|
}
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @export
|
|
98
|
+
* @interface UpdatePlatformRequest
|
|
99
|
+
*/
|
|
100
|
+
export interface UpdatePlatformRequest {
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {Array<PlatformLogo>}
|
|
104
|
+
* @memberof UpdatePlatformRequest
|
|
105
|
+
*/
|
|
106
|
+
'logos'?: Array<PlatformLogo>;
|
|
107
|
+
}
|
|
77
108
|
/**
|
|
78
109
|
*
|
|
79
110
|
* @export
|
|
@@ -148,15 +179,15 @@ export const PlatformApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
148
179
|
*
|
|
149
180
|
* @summary Update platform
|
|
150
181
|
* @param {string} project Project unique identifier
|
|
151
|
-
* @param {
|
|
182
|
+
* @param {UpdatePlatformRequest} updatePlatformRequest
|
|
152
183
|
* @param {*} [options] Override http request option.
|
|
153
184
|
* @throws {RequiredError}
|
|
154
185
|
*/
|
|
155
|
-
updatePlatform: async (project: string,
|
|
186
|
+
updatePlatform: async (project: string, updatePlatformRequest: UpdatePlatformRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
156
187
|
// verify required parameter 'project' is not null or undefined
|
|
157
188
|
assertParamExists('updatePlatform', 'project', project)
|
|
158
|
-
// verify required parameter '
|
|
159
|
-
assertParamExists('updatePlatform', '
|
|
189
|
+
// verify required parameter 'updatePlatformRequest' is not null or undefined
|
|
190
|
+
assertParamExists('updatePlatform', 'updatePlatformRequest', updatePlatformRequest)
|
|
160
191
|
const localVarPath = `/v1/platform`;
|
|
161
192
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
162
193
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -187,7 +218,7 @@ export const PlatformApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
187
218
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
188
219
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
189
220
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
190
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
221
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updatePlatformRequest, localVarRequestOptions, configuration)
|
|
191
222
|
|
|
192
223
|
return {
|
|
193
224
|
url: toPathString(localVarUrlObj),
|
|
@@ -221,12 +252,12 @@ export const PlatformApiFp = function(configuration?: Configuration) {
|
|
|
221
252
|
*
|
|
222
253
|
* @summary Update platform
|
|
223
254
|
* @param {string} project Project unique identifier
|
|
224
|
-
* @param {
|
|
255
|
+
* @param {UpdatePlatformRequest} updatePlatformRequest
|
|
225
256
|
* @param {*} [options] Override http request option.
|
|
226
257
|
* @throws {RequiredError}
|
|
227
258
|
*/
|
|
228
|
-
async updatePlatform(project: string,
|
|
229
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updatePlatform(project,
|
|
259
|
+
async updatePlatform(project: string, updatePlatformRequest: UpdatePlatformRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Platform>> {
|
|
260
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatePlatform(project, updatePlatformRequest, options);
|
|
230
261
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
231
262
|
const localVarOperationServerBasePath = operationServerMap['PlatformApi.updatePlatform']?.[localVarOperationServerIndex]?.url;
|
|
232
263
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -244,27 +275,61 @@ export const PlatformApiFactory = function (configuration?: Configuration, baseP
|
|
|
244
275
|
/**
|
|
245
276
|
*
|
|
246
277
|
* @summary Get platform details
|
|
247
|
-
* @param {
|
|
278
|
+
* @param {PlatformApiGetPlatformRequest} requestParameters Request parameters.
|
|
248
279
|
* @param {*} [options] Override http request option.
|
|
249
280
|
* @throws {RequiredError}
|
|
250
281
|
*/
|
|
251
|
-
getPlatform(
|
|
252
|
-
return localVarFp.getPlatform(project, options).then((request) => request(axios, basePath));
|
|
282
|
+
getPlatform(requestParameters: PlatformApiGetPlatformRequest, options?: RawAxiosRequestConfig): AxiosPromise<Platform> {
|
|
283
|
+
return localVarFp.getPlatform(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
253
284
|
},
|
|
254
285
|
/**
|
|
255
286
|
*
|
|
256
287
|
* @summary Update platform
|
|
257
|
-
* @param {
|
|
258
|
-
* @param {Platform} platform
|
|
288
|
+
* @param {PlatformApiUpdatePlatformRequest} requestParameters Request parameters.
|
|
259
289
|
* @param {*} [options] Override http request option.
|
|
260
290
|
* @throws {RequiredError}
|
|
261
291
|
*/
|
|
262
|
-
updatePlatform(
|
|
263
|
-
return localVarFp.updatePlatform(project,
|
|
292
|
+
updatePlatform(requestParameters: PlatformApiUpdatePlatformRequest, options?: RawAxiosRequestConfig): AxiosPromise<Platform> {
|
|
293
|
+
return localVarFp.updatePlatform(requestParameters.project, requestParameters.updatePlatformRequest, options).then((request) => request(axios, basePath));
|
|
264
294
|
},
|
|
265
295
|
};
|
|
266
296
|
};
|
|
267
297
|
|
|
298
|
+
/**
|
|
299
|
+
* Request parameters for getPlatform operation in PlatformApi.
|
|
300
|
+
* @export
|
|
301
|
+
* @interface PlatformApiGetPlatformRequest
|
|
302
|
+
*/
|
|
303
|
+
export interface PlatformApiGetPlatformRequest {
|
|
304
|
+
/**
|
|
305
|
+
* Project unique identifier
|
|
306
|
+
* @type {string}
|
|
307
|
+
* @memberof PlatformApiGetPlatform
|
|
308
|
+
*/
|
|
309
|
+
readonly project: string
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* Request parameters for updatePlatform operation in PlatformApi.
|
|
314
|
+
* @export
|
|
315
|
+
* @interface PlatformApiUpdatePlatformRequest
|
|
316
|
+
*/
|
|
317
|
+
export interface PlatformApiUpdatePlatformRequest {
|
|
318
|
+
/**
|
|
319
|
+
* Project unique identifier
|
|
320
|
+
* @type {string}
|
|
321
|
+
* @memberof PlatformApiUpdatePlatform
|
|
322
|
+
*/
|
|
323
|
+
readonly project: string
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
*
|
|
327
|
+
* @type {UpdatePlatformRequest}
|
|
328
|
+
* @memberof PlatformApiUpdatePlatform
|
|
329
|
+
*/
|
|
330
|
+
readonly updatePlatformRequest: UpdatePlatformRequest
|
|
331
|
+
}
|
|
332
|
+
|
|
268
333
|
/**
|
|
269
334
|
* PlatformApi - object-oriented interface
|
|
270
335
|
* @export
|
|
@@ -275,26 +340,25 @@ export class PlatformApi extends BaseAPI {
|
|
|
275
340
|
/**
|
|
276
341
|
*
|
|
277
342
|
* @summary Get platform details
|
|
278
|
-
* @param {
|
|
343
|
+
* @param {PlatformApiGetPlatformRequest} requestParameters Request parameters.
|
|
279
344
|
* @param {*} [options] Override http request option.
|
|
280
345
|
* @throws {RequiredError}
|
|
281
346
|
* @memberof PlatformApi
|
|
282
347
|
*/
|
|
283
|
-
public getPlatform(
|
|
284
|
-
return PlatformApiFp(this.configuration).getPlatform(project, options).then((request) => request(this.axios, this.basePath));
|
|
348
|
+
public getPlatform(requestParameters: PlatformApiGetPlatformRequest, options?: RawAxiosRequestConfig) {
|
|
349
|
+
return PlatformApiFp(this.configuration).getPlatform(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
285
350
|
}
|
|
286
351
|
|
|
287
352
|
/**
|
|
288
353
|
*
|
|
289
354
|
* @summary Update platform
|
|
290
|
-
* @param {
|
|
291
|
-
* @param {Platform} platform
|
|
355
|
+
* @param {PlatformApiUpdatePlatformRequest} requestParameters Request parameters.
|
|
292
356
|
* @param {*} [options] Override http request option.
|
|
293
357
|
* @throws {RequiredError}
|
|
294
358
|
* @memberof PlatformApi
|
|
295
359
|
*/
|
|
296
|
-
public updatePlatform(
|
|
297
|
-
return PlatformApiFp(this.configuration).updatePlatform(project,
|
|
360
|
+
public updatePlatform(requestParameters: PlatformApiUpdatePlatformRequest, options?: RawAxiosRequestConfig) {
|
|
361
|
+
return PlatformApiFp(this.configuration).updatePlatform(requestParameters.project, requestParameters.updatePlatformRequest, options).then((request) => request(this.axios, this.basePath));
|
|
298
362
|
}
|
|
299
363
|
}
|
|
300
364
|
|
package/base.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Platform API
|
|
5
5
|
* Manage Your podOS platform 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.3.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/common.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Platform API
|
|
5
5
|
* Manage Your podOS platform 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.3.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/configuration.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Platform API
|
|
5
5
|
* Manage Your podOS platform 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.3.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/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Platform API
|
|
3
3
|
* Manage Your podOS platform 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.3.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -38,6 +38,24 @@ export interface ApiError {
|
|
|
38
38
|
* @interface Platform
|
|
39
39
|
*/
|
|
40
40
|
export interface Platform {
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof Platform
|
|
45
|
+
*/
|
|
46
|
+
'id': string;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof Platform
|
|
51
|
+
*/
|
|
52
|
+
'name': string;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {Array<string>}
|
|
56
|
+
* @memberof Platform
|
|
57
|
+
*/
|
|
58
|
+
'domains': Array<string>;
|
|
41
59
|
/**
|
|
42
60
|
*
|
|
43
61
|
* @type {Array<PlatformLogo>}
|
|
@@ -66,6 +84,19 @@ export interface PlatformLogo {
|
|
|
66
84
|
[key: string]: string;
|
|
67
85
|
};
|
|
68
86
|
}
|
|
87
|
+
/**
|
|
88
|
+
*
|
|
89
|
+
* @export
|
|
90
|
+
* @interface UpdatePlatformRequest
|
|
91
|
+
*/
|
|
92
|
+
export interface UpdatePlatformRequest {
|
|
93
|
+
/**
|
|
94
|
+
*
|
|
95
|
+
* @type {Array<PlatformLogo>}
|
|
96
|
+
* @memberof UpdatePlatformRequest
|
|
97
|
+
*/
|
|
98
|
+
'logos'?: Array<PlatformLogo>;
|
|
99
|
+
}
|
|
69
100
|
/**
|
|
70
101
|
*
|
|
71
102
|
* @export
|
|
@@ -104,11 +135,11 @@ export declare const PlatformApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
104
135
|
*
|
|
105
136
|
* @summary Update platform
|
|
106
137
|
* @param {string} project Project unique identifier
|
|
107
|
-
* @param {
|
|
138
|
+
* @param {UpdatePlatformRequest} updatePlatformRequest
|
|
108
139
|
* @param {*} [options] Override http request option.
|
|
109
140
|
* @throws {RequiredError}
|
|
110
141
|
*/
|
|
111
|
-
updatePlatform: (project: string,
|
|
142
|
+
updatePlatform: (project: string, updatePlatformRequest: UpdatePlatformRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
112
143
|
};
|
|
113
144
|
/**
|
|
114
145
|
* PlatformApi - functional programming interface
|
|
@@ -127,11 +158,11 @@ export declare const PlatformApiFp: (configuration?: Configuration) => {
|
|
|
127
158
|
*
|
|
128
159
|
* @summary Update platform
|
|
129
160
|
* @param {string} project Project unique identifier
|
|
130
|
-
* @param {
|
|
161
|
+
* @param {UpdatePlatformRequest} updatePlatformRequest
|
|
131
162
|
* @param {*} [options] Override http request option.
|
|
132
163
|
* @throws {RequiredError}
|
|
133
164
|
*/
|
|
134
|
-
updatePlatform(project: string,
|
|
165
|
+
updatePlatform(project: string, updatePlatformRequest: UpdatePlatformRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Platform>>;
|
|
135
166
|
};
|
|
136
167
|
/**
|
|
137
168
|
* PlatformApi - factory interface
|
|
@@ -141,21 +172,52 @@ export declare const PlatformApiFactory: (configuration?: Configuration, basePat
|
|
|
141
172
|
/**
|
|
142
173
|
*
|
|
143
174
|
* @summary Get platform details
|
|
144
|
-
* @param {
|
|
175
|
+
* @param {PlatformApiGetPlatformRequest} requestParameters Request parameters.
|
|
145
176
|
* @param {*} [options] Override http request option.
|
|
146
177
|
* @throws {RequiredError}
|
|
147
178
|
*/
|
|
148
|
-
getPlatform(
|
|
179
|
+
getPlatform(requestParameters: PlatformApiGetPlatformRequest, options?: RawAxiosRequestConfig): AxiosPromise<Platform>;
|
|
149
180
|
/**
|
|
150
181
|
*
|
|
151
182
|
* @summary Update platform
|
|
152
|
-
* @param {
|
|
153
|
-
* @param {Platform} platform
|
|
183
|
+
* @param {PlatformApiUpdatePlatformRequest} requestParameters Request parameters.
|
|
154
184
|
* @param {*} [options] Override http request option.
|
|
155
185
|
* @throws {RequiredError}
|
|
156
186
|
*/
|
|
157
|
-
updatePlatform(
|
|
187
|
+
updatePlatform(requestParameters: PlatformApiUpdatePlatformRequest, options?: RawAxiosRequestConfig): AxiosPromise<Platform>;
|
|
158
188
|
};
|
|
189
|
+
/**
|
|
190
|
+
* Request parameters for getPlatform operation in PlatformApi.
|
|
191
|
+
* @export
|
|
192
|
+
* @interface PlatformApiGetPlatformRequest
|
|
193
|
+
*/
|
|
194
|
+
export interface PlatformApiGetPlatformRequest {
|
|
195
|
+
/**
|
|
196
|
+
* Project unique identifier
|
|
197
|
+
* @type {string}
|
|
198
|
+
* @memberof PlatformApiGetPlatform
|
|
199
|
+
*/
|
|
200
|
+
readonly project: string;
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* Request parameters for updatePlatform operation in PlatformApi.
|
|
204
|
+
* @export
|
|
205
|
+
* @interface PlatformApiUpdatePlatformRequest
|
|
206
|
+
*/
|
|
207
|
+
export interface PlatformApiUpdatePlatformRequest {
|
|
208
|
+
/**
|
|
209
|
+
* Project unique identifier
|
|
210
|
+
* @type {string}
|
|
211
|
+
* @memberof PlatformApiUpdatePlatform
|
|
212
|
+
*/
|
|
213
|
+
readonly project: string;
|
|
214
|
+
/**
|
|
215
|
+
*
|
|
216
|
+
* @type {UpdatePlatformRequest}
|
|
217
|
+
* @memberof PlatformApiUpdatePlatform
|
|
218
|
+
*/
|
|
219
|
+
readonly updatePlatformRequest: UpdatePlatformRequest;
|
|
220
|
+
}
|
|
159
221
|
/**
|
|
160
222
|
* PlatformApi - object-oriented interface
|
|
161
223
|
* @export
|
|
@@ -166,20 +228,19 @@ export declare class PlatformApi extends BaseAPI {
|
|
|
166
228
|
/**
|
|
167
229
|
*
|
|
168
230
|
* @summary Get platform details
|
|
169
|
-
* @param {
|
|
231
|
+
* @param {PlatformApiGetPlatformRequest} requestParameters Request parameters.
|
|
170
232
|
* @param {*} [options] Override http request option.
|
|
171
233
|
* @throws {RequiredError}
|
|
172
234
|
* @memberof PlatformApi
|
|
173
235
|
*/
|
|
174
|
-
getPlatform(
|
|
236
|
+
getPlatform(requestParameters: PlatformApiGetPlatformRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Platform, any>>;
|
|
175
237
|
/**
|
|
176
238
|
*
|
|
177
239
|
* @summary Update platform
|
|
178
|
-
* @param {
|
|
179
|
-
* @param {Platform} platform
|
|
240
|
+
* @param {PlatformApiUpdatePlatformRequest} requestParameters Request parameters.
|
|
180
241
|
* @param {*} [options] Override http request option.
|
|
181
242
|
* @throws {RequiredError}
|
|
182
243
|
* @memberof PlatformApi
|
|
183
244
|
*/
|
|
184
|
-
updatePlatform(
|
|
245
|
+
updatePlatform(requestParameters: PlatformApiUpdatePlatformRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Platform, any>>;
|
|
185
246
|
}
|
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Platform API
|
|
6
6
|
* Manage Your podOS platform 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.3.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -42,7 +42,7 @@ const PlatformApiAxiosParamCreator = function (configuration) {
|
|
|
42
42
|
* @param {*} [options] Override http request option.
|
|
43
43
|
* @throws {RequiredError}
|
|
44
44
|
*/
|
|
45
|
-
getPlatform: (
|
|
45
|
+
getPlatform: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
|
|
46
46
|
// verify required parameter 'project' is not null or undefined
|
|
47
47
|
(0, common_1.assertParamExists)('getPlatform', 'project', project);
|
|
48
48
|
const localVarPath = `/v1/platform`;
|
|
@@ -75,15 +75,15 @@ const PlatformApiAxiosParamCreator = function (configuration) {
|
|
|
75
75
|
*
|
|
76
76
|
* @summary Update platform
|
|
77
77
|
* @param {string} project Project unique identifier
|
|
78
|
-
* @param {
|
|
78
|
+
* @param {UpdatePlatformRequest} updatePlatformRequest
|
|
79
79
|
* @param {*} [options] Override http request option.
|
|
80
80
|
* @throws {RequiredError}
|
|
81
81
|
*/
|
|
82
|
-
updatePlatform: (
|
|
82
|
+
updatePlatform: (project_1, updatePlatformRequest_1, ...args_1) => __awaiter(this, [project_1, updatePlatformRequest_1, ...args_1], void 0, function* (project, updatePlatformRequest, options = {}) {
|
|
83
83
|
// verify required parameter 'project' is not null or undefined
|
|
84
84
|
(0, common_1.assertParamExists)('updatePlatform', 'project', project);
|
|
85
|
-
// verify required parameter '
|
|
86
|
-
(0, common_1.assertParamExists)('updatePlatform', '
|
|
85
|
+
// verify required parameter 'updatePlatformRequest' is not null or undefined
|
|
86
|
+
(0, common_1.assertParamExists)('updatePlatform', 'updatePlatformRequest', updatePlatformRequest);
|
|
87
87
|
const localVarPath = `/v1/platform`;
|
|
88
88
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
89
89
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -106,7 +106,7 @@ const PlatformApiAxiosParamCreator = function (configuration) {
|
|
|
106
106
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
107
107
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
108
108
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
109
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
109
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updatePlatformRequest, localVarRequestOptions, configuration);
|
|
110
110
|
return {
|
|
111
111
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
112
112
|
options: localVarRequestOptions,
|
|
@@ -130,8 +130,8 @@ const PlatformApiFp = function (configuration) {
|
|
|
130
130
|
* @throws {RequiredError}
|
|
131
131
|
*/
|
|
132
132
|
getPlatform(project, options) {
|
|
133
|
-
var _a, _b, _c;
|
|
134
133
|
return __awaiter(this, void 0, void 0, function* () {
|
|
134
|
+
var _a, _b, _c;
|
|
135
135
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPlatform(project, options);
|
|
136
136
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
137
137
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PlatformApi.getPlatform']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -142,14 +142,14 @@ const PlatformApiFp = function (configuration) {
|
|
|
142
142
|
*
|
|
143
143
|
* @summary Update platform
|
|
144
144
|
* @param {string} project Project unique identifier
|
|
145
|
-
* @param {
|
|
145
|
+
* @param {UpdatePlatformRequest} updatePlatformRequest
|
|
146
146
|
* @param {*} [options] Override http request option.
|
|
147
147
|
* @throws {RequiredError}
|
|
148
148
|
*/
|
|
149
|
-
updatePlatform(project,
|
|
150
|
-
var _a, _b, _c;
|
|
149
|
+
updatePlatform(project, updatePlatformRequest, options) {
|
|
151
150
|
return __awaiter(this, void 0, void 0, function* () {
|
|
152
|
-
|
|
151
|
+
var _a, _b, _c;
|
|
152
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updatePlatform(project, updatePlatformRequest, options);
|
|
153
153
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
154
154
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PlatformApi.updatePlatform']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
155
155
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -168,23 +168,22 @@ const PlatformApiFactory = function (configuration, basePath, axios) {
|
|
|
168
168
|
/**
|
|
169
169
|
*
|
|
170
170
|
* @summary Get platform details
|
|
171
|
-
* @param {
|
|
171
|
+
* @param {PlatformApiGetPlatformRequest} requestParameters Request parameters.
|
|
172
172
|
* @param {*} [options] Override http request option.
|
|
173
173
|
* @throws {RequiredError}
|
|
174
174
|
*/
|
|
175
|
-
getPlatform(
|
|
176
|
-
return localVarFp.getPlatform(project, options).then((request) => request(axios, basePath));
|
|
175
|
+
getPlatform(requestParameters, options) {
|
|
176
|
+
return localVarFp.getPlatform(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
177
177
|
},
|
|
178
178
|
/**
|
|
179
179
|
*
|
|
180
180
|
* @summary Update platform
|
|
181
|
-
* @param {
|
|
182
|
-
* @param {Platform} platform
|
|
181
|
+
* @param {PlatformApiUpdatePlatformRequest} requestParameters Request parameters.
|
|
183
182
|
* @param {*} [options] Override http request option.
|
|
184
183
|
* @throws {RequiredError}
|
|
185
184
|
*/
|
|
186
|
-
updatePlatform(
|
|
187
|
-
return localVarFp.updatePlatform(project,
|
|
185
|
+
updatePlatform(requestParameters, options) {
|
|
186
|
+
return localVarFp.updatePlatform(requestParameters.project, requestParameters.updatePlatformRequest, options).then((request) => request(axios, basePath));
|
|
188
187
|
},
|
|
189
188
|
};
|
|
190
189
|
};
|
|
@@ -199,25 +198,24 @@ class PlatformApi extends base_1.BaseAPI {
|
|
|
199
198
|
/**
|
|
200
199
|
*
|
|
201
200
|
* @summary Get platform details
|
|
202
|
-
* @param {
|
|
201
|
+
* @param {PlatformApiGetPlatformRequest} requestParameters Request parameters.
|
|
203
202
|
* @param {*} [options] Override http request option.
|
|
204
203
|
* @throws {RequiredError}
|
|
205
204
|
* @memberof PlatformApi
|
|
206
205
|
*/
|
|
207
|
-
getPlatform(
|
|
208
|
-
return (0, exports.PlatformApiFp)(this.configuration).getPlatform(project, options).then((request) => request(this.axios, this.basePath));
|
|
206
|
+
getPlatform(requestParameters, options) {
|
|
207
|
+
return (0, exports.PlatformApiFp)(this.configuration).getPlatform(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
209
208
|
}
|
|
210
209
|
/**
|
|
211
210
|
*
|
|
212
211
|
* @summary Update platform
|
|
213
|
-
* @param {
|
|
214
|
-
* @param {Platform} platform
|
|
212
|
+
* @param {PlatformApiUpdatePlatformRequest} requestParameters Request parameters.
|
|
215
213
|
* @param {*} [options] Override http request option.
|
|
216
214
|
* @throws {RequiredError}
|
|
217
215
|
* @memberof PlatformApi
|
|
218
216
|
*/
|
|
219
|
-
updatePlatform(
|
|
220
|
-
return (0, exports.PlatformApiFp)(this.configuration).updatePlatform(project,
|
|
217
|
+
updatePlatform(requestParameters, options) {
|
|
218
|
+
return (0, exports.PlatformApiFp)(this.configuration).updatePlatform(requestParameters.project, requestParameters.updatePlatformRequest, options).then((request) => request(this.axios, this.basePath));
|
|
221
219
|
}
|
|
222
220
|
}
|
|
223
221
|
exports.PlatformApi = PlatformApi;
|
package/dist/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Platform API
|
|
3
3
|
* Manage Your podOS platform 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.3.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/base.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Platform API
|
|
6
6
|
* Manage Your podOS platform 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.3.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/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Platform API
|
|
3
3
|
* Manage Your podOS platform 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.3.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/common.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Platform API
|
|
6
6
|
* Manage Your podOS platform 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.3.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/configuration.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Platform API
|
|
3
3
|
* Manage Your podOS platform 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.3.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/configuration.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Platform API
|
|
6
6
|
* Manage Your podOS platform 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.3.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/esm/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Platform API
|
|
3
3
|
* Manage Your podOS platform 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.3.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -38,6 +38,24 @@ export interface ApiError {
|
|
|
38
38
|
* @interface Platform
|
|
39
39
|
*/
|
|
40
40
|
export interface Platform {
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof Platform
|
|
45
|
+
*/
|
|
46
|
+
'id': string;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof Platform
|
|
51
|
+
*/
|
|
52
|
+
'name': string;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {Array<string>}
|
|
56
|
+
* @memberof Platform
|
|
57
|
+
*/
|
|
58
|
+
'domains': Array<string>;
|
|
41
59
|
/**
|
|
42
60
|
*
|
|
43
61
|
* @type {Array<PlatformLogo>}
|
|
@@ -66,6 +84,19 @@ export interface PlatformLogo {
|
|
|
66
84
|
[key: string]: string;
|
|
67
85
|
};
|
|
68
86
|
}
|
|
87
|
+
/**
|
|
88
|
+
*
|
|
89
|
+
* @export
|
|
90
|
+
* @interface UpdatePlatformRequest
|
|
91
|
+
*/
|
|
92
|
+
export interface UpdatePlatformRequest {
|
|
93
|
+
/**
|
|
94
|
+
*
|
|
95
|
+
* @type {Array<PlatformLogo>}
|
|
96
|
+
* @memberof UpdatePlatformRequest
|
|
97
|
+
*/
|
|
98
|
+
'logos'?: Array<PlatformLogo>;
|
|
99
|
+
}
|
|
69
100
|
/**
|
|
70
101
|
*
|
|
71
102
|
* @export
|
|
@@ -104,11 +135,11 @@ export declare const PlatformApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
104
135
|
*
|
|
105
136
|
* @summary Update platform
|
|
106
137
|
* @param {string} project Project unique identifier
|
|
107
|
-
* @param {
|
|
138
|
+
* @param {UpdatePlatformRequest} updatePlatformRequest
|
|
108
139
|
* @param {*} [options] Override http request option.
|
|
109
140
|
* @throws {RequiredError}
|
|
110
141
|
*/
|
|
111
|
-
updatePlatform: (project: string,
|
|
142
|
+
updatePlatform: (project: string, updatePlatformRequest: UpdatePlatformRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
112
143
|
};
|
|
113
144
|
/**
|
|
114
145
|
* PlatformApi - functional programming interface
|
|
@@ -127,11 +158,11 @@ export declare const PlatformApiFp: (configuration?: Configuration) => {
|
|
|
127
158
|
*
|
|
128
159
|
* @summary Update platform
|
|
129
160
|
* @param {string} project Project unique identifier
|
|
130
|
-
* @param {
|
|
161
|
+
* @param {UpdatePlatformRequest} updatePlatformRequest
|
|
131
162
|
* @param {*} [options] Override http request option.
|
|
132
163
|
* @throws {RequiredError}
|
|
133
164
|
*/
|
|
134
|
-
updatePlatform(project: string,
|
|
165
|
+
updatePlatform(project: string, updatePlatformRequest: UpdatePlatformRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Platform>>;
|
|
135
166
|
};
|
|
136
167
|
/**
|
|
137
168
|
* PlatformApi - factory interface
|
|
@@ -141,21 +172,52 @@ export declare const PlatformApiFactory: (configuration?: Configuration, basePat
|
|
|
141
172
|
/**
|
|
142
173
|
*
|
|
143
174
|
* @summary Get platform details
|
|
144
|
-
* @param {
|
|
175
|
+
* @param {PlatformApiGetPlatformRequest} requestParameters Request parameters.
|
|
145
176
|
* @param {*} [options] Override http request option.
|
|
146
177
|
* @throws {RequiredError}
|
|
147
178
|
*/
|
|
148
|
-
getPlatform(
|
|
179
|
+
getPlatform(requestParameters: PlatformApiGetPlatformRequest, options?: RawAxiosRequestConfig): AxiosPromise<Platform>;
|
|
149
180
|
/**
|
|
150
181
|
*
|
|
151
182
|
* @summary Update platform
|
|
152
|
-
* @param {
|
|
153
|
-
* @param {Platform} platform
|
|
183
|
+
* @param {PlatformApiUpdatePlatformRequest} requestParameters Request parameters.
|
|
154
184
|
* @param {*} [options] Override http request option.
|
|
155
185
|
* @throws {RequiredError}
|
|
156
186
|
*/
|
|
157
|
-
updatePlatform(
|
|
187
|
+
updatePlatform(requestParameters: PlatformApiUpdatePlatformRequest, options?: RawAxiosRequestConfig): AxiosPromise<Platform>;
|
|
158
188
|
};
|
|
189
|
+
/**
|
|
190
|
+
* Request parameters for getPlatform operation in PlatformApi.
|
|
191
|
+
* @export
|
|
192
|
+
* @interface PlatformApiGetPlatformRequest
|
|
193
|
+
*/
|
|
194
|
+
export interface PlatformApiGetPlatformRequest {
|
|
195
|
+
/**
|
|
196
|
+
* Project unique identifier
|
|
197
|
+
* @type {string}
|
|
198
|
+
* @memberof PlatformApiGetPlatform
|
|
199
|
+
*/
|
|
200
|
+
readonly project: string;
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* Request parameters for updatePlatform operation in PlatformApi.
|
|
204
|
+
* @export
|
|
205
|
+
* @interface PlatformApiUpdatePlatformRequest
|
|
206
|
+
*/
|
|
207
|
+
export interface PlatformApiUpdatePlatformRequest {
|
|
208
|
+
/**
|
|
209
|
+
* Project unique identifier
|
|
210
|
+
* @type {string}
|
|
211
|
+
* @memberof PlatformApiUpdatePlatform
|
|
212
|
+
*/
|
|
213
|
+
readonly project: string;
|
|
214
|
+
/**
|
|
215
|
+
*
|
|
216
|
+
* @type {UpdatePlatformRequest}
|
|
217
|
+
* @memberof PlatformApiUpdatePlatform
|
|
218
|
+
*/
|
|
219
|
+
readonly updatePlatformRequest: UpdatePlatformRequest;
|
|
220
|
+
}
|
|
159
221
|
/**
|
|
160
222
|
* PlatformApi - object-oriented interface
|
|
161
223
|
* @export
|
|
@@ -166,20 +228,19 @@ export declare class PlatformApi extends BaseAPI {
|
|
|
166
228
|
/**
|
|
167
229
|
*
|
|
168
230
|
* @summary Get platform details
|
|
169
|
-
* @param {
|
|
231
|
+
* @param {PlatformApiGetPlatformRequest} requestParameters Request parameters.
|
|
170
232
|
* @param {*} [options] Override http request option.
|
|
171
233
|
* @throws {RequiredError}
|
|
172
234
|
* @memberof PlatformApi
|
|
173
235
|
*/
|
|
174
|
-
getPlatform(
|
|
236
|
+
getPlatform(requestParameters: PlatformApiGetPlatformRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Platform, any>>;
|
|
175
237
|
/**
|
|
176
238
|
*
|
|
177
239
|
* @summary Update platform
|
|
178
|
-
* @param {
|
|
179
|
-
* @param {Platform} platform
|
|
240
|
+
* @param {PlatformApiUpdatePlatformRequest} requestParameters Request parameters.
|
|
180
241
|
* @param {*} [options] Override http request option.
|
|
181
242
|
* @throws {RequiredError}
|
|
182
243
|
* @memberof PlatformApi
|
|
183
244
|
*/
|
|
184
|
-
updatePlatform(
|
|
245
|
+
updatePlatform(requestParameters: PlatformApiUpdatePlatformRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Platform, any>>;
|
|
185
246
|
}
|
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Platform API
|
|
5
5
|
* Manage Your podOS platform 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.3.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -39,7 +39,7 @@ export const PlatformApiAxiosParamCreator = function (configuration) {
|
|
|
39
39
|
* @param {*} [options] Override http request option.
|
|
40
40
|
* @throws {RequiredError}
|
|
41
41
|
*/
|
|
42
|
-
getPlatform: (
|
|
42
|
+
getPlatform: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
|
|
43
43
|
// verify required parameter 'project' is not null or undefined
|
|
44
44
|
assertParamExists('getPlatform', 'project', project);
|
|
45
45
|
const localVarPath = `/v1/platform`;
|
|
@@ -72,15 +72,15 @@ export const PlatformApiAxiosParamCreator = function (configuration) {
|
|
|
72
72
|
*
|
|
73
73
|
* @summary Update platform
|
|
74
74
|
* @param {string} project Project unique identifier
|
|
75
|
-
* @param {
|
|
75
|
+
* @param {UpdatePlatformRequest} updatePlatformRequest
|
|
76
76
|
* @param {*} [options] Override http request option.
|
|
77
77
|
* @throws {RequiredError}
|
|
78
78
|
*/
|
|
79
|
-
updatePlatform: (
|
|
79
|
+
updatePlatform: (project_1, updatePlatformRequest_1, ...args_1) => __awaiter(this, [project_1, updatePlatformRequest_1, ...args_1], void 0, function* (project, updatePlatformRequest, options = {}) {
|
|
80
80
|
// verify required parameter 'project' is not null or undefined
|
|
81
81
|
assertParamExists('updatePlatform', 'project', project);
|
|
82
|
-
// verify required parameter '
|
|
83
|
-
assertParamExists('updatePlatform', '
|
|
82
|
+
// verify required parameter 'updatePlatformRequest' is not null or undefined
|
|
83
|
+
assertParamExists('updatePlatform', 'updatePlatformRequest', updatePlatformRequest);
|
|
84
84
|
const localVarPath = `/v1/platform`;
|
|
85
85
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
86
86
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -103,7 +103,7 @@ export const PlatformApiAxiosParamCreator = function (configuration) {
|
|
|
103
103
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
104
104
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
105
105
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
106
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
106
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updatePlatformRequest, localVarRequestOptions, configuration);
|
|
107
107
|
return {
|
|
108
108
|
url: toPathString(localVarUrlObj),
|
|
109
109
|
options: localVarRequestOptions,
|
|
@@ -126,8 +126,8 @@ export const PlatformApiFp = function (configuration) {
|
|
|
126
126
|
* @throws {RequiredError}
|
|
127
127
|
*/
|
|
128
128
|
getPlatform(project, options) {
|
|
129
|
-
var _a, _b, _c;
|
|
130
129
|
return __awaiter(this, void 0, void 0, function* () {
|
|
130
|
+
var _a, _b, _c;
|
|
131
131
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPlatform(project, options);
|
|
132
132
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
133
133
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PlatformApi.getPlatform']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
@@ -138,14 +138,14 @@ export const PlatformApiFp = function (configuration) {
|
|
|
138
138
|
*
|
|
139
139
|
* @summary Update platform
|
|
140
140
|
* @param {string} project Project unique identifier
|
|
141
|
-
* @param {
|
|
141
|
+
* @param {UpdatePlatformRequest} updatePlatformRequest
|
|
142
142
|
* @param {*} [options] Override http request option.
|
|
143
143
|
* @throws {RequiredError}
|
|
144
144
|
*/
|
|
145
|
-
updatePlatform(project,
|
|
146
|
-
var _a, _b, _c;
|
|
145
|
+
updatePlatform(project, updatePlatformRequest, options) {
|
|
147
146
|
return __awaiter(this, void 0, void 0, function* () {
|
|
148
|
-
|
|
147
|
+
var _a, _b, _c;
|
|
148
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updatePlatform(project, updatePlatformRequest, options);
|
|
149
149
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
150
150
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PlatformApi.updatePlatform']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
151
151
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -163,23 +163,22 @@ export const PlatformApiFactory = function (configuration, basePath, axios) {
|
|
|
163
163
|
/**
|
|
164
164
|
*
|
|
165
165
|
* @summary Get platform details
|
|
166
|
-
* @param {
|
|
166
|
+
* @param {PlatformApiGetPlatformRequest} requestParameters Request parameters.
|
|
167
167
|
* @param {*} [options] Override http request option.
|
|
168
168
|
* @throws {RequiredError}
|
|
169
169
|
*/
|
|
170
|
-
getPlatform(
|
|
171
|
-
return localVarFp.getPlatform(project, options).then((request) => request(axios, basePath));
|
|
170
|
+
getPlatform(requestParameters, options) {
|
|
171
|
+
return localVarFp.getPlatform(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
172
172
|
},
|
|
173
173
|
/**
|
|
174
174
|
*
|
|
175
175
|
* @summary Update platform
|
|
176
|
-
* @param {
|
|
177
|
-
* @param {Platform} platform
|
|
176
|
+
* @param {PlatformApiUpdatePlatformRequest} requestParameters Request parameters.
|
|
178
177
|
* @param {*} [options] Override http request option.
|
|
179
178
|
* @throws {RequiredError}
|
|
180
179
|
*/
|
|
181
|
-
updatePlatform(
|
|
182
|
-
return localVarFp.updatePlatform(project,
|
|
180
|
+
updatePlatform(requestParameters, options) {
|
|
181
|
+
return localVarFp.updatePlatform(requestParameters.project, requestParameters.updatePlatformRequest, options).then((request) => request(axios, basePath));
|
|
183
182
|
},
|
|
184
183
|
};
|
|
185
184
|
};
|
|
@@ -193,24 +192,23 @@ export class PlatformApi extends BaseAPI {
|
|
|
193
192
|
/**
|
|
194
193
|
*
|
|
195
194
|
* @summary Get platform details
|
|
196
|
-
* @param {
|
|
195
|
+
* @param {PlatformApiGetPlatformRequest} requestParameters Request parameters.
|
|
197
196
|
* @param {*} [options] Override http request option.
|
|
198
197
|
* @throws {RequiredError}
|
|
199
198
|
* @memberof PlatformApi
|
|
200
199
|
*/
|
|
201
|
-
getPlatform(
|
|
202
|
-
return PlatformApiFp(this.configuration).getPlatform(project, options).then((request) => request(this.axios, this.basePath));
|
|
200
|
+
getPlatform(requestParameters, options) {
|
|
201
|
+
return PlatformApiFp(this.configuration).getPlatform(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
203
202
|
}
|
|
204
203
|
/**
|
|
205
204
|
*
|
|
206
205
|
* @summary Update platform
|
|
207
|
-
* @param {
|
|
208
|
-
* @param {Platform} platform
|
|
206
|
+
* @param {PlatformApiUpdatePlatformRequest} requestParameters Request parameters.
|
|
209
207
|
* @param {*} [options] Override http request option.
|
|
210
208
|
* @throws {RequiredError}
|
|
211
209
|
* @memberof PlatformApi
|
|
212
210
|
*/
|
|
213
|
-
updatePlatform(
|
|
214
|
-
return PlatformApiFp(this.configuration).updatePlatform(project,
|
|
211
|
+
updatePlatform(requestParameters, options) {
|
|
212
|
+
return PlatformApiFp(this.configuration).updatePlatform(requestParameters.project, requestParameters.updatePlatformRequest, options).then((request) => request(this.axios, this.basePath));
|
|
215
213
|
}
|
|
216
214
|
}
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Platform API
|
|
3
3
|
* Manage Your podOS platform 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.3.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/esm/base.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Platform API
|
|
5
5
|
* Manage Your podOS platform 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.3.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/dist/esm/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Platform API
|
|
3
3
|
* Manage Your podOS platform 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.3.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/esm/common.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Platform API
|
|
5
5
|
* Manage Your podOS platform 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.3.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,7 +2,7 @@
|
|
|
2
2
|
* Platform API
|
|
3
3
|
* Manage Your podOS platform 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.3.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Platform API
|
|
5
5
|
* Manage Your podOS platform 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.3.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/dist/esm/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Platform API
|
|
3
3
|
* Manage Your podOS platform 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.3.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/esm/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Platform API
|
|
5
5
|
* Manage Your podOS platform 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.3.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/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Platform API
|
|
3
3
|
* Manage Your podOS platform 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.3.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/index.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Platform API
|
|
6
6
|
* Manage Your podOS platform 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.3.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/index.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Platform API
|
|
5
5
|
* Manage Your podOS platform 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.3.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teemill/platform",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "OpenAPI client for @teemill/platform",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"repository": {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"axios": "^1.6.1"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@types/node": "
|
|
31
|
-
"typescript": "^4.0"
|
|
30
|
+
"@types/node": "12.11.5 - 12.20.42",
|
|
31
|
+
"typescript": "^4.0 || ^5.0"
|
|
32
32
|
}
|
|
33
33
|
}
|