ch-api-client-typescript2 5.19.1 → 5.19.8

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 (33) hide show
  1. package/lib/api/appointments-api.d.ts +13 -3
  2. package/lib/api/appointments-api.d.ts.map +1 -1
  3. package/lib/api/appointments-api.js +11 -6
  4. package/lib/api/articles-api.d.ts +12 -3
  5. package/lib/api/articles-api.d.ts.map +1 -1
  6. package/lib/api/articles-api.js +12 -6
  7. package/lib/api/deals-api.d.ts +12 -3
  8. package/lib/api/deals-api.d.ts.map +1 -1
  9. package/lib/api/deals-api.js +12 -6
  10. package/lib/api/doctor-affiliations-api.d.ts +16 -7
  11. package/lib/api/doctor-affiliations-api.d.ts.map +1 -1
  12. package/lib/api/doctor-affiliations-api.js +16 -10
  13. package/lib/api/hospitals-api.d.ts +231 -0
  14. package/lib/api/hospitals-api.d.ts.map +1 -1
  15. package/lib/api/hospitals-api.js +285 -0
  16. package/lib/models/index.d.ts +1 -0
  17. package/lib/models/index.d.ts.map +1 -1
  18. package/lib/models/index.js +1 -0
  19. package/lib/models/pay-appointment-command.d.ts +32 -0
  20. package/lib/models/pay-appointment-command.d.ts.map +1 -0
  21. package/lib/models/pay-appointment-command.js +15 -0
  22. package/lib/models/survey-result-element-input-model.d.ts +7 -0
  23. package/lib/models/survey-result-element-input-model.d.ts.map +1 -1
  24. package/package.json +1 -1
  25. package/src/.openapi-generator/FILES +1 -0
  26. package/src/api/appointments-api.ts +21 -6
  27. package/src/api/articles-api.ts +20 -6
  28. package/src/api/deals-api.ts +20 -6
  29. package/src/api/doctor-affiliations-api.ts +24 -10
  30. package/src/api/hospitals-api.ts +386 -0
  31. package/src/models/index.ts +1 -0
  32. package/src/models/pay-appointment-command.ts +39 -0
  33. package/src/models/survey-result-element-input-model.ts +9 -0
@@ -23,6 +23,8 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr
23
23
  // @ts-ignore
24
24
  import { AppointmentTimetablesModel } from '../models';
25
25
  // @ts-ignore
26
+ import { ArticleModel } from '../models';
27
+ // @ts-ignore
26
28
  import { BankAccountInfoModel } from '../models';
27
29
  // @ts-ignore
28
30
  import { BankAccountInfosModel } from '../models';
@@ -31,6 +33,10 @@ import { ContactType } from '../models';
31
33
  // @ts-ignore
32
34
  import { CreateLandingFormCommand } from '../models';
33
35
  // @ts-ignore
36
+ import { DealModel } from '../models';
37
+ // @ts-ignore
38
+ import { DoctorAffiliationModel } from '../models';
39
+ // @ts-ignore
34
40
  import { FooterNavigationItemModel } from '../models';
35
41
  // @ts-ignore
36
42
  import { HospitalAccreditationModel } from '../models';
@@ -435,6 +441,59 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
435
441
 
436
442
 
437
443
 
444
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
445
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
446
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
447
+
448
+ return {
449
+ url: toPathString(localVarUrlObj),
450
+ options: localVarRequestOptions,
451
+ };
452
+ },
453
+ /**
454
+ *
455
+ * @summary Get hospital article by slug
456
+ * @param {string} hospitalId
457
+ * @param {string} slug
458
+ * @param {string} [languageCode]
459
+ * @param {boolean} [returnDefaultValue]
460
+ * @param {string} [previewSecret]
461
+ * @param {*} [options] Override http request option.
462
+ * @throws {RequiredError}
463
+ */
464
+ apiV2HospitalsHospitalIdArticlesSlugGet: async (hospitalId: string, slug: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
465
+ // verify required parameter 'hospitalId' is not null or undefined
466
+ assertParamExists('apiV2HospitalsHospitalIdArticlesSlugGet', 'hospitalId', hospitalId)
467
+ // verify required parameter 'slug' is not null or undefined
468
+ assertParamExists('apiV2HospitalsHospitalIdArticlesSlugGet', 'slug', slug)
469
+ const localVarPath = `/api/v2/hospitals/{hospitalId}/articles/{slug}`
470
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
471
+ .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
472
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
473
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
474
+ let baseOptions;
475
+ if (configuration) {
476
+ baseOptions = configuration.baseOptions;
477
+ }
478
+
479
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
480
+ const localVarHeaderParameter = {} as any;
481
+ const localVarQueryParameter = {} as any;
482
+
483
+ if (languageCode !== undefined) {
484
+ localVarQueryParameter['languageCode'] = languageCode;
485
+ }
486
+
487
+ if (returnDefaultValue !== undefined) {
488
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
489
+ }
490
+
491
+ if (previewSecret !== undefined) {
492
+ localVarQueryParameter['previewSecret'] = previewSecret;
493
+ }
494
+
495
+
496
+
438
497
  setSearchParams(localVarUrlObj, localVarQueryParameter);
439
498
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
440
499
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -649,6 +708,102 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
649
708
 
650
709
 
651
710
 
711
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
712
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
713
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
714
+
715
+ return {
716
+ url: toPathString(localVarUrlObj),
717
+ options: localVarRequestOptions,
718
+ };
719
+ },
720
+ /**
721
+ *
722
+ * @summary Get hospital\'s Deal by slug
723
+ * @param {string} hospitalId
724
+ * @param {string} slug
725
+ * @param {string} [languageCode]
726
+ * @param {boolean} [returnDefaultValue]
727
+ * @param {string} [previewSecret]
728
+ * @param {*} [options] Override http request option.
729
+ * @throws {RequiredError}
730
+ */
731
+ apiV2HospitalsHospitalIdDealsSlugGet: async (hospitalId: string, slug: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
732
+ // verify required parameter 'hospitalId' is not null or undefined
733
+ assertParamExists('apiV2HospitalsHospitalIdDealsSlugGet', 'hospitalId', hospitalId)
734
+ // verify required parameter 'slug' is not null or undefined
735
+ assertParamExists('apiV2HospitalsHospitalIdDealsSlugGet', 'slug', slug)
736
+ const localVarPath = `/api/v2/hospitals/{hospitalId}/deals/{slug}`
737
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
738
+ .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
739
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
740
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
741
+ let baseOptions;
742
+ if (configuration) {
743
+ baseOptions = configuration.baseOptions;
744
+ }
745
+
746
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
747
+ const localVarHeaderParameter = {} as any;
748
+ const localVarQueryParameter = {} as any;
749
+
750
+ if (languageCode !== undefined) {
751
+ localVarQueryParameter['languageCode'] = languageCode;
752
+ }
753
+
754
+ if (returnDefaultValue !== undefined) {
755
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
756
+ }
757
+
758
+ if (previewSecret !== undefined) {
759
+ localVarQueryParameter['previewSecret'] = previewSecret;
760
+ }
761
+
762
+
763
+
764
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
765
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
766
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
767
+
768
+ return {
769
+ url: toPathString(localVarUrlObj),
770
+ options: localVarRequestOptions,
771
+ };
772
+ },
773
+ /**
774
+ *
775
+ * @summary Get hospital\'s doctorAffiliations by slug
776
+ * @param {string} hospitalId
777
+ * @param {string} slug
778
+ * @param {string} [languageCode]
779
+ * @param {*} [options] Override http request option.
780
+ * @throws {RequiredError}
781
+ */
782
+ apiV2HospitalsHospitalIdDoctoraffiliationsSlugGet: async (hospitalId: string, slug: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
783
+ // verify required parameter 'hospitalId' is not null or undefined
784
+ assertParamExists('apiV2HospitalsHospitalIdDoctoraffiliationsSlugGet', 'hospitalId', hospitalId)
785
+ // verify required parameter 'slug' is not null or undefined
786
+ assertParamExists('apiV2HospitalsHospitalIdDoctoraffiliationsSlugGet', 'slug', slug)
787
+ const localVarPath = `/api/v2/hospitals/{hospitalId}/doctoraffiliations/{slug}`
788
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
789
+ .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
790
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
791
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
792
+ let baseOptions;
793
+ if (configuration) {
794
+ baseOptions = configuration.baseOptions;
795
+ }
796
+
797
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
798
+ const localVarHeaderParameter = {} as any;
799
+ const localVarQueryParameter = {} as any;
800
+
801
+ if (languageCode !== undefined) {
802
+ localVarQueryParameter['languageCode'] = languageCode;
803
+ }
804
+
805
+
806
+
652
807
  setSearchParams(localVarUrlObj, localVarQueryParameter);
653
808
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
654
809
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -3119,6 +3274,21 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
3119
3274
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdAppointmenttimetablesGet(hospitalId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, options);
3120
3275
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3121
3276
  },
3277
+ /**
3278
+ *
3279
+ * @summary Get hospital article by slug
3280
+ * @param {string} hospitalId
3281
+ * @param {string} slug
3282
+ * @param {string} [languageCode]
3283
+ * @param {boolean} [returnDefaultValue]
3284
+ * @param {string} [previewSecret]
3285
+ * @param {*} [options] Override http request option.
3286
+ * @throws {RequiredError}
3287
+ */
3288
+ async apiV2HospitalsHospitalIdArticlesSlugGet(hospitalId: string, slug: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticleModel>> {
3289
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdArticlesSlugGet(hospitalId, slug, languageCode, returnDefaultValue, previewSecret, options);
3290
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3291
+ },
3122
3292
  /**
3123
3293
  *
3124
3294
  * @summary Get bank account info
@@ -3178,6 +3348,34 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
3178
3348
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdContactsGet(hospitalId, contactId, contactType, name, languageCode, page, limit, lastRetrieved, options);
3179
3349
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3180
3350
  },
3351
+ /**
3352
+ *
3353
+ * @summary Get hospital\'s Deal by slug
3354
+ * @param {string} hospitalId
3355
+ * @param {string} slug
3356
+ * @param {string} [languageCode]
3357
+ * @param {boolean} [returnDefaultValue]
3358
+ * @param {string} [previewSecret]
3359
+ * @param {*} [options] Override http request option.
3360
+ * @throws {RequiredError}
3361
+ */
3362
+ async apiV2HospitalsHospitalIdDealsSlugGet(hospitalId: string, slug: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealModel>> {
3363
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdDealsSlugGet(hospitalId, slug, languageCode, returnDefaultValue, previewSecret, options);
3364
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3365
+ },
3366
+ /**
3367
+ *
3368
+ * @summary Get hospital\'s doctorAffiliations by slug
3369
+ * @param {string} hospitalId
3370
+ * @param {string} slug
3371
+ * @param {string} [languageCode]
3372
+ * @param {*} [options] Override http request option.
3373
+ * @throws {RequiredError}
3374
+ */
3375
+ async apiV2HospitalsHospitalIdDoctoraffiliationsSlugGet(hospitalId: string, slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorAffiliationModel>> {
3376
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdDoctoraffiliationsSlugGet(hospitalId, slug, languageCode, options);
3377
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3378
+ },
3181
3379
  /**
3182
3380
  *
3183
3381
  * @summary Get HospitalEquipment.
@@ -3903,6 +4101,20 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
3903
4101
  apiV2HospitalsHospitalIdAppointmenttimetablesGet(hospitalId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, options?: any): AxiosPromise<AppointmentTimetablesModel> {
3904
4102
  return localVarFp.apiV2HospitalsHospitalIdAppointmenttimetablesGet(hospitalId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, options).then((request) => request(axios, basePath));
3905
4103
  },
4104
+ /**
4105
+ *
4106
+ * @summary Get hospital article by slug
4107
+ * @param {string} hospitalId
4108
+ * @param {string} slug
4109
+ * @param {string} [languageCode]
4110
+ * @param {boolean} [returnDefaultValue]
4111
+ * @param {string} [previewSecret]
4112
+ * @param {*} [options] Override http request option.
4113
+ * @throws {RequiredError}
4114
+ */
4115
+ apiV2HospitalsHospitalIdArticlesSlugGet(hospitalId: string, slug: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, options?: any): AxiosPromise<ArticleModel> {
4116
+ return localVarFp.apiV2HospitalsHospitalIdArticlesSlugGet(hospitalId, slug, languageCode, returnDefaultValue, previewSecret, options).then((request) => request(axios, basePath));
4117
+ },
3906
4118
  /**
3907
4119
  *
3908
4120
  * @summary Get bank account info
@@ -3958,6 +4170,32 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
3958
4170
  apiV2HospitalsHospitalIdContactsGet(hospitalId: string, contactId?: string, contactType?: ContactType, name?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalContactsModel> {
3959
4171
  return localVarFp.apiV2HospitalsHospitalIdContactsGet(hospitalId, contactId, contactType, name, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
3960
4172
  },
4173
+ /**
4174
+ *
4175
+ * @summary Get hospital\'s Deal by slug
4176
+ * @param {string} hospitalId
4177
+ * @param {string} slug
4178
+ * @param {string} [languageCode]
4179
+ * @param {boolean} [returnDefaultValue]
4180
+ * @param {string} [previewSecret]
4181
+ * @param {*} [options] Override http request option.
4182
+ * @throws {RequiredError}
4183
+ */
4184
+ apiV2HospitalsHospitalIdDealsSlugGet(hospitalId: string, slug: string, languageCode?: string, returnDefaultValue?: boolean, previewSecret?: string, options?: any): AxiosPromise<DealModel> {
4185
+ return localVarFp.apiV2HospitalsHospitalIdDealsSlugGet(hospitalId, slug, languageCode, returnDefaultValue, previewSecret, options).then((request) => request(axios, basePath));
4186
+ },
4187
+ /**
4188
+ *
4189
+ * @summary Get hospital\'s doctorAffiliations by slug
4190
+ * @param {string} hospitalId
4191
+ * @param {string} slug
4192
+ * @param {string} [languageCode]
4193
+ * @param {*} [options] Override http request option.
4194
+ * @throws {RequiredError}
4195
+ */
4196
+ apiV2HospitalsHospitalIdDoctoraffiliationsSlugGet(hospitalId: string, slug: string, languageCode?: string, options?: any): AxiosPromise<DoctorAffiliationModel> {
4197
+ return localVarFp.apiV2HospitalsHospitalIdDoctoraffiliationsSlugGet(hospitalId, slug, languageCode, options).then((request) => request(axios, basePath));
4198
+ },
3961
4199
  /**
3962
4200
  *
3963
4201
  * @summary Get HospitalEquipment.
@@ -4843,6 +5081,48 @@ export interface HospitalsApiApiV2HospitalsHospitalIdAppointmenttimetablesGetReq
4843
5081
  readonly appointmentIdExcluded?: string
4844
5082
  }
4845
5083
 
5084
+ /**
5085
+ * Request parameters for apiV2HospitalsHospitalIdArticlesSlugGet operation in HospitalsApi.
5086
+ * @export
5087
+ * @interface HospitalsApiApiV2HospitalsHospitalIdArticlesSlugGetRequest
5088
+ */
5089
+ export interface HospitalsApiApiV2HospitalsHospitalIdArticlesSlugGetRequest {
5090
+ /**
5091
+ *
5092
+ * @type {string}
5093
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdArticlesSlugGet
5094
+ */
5095
+ readonly hospitalId: string
5096
+
5097
+ /**
5098
+ *
5099
+ * @type {string}
5100
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdArticlesSlugGet
5101
+ */
5102
+ readonly slug: string
5103
+
5104
+ /**
5105
+ *
5106
+ * @type {string}
5107
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdArticlesSlugGet
5108
+ */
5109
+ readonly languageCode?: string
5110
+
5111
+ /**
5112
+ *
5113
+ * @type {boolean}
5114
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdArticlesSlugGet
5115
+ */
5116
+ readonly returnDefaultValue?: boolean
5117
+
5118
+ /**
5119
+ *
5120
+ * @type {string}
5121
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdArticlesSlugGet
5122
+ */
5123
+ readonly previewSecret?: string
5124
+ }
5125
+
4846
5126
  /**
4847
5127
  * Request parameters for apiV2HospitalsHospitalIdBankaccountinfosBankAccountInfoIdGet operation in HospitalsApi.
4848
5128
  * @export
@@ -5004,6 +5284,76 @@ export interface HospitalsApiApiV2HospitalsHospitalIdContactsGetRequest {
5004
5284
  readonly lastRetrieved?: Date
5005
5285
  }
5006
5286
 
5287
+ /**
5288
+ * Request parameters for apiV2HospitalsHospitalIdDealsSlugGet operation in HospitalsApi.
5289
+ * @export
5290
+ * @interface HospitalsApiApiV2HospitalsHospitalIdDealsSlugGetRequest
5291
+ */
5292
+ export interface HospitalsApiApiV2HospitalsHospitalIdDealsSlugGetRequest {
5293
+ /**
5294
+ *
5295
+ * @type {string}
5296
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdDealsSlugGet
5297
+ */
5298
+ readonly hospitalId: string
5299
+
5300
+ /**
5301
+ *
5302
+ * @type {string}
5303
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdDealsSlugGet
5304
+ */
5305
+ readonly slug: string
5306
+
5307
+ /**
5308
+ *
5309
+ * @type {string}
5310
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdDealsSlugGet
5311
+ */
5312
+ readonly languageCode?: string
5313
+
5314
+ /**
5315
+ *
5316
+ * @type {boolean}
5317
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdDealsSlugGet
5318
+ */
5319
+ readonly returnDefaultValue?: boolean
5320
+
5321
+ /**
5322
+ *
5323
+ * @type {string}
5324
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdDealsSlugGet
5325
+ */
5326
+ readonly previewSecret?: string
5327
+ }
5328
+
5329
+ /**
5330
+ * Request parameters for apiV2HospitalsHospitalIdDoctoraffiliationsSlugGet operation in HospitalsApi.
5331
+ * @export
5332
+ * @interface HospitalsApiApiV2HospitalsHospitalIdDoctoraffiliationsSlugGetRequest
5333
+ */
5334
+ export interface HospitalsApiApiV2HospitalsHospitalIdDoctoraffiliationsSlugGetRequest {
5335
+ /**
5336
+ *
5337
+ * @type {string}
5338
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdDoctoraffiliationsSlugGet
5339
+ */
5340
+ readonly hospitalId: string
5341
+
5342
+ /**
5343
+ *
5344
+ * @type {string}
5345
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdDoctoraffiliationsSlugGet
5346
+ */
5347
+ readonly slug: string
5348
+
5349
+ /**
5350
+ *
5351
+ * @type {string}
5352
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdDoctoraffiliationsSlugGet
5353
+ */
5354
+ readonly languageCode?: string
5355
+ }
5356
+
5007
5357
  /**
5008
5358
  * Request parameters for apiV2HospitalsHospitalIdEquipmentsEquipmentIdGet operation in HospitalsApi.
5009
5359
  * @export
@@ -6995,6 +7345,18 @@ export class HospitalsApi extends BaseAPI {
6995
7345
  return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdAppointmenttimetablesGet(requestParameters.hospitalId, requestParameters.year, requestParameters.month, requestParameters.timeZone, requestParameters.isExternal, requestParameters.isOnline, requestParameters.appointmentIdExcluded, options).then((request) => request(this.axios, this.basePath));
6996
7346
  }
6997
7347
 
7348
+ /**
7349
+ *
7350
+ * @summary Get hospital article by slug
7351
+ * @param {HospitalsApiApiV2HospitalsHospitalIdArticlesSlugGetRequest} requestParameters Request parameters.
7352
+ * @param {*} [options] Override http request option.
7353
+ * @throws {RequiredError}
7354
+ * @memberof HospitalsApi
7355
+ */
7356
+ public apiV2HospitalsHospitalIdArticlesSlugGet(requestParameters: HospitalsApiApiV2HospitalsHospitalIdArticlesSlugGetRequest, options?: AxiosRequestConfig) {
7357
+ return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdArticlesSlugGet(requestParameters.hospitalId, requestParameters.slug, requestParameters.languageCode, requestParameters.returnDefaultValue, requestParameters.previewSecret, options).then((request) => request(this.axios, this.basePath));
7358
+ }
7359
+
6998
7360
  /**
6999
7361
  *
7000
7362
  * @summary Get bank account info
@@ -7043,6 +7405,30 @@ export class HospitalsApi extends BaseAPI {
7043
7405
  return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdContactsGet(requestParameters.hospitalId, requestParameters.contactId, requestParameters.contactType, requestParameters.name, requestParameters.languageCode, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
7044
7406
  }
7045
7407
 
7408
+ /**
7409
+ *
7410
+ * @summary Get hospital\'s Deal by slug
7411
+ * @param {HospitalsApiApiV2HospitalsHospitalIdDealsSlugGetRequest} requestParameters Request parameters.
7412
+ * @param {*} [options] Override http request option.
7413
+ * @throws {RequiredError}
7414
+ * @memberof HospitalsApi
7415
+ */
7416
+ public apiV2HospitalsHospitalIdDealsSlugGet(requestParameters: HospitalsApiApiV2HospitalsHospitalIdDealsSlugGetRequest, options?: AxiosRequestConfig) {
7417
+ return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdDealsSlugGet(requestParameters.hospitalId, requestParameters.slug, requestParameters.languageCode, requestParameters.returnDefaultValue, requestParameters.previewSecret, options).then((request) => request(this.axios, this.basePath));
7418
+ }
7419
+
7420
+ /**
7421
+ *
7422
+ * @summary Get hospital\'s doctorAffiliations by slug
7423
+ * @param {HospitalsApiApiV2HospitalsHospitalIdDoctoraffiliationsSlugGetRequest} requestParameters Request parameters.
7424
+ * @param {*} [options] Override http request option.
7425
+ * @throws {RequiredError}
7426
+ * @memberof HospitalsApi
7427
+ */
7428
+ public apiV2HospitalsHospitalIdDoctoraffiliationsSlugGet(requestParameters: HospitalsApiApiV2HospitalsHospitalIdDoctoraffiliationsSlugGetRequest, options?: AxiosRequestConfig) {
7429
+ return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdDoctoraffiliationsSlugGet(requestParameters.hospitalId, requestParameters.slug, requestParameters.languageCode, options).then((request) => request(this.axios, this.basePath));
7430
+ }
7431
+
7046
7432
  /**
7047
7433
  *
7048
7434
  * @summary Get HospitalEquipment.
@@ -218,6 +218,7 @@ export * from './notifications-model';
218
218
  export * from './package-sub-document-model';
219
219
  export * from './paged-list-meta-data';
220
220
  export * from './patient-model';
221
+ export * from './pay-appointment-command';
221
222
  export * from './payment-method';
222
223
  export * from './plan-hospital-item-model';
223
224
  export * from './plan-hospital-model';
@@ -0,0 +1,39 @@
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 { PaymentMethod } from './payment-method';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface PayAppointmentCommand
24
+ */
25
+ export interface PayAppointmentCommand {
26
+ /**
27
+ *
28
+ * @type {PaymentMethod}
29
+ * @memberof PayAppointmentCommand
30
+ */
31
+ 'paymentMethod'?: PaymentMethod;
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof PayAppointmentCommand
36
+ */
37
+ 'paymentImage'?: string | null;
38
+ }
39
+
@@ -13,6 +13,9 @@
13
13
  */
14
14
 
15
15
 
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import { SurveyFormElementTypes } from './survey-form-element-types';
16
19
  // May contain unused imports in some cases
17
20
  // @ts-ignore
18
21
  import { SurveyResultElementValueInputModel } from './survey-result-element-value-input-model';
@@ -23,6 +26,12 @@ import { SurveyResultElementValueInputModel } from './survey-result-element-valu
23
26
  * @interface SurveyResultElementInputModel
24
27
  */
25
28
  export interface SurveyResultElementInputModel {
29
+ /**
30
+ *
31
+ * @type {SurveyFormElementTypes}
32
+ * @memberof SurveyResultElementInputModel
33
+ */
34
+ 'elementType'?: SurveyFormElementTypes;
26
35
  /**
27
36
  *
28
37
  * @type {string}