@domu-ai/kiban-sdk 1.128.0 → 1.129.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/schemas.d.ts +6 -6
- package/internal/client.d.ts +47 -27
- package/internal/client.js +5 -3
- package/internal/schemas.d.ts +102 -83
- package/internal/schemas.js +15 -12
- package/package.json +1 -1
package/dashboard/schemas.d.ts
CHANGED
|
@@ -414,17 +414,17 @@ export declare const GetAgentsGroupedResponse: zod.ZodObject<{
|
|
|
414
414
|
id: string;
|
|
415
415
|
provider: string;
|
|
416
416
|
version: number;
|
|
417
|
+
campaign_id: string;
|
|
417
418
|
label: string | null;
|
|
418
419
|
language: string;
|
|
419
|
-
campaign_id: string;
|
|
420
420
|
commit: string | null;
|
|
421
421
|
}, {
|
|
422
422
|
id: string;
|
|
423
423
|
provider: string;
|
|
424
424
|
version: number;
|
|
425
|
+
campaign_id: string;
|
|
425
426
|
label: string | null;
|
|
426
427
|
language: string;
|
|
427
|
-
campaign_id: string;
|
|
428
428
|
commit: string | null;
|
|
429
429
|
}>, "many">;
|
|
430
430
|
}, "strip", zod.ZodTypeAny, {
|
|
@@ -434,9 +434,9 @@ export declare const GetAgentsGroupedResponse: zod.ZodObject<{
|
|
|
434
434
|
id: string;
|
|
435
435
|
provider: string;
|
|
436
436
|
version: number;
|
|
437
|
+
campaign_id: string;
|
|
437
438
|
label: string | null;
|
|
438
439
|
language: string;
|
|
439
|
-
campaign_id: string;
|
|
440
440
|
commit: string | null;
|
|
441
441
|
}[];
|
|
442
442
|
}, {
|
|
@@ -446,9 +446,9 @@ export declare const GetAgentsGroupedResponse: zod.ZodObject<{
|
|
|
446
446
|
id: string;
|
|
447
447
|
provider: string;
|
|
448
448
|
version: number;
|
|
449
|
+
campaign_id: string;
|
|
449
450
|
label: string | null;
|
|
450
451
|
language: string;
|
|
451
|
-
campaign_id: string;
|
|
452
452
|
commit: string | null;
|
|
453
453
|
}[];
|
|
454
454
|
}>, "many">;
|
|
@@ -460,9 +460,9 @@ export declare const GetAgentsGroupedResponse: zod.ZodObject<{
|
|
|
460
460
|
id: string;
|
|
461
461
|
provider: string;
|
|
462
462
|
version: number;
|
|
463
|
+
campaign_id: string;
|
|
463
464
|
label: string | null;
|
|
464
465
|
language: string;
|
|
465
|
-
campaign_id: string;
|
|
466
466
|
commit: string | null;
|
|
467
467
|
}[];
|
|
468
468
|
}[];
|
|
@@ -474,9 +474,9 @@ export declare const GetAgentsGroupedResponse: zod.ZodObject<{
|
|
|
474
474
|
id: string;
|
|
475
475
|
provider: string;
|
|
476
476
|
version: number;
|
|
477
|
+
campaign_id: string;
|
|
477
478
|
label: string | null;
|
|
478
479
|
language: string;
|
|
479
|
-
campaign_id: string;
|
|
480
480
|
commit: string | null;
|
|
481
481
|
}[];
|
|
482
482
|
}[];
|
package/internal/client.d.ts
CHANGED
|
@@ -828,16 +828,20 @@ export type InternalPaymentsCallbackPostBody = {
|
|
|
828
828
|
BankRoutingNumber?: string;
|
|
829
829
|
BankAccountType?: string;
|
|
830
830
|
};
|
|
831
|
-
|
|
832
|
-
|
|
831
|
+
/**
|
|
832
|
+
* Job priority - high runs first, standard is randomized
|
|
833
|
+
*/
|
|
834
|
+
export type InternalQueuesCallJobPostBodyTargetsItemPriority = typeof InternalQueuesCallJobPostBodyTargetsItemPriority[keyof typeof InternalQueuesCallJobPostBodyTargetsItemPriority];
|
|
835
|
+
export declare const InternalQueuesCallJobPostBodyTargetsItemPriority: {
|
|
836
|
+
readonly high: "high";
|
|
833
837
|
readonly standard: "standard";
|
|
834
838
|
};
|
|
835
|
-
export type
|
|
839
|
+
export type InternalQueuesCallJobPostBodyTargetsItem = {
|
|
836
840
|
/**
|
|
837
841
|
* ID of the target to call
|
|
838
842
|
* @minLength 1
|
|
839
843
|
*/
|
|
840
|
-
|
|
844
|
+
target_id: string;
|
|
841
845
|
/**
|
|
842
846
|
* Attempt number for calling the target
|
|
843
847
|
* @minimum 1
|
|
@@ -849,31 +853,47 @@ export type InternalQueuesCallJobPostBody = {
|
|
|
849
853
|
*/
|
|
850
854
|
slug: string;
|
|
851
855
|
/**
|
|
852
|
-
*
|
|
856
|
+
* Label for the call
|
|
853
857
|
* @minLength 1
|
|
854
858
|
*/
|
|
855
|
-
|
|
859
|
+
label: string;
|
|
860
|
+
/** Job priority - high runs first, standard is randomized */
|
|
861
|
+
priority?: InternalQueuesCallJobPostBodyTargetsItemPriority;
|
|
862
|
+
};
|
|
863
|
+
export type InternalQueuesCallJobPostBody = {
|
|
856
864
|
/**
|
|
857
|
-
*
|
|
865
|
+
* Campaign ID - all targets in this batch belong to this campaign. The scheduler sends one campaign per invocation.
|
|
858
866
|
* @minLength 1
|
|
859
867
|
*/
|
|
860
|
-
|
|
861
|
-
|
|
868
|
+
campaign_id: string;
|
|
869
|
+
/**
|
|
870
|
+
* Batch of targets to enqueue (max 10, matching monorepo BATCH_SIZE)
|
|
871
|
+
* @minItems 1
|
|
872
|
+
* @maxItems 10
|
|
873
|
+
*/
|
|
874
|
+
targets: InternalQueuesCallJobPostBodyTargetsItem[];
|
|
862
875
|
};
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
*/
|
|
866
|
-
export type InternalQueuesCallJobPost201Status = typeof InternalQueuesCallJobPost201Status[keyof typeof InternalQueuesCallJobPost201Status];
|
|
867
|
-
export declare const InternalQueuesCallJobPost201Status: {
|
|
876
|
+
export type InternalQueuesCallJobPost202ResultsItemStatus = typeof InternalQueuesCallJobPost202ResultsItemStatus[keyof typeof InternalQueuesCallJobPost202ResultsItemStatus];
|
|
877
|
+
export declare const InternalQueuesCallJobPost202ResultsItemStatus: {
|
|
868
878
|
readonly queued: "queued";
|
|
879
|
+
readonly failed: "failed";
|
|
869
880
|
};
|
|
870
|
-
export type
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
/**
|
|
874
|
-
|
|
875
|
-
/**
|
|
876
|
-
|
|
881
|
+
export type InternalQueuesCallJobPost202ResultsItem = {
|
|
882
|
+
target_id: string;
|
|
883
|
+
status: InternalQueuesCallJobPost202ResultsItemStatus;
|
|
884
|
+
/** QUSC job key - used in job_call_queue, Graphile jobKey, and Redis concurrency sets */
|
|
885
|
+
job_id?: string;
|
|
886
|
+
/** Error reason if status is failed */
|
|
887
|
+
error?: string;
|
|
888
|
+
};
|
|
889
|
+
export type InternalQueuesCallJobPost202Summary = {
|
|
890
|
+
total: number;
|
|
891
|
+
queued: number;
|
|
892
|
+
failed: number;
|
|
893
|
+
};
|
|
894
|
+
export type InternalQueuesCallJobPost202 = {
|
|
895
|
+
results: InternalQueuesCallJobPost202ResultsItem[];
|
|
896
|
+
summary: InternalQueuesCallJobPost202Summary;
|
|
877
897
|
};
|
|
878
898
|
export type InternalQueuesCallJobPost400 = {
|
|
879
899
|
message: string;
|
|
@@ -3580,12 +3600,12 @@ export type internalPaymentsCallbackPostResponse = (internalPaymentsCallbackPost
|
|
|
3580
3600
|
export declare const getInternalPaymentsCallbackPostUrl: (params: InternalPaymentsCallbackPostParams) => string;
|
|
3581
3601
|
export declare const internalPaymentsCallbackPost: (internalPaymentsCallbackPostBody: InternalPaymentsCallbackPostBody, params: InternalPaymentsCallbackPostParams, options?: RequestInit) => Promise<internalPaymentsCallbackPostResponse>;
|
|
3582
3602
|
/**
|
|
3583
|
-
*
|
|
3584
|
-
* @summary Queue a
|
|
3603
|
+
* Accepts a batch of targets (up to 10) for a single campaign and enqueues each as an execute_livekit_call Graphile Worker task. Each target is processed independently - partial success is possible. Returns 202 with per-target results.
|
|
3604
|
+
* @summary Queue a batch of outbound call jobs
|
|
3585
3605
|
*/
|
|
3586
|
-
export type
|
|
3587
|
-
data:
|
|
3588
|
-
status:
|
|
3606
|
+
export type internalQueuesCallJobPostResponse202 = {
|
|
3607
|
+
data: InternalQueuesCallJobPost202;
|
|
3608
|
+
status: 202;
|
|
3589
3609
|
};
|
|
3590
3610
|
export type internalQueuesCallJobPostResponse400 = {
|
|
3591
3611
|
data: InternalQueuesCallJobPost400;
|
|
@@ -3595,7 +3615,7 @@ export type internalQueuesCallJobPostResponse500 = {
|
|
|
3595
3615
|
data: InternalQueuesCallJobPost500;
|
|
3596
3616
|
status: 500;
|
|
3597
3617
|
};
|
|
3598
|
-
export type internalQueuesCallJobPostResponseSuccess = (
|
|
3618
|
+
export type internalQueuesCallJobPostResponseSuccess = (internalQueuesCallJobPostResponse202) & {
|
|
3599
3619
|
headers: Headers;
|
|
3600
3620
|
};
|
|
3601
3621
|
export type internalQueuesCallJobPostResponseError = (internalQueuesCallJobPostResponse400 | internalQueuesCallJobPostResponse500) & {
|
package/internal/client.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getInternalLimitsAgentProviderGetUrl = exports.internalInboundVapiPost = exports.getInternalInboundVapiPostUrl = exports.internalHealthSystemGet = exports.getInternalHealthSystemGetUrl = exports.internalIntegrationsConfigsCacheDelete = exports.getInternalIntegrationsConfigsCacheDeleteUrl = exports.internalIntegrationsConfigsTestPost = exports.getInternalIntegrationsConfigsTestPostUrl = exports.internalIntegrationsConfigsProviderGet = exports.getInternalIntegrationsConfigsProviderGetUrl = exports.internalIntegrationsConfigsPut = exports.getInternalIntegrationsConfigsPutUrl = exports.internalIntegrationsConfigsPost = exports.getInternalIntegrationsConfigsPostUrl = exports.internalIntegrationsConfigsGet = exports.getInternalIntegrationsConfigsGetUrl = exports.internalToolsPost = exports.getInternalToolsPostUrl = exports.internalCallsIdPut = exports.getInternalCallsIdPutUrl = exports.internalActionsDelete = exports.getInternalActionsDeleteUrl = exports.internalActionsPost = exports.getInternalActionsPostUrl = exports.internalActionsGet = exports.getInternalActionsGetUrl = exports.InternalTargetsIdentifierGetIdentifierType = exports.InternalTargetsUploadPostBodyTargetStatus = exports.InternalSipCallsJambonzHealthGet503Status = exports.InternalSipCallsJambonzHealthGet200Status = exports.InternalSipCallsJambonzPostBodyDirection = exports.InternalSipCallsJambonzPostBodyCallStatus = exports.
|
|
3
|
+
exports.getInternalLimitsAgentProviderGetUrl = exports.internalInboundVapiPost = exports.getInternalInboundVapiPostUrl = exports.internalHealthSystemGet = exports.getInternalHealthSystemGetUrl = exports.internalIntegrationsConfigsCacheDelete = exports.getInternalIntegrationsConfigsCacheDeleteUrl = exports.internalIntegrationsConfigsTestPost = exports.getInternalIntegrationsConfigsTestPostUrl = exports.internalIntegrationsConfigsProviderGet = exports.getInternalIntegrationsConfigsProviderGetUrl = exports.internalIntegrationsConfigsPut = exports.getInternalIntegrationsConfigsPutUrl = exports.internalIntegrationsConfigsPost = exports.getInternalIntegrationsConfigsPostUrl = exports.internalIntegrationsConfigsGet = exports.getInternalIntegrationsConfigsGetUrl = exports.internalToolsPost = exports.getInternalToolsPostUrl = exports.internalCallsIdPut = exports.getInternalCallsIdPutUrl = exports.internalActionsDelete = exports.getInternalActionsDeleteUrl = exports.internalActionsPost = exports.getInternalActionsPostUrl = exports.internalActionsGet = exports.getInternalActionsGetUrl = exports.InternalTargetsIdentifierGetIdentifierType = exports.InternalTargetsUploadPostBodyTargetStatus = exports.InternalSipCallsJambonzHealthGet503Status = exports.InternalSipCallsJambonzHealthGet200Status = exports.InternalSipCallsJambonzPostBodyDirection = exports.InternalSipCallsJambonzPostBodyCallStatus = exports.InternalQueuesCallJobPost202ResultsItemStatus = exports.InternalQueuesCallJobPostBodyTargetsItemPriority = exports.InternalPaymentsCallbackPostBodyResult = exports.InternalPaymentsTransferPostBodyPaymentPlanType = exports.InternalPaymentsTransferPostBodyPaymentPlanFrequency = exports.InternalPaymentsTransferPostBodyPaymentMethod = exports.InternalPaymentsTwimlGetIsToday = exports.InternalInboundVapiPost200AssistantModelMessagesItemRole = exports.InternalHealthSystemGet200Environment = exports.InternalHealthSystemGet200Status = exports.InternalIntegrationsConfigsPut200Environment = exports.InternalIntegrationsConfigsPost201Environment = exports.InternalIntegrationsConfigsPostBodyEnvironment = exports.InternalIntegrationsConfigsGet200ItemEnvironment = exports.InternalToolsPostBodyMessageToolCallsItemType = exports.InternalToolsPostBodyMessageToolCallListItemType = exports.InternalActionsPostBodyActionType = void 0;
|
|
4
4
|
exports.internalAnalysisResultsCallCallIdGet = exports.getInternalAnalysisResultsCallCallIdGetUrl = exports.internalAnalysisCampaignActionsIdPut = exports.getInternalAnalysisCampaignActionsIdPutUrl = exports.internalAnalysisCampaignActionsPost = exports.getInternalAnalysisCampaignActionsPostUrl = exports.internalAnalysisCampaignActionsCampaignIdVersionsGet = exports.getInternalAnalysisCampaignActionsCampaignIdVersionsGetUrl = exports.internalAnalysisCampaignActionsCampaignIdGet = exports.getInternalAnalysisCampaignActionsCampaignIdGetUrl = exports.internalAnalysisConfigsIdPut = exports.getInternalAnalysisConfigsIdPutUrl = exports.internalAnalysisConfigsPost = exports.getInternalAnalysisConfigsPostUrl = exports.internalAnalysisConfigsCampaignIdVersionsGet = exports.getInternalAnalysisConfigsCampaignIdVersionsGetUrl = exports.internalAnalysisConfigsCampaignIdGet = exports.getInternalAnalysisConfigsCampaignIdGetUrl = exports.internalAuthMeGet = exports.getInternalAuthMeGetUrl = exports.internalKanbanWebhookPost = exports.getInternalKanbanWebhookPostUrl = exports.internalVapiWebhookPost = exports.getInternalVapiWebhookPostUrl = exports.internalReportsPaymentsCampaignIdPost = exports.getInternalReportsPaymentsCampaignIdPostUrl = exports.internalTargetsIdentifierGet = exports.getInternalTargetsIdentifierGetUrl = exports.internalTargetsUploadPresignPost = exports.getInternalTargetsUploadPresignPostUrl = exports.internalTargetsUploadPost = exports.getInternalTargetsUploadPostUrl = exports.internalSipCallsJambonzHealthGet = exports.getInternalSipCallsJambonzHealthGetUrl = exports.internalSipCallsJambonzPost = exports.getInternalSipCallsJambonzPostUrl = exports.internalQueuesCallJobPost = exports.getInternalQueuesCallJobPostUrl = exports.internalPaymentsCallbackPost = exports.getInternalPaymentsCallbackPostUrl = exports.internalPaymentsTransferPost = exports.getInternalPaymentsTransferPostUrl = exports.internalPaymentsTwimlGet = exports.getInternalPaymentsTwimlGetUrl = exports.internalLimitsAgentProviderPost = exports.getInternalLimitsAgentProviderPostUrl = exports.internalLimitsAgentProviderGet = void 0;
|
|
5
5
|
/**
|
|
6
6
|
* Generated by orval v8.2.0 🍺
|
|
@@ -94,11 +94,13 @@ exports.InternalPaymentsCallbackPostBodyResult = {
|
|
|
94
94
|
'input-timeout': 'input-timeout',
|
|
95
95
|
'internal-error': 'internal-error',
|
|
96
96
|
};
|
|
97
|
-
exports.
|
|
97
|
+
exports.InternalQueuesCallJobPostBodyTargetsItemPriority = {
|
|
98
|
+
high: 'high',
|
|
98
99
|
standard: 'standard',
|
|
99
100
|
};
|
|
100
|
-
exports.
|
|
101
|
+
exports.InternalQueuesCallJobPost202ResultsItemStatus = {
|
|
101
102
|
queued: 'queued',
|
|
103
|
+
failed: 'failed',
|
|
102
104
|
};
|
|
103
105
|
exports.InternalSipCallsJambonzPostBodyCallStatus = {
|
|
104
106
|
trying: 'trying',
|
package/internal/schemas.d.ts
CHANGED
|
@@ -1134,31 +1134,50 @@ export declare const ProcessCallbackBody: zod.ZodObject<{
|
|
|
1134
1134
|
}>;
|
|
1135
1135
|
export declare const ProcessCallbackResponse: zod.ZodString;
|
|
1136
1136
|
/**
|
|
1137
|
-
*
|
|
1138
|
-
* @summary Queue a
|
|
1137
|
+
* Accepts a batch of targets (up to 10) for a single campaign and enqueues each as an execute_livekit_call Graphile Worker task. Each target is processed independently - partial success is possible. Returns 202 with per-target results.
|
|
1138
|
+
* @summary Queue a batch of outbound call jobs
|
|
1139
1139
|
*/
|
|
1140
|
-
export declare const
|
|
1140
|
+
export declare const startCallBodyTargetsItemPriorityDefault = "standard";
|
|
1141
|
+
export declare const startCallBodyTargetsMax = 10;
|
|
1141
1142
|
export declare const StartCallBody: zod.ZodObject<{
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1143
|
+
campaign_id: zod.ZodString;
|
|
1144
|
+
targets: zod.ZodArray<zod.ZodObject<{
|
|
1145
|
+
target_id: zod.ZodString;
|
|
1146
|
+
attempt: zod.ZodNumber;
|
|
1147
|
+
slug: zod.ZodString;
|
|
1148
|
+
label: zod.ZodString;
|
|
1149
|
+
priority: zod.ZodDefault<zod.ZodEnum<["high", "standard"]>>;
|
|
1150
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1151
|
+
target_id: string;
|
|
1152
|
+
attempt: number;
|
|
1153
|
+
slug: string;
|
|
1154
|
+
label: string;
|
|
1155
|
+
priority: "high" | "standard";
|
|
1156
|
+
}, {
|
|
1157
|
+
target_id: string;
|
|
1158
|
+
attempt: number;
|
|
1159
|
+
slug: string;
|
|
1160
|
+
label: string;
|
|
1161
|
+
priority?: "high" | "standard" | undefined;
|
|
1162
|
+
}>, "many">;
|
|
1148
1163
|
}, "strip", zod.ZodTypeAny, {
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1164
|
+
campaign_id: string;
|
|
1165
|
+
targets: {
|
|
1166
|
+
target_id: string;
|
|
1167
|
+
attempt: number;
|
|
1168
|
+
slug: string;
|
|
1169
|
+
label: string;
|
|
1170
|
+
priority: "high" | "standard";
|
|
1171
|
+
}[];
|
|
1155
1172
|
}, {
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1173
|
+
campaign_id: string;
|
|
1174
|
+
targets: {
|
|
1175
|
+
target_id: string;
|
|
1176
|
+
attempt: number;
|
|
1177
|
+
slug: string;
|
|
1178
|
+
label: string;
|
|
1179
|
+
priority?: "high" | "standard" | undefined;
|
|
1180
|
+
}[];
|
|
1162
1181
|
}>;
|
|
1163
1182
|
/**
|
|
1164
1183
|
* Unified webhook for Jambonz calling and call status events. Handles both inbound and outbound calls (differentiated by direction field). When callStatus is 'trying', performs header normalization and returns dial verbs. For other statuses (in-progress, completed, failed), logs the event and returns 200 OK.
|
|
@@ -1206,7 +1225,7 @@ export declare const JambonzWebhookBody: zod.ZodObject<{
|
|
|
1206
1225
|
}>>;
|
|
1207
1226
|
}, "strip", zod.ZodTypeAny, {
|
|
1208
1227
|
call_sid: string;
|
|
1209
|
-
call_status: "trying" | "ringing" | "early-media" | "in-progress" | "completed" | "
|
|
1228
|
+
call_status: "failed" | "trying" | "ringing" | "early-media" | "in-progress" | "completed" | "no-answer" | "busy";
|
|
1210
1229
|
sip?: {
|
|
1211
1230
|
headers: Record<string, string>;
|
|
1212
1231
|
method?: string | undefined;
|
|
@@ -1232,7 +1251,7 @@ export declare const JambonzWebhookBody: zod.ZodObject<{
|
|
|
1232
1251
|
trace_id?: string | undefined;
|
|
1233
1252
|
}, {
|
|
1234
1253
|
call_sid: string;
|
|
1235
|
-
call_status: "trying" | "ringing" | "early-media" | "in-progress" | "completed" | "
|
|
1254
|
+
call_status: "failed" | "trying" | "ringing" | "early-media" | "in-progress" | "completed" | "no-answer" | "busy";
|
|
1236
1255
|
sip?: {
|
|
1237
1256
|
headers: Record<string, string>;
|
|
1238
1257
|
method?: string | undefined;
|
|
@@ -8717,9 +8736,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
8717
8736
|
sip_connected_at: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
|
|
8718
8737
|
sip_disconnected_at: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
|
|
8719
8738
|
}, "strip", zod.ZodTypeAny, {
|
|
8720
|
-
call_id: string;
|
|
8721
8739
|
campaign_id: string;
|
|
8722
8740
|
target_id: string;
|
|
8741
|
+
call_id: string;
|
|
8723
8742
|
closing_reason?: string | null | undefined;
|
|
8724
8743
|
closed_at?: number | null | undefined;
|
|
8725
8744
|
usage_metrics?: {
|
|
@@ -8760,9 +8779,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
8760
8779
|
sip_connected_at?: number | null | undefined;
|
|
8761
8780
|
sip_disconnected_at?: number | null | undefined;
|
|
8762
8781
|
}, {
|
|
8763
|
-
call_id: string;
|
|
8764
8782
|
campaign_id: string;
|
|
8765
8783
|
target_id: string;
|
|
8784
|
+
call_id: string;
|
|
8766
8785
|
closing_reason?: string | null | undefined;
|
|
8767
8786
|
closed_at?: number | null | undefined;
|
|
8768
8787
|
usage_metrics?: {
|
|
@@ -8813,9 +8832,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
8813
8832
|
}, "strip", zod.ZodTypeAny, {
|
|
8814
8833
|
name: string;
|
|
8815
8834
|
metadata: {
|
|
8816
|
-
call_id: string;
|
|
8817
8835
|
campaign_id: string;
|
|
8818
8836
|
target_id: string;
|
|
8837
|
+
call_id: string;
|
|
8819
8838
|
closing_reason?: string | null | undefined;
|
|
8820
8839
|
closed_at?: number | null | undefined;
|
|
8821
8840
|
usage_metrics?: {
|
|
@@ -8867,9 +8886,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
8867
8886
|
}, {
|
|
8868
8887
|
name: string;
|
|
8869
8888
|
metadata: {
|
|
8870
|
-
call_id: string;
|
|
8871
8889
|
campaign_id: string;
|
|
8872
8890
|
target_id: string;
|
|
8891
|
+
call_id: string;
|
|
8873
8892
|
closing_reason?: string | null | undefined;
|
|
8874
8893
|
closed_at?: number | null | undefined;
|
|
8875
8894
|
usage_metrics?: {
|
|
@@ -8927,9 +8946,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
8927
8946
|
room: {
|
|
8928
8947
|
name: string;
|
|
8929
8948
|
metadata: {
|
|
8930
|
-
call_id: string;
|
|
8931
8949
|
campaign_id: string;
|
|
8932
8950
|
target_id: string;
|
|
8951
|
+
call_id: string;
|
|
8933
8952
|
closing_reason?: string | null | undefined;
|
|
8934
8953
|
closed_at?: number | null | undefined;
|
|
8935
8954
|
usage_metrics?: {
|
|
@@ -8986,9 +9005,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
8986
9005
|
room: {
|
|
8987
9006
|
name: string;
|
|
8988
9007
|
metadata: {
|
|
8989
|
-
call_id: string;
|
|
8990
9008
|
campaign_id: string;
|
|
8991
9009
|
target_id: string;
|
|
9010
|
+
call_id: string;
|
|
8992
9011
|
closing_reason?: string | null | undefined;
|
|
8993
9012
|
closed_at?: number | null | undefined;
|
|
8994
9013
|
usage_metrics?: {
|
|
@@ -9233,9 +9252,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
9233
9252
|
sip_connected_at: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
|
|
9234
9253
|
sip_disconnected_at: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
|
|
9235
9254
|
}, "strip", zod.ZodTypeAny, {
|
|
9236
|
-
call_id: string;
|
|
9237
9255
|
campaign_id: string;
|
|
9238
9256
|
target_id: string;
|
|
9257
|
+
call_id: string;
|
|
9239
9258
|
closing_reason?: string | null | undefined;
|
|
9240
9259
|
closed_at?: number | null | undefined;
|
|
9241
9260
|
usage_metrics?: {
|
|
@@ -9276,9 +9295,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
9276
9295
|
sip_connected_at?: number | null | undefined;
|
|
9277
9296
|
sip_disconnected_at?: number | null | undefined;
|
|
9278
9297
|
}, {
|
|
9279
|
-
call_id: string;
|
|
9280
9298
|
campaign_id: string;
|
|
9281
9299
|
target_id: string;
|
|
9300
|
+
call_id: string;
|
|
9282
9301
|
closing_reason?: string | null | undefined;
|
|
9283
9302
|
closed_at?: number | null | undefined;
|
|
9284
9303
|
usage_metrics?: {
|
|
@@ -9329,9 +9348,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
9329
9348
|
}, "strip", zod.ZodTypeAny, {
|
|
9330
9349
|
name: string;
|
|
9331
9350
|
metadata: {
|
|
9332
|
-
call_id: string;
|
|
9333
9351
|
campaign_id: string;
|
|
9334
9352
|
target_id: string;
|
|
9353
|
+
call_id: string;
|
|
9335
9354
|
closing_reason?: string | null | undefined;
|
|
9336
9355
|
closed_at?: number | null | undefined;
|
|
9337
9356
|
usage_metrics?: {
|
|
@@ -9383,9 +9402,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
9383
9402
|
}, {
|
|
9384
9403
|
name: string;
|
|
9385
9404
|
metadata: {
|
|
9386
|
-
call_id: string;
|
|
9387
9405
|
campaign_id: string;
|
|
9388
9406
|
target_id: string;
|
|
9407
|
+
call_id: string;
|
|
9389
9408
|
closing_reason?: string | null | undefined;
|
|
9390
9409
|
closed_at?: number | null | undefined;
|
|
9391
9410
|
usage_metrics?: {
|
|
@@ -9443,9 +9462,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
9443
9462
|
room: {
|
|
9444
9463
|
name: string;
|
|
9445
9464
|
metadata: {
|
|
9446
|
-
call_id: string;
|
|
9447
9465
|
campaign_id: string;
|
|
9448
9466
|
target_id: string;
|
|
9467
|
+
call_id: string;
|
|
9449
9468
|
closing_reason?: string | null | undefined;
|
|
9450
9469
|
closed_at?: number | null | undefined;
|
|
9451
9470
|
usage_metrics?: {
|
|
@@ -9502,9 +9521,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
9502
9521
|
room: {
|
|
9503
9522
|
name: string;
|
|
9504
9523
|
metadata: {
|
|
9505
|
-
call_id: string;
|
|
9506
9524
|
campaign_id: string;
|
|
9507
9525
|
target_id: string;
|
|
9526
|
+
call_id: string;
|
|
9508
9527
|
closing_reason?: string | null | undefined;
|
|
9509
9528
|
closed_at?: number | null | undefined;
|
|
9510
9529
|
usage_metrics?: {
|
|
@@ -9749,9 +9768,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
9749
9768
|
sip_connected_at: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
|
|
9750
9769
|
sip_disconnected_at: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
|
|
9751
9770
|
}, "strip", zod.ZodTypeAny, {
|
|
9752
|
-
call_id: string;
|
|
9753
9771
|
campaign_id: string;
|
|
9754
9772
|
target_id: string;
|
|
9773
|
+
call_id: string;
|
|
9755
9774
|
closing_reason?: string | null | undefined;
|
|
9756
9775
|
closed_at?: number | null | undefined;
|
|
9757
9776
|
usage_metrics?: {
|
|
@@ -9792,9 +9811,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
9792
9811
|
sip_connected_at?: number | null | undefined;
|
|
9793
9812
|
sip_disconnected_at?: number | null | undefined;
|
|
9794
9813
|
}, {
|
|
9795
|
-
call_id: string;
|
|
9796
9814
|
campaign_id: string;
|
|
9797
9815
|
target_id: string;
|
|
9816
|
+
call_id: string;
|
|
9798
9817
|
closing_reason?: string | null | undefined;
|
|
9799
9818
|
closed_at?: number | null | undefined;
|
|
9800
9819
|
usage_metrics?: {
|
|
@@ -9845,9 +9864,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
9845
9864
|
}, "strip", zod.ZodTypeAny, {
|
|
9846
9865
|
name: string;
|
|
9847
9866
|
metadata: {
|
|
9848
|
-
call_id: string;
|
|
9849
9867
|
campaign_id: string;
|
|
9850
9868
|
target_id: string;
|
|
9869
|
+
call_id: string;
|
|
9851
9870
|
closing_reason?: string | null | undefined;
|
|
9852
9871
|
closed_at?: number | null | undefined;
|
|
9853
9872
|
usage_metrics?: {
|
|
@@ -9899,9 +9918,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
9899
9918
|
}, {
|
|
9900
9919
|
name: string;
|
|
9901
9920
|
metadata: {
|
|
9902
|
-
call_id: string;
|
|
9903
9921
|
campaign_id: string;
|
|
9904
9922
|
target_id: string;
|
|
9923
|
+
call_id: string;
|
|
9905
9924
|
closing_reason?: string | null | undefined;
|
|
9906
9925
|
closed_at?: number | null | undefined;
|
|
9907
9926
|
usage_metrics?: {
|
|
@@ -9959,9 +9978,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
9959
9978
|
room: {
|
|
9960
9979
|
name: string;
|
|
9961
9980
|
metadata: {
|
|
9962
|
-
call_id: string;
|
|
9963
9981
|
campaign_id: string;
|
|
9964
9982
|
target_id: string;
|
|
9983
|
+
call_id: string;
|
|
9965
9984
|
closing_reason?: string | null | undefined;
|
|
9966
9985
|
closed_at?: number | null | undefined;
|
|
9967
9986
|
usage_metrics?: {
|
|
@@ -10018,9 +10037,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
10018
10037
|
room: {
|
|
10019
10038
|
name: string;
|
|
10020
10039
|
metadata: {
|
|
10021
|
-
call_id: string;
|
|
10022
10040
|
campaign_id: string;
|
|
10023
10041
|
target_id: string;
|
|
10042
|
+
call_id: string;
|
|
10024
10043
|
closing_reason?: string | null | undefined;
|
|
10025
10044
|
closed_at?: number | null | undefined;
|
|
10026
10045
|
usage_metrics?: {
|
|
@@ -10265,9 +10284,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
10265
10284
|
sip_connected_at: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
|
|
10266
10285
|
sip_disconnected_at: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
|
|
10267
10286
|
}, "strip", zod.ZodTypeAny, {
|
|
10268
|
-
call_id: string;
|
|
10269
10287
|
campaign_id: string;
|
|
10270
10288
|
target_id: string;
|
|
10289
|
+
call_id: string;
|
|
10271
10290
|
closing_reason?: string | null | undefined;
|
|
10272
10291
|
closed_at?: number | null | undefined;
|
|
10273
10292
|
usage_metrics?: {
|
|
@@ -10308,9 +10327,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
10308
10327
|
sip_connected_at?: number | null | undefined;
|
|
10309
10328
|
sip_disconnected_at?: number | null | undefined;
|
|
10310
10329
|
}, {
|
|
10311
|
-
call_id: string;
|
|
10312
10330
|
campaign_id: string;
|
|
10313
10331
|
target_id: string;
|
|
10332
|
+
call_id: string;
|
|
10314
10333
|
closing_reason?: string | null | undefined;
|
|
10315
10334
|
closed_at?: number | null | undefined;
|
|
10316
10335
|
usage_metrics?: {
|
|
@@ -10361,9 +10380,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
10361
10380
|
}, "strip", zod.ZodTypeAny, {
|
|
10362
10381
|
name: string;
|
|
10363
10382
|
metadata: {
|
|
10364
|
-
call_id: string;
|
|
10365
10383
|
campaign_id: string;
|
|
10366
10384
|
target_id: string;
|
|
10385
|
+
call_id: string;
|
|
10367
10386
|
closing_reason?: string | null | undefined;
|
|
10368
10387
|
closed_at?: number | null | undefined;
|
|
10369
10388
|
usage_metrics?: {
|
|
@@ -10415,9 +10434,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
10415
10434
|
}, {
|
|
10416
10435
|
name: string;
|
|
10417
10436
|
metadata: {
|
|
10418
|
-
call_id: string;
|
|
10419
10437
|
campaign_id: string;
|
|
10420
10438
|
target_id: string;
|
|
10439
|
+
call_id: string;
|
|
10421
10440
|
closing_reason?: string | null | undefined;
|
|
10422
10441
|
closed_at?: number | null | undefined;
|
|
10423
10442
|
usage_metrics?: {
|
|
@@ -10493,9 +10512,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
10493
10512
|
room: {
|
|
10494
10513
|
name: string;
|
|
10495
10514
|
metadata: {
|
|
10496
|
-
call_id: string;
|
|
10497
10515
|
campaign_id: string;
|
|
10498
10516
|
target_id: string;
|
|
10517
|
+
call_id: string;
|
|
10499
10518
|
closing_reason?: string | null | undefined;
|
|
10500
10519
|
closed_at?: number | null | undefined;
|
|
10501
10520
|
usage_metrics?: {
|
|
@@ -10557,9 +10576,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
10557
10576
|
room: {
|
|
10558
10577
|
name: string;
|
|
10559
10578
|
metadata: {
|
|
10560
|
-
call_id: string;
|
|
10561
10579
|
campaign_id: string;
|
|
10562
10580
|
target_id: string;
|
|
10581
|
+
call_id: string;
|
|
10563
10582
|
closing_reason?: string | null | undefined;
|
|
10564
10583
|
closed_at?: number | null | undefined;
|
|
10565
10584
|
usage_metrics?: {
|
|
@@ -10804,9 +10823,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
10804
10823
|
sip_connected_at: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
|
|
10805
10824
|
sip_disconnected_at: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
|
|
10806
10825
|
}, "strip", zod.ZodTypeAny, {
|
|
10807
|
-
call_id: string;
|
|
10808
10826
|
campaign_id: string;
|
|
10809
10827
|
target_id: string;
|
|
10828
|
+
call_id: string;
|
|
10810
10829
|
closing_reason?: string | null | undefined;
|
|
10811
10830
|
closed_at?: number | null | undefined;
|
|
10812
10831
|
usage_metrics?: {
|
|
@@ -10847,9 +10866,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
10847
10866
|
sip_connected_at?: number | null | undefined;
|
|
10848
10867
|
sip_disconnected_at?: number | null | undefined;
|
|
10849
10868
|
}, {
|
|
10850
|
-
call_id: string;
|
|
10851
10869
|
campaign_id: string;
|
|
10852
10870
|
target_id: string;
|
|
10871
|
+
call_id: string;
|
|
10853
10872
|
closing_reason?: string | null | undefined;
|
|
10854
10873
|
closed_at?: number | null | undefined;
|
|
10855
10874
|
usage_metrics?: {
|
|
@@ -10900,9 +10919,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
10900
10919
|
}, "strip", zod.ZodTypeAny, {
|
|
10901
10920
|
name: string;
|
|
10902
10921
|
metadata: {
|
|
10903
|
-
call_id: string;
|
|
10904
10922
|
campaign_id: string;
|
|
10905
10923
|
target_id: string;
|
|
10924
|
+
call_id: string;
|
|
10906
10925
|
closing_reason?: string | null | undefined;
|
|
10907
10926
|
closed_at?: number | null | undefined;
|
|
10908
10927
|
usage_metrics?: {
|
|
@@ -10954,9 +10973,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
10954
10973
|
}, {
|
|
10955
10974
|
name: string;
|
|
10956
10975
|
metadata: {
|
|
10957
|
-
call_id: string;
|
|
10958
10976
|
campaign_id: string;
|
|
10959
10977
|
target_id: string;
|
|
10978
|
+
call_id: string;
|
|
10960
10979
|
closing_reason?: string | null | undefined;
|
|
10961
10980
|
closed_at?: number | null | undefined;
|
|
10962
10981
|
usage_metrics?: {
|
|
@@ -11028,9 +11047,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
11028
11047
|
room: {
|
|
11029
11048
|
name: string;
|
|
11030
11049
|
metadata: {
|
|
11031
|
-
call_id: string;
|
|
11032
11050
|
campaign_id: string;
|
|
11033
11051
|
target_id: string;
|
|
11052
|
+
call_id: string;
|
|
11034
11053
|
closing_reason?: string | null | undefined;
|
|
11035
11054
|
closed_at?: number | null | undefined;
|
|
11036
11055
|
usage_metrics?: {
|
|
@@ -11091,9 +11110,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
11091
11110
|
room: {
|
|
11092
11111
|
name: string;
|
|
11093
11112
|
metadata: {
|
|
11094
|
-
call_id: string;
|
|
11095
11113
|
campaign_id: string;
|
|
11096
11114
|
target_id: string;
|
|
11115
|
+
call_id: string;
|
|
11097
11116
|
closing_reason?: string | null | undefined;
|
|
11098
11117
|
closed_at?: number | null | undefined;
|
|
11099
11118
|
usage_metrics?: {
|
|
@@ -11338,9 +11357,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
11338
11357
|
sip_connected_at: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
|
|
11339
11358
|
sip_disconnected_at: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
|
|
11340
11359
|
}, "strip", zod.ZodTypeAny, {
|
|
11341
|
-
call_id: string;
|
|
11342
11360
|
campaign_id: string;
|
|
11343
11361
|
target_id: string;
|
|
11362
|
+
call_id: string;
|
|
11344
11363
|
closing_reason?: string | null | undefined;
|
|
11345
11364
|
closed_at?: number | null | undefined;
|
|
11346
11365
|
usage_metrics?: {
|
|
@@ -11381,9 +11400,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
11381
11400
|
sip_connected_at?: number | null | undefined;
|
|
11382
11401
|
sip_disconnected_at?: number | null | undefined;
|
|
11383
11402
|
}, {
|
|
11384
|
-
call_id: string;
|
|
11385
11403
|
campaign_id: string;
|
|
11386
11404
|
target_id: string;
|
|
11405
|
+
call_id: string;
|
|
11387
11406
|
closing_reason?: string | null | undefined;
|
|
11388
11407
|
closed_at?: number | null | undefined;
|
|
11389
11408
|
usage_metrics?: {
|
|
@@ -11434,9 +11453,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
11434
11453
|
}, "strip", zod.ZodTypeAny, {
|
|
11435
11454
|
name: string;
|
|
11436
11455
|
metadata: {
|
|
11437
|
-
call_id: string;
|
|
11438
11456
|
campaign_id: string;
|
|
11439
11457
|
target_id: string;
|
|
11458
|
+
call_id: string;
|
|
11440
11459
|
closing_reason?: string | null | undefined;
|
|
11441
11460
|
closed_at?: number | null | undefined;
|
|
11442
11461
|
usage_metrics?: {
|
|
@@ -11488,9 +11507,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
11488
11507
|
}, {
|
|
11489
11508
|
name: string;
|
|
11490
11509
|
metadata: {
|
|
11491
|
-
call_id: string;
|
|
11492
11510
|
campaign_id: string;
|
|
11493
11511
|
target_id: string;
|
|
11512
|
+
call_id: string;
|
|
11494
11513
|
closing_reason?: string | null | undefined;
|
|
11495
11514
|
closed_at?: number | null | undefined;
|
|
11496
11515
|
usage_metrics?: {
|
|
@@ -11548,9 +11567,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
11548
11567
|
room: {
|
|
11549
11568
|
name: string;
|
|
11550
11569
|
metadata: {
|
|
11551
|
-
call_id: string;
|
|
11552
11570
|
campaign_id: string;
|
|
11553
11571
|
target_id: string;
|
|
11572
|
+
call_id: string;
|
|
11554
11573
|
closing_reason?: string | null | undefined;
|
|
11555
11574
|
closed_at?: number | null | undefined;
|
|
11556
11575
|
usage_metrics?: {
|
|
@@ -11607,9 +11626,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
11607
11626
|
room: {
|
|
11608
11627
|
name: string;
|
|
11609
11628
|
metadata: {
|
|
11610
|
-
call_id: string;
|
|
11611
11629
|
campaign_id: string;
|
|
11612
11630
|
target_id: string;
|
|
11631
|
+
call_id: string;
|
|
11613
11632
|
closing_reason?: string | null | undefined;
|
|
11614
11633
|
closed_at?: number | null | undefined;
|
|
11615
11634
|
usage_metrics?: {
|
|
@@ -11854,9 +11873,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
11854
11873
|
sip_connected_at: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
|
|
11855
11874
|
sip_disconnected_at: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
|
|
11856
11875
|
}, "strip", zod.ZodTypeAny, {
|
|
11857
|
-
call_id: string;
|
|
11858
11876
|
campaign_id: string;
|
|
11859
11877
|
target_id: string;
|
|
11878
|
+
call_id: string;
|
|
11860
11879
|
closing_reason?: string | null | undefined;
|
|
11861
11880
|
closed_at?: number | null | undefined;
|
|
11862
11881
|
usage_metrics?: {
|
|
@@ -11897,9 +11916,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
11897
11916
|
sip_connected_at?: number | null | undefined;
|
|
11898
11917
|
sip_disconnected_at?: number | null | undefined;
|
|
11899
11918
|
}, {
|
|
11900
|
-
call_id: string;
|
|
11901
11919
|
campaign_id: string;
|
|
11902
11920
|
target_id: string;
|
|
11921
|
+
call_id: string;
|
|
11903
11922
|
closing_reason?: string | null | undefined;
|
|
11904
11923
|
closed_at?: number | null | undefined;
|
|
11905
11924
|
usage_metrics?: {
|
|
@@ -11950,9 +11969,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
11950
11969
|
}, "strip", zod.ZodTypeAny, {
|
|
11951
11970
|
name: string;
|
|
11952
11971
|
metadata: {
|
|
11953
|
-
call_id: string;
|
|
11954
11972
|
campaign_id: string;
|
|
11955
11973
|
target_id: string;
|
|
11974
|
+
call_id: string;
|
|
11956
11975
|
closing_reason?: string | null | undefined;
|
|
11957
11976
|
closed_at?: number | null | undefined;
|
|
11958
11977
|
usage_metrics?: {
|
|
@@ -12004,9 +12023,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
12004
12023
|
}, {
|
|
12005
12024
|
name: string;
|
|
12006
12025
|
metadata: {
|
|
12007
|
-
call_id: string;
|
|
12008
12026
|
campaign_id: string;
|
|
12009
12027
|
target_id: string;
|
|
12028
|
+
call_id: string;
|
|
12010
12029
|
closing_reason?: string | null | undefined;
|
|
12011
12030
|
closed_at?: number | null | undefined;
|
|
12012
12031
|
usage_metrics?: {
|
|
@@ -12064,9 +12083,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
12064
12083
|
room: {
|
|
12065
12084
|
name: string;
|
|
12066
12085
|
metadata: {
|
|
12067
|
-
call_id: string;
|
|
12068
12086
|
campaign_id: string;
|
|
12069
12087
|
target_id: string;
|
|
12088
|
+
call_id: string;
|
|
12070
12089
|
closing_reason?: string | null | undefined;
|
|
12071
12090
|
closed_at?: number | null | undefined;
|
|
12072
12091
|
usage_metrics?: {
|
|
@@ -12123,9 +12142,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
12123
12142
|
room: {
|
|
12124
12143
|
name: string;
|
|
12125
12144
|
metadata: {
|
|
12126
|
-
call_id: string;
|
|
12127
12145
|
campaign_id: string;
|
|
12128
12146
|
target_id: string;
|
|
12147
|
+
call_id: string;
|
|
12129
12148
|
closing_reason?: string | null | undefined;
|
|
12130
12149
|
closed_at?: number | null | undefined;
|
|
12131
12150
|
usage_metrics?: {
|
|
@@ -12370,9 +12389,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
12370
12389
|
sip_connected_at: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
|
|
12371
12390
|
sip_disconnected_at: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
|
|
12372
12391
|
}, "strip", zod.ZodTypeAny, {
|
|
12373
|
-
call_id: string;
|
|
12374
12392
|
campaign_id: string;
|
|
12375
12393
|
target_id: string;
|
|
12394
|
+
call_id: string;
|
|
12376
12395
|
closing_reason?: string | null | undefined;
|
|
12377
12396
|
closed_at?: number | null | undefined;
|
|
12378
12397
|
usage_metrics?: {
|
|
@@ -12413,9 +12432,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
12413
12432
|
sip_connected_at?: number | null | undefined;
|
|
12414
12433
|
sip_disconnected_at?: number | null | undefined;
|
|
12415
12434
|
}, {
|
|
12416
|
-
call_id: string;
|
|
12417
12435
|
campaign_id: string;
|
|
12418
12436
|
target_id: string;
|
|
12437
|
+
call_id: string;
|
|
12419
12438
|
closing_reason?: string | null | undefined;
|
|
12420
12439
|
closed_at?: number | null | undefined;
|
|
12421
12440
|
usage_metrics?: {
|
|
@@ -12466,9 +12485,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
12466
12485
|
}, "strip", zod.ZodTypeAny, {
|
|
12467
12486
|
name: string;
|
|
12468
12487
|
metadata: {
|
|
12469
|
-
call_id: string;
|
|
12470
12488
|
campaign_id: string;
|
|
12471
12489
|
target_id: string;
|
|
12490
|
+
call_id: string;
|
|
12472
12491
|
closing_reason?: string | null | undefined;
|
|
12473
12492
|
closed_at?: number | null | undefined;
|
|
12474
12493
|
usage_metrics?: {
|
|
@@ -12520,9 +12539,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
12520
12539
|
}, {
|
|
12521
12540
|
name: string;
|
|
12522
12541
|
metadata: {
|
|
12523
|
-
call_id: string;
|
|
12524
12542
|
campaign_id: string;
|
|
12525
12543
|
target_id: string;
|
|
12544
|
+
call_id: string;
|
|
12526
12545
|
closing_reason?: string | null | undefined;
|
|
12527
12546
|
closed_at?: number | null | undefined;
|
|
12528
12547
|
usage_metrics?: {
|
|
@@ -12580,9 +12599,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
12580
12599
|
room: {
|
|
12581
12600
|
name: string;
|
|
12582
12601
|
metadata: {
|
|
12583
|
-
call_id: string;
|
|
12584
12602
|
campaign_id: string;
|
|
12585
12603
|
target_id: string;
|
|
12604
|
+
call_id: string;
|
|
12586
12605
|
closing_reason?: string | null | undefined;
|
|
12587
12606
|
closed_at?: number | null | undefined;
|
|
12588
12607
|
usage_metrics?: {
|
|
@@ -12639,9 +12658,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
12639
12658
|
room: {
|
|
12640
12659
|
name: string;
|
|
12641
12660
|
metadata: {
|
|
12642
|
-
call_id: string;
|
|
12643
12661
|
campaign_id: string;
|
|
12644
12662
|
target_id: string;
|
|
12663
|
+
call_id: string;
|
|
12645
12664
|
closing_reason?: string | null | undefined;
|
|
12646
12665
|
closed_at?: number | null | undefined;
|
|
12647
12666
|
usage_metrics?: {
|
|
@@ -12886,9 +12905,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
12886
12905
|
sip_connected_at: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
|
|
12887
12906
|
sip_disconnected_at: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
|
|
12888
12907
|
}, "strip", zod.ZodTypeAny, {
|
|
12889
|
-
call_id: string;
|
|
12890
12908
|
campaign_id: string;
|
|
12891
12909
|
target_id: string;
|
|
12910
|
+
call_id: string;
|
|
12892
12911
|
closing_reason?: string | null | undefined;
|
|
12893
12912
|
closed_at?: number | null | undefined;
|
|
12894
12913
|
usage_metrics?: {
|
|
@@ -12929,9 +12948,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
12929
12948
|
sip_connected_at?: number | null | undefined;
|
|
12930
12949
|
sip_disconnected_at?: number | null | undefined;
|
|
12931
12950
|
}, {
|
|
12932
|
-
call_id: string;
|
|
12933
12951
|
campaign_id: string;
|
|
12934
12952
|
target_id: string;
|
|
12953
|
+
call_id: string;
|
|
12935
12954
|
closing_reason?: string | null | undefined;
|
|
12936
12955
|
closed_at?: number | null | undefined;
|
|
12937
12956
|
usage_metrics?: {
|
|
@@ -12982,9 +13001,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
12982
13001
|
}, "strip", zod.ZodTypeAny, {
|
|
12983
13002
|
name: string;
|
|
12984
13003
|
metadata: {
|
|
12985
|
-
call_id: string;
|
|
12986
13004
|
campaign_id: string;
|
|
12987
13005
|
target_id: string;
|
|
13006
|
+
call_id: string;
|
|
12988
13007
|
closing_reason?: string | null | undefined;
|
|
12989
13008
|
closed_at?: number | null | undefined;
|
|
12990
13009
|
usage_metrics?: {
|
|
@@ -13036,9 +13055,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
13036
13055
|
}, {
|
|
13037
13056
|
name: string;
|
|
13038
13057
|
metadata: {
|
|
13039
|
-
call_id: string;
|
|
13040
13058
|
campaign_id: string;
|
|
13041
13059
|
target_id: string;
|
|
13060
|
+
call_id: string;
|
|
13042
13061
|
closing_reason?: string | null | undefined;
|
|
13043
13062
|
closed_at?: number | null | undefined;
|
|
13044
13063
|
usage_metrics?: {
|
|
@@ -13121,9 +13140,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
13121
13140
|
room: {
|
|
13122
13141
|
name: string;
|
|
13123
13142
|
metadata: {
|
|
13124
|
-
call_id: string;
|
|
13125
13143
|
campaign_id: string;
|
|
13126
13144
|
target_id: string;
|
|
13145
|
+
call_id: string;
|
|
13127
13146
|
closing_reason?: string | null | undefined;
|
|
13128
13147
|
closed_at?: number | null | undefined;
|
|
13129
13148
|
usage_metrics?: {
|
|
@@ -13189,9 +13208,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
13189
13208
|
room: {
|
|
13190
13209
|
name: string;
|
|
13191
13210
|
metadata: {
|
|
13192
|
-
call_id: string;
|
|
13193
13211
|
campaign_id: string;
|
|
13194
13212
|
target_id: string;
|
|
13213
|
+
call_id: string;
|
|
13195
13214
|
closing_reason?: string | null | undefined;
|
|
13196
13215
|
closed_at?: number | null | undefined;
|
|
13197
13216
|
usage_metrics?: {
|
|
@@ -13445,9 +13464,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
13445
13464
|
sip_connected_at: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
|
|
13446
13465
|
sip_disconnected_at: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
|
|
13447
13466
|
}, "strip", zod.ZodTypeAny, {
|
|
13448
|
-
call_id: string;
|
|
13449
13467
|
campaign_id: string;
|
|
13450
13468
|
target_id: string;
|
|
13469
|
+
call_id: string;
|
|
13451
13470
|
closing_reason?: string | null | undefined;
|
|
13452
13471
|
closed_at?: number | null | undefined;
|
|
13453
13472
|
usage_metrics?: {
|
|
@@ -13488,9 +13507,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
13488
13507
|
sip_connected_at?: number | null | undefined;
|
|
13489
13508
|
sip_disconnected_at?: number | null | undefined;
|
|
13490
13509
|
}, {
|
|
13491
|
-
call_id: string;
|
|
13492
13510
|
campaign_id: string;
|
|
13493
13511
|
target_id: string;
|
|
13512
|
+
call_id: string;
|
|
13494
13513
|
closing_reason?: string | null | undefined;
|
|
13495
13514
|
closed_at?: number | null | undefined;
|
|
13496
13515
|
usage_metrics?: {
|
|
@@ -13541,9 +13560,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
13541
13560
|
}, "strip", zod.ZodTypeAny, {
|
|
13542
13561
|
name: string;
|
|
13543
13562
|
metadata: {
|
|
13544
|
-
call_id: string;
|
|
13545
13563
|
campaign_id: string;
|
|
13546
13564
|
target_id: string;
|
|
13565
|
+
call_id: string;
|
|
13547
13566
|
closing_reason?: string | null | undefined;
|
|
13548
13567
|
closed_at?: number | null | undefined;
|
|
13549
13568
|
usage_metrics?: {
|
|
@@ -13595,9 +13614,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
13595
13614
|
}, {
|
|
13596
13615
|
name: string;
|
|
13597
13616
|
metadata: {
|
|
13598
|
-
call_id: string;
|
|
13599
13617
|
campaign_id: string;
|
|
13600
13618
|
target_id: string;
|
|
13619
|
+
call_id: string;
|
|
13601
13620
|
closing_reason?: string | null | undefined;
|
|
13602
13621
|
closed_at?: number | null | undefined;
|
|
13603
13622
|
usage_metrics?: {
|
|
@@ -13680,9 +13699,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
13680
13699
|
room: {
|
|
13681
13700
|
name: string;
|
|
13682
13701
|
metadata: {
|
|
13683
|
-
call_id: string;
|
|
13684
13702
|
campaign_id: string;
|
|
13685
13703
|
target_id: string;
|
|
13704
|
+
call_id: string;
|
|
13686
13705
|
closing_reason?: string | null | undefined;
|
|
13687
13706
|
closed_at?: number | null | undefined;
|
|
13688
13707
|
usage_metrics?: {
|
|
@@ -13748,9 +13767,9 @@ export declare const ReceiveKanbanWebhookBody: zod.ZodUnion<[zod.ZodObject<{
|
|
|
13748
13767
|
room: {
|
|
13749
13768
|
name: string;
|
|
13750
13769
|
metadata: {
|
|
13751
|
-
call_id: string;
|
|
13752
13770
|
campaign_id: string;
|
|
13753
13771
|
target_id: string;
|
|
13772
|
+
call_id: string;
|
|
13754
13773
|
closing_reason?: string | null | undefined;
|
|
13755
13774
|
closed_at?: number | null | undefined;
|
|
13756
13775
|
usage_metrics?: {
|
package/internal/schemas.js
CHANGED
|
@@ -34,9 +34,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.upsertAgentProviderLimitBodyLimitMin = exports.upsertAgentProviderLimitBodyKeyRegExp = exports.ListAgentProviderLimitsResponse = exports.ListAgentProviderLimitsResponseItem = exports.listAgentProviderLimitsResponseAvailableMin = exports.listAgentProviderLimitsResponseCurrentUsageMin = exports.listAgentProviderLimitsResponseSafetyMarginPercentMax = exports.listAgentProviderLimitsResponseSafetyMarginPercentMin = exports.listAgentProviderLimitsResponseLimitMin = exports.VapiInboundResponse = exports.VapiInboundBody = exports.VapiInboundQueryParams = exports.SystemCheckResponse = exports.InvalidateCacheResponse = exports.InvalidateCacheQueryParams = exports.invalidateCacheQueryProviderMax = exports.TestCredentialsResponse = exports.TestCredentialsBody = exports.TestCredentialsQueryParams = exports.testCredentialsQueryProviderMax = exports.GetConfigResponse = exports.GetConfigQueryParams = exports.GetConfigParams = exports.getConfigPathProviderMax = exports.UpdateConfigResponse = exports.UpdateConfigBody = exports.updateConfigBodyNameMax = exports.UpdateConfigQueryParams = exports.updateConfigQueryProviderMax = exports.CreateConfigBody = exports.createConfigBodyNameMax = exports.createConfigBodyProviderMax = exports.CreateConfigQueryParams = exports.ListConfigsResponse = exports.ListConfigsResponseItem = exports.ListConfigsQueryParams = exports.ProcessToolCallsResponse = exports.ProcessToolCallsBody = exports.UpdateResponse = exports.UpdateBody = exports.UpdateParams = exports.RemoveBody = exports.RemoveQueryParams = exports.CreateBody = exports.createBodyIsEnabledDefault = exports.createBodyProviderMax = exports.CreateQueryParams = exports.ListResponse = exports.ListResponseItem = exports.ListQueryParams = void 0;
|
|
37
|
-
exports.
|
|
38
|
-
exports.
|
|
39
|
-
exports.GetByCallIdResponse = exports.GetByCallIdParams = exports.UpdateAnalysisCampaignActionResponse = exports.UpdateAnalysisCampaignActionBody = exports.UpdateAnalysisCampaignActionParams = exports.CreateAnalysisCampaignActionBody = exports.ListAnalysisCampaignActionVersionsResponse = exports.ListAnalysisCampaignActionVersionsResponseItem = exports.ListAnalysisCampaignActionVersionsParams = exports.GetActiveAnalysisCampaignActionResponse = exports.GetActiveAnalysisCampaignActionParams = exports.UpdateAnalysisConfigResponse = exports.UpdateAnalysisConfigBody = exports.UpdateAnalysisConfigParams = exports.CreateAnalysisConfigBody = exports.ListAnalysisConfigVersionsResponse = exports.ListAnalysisConfigVersionsResponseItem = exports.ListAnalysisConfigVersionsParams = exports.GetActiveAnalysisConfigResponse = exports.GetActiveAnalysisConfigParams = exports.MeResponse = exports.ReceiveKanbanWebhookResponse = exports.ReceiveKanbanWebhookBody = exports.receiveKanbanWebhookBodyOnezeroRoomMetadataUsageMetricsUsageSttAudioDurationDefault = exports.receiveKanbanWebhookBodyOnezeroRoomMetadataUsageMetricsUsageTtsAudioDurationDefault = exports.receiveKanbanWebhookBodyOnezeroRoomMetadataUsageMetricsUsageTtsCharactersCountDefault = exports.receiveKanbanWebhookBodyOnezeroRoomMetadataUsageMetricsUsageLlmOutputAudioTokensDefault = exports.receiveKanbanWebhookBodyOnezeroRoomMetadataUsageMetricsUsageLlmInputAudioTokensDefault = exports.receiveKanbanWebhookBodyOnezeroRoomMetadataUsageMetricsUsageLlmPromptCachedTokensDefault = exports.receiveKanbanWebhookBodyOnezeroRoomMetadataUsageMetricsUsageLlmCompletionTokensDefault = exports.receiveKanbanWebhookBodyOnezeroRoomMetadataUsageMetricsUsageLlmPromptTokensDefault = exports.receiveKanbanWebhookBodyOnezeroNumDroppedDefault = exports.receiveKanbanWebhookBodyNineRoomMetadataUsageMetricsUsageSttAudioDurationDefault = exports.receiveKanbanWebhookBodyNineRoomMetadataUsageMetricsUsageTtsAudioDurationDefault = exports.receiveKanbanWebhookBodyNineRoomMetadataUsageMetricsUsageTtsCharactersCountDefault = exports.receiveKanbanWebhookBodyNineRoomMetadataUsageMetricsUsageLlmOutputAudioTokensDefault = exports.receiveKanbanWebhookBodyNineRoomMetadataUsageMetricsUsageLlmInputAudioTokensDefault = exports.receiveKanbanWebhookBodyNineRoomMetadataUsageMetricsUsageLlmPromptCachedTokensDefault = exports.receiveKanbanWebhookBodyNineRoomMetadataUsageMetricsUsageLlmCompletionTokensDefault = exports.receiveKanbanWebhookBodyNineRoomMetadataUsageMetricsUsageLlmPromptTokensDefault = exports.receiveKanbanWebhookBodyNineNumDroppedDefault = exports.receiveKanbanWebhookBodyEightRoomMetadataUsageMetricsUsageSttAudioDurationDefault = exports.receiveKanbanWebhookBodyEightRoomMetadataUsageMetricsUsageTtsAudioDurationDefault = exports.receiveKanbanWebhookBodyEightRoomMetadataUsageMetricsUsageTtsCharactersCountDefault = exports.receiveKanbanWebhookBodyEightRoomMetadataUsageMetricsUsageLlmOutputAudioTokensDefault = exports.receiveKanbanWebhookBodyEightRoomMetadataUsageMetricsUsageLlmInputAudioTokensDefault = exports.receiveKanbanWebhookBodyEightRoomMetadataUsageMetricsUsageLlmPromptCachedTokensDefault = exports.receiveKanbanWebhookBodyEightRoomMetadataUsageMetricsUsageLlmCompletionTokensDefault = exports.receiveKanbanWebhookBodyEightRoomMetadataUsageMetricsUsageLlmPromptTokensDefault = void 0;
|
|
37
|
+
exports.receiveKanbanWebhookBodyTwoRoomMetadataUsageMetricsUsageLlmPromptCachedTokensDefault = exports.receiveKanbanWebhookBodyTwoRoomMetadataUsageMetricsUsageLlmCompletionTokensDefault = exports.receiveKanbanWebhookBodyTwoRoomMetadataUsageMetricsUsageLlmPromptTokensDefault = exports.receiveKanbanWebhookBodyTwoNumDroppedDefault = exports.receiveKanbanWebhookBodyOneRoomMetadataUsageMetricsUsageSttAudioDurationDefault = exports.receiveKanbanWebhookBodyOneRoomMetadataUsageMetricsUsageTtsAudioDurationDefault = exports.receiveKanbanWebhookBodyOneRoomMetadataUsageMetricsUsageTtsCharactersCountDefault = exports.receiveKanbanWebhookBodyOneRoomMetadataUsageMetricsUsageLlmOutputAudioTokensDefault = exports.receiveKanbanWebhookBodyOneRoomMetadataUsageMetricsUsageLlmInputAudioTokensDefault = exports.receiveKanbanWebhookBodyOneRoomMetadataUsageMetricsUsageLlmPromptCachedTokensDefault = exports.receiveKanbanWebhookBodyOneRoomMetadataUsageMetricsUsageLlmCompletionTokensDefault = exports.receiveKanbanWebhookBodyOneRoomMetadataUsageMetricsUsageLlmPromptTokensDefault = exports.receiveKanbanWebhookBodyOneNumDroppedDefault = exports.ReceiveWebhookResponse = exports.ReceiveWebhookBody = exports.GeneratePaymentReportQueryParams = exports.generatePaymentReportQueryDateRegExp = exports.GeneratePaymentReportParams = exports.GetTargetResponse = exports.GetTargetResponseItem = exports.GetTargetQueryParams = exports.getTargetQueryIdentifierTypeDefault = exports.GetTargetParams = exports.PresignUploadResponse = exports.PresignUploadBody = exports.presignUploadBodyFileNameRegExp = exports.UploadTargetsBody = exports.JambonzHealthResponse = exports.JambonzWebhookResponse = exports.JambonzWebhookBody = exports.StartCallBody = exports.startCallBodyTargetsMax = exports.startCallBodyTargetsItemPriorityDefault = exports.ProcessCallbackResponse = exports.ProcessCallbackBody = exports.ProcessCallbackQueryParams = exports.InitiateTransferResponse = exports.InitiateTransferBody = exports.initiateTransferBodyPaymentMethodDefault = exports.GetPaymentTwimlQueryParams = exports.getPaymentTwimlQueryAmountRegExp = exports.getPaymentTwimlQueryCallProviderDefault = exports.UpsertAgentProviderLimitResponse = exports.upsertAgentProviderLimitResponseSafetyMarginPercentMax = exports.upsertAgentProviderLimitResponseSafetyMarginPercentMin = exports.upsertAgentProviderLimitResponseLimitMin = exports.UpsertAgentProviderLimitBody = exports.upsertAgentProviderLimitBodySafetyMarginPercentMax = exports.upsertAgentProviderLimitBodySafetyMarginPercentMin = exports.upsertAgentProviderLimitBodySafetyMarginPercentDefault = void 0;
|
|
38
|
+
exports.receiveKanbanWebhookBodySevenRoomMetadataUsageMetricsUsageSttAudioDurationDefault = exports.receiveKanbanWebhookBodySevenRoomMetadataUsageMetricsUsageTtsAudioDurationDefault = exports.receiveKanbanWebhookBodySevenRoomMetadataUsageMetricsUsageTtsCharactersCountDefault = exports.receiveKanbanWebhookBodySevenRoomMetadataUsageMetricsUsageLlmOutputAudioTokensDefault = exports.receiveKanbanWebhookBodySevenRoomMetadataUsageMetricsUsageLlmInputAudioTokensDefault = exports.receiveKanbanWebhookBodySevenRoomMetadataUsageMetricsUsageLlmPromptCachedTokensDefault = exports.receiveKanbanWebhookBodySevenRoomMetadataUsageMetricsUsageLlmCompletionTokensDefault = exports.receiveKanbanWebhookBodySevenRoomMetadataUsageMetricsUsageLlmPromptTokensDefault = exports.receiveKanbanWebhookBodySevenNumDroppedDefault = exports.receiveKanbanWebhookBodySixRoomMetadataUsageMetricsUsageSttAudioDurationDefault = exports.receiveKanbanWebhookBodySixRoomMetadataUsageMetricsUsageTtsAudioDurationDefault = exports.receiveKanbanWebhookBodySixRoomMetadataUsageMetricsUsageTtsCharactersCountDefault = exports.receiveKanbanWebhookBodySixRoomMetadataUsageMetricsUsageLlmOutputAudioTokensDefault = exports.receiveKanbanWebhookBodySixRoomMetadataUsageMetricsUsageLlmInputAudioTokensDefault = exports.receiveKanbanWebhookBodySixRoomMetadataUsageMetricsUsageLlmPromptCachedTokensDefault = exports.receiveKanbanWebhookBodySixRoomMetadataUsageMetricsUsageLlmCompletionTokensDefault = exports.receiveKanbanWebhookBodySixRoomMetadataUsageMetricsUsageLlmPromptTokensDefault = exports.receiveKanbanWebhookBodySixNumDroppedDefault = exports.receiveKanbanWebhookBodyFiveRoomMetadataUsageMetricsUsageSttAudioDurationDefault = exports.receiveKanbanWebhookBodyFiveRoomMetadataUsageMetricsUsageTtsAudioDurationDefault = exports.receiveKanbanWebhookBodyFiveRoomMetadataUsageMetricsUsageTtsCharactersCountDefault = exports.receiveKanbanWebhookBodyFiveRoomMetadataUsageMetricsUsageLlmOutputAudioTokensDefault = exports.receiveKanbanWebhookBodyFiveRoomMetadataUsageMetricsUsageLlmInputAudioTokensDefault = exports.receiveKanbanWebhookBodyFiveRoomMetadataUsageMetricsUsageLlmPromptCachedTokensDefault = exports.receiveKanbanWebhookBodyFiveRoomMetadataUsageMetricsUsageLlmCompletionTokensDefault = exports.receiveKanbanWebhookBodyFiveRoomMetadataUsageMetricsUsageLlmPromptTokensDefault = exports.receiveKanbanWebhookBodyFiveNumDroppedDefault = exports.receiveKanbanWebhookBodyFourRoomMetadataUsageMetricsUsageSttAudioDurationDefault = exports.receiveKanbanWebhookBodyFourRoomMetadataUsageMetricsUsageTtsAudioDurationDefault = exports.receiveKanbanWebhookBodyFourRoomMetadataUsageMetricsUsageTtsCharactersCountDefault = exports.receiveKanbanWebhookBodyFourRoomMetadataUsageMetricsUsageLlmOutputAudioTokensDefault = exports.receiveKanbanWebhookBodyFourRoomMetadataUsageMetricsUsageLlmInputAudioTokensDefault = exports.receiveKanbanWebhookBodyFourRoomMetadataUsageMetricsUsageLlmPromptCachedTokensDefault = exports.receiveKanbanWebhookBodyFourRoomMetadataUsageMetricsUsageLlmCompletionTokensDefault = exports.receiveKanbanWebhookBodyFourRoomMetadataUsageMetricsUsageLlmPromptTokensDefault = exports.receiveKanbanWebhookBodyFourNumDroppedDefault = exports.receiveKanbanWebhookBodyThreeRoomMetadataUsageMetricsUsageSttAudioDurationDefault = exports.receiveKanbanWebhookBodyThreeRoomMetadataUsageMetricsUsageTtsAudioDurationDefault = exports.receiveKanbanWebhookBodyThreeRoomMetadataUsageMetricsUsageTtsCharactersCountDefault = exports.receiveKanbanWebhookBodyThreeRoomMetadataUsageMetricsUsageLlmOutputAudioTokensDefault = exports.receiveKanbanWebhookBodyThreeRoomMetadataUsageMetricsUsageLlmInputAudioTokensDefault = exports.receiveKanbanWebhookBodyThreeRoomMetadataUsageMetricsUsageLlmPromptCachedTokensDefault = exports.receiveKanbanWebhookBodyThreeRoomMetadataUsageMetricsUsageLlmCompletionTokensDefault = exports.receiveKanbanWebhookBodyThreeRoomMetadataUsageMetricsUsageLlmPromptTokensDefault = exports.receiveKanbanWebhookBodyThreeNumDroppedDefault = exports.receiveKanbanWebhookBodyTwoRoomMetadataUsageMetricsUsageSttAudioDurationDefault = exports.receiveKanbanWebhookBodyTwoRoomMetadataUsageMetricsUsageTtsAudioDurationDefault = exports.receiveKanbanWebhookBodyTwoRoomMetadataUsageMetricsUsageTtsCharactersCountDefault = exports.receiveKanbanWebhookBodyTwoRoomMetadataUsageMetricsUsageLlmOutputAudioTokensDefault = exports.receiveKanbanWebhookBodyTwoRoomMetadataUsageMetricsUsageLlmInputAudioTokensDefault = void 0;
|
|
39
|
+
exports.GetByCallIdResponse = exports.GetByCallIdParams = exports.UpdateAnalysisCampaignActionResponse = exports.UpdateAnalysisCampaignActionBody = exports.UpdateAnalysisCampaignActionParams = exports.CreateAnalysisCampaignActionBody = exports.ListAnalysisCampaignActionVersionsResponse = exports.ListAnalysisCampaignActionVersionsResponseItem = exports.ListAnalysisCampaignActionVersionsParams = exports.GetActiveAnalysisCampaignActionResponse = exports.GetActiveAnalysisCampaignActionParams = exports.UpdateAnalysisConfigResponse = exports.UpdateAnalysisConfigBody = exports.UpdateAnalysisConfigParams = exports.CreateAnalysisConfigBody = exports.ListAnalysisConfigVersionsResponse = exports.ListAnalysisConfigVersionsResponseItem = exports.ListAnalysisConfigVersionsParams = exports.GetActiveAnalysisConfigResponse = exports.GetActiveAnalysisConfigParams = exports.MeResponse = exports.ReceiveKanbanWebhookResponse = exports.ReceiveKanbanWebhookBody = exports.receiveKanbanWebhookBodyOnezeroRoomMetadataUsageMetricsUsageSttAudioDurationDefault = exports.receiveKanbanWebhookBodyOnezeroRoomMetadataUsageMetricsUsageTtsAudioDurationDefault = exports.receiveKanbanWebhookBodyOnezeroRoomMetadataUsageMetricsUsageTtsCharactersCountDefault = exports.receiveKanbanWebhookBodyOnezeroRoomMetadataUsageMetricsUsageLlmOutputAudioTokensDefault = exports.receiveKanbanWebhookBodyOnezeroRoomMetadataUsageMetricsUsageLlmInputAudioTokensDefault = exports.receiveKanbanWebhookBodyOnezeroRoomMetadataUsageMetricsUsageLlmPromptCachedTokensDefault = exports.receiveKanbanWebhookBodyOnezeroRoomMetadataUsageMetricsUsageLlmCompletionTokensDefault = exports.receiveKanbanWebhookBodyOnezeroRoomMetadataUsageMetricsUsageLlmPromptTokensDefault = exports.receiveKanbanWebhookBodyOnezeroNumDroppedDefault = exports.receiveKanbanWebhookBodyNineRoomMetadataUsageMetricsUsageSttAudioDurationDefault = exports.receiveKanbanWebhookBodyNineRoomMetadataUsageMetricsUsageTtsAudioDurationDefault = exports.receiveKanbanWebhookBodyNineRoomMetadataUsageMetricsUsageTtsCharactersCountDefault = exports.receiveKanbanWebhookBodyNineRoomMetadataUsageMetricsUsageLlmOutputAudioTokensDefault = exports.receiveKanbanWebhookBodyNineRoomMetadataUsageMetricsUsageLlmInputAudioTokensDefault = exports.receiveKanbanWebhookBodyNineRoomMetadataUsageMetricsUsageLlmPromptCachedTokensDefault = exports.receiveKanbanWebhookBodyNineRoomMetadataUsageMetricsUsageLlmCompletionTokensDefault = exports.receiveKanbanWebhookBodyNineRoomMetadataUsageMetricsUsageLlmPromptTokensDefault = exports.receiveKanbanWebhookBodyNineNumDroppedDefault = exports.receiveKanbanWebhookBodyEightRoomMetadataUsageMetricsUsageSttAudioDurationDefault = exports.receiveKanbanWebhookBodyEightRoomMetadataUsageMetricsUsageTtsAudioDurationDefault = exports.receiveKanbanWebhookBodyEightRoomMetadataUsageMetricsUsageTtsCharactersCountDefault = exports.receiveKanbanWebhookBodyEightRoomMetadataUsageMetricsUsageLlmOutputAudioTokensDefault = exports.receiveKanbanWebhookBodyEightRoomMetadataUsageMetricsUsageLlmInputAudioTokensDefault = exports.receiveKanbanWebhookBodyEightRoomMetadataUsageMetricsUsageLlmPromptCachedTokensDefault = exports.receiveKanbanWebhookBodyEightRoomMetadataUsageMetricsUsageLlmCompletionTokensDefault = exports.receiveKanbanWebhookBodyEightRoomMetadataUsageMetricsUsageLlmPromptTokensDefault = exports.receiveKanbanWebhookBodyEightNumDroppedDefault = void 0;
|
|
40
40
|
/**
|
|
41
41
|
* Generated by orval v8.2.0 🍺
|
|
42
42
|
* Do not edit manually.
|
|
@@ -413,17 +413,20 @@ exports.ProcessCallbackBody = zod.object({
|
|
|
413
413
|
});
|
|
414
414
|
exports.ProcessCallbackResponse = zod.string().describe('TwiML XML response with voice prompts for the caller');
|
|
415
415
|
/**
|
|
416
|
-
*
|
|
417
|
-
* @summary Queue a
|
|
416
|
+
* Accepts a batch of targets (up to 10) for a single campaign and enqueues each as an execute_livekit_call Graphile Worker task. Each target is processed independently - partial success is possible. Returns 202 with per-target results.
|
|
417
|
+
* @summary Queue a batch of outbound call jobs
|
|
418
418
|
*/
|
|
419
|
-
exports.
|
|
419
|
+
exports.startCallBodyTargetsItemPriorityDefault = `standard`;
|
|
420
|
+
exports.startCallBodyTargetsMax = 10;
|
|
420
421
|
exports.StartCallBody = zod.object({
|
|
421
|
-
"
|
|
422
|
-
"
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
422
|
+
"campaign_id": zod.string().min(1).describe('Campaign ID - all targets in this batch belong to this campaign. The scheduler sends one campaign per invocation.'),
|
|
423
|
+
"targets": zod.array(zod.object({
|
|
424
|
+
"target_id": zod.string().min(1).describe('ID of the target to call'),
|
|
425
|
+
"attempt": zod.number().min(1).describe('Attempt number for calling the target'),
|
|
426
|
+
"slug": zod.string().min(1).describe('Slug for the agent'),
|
|
427
|
+
"label": zod.string().min(1).describe('Label for the call'),
|
|
428
|
+
"priority": zod.enum(['high', 'standard']).default(exports.startCallBodyTargetsItemPriorityDefault).describe('Job priority - high runs first, standard is randomized')
|
|
429
|
+
})).min(1).max(exports.startCallBodyTargetsMax).describe('Batch of targets to enqueue (max 10, matching monorepo BATCH_SIZE)')
|
|
427
430
|
});
|
|
428
431
|
/**
|
|
429
432
|
* Unified webhook for Jambonz calling and call status events. Handles both inbound and outbound calls (differentiated by direction field). When callStatus is 'trying', performs header normalization and returns dial verbs. For other statuses (in-progress, completed, failed), logs the event and returns 200 OK.
|