ch-admin-api-client-typescript 5.24.8 → 5.24.10

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.
Files changed (70) hide show
  1. package/lib/api/group-channels-api.d.ts +172 -0
  2. package/lib/api/group-channels-api.d.ts.map +1 -0
  3. package/lib/api/group-channels-api.js +325 -0
  4. package/lib/api.d.ts +1 -0
  5. package/lib/api.d.ts.map +1 -1
  6. package/lib/api.js +1 -0
  7. package/lib/models/admin-message-model.d.ts +79 -0
  8. package/lib/models/admin-message-model.d.ts.map +1 -0
  9. package/lib/models/admin-message-model.js +15 -0
  10. package/lib/models/group-channel-list.d.ts +38 -0
  11. package/lib/models/group-channel-list.d.ts.map +1 -0
  12. package/lib/models/group-channel-list.js +15 -0
  13. package/lib/models/group-channel.d.ts +149 -0
  14. package/lib/models/group-channel.d.ts.map +1 -0
  15. package/lib/models/group-channel.js +15 -0
  16. package/lib/models/index.d.ts +14 -0
  17. package/lib/models/index.d.ts.map +1 -1
  18. package/lib/models/index.js +14 -0
  19. package/lib/models/invite-send-bird-group-channel-command.d.ts +25 -0
  20. package/lib/models/invite-send-bird-group-channel-command.d.ts.map +1 -0
  21. package/lib/models/invite-send-bird-group-channel-command.js +15 -0
  22. package/lib/models/mention-type.d.ts +22 -0
  23. package/lib/models/mention-type.d.ts.map +1 -0
  24. package/lib/models/mention-type.js +25 -0
  25. package/lib/models/message-type.d.ts +23 -0
  26. package/lib/models/message-type.d.ts.map +1 -0
  27. package/lib/models/message-type.js +26 -0
  28. package/lib/models/metadata.d.ts +37 -0
  29. package/lib/models/metadata.d.ts.map +1 -0
  30. package/lib/models/metadata.js +15 -0
  31. package/lib/models/model-file.d.ts +49 -0
  32. package/lib/models/model-file.d.ts.map +1 -0
  33. package/lib/models/model-file.js +15 -0
  34. package/lib/models/send-bird-group-channel-member.d.ts +80 -0
  35. package/lib/models/send-bird-group-channel-member.d.ts.map +1 -0
  36. package/lib/models/send-bird-group-channel-member.js +15 -0
  37. package/lib/models/send-bird-group-channel-model.d.ts +142 -0
  38. package/lib/models/send-bird-group-channel-model.d.ts.map +1 -0
  39. package/lib/models/send-bird-group-channel-model.js +15 -0
  40. package/lib/models/send-bird-group-channelr-operator.d.ts +37 -0
  41. package/lib/models/send-bird-group-channelr-operator.d.ts.map +1 -0
  42. package/lib/models/send-bird-group-channelr-operator.js +15 -0
  43. package/lib/models/session-token.d.ts +31 -0
  44. package/lib/models/session-token.d.ts.map +1 -0
  45. package/lib/models/session-token.js +15 -0
  46. package/lib/models/text-message.d.ts +114 -0
  47. package/lib/models/text-message.d.ts.map +1 -0
  48. package/lib/models/text-message.js +15 -0
  49. package/lib/models/user.d.ts +100 -0
  50. package/lib/models/user.d.ts.map +1 -0
  51. package/lib/models/user.js +15 -0
  52. package/package.json +1 -1
  53. package/src/.openapi-generator/FILES +15 -0
  54. package/src/api/group-channels-api.ts +290 -0
  55. package/src/api.ts +1 -0
  56. package/src/models/admin-message-model.ts +84 -0
  57. package/src/models/group-channel-list.ts +45 -0
  58. package/src/models/group-channel.ts +156 -0
  59. package/src/models/index.ts +14 -0
  60. package/src/models/invite-send-bird-group-channel-command.ts +30 -0
  61. package/src/models/mention-type.ts +31 -0
  62. package/src/models/message-type.ts +32 -0
  63. package/src/models/metadata.ts +42 -0
  64. package/src/models/model-file.ts +54 -0
  65. package/src/models/send-bird-group-channel-member.ts +87 -0
  66. package/src/models/send-bird-group-channel-model.ts +153 -0
  67. package/src/models/send-bird-group-channelr-operator.ts +42 -0
  68. package/src/models/session-token.ts +36 -0
  69. package/src/models/text-message.ts +123 -0
  70. package/src/models/user.ts +105 -0
@@ -24,6 +24,7 @@ api/email-marketings-api.ts
24
24
  api/faq-categories-api.ts
25
25
  api/faqs-api.ts
26
26
  api/grades-api.ts
27
+ api/group-channels-api.ts
27
28
  api/header-navigations-api.ts
28
29
  api/hospital-branches-api.ts
29
30
  api/hospital-groups-api.ts
@@ -63,6 +64,7 @@ models/accreditation-item-model.ts
63
64
  models/accreditation-model.ts
64
65
  models/accreditations-model.ts
65
66
  models/add-hospital-into-branch-command.ts
67
+ models/admin-message-model.ts
66
68
  models/app-version-item-model.ts
67
69
  models/app-version-model.ts
68
70
  models/app-versions-model.ts
@@ -280,6 +282,8 @@ models/grade-item-model.ts
280
282
  models/grade-model.ts
281
283
  models/grade-targets.ts
282
284
  models/grades-model.ts
285
+ models/group-channel-list.ts
286
+ models/group-channel.ts
283
287
  models/header-navigation-item-model.ts
284
288
  models/hospital-accreditation-item-model.ts
285
289
  models/hospital-accreditation-model.ts
@@ -330,6 +334,7 @@ models/hospital-working-days-batch-result-model.ts
330
334
  models/hospitals-model.ts
331
335
  models/hospitals-simple-model.ts
332
336
  models/index.ts
337
+ models/invite-send-bird-group-channel-command.ts
333
338
  models/landing-item-model.ts
334
339
  models/landing-model.ts
335
340
  models/landings-model.ts
@@ -354,6 +359,10 @@ models/members-model.ts
354
359
  models/membership-item-model.ts
355
360
  models/membership-model.ts
356
361
  models/memberships-model.ts
362
+ models/mention-type.ts
363
+ models/message-type.ts
364
+ models/metadata.ts
365
+ models/model-file.ts
357
366
  models/notice-item-model.ts
358
367
  models/notice-model.ts
359
368
  models/notice-sorting-command.ts
@@ -437,6 +446,9 @@ models/secure-container-model.ts
437
446
  models/secure-containers-model.ts
438
447
  models/secure-file-model.ts
439
448
  models/secure-files-uploaded-model.ts
449
+ models/send-bird-group-channel-member.ts
450
+ models/send-bird-group-channel-model.ts
451
+ models/send-bird-group-channelr-operator.ts
440
452
  models/send-email-command.ts
441
453
  models/send-template-version-command.ts
442
454
  models/service-categories-model.ts
@@ -446,6 +458,7 @@ models/service-category-model.ts
446
458
  models/service-review-item-model.ts
447
459
  models/service-review-model.ts
448
460
  models/service-reviews-model.ts
461
+ models/session-token.ts
449
462
  models/sns-handle-model.ts
450
463
  models/sns-type.ts
451
464
  models/sort-footer-navigations-command.ts
@@ -489,6 +502,7 @@ models/tags-model.ts
489
502
  models/template-version-item-model.ts
490
503
  models/template-version-model.ts
491
504
  models/template-versions-model.ts
505
+ models/text-message.ts
492
506
  models/translate-about-us-page-command.ts
493
507
  models/translate-all-options.ts
494
508
  models/translate-command.ts
@@ -577,6 +591,7 @@ models/user-language-model.ts
577
591
  models/user-location-model.ts
578
592
  models/user-location-type.ts
579
593
  models/user-model.ts
594
+ models/user.ts
580
595
  models/web-app-environment-model.ts
581
596
  models/web-app-item-model.ts
582
597
  models/web-app-model.ts
@@ -0,0 +1,290 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * CloudHospital Admin Api
5
+ * CloudHospital application with Swagger, Swashbuckle, and API versioning.
6
+ *
7
+ * The version of the OpenAPI document: 1
8
+ * Contact: developer@icloudhospital.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
17
+ import { Configuration } from '../configuration';
18
+ // Some imports not used depending on template conditions
19
+ // @ts-ignore
20
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
21
+ // @ts-ignore
22
+ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
+ // @ts-ignore
24
+ import { GroupChannelList } from '../models';
25
+ // @ts-ignore
26
+ import { InviteSendBirdGroupChannelCommand } from '../models';
27
+ // @ts-ignore
28
+ import { SendBirdGroupChannelModel } from '../models';
29
+ /**
30
+ * GroupChannelsApi - axios parameter creator
31
+ * @export
32
+ */
33
+ export const GroupChannelsApiAxiosParamCreator = function (configuration?: Configuration) {
34
+ return {
35
+ /**
36
+ *
37
+ * @summary invite user to group channel
38
+ * @param {string} channelUrl
39
+ * @param {InviteSendBirdGroupChannelCommand} [inviteSendBirdGroupChannelCommand]
40
+ * @param {*} [options] Override http request option.
41
+ * @throws {RequiredError}
42
+ */
43
+ apiV1GroupchannelsChannelUrlInvitePost: async (channelUrl: string, inviteSendBirdGroupChannelCommand?: InviteSendBirdGroupChannelCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
44
+ // verify required parameter 'channelUrl' is not null or undefined
45
+ assertParamExists('apiV1GroupchannelsChannelUrlInvitePost', 'channelUrl', channelUrl)
46
+ const localVarPath = `/api/v1/groupchannels/{channelUrl}/invite`
47
+ .replace(`{${"channelUrl"}}`, encodeURIComponent(String(channelUrl)));
48
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
49
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
50
+ let baseOptions;
51
+ if (configuration) {
52
+ baseOptions = configuration.baseOptions;
53
+ }
54
+
55
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
56
+ const localVarHeaderParameter = {} as any;
57
+ const localVarQueryParameter = {} as any;
58
+
59
+ // authentication oauth2 required
60
+ // oauth required
61
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
62
+
63
+
64
+
65
+ localVarHeaderParameter['Content-Type'] = 'application/json';
66
+
67
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
68
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
69
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
70
+ localVarRequestOptions.data = serializeDataIfNeeded(inviteSendBirdGroupChannelCommand, localVarRequestOptions, configuration)
71
+
72
+ return {
73
+ url: toPathString(localVarUrlObj),
74
+ options: localVarRequestOptions,
75
+ };
76
+ },
77
+ /**
78
+ *
79
+ * @summary Get group channel list
80
+ * @param {string} [nextToken]
81
+ * @param {string} [userId]
82
+ * @param {string} [customType]
83
+ * @param {number} [limit]
84
+ * @param {*} [options] Override http request option.
85
+ * @throws {RequiredError}
86
+ */
87
+ apiV1GroupchannelsGet: async (nextToken?: string, userId?: string, customType?: string, limit?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
88
+ const localVarPath = `/api/v1/groupchannels`;
89
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
90
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
91
+ let baseOptions;
92
+ if (configuration) {
93
+ baseOptions = configuration.baseOptions;
94
+ }
95
+
96
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
97
+ const localVarHeaderParameter = {} as any;
98
+ const localVarQueryParameter = {} as any;
99
+
100
+ // authentication oauth2 required
101
+ // oauth required
102
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
103
+
104
+ if (nextToken !== undefined) {
105
+ localVarQueryParameter['NextToken'] = nextToken;
106
+ }
107
+
108
+ if (userId !== undefined) {
109
+ localVarQueryParameter['UserId'] = userId;
110
+ }
111
+
112
+ if (customType !== undefined) {
113
+ localVarQueryParameter['CustomType'] = customType;
114
+ }
115
+
116
+ if (limit !== undefined) {
117
+ localVarQueryParameter['Limit'] = limit;
118
+ }
119
+
120
+
121
+
122
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
123
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
124
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
125
+
126
+ return {
127
+ url: toPathString(localVarUrlObj),
128
+ options: localVarRequestOptions,
129
+ };
130
+ },
131
+ }
132
+ };
133
+
134
+ /**
135
+ * GroupChannelsApi - functional programming interface
136
+ * @export
137
+ */
138
+ export const GroupChannelsApiFp = function(configuration?: Configuration) {
139
+ const localVarAxiosParamCreator = GroupChannelsApiAxiosParamCreator(configuration)
140
+ return {
141
+ /**
142
+ *
143
+ * @summary invite user to group channel
144
+ * @param {string} channelUrl
145
+ * @param {InviteSendBirdGroupChannelCommand} [inviteSendBirdGroupChannelCommand]
146
+ * @param {*} [options] Override http request option.
147
+ * @throws {RequiredError}
148
+ */
149
+ async apiV1GroupchannelsChannelUrlInvitePost(channelUrl: string, inviteSendBirdGroupChannelCommand?: InviteSendBirdGroupChannelCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SendBirdGroupChannelModel>> {
150
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1GroupchannelsChannelUrlInvitePost(channelUrl, inviteSendBirdGroupChannelCommand, options);
151
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
152
+ },
153
+ /**
154
+ *
155
+ * @summary Get group channel list
156
+ * @param {string} [nextToken]
157
+ * @param {string} [userId]
158
+ * @param {string} [customType]
159
+ * @param {number} [limit]
160
+ * @param {*} [options] Override http request option.
161
+ * @throws {RequiredError}
162
+ */
163
+ async apiV1GroupchannelsGet(nextToken?: string, userId?: string, customType?: string, limit?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GroupChannelList>> {
164
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1GroupchannelsGet(nextToken, userId, customType, limit, options);
165
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
166
+ },
167
+ }
168
+ };
169
+
170
+ /**
171
+ * GroupChannelsApi - factory interface
172
+ * @export
173
+ */
174
+ export const GroupChannelsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
175
+ const localVarFp = GroupChannelsApiFp(configuration)
176
+ return {
177
+ /**
178
+ *
179
+ * @summary invite user to group channel
180
+ * @param {string} channelUrl
181
+ * @param {InviteSendBirdGroupChannelCommand} [inviteSendBirdGroupChannelCommand]
182
+ * @param {*} [options] Override http request option.
183
+ * @throws {RequiredError}
184
+ */
185
+ apiV1GroupchannelsChannelUrlInvitePost(channelUrl: string, inviteSendBirdGroupChannelCommand?: InviteSendBirdGroupChannelCommand, options?: any): AxiosPromise<SendBirdGroupChannelModel> {
186
+ return localVarFp.apiV1GroupchannelsChannelUrlInvitePost(channelUrl, inviteSendBirdGroupChannelCommand, options).then((request) => request(axios, basePath));
187
+ },
188
+ /**
189
+ *
190
+ * @summary Get group channel list
191
+ * @param {string} [nextToken]
192
+ * @param {string} [userId]
193
+ * @param {string} [customType]
194
+ * @param {number} [limit]
195
+ * @param {*} [options] Override http request option.
196
+ * @throws {RequiredError}
197
+ */
198
+ apiV1GroupchannelsGet(nextToken?: string, userId?: string, customType?: string, limit?: number, options?: any): AxiosPromise<GroupChannelList> {
199
+ return localVarFp.apiV1GroupchannelsGet(nextToken, userId, customType, limit, options).then((request) => request(axios, basePath));
200
+ },
201
+ };
202
+ };
203
+
204
+ /**
205
+ * Request parameters for apiV1GroupchannelsChannelUrlInvitePost operation in GroupChannelsApi.
206
+ * @export
207
+ * @interface GroupChannelsApiApiV1GroupchannelsChannelUrlInvitePostRequest
208
+ */
209
+ export interface GroupChannelsApiApiV1GroupchannelsChannelUrlInvitePostRequest {
210
+ /**
211
+ *
212
+ * @type {string}
213
+ * @memberof GroupChannelsApiApiV1GroupchannelsChannelUrlInvitePost
214
+ */
215
+ readonly channelUrl: string
216
+
217
+ /**
218
+ *
219
+ * @type {InviteSendBirdGroupChannelCommand}
220
+ * @memberof GroupChannelsApiApiV1GroupchannelsChannelUrlInvitePost
221
+ */
222
+ readonly inviteSendBirdGroupChannelCommand?: InviteSendBirdGroupChannelCommand
223
+ }
224
+
225
+ /**
226
+ * Request parameters for apiV1GroupchannelsGet operation in GroupChannelsApi.
227
+ * @export
228
+ * @interface GroupChannelsApiApiV1GroupchannelsGetRequest
229
+ */
230
+ export interface GroupChannelsApiApiV1GroupchannelsGetRequest {
231
+ /**
232
+ *
233
+ * @type {string}
234
+ * @memberof GroupChannelsApiApiV1GroupchannelsGet
235
+ */
236
+ readonly nextToken?: string
237
+
238
+ /**
239
+ *
240
+ * @type {string}
241
+ * @memberof GroupChannelsApiApiV1GroupchannelsGet
242
+ */
243
+ readonly userId?: string
244
+
245
+ /**
246
+ *
247
+ * @type {string}
248
+ * @memberof GroupChannelsApiApiV1GroupchannelsGet
249
+ */
250
+ readonly customType?: string
251
+
252
+ /**
253
+ *
254
+ * @type {number}
255
+ * @memberof GroupChannelsApiApiV1GroupchannelsGet
256
+ */
257
+ readonly limit?: number
258
+ }
259
+
260
+ /**
261
+ * GroupChannelsApi - object-oriented interface
262
+ * @export
263
+ * @class GroupChannelsApi
264
+ * @extends {BaseAPI}
265
+ */
266
+ export class GroupChannelsApi extends BaseAPI {
267
+ /**
268
+ *
269
+ * @summary invite user to group channel
270
+ * @param {GroupChannelsApiApiV1GroupchannelsChannelUrlInvitePostRequest} requestParameters Request parameters.
271
+ * @param {*} [options] Override http request option.
272
+ * @throws {RequiredError}
273
+ * @memberof GroupChannelsApi
274
+ */
275
+ public apiV1GroupchannelsChannelUrlInvitePost(requestParameters: GroupChannelsApiApiV1GroupchannelsChannelUrlInvitePostRequest, options?: AxiosRequestConfig) {
276
+ return GroupChannelsApiFp(this.configuration).apiV1GroupchannelsChannelUrlInvitePost(requestParameters.channelUrl, requestParameters.inviteSendBirdGroupChannelCommand, options).then((request) => request(this.axios, this.basePath));
277
+ }
278
+
279
+ /**
280
+ *
281
+ * @summary Get group channel list
282
+ * @param {GroupChannelsApiApiV1GroupchannelsGetRequest} requestParameters Request parameters.
283
+ * @param {*} [options] Override http request option.
284
+ * @throws {RequiredError}
285
+ * @memberof GroupChannelsApi
286
+ */
287
+ public apiV1GroupchannelsGet(requestParameters: GroupChannelsApiApiV1GroupchannelsGetRequest = {}, options?: AxiosRequestConfig) {
288
+ return GroupChannelsApiFp(this.configuration).apiV1GroupchannelsGet(requestParameters.nextToken, requestParameters.userId, requestParameters.customType, requestParameters.limit, options).then((request) => request(this.axios, this.basePath));
289
+ }
290
+ }
package/src/api.ts CHANGED
@@ -36,6 +36,7 @@ export * from './api/email-marketings-api';
36
36
  export * from './api/faq-categories-api';
37
37
  export * from './api/faqs-api';
38
38
  export * from './api/grades-api';
39
+ export * from './api/group-channels-api';
39
40
  export * from './api/header-navigations-api';
40
41
  export * from './api/hospital-branches-api';
41
42
  export * from './api/hospital-groups-api';
@@ -0,0 +1,84 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * CloudHospital Admin Api
5
+ * CloudHospital application with Swagger, Swashbuckle, and API versioning.
6
+ *
7
+ * The version of the OpenAPI document: 1
8
+ * Contact: developer@icloudhospital.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface AdminMessageModel
21
+ */
22
+ export interface AdminMessageModel {
23
+ /**
24
+ *
25
+ * @type {number}
26
+ * @memberof AdminMessageModel
27
+ */
28
+ 'message_id'?: number;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof AdminMessageModel
33
+ */
34
+ 'type'?: string | null;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof AdminMessageModel
39
+ */
40
+ 'custom_type'?: string | null;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof AdminMessageModel
45
+ */
46
+ 'channel_url'?: string | null;
47
+ /**
48
+ *
49
+ * @type {string}
50
+ * @memberof AdminMessageModel
51
+ */
52
+ 'mention_type'?: string | null;
53
+ /**
54
+ *
55
+ * @type {boolean}
56
+ * @memberof AdminMessageModel
57
+ */
58
+ 'is_removed'?: boolean;
59
+ /**
60
+ *
61
+ * @type {string}
62
+ * @memberof AdminMessageModel
63
+ */
64
+ 'message'?: string | null;
65
+ /**
66
+ *
67
+ * @type {string}
68
+ * @memberof AdminMessageModel
69
+ */
70
+ 'data'?: string | null;
71
+ /**
72
+ *
73
+ * @type {number}
74
+ * @memberof AdminMessageModel
75
+ */
76
+ 'created_at'?: number;
77
+ /**
78
+ *
79
+ * @type {number}
80
+ * @memberof AdminMessageModel
81
+ */
82
+ 'updated_at'?: number;
83
+ }
84
+
@@ -0,0 +1,45 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * CloudHospital Admin Api
5
+ * CloudHospital application with Swagger, Swashbuckle, and API versioning.
6
+ *
7
+ * The version of the OpenAPI document: 1
8
+ * Contact: developer@icloudhospital.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import { GroupChannel } from './group-channel';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface GroupChannelList
24
+ */
25
+ export interface GroupChannelList {
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof GroupChannelList
30
+ */
31
+ 'object'?: string | null;
32
+ /**
33
+ *
34
+ * @type {Array<GroupChannel>}
35
+ * @memberof GroupChannelList
36
+ */
37
+ 'channels'?: Array<GroupChannel> | null;
38
+ /**
39
+ *
40
+ * @type {string}
41
+ * @memberof GroupChannelList
42
+ */
43
+ 'next'?: string | null;
44
+ }
45
+
@@ -0,0 +1,156 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * CloudHospital Admin Api
5
+ * CloudHospital application with Swagger, Swashbuckle, and API versioning.
6
+ *
7
+ * The version of the OpenAPI document: 1
8
+ * Contact: developer@icloudhospital.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import { TextMessage } from './text-message';
19
+ // May contain unused imports in some cases
20
+ // @ts-ignore
21
+ import { User } from './user';
22
+
23
+ /**
24
+ *
25
+ * @export
26
+ * @interface GroupChannel
27
+ */
28
+ export interface GroupChannel {
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof GroupChannel
33
+ */
34
+ 'name'?: string | null;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof GroupChannel
39
+ */
40
+ 'channelUrl'?: string | null;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof GroupChannel
45
+ */
46
+ 'coverUrl'?: string | null;
47
+ /**
48
+ *
49
+ * @type {string}
50
+ * @memberof GroupChannel
51
+ */
52
+ 'customType'?: string | null;
53
+ /**
54
+ *
55
+ * @type {string}
56
+ * @memberof GroupChannel
57
+ */
58
+ 'data'?: string | null;
59
+ /**
60
+ *
61
+ * @type {boolean}
62
+ * @memberof GroupChannel
63
+ */
64
+ 'isEphemeral'?: boolean;
65
+ /**
66
+ *
67
+ * @type {number}
68
+ * @memberof GroupChannel
69
+ */
70
+ 'maxLengthMessage'?: number;
71
+ /**
72
+ *
73
+ * @type {Date}
74
+ * @memberof GroupChannel
75
+ */
76
+ 'createdAt'?: Date;
77
+ /**
78
+ *
79
+ * @type {Array<User>}
80
+ * @memberof GroupChannel
81
+ */
82
+ 'operators'?: Array<User> | null;
83
+ /**
84
+ *
85
+ * @type {boolean}
86
+ * @memberof GroupChannel
87
+ */
88
+ 'freeze'?: boolean;
89
+ /**
90
+ *
91
+ * @type {boolean}
92
+ * @memberof GroupChannel
93
+ */
94
+ 'isDistinct'?: boolean;
95
+ /**
96
+ *
97
+ * @type {boolean}
98
+ * @memberof GroupChannel
99
+ */
100
+ 'isPublic'?: boolean;
101
+ /**
102
+ *
103
+ * @type {boolean}
104
+ * @memberof GroupChannel
105
+ */
106
+ 'isSuper'?: boolean;
107
+ /**
108
+ *
109
+ * @type {boolean}
110
+ * @memberof GroupChannel
111
+ */
112
+ 'isAccessCodeRequired'?: boolean;
113
+ /**
114
+ *
115
+ * @type {number}
116
+ * @memberof GroupChannel
117
+ */
118
+ 'memberCount'?: number;
119
+ /**
120
+ *
121
+ * @type {number}
122
+ * @memberof GroupChannel
123
+ */
124
+ 'joinedMemberCount'?: number;
125
+ /**
126
+ *
127
+ * @type {Array<User>}
128
+ * @memberof GroupChannel
129
+ */
130
+ 'members'?: Array<User> | null;
131
+ /**
132
+ *
133
+ * @type {{ [key: string]: number; }}
134
+ * @memberof GroupChannel
135
+ */
136
+ 'readReceipt'?: { [key: string]: number; } | null;
137
+ /**
138
+ *
139
+ * @type {number}
140
+ * @memberof GroupChannel
141
+ */
142
+ 'unreadMessageCount'?: number;
143
+ /**
144
+ *
145
+ * @type {number}
146
+ * @memberof GroupChannel
147
+ */
148
+ 'unreadMentionCount'?: number;
149
+ /**
150
+ *
151
+ * @type {TextMessage}
152
+ * @memberof GroupChannel
153
+ */
154
+ 'lastMessage'?: TextMessage;
155
+ }
156
+