ch-admin-api-client-typescript 5.5.8 → 5.5.10

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 (31) hide show
  1. package/lib/api/dash-board-api.d.ts +72 -18
  2. package/lib/api/dash-board-api.d.ts.map +1 -1
  3. package/lib/api/dash-board-api.js +72 -36
  4. package/lib/api/hospitals-api.d.ts +30 -30
  5. package/lib/api/hospitals-api.d.ts.map +1 -1
  6. package/lib/api/hospitals-api.js +26 -26
  7. package/lib/models/call-duration-statistics-model.d.ts +7 -0
  8. package/lib/models/call-duration-statistics-model.d.ts.map +1 -1
  9. package/lib/models/call-history-language-statistics-model.d.ts +31 -0
  10. package/lib/models/call-history-language-statistics-model.d.ts.map +1 -0
  11. package/lib/models/call-history-language-statistics-model.js +15 -0
  12. package/lib/models/index.d.ts +2 -0
  13. package/lib/models/index.d.ts.map +1 -1
  14. package/lib/models/index.js +2 -0
  15. package/lib/models/search-curation-item-input-model.d.ts +7 -0
  16. package/lib/models/search-curation-item-input-model.d.ts.map +1 -1
  17. package/lib/models/search-curation-item-model.d.ts +7 -0
  18. package/lib/models/search-curation-item-model.d.ts.map +1 -1
  19. package/lib/models/search-curation-primary-item-model.d.ts +31 -0
  20. package/lib/models/search-curation-primary-item-model.d.ts.map +1 -0
  21. package/lib/models/search-curation-primary-item-model.js +15 -0
  22. package/package.json +1 -1
  23. package/src/.openapi-generator/FILES +2 -0
  24. package/src/api/dash-board-api.ts +120 -36
  25. package/src/api/hospitals-api.ts +49 -49
  26. package/src/models/call-duration-statistics-model.ts +9 -0
  27. package/src/models/call-history-language-statistics-model.ts +36 -0
  28. package/src/models/index.ts +2 -0
  29. package/src/models/search-curation-item-input-model.ts +9 -0
  30. package/src/models/search-curation-item-model.ts +9 -0
  31. package/src/models/search-curation-primary-item-model.ts +36 -0
@@ -2880,9 +2880,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
2880
2880
  *
2881
2881
  * @summary Get managers
2882
2882
  * @param {string} hospitalId
2883
- * @param {number} [page]
2884
- * @param {number} [limit]
2885
- * @param {Date} [lastRetrieved]
2886
2883
  * @param {string} [id]
2887
2884
  * @param {string} [fullname]
2888
2885
  * @param {string} [email]
@@ -2890,10 +2887,13 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
2890
2887
  * @param {Date} [dateOfBirth]
2891
2888
  * @param {Date} [created]
2892
2889
  * @param {boolean} [showHidden]
2890
+ * @param {number} [page]
2891
+ * @param {number} [limit]
2892
+ * @param {Date} [lastRetrieved]
2893
2893
  * @param {*} [options] Override http request option.
2894
2894
  * @throws {RequiredError}
2895
2895
  */
2896
- 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> => {
2896
+ apiV1HospitalsHospitalIdManagersGet: async (hospitalId: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2897
2897
  // verify required parameter 'hospitalId' is not null or undefined
2898
2898
  assertParamExists('apiV1HospitalsHospitalIdManagersGet', 'hospitalId', hospitalId)
2899
2899
  const localVarPath = `/api/v1/hospitals/{hospitalId}/managers`
@@ -2913,20 +2913,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
2913
2913
  // oauth required
2914
2914
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
2915
2915
 
2916
- if (page !== undefined) {
2917
- localVarQueryParameter['page'] = page;
2918
- }
2919
-
2920
- if (limit !== undefined) {
2921
- localVarQueryParameter['limit'] = limit;
2922
- }
2923
-
2924
- if (lastRetrieved !== undefined) {
2925
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
2926
- (lastRetrieved as any).toISOString() :
2927
- lastRetrieved;
2928
- }
2929
-
2930
2916
  if (id !== undefined) {
2931
2917
  localVarQueryParameter['Id'] = id;
2932
2918
  }
@@ -2959,6 +2945,20 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
2959
2945
  localVarQueryParameter['ShowHidden'] = showHidden;
2960
2946
  }
2961
2947
 
2948
+ if (page !== undefined) {
2949
+ localVarQueryParameter['page'] = page;
2950
+ }
2951
+
2952
+ if (limit !== undefined) {
2953
+ localVarQueryParameter['limit'] = limit;
2954
+ }
2955
+
2956
+ if (lastRetrieved !== undefined) {
2957
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
2958
+ (lastRetrieved as any).toISOString() :
2959
+ lastRetrieved;
2960
+ }
2961
+
2962
2962
 
2963
2963
 
2964
2964
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -7873,9 +7873,6 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
7873
7873
  *
7874
7874
  * @summary Get managers
7875
7875
  * @param {string} hospitalId
7876
- * @param {number} [page]
7877
- * @param {number} [limit]
7878
- * @param {Date} [lastRetrieved]
7879
7876
  * @param {string} [id]
7880
7877
  * @param {string} [fullname]
7881
7878
  * @param {string} [email]
@@ -7883,11 +7880,14 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
7883
7880
  * @param {Date} [dateOfBirth]
7884
7881
  * @param {Date} [created]
7885
7882
  * @param {boolean} [showHidden]
7883
+ * @param {number} [page]
7884
+ * @param {number} [limit]
7885
+ * @param {Date} [lastRetrieved]
7886
7886
  * @param {*} [options] Override http request option.
7887
7887
  * @throws {RequiredError}
7888
7888
  */
7889
- 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>> {
7890
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdManagersGet(hospitalId, page, limit, lastRetrieved, id, fullname, email, gender, dateOfBirth, created, showHidden, options);
7889
+ async apiV1HospitalsHospitalIdManagersGet(hospitalId: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManagersModel>> {
7890
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdManagersGet(hospitalId, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options);
7891
7891
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
7892
7892
  },
7893
7893
  /**
@@ -9686,9 +9686,6 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
9686
9686
  *
9687
9687
  * @summary Get managers
9688
9688
  * @param {string} hospitalId
9689
- * @param {number} [page]
9690
- * @param {number} [limit]
9691
- * @param {Date} [lastRetrieved]
9692
9689
  * @param {string} [id]
9693
9690
  * @param {string} [fullname]
9694
9691
  * @param {string} [email]
@@ -9696,11 +9693,14 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
9696
9693
  * @param {Date} [dateOfBirth]
9697
9694
  * @param {Date} [created]
9698
9695
  * @param {boolean} [showHidden]
9696
+ * @param {number} [page]
9697
+ * @param {number} [limit]
9698
+ * @param {Date} [lastRetrieved]
9699
9699
  * @param {*} [options] Override http request option.
9700
9700
  * @throws {RequiredError}
9701
9701
  */
9702
- 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> {
9703
- return localVarFp.apiV1HospitalsHospitalIdManagersGet(hospitalId, page, limit, lastRetrieved, id, fullname, email, gender, dateOfBirth, created, showHidden, options).then((request) => request(axios, basePath));
9702
+ apiV1HospitalsHospitalIdManagersGet(hospitalId: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ManagersModel> {
9703
+ return localVarFp.apiV1HospitalsHospitalIdManagersGet(hospitalId, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
9704
9704
  },
9705
9705
  /**
9706
9706
  *
@@ -12463,73 +12463,73 @@ export interface HospitalsApiApiV1HospitalsHospitalIdManagersGetRequest {
12463
12463
 
12464
12464
  /**
12465
12465
  *
12466
- * @type {number}
12466
+ * @type {string}
12467
12467
  * @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
12468
12468
  */
12469
- readonly page?: number
12469
+ readonly id?: string
12470
12470
 
12471
12471
  /**
12472
12472
  *
12473
- * @type {number}
12473
+ * @type {string}
12474
12474
  * @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
12475
12475
  */
12476
- readonly limit?: number
12476
+ readonly fullname?: string
12477
12477
 
12478
12478
  /**
12479
12479
  *
12480
- * @type {Date}
12480
+ * @type {string}
12481
12481
  * @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
12482
12482
  */
12483
- readonly lastRetrieved?: Date
12483
+ readonly email?: string
12484
12484
 
12485
12485
  /**
12486
12486
  *
12487
- * @type {string}
12487
+ * @type {Gender}
12488
12488
  * @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
12489
12489
  */
12490
- readonly id?: string
12490
+ readonly gender?: Gender
12491
12491
 
12492
12492
  /**
12493
12493
  *
12494
- * @type {string}
12494
+ * @type {Date}
12495
12495
  * @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
12496
12496
  */
12497
- readonly fullname?: string
12497
+ readonly dateOfBirth?: Date
12498
12498
 
12499
12499
  /**
12500
12500
  *
12501
- * @type {string}
12501
+ * @type {Date}
12502
12502
  * @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
12503
12503
  */
12504
- readonly email?: string
12504
+ readonly created?: Date
12505
12505
 
12506
12506
  /**
12507
12507
  *
12508
- * @type {Gender}
12508
+ * @type {boolean}
12509
12509
  * @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
12510
12510
  */
12511
- readonly gender?: Gender
12511
+ readonly showHidden?: boolean
12512
12512
 
12513
12513
  /**
12514
12514
  *
12515
- * @type {Date}
12515
+ * @type {number}
12516
12516
  * @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
12517
12517
  */
12518
- readonly dateOfBirth?: Date
12518
+ readonly page?: number
12519
12519
 
12520
12520
  /**
12521
12521
  *
12522
- * @type {Date}
12522
+ * @type {number}
12523
12523
  * @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
12524
12524
  */
12525
- readonly created?: Date
12525
+ readonly limit?: number
12526
12526
 
12527
12527
  /**
12528
12528
  *
12529
- * @type {boolean}
12529
+ * @type {Date}
12530
12530
  * @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
12531
12531
  */
12532
- readonly showHidden?: boolean
12532
+ readonly lastRetrieved?: Date
12533
12533
  }
12534
12534
 
12535
12535
  /**
@@ -16005,7 +16005,7 @@ export class HospitalsApi extends BaseAPI {
16005
16005
  * @memberof HospitalsApi
16006
16006
  */
16007
16007
  public apiV1HospitalsHospitalIdManagersGet(requestParameters: HospitalsApiApiV1HospitalsHospitalIdManagersGetRequest, options?: AxiosRequestConfig) {
16008
- 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));
16008
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdManagersGet(requestParameters.hospitalId, requestParameters.id, requestParameters.fullname, requestParameters.email, requestParameters.gender, requestParameters.dateOfBirth, requestParameters.created, requestParameters.showHidden, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
16009
16009
  }
16010
16010
 
16011
16011
  /**
@@ -13,6 +13,9 @@
13
13
  */
14
14
 
15
15
 
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import { CallHistoryLanguageStatisticsModel } from './call-history-language-statistics-model';
16
19
 
17
20
  /**
18
21
  *
@@ -32,5 +35,11 @@ export interface CallDurationStatisticsModel {
32
35
  * @memberof CallDurationStatisticsModel
33
36
  */
34
37
  'value'?: number;
38
+ /**
39
+ *
40
+ * @type {Array<CallHistoryLanguageStatisticsModel>}
41
+ * @memberof CallDurationStatisticsModel
42
+ */
43
+ 'languageStatistics'?: Array<CallHistoryLanguageStatisticsModel> | null;
35
44
  }
36
45
 
@@ -0,0 +1,36 @@
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 CallHistoryLanguageStatisticsModel
21
+ */
22
+ export interface CallHistoryLanguageStatisticsModel {
23
+ /**
24
+ *
25
+ * @type {number}
26
+ * @memberof CallHistoryLanguageStatisticsModel
27
+ */
28
+ 'value'?: number;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof CallHistoryLanguageStatisticsModel
33
+ */
34
+ 'languageCode'?: string | null;
35
+ }
36
+
@@ -72,6 +72,7 @@ export * from './call-duration-statistics-model';
72
72
  export * from './call-histories-model';
73
73
  export * from './call-history-change-log-model';
74
74
  export * from './call-history-item-model';
75
+ export * from './call-history-language-statistics-model';
75
76
  export * from './call-history-model';
76
77
  export * from './call-statistics-model';
77
78
  export * from './call-status';
@@ -355,6 +356,7 @@ export * from './save-search-curations-command';
355
356
  export * from './save-service-appointment-timetable-overrides-command';
356
357
  export * from './search-curation-item-input-model';
357
358
  export * from './search-curation-item-model';
359
+ export * from './search-curation-primary-item-model';
358
360
  export * from './search-index-type';
359
361
  export * from './search-pattern';
360
362
  export * from './secret';
@@ -13,6 +13,9 @@
13
13
  */
14
14
 
15
15
 
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import { SearchCurationPrimaryItemModel } from './search-curation-primary-item-model';
16
19
 
17
20
  /**
18
21
  *
@@ -26,6 +29,12 @@ export interface SearchCurationItemInputModel {
26
29
  * @memberof SearchCurationItemInputModel
27
30
  */
28
31
  'id'?: string | null;
32
+ /**
33
+ *
34
+ * @type {SearchCurationPrimaryItemModel}
35
+ * @memberof SearchCurationItemInputModel
36
+ */
37
+ 'primary'?: SearchCurationPrimaryItemModel;
29
38
  /**
30
39
  *
31
40
  * @type {string}
@@ -13,6 +13,9 @@
13
13
  */
14
14
 
15
15
 
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import { SearchCurationPrimaryItemModel } from './search-curation-primary-item-model';
16
19
 
17
20
  /**
18
21
  *
@@ -26,6 +29,12 @@ export interface SearchCurationItemModel {
26
29
  * @memberof SearchCurationItemModel
27
30
  */
28
31
  'id'?: string;
32
+ /**
33
+ *
34
+ * @type {SearchCurationPrimaryItemModel}
35
+ * @memberof SearchCurationItemModel
36
+ */
37
+ 'primary'?: SearchCurationPrimaryItemModel;
29
38
  /**
30
39
  *
31
40
  * @type {string}
@@ -0,0 +1,36 @@
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 SearchCurationPrimaryItemModel
21
+ */
22
+ export interface SearchCurationPrimaryItemModel {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof SearchCurationPrimaryItemModel
27
+ */
28
+ 'id'?: string | null;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof SearchCurationPrimaryItemModel
33
+ */
34
+ 'name'?: string | null;
35
+ }
36
+