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.
Files changed (49) hide show
  1. package/lib/api/appointments-api.d.ts +167 -0
  2. package/lib/api/appointments-api.d.ts.map +1 -1
  3. package/lib/api/appointments-api.js +271 -0
  4. package/lib/api/hospitals-api.d.ts +125 -6
  5. package/lib/api/hospitals-api.d.ts.map +1 -1
  6. package/lib/api/hospitals-api.js +137 -12
  7. package/lib/models/appointment-model.d.ts +14 -0
  8. package/lib/models/appointment-model.d.ts.map +1 -1
  9. package/lib/models/appointment-refund-bank-transfer-model.d.ts +43 -0
  10. package/lib/models/appointment-refund-bank-transfer-model.d.ts.map +1 -0
  11. package/lib/models/appointment-refund-bank-transfer-model.js +15 -0
  12. package/lib/models/appointment-refund-upi-model.d.ts +31 -0
  13. package/lib/models/appointment-refund-upi-model.d.ts.map +1 -0
  14. package/lib/models/appointment-refund-upi-model.js +15 -0
  15. package/lib/models/appointment-status.d.ts +1 -0
  16. package/lib/models/appointment-status.d.ts.map +1 -1
  17. package/lib/models/appointment-status.js +1 -0
  18. package/lib/models/index.d.ts +7 -0
  19. package/lib/models/index.d.ts.map +1 -1
  20. package/lib/models/index.js +7 -0
  21. package/lib/models/notice-item-model.d.ts +80 -0
  22. package/lib/models/notice-item-model.d.ts.map +1 -0
  23. package/lib/models/notice-item-model.js +15 -0
  24. package/lib/models/notice-status.d.ts +23 -0
  25. package/lib/models/notice-status.d.ts.map +1 -0
  26. package/lib/models/notice-status.js +26 -0
  27. package/lib/models/notices-model.d.ts +33 -0
  28. package/lib/models/notices-model.d.ts.map +1 -0
  29. package/lib/models/notices-model.js +15 -0
  30. package/lib/models/refund-appointment-command.d.ts +39 -0
  31. package/lib/models/refund-appointment-command.d.ts.map +1 -0
  32. package/lib/models/refund-appointment-command.js +15 -0
  33. package/lib/models/reschedule-appointment-command.d.ts +37 -0
  34. package/lib/models/reschedule-appointment-command.d.ts.map +1 -0
  35. package/lib/models/reschedule-appointment-command.js +15 -0
  36. package/package.json +1 -1
  37. package/src/.openapi-generator/FILES +7 -0
  38. package/src/api/appointments-api.ts +301 -0
  39. package/src/api/hospitals-api.ts +211 -12
  40. package/src/models/appointment-model.ts +18 -0
  41. package/src/models/appointment-refund-bank-transfer-model.ts +48 -0
  42. package/src/models/appointment-refund-upi-model.ts +36 -0
  43. package/src/models/appointment-status.ts +1 -0
  44. package/src/models/index.ts +7 -0
  45. package/src/models/notice-item-model.ts +87 -0
  46. package/src/models/notice-status.ts +32 -0
  47. package/src/models/notices-model.ts +42 -0
  48. package/src/models/refund-appointment-command.ts +48 -0
  49. package/src/models/reschedule-appointment-command.ts +42 -0
@@ -93,12 +93,16 @@ import { MediaType } from '../models';
93
93
  // @ts-ignore
94
94
  import { MediasModel } from '../models';
95
95
  // @ts-ignore
96
+ import { NoticesModel } from '../models';
97
+ // @ts-ignore
96
98
  import { PaymentMethod } from '../models';
97
99
  // @ts-ignore
98
100
  import { PoliciesModel } from '../models';
99
101
  // @ts-ignore
100
102
  import { PolicyModel } from '../models';
101
103
  // @ts-ignore
104
+ import { ProblemDetails } from '../models';
105
+ // @ts-ignore
102
106
  import { Procedure } from '../models';
103
107
  // @ts-ignore
104
108
  import { SecureFilesUploadedModel } from '../models';
@@ -1707,6 +1711,72 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
1707
1711
 
1708
1712
 
1709
1713
 
1714
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1715
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1716
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1717
+
1718
+ return {
1719
+ url: toPathString(localVarUrlObj),
1720
+ options: localVarRequestOptions,
1721
+ };
1722
+ },
1723
+ /**
1724
+ *
1725
+ * @summary Get notices
1726
+ * @param {string} hospitalId
1727
+ * @param {string} [id]
1728
+ * @param {string} [languageCode]
1729
+ * @param {string} [name]
1730
+ * @param {number} [page]
1731
+ * @param {number} [limit]
1732
+ * @param {Date} [lastRetrieved]
1733
+ * @param {*} [options] Override http request option.
1734
+ * @throws {RequiredError}
1735
+ */
1736
+ apiV2HospitalsHospitalIdNoticesGet: async (hospitalId: string, id?: string, languageCode?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1737
+ // verify required parameter 'hospitalId' is not null or undefined
1738
+ assertParamExists('apiV2HospitalsHospitalIdNoticesGet', 'hospitalId', hospitalId)
1739
+ const localVarPath = `/api/v2/hospitals/{hospitalId}/notices`
1740
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
1741
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1742
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1743
+ let baseOptions;
1744
+ if (configuration) {
1745
+ baseOptions = configuration.baseOptions;
1746
+ }
1747
+
1748
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
1749
+ const localVarHeaderParameter = {} as any;
1750
+ const localVarQueryParameter = {} as any;
1751
+
1752
+ if (id !== undefined) {
1753
+ localVarQueryParameter['Id'] = id;
1754
+ }
1755
+
1756
+ if (languageCode !== undefined) {
1757
+ localVarQueryParameter['LanguageCode'] = languageCode;
1758
+ }
1759
+
1760
+ if (name !== undefined) {
1761
+ localVarQueryParameter['Name'] = name;
1762
+ }
1763
+
1764
+ if (page !== undefined) {
1765
+ localVarQueryParameter['page'] = page;
1766
+ }
1767
+
1768
+ if (limit !== undefined) {
1769
+ localVarQueryParameter['limit'] = limit;
1770
+ }
1771
+
1772
+ if (lastRetrieved !== undefined) {
1773
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
1774
+ (lastRetrieved as any).toISOString() :
1775
+ lastRetrieved;
1776
+ }
1777
+
1778
+
1779
+
1710
1780
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1711
1781
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1712
1782
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -1987,6 +2057,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
1987
2057
  * @param {string} [specialtyName]
1988
2058
  * @param {string} [specialtyTypeId]
1989
2059
  * @param {string} [specialtyTypeName]
2060
+ * @param {string} [specialtyTypeSlug]
1990
2061
  * @param {string} [hospitalSpecialtyId]
1991
2062
  * @param {string} [name]
1992
2063
  * @param {string} [slug]
@@ -2000,7 +2071,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
2000
2071
  * @param {*} [options] Override http request option.
2001
2072
  * @throws {RequiredError}
2002
2073
  */
2003
- apiV2HospitalsHospitalIdSpecialtiesGet: async (hospitalId: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, hospitalSpecialtyId?: string, name?: string, slug?: string, marketingType?: MarketingType, appointmentEnabled?: boolean, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2074
+ apiV2HospitalsHospitalIdSpecialtiesGet: async (hospitalId: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, specialtyTypeSlug?: string, hospitalSpecialtyId?: string, name?: string, slug?: string, marketingType?: MarketingType, appointmentEnabled?: boolean, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2004
2075
  // verify required parameter 'hospitalId' is not null or undefined
2005
2076
  assertParamExists('apiV2HospitalsHospitalIdSpecialtiesGet', 'hospitalId', hospitalId)
2006
2077
  const localVarPath = `/api/v2/hospitals/{hospitalId}/specialties`
@@ -2032,6 +2103,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
2032
2103
  localVarQueryParameter['SpecialtyTypeName'] = specialtyTypeName;
2033
2104
  }
2034
2105
 
2106
+ if (specialtyTypeSlug !== undefined) {
2107
+ localVarQueryParameter['SpecialtyTypeSlug'] = specialtyTypeSlug;
2108
+ }
2109
+
2035
2110
  if (hospitalSpecialtyId !== undefined) {
2036
2111
  localVarQueryParameter['HospitalSpecialtyId'] = hospitalSpecialtyId;
2037
2112
  }
@@ -2272,6 +2347,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
2272
2347
  * @param {string} [specialtyName]
2273
2348
  * @param {string} [specialtyTypeId]
2274
2349
  * @param {string} [specialtyTypeName]
2350
+ * @param {string} [specialtyTypeSlug]
2275
2351
  * @param {string} [hospitalSpecialtyId]
2276
2352
  * @param {string} [name]
2277
2353
  * @param {string} [slug]
@@ -2285,7 +2361,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
2285
2361
  * @param {*} [options] Override http request option.
2286
2362
  * @throws {RequiredError}
2287
2363
  */
2288
- apiV2HospitalsHospitalIdSpecialtiesSimpleGet: async (hospitalId: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, hospitalSpecialtyId?: string, name?: string, slug?: string, marketingType?: MarketingType, appointmentEnabled?: boolean, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2364
+ apiV2HospitalsHospitalIdSpecialtiesSimpleGet: async (hospitalId: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, specialtyTypeSlug?: string, hospitalSpecialtyId?: string, name?: string, slug?: string, marketingType?: MarketingType, appointmentEnabled?: boolean, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2289
2365
  // verify required parameter 'hospitalId' is not null or undefined
2290
2366
  assertParamExists('apiV2HospitalsHospitalIdSpecialtiesSimpleGet', 'hospitalId', hospitalId)
2291
2367
  const localVarPath = `/api/v2/hospitals/{hospitalId}/specialties/simple`
@@ -2317,6 +2393,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
2317
2393
  localVarQueryParameter['SpecialtyTypeName'] = specialtyTypeName;
2318
2394
  }
2319
2395
 
2396
+ if (specialtyTypeSlug !== undefined) {
2397
+ localVarQueryParameter['SpecialtyTypeSlug'] = specialtyTypeSlug;
2398
+ }
2399
+
2320
2400
  if (hospitalSpecialtyId !== undefined) {
2321
2401
  localVarQueryParameter['HospitalSpecialtyId'] = hospitalSpecialtyId;
2322
2402
  }
@@ -3643,6 +3723,23 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
3643
3723
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdMediasMediaIdGet(hospitalId, mediaId, options);
3644
3724
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3645
3725
  },
3726
+ /**
3727
+ *
3728
+ * @summary Get notices
3729
+ * @param {string} hospitalId
3730
+ * @param {string} [id]
3731
+ * @param {string} [languageCode]
3732
+ * @param {string} [name]
3733
+ * @param {number} [page]
3734
+ * @param {number} [limit]
3735
+ * @param {Date} [lastRetrieved]
3736
+ * @param {*} [options] Override http request option.
3737
+ * @throws {RequiredError}
3738
+ */
3739
+ async apiV2HospitalsHospitalIdNoticesGet(hospitalId: string, id?: string, languageCode?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NoticesModel>> {
3740
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdNoticesGet(hospitalId, id, languageCode, name, page, limit, lastRetrieved, options);
3741
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3742
+ },
3646
3743
  /**
3647
3744
  *
3648
3745
  * @summary Get HospitalPaymentMethods
@@ -3723,6 +3820,7 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
3723
3820
  * @param {string} [specialtyName]
3724
3821
  * @param {string} [specialtyTypeId]
3725
3822
  * @param {string} [specialtyTypeName]
3823
+ * @param {string} [specialtyTypeSlug]
3726
3824
  * @param {string} [hospitalSpecialtyId]
3727
3825
  * @param {string} [name]
3728
3826
  * @param {string} [slug]
@@ -3736,8 +3834,8 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
3736
3834
  * @param {*} [options] Override http request option.
3737
3835
  * @throws {RequiredError}
3738
3836
  */
3739
- async apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, hospitalSpecialtyId?: string, name?: string, slug?: string, marketingType?: MarketingType, appointmentEnabled?: boolean, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtiesModel>> {
3740
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, appointmentEnabled, languageCode, showHidden, page, limit, lastRetrieved, options);
3837
+ async apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, specialtyTypeSlug?: string, hospitalSpecialtyId?: string, name?: string, slug?: string, marketingType?: MarketingType, appointmentEnabled?: boolean, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtiesModel>> {
3838
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, specialtyTypeSlug, hospitalSpecialtyId, name, slug, marketingType, appointmentEnabled, languageCode, showHidden, page, limit, lastRetrieved, options);
3741
3839
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3742
3840
  },
3743
3841
  /**
@@ -3796,6 +3894,7 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
3796
3894
  * @param {string} [specialtyName]
3797
3895
  * @param {string} [specialtyTypeId]
3798
3896
  * @param {string} [specialtyTypeName]
3897
+ * @param {string} [specialtyTypeSlug]
3799
3898
  * @param {string} [hospitalSpecialtyId]
3800
3899
  * @param {string} [name]
3801
3900
  * @param {string} [slug]
@@ -3809,8 +3908,8 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
3809
3908
  * @param {*} [options] Override http request option.
3810
3909
  * @throws {RequiredError}
3811
3910
  */
3812
- async apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, hospitalSpecialtyId?: string, name?: string, slug?: string, marketingType?: MarketingType, appointmentEnabled?: boolean, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtiesSimpleModel>> {
3813
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, appointmentEnabled, languageCode, showHidden, page, limit, lastRetrieved, options);
3911
+ async apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, specialtyTypeSlug?: string, hospitalSpecialtyId?: string, name?: string, slug?: string, marketingType?: MarketingType, appointmentEnabled?: boolean, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtiesSimpleModel>> {
3912
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, specialtyTypeSlug, hospitalSpecialtyId, name, slug, marketingType, appointmentEnabled, languageCode, showHidden, page, limit, lastRetrieved, options);
3814
3913
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3815
3914
  },
3816
3915
  /**
@@ -4449,6 +4548,22 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
4449
4548
  apiV2HospitalsHospitalIdMediasMediaIdGet(hospitalId: string, mediaId: string, options?: any): AxiosPromise<MediaModel> {
4450
4549
  return localVarFp.apiV2HospitalsHospitalIdMediasMediaIdGet(hospitalId, mediaId, options).then((request) => request(axios, basePath));
4451
4550
  },
4551
+ /**
4552
+ *
4553
+ * @summary Get notices
4554
+ * @param {string} hospitalId
4555
+ * @param {string} [id]
4556
+ * @param {string} [languageCode]
4557
+ * @param {string} [name]
4558
+ * @param {number} [page]
4559
+ * @param {number} [limit]
4560
+ * @param {Date} [lastRetrieved]
4561
+ * @param {*} [options] Override http request option.
4562
+ * @throws {RequiredError}
4563
+ */
4564
+ apiV2HospitalsHospitalIdNoticesGet(hospitalId: string, id?: string, languageCode?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<NoticesModel> {
4565
+ return localVarFp.apiV2HospitalsHospitalIdNoticesGet(hospitalId, id, languageCode, name, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
4566
+ },
4452
4567
  /**
4453
4568
  *
4454
4569
  * @summary Get HospitalPaymentMethods
@@ -4524,6 +4639,7 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
4524
4639
  * @param {string} [specialtyName]
4525
4640
  * @param {string} [specialtyTypeId]
4526
4641
  * @param {string} [specialtyTypeName]
4642
+ * @param {string} [specialtyTypeSlug]
4527
4643
  * @param {string} [hospitalSpecialtyId]
4528
4644
  * @param {string} [name]
4529
4645
  * @param {string} [slug]
@@ -4537,8 +4653,8 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
4537
4653
  * @param {*} [options] Override http request option.
4538
4654
  * @throws {RequiredError}
4539
4655
  */
4540
- apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, hospitalSpecialtyId?: string, name?: string, slug?: string, marketingType?: MarketingType, appointmentEnabled?: boolean, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSpecialtiesModel> {
4541
- return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, appointmentEnabled, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
4656
+ apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, specialtyTypeSlug?: string, hospitalSpecialtyId?: string, name?: string, slug?: string, marketingType?: MarketingType, appointmentEnabled?: boolean, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSpecialtiesModel> {
4657
+ return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, specialtyTypeSlug, hospitalSpecialtyId, name, slug, marketingType, appointmentEnabled, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
4542
4658
  },
4543
4659
  /**
4544
4660
  *
@@ -4593,6 +4709,7 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
4593
4709
  * @param {string} [specialtyName]
4594
4710
  * @param {string} [specialtyTypeId]
4595
4711
  * @param {string} [specialtyTypeName]
4712
+ * @param {string} [specialtyTypeSlug]
4596
4713
  * @param {string} [hospitalSpecialtyId]
4597
4714
  * @param {string} [name]
4598
4715
  * @param {string} [slug]
@@ -4606,8 +4723,8 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
4606
4723
  * @param {*} [options] Override http request option.
4607
4724
  * @throws {RequiredError}
4608
4725
  */
4609
- apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, hospitalSpecialtyId?: string, name?: string, slug?: string, marketingType?: MarketingType, appointmentEnabled?: boolean, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSpecialtiesSimpleModel> {
4610
- return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, appointmentEnabled, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
4726
+ apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, specialtyTypeSlug?: string, hospitalSpecialtyId?: string, name?: string, slug?: string, marketingType?: MarketingType, appointmentEnabled?: boolean, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSpecialtiesSimpleModel> {
4727
+ return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, specialtyTypeSlug, hospitalSpecialtyId, name, slug, marketingType, appointmentEnabled, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
4611
4728
  },
4612
4729
  /**
4613
4730
  *
@@ -6056,6 +6173,62 @@ export interface HospitalsApiApiV2HospitalsHospitalIdMediasMediaIdGetRequest {
6056
6173
  readonly mediaId: string
6057
6174
  }
6058
6175
 
6176
+ /**
6177
+ * Request parameters for apiV2HospitalsHospitalIdNoticesGet operation in HospitalsApi.
6178
+ * @export
6179
+ * @interface HospitalsApiApiV2HospitalsHospitalIdNoticesGetRequest
6180
+ */
6181
+ export interface HospitalsApiApiV2HospitalsHospitalIdNoticesGetRequest {
6182
+ /**
6183
+ *
6184
+ * @type {string}
6185
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdNoticesGet
6186
+ */
6187
+ readonly hospitalId: string
6188
+
6189
+ /**
6190
+ *
6191
+ * @type {string}
6192
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdNoticesGet
6193
+ */
6194
+ readonly id?: string
6195
+
6196
+ /**
6197
+ *
6198
+ * @type {string}
6199
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdNoticesGet
6200
+ */
6201
+ readonly languageCode?: string
6202
+
6203
+ /**
6204
+ *
6205
+ * @type {string}
6206
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdNoticesGet
6207
+ */
6208
+ readonly name?: string
6209
+
6210
+ /**
6211
+ *
6212
+ * @type {number}
6213
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdNoticesGet
6214
+ */
6215
+ readonly page?: number
6216
+
6217
+ /**
6218
+ *
6219
+ * @type {number}
6220
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdNoticesGet
6221
+ */
6222
+ readonly limit?: number
6223
+
6224
+ /**
6225
+ *
6226
+ * @type {Date}
6227
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdNoticesGet
6228
+ */
6229
+ readonly lastRetrieved?: Date
6230
+ }
6231
+
6059
6232
  /**
6060
6233
  * Request parameters for apiV2HospitalsHospitalIdPaymentmethodsGet operation in HospitalsApi.
6061
6234
  * @export
@@ -6286,6 +6459,13 @@ export interface HospitalsApiApiV2HospitalsHospitalIdSpecialtiesGetRequest {
6286
6459
  */
6287
6460
  readonly specialtyTypeName?: string
6288
6461
 
6462
+ /**
6463
+ *
6464
+ * @type {string}
6465
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdSpecialtiesGet
6466
+ */
6467
+ readonly specialtyTypeSlug?: string
6468
+
6289
6469
  /**
6290
6470
  *
6291
6471
  * @type {string}
@@ -6545,6 +6725,13 @@ export interface HospitalsApiApiV2HospitalsHospitalIdSpecialtiesSimpleGetRequest
6545
6725
  */
6546
6726
  readonly specialtyTypeName?: string
6547
6727
 
6728
+ /**
6729
+ *
6730
+ * @type {string}
6731
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdSpecialtiesSimpleGet
6732
+ */
6733
+ readonly specialtyTypeSlug?: string
6734
+
6548
6735
  /**
6549
6736
  *
6550
6737
  * @type {string}
@@ -7677,6 +7864,18 @@ export class HospitalsApi extends BaseAPI {
7677
7864
  return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdMediasMediaIdGet(requestParameters.hospitalId, requestParameters.mediaId, options).then((request) => request(this.axios, this.basePath));
7678
7865
  }
7679
7866
 
7867
+ /**
7868
+ *
7869
+ * @summary Get notices
7870
+ * @param {HospitalsApiApiV2HospitalsHospitalIdNoticesGetRequest} requestParameters Request parameters.
7871
+ * @param {*} [options] Override http request option.
7872
+ * @throws {RequiredError}
7873
+ * @memberof HospitalsApi
7874
+ */
7875
+ public apiV2HospitalsHospitalIdNoticesGet(requestParameters: HospitalsApiApiV2HospitalsHospitalIdNoticesGetRequest, options?: AxiosRequestConfig) {
7876
+ return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdNoticesGet(requestParameters.hospitalId, requestParameters.id, requestParameters.languageCode, requestParameters.name, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
7877
+ }
7878
+
7680
7879
  /**
7681
7880
  *
7682
7881
  * @summary Get HospitalPaymentMethods
@@ -7746,7 +7945,7 @@ export class HospitalsApi extends BaseAPI {
7746
7945
  * @memberof HospitalsApi
7747
7946
  */
7748
7947
  public apiV2HospitalsHospitalIdSpecialtiesGet(requestParameters: HospitalsApiApiV2HospitalsHospitalIdSpecialtiesGetRequest, options?: AxiosRequestConfig) {
7749
- return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(requestParameters.hospitalId, requestParameters.specialtyId, requestParameters.specialtyName, requestParameters.specialtyTypeId, requestParameters.specialtyTypeName, requestParameters.hospitalSpecialtyId, requestParameters.name, requestParameters.slug, requestParameters.marketingType, requestParameters.appointmentEnabled, requestParameters.languageCode, requestParameters.showHidden, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
7948
+ return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(requestParameters.hospitalId, requestParameters.specialtyId, requestParameters.specialtyName, requestParameters.specialtyTypeId, requestParameters.specialtyTypeName, requestParameters.specialtyTypeSlug, requestParameters.hospitalSpecialtyId, requestParameters.name, requestParameters.slug, requestParameters.marketingType, requestParameters.appointmentEnabled, requestParameters.languageCode, requestParameters.showHidden, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
7750
7949
  }
7751
7950
 
7752
7951
  /**
@@ -7794,7 +7993,7 @@ export class HospitalsApi extends BaseAPI {
7794
7993
  * @memberof HospitalsApi
7795
7994
  */
7796
7995
  public apiV2HospitalsHospitalIdSpecialtiesSimpleGet(requestParameters: HospitalsApiApiV2HospitalsHospitalIdSpecialtiesSimpleGetRequest, options?: AxiosRequestConfig) {
7797
- return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSimpleGet(requestParameters.hospitalId, requestParameters.specialtyId, requestParameters.specialtyName, requestParameters.specialtyTypeId, requestParameters.specialtyTypeName, requestParameters.hospitalSpecialtyId, requestParameters.name, requestParameters.slug, requestParameters.marketingType, requestParameters.appointmentEnabled, requestParameters.languageCode, requestParameters.showHidden, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
7996
+ return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSimpleGet(requestParameters.hospitalId, requestParameters.specialtyId, requestParameters.specialtyName, requestParameters.specialtyTypeId, requestParameters.specialtyTypeName, requestParameters.specialtyTypeSlug, requestParameters.hospitalSpecialtyId, requestParameters.name, requestParameters.slug, requestParameters.marketingType, requestParameters.appointmentEnabled, requestParameters.languageCode, requestParameters.showHidden, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
7798
7997
  }
7799
7998
 
7800
7999
  /**
@@ -18,6 +18,12 @@
18
18
  import { AppointmentChangeLogModel } from './appointment-change-log-model';
19
19
  // May contain unused imports in some cases
20
20
  // @ts-ignore
21
+ import { AppointmentRefundBankTransferModel } from './appointment-refund-bank-transfer-model';
22
+ // May contain unused imports in some cases
23
+ // @ts-ignore
24
+ import { AppointmentRefundUpiModel } from './appointment-refund-upi-model';
25
+ // May contain unused imports in some cases
26
+ // @ts-ignore
21
27
  import { AppointmentStatus } from './appointment-status';
22
28
  // May contain unused imports in some cases
23
29
  // @ts-ignore
@@ -338,5 +344,17 @@ export interface AppointmentModel {
338
344
  * @memberof AppointmentModel
339
345
  */
340
346
  'medias'?: Array<MediaModel> | null;
347
+ /**
348
+ *
349
+ * @type {AppointmentRefundBankTransferModel}
350
+ * @memberof AppointmentModel
351
+ */
352
+ 'refundBankTransfer'?: AppointmentRefundBankTransferModel;
353
+ /**
354
+ *
355
+ * @type {AppointmentRefundUpiModel}
356
+ * @memberof AppointmentModel
357
+ */
358
+ 'refundUpi'?: AppointmentRefundUpiModel;
341
359
  }
342
360
 
@@ -0,0 +1,48 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Swagger UI - Cloud Hospital Api-INT
5
+ * Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
6
+ *
7
+ * The version of the OpenAPI document: 2
8
+ * Contact: hyounoosung@icloudhospital.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface AppointmentRefundBankTransferModel
21
+ */
22
+ export interface AppointmentRefundBankTransferModel {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof AppointmentRefundBankTransferModel
27
+ */
28
+ 'bank'?: string | null;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof AppointmentRefundBankTransferModel
33
+ */
34
+ 'accountNumber'?: string | null;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof AppointmentRefundBankTransferModel
39
+ */
40
+ 'depositor'?: string | null;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof AppointmentRefundBankTransferModel
45
+ */
46
+ 'swiftCode'?: string | null;
47
+ }
48
+
@@ -0,0 +1,36 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Swagger UI - Cloud Hospital Api-INT
5
+ * Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
6
+ *
7
+ * The version of the OpenAPI document: 2
8
+ * Contact: hyounoosung@icloudhospital.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface AppointmentRefundUpiModel
21
+ */
22
+ export interface AppointmentRefundUpiModel {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof AppointmentRefundUpiModel
27
+ */
28
+ 'upiId'?: string | null;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof AppointmentRefundUpiModel
33
+ */
34
+ 'name'?: string | null;
35
+ }
36
+
@@ -24,6 +24,7 @@ export const AppointmentStatus = {
24
24
  New: 'New',
25
25
  Rejected: 'Rejected',
26
26
  Approved: 'Approved',
27
+ RescheduleRequested: 'RescheduleRequested',
27
28
  Paid: 'Paid',
28
29
  Canceled: 'Canceled',
29
30
  RefundRequested: 'RefundRequested',
@@ -12,6 +12,8 @@ export * from './appointment-item-model';
12
12
  export * from './appointment-model';
13
13
  export * from './appointment-option-document-model';
14
14
  export * from './appointment-option-model';
15
+ export * from './appointment-refund-bank-transfer-model';
16
+ export * from './appointment-refund-upi-model';
15
17
  export * from './appointment-status';
16
18
  export * from './appointment-timetable-date-model';
17
19
  export * from './appointment-timetable-status';
@@ -213,6 +215,9 @@ export * from './membership-item-model';
213
215
  export * from './membership-model';
214
216
  export * from './memberships-model';
215
217
  export * from './metadata';
218
+ export * from './notice-item-model';
219
+ export * from './notice-status';
220
+ export * from './notices-model';
216
221
  export * from './notification-code';
217
222
  export * from './notification-model';
218
223
  export * from './notifications-model';
@@ -234,8 +239,10 @@ export * from './policy-model';
234
239
  export * from './problem-details';
235
240
  export * from './procedure';
236
241
  export * from './recurring-interval';
242
+ export * from './refund-appointment-command';
237
243
  export * from './refund-policy';
238
244
  export * from './reject-reason';
245
+ export * from './reschedule-appointment-command';
239
246
  export * from './review-type';
240
247
  export * from './search-curation-item-model';
241
248
  export * from './search-curation-primary-item-model';
@@ -0,0 +1,87 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Swagger UI - Cloud Hospital Api-INT
5
+ * Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
6
+ *
7
+ * The version of the OpenAPI document: 2
8
+ * Contact: hyounoosung@icloudhospital.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import { NoticeStatus } from './notice-status';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface NoticeItemModel
24
+ */
25
+ export interface NoticeItemModel {
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof NoticeItemModel
30
+ */
31
+ 'id'?: string;
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof NoticeItemModel
36
+ */
37
+ 'hospitalId'?: string;
38
+ /**
39
+ *
40
+ * @type {string}
41
+ * @memberof NoticeItemModel
42
+ */
43
+ 'languageCode'?: string | null;
44
+ /**
45
+ *
46
+ * @type {NoticeStatus}
47
+ * @memberof NoticeItemModel
48
+ */
49
+ 'status'?: NoticeStatus;
50
+ /**
51
+ *
52
+ * @type {number}
53
+ * @memberof NoticeItemModel
54
+ */
55
+ 'order'?: number;
56
+ /**
57
+ *
58
+ * @type {string}
59
+ * @memberof NoticeItemModel
60
+ */
61
+ 'hospitalName'?: string | null;
62
+ /**
63
+ *
64
+ * @type {string}
65
+ * @memberof NoticeItemModel
66
+ */
67
+ 'name'?: string | null;
68
+ /**
69
+ *
70
+ * @type {string}
71
+ * @memberof NoticeItemModel
72
+ */
73
+ 'slug'?: string | null;
74
+ /**
75
+ *
76
+ * @type {string}
77
+ * @memberof NoticeItemModel
78
+ */
79
+ 'url'?: string | null;
80
+ /**
81
+ *
82
+ * @type {boolean}
83
+ * @memberof NoticeItemModel
84
+ */
85
+ 'isConfirmed'?: boolean;
86
+ }
87
+
@@ -0,0 +1,32 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Swagger UI - Cloud Hospital Api-INT
5
+ * Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
6
+ *
7
+ * The version of the OpenAPI document: 2
8
+ * Contact: hyounoosung@icloudhospital.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+
23
+ export const NoticeStatus = {
24
+ Draft: 'Draft',
25
+ Active: 'Active',
26
+ Archived: 'Archived'
27
+ } as const;
28
+
29
+ export type NoticeStatus = typeof NoticeStatus[keyof typeof NoticeStatus];
30
+
31
+
32
+