ch-admin-api-client-typescript 4.3.6 → 4.3.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
@@ -10704,6 +11278,12 @@ export interface ServiceReviewItemModel {
10704
11278
  * @memberof ServiceReviewItemModel
10705
11279
  */
10706
11280
  'hospitalId'?: string;
11281
+ /**
11282
+ *
11283
+ * @type {string}
11284
+ * @memberof ServiceReviewItemModel
11285
+ */
11286
+ 'hospitalName'?: string | null;
10707
11287
  /**
10708
11288
  *
10709
11289
  * @type {string}
@@ -10807,6 +11387,12 @@ export interface ServiceReviewModel {
10807
11387
  * @memberof ServiceReviewModel
10808
11388
  */
10809
11389
  'hospitalId'?: string;
11390
+ /**
11391
+ *
11392
+ * @type {string}
11393
+ * @memberof ServiceReviewModel
11394
+ */
11395
+ 'hospitalName'?: string | null;
10810
11396
  /**
10811
11397
  *
10812
11398
  * @type {string}
@@ -13352,6 +13938,79 @@ export interface UpdateHospitalWorkingDayCommand {
13352
13938
  */
13353
13939
  'checkHoliday'?: boolean;
13354
13940
  }
13941
+ /**
13942
+ *
13943
+ * @export
13944
+ * @interface UpdateLandingCommand
13945
+ */
13946
+ export interface UpdateLandingCommand {
13947
+ /**
13948
+ *
13949
+ * @type {string}
13950
+ * @memberof UpdateLandingCommand
13951
+ */
13952
+ 'languageCode'?: string | null;
13953
+ /**
13954
+ *
13955
+ * @type {string}
13956
+ * @memberof UpdateLandingCommand
13957
+ */
13958
+ 'name'?: string | null;
13959
+ /**
13960
+ *
13961
+ * @type {string}
13962
+ * @memberof UpdateLandingCommand
13963
+ */
13964
+ 'slug'?: string | null;
13965
+ /**
13966
+ *
13967
+ * @type {string}
13968
+ * @memberof UpdateLandingCommand
13969
+ */
13970
+ 'description'?: string | null;
13971
+ /**
13972
+ *
13973
+ * @type {string}
13974
+ * @memberof UpdateLandingCommand
13975
+ */
13976
+ 'content'?: string | null;
13977
+ /**
13978
+ *
13979
+ * @type {string}
13980
+ * @memberof UpdateLandingCommand
13981
+ */
13982
+ 'customStyle'?: string | null;
13983
+ /**
13984
+ *
13985
+ * @type {number}
13986
+ * @memberof UpdateLandingCommand
13987
+ */
13988
+ 'order'?: number;
13989
+ /**
13990
+ *
13991
+ * @type {string}
13992
+ * @memberof UpdateLandingCommand
13993
+ */
13994
+ 'photo'?: string | null;
13995
+ /**
13996
+ *
13997
+ * @type {string}
13998
+ * @memberof UpdateLandingCommand
13999
+ */
14000
+ 'photoThumbnail'?: string | null;
14001
+ /**
14002
+ *
14003
+ * @type {boolean}
14004
+ * @memberof UpdateLandingCommand
14005
+ */
14006
+ 'confirmed'?: boolean;
14007
+ /**
14008
+ *
14009
+ * @type {Array<MediaModel>}
14010
+ * @memberof UpdateLandingCommand
14011
+ */
14012
+ 'medias'?: Array<MediaModel> | null;
14013
+ }
13355
14014
  /**
13356
14015
  *
13357
14016
  * @export
@@ -32075,6 +32734,122 @@ export class FaqsApi extends BaseAPI {
32075
32734
  }
32076
32735
 
32077
32736
 
32737
+ /**
32738
+ * GroupChannelsApi - axios parameter creator
32739
+ * @export
32740
+ */
32741
+ export const GroupChannelsApiAxiosParamCreator = function (configuration?: Configuration) {
32742
+ return {
32743
+ /**
32744
+ *
32745
+ * @summary invite user to group channel
32746
+ * @param {string} channelUrl
32747
+ * @param {InviteSendBirdGroupChannelCommand} [inviteSendBirdGroupChannelCommand]
32748
+ * @param {*} [options] Override http request option.
32749
+ * @throws {RequiredError}
32750
+ */
32751
+ apiV1GroupchannelsChannelUrlInvitePost: async (channelUrl: string, inviteSendBirdGroupChannelCommand?: InviteSendBirdGroupChannelCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
32752
+ // verify required parameter 'channelUrl' is not null or undefined
32753
+ assertParamExists('apiV1GroupchannelsChannelUrlInvitePost', 'channelUrl', channelUrl)
32754
+ const localVarPath = `/api/v1/groupchannels/{channelUrl}/invite`
32755
+ .replace(`{${"channelUrl"}}`, encodeURIComponent(String(channelUrl)));
32756
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32757
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32758
+ let baseOptions;
32759
+ if (configuration) {
32760
+ baseOptions = configuration.baseOptions;
32761
+ }
32762
+
32763
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
32764
+ const localVarHeaderParameter = {} as any;
32765
+ const localVarQueryParameter = {} as any;
32766
+
32767
+ // authentication oauth2 required
32768
+ // oauth required
32769
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
32770
+
32771
+
32772
+
32773
+ localVarHeaderParameter['Content-Type'] = 'application/json';
32774
+
32775
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32776
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32777
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
32778
+ localVarRequestOptions.data = serializeDataIfNeeded(inviteSendBirdGroupChannelCommand, localVarRequestOptions, configuration)
32779
+
32780
+ return {
32781
+ url: toPathString(localVarUrlObj),
32782
+ options: localVarRequestOptions,
32783
+ };
32784
+ },
32785
+ }
32786
+ };
32787
+
32788
+ /**
32789
+ * GroupChannelsApi - functional programming interface
32790
+ * @export
32791
+ */
32792
+ export const GroupChannelsApiFp = function(configuration?: Configuration) {
32793
+ const localVarAxiosParamCreator = GroupChannelsApiAxiosParamCreator(configuration)
32794
+ return {
32795
+ /**
32796
+ *
32797
+ * @summary invite user to group channel
32798
+ * @param {string} channelUrl
32799
+ * @param {InviteSendBirdGroupChannelCommand} [inviteSendBirdGroupChannelCommand]
32800
+ * @param {*} [options] Override http request option.
32801
+ * @throws {RequiredError}
32802
+ */
32803
+ async apiV1GroupchannelsChannelUrlInvitePost(channelUrl: string, inviteSendBirdGroupChannelCommand?: InviteSendBirdGroupChannelCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SendBirdGroupChannelModel>> {
32804
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1GroupchannelsChannelUrlInvitePost(channelUrl, inviteSendBirdGroupChannelCommand, options);
32805
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
32806
+ },
32807
+ }
32808
+ };
32809
+
32810
+ /**
32811
+ * GroupChannelsApi - factory interface
32812
+ * @export
32813
+ */
32814
+ export const GroupChannelsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
32815
+ const localVarFp = GroupChannelsApiFp(configuration)
32816
+ return {
32817
+ /**
32818
+ *
32819
+ * @summary invite user to group channel
32820
+ * @param {string} channelUrl
32821
+ * @param {InviteSendBirdGroupChannelCommand} [inviteSendBirdGroupChannelCommand]
32822
+ * @param {*} [options] Override http request option.
32823
+ * @throws {RequiredError}
32824
+ */
32825
+ apiV1GroupchannelsChannelUrlInvitePost(channelUrl: string, inviteSendBirdGroupChannelCommand?: InviteSendBirdGroupChannelCommand, options?: any): AxiosPromise<SendBirdGroupChannelModel> {
32826
+ return localVarFp.apiV1GroupchannelsChannelUrlInvitePost(channelUrl, inviteSendBirdGroupChannelCommand, options).then((request) => request(axios, basePath));
32827
+ },
32828
+ };
32829
+ };
32830
+
32831
+ /**
32832
+ * GroupChannelsApi - object-oriented interface
32833
+ * @export
32834
+ * @class GroupChannelsApi
32835
+ * @extends {BaseAPI}
32836
+ */
32837
+ export class GroupChannelsApi extends BaseAPI {
32838
+ /**
32839
+ *
32840
+ * @summary invite user to group channel
32841
+ * @param {string} channelUrl
32842
+ * @param {InviteSendBirdGroupChannelCommand} [inviteSendBirdGroupChannelCommand]
32843
+ * @param {*} [options] Override http request option.
32844
+ * @throws {RequiredError}
32845
+ * @memberof GroupChannelsApi
32846
+ */
32847
+ public apiV1GroupchannelsChannelUrlInvitePost(channelUrl: string, inviteSendBirdGroupChannelCommand?: InviteSendBirdGroupChannelCommand, options?: AxiosRequestConfig) {
32848
+ return GroupChannelsApiFp(this.configuration).apiV1GroupchannelsChannelUrlInvitePost(channelUrl, inviteSendBirdGroupChannelCommand, options).then((request) => request(this.axios, this.basePath));
32849
+ }
32850
+ }
32851
+
32852
+
32078
32853
  /**
32079
32854
  * HospitalsApi - axios parameter creator
32080
32855
  * @export
@@ -33180,7 +33955,297 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
33180
33955
  setSearchParams(localVarUrlObj, localVarQueryParameter);
33181
33956
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33182
33957
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
33183
- localVarRequestOptions.data = serializeDataIfNeeded(createHospitalEvaluationCommand, localVarRequestOptions, configuration)
33958
+ localVarRequestOptions.data = serializeDataIfNeeded(createHospitalEvaluationCommand, localVarRequestOptions, configuration)
33959
+
33960
+ return {
33961
+ url: toPathString(localVarUrlObj),
33962
+ options: localVarRequestOptions,
33963
+ };
33964
+ },
33965
+ /**
33966
+ *
33967
+ * @summary Get Hospital.
33968
+ * @param {string} hospitalId
33969
+ * @param {string} [languageCode]
33970
+ * @param {boolean} [returnDefaultValue]
33971
+ * @param {*} [options] Override http request option.
33972
+ * @throws {RequiredError}
33973
+ */
33974
+ apiV1HospitalsHospitalIdGet: async (hospitalId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
33975
+ // verify required parameter 'hospitalId' is not null or undefined
33976
+ assertParamExists('apiV1HospitalsHospitalIdGet', 'hospitalId', hospitalId)
33977
+ const localVarPath = `/api/v1/hospitals/{hospitalId}`
33978
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
33979
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
33980
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33981
+ let baseOptions;
33982
+ if (configuration) {
33983
+ baseOptions = configuration.baseOptions;
33984
+ }
33985
+
33986
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
33987
+ const localVarHeaderParameter = {} as any;
33988
+ const localVarQueryParameter = {} as any;
33989
+
33990
+ // authentication oauth2 required
33991
+ // oauth required
33992
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
33993
+
33994
+ if (languageCode !== undefined) {
33995
+ localVarQueryParameter['languageCode'] = languageCode;
33996
+ }
33997
+
33998
+ if (returnDefaultValue !== undefined) {
33999
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
34000
+ }
34001
+
34002
+
34003
+
34004
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
34005
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
34006
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
34007
+
34008
+ return {
34009
+ url: toPathString(localVarUrlObj),
34010
+ options: localVarRequestOptions,
34011
+ };
34012
+ },
34013
+ /**
34014
+ *
34015
+ * @summary Get all HospitalHandles.
34016
+ * @param {string} hospitalId
34017
+ * @param {string} [id]
34018
+ * @param {SnsType} [snsType]
34019
+ * @param {string} [handle]
34020
+ * @param {number} [page]
34021
+ * @param {number} [limit]
34022
+ * @param {Date} [lastRetrieved]
34023
+ * @param {*} [options] Override http request option.
34024
+ * @throws {RequiredError}
34025
+ */
34026
+ apiV1HospitalsHospitalIdHandlesGet: async (hospitalId: string, id?: string, snsType?: SnsType, handle?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
34027
+ // verify required parameter 'hospitalId' is not null or undefined
34028
+ assertParamExists('apiV1HospitalsHospitalIdHandlesGet', 'hospitalId', hospitalId)
34029
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/handles`
34030
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
34031
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
34032
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
34033
+ let baseOptions;
34034
+ if (configuration) {
34035
+ baseOptions = configuration.baseOptions;
34036
+ }
34037
+
34038
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
34039
+ const localVarHeaderParameter = {} as any;
34040
+ const localVarQueryParameter = {} as any;
34041
+
34042
+ // authentication oauth2 required
34043
+ // oauth required
34044
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
34045
+
34046
+ if (id !== undefined) {
34047
+ localVarQueryParameter['Id'] = id;
34048
+ }
34049
+
34050
+ if (snsType !== undefined) {
34051
+ localVarQueryParameter['SnsType'] = snsType;
34052
+ }
34053
+
34054
+ if (handle !== undefined) {
34055
+ localVarQueryParameter['Handle'] = handle;
34056
+ }
34057
+
34058
+ if (page !== undefined) {
34059
+ localVarQueryParameter['page'] = page;
34060
+ }
34061
+
34062
+ if (limit !== undefined) {
34063
+ localVarQueryParameter['limit'] = limit;
34064
+ }
34065
+
34066
+ if (lastRetrieved !== undefined) {
34067
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
34068
+ (lastRetrieved as any).toISOString() :
34069
+ lastRetrieved;
34070
+ }
34071
+
34072
+
34073
+
34074
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
34075
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
34076
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
34077
+
34078
+ return {
34079
+ url: toPathString(localVarUrlObj),
34080
+ options: localVarRequestOptions,
34081
+ };
34082
+ },
34083
+ /**
34084
+ *
34085
+ * @summary Delete HospitalHandle.
34086
+ * @param {string} hospitalId
34087
+ * @param {string} handleId
34088
+ * @param {*} [options] Override http request option.
34089
+ * @throws {RequiredError}
34090
+ */
34091
+ apiV1HospitalsHospitalIdHandlesHandleIdDelete: async (hospitalId: string, handleId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
34092
+ // verify required parameter 'hospitalId' is not null or undefined
34093
+ assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdDelete', 'hospitalId', hospitalId)
34094
+ // verify required parameter 'handleId' is not null or undefined
34095
+ assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdDelete', 'handleId', handleId)
34096
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/handles/{handleId}`
34097
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
34098
+ .replace(`{${"handleId"}}`, encodeURIComponent(String(handleId)));
34099
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
34100
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
34101
+ let baseOptions;
34102
+ if (configuration) {
34103
+ baseOptions = configuration.baseOptions;
34104
+ }
34105
+
34106
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
34107
+ const localVarHeaderParameter = {} as any;
34108
+ const localVarQueryParameter = {} as any;
34109
+
34110
+ // authentication oauth2 required
34111
+ // oauth required
34112
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
34113
+
34114
+
34115
+
34116
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
34117
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
34118
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
34119
+
34120
+ return {
34121
+ url: toPathString(localVarUrlObj),
34122
+ options: localVarRequestOptions,
34123
+ };
34124
+ },
34125
+ /**
34126
+ *
34127
+ * @summary Get HospitalHandle.
34128
+ * @param {string} hospitalId
34129
+ * @param {string} handleId
34130
+ * @param {*} [options] Override http request option.
34131
+ * @throws {RequiredError}
34132
+ */
34133
+ apiV1HospitalsHospitalIdHandlesHandleIdGet: async (hospitalId: string, handleId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
34134
+ // verify required parameter 'hospitalId' is not null or undefined
34135
+ assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdGet', 'hospitalId', hospitalId)
34136
+ // verify required parameter 'handleId' is not null or undefined
34137
+ assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdGet', 'handleId', handleId)
34138
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/handles/{handleId}`
34139
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
34140
+ .replace(`{${"handleId"}}`, encodeURIComponent(String(handleId)));
34141
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
34142
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
34143
+ let baseOptions;
34144
+ if (configuration) {
34145
+ baseOptions = configuration.baseOptions;
34146
+ }
34147
+
34148
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
34149
+ const localVarHeaderParameter = {} as any;
34150
+ const localVarQueryParameter = {} as any;
34151
+
34152
+ // authentication oauth2 required
34153
+ // oauth required
34154
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
34155
+
34156
+
34157
+
34158
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
34159
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
34160
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
34161
+
34162
+ return {
34163
+ url: toPathString(localVarUrlObj),
34164
+ options: localVarRequestOptions,
34165
+ };
34166
+ },
34167
+ /**
34168
+ *
34169
+ * @summary Update HospitalHandle.
34170
+ * @param {string} hospitalId
34171
+ * @param {string} handleId
34172
+ * @param {UpdateHospitalSnsHandleCommand} [updateHospitalSnsHandleCommand]
34173
+ * @param {*} [options] Override http request option.
34174
+ * @throws {RequiredError}
34175
+ */
34176
+ apiV1HospitalsHospitalIdHandlesHandleIdPut: async (hospitalId: string, handleId: string, updateHospitalSnsHandleCommand?: UpdateHospitalSnsHandleCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
34177
+ // verify required parameter 'hospitalId' is not null or undefined
34178
+ assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdPut', 'hospitalId', hospitalId)
34179
+ // verify required parameter 'handleId' is not null or undefined
34180
+ assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdPut', 'handleId', handleId)
34181
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/handles/{handleId}`
34182
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
34183
+ .replace(`{${"handleId"}}`, encodeURIComponent(String(handleId)));
34184
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
34185
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
34186
+ let baseOptions;
34187
+ if (configuration) {
34188
+ baseOptions = configuration.baseOptions;
34189
+ }
34190
+
34191
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
34192
+ const localVarHeaderParameter = {} as any;
34193
+ const localVarQueryParameter = {} as any;
34194
+
34195
+ // authentication oauth2 required
34196
+ // oauth required
34197
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
34198
+
34199
+
34200
+
34201
+ localVarHeaderParameter['Content-Type'] = 'application/json';
34202
+
34203
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
34204
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
34205
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
34206
+ localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalSnsHandleCommand, localVarRequestOptions, configuration)
34207
+
34208
+ return {
34209
+ url: toPathString(localVarUrlObj),
34210
+ options: localVarRequestOptions,
34211
+ };
34212
+ },
34213
+ /**
34214
+ *
34215
+ * @summary Get HospitalHandle.
34216
+ * @param {string} hospitalId
34217
+ * @param {CreateHospitalSnsHandleCommand} [createHospitalSnsHandleCommand]
34218
+ * @param {*} [options] Override http request option.
34219
+ * @throws {RequiredError}
34220
+ */
34221
+ apiV1HospitalsHospitalIdHandlesPost: async (hospitalId: string, createHospitalSnsHandleCommand?: CreateHospitalSnsHandleCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
34222
+ // verify required parameter 'hospitalId' is not null or undefined
34223
+ assertParamExists('apiV1HospitalsHospitalIdHandlesPost', 'hospitalId', hospitalId)
34224
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/handles`
34225
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
34226
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
34227
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
34228
+ let baseOptions;
34229
+ if (configuration) {
34230
+ baseOptions = configuration.baseOptions;
34231
+ }
34232
+
34233
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
34234
+ const localVarHeaderParameter = {} as any;
34235
+ const localVarQueryParameter = {} as any;
34236
+
34237
+ // authentication oauth2 required
34238
+ // oauth required
34239
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
34240
+
34241
+
34242
+
34243
+ localVarHeaderParameter['Content-Type'] = 'application/json';
34244
+
34245
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
34246
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
34247
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
34248
+ localVarRequestOptions.data = serializeDataIfNeeded(createHospitalSnsHandleCommand, localVarRequestOptions, configuration)
33184
34249
 
33185
34250
  return {
33186
34251
  url: toPathString(localVarUrlObj),
@@ -33189,17 +34254,22 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
33189
34254
  },
33190
34255
  /**
33191
34256
  *
33192
- * @summary Get Hospital.
34257
+ * @summary Get all GetAllLandings.
33193
34258
  * @param {string} hospitalId
34259
+ * @param {string} [name]
34260
+ * @param {string} [slug]
33194
34261
  * @param {string} [languageCode]
33195
- * @param {boolean} [returnDefaultValue]
34262
+ * @param {boolean} [showHidden]
34263
+ * @param {number} [page]
34264
+ * @param {number} [limit]
34265
+ * @param {Date} [lastRetrieved]
33196
34266
  * @param {*} [options] Override http request option.
33197
34267
  * @throws {RequiredError}
33198
34268
  */
33199
- apiV1HospitalsHospitalIdGet: async (hospitalId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
34269
+ apiV1HospitalsHospitalIdLandingsGet: async (hospitalId: string, name?: string, slug?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
33200
34270
  // verify required parameter 'hospitalId' is not null or undefined
33201
- assertParamExists('apiV1HospitalsHospitalIdGet', 'hospitalId', hospitalId)
33202
- const localVarPath = `/api/v1/hospitals/{hospitalId}`
34271
+ assertParamExists('apiV1HospitalsHospitalIdLandingsGet', 'hospitalId', hospitalId)
34272
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/landings`
33203
34273
  .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
33204
34274
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
33205
34275
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -33216,12 +34286,34 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
33216
34286
  // oauth required
33217
34287
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
33218
34288
 
34289
+ if (name !== undefined) {
34290
+ localVarQueryParameter['Name'] = name;
34291
+ }
34292
+
34293
+ if (slug !== undefined) {
34294
+ localVarQueryParameter['Slug'] = slug;
34295
+ }
34296
+
33219
34297
  if (languageCode !== undefined) {
33220
- localVarQueryParameter['languageCode'] = languageCode;
34298
+ localVarQueryParameter['LanguageCode'] = languageCode;
33221
34299
  }
33222
34300
 
33223
- if (returnDefaultValue !== undefined) {
33224
- localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
34301
+ if (showHidden !== undefined) {
34302
+ localVarQueryParameter['ShowHidden'] = showHidden;
34303
+ }
34304
+
34305
+ if (page !== undefined) {
34306
+ localVarQueryParameter['page'] = page;
34307
+ }
34308
+
34309
+ if (limit !== undefined) {
34310
+ localVarQueryParameter['limit'] = limit;
34311
+ }
34312
+
34313
+ if (lastRetrieved !== undefined) {
34314
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
34315
+ (lastRetrieved as any).toISOString() :
34316
+ lastRetrieved;
33225
34317
  }
33226
34318
 
33227
34319
 
@@ -33237,22 +34329,20 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
33237
34329
  },
33238
34330
  /**
33239
34331
  *
33240
- * @summary Get all HospitalHandles.
34332
+ * @summary Delete Landing.
33241
34333
  * @param {string} hospitalId
33242
- * @param {string} [id]
33243
- * @param {SnsType} [snsType]
33244
- * @param {string} [handle]
33245
- * @param {number} [page]
33246
- * @param {number} [limit]
33247
- * @param {Date} [lastRetrieved]
34334
+ * @param {string} landingId
33248
34335
  * @param {*} [options] Override http request option.
33249
34336
  * @throws {RequiredError}
33250
34337
  */
33251
- apiV1HospitalsHospitalIdHandlesGet: async (hospitalId: string, id?: string, snsType?: SnsType, handle?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
34338
+ apiV1HospitalsHospitalIdLandingsLandingIdDelete: async (hospitalId: string, landingId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
33252
34339
  // verify required parameter 'hospitalId' is not null or undefined
33253
- assertParamExists('apiV1HospitalsHospitalIdHandlesGet', 'hospitalId', hospitalId)
33254
- const localVarPath = `/api/v1/hospitals/{hospitalId}/handles`
33255
- .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
34340
+ assertParamExists('apiV1HospitalsHospitalIdLandingsLandingIdDelete', 'hospitalId', hospitalId)
34341
+ // verify required parameter 'landingId' is not null or undefined
34342
+ assertParamExists('apiV1HospitalsHospitalIdLandingsLandingIdDelete', 'landingId', landingId)
34343
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/landings/{landingId}`
34344
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
34345
+ .replace(`{${"landingId"}}`, encodeURIComponent(String(landingId)));
33256
34346
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
33257
34347
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33258
34348
  let baseOptions;
@@ -33260,7 +34350,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
33260
34350
  baseOptions = configuration.baseOptions;
33261
34351
  }
33262
34352
 
33263
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
34353
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
33264
34354
  const localVarHeaderParameter = {} as any;
33265
34355
  const localVarQueryParameter = {} as any;
33266
34356
 
@@ -33268,32 +34358,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
33268
34358
  // oauth required
33269
34359
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
33270
34360
 
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
34361
 
33298
34362
 
33299
34363
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -33307,20 +34371,21 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
33307
34371
  },
33308
34372
  /**
33309
34373
  *
33310
- * @summary Delete HospitalHandle.
34374
+ * @summary Get Landing
33311
34375
  * @param {string} hospitalId
33312
- * @param {string} handleId
34376
+ * @param {string} landingId
34377
+ * @param {string} [languageCode]
33313
34378
  * @param {*} [options] Override http request option.
33314
34379
  * @throws {RequiredError}
33315
34380
  */
33316
- apiV1HospitalsHospitalIdHandlesHandleIdDelete: async (hospitalId: string, handleId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
34381
+ apiV1HospitalsHospitalIdLandingsLandingIdGet: async (hospitalId: string, landingId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
33317
34382
  // verify required parameter 'hospitalId' is not null or undefined
33318
- assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdDelete', 'hospitalId', hospitalId)
33319
- // verify required parameter 'handleId' is not null or undefined
33320
- assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdDelete', 'handleId', handleId)
33321
- const localVarPath = `/api/v1/hospitals/{hospitalId}/handles/{handleId}`
34383
+ assertParamExists('apiV1HospitalsHospitalIdLandingsLandingIdGet', 'hospitalId', hospitalId)
34384
+ // verify required parameter 'landingId' is not null or undefined
34385
+ assertParamExists('apiV1HospitalsHospitalIdLandingsLandingIdGet', 'landingId', landingId)
34386
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/landings/{landingId}`
33322
34387
  .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
33323
- .replace(`{${"handleId"}}`, encodeURIComponent(String(handleId)));
34388
+ .replace(`{${"landingId"}}`, encodeURIComponent(String(landingId)));
33324
34389
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
33325
34390
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33326
34391
  let baseOptions;
@@ -33328,7 +34393,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
33328
34393
  baseOptions = configuration.baseOptions;
33329
34394
  }
33330
34395
 
33331
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
34396
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
33332
34397
  const localVarHeaderParameter = {} as any;
33333
34398
  const localVarQueryParameter = {} as any;
33334
34399
 
@@ -33336,6 +34401,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
33336
34401
  // oauth required
33337
34402
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
33338
34403
 
34404
+ if (languageCode !== undefined) {
34405
+ localVarQueryParameter['languageCode'] = languageCode;
34406
+ }
34407
+
33339
34408
 
33340
34409
 
33341
34410
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -33349,20 +34418,21 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
33349
34418
  },
33350
34419
  /**
33351
34420
  *
33352
- * @summary Get HospitalHandle.
34421
+ * @summary Update Landing
33353
34422
  * @param {string} hospitalId
33354
- * @param {string} handleId
34423
+ * @param {string} landingId
34424
+ * @param {UpdateLandingCommand} [updateLandingCommand]
33355
34425
  * @param {*} [options] Override http request option.
33356
34426
  * @throws {RequiredError}
33357
34427
  */
33358
- apiV1HospitalsHospitalIdHandlesHandleIdGet: async (hospitalId: string, handleId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
34428
+ apiV1HospitalsHospitalIdLandingsLandingIdPut: async (hospitalId: string, landingId: string, updateLandingCommand?: UpdateLandingCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
33359
34429
  // verify required parameter 'hospitalId' is not null or undefined
33360
- assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdGet', 'hospitalId', hospitalId)
33361
- // verify required parameter 'handleId' is not null or undefined
33362
- assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdGet', 'handleId', handleId)
33363
- const localVarPath = `/api/v1/hospitals/{hospitalId}/handles/{handleId}`
34430
+ assertParamExists('apiV1HospitalsHospitalIdLandingsLandingIdPut', 'hospitalId', hospitalId)
34431
+ // verify required parameter 'landingId' is not null or undefined
34432
+ assertParamExists('apiV1HospitalsHospitalIdLandingsLandingIdPut', 'landingId', landingId)
34433
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/landings/{landingId}`
33364
34434
  .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
33365
- .replace(`{${"handleId"}}`, encodeURIComponent(String(handleId)));
34435
+ .replace(`{${"landingId"}}`, encodeURIComponent(String(landingId)));
33366
34436
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
33367
34437
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33368
34438
  let baseOptions;
@@ -33370,7 +34440,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
33370
34440
  baseOptions = configuration.baseOptions;
33371
34441
  }
33372
34442
 
33373
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
34443
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
33374
34444
  const localVarHeaderParameter = {} as any;
33375
34445
  const localVarQueryParameter = {} as any;
33376
34446
 
@@ -33380,9 +34450,12 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
33380
34450
 
33381
34451
 
33382
34452
 
34453
+ localVarHeaderParameter['Content-Type'] = 'application/json';
34454
+
33383
34455
  setSearchParams(localVarUrlObj, localVarQueryParameter);
33384
34456
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33385
34457
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
34458
+ localVarRequestOptions.data = serializeDataIfNeeded(updateLandingCommand, localVarRequestOptions, configuration)
33386
34459
 
33387
34460
  return {
33388
34461
  url: toPathString(localVarUrlObj),
@@ -33391,21 +34464,20 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
33391
34464
  },
33392
34465
  /**
33393
34466
  *
33394
- * @summary Update HospitalHandle.
34467
+ * @summary Reactivate Landing
33395
34468
  * @param {string} hospitalId
33396
- * @param {string} handleId
33397
- * @param {UpdateHospitalSnsHandleCommand} [updateHospitalSnsHandleCommand]
34469
+ * @param {string} landingId
33398
34470
  * @param {*} [options] Override http request option.
33399
34471
  * @throws {RequiredError}
33400
34472
  */
33401
- apiV1HospitalsHospitalIdHandlesHandleIdPut: async (hospitalId: string, handleId: string, updateHospitalSnsHandleCommand?: UpdateHospitalSnsHandleCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
34473
+ apiV1HospitalsHospitalIdLandingsLandingIdReactivePut: async (hospitalId: string, landingId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
33402
34474
  // verify required parameter 'hospitalId' is not null or undefined
33403
- assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdPut', 'hospitalId', hospitalId)
33404
- // verify required parameter 'handleId' is not null or undefined
33405
- assertParamExists('apiV1HospitalsHospitalIdHandlesHandleIdPut', 'handleId', handleId)
33406
- const localVarPath = `/api/v1/hospitals/{hospitalId}/handles/{handleId}`
34475
+ assertParamExists('apiV1HospitalsHospitalIdLandingsLandingIdReactivePut', 'hospitalId', hospitalId)
34476
+ // verify required parameter 'landingId' is not null or undefined
34477
+ assertParamExists('apiV1HospitalsHospitalIdLandingsLandingIdReactivePut', 'landingId', landingId)
34478
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/landings/{landingId}/reactive`
33407
34479
  .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
33408
- .replace(`{${"handleId"}}`, encodeURIComponent(String(handleId)));
34480
+ .replace(`{${"landingId"}}`, encodeURIComponent(String(landingId)));
33409
34481
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
33410
34482
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33411
34483
  let baseOptions;
@@ -33423,12 +34495,9 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
33423
34495
 
33424
34496
 
33425
34497
 
33426
- localVarHeaderParameter['Content-Type'] = 'application/json';
33427
-
33428
34498
  setSearchParams(localVarUrlObj, localVarQueryParameter);
33429
34499
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33430
34500
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
33431
- localVarRequestOptions.data = serializeDataIfNeeded(updateHospitalSnsHandleCommand, localVarRequestOptions, configuration)
33432
34501
 
33433
34502
  return {
33434
34503
  url: toPathString(localVarUrlObj),
@@ -33437,16 +34506,16 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
33437
34506
  },
33438
34507
  /**
33439
34508
  *
33440
- * @summary Get HospitalHandle.
34509
+ * @summary Create HospitalLandings.
33441
34510
  * @param {string} hospitalId
33442
- * @param {CreateHospitalSnsHandleCommand} [createHospitalSnsHandleCommand]
34511
+ * @param {CreateLandingCommand} [createLandingCommand]
33443
34512
  * @param {*} [options] Override http request option.
33444
34513
  * @throws {RequiredError}
33445
34514
  */
33446
- apiV1HospitalsHospitalIdHandlesPost: async (hospitalId: string, createHospitalSnsHandleCommand?: CreateHospitalSnsHandleCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
34515
+ apiV1HospitalsHospitalIdLandingsPost: async (hospitalId: string, createLandingCommand?: CreateLandingCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
33447
34516
  // verify required parameter 'hospitalId' is not null or undefined
33448
- assertParamExists('apiV1HospitalsHospitalIdHandlesPost', 'hospitalId', hospitalId)
33449
- const localVarPath = `/api/v1/hospitals/{hospitalId}/handles`
34517
+ assertParamExists('apiV1HospitalsHospitalIdLandingsPost', 'hospitalId', hospitalId)
34518
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/landings`
33450
34519
  .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
33451
34520
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
33452
34521
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -33470,7 +34539,7 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
33470
34539
  setSearchParams(localVarUrlObj, localVarQueryParameter);
33471
34540
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33472
34541
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
33473
- localVarRequestOptions.data = serializeDataIfNeeded(createHospitalSnsHandleCommand, localVarRequestOptions, configuration)
34542
+ localVarRequestOptions.data = serializeDataIfNeeded(createLandingCommand, localVarRequestOptions, configuration)
33474
34543
 
33475
34544
  return {
33476
34545
  url: toPathString(localVarUrlObj),
@@ -36139,6 +37208,86 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
36139
37208
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdHandlesPost(hospitalId, createHospitalSnsHandleCommand, options);
36140
37209
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36141
37210
  },
37211
+ /**
37212
+ *
37213
+ * @summary Get all GetAllLandings.
37214
+ * @param {string} hospitalId
37215
+ * @param {string} [name]
37216
+ * @param {string} [slug]
37217
+ * @param {string} [languageCode]
37218
+ * @param {boolean} [showHidden]
37219
+ * @param {number} [page]
37220
+ * @param {number} [limit]
37221
+ * @param {Date} [lastRetrieved]
37222
+ * @param {*} [options] Override http request option.
37223
+ * @throws {RequiredError}
37224
+ */
37225
+ 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>> {
37226
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdLandingsGet(hospitalId, name, slug, languageCode, showHidden, page, limit, lastRetrieved, options);
37227
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
37228
+ },
37229
+ /**
37230
+ *
37231
+ * @summary Delete Landing.
37232
+ * @param {string} hospitalId
37233
+ * @param {string} landingId
37234
+ * @param {*} [options] Override http request option.
37235
+ * @throws {RequiredError}
37236
+ */
37237
+ async apiV1HospitalsHospitalIdLandingsLandingIdDelete(hospitalId: string, landingId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
37238
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdLandingsLandingIdDelete(hospitalId, landingId, options);
37239
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
37240
+ },
37241
+ /**
37242
+ *
37243
+ * @summary Get Landing
37244
+ * @param {string} hospitalId
37245
+ * @param {string} landingId
37246
+ * @param {string} [languageCode]
37247
+ * @param {*} [options] Override http request option.
37248
+ * @throws {RequiredError}
37249
+ */
37250
+ async apiV1HospitalsHospitalIdLandingsLandingIdGet(hospitalId: string, landingId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LandingModel>> {
37251
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdLandingsLandingIdGet(hospitalId, landingId, languageCode, options);
37252
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
37253
+ },
37254
+ /**
37255
+ *
37256
+ * @summary Update Landing
37257
+ * @param {string} hospitalId
37258
+ * @param {string} landingId
37259
+ * @param {UpdateLandingCommand} [updateLandingCommand]
37260
+ * @param {*} [options] Override http request option.
37261
+ * @throws {RequiredError}
37262
+ */
37263
+ async apiV1HospitalsHospitalIdLandingsLandingIdPut(hospitalId: string, landingId: string, updateLandingCommand?: UpdateLandingCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LandingModel>> {
37264
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdLandingsLandingIdPut(hospitalId, landingId, updateLandingCommand, options);
37265
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
37266
+ },
37267
+ /**
37268
+ *
37269
+ * @summary Reactivate Landing
37270
+ * @param {string} hospitalId
37271
+ * @param {string} landingId
37272
+ * @param {*} [options] Override http request option.
37273
+ * @throws {RequiredError}
37274
+ */
37275
+ async apiV1HospitalsHospitalIdLandingsLandingIdReactivePut(hospitalId: string, landingId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
37276
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdLandingsLandingIdReactivePut(hospitalId, landingId, options);
37277
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
37278
+ },
37279
+ /**
37280
+ *
37281
+ * @summary Create HospitalLandings.
37282
+ * @param {string} hospitalId
37283
+ * @param {CreateLandingCommand} [createLandingCommand]
37284
+ * @param {*} [options] Override http request option.
37285
+ * @throws {RequiredError}
37286
+ */
37287
+ async apiV1HospitalsHospitalIdLandingsPost(hospitalId: string, createLandingCommand?: CreateLandingCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LandingModel>> {
37288
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdLandingsPost(hospitalId, createLandingCommand, options);
37289
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
37290
+ },
36142
37291
  /**
36143
37292
  *
36144
37293
  * @summary Get all GetAllLanguages.
@@ -37097,6 +38246,80 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
37097
38246
  apiV1HospitalsHospitalIdHandlesPost(hospitalId: string, createHospitalSnsHandleCommand?: CreateHospitalSnsHandleCommand, options?: any): AxiosPromise<SnsHandleModel> {
37098
38247
  return localVarFp.apiV1HospitalsHospitalIdHandlesPost(hospitalId, createHospitalSnsHandleCommand, options).then((request) => request(axios, basePath));
37099
38248
  },
38249
+ /**
38250
+ *
38251
+ * @summary Get all GetAllLandings.
38252
+ * @param {string} hospitalId
38253
+ * @param {string} [name]
38254
+ * @param {string} [slug]
38255
+ * @param {string} [languageCode]
38256
+ * @param {boolean} [showHidden]
38257
+ * @param {number} [page]
38258
+ * @param {number} [limit]
38259
+ * @param {Date} [lastRetrieved]
38260
+ * @param {*} [options] Override http request option.
38261
+ * @throws {RequiredError}
38262
+ */
38263
+ apiV1HospitalsHospitalIdLandingsGet(hospitalId: string, name?: string, slug?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<LandingsModel> {
38264
+ return localVarFp.apiV1HospitalsHospitalIdLandingsGet(hospitalId, name, slug, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
38265
+ },
38266
+ /**
38267
+ *
38268
+ * @summary Delete Landing.
38269
+ * @param {string} hospitalId
38270
+ * @param {string} landingId
38271
+ * @param {*} [options] Override http request option.
38272
+ * @throws {RequiredError}
38273
+ */
38274
+ apiV1HospitalsHospitalIdLandingsLandingIdDelete(hospitalId: string, landingId: string, options?: any): AxiosPromise<boolean> {
38275
+ return localVarFp.apiV1HospitalsHospitalIdLandingsLandingIdDelete(hospitalId, landingId, options).then((request) => request(axios, basePath));
38276
+ },
38277
+ /**
38278
+ *
38279
+ * @summary Get Landing
38280
+ * @param {string} hospitalId
38281
+ * @param {string} landingId
38282
+ * @param {string} [languageCode]
38283
+ * @param {*} [options] Override http request option.
38284
+ * @throws {RequiredError}
38285
+ */
38286
+ apiV1HospitalsHospitalIdLandingsLandingIdGet(hospitalId: string, landingId: string, languageCode?: string, options?: any): AxiosPromise<LandingModel> {
38287
+ return localVarFp.apiV1HospitalsHospitalIdLandingsLandingIdGet(hospitalId, landingId, languageCode, options).then((request) => request(axios, basePath));
38288
+ },
38289
+ /**
38290
+ *
38291
+ * @summary Update Landing
38292
+ * @param {string} hospitalId
38293
+ * @param {string} landingId
38294
+ * @param {UpdateLandingCommand} [updateLandingCommand]
38295
+ * @param {*} [options] Override http request option.
38296
+ * @throws {RequiredError}
38297
+ */
38298
+ apiV1HospitalsHospitalIdLandingsLandingIdPut(hospitalId: string, landingId: string, updateLandingCommand?: UpdateLandingCommand, options?: any): AxiosPromise<LandingModel> {
38299
+ return localVarFp.apiV1HospitalsHospitalIdLandingsLandingIdPut(hospitalId, landingId, updateLandingCommand, options).then((request) => request(axios, basePath));
38300
+ },
38301
+ /**
38302
+ *
38303
+ * @summary Reactivate Landing
38304
+ * @param {string} hospitalId
38305
+ * @param {string} landingId
38306
+ * @param {*} [options] Override http request option.
38307
+ * @throws {RequiredError}
38308
+ */
38309
+ apiV1HospitalsHospitalIdLandingsLandingIdReactivePut(hospitalId: string, landingId: string, options?: any): AxiosPromise<boolean> {
38310
+ return localVarFp.apiV1HospitalsHospitalIdLandingsLandingIdReactivePut(hospitalId, landingId, options).then((request) => request(axios, basePath));
38311
+ },
38312
+ /**
38313
+ *
38314
+ * @summary Create HospitalLandings.
38315
+ * @param {string} hospitalId
38316
+ * @param {CreateLandingCommand} [createLandingCommand]
38317
+ * @param {*} [options] Override http request option.
38318
+ * @throws {RequiredError}
38319
+ */
38320
+ apiV1HospitalsHospitalIdLandingsPost(hospitalId: string, createLandingCommand?: CreateLandingCommand, options?: any): AxiosPromise<LandingModel> {
38321
+ return localVarFp.apiV1HospitalsHospitalIdLandingsPost(hospitalId, createLandingCommand, options).then((request) => request(axios, basePath));
38322
+ },
37100
38323
  /**
37101
38324
  *
37102
38325
  * @summary Get all GetAllLanguages.
@@ -38067,6 +39290,92 @@ export class HospitalsApi extends BaseAPI {
38067
39290
  return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdHandlesPost(hospitalId, createHospitalSnsHandleCommand, options).then((request) => request(this.axios, this.basePath));
38068
39291
  }
38069
39292
 
39293
+ /**
39294
+ *
39295
+ * @summary Get all GetAllLandings.
39296
+ * @param {string} hospitalId
39297
+ * @param {string} [name]
39298
+ * @param {string} [slug]
39299
+ * @param {string} [languageCode]
39300
+ * @param {boolean} [showHidden]
39301
+ * @param {number} [page]
39302
+ * @param {number} [limit]
39303
+ * @param {Date} [lastRetrieved]
39304
+ * @param {*} [options] Override http request option.
39305
+ * @throws {RequiredError}
39306
+ * @memberof HospitalsApi
39307
+ */
39308
+ public apiV1HospitalsHospitalIdLandingsGet(hospitalId: string, name?: string, slug?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
39309
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLandingsGet(hospitalId, name, slug, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
39310
+ }
39311
+
39312
+ /**
39313
+ *
39314
+ * @summary Delete Landing.
39315
+ * @param {string} hospitalId
39316
+ * @param {string} landingId
39317
+ * @param {*} [options] Override http request option.
39318
+ * @throws {RequiredError}
39319
+ * @memberof HospitalsApi
39320
+ */
39321
+ public apiV1HospitalsHospitalIdLandingsLandingIdDelete(hospitalId: string, landingId: string, options?: AxiosRequestConfig) {
39322
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLandingsLandingIdDelete(hospitalId, landingId, options).then((request) => request(this.axios, this.basePath));
39323
+ }
39324
+
39325
+ /**
39326
+ *
39327
+ * @summary Get Landing
39328
+ * @param {string} hospitalId
39329
+ * @param {string} landingId
39330
+ * @param {string} [languageCode]
39331
+ * @param {*} [options] Override http request option.
39332
+ * @throws {RequiredError}
39333
+ * @memberof HospitalsApi
39334
+ */
39335
+ public apiV1HospitalsHospitalIdLandingsLandingIdGet(hospitalId: string, landingId: string, languageCode?: string, options?: AxiosRequestConfig) {
39336
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLandingsLandingIdGet(hospitalId, landingId, languageCode, options).then((request) => request(this.axios, this.basePath));
39337
+ }
39338
+
39339
+ /**
39340
+ *
39341
+ * @summary Update Landing
39342
+ * @param {string} hospitalId
39343
+ * @param {string} landingId
39344
+ * @param {UpdateLandingCommand} [updateLandingCommand]
39345
+ * @param {*} [options] Override http request option.
39346
+ * @throws {RequiredError}
39347
+ * @memberof HospitalsApi
39348
+ */
39349
+ public apiV1HospitalsHospitalIdLandingsLandingIdPut(hospitalId: string, landingId: string, updateLandingCommand?: UpdateLandingCommand, options?: AxiosRequestConfig) {
39350
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLandingsLandingIdPut(hospitalId, landingId, updateLandingCommand, options).then((request) => request(this.axios, this.basePath));
39351
+ }
39352
+
39353
+ /**
39354
+ *
39355
+ * @summary Reactivate Landing
39356
+ * @param {string} hospitalId
39357
+ * @param {string} landingId
39358
+ * @param {*} [options] Override http request option.
39359
+ * @throws {RequiredError}
39360
+ * @memberof HospitalsApi
39361
+ */
39362
+ public apiV1HospitalsHospitalIdLandingsLandingIdReactivePut(hospitalId: string, landingId: string, options?: AxiosRequestConfig) {
39363
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLandingsLandingIdReactivePut(hospitalId, landingId, options).then((request) => request(this.axios, this.basePath));
39364
+ }
39365
+
39366
+ /**
39367
+ *
39368
+ * @summary Create HospitalLandings.
39369
+ * @param {string} hospitalId
39370
+ * @param {CreateLandingCommand} [createLandingCommand]
39371
+ * @param {*} [options] Override http request option.
39372
+ * @throws {RequiredError}
39373
+ * @memberof HospitalsApi
39374
+ */
39375
+ public apiV1HospitalsHospitalIdLandingsPost(hospitalId: string, createLandingCommand?: CreateLandingCommand, options?: AxiosRequestConfig) {
39376
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLandingsPost(hospitalId, createLandingCommand, options).then((request) => request(this.axios, this.basePath));
39377
+ }
39378
+
38070
39379
  /**
38071
39380
  *
38072
39381
  * @summary Get all GetAllLanguages.
@@ -42515,6 +43824,8 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
42515
43824
  * @param {string} [id]
42516
43825
  * @param {string} [serviceId]
42517
43826
  * @param {string} [serviceName]
43827
+ * @param {string} [hospitalId]
43828
+ * @param {string} [hospitalName]
42518
43829
  * @param {string} [patientId]
42519
43830
  * @param {string} [patientName]
42520
43831
  * @param {Gender} [gender]
@@ -42529,7 +43840,7 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
42529
43840
  * @param {*} [options] Override http request option.
42530
43841
  * @throws {RequiredError}
42531
43842
  */
42532
- apiV1ServicereviewsGet: async (id?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
43843
+ apiV1ServicereviewsGet: async (id?: string, serviceId?: string, serviceName?: string, hospitalId?: string, hospitalName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
42533
43844
  const localVarPath = `/api/v1/servicereviews`;
42534
43845
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
42535
43846
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -42558,6 +43869,14 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
42558
43869
  localVarQueryParameter['ServiceName'] = serviceName;
42559
43870
  }
42560
43871
 
43872
+ if (hospitalId !== undefined) {
43873
+ localVarQueryParameter['HospitalId'] = hospitalId;
43874
+ }
43875
+
43876
+ if (hospitalName !== undefined) {
43877
+ localVarQueryParameter['HospitalName'] = hospitalName;
43878
+ }
43879
+
42561
43880
  if (patientId !== undefined) {
42562
43881
  localVarQueryParameter['PatientId'] = patientId;
42563
43882
  }
@@ -43028,6 +44347,8 @@ export const ServiceReviewsApiFp = function(configuration?: Configuration) {
43028
44347
  * @param {string} [id]
43029
44348
  * @param {string} [serviceId]
43030
44349
  * @param {string} [serviceName]
44350
+ * @param {string} [hospitalId]
44351
+ * @param {string} [hospitalName]
43031
44352
  * @param {string} [patientId]
43032
44353
  * @param {string} [patientName]
43033
44354
  * @param {Gender} [gender]
@@ -43042,8 +44363,8 @@ export const ServiceReviewsApiFp = function(configuration?: Configuration) {
43042
44363
  * @param {*} [options] Override http request option.
43043
44364
  * @throws {RequiredError}
43044
44365
  */
43045
- async apiV1ServicereviewsGet(id?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewsModel>> {
43046
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewsGet(id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options);
44366
+ async apiV1ServicereviewsGet(id?: string, serviceId?: string, serviceName?: string, hospitalId?: string, hospitalName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewsModel>> {
44367
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewsGet(id, serviceId, serviceName, hospitalId, hospitalName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options);
43047
44368
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
43048
44369
  },
43049
44370
  /**
@@ -43172,6 +44493,8 @@ export const ServiceReviewsApiFactory = function (configuration?: Configuration,
43172
44493
  * @param {string} [id]
43173
44494
  * @param {string} [serviceId]
43174
44495
  * @param {string} [serviceName]
44496
+ * @param {string} [hospitalId]
44497
+ * @param {string} [hospitalName]
43175
44498
  * @param {string} [patientId]
43176
44499
  * @param {string} [patientName]
43177
44500
  * @param {Gender} [gender]
@@ -43186,8 +44509,8 @@ export const ServiceReviewsApiFactory = function (configuration?: Configuration,
43186
44509
  * @param {*} [options] Override http request option.
43187
44510
  * @throws {RequiredError}
43188
44511
  */
43189
- apiV1ServicereviewsGet(id?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServiceReviewsModel> {
43190
- return localVarFp.apiV1ServicereviewsGet(id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
44512
+ apiV1ServicereviewsGet(id?: string, serviceId?: string, serviceName?: string, hospitalId?: string, hospitalName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServiceReviewsModel> {
44513
+ return localVarFp.apiV1ServicereviewsGet(id, serviceId, serviceName, hospitalId, hospitalName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
43191
44514
  },
43192
44515
  /**
43193
44516
  *
@@ -43306,6 +44629,8 @@ export class ServiceReviewsApi extends BaseAPI {
43306
44629
  * @param {string} [id]
43307
44630
  * @param {string} [serviceId]
43308
44631
  * @param {string} [serviceName]
44632
+ * @param {string} [hospitalId]
44633
+ * @param {string} [hospitalName]
43309
44634
  * @param {string} [patientId]
43310
44635
  * @param {string} [patientName]
43311
44636
  * @param {Gender} [gender]
@@ -43321,8 +44646,8 @@ export class ServiceReviewsApi extends BaseAPI {
43321
44646
  * @throws {RequiredError}
43322
44647
  * @memberof ServiceReviewsApi
43323
44648
  */
43324
- public apiV1ServicereviewsGet(id?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
43325
- return ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsGet(id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
44649
+ public apiV1ServicereviewsGet(id?: string, serviceId?: string, serviceName?: string, hospitalId?: string, hospitalName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
44650
+ return ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsGet(id, serviceId, serviceName, hospitalId, hospitalName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
43326
44651
  }
43327
44652
 
43328
44653
  /**