ch-admin-api-client-typescript 5.21.22 → 5.22.1

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.
@@ -110,9 +110,12 @@ export declare const AppointmentsApiAxiosParamCreator: (configuration?: Configur
110
110
  * @param {string} [serviceId]
111
111
  * @param {boolean} [isOpen]
112
112
  * @param {boolean} [isCompleted]
113
+ * @param {Date} [start]
114
+ * @param {Date} [end]
113
115
  * @param {boolean} [requiresPaymentVerified]
114
116
  * @param {boolean} [refundInformationIsReady]
115
117
  * @param {AppointmentStatus} [status]
118
+ * @param {Array<AppointmentStatus>} [appointmentStatus]
116
119
  * @param {AppointmentType} [appointmentType]
117
120
  * @param {SortingOrder} [sortRequestDate]
118
121
  * @param {SortingOrder} [sortConfirmedDateStart]
@@ -127,7 +130,7 @@ export declare const AppointmentsApiAxiosParamCreator: (configuration?: Configur
127
130
  * @param {*} [options] Override http request option.
128
131
  * @throws {RequiredError}
129
132
  */
130
- apiV1AppointmentsGet: (id?: string, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, dealId?: string, dealName?: string, dealPackageId?: string, hospitalSpecialtyId?: string, serviceId?: string, isOpen?: boolean, isCompleted?: boolean, requiresPaymentVerified?: boolean, refundInformationIsReady?: boolean, status?: AppointmentStatus, appointmentType?: AppointmentType, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, paymentEnabled?: boolean, languageCode?: string, showHidden?: boolean, isOnline?: boolean, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) => Promise<RequestArgs>;
133
+ apiV1AppointmentsGet: (id?: string, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, dealId?: string, dealName?: string, dealPackageId?: string, hospitalSpecialtyId?: string, serviceId?: string, isOpen?: boolean, isCompleted?: boolean, start?: Date, end?: Date, requiresPaymentVerified?: boolean, refundInformationIsReady?: boolean, status?: AppointmentStatus, appointmentStatus?: Array<AppointmentStatus>, appointmentType?: AppointmentType, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, paymentEnabled?: boolean, languageCode?: string, showHidden?: boolean, isOnline?: boolean, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) => Promise<RequestArgs>;
131
134
  };
132
135
  /**
133
136
  * AppointmentsApi - functional programming interface
@@ -220,9 +223,12 @@ export declare const AppointmentsApiFp: (configuration?: Configuration) => {
220
223
  * @param {string} [serviceId]
221
224
  * @param {boolean} [isOpen]
222
225
  * @param {boolean} [isCompleted]
226
+ * @param {Date} [start]
227
+ * @param {Date} [end]
223
228
  * @param {boolean} [requiresPaymentVerified]
224
229
  * @param {boolean} [refundInformationIsReady]
225
230
  * @param {AppointmentStatus} [status]
231
+ * @param {Array<AppointmentStatus>} [appointmentStatus]
226
232
  * @param {AppointmentType} [appointmentType]
227
233
  * @param {SortingOrder} [sortRequestDate]
228
234
  * @param {SortingOrder} [sortConfirmedDateStart]
@@ -237,7 +243,7 @@ export declare const AppointmentsApiFp: (configuration?: Configuration) => {
237
243
  * @param {*} [options] Override http request option.
238
244
  * @throws {RequiredError}
239
245
  */
240
- apiV1AppointmentsGet(id?: string, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, dealId?: string, dealName?: string, dealPackageId?: string, hospitalSpecialtyId?: string, serviceId?: string, isOpen?: boolean, isCompleted?: boolean, requiresPaymentVerified?: boolean, refundInformationIsReady?: boolean, status?: AppointmentStatus, appointmentType?: AppointmentType, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, paymentEnabled?: boolean, languageCode?: string, showHidden?: boolean, isOnline?: boolean, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppointmentsModel>>;
246
+ apiV1AppointmentsGet(id?: string, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, dealId?: string, dealName?: string, dealPackageId?: string, hospitalSpecialtyId?: string, serviceId?: string, isOpen?: boolean, isCompleted?: boolean, start?: Date, end?: Date, requiresPaymentVerified?: boolean, refundInformationIsReady?: boolean, status?: AppointmentStatus, appointmentStatus?: Array<AppointmentStatus>, appointmentType?: AppointmentType, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, paymentEnabled?: boolean, languageCode?: string, showHidden?: boolean, isOnline?: boolean, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppointmentsModel>>;
241
247
  };
242
248
  /**
243
249
  * AppointmentsApi - factory interface
@@ -330,9 +336,12 @@ export declare const AppointmentsApiFactory: (configuration?: Configuration, bas
330
336
  * @param {string} [serviceId]
331
337
  * @param {boolean} [isOpen]
332
338
  * @param {boolean} [isCompleted]
339
+ * @param {Date} [start]
340
+ * @param {Date} [end]
333
341
  * @param {boolean} [requiresPaymentVerified]
334
342
  * @param {boolean} [refundInformationIsReady]
335
343
  * @param {AppointmentStatus} [status]
344
+ * @param {Array<AppointmentStatus>} [appointmentStatus]
336
345
  * @param {AppointmentType} [appointmentType]
337
346
  * @param {SortingOrder} [sortRequestDate]
338
347
  * @param {SortingOrder} [sortConfirmedDateStart]
@@ -347,7 +356,7 @@ export declare const AppointmentsApiFactory: (configuration?: Configuration, bas
347
356
  * @param {*} [options] Override http request option.
348
357
  * @throws {RequiredError}
349
358
  */
350
- apiV1AppointmentsGet(id?: string, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, dealId?: string, dealName?: string, dealPackageId?: string, hospitalSpecialtyId?: string, serviceId?: string, isOpen?: boolean, isCompleted?: boolean, requiresPaymentVerified?: boolean, refundInformationIsReady?: boolean, status?: AppointmentStatus, appointmentType?: AppointmentType, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, paymentEnabled?: boolean, languageCode?: string, showHidden?: boolean, isOnline?: boolean, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<AppointmentsModel>;
359
+ apiV1AppointmentsGet(id?: string, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, dealId?: string, dealName?: string, dealPackageId?: string, hospitalSpecialtyId?: string, serviceId?: string, isOpen?: boolean, isCompleted?: boolean, start?: Date, end?: Date, requiresPaymentVerified?: boolean, refundInformationIsReady?: boolean, status?: AppointmentStatus, appointmentStatus?: Array<AppointmentStatus>, appointmentType?: AppointmentType, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, paymentEnabled?: boolean, languageCode?: string, showHidden?: boolean, isOnline?: boolean, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<AppointmentsModel>;
351
360
  };
352
361
  /**
353
362
  * Request parameters for apiV1AppointmentsAppointmentIdApprovePut operation in AppointmentsApi.
@@ -573,6 +582,18 @@ export interface AppointmentsApiApiV1AppointmentsGetRequest {
573
582
  * @memberof AppointmentsApiApiV1AppointmentsGet
574
583
  */
575
584
  readonly isCompleted?: boolean;
585
+ /**
586
+ *
587
+ * @type {Date}
588
+ * @memberof AppointmentsApiApiV1AppointmentsGet
589
+ */
590
+ readonly start?: Date;
591
+ /**
592
+ *
593
+ * @type {Date}
594
+ * @memberof AppointmentsApiApiV1AppointmentsGet
595
+ */
596
+ readonly end?: Date;
576
597
  /**
577
598
  *
578
599
  * @type {boolean}
@@ -591,6 +612,12 @@ export interface AppointmentsApiApiV1AppointmentsGetRequest {
591
612
  * @memberof AppointmentsApiApiV1AppointmentsGet
592
613
  */
593
614
  readonly status?: AppointmentStatus;
615
+ /**
616
+ *
617
+ * @type {Array<AppointmentStatus>}
618
+ * @memberof AppointmentsApiApiV1AppointmentsGet
619
+ */
620
+ readonly appointmentStatus?: Array<AppointmentStatus>;
594
621
  /**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OG;IACI,oBAAoB,CAAC,iBAAiB,GAAE,0CAA+C,EAAE,OAAO,CAAC,EAAE,kBAAkB;CAG/H"}
@@ -471,9 +471,12 @@ var AppointmentsApiAxiosParamCreator = function (configuration) {
471
471
  * @param {string} [serviceId]
472
472
  * @param {boolean} [isOpen]
473
473
  * @param {boolean} [isCompleted]
474
+ * @param {Date} [start]
475
+ * @param {Date} [end]
474
476
  * @param {boolean} [requiresPaymentVerified]
475
477
  * @param {boolean} [refundInformationIsReady]
476
478
  * @param {AppointmentStatus} [status]
479
+ * @param {Array<AppointmentStatus>} [appointmentStatus]
477
480
  * @param {AppointmentType} [appointmentType]
478
481
  * @param {SortingOrder} [sortRequestDate]
479
482
  * @param {SortingOrder} [sortConfirmedDateStart]
@@ -488,7 +491,7 @@ var AppointmentsApiAxiosParamCreator = function (configuration) {
488
491
  * @param {*} [options] Override http request option.
489
492
  * @throws {RequiredError}
490
493
  */
491
- apiV1AppointmentsGet: function (id, userId, userName, hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, dealPackageId, hospitalSpecialtyId, serviceId, isOpen, isCompleted, requiresPaymentVerified, refundInformationIsReady, status, appointmentType, sortRequestDate, sortConfirmedDateStart, paymentEnabled, languageCode, showHidden, isOnline, isExternal, page, limit, lastRetrieved, options) {
494
+ apiV1AppointmentsGet: function (id, userId, userName, hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, dealPackageId, hospitalSpecialtyId, serviceId, isOpen, isCompleted, start, end, requiresPaymentVerified, refundInformationIsReady, status, appointmentStatus, appointmentType, sortRequestDate, sortConfirmedDateStart, paymentEnabled, languageCode, showHidden, isOnline, isExternal, page, limit, lastRetrieved, options) {
492
495
  if (options === void 0) { options = {}; }
493
496
  return __awaiter(_this, void 0, void 0, function () {
494
497
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -552,6 +555,16 @@ var AppointmentsApiAxiosParamCreator = function (configuration) {
552
555
  if (isCompleted !== undefined) {
553
556
  localVarQueryParameter['IsCompleted'] = isCompleted;
554
557
  }
558
+ if (start !== undefined) {
559
+ localVarQueryParameter['Start'] = (start instanceof Date) ?
560
+ start.toISOString() :
561
+ start;
562
+ }
563
+ if (end !== undefined) {
564
+ localVarQueryParameter['End'] = (end instanceof Date) ?
565
+ end.toISOString() :
566
+ end;
567
+ }
555
568
  if (requiresPaymentVerified !== undefined) {
556
569
  localVarQueryParameter['RequiresPaymentVerified'] = requiresPaymentVerified;
557
570
  }
@@ -561,6 +574,9 @@ var AppointmentsApiAxiosParamCreator = function (configuration) {
561
574
  if (status !== undefined) {
562
575
  localVarQueryParameter['Status'] = status;
563
576
  }
577
+ if (appointmentStatus) {
578
+ localVarQueryParameter['AppointmentStatus'] = appointmentStatus;
579
+ }
564
580
  if (appointmentType !== undefined) {
565
581
  localVarQueryParameter['AppointmentType'] = appointmentType;
566
582
  }
@@ -799,9 +815,12 @@ var AppointmentsApiFp = function (configuration) {
799
815
  * @param {string} [serviceId]
800
816
  * @param {boolean} [isOpen]
801
817
  * @param {boolean} [isCompleted]
818
+ * @param {Date} [start]
819
+ * @param {Date} [end]
802
820
  * @param {boolean} [requiresPaymentVerified]
803
821
  * @param {boolean} [refundInformationIsReady]
804
822
  * @param {AppointmentStatus} [status]
823
+ * @param {Array<AppointmentStatus>} [appointmentStatus]
805
824
  * @param {AppointmentType} [appointmentType]
806
825
  * @param {SortingOrder} [sortRequestDate]
807
826
  * @param {SortingOrder} [sortConfirmedDateStart]
@@ -816,12 +835,12 @@ var AppointmentsApiFp = function (configuration) {
816
835
  * @param {*} [options] Override http request option.
817
836
  * @throws {RequiredError}
818
837
  */
819
- apiV1AppointmentsGet: function (id, userId, userName, hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, dealPackageId, hospitalSpecialtyId, serviceId, isOpen, isCompleted, requiresPaymentVerified, refundInformationIsReady, status, appointmentType, sortRequestDate, sortConfirmedDateStart, paymentEnabled, languageCode, showHidden, isOnline, isExternal, page, limit, lastRetrieved, options) {
838
+ apiV1AppointmentsGet: function (id, userId, userName, hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, dealPackageId, hospitalSpecialtyId, serviceId, isOpen, isCompleted, start, end, requiresPaymentVerified, refundInformationIsReady, status, appointmentStatus, appointmentType, sortRequestDate, sortConfirmedDateStart, paymentEnabled, languageCode, showHidden, isOnline, isExternal, page, limit, lastRetrieved, options) {
820
839
  return __awaiter(this, void 0, void 0, function () {
821
840
  var localVarAxiosArgs;
822
841
  return __generator(this, function (_a) {
823
842
  switch (_a.label) {
824
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1AppointmentsGet(id, userId, userName, hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, dealPackageId, hospitalSpecialtyId, serviceId, isOpen, isCompleted, requiresPaymentVerified, refundInformationIsReady, status, appointmentType, sortRequestDate, sortConfirmedDateStart, paymentEnabled, languageCode, showHidden, isOnline, isExternal, page, limit, lastRetrieved, options)];
843
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1AppointmentsGet(id, userId, userName, hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, dealPackageId, hospitalSpecialtyId, serviceId, isOpen, isCompleted, start, end, requiresPaymentVerified, refundInformationIsReady, status, appointmentStatus, appointmentType, sortRequestDate, sortConfirmedDateStart, paymentEnabled, languageCode, showHidden, isOnline, isExternal, page, limit, lastRetrieved, options)];
825
844
  case 1:
826
845
  localVarAxiosArgs = _a.sent();
827
846
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -941,9 +960,12 @@ var AppointmentsApiFactory = function (configuration, basePath, axios) {
941
960
  * @param {string} [serviceId]
942
961
  * @param {boolean} [isOpen]
943
962
  * @param {boolean} [isCompleted]
963
+ * @param {Date} [start]
964
+ * @param {Date} [end]
944
965
  * @param {boolean} [requiresPaymentVerified]
945
966
  * @param {boolean} [refundInformationIsReady]
946
967
  * @param {AppointmentStatus} [status]
968
+ * @param {Array<AppointmentStatus>} [appointmentStatus]
947
969
  * @param {AppointmentType} [appointmentType]
948
970
  * @param {SortingOrder} [sortRequestDate]
949
971
  * @param {SortingOrder} [sortConfirmedDateStart]
@@ -958,8 +980,8 @@ var AppointmentsApiFactory = function (configuration, basePath, axios) {
958
980
  * @param {*} [options] Override http request option.
959
981
  * @throws {RequiredError}
960
982
  */
961
- apiV1AppointmentsGet: function (id, userId, userName, hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, dealPackageId, hospitalSpecialtyId, serviceId, isOpen, isCompleted, requiresPaymentVerified, refundInformationIsReady, status, appointmentType, sortRequestDate, sortConfirmedDateStart, paymentEnabled, languageCode, showHidden, isOnline, isExternal, page, limit, lastRetrieved, options) {
962
- return localVarFp.apiV1AppointmentsGet(id, userId, userName, hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, dealPackageId, hospitalSpecialtyId, serviceId, isOpen, isCompleted, requiresPaymentVerified, refundInformationIsReady, status, appointmentType, sortRequestDate, sortConfirmedDateStart, paymentEnabled, languageCode, showHidden, isOnline, isExternal, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
983
+ apiV1AppointmentsGet: function (id, userId, userName, hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, dealPackageId, hospitalSpecialtyId, serviceId, isOpen, isCompleted, start, end, requiresPaymentVerified, refundInformationIsReady, status, appointmentStatus, appointmentType, sortRequestDate, sortConfirmedDateStart, paymentEnabled, languageCode, showHidden, isOnline, isExternal, page, limit, lastRetrieved, options) {
984
+ return localVarFp.apiV1AppointmentsGet(id, userId, userName, hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, dealPackageId, hospitalSpecialtyId, serviceId, isOpen, isCompleted, start, end, requiresPaymentVerified, refundInformationIsReady, status, appointmentStatus, appointmentType, sortRequestDate, sortConfirmedDateStart, paymentEnabled, languageCode, showHidden, isOnline, isExternal, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
963
985
  },
964
986
  };
965
987
  };
@@ -1082,7 +1104,7 @@ var AppointmentsApi = /** @class */ (function (_super) {
1082
1104
  AppointmentsApi.prototype.apiV1AppointmentsGet = function (requestParameters, options) {
1083
1105
  var _this = this;
1084
1106
  if (requestParameters === void 0) { requestParameters = {}; }
1085
- return (0, exports.AppointmentsApiFp)(this.configuration).apiV1AppointmentsGet(requestParameters.id, requestParameters.userId, requestParameters.userName, requestParameters.hospitalId, requestParameters.hospitalName, requestParameters.doctorId, requestParameters.doctorName, requestParameters.dealId, requestParameters.dealName, requestParameters.dealPackageId, requestParameters.hospitalSpecialtyId, requestParameters.serviceId, requestParameters.isOpen, requestParameters.isCompleted, requestParameters.requiresPaymentVerified, requestParameters.refundInformationIsReady, requestParameters.status, requestParameters.appointmentType, requestParameters.sortRequestDate, requestParameters.sortConfirmedDateStart, requestParameters.paymentEnabled, requestParameters.languageCode, requestParameters.showHidden, requestParameters.isOnline, requestParameters.isExternal, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
1107
+ return (0, exports.AppointmentsApiFp)(this.configuration).apiV1AppointmentsGet(requestParameters.id, requestParameters.userId, requestParameters.userName, requestParameters.hospitalId, requestParameters.hospitalName, requestParameters.doctorId, requestParameters.doctorName, requestParameters.dealId, requestParameters.dealName, requestParameters.dealPackageId, requestParameters.hospitalSpecialtyId, requestParameters.serviceId, requestParameters.isOpen, requestParameters.isCompleted, requestParameters.start, requestParameters.end, requestParameters.requiresPaymentVerified, requestParameters.refundInformationIsReady, requestParameters.status, requestParameters.appointmentStatus, requestParameters.appointmentType, requestParameters.sortRequestDate, requestParameters.sortConfirmedDateStart, requestParameters.paymentEnabled, requestParameters.languageCode, requestParameters.showHidden, requestParameters.isOnline, requestParameters.isExternal, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
1086
1108
  };
1087
1109
  return AppointmentsApi;
1088
1110
  }(base_1.BaseAPI));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ch-admin-api-client-typescript",
3
- "version": "5.21.22",
3
+ "version": "5.22.1",
4
4
  "description": "Openapi generated typescript-axios client for CloudHospital admin",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -386,9 +386,12 @@ export const AppointmentsApiAxiosParamCreator = function (configuration?: Config
386
386
  * @param {string} [serviceId]
387
387
  * @param {boolean} [isOpen]
388
388
  * @param {boolean} [isCompleted]
389
+ * @param {Date} [start]
390
+ * @param {Date} [end]
389
391
  * @param {boolean} [requiresPaymentVerified]
390
392
  * @param {boolean} [refundInformationIsReady]
391
393
  * @param {AppointmentStatus} [status]
394
+ * @param {Array<AppointmentStatus>} [appointmentStatus]
392
395
  * @param {AppointmentType} [appointmentType]
393
396
  * @param {SortingOrder} [sortRequestDate]
394
397
  * @param {SortingOrder} [sortConfirmedDateStart]
@@ -403,7 +406,7 @@ export const AppointmentsApiAxiosParamCreator = function (configuration?: Config
403
406
  * @param {*} [options] Override http request option.
404
407
  * @throws {RequiredError}
405
408
  */
406
- apiV1AppointmentsGet: async (id?: string, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, dealId?: string, dealName?: string, dealPackageId?: string, hospitalSpecialtyId?: string, serviceId?: string, isOpen?: boolean, isCompleted?: boolean, requiresPaymentVerified?: boolean, refundInformationIsReady?: boolean, status?: AppointmentStatus, appointmentType?: AppointmentType, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, paymentEnabled?: boolean, languageCode?: string, showHidden?: boolean, isOnline?: boolean, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
409
+ apiV1AppointmentsGet: async (id?: string, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, dealId?: string, dealName?: string, dealPackageId?: string, hospitalSpecialtyId?: string, serviceId?: string, isOpen?: boolean, isCompleted?: boolean, start?: Date, end?: Date, requiresPaymentVerified?: boolean, refundInformationIsReady?: boolean, status?: AppointmentStatus, appointmentStatus?: Array<AppointmentStatus>, appointmentType?: AppointmentType, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, paymentEnabled?: boolean, languageCode?: string, showHidden?: boolean, isOnline?: boolean, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
407
410
  const localVarPath = `/api/v1/appointments`;
408
411
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
409
412
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -476,6 +479,18 @@ export const AppointmentsApiAxiosParamCreator = function (configuration?: Config
476
479
  localVarQueryParameter['IsCompleted'] = isCompleted;
477
480
  }
478
481
 
482
+ if (start !== undefined) {
483
+ localVarQueryParameter['Start'] = (start as any instanceof Date) ?
484
+ (start as any).toISOString() :
485
+ start;
486
+ }
487
+
488
+ if (end !== undefined) {
489
+ localVarQueryParameter['End'] = (end as any instanceof Date) ?
490
+ (end as any).toISOString() :
491
+ end;
492
+ }
493
+
479
494
  if (requiresPaymentVerified !== undefined) {
480
495
  localVarQueryParameter['RequiresPaymentVerified'] = requiresPaymentVerified;
481
496
  }
@@ -488,6 +503,10 @@ export const AppointmentsApiAxiosParamCreator = function (configuration?: Config
488
503
  localVarQueryParameter['Status'] = status;
489
504
  }
490
505
 
506
+ if (appointmentStatus) {
507
+ localVarQueryParameter['AppointmentStatus'] = appointmentStatus;
508
+ }
509
+
491
510
  if (appointmentType !== undefined) {
492
511
  localVarQueryParameter['AppointmentType'] = appointmentType;
493
512
  }
@@ -665,9 +684,12 @@ export const AppointmentsApiFp = function(configuration?: Configuration) {
665
684
  * @param {string} [serviceId]
666
685
  * @param {boolean} [isOpen]
667
686
  * @param {boolean} [isCompleted]
687
+ * @param {Date} [start]
688
+ * @param {Date} [end]
668
689
  * @param {boolean} [requiresPaymentVerified]
669
690
  * @param {boolean} [refundInformationIsReady]
670
691
  * @param {AppointmentStatus} [status]
692
+ * @param {Array<AppointmentStatus>} [appointmentStatus]
671
693
  * @param {AppointmentType} [appointmentType]
672
694
  * @param {SortingOrder} [sortRequestDate]
673
695
  * @param {SortingOrder} [sortConfirmedDateStart]
@@ -682,8 +704,8 @@ export const AppointmentsApiFp = function(configuration?: Configuration) {
682
704
  * @param {*} [options] Override http request option.
683
705
  * @throws {RequiredError}
684
706
  */
685
- async apiV1AppointmentsGet(id?: string, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, dealId?: string, dealName?: string, dealPackageId?: string, hospitalSpecialtyId?: string, serviceId?: string, isOpen?: boolean, isCompleted?: boolean, requiresPaymentVerified?: boolean, refundInformationIsReady?: boolean, status?: AppointmentStatus, appointmentType?: AppointmentType, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, paymentEnabled?: boolean, languageCode?: string, showHidden?: boolean, isOnline?: boolean, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppointmentsModel>> {
686
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AppointmentsGet(id, userId, userName, hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, dealPackageId, hospitalSpecialtyId, serviceId, isOpen, isCompleted, requiresPaymentVerified, refundInformationIsReady, status, appointmentType, sortRequestDate, sortConfirmedDateStart, paymentEnabled, languageCode, showHidden, isOnline, isExternal, page, limit, lastRetrieved, options);
707
+ async apiV1AppointmentsGet(id?: string, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, dealId?: string, dealName?: string, dealPackageId?: string, hospitalSpecialtyId?: string, serviceId?: string, isOpen?: boolean, isCompleted?: boolean, start?: Date, end?: Date, requiresPaymentVerified?: boolean, refundInformationIsReady?: boolean, status?: AppointmentStatus, appointmentStatus?: Array<AppointmentStatus>, appointmentType?: AppointmentType, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, paymentEnabled?: boolean, languageCode?: string, showHidden?: boolean, isOnline?: boolean, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppointmentsModel>> {
708
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AppointmentsGet(id, userId, userName, hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, dealPackageId, hospitalSpecialtyId, serviceId, isOpen, isCompleted, start, end, requiresPaymentVerified, refundInformationIsReady, status, appointmentStatus, appointmentType, sortRequestDate, sortConfirmedDateStart, paymentEnabled, languageCode, showHidden, isOnline, isExternal, page, limit, lastRetrieved, options);
687
709
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
688
710
  },
689
711
  }
@@ -798,9 +820,12 @@ export const AppointmentsApiFactory = function (configuration?: Configuration, b
798
820
  * @param {string} [serviceId]
799
821
  * @param {boolean} [isOpen]
800
822
  * @param {boolean} [isCompleted]
823
+ * @param {Date} [start]
824
+ * @param {Date} [end]
801
825
  * @param {boolean} [requiresPaymentVerified]
802
826
  * @param {boolean} [refundInformationIsReady]
803
827
  * @param {AppointmentStatus} [status]
828
+ * @param {Array<AppointmentStatus>} [appointmentStatus]
804
829
  * @param {AppointmentType} [appointmentType]
805
830
  * @param {SortingOrder} [sortRequestDate]
806
831
  * @param {SortingOrder} [sortConfirmedDateStart]
@@ -815,8 +840,8 @@ export const AppointmentsApiFactory = function (configuration?: Configuration, b
815
840
  * @param {*} [options] Override http request option.
816
841
  * @throws {RequiredError}
817
842
  */
818
- apiV1AppointmentsGet(id?: string, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, dealId?: string, dealName?: string, dealPackageId?: string, hospitalSpecialtyId?: string, serviceId?: string, isOpen?: boolean, isCompleted?: boolean, requiresPaymentVerified?: boolean, refundInformationIsReady?: boolean, status?: AppointmentStatus, appointmentType?: AppointmentType, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, paymentEnabled?: boolean, languageCode?: string, showHidden?: boolean, isOnline?: boolean, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<AppointmentsModel> {
819
- return localVarFp.apiV1AppointmentsGet(id, userId, userName, hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, dealPackageId, hospitalSpecialtyId, serviceId, isOpen, isCompleted, requiresPaymentVerified, refundInformationIsReady, status, appointmentType, sortRequestDate, sortConfirmedDateStart, paymentEnabled, languageCode, showHidden, isOnline, isExternal, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
843
+ apiV1AppointmentsGet(id?: string, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, dealId?: string, dealName?: string, dealPackageId?: string, hospitalSpecialtyId?: string, serviceId?: string, isOpen?: boolean, isCompleted?: boolean, start?: Date, end?: Date, requiresPaymentVerified?: boolean, refundInformationIsReady?: boolean, status?: AppointmentStatus, appointmentStatus?: Array<AppointmentStatus>, appointmentType?: AppointmentType, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, paymentEnabled?: boolean, languageCode?: string, showHidden?: boolean, isOnline?: boolean, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<AppointmentsModel> {
844
+ return localVarFp.apiV1AppointmentsGet(id, userId, userName, hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, dealPackageId, hospitalSpecialtyId, serviceId, isOpen, isCompleted, start, end, requiresPaymentVerified, refundInformationIsReady, status, appointmentStatus, appointmentType, sortRequestDate, sortConfirmedDateStart, paymentEnabled, languageCode, showHidden, isOnline, isExternal, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
820
845
  },
821
846
  };
822
847
  };
@@ -1072,6 +1097,20 @@ export interface AppointmentsApiApiV1AppointmentsGetRequest {
1072
1097
  */
1073
1098
  readonly isCompleted?: boolean
1074
1099
 
1100
+ /**
1101
+ *
1102
+ * @type {Date}
1103
+ * @memberof AppointmentsApiApiV1AppointmentsGet
1104
+ */
1105
+ readonly start?: Date
1106
+
1107
+ /**
1108
+ *
1109
+ * @type {Date}
1110
+ * @memberof AppointmentsApiApiV1AppointmentsGet
1111
+ */
1112
+ readonly end?: Date
1113
+
1075
1114
  /**
1076
1115
  *
1077
1116
  * @type {boolean}
@@ -1093,6 +1132,13 @@ export interface AppointmentsApiApiV1AppointmentsGetRequest {
1093
1132
  */
1094
1133
  readonly status?: AppointmentStatus
1095
1134
 
1135
+ /**
1136
+ *
1137
+ * @type {Array<AppointmentStatus>}
1138
+ * @memberof AppointmentsApiApiV1AppointmentsGet
1139
+ */
1140
+ readonly appointmentStatus?: Array<AppointmentStatus>
1141
+
1096
1142
  /**
1097
1143
  *
1098
1144
  * @type {AppointmentType}
@@ -1283,6 +1329,6 @@ export class AppointmentsApi extends BaseAPI {
1283
1329
  * @memberof AppointmentsApi
1284
1330
  */
1285
1331
  public apiV1AppointmentsGet(requestParameters: AppointmentsApiApiV1AppointmentsGetRequest = {}, options?: AxiosRequestConfig) {
1286
- return AppointmentsApiFp(this.configuration).apiV1AppointmentsGet(requestParameters.id, requestParameters.userId, requestParameters.userName, requestParameters.hospitalId, requestParameters.hospitalName, requestParameters.doctorId, requestParameters.doctorName, requestParameters.dealId, requestParameters.dealName, requestParameters.dealPackageId, requestParameters.hospitalSpecialtyId, requestParameters.serviceId, requestParameters.isOpen, requestParameters.isCompleted, requestParameters.requiresPaymentVerified, requestParameters.refundInformationIsReady, requestParameters.status, requestParameters.appointmentType, requestParameters.sortRequestDate, requestParameters.sortConfirmedDateStart, requestParameters.paymentEnabled, requestParameters.languageCode, requestParameters.showHidden, requestParameters.isOnline, requestParameters.isExternal, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
1332
+ return AppointmentsApiFp(this.configuration).apiV1AppointmentsGet(requestParameters.id, requestParameters.userId, requestParameters.userName, requestParameters.hospitalId, requestParameters.hospitalName, requestParameters.doctorId, requestParameters.doctorName, requestParameters.dealId, requestParameters.dealName, requestParameters.dealPackageId, requestParameters.hospitalSpecialtyId, requestParameters.serviceId, requestParameters.isOpen, requestParameters.isCompleted, requestParameters.start, requestParameters.end, requestParameters.requiresPaymentVerified, requestParameters.refundInformationIsReady, requestParameters.status, requestParameters.appointmentStatus, requestParameters.appointmentType, requestParameters.sortRequestDate, requestParameters.sortConfirmedDateStart, requestParameters.paymentEnabled, requestParameters.languageCode, requestParameters.showHidden, requestParameters.isOnline, requestParameters.isExternal, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
1287
1333
  }
1288
1334
  }