ch-admin-api-client-typescript 4.3.6 → 4.3.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 +989 -25
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +769 -29
- package/package.json +1 -1
- package/src/api.ts +1380 -83
package/src/api.ts
CHANGED
|
@@ -267,6 +267,73 @@ export interface AccreditationsModel {
|
|
|
267
267
|
*/
|
|
268
268
|
'metaData'?: PagedListMetaData;
|
|
269
269
|
}
|
|
270
|
+
/**
|
|
271
|
+
*
|
|
272
|
+
* @export
|
|
273
|
+
* @interface AdminMessageModel
|
|
274
|
+
*/
|
|
275
|
+
export interface AdminMessageModel {
|
|
276
|
+
/**
|
|
277
|
+
*
|
|
278
|
+
* @type {number}
|
|
279
|
+
* @memberof AdminMessageModel
|
|
280
|
+
*/
|
|
281
|
+
'message_id'?: number;
|
|
282
|
+
/**
|
|
283
|
+
*
|
|
284
|
+
* @type {string}
|
|
285
|
+
* @memberof AdminMessageModel
|
|
286
|
+
*/
|
|
287
|
+
'type'?: string | null;
|
|
288
|
+
/**
|
|
289
|
+
*
|
|
290
|
+
* @type {string}
|
|
291
|
+
* @memberof AdminMessageModel
|
|
292
|
+
*/
|
|
293
|
+
'custom_type'?: string | null;
|
|
294
|
+
/**
|
|
295
|
+
*
|
|
296
|
+
* @type {string}
|
|
297
|
+
* @memberof AdminMessageModel
|
|
298
|
+
*/
|
|
299
|
+
'channel_url'?: string | null;
|
|
300
|
+
/**
|
|
301
|
+
*
|
|
302
|
+
* @type {string}
|
|
303
|
+
* @memberof AdminMessageModel
|
|
304
|
+
*/
|
|
305
|
+
'mention_type'?: string | null;
|
|
306
|
+
/**
|
|
307
|
+
*
|
|
308
|
+
* @type {boolean}
|
|
309
|
+
* @memberof AdminMessageModel
|
|
310
|
+
*/
|
|
311
|
+
'is_removed'?: boolean;
|
|
312
|
+
/**
|
|
313
|
+
*
|
|
314
|
+
* @type {string}
|
|
315
|
+
* @memberof AdminMessageModel
|
|
316
|
+
*/
|
|
317
|
+
'message'?: string | null;
|
|
318
|
+
/**
|
|
319
|
+
*
|
|
320
|
+
* @type {string}
|
|
321
|
+
* @memberof AdminMessageModel
|
|
322
|
+
*/
|
|
323
|
+
'data'?: string | null;
|
|
324
|
+
/**
|
|
325
|
+
*
|
|
326
|
+
* @type {number}
|
|
327
|
+
* @memberof AdminMessageModel
|
|
328
|
+
*/
|
|
329
|
+
'created_at'?: number;
|
|
330
|
+
/**
|
|
331
|
+
*
|
|
332
|
+
* @type {number}
|
|
333
|
+
* @memberof AdminMessageModel
|
|
334
|
+
*/
|
|
335
|
+
'updated_at'?: number;
|
|
336
|
+
}
|
|
270
337
|
/**
|
|
271
338
|
*
|
|
272
339
|
* @export
|
|
@@ -4649,6 +4716,61 @@ export interface CreateHospitalWorkingDayCommand {
|
|
|
4649
4716
|
*/
|
|
4650
4717
|
'checkHoliday'?: boolean;
|
|
4651
4718
|
}
|
|
4719
|
+
/**
|
|
4720
|
+
*
|
|
4721
|
+
* @export
|
|
4722
|
+
* @interface CreateLandingCommand
|
|
4723
|
+
*/
|
|
4724
|
+
export interface CreateLandingCommand {
|
|
4725
|
+
/**
|
|
4726
|
+
*
|
|
4727
|
+
* @type {string}
|
|
4728
|
+
* @memberof CreateLandingCommand
|
|
4729
|
+
*/
|
|
4730
|
+
'name'?: string | null;
|
|
4731
|
+
/**
|
|
4732
|
+
*
|
|
4733
|
+
* @type {string}
|
|
4734
|
+
* @memberof CreateLandingCommand
|
|
4735
|
+
*/
|
|
4736
|
+
'description'?: string | null;
|
|
4737
|
+
/**
|
|
4738
|
+
*
|
|
4739
|
+
* @type {string}
|
|
4740
|
+
* @memberof CreateLandingCommand
|
|
4741
|
+
*/
|
|
4742
|
+
'content'?: string | null;
|
|
4743
|
+
/**
|
|
4744
|
+
*
|
|
4745
|
+
* @type {string}
|
|
4746
|
+
* @memberof CreateLandingCommand
|
|
4747
|
+
*/
|
|
4748
|
+
'customStyle'?: string | null;
|
|
4749
|
+
/**
|
|
4750
|
+
*
|
|
4751
|
+
* @type {number}
|
|
4752
|
+
* @memberof CreateLandingCommand
|
|
4753
|
+
*/
|
|
4754
|
+
'order'?: number;
|
|
4755
|
+
/**
|
|
4756
|
+
*
|
|
4757
|
+
* @type {string}
|
|
4758
|
+
* @memberof CreateLandingCommand
|
|
4759
|
+
*/
|
|
4760
|
+
'photo'?: string | null;
|
|
4761
|
+
/**
|
|
4762
|
+
*
|
|
4763
|
+
* @type {string}
|
|
4764
|
+
* @memberof CreateLandingCommand
|
|
4765
|
+
*/
|
|
4766
|
+
'photoThumbnail'?: string | null;
|
|
4767
|
+
/**
|
|
4768
|
+
*
|
|
4769
|
+
* @type {Array<MediaModel>}
|
|
4770
|
+
* @memberof CreateLandingCommand
|
|
4771
|
+
*/
|
|
4772
|
+
'medias'?: Array<MediaModel> | null;
|
|
4773
|
+
}
|
|
4652
4774
|
/**
|
|
4653
4775
|
*
|
|
4654
4776
|
* @export
|
|
@@ -8876,6 +8998,214 @@ export interface HospitalsSimpleModel {
|
|
|
8876
8998
|
*/
|
|
8877
8999
|
'metaData'?: PagedListMetaData;
|
|
8878
9000
|
}
|
|
9001
|
+
/**
|
|
9002
|
+
*
|
|
9003
|
+
* @export
|
|
9004
|
+
* @interface InviteSendBirdGroupChannelCommand
|
|
9005
|
+
*/
|
|
9006
|
+
export interface InviteSendBirdGroupChannelCommand {
|
|
9007
|
+
/**
|
|
9008
|
+
*
|
|
9009
|
+
* @type {Array<string>}
|
|
9010
|
+
* @memberof InviteSendBirdGroupChannelCommand
|
|
9011
|
+
*/
|
|
9012
|
+
'user_ids'?: Array<string> | null;
|
|
9013
|
+
}
|
|
9014
|
+
/**
|
|
9015
|
+
*
|
|
9016
|
+
* @export
|
|
9017
|
+
* @interface LandingItemModel
|
|
9018
|
+
*/
|
|
9019
|
+
export interface LandingItemModel {
|
|
9020
|
+
/**
|
|
9021
|
+
*
|
|
9022
|
+
* @type {string}
|
|
9023
|
+
* @memberof LandingItemModel
|
|
9024
|
+
*/
|
|
9025
|
+
'id'?: string;
|
|
9026
|
+
/**
|
|
9027
|
+
*
|
|
9028
|
+
* @type {string}
|
|
9029
|
+
* @memberof LandingItemModel
|
|
9030
|
+
*/
|
|
9031
|
+
'languageCode'?: string | null;
|
|
9032
|
+
/**
|
|
9033
|
+
*
|
|
9034
|
+
* @type {string}
|
|
9035
|
+
* @memberof LandingItemModel
|
|
9036
|
+
*/
|
|
9037
|
+
'name'?: string | null;
|
|
9038
|
+
/**
|
|
9039
|
+
*
|
|
9040
|
+
* @type {string}
|
|
9041
|
+
* @memberof LandingItemModel
|
|
9042
|
+
*/
|
|
9043
|
+
'slug'?: string | null;
|
|
9044
|
+
/**
|
|
9045
|
+
*
|
|
9046
|
+
* @type {boolean}
|
|
9047
|
+
* @memberof LandingItemModel
|
|
9048
|
+
*/
|
|
9049
|
+
'confirmed'?: boolean;
|
|
9050
|
+
/**
|
|
9051
|
+
*
|
|
9052
|
+
* @type {number}
|
|
9053
|
+
* @memberof LandingItemModel
|
|
9054
|
+
*/
|
|
9055
|
+
'order'?: number;
|
|
9056
|
+
/**
|
|
9057
|
+
*
|
|
9058
|
+
* @type {string}
|
|
9059
|
+
* @memberof LandingItemModel
|
|
9060
|
+
*/
|
|
9061
|
+
'photo'?: string | null;
|
|
9062
|
+
/**
|
|
9063
|
+
*
|
|
9064
|
+
* @type {string}
|
|
9065
|
+
* @memberof LandingItemModel
|
|
9066
|
+
*/
|
|
9067
|
+
'photoThumbnail'?: string | null;
|
|
9068
|
+
/**
|
|
9069
|
+
*
|
|
9070
|
+
* @type {AuditableEntity}
|
|
9071
|
+
* @memberof LandingItemModel
|
|
9072
|
+
*/
|
|
9073
|
+
'auditableEntity'?: AuditableEntity;
|
|
9074
|
+
}
|
|
9075
|
+
/**
|
|
9076
|
+
*
|
|
9077
|
+
* @export
|
|
9078
|
+
* @interface LandingModel
|
|
9079
|
+
*/
|
|
9080
|
+
export interface LandingModel {
|
|
9081
|
+
/**
|
|
9082
|
+
*
|
|
9083
|
+
* @type {string}
|
|
9084
|
+
* @memberof LandingModel
|
|
9085
|
+
*/
|
|
9086
|
+
'id'?: string;
|
|
9087
|
+
/**
|
|
9088
|
+
*
|
|
9089
|
+
* @type {string}
|
|
9090
|
+
* @memberof LandingModel
|
|
9091
|
+
*/
|
|
9092
|
+
'languageCode'?: string | null;
|
|
9093
|
+
/**
|
|
9094
|
+
*
|
|
9095
|
+
* @type {string}
|
|
9096
|
+
* @memberof LandingModel
|
|
9097
|
+
*/
|
|
9098
|
+
'name'?: string | null;
|
|
9099
|
+
/**
|
|
9100
|
+
*
|
|
9101
|
+
* @type {string}
|
|
9102
|
+
* @memberof LandingModel
|
|
9103
|
+
*/
|
|
9104
|
+
'slug'?: string | null;
|
|
9105
|
+
/**
|
|
9106
|
+
*
|
|
9107
|
+
* @type {boolean}
|
|
9108
|
+
* @memberof LandingModel
|
|
9109
|
+
*/
|
|
9110
|
+
'confirmed'?: boolean;
|
|
9111
|
+
/**
|
|
9112
|
+
*
|
|
9113
|
+
* @type {number}
|
|
9114
|
+
* @memberof LandingModel
|
|
9115
|
+
*/
|
|
9116
|
+
'order'?: number;
|
|
9117
|
+
/**
|
|
9118
|
+
*
|
|
9119
|
+
* @type {string}
|
|
9120
|
+
* @memberof LandingModel
|
|
9121
|
+
*/
|
|
9122
|
+
'photo'?: string | null;
|
|
9123
|
+
/**
|
|
9124
|
+
*
|
|
9125
|
+
* @type {string}
|
|
9126
|
+
* @memberof LandingModel
|
|
9127
|
+
*/
|
|
9128
|
+
'photoThumbnail'?: string | null;
|
|
9129
|
+
/**
|
|
9130
|
+
*
|
|
9131
|
+
* @type {AuditableEntity}
|
|
9132
|
+
* @memberof LandingModel
|
|
9133
|
+
*/
|
|
9134
|
+
'auditableEntity'?: AuditableEntity;
|
|
9135
|
+
/**
|
|
9136
|
+
*
|
|
9137
|
+
* @type {string}
|
|
9138
|
+
* @memberof LandingModel
|
|
9139
|
+
*/
|
|
9140
|
+
'description'?: string | null;
|
|
9141
|
+
/**
|
|
9142
|
+
*
|
|
9143
|
+
* @type {string}
|
|
9144
|
+
* @memberof LandingModel
|
|
9145
|
+
*/
|
|
9146
|
+
'overview'?: string | null;
|
|
9147
|
+
/**
|
|
9148
|
+
*
|
|
9149
|
+
* @type {string}
|
|
9150
|
+
* @memberof LandingModel
|
|
9151
|
+
*/
|
|
9152
|
+
'content'?: string | null;
|
|
9153
|
+
/**
|
|
9154
|
+
*
|
|
9155
|
+
* @type {string}
|
|
9156
|
+
* @memberof LandingModel
|
|
9157
|
+
*/
|
|
9158
|
+
'hospitalId'?: string;
|
|
9159
|
+
/**
|
|
9160
|
+
*
|
|
9161
|
+
* @type {string}
|
|
9162
|
+
* @memberof LandingModel
|
|
9163
|
+
*/
|
|
9164
|
+
'hospitalName'?: string | null;
|
|
9165
|
+
/**
|
|
9166
|
+
*
|
|
9167
|
+
* @type {string}
|
|
9168
|
+
* @memberof LandingModel
|
|
9169
|
+
*/
|
|
9170
|
+
'hospitalSlug'?: string | null;
|
|
9171
|
+
/**
|
|
9172
|
+
*
|
|
9173
|
+
* @type {string}
|
|
9174
|
+
* @memberof LandingModel
|
|
9175
|
+
*/
|
|
9176
|
+
'customStyle'?: string | null;
|
|
9177
|
+
/**
|
|
9178
|
+
*
|
|
9179
|
+
* @type {Array<LocalizedUrlModel>}
|
|
9180
|
+
* @memberof LandingModel
|
|
9181
|
+
*/
|
|
9182
|
+
'localizedUrls'?: Array<LocalizedUrlModel> | null;
|
|
9183
|
+
/**
|
|
9184
|
+
*
|
|
9185
|
+
* @type {Array<MediaModel>}
|
|
9186
|
+
* @memberof LandingModel
|
|
9187
|
+
*/
|
|
9188
|
+
'medias'?: Array<MediaModel> | null;
|
|
9189
|
+
}
|
|
9190
|
+
/**
|
|
9191
|
+
*
|
|
9192
|
+
* @export
|
|
9193
|
+
* @interface LandingsModel
|
|
9194
|
+
*/
|
|
9195
|
+
export interface LandingsModel {
|
|
9196
|
+
/**
|
|
9197
|
+
*
|
|
9198
|
+
* @type {Array<LandingItemModel>}
|
|
9199
|
+
* @memberof LandingsModel
|
|
9200
|
+
*/
|
|
9201
|
+
'items'?: Array<LandingItemModel> | null;
|
|
9202
|
+
/**
|
|
9203
|
+
*
|
|
9204
|
+
* @type {PagedListMetaData}
|
|
9205
|
+
* @memberof LandingsModel
|
|
9206
|
+
*/
|
|
9207
|
+
'metaData'?: PagedListMetaData;
|
|
9208
|
+
}
|
|
8879
9209
|
/**
|
|
8880
9210
|
*
|
|
8881
9211
|
* @export
|
|
@@ -9709,6 +10039,31 @@ export interface MembershipsModel {
|
|
|
9709
10039
|
*/
|
|
9710
10040
|
'metaData'?: PagedListMetaData;
|
|
9711
10041
|
}
|
|
10042
|
+
/**
|
|
10043
|
+
*
|
|
10044
|
+
* @export
|
|
10045
|
+
* @interface Metadata
|
|
10046
|
+
*/
|
|
10047
|
+
export interface Metadata {
|
|
10048
|
+
/**
|
|
10049
|
+
*
|
|
10050
|
+
* @type {string}
|
|
10051
|
+
* @memberof Metadata
|
|
10052
|
+
*/
|
|
10053
|
+
'location'?: string | null;
|
|
10054
|
+
/**
|
|
10055
|
+
*
|
|
10056
|
+
* @type {string}
|
|
10057
|
+
* @memberof Metadata
|
|
10058
|
+
*/
|
|
10059
|
+
'marriage'?: string | null;
|
|
10060
|
+
/**
|
|
10061
|
+
*
|
|
10062
|
+
* @type {string}
|
|
10063
|
+
* @memberof Metadata
|
|
10064
|
+
*/
|
|
10065
|
+
'hasSomeone'?: string | null;
|
|
10066
|
+
}
|
|
9712
10067
|
/**
|
|
9713
10068
|
*
|
|
9714
10069
|
* @export
|
|
@@ -10526,6 +10881,225 @@ export enum SearchIndexType {
|
|
|
10526
10881
|
Services = 'services'
|
|
10527
10882
|
}
|
|
10528
10883
|
|
|
10884
|
+
/**
|
|
10885
|
+
*
|
|
10886
|
+
* @export
|
|
10887
|
+
* @interface SendBirdGroupChannelMember
|
|
10888
|
+
*/
|
|
10889
|
+
export interface SendBirdGroupChannelMember {
|
|
10890
|
+
/**
|
|
10891
|
+
*
|
|
10892
|
+
* @type {string}
|
|
10893
|
+
* @memberof SendBirdGroupChannelMember
|
|
10894
|
+
*/
|
|
10895
|
+
'user_id'?: string | null;
|
|
10896
|
+
/**
|
|
10897
|
+
*
|
|
10898
|
+
* @type {string}
|
|
10899
|
+
* @memberof SendBirdGroupChannelMember
|
|
10900
|
+
*/
|
|
10901
|
+
'nickname'?: string | null;
|
|
10902
|
+
/**
|
|
10903
|
+
*
|
|
10904
|
+
* @type {string}
|
|
10905
|
+
* @memberof SendBirdGroupChannelMember
|
|
10906
|
+
*/
|
|
10907
|
+
'profile_url'?: string | null;
|
|
10908
|
+
/**
|
|
10909
|
+
*
|
|
10910
|
+
* @type {boolean}
|
|
10911
|
+
* @memberof SendBirdGroupChannelMember
|
|
10912
|
+
*/
|
|
10913
|
+
'is_active'?: boolean;
|
|
10914
|
+
/**
|
|
10915
|
+
*
|
|
10916
|
+
* @type {boolean}
|
|
10917
|
+
* @memberof SendBirdGroupChannelMember
|
|
10918
|
+
*/
|
|
10919
|
+
'is_online'?: boolean;
|
|
10920
|
+
/**
|
|
10921
|
+
*
|
|
10922
|
+
* @type {Array<string>}
|
|
10923
|
+
* @memberof SendBirdGroupChannelMember
|
|
10924
|
+
*/
|
|
10925
|
+
'friend_discovery_key'?: Array<string> | null;
|
|
10926
|
+
/**
|
|
10927
|
+
*
|
|
10928
|
+
* @type {number}
|
|
10929
|
+
* @memberof SendBirdGroupChannelMember
|
|
10930
|
+
*/
|
|
10931
|
+
'last_seen_at'?: number;
|
|
10932
|
+
/**
|
|
10933
|
+
*
|
|
10934
|
+
* @type {string}
|
|
10935
|
+
* @memberof SendBirdGroupChannelMember
|
|
10936
|
+
*/
|
|
10937
|
+
'state'?: string | null;
|
|
10938
|
+
/**
|
|
10939
|
+
*
|
|
10940
|
+
* @type {string}
|
|
10941
|
+
* @memberof SendBirdGroupChannelMember
|
|
10942
|
+
*/
|
|
10943
|
+
'role'?: string | null;
|
|
10944
|
+
/**
|
|
10945
|
+
*
|
|
10946
|
+
* @type {Metadata}
|
|
10947
|
+
* @memberof SendBirdGroupChannelMember
|
|
10948
|
+
*/
|
|
10949
|
+
'metadata'?: Metadata;
|
|
10950
|
+
}
|
|
10951
|
+
/**
|
|
10952
|
+
*
|
|
10953
|
+
* @export
|
|
10954
|
+
* @interface SendBirdGroupChannelModel
|
|
10955
|
+
*/
|
|
10956
|
+
export interface SendBirdGroupChannelModel {
|
|
10957
|
+
/**
|
|
10958
|
+
*
|
|
10959
|
+
* @type {string}
|
|
10960
|
+
* @memberof SendBirdGroupChannelModel
|
|
10961
|
+
*/
|
|
10962
|
+
'name'?: string | null;
|
|
10963
|
+
/**
|
|
10964
|
+
*
|
|
10965
|
+
* @type {string}
|
|
10966
|
+
* @memberof SendBirdGroupChannelModel
|
|
10967
|
+
*/
|
|
10968
|
+
'channel_url'?: string | null;
|
|
10969
|
+
/**
|
|
10970
|
+
*
|
|
10971
|
+
* @type {string}
|
|
10972
|
+
* @memberof SendBirdGroupChannelModel
|
|
10973
|
+
*/
|
|
10974
|
+
'cover_url'?: string | null;
|
|
10975
|
+
/**
|
|
10976
|
+
*
|
|
10977
|
+
* @type {string}
|
|
10978
|
+
* @memberof SendBirdGroupChannelModel
|
|
10979
|
+
*/
|
|
10980
|
+
'custom_type'?: string | null;
|
|
10981
|
+
/**
|
|
10982
|
+
*
|
|
10983
|
+
* @type {number}
|
|
10984
|
+
* @memberof SendBirdGroupChannelModel
|
|
10985
|
+
*/
|
|
10986
|
+
'unread_message_count'?: number;
|
|
10987
|
+
/**
|
|
10988
|
+
*
|
|
10989
|
+
* @type {string}
|
|
10990
|
+
* @memberof SendBirdGroupChannelModel
|
|
10991
|
+
*/
|
|
10992
|
+
'data'?: string | null;
|
|
10993
|
+
/**
|
|
10994
|
+
*
|
|
10995
|
+
* @type {boolean}
|
|
10996
|
+
* @memberof SendBirdGroupChannelModel
|
|
10997
|
+
*/
|
|
10998
|
+
'is_distinct'?: boolean;
|
|
10999
|
+
/**
|
|
11000
|
+
*
|
|
11001
|
+
* @type {boolean}
|
|
11002
|
+
* @memberof SendBirdGroupChannelModel
|
|
11003
|
+
*/
|
|
11004
|
+
'is_public'?: boolean;
|
|
11005
|
+
/**
|
|
11006
|
+
*
|
|
11007
|
+
* @type {boolean}
|
|
11008
|
+
* @memberof SendBirdGroupChannelModel
|
|
11009
|
+
*/
|
|
11010
|
+
'is_super'?: boolean;
|
|
11011
|
+
/**
|
|
11012
|
+
*
|
|
11013
|
+
* @type {boolean}
|
|
11014
|
+
* @memberof SendBirdGroupChannelModel
|
|
11015
|
+
*/
|
|
11016
|
+
'is_ephemeral'?: boolean;
|
|
11017
|
+
/**
|
|
11018
|
+
*
|
|
11019
|
+
* @type {boolean}
|
|
11020
|
+
* @memberof SendBirdGroupChannelModel
|
|
11021
|
+
*/
|
|
11022
|
+
'is_access_code_required'?: boolean;
|
|
11023
|
+
/**
|
|
11024
|
+
*
|
|
11025
|
+
* @type {string}
|
|
11026
|
+
* @memberof SendBirdGroupChannelModel
|
|
11027
|
+
*/
|
|
11028
|
+
'hidden_state'?: string | null;
|
|
11029
|
+
/**
|
|
11030
|
+
*
|
|
11031
|
+
* @type {number}
|
|
11032
|
+
* @memberof SendBirdGroupChannelModel
|
|
11033
|
+
*/
|
|
11034
|
+
'member_count'?: number;
|
|
11035
|
+
/**
|
|
11036
|
+
*
|
|
11037
|
+
* @type {number}
|
|
11038
|
+
* @memberof SendBirdGroupChannelModel
|
|
11039
|
+
*/
|
|
11040
|
+
'joined_member_count'?: number;
|
|
11041
|
+
/**
|
|
11042
|
+
*
|
|
11043
|
+
* @type {Array<SendBirdGroupChannelMember>}
|
|
11044
|
+
* @memberof SendBirdGroupChannelModel
|
|
11045
|
+
*/
|
|
11046
|
+
'members'?: Array<SendBirdGroupChannelMember> | null;
|
|
11047
|
+
/**
|
|
11048
|
+
*
|
|
11049
|
+
* @type {Array<SendBirdGroupChannelrOperator>}
|
|
11050
|
+
* @memberof SendBirdGroupChannelModel
|
|
11051
|
+
*/
|
|
11052
|
+
'operators'?: Array<SendBirdGroupChannelrOperator> | null;
|
|
11053
|
+
/**
|
|
11054
|
+
*
|
|
11055
|
+
* @type {number}
|
|
11056
|
+
* @memberof SendBirdGroupChannelModel
|
|
11057
|
+
*/
|
|
11058
|
+
'max_length_message'?: number;
|
|
11059
|
+
/**
|
|
11060
|
+
*
|
|
11061
|
+
* @type {AdminMessageModel}
|
|
11062
|
+
* @memberof SendBirdGroupChannelModel
|
|
11063
|
+
*/
|
|
11064
|
+
'last_message'?: AdminMessageModel;
|
|
11065
|
+
/**
|
|
11066
|
+
*
|
|
11067
|
+
* @type {number}
|
|
11068
|
+
* @memberof SendBirdGroupChannelModel
|
|
11069
|
+
*/
|
|
11070
|
+
'created_at'?: number;
|
|
11071
|
+
/**
|
|
11072
|
+
*
|
|
11073
|
+
* @type {boolean}
|
|
11074
|
+
* @memberof SendBirdGroupChannelModel
|
|
11075
|
+
*/
|
|
11076
|
+
'freeze'?: boolean;
|
|
11077
|
+
}
|
|
11078
|
+
/**
|
|
11079
|
+
*
|
|
11080
|
+
* @export
|
|
11081
|
+
* @interface SendBirdGroupChannelrOperator
|
|
11082
|
+
*/
|
|
11083
|
+
export interface SendBirdGroupChannelrOperator {
|
|
11084
|
+
/**
|
|
11085
|
+
*
|
|
11086
|
+
* @type {string}
|
|
11087
|
+
* @memberof SendBirdGroupChannelrOperator
|
|
11088
|
+
*/
|
|
11089
|
+
'user_id'?: string | null;
|
|
11090
|
+
/**
|
|
11091
|
+
*
|
|
11092
|
+
* @type {string}
|
|
11093
|
+
* @memberof SendBirdGroupChannelrOperator
|
|
11094
|
+
*/
|
|
11095
|
+
'nickname'?: string | null;
|
|
11096
|
+
/**
|
|
11097
|
+
*
|
|
11098
|
+
* @type {string}
|
|
11099
|
+
* @memberof SendBirdGroupChannelrOperator
|
|
11100
|
+
*/
|
|
11101
|
+
'profile_url'?: string | null;
|
|
11102
|
+
}
|
|
10529
11103
|
/**
|
|
10530
11104
|
*
|
|
10531
11105
|
* @export
|
|
@@ -13352,6 +13926,79 @@ export interface UpdateHospitalWorkingDayCommand {
|
|
|
13352
13926
|
*/
|
|
13353
13927
|
'checkHoliday'?: boolean;
|
|
13354
13928
|
}
|
|
13929
|
+
/**
|
|
13930
|
+
*
|
|
13931
|
+
* @export
|
|
13932
|
+
* @interface UpdateLandingCommand
|
|
13933
|
+
*/
|
|
13934
|
+
export interface UpdateLandingCommand {
|
|
13935
|
+
/**
|
|
13936
|
+
*
|
|
13937
|
+
* @type {string}
|
|
13938
|
+
* @memberof UpdateLandingCommand
|
|
13939
|
+
*/
|
|
13940
|
+
'languageCode'?: string | null;
|
|
13941
|
+
/**
|
|
13942
|
+
*
|
|
13943
|
+
* @type {string}
|
|
13944
|
+
* @memberof UpdateLandingCommand
|
|
13945
|
+
*/
|
|
13946
|
+
'name'?: string | null;
|
|
13947
|
+
/**
|
|
13948
|
+
*
|
|
13949
|
+
* @type {string}
|
|
13950
|
+
* @memberof UpdateLandingCommand
|
|
13951
|
+
*/
|
|
13952
|
+
'slug'?: string | null;
|
|
13953
|
+
/**
|
|
13954
|
+
*
|
|
13955
|
+
* @type {string}
|
|
13956
|
+
* @memberof UpdateLandingCommand
|
|
13957
|
+
*/
|
|
13958
|
+
'description'?: string | null;
|
|
13959
|
+
/**
|
|
13960
|
+
*
|
|
13961
|
+
* @type {string}
|
|
13962
|
+
* @memberof UpdateLandingCommand
|
|
13963
|
+
*/
|
|
13964
|
+
'content'?: string | null;
|
|
13965
|
+
/**
|
|
13966
|
+
*
|
|
13967
|
+
* @type {string}
|
|
13968
|
+
* @memberof UpdateLandingCommand
|
|
13969
|
+
*/
|
|
13970
|
+
'customStyle'?: string | null;
|
|
13971
|
+
/**
|
|
13972
|
+
*
|
|
13973
|
+
* @type {number}
|
|
13974
|
+
* @memberof UpdateLandingCommand
|
|
13975
|
+
*/
|
|
13976
|
+
'order'?: number;
|
|
13977
|
+
/**
|
|
13978
|
+
*
|
|
13979
|
+
* @type {string}
|
|
13980
|
+
* @memberof UpdateLandingCommand
|
|
13981
|
+
*/
|
|
13982
|
+
'photo'?: string | null;
|
|
13983
|
+
/**
|
|
13984
|
+
*
|
|
13985
|
+
* @type {string}
|
|
13986
|
+
* @memberof UpdateLandingCommand
|
|
13987
|
+
*/
|
|
13988
|
+
'photoThumbnail'?: string | null;
|
|
13989
|
+
/**
|
|
13990
|
+
*
|
|
13991
|
+
* @type {boolean}
|
|
13992
|
+
* @memberof UpdateLandingCommand
|
|
13993
|
+
*/
|
|
13994
|
+
'confirmed'?: boolean;
|
|
13995
|
+
/**
|
|
13996
|
+
*
|
|
13997
|
+
* @type {Array<MediaModel>}
|
|
13998
|
+
* @memberof UpdateLandingCommand
|
|
13999
|
+
*/
|
|
14000
|
+
'medias'?: Array<MediaModel> | null;
|
|
14001
|
+
}
|
|
13355
14002
|
/**
|
|
13356
14003
|
*
|
|
13357
14004
|
* @export
|
|
@@ -32075,6 +32722,122 @@ export class FaqsApi extends BaseAPI {
|
|
|
32075
32722
|
}
|
|
32076
32723
|
|
|
32077
32724
|
|
|
32725
|
+
/**
|
|
32726
|
+
* GroupChannelsApi - axios parameter creator
|
|
32727
|
+
* @export
|
|
32728
|
+
*/
|
|
32729
|
+
export const GroupChannelsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32730
|
+
return {
|
|
32731
|
+
/**
|
|
32732
|
+
*
|
|
32733
|
+
* @summary invite user to group channel
|
|
32734
|
+
* @param {string} channelUrl
|
|
32735
|
+
* @param {InviteSendBirdGroupChannelCommand} [inviteSendBirdGroupChannelCommand]
|
|
32736
|
+
* @param {*} [options] Override http request option.
|
|
32737
|
+
* @throws {RequiredError}
|
|
32738
|
+
*/
|
|
32739
|
+
apiV1GroupchannelsChannelUrlInvitePost: async (channelUrl: string, inviteSendBirdGroupChannelCommand?: InviteSendBirdGroupChannelCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32740
|
+
// verify required parameter 'channelUrl' is not null or undefined
|
|
32741
|
+
assertParamExists('apiV1GroupchannelsChannelUrlInvitePost', 'channelUrl', channelUrl)
|
|
32742
|
+
const localVarPath = `/api/v1/groupchannels/{channelUrl}/invite`
|
|
32743
|
+
.replace(`{${"channelUrl"}}`, encodeURIComponent(String(channelUrl)));
|
|
32744
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32745
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32746
|
+
let baseOptions;
|
|
32747
|
+
if (configuration) {
|
|
32748
|
+
baseOptions = configuration.baseOptions;
|
|
32749
|
+
}
|
|
32750
|
+
|
|
32751
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
32752
|
+
const localVarHeaderParameter = {} as any;
|
|
32753
|
+
const localVarQueryParameter = {} as any;
|
|
32754
|
+
|
|
32755
|
+
// authentication oauth2 required
|
|
32756
|
+
// oauth required
|
|
32757
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
32758
|
+
|
|
32759
|
+
|
|
32760
|
+
|
|
32761
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
32762
|
+
|
|
32763
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32764
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32765
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
32766
|
+
localVarRequestOptions.data = serializeDataIfNeeded(inviteSendBirdGroupChannelCommand, localVarRequestOptions, configuration)
|
|
32767
|
+
|
|
32768
|
+
return {
|
|
32769
|
+
url: toPathString(localVarUrlObj),
|
|
32770
|
+
options: localVarRequestOptions,
|
|
32771
|
+
};
|
|
32772
|
+
},
|
|
32773
|
+
}
|
|
32774
|
+
};
|
|
32775
|
+
|
|
32776
|
+
/**
|
|
32777
|
+
* GroupChannelsApi - functional programming interface
|
|
32778
|
+
* @export
|
|
32779
|
+
*/
|
|
32780
|
+
export const GroupChannelsApiFp = function(configuration?: Configuration) {
|
|
32781
|
+
const localVarAxiosParamCreator = GroupChannelsApiAxiosParamCreator(configuration)
|
|
32782
|
+
return {
|
|
32783
|
+
/**
|
|
32784
|
+
*
|
|
32785
|
+
* @summary invite user to group channel
|
|
32786
|
+
* @param {string} channelUrl
|
|
32787
|
+
* @param {InviteSendBirdGroupChannelCommand} [inviteSendBirdGroupChannelCommand]
|
|
32788
|
+
* @param {*} [options] Override http request option.
|
|
32789
|
+
* @throws {RequiredError}
|
|
32790
|
+
*/
|
|
32791
|
+
async apiV1GroupchannelsChannelUrlInvitePost(channelUrl: string, inviteSendBirdGroupChannelCommand?: InviteSendBirdGroupChannelCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SendBirdGroupChannelModel>> {
|
|
32792
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1GroupchannelsChannelUrlInvitePost(channelUrl, inviteSendBirdGroupChannelCommand, options);
|
|
32793
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
32794
|
+
},
|
|
32795
|
+
}
|
|
32796
|
+
};
|
|
32797
|
+
|
|
32798
|
+
/**
|
|
32799
|
+
* GroupChannelsApi - factory interface
|
|
32800
|
+
* @export
|
|
32801
|
+
*/
|
|
32802
|
+
export const GroupChannelsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
32803
|
+
const localVarFp = GroupChannelsApiFp(configuration)
|
|
32804
|
+
return {
|
|
32805
|
+
/**
|
|
32806
|
+
*
|
|
32807
|
+
* @summary invite user to group channel
|
|
32808
|
+
* @param {string} channelUrl
|
|
32809
|
+
* @param {InviteSendBirdGroupChannelCommand} [inviteSendBirdGroupChannelCommand]
|
|
32810
|
+
* @param {*} [options] Override http request option.
|
|
32811
|
+
* @throws {RequiredError}
|
|
32812
|
+
*/
|
|
32813
|
+
apiV1GroupchannelsChannelUrlInvitePost(channelUrl: string, inviteSendBirdGroupChannelCommand?: InviteSendBirdGroupChannelCommand, options?: any): AxiosPromise<SendBirdGroupChannelModel> {
|
|
32814
|
+
return localVarFp.apiV1GroupchannelsChannelUrlInvitePost(channelUrl, inviteSendBirdGroupChannelCommand, options).then((request) => request(axios, basePath));
|
|
32815
|
+
},
|
|
32816
|
+
};
|
|
32817
|
+
};
|
|
32818
|
+
|
|
32819
|
+
/**
|
|
32820
|
+
* GroupChannelsApi - object-oriented interface
|
|
32821
|
+
* @export
|
|
32822
|
+
* @class GroupChannelsApi
|
|
32823
|
+
* @extends {BaseAPI}
|
|
32824
|
+
*/
|
|
32825
|
+
export class GroupChannelsApi extends BaseAPI {
|
|
32826
|
+
/**
|
|
32827
|
+
*
|
|
32828
|
+
* @summary invite user to group channel
|
|
32829
|
+
* @param {string} channelUrl
|
|
32830
|
+
* @param {InviteSendBirdGroupChannelCommand} [inviteSendBirdGroupChannelCommand]
|
|
32831
|
+
* @param {*} [options] Override http request option.
|
|
32832
|
+
* @throws {RequiredError}
|
|
32833
|
+
* @memberof GroupChannelsApi
|
|
32834
|
+
*/
|
|
32835
|
+
public apiV1GroupchannelsChannelUrlInvitePost(channelUrl: string, inviteSendBirdGroupChannelCommand?: InviteSendBirdGroupChannelCommand, options?: AxiosRequestConfig) {
|
|
32836
|
+
return GroupChannelsApiFp(this.configuration).apiV1GroupchannelsChannelUrlInvitePost(channelUrl, inviteSendBirdGroupChannelCommand, options).then((request) => request(this.axios, this.basePath));
|
|
32837
|
+
}
|
|
32838
|
+
}
|
|
32839
|
+
|
|
32840
|
+
|
|
32078
32841
|
/**
|
|
32079
32842
|
* HospitalsApi - axios parameter creator
|
|
32080
32843
|
* @export
|
|
@@ -33180,7 +33943,297 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
33180
33943
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33181
33944
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33182
33945
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
33183
|
-
localVarRequestOptions.data = serializeDataIfNeeded(createHospitalEvaluationCommand, localVarRequestOptions, configuration)
|
|
33946
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createHospitalEvaluationCommand, localVarRequestOptions, configuration)
|
|
33947
|
+
|
|
33948
|
+
return {
|
|
33949
|
+
url: toPathString(localVarUrlObj),
|
|
33950
|
+
options: localVarRequestOptions,
|
|
33951
|
+
};
|
|
33952
|
+
},
|
|
33953
|
+
/**
|
|
33954
|
+
*
|
|
33955
|
+
* @summary Get Hospital.
|
|
33956
|
+
* @param {string} hospitalId
|
|
33957
|
+
* @param {string} [languageCode]
|
|
33958
|
+
* @param {boolean} [returnDefaultValue]
|
|
33959
|
+
* @param {*} [options] Override http request option.
|
|
33960
|
+
* @throws {RequiredError}
|
|
33961
|
+
*/
|
|
33962
|
+
apiV1HospitalsHospitalIdGet: async (hospitalId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33963
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
33964
|
+
assertParamExists('apiV1HospitalsHospitalIdGet', 'hospitalId', hospitalId)
|
|
33965
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}`
|
|
33966
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
33967
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33968
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33969
|
+
let baseOptions;
|
|
33970
|
+
if (configuration) {
|
|
33971
|
+
baseOptions = configuration.baseOptions;
|
|
33972
|
+
}
|
|
33973
|
+
|
|
33974
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
33975
|
+
const localVarHeaderParameter = {} as any;
|
|
33976
|
+
const localVarQueryParameter = {} as any;
|
|
33977
|
+
|
|
33978
|
+
// authentication oauth2 required
|
|
33979
|
+
// oauth required
|
|
33980
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
33981
|
+
|
|
33982
|
+
if (languageCode !== undefined) {
|
|
33983
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
33984
|
+
}
|
|
33985
|
+
|
|
33986
|
+
if (returnDefaultValue !== undefined) {
|
|
33987
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
33988
|
+
}
|
|
33989
|
+
|
|
33990
|
+
|
|
33991
|
+
|
|
33992
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33993
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33994
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
33995
|
+
|
|
33996
|
+
return {
|
|
33997
|
+
url: toPathString(localVarUrlObj),
|
|
33998
|
+
options: localVarRequestOptions,
|
|
33999
|
+
};
|
|
34000
|
+
},
|
|
34001
|
+
/**
|
|
34002
|
+
*
|
|
34003
|
+
* @summary Get all HospitalHandles.
|
|
34004
|
+
* @param {string} hospitalId
|
|
34005
|
+
* @param {string} [id]
|
|
34006
|
+
* @param {SnsType} [snsType]
|
|
34007
|
+
* @param {string} [handle]
|
|
34008
|
+
* @param {number} [page]
|
|
34009
|
+
* @param {number} [limit]
|
|
34010
|
+
* @param {Date} [lastRetrieved]
|
|
34011
|
+
* @param {*} [options] Override http request option.
|
|
34012
|
+
* @throws {RequiredError}
|
|
34013
|
+
*/
|
|
34014
|
+
apiV1HospitalsHospitalIdHandlesGet: async (hospitalId: string, id?: string, snsType?: SnsType, handle?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34015
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
34016
|
+
assertParamExists('apiV1HospitalsHospitalIdHandlesGet', 'hospitalId', hospitalId)
|
|
34017
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/handles`
|
|
34018
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
34019
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34020
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34021
|
+
let baseOptions;
|
|
34022
|
+
if (configuration) {
|
|
34023
|
+
baseOptions = configuration.baseOptions;
|
|
34024
|
+
}
|
|
34025
|
+
|
|
34026
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
34027
|
+
const localVarHeaderParameter = {} as any;
|
|
34028
|
+
const localVarQueryParameter = {} as any;
|
|
34029
|
+
|
|
34030
|
+
// authentication oauth2 required
|
|
34031
|
+
// oauth required
|
|
34032
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
34033
|
+
|
|
34034
|
+
if (id !== undefined) {
|
|
34035
|
+
localVarQueryParameter['Id'] = id;
|
|
34036
|
+
}
|
|
34037
|
+
|
|
34038
|
+
if (snsType !== undefined) {
|
|
34039
|
+
localVarQueryParameter['SnsType'] = snsType;
|
|
34040
|
+
}
|
|
34041
|
+
|
|
34042
|
+
if (handle !== undefined) {
|
|
34043
|
+
localVarQueryParameter['Handle'] = handle;
|
|
34044
|
+
}
|
|
34045
|
+
|
|
34046
|
+
if (page !== undefined) {
|
|
34047
|
+
localVarQueryParameter['page'] = page;
|
|
34048
|
+
}
|
|
34049
|
+
|
|
34050
|
+
if (limit !== undefined) {
|
|
34051
|
+
localVarQueryParameter['limit'] = limit;
|
|
34052
|
+
}
|
|
34053
|
+
|
|
34054
|
+
if (lastRetrieved !== undefined) {
|
|
34055
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
34056
|
+
(lastRetrieved as any).toISOString() :
|
|
34057
|
+
lastRetrieved;
|
|
34058
|
+
}
|
|
34059
|
+
|
|
34060
|
+
|
|
34061
|
+
|
|
34062
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34063
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34064
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
34065
|
+
|
|
34066
|
+
return {
|
|
34067
|
+
url: toPathString(localVarUrlObj),
|
|
34068
|
+
options: localVarRequestOptions,
|
|
34069
|
+
};
|
|
34070
|
+
},
|
|
34071
|
+
/**
|
|
34072
|
+
*
|
|
34073
|
+
* @summary Delete HospitalHandle.
|
|
34074
|
+
* @param {string} hospitalId
|
|
34075
|
+
* @param {string} handleId
|
|
34076
|
+
* @param {*} [options] Override http request option.
|
|
34077
|
+
* @throws {RequiredError}
|
|
34078
|
+
*/
|
|
34079
|
+
apiV1HospitalsHospitalIdHandlesHandleIdDelete: async (hospitalId: string, handleId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34080
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
34081
|
+
assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdDelete', 'hospitalId', hospitalId)
|
|
34082
|
+
// verify required parameter 'handleId' is not null or undefined
|
|
34083
|
+
assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdDelete', 'handleId', handleId)
|
|
34084
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/handles/{handleId}`
|
|
34085
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
34086
|
+
.replace(`{${"handleId"}}`, encodeURIComponent(String(handleId)));
|
|
34087
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34088
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34089
|
+
let baseOptions;
|
|
34090
|
+
if (configuration) {
|
|
34091
|
+
baseOptions = configuration.baseOptions;
|
|
34092
|
+
}
|
|
34093
|
+
|
|
34094
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
34095
|
+
const localVarHeaderParameter = {} as any;
|
|
34096
|
+
const localVarQueryParameter = {} as any;
|
|
34097
|
+
|
|
34098
|
+
// authentication oauth2 required
|
|
34099
|
+
// oauth required
|
|
34100
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
34101
|
+
|
|
34102
|
+
|
|
34103
|
+
|
|
34104
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34105
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34106
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
34107
|
+
|
|
34108
|
+
return {
|
|
34109
|
+
url: toPathString(localVarUrlObj),
|
|
34110
|
+
options: localVarRequestOptions,
|
|
34111
|
+
};
|
|
34112
|
+
},
|
|
34113
|
+
/**
|
|
34114
|
+
*
|
|
34115
|
+
* @summary Get HospitalHandle.
|
|
34116
|
+
* @param {string} hospitalId
|
|
34117
|
+
* @param {string} handleId
|
|
34118
|
+
* @param {*} [options] Override http request option.
|
|
34119
|
+
* @throws {RequiredError}
|
|
34120
|
+
*/
|
|
34121
|
+
apiV1HospitalsHospitalIdHandlesHandleIdGet: async (hospitalId: string, handleId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34122
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
34123
|
+
assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdGet', 'hospitalId', hospitalId)
|
|
34124
|
+
// verify required parameter 'handleId' is not null or undefined
|
|
34125
|
+
assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdGet', 'handleId', handleId)
|
|
34126
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/handles/{handleId}`
|
|
34127
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
34128
|
+
.replace(`{${"handleId"}}`, encodeURIComponent(String(handleId)));
|
|
34129
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34130
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34131
|
+
let baseOptions;
|
|
34132
|
+
if (configuration) {
|
|
34133
|
+
baseOptions = configuration.baseOptions;
|
|
34134
|
+
}
|
|
34135
|
+
|
|
34136
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
34137
|
+
const localVarHeaderParameter = {} as any;
|
|
34138
|
+
const localVarQueryParameter = {} as any;
|
|
34139
|
+
|
|
34140
|
+
// authentication oauth2 required
|
|
34141
|
+
// oauth required
|
|
34142
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
34143
|
+
|
|
34144
|
+
|
|
34145
|
+
|
|
34146
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34147
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34148
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
34149
|
+
|
|
34150
|
+
return {
|
|
34151
|
+
url: toPathString(localVarUrlObj),
|
|
34152
|
+
options: localVarRequestOptions,
|
|
34153
|
+
};
|
|
34154
|
+
},
|
|
34155
|
+
/**
|
|
34156
|
+
*
|
|
34157
|
+
* @summary Update HospitalHandle.
|
|
34158
|
+
* @param {string} hospitalId
|
|
34159
|
+
* @param {string} handleId
|
|
34160
|
+
* @param {UpdateHospitalSnsHandleCommand} [updateHospitalSnsHandleCommand]
|
|
34161
|
+
* @param {*} [options] Override http request option.
|
|
34162
|
+
* @throws {RequiredError}
|
|
34163
|
+
*/
|
|
34164
|
+
apiV1HospitalsHospitalIdHandlesHandleIdPut: async (hospitalId: string, handleId: string, updateHospitalSnsHandleCommand?: UpdateHospitalSnsHandleCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34165
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
34166
|
+
assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdPut', 'hospitalId', hospitalId)
|
|
34167
|
+
// verify required parameter 'handleId' is not null or undefined
|
|
34168
|
+
assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdPut', 'handleId', handleId)
|
|
34169
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/handles/{handleId}`
|
|
34170
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
34171
|
+
.replace(`{${"handleId"}}`, encodeURIComponent(String(handleId)));
|
|
34172
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34173
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34174
|
+
let baseOptions;
|
|
34175
|
+
if (configuration) {
|
|
34176
|
+
baseOptions = configuration.baseOptions;
|
|
34177
|
+
}
|
|
34178
|
+
|
|
34179
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
34180
|
+
const localVarHeaderParameter = {} as any;
|
|
34181
|
+
const localVarQueryParameter = {} as any;
|
|
34182
|
+
|
|
34183
|
+
// authentication oauth2 required
|
|
34184
|
+
// oauth required
|
|
34185
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
34186
|
+
|
|
34187
|
+
|
|
34188
|
+
|
|
34189
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
34190
|
+
|
|
34191
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34192
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34193
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
34194
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalSnsHandleCommand, localVarRequestOptions, configuration)
|
|
34195
|
+
|
|
34196
|
+
return {
|
|
34197
|
+
url: toPathString(localVarUrlObj),
|
|
34198
|
+
options: localVarRequestOptions,
|
|
34199
|
+
};
|
|
34200
|
+
},
|
|
34201
|
+
/**
|
|
34202
|
+
*
|
|
34203
|
+
* @summary Get HospitalHandle.
|
|
34204
|
+
* @param {string} hospitalId
|
|
34205
|
+
* @param {CreateHospitalSnsHandleCommand} [createHospitalSnsHandleCommand]
|
|
34206
|
+
* @param {*} [options] Override http request option.
|
|
34207
|
+
* @throws {RequiredError}
|
|
34208
|
+
*/
|
|
34209
|
+
apiV1HospitalsHospitalIdHandlesPost: async (hospitalId: string, createHospitalSnsHandleCommand?: CreateHospitalSnsHandleCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34210
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
34211
|
+
assertParamExists('apiV1HospitalsHospitalIdHandlesPost', 'hospitalId', hospitalId)
|
|
34212
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/handles`
|
|
34213
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
34214
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34215
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34216
|
+
let baseOptions;
|
|
34217
|
+
if (configuration) {
|
|
34218
|
+
baseOptions = configuration.baseOptions;
|
|
34219
|
+
}
|
|
34220
|
+
|
|
34221
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
34222
|
+
const localVarHeaderParameter = {} as any;
|
|
34223
|
+
const localVarQueryParameter = {} as any;
|
|
34224
|
+
|
|
34225
|
+
// authentication oauth2 required
|
|
34226
|
+
// oauth required
|
|
34227
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
34228
|
+
|
|
34229
|
+
|
|
34230
|
+
|
|
34231
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
34232
|
+
|
|
34233
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34234
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34235
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
34236
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createHospitalSnsHandleCommand, localVarRequestOptions, configuration)
|
|
33184
34237
|
|
|
33185
34238
|
return {
|
|
33186
34239
|
url: toPathString(localVarUrlObj),
|
|
@@ -33189,17 +34242,22 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
33189
34242
|
},
|
|
33190
34243
|
/**
|
|
33191
34244
|
*
|
|
33192
|
-
* @summary Get
|
|
34245
|
+
* @summary Get all GetAllLandings.
|
|
33193
34246
|
* @param {string} hospitalId
|
|
34247
|
+
* @param {string} [name]
|
|
34248
|
+
* @param {string} [slug]
|
|
33194
34249
|
* @param {string} [languageCode]
|
|
33195
|
-
* @param {boolean} [
|
|
34250
|
+
* @param {boolean} [showHidden]
|
|
34251
|
+
* @param {number} [page]
|
|
34252
|
+
* @param {number} [limit]
|
|
34253
|
+
* @param {Date} [lastRetrieved]
|
|
33196
34254
|
* @param {*} [options] Override http request option.
|
|
33197
34255
|
* @throws {RequiredError}
|
|
33198
34256
|
*/
|
|
33199
|
-
|
|
34257
|
+
apiV1HospitalsHospitalIdLandingsGet: async (hospitalId: string, name?: string, slug?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33200
34258
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
33201
|
-
assertParamExists('
|
|
33202
|
-
const localVarPath = `/api/v1/hospitals/{hospitalId}`
|
|
34259
|
+
assertParamExists('apiV1HospitalsHospitalIdLandingsGet', 'hospitalId', hospitalId)
|
|
34260
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/landings`
|
|
33203
34261
|
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
33204
34262
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33205
34263
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -33216,12 +34274,34 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
33216
34274
|
// oauth required
|
|
33217
34275
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
33218
34276
|
|
|
34277
|
+
if (name !== undefined) {
|
|
34278
|
+
localVarQueryParameter['Name'] = name;
|
|
34279
|
+
}
|
|
34280
|
+
|
|
34281
|
+
if (slug !== undefined) {
|
|
34282
|
+
localVarQueryParameter['Slug'] = slug;
|
|
34283
|
+
}
|
|
34284
|
+
|
|
33219
34285
|
if (languageCode !== undefined) {
|
|
33220
|
-
localVarQueryParameter['
|
|
34286
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
33221
34287
|
}
|
|
33222
34288
|
|
|
33223
|
-
if (
|
|
33224
|
-
localVarQueryParameter['
|
|
34289
|
+
if (showHidden !== undefined) {
|
|
34290
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
34291
|
+
}
|
|
34292
|
+
|
|
34293
|
+
if (page !== undefined) {
|
|
34294
|
+
localVarQueryParameter['page'] = page;
|
|
34295
|
+
}
|
|
34296
|
+
|
|
34297
|
+
if (limit !== undefined) {
|
|
34298
|
+
localVarQueryParameter['limit'] = limit;
|
|
34299
|
+
}
|
|
34300
|
+
|
|
34301
|
+
if (lastRetrieved !== undefined) {
|
|
34302
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
34303
|
+
(lastRetrieved as any).toISOString() :
|
|
34304
|
+
lastRetrieved;
|
|
33225
34305
|
}
|
|
33226
34306
|
|
|
33227
34307
|
|
|
@@ -33237,22 +34317,20 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
33237
34317
|
},
|
|
33238
34318
|
/**
|
|
33239
34319
|
*
|
|
33240
|
-
* @summary
|
|
34320
|
+
* @summary Delete Landing.
|
|
33241
34321
|
* @param {string} hospitalId
|
|
33242
|
-
* @param {string}
|
|
33243
|
-
* @param {SnsType} [snsType]
|
|
33244
|
-
* @param {string} [handle]
|
|
33245
|
-
* @param {number} [page]
|
|
33246
|
-
* @param {number} [limit]
|
|
33247
|
-
* @param {Date} [lastRetrieved]
|
|
34322
|
+
* @param {string} landingId
|
|
33248
34323
|
* @param {*} [options] Override http request option.
|
|
33249
34324
|
* @throws {RequiredError}
|
|
33250
34325
|
*/
|
|
33251
|
-
|
|
34326
|
+
apiV1HospitalsHospitalIdLandingsLandingIdDelete: async (hospitalId: string, landingId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33252
34327
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
33253
|
-
assertParamExists('
|
|
33254
|
-
|
|
33255
|
-
|
|
34328
|
+
assertParamExists('apiV1HospitalsHospitalIdLandingsLandingIdDelete', 'hospitalId', hospitalId)
|
|
34329
|
+
// verify required parameter 'landingId' is not null or undefined
|
|
34330
|
+
assertParamExists('apiV1HospitalsHospitalIdLandingsLandingIdDelete', 'landingId', landingId)
|
|
34331
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/landings/{landingId}`
|
|
34332
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
34333
|
+
.replace(`{${"landingId"}}`, encodeURIComponent(String(landingId)));
|
|
33256
34334
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33257
34335
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33258
34336
|
let baseOptions;
|
|
@@ -33260,7 +34338,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
33260
34338
|
baseOptions = configuration.baseOptions;
|
|
33261
34339
|
}
|
|
33262
34340
|
|
|
33263
|
-
const localVarRequestOptions = { method: '
|
|
34341
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
33264
34342
|
const localVarHeaderParameter = {} as any;
|
|
33265
34343
|
const localVarQueryParameter = {} as any;
|
|
33266
34344
|
|
|
@@ -33268,32 +34346,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
33268
34346
|
// oauth required
|
|
33269
34347
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
33270
34348
|
|
|
33271
|
-
if (id !== undefined) {
|
|
33272
|
-
localVarQueryParameter['Id'] = id;
|
|
33273
|
-
}
|
|
33274
|
-
|
|
33275
|
-
if (snsType !== undefined) {
|
|
33276
|
-
localVarQueryParameter['SnsType'] = snsType;
|
|
33277
|
-
}
|
|
33278
|
-
|
|
33279
|
-
if (handle !== undefined) {
|
|
33280
|
-
localVarQueryParameter['Handle'] = handle;
|
|
33281
|
-
}
|
|
33282
|
-
|
|
33283
|
-
if (page !== undefined) {
|
|
33284
|
-
localVarQueryParameter['page'] = page;
|
|
33285
|
-
}
|
|
33286
|
-
|
|
33287
|
-
if (limit !== undefined) {
|
|
33288
|
-
localVarQueryParameter['limit'] = limit;
|
|
33289
|
-
}
|
|
33290
|
-
|
|
33291
|
-
if (lastRetrieved !== undefined) {
|
|
33292
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
33293
|
-
(lastRetrieved as any).toISOString() :
|
|
33294
|
-
lastRetrieved;
|
|
33295
|
-
}
|
|
33296
|
-
|
|
33297
34349
|
|
|
33298
34350
|
|
|
33299
34351
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -33307,20 +34359,21 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
33307
34359
|
},
|
|
33308
34360
|
/**
|
|
33309
34361
|
*
|
|
33310
|
-
* @summary
|
|
34362
|
+
* @summary Get Landing
|
|
33311
34363
|
* @param {string} hospitalId
|
|
33312
|
-
* @param {string}
|
|
34364
|
+
* @param {string} landingId
|
|
34365
|
+
* @param {string} [languageCode]
|
|
33313
34366
|
* @param {*} [options] Override http request option.
|
|
33314
34367
|
* @throws {RequiredError}
|
|
33315
34368
|
*/
|
|
33316
|
-
|
|
34369
|
+
apiV1HospitalsHospitalIdLandingsLandingIdGet: async (hospitalId: string, landingId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33317
34370
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
33318
|
-
assertParamExists('
|
|
33319
|
-
// verify required parameter '
|
|
33320
|
-
assertParamExists('
|
|
33321
|
-
const localVarPath = `/api/v1/hospitals/{hospitalId}/
|
|
34371
|
+
assertParamExists('apiV1HospitalsHospitalIdLandingsLandingIdGet', 'hospitalId', hospitalId)
|
|
34372
|
+
// verify required parameter 'landingId' is not null or undefined
|
|
34373
|
+
assertParamExists('apiV1HospitalsHospitalIdLandingsLandingIdGet', 'landingId', landingId)
|
|
34374
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/landings/{landingId}`
|
|
33322
34375
|
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
33323
|
-
.replace(`{${"
|
|
34376
|
+
.replace(`{${"landingId"}}`, encodeURIComponent(String(landingId)));
|
|
33324
34377
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33325
34378
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33326
34379
|
let baseOptions;
|
|
@@ -33328,7 +34381,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
33328
34381
|
baseOptions = configuration.baseOptions;
|
|
33329
34382
|
}
|
|
33330
34383
|
|
|
33331
|
-
const localVarRequestOptions = { method: '
|
|
34384
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
33332
34385
|
const localVarHeaderParameter = {} as any;
|
|
33333
34386
|
const localVarQueryParameter = {} as any;
|
|
33334
34387
|
|
|
@@ -33336,6 +34389,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
33336
34389
|
// oauth required
|
|
33337
34390
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
33338
34391
|
|
|
34392
|
+
if (languageCode !== undefined) {
|
|
34393
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
34394
|
+
}
|
|
34395
|
+
|
|
33339
34396
|
|
|
33340
34397
|
|
|
33341
34398
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -33349,20 +34406,21 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
33349
34406
|
},
|
|
33350
34407
|
/**
|
|
33351
34408
|
*
|
|
33352
|
-
* @summary
|
|
34409
|
+
* @summary Update Landing
|
|
33353
34410
|
* @param {string} hospitalId
|
|
33354
|
-
* @param {string}
|
|
34411
|
+
* @param {string} landingId
|
|
34412
|
+
* @param {UpdateLandingCommand} [updateLandingCommand]
|
|
33355
34413
|
* @param {*} [options] Override http request option.
|
|
33356
34414
|
* @throws {RequiredError}
|
|
33357
34415
|
*/
|
|
33358
|
-
|
|
34416
|
+
apiV1HospitalsHospitalIdLandingsLandingIdPut: async (hospitalId: string, landingId: string, updateLandingCommand?: UpdateLandingCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33359
34417
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
33360
|
-
assertParamExists('
|
|
33361
|
-
// verify required parameter '
|
|
33362
|
-
assertParamExists('
|
|
33363
|
-
const localVarPath = `/api/v1/hospitals/{hospitalId}/
|
|
34418
|
+
assertParamExists('apiV1HospitalsHospitalIdLandingsLandingIdPut', 'hospitalId', hospitalId)
|
|
34419
|
+
// verify required parameter 'landingId' is not null or undefined
|
|
34420
|
+
assertParamExists('apiV1HospitalsHospitalIdLandingsLandingIdPut', 'landingId', landingId)
|
|
34421
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/landings/{landingId}`
|
|
33364
34422
|
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
33365
|
-
.replace(`{${"
|
|
34423
|
+
.replace(`{${"landingId"}}`, encodeURIComponent(String(landingId)));
|
|
33366
34424
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33367
34425
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33368
34426
|
let baseOptions;
|
|
@@ -33370,7 +34428,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
33370
34428
|
baseOptions = configuration.baseOptions;
|
|
33371
34429
|
}
|
|
33372
34430
|
|
|
33373
|
-
const localVarRequestOptions = { method: '
|
|
34431
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
33374
34432
|
const localVarHeaderParameter = {} as any;
|
|
33375
34433
|
const localVarQueryParameter = {} as any;
|
|
33376
34434
|
|
|
@@ -33380,9 +34438,12 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
33380
34438
|
|
|
33381
34439
|
|
|
33382
34440
|
|
|
34441
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
34442
|
+
|
|
33383
34443
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33384
34444
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33385
34445
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
34446
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateLandingCommand, localVarRequestOptions, configuration)
|
|
33386
34447
|
|
|
33387
34448
|
return {
|
|
33388
34449
|
url: toPathString(localVarUrlObj),
|
|
@@ -33391,21 +34452,20 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
33391
34452
|
},
|
|
33392
34453
|
/**
|
|
33393
34454
|
*
|
|
33394
|
-
* @summary
|
|
34455
|
+
* @summary Reactivate Landing
|
|
33395
34456
|
* @param {string} hospitalId
|
|
33396
|
-
* @param {string}
|
|
33397
|
-
* @param {UpdateHospitalSnsHandleCommand} [updateHospitalSnsHandleCommand]
|
|
34457
|
+
* @param {string} landingId
|
|
33398
34458
|
* @param {*} [options] Override http request option.
|
|
33399
34459
|
* @throws {RequiredError}
|
|
33400
34460
|
*/
|
|
33401
|
-
|
|
34461
|
+
apiV1HospitalsHospitalIdLandingsLandingIdReactivePut: async (hospitalId: string, landingId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33402
34462
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
33403
|
-
assertParamExists('
|
|
33404
|
-
// verify required parameter '
|
|
33405
|
-
assertParamExists('
|
|
33406
|
-
const localVarPath = `/api/v1/hospitals/{hospitalId}/
|
|
34463
|
+
assertParamExists('apiV1HospitalsHospitalIdLandingsLandingIdReactivePut', 'hospitalId', hospitalId)
|
|
34464
|
+
// verify required parameter 'landingId' is not null or undefined
|
|
34465
|
+
assertParamExists('apiV1HospitalsHospitalIdLandingsLandingIdReactivePut', 'landingId', landingId)
|
|
34466
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/landings/{landingId}/reactive`
|
|
33407
34467
|
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
33408
|
-
.replace(`{${"
|
|
34468
|
+
.replace(`{${"landingId"}}`, encodeURIComponent(String(landingId)));
|
|
33409
34469
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33410
34470
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33411
34471
|
let baseOptions;
|
|
@@ -33423,12 +34483,9 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
33423
34483
|
|
|
33424
34484
|
|
|
33425
34485
|
|
|
33426
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
33427
|
-
|
|
33428
34486
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33429
34487
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33430
34488
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
33431
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalSnsHandleCommand, localVarRequestOptions, configuration)
|
|
33432
34489
|
|
|
33433
34490
|
return {
|
|
33434
34491
|
url: toPathString(localVarUrlObj),
|
|
@@ -33437,16 +34494,16 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
33437
34494
|
},
|
|
33438
34495
|
/**
|
|
33439
34496
|
*
|
|
33440
|
-
* @summary
|
|
34497
|
+
* @summary Create HospitalLandings.
|
|
33441
34498
|
* @param {string} hospitalId
|
|
33442
|
-
* @param {
|
|
34499
|
+
* @param {CreateLandingCommand} [createLandingCommand]
|
|
33443
34500
|
* @param {*} [options] Override http request option.
|
|
33444
34501
|
* @throws {RequiredError}
|
|
33445
34502
|
*/
|
|
33446
|
-
|
|
34503
|
+
apiV1HospitalsHospitalIdLandingsPost: async (hospitalId: string, createLandingCommand?: CreateLandingCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33447
34504
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
33448
|
-
assertParamExists('
|
|
33449
|
-
const localVarPath = `/api/v1/hospitals/{hospitalId}/
|
|
34505
|
+
assertParamExists('apiV1HospitalsHospitalIdLandingsPost', 'hospitalId', hospitalId)
|
|
34506
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/landings`
|
|
33450
34507
|
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
33451
34508
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33452
34509
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -33470,7 +34527,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
33470
34527
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33471
34528
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33472
34529
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
33473
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
34530
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createLandingCommand, localVarRequestOptions, configuration)
|
|
33474
34531
|
|
|
33475
34532
|
return {
|
|
33476
34533
|
url: toPathString(localVarUrlObj),
|
|
@@ -36139,6 +37196,86 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
36139
37196
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdHandlesPost(hospitalId, createHospitalSnsHandleCommand, options);
|
|
36140
37197
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
36141
37198
|
},
|
|
37199
|
+
/**
|
|
37200
|
+
*
|
|
37201
|
+
* @summary Get all GetAllLandings.
|
|
37202
|
+
* @param {string} hospitalId
|
|
37203
|
+
* @param {string} [name]
|
|
37204
|
+
* @param {string} [slug]
|
|
37205
|
+
* @param {string} [languageCode]
|
|
37206
|
+
* @param {boolean} [showHidden]
|
|
37207
|
+
* @param {number} [page]
|
|
37208
|
+
* @param {number} [limit]
|
|
37209
|
+
* @param {Date} [lastRetrieved]
|
|
37210
|
+
* @param {*} [options] Override http request option.
|
|
37211
|
+
* @throws {RequiredError}
|
|
37212
|
+
*/
|
|
37213
|
+
async apiV1HospitalsHospitalIdLandingsGet(hospitalId: string, name?: string, slug?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LandingsModel>> {
|
|
37214
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdLandingsGet(hospitalId, name, slug, languageCode, showHidden, page, limit, lastRetrieved, options);
|
|
37215
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
37216
|
+
},
|
|
37217
|
+
/**
|
|
37218
|
+
*
|
|
37219
|
+
* @summary Delete Landing.
|
|
37220
|
+
* @param {string} hospitalId
|
|
37221
|
+
* @param {string} landingId
|
|
37222
|
+
* @param {*} [options] Override http request option.
|
|
37223
|
+
* @throws {RequiredError}
|
|
37224
|
+
*/
|
|
37225
|
+
async apiV1HospitalsHospitalIdLandingsLandingIdDelete(hospitalId: string, landingId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
37226
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdLandingsLandingIdDelete(hospitalId, landingId, options);
|
|
37227
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
37228
|
+
},
|
|
37229
|
+
/**
|
|
37230
|
+
*
|
|
37231
|
+
* @summary Get Landing
|
|
37232
|
+
* @param {string} hospitalId
|
|
37233
|
+
* @param {string} landingId
|
|
37234
|
+
* @param {string} [languageCode]
|
|
37235
|
+
* @param {*} [options] Override http request option.
|
|
37236
|
+
* @throws {RequiredError}
|
|
37237
|
+
*/
|
|
37238
|
+
async apiV1HospitalsHospitalIdLandingsLandingIdGet(hospitalId: string, landingId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LandingModel>> {
|
|
37239
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdLandingsLandingIdGet(hospitalId, landingId, languageCode, options);
|
|
37240
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
37241
|
+
},
|
|
37242
|
+
/**
|
|
37243
|
+
*
|
|
37244
|
+
* @summary Update Landing
|
|
37245
|
+
* @param {string} hospitalId
|
|
37246
|
+
* @param {string} landingId
|
|
37247
|
+
* @param {UpdateLandingCommand} [updateLandingCommand]
|
|
37248
|
+
* @param {*} [options] Override http request option.
|
|
37249
|
+
* @throws {RequiredError}
|
|
37250
|
+
*/
|
|
37251
|
+
async apiV1HospitalsHospitalIdLandingsLandingIdPut(hospitalId: string, landingId: string, updateLandingCommand?: UpdateLandingCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LandingModel>> {
|
|
37252
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdLandingsLandingIdPut(hospitalId, landingId, updateLandingCommand, options);
|
|
37253
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
37254
|
+
},
|
|
37255
|
+
/**
|
|
37256
|
+
*
|
|
37257
|
+
* @summary Reactivate Landing
|
|
37258
|
+
* @param {string} hospitalId
|
|
37259
|
+
* @param {string} landingId
|
|
37260
|
+
* @param {*} [options] Override http request option.
|
|
37261
|
+
* @throws {RequiredError}
|
|
37262
|
+
*/
|
|
37263
|
+
async apiV1HospitalsHospitalIdLandingsLandingIdReactivePut(hospitalId: string, landingId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
37264
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdLandingsLandingIdReactivePut(hospitalId, landingId, options);
|
|
37265
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
37266
|
+
},
|
|
37267
|
+
/**
|
|
37268
|
+
*
|
|
37269
|
+
* @summary Create HospitalLandings.
|
|
37270
|
+
* @param {string} hospitalId
|
|
37271
|
+
* @param {CreateLandingCommand} [createLandingCommand]
|
|
37272
|
+
* @param {*} [options] Override http request option.
|
|
37273
|
+
* @throws {RequiredError}
|
|
37274
|
+
*/
|
|
37275
|
+
async apiV1HospitalsHospitalIdLandingsPost(hospitalId: string, createLandingCommand?: CreateLandingCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LandingModel>> {
|
|
37276
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdLandingsPost(hospitalId, createLandingCommand, options);
|
|
37277
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
37278
|
+
},
|
|
36142
37279
|
/**
|
|
36143
37280
|
*
|
|
36144
37281
|
* @summary Get all GetAllLanguages.
|
|
@@ -37097,6 +38234,80 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
37097
38234
|
apiV1HospitalsHospitalIdHandlesPost(hospitalId: string, createHospitalSnsHandleCommand?: CreateHospitalSnsHandleCommand, options?: any): AxiosPromise<SnsHandleModel> {
|
|
37098
38235
|
return localVarFp.apiV1HospitalsHospitalIdHandlesPost(hospitalId, createHospitalSnsHandleCommand, options).then((request) => request(axios, basePath));
|
|
37099
38236
|
},
|
|
38237
|
+
/**
|
|
38238
|
+
*
|
|
38239
|
+
* @summary Get all GetAllLandings.
|
|
38240
|
+
* @param {string} hospitalId
|
|
38241
|
+
* @param {string} [name]
|
|
38242
|
+
* @param {string} [slug]
|
|
38243
|
+
* @param {string} [languageCode]
|
|
38244
|
+
* @param {boolean} [showHidden]
|
|
38245
|
+
* @param {number} [page]
|
|
38246
|
+
* @param {number} [limit]
|
|
38247
|
+
* @param {Date} [lastRetrieved]
|
|
38248
|
+
* @param {*} [options] Override http request option.
|
|
38249
|
+
* @throws {RequiredError}
|
|
38250
|
+
*/
|
|
38251
|
+
apiV1HospitalsHospitalIdLandingsGet(hospitalId: string, name?: string, slug?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<LandingsModel> {
|
|
38252
|
+
return localVarFp.apiV1HospitalsHospitalIdLandingsGet(hospitalId, name, slug, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
38253
|
+
},
|
|
38254
|
+
/**
|
|
38255
|
+
*
|
|
38256
|
+
* @summary Delete Landing.
|
|
38257
|
+
* @param {string} hospitalId
|
|
38258
|
+
* @param {string} landingId
|
|
38259
|
+
* @param {*} [options] Override http request option.
|
|
38260
|
+
* @throws {RequiredError}
|
|
38261
|
+
*/
|
|
38262
|
+
apiV1HospitalsHospitalIdLandingsLandingIdDelete(hospitalId: string, landingId: string, options?: any): AxiosPromise<boolean> {
|
|
38263
|
+
return localVarFp.apiV1HospitalsHospitalIdLandingsLandingIdDelete(hospitalId, landingId, options).then((request) => request(axios, basePath));
|
|
38264
|
+
},
|
|
38265
|
+
/**
|
|
38266
|
+
*
|
|
38267
|
+
* @summary Get Landing
|
|
38268
|
+
* @param {string} hospitalId
|
|
38269
|
+
* @param {string} landingId
|
|
38270
|
+
* @param {string} [languageCode]
|
|
38271
|
+
* @param {*} [options] Override http request option.
|
|
38272
|
+
* @throws {RequiredError}
|
|
38273
|
+
*/
|
|
38274
|
+
apiV1HospitalsHospitalIdLandingsLandingIdGet(hospitalId: string, landingId: string, languageCode?: string, options?: any): AxiosPromise<LandingModel> {
|
|
38275
|
+
return localVarFp.apiV1HospitalsHospitalIdLandingsLandingIdGet(hospitalId, landingId, languageCode, options).then((request) => request(axios, basePath));
|
|
38276
|
+
},
|
|
38277
|
+
/**
|
|
38278
|
+
*
|
|
38279
|
+
* @summary Update Landing
|
|
38280
|
+
* @param {string} hospitalId
|
|
38281
|
+
* @param {string} landingId
|
|
38282
|
+
* @param {UpdateLandingCommand} [updateLandingCommand]
|
|
38283
|
+
* @param {*} [options] Override http request option.
|
|
38284
|
+
* @throws {RequiredError}
|
|
38285
|
+
*/
|
|
38286
|
+
apiV1HospitalsHospitalIdLandingsLandingIdPut(hospitalId: string, landingId: string, updateLandingCommand?: UpdateLandingCommand, options?: any): AxiosPromise<LandingModel> {
|
|
38287
|
+
return localVarFp.apiV1HospitalsHospitalIdLandingsLandingIdPut(hospitalId, landingId, updateLandingCommand, options).then((request) => request(axios, basePath));
|
|
38288
|
+
},
|
|
38289
|
+
/**
|
|
38290
|
+
*
|
|
38291
|
+
* @summary Reactivate Landing
|
|
38292
|
+
* @param {string} hospitalId
|
|
38293
|
+
* @param {string} landingId
|
|
38294
|
+
* @param {*} [options] Override http request option.
|
|
38295
|
+
* @throws {RequiredError}
|
|
38296
|
+
*/
|
|
38297
|
+
apiV1HospitalsHospitalIdLandingsLandingIdReactivePut(hospitalId: string, landingId: string, options?: any): AxiosPromise<boolean> {
|
|
38298
|
+
return localVarFp.apiV1HospitalsHospitalIdLandingsLandingIdReactivePut(hospitalId, landingId, options).then((request) => request(axios, basePath));
|
|
38299
|
+
},
|
|
38300
|
+
/**
|
|
38301
|
+
*
|
|
38302
|
+
* @summary Create HospitalLandings.
|
|
38303
|
+
* @param {string} hospitalId
|
|
38304
|
+
* @param {CreateLandingCommand} [createLandingCommand]
|
|
38305
|
+
* @param {*} [options] Override http request option.
|
|
38306
|
+
* @throws {RequiredError}
|
|
38307
|
+
*/
|
|
38308
|
+
apiV1HospitalsHospitalIdLandingsPost(hospitalId: string, createLandingCommand?: CreateLandingCommand, options?: any): AxiosPromise<LandingModel> {
|
|
38309
|
+
return localVarFp.apiV1HospitalsHospitalIdLandingsPost(hospitalId, createLandingCommand, options).then((request) => request(axios, basePath));
|
|
38310
|
+
},
|
|
37100
38311
|
/**
|
|
37101
38312
|
*
|
|
37102
38313
|
* @summary Get all GetAllLanguages.
|
|
@@ -38067,6 +39278,92 @@ export class HospitalsApi extends BaseAPI {
|
|
|
38067
39278
|
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdHandlesPost(hospitalId, createHospitalSnsHandleCommand, options).then((request) => request(this.axios, this.basePath));
|
|
38068
39279
|
}
|
|
38069
39280
|
|
|
39281
|
+
/**
|
|
39282
|
+
*
|
|
39283
|
+
* @summary Get all GetAllLandings.
|
|
39284
|
+
* @param {string} hospitalId
|
|
39285
|
+
* @param {string} [name]
|
|
39286
|
+
* @param {string} [slug]
|
|
39287
|
+
* @param {string} [languageCode]
|
|
39288
|
+
* @param {boolean} [showHidden]
|
|
39289
|
+
* @param {number} [page]
|
|
39290
|
+
* @param {number} [limit]
|
|
39291
|
+
* @param {Date} [lastRetrieved]
|
|
39292
|
+
* @param {*} [options] Override http request option.
|
|
39293
|
+
* @throws {RequiredError}
|
|
39294
|
+
* @memberof HospitalsApi
|
|
39295
|
+
*/
|
|
39296
|
+
public apiV1HospitalsHospitalIdLandingsGet(hospitalId: string, name?: string, slug?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
39297
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLandingsGet(hospitalId, name, slug, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
39298
|
+
}
|
|
39299
|
+
|
|
39300
|
+
/**
|
|
39301
|
+
*
|
|
39302
|
+
* @summary Delete Landing.
|
|
39303
|
+
* @param {string} hospitalId
|
|
39304
|
+
* @param {string} landingId
|
|
39305
|
+
* @param {*} [options] Override http request option.
|
|
39306
|
+
* @throws {RequiredError}
|
|
39307
|
+
* @memberof HospitalsApi
|
|
39308
|
+
*/
|
|
39309
|
+
public apiV1HospitalsHospitalIdLandingsLandingIdDelete(hospitalId: string, landingId: string, options?: AxiosRequestConfig) {
|
|
39310
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLandingsLandingIdDelete(hospitalId, landingId, options).then((request) => request(this.axios, this.basePath));
|
|
39311
|
+
}
|
|
39312
|
+
|
|
39313
|
+
/**
|
|
39314
|
+
*
|
|
39315
|
+
* @summary Get Landing
|
|
39316
|
+
* @param {string} hospitalId
|
|
39317
|
+
* @param {string} landingId
|
|
39318
|
+
* @param {string} [languageCode]
|
|
39319
|
+
* @param {*} [options] Override http request option.
|
|
39320
|
+
* @throws {RequiredError}
|
|
39321
|
+
* @memberof HospitalsApi
|
|
39322
|
+
*/
|
|
39323
|
+
public apiV1HospitalsHospitalIdLandingsLandingIdGet(hospitalId: string, landingId: string, languageCode?: string, options?: AxiosRequestConfig) {
|
|
39324
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLandingsLandingIdGet(hospitalId, landingId, languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
39325
|
+
}
|
|
39326
|
+
|
|
39327
|
+
/**
|
|
39328
|
+
*
|
|
39329
|
+
* @summary Update Landing
|
|
39330
|
+
* @param {string} hospitalId
|
|
39331
|
+
* @param {string} landingId
|
|
39332
|
+
* @param {UpdateLandingCommand} [updateLandingCommand]
|
|
39333
|
+
* @param {*} [options] Override http request option.
|
|
39334
|
+
* @throws {RequiredError}
|
|
39335
|
+
* @memberof HospitalsApi
|
|
39336
|
+
*/
|
|
39337
|
+
public apiV1HospitalsHospitalIdLandingsLandingIdPut(hospitalId: string, landingId: string, updateLandingCommand?: UpdateLandingCommand, options?: AxiosRequestConfig) {
|
|
39338
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLandingsLandingIdPut(hospitalId, landingId, updateLandingCommand, options).then((request) => request(this.axios, this.basePath));
|
|
39339
|
+
}
|
|
39340
|
+
|
|
39341
|
+
/**
|
|
39342
|
+
*
|
|
39343
|
+
* @summary Reactivate Landing
|
|
39344
|
+
* @param {string} hospitalId
|
|
39345
|
+
* @param {string} landingId
|
|
39346
|
+
* @param {*} [options] Override http request option.
|
|
39347
|
+
* @throws {RequiredError}
|
|
39348
|
+
* @memberof HospitalsApi
|
|
39349
|
+
*/
|
|
39350
|
+
public apiV1HospitalsHospitalIdLandingsLandingIdReactivePut(hospitalId: string, landingId: string, options?: AxiosRequestConfig) {
|
|
39351
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLandingsLandingIdReactivePut(hospitalId, landingId, options).then((request) => request(this.axios, this.basePath));
|
|
39352
|
+
}
|
|
39353
|
+
|
|
39354
|
+
/**
|
|
39355
|
+
*
|
|
39356
|
+
* @summary Create HospitalLandings.
|
|
39357
|
+
* @param {string} hospitalId
|
|
39358
|
+
* @param {CreateLandingCommand} [createLandingCommand]
|
|
39359
|
+
* @param {*} [options] Override http request option.
|
|
39360
|
+
* @throws {RequiredError}
|
|
39361
|
+
* @memberof HospitalsApi
|
|
39362
|
+
*/
|
|
39363
|
+
public apiV1HospitalsHospitalIdLandingsPost(hospitalId: string, createLandingCommand?: CreateLandingCommand, options?: AxiosRequestConfig) {
|
|
39364
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLandingsPost(hospitalId, createLandingCommand, options).then((request) => request(this.axios, this.basePath));
|
|
39365
|
+
}
|
|
39366
|
+
|
|
38070
39367
|
/**
|
|
38071
39368
|
*
|
|
38072
39369
|
* @summary Get all GetAllLanguages.
|