ch-api-client-typescript2 2.8.20 → 2.9.3

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
@@ -102,6 +102,73 @@ export interface AccreditationsModel {
102
102
  */
103
103
  'metaData'?: PagedListMetaData;
104
104
  }
105
+ /**
106
+ *
107
+ * @export
108
+ * @interface AdminMessageModel
109
+ */
110
+ export interface AdminMessageModel {
111
+ /**
112
+ *
113
+ * @type {number}
114
+ * @memberof AdminMessageModel
115
+ */
116
+ 'message_id'?: number;
117
+ /**
118
+ *
119
+ * @type {string}
120
+ * @memberof AdminMessageModel
121
+ */
122
+ 'type'?: string | null;
123
+ /**
124
+ *
125
+ * @type {string}
126
+ * @memberof AdminMessageModel
127
+ */
128
+ 'custom_type'?: string | null;
129
+ /**
130
+ *
131
+ * @type {string}
132
+ * @memberof AdminMessageModel
133
+ */
134
+ 'channel_url'?: string | null;
135
+ /**
136
+ *
137
+ * @type {string}
138
+ * @memberof AdminMessageModel
139
+ */
140
+ 'mention_type'?: string | null;
141
+ /**
142
+ *
143
+ * @type {boolean}
144
+ * @memberof AdminMessageModel
145
+ */
146
+ 'is_removed'?: boolean;
147
+ /**
148
+ *
149
+ * @type {string}
150
+ * @memberof AdminMessageModel
151
+ */
152
+ 'message'?: string | null;
153
+ /**
154
+ *
155
+ * @type {string}
156
+ * @memberof AdminMessageModel
157
+ */
158
+ 'data'?: string | null;
159
+ /**
160
+ *
161
+ * @type {number}
162
+ * @memberof AdminMessageModel
163
+ */
164
+ 'created_at'?: number;
165
+ /**
166
+ *
167
+ * @type {number}
168
+ * @memberof AdminMessageModel
169
+ */
170
+ 'updated_at'?: number;
171
+ }
105
172
  /**
106
173
  *
107
174
  * @export
@@ -1062,6 +1129,18 @@ export interface BookingItemModel {
1062
1129
  * @memberof BookingItemModel
1063
1130
  */
1064
1131
  'timeZone'?: string | null;
1132
+ /**
1133
+ *
1134
+ * @type {Date}
1135
+ * @memberof BookingItemModel
1136
+ */
1137
+ 'requestDate'?: Date;
1138
+ /**
1139
+ *
1140
+ * @type {string}
1141
+ * @memberof BookingItemModel
1142
+ */
1143
+ 'incomeDomain'?: string | null;
1065
1144
  /**
1066
1145
  *
1067
1146
  * @type {BookingStatus}
@@ -1267,6 +1346,18 @@ export interface BookingModel {
1267
1346
  * @memberof BookingModel
1268
1347
  */
1269
1348
  'timeZone'?: string | null;
1349
+ /**
1350
+ *
1351
+ * @type {Date}
1352
+ * @memberof BookingModel
1353
+ */
1354
+ 'requestDate'?: Date;
1355
+ /**
1356
+ *
1357
+ * @type {string}
1358
+ * @memberof BookingModel
1359
+ */
1360
+ 'incomeDomain'?: string | null;
1270
1361
  /**
1271
1362
  *
1272
1363
  * @type {BookingStatus}
@@ -1760,6 +1851,18 @@ export interface ConsultationItemModel {
1760
1851
  * @memberof ConsultationItemModel
1761
1852
  */
1762
1853
  'timeZone'?: string | null;
1854
+ /**
1855
+ *
1856
+ * @type {Date}
1857
+ * @memberof ConsultationItemModel
1858
+ */
1859
+ 'requestDate'?: Date;
1860
+ /**
1861
+ *
1862
+ * @type {string}
1863
+ * @memberof ConsultationItemModel
1864
+ */
1865
+ 'incomeDomain'?: string | null;
1763
1866
  /**
1764
1867
  *
1765
1868
  * @type {ConsultationStatus}
@@ -2025,6 +2128,18 @@ export interface ConsultationModel {
2025
2128
  * @memberof ConsultationModel
2026
2129
  */
2027
2130
  'timeZone'?: string | null;
2131
+ /**
2132
+ *
2133
+ * @type {Date}
2134
+ * @memberof ConsultationModel
2135
+ */
2136
+ 'requestDate'?: Date;
2137
+ /**
2138
+ *
2139
+ * @type {string}
2140
+ * @memberof ConsultationModel
2141
+ */
2142
+ 'incomeDomain'?: string | null;
2028
2143
  /**
2029
2144
  *
2030
2145
  * @type {ConsultationStatus}
@@ -6752,6 +6867,19 @@ export interface HospitalsSimpleModel {
6752
6867
  */
6753
6868
  'metaData'?: PagedListMetaData;
6754
6869
  }
6870
+ /**
6871
+ *
6872
+ * @export
6873
+ * @interface InviteSendBirdGroupChannelCommand
6874
+ */
6875
+ export interface InviteSendBirdGroupChannelCommand {
6876
+ /**
6877
+ *
6878
+ * @type {Array<string>}
6879
+ * @memberof InviteSendBirdGroupChannelCommand
6880
+ */
6881
+ 'user_ids'?: Array<string> | null;
6882
+ }
6755
6883
  /**
6756
6884
  *
6757
6885
  * @export
@@ -7218,6 +7346,31 @@ export interface MembershipsModel {
7218
7346
  */
7219
7347
  'metaData'?: PagedListMetaData;
7220
7348
  }
7349
+ /**
7350
+ *
7351
+ * @export
7352
+ * @interface Metadata
7353
+ */
7354
+ export interface Metadata {
7355
+ /**
7356
+ *
7357
+ * @type {string}
7358
+ * @memberof Metadata
7359
+ */
7360
+ 'location'?: string | null;
7361
+ /**
7362
+ *
7363
+ * @type {string}
7364
+ * @memberof Metadata
7365
+ */
7366
+ 'marriage'?: string | null;
7367
+ /**
7368
+ *
7369
+ * @type {string}
7370
+ * @memberof Metadata
7371
+ */
7372
+ 'hasSomeone'?: string | null;
7373
+ }
7221
7374
  /**
7222
7375
  *
7223
7376
  * @export
@@ -7902,227 +8055,446 @@ export enum ReviewType {
7902
8055
  /**
7903
8056
  *
7904
8057
  * @export
7905
- * @interface ServiceCategoriesModel
8058
+ * @interface SendBirdGroupChannelMember
7906
8059
  */
7907
- export interface ServiceCategoriesModel {
8060
+ export interface SendBirdGroupChannelMember {
7908
8061
  /**
7909
8062
  *
7910
- * @type {Array<ServiceCategoryItemModel>}
7911
- * @memberof ServiceCategoriesModel
8063
+ * @type {string}
8064
+ * @memberof SendBirdGroupChannelMember
7912
8065
  */
7913
- 'items'?: Array<ServiceCategoryItemModel> | null;
8066
+ 'user_id'?: string | null;
7914
8067
  /**
7915
8068
  *
7916
- * @type {PagedListMetaData}
7917
- * @memberof ServiceCategoriesModel
8069
+ * @type {string}
8070
+ * @memberof SendBirdGroupChannelMember
7918
8071
  */
7919
- 'metaData'?: PagedListMetaData;
7920
- }
7921
- /**
7922
- *
7923
- * @export
7924
- * @interface ServiceCategoryItemModel
7925
- */
7926
- export interface ServiceCategoryItemModel {
8072
+ 'nickname'?: string | null;
7927
8073
  /**
7928
8074
  *
7929
8075
  * @type {string}
7930
- * @memberof ServiceCategoryItemModel
8076
+ * @memberof SendBirdGroupChannelMember
7931
8077
  */
7932
- 'id'?: string;
8078
+ 'profile_url'?: string | null;
7933
8079
  /**
7934
8080
  *
7935
- * @type {string}
7936
- * @memberof ServiceCategoryItemModel
8081
+ * @type {boolean}
8082
+ * @memberof SendBirdGroupChannelMember
7937
8083
  */
7938
- 'name'?: string | null;
8084
+ 'is_active'?: boolean;
7939
8085
  /**
7940
8086
  *
7941
- * @type {string}
7942
- * @memberof ServiceCategoryItemModel
8087
+ * @type {boolean}
8088
+ * @memberof SendBirdGroupChannelMember
7943
8089
  */
7944
- 'normalizedName'?: string | null;
8090
+ 'is_online'?: boolean;
7945
8091
  /**
7946
8092
  *
7947
- * @type {string}
7948
- * @memberof ServiceCategoryItemModel
8093
+ * @type {Array<string>}
8094
+ * @memberof SendBirdGroupChannelMember
7949
8095
  */
7950
- 'description'?: string | null;
8096
+ 'friend_discovery_key'?: Array<string> | null;
7951
8097
  /**
7952
8098
  *
7953
8099
  * @type {number}
7954
- * @memberof ServiceCategoryItemModel
8100
+ * @memberof SendBirdGroupChannelMember
7955
8101
  */
7956
- 'order'?: number;
8102
+ 'last_seen_at'?: number;
7957
8103
  /**
7958
8104
  *
7959
- * @type {number}
7960
- * @memberof ServiceCategoryItemModel
8105
+ * @type {string}
8106
+ * @memberof SendBirdGroupChannelMember
7961
8107
  */
7962
- 'serviceCount'?: number;
8108
+ 'state'?: string | null;
8109
+ /**
8110
+ *
8111
+ * @type {string}
8112
+ * @memberof SendBirdGroupChannelMember
8113
+ */
8114
+ 'role'?: string | null;
8115
+ /**
8116
+ *
8117
+ * @type {Metadata}
8118
+ * @memberof SendBirdGroupChannelMember
8119
+ */
8120
+ 'metadata'?: Metadata;
7963
8121
  }
7964
8122
  /**
7965
8123
  *
7966
8124
  * @export
7967
- * @interface ServiceCategoryModel
8125
+ * @interface SendBirdGroupChannelModel
7968
8126
  */
7969
- export interface ServiceCategoryModel {
7970
- /**
7971
- *
7972
- * @type {string}
7973
- * @memberof ServiceCategoryModel
7974
- */
7975
- 'id'?: string;
8127
+ export interface SendBirdGroupChannelModel {
7976
8128
  /**
7977
8129
  *
7978
8130
  * @type {string}
7979
- * @memberof ServiceCategoryModel
8131
+ * @memberof SendBirdGroupChannelModel
7980
8132
  */
7981
8133
  'name'?: string | null;
7982
8134
  /**
7983
8135
  *
7984
8136
  * @type {string}
7985
- * @memberof ServiceCategoryModel
8137
+ * @memberof SendBirdGroupChannelModel
7986
8138
  */
7987
- 'normalizedName'?: string | null;
8139
+ 'channel_url'?: string | null;
7988
8140
  /**
7989
8141
  *
7990
8142
  * @type {string}
7991
- * @memberof ServiceCategoryModel
8143
+ * @memberof SendBirdGroupChannelModel
7992
8144
  */
7993
- 'description'?: string | null;
8145
+ 'cover_url'?: string | null;
7994
8146
  /**
7995
8147
  *
7996
- * @type {number}
7997
- * @memberof ServiceCategoryModel
8148
+ * @type {string}
8149
+ * @memberof SendBirdGroupChannelModel
7998
8150
  */
7999
- 'order'?: number;
8151
+ 'custom_type'?: string | null;
8000
8152
  /**
8001
8153
  *
8002
8154
  * @type {number}
8003
- * @memberof ServiceCategoryModel
8155
+ * @memberof SendBirdGroupChannelModel
8004
8156
  */
8005
- 'serviceCount'?: number;
8006
- }
8007
- /**
8008
- *
8009
- * @export
8010
- * @interface ServiceReviewItemModel
8011
- */
8012
- export interface ServiceReviewItemModel {
8157
+ 'unread_message_count'?: number;
8013
8158
  /**
8014
8159
  *
8015
8160
  * @type {string}
8016
- * @memberof ServiceReviewItemModel
8161
+ * @memberof SendBirdGroupChannelModel
8017
8162
  */
8018
- 'id'?: string;
8163
+ 'data'?: string | null;
8019
8164
  /**
8020
8165
  *
8021
- * @type {string}
8022
- * @memberof ServiceReviewItemModel
8166
+ * @type {boolean}
8167
+ * @memberof SendBirdGroupChannelModel
8023
8168
  */
8024
- 'serviceId'?: string;
8169
+ 'is_distinct'?: boolean;
8025
8170
  /**
8026
8171
  *
8027
- * @type {string}
8028
- * @memberof ServiceReviewItemModel
8172
+ * @type {boolean}
8173
+ * @memberof SendBirdGroupChannelModel
8029
8174
  */
8030
- 'serviceName'?: string | null;
8175
+ 'is_public'?: boolean;
8031
8176
  /**
8032
8177
  *
8033
- * @type {string}
8034
- * @memberof ServiceReviewItemModel
8178
+ * @type {boolean}
8179
+ * @memberof SendBirdGroupChannelModel
8035
8180
  */
8036
- 'patientId'?: string | null;
8181
+ 'is_super'?: boolean;
8037
8182
  /**
8038
8183
  *
8039
- * @type {string}
8040
- * @memberof ServiceReviewItemModel
8184
+ * @type {boolean}
8185
+ * @memberof SendBirdGroupChannelModel
8041
8186
  */
8042
- 'patientName'?: string | null;
8187
+ 'is_ephemeral'?: boolean;
8043
8188
  /**
8044
8189
  *
8045
- * @type {Gender}
8046
- * @memberof ServiceReviewItemModel
8190
+ * @type {boolean}
8191
+ * @memberof SendBirdGroupChannelModel
8047
8192
  */
8048
- 'patientGender'?: Gender;
8193
+ 'is_access_code_required'?: boolean;
8049
8194
  /**
8050
8195
  *
8051
8196
  * @type {string}
8052
- * @memberof ServiceReviewItemModel
8197
+ * @memberof SendBirdGroupChannelModel
8053
8198
  */
8054
- 'patientPhoto'?: string | null;
8199
+ 'hidden_state'?: string | null;
8055
8200
  /**
8056
8201
  *
8057
- * @type {string}
8058
- * @memberof ServiceReviewItemModel
8202
+ * @type {number}
8203
+ * @memberof SendBirdGroupChannelModel
8059
8204
  */
8060
- 'patientPhotoThumbnail'?: string | null;
8205
+ 'member_count'?: number;
8061
8206
  /**
8062
8207
  *
8063
- * @type {Date}
8064
- * @memberof ServiceReviewItemModel
8208
+ * @type {number}
8209
+ * @memberof SendBirdGroupChannelModel
8065
8210
  */
8066
- 'patientCreatedDate'?: Date | null;
8211
+ 'joined_member_count'?: number;
8067
8212
  /**
8068
8213
  *
8069
- * @type {string}
8070
- * @memberof ServiceReviewItemModel
8214
+ * @type {Array<SendBirdGroupChannelMember>}
8215
+ * @memberof SendBirdGroupChannelModel
8071
8216
  */
8072
- 'body'?: string | null;
8217
+ 'members'?: Array<SendBirdGroupChannelMember> | null;
8073
8218
  /**
8074
8219
  *
8075
- * @type {boolean}
8076
- * @memberof ServiceReviewItemModel
8220
+ * @type {Array<SendBirdGroupChannelrOperator>}
8221
+ * @memberof SendBirdGroupChannelModel
8077
8222
  */
8078
- 'recommended'?: boolean;
8223
+ 'operators'?: Array<SendBirdGroupChannelrOperator> | null;
8079
8224
  /**
8080
8225
  *
8081
8226
  * @type {number}
8082
- * @memberof ServiceReviewItemModel
8227
+ * @memberof SendBirdGroupChannelModel
8083
8228
  */
8084
- 'rate'?: number;
8229
+ 'max_length_message'?: number;
8085
8230
  /**
8086
8231
  *
8087
- * @type {ReviewType}
8088
- * @memberof ServiceReviewItemModel
8232
+ * @type {AdminMessageModel}
8233
+ * @memberof SendBirdGroupChannelModel
8089
8234
  */
8090
- 'reviewType'?: ReviewType;
8235
+ 'last_message'?: AdminMessageModel;
8091
8236
  /**
8092
8237
  *
8093
- * @type {Array<MediaModel>}
8094
- * @memberof ServiceReviewItemModel
8238
+ * @type {number}
8239
+ * @memberof SendBirdGroupChannelModel
8095
8240
  */
8096
- 'medias'?: Array<MediaModel> | null;
8241
+ 'created_at'?: number;
8242
+ /**
8243
+ *
8244
+ * @type {boolean}
8245
+ * @memberof SendBirdGroupChannelModel
8246
+ */
8247
+ 'freeze'?: boolean;
8097
8248
  }
8098
8249
  /**
8099
8250
  *
8100
8251
  * @export
8101
- * @interface ServiceReviewModel
8252
+ * @interface SendBirdGroupChannelrOperator
8102
8253
  */
8103
- export interface ServiceReviewModel {
8254
+ export interface SendBirdGroupChannelrOperator {
8104
8255
  /**
8105
8256
  *
8106
8257
  * @type {string}
8107
- * @memberof ServiceReviewModel
8258
+ * @memberof SendBirdGroupChannelrOperator
8108
8259
  */
8109
- 'id'?: string;
8260
+ 'user_id'?: string | null;
8110
8261
  /**
8111
8262
  *
8112
8263
  * @type {string}
8113
- * @memberof ServiceReviewModel
8264
+ * @memberof SendBirdGroupChannelrOperator
8114
8265
  */
8115
- 'serviceId'?: string;
8266
+ 'nickname'?: string | null;
8116
8267
  /**
8117
8268
  *
8118
8269
  * @type {string}
8119
- * @memberof ServiceReviewModel
8270
+ * @memberof SendBirdGroupChannelrOperator
8120
8271
  */
8121
- 'serviceName'?: string | null;
8272
+ 'profile_url'?: string | null;
8273
+ }
8274
+ /**
8275
+ *
8276
+ * @export
8277
+ * @interface ServiceCategoriesModel
8278
+ */
8279
+ export interface ServiceCategoriesModel {
8122
8280
  /**
8123
8281
  *
8124
- * @type {string}
8125
- * @memberof ServiceReviewModel
8282
+ * @type {Array<ServiceCategoryItemModel>}
8283
+ * @memberof ServiceCategoriesModel
8284
+ */
8285
+ 'items'?: Array<ServiceCategoryItemModel> | null;
8286
+ /**
8287
+ *
8288
+ * @type {PagedListMetaData}
8289
+ * @memberof ServiceCategoriesModel
8290
+ */
8291
+ 'metaData'?: PagedListMetaData;
8292
+ }
8293
+ /**
8294
+ *
8295
+ * @export
8296
+ * @interface ServiceCategoryItemModel
8297
+ */
8298
+ export interface ServiceCategoryItemModel {
8299
+ /**
8300
+ *
8301
+ * @type {string}
8302
+ * @memberof ServiceCategoryItemModel
8303
+ */
8304
+ 'id'?: string;
8305
+ /**
8306
+ *
8307
+ * @type {string}
8308
+ * @memberof ServiceCategoryItemModel
8309
+ */
8310
+ 'name'?: string | null;
8311
+ /**
8312
+ *
8313
+ * @type {string}
8314
+ * @memberof ServiceCategoryItemModel
8315
+ */
8316
+ 'normalizedName'?: string | null;
8317
+ /**
8318
+ *
8319
+ * @type {string}
8320
+ * @memberof ServiceCategoryItemModel
8321
+ */
8322
+ 'description'?: string | null;
8323
+ /**
8324
+ *
8325
+ * @type {number}
8326
+ * @memberof ServiceCategoryItemModel
8327
+ */
8328
+ 'order'?: number;
8329
+ /**
8330
+ *
8331
+ * @type {number}
8332
+ * @memberof ServiceCategoryItemModel
8333
+ */
8334
+ 'serviceCount'?: number;
8335
+ }
8336
+ /**
8337
+ *
8338
+ * @export
8339
+ * @interface ServiceCategoryModel
8340
+ */
8341
+ export interface ServiceCategoryModel {
8342
+ /**
8343
+ *
8344
+ * @type {string}
8345
+ * @memberof ServiceCategoryModel
8346
+ */
8347
+ 'id'?: string;
8348
+ /**
8349
+ *
8350
+ * @type {string}
8351
+ * @memberof ServiceCategoryModel
8352
+ */
8353
+ 'name'?: string | null;
8354
+ /**
8355
+ *
8356
+ * @type {string}
8357
+ * @memberof ServiceCategoryModel
8358
+ */
8359
+ 'normalizedName'?: string | null;
8360
+ /**
8361
+ *
8362
+ * @type {string}
8363
+ * @memberof ServiceCategoryModel
8364
+ */
8365
+ 'description'?: string | null;
8366
+ /**
8367
+ *
8368
+ * @type {number}
8369
+ * @memberof ServiceCategoryModel
8370
+ */
8371
+ 'order'?: number;
8372
+ /**
8373
+ *
8374
+ * @type {number}
8375
+ * @memberof ServiceCategoryModel
8376
+ */
8377
+ 'serviceCount'?: number;
8378
+ }
8379
+ /**
8380
+ *
8381
+ * @export
8382
+ * @interface ServiceReviewItemModel
8383
+ */
8384
+ export interface ServiceReviewItemModel {
8385
+ /**
8386
+ *
8387
+ * @type {string}
8388
+ * @memberof ServiceReviewItemModel
8389
+ */
8390
+ 'id'?: string;
8391
+ /**
8392
+ *
8393
+ * @type {string}
8394
+ * @memberof ServiceReviewItemModel
8395
+ */
8396
+ 'serviceId'?: string;
8397
+ /**
8398
+ *
8399
+ * @type {string}
8400
+ * @memberof ServiceReviewItemModel
8401
+ */
8402
+ 'serviceName'?: string | null;
8403
+ /**
8404
+ *
8405
+ * @type {string}
8406
+ * @memberof ServiceReviewItemModel
8407
+ */
8408
+ 'patientId'?: string | null;
8409
+ /**
8410
+ *
8411
+ * @type {string}
8412
+ * @memberof ServiceReviewItemModel
8413
+ */
8414
+ 'patientName'?: string | null;
8415
+ /**
8416
+ *
8417
+ * @type {Gender}
8418
+ * @memberof ServiceReviewItemModel
8419
+ */
8420
+ 'patientGender'?: Gender;
8421
+ /**
8422
+ *
8423
+ * @type {string}
8424
+ * @memberof ServiceReviewItemModel
8425
+ */
8426
+ 'patientPhoto'?: string | null;
8427
+ /**
8428
+ *
8429
+ * @type {string}
8430
+ * @memberof ServiceReviewItemModel
8431
+ */
8432
+ 'patientPhotoThumbnail'?: string | null;
8433
+ /**
8434
+ *
8435
+ * @type {Date}
8436
+ * @memberof ServiceReviewItemModel
8437
+ */
8438
+ 'patientCreatedDate'?: Date | null;
8439
+ /**
8440
+ *
8441
+ * @type {string}
8442
+ * @memberof ServiceReviewItemModel
8443
+ */
8444
+ 'body'?: string | null;
8445
+ /**
8446
+ *
8447
+ * @type {boolean}
8448
+ * @memberof ServiceReviewItemModel
8449
+ */
8450
+ 'recommended'?: boolean;
8451
+ /**
8452
+ *
8453
+ * @type {number}
8454
+ * @memberof ServiceReviewItemModel
8455
+ */
8456
+ 'rate'?: number;
8457
+ /**
8458
+ *
8459
+ * @type {ReviewType}
8460
+ * @memberof ServiceReviewItemModel
8461
+ */
8462
+ 'reviewType'?: ReviewType;
8463
+ /**
8464
+ *
8465
+ * @type {Array<MediaModel>}
8466
+ * @memberof ServiceReviewItemModel
8467
+ */
8468
+ 'medias'?: Array<MediaModel> | null;
8469
+ }
8470
+ /**
8471
+ *
8472
+ * @export
8473
+ * @interface ServiceReviewModel
8474
+ */
8475
+ export interface ServiceReviewModel {
8476
+ /**
8477
+ *
8478
+ * @type {string}
8479
+ * @memberof ServiceReviewModel
8480
+ */
8481
+ 'id'?: string;
8482
+ /**
8483
+ *
8484
+ * @type {string}
8485
+ * @memberof ServiceReviewModel
8486
+ */
8487
+ 'serviceId'?: string;
8488
+ /**
8489
+ *
8490
+ * @type {string}
8491
+ * @memberof ServiceReviewModel
8492
+ */
8493
+ 'serviceName'?: string | null;
8494
+ /**
8495
+ *
8496
+ * @type {string}
8497
+ * @memberof ServiceReviewModel
8126
8498
  */
8127
8499
  'patientId'?: string | null;
8128
8500
  /**
@@ -11088,13 +11460,14 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
11088
11460
  * @param {boolean} [isCompleted]
11089
11461
  * @param {BookingStatus} [status]
11090
11462
  * @param {string} [dealPackageId]
11463
+ * @param {string} [hospitalId]
11091
11464
  * @param {number} [page]
11092
11465
  * @param {number} [limit]
11093
11466
  * @param {Date} [lastRetrieved]
11094
11467
  * @param {*} [options] Override http request option.
11095
11468
  * @throws {RequiredError}
11096
11469
  */
11097
- apiV2BookingsGet: async (searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: BookingStatus, dealPackageId?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
11470
+ apiV2BookingsGet: async (searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: BookingStatus, dealPackageId?: string, hospitalId?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
11098
11471
  const localVarPath = `/api/v2/bookings`;
11099
11472
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
11100
11473
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -11131,6 +11504,10 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
11131
11504
  localVarQueryParameter['DealPackageId'] = dealPackageId;
11132
11505
  }
11133
11506
 
11507
+ if (hospitalId !== undefined) {
11508
+ localVarQueryParameter['HospitalId'] = hospitalId;
11509
+ }
11510
+
11134
11511
  if (page !== undefined) {
11135
11512
  localVarQueryParameter['page'] = page;
11136
11513
  }
@@ -11307,14 +11684,15 @@ export const BookingsApiFp = function(configuration?: Configuration) {
11307
11684
  * @param {boolean} [isCompleted]
11308
11685
  * @param {BookingStatus} [status]
11309
11686
  * @param {string} [dealPackageId]
11687
+ * @param {string} [hospitalId]
11310
11688
  * @param {number} [page]
11311
11689
  * @param {number} [limit]
11312
11690
  * @param {Date} [lastRetrieved]
11313
11691
  * @param {*} [options] Override http request option.
11314
11692
  * @throws {RequiredError}
11315
11693
  */
11316
- async apiV2BookingsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: BookingStatus, dealPackageId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingsModel>> {
11317
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, page, limit, lastRetrieved, options);
11694
+ async apiV2BookingsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: BookingStatus, dealPackageId?: string, hospitalId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingsModel>> {
11695
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, hospitalId, page, limit, lastRetrieved, options);
11318
11696
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
11319
11697
  },
11320
11698
  /**
@@ -11430,14 +11808,15 @@ export const BookingsApiFactory = function (configuration?: Configuration, baseP
11430
11808
  * @param {boolean} [isCompleted]
11431
11809
  * @param {BookingStatus} [status]
11432
11810
  * @param {string} [dealPackageId]
11811
+ * @param {string} [hospitalId]
11433
11812
  * @param {number} [page]
11434
11813
  * @param {number} [limit]
11435
11814
  * @param {Date} [lastRetrieved]
11436
11815
  * @param {*} [options] Override http request option.
11437
11816
  * @throws {RequiredError}
11438
11817
  */
11439
- apiV2BookingsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: BookingStatus, dealPackageId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<BookingsModel> {
11440
- return localVarFp.apiV2BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
11818
+ apiV2BookingsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: BookingStatus, dealPackageId?: string, hospitalId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<BookingsModel> {
11819
+ return localVarFp.apiV2BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, hospitalId, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
11441
11820
  },
11442
11821
  /**
11443
11822
  *
@@ -11567,6 +11946,7 @@ export class BookingsApi extends BaseAPI {
11567
11946
  * @param {boolean} [isCompleted]
11568
11947
  * @param {BookingStatus} [status]
11569
11948
  * @param {string} [dealPackageId]
11949
+ * @param {string} [hospitalId]
11570
11950
  * @param {number} [page]
11571
11951
  * @param {number} [limit]
11572
11952
  * @param {Date} [lastRetrieved]
@@ -11574,8 +11954,8 @@ export class BookingsApi extends BaseAPI {
11574
11954
  * @throws {RequiredError}
11575
11955
  * @memberof BookingsApi
11576
11956
  */
11577
- public apiV2BookingsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: BookingStatus, dealPackageId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
11578
- return BookingsApiFp(this.configuration).apiV2BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
11957
+ public apiV2BookingsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: BookingStatus, dealPackageId?: string, hospitalId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
11958
+ return BookingsApiFp(this.configuration).apiV2BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, hospitalId, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
11579
11959
  }
11580
11960
 
11581
11961
  /**
@@ -12608,13 +12988,14 @@ export const ConsultationsApiAxiosParamCreator = function (configuration?: Confi
12608
12988
  * @param {boolean} [isCompleted]
12609
12989
  * @param {ConsultationStatus} [status]
12610
12990
  * @param {ConsultationType} [consultationType]
12991
+ * @param {string} [hospitalId]
12611
12992
  * @param {number} [page]
12612
12993
  * @param {number} [limit]
12613
12994
  * @param {Date} [lastRetrieved]
12614
12995
  * @param {*} [options] Override http request option.
12615
12996
  * @throws {RequiredError}
12616
12997
  */
12617
- apiV2ConsultationsGet: async (searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
12998
+ apiV2ConsultationsGet: async (searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, hospitalId?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
12618
12999
  const localVarPath = `/api/v2/consultations`;
12619
13000
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
12620
13001
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -12651,6 +13032,10 @@ export const ConsultationsApiAxiosParamCreator = function (configuration?: Confi
12651
13032
  localVarQueryParameter['ConsultationType'] = consultationType;
12652
13033
  }
12653
13034
 
13035
+ if (hospitalId !== undefined) {
13036
+ localVarQueryParameter['HospitalId'] = hospitalId;
13037
+ }
13038
+
12654
13039
  if (page !== undefined) {
12655
13040
  localVarQueryParameter['page'] = page;
12656
13041
  }
@@ -12816,14 +13201,15 @@ export const ConsultationsApiFp = function(configuration?: Configuration) {
12816
13201
  * @param {boolean} [isCompleted]
12817
13202
  * @param {ConsultationStatus} [status]
12818
13203
  * @param {ConsultationType} [consultationType]
13204
+ * @param {string} [hospitalId]
12819
13205
  * @param {number} [page]
12820
13206
  * @param {number} [limit]
12821
13207
  * @param {Date} [lastRetrieved]
12822
13208
  * @param {*} [options] Override http request option.
12823
13209
  * @throws {RequiredError}
12824
13210
  */
12825
- async apiV2ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsultationsModel>> {
12826
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, page, limit, lastRetrieved, options);
13211
+ async apiV2ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, hospitalId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsultationsModel>> {
13212
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, hospitalId, page, limit, lastRetrieved, options);
12827
13213
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
12828
13214
  },
12829
13215
  /**
@@ -12929,14 +13315,15 @@ export const ConsultationsApiFactory = function (configuration?: Configuration,
12929
13315
  * @param {boolean} [isCompleted]
12930
13316
  * @param {ConsultationStatus} [status]
12931
13317
  * @param {ConsultationType} [consultationType]
13318
+ * @param {string} [hospitalId]
12932
13319
  * @param {number} [page]
12933
13320
  * @param {number} [limit]
12934
13321
  * @param {Date} [lastRetrieved]
12935
13322
  * @param {*} [options] Override http request option.
12936
13323
  * @throws {RequiredError}
12937
13324
  */
12938
- apiV2ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ConsultationsModel> {
12939
- return localVarFp.apiV2ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
13325
+ apiV2ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, hospitalId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ConsultationsModel> {
13326
+ return localVarFp.apiV2ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, hospitalId, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
12940
13327
  },
12941
13328
  /**
12942
13329
  *
@@ -13054,6 +13441,7 @@ export class ConsultationsApi extends BaseAPI {
13054
13441
  * @param {boolean} [isCompleted]
13055
13442
  * @param {ConsultationStatus} [status]
13056
13443
  * @param {ConsultationType} [consultationType]
13444
+ * @param {string} [hospitalId]
13057
13445
  * @param {number} [page]
13058
13446
  * @param {number} [limit]
13059
13447
  * @param {Date} [lastRetrieved]
@@ -13061,8 +13449,8 @@ export class ConsultationsApi extends BaseAPI {
13061
13449
  * @throws {RequiredError}
13062
13450
  * @memberof ConsultationsApi
13063
13451
  */
13064
- public apiV2ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
13065
- return ConsultationsApiFp(this.configuration).apiV2ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
13452
+ public apiV2ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, hospitalId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
13453
+ return ConsultationsApiFp(this.configuration).apiV2ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, hospitalId, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
13066
13454
  }
13067
13455
 
13068
13456
  /**
@@ -17824,6 +18212,335 @@ export class FaqsApi extends BaseAPI {
17824
18212
  }
17825
18213
 
17826
18214
 
18215
+ /**
18216
+ * GroupChannelsApi - axios parameter creator
18217
+ * @export
18218
+ */
18219
+ export const GroupChannelsApiAxiosParamCreator = function (configuration?: Configuration) {
18220
+ return {
18221
+ /**
18222
+ *
18223
+ * @param {string} channelUrl
18224
+ * @param {InviteSendBirdGroupChannelCommand} [inviteSendBirdGroupChannelCommand]
18225
+ * @param {*} [options] Override http request option.
18226
+ * @throws {RequiredError}
18227
+ */
18228
+ apiV2GroupchannelsChannelUrlInvitePost: async (channelUrl: string, inviteSendBirdGroupChannelCommand?: InviteSendBirdGroupChannelCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
18229
+ // verify required parameter 'channelUrl' is not null or undefined
18230
+ assertParamExists('apiV2GroupchannelsChannelUrlInvitePost', 'channelUrl', channelUrl)
18231
+ const localVarPath = `/api/v2/groupchannels/{channelUrl}/invite`
18232
+ .replace(`{${"channelUrl"}}`, encodeURIComponent(String(channelUrl)));
18233
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18234
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18235
+ let baseOptions;
18236
+ if (configuration) {
18237
+ baseOptions = configuration.baseOptions;
18238
+ }
18239
+
18240
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
18241
+ const localVarHeaderParameter = {} as any;
18242
+ const localVarQueryParameter = {} as any;
18243
+
18244
+ // authentication oauth2 required
18245
+ // oauth required
18246
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
18247
+
18248
+
18249
+
18250
+ localVarHeaderParameter['Content-Type'] = 'application/json';
18251
+
18252
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18253
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18254
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
18255
+ localVarRequestOptions.data = serializeDataIfNeeded(inviteSendBirdGroupChannelCommand, localVarRequestOptions, configuration)
18256
+
18257
+ return {
18258
+ url: toPathString(localVarUrlObj),
18259
+ options: localVarRequestOptions,
18260
+ };
18261
+ },
18262
+ /**
18263
+ *
18264
+ * @param {string} dealId
18265
+ * @param {string} [hospitalId]
18266
+ * @param {*} [options] Override http request option.
18267
+ * @throws {RequiredError}
18268
+ */
18269
+ apiV2GroupchannelsDealDealIdGet: async (dealId: string, hospitalId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
18270
+ // verify required parameter 'dealId' is not null or undefined
18271
+ assertParamExists('apiV2GroupchannelsDealDealIdGet', 'dealId', dealId)
18272
+ const localVarPath = `/api/v2/groupchannels/deal/{dealId}`
18273
+ .replace(`{${"dealId"}}`, encodeURIComponent(String(dealId)));
18274
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18275
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18276
+ let baseOptions;
18277
+ if (configuration) {
18278
+ baseOptions = configuration.baseOptions;
18279
+ }
18280
+
18281
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
18282
+ const localVarHeaderParameter = {} as any;
18283
+ const localVarQueryParameter = {} as any;
18284
+
18285
+ // authentication oauth2 required
18286
+ // oauth required
18287
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
18288
+
18289
+ if (hospitalId !== undefined) {
18290
+ localVarQueryParameter['hospitalId'] = hospitalId;
18291
+ }
18292
+
18293
+
18294
+
18295
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18296
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18297
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
18298
+
18299
+ return {
18300
+ url: toPathString(localVarUrlObj),
18301
+ options: localVarRequestOptions,
18302
+ };
18303
+ },
18304
+ /**
18305
+ *
18306
+ * @param {string} doctorId
18307
+ * @param {string} [hospitalId]
18308
+ * @param {*} [options] Override http request option.
18309
+ * @throws {RequiredError}
18310
+ */
18311
+ apiV2GroupchannelsDoctorDoctorIdGet: async (doctorId: string, hospitalId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
18312
+ // verify required parameter 'doctorId' is not null or undefined
18313
+ assertParamExists('apiV2GroupchannelsDoctorDoctorIdGet', 'doctorId', doctorId)
18314
+ const localVarPath = `/api/v2/groupchannels/doctor/{doctorId}`
18315
+ .replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)));
18316
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18317
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18318
+ let baseOptions;
18319
+ if (configuration) {
18320
+ baseOptions = configuration.baseOptions;
18321
+ }
18322
+
18323
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
18324
+ const localVarHeaderParameter = {} as any;
18325
+ const localVarQueryParameter = {} as any;
18326
+
18327
+ // authentication oauth2 required
18328
+ // oauth required
18329
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
18330
+
18331
+ if (hospitalId !== undefined) {
18332
+ localVarQueryParameter['hospitalId'] = hospitalId;
18333
+ }
18334
+
18335
+
18336
+
18337
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18338
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18339
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
18340
+
18341
+ return {
18342
+ url: toPathString(localVarUrlObj),
18343
+ options: localVarRequestOptions,
18344
+ };
18345
+ },
18346
+ /**
18347
+ *
18348
+ * @param {string} hospitalId
18349
+ * @param {*} [options] Override http request option.
18350
+ * @throws {RequiredError}
18351
+ */
18352
+ apiV2GroupchannelsHospitalHospitalIdGet: async (hospitalId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
18353
+ // verify required parameter 'hospitalId' is not null or undefined
18354
+ assertParamExists('apiV2GroupchannelsHospitalHospitalIdGet', 'hospitalId', hospitalId)
18355
+ const localVarPath = `/api/v2/groupchannels/hospital/{hospitalId}`
18356
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
18357
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18358
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18359
+ let baseOptions;
18360
+ if (configuration) {
18361
+ baseOptions = configuration.baseOptions;
18362
+ }
18363
+
18364
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
18365
+ const localVarHeaderParameter = {} as any;
18366
+ const localVarQueryParameter = {} as any;
18367
+
18368
+ // authentication oauth2 required
18369
+ // oauth required
18370
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
18371
+
18372
+
18373
+
18374
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18375
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18376
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
18377
+
18378
+ return {
18379
+ url: toPathString(localVarUrlObj),
18380
+ options: localVarRequestOptions,
18381
+ };
18382
+ },
18383
+ }
18384
+ };
18385
+
18386
+ /**
18387
+ * GroupChannelsApi - functional programming interface
18388
+ * @export
18389
+ */
18390
+ export const GroupChannelsApiFp = function(configuration?: Configuration) {
18391
+ const localVarAxiosParamCreator = GroupChannelsApiAxiosParamCreator(configuration)
18392
+ return {
18393
+ /**
18394
+ *
18395
+ * @param {string} channelUrl
18396
+ * @param {InviteSendBirdGroupChannelCommand} [inviteSendBirdGroupChannelCommand]
18397
+ * @param {*} [options] Override http request option.
18398
+ * @throws {RequiredError}
18399
+ */
18400
+ async apiV2GroupchannelsChannelUrlInvitePost(channelUrl: string, inviteSendBirdGroupChannelCommand?: InviteSendBirdGroupChannelCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SendBirdGroupChannelModel>> {
18401
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2GroupchannelsChannelUrlInvitePost(channelUrl, inviteSendBirdGroupChannelCommand, options);
18402
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
18403
+ },
18404
+ /**
18405
+ *
18406
+ * @param {string} dealId
18407
+ * @param {string} [hospitalId]
18408
+ * @param {*} [options] Override http request option.
18409
+ * @throws {RequiredError}
18410
+ */
18411
+ async apiV2GroupchannelsDealDealIdGet(dealId: string, hospitalId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SendBirdGroupChannelModel>> {
18412
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2GroupchannelsDealDealIdGet(dealId, hospitalId, options);
18413
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
18414
+ },
18415
+ /**
18416
+ *
18417
+ * @param {string} doctorId
18418
+ * @param {string} [hospitalId]
18419
+ * @param {*} [options] Override http request option.
18420
+ * @throws {RequiredError}
18421
+ */
18422
+ async apiV2GroupchannelsDoctorDoctorIdGet(doctorId: string, hospitalId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SendBirdGroupChannelModel>> {
18423
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2GroupchannelsDoctorDoctorIdGet(doctorId, hospitalId, options);
18424
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
18425
+ },
18426
+ /**
18427
+ *
18428
+ * @param {string} hospitalId
18429
+ * @param {*} [options] Override http request option.
18430
+ * @throws {RequiredError}
18431
+ */
18432
+ async apiV2GroupchannelsHospitalHospitalIdGet(hospitalId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SendBirdGroupChannelModel>> {
18433
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2GroupchannelsHospitalHospitalIdGet(hospitalId, options);
18434
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
18435
+ },
18436
+ }
18437
+ };
18438
+
18439
+ /**
18440
+ * GroupChannelsApi - factory interface
18441
+ * @export
18442
+ */
18443
+ export const GroupChannelsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
18444
+ const localVarFp = GroupChannelsApiFp(configuration)
18445
+ return {
18446
+ /**
18447
+ *
18448
+ * @param {string} channelUrl
18449
+ * @param {InviteSendBirdGroupChannelCommand} [inviteSendBirdGroupChannelCommand]
18450
+ * @param {*} [options] Override http request option.
18451
+ * @throws {RequiredError}
18452
+ */
18453
+ apiV2GroupchannelsChannelUrlInvitePost(channelUrl: string, inviteSendBirdGroupChannelCommand?: InviteSendBirdGroupChannelCommand, options?: any): AxiosPromise<SendBirdGroupChannelModel> {
18454
+ return localVarFp.apiV2GroupchannelsChannelUrlInvitePost(channelUrl, inviteSendBirdGroupChannelCommand, options).then((request) => request(axios, basePath));
18455
+ },
18456
+ /**
18457
+ *
18458
+ * @param {string} dealId
18459
+ * @param {string} [hospitalId]
18460
+ * @param {*} [options] Override http request option.
18461
+ * @throws {RequiredError}
18462
+ */
18463
+ apiV2GroupchannelsDealDealIdGet(dealId: string, hospitalId?: string, options?: any): AxiosPromise<SendBirdGroupChannelModel> {
18464
+ return localVarFp.apiV2GroupchannelsDealDealIdGet(dealId, hospitalId, options).then((request) => request(axios, basePath));
18465
+ },
18466
+ /**
18467
+ *
18468
+ * @param {string} doctorId
18469
+ * @param {string} [hospitalId]
18470
+ * @param {*} [options] Override http request option.
18471
+ * @throws {RequiredError}
18472
+ */
18473
+ apiV2GroupchannelsDoctorDoctorIdGet(doctorId: string, hospitalId?: string, options?: any): AxiosPromise<SendBirdGroupChannelModel> {
18474
+ return localVarFp.apiV2GroupchannelsDoctorDoctorIdGet(doctorId, hospitalId, options).then((request) => request(axios, basePath));
18475
+ },
18476
+ /**
18477
+ *
18478
+ * @param {string} hospitalId
18479
+ * @param {*} [options] Override http request option.
18480
+ * @throws {RequiredError}
18481
+ */
18482
+ apiV2GroupchannelsHospitalHospitalIdGet(hospitalId: string, options?: any): AxiosPromise<SendBirdGroupChannelModel> {
18483
+ return localVarFp.apiV2GroupchannelsHospitalHospitalIdGet(hospitalId, options).then((request) => request(axios, basePath));
18484
+ },
18485
+ };
18486
+ };
18487
+
18488
+ /**
18489
+ * GroupChannelsApi - object-oriented interface
18490
+ * @export
18491
+ * @class GroupChannelsApi
18492
+ * @extends {BaseAPI}
18493
+ */
18494
+ export class GroupChannelsApi extends BaseAPI {
18495
+ /**
18496
+ *
18497
+ * @param {string} channelUrl
18498
+ * @param {InviteSendBirdGroupChannelCommand} [inviteSendBirdGroupChannelCommand]
18499
+ * @param {*} [options] Override http request option.
18500
+ * @throws {RequiredError}
18501
+ * @memberof GroupChannelsApi
18502
+ */
18503
+ public apiV2GroupchannelsChannelUrlInvitePost(channelUrl: string, inviteSendBirdGroupChannelCommand?: InviteSendBirdGroupChannelCommand, options?: AxiosRequestConfig) {
18504
+ return GroupChannelsApiFp(this.configuration).apiV2GroupchannelsChannelUrlInvitePost(channelUrl, inviteSendBirdGroupChannelCommand, options).then((request) => request(this.axios, this.basePath));
18505
+ }
18506
+
18507
+ /**
18508
+ *
18509
+ * @param {string} dealId
18510
+ * @param {string} [hospitalId]
18511
+ * @param {*} [options] Override http request option.
18512
+ * @throws {RequiredError}
18513
+ * @memberof GroupChannelsApi
18514
+ */
18515
+ public apiV2GroupchannelsDealDealIdGet(dealId: string, hospitalId?: string, options?: AxiosRequestConfig) {
18516
+ return GroupChannelsApiFp(this.configuration).apiV2GroupchannelsDealDealIdGet(dealId, hospitalId, options).then((request) => request(this.axios, this.basePath));
18517
+ }
18518
+
18519
+ /**
18520
+ *
18521
+ * @param {string} doctorId
18522
+ * @param {string} [hospitalId]
18523
+ * @param {*} [options] Override http request option.
18524
+ * @throws {RequiredError}
18525
+ * @memberof GroupChannelsApi
18526
+ */
18527
+ public apiV2GroupchannelsDoctorDoctorIdGet(doctorId: string, hospitalId?: string, options?: AxiosRequestConfig) {
18528
+ return GroupChannelsApiFp(this.configuration).apiV2GroupchannelsDoctorDoctorIdGet(doctorId, hospitalId, options).then((request) => request(this.axios, this.basePath));
18529
+ }
18530
+
18531
+ /**
18532
+ *
18533
+ * @param {string} hospitalId
18534
+ * @param {*} [options] Override http request option.
18535
+ * @throws {RequiredError}
18536
+ * @memberof GroupChannelsApi
18537
+ */
18538
+ public apiV2GroupchannelsHospitalHospitalIdGet(hospitalId: string, options?: AxiosRequestConfig) {
18539
+ return GroupChannelsApiFp(this.configuration).apiV2GroupchannelsHospitalHospitalIdGet(hospitalId, options).then((request) => request(this.axios, this.basePath));
18540
+ }
18541
+ }
18542
+
18543
+
17827
18544
  /**
17828
18545
  * HospitalsApi - axios parameter creator
17829
18546
  * @export