@teemill/platform 0.1.1 → 0.2.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.
@@ -1,6 +1,5 @@
1
1
  .gitignore
2
2
  .npmignore
3
- .openapi-generator-ignore
4
3
  README.md
5
4
  api.ts
6
5
  base.ts
@@ -1 +1 @@
1
- 7.5.0
1
+ 7.6.0
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/platform@0.1.1
1
+ ## @teemill/platform@0.2.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.1.1 --save
39
+ npm install @teemill/platform@0.2.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.1.1
7
+ * The version of the OpenAPI document: 0.2.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,18 @@ export interface ApiError {
48
48
  * @interface Platform
49
49
  */
50
50
  export interface Platform {
51
+ /**
52
+ *
53
+ * @type {string}
54
+ * @memberof Platform
55
+ */
56
+ 'name': string;
57
+ /**
58
+ *
59
+ * @type {Array<string>}
60
+ * @memberof Platform
61
+ */
62
+ 'domains': Array<string>;
51
63
  /**
52
64
  *
53
65
  * @type {Array<PlatformLogo>}
@@ -74,6 +86,19 @@ export interface PlatformLogo {
74
86
  */
75
87
  'meta': { [key: string]: string; };
76
88
  }
89
+ /**
90
+ *
91
+ * @export
92
+ * @interface UpdatePlatformRequest
93
+ */
94
+ export interface UpdatePlatformRequest {
95
+ /**
96
+ *
97
+ * @type {Array<PlatformLogo>}
98
+ * @memberof UpdatePlatformRequest
99
+ */
100
+ 'logos'?: Array<PlatformLogo>;
101
+ }
77
102
  /**
78
103
  *
79
104
  * @export
@@ -148,15 +173,15 @@ export const PlatformApiAxiosParamCreator = function (configuration?: Configurat
148
173
  *
149
174
  * @summary Update platform
150
175
  * @param {string} project Project unique identifier
151
- * @param {Platform} platform
176
+ * @param {UpdatePlatformRequest} updatePlatformRequest
152
177
  * @param {*} [options] Override http request option.
153
178
  * @throws {RequiredError}
154
179
  */
155
- updatePlatform: async (project: string, platform: Platform, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
180
+ updatePlatform: async (project: string, updatePlatformRequest: UpdatePlatformRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
156
181
  // verify required parameter 'project' is not null or undefined
157
182
  assertParamExists('updatePlatform', 'project', project)
158
- // verify required parameter 'platform' is not null or undefined
159
- assertParamExists('updatePlatform', 'platform', platform)
183
+ // verify required parameter 'updatePlatformRequest' is not null or undefined
184
+ assertParamExists('updatePlatform', 'updatePlatformRequest', updatePlatformRequest)
160
185
  const localVarPath = `/v1/platform`;
161
186
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
162
187
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -187,7 +212,7 @@ export const PlatformApiAxiosParamCreator = function (configuration?: Configurat
187
212
  setSearchParams(localVarUrlObj, localVarQueryParameter);
188
213
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
189
214
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
190
- localVarRequestOptions.data = serializeDataIfNeeded(platform, localVarRequestOptions, configuration)
215
+ localVarRequestOptions.data = serializeDataIfNeeded(updatePlatformRequest, localVarRequestOptions, configuration)
191
216
 
192
217
  return {
193
218
  url: toPathString(localVarUrlObj),
@@ -221,12 +246,12 @@ export const PlatformApiFp = function(configuration?: Configuration) {
221
246
  *
222
247
  * @summary Update platform
223
248
  * @param {string} project Project unique identifier
224
- * @param {Platform} platform
249
+ * @param {UpdatePlatformRequest} updatePlatformRequest
225
250
  * @param {*} [options] Override http request option.
226
251
  * @throws {RequiredError}
227
252
  */
228
- async updatePlatform(project: string, platform: Platform, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Platform>> {
229
- const localVarAxiosArgs = await localVarAxiosParamCreator.updatePlatform(project, platform, options);
253
+ async updatePlatform(project: string, updatePlatformRequest: UpdatePlatformRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Platform>> {
254
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updatePlatform(project, updatePlatformRequest, options);
230
255
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
231
256
  const localVarOperationServerBasePath = operationServerMap['PlatformApi.updatePlatform']?.[localVarOperationServerIndex]?.url;
232
257
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -255,12 +280,12 @@ export const PlatformApiFactory = function (configuration?: Configuration, baseP
255
280
  *
256
281
  * @summary Update platform
257
282
  * @param {string} project Project unique identifier
258
- * @param {Platform} platform
283
+ * @param {UpdatePlatformRequest} updatePlatformRequest
259
284
  * @param {*} [options] Override http request option.
260
285
  * @throws {RequiredError}
261
286
  */
262
- updatePlatform(project: string, platform: Platform, options?: any): AxiosPromise<Platform> {
263
- return localVarFp.updatePlatform(project, platform, options).then((request) => request(axios, basePath));
287
+ updatePlatform(project: string, updatePlatformRequest: UpdatePlatformRequest, options?: any): AxiosPromise<Platform> {
288
+ return localVarFp.updatePlatform(project, updatePlatformRequest, options).then((request) => request(axios, basePath));
264
289
  },
265
290
  };
266
291
  };
@@ -288,13 +313,13 @@ export class PlatformApi extends BaseAPI {
288
313
  *
289
314
  * @summary Update platform
290
315
  * @param {string} project Project unique identifier
291
- * @param {Platform} platform
316
+ * @param {UpdatePlatformRequest} updatePlatformRequest
292
317
  * @param {*} [options] Override http request option.
293
318
  * @throws {RequiredError}
294
319
  * @memberof PlatformApi
295
320
  */
296
- public updatePlatform(project: string, platform: Platform, options?: RawAxiosRequestConfig) {
297
- return PlatformApiFp(this.configuration).updatePlatform(project, platform, options).then((request) => request(this.axios, this.basePath));
321
+ public updatePlatform(project: string, updatePlatformRequest: UpdatePlatformRequest, options?: RawAxiosRequestConfig) {
322
+ return PlatformApiFp(this.configuration).updatePlatform(project, updatePlatformRequest, options).then((request) => request(this.axios, this.basePath));
298
323
  }
299
324
  }
300
325
 
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.1.1
7
+ * The version of the OpenAPI document: 0.2.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.1.1
7
+ * The version of the OpenAPI document: 0.2.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.1.1
7
+ * The version of the OpenAPI document: 0.2.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.1.1
5
+ * The version of the OpenAPI document: 0.2.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,18 @@ export interface ApiError {
38
38
  * @interface Platform
39
39
  */
40
40
  export interface Platform {
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof Platform
45
+ */
46
+ 'name': string;
47
+ /**
48
+ *
49
+ * @type {Array<string>}
50
+ * @memberof Platform
51
+ */
52
+ 'domains': Array<string>;
41
53
  /**
42
54
  *
43
55
  * @type {Array<PlatformLogo>}
@@ -66,6 +78,19 @@ export interface PlatformLogo {
66
78
  [key: string]: string;
67
79
  };
68
80
  }
81
+ /**
82
+ *
83
+ * @export
84
+ * @interface UpdatePlatformRequest
85
+ */
86
+ export interface UpdatePlatformRequest {
87
+ /**
88
+ *
89
+ * @type {Array<PlatformLogo>}
90
+ * @memberof UpdatePlatformRequest
91
+ */
92
+ 'logos'?: Array<PlatformLogo>;
93
+ }
69
94
  /**
70
95
  *
71
96
  * @export
@@ -104,11 +129,11 @@ export declare const PlatformApiAxiosParamCreator: (configuration?: Configuratio
104
129
  *
105
130
  * @summary Update platform
106
131
  * @param {string} project Project unique identifier
107
- * @param {Platform} platform
132
+ * @param {UpdatePlatformRequest} updatePlatformRequest
108
133
  * @param {*} [options] Override http request option.
109
134
  * @throws {RequiredError}
110
135
  */
111
- updatePlatform: (project: string, platform: Platform, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
136
+ updatePlatform: (project: string, updatePlatformRequest: UpdatePlatformRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
112
137
  };
113
138
  /**
114
139
  * PlatformApi - functional programming interface
@@ -127,11 +152,11 @@ export declare const PlatformApiFp: (configuration?: Configuration) => {
127
152
  *
128
153
  * @summary Update platform
129
154
  * @param {string} project Project unique identifier
130
- * @param {Platform} platform
155
+ * @param {UpdatePlatformRequest} updatePlatformRequest
131
156
  * @param {*} [options] Override http request option.
132
157
  * @throws {RequiredError}
133
158
  */
134
- updatePlatform(project: string, platform: Platform, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Platform>>;
159
+ updatePlatform(project: string, updatePlatformRequest: UpdatePlatformRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Platform>>;
135
160
  };
136
161
  /**
137
162
  * PlatformApi - factory interface
@@ -150,11 +175,11 @@ export declare const PlatformApiFactory: (configuration?: Configuration, basePat
150
175
  *
151
176
  * @summary Update platform
152
177
  * @param {string} project Project unique identifier
153
- * @param {Platform} platform
178
+ * @param {UpdatePlatformRequest} updatePlatformRequest
154
179
  * @param {*} [options] Override http request option.
155
180
  * @throws {RequiredError}
156
181
  */
157
- updatePlatform(project: string, platform: Platform, options?: any): AxiosPromise<Platform>;
182
+ updatePlatform(project: string, updatePlatformRequest: UpdatePlatformRequest, options?: any): AxiosPromise<Platform>;
158
183
  };
159
184
  /**
160
185
  * PlatformApi - object-oriented interface
@@ -176,10 +201,10 @@ export declare class PlatformApi extends BaseAPI {
176
201
  *
177
202
  * @summary Update platform
178
203
  * @param {string} project Project unique identifier
179
- * @param {Platform} platform
204
+ * @param {UpdatePlatformRequest} updatePlatformRequest
180
205
  * @param {*} [options] Override http request option.
181
206
  * @throws {RequiredError}
182
207
  * @memberof PlatformApi
183
208
  */
184
- updatePlatform(project: string, platform: Platform, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Platform, any>>;
209
+ updatePlatform(project: string, updatePlatformRequest: UpdatePlatformRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Platform, any>>;
185
210
  }
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.1.1
8
+ * The version of the OpenAPI document: 0.2.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: (project, options = {}) => __awaiter(this, void 0, void 0, function* () {
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 {Platform} platform
78
+ * @param {UpdatePlatformRequest} updatePlatformRequest
79
79
  * @param {*} [options] Override http request option.
80
80
  * @throws {RequiredError}
81
81
  */
82
- updatePlatform: (project, platform, options = {}) => __awaiter(this, void 0, void 0, function* () {
82
+ updatePlatform: (project_2, updatePlatformRequest_1, ...args_2) => __awaiter(this, [project_2, updatePlatformRequest_1, ...args_2], 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 'platform' is not null or undefined
86
- (0, common_1.assertParamExists)('updatePlatform', 'platform', platform);
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)(platform, localVarRequestOptions, configuration);
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 {Platform} platform
145
+ * @param {UpdatePlatformRequest} updatePlatformRequest
146
146
  * @param {*} [options] Override http request option.
147
147
  * @throws {RequiredError}
148
148
  */
149
- updatePlatform(project, platform, options) {
150
- var _a, _b, _c;
149
+ updatePlatform(project, updatePlatformRequest, options) {
151
150
  return __awaiter(this, void 0, void 0, function* () {
152
- const localVarAxiosArgs = yield localVarAxiosParamCreator.updatePlatform(project, platform, options);
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);
@@ -179,12 +179,12 @@ const PlatformApiFactory = function (configuration, basePath, axios) {
179
179
  *
180
180
  * @summary Update platform
181
181
  * @param {string} project Project unique identifier
182
- * @param {Platform} platform
182
+ * @param {UpdatePlatformRequest} updatePlatformRequest
183
183
  * @param {*} [options] Override http request option.
184
184
  * @throws {RequiredError}
185
185
  */
186
- updatePlatform(project, platform, options) {
187
- return localVarFp.updatePlatform(project, platform, options).then((request) => request(axios, basePath));
186
+ updatePlatform(project, updatePlatformRequest, options) {
187
+ return localVarFp.updatePlatform(project, updatePlatformRequest, options).then((request) => request(axios, basePath));
188
188
  },
189
189
  };
190
190
  };
@@ -211,13 +211,13 @@ class PlatformApi extends base_1.BaseAPI {
211
211
  *
212
212
  * @summary Update platform
213
213
  * @param {string} project Project unique identifier
214
- * @param {Platform} platform
214
+ * @param {UpdatePlatformRequest} updatePlatformRequest
215
215
  * @param {*} [options] Override http request option.
216
216
  * @throws {RequiredError}
217
217
  * @memberof PlatformApi
218
218
  */
219
- updatePlatform(project, platform, options) {
220
- return (0, exports.PlatformApiFp)(this.configuration).updatePlatform(project, platform, options).then((request) => request(this.axios, this.basePath));
219
+ updatePlatform(project, updatePlatformRequest, options) {
220
+ return (0, exports.PlatformApiFp)(this.configuration).updatePlatform(project, updatePlatformRequest, options).then((request) => request(this.axios, this.basePath));
221
221
  }
222
222
  }
223
223
  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.1.1
5
+ * The version of the OpenAPI document: 0.2.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.1.1
8
+ * The version of the OpenAPI document: 0.2.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.1.1
5
+ * The version of the OpenAPI document: 0.2.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.1.1
8
+ * The version of the OpenAPI document: 0.2.0
9
9
  * Contact: hello@teemill.com
10
10
  *
11
11
  * 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.1.1
5
+ * The version of the OpenAPI document: 0.2.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.1.1
8
+ * The version of the OpenAPI document: 0.2.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.1.1
5
+ * The version of the OpenAPI document: 0.2.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,18 @@ export interface ApiError {
38
38
  * @interface Platform
39
39
  */
40
40
  export interface Platform {
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof Platform
45
+ */
46
+ 'name': string;
47
+ /**
48
+ *
49
+ * @type {Array<string>}
50
+ * @memberof Platform
51
+ */
52
+ 'domains': Array<string>;
41
53
  /**
42
54
  *
43
55
  * @type {Array<PlatformLogo>}
@@ -66,6 +78,19 @@ export interface PlatformLogo {
66
78
  [key: string]: string;
67
79
  };
68
80
  }
81
+ /**
82
+ *
83
+ * @export
84
+ * @interface UpdatePlatformRequest
85
+ */
86
+ export interface UpdatePlatformRequest {
87
+ /**
88
+ *
89
+ * @type {Array<PlatformLogo>}
90
+ * @memberof UpdatePlatformRequest
91
+ */
92
+ 'logos'?: Array<PlatformLogo>;
93
+ }
69
94
  /**
70
95
  *
71
96
  * @export
@@ -104,11 +129,11 @@ export declare const PlatformApiAxiosParamCreator: (configuration?: Configuratio
104
129
  *
105
130
  * @summary Update platform
106
131
  * @param {string} project Project unique identifier
107
- * @param {Platform} platform
132
+ * @param {UpdatePlatformRequest} updatePlatformRequest
108
133
  * @param {*} [options] Override http request option.
109
134
  * @throws {RequiredError}
110
135
  */
111
- updatePlatform: (project: string, platform: Platform, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
136
+ updatePlatform: (project: string, updatePlatformRequest: UpdatePlatformRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
112
137
  };
113
138
  /**
114
139
  * PlatformApi - functional programming interface
@@ -127,11 +152,11 @@ export declare const PlatformApiFp: (configuration?: Configuration) => {
127
152
  *
128
153
  * @summary Update platform
129
154
  * @param {string} project Project unique identifier
130
- * @param {Platform} platform
155
+ * @param {UpdatePlatformRequest} updatePlatformRequest
131
156
  * @param {*} [options] Override http request option.
132
157
  * @throws {RequiredError}
133
158
  */
134
- updatePlatform(project: string, platform: Platform, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Platform>>;
159
+ updatePlatform(project: string, updatePlatformRequest: UpdatePlatformRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Platform>>;
135
160
  };
136
161
  /**
137
162
  * PlatformApi - factory interface
@@ -150,11 +175,11 @@ export declare const PlatformApiFactory: (configuration?: Configuration, basePat
150
175
  *
151
176
  * @summary Update platform
152
177
  * @param {string} project Project unique identifier
153
- * @param {Platform} platform
178
+ * @param {UpdatePlatformRequest} updatePlatformRequest
154
179
  * @param {*} [options] Override http request option.
155
180
  * @throws {RequiredError}
156
181
  */
157
- updatePlatform(project: string, platform: Platform, options?: any): AxiosPromise<Platform>;
182
+ updatePlatform(project: string, updatePlatformRequest: UpdatePlatformRequest, options?: any): AxiosPromise<Platform>;
158
183
  };
159
184
  /**
160
185
  * PlatformApi - object-oriented interface
@@ -176,10 +201,10 @@ export declare class PlatformApi extends BaseAPI {
176
201
  *
177
202
  * @summary Update platform
178
203
  * @param {string} project Project unique identifier
179
- * @param {Platform} platform
204
+ * @param {UpdatePlatformRequest} updatePlatformRequest
180
205
  * @param {*} [options] Override http request option.
181
206
  * @throws {RequiredError}
182
207
  * @memberof PlatformApi
183
208
  */
184
- updatePlatform(project: string, platform: Platform, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Platform, any>>;
209
+ updatePlatform(project: string, updatePlatformRequest: UpdatePlatformRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Platform, any>>;
185
210
  }
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.1.1
7
+ * The version of the OpenAPI document: 0.2.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: (project, options = {}) => __awaiter(this, void 0, void 0, function* () {
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 {Platform} platform
75
+ * @param {UpdatePlatformRequest} updatePlatformRequest
76
76
  * @param {*} [options] Override http request option.
77
77
  * @throws {RequiredError}
78
78
  */
79
- updatePlatform: (project, platform, options = {}) => __awaiter(this, void 0, void 0, function* () {
79
+ updatePlatform: (project_2, updatePlatformRequest_1, ...args_2) => __awaiter(this, [project_2, updatePlatformRequest_1, ...args_2], 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 'platform' is not null or undefined
83
- assertParamExists('updatePlatform', 'platform', platform);
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(platform, localVarRequestOptions, configuration);
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 {Platform} platform
141
+ * @param {UpdatePlatformRequest} updatePlatformRequest
142
142
  * @param {*} [options] Override http request option.
143
143
  * @throws {RequiredError}
144
144
  */
145
- updatePlatform(project, platform, options) {
146
- var _a, _b, _c;
145
+ updatePlatform(project, updatePlatformRequest, options) {
147
146
  return __awaiter(this, void 0, void 0, function* () {
148
- const localVarAxiosArgs = yield localVarAxiosParamCreator.updatePlatform(project, platform, options);
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);
@@ -174,12 +174,12 @@ export const PlatformApiFactory = function (configuration, basePath, axios) {
174
174
  *
175
175
  * @summary Update platform
176
176
  * @param {string} project Project unique identifier
177
- * @param {Platform} platform
177
+ * @param {UpdatePlatformRequest} updatePlatformRequest
178
178
  * @param {*} [options] Override http request option.
179
179
  * @throws {RequiredError}
180
180
  */
181
- updatePlatform(project, platform, options) {
182
- return localVarFp.updatePlatform(project, platform, options).then((request) => request(axios, basePath));
181
+ updatePlatform(project, updatePlatformRequest, options) {
182
+ return localVarFp.updatePlatform(project, updatePlatformRequest, options).then((request) => request(axios, basePath));
183
183
  },
184
184
  };
185
185
  };
@@ -205,12 +205,12 @@ export class PlatformApi extends BaseAPI {
205
205
  *
206
206
  * @summary Update platform
207
207
  * @param {string} project Project unique identifier
208
- * @param {Platform} platform
208
+ * @param {UpdatePlatformRequest} updatePlatformRequest
209
209
  * @param {*} [options] Override http request option.
210
210
  * @throws {RequiredError}
211
211
  * @memberof PlatformApi
212
212
  */
213
- updatePlatform(project, platform, options) {
214
- return PlatformApiFp(this.configuration).updatePlatform(project, platform, options).then((request) => request(this.axios, this.basePath));
213
+ updatePlatform(project, updatePlatformRequest, options) {
214
+ return PlatformApiFp(this.configuration).updatePlatform(project, updatePlatformRequest, options).then((request) => request(this.axios, this.basePath));
215
215
  }
216
216
  }
@@ -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.1.1
5
+ * The version of the OpenAPI document: 0.2.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.1.1
7
+ * The version of the OpenAPI document: 0.2.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.1.1
5
+ * The version of the OpenAPI document: 0.2.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.1.1
7
+ * The version of the OpenAPI document: 0.2.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.1.1
5
+ * The version of the OpenAPI document: 0.2.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.1.1
7
+ * The version of the OpenAPI document: 0.2.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.1.1
5
+ * The version of the OpenAPI document: 0.2.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.1.1
7
+ * The version of the OpenAPI document: 0.2.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.1.1
5
+ * The version of the OpenAPI document: 0.2.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.1.1
8
+ * The version of the OpenAPI document: 0.2.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.1.1
7
+ * The version of the OpenAPI document: 0.2.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.1.1",
3
+ "version": "0.2.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": "^12.11.5",
31
- "typescript": "^4.0"
30
+ "@types/node": "12.11.5 - 12.20.42",
31
+ "typescript": "^4.0 || ^5.0"
32
32
  }
33
33
  }