ch-api-client-typescript2 2.6.1 → 2.6.6
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 +78 -92
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +84 -101
- package/package.json +1 -1
- package/src/api.ts +121 -115
package/src/api.ts
CHANGED
|
@@ -2643,6 +2643,18 @@ export interface DealItemModel {
|
|
|
2643
2643
|
* @memberof DealItemModel
|
|
2644
2644
|
*/
|
|
2645
2645
|
'dealServices'?: Array<DealServiceItemModel> | null;
|
|
2646
|
+
/**
|
|
2647
|
+
*
|
|
2648
|
+
* @type {Array<LocalizedUrlModel>}
|
|
2649
|
+
* @memberof DealItemModel
|
|
2650
|
+
*/
|
|
2651
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
2652
|
+
/**
|
|
2653
|
+
*
|
|
2654
|
+
* @type {boolean}
|
|
2655
|
+
* @memberof DealItemModel
|
|
2656
|
+
*/
|
|
2657
|
+
'confirmed'?: boolean;
|
|
2646
2658
|
/**
|
|
2647
2659
|
*
|
|
2648
2660
|
* @type {AuditableEntity}
|
|
@@ -2734,12 +2746,30 @@ export interface DealModel {
|
|
|
2734
2746
|
* @memberof DealModel
|
|
2735
2747
|
*/
|
|
2736
2748
|
'dealServices'?: Array<DealServiceItemModel> | null;
|
|
2749
|
+
/**
|
|
2750
|
+
*
|
|
2751
|
+
* @type {Array<LocalizedUrlModel>}
|
|
2752
|
+
* @memberof DealModel
|
|
2753
|
+
*/
|
|
2754
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
2755
|
+
/**
|
|
2756
|
+
*
|
|
2757
|
+
* @type {boolean}
|
|
2758
|
+
* @memberof DealModel
|
|
2759
|
+
*/
|
|
2760
|
+
'confirmed'?: boolean;
|
|
2737
2761
|
/**
|
|
2738
2762
|
*
|
|
2739
2763
|
* @type {AuditableEntity}
|
|
2740
2764
|
* @memberof DealModel
|
|
2741
2765
|
*/
|
|
2742
2766
|
'auditableEntity'?: AuditableEntity;
|
|
2767
|
+
/**
|
|
2768
|
+
*
|
|
2769
|
+
* @type {string}
|
|
2770
|
+
* @memberof DealModel
|
|
2771
|
+
*/
|
|
2772
|
+
'languageCode'?: string | null;
|
|
2743
2773
|
}
|
|
2744
2774
|
/**
|
|
2745
2775
|
*
|
|
@@ -6650,12 +6680,6 @@ export interface ServiceCategoryItemModel {
|
|
|
6650
6680
|
* @memberof ServiceCategoryItemModel
|
|
6651
6681
|
*/
|
|
6652
6682
|
'serviceCount'?: number;
|
|
6653
|
-
/**
|
|
6654
|
-
*
|
|
6655
|
-
* @type {Array<HospitalServiceItemModel>}
|
|
6656
|
-
* @memberof ServiceCategoryItemModel
|
|
6657
|
-
*/
|
|
6658
|
-
'services'?: Array<HospitalServiceItemModel> | null;
|
|
6659
6683
|
}
|
|
6660
6684
|
/**
|
|
6661
6685
|
*
|
|
@@ -6699,12 +6723,6 @@ export interface ServiceCategoryModel {
|
|
|
6699
6723
|
* @memberof ServiceCategoryModel
|
|
6700
6724
|
*/
|
|
6701
6725
|
'serviceCount'?: number;
|
|
6702
|
-
/**
|
|
6703
|
-
*
|
|
6704
|
-
* @type {Array<HospitalServiceItemModel>}
|
|
6705
|
-
* @memberof ServiceCategoryModel
|
|
6706
|
-
*/
|
|
6707
|
-
'services'?: Array<HospitalServiceItemModel> | null;
|
|
6708
6726
|
}
|
|
6709
6727
|
/**
|
|
6710
6728
|
*
|
|
@@ -8438,7 +8456,6 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
8438
8456
|
},
|
|
8439
8457
|
/**
|
|
8440
8458
|
*
|
|
8441
|
-
* @summary Get Article by slug.
|
|
8442
8459
|
* @param {string} slug
|
|
8443
8460
|
* @param {string} [languageCode]
|
|
8444
8461
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -8648,7 +8665,6 @@ export const ArticlesApiFp = function(configuration?: Configuration) {
|
|
|
8648
8665
|
},
|
|
8649
8666
|
/**
|
|
8650
8667
|
*
|
|
8651
|
-
* @summary Get Article by slug.
|
|
8652
8668
|
* @param {string} slug
|
|
8653
8669
|
* @param {string} [languageCode]
|
|
8654
8670
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -8817,7 +8833,6 @@ export const ArticlesApiFactory = function (configuration?: Configuration, baseP
|
|
|
8817
8833
|
},
|
|
8818
8834
|
/**
|
|
8819
8835
|
*
|
|
8820
|
-
* @summary Get Article by slug.
|
|
8821
8836
|
* @param {string} slug
|
|
8822
8837
|
* @param {string} [languageCode]
|
|
8823
8838
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -9005,7 +9020,6 @@ export class ArticlesApi extends BaseAPI {
|
|
|
9005
9020
|
|
|
9006
9021
|
/**
|
|
9007
9022
|
*
|
|
9008
|
-
* @summary Get Article by slug.
|
|
9009
9023
|
* @param {string} slug
|
|
9010
9024
|
* @param {string} [languageCode]
|
|
9011
9025
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -11369,7 +11383,6 @@ export const CountriesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
11369
11383
|
return {
|
|
11370
11384
|
/**
|
|
11371
11385
|
*
|
|
11372
|
-
* @summary Get country.
|
|
11373
11386
|
* @param {string} countryId
|
|
11374
11387
|
* @param {string} [languageCode]
|
|
11375
11388
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -11596,7 +11609,6 @@ export const CountriesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
11596
11609
|
},
|
|
11597
11610
|
/**
|
|
11598
11611
|
*
|
|
11599
|
-
* @summary Get country by slug.
|
|
11600
11612
|
* @param {string} slug
|
|
11601
11613
|
* @param {string} [languageCode]
|
|
11602
11614
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -11650,7 +11662,6 @@ export const CountriesApiFp = function(configuration?: Configuration) {
|
|
|
11650
11662
|
return {
|
|
11651
11663
|
/**
|
|
11652
11664
|
*
|
|
11653
|
-
* @summary Get country.
|
|
11654
11665
|
* @param {string} countryId
|
|
11655
11666
|
* @param {string} [languageCode]
|
|
11656
11667
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -11711,7 +11722,6 @@ export const CountriesApiFp = function(configuration?: Configuration) {
|
|
|
11711
11722
|
},
|
|
11712
11723
|
/**
|
|
11713
11724
|
*
|
|
11714
|
-
* @summary Get country by slug.
|
|
11715
11725
|
* @param {string} slug
|
|
11716
11726
|
* @param {string} [languageCode]
|
|
11717
11727
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -11734,7 +11744,6 @@ export const CountriesApiFactory = function (configuration?: Configuration, base
|
|
|
11734
11744
|
return {
|
|
11735
11745
|
/**
|
|
11736
11746
|
*
|
|
11737
|
-
* @summary Get country.
|
|
11738
11747
|
* @param {string} countryId
|
|
11739
11748
|
* @param {string} [languageCode]
|
|
11740
11749
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -11791,7 +11800,6 @@ export const CountriesApiFactory = function (configuration?: Configuration, base
|
|
|
11791
11800
|
},
|
|
11792
11801
|
/**
|
|
11793
11802
|
*
|
|
11794
|
-
* @summary Get country by slug.
|
|
11795
11803
|
* @param {string} slug
|
|
11796
11804
|
* @param {string} [languageCode]
|
|
11797
11805
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -11813,7 +11821,6 @@ export const CountriesApiFactory = function (configuration?: Configuration, base
|
|
|
11813
11821
|
export class CountriesApi extends BaseAPI {
|
|
11814
11822
|
/**
|
|
11815
11823
|
*
|
|
11816
|
-
* @summary Get country.
|
|
11817
11824
|
* @param {string} countryId
|
|
11818
11825
|
* @param {string} [languageCode]
|
|
11819
11826
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -11878,7 +11885,6 @@ export class CountriesApi extends BaseAPI {
|
|
|
11878
11885
|
|
|
11879
11886
|
/**
|
|
11880
11887
|
*
|
|
11881
|
-
* @summary Get country by slug.
|
|
11882
11888
|
* @param {string} slug
|
|
11883
11889
|
* @param {string} [languageCode]
|
|
11884
11890
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -11902,10 +11908,12 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
11902
11908
|
*
|
|
11903
11909
|
* @summary Get deal.
|
|
11904
11910
|
* @param {string} dealId
|
|
11911
|
+
* @param {string} [languageCode]
|
|
11912
|
+
* @param {boolean} [returnDefaultValue]
|
|
11905
11913
|
* @param {*} [options] Override http request option.
|
|
11906
11914
|
* @throws {RequiredError}
|
|
11907
11915
|
*/
|
|
11908
|
-
apiV2DealsDealIdGet: async (dealId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11916
|
+
apiV2DealsDealIdGet: async (dealId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11909
11917
|
// verify required parameter 'dealId' is not null or undefined
|
|
11910
11918
|
assertParamExists('apiV2DealsDealIdGet', 'dealId', dealId)
|
|
11911
11919
|
const localVarPath = `/api/v2/deals/{dealId}`
|
|
@@ -11921,6 +11929,14 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
11921
11929
|
const localVarHeaderParameter = {} as any;
|
|
11922
11930
|
const localVarQueryParameter = {} as any;
|
|
11923
11931
|
|
|
11932
|
+
if (languageCode !== undefined) {
|
|
11933
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
11934
|
+
}
|
|
11935
|
+
|
|
11936
|
+
if (returnDefaultValue !== undefined) {
|
|
11937
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
11938
|
+
}
|
|
11939
|
+
|
|
11924
11940
|
|
|
11925
11941
|
|
|
11926
11942
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -12154,13 +12170,16 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
12154
12170
|
* @param {string} [exceptHospitalId]
|
|
12155
12171
|
* @param {string} [exceptDealId]
|
|
12156
12172
|
* @param {Array<string>} [ids]
|
|
12173
|
+
* @param {string} [languageCode]
|
|
12174
|
+
* @param {boolean} [showHidden]
|
|
12175
|
+
* @param {boolean} [returnDefaultValue]
|
|
12157
12176
|
* @param {number} [page]
|
|
12158
12177
|
* @param {number} [limit]
|
|
12159
12178
|
* @param {Date} [lastRetrieved]
|
|
12160
12179
|
* @param {*} [options] Override http request option.
|
|
12161
12180
|
* @throws {RequiredError}
|
|
12162
12181
|
*/
|
|
12163
|
-
apiV2DealsGet: 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> => {
|
|
12182
|
+
apiV2DealsGet: 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> => {
|
|
12164
12183
|
const localVarPath = `/api/v2/deals`;
|
|
12165
12184
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12166
12185
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -12217,6 +12236,18 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
12217
12236
|
localVarQueryParameter['Ids'] = ids;
|
|
12218
12237
|
}
|
|
12219
12238
|
|
|
12239
|
+
if (languageCode !== undefined) {
|
|
12240
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
12241
|
+
}
|
|
12242
|
+
|
|
12243
|
+
if (showHidden !== undefined) {
|
|
12244
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
12245
|
+
}
|
|
12246
|
+
|
|
12247
|
+
if (returnDefaultValue !== undefined) {
|
|
12248
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
12249
|
+
}
|
|
12250
|
+
|
|
12220
12251
|
if (page !== undefined) {
|
|
12221
12252
|
localVarQueryParameter['page'] = page;
|
|
12222
12253
|
}
|
|
@@ -12246,10 +12277,12 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
12246
12277
|
*
|
|
12247
12278
|
* @summary Get deal by slug.
|
|
12248
12279
|
* @param {string} slug
|
|
12280
|
+
* @param {string} [languageCode]
|
|
12281
|
+
* @param {boolean} [returnDefaultValue]
|
|
12249
12282
|
* @param {*} [options] Override http request option.
|
|
12250
12283
|
* @throws {RequiredError}
|
|
12251
12284
|
*/
|
|
12252
|
-
apiV2DealsSlugGet: async (slug: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12285
|
+
apiV2DealsSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12253
12286
|
// verify required parameter 'slug' is not null or undefined
|
|
12254
12287
|
assertParamExists('apiV2DealsSlugGet', 'slug', slug)
|
|
12255
12288
|
const localVarPath = `/api/v2/deals/{slug}`
|
|
@@ -12265,6 +12298,14 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
12265
12298
|
const localVarHeaderParameter = {} as any;
|
|
12266
12299
|
const localVarQueryParameter = {} as any;
|
|
12267
12300
|
|
|
12301
|
+
if (languageCode !== undefined) {
|
|
12302
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
12303
|
+
}
|
|
12304
|
+
|
|
12305
|
+
if (returnDefaultValue !== undefined) {
|
|
12306
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
12307
|
+
}
|
|
12308
|
+
|
|
12268
12309
|
|
|
12269
12310
|
|
|
12270
12311
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -12290,11 +12331,13 @@ export const DealsApiFp = function(configuration?: Configuration) {
|
|
|
12290
12331
|
*
|
|
12291
12332
|
* @summary Get deal.
|
|
12292
12333
|
* @param {string} dealId
|
|
12334
|
+
* @param {string} [languageCode]
|
|
12335
|
+
* @param {boolean} [returnDefaultValue]
|
|
12293
12336
|
* @param {*} [options] Override http request option.
|
|
12294
12337
|
* @throws {RequiredError}
|
|
12295
12338
|
*/
|
|
12296
|
-
async apiV2DealsDealIdGet(dealId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealModel>> {
|
|
12297
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsDealIdGet(dealId, options);
|
|
12339
|
+
async apiV2DealsDealIdGet(dealId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealModel>> {
|
|
12340
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsDealIdGet(dealId, languageCode, returnDefaultValue, options);
|
|
12298
12341
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
12299
12342
|
},
|
|
12300
12343
|
/**
|
|
@@ -12369,25 +12412,30 @@ export const DealsApiFp = function(configuration?: Configuration) {
|
|
|
12369
12412
|
* @param {string} [exceptHospitalId]
|
|
12370
12413
|
* @param {string} [exceptDealId]
|
|
12371
12414
|
* @param {Array<string>} [ids]
|
|
12415
|
+
* @param {string} [languageCode]
|
|
12416
|
+
* @param {boolean} [showHidden]
|
|
12417
|
+
* @param {boolean} [returnDefaultValue]
|
|
12372
12418
|
* @param {number} [page]
|
|
12373
12419
|
* @param {number} [limit]
|
|
12374
12420
|
* @param {Date} [lastRetrieved]
|
|
12375
12421
|
* @param {*} [options] Override http request option.
|
|
12376
12422
|
* @throws {RequiredError}
|
|
12377
12423
|
*/
|
|
12378
|
-
async apiV2DealsGet(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>> {
|
|
12379
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, page, limit, lastRetrieved, options);
|
|
12424
|
+
async apiV2DealsGet(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>> {
|
|
12425
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
12380
12426
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
12381
12427
|
},
|
|
12382
12428
|
/**
|
|
12383
12429
|
*
|
|
12384
12430
|
* @summary Get deal by slug.
|
|
12385
12431
|
* @param {string} slug
|
|
12432
|
+
* @param {string} [languageCode]
|
|
12433
|
+
* @param {boolean} [returnDefaultValue]
|
|
12386
12434
|
* @param {*} [options] Override http request option.
|
|
12387
12435
|
* @throws {RequiredError}
|
|
12388
12436
|
*/
|
|
12389
|
-
async apiV2DealsSlugGet(slug: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealModel>> {
|
|
12390
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsSlugGet(slug, options);
|
|
12437
|
+
async apiV2DealsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealModel>> {
|
|
12438
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsSlugGet(slug, languageCode, returnDefaultValue, options);
|
|
12391
12439
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
12392
12440
|
},
|
|
12393
12441
|
}
|
|
@@ -12404,11 +12452,13 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
|
|
|
12404
12452
|
*
|
|
12405
12453
|
* @summary Get deal.
|
|
12406
12454
|
* @param {string} dealId
|
|
12455
|
+
* @param {string} [languageCode]
|
|
12456
|
+
* @param {boolean} [returnDefaultValue]
|
|
12407
12457
|
* @param {*} [options] Override http request option.
|
|
12408
12458
|
* @throws {RequiredError}
|
|
12409
12459
|
*/
|
|
12410
|
-
apiV2DealsDealIdGet(dealId: string, options?: any): AxiosPromise<DealModel> {
|
|
12411
|
-
return localVarFp.apiV2DealsDealIdGet(dealId, options).then((request) => request(axios, basePath));
|
|
12460
|
+
apiV2DealsDealIdGet(dealId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<DealModel> {
|
|
12461
|
+
return localVarFp.apiV2DealsDealIdGet(dealId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
12412
12462
|
},
|
|
12413
12463
|
/**
|
|
12414
12464
|
*
|
|
@@ -12478,24 +12528,29 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
|
|
|
12478
12528
|
* @param {string} [exceptHospitalId]
|
|
12479
12529
|
* @param {string} [exceptDealId]
|
|
12480
12530
|
* @param {Array<string>} [ids]
|
|
12531
|
+
* @param {string} [languageCode]
|
|
12532
|
+
* @param {boolean} [showHidden]
|
|
12533
|
+
* @param {boolean} [returnDefaultValue]
|
|
12481
12534
|
* @param {number} [page]
|
|
12482
12535
|
* @param {number} [limit]
|
|
12483
12536
|
* @param {Date} [lastRetrieved]
|
|
12484
12537
|
* @param {*} [options] Override http request option.
|
|
12485
12538
|
* @throws {RequiredError}
|
|
12486
12539
|
*/
|
|
12487
|
-
apiV2DealsGet(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> {
|
|
12488
|
-
return localVarFp.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
12540
|
+
apiV2DealsGet(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> {
|
|
12541
|
+
return localVarFp.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
12489
12542
|
},
|
|
12490
12543
|
/**
|
|
12491
12544
|
*
|
|
12492
12545
|
* @summary Get deal by slug.
|
|
12493
12546
|
* @param {string} slug
|
|
12547
|
+
* @param {string} [languageCode]
|
|
12548
|
+
* @param {boolean} [returnDefaultValue]
|
|
12494
12549
|
* @param {*} [options] Override http request option.
|
|
12495
12550
|
* @throws {RequiredError}
|
|
12496
12551
|
*/
|
|
12497
|
-
apiV2DealsSlugGet(slug: string, options?: any): AxiosPromise<DealModel> {
|
|
12498
|
-
return localVarFp.apiV2DealsSlugGet(slug, options).then((request) => request(axios, basePath));
|
|
12552
|
+
apiV2DealsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<DealModel> {
|
|
12553
|
+
return localVarFp.apiV2DealsSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
12499
12554
|
},
|
|
12500
12555
|
};
|
|
12501
12556
|
};
|
|
@@ -12511,12 +12566,14 @@ export class DealsApi extends BaseAPI {
|
|
|
12511
12566
|
*
|
|
12512
12567
|
* @summary Get deal.
|
|
12513
12568
|
* @param {string} dealId
|
|
12569
|
+
* @param {string} [languageCode]
|
|
12570
|
+
* @param {boolean} [returnDefaultValue]
|
|
12514
12571
|
* @param {*} [options] Override http request option.
|
|
12515
12572
|
* @throws {RequiredError}
|
|
12516
12573
|
* @memberof DealsApi
|
|
12517
12574
|
*/
|
|
12518
|
-
public apiV2DealsDealIdGet(dealId: string, options?: AxiosRequestConfig) {
|
|
12519
|
-
return DealsApiFp(this.configuration).apiV2DealsDealIdGet(dealId, options).then((request) => request(this.axios, this.basePath));
|
|
12575
|
+
public apiV2DealsDealIdGet(dealId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
12576
|
+
return DealsApiFp(this.configuration).apiV2DealsDealIdGet(dealId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
12520
12577
|
}
|
|
12521
12578
|
|
|
12522
12579
|
/**
|
|
@@ -12595,6 +12652,9 @@ export class DealsApi extends BaseAPI {
|
|
|
12595
12652
|
* @param {string} [exceptHospitalId]
|
|
12596
12653
|
* @param {string} [exceptDealId]
|
|
12597
12654
|
* @param {Array<string>} [ids]
|
|
12655
|
+
* @param {string} [languageCode]
|
|
12656
|
+
* @param {boolean} [showHidden]
|
|
12657
|
+
* @param {boolean} [returnDefaultValue]
|
|
12598
12658
|
* @param {number} [page]
|
|
12599
12659
|
* @param {number} [limit]
|
|
12600
12660
|
* @param {Date} [lastRetrieved]
|
|
@@ -12602,20 +12662,22 @@ export class DealsApi extends BaseAPI {
|
|
|
12602
12662
|
* @throws {RequiredError}
|
|
12603
12663
|
* @memberof DealsApi
|
|
12604
12664
|
*/
|
|
12605
|
-
public apiV2DealsGet(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) {
|
|
12606
|
-
return DealsApiFp(this.configuration).apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, exceptHospitalId, exceptDealId, ids, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
12665
|
+
public apiV2DealsGet(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) {
|
|
12666
|
+
return DealsApiFp(this.configuration).apiV2DealsGet(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));
|
|
12607
12667
|
}
|
|
12608
12668
|
|
|
12609
12669
|
/**
|
|
12610
12670
|
*
|
|
12611
12671
|
* @summary Get deal by slug.
|
|
12612
12672
|
* @param {string} slug
|
|
12673
|
+
* @param {string} [languageCode]
|
|
12674
|
+
* @param {boolean} [returnDefaultValue]
|
|
12613
12675
|
* @param {*} [options] Override http request option.
|
|
12614
12676
|
* @throws {RequiredError}
|
|
12615
12677
|
* @memberof DealsApi
|
|
12616
12678
|
*/
|
|
12617
|
-
public apiV2DealsSlugGet(slug: string, options?: AxiosRequestConfig) {
|
|
12618
|
-
return DealsApiFp(this.configuration).apiV2DealsSlugGet(slug, options).then((request) => request(this.axios, this.basePath));
|
|
12679
|
+
public apiV2DealsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
12680
|
+
return DealsApiFp(this.configuration).apiV2DealsSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
12619
12681
|
}
|
|
12620
12682
|
}
|
|
12621
12683
|
|
|
@@ -12956,7 +13018,6 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
12956
13018
|
},
|
|
12957
13019
|
/**
|
|
12958
13020
|
*
|
|
12959
|
-
* @summary Get Doctor.
|
|
12960
13021
|
* @param {string} doctorId
|
|
12961
13022
|
* @param {string} [languageCode]
|
|
12962
13023
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -13408,7 +13469,6 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
13408
13469
|
},
|
|
13409
13470
|
/**
|
|
13410
13471
|
*
|
|
13411
|
-
* @summary Get Doctor by slug.
|
|
13412
13472
|
* @param {string} slug
|
|
13413
13473
|
* @param {string} [languageCode]
|
|
13414
13474
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -13551,7 +13611,6 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
13551
13611
|
},
|
|
13552
13612
|
/**
|
|
13553
13613
|
*
|
|
13554
|
-
* @summary Get Doctor.
|
|
13555
13614
|
* @param {string} doctorId
|
|
13556
13615
|
* @param {string} [languageCode]
|
|
13557
13616
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -13673,7 +13732,6 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
13673
13732
|
},
|
|
13674
13733
|
/**
|
|
13675
13734
|
*
|
|
13676
|
-
* @summary Get Doctor by slug.
|
|
13677
13735
|
* @param {string} slug
|
|
13678
13736
|
* @param {string} [languageCode]
|
|
13679
13737
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -13779,7 +13837,6 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
13779
13837
|
},
|
|
13780
13838
|
/**
|
|
13781
13839
|
*
|
|
13782
|
-
* @summary Get Doctor.
|
|
13783
13840
|
* @param {string} doctorId
|
|
13784
13841
|
* @param {string} [languageCode]
|
|
13785
13842
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -13893,7 +13950,6 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
13893
13950
|
},
|
|
13894
13951
|
/**
|
|
13895
13952
|
*
|
|
13896
|
-
* @summary Get Doctor by slug.
|
|
13897
13953
|
* @param {string} slug
|
|
13898
13954
|
* @param {string} [languageCode]
|
|
13899
13955
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -14010,7 +14066,6 @@ export class DoctorsApi extends BaseAPI {
|
|
|
14010
14066
|
|
|
14011
14067
|
/**
|
|
14012
14068
|
*
|
|
14013
|
-
* @summary Get Doctor.
|
|
14014
14069
|
* @param {string} doctorId
|
|
14015
14070
|
* @param {string} [languageCode]
|
|
14016
14071
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -14140,7 +14195,6 @@ export class DoctorsApi extends BaseAPI {
|
|
|
14140
14195
|
|
|
14141
14196
|
/**
|
|
14142
14197
|
*
|
|
14143
|
-
* @summary Get Doctor by slug.
|
|
14144
14198
|
* @param {string} slug
|
|
14145
14199
|
* @param {string} [languageCode]
|
|
14146
14200
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -15627,7 +15681,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
15627
15681
|
},
|
|
15628
15682
|
/**
|
|
15629
15683
|
*
|
|
15630
|
-
* @summary Get Hospital.
|
|
15631
15684
|
* @param {string} hospitalId
|
|
15632
15685
|
* @param {string} [languageCode]
|
|
15633
15686
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -16309,7 +16362,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
16309
16362
|
},
|
|
16310
16363
|
/**
|
|
16311
16364
|
*
|
|
16312
|
-
* @summary Get Hospital by slug.
|
|
16313
16365
|
* @param {string} slug
|
|
16314
16366
|
* @param {string} [languageCode]
|
|
16315
16367
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -16510,7 +16562,6 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
16510
16562
|
},
|
|
16511
16563
|
/**
|
|
16512
16564
|
*
|
|
16513
|
-
* @summary Get Hospital.
|
|
16514
16565
|
* @param {string} hospitalId
|
|
16515
16566
|
* @param {string} [languageCode]
|
|
16516
16567
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -16687,7 +16738,6 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
16687
16738
|
},
|
|
16688
16739
|
/**
|
|
16689
16740
|
*
|
|
16690
|
-
* @summary Get Hospital by slug.
|
|
16691
16741
|
* @param {string} slug
|
|
16692
16742
|
* @param {string} [languageCode]
|
|
16693
16743
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -16848,7 +16898,6 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
16848
16898
|
},
|
|
16849
16899
|
/**
|
|
16850
16900
|
*
|
|
16851
|
-
* @summary Get Hospital.
|
|
16852
16901
|
* @param {string} hospitalId
|
|
16853
16902
|
* @param {string} [languageCode]
|
|
16854
16903
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -17015,7 +17064,6 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
17015
17064
|
},
|
|
17016
17065
|
/**
|
|
17017
17066
|
*
|
|
17018
|
-
* @summary Get Hospital by slug.
|
|
17019
17067
|
* @param {string} slug
|
|
17020
17068
|
* @param {string} [languageCode]
|
|
17021
17069
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -17193,7 +17241,6 @@ export class HospitalsApi extends BaseAPI {
|
|
|
17193
17241
|
|
|
17194
17242
|
/**
|
|
17195
17243
|
*
|
|
17196
|
-
* @summary Get Hospital.
|
|
17197
17244
|
* @param {string} hospitalId
|
|
17198
17245
|
* @param {string} [languageCode]
|
|
17199
17246
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -17380,7 +17427,6 @@ export class HospitalsApi extends BaseAPI {
|
|
|
17380
17427
|
|
|
17381
17428
|
/**
|
|
17382
17429
|
*
|
|
17383
|
-
* @summary Get Hospital by slug.
|
|
17384
17430
|
* @param {string} slug
|
|
17385
17431
|
* @param {string} [languageCode]
|
|
17386
17432
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -19496,7 +19542,6 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
19496
19542
|
},
|
|
19497
19543
|
/**
|
|
19498
19544
|
*
|
|
19499
|
-
* @summary Get HospitalService.
|
|
19500
19545
|
* @param {string} serviceId
|
|
19501
19546
|
* @param {string} [languageCode]
|
|
19502
19547
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -19540,7 +19585,6 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
19540
19585
|
},
|
|
19541
19586
|
/**
|
|
19542
19587
|
*
|
|
19543
|
-
* @summary Get HospitalService by slug.
|
|
19544
19588
|
* @param {string} slug
|
|
19545
19589
|
* @param {string} [languageCode]
|
|
19546
19590
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -19623,7 +19667,6 @@ export const ServicesApiFp = function(configuration?: Configuration) {
|
|
|
19623
19667
|
},
|
|
19624
19668
|
/**
|
|
19625
19669
|
*
|
|
19626
|
-
* @summary Get HospitalService.
|
|
19627
19670
|
* @param {string} serviceId
|
|
19628
19671
|
* @param {string} [languageCode]
|
|
19629
19672
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -19636,7 +19679,6 @@ export const ServicesApiFp = function(configuration?: Configuration) {
|
|
|
19636
19679
|
},
|
|
19637
19680
|
/**
|
|
19638
19681
|
*
|
|
19639
|
-
* @summary Get HospitalService by slug.
|
|
19640
19682
|
* @param {string} slug
|
|
19641
19683
|
* @param {string} [languageCode]
|
|
19642
19684
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -19687,7 +19729,6 @@ export const ServicesApiFactory = function (configuration?: Configuration, baseP
|
|
|
19687
19729
|
},
|
|
19688
19730
|
/**
|
|
19689
19731
|
*
|
|
19690
|
-
* @summary Get HospitalService.
|
|
19691
19732
|
* @param {string} serviceId
|
|
19692
19733
|
* @param {string} [languageCode]
|
|
19693
19734
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -19699,7 +19740,6 @@ export const ServicesApiFactory = function (configuration?: Configuration, baseP
|
|
|
19699
19740
|
},
|
|
19700
19741
|
/**
|
|
19701
19742
|
*
|
|
19702
|
-
* @summary Get HospitalService by slug.
|
|
19703
19743
|
* @param {string} slug
|
|
19704
19744
|
* @param {string} [languageCode]
|
|
19705
19745
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -19751,7 +19791,6 @@ export class ServicesApi extends BaseAPI {
|
|
|
19751
19791
|
|
|
19752
19792
|
/**
|
|
19753
19793
|
*
|
|
19754
|
-
* @summary Get HospitalService.
|
|
19755
19794
|
* @param {string} serviceId
|
|
19756
19795
|
* @param {string} [languageCode]
|
|
19757
19796
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -19765,7 +19804,6 @@ export class ServicesApi extends BaseAPI {
|
|
|
19765
19804
|
|
|
19766
19805
|
/**
|
|
19767
19806
|
*
|
|
19768
|
-
* @summary Get HospitalService by slug.
|
|
19769
19807
|
* @param {string} slug
|
|
19770
19808
|
* @param {string} [languageCode]
|
|
19771
19809
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -19791,14 +19829,13 @@ export const ServicesCategoriesApiAxiosParamCreator = function (configuration?:
|
|
|
19791
19829
|
* @param {string} [id]
|
|
19792
19830
|
* @param {string} [name]
|
|
19793
19831
|
* @param {string} [description]
|
|
19794
|
-
* @param {string} [languageCode]
|
|
19795
19832
|
* @param {number} [page]
|
|
19796
19833
|
* @param {number} [limit]
|
|
19797
19834
|
* @param {Date} [lastRetrieved]
|
|
19798
19835
|
* @param {*} [options] Override http request option.
|
|
19799
19836
|
* @throws {RequiredError}
|
|
19800
19837
|
*/
|
|
19801
|
-
apiV2ServicescategoriesGet: async (id?: string, name?: string, description?: string,
|
|
19838
|
+
apiV2ServicescategoriesGet: async (id?: string, name?: string, description?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19802
19839
|
const localVarPath = `/api/v2/servicescategories`;
|
|
19803
19840
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19804
19841
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -19823,10 +19860,6 @@ export const ServicesCategoriesApiAxiosParamCreator = function (configuration?:
|
|
|
19823
19860
|
localVarQueryParameter['Description'] = description;
|
|
19824
19861
|
}
|
|
19825
19862
|
|
|
19826
|
-
if (languageCode !== undefined) {
|
|
19827
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
19828
|
-
}
|
|
19829
|
-
|
|
19830
19863
|
if (page !== undefined) {
|
|
19831
19864
|
localVarQueryParameter['page'] = page;
|
|
19832
19865
|
}
|
|
@@ -19856,11 +19889,10 @@ export const ServicesCategoriesApiAxiosParamCreator = function (configuration?:
|
|
|
19856
19889
|
*
|
|
19857
19890
|
* @summary Get ServiceCategory.
|
|
19858
19891
|
* @param {string} serviceCategoryId
|
|
19859
|
-
* @param {string} [languageCode]
|
|
19860
19892
|
* @param {*} [options] Override http request option.
|
|
19861
19893
|
* @throws {RequiredError}
|
|
19862
19894
|
*/
|
|
19863
|
-
apiV2ServicescategoriesServiceCategoryIdGet: async (serviceCategoryId: string,
|
|
19895
|
+
apiV2ServicescategoriesServiceCategoryIdGet: async (serviceCategoryId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19864
19896
|
// verify required parameter 'serviceCategoryId' is not null or undefined
|
|
19865
19897
|
assertParamExists('apiV2ServicescategoriesServiceCategoryIdGet', 'serviceCategoryId', serviceCategoryId)
|
|
19866
19898
|
const localVarPath = `/api/v2/servicescategories/{serviceCategoryId}`
|
|
@@ -19876,10 +19908,6 @@ export const ServicesCategoriesApiAxiosParamCreator = function (configuration?:
|
|
|
19876
19908
|
const localVarHeaderParameter = {} as any;
|
|
19877
19909
|
const localVarQueryParameter = {} as any;
|
|
19878
19910
|
|
|
19879
|
-
if (languageCode !== undefined) {
|
|
19880
|
-
localVarQueryParameter['languageCode'] = languageCode;
|
|
19881
|
-
}
|
|
19882
|
-
|
|
19883
19911
|
|
|
19884
19912
|
|
|
19885
19913
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -19907,27 +19935,25 @@ export const ServicesCategoriesApiFp = function(configuration?: Configuration) {
|
|
|
19907
19935
|
* @param {string} [id]
|
|
19908
19936
|
* @param {string} [name]
|
|
19909
19937
|
* @param {string} [description]
|
|
19910
|
-
* @param {string} [languageCode]
|
|
19911
19938
|
* @param {number} [page]
|
|
19912
19939
|
* @param {number} [limit]
|
|
19913
19940
|
* @param {Date} [lastRetrieved]
|
|
19914
19941
|
* @param {*} [options] Override http request option.
|
|
19915
19942
|
* @throws {RequiredError}
|
|
19916
19943
|
*/
|
|
19917
|
-
async apiV2ServicescategoriesGet(id?: string, name?: string, description?: string,
|
|
19918
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicescategoriesGet(id, name, description,
|
|
19944
|
+
async apiV2ServicescategoriesGet(id?: string, name?: string, description?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceCategoriesModel>> {
|
|
19945
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicescategoriesGet(id, name, description, page, limit, lastRetrieved, options);
|
|
19919
19946
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
19920
19947
|
},
|
|
19921
19948
|
/**
|
|
19922
19949
|
*
|
|
19923
19950
|
* @summary Get ServiceCategory.
|
|
19924
19951
|
* @param {string} serviceCategoryId
|
|
19925
|
-
* @param {string} [languageCode]
|
|
19926
19952
|
* @param {*} [options] Override http request option.
|
|
19927
19953
|
* @throws {RequiredError}
|
|
19928
19954
|
*/
|
|
19929
|
-
async apiV2ServicescategoriesServiceCategoryIdGet(serviceCategoryId: string,
|
|
19930
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicescategoriesServiceCategoryIdGet(serviceCategoryId,
|
|
19955
|
+
async apiV2ServicescategoriesServiceCategoryIdGet(serviceCategoryId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceCategoryModel>> {
|
|
19956
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicescategoriesServiceCategoryIdGet(serviceCategoryId, options);
|
|
19931
19957
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
19932
19958
|
},
|
|
19933
19959
|
}
|
|
@@ -19946,26 +19972,24 @@ export const ServicesCategoriesApiFactory = function (configuration?: Configurat
|
|
|
19946
19972
|
* @param {string} [id]
|
|
19947
19973
|
* @param {string} [name]
|
|
19948
19974
|
* @param {string} [description]
|
|
19949
|
-
* @param {string} [languageCode]
|
|
19950
19975
|
* @param {number} [page]
|
|
19951
19976
|
* @param {number} [limit]
|
|
19952
19977
|
* @param {Date} [lastRetrieved]
|
|
19953
19978
|
* @param {*} [options] Override http request option.
|
|
19954
19979
|
* @throws {RequiredError}
|
|
19955
19980
|
*/
|
|
19956
|
-
apiV2ServicescategoriesGet(id?: string, name?: string, description?: string,
|
|
19957
|
-
return localVarFp.apiV2ServicescategoriesGet(id, name, description,
|
|
19981
|
+
apiV2ServicescategoriesGet(id?: string, name?: string, description?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServiceCategoriesModel> {
|
|
19982
|
+
return localVarFp.apiV2ServicescategoriesGet(id, name, description, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
19958
19983
|
},
|
|
19959
19984
|
/**
|
|
19960
19985
|
*
|
|
19961
19986
|
* @summary Get ServiceCategory.
|
|
19962
19987
|
* @param {string} serviceCategoryId
|
|
19963
|
-
* @param {string} [languageCode]
|
|
19964
19988
|
* @param {*} [options] Override http request option.
|
|
19965
19989
|
* @throws {RequiredError}
|
|
19966
19990
|
*/
|
|
19967
|
-
apiV2ServicescategoriesServiceCategoryIdGet(serviceCategoryId: string,
|
|
19968
|
-
return localVarFp.apiV2ServicescategoriesServiceCategoryIdGet(serviceCategoryId,
|
|
19991
|
+
apiV2ServicescategoriesServiceCategoryIdGet(serviceCategoryId: string, options?: any): AxiosPromise<ServiceCategoryModel> {
|
|
19992
|
+
return localVarFp.apiV2ServicescategoriesServiceCategoryIdGet(serviceCategoryId, options).then((request) => request(axios, basePath));
|
|
19969
19993
|
},
|
|
19970
19994
|
};
|
|
19971
19995
|
};
|
|
@@ -19983,7 +20007,6 @@ export class ServicesCategoriesApi extends BaseAPI {
|
|
|
19983
20007
|
* @param {string} [id]
|
|
19984
20008
|
* @param {string} [name]
|
|
19985
20009
|
* @param {string} [description]
|
|
19986
|
-
* @param {string} [languageCode]
|
|
19987
20010
|
* @param {number} [page]
|
|
19988
20011
|
* @param {number} [limit]
|
|
19989
20012
|
* @param {Date} [lastRetrieved]
|
|
@@ -19991,21 +20014,20 @@ export class ServicesCategoriesApi extends BaseAPI {
|
|
|
19991
20014
|
* @throws {RequiredError}
|
|
19992
20015
|
* @memberof ServicesCategoriesApi
|
|
19993
20016
|
*/
|
|
19994
|
-
public apiV2ServicescategoriesGet(id?: string, name?: string, description?: string,
|
|
19995
|
-
return ServicesCategoriesApiFp(this.configuration).apiV2ServicescategoriesGet(id, name, description,
|
|
20017
|
+
public apiV2ServicescategoriesGet(id?: string, name?: string, description?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
20018
|
+
return ServicesCategoriesApiFp(this.configuration).apiV2ServicescategoriesGet(id, name, description, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
19996
20019
|
}
|
|
19997
20020
|
|
|
19998
20021
|
/**
|
|
19999
20022
|
*
|
|
20000
20023
|
* @summary Get ServiceCategory.
|
|
20001
20024
|
* @param {string} serviceCategoryId
|
|
20002
|
-
* @param {string} [languageCode]
|
|
20003
20025
|
* @param {*} [options] Override http request option.
|
|
20004
20026
|
* @throws {RequiredError}
|
|
20005
20027
|
* @memberof ServicesCategoriesApi
|
|
20006
20028
|
*/
|
|
20007
|
-
public apiV2ServicescategoriesServiceCategoryIdGet(serviceCategoryId: string,
|
|
20008
|
-
return ServicesCategoriesApiFp(this.configuration).apiV2ServicescategoriesServiceCategoryIdGet(serviceCategoryId,
|
|
20029
|
+
public apiV2ServicescategoriesServiceCategoryIdGet(serviceCategoryId: string, options?: AxiosRequestConfig) {
|
|
20030
|
+
return ServicesCategoriesApiFp(this.configuration).apiV2ServicescategoriesServiceCategoryIdGet(serviceCategoryId, options).then((request) => request(this.axios, this.basePath));
|
|
20009
20031
|
}
|
|
20010
20032
|
}
|
|
20011
20033
|
|
|
@@ -20112,7 +20134,6 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
20112
20134
|
},
|
|
20113
20135
|
/**
|
|
20114
20136
|
*
|
|
20115
|
-
* @summary Get Specialty by slug.
|
|
20116
20137
|
* @param {string} slug
|
|
20117
20138
|
* @param {string} [languageCode]
|
|
20118
20139
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -20156,7 +20177,6 @@ export const SpecialtiesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
20156
20177
|
},
|
|
20157
20178
|
/**
|
|
20158
20179
|
*
|
|
20159
|
-
* @summary Get Specialty.
|
|
20160
20180
|
* @param {string} specialtyId
|
|
20161
20181
|
* @param {string} [languageCode]
|
|
20162
20182
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -20331,7 +20351,6 @@ export const SpecialtiesApiFp = function(configuration?: Configuration) {
|
|
|
20331
20351
|
},
|
|
20332
20352
|
/**
|
|
20333
20353
|
*
|
|
20334
|
-
* @summary Get Specialty by slug.
|
|
20335
20354
|
* @param {string} slug
|
|
20336
20355
|
* @param {string} [languageCode]
|
|
20337
20356
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -20344,7 +20363,6 @@ export const SpecialtiesApiFp = function(configuration?: Configuration) {
|
|
|
20344
20363
|
},
|
|
20345
20364
|
/**
|
|
20346
20365
|
*
|
|
20347
|
-
* @summary Get Specialty.
|
|
20348
20366
|
* @param {string} specialtyId
|
|
20349
20367
|
* @param {string} [languageCode]
|
|
20350
20368
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -20416,7 +20434,6 @@ export const SpecialtiesApiFactory = function (configuration?: Configuration, ba
|
|
|
20416
20434
|
},
|
|
20417
20435
|
/**
|
|
20418
20436
|
*
|
|
20419
|
-
* @summary Get Specialty by slug.
|
|
20420
20437
|
* @param {string} slug
|
|
20421
20438
|
* @param {string} [languageCode]
|
|
20422
20439
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -20428,7 +20445,6 @@ export const SpecialtiesApiFactory = function (configuration?: Configuration, ba
|
|
|
20428
20445
|
},
|
|
20429
20446
|
/**
|
|
20430
20447
|
*
|
|
20431
|
-
* @summary Get Specialty.
|
|
20432
20448
|
* @param {string} specialtyId
|
|
20433
20449
|
* @param {string} [languageCode]
|
|
20434
20450
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -20499,7 +20515,6 @@ export class SpecialtiesApi extends BaseAPI {
|
|
|
20499
20515
|
|
|
20500
20516
|
/**
|
|
20501
20517
|
*
|
|
20502
|
-
* @summary Get Specialty by slug.
|
|
20503
20518
|
* @param {string} slug
|
|
20504
20519
|
* @param {string} [languageCode]
|
|
20505
20520
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -20513,7 +20528,6 @@ export class SpecialtiesApi extends BaseAPI {
|
|
|
20513
20528
|
|
|
20514
20529
|
/**
|
|
20515
20530
|
*
|
|
20516
|
-
* @summary Get Specialty.
|
|
20517
20531
|
* @param {string} specialtyId
|
|
20518
20532
|
* @param {string} [languageCode]
|
|
20519
20533
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -20763,7 +20777,6 @@ export const SpecialtyTypesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
20763
20777
|
},
|
|
20764
20778
|
/**
|
|
20765
20779
|
*
|
|
20766
|
-
* @summary Get Department by slug.
|
|
20767
20780
|
* @param {string} slug
|
|
20768
20781
|
* @param {string} [languageCode]
|
|
20769
20782
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -20807,7 +20820,6 @@ export const SpecialtyTypesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
20807
20820
|
},
|
|
20808
20821
|
/**
|
|
20809
20822
|
*
|
|
20810
|
-
* @summary Get Department.
|
|
20811
20823
|
* @param {string} specialtyTypeId
|
|
20812
20824
|
* @param {string} [languageCode]
|
|
20813
20825
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -21006,7 +21018,6 @@ export const SpecialtyTypesApiFp = function(configuration?: Configuration) {
|
|
|
21006
21018
|
},
|
|
21007
21019
|
/**
|
|
21008
21020
|
*
|
|
21009
|
-
* @summary Get Department by slug.
|
|
21010
21021
|
* @param {string} slug
|
|
21011
21022
|
* @param {string} [languageCode]
|
|
21012
21023
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -21019,7 +21030,6 @@ export const SpecialtyTypesApiFp = function(configuration?: Configuration) {
|
|
|
21019
21030
|
},
|
|
21020
21031
|
/**
|
|
21021
21032
|
*
|
|
21022
|
-
* @summary Get Department.
|
|
21023
21033
|
* @param {string} specialtyTypeId
|
|
21024
21034
|
* @param {string} [languageCode]
|
|
21025
21035
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -21114,7 +21124,6 @@ export const SpecialtyTypesApiFactory = function (configuration?: Configuration,
|
|
|
21114
21124
|
},
|
|
21115
21125
|
/**
|
|
21116
21126
|
*
|
|
21117
|
-
* @summary Get Department by slug.
|
|
21118
21127
|
* @param {string} slug
|
|
21119
21128
|
* @param {string} [languageCode]
|
|
21120
21129
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -21126,7 +21135,6 @@ export const SpecialtyTypesApiFactory = function (configuration?: Configuration,
|
|
|
21126
21135
|
},
|
|
21127
21136
|
/**
|
|
21128
21137
|
*
|
|
21129
|
-
* @summary Get Department.
|
|
21130
21138
|
* @param {string} specialtyTypeId
|
|
21131
21139
|
* @param {string} [languageCode]
|
|
21132
21140
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -21222,7 +21230,6 @@ export class SpecialtyTypesApi extends BaseAPI {
|
|
|
21222
21230
|
|
|
21223
21231
|
/**
|
|
21224
21232
|
*
|
|
21225
|
-
* @summary Get Department by slug.
|
|
21226
21233
|
* @param {string} slug
|
|
21227
21234
|
* @param {string} [languageCode]
|
|
21228
21235
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -21236,7 +21243,6 @@ export class SpecialtyTypesApi extends BaseAPI {
|
|
|
21236
21243
|
|
|
21237
21244
|
/**
|
|
21238
21245
|
*
|
|
21239
|
-
* @summary Get Department.
|
|
21240
21246
|
* @param {string} specialtyTypeId
|
|
21241
21247
|
* @param {string} [languageCode]
|
|
21242
21248
|
* @param {boolean} [returnDefaultValue]
|