ch-admin-api-client-typescript 5.9.12 → 5.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api/survey-results-api.d.ts +4 -0
- package/lib/api/survey-results-api.d.ts.map +1 -1
- package/lib/api/survey-results-api.js +4 -0
- package/lib/api/web-apps-api.d.ts +277 -18
- package/lib/api/web-apps-api.d.ts.map +1 -1
- package/lib/api/web-apps-api.js +206 -24
- package/lib/models/create-deal-command.d.ts +6 -0
- package/lib/models/create-deal-command.d.ts.map +1 -1
- package/lib/models/create-hospital-command.d.ts +12 -0
- package/lib/models/create-hospital-command.d.ts.map +1 -1
- package/lib/models/hospital-item-model.d.ts +12 -0
- package/lib/models/hospital-item-model.d.ts.map +1 -1
- package/lib/models/hospital-model.d.ts +12 -0
- package/lib/models/hospital-model.d.ts.map +1 -1
- package/lib/models/index.d.ts +0 -2
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +0 -2
- package/lib/models/survey-result-element-model.d.ts +7 -0
- package/lib/models/survey-result-element-model.d.ts.map +1 -1
- package/lib/models/survey-result-item-model.d.ts +0 -7
- package/lib/models/survey-result-item-model.d.ts.map +1 -1
- package/lib/models/survey-result-model.d.ts +4 -4
- package/lib/models/survey-result-model.d.ts.map +1 -1
- package/lib/models/update-deal-command.d.ts +6 -0
- package/lib/models/update-deal-command.d.ts.map +1 -1
- package/lib/models/update-hospital-command.d.ts +12 -0
- package/lib/models/update-hospital-command.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +0 -2
- package/src/api/survey-results-api.ts +4 -0
- package/src/api/web-apps-api.ts +444 -32
- package/src/models/create-deal-command.ts +6 -0
- package/src/models/create-hospital-command.ts +12 -0
- package/src/models/hospital-item-model.ts +12 -0
- package/src/models/hospital-model.ts +12 -0
- package/src/models/index.ts +0 -2
- package/src/models/survey-result-element-model.ts +9 -0
- package/src/models/survey-result-item-model.ts +0 -9
- package/src/models/survey-result-model.ts +4 -4
- package/src/models/update-deal-command.ts +6 -0
- package/src/models/update-hospital-command.ts +12 -0
- package/lib/models/create-web-app-command.d.ts +0 -104
- package/lib/models/create-web-app-command.d.ts.map +0 -1
- package/lib/models/create-web-app-command.js +0 -15
- package/lib/models/update-web-app-command.d.ts +0 -105
- package/lib/models/update-web-app-command.d.ts.map +0 -1
- package/lib/models/update-web-app-command.js +0 -15
- package/src/models/create-web-app-command.ts +0 -111
- package/src/models/update-web-app-command.ts +0 -114
package/src/api/web-apps-api.ts
CHANGED
|
@@ -21,16 +21,12 @@ 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 { CreateWebAppCommand } from '../models';
|
|
25
|
-
// @ts-ignore
|
|
26
24
|
import { DeployStatus } from '../models';
|
|
27
25
|
// @ts-ignore
|
|
28
26
|
import { DomainType } from '../models';
|
|
29
27
|
// @ts-ignore
|
|
30
28
|
import { ProblemDetails } from '../models';
|
|
31
29
|
// @ts-ignore
|
|
32
|
-
import { UpdateWebAppCommand } from '../models';
|
|
33
|
-
// @ts-ignore
|
|
34
30
|
import { WebAppModel } from '../models';
|
|
35
31
|
// @ts-ignore
|
|
36
32
|
import { WebAppsModel } from '../models';
|
|
@@ -221,11 +217,26 @@ export const WebAppsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
221
217
|
*
|
|
222
218
|
* @summary Update WebApp configuration
|
|
223
219
|
* @param {string} id
|
|
224
|
-
* @param {
|
|
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]
|
|
225
236
|
* @param {*} [options] Override http request option.
|
|
226
237
|
* @throws {RequiredError}
|
|
227
238
|
*/
|
|
228
|
-
apiV1WebappsIdPut: async (id: string,
|
|
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> => {
|
|
229
240
|
// verify required parameter 'id' is not null or undefined
|
|
230
241
|
assertParamExists('apiV1WebappsIdPut', 'id', id)
|
|
231
242
|
const localVarPath = `/api/v1/webapps/{id}`
|
|
@@ -240,19 +251,84 @@ export const WebAppsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
240
251
|
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
241
252
|
const localVarHeaderParameter = {} as any;
|
|
242
253
|
const localVarQueryParameter = {} as any;
|
|
254
|
+
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
243
255
|
|
|
244
256
|
// authentication oauth2 required
|
|
245
257
|
// oauth required
|
|
246
258
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
247
259
|
|
|
248
260
|
|
|
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';
|
|
249
327
|
|
|
250
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
251
|
-
|
|
252
328
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
253
329
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
254
330
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
255
|
-
localVarRequestOptions.data =
|
|
331
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
256
332
|
|
|
257
333
|
return {
|
|
258
334
|
url: toPathString(localVarUrlObj),
|
|
@@ -262,11 +338,25 @@ export const WebAppsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
262
338
|
/**
|
|
263
339
|
*
|
|
264
340
|
* @summary Create WebApp configuration
|
|
265
|
-
* @param {
|
|
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]
|
|
266
356
|
* @param {*} [options] Override http request option.
|
|
267
357
|
* @throws {RequiredError}
|
|
268
358
|
*/
|
|
269
|
-
apiV1WebappsPost: async (
|
|
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> => {
|
|
270
360
|
const localVarPath = `/api/v1/webapps`;
|
|
271
361
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
272
362
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -278,19 +368,80 @@ export const WebAppsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
278
368
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
279
369
|
const localVarHeaderParameter = {} as any;
|
|
280
370
|
const localVarQueryParameter = {} as any;
|
|
371
|
+
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
281
372
|
|
|
282
373
|
// authentication oauth2 required
|
|
283
374
|
// oauth required
|
|
284
375
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
285
376
|
|
|
286
377
|
|
|
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';
|
|
287
440
|
|
|
288
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
289
|
-
|
|
290
441
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
291
442
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
292
443
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
293
|
-
localVarRequestOptions.data =
|
|
444
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
294
445
|
|
|
295
446
|
return {
|
|
296
447
|
url: toPathString(localVarUrlObj),
|
|
@@ -356,23 +507,52 @@ export const WebAppsApiFp = function(configuration?: Configuration) {
|
|
|
356
507
|
*
|
|
357
508
|
* @summary Update WebApp configuration
|
|
358
509
|
* @param {string} id
|
|
359
|
-
* @param {
|
|
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]
|
|
360
526
|
* @param {*} [options] Override http request option.
|
|
361
527
|
* @throws {RequiredError}
|
|
362
528
|
*/
|
|
363
|
-
async apiV1WebappsIdPut(id: string,
|
|
364
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1WebappsIdPut(id,
|
|
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);
|
|
365
531
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
366
532
|
},
|
|
367
533
|
/**
|
|
368
534
|
*
|
|
369
535
|
* @summary Create WebApp configuration
|
|
370
|
-
* @param {
|
|
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]
|
|
371
551
|
* @param {*} [options] Override http request option.
|
|
372
552
|
* @throws {RequiredError}
|
|
373
553
|
*/
|
|
374
|
-
async apiV1WebappsPost(
|
|
375
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1WebappsPost(
|
|
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);
|
|
376
556
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
377
557
|
},
|
|
378
558
|
}
|
|
@@ -431,22 +611,51 @@ export const WebAppsApiFactory = function (configuration?: Configuration, basePa
|
|
|
431
611
|
*
|
|
432
612
|
* @summary Update WebApp configuration
|
|
433
613
|
* @param {string} id
|
|
434
|
-
* @param {
|
|
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]
|
|
435
630
|
* @param {*} [options] Override http request option.
|
|
436
631
|
* @throws {RequiredError}
|
|
437
632
|
*/
|
|
438
|
-
apiV1WebappsIdPut(id: string,
|
|
439
|
-
return localVarFp.apiV1WebappsIdPut(id,
|
|
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));
|
|
440
635
|
},
|
|
441
636
|
/**
|
|
442
637
|
*
|
|
443
638
|
* @summary Create WebApp configuration
|
|
444
|
-
* @param {
|
|
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]
|
|
445
654
|
* @param {*} [options] Override http request option.
|
|
446
655
|
* @throws {RequiredError}
|
|
447
656
|
*/
|
|
448
|
-
apiV1WebappsPost(
|
|
449
|
-
return localVarFp.apiV1WebappsPost(
|
|
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));
|
|
450
659
|
},
|
|
451
660
|
};
|
|
452
661
|
};
|
|
@@ -592,10 +801,115 @@ export interface WebAppsApiApiV1WebappsIdPutRequest {
|
|
|
592
801
|
|
|
593
802
|
/**
|
|
594
803
|
*
|
|
595
|
-
* @type {
|
|
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}
|
|
596
875
|
* @memberof WebAppsApiApiV1WebappsIdPut
|
|
597
876
|
*/
|
|
598
|
-
readonly
|
|
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}
|
|
896
|
+
* @memberof WebAppsApiApiV1WebappsIdPut
|
|
897
|
+
*/
|
|
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
|
|
599
913
|
}
|
|
600
914
|
|
|
601
915
|
/**
|
|
@@ -606,10 +920,108 @@ export interface WebAppsApiApiV1WebappsIdPutRequest {
|
|
|
606
920
|
export interface WebAppsApiApiV1WebappsPostRequest {
|
|
607
921
|
/**
|
|
608
922
|
*
|
|
609
|
-
* @type {
|
|
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}
|
|
610
1022
|
* @memberof WebAppsApiApiV1WebappsPost
|
|
611
1023
|
*/
|
|
612
|
-
readonly
|
|
1024
|
+
readonly favicon?: File
|
|
613
1025
|
}
|
|
614
1026
|
|
|
615
1027
|
/**
|
|
@@ -664,7 +1076,7 @@ export class WebAppsApi extends BaseAPI {
|
|
|
664
1076
|
* @memberof WebAppsApi
|
|
665
1077
|
*/
|
|
666
1078
|
public apiV1WebappsIdPut(requestParameters: WebAppsApiApiV1WebappsIdPutRequest, options?: AxiosRequestConfig) {
|
|
667
|
-
return WebAppsApiFp(this.configuration).apiV1WebappsIdPut(requestParameters.id, requestParameters.
|
|
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));
|
|
668
1080
|
}
|
|
669
1081
|
|
|
670
1082
|
/**
|
|
@@ -676,6 +1088,6 @@ export class WebAppsApi extends BaseAPI {
|
|
|
676
1088
|
* @memberof WebAppsApi
|
|
677
1089
|
*/
|
|
678
1090
|
public apiV1WebappsPost(requestParameters: WebAppsApiApiV1WebappsPostRequest = {}, options?: AxiosRequestConfig) {
|
|
679
|
-
return WebAppsApiFp(this.configuration).apiV1WebappsPost(requestParameters.
|
|
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));
|
|
680
1092
|
}
|
|
681
1093
|
}
|
|
@@ -71,6 +71,18 @@ export interface CreateHospitalCommand {
|
|
|
71
71
|
* @memberof CreateHospitalCommand
|
|
72
72
|
*/
|
|
73
73
|
'logo'?: string | null;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof CreateHospitalCommand
|
|
78
|
+
*/
|
|
79
|
+
'logoTransparent'?: string | null;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof CreateHospitalCommand
|
|
84
|
+
*/
|
|
85
|
+
'logoWhite'?: string | null;
|
|
74
86
|
/**
|
|
75
87
|
*
|
|
76
88
|
* @type {string}
|
|
@@ -92,6 +92,18 @@ export interface HospitalItemModel {
|
|
|
92
92
|
* @memberof HospitalItemModel
|
|
93
93
|
*/
|
|
94
94
|
'logo'?: string | null;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof HospitalItemModel
|
|
99
|
+
*/
|
|
100
|
+
'logoTransparent'?: string | null;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof HospitalItemModel
|
|
105
|
+
*/
|
|
106
|
+
'logoWhite'?: string | null;
|
|
95
107
|
/**
|
|
96
108
|
*
|
|
97
109
|
* @type {MarketingType}
|
|
@@ -104,6 +104,18 @@ export interface HospitalModel {
|
|
|
104
104
|
* @memberof HospitalModel
|
|
105
105
|
*/
|
|
106
106
|
'logo'?: string | null;
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* @type {string}
|
|
110
|
+
* @memberof HospitalModel
|
|
111
|
+
*/
|
|
112
|
+
'logoTransparent'?: string | null;
|
|
113
|
+
/**
|
|
114
|
+
*
|
|
115
|
+
* @type {string}
|
|
116
|
+
* @memberof HospitalModel
|
|
117
|
+
*/
|
|
118
|
+
'logoWhite'?: string | null;
|
|
107
119
|
/**
|
|
108
120
|
*
|
|
109
121
|
* @type {MarketingType}
|