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
|
@@ -25,10 +25,10 @@ import { AboutUsPageModel } from '../models';
|
|
|
25
25
|
// @ts-ignore
|
|
26
26
|
import { AboutUsPagesModel } from '../models';
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* AboutUsApi - axios parameter creator
|
|
29
29
|
* @export
|
|
30
30
|
*/
|
|
31
|
-
export const
|
|
31
|
+
export const AboutUsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32
32
|
return {
|
|
33
33
|
/**
|
|
34
34
|
*
|
|
@@ -46,8 +46,8 @@ export const V2AboutUsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
46
46
|
* @param {*} [options] Override http request option.
|
|
47
47
|
* @throws {RequiredError}
|
|
48
48
|
*/
|
|
49
|
-
|
|
50
|
-
const localVarPath = `/
|
|
49
|
+
apiV2AboutusGet: async (hospitalId?: string, hospitalName?: string, hospitalSlug?: string, name?: string, languageCode?: string, returnDefaultValue?: boolean, confirmed?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
50
|
+
const localVarPath = `/api/v2/aboutus`;
|
|
51
51
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
52
52
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
53
53
|
let baseOptions;
|
|
@@ -121,10 +121,10 @@ export const V2AboutUsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
121
121
|
* @param {*} [options] Override http request option.
|
|
122
122
|
* @throws {RequiredError}
|
|
123
123
|
*/
|
|
124
|
-
|
|
124
|
+
apiV2AboutusHospitalIdGet: async (hospitalId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
125
125
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
126
|
-
assertParamExists('
|
|
127
|
-
const localVarPath = `/
|
|
126
|
+
assertParamExists('apiV2AboutusHospitalIdGet', 'hospitalId', hospitalId)
|
|
127
|
+
const localVarPath = `/api/v2/aboutus/{hospitalId}`
|
|
128
128
|
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
129
129
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
130
130
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -165,10 +165,10 @@ export const V2AboutUsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
165
165
|
* @param {*} [options] Override http request option.
|
|
166
166
|
* @throws {RequiredError}
|
|
167
167
|
*/
|
|
168
|
-
|
|
168
|
+
apiV2AboutusSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
169
169
|
// verify required parameter 'slug' is not null or undefined
|
|
170
|
-
assertParamExists('
|
|
171
|
-
const localVarPath = `/
|
|
170
|
+
assertParamExists('apiV2AboutusSlugGet', 'slug', slug)
|
|
171
|
+
const localVarPath = `/api/v2/aboutus/{slug}`
|
|
172
172
|
.replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
|
|
173
173
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
174
174
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -204,11 +204,11 @@ export const V2AboutUsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
204
204
|
};
|
|
205
205
|
|
|
206
206
|
/**
|
|
207
|
-
*
|
|
207
|
+
* AboutUsApi - functional programming interface
|
|
208
208
|
* @export
|
|
209
209
|
*/
|
|
210
|
-
export const
|
|
211
|
-
const localVarAxiosParamCreator =
|
|
210
|
+
export const AboutUsApiFp = function(configuration?: Configuration) {
|
|
211
|
+
const localVarAxiosParamCreator = AboutUsApiAxiosParamCreator(configuration)
|
|
212
212
|
return {
|
|
213
213
|
/**
|
|
214
214
|
*
|
|
@@ -226,8 +226,8 @@ export const V2AboutUsApiFp = function(configuration?: Configuration) {
|
|
|
226
226
|
* @param {*} [options] Override http request option.
|
|
227
227
|
* @throws {RequiredError}
|
|
228
228
|
*/
|
|
229
|
-
async
|
|
230
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
229
|
+
async apiV2AboutusGet(hospitalId?: string, hospitalName?: string, hospitalSlug?: string, name?: string, languageCode?: string, returnDefaultValue?: boolean, confirmed?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AboutUsPagesModel>> {
|
|
230
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2AboutusGet(hospitalId, hospitalName, hospitalSlug, name, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options);
|
|
231
231
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
232
232
|
},
|
|
233
233
|
/**
|
|
@@ -239,8 +239,8 @@ export const V2AboutUsApiFp = function(configuration?: Configuration) {
|
|
|
239
239
|
* @param {*} [options] Override http request option.
|
|
240
240
|
* @throws {RequiredError}
|
|
241
241
|
*/
|
|
242
|
-
async
|
|
243
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
242
|
+
async apiV2AboutusHospitalIdGet(hospitalId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AboutUsPageModel>> {
|
|
243
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2AboutusHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options);
|
|
244
244
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
245
245
|
},
|
|
246
246
|
/**
|
|
@@ -252,19 +252,19 @@ export const V2AboutUsApiFp = function(configuration?: Configuration) {
|
|
|
252
252
|
* @param {*} [options] Override http request option.
|
|
253
253
|
* @throws {RequiredError}
|
|
254
254
|
*/
|
|
255
|
-
async
|
|
256
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
255
|
+
async apiV2AboutusSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AboutUsPageModel>> {
|
|
256
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2AboutusSlugGet(slug, languageCode, returnDefaultValue, options);
|
|
257
257
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
258
258
|
},
|
|
259
259
|
}
|
|
260
260
|
};
|
|
261
261
|
|
|
262
262
|
/**
|
|
263
|
-
*
|
|
263
|
+
* AboutUsApi - factory interface
|
|
264
264
|
* @export
|
|
265
265
|
*/
|
|
266
|
-
export const
|
|
267
|
-
const localVarFp =
|
|
266
|
+
export const AboutUsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
267
|
+
const localVarFp = AboutUsApiFp(configuration)
|
|
268
268
|
return {
|
|
269
269
|
/**
|
|
270
270
|
*
|
|
@@ -282,8 +282,8 @@ export const V2AboutUsApiFactory = function (configuration?: Configuration, base
|
|
|
282
282
|
* @param {*} [options] Override http request option.
|
|
283
283
|
* @throws {RequiredError}
|
|
284
284
|
*/
|
|
285
|
-
|
|
286
|
-
return localVarFp.
|
|
285
|
+
apiV2AboutusGet(hospitalId?: string, hospitalName?: string, hospitalSlug?: string, name?: string, languageCode?: string, returnDefaultValue?: boolean, confirmed?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<AboutUsPagesModel> {
|
|
286
|
+
return localVarFp.apiV2AboutusGet(hospitalId, hospitalName, hospitalSlug, name, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
287
287
|
},
|
|
288
288
|
/**
|
|
289
289
|
*
|
|
@@ -294,8 +294,8 @@ export const V2AboutUsApiFactory = function (configuration?: Configuration, base
|
|
|
294
294
|
* @param {*} [options] Override http request option.
|
|
295
295
|
* @throws {RequiredError}
|
|
296
296
|
*/
|
|
297
|
-
|
|
298
|
-
return localVarFp.
|
|
297
|
+
apiV2AboutusHospitalIdGet(hospitalId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<AboutUsPageModel> {
|
|
298
|
+
return localVarFp.apiV2AboutusHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
299
299
|
},
|
|
300
300
|
/**
|
|
301
301
|
*
|
|
@@ -306,19 +306,19 @@ export const V2AboutUsApiFactory = function (configuration?: Configuration, base
|
|
|
306
306
|
* @param {*} [options] Override http request option.
|
|
307
307
|
* @throws {RequiredError}
|
|
308
308
|
*/
|
|
309
|
-
|
|
310
|
-
return localVarFp.
|
|
309
|
+
apiV2AboutusSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<AboutUsPageModel> {
|
|
310
|
+
return localVarFp.apiV2AboutusSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
|
|
311
311
|
},
|
|
312
312
|
};
|
|
313
313
|
};
|
|
314
314
|
|
|
315
315
|
/**
|
|
316
|
-
*
|
|
316
|
+
* AboutUsApi - object-oriented interface
|
|
317
317
|
* @export
|
|
318
|
-
* @class
|
|
318
|
+
* @class AboutUsApi
|
|
319
319
|
* @extends {BaseAPI}
|
|
320
320
|
*/
|
|
321
|
-
export class
|
|
321
|
+
export class AboutUsApi extends BaseAPI {
|
|
322
322
|
/**
|
|
323
323
|
*
|
|
324
324
|
* @summary Get all AboutUsList.
|
|
@@ -334,10 +334,10 @@ export class V2AboutUsApi extends BaseAPI {
|
|
|
334
334
|
* @param {Date} [lastRetrieved]
|
|
335
335
|
* @param {*} [options] Override http request option.
|
|
336
336
|
* @throws {RequiredError}
|
|
337
|
-
* @memberof
|
|
337
|
+
* @memberof AboutUsApi
|
|
338
338
|
*/
|
|
339
|
-
public
|
|
340
|
-
return
|
|
339
|
+
public apiV2AboutusGet(hospitalId?: string, hospitalName?: string, hospitalSlug?: string, name?: string, languageCode?: string, returnDefaultValue?: boolean, confirmed?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
340
|
+
return AboutUsApiFp(this.configuration).apiV2AboutusGet(hospitalId, hospitalName, hospitalSlug, name, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
341
341
|
}
|
|
342
342
|
|
|
343
343
|
/**
|
|
@@ -348,10 +348,10 @@ export class V2AboutUsApi extends BaseAPI {
|
|
|
348
348
|
* @param {boolean} [returnDefaultValue]
|
|
349
349
|
* @param {*} [options] Override http request option.
|
|
350
350
|
* @throws {RequiredError}
|
|
351
|
-
* @memberof
|
|
351
|
+
* @memberof AboutUsApi
|
|
352
352
|
*/
|
|
353
|
-
public
|
|
354
|
-
return
|
|
353
|
+
public apiV2AboutusHospitalIdGet(hospitalId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
354
|
+
return AboutUsApiFp(this.configuration).apiV2AboutusHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
355
355
|
}
|
|
356
356
|
|
|
357
357
|
/**
|
|
@@ -362,9 +362,9 @@ export class V2AboutUsApi extends BaseAPI {
|
|
|
362
362
|
* @param {boolean} [returnDefaultValue]
|
|
363
363
|
* @param {*} [options] Override http request option.
|
|
364
364
|
* @throws {RequiredError}
|
|
365
|
-
* @memberof
|
|
365
|
+
* @memberof AboutUsApi
|
|
366
366
|
*/
|
|
367
|
-
public
|
|
368
|
-
return
|
|
367
|
+
public apiV2AboutusSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
|
|
368
|
+
return AboutUsApiFp(this.configuration).apiV2AboutusSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
|
|
369
369
|
}
|
|
370
370
|
}
|
|
@@ -25,10 +25,10 @@ import { AccreditationModel } from '../models';
|
|
|
25
25
|
// @ts-ignore
|
|
26
26
|
import { AccreditationsModel } from '../models';
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* AccreditationsApi - axios parameter creator
|
|
29
29
|
* @export
|
|
30
30
|
*/
|
|
31
|
-
export const
|
|
31
|
+
export const AccreditationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32
32
|
return {
|
|
33
33
|
/**
|
|
34
34
|
*
|
|
@@ -37,10 +37,10 @@ export const V2AccreditationsApiAxiosParamCreator = function (configuration?: Co
|
|
|
37
37
|
* @param {*} [options] Override http request option.
|
|
38
38
|
* @throws {RequiredError}
|
|
39
39
|
*/
|
|
40
|
-
|
|
40
|
+
apiV2AccreditationsAccreditationIdGet: async (accreditationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41
41
|
// verify required parameter 'accreditationId' is not null or undefined
|
|
42
|
-
assertParamExists('
|
|
43
|
-
const localVarPath = `/
|
|
42
|
+
assertParamExists('apiV2AccreditationsAccreditationIdGet', 'accreditationId', accreditationId)
|
|
43
|
+
const localVarPath = `/api/v2/accreditations/{accreditationId}`
|
|
44
44
|
.replace(`{${"accreditationId"}}`, encodeURIComponent(String(accreditationId)));
|
|
45
45
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
46
46
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -76,8 +76,8 @@ export const V2AccreditationsApiAxiosParamCreator = function (configuration?: Co
|
|
|
76
76
|
* @param {*} [options] Override http request option.
|
|
77
77
|
* @throws {RequiredError}
|
|
78
78
|
*/
|
|
79
|
-
|
|
80
|
-
const localVarPath = `/
|
|
79
|
+
apiV2AccreditationsGet: async (name?: string, logo?: string, country?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80
|
+
const localVarPath = `/api/v2/accreditations`;
|
|
81
81
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
82
82
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
83
83
|
let baseOptions;
|
|
@@ -130,11 +130,11 @@ export const V2AccreditationsApiAxiosParamCreator = function (configuration?: Co
|
|
|
130
130
|
};
|
|
131
131
|
|
|
132
132
|
/**
|
|
133
|
-
*
|
|
133
|
+
* AccreditationsApi - functional programming interface
|
|
134
134
|
* @export
|
|
135
135
|
*/
|
|
136
|
-
export const
|
|
137
|
-
const localVarAxiosParamCreator =
|
|
136
|
+
export const AccreditationsApiFp = function(configuration?: Configuration) {
|
|
137
|
+
const localVarAxiosParamCreator = AccreditationsApiAxiosParamCreator(configuration)
|
|
138
138
|
return {
|
|
139
139
|
/**
|
|
140
140
|
*
|
|
@@ -143,8 +143,8 @@ export const V2AccreditationsApiFp = function(configuration?: Configuration) {
|
|
|
143
143
|
* @param {*} [options] Override http request option.
|
|
144
144
|
* @throws {RequiredError}
|
|
145
145
|
*/
|
|
146
|
-
async
|
|
147
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
146
|
+
async apiV2AccreditationsAccreditationIdGet(accreditationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccreditationModel>> {
|
|
147
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2AccreditationsAccreditationIdGet(accreditationId, options);
|
|
148
148
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
149
149
|
},
|
|
150
150
|
/**
|
|
@@ -159,19 +159,19 @@ export const V2AccreditationsApiFp = function(configuration?: Configuration) {
|
|
|
159
159
|
* @param {*} [options] Override http request option.
|
|
160
160
|
* @throws {RequiredError}
|
|
161
161
|
*/
|
|
162
|
-
async
|
|
163
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
162
|
+
async apiV2AccreditationsGet(name?: string, logo?: string, country?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccreditationsModel>> {
|
|
163
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2AccreditationsGet(name, logo, country, page, limit, lastRetrieved, options);
|
|
164
164
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
165
165
|
},
|
|
166
166
|
}
|
|
167
167
|
};
|
|
168
168
|
|
|
169
169
|
/**
|
|
170
|
-
*
|
|
170
|
+
* AccreditationsApi - factory interface
|
|
171
171
|
* @export
|
|
172
172
|
*/
|
|
173
|
-
export const
|
|
174
|
-
const localVarFp =
|
|
173
|
+
export const AccreditationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
174
|
+
const localVarFp = AccreditationsApiFp(configuration)
|
|
175
175
|
return {
|
|
176
176
|
/**
|
|
177
177
|
*
|
|
@@ -180,8 +180,8 @@ export const V2AccreditationsApiFactory = function (configuration?: Configuratio
|
|
|
180
180
|
* @param {*} [options] Override http request option.
|
|
181
181
|
* @throws {RequiredError}
|
|
182
182
|
*/
|
|
183
|
-
|
|
184
|
-
return localVarFp.
|
|
183
|
+
apiV2AccreditationsAccreditationIdGet(accreditationId: string, options?: any): AxiosPromise<AccreditationModel> {
|
|
184
|
+
return localVarFp.apiV2AccreditationsAccreditationIdGet(accreditationId, options).then((request) => request(axios, basePath));
|
|
185
185
|
},
|
|
186
186
|
/**
|
|
187
187
|
*
|
|
@@ -195,29 +195,29 @@ export const V2AccreditationsApiFactory = function (configuration?: Configuratio
|
|
|
195
195
|
* @param {*} [options] Override http request option.
|
|
196
196
|
* @throws {RequiredError}
|
|
197
197
|
*/
|
|
198
|
-
|
|
199
|
-
return localVarFp.
|
|
198
|
+
apiV2AccreditationsGet(name?: string, logo?: string, country?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<AccreditationsModel> {
|
|
199
|
+
return localVarFp.apiV2AccreditationsGet(name, logo, country, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
200
200
|
},
|
|
201
201
|
};
|
|
202
202
|
};
|
|
203
203
|
|
|
204
204
|
/**
|
|
205
|
-
*
|
|
205
|
+
* AccreditationsApi - object-oriented interface
|
|
206
206
|
* @export
|
|
207
|
-
* @class
|
|
207
|
+
* @class AccreditationsApi
|
|
208
208
|
* @extends {BaseAPI}
|
|
209
209
|
*/
|
|
210
|
-
export class
|
|
210
|
+
export class AccreditationsApi extends BaseAPI {
|
|
211
211
|
/**
|
|
212
212
|
*
|
|
213
213
|
* @summary Get Accreditation.
|
|
214
214
|
* @param {string} accreditationId
|
|
215
215
|
* @param {*} [options] Override http request option.
|
|
216
216
|
* @throws {RequiredError}
|
|
217
|
-
* @memberof
|
|
217
|
+
* @memberof AccreditationsApi
|
|
218
218
|
*/
|
|
219
|
-
public
|
|
220
|
-
return
|
|
219
|
+
public apiV2AccreditationsAccreditationIdGet(accreditationId: string, options?: AxiosRequestConfig) {
|
|
220
|
+
return AccreditationsApiFp(this.configuration).apiV2AccreditationsAccreditationIdGet(accreditationId, options).then((request) => request(this.axios, this.basePath));
|
|
221
221
|
}
|
|
222
222
|
|
|
223
223
|
/**
|
|
@@ -231,9 +231,9 @@ export class V2AccreditationsApi extends BaseAPI {
|
|
|
231
231
|
* @param {Date} [lastRetrieved]
|
|
232
232
|
* @param {*} [options] Override http request option.
|
|
233
233
|
* @throws {RequiredError}
|
|
234
|
-
* @memberof
|
|
234
|
+
* @memberof AccreditationsApi
|
|
235
235
|
*/
|
|
236
|
-
public
|
|
237
|
-
return
|
|
236
|
+
public apiV2AccreditationsGet(name?: string, logo?: string, country?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
237
|
+
return AccreditationsApiFp(this.configuration).apiV2AccreditationsGet(name, logo, country, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
238
238
|
}
|
|
239
239
|
}
|
|
@@ -25,10 +25,10 @@ import { AppVersionModel } from '../models';
|
|
|
25
25
|
// @ts-ignore
|
|
26
26
|
import { Platform } from '../models';
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* AppVersionApi - axios parameter creator
|
|
29
29
|
* @export
|
|
30
30
|
*/
|
|
31
|
-
export const
|
|
31
|
+
export const AppVersionApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32
32
|
return {
|
|
33
33
|
/**
|
|
34
34
|
*
|
|
@@ -36,10 +36,10 @@ export const V2AppVersionApiAxiosParamCreator = function (configuration?: Config
|
|
|
36
36
|
* @param {*} [options] Override http request option.
|
|
37
37
|
* @throws {RequiredError}
|
|
38
38
|
*/
|
|
39
|
-
|
|
39
|
+
apiV2AppversionPlatformGet: async (platform: Platform, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
40
40
|
// verify required parameter 'platform' is not null or undefined
|
|
41
|
-
assertParamExists('
|
|
42
|
-
const localVarPath = `/
|
|
41
|
+
assertParamExists('apiV2AppversionPlatformGet', 'platform', platform)
|
|
42
|
+
const localVarPath = `/api/v2/appversion/{platform}`
|
|
43
43
|
.replace(`{${"platform"}}`, encodeURIComponent(String(platform)));
|
|
44
44
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
45
45
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -67,11 +67,11 @@ export const V2AppVersionApiAxiosParamCreator = function (configuration?: Config
|
|
|
67
67
|
};
|
|
68
68
|
|
|
69
69
|
/**
|
|
70
|
-
*
|
|
70
|
+
* AppVersionApi - functional programming interface
|
|
71
71
|
* @export
|
|
72
72
|
*/
|
|
73
|
-
export const
|
|
74
|
-
const localVarAxiosParamCreator =
|
|
73
|
+
export const AppVersionApiFp = function(configuration?: Configuration) {
|
|
74
|
+
const localVarAxiosParamCreator = AppVersionApiAxiosParamCreator(configuration)
|
|
75
75
|
return {
|
|
76
76
|
/**
|
|
77
77
|
*
|
|
@@ -79,19 +79,19 @@ export const V2AppVersionApiFp = function(configuration?: Configuration) {
|
|
|
79
79
|
* @param {*} [options] Override http request option.
|
|
80
80
|
* @throws {RequiredError}
|
|
81
81
|
*/
|
|
82
|
-
async
|
|
83
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
82
|
+
async apiV2AppversionPlatformGet(platform: Platform, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppVersionModel>> {
|
|
83
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2AppversionPlatformGet(platform, options);
|
|
84
84
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
85
85
|
},
|
|
86
86
|
}
|
|
87
87
|
};
|
|
88
88
|
|
|
89
89
|
/**
|
|
90
|
-
*
|
|
90
|
+
* AppVersionApi - factory interface
|
|
91
91
|
* @export
|
|
92
92
|
*/
|
|
93
|
-
export const
|
|
94
|
-
const localVarFp =
|
|
93
|
+
export const AppVersionApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
94
|
+
const localVarFp = AppVersionApiFp(configuration)
|
|
95
95
|
return {
|
|
96
96
|
/**
|
|
97
97
|
*
|
|
@@ -99,27 +99,27 @@ export const V2AppVersionApiFactory = function (configuration?: Configuration, b
|
|
|
99
99
|
* @param {*} [options] Override http request option.
|
|
100
100
|
* @throws {RequiredError}
|
|
101
101
|
*/
|
|
102
|
-
|
|
103
|
-
return localVarFp.
|
|
102
|
+
apiV2AppversionPlatformGet(platform: Platform, options?: any): AxiosPromise<AppVersionModel> {
|
|
103
|
+
return localVarFp.apiV2AppversionPlatformGet(platform, options).then((request) => request(axios, basePath));
|
|
104
104
|
},
|
|
105
105
|
};
|
|
106
106
|
};
|
|
107
107
|
|
|
108
108
|
/**
|
|
109
|
-
*
|
|
109
|
+
* AppVersionApi - object-oriented interface
|
|
110
110
|
* @export
|
|
111
|
-
* @class
|
|
111
|
+
* @class AppVersionApi
|
|
112
112
|
* @extends {BaseAPI}
|
|
113
113
|
*/
|
|
114
|
-
export class
|
|
114
|
+
export class AppVersionApi extends BaseAPI {
|
|
115
115
|
/**
|
|
116
116
|
*
|
|
117
117
|
* @param {Platform} platform
|
|
118
118
|
* @param {*} [options] Override http request option.
|
|
119
119
|
* @throws {RequiredError}
|
|
120
|
-
* @memberof
|
|
120
|
+
* @memberof AppVersionApi
|
|
121
121
|
*/
|
|
122
|
-
public
|
|
123
|
-
return
|
|
122
|
+
public apiV2AppversionPlatformGet(platform: Platform, options?: AxiosRequestConfig) {
|
|
123
|
+
return AppVersionApiFp(this.configuration).apiV2AppversionPlatformGet(platform, options).then((request) => request(this.axios, this.basePath));
|
|
124
124
|
}
|
|
125
125
|
}
|