ch-admin-api-client-typescript 2.8.10 → 2.8.13
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 +56 -24
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +76 -41
- package/package.json +1 -1
- package/src/api.ts +93 -41
package/src/api.ts
CHANGED
|
@@ -7381,6 +7381,12 @@ export interface HospitalServiceItemModel {
|
|
|
7381
7381
|
* @memberof HospitalServiceItemModel
|
|
7382
7382
|
*/
|
|
7383
7383
|
'hospitalName'?: string | null;
|
|
7384
|
+
/**
|
|
7385
|
+
*
|
|
7386
|
+
* @type {string}
|
|
7387
|
+
* @memberof HospitalServiceItemModel
|
|
7388
|
+
*/
|
|
7389
|
+
'hospitalSlug'?: string | null;
|
|
7384
7390
|
/**
|
|
7385
7391
|
*
|
|
7386
7392
|
* @type {string}
|
|
@@ -7538,6 +7544,12 @@ export interface HospitalServiceModel {
|
|
|
7538
7544
|
* @memberof HospitalServiceModel
|
|
7539
7545
|
*/
|
|
7540
7546
|
'hospitalName'?: string | null;
|
|
7547
|
+
/**
|
|
7548
|
+
*
|
|
7549
|
+
* @type {string}
|
|
7550
|
+
* @memberof HospitalServiceModel
|
|
7551
|
+
*/
|
|
7552
|
+
'hospitalSlug'?: string | null;
|
|
7541
7553
|
/**
|
|
7542
7554
|
*
|
|
7543
7555
|
* @type {string}
|
|
@@ -18361,10 +18373,11 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
|
|
|
18361
18373
|
* @summary Get Contributor.
|
|
18362
18374
|
* @param {string} contributorId
|
|
18363
18375
|
* @param {string} [languageCode]
|
|
18376
|
+
* @param {boolean} [returnDefaultValue]
|
|
18364
18377
|
* @param {*} [options] Override http request option.
|
|
18365
18378
|
* @throws {RequiredError}
|
|
18366
18379
|
*/
|
|
18367
|
-
apiV1ContributorsContributorIdGet: async (contributorId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18380
|
+
apiV1ContributorsContributorIdGet: async (contributorId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18368
18381
|
// verify required parameter 'contributorId' is not null or undefined
|
|
18369
18382
|
assertParamExists('apiV1ContributorsContributorIdGet', 'contributorId', contributorId)
|
|
18370
18383
|
const localVarPath = `/api/v1/contributors/{contributorId}`
|
|
@@ -18388,6 +18401,10 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
|
|
|
18388
18401
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
18389
18402
|
}
|
|
18390
18403
|
|
|
18404
|
+
if (returnDefaultValue !== undefined) {
|
|
18405
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
18406
|
+
}
|
|
18407
|
+
|
|
18391
18408
|
|
|
18392
18409
|
|
|
18393
18410
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -18698,15 +18715,16 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
|
|
|
18698
18715
|
* @param {string} [website]
|
|
18699
18716
|
* @param {string} [hospitalId]
|
|
18700
18717
|
* @param {boolean} [interviewerOnly]
|
|
18701
|
-
* @param {string} [languageCode]
|
|
18702
18718
|
* @param {boolean} [showHidden]
|
|
18719
|
+
* @param {string} [languageCode]
|
|
18720
|
+
* @param {boolean} [returnDefaultValue]
|
|
18703
18721
|
* @param {number} [page]
|
|
18704
18722
|
* @param {number} [limit]
|
|
18705
18723
|
* @param {Date} [lastRetrieved]
|
|
18706
18724
|
* @param {*} [options] Override http request option.
|
|
18707
18725
|
* @throws {RequiredError}
|
|
18708
18726
|
*/
|
|
18709
|
-
apiV1ContributorsGet: async (id?: string, name?: string, email?: string, description?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, languageCode?: string,
|
|
18727
|
+
apiV1ContributorsGet: async (id?: string, name?: string, email?: string, description?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, showHidden?: boolean, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18710
18728
|
const localVarPath = `/api/v1/contributors`;
|
|
18711
18729
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18712
18730
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -18751,12 +18769,16 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
|
|
|
18751
18769
|
localVarQueryParameter['InterviewerOnly'] = interviewerOnly;
|
|
18752
18770
|
}
|
|
18753
18771
|
|
|
18772
|
+
if (showHidden !== undefined) {
|
|
18773
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
18774
|
+
}
|
|
18775
|
+
|
|
18754
18776
|
if (languageCode !== undefined) {
|
|
18755
18777
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
18756
18778
|
}
|
|
18757
18779
|
|
|
18758
|
-
if (
|
|
18759
|
-
localVarQueryParameter['
|
|
18780
|
+
if (returnDefaultValue !== undefined) {
|
|
18781
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
18760
18782
|
}
|
|
18761
18783
|
|
|
18762
18784
|
if (page !== undefined) {
|
|
@@ -18827,10 +18849,11 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
|
|
|
18827
18849
|
* @summary Get Contributor by slug.
|
|
18828
18850
|
* @param {string} slug
|
|
18829
18851
|
* @param {string} [languageCode]
|
|
18852
|
+
* @param {boolean} [returnDefaultValue]
|
|
18830
18853
|
* @param {*} [options] Override http request option.
|
|
18831
18854
|
* @throws {RequiredError}
|
|
18832
18855
|
*/
|
|
18833
|
-
apiV1ContributorsSlugGet: async (slug: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18856
|
+
apiV1ContributorsSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18834
18857
|
// verify required parameter 'slug' is not null or undefined
|
|
18835
18858
|
assertParamExists('apiV1ContributorsSlugGet', 'slug', slug)
|
|
18836
18859
|
const localVarPath = `/api/v1/contributors/{slug}`
|
|
@@ -18854,6 +18877,10 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
|
|
|
18854
18877
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
18855
18878
|
}
|
|
18856
18879
|
|
|
18880
|
+
if (returnDefaultValue !== undefined) {
|
|
18881
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
18882
|
+
}
|
|
18883
|
+
|
|
18857
18884
|
|
|
18858
18885
|
|
|
18859
18886
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -18891,11 +18918,12 @@ export const ContributorsApiFp = function(configuration?: Configuration) {
|
|
|
18891
18918
|
* @summary Get Contributor.
|
|
18892
18919
|
* @param {string} contributorId
|
|
18893
18920
|
* @param {string} [languageCode]
|
|
18921
|
+
* @param {boolean} [returnDefaultValue]
|
|
18894
18922
|
* @param {*} [options] Override http request option.
|
|
18895
18923
|
* @throws {RequiredError}
|
|
18896
18924
|
*/
|
|
18897
|
-
async apiV1ContributorsContributorIdGet(contributorId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContributorModel>> {
|
|
18898
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ContributorsContributorIdGet(contributorId, languageCode, options);
|
|
18925
|
+
async apiV1ContributorsContributorIdGet(contributorId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContributorModel>> {
|
|
18926
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ContributorsContributorIdGet(contributorId, languageCode, returnDefaultValue, options);
|
|
18899
18927
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
18900
18928
|
},
|
|
18901
18929
|
/**
|
|
@@ -18987,16 +19015,17 @@ export const ContributorsApiFp = function(configuration?: Configuration) {
|
|
|
18987
19015
|
* @param {string} [website]
|
|
18988
19016
|
* @param {string} [hospitalId]
|
|
18989
19017
|
* @param {boolean} [interviewerOnly]
|
|
18990
|
-
* @param {string} [languageCode]
|
|
18991
19018
|
* @param {boolean} [showHidden]
|
|
19019
|
+
* @param {string} [languageCode]
|
|
19020
|
+
* @param {boolean} [returnDefaultValue]
|
|
18992
19021
|
* @param {number} [page]
|
|
18993
19022
|
* @param {number} [limit]
|
|
18994
19023
|
* @param {Date} [lastRetrieved]
|
|
18995
19024
|
* @param {*} [options] Override http request option.
|
|
18996
19025
|
* @throws {RequiredError}
|
|
18997
19026
|
*/
|
|
18998
|
-
async apiV1ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, languageCode?: string,
|
|
18999
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, languageCode,
|
|
19027
|
+
async apiV1ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, showHidden?: boolean, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContributorsModel>> {
|
|
19028
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
19000
19029
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
19001
19030
|
},
|
|
19002
19031
|
/**
|
|
@@ -19015,11 +19044,12 @@ export const ContributorsApiFp = function(configuration?: Configuration) {
|
|
|
19015
19044
|
* @summary Get Contributor by slug.
|
|
19016
19045
|
* @param {string} slug
|
|
19017
19046
|
* @param {string} [languageCode]
|
|
19047
|
+
* @param {boolean} [returnDefaultValue]
|
|
19018
19048
|
* @param {*} [options] Override http request option.
|
|
19019
19049
|
* @throws {RequiredError}
|
|
19020
19050
|
*/
|
|
19021
|
-
async apiV1ContributorsSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContributorModel>> {
|
|
19022
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ContributorsSlugGet(slug, languageCode, options);
|
|
19051
|
+
async apiV1ContributorsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContributorModel>> {
|
|
19052
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ContributorsSlugGet(slug, languageCode, returnDefaultValue, options);
|
|
19023
19053
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
19024
19054
|
},
|
|
19025
19055
|
}
|
|
@@ -19047,11 +19077,12 @@ export const ContributorsApiFactory = function (configuration?: Configuration, b
|
|
|
19047
19077
|
* @summary Get Contributor.
|
|
19048
19078
|
* @param {string} contributorId
|
|
19049
19079
|
* @param {string} [languageCode]
|
|
19080
|
+
* @param {boolean} [returnDefaultValue]
|
|
19050
19081
|
* @param {*} [options] Override http request option.
|
|
19051
19082
|
* @throws {RequiredError}
|
|
19052
19083
|
*/
|
|
19053
|
-
apiV1ContributorsContributorIdGet(contributorId: string, languageCode?: string, options?: any): AxiosPromise<ContributorModel> {
|
|
19054
|
-
return localVarFp.apiV1ContributorsContributorIdGet(contributorId, languageCode, options).then((request) => request(axios, basePath));
|
|
19084
|
+
apiV1ContributorsContributorIdGet(contributorId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<ContributorModel> {
|
|
19085
|
+
return localVarFp.apiV1ContributorsContributorIdGet(contributorId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
19055
19086
|
},
|
|
19056
19087
|
/**
|
|
19057
19088
|
*
|
|
@@ -19136,16 +19167,17 @@ export const ContributorsApiFactory = function (configuration?: Configuration, b
|
|
|
19136
19167
|
* @param {string} [website]
|
|
19137
19168
|
* @param {string} [hospitalId]
|
|
19138
19169
|
* @param {boolean} [interviewerOnly]
|
|
19139
|
-
* @param {string} [languageCode]
|
|
19140
19170
|
* @param {boolean} [showHidden]
|
|
19171
|
+
* @param {string} [languageCode]
|
|
19172
|
+
* @param {boolean} [returnDefaultValue]
|
|
19141
19173
|
* @param {number} [page]
|
|
19142
19174
|
* @param {number} [limit]
|
|
19143
19175
|
* @param {Date} [lastRetrieved]
|
|
19144
19176
|
* @param {*} [options] Override http request option.
|
|
19145
19177
|
* @throws {RequiredError}
|
|
19146
19178
|
*/
|
|
19147
|
-
apiV1ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, languageCode?: string,
|
|
19148
|
-
return localVarFp.apiV1ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, languageCode,
|
|
19179
|
+
apiV1ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, showHidden?: boolean, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ContributorsModel> {
|
|
19180
|
+
return localVarFp.apiV1ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
19149
19181
|
},
|
|
19150
19182
|
/**
|
|
19151
19183
|
*
|
|
@@ -19162,11 +19194,12 @@ export const ContributorsApiFactory = function (configuration?: Configuration, b
|
|
|
19162
19194
|
* @summary Get Contributor by slug.
|
|
19163
19195
|
* @param {string} slug
|
|
19164
19196
|
* @param {string} [languageCode]
|
|
19197
|
+
* @param {boolean} [returnDefaultValue]
|
|
19165
19198
|
* @param {*} [options] Override http request option.
|
|
19166
19199
|
* @throws {RequiredError}
|
|
19167
19200
|
*/
|
|
19168
|
-
apiV1ContributorsSlugGet(slug: string, languageCode?: string, options?: any): AxiosPromise<ContributorModel> {
|
|
19169
|
-
return localVarFp.apiV1ContributorsSlugGet(slug, languageCode, options).then((request) => request(axios, basePath));
|
|
19201
|
+
apiV1ContributorsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<ContributorModel> {
|
|
19202
|
+
return localVarFp.apiV1ContributorsSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
19170
19203
|
},
|
|
19171
19204
|
};
|
|
19172
19205
|
};
|
|
@@ -19195,12 +19228,13 @@ export class ContributorsApi extends BaseAPI {
|
|
|
19195
19228
|
* @summary Get Contributor.
|
|
19196
19229
|
* @param {string} contributorId
|
|
19197
19230
|
* @param {string} [languageCode]
|
|
19231
|
+
* @param {boolean} [returnDefaultValue]
|
|
19198
19232
|
* @param {*} [options] Override http request option.
|
|
19199
19233
|
* @throws {RequiredError}
|
|
19200
19234
|
* @memberof ContributorsApi
|
|
19201
19235
|
*/
|
|
19202
|
-
public apiV1ContributorsContributorIdGet(contributorId: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
19203
|
-
return ContributorsApiFp(this.configuration).apiV1ContributorsContributorIdGet(contributorId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
19236
|
+
public apiV1ContributorsContributorIdGet(contributorId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
19237
|
+
return ContributorsApiFp(this.configuration).apiV1ContributorsContributorIdGet(contributorId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
19204
19238
|
}
|
|
19205
19239
|
|
|
19206
19240
|
/**
|
|
@@ -19298,8 +19332,9 @@ export class ContributorsApi extends BaseAPI {
|
|
|
19298
19332
|
* @param {string} [website]
|
|
19299
19333
|
* @param {string} [hospitalId]
|
|
19300
19334
|
* @param {boolean} [interviewerOnly]
|
|
19301
|
-
* @param {string} [languageCode]
|
|
19302
19335
|
* @param {boolean} [showHidden]
|
|
19336
|
+
* @param {string} [languageCode]
|
|
19337
|
+
* @param {boolean} [returnDefaultValue]
|
|
19303
19338
|
* @param {number} [page]
|
|
19304
19339
|
* @param {number} [limit]
|
|
19305
19340
|
* @param {Date} [lastRetrieved]
|
|
@@ -19307,8 +19342,8 @@ export class ContributorsApi extends BaseAPI {
|
|
|
19307
19342
|
* @throws {RequiredError}
|
|
19308
19343
|
* @memberof ContributorsApi
|
|
19309
19344
|
*/
|
|
19310
|
-
public apiV1ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, languageCode?: string,
|
|
19311
|
-
return ContributorsApiFp(this.configuration).apiV1ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, languageCode,
|
|
19345
|
+
public apiV1ContributorsGet(id?: string, name?: string, email?: string, description?: string, website?: string, hospitalId?: string, interviewerOnly?: boolean, showHidden?: boolean, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
19346
|
+
return ContributorsApiFp(this.configuration).apiV1ContributorsGet(id, name, email, description, website, hospitalId, interviewerOnly, showHidden, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
19312
19347
|
}
|
|
19313
19348
|
|
|
19314
19349
|
/**
|
|
@@ -19328,12 +19363,13 @@ export class ContributorsApi extends BaseAPI {
|
|
|
19328
19363
|
* @summary Get Contributor by slug.
|
|
19329
19364
|
* @param {string} slug
|
|
19330
19365
|
* @param {string} [languageCode]
|
|
19366
|
+
* @param {boolean} [returnDefaultValue]
|
|
19331
19367
|
* @param {*} [options] Override http request option.
|
|
19332
19368
|
* @throws {RequiredError}
|
|
19333
19369
|
* @memberof ContributorsApi
|
|
19334
19370
|
*/
|
|
19335
|
-
public apiV1ContributorsSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
19336
|
-
return ContributorsApiFp(this.configuration).apiV1ContributorsSlugGet(slug, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
19371
|
+
public apiV1ContributorsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
19372
|
+
return ContributorsApiFp(this.configuration).apiV1ContributorsSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
19337
19373
|
}
|
|
19338
19374
|
}
|
|
19339
19375
|
|
|
@@ -29228,6 +29264,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
29228
29264
|
* @param {string} [specialtyId]
|
|
29229
29265
|
* @param {string} [specialtyName]
|
|
29230
29266
|
* @param {string} [specialtyTypeId]
|
|
29267
|
+
* @param {string} [hospitalSpecialtySlug]
|
|
29231
29268
|
* @param {string} [title]
|
|
29232
29269
|
* @param {MarketingType} [marketingType]
|
|
29233
29270
|
* @param {string} [languageCode]
|
|
@@ -29240,7 +29277,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
29240
29277
|
* @param {*} [options] Override http request option.
|
|
29241
29278
|
* @throws {RequiredError}
|
|
29242
29279
|
*/
|
|
29243
|
-
apiV1HospitalsHospitalIdSpecialtiesGet: async (hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29280
|
+
apiV1HospitalsHospitalIdSpecialtiesGet: async (hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, hospitalSpecialtySlug?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29244
29281
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
29245
29282
|
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesGet', 'hospitalId', hospitalId)
|
|
29246
29283
|
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties`
|
|
@@ -29280,6 +29317,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
29280
29317
|
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
29281
29318
|
}
|
|
29282
29319
|
|
|
29320
|
+
if (hospitalSpecialtySlug !== undefined) {
|
|
29321
|
+
localVarQueryParameter['HospitalSpecialtySlug'] = hospitalSpecialtySlug;
|
|
29322
|
+
}
|
|
29323
|
+
|
|
29283
29324
|
if (title !== undefined) {
|
|
29284
29325
|
localVarQueryParameter['Title'] = title;
|
|
29285
29326
|
}
|
|
@@ -29380,6 +29421,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
29380
29421
|
* @param {string} [specialtyId]
|
|
29381
29422
|
* @param {string} [specialtyName]
|
|
29382
29423
|
* @param {string} [specialtyTypeId]
|
|
29424
|
+
* @param {string} [hospitalSpecialtySlug]
|
|
29383
29425
|
* @param {string} [title]
|
|
29384
29426
|
* @param {MarketingType} [marketingType]
|
|
29385
29427
|
* @param {string} [languageCode]
|
|
@@ -29392,7 +29434,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
29392
29434
|
* @param {*} [options] Override http request option.
|
|
29393
29435
|
* @throws {RequiredError}
|
|
29394
29436
|
*/
|
|
29395
|
-
apiV1HospitalsHospitalIdSpecialtiesSimpleGet: async (hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29437
|
+
apiV1HospitalsHospitalIdSpecialtiesSimpleGet: async (hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, hospitalSpecialtySlug?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29396
29438
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
29397
29439
|
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSimpleGet', 'hospitalId', hospitalId)
|
|
29398
29440
|
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/simple`
|
|
@@ -29432,6 +29474,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
29432
29474
|
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
29433
29475
|
}
|
|
29434
29476
|
|
|
29477
|
+
if (hospitalSpecialtySlug !== undefined) {
|
|
29478
|
+
localVarQueryParameter['HospitalSpecialtySlug'] = hospitalSpecialtySlug;
|
|
29479
|
+
}
|
|
29480
|
+
|
|
29435
29481
|
if (title !== undefined) {
|
|
29436
29482
|
localVarQueryParameter['Title'] = title;
|
|
29437
29483
|
}
|
|
@@ -30837,6 +30883,7 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
30837
30883
|
* @param {string} [specialtyId]
|
|
30838
30884
|
* @param {string} [specialtyName]
|
|
30839
30885
|
* @param {string} [specialtyTypeId]
|
|
30886
|
+
* @param {string} [hospitalSpecialtySlug]
|
|
30840
30887
|
* @param {string} [title]
|
|
30841
30888
|
* @param {MarketingType} [marketingType]
|
|
30842
30889
|
* @param {string} [languageCode]
|
|
@@ -30849,8 +30896,8 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
30849
30896
|
* @param {*} [options] Override http request option.
|
|
30850
30897
|
* @throws {RequiredError}
|
|
30851
30898
|
*/
|
|
30852
|
-
async apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtiesModel>> {
|
|
30853
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options);
|
|
30899
|
+
async apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, hospitalSpecialtySlug?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtiesModel>> {
|
|
30900
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options);
|
|
30854
30901
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30855
30902
|
},
|
|
30856
30903
|
/**
|
|
@@ -30874,6 +30921,7 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
30874
30921
|
* @param {string} [specialtyId]
|
|
30875
30922
|
* @param {string} [specialtyName]
|
|
30876
30923
|
* @param {string} [specialtyTypeId]
|
|
30924
|
+
* @param {string} [hospitalSpecialtySlug]
|
|
30877
30925
|
* @param {string} [title]
|
|
30878
30926
|
* @param {MarketingType} [marketingType]
|
|
30879
30927
|
* @param {string} [languageCode]
|
|
@@ -30886,8 +30934,8 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
30886
30934
|
* @param {*} [options] Override http request option.
|
|
30887
30935
|
* @throws {RequiredError}
|
|
30888
30936
|
*/
|
|
30889
|
-
async apiV1HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtiesSimpleModel>> {
|
|
30890
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options);
|
|
30937
|
+
async apiV1HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, hospitalSpecialtySlug?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtiesSimpleModel>> {
|
|
30938
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options);
|
|
30891
30939
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30892
30940
|
},
|
|
30893
30941
|
/**
|
|
@@ -31512,6 +31560,7 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
31512
31560
|
* @param {string} [specialtyId]
|
|
31513
31561
|
* @param {string} [specialtyName]
|
|
31514
31562
|
* @param {string} [specialtyTypeId]
|
|
31563
|
+
* @param {string} [hospitalSpecialtySlug]
|
|
31515
31564
|
* @param {string} [title]
|
|
31516
31565
|
* @param {MarketingType} [marketingType]
|
|
31517
31566
|
* @param {string} [languageCode]
|
|
@@ -31524,8 +31573,8 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
31524
31573
|
* @param {*} [options] Override http request option.
|
|
31525
31574
|
* @throws {RequiredError}
|
|
31526
31575
|
*/
|
|
31527
|
-
apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSpecialtiesModel> {
|
|
31528
|
-
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
31576
|
+
apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, hospitalSpecialtySlug?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSpecialtiesModel> {
|
|
31577
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
31529
31578
|
},
|
|
31530
31579
|
/**
|
|
31531
31580
|
*
|
|
@@ -31547,6 +31596,7 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
31547
31596
|
* @param {string} [specialtyId]
|
|
31548
31597
|
* @param {string} [specialtyName]
|
|
31549
31598
|
* @param {string} [specialtyTypeId]
|
|
31599
|
+
* @param {string} [hospitalSpecialtySlug]
|
|
31550
31600
|
* @param {string} [title]
|
|
31551
31601
|
* @param {MarketingType} [marketingType]
|
|
31552
31602
|
* @param {string} [languageCode]
|
|
@@ -31559,8 +31609,8 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
31559
31609
|
* @param {*} [options] Override http request option.
|
|
31560
31610
|
* @throws {RequiredError}
|
|
31561
31611
|
*/
|
|
31562
|
-
apiV1HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSpecialtiesSimpleModel> {
|
|
31563
|
-
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
31612
|
+
apiV1HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, hospitalSpecialtySlug?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSpecialtiesSimpleModel> {
|
|
31613
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
31564
31614
|
},
|
|
31565
31615
|
/**
|
|
31566
31616
|
*
|
|
@@ -32224,6 +32274,7 @@ export class HospitalsApi extends BaseAPI {
|
|
|
32224
32274
|
* @param {string} [specialtyId]
|
|
32225
32275
|
* @param {string} [specialtyName]
|
|
32226
32276
|
* @param {string} [specialtyTypeId]
|
|
32277
|
+
* @param {string} [hospitalSpecialtySlug]
|
|
32227
32278
|
* @param {string} [title]
|
|
32228
32279
|
* @param {MarketingType} [marketingType]
|
|
32229
32280
|
* @param {string} [languageCode]
|
|
@@ -32237,8 +32288,8 @@ export class HospitalsApi extends BaseAPI {
|
|
|
32237
32288
|
* @throws {RequiredError}
|
|
32238
32289
|
* @memberof HospitalsApi
|
|
32239
32290
|
*/
|
|
32240
|
-
public apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
32241
|
-
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
32291
|
+
public apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, hospitalSpecialtySlug?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
32292
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
32242
32293
|
}
|
|
32243
32294
|
|
|
32244
32295
|
/**
|
|
@@ -32263,6 +32314,7 @@ export class HospitalsApi extends BaseAPI {
|
|
|
32263
32314
|
* @param {string} [specialtyId]
|
|
32264
32315
|
* @param {string} [specialtyName]
|
|
32265
32316
|
* @param {string} [specialtyTypeId]
|
|
32317
|
+
* @param {string} [hospitalSpecialtySlug]
|
|
32266
32318
|
* @param {string} [title]
|
|
32267
32319
|
* @param {MarketingType} [marketingType]
|
|
32268
32320
|
* @param {string} [languageCode]
|
|
@@ -32276,8 +32328,8 @@ export class HospitalsApi extends BaseAPI {
|
|
|
32276
32328
|
* @throws {RequiredError}
|
|
32277
32329
|
* @memberof HospitalsApi
|
|
32278
32330
|
*/
|
|
32279
|
-
public apiV1HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
32280
|
-
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
32331
|
+
public apiV1HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, hospitalSpecialtySlug?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
32332
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, hospitalSpecialtySlug, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
32281
32333
|
}
|
|
32282
32334
|
|
|
32283
32335
|
/**
|