ch-admin-api-client-typescript 5.9.15 → 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.
Files changed (34) hide show
  1. package/lib/api/hospitals-api.d.ts +30 -30
  2. package/lib/api/hospitals-api.d.ts.map +1 -1
  3. package/lib/api/hospitals-api.js +26 -26
  4. package/lib/api/web-apps-api.d.ts +277 -18
  5. package/lib/api/web-apps-api.d.ts.map +1 -1
  6. package/lib/api/web-apps-api.js +206 -24
  7. package/lib/models/create-hospital-command.d.ts +12 -0
  8. package/lib/models/create-hospital-command.d.ts.map +1 -1
  9. package/lib/models/hospital-item-model.d.ts +12 -0
  10. package/lib/models/hospital-item-model.d.ts.map +1 -1
  11. package/lib/models/hospital-model.d.ts +12 -0
  12. package/lib/models/hospital-model.d.ts.map +1 -1
  13. package/lib/models/index.d.ts +0 -2
  14. package/lib/models/index.d.ts.map +1 -1
  15. package/lib/models/index.js +0 -2
  16. package/lib/models/update-hospital-command.d.ts +12 -0
  17. package/lib/models/update-hospital-command.d.ts.map +1 -1
  18. package/package.json +1 -1
  19. package/src/.openapi-generator/FILES +0 -2
  20. package/src/api/hospitals-api.ts +49 -49
  21. package/src/api/web-apps-api.ts +444 -32
  22. package/src/models/create-hospital-command.ts +12 -0
  23. package/src/models/hospital-item-model.ts +12 -0
  24. package/src/models/hospital-model.ts +12 -0
  25. package/src/models/index.ts +0 -2
  26. package/src/models/update-hospital-command.ts +12 -0
  27. package/lib/models/create-web-app-command.d.ts +0 -104
  28. package/lib/models/create-web-app-command.d.ts.map +0 -1
  29. package/lib/models/create-web-app-command.js +0 -15
  30. package/lib/models/update-web-app-command.d.ts +0 -105
  31. package/lib/models/update-web-app-command.d.ts.map +0 -1
  32. package/lib/models/update-web-app-command.js +0 -15
  33. package/src/models/create-web-app-command.ts +0 -111
  34. package/src/models/update-web-app-command.ts +0 -114
@@ -3125,6 +3125,9 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
3125
3125
  *
3126
3126
  * @summary Get managers
3127
3127
  * @param {string} hospitalId
3128
+ * @param {number} [page]
3129
+ * @param {number} [limit]
3130
+ * @param {Date} [lastRetrieved]
3128
3131
  * @param {string} [id]
3129
3132
  * @param {string} [fullname]
3130
3133
  * @param {string} [email]
@@ -3132,13 +3135,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
3132
3135
  * @param {Date} [dateOfBirth]
3133
3136
  * @param {Date} [created]
3134
3137
  * @param {boolean} [showHidden]
3135
- * @param {number} [page]
3136
- * @param {number} [limit]
3137
- * @param {Date} [lastRetrieved]
3138
3138
  * @param {*} [options] Override http request option.
3139
3139
  * @throws {RequiredError}
3140
3140
  */
3141
- 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> => {
3141
+ 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> => {
3142
3142
  // verify required parameter 'hospitalId' is not null or undefined
3143
3143
  assertParamExists('apiV1HospitalsHospitalIdManagersGet', 'hospitalId', hospitalId)
3144
3144
  const localVarPath = `/api/v1/hospitals/{hospitalId}/managers`
@@ -3158,6 +3158,20 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
3158
3158
  // oauth required
3159
3159
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
3160
3160
 
3161
+ if (page !== undefined) {
3162
+ localVarQueryParameter['page'] = page;
3163
+ }
3164
+
3165
+ if (limit !== undefined) {
3166
+ localVarQueryParameter['limit'] = limit;
3167
+ }
3168
+
3169
+ if (lastRetrieved !== undefined) {
3170
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
3171
+ (lastRetrieved as any).toISOString() :
3172
+ lastRetrieved;
3173
+ }
3174
+
3161
3175
  if (id !== undefined) {
3162
3176
  localVarQueryParameter['Id'] = id;
3163
3177
  }
@@ -3190,20 +3204,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
3190
3204
  localVarQueryParameter['ShowHidden'] = showHidden;
3191
3205
  }
3192
3206
 
3193
- if (page !== undefined) {
3194
- localVarQueryParameter['page'] = page;
3195
- }
3196
-
3197
- if (limit !== undefined) {
3198
- localVarQueryParameter['limit'] = limit;
3199
- }
3200
-
3201
- if (lastRetrieved !== undefined) {
3202
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
3203
- (lastRetrieved as any).toISOString() :
3204
- lastRetrieved;
3205
- }
3206
-
3207
3207
 
3208
3208
 
3209
3209
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -8183,6 +8183,9 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
8183
8183
  *
8184
8184
  * @summary Get managers
8185
8185
  * @param {string} hospitalId
8186
+ * @param {number} [page]
8187
+ * @param {number} [limit]
8188
+ * @param {Date} [lastRetrieved]
8186
8189
  * @param {string} [id]
8187
8190
  * @param {string} [fullname]
8188
8191
  * @param {string} [email]
@@ -8190,14 +8193,11 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
8190
8193
  * @param {Date} [dateOfBirth]
8191
8194
  * @param {Date} [created]
8192
8195
  * @param {boolean} [showHidden]
8193
- * @param {number} [page]
8194
- * @param {number} [limit]
8195
- * @param {Date} [lastRetrieved]
8196
8196
  * @param {*} [options] Override http request option.
8197
8197
  * @throws {RequiredError}
8198
8198
  */
8199
- 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>> {
8200
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdManagersGet(hospitalId, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options);
8199
+ 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>> {
8200
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdManagersGet(hospitalId, page, limit, lastRetrieved, id, fullname, email, gender, dateOfBirth, created, showHidden, options);
8201
8201
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
8202
8202
  },
8203
8203
  /**
@@ -10056,6 +10056,9 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
10056
10056
  *
10057
10057
  * @summary Get managers
10058
10058
  * @param {string} hospitalId
10059
+ * @param {number} [page]
10060
+ * @param {number} [limit]
10061
+ * @param {Date} [lastRetrieved]
10059
10062
  * @param {string} [id]
10060
10063
  * @param {string} [fullname]
10061
10064
  * @param {string} [email]
@@ -10063,14 +10066,11 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
10063
10066
  * @param {Date} [dateOfBirth]
10064
10067
  * @param {Date} [created]
10065
10068
  * @param {boolean} [showHidden]
10066
- * @param {number} [page]
10067
- * @param {number} [limit]
10068
- * @param {Date} [lastRetrieved]
10069
10069
  * @param {*} [options] Override http request option.
10070
10070
  * @throws {RequiredError}
10071
10071
  */
10072
- 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> {
10073
- return localVarFp.apiV1HospitalsHospitalIdManagersGet(hospitalId, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
10072
+ 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> {
10073
+ return localVarFp.apiV1HospitalsHospitalIdManagersGet(hospitalId, page, limit, lastRetrieved, id, fullname, email, gender, dateOfBirth, created, showHidden, options).then((request) => request(axios, basePath));
10074
10074
  },
10075
10075
  /**
10076
10076
  *
@@ -12973,73 +12973,73 @@ export interface HospitalsApiApiV1HospitalsHospitalIdManagersGetRequest {
12973
12973
 
12974
12974
  /**
12975
12975
  *
12976
- * @type {string}
12976
+ * @type {number}
12977
12977
  * @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
12978
12978
  */
12979
- readonly id?: string
12979
+ readonly page?: number
12980
12980
 
12981
12981
  /**
12982
12982
  *
12983
- * @type {string}
12983
+ * @type {number}
12984
12984
  * @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
12985
12985
  */
12986
- readonly fullname?: string
12986
+ readonly limit?: number
12987
12987
 
12988
12988
  /**
12989
12989
  *
12990
- * @type {string}
12990
+ * @type {Date}
12991
12991
  * @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
12992
12992
  */
12993
- readonly email?: string
12993
+ readonly lastRetrieved?: Date
12994
12994
 
12995
12995
  /**
12996
12996
  *
12997
- * @type {Gender}
12997
+ * @type {string}
12998
12998
  * @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
12999
12999
  */
13000
- readonly gender?: Gender
13000
+ readonly id?: string
13001
13001
 
13002
13002
  /**
13003
13003
  *
13004
- * @type {Date}
13004
+ * @type {string}
13005
13005
  * @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
13006
13006
  */
13007
- readonly dateOfBirth?: Date
13007
+ readonly fullname?: string
13008
13008
 
13009
13009
  /**
13010
13010
  *
13011
- * @type {Date}
13011
+ * @type {string}
13012
13012
  * @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
13013
13013
  */
13014
- readonly created?: Date
13014
+ readonly email?: string
13015
13015
 
13016
13016
  /**
13017
13017
  *
13018
- * @type {boolean}
13018
+ * @type {Gender}
13019
13019
  * @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
13020
13020
  */
13021
- readonly showHidden?: boolean
13021
+ readonly gender?: Gender
13022
13022
 
13023
13023
  /**
13024
13024
  *
13025
- * @type {number}
13025
+ * @type {Date}
13026
13026
  * @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
13027
13027
  */
13028
- readonly page?: number
13028
+ readonly dateOfBirth?: Date
13029
13029
 
13030
13030
  /**
13031
13031
  *
13032
- * @type {number}
13032
+ * @type {Date}
13033
13033
  * @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
13034
13034
  */
13035
- readonly limit?: number
13035
+ readonly created?: Date
13036
13036
 
13037
13037
  /**
13038
13038
  *
13039
- * @type {Date}
13039
+ * @type {boolean}
13040
13040
  * @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
13041
13041
  */
13042
- readonly lastRetrieved?: Date
13042
+ readonly showHidden?: boolean
13043
13043
  }
13044
13044
 
13045
13045
  /**
@@ -16575,7 +16575,7 @@ export class HospitalsApi extends BaseAPI {
16575
16575
  * @memberof HospitalsApi
16576
16576
  */
16577
16577
  public apiV1HospitalsHospitalIdManagersGet(requestParameters: HospitalsApiApiV1HospitalsHospitalIdManagersGetRequest, options?: AxiosRequestConfig) {
16578
- 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));
16578
+ 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));
16579
16579
  }
16580
16580
 
16581
16581
  /**