ch-admin-api-client-typescript 5.14.9 → 5.14.12

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.
Files changed (32) hide show
  1. package/lib/api/web-apps-api.d.ts +30 -299
  2. package/lib/api/web-apps-api.d.ts.map +1 -1
  3. package/lib/api/web-apps-api.js +40 -228
  4. package/lib/models/create-web-app-command.d.ts +44 -0
  5. package/lib/models/create-web-app-command.d.ts.map +1 -0
  6. package/lib/models/{domain-type.js → create-web-app-command.js} +0 -10
  7. package/lib/models/hospital-model.d.ts +7 -1
  8. package/lib/models/hospital-model.d.ts.map +1 -1
  9. package/lib/models/index.d.ts +3 -1
  10. package/lib/models/index.d.ts.map +1 -1
  11. package/lib/models/index.js +3 -1
  12. package/lib/models/update-web-app-command.d.ts +45 -0
  13. package/lib/models/update-web-app-command.d.ts.map +1 -0
  14. package/{src/models/domain-type.ts → lib/models/update-web-app-command.js} +2 -18
  15. package/lib/models/web-app-environment-model.d.ts +31 -0
  16. package/lib/models/web-app-environment-model.d.ts.map +1 -0
  17. package/lib/models/{domain-type.d.ts → web-app-environment-model.js} +4 -11
  18. package/lib/models/web-app-item-model.d.ts +7 -68
  19. package/lib/models/web-app-item-model.d.ts.map +1 -1
  20. package/lib/models/web-app-model.d.ts +14 -68
  21. package/lib/models/web-app-model.d.ts.map +1 -1
  22. package/package.json +1 -1
  23. package/src/.openapi-generator/FILES +3 -1
  24. package/src/api/web-apps-api.ts +51 -479
  25. package/src/models/create-web-app-command.ts +51 -0
  26. package/src/models/hospital-model.ts +7 -1
  27. package/src/models/index.ts +3 -1
  28. package/src/models/update-web-app-command.ts +54 -0
  29. package/src/models/web-app-environment-model.ts +36 -0
  30. package/src/models/web-app-item-model.ts +7 -70
  31. package/src/models/web-app-model.ts +14 -68
  32. package/lib/models/domain-type.d.ts.map +0 -1
@@ -21,12 +21,14 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
21
21
  // @ts-ignore
22
22
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
23
  // @ts-ignore
24
- import { DeployStatus } from '../models';
24
+ import { CreateWebAppCommand } from '../models';
25
25
  // @ts-ignore
26
- import { DomainType } from '../models';
26
+ import { DeployStatus } from '../models';
27
27
  // @ts-ignore
28
28
  import { ProblemDetails } from '../models';
29
29
  // @ts-ignore
30
+ import { UpdateWebAppCommand } from '../models';
31
+ // @ts-ignore
30
32
  import { WebAppModel } from '../models';
31
33
  // @ts-ignore
32
34
  import { WebAppsModel } from '../models';
@@ -40,11 +42,10 @@ export const WebAppsApiAxiosParamCreator = function (configuration?: Configurati
40
42
  *
41
43
  * @summary Retrive all WebApp configuration
42
44
  * @param {string} [id]
43
- * @param {string} [stsClientId]
44
45
  * @param {string} [hospitalId]
45
46
  * @param {string} [hospitalName]
46
- * @param {string} [template]
47
- * @param {DomainType} [domainType]
47
+ * @param {string} [appName]
48
+ * @param {string} [hostName]
48
49
  * @param {DeployStatus} [deployStatus]
49
50
  * @param {string} [languageCode]
50
51
  * @param {number} [page]
@@ -53,7 +54,7 @@ export const WebAppsApiAxiosParamCreator = function (configuration?: Configurati
53
54
  * @param {*} [options] Override http request option.
54
55
  * @throws {RequiredError}
55
56
  */
56
- apiV1WebappsGet: async (id?: string, stsClientId?: string, hospitalId?: string, hospitalName?: string, template?: string, domainType?: DomainType, deployStatus?: DeployStatus, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
57
+ apiV1WebappsGet: async (id?: string, hospitalId?: string, hospitalName?: string, appName?: string, hostName?: string, deployStatus?: DeployStatus, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
57
58
  const localVarPath = `/api/v1/webapps`;
58
59
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
59
60
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -74,10 +75,6 @@ export const WebAppsApiAxiosParamCreator = function (configuration?: Configurati
74
75
  localVarQueryParameter['Id'] = id;
75
76
  }
76
77
 
77
- if (stsClientId !== undefined) {
78
- localVarQueryParameter['StsClientId'] = stsClientId;
79
- }
80
-
81
78
  if (hospitalId !== undefined) {
82
79
  localVarQueryParameter['HospitalId'] = hospitalId;
83
80
  }
@@ -86,12 +83,12 @@ export const WebAppsApiAxiosParamCreator = function (configuration?: Configurati
86
83
  localVarQueryParameter['HospitalName'] = hospitalName;
87
84
  }
88
85
 
89
- if (template !== undefined) {
90
- localVarQueryParameter['Template'] = template;
86
+ if (appName !== undefined) {
87
+ localVarQueryParameter['AppName'] = appName;
91
88
  }
92
89
 
93
- if (domainType !== undefined) {
94
- localVarQueryParameter['DomainType'] = domainType;
90
+ if (hostName !== undefined) {
91
+ localVarQueryParameter['HostName'] = hostName;
95
92
  }
96
93
 
97
94
  if (deployStatus !== undefined) {
@@ -217,26 +214,11 @@ export const WebAppsApiAxiosParamCreator = function (configuration?: Configurati
217
214
  *
218
215
  * @summary Update WebApp configuration
219
216
  * @param {string} id
220
- * @param {string} [id2]
221
- * @param {string} [stsClientId]
222
- * @param {string} [stsClientSecret]
223
- * @param {string} [colorPrimary]
224
- * @param {string} [colorSecondary]
225
- * @param {string} [colorNeutral]
226
- * @param {string} [colorDark]
227
- * @param {string} [colorLight]
228
- * @param {string} [template]
229
- * @param {string} [googleClientId]
230
- * @param {DomainType} [domainType]
231
- * @param {string} [iPAddress]
232
- * @param {string} [domainVerificationId]
233
- * @param {string} [domain]
234
- * @param {DeployStatus} [deployStatus]
235
- * @param {File} [formFile]
217
+ * @param {UpdateWebAppCommand} [updateWebAppCommand]
236
218
  * @param {*} [options] Override http request option.
237
219
  * @throws {RequiredError}
238
220
  */
239
- apiV1WebappsIdPut: async (id: string, id2?: string, stsClientId?: string, stsClientSecret?: string, colorPrimary?: string, colorSecondary?: string, colorNeutral?: string, colorDark?: string, colorLight?: string, template?: string, googleClientId?: string, domainType?: DomainType, iPAddress?: string, domainVerificationId?: string, domain?: string, deployStatus?: DeployStatus, formFile?: File, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
221
+ apiV1WebappsIdPut: async (id: string, updateWebAppCommand?: UpdateWebAppCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
240
222
  // verify required parameter 'id' is not null or undefined
241
223
  assertParamExists('apiV1WebappsIdPut', 'id', id)
242
224
  const localVarPath = `/api/v1/webapps/{id}`
@@ -251,84 +233,19 @@ export const WebAppsApiAxiosParamCreator = function (configuration?: Configurati
251
233
  const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
252
234
  const localVarHeaderParameter = {} as any;
253
235
  const localVarQueryParameter = {} as any;
254
- const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
255
236
 
256
237
  // authentication oauth2 required
257
238
  // oauth required
258
239
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
259
240
 
260
241
 
261
- if (id2 !== undefined) {
262
- localVarFormParams.append('Id', id2 as any);
263
- }
264
-
265
- if (stsClientId !== undefined) {
266
- localVarFormParams.append('StsClientId', stsClientId as any);
267
- }
268
-
269
- if (stsClientSecret !== undefined) {
270
- localVarFormParams.append('StsClientSecret', stsClientSecret as any);
271
- }
272
-
273
- if (colorPrimary !== undefined) {
274
- localVarFormParams.append('ColorPrimary', colorPrimary as any);
275
- }
276
-
277
- if (colorSecondary !== undefined) {
278
- localVarFormParams.append('ColorSecondary', colorSecondary as any);
279
- }
280
-
281
- if (colorNeutral !== undefined) {
282
- localVarFormParams.append('ColorNeutral', colorNeutral as any);
283
- }
284
-
285
- if (colorDark !== undefined) {
286
- localVarFormParams.append('ColorDark', colorDark as any);
287
- }
288
-
289
- if (colorLight !== undefined) {
290
- localVarFormParams.append('ColorLight', colorLight as any);
291
- }
292
-
293
- if (template !== undefined) {
294
- localVarFormParams.append('Template', template as any);
295
- }
296
-
297
- if (googleClientId !== undefined) {
298
- localVarFormParams.append('GoogleClientId', googleClientId as any);
299
- }
300
-
301
- if (domainType !== undefined) {
302
- localVarFormParams.append('DomainType', new Blob([JSON.stringify(domainType)], { type: "application/json", }));
303
- }
304
-
305
- if (iPAddress !== undefined) {
306
- localVarFormParams.append('IPAddress', iPAddress as any);
307
- }
308
-
309
- if (domainVerificationId !== undefined) {
310
- localVarFormParams.append('DomainVerificationId', domainVerificationId as any);
311
- }
312
-
313
- if (domain !== undefined) {
314
- localVarFormParams.append('Domain', domain as any);
315
- }
316
-
317
- if (deployStatus !== undefined) {
318
- localVarFormParams.append('DeployStatus', new Blob([JSON.stringify(deployStatus)], { type: "application/json", }));
319
- }
320
-
321
- if (formFile !== undefined) {
322
- localVarFormParams.append('FormFile', formFile as any);
323
- }
324
-
325
-
326
- localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
327
242
 
243
+ localVarHeaderParameter['Content-Type'] = 'application/json';
244
+
328
245
  setSearchParams(localVarUrlObj, localVarQueryParameter);
329
246
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
330
247
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
331
- localVarRequestOptions.data = localVarFormParams;
248
+ localVarRequestOptions.data = serializeDataIfNeeded(updateWebAppCommand, localVarRequestOptions, configuration)
332
249
 
333
250
  return {
334
251
  url: toPathString(localVarUrlObj),
@@ -338,25 +255,11 @@ export const WebAppsApiAxiosParamCreator = function (configuration?: Configurati
338
255
  /**
339
256
  *
340
257
  * @summary Create WebApp configuration
341
- * @param {string} [hospitalId]
342
- * @param {string} [stsClientId]
343
- * @param {string} [stsClientSecret]
344
- * @param {string} [colorPrimary]
345
- * @param {string} [colorSecondary]
346
- * @param {string} [colorNeutral]
347
- * @param {string} [colorDark]
348
- * @param {string} [colorLight]
349
- * @param {string} [template]
350
- * @param {string} [googleClientId]
351
- * @param {DomainType} [domainType]
352
- * @param {string} [iPAddress]
353
- * @param {string} [domainVerificationId]
354
- * @param {string} [domain]
355
- * @param {File} [favicon]
258
+ * @param {CreateWebAppCommand} [createWebAppCommand]
356
259
  * @param {*} [options] Override http request option.
357
260
  * @throws {RequiredError}
358
261
  */
359
- apiV1WebappsPost: async (hospitalId?: string, stsClientId?: string, stsClientSecret?: string, colorPrimary?: string, colorSecondary?: string, colorNeutral?: string, colorDark?: string, colorLight?: string, template?: string, googleClientId?: string, domainType?: DomainType, iPAddress?: string, domainVerificationId?: string, domain?: string, favicon?: File, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
262
+ apiV1WebappsPost: async (createWebAppCommand?: CreateWebAppCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
360
263
  const localVarPath = `/api/v1/webapps`;
361
264
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
362
265
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -368,80 +271,19 @@ export const WebAppsApiAxiosParamCreator = function (configuration?: Configurati
368
271
  const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
369
272
  const localVarHeaderParameter = {} as any;
370
273
  const localVarQueryParameter = {} as any;
371
- const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
372
274
 
373
275
  // authentication oauth2 required
374
276
  // oauth required
375
277
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
376
278
 
377
279
 
378
- if (hospitalId !== undefined) {
379
- localVarFormParams.append('HospitalId', hospitalId as any);
380
- }
381
-
382
- if (stsClientId !== undefined) {
383
- localVarFormParams.append('StsClientId', stsClientId as any);
384
- }
385
-
386
- if (stsClientSecret !== undefined) {
387
- localVarFormParams.append('StsClientSecret', stsClientSecret as any);
388
- }
389
-
390
- if (colorPrimary !== undefined) {
391
- localVarFormParams.append('ColorPrimary', colorPrimary as any);
392
- }
393
-
394
- if (colorSecondary !== undefined) {
395
- localVarFormParams.append('ColorSecondary', colorSecondary as any);
396
- }
397
-
398
- if (colorNeutral !== undefined) {
399
- localVarFormParams.append('ColorNeutral', colorNeutral as any);
400
- }
401
-
402
- if (colorDark !== undefined) {
403
- localVarFormParams.append('ColorDark', colorDark as any);
404
- }
405
-
406
- if (colorLight !== undefined) {
407
- localVarFormParams.append('ColorLight', colorLight as any);
408
- }
409
-
410
- if (template !== undefined) {
411
- localVarFormParams.append('Template', template as any);
412
- }
413
-
414
- if (googleClientId !== undefined) {
415
- localVarFormParams.append('GoogleClientId', googleClientId as any);
416
- }
417
-
418
- if (domainType !== undefined) {
419
- localVarFormParams.append('DomainType', new Blob([JSON.stringify(domainType)], { type: "application/json", }));
420
- }
421
-
422
- if (iPAddress !== undefined) {
423
- localVarFormParams.append('IPAddress', iPAddress as any);
424
- }
425
-
426
- if (domainVerificationId !== undefined) {
427
- localVarFormParams.append('DomainVerificationId', domainVerificationId as any);
428
- }
429
-
430
- if (domain !== undefined) {
431
- localVarFormParams.append('Domain', domain as any);
432
- }
433
-
434
- if (favicon !== undefined) {
435
- localVarFormParams.append('Favicon', favicon as any);
436
- }
437
-
438
-
439
- localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
440
280
 
281
+ localVarHeaderParameter['Content-Type'] = 'application/json';
282
+
441
283
  setSearchParams(localVarUrlObj, localVarQueryParameter);
442
284
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
443
285
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
444
- localVarRequestOptions.data = localVarFormParams;
286
+ localVarRequestOptions.data = serializeDataIfNeeded(createWebAppCommand, localVarRequestOptions, configuration)
445
287
 
446
288
  return {
447
289
  url: toPathString(localVarUrlObj),
@@ -462,11 +304,10 @@ export const WebAppsApiFp = function(configuration?: Configuration) {
462
304
  *
463
305
  * @summary Retrive all WebApp configuration
464
306
  * @param {string} [id]
465
- * @param {string} [stsClientId]
466
307
  * @param {string} [hospitalId]
467
308
  * @param {string} [hospitalName]
468
- * @param {string} [template]
469
- * @param {DomainType} [domainType]
309
+ * @param {string} [appName]
310
+ * @param {string} [hostName]
470
311
  * @param {DeployStatus} [deployStatus]
471
312
  * @param {string} [languageCode]
472
313
  * @param {number} [page]
@@ -475,8 +316,8 @@ export const WebAppsApiFp = function(configuration?: Configuration) {
475
316
  * @param {*} [options] Override http request option.
476
317
  * @throws {RequiredError}
477
318
  */
478
- async apiV1WebappsGet(id?: string, stsClientId?: string, hospitalId?: string, hospitalName?: string, template?: string, domainType?: DomainType, deployStatus?: DeployStatus, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebAppsModel>> {
479
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1WebappsGet(id, stsClientId, hospitalId, hospitalName, template, domainType, deployStatus, languageCode, page, limit, lastRetrieved, options);
319
+ async apiV1WebappsGet(id?: string, hospitalId?: string, hospitalName?: string, appName?: string, hostName?: string, deployStatus?: DeployStatus, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebAppsModel>> {
320
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1WebappsGet(id, hospitalId, hospitalName, appName, hostName, deployStatus, languageCode, page, limit, lastRetrieved, options);
480
321
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
481
322
  },
482
323
  /**
@@ -507,52 +348,23 @@ export const WebAppsApiFp = function(configuration?: Configuration) {
507
348
  *
508
349
  * @summary Update WebApp configuration
509
350
  * @param {string} id
510
- * @param {string} [id2]
511
- * @param {string} [stsClientId]
512
- * @param {string} [stsClientSecret]
513
- * @param {string} [colorPrimary]
514
- * @param {string} [colorSecondary]
515
- * @param {string} [colorNeutral]
516
- * @param {string} [colorDark]
517
- * @param {string} [colorLight]
518
- * @param {string} [template]
519
- * @param {string} [googleClientId]
520
- * @param {DomainType} [domainType]
521
- * @param {string} [iPAddress]
522
- * @param {string} [domainVerificationId]
523
- * @param {string} [domain]
524
- * @param {DeployStatus} [deployStatus]
525
- * @param {File} [formFile]
351
+ * @param {UpdateWebAppCommand} [updateWebAppCommand]
526
352
  * @param {*} [options] Override http request option.
527
353
  * @throws {RequiredError}
528
354
  */
529
- async apiV1WebappsIdPut(id: string, id2?: string, stsClientId?: string, stsClientSecret?: string, colorPrimary?: string, colorSecondary?: string, colorNeutral?: string, colorDark?: string, colorLight?: string, template?: string, googleClientId?: string, domainType?: DomainType, iPAddress?: string, domainVerificationId?: string, domain?: string, deployStatus?: DeployStatus, formFile?: File, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebAppModel>> {
530
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1WebappsIdPut(id, id2, stsClientId, stsClientSecret, colorPrimary, colorSecondary, colorNeutral, colorDark, colorLight, template, googleClientId, domainType, iPAddress, domainVerificationId, domain, deployStatus, formFile, options);
355
+ async apiV1WebappsIdPut(id: string, updateWebAppCommand?: UpdateWebAppCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebAppModel>> {
356
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1WebappsIdPut(id, updateWebAppCommand, options);
531
357
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
532
358
  },
533
359
  /**
534
360
  *
535
361
  * @summary Create WebApp configuration
536
- * @param {string} [hospitalId]
537
- * @param {string} [stsClientId]
538
- * @param {string} [stsClientSecret]
539
- * @param {string} [colorPrimary]
540
- * @param {string} [colorSecondary]
541
- * @param {string} [colorNeutral]
542
- * @param {string} [colorDark]
543
- * @param {string} [colorLight]
544
- * @param {string} [template]
545
- * @param {string} [googleClientId]
546
- * @param {DomainType} [domainType]
547
- * @param {string} [iPAddress]
548
- * @param {string} [domainVerificationId]
549
- * @param {string} [domain]
550
- * @param {File} [favicon]
362
+ * @param {CreateWebAppCommand} [createWebAppCommand]
551
363
  * @param {*} [options] Override http request option.
552
364
  * @throws {RequiredError}
553
365
  */
554
- async apiV1WebappsPost(hospitalId?: string, stsClientId?: string, stsClientSecret?: string, colorPrimary?: string, colorSecondary?: string, colorNeutral?: string, colorDark?: string, colorLight?: string, template?: string, googleClientId?: string, domainType?: DomainType, iPAddress?: string, domainVerificationId?: string, domain?: string, favicon?: File, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebAppModel>> {
555
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1WebappsPost(hospitalId, stsClientId, stsClientSecret, colorPrimary, colorSecondary, colorNeutral, colorDark, colorLight, template, googleClientId, domainType, iPAddress, domainVerificationId, domain, favicon, options);
366
+ async apiV1WebappsPost(createWebAppCommand?: CreateWebAppCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebAppModel>> {
367
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1WebappsPost(createWebAppCommand, options);
556
368
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
557
369
  },
558
370
  }
@@ -569,11 +381,10 @@ export const WebAppsApiFactory = function (configuration?: Configuration, basePa
569
381
  *
570
382
  * @summary Retrive all WebApp configuration
571
383
  * @param {string} [id]
572
- * @param {string} [stsClientId]
573
384
  * @param {string} [hospitalId]
574
385
  * @param {string} [hospitalName]
575
- * @param {string} [template]
576
- * @param {DomainType} [domainType]
386
+ * @param {string} [appName]
387
+ * @param {string} [hostName]
577
388
  * @param {DeployStatus} [deployStatus]
578
389
  * @param {string} [languageCode]
579
390
  * @param {number} [page]
@@ -582,8 +393,8 @@ export const WebAppsApiFactory = function (configuration?: Configuration, basePa
582
393
  * @param {*} [options] Override http request option.
583
394
  * @throws {RequiredError}
584
395
  */
585
- apiV1WebappsGet(id?: string, stsClientId?: string, hospitalId?: string, hospitalName?: string, template?: string, domainType?: DomainType, deployStatus?: DeployStatus, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<WebAppsModel> {
586
- return localVarFp.apiV1WebappsGet(id, stsClientId, hospitalId, hospitalName, template, domainType, deployStatus, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
396
+ apiV1WebappsGet(id?: string, hospitalId?: string, hospitalName?: string, appName?: string, hostName?: string, deployStatus?: DeployStatus, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<WebAppsModel> {
397
+ return localVarFp.apiV1WebappsGet(id, hospitalId, hospitalName, appName, hostName, deployStatus, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
587
398
  },
588
399
  /**
589
400
  *
@@ -611,51 +422,22 @@ export const WebAppsApiFactory = function (configuration?: Configuration, basePa
611
422
  *
612
423
  * @summary Update WebApp configuration
613
424
  * @param {string} id
614
- * @param {string} [id2]
615
- * @param {string} [stsClientId]
616
- * @param {string} [stsClientSecret]
617
- * @param {string} [colorPrimary]
618
- * @param {string} [colorSecondary]
619
- * @param {string} [colorNeutral]
620
- * @param {string} [colorDark]
621
- * @param {string} [colorLight]
622
- * @param {string} [template]
623
- * @param {string} [googleClientId]
624
- * @param {DomainType} [domainType]
625
- * @param {string} [iPAddress]
626
- * @param {string} [domainVerificationId]
627
- * @param {string} [domain]
628
- * @param {DeployStatus} [deployStatus]
629
- * @param {File} [formFile]
425
+ * @param {UpdateWebAppCommand} [updateWebAppCommand]
630
426
  * @param {*} [options] Override http request option.
631
427
  * @throws {RequiredError}
632
428
  */
633
- apiV1WebappsIdPut(id: string, id2?: string, stsClientId?: string, stsClientSecret?: string, colorPrimary?: string, colorSecondary?: string, colorNeutral?: string, colorDark?: string, colorLight?: string, template?: string, googleClientId?: string, domainType?: DomainType, iPAddress?: string, domainVerificationId?: string, domain?: string, deployStatus?: DeployStatus, formFile?: File, options?: any): AxiosPromise<WebAppModel> {
634
- return localVarFp.apiV1WebappsIdPut(id, id2, stsClientId, stsClientSecret, colorPrimary, colorSecondary, colorNeutral, colorDark, colorLight, template, googleClientId, domainType, iPAddress, domainVerificationId, domain, deployStatus, formFile, options).then((request) => request(axios, basePath));
429
+ apiV1WebappsIdPut(id: string, updateWebAppCommand?: UpdateWebAppCommand, options?: any): AxiosPromise<WebAppModel> {
430
+ return localVarFp.apiV1WebappsIdPut(id, updateWebAppCommand, options).then((request) => request(axios, basePath));
635
431
  },
636
432
  /**
637
433
  *
638
434
  * @summary Create WebApp configuration
639
- * @param {string} [hospitalId]
640
- * @param {string} [stsClientId]
641
- * @param {string} [stsClientSecret]
642
- * @param {string} [colorPrimary]
643
- * @param {string} [colorSecondary]
644
- * @param {string} [colorNeutral]
645
- * @param {string} [colorDark]
646
- * @param {string} [colorLight]
647
- * @param {string} [template]
648
- * @param {string} [googleClientId]
649
- * @param {DomainType} [domainType]
650
- * @param {string} [iPAddress]
651
- * @param {string} [domainVerificationId]
652
- * @param {string} [domain]
653
- * @param {File} [favicon]
435
+ * @param {CreateWebAppCommand} [createWebAppCommand]
654
436
  * @param {*} [options] Override http request option.
655
437
  * @throws {RequiredError}
656
438
  */
657
- apiV1WebappsPost(hospitalId?: string, stsClientId?: string, stsClientSecret?: string, colorPrimary?: string, colorSecondary?: string, colorNeutral?: string, colorDark?: string, colorLight?: string, template?: string, googleClientId?: string, domainType?: DomainType, iPAddress?: string, domainVerificationId?: string, domain?: string, favicon?: File, options?: any): AxiosPromise<WebAppModel> {
658
- return localVarFp.apiV1WebappsPost(hospitalId, stsClientId, stsClientSecret, colorPrimary, colorSecondary, colorNeutral, colorDark, colorLight, template, googleClientId, domainType, iPAddress, domainVerificationId, domain, favicon, options).then((request) => request(axios, basePath));
439
+ apiV1WebappsPost(createWebAppCommand?: CreateWebAppCommand, options?: any): AxiosPromise<WebAppModel> {
440
+ return localVarFp.apiV1WebappsPost(createWebAppCommand, options).then((request) => request(axios, basePath));
659
441
  },
660
442
  };
661
443
  };
@@ -673,13 +455,6 @@ export interface WebAppsApiApiV1WebappsGetRequest {
673
455
  */
674
456
  readonly id?: string
675
457
 
676
- /**
677
- *
678
- * @type {string}
679
- * @memberof WebAppsApiApiV1WebappsGet
680
- */
681
- readonly stsClientId?: string
682
-
683
458
  /**
684
459
  *
685
460
  * @type {string}
@@ -699,14 +474,14 @@ export interface WebAppsApiApiV1WebappsGetRequest {
699
474
  * @type {string}
700
475
  * @memberof WebAppsApiApiV1WebappsGet
701
476
  */
702
- readonly template?: string
477
+ readonly appName?: string
703
478
 
704
479
  /**
705
480
  *
706
- * @type {DomainType}
481
+ * @type {string}
707
482
  * @memberof WebAppsApiApiV1WebappsGet
708
483
  */
709
- readonly domainType?: DomainType
484
+ readonly hostName?: string
710
485
 
711
486
  /**
712
487
  *
@@ -801,115 +576,10 @@ export interface WebAppsApiApiV1WebappsIdPutRequest {
801
576
 
802
577
  /**
803
578
  *
804
- * @type {string}
805
- * @memberof WebAppsApiApiV1WebappsIdPut
806
- */
807
- readonly id2?: string
808
-
809
- /**
810
- *
811
- * @type {string}
812
- * @memberof WebAppsApiApiV1WebappsIdPut
813
- */
814
- readonly stsClientId?: string
815
-
816
- /**
817
- *
818
- * @type {string}
819
- * @memberof WebAppsApiApiV1WebappsIdPut
820
- */
821
- readonly stsClientSecret?: string
822
-
823
- /**
824
- *
825
- * @type {string}
826
- * @memberof WebAppsApiApiV1WebappsIdPut
827
- */
828
- readonly colorPrimary?: string
829
-
830
- /**
831
- *
832
- * @type {string}
833
- * @memberof WebAppsApiApiV1WebappsIdPut
834
- */
835
- readonly colorSecondary?: string
836
-
837
- /**
838
- *
839
- * @type {string}
840
- * @memberof WebAppsApiApiV1WebappsIdPut
841
- */
842
- readonly colorNeutral?: string
843
-
844
- /**
845
- *
846
- * @type {string}
847
- * @memberof WebAppsApiApiV1WebappsIdPut
848
- */
849
- readonly colorDark?: string
850
-
851
- /**
852
- *
853
- * @type {string}
854
- * @memberof WebAppsApiApiV1WebappsIdPut
855
- */
856
- readonly colorLight?: string
857
-
858
- /**
859
- *
860
- * @type {string}
861
- * @memberof WebAppsApiApiV1WebappsIdPut
862
- */
863
- readonly template?: string
864
-
865
- /**
866
- *
867
- * @type {string}
868
- * @memberof WebAppsApiApiV1WebappsIdPut
869
- */
870
- readonly googleClientId?: string
871
-
872
- /**
873
- *
874
- * @type {DomainType}
875
- * @memberof WebAppsApiApiV1WebappsIdPut
876
- */
877
- readonly domainType?: DomainType
878
-
879
- /**
880
- *
881
- * @type {string}
882
- * @memberof WebAppsApiApiV1WebappsIdPut
883
- */
884
- readonly iPAddress?: string
885
-
886
- /**
887
- *
888
- * @type {string}
889
- * @memberof WebAppsApiApiV1WebappsIdPut
890
- */
891
- readonly domainVerificationId?: string
892
-
893
- /**
894
- *
895
- * @type {string}
579
+ * @type {UpdateWebAppCommand}
896
580
  * @memberof WebAppsApiApiV1WebappsIdPut
897
581
  */
898
- readonly domain?: string
899
-
900
- /**
901
- *
902
- * @type {DeployStatus}
903
- * @memberof WebAppsApiApiV1WebappsIdPut
904
- */
905
- readonly deployStatus?: DeployStatus
906
-
907
- /**
908
- *
909
- * @type {File}
910
- * @memberof WebAppsApiApiV1WebappsIdPut
911
- */
912
- readonly formFile?: File
582
+ readonly updateWebAppCommand?: UpdateWebAppCommand
913
583
  }
914
584
 
915
585
  /**
@@ -920,108 +590,10 @@ export interface WebAppsApiApiV1WebappsIdPutRequest {
920
590
  export interface WebAppsApiApiV1WebappsPostRequest {
921
591
  /**
922
592
  *
923
- * @type {string}
924
- * @memberof WebAppsApiApiV1WebappsPost
925
- */
926
- readonly hospitalId?: string
927
-
928
- /**
929
- *
930
- * @type {string}
931
- * @memberof WebAppsApiApiV1WebappsPost
932
- */
933
- readonly stsClientId?: string
934
-
935
- /**
936
- *
937
- * @type {string}
938
- * @memberof WebAppsApiApiV1WebappsPost
939
- */
940
- readonly stsClientSecret?: string
941
-
942
- /**
943
- *
944
- * @type {string}
945
- * @memberof WebAppsApiApiV1WebappsPost
946
- */
947
- readonly colorPrimary?: string
948
-
949
- /**
950
- *
951
- * @type {string}
952
- * @memberof WebAppsApiApiV1WebappsPost
953
- */
954
- readonly colorSecondary?: string
955
-
956
- /**
957
- *
958
- * @type {string}
959
- * @memberof WebAppsApiApiV1WebappsPost
960
- */
961
- readonly colorNeutral?: string
962
-
963
- /**
964
- *
965
- * @type {string}
966
- * @memberof WebAppsApiApiV1WebappsPost
967
- */
968
- readonly colorDark?: string
969
-
970
- /**
971
- *
972
- * @type {string}
973
- * @memberof WebAppsApiApiV1WebappsPost
974
- */
975
- readonly colorLight?: string
976
-
977
- /**
978
- *
979
- * @type {string}
980
- * @memberof WebAppsApiApiV1WebappsPost
981
- */
982
- readonly template?: string
983
-
984
- /**
985
- *
986
- * @type {string}
987
- * @memberof WebAppsApiApiV1WebappsPost
988
- */
989
- readonly googleClientId?: string
990
-
991
- /**
992
- *
993
- * @type {DomainType}
994
- * @memberof WebAppsApiApiV1WebappsPost
995
- */
996
- readonly domainType?: DomainType
997
-
998
- /**
999
- *
1000
- * @type {string}
1001
- * @memberof WebAppsApiApiV1WebappsPost
1002
- */
1003
- readonly iPAddress?: string
1004
-
1005
- /**
1006
- *
1007
- * @type {string}
1008
- * @memberof WebAppsApiApiV1WebappsPost
1009
- */
1010
- readonly domainVerificationId?: string
1011
-
1012
- /**
1013
- *
1014
- * @type {string}
1015
- * @memberof WebAppsApiApiV1WebappsPost
1016
- */
1017
- readonly domain?: string
1018
-
1019
- /**
1020
- *
1021
- * @type {File}
593
+ * @type {CreateWebAppCommand}
1022
594
  * @memberof WebAppsApiApiV1WebappsPost
1023
595
  */
1024
- readonly favicon?: File
596
+ readonly createWebAppCommand?: CreateWebAppCommand
1025
597
  }
1026
598
 
1027
599
  /**
@@ -1040,7 +612,7 @@ export class WebAppsApi extends BaseAPI {
1040
612
  * @memberof WebAppsApi
1041
613
  */
1042
614
  public apiV1WebappsGet(requestParameters: WebAppsApiApiV1WebappsGetRequest = {}, options?: AxiosRequestConfig) {
1043
- return WebAppsApiFp(this.configuration).apiV1WebappsGet(requestParameters.id, requestParameters.stsClientId, requestParameters.hospitalId, requestParameters.hospitalName, requestParameters.template, requestParameters.domainType, requestParameters.deployStatus, requestParameters.languageCode, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
615
+ return WebAppsApiFp(this.configuration).apiV1WebappsGet(requestParameters.id, requestParameters.hospitalId, requestParameters.hospitalName, requestParameters.appName, requestParameters.hostName, requestParameters.deployStatus, requestParameters.languageCode, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
1044
616
  }
1045
617
 
1046
618
  /**
@@ -1076,7 +648,7 @@ export class WebAppsApi extends BaseAPI {
1076
648
  * @memberof WebAppsApi
1077
649
  */
1078
650
  public apiV1WebappsIdPut(requestParameters: WebAppsApiApiV1WebappsIdPutRequest, options?: AxiosRequestConfig) {
1079
- return WebAppsApiFp(this.configuration).apiV1WebappsIdPut(requestParameters.id, requestParameters.id2, requestParameters.stsClientId, requestParameters.stsClientSecret, requestParameters.colorPrimary, requestParameters.colorSecondary, requestParameters.colorNeutral, requestParameters.colorDark, requestParameters.colorLight, requestParameters.template, requestParameters.googleClientId, requestParameters.domainType, requestParameters.iPAddress, requestParameters.domainVerificationId, requestParameters.domain, requestParameters.deployStatus, requestParameters.formFile, options).then((request) => request(this.axios, this.basePath));
651
+ return WebAppsApiFp(this.configuration).apiV1WebappsIdPut(requestParameters.id, requestParameters.updateWebAppCommand, options).then((request) => request(this.axios, this.basePath));
1080
652
  }
1081
653
 
1082
654
  /**
@@ -1088,6 +660,6 @@ export class WebAppsApi extends BaseAPI {
1088
660
  * @memberof WebAppsApi
1089
661
  */
1090
662
  public apiV1WebappsPost(requestParameters: WebAppsApiApiV1WebappsPostRequest = {}, options?: AxiosRequestConfig) {
1091
- return WebAppsApiFp(this.configuration).apiV1WebappsPost(requestParameters.hospitalId, requestParameters.stsClientId, requestParameters.stsClientSecret, requestParameters.colorPrimary, requestParameters.colorSecondary, requestParameters.colorNeutral, requestParameters.colorDark, requestParameters.colorLight, requestParameters.template, requestParameters.googleClientId, requestParameters.domainType, requestParameters.iPAddress, requestParameters.domainVerificationId, requestParameters.domain, requestParameters.favicon, options).then((request) => request(this.axios, this.basePath));
663
+ return WebAppsApiFp(this.configuration).apiV1WebappsPost(requestParameters.createWebAppCommand, options).then((request) => request(this.axios, this.basePath));
1092
664
  }
1093
665
  }