ch-admin-api-client-typescript 2.6.8 → 2.7.1
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.d.ts +209 -12
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +289 -23
- package/package.json +1 -1
- package/src/api.ts +342 -22
package/src/api.ts
CHANGED
|
@@ -3989,6 +3989,43 @@ export interface CreateHospitalSpecialtyCommand {
|
|
|
3989
3989
|
*/
|
|
3990
3990
|
'order'?: number;
|
|
3991
3991
|
}
|
|
3992
|
+
/**
|
|
3993
|
+
*
|
|
3994
|
+
* @export
|
|
3995
|
+
* @interface CreateLanguageCommand
|
|
3996
|
+
*/
|
|
3997
|
+
export interface CreateLanguageCommand {
|
|
3998
|
+
/**
|
|
3999
|
+
*
|
|
4000
|
+
* @type {string}
|
|
4001
|
+
* @memberof CreateLanguageCommand
|
|
4002
|
+
*/
|
|
4003
|
+
'code'?: string | null;
|
|
4004
|
+
/**
|
|
4005
|
+
*
|
|
4006
|
+
* @type {string}
|
|
4007
|
+
* @memberof CreateLanguageCommand
|
|
4008
|
+
*/
|
|
4009
|
+
'name'?: string | null;
|
|
4010
|
+
/**
|
|
4011
|
+
*
|
|
4012
|
+
* @type {string}
|
|
4013
|
+
* @memberof CreateLanguageCommand
|
|
4014
|
+
*/
|
|
4015
|
+
'description'?: string | null;
|
|
4016
|
+
/**
|
|
4017
|
+
*
|
|
4018
|
+
* @type {boolean}
|
|
4019
|
+
* @memberof CreateLanguageCommand
|
|
4020
|
+
*/
|
|
4021
|
+
'published'?: boolean;
|
|
4022
|
+
/**
|
|
4023
|
+
*
|
|
4024
|
+
* @type {number}
|
|
4025
|
+
* @memberof CreateLanguageCommand
|
|
4026
|
+
*/
|
|
4027
|
+
'order'?: number;
|
|
4028
|
+
}
|
|
3992
4029
|
/**
|
|
3993
4030
|
*
|
|
3994
4031
|
* @export
|
|
@@ -8271,6 +8308,12 @@ export interface NotificationModel {
|
|
|
8271
8308
|
* @memberof NotificationModel
|
|
8272
8309
|
*/
|
|
8273
8310
|
'isChecked'?: boolean;
|
|
8311
|
+
/**
|
|
8312
|
+
*
|
|
8313
|
+
* @type {boolean}
|
|
8314
|
+
* @memberof NotificationModel
|
|
8315
|
+
*/
|
|
8316
|
+
'isDeleted'?: boolean;
|
|
8274
8317
|
}
|
|
8275
8318
|
/**
|
|
8276
8319
|
*
|
|
@@ -8943,6 +8986,18 @@ export enum RejectReason {
|
|
|
8943
8986
|
OtherReason = 'OtherReason'
|
|
8944
8987
|
}
|
|
8945
8988
|
|
|
8989
|
+
/**
|
|
8990
|
+
*
|
|
8991
|
+
* @export
|
|
8992
|
+
* @enum {string}
|
|
8993
|
+
*/
|
|
8994
|
+
|
|
8995
|
+
export enum ReviewType {
|
|
8996
|
+
Photo = 'Photo',
|
|
8997
|
+
SurgeryReview = 'SurgeryReview',
|
|
8998
|
+
RealStory = 'RealStory'
|
|
8999
|
+
}
|
|
9000
|
+
|
|
8946
9001
|
/**
|
|
8947
9002
|
*
|
|
8948
9003
|
* @export
|
|
@@ -9115,6 +9170,12 @@ export interface ServiceReviewItemModel {
|
|
|
9115
9170
|
* @memberof ServiceReviewItemModel
|
|
9116
9171
|
*/
|
|
9117
9172
|
'rate'?: number;
|
|
9173
|
+
/**
|
|
9174
|
+
*
|
|
9175
|
+
* @type {ReviewType}
|
|
9176
|
+
* @memberof ServiceReviewItemModel
|
|
9177
|
+
*/
|
|
9178
|
+
'reviewType'?: ReviewType;
|
|
9118
9179
|
/**
|
|
9119
9180
|
*
|
|
9120
9181
|
* @type {Array<MediaModel>}
|
|
@@ -9176,6 +9237,12 @@ export interface ServiceReviewModel {
|
|
|
9176
9237
|
* @memberof ServiceReviewModel
|
|
9177
9238
|
*/
|
|
9178
9239
|
'rate'?: number;
|
|
9240
|
+
/**
|
|
9241
|
+
*
|
|
9242
|
+
* @type {ReviewType}
|
|
9243
|
+
* @memberof ServiceReviewModel
|
|
9244
|
+
*/
|
|
9245
|
+
'reviewType'?: ReviewType;
|
|
9179
9246
|
/**
|
|
9180
9247
|
*
|
|
9181
9248
|
* @type {Array<MediaModel>}
|
|
@@ -11044,6 +11111,43 @@ export interface UpdateHospitalSpecialtyCommand {
|
|
|
11044
11111
|
*/
|
|
11045
11112
|
'order'?: number;
|
|
11046
11113
|
}
|
|
11114
|
+
/**
|
|
11115
|
+
*
|
|
11116
|
+
* @export
|
|
11117
|
+
* @interface UpdateLanguageCommand
|
|
11118
|
+
*/
|
|
11119
|
+
export interface UpdateLanguageCommand {
|
|
11120
|
+
/**
|
|
11121
|
+
*
|
|
11122
|
+
* @type {string}
|
|
11123
|
+
* @memberof UpdateLanguageCommand
|
|
11124
|
+
*/
|
|
11125
|
+
'code'?: string | null;
|
|
11126
|
+
/**
|
|
11127
|
+
*
|
|
11128
|
+
* @type {string}
|
|
11129
|
+
* @memberof UpdateLanguageCommand
|
|
11130
|
+
*/
|
|
11131
|
+
'name'?: string | null;
|
|
11132
|
+
/**
|
|
11133
|
+
*
|
|
11134
|
+
* @type {string}
|
|
11135
|
+
* @memberof UpdateLanguageCommand
|
|
11136
|
+
*/
|
|
11137
|
+
'description'?: string | null;
|
|
11138
|
+
/**
|
|
11139
|
+
*
|
|
11140
|
+
* @type {boolean}
|
|
11141
|
+
* @memberof UpdateLanguageCommand
|
|
11142
|
+
*/
|
|
11143
|
+
'published'?: boolean | null;
|
|
11144
|
+
/**
|
|
11145
|
+
*
|
|
11146
|
+
* @type {number}
|
|
11147
|
+
* @memberof UpdateLanguageCommand
|
|
11148
|
+
*/
|
|
11149
|
+
'order'?: number | null;
|
|
11150
|
+
}
|
|
11047
11151
|
/**
|
|
11048
11152
|
*
|
|
11049
11153
|
* @export
|
|
@@ -30937,6 +31041,43 @@ export const LanguagesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
30937
31041
|
|
|
30938
31042
|
|
|
30939
31043
|
|
|
31044
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
31045
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
31046
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
31047
|
+
|
|
31048
|
+
return {
|
|
31049
|
+
url: toPathString(localVarUrlObj),
|
|
31050
|
+
options: localVarRequestOptions,
|
|
31051
|
+
};
|
|
31052
|
+
},
|
|
31053
|
+
/**
|
|
31054
|
+
*
|
|
31055
|
+
* @param {string} languageId
|
|
31056
|
+
* @param {*} [options] Override http request option.
|
|
31057
|
+
* @throws {RequiredError}
|
|
31058
|
+
*/
|
|
31059
|
+
apiV1LanguagesLanguageIdDelete: async (languageId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
31060
|
+
// verify required parameter 'languageId' is not null or undefined
|
|
31061
|
+
assertParamExists('apiV1LanguagesLanguageIdDelete', 'languageId', languageId)
|
|
31062
|
+
const localVarPath = `/api/v1/languages/{languageId}`
|
|
31063
|
+
.replace(`{${"languageId"}}`, encodeURIComponent(String(languageId)));
|
|
31064
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31065
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
31066
|
+
let baseOptions;
|
|
31067
|
+
if (configuration) {
|
|
31068
|
+
baseOptions = configuration.baseOptions;
|
|
31069
|
+
}
|
|
31070
|
+
|
|
31071
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
31072
|
+
const localVarHeaderParameter = {} as any;
|
|
31073
|
+
const localVarQueryParameter = {} as any;
|
|
31074
|
+
|
|
31075
|
+
// authentication oauth2 required
|
|
31076
|
+
// oauth required
|
|
31077
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
31078
|
+
|
|
31079
|
+
|
|
31080
|
+
|
|
30940
31081
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30941
31082
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30942
31083
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -30949,15 +31090,15 @@ export const LanguagesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
30949
31090
|
/**
|
|
30950
31091
|
*
|
|
30951
31092
|
* @summary Get Language.
|
|
30952
|
-
* @param {string}
|
|
31093
|
+
* @param {string} languageId
|
|
30953
31094
|
* @param {*} [options] Override http request option.
|
|
30954
31095
|
* @throws {RequiredError}
|
|
30955
31096
|
*/
|
|
30956
|
-
|
|
30957
|
-
// verify required parameter '
|
|
30958
|
-
assertParamExists('
|
|
30959
|
-
const localVarPath = `/api/v1/languages/{
|
|
30960
|
-
.replace(`{${"
|
|
31097
|
+
apiV1LanguagesLanguageIdGet: async (languageId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
31098
|
+
// verify required parameter 'languageId' is not null or undefined
|
|
31099
|
+
assertParamExists('apiV1LanguagesLanguageIdGet', 'languageId', languageId)
|
|
31100
|
+
const localVarPath = `/api/v1/languages/{languageId}`
|
|
31101
|
+
.replace(`{${"languageId"}}`, encodeURIComponent(String(languageId)));
|
|
30961
31102
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30962
31103
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30963
31104
|
let baseOptions;
|
|
@@ -30979,6 +31120,84 @@ export const LanguagesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
30979
31120
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30980
31121
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30981
31122
|
|
|
31123
|
+
return {
|
|
31124
|
+
url: toPathString(localVarUrlObj),
|
|
31125
|
+
options: localVarRequestOptions,
|
|
31126
|
+
};
|
|
31127
|
+
},
|
|
31128
|
+
/**
|
|
31129
|
+
*
|
|
31130
|
+
* @param {string} languageId
|
|
31131
|
+
* @param {UpdateLanguageCommand} [updateLanguageCommand]
|
|
31132
|
+
* @param {*} [options] Override http request option.
|
|
31133
|
+
* @throws {RequiredError}
|
|
31134
|
+
*/
|
|
31135
|
+
apiV1LanguagesLanguageIdPut: async (languageId: string, updateLanguageCommand?: UpdateLanguageCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
31136
|
+
// verify required parameter 'languageId' is not null or undefined
|
|
31137
|
+
assertParamExists('apiV1LanguagesLanguageIdPut', 'languageId', languageId)
|
|
31138
|
+
const localVarPath = `/api/v1/languages/{languageId}`
|
|
31139
|
+
.replace(`{${"languageId"}}`, encodeURIComponent(String(languageId)));
|
|
31140
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31141
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
31142
|
+
let baseOptions;
|
|
31143
|
+
if (configuration) {
|
|
31144
|
+
baseOptions = configuration.baseOptions;
|
|
31145
|
+
}
|
|
31146
|
+
|
|
31147
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
31148
|
+
const localVarHeaderParameter = {} as any;
|
|
31149
|
+
const localVarQueryParameter = {} as any;
|
|
31150
|
+
|
|
31151
|
+
// authentication oauth2 required
|
|
31152
|
+
// oauth required
|
|
31153
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
31154
|
+
|
|
31155
|
+
|
|
31156
|
+
|
|
31157
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
31158
|
+
|
|
31159
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
31160
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
31161
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
31162
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateLanguageCommand, localVarRequestOptions, configuration)
|
|
31163
|
+
|
|
31164
|
+
return {
|
|
31165
|
+
url: toPathString(localVarUrlObj),
|
|
31166
|
+
options: localVarRequestOptions,
|
|
31167
|
+
};
|
|
31168
|
+
},
|
|
31169
|
+
/**
|
|
31170
|
+
*
|
|
31171
|
+
* @param {CreateLanguageCommand} [createLanguageCommand]
|
|
31172
|
+
* @param {*} [options] Override http request option.
|
|
31173
|
+
* @throws {RequiredError}
|
|
31174
|
+
*/
|
|
31175
|
+
apiV1LanguagesPost: async (createLanguageCommand?: CreateLanguageCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
31176
|
+
const localVarPath = `/api/v1/languages`;
|
|
31177
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31178
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
31179
|
+
let baseOptions;
|
|
31180
|
+
if (configuration) {
|
|
31181
|
+
baseOptions = configuration.baseOptions;
|
|
31182
|
+
}
|
|
31183
|
+
|
|
31184
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
31185
|
+
const localVarHeaderParameter = {} as any;
|
|
31186
|
+
const localVarQueryParameter = {} as any;
|
|
31187
|
+
|
|
31188
|
+
// authentication oauth2 required
|
|
31189
|
+
// oauth required
|
|
31190
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
31191
|
+
|
|
31192
|
+
|
|
31193
|
+
|
|
31194
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
31195
|
+
|
|
31196
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
31197
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
31198
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
31199
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createLanguageCommand, localVarRequestOptions, configuration)
|
|
31200
|
+
|
|
30982
31201
|
return {
|
|
30983
31202
|
url: toPathString(localVarUrlObj),
|
|
30984
31203
|
options: localVarRequestOptions,
|
|
@@ -31022,15 +31241,46 @@ export const LanguagesApiFp = function(configuration?: Configuration) {
|
|
|
31022
31241
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1LanguagesGet(id, name, code, description, page, limit, lastRetrieved, options);
|
|
31023
31242
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
31024
31243
|
},
|
|
31244
|
+
/**
|
|
31245
|
+
*
|
|
31246
|
+
* @param {string} languageId
|
|
31247
|
+
* @param {*} [options] Override http request option.
|
|
31248
|
+
* @throws {RequiredError}
|
|
31249
|
+
*/
|
|
31250
|
+
async apiV1LanguagesLanguageIdDelete(languageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
31251
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1LanguagesLanguageIdDelete(languageId, options);
|
|
31252
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
31253
|
+
},
|
|
31025
31254
|
/**
|
|
31026
31255
|
*
|
|
31027
31256
|
* @summary Get Language.
|
|
31028
|
-
* @param {string}
|
|
31257
|
+
* @param {string} languageId
|
|
31258
|
+
* @param {*} [options] Override http request option.
|
|
31259
|
+
* @throws {RequiredError}
|
|
31260
|
+
*/
|
|
31261
|
+
async apiV1LanguagesLanguageIdGet(languageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LanguageModel>> {
|
|
31262
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1LanguagesLanguageIdGet(languageId, options);
|
|
31263
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
31264
|
+
},
|
|
31265
|
+
/**
|
|
31266
|
+
*
|
|
31267
|
+
* @param {string} languageId
|
|
31268
|
+
* @param {UpdateLanguageCommand} [updateLanguageCommand]
|
|
31029
31269
|
* @param {*} [options] Override http request option.
|
|
31030
31270
|
* @throws {RequiredError}
|
|
31031
31271
|
*/
|
|
31032
|
-
async
|
|
31033
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
31272
|
+
async apiV1LanguagesLanguageIdPut(languageId: string, updateLanguageCommand?: UpdateLanguageCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LanguageModel>> {
|
|
31273
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1LanguagesLanguageIdPut(languageId, updateLanguageCommand, options);
|
|
31274
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
31275
|
+
},
|
|
31276
|
+
/**
|
|
31277
|
+
*
|
|
31278
|
+
* @param {CreateLanguageCommand} [createLanguageCommand]
|
|
31279
|
+
* @param {*} [options] Override http request option.
|
|
31280
|
+
* @throws {RequiredError}
|
|
31281
|
+
*/
|
|
31282
|
+
async apiV1LanguagesPost(createLanguageCommand?: CreateLanguageCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LanguageModel>> {
|
|
31283
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1LanguagesPost(createLanguageCommand, options);
|
|
31034
31284
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
31035
31285
|
},
|
|
31036
31286
|
}
|
|
@@ -31069,15 +31319,43 @@ export const LanguagesApiFactory = function (configuration?: Configuration, base
|
|
|
31069
31319
|
apiV1LanguagesGet(id?: string, name?: string, code?: string, description?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<LanguagesModel> {
|
|
31070
31320
|
return localVarFp.apiV1LanguagesGet(id, name, code, description, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
31071
31321
|
},
|
|
31322
|
+
/**
|
|
31323
|
+
*
|
|
31324
|
+
* @param {string} languageId
|
|
31325
|
+
* @param {*} [options] Override http request option.
|
|
31326
|
+
* @throws {RequiredError}
|
|
31327
|
+
*/
|
|
31328
|
+
apiV1LanguagesLanguageIdDelete(languageId: string, options?: any): AxiosPromise<boolean> {
|
|
31329
|
+
return localVarFp.apiV1LanguagesLanguageIdDelete(languageId, options).then((request) => request(axios, basePath));
|
|
31330
|
+
},
|
|
31072
31331
|
/**
|
|
31073
31332
|
*
|
|
31074
31333
|
* @summary Get Language.
|
|
31075
|
-
* @param {string}
|
|
31334
|
+
* @param {string} languageId
|
|
31076
31335
|
* @param {*} [options] Override http request option.
|
|
31077
31336
|
* @throws {RequiredError}
|
|
31078
31337
|
*/
|
|
31079
|
-
|
|
31080
|
-
return localVarFp.
|
|
31338
|
+
apiV1LanguagesLanguageIdGet(languageId: string, options?: any): AxiosPromise<LanguageModel> {
|
|
31339
|
+
return localVarFp.apiV1LanguagesLanguageIdGet(languageId, options).then((request) => request(axios, basePath));
|
|
31340
|
+
},
|
|
31341
|
+
/**
|
|
31342
|
+
*
|
|
31343
|
+
* @param {string} languageId
|
|
31344
|
+
* @param {UpdateLanguageCommand} [updateLanguageCommand]
|
|
31345
|
+
* @param {*} [options] Override http request option.
|
|
31346
|
+
* @throws {RequiredError}
|
|
31347
|
+
*/
|
|
31348
|
+
apiV1LanguagesLanguageIdPut(languageId: string, updateLanguageCommand?: UpdateLanguageCommand, options?: any): AxiosPromise<LanguageModel> {
|
|
31349
|
+
return localVarFp.apiV1LanguagesLanguageIdPut(languageId, updateLanguageCommand, options).then((request) => request(axios, basePath));
|
|
31350
|
+
},
|
|
31351
|
+
/**
|
|
31352
|
+
*
|
|
31353
|
+
* @param {CreateLanguageCommand} [createLanguageCommand]
|
|
31354
|
+
* @param {*} [options] Override http request option.
|
|
31355
|
+
* @throws {RequiredError}
|
|
31356
|
+
*/
|
|
31357
|
+
apiV1LanguagesPost(createLanguageCommand?: CreateLanguageCommand, options?: any): AxiosPromise<LanguageModel> {
|
|
31358
|
+
return localVarFp.apiV1LanguagesPost(createLanguageCommand, options).then((request) => request(axios, basePath));
|
|
31081
31359
|
},
|
|
31082
31360
|
};
|
|
31083
31361
|
};
|
|
@@ -31119,16 +31397,50 @@ export class LanguagesApi extends BaseAPI {
|
|
|
31119
31397
|
return LanguagesApiFp(this.configuration).apiV1LanguagesGet(id, name, code, description, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
31120
31398
|
}
|
|
31121
31399
|
|
|
31400
|
+
/**
|
|
31401
|
+
*
|
|
31402
|
+
* @param {string} languageId
|
|
31403
|
+
* @param {*} [options] Override http request option.
|
|
31404
|
+
* @throws {RequiredError}
|
|
31405
|
+
* @memberof LanguagesApi
|
|
31406
|
+
*/
|
|
31407
|
+
public apiV1LanguagesLanguageIdDelete(languageId: string, options?: AxiosRequestConfig) {
|
|
31408
|
+
return LanguagesApiFp(this.configuration).apiV1LanguagesLanguageIdDelete(languageId, options).then((request) => request(this.axios, this.basePath));
|
|
31409
|
+
}
|
|
31410
|
+
|
|
31122
31411
|
/**
|
|
31123
31412
|
*
|
|
31124
31413
|
* @summary Get Language.
|
|
31125
|
-
* @param {string}
|
|
31414
|
+
* @param {string} languageId
|
|
31415
|
+
* @param {*} [options] Override http request option.
|
|
31416
|
+
* @throws {RequiredError}
|
|
31417
|
+
* @memberof LanguagesApi
|
|
31418
|
+
*/
|
|
31419
|
+
public apiV1LanguagesLanguageIdGet(languageId: string, options?: AxiosRequestConfig) {
|
|
31420
|
+
return LanguagesApiFp(this.configuration).apiV1LanguagesLanguageIdGet(languageId, options).then((request) => request(this.axios, this.basePath));
|
|
31421
|
+
}
|
|
31422
|
+
|
|
31423
|
+
/**
|
|
31424
|
+
*
|
|
31425
|
+
* @param {string} languageId
|
|
31426
|
+
* @param {UpdateLanguageCommand} [updateLanguageCommand]
|
|
31126
31427
|
* @param {*} [options] Override http request option.
|
|
31127
31428
|
* @throws {RequiredError}
|
|
31128
31429
|
* @memberof LanguagesApi
|
|
31129
31430
|
*/
|
|
31130
|
-
public
|
|
31131
|
-
return LanguagesApiFp(this.configuration).
|
|
31431
|
+
public apiV1LanguagesLanguageIdPut(languageId: string, updateLanguageCommand?: UpdateLanguageCommand, options?: AxiosRequestConfig) {
|
|
31432
|
+
return LanguagesApiFp(this.configuration).apiV1LanguagesLanguageIdPut(languageId, updateLanguageCommand, options).then((request) => request(this.axios, this.basePath));
|
|
31433
|
+
}
|
|
31434
|
+
|
|
31435
|
+
/**
|
|
31436
|
+
*
|
|
31437
|
+
* @param {CreateLanguageCommand} [createLanguageCommand]
|
|
31438
|
+
* @param {*} [options] Override http request option.
|
|
31439
|
+
* @throws {RequiredError}
|
|
31440
|
+
* @memberof LanguagesApi
|
|
31441
|
+
*/
|
|
31442
|
+
public apiV1LanguagesPost(createLanguageCommand?: CreateLanguageCommand, options?: AxiosRequestConfig) {
|
|
31443
|
+
return LanguagesApiFp(this.configuration).apiV1LanguagesPost(createLanguageCommand, options).then((request) => request(this.axios, this.basePath));
|
|
31132
31444
|
}
|
|
31133
31445
|
}
|
|
31134
31446
|
|
|
@@ -34268,13 +34580,14 @@ export const ServiceReviewApiAxiosParamCreator = function (configuration?: Confi
|
|
|
34268
34580
|
* @param {string} [patientName]
|
|
34269
34581
|
* @param {boolean} [recommended]
|
|
34270
34582
|
* @param {number} [rate]
|
|
34583
|
+
* @param {ReviewType} [reviewType]
|
|
34271
34584
|
* @param {number} [page]
|
|
34272
34585
|
* @param {number} [limit]
|
|
34273
34586
|
* @param {Date} [lastRetrieved]
|
|
34274
34587
|
* @param {*} [options] Override http request option.
|
|
34275
34588
|
* @throws {RequiredError}
|
|
34276
34589
|
*/
|
|
34277
|
-
apiV1ServicereviewGet: async (serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, recommended?: boolean, rate?: number, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34590
|
+
apiV1ServicereviewGet: async (serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34278
34591
|
const localVarPath = `/api/v1/servicereview`;
|
|
34279
34592
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34280
34593
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -34315,6 +34628,10 @@ export const ServiceReviewApiAxiosParamCreator = function (configuration?: Confi
|
|
|
34315
34628
|
localVarQueryParameter['Rate'] = rate;
|
|
34316
34629
|
}
|
|
34317
34630
|
|
|
34631
|
+
if (reviewType !== undefined) {
|
|
34632
|
+
localVarQueryParameter['ReviewType'] = reviewType;
|
|
34633
|
+
}
|
|
34634
|
+
|
|
34318
34635
|
if (page !== undefined) {
|
|
34319
34636
|
localVarQueryParameter['page'] = page;
|
|
34320
34637
|
}
|
|
@@ -34751,14 +35068,15 @@ export const ServiceReviewApiFp = function(configuration?: Configuration) {
|
|
|
34751
35068
|
* @param {string} [patientName]
|
|
34752
35069
|
* @param {boolean} [recommended]
|
|
34753
35070
|
* @param {number} [rate]
|
|
35071
|
+
* @param {ReviewType} [reviewType]
|
|
34754
35072
|
* @param {number} [page]
|
|
34755
35073
|
* @param {number} [limit]
|
|
34756
35074
|
* @param {Date} [lastRetrieved]
|
|
34757
35075
|
* @param {*} [options] Override http request option.
|
|
34758
35076
|
* @throws {RequiredError}
|
|
34759
35077
|
*/
|
|
34760
|
-
async apiV1ServicereviewGet(serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, recommended?: boolean, rate?: number, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewsModel>> {
|
|
34761
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewGet(serviceId, serviceName, patientId, patientName, recommended, rate, page, limit, lastRetrieved, options);
|
|
35078
|
+
async apiV1ServicereviewGet(serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewsModel>> {
|
|
35079
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewGet(serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options);
|
|
34762
35080
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34763
35081
|
},
|
|
34764
35082
|
/**
|
|
@@ -34889,14 +35207,15 @@ export const ServiceReviewApiFactory = function (configuration?: Configuration,
|
|
|
34889
35207
|
* @param {string} [patientName]
|
|
34890
35208
|
* @param {boolean} [recommended]
|
|
34891
35209
|
* @param {number} [rate]
|
|
35210
|
+
* @param {ReviewType} [reviewType]
|
|
34892
35211
|
* @param {number} [page]
|
|
34893
35212
|
* @param {number} [limit]
|
|
34894
35213
|
* @param {Date} [lastRetrieved]
|
|
34895
35214
|
* @param {*} [options] Override http request option.
|
|
34896
35215
|
* @throws {RequiredError}
|
|
34897
35216
|
*/
|
|
34898
|
-
apiV1ServicereviewGet(serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, recommended?: boolean, rate?: number, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServiceReviewsModel> {
|
|
34899
|
-
return localVarFp.apiV1ServicereviewGet(serviceId, serviceName, patientId, patientName, recommended, rate, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
35217
|
+
apiV1ServicereviewGet(serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServiceReviewsModel> {
|
|
35218
|
+
return localVarFp.apiV1ServicereviewGet(serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
34900
35219
|
},
|
|
34901
35220
|
/**
|
|
34902
35221
|
*
|
|
@@ -35017,6 +35336,7 @@ export class ServiceReviewApi extends BaseAPI {
|
|
|
35017
35336
|
* @param {string} [patientName]
|
|
35018
35337
|
* @param {boolean} [recommended]
|
|
35019
35338
|
* @param {number} [rate]
|
|
35339
|
+
* @param {ReviewType} [reviewType]
|
|
35020
35340
|
* @param {number} [page]
|
|
35021
35341
|
* @param {number} [limit]
|
|
35022
35342
|
* @param {Date} [lastRetrieved]
|
|
@@ -35024,8 +35344,8 @@ export class ServiceReviewApi extends BaseAPI {
|
|
|
35024
35344
|
* @throws {RequiredError}
|
|
35025
35345
|
* @memberof ServiceReviewApi
|
|
35026
35346
|
*/
|
|
35027
|
-
public apiV1ServicereviewGet(serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, recommended?: boolean, rate?: number, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
35028
|
-
return ServiceReviewApiFp(this.configuration).apiV1ServicereviewGet(serviceId, serviceName, patientId, patientName, recommended, rate, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
35347
|
+
public apiV1ServicereviewGet(serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, recommended?: boolean, rate?: number, reviewType?: ReviewType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
35348
|
+
return ServiceReviewApiFp(this.configuration).apiV1ServicereviewGet(serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
35029
35349
|
}
|
|
35030
35350
|
|
|
35031
35351
|
/**
|