ch-chat-api-typescript-axios 1.1.2 → 1.1.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.
@@ -29,7 +29,8 @@ import type { TransferManagerCommand } from '../models';
29
29
  export declare const ChatApiAxiosParamCreator: (configuration?: Configuration) => {
30
30
  /**
31
31
  *
32
- * @param {string} tenantId
32
+ * @summary Get all chat sessions.
33
+ * @param {string} tenantId The tenant identifier.
33
34
  * @param {string} [id]
34
35
  * @param {string} [assigneeId]
35
36
  * @param {string} [title]
@@ -44,78 +45,88 @@ export declare const ChatApiAxiosParamCreator: (configuration?: Configuration) =
44
45
  apiV1ChatTenantIdSessionsGet: (tenantId: string, id?: string, assigneeId?: string, title?: string, userName?: string, userEmail?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
45
46
  /**
46
47
  *
47
- * @param {string} tenantId
48
- * @param {CreateChatSessionCommand} [createChatSessionCommand]
48
+ * @summary Create a chat session.
49
+ * @param {string} tenantId The tenant identifier.
50
+ * @param {CreateChatSessionCommand} [createChatSessionCommand] The command to create a chat session.
49
51
  * @param {*} [options] Override http request option.
50
52
  * @throws {RequiredError}
51
53
  */
52
54
  apiV1ChatTenantIdSessionsPost: (tenantId: string, createChatSessionCommand?: CreateChatSessionCommand, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
53
55
  /**
54
56
  *
55
- * @param {string} tenantId
56
- * @param {string} sessionId
57
+ * @summary Delete a chat session.
58
+ * @param {string} tenantId The tenant identifier.
59
+ * @param {string} sessionId The session identifier.
57
60
  * @param {*} [options] Override http request option.
58
61
  * @throws {RequiredError}
59
62
  */
60
63
  apiV1ChatTenantIdSessionsSessionIdDelete: (tenantId: string, sessionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
61
64
  /**
62
65
  *
63
- * @param {string} tenantId
64
- * @param {string} sessionId
66
+ * @summary Get chat session by session Id.
67
+ * @param {string} tenantId The tenant identifier.
68
+ * @param {string} sessionId The session identifier.
65
69
  * @param {*} [options] Override http request option.
66
70
  * @throws {RequiredError}
67
71
  */
68
72
  apiV1ChatTenantIdSessionsSessionIdGet: (tenantId: string, sessionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
69
73
  /**
70
74
  *
71
- * @param {string} tenantId
72
- * @param {string} sessionId
73
- * @param {JoinChatSessionCommand} [joinChatSessionCommand]
75
+ * @summary Join a chat session.
76
+ * @param {string} tenantId The tenant identifier.
77
+ * @param {string} sessionId The session identifier.
78
+ * @param {JoinChatSessionCommand} [joinChatSessionCommand] The command to join a chat session.
74
79
  * @param {*} [options] Override http request option.
75
80
  * @throws {RequiredError}
76
81
  */
77
82
  apiV1ChatTenantIdSessionsSessionIdJoinPost: (tenantId: string, sessionId: string, joinChatSessionCommand?: JoinChatSessionCommand, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
78
83
  /**
79
84
  *
80
- * @param {string} tenantId
81
- * @param {string} sessionId
85
+ * @summary Leave a chat session.
86
+ * @param {string} tenantId The tenant identifier.
87
+ * @param {string} sessionId The session identifier.
82
88
  * @param {*} [options] Override http request option.
83
89
  * @throws {RequiredError}
84
90
  */
85
91
  apiV1ChatTenantIdSessionsSessionIdLeaveDelete: (tenantId: string, sessionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
86
92
  /**
87
93
  *
88
- * @param {string} tenantId
89
- * @param {string} sessionId
90
- * @param {number} [skip]
91
- * @param {number} [take]
94
+ * @summary Get messages from a chat session.
95
+ * @param {string} tenantId The tenant identifier.
96
+ * @param {string} sessionId The session identifier.
97
+ * @param {number} [page]
98
+ * @param {number} [limit]
99
+ * @param {Date} [lastRetrieved]
92
100
  * @param {*} [options] Override http request option.
93
101
  * @throws {RequiredError}
94
102
  */
95
- apiV1ChatTenantIdSessionsSessionIdMessagesGet: (tenantId: string, sessionId: string, skip?: number, take?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
103
+ apiV1ChatTenantIdSessionsSessionIdMessagesGet: (tenantId: string, sessionId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
96
104
  /**
97
105
  *
98
- * @param {string} tenantId
99
- * @param {string} sessionId
100
- * @param {ChatSendMessageCommand} [chatSendMessageCommand]
106
+ * @summary Send a message in a chat session.
107
+ * @param {string} tenantId The tenant identifier.
108
+ * @param {string} sessionId The session identifier.
109
+ * @param {ChatSendMessageCommand} [chatSendMessageCommand] The command to send a message.
101
110
  * @param {*} [options] Override http request option.
102
111
  * @throws {RequiredError}
103
112
  */
104
113
  apiV1ChatTenantIdSessionsSessionIdMessagesPost: (tenantId: string, sessionId: string, chatSendMessageCommand?: ChatSendMessageCommand, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
105
114
  /**
106
115
  *
107
- * @param {string} tenantId
108
- * @param {string} sessionId
109
- * @param {PutChatSessionCommand} [putChatSessionCommand]
116
+ * @summary Update a chat session.
117
+ * @param {string} tenantId The tenant identifier.
118
+ * @param {string} sessionId The session identifier.
119
+ * @param {PutChatSessionCommand} [putChatSessionCommand] The command to update a chat session.
110
120
  * @param {*} [options] Override http request option.
111
121
  * @throws {RequiredError}
112
122
  */
113
123
  apiV1ChatTenantIdSessionsSessionIdPatch: (tenantId: string, sessionId: string, putChatSessionCommand?: PutChatSessionCommand, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
114
124
  /**
115
125
  *
116
- * @param {string} tenantId
117
- * @param {string} sessionId
118
- * @param {TransferManagerCommand} [transferManagerCommand]
126
+ * @summary Transfer a chat session agent.
127
+ * @param {string} tenantId The tenant identifier.
128
+ * @param {string} sessionId The session identifier.
129
+ * @param {TransferManagerCommand} [transferManagerCommand] The command to transfer a chat session.
119
130
  * @param {*} [options] Override http request option.
120
131
  * @throws {RequiredError}
121
132
  */
@@ -128,7 +139,8 @@ export declare const ChatApiAxiosParamCreator: (configuration?: Configuration) =
128
139
  export declare const ChatApiFp: (configuration?: Configuration) => {
129
140
  /**
130
141
  *
131
- * @param {string} tenantId
142
+ * @summary Get all chat sessions.
143
+ * @param {string} tenantId The tenant identifier.
132
144
  * @param {string} [id]
133
145
  * @param {string} [assigneeId]
134
146
  * @param {string} [title]
@@ -143,78 +155,88 @@ export declare const ChatApiFp: (configuration?: Configuration) => {
143
155
  apiV1ChatTenantIdSessionsGet(tenantId: string, id?: string, assigneeId?: string, title?: string, userName?: string, userEmail?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatSessionsModel>>;
144
156
  /**
145
157
  *
146
- * @param {string} tenantId
147
- * @param {CreateChatSessionCommand} [createChatSessionCommand]
158
+ * @summary Create a chat session.
159
+ * @param {string} tenantId The tenant identifier.
160
+ * @param {CreateChatSessionCommand} [createChatSessionCommand] The command to create a chat session.
148
161
  * @param {*} [options] Override http request option.
149
162
  * @throws {RequiredError}
150
163
  */
151
164
  apiV1ChatTenantIdSessionsPost(tenantId: string, createChatSessionCommand?: CreateChatSessionCommand, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatSessionModel>>;
152
165
  /**
153
166
  *
154
- * @param {string} tenantId
155
- * @param {string} sessionId
167
+ * @summary Delete a chat session.
168
+ * @param {string} tenantId The tenant identifier.
169
+ * @param {string} sessionId The session identifier.
156
170
  * @param {*} [options] Override http request option.
157
171
  * @throws {RequiredError}
158
172
  */
159
173
  apiV1ChatTenantIdSessionsSessionIdDelete(tenantId: string, sessionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
160
174
  /**
161
175
  *
162
- * @param {string} tenantId
163
- * @param {string} sessionId
176
+ * @summary Get chat session by session Id.
177
+ * @param {string} tenantId The tenant identifier.
178
+ * @param {string} sessionId The session identifier.
164
179
  * @param {*} [options] Override http request option.
165
180
  * @throws {RequiredError}
166
181
  */
167
182
  apiV1ChatTenantIdSessionsSessionIdGet(tenantId: string, sessionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatSessionModel>>;
168
183
  /**
169
184
  *
170
- * @param {string} tenantId
171
- * @param {string} sessionId
172
- * @param {JoinChatSessionCommand} [joinChatSessionCommand]
185
+ * @summary Join a chat session.
186
+ * @param {string} tenantId The tenant identifier.
187
+ * @param {string} sessionId The session identifier.
188
+ * @param {JoinChatSessionCommand} [joinChatSessionCommand] The command to join a chat session.
173
189
  * @param {*} [options] Override http request option.
174
190
  * @throws {RequiredError}
175
191
  */
176
192
  apiV1ChatTenantIdSessionsSessionIdJoinPost(tenantId: string, sessionId: string, joinChatSessionCommand?: JoinChatSessionCommand, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatParticipantModel>>;
177
193
  /**
178
194
  *
179
- * @param {string} tenantId
180
- * @param {string} sessionId
195
+ * @summary Leave a chat session.
196
+ * @param {string} tenantId The tenant identifier.
197
+ * @param {string} sessionId The session identifier.
181
198
  * @param {*} [options] Override http request option.
182
199
  * @throws {RequiredError}
183
200
  */
184
201
  apiV1ChatTenantIdSessionsSessionIdLeaveDelete(tenantId: string, sessionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatParticipantModel>>;
185
202
  /**
186
203
  *
187
- * @param {string} tenantId
188
- * @param {string} sessionId
189
- * @param {number} [skip]
190
- * @param {number} [take]
204
+ * @summary Get messages from a chat session.
205
+ * @param {string} tenantId The tenant identifier.
206
+ * @param {string} sessionId The session identifier.
207
+ * @param {number} [page]
208
+ * @param {number} [limit]
209
+ * @param {Date} [lastRetrieved]
191
210
  * @param {*} [options] Override http request option.
192
211
  * @throws {RequiredError}
193
212
  */
194
- apiV1ChatTenantIdSessionsSessionIdMessagesGet(tenantId: string, sessionId: string, skip?: number, take?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatMessagesModel>>;
213
+ apiV1ChatTenantIdSessionsSessionIdMessagesGet(tenantId: string, sessionId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatMessagesModel>>;
195
214
  /**
196
215
  *
197
- * @param {string} tenantId
198
- * @param {string} sessionId
199
- * @param {ChatSendMessageCommand} [chatSendMessageCommand]
216
+ * @summary Send a message in a chat session.
217
+ * @param {string} tenantId The tenant identifier.
218
+ * @param {string} sessionId The session identifier.
219
+ * @param {ChatSendMessageCommand} [chatSendMessageCommand] The command to send a message.
200
220
  * @param {*} [options] Override http request option.
201
221
  * @throws {RequiredError}
202
222
  */
203
223
  apiV1ChatTenantIdSessionsSessionIdMessagesPost(tenantId: string, sessionId: string, chatSendMessageCommand?: ChatSendMessageCommand, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatMessageModel>>;
204
224
  /**
205
225
  *
206
- * @param {string} tenantId
207
- * @param {string} sessionId
208
- * @param {PutChatSessionCommand} [putChatSessionCommand]
226
+ * @summary Update a chat session.
227
+ * @param {string} tenantId The tenant identifier.
228
+ * @param {string} sessionId The session identifier.
229
+ * @param {PutChatSessionCommand} [putChatSessionCommand] The command to update a chat session.
209
230
  * @param {*} [options] Override http request option.
210
231
  * @throws {RequiredError}
211
232
  */
212
233
  apiV1ChatTenantIdSessionsSessionIdPatch(tenantId: string, sessionId: string, putChatSessionCommand?: PutChatSessionCommand, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatSessionsModel>>;
213
234
  /**
214
235
  *
215
- * @param {string} tenantId
216
- * @param {string} sessionId
217
- * @param {TransferManagerCommand} [transferManagerCommand]
236
+ * @summary Transfer a chat session agent.
237
+ * @param {string} tenantId The tenant identifier.
238
+ * @param {string} sessionId The session identifier.
239
+ * @param {TransferManagerCommand} [transferManagerCommand] The command to transfer a chat session.
218
240
  * @param {*} [options] Override http request option.
219
241
  * @throws {RequiredError}
220
242
  */
@@ -227,6 +249,7 @@ export declare const ChatApiFp: (configuration?: Configuration) => {
227
249
  export declare const ChatApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
228
250
  /**
229
251
  *
252
+ * @summary Get all chat sessions.
230
253
  * @param {ChatApiApiV1ChatTenantIdSessionsGetRequest} requestParameters Request parameters.
231
254
  * @param {*} [options] Override http request option.
232
255
  * @throws {RequiredError}
@@ -234,6 +257,7 @@ export declare const ChatApiFactory: (configuration?: Configuration, basePath?:
234
257
  apiV1ChatTenantIdSessionsGet(requestParameters: ChatApiApiV1ChatTenantIdSessionsGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatSessionsModel>;
235
258
  /**
236
259
  *
260
+ * @summary Create a chat session.
237
261
  * @param {ChatApiApiV1ChatTenantIdSessionsPostRequest} requestParameters Request parameters.
238
262
  * @param {*} [options] Override http request option.
239
263
  * @throws {RequiredError}
@@ -241,6 +265,7 @@ export declare const ChatApiFactory: (configuration?: Configuration, basePath?:
241
265
  apiV1ChatTenantIdSessionsPost(requestParameters: ChatApiApiV1ChatTenantIdSessionsPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatSessionModel>;
242
266
  /**
243
267
  *
268
+ * @summary Delete a chat session.
244
269
  * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdDeleteRequest} requestParameters Request parameters.
245
270
  * @param {*} [options] Override http request option.
246
271
  * @throws {RequiredError}
@@ -248,6 +273,7 @@ export declare const ChatApiFactory: (configuration?: Configuration, basePath?:
248
273
  apiV1ChatTenantIdSessionsSessionIdDelete(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
249
274
  /**
250
275
  *
276
+ * @summary Get chat session by session Id.
251
277
  * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdGetRequest} requestParameters Request parameters.
252
278
  * @param {*} [options] Override http request option.
253
279
  * @throws {RequiredError}
@@ -255,6 +281,7 @@ export declare const ChatApiFactory: (configuration?: Configuration, basePath?:
255
281
  apiV1ChatTenantIdSessionsSessionIdGet(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatSessionModel>;
256
282
  /**
257
283
  *
284
+ * @summary Join a chat session.
258
285
  * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdJoinPostRequest} requestParameters Request parameters.
259
286
  * @param {*} [options] Override http request option.
260
287
  * @throws {RequiredError}
@@ -262,6 +289,7 @@ export declare const ChatApiFactory: (configuration?: Configuration, basePath?:
262
289
  apiV1ChatTenantIdSessionsSessionIdJoinPost(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdJoinPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatParticipantModel>;
263
290
  /**
264
291
  *
292
+ * @summary Leave a chat session.
265
293
  * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdLeaveDeleteRequest} requestParameters Request parameters.
266
294
  * @param {*} [options] Override http request option.
267
295
  * @throws {RequiredError}
@@ -269,6 +297,7 @@ export declare const ChatApiFactory: (configuration?: Configuration, basePath?:
269
297
  apiV1ChatTenantIdSessionsSessionIdLeaveDelete(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdLeaveDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatParticipantModel>;
270
298
  /**
271
299
  *
300
+ * @summary Get messages from a chat session.
272
301
  * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesGetRequest} requestParameters Request parameters.
273
302
  * @param {*} [options] Override http request option.
274
303
  * @throws {RequiredError}
@@ -276,6 +305,7 @@ export declare const ChatApiFactory: (configuration?: Configuration, basePath?:
276
305
  apiV1ChatTenantIdSessionsSessionIdMessagesGet(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatMessagesModel>;
277
306
  /**
278
307
  *
308
+ * @summary Send a message in a chat session.
279
309
  * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesPostRequest} requestParameters Request parameters.
280
310
  * @param {*} [options] Override http request option.
281
311
  * @throws {RequiredError}
@@ -283,6 +313,7 @@ export declare const ChatApiFactory: (configuration?: Configuration, basePath?:
283
313
  apiV1ChatTenantIdSessionsSessionIdMessagesPost(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatMessageModel>;
284
314
  /**
285
315
  *
316
+ * @summary Update a chat session.
286
317
  * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdPatchRequest} requestParameters Request parameters.
287
318
  * @param {*} [options] Override http request option.
288
319
  * @throws {RequiredError}
@@ -290,6 +321,7 @@ export declare const ChatApiFactory: (configuration?: Configuration, basePath?:
290
321
  apiV1ChatTenantIdSessionsSessionIdPatch(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdPatchRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChatSessionsModel>;
291
322
  /**
292
323
  *
324
+ * @summary Transfer a chat session agent.
293
325
  * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdTransferPutRequest} requestParameters Request parameters.
294
326
  * @param {*} [options] Override http request option.
295
327
  * @throws {RequiredError}
@@ -303,7 +335,7 @@ export declare const ChatApiFactory: (configuration?: Configuration, basePath?:
303
335
  */
304
336
  export interface ChatApiApiV1ChatTenantIdSessionsGetRequest {
305
337
  /**
306
- *
338
+ * The tenant identifier.
307
339
  * @type {string}
308
340
  * @memberof ChatApiApiV1ChatTenantIdSessionsGet
309
341
  */
@@ -364,13 +396,13 @@ export interface ChatApiApiV1ChatTenantIdSessionsGetRequest {
364
396
  */
365
397
  export interface ChatApiApiV1ChatTenantIdSessionsPostRequest {
366
398
  /**
367
- *
399
+ * The tenant identifier.
368
400
  * @type {string}
369
401
  * @memberof ChatApiApiV1ChatTenantIdSessionsPost
370
402
  */
371
403
  readonly tenantId: string;
372
404
  /**
373
- *
405
+ * The command to create a chat session.
374
406
  * @type {CreateChatSessionCommand}
375
407
  * @memberof ChatApiApiV1ChatTenantIdSessionsPost
376
408
  */
@@ -383,13 +415,13 @@ export interface ChatApiApiV1ChatTenantIdSessionsPostRequest {
383
415
  */
384
416
  export interface ChatApiApiV1ChatTenantIdSessionsSessionIdDeleteRequest {
385
417
  /**
386
- *
418
+ * The tenant identifier.
387
419
  * @type {string}
388
420
  * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdDelete
389
421
  */
390
422
  readonly tenantId: string;
391
423
  /**
392
- *
424
+ * The session identifier.
393
425
  * @type {string}
394
426
  * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdDelete
395
427
  */
@@ -402,13 +434,13 @@ export interface ChatApiApiV1ChatTenantIdSessionsSessionIdDeleteRequest {
402
434
  */
403
435
  export interface ChatApiApiV1ChatTenantIdSessionsSessionIdGetRequest {
404
436
  /**
405
- *
437
+ * The tenant identifier.
406
438
  * @type {string}
407
439
  * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdGet
408
440
  */
409
441
  readonly tenantId: string;
410
442
  /**
411
- *
443
+ * The session identifier.
412
444
  * @type {string}
413
445
  * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdGet
414
446
  */
@@ -421,19 +453,19 @@ export interface ChatApiApiV1ChatTenantIdSessionsSessionIdGetRequest {
421
453
  */
422
454
  export interface ChatApiApiV1ChatTenantIdSessionsSessionIdJoinPostRequest {
423
455
  /**
424
- *
456
+ * The tenant identifier.
425
457
  * @type {string}
426
458
  * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdJoinPost
427
459
  */
428
460
  readonly tenantId: string;
429
461
  /**
430
- *
462
+ * The session identifier.
431
463
  * @type {string}
432
464
  * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdJoinPost
433
465
  */
434
466
  readonly sessionId: string;
435
467
  /**
436
- *
468
+ * The command to join a chat session.
437
469
  * @type {JoinChatSessionCommand}
438
470
  * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdJoinPost
439
471
  */
@@ -446,13 +478,13 @@ export interface ChatApiApiV1ChatTenantIdSessionsSessionIdJoinPostRequest {
446
478
  */
447
479
  export interface ChatApiApiV1ChatTenantIdSessionsSessionIdLeaveDeleteRequest {
448
480
  /**
449
- *
481
+ * The tenant identifier.
450
482
  * @type {string}
451
483
  * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdLeaveDelete
452
484
  */
453
485
  readonly tenantId: string;
454
486
  /**
455
- *
487
+ * The session identifier.
456
488
  * @type {string}
457
489
  * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdLeaveDelete
458
490
  */
@@ -465,13 +497,13 @@ export interface ChatApiApiV1ChatTenantIdSessionsSessionIdLeaveDeleteRequest {
465
497
  */
466
498
  export interface ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesGetRequest {
467
499
  /**
468
- *
500
+ * The tenant identifier.
469
501
  * @type {string}
470
502
  * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesGet
471
503
  */
472
504
  readonly tenantId: string;
473
505
  /**
474
- *
506
+ * The session identifier.
475
507
  * @type {string}
476
508
  * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesGet
477
509
  */
@@ -481,13 +513,19 @@ export interface ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesGetRequest {
481
513
  * @type {number}
482
514
  * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesGet
483
515
  */
484
- readonly skip?: number;
516
+ readonly page?: number;
485
517
  /**
486
518
  *
487
519
  * @type {number}
488
520
  * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesGet
489
521
  */
490
- readonly take?: number;
522
+ readonly limit?: number;
523
+ /**
524
+ *
525
+ * @type {Date}
526
+ * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesGet
527
+ */
528
+ readonly lastRetrieved?: Date;
491
529
  }
492
530
  /**
493
531
  * Request parameters for apiV1ChatTenantIdSessionsSessionIdMessagesPost operation in ChatApi.
@@ -496,19 +534,19 @@ export interface ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesGetRequest {
496
534
  */
497
535
  export interface ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesPostRequest {
498
536
  /**
499
- *
537
+ * The tenant identifier.
500
538
  * @type {string}
501
539
  * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesPost
502
540
  */
503
541
  readonly tenantId: string;
504
542
  /**
505
- *
543
+ * The session identifier.
506
544
  * @type {string}
507
545
  * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesPost
508
546
  */
509
547
  readonly sessionId: string;
510
548
  /**
511
- *
549
+ * The command to send a message.
512
550
  * @type {ChatSendMessageCommand}
513
551
  * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesPost
514
552
  */
@@ -521,19 +559,19 @@ export interface ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesPostRequest {
521
559
  */
522
560
  export interface ChatApiApiV1ChatTenantIdSessionsSessionIdPatchRequest {
523
561
  /**
524
- *
562
+ * The tenant identifier.
525
563
  * @type {string}
526
564
  * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdPatch
527
565
  */
528
566
  readonly tenantId: string;
529
567
  /**
530
- *
568
+ * The session identifier.
531
569
  * @type {string}
532
570
  * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdPatch
533
571
  */
534
572
  readonly sessionId: string;
535
573
  /**
536
- *
574
+ * The command to update a chat session.
537
575
  * @type {PutChatSessionCommand}
538
576
  * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdPatch
539
577
  */
@@ -546,19 +584,19 @@ export interface ChatApiApiV1ChatTenantIdSessionsSessionIdPatchRequest {
546
584
  */
547
585
  export interface ChatApiApiV1ChatTenantIdSessionsSessionIdTransferPutRequest {
548
586
  /**
549
- *
587
+ * The tenant identifier.
550
588
  * @type {string}
551
589
  * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdTransferPut
552
590
  */
553
591
  readonly tenantId: string;
554
592
  /**
555
- *
593
+ * The session identifier.
556
594
  * @type {string}
557
595
  * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdTransferPut
558
596
  */
559
597
  readonly sessionId: string;
560
598
  /**
561
- *
599
+ * The command to transfer a chat session.
562
600
  * @type {TransferManagerCommand}
563
601
  * @memberof ChatApiApiV1ChatTenantIdSessionsSessionIdTransferPut
564
602
  */
@@ -573,6 +611,7 @@ export interface ChatApiApiV1ChatTenantIdSessionsSessionIdTransferPutRequest {
573
611
  export declare class ChatApi extends BaseAPI {
574
612
  /**
575
613
  *
614
+ * @summary Get all chat sessions.
576
615
  * @param {ChatApiApiV1ChatTenantIdSessionsGetRequest} requestParameters Request parameters.
577
616
  * @param {*} [options] Override http request option.
578
617
  * @throws {RequiredError}
@@ -581,6 +620,7 @@ export declare class ChatApi extends BaseAPI {
581
620
  apiV1ChatTenantIdSessionsGet(requestParameters: ChatApiApiV1ChatTenantIdSessionsGetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatSessionsModel, any>>;
582
621
  /**
583
622
  *
623
+ * @summary Create a chat session.
584
624
  * @param {ChatApiApiV1ChatTenantIdSessionsPostRequest} requestParameters Request parameters.
585
625
  * @param {*} [options] Override http request option.
586
626
  * @throws {RequiredError}
@@ -589,6 +629,7 @@ export declare class ChatApi extends BaseAPI {
589
629
  apiV1ChatTenantIdSessionsPost(requestParameters: ChatApiApiV1ChatTenantIdSessionsPostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatSessionModel, any>>;
590
630
  /**
591
631
  *
632
+ * @summary Delete a chat session.
592
633
  * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdDeleteRequest} requestParameters Request parameters.
593
634
  * @param {*} [options] Override http request option.
594
635
  * @throws {RequiredError}
@@ -597,6 +638,7 @@ export declare class ChatApi extends BaseAPI {
597
638
  apiV1ChatTenantIdSessionsSessionIdDelete(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdDeleteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
598
639
  /**
599
640
  *
641
+ * @summary Get chat session by session Id.
600
642
  * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdGetRequest} requestParameters Request parameters.
601
643
  * @param {*} [options] Override http request option.
602
644
  * @throws {RequiredError}
@@ -605,6 +647,7 @@ export declare class ChatApi extends BaseAPI {
605
647
  apiV1ChatTenantIdSessionsSessionIdGet(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdGetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatSessionModel, any>>;
606
648
  /**
607
649
  *
650
+ * @summary Join a chat session.
608
651
  * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdJoinPostRequest} requestParameters Request parameters.
609
652
  * @param {*} [options] Override http request option.
610
653
  * @throws {RequiredError}
@@ -613,6 +656,7 @@ export declare class ChatApi extends BaseAPI {
613
656
  apiV1ChatTenantIdSessionsSessionIdJoinPost(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdJoinPostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatParticipantModel, any>>;
614
657
  /**
615
658
  *
659
+ * @summary Leave a chat session.
616
660
  * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdLeaveDeleteRequest} requestParameters Request parameters.
617
661
  * @param {*} [options] Override http request option.
618
662
  * @throws {RequiredError}
@@ -621,6 +665,7 @@ export declare class ChatApi extends BaseAPI {
621
665
  apiV1ChatTenantIdSessionsSessionIdLeaveDelete(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdLeaveDeleteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatParticipantModel, any>>;
622
666
  /**
623
667
  *
668
+ * @summary Get messages from a chat session.
624
669
  * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesGetRequest} requestParameters Request parameters.
625
670
  * @param {*} [options] Override http request option.
626
671
  * @throws {RequiredError}
@@ -629,6 +674,7 @@ export declare class ChatApi extends BaseAPI {
629
674
  apiV1ChatTenantIdSessionsSessionIdMessagesGet(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesGetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessagesModel, any>>;
630
675
  /**
631
676
  *
677
+ * @summary Send a message in a chat session.
632
678
  * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesPostRequest} requestParameters Request parameters.
633
679
  * @param {*} [options] Override http request option.
634
680
  * @throws {RequiredError}
@@ -637,6 +683,7 @@ export declare class ChatApi extends BaseAPI {
637
683
  apiV1ChatTenantIdSessionsSessionIdMessagesPost(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdMessagesPostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessageModel, any>>;
638
684
  /**
639
685
  *
686
+ * @summary Update a chat session.
640
687
  * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdPatchRequest} requestParameters Request parameters.
641
688
  * @param {*} [options] Override http request option.
642
689
  * @throws {RequiredError}
@@ -645,6 +692,7 @@ export declare class ChatApi extends BaseAPI {
645
692
  apiV1ChatTenantIdSessionsSessionIdPatch(requestParameters: ChatApiApiV1ChatTenantIdSessionsSessionIdPatchRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatSessionsModel, any>>;
646
693
  /**
647
694
  *
695
+ * @summary Transfer a chat session agent.
648
696
  * @param {ChatApiApiV1ChatTenantIdSessionsSessionIdTransferPutRequest} requestParameters Request parameters.
649
697
  * @param {*} [options] Override http request option.
650
698
  * @throws {RequiredError}