ch-api-client-typescript2 5.19.10 → 5.19.15
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/appointments-api.d.ts +167 -0
- package/lib/api/appointments-api.d.ts.map +1 -1
- package/lib/api/appointments-api.js +271 -0
- package/lib/api/hospitals-api.d.ts +125 -6
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +137 -12
- package/lib/models/appointment-model.d.ts +14 -0
- package/lib/models/appointment-model.d.ts.map +1 -1
- package/lib/models/appointment-refund-bank-transfer-model.d.ts +43 -0
- package/lib/models/appointment-refund-bank-transfer-model.d.ts.map +1 -0
- package/lib/models/appointment-refund-bank-transfer-model.js +15 -0
- package/lib/models/appointment-refund-upi-model.d.ts +31 -0
- package/lib/models/appointment-refund-upi-model.d.ts.map +1 -0
- package/lib/models/appointment-refund-upi-model.js +15 -0
- package/lib/models/appointment-status.d.ts +1 -0
- package/lib/models/appointment-status.d.ts.map +1 -1
- package/lib/models/appointment-status.js +1 -0
- package/lib/models/index.d.ts +7 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +7 -0
- package/lib/models/notice-item-model.d.ts +80 -0
- package/lib/models/notice-item-model.d.ts.map +1 -0
- package/lib/models/notice-item-model.js +15 -0
- package/lib/models/notice-status.d.ts +23 -0
- package/lib/models/notice-status.d.ts.map +1 -0
- package/lib/models/notice-status.js +26 -0
- package/lib/models/notices-model.d.ts +33 -0
- package/lib/models/notices-model.d.ts.map +1 -0
- package/lib/models/notices-model.js +15 -0
- package/lib/models/refund-appointment-command.d.ts +39 -0
- package/lib/models/refund-appointment-command.d.ts.map +1 -0
- package/lib/models/refund-appointment-command.js +15 -0
- package/lib/models/reschedule-appointment-command.d.ts +37 -0
- package/lib/models/reschedule-appointment-command.d.ts.map +1 -0
- package/lib/models/reschedule-appointment-command.js +15 -0
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +7 -0
- package/src/api/appointments-api.ts +301 -0
- package/src/api/hospitals-api.ts +211 -12
- package/src/models/appointment-model.ts +18 -0
- package/src/models/appointment-refund-bank-transfer-model.ts +48 -0
- package/src/models/appointment-refund-upi-model.ts +36 -0
- package/src/models/appointment-status.ts +1 -0
- package/src/models/index.ts +7 -0
- package/src/models/notice-item-model.ts +87 -0
- package/src/models/notice-status.ts +32 -0
- package/src/models/notices-model.ts +42 -0
- package/src/models/refund-appointment-command.ts +48 -0
- package/src/models/reschedule-appointment-command.ts +42 -0
|
@@ -33,6 +33,12 @@ import { CreateAppointmentCommand } from '../models';
|
|
|
33
33
|
// @ts-ignore
|
|
34
34
|
import { PayAppointmentCommand } from '../models';
|
|
35
35
|
// @ts-ignore
|
|
36
|
+
import { ProblemDetails } from '../models';
|
|
37
|
+
// @ts-ignore
|
|
38
|
+
import { RefundAppointmentCommand } from '../models';
|
|
39
|
+
// @ts-ignore
|
|
40
|
+
import { RescheduleAppointmentCommand } from '../models';
|
|
41
|
+
// @ts-ignore
|
|
36
42
|
import { UpdateAppointmentCommand } from '../models';
|
|
37
43
|
/**
|
|
38
44
|
* AppointmentsApi - axios parameter creator
|
|
@@ -40,6 +46,49 @@ import { UpdateAppointmentCommand } from '../models';
|
|
|
40
46
|
*/
|
|
41
47
|
export const AppointmentsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
42
48
|
return {
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @summary Cancel appointment
|
|
52
|
+
* @param {string} appointmentId
|
|
53
|
+
* @param {string} [languageCode]
|
|
54
|
+
* @param {*} [options] Override http request option.
|
|
55
|
+
* @throws {RequiredError}
|
|
56
|
+
*/
|
|
57
|
+
apiV2AppointmentsAppointmentIdCancelPut: async (appointmentId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
58
|
+
// verify required parameter 'appointmentId' is not null or undefined
|
|
59
|
+
assertParamExists('apiV2AppointmentsAppointmentIdCancelPut', 'appointmentId', appointmentId)
|
|
60
|
+
const localVarPath = `/api/v2/appointments/{appointmentId}/cancel`
|
|
61
|
+
.replace(`{${"appointmentId"}}`, encodeURIComponent(String(appointmentId)));
|
|
62
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
63
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
64
|
+
let baseOptions;
|
|
65
|
+
if (configuration) {
|
|
66
|
+
baseOptions = configuration.baseOptions;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
70
|
+
const localVarHeaderParameter = {} as any;
|
|
71
|
+
const localVarQueryParameter = {} as any;
|
|
72
|
+
|
|
73
|
+
// authentication oauth2 required
|
|
74
|
+
// oauth required
|
|
75
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
|
|
76
|
+
|
|
77
|
+
if (languageCode !== undefined) {
|
|
78
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
84
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
85
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
86
|
+
|
|
87
|
+
return {
|
|
88
|
+
url: toPathString(localVarUrlObj),
|
|
89
|
+
options: localVarRequestOptions,
|
|
90
|
+
};
|
|
91
|
+
},
|
|
43
92
|
/**
|
|
44
93
|
*
|
|
45
94
|
* @summary Get appointment by id
|
|
@@ -167,6 +216,90 @@ export const AppointmentsApiAxiosParamCreator = function (configuration?: Config
|
|
|
167
216
|
options: localVarRequestOptions,
|
|
168
217
|
};
|
|
169
218
|
},
|
|
219
|
+
/**
|
|
220
|
+
*
|
|
221
|
+
* @summary Update refund information
|
|
222
|
+
* @param {string} appointmentId
|
|
223
|
+
* @param {RefundAppointmentCommand} [refundAppointmentCommand]
|
|
224
|
+
* @param {*} [options] Override http request option.
|
|
225
|
+
* @throws {RequiredError}
|
|
226
|
+
*/
|
|
227
|
+
apiV2AppointmentsAppointmentIdRefundPut: async (appointmentId: string, refundAppointmentCommand?: RefundAppointmentCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
228
|
+
// verify required parameter 'appointmentId' is not null or undefined
|
|
229
|
+
assertParamExists('apiV2AppointmentsAppointmentIdRefundPut', 'appointmentId', appointmentId)
|
|
230
|
+
const localVarPath = `/api/v2/appointments/{appointmentId}/refund`
|
|
231
|
+
.replace(`{${"appointmentId"}}`, encodeURIComponent(String(appointmentId)));
|
|
232
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
233
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
234
|
+
let baseOptions;
|
|
235
|
+
if (configuration) {
|
|
236
|
+
baseOptions = configuration.baseOptions;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
240
|
+
const localVarHeaderParameter = {} as any;
|
|
241
|
+
const localVarQueryParameter = {} as any;
|
|
242
|
+
|
|
243
|
+
// authentication oauth2 required
|
|
244
|
+
// oauth required
|
|
245
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
250
|
+
|
|
251
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
252
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
253
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
254
|
+
localVarRequestOptions.data = serializeDataIfNeeded(refundAppointmentCommand, localVarRequestOptions, configuration)
|
|
255
|
+
|
|
256
|
+
return {
|
|
257
|
+
url: toPathString(localVarUrlObj),
|
|
258
|
+
options: localVarRequestOptions,
|
|
259
|
+
};
|
|
260
|
+
},
|
|
261
|
+
/**
|
|
262
|
+
*
|
|
263
|
+
* @summary Reschedue appointment
|
|
264
|
+
* @param {string} appointmentId
|
|
265
|
+
* @param {RescheduleAppointmentCommand} [rescheduleAppointmentCommand]
|
|
266
|
+
* @param {*} [options] Override http request option.
|
|
267
|
+
* @throws {RequiredError}
|
|
268
|
+
*/
|
|
269
|
+
apiV2AppointmentsAppointmentIdReschedulePut: async (appointmentId: string, rescheduleAppointmentCommand?: RescheduleAppointmentCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
270
|
+
// verify required parameter 'appointmentId' is not null or undefined
|
|
271
|
+
assertParamExists('apiV2AppointmentsAppointmentIdReschedulePut', 'appointmentId', appointmentId)
|
|
272
|
+
const localVarPath = `/api/v2/appointments/{appointmentId}/reschedule`
|
|
273
|
+
.replace(`{${"appointmentId"}}`, encodeURIComponent(String(appointmentId)));
|
|
274
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
275
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
276
|
+
let baseOptions;
|
|
277
|
+
if (configuration) {
|
|
278
|
+
baseOptions = configuration.baseOptions;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
282
|
+
const localVarHeaderParameter = {} as any;
|
|
283
|
+
const localVarQueryParameter = {} as any;
|
|
284
|
+
|
|
285
|
+
// authentication oauth2 required
|
|
286
|
+
// oauth required
|
|
287
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
292
|
+
|
|
293
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
294
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
295
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
296
|
+
localVarRequestOptions.data = serializeDataIfNeeded(rescheduleAppointmentCommand, localVarRequestOptions, configuration)
|
|
297
|
+
|
|
298
|
+
return {
|
|
299
|
+
url: toPathString(localVarUrlObj),
|
|
300
|
+
options: localVarRequestOptions,
|
|
301
|
+
};
|
|
302
|
+
},
|
|
170
303
|
/**
|
|
171
304
|
*
|
|
172
305
|
* @summary Get appointments
|
|
@@ -350,6 +483,18 @@ export const AppointmentsApiAxiosParamCreator = function (configuration?: Config
|
|
|
350
483
|
export const AppointmentsApiFp = function(configuration?: Configuration) {
|
|
351
484
|
const localVarAxiosParamCreator = AppointmentsApiAxiosParamCreator(configuration)
|
|
352
485
|
return {
|
|
486
|
+
/**
|
|
487
|
+
*
|
|
488
|
+
* @summary Cancel appointment
|
|
489
|
+
* @param {string} appointmentId
|
|
490
|
+
* @param {string} [languageCode]
|
|
491
|
+
* @param {*} [options] Override http request option.
|
|
492
|
+
* @throws {RequiredError}
|
|
493
|
+
*/
|
|
494
|
+
async apiV2AppointmentsAppointmentIdCancelPut(appointmentId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppointmentModel>> {
|
|
495
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2AppointmentsAppointmentIdCancelPut(appointmentId, languageCode, options);
|
|
496
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
497
|
+
},
|
|
353
498
|
/**
|
|
354
499
|
*
|
|
355
500
|
* @summary Get appointment by id
|
|
@@ -386,6 +531,30 @@ export const AppointmentsApiFp = function(configuration?: Configuration) {
|
|
|
386
531
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2AppointmentsAppointmentIdPut(appointmentId, updateAppointmentCommand, options);
|
|
387
532
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
388
533
|
},
|
|
534
|
+
/**
|
|
535
|
+
*
|
|
536
|
+
* @summary Update refund information
|
|
537
|
+
* @param {string} appointmentId
|
|
538
|
+
* @param {RefundAppointmentCommand} [refundAppointmentCommand]
|
|
539
|
+
* @param {*} [options] Override http request option.
|
|
540
|
+
* @throws {RequiredError}
|
|
541
|
+
*/
|
|
542
|
+
async apiV2AppointmentsAppointmentIdRefundPut(appointmentId: string, refundAppointmentCommand?: RefundAppointmentCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppointmentModel>> {
|
|
543
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2AppointmentsAppointmentIdRefundPut(appointmentId, refundAppointmentCommand, options);
|
|
544
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
545
|
+
},
|
|
546
|
+
/**
|
|
547
|
+
*
|
|
548
|
+
* @summary Reschedue appointment
|
|
549
|
+
* @param {string} appointmentId
|
|
550
|
+
* @param {RescheduleAppointmentCommand} [rescheduleAppointmentCommand]
|
|
551
|
+
* @param {*} [options] Override http request option.
|
|
552
|
+
* @throws {RequiredError}
|
|
553
|
+
*/
|
|
554
|
+
async apiV2AppointmentsAppointmentIdReschedulePut(appointmentId: string, rescheduleAppointmentCommand?: RescheduleAppointmentCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppointmentModel>> {
|
|
555
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2AppointmentsAppointmentIdReschedulePut(appointmentId, rescheduleAppointmentCommand, options);
|
|
556
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
557
|
+
},
|
|
389
558
|
/**
|
|
390
559
|
*
|
|
391
560
|
* @summary Get appointments
|
|
@@ -437,6 +606,17 @@ export const AppointmentsApiFp = function(configuration?: Configuration) {
|
|
|
437
606
|
export const AppointmentsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
438
607
|
const localVarFp = AppointmentsApiFp(configuration)
|
|
439
608
|
return {
|
|
609
|
+
/**
|
|
610
|
+
*
|
|
611
|
+
* @summary Cancel appointment
|
|
612
|
+
* @param {string} appointmentId
|
|
613
|
+
* @param {string} [languageCode]
|
|
614
|
+
* @param {*} [options] Override http request option.
|
|
615
|
+
* @throws {RequiredError}
|
|
616
|
+
*/
|
|
617
|
+
apiV2AppointmentsAppointmentIdCancelPut(appointmentId: string, languageCode?: string, options?: any): AxiosPromise<AppointmentModel> {
|
|
618
|
+
return localVarFp.apiV2AppointmentsAppointmentIdCancelPut(appointmentId, languageCode, options).then((request) => request(axios, basePath));
|
|
619
|
+
},
|
|
440
620
|
/**
|
|
441
621
|
*
|
|
442
622
|
* @summary Get appointment by id
|
|
@@ -470,6 +650,28 @@ export const AppointmentsApiFactory = function (configuration?: Configuration, b
|
|
|
470
650
|
apiV2AppointmentsAppointmentIdPut(appointmentId: string, updateAppointmentCommand?: UpdateAppointmentCommand, options?: any): AxiosPromise<string> {
|
|
471
651
|
return localVarFp.apiV2AppointmentsAppointmentIdPut(appointmentId, updateAppointmentCommand, options).then((request) => request(axios, basePath));
|
|
472
652
|
},
|
|
653
|
+
/**
|
|
654
|
+
*
|
|
655
|
+
* @summary Update refund information
|
|
656
|
+
* @param {string} appointmentId
|
|
657
|
+
* @param {RefundAppointmentCommand} [refundAppointmentCommand]
|
|
658
|
+
* @param {*} [options] Override http request option.
|
|
659
|
+
* @throws {RequiredError}
|
|
660
|
+
*/
|
|
661
|
+
apiV2AppointmentsAppointmentIdRefundPut(appointmentId: string, refundAppointmentCommand?: RefundAppointmentCommand, options?: any): AxiosPromise<AppointmentModel> {
|
|
662
|
+
return localVarFp.apiV2AppointmentsAppointmentIdRefundPut(appointmentId, refundAppointmentCommand, options).then((request) => request(axios, basePath));
|
|
663
|
+
},
|
|
664
|
+
/**
|
|
665
|
+
*
|
|
666
|
+
* @summary Reschedue appointment
|
|
667
|
+
* @param {string} appointmentId
|
|
668
|
+
* @param {RescheduleAppointmentCommand} [rescheduleAppointmentCommand]
|
|
669
|
+
* @param {*} [options] Override http request option.
|
|
670
|
+
* @throws {RequiredError}
|
|
671
|
+
*/
|
|
672
|
+
apiV2AppointmentsAppointmentIdReschedulePut(appointmentId: string, rescheduleAppointmentCommand?: RescheduleAppointmentCommand, options?: any): AxiosPromise<AppointmentModel> {
|
|
673
|
+
return localVarFp.apiV2AppointmentsAppointmentIdReschedulePut(appointmentId, rescheduleAppointmentCommand, options).then((request) => request(axios, basePath));
|
|
674
|
+
},
|
|
473
675
|
/**
|
|
474
676
|
*
|
|
475
677
|
* @summary Get appointments
|
|
@@ -512,6 +714,27 @@ export const AppointmentsApiFactory = function (configuration?: Configuration, b
|
|
|
512
714
|
};
|
|
513
715
|
};
|
|
514
716
|
|
|
717
|
+
/**
|
|
718
|
+
* Request parameters for apiV2AppointmentsAppointmentIdCancelPut operation in AppointmentsApi.
|
|
719
|
+
* @export
|
|
720
|
+
* @interface AppointmentsApiApiV2AppointmentsAppointmentIdCancelPutRequest
|
|
721
|
+
*/
|
|
722
|
+
export interface AppointmentsApiApiV2AppointmentsAppointmentIdCancelPutRequest {
|
|
723
|
+
/**
|
|
724
|
+
*
|
|
725
|
+
* @type {string}
|
|
726
|
+
* @memberof AppointmentsApiApiV2AppointmentsAppointmentIdCancelPut
|
|
727
|
+
*/
|
|
728
|
+
readonly appointmentId: string
|
|
729
|
+
|
|
730
|
+
/**
|
|
731
|
+
*
|
|
732
|
+
* @type {string}
|
|
733
|
+
* @memberof AppointmentsApiApiV2AppointmentsAppointmentIdCancelPut
|
|
734
|
+
*/
|
|
735
|
+
readonly languageCode?: string
|
|
736
|
+
}
|
|
737
|
+
|
|
515
738
|
/**
|
|
516
739
|
* Request parameters for apiV2AppointmentsAppointmentIdGet operation in AppointmentsApi.
|
|
517
740
|
* @export
|
|
@@ -575,6 +798,48 @@ export interface AppointmentsApiApiV2AppointmentsAppointmentIdPutRequest {
|
|
|
575
798
|
readonly updateAppointmentCommand?: UpdateAppointmentCommand
|
|
576
799
|
}
|
|
577
800
|
|
|
801
|
+
/**
|
|
802
|
+
* Request parameters for apiV2AppointmentsAppointmentIdRefundPut operation in AppointmentsApi.
|
|
803
|
+
* @export
|
|
804
|
+
* @interface AppointmentsApiApiV2AppointmentsAppointmentIdRefundPutRequest
|
|
805
|
+
*/
|
|
806
|
+
export interface AppointmentsApiApiV2AppointmentsAppointmentIdRefundPutRequest {
|
|
807
|
+
/**
|
|
808
|
+
*
|
|
809
|
+
* @type {string}
|
|
810
|
+
* @memberof AppointmentsApiApiV2AppointmentsAppointmentIdRefundPut
|
|
811
|
+
*/
|
|
812
|
+
readonly appointmentId: string
|
|
813
|
+
|
|
814
|
+
/**
|
|
815
|
+
*
|
|
816
|
+
* @type {RefundAppointmentCommand}
|
|
817
|
+
* @memberof AppointmentsApiApiV2AppointmentsAppointmentIdRefundPut
|
|
818
|
+
*/
|
|
819
|
+
readonly refundAppointmentCommand?: RefundAppointmentCommand
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
/**
|
|
823
|
+
* Request parameters for apiV2AppointmentsAppointmentIdReschedulePut operation in AppointmentsApi.
|
|
824
|
+
* @export
|
|
825
|
+
* @interface AppointmentsApiApiV2AppointmentsAppointmentIdReschedulePutRequest
|
|
826
|
+
*/
|
|
827
|
+
export interface AppointmentsApiApiV2AppointmentsAppointmentIdReschedulePutRequest {
|
|
828
|
+
/**
|
|
829
|
+
*
|
|
830
|
+
* @type {string}
|
|
831
|
+
* @memberof AppointmentsApiApiV2AppointmentsAppointmentIdReschedulePut
|
|
832
|
+
*/
|
|
833
|
+
readonly appointmentId: string
|
|
834
|
+
|
|
835
|
+
/**
|
|
836
|
+
*
|
|
837
|
+
* @type {RescheduleAppointmentCommand}
|
|
838
|
+
* @memberof AppointmentsApiApiV2AppointmentsAppointmentIdReschedulePut
|
|
839
|
+
*/
|
|
840
|
+
readonly rescheduleAppointmentCommand?: RescheduleAppointmentCommand
|
|
841
|
+
}
|
|
842
|
+
|
|
578
843
|
/**
|
|
579
844
|
* Request parameters for apiV2AppointmentsGet operation in AppointmentsApi.
|
|
580
845
|
* @export
|
|
@@ -743,6 +1008,18 @@ export interface AppointmentsApiApiV2AppointmentsRequestIdPostRequest {
|
|
|
743
1008
|
* @extends {BaseAPI}
|
|
744
1009
|
*/
|
|
745
1010
|
export class AppointmentsApi extends BaseAPI {
|
|
1011
|
+
/**
|
|
1012
|
+
*
|
|
1013
|
+
* @summary Cancel appointment
|
|
1014
|
+
* @param {AppointmentsApiApiV2AppointmentsAppointmentIdCancelPutRequest} requestParameters Request parameters.
|
|
1015
|
+
* @param {*} [options] Override http request option.
|
|
1016
|
+
* @throws {RequiredError}
|
|
1017
|
+
* @memberof AppointmentsApi
|
|
1018
|
+
*/
|
|
1019
|
+
public apiV2AppointmentsAppointmentIdCancelPut(requestParameters: AppointmentsApiApiV2AppointmentsAppointmentIdCancelPutRequest, options?: AxiosRequestConfig) {
|
|
1020
|
+
return AppointmentsApiFp(this.configuration).apiV2AppointmentsAppointmentIdCancelPut(requestParameters.appointmentId, requestParameters.languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
1021
|
+
}
|
|
1022
|
+
|
|
746
1023
|
/**
|
|
747
1024
|
*
|
|
748
1025
|
* @summary Get appointment by id
|
|
@@ -779,6 +1056,30 @@ export class AppointmentsApi extends BaseAPI {
|
|
|
779
1056
|
return AppointmentsApiFp(this.configuration).apiV2AppointmentsAppointmentIdPut(requestParameters.appointmentId, requestParameters.updateAppointmentCommand, options).then((request) => request(this.axios, this.basePath));
|
|
780
1057
|
}
|
|
781
1058
|
|
|
1059
|
+
/**
|
|
1060
|
+
*
|
|
1061
|
+
* @summary Update refund information
|
|
1062
|
+
* @param {AppointmentsApiApiV2AppointmentsAppointmentIdRefundPutRequest} requestParameters Request parameters.
|
|
1063
|
+
* @param {*} [options] Override http request option.
|
|
1064
|
+
* @throws {RequiredError}
|
|
1065
|
+
* @memberof AppointmentsApi
|
|
1066
|
+
*/
|
|
1067
|
+
public apiV2AppointmentsAppointmentIdRefundPut(requestParameters: AppointmentsApiApiV2AppointmentsAppointmentIdRefundPutRequest, options?: AxiosRequestConfig) {
|
|
1068
|
+
return AppointmentsApiFp(this.configuration).apiV2AppointmentsAppointmentIdRefundPut(requestParameters.appointmentId, requestParameters.refundAppointmentCommand, options).then((request) => request(this.axios, this.basePath));
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1071
|
+
/**
|
|
1072
|
+
*
|
|
1073
|
+
* @summary Reschedue appointment
|
|
1074
|
+
* @param {AppointmentsApiApiV2AppointmentsAppointmentIdReschedulePutRequest} requestParameters Request parameters.
|
|
1075
|
+
* @param {*} [options] Override http request option.
|
|
1076
|
+
* @throws {RequiredError}
|
|
1077
|
+
* @memberof AppointmentsApi
|
|
1078
|
+
*/
|
|
1079
|
+
public apiV2AppointmentsAppointmentIdReschedulePut(requestParameters: AppointmentsApiApiV2AppointmentsAppointmentIdReschedulePutRequest, options?: AxiosRequestConfig) {
|
|
1080
|
+
return AppointmentsApiFp(this.configuration).apiV2AppointmentsAppointmentIdReschedulePut(requestParameters.appointmentId, requestParameters.rescheduleAppointmentCommand, options).then((request) => request(this.axios, this.basePath));
|
|
1081
|
+
}
|
|
1082
|
+
|
|
782
1083
|
/**
|
|
783
1084
|
*
|
|
784
1085
|
* @summary Get appointments
|