ch-admin-api-client-typescript 2.1.3 → 2.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api.d.ts +1470 -522
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +2438 -585
- package/package.json +1 -1
- package/src/api.ts +2509 -744
package/src/api.ts
CHANGED
|
@@ -207,12 +207,6 @@ export interface ApproveConsultationCommand {
|
|
|
207
207
|
* @memberof ApproveConsultationCommand
|
|
208
208
|
*/
|
|
209
209
|
'confirmedDateEnd'?: Date | null;
|
|
210
|
-
/**
|
|
211
|
-
*
|
|
212
|
-
* @type {string}
|
|
213
|
-
* @memberof ApproveConsultationCommand
|
|
214
|
-
*/
|
|
215
|
-
'callerId'?: string | null;
|
|
216
210
|
}
|
|
217
211
|
/**
|
|
218
212
|
*
|
|
@@ -1701,6 +1695,56 @@ export enum ChargeStatus {
|
|
|
1701
1695
|
Failed = 'Failed'
|
|
1702
1696
|
}
|
|
1703
1697
|
|
|
1698
|
+
/**
|
|
1699
|
+
*
|
|
1700
|
+
* @export
|
|
1701
|
+
* @interface CheckNotificationsCommand
|
|
1702
|
+
*/
|
|
1703
|
+
export interface CheckNotificationsCommand {
|
|
1704
|
+
/**
|
|
1705
|
+
*
|
|
1706
|
+
* @type {string}
|
|
1707
|
+
* @memberof CheckNotificationsCommand
|
|
1708
|
+
*/
|
|
1709
|
+
'notificationId'?: string | null;
|
|
1710
|
+
/**
|
|
1711
|
+
*
|
|
1712
|
+
* @type {boolean}
|
|
1713
|
+
* @memberof CheckNotificationsCommand
|
|
1714
|
+
*/
|
|
1715
|
+
'isDelete'?: boolean;
|
|
1716
|
+
}
|
|
1717
|
+
/**
|
|
1718
|
+
*
|
|
1719
|
+
* @export
|
|
1720
|
+
* @interface CommunicationUserTokenModel
|
|
1721
|
+
*/
|
|
1722
|
+
export interface CommunicationUserTokenModel {
|
|
1723
|
+
/**
|
|
1724
|
+
*
|
|
1725
|
+
* @type {string}
|
|
1726
|
+
* @memberof CommunicationUserTokenModel
|
|
1727
|
+
*/
|
|
1728
|
+
'token'?: string | null;
|
|
1729
|
+
/**
|
|
1730
|
+
*
|
|
1731
|
+
* @type {Date}
|
|
1732
|
+
* @memberof CommunicationUserTokenModel
|
|
1733
|
+
*/
|
|
1734
|
+
'expiresOn'?: Date;
|
|
1735
|
+
/**
|
|
1736
|
+
*
|
|
1737
|
+
* @type {string}
|
|
1738
|
+
* @memberof CommunicationUserTokenModel
|
|
1739
|
+
*/
|
|
1740
|
+
'communicationUserId'?: string | null;
|
|
1741
|
+
/**
|
|
1742
|
+
*
|
|
1743
|
+
* @type {string}
|
|
1744
|
+
* @memberof CommunicationUserTokenModel
|
|
1745
|
+
*/
|
|
1746
|
+
'gateway'?: string | null;
|
|
1747
|
+
}
|
|
1704
1748
|
/**
|
|
1705
1749
|
*
|
|
1706
1750
|
* @export
|
|
@@ -3641,6 +3685,25 @@ export interface CreateDoctorPortfolioCommand {
|
|
|
3641
3685
|
*/
|
|
3642
3686
|
'photoAfterThumbnail'?: string | null;
|
|
3643
3687
|
}
|
|
3688
|
+
/**
|
|
3689
|
+
*
|
|
3690
|
+
* @export
|
|
3691
|
+
* @interface CreateDoctorSpecialtyCommand
|
|
3692
|
+
*/
|
|
3693
|
+
export interface CreateDoctorSpecialtyCommand {
|
|
3694
|
+
/**
|
|
3695
|
+
*
|
|
3696
|
+
* @type {string}
|
|
3697
|
+
* @memberof CreateDoctorSpecialtyCommand
|
|
3698
|
+
*/
|
|
3699
|
+
'specialtyId'?: string;
|
|
3700
|
+
/**
|
|
3701
|
+
*
|
|
3702
|
+
* @type {number}
|
|
3703
|
+
* @memberof CreateDoctorSpecialtyCommand
|
|
3704
|
+
*/
|
|
3705
|
+
'order'?: number;
|
|
3706
|
+
}
|
|
3644
3707
|
/**
|
|
3645
3708
|
*
|
|
3646
3709
|
* @export
|
|
@@ -7744,6 +7807,18 @@ export interface HospitalServiceItemModel {
|
|
|
7744
7807
|
* @memberof HospitalServiceItemModel
|
|
7745
7808
|
*/
|
|
7746
7809
|
'specialtyName'?: string | null;
|
|
7810
|
+
/**
|
|
7811
|
+
*
|
|
7812
|
+
* @type {string}
|
|
7813
|
+
* @memberof HospitalServiceItemModel
|
|
7814
|
+
*/
|
|
7815
|
+
'serviceCategoryId'?: string;
|
|
7816
|
+
/**
|
|
7817
|
+
*
|
|
7818
|
+
* @type {string}
|
|
7819
|
+
* @memberof HospitalServiceItemModel
|
|
7820
|
+
*/
|
|
7821
|
+
'serviceCategoryName'?: string | null;
|
|
7747
7822
|
/**
|
|
7748
7823
|
*
|
|
7749
7824
|
* @type {MarketingType}
|
|
@@ -7865,6 +7940,18 @@ export interface HospitalServiceModel {
|
|
|
7865
7940
|
* @memberof HospitalServiceModel
|
|
7866
7941
|
*/
|
|
7867
7942
|
'specialtyName'?: string | null;
|
|
7943
|
+
/**
|
|
7944
|
+
*
|
|
7945
|
+
* @type {string}
|
|
7946
|
+
* @memberof HospitalServiceModel
|
|
7947
|
+
*/
|
|
7948
|
+
'serviceCategoryId'?: string;
|
|
7949
|
+
/**
|
|
7950
|
+
*
|
|
7951
|
+
* @type {string}
|
|
7952
|
+
* @memberof HospitalServiceModel
|
|
7953
|
+
*/
|
|
7954
|
+
'serviceCategoryName'?: string | null;
|
|
7868
7955
|
/**
|
|
7869
7956
|
*
|
|
7870
7957
|
* @type {MarketingType}
|
|
@@ -8043,6 +8130,12 @@ export interface HospitalSpecialtyItemModel {
|
|
|
8043
8130
|
* @memberof HospitalSpecialtyItemModel
|
|
8044
8131
|
*/
|
|
8045
8132
|
'specialtyTypeName'?: string | null;
|
|
8133
|
+
/**
|
|
8134
|
+
*
|
|
8135
|
+
* @type {MarketingType}
|
|
8136
|
+
* @memberof HospitalSpecialtyItemModel
|
|
8137
|
+
*/
|
|
8138
|
+
'marketingType'?: MarketingType;
|
|
8046
8139
|
/**
|
|
8047
8140
|
*
|
|
8048
8141
|
* @type {number}
|
|
@@ -8098,6 +8191,12 @@ export interface HospitalSpecialtyModel {
|
|
|
8098
8191
|
* @memberof HospitalSpecialtyModel
|
|
8099
8192
|
*/
|
|
8100
8193
|
'specialtyTypeName'?: string | null;
|
|
8194
|
+
/**
|
|
8195
|
+
*
|
|
8196
|
+
* @type {MarketingType}
|
|
8197
|
+
* @memberof HospitalSpecialtyModel
|
|
8198
|
+
*/
|
|
8199
|
+
'marketingType'?: MarketingType;
|
|
8101
8200
|
/**
|
|
8102
8201
|
*
|
|
8103
8202
|
* @type {number}
|
|
@@ -8124,6 +8223,111 @@ export interface HospitalsModel {
|
|
|
8124
8223
|
*/
|
|
8125
8224
|
'metaData'?: PagedListMetaData;
|
|
8126
8225
|
}
|
|
8226
|
+
/**
|
|
8227
|
+
*
|
|
8228
|
+
* @export
|
|
8229
|
+
* @interface LanguageItemModel
|
|
8230
|
+
*/
|
|
8231
|
+
export interface LanguageItemModel {
|
|
8232
|
+
/**
|
|
8233
|
+
*
|
|
8234
|
+
* @type {string}
|
|
8235
|
+
* @memberof LanguageItemModel
|
|
8236
|
+
*/
|
|
8237
|
+
'id'?: string;
|
|
8238
|
+
/**
|
|
8239
|
+
*
|
|
8240
|
+
* @type {string}
|
|
8241
|
+
* @memberof LanguageItemModel
|
|
8242
|
+
*/
|
|
8243
|
+
'code'?: string | null;
|
|
8244
|
+
/**
|
|
8245
|
+
*
|
|
8246
|
+
* @type {string}
|
|
8247
|
+
* @memberof LanguageItemModel
|
|
8248
|
+
*/
|
|
8249
|
+
'name'?: string | null;
|
|
8250
|
+
/**
|
|
8251
|
+
*
|
|
8252
|
+
* @type {string}
|
|
8253
|
+
* @memberof LanguageItemModel
|
|
8254
|
+
*/
|
|
8255
|
+
'description'?: string | null;
|
|
8256
|
+
/**
|
|
8257
|
+
*
|
|
8258
|
+
* @type {boolean}
|
|
8259
|
+
* @memberof LanguageItemModel
|
|
8260
|
+
*/
|
|
8261
|
+
'published'?: boolean;
|
|
8262
|
+
/**
|
|
8263
|
+
*
|
|
8264
|
+
* @type {number}
|
|
8265
|
+
* @memberof LanguageItemModel
|
|
8266
|
+
*/
|
|
8267
|
+
'order'?: number;
|
|
8268
|
+
}
|
|
8269
|
+
/**
|
|
8270
|
+
*
|
|
8271
|
+
* @export
|
|
8272
|
+
* @interface LanguageModel
|
|
8273
|
+
*/
|
|
8274
|
+
export interface LanguageModel {
|
|
8275
|
+
/**
|
|
8276
|
+
*
|
|
8277
|
+
* @type {string}
|
|
8278
|
+
* @memberof LanguageModel
|
|
8279
|
+
*/
|
|
8280
|
+
'id'?: string;
|
|
8281
|
+
/**
|
|
8282
|
+
*
|
|
8283
|
+
* @type {string}
|
|
8284
|
+
* @memberof LanguageModel
|
|
8285
|
+
*/
|
|
8286
|
+
'code'?: string | null;
|
|
8287
|
+
/**
|
|
8288
|
+
*
|
|
8289
|
+
* @type {string}
|
|
8290
|
+
* @memberof LanguageModel
|
|
8291
|
+
*/
|
|
8292
|
+
'name'?: string | null;
|
|
8293
|
+
/**
|
|
8294
|
+
*
|
|
8295
|
+
* @type {string}
|
|
8296
|
+
* @memberof LanguageModel
|
|
8297
|
+
*/
|
|
8298
|
+
'description'?: string | null;
|
|
8299
|
+
/**
|
|
8300
|
+
*
|
|
8301
|
+
* @type {boolean}
|
|
8302
|
+
* @memberof LanguageModel
|
|
8303
|
+
*/
|
|
8304
|
+
'published'?: boolean;
|
|
8305
|
+
/**
|
|
8306
|
+
*
|
|
8307
|
+
* @type {number}
|
|
8308
|
+
* @memberof LanguageModel
|
|
8309
|
+
*/
|
|
8310
|
+
'order'?: number;
|
|
8311
|
+
}
|
|
8312
|
+
/**
|
|
8313
|
+
*
|
|
8314
|
+
* @export
|
|
8315
|
+
* @interface LanguagesModel
|
|
8316
|
+
*/
|
|
8317
|
+
export interface LanguagesModel {
|
|
8318
|
+
/**
|
|
8319
|
+
*
|
|
8320
|
+
* @type {Array<LanguageItemModel>}
|
|
8321
|
+
* @memberof LanguagesModel
|
|
8322
|
+
*/
|
|
8323
|
+
'items'?: Array<LanguageItemModel> | null;
|
|
8324
|
+
/**
|
|
8325
|
+
*
|
|
8326
|
+
* @type {PagedListMetaData}
|
|
8327
|
+
* @memberof LanguagesModel
|
|
8328
|
+
*/
|
|
8329
|
+
'metaData'?: PagedListMetaData;
|
|
8330
|
+
}
|
|
8127
8331
|
/**
|
|
8128
8332
|
*
|
|
8129
8333
|
* @export
|
|
@@ -8669,6 +8873,126 @@ export interface MembershipInvitation {
|
|
|
8669
8873
|
*/
|
|
8670
8874
|
'email'?: string | null;
|
|
8671
8875
|
}
|
|
8876
|
+
/**
|
|
8877
|
+
*
|
|
8878
|
+
* @export
|
|
8879
|
+
* @enum {string}
|
|
8880
|
+
*/
|
|
8881
|
+
|
|
8882
|
+
export enum NotificationCode {
|
|
8883
|
+
WelcomeEmail = 'WelcomeEmail',
|
|
8884
|
+
DirectMessageSent = 'DirectMessageSent',
|
|
8885
|
+
BookingNew = 'BookingNew',
|
|
8886
|
+
BookingUpdated = 'BookingUpdated',
|
|
8887
|
+
BookingRejected = 'BookingRejected',
|
|
8888
|
+
BookingApproved = 'BookingApproved',
|
|
8889
|
+
BookingPaid = 'BookingPaid',
|
|
8890
|
+
BookingCanceled = 'BookingCanceled',
|
|
8891
|
+
BookingRefundRequested = 'BookingRefundRequested',
|
|
8892
|
+
BookingRefunded = 'BookingRefunded',
|
|
8893
|
+
ConsultationNew = 'ConsultationNew',
|
|
8894
|
+
ConsultationUpdated = 'ConsultationUpdated',
|
|
8895
|
+
ConsultationRejected = 'ConsultationRejected',
|
|
8896
|
+
ConsultationApproved = 'ConsultationApproved',
|
|
8897
|
+
ConsultationPaid = 'ConsultationPaid',
|
|
8898
|
+
ConsultationCanceled = 'ConsultationCanceled',
|
|
8899
|
+
ConsultationRefundRequested = 'ConsultationRefundRequested',
|
|
8900
|
+
ConsultationRefunded = 'ConsultationRefunded',
|
|
8901
|
+
ConsultationReady = 'ConsultationReady'
|
|
8902
|
+
}
|
|
8903
|
+
|
|
8904
|
+
/**
|
|
8905
|
+
*
|
|
8906
|
+
* @export
|
|
8907
|
+
* @interface NotificationModel
|
|
8908
|
+
*/
|
|
8909
|
+
export interface NotificationModel {
|
|
8910
|
+
/**
|
|
8911
|
+
*
|
|
8912
|
+
* @type {string}
|
|
8913
|
+
* @memberof NotificationModel
|
|
8914
|
+
*/
|
|
8915
|
+
'id'?: string;
|
|
8916
|
+
/**
|
|
8917
|
+
*
|
|
8918
|
+
* @type {NotificationCode}
|
|
8919
|
+
* @memberof NotificationModel
|
|
8920
|
+
*/
|
|
8921
|
+
'notificationCode'?: NotificationCode;
|
|
8922
|
+
/**
|
|
8923
|
+
*
|
|
8924
|
+
* @type {string}
|
|
8925
|
+
* @memberof NotificationModel
|
|
8926
|
+
*/
|
|
8927
|
+
'notificationTargetId'?: string;
|
|
8928
|
+
/**
|
|
8929
|
+
*
|
|
8930
|
+
* @type {string}
|
|
8931
|
+
* @memberof NotificationModel
|
|
8932
|
+
*/
|
|
8933
|
+
'senderId'?: string | null;
|
|
8934
|
+
/**
|
|
8935
|
+
*
|
|
8936
|
+
* @type {string}
|
|
8937
|
+
* @memberof NotificationModel
|
|
8938
|
+
*/
|
|
8939
|
+
'senderName'?: string | null;
|
|
8940
|
+
/**
|
|
8941
|
+
*
|
|
8942
|
+
* @type {string}
|
|
8943
|
+
* @memberof NotificationModel
|
|
8944
|
+
*/
|
|
8945
|
+
'receiverId'?: string | null;
|
|
8946
|
+
/**
|
|
8947
|
+
*
|
|
8948
|
+
* @type {string}
|
|
8949
|
+
* @memberof NotificationModel
|
|
8950
|
+
*/
|
|
8951
|
+
'receiverName'?: string | null;
|
|
8952
|
+
/**
|
|
8953
|
+
*
|
|
8954
|
+
* @type {string}
|
|
8955
|
+
* @memberof NotificationModel
|
|
8956
|
+
*/
|
|
8957
|
+
'message'?: string | null;
|
|
8958
|
+
/**
|
|
8959
|
+
*
|
|
8960
|
+
* @type {Date}
|
|
8961
|
+
* @memberof NotificationModel
|
|
8962
|
+
*/
|
|
8963
|
+
'createdAt'?: Date;
|
|
8964
|
+
/**
|
|
8965
|
+
*
|
|
8966
|
+
* @type {boolean}
|
|
8967
|
+
* @memberof NotificationModel
|
|
8968
|
+
*/
|
|
8969
|
+
'isChecked'?: boolean;
|
|
8970
|
+
}
|
|
8971
|
+
/**
|
|
8972
|
+
*
|
|
8973
|
+
* @export
|
|
8974
|
+
* @interface NotificationsModel
|
|
8975
|
+
*/
|
|
8976
|
+
export interface NotificationsModel {
|
|
8977
|
+
/**
|
|
8978
|
+
*
|
|
8979
|
+
* @type {Array<NotificationModel>}
|
|
8980
|
+
* @memberof NotificationsModel
|
|
8981
|
+
*/
|
|
8982
|
+
'items'?: Array<NotificationModel> | null;
|
|
8983
|
+
/**
|
|
8984
|
+
*
|
|
8985
|
+
* @type {PagedListMetaData}
|
|
8986
|
+
* @memberof NotificationsModel
|
|
8987
|
+
*/
|
|
8988
|
+
'metaData'?: PagedListMetaData;
|
|
8989
|
+
/**
|
|
8990
|
+
*
|
|
8991
|
+
* @type {number}
|
|
8992
|
+
* @memberof NotificationsModel
|
|
8993
|
+
*/
|
|
8994
|
+
'unreadCount'?: number;
|
|
8995
|
+
}
|
|
8672
8996
|
/**
|
|
8673
8997
|
*
|
|
8674
8998
|
* @export
|
|
@@ -9574,6 +9898,12 @@ export interface Service {
|
|
|
9574
9898
|
* @memberof Service
|
|
9575
9899
|
*/
|
|
9576
9900
|
'serviceCategoryId'?: string | null;
|
|
9901
|
+
/**
|
|
9902
|
+
*
|
|
9903
|
+
* @type {ServiceCategory}
|
|
9904
|
+
* @memberof Service
|
|
9905
|
+
*/
|
|
9906
|
+
'serviceCategory'?: ServiceCategory;
|
|
9577
9907
|
/**
|
|
9578
9908
|
*
|
|
9579
9909
|
* @type {number}
|
|
@@ -9633,361 +9963,149 @@ export interface ServiceCategoriesModel {
|
|
|
9633
9963
|
/**
|
|
9634
9964
|
*
|
|
9635
9965
|
* @export
|
|
9636
|
-
* @interface
|
|
9966
|
+
* @interface ServiceCategory
|
|
9637
9967
|
*/
|
|
9638
|
-
export interface
|
|
9968
|
+
export interface ServiceCategory {
|
|
9639
9969
|
/**
|
|
9640
9970
|
*
|
|
9641
9971
|
* @type {string}
|
|
9642
|
-
* @memberof
|
|
9972
|
+
* @memberof ServiceCategory
|
|
9643
9973
|
*/
|
|
9644
9974
|
'id'?: string;
|
|
9645
9975
|
/**
|
|
9646
9976
|
*
|
|
9647
9977
|
* @type {string}
|
|
9648
|
-
* @memberof
|
|
9978
|
+
* @memberof ServiceCategory
|
|
9649
9979
|
*/
|
|
9650
9980
|
'name'?: string | null;
|
|
9651
9981
|
/**
|
|
9652
9982
|
*
|
|
9653
9983
|
* @type {string}
|
|
9654
|
-
* @memberof
|
|
9984
|
+
* @memberof ServiceCategory
|
|
9655
9985
|
*/
|
|
9656
9986
|
'normalizedName'?: string | null;
|
|
9657
9987
|
/**
|
|
9658
9988
|
*
|
|
9659
9989
|
* @type {string}
|
|
9660
|
-
* @memberof
|
|
9990
|
+
* @memberof ServiceCategory
|
|
9661
9991
|
*/
|
|
9662
9992
|
'description'?: string | null;
|
|
9663
9993
|
/**
|
|
9664
9994
|
*
|
|
9665
|
-
* @type {
|
|
9666
|
-
* @memberof
|
|
9995
|
+
* @type {string}
|
|
9996
|
+
* @memberof ServiceCategory
|
|
9667
9997
|
*/
|
|
9668
|
-
'
|
|
9998
|
+
'normalizedDescription'?: string | null;
|
|
9669
9999
|
/**
|
|
9670
10000
|
*
|
|
9671
10001
|
* @type {number}
|
|
9672
|
-
* @memberof
|
|
10002
|
+
* @memberof ServiceCategory
|
|
9673
10003
|
*/
|
|
9674
|
-
'
|
|
10004
|
+
'order'?: number;
|
|
9675
10005
|
/**
|
|
9676
10006
|
*
|
|
9677
|
-
* @type {Array<
|
|
9678
|
-
* @memberof
|
|
10007
|
+
* @type {Array<Service>}
|
|
10008
|
+
* @memberof ServiceCategory
|
|
9679
10009
|
*/
|
|
9680
|
-
'services'?: Array<
|
|
10010
|
+
'services'?: Array<Service> | null;
|
|
9681
10011
|
}
|
|
9682
10012
|
/**
|
|
9683
10013
|
*
|
|
9684
10014
|
* @export
|
|
9685
|
-
* @interface
|
|
10015
|
+
* @interface ServiceCategoryItemModel
|
|
9686
10016
|
*/
|
|
9687
|
-
export interface
|
|
10017
|
+
export interface ServiceCategoryItemModel {
|
|
9688
10018
|
/**
|
|
9689
10019
|
*
|
|
9690
10020
|
* @type {string}
|
|
9691
|
-
* @memberof
|
|
10021
|
+
* @memberof ServiceCategoryItemModel
|
|
9692
10022
|
*/
|
|
9693
10023
|
'id'?: string;
|
|
9694
10024
|
/**
|
|
9695
10025
|
*
|
|
9696
10026
|
* @type {string}
|
|
9697
|
-
* @memberof
|
|
10027
|
+
* @memberof ServiceCategoryItemModel
|
|
9698
10028
|
*/
|
|
9699
10029
|
'name'?: string | null;
|
|
9700
10030
|
/**
|
|
9701
10031
|
*
|
|
9702
10032
|
* @type {string}
|
|
9703
|
-
* @memberof
|
|
10033
|
+
* @memberof ServiceCategoryItemModel
|
|
9704
10034
|
*/
|
|
9705
10035
|
'normalizedName'?: string | null;
|
|
9706
10036
|
/**
|
|
9707
10037
|
*
|
|
9708
10038
|
* @type {string}
|
|
9709
|
-
* @memberof
|
|
10039
|
+
* @memberof ServiceCategoryItemModel
|
|
9710
10040
|
*/
|
|
9711
10041
|
'description'?: string | null;
|
|
9712
10042
|
/**
|
|
9713
10043
|
*
|
|
9714
10044
|
* @type {number}
|
|
9715
|
-
* @memberof
|
|
10045
|
+
* @memberof ServiceCategoryItemModel
|
|
9716
10046
|
*/
|
|
9717
10047
|
'order'?: number;
|
|
9718
10048
|
/**
|
|
9719
10049
|
*
|
|
9720
10050
|
* @type {number}
|
|
9721
|
-
* @memberof
|
|
10051
|
+
* @memberof ServiceCategoryItemModel
|
|
9722
10052
|
*/
|
|
9723
10053
|
'serviceCount'?: number;
|
|
9724
10054
|
/**
|
|
9725
10055
|
*
|
|
9726
|
-
* @type {Array<
|
|
9727
|
-
* @memberof
|
|
10056
|
+
* @type {Array<HospitalServiceItemModel>}
|
|
10057
|
+
* @memberof ServiceCategoryItemModel
|
|
9728
10058
|
*/
|
|
9729
|
-
'services'?: Array<
|
|
10059
|
+
'services'?: Array<HospitalServiceItemModel> | null;
|
|
9730
10060
|
}
|
|
9731
10061
|
/**
|
|
9732
10062
|
*
|
|
9733
10063
|
* @export
|
|
9734
|
-
* @interface
|
|
10064
|
+
* @interface ServiceCategoryModel
|
|
9735
10065
|
*/
|
|
9736
|
-
export interface
|
|
10066
|
+
export interface ServiceCategoryModel {
|
|
9737
10067
|
/**
|
|
9738
10068
|
*
|
|
9739
10069
|
* @type {string}
|
|
9740
|
-
* @memberof
|
|
10070
|
+
* @memberof ServiceCategoryModel
|
|
9741
10071
|
*/
|
|
9742
10072
|
'id'?: string;
|
|
9743
10073
|
/**
|
|
9744
10074
|
*
|
|
9745
10075
|
* @type {string}
|
|
9746
|
-
* @memberof
|
|
10076
|
+
* @memberof ServiceCategoryModel
|
|
9747
10077
|
*/
|
|
9748
10078
|
'name'?: string | null;
|
|
9749
10079
|
/**
|
|
9750
10080
|
*
|
|
9751
10081
|
* @type {string}
|
|
9752
|
-
* @memberof
|
|
10082
|
+
* @memberof ServiceCategoryModel
|
|
9753
10083
|
*/
|
|
9754
|
-
'
|
|
10084
|
+
'normalizedName'?: string | null;
|
|
9755
10085
|
/**
|
|
9756
10086
|
*
|
|
9757
10087
|
* @type {string}
|
|
9758
|
-
* @memberof
|
|
10088
|
+
* @memberof ServiceCategoryModel
|
|
9759
10089
|
*/
|
|
9760
10090
|
'description'?: string | null;
|
|
9761
|
-
/**
|
|
9762
|
-
*
|
|
9763
|
-
* @type {string}
|
|
9764
|
-
* @memberof ServiceItemModel
|
|
9765
|
-
*/
|
|
9766
|
-
'content'?: string | null;
|
|
9767
|
-
/**
|
|
9768
|
-
*
|
|
9769
|
-
* @type {string}
|
|
9770
|
-
* @memberof ServiceItemModel
|
|
9771
|
-
*/
|
|
9772
|
-
'hospitalId'?: string;
|
|
9773
|
-
/**
|
|
9774
|
-
*
|
|
9775
|
-
* @type {string}
|
|
9776
|
-
* @memberof ServiceItemModel
|
|
9777
|
-
*/
|
|
9778
|
-
'hospitalName'?: string | null;
|
|
9779
|
-
/**
|
|
9780
|
-
*
|
|
9781
|
-
* @type {string}
|
|
9782
|
-
* @memberof ServiceItemModel
|
|
9783
|
-
*/
|
|
9784
|
-
'specialtyTypeId'?: string | null;
|
|
9785
|
-
/**
|
|
9786
|
-
*
|
|
9787
|
-
* @type {string}
|
|
9788
|
-
* @memberof ServiceItemModel
|
|
9789
|
-
*/
|
|
9790
|
-
'specialtyTypeName'?: string | null;
|
|
9791
|
-
/**
|
|
9792
|
-
*
|
|
9793
|
-
* @type {string}
|
|
9794
|
-
* @memberof ServiceItemModel
|
|
9795
|
-
*/
|
|
9796
|
-
'specialtyId'?: string;
|
|
9797
|
-
/**
|
|
9798
|
-
*
|
|
9799
|
-
* @type {string}
|
|
9800
|
-
* @memberof ServiceItemModel
|
|
9801
|
-
*/
|
|
9802
|
-
'specialtyName'?: string | null;
|
|
9803
|
-
/**
|
|
9804
|
-
*
|
|
9805
|
-
* @type {MarketingType}
|
|
9806
|
-
* @memberof ServiceItemModel
|
|
9807
|
-
*/
|
|
9808
|
-
'marketingType'?: MarketingType;
|
|
9809
|
-
/**
|
|
9810
|
-
*
|
|
9811
|
-
* @type {Procedure}
|
|
9812
|
-
* @memberof ServiceItemModel
|
|
9813
|
-
*/
|
|
9814
|
-
'procedure'?: Procedure;
|
|
9815
|
-
/**
|
|
9816
|
-
*
|
|
9817
|
-
* @type {number}
|
|
9818
|
-
* @memberof ServiceItemModel
|
|
9819
|
-
*/
|
|
9820
|
-
'minPrice'?: number | null;
|
|
9821
10091
|
/**
|
|
9822
10092
|
*
|
|
9823
10093
|
* @type {number}
|
|
9824
|
-
* @memberof
|
|
9825
|
-
*/
|
|
9826
|
-
'maxPrice'?: number | null;
|
|
9827
|
-
/**
|
|
9828
|
-
*
|
|
9829
|
-
* @type {boolean}
|
|
9830
|
-
* @memberof ServiceItemModel
|
|
9831
|
-
*/
|
|
9832
|
-
'priceReuqest'?: boolean;
|
|
9833
|
-
/**
|
|
9834
|
-
*
|
|
9835
|
-
* @type {number}
|
|
9836
|
-
* @memberof ServiceItemModel
|
|
10094
|
+
* @memberof ServiceCategoryModel
|
|
9837
10095
|
*/
|
|
9838
10096
|
'order'?: number;
|
|
9839
|
-
/**
|
|
9840
|
-
*
|
|
9841
|
-
* @type {AuditableEntity}
|
|
9842
|
-
* @memberof ServiceItemModel
|
|
9843
|
-
*/
|
|
9844
|
-
'auditableEntity'?: AuditableEntity;
|
|
9845
|
-
/**
|
|
9846
|
-
*
|
|
9847
|
-
* @type {boolean}
|
|
9848
|
-
* @memberof ServiceItemModel
|
|
9849
|
-
*/
|
|
9850
|
-
'confirmed'?: boolean;
|
|
9851
|
-
}
|
|
9852
|
-
/**
|
|
9853
|
-
*
|
|
9854
|
-
* @export
|
|
9855
|
-
* @interface ServiceModel
|
|
9856
|
-
*/
|
|
9857
|
-
export interface ServiceModel {
|
|
9858
|
-
/**
|
|
9859
|
-
*
|
|
9860
|
-
* @type {string}
|
|
9861
|
-
* @memberof ServiceModel
|
|
9862
|
-
*/
|
|
9863
|
-
'id'?: string;
|
|
9864
|
-
/**
|
|
9865
|
-
*
|
|
9866
|
-
* @type {string}
|
|
9867
|
-
* @memberof ServiceModel
|
|
9868
|
-
*/
|
|
9869
|
-
'name'?: string | null;
|
|
9870
|
-
/**
|
|
9871
|
-
*
|
|
9872
|
-
* @type {string}
|
|
9873
|
-
* @memberof ServiceModel
|
|
9874
|
-
*/
|
|
9875
|
-
'slug'?: string | null;
|
|
9876
|
-
/**
|
|
9877
|
-
*
|
|
9878
|
-
* @type {string}
|
|
9879
|
-
* @memberof ServiceModel
|
|
9880
|
-
*/
|
|
9881
|
-
'description'?: string | null;
|
|
9882
|
-
/**
|
|
9883
|
-
*
|
|
9884
|
-
* @type {string}
|
|
9885
|
-
* @memberof ServiceModel
|
|
9886
|
-
*/
|
|
9887
|
-
'content'?: string | null;
|
|
9888
|
-
/**
|
|
9889
|
-
*
|
|
9890
|
-
* @type {string}
|
|
9891
|
-
* @memberof ServiceModel
|
|
9892
|
-
*/
|
|
9893
|
-
'hospitalId'?: string;
|
|
9894
|
-
/**
|
|
9895
|
-
*
|
|
9896
|
-
* @type {string}
|
|
9897
|
-
* @memberof ServiceModel
|
|
9898
|
-
*/
|
|
9899
|
-
'hospitalName'?: string | null;
|
|
9900
|
-
/**
|
|
9901
|
-
*
|
|
9902
|
-
* @type {string}
|
|
9903
|
-
* @memberof ServiceModel
|
|
9904
|
-
*/
|
|
9905
|
-
'specialtyTypeId'?: string | null;
|
|
9906
|
-
/**
|
|
9907
|
-
*
|
|
9908
|
-
* @type {string}
|
|
9909
|
-
* @memberof ServiceModel
|
|
9910
|
-
*/
|
|
9911
|
-
'specialtyTypeName'?: string | null;
|
|
9912
|
-
/**
|
|
9913
|
-
*
|
|
9914
|
-
* @type {string}
|
|
9915
|
-
* @memberof ServiceModel
|
|
9916
|
-
*/
|
|
9917
|
-
'specialtyId'?: string;
|
|
9918
|
-
/**
|
|
9919
|
-
*
|
|
9920
|
-
* @type {string}
|
|
9921
|
-
* @memberof ServiceModel
|
|
9922
|
-
*/
|
|
9923
|
-
'specialtyName'?: string | null;
|
|
9924
|
-
/**
|
|
9925
|
-
*
|
|
9926
|
-
* @type {MarketingType}
|
|
9927
|
-
* @memberof ServiceModel
|
|
9928
|
-
*/
|
|
9929
|
-
'marketingType'?: MarketingType;
|
|
9930
|
-
/**
|
|
9931
|
-
*
|
|
9932
|
-
* @type {Procedure}
|
|
9933
|
-
* @memberof ServiceModel
|
|
9934
|
-
*/
|
|
9935
|
-
'procedure'?: Procedure;
|
|
9936
|
-
/**
|
|
9937
|
-
*
|
|
9938
|
-
* @type {number}
|
|
9939
|
-
* @memberof ServiceModel
|
|
9940
|
-
*/
|
|
9941
|
-
'minPrice'?: number | null;
|
|
9942
10097
|
/**
|
|
9943
10098
|
*
|
|
9944
10099
|
* @type {number}
|
|
9945
|
-
* @memberof
|
|
9946
|
-
*/
|
|
9947
|
-
'maxPrice'?: number | null;
|
|
9948
|
-
/**
|
|
9949
|
-
*
|
|
9950
|
-
* @type {boolean}
|
|
9951
|
-
* @memberof ServiceModel
|
|
9952
|
-
*/
|
|
9953
|
-
'priceReuqest'?: boolean;
|
|
9954
|
-
/**
|
|
9955
|
-
*
|
|
9956
|
-
* @type {number}
|
|
9957
|
-
* @memberof ServiceModel
|
|
9958
|
-
*/
|
|
9959
|
-
'order'?: number;
|
|
9960
|
-
/**
|
|
9961
|
-
*
|
|
9962
|
-
* @type {AuditableEntity}
|
|
9963
|
-
* @memberof ServiceModel
|
|
9964
|
-
*/
|
|
9965
|
-
'auditableEntity'?: AuditableEntity;
|
|
9966
|
-
/**
|
|
9967
|
-
*
|
|
9968
|
-
* @type {boolean}
|
|
9969
|
-
* @memberof ServiceModel
|
|
9970
|
-
*/
|
|
9971
|
-
'confirmed'?: boolean;
|
|
9972
|
-
}
|
|
9973
|
-
/**
|
|
9974
|
-
*
|
|
9975
|
-
* @export
|
|
9976
|
-
* @interface ServicesModel
|
|
9977
|
-
*/
|
|
9978
|
-
export interface ServicesModel {
|
|
9979
|
-
/**
|
|
9980
|
-
*
|
|
9981
|
-
* @type {Array<ServiceItemModel>}
|
|
9982
|
-
* @memberof ServicesModel
|
|
10100
|
+
* @memberof ServiceCategoryModel
|
|
9983
10101
|
*/
|
|
9984
|
-
'
|
|
10102
|
+
'serviceCount'?: number;
|
|
9985
10103
|
/**
|
|
9986
10104
|
*
|
|
9987
|
-
* @type {
|
|
9988
|
-
* @memberof
|
|
10105
|
+
* @type {Array<HospitalServiceItemModel>}
|
|
10106
|
+
* @memberof ServiceCategoryModel
|
|
9989
10107
|
*/
|
|
9990
|
-
'
|
|
10108
|
+
'services'?: Array<HospitalServiceItemModel> | null;
|
|
9991
10109
|
}
|
|
9992
10110
|
/**
|
|
9993
10111
|
*
|
|
@@ -10947,6 +11065,25 @@ export interface UpdateContributorCommand {
|
|
|
10947
11065
|
*/
|
|
10948
11066
|
'hospitalId'?: string;
|
|
10949
11067
|
}
|
|
11068
|
+
/**
|
|
11069
|
+
*
|
|
11070
|
+
* @export
|
|
11071
|
+
* @interface UpdateContributorSnsHandleCommand
|
|
11072
|
+
*/
|
|
11073
|
+
export interface UpdateContributorSnsHandleCommand {
|
|
11074
|
+
/**
|
|
11075
|
+
*
|
|
11076
|
+
* @type {SnsType}
|
|
11077
|
+
* @memberof UpdateContributorSnsHandleCommand
|
|
11078
|
+
*/
|
|
11079
|
+
'snsType'?: SnsType;
|
|
11080
|
+
/**
|
|
11081
|
+
*
|
|
11082
|
+
* @type {string}
|
|
11083
|
+
* @memberof UpdateContributorSnsHandleCommand
|
|
11084
|
+
*/
|
|
11085
|
+
'handle'?: string | null;
|
|
11086
|
+
}
|
|
10950
11087
|
/**
|
|
10951
11088
|
*
|
|
10952
11089
|
* @export
|
|
@@ -11285,6 +11422,19 @@ export interface UpdateDoctorPortfolioCommand {
|
|
|
11285
11422
|
*/
|
|
11286
11423
|
'photoAfterThumbnail'?: string | null;
|
|
11287
11424
|
}
|
|
11425
|
+
/**
|
|
11426
|
+
*
|
|
11427
|
+
* @export
|
|
11428
|
+
* @interface UpdateDoctorSpecialtyCommand
|
|
11429
|
+
*/
|
|
11430
|
+
export interface UpdateDoctorSpecialtyCommand {
|
|
11431
|
+
/**
|
|
11432
|
+
*
|
|
11433
|
+
* @type {number}
|
|
11434
|
+
* @memberof UpdateDoctorSpecialtyCommand
|
|
11435
|
+
*/
|
|
11436
|
+
'order'?: number;
|
|
11437
|
+
}
|
|
11288
11438
|
/**
|
|
11289
11439
|
*
|
|
11290
11440
|
* @export
|
|
@@ -11594,6 +11744,19 @@ export interface UpdateHospitalServiceCommand {
|
|
|
11594
11744
|
*/
|
|
11595
11745
|
'order'?: number;
|
|
11596
11746
|
}
|
|
11747
|
+
/**
|
|
11748
|
+
*
|
|
11749
|
+
* @export
|
|
11750
|
+
* @interface UpdateHospitalSpecialtyCommand
|
|
11751
|
+
*/
|
|
11752
|
+
export interface UpdateHospitalSpecialtyCommand {
|
|
11753
|
+
/**
|
|
11754
|
+
*
|
|
11755
|
+
* @type {number}
|
|
11756
|
+
* @memberof UpdateHospitalSpecialtyCommand
|
|
11757
|
+
*/
|
|
11758
|
+
'order'?: number;
|
|
11759
|
+
}
|
|
11597
11760
|
/**
|
|
11598
11761
|
*
|
|
11599
11762
|
* @export
|
|
@@ -11675,10 +11838,10 @@ export interface UpdateServiceCategoryCommand {
|
|
|
11675
11838
|
'serviceCount'?: number;
|
|
11676
11839
|
/**
|
|
11677
11840
|
*
|
|
11678
|
-
* @type {Array<
|
|
11841
|
+
* @type {Array<HospitalServiceItemModel>}
|
|
11679
11842
|
* @memberof UpdateServiceCategoryCommand
|
|
11680
11843
|
*/
|
|
11681
|
-
'services'?: Array<
|
|
11844
|
+
'services'?: Array<HospitalServiceItemModel> | null;
|
|
11682
11845
|
/**
|
|
11683
11846
|
*
|
|
11684
11847
|
* @type {Array<string>}
|
|
@@ -12836,7 +12999,6 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12836
12999
|
*
|
|
12837
13000
|
* @summary GetAll ArticleContributors.
|
|
12838
13001
|
* @param {string} articleId
|
|
12839
|
-
* @param {string} [articleId2]
|
|
12840
13002
|
* @param {string} [articleName]
|
|
12841
13003
|
* @param {string} [contributorId]
|
|
12842
13004
|
* @param {string} [contributorName]
|
|
@@ -12850,7 +13012,7 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12850
13012
|
* @param {*} [options] Override http request option.
|
|
12851
13013
|
* @throws {RequiredError}
|
|
12852
13014
|
*/
|
|
12853
|
-
apiV1ArticlesArticleIdContributorsGet: async (articleId: string,
|
|
13015
|
+
apiV1ArticlesArticleIdContributorsGet: async (articleId: string, articleName?: string, contributorId?: string, contributorName?: string, email?: string, description?: string, website?: string, contributionType?: ContributionType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12854
13016
|
// verify required parameter 'articleId' is not null or undefined
|
|
12855
13017
|
assertParamExists('apiV1ArticlesArticleIdContributorsGet', 'articleId', articleId)
|
|
12856
13018
|
const localVarPath = `/api/v1/articles/{articleId}/contributors`
|
|
@@ -12870,10 +13032,6 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12870
13032
|
// oauth required
|
|
12871
13033
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
12872
13034
|
|
|
12873
|
-
if (articleId2 !== undefined) {
|
|
12874
|
-
localVarQueryParameter['ArticleId'] = articleId2;
|
|
12875
|
-
}
|
|
12876
|
-
|
|
12877
13035
|
if (articleName !== undefined) {
|
|
12878
13036
|
localVarQueryParameter['ArticleName'] = articleName;
|
|
12879
13037
|
}
|
|
@@ -13560,7 +13718,6 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
13560
13718
|
*
|
|
13561
13719
|
* @summary GetAll ArticleContributors.
|
|
13562
13720
|
* @param {string} articleId
|
|
13563
|
-
* @param {string} [articleId2]
|
|
13564
13721
|
* @param {string} [articleName]
|
|
13565
13722
|
* @param {string} [contributorId]
|
|
13566
13723
|
* @param {string} [contributorName]
|
|
@@ -13574,7 +13731,7 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
13574
13731
|
* @param {*} [options] Override http request option.
|
|
13575
13732
|
* @throws {RequiredError}
|
|
13576
13733
|
*/
|
|
13577
|
-
apiV1ArticlesArticleIdTagsGet: async (articleId: string,
|
|
13734
|
+
apiV1ArticlesArticleIdTagsGet: async (articleId: string, articleName?: string, contributorId?: string, contributorName?: string, email?: string, description?: string, website?: string, contributionType?: ContributionType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13578
13735
|
// verify required parameter 'articleId' is not null or undefined
|
|
13579
13736
|
assertParamExists('apiV1ArticlesArticleIdTagsGet', 'articleId', articleId)
|
|
13580
13737
|
const localVarPath = `/api/v1/articles/{articleId}/tags`
|
|
@@ -13594,10 +13751,6 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
13594
13751
|
// oauth required
|
|
13595
13752
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
13596
13753
|
|
|
13597
|
-
if (articleId2 !== undefined) {
|
|
13598
|
-
localVarQueryParameter['ArticleId'] = articleId2;
|
|
13599
|
-
}
|
|
13600
|
-
|
|
13601
13754
|
if (articleName !== undefined) {
|
|
13602
13755
|
localVarQueryParameter['ArticleName'] = articleName;
|
|
13603
13756
|
}
|
|
@@ -14042,7 +14195,6 @@ export const ArticlesApiFp = function(configuration?: Configuration) {
|
|
|
14042
14195
|
*
|
|
14043
14196
|
* @summary GetAll ArticleContributors.
|
|
14044
14197
|
* @param {string} articleId
|
|
14045
|
-
* @param {string} [articleId2]
|
|
14046
14198
|
* @param {string} [articleName]
|
|
14047
14199
|
* @param {string} [contributorId]
|
|
14048
14200
|
* @param {string} [contributorName]
|
|
@@ -14056,8 +14208,8 @@ export const ArticlesApiFp = function(configuration?: Configuration) {
|
|
|
14056
14208
|
* @param {*} [options] Override http request option.
|
|
14057
14209
|
* @throws {RequiredError}
|
|
14058
14210
|
*/
|
|
14059
|
-
async apiV1ArticlesArticleIdContributorsGet(articleId: string,
|
|
14060
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesArticleIdContributorsGet(articleId,
|
|
14211
|
+
async apiV1ArticlesArticleIdContributorsGet(articleId: string, articleName?: string, contributorId?: string, contributorName?: string, email?: string, description?: string, website?: string, contributionType?: ContributionType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticleContributorsModel>> {
|
|
14212
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesArticleIdContributorsGet(articleId, articleName, contributorId, contributorName, email, description, website, contributionType, page, limit, lastRetrieved, options);
|
|
14061
14213
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
14062
14214
|
},
|
|
14063
14215
|
/**
|
|
@@ -14239,7 +14391,6 @@ export const ArticlesApiFp = function(configuration?: Configuration) {
|
|
|
14239
14391
|
*
|
|
14240
14392
|
* @summary GetAll ArticleContributors.
|
|
14241
14393
|
* @param {string} articleId
|
|
14242
|
-
* @param {string} [articleId2]
|
|
14243
14394
|
* @param {string} [articleName]
|
|
14244
14395
|
* @param {string} [contributorId]
|
|
14245
14396
|
* @param {string} [contributorName]
|
|
@@ -14253,8 +14404,8 @@ export const ArticlesApiFp = function(configuration?: Configuration) {
|
|
|
14253
14404
|
* @param {*} [options] Override http request option.
|
|
14254
14405
|
* @throws {RequiredError}
|
|
14255
14406
|
*/
|
|
14256
|
-
async apiV1ArticlesArticleIdTagsGet(articleId: string,
|
|
14257
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesArticleIdTagsGet(articleId,
|
|
14407
|
+
async apiV1ArticlesArticleIdTagsGet(articleId: string, articleName?: string, contributorId?: string, contributorName?: string, email?: string, description?: string, website?: string, contributionType?: ContributionType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticleContributorsModel>> {
|
|
14408
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesArticleIdTagsGet(articleId, articleName, contributorId, contributorName, email, description, website, contributionType, page, limit, lastRetrieved, options);
|
|
14258
14409
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
14259
14410
|
},
|
|
14260
14411
|
/**
|
|
@@ -14393,7 +14544,6 @@ export const ArticlesApiFactory = function (configuration?: Configuration, baseP
|
|
|
14393
14544
|
*
|
|
14394
14545
|
* @summary GetAll ArticleContributors.
|
|
14395
14546
|
* @param {string} articleId
|
|
14396
|
-
* @param {string} [articleId2]
|
|
14397
14547
|
* @param {string} [articleName]
|
|
14398
14548
|
* @param {string} [contributorId]
|
|
14399
14549
|
* @param {string} [contributorName]
|
|
@@ -14407,8 +14557,8 @@ export const ArticlesApiFactory = function (configuration?: Configuration, baseP
|
|
|
14407
14557
|
* @param {*} [options] Override http request option.
|
|
14408
14558
|
* @throws {RequiredError}
|
|
14409
14559
|
*/
|
|
14410
|
-
apiV1ArticlesArticleIdContributorsGet(articleId: string,
|
|
14411
|
-
return localVarFp.apiV1ArticlesArticleIdContributorsGet(articleId,
|
|
14560
|
+
apiV1ArticlesArticleIdContributorsGet(articleId: string, articleName?: string, contributorId?: string, contributorName?: string, email?: string, description?: string, website?: string, contributionType?: ContributionType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ArticleContributorsModel> {
|
|
14561
|
+
return localVarFp.apiV1ArticlesArticleIdContributorsGet(articleId, articleName, contributorId, contributorName, email, description, website, contributionType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
14412
14562
|
},
|
|
14413
14563
|
/**
|
|
14414
14564
|
*
|
|
@@ -14575,7 +14725,6 @@ export const ArticlesApiFactory = function (configuration?: Configuration, baseP
|
|
|
14575
14725
|
*
|
|
14576
14726
|
* @summary GetAll ArticleContributors.
|
|
14577
14727
|
* @param {string} articleId
|
|
14578
|
-
* @param {string} [articleId2]
|
|
14579
14728
|
* @param {string} [articleName]
|
|
14580
14729
|
* @param {string} [contributorId]
|
|
14581
14730
|
* @param {string} [contributorName]
|
|
@@ -14589,8 +14738,8 @@ export const ArticlesApiFactory = function (configuration?: Configuration, baseP
|
|
|
14589
14738
|
* @param {*} [options] Override http request option.
|
|
14590
14739
|
* @throws {RequiredError}
|
|
14591
14740
|
*/
|
|
14592
|
-
apiV1ArticlesArticleIdTagsGet(articleId: string,
|
|
14593
|
-
return localVarFp.apiV1ArticlesArticleIdTagsGet(articleId,
|
|
14741
|
+
apiV1ArticlesArticleIdTagsGet(articleId: string, articleName?: string, contributorId?: string, contributorName?: string, email?: string, description?: string, website?: string, contributionType?: ContributionType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ArticleContributorsModel> {
|
|
14742
|
+
return localVarFp.apiV1ArticlesArticleIdTagsGet(articleId, articleName, contributorId, contributorName, email, description, website, contributionType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
14594
14743
|
},
|
|
14595
14744
|
/**
|
|
14596
14745
|
*
|
|
@@ -14728,7 +14877,6 @@ export class ArticlesApi extends BaseAPI {
|
|
|
14728
14877
|
*
|
|
14729
14878
|
* @summary GetAll ArticleContributors.
|
|
14730
14879
|
* @param {string} articleId
|
|
14731
|
-
* @param {string} [articleId2]
|
|
14732
14880
|
* @param {string} [articleName]
|
|
14733
14881
|
* @param {string} [contributorId]
|
|
14734
14882
|
* @param {string} [contributorName]
|
|
@@ -14743,8 +14891,8 @@ export class ArticlesApi extends BaseAPI {
|
|
|
14743
14891
|
* @throws {RequiredError}
|
|
14744
14892
|
* @memberof ArticlesApi
|
|
14745
14893
|
*/
|
|
14746
|
-
public apiV1ArticlesArticleIdContributorsGet(articleId: string,
|
|
14747
|
-
return ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdContributorsGet(articleId,
|
|
14894
|
+
public apiV1ArticlesArticleIdContributorsGet(articleId: string, articleName?: string, contributorId?: string, contributorName?: string, email?: string, description?: string, website?: string, contributionType?: ContributionType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
14895
|
+
return ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdContributorsGet(articleId, articleName, contributorId, contributorName, email, description, website, contributionType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
14748
14896
|
}
|
|
14749
14897
|
|
|
14750
14898
|
/**
|
|
@@ -14940,7 +15088,6 @@ export class ArticlesApi extends BaseAPI {
|
|
|
14940
15088
|
*
|
|
14941
15089
|
* @summary GetAll ArticleContributors.
|
|
14942
15090
|
* @param {string} articleId
|
|
14943
|
-
* @param {string} [articleId2]
|
|
14944
15091
|
* @param {string} [articleName]
|
|
14945
15092
|
* @param {string} [contributorId]
|
|
14946
15093
|
* @param {string} [contributorName]
|
|
@@ -14955,8 +15102,8 @@ export class ArticlesApi extends BaseAPI {
|
|
|
14955
15102
|
* @throws {RequiredError}
|
|
14956
15103
|
* @memberof ArticlesApi
|
|
14957
15104
|
*/
|
|
14958
|
-
public apiV1ArticlesArticleIdTagsGet(articleId: string,
|
|
14959
|
-
return ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdTagsGet(articleId,
|
|
15105
|
+
public apiV1ArticlesArticleIdTagsGet(articleId: string, articleName?: string, contributorId?: string, contributorName?: string, email?: string, description?: string, website?: string, contributionType?: ContributionType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
15106
|
+
return ArticlesApiFp(this.configuration).apiV1ArticlesArticleIdTagsGet(articleId, articleName, contributorId, contributorName, email, description, website, contributionType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
14960
15107
|
}
|
|
14961
15108
|
|
|
14962
15109
|
/**
|
|
@@ -15593,16 +15740,246 @@ export class BookingsApi extends BaseAPI {
|
|
|
15593
15740
|
|
|
15594
15741
|
|
|
15595
15742
|
/**
|
|
15596
|
-
*
|
|
15743
|
+
* CommunicationsApi - axios parameter creator
|
|
15597
15744
|
* @export
|
|
15598
15745
|
*/
|
|
15599
|
-
export const
|
|
15746
|
+
export const CommunicationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
15600
15747
|
return {
|
|
15601
15748
|
/**
|
|
15602
15749
|
*
|
|
15603
|
-
* @summary
|
|
15604
|
-
* @param {
|
|
15605
|
-
* @
|
|
15750
|
+
* @summary Delete CommunicationUser.
|
|
15751
|
+
* @param {*} [options] Override http request option.
|
|
15752
|
+
* @throws {RequiredError}
|
|
15753
|
+
*/
|
|
15754
|
+
apiV1CommunicationsDelete: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15755
|
+
const localVarPath = `/api/v1/communications`;
|
|
15756
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15757
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15758
|
+
let baseOptions;
|
|
15759
|
+
if (configuration) {
|
|
15760
|
+
baseOptions = configuration.baseOptions;
|
|
15761
|
+
}
|
|
15762
|
+
|
|
15763
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
15764
|
+
const localVarHeaderParameter = {} as any;
|
|
15765
|
+
const localVarQueryParameter = {} as any;
|
|
15766
|
+
|
|
15767
|
+
// authentication oauth2 required
|
|
15768
|
+
// oauth required
|
|
15769
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
15770
|
+
|
|
15771
|
+
|
|
15772
|
+
|
|
15773
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15774
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15775
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15776
|
+
|
|
15777
|
+
return {
|
|
15778
|
+
url: toPathString(localVarUrlObj),
|
|
15779
|
+
options: localVarRequestOptions,
|
|
15780
|
+
};
|
|
15781
|
+
},
|
|
15782
|
+
/**
|
|
15783
|
+
*
|
|
15784
|
+
* @summary Get CommunicationUser.
|
|
15785
|
+
* @param {*} [options] Override http request option.
|
|
15786
|
+
* @throws {RequiredError}
|
|
15787
|
+
*/
|
|
15788
|
+
apiV1CommunicationsGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15789
|
+
const localVarPath = `/api/v1/communications`;
|
|
15790
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15791
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15792
|
+
let baseOptions;
|
|
15793
|
+
if (configuration) {
|
|
15794
|
+
baseOptions = configuration.baseOptions;
|
|
15795
|
+
}
|
|
15796
|
+
|
|
15797
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
15798
|
+
const localVarHeaderParameter = {} as any;
|
|
15799
|
+
const localVarQueryParameter = {} as any;
|
|
15800
|
+
|
|
15801
|
+
// authentication oauth2 required
|
|
15802
|
+
// oauth required
|
|
15803
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
15804
|
+
|
|
15805
|
+
|
|
15806
|
+
|
|
15807
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15808
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15809
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15810
|
+
|
|
15811
|
+
return {
|
|
15812
|
+
url: toPathString(localVarUrlObj),
|
|
15813
|
+
options: localVarRequestOptions,
|
|
15814
|
+
};
|
|
15815
|
+
},
|
|
15816
|
+
/**
|
|
15817
|
+
*
|
|
15818
|
+
* @summary Revoke CommunicationUser.
|
|
15819
|
+
* @param {*} [options] Override http request option.
|
|
15820
|
+
* @throws {RequiredError}
|
|
15821
|
+
*/
|
|
15822
|
+
apiV1CommunicationsPut: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15823
|
+
const localVarPath = `/api/v1/communications`;
|
|
15824
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15825
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15826
|
+
let baseOptions;
|
|
15827
|
+
if (configuration) {
|
|
15828
|
+
baseOptions = configuration.baseOptions;
|
|
15829
|
+
}
|
|
15830
|
+
|
|
15831
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
15832
|
+
const localVarHeaderParameter = {} as any;
|
|
15833
|
+
const localVarQueryParameter = {} as any;
|
|
15834
|
+
|
|
15835
|
+
// authentication oauth2 required
|
|
15836
|
+
// oauth required
|
|
15837
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
15838
|
+
|
|
15839
|
+
|
|
15840
|
+
|
|
15841
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15842
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15843
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15844
|
+
|
|
15845
|
+
return {
|
|
15846
|
+
url: toPathString(localVarUrlObj),
|
|
15847
|
+
options: localVarRequestOptions,
|
|
15848
|
+
};
|
|
15849
|
+
},
|
|
15850
|
+
}
|
|
15851
|
+
};
|
|
15852
|
+
|
|
15853
|
+
/**
|
|
15854
|
+
* CommunicationsApi - functional programming interface
|
|
15855
|
+
* @export
|
|
15856
|
+
*/
|
|
15857
|
+
export const CommunicationsApiFp = function(configuration?: Configuration) {
|
|
15858
|
+
const localVarAxiosParamCreator = CommunicationsApiAxiosParamCreator(configuration)
|
|
15859
|
+
return {
|
|
15860
|
+
/**
|
|
15861
|
+
*
|
|
15862
|
+
* @summary Delete CommunicationUser.
|
|
15863
|
+
* @param {*} [options] Override http request option.
|
|
15864
|
+
* @throws {RequiredError}
|
|
15865
|
+
*/
|
|
15866
|
+
async apiV1CommunicationsDelete(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<number>> {
|
|
15867
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1CommunicationsDelete(options);
|
|
15868
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
15869
|
+
},
|
|
15870
|
+
/**
|
|
15871
|
+
*
|
|
15872
|
+
* @summary Get CommunicationUser.
|
|
15873
|
+
* @param {*} [options] Override http request option.
|
|
15874
|
+
* @throws {RequiredError}
|
|
15875
|
+
*/
|
|
15876
|
+
async apiV1CommunicationsGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommunicationUserTokenModel>> {
|
|
15877
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1CommunicationsGet(options);
|
|
15878
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
15879
|
+
},
|
|
15880
|
+
/**
|
|
15881
|
+
*
|
|
15882
|
+
* @summary Revoke CommunicationUser.
|
|
15883
|
+
* @param {*} [options] Override http request option.
|
|
15884
|
+
* @throws {RequiredError}
|
|
15885
|
+
*/
|
|
15886
|
+
async apiV1CommunicationsPut(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommunicationUserTokenModel>> {
|
|
15887
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1CommunicationsPut(options);
|
|
15888
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
15889
|
+
},
|
|
15890
|
+
}
|
|
15891
|
+
};
|
|
15892
|
+
|
|
15893
|
+
/**
|
|
15894
|
+
* CommunicationsApi - factory interface
|
|
15895
|
+
* @export
|
|
15896
|
+
*/
|
|
15897
|
+
export const CommunicationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
15898
|
+
const localVarFp = CommunicationsApiFp(configuration)
|
|
15899
|
+
return {
|
|
15900
|
+
/**
|
|
15901
|
+
*
|
|
15902
|
+
* @summary Delete CommunicationUser.
|
|
15903
|
+
* @param {*} [options] Override http request option.
|
|
15904
|
+
* @throws {RequiredError}
|
|
15905
|
+
*/
|
|
15906
|
+
apiV1CommunicationsDelete(options?: any): AxiosPromise<number> {
|
|
15907
|
+
return localVarFp.apiV1CommunicationsDelete(options).then((request) => request(axios, basePath));
|
|
15908
|
+
},
|
|
15909
|
+
/**
|
|
15910
|
+
*
|
|
15911
|
+
* @summary Get CommunicationUser.
|
|
15912
|
+
* @param {*} [options] Override http request option.
|
|
15913
|
+
* @throws {RequiredError}
|
|
15914
|
+
*/
|
|
15915
|
+
apiV1CommunicationsGet(options?: any): AxiosPromise<CommunicationUserTokenModel> {
|
|
15916
|
+
return localVarFp.apiV1CommunicationsGet(options).then((request) => request(axios, basePath));
|
|
15917
|
+
},
|
|
15918
|
+
/**
|
|
15919
|
+
*
|
|
15920
|
+
* @summary Revoke CommunicationUser.
|
|
15921
|
+
* @param {*} [options] Override http request option.
|
|
15922
|
+
* @throws {RequiredError}
|
|
15923
|
+
*/
|
|
15924
|
+
apiV1CommunicationsPut(options?: any): AxiosPromise<CommunicationUserTokenModel> {
|
|
15925
|
+
return localVarFp.apiV1CommunicationsPut(options).then((request) => request(axios, basePath));
|
|
15926
|
+
},
|
|
15927
|
+
};
|
|
15928
|
+
};
|
|
15929
|
+
|
|
15930
|
+
/**
|
|
15931
|
+
* CommunicationsApi - object-oriented interface
|
|
15932
|
+
* @export
|
|
15933
|
+
* @class CommunicationsApi
|
|
15934
|
+
* @extends {BaseAPI}
|
|
15935
|
+
*/
|
|
15936
|
+
export class CommunicationsApi extends BaseAPI {
|
|
15937
|
+
/**
|
|
15938
|
+
*
|
|
15939
|
+
* @summary Delete CommunicationUser.
|
|
15940
|
+
* @param {*} [options] Override http request option.
|
|
15941
|
+
* @throws {RequiredError}
|
|
15942
|
+
* @memberof CommunicationsApi
|
|
15943
|
+
*/
|
|
15944
|
+
public apiV1CommunicationsDelete(options?: AxiosRequestConfig) {
|
|
15945
|
+
return CommunicationsApiFp(this.configuration).apiV1CommunicationsDelete(options).then((request) => request(this.axios, this.basePath));
|
|
15946
|
+
}
|
|
15947
|
+
|
|
15948
|
+
/**
|
|
15949
|
+
*
|
|
15950
|
+
* @summary Get CommunicationUser.
|
|
15951
|
+
* @param {*} [options] Override http request option.
|
|
15952
|
+
* @throws {RequiredError}
|
|
15953
|
+
* @memberof CommunicationsApi
|
|
15954
|
+
*/
|
|
15955
|
+
public apiV1CommunicationsGet(options?: AxiosRequestConfig) {
|
|
15956
|
+
return CommunicationsApiFp(this.configuration).apiV1CommunicationsGet(options).then((request) => request(this.axios, this.basePath));
|
|
15957
|
+
}
|
|
15958
|
+
|
|
15959
|
+
/**
|
|
15960
|
+
*
|
|
15961
|
+
* @summary Revoke CommunicationUser.
|
|
15962
|
+
* @param {*} [options] Override http request option.
|
|
15963
|
+
* @throws {RequiredError}
|
|
15964
|
+
* @memberof CommunicationsApi
|
|
15965
|
+
*/
|
|
15966
|
+
public apiV1CommunicationsPut(options?: AxiosRequestConfig) {
|
|
15967
|
+
return CommunicationsApiFp(this.configuration).apiV1CommunicationsPut(options).then((request) => request(this.axios, this.basePath));
|
|
15968
|
+
}
|
|
15969
|
+
}
|
|
15970
|
+
|
|
15971
|
+
|
|
15972
|
+
/**
|
|
15973
|
+
* ConsultationsApi - axios parameter creator
|
|
15974
|
+
* @export
|
|
15975
|
+
*/
|
|
15976
|
+
export const ConsultationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
15977
|
+
return {
|
|
15978
|
+
/**
|
|
15979
|
+
*
|
|
15980
|
+
* @summary Approve consultation.
|
|
15981
|
+
* @param {string} consultationId
|
|
15982
|
+
* @param {ApproveConsultationCommand} [approveConsultationCommand]
|
|
15606
15983
|
* @param {*} [options] Override http request option.
|
|
15607
15984
|
* @throws {RequiredError}
|
|
15608
15985
|
*/
|
|
@@ -16367,6 +16744,52 @@ export const ContributorsApiAxiosParamCreator = function (configuration?: Config
|
|
|
16367
16744
|
options: localVarRequestOptions,
|
|
16368
16745
|
};
|
|
16369
16746
|
},
|
|
16747
|
+
/**
|
|
16748
|
+
*
|
|
16749
|
+
* @summary Update ContributorHandle.
|
|
16750
|
+
* @param {string} contributorId
|
|
16751
|
+
* @param {string} handleId
|
|
16752
|
+
* @param {UpdateContributorSnsHandleCommand} [updateContributorSnsHandleCommand]
|
|
16753
|
+
* @param {*} [options] Override http request option.
|
|
16754
|
+
* @throws {RequiredError}
|
|
16755
|
+
*/
|
|
16756
|
+
apiV1ContributorsContributorIdHandlesHandleIdPut: async (contributorId: string, handleId: string, updateContributorSnsHandleCommand?: UpdateContributorSnsHandleCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16757
|
+
// verify required parameter 'contributorId' is not null or undefined
|
|
16758
|
+
assertParamExists('apiV1ContributorsContributorIdHandlesHandleIdPut', 'contributorId', contributorId)
|
|
16759
|
+
// verify required parameter 'handleId' is not null or undefined
|
|
16760
|
+
assertParamExists('apiV1ContributorsContributorIdHandlesHandleIdPut', 'handleId', handleId)
|
|
16761
|
+
const localVarPath = `/api/v1/contributors/{contributorId}/handles/{handleId}`
|
|
16762
|
+
.replace(`{${"contributorId"}}`, encodeURIComponent(String(contributorId)))
|
|
16763
|
+
.replace(`{${"handleId"}}`, encodeURIComponent(String(handleId)));
|
|
16764
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16765
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16766
|
+
let baseOptions;
|
|
16767
|
+
if (configuration) {
|
|
16768
|
+
baseOptions = configuration.baseOptions;
|
|
16769
|
+
}
|
|
16770
|
+
|
|
16771
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
16772
|
+
const localVarHeaderParameter = {} as any;
|
|
16773
|
+
const localVarQueryParameter = {} as any;
|
|
16774
|
+
|
|
16775
|
+
// authentication oauth2 required
|
|
16776
|
+
// oauth required
|
|
16777
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
16778
|
+
|
|
16779
|
+
|
|
16780
|
+
|
|
16781
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16782
|
+
|
|
16783
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16784
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16785
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16786
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateContributorSnsHandleCommand, localVarRequestOptions, configuration)
|
|
16787
|
+
|
|
16788
|
+
return {
|
|
16789
|
+
url: toPathString(localVarUrlObj),
|
|
16790
|
+
options: localVarRequestOptions,
|
|
16791
|
+
};
|
|
16792
|
+
},
|
|
16370
16793
|
/**
|
|
16371
16794
|
*
|
|
16372
16795
|
* @summary Get ContributorHandle.
|
|
@@ -16703,6 +17126,19 @@ export const ContributorsApiFp = function(configuration?: Configuration) {
|
|
|
16703
17126
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ContributorsContributorIdHandlesHandleIdGet(contributorId, handleId, options);
|
|
16704
17127
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16705
17128
|
},
|
|
17129
|
+
/**
|
|
17130
|
+
*
|
|
17131
|
+
* @summary Update ContributorHandle.
|
|
17132
|
+
* @param {string} contributorId
|
|
17133
|
+
* @param {string} handleId
|
|
17134
|
+
* @param {UpdateContributorSnsHandleCommand} [updateContributorSnsHandleCommand]
|
|
17135
|
+
* @param {*} [options] Override http request option.
|
|
17136
|
+
* @throws {RequiredError}
|
|
17137
|
+
*/
|
|
17138
|
+
async apiV1ContributorsContributorIdHandlesHandleIdPut(contributorId: string, handleId: string, updateContributorSnsHandleCommand?: UpdateContributorSnsHandleCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SnsHandleModel>> {
|
|
17139
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ContributorsContributorIdHandlesHandleIdPut(contributorId, handleId, updateContributorSnsHandleCommand, options);
|
|
17140
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
17141
|
+
},
|
|
16706
17142
|
/**
|
|
16707
17143
|
*
|
|
16708
17144
|
* @summary Get ContributorHandle.
|
|
@@ -16842,6 +17278,18 @@ export const ContributorsApiFactory = function (configuration?: Configuration, b
|
|
|
16842
17278
|
apiV1ContributorsContributorIdHandlesHandleIdGet(contributorId: string, handleId: string, options?: any): AxiosPromise<SnsHandleModel> {
|
|
16843
17279
|
return localVarFp.apiV1ContributorsContributorIdHandlesHandleIdGet(contributorId, handleId, options).then((request) => request(axios, basePath));
|
|
16844
17280
|
},
|
|
17281
|
+
/**
|
|
17282
|
+
*
|
|
17283
|
+
* @summary Update ContributorHandle.
|
|
17284
|
+
* @param {string} contributorId
|
|
17285
|
+
* @param {string} handleId
|
|
17286
|
+
* @param {UpdateContributorSnsHandleCommand} [updateContributorSnsHandleCommand]
|
|
17287
|
+
* @param {*} [options] Override http request option.
|
|
17288
|
+
* @throws {RequiredError}
|
|
17289
|
+
*/
|
|
17290
|
+
apiV1ContributorsContributorIdHandlesHandleIdPut(contributorId: string, handleId: string, updateContributorSnsHandleCommand?: UpdateContributorSnsHandleCommand, options?: any): AxiosPromise<SnsHandleModel> {
|
|
17291
|
+
return localVarFp.apiV1ContributorsContributorIdHandlesHandleIdPut(contributorId, handleId, updateContributorSnsHandleCommand, options).then((request) => request(axios, basePath));
|
|
17292
|
+
},
|
|
16845
17293
|
/**
|
|
16846
17294
|
*
|
|
16847
17295
|
* @summary Get ContributorHandle.
|
|
@@ -16986,6 +17434,20 @@ export class ContributorsApi extends BaseAPI {
|
|
|
16986
17434
|
return ContributorsApiFp(this.configuration).apiV1ContributorsContributorIdHandlesHandleIdGet(contributorId, handleId, options).then((request) => request(this.axios, this.basePath));
|
|
16987
17435
|
}
|
|
16988
17436
|
|
|
17437
|
+
/**
|
|
17438
|
+
*
|
|
17439
|
+
* @summary Update ContributorHandle.
|
|
17440
|
+
* @param {string} contributorId
|
|
17441
|
+
* @param {string} handleId
|
|
17442
|
+
* @param {UpdateContributorSnsHandleCommand} [updateContributorSnsHandleCommand]
|
|
17443
|
+
* @param {*} [options] Override http request option.
|
|
17444
|
+
* @throws {RequiredError}
|
|
17445
|
+
* @memberof ContributorsApi
|
|
17446
|
+
*/
|
|
17447
|
+
public apiV1ContributorsContributorIdHandlesHandleIdPut(contributorId: string, handleId: string, updateContributorSnsHandleCommand?: UpdateContributorSnsHandleCommand, options?: AxiosRequestConfig) {
|
|
17448
|
+
return ContributorsApiFp(this.configuration).apiV1ContributorsContributorIdHandlesHandleIdPut(contributorId, handleId, updateContributorSnsHandleCommand, options).then((request) => request(this.axios, this.basePath));
|
|
17449
|
+
}
|
|
17450
|
+
|
|
16989
17451
|
/**
|
|
16990
17452
|
*
|
|
16991
17453
|
* @summary Get ContributorHandle.
|
|
@@ -20716,7 +21178,6 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
20716
21178
|
*
|
|
20717
21179
|
* @summary Get All DoctorSpecialties.
|
|
20718
21180
|
* @param {string} doctorId
|
|
20719
|
-
* @param {string} [doctorId2]
|
|
20720
21181
|
* @param {string} [doctorName]
|
|
20721
21182
|
* @param {string} [specialtyId]
|
|
20722
21183
|
* @param {string} [specialtyName]
|
|
@@ -20726,7 +21187,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
20726
21187
|
* @param {*} [options] Override http request option.
|
|
20727
21188
|
* @throws {RequiredError}
|
|
20728
21189
|
*/
|
|
20729
|
-
apiV1DoctorsDoctorIdSpecialtiesGet: async (doctorId: string,
|
|
21190
|
+
apiV1DoctorsDoctorIdSpecialtiesGet: async (doctorId: string, doctorName?: string, specialtyId?: string, specialtyName?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20730
21191
|
// verify required parameter 'doctorId' is not null or undefined
|
|
20731
21192
|
assertParamExists('apiV1DoctorsDoctorIdSpecialtiesGet', 'doctorId', doctorId)
|
|
20732
21193
|
const localVarPath = `/api/v1/doctors/{doctorId}/specialties`
|
|
@@ -20746,10 +21207,6 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
20746
21207
|
// oauth required
|
|
20747
21208
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
20748
21209
|
|
|
20749
|
-
if (doctorId2 !== undefined) {
|
|
20750
|
-
localVarQueryParameter['DoctorId'] = doctorId2;
|
|
20751
|
-
}
|
|
20752
|
-
|
|
20753
21210
|
if (doctorName !== undefined) {
|
|
20754
21211
|
localVarQueryParameter['DoctorName'] = doctorName;
|
|
20755
21212
|
}
|
|
@@ -20787,6 +21244,48 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
20787
21244
|
options: localVarRequestOptions,
|
|
20788
21245
|
};
|
|
20789
21246
|
},
|
|
21247
|
+
/**
|
|
21248
|
+
*
|
|
21249
|
+
* @summary Link a doctor to a specialty.
|
|
21250
|
+
* @param {string} doctorId
|
|
21251
|
+
* @param {CreateDoctorSpecialtyCommand} [createDoctorSpecialtyCommand]
|
|
21252
|
+
* @param {*} [options] Override http request option.
|
|
21253
|
+
* @throws {RequiredError}
|
|
21254
|
+
*/
|
|
21255
|
+
apiV1DoctorsDoctorIdSpecialtiesPost: async (doctorId: string, createDoctorSpecialtyCommand?: CreateDoctorSpecialtyCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21256
|
+
// verify required parameter 'doctorId' is not null or undefined
|
|
21257
|
+
assertParamExists('apiV1DoctorsDoctorIdSpecialtiesPost', 'doctorId', doctorId)
|
|
21258
|
+
const localVarPath = `/api/v1/doctors/{doctorId}/specialties`
|
|
21259
|
+
.replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)));
|
|
21260
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21261
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21262
|
+
let baseOptions;
|
|
21263
|
+
if (configuration) {
|
|
21264
|
+
baseOptions = configuration.baseOptions;
|
|
21265
|
+
}
|
|
21266
|
+
|
|
21267
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
21268
|
+
const localVarHeaderParameter = {} as any;
|
|
21269
|
+
const localVarQueryParameter = {} as any;
|
|
21270
|
+
|
|
21271
|
+
// authentication oauth2 required
|
|
21272
|
+
// oauth required
|
|
21273
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
21274
|
+
|
|
21275
|
+
|
|
21276
|
+
|
|
21277
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
21278
|
+
|
|
21279
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21280
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21281
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21282
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createDoctorSpecialtyCommand, localVarRequestOptions, configuration)
|
|
21283
|
+
|
|
21284
|
+
return {
|
|
21285
|
+
url: toPathString(localVarUrlObj),
|
|
21286
|
+
options: localVarRequestOptions,
|
|
21287
|
+
};
|
|
21288
|
+
},
|
|
20790
21289
|
/**
|
|
20791
21290
|
*
|
|
20792
21291
|
* @summary Remove link between the doctor and the specialty.
|
|
@@ -20873,17 +21372,18 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
20873
21372
|
},
|
|
20874
21373
|
/**
|
|
20875
21374
|
*
|
|
20876
|
-
* @summary
|
|
21375
|
+
* @summary Update DoctorSpecialty.
|
|
20877
21376
|
* @param {string} doctorId
|
|
20878
21377
|
* @param {string} specialtyId
|
|
21378
|
+
* @param {UpdateDoctorSpecialtyCommand} [updateDoctorSpecialtyCommand]
|
|
20879
21379
|
* @param {*} [options] Override http request option.
|
|
20880
21380
|
* @throws {RequiredError}
|
|
20881
21381
|
*/
|
|
20882
|
-
|
|
21382
|
+
apiV1DoctorsDoctorIdSpecialtiesSpecialtyIdPut: async (doctorId: string, specialtyId: string, updateDoctorSpecialtyCommand?: UpdateDoctorSpecialtyCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20883
21383
|
// verify required parameter 'doctorId' is not null or undefined
|
|
20884
|
-
assertParamExists('
|
|
21384
|
+
assertParamExists('apiV1DoctorsDoctorIdSpecialtiesSpecialtyIdPut', 'doctorId', doctorId)
|
|
20885
21385
|
// verify required parameter 'specialtyId' is not null or undefined
|
|
20886
|
-
assertParamExists('
|
|
21386
|
+
assertParamExists('apiV1DoctorsDoctorIdSpecialtiesSpecialtyIdPut', 'specialtyId', specialtyId)
|
|
20887
21387
|
const localVarPath = `/api/v1/doctors/{doctorId}/specialties/{specialtyId}`
|
|
20888
21388
|
.replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)))
|
|
20889
21389
|
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)));
|
|
@@ -20894,7 +21394,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
20894
21394
|
baseOptions = configuration.baseOptions;
|
|
20895
21395
|
}
|
|
20896
21396
|
|
|
20897
|
-
const localVarRequestOptions = { method: '
|
|
21397
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
20898
21398
|
const localVarHeaderParameter = {} as any;
|
|
20899
21399
|
const localVarQueryParameter = {} as any;
|
|
20900
21400
|
|
|
@@ -20904,9 +21404,12 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
20904
21404
|
|
|
20905
21405
|
|
|
20906
21406
|
|
|
21407
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
21408
|
+
|
|
20907
21409
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20908
21410
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20909
21411
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21412
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateDoctorSpecialtyCommand, localVarRequestOptions, configuration)
|
|
20910
21413
|
|
|
20911
21414
|
return {
|
|
20912
21415
|
url: toPathString(localVarUrlObj),
|
|
@@ -20915,7 +21418,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
20915
21418
|
},
|
|
20916
21419
|
/**
|
|
20917
21420
|
*
|
|
20918
|
-
* @summary Get all
|
|
21421
|
+
* @summary Get all Doctors.
|
|
20919
21422
|
* @param {string} [countryId]
|
|
20920
21423
|
* @param {string} [hospitalId]
|
|
20921
21424
|
* @param {MarketingType} [marketingType]
|
|
@@ -21463,7 +21966,7 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
21463
21966
|
* @param {*} [options] Override http request option.
|
|
21464
21967
|
* @throws {RequiredError}
|
|
21465
21968
|
*/
|
|
21466
|
-
async apiV1DoctorsDoctorIdPut(doctorId: string, updateDoctorCommand?: UpdateDoctorCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
21969
|
+
async apiV1DoctorsDoctorIdPut(doctorId: string, updateDoctorCommand?: UpdateDoctorCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
21467
21970
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdPut(doctorId, updateDoctorCommand, options);
|
|
21468
21971
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21469
21972
|
},
|
|
@@ -21471,7 +21974,6 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
21471
21974
|
*
|
|
21472
21975
|
* @summary Get All DoctorSpecialties.
|
|
21473
21976
|
* @param {string} doctorId
|
|
21474
|
-
* @param {string} [doctorId2]
|
|
21475
21977
|
* @param {string} [doctorName]
|
|
21476
21978
|
* @param {string} [specialtyId]
|
|
21477
21979
|
* @param {string} [specialtyName]
|
|
@@ -21481,8 +21983,20 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
21481
21983
|
* @param {*} [options] Override http request option.
|
|
21482
21984
|
* @throws {RequiredError}
|
|
21483
21985
|
*/
|
|
21484
|
-
async apiV1DoctorsDoctorIdSpecialtiesGet(doctorId: string,
|
|
21485
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdSpecialtiesGet(doctorId,
|
|
21986
|
+
async apiV1DoctorsDoctorIdSpecialtiesGet(doctorId: string, doctorName?: string, specialtyId?: string, specialtyName?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorSpecialtiesModel>> {
|
|
21987
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, page, limit, lastRetrieved, options);
|
|
21988
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21989
|
+
},
|
|
21990
|
+
/**
|
|
21991
|
+
*
|
|
21992
|
+
* @summary Link a doctor to a specialty.
|
|
21993
|
+
* @param {string} doctorId
|
|
21994
|
+
* @param {CreateDoctorSpecialtyCommand} [createDoctorSpecialtyCommand]
|
|
21995
|
+
* @param {*} [options] Override http request option.
|
|
21996
|
+
* @throws {RequiredError}
|
|
21997
|
+
*/
|
|
21998
|
+
async apiV1DoctorsDoctorIdSpecialtiesPost(doctorId: string, createDoctorSpecialtyCommand?: CreateDoctorSpecialtyCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorSpecialtyModel>> {
|
|
21999
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdSpecialtiesPost(doctorId, createDoctorSpecialtyCommand, options);
|
|
21486
22000
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21487
22001
|
},
|
|
21488
22002
|
/**
|
|
@@ -21511,19 +22025,20 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
|
|
|
21511
22025
|
},
|
|
21512
22026
|
/**
|
|
21513
22027
|
*
|
|
21514
|
-
* @summary
|
|
22028
|
+
* @summary Update DoctorSpecialty.
|
|
21515
22029
|
* @param {string} doctorId
|
|
21516
22030
|
* @param {string} specialtyId
|
|
22031
|
+
* @param {UpdateDoctorSpecialtyCommand} [updateDoctorSpecialtyCommand]
|
|
21517
22032
|
* @param {*} [options] Override http request option.
|
|
21518
22033
|
* @throws {RequiredError}
|
|
21519
22034
|
*/
|
|
21520
|
-
async
|
|
21521
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
22035
|
+
async apiV1DoctorsDoctorIdSpecialtiesSpecialtyIdPut(doctorId: string, specialtyId: string, updateDoctorSpecialtyCommand?: UpdateDoctorSpecialtyCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorSpecialtyModel>> {
|
|
22036
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdSpecialtiesSpecialtyIdPut(doctorId, specialtyId, updateDoctorSpecialtyCommand, options);
|
|
21522
22037
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21523
22038
|
},
|
|
21524
22039
|
/**
|
|
21525
22040
|
*
|
|
21526
|
-
* @summary Get all
|
|
22041
|
+
* @summary Get all Doctors.
|
|
21527
22042
|
* @param {string} [countryId]
|
|
21528
22043
|
* @param {string} [hospitalId]
|
|
21529
22044
|
* @param {MarketingType} [marketingType]
|
|
@@ -21883,14 +22398,13 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
21883
22398
|
* @param {*} [options] Override http request option.
|
|
21884
22399
|
* @throws {RequiredError}
|
|
21885
22400
|
*/
|
|
21886
|
-
apiV1DoctorsDoctorIdPut(doctorId: string, updateDoctorCommand?: UpdateDoctorCommand, options?: any): AxiosPromise<
|
|
22401
|
+
apiV1DoctorsDoctorIdPut(doctorId: string, updateDoctorCommand?: UpdateDoctorCommand, options?: any): AxiosPromise<boolean> {
|
|
21887
22402
|
return localVarFp.apiV1DoctorsDoctorIdPut(doctorId, updateDoctorCommand, options).then((request) => request(axios, basePath));
|
|
21888
22403
|
},
|
|
21889
22404
|
/**
|
|
21890
22405
|
*
|
|
21891
22406
|
* @summary Get All DoctorSpecialties.
|
|
21892
22407
|
* @param {string} doctorId
|
|
21893
|
-
* @param {string} [doctorId2]
|
|
21894
22408
|
* @param {string} [doctorName]
|
|
21895
22409
|
* @param {string} [specialtyId]
|
|
21896
22410
|
* @param {string} [specialtyName]
|
|
@@ -21900,8 +22414,19 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
21900
22414
|
* @param {*} [options] Override http request option.
|
|
21901
22415
|
* @throws {RequiredError}
|
|
21902
22416
|
*/
|
|
21903
|
-
apiV1DoctorsDoctorIdSpecialtiesGet(doctorId: string,
|
|
21904
|
-
return localVarFp.apiV1DoctorsDoctorIdSpecialtiesGet(doctorId,
|
|
22417
|
+
apiV1DoctorsDoctorIdSpecialtiesGet(doctorId: string, doctorName?: string, specialtyId?: string, specialtyName?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorSpecialtiesModel> {
|
|
22418
|
+
return localVarFp.apiV1DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
22419
|
+
},
|
|
22420
|
+
/**
|
|
22421
|
+
*
|
|
22422
|
+
* @summary Link a doctor to a specialty.
|
|
22423
|
+
* @param {string} doctorId
|
|
22424
|
+
* @param {CreateDoctorSpecialtyCommand} [createDoctorSpecialtyCommand]
|
|
22425
|
+
* @param {*} [options] Override http request option.
|
|
22426
|
+
* @throws {RequiredError}
|
|
22427
|
+
*/
|
|
22428
|
+
apiV1DoctorsDoctorIdSpecialtiesPost(doctorId: string, createDoctorSpecialtyCommand?: CreateDoctorSpecialtyCommand, options?: any): AxiosPromise<DoctorSpecialtyModel> {
|
|
22429
|
+
return localVarFp.apiV1DoctorsDoctorIdSpecialtiesPost(doctorId, createDoctorSpecialtyCommand, options).then((request) => request(axios, basePath));
|
|
21905
22430
|
},
|
|
21906
22431
|
/**
|
|
21907
22432
|
*
|
|
@@ -21927,18 +22452,19 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
|
|
|
21927
22452
|
},
|
|
21928
22453
|
/**
|
|
21929
22454
|
*
|
|
21930
|
-
* @summary
|
|
22455
|
+
* @summary Update DoctorSpecialty.
|
|
21931
22456
|
* @param {string} doctorId
|
|
21932
22457
|
* @param {string} specialtyId
|
|
22458
|
+
* @param {UpdateDoctorSpecialtyCommand} [updateDoctorSpecialtyCommand]
|
|
21933
22459
|
* @param {*} [options] Override http request option.
|
|
21934
22460
|
* @throws {RequiredError}
|
|
21935
22461
|
*/
|
|
21936
|
-
|
|
21937
|
-
return localVarFp.
|
|
22462
|
+
apiV1DoctorsDoctorIdSpecialtiesSpecialtyIdPut(doctorId: string, specialtyId: string, updateDoctorSpecialtyCommand?: UpdateDoctorSpecialtyCommand, options?: any): AxiosPromise<DoctorSpecialtyModel> {
|
|
22463
|
+
return localVarFp.apiV1DoctorsDoctorIdSpecialtiesSpecialtyIdPut(doctorId, specialtyId, updateDoctorSpecialtyCommand, options).then((request) => request(axios, basePath));
|
|
21938
22464
|
},
|
|
21939
22465
|
/**
|
|
21940
22466
|
*
|
|
21941
|
-
* @summary Get all
|
|
22467
|
+
* @summary Get all Doctors.
|
|
21942
22468
|
* @param {string} [countryId]
|
|
21943
22469
|
* @param {string} [hospitalId]
|
|
21944
22470
|
* @param {MarketingType} [marketingType]
|
|
@@ -22352,7 +22878,6 @@ export class DoctorsApi extends BaseAPI {
|
|
|
22352
22878
|
*
|
|
22353
22879
|
* @summary Get All DoctorSpecialties.
|
|
22354
22880
|
* @param {string} doctorId
|
|
22355
|
-
* @param {string} [doctorId2]
|
|
22356
22881
|
* @param {string} [doctorName]
|
|
22357
22882
|
* @param {string} [specialtyId]
|
|
22358
22883
|
* @param {string} [specialtyName]
|
|
@@ -22363,8 +22888,21 @@ export class DoctorsApi extends BaseAPI {
|
|
|
22363
22888
|
* @throws {RequiredError}
|
|
22364
22889
|
* @memberof DoctorsApi
|
|
22365
22890
|
*/
|
|
22366
|
-
public apiV1DoctorsDoctorIdSpecialtiesGet(doctorId: string,
|
|
22367
|
-
return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdSpecialtiesGet(doctorId,
|
|
22891
|
+
public apiV1DoctorsDoctorIdSpecialtiesGet(doctorId: string, doctorName?: string, specialtyId?: string, specialtyName?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
22892
|
+
return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
22893
|
+
}
|
|
22894
|
+
|
|
22895
|
+
/**
|
|
22896
|
+
*
|
|
22897
|
+
* @summary Link a doctor to a specialty.
|
|
22898
|
+
* @param {string} doctorId
|
|
22899
|
+
* @param {CreateDoctorSpecialtyCommand} [createDoctorSpecialtyCommand]
|
|
22900
|
+
* @param {*} [options] Override http request option.
|
|
22901
|
+
* @throws {RequiredError}
|
|
22902
|
+
* @memberof DoctorsApi
|
|
22903
|
+
*/
|
|
22904
|
+
public apiV1DoctorsDoctorIdSpecialtiesPost(doctorId: string, createDoctorSpecialtyCommand?: CreateDoctorSpecialtyCommand, options?: AxiosRequestConfig) {
|
|
22905
|
+
return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdSpecialtiesPost(doctorId, createDoctorSpecialtyCommand, options).then((request) => request(this.axios, this.basePath));
|
|
22368
22906
|
}
|
|
22369
22907
|
|
|
22370
22908
|
/**
|
|
@@ -22395,20 +22933,21 @@ export class DoctorsApi extends BaseAPI {
|
|
|
22395
22933
|
|
|
22396
22934
|
/**
|
|
22397
22935
|
*
|
|
22398
|
-
* @summary
|
|
22936
|
+
* @summary Update DoctorSpecialty.
|
|
22399
22937
|
* @param {string} doctorId
|
|
22400
22938
|
* @param {string} specialtyId
|
|
22939
|
+
* @param {UpdateDoctorSpecialtyCommand} [updateDoctorSpecialtyCommand]
|
|
22401
22940
|
* @param {*} [options] Override http request option.
|
|
22402
22941
|
* @throws {RequiredError}
|
|
22403
22942
|
* @memberof DoctorsApi
|
|
22404
22943
|
*/
|
|
22405
|
-
public
|
|
22406
|
-
return DoctorsApiFp(this.configuration).
|
|
22944
|
+
public apiV1DoctorsDoctorIdSpecialtiesSpecialtyIdPut(doctorId: string, specialtyId: string, updateDoctorSpecialtyCommand?: UpdateDoctorSpecialtyCommand, options?: AxiosRequestConfig) {
|
|
22945
|
+
return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdSpecialtiesSpecialtyIdPut(doctorId, specialtyId, updateDoctorSpecialtyCommand, options).then((request) => request(this.axios, this.basePath));
|
|
22407
22946
|
}
|
|
22408
22947
|
|
|
22409
22948
|
/**
|
|
22410
22949
|
*
|
|
22411
|
-
* @summary Get all
|
|
22950
|
+
* @summary Get all Doctors.
|
|
22412
22951
|
* @param {string} [countryId]
|
|
22413
22952
|
* @param {string} [hospitalId]
|
|
22414
22953
|
* @param {MarketingType} [marketingType]
|
|
@@ -22673,9 +23212,8 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
22673
23212
|
},
|
|
22674
23213
|
/**
|
|
22675
23214
|
*
|
|
22676
|
-
* @summary Get all
|
|
22677
|
-
* @param {string}
|
|
22678
|
-
* @param {string} [hospitalId]
|
|
23215
|
+
* @summary Get all HospitalAccreditations.
|
|
23216
|
+
* @param {string} hospitalId
|
|
22679
23217
|
* @param {string} [hospitalName]
|
|
22680
23218
|
* @param {string} [accreditationId]
|
|
22681
23219
|
* @param {string} [accreditationName]
|
|
@@ -22685,11 +23223,11 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
22685
23223
|
* @param {*} [options] Override http request option.
|
|
22686
23224
|
* @throws {RequiredError}
|
|
22687
23225
|
*/
|
|
22688
|
-
apiV1HospitalsHospitalIdAccreditationsGet: async (
|
|
22689
|
-
// verify required parameter '
|
|
22690
|
-
assertParamExists('apiV1HospitalsHospitalIdAccreditationsGet', '
|
|
23226
|
+
apiV1HospitalsHospitalIdAccreditationsGet: async (hospitalId: string, hospitalName?: string, accreditationId?: string, accreditationName?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23227
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
23228
|
+
assertParamExists('apiV1HospitalsHospitalIdAccreditationsGet', 'hospitalId', hospitalId)
|
|
22691
23229
|
const localVarPath = `/api/v1/hospitals/{hospitalId}/accreditations`
|
|
22692
|
-
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(
|
|
23230
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
22693
23231
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22694
23232
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
22695
23233
|
let baseOptions;
|
|
@@ -22705,10 +23243,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
22705
23243
|
// oauth required
|
|
22706
23244
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
22707
23245
|
|
|
22708
|
-
if (hospitalId !== undefined) {
|
|
22709
|
-
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
22710
|
-
}
|
|
22711
|
-
|
|
22712
23246
|
if (hospitalName !== undefined) {
|
|
22713
23247
|
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
22714
23248
|
}
|
|
@@ -23862,32 +24396,26 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
23862
24396
|
},
|
|
23863
24397
|
/**
|
|
23864
24398
|
*
|
|
23865
|
-
* @summary Get all
|
|
23866
|
-
* @param {string}
|
|
23867
|
-
* @param {string} [id]
|
|
23868
|
-
* @param {string} [name]
|
|
23869
|
-
* @param {string} [description]
|
|
23870
|
-
* @param {string} [hospitalId]
|
|
24399
|
+
* @summary Get all HospitalSpecialties.
|
|
24400
|
+
* @param {string} hospitalId
|
|
23871
24401
|
* @param {string} [hospitalName]
|
|
23872
24402
|
* @param {string} [hospitalSlug]
|
|
23873
24403
|
* @param {string} [specialtyId]
|
|
24404
|
+
* @param {string} [specialtyName]
|
|
23874
24405
|
* @param {string} [specialtyTypeId]
|
|
23875
|
-
* @param {string} [specialtyTypeName]
|
|
23876
24406
|
* @param {MarketingType} [marketingType]
|
|
23877
|
-
* @param {Procedure} [procedure]
|
|
23878
24407
|
* @param {Date} [created]
|
|
23879
|
-
* @param {string} [languageCode]
|
|
23880
24408
|
* @param {number} [page]
|
|
23881
24409
|
* @param {number} [limit]
|
|
23882
24410
|
* @param {Date} [lastRetrieved]
|
|
23883
24411
|
* @param {*} [options] Override http request option.
|
|
23884
24412
|
* @throws {RequiredError}
|
|
23885
24413
|
*/
|
|
23886
|
-
|
|
23887
|
-
// verify required parameter '
|
|
23888
|
-
assertParamExists('
|
|
23889
|
-
const localVarPath = `/api/v1/hospitals/{hospitalId}/
|
|
23890
|
-
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(
|
|
24414
|
+
apiV1HospitalsHospitalIdSpecialtiesGet: async (hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, marketingType?: MarketingType, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24415
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
24416
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesGet', 'hospitalId', hospitalId)
|
|
24417
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties`
|
|
24418
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
23891
24419
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23892
24420
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23893
24421
|
let baseOptions;
|
|
@@ -23903,22 +24431,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
23903
24431
|
// oauth required
|
|
23904
24432
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
23905
24433
|
|
|
23906
|
-
if (id !== undefined) {
|
|
23907
|
-
localVarQueryParameter['Id'] = id;
|
|
23908
|
-
}
|
|
23909
|
-
|
|
23910
|
-
if (name !== undefined) {
|
|
23911
|
-
localVarQueryParameter['Name'] = name;
|
|
23912
|
-
}
|
|
23913
|
-
|
|
23914
|
-
if (description !== undefined) {
|
|
23915
|
-
localVarQueryParameter['Description'] = description;
|
|
23916
|
-
}
|
|
23917
|
-
|
|
23918
|
-
if (hospitalId !== undefined) {
|
|
23919
|
-
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
23920
|
-
}
|
|
23921
|
-
|
|
23922
24434
|
if (hospitalName !== undefined) {
|
|
23923
24435
|
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
23924
24436
|
}
|
|
@@ -23931,32 +24443,24 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
23931
24443
|
localVarQueryParameter['SpecialtyId'] = specialtyId;
|
|
23932
24444
|
}
|
|
23933
24445
|
|
|
23934
|
-
if (
|
|
23935
|
-
localVarQueryParameter['
|
|
24446
|
+
if (specialtyName !== undefined) {
|
|
24447
|
+
localVarQueryParameter['SpecialtyName'] = specialtyName;
|
|
23936
24448
|
}
|
|
23937
24449
|
|
|
23938
|
-
if (
|
|
23939
|
-
localVarQueryParameter['
|
|
24450
|
+
if (specialtyTypeId !== undefined) {
|
|
24451
|
+
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
23940
24452
|
}
|
|
23941
24453
|
|
|
23942
24454
|
if (marketingType !== undefined) {
|
|
23943
24455
|
localVarQueryParameter['MarketingType'] = marketingType;
|
|
23944
24456
|
}
|
|
23945
24457
|
|
|
23946
|
-
if (procedure !== undefined) {
|
|
23947
|
-
localVarQueryParameter['Procedure'] = procedure;
|
|
23948
|
-
}
|
|
23949
|
-
|
|
23950
24458
|
if (created !== undefined) {
|
|
23951
24459
|
localVarQueryParameter['Created'] = (created as any instanceof Date) ?
|
|
23952
24460
|
(created as any).toISOString() :
|
|
23953
24461
|
created;
|
|
23954
24462
|
}
|
|
23955
24463
|
|
|
23956
|
-
if (languageCode !== undefined) {
|
|
23957
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
23958
|
-
}
|
|
23959
|
-
|
|
23960
24464
|
if (page !== undefined) {
|
|
23961
24465
|
localVarQueryParameter['page'] = page;
|
|
23962
24466
|
}
|
|
@@ -23984,16 +24488,16 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
23984
24488
|
},
|
|
23985
24489
|
/**
|
|
23986
24490
|
*
|
|
23987
|
-
* @summary Create
|
|
24491
|
+
* @summary Create HospitalSpecialty.
|
|
23988
24492
|
* @param {string} hospitalId
|
|
23989
|
-
* @param {
|
|
24493
|
+
* @param {CreateHospitalSpecialtyCommand} [createHospitalSpecialtyCommand]
|
|
23990
24494
|
* @param {*} [options] Override http request option.
|
|
23991
24495
|
* @throws {RequiredError}
|
|
23992
24496
|
*/
|
|
23993
|
-
|
|
24497
|
+
apiV1HospitalsHospitalIdSpecialtiesPost: async (hospitalId: string, createHospitalSpecialtyCommand?: CreateHospitalSpecialtyCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23994
24498
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
23995
|
-
assertParamExists('
|
|
23996
|
-
const localVarPath = `/api/v1/hospitals/{hospitalId}/
|
|
24499
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesPost', 'hospitalId', hospitalId)
|
|
24500
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties`
|
|
23997
24501
|
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
23998
24502
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23999
24503
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -24017,7 +24521,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
24017
24521
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24018
24522
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24019
24523
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
24020
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
24524
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createHospitalSpecialtyCommand, localVarRequestOptions, configuration)
|
|
24021
24525
|
|
|
24022
24526
|
return {
|
|
24023
24527
|
url: toPathString(localVarUrlObj),
|
|
@@ -24026,20 +24530,20 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
24026
24530
|
},
|
|
24027
24531
|
/**
|
|
24028
24532
|
*
|
|
24029
|
-
* @summary Delete
|
|
24533
|
+
* @summary Delete HospitalSpecialty.
|
|
24030
24534
|
* @param {string} hospitalId
|
|
24031
|
-
* @param {string}
|
|
24535
|
+
* @param {string} specialtyId
|
|
24032
24536
|
* @param {*} [options] Override http request option.
|
|
24033
24537
|
* @throws {RequiredError}
|
|
24034
24538
|
*/
|
|
24035
|
-
|
|
24539
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete: async (hospitalId: string, specialtyId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24036
24540
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
24037
|
-
assertParamExists('
|
|
24038
|
-
// verify required parameter '
|
|
24039
|
-
assertParamExists('
|
|
24040
|
-
const localVarPath = `/api/v1/hospitals/{hospitalId}/
|
|
24541
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete', 'hospitalId', hospitalId)
|
|
24542
|
+
// verify required parameter 'specialtyId' is not null or undefined
|
|
24543
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete', 'specialtyId', specialtyId)
|
|
24544
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}`
|
|
24041
24545
|
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
24042
|
-
.replace(`{${"
|
|
24546
|
+
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)));
|
|
24043
24547
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24044
24548
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24045
24549
|
let baseOptions;
|
|
@@ -24068,21 +24572,20 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
24068
24572
|
},
|
|
24069
24573
|
/**
|
|
24070
24574
|
*
|
|
24071
|
-
* @summary Get
|
|
24575
|
+
* @summary Get HospitalSpecialty.
|
|
24072
24576
|
* @param {string} hospitalId
|
|
24073
|
-
* @param {string}
|
|
24074
|
-
* @param {string} [languageCode]
|
|
24577
|
+
* @param {string} specialtyId
|
|
24075
24578
|
* @param {*} [options] Override http request option.
|
|
24076
24579
|
* @throws {RequiredError}
|
|
24077
24580
|
*/
|
|
24078
|
-
|
|
24581
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet: async (hospitalId: string, specialtyId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24079
24582
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
24080
|
-
assertParamExists('
|
|
24081
|
-
// verify required parameter '
|
|
24082
|
-
assertParamExists('
|
|
24083
|
-
const localVarPath = `/api/v1/hospitals/{hospitalId}/
|
|
24583
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet', 'hospitalId', hospitalId)
|
|
24584
|
+
// verify required parameter 'specialtyId' is not null or undefined
|
|
24585
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet', 'specialtyId', specialtyId)
|
|
24586
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}`
|
|
24084
24587
|
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
24085
|
-
.replace(`{${"
|
|
24588
|
+
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)));
|
|
24086
24589
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24087
24590
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24088
24591
|
let baseOptions;
|
|
@@ -24098,10 +24601,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
24098
24601
|
// oauth required
|
|
24099
24602
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
24100
24603
|
|
|
24101
|
-
if (languageCode !== undefined) {
|
|
24102
|
-
localVarQueryParameter['languageCode'] = languageCode;
|
|
24103
|
-
}
|
|
24104
|
-
|
|
24105
24604
|
|
|
24106
24605
|
|
|
24107
24606
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -24115,21 +24614,21 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
24115
24614
|
},
|
|
24116
24615
|
/**
|
|
24117
24616
|
*
|
|
24118
|
-
* @summary Update
|
|
24617
|
+
* @summary Update HospitalSpecialty.
|
|
24119
24618
|
* @param {string} hospitalId
|
|
24120
|
-
* @param {string}
|
|
24121
|
-
* @param {
|
|
24619
|
+
* @param {string} specialtyId
|
|
24620
|
+
* @param {UpdateHospitalSpecialtyCommand} [updateHospitalSpecialtyCommand]
|
|
24122
24621
|
* @param {*} [options] Override http request option.
|
|
24123
24622
|
* @throws {RequiredError}
|
|
24124
24623
|
*/
|
|
24125
|
-
|
|
24624
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut: async (hospitalId: string, specialtyId: string, updateHospitalSpecialtyCommand?: UpdateHospitalSpecialtyCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24126
24625
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
24127
|
-
assertParamExists('
|
|
24128
|
-
// verify required parameter '
|
|
24129
|
-
assertParamExists('
|
|
24130
|
-
const localVarPath = `/api/v1/hospitals/{hospitalId}/
|
|
24626
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut', 'hospitalId', hospitalId)
|
|
24627
|
+
// verify required parameter 'specialtyId' is not null or undefined
|
|
24628
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut', 'specialtyId', specialtyId)
|
|
24629
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}`
|
|
24131
24630
|
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
24132
|
-
.replace(`{${"
|
|
24631
|
+
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)));
|
|
24133
24632
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24134
24633
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24135
24634
|
let baseOptions;
|
|
@@ -24152,7 +24651,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
24152
24651
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24153
24652
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24154
24653
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
24155
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
24654
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalSpecialtyCommand, localVarRequestOptions, configuration)
|
|
24156
24655
|
|
|
24157
24656
|
return {
|
|
24158
24657
|
url: toPathString(localVarUrlObj),
|
|
@@ -24161,26 +24660,36 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
24161
24660
|
},
|
|
24162
24661
|
/**
|
|
24163
24662
|
*
|
|
24164
|
-
* @summary Get all
|
|
24663
|
+
* @summary Get all HospitalServices.
|
|
24165
24664
|
* @param {string} hospitalId
|
|
24665
|
+
* @param {string} specialtyId
|
|
24166
24666
|
* @param {string} [hospitalName]
|
|
24167
24667
|
* @param {string} [hospitalSlug]
|
|
24168
|
-
* @param {string} [
|
|
24668
|
+
* @param {string} [id]
|
|
24669
|
+
* @param {string} [name]
|
|
24670
|
+
* @param {string} [description]
|
|
24169
24671
|
* @param {string} [specialtyName]
|
|
24170
24672
|
* @param {string} [specialtyTypeId]
|
|
24673
|
+
* @param {string} [specialtyTypeName]
|
|
24674
|
+
* @param {string} [serviceCategoryId]
|
|
24171
24675
|
* @param {MarketingType} [marketingType]
|
|
24676
|
+
* @param {Procedure} [procedure]
|
|
24172
24677
|
* @param {Date} [created]
|
|
24678
|
+
* @param {string} [languageCode]
|
|
24173
24679
|
* @param {number} [page]
|
|
24174
24680
|
* @param {number} [limit]
|
|
24175
24681
|
* @param {Date} [lastRetrieved]
|
|
24176
24682
|
* @param {*} [options] Override http request option.
|
|
24177
24683
|
* @throws {RequiredError}
|
|
24178
24684
|
*/
|
|
24179
|
-
|
|
24685
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet: async (hospitalId: string, specialtyId: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24180
24686
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
24181
|
-
assertParamExists('
|
|
24182
|
-
|
|
24183
|
-
|
|
24687
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet', 'hospitalId', hospitalId)
|
|
24688
|
+
// verify required parameter 'specialtyId' is not null or undefined
|
|
24689
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet', 'specialtyId', specialtyId)
|
|
24690
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services`
|
|
24691
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
24692
|
+
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)));
|
|
24184
24693
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24185
24694
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24186
24695
|
let baseOptions;
|
|
@@ -24204,8 +24713,16 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
24204
24713
|
localVarQueryParameter['HospitalSlug'] = hospitalSlug;
|
|
24205
24714
|
}
|
|
24206
24715
|
|
|
24207
|
-
if (
|
|
24208
|
-
localVarQueryParameter['
|
|
24716
|
+
if (id !== undefined) {
|
|
24717
|
+
localVarQueryParameter['Id'] = id;
|
|
24718
|
+
}
|
|
24719
|
+
|
|
24720
|
+
if (name !== undefined) {
|
|
24721
|
+
localVarQueryParameter['Name'] = name;
|
|
24722
|
+
}
|
|
24723
|
+
|
|
24724
|
+
if (description !== undefined) {
|
|
24725
|
+
localVarQueryParameter['Description'] = description;
|
|
24209
24726
|
}
|
|
24210
24727
|
|
|
24211
24728
|
if (specialtyName !== undefined) {
|
|
@@ -24216,16 +24733,32 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
24216
24733
|
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
24217
24734
|
}
|
|
24218
24735
|
|
|
24736
|
+
if (specialtyTypeName !== undefined) {
|
|
24737
|
+
localVarQueryParameter['SpecialtyTypeName'] = specialtyTypeName;
|
|
24738
|
+
}
|
|
24739
|
+
|
|
24740
|
+
if (serviceCategoryId !== undefined) {
|
|
24741
|
+
localVarQueryParameter['ServiceCategoryId'] = serviceCategoryId;
|
|
24742
|
+
}
|
|
24743
|
+
|
|
24219
24744
|
if (marketingType !== undefined) {
|
|
24220
24745
|
localVarQueryParameter['MarketingType'] = marketingType;
|
|
24221
24746
|
}
|
|
24222
24747
|
|
|
24748
|
+
if (procedure !== undefined) {
|
|
24749
|
+
localVarQueryParameter['Procedure'] = procedure;
|
|
24750
|
+
}
|
|
24751
|
+
|
|
24223
24752
|
if (created !== undefined) {
|
|
24224
24753
|
localVarQueryParameter['Created'] = (created as any instanceof Date) ?
|
|
24225
24754
|
(created as any).toISOString() :
|
|
24226
24755
|
created;
|
|
24227
24756
|
}
|
|
24228
24757
|
|
|
24758
|
+
if (languageCode !== undefined) {
|
|
24759
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
24760
|
+
}
|
|
24761
|
+
|
|
24229
24762
|
if (page !== undefined) {
|
|
24230
24763
|
localVarQueryParameter['page'] = page;
|
|
24231
24764
|
}
|
|
@@ -24253,17 +24786,21 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
24253
24786
|
},
|
|
24254
24787
|
/**
|
|
24255
24788
|
*
|
|
24256
|
-
* @summary Create
|
|
24789
|
+
* @summary Create HospitalService.
|
|
24257
24790
|
* @param {string} hospitalId
|
|
24258
|
-
* @param {
|
|
24791
|
+
* @param {string} specialtyId
|
|
24792
|
+
* @param {CreateHospitalServiceCommand} [createHospitalServiceCommand]
|
|
24259
24793
|
* @param {*} [options] Override http request option.
|
|
24260
24794
|
* @throws {RequiredError}
|
|
24261
24795
|
*/
|
|
24262
|
-
|
|
24796
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost: async (hospitalId: string, specialtyId: string, createHospitalServiceCommand?: CreateHospitalServiceCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24263
24797
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
24264
|
-
assertParamExists('
|
|
24265
|
-
|
|
24266
|
-
|
|
24798
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost', 'hospitalId', hospitalId)
|
|
24799
|
+
// verify required parameter 'specialtyId' is not null or undefined
|
|
24800
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost', 'specialtyId', specialtyId)
|
|
24801
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services`
|
|
24802
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
24803
|
+
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)));
|
|
24267
24804
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24268
24805
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24269
24806
|
let baseOptions;
|
|
@@ -24286,7 +24823,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
24286
24823
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24287
24824
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24288
24825
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
24289
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
24826
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createHospitalServiceCommand, localVarRequestOptions, configuration)
|
|
24290
24827
|
|
|
24291
24828
|
return {
|
|
24292
24829
|
url: toPathString(localVarUrlObj),
|
|
@@ -24295,20 +24832,24 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
24295
24832
|
},
|
|
24296
24833
|
/**
|
|
24297
24834
|
*
|
|
24298
|
-
* @summary Delete
|
|
24835
|
+
* @summary Delete HospitalService
|
|
24299
24836
|
* @param {string} hospitalId
|
|
24300
24837
|
* @param {string} specialtyId
|
|
24838
|
+
* @param {string} serviceId
|
|
24301
24839
|
* @param {*} [options] Override http request option.
|
|
24302
24840
|
* @throws {RequiredError}
|
|
24303
24841
|
*/
|
|
24304
|
-
|
|
24842
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete: async (hospitalId: string, specialtyId: string, serviceId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24305
24843
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
24306
|
-
assertParamExists('
|
|
24844
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete', 'hospitalId', hospitalId)
|
|
24307
24845
|
// verify required parameter 'specialtyId' is not null or undefined
|
|
24308
|
-
assertParamExists('
|
|
24309
|
-
|
|
24846
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete', 'specialtyId', specialtyId)
|
|
24847
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
24848
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete', 'serviceId', serviceId)
|
|
24849
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}`
|
|
24310
24850
|
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
24311
|
-
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
|
|
24851
|
+
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
|
|
24852
|
+
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
|
|
24312
24853
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24313
24854
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24314
24855
|
let baseOptions;
|
|
@@ -24337,20 +24878,25 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
24337
24878
|
},
|
|
24338
24879
|
/**
|
|
24339
24880
|
*
|
|
24340
|
-
* @summary Get
|
|
24881
|
+
* @summary Get HospitalService.
|
|
24341
24882
|
* @param {string} hospitalId
|
|
24342
24883
|
* @param {string} specialtyId
|
|
24884
|
+
* @param {string} serviceId
|
|
24885
|
+
* @param {string} [languageCode]
|
|
24343
24886
|
* @param {*} [options] Override http request option.
|
|
24344
24887
|
* @throws {RequiredError}
|
|
24345
24888
|
*/
|
|
24346
|
-
|
|
24889
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet: async (hospitalId: string, specialtyId: string, serviceId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24347
24890
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
24348
|
-
assertParamExists('
|
|
24891
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet', 'hospitalId', hospitalId)
|
|
24349
24892
|
// verify required parameter 'specialtyId' is not null or undefined
|
|
24350
|
-
assertParamExists('
|
|
24351
|
-
|
|
24893
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet', 'specialtyId', specialtyId)
|
|
24894
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
24895
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet', 'serviceId', serviceId)
|
|
24896
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}`
|
|
24352
24897
|
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
24353
|
-
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
|
|
24898
|
+
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
|
|
24899
|
+
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
|
|
24354
24900
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24355
24901
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24356
24902
|
let baseOptions;
|
|
@@ -24366,6 +24912,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
24366
24912
|
// oauth required
|
|
24367
24913
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
24368
24914
|
|
|
24915
|
+
if (languageCode !== undefined) {
|
|
24916
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
24917
|
+
}
|
|
24918
|
+
|
|
24369
24919
|
|
|
24370
24920
|
|
|
24371
24921
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -24379,13 +24929,29 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
24379
24929
|
},
|
|
24380
24930
|
/**
|
|
24381
24931
|
*
|
|
24382
|
-
* @summary
|
|
24383
|
-
* @param {
|
|
24932
|
+
* @summary Get all HospitalServiceMedias.
|
|
24933
|
+
* @param {string} hospitalId
|
|
24934
|
+
* @param {string} specialtyId
|
|
24935
|
+
* @param {string} serviceId
|
|
24936
|
+
* @param {string} [id]
|
|
24937
|
+
* @param {MediaType} [mediaType]
|
|
24938
|
+
* @param {number} [page]
|
|
24939
|
+
* @param {number} [limit]
|
|
24940
|
+
* @param {Date} [lastRetrieved]
|
|
24384
24941
|
* @param {*} [options] Override http request option.
|
|
24385
24942
|
* @throws {RequiredError}
|
|
24386
24943
|
*/
|
|
24387
|
-
|
|
24388
|
-
|
|
24944
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet: async (hospitalId: string, specialtyId: string, serviceId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24945
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
24946
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet', 'hospitalId', hospitalId)
|
|
24947
|
+
// verify required parameter 'specialtyId' is not null or undefined
|
|
24948
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet', 'specialtyId', specialtyId)
|
|
24949
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
24950
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet', 'serviceId', serviceId)
|
|
24951
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/medias`
|
|
24952
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
24953
|
+
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
|
|
24954
|
+
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
|
|
24389
24955
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24390
24956
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24391
24957
|
let baseOptions;
|
|
@@ -24393,7 +24959,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
24393
24959
|
baseOptions = configuration.baseOptions;
|
|
24394
24960
|
}
|
|
24395
24961
|
|
|
24396
|
-
const localVarRequestOptions = { method: '
|
|
24962
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
24397
24963
|
const localVarHeaderParameter = {} as any;
|
|
24398
24964
|
const localVarQueryParameter = {} as any;
|
|
24399
24965
|
|
|
@@ -24401,14 +24967,33 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
24401
24967
|
// oauth required
|
|
24402
24968
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
24403
24969
|
|
|
24970
|
+
if (id !== undefined) {
|
|
24971
|
+
localVarQueryParameter['Id'] = id;
|
|
24972
|
+
}
|
|
24973
|
+
|
|
24974
|
+
if (mediaType !== undefined) {
|
|
24975
|
+
localVarQueryParameter['MediaType'] = mediaType;
|
|
24976
|
+
}
|
|
24977
|
+
|
|
24978
|
+
if (page !== undefined) {
|
|
24979
|
+
localVarQueryParameter['page'] = page;
|
|
24980
|
+
}
|
|
24981
|
+
|
|
24982
|
+
if (limit !== undefined) {
|
|
24983
|
+
localVarQueryParameter['limit'] = limit;
|
|
24984
|
+
}
|
|
24985
|
+
|
|
24986
|
+
if (lastRetrieved !== undefined) {
|
|
24987
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
24988
|
+
(lastRetrieved as any).toISOString() :
|
|
24989
|
+
lastRetrieved;
|
|
24990
|
+
}
|
|
24404
24991
|
|
|
24405
|
-
|
|
24406
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
24407
24992
|
|
|
24993
|
+
|
|
24408
24994
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24409
24995
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24410
24996
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
24411
|
-
localVarRequestOptions.data = serializeDataIfNeeded(createHospitalCommand, localVarRequestOptions, configuration)
|
|
24412
24997
|
|
|
24413
24998
|
return {
|
|
24414
24999
|
url: toPathString(localVarUrlObj),
|
|
@@ -24417,17 +25002,28 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
24417
25002
|
},
|
|
24418
25003
|
/**
|
|
24419
25004
|
*
|
|
24420
|
-
* @summary
|
|
24421
|
-
* @param {string}
|
|
24422
|
-
* @param {string}
|
|
25005
|
+
* @summary Delete HospitalServiceMedia
|
|
25006
|
+
* @param {string} hospitalId
|
|
25007
|
+
* @param {string} specialtyId
|
|
25008
|
+
* @param {string} serviceId
|
|
25009
|
+
* @param {string} mediaId
|
|
24423
25010
|
* @param {*} [options] Override http request option.
|
|
24424
25011
|
* @throws {RequiredError}
|
|
24425
25012
|
*/
|
|
24426
|
-
|
|
24427
|
-
// verify required parameter '
|
|
24428
|
-
assertParamExists('
|
|
24429
|
-
|
|
24430
|
-
|
|
25013
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete: async (hospitalId: string, specialtyId: string, serviceId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25014
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
25015
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete', 'hospitalId', hospitalId)
|
|
25016
|
+
// verify required parameter 'specialtyId' is not null or undefined
|
|
25017
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete', 'specialtyId', specialtyId)
|
|
25018
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
25019
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete', 'serviceId', serviceId)
|
|
25020
|
+
// verify required parameter 'mediaId' is not null or undefined
|
|
25021
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete', 'mediaId', mediaId)
|
|
25022
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/medias/{mediaId}`
|
|
25023
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
25024
|
+
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
|
|
25025
|
+
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)))
|
|
25026
|
+
.replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
|
|
24431
25027
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24432
25028
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24433
25029
|
let baseOptions;
|
|
@@ -24435,7 +25031,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
24435
25031
|
baseOptions = configuration.baseOptions;
|
|
24436
25032
|
}
|
|
24437
25033
|
|
|
24438
|
-
const localVarRequestOptions = { method: '
|
|
25034
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
24439
25035
|
const localVarHeaderParameter = {} as any;
|
|
24440
25036
|
const localVarQueryParameter = {} as any;
|
|
24441
25037
|
|
|
@@ -24443,10 +25039,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
24443
25039
|
// oauth required
|
|
24444
25040
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
24445
25041
|
|
|
24446
|
-
if (languageCode !== undefined) {
|
|
24447
|
-
localVarQueryParameter['languageCode'] = languageCode;
|
|
24448
|
-
}
|
|
24449
|
-
|
|
24450
25042
|
|
|
24451
25043
|
|
|
24452
25044
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -24458,97 +25050,381 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
24458
25050
|
options: localVarRequestOptions,
|
|
24459
25051
|
};
|
|
24460
25052
|
},
|
|
24461
|
-
}
|
|
24462
|
-
};
|
|
24463
|
-
|
|
24464
|
-
/**
|
|
24465
|
-
* HospitalsApi - functional programming interface
|
|
24466
|
-
* @export
|
|
24467
|
-
*/
|
|
24468
|
-
export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
24469
|
-
const localVarAxiosParamCreator = HospitalsApiAxiosParamCreator(configuration)
|
|
24470
|
-
return {
|
|
24471
|
-
/**
|
|
24472
|
-
*
|
|
24473
|
-
* @summary Get all Hospitals.
|
|
24474
|
-
* @param {string} [hospitalId]
|
|
24475
|
-
* @param {string} [name]
|
|
24476
|
-
* @param {string} [description]
|
|
24477
|
-
* @param {string} [countryId]
|
|
24478
|
-
* @param {Date} [created]
|
|
24479
|
-
* @param {MarketingType} [marketingType]
|
|
24480
|
-
* @param {string} [specialtyTypeId]
|
|
24481
|
-
* @param {string} [specialtyId]
|
|
24482
|
-
* @param {string} [serviceId]
|
|
24483
|
-
* @param {string} [exceptHospitalId]
|
|
24484
|
-
* @param {boolean} [showHidden]
|
|
24485
|
-
* @param {string} [languageCode]
|
|
24486
|
-
* @param {Array<string>} [ids]
|
|
24487
|
-
* @param {number} [page]
|
|
24488
|
-
* @param {number} [limit]
|
|
24489
|
-
* @param {Date} [lastRetrieved]
|
|
24490
|
-
* @param {*} [options] Override http request option.
|
|
24491
|
-
* @throws {RequiredError}
|
|
24492
|
-
*/
|
|
24493
|
-
async apiV1HospitalsGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsModel>> {
|
|
24494
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options);
|
|
24495
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24496
|
-
},
|
|
24497
25053
|
/**
|
|
24498
25054
|
*
|
|
24499
|
-
* @summary
|
|
25055
|
+
* @summary Get HospitalServiceMedia.
|
|
24500
25056
|
* @param {string} hospitalId
|
|
24501
|
-
* @param {string}
|
|
25057
|
+
* @param {string} specialtyId
|
|
25058
|
+
* @param {string} serviceId
|
|
25059
|
+
* @param {string} mediaId
|
|
24502
25060
|
* @param {*} [options] Override http request option.
|
|
24503
25061
|
* @throws {RequiredError}
|
|
24504
25062
|
*/
|
|
24505
|
-
async
|
|
24506
|
-
|
|
24507
|
-
|
|
25063
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet: async (hospitalId: string, specialtyId: string, serviceId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25064
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
25065
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet', 'hospitalId', hospitalId)
|
|
25066
|
+
// verify required parameter 'specialtyId' is not null or undefined
|
|
25067
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet', 'specialtyId', specialtyId)
|
|
25068
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
25069
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet', 'serviceId', serviceId)
|
|
25070
|
+
// verify required parameter 'mediaId' is not null or undefined
|
|
25071
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet', 'mediaId', mediaId)
|
|
25072
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/medias/{mediaId}`
|
|
25073
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
25074
|
+
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
|
|
25075
|
+
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)))
|
|
25076
|
+
.replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
|
|
25077
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25078
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25079
|
+
let baseOptions;
|
|
25080
|
+
if (configuration) {
|
|
25081
|
+
baseOptions = configuration.baseOptions;
|
|
25082
|
+
}
|
|
25083
|
+
|
|
25084
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
25085
|
+
const localVarHeaderParameter = {} as any;
|
|
25086
|
+
const localVarQueryParameter = {} as any;
|
|
25087
|
+
|
|
25088
|
+
// authentication oauth2 required
|
|
25089
|
+
// oauth required
|
|
25090
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
25091
|
+
|
|
25092
|
+
|
|
25093
|
+
|
|
25094
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25095
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25096
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
25097
|
+
|
|
25098
|
+
return {
|
|
25099
|
+
url: toPathString(localVarUrlObj),
|
|
25100
|
+
options: localVarRequestOptions,
|
|
25101
|
+
};
|
|
24508
25102
|
},
|
|
24509
25103
|
/**
|
|
24510
25104
|
*
|
|
24511
|
-
* @summary
|
|
25105
|
+
* @summary Update HospitalServiceMedia.
|
|
24512
25106
|
* @param {string} hospitalId
|
|
24513
|
-
* @param {string}
|
|
25107
|
+
* @param {string} specialtyId
|
|
25108
|
+
* @param {string} serviceId
|
|
25109
|
+
* @param {string} mediaId
|
|
25110
|
+
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
24514
25111
|
* @param {*} [options] Override http request option.
|
|
24515
25112
|
* @throws {RequiredError}
|
|
24516
25113
|
*/
|
|
24517
|
-
async
|
|
24518
|
-
|
|
24519
|
-
|
|
25114
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut: async (hospitalId: string, specialtyId: string, serviceId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25115
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
25116
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut', 'hospitalId', hospitalId)
|
|
25117
|
+
// verify required parameter 'specialtyId' is not null or undefined
|
|
25118
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut', 'specialtyId', specialtyId)
|
|
25119
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
25120
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut', 'serviceId', serviceId)
|
|
25121
|
+
// verify required parameter 'mediaId' is not null or undefined
|
|
25122
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut', 'mediaId', mediaId)
|
|
25123
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/medias/{mediaId}`
|
|
25124
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
25125
|
+
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
|
|
25126
|
+
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)))
|
|
25127
|
+
.replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
|
|
25128
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25129
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25130
|
+
let baseOptions;
|
|
25131
|
+
if (configuration) {
|
|
25132
|
+
baseOptions = configuration.baseOptions;
|
|
25133
|
+
}
|
|
25134
|
+
|
|
25135
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
25136
|
+
const localVarHeaderParameter = {} as any;
|
|
25137
|
+
const localVarQueryParameter = {} as any;
|
|
25138
|
+
|
|
25139
|
+
// authentication oauth2 required
|
|
25140
|
+
// oauth required
|
|
25141
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
25142
|
+
|
|
25143
|
+
|
|
25144
|
+
|
|
25145
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
25146
|
+
|
|
25147
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25148
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25149
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
25150
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateMediaCommand, localVarRequestOptions, configuration)
|
|
25151
|
+
|
|
25152
|
+
return {
|
|
25153
|
+
url: toPathString(localVarUrlObj),
|
|
25154
|
+
options: localVarRequestOptions,
|
|
25155
|
+
};
|
|
24520
25156
|
},
|
|
24521
25157
|
/**
|
|
24522
25158
|
*
|
|
24523
|
-
* @summary
|
|
24524
|
-
* @param {string}
|
|
24525
|
-
* @param {string}
|
|
24526
|
-
* @param {string}
|
|
24527
|
-
* @param {
|
|
24528
|
-
* @param {string} [accreditationName]
|
|
24529
|
-
* @param {number} [page]
|
|
24530
|
-
* @param {number} [limit]
|
|
24531
|
-
* @param {Date} [lastRetrieved]
|
|
25159
|
+
* @summary Create HospitalServiceMedia.
|
|
25160
|
+
* @param {string} hospitalId
|
|
25161
|
+
* @param {string} specialtyId
|
|
25162
|
+
* @param {string} serviceId
|
|
25163
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
24532
25164
|
* @param {*} [options] Override http request option.
|
|
24533
25165
|
* @throws {RequiredError}
|
|
24534
25166
|
*/
|
|
24535
|
-
async
|
|
24536
|
-
|
|
24537
|
-
|
|
25167
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost: async (hospitalId: string, specialtyId: string, serviceId: string, createMediaCommand?: CreateMediaCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25168
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
25169
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost', 'hospitalId', hospitalId)
|
|
25170
|
+
// verify required parameter 'specialtyId' is not null or undefined
|
|
25171
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost', 'specialtyId', specialtyId)
|
|
25172
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
25173
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost', 'serviceId', serviceId)
|
|
25174
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}/medias`
|
|
25175
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
25176
|
+
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
|
|
25177
|
+
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
|
|
25178
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25179
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25180
|
+
let baseOptions;
|
|
25181
|
+
if (configuration) {
|
|
25182
|
+
baseOptions = configuration.baseOptions;
|
|
25183
|
+
}
|
|
25184
|
+
|
|
25185
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
25186
|
+
const localVarHeaderParameter = {} as any;
|
|
25187
|
+
const localVarQueryParameter = {} as any;
|
|
25188
|
+
|
|
25189
|
+
// authentication oauth2 required
|
|
25190
|
+
// oauth required
|
|
25191
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
25192
|
+
|
|
25193
|
+
|
|
25194
|
+
|
|
25195
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
25196
|
+
|
|
25197
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25198
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25199
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
25200
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createMediaCommand, localVarRequestOptions, configuration)
|
|
25201
|
+
|
|
25202
|
+
return {
|
|
25203
|
+
url: toPathString(localVarUrlObj),
|
|
25204
|
+
options: localVarRequestOptions,
|
|
25205
|
+
};
|
|
24538
25206
|
},
|
|
24539
25207
|
/**
|
|
24540
25208
|
*
|
|
24541
|
-
* @summary
|
|
25209
|
+
* @summary Update HospitalService.
|
|
24542
25210
|
* @param {string} hospitalId
|
|
24543
|
-
* @param {
|
|
25211
|
+
* @param {string} specialtyId
|
|
25212
|
+
* @param {string} serviceId
|
|
25213
|
+
* @param {UpdateHospitalServiceCommand} [updateHospitalServiceCommand]
|
|
24544
25214
|
* @param {*} [options] Override http request option.
|
|
24545
25215
|
* @throws {RequiredError}
|
|
24546
25216
|
*/
|
|
24547
|
-
async
|
|
24548
|
-
|
|
24549
|
-
|
|
24550
|
-
|
|
24551
|
-
|
|
25217
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut: async (hospitalId: string, specialtyId: string, serviceId: string, updateHospitalServiceCommand?: UpdateHospitalServiceCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25218
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
25219
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut', 'hospitalId', hospitalId)
|
|
25220
|
+
// verify required parameter 'specialtyId' is not null or undefined
|
|
25221
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut', 'specialtyId', specialtyId)
|
|
25222
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
25223
|
+
assertParamExists('apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut', 'serviceId', serviceId)
|
|
25224
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/specialties/{specialtyId}/services/{serviceId}`
|
|
25225
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
25226
|
+
.replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)))
|
|
25227
|
+
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
|
|
25228
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25229
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25230
|
+
let baseOptions;
|
|
25231
|
+
if (configuration) {
|
|
25232
|
+
baseOptions = configuration.baseOptions;
|
|
25233
|
+
}
|
|
25234
|
+
|
|
25235
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
25236
|
+
const localVarHeaderParameter = {} as any;
|
|
25237
|
+
const localVarQueryParameter = {} as any;
|
|
25238
|
+
|
|
25239
|
+
// authentication oauth2 required
|
|
25240
|
+
// oauth required
|
|
25241
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
25242
|
+
|
|
25243
|
+
|
|
25244
|
+
|
|
25245
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
25246
|
+
|
|
25247
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25248
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25249
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
25250
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalServiceCommand, localVarRequestOptions, configuration)
|
|
25251
|
+
|
|
25252
|
+
return {
|
|
25253
|
+
url: toPathString(localVarUrlObj),
|
|
25254
|
+
options: localVarRequestOptions,
|
|
25255
|
+
};
|
|
25256
|
+
},
|
|
25257
|
+
/**
|
|
25258
|
+
*
|
|
25259
|
+
* @summary Create Hospital.
|
|
25260
|
+
* @param {CreateHospitalCommand} [createHospitalCommand]
|
|
25261
|
+
* @param {*} [options] Override http request option.
|
|
25262
|
+
* @throws {RequiredError}
|
|
25263
|
+
*/
|
|
25264
|
+
apiV1HospitalsPost: async (createHospitalCommand?: CreateHospitalCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25265
|
+
const localVarPath = `/api/v1/hospitals`;
|
|
25266
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25267
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25268
|
+
let baseOptions;
|
|
25269
|
+
if (configuration) {
|
|
25270
|
+
baseOptions = configuration.baseOptions;
|
|
25271
|
+
}
|
|
25272
|
+
|
|
25273
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
25274
|
+
const localVarHeaderParameter = {} as any;
|
|
25275
|
+
const localVarQueryParameter = {} as any;
|
|
25276
|
+
|
|
25277
|
+
// authentication oauth2 required
|
|
25278
|
+
// oauth required
|
|
25279
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
25280
|
+
|
|
25281
|
+
|
|
25282
|
+
|
|
25283
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
25284
|
+
|
|
25285
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25286
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25287
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
25288
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createHospitalCommand, localVarRequestOptions, configuration)
|
|
25289
|
+
|
|
25290
|
+
return {
|
|
25291
|
+
url: toPathString(localVarUrlObj),
|
|
25292
|
+
options: localVarRequestOptions,
|
|
25293
|
+
};
|
|
25294
|
+
},
|
|
25295
|
+
/**
|
|
25296
|
+
*
|
|
25297
|
+
* @summary Get Hospital by slug.
|
|
25298
|
+
* @param {string} slug
|
|
25299
|
+
* @param {string} [languageCode]
|
|
25300
|
+
* @param {*} [options] Override http request option.
|
|
25301
|
+
* @throws {RequiredError}
|
|
25302
|
+
*/
|
|
25303
|
+
apiV1HospitalsSlugGet: async (slug: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25304
|
+
// verify required parameter 'slug' is not null or undefined
|
|
25305
|
+
assertParamExists('apiV1HospitalsSlugGet', 'slug', slug)
|
|
25306
|
+
const localVarPath = `/api/v1/hospitals/{slug}`
|
|
25307
|
+
.replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
|
|
25308
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25309
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25310
|
+
let baseOptions;
|
|
25311
|
+
if (configuration) {
|
|
25312
|
+
baseOptions = configuration.baseOptions;
|
|
25313
|
+
}
|
|
25314
|
+
|
|
25315
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
25316
|
+
const localVarHeaderParameter = {} as any;
|
|
25317
|
+
const localVarQueryParameter = {} as any;
|
|
25318
|
+
|
|
25319
|
+
// authentication oauth2 required
|
|
25320
|
+
// oauth required
|
|
25321
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
25322
|
+
|
|
25323
|
+
if (languageCode !== undefined) {
|
|
25324
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
25325
|
+
}
|
|
25326
|
+
|
|
25327
|
+
|
|
25328
|
+
|
|
25329
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25330
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25331
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
25332
|
+
|
|
25333
|
+
return {
|
|
25334
|
+
url: toPathString(localVarUrlObj),
|
|
25335
|
+
options: localVarRequestOptions,
|
|
25336
|
+
};
|
|
25337
|
+
},
|
|
25338
|
+
}
|
|
25339
|
+
};
|
|
25340
|
+
|
|
25341
|
+
/**
|
|
25342
|
+
* HospitalsApi - functional programming interface
|
|
25343
|
+
* @export
|
|
25344
|
+
*/
|
|
25345
|
+
export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
25346
|
+
const localVarAxiosParamCreator = HospitalsApiAxiosParamCreator(configuration)
|
|
25347
|
+
return {
|
|
25348
|
+
/**
|
|
25349
|
+
*
|
|
25350
|
+
* @summary Get all Hospitals.
|
|
25351
|
+
* @param {string} [hospitalId]
|
|
25352
|
+
* @param {string} [name]
|
|
25353
|
+
* @param {string} [description]
|
|
25354
|
+
* @param {string} [countryId]
|
|
25355
|
+
* @param {Date} [created]
|
|
25356
|
+
* @param {MarketingType} [marketingType]
|
|
25357
|
+
* @param {string} [specialtyTypeId]
|
|
25358
|
+
* @param {string} [specialtyId]
|
|
25359
|
+
* @param {string} [serviceId]
|
|
25360
|
+
* @param {string} [exceptHospitalId]
|
|
25361
|
+
* @param {boolean} [showHidden]
|
|
25362
|
+
* @param {string} [languageCode]
|
|
25363
|
+
* @param {Array<string>} [ids]
|
|
25364
|
+
* @param {number} [page]
|
|
25365
|
+
* @param {number} [limit]
|
|
25366
|
+
* @param {Date} [lastRetrieved]
|
|
25367
|
+
* @param {*} [options] Override http request option.
|
|
25368
|
+
* @throws {RequiredError}
|
|
25369
|
+
*/
|
|
25370
|
+
async apiV1HospitalsGet(hospitalId?: string, name?: string, description?: string, countryId?: string, created?: Date, marketingType?: MarketingType, specialtyTypeId?: string, specialtyId?: string, serviceId?: string, exceptHospitalId?: string, showHidden?: boolean, languageCode?: string, ids?: Array<string>, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalsModel>> {
|
|
25371
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsGet(hospitalId, name, description, countryId, created, marketingType, specialtyTypeId, specialtyId, serviceId, exceptHospitalId, showHidden, languageCode, ids, page, limit, lastRetrieved, options);
|
|
25372
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
25373
|
+
},
|
|
25374
|
+
/**
|
|
25375
|
+
*
|
|
25376
|
+
* @summary Delete HospitalAccreditation.
|
|
25377
|
+
* @param {string} hospitalId
|
|
25378
|
+
* @param {string} accreditationId
|
|
25379
|
+
* @param {*} [options] Override http request option.
|
|
25380
|
+
* @throws {RequiredError}
|
|
25381
|
+
*/
|
|
25382
|
+
async apiV1HospitalsHospitalIdAccreditationsAccreditationIdDelete(hospitalId: string, accreditationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
25383
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdAccreditationsAccreditationIdDelete(hospitalId, accreditationId, options);
|
|
25384
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
25385
|
+
},
|
|
25386
|
+
/**
|
|
25387
|
+
*
|
|
25388
|
+
* @summary Get HospitalAccreditation.
|
|
25389
|
+
* @param {string} hospitalId
|
|
25390
|
+
* @param {string} accreditationId
|
|
25391
|
+
* @param {*} [options] Override http request option.
|
|
25392
|
+
* @throws {RequiredError}
|
|
25393
|
+
*/
|
|
25394
|
+
async apiV1HospitalsHospitalIdAccreditationsAccreditationIdGet(hospitalId: string, accreditationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalAccreditationModel>> {
|
|
25395
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdAccreditationsAccreditationIdGet(hospitalId, accreditationId, options);
|
|
25396
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
25397
|
+
},
|
|
25398
|
+
/**
|
|
25399
|
+
*
|
|
25400
|
+
* @summary Get all HospitalAccreditations.
|
|
25401
|
+
* @param {string} hospitalId
|
|
25402
|
+
* @param {string} [hospitalName]
|
|
25403
|
+
* @param {string} [accreditationId]
|
|
25404
|
+
* @param {string} [accreditationName]
|
|
25405
|
+
* @param {number} [page]
|
|
25406
|
+
* @param {number} [limit]
|
|
25407
|
+
* @param {Date} [lastRetrieved]
|
|
25408
|
+
* @param {*} [options] Override http request option.
|
|
25409
|
+
* @throws {RequiredError}
|
|
25410
|
+
*/
|
|
25411
|
+
async apiV1HospitalsHospitalIdAccreditationsGet(hospitalId: string, hospitalName?: string, accreditationId?: string, accreditationName?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalAccreditationsModel>> {
|
|
25412
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdAccreditationsGet(hospitalId, hospitalName, accreditationId, accreditationName, page, limit, lastRetrieved, options);
|
|
25413
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
25414
|
+
},
|
|
25415
|
+
/**
|
|
25416
|
+
*
|
|
25417
|
+
* @summary Create HospitalAccreditation.
|
|
25418
|
+
* @param {string} hospitalId
|
|
25419
|
+
* @param {CreateHospitalAccreditationCommand} [createHospitalAccreditationCommand]
|
|
25420
|
+
* @param {*} [options] Override http request option.
|
|
25421
|
+
* @throws {RequiredError}
|
|
25422
|
+
*/
|
|
25423
|
+
async apiV1HospitalsHospitalIdAccreditationsPost(hospitalId: string, createHospitalAccreditationCommand?: CreateHospitalAccreditationCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalAccreditationModel>> {
|
|
25424
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdAccreditationsPost(hospitalId, createHospitalAccreditationCommand, options);
|
|
25425
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
25426
|
+
},
|
|
25427
|
+
/**
|
|
24552
25428
|
*
|
|
24553
25429
|
* @summary Delete Hospital.
|
|
24554
25430
|
* @param {string} hospitalId
|
|
@@ -24842,136 +25718,229 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
24842
25718
|
},
|
|
24843
25719
|
/**
|
|
24844
25720
|
*
|
|
24845
|
-
* @summary Get all
|
|
24846
|
-
* @param {string}
|
|
24847
|
-
* @param {string} [id]
|
|
24848
|
-
* @param {string} [name]
|
|
24849
|
-
* @param {string} [description]
|
|
24850
|
-
* @param {string} [hospitalId]
|
|
25721
|
+
* @summary Get all HospitalSpecialties.
|
|
25722
|
+
* @param {string} hospitalId
|
|
24851
25723
|
* @param {string} [hospitalName]
|
|
24852
25724
|
* @param {string} [hospitalSlug]
|
|
24853
25725
|
* @param {string} [specialtyId]
|
|
25726
|
+
* @param {string} [specialtyName]
|
|
24854
25727
|
* @param {string} [specialtyTypeId]
|
|
24855
|
-
* @param {string} [specialtyTypeName]
|
|
24856
25728
|
* @param {MarketingType} [marketingType]
|
|
24857
|
-
* @param {Procedure} [procedure]
|
|
24858
25729
|
* @param {Date} [created]
|
|
24859
|
-
* @param {string} [languageCode]
|
|
24860
25730
|
* @param {number} [page]
|
|
24861
25731
|
* @param {number} [limit]
|
|
24862
25732
|
* @param {Date} [lastRetrieved]
|
|
24863
25733
|
* @param {*} [options] Override http request option.
|
|
24864
25734
|
* @throws {RequiredError}
|
|
24865
25735
|
*/
|
|
24866
|
-
async
|
|
24867
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
25736
|
+
async apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, marketingType?: MarketingType, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtiesModel>> {
|
|
25737
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType, created, page, limit, lastRetrieved, options);
|
|
24868
25738
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24869
25739
|
},
|
|
24870
25740
|
/**
|
|
24871
25741
|
*
|
|
24872
|
-
* @summary Create
|
|
25742
|
+
* @summary Create HospitalSpecialty.
|
|
24873
25743
|
* @param {string} hospitalId
|
|
24874
|
-
* @param {
|
|
25744
|
+
* @param {CreateHospitalSpecialtyCommand} [createHospitalSpecialtyCommand]
|
|
24875
25745
|
* @param {*} [options] Override http request option.
|
|
24876
25746
|
* @throws {RequiredError}
|
|
24877
25747
|
*/
|
|
24878
|
-
async
|
|
24879
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
25748
|
+
async apiV1HospitalsHospitalIdSpecialtiesPost(hospitalId: string, createHospitalSpecialtyCommand?: CreateHospitalSpecialtyCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtyModel>> {
|
|
25749
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesPost(hospitalId, createHospitalSpecialtyCommand, options);
|
|
24880
25750
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24881
25751
|
},
|
|
24882
25752
|
/**
|
|
24883
25753
|
*
|
|
24884
|
-
* @summary Delete
|
|
25754
|
+
* @summary Delete HospitalSpecialty.
|
|
24885
25755
|
* @param {string} hospitalId
|
|
24886
|
-
* @param {string}
|
|
25756
|
+
* @param {string} specialtyId
|
|
24887
25757
|
* @param {*} [options] Override http request option.
|
|
24888
25758
|
* @throws {RequiredError}
|
|
24889
25759
|
*/
|
|
24890
|
-
async
|
|
24891
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
25760
|
+
async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete(hospitalId: string, specialtyId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
25761
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete(hospitalId, specialtyId, options);
|
|
24892
25762
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24893
25763
|
},
|
|
24894
25764
|
/**
|
|
24895
25765
|
*
|
|
24896
|
-
* @summary Get
|
|
25766
|
+
* @summary Get HospitalSpecialty.
|
|
24897
25767
|
* @param {string} hospitalId
|
|
24898
|
-
* @param {string}
|
|
24899
|
-
* @param {string} [languageCode]
|
|
25768
|
+
* @param {string} specialtyId
|
|
24900
25769
|
* @param {*} [options] Override http request option.
|
|
24901
25770
|
* @throws {RequiredError}
|
|
24902
25771
|
*/
|
|
24903
|
-
async
|
|
24904
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
25772
|
+
async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtyModel>> {
|
|
25773
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options);
|
|
24905
25774
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24906
25775
|
},
|
|
24907
25776
|
/**
|
|
24908
25777
|
*
|
|
24909
|
-
* @summary Update
|
|
25778
|
+
* @summary Update HospitalSpecialty.
|
|
24910
25779
|
* @param {string} hospitalId
|
|
24911
|
-
* @param {string}
|
|
24912
|
-
* @param {
|
|
25780
|
+
* @param {string} specialtyId
|
|
25781
|
+
* @param {UpdateHospitalSpecialtyCommand} [updateHospitalSpecialtyCommand]
|
|
24913
25782
|
* @param {*} [options] Override http request option.
|
|
24914
25783
|
* @throws {RequiredError}
|
|
24915
25784
|
*/
|
|
24916
|
-
async
|
|
24917
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
25785
|
+
async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut(hospitalId: string, specialtyId: string, updateHospitalSpecialtyCommand?: UpdateHospitalSpecialtyCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtyModel>> {
|
|
25786
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut(hospitalId, specialtyId, updateHospitalSpecialtyCommand, options);
|
|
24918
25787
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24919
25788
|
},
|
|
24920
25789
|
/**
|
|
24921
25790
|
*
|
|
24922
|
-
* @summary Get all
|
|
25791
|
+
* @summary Get all HospitalServices.
|
|
24923
25792
|
* @param {string} hospitalId
|
|
25793
|
+
* @param {string} specialtyId
|
|
24924
25794
|
* @param {string} [hospitalName]
|
|
24925
25795
|
* @param {string} [hospitalSlug]
|
|
24926
|
-
* @param {string} [
|
|
25796
|
+
* @param {string} [id]
|
|
25797
|
+
* @param {string} [name]
|
|
25798
|
+
* @param {string} [description]
|
|
24927
25799
|
* @param {string} [specialtyName]
|
|
24928
25800
|
* @param {string} [specialtyTypeId]
|
|
25801
|
+
* @param {string} [specialtyTypeName]
|
|
25802
|
+
* @param {string} [serviceCategoryId]
|
|
24929
25803
|
* @param {MarketingType} [marketingType]
|
|
25804
|
+
* @param {Procedure} [procedure]
|
|
24930
25805
|
* @param {Date} [created]
|
|
25806
|
+
* @param {string} [languageCode]
|
|
24931
25807
|
* @param {number} [page]
|
|
24932
25808
|
* @param {number} [limit]
|
|
24933
25809
|
* @param {Date} [lastRetrieved]
|
|
24934
25810
|
* @param {*} [options] Override http request option.
|
|
24935
25811
|
* @throws {RequiredError}
|
|
24936
25812
|
*/
|
|
24937
|
-
async
|
|
24938
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
25813
|
+
async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId: string, specialtyId: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServicesModel>> {
|
|
25814
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options);
|
|
24939
25815
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24940
25816
|
},
|
|
24941
25817
|
/**
|
|
24942
25818
|
*
|
|
24943
|
-
* @summary Create
|
|
25819
|
+
* @summary Create HospitalService.
|
|
24944
25820
|
* @param {string} hospitalId
|
|
24945
|
-
* @param {
|
|
25821
|
+
* @param {string} specialtyId
|
|
25822
|
+
* @param {CreateHospitalServiceCommand} [createHospitalServiceCommand]
|
|
24946
25823
|
* @param {*} [options] Override http request option.
|
|
24947
25824
|
* @throws {RequiredError}
|
|
24948
25825
|
*/
|
|
24949
|
-
async
|
|
24950
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
25826
|
+
async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost(hospitalId: string, specialtyId: string, createHospitalServiceCommand?: CreateHospitalServiceCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServiceModel>> {
|
|
25827
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost(hospitalId, specialtyId, createHospitalServiceCommand, options);
|
|
24951
25828
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24952
25829
|
},
|
|
24953
25830
|
/**
|
|
24954
25831
|
*
|
|
24955
|
-
* @summary Delete
|
|
25832
|
+
* @summary Delete HospitalService
|
|
24956
25833
|
* @param {string} hospitalId
|
|
24957
25834
|
* @param {string} specialtyId
|
|
25835
|
+
* @param {string} serviceId
|
|
24958
25836
|
* @param {*} [options] Override http request option.
|
|
24959
25837
|
* @throws {RequiredError}
|
|
24960
25838
|
*/
|
|
24961
|
-
async
|
|
24962
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
25839
|
+
async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete(hospitalId: string, specialtyId: string, serviceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
25840
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete(hospitalId, specialtyId, serviceId, options);
|
|
24963
25841
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24964
25842
|
},
|
|
24965
25843
|
/**
|
|
24966
25844
|
*
|
|
24967
|
-
* @summary Get
|
|
25845
|
+
* @summary Get HospitalService.
|
|
24968
25846
|
* @param {string} hospitalId
|
|
24969
25847
|
* @param {string} specialtyId
|
|
25848
|
+
* @param {string} serviceId
|
|
25849
|
+
* @param {string} [languageCode]
|
|
24970
25850
|
* @param {*} [options] Override http request option.
|
|
24971
25851
|
* @throws {RequiredError}
|
|
24972
25852
|
*/
|
|
24973
|
-
async
|
|
24974
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
25853
|
+
async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId: string, specialtyId: string, serviceId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServiceModel>> {
|
|
25854
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, options);
|
|
25855
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
25856
|
+
},
|
|
25857
|
+
/**
|
|
25858
|
+
*
|
|
25859
|
+
* @summary Get all HospitalServiceMedias.
|
|
25860
|
+
* @param {string} hospitalId
|
|
25861
|
+
* @param {string} specialtyId
|
|
25862
|
+
* @param {string} serviceId
|
|
25863
|
+
* @param {string} [id]
|
|
25864
|
+
* @param {MediaType} [mediaType]
|
|
25865
|
+
* @param {number} [page]
|
|
25866
|
+
* @param {number} [limit]
|
|
25867
|
+
* @param {Date} [lastRetrieved]
|
|
25868
|
+
* @param {*} [options] Override http request option.
|
|
25869
|
+
* @throws {RequiredError}
|
|
25870
|
+
*/
|
|
25871
|
+
async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet(hospitalId: string, specialtyId: string, serviceId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediasModel>> {
|
|
25872
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet(hospitalId, specialtyId, serviceId, id, mediaType, page, limit, lastRetrieved, options);
|
|
25873
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
25874
|
+
},
|
|
25875
|
+
/**
|
|
25876
|
+
*
|
|
25877
|
+
* @summary Delete HospitalServiceMedia
|
|
25878
|
+
* @param {string} hospitalId
|
|
25879
|
+
* @param {string} specialtyId
|
|
25880
|
+
* @param {string} serviceId
|
|
25881
|
+
* @param {string} mediaId
|
|
25882
|
+
* @param {*} [options] Override http request option.
|
|
25883
|
+
* @throws {RequiredError}
|
|
25884
|
+
*/
|
|
25885
|
+
async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete(hospitalId: string, specialtyId: string, serviceId: string, mediaId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
25886
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete(hospitalId, specialtyId, serviceId, mediaId, options);
|
|
25887
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
25888
|
+
},
|
|
25889
|
+
/**
|
|
25890
|
+
*
|
|
25891
|
+
* @summary Get HospitalServiceMedia.
|
|
25892
|
+
* @param {string} hospitalId
|
|
25893
|
+
* @param {string} specialtyId
|
|
25894
|
+
* @param {string} serviceId
|
|
25895
|
+
* @param {string} mediaId
|
|
25896
|
+
* @param {*} [options] Override http request option.
|
|
25897
|
+
* @throws {RequiredError}
|
|
25898
|
+
*/
|
|
25899
|
+
async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet(hospitalId: string, specialtyId: string, serviceId: string, mediaId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
|
|
25900
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet(hospitalId, specialtyId, serviceId, mediaId, options);
|
|
25901
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
25902
|
+
},
|
|
25903
|
+
/**
|
|
25904
|
+
*
|
|
25905
|
+
* @summary Update HospitalServiceMedia.
|
|
25906
|
+
* @param {string} hospitalId
|
|
25907
|
+
* @param {string} specialtyId
|
|
25908
|
+
* @param {string} serviceId
|
|
25909
|
+
* @param {string} mediaId
|
|
25910
|
+
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
25911
|
+
* @param {*} [options] Override http request option.
|
|
25912
|
+
* @throws {RequiredError}
|
|
25913
|
+
*/
|
|
25914
|
+
async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut(hospitalId: string, specialtyId: string, serviceId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
|
|
25915
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut(hospitalId, specialtyId, serviceId, mediaId, updateMediaCommand, options);
|
|
25916
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
25917
|
+
},
|
|
25918
|
+
/**
|
|
25919
|
+
*
|
|
25920
|
+
* @summary Create HospitalServiceMedia.
|
|
25921
|
+
* @param {string} hospitalId
|
|
25922
|
+
* @param {string} specialtyId
|
|
25923
|
+
* @param {string} serviceId
|
|
25924
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
25925
|
+
* @param {*} [options] Override http request option.
|
|
25926
|
+
* @throws {RequiredError}
|
|
25927
|
+
*/
|
|
25928
|
+
async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost(hospitalId: string, specialtyId: string, serviceId: string, createMediaCommand?: CreateMediaCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
|
|
25929
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost(hospitalId, specialtyId, serviceId, createMediaCommand, options);
|
|
25930
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
25931
|
+
},
|
|
25932
|
+
/**
|
|
25933
|
+
*
|
|
25934
|
+
* @summary Update HospitalService.
|
|
25935
|
+
* @param {string} hospitalId
|
|
25936
|
+
* @param {string} specialtyId
|
|
25937
|
+
* @param {string} serviceId
|
|
25938
|
+
* @param {UpdateHospitalServiceCommand} [updateHospitalServiceCommand]
|
|
25939
|
+
* @param {*} [options] Override http request option.
|
|
25940
|
+
* @throws {RequiredError}
|
|
25941
|
+
*/
|
|
25942
|
+
async apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId: string, specialtyId: string, serviceId: string, updateHospitalServiceCommand?: UpdateHospitalServiceCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
25943
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options);
|
|
24975
25944
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24976
25945
|
},
|
|
24977
25946
|
/**
|
|
@@ -25056,9 +26025,8 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
25056
26025
|
},
|
|
25057
26026
|
/**
|
|
25058
26027
|
*
|
|
25059
|
-
* @summary Get all
|
|
25060
|
-
* @param {string}
|
|
25061
|
-
* @param {string} [hospitalId]
|
|
26028
|
+
* @summary Get all HospitalAccreditations.
|
|
26029
|
+
* @param {string} hospitalId
|
|
25062
26030
|
* @param {string} [hospitalName]
|
|
25063
26031
|
* @param {string} [accreditationId]
|
|
25064
26032
|
* @param {string} [accreditationName]
|
|
@@ -25068,8 +26036,8 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
25068
26036
|
* @param {*} [options] Override http request option.
|
|
25069
26037
|
* @throws {RequiredError}
|
|
25070
26038
|
*/
|
|
25071
|
-
apiV1HospitalsHospitalIdAccreditationsGet(
|
|
25072
|
-
return localVarFp.apiV1HospitalsHospitalIdAccreditationsGet(
|
|
26039
|
+
apiV1HospitalsHospitalIdAccreditationsGet(hospitalId: string, hospitalName?: string, accreditationId?: string, accreditationName?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalAccreditationsModel> {
|
|
26040
|
+
return localVarFp.apiV1HospitalsHospitalIdAccreditationsGet(hospitalId, hospitalName, accreditationId, accreditationName, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
25073
26041
|
},
|
|
25074
26042
|
/**
|
|
25075
26043
|
*
|
|
@@ -25352,19 +26320,85 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
25352
26320
|
apiV1HospitalsHospitalIdPut(hospitalId: string, updateHospitalCommand?: UpdateHospitalCommand, options?: any): AxiosPromise<boolean> {
|
|
25353
26321
|
return localVarFp.apiV1HospitalsHospitalIdPut(hospitalId, updateHospitalCommand, options).then((request) => request(axios, basePath));
|
|
25354
26322
|
},
|
|
26323
|
+
/**
|
|
26324
|
+
*
|
|
26325
|
+
* @summary Get all HospitalSpecialties.
|
|
26326
|
+
* @param {string} hospitalId
|
|
26327
|
+
* @param {string} [hospitalName]
|
|
26328
|
+
* @param {string} [hospitalSlug]
|
|
26329
|
+
* @param {string} [specialtyId]
|
|
26330
|
+
* @param {string} [specialtyName]
|
|
26331
|
+
* @param {string} [specialtyTypeId]
|
|
26332
|
+
* @param {MarketingType} [marketingType]
|
|
26333
|
+
* @param {Date} [created]
|
|
26334
|
+
* @param {number} [page]
|
|
26335
|
+
* @param {number} [limit]
|
|
26336
|
+
* @param {Date} [lastRetrieved]
|
|
26337
|
+
* @param {*} [options] Override http request option.
|
|
26338
|
+
* @throws {RequiredError}
|
|
26339
|
+
*/
|
|
26340
|
+
apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, marketingType?: MarketingType, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSpecialtiesModel> {
|
|
26341
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType, created, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
26342
|
+
},
|
|
26343
|
+
/**
|
|
26344
|
+
*
|
|
26345
|
+
* @summary Create HospitalSpecialty.
|
|
26346
|
+
* @param {string} hospitalId
|
|
26347
|
+
* @param {CreateHospitalSpecialtyCommand} [createHospitalSpecialtyCommand]
|
|
26348
|
+
* @param {*} [options] Override http request option.
|
|
26349
|
+
* @throws {RequiredError}
|
|
26350
|
+
*/
|
|
26351
|
+
apiV1HospitalsHospitalIdSpecialtiesPost(hospitalId: string, createHospitalSpecialtyCommand?: CreateHospitalSpecialtyCommand, options?: any): AxiosPromise<HospitalSpecialtyModel> {
|
|
26352
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesPost(hospitalId, createHospitalSpecialtyCommand, options).then((request) => request(axios, basePath));
|
|
26353
|
+
},
|
|
26354
|
+
/**
|
|
26355
|
+
*
|
|
26356
|
+
* @summary Delete HospitalSpecialty.
|
|
26357
|
+
* @param {string} hospitalId
|
|
26358
|
+
* @param {string} specialtyId
|
|
26359
|
+
* @param {*} [options] Override http request option.
|
|
26360
|
+
* @throws {RequiredError}
|
|
26361
|
+
*/
|
|
26362
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete(hospitalId: string, specialtyId: string, options?: any): AxiosPromise<boolean> {
|
|
26363
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete(hospitalId, specialtyId, options).then((request) => request(axios, basePath));
|
|
26364
|
+
},
|
|
26365
|
+
/**
|
|
26366
|
+
*
|
|
26367
|
+
* @summary Get HospitalSpecialty.
|
|
26368
|
+
* @param {string} hospitalId
|
|
26369
|
+
* @param {string} specialtyId
|
|
26370
|
+
* @param {*} [options] Override http request option.
|
|
26371
|
+
* @throws {RequiredError}
|
|
26372
|
+
*/
|
|
26373
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, options?: any): AxiosPromise<HospitalSpecialtyModel> {
|
|
26374
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options).then((request) => request(axios, basePath));
|
|
26375
|
+
},
|
|
26376
|
+
/**
|
|
26377
|
+
*
|
|
26378
|
+
* @summary Update HospitalSpecialty.
|
|
26379
|
+
* @param {string} hospitalId
|
|
26380
|
+
* @param {string} specialtyId
|
|
26381
|
+
* @param {UpdateHospitalSpecialtyCommand} [updateHospitalSpecialtyCommand]
|
|
26382
|
+
* @param {*} [options] Override http request option.
|
|
26383
|
+
* @throws {RequiredError}
|
|
26384
|
+
*/
|
|
26385
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut(hospitalId: string, specialtyId: string, updateHospitalSpecialtyCommand?: UpdateHospitalSpecialtyCommand, options?: any): AxiosPromise<HospitalSpecialtyModel> {
|
|
26386
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut(hospitalId, specialtyId, updateHospitalSpecialtyCommand, options).then((request) => request(axios, basePath));
|
|
26387
|
+
},
|
|
25355
26388
|
/**
|
|
25356
26389
|
*
|
|
25357
26390
|
* @summary Get all HospitalServices.
|
|
25358
|
-
* @param {string}
|
|
26391
|
+
* @param {string} hospitalId
|
|
26392
|
+
* @param {string} specialtyId
|
|
26393
|
+
* @param {string} [hospitalName]
|
|
26394
|
+
* @param {string} [hospitalSlug]
|
|
25359
26395
|
* @param {string} [id]
|
|
25360
26396
|
* @param {string} [name]
|
|
25361
26397
|
* @param {string} [description]
|
|
25362
|
-
* @param {string} [
|
|
25363
|
-
* @param {string} [hospitalName]
|
|
25364
|
-
* @param {string} [hospitalSlug]
|
|
25365
|
-
* @param {string} [specialtyId]
|
|
26398
|
+
* @param {string} [specialtyName]
|
|
25366
26399
|
* @param {string} [specialtyTypeId]
|
|
25367
26400
|
* @param {string} [specialtyTypeName]
|
|
26401
|
+
* @param {string} [serviceCategoryId]
|
|
25368
26402
|
* @param {MarketingType} [marketingType]
|
|
25369
26403
|
* @param {Procedure} [procedure]
|
|
25370
26404
|
* @param {Date} [created]
|
|
@@ -25375,107 +26409,128 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
25375
26409
|
* @param {*} [options] Override http request option.
|
|
25376
26410
|
* @throws {RequiredError}
|
|
25377
26411
|
*/
|
|
25378
|
-
|
|
25379
|
-
return localVarFp.
|
|
26412
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId: string, specialtyId: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalServicesModel> {
|
|
26413
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
25380
26414
|
},
|
|
25381
26415
|
/**
|
|
25382
26416
|
*
|
|
25383
26417
|
* @summary Create HospitalService.
|
|
25384
26418
|
* @param {string} hospitalId
|
|
26419
|
+
* @param {string} specialtyId
|
|
25385
26420
|
* @param {CreateHospitalServiceCommand} [createHospitalServiceCommand]
|
|
25386
26421
|
* @param {*} [options] Override http request option.
|
|
25387
26422
|
* @throws {RequiredError}
|
|
25388
26423
|
*/
|
|
25389
|
-
|
|
25390
|
-
return localVarFp.
|
|
26424
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost(hospitalId: string, specialtyId: string, createHospitalServiceCommand?: CreateHospitalServiceCommand, options?: any): AxiosPromise<HospitalServiceModel> {
|
|
26425
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost(hospitalId, specialtyId, createHospitalServiceCommand, options).then((request) => request(axios, basePath));
|
|
25391
26426
|
},
|
|
25392
26427
|
/**
|
|
25393
26428
|
*
|
|
25394
26429
|
* @summary Delete HospitalService
|
|
25395
26430
|
* @param {string} hospitalId
|
|
26431
|
+
* @param {string} specialtyId
|
|
25396
26432
|
* @param {string} serviceId
|
|
25397
26433
|
* @param {*} [options] Override http request option.
|
|
25398
26434
|
* @throws {RequiredError}
|
|
25399
26435
|
*/
|
|
25400
|
-
|
|
25401
|
-
return localVarFp.
|
|
26436
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete(hospitalId: string, specialtyId: string, serviceId: string, options?: any): AxiosPromise<boolean> {
|
|
26437
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete(hospitalId, specialtyId, serviceId, options).then((request) => request(axios, basePath));
|
|
25402
26438
|
},
|
|
25403
26439
|
/**
|
|
25404
26440
|
*
|
|
25405
26441
|
* @summary Get HospitalService.
|
|
25406
26442
|
* @param {string} hospitalId
|
|
26443
|
+
* @param {string} specialtyId
|
|
25407
26444
|
* @param {string} serviceId
|
|
25408
26445
|
* @param {string} [languageCode]
|
|
25409
26446
|
* @param {*} [options] Override http request option.
|
|
25410
26447
|
* @throws {RequiredError}
|
|
25411
26448
|
*/
|
|
25412
|
-
|
|
25413
|
-
return localVarFp.
|
|
26449
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId: string, specialtyId: string, serviceId: string, languageCode?: string, options?: any): AxiosPromise<HospitalServiceModel> {
|
|
26450
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, options).then((request) => request(axios, basePath));
|
|
25414
26451
|
},
|
|
25415
26452
|
/**
|
|
25416
26453
|
*
|
|
25417
|
-
* @summary
|
|
26454
|
+
* @summary Get all HospitalServiceMedias.
|
|
25418
26455
|
* @param {string} hospitalId
|
|
26456
|
+
* @param {string} specialtyId
|
|
25419
26457
|
* @param {string} serviceId
|
|
25420
|
-
* @param {
|
|
26458
|
+
* @param {string} [id]
|
|
26459
|
+
* @param {MediaType} [mediaType]
|
|
26460
|
+
* @param {number} [page]
|
|
26461
|
+
* @param {number} [limit]
|
|
26462
|
+
* @param {Date} [lastRetrieved]
|
|
25421
26463
|
* @param {*} [options] Override http request option.
|
|
25422
26464
|
* @throws {RequiredError}
|
|
25423
26465
|
*/
|
|
25424
|
-
|
|
25425
|
-
return localVarFp.
|
|
26466
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet(hospitalId: string, specialtyId: string, serviceId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<MediasModel> {
|
|
26467
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet(hospitalId, specialtyId, serviceId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
25426
26468
|
},
|
|
25427
26469
|
/**
|
|
25428
26470
|
*
|
|
25429
|
-
* @summary
|
|
26471
|
+
* @summary Delete HospitalServiceMedia
|
|
25430
26472
|
* @param {string} hospitalId
|
|
25431
|
-
* @param {string}
|
|
25432
|
-
* @param {string}
|
|
25433
|
-
* @param {string}
|
|
25434
|
-
* @param {string} [specialtyName]
|
|
25435
|
-
* @param {string} [specialtyTypeId]
|
|
25436
|
-
* @param {MarketingType} [marketingType]
|
|
25437
|
-
* @param {Date} [created]
|
|
25438
|
-
* @param {number} [page]
|
|
25439
|
-
* @param {number} [limit]
|
|
25440
|
-
* @param {Date} [lastRetrieved]
|
|
26473
|
+
* @param {string} specialtyId
|
|
26474
|
+
* @param {string} serviceId
|
|
26475
|
+
* @param {string} mediaId
|
|
25441
26476
|
* @param {*} [options] Override http request option.
|
|
25442
26477
|
* @throws {RequiredError}
|
|
25443
26478
|
*/
|
|
25444
|
-
|
|
25445
|
-
return localVarFp.
|
|
26479
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete(hospitalId: string, specialtyId: string, serviceId: string, mediaId: string, options?: any): AxiosPromise<boolean> {
|
|
26480
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete(hospitalId, specialtyId, serviceId, mediaId, options).then((request) => request(axios, basePath));
|
|
25446
26481
|
},
|
|
25447
26482
|
/**
|
|
25448
26483
|
*
|
|
25449
|
-
* @summary
|
|
26484
|
+
* @summary Get HospitalServiceMedia.
|
|
25450
26485
|
* @param {string} hospitalId
|
|
25451
|
-
* @param {
|
|
26486
|
+
* @param {string} specialtyId
|
|
26487
|
+
* @param {string} serviceId
|
|
26488
|
+
* @param {string} mediaId
|
|
25452
26489
|
* @param {*} [options] Override http request option.
|
|
25453
26490
|
* @throws {RequiredError}
|
|
25454
26491
|
*/
|
|
25455
|
-
|
|
25456
|
-
return localVarFp.
|
|
26492
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet(hospitalId: string, specialtyId: string, serviceId: string, mediaId: string, options?: any): AxiosPromise<MediaModel> {
|
|
26493
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet(hospitalId, specialtyId, serviceId, mediaId, options).then((request) => request(axios, basePath));
|
|
25457
26494
|
},
|
|
25458
26495
|
/**
|
|
25459
26496
|
*
|
|
25460
|
-
* @summary
|
|
26497
|
+
* @summary Update HospitalServiceMedia.
|
|
25461
26498
|
* @param {string} hospitalId
|
|
25462
26499
|
* @param {string} specialtyId
|
|
26500
|
+
* @param {string} serviceId
|
|
26501
|
+
* @param {string} mediaId
|
|
26502
|
+
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
25463
26503
|
* @param {*} [options] Override http request option.
|
|
25464
26504
|
* @throws {RequiredError}
|
|
25465
26505
|
*/
|
|
25466
|
-
|
|
25467
|
-
return localVarFp.
|
|
26506
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut(hospitalId: string, specialtyId: string, serviceId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: any): AxiosPromise<MediaModel> {
|
|
26507
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut(hospitalId, specialtyId, serviceId, mediaId, updateMediaCommand, options).then((request) => request(axios, basePath));
|
|
25468
26508
|
},
|
|
25469
26509
|
/**
|
|
25470
26510
|
*
|
|
25471
|
-
* @summary
|
|
26511
|
+
* @summary Create HospitalServiceMedia.
|
|
25472
26512
|
* @param {string} hospitalId
|
|
25473
26513
|
* @param {string} specialtyId
|
|
26514
|
+
* @param {string} serviceId
|
|
26515
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
25474
26516
|
* @param {*} [options] Override http request option.
|
|
25475
26517
|
* @throws {RequiredError}
|
|
25476
26518
|
*/
|
|
25477
|
-
|
|
25478
|
-
return localVarFp.
|
|
26519
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost(hospitalId: string, specialtyId: string, serviceId: string, createMediaCommand?: CreateMediaCommand, options?: any): AxiosPromise<MediaModel> {
|
|
26520
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost(hospitalId, specialtyId, serviceId, createMediaCommand, options).then((request) => request(axios, basePath));
|
|
26521
|
+
},
|
|
26522
|
+
/**
|
|
26523
|
+
*
|
|
26524
|
+
* @summary Update HospitalService.
|
|
26525
|
+
* @param {string} hospitalId
|
|
26526
|
+
* @param {string} specialtyId
|
|
26527
|
+
* @param {string} serviceId
|
|
26528
|
+
* @param {UpdateHospitalServiceCommand} [updateHospitalServiceCommand]
|
|
26529
|
+
* @param {*} [options] Override http request option.
|
|
26530
|
+
* @throws {RequiredError}
|
|
26531
|
+
*/
|
|
26532
|
+
apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId: string, specialtyId: string, serviceId: string, updateHospitalServiceCommand?: UpdateHospitalServiceCommand, options?: any): AxiosPromise<boolean> {
|
|
26533
|
+
return localVarFp.apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options).then((request) => request(axios, basePath));
|
|
25479
26534
|
},
|
|
25480
26535
|
/**
|
|
25481
26536
|
*
|
|
@@ -25563,9 +26618,8 @@ export class HospitalsApi extends BaseAPI {
|
|
|
25563
26618
|
|
|
25564
26619
|
/**
|
|
25565
26620
|
*
|
|
25566
|
-
* @summary Get all
|
|
25567
|
-
* @param {string}
|
|
25568
|
-
* @param {string} [hospitalId]
|
|
26621
|
+
* @summary Get all HospitalAccreditations.
|
|
26622
|
+
* @param {string} hospitalId
|
|
25569
26623
|
* @param {string} [hospitalName]
|
|
25570
26624
|
* @param {string} [accreditationId]
|
|
25571
26625
|
* @param {string} [accreditationName]
|
|
@@ -25576,8 +26630,8 @@ export class HospitalsApi extends BaseAPI {
|
|
|
25576
26630
|
* @throws {RequiredError}
|
|
25577
26631
|
* @memberof HospitalsApi
|
|
25578
26632
|
*/
|
|
25579
|
-
public apiV1HospitalsHospitalIdAccreditationsGet(
|
|
25580
|
-
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdAccreditationsGet(
|
|
26633
|
+
public apiV1HospitalsHospitalIdAccreditationsGet(hospitalId: string, hospitalName?: string, accreditationId?: string, accreditationName?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
26634
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdAccreditationsGet(hospitalId, hospitalName, accreditationId, accreditationName, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
25581
26635
|
}
|
|
25582
26636
|
|
|
25583
26637
|
/**
|
|
@@ -25909,21 +26963,15 @@ export class HospitalsApi extends BaseAPI {
|
|
|
25909
26963
|
|
|
25910
26964
|
/**
|
|
25911
26965
|
*
|
|
25912
|
-
* @summary Get all
|
|
25913
|
-
* @param {string}
|
|
25914
|
-
* @param {string} [id]
|
|
25915
|
-
* @param {string} [name]
|
|
25916
|
-
* @param {string} [description]
|
|
25917
|
-
* @param {string} [hospitalId]
|
|
26966
|
+
* @summary Get all HospitalSpecialties.
|
|
26967
|
+
* @param {string} hospitalId
|
|
25918
26968
|
* @param {string} [hospitalName]
|
|
25919
26969
|
* @param {string} [hospitalSlug]
|
|
25920
26970
|
* @param {string} [specialtyId]
|
|
26971
|
+
* @param {string} [specialtyName]
|
|
25921
26972
|
* @param {string} [specialtyTypeId]
|
|
25922
|
-
* @param {string} [specialtyTypeName]
|
|
25923
26973
|
* @param {MarketingType} [marketingType]
|
|
25924
|
-
* @param {Procedure} [procedure]
|
|
25925
26974
|
* @param {Date} [created]
|
|
25926
|
-
* @param {string} [languageCode]
|
|
25927
26975
|
* @param {number} [page]
|
|
25928
26976
|
* @param {number} [limit]
|
|
25929
26977
|
* @param {Date} [lastRetrieved]
|
|
@@ -25931,75 +26979,81 @@ export class HospitalsApi extends BaseAPI {
|
|
|
25931
26979
|
* @throws {RequiredError}
|
|
25932
26980
|
* @memberof HospitalsApi
|
|
25933
26981
|
*/
|
|
25934
|
-
public
|
|
25935
|
-
return HospitalsApiFp(this.configuration).
|
|
26982
|
+
public apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, marketingType?: MarketingType, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
26983
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, marketingType, created, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
25936
26984
|
}
|
|
25937
26985
|
|
|
25938
26986
|
/**
|
|
25939
26987
|
*
|
|
25940
|
-
* @summary Create
|
|
26988
|
+
* @summary Create HospitalSpecialty.
|
|
25941
26989
|
* @param {string} hospitalId
|
|
25942
|
-
* @param {
|
|
26990
|
+
* @param {CreateHospitalSpecialtyCommand} [createHospitalSpecialtyCommand]
|
|
25943
26991
|
* @param {*} [options] Override http request option.
|
|
25944
26992
|
* @throws {RequiredError}
|
|
25945
26993
|
* @memberof HospitalsApi
|
|
25946
26994
|
*/
|
|
25947
|
-
public
|
|
25948
|
-
return HospitalsApiFp(this.configuration).
|
|
26995
|
+
public apiV1HospitalsHospitalIdSpecialtiesPost(hospitalId: string, createHospitalSpecialtyCommand?: CreateHospitalSpecialtyCommand, options?: AxiosRequestConfig) {
|
|
26996
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesPost(hospitalId, createHospitalSpecialtyCommand, options).then((request) => request(this.axios, this.basePath));
|
|
25949
26997
|
}
|
|
25950
26998
|
|
|
25951
26999
|
/**
|
|
25952
27000
|
*
|
|
25953
|
-
* @summary Delete
|
|
27001
|
+
* @summary Delete HospitalSpecialty.
|
|
25954
27002
|
* @param {string} hospitalId
|
|
25955
|
-
* @param {string}
|
|
27003
|
+
* @param {string} specialtyId
|
|
25956
27004
|
* @param {*} [options] Override http request option.
|
|
25957
27005
|
* @throws {RequiredError}
|
|
25958
27006
|
* @memberof HospitalsApi
|
|
25959
27007
|
*/
|
|
25960
|
-
public
|
|
25961
|
-
return HospitalsApiFp(this.configuration).
|
|
27008
|
+
public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete(hospitalId: string, specialtyId: string, options?: AxiosRequestConfig) {
|
|
27009
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdDelete(hospitalId, specialtyId, options).then((request) => request(this.axios, this.basePath));
|
|
25962
27010
|
}
|
|
25963
27011
|
|
|
25964
27012
|
/**
|
|
25965
27013
|
*
|
|
25966
|
-
* @summary Get
|
|
27014
|
+
* @summary Get HospitalSpecialty.
|
|
25967
27015
|
* @param {string} hospitalId
|
|
25968
|
-
* @param {string}
|
|
25969
|
-
* @param {string} [languageCode]
|
|
27016
|
+
* @param {string} specialtyId
|
|
25970
27017
|
* @param {*} [options] Override http request option.
|
|
25971
27018
|
* @throws {RequiredError}
|
|
25972
27019
|
* @memberof HospitalsApi
|
|
25973
27020
|
*/
|
|
25974
|
-
public
|
|
25975
|
-
return HospitalsApiFp(this.configuration).
|
|
27021
|
+
public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId: string, specialtyId: string, options?: AxiosRequestConfig) {
|
|
27022
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdGet(hospitalId, specialtyId, options).then((request) => request(this.axios, this.basePath));
|
|
25976
27023
|
}
|
|
25977
27024
|
|
|
25978
27025
|
/**
|
|
25979
27026
|
*
|
|
25980
|
-
* @summary Update
|
|
27027
|
+
* @summary Update HospitalSpecialty.
|
|
25981
27028
|
* @param {string} hospitalId
|
|
25982
|
-
* @param {string}
|
|
25983
|
-
* @param {
|
|
27029
|
+
* @param {string} specialtyId
|
|
27030
|
+
* @param {UpdateHospitalSpecialtyCommand} [updateHospitalSpecialtyCommand]
|
|
25984
27031
|
* @param {*} [options] Override http request option.
|
|
25985
27032
|
* @throws {RequiredError}
|
|
25986
27033
|
* @memberof HospitalsApi
|
|
25987
27034
|
*/
|
|
25988
|
-
public
|
|
25989
|
-
return HospitalsApiFp(this.configuration).
|
|
27035
|
+
public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut(hospitalId: string, specialtyId: string, updateHospitalSpecialtyCommand?: UpdateHospitalSpecialtyCommand, options?: AxiosRequestConfig) {
|
|
27036
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdPut(hospitalId, specialtyId, updateHospitalSpecialtyCommand, options).then((request) => request(this.axios, this.basePath));
|
|
25990
27037
|
}
|
|
25991
27038
|
|
|
25992
27039
|
/**
|
|
25993
27040
|
*
|
|
25994
|
-
* @summary Get all
|
|
27041
|
+
* @summary Get all HospitalServices.
|
|
25995
27042
|
* @param {string} hospitalId
|
|
27043
|
+
* @param {string} specialtyId
|
|
25996
27044
|
* @param {string} [hospitalName]
|
|
25997
27045
|
* @param {string} [hospitalSlug]
|
|
25998
|
-
* @param {string} [
|
|
25999
|
-
* @param {string} [
|
|
27046
|
+
* @param {string} [id]
|
|
27047
|
+
* @param {string} [name]
|
|
27048
|
+
* @param {string} [description]
|
|
27049
|
+
* @param {string} [specialtyName]
|
|
26000
27050
|
* @param {string} [specialtyTypeId]
|
|
27051
|
+
* @param {string} [specialtyTypeName]
|
|
27052
|
+
* @param {string} [serviceCategoryId]
|
|
26001
27053
|
* @param {MarketingType} [marketingType]
|
|
27054
|
+
* @param {Procedure} [procedure]
|
|
26002
27055
|
* @param {Date} [created]
|
|
27056
|
+
* @param {string} [languageCode]
|
|
26003
27057
|
* @param {number} [page]
|
|
26004
27058
|
* @param {number} [limit]
|
|
26005
27059
|
* @param {Date} [lastRetrieved]
|
|
@@ -26007,89 +27061,590 @@ export class HospitalsApi extends BaseAPI {
|
|
|
26007
27061
|
* @throws {RequiredError}
|
|
26008
27062
|
* @memberof HospitalsApi
|
|
26009
27063
|
*/
|
|
26010
|
-
public
|
|
26011
|
-
return HospitalsApiFp(this.configuration).
|
|
27064
|
+
public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId: string, specialtyId: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
27065
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesGet(hospitalId, specialtyId, hospitalName, hospitalSlug, id, name, description, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
26012
27066
|
}
|
|
26013
27067
|
|
|
26014
27068
|
/**
|
|
26015
27069
|
*
|
|
26016
|
-
* @summary Create
|
|
27070
|
+
* @summary Create HospitalService.
|
|
26017
27071
|
* @param {string} hospitalId
|
|
26018
|
-
* @param {
|
|
27072
|
+
* @param {string} specialtyId
|
|
27073
|
+
* @param {CreateHospitalServiceCommand} [createHospitalServiceCommand]
|
|
26019
27074
|
* @param {*} [options] Override http request option.
|
|
26020
27075
|
* @throws {RequiredError}
|
|
26021
27076
|
* @memberof HospitalsApi
|
|
26022
27077
|
*/
|
|
26023
|
-
public
|
|
26024
|
-
return HospitalsApiFp(this.configuration).
|
|
27078
|
+
public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost(hospitalId: string, specialtyId: string, createHospitalServiceCommand?: CreateHospitalServiceCommand, options?: AxiosRequestConfig) {
|
|
27079
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesPost(hospitalId, specialtyId, createHospitalServiceCommand, options).then((request) => request(this.axios, this.basePath));
|
|
26025
27080
|
}
|
|
26026
27081
|
|
|
26027
27082
|
/**
|
|
26028
27083
|
*
|
|
26029
|
-
* @summary Delete
|
|
27084
|
+
* @summary Delete HospitalService
|
|
26030
27085
|
* @param {string} hospitalId
|
|
26031
27086
|
* @param {string} specialtyId
|
|
27087
|
+
* @param {string} serviceId
|
|
26032
27088
|
* @param {*} [options] Override http request option.
|
|
26033
27089
|
* @throws {RequiredError}
|
|
26034
27090
|
* @memberof HospitalsApi
|
|
26035
27091
|
*/
|
|
26036
|
-
public
|
|
26037
|
-
return HospitalsApiFp(this.configuration).
|
|
27092
|
+
public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete(hospitalId: string, specialtyId: string, serviceId: string, options?: AxiosRequestConfig) {
|
|
27093
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdDelete(hospitalId, specialtyId, serviceId, options).then((request) => request(this.axios, this.basePath));
|
|
26038
27094
|
}
|
|
26039
27095
|
|
|
26040
27096
|
/**
|
|
26041
27097
|
*
|
|
26042
|
-
* @summary Get
|
|
27098
|
+
* @summary Get HospitalService.
|
|
26043
27099
|
* @param {string} hospitalId
|
|
26044
27100
|
* @param {string} specialtyId
|
|
27101
|
+
* @param {string} serviceId
|
|
27102
|
+
* @param {string} [languageCode]
|
|
26045
27103
|
* @param {*} [options] Override http request option.
|
|
26046
27104
|
* @throws {RequiredError}
|
|
26047
27105
|
* @memberof HospitalsApi
|
|
26048
27106
|
*/
|
|
26049
|
-
public
|
|
26050
|
-
return HospitalsApiFp(this.configuration).
|
|
27107
|
+
public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId: string, specialtyId: string, serviceId: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
27108
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdGet(hospitalId, specialtyId, serviceId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
27109
|
+
}
|
|
27110
|
+
|
|
27111
|
+
/**
|
|
27112
|
+
*
|
|
27113
|
+
* @summary Get all HospitalServiceMedias.
|
|
27114
|
+
* @param {string} hospitalId
|
|
27115
|
+
* @param {string} specialtyId
|
|
27116
|
+
* @param {string} serviceId
|
|
27117
|
+
* @param {string} [id]
|
|
27118
|
+
* @param {MediaType} [mediaType]
|
|
27119
|
+
* @param {number} [page]
|
|
27120
|
+
* @param {number} [limit]
|
|
27121
|
+
* @param {Date} [lastRetrieved]
|
|
27122
|
+
* @param {*} [options] Override http request option.
|
|
27123
|
+
* @throws {RequiredError}
|
|
27124
|
+
* @memberof HospitalsApi
|
|
27125
|
+
*/
|
|
27126
|
+
public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet(hospitalId: string, specialtyId: string, serviceId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
27127
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasGet(hospitalId, specialtyId, serviceId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
27128
|
+
}
|
|
27129
|
+
|
|
27130
|
+
/**
|
|
27131
|
+
*
|
|
27132
|
+
* @summary Delete HospitalServiceMedia
|
|
27133
|
+
* @param {string} hospitalId
|
|
27134
|
+
* @param {string} specialtyId
|
|
27135
|
+
* @param {string} serviceId
|
|
27136
|
+
* @param {string} mediaId
|
|
27137
|
+
* @param {*} [options] Override http request option.
|
|
27138
|
+
* @throws {RequiredError}
|
|
27139
|
+
* @memberof HospitalsApi
|
|
27140
|
+
*/
|
|
27141
|
+
public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete(hospitalId: string, specialtyId: string, serviceId: string, mediaId: string, options?: AxiosRequestConfig) {
|
|
27142
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdDelete(hospitalId, specialtyId, serviceId, mediaId, options).then((request) => request(this.axios, this.basePath));
|
|
27143
|
+
}
|
|
27144
|
+
|
|
27145
|
+
/**
|
|
27146
|
+
*
|
|
27147
|
+
* @summary Get HospitalServiceMedia.
|
|
27148
|
+
* @param {string} hospitalId
|
|
27149
|
+
* @param {string} specialtyId
|
|
27150
|
+
* @param {string} serviceId
|
|
27151
|
+
* @param {string} mediaId
|
|
27152
|
+
* @param {*} [options] Override http request option.
|
|
27153
|
+
* @throws {RequiredError}
|
|
27154
|
+
* @memberof HospitalsApi
|
|
27155
|
+
*/
|
|
27156
|
+
public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet(hospitalId: string, specialtyId: string, serviceId: string, mediaId: string, options?: AxiosRequestConfig) {
|
|
27157
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet(hospitalId, specialtyId, serviceId, mediaId, options).then((request) => request(this.axios, this.basePath));
|
|
27158
|
+
}
|
|
27159
|
+
|
|
27160
|
+
/**
|
|
27161
|
+
*
|
|
27162
|
+
* @summary Update HospitalServiceMedia.
|
|
27163
|
+
* @param {string} hospitalId
|
|
27164
|
+
* @param {string} specialtyId
|
|
27165
|
+
* @param {string} serviceId
|
|
27166
|
+
* @param {string} mediaId
|
|
27167
|
+
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
27168
|
+
* @param {*} [options] Override http request option.
|
|
27169
|
+
* @throws {RequiredError}
|
|
27170
|
+
* @memberof HospitalsApi
|
|
27171
|
+
*/
|
|
27172
|
+
public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut(hospitalId: string, specialtyId: string, serviceId: string, mediaId: string, updateMediaCommand?: UpdateMediaCommand, options?: AxiosRequestConfig) {
|
|
27173
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdPut(hospitalId, specialtyId, serviceId, mediaId, updateMediaCommand, options).then((request) => request(this.axios, this.basePath));
|
|
27174
|
+
}
|
|
27175
|
+
|
|
27176
|
+
/**
|
|
27177
|
+
*
|
|
27178
|
+
* @summary Create HospitalServiceMedia.
|
|
27179
|
+
* @param {string} hospitalId
|
|
27180
|
+
* @param {string} specialtyId
|
|
27181
|
+
* @param {string} serviceId
|
|
27182
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
27183
|
+
* @param {*} [options] Override http request option.
|
|
27184
|
+
* @throws {RequiredError}
|
|
27185
|
+
* @memberof HospitalsApi
|
|
27186
|
+
*/
|
|
27187
|
+
public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost(hospitalId: string, specialtyId: string, serviceId: string, createMediaCommand?: CreateMediaCommand, options?: AxiosRequestConfig) {
|
|
27188
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasPost(hospitalId, specialtyId, serviceId, createMediaCommand, options).then((request) => request(this.axios, this.basePath));
|
|
27189
|
+
}
|
|
27190
|
+
|
|
27191
|
+
/**
|
|
27192
|
+
*
|
|
27193
|
+
* @summary Update HospitalService.
|
|
27194
|
+
* @param {string} hospitalId
|
|
27195
|
+
* @param {string} specialtyId
|
|
27196
|
+
* @param {string} serviceId
|
|
27197
|
+
* @param {UpdateHospitalServiceCommand} [updateHospitalServiceCommand]
|
|
27198
|
+
* @param {*} [options] Override http request option.
|
|
27199
|
+
* @throws {RequiredError}
|
|
27200
|
+
* @memberof HospitalsApi
|
|
27201
|
+
*/
|
|
27202
|
+
public apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId: string, specialtyId: string, serviceId: string, updateHospitalServiceCommand?: UpdateHospitalServiceCommand, options?: AxiosRequestConfig) {
|
|
27203
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdPut(hospitalId, specialtyId, serviceId, updateHospitalServiceCommand, options).then((request) => request(this.axios, this.basePath));
|
|
27204
|
+
}
|
|
27205
|
+
|
|
27206
|
+
/**
|
|
27207
|
+
*
|
|
27208
|
+
* @summary Create Hospital.
|
|
27209
|
+
* @param {CreateHospitalCommand} [createHospitalCommand]
|
|
27210
|
+
* @param {*} [options] Override http request option.
|
|
27211
|
+
* @throws {RequiredError}
|
|
27212
|
+
* @memberof HospitalsApi
|
|
27213
|
+
*/
|
|
27214
|
+
public apiV1HospitalsPost(createHospitalCommand?: CreateHospitalCommand, options?: AxiosRequestConfig) {
|
|
27215
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsPost(createHospitalCommand, options).then((request) => request(this.axios, this.basePath));
|
|
27216
|
+
}
|
|
27217
|
+
|
|
27218
|
+
/**
|
|
27219
|
+
*
|
|
27220
|
+
* @summary Get Hospital by slug.
|
|
27221
|
+
* @param {string} slug
|
|
27222
|
+
* @param {string} [languageCode]
|
|
27223
|
+
* @param {*} [options] Override http request option.
|
|
27224
|
+
* @throws {RequiredError}
|
|
27225
|
+
* @memberof HospitalsApi
|
|
27226
|
+
*/
|
|
27227
|
+
public apiV1HospitalsSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
27228
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsSlugGet(slug, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
27229
|
+
}
|
|
27230
|
+
}
|
|
27231
|
+
|
|
27232
|
+
|
|
27233
|
+
/**
|
|
27234
|
+
* ImagesApi - axios parameter creator
|
|
27235
|
+
* @export
|
|
27236
|
+
*/
|
|
27237
|
+
export const ImagesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
27238
|
+
return {
|
|
27239
|
+
/**
|
|
27240
|
+
*
|
|
27241
|
+
* @param {*} [options] Override http request option.
|
|
27242
|
+
* @throws {RequiredError}
|
|
27243
|
+
*/
|
|
27244
|
+
apiV1ImagesPost: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27245
|
+
const localVarPath = `/api/v1/images`;
|
|
27246
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27247
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
27248
|
+
let baseOptions;
|
|
27249
|
+
if (configuration) {
|
|
27250
|
+
baseOptions = configuration.baseOptions;
|
|
27251
|
+
}
|
|
27252
|
+
|
|
27253
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
27254
|
+
const localVarHeaderParameter = {} as any;
|
|
27255
|
+
const localVarQueryParameter = {} as any;
|
|
27256
|
+
|
|
27257
|
+
// authentication oauth2 required
|
|
27258
|
+
// oauth required
|
|
27259
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
27260
|
+
|
|
27261
|
+
|
|
27262
|
+
|
|
27263
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27264
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27265
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
27266
|
+
|
|
27267
|
+
return {
|
|
27268
|
+
url: toPathString(localVarUrlObj),
|
|
27269
|
+
options: localVarRequestOptions,
|
|
27270
|
+
};
|
|
27271
|
+
},
|
|
27272
|
+
}
|
|
27273
|
+
};
|
|
27274
|
+
|
|
27275
|
+
/**
|
|
27276
|
+
* ImagesApi - functional programming interface
|
|
27277
|
+
* @export
|
|
27278
|
+
*/
|
|
27279
|
+
export const ImagesApiFp = function(configuration?: Configuration) {
|
|
27280
|
+
const localVarAxiosParamCreator = ImagesApiAxiosParamCreator(configuration)
|
|
27281
|
+
return {
|
|
27282
|
+
/**
|
|
27283
|
+
*
|
|
27284
|
+
* @param {*} [options] Override http request option.
|
|
27285
|
+
* @throws {RequiredError}
|
|
27286
|
+
*/
|
|
27287
|
+
async apiV1ImagesPost(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MediaModel>>> {
|
|
27288
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ImagesPost(options);
|
|
27289
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
27290
|
+
},
|
|
27291
|
+
}
|
|
27292
|
+
};
|
|
27293
|
+
|
|
27294
|
+
/**
|
|
27295
|
+
* ImagesApi - factory interface
|
|
27296
|
+
* @export
|
|
27297
|
+
*/
|
|
27298
|
+
export const ImagesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
27299
|
+
const localVarFp = ImagesApiFp(configuration)
|
|
27300
|
+
return {
|
|
27301
|
+
/**
|
|
27302
|
+
*
|
|
27303
|
+
* @param {*} [options] Override http request option.
|
|
27304
|
+
* @throws {RequiredError}
|
|
27305
|
+
*/
|
|
27306
|
+
apiV1ImagesPost(options?: any): AxiosPromise<Array<MediaModel>> {
|
|
27307
|
+
return localVarFp.apiV1ImagesPost(options).then((request) => request(axios, basePath));
|
|
27308
|
+
},
|
|
27309
|
+
};
|
|
27310
|
+
};
|
|
27311
|
+
|
|
27312
|
+
/**
|
|
27313
|
+
* ImagesApi - object-oriented interface
|
|
27314
|
+
* @export
|
|
27315
|
+
* @class ImagesApi
|
|
27316
|
+
* @extends {BaseAPI}
|
|
27317
|
+
*/
|
|
27318
|
+
export class ImagesApi extends BaseAPI {
|
|
27319
|
+
/**
|
|
27320
|
+
*
|
|
27321
|
+
* @param {*} [options] Override http request option.
|
|
27322
|
+
* @throws {RequiredError}
|
|
27323
|
+
* @memberof ImagesApi
|
|
27324
|
+
*/
|
|
27325
|
+
public apiV1ImagesPost(options?: AxiosRequestConfig) {
|
|
27326
|
+
return ImagesApiFp(this.configuration).apiV1ImagesPost(options).then((request) => request(this.axios, this.basePath));
|
|
27327
|
+
}
|
|
27328
|
+
}
|
|
27329
|
+
|
|
27330
|
+
|
|
27331
|
+
/**
|
|
27332
|
+
* LanguagesApi - axios parameter creator
|
|
27333
|
+
* @export
|
|
27334
|
+
*/
|
|
27335
|
+
export const LanguagesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
27336
|
+
return {
|
|
27337
|
+
/**
|
|
27338
|
+
*
|
|
27339
|
+
* @summary Get Language by code.
|
|
27340
|
+
* @param {string} code
|
|
27341
|
+
* @param {*} [options] Override http request option.
|
|
27342
|
+
* @throws {RequiredError}
|
|
27343
|
+
*/
|
|
27344
|
+
apiV1LanguagesCodeGet: async (code: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27345
|
+
// verify required parameter 'code' is not null or undefined
|
|
27346
|
+
assertParamExists('apiV1LanguagesCodeGet', 'code', code)
|
|
27347
|
+
const localVarPath = `/api/v1/languages/{code}`
|
|
27348
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
27349
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27350
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
27351
|
+
let baseOptions;
|
|
27352
|
+
if (configuration) {
|
|
27353
|
+
baseOptions = configuration.baseOptions;
|
|
27354
|
+
}
|
|
27355
|
+
|
|
27356
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
27357
|
+
const localVarHeaderParameter = {} as any;
|
|
27358
|
+
const localVarQueryParameter = {} as any;
|
|
27359
|
+
|
|
27360
|
+
// authentication oauth2 required
|
|
27361
|
+
// oauth required
|
|
27362
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
27363
|
+
|
|
27364
|
+
|
|
27365
|
+
|
|
27366
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27367
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27368
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
27369
|
+
|
|
27370
|
+
return {
|
|
27371
|
+
url: toPathString(localVarUrlObj),
|
|
27372
|
+
options: localVarRequestOptions,
|
|
27373
|
+
};
|
|
27374
|
+
},
|
|
27375
|
+
/**
|
|
27376
|
+
*
|
|
27377
|
+
* @summary Get all Languages.
|
|
27378
|
+
* @param {string} [id]
|
|
27379
|
+
* @param {string} [name]
|
|
27380
|
+
* @param {string} [code]
|
|
27381
|
+
* @param {string} [description]
|
|
27382
|
+
* @param {number} [page]
|
|
27383
|
+
* @param {number} [limit]
|
|
27384
|
+
* @param {Date} [lastRetrieved]
|
|
27385
|
+
* @param {*} [options] Override http request option.
|
|
27386
|
+
* @throws {RequiredError}
|
|
27387
|
+
*/
|
|
27388
|
+
apiV1LanguagesGet: async (id?: string, name?: string, code?: string, description?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27389
|
+
const localVarPath = `/api/v1/languages`;
|
|
27390
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27391
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
27392
|
+
let baseOptions;
|
|
27393
|
+
if (configuration) {
|
|
27394
|
+
baseOptions = configuration.baseOptions;
|
|
27395
|
+
}
|
|
27396
|
+
|
|
27397
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
27398
|
+
const localVarHeaderParameter = {} as any;
|
|
27399
|
+
const localVarQueryParameter = {} as any;
|
|
27400
|
+
|
|
27401
|
+
// authentication oauth2 required
|
|
27402
|
+
// oauth required
|
|
27403
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
27404
|
+
|
|
27405
|
+
if (id !== undefined) {
|
|
27406
|
+
localVarQueryParameter['Id'] = id;
|
|
27407
|
+
}
|
|
27408
|
+
|
|
27409
|
+
if (name !== undefined) {
|
|
27410
|
+
localVarQueryParameter['Name'] = name;
|
|
27411
|
+
}
|
|
27412
|
+
|
|
27413
|
+
if (code !== undefined) {
|
|
27414
|
+
localVarQueryParameter['Code'] = code;
|
|
27415
|
+
}
|
|
27416
|
+
|
|
27417
|
+
if (description !== undefined) {
|
|
27418
|
+
localVarQueryParameter['Description'] = description;
|
|
27419
|
+
}
|
|
27420
|
+
|
|
27421
|
+
if (page !== undefined) {
|
|
27422
|
+
localVarQueryParameter['page'] = page;
|
|
27423
|
+
}
|
|
27424
|
+
|
|
27425
|
+
if (limit !== undefined) {
|
|
27426
|
+
localVarQueryParameter['limit'] = limit;
|
|
27427
|
+
}
|
|
27428
|
+
|
|
27429
|
+
if (lastRetrieved !== undefined) {
|
|
27430
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
27431
|
+
(lastRetrieved as any).toISOString() :
|
|
27432
|
+
lastRetrieved;
|
|
27433
|
+
}
|
|
27434
|
+
|
|
27435
|
+
|
|
27436
|
+
|
|
27437
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27438
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27439
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
27440
|
+
|
|
27441
|
+
return {
|
|
27442
|
+
url: toPathString(localVarUrlObj),
|
|
27443
|
+
options: localVarRequestOptions,
|
|
27444
|
+
};
|
|
27445
|
+
},
|
|
27446
|
+
/**
|
|
27447
|
+
*
|
|
27448
|
+
* @summary Get Language.
|
|
27449
|
+
* @param {string} id
|
|
27450
|
+
* @param {*} [options] Override http request option.
|
|
27451
|
+
* @throws {RequiredError}
|
|
27452
|
+
*/
|
|
27453
|
+
apiV1LanguagesIdGet: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27454
|
+
// verify required parameter 'id' is not null or undefined
|
|
27455
|
+
assertParamExists('apiV1LanguagesIdGet', 'id', id)
|
|
27456
|
+
const localVarPath = `/api/v1/languages/{id}`
|
|
27457
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
27458
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27459
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
27460
|
+
let baseOptions;
|
|
27461
|
+
if (configuration) {
|
|
27462
|
+
baseOptions = configuration.baseOptions;
|
|
27463
|
+
}
|
|
27464
|
+
|
|
27465
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
27466
|
+
const localVarHeaderParameter = {} as any;
|
|
27467
|
+
const localVarQueryParameter = {} as any;
|
|
27468
|
+
|
|
27469
|
+
// authentication oauth2 required
|
|
27470
|
+
// oauth required
|
|
27471
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
27472
|
+
|
|
27473
|
+
|
|
27474
|
+
|
|
27475
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27476
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27477
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
27478
|
+
|
|
27479
|
+
return {
|
|
27480
|
+
url: toPathString(localVarUrlObj),
|
|
27481
|
+
options: localVarRequestOptions,
|
|
27482
|
+
};
|
|
27483
|
+
},
|
|
27484
|
+
}
|
|
27485
|
+
};
|
|
27486
|
+
|
|
27487
|
+
/**
|
|
27488
|
+
* LanguagesApi - functional programming interface
|
|
27489
|
+
* @export
|
|
27490
|
+
*/
|
|
27491
|
+
export const LanguagesApiFp = function(configuration?: Configuration) {
|
|
27492
|
+
const localVarAxiosParamCreator = LanguagesApiAxiosParamCreator(configuration)
|
|
27493
|
+
return {
|
|
27494
|
+
/**
|
|
27495
|
+
*
|
|
27496
|
+
* @summary Get Language by code.
|
|
27497
|
+
* @param {string} code
|
|
27498
|
+
* @param {*} [options] Override http request option.
|
|
27499
|
+
* @throws {RequiredError}
|
|
27500
|
+
*/
|
|
27501
|
+
async apiV1LanguagesCodeGet(code: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LanguageModel>> {
|
|
27502
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1LanguagesCodeGet(code, options);
|
|
27503
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
27504
|
+
},
|
|
27505
|
+
/**
|
|
27506
|
+
*
|
|
27507
|
+
* @summary Get all Languages.
|
|
27508
|
+
* @param {string} [id]
|
|
27509
|
+
* @param {string} [name]
|
|
27510
|
+
* @param {string} [code]
|
|
27511
|
+
* @param {string} [description]
|
|
27512
|
+
* @param {number} [page]
|
|
27513
|
+
* @param {number} [limit]
|
|
27514
|
+
* @param {Date} [lastRetrieved]
|
|
27515
|
+
* @param {*} [options] Override http request option.
|
|
27516
|
+
* @throws {RequiredError}
|
|
27517
|
+
*/
|
|
27518
|
+
async apiV1LanguagesGet(id?: string, name?: string, code?: string, description?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LanguagesModel>> {
|
|
27519
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1LanguagesGet(id, name, code, description, page, limit, lastRetrieved, options);
|
|
27520
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
27521
|
+
},
|
|
27522
|
+
/**
|
|
27523
|
+
*
|
|
27524
|
+
* @summary Get Language.
|
|
27525
|
+
* @param {string} id
|
|
27526
|
+
* @param {*} [options] Override http request option.
|
|
27527
|
+
* @throws {RequiredError}
|
|
27528
|
+
*/
|
|
27529
|
+
async apiV1LanguagesIdGet(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LanguageModel>> {
|
|
27530
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1LanguagesIdGet(id, options);
|
|
27531
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
27532
|
+
},
|
|
27533
|
+
}
|
|
27534
|
+
};
|
|
27535
|
+
|
|
27536
|
+
/**
|
|
27537
|
+
* LanguagesApi - factory interface
|
|
27538
|
+
* @export
|
|
27539
|
+
*/
|
|
27540
|
+
export const LanguagesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
27541
|
+
const localVarFp = LanguagesApiFp(configuration)
|
|
27542
|
+
return {
|
|
27543
|
+
/**
|
|
27544
|
+
*
|
|
27545
|
+
* @summary Get Language by code.
|
|
27546
|
+
* @param {string} code
|
|
27547
|
+
* @param {*} [options] Override http request option.
|
|
27548
|
+
* @throws {RequiredError}
|
|
27549
|
+
*/
|
|
27550
|
+
apiV1LanguagesCodeGet(code: string, options?: any): AxiosPromise<LanguageModel> {
|
|
27551
|
+
return localVarFp.apiV1LanguagesCodeGet(code, options).then((request) => request(axios, basePath));
|
|
27552
|
+
},
|
|
27553
|
+
/**
|
|
27554
|
+
*
|
|
27555
|
+
* @summary Get all Languages.
|
|
27556
|
+
* @param {string} [id]
|
|
27557
|
+
* @param {string} [name]
|
|
27558
|
+
* @param {string} [code]
|
|
27559
|
+
* @param {string} [description]
|
|
27560
|
+
* @param {number} [page]
|
|
27561
|
+
* @param {number} [limit]
|
|
27562
|
+
* @param {Date} [lastRetrieved]
|
|
27563
|
+
* @param {*} [options] Override http request option.
|
|
27564
|
+
* @throws {RequiredError}
|
|
27565
|
+
*/
|
|
27566
|
+
apiV1LanguagesGet(id?: string, name?: string, code?: string, description?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<LanguagesModel> {
|
|
27567
|
+
return localVarFp.apiV1LanguagesGet(id, name, code, description, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
27568
|
+
},
|
|
27569
|
+
/**
|
|
27570
|
+
*
|
|
27571
|
+
* @summary Get Language.
|
|
27572
|
+
* @param {string} id
|
|
27573
|
+
* @param {*} [options] Override http request option.
|
|
27574
|
+
* @throws {RequiredError}
|
|
27575
|
+
*/
|
|
27576
|
+
apiV1LanguagesIdGet(id: string, options?: any): AxiosPromise<LanguageModel> {
|
|
27577
|
+
return localVarFp.apiV1LanguagesIdGet(id, options).then((request) => request(axios, basePath));
|
|
27578
|
+
},
|
|
27579
|
+
};
|
|
27580
|
+
};
|
|
27581
|
+
|
|
27582
|
+
/**
|
|
27583
|
+
* LanguagesApi - object-oriented interface
|
|
27584
|
+
* @export
|
|
27585
|
+
* @class LanguagesApi
|
|
27586
|
+
* @extends {BaseAPI}
|
|
27587
|
+
*/
|
|
27588
|
+
export class LanguagesApi extends BaseAPI {
|
|
27589
|
+
/**
|
|
27590
|
+
*
|
|
27591
|
+
* @summary Get Language by code.
|
|
27592
|
+
* @param {string} code
|
|
27593
|
+
* @param {*} [options] Override http request option.
|
|
27594
|
+
* @throws {RequiredError}
|
|
27595
|
+
* @memberof LanguagesApi
|
|
27596
|
+
*/
|
|
27597
|
+
public apiV1LanguagesCodeGet(code: string, options?: AxiosRequestConfig) {
|
|
27598
|
+
return LanguagesApiFp(this.configuration).apiV1LanguagesCodeGet(code, options).then((request) => request(this.axios, this.basePath));
|
|
26051
27599
|
}
|
|
26052
27600
|
|
|
26053
27601
|
/**
|
|
26054
27602
|
*
|
|
26055
|
-
* @summary
|
|
26056
|
-
* @param {
|
|
27603
|
+
* @summary Get all Languages.
|
|
27604
|
+
* @param {string} [id]
|
|
27605
|
+
* @param {string} [name]
|
|
27606
|
+
* @param {string} [code]
|
|
27607
|
+
* @param {string} [description]
|
|
27608
|
+
* @param {number} [page]
|
|
27609
|
+
* @param {number} [limit]
|
|
27610
|
+
* @param {Date} [lastRetrieved]
|
|
26057
27611
|
* @param {*} [options] Override http request option.
|
|
26058
27612
|
* @throws {RequiredError}
|
|
26059
|
-
* @memberof
|
|
27613
|
+
* @memberof LanguagesApi
|
|
26060
27614
|
*/
|
|
26061
|
-
public
|
|
26062
|
-
return
|
|
27615
|
+
public apiV1LanguagesGet(id?: string, name?: string, code?: string, description?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
27616
|
+
return LanguagesApiFp(this.configuration).apiV1LanguagesGet(id, name, code, description, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
26063
27617
|
}
|
|
26064
27618
|
|
|
26065
27619
|
/**
|
|
26066
27620
|
*
|
|
26067
|
-
* @summary Get
|
|
26068
|
-
* @param {string}
|
|
26069
|
-
* @param {string} [languageCode]
|
|
27621
|
+
* @summary Get Language.
|
|
27622
|
+
* @param {string} id
|
|
26070
27623
|
* @param {*} [options] Override http request option.
|
|
26071
27624
|
* @throws {RequiredError}
|
|
26072
|
-
* @memberof
|
|
27625
|
+
* @memberof LanguagesApi
|
|
26073
27626
|
*/
|
|
26074
|
-
public
|
|
26075
|
-
return
|
|
27627
|
+
public apiV1LanguagesIdGet(id: string, options?: AxiosRequestConfig) {
|
|
27628
|
+
return LanguagesApiFp(this.configuration).apiV1LanguagesIdGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
26076
27629
|
}
|
|
26077
27630
|
}
|
|
26078
27631
|
|
|
26079
27632
|
|
|
26080
27633
|
/**
|
|
26081
|
-
*
|
|
27634
|
+
* NotificationsApi - axios parameter creator
|
|
26082
27635
|
* @export
|
|
26083
27636
|
*/
|
|
26084
|
-
export const
|
|
27637
|
+
export const NotificationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
26085
27638
|
return {
|
|
26086
27639
|
/**
|
|
26087
27640
|
*
|
|
27641
|
+
* @summary Check notification.
|
|
27642
|
+
* @param {CheckNotificationsCommand} [checkNotificationsCommand]
|
|
26088
27643
|
* @param {*} [options] Override http request option.
|
|
26089
27644
|
* @throws {RequiredError}
|
|
26090
27645
|
*/
|
|
26091
|
-
|
|
26092
|
-
const localVarPath = `/api/v1/
|
|
27646
|
+
apiV1NotificationsCheckPost: async (checkNotificationsCommand?: CheckNotificationsCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27647
|
+
const localVarPath = `/api/v1/notifications/check`;
|
|
26093
27648
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26094
27649
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26095
27650
|
let baseOptions;
|
|
@@ -26107,6 +27662,70 @@ export const ImagesApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
26107
27662
|
|
|
26108
27663
|
|
|
26109
27664
|
|
|
27665
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
27666
|
+
|
|
27667
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27668
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27669
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
27670
|
+
localVarRequestOptions.data = serializeDataIfNeeded(checkNotificationsCommand, localVarRequestOptions, configuration)
|
|
27671
|
+
|
|
27672
|
+
return {
|
|
27673
|
+
url: toPathString(localVarUrlObj),
|
|
27674
|
+
options: localVarRequestOptions,
|
|
27675
|
+
};
|
|
27676
|
+
},
|
|
27677
|
+
/**
|
|
27678
|
+
*
|
|
27679
|
+
* @summary Get all notifications.
|
|
27680
|
+
* @param {NotificationCode} [notificationCode]
|
|
27681
|
+
* @param {boolean} [unreadCountOnly]
|
|
27682
|
+
* @param {number} [page]
|
|
27683
|
+
* @param {number} [limit]
|
|
27684
|
+
* @param {Date} [lastRetrieved]
|
|
27685
|
+
* @param {*} [options] Override http request option.
|
|
27686
|
+
* @throws {RequiredError}
|
|
27687
|
+
*/
|
|
27688
|
+
apiV1NotificationsGet: async (notificationCode?: NotificationCode, unreadCountOnly?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27689
|
+
const localVarPath = `/api/v1/notifications`;
|
|
27690
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27691
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
27692
|
+
let baseOptions;
|
|
27693
|
+
if (configuration) {
|
|
27694
|
+
baseOptions = configuration.baseOptions;
|
|
27695
|
+
}
|
|
27696
|
+
|
|
27697
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
27698
|
+
const localVarHeaderParameter = {} as any;
|
|
27699
|
+
const localVarQueryParameter = {} as any;
|
|
27700
|
+
|
|
27701
|
+
// authentication oauth2 required
|
|
27702
|
+
// oauth required
|
|
27703
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
27704
|
+
|
|
27705
|
+
if (notificationCode !== undefined) {
|
|
27706
|
+
localVarQueryParameter['NotificationCode'] = notificationCode;
|
|
27707
|
+
}
|
|
27708
|
+
|
|
27709
|
+
if (unreadCountOnly !== undefined) {
|
|
27710
|
+
localVarQueryParameter['UnreadCountOnly'] = unreadCountOnly;
|
|
27711
|
+
}
|
|
27712
|
+
|
|
27713
|
+
if (page !== undefined) {
|
|
27714
|
+
localVarQueryParameter['page'] = page;
|
|
27715
|
+
}
|
|
27716
|
+
|
|
27717
|
+
if (limit !== undefined) {
|
|
27718
|
+
localVarQueryParameter['limit'] = limit;
|
|
27719
|
+
}
|
|
27720
|
+
|
|
27721
|
+
if (lastRetrieved !== undefined) {
|
|
27722
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
27723
|
+
(lastRetrieved as any).toISOString() :
|
|
27724
|
+
lastRetrieved;
|
|
27725
|
+
}
|
|
27726
|
+
|
|
27727
|
+
|
|
27728
|
+
|
|
26110
27729
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26111
27730
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26112
27731
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -26120,57 +27739,108 @@ export const ImagesApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
26120
27739
|
};
|
|
26121
27740
|
|
|
26122
27741
|
/**
|
|
26123
|
-
*
|
|
27742
|
+
* NotificationsApi - functional programming interface
|
|
26124
27743
|
* @export
|
|
26125
27744
|
*/
|
|
26126
|
-
export const
|
|
26127
|
-
const localVarAxiosParamCreator =
|
|
27745
|
+
export const NotificationsApiFp = function(configuration?: Configuration) {
|
|
27746
|
+
const localVarAxiosParamCreator = NotificationsApiAxiosParamCreator(configuration)
|
|
26128
27747
|
return {
|
|
26129
27748
|
/**
|
|
26130
27749
|
*
|
|
27750
|
+
* @summary Check notification.
|
|
27751
|
+
* @param {CheckNotificationsCommand} [checkNotificationsCommand]
|
|
26131
27752
|
* @param {*} [options] Override http request option.
|
|
26132
27753
|
* @throws {RequiredError}
|
|
26133
27754
|
*/
|
|
26134
|
-
async
|
|
26135
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
27755
|
+
async apiV1NotificationsCheckPost(checkNotificationsCommand?: CheckNotificationsCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
27756
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1NotificationsCheckPost(checkNotificationsCommand, options);
|
|
27757
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
27758
|
+
},
|
|
27759
|
+
/**
|
|
27760
|
+
*
|
|
27761
|
+
* @summary Get all notifications.
|
|
27762
|
+
* @param {NotificationCode} [notificationCode]
|
|
27763
|
+
* @param {boolean} [unreadCountOnly]
|
|
27764
|
+
* @param {number} [page]
|
|
27765
|
+
* @param {number} [limit]
|
|
27766
|
+
* @param {Date} [lastRetrieved]
|
|
27767
|
+
* @param {*} [options] Override http request option.
|
|
27768
|
+
* @throws {RequiredError}
|
|
27769
|
+
*/
|
|
27770
|
+
async apiV1NotificationsGet(notificationCode?: NotificationCode, unreadCountOnly?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NotificationsModel>> {
|
|
27771
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1NotificationsGet(notificationCode, unreadCountOnly, page, limit, lastRetrieved, options);
|
|
26136
27772
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
26137
27773
|
},
|
|
26138
27774
|
}
|
|
26139
27775
|
};
|
|
26140
27776
|
|
|
26141
27777
|
/**
|
|
26142
|
-
*
|
|
27778
|
+
* NotificationsApi - factory interface
|
|
26143
27779
|
* @export
|
|
26144
27780
|
*/
|
|
26145
|
-
export const
|
|
26146
|
-
const localVarFp =
|
|
27781
|
+
export const NotificationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
27782
|
+
const localVarFp = NotificationsApiFp(configuration)
|
|
26147
27783
|
return {
|
|
26148
27784
|
/**
|
|
26149
27785
|
*
|
|
27786
|
+
* @summary Check notification.
|
|
27787
|
+
* @param {CheckNotificationsCommand} [checkNotificationsCommand]
|
|
26150
27788
|
* @param {*} [options] Override http request option.
|
|
26151
27789
|
* @throws {RequiredError}
|
|
26152
27790
|
*/
|
|
26153
|
-
|
|
26154
|
-
return localVarFp.
|
|
27791
|
+
apiV1NotificationsCheckPost(checkNotificationsCommand?: CheckNotificationsCommand, options?: any): AxiosPromise<boolean> {
|
|
27792
|
+
return localVarFp.apiV1NotificationsCheckPost(checkNotificationsCommand, options).then((request) => request(axios, basePath));
|
|
27793
|
+
},
|
|
27794
|
+
/**
|
|
27795
|
+
*
|
|
27796
|
+
* @summary Get all notifications.
|
|
27797
|
+
* @param {NotificationCode} [notificationCode]
|
|
27798
|
+
* @param {boolean} [unreadCountOnly]
|
|
27799
|
+
* @param {number} [page]
|
|
27800
|
+
* @param {number} [limit]
|
|
27801
|
+
* @param {Date} [lastRetrieved]
|
|
27802
|
+
* @param {*} [options] Override http request option.
|
|
27803
|
+
* @throws {RequiredError}
|
|
27804
|
+
*/
|
|
27805
|
+
apiV1NotificationsGet(notificationCode?: NotificationCode, unreadCountOnly?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<NotificationsModel> {
|
|
27806
|
+
return localVarFp.apiV1NotificationsGet(notificationCode, unreadCountOnly, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
26155
27807
|
},
|
|
26156
27808
|
};
|
|
26157
27809
|
};
|
|
26158
27810
|
|
|
26159
27811
|
/**
|
|
26160
|
-
*
|
|
27812
|
+
* NotificationsApi - object-oriented interface
|
|
26161
27813
|
* @export
|
|
26162
|
-
* @class
|
|
27814
|
+
* @class NotificationsApi
|
|
26163
27815
|
* @extends {BaseAPI}
|
|
26164
27816
|
*/
|
|
26165
|
-
export class
|
|
27817
|
+
export class NotificationsApi extends BaseAPI {
|
|
26166
27818
|
/**
|
|
26167
27819
|
*
|
|
27820
|
+
* @summary Check notification.
|
|
27821
|
+
* @param {CheckNotificationsCommand} [checkNotificationsCommand]
|
|
26168
27822
|
* @param {*} [options] Override http request option.
|
|
26169
27823
|
* @throws {RequiredError}
|
|
26170
|
-
* @memberof
|
|
27824
|
+
* @memberof NotificationsApi
|
|
26171
27825
|
*/
|
|
26172
|
-
public
|
|
26173
|
-
return
|
|
27826
|
+
public apiV1NotificationsCheckPost(checkNotificationsCommand?: CheckNotificationsCommand, options?: AxiosRequestConfig) {
|
|
27827
|
+
return NotificationsApiFp(this.configuration).apiV1NotificationsCheckPost(checkNotificationsCommand, options).then((request) => request(this.axios, this.basePath));
|
|
27828
|
+
}
|
|
27829
|
+
|
|
27830
|
+
/**
|
|
27831
|
+
*
|
|
27832
|
+
* @summary Get all notifications.
|
|
27833
|
+
* @param {NotificationCode} [notificationCode]
|
|
27834
|
+
* @param {boolean} [unreadCountOnly]
|
|
27835
|
+
* @param {number} [page]
|
|
27836
|
+
* @param {number} [limit]
|
|
27837
|
+
* @param {Date} [lastRetrieved]
|
|
27838
|
+
* @param {*} [options] Override http request option.
|
|
27839
|
+
* @throws {RequiredError}
|
|
27840
|
+
* @memberof NotificationsApi
|
|
27841
|
+
*/
|
|
27842
|
+
public apiV1NotificationsGet(notificationCode?: NotificationCode, unreadCountOnly?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
27843
|
+
return NotificationsApiFp(this.configuration).apiV1NotificationsGet(notificationCode, unreadCountOnly, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
26174
27844
|
}
|
|
26175
27845
|
}
|
|
26176
27846
|
|
|
@@ -26182,17 +27852,19 @@ export class ImagesApi extends BaseAPI {
|
|
|
26182
27852
|
export const ServicesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
26183
27853
|
return {
|
|
26184
27854
|
/**
|
|
26185
|
-
*
|
|
26186
|
-
* @summary Get all
|
|
26187
|
-
* @param {string} [id]
|
|
26188
|
-
* @param {string} [name]
|
|
26189
|
-
* @param {string} [description]
|
|
27855
|
+
*
|
|
27856
|
+
* @summary Get all HospitalServices.
|
|
26190
27857
|
* @param {string} [hospitalId]
|
|
26191
27858
|
* @param {string} [hospitalName]
|
|
26192
27859
|
* @param {string} [hospitalSlug]
|
|
27860
|
+
* @param {string} [id]
|
|
27861
|
+
* @param {string} [name]
|
|
27862
|
+
* @param {string} [description]
|
|
26193
27863
|
* @param {string} [specialtyId]
|
|
27864
|
+
* @param {string} [specialtyName]
|
|
26194
27865
|
* @param {string} [specialtyTypeId]
|
|
26195
27866
|
* @param {string} [specialtyTypeName]
|
|
27867
|
+
* @param {string} [serviceCategoryId]
|
|
26196
27868
|
* @param {MarketingType} [marketingType]
|
|
26197
27869
|
* @param {Procedure} [procedure]
|
|
26198
27870
|
* @param {Date} [created]
|
|
@@ -26203,7 +27875,7 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
26203
27875
|
* @param {*} [options] Override http request option.
|
|
26204
27876
|
* @throws {RequiredError}
|
|
26205
27877
|
*/
|
|
26206
|
-
apiV1ServicesGet: async (
|
|
27878
|
+
apiV1ServicesGet: async (hospitalId?: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26207
27879
|
const localVarPath = `/api/v1/services`;
|
|
26208
27880
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26209
27881
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -26220,18 +27892,6 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
26220
27892
|
// oauth required
|
|
26221
27893
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
26222
27894
|
|
|
26223
|
-
if (id !== undefined) {
|
|
26224
|
-
localVarQueryParameter['Id'] = id;
|
|
26225
|
-
}
|
|
26226
|
-
|
|
26227
|
-
if (name !== undefined) {
|
|
26228
|
-
localVarQueryParameter['Name'] = name;
|
|
26229
|
-
}
|
|
26230
|
-
|
|
26231
|
-
if (description !== undefined) {
|
|
26232
|
-
localVarQueryParameter['Description'] = description;
|
|
26233
|
-
}
|
|
26234
|
-
|
|
26235
27895
|
if (hospitalId !== undefined) {
|
|
26236
27896
|
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
26237
27897
|
}
|
|
@@ -26244,10 +27904,26 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
26244
27904
|
localVarQueryParameter['HospitalSlug'] = hospitalSlug;
|
|
26245
27905
|
}
|
|
26246
27906
|
|
|
27907
|
+
if (id !== undefined) {
|
|
27908
|
+
localVarQueryParameter['Id'] = id;
|
|
27909
|
+
}
|
|
27910
|
+
|
|
27911
|
+
if (name !== undefined) {
|
|
27912
|
+
localVarQueryParameter['Name'] = name;
|
|
27913
|
+
}
|
|
27914
|
+
|
|
27915
|
+
if (description !== undefined) {
|
|
27916
|
+
localVarQueryParameter['Description'] = description;
|
|
27917
|
+
}
|
|
27918
|
+
|
|
26247
27919
|
if (specialtyId !== undefined) {
|
|
26248
27920
|
localVarQueryParameter['SpecialtyId'] = specialtyId;
|
|
26249
27921
|
}
|
|
26250
27922
|
|
|
27923
|
+
if (specialtyName !== undefined) {
|
|
27924
|
+
localVarQueryParameter['SpecialtyName'] = specialtyName;
|
|
27925
|
+
}
|
|
27926
|
+
|
|
26251
27927
|
if (specialtyTypeId !== undefined) {
|
|
26252
27928
|
localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
|
|
26253
27929
|
}
|
|
@@ -26256,6 +27932,10 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
26256
27932
|
localVarQueryParameter['SpecialtyTypeName'] = specialtyTypeName;
|
|
26257
27933
|
}
|
|
26258
27934
|
|
|
27935
|
+
if (serviceCategoryId !== undefined) {
|
|
27936
|
+
localVarQueryParameter['ServiceCategoryId'] = serviceCategoryId;
|
|
27937
|
+
}
|
|
27938
|
+
|
|
26259
27939
|
if (marketingType !== undefined) {
|
|
26260
27940
|
localVarQueryParameter['MarketingType'] = marketingType;
|
|
26261
27941
|
}
|
|
@@ -26301,7 +27981,50 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
26301
27981
|
},
|
|
26302
27982
|
/**
|
|
26303
27983
|
*
|
|
26304
|
-
* @summary Get
|
|
27984
|
+
* @summary Get HospitalService.
|
|
27985
|
+
* @param {string} serviceId
|
|
27986
|
+
* @param {string} [languageCode]
|
|
27987
|
+
* @param {*} [options] Override http request option.
|
|
27988
|
+
* @throws {RequiredError}
|
|
27989
|
+
*/
|
|
27990
|
+
apiV1ServicesServiceIdGet: async (serviceId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27991
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
27992
|
+
assertParamExists('apiV1ServicesServiceIdGet', 'serviceId', serviceId)
|
|
27993
|
+
const localVarPath = `/api/v1/services/{serviceId}`
|
|
27994
|
+
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
|
|
27995
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27996
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
27997
|
+
let baseOptions;
|
|
27998
|
+
if (configuration) {
|
|
27999
|
+
baseOptions = configuration.baseOptions;
|
|
28000
|
+
}
|
|
28001
|
+
|
|
28002
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
28003
|
+
const localVarHeaderParameter = {} as any;
|
|
28004
|
+
const localVarQueryParameter = {} as any;
|
|
28005
|
+
|
|
28006
|
+
// authentication oauth2 required
|
|
28007
|
+
// oauth required
|
|
28008
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
28009
|
+
|
|
28010
|
+
if (languageCode !== undefined) {
|
|
28011
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
28012
|
+
}
|
|
28013
|
+
|
|
28014
|
+
|
|
28015
|
+
|
|
28016
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28017
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28018
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
28019
|
+
|
|
28020
|
+
return {
|
|
28021
|
+
url: toPathString(localVarUrlObj),
|
|
28022
|
+
options: localVarRequestOptions,
|
|
28023
|
+
};
|
|
28024
|
+
},
|
|
28025
|
+
/**
|
|
28026
|
+
*
|
|
28027
|
+
* @summary Get HospitalService by slug.
|
|
26305
28028
|
* @param {string} slug
|
|
26306
28029
|
* @param {string} [languageCode]
|
|
26307
28030
|
* @param {*} [options] Override http request option.
|
|
@@ -26353,17 +28076,19 @@ export const ServicesApiFp = function(configuration?: Configuration) {
|
|
|
26353
28076
|
const localVarAxiosParamCreator = ServicesApiAxiosParamCreator(configuration)
|
|
26354
28077
|
return {
|
|
26355
28078
|
/**
|
|
26356
|
-
*
|
|
26357
|
-
* @summary Get all
|
|
26358
|
-
* @param {string} [id]
|
|
26359
|
-
* @param {string} [name]
|
|
26360
|
-
* @param {string} [description]
|
|
28079
|
+
*
|
|
28080
|
+
* @summary Get all HospitalServices.
|
|
26361
28081
|
* @param {string} [hospitalId]
|
|
26362
28082
|
* @param {string} [hospitalName]
|
|
26363
28083
|
* @param {string} [hospitalSlug]
|
|
28084
|
+
* @param {string} [id]
|
|
28085
|
+
* @param {string} [name]
|
|
28086
|
+
* @param {string} [description]
|
|
26364
28087
|
* @param {string} [specialtyId]
|
|
28088
|
+
* @param {string} [specialtyName]
|
|
26365
28089
|
* @param {string} [specialtyTypeId]
|
|
26366
28090
|
* @param {string} [specialtyTypeName]
|
|
28091
|
+
* @param {string} [serviceCategoryId]
|
|
26367
28092
|
* @param {MarketingType} [marketingType]
|
|
26368
28093
|
* @param {Procedure} [procedure]
|
|
26369
28094
|
* @param {Date} [created]
|
|
@@ -26374,19 +28099,31 @@ export const ServicesApiFp = function(configuration?: Configuration) {
|
|
|
26374
28099
|
* @param {*} [options] Override http request option.
|
|
26375
28100
|
* @throws {RequiredError}
|
|
26376
28101
|
*/
|
|
26377
|
-
async apiV1ServicesGet(
|
|
26378
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicesGet(
|
|
28102
|
+
async apiV1ServicesGet(hospitalId?: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServicesModel>> {
|
|
28103
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicesGet(hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options);
|
|
26379
28104
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
26380
28105
|
},
|
|
26381
28106
|
/**
|
|
26382
28107
|
*
|
|
26383
|
-
* @summary Get
|
|
28108
|
+
* @summary Get HospitalService.
|
|
28109
|
+
* @param {string} serviceId
|
|
28110
|
+
* @param {string} [languageCode]
|
|
28111
|
+
* @param {*} [options] Override http request option.
|
|
28112
|
+
* @throws {RequiredError}
|
|
28113
|
+
*/
|
|
28114
|
+
async apiV1ServicesServiceIdGet(serviceId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServiceModel>> {
|
|
28115
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicesServiceIdGet(serviceId, languageCode, options);
|
|
28116
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28117
|
+
},
|
|
28118
|
+
/**
|
|
28119
|
+
*
|
|
28120
|
+
* @summary Get HospitalService by slug.
|
|
26384
28121
|
* @param {string} slug
|
|
26385
28122
|
* @param {string} [languageCode]
|
|
26386
28123
|
* @param {*} [options] Override http request option.
|
|
26387
28124
|
* @throws {RequiredError}
|
|
26388
28125
|
*/
|
|
26389
|
-
async apiV1ServicesSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
28126
|
+
async apiV1ServicesSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServiceModel>> {
|
|
26390
28127
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicesSlugGet(slug, languageCode, options);
|
|
26391
28128
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
26392
28129
|
},
|
|
@@ -26401,17 +28138,19 @@ export const ServicesApiFactory = function (configuration?: Configuration, baseP
|
|
|
26401
28138
|
const localVarFp = ServicesApiFp(configuration)
|
|
26402
28139
|
return {
|
|
26403
28140
|
/**
|
|
26404
|
-
*
|
|
26405
|
-
* @summary Get all
|
|
26406
|
-
* @param {string} [id]
|
|
26407
|
-
* @param {string} [name]
|
|
26408
|
-
* @param {string} [description]
|
|
28141
|
+
*
|
|
28142
|
+
* @summary Get all HospitalServices.
|
|
26409
28143
|
* @param {string} [hospitalId]
|
|
26410
28144
|
* @param {string} [hospitalName]
|
|
26411
28145
|
* @param {string} [hospitalSlug]
|
|
28146
|
+
* @param {string} [id]
|
|
28147
|
+
* @param {string} [name]
|
|
28148
|
+
* @param {string} [description]
|
|
26412
28149
|
* @param {string} [specialtyId]
|
|
28150
|
+
* @param {string} [specialtyName]
|
|
26413
28151
|
* @param {string} [specialtyTypeId]
|
|
26414
28152
|
* @param {string} [specialtyTypeName]
|
|
28153
|
+
* @param {string} [serviceCategoryId]
|
|
26415
28154
|
* @param {MarketingType} [marketingType]
|
|
26416
28155
|
* @param {Procedure} [procedure]
|
|
26417
28156
|
* @param {Date} [created]
|
|
@@ -26422,18 +28161,29 @@ export const ServicesApiFactory = function (configuration?: Configuration, baseP
|
|
|
26422
28161
|
* @param {*} [options] Override http request option.
|
|
26423
28162
|
* @throws {RequiredError}
|
|
26424
28163
|
*/
|
|
26425
|
-
apiV1ServicesGet(
|
|
26426
|
-
return localVarFp.apiV1ServicesGet(
|
|
28164
|
+
apiV1ServicesGet(hospitalId?: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalServicesModel> {
|
|
28165
|
+
return localVarFp.apiV1ServicesGet(hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
28166
|
+
},
|
|
28167
|
+
/**
|
|
28168
|
+
*
|
|
28169
|
+
* @summary Get HospitalService.
|
|
28170
|
+
* @param {string} serviceId
|
|
28171
|
+
* @param {string} [languageCode]
|
|
28172
|
+
* @param {*} [options] Override http request option.
|
|
28173
|
+
* @throws {RequiredError}
|
|
28174
|
+
*/
|
|
28175
|
+
apiV1ServicesServiceIdGet(serviceId: string, languageCode?: string, options?: any): AxiosPromise<HospitalServiceModel> {
|
|
28176
|
+
return localVarFp.apiV1ServicesServiceIdGet(serviceId, languageCode, options).then((request) => request(axios, basePath));
|
|
26427
28177
|
},
|
|
26428
28178
|
/**
|
|
26429
28179
|
*
|
|
26430
|
-
* @summary Get
|
|
28180
|
+
* @summary Get HospitalService by slug.
|
|
26431
28181
|
* @param {string} slug
|
|
26432
28182
|
* @param {string} [languageCode]
|
|
26433
28183
|
* @param {*} [options] Override http request option.
|
|
26434
28184
|
* @throws {RequiredError}
|
|
26435
28185
|
*/
|
|
26436
|
-
apiV1ServicesSlugGet(slug: string, languageCode?: string, options?: any): AxiosPromise<
|
|
28186
|
+
apiV1ServicesSlugGet(slug: string, languageCode?: string, options?: any): AxiosPromise<HospitalServiceModel> {
|
|
26437
28187
|
return localVarFp.apiV1ServicesSlugGet(slug, languageCode, options).then((request) => request(axios, basePath));
|
|
26438
28188
|
},
|
|
26439
28189
|
};
|
|
@@ -26447,17 +28197,19 @@ export const ServicesApiFactory = function (configuration?: Configuration, baseP
|
|
|
26447
28197
|
*/
|
|
26448
28198
|
export class ServicesApi extends BaseAPI {
|
|
26449
28199
|
/**
|
|
26450
|
-
*
|
|
26451
|
-
* @summary Get all
|
|
26452
|
-
* @param {string} [id]
|
|
26453
|
-
* @param {string} [name]
|
|
26454
|
-
* @param {string} [description]
|
|
28200
|
+
*
|
|
28201
|
+
* @summary Get all HospitalServices.
|
|
26455
28202
|
* @param {string} [hospitalId]
|
|
26456
28203
|
* @param {string} [hospitalName]
|
|
26457
28204
|
* @param {string} [hospitalSlug]
|
|
28205
|
+
* @param {string} [id]
|
|
28206
|
+
* @param {string} [name]
|
|
28207
|
+
* @param {string} [description]
|
|
26458
28208
|
* @param {string} [specialtyId]
|
|
28209
|
+
* @param {string} [specialtyName]
|
|
26459
28210
|
* @param {string} [specialtyTypeId]
|
|
26460
28211
|
* @param {string} [specialtyTypeName]
|
|
28212
|
+
* @param {string} [serviceCategoryId]
|
|
26461
28213
|
* @param {MarketingType} [marketingType]
|
|
26462
28214
|
* @param {Procedure} [procedure]
|
|
26463
28215
|
* @param {Date} [created]
|
|
@@ -26469,13 +28221,26 @@ export class ServicesApi extends BaseAPI {
|
|
|
26469
28221
|
* @throws {RequiredError}
|
|
26470
28222
|
* @memberof ServicesApi
|
|
26471
28223
|
*/
|
|
26472
|
-
public apiV1ServicesGet(
|
|
26473
|
-
return ServicesApiFp(this.configuration).apiV1ServicesGet(
|
|
28224
|
+
public apiV1ServicesGet(hospitalId?: string, hospitalName?: string, hospitalSlug?: string, id?: string, name?: string, description?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
28225
|
+
return ServicesApiFp(this.configuration).apiV1ServicesGet(hospitalId, hospitalName, hospitalSlug, id, name, description, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceCategoryId, marketingType, procedure, created, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
28226
|
+
}
|
|
28227
|
+
|
|
28228
|
+
/**
|
|
28229
|
+
*
|
|
28230
|
+
* @summary Get HospitalService.
|
|
28231
|
+
* @param {string} serviceId
|
|
28232
|
+
* @param {string} [languageCode]
|
|
28233
|
+
* @param {*} [options] Override http request option.
|
|
28234
|
+
* @throws {RequiredError}
|
|
28235
|
+
* @memberof ServicesApi
|
|
28236
|
+
*/
|
|
28237
|
+
public apiV1ServicesServiceIdGet(serviceId: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
28238
|
+
return ServicesApiFp(this.configuration).apiV1ServicesServiceIdGet(serviceId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
26474
28239
|
}
|
|
26475
28240
|
|
|
26476
28241
|
/**
|
|
26477
28242
|
*
|
|
26478
|
-
* @summary Get
|
|
28243
|
+
* @summary Get HospitalService by slug.
|
|
26479
28244
|
* @param {string} slug
|
|
26480
28245
|
* @param {string} [languageCode]
|
|
26481
28246
|
* @param {*} [options] Override http request option.
|