ch-api-client-typescript2 2.8.18 → 2.9.0

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
@@ -6752,6 +6819,19 @@ export interface HospitalsSimpleModel {
6752
6819
  */
6753
6820
  'metaData'?: PagedListMetaData;
6754
6821
  }
6822
+ /**
6823
+ *
6824
+ * @export
6825
+ * @interface InviteSendBirdGroupChannelCommand
6826
+ */
6827
+ export interface InviteSendBirdGroupChannelCommand {
6828
+ /**
6829
+ *
6830
+ * @type {Array<string>}
6831
+ * @memberof InviteSendBirdGroupChannelCommand
6832
+ */
6833
+ 'user_ids'?: Array<string> | null;
6834
+ }
6755
6835
  /**
6756
6836
  *
6757
6837
  * @export
@@ -7218,6 +7298,31 @@ export interface MembershipsModel {
7218
7298
  */
7219
7299
  'metaData'?: PagedListMetaData;
7220
7300
  }
7301
+ /**
7302
+ *
7303
+ * @export
7304
+ * @interface Metadata
7305
+ */
7306
+ export interface Metadata {
7307
+ /**
7308
+ *
7309
+ * @type {string}
7310
+ * @memberof Metadata
7311
+ */
7312
+ 'location'?: string | null;
7313
+ /**
7314
+ *
7315
+ * @type {string}
7316
+ * @memberof Metadata
7317
+ */
7318
+ 'marriage'?: string | null;
7319
+ /**
7320
+ *
7321
+ * @type {string}
7322
+ * @memberof Metadata
7323
+ */
7324
+ 'hasSomeone'?: string | null;
7325
+ }
7221
7326
  /**
7222
7327
  *
7223
7328
  * @export
@@ -7899,6 +8004,225 @@ export enum ReviewType {
7899
8004
  RealStory = 'RealStory'
7900
8005
  }
7901
8006
 
8007
+ /**
8008
+ *
8009
+ * @export
8010
+ * @interface SendBirdGroupChannelMember
8011
+ */
8012
+ export interface SendBirdGroupChannelMember {
8013
+ /**
8014
+ *
8015
+ * @type {string}
8016
+ * @memberof SendBirdGroupChannelMember
8017
+ */
8018
+ 'user_id'?: string | null;
8019
+ /**
8020
+ *
8021
+ * @type {string}
8022
+ * @memberof SendBirdGroupChannelMember
8023
+ */
8024
+ 'nickname'?: string | null;
8025
+ /**
8026
+ *
8027
+ * @type {string}
8028
+ * @memberof SendBirdGroupChannelMember
8029
+ */
8030
+ 'profile_url'?: string | null;
8031
+ /**
8032
+ *
8033
+ * @type {boolean}
8034
+ * @memberof SendBirdGroupChannelMember
8035
+ */
8036
+ 'is_active'?: boolean;
8037
+ /**
8038
+ *
8039
+ * @type {boolean}
8040
+ * @memberof SendBirdGroupChannelMember
8041
+ */
8042
+ 'is_online'?: boolean;
8043
+ /**
8044
+ *
8045
+ * @type {Array<string>}
8046
+ * @memberof SendBirdGroupChannelMember
8047
+ */
8048
+ 'friend_discovery_key'?: Array<string> | null;
8049
+ /**
8050
+ *
8051
+ * @type {number}
8052
+ * @memberof SendBirdGroupChannelMember
8053
+ */
8054
+ 'last_seen_at'?: number;
8055
+ /**
8056
+ *
8057
+ * @type {string}
8058
+ * @memberof SendBirdGroupChannelMember
8059
+ */
8060
+ 'state'?: string | null;
8061
+ /**
8062
+ *
8063
+ * @type {string}
8064
+ * @memberof SendBirdGroupChannelMember
8065
+ */
8066
+ 'role'?: string | null;
8067
+ /**
8068
+ *
8069
+ * @type {Metadata}
8070
+ * @memberof SendBirdGroupChannelMember
8071
+ */
8072
+ 'metadata'?: Metadata;
8073
+ }
8074
+ /**
8075
+ *
8076
+ * @export
8077
+ * @interface SendBirdGroupChannelModel
8078
+ */
8079
+ export interface SendBirdGroupChannelModel {
8080
+ /**
8081
+ *
8082
+ * @type {string}
8083
+ * @memberof SendBirdGroupChannelModel
8084
+ */
8085
+ 'name'?: string | null;
8086
+ /**
8087
+ *
8088
+ * @type {string}
8089
+ * @memberof SendBirdGroupChannelModel
8090
+ */
8091
+ 'channel_url'?: string | null;
8092
+ /**
8093
+ *
8094
+ * @type {string}
8095
+ * @memberof SendBirdGroupChannelModel
8096
+ */
8097
+ 'cover_url'?: string | null;
8098
+ /**
8099
+ *
8100
+ * @type {string}
8101
+ * @memberof SendBirdGroupChannelModel
8102
+ */
8103
+ 'custom_type'?: string | null;
8104
+ /**
8105
+ *
8106
+ * @type {number}
8107
+ * @memberof SendBirdGroupChannelModel
8108
+ */
8109
+ 'unread_message_count'?: number;
8110
+ /**
8111
+ *
8112
+ * @type {string}
8113
+ * @memberof SendBirdGroupChannelModel
8114
+ */
8115
+ 'data'?: string | null;
8116
+ /**
8117
+ *
8118
+ * @type {boolean}
8119
+ * @memberof SendBirdGroupChannelModel
8120
+ */
8121
+ 'is_distinct'?: boolean;
8122
+ /**
8123
+ *
8124
+ * @type {boolean}
8125
+ * @memberof SendBirdGroupChannelModel
8126
+ */
8127
+ 'is_public'?: boolean;
8128
+ /**
8129
+ *
8130
+ * @type {boolean}
8131
+ * @memberof SendBirdGroupChannelModel
8132
+ */
8133
+ 'is_super'?: boolean;
8134
+ /**
8135
+ *
8136
+ * @type {boolean}
8137
+ * @memberof SendBirdGroupChannelModel
8138
+ */
8139
+ 'is_ephemeral'?: boolean;
8140
+ /**
8141
+ *
8142
+ * @type {boolean}
8143
+ * @memberof SendBirdGroupChannelModel
8144
+ */
8145
+ 'is_access_code_required'?: boolean;
8146
+ /**
8147
+ *
8148
+ * @type {string}
8149
+ * @memberof SendBirdGroupChannelModel
8150
+ */
8151
+ 'hidden_state'?: string | null;
8152
+ /**
8153
+ *
8154
+ * @type {number}
8155
+ * @memberof SendBirdGroupChannelModel
8156
+ */
8157
+ 'member_count'?: number;
8158
+ /**
8159
+ *
8160
+ * @type {number}
8161
+ * @memberof SendBirdGroupChannelModel
8162
+ */
8163
+ 'joined_member_count'?: number;
8164
+ /**
8165
+ *
8166
+ * @type {Array<SendBirdGroupChannelMember>}
8167
+ * @memberof SendBirdGroupChannelModel
8168
+ */
8169
+ 'members'?: Array<SendBirdGroupChannelMember> | null;
8170
+ /**
8171
+ *
8172
+ * @type {Array<SendBirdGroupChannelrOperator>}
8173
+ * @memberof SendBirdGroupChannelModel
8174
+ */
8175
+ 'operators'?: Array<SendBirdGroupChannelrOperator> | null;
8176
+ /**
8177
+ *
8178
+ * @type {number}
8179
+ * @memberof SendBirdGroupChannelModel
8180
+ */
8181
+ 'max_length_message'?: number;
8182
+ /**
8183
+ *
8184
+ * @type {AdminMessageModel}
8185
+ * @memberof SendBirdGroupChannelModel
8186
+ */
8187
+ 'last_message'?: AdminMessageModel;
8188
+ /**
8189
+ *
8190
+ * @type {number}
8191
+ * @memberof SendBirdGroupChannelModel
8192
+ */
8193
+ 'created_at'?: number;
8194
+ /**
8195
+ *
8196
+ * @type {boolean}
8197
+ * @memberof SendBirdGroupChannelModel
8198
+ */
8199
+ 'freeze'?: boolean;
8200
+ }
8201
+ /**
8202
+ *
8203
+ * @export
8204
+ * @interface SendBirdGroupChannelrOperator
8205
+ */
8206
+ export interface SendBirdGroupChannelrOperator {
8207
+ /**
8208
+ *
8209
+ * @type {string}
8210
+ * @memberof SendBirdGroupChannelrOperator
8211
+ */
8212
+ 'user_id'?: string | null;
8213
+ /**
8214
+ *
8215
+ * @type {string}
8216
+ * @memberof SendBirdGroupChannelrOperator
8217
+ */
8218
+ 'nickname'?: string | null;
8219
+ /**
8220
+ *
8221
+ * @type {string}
8222
+ * @memberof SendBirdGroupChannelrOperator
8223
+ */
8224
+ 'profile_url'?: string | null;
8225
+ }
7902
8226
  /**
7903
8227
  *
7904
8228
  * @export
@@ -11088,13 +11412,14 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
11088
11412
  * @param {boolean} [isCompleted]
11089
11413
  * @param {BookingStatus} [status]
11090
11414
  * @param {string} [dealPackageId]
11415
+ * @param {string} [hospitalId]
11091
11416
  * @param {number} [page]
11092
11417
  * @param {number} [limit]
11093
11418
  * @param {Date} [lastRetrieved]
11094
11419
  * @param {*} [options] Override http request option.
11095
11420
  * @throws {RequiredError}
11096
11421
  */
11097
- apiV2BookingsGet: async (searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: BookingStatus, dealPackageId?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
11422
+ 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
11423
  const localVarPath = `/api/v2/bookings`;
11099
11424
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
11100
11425
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -11131,6 +11456,10 @@ export const BookingsApiAxiosParamCreator = function (configuration?: Configurat
11131
11456
  localVarQueryParameter['DealPackageId'] = dealPackageId;
11132
11457
  }
11133
11458
 
11459
+ if (hospitalId !== undefined) {
11460
+ localVarQueryParameter['HospitalId'] = hospitalId;
11461
+ }
11462
+
11134
11463
  if (page !== undefined) {
11135
11464
  localVarQueryParameter['page'] = page;
11136
11465
  }
@@ -11307,14 +11636,15 @@ export const BookingsApiFp = function(configuration?: Configuration) {
11307
11636
  * @param {boolean} [isCompleted]
11308
11637
  * @param {BookingStatus} [status]
11309
11638
  * @param {string} [dealPackageId]
11639
+ * @param {string} [hospitalId]
11310
11640
  * @param {number} [page]
11311
11641
  * @param {number} [limit]
11312
11642
  * @param {Date} [lastRetrieved]
11313
11643
  * @param {*} [options] Override http request option.
11314
11644
  * @throws {RequiredError}
11315
11645
  */
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);
11646
+ 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>> {
11647
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, hospitalId, page, limit, lastRetrieved, options);
11318
11648
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
11319
11649
  },
11320
11650
  /**
@@ -11430,14 +11760,15 @@ export const BookingsApiFactory = function (configuration?: Configuration, baseP
11430
11760
  * @param {boolean} [isCompleted]
11431
11761
  * @param {BookingStatus} [status]
11432
11762
  * @param {string} [dealPackageId]
11763
+ * @param {string} [hospitalId]
11433
11764
  * @param {number} [page]
11434
11765
  * @param {number} [limit]
11435
11766
  * @param {Date} [lastRetrieved]
11436
11767
  * @param {*} [options] Override http request option.
11437
11768
  * @throws {RequiredError}
11438
11769
  */
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));
11770
+ apiV2BookingsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: BookingStatus, dealPackageId?: string, hospitalId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<BookingsModel> {
11771
+ return localVarFp.apiV2BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, hospitalId, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
11441
11772
  },
11442
11773
  /**
11443
11774
  *
@@ -11567,6 +11898,7 @@ export class BookingsApi extends BaseAPI {
11567
11898
  * @param {boolean} [isCompleted]
11568
11899
  * @param {BookingStatus} [status]
11569
11900
  * @param {string} [dealPackageId]
11901
+ * @param {string} [hospitalId]
11570
11902
  * @param {number} [page]
11571
11903
  * @param {number} [limit]
11572
11904
  * @param {Date} [lastRetrieved]
@@ -11574,8 +11906,8 @@ export class BookingsApi extends BaseAPI {
11574
11906
  * @throws {RequiredError}
11575
11907
  * @memberof BookingsApi
11576
11908
  */
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));
11909
+ public apiV2BookingsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: BookingStatus, dealPackageId?: string, hospitalId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
11910
+ return BookingsApiFp(this.configuration).apiV2BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, hospitalId, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
11579
11911
  }
11580
11912
 
11581
11913
  /**
@@ -12608,13 +12940,14 @@ export const ConsultationsApiAxiosParamCreator = function (configuration?: Confi
12608
12940
  * @param {boolean} [isCompleted]
12609
12941
  * @param {ConsultationStatus} [status]
12610
12942
  * @param {ConsultationType} [consultationType]
12943
+ * @param {string} [hospitalId]
12611
12944
  * @param {number} [page]
12612
12945
  * @param {number} [limit]
12613
12946
  * @param {Date} [lastRetrieved]
12614
12947
  * @param {*} [options] Override http request option.
12615
12948
  * @throws {RequiredError}
12616
12949
  */
12617
- apiV2ConsultationsGet: async (searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
12950
+ 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
12951
  const localVarPath = `/api/v2/consultations`;
12619
12952
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
12620
12953
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -12651,6 +12984,10 @@ export const ConsultationsApiAxiosParamCreator = function (configuration?: Confi
12651
12984
  localVarQueryParameter['ConsultationType'] = consultationType;
12652
12985
  }
12653
12986
 
12987
+ if (hospitalId !== undefined) {
12988
+ localVarQueryParameter['HospitalId'] = hospitalId;
12989
+ }
12990
+
12654
12991
  if (page !== undefined) {
12655
12992
  localVarQueryParameter['page'] = page;
12656
12993
  }
@@ -12816,14 +13153,15 @@ export const ConsultationsApiFp = function(configuration?: Configuration) {
12816
13153
  * @param {boolean} [isCompleted]
12817
13154
  * @param {ConsultationStatus} [status]
12818
13155
  * @param {ConsultationType} [consultationType]
13156
+ * @param {string} [hospitalId]
12819
13157
  * @param {number} [page]
12820
13158
  * @param {number} [limit]
12821
13159
  * @param {Date} [lastRetrieved]
12822
13160
  * @param {*} [options] Override http request option.
12823
13161
  * @throws {RequiredError}
12824
13162
  */
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);
13163
+ 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>> {
13164
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, hospitalId, page, limit, lastRetrieved, options);
12827
13165
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
12828
13166
  },
12829
13167
  /**
@@ -12929,14 +13267,15 @@ export const ConsultationsApiFactory = function (configuration?: Configuration,
12929
13267
  * @param {boolean} [isCompleted]
12930
13268
  * @param {ConsultationStatus} [status]
12931
13269
  * @param {ConsultationType} [consultationType]
13270
+ * @param {string} [hospitalId]
12932
13271
  * @param {number} [page]
12933
13272
  * @param {number} [limit]
12934
13273
  * @param {Date} [lastRetrieved]
12935
13274
  * @param {*} [options] Override http request option.
12936
13275
  * @throws {RequiredError}
12937
13276
  */
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));
13277
+ apiV2ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, hospitalId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ConsultationsModel> {
13278
+ return localVarFp.apiV2ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, hospitalId, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
12940
13279
  },
12941
13280
  /**
12942
13281
  *
@@ -13054,6 +13393,7 @@ export class ConsultationsApi extends BaseAPI {
13054
13393
  * @param {boolean} [isCompleted]
13055
13394
  * @param {ConsultationStatus} [status]
13056
13395
  * @param {ConsultationType} [consultationType]
13396
+ * @param {string} [hospitalId]
13057
13397
  * @param {number} [page]
13058
13398
  * @param {number} [limit]
13059
13399
  * @param {Date} [lastRetrieved]
@@ -13061,8 +13401,8 @@ export class ConsultationsApi extends BaseAPI {
13061
13401
  * @throws {RequiredError}
13062
13402
  * @memberof ConsultationsApi
13063
13403
  */
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));
13404
+ public apiV2ConsultationsGet(searchString?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, hospitalId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
13405
+ return ConsultationsApiFp(this.configuration).apiV2ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, hospitalId, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
13066
13406
  }
13067
13407
 
13068
13408
  /**
@@ -17824,6 +18164,319 @@ export class FaqsApi extends BaseAPI {
17824
18164
  }
17825
18165
 
17826
18166
 
18167
+ /**
18168
+ * GroupChannelsApi - axios parameter creator
18169
+ * @export
18170
+ */
18171
+ export const GroupChannelsApiAxiosParamCreator = function (configuration?: Configuration) {
18172
+ return {
18173
+ /**
18174
+ *
18175
+ * @param {string} channelUrl
18176
+ * @param {InviteSendBirdGroupChannelCommand} [inviteSendBirdGroupChannelCommand]
18177
+ * @param {*} [options] Override http request option.
18178
+ * @throws {RequiredError}
18179
+ */
18180
+ apiV1GroupchannelsChannelUrlInvitePost: async (channelUrl: string, inviteSendBirdGroupChannelCommand?: InviteSendBirdGroupChannelCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
18181
+ // verify required parameter 'channelUrl' is not null or undefined
18182
+ assertParamExists('apiV1GroupchannelsChannelUrlInvitePost', 'channelUrl', channelUrl)
18183
+ const localVarPath = `/api/v1/groupchannels/{channelUrl}/invite`
18184
+ .replace(`{${"channelUrl"}}`, encodeURIComponent(String(channelUrl)));
18185
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18186
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18187
+ let baseOptions;
18188
+ if (configuration) {
18189
+ baseOptions = configuration.baseOptions;
18190
+ }
18191
+
18192
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
18193
+ const localVarHeaderParameter = {} as any;
18194
+ const localVarQueryParameter = {} as any;
18195
+
18196
+ // authentication oauth2 required
18197
+ // oauth required
18198
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
18199
+
18200
+
18201
+
18202
+ localVarHeaderParameter['Content-Type'] = 'application/json';
18203
+
18204
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18205
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18206
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
18207
+ localVarRequestOptions.data = serializeDataIfNeeded(inviteSendBirdGroupChannelCommand, localVarRequestOptions, configuration)
18208
+
18209
+ return {
18210
+ url: toPathString(localVarUrlObj),
18211
+ options: localVarRequestOptions,
18212
+ };
18213
+ },
18214
+ /**
18215
+ *
18216
+ * @param {string} dealId
18217
+ * @param {*} [options] Override http request option.
18218
+ * @throws {RequiredError}
18219
+ */
18220
+ apiV1GroupchannelsDealDealIdGet: async (dealId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
18221
+ // verify required parameter 'dealId' is not null or undefined
18222
+ assertParamExists('apiV1GroupchannelsDealDealIdGet', 'dealId', dealId)
18223
+ const localVarPath = `/api/v1/groupchannels/deal/{dealId}`
18224
+ .replace(`{${"dealId"}}`, encodeURIComponent(String(dealId)));
18225
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18226
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18227
+ let baseOptions;
18228
+ if (configuration) {
18229
+ baseOptions = configuration.baseOptions;
18230
+ }
18231
+
18232
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
18233
+ const localVarHeaderParameter = {} as any;
18234
+ const localVarQueryParameter = {} as any;
18235
+
18236
+ // authentication oauth2 required
18237
+ // oauth required
18238
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
18239
+
18240
+
18241
+
18242
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18243
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18244
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
18245
+
18246
+ return {
18247
+ url: toPathString(localVarUrlObj),
18248
+ options: localVarRequestOptions,
18249
+ };
18250
+ },
18251
+ /**
18252
+ *
18253
+ * @param {string} doctorId
18254
+ * @param {*} [options] Override http request option.
18255
+ * @throws {RequiredError}
18256
+ */
18257
+ apiV1GroupchannelsDoctorDoctorIdGet: async (doctorId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
18258
+ // verify required parameter 'doctorId' is not null or undefined
18259
+ assertParamExists('apiV1GroupchannelsDoctorDoctorIdGet', 'doctorId', doctorId)
18260
+ const localVarPath = `/api/v1/groupchannels/doctor/{doctorId}`
18261
+ .replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)));
18262
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18263
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18264
+ let baseOptions;
18265
+ if (configuration) {
18266
+ baseOptions = configuration.baseOptions;
18267
+ }
18268
+
18269
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
18270
+ const localVarHeaderParameter = {} as any;
18271
+ const localVarQueryParameter = {} as any;
18272
+
18273
+ // authentication oauth2 required
18274
+ // oauth required
18275
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
18276
+
18277
+
18278
+
18279
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18280
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18281
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
18282
+
18283
+ return {
18284
+ url: toPathString(localVarUrlObj),
18285
+ options: localVarRequestOptions,
18286
+ };
18287
+ },
18288
+ /**
18289
+ *
18290
+ * @param {string} hospitalId
18291
+ * @param {*} [options] Override http request option.
18292
+ * @throws {RequiredError}
18293
+ */
18294
+ apiV1GroupchannelsHospitalHospitalIdGet: async (hospitalId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
18295
+ // verify required parameter 'hospitalId' is not null or undefined
18296
+ assertParamExists('apiV1GroupchannelsHospitalHospitalIdGet', 'hospitalId', hospitalId)
18297
+ const localVarPath = `/api/v1/groupchannels/hospital/{hospitalId}`
18298
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
18299
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18300
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18301
+ let baseOptions;
18302
+ if (configuration) {
18303
+ baseOptions = configuration.baseOptions;
18304
+ }
18305
+
18306
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
18307
+ const localVarHeaderParameter = {} as any;
18308
+ const localVarQueryParameter = {} as any;
18309
+
18310
+ // authentication oauth2 required
18311
+ // oauth required
18312
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
18313
+
18314
+
18315
+
18316
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18317
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18318
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
18319
+
18320
+ return {
18321
+ url: toPathString(localVarUrlObj),
18322
+ options: localVarRequestOptions,
18323
+ };
18324
+ },
18325
+ }
18326
+ };
18327
+
18328
+ /**
18329
+ * GroupChannelsApi - functional programming interface
18330
+ * @export
18331
+ */
18332
+ export const GroupChannelsApiFp = function(configuration?: Configuration) {
18333
+ const localVarAxiosParamCreator = GroupChannelsApiAxiosParamCreator(configuration)
18334
+ return {
18335
+ /**
18336
+ *
18337
+ * @param {string} channelUrl
18338
+ * @param {InviteSendBirdGroupChannelCommand} [inviteSendBirdGroupChannelCommand]
18339
+ * @param {*} [options] Override http request option.
18340
+ * @throws {RequiredError}
18341
+ */
18342
+ async apiV1GroupchannelsChannelUrlInvitePost(channelUrl: string, inviteSendBirdGroupChannelCommand?: InviteSendBirdGroupChannelCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SendBirdGroupChannelModel>> {
18343
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1GroupchannelsChannelUrlInvitePost(channelUrl, inviteSendBirdGroupChannelCommand, options);
18344
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
18345
+ },
18346
+ /**
18347
+ *
18348
+ * @param {string} dealId
18349
+ * @param {*} [options] Override http request option.
18350
+ * @throws {RequiredError}
18351
+ */
18352
+ async apiV1GroupchannelsDealDealIdGet(dealId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SendBirdGroupChannelModel>> {
18353
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1GroupchannelsDealDealIdGet(dealId, options);
18354
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
18355
+ },
18356
+ /**
18357
+ *
18358
+ * @param {string} doctorId
18359
+ * @param {*} [options] Override http request option.
18360
+ * @throws {RequiredError}
18361
+ */
18362
+ async apiV1GroupchannelsDoctorDoctorIdGet(doctorId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SendBirdGroupChannelModel>> {
18363
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1GroupchannelsDoctorDoctorIdGet(doctorId, options);
18364
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
18365
+ },
18366
+ /**
18367
+ *
18368
+ * @param {string} hospitalId
18369
+ * @param {*} [options] Override http request option.
18370
+ * @throws {RequiredError}
18371
+ */
18372
+ async apiV1GroupchannelsHospitalHospitalIdGet(hospitalId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SendBirdGroupChannelModel>> {
18373
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1GroupchannelsHospitalHospitalIdGet(hospitalId, options);
18374
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
18375
+ },
18376
+ }
18377
+ };
18378
+
18379
+ /**
18380
+ * GroupChannelsApi - factory interface
18381
+ * @export
18382
+ */
18383
+ export const GroupChannelsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
18384
+ const localVarFp = GroupChannelsApiFp(configuration)
18385
+ return {
18386
+ /**
18387
+ *
18388
+ * @param {string} channelUrl
18389
+ * @param {InviteSendBirdGroupChannelCommand} [inviteSendBirdGroupChannelCommand]
18390
+ * @param {*} [options] Override http request option.
18391
+ * @throws {RequiredError}
18392
+ */
18393
+ apiV1GroupchannelsChannelUrlInvitePost(channelUrl: string, inviteSendBirdGroupChannelCommand?: InviteSendBirdGroupChannelCommand, options?: any): AxiosPromise<SendBirdGroupChannelModel> {
18394
+ return localVarFp.apiV1GroupchannelsChannelUrlInvitePost(channelUrl, inviteSendBirdGroupChannelCommand, options).then((request) => request(axios, basePath));
18395
+ },
18396
+ /**
18397
+ *
18398
+ * @param {string} dealId
18399
+ * @param {*} [options] Override http request option.
18400
+ * @throws {RequiredError}
18401
+ */
18402
+ apiV1GroupchannelsDealDealIdGet(dealId: string, options?: any): AxiosPromise<SendBirdGroupChannelModel> {
18403
+ return localVarFp.apiV1GroupchannelsDealDealIdGet(dealId, options).then((request) => request(axios, basePath));
18404
+ },
18405
+ /**
18406
+ *
18407
+ * @param {string} doctorId
18408
+ * @param {*} [options] Override http request option.
18409
+ * @throws {RequiredError}
18410
+ */
18411
+ apiV1GroupchannelsDoctorDoctorIdGet(doctorId: string, options?: any): AxiosPromise<SendBirdGroupChannelModel> {
18412
+ return localVarFp.apiV1GroupchannelsDoctorDoctorIdGet(doctorId, options).then((request) => request(axios, basePath));
18413
+ },
18414
+ /**
18415
+ *
18416
+ * @param {string} hospitalId
18417
+ * @param {*} [options] Override http request option.
18418
+ * @throws {RequiredError}
18419
+ */
18420
+ apiV1GroupchannelsHospitalHospitalIdGet(hospitalId: string, options?: any): AxiosPromise<SendBirdGroupChannelModel> {
18421
+ return localVarFp.apiV1GroupchannelsHospitalHospitalIdGet(hospitalId, options).then((request) => request(axios, basePath));
18422
+ },
18423
+ };
18424
+ };
18425
+
18426
+ /**
18427
+ * GroupChannelsApi - object-oriented interface
18428
+ * @export
18429
+ * @class GroupChannelsApi
18430
+ * @extends {BaseAPI}
18431
+ */
18432
+ export class GroupChannelsApi extends BaseAPI {
18433
+ /**
18434
+ *
18435
+ * @param {string} channelUrl
18436
+ * @param {InviteSendBirdGroupChannelCommand} [inviteSendBirdGroupChannelCommand]
18437
+ * @param {*} [options] Override http request option.
18438
+ * @throws {RequiredError}
18439
+ * @memberof GroupChannelsApi
18440
+ */
18441
+ public apiV1GroupchannelsChannelUrlInvitePost(channelUrl: string, inviteSendBirdGroupChannelCommand?: InviteSendBirdGroupChannelCommand, options?: AxiosRequestConfig) {
18442
+ return GroupChannelsApiFp(this.configuration).apiV1GroupchannelsChannelUrlInvitePost(channelUrl, inviteSendBirdGroupChannelCommand, options).then((request) => request(this.axios, this.basePath));
18443
+ }
18444
+
18445
+ /**
18446
+ *
18447
+ * @param {string} dealId
18448
+ * @param {*} [options] Override http request option.
18449
+ * @throws {RequiredError}
18450
+ * @memberof GroupChannelsApi
18451
+ */
18452
+ public apiV1GroupchannelsDealDealIdGet(dealId: string, options?: AxiosRequestConfig) {
18453
+ return GroupChannelsApiFp(this.configuration).apiV1GroupchannelsDealDealIdGet(dealId, options).then((request) => request(this.axios, this.basePath));
18454
+ }
18455
+
18456
+ /**
18457
+ *
18458
+ * @param {string} doctorId
18459
+ * @param {*} [options] Override http request option.
18460
+ * @throws {RequiredError}
18461
+ * @memberof GroupChannelsApi
18462
+ */
18463
+ public apiV1GroupchannelsDoctorDoctorIdGet(doctorId: string, options?: AxiosRequestConfig) {
18464
+ return GroupChannelsApiFp(this.configuration).apiV1GroupchannelsDoctorDoctorIdGet(doctorId, options).then((request) => request(this.axios, this.basePath));
18465
+ }
18466
+
18467
+ /**
18468
+ *
18469
+ * @param {string} hospitalId
18470
+ * @param {*} [options] Override http request option.
18471
+ * @throws {RequiredError}
18472
+ * @memberof GroupChannelsApi
18473
+ */
18474
+ public apiV1GroupchannelsHospitalHospitalIdGet(hospitalId: string, options?: AxiosRequestConfig) {
18475
+ return GroupChannelsApiFp(this.configuration).apiV1GroupchannelsHospitalHospitalIdGet(hospitalId, options).then((request) => request(this.axios, this.basePath));
18476
+ }
18477
+ }
18478
+
18479
+
17827
18480
  /**
17828
18481
  * HospitalsApi - axios parameter creator
17829
18482
  * @export