@domu-ai/kiban-sdk 1.147.0 → 1.152.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dashboard/client.d.ts +80 -0
- package/dashboard/client.js +35 -1
- package/dashboard/schemas.d.ts +21 -0
- package/dashboard/schemas.js +12 -1
- package/internal/client.d.ts +504 -17
- package/internal/client.js +73 -4
- package/internal/schemas.d.ts +2083 -44
- package/internal/schemas.js +266 -15
- package/package.json +1 -1
package/dashboard/client.d.ts
CHANGED
|
@@ -325,6 +325,30 @@ export type DashboardCallsCallIdReviewPatch500 = {
|
|
|
325
325
|
code?: string;
|
|
326
326
|
details?: unknown | null;
|
|
327
327
|
};
|
|
328
|
+
export type DashboardCallsCallIdRecordingUrlGet200 = {
|
|
329
|
+
/** Presigned S3 or CDN URL for the recording */
|
|
330
|
+
url: string;
|
|
331
|
+
/**
|
|
332
|
+
* URL expiration time in seconds
|
|
333
|
+
* @minimum 1
|
|
334
|
+
*/
|
|
335
|
+
expiresIn: number;
|
|
336
|
+
};
|
|
337
|
+
export type DashboardCallsCallIdRecordingUrlGet401 = {
|
|
338
|
+
message: string;
|
|
339
|
+
code?: string;
|
|
340
|
+
details?: unknown | null;
|
|
341
|
+
};
|
|
342
|
+
export type DashboardCallsCallIdRecordingUrlGet404 = {
|
|
343
|
+
message: string;
|
|
344
|
+
code?: string;
|
|
345
|
+
details?: unknown | null;
|
|
346
|
+
};
|
|
347
|
+
export type DashboardCallsCallIdRecordingUrlGet500 = {
|
|
348
|
+
message: string;
|
|
349
|
+
code?: string;
|
|
350
|
+
details?: unknown | null;
|
|
351
|
+
};
|
|
328
352
|
/**
|
|
329
353
|
* Mock customer data for template rendering
|
|
330
354
|
*/
|
|
@@ -1440,6 +1464,62 @@ export declare const useDashboardCallsCallIdReviewPatch: <TError = DashboardCall
|
|
|
1440
1464
|
callId: string;
|
|
1441
1465
|
data: DashboardCallsCallIdReviewPatchBody;
|
|
1442
1466
|
}, TContext>;
|
|
1467
|
+
/**
|
|
1468
|
+
* Generates a short-lived presigned URL for accessing a call's recording. Returns S3 presigned URLs (10-minute TTL) or raw CDN URLs (1-hour TTL).
|
|
1469
|
+
* @summary Get presigned URL for a call's recording
|
|
1470
|
+
*/
|
|
1471
|
+
export type dashboardCallsCallIdRecordingUrlGetResponse200 = {
|
|
1472
|
+
data: DashboardCallsCallIdRecordingUrlGet200;
|
|
1473
|
+
status: 200;
|
|
1474
|
+
};
|
|
1475
|
+
export type dashboardCallsCallIdRecordingUrlGetResponse401 = {
|
|
1476
|
+
data: DashboardCallsCallIdRecordingUrlGet401;
|
|
1477
|
+
status: 401;
|
|
1478
|
+
};
|
|
1479
|
+
export type dashboardCallsCallIdRecordingUrlGetResponse404 = {
|
|
1480
|
+
data: DashboardCallsCallIdRecordingUrlGet404;
|
|
1481
|
+
status: 404;
|
|
1482
|
+
};
|
|
1483
|
+
export type dashboardCallsCallIdRecordingUrlGetResponse500 = {
|
|
1484
|
+
data: DashboardCallsCallIdRecordingUrlGet500;
|
|
1485
|
+
status: 500;
|
|
1486
|
+
};
|
|
1487
|
+
export type dashboardCallsCallIdRecordingUrlGetResponseSuccess = (dashboardCallsCallIdRecordingUrlGetResponse200) & {
|
|
1488
|
+
headers: Headers;
|
|
1489
|
+
};
|
|
1490
|
+
export type dashboardCallsCallIdRecordingUrlGetResponseError = (dashboardCallsCallIdRecordingUrlGetResponse401 | dashboardCallsCallIdRecordingUrlGetResponse404 | dashboardCallsCallIdRecordingUrlGetResponse500) & {
|
|
1491
|
+
headers: Headers;
|
|
1492
|
+
};
|
|
1493
|
+
export type dashboardCallsCallIdRecordingUrlGetResponse = (dashboardCallsCallIdRecordingUrlGetResponseSuccess | dashboardCallsCallIdRecordingUrlGetResponseError);
|
|
1494
|
+
export declare const getDashboardCallsCallIdRecordingUrlGetUrl: (callId: string) => string;
|
|
1495
|
+
export declare const dashboardCallsCallIdRecordingUrlGet: (callId: string, options?: RequestInit) => Promise<dashboardCallsCallIdRecordingUrlGetResponse>;
|
|
1496
|
+
export declare const getDashboardCallsCallIdRecordingUrlGetQueryKey: (callId: string) => readonly [`/v1/dashboard/calls/${string}/recording-url`];
|
|
1497
|
+
export declare const getDashboardCallsCallIdRecordingUrlGetQueryOptions: <TData = Awaited<ReturnType<typeof dashboardCallsCallIdRecordingUrlGet>>, TError = DashboardCallsCallIdRecordingUrlGet401 | DashboardCallsCallIdRecordingUrlGet404 | DashboardCallsCallIdRecordingUrlGet500>(callId: string, options?: {
|
|
1498
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof dashboardCallsCallIdRecordingUrlGet>>, TError, TData>>;
|
|
1499
|
+
request?: SecondParameter<typeof customFetcher>;
|
|
1500
|
+
}) => UseQueryOptions<Awaited<ReturnType<typeof dashboardCallsCallIdRecordingUrlGet>>, TError, TData> & {
|
|
1501
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1502
|
+
};
|
|
1503
|
+
export type DashboardCallsCallIdRecordingUrlGetQueryResult = NonNullable<Awaited<ReturnType<typeof dashboardCallsCallIdRecordingUrlGet>>>;
|
|
1504
|
+
export type DashboardCallsCallIdRecordingUrlGetQueryError = DashboardCallsCallIdRecordingUrlGet401 | DashboardCallsCallIdRecordingUrlGet404 | DashboardCallsCallIdRecordingUrlGet500;
|
|
1505
|
+
export declare function useDashboardCallsCallIdRecordingUrlGet<TData = Awaited<ReturnType<typeof dashboardCallsCallIdRecordingUrlGet>>, TError = DashboardCallsCallIdRecordingUrlGet401 | DashboardCallsCallIdRecordingUrlGet404 | DashboardCallsCallIdRecordingUrlGet500>(callId: string, options: {
|
|
1506
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof dashboardCallsCallIdRecordingUrlGet>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof dashboardCallsCallIdRecordingUrlGet>>, TError, Awaited<ReturnType<typeof dashboardCallsCallIdRecordingUrlGet>>>, 'initialData'>;
|
|
1507
|
+
request?: SecondParameter<typeof customFetcher>;
|
|
1508
|
+
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
1509
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1510
|
+
};
|
|
1511
|
+
export declare function useDashboardCallsCallIdRecordingUrlGet<TData = Awaited<ReturnType<typeof dashboardCallsCallIdRecordingUrlGet>>, TError = DashboardCallsCallIdRecordingUrlGet401 | DashboardCallsCallIdRecordingUrlGet404 | DashboardCallsCallIdRecordingUrlGet500>(callId: string, options?: {
|
|
1512
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof dashboardCallsCallIdRecordingUrlGet>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof dashboardCallsCallIdRecordingUrlGet>>, TError, Awaited<ReturnType<typeof dashboardCallsCallIdRecordingUrlGet>>>, 'initialData'>;
|
|
1513
|
+
request?: SecondParameter<typeof customFetcher>;
|
|
1514
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1515
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1516
|
+
};
|
|
1517
|
+
export declare function useDashboardCallsCallIdRecordingUrlGet<TData = Awaited<ReturnType<typeof dashboardCallsCallIdRecordingUrlGet>>, TError = DashboardCallsCallIdRecordingUrlGet401 | DashboardCallsCallIdRecordingUrlGet404 | DashboardCallsCallIdRecordingUrlGet500>(callId: string, options?: {
|
|
1518
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof dashboardCallsCallIdRecordingUrlGet>>, TError, TData>>;
|
|
1519
|
+
request?: SecondParameter<typeof customFetcher>;
|
|
1520
|
+
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
1521
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1522
|
+
};
|
|
1443
1523
|
/**
|
|
1444
1524
|
* @summary Start a sandbox WebRTC call for browser-based agent testing
|
|
1445
1525
|
*/
|
package/dashboard/client.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.dashboardCallsCallIdReviewPatch = exports.getDashboardCallsCallIdReviewPatchUrl = exports.useDashboardCallsReviewStatusPost = exports.getDashboardCallsReviewStatusPostMutationOptions = exports.dashboardCallsReviewStatusPost = exports.getDashboardCallsReviewStatusPostUrl = exports.getDashboardCallsCallIdGetQueryOptions = exports.getDashboardCallsCallIdGetQueryKey = exports.dashboardCallsCallIdGet = exports.getDashboardCallsCallIdGetUrl = 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.getDashboardCampaignsCampaignIdInputFieldsGetQueryOptions = exports.getDashboardCampaignsCampaignIdInputFieldsGetQueryKey = exports.dashboardCampaignsCampaignIdInputFieldsGet = exports.getDashboardCampaignsCampaignIdInputFieldsGetUrl = exports.getDashboardCampaignsGetQueryOptions = exports.getDashboardCampaignsGetQueryKey = exports.dashboardCampaignsGet = exports.getDashboardCampaignsGetUrl = exports.useDashboardCampaignsNamesPost = exports.getDashboardCampaignsNamesPostMutationOptions = exports.dashboardCampaignsNamesPost = exports.getDashboardCampaignsNamesPostUrl = exports.DashboardSchedulerCreatePostBodyPhoneRotationStatusesItem = exports.DashboardSchedulerCreatePostBodyTimeSlotsItemDaysOfWeekItem = exports.DashboardSchedulerPreviewPost200DataWarningsItemSeverity = exports.DashboardSchedulerPreviewPost200DataWarningsItemType = exports.DashboardSchedulerPreviewPost200DataJourneyStepsItemType = exports.DashboardSchedulerPreviewPostBodyPhoneRotationStatusesItem = exports.DashboardSchedulerPreviewPostBodyTimeSlotsItemDaysOfWeekItem = exports.DashboardCampaignsCampaignIdInputFieldsGet200DataItemType = void 0;
|
|
4
|
-
exports.
|
|
4
|
+
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 = exports.dashboardTargetsLatestGet = exports.getDashboardTargetsLatestGetUrl = exports.getDashboardClientFeaturesGetQueryOptions = exports.getDashboardClientFeaturesGetQueryKey = exports.dashboardClientFeaturesGet = exports.getDashboardClientFeaturesGetUrl = 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.getDashboardCallsCallIdRecordingUrlGetQueryOptions = exports.getDashboardCallsCallIdRecordingUrlGetQueryKey = exports.dashboardCallsCallIdRecordingUrlGet = exports.getDashboardCallsCallIdRecordingUrlGetUrl = exports.useDashboardCallsCallIdReviewPatch = exports.getDashboardCallsCallIdReviewPatchMutationOptions = void 0;
|
|
5
|
+
exports.getDashboardInovoWindmillSchedulesNamePreviewGetQueryOptions = exports.getDashboardInovoWindmillSchedulesNamePreviewGetQueryKey = exports.dashboardInovoWindmillSchedulesNamePreviewGet = exports.getDashboardInovoWindmillSchedulesNamePreviewGetUrl = void 0;
|
|
5
6
|
exports.useDashboardCampaignsGet = useDashboardCampaignsGet;
|
|
6
7
|
exports.useDashboardCampaignsCampaignIdInputFieldsGet = useDashboardCampaignsCampaignIdInputFieldsGet;
|
|
7
8
|
exports.useDashboardCampaignsCampaignIdScheduleConfigGet = useDashboardCampaignsCampaignIdScheduleConfigGet;
|
|
@@ -10,6 +11,7 @@ exports.useDashboardAgentsGroupedGet = useDashboardAgentsGroupedGet;
|
|
|
10
11
|
exports.useDashboardInputFieldsGet = useDashboardInputFieldsGet;
|
|
11
12
|
exports.useDashboardOutputFieldsGet = useDashboardOutputFieldsGet;
|
|
12
13
|
exports.useDashboardCallsCallIdGet = useDashboardCallsCallIdGet;
|
|
14
|
+
exports.useDashboardCallsCallIdRecordingUrlGet = useDashboardCallsCallIdRecordingUrlGet;
|
|
13
15
|
exports.useDashboardClientFeaturesGet = useDashboardClientFeaturesGet;
|
|
14
16
|
exports.useDashboardTargetsLatestGet = useDashboardTargetsLatestGet;
|
|
15
17
|
exports.useDashboardInovoWindmillSchedulesGet = useDashboardInovoWindmillSchedulesGet;
|
|
@@ -442,6 +444,38 @@ const useDashboardCallsCallIdReviewPatch = (options, queryClient) => {
|
|
|
442
444
|
return (0, react_query_1.useMutation)((0, exports.getDashboardCallsCallIdReviewPatchMutationOptions)(options), queryClient);
|
|
443
445
|
};
|
|
444
446
|
exports.useDashboardCallsCallIdReviewPatch = useDashboardCallsCallIdReviewPatch;
|
|
447
|
+
const getDashboardCallsCallIdRecordingUrlGetUrl = (callId) => {
|
|
448
|
+
return `/v1/dashboard/calls/${callId}/recording-url`;
|
|
449
|
+
};
|
|
450
|
+
exports.getDashboardCallsCallIdRecordingUrlGetUrl = getDashboardCallsCallIdRecordingUrlGetUrl;
|
|
451
|
+
const dashboardCallsCallIdRecordingUrlGet = async (callId, options) => {
|
|
452
|
+
return (0, fetcher_1.customFetcher)((0, exports.getDashboardCallsCallIdRecordingUrlGetUrl)(callId), {
|
|
453
|
+
...options,
|
|
454
|
+
method: 'GET'
|
|
455
|
+
});
|
|
456
|
+
};
|
|
457
|
+
exports.dashboardCallsCallIdRecordingUrlGet = dashboardCallsCallIdRecordingUrlGet;
|
|
458
|
+
const getDashboardCallsCallIdRecordingUrlGetQueryKey = (callId) => {
|
|
459
|
+
return [
|
|
460
|
+
`/v1/dashboard/calls/${callId}/recording-url`
|
|
461
|
+
];
|
|
462
|
+
};
|
|
463
|
+
exports.getDashboardCallsCallIdRecordingUrlGetQueryKey = getDashboardCallsCallIdRecordingUrlGetQueryKey;
|
|
464
|
+
const getDashboardCallsCallIdRecordingUrlGetQueryOptions = (callId, options) => {
|
|
465
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
466
|
+
const queryKey = queryOptions?.queryKey ?? (0, exports.getDashboardCallsCallIdRecordingUrlGetQueryKey)(callId);
|
|
467
|
+
const queryFn = () => (0, exports.dashboardCallsCallIdRecordingUrlGet)(callId, requestOptions);
|
|
468
|
+
return { queryKey, queryFn, enabled: !!(callId), ...queryOptions };
|
|
469
|
+
};
|
|
470
|
+
exports.getDashboardCallsCallIdRecordingUrlGetQueryOptions = getDashboardCallsCallIdRecordingUrlGetQueryOptions;
|
|
471
|
+
/**
|
|
472
|
+
* @summary Get presigned URL for a call's recording
|
|
473
|
+
*/
|
|
474
|
+
function useDashboardCallsCallIdRecordingUrlGet(callId, options, queryClient) {
|
|
475
|
+
const queryOptions = (0, exports.getDashboardCallsCallIdRecordingUrlGetQueryOptions)(callId, options);
|
|
476
|
+
const query = (0, react_query_1.useQuery)(queryOptions, queryClient);
|
|
477
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
478
|
+
}
|
|
445
479
|
const getDashboardAgentSandboxStartPostUrl = () => {
|
|
446
480
|
return `/v1/dashboard/agent-sandbox/start`;
|
|
447
481
|
};
|
package/dashboard/schemas.d.ts
CHANGED
|
@@ -631,6 +631,27 @@ export declare const UpdateReviewResponse: zod.ZodObject<{
|
|
|
631
631
|
notes: string | null;
|
|
632
632
|
};
|
|
633
633
|
}>;
|
|
634
|
+
/**
|
|
635
|
+
* Generates a short-lived presigned URL for accessing a call's recording. Returns S3 presigned URLs (10-minute TTL) or raw CDN URLs (1-hour TTL).
|
|
636
|
+
* @summary Get presigned URL for a call's recording
|
|
637
|
+
*/
|
|
638
|
+
export declare const GetRecordingPresignedUrlParams: zod.ZodObject<{
|
|
639
|
+
callId: zod.ZodString;
|
|
640
|
+
}, "strip", zod.ZodTypeAny, {
|
|
641
|
+
callId: string;
|
|
642
|
+
}, {
|
|
643
|
+
callId: string;
|
|
644
|
+
}>;
|
|
645
|
+
export declare const GetRecordingPresignedUrlResponse: zod.ZodObject<{
|
|
646
|
+
url: zod.ZodString;
|
|
647
|
+
expiresIn: zod.ZodNumber;
|
|
648
|
+
}, "strip", zod.ZodTypeAny, {
|
|
649
|
+
url: string;
|
|
650
|
+
expiresIn: number;
|
|
651
|
+
}, {
|
|
652
|
+
url: string;
|
|
653
|
+
expiresIn: number;
|
|
654
|
+
}>;
|
|
634
655
|
/**
|
|
635
656
|
* @summary Start a sandbox WebRTC call for browser-based agent testing
|
|
636
657
|
*/
|
package/dashboard/schemas.js
CHANGED
|
@@ -33,7 +33,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.WindmillSchedulesPreviewResponse = exports.WindmillSchedulesPreviewParams = exports.WindmillSchedulesPresignUploadResponse = exports.WindmillSchedulesPresignUploadBody = exports.WindmillSchedulesPresignUploadParams = exports.WindmillSchedulesRunsResponse = exports.WindmillSchedulesRunsParams = exports.WindmillSchedulesToggleResponse = exports.WindmillSchedulesToggleBody = exports.WindmillSchedulesToggleParams = exports.WindmillSchedulesUpdateResponse = exports.WindmillSchedulesUpdateBody = exports.WindmillSchedulesUpdateParams = exports.WindmillSchedulesGetByNameResponse = exports.WindmillSchedulesGetByNameParams = exports.WindmillSchedulesListResponse = exports.GetLatestTargetResponse = exports.GetLatestTargetQueryParams = exports.GetClientFeaturesResponse = exports.CreateBody = exports.createBodyTimeSlotsItemTimeRegExp = exports.PreviewResponse = exports.PreviewBody = exports.previewBodyTimeSlotsItemTimeRegExp = exports.StartCallBody = exports.UpdateReviewResponse = exports.UpdateReviewBody = exports.updateReviewBodyNotesMax = exports.UpdateReviewParams = exports.GetReviewStatusResponse = exports.GetReviewStatusBody = exports.GetCallResponse = exports.GetCallParams = exports.GetOutputFieldsResponse = exports.GetInputFieldsResponse = exports.GetAgentsGroupedResponse = exports.GetAgentsResponse = exports.GetScheduleConfigResponse = exports.GetScheduleConfigParams = exports.GetCampaignInputFieldsResponse = exports.GetCampaignInputFieldsParams = exports.GetCampaignsResponse = exports.GetCampaignNamesResponse = exports.GetCampaignNamesBody = void 0;
|
|
36
|
+
exports.WindmillSchedulesPreviewResponse = exports.WindmillSchedulesPreviewParams = exports.WindmillSchedulesPresignUploadResponse = exports.WindmillSchedulesPresignUploadBody = exports.WindmillSchedulesPresignUploadParams = exports.WindmillSchedulesRunsResponse = exports.WindmillSchedulesRunsParams = exports.WindmillSchedulesToggleResponse = exports.WindmillSchedulesToggleBody = exports.WindmillSchedulesToggleParams = exports.WindmillSchedulesUpdateResponse = exports.WindmillSchedulesUpdateBody = exports.WindmillSchedulesUpdateParams = exports.WindmillSchedulesGetByNameResponse = exports.WindmillSchedulesGetByNameParams = exports.WindmillSchedulesListResponse = exports.GetLatestTargetResponse = exports.GetLatestTargetQueryParams = exports.GetClientFeaturesResponse = exports.CreateBody = exports.createBodyTimeSlotsItemTimeRegExp = exports.PreviewResponse = exports.PreviewBody = exports.previewBodyTimeSlotsItemTimeRegExp = exports.StartCallBody = exports.GetRecordingPresignedUrlResponse = exports.GetRecordingPresignedUrlParams = exports.UpdateReviewResponse = exports.UpdateReviewBody = exports.updateReviewBodyNotesMax = exports.UpdateReviewParams = exports.GetReviewStatusResponse = exports.GetReviewStatusBody = exports.GetCallResponse = exports.GetCallParams = exports.GetOutputFieldsResponse = exports.GetInputFieldsResponse = exports.GetAgentsGroupedResponse = exports.GetAgentsResponse = exports.GetScheduleConfigResponse = exports.GetScheduleConfigParams = exports.GetCampaignInputFieldsResponse = exports.GetCampaignInputFieldsParams = exports.GetCampaignsResponse = exports.GetCampaignNamesResponse = exports.GetCampaignNamesBody = void 0;
|
|
37
37
|
/**
|
|
38
38
|
* Generated by orval v8.2.0 🍺
|
|
39
39
|
* Do not edit manually.
|
|
@@ -209,6 +209,17 @@ exports.UpdateReviewResponse = zod.object({
|
|
|
209
209
|
"notes": zod.string().nullable()
|
|
210
210
|
})
|
|
211
211
|
});
|
|
212
|
+
/**
|
|
213
|
+
* Generates a short-lived presigned URL for accessing a call's recording. Returns S3 presigned URLs (10-minute TTL) or raw CDN URLs (1-hour TTL).
|
|
214
|
+
* @summary Get presigned URL for a call's recording
|
|
215
|
+
*/
|
|
216
|
+
exports.GetRecordingPresignedUrlParams = zod.object({
|
|
217
|
+
"callId": zod.string()
|
|
218
|
+
});
|
|
219
|
+
exports.GetRecordingPresignedUrlResponse = zod.object({
|
|
220
|
+
"url": zod.string().url().describe('Presigned S3 or CDN URL for the recording'),
|
|
221
|
+
"expiresIn": zod.number().min(1).describe('URL expiration time in seconds')
|
|
222
|
+
});
|
|
212
223
|
/**
|
|
213
224
|
* @summary Start a sandbox WebRTC call for browser-based agent testing
|
|
214
225
|
*/
|