ch-admin-api-client-typescript 5.19.58 → 5.19.66
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/hospitals-api.d.ts +87 -30
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +116 -26
- package/lib/models/application.d.ts +0 -7
- package/lib/models/application.d.ts.map +1 -1
- package/lib/models/batch-hospital-working-days-command.d.ts +26 -0
- package/lib/models/batch-hospital-working-days-command.d.ts.map +1 -0
- package/lib/models/hospital-working-days-batch-result-model.d.ts +50 -0
- package/lib/models/hospital-working-days-batch-result-model.d.ts.map +1 -0
- package/{src/models/privacy-settings.ts → lib/models/hospital-working-days-batch-result-model.js} +2 -17
- package/lib/models/index.d.ts +3 -1
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +3 -1
- package/lib/models/voice.d.ts +0 -18
- package/lib/models/voice.d.ts.map +1 -1
- package/lib/models/working-day-input-model.d.ts +55 -0
- package/lib/models/working-day-input-model.d.ts.map +1 -0
- package/lib/models/{privacy-settings.d.ts → working-day-input-model.js} +4 -14
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +3 -1
- package/src/api/hospitals-api.ts +151 -49
- package/src/models/application.ts +0 -9
- package/src/models/batch-hospital-working-days-command.ts +33 -0
- package/src/models/hospital-working-days-batch-result-model.ts +57 -0
- package/src/models/index.ts +3 -1
- package/src/models/voice.ts +0 -18
- package/src/models/working-day-input-model.ts +60 -0
- package/lib/models/privacy-settings.d.ts.map +0 -1
- /package/lib/models/{privacy-settings.js → batch-hospital-working-days-command.js} +0 -0
|
@@ -117,6 +117,7 @@ models/batch-deal-package-appointment-timetables-command.ts
|
|
|
117
117
|
models/batch-doctor-affiliation-appointment-timetables-command.ts
|
|
118
118
|
models/batch-hospital-appointment-timetables-command.ts
|
|
119
119
|
models/batch-hospital-specialty-appointment-timetables-command.ts
|
|
120
|
+
models/batch-hospital-working-days-command.ts
|
|
120
121
|
models/batch-service-appointment-timetables-command.ts
|
|
121
122
|
models/batch-update-appointment-timetable-model.ts
|
|
122
123
|
models/buy-number-command.ts
|
|
@@ -331,6 +332,7 @@ models/hospital-specialty-simple-item-model.ts
|
|
|
331
332
|
models/hospital-tag-item-model.ts
|
|
332
333
|
models/hospital-tag-model.ts
|
|
333
334
|
models/hospital-tags-model.ts
|
|
335
|
+
models/hospital-working-days-batch-result-model.ts
|
|
334
336
|
models/hospitals-model.ts
|
|
335
337
|
models/hospitals-simple-model.ts
|
|
336
338
|
models/http-status-code.ts
|
|
@@ -402,7 +404,6 @@ models/policies-model.ts
|
|
|
402
404
|
models/policy-item-model.ts
|
|
403
405
|
models/policy-model.ts
|
|
404
406
|
models/primary-account.ts
|
|
405
|
-
models/privacy-settings.ts
|
|
406
407
|
models/problem-details.ts
|
|
407
408
|
models/procedure.ts
|
|
408
409
|
models/recurring-interval.ts
|
|
@@ -594,6 +595,7 @@ models/web-app-item-model.ts
|
|
|
594
595
|
models/web-app-model.ts
|
|
595
596
|
models/web-apps-model.ts
|
|
596
597
|
models/webhook.ts
|
|
598
|
+
models/working-day-input-model.ts
|
|
597
599
|
models/working-day-item-model.ts
|
|
598
600
|
models/working-day-model.ts
|
|
599
601
|
models/working-days-model.ts
|
package/src/api/hospitals-api.ts
CHANGED
|
@@ -35,6 +35,8 @@ import { BatchHospitalAppointmentTimetablesCommand } from '../models';
|
|
|
35
35
|
// @ts-ignore
|
|
36
36
|
import { BatchHospitalSpecialtyAppointmentTimetablesCommand } from '../models';
|
|
37
37
|
// @ts-ignore
|
|
38
|
+
import { BatchHospitalWorkingDaysCommand } from '../models';
|
|
39
|
+
// @ts-ignore
|
|
38
40
|
import { BatchServiceAppointmentTimetablesCommand } from '../models';
|
|
39
41
|
// @ts-ignore
|
|
40
42
|
import { ContactSortingCommand } from '../models';
|
|
@@ -129,6 +131,8 @@ import { HospitalTagModel } from '../models';
|
|
|
129
131
|
// @ts-ignore
|
|
130
132
|
import { HospitalTagsModel } from '../models';
|
|
131
133
|
// @ts-ignore
|
|
134
|
+
import { HospitalWorkingDaysBatchResultModel } from '../models';
|
|
135
|
+
// @ts-ignore
|
|
132
136
|
import { HospitalsModel } from '../models';
|
|
133
137
|
// @ts-ignore
|
|
134
138
|
import { HospitalsSimpleModel } from '../models';
|
|
@@ -3348,6 +3352,9 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
3348
3352
|
*
|
|
3349
3353
|
* @summary Get managers
|
|
3350
3354
|
* @param {string} hospitalId
|
|
3355
|
+
* @param {number} [page]
|
|
3356
|
+
* @param {number} [limit]
|
|
3357
|
+
* @param {Date} [lastRetrieved]
|
|
3351
3358
|
* @param {string} [id]
|
|
3352
3359
|
* @param {string} [fullname]
|
|
3353
3360
|
* @param {string} [email]
|
|
@@ -3355,13 +3362,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
3355
3362
|
* @param {Date} [dateOfBirth]
|
|
3356
3363
|
* @param {Date} [created]
|
|
3357
3364
|
* @param {boolean} [showHidden]
|
|
3358
|
-
* @param {number} [page]
|
|
3359
|
-
* @param {number} [limit]
|
|
3360
|
-
* @param {Date} [lastRetrieved]
|
|
3361
3365
|
* @param {*} [options] Override http request option.
|
|
3362
3366
|
* @throws {RequiredError}
|
|
3363
3367
|
*/
|
|
3364
|
-
apiV1HospitalsHospitalIdManagersGet: async (hospitalId: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean,
|
|
3368
|
+
apiV1HospitalsHospitalIdManagersGet: async (hospitalId: string, page?: number, limit?: number, lastRetrieved?: Date, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3365
3369
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
3366
3370
|
assertParamExists('apiV1HospitalsHospitalIdManagersGet', 'hospitalId', hospitalId)
|
|
3367
3371
|
const localVarPath = `/api/v1/hospitals/{hospitalId}/managers`
|
|
@@ -3381,6 +3385,20 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
3381
3385
|
// oauth required
|
|
3382
3386
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
3383
3387
|
|
|
3388
|
+
if (page !== undefined) {
|
|
3389
|
+
localVarQueryParameter['page'] = page;
|
|
3390
|
+
}
|
|
3391
|
+
|
|
3392
|
+
if (limit !== undefined) {
|
|
3393
|
+
localVarQueryParameter['limit'] = limit;
|
|
3394
|
+
}
|
|
3395
|
+
|
|
3396
|
+
if (lastRetrieved !== undefined) {
|
|
3397
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
3398
|
+
(lastRetrieved as any).toISOString() :
|
|
3399
|
+
lastRetrieved;
|
|
3400
|
+
}
|
|
3401
|
+
|
|
3384
3402
|
if (id !== undefined) {
|
|
3385
3403
|
localVarQueryParameter['Id'] = id;
|
|
3386
3404
|
}
|
|
@@ -3413,20 +3431,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
3413
3431
|
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
3414
3432
|
}
|
|
3415
3433
|
|
|
3416
|
-
if (page !== undefined) {
|
|
3417
|
-
localVarQueryParameter['page'] = page;
|
|
3418
|
-
}
|
|
3419
|
-
|
|
3420
|
-
if (limit !== undefined) {
|
|
3421
|
-
localVarQueryParameter['limit'] = limit;
|
|
3422
|
-
}
|
|
3423
|
-
|
|
3424
|
-
if (lastRetrieved !== undefined) {
|
|
3425
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
3426
|
-
(lastRetrieved as any).toISOString() :
|
|
3427
|
-
lastRetrieved;
|
|
3428
|
-
}
|
|
3429
|
-
|
|
3430
3434
|
|
|
3431
3435
|
|
|
3432
3436
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -7743,6 +7747,48 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
7743
7747
|
options: localVarRequestOptions,
|
|
7744
7748
|
};
|
|
7745
7749
|
},
|
|
7750
|
+
/**
|
|
7751
|
+
*
|
|
7752
|
+
* @summary Batch HospitalWorkingDays.
|
|
7753
|
+
* @param {string} hospitalId
|
|
7754
|
+
* @param {BatchHospitalWorkingDaysCommand} [batchHospitalWorkingDaysCommand]
|
|
7755
|
+
* @param {*} [options] Override http request option.
|
|
7756
|
+
* @throws {RequiredError}
|
|
7757
|
+
*/
|
|
7758
|
+
apiV1HospitalsHospitalIdWorkingdaysBatchPatch: async (hospitalId: string, batchHospitalWorkingDaysCommand?: BatchHospitalWorkingDaysCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7759
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
7760
|
+
assertParamExists('apiV1HospitalsHospitalIdWorkingdaysBatchPatch', 'hospitalId', hospitalId)
|
|
7761
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/workingdays/batch`
|
|
7762
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
7763
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7764
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7765
|
+
let baseOptions;
|
|
7766
|
+
if (configuration) {
|
|
7767
|
+
baseOptions = configuration.baseOptions;
|
|
7768
|
+
}
|
|
7769
|
+
|
|
7770
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
7771
|
+
const localVarHeaderParameter = {} as any;
|
|
7772
|
+
const localVarQueryParameter = {} as any;
|
|
7773
|
+
|
|
7774
|
+
// authentication oauth2 required
|
|
7775
|
+
// oauth required
|
|
7776
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
7777
|
+
|
|
7778
|
+
|
|
7779
|
+
|
|
7780
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7781
|
+
|
|
7782
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7783
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7784
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
7785
|
+
localVarRequestOptions.data = serializeDataIfNeeded(batchHospitalWorkingDaysCommand, localVarRequestOptions, configuration)
|
|
7786
|
+
|
|
7787
|
+
return {
|
|
7788
|
+
url: toPathString(localVarUrlObj),
|
|
7789
|
+
options: localVarRequestOptions,
|
|
7790
|
+
};
|
|
7791
|
+
},
|
|
7746
7792
|
/**
|
|
7747
7793
|
*
|
|
7748
7794
|
* @summary Get all HospitalWorkingDays.
|
|
@@ -9051,6 +9097,9 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
9051
9097
|
*
|
|
9052
9098
|
* @summary Get managers
|
|
9053
9099
|
* @param {string} hospitalId
|
|
9100
|
+
* @param {number} [page]
|
|
9101
|
+
* @param {number} [limit]
|
|
9102
|
+
* @param {Date} [lastRetrieved]
|
|
9054
9103
|
* @param {string} [id]
|
|
9055
9104
|
* @param {string} [fullname]
|
|
9056
9105
|
* @param {string} [email]
|
|
@@ -9058,14 +9107,11 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
9058
9107
|
* @param {Date} [dateOfBirth]
|
|
9059
9108
|
* @param {Date} [created]
|
|
9060
9109
|
* @param {boolean} [showHidden]
|
|
9061
|
-
* @param {number} [page]
|
|
9062
|
-
* @param {number} [limit]
|
|
9063
|
-
* @param {Date} [lastRetrieved]
|
|
9064
9110
|
* @param {*} [options] Override http request option.
|
|
9065
9111
|
* @throws {RequiredError}
|
|
9066
9112
|
*/
|
|
9067
|
-
async apiV1HospitalsHospitalIdManagersGet(hospitalId: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean,
|
|
9068
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdManagersGet(hospitalId, id, fullname, email, gender, dateOfBirth, created, showHidden,
|
|
9113
|
+
async apiV1HospitalsHospitalIdManagersGet(hospitalId: string, page?: number, limit?: number, lastRetrieved?: Date, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManagersModel>> {
|
|
9114
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdManagersGet(hospitalId, page, limit, lastRetrieved, id, fullname, email, gender, dateOfBirth, created, showHidden, options);
|
|
9069
9115
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
9070
9116
|
},
|
|
9071
9117
|
/**
|
|
@@ -10226,6 +10272,18 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
10226
10272
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdTranslatePost(hospitalId, translateHospitalCommand, options);
|
|
10227
10273
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
10228
10274
|
},
|
|
10275
|
+
/**
|
|
10276
|
+
*
|
|
10277
|
+
* @summary Batch HospitalWorkingDays.
|
|
10278
|
+
* @param {string} hospitalId
|
|
10279
|
+
* @param {BatchHospitalWorkingDaysCommand} [batchHospitalWorkingDaysCommand]
|
|
10280
|
+
* @param {*} [options] Override http request option.
|
|
10281
|
+
* @throws {RequiredError}
|
|
10282
|
+
*/
|
|
10283
|
+
async apiV1HospitalsHospitalIdWorkingdaysBatchPatch(hospitalId: string, batchHospitalWorkingDaysCommand?: BatchHospitalWorkingDaysCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalWorkingDaysBatchResultModel>> {
|
|
10284
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdWorkingdaysBatchPatch(hospitalId, batchHospitalWorkingDaysCommand, options);
|
|
10285
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
10286
|
+
},
|
|
10229
10287
|
/**
|
|
10230
10288
|
*
|
|
10231
10289
|
* @summary Get all HospitalWorkingDays.
|
|
@@ -11134,6 +11192,9 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
11134
11192
|
*
|
|
11135
11193
|
* @summary Get managers
|
|
11136
11194
|
* @param {string} hospitalId
|
|
11195
|
+
* @param {number} [page]
|
|
11196
|
+
* @param {number} [limit]
|
|
11197
|
+
* @param {Date} [lastRetrieved]
|
|
11137
11198
|
* @param {string} [id]
|
|
11138
11199
|
* @param {string} [fullname]
|
|
11139
11200
|
* @param {string} [email]
|
|
@@ -11141,14 +11202,11 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
11141
11202
|
* @param {Date} [dateOfBirth]
|
|
11142
11203
|
* @param {Date} [created]
|
|
11143
11204
|
* @param {boolean} [showHidden]
|
|
11144
|
-
* @param {number} [page]
|
|
11145
|
-
* @param {number} [limit]
|
|
11146
|
-
* @param {Date} [lastRetrieved]
|
|
11147
11205
|
* @param {*} [options] Override http request option.
|
|
11148
11206
|
* @throws {RequiredError}
|
|
11149
11207
|
*/
|
|
11150
|
-
apiV1HospitalsHospitalIdManagersGet(hospitalId: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean,
|
|
11151
|
-
return localVarFp.apiV1HospitalsHospitalIdManagersGet(hospitalId, id, fullname, email, gender, dateOfBirth, created, showHidden,
|
|
11208
|
+
apiV1HospitalsHospitalIdManagersGet(hospitalId: string, page?: number, limit?: number, lastRetrieved?: Date, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, options?: any): AxiosPromise<ManagersModel> {
|
|
11209
|
+
return localVarFp.apiV1HospitalsHospitalIdManagersGet(hospitalId, page, limit, lastRetrieved, id, fullname, email, gender, dateOfBirth, created, showHidden, options).then((request) => request(axios, basePath));
|
|
11152
11210
|
},
|
|
11153
11211
|
/**
|
|
11154
11212
|
*
|
|
@@ -12225,6 +12283,17 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
12225
12283
|
apiV1HospitalsHospitalIdTranslatePost(hospitalId: string, translateHospitalCommand?: TranslateHospitalCommand, options?: any): AxiosPromise<boolean> {
|
|
12226
12284
|
return localVarFp.apiV1HospitalsHospitalIdTranslatePost(hospitalId, translateHospitalCommand, options).then((request) => request(axios, basePath));
|
|
12227
12285
|
},
|
|
12286
|
+
/**
|
|
12287
|
+
*
|
|
12288
|
+
* @summary Batch HospitalWorkingDays.
|
|
12289
|
+
* @param {string} hospitalId
|
|
12290
|
+
* @param {BatchHospitalWorkingDaysCommand} [batchHospitalWorkingDaysCommand]
|
|
12291
|
+
* @param {*} [options] Override http request option.
|
|
12292
|
+
* @throws {RequiredError}
|
|
12293
|
+
*/
|
|
12294
|
+
apiV1HospitalsHospitalIdWorkingdaysBatchPatch(hospitalId: string, batchHospitalWorkingDaysCommand?: BatchHospitalWorkingDaysCommand, options?: any): AxiosPromise<HospitalWorkingDaysBatchResultModel> {
|
|
12295
|
+
return localVarFp.apiV1HospitalsHospitalIdWorkingdaysBatchPatch(hospitalId, batchHospitalWorkingDaysCommand, options).then((request) => request(axios, basePath));
|
|
12296
|
+
},
|
|
12228
12297
|
/**
|
|
12229
12298
|
*
|
|
12230
12299
|
* @summary Get all HospitalWorkingDays.
|
|
@@ -14319,73 +14388,73 @@ export interface HospitalsApiApiV1HospitalsHospitalIdManagersGetRequest {
|
|
|
14319
14388
|
|
|
14320
14389
|
/**
|
|
14321
14390
|
*
|
|
14322
|
-
* @type {
|
|
14391
|
+
* @type {number}
|
|
14323
14392
|
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
|
|
14324
14393
|
*/
|
|
14325
|
-
readonly
|
|
14394
|
+
readonly page?: number
|
|
14326
14395
|
|
|
14327
14396
|
/**
|
|
14328
14397
|
*
|
|
14329
|
-
* @type {
|
|
14398
|
+
* @type {number}
|
|
14330
14399
|
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
|
|
14331
14400
|
*/
|
|
14332
|
-
readonly
|
|
14401
|
+
readonly limit?: number
|
|
14333
14402
|
|
|
14334
14403
|
/**
|
|
14335
14404
|
*
|
|
14336
|
-
* @type {
|
|
14405
|
+
* @type {Date}
|
|
14337
14406
|
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
|
|
14338
14407
|
*/
|
|
14339
|
-
readonly
|
|
14408
|
+
readonly lastRetrieved?: Date
|
|
14340
14409
|
|
|
14341
14410
|
/**
|
|
14342
14411
|
*
|
|
14343
|
-
* @type {
|
|
14412
|
+
* @type {string}
|
|
14344
14413
|
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
|
|
14345
14414
|
*/
|
|
14346
|
-
readonly
|
|
14415
|
+
readonly id?: string
|
|
14347
14416
|
|
|
14348
14417
|
/**
|
|
14349
14418
|
*
|
|
14350
|
-
* @type {
|
|
14419
|
+
* @type {string}
|
|
14351
14420
|
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
|
|
14352
14421
|
*/
|
|
14353
|
-
readonly
|
|
14422
|
+
readonly fullname?: string
|
|
14354
14423
|
|
|
14355
14424
|
/**
|
|
14356
14425
|
*
|
|
14357
|
-
* @type {
|
|
14426
|
+
* @type {string}
|
|
14358
14427
|
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
|
|
14359
14428
|
*/
|
|
14360
|
-
readonly
|
|
14429
|
+
readonly email?: string
|
|
14361
14430
|
|
|
14362
14431
|
/**
|
|
14363
14432
|
*
|
|
14364
|
-
* @type {
|
|
14433
|
+
* @type {Gender}
|
|
14365
14434
|
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
|
|
14366
14435
|
*/
|
|
14367
|
-
readonly
|
|
14436
|
+
readonly gender?: Gender
|
|
14368
14437
|
|
|
14369
14438
|
/**
|
|
14370
14439
|
*
|
|
14371
|
-
* @type {
|
|
14440
|
+
* @type {Date}
|
|
14372
14441
|
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
|
|
14373
14442
|
*/
|
|
14374
|
-
readonly
|
|
14443
|
+
readonly dateOfBirth?: Date
|
|
14375
14444
|
|
|
14376
14445
|
/**
|
|
14377
14446
|
*
|
|
14378
|
-
* @type {
|
|
14447
|
+
* @type {Date}
|
|
14379
14448
|
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
|
|
14380
14449
|
*/
|
|
14381
|
-
readonly
|
|
14450
|
+
readonly created?: Date
|
|
14382
14451
|
|
|
14383
14452
|
/**
|
|
14384
14453
|
*
|
|
14385
|
-
* @type {
|
|
14454
|
+
* @type {boolean}
|
|
14386
14455
|
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
|
|
14387
14456
|
*/
|
|
14388
|
-
readonly
|
|
14457
|
+
readonly showHidden?: boolean
|
|
14389
14458
|
}
|
|
14390
14459
|
|
|
14391
14460
|
/**
|
|
@@ -17265,6 +17334,27 @@ export interface HospitalsApiApiV1HospitalsHospitalIdTranslatePostRequest {
|
|
|
17265
17334
|
readonly translateHospitalCommand?: TranslateHospitalCommand
|
|
17266
17335
|
}
|
|
17267
17336
|
|
|
17337
|
+
/**
|
|
17338
|
+
* Request parameters for apiV1HospitalsHospitalIdWorkingdaysBatchPatch operation in HospitalsApi.
|
|
17339
|
+
* @export
|
|
17340
|
+
* @interface HospitalsApiApiV1HospitalsHospitalIdWorkingdaysBatchPatchRequest
|
|
17341
|
+
*/
|
|
17342
|
+
export interface HospitalsApiApiV1HospitalsHospitalIdWorkingdaysBatchPatchRequest {
|
|
17343
|
+
/**
|
|
17344
|
+
*
|
|
17345
|
+
* @type {string}
|
|
17346
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdWorkingdaysBatchPatch
|
|
17347
|
+
*/
|
|
17348
|
+
readonly hospitalId: string
|
|
17349
|
+
|
|
17350
|
+
/**
|
|
17351
|
+
*
|
|
17352
|
+
* @type {BatchHospitalWorkingDaysCommand}
|
|
17353
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdWorkingdaysBatchPatch
|
|
17354
|
+
*/
|
|
17355
|
+
readonly batchHospitalWorkingDaysCommand?: BatchHospitalWorkingDaysCommand
|
|
17356
|
+
}
|
|
17357
|
+
|
|
17268
17358
|
/**
|
|
17269
17359
|
* Request parameters for apiV1HospitalsHospitalIdWorkingdaysGet operation in HospitalsApi.
|
|
17270
17360
|
* @export
|
|
@@ -18340,7 +18430,7 @@ export class HospitalsApi extends BaseAPI {
|
|
|
18340
18430
|
* @memberof HospitalsApi
|
|
18341
18431
|
*/
|
|
18342
18432
|
public apiV1HospitalsHospitalIdManagersGet(requestParameters: HospitalsApiApiV1HospitalsHospitalIdManagersGetRequest, options?: AxiosRequestConfig) {
|
|
18343
|
-
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdManagersGet(requestParameters.hospitalId, requestParameters.
|
|
18433
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdManagersGet(requestParameters.hospitalId, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, requestParameters.id, requestParameters.fullname, requestParameters.email, requestParameters.gender, requestParameters.dateOfBirth, requestParameters.created, requestParameters.showHidden, options).then((request) => request(this.axios, this.basePath));
|
|
18344
18434
|
}
|
|
18345
18435
|
|
|
18346
18436
|
/**
|
|
@@ -19339,6 +19429,18 @@ export class HospitalsApi extends BaseAPI {
|
|
|
19339
19429
|
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdTranslatePost(requestParameters.hospitalId, requestParameters.translateHospitalCommand, options).then((request) => request(this.axios, this.basePath));
|
|
19340
19430
|
}
|
|
19341
19431
|
|
|
19432
|
+
/**
|
|
19433
|
+
*
|
|
19434
|
+
* @summary Batch HospitalWorkingDays.
|
|
19435
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdWorkingdaysBatchPatchRequest} requestParameters Request parameters.
|
|
19436
|
+
* @param {*} [options] Override http request option.
|
|
19437
|
+
* @throws {RequiredError}
|
|
19438
|
+
* @memberof HospitalsApi
|
|
19439
|
+
*/
|
|
19440
|
+
public apiV1HospitalsHospitalIdWorkingdaysBatchPatch(requestParameters: HospitalsApiApiV1HospitalsHospitalIdWorkingdaysBatchPatchRequest, options?: AxiosRequestConfig) {
|
|
19441
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdWorkingdaysBatchPatch(requestParameters.hospitalId, requestParameters.batchHospitalWorkingDaysCommand, options).then((request) => request(this.axios, this.basePath));
|
|
19442
|
+
}
|
|
19443
|
+
|
|
19342
19444
|
/**
|
|
19343
19445
|
*
|
|
19344
19446
|
* @summary Get all HospitalWorkingDays.
|
|
@@ -19,9 +19,6 @@ import { ApplicationCapabilities } from './application-capabilities';
|
|
|
19
19
|
// May contain unused imports in some cases
|
|
20
20
|
// @ts-ignore
|
|
21
21
|
import { Keys } from './keys';
|
|
22
|
-
// May contain unused imports in some cases
|
|
23
|
-
// @ts-ignore
|
|
24
|
-
import { PrivacySettings } from './privacy-settings';
|
|
25
22
|
|
|
26
23
|
/**
|
|
27
24
|
*
|
|
@@ -53,11 +50,5 @@ export interface Application {
|
|
|
53
50
|
* @memberof Application
|
|
54
51
|
*/
|
|
55
52
|
'name'?: string | null;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @type {PrivacySettings}
|
|
59
|
-
* @memberof Application
|
|
60
|
-
*/
|
|
61
|
-
'privacy'?: PrivacySettings;
|
|
62
53
|
}
|
|
63
54
|
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Swagger UI - Cloud Hospital Admin Api-INT
|
|
5
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1
|
|
8
|
+
* Contact: hyounoosung@icloudhospital.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import { WorkingDayInputModel } from './working-day-input-model';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface BatchHospitalWorkingDaysCommand
|
|
24
|
+
*/
|
|
25
|
+
export interface BatchHospitalWorkingDaysCommand {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<WorkingDayInputModel>}
|
|
29
|
+
* @memberof BatchHospitalWorkingDaysCommand
|
|
30
|
+
*/
|
|
31
|
+
'items'?: Array<WorkingDayInputModel> | null;
|
|
32
|
+
}
|
|
33
|
+
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Swagger UI - Cloud Hospital Admin Api-INT
|
|
5
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1
|
|
8
|
+
* Contact: hyounoosung@icloudhospital.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import { WorkingDayItemModel } from './working-day-item-model';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface HospitalWorkingDaysBatchResultModel
|
|
24
|
+
*/
|
|
25
|
+
export interface HospitalWorkingDaysBatchResultModel {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<WorkingDayItemModel>}
|
|
29
|
+
* @memberof HospitalWorkingDaysBatchResultModel
|
|
30
|
+
*/
|
|
31
|
+
'items'?: Array<WorkingDayItemModel> | null;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {number}
|
|
35
|
+
* @memberof HospitalWorkingDaysBatchResultModel
|
|
36
|
+
*/
|
|
37
|
+
'inserted'?: number;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {number}
|
|
41
|
+
* @memberof HospitalWorkingDaysBatchResultModel
|
|
42
|
+
*/
|
|
43
|
+
'updated'?: number;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {number}
|
|
47
|
+
* @memberof HospitalWorkingDaysBatchResultModel
|
|
48
|
+
*/
|
|
49
|
+
'deleted'?: number;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {boolean}
|
|
53
|
+
* @memberof HospitalWorkingDaysBatchResultModel
|
|
54
|
+
*/
|
|
55
|
+
'isSucceed'?: boolean;
|
|
56
|
+
}
|
|
57
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -56,6 +56,7 @@ export * from './batch-deal-package-appointment-timetables-command';
|
|
|
56
56
|
export * from './batch-doctor-affiliation-appointment-timetables-command';
|
|
57
57
|
export * from './batch-hospital-appointment-timetables-command';
|
|
58
58
|
export * from './batch-hospital-specialty-appointment-timetables-command';
|
|
59
|
+
export * from './batch-hospital-working-days-command';
|
|
59
60
|
export * from './batch-service-appointment-timetables-command';
|
|
60
61
|
export * from './batch-update-appointment-timetable-model';
|
|
61
62
|
export * from './buy-number-command';
|
|
@@ -270,6 +271,7 @@ export * from './hospital-specialty-simple-item-model';
|
|
|
270
271
|
export * from './hospital-tag-item-model';
|
|
271
272
|
export * from './hospital-tag-model';
|
|
272
273
|
export * from './hospital-tags-model';
|
|
274
|
+
export * from './hospital-working-days-batch-result-model';
|
|
273
275
|
export * from './hospitals-model';
|
|
274
276
|
export * from './hospitals-simple-model';
|
|
275
277
|
export * from './http-status-code';
|
|
@@ -340,7 +342,6 @@ export * from './policies-model';
|
|
|
340
342
|
export * from './policy-item-model';
|
|
341
343
|
export * from './policy-model';
|
|
342
344
|
export * from './primary-account';
|
|
343
|
-
export * from './privacy-settings';
|
|
344
345
|
export * from './problem-details';
|
|
345
346
|
export * from './procedure';
|
|
346
347
|
export * from './recurring-interval';
|
|
@@ -532,6 +533,7 @@ export * from './web-app-item-model';
|
|
|
532
533
|
export * from './web-app-model';
|
|
533
534
|
export * from './web-apps-model';
|
|
534
535
|
export * from './webhook';
|
|
536
|
+
export * from './working-day-input-model';
|
|
535
537
|
export * from './working-day-item-model';
|
|
536
538
|
export * from './working-day-model';
|
|
537
539
|
export * from './working-days-model';
|
package/src/models/voice.ts
CHANGED
|
@@ -29,23 +29,5 @@ export interface Voice {
|
|
|
29
29
|
* @memberof Voice
|
|
30
30
|
*/
|
|
31
31
|
'webhooks'?: { [key: string]: Webhook; } | null;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {number}
|
|
35
|
-
* @memberof Voice
|
|
36
|
-
*/
|
|
37
|
-
'conversationsTimeToLive'?: number;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof Voice
|
|
42
|
-
*/
|
|
43
|
-
'region'?: string | null;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {boolean}
|
|
47
|
-
* @memberof Voice
|
|
48
|
-
*/
|
|
49
|
-
'signedCallbacks'?: boolean;
|
|
50
32
|
}
|
|
51
33
|
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Swagger UI - Cloud Hospital Admin Api-INT
|
|
5
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1
|
|
8
|
+
* Contact: hyounoosung@icloudhospital.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface WorkingDayInputModel
|
|
21
|
+
*/
|
|
22
|
+
export interface WorkingDayInputModel {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof WorkingDayInputModel
|
|
27
|
+
*/
|
|
28
|
+
'id'?: string | null;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof WorkingDayInputModel
|
|
33
|
+
*/
|
|
34
|
+
'dayOfWeek'?: string | null;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {Date}
|
|
38
|
+
* @memberof WorkingDayInputModel
|
|
39
|
+
*/
|
|
40
|
+
'timeFrom'?: Date;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {Date}
|
|
44
|
+
* @memberof WorkingDayInputModel
|
|
45
|
+
*/
|
|
46
|
+
'timeTo'?: Date;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {boolean}
|
|
50
|
+
* @memberof WorkingDayInputModel
|
|
51
|
+
*/
|
|
52
|
+
'checkHoliday'?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {number}
|
|
56
|
+
* @memberof WorkingDayInputModel
|
|
57
|
+
*/
|
|
58
|
+
'order'?: number;
|
|
59
|
+
}
|
|
60
|
+
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"privacy-settings.d.ts","sourceRoot":"","sources":["../../src/models/privacy-settings.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACzB"}
|
|
File without changes
|