ch-api-client-typescript2 4.9.7 → 4.9.9
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/about-us-api.d.ts +123 -19
- package/lib/api/about-us-api.d.ts.map +1 -1
- package/lib/api/about-us-api.js +10 -22
- package/lib/api/accreditations-api.d.ts +60 -9
- package/lib/api/accreditations-api.d.ts.map +1 -1
- package/lib/api/accreditations-api.js +7 -11
- package/lib/api/app-version-api.d.ts +15 -2
- package/lib/api/app-version-api.d.ts.map +1 -1
- package/lib/api/app-version-api.js +3 -3
- package/lib/api/appointments-api.d.ts +201 -31
- package/lib/api/appointments-api.d.ts.map +1 -1
- package/lib/api/appointments-api.js +16 -36
- package/lib/api/articles-api.d.ts +453 -70
- package/lib/api/articles-api.d.ts.map +1 -1
- package/lib/api/articles-api.js +34 -81
- package/lib/api/bookings-api.d.ts +183 -28
- package/lib/api/bookings-api.d.ts.map +1 -1
- package/lib/api/bookings-api.js +16 -33
- package/lib/api/chat-users-api.d.ts +84 -12
- package/lib/api/chat-users-api.d.ts.map +1 -1
- package/lib/api/chat-users-api.js +15 -16
- package/lib/api/consultations-api.d.ts +171 -26
- package/lib/api/consultations-api.d.ts.map +1 -1
- package/lib/api/consultations-api.js +16 -31
- package/lib/api/contributors-api.d.ts +213 -33
- package/lib/api/contributors-api.d.ts.map +1 -1
- package/lib/api/contributors-api.js +16 -38
- package/lib/api/countries-api.d.ts +189 -29
- package/lib/api/countries-api.d.ts.map +1 -1
- package/lib/api/countries-api.js +16 -34
- package/lib/api/deals-api.d.ts +630 -103
- package/lib/api/deals-api.d.ts.map +1 -1
- package/lib/api/deals-api.js +65 -119
- package/lib/api/devices-api.d.ts +150 -22
- package/lib/api/devices-api.d.ts.map +1 -1
- package/lib/api/devices-api.js +20 -28
- package/lib/api/doctor-affiliations-api.d.ts +252 -40
- package/lib/api/doctor-affiliations-api.d.ts.map +1 -1
- package/lib/api/doctor-affiliations-api.js +30 -48
- package/lib/api/doctors-api.d.ts +675 -105
- package/lib/api/doctors-api.d.ts.map +1 -1
- package/lib/api/doctors-api.js +47 -120
- package/lib/api/faq-categories-api.d.ts +117 -18
- package/lib/api/faq-categories-api.d.ts.map +1 -1
- package/lib/api/faq-categories-api.js +10 -21
- package/lib/api/faqs-api.d.ts +249 -38
- package/lib/api/faqs-api.d.ts.map +1 -1
- package/lib/api/faqs-api.js +22 -45
- package/lib/api/group-channels-api.d.ts +117 -17
- package/lib/api/group-channels-api.d.ts.map +1 -1
- package/lib/api/group-channels-api.js +15 -22
- package/lib/api/header-navigations-api.d.ts +15 -2
- package/lib/api/header-navigations-api.d.ts.map +1 -1
- package/lib/api/header-navigations-api.js +3 -3
- package/lib/api/hospitals-api.d.ts +1695 -270
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +162 -315
- package/lib/api/hospitals-consultation-timetables-api.d.ts +39 -6
- package/lib/api/hospitals-consultation-timetables-api.d.ts.map +1 -1
- package/lib/api/hospitals-consultation-timetables-api.js +3 -7
- package/lib/api/images-api.d.ts +15 -2
- package/lib/api/images-api.d.ts.map +1 -1
- package/lib/api/images-api.js +4 -3
- package/lib/api/languages-api.d.ts +66 -10
- package/lib/api/languages-api.d.ts.map +1 -1
- package/lib/api/languages-api.js +7 -12
- package/lib/api/memberships-api.d.ts +111 -17
- package/lib/api/memberships-api.d.ts.map +1 -1
- package/lib/api/memberships-api.js +10 -20
- package/lib/api/notifications-api.d.ts +54 -8
- package/lib/api/notifications-api.d.ts.map +1 -1
- package/lib/api/notifications-api.js +8 -10
- package/lib/api/origins-api.d.ts +45 -6
- package/lib/api/origins-api.d.ts.map +1 -1
- package/lib/api/origins-api.js +11 -9
- package/lib/api/patients-api.d.ts +96 -13
- package/lib/api/patients-api.d.ts.map +1 -1
- package/lib/api/patients-api.js +19 -19
- package/lib/api/plans-api.d.ts +108 -16
- package/lib/api/plans-api.d.ts.map +1 -1
- package/lib/api/plans-api.js +13 -20
- package/lib/api/profiles-api.d.ts +75 -10
- package/lib/api/profiles-api.d.ts.map +1 -1
- package/lib/api/profiles-api.js +19 -15
- package/lib/api/service-reviews-api.d.ts +312 -47
- package/lib/api/service-reviews-api.d.ts.map +1 -1
- package/lib/api/service-reviews-api.js +32 -57
- package/lib/api/services-api.d.ts +189 -31
- package/lib/api/services-api.d.ts.map +1 -1
- package/lib/api/services-api.js +21 -36
- package/lib/api/services-categories-api.d.ts +54 -8
- package/lib/api/services-categories-api.d.ts.map +1 -1
- package/lib/api/services-categories-api.js +7 -10
- package/lib/api/specialties-api.d.ts +294 -46
- package/lib/api/specialties-api.d.ts.map +1 -1
- package/lib/api/specialties-api.js +20 -52
- package/lib/api/specialty-types-api.d.ts +306 -48
- package/lib/api/specialty-types-api.d.ts.map +1 -1
- package/lib/api/specialty-types-api.js +20 -54
- package/lib/api/survey-forms-api.d.ts +21 -3
- package/lib/api/survey-forms-api.d.ts.map +1 -1
- package/lib/api/survey-forms-api.js +3 -4
- package/lib/api/survey-results-api.d.ts +15 -2
- package/lib/api/survey-results-api.d.ts.map +1 -1
- package/lib/api/survey-results-api.js +4 -3
- package/lib/api/tags-api.d.ts +54 -8
- package/lib/api/tags-api.d.ts.map +1 -1
- package/lib/api/tags-api.js +7 -10
- package/package.json +2 -2
- package/src/api/about-us-api.ts +142 -22
- package/src/api/accreditations-api.ts +69 -11
- package/src/api/app-version-api.ts +17 -3
- package/src/api/appointments-api.ts +232 -36
- package/src/api/articles-api.ts +523 -81
- package/src/api/bookings-api.ts +211 -33
- package/src/api/chat-users-api.ts +96 -16
- package/src/api/consultations-api.ts +197 -31
- package/src/api/contributors-api.ts +246 -38
- package/src/api/countries-api.ts +218 -34
- package/src/api/deals-api.ts +745 -119
- package/src/api/devices-api.ts +172 -28
- package/src/api/doctor-affiliations-api.ts +296 -48
- package/src/api/doctors-api.ts +780 -120
- package/src/api/faq-categories-api.ts +135 -21
- package/src/api/faqs-api.ts +287 -45
- package/src/api/group-channels-api.ts +134 -22
- package/src/api/header-navigations-api.ts +17 -3
- package/src/api/hospitals-api.ts +1985 -315
- package/src/api/hospitals-consultation-timetables-api.ts +45 -7
- package/src/api/images-api.ts +17 -3
- package/src/api/languages-api.ts +76 -12
- package/src/api/memberships-api.ts +128 -20
- package/src/api/notifications-api.ts +62 -10
- package/src/api/origins-api.ts +51 -9
- package/src/api/patients-api.ts +109 -19
- package/src/api/plans-api.ts +124 -20
- package/src/api/profiles-api.ts +85 -15
- package/src/api/service-reviews-api.ts +359 -57
- package/src/api/services-api.ts +224 -36
- package/src/api/services-categories-api.ts +62 -10
- package/src/api/specialties-api.ts +340 -52
- package/src/api/specialty-types-api.ts +354 -54
- package/src/api/survey-forms-api.ts +24 -4
- package/src/api/survey-results-api.ts +17 -3
- package/src/api/tags-api.ts +62 -10
|
@@ -35,6 +35,7 @@ export declare const ServicesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
35
35
|
* @param {string} [specialtyTypeId]
|
|
36
36
|
* @param {string} [specialtyTypeName]
|
|
37
37
|
* @param {string} [serviceCategoryId]
|
|
38
|
+
* @param {boolean} [appointmentEnabled]
|
|
38
39
|
* @param {MarketingType} [marketingType]
|
|
39
40
|
* @param {Procedure} [procedure]
|
|
40
41
|
* @param {Date} [created]
|
|
@@ -46,7 +47,7 @@ export declare const ServicesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
46
47
|
* @param {*} [options] Override http request option.
|
|
47
48
|
* @throws {RequiredError}
|
|
48
49
|
*/
|
|
49
|
-
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<RequestArgs>;
|
|
50
|
+
apiV2ServicesGet: (id?: string, name?: string, slug?: string, hospitalId?: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, appointmentEnabled?: boolean, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
50
51
|
/**
|
|
51
52
|
*
|
|
52
53
|
* @summary
|
|
@@ -87,6 +88,7 @@ export declare const ServicesApiFp: (configuration?: Configuration) => {
|
|
|
87
88
|
* @param {string} [specialtyTypeId]
|
|
88
89
|
* @param {string} [specialtyTypeName]
|
|
89
90
|
* @param {string} [serviceCategoryId]
|
|
91
|
+
* @param {boolean} [appointmentEnabled]
|
|
90
92
|
* @param {MarketingType} [marketingType]
|
|
91
93
|
* @param {Procedure} [procedure]
|
|
92
94
|
* @param {Date} [created]
|
|
@@ -98,7 +100,7 @@ export declare const ServicesApiFp: (configuration?: Configuration) => {
|
|
|
98
100
|
* @param {*} [options] Override http request option.
|
|
99
101
|
* @throws {RequiredError}
|
|
100
102
|
*/
|
|
101
|
-
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>>;
|
|
103
|
+
apiV2ServicesGet(id?: string, name?: string, slug?: string, hospitalId?: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, appointmentEnabled?: boolean, 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>>;
|
|
102
104
|
/**
|
|
103
105
|
*
|
|
104
106
|
* @summary
|
|
@@ -139,6 +141,7 @@ export declare const ServicesApiFactory: (configuration?: Configuration, basePat
|
|
|
139
141
|
* @param {string} [specialtyTypeId]
|
|
140
142
|
* @param {string} [specialtyTypeName]
|
|
141
143
|
* @param {string} [serviceCategoryId]
|
|
144
|
+
* @param {boolean} [appointmentEnabled]
|
|
142
145
|
* @param {MarketingType} [marketingType]
|
|
143
146
|
* @param {Procedure} [procedure]
|
|
144
147
|
* @param {Date} [created]
|
|
@@ -150,7 +153,7 @@ export declare const ServicesApiFactory: (configuration?: Configuration, basePat
|
|
|
150
153
|
* @param {*} [options] Override http request option.
|
|
151
154
|
* @throws {RequiredError}
|
|
152
155
|
*/
|
|
153
|
-
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>;
|
|
156
|
+
apiV2ServicesGet(id?: string, name?: string, slug?: string, hospitalId?: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, appointmentEnabled?: boolean, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalServicesModel>;
|
|
154
157
|
/**
|
|
155
158
|
*
|
|
156
159
|
* @summary
|
|
@@ -172,6 +175,183 @@ export declare const ServicesApiFactory: (configuration?: Configuration, basePat
|
|
|
172
175
|
*/
|
|
173
176
|
apiV2ServicesSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<HospitalServiceModel>;
|
|
174
177
|
};
|
|
178
|
+
/**
|
|
179
|
+
* Request parameters for apiV2ServicesGet operation in ServicesApi.
|
|
180
|
+
* @export
|
|
181
|
+
* @interface ServicesApiApiV2ServicesGetRequest
|
|
182
|
+
*/
|
|
183
|
+
export interface ServicesApiApiV2ServicesGetRequest {
|
|
184
|
+
/**
|
|
185
|
+
*
|
|
186
|
+
* @type {string}
|
|
187
|
+
* @memberof ServicesApiApiV2ServicesGet
|
|
188
|
+
*/
|
|
189
|
+
readonly id?: string;
|
|
190
|
+
/**
|
|
191
|
+
*
|
|
192
|
+
* @type {string}
|
|
193
|
+
* @memberof ServicesApiApiV2ServicesGet
|
|
194
|
+
*/
|
|
195
|
+
readonly name?: string;
|
|
196
|
+
/**
|
|
197
|
+
*
|
|
198
|
+
* @type {string}
|
|
199
|
+
* @memberof ServicesApiApiV2ServicesGet
|
|
200
|
+
*/
|
|
201
|
+
readonly slug?: string;
|
|
202
|
+
/**
|
|
203
|
+
*
|
|
204
|
+
* @type {string}
|
|
205
|
+
* @memberof ServicesApiApiV2ServicesGet
|
|
206
|
+
*/
|
|
207
|
+
readonly hospitalId?: string;
|
|
208
|
+
/**
|
|
209
|
+
*
|
|
210
|
+
* @type {string}
|
|
211
|
+
* @memberof ServicesApiApiV2ServicesGet
|
|
212
|
+
*/
|
|
213
|
+
readonly hospitalName?: string;
|
|
214
|
+
/**
|
|
215
|
+
*
|
|
216
|
+
* @type {string}
|
|
217
|
+
* @memberof ServicesApiApiV2ServicesGet
|
|
218
|
+
*/
|
|
219
|
+
readonly hospitalSlug?: string;
|
|
220
|
+
/**
|
|
221
|
+
*
|
|
222
|
+
* @type {string}
|
|
223
|
+
* @memberof ServicesApiApiV2ServicesGet
|
|
224
|
+
*/
|
|
225
|
+
readonly specialtyId?: string;
|
|
226
|
+
/**
|
|
227
|
+
*
|
|
228
|
+
* @type {string}
|
|
229
|
+
* @memberof ServicesApiApiV2ServicesGet
|
|
230
|
+
*/
|
|
231
|
+
readonly specialtyName?: string;
|
|
232
|
+
/**
|
|
233
|
+
*
|
|
234
|
+
* @type {string}
|
|
235
|
+
* @memberof ServicesApiApiV2ServicesGet
|
|
236
|
+
*/
|
|
237
|
+
readonly specialtyTypeId?: string;
|
|
238
|
+
/**
|
|
239
|
+
*
|
|
240
|
+
* @type {string}
|
|
241
|
+
* @memberof ServicesApiApiV2ServicesGet
|
|
242
|
+
*/
|
|
243
|
+
readonly specialtyTypeName?: string;
|
|
244
|
+
/**
|
|
245
|
+
*
|
|
246
|
+
* @type {string}
|
|
247
|
+
* @memberof ServicesApiApiV2ServicesGet
|
|
248
|
+
*/
|
|
249
|
+
readonly serviceCategoryId?: string;
|
|
250
|
+
/**
|
|
251
|
+
*
|
|
252
|
+
* @type {boolean}
|
|
253
|
+
* @memberof ServicesApiApiV2ServicesGet
|
|
254
|
+
*/
|
|
255
|
+
readonly appointmentEnabled?: boolean;
|
|
256
|
+
/**
|
|
257
|
+
*
|
|
258
|
+
* @type {MarketingType}
|
|
259
|
+
* @memberof ServicesApiApiV2ServicesGet
|
|
260
|
+
*/
|
|
261
|
+
readonly marketingType?: MarketingType;
|
|
262
|
+
/**
|
|
263
|
+
*
|
|
264
|
+
* @type {Procedure}
|
|
265
|
+
* @memberof ServicesApiApiV2ServicesGet
|
|
266
|
+
*/
|
|
267
|
+
readonly procedure?: Procedure;
|
|
268
|
+
/**
|
|
269
|
+
*
|
|
270
|
+
* @type {Date}
|
|
271
|
+
* @memberof ServicesApiApiV2ServicesGet
|
|
272
|
+
*/
|
|
273
|
+
readonly created?: Date;
|
|
274
|
+
/**
|
|
275
|
+
*
|
|
276
|
+
* @type {string}
|
|
277
|
+
* @memberof ServicesApiApiV2ServicesGet
|
|
278
|
+
*/
|
|
279
|
+
readonly languageCode?: string;
|
|
280
|
+
/**
|
|
281
|
+
*
|
|
282
|
+
* @type {boolean}
|
|
283
|
+
* @memberof ServicesApiApiV2ServicesGet
|
|
284
|
+
*/
|
|
285
|
+
readonly returnDefaultValue?: boolean;
|
|
286
|
+
/**
|
|
287
|
+
*
|
|
288
|
+
* @type {number}
|
|
289
|
+
* @memberof ServicesApiApiV2ServicesGet
|
|
290
|
+
*/
|
|
291
|
+
readonly page?: number;
|
|
292
|
+
/**
|
|
293
|
+
*
|
|
294
|
+
* @type {number}
|
|
295
|
+
* @memberof ServicesApiApiV2ServicesGet
|
|
296
|
+
*/
|
|
297
|
+
readonly limit?: number;
|
|
298
|
+
/**
|
|
299
|
+
*
|
|
300
|
+
* @type {Date}
|
|
301
|
+
* @memberof ServicesApiApiV2ServicesGet
|
|
302
|
+
*/
|
|
303
|
+
readonly lastRetrieved?: Date;
|
|
304
|
+
}
|
|
305
|
+
/**
|
|
306
|
+
* Request parameters for apiV2ServicesServiceIdGet operation in ServicesApi.
|
|
307
|
+
* @export
|
|
308
|
+
* @interface ServicesApiApiV2ServicesServiceIdGetRequest
|
|
309
|
+
*/
|
|
310
|
+
export interface ServicesApiApiV2ServicesServiceIdGetRequest {
|
|
311
|
+
/**
|
|
312
|
+
*
|
|
313
|
+
* @type {string}
|
|
314
|
+
* @memberof ServicesApiApiV2ServicesServiceIdGet
|
|
315
|
+
*/
|
|
316
|
+
readonly serviceId: string;
|
|
317
|
+
/**
|
|
318
|
+
*
|
|
319
|
+
* @type {string}
|
|
320
|
+
* @memberof ServicesApiApiV2ServicesServiceIdGet
|
|
321
|
+
*/
|
|
322
|
+
readonly languageCode?: string;
|
|
323
|
+
/**
|
|
324
|
+
*
|
|
325
|
+
* @type {boolean}
|
|
326
|
+
* @memberof ServicesApiApiV2ServicesServiceIdGet
|
|
327
|
+
*/
|
|
328
|
+
readonly returnDefaultValue?: boolean;
|
|
329
|
+
}
|
|
330
|
+
/**
|
|
331
|
+
* Request parameters for apiV2ServicesSlugGet operation in ServicesApi.
|
|
332
|
+
* @export
|
|
333
|
+
* @interface ServicesApiApiV2ServicesSlugGetRequest
|
|
334
|
+
*/
|
|
335
|
+
export interface ServicesApiApiV2ServicesSlugGetRequest {
|
|
336
|
+
/**
|
|
337
|
+
*
|
|
338
|
+
* @type {string}
|
|
339
|
+
* @memberof ServicesApiApiV2ServicesSlugGet
|
|
340
|
+
*/
|
|
341
|
+
readonly slug: string;
|
|
342
|
+
/**
|
|
343
|
+
*
|
|
344
|
+
* @type {string}
|
|
345
|
+
* @memberof ServicesApiApiV2ServicesSlugGet
|
|
346
|
+
*/
|
|
347
|
+
readonly languageCode?: string;
|
|
348
|
+
/**
|
|
349
|
+
*
|
|
350
|
+
* @type {boolean}
|
|
351
|
+
* @memberof ServicesApiApiV2ServicesSlugGet
|
|
352
|
+
*/
|
|
353
|
+
readonly returnDefaultValue?: boolean;
|
|
354
|
+
}
|
|
175
355
|
/**
|
|
176
356
|
* ServicesApi - object-oriented interface
|
|
177
357
|
* @export
|
|
@@ -182,51 +362,29 @@ export declare class ServicesApi extends BaseAPI {
|
|
|
182
362
|
/**
|
|
183
363
|
*
|
|
184
364
|
* @summary Get all HospitalServices.
|
|
185
|
-
* @param {
|
|
186
|
-
* @param {string} [name]
|
|
187
|
-
* @param {string} [slug]
|
|
188
|
-
* @param {string} [hospitalId]
|
|
189
|
-
* @param {string} [hospitalName]
|
|
190
|
-
* @param {string} [hospitalSlug]
|
|
191
|
-
* @param {string} [specialtyId]
|
|
192
|
-
* @param {string} [specialtyName]
|
|
193
|
-
* @param {string} [specialtyTypeId]
|
|
194
|
-
* @param {string} [specialtyTypeName]
|
|
195
|
-
* @param {string} [serviceCategoryId]
|
|
196
|
-
* @param {MarketingType} [marketingType]
|
|
197
|
-
* @param {Procedure} [procedure]
|
|
198
|
-
* @param {Date} [created]
|
|
199
|
-
* @param {string} [languageCode]
|
|
200
|
-
* @param {boolean} [returnDefaultValue]
|
|
201
|
-
* @param {number} [page]
|
|
202
|
-
* @param {number} [limit]
|
|
203
|
-
* @param {Date} [lastRetrieved]
|
|
365
|
+
* @param {ServicesApiApiV2ServicesGetRequest} requestParameters Request parameters.
|
|
204
366
|
* @param {*} [options] Override http request option.
|
|
205
367
|
* @throws {RequiredError}
|
|
206
368
|
* @memberof ServicesApi
|
|
207
369
|
*/
|
|
208
|
-
apiV2ServicesGet(
|
|
370
|
+
apiV2ServicesGet(requestParameters?: ServicesApiApiV2ServicesGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HospitalServicesModel, any>>;
|
|
209
371
|
/**
|
|
210
372
|
*
|
|
211
373
|
* @summary
|
|
212
|
-
* @param {
|
|
213
|
-
* @param {string} [languageCode]
|
|
214
|
-
* @param {boolean} [returnDefaultValue]
|
|
374
|
+
* @param {ServicesApiApiV2ServicesServiceIdGetRequest} requestParameters Request parameters.
|
|
215
375
|
* @param {*} [options] Override http request option.
|
|
216
376
|
* @throws {RequiredError}
|
|
217
377
|
* @memberof ServicesApi
|
|
218
378
|
*/
|
|
219
|
-
apiV2ServicesServiceIdGet(
|
|
379
|
+
apiV2ServicesServiceIdGet(requestParameters: ServicesApiApiV2ServicesServiceIdGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HospitalServiceModel, any>>;
|
|
220
380
|
/**
|
|
221
381
|
*
|
|
222
382
|
* @summary
|
|
223
|
-
* @param {
|
|
224
|
-
* @param {string} [languageCode]
|
|
225
|
-
* @param {boolean} [returnDefaultValue]
|
|
383
|
+
* @param {ServicesApiApiV2ServicesSlugGetRequest} requestParameters Request parameters.
|
|
226
384
|
* @param {*} [options] Override http request option.
|
|
227
385
|
* @throws {RequiredError}
|
|
228
386
|
* @memberof ServicesApi
|
|
229
387
|
*/
|
|
230
|
-
apiV2ServicesSlugGet(
|
|
388
|
+
apiV2ServicesSlugGet(requestParameters: ServicesApiApiV2ServicesSlugGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HospitalServiceModel, any>>;
|
|
231
389
|
}
|
|
232
390
|
//# sourceMappingURL=services-api.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"services-api.d.ts","sourceRoot":"","sources":["../../src/api/services-api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAoB,EAAE,YAAY,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AACrF,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKjD,OAAO,EAAiC,WAAW,EAAE,OAAO,EAAiB,MAAM,SAAS,CAAC;AAE7F,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEjD,OAAO,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAElD,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAE1C,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC;;;GAGG;AACH,eAAO,MAAM,4BAA4B,mBAA6B,aAAa;IAE3E
|
|
1
|
+
{"version":3,"file":"services-api.d.ts","sourceRoot":"","sources":["../../src/api/services-api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAoB,EAAE,YAAY,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AACrF,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKjD,OAAO,EAAiC,WAAW,EAAE,OAAO,EAAiB,MAAM,SAAS,CAAC;AAE7F,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEjD,OAAO,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAElD,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAE1C,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC;;;GAGG;AACH,eAAO,MAAM,4BAA4B,mBAA6B,aAAa;IAE3E;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;4BAC2B,MAAM,SAAS,MAAM,SAAS,MAAM,eAAe,MAAM,iBAAiB,MAAM,iBAAiB,M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AAO;IACpC;;;;;;;OAOG;IACI,gBAAgB,CAAC,iBAAiB,GAAE,kCAAuC,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAIhH;;;;;;;OAOG;IACI,yBAAyB,CAAC,iBAAiB,EAAE,2CAA2C,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAI7H;;;;;;;OAOG;IACI,oBAAoB,CAAC,iBAAiB,EAAE,sCAAsC,EAAE,OAAO,CAAC,EAAE,kBAAkB;CAGtH"}
|
package/lib/api/services-api.js
CHANGED
|
@@ -106,6 +106,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
106
106
|
* @param {string} [specialtyTypeId]
|
|
107
107
|
* @param {string} [specialtyTypeName]
|
|
108
108
|
* @param {string} [serviceCategoryId]
|
|
109
|
+
* @param {boolean} [appointmentEnabled]
|
|
109
110
|
* @param {MarketingType} [marketingType]
|
|
110
111
|
* @param {Procedure} [procedure]
|
|
111
112
|
* @param {Date} [created]
|
|
@@ -117,7 +118,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
117
118
|
* @param {*} [options] Override http request option.
|
|
118
119
|
* @throws {RequiredError}
|
|
119
120
|
*/
|
|
120
|
-
apiV2ServicesGet: function (id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
121
|
+
apiV2ServicesGet: function (id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, appointmentEnabled, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
121
122
|
if (options === void 0) { options = {}; }
|
|
122
123
|
return __awaiter(_this, void 0, void 0, function () {
|
|
123
124
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -163,6 +164,9 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
163
164
|
if (serviceCategoryId !== undefined) {
|
|
164
165
|
localVarQueryParameter['ServiceCategoryId'] = serviceCategoryId;
|
|
165
166
|
}
|
|
167
|
+
if (appointmentEnabled !== undefined) {
|
|
168
|
+
localVarQueryParameter['AppointmentEnabled'] = appointmentEnabled;
|
|
169
|
+
}
|
|
166
170
|
if (marketingType !== undefined) {
|
|
167
171
|
localVarQueryParameter['MarketingType'] = marketingType;
|
|
168
172
|
}
|
|
@@ -307,6 +311,7 @@ var ServicesApiFp = function (configuration) {
|
|
|
307
311
|
* @param {string} [specialtyTypeId]
|
|
308
312
|
* @param {string} [specialtyTypeName]
|
|
309
313
|
* @param {string} [serviceCategoryId]
|
|
314
|
+
* @param {boolean} [appointmentEnabled]
|
|
310
315
|
* @param {MarketingType} [marketingType]
|
|
311
316
|
* @param {Procedure} [procedure]
|
|
312
317
|
* @param {Date} [created]
|
|
@@ -318,12 +323,12 @@ var ServicesApiFp = function (configuration) {
|
|
|
318
323
|
* @param {*} [options] Override http request option.
|
|
319
324
|
* @throws {RequiredError}
|
|
320
325
|
*/
|
|
321
|
-
apiV2ServicesGet: function (id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
326
|
+
apiV2ServicesGet: function (id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, appointmentEnabled, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
322
327
|
return __awaiter(this, void 0, void 0, function () {
|
|
323
328
|
var localVarAxiosArgs;
|
|
324
329
|
return __generator(this, function (_a) {
|
|
325
330
|
switch (_a.label) {
|
|
326
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicesGet(id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
331
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ServicesGet(id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, appointmentEnabled, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
327
332
|
case 1:
|
|
328
333
|
localVarAxiosArgs = _a.sent();
|
|
329
334
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -399,6 +404,7 @@ var ServicesApiFactory = function (configuration, basePath, axios) {
|
|
|
399
404
|
* @param {string} [specialtyTypeId]
|
|
400
405
|
* @param {string} [specialtyTypeName]
|
|
401
406
|
* @param {string} [serviceCategoryId]
|
|
407
|
+
* @param {boolean} [appointmentEnabled]
|
|
402
408
|
* @param {MarketingType} [marketingType]
|
|
403
409
|
* @param {Procedure} [procedure]
|
|
404
410
|
* @param {Date} [created]
|
|
@@ -410,8 +416,8 @@ var ServicesApiFactory = function (configuration, basePath, axios) {
|
|
|
410
416
|
* @param {*} [options] Override http request option.
|
|
411
417
|
* @throws {RequiredError}
|
|
412
418
|
*/
|
|
413
|
-
apiV2ServicesGet: function (id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
414
|
-
return localVarFp.apiV2ServicesGet(id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
419
|
+
apiV2ServicesGet: function (id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, appointmentEnabled, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
420
|
+
return localVarFp.apiV2ServicesGet(id, name, slug, hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, appointmentEnabled, marketingType, procedure, created, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
415
421
|
},
|
|
416
422
|
/**
|
|
417
423
|
*
|
|
@@ -454,60 +460,39 @@ var ServicesApi = /** @class */ (function (_super) {
|
|
|
454
460
|
/**
|
|
455
461
|
*
|
|
456
462
|
* @summary Get all HospitalServices.
|
|
457
|
-
* @param {
|
|
458
|
-
* @param {string} [name]
|
|
459
|
-
* @param {string} [slug]
|
|
460
|
-
* @param {string} [hospitalId]
|
|
461
|
-
* @param {string} [hospitalName]
|
|
462
|
-
* @param {string} [hospitalSlug]
|
|
463
|
-
* @param {string} [specialtyId]
|
|
464
|
-
* @param {string} [specialtyName]
|
|
465
|
-
* @param {string} [specialtyTypeId]
|
|
466
|
-
* @param {string} [specialtyTypeName]
|
|
467
|
-
* @param {string} [serviceCategoryId]
|
|
468
|
-
* @param {MarketingType} [marketingType]
|
|
469
|
-
* @param {Procedure} [procedure]
|
|
470
|
-
* @param {Date} [created]
|
|
471
|
-
* @param {string} [languageCode]
|
|
472
|
-
* @param {boolean} [returnDefaultValue]
|
|
473
|
-
* @param {number} [page]
|
|
474
|
-
* @param {number} [limit]
|
|
475
|
-
* @param {Date} [lastRetrieved]
|
|
463
|
+
* @param {ServicesApiApiV2ServicesGetRequest} requestParameters Request parameters.
|
|
476
464
|
* @param {*} [options] Override http request option.
|
|
477
465
|
* @throws {RequiredError}
|
|
478
466
|
* @memberof ServicesApi
|
|
479
467
|
*/
|
|
480
|
-
ServicesApi.prototype.apiV2ServicesGet = function (
|
|
468
|
+
ServicesApi.prototype.apiV2ServicesGet = function (requestParameters, options) {
|
|
481
469
|
var _this = this;
|
|
482
|
-
|
|
470
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
471
|
+
return (0, exports.ServicesApiFp)(this.configuration).apiV2ServicesGet(requestParameters.id, requestParameters.name, requestParameters.slug, requestParameters.hospitalId, requestParameters.hospitalName, requestParameters.hospitalSlug, requestParameters.specialtyId, requestParameters.specialtyName, requestParameters.specialtyTypeId, requestParameters.specialtyTypeName, requestParameters.serviceCategoryId, requestParameters.appointmentEnabled, requestParameters.marketingType, requestParameters.procedure, requestParameters.created, requestParameters.languageCode, requestParameters.returnDefaultValue, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
483
472
|
};
|
|
484
473
|
/**
|
|
485
474
|
*
|
|
486
475
|
* @summary
|
|
487
|
-
* @param {
|
|
488
|
-
* @param {string} [languageCode]
|
|
489
|
-
* @param {boolean} [returnDefaultValue]
|
|
476
|
+
* @param {ServicesApiApiV2ServicesServiceIdGetRequest} requestParameters Request parameters.
|
|
490
477
|
* @param {*} [options] Override http request option.
|
|
491
478
|
* @throws {RequiredError}
|
|
492
479
|
* @memberof ServicesApi
|
|
493
480
|
*/
|
|
494
|
-
ServicesApi.prototype.apiV2ServicesServiceIdGet = function (
|
|
481
|
+
ServicesApi.prototype.apiV2ServicesServiceIdGet = function (requestParameters, options) {
|
|
495
482
|
var _this = this;
|
|
496
|
-
return (0, exports.ServicesApiFp)(this.configuration).apiV2ServicesServiceIdGet(serviceId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
483
|
+
return (0, exports.ServicesApiFp)(this.configuration).apiV2ServicesServiceIdGet(requestParameters.serviceId, requestParameters.languageCode, requestParameters.returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
497
484
|
};
|
|
498
485
|
/**
|
|
499
486
|
*
|
|
500
487
|
* @summary
|
|
501
|
-
* @param {
|
|
502
|
-
* @param {string} [languageCode]
|
|
503
|
-
* @param {boolean} [returnDefaultValue]
|
|
488
|
+
* @param {ServicesApiApiV2ServicesSlugGetRequest} requestParameters Request parameters.
|
|
504
489
|
* @param {*} [options] Override http request option.
|
|
505
490
|
* @throws {RequiredError}
|
|
506
491
|
* @memberof ServicesApi
|
|
507
492
|
*/
|
|
508
|
-
ServicesApi.prototype.apiV2ServicesSlugGet = function (
|
|
493
|
+
ServicesApi.prototype.apiV2ServicesSlugGet = function (requestParameters, options) {
|
|
509
494
|
var _this = this;
|
|
510
|
-
return (0, exports.ServicesApiFp)(this.configuration).apiV2ServicesSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
495
|
+
return (0, exports.ServicesApiFp)(this.configuration).apiV2ServicesSlugGet(requestParameters.slug, requestParameters.languageCode, requestParameters.returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
511
496
|
};
|
|
512
497
|
return ServicesApi;
|
|
513
498
|
}(base_1.BaseAPI));
|
|
@@ -92,6 +92,56 @@ export declare const ServicesCategoriesApiFactory: (configuration?: Configuratio
|
|
|
92
92
|
*/
|
|
93
93
|
apiV2ServicescategoriesServiceCategoryIdGet(serviceCategoryId: string, options?: any): AxiosPromise<ServiceCategoryModel>;
|
|
94
94
|
};
|
|
95
|
+
/**
|
|
96
|
+
* Request parameters for apiV2ServicescategoriesGet operation in ServicesCategoriesApi.
|
|
97
|
+
* @export
|
|
98
|
+
* @interface ServicesCategoriesApiApiV2ServicescategoriesGetRequest
|
|
99
|
+
*/
|
|
100
|
+
export interface ServicesCategoriesApiApiV2ServicescategoriesGetRequest {
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof ServicesCategoriesApiApiV2ServicescategoriesGet
|
|
105
|
+
*/
|
|
106
|
+
readonly id?: string;
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* @type {string}
|
|
110
|
+
* @memberof ServicesCategoriesApiApiV2ServicescategoriesGet
|
|
111
|
+
*/
|
|
112
|
+
readonly name?: string;
|
|
113
|
+
/**
|
|
114
|
+
*
|
|
115
|
+
* @type {number}
|
|
116
|
+
* @memberof ServicesCategoriesApiApiV2ServicescategoriesGet
|
|
117
|
+
*/
|
|
118
|
+
readonly page?: number;
|
|
119
|
+
/**
|
|
120
|
+
*
|
|
121
|
+
* @type {number}
|
|
122
|
+
* @memberof ServicesCategoriesApiApiV2ServicescategoriesGet
|
|
123
|
+
*/
|
|
124
|
+
readonly limit?: number;
|
|
125
|
+
/**
|
|
126
|
+
*
|
|
127
|
+
* @type {Date}
|
|
128
|
+
* @memberof ServicesCategoriesApiApiV2ServicescategoriesGet
|
|
129
|
+
*/
|
|
130
|
+
readonly lastRetrieved?: Date;
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* Request parameters for apiV2ServicescategoriesServiceCategoryIdGet operation in ServicesCategoriesApi.
|
|
134
|
+
* @export
|
|
135
|
+
* @interface ServicesCategoriesApiApiV2ServicescategoriesServiceCategoryIdGetRequest
|
|
136
|
+
*/
|
|
137
|
+
export interface ServicesCategoriesApiApiV2ServicescategoriesServiceCategoryIdGetRequest {
|
|
138
|
+
/**
|
|
139
|
+
*
|
|
140
|
+
* @type {string}
|
|
141
|
+
* @memberof ServicesCategoriesApiApiV2ServicescategoriesServiceCategoryIdGet
|
|
142
|
+
*/
|
|
143
|
+
readonly serviceCategoryId: string;
|
|
144
|
+
}
|
|
95
145
|
/**
|
|
96
146
|
* ServicesCategoriesApi - object-oriented interface
|
|
97
147
|
* @export
|
|
@@ -102,24 +152,20 @@ export declare class ServicesCategoriesApi extends BaseAPI {
|
|
|
102
152
|
/**
|
|
103
153
|
*
|
|
104
154
|
* @summary Get all ServiceCategories.
|
|
105
|
-
* @param {
|
|
106
|
-
* @param {string} [name]
|
|
107
|
-
* @param {number} [page]
|
|
108
|
-
* @param {number} [limit]
|
|
109
|
-
* @param {Date} [lastRetrieved]
|
|
155
|
+
* @param {ServicesCategoriesApiApiV2ServicescategoriesGetRequest} requestParameters Request parameters.
|
|
110
156
|
* @param {*} [options] Override http request option.
|
|
111
157
|
* @throws {RequiredError}
|
|
112
158
|
* @memberof ServicesCategoriesApi
|
|
113
159
|
*/
|
|
114
|
-
apiV2ServicescategoriesGet(
|
|
160
|
+
apiV2ServicescategoriesGet(requestParameters?: ServicesCategoriesApiApiV2ServicescategoriesGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ServiceCategoriesModel, any>>;
|
|
115
161
|
/**
|
|
116
162
|
*
|
|
117
163
|
* @summary Get ServiceCategory.
|
|
118
|
-
* @param {
|
|
164
|
+
* @param {ServicesCategoriesApiApiV2ServicescategoriesServiceCategoryIdGetRequest} requestParameters Request parameters.
|
|
119
165
|
* @param {*} [options] Override http request option.
|
|
120
166
|
* @throws {RequiredError}
|
|
121
167
|
* @memberof ServicesCategoriesApi
|
|
122
168
|
*/
|
|
123
|
-
apiV2ServicescategoriesServiceCategoryIdGet(
|
|
169
|
+
apiV2ServicescategoriesServiceCategoryIdGet(requestParameters: ServicesCategoriesApiApiV2ServicescategoriesServiceCategoryIdGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ServiceCategoryModel, any>>;
|
|
124
170
|
}
|
|
125
171
|
//# sourceMappingURL=services-categories-api.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"services-categories-api.d.ts","sourceRoot":"","sources":["../../src/api/services-categories-api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAoB,EAAE,YAAY,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AACrF,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKjD,OAAO,EAAiC,WAAW,EAAE,OAAO,EAAiB,MAAM,SAAS,CAAC;AAE7F,OAAO,EAAE,sBAAsB,EA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AAC,EAAE,MAAM,CAAA;IAEtB;;;;OAIG;IACH,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAA;IAEvB;;;;OAIG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,IAAI,CAAA;CAChC;AAED;;;;GAIG;AACH,MAAM,WAAW,uEAAuE;IACpF;;;;OAIG;IACH,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAA;CACrC;AAED;;;;;GAKG;AACH,qBAAa,qBAAsB,SAAQ,OAAO;IAC9C;;;;;;;OAOG;IACI,0BAA0B,CAAC,iBAAiB,GAAE,sDAA2D,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAI9I;;;;;;;OAOG;IACI,2CAA2C,CAAC,iBAAiB,EAAE,uEAAuE,EAAE,OAAO,CAAC,EAAE,kBAAkB;CAG9K"}
|
|
@@ -281,30 +281,27 @@ var ServicesCategoriesApi = /** @class */ (function (_super) {
|
|
|
281
281
|
/**
|
|
282
282
|
*
|
|
283
283
|
* @summary Get all ServiceCategories.
|
|
284
|
-
* @param {
|
|
285
|
-
* @param {string} [name]
|
|
286
|
-
* @param {number} [page]
|
|
287
|
-
* @param {number} [limit]
|
|
288
|
-
* @param {Date} [lastRetrieved]
|
|
284
|
+
* @param {ServicesCategoriesApiApiV2ServicescategoriesGetRequest} requestParameters Request parameters.
|
|
289
285
|
* @param {*} [options] Override http request option.
|
|
290
286
|
* @throws {RequiredError}
|
|
291
287
|
* @memberof ServicesCategoriesApi
|
|
292
288
|
*/
|
|
293
|
-
ServicesCategoriesApi.prototype.apiV2ServicescategoriesGet = function (
|
|
289
|
+
ServicesCategoriesApi.prototype.apiV2ServicescategoriesGet = function (requestParameters, options) {
|
|
294
290
|
var _this = this;
|
|
295
|
-
|
|
291
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
292
|
+
return (0, exports.ServicesCategoriesApiFp)(this.configuration).apiV2ServicescategoriesGet(requestParameters.id, requestParameters.name, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
296
293
|
};
|
|
297
294
|
/**
|
|
298
295
|
*
|
|
299
296
|
* @summary Get ServiceCategory.
|
|
300
|
-
* @param {
|
|
297
|
+
* @param {ServicesCategoriesApiApiV2ServicescategoriesServiceCategoryIdGetRequest} requestParameters Request parameters.
|
|
301
298
|
* @param {*} [options] Override http request option.
|
|
302
299
|
* @throws {RequiredError}
|
|
303
300
|
* @memberof ServicesCategoriesApi
|
|
304
301
|
*/
|
|
305
|
-
ServicesCategoriesApi.prototype.apiV2ServicescategoriesServiceCategoryIdGet = function (
|
|
302
|
+
ServicesCategoriesApi.prototype.apiV2ServicescategoriesServiceCategoryIdGet = function (requestParameters, options) {
|
|
306
303
|
var _this = this;
|
|
307
|
-
return (0, exports.ServicesCategoriesApiFp)(this.configuration).apiV2ServicescategoriesServiceCategoryIdGet(serviceCategoryId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
304
|
+
return (0, exports.ServicesCategoriesApiFp)(this.configuration).apiV2ServicescategoriesServiceCategoryIdGet(requestParameters.serviceCategoryId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
308
305
|
};
|
|
309
306
|
return ServicesCategoriesApi;
|
|
310
307
|
}(base_1.BaseAPI));
|