@domu-ai/kiban-sdk 1.185.3 → 1.186.1
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/dashboard/client.d.ts +412 -0
- package/dashboard/client.js +149 -3
- package/dashboard/schemas.d.ts +349 -48
- package/dashboard/schemas.js +81 -2
- package/flags.d.ts +1 -0
- package/flags.js +1 -0
- package/package.json +1 -1
package/dashboard/client.d.ts
CHANGED
|
@@ -367,6 +367,179 @@ export type DashboardCallsCallIdRecordingUrlGet500 = {
|
|
|
367
367
|
code?: string;
|
|
368
368
|
details?: unknown | null;
|
|
369
369
|
};
|
|
370
|
+
export type DashboardExternalCallsUploadsPresignPostBodyFilesItem = {
|
|
371
|
+
/** @minLength 1 */
|
|
372
|
+
fileName: string;
|
|
373
|
+
/** @minimum 1 */
|
|
374
|
+
sizeBytes: number;
|
|
375
|
+
};
|
|
376
|
+
export type DashboardExternalCallsUploadsPresignPostBody = {
|
|
377
|
+
/** @minLength 1 */
|
|
378
|
+
campaignId: string;
|
|
379
|
+
/**
|
|
380
|
+
* @minItems 1
|
|
381
|
+
* @maxItems 50
|
|
382
|
+
*/
|
|
383
|
+
files: DashboardExternalCallsUploadsPresignPostBodyFilesItem[];
|
|
384
|
+
};
|
|
385
|
+
export type DashboardExternalCallsUploadsPresignPost200UploadsItem = {
|
|
386
|
+
callId: string;
|
|
387
|
+
externalCallId: string;
|
|
388
|
+
recordingUrl: string;
|
|
389
|
+
fileKey: string;
|
|
390
|
+
contentType: string;
|
|
391
|
+
presignedPutUrl: string;
|
|
392
|
+
expiresIn: number;
|
|
393
|
+
};
|
|
394
|
+
export type DashboardExternalCallsUploadsPresignPost200 = {
|
|
395
|
+
uploads: DashboardExternalCallsUploadsPresignPost200UploadsItem[];
|
|
396
|
+
};
|
|
397
|
+
export type DashboardExternalCallsUploadsPresignPost400 = {
|
|
398
|
+
message: string;
|
|
399
|
+
code?: string;
|
|
400
|
+
details?: unknown | null;
|
|
401
|
+
};
|
|
402
|
+
export type DashboardExternalCallsUploadsPresignPost401 = {
|
|
403
|
+
message: string;
|
|
404
|
+
code?: string;
|
|
405
|
+
details?: unknown | null;
|
|
406
|
+
};
|
|
407
|
+
export type DashboardExternalCallsUploadsPresignPost404 = {
|
|
408
|
+
message: string;
|
|
409
|
+
code?: string;
|
|
410
|
+
details?: unknown | null;
|
|
411
|
+
};
|
|
412
|
+
export type DashboardExternalCallsUploadsPresignPost409 = {
|
|
413
|
+
message: string;
|
|
414
|
+
code?: string;
|
|
415
|
+
details?: unknown | null;
|
|
416
|
+
};
|
|
417
|
+
export type DashboardExternalCallsUploadsPresignPost500 = {
|
|
418
|
+
message: string;
|
|
419
|
+
code?: string;
|
|
420
|
+
details?: unknown | null;
|
|
421
|
+
};
|
|
422
|
+
export type DashboardExternalCallsUploadsCompletePostBody = {
|
|
423
|
+
/**
|
|
424
|
+
* @minItems 1
|
|
425
|
+
* @maxItems 50
|
|
426
|
+
*/
|
|
427
|
+
callIds: string[];
|
|
428
|
+
};
|
|
429
|
+
export type DashboardExternalCallsUploadsCompletePost202QueuedItem = {
|
|
430
|
+
callId: string;
|
|
431
|
+
jobId: string;
|
|
432
|
+
};
|
|
433
|
+
export type DashboardExternalCallsUploadsCompletePost202 = {
|
|
434
|
+
queued: DashboardExternalCallsUploadsCompletePost202QueuedItem[];
|
|
435
|
+
};
|
|
436
|
+
export type DashboardExternalCallsUploadsCompletePost400 = {
|
|
437
|
+
message: string;
|
|
438
|
+
code?: string;
|
|
439
|
+
details?: unknown | null;
|
|
440
|
+
};
|
|
441
|
+
export type DashboardExternalCallsUploadsCompletePost401 = {
|
|
442
|
+
message: string;
|
|
443
|
+
code?: string;
|
|
444
|
+
details?: unknown | null;
|
|
445
|
+
};
|
|
446
|
+
export type DashboardExternalCallsUploadsCompletePost404 = {
|
|
447
|
+
message: string;
|
|
448
|
+
code?: string;
|
|
449
|
+
details?: unknown | null;
|
|
450
|
+
};
|
|
451
|
+
export type DashboardExternalCallsUploadsCompletePost500 = {
|
|
452
|
+
message: string;
|
|
453
|
+
code?: string;
|
|
454
|
+
details?: unknown | null;
|
|
455
|
+
};
|
|
456
|
+
export type DashboardExternalCallsCallIdScoringGetParams = {
|
|
457
|
+
scorecardId?: string;
|
|
458
|
+
};
|
|
459
|
+
export type DashboardExternalCallsCallIdScoringGet200DataResultsItemItemType = typeof DashboardExternalCallsCallIdScoringGet200DataResultsItemItemType[keyof typeof DashboardExternalCallsCallIdScoringGet200DataResultsItemItemType];
|
|
460
|
+
export declare const DashboardExternalCallsCallIdScoringGet200DataResultsItemItemType: {
|
|
461
|
+
readonly boolean: "boolean";
|
|
462
|
+
readonly numeric: "numeric";
|
|
463
|
+
};
|
|
464
|
+
export type DashboardExternalCallsCallIdScoringGet200DataResultsItem = {
|
|
465
|
+
id: string;
|
|
466
|
+
/** @nullable */
|
|
467
|
+
call_id: string | null;
|
|
468
|
+
external_call_id: string;
|
|
469
|
+
scorecard_id: string;
|
|
470
|
+
item_id: string;
|
|
471
|
+
/** @nullable */
|
|
472
|
+
score: string | null;
|
|
473
|
+
/** @nullable */
|
|
474
|
+
explanation: string | null;
|
|
475
|
+
/** @nullable */
|
|
476
|
+
created_at: string | null;
|
|
477
|
+
item_name: string;
|
|
478
|
+
item_category: string;
|
|
479
|
+
item_type: DashboardExternalCallsCallIdScoringGet200DataResultsItemItemType;
|
|
480
|
+
item_auto_fail: boolean;
|
|
481
|
+
item_na_enabled: boolean;
|
|
482
|
+
item_explanation_enabled: boolean;
|
|
483
|
+
position: number;
|
|
484
|
+
};
|
|
485
|
+
export type DashboardExternalCallsCallIdScoringGet200Data = {
|
|
486
|
+
autoFailed: boolean;
|
|
487
|
+
/** @nullable */
|
|
488
|
+
transcript: string | null;
|
|
489
|
+
results: DashboardExternalCallsCallIdScoringGet200DataResultsItem[];
|
|
490
|
+
};
|
|
491
|
+
export type DashboardExternalCallsCallIdScoringGet200 = {
|
|
492
|
+
data: DashboardExternalCallsCallIdScoringGet200Data;
|
|
493
|
+
};
|
|
494
|
+
export type DashboardExternalCallsCallIdScoringGet401 = {
|
|
495
|
+
message: string;
|
|
496
|
+
code?: string;
|
|
497
|
+
details?: unknown | null;
|
|
498
|
+
};
|
|
499
|
+
export type DashboardExternalCallsCallIdScoringGet403 = {
|
|
500
|
+
message: string;
|
|
501
|
+
code?: string;
|
|
502
|
+
details?: unknown | null;
|
|
503
|
+
};
|
|
504
|
+
export type DashboardExternalCallsCallIdScoringGet404 = {
|
|
505
|
+
message: string;
|
|
506
|
+
code?: string;
|
|
507
|
+
details?: unknown | null;
|
|
508
|
+
};
|
|
509
|
+
export type DashboardExternalCallsCallIdScoringGet500 = {
|
|
510
|
+
message: string;
|
|
511
|
+
code?: string;
|
|
512
|
+
details?: unknown | null;
|
|
513
|
+
};
|
|
514
|
+
export type DashboardExternalCallsCallIdRecordingUrlGet200 = {
|
|
515
|
+
/** Presigned S3 URL for the recording */
|
|
516
|
+
url: string;
|
|
517
|
+
/**
|
|
518
|
+
* URL expiration time in seconds
|
|
519
|
+
* @minimum 1
|
|
520
|
+
*/
|
|
521
|
+
expiresIn: number;
|
|
522
|
+
};
|
|
523
|
+
export type DashboardExternalCallsCallIdRecordingUrlGet401 = {
|
|
524
|
+
message: string;
|
|
525
|
+
code?: string;
|
|
526
|
+
details?: unknown | null;
|
|
527
|
+
};
|
|
528
|
+
export type DashboardExternalCallsCallIdRecordingUrlGet403 = {
|
|
529
|
+
message: string;
|
|
530
|
+
code?: string;
|
|
531
|
+
details?: unknown | null;
|
|
532
|
+
};
|
|
533
|
+
export type DashboardExternalCallsCallIdRecordingUrlGet404 = {
|
|
534
|
+
message: string;
|
|
535
|
+
code?: string;
|
|
536
|
+
details?: unknown | null;
|
|
537
|
+
};
|
|
538
|
+
export type DashboardExternalCallsCallIdRecordingUrlGet500 = {
|
|
539
|
+
message: string;
|
|
540
|
+
code?: string;
|
|
541
|
+
details?: unknown | null;
|
|
542
|
+
};
|
|
370
543
|
/**
|
|
371
544
|
* Mock customer data for template rendering
|
|
372
545
|
*/
|
|
@@ -636,6 +809,10 @@ export type DashboardFlagsGet200DataFlagsQaEnabled = {
|
|
|
636
809
|
enabled: boolean;
|
|
637
810
|
config?: unknown | null;
|
|
638
811
|
};
|
|
812
|
+
export type DashboardFlagsGet200DataFlagsExternalCallQaEnabled = {
|
|
813
|
+
enabled: boolean;
|
|
814
|
+
config?: unknown | null;
|
|
815
|
+
};
|
|
639
816
|
export type DashboardFlagsGet200DataFlags = {
|
|
640
817
|
voicebot_studio: DashboardFlagsGet200DataFlagsVoicebotStudio;
|
|
641
818
|
campaign_manager: DashboardFlagsGet200DataFlagsCampaignManager;
|
|
@@ -644,6 +821,7 @@ export type DashboardFlagsGet200DataFlags = {
|
|
|
644
821
|
agents_enabled: DashboardFlagsGet200DataFlagsAgentsEnabled;
|
|
645
822
|
prompt_viewing_enabled: DashboardFlagsGet200DataFlagsPromptViewingEnabled;
|
|
646
823
|
qa_enabled: DashboardFlagsGet200DataFlagsQaEnabled;
|
|
824
|
+
external_call_qa_enabled: DashboardFlagsGet200DataFlagsExternalCallQaEnabled;
|
|
647
825
|
};
|
|
648
826
|
export type DashboardFlagsGet200Data = {
|
|
649
827
|
flags: DashboardFlagsGet200DataFlags;
|
|
@@ -1961,6 +2139,240 @@ export declare function useDashboardCallsCallIdRecordingUrlGet<TData = Awaited<R
|
|
|
1961
2139
|
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1962
2140
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1963
2141
|
};
|
|
2142
|
+
/**
|
|
2143
|
+
* Reserves external call rows and returns presigned S3 PUT URLs for direct browser upload of .mp3 or .m4a recordings.
|
|
2144
|
+
* @summary Presign external call recording uploads
|
|
2145
|
+
*/
|
|
2146
|
+
export type dashboardExternalCallsUploadsPresignPostResponse200 = {
|
|
2147
|
+
data: DashboardExternalCallsUploadsPresignPost200;
|
|
2148
|
+
status: 200;
|
|
2149
|
+
};
|
|
2150
|
+
export type dashboardExternalCallsUploadsPresignPostResponse400 = {
|
|
2151
|
+
data: DashboardExternalCallsUploadsPresignPost400;
|
|
2152
|
+
status: 400;
|
|
2153
|
+
};
|
|
2154
|
+
export type dashboardExternalCallsUploadsPresignPostResponse401 = {
|
|
2155
|
+
data: DashboardExternalCallsUploadsPresignPost401;
|
|
2156
|
+
status: 401;
|
|
2157
|
+
};
|
|
2158
|
+
export type dashboardExternalCallsUploadsPresignPostResponse404 = {
|
|
2159
|
+
data: DashboardExternalCallsUploadsPresignPost404;
|
|
2160
|
+
status: 404;
|
|
2161
|
+
};
|
|
2162
|
+
export type dashboardExternalCallsUploadsPresignPostResponse409 = {
|
|
2163
|
+
data: DashboardExternalCallsUploadsPresignPost409;
|
|
2164
|
+
status: 409;
|
|
2165
|
+
};
|
|
2166
|
+
export type dashboardExternalCallsUploadsPresignPostResponse500 = {
|
|
2167
|
+
data: DashboardExternalCallsUploadsPresignPost500;
|
|
2168
|
+
status: 500;
|
|
2169
|
+
};
|
|
2170
|
+
export type dashboardExternalCallsUploadsPresignPostResponseSuccess = (dashboardExternalCallsUploadsPresignPostResponse200) & {
|
|
2171
|
+
headers: Headers;
|
|
2172
|
+
};
|
|
2173
|
+
export type dashboardExternalCallsUploadsPresignPostResponseError = (dashboardExternalCallsUploadsPresignPostResponse400 | dashboardExternalCallsUploadsPresignPostResponse401 | dashboardExternalCallsUploadsPresignPostResponse404 | dashboardExternalCallsUploadsPresignPostResponse409 | dashboardExternalCallsUploadsPresignPostResponse500) & {
|
|
2174
|
+
headers: Headers;
|
|
2175
|
+
};
|
|
2176
|
+
export type dashboardExternalCallsUploadsPresignPostResponse = (dashboardExternalCallsUploadsPresignPostResponseSuccess | dashboardExternalCallsUploadsPresignPostResponseError);
|
|
2177
|
+
export declare const getDashboardExternalCallsUploadsPresignPostUrl: () => string;
|
|
2178
|
+
export declare const dashboardExternalCallsUploadsPresignPost: (dashboardExternalCallsUploadsPresignPostBody: DashboardExternalCallsUploadsPresignPostBody, options?: RequestInit) => Promise<dashboardExternalCallsUploadsPresignPostResponse>;
|
|
2179
|
+
export declare const getDashboardExternalCallsUploadsPresignPostMutationOptions: <TError = DashboardExternalCallsUploadsPresignPost400 | DashboardExternalCallsUploadsPresignPost401 | DashboardExternalCallsUploadsPresignPost404 | DashboardExternalCallsUploadsPresignPost409 | DashboardExternalCallsUploadsPresignPost500, TContext = unknown>(options?: {
|
|
2180
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof dashboardExternalCallsUploadsPresignPost>>, TError, {
|
|
2181
|
+
data: DashboardExternalCallsUploadsPresignPostBody;
|
|
2182
|
+
}, TContext>;
|
|
2183
|
+
request?: SecondParameter<typeof customFetcher>;
|
|
2184
|
+
}) => UseMutationOptions<Awaited<ReturnType<typeof dashboardExternalCallsUploadsPresignPost>>, TError, {
|
|
2185
|
+
data: DashboardExternalCallsUploadsPresignPostBody;
|
|
2186
|
+
}, TContext>;
|
|
2187
|
+
export type DashboardExternalCallsUploadsPresignPostMutationResult = NonNullable<Awaited<ReturnType<typeof dashboardExternalCallsUploadsPresignPost>>>;
|
|
2188
|
+
export type DashboardExternalCallsUploadsPresignPostMutationBody = DashboardExternalCallsUploadsPresignPostBody;
|
|
2189
|
+
export type DashboardExternalCallsUploadsPresignPostMutationError = DashboardExternalCallsUploadsPresignPost400 | DashboardExternalCallsUploadsPresignPost401 | DashboardExternalCallsUploadsPresignPost404 | DashboardExternalCallsUploadsPresignPost409 | DashboardExternalCallsUploadsPresignPost500;
|
|
2190
|
+
/**
|
|
2191
|
+
* @summary Presign external call recording uploads
|
|
2192
|
+
*/
|
|
2193
|
+
export declare const useDashboardExternalCallsUploadsPresignPost: <TError = DashboardExternalCallsUploadsPresignPost400 | DashboardExternalCallsUploadsPresignPost401 | DashboardExternalCallsUploadsPresignPost404 | DashboardExternalCallsUploadsPresignPost409 | DashboardExternalCallsUploadsPresignPost500, TContext = unknown>(options?: {
|
|
2194
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof dashboardExternalCallsUploadsPresignPost>>, TError, {
|
|
2195
|
+
data: DashboardExternalCallsUploadsPresignPostBody;
|
|
2196
|
+
}, TContext>;
|
|
2197
|
+
request?: SecondParameter<typeof customFetcher>;
|
|
2198
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof dashboardExternalCallsUploadsPresignPost>>, TError, {
|
|
2199
|
+
data: DashboardExternalCallsUploadsPresignPostBody;
|
|
2200
|
+
}, TContext>;
|
|
2201
|
+
/**
|
|
2202
|
+
* Verifies uploaded external call recordings in S3 and queues transcription jobs.
|
|
2203
|
+
* @summary Complete external call recording uploads
|
|
2204
|
+
*/
|
|
2205
|
+
export type dashboardExternalCallsUploadsCompletePostResponse202 = {
|
|
2206
|
+
data: DashboardExternalCallsUploadsCompletePost202;
|
|
2207
|
+
status: 202;
|
|
2208
|
+
};
|
|
2209
|
+
export type dashboardExternalCallsUploadsCompletePostResponse400 = {
|
|
2210
|
+
data: DashboardExternalCallsUploadsCompletePost400;
|
|
2211
|
+
status: 400;
|
|
2212
|
+
};
|
|
2213
|
+
export type dashboardExternalCallsUploadsCompletePostResponse401 = {
|
|
2214
|
+
data: DashboardExternalCallsUploadsCompletePost401;
|
|
2215
|
+
status: 401;
|
|
2216
|
+
};
|
|
2217
|
+
export type dashboardExternalCallsUploadsCompletePostResponse404 = {
|
|
2218
|
+
data: DashboardExternalCallsUploadsCompletePost404;
|
|
2219
|
+
status: 404;
|
|
2220
|
+
};
|
|
2221
|
+
export type dashboardExternalCallsUploadsCompletePostResponse500 = {
|
|
2222
|
+
data: DashboardExternalCallsUploadsCompletePost500;
|
|
2223
|
+
status: 500;
|
|
2224
|
+
};
|
|
2225
|
+
export type dashboardExternalCallsUploadsCompletePostResponseSuccess = (dashboardExternalCallsUploadsCompletePostResponse202) & {
|
|
2226
|
+
headers: Headers;
|
|
2227
|
+
};
|
|
2228
|
+
export type dashboardExternalCallsUploadsCompletePostResponseError = (dashboardExternalCallsUploadsCompletePostResponse400 | dashboardExternalCallsUploadsCompletePostResponse401 | dashboardExternalCallsUploadsCompletePostResponse404 | dashboardExternalCallsUploadsCompletePostResponse500) & {
|
|
2229
|
+
headers: Headers;
|
|
2230
|
+
};
|
|
2231
|
+
export type dashboardExternalCallsUploadsCompletePostResponse = (dashboardExternalCallsUploadsCompletePostResponseSuccess | dashboardExternalCallsUploadsCompletePostResponseError);
|
|
2232
|
+
export declare const getDashboardExternalCallsUploadsCompletePostUrl: () => string;
|
|
2233
|
+
export declare const dashboardExternalCallsUploadsCompletePost: (dashboardExternalCallsUploadsCompletePostBody: DashboardExternalCallsUploadsCompletePostBody, options?: RequestInit) => Promise<dashboardExternalCallsUploadsCompletePostResponse>;
|
|
2234
|
+
export declare const getDashboardExternalCallsUploadsCompletePostMutationOptions: <TError = DashboardExternalCallsUploadsCompletePost400 | DashboardExternalCallsUploadsCompletePost401 | DashboardExternalCallsUploadsCompletePost404 | DashboardExternalCallsUploadsCompletePost500, TContext = unknown>(options?: {
|
|
2235
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof dashboardExternalCallsUploadsCompletePost>>, TError, {
|
|
2236
|
+
data: DashboardExternalCallsUploadsCompletePostBody;
|
|
2237
|
+
}, TContext>;
|
|
2238
|
+
request?: SecondParameter<typeof customFetcher>;
|
|
2239
|
+
}) => UseMutationOptions<Awaited<ReturnType<typeof dashboardExternalCallsUploadsCompletePost>>, TError, {
|
|
2240
|
+
data: DashboardExternalCallsUploadsCompletePostBody;
|
|
2241
|
+
}, TContext>;
|
|
2242
|
+
export type DashboardExternalCallsUploadsCompletePostMutationResult = NonNullable<Awaited<ReturnType<typeof dashboardExternalCallsUploadsCompletePost>>>;
|
|
2243
|
+
export type DashboardExternalCallsUploadsCompletePostMutationBody = DashboardExternalCallsUploadsCompletePostBody;
|
|
2244
|
+
export type DashboardExternalCallsUploadsCompletePostMutationError = DashboardExternalCallsUploadsCompletePost400 | DashboardExternalCallsUploadsCompletePost401 | DashboardExternalCallsUploadsCompletePost404 | DashboardExternalCallsUploadsCompletePost500;
|
|
2245
|
+
/**
|
|
2246
|
+
* @summary Complete external call recording uploads
|
|
2247
|
+
*/
|
|
2248
|
+
export declare const useDashboardExternalCallsUploadsCompletePost: <TError = DashboardExternalCallsUploadsCompletePost400 | DashboardExternalCallsUploadsCompletePost401 | DashboardExternalCallsUploadsCompletePost404 | DashboardExternalCallsUploadsCompletePost500, TContext = unknown>(options?: {
|
|
2249
|
+
mutation?: UseMutationOptions<Awaited<ReturnType<typeof dashboardExternalCallsUploadsCompletePost>>, TError, {
|
|
2250
|
+
data: DashboardExternalCallsUploadsCompletePostBody;
|
|
2251
|
+
}, TContext>;
|
|
2252
|
+
request?: SecondParameter<typeof customFetcher>;
|
|
2253
|
+
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof dashboardExternalCallsUploadsCompletePost>>, TError, {
|
|
2254
|
+
data: DashboardExternalCallsUploadsCompletePostBody;
|
|
2255
|
+
}, TContext>;
|
|
2256
|
+
/**
|
|
2257
|
+
* Returns latest successful QA scoring results for an uploaded external call recording.
|
|
2258
|
+
* @summary Get scoring results for an external call
|
|
2259
|
+
*/
|
|
2260
|
+
export type dashboardExternalCallsCallIdScoringGetResponse200 = {
|
|
2261
|
+
data: DashboardExternalCallsCallIdScoringGet200;
|
|
2262
|
+
status: 200;
|
|
2263
|
+
};
|
|
2264
|
+
export type dashboardExternalCallsCallIdScoringGetResponse401 = {
|
|
2265
|
+
data: DashboardExternalCallsCallIdScoringGet401;
|
|
2266
|
+
status: 401;
|
|
2267
|
+
};
|
|
2268
|
+
export type dashboardExternalCallsCallIdScoringGetResponse403 = {
|
|
2269
|
+
data: DashboardExternalCallsCallIdScoringGet403;
|
|
2270
|
+
status: 403;
|
|
2271
|
+
};
|
|
2272
|
+
export type dashboardExternalCallsCallIdScoringGetResponse404 = {
|
|
2273
|
+
data: DashboardExternalCallsCallIdScoringGet404;
|
|
2274
|
+
status: 404;
|
|
2275
|
+
};
|
|
2276
|
+
export type dashboardExternalCallsCallIdScoringGetResponse500 = {
|
|
2277
|
+
data: DashboardExternalCallsCallIdScoringGet500;
|
|
2278
|
+
status: 500;
|
|
2279
|
+
};
|
|
2280
|
+
export type dashboardExternalCallsCallIdScoringGetResponseSuccess = (dashboardExternalCallsCallIdScoringGetResponse200) & {
|
|
2281
|
+
headers: Headers;
|
|
2282
|
+
};
|
|
2283
|
+
export type dashboardExternalCallsCallIdScoringGetResponseError = (dashboardExternalCallsCallIdScoringGetResponse401 | dashboardExternalCallsCallIdScoringGetResponse403 | dashboardExternalCallsCallIdScoringGetResponse404 | dashboardExternalCallsCallIdScoringGetResponse500) & {
|
|
2284
|
+
headers: Headers;
|
|
2285
|
+
};
|
|
2286
|
+
export type dashboardExternalCallsCallIdScoringGetResponse = (dashboardExternalCallsCallIdScoringGetResponseSuccess | dashboardExternalCallsCallIdScoringGetResponseError);
|
|
2287
|
+
export declare const getDashboardExternalCallsCallIdScoringGetUrl: (callId: string, params?: DashboardExternalCallsCallIdScoringGetParams) => string;
|
|
2288
|
+
export declare const dashboardExternalCallsCallIdScoringGet: (callId: string, params?: DashboardExternalCallsCallIdScoringGetParams, options?: RequestInit) => Promise<dashboardExternalCallsCallIdScoringGetResponse>;
|
|
2289
|
+
export declare const getDashboardExternalCallsCallIdScoringGetQueryKey: (callId: string, params?: DashboardExternalCallsCallIdScoringGetParams) => readonly [`/v1/dashboard/external-calls/${string}/scoring`, ...DashboardExternalCallsCallIdScoringGetParams[]];
|
|
2290
|
+
export declare const getDashboardExternalCallsCallIdScoringGetQueryOptions: <TData = Awaited<ReturnType<typeof dashboardExternalCallsCallIdScoringGet>>, TError = DashboardExternalCallsCallIdScoringGet401 | DashboardExternalCallsCallIdScoringGet403 | DashboardExternalCallsCallIdScoringGet404 | DashboardExternalCallsCallIdScoringGet500>(callId: string, params?: DashboardExternalCallsCallIdScoringGetParams, options?: {
|
|
2291
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof dashboardExternalCallsCallIdScoringGet>>, TError, TData>>;
|
|
2292
|
+
request?: SecondParameter<typeof customFetcher>;
|
|
2293
|
+
}) => UseQueryOptions<Awaited<ReturnType<typeof dashboardExternalCallsCallIdScoringGet>>, TError, TData> & {
|
|
2294
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2295
|
+
};
|
|
2296
|
+
export type DashboardExternalCallsCallIdScoringGetQueryResult = NonNullable<Awaited<ReturnType<typeof dashboardExternalCallsCallIdScoringGet>>>;
|
|
2297
|
+
export type DashboardExternalCallsCallIdScoringGetQueryError = DashboardExternalCallsCallIdScoringGet401 | DashboardExternalCallsCallIdScoringGet403 | DashboardExternalCallsCallIdScoringGet404 | DashboardExternalCallsCallIdScoringGet500;
|
|
2298
|
+
export declare function useDashboardExternalCallsCallIdScoringGet<TData = Awaited<ReturnType<typeof dashboardExternalCallsCallIdScoringGet>>, TError = DashboardExternalCallsCallIdScoringGet401 | DashboardExternalCallsCallIdScoringGet403 | DashboardExternalCallsCallIdScoringGet404 | DashboardExternalCallsCallIdScoringGet500>(callId: string, params: undefined | DashboardExternalCallsCallIdScoringGetParams, options: {
|
|
2299
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof dashboardExternalCallsCallIdScoringGet>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof dashboardExternalCallsCallIdScoringGet>>, TError, Awaited<ReturnType<typeof dashboardExternalCallsCallIdScoringGet>>>, 'initialData'>;
|
|
2300
|
+
request?: SecondParameter<typeof customFetcher>;
|
|
2301
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
2302
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2303
|
+
};
|
|
2304
|
+
export declare function useDashboardExternalCallsCallIdScoringGet<TData = Awaited<ReturnType<typeof dashboardExternalCallsCallIdScoringGet>>, TError = DashboardExternalCallsCallIdScoringGet401 | DashboardExternalCallsCallIdScoringGet403 | DashboardExternalCallsCallIdScoringGet404 | DashboardExternalCallsCallIdScoringGet500>(callId: string, params?: DashboardExternalCallsCallIdScoringGetParams, options?: {
|
|
2305
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof dashboardExternalCallsCallIdScoringGet>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof dashboardExternalCallsCallIdScoringGet>>, TError, Awaited<ReturnType<typeof dashboardExternalCallsCallIdScoringGet>>>, 'initialData'>;
|
|
2306
|
+
request?: SecondParameter<typeof customFetcher>;
|
|
2307
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
2308
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2309
|
+
};
|
|
2310
|
+
export declare function useDashboardExternalCallsCallIdScoringGet<TData = Awaited<ReturnType<typeof dashboardExternalCallsCallIdScoringGet>>, TError = DashboardExternalCallsCallIdScoringGet401 | DashboardExternalCallsCallIdScoringGet403 | DashboardExternalCallsCallIdScoringGet404 | DashboardExternalCallsCallIdScoringGet500>(callId: string, params?: DashboardExternalCallsCallIdScoringGetParams, options?: {
|
|
2311
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof dashboardExternalCallsCallIdScoringGet>>, TError, TData>>;
|
|
2312
|
+
request?: SecondParameter<typeof customFetcher>;
|
|
2313
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
2314
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2315
|
+
};
|
|
2316
|
+
/**
|
|
2317
|
+
* Generates a short-lived presigned URL for accessing an uploaded external call recording.
|
|
2318
|
+
* @summary Get presigned URL for an external call recording
|
|
2319
|
+
*/
|
|
2320
|
+
export type dashboardExternalCallsCallIdRecordingUrlGetResponse200 = {
|
|
2321
|
+
data: DashboardExternalCallsCallIdRecordingUrlGet200;
|
|
2322
|
+
status: 200;
|
|
2323
|
+
};
|
|
2324
|
+
export type dashboardExternalCallsCallIdRecordingUrlGetResponse401 = {
|
|
2325
|
+
data: DashboardExternalCallsCallIdRecordingUrlGet401;
|
|
2326
|
+
status: 401;
|
|
2327
|
+
};
|
|
2328
|
+
export type dashboardExternalCallsCallIdRecordingUrlGetResponse403 = {
|
|
2329
|
+
data: DashboardExternalCallsCallIdRecordingUrlGet403;
|
|
2330
|
+
status: 403;
|
|
2331
|
+
};
|
|
2332
|
+
export type dashboardExternalCallsCallIdRecordingUrlGetResponse404 = {
|
|
2333
|
+
data: DashboardExternalCallsCallIdRecordingUrlGet404;
|
|
2334
|
+
status: 404;
|
|
2335
|
+
};
|
|
2336
|
+
export type dashboardExternalCallsCallIdRecordingUrlGetResponse500 = {
|
|
2337
|
+
data: DashboardExternalCallsCallIdRecordingUrlGet500;
|
|
2338
|
+
status: 500;
|
|
2339
|
+
};
|
|
2340
|
+
export type dashboardExternalCallsCallIdRecordingUrlGetResponseSuccess = (dashboardExternalCallsCallIdRecordingUrlGetResponse200) & {
|
|
2341
|
+
headers: Headers;
|
|
2342
|
+
};
|
|
2343
|
+
export type dashboardExternalCallsCallIdRecordingUrlGetResponseError = (dashboardExternalCallsCallIdRecordingUrlGetResponse401 | dashboardExternalCallsCallIdRecordingUrlGetResponse403 | dashboardExternalCallsCallIdRecordingUrlGetResponse404 | dashboardExternalCallsCallIdRecordingUrlGetResponse500) & {
|
|
2344
|
+
headers: Headers;
|
|
2345
|
+
};
|
|
2346
|
+
export type dashboardExternalCallsCallIdRecordingUrlGetResponse = (dashboardExternalCallsCallIdRecordingUrlGetResponseSuccess | dashboardExternalCallsCallIdRecordingUrlGetResponseError);
|
|
2347
|
+
export declare const getDashboardExternalCallsCallIdRecordingUrlGetUrl: (callId: string) => string;
|
|
2348
|
+
export declare const dashboardExternalCallsCallIdRecordingUrlGet: (callId: string, options?: RequestInit) => Promise<dashboardExternalCallsCallIdRecordingUrlGetResponse>;
|
|
2349
|
+
export declare const getDashboardExternalCallsCallIdRecordingUrlGetQueryKey: (callId: string) => readonly [`/v1/dashboard/external-calls/${string}/recording-url`];
|
|
2350
|
+
export declare const getDashboardExternalCallsCallIdRecordingUrlGetQueryOptions: <TData = Awaited<ReturnType<typeof dashboardExternalCallsCallIdRecordingUrlGet>>, TError = DashboardExternalCallsCallIdRecordingUrlGet401 | DashboardExternalCallsCallIdRecordingUrlGet403 | DashboardExternalCallsCallIdRecordingUrlGet404 | DashboardExternalCallsCallIdRecordingUrlGet500>(callId: string, options?: {
|
|
2351
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof dashboardExternalCallsCallIdRecordingUrlGet>>, TError, TData>>;
|
|
2352
|
+
request?: SecondParameter<typeof customFetcher>;
|
|
2353
|
+
}) => UseQueryOptions<Awaited<ReturnType<typeof dashboardExternalCallsCallIdRecordingUrlGet>>, TError, TData> & {
|
|
2354
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2355
|
+
};
|
|
2356
|
+
export type DashboardExternalCallsCallIdRecordingUrlGetQueryResult = NonNullable<Awaited<ReturnType<typeof dashboardExternalCallsCallIdRecordingUrlGet>>>;
|
|
2357
|
+
export type DashboardExternalCallsCallIdRecordingUrlGetQueryError = DashboardExternalCallsCallIdRecordingUrlGet401 | DashboardExternalCallsCallIdRecordingUrlGet403 | DashboardExternalCallsCallIdRecordingUrlGet404 | DashboardExternalCallsCallIdRecordingUrlGet500;
|
|
2358
|
+
export declare function useDashboardExternalCallsCallIdRecordingUrlGet<TData = Awaited<ReturnType<typeof dashboardExternalCallsCallIdRecordingUrlGet>>, TError = DashboardExternalCallsCallIdRecordingUrlGet401 | DashboardExternalCallsCallIdRecordingUrlGet403 | DashboardExternalCallsCallIdRecordingUrlGet404 | DashboardExternalCallsCallIdRecordingUrlGet500>(callId: string, options: {
|
|
2359
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof dashboardExternalCallsCallIdRecordingUrlGet>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof dashboardExternalCallsCallIdRecordingUrlGet>>, TError, Awaited<ReturnType<typeof dashboardExternalCallsCallIdRecordingUrlGet>>>, 'initialData'>;
|
|
2360
|
+
request?: SecondParameter<typeof customFetcher>;
|
|
2361
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
2362
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2363
|
+
};
|
|
2364
|
+
export declare function useDashboardExternalCallsCallIdRecordingUrlGet<TData = Awaited<ReturnType<typeof dashboardExternalCallsCallIdRecordingUrlGet>>, TError = DashboardExternalCallsCallIdRecordingUrlGet401 | DashboardExternalCallsCallIdRecordingUrlGet403 | DashboardExternalCallsCallIdRecordingUrlGet404 | DashboardExternalCallsCallIdRecordingUrlGet500>(callId: string, options?: {
|
|
2365
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof dashboardExternalCallsCallIdRecordingUrlGet>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof dashboardExternalCallsCallIdRecordingUrlGet>>, TError, Awaited<ReturnType<typeof dashboardExternalCallsCallIdRecordingUrlGet>>>, 'initialData'>;
|
|
2366
|
+
request?: SecondParameter<typeof customFetcher>;
|
|
2367
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
2368
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2369
|
+
};
|
|
2370
|
+
export declare function useDashboardExternalCallsCallIdRecordingUrlGet<TData = Awaited<ReturnType<typeof dashboardExternalCallsCallIdRecordingUrlGet>>, TError = DashboardExternalCallsCallIdRecordingUrlGet401 | DashboardExternalCallsCallIdRecordingUrlGet403 | DashboardExternalCallsCallIdRecordingUrlGet404 | DashboardExternalCallsCallIdRecordingUrlGet500>(callId: string, options?: {
|
|
2371
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof dashboardExternalCallsCallIdRecordingUrlGet>>, TError, TData>>;
|
|
2372
|
+
request?: SecondParameter<typeof customFetcher>;
|
|
2373
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
2374
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2375
|
+
};
|
|
1964
2376
|
/**
|
|
1965
2377
|
* @summary Start a sandbox WebRTC call for browser-based agent testing
|
|
1966
2378
|
*/
|
package/dashboard/client.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
3
|
+
exports.getDashboardOutputFieldsGetQueryOptions = exports.getDashboardOutputFieldsGetQueryKey = exports.dashboardOutputFieldsGet = exports.getDashboardOutputFieldsGetUrl = exports.getDashboardInputFieldsGetQueryOptions = exports.getDashboardInputFieldsGetQueryKey = exports.dashboardInputFieldsGet = exports.getDashboardInputFieldsGetUrl = exports.getDashboardAgentsGroupedGetQueryOptions = exports.getDashboardAgentsGroupedGetQueryKey = exports.dashboardAgentsGroupedGet = exports.getDashboardAgentsGroupedGetUrl = exports.getDashboardAgentsGetQueryOptions = exports.getDashboardAgentsGetQueryKey = exports.dashboardAgentsGet = exports.getDashboardAgentsGetUrl = exports.getDashboardCampaignsCampaignIdScheduleConfigGetQueryOptions = exports.getDashboardCampaignsCampaignIdScheduleConfigGetQueryKey = exports.dashboardCampaignsCampaignIdScheduleConfigGet = exports.getDashboardCampaignsCampaignIdScheduleConfigGetUrl = exports.getDashboardCampaignsCampaignIdOutputFieldsGetQueryOptions = exports.getDashboardCampaignsCampaignIdOutputFieldsGetQueryKey = exports.dashboardCampaignsCampaignIdOutputFieldsGet = exports.getDashboardCampaignsCampaignIdOutputFieldsGetUrl = exports.getDashboardCampaignsCampaignIdInputFieldsGetQueryOptions = exports.getDashboardCampaignsCampaignIdInputFieldsGetQueryKey = exports.dashboardCampaignsCampaignIdInputFieldsGet = exports.getDashboardCampaignsCampaignIdInputFieldsGetUrl = exports.getDashboardCampaignsGetQueryOptions = exports.getDashboardCampaignsGetQueryKey = exports.dashboardCampaignsGet = exports.getDashboardCampaignsGetUrl = exports.useDashboardCampaignsNamesPost = exports.getDashboardCampaignsNamesPostMutationOptions = exports.dashboardCampaignsNamesPost = exports.getDashboardCampaignsNamesPostUrl = exports.DashboardCallsCallIdScoringRerunsPost200DataResultsItemItemType = exports.DashboardCallsCallIdScoringGet200DataResultsItemItemType = exports.DashboardScorecardsScorecardIdGet200DataItemsItemType = exports.DashboardCampaignsCampaignIdScorecardsActiveGet200DataItemsItemType = exports.DashboardCampaignsCampaignIdScorecardsPost201DataItemsItemType = exports.DashboardSchedulerCreatePostBodyPhoneRotationStatusesItem = exports.DashboardSchedulerCreatePostBodyTimeSlotsItemDaysOfWeekItem = exports.DashboardSchedulerPreviewPost200DataWarningsItemSeverity = exports.DashboardSchedulerPreviewPost200DataWarningsItemType = exports.DashboardSchedulerPreviewPost200DataJourneyStepsItemType = exports.DashboardSchedulerPreviewPostBodyPhoneRotationStatusesItem = exports.DashboardSchedulerPreviewPostBodyTimeSlotsItemDaysOfWeekItem = exports.DashboardExternalCallsCallIdScoringGet200DataResultsItemItemType = exports.DashboardCampaignsCampaignIdInputFieldsGet200DataItemType = void 0;
|
|
4
|
+
exports.dashboardTargetsLatestGet = exports.getDashboardTargetsLatestGetUrl = exports.getDashboardFlagsGetQueryOptions = exports.getDashboardFlagsGetQueryKey = exports.dashboardFlagsGet = exports.getDashboardFlagsGetUrl = exports.useDashboardSchedulerCreatePost = exports.getDashboardSchedulerCreatePostMutationOptions = exports.dashboardSchedulerCreatePost = exports.getDashboardSchedulerCreatePostUrl = exports.useDashboardSchedulerPreviewPost = exports.getDashboardSchedulerPreviewPostMutationOptions = exports.dashboardSchedulerPreviewPost = exports.getDashboardSchedulerPreviewPostUrl = exports.useDashboardAgentSandboxStartPost = exports.getDashboardAgentSandboxStartPostMutationOptions = exports.dashboardAgentSandboxStartPost = exports.getDashboardAgentSandboxStartPostUrl = exports.getDashboardExternalCallsCallIdRecordingUrlGetQueryOptions = exports.getDashboardExternalCallsCallIdRecordingUrlGetQueryKey = exports.dashboardExternalCallsCallIdRecordingUrlGet = exports.getDashboardExternalCallsCallIdRecordingUrlGetUrl = exports.getDashboardExternalCallsCallIdScoringGetQueryOptions = exports.getDashboardExternalCallsCallIdScoringGetQueryKey = exports.dashboardExternalCallsCallIdScoringGet = exports.getDashboardExternalCallsCallIdScoringGetUrl = exports.useDashboardExternalCallsUploadsCompletePost = exports.getDashboardExternalCallsUploadsCompletePostMutationOptions = exports.dashboardExternalCallsUploadsCompletePost = exports.getDashboardExternalCallsUploadsCompletePostUrl = exports.useDashboardExternalCallsUploadsPresignPost = exports.getDashboardExternalCallsUploadsPresignPostMutationOptions = exports.dashboardExternalCallsUploadsPresignPost = exports.getDashboardExternalCallsUploadsPresignPostUrl = exports.getDashboardCallsCallIdRecordingUrlGetQueryOptions = exports.getDashboardCallsCallIdRecordingUrlGetQueryKey = exports.dashboardCallsCallIdRecordingUrlGet = exports.getDashboardCallsCallIdRecordingUrlGetUrl = exports.useDashboardCallsCallIdReviewPatch = exports.getDashboardCallsCallIdReviewPatchMutationOptions = exports.dashboardCallsCallIdReviewPatch = exports.getDashboardCallsCallIdReviewPatchUrl = exports.useDashboardCallsReviewStatusPost = exports.getDashboardCallsReviewStatusPostMutationOptions = exports.dashboardCallsReviewStatusPost = exports.getDashboardCallsReviewStatusPostUrl = exports.getDashboardCallsCallIdGetQueryOptions = exports.getDashboardCallsCallIdGetQueryKey = exports.dashboardCallsCallIdGet = exports.getDashboardCallsCallIdGetUrl = void 0;
|
|
5
|
+
exports.useDashboardScorecardsScorecardIdActivatePost = exports.getDashboardScorecardsScorecardIdActivatePostMutationOptions = exports.dashboardScorecardsScorecardIdActivatePost = exports.getDashboardScorecardsScorecardIdActivatePostUrl = exports.getDashboardScorecardsScorecardIdGetQueryOptions = exports.getDashboardScorecardsScorecardIdGetQueryKey = exports.dashboardScorecardsScorecardIdGet = exports.getDashboardScorecardsScorecardIdGetUrl = exports.getDashboardCampaignsCampaignIdScorecardsActiveGetQueryOptions = exports.getDashboardCampaignsCampaignIdScorecardsActiveGetQueryKey = exports.dashboardCampaignsCampaignIdScorecardsActiveGet = exports.getDashboardCampaignsCampaignIdScorecardsActiveGetUrl = exports.getDashboardCampaignsCampaignIdScorecardsGetQueryOptions = exports.getDashboardCampaignsCampaignIdScorecardsGetQueryKey = exports.dashboardCampaignsCampaignIdScorecardsGet = exports.getDashboardCampaignsCampaignIdScorecardsGetUrl = exports.useDashboardCampaignsCampaignIdScorecardsPost = exports.getDashboardCampaignsCampaignIdScorecardsPostMutationOptions = exports.dashboardCampaignsCampaignIdScorecardsPost = exports.getDashboardCampaignsCampaignIdScorecardsPostUrl = exports.getDashboardInovoWindmillSchedulesNamePreviewGetQueryOptions = exports.getDashboardInovoWindmillSchedulesNamePreviewGetQueryKey = exports.dashboardInovoWindmillSchedulesNamePreviewGet = exports.getDashboardInovoWindmillSchedulesNamePreviewGetUrl = exports.useDashboardInovoWindmillSchedulesNamePresignUploadPost = exports.getDashboardInovoWindmillSchedulesNamePresignUploadPostMutationOptions = exports.dashboardInovoWindmillSchedulesNamePresignUploadPost = exports.getDashboardInovoWindmillSchedulesNamePresignUploadPostUrl = exports.getDashboardInovoWindmillSchedulesNameRunsGetQueryOptions = exports.getDashboardInovoWindmillSchedulesNameRunsGetQueryKey = exports.dashboardInovoWindmillSchedulesNameRunsGet = exports.getDashboardInovoWindmillSchedulesNameRunsGetUrl = exports.useDashboardInovoWindmillSchedulesNameTogglePatch = exports.getDashboardInovoWindmillSchedulesNameTogglePatchMutationOptions = exports.dashboardInovoWindmillSchedulesNameTogglePatch = exports.getDashboardInovoWindmillSchedulesNameTogglePatchUrl = exports.useDashboardInovoWindmillSchedulesNamePut = exports.getDashboardInovoWindmillSchedulesNamePutMutationOptions = exports.dashboardInovoWindmillSchedulesNamePut = exports.getDashboardInovoWindmillSchedulesNamePutUrl = exports.getDashboardInovoWindmillSchedulesNameGetQueryOptions = exports.getDashboardInovoWindmillSchedulesNameGetQueryKey = exports.dashboardInovoWindmillSchedulesNameGet = exports.getDashboardInovoWindmillSchedulesNameGetUrl = exports.getDashboardInovoWindmillSchedulesGetQueryOptions = exports.getDashboardInovoWindmillSchedulesGetQueryKey = exports.dashboardInovoWindmillSchedulesGet = exports.getDashboardInovoWindmillSchedulesGetUrl = exports.getDashboardTargetsLatestGetQueryOptions = exports.getDashboardTargetsLatestGetQueryKey = void 0;
|
|
6
|
+
exports.useDashboardCallsCallIdScoringRerunsPost = exports.getDashboardCallsCallIdScoringRerunsPostMutationOptions = exports.dashboardCallsCallIdScoringRerunsPost = exports.getDashboardCallsCallIdScoringRerunsPostUrl = exports.getDashboardCallsCallIdScoringGetQueryOptions = exports.getDashboardCallsCallIdScoringGetQueryKey = exports.dashboardCallsCallIdScoringGet = exports.getDashboardCallsCallIdScoringGetUrl = void 0;
|
|
6
7
|
exports.useDashboardCampaignsGet = useDashboardCampaignsGet;
|
|
7
8
|
exports.useDashboardCampaignsCampaignIdInputFieldsGet = useDashboardCampaignsCampaignIdInputFieldsGet;
|
|
8
9
|
exports.useDashboardCampaignsCampaignIdOutputFieldsGet = useDashboardCampaignsCampaignIdOutputFieldsGet;
|
|
@@ -13,6 +14,8 @@ exports.useDashboardInputFieldsGet = useDashboardInputFieldsGet;
|
|
|
13
14
|
exports.useDashboardOutputFieldsGet = useDashboardOutputFieldsGet;
|
|
14
15
|
exports.useDashboardCallsCallIdGet = useDashboardCallsCallIdGet;
|
|
15
16
|
exports.useDashboardCallsCallIdRecordingUrlGet = useDashboardCallsCallIdRecordingUrlGet;
|
|
17
|
+
exports.useDashboardExternalCallsCallIdScoringGet = useDashboardExternalCallsCallIdScoringGet;
|
|
18
|
+
exports.useDashboardExternalCallsCallIdRecordingUrlGet = useDashboardExternalCallsCallIdRecordingUrlGet;
|
|
16
19
|
exports.useDashboardFlagsGet = useDashboardFlagsGet;
|
|
17
20
|
exports.useDashboardTargetsLatestGet = useDashboardTargetsLatestGet;
|
|
18
21
|
exports.useDashboardInovoWindmillSchedulesGet = useDashboardInovoWindmillSchedulesGet;
|
|
@@ -38,6 +41,10 @@ exports.DashboardCampaignsCampaignIdInputFieldsGet200DataItemType = {
|
|
|
38
41
|
debt: 'debt',
|
|
39
42
|
date: 'date',
|
|
40
43
|
};
|
|
44
|
+
exports.DashboardExternalCallsCallIdScoringGet200DataResultsItemItemType = {
|
|
45
|
+
boolean: 'boolean',
|
|
46
|
+
numeric: 'numeric',
|
|
47
|
+
};
|
|
41
48
|
exports.DashboardSchedulerPreviewPostBodyTimeSlotsItemDaysOfWeekItem = {
|
|
42
49
|
NUMBER_1: 1,
|
|
43
50
|
NUMBER_2: 2,
|
|
@@ -533,6 +540,145 @@ function useDashboardCallsCallIdRecordingUrlGet(callId, options, queryClient) {
|
|
|
533
540
|
const query = (0, react_query_1.useQuery)(queryOptions, queryClient);
|
|
534
541
|
return { ...query, queryKey: queryOptions.queryKey };
|
|
535
542
|
}
|
|
543
|
+
const getDashboardExternalCallsUploadsPresignPostUrl = () => {
|
|
544
|
+
return `/v1/dashboard/external-calls/uploads/presign`;
|
|
545
|
+
};
|
|
546
|
+
exports.getDashboardExternalCallsUploadsPresignPostUrl = getDashboardExternalCallsUploadsPresignPostUrl;
|
|
547
|
+
const dashboardExternalCallsUploadsPresignPost = async (dashboardExternalCallsUploadsPresignPostBody, options) => {
|
|
548
|
+
return (0, fetcher_1.customFetcher)((0, exports.getDashboardExternalCallsUploadsPresignPostUrl)(), {
|
|
549
|
+
...options,
|
|
550
|
+
method: 'POST',
|
|
551
|
+
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
552
|
+
body: JSON.stringify(dashboardExternalCallsUploadsPresignPostBody)
|
|
553
|
+
});
|
|
554
|
+
};
|
|
555
|
+
exports.dashboardExternalCallsUploadsPresignPost = dashboardExternalCallsUploadsPresignPost;
|
|
556
|
+
const getDashboardExternalCallsUploadsPresignPostMutationOptions = (options) => {
|
|
557
|
+
const mutationKey = ['dashboardExternalCallsUploadsPresignPost'];
|
|
558
|
+
const { mutation: mutationOptions, request: requestOptions } = options ?
|
|
559
|
+
options.mutation && 'mutationKey' in options.mutation && options.mutation.mutationKey ?
|
|
560
|
+
options
|
|
561
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
562
|
+
: { mutation: { mutationKey, }, request: undefined };
|
|
563
|
+
const mutationFn = (props) => {
|
|
564
|
+
const { data } = props ?? {};
|
|
565
|
+
return (0, exports.dashboardExternalCallsUploadsPresignPost)(data, requestOptions);
|
|
566
|
+
};
|
|
567
|
+
return { mutationFn, ...mutationOptions };
|
|
568
|
+
};
|
|
569
|
+
exports.getDashboardExternalCallsUploadsPresignPostMutationOptions = getDashboardExternalCallsUploadsPresignPostMutationOptions;
|
|
570
|
+
/**
|
|
571
|
+
* @summary Presign external call recording uploads
|
|
572
|
+
*/
|
|
573
|
+
const useDashboardExternalCallsUploadsPresignPost = (options, queryClient) => {
|
|
574
|
+
return (0, react_query_1.useMutation)((0, exports.getDashboardExternalCallsUploadsPresignPostMutationOptions)(options), queryClient);
|
|
575
|
+
};
|
|
576
|
+
exports.useDashboardExternalCallsUploadsPresignPost = useDashboardExternalCallsUploadsPresignPost;
|
|
577
|
+
const getDashboardExternalCallsUploadsCompletePostUrl = () => {
|
|
578
|
+
return `/v1/dashboard/external-calls/uploads/complete`;
|
|
579
|
+
};
|
|
580
|
+
exports.getDashboardExternalCallsUploadsCompletePostUrl = getDashboardExternalCallsUploadsCompletePostUrl;
|
|
581
|
+
const dashboardExternalCallsUploadsCompletePost = async (dashboardExternalCallsUploadsCompletePostBody, options) => {
|
|
582
|
+
return (0, fetcher_1.customFetcher)((0, exports.getDashboardExternalCallsUploadsCompletePostUrl)(), {
|
|
583
|
+
...options,
|
|
584
|
+
method: 'POST',
|
|
585
|
+
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
586
|
+
body: JSON.stringify(dashboardExternalCallsUploadsCompletePostBody)
|
|
587
|
+
});
|
|
588
|
+
};
|
|
589
|
+
exports.dashboardExternalCallsUploadsCompletePost = dashboardExternalCallsUploadsCompletePost;
|
|
590
|
+
const getDashboardExternalCallsUploadsCompletePostMutationOptions = (options) => {
|
|
591
|
+
const mutationKey = ['dashboardExternalCallsUploadsCompletePost'];
|
|
592
|
+
const { mutation: mutationOptions, request: requestOptions } = options ?
|
|
593
|
+
options.mutation && 'mutationKey' in options.mutation && options.mutation.mutationKey ?
|
|
594
|
+
options
|
|
595
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
596
|
+
: { mutation: { mutationKey, }, request: undefined };
|
|
597
|
+
const mutationFn = (props) => {
|
|
598
|
+
const { data } = props ?? {};
|
|
599
|
+
return (0, exports.dashboardExternalCallsUploadsCompletePost)(data, requestOptions);
|
|
600
|
+
};
|
|
601
|
+
return { mutationFn, ...mutationOptions };
|
|
602
|
+
};
|
|
603
|
+
exports.getDashboardExternalCallsUploadsCompletePostMutationOptions = getDashboardExternalCallsUploadsCompletePostMutationOptions;
|
|
604
|
+
/**
|
|
605
|
+
* @summary Complete external call recording uploads
|
|
606
|
+
*/
|
|
607
|
+
const useDashboardExternalCallsUploadsCompletePost = (options, queryClient) => {
|
|
608
|
+
return (0, react_query_1.useMutation)((0, exports.getDashboardExternalCallsUploadsCompletePostMutationOptions)(options), queryClient);
|
|
609
|
+
};
|
|
610
|
+
exports.useDashboardExternalCallsUploadsCompletePost = useDashboardExternalCallsUploadsCompletePost;
|
|
611
|
+
const getDashboardExternalCallsCallIdScoringGetUrl = (callId, params) => {
|
|
612
|
+
const normalizedParams = new URLSearchParams();
|
|
613
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
614
|
+
if (value !== undefined) {
|
|
615
|
+
normalizedParams.append(key, value === null ? 'null' : value.toString());
|
|
616
|
+
}
|
|
617
|
+
});
|
|
618
|
+
const stringifiedParams = normalizedParams.toString();
|
|
619
|
+
return stringifiedParams.length > 0 ? `/v1/dashboard/external-calls/${callId}/scoring?${stringifiedParams}` : `/v1/dashboard/external-calls/${callId}/scoring`;
|
|
620
|
+
};
|
|
621
|
+
exports.getDashboardExternalCallsCallIdScoringGetUrl = getDashboardExternalCallsCallIdScoringGetUrl;
|
|
622
|
+
const dashboardExternalCallsCallIdScoringGet = async (callId, params, options) => {
|
|
623
|
+
return (0, fetcher_1.customFetcher)((0, exports.getDashboardExternalCallsCallIdScoringGetUrl)(callId, params), {
|
|
624
|
+
...options,
|
|
625
|
+
method: 'GET'
|
|
626
|
+
});
|
|
627
|
+
};
|
|
628
|
+
exports.dashboardExternalCallsCallIdScoringGet = dashboardExternalCallsCallIdScoringGet;
|
|
629
|
+
const getDashboardExternalCallsCallIdScoringGetQueryKey = (callId, params) => {
|
|
630
|
+
return [
|
|
631
|
+
`/v1/dashboard/external-calls/${callId}/scoring`, ...(params ? [params] : [])
|
|
632
|
+
];
|
|
633
|
+
};
|
|
634
|
+
exports.getDashboardExternalCallsCallIdScoringGetQueryKey = getDashboardExternalCallsCallIdScoringGetQueryKey;
|
|
635
|
+
const getDashboardExternalCallsCallIdScoringGetQueryOptions = (callId, params, options) => {
|
|
636
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
637
|
+
const queryKey = queryOptions?.queryKey ?? (0, exports.getDashboardExternalCallsCallIdScoringGetQueryKey)(callId, params);
|
|
638
|
+
const queryFn = () => (0, exports.dashboardExternalCallsCallIdScoringGet)(callId, params, requestOptions);
|
|
639
|
+
return { queryKey, queryFn, enabled: !!(callId), ...queryOptions };
|
|
640
|
+
};
|
|
641
|
+
exports.getDashboardExternalCallsCallIdScoringGetQueryOptions = getDashboardExternalCallsCallIdScoringGetQueryOptions;
|
|
642
|
+
/**
|
|
643
|
+
* @summary Get scoring results for an external call
|
|
644
|
+
*/
|
|
645
|
+
function useDashboardExternalCallsCallIdScoringGet(callId, params, options, queryClient) {
|
|
646
|
+
const queryOptions = (0, exports.getDashboardExternalCallsCallIdScoringGetQueryOptions)(callId, params, options);
|
|
647
|
+
const query = (0, react_query_1.useQuery)(queryOptions, queryClient);
|
|
648
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
649
|
+
}
|
|
650
|
+
const getDashboardExternalCallsCallIdRecordingUrlGetUrl = (callId) => {
|
|
651
|
+
return `/v1/dashboard/external-calls/${callId}/recording-url`;
|
|
652
|
+
};
|
|
653
|
+
exports.getDashboardExternalCallsCallIdRecordingUrlGetUrl = getDashboardExternalCallsCallIdRecordingUrlGetUrl;
|
|
654
|
+
const dashboardExternalCallsCallIdRecordingUrlGet = async (callId, options) => {
|
|
655
|
+
return (0, fetcher_1.customFetcher)((0, exports.getDashboardExternalCallsCallIdRecordingUrlGetUrl)(callId), {
|
|
656
|
+
...options,
|
|
657
|
+
method: 'GET'
|
|
658
|
+
});
|
|
659
|
+
};
|
|
660
|
+
exports.dashboardExternalCallsCallIdRecordingUrlGet = dashboardExternalCallsCallIdRecordingUrlGet;
|
|
661
|
+
const getDashboardExternalCallsCallIdRecordingUrlGetQueryKey = (callId) => {
|
|
662
|
+
return [
|
|
663
|
+
`/v1/dashboard/external-calls/${callId}/recording-url`
|
|
664
|
+
];
|
|
665
|
+
};
|
|
666
|
+
exports.getDashboardExternalCallsCallIdRecordingUrlGetQueryKey = getDashboardExternalCallsCallIdRecordingUrlGetQueryKey;
|
|
667
|
+
const getDashboardExternalCallsCallIdRecordingUrlGetQueryOptions = (callId, options) => {
|
|
668
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
669
|
+
const queryKey = queryOptions?.queryKey ?? (0, exports.getDashboardExternalCallsCallIdRecordingUrlGetQueryKey)(callId);
|
|
670
|
+
const queryFn = () => (0, exports.dashboardExternalCallsCallIdRecordingUrlGet)(callId, requestOptions);
|
|
671
|
+
return { queryKey, queryFn, enabled: !!(callId), ...queryOptions };
|
|
672
|
+
};
|
|
673
|
+
exports.getDashboardExternalCallsCallIdRecordingUrlGetQueryOptions = getDashboardExternalCallsCallIdRecordingUrlGetQueryOptions;
|
|
674
|
+
/**
|
|
675
|
+
* @summary Get presigned URL for an external call recording
|
|
676
|
+
*/
|
|
677
|
+
function useDashboardExternalCallsCallIdRecordingUrlGet(callId, options, queryClient) {
|
|
678
|
+
const queryOptions = (0, exports.getDashboardExternalCallsCallIdRecordingUrlGetQueryOptions)(callId, options);
|
|
679
|
+
const query = (0, react_query_1.useQuery)(queryOptions, queryClient);
|
|
680
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
681
|
+
}
|
|
536
682
|
const getDashboardAgentSandboxStartPostUrl = () => {
|
|
537
683
|
return `/v1/dashboard/agent-sandbox/start`;
|
|
538
684
|
};
|