@teemill/platform 0.22.0 → 0.22.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/platform@0.22.0
1
+ ## @teemill/platform@0.22.2
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.22.0 --save
39
+ npm install @teemill/platform@0.22.2 --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
6
6
  *
7
- * The version of the OpenAPI document: 0.22.0
7
+ * The version of the OpenAPI document: 0.22.2
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -604,13 +604,13 @@ export interface InlineObject {
604
604
  * @type {Array<Domain>}
605
605
  * @memberof InlineObject
606
606
  */
607
- 'domains'?: Array<Domain>;
607
+ 'domains': Array<Domain>;
608
608
  /**
609
609
  *
610
610
  * @type {number}
611
611
  * @memberof InlineObject
612
612
  */
613
- 'nextPageToken'?: number;
613
+ 'nextPageToken': number;
614
614
  }
615
615
  /**
616
616
  *
@@ -4034,11 +4034,14 @@ export const PlatformApiAxiosParamCreator = function (configuration?: Configurat
4034
4034
  /**
4035
4035
  * Create a new client platform domain
4036
4036
  * @summary Create a platform client domain
4037
+ * @param {string} project Project unique identifier
4037
4038
  * @param {CreateDomainRequest} [createDomainRequest]
4038
4039
  * @param {*} [options] Override http request option.
4039
4040
  * @throws {RequiredError}
4040
4041
  */
4041
- createClientDomain: async (createDomainRequest?: CreateDomainRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4042
+ createClientDomain: async (project: string, createDomainRequest?: CreateDomainRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4043
+ // verify required parameter 'project' is not null or undefined
4044
+ assertParamExists('createClientDomain', 'project', project)
4042
4045
  const localVarPath = `/v1/platform/clients/domains`;
4043
4046
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4044
4047
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -4058,6 +4061,10 @@ export const PlatformApiAxiosParamCreator = function (configuration?: Configurat
4058
4061
  // authentication api-key required
4059
4062
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
4060
4063
 
4064
+ if (project !== undefined) {
4065
+ localVarQueryParameter['project'] = project;
4066
+ }
4067
+
4061
4068
 
4062
4069
 
4063
4070
  localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -4075,11 +4082,14 @@ export const PlatformApiAxiosParamCreator = function (configuration?: Configurat
4075
4082
  /**
4076
4083
  * Create a new platform domain
4077
4084
  * @summary Create a platform domain
4085
+ * @param {string} project Project unique identifier
4078
4086
  * @param {CreateDomainRequest} [createDomainRequest]
4079
4087
  * @param {*} [options] Override http request option.
4080
4088
  * @throws {RequiredError}
4081
4089
  */
4082
- createDomain: async (createDomainRequest?: CreateDomainRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4090
+ createDomain: async (project: string, createDomainRequest?: CreateDomainRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4091
+ // verify required parameter 'project' is not null or undefined
4092
+ assertParamExists('createDomain', 'project', project)
4083
4093
  const localVarPath = `/v1/platform/domains`;
4084
4094
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4085
4095
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -4099,6 +4109,10 @@ export const PlatformApiAxiosParamCreator = function (configuration?: Configurat
4099
4109
  // authentication api-key required
4100
4110
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
4101
4111
 
4112
+ if (project !== undefined) {
4113
+ localVarQueryParameter['project'] = project;
4114
+ }
4115
+
4102
4116
 
4103
4117
 
4104
4118
  localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -4116,11 +4130,14 @@ export const PlatformApiAxiosParamCreator = function (configuration?: Configurat
4116
4130
  /**
4117
4131
  * Delete an existing client platform domain
4118
4132
  * @summary Delete a platform client domain
4133
+ * @param {string} project Project unique identifier
4119
4134
  * @param {string} domain The domain identifier
4120
4135
  * @param {*} [options] Override http request option.
4121
4136
  * @throws {RequiredError}
4122
4137
  */
4123
- deleteClientDomain: async (domain: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4138
+ deleteClientDomain: async (project: string, domain: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4139
+ // verify required parameter 'project' is not null or undefined
4140
+ assertParamExists('deleteClientDomain', 'project', project)
4124
4141
  // verify required parameter 'domain' is not null or undefined
4125
4142
  assertParamExists('deleteClientDomain', 'domain', domain)
4126
4143
  const localVarPath = `/v1/platform/clients/domains/{domain}`
@@ -4143,6 +4160,10 @@ export const PlatformApiAxiosParamCreator = function (configuration?: Configurat
4143
4160
  // authentication api-key required
4144
4161
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
4145
4162
 
4163
+ if (project !== undefined) {
4164
+ localVarQueryParameter['project'] = project;
4165
+ }
4166
+
4146
4167
 
4147
4168
 
4148
4169
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -4157,11 +4178,14 @@ export const PlatformApiAxiosParamCreator = function (configuration?: Configurat
4157
4178
  /**
4158
4179
  * Delete an existing platform domain
4159
4180
  * @summary Delete a platform domain
4181
+ * @param {string} project Project unique identifier
4160
4182
  * @param {string} domain The domain identifier
4161
4183
  * @param {*} [options] Override http request option.
4162
4184
  * @throws {RequiredError}
4163
4185
  */
4164
- deleteDomain: async (domain: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4186
+ deleteDomain: async (project: string, domain: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4187
+ // verify required parameter 'project' is not null or undefined
4188
+ assertParamExists('deleteDomain', 'project', project)
4165
4189
  // verify required parameter 'domain' is not null or undefined
4166
4190
  assertParamExists('deleteDomain', 'domain', domain)
4167
4191
  const localVarPath = `/v1/platform/domains/{domain}`
@@ -4184,6 +4208,10 @@ export const PlatformApiAxiosParamCreator = function (configuration?: Configurat
4184
4208
  // authentication api-key required
4185
4209
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
4186
4210
 
4211
+ if (project !== undefined) {
4212
+ localVarQueryParameter['project'] = project;
4213
+ }
4214
+
4187
4215
 
4188
4216
 
4189
4217
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -4242,10 +4270,13 @@ export const PlatformApiAxiosParamCreator = function (configuration?: Configurat
4242
4270
  /**
4243
4271
  * List the client domains attached to a platform
4244
4272
  * @summary List platform client domains
4273
+ * @param {string} project Project unique identifier
4245
4274
  * @param {*} [options] Override http request option.
4246
4275
  * @throws {RequiredError}
4247
4276
  */
4248
- listClientDomains: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4277
+ listClientDomains: async (project: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4278
+ // verify required parameter 'project' is not null or undefined
4279
+ assertParamExists('listClientDomains', 'project', project)
4249
4280
  const localVarPath = `/v1/platform/clients/domains`;
4250
4281
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4251
4282
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -4265,6 +4296,10 @@ export const PlatformApiAxiosParamCreator = function (configuration?: Configurat
4265
4296
  // authentication api-key required
4266
4297
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
4267
4298
 
4299
+ if (project !== undefined) {
4300
+ localVarQueryParameter['project'] = project;
4301
+ }
4302
+
4268
4303
 
4269
4304
 
4270
4305
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -4279,10 +4314,13 @@ export const PlatformApiAxiosParamCreator = function (configuration?: Configurat
4279
4314
  /**
4280
4315
  * List the domains attached to a platform
4281
4316
  * @summary List platform domains
4317
+ * @param {string} project Project unique identifier
4282
4318
  * @param {*} [options] Override http request option.
4283
4319
  * @throws {RequiredError}
4284
4320
  */
4285
- listDomains: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4321
+ listDomains: async (project: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4322
+ // verify required parameter 'project' is not null or undefined
4323
+ assertParamExists('listDomains', 'project', project)
4286
4324
  const localVarPath = `/v1/platform/domains`;
4287
4325
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4288
4326
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -4302,6 +4340,10 @@ export const PlatformApiAxiosParamCreator = function (configuration?: Configurat
4302
4340
  // authentication api-key required
4303
4341
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
4304
4342
 
4343
+ if (project !== undefined) {
4344
+ localVarQueryParameter['project'] = project;
4345
+ }
4346
+
4305
4347
 
4306
4348
 
4307
4349
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -4376,12 +4418,13 @@ export const PlatformApiFp = function(configuration?: Configuration) {
4376
4418
  /**
4377
4419
  * Create a new client platform domain
4378
4420
  * @summary Create a platform client domain
4421
+ * @param {string} project Project unique identifier
4379
4422
  * @param {CreateDomainRequest} [createDomainRequest]
4380
4423
  * @param {*} [options] Override http request option.
4381
4424
  * @throws {RequiredError}
4382
4425
  */
4383
- async createClientDomain(createDomainRequest?: CreateDomainRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Domain>> {
4384
- const localVarAxiosArgs = await localVarAxiosParamCreator.createClientDomain(createDomainRequest, options);
4426
+ async createClientDomain(project: string, createDomainRequest?: CreateDomainRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Domain>> {
4427
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createClientDomain(project, createDomainRequest, options);
4385
4428
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4386
4429
  const localVarOperationServerBasePath = operationServerMap['PlatformApi.createClientDomain']?.[localVarOperationServerIndex]?.url;
4387
4430
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -4389,12 +4432,13 @@ export const PlatformApiFp = function(configuration?: Configuration) {
4389
4432
  /**
4390
4433
  * Create a new platform domain
4391
4434
  * @summary Create a platform domain
4435
+ * @param {string} project Project unique identifier
4392
4436
  * @param {CreateDomainRequest} [createDomainRequest]
4393
4437
  * @param {*} [options] Override http request option.
4394
4438
  * @throws {RequiredError}
4395
4439
  */
4396
- async createDomain(createDomainRequest?: CreateDomainRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Domain>> {
4397
- const localVarAxiosArgs = await localVarAxiosParamCreator.createDomain(createDomainRequest, options);
4440
+ async createDomain(project: string, createDomainRequest?: CreateDomainRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Domain>> {
4441
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createDomain(project, createDomainRequest, options);
4398
4442
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4399
4443
  const localVarOperationServerBasePath = operationServerMap['PlatformApi.createDomain']?.[localVarOperationServerIndex]?.url;
4400
4444
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -4402,12 +4446,13 @@ export const PlatformApiFp = function(configuration?: Configuration) {
4402
4446
  /**
4403
4447
  * Delete an existing client platform domain
4404
4448
  * @summary Delete a platform client domain
4449
+ * @param {string} project Project unique identifier
4405
4450
  * @param {string} domain The domain identifier
4406
4451
  * @param {*} [options] Override http request option.
4407
4452
  * @throws {RequiredError}
4408
4453
  */
4409
- async deleteClientDomain(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
4410
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClientDomain(domain, options);
4454
+ async deleteClientDomain(project: string, domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
4455
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClientDomain(project, domain, options);
4411
4456
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4412
4457
  const localVarOperationServerBasePath = operationServerMap['PlatformApi.deleteClientDomain']?.[localVarOperationServerIndex]?.url;
4413
4458
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -4415,12 +4460,13 @@ export const PlatformApiFp = function(configuration?: Configuration) {
4415
4460
  /**
4416
4461
  * Delete an existing platform domain
4417
4462
  * @summary Delete a platform domain
4463
+ * @param {string} project Project unique identifier
4418
4464
  * @param {string} domain The domain identifier
4419
4465
  * @param {*} [options] Override http request option.
4420
4466
  * @throws {RequiredError}
4421
4467
  */
4422
- async deleteDomain(domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
4423
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDomain(domain, options);
4468
+ async deleteDomain(project: string, domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
4469
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDomain(project, domain, options);
4424
4470
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4425
4471
  const localVarOperationServerBasePath = operationServerMap['PlatformApi.deleteDomain']?.[localVarOperationServerIndex]?.url;
4426
4472
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -4441,11 +4487,12 @@ export const PlatformApiFp = function(configuration?: Configuration) {
4441
4487
  /**
4442
4488
  * List the client domains attached to a platform
4443
4489
  * @summary List platform client domains
4490
+ * @param {string} project Project unique identifier
4444
4491
  * @param {*} [options] Override http request option.
4445
4492
  * @throws {RequiredError}
4446
4493
  */
4447
- async listClientDomains(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineObject>> {
4448
- const localVarAxiosArgs = await localVarAxiosParamCreator.listClientDomains(options);
4494
+ async listClientDomains(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineObject>> {
4495
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listClientDomains(project, options);
4449
4496
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4450
4497
  const localVarOperationServerBasePath = operationServerMap['PlatformApi.listClientDomains']?.[localVarOperationServerIndex]?.url;
4451
4498
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -4453,11 +4500,12 @@ export const PlatformApiFp = function(configuration?: Configuration) {
4453
4500
  /**
4454
4501
  * List the domains attached to a platform
4455
4502
  * @summary List platform domains
4503
+ * @param {string} project Project unique identifier
4456
4504
  * @param {*} [options] Override http request option.
4457
4505
  * @throws {RequiredError}
4458
4506
  */
4459
- async listDomains(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineObject>> {
4460
- const localVarAxiosArgs = await localVarAxiosParamCreator.listDomains(options);
4507
+ async listDomains(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineObject>> {
4508
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listDomains(project, options);
4461
4509
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4462
4510
  const localVarOperationServerBasePath = operationServerMap['PlatformApi.listDomains']?.[localVarOperationServerIndex]?.url;
4463
4511
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -4493,8 +4541,8 @@ export const PlatformApiFactory = function (configuration?: Configuration, baseP
4493
4541
  * @param {*} [options] Override http request option.
4494
4542
  * @throws {RequiredError}
4495
4543
  */
4496
- createClientDomain(requestParameters: PlatformApiCreateClientDomainRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<Domain> {
4497
- return localVarFp.createClientDomain(requestParameters.createDomainRequest, options).then((request) => request(axios, basePath));
4544
+ createClientDomain(requestParameters: PlatformApiCreateClientDomainRequest, options?: RawAxiosRequestConfig): AxiosPromise<Domain> {
4545
+ return localVarFp.createClientDomain(requestParameters.project, requestParameters.createDomainRequest, options).then((request) => request(axios, basePath));
4498
4546
  },
4499
4547
  /**
4500
4548
  * Create a new platform domain
@@ -4503,8 +4551,8 @@ export const PlatformApiFactory = function (configuration?: Configuration, baseP
4503
4551
  * @param {*} [options] Override http request option.
4504
4552
  * @throws {RequiredError}
4505
4553
  */
4506
- createDomain(requestParameters: PlatformApiCreateDomainRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<Domain> {
4507
- return localVarFp.createDomain(requestParameters.createDomainRequest, options).then((request) => request(axios, basePath));
4554
+ createDomain(requestParameters: PlatformApiCreateDomainRequest, options?: RawAxiosRequestConfig): AxiosPromise<Domain> {
4555
+ return localVarFp.createDomain(requestParameters.project, requestParameters.createDomainRequest, options).then((request) => request(axios, basePath));
4508
4556
  },
4509
4557
  /**
4510
4558
  * Delete an existing client platform domain
@@ -4514,7 +4562,7 @@ export const PlatformApiFactory = function (configuration?: Configuration, baseP
4514
4562
  * @throws {RequiredError}
4515
4563
  */
4516
4564
  deleteClientDomain(requestParameters: PlatformApiDeleteClientDomainRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
4517
- return localVarFp.deleteClientDomain(requestParameters.domain, options).then((request) => request(axios, basePath));
4565
+ return localVarFp.deleteClientDomain(requestParameters.project, requestParameters.domain, options).then((request) => request(axios, basePath));
4518
4566
  },
4519
4567
  /**
4520
4568
  * Delete an existing platform domain
@@ -4524,7 +4572,7 @@ export const PlatformApiFactory = function (configuration?: Configuration, baseP
4524
4572
  * @throws {RequiredError}
4525
4573
  */
4526
4574
  deleteDomain(requestParameters: PlatformApiDeleteDomainRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
4527
- return localVarFp.deleteDomain(requestParameters.domain, options).then((request) => request(axios, basePath));
4575
+ return localVarFp.deleteDomain(requestParameters.project, requestParameters.domain, options).then((request) => request(axios, basePath));
4528
4576
  },
4529
4577
  /**
4530
4578
  *
@@ -4539,20 +4587,22 @@ export const PlatformApiFactory = function (configuration?: Configuration, baseP
4539
4587
  /**
4540
4588
  * List the client domains attached to a platform
4541
4589
  * @summary List platform client domains
4590
+ * @param {PlatformApiListClientDomainsRequest} requestParameters Request parameters.
4542
4591
  * @param {*} [options] Override http request option.
4543
4592
  * @throws {RequiredError}
4544
4593
  */
4545
- listClientDomains(options?: RawAxiosRequestConfig): AxiosPromise<InlineObject> {
4546
- return localVarFp.listClientDomains(options).then((request) => request(axios, basePath));
4594
+ listClientDomains(requestParameters: PlatformApiListClientDomainsRequest, options?: RawAxiosRequestConfig): AxiosPromise<InlineObject> {
4595
+ return localVarFp.listClientDomains(requestParameters.project, options).then((request) => request(axios, basePath));
4547
4596
  },
4548
4597
  /**
4549
4598
  * List the domains attached to a platform
4550
4599
  * @summary List platform domains
4600
+ * @param {PlatformApiListDomainsRequest} requestParameters Request parameters.
4551
4601
  * @param {*} [options] Override http request option.
4552
4602
  * @throws {RequiredError}
4553
4603
  */
4554
- listDomains(options?: RawAxiosRequestConfig): AxiosPromise<InlineObject> {
4555
- return localVarFp.listDomains(options).then((request) => request(axios, basePath));
4604
+ listDomains(requestParameters: PlatformApiListDomainsRequest, options?: RawAxiosRequestConfig): AxiosPromise<InlineObject> {
4605
+ return localVarFp.listDomains(requestParameters.project, options).then((request) => request(axios, basePath));
4556
4606
  },
4557
4607
  /**
4558
4608
  *
@@ -4573,6 +4623,13 @@ export const PlatformApiFactory = function (configuration?: Configuration, baseP
4573
4623
  * @interface PlatformApiCreateClientDomainRequest
4574
4624
  */
4575
4625
  export interface PlatformApiCreateClientDomainRequest {
4626
+ /**
4627
+ * Project unique identifier
4628
+ * @type {string}
4629
+ * @memberof PlatformApiCreateClientDomain
4630
+ */
4631
+ readonly project: string
4632
+
4576
4633
  /**
4577
4634
  *
4578
4635
  * @type {CreateDomainRequest}
@@ -4587,6 +4644,13 @@ export interface PlatformApiCreateClientDomainRequest {
4587
4644
  * @interface PlatformApiCreateDomainRequest
4588
4645
  */
4589
4646
  export interface PlatformApiCreateDomainRequest {
4647
+ /**
4648
+ * Project unique identifier
4649
+ * @type {string}
4650
+ * @memberof PlatformApiCreateDomain
4651
+ */
4652
+ readonly project: string
4653
+
4590
4654
  /**
4591
4655
  *
4592
4656
  * @type {CreateDomainRequest}
@@ -4601,6 +4665,13 @@ export interface PlatformApiCreateDomainRequest {
4601
4665
  * @interface PlatformApiDeleteClientDomainRequest
4602
4666
  */
4603
4667
  export interface PlatformApiDeleteClientDomainRequest {
4668
+ /**
4669
+ * Project unique identifier
4670
+ * @type {string}
4671
+ * @memberof PlatformApiDeleteClientDomain
4672
+ */
4673
+ readonly project: string
4674
+
4604
4675
  /**
4605
4676
  * The domain identifier
4606
4677
  * @type {string}
@@ -4615,6 +4686,13 @@ export interface PlatformApiDeleteClientDomainRequest {
4615
4686
  * @interface PlatformApiDeleteDomainRequest
4616
4687
  */
4617
4688
  export interface PlatformApiDeleteDomainRequest {
4689
+ /**
4690
+ * Project unique identifier
4691
+ * @type {string}
4692
+ * @memberof PlatformApiDeleteDomain
4693
+ */
4694
+ readonly project: string
4695
+
4618
4696
  /**
4619
4697
  * The domain identifier
4620
4698
  * @type {string}
@@ -4637,6 +4715,34 @@ export interface PlatformApiGetPlatformRequest {
4637
4715
  readonly project: string
4638
4716
  }
4639
4717
 
4718
+ /**
4719
+ * Request parameters for listClientDomains operation in PlatformApi.
4720
+ * @export
4721
+ * @interface PlatformApiListClientDomainsRequest
4722
+ */
4723
+ export interface PlatformApiListClientDomainsRequest {
4724
+ /**
4725
+ * Project unique identifier
4726
+ * @type {string}
4727
+ * @memberof PlatformApiListClientDomains
4728
+ */
4729
+ readonly project: string
4730
+ }
4731
+
4732
+ /**
4733
+ * Request parameters for listDomains operation in PlatformApi.
4734
+ * @export
4735
+ * @interface PlatformApiListDomainsRequest
4736
+ */
4737
+ export interface PlatformApiListDomainsRequest {
4738
+ /**
4739
+ * Project unique identifier
4740
+ * @type {string}
4741
+ * @memberof PlatformApiListDomains
4742
+ */
4743
+ readonly project: string
4744
+ }
4745
+
4640
4746
  /**
4641
4747
  * Request parameters for updatePlatform operation in PlatformApi.
4642
4748
  * @export
@@ -4673,8 +4779,8 @@ export class PlatformApi extends BaseAPI {
4673
4779
  * @throws {RequiredError}
4674
4780
  * @memberof PlatformApi
4675
4781
  */
4676
- public createClientDomain(requestParameters: PlatformApiCreateClientDomainRequest = {}, options?: RawAxiosRequestConfig) {
4677
- return PlatformApiFp(this.configuration).createClientDomain(requestParameters.createDomainRequest, options).then((request) => request(this.axios, this.basePath));
4782
+ public createClientDomain(requestParameters: PlatformApiCreateClientDomainRequest, options?: RawAxiosRequestConfig) {
4783
+ return PlatformApiFp(this.configuration).createClientDomain(requestParameters.project, requestParameters.createDomainRequest, options).then((request) => request(this.axios, this.basePath));
4678
4784
  }
4679
4785
 
4680
4786
  /**
@@ -4685,8 +4791,8 @@ export class PlatformApi extends BaseAPI {
4685
4791
  * @throws {RequiredError}
4686
4792
  * @memberof PlatformApi
4687
4793
  */
4688
- public createDomain(requestParameters: PlatformApiCreateDomainRequest = {}, options?: RawAxiosRequestConfig) {
4689
- return PlatformApiFp(this.configuration).createDomain(requestParameters.createDomainRequest, options).then((request) => request(this.axios, this.basePath));
4794
+ public createDomain(requestParameters: PlatformApiCreateDomainRequest, options?: RawAxiosRequestConfig) {
4795
+ return PlatformApiFp(this.configuration).createDomain(requestParameters.project, requestParameters.createDomainRequest, options).then((request) => request(this.axios, this.basePath));
4690
4796
  }
4691
4797
 
4692
4798
  /**
@@ -4698,7 +4804,7 @@ export class PlatformApi extends BaseAPI {
4698
4804
  * @memberof PlatformApi
4699
4805
  */
4700
4806
  public deleteClientDomain(requestParameters: PlatformApiDeleteClientDomainRequest, options?: RawAxiosRequestConfig) {
4701
- return PlatformApiFp(this.configuration).deleteClientDomain(requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
4807
+ return PlatformApiFp(this.configuration).deleteClientDomain(requestParameters.project, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
4702
4808
  }
4703
4809
 
4704
4810
  /**
@@ -4710,7 +4816,7 @@ export class PlatformApi extends BaseAPI {
4710
4816
  * @memberof PlatformApi
4711
4817
  */
4712
4818
  public deleteDomain(requestParameters: PlatformApiDeleteDomainRequest, options?: RawAxiosRequestConfig) {
4713
- return PlatformApiFp(this.configuration).deleteDomain(requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
4819
+ return PlatformApiFp(this.configuration).deleteDomain(requestParameters.project, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
4714
4820
  }
4715
4821
 
4716
4822
  /**
@@ -4728,23 +4834,25 @@ export class PlatformApi extends BaseAPI {
4728
4834
  /**
4729
4835
  * List the client domains attached to a platform
4730
4836
  * @summary List platform client domains
4837
+ * @param {PlatformApiListClientDomainsRequest} requestParameters Request parameters.
4731
4838
  * @param {*} [options] Override http request option.
4732
4839
  * @throws {RequiredError}
4733
4840
  * @memberof PlatformApi
4734
4841
  */
4735
- public listClientDomains(options?: RawAxiosRequestConfig) {
4736
- return PlatformApiFp(this.configuration).listClientDomains(options).then((request) => request(this.axios, this.basePath));
4842
+ public listClientDomains(requestParameters: PlatformApiListClientDomainsRequest, options?: RawAxiosRequestConfig) {
4843
+ return PlatformApiFp(this.configuration).listClientDomains(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
4737
4844
  }
4738
4845
 
4739
4846
  /**
4740
4847
  * List the domains attached to a platform
4741
4848
  * @summary List platform domains
4849
+ * @param {PlatformApiListDomainsRequest} requestParameters Request parameters.
4742
4850
  * @param {*} [options] Override http request option.
4743
4851
  * @throws {RequiredError}
4744
4852
  * @memberof PlatformApi
4745
4853
  */
4746
- public listDomains(options?: RawAxiosRequestConfig) {
4747
- return PlatformApiFp(this.configuration).listDomains(options).then((request) => request(this.axios, this.basePath));
4854
+ public listDomains(requestParameters: PlatformApiListDomainsRequest, options?: RawAxiosRequestConfig) {
4855
+ return PlatformApiFp(this.configuration).listDomains(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
4748
4856
  }
4749
4857
 
4750
4858
  /**
package/base.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.22.0
7
+ * The version of the OpenAPI document: 0.22.2
8
8
  *
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
6
6
  *
7
- * The version of the OpenAPI document: 0.22.0
7
+ * The version of the OpenAPI document: 0.22.2
8
8
  *
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
6
6
  *
7
- * The version of the OpenAPI document: 0.22.0
7
+ * The version of the OpenAPI document: 0.22.2
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).