ch-admin-api-client-typescript 5.5.1 → 5.5.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/dash-board-api.d.ts +302 -13
- package/lib/api/dash-board-api.d.ts.map +1 -1
- package/lib/api/dash-board-api.js +488 -15
- package/lib/api/deals-api.d.ts +65 -0
- package/lib/api/deals-api.d.ts.map +1 -1
- package/lib/api/deals-api.js +96 -0
- package/lib/api/doctor-affiliations-api.d.ts +56 -0
- package/lib/api/doctor-affiliations-api.d.ts.map +1 -1
- package/lib/api/doctor-affiliations-api.js +90 -0
- package/lib/api/hospitals-api.d.ts +195 -0
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +288 -0
- package/lib/api/search-curations-api.d.ts +309 -0
- package/lib/api/search-curations-api.d.ts.map +1 -0
- package/lib/api/search-curations-api.js +579 -0
- package/lib/api.d.ts +1 -0
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +1 -0
- package/lib/models/booking-duration-statistics-model.d.ts +31 -0
- package/lib/models/booking-duration-statistics-model.d.ts.map +1 -0
- package/lib/models/booking-duration-statistics-model.js +15 -0
- package/lib/models/booking-statistics-model.d.ts +44 -0
- package/lib/models/booking-statistics-model.d.ts.map +1 -0
- package/lib/models/booking-statistics-model.js +15 -0
- package/lib/models/call-duration-statistics-model.d.ts +31 -0
- package/lib/models/call-duration-statistics-model.d.ts.map +1 -0
- package/lib/models/call-duration-statistics-model.js +15 -0
- package/lib/models/call-statistics-model.d.ts +38 -0
- package/lib/models/call-statistics-model.d.ts.map +1 -0
- package/lib/models/call-statistics-model.js +15 -0
- package/lib/models/consultation-duration-statisctics-model.d.ts +31 -0
- package/lib/models/consultation-duration-statisctics-model.d.ts.map +1 -0
- package/lib/models/consultation-duration-statisctics-model.js +15 -0
- package/lib/models/consultation-statistics-model.d.ts +44 -0
- package/lib/models/consultation-statistics-model.d.ts.map +1 -0
- package/lib/models/consultation-statistics-model.js +15 -0
- package/lib/models/create-hospital-contact-command.d.ts +0 -6
- package/lib/models/create-hospital-contact-command.d.ts.map +1 -1
- package/lib/models/dash-board-model.d.ts +15 -52
- package/lib/models/dash-board-model.d.ts.map +1 -1
- package/lib/models/delete-deal-package-appointment-timetable-overrides-command.d.ts +44 -0
- package/lib/models/delete-deal-package-appointment-timetable-overrides-command.d.ts.map +1 -0
- package/lib/models/delete-deal-package-appointment-timetable-overrides-command.js +15 -0
- package/lib/models/delete-doctor-affiliation-appointment-timetable-overrides-command.d.ts +44 -0
- package/lib/models/delete-doctor-affiliation-appointment-timetable-overrides-command.d.ts.map +1 -0
- package/lib/models/delete-doctor-affiliation-appointment-timetable-overrides-command.js +15 -0
- package/lib/models/delete-hospital-appointment-timetable-overrides-command.d.ts +44 -0
- package/lib/models/delete-hospital-appointment-timetable-overrides-command.d.ts.map +1 -0
- package/lib/models/delete-hospital-appointment-timetable-overrides-command.js +15 -0
- package/lib/models/delete-hospital-specialty-appointment-timetable-overrides-command.d.ts +44 -0
- package/lib/models/delete-hospital-specialty-appointment-timetable-overrides-command.d.ts.map +1 -0
- package/lib/models/delete-hospital-specialty-appointment-timetable-overrides-command.js +15 -0
- package/lib/models/delete-service-appointment-timetable-overrides-command.d.ts +44 -0
- package/lib/models/delete-service-appointment-timetable-overrides-command.d.ts.map +1 -0
- package/lib/models/delete-service-appointment-timetable-overrides-command.js +15 -0
- package/lib/models/general-statistics-model.d.ts +43 -0
- package/lib/models/general-statistics-model.d.ts.map +1 -0
- package/lib/models/general-statistics-model.js +15 -0
- package/lib/models/hospital-contact-item-model.d.ts +0 -6
- package/lib/models/hospital-contact-item-model.d.ts.map +1 -1
- package/lib/models/hospital-contact-model.d.ts +0 -6
- package/lib/models/hospital-contact-model.d.ts.map +1 -1
- package/lib/models/index.d.ts +17 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +17 -0
- package/lib/models/save-search-curations-command.d.ts +26 -0
- package/lib/models/save-search-curations-command.d.ts.map +1 -0
- package/lib/models/save-search-curations-command.js +15 -0
- package/lib/models/search-curation-item-input-model.d.ts +73 -0
- package/lib/models/search-curation-item-input-model.d.ts.map +1 -0
- package/lib/models/search-curation-item-input-model.js +15 -0
- package/lib/models/search-curation-item-model.d.ts +79 -0
- package/lib/models/search-curation-item-model.d.ts.map +1 -0
- package/lib/models/search-curation-item-model.js +15 -0
- package/lib/models/survey-form-duration-statistics-model.d.ts +31 -0
- package/lib/models/survey-form-duration-statistics-model.d.ts.map +1 -0
- package/lib/models/survey-form-duration-statistics-model.js +15 -0
- package/lib/models/survey-form-statistics-model.d.ts +38 -0
- package/lib/models/survey-form-statistics-model.d.ts.map +1 -0
- package/lib/models/survey-form-statistics-model.js +15 -0
- package/lib/models/update-hospital-contact-command.d.ts +2 -8
- package/lib/models/update-hospital-contact-command.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +18 -0
- package/src/api/dash-board-api.ts +556 -19
- package/src/api/deals-api.ts +113 -0
- package/src/api/doctor-affiliations-api.ts +100 -0
- package/src/api/hospitals-api.ts +339 -0
- package/src/api/search-curations-api.ts +539 -0
- package/src/api.ts +1 -0
- package/src/models/booking-duration-statistics-model.ts +36 -0
- package/src/models/booking-statistics-model.ts +51 -0
- package/src/models/call-duration-statistics-model.ts +36 -0
- package/src/models/call-statistics-model.ts +45 -0
- package/src/models/consultation-duration-statisctics-model.ts +36 -0
- package/src/models/consultation-statistics-model.ts +51 -0
- package/src/models/create-hospital-contact-command.ts +0 -6
- package/src/models/dash-board-model.ts +25 -52
- package/src/models/delete-deal-package-appointment-timetable-overrides-command.ts +51 -0
- package/src/models/delete-doctor-affiliation-appointment-timetable-overrides-command.ts +51 -0
- package/src/models/delete-hospital-appointment-timetable-overrides-command.ts +51 -0
- package/src/models/delete-hospital-specialty-appointment-timetable-overrides-command.ts +51 -0
- package/src/models/delete-service-appointment-timetable-overrides-command.ts +51 -0
- package/src/models/general-statistics-model.ts +48 -0
- package/src/models/hospital-contact-item-model.ts +0 -6
- package/src/models/hospital-contact-model.ts +0 -6
- package/src/models/index.ts +17 -0
- package/src/models/save-search-curations-command.ts +33 -0
- package/src/models/search-curation-item-input-model.ts +78 -0
- package/src/models/search-curation-item-model.ts +84 -0
- package/src/models/survey-form-duration-statistics-model.ts +36 -0
- package/src/models/survey-form-statistics-model.ts +45 -0
- package/src/models/update-hospital-contact-command.ts +2 -8
package/src/api/deals-api.ts
CHANGED
|
@@ -51,6 +51,8 @@ import { DealsModel } from '../models';
|
|
|
51
51
|
// @ts-ignore
|
|
52
52
|
import { DealsSimpleModel } from '../models';
|
|
53
53
|
// @ts-ignore
|
|
54
|
+
import { DeleteDealPackageAppointmentTimetableOverridesCommand } from '../models';
|
|
55
|
+
// @ts-ignore
|
|
54
56
|
import { MarketingType } from '../models';
|
|
55
57
|
// @ts-ignore
|
|
56
58
|
import { ProblemDetails } from '../models';
|
|
@@ -334,6 +336,52 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
334
336
|
options: localVarRequestOptions,
|
|
335
337
|
};
|
|
336
338
|
},
|
|
339
|
+
/**
|
|
340
|
+
*
|
|
341
|
+
* @summary Delete DealPackage appointment timetable overrides
|
|
342
|
+
* @param {string} dealId
|
|
343
|
+
* @param {string} packageId
|
|
344
|
+
* @param {DeleteDealPackageAppointmentTimetableOverridesCommand} [deleteDealPackageAppointmentTimetableOverridesCommand]
|
|
345
|
+
* @param {*} [options] Override http request option.
|
|
346
|
+
* @throws {RequiredError}
|
|
347
|
+
*/
|
|
348
|
+
apiV1DealsDealIdPackagesPackageIdAppointmenttimetableoverridesPatch: async (dealId: string, packageId: string, deleteDealPackageAppointmentTimetableOverridesCommand?: DeleteDealPackageAppointmentTimetableOverridesCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
349
|
+
// verify required parameter 'dealId' is not null or undefined
|
|
350
|
+
assertParamExists('apiV1DealsDealIdPackagesPackageIdAppointmenttimetableoverridesPatch', 'dealId', dealId)
|
|
351
|
+
// verify required parameter 'packageId' is not null or undefined
|
|
352
|
+
assertParamExists('apiV1DealsDealIdPackagesPackageIdAppointmenttimetableoverridesPatch', 'packageId', packageId)
|
|
353
|
+
const localVarPath = `/api/v1/deals/{dealId}/packages/{packageId}/appointmenttimetableoverrides`
|
|
354
|
+
.replace(`{${"dealId"}}`, encodeURIComponent(String(dealId)))
|
|
355
|
+
.replace(`{${"packageId"}}`, encodeURIComponent(String(packageId)));
|
|
356
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
357
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
358
|
+
let baseOptions;
|
|
359
|
+
if (configuration) {
|
|
360
|
+
baseOptions = configuration.baseOptions;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
364
|
+
const localVarHeaderParameter = {} as any;
|
|
365
|
+
const localVarQueryParameter = {} as any;
|
|
366
|
+
|
|
367
|
+
// authentication oauth2 required
|
|
368
|
+
// oauth required
|
|
369
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
374
|
+
|
|
375
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
376
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
377
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
378
|
+
localVarRequestOptions.data = serializeDataIfNeeded(deleteDealPackageAppointmentTimetableOverridesCommand, localVarRequestOptions, configuration)
|
|
379
|
+
|
|
380
|
+
return {
|
|
381
|
+
url: toPathString(localVarUrlObj),
|
|
382
|
+
options: localVarRequestOptions,
|
|
383
|
+
};
|
|
384
|
+
},
|
|
337
385
|
/**
|
|
338
386
|
*
|
|
339
387
|
* @summary Save DealPackage appointment timetable overrides
|
|
@@ -1447,6 +1495,19 @@ export const DealsApiFp = function(configuration?: Configuration) {
|
|
|
1447
1495
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsDealIdPackagesPackageIdAppointmenttimetableoverridesGet(dealId, packageId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options);
|
|
1448
1496
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1449
1497
|
},
|
|
1498
|
+
/**
|
|
1499
|
+
*
|
|
1500
|
+
* @summary Delete DealPackage appointment timetable overrides
|
|
1501
|
+
* @param {string} dealId
|
|
1502
|
+
* @param {string} packageId
|
|
1503
|
+
* @param {DeleteDealPackageAppointmentTimetableOverridesCommand} [deleteDealPackageAppointmentTimetableOverridesCommand]
|
|
1504
|
+
* @param {*} [options] Override http request option.
|
|
1505
|
+
* @throws {RequiredError}
|
|
1506
|
+
*/
|
|
1507
|
+
async apiV1DealsDealIdPackagesPackageIdAppointmenttimetableoverridesPatch(dealId: string, packageId: string, deleteDealPackageAppointmentTimetableOverridesCommand?: DeleteDealPackageAppointmentTimetableOverridesCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
1508
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DealsDealIdPackagesPackageIdAppointmenttimetableoverridesPatch(dealId, packageId, deleteDealPackageAppointmentTimetableOverridesCommand, options);
|
|
1509
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1510
|
+
},
|
|
1450
1511
|
/**
|
|
1451
1512
|
*
|
|
1452
1513
|
* @summary Save DealPackage appointment timetable overrides
|
|
@@ -1788,6 +1849,18 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
|
|
|
1788
1849
|
apiV1DealsDealIdPackagesPackageIdAppointmenttimetableoverridesGet(dealId: string, packageId: string, includesPreviousItems?: boolean, startDate?: Date, endDate?: Date, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<AppointmentTimetableOverridesModel> {
|
|
1789
1850
|
return localVarFp.apiV1DealsDealIdPackagesPackageIdAppointmenttimetableoverridesGet(dealId, packageId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
1790
1851
|
},
|
|
1852
|
+
/**
|
|
1853
|
+
*
|
|
1854
|
+
* @summary Delete DealPackage appointment timetable overrides
|
|
1855
|
+
* @param {string} dealId
|
|
1856
|
+
* @param {string} packageId
|
|
1857
|
+
* @param {DeleteDealPackageAppointmentTimetableOverridesCommand} [deleteDealPackageAppointmentTimetableOverridesCommand]
|
|
1858
|
+
* @param {*} [options] Override http request option.
|
|
1859
|
+
* @throws {RequiredError}
|
|
1860
|
+
*/
|
|
1861
|
+
apiV1DealsDealIdPackagesPackageIdAppointmenttimetableoverridesPatch(dealId: string, packageId: string, deleteDealPackageAppointmentTimetableOverridesCommand?: DeleteDealPackageAppointmentTimetableOverridesCommand, options?: any): AxiosPromise<boolean> {
|
|
1862
|
+
return localVarFp.apiV1DealsDealIdPackagesPackageIdAppointmenttimetableoverridesPatch(dealId, packageId, deleteDealPackageAppointmentTimetableOverridesCommand, options).then((request) => request(axios, basePath));
|
|
1863
|
+
},
|
|
1791
1864
|
/**
|
|
1792
1865
|
*
|
|
1793
1866
|
* @summary Save DealPackage appointment timetable overrides
|
|
@@ -2246,6 +2319,34 @@ export interface DealsApiApiV1DealsDealIdPackagesPackageIdAppointmenttimetableov
|
|
|
2246
2319
|
readonly lastRetrieved?: Date
|
|
2247
2320
|
}
|
|
2248
2321
|
|
|
2322
|
+
/**
|
|
2323
|
+
* Request parameters for apiV1DealsDealIdPackagesPackageIdAppointmenttimetableoverridesPatch operation in DealsApi.
|
|
2324
|
+
* @export
|
|
2325
|
+
* @interface DealsApiApiV1DealsDealIdPackagesPackageIdAppointmenttimetableoverridesPatchRequest
|
|
2326
|
+
*/
|
|
2327
|
+
export interface DealsApiApiV1DealsDealIdPackagesPackageIdAppointmenttimetableoverridesPatchRequest {
|
|
2328
|
+
/**
|
|
2329
|
+
*
|
|
2330
|
+
* @type {string}
|
|
2331
|
+
* @memberof DealsApiApiV1DealsDealIdPackagesPackageIdAppointmenttimetableoverridesPatch
|
|
2332
|
+
*/
|
|
2333
|
+
readonly dealId: string
|
|
2334
|
+
|
|
2335
|
+
/**
|
|
2336
|
+
*
|
|
2337
|
+
* @type {string}
|
|
2338
|
+
* @memberof DealsApiApiV1DealsDealIdPackagesPackageIdAppointmenttimetableoverridesPatch
|
|
2339
|
+
*/
|
|
2340
|
+
readonly packageId: string
|
|
2341
|
+
|
|
2342
|
+
/**
|
|
2343
|
+
*
|
|
2344
|
+
* @type {DeleteDealPackageAppointmentTimetableOverridesCommand}
|
|
2345
|
+
* @memberof DealsApiApiV1DealsDealIdPackagesPackageIdAppointmenttimetableoverridesPatch
|
|
2346
|
+
*/
|
|
2347
|
+
readonly deleteDealPackageAppointmentTimetableOverridesCommand?: DeleteDealPackageAppointmentTimetableOverridesCommand
|
|
2348
|
+
}
|
|
2349
|
+
|
|
2249
2350
|
/**
|
|
2250
2351
|
* Request parameters for apiV1DealsDealIdPackagesPackageIdAppointmenttimetableoverridesPost operation in DealsApi.
|
|
2251
2352
|
* @export
|
|
@@ -3057,6 +3158,18 @@ export class DealsApi extends BaseAPI {
|
|
|
3057
3158
|
return DealsApiFp(this.configuration).apiV1DealsDealIdPackagesPackageIdAppointmenttimetableoverridesGet(requestParameters.dealId, requestParameters.packageId, requestParameters.includesPreviousItems, requestParameters.startDate, requestParameters.endDate, requestParameters.dayOfWeek, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
3058
3159
|
}
|
|
3059
3160
|
|
|
3161
|
+
/**
|
|
3162
|
+
*
|
|
3163
|
+
* @summary Delete DealPackage appointment timetable overrides
|
|
3164
|
+
* @param {DealsApiApiV1DealsDealIdPackagesPackageIdAppointmenttimetableoverridesPatchRequest} requestParameters Request parameters.
|
|
3165
|
+
* @param {*} [options] Override http request option.
|
|
3166
|
+
* @throws {RequiredError}
|
|
3167
|
+
* @memberof DealsApi
|
|
3168
|
+
*/
|
|
3169
|
+
public apiV1DealsDealIdPackagesPackageIdAppointmenttimetableoverridesPatch(requestParameters: DealsApiApiV1DealsDealIdPackagesPackageIdAppointmenttimetableoverridesPatchRequest, options?: AxiosRequestConfig) {
|
|
3170
|
+
return DealsApiFp(this.configuration).apiV1DealsDealIdPackagesPackageIdAppointmenttimetableoverridesPatch(requestParameters.dealId, requestParameters.packageId, requestParameters.deleteDealPackageAppointmentTimetableOverridesCommand, options).then((request) => request(this.axios, this.basePath));
|
|
3171
|
+
}
|
|
3172
|
+
|
|
3060
3173
|
/**
|
|
3061
3174
|
*
|
|
3062
3175
|
* @summary Save DealPackage appointment timetable overrides
|
|
@@ -35,6 +35,8 @@ import { CreateMediaCommand } from '../models';
|
|
|
35
35
|
// @ts-ignore
|
|
36
36
|
import { DayOfWeek } from '../models';
|
|
37
37
|
// @ts-ignore
|
|
38
|
+
import { DeleteDoctorAffiliationAppointmentTimetableOverridesCommand } from '../models';
|
|
39
|
+
// @ts-ignore
|
|
38
40
|
import { DoctorAffiliationModel } from '../models';
|
|
39
41
|
// @ts-ignore
|
|
40
42
|
import { DoctorAffiliationsModel } from '../models';
|
|
@@ -143,6 +145,48 @@ export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?:
|
|
|
143
145
|
options: localVarRequestOptions,
|
|
144
146
|
};
|
|
145
147
|
},
|
|
148
|
+
/**
|
|
149
|
+
*
|
|
150
|
+
* @summary Delete DoctorAffiliation appointment timetable overrides
|
|
151
|
+
* @param {string} doctorAffiliationId
|
|
152
|
+
* @param {DeleteDoctorAffiliationAppointmentTimetableOverridesCommand} [deleteDoctorAffiliationAppointmentTimetableOverridesCommand]
|
|
153
|
+
* @param {*} [options] Override http request option.
|
|
154
|
+
* @throws {RequiredError}
|
|
155
|
+
*/
|
|
156
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPatch: async (doctorAffiliationId: string, deleteDoctorAffiliationAppointmentTimetableOverridesCommand?: DeleteDoctorAffiliationAppointmentTimetableOverridesCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
157
|
+
// verify required parameter 'doctorAffiliationId' is not null or undefined
|
|
158
|
+
assertParamExists('apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPatch', 'doctorAffiliationId', doctorAffiliationId)
|
|
159
|
+
const localVarPath = `/api/v1/doctoraffiliations/{doctorAffiliationId}/appointmenttimetableoverrides`
|
|
160
|
+
.replace(`{${"doctorAffiliationId"}}`, encodeURIComponent(String(doctorAffiliationId)));
|
|
161
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
162
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
163
|
+
let baseOptions;
|
|
164
|
+
if (configuration) {
|
|
165
|
+
baseOptions = configuration.baseOptions;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
169
|
+
const localVarHeaderParameter = {} as any;
|
|
170
|
+
const localVarQueryParameter = {} as any;
|
|
171
|
+
|
|
172
|
+
// authentication oauth2 required
|
|
173
|
+
// oauth required
|
|
174
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
179
|
+
|
|
180
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
181
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
182
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
183
|
+
localVarRequestOptions.data = serializeDataIfNeeded(deleteDoctorAffiliationAppointmentTimetableOverridesCommand, localVarRequestOptions, configuration)
|
|
184
|
+
|
|
185
|
+
return {
|
|
186
|
+
url: toPathString(localVarUrlObj),
|
|
187
|
+
options: localVarRequestOptions,
|
|
188
|
+
};
|
|
189
|
+
},
|
|
146
190
|
/**
|
|
147
191
|
*
|
|
148
192
|
* @summary Save DoctorAffiliation appointment timetable overrides
|
|
@@ -941,6 +985,18 @@ export const DoctorAffiliationsApiFp = function(configuration?: Configuration) {
|
|
|
941
985
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesGet(doctorAffiliationId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options);
|
|
942
986
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
943
987
|
},
|
|
988
|
+
/**
|
|
989
|
+
*
|
|
990
|
+
* @summary Delete DoctorAffiliation appointment timetable overrides
|
|
991
|
+
* @param {string} doctorAffiliationId
|
|
992
|
+
* @param {DeleteDoctorAffiliationAppointmentTimetableOverridesCommand} [deleteDoctorAffiliationAppointmentTimetableOverridesCommand]
|
|
993
|
+
* @param {*} [options] Override http request option.
|
|
994
|
+
* @throws {RequiredError}
|
|
995
|
+
*/
|
|
996
|
+
async apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPatch(doctorAffiliationId: string, deleteDoctorAffiliationAppointmentTimetableOverridesCommand?: DeleteDoctorAffiliationAppointmentTimetableOverridesCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
997
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPatch(doctorAffiliationId, deleteDoctorAffiliationAppointmentTimetableOverridesCommand, options);
|
|
998
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
999
|
+
},
|
|
944
1000
|
/**
|
|
945
1001
|
*
|
|
946
1002
|
* @summary Save DoctorAffiliation appointment timetable overrides
|
|
@@ -1176,6 +1232,17 @@ export const DoctorAffiliationsApiFactory = function (configuration?: Configurat
|
|
|
1176
1232
|
apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesGet(doctorAffiliationId: string, includesPreviousItems?: boolean, startDate?: Date, endDate?: Date, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<AppointmentTimetableOverridesModel> {
|
|
1177
1233
|
return localVarFp.apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesGet(doctorAffiliationId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
1178
1234
|
},
|
|
1235
|
+
/**
|
|
1236
|
+
*
|
|
1237
|
+
* @summary Delete DoctorAffiliation appointment timetable overrides
|
|
1238
|
+
* @param {string} doctorAffiliationId
|
|
1239
|
+
* @param {DeleteDoctorAffiliationAppointmentTimetableOverridesCommand} [deleteDoctorAffiliationAppointmentTimetableOverridesCommand]
|
|
1240
|
+
* @param {*} [options] Override http request option.
|
|
1241
|
+
* @throws {RequiredError}
|
|
1242
|
+
*/
|
|
1243
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPatch(doctorAffiliationId: string, deleteDoctorAffiliationAppointmentTimetableOverridesCommand?: DeleteDoctorAffiliationAppointmentTimetableOverridesCommand, options?: any): AxiosPromise<boolean> {
|
|
1244
|
+
return localVarFp.apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPatch(doctorAffiliationId, deleteDoctorAffiliationAppointmentTimetableOverridesCommand, options).then((request) => request(axios, basePath));
|
|
1245
|
+
},
|
|
1179
1246
|
/**
|
|
1180
1247
|
*
|
|
1181
1248
|
* @summary Save DoctorAffiliation appointment timetable overrides
|
|
@@ -1434,6 +1501,27 @@ export interface DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationId
|
|
|
1434
1501
|
readonly lastRetrieved?: Date
|
|
1435
1502
|
}
|
|
1436
1503
|
|
|
1504
|
+
/**
|
|
1505
|
+
* Request parameters for apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPatch operation in DoctorAffiliationsApi.
|
|
1506
|
+
* @export
|
|
1507
|
+
* @interface DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPatchRequest
|
|
1508
|
+
*/
|
|
1509
|
+
export interface DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPatchRequest {
|
|
1510
|
+
/**
|
|
1511
|
+
*
|
|
1512
|
+
* @type {string}
|
|
1513
|
+
* @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPatch
|
|
1514
|
+
*/
|
|
1515
|
+
readonly doctorAffiliationId: string
|
|
1516
|
+
|
|
1517
|
+
/**
|
|
1518
|
+
*
|
|
1519
|
+
* @type {DeleteDoctorAffiliationAppointmentTimetableOverridesCommand}
|
|
1520
|
+
* @memberof DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPatch
|
|
1521
|
+
*/
|
|
1522
|
+
readonly deleteDoctorAffiliationAppointmentTimetableOverridesCommand?: DeleteDoctorAffiliationAppointmentTimetableOverridesCommand
|
|
1523
|
+
}
|
|
1524
|
+
|
|
1437
1525
|
/**
|
|
1438
1526
|
* Request parameters for apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPost operation in DoctorAffiliationsApi.
|
|
1439
1527
|
* @export
|
|
@@ -1908,6 +1996,18 @@ export class DoctorAffiliationsApi extends BaseAPI {
|
|
|
1908
1996
|
return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesGet(requestParameters.doctorAffiliationId, requestParameters.includesPreviousItems, requestParameters.startDate, requestParameters.endDate, requestParameters.dayOfWeek, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
1909
1997
|
}
|
|
1910
1998
|
|
|
1999
|
+
/**
|
|
2000
|
+
*
|
|
2001
|
+
* @summary Delete DoctorAffiliation appointment timetable overrides
|
|
2002
|
+
* @param {DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPatchRequest} requestParameters Request parameters.
|
|
2003
|
+
* @param {*} [options] Override http request option.
|
|
2004
|
+
* @throws {RequiredError}
|
|
2005
|
+
* @memberof DoctorAffiliationsApi
|
|
2006
|
+
*/
|
|
2007
|
+
public apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPatch(requestParameters: DoctorAffiliationsApiApiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPatchRequest, options?: AxiosRequestConfig) {
|
|
2008
|
+
return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPatch(requestParameters.doctorAffiliationId, requestParameters.deleteDoctorAffiliationAppointmentTimetableOverridesCommand, options).then((request) => request(this.axios, this.basePath));
|
|
2009
|
+
}
|
|
2010
|
+
|
|
1911
2011
|
/**
|
|
1912
2012
|
*
|
|
1913
2013
|
* @summary Save DoctorAffiliation appointment timetable overrides
|