ch-api-client-typescript2 4.9.1 → 4.9.3
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/{v2-about-us-api.d.ts → about-us-api.d.ts} +25 -25
- package/lib/api/about-us-api.d.ts.map +1 -0
- package/lib/api/{v2-about-us-api.js → about-us-api.js} +48 -48
- package/lib/api/{v2-accreditations-api.d.ts → accreditations-api.d.ts} +20 -20
- package/lib/api/accreditations-api.d.ts.map +1 -0
- package/lib/api/{v2-accreditations-api.js → accreditations-api.js} +38 -38
- package/lib/api/{v2-app-version-api.d.ts → app-version-api.d.ts} +15 -15
- package/lib/api/app-version-api.d.ts.map +1 -0
- package/lib/api/{v2-app-version-api.js → app-version-api.js} +29 -29
- package/lib/api/{v2-articles-api.d.ts → articles-api.d.ts} +65 -65
- package/lib/api/articles-api.d.ts.map +1 -0
- package/lib/api/{v2-articles-api.js → articles-api.js} +132 -132
- package/lib/api/{v2-bookings-api.d.ts → bookings-api.d.ts} +35 -35
- package/lib/api/bookings-api.d.ts.map +1 -0
- package/lib/api/{v2-bookings-api.js → bookings-api.js} +68 -68
- package/lib/api/{v2-chat-users-api.d.ts → chat-users-api.d.ts} +40 -40
- package/lib/api/chat-users-api.d.ts.map +1 -0
- package/lib/api/{v2-chat-users-api.js → chat-users-api.js} +74 -74
- package/lib/api/{v2-communications-api.d.ts → communications-api.d.ts} +25 -25
- package/lib/api/communications-api.d.ts.map +1 -0
- package/lib/api/{v2-communications-api.js → communications-api.js} +46 -46
- package/lib/api/{v2-consultations-api.d.ts → consultations-api.d.ts} +35 -35
- package/lib/api/consultations-api.d.ts.map +1 -0
- package/lib/api/{v2-consultations-api.js → consultations-api.js} +68 -68
- package/lib/api/{v2-contributors-api.d.ts → contributors-api.d.ts} +35 -35
- package/lib/api/contributors-api.d.ts.map +1 -0
- package/lib/api/{v2-contributors-api.js → contributors-api.js} +69 -69
- package/lib/api/{v2-countries-api.d.ts → countries-api.d.ts} +35 -35
- package/lib/api/countries-api.d.ts.map +1 -0
- package/lib/api/{v2-countries-api.js → countries-api.js} +69 -69
- package/lib/api/{v2-deals-api.d.ts → deals-api.d.ts} +50 -50
- package/lib/api/deals-api.d.ts.map +1 -0
- package/lib/api/{v2-deals-api.js → deals-api.js} +99 -99
- package/lib/api/{v2-devices-api.d.ts → devices-api.d.ts} +40 -40
- package/lib/api/devices-api.d.ts.map +1 -0
- package/lib/api/{v2-devices-api.js → devices-api.js} +77 -77
- package/lib/api/{v2-doctor-affiliations-api.d.ts → doctor-affiliations-api.d.ts} +35 -35
- package/lib/api/doctor-affiliations-api.d.ts.map +1 -0
- package/lib/api/{v2-doctor-affiliations-api.js → doctor-affiliations-api.js} +69 -69
- package/lib/api/{v2-doctors-api.d.ts → doctors-api.d.ts} +85 -85
- package/lib/api/doctors-api.d.ts.map +1 -0
- package/lib/api/{v2-doctors-api.js → doctors-api.js} +173 -173
- package/lib/api/{v2-external-api.d.ts → external-api.d.ts} +15 -15
- package/lib/api/external-api.d.ts.map +1 -0
- package/lib/api/{v2-external-api.js → external-api.js} +28 -28
- package/lib/api/{v2-faq-categories-api.d.ts → faq-categories-api.d.ts} +25 -25
- package/lib/api/faq-categories-api.d.ts.map +1 -0
- package/lib/api/{v2-faq-categories-api.js → faq-categories-api.js} +48 -48
- package/lib/api/{v2-faqs-api.d.ts → faqs-api.d.ts} +45 -45
- package/lib/api/faqs-api.d.ts.map +1 -0
- package/lib/api/{v2-faqs-api.js → faqs-api.js} +90 -90
- package/lib/api/{v2-group-channels-api.d.ts → group-channels-api.d.ts} +35 -35
- package/lib/api/group-channels-api.d.ts.map +1 -0
- package/lib/api/{v2-group-channels-api.js → group-channels-api.js} +70 -70
- package/lib/api/{v2-header-navigations-api.d.ts → header-navigations-api.d.ts} +15 -15
- package/lib/api/header-navigations-api.d.ts.map +1 -0
- package/lib/api/{v2-header-navigations-api.js → header-navigations-api.js} +29 -29
- package/lib/api/{v2-hospitals-api.d.ts → hospitals-api.d.ts} +170 -170
- package/lib/api/hospitals-api.d.ts.map +1 -0
- package/lib/api/{v2-hospitals-api.js → hospitals-api.js} +361 -361
- package/lib/api/{v2-hospitals-consultation-timetables-api.d.ts → hospitals-consultation-timetables-api.d.ts} +15 -15
- package/lib/api/hospitals-consultation-timetables-api.d.ts.map +1 -0
- package/lib/api/{v2-hospitals-consultation-timetables-api.js → hospitals-consultation-timetables-api.js} +29 -29
- package/lib/api/{v2-images-api.d.ts → images-api.d.ts} +15 -15
- package/lib/api/images-api.d.ts.map +1 -0
- package/lib/api/{v2-images-api.js → images-api.js} +28 -28
- package/lib/api/{v2-languages-api.d.ts → languages-api.d.ts} +20 -20
- package/lib/api/languages-api.d.ts.map +1 -0
- package/lib/api/{v2-languages-api.js → languages-api.js} +38 -38
- package/lib/api/{v2-memberships-api.d.ts → memberships-api.d.ts} +25 -25
- package/lib/api/memberships-api.d.ts.map +1 -0
- package/lib/api/{v2-memberships-api.js → memberships-api.js} +48 -48
- package/lib/api/{v2-notifications-api.d.ts → notifications-api.d.ts} +20 -20
- package/lib/api/notifications-api.d.ts.map +1 -0
- package/lib/api/{v2-notifications-api.js → notifications-api.js} +37 -37
- package/lib/api/{v2-origins-api.d.ts → origins-api.d.ts} +30 -30
- package/lib/api/origins-api.d.ts.map +1 -0
- package/lib/api/{v2-origins-api.js → origins-api.js} +56 -56
- package/lib/api/{v2-patients-api.d.ts → patients-api.d.ts} +40 -40
- package/lib/api/patients-api.d.ts.map +1 -0
- package/lib/api/{v2-patients-api.js → patients-api.js} +78 -78
- package/lib/api/{v2-plans-api.d.ts → plans-api.d.ts} +30 -30
- package/lib/api/plans-api.d.ts.map +1 -0
- package/lib/api/{v2-plans-api.js → plans-api.js} +59 -59
- package/lib/api/{v2-profiles-api.d.ts → profiles-api.d.ts} +40 -40
- package/lib/api/profiles-api.d.ts.map +1 -0
- package/lib/api/{v2-profiles-api.js → profiles-api.js} +74 -74
- package/lib/api/{v2-service-reviews-api.d.ts → service-reviews-api.d.ts} +60 -60
- package/lib/api/service-reviews-api.d.ts.map +1 -0
- package/lib/api/{v2-service-reviews-api.js → service-reviews-api.js} +120 -120
- package/lib/api/{v2-services-api.d.ts → services-api.d.ts} +25 -25
- package/lib/api/services-api.d.ts.map +1 -0
- package/lib/api/{v2-services-api.js → services-api.js} +48 -48
- package/lib/api/{v2-services-categories-api.d.ts → services-categories-api.d.ts} +20 -20
- package/lib/api/services-categories-api.d.ts.map +1 -0
- package/lib/api/{v2-services-categories-api.js → services-categories-api.js} +38 -38
- package/lib/api/{v2-specialties-api.d.ts → specialties-api.d.ts} +40 -40
- package/lib/api/specialties-api.d.ts.map +1 -0
- package/lib/api/{v2-specialties-api.js → specialties-api.js} +78 -78
- package/lib/api/{v2-specialty-types-api.d.ts → specialty-types-api.d.ts} +40 -40
- package/lib/api/specialty-types-api.d.ts.map +1 -0
- package/lib/api/{v2-specialty-types-api.js → specialty-types-api.js} +78 -78
- package/lib/api/{v2-survey-forms-api.d.ts → survey-forms-api.d.ts} +15 -15
- package/lib/api/survey-forms-api.d.ts.map +1 -0
- package/lib/api/{v2-survey-forms-api.js → survey-forms-api.js} +29 -29
- package/lib/api/{v2-survey-results-api.d.ts → survey-results-api.d.ts} +15 -15
- package/lib/api/survey-results-api.d.ts.map +1 -0
- package/lib/api/{v2-survey-results-api.js → survey-results-api.js} +28 -28
- package/lib/api/{v2-tags-api.d.ts → tags-api.d.ts} +20 -20
- package/lib/api/tags-api.d.ts.map +1 -0
- package/lib/api/{v2-tags-api.js → tags-api.js} +38 -38
- package/lib/api.d.ts +37 -37
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +37 -37
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +37 -37
- package/src/api/{v2-about-us-api.ts → about-us-api.ts} +40 -40
- package/src/api/{v2-accreditations-api.ts → accreditations-api.ts} +30 -30
- package/src/api/{v2-app-version-api.ts → app-version-api.ts} +21 -21
- package/src/api/{v2-articles-api.ts → articles-api.ts} +124 -124
- package/src/api/{v2-bookings-api.ts → bookings-api.ts} +60 -60
- package/src/api/{v2-chat-users-api.ts → chat-users-api.ts} +66 -66
- package/src/api/{v2-communications-api.ts → communications-api.ts} +38 -38
- package/src/api/{v2-consultations-api.ts → consultations-api.ts} +60 -60
- package/src/api/{v2-contributors-api.ts → contributors-api.ts} +61 -61
- package/src/api/{v2-countries-api.ts → countries-api.ts} +61 -61
- package/src/api/{v2-deals-api.ts → deals-api.ts} +91 -91
- package/src/api/{v2-devices-api.ts → devices-api.ts} +69 -69
- package/src/api/{v2-doctor-affiliations-api.ts → doctor-affiliations-api.ts} +61 -61
- package/src/api/{v2-doctors-api.ts → doctors-api.ts} +165 -165
- package/src/api/{v2-external-api.ts → external-api.ts} +20 -20
- package/src/api/{v2-faq-categories-api.ts → faq-categories-api.ts} +40 -40
- package/src/api/{v2-faqs-api.ts → faqs-api.ts} +82 -82
- package/src/api/{v2-group-channels-api.ts → group-channels-api.ts} +62 -62
- package/src/api/{v2-header-navigations-api.ts → header-navigations-api.ts} +21 -21
- package/src/api/{v2-hospitals-api.ts → hospitals-api.ts} +353 -353
- package/src/api/{v2-hospitals-consultation-timetables-api.ts → hospitals-consultation-timetables-api.ts} +21 -21
- package/src/api/{v2-images-api.ts → images-api.ts} +20 -20
- package/src/api/{v2-languages-api.ts → languages-api.ts} +30 -30
- package/src/api/{v2-memberships-api.ts → memberships-api.ts} +40 -40
- package/src/api/{v2-notifications-api.ts → notifications-api.ts} +29 -29
- package/src/api/{v2-origins-api.ts → origins-api.ts} +48 -48
- package/src/api/{v2-patients-api.ts → patients-api.ts} +70 -70
- package/src/api/{v2-plans-api.ts → plans-api.ts} +51 -51
- package/src/api/{v2-profiles-api.ts → profiles-api.ts} +66 -66
- package/src/api/{v2-service-reviews-api.ts → service-reviews-api.ts} +112 -112
- package/src/api/{v2-services-api.ts → services-api.ts} +40 -40
- package/src/api/{v2-services-categories-api.ts → services-categories-api.ts} +30 -30
- package/src/api/{v2-specialties-api.ts → specialties-api.ts} +70 -70
- package/src/api/{v2-specialty-types-api.ts → specialty-types-api.ts} +70 -70
- package/src/api/{v2-survey-forms-api.ts → survey-forms-api.ts} +21 -21
- package/src/api/{v2-survey-results-api.ts → survey-results-api.ts} +20 -20
- package/src/api/{v2-tags-api.ts → tags-api.ts} +30 -30
- package/src/api.ts +37 -37
- package/lib/api/v2-about-us-api.d.ts.map +0 -1
- package/lib/api/v2-accreditations-api.d.ts.map +0 -1
- package/lib/api/v2-app-version-api.d.ts.map +0 -1
- package/lib/api/v2-articles-api.d.ts.map +0 -1
- package/lib/api/v2-bookings-api.d.ts.map +0 -1
- package/lib/api/v2-chat-users-api.d.ts.map +0 -1
- package/lib/api/v2-communications-api.d.ts.map +0 -1
- package/lib/api/v2-consultations-api.d.ts.map +0 -1
- package/lib/api/v2-contributors-api.d.ts.map +0 -1
- package/lib/api/v2-countries-api.d.ts.map +0 -1
- package/lib/api/v2-deals-api.d.ts.map +0 -1
- package/lib/api/v2-devices-api.d.ts.map +0 -1
- package/lib/api/v2-doctor-affiliations-api.d.ts.map +0 -1
- package/lib/api/v2-doctors-api.d.ts.map +0 -1
- package/lib/api/v2-external-api.d.ts.map +0 -1
- package/lib/api/v2-faq-categories-api.d.ts.map +0 -1
- package/lib/api/v2-faqs-api.d.ts.map +0 -1
- package/lib/api/v2-group-channels-api.d.ts.map +0 -1
- package/lib/api/v2-header-navigations-api.d.ts.map +0 -1
- package/lib/api/v2-hospitals-api.d.ts.map +0 -1
- package/lib/api/v2-hospitals-consultation-timetables-api.d.ts.map +0 -1
- package/lib/api/v2-images-api.d.ts.map +0 -1
- package/lib/api/v2-languages-api.d.ts.map +0 -1
- package/lib/api/v2-memberships-api.d.ts.map +0 -1
- package/lib/api/v2-notifications-api.d.ts.map +0 -1
- package/lib/api/v2-origins-api.d.ts.map +0 -1
- package/lib/api/v2-patients-api.d.ts.map +0 -1
- package/lib/api/v2-plans-api.d.ts.map +0 -1
- package/lib/api/v2-profiles-api.d.ts.map +0 -1
- package/lib/api/v2-service-reviews-api.d.ts.map +0 -1
- package/lib/api/v2-services-api.d.ts.map +0 -1
- package/lib/api/v2-services-categories-api.d.ts.map +0 -1
- package/lib/api/v2-specialties-api.d.ts.map +0 -1
- package/lib/api/v2-specialty-types-api.d.ts.map +0 -1
- package/lib/api/v2-survey-forms-api.d.ts.map +0 -1
- package/lib/api/v2-survey-results-api.d.ts.map +0 -1
- package/lib/api/v2-tags-api.d.ts.map +0 -1
|
@@ -29,10 +29,10 @@ import { MarketingType } from '../models';
|
|
|
29
29
|
// @ts-ignore
|
|
30
30
|
import { Procedure } from '../models';
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* ServicesApi - axios parameter creator
|
|
33
33
|
* @export
|
|
34
34
|
*/
|
|
35
|
-
export const
|
|
35
|
+
export const ServicesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
36
36
|
return {
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
@@ -59,8 +59,8 @@ export const V2ServicesApiAxiosParamCreator = function (configuration?: Configur
|
|
|
59
59
|
* @param {*} [options] Override http request option.
|
|
60
60
|
* @throws {RequiredError}
|
|
61
61
|
*/
|
|
62
|
-
|
|
63
|
-
const localVarPath = `/
|
|
62
|
+
apiV2ServicesGet: async (id?: string, name?: string, slug?: string, hospitalId?: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
63
|
+
const localVarPath = `/api/v2/services`;
|
|
64
64
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
65
65
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
66
66
|
let baseOptions;
|
|
@@ -172,10 +172,10 @@ export const V2ServicesApiAxiosParamCreator = function (configuration?: Configur
|
|
|
172
172
|
* @param {*} [options] Override http request option.
|
|
173
173
|
* @throws {RequiredError}
|
|
174
174
|
*/
|
|
175
|
-
|
|
175
|
+
apiV2ServicesServiceIdGet: async (serviceId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
176
176
|
// verify required parameter 'serviceId' is not null or undefined
|
|
177
|
-
assertParamExists('
|
|
178
|
-
const localVarPath = `/
|
|
177
|
+
assertParamExists('apiV2ServicesServiceIdGet', 'serviceId', serviceId)
|
|
178
|
+
const localVarPath = `/api/v2/services/{serviceId}`
|
|
179
179
|
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
|
|
180
180
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
181
181
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -216,10 +216,10 @@ export const V2ServicesApiAxiosParamCreator = function (configuration?: Configur
|
|
|
216
216
|
* @param {*} [options] Override http request option.
|
|
217
217
|
* @throws {RequiredError}
|
|
218
218
|
*/
|
|
219
|
-
|
|
219
|
+
apiV2ServicesSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
220
220
|
// verify required parameter 'slug' is not null or undefined
|
|
221
|
-
assertParamExists('
|
|
222
|
-
const localVarPath = `/
|
|
221
|
+
assertParamExists('apiV2ServicesSlugGet', 'slug', slug)
|
|
222
|
+
const localVarPath = `/api/v2/services/{slug}`
|
|
223
223
|
.replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
|
|
224
224
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
225
225
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -255,11 +255,11 @@ export const V2ServicesApiAxiosParamCreator = function (configuration?: Configur
|
|
|
255
255
|
};
|
|
256
256
|
|
|
257
257
|
/**
|
|
258
|
-
*
|
|
258
|
+
* ServicesApi - functional programming interface
|
|
259
259
|
* @export
|
|
260
260
|
*/
|
|
261
|
-
export const
|
|
262
|
-
const localVarAxiosParamCreator =
|
|
261
|
+
export const ServicesApiFp = function(configuration?: Configuration) {
|
|
262
|
+
const localVarAxiosParamCreator = ServicesApiAxiosParamCreator(configuration)
|
|
263
263
|
return {
|
|
264
264
|
/**
|
|
265
265
|
*
|
|
@@ -286,8 +286,8 @@ export const V2ServicesApiFp = function(configuration?: Configuration) {
|
|
|
286
286
|
* @param {*} [options] Override http request option.
|
|
287
287
|
* @throws {RequiredError}
|
|
288
288
|
*/
|
|
289
|
-
async
|
|
290
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
289
|
+
async apiV2ServicesGet(id?: string, name?: string, slug?: string, hospitalId?: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServicesModel>> {
|
|
290
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicesGet(id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options);
|
|
291
291
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
292
292
|
},
|
|
293
293
|
/**
|
|
@@ -299,8 +299,8 @@ export const V2ServicesApiFp = function(configuration?: Configuration) {
|
|
|
299
299
|
* @param {*} [options] Override http request option.
|
|
300
300
|
* @throws {RequiredError}
|
|
301
301
|
*/
|
|
302
|
-
async
|
|
303
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
302
|
+
async apiV2ServicesServiceIdGet(serviceId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServiceModel>> {
|
|
303
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicesServiceIdGet(serviceId, languageCode, returnDefaultValue, options);
|
|
304
304
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
305
305
|
},
|
|
306
306
|
/**
|
|
@@ -312,19 +312,19 @@ export const V2ServicesApiFp = function(configuration?: Configuration) {
|
|
|
312
312
|
* @param {*} [options] Override http request option.
|
|
313
313
|
* @throws {RequiredError}
|
|
314
314
|
*/
|
|
315
|
-
async
|
|
316
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
315
|
+
async apiV2ServicesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServiceModel>> {
|
|
316
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicesSlugGet(slug, languageCode, returnDefaultValue, options);
|
|
317
317
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
318
318
|
},
|
|
319
319
|
}
|
|
320
320
|
};
|
|
321
321
|
|
|
322
322
|
/**
|
|
323
|
-
*
|
|
323
|
+
* ServicesApi - factory interface
|
|
324
324
|
* @export
|
|
325
325
|
*/
|
|
326
|
-
export const
|
|
327
|
-
const localVarFp =
|
|
326
|
+
export const ServicesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
327
|
+
const localVarFp = ServicesApiFp(configuration)
|
|
328
328
|
return {
|
|
329
329
|
/**
|
|
330
330
|
*
|
|
@@ -351,8 +351,8 @@ export const V2ServicesApiFactory = function (configuration?: Configuration, bas
|
|
|
351
351
|
* @param {*} [options] Override http request option.
|
|
352
352
|
* @throws {RequiredError}
|
|
353
353
|
*/
|
|
354
|
-
|
|
355
|
-
return localVarFp.
|
|
354
|
+
apiV2ServicesGet(id?: string, name?: string, slug?: string, hospitalId?: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalServicesModel> {
|
|
355
|
+
return localVarFp.apiV2ServicesGet(id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
356
356
|
},
|
|
357
357
|
/**
|
|
358
358
|
*
|
|
@@ -363,8 +363,8 @@ export const V2ServicesApiFactory = function (configuration?: Configuration, bas
|
|
|
363
363
|
* @param {*} [options] Override http request option.
|
|
364
364
|
* @throws {RequiredError}
|
|
365
365
|
*/
|
|
366
|
-
|
|
367
|
-
return localVarFp.
|
|
366
|
+
apiV2ServicesServiceIdGet(serviceId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<HospitalServiceModel> {
|
|
367
|
+
return localVarFp.apiV2ServicesServiceIdGet(serviceId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
368
368
|
},
|
|
369
369
|
/**
|
|
370
370
|
*
|
|
@@ -375,19 +375,19 @@ export const V2ServicesApiFactory = function (configuration?: Configuration, bas
|
|
|
375
375
|
* @param {*} [options] Override http request option.
|
|
376
376
|
* @throws {RequiredError}
|
|
377
377
|
*/
|
|
378
|
-
|
|
379
|
-
return localVarFp.
|
|
378
|
+
apiV2ServicesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<HospitalServiceModel> {
|
|
379
|
+
return localVarFp.apiV2ServicesSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
380
380
|
},
|
|
381
381
|
};
|
|
382
382
|
};
|
|
383
383
|
|
|
384
384
|
/**
|
|
385
|
-
*
|
|
385
|
+
* ServicesApi - object-oriented interface
|
|
386
386
|
* @export
|
|
387
|
-
* @class
|
|
387
|
+
* @class ServicesApi
|
|
388
388
|
* @extends {BaseAPI}
|
|
389
389
|
*/
|
|
390
|
-
export class
|
|
390
|
+
export class ServicesApi extends BaseAPI {
|
|
391
391
|
/**
|
|
392
392
|
*
|
|
393
393
|
* @summary Get all HospitalServices.
|
|
@@ -412,10 +412,10 @@ export class V2ServicesApi extends BaseAPI {
|
|
|
412
412
|
* @param {Date} [lastRetrieved]
|
|
413
413
|
* @param {*} [options] Override http request option.
|
|
414
414
|
* @throws {RequiredError}
|
|
415
|
-
* @memberof
|
|
415
|
+
* @memberof ServicesApi
|
|
416
416
|
*/
|
|
417
|
-
public
|
|
418
|
-
return
|
|
417
|
+
public apiV2ServicesGet(id?: string, name?: string, slug?: string, hospitalId?: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
418
|
+
return ServicesApiFp(this.configuration).apiV2ServicesGet(id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
419
419
|
}
|
|
420
420
|
|
|
421
421
|
/**
|
|
@@ -426,10 +426,10 @@ export class V2ServicesApi extends BaseAPI {
|
|
|
426
426
|
* @param {boolean} [returnDefaultValue]
|
|
427
427
|
* @param {*} [options] Override http request option.
|
|
428
428
|
* @throws {RequiredError}
|
|
429
|
-
* @memberof
|
|
429
|
+
* @memberof ServicesApi
|
|
430
430
|
*/
|
|
431
|
-
public
|
|
432
|
-
return
|
|
431
|
+
public apiV2ServicesServiceIdGet(serviceId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
432
|
+
return ServicesApiFp(this.configuration).apiV2ServicesServiceIdGet(serviceId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
433
433
|
}
|
|
434
434
|
|
|
435
435
|
/**
|
|
@@ -440,9 +440,9 @@ export class V2ServicesApi extends BaseAPI {
|
|
|
440
440
|
* @param {boolean} [returnDefaultValue]
|
|
441
441
|
* @param {*} [options] Override http request option.
|
|
442
442
|
* @throws {RequiredError}
|
|
443
|
-
* @memberof
|
|
443
|
+
* @memberof ServicesApi
|
|
444
444
|
*/
|
|
445
|
-
public
|
|
446
|
-
return
|
|
445
|
+
public apiV2ServicesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
446
|
+
return ServicesApiFp(this.configuration).apiV2ServicesSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
447
447
|
}
|
|
448
448
|
}
|
|
@@ -25,10 +25,10 @@ import { ServiceCategoriesModel } from '../models';
|
|
|
25
25
|
// @ts-ignore
|
|
26
26
|
import { ServiceCategoryModel } from '../models';
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* ServicesCategoriesApi - axios parameter creator
|
|
29
29
|
* @export
|
|
30
30
|
*/
|
|
31
|
-
export const
|
|
31
|
+
export const ServicesCategoriesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32
32
|
return {
|
|
33
33
|
/**
|
|
34
34
|
*
|
|
@@ -41,8 +41,8 @@ export const V2ServicesCategoriesApiAxiosParamCreator = function (configuration?
|
|
|
41
41
|
* @param {*} [options] Override http request option.
|
|
42
42
|
* @throws {RequiredError}
|
|
43
43
|
*/
|
|
44
|
-
|
|
45
|
-
const localVarPath = `/
|
|
44
|
+
apiV2ServicescategoriesGet: async (id?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
45
|
+
const localVarPath = `/api/v2/servicescategories`;
|
|
46
46
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
47
47
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
48
48
|
let baseOptions;
|
|
@@ -94,10 +94,10 @@ export const V2ServicesCategoriesApiAxiosParamCreator = function (configuration?
|
|
|
94
94
|
* @param {*} [options] Override http request option.
|
|
95
95
|
* @throws {RequiredError}
|
|
96
96
|
*/
|
|
97
|
-
|
|
97
|
+
apiV2ServicescategoriesServiceCategoryIdGet: async (serviceCategoryId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
98
98
|
// verify required parameter 'serviceCategoryId' is not null or undefined
|
|
99
|
-
assertParamExists('
|
|
100
|
-
const localVarPath = `/
|
|
99
|
+
assertParamExists('apiV2ServicescategoriesServiceCategoryIdGet', 'serviceCategoryId', serviceCategoryId)
|
|
100
|
+
const localVarPath = `/api/v2/servicescategories/{serviceCategoryId}`
|
|
101
101
|
.replace(`{${"serviceCategoryId"}}`, encodeURIComponent(String(serviceCategoryId)));
|
|
102
102
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
103
103
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -125,11 +125,11 @@ export const V2ServicesCategoriesApiAxiosParamCreator = function (configuration?
|
|
|
125
125
|
};
|
|
126
126
|
|
|
127
127
|
/**
|
|
128
|
-
*
|
|
128
|
+
* ServicesCategoriesApi - functional programming interface
|
|
129
129
|
* @export
|
|
130
130
|
*/
|
|
131
|
-
export const
|
|
132
|
-
const localVarAxiosParamCreator =
|
|
131
|
+
export const ServicesCategoriesApiFp = function(configuration?: Configuration) {
|
|
132
|
+
const localVarAxiosParamCreator = ServicesCategoriesApiAxiosParamCreator(configuration)
|
|
133
133
|
return {
|
|
134
134
|
/**
|
|
135
135
|
*
|
|
@@ -142,8 +142,8 @@ export const V2ServicesCategoriesApiFp = function(configuration?: Configuration)
|
|
|
142
142
|
* @param {*} [options] Override http request option.
|
|
143
143
|
* @throws {RequiredError}
|
|
144
144
|
*/
|
|
145
|
-
async
|
|
146
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
145
|
+
async apiV2ServicescategoriesGet(id?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceCategoriesModel>> {
|
|
146
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicescategoriesGet(id, name, page, limit, lastRetrieved, options);
|
|
147
147
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
148
148
|
},
|
|
149
149
|
/**
|
|
@@ -153,19 +153,19 @@ export const V2ServicesCategoriesApiFp = function(configuration?: Configuration)
|
|
|
153
153
|
* @param {*} [options] Override http request option.
|
|
154
154
|
* @throws {RequiredError}
|
|
155
155
|
*/
|
|
156
|
-
async
|
|
157
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
156
|
+
async apiV2ServicescategoriesServiceCategoryIdGet(serviceCategoryId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceCategoryModel>> {
|
|
157
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ServicescategoriesServiceCategoryIdGet(serviceCategoryId, options);
|
|
158
158
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
159
159
|
},
|
|
160
160
|
}
|
|
161
161
|
};
|
|
162
162
|
|
|
163
163
|
/**
|
|
164
|
-
*
|
|
164
|
+
* ServicesCategoriesApi - factory interface
|
|
165
165
|
* @export
|
|
166
166
|
*/
|
|
167
|
-
export const
|
|
168
|
-
const localVarFp =
|
|
167
|
+
export const ServicesCategoriesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
168
|
+
const localVarFp = ServicesCategoriesApiFp(configuration)
|
|
169
169
|
return {
|
|
170
170
|
/**
|
|
171
171
|
*
|
|
@@ -178,8 +178,8 @@ export const V2ServicesCategoriesApiFactory = function (configuration?: Configur
|
|
|
178
178
|
* @param {*} [options] Override http request option.
|
|
179
179
|
* @throws {RequiredError}
|
|
180
180
|
*/
|
|
181
|
-
|
|
182
|
-
return localVarFp.
|
|
181
|
+
apiV2ServicescategoriesGet(id?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServiceCategoriesModel> {
|
|
182
|
+
return localVarFp.apiV2ServicescategoriesGet(id, name, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
183
183
|
},
|
|
184
184
|
/**
|
|
185
185
|
*
|
|
@@ -188,19 +188,19 @@ export const V2ServicesCategoriesApiFactory = function (configuration?: Configur
|
|
|
188
188
|
* @param {*} [options] Override http request option.
|
|
189
189
|
* @throws {RequiredError}
|
|
190
190
|
*/
|
|
191
|
-
|
|
192
|
-
return localVarFp.
|
|
191
|
+
apiV2ServicescategoriesServiceCategoryIdGet(serviceCategoryId: string, options?: any): AxiosPromise<ServiceCategoryModel> {
|
|
192
|
+
return localVarFp.apiV2ServicescategoriesServiceCategoryIdGet(serviceCategoryId, options).then((request) => request(axios, basePath));
|
|
193
193
|
},
|
|
194
194
|
};
|
|
195
195
|
};
|
|
196
196
|
|
|
197
197
|
/**
|
|
198
|
-
*
|
|
198
|
+
* ServicesCategoriesApi - object-oriented interface
|
|
199
199
|
* @export
|
|
200
|
-
* @class
|
|
200
|
+
* @class ServicesCategoriesApi
|
|
201
201
|
* @extends {BaseAPI}
|
|
202
202
|
*/
|
|
203
|
-
export class
|
|
203
|
+
export class ServicesCategoriesApi extends BaseAPI {
|
|
204
204
|
/**
|
|
205
205
|
*
|
|
206
206
|
* @summary Get all ServiceCategories.
|
|
@@ -211,10 +211,10 @@ export class V2ServicesCategoriesApi extends BaseAPI {
|
|
|
211
211
|
* @param {Date} [lastRetrieved]
|
|
212
212
|
* @param {*} [options] Override http request option.
|
|
213
213
|
* @throws {RequiredError}
|
|
214
|
-
* @memberof
|
|
214
|
+
* @memberof ServicesCategoriesApi
|
|
215
215
|
*/
|
|
216
|
-
public
|
|
217
|
-
return
|
|
216
|
+
public apiV2ServicescategoriesGet(id?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
217
|
+
return ServicesCategoriesApiFp(this.configuration).apiV2ServicescategoriesGet(id, name, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
218
218
|
}
|
|
219
219
|
|
|
220
220
|
/**
|
|
@@ -223,9 +223,9 @@ export class V2ServicesCategoriesApi extends BaseAPI {
|
|
|
223
223
|
* @param {string} serviceCategoryId
|
|
224
224
|
* @param {*} [options] Override http request option.
|
|
225
225
|
* @throws {RequiredError}
|
|
226
|
-
* @memberof
|
|
226
|
+
* @memberof ServicesCategoriesApi
|
|
227
227
|
*/
|
|
228
|
-
public
|
|
229
|
-
return
|
|
228
|
+
public apiV2ServicescategoriesServiceCategoryIdGet(serviceCategoryId: string, options?: AxiosRequestConfig) {
|
|
229
|
+
return ServicesCategoriesApiFp(this.configuration).apiV2ServicescategoriesServiceCategoryIdGet(serviceCategoryId, options).then((request) => request(this.axios, this.basePath));
|
|
230
230
|
}
|
|
231
231
|
}
|