@nextxai/sdk 0.2.0 → 0.2.1-beta.29
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/CHANGELOG.md +28 -0
- package/dist/cjs/schema.d.ts +756 -19
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/schema.d.ts +756 -19
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +2 -2
package/dist/esm/schema.d.ts
CHANGED
|
@@ -210,6 +210,46 @@ export interface paths {
|
|
|
210
210
|
patch?: never;
|
|
211
211
|
trace?: never;
|
|
212
212
|
};
|
|
213
|
+
"/api/v1/call/calls/{id}/transcript": {
|
|
214
|
+
parameters: {
|
|
215
|
+
query?: never;
|
|
216
|
+
header?: never;
|
|
217
|
+
path?: never;
|
|
218
|
+
cookie?: never;
|
|
219
|
+
};
|
|
220
|
+
/**
|
|
221
|
+
* Transcript STT
|
|
222
|
+
* @description Transcript segments từ Whisper pipeline. Nếu chưa completed trả segments rỗng.
|
|
223
|
+
*/
|
|
224
|
+
get: operations["calls_transcript_get"];
|
|
225
|
+
put?: never;
|
|
226
|
+
post?: never;
|
|
227
|
+
delete?: never;
|
|
228
|
+
options?: never;
|
|
229
|
+
head?: never;
|
|
230
|
+
patch?: never;
|
|
231
|
+
trace?: never;
|
|
232
|
+
};
|
|
233
|
+
"/api/v1/call/calls/{id}/summary": {
|
|
234
|
+
parameters: {
|
|
235
|
+
query?: never;
|
|
236
|
+
header?: never;
|
|
237
|
+
path?: never;
|
|
238
|
+
cookie?: never;
|
|
239
|
+
};
|
|
240
|
+
/**
|
|
241
|
+
* AI summary + sentiment
|
|
242
|
+
* @description Summary, sentiment, keywords, action items từ Transcription pipeline.
|
|
243
|
+
*/
|
|
244
|
+
get: operations["calls_summary_get"];
|
|
245
|
+
put?: never;
|
|
246
|
+
post?: never;
|
|
247
|
+
delete?: never;
|
|
248
|
+
options?: never;
|
|
249
|
+
head?: never;
|
|
250
|
+
patch?: never;
|
|
251
|
+
trace?: never;
|
|
252
|
+
};
|
|
213
253
|
"/api/v1/call/campaigns": {
|
|
214
254
|
parameters: {
|
|
215
255
|
query?: never;
|
|
@@ -250,6 +290,150 @@ export interface paths {
|
|
|
250
290
|
patch?: never;
|
|
251
291
|
trace?: never;
|
|
252
292
|
};
|
|
293
|
+
"/api/v1/call/partner/calls": {
|
|
294
|
+
parameters: {
|
|
295
|
+
query?: never;
|
|
296
|
+
header?: never;
|
|
297
|
+
path?: never;
|
|
298
|
+
cookie?: never;
|
|
299
|
+
};
|
|
300
|
+
get?: never;
|
|
301
|
+
put?: never;
|
|
302
|
+
/**
|
|
303
|
+
* Bấm gọi thay tổng đài viên (click-to-call)
|
|
304
|
+
* @description Đổ chuông tổng đài viên trước, họ nhấc máy mới quay sang khách. Gửi đúng một trong agentId / agentEmail / extension. Số khách nhận mọi cách viết, trả về E.164. Gửi kèm header Idempotency-Key để bấm lặp không tạo 2 cuộc.
|
|
305
|
+
*/
|
|
306
|
+
post: operations["partner_calls_create"];
|
|
307
|
+
delete?: never;
|
|
308
|
+
options?: never;
|
|
309
|
+
head?: never;
|
|
310
|
+
patch?: never;
|
|
311
|
+
trace?: never;
|
|
312
|
+
};
|
|
313
|
+
"/api/v1/call/partner/calls/{id}": {
|
|
314
|
+
parameters: {
|
|
315
|
+
query?: never;
|
|
316
|
+
header?: never;
|
|
317
|
+
path?: never;
|
|
318
|
+
cookie?: never;
|
|
319
|
+
};
|
|
320
|
+
/**
|
|
321
|
+
* Chi tiết một cuộc gọi
|
|
322
|
+
* @description Cùng hình dạng với data.object của webhook call.*.
|
|
323
|
+
*/
|
|
324
|
+
get: operations["partner_calls_get"];
|
|
325
|
+
put?: never;
|
|
326
|
+
post?: never;
|
|
327
|
+
delete?: never;
|
|
328
|
+
options?: never;
|
|
329
|
+
head?: never;
|
|
330
|
+
patch?: never;
|
|
331
|
+
trace?: never;
|
|
332
|
+
};
|
|
333
|
+
"/api/v1/call/partner/calls/{id}/hangup": {
|
|
334
|
+
parameters: {
|
|
335
|
+
query?: never;
|
|
336
|
+
header?: never;
|
|
337
|
+
path?: never;
|
|
338
|
+
cookie?: never;
|
|
339
|
+
};
|
|
340
|
+
get?: never;
|
|
341
|
+
put?: never;
|
|
342
|
+
/**
|
|
343
|
+
* Gác máy
|
|
344
|
+
* @description Cuộc đã kết thúc thì trả trạng thái hiện tại, không lỗi.
|
|
345
|
+
*/
|
|
346
|
+
post: operations["partner_calls_hangup"];
|
|
347
|
+
delete?: never;
|
|
348
|
+
options?: never;
|
|
349
|
+
head?: never;
|
|
350
|
+
patch?: never;
|
|
351
|
+
trace?: never;
|
|
352
|
+
};
|
|
353
|
+
"/api/v1/call/partner/calls/{id}/transfer": {
|
|
354
|
+
parameters: {
|
|
355
|
+
query?: never;
|
|
356
|
+
header?: never;
|
|
357
|
+
path?: never;
|
|
358
|
+
cookie?: never;
|
|
359
|
+
};
|
|
360
|
+
get?: never;
|
|
361
|
+
put?: never;
|
|
362
|
+
/**
|
|
363
|
+
* Chuyển máy
|
|
364
|
+
* @description Chuyển khách sang tổng đài viên khác (toAgent), hàng chờ (toQueueId) hoặc số ngoài (toNumber — chỉ cuộc gọi ra). Gửi đúng một đích.
|
|
365
|
+
*/
|
|
366
|
+
post: operations["partner_calls_transfer"];
|
|
367
|
+
delete?: never;
|
|
368
|
+
options?: never;
|
|
369
|
+
head?: never;
|
|
370
|
+
patch?: never;
|
|
371
|
+
trace?: never;
|
|
372
|
+
};
|
|
373
|
+
"/api/v1/call/partner/calls/{id}/recording": {
|
|
374
|
+
parameters: {
|
|
375
|
+
query?: never;
|
|
376
|
+
header?: never;
|
|
377
|
+
path?: never;
|
|
378
|
+
cookie?: never;
|
|
379
|
+
};
|
|
380
|
+
/**
|
|
381
|
+
* Link tải ghi âm (15 phút)
|
|
382
|
+
* @description Mỗi lượt lấy link đều được ghi nhật ký. Hết hạn thì gọi lại để lấy link mới.
|
|
383
|
+
*/
|
|
384
|
+
get: operations["partner_calls_recording_get"];
|
|
385
|
+
put?: never;
|
|
386
|
+
post?: never;
|
|
387
|
+
delete?: never;
|
|
388
|
+
options?: never;
|
|
389
|
+
head?: never;
|
|
390
|
+
patch?: never;
|
|
391
|
+
trace?: never;
|
|
392
|
+
};
|
|
393
|
+
"/api/v1/call/partner/active-calls": {
|
|
394
|
+
parameters: {
|
|
395
|
+
query?: never;
|
|
396
|
+
header?: never;
|
|
397
|
+
path?: never;
|
|
398
|
+
cookie?: never;
|
|
399
|
+
};
|
|
400
|
+
/**
|
|
401
|
+
* Cuộc gọi đang diễn ra
|
|
402
|
+
* @description Khoá giới hạn tổng đài viên chỉ thấy cuộc của các tổng đài viên đó.
|
|
403
|
+
*/
|
|
404
|
+
get: operations["partner_active_calls_list"];
|
|
405
|
+
put?: never;
|
|
406
|
+
post?: never;
|
|
407
|
+
delete?: never;
|
|
408
|
+
options?: never;
|
|
409
|
+
head?: never;
|
|
410
|
+
patch?: never;
|
|
411
|
+
trace?: never;
|
|
412
|
+
};
|
|
413
|
+
"/api/v1/call/partner/agents/status": {
|
|
414
|
+
parameters: {
|
|
415
|
+
query?: never;
|
|
416
|
+
header?: never;
|
|
417
|
+
path?: never;
|
|
418
|
+
cookie?: never;
|
|
419
|
+
};
|
|
420
|
+
/**
|
|
421
|
+
* Trạng thái tổng đài viên
|
|
422
|
+
* @description Tìm theo đúng một trong agentId / agentEmail / extension (query).
|
|
423
|
+
*/
|
|
424
|
+
get: operations["partner_agents_status_get"];
|
|
425
|
+
/**
|
|
426
|
+
* Đặt trạng thái tổng đài viên
|
|
427
|
+
* @description available | paused | offline. Tìm tổng đài viên theo query như GET.
|
|
428
|
+
*/
|
|
429
|
+
put: operations["partner_agents_status_update"];
|
|
430
|
+
post?: never;
|
|
431
|
+
delete?: never;
|
|
432
|
+
options?: never;
|
|
433
|
+
head?: never;
|
|
434
|
+
patch?: never;
|
|
435
|
+
trace?: never;
|
|
436
|
+
};
|
|
253
437
|
"/api/v1/call/phone-numbers": {
|
|
254
438
|
parameters: {
|
|
255
439
|
query?: never;
|
|
@@ -1904,6 +2088,94 @@ export interface components {
|
|
|
1904
2088
|
createdAt?: string;
|
|
1905
2089
|
isDefaultOutboundCid?: boolean;
|
|
1906
2090
|
};
|
|
2091
|
+
PartnerSetAgentStatusRequest: {
|
|
2092
|
+
status?: string | null;
|
|
2093
|
+
reason?: string | null;
|
|
2094
|
+
};
|
|
2095
|
+
PartnerAgentStatusDto: {
|
|
2096
|
+
agent?: components["schemas"]["PartnerAgentDto"];
|
|
2097
|
+
status?: string | null;
|
|
2098
|
+
/** Format: date-time */
|
|
2099
|
+
since?: string | null;
|
|
2100
|
+
registered?: boolean;
|
|
2101
|
+
};
|
|
2102
|
+
PartnerAgentDto: {
|
|
2103
|
+
/** Format: uuid */
|
|
2104
|
+
id?: string;
|
|
2105
|
+
/** Format: uuid */
|
|
2106
|
+
userId?: string;
|
|
2107
|
+
name?: string | null;
|
|
2108
|
+
email?: string | null;
|
|
2109
|
+
extension?: string | null;
|
|
2110
|
+
};
|
|
2111
|
+
PartnerRecordingLinkDto: {
|
|
2112
|
+
/** Format: uuid */
|
|
2113
|
+
callId?: string;
|
|
2114
|
+
url?: string | null;
|
|
2115
|
+
/** Format: date-time */
|
|
2116
|
+
expiresAt?: string;
|
|
2117
|
+
contentType?: string | null;
|
|
2118
|
+
};
|
|
2119
|
+
PartnerTransferRequest: {
|
|
2120
|
+
toAgent?: components["schemas"]["PartnerAgentRefRequest"];
|
|
2121
|
+
/** Format: uuid */
|
|
2122
|
+
toQueueId?: string | null;
|
|
2123
|
+
toNumber?: string | null;
|
|
2124
|
+
};
|
|
2125
|
+
PartnerAgentRefRequest: {
|
|
2126
|
+
/** Format: uuid */
|
|
2127
|
+
agentId?: string | null;
|
|
2128
|
+
agentEmail?: string | null;
|
|
2129
|
+
extension?: string | null;
|
|
2130
|
+
};
|
|
2131
|
+
PartnerCallDto: {
|
|
2132
|
+
/** Format: uuid */
|
|
2133
|
+
callId?: string;
|
|
2134
|
+
status?: string | null;
|
|
2135
|
+
direction?: string | null;
|
|
2136
|
+
from?: string | null;
|
|
2137
|
+
to?: string | null;
|
|
2138
|
+
agent?: components["schemas"]["PartnerAgentDto"];
|
|
2139
|
+
/** Format: uuid */
|
|
2140
|
+
queueId?: string | null;
|
|
2141
|
+
queueName?: string | null;
|
|
2142
|
+
/** Format: date-time */
|
|
2143
|
+
startedAt?: string | null;
|
|
2144
|
+
/** Format: date-time */
|
|
2145
|
+
answeredAt?: string | null;
|
|
2146
|
+
/** Format: date-time */
|
|
2147
|
+
endedAt?: string | null;
|
|
2148
|
+
/** Format: int32 */
|
|
2149
|
+
durationSec?: number | null;
|
|
2150
|
+
/** Format: int32 */
|
|
2151
|
+
talkSec?: number | null;
|
|
2152
|
+
/** Format: int32 */
|
|
2153
|
+
waitSec?: number | null;
|
|
2154
|
+
/** Format: int32 */
|
|
2155
|
+
hangupCause?: number | null;
|
|
2156
|
+
hangupCauseName?: string | null;
|
|
2157
|
+
contactRef?: string | null;
|
|
2158
|
+
metadata?: unknown;
|
|
2159
|
+
/** Format: uuid */
|
|
2160
|
+
crmContactId?: string | null;
|
|
2161
|
+
hasRecording?: boolean;
|
|
2162
|
+
hasSummary?: boolean;
|
|
2163
|
+
summary?: string | null;
|
|
2164
|
+
};
|
|
2165
|
+
PartnerOriginateRequest: {
|
|
2166
|
+
/** Format: uuid */
|
|
2167
|
+
agentId?: string | null;
|
|
2168
|
+
agentEmail?: string | null;
|
|
2169
|
+
extension?: string | null;
|
|
2170
|
+
to?: string | null;
|
|
2171
|
+
callerId?: string | null;
|
|
2172
|
+
contactRef?: string | null;
|
|
2173
|
+
metadata?: {
|
|
2174
|
+
[key: string]: string;
|
|
2175
|
+
} | null;
|
|
2176
|
+
/** Format: uuid */
|
|
2177
|
+
crmContactId?: string | null;
|
|
2178
|
+
};
|
|
1907
2179
|
IvrFlowListResult: {
|
|
1908
2180
|
items?: components["schemas"]["IvrFlowSummaryDto"][] | null;
|
|
1909
2181
|
/** Format: int32 */
|
|
@@ -1968,6 +2240,40 @@ export interface components {
|
|
|
1968
2240
|
/** Format: date-time */
|
|
1969
2241
|
createdAt?: string;
|
|
1970
2242
|
};
|
|
2243
|
+
CallSummaryAiDto: {
|
|
2244
|
+
/** Format: uuid */
|
|
2245
|
+
callId?: string;
|
|
2246
|
+
summary?: string | null;
|
|
2247
|
+
sentiment?: string | null;
|
|
2248
|
+
/** Format: double */
|
|
2249
|
+
sentimentScore?: number | null;
|
|
2250
|
+
keywordsDetected?: string[] | null;
|
|
2251
|
+
actionItems?: components["schemas"]["ActionItemDto"][] | null;
|
|
2252
|
+
analysisStatus?: string | null;
|
|
2253
|
+
};
|
|
2254
|
+
ActionItemDto: {
|
|
2255
|
+
text?: string | null;
|
|
2256
|
+
type?: string | null;
|
|
2257
|
+
};
|
|
2258
|
+
CallTranscriptDto: {
|
|
2259
|
+
/** Format: uuid */
|
|
2260
|
+
callId?: string;
|
|
2261
|
+
transcriptStatus?: string | null;
|
|
2262
|
+
segments?: components["schemas"]["TranscriptSegmentDto"][] | null;
|
|
2263
|
+
/** Format: date-time */
|
|
2264
|
+
completedAt?: string | null;
|
|
2265
|
+
analysisStatus?: string | null;
|
|
2266
|
+
};
|
|
2267
|
+
TranscriptSegmentDto: {
|
|
2268
|
+
speaker?: string | null;
|
|
2269
|
+
text?: string | null;
|
|
2270
|
+
/** Format: int32 */
|
|
2271
|
+
startMs?: number;
|
|
2272
|
+
/** Format: int32 */
|
|
2273
|
+
endMs?: number;
|
|
2274
|
+
/** Format: double */
|
|
2275
|
+
confidence?: number;
|
|
2276
|
+
};
|
|
1971
2277
|
CallListResult: {
|
|
1972
2278
|
items?: components["schemas"]["CallSummaryDto"][] | null;
|
|
1973
2279
|
/** Format: int32 */
|
|
@@ -5465,6 +5771,7 @@ export interface components {
|
|
|
5465
5771
|
invoiceAddress?: string | null;
|
|
5466
5772
|
invoiceBuyerName?: string | null;
|
|
5467
5773
|
invoiceEmail?: string | null;
|
|
5774
|
+
autoRenewStatus?: string | null;
|
|
5468
5775
|
};
|
|
5469
5776
|
ContractRelationDto: {
|
|
5470
5777
|
kind?: string | null;
|
|
@@ -6035,17 +6342,13 @@ export interface operations {
|
|
|
6035
6342
|
};
|
|
6036
6343
|
};
|
|
6037
6344
|
};
|
|
6038
|
-
|
|
6345
|
+
calls_transcript_get: {
|
|
6039
6346
|
parameters: {
|
|
6040
|
-
query?:
|
|
6041
|
-
status?: "draft" | "active" | "paused" | "completed" | "cancelled";
|
|
6042
|
-
type?: "outbound" | "inbound";
|
|
6043
|
-
search?: string;
|
|
6044
|
-
pageNumber?: number;
|
|
6045
|
-
pageSize?: number;
|
|
6046
|
-
};
|
|
6347
|
+
query?: never;
|
|
6047
6348
|
header?: never;
|
|
6048
|
-
path
|
|
6349
|
+
path: {
|
|
6350
|
+
id: string;
|
|
6351
|
+
};
|
|
6049
6352
|
cookie?: never;
|
|
6050
6353
|
};
|
|
6051
6354
|
requestBody?: never;
|
|
@@ -6056,21 +6359,27 @@ export interface operations {
|
|
|
6056
6359
|
[name: string]: unknown;
|
|
6057
6360
|
};
|
|
6058
6361
|
content: {
|
|
6059
|
-
"application/json": components["schemas"]["
|
|
6362
|
+
"application/json": components["schemas"]["CallTranscriptDto"];
|
|
6363
|
+
};
|
|
6364
|
+
};
|
|
6365
|
+
/** @description Not Found */
|
|
6366
|
+
404: {
|
|
6367
|
+
headers: {
|
|
6368
|
+
[name: string]: unknown;
|
|
6369
|
+
};
|
|
6370
|
+
content: {
|
|
6371
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
6060
6372
|
};
|
|
6061
6373
|
};
|
|
6062
6374
|
};
|
|
6063
6375
|
};
|
|
6064
|
-
|
|
6376
|
+
calls_summary_get: {
|
|
6065
6377
|
parameters: {
|
|
6066
|
-
query?:
|
|
6067
|
-
status?: string;
|
|
6068
|
-
search?: string;
|
|
6069
|
-
pageNumber?: number;
|
|
6070
|
-
pageSize?: number;
|
|
6071
|
-
};
|
|
6378
|
+
query?: never;
|
|
6072
6379
|
header?: never;
|
|
6073
|
-
path
|
|
6380
|
+
path: {
|
|
6381
|
+
id: string;
|
|
6382
|
+
};
|
|
6074
6383
|
cookie?: never;
|
|
6075
6384
|
};
|
|
6076
6385
|
requestBody?: never;
|
|
@@ -6081,7 +6390,435 @@ export interface operations {
|
|
|
6081
6390
|
[name: string]: unknown;
|
|
6082
6391
|
};
|
|
6083
6392
|
content: {
|
|
6084
|
-
"application/json": components["schemas"]["
|
|
6393
|
+
"application/json": components["schemas"]["CallSummaryAiDto"];
|
|
6394
|
+
};
|
|
6395
|
+
};
|
|
6396
|
+
/** @description Not Found */
|
|
6397
|
+
404: {
|
|
6398
|
+
headers: {
|
|
6399
|
+
[name: string]: unknown;
|
|
6400
|
+
};
|
|
6401
|
+
content: {
|
|
6402
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
6403
|
+
};
|
|
6404
|
+
};
|
|
6405
|
+
};
|
|
6406
|
+
};
|
|
6407
|
+
campaigns_list: {
|
|
6408
|
+
parameters: {
|
|
6409
|
+
query?: {
|
|
6410
|
+
status?: "draft" | "active" | "paused" | "completed" | "cancelled";
|
|
6411
|
+
type?: "outbound" | "inbound";
|
|
6412
|
+
search?: string;
|
|
6413
|
+
pageNumber?: number;
|
|
6414
|
+
pageSize?: number;
|
|
6415
|
+
};
|
|
6416
|
+
header?: never;
|
|
6417
|
+
path?: never;
|
|
6418
|
+
cookie?: never;
|
|
6419
|
+
};
|
|
6420
|
+
requestBody?: never;
|
|
6421
|
+
responses: {
|
|
6422
|
+
/** @description OK */
|
|
6423
|
+
200: {
|
|
6424
|
+
headers: {
|
|
6425
|
+
[name: string]: unknown;
|
|
6426
|
+
};
|
|
6427
|
+
content: {
|
|
6428
|
+
"application/json": components["schemas"]["CampaignListResult"];
|
|
6429
|
+
};
|
|
6430
|
+
};
|
|
6431
|
+
};
|
|
6432
|
+
};
|
|
6433
|
+
ivr_flows_list: {
|
|
6434
|
+
parameters: {
|
|
6435
|
+
query?: {
|
|
6436
|
+
status?: string;
|
|
6437
|
+
search?: string;
|
|
6438
|
+
pageNumber?: number;
|
|
6439
|
+
pageSize?: number;
|
|
6440
|
+
};
|
|
6441
|
+
header?: never;
|
|
6442
|
+
path?: never;
|
|
6443
|
+
cookie?: never;
|
|
6444
|
+
};
|
|
6445
|
+
requestBody?: never;
|
|
6446
|
+
responses: {
|
|
6447
|
+
/** @description OK */
|
|
6448
|
+
200: {
|
|
6449
|
+
headers: {
|
|
6450
|
+
[name: string]: unknown;
|
|
6451
|
+
};
|
|
6452
|
+
content: {
|
|
6453
|
+
"application/json": components["schemas"]["IvrFlowListResult"];
|
|
6454
|
+
};
|
|
6455
|
+
};
|
|
6456
|
+
};
|
|
6457
|
+
};
|
|
6458
|
+
partner_calls_create: {
|
|
6459
|
+
parameters: {
|
|
6460
|
+
query?: never;
|
|
6461
|
+
header?: never;
|
|
6462
|
+
path?: never;
|
|
6463
|
+
cookie?: never;
|
|
6464
|
+
};
|
|
6465
|
+
requestBody?: {
|
|
6466
|
+
content: {
|
|
6467
|
+
"application/json": components["schemas"]["PartnerOriginateRequest"];
|
|
6468
|
+
};
|
|
6469
|
+
};
|
|
6470
|
+
responses: {
|
|
6471
|
+
/** @description Created */
|
|
6472
|
+
201: {
|
|
6473
|
+
headers: {
|
|
6474
|
+
[name: string]: unknown;
|
|
6475
|
+
};
|
|
6476
|
+
content: {
|
|
6477
|
+
"application/json": components["schemas"]["PartnerCallDto"];
|
|
6478
|
+
};
|
|
6479
|
+
};
|
|
6480
|
+
/** @description Forbidden */
|
|
6481
|
+
403: {
|
|
6482
|
+
headers: {
|
|
6483
|
+
[name: string]: unknown;
|
|
6484
|
+
};
|
|
6485
|
+
content: {
|
|
6486
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
6487
|
+
};
|
|
6488
|
+
};
|
|
6489
|
+
/** @description Not Found */
|
|
6490
|
+
404: {
|
|
6491
|
+
headers: {
|
|
6492
|
+
[name: string]: unknown;
|
|
6493
|
+
};
|
|
6494
|
+
content: {
|
|
6495
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
6496
|
+
};
|
|
6497
|
+
};
|
|
6498
|
+
/** @description Conflict */
|
|
6499
|
+
409: {
|
|
6500
|
+
headers: {
|
|
6501
|
+
[name: string]: unknown;
|
|
6502
|
+
};
|
|
6503
|
+
content: {
|
|
6504
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
6505
|
+
};
|
|
6506
|
+
};
|
|
6507
|
+
/** @description Unprocessable Content */
|
|
6508
|
+
422: {
|
|
6509
|
+
headers: {
|
|
6510
|
+
[name: string]: unknown;
|
|
6511
|
+
};
|
|
6512
|
+
content: {
|
|
6513
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
6514
|
+
};
|
|
6515
|
+
};
|
|
6516
|
+
/** @description Bad Gateway */
|
|
6517
|
+
502: {
|
|
6518
|
+
headers: {
|
|
6519
|
+
[name: string]: unknown;
|
|
6520
|
+
};
|
|
6521
|
+
content: {
|
|
6522
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
6523
|
+
};
|
|
6524
|
+
};
|
|
6525
|
+
};
|
|
6526
|
+
};
|
|
6527
|
+
partner_calls_get: {
|
|
6528
|
+
parameters: {
|
|
6529
|
+
query?: never;
|
|
6530
|
+
header?: never;
|
|
6531
|
+
path: {
|
|
6532
|
+
id: string;
|
|
6533
|
+
};
|
|
6534
|
+
cookie?: never;
|
|
6535
|
+
};
|
|
6536
|
+
requestBody?: never;
|
|
6537
|
+
responses: {
|
|
6538
|
+
/** @description OK */
|
|
6539
|
+
200: {
|
|
6540
|
+
headers: {
|
|
6541
|
+
[name: string]: unknown;
|
|
6542
|
+
};
|
|
6543
|
+
content: {
|
|
6544
|
+
"application/json": components["schemas"]["PartnerCallDto"];
|
|
6545
|
+
};
|
|
6546
|
+
};
|
|
6547
|
+
/** @description Not Found */
|
|
6548
|
+
404: {
|
|
6549
|
+
headers: {
|
|
6550
|
+
[name: string]: unknown;
|
|
6551
|
+
};
|
|
6552
|
+
content: {
|
|
6553
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
6554
|
+
};
|
|
6555
|
+
};
|
|
6556
|
+
};
|
|
6557
|
+
};
|
|
6558
|
+
partner_calls_hangup: {
|
|
6559
|
+
parameters: {
|
|
6560
|
+
query?: never;
|
|
6561
|
+
header?: never;
|
|
6562
|
+
path: {
|
|
6563
|
+
id: string;
|
|
6564
|
+
};
|
|
6565
|
+
cookie?: never;
|
|
6566
|
+
};
|
|
6567
|
+
requestBody?: never;
|
|
6568
|
+
responses: {
|
|
6569
|
+
/** @description OK */
|
|
6570
|
+
200: {
|
|
6571
|
+
headers: {
|
|
6572
|
+
[name: string]: unknown;
|
|
6573
|
+
};
|
|
6574
|
+
content: {
|
|
6575
|
+
"application/json": components["schemas"]["PartnerCallDto"];
|
|
6576
|
+
};
|
|
6577
|
+
};
|
|
6578
|
+
/** @description Forbidden */
|
|
6579
|
+
403: {
|
|
6580
|
+
headers: {
|
|
6581
|
+
[name: string]: unknown;
|
|
6582
|
+
};
|
|
6583
|
+
content: {
|
|
6584
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
6585
|
+
};
|
|
6586
|
+
};
|
|
6587
|
+
/** @description Not Found */
|
|
6588
|
+
404: {
|
|
6589
|
+
headers: {
|
|
6590
|
+
[name: string]: unknown;
|
|
6591
|
+
};
|
|
6592
|
+
content: {
|
|
6593
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
6594
|
+
};
|
|
6595
|
+
};
|
|
6596
|
+
/** @description Bad Gateway */
|
|
6597
|
+
502: {
|
|
6598
|
+
headers: {
|
|
6599
|
+
[name: string]: unknown;
|
|
6600
|
+
};
|
|
6601
|
+
content: {
|
|
6602
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
6603
|
+
};
|
|
6604
|
+
};
|
|
6605
|
+
};
|
|
6606
|
+
};
|
|
6607
|
+
partner_calls_transfer: {
|
|
6608
|
+
parameters: {
|
|
6609
|
+
query?: never;
|
|
6610
|
+
header?: never;
|
|
6611
|
+
path: {
|
|
6612
|
+
id: string;
|
|
6613
|
+
};
|
|
6614
|
+
cookie?: never;
|
|
6615
|
+
};
|
|
6616
|
+
requestBody?: {
|
|
6617
|
+
content: {
|
|
6618
|
+
"application/json": components["schemas"]["PartnerTransferRequest"];
|
|
6619
|
+
};
|
|
6620
|
+
};
|
|
6621
|
+
responses: {
|
|
6622
|
+
/** @description OK */
|
|
6623
|
+
200: {
|
|
6624
|
+
headers: {
|
|
6625
|
+
[name: string]: unknown;
|
|
6626
|
+
};
|
|
6627
|
+
content: {
|
|
6628
|
+
"application/json": components["schemas"]["PartnerCallDto"];
|
|
6629
|
+
};
|
|
6630
|
+
};
|
|
6631
|
+
/** @description Forbidden */
|
|
6632
|
+
403: {
|
|
6633
|
+
headers: {
|
|
6634
|
+
[name: string]: unknown;
|
|
6635
|
+
};
|
|
6636
|
+
content: {
|
|
6637
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
6638
|
+
};
|
|
6639
|
+
};
|
|
6640
|
+
/** @description Not Found */
|
|
6641
|
+
404: {
|
|
6642
|
+
headers: {
|
|
6643
|
+
[name: string]: unknown;
|
|
6644
|
+
};
|
|
6645
|
+
content: {
|
|
6646
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
6647
|
+
};
|
|
6648
|
+
};
|
|
6649
|
+
/** @description Conflict */
|
|
6650
|
+
409: {
|
|
6651
|
+
headers: {
|
|
6652
|
+
[name: string]: unknown;
|
|
6653
|
+
};
|
|
6654
|
+
content: {
|
|
6655
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
6656
|
+
};
|
|
6657
|
+
};
|
|
6658
|
+
/** @description Unprocessable Content */
|
|
6659
|
+
422: {
|
|
6660
|
+
headers: {
|
|
6661
|
+
[name: string]: unknown;
|
|
6662
|
+
};
|
|
6663
|
+
content: {
|
|
6664
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
6665
|
+
};
|
|
6666
|
+
};
|
|
6667
|
+
/** @description Bad Gateway */
|
|
6668
|
+
502: {
|
|
6669
|
+
headers: {
|
|
6670
|
+
[name: string]: unknown;
|
|
6671
|
+
};
|
|
6672
|
+
content: {
|
|
6673
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
6674
|
+
};
|
|
6675
|
+
};
|
|
6676
|
+
};
|
|
6677
|
+
};
|
|
6678
|
+
partner_calls_recording_get: {
|
|
6679
|
+
parameters: {
|
|
6680
|
+
query?: never;
|
|
6681
|
+
header?: never;
|
|
6682
|
+
path: {
|
|
6683
|
+
id: string;
|
|
6684
|
+
};
|
|
6685
|
+
cookie?: never;
|
|
6686
|
+
};
|
|
6687
|
+
requestBody?: never;
|
|
6688
|
+
responses: {
|
|
6689
|
+
/** @description OK */
|
|
6690
|
+
200: {
|
|
6691
|
+
headers: {
|
|
6692
|
+
[name: string]: unknown;
|
|
6693
|
+
};
|
|
6694
|
+
content: {
|
|
6695
|
+
"application/json": components["schemas"]["PartnerRecordingLinkDto"];
|
|
6696
|
+
};
|
|
6697
|
+
};
|
|
6698
|
+
/** @description Not Found */
|
|
6699
|
+
404: {
|
|
6700
|
+
headers: {
|
|
6701
|
+
[name: string]: unknown;
|
|
6702
|
+
};
|
|
6703
|
+
content: {
|
|
6704
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
6705
|
+
};
|
|
6706
|
+
};
|
|
6707
|
+
};
|
|
6708
|
+
};
|
|
6709
|
+
partner_active_calls_list: {
|
|
6710
|
+
parameters: {
|
|
6711
|
+
query?: never;
|
|
6712
|
+
header?: never;
|
|
6713
|
+
path?: never;
|
|
6714
|
+
cookie?: never;
|
|
6715
|
+
};
|
|
6716
|
+
requestBody?: never;
|
|
6717
|
+
responses: {
|
|
6718
|
+
/** @description OK */
|
|
6719
|
+
200: {
|
|
6720
|
+
headers: {
|
|
6721
|
+
[name: string]: unknown;
|
|
6722
|
+
};
|
|
6723
|
+
content: {
|
|
6724
|
+
"application/json": components["schemas"]["PartnerCallDto"][];
|
|
6725
|
+
};
|
|
6726
|
+
};
|
|
6727
|
+
};
|
|
6728
|
+
};
|
|
6729
|
+
partner_agents_status_get: {
|
|
6730
|
+
parameters: {
|
|
6731
|
+
query?: {
|
|
6732
|
+
agentId?: string;
|
|
6733
|
+
agentEmail?: string;
|
|
6734
|
+
extension?: string;
|
|
6735
|
+
};
|
|
6736
|
+
header?: never;
|
|
6737
|
+
path?: never;
|
|
6738
|
+
cookie?: never;
|
|
6739
|
+
};
|
|
6740
|
+
requestBody?: never;
|
|
6741
|
+
responses: {
|
|
6742
|
+
/** @description OK */
|
|
6743
|
+
200: {
|
|
6744
|
+
headers: {
|
|
6745
|
+
[name: string]: unknown;
|
|
6746
|
+
};
|
|
6747
|
+
content: {
|
|
6748
|
+
"application/json": components["schemas"]["PartnerAgentStatusDto"];
|
|
6749
|
+
};
|
|
6750
|
+
};
|
|
6751
|
+
/** @description Forbidden */
|
|
6752
|
+
403: {
|
|
6753
|
+
headers: {
|
|
6754
|
+
[name: string]: unknown;
|
|
6755
|
+
};
|
|
6756
|
+
content: {
|
|
6757
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
6758
|
+
};
|
|
6759
|
+
};
|
|
6760
|
+
/** @description Not Found */
|
|
6761
|
+
404: {
|
|
6762
|
+
headers: {
|
|
6763
|
+
[name: string]: unknown;
|
|
6764
|
+
};
|
|
6765
|
+
content: {
|
|
6766
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
6767
|
+
};
|
|
6768
|
+
};
|
|
6769
|
+
};
|
|
6770
|
+
};
|
|
6771
|
+
partner_agents_status_update: {
|
|
6772
|
+
parameters: {
|
|
6773
|
+
query?: {
|
|
6774
|
+
agentId?: string;
|
|
6775
|
+
agentEmail?: string;
|
|
6776
|
+
extension?: string;
|
|
6777
|
+
};
|
|
6778
|
+
header?: never;
|
|
6779
|
+
path?: never;
|
|
6780
|
+
cookie?: never;
|
|
6781
|
+
};
|
|
6782
|
+
requestBody?: {
|
|
6783
|
+
content: {
|
|
6784
|
+
"application/json": components["schemas"]["PartnerSetAgentStatusRequest"];
|
|
6785
|
+
};
|
|
6786
|
+
};
|
|
6787
|
+
responses: {
|
|
6788
|
+
/** @description OK */
|
|
6789
|
+
200: {
|
|
6790
|
+
headers: {
|
|
6791
|
+
[name: string]: unknown;
|
|
6792
|
+
};
|
|
6793
|
+
content: {
|
|
6794
|
+
"application/json": components["schemas"]["PartnerAgentStatusDto"];
|
|
6795
|
+
};
|
|
6796
|
+
};
|
|
6797
|
+
/** @description Forbidden */
|
|
6798
|
+
403: {
|
|
6799
|
+
headers: {
|
|
6800
|
+
[name: string]: unknown;
|
|
6801
|
+
};
|
|
6802
|
+
content: {
|
|
6803
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
6804
|
+
};
|
|
6805
|
+
};
|
|
6806
|
+
/** @description Not Found */
|
|
6807
|
+
404: {
|
|
6808
|
+
headers: {
|
|
6809
|
+
[name: string]: unknown;
|
|
6810
|
+
};
|
|
6811
|
+
content: {
|
|
6812
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
6813
|
+
};
|
|
6814
|
+
};
|
|
6815
|
+
/** @description Unprocessable Content */
|
|
6816
|
+
422: {
|
|
6817
|
+
headers: {
|
|
6818
|
+
[name: string]: unknown;
|
|
6819
|
+
};
|
|
6820
|
+
content: {
|
|
6821
|
+
"application/json": components["schemas"]["ProblemDetails"];
|
|
6085
6822
|
};
|
|
6086
6823
|
};
|
|
6087
6824
|
};
|