ch-admin-api-client-typescript 2.5.8 → 2.6.2
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 +82 -56
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +70 -65
- package/package.json +1 -1
- package/src/api.ts +119 -65
package/src/api.ts
CHANGED
|
@@ -4462,6 +4462,18 @@ export interface DealItemModel {
|
|
|
4462
4462
|
* @memberof DealItemModel
|
|
4463
4463
|
*/
|
|
4464
4464
|
'auditableEntity'?: AuditableEntity;
|
|
4465
|
+
/**
|
|
4466
|
+
*
|
|
4467
|
+
* @type {Array<LocalizedUrlModel>}
|
|
4468
|
+
* @memberof DealItemModel
|
|
4469
|
+
*/
|
|
4470
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
4471
|
+
/**
|
|
4472
|
+
*
|
|
4473
|
+
* @type {boolean}
|
|
4474
|
+
* @memberof DealItemModel
|
|
4475
|
+
*/
|
|
4476
|
+
'confirmed'?: boolean;
|
|
4465
4477
|
}
|
|
4466
4478
|
/**
|
|
4467
4479
|
*
|
|
@@ -4553,6 +4565,24 @@ export interface DealModel {
|
|
|
4553
4565
|
* @memberof DealModel
|
|
4554
4566
|
*/
|
|
4555
4567
|
'auditableEntity'?: AuditableEntity;
|
|
4568
|
+
/**
|
|
4569
|
+
*
|
|
4570
|
+
* @type {Array<LocalizedUrlModel>}
|
|
4571
|
+
* @memberof DealModel
|
|
4572
|
+
*/
|
|
4573
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
4574
|
+
/**
|
|
4575
|
+
*
|
|
4576
|
+
* @type {boolean}
|
|
4577
|
+
* @memberof DealModel
|
|
4578
|
+
*/
|
|
4579
|
+
'confirmed'?: boolean;
|
|
4580
|
+
/**
|
|
4581
|
+
*
|
|
4582
|
+
* @type {string}
|
|
4583
|
+
* @memberof DealModel
|
|
4584
|
+
*/
|
|
4585
|
+
'languageCode'?: string | null;
|
|
4556
4586
|
}
|
|
4557
4587
|
/**
|
|
4558
4588
|
*
|
|
@@ -10219,6 +10249,18 @@ export interface UpdateDealCommand {
|
|
|
10219
10249
|
* @memberof UpdateDealCommand
|
|
10220
10250
|
*/
|
|
10221
10251
|
'photoThumbnail'?: string | null;
|
|
10252
|
+
/**
|
|
10253
|
+
*
|
|
10254
|
+
* @type {string}
|
|
10255
|
+
* @memberof UpdateDealCommand
|
|
10256
|
+
*/
|
|
10257
|
+
'languageCode'?: string | null;
|
|
10258
|
+
/**
|
|
10259
|
+
*
|
|
10260
|
+
* @type {boolean}
|
|
10261
|
+
* @memberof UpdateDealCommand
|
|
10262
|
+
*/
|
|
10263
|
+
'confirmed'?: boolean;
|
|
10222
10264
|
}
|
|
10223
10265
|
/**
|
|
10224
10266
|
*
|
|
@@ -18602,7 +18644,6 @@ export const CountriesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
18602
18644
|
},
|
|
18603
18645
|
/**
|
|
18604
18646
|
*
|
|
18605
|
-
* @summary Get country by slug.
|
|
18606
18647
|
* @param {string} slug
|
|
18607
18648
|
* @param {string} [languageCode]
|
|
18608
18649
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -18803,7 +18844,6 @@ export const CountriesApiFp = function(configuration?: Configuration) {
|
|
|
18803
18844
|
},
|
|
18804
18845
|
/**
|
|
18805
18846
|
*
|
|
18806
|
-
* @summary Get country by slug.
|
|
18807
18847
|
* @param {string} slug
|
|
18808
18848
|
* @param {string} [languageCode]
|
|
18809
18849
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -18958,7 +18998,6 @@ export const CountriesApiFactory = function (configuration?: Configuration, base
|
|
|
18958
18998
|
},
|
|
18959
18999
|
/**
|
|
18960
19000
|
*
|
|
18961
|
-
* @summary Get country by slug.
|
|
18962
19001
|
* @param {string} slug
|
|
18963
19002
|
* @param {string} [languageCode]
|
|
18964
19003
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -19134,7 +19173,6 @@ export class CountriesApi extends BaseAPI {
|
|
|
19134
19173
|
|
|
19135
19174
|
/**
|
|
19136
19175
|
*
|
|
19137
|
-
* @summary Get country by slug.
|
|
19138
19176
|
* @param {string} slug
|
|
19139
19177
|
* @param {string} [languageCode]
|
|
19140
19178
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -19196,10 +19234,12 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
19196
19234
|
*
|
|
19197
19235
|
* @summary Get deal.
|
|
19198
19236
|
* @param {string} dealId
|
|
19237
|
+
* @param {string} [languageCode]
|
|
19238
|
+
* @param {boolean} [returnDefaultValue]
|
|
19199
19239
|
* @param {*} [options] Override http request option.
|
|
19200
19240
|
* @throws {RequiredError}
|
|
19201
19241
|
*/
|
|
19202
|
-
apiV1DealsDealIdGet: async (dealId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19242
|
+
apiV1DealsDealIdGet: async (dealId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19203
19243
|
// verify required parameter 'dealId' is not null or undefined
|
|
19204
19244
|
assertParamExists('apiV1DealsDealIdGet', 'dealId', dealId)
|
|
19205
19245
|
const localVarPath = `/api/v1/deals/{dealId}`
|
|
@@ -19219,6 +19259,14 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
19219
19259
|
// oauth required
|
|
19220
19260
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
19221
19261
|
|
|
19262
|
+
if (languageCode !== undefined) {
|
|
19263
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
19264
|
+
}
|
|
19265
|
+
|
|
19266
|
+
if (returnDefaultValue !== undefined) {
|
|
19267
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
19268
|
+
}
|
|
19269
|
+
|
|
19222
19270
|
|
|
19223
19271
|
|
|
19224
19272
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -19770,13 +19818,16 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
19770
19818
|
* @param {string} [exceptHospitalId]
|
|
19771
19819
|
* @param {string} [exceptDealId]
|
|
19772
19820
|
* @param {Array<string>} [ids]
|
|
19821
|
+
* @param {string} [languageCode]
|
|
19822
|
+
* @param {boolean} [showHidden]
|
|
19823
|
+
* @param {boolean} [returnDefaultValue]
|
|
19773
19824
|
* @param {number} [page]
|
|
19774
19825
|
* @param {number} [limit]
|
|
19775
19826
|
* @param {Date} [lastRetrieved]
|
|
19776
19827
|
* @param {*} [options] Override http request option.
|
|
19777
19828
|
* @throws {RequiredError}
|
|
19778
19829
|
*/
|
|
19779
|
-
apiV1DealsGet: async (id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19830
|
+
apiV1DealsGet: async (id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19780
19831
|
const localVarPath = `/api/v1/deals`;
|
|
19781
19832
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19782
19833
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -19837,6 +19888,18 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
19837
19888
|
localVarQueryParameter['Ids'] = ids;
|
|
19838
19889
|
}
|
|
19839
19890
|
|
|
19891
|
+
if (languageCode !== undefined) {
|
|
19892
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
19893
|
+
}
|
|
19894
|
+
|
|
19895
|
+
if (showHidden !== undefined) {
|
|
19896
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
19897
|
+
}
|
|
19898
|
+
|
|
19899
|
+
if (returnDefaultValue !== undefined) {
|
|
19900
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
19901
|
+
}
|
|
19902
|
+
|
|
19840
19903
|
if (page !== undefined) {
|
|
19841
19904
|
localVarQueryParameter['page'] = page;
|
|
19842
19905
|
}
|
|
@@ -19904,10 +19967,12 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
19904
19967
|
*
|
|
19905
19968
|
* @summary Get deal by slug.
|
|
19906
19969
|
* @param {string} slug
|
|
19970
|
+
* @param {string} [languageCode]
|
|
19971
|
+
* @param {boolean} [returnDefaultValue]
|
|
19907
19972
|
* @param {*} [options] Override http request option.
|
|
19908
19973
|
* @throws {RequiredError}
|
|
19909
19974
|
*/
|
|
19910
|
-
apiV1DealsSlugGet: async (slug: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19975
|
+
apiV1DealsSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19911
19976
|
// verify required parameter 'slug' is not null or undefined
|
|
19912
19977
|
assertParamExists('apiV1DealsSlugGet', 'slug', slug)
|
|
19913
19978
|
const localVarPath = `/api/v1/deals/{slug}`
|
|
@@ -19927,6 +19992,14 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
19927
19992
|
// oauth required
|
|
19928
19993
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
19929
19994
|
|
|
19995
|
+
if (languageCode !== undefined) {
|
|
19996
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
19997
|
+
}
|
|
19998
|
+
|
|
19999
|
+
if (returnDefaultValue !== undefined) {
|
|
20000
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
20001
|
+
}
|
|
20002
|
+
|
|
19930
20003
|
|
|
19931
20004
|
|
|
19932
20005
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -19963,11 +20036,13 @@ export const DealsApiFp = function(configuration?: Configuration) {
|
|
|
19963
20036
|
*
|
|
19964
20037
|
* @summary Get deal.
|
|
19965
20038
|
* @param {string} dealId
|
|
20039
|
+
* @param {string} [languageCode]
|
|
20040
|
+
* @param {boolean} [returnDefaultValue]
|
|
19966
20041
|
* @param {*} [options] Override http request option.
|
|
19967
20042
|
* @throws {RequiredError}
|
|
19968
20043
|
*/
|
|
19969
|
-
async apiV1DealsDealIdGet(dealId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealModel>> {
|
|
19970
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsDealIdGet(dealId, options);
|
|
20044
|
+
async apiV1DealsDealIdGet(dealId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealModel>> {
|
|
20045
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsDealIdGet(dealId, languageCode, returnDefaultValue, options);
|
|
19971
20046
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
19972
20047
|
},
|
|
19973
20048
|
/**
|
|
@@ -20128,14 +20203,17 @@ export const DealsApiFp = function(configuration?: Configuration) {
|
|
|
20128
20203
|
* @param {string} [exceptHospitalId]
|
|
20129
20204
|
* @param {string} [exceptDealId]
|
|
20130
20205
|
* @param {Array<string>} [ids]
|
|
20206
|
+
* @param {string} [languageCode]
|
|
20207
|
+
* @param {boolean} [showHidden]
|
|
20208
|
+
* @param {boolean} [returnDefaultValue]
|
|
20131
20209
|
* @param {number} [page]
|
|
20132
20210
|
* @param {number} [limit]
|
|
20133
20211
|
* @param {Date} [lastRetrieved]
|
|
20134
20212
|
* @param {*} [options] Override http request option.
|
|
20135
20213
|
* @throws {RequiredError}
|
|
20136
20214
|
*/
|
|
20137
|
-
async apiV1DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealsModel>> {
|
|
20138
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, page, limit, lastRetrieved, options);
|
|
20215
|
+
async apiV1DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealsModel>> {
|
|
20216
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
20139
20217
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
20140
20218
|
},
|
|
20141
20219
|
/**
|
|
@@ -20153,11 +20231,13 @@ export const DealsApiFp = function(configuration?: Configuration) {
|
|
|
20153
20231
|
*
|
|
20154
20232
|
* @summary Get deal by slug.
|
|
20155
20233
|
* @param {string} slug
|
|
20234
|
+
* @param {string} [languageCode]
|
|
20235
|
+
* @param {boolean} [returnDefaultValue]
|
|
20156
20236
|
* @param {*} [options] Override http request option.
|
|
20157
20237
|
* @throws {RequiredError}
|
|
20158
20238
|
*/
|
|
20159
|
-
async apiV1DealsSlugGet(slug: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealModel>> {
|
|
20160
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsSlugGet(slug, options);
|
|
20239
|
+
async apiV1DealsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealModel>> {
|
|
20240
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsSlugGet(slug, languageCode, returnDefaultValue, options);
|
|
20161
20241
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
20162
20242
|
},
|
|
20163
20243
|
}
|
|
@@ -20184,11 +20264,13 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
|
|
|
20184
20264
|
*
|
|
20185
20265
|
* @summary Get deal.
|
|
20186
20266
|
* @param {string} dealId
|
|
20267
|
+
* @param {string} [languageCode]
|
|
20268
|
+
* @param {boolean} [returnDefaultValue]
|
|
20187
20269
|
* @param {*} [options] Override http request option.
|
|
20188
20270
|
* @throws {RequiredError}
|
|
20189
20271
|
*/
|
|
20190
|
-
apiV1DealsDealIdGet(dealId: string, options?: any): AxiosPromise<DealModel> {
|
|
20191
|
-
return localVarFp.apiV1DealsDealIdGet(dealId, options).then((request) => request(axios, basePath));
|
|
20272
|
+
apiV1DealsDealIdGet(dealId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<DealModel> {
|
|
20273
|
+
return localVarFp.apiV1DealsDealIdGet(dealId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
20192
20274
|
},
|
|
20193
20275
|
/**
|
|
20194
20276
|
*
|
|
@@ -20337,14 +20419,17 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
|
|
|
20337
20419
|
* @param {string} [exceptHospitalId]
|
|
20338
20420
|
* @param {string} [exceptDealId]
|
|
20339
20421
|
* @param {Array<string>} [ids]
|
|
20422
|
+
* @param {string} [languageCode]
|
|
20423
|
+
* @param {boolean} [showHidden]
|
|
20424
|
+
* @param {boolean} [returnDefaultValue]
|
|
20340
20425
|
* @param {number} [page]
|
|
20341
20426
|
* @param {number} [limit]
|
|
20342
20427
|
* @param {Date} [lastRetrieved]
|
|
20343
20428
|
* @param {*} [options] Override http request option.
|
|
20344
20429
|
* @throws {RequiredError}
|
|
20345
20430
|
*/
|
|
20346
|
-
apiV1DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealsModel> {
|
|
20347
|
-
return localVarFp.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
20431
|
+
apiV1DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealsModel> {
|
|
20432
|
+
return localVarFp.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
20348
20433
|
},
|
|
20349
20434
|
/**
|
|
20350
20435
|
*
|
|
@@ -20360,11 +20445,13 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
|
|
|
20360
20445
|
*
|
|
20361
20446
|
* @summary Get deal by slug.
|
|
20362
20447
|
* @param {string} slug
|
|
20448
|
+
* @param {string} [languageCode]
|
|
20449
|
+
* @param {boolean} [returnDefaultValue]
|
|
20363
20450
|
* @param {*} [options] Override http request option.
|
|
20364
20451
|
* @throws {RequiredError}
|
|
20365
20452
|
*/
|
|
20366
|
-
apiV1DealsSlugGet(slug: string, options?: any): AxiosPromise<DealModel> {
|
|
20367
|
-
return localVarFp.apiV1DealsSlugGet(slug, options).then((request) => request(axios, basePath));
|
|
20453
|
+
apiV1DealsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<DealModel> {
|
|
20454
|
+
return localVarFp.apiV1DealsSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
20368
20455
|
},
|
|
20369
20456
|
};
|
|
20370
20457
|
};
|
|
@@ -20392,12 +20479,14 @@ export class DealsApi extends BaseAPI {
|
|
|
20392
20479
|
*
|
|
20393
20480
|
* @summary Get deal.
|
|
20394
20481
|
* @param {string} dealId
|
|
20482
|
+
* @param {string} [languageCode]
|
|
20483
|
+
* @param {boolean} [returnDefaultValue]
|
|
20395
20484
|
* @param {*} [options] Override http request option.
|
|
20396
20485
|
* @throws {RequiredError}
|
|
20397
20486
|
* @memberof DealsApi
|
|
20398
20487
|
*/
|
|
20399
|
-
public apiV1DealsDealIdGet(dealId: string, options?: AxiosRequestConfig) {
|
|
20400
|
-
return DealsApiFp(this.configuration).apiV1DealsDealIdGet(dealId, options).then((request) => request(this.axios, this.basePath));
|
|
20488
|
+
public apiV1DealsDealIdGet(dealId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
20489
|
+
return DealsApiFp(this.configuration).apiV1DealsDealIdGet(dealId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
20401
20490
|
}
|
|
20402
20491
|
|
|
20403
20492
|
/**
|
|
@@ -20569,6 +20658,9 @@ export class DealsApi extends BaseAPI {
|
|
|
20569
20658
|
* @param {string} [exceptHospitalId]
|
|
20570
20659
|
* @param {string} [exceptDealId]
|
|
20571
20660
|
* @param {Array<string>} [ids]
|
|
20661
|
+
* @param {string} [languageCode]
|
|
20662
|
+
* @param {boolean} [showHidden]
|
|
20663
|
+
* @param {boolean} [returnDefaultValue]
|
|
20572
20664
|
* @param {number} [page]
|
|
20573
20665
|
* @param {number} [limit]
|
|
20574
20666
|
* @param {Date} [lastRetrieved]
|
|
@@ -20576,8 +20668,8 @@ export class DealsApi extends BaseAPI {
|
|
|
20576
20668
|
* @throws {RequiredError}
|
|
20577
20669
|
* @memberof DealsApi
|
|
20578
20670
|
*/
|
|
20579
|
-
public apiV1DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
20580
|
-
return DealsApiFp(this.configuration).apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
20671
|
+
public apiV1DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyTypeId?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
20672
|
+
return DealsApiFp(this.configuration).apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
20581
20673
|
}
|
|
20582
20674
|
|
|
20583
20675
|
/**
|
|
@@ -20596,12 +20688,14 @@ export class DealsApi extends BaseAPI {
|
|
|
20596
20688
|
*
|
|
20597
20689
|
* @summary Get deal by slug.
|
|
20598
20690
|
* @param {string} slug
|
|
20691
|
+
* @param {string} [languageCode]
|
|
20692
|
+
* @param {boolean} [returnDefaultValue]
|
|
20599
20693
|
* @param {*} [options] Override http request option.
|
|
20600
20694
|
* @throws {RequiredError}
|
|
20601
20695
|
* @memberof DealsApi
|
|
20602
20696
|
*/
|
|
20603
|
-
public apiV1DealsSlugGet(slug: string, options?: AxiosRequestConfig) {
|
|
20604
|
-
return DealsApiFp(this.configuration).apiV1DealsSlugGet(slug, options).then((request) => request(this.axios, this.basePath));
|
|
20697
|
+
public apiV1DealsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
20698
|
+
return DealsApiFp(this.configuration).apiV1DealsSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
20605
20699
|
}
|
|
20606
20700
|
}
|
|
20607
20701
|
|
|
@@ -21347,7 +21441,6 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
21347
21441
|
},
|
|
21348
21442
|
/**
|
|
21349
21443
|
*
|
|
21350
|
-
* @summary Get Doctor.
|
|
21351
21444
|
* @param {string} doctorId
|
|
21352
21445
|
* @param {string} [languageCode]
|
|
21353
21446
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -22301,7 +22394,6 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
22301
22394
|
},
|
|
22302
22395
|
/**
|
|
22303
22396
|
*
|
|
22304
|
-
* @summary Get Doctor by slug.
|
|
22305
22397
|
* @param {string} slug
|
|
22306
22398
|
* @param {string} [languageCode]
|
|
22307
22399
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -22556,7 +22648,6 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
22556
22648
|
},
|
|
22557
22649
|
/**
|
|
22558
22650
|
*
|
|
22559
|
-
* @summary Get Doctor.
|
|
22560
22651
|
* @param {string} doctorId
|
|
22561
22652
|
* @param {string} [languageCode]
|
|
22562
22653
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -22812,7 +22903,6 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
22812
22903
|
},
|
|
22813
22904
|
/**
|
|
22814
22905
|
*
|
|
22815
|
-
* @summary Get Doctor by slug.
|
|
22816
22906
|
* @param {string} slug
|
|
22817
22907
|
* @param {string} [languageCode]
|
|
22818
22908
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -23017,7 +23107,6 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
23017
23107
|
},
|
|
23018
23108
|
/**
|
|
23019
23109
|
*
|
|
23020
|
-
* @summary Get Doctor.
|
|
23021
23110
|
* @param {string} doctorId
|
|
23022
23111
|
* @param {string} [languageCode]
|
|
23023
23112
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -23254,7 +23343,6 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
23254
23343
|
},
|
|
23255
23344
|
/**
|
|
23256
23345
|
*
|
|
23257
|
-
* @summary Get Doctor by slug.
|
|
23258
23346
|
* @param {string} slug
|
|
23259
23347
|
* @param {string} [languageCode]
|
|
23260
23348
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -23488,7 +23576,6 @@ export class DoctorsApi extends BaseAPI {
|
|
|
23488
23576
|
|
|
23489
23577
|
/**
|
|
23490
23578
|
*
|
|
23491
|
-
* @summary Get Doctor.
|
|
23492
23579
|
* @param {string} doctorId
|
|
23493
23580
|
* @param {string} [languageCode]
|
|
23494
23581
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -23763,7 +23850,6 @@ export class DoctorsApi extends BaseAPI {
|
|
|
23763
23850
|
|
|
23764
23851
|
/**
|
|
23765
23852
|
*
|
|
23766
|
-
* @summary Get Doctor by slug.
|
|
23767
23853
|
* @param {string} slug
|
|
23768
23854
|
* @param {string} [languageCode]
|
|
23769
23855
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -27754,7 +27840,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
27754
27840
|
},
|
|
27755
27841
|
/**
|
|
27756
27842
|
*
|
|
27757
|
-
* @summary Delete HospitalService
|
|
27758
27843
|
* @param {string} hospitalId
|
|
27759
27844
|
* @param {string} specialtyId
|
|
27760
27845
|
* @param {string} serviceId
|
|
@@ -27800,7 +27885,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
27800
27885
|
},
|
|
27801
27886
|
/**
|
|
27802
27887
|
*
|
|
27803
|
-
* @summary Get HospitalService.
|
|
27804
27888
|
* @param {string} hospitalId
|
|
27805
27889
|
* @param {string} specialtyId
|
|
27806
27890
|
* @param {string} serviceId
|
|
@@ -28344,7 +28428,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
28344
28428
|
},
|
|
28345
28429
|
/**
|
|
28346
28430
|
*
|
|
28347
|
-
* @summary Get Hospital by slug.
|
|
28348
28431
|
* @param {string} slug
|
|
28349
28432
|
* @param {string} [languageCode]
|
|
28350
28433
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -28887,7 +28970,6 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
28887
28970
|
},
|
|
28888
28971
|
/**
|
|
28889
28972
|
*
|
|
28890
|
-
* @summary Delete HospitalService
|
|
28891
28973
|
* @param {string} hospitalId
|
|
28892
28974
|
* @param {string} specialtyId
|
|
28893
28975
|
* @param {string} serviceId
|
|
@@ -28900,7 +28982,6 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
28900
28982
|
},
|
|
28901
28983
|
/**
|
|
28902
28984
|
*
|
|
28903
|
-
* @summary Get HospitalService.
|
|
28904
28985
|
* @param {string} hospitalId
|
|
28905
28986
|
* @param {string} specialtyId
|
|
28906
28987
|
* @param {string} serviceId
|
|
@@ -29042,7 +29123,6 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
29042
29123
|
},
|
|
29043
29124
|
/**
|
|
29044
29125
|
*
|
|
29045
|
-
* @summary Get Hospital by slug.
|
|
29046
29126
|
* @param {string} slug
|
|
29047
29127
|
* @param {string} [languageCode]
|
|
29048
29128
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -29516,7 +29596,6 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
29516
29596
|
},
|
|
29517
29597
|
/**
|
|
29518
29598
|
*
|
|
29519
|
-
* @summary Delete HospitalService
|
|
29520
29599
|
* @param {string} hospitalId
|
|
29521
29600
|
* @param {string} specialtyId
|
|
29522
29601
|
* @param {string} serviceId
|
|
@@ -29528,7 +29607,6 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
29528
29607
|
},
|
|
29529
29608
|
/**
|
|
29530
29609
|
*
|
|
29531
|
-
* @summary Get HospitalService.
|
|
29532
29610
|
* @param {string} hospitalId
|
|
29533
29611
|
* @param {string} specialtyId
|
|
29534
29612
|
* @param {string} serviceId
|
|
@@ -29661,7 +29739,6 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
29661
29739
|
},
|
|
29662
29740
|
/**
|
|
29663
29741
|
*
|
|
29664
|
-
* @summary Get Hospital by slug.
|
|
29665
29742
|
* @param {string} slug
|
|
29666
29743
|
* @param {string} [languageCode]
|
|
29667
29744
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -30202,7 +30279,6 @@ export class HospitalsApi extends BaseAPI {
|
|
|
30202
30279
|
|
|
30203
30280
|
/**
|
|
30204
30281
|
*
|
|
30205
|
-
* @summary Delete HospitalService
|
|
30206
30282
|
* @param {string} hospitalId
|
|
30207
30283
|
* @param {string} specialtyId
|
|
30208
30284
|
* @param {string} serviceId
|
|
@@ -30216,7 +30292,6 @@ export class HospitalsApi extends BaseAPI {
|
|
|
30216
30292
|
|
|
30217
30293
|
/**
|
|
30218
30294
|
*
|
|
30219
|
-
* @summary Get HospitalService.
|
|
30220
30295
|
* @param {string} hospitalId
|
|
30221
30296
|
* @param {string} specialtyId
|
|
30222
30297
|
* @param {string} serviceId
|
|
@@ -30367,7 +30442,6 @@ export class HospitalsApi extends BaseAPI {
|
|
|
30367
30442
|
|
|
30368
30443
|
/**
|
|
30369
30444
|
*
|
|
30370
|
-
* @summary Get Hospital by slug.
|
|
30371
30445
|
* @param {string} slug
|
|
30372
30446
|
* @param {string} [languageCode]
|
|
30373
30447
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -34042,7 +34116,6 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
34042
34116
|
},
|
|
34043
34117
|
/**
|
|
34044
34118
|
*
|
|
34045
|
-
* @summary Get HospitalService.
|
|
34046
34119
|
* @param {string} serviceId
|
|
34047
34120
|
* @param {string} [languageCode]
|
|
34048
34121
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -34090,7 +34163,6 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
34090
34163
|
},
|
|
34091
34164
|
/**
|
|
34092
34165
|
*
|
|
34093
|
-
* @summary Get HospitalService by slug.
|
|
34094
34166
|
* @param {string} slug
|
|
34095
34167
|
* @param {string} [languageCode]
|
|
34096
34168
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -34177,7 +34249,6 @@ export const ServicesApiFp = function(configuration?: Configuration) {
|
|
|
34177
34249
|
},
|
|
34178
34250
|
/**
|
|
34179
34251
|
*
|
|
34180
|
-
* @summary Get HospitalService.
|
|
34181
34252
|
* @param {string} serviceId
|
|
34182
34253
|
* @param {string} [languageCode]
|
|
34183
34254
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -34190,7 +34261,6 @@ export const ServicesApiFp = function(configuration?: Configuration) {
|
|
|
34190
34261
|
},
|
|
34191
34262
|
/**
|
|
34192
34263
|
*
|
|
34193
|
-
* @summary Get HospitalService by slug.
|
|
34194
34264
|
* @param {string} slug
|
|
34195
34265
|
* @param {string} [languageCode]
|
|
34196
34266
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -34241,7 +34311,6 @@ export const ServicesApiFactory = function (configuration?: Configuration, baseP
|
|
|
34241
34311
|
},
|
|
34242
34312
|
/**
|
|
34243
34313
|
*
|
|
34244
|
-
* @summary Get HospitalService.
|
|
34245
34314
|
* @param {string} serviceId
|
|
34246
34315
|
* @param {string} [languageCode]
|
|
34247
34316
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -34253,7 +34322,6 @@ export const ServicesApiFactory = function (configuration?: Configuration, baseP
|
|
|
34253
34322
|
},
|
|
34254
34323
|
/**
|
|
34255
34324
|
*
|
|
34256
|
-
* @summary Get HospitalService by slug.
|
|
34257
34325
|
* @param {string} slug
|
|
34258
34326
|
* @param {string} [languageCode]
|
|
34259
34327
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -34305,7 +34373,6 @@ export class ServicesApi extends BaseAPI {
|
|
|
34305
34373
|
|
|
34306
34374
|
/**
|
|
34307
34375
|
*
|
|
34308
|
-
* @summary Get HospitalService.
|
|
34309
34376
|
* @param {string} serviceId
|
|
34310
34377
|
* @param {string} [languageCode]
|
|
34311
34378
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -34319,7 +34386,6 @@ export class ServicesApi extends BaseAPI {
|
|
|
34319
34386
|
|
|
34320
34387
|
/**
|
|
34321
34388
|
*
|
|
34322
|
-
* @summary Get HospitalService by slug.
|
|
34323
34389
|
* @param {string} slug
|
|
34324
34390
|
* @param {string} [languageCode]
|
|
34325
34391
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -34932,7 +34998,6 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
34932
34998
|
},
|
|
34933
34999
|
/**
|
|
34934
35000
|
*
|
|
34935
|
-
* @summary Get Specialty by slug.
|
|
34936
35001
|
* @param {string} slug
|
|
34937
35002
|
* @param {string} [languageCode]
|
|
34938
35003
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -35388,7 +35453,6 @@ export const SpecialtiesApiFp = function(configuration?: Configuration) {
|
|
|
35388
35453
|
},
|
|
35389
35454
|
/**
|
|
35390
35455
|
*
|
|
35391
|
-
* @summary Get Specialty by slug.
|
|
35392
35456
|
* @param {string} slug
|
|
35393
35457
|
* @param {string} [languageCode]
|
|
35394
35458
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -35543,7 +35607,6 @@ export const SpecialtiesApiFactory = function (configuration?: Configuration, ba
|
|
|
35543
35607
|
},
|
|
35544
35608
|
/**
|
|
35545
35609
|
*
|
|
35546
|
-
* @summary Get Specialty by slug.
|
|
35547
35610
|
* @param {string} slug
|
|
35548
35611
|
* @param {string} [languageCode]
|
|
35549
35612
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -35693,7 +35756,6 @@ export class SpecialtiesApi extends BaseAPI {
|
|
|
35693
35756
|
|
|
35694
35757
|
/**
|
|
35695
35758
|
*
|
|
35696
|
-
* @summary Get Specialty by slug.
|
|
35697
35759
|
* @param {string} slug
|
|
35698
35760
|
* @param {string} [languageCode]
|
|
35699
35761
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -36068,7 +36130,6 @@ export const SpecialtyTypesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
36068
36130
|
},
|
|
36069
36131
|
/**
|
|
36070
36132
|
*
|
|
36071
|
-
* @summary Get Department by slug.
|
|
36072
36133
|
* @param {string} slug
|
|
36073
36134
|
* @param {string} [languageCode]
|
|
36074
36135
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -36154,7 +36215,6 @@ export const SpecialtyTypesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
36154
36215
|
},
|
|
36155
36216
|
/**
|
|
36156
36217
|
*
|
|
36157
|
-
* @summary Get Department.
|
|
36158
36218
|
* @param {string} specialtyTypeId
|
|
36159
36219
|
* @param {string} [languageCode]
|
|
36160
36220
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -36548,7 +36608,6 @@ export const SpecialtyTypesApiFp = function(configuration?: Configuration) {
|
|
|
36548
36608
|
},
|
|
36549
36609
|
/**
|
|
36550
36610
|
*
|
|
36551
|
-
* @summary Get Department by slug.
|
|
36552
36611
|
* @param {string} slug
|
|
36553
36612
|
* @param {string} [languageCode]
|
|
36554
36613
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -36572,7 +36631,6 @@ export const SpecialtyTypesApiFp = function(configuration?: Configuration) {
|
|
|
36572
36631
|
},
|
|
36573
36632
|
/**
|
|
36574
36633
|
*
|
|
36575
|
-
* @summary Get Department.
|
|
36576
36634
|
* @param {string} specialtyTypeId
|
|
36577
36635
|
* @param {string} [languageCode]
|
|
36578
36636
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -36726,7 +36784,6 @@ export const SpecialtyTypesApiFactory = function (configuration?: Configuration,
|
|
|
36726
36784
|
},
|
|
36727
36785
|
/**
|
|
36728
36786
|
*
|
|
36729
|
-
* @summary Get Department by slug.
|
|
36730
36787
|
* @param {string} slug
|
|
36731
36788
|
* @param {string} [languageCode]
|
|
36732
36789
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -36748,7 +36805,6 @@ export const SpecialtyTypesApiFactory = function (configuration?: Configuration,
|
|
|
36748
36805
|
},
|
|
36749
36806
|
/**
|
|
36750
36807
|
*
|
|
36751
|
-
* @summary Get Department.
|
|
36752
36808
|
* @param {string} specialtyTypeId
|
|
36753
36809
|
* @param {string} [languageCode]
|
|
36754
36810
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -36901,7 +36957,6 @@ export class SpecialtyTypesApi extends BaseAPI {
|
|
|
36901
36957
|
|
|
36902
36958
|
/**
|
|
36903
36959
|
*
|
|
36904
|
-
* @summary Get Department by slug.
|
|
36905
36960
|
* @param {string} slug
|
|
36906
36961
|
* @param {string} [languageCode]
|
|
36907
36962
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -36927,7 +36982,6 @@ export class SpecialtyTypesApi extends BaseAPI {
|
|
|
36927
36982
|
|
|
36928
36983
|
/**
|
|
36929
36984
|
*
|
|
36930
|
-
* @summary Get Department.
|
|
36931
36985
|
* @param {string} specialtyTypeId
|
|
36932
36986
|
* @param {string} [languageCode]
|
|
36933
36987
|
* @param {boolean} [returnDefaultValue]
|