@domu-ai/kiban-sdk 1.72.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.
@@ -0,0 +1,799 @@
1
+ export type DashboardCampaignsNamesPostBody = {
2
+ /** @minItems 1 */
3
+ campaignIds: string[];
4
+ };
5
+ export type DashboardCampaignsNamesPost200Data = {
6
+ [key: string]: string | null;
7
+ };
8
+ export type DashboardCampaignsNamesPost200 = {
9
+ data: DashboardCampaignsNamesPost200Data;
10
+ };
11
+ export type DashboardCampaignsNamesPost401 = {
12
+ message: string;
13
+ code?: string;
14
+ details?: unknown | null;
15
+ };
16
+ export type DashboardCampaignsNamesPost500 = {
17
+ message: string;
18
+ code?: string;
19
+ details?: unknown | null;
20
+ };
21
+ export type DashboardCampaignsGet200DataItem = {
22
+ id: string;
23
+ /** @nullable */
24
+ name: string | null;
25
+ };
26
+ export type DashboardCampaignsGet200 = {
27
+ data: DashboardCampaignsGet200DataItem[];
28
+ };
29
+ export type DashboardCampaignsGet400 = {
30
+ message: string;
31
+ code?: string;
32
+ details?: unknown | null;
33
+ };
34
+ export type DashboardCampaignsGet401 = {
35
+ message: string;
36
+ code?: string;
37
+ details?: unknown | null;
38
+ };
39
+ export type DashboardCampaignsGet404 = {
40
+ message: string;
41
+ code?: string;
42
+ details?: unknown | null;
43
+ };
44
+ export type DashboardCampaignsGet500 = {
45
+ message: string;
46
+ code?: string;
47
+ details?: unknown | null;
48
+ };
49
+ export type DashboardCampaignsCampaignIdScheduleConfigGet200DataContactHoursMonday = {
50
+ minHour: number;
51
+ maxHour: number;
52
+ };
53
+ export type DashboardCampaignsCampaignIdScheduleConfigGet200DataContactHoursTuesday = {
54
+ minHour: number;
55
+ maxHour: number;
56
+ };
57
+ export type DashboardCampaignsCampaignIdScheduleConfigGet200DataContactHoursWednesday = {
58
+ minHour: number;
59
+ maxHour: number;
60
+ };
61
+ export type DashboardCampaignsCampaignIdScheduleConfigGet200DataContactHoursThursday = {
62
+ minHour: number;
63
+ maxHour: number;
64
+ };
65
+ export type DashboardCampaignsCampaignIdScheduleConfigGet200DataContactHoursFriday = {
66
+ minHour: number;
67
+ maxHour: number;
68
+ };
69
+ export type DashboardCampaignsCampaignIdScheduleConfigGet200DataContactHoursSaturday = {
70
+ minHour: number;
71
+ maxHour: number;
72
+ };
73
+ export type DashboardCampaignsCampaignIdScheduleConfigGet200DataContactHoursSunday = {
74
+ minHour: number;
75
+ maxHour: number;
76
+ };
77
+ export type DashboardCampaignsCampaignIdScheduleConfigGet200DataContactHours = {
78
+ monday?: DashboardCampaignsCampaignIdScheduleConfigGet200DataContactHoursMonday;
79
+ tuesday?: DashboardCampaignsCampaignIdScheduleConfigGet200DataContactHoursTuesday;
80
+ wednesday?: DashboardCampaignsCampaignIdScheduleConfigGet200DataContactHoursWednesday;
81
+ thursday?: DashboardCampaignsCampaignIdScheduleConfigGet200DataContactHoursThursday;
82
+ friday?: DashboardCampaignsCampaignIdScheduleConfigGet200DataContactHoursFriday;
83
+ saturday?: DashboardCampaignsCampaignIdScheduleConfigGet200DataContactHoursSaturday;
84
+ sunday?: DashboardCampaignsCampaignIdScheduleConfigGet200DataContactHoursSunday;
85
+ };
86
+ export type DashboardCampaignsCampaignIdScheduleConfigGet200Data = {
87
+ campaign_id: string;
88
+ campaign_name: string;
89
+ /** @nullable */
90
+ timezone: string | null;
91
+ phone_columns: string[];
92
+ contact_hours: DashboardCampaignsCampaignIdScheduleConfigGet200DataContactHours;
93
+ max_attempts: number;
94
+ /** @nullable */
95
+ contact_limit: number | null;
96
+ /** @nullable */
97
+ allowed_call_holidays: string[] | null;
98
+ loaded_target_count: number;
99
+ };
100
+ export type DashboardCampaignsCampaignIdScheduleConfigGet200 = {
101
+ data: DashboardCampaignsCampaignIdScheduleConfigGet200Data;
102
+ };
103
+ export type DashboardCampaignsCampaignIdScheduleConfigGet401 = {
104
+ message: string;
105
+ code?: string;
106
+ details?: unknown | null;
107
+ };
108
+ export type DashboardCampaignsCampaignIdScheduleConfigGet404 = {
109
+ message: string;
110
+ code?: string;
111
+ details?: unknown | null;
112
+ };
113
+ export type DashboardCampaignsCampaignIdScheduleConfigGet500 = {
114
+ message: string;
115
+ code?: string;
116
+ details?: unknown | null;
117
+ };
118
+ export type DashboardAgentsGet200DataItem = {
119
+ id: string;
120
+ /** @nullable */
121
+ name: string | null;
122
+ campaign_id: string;
123
+ };
124
+ export type DashboardAgentsGet200 = {
125
+ data: DashboardAgentsGet200DataItem[];
126
+ };
127
+ export type DashboardAgentsGet400 = {
128
+ message: string;
129
+ code?: string;
130
+ details?: unknown | null;
131
+ };
132
+ export type DashboardAgentsGet401 = {
133
+ message: string;
134
+ code?: string;
135
+ details?: unknown | null;
136
+ };
137
+ export type DashboardAgentsGet404 = {
138
+ message: string;
139
+ code?: string;
140
+ details?: unknown | null;
141
+ };
142
+ export type DashboardAgentsGet500 = {
143
+ message: string;
144
+ code?: string;
145
+ details?: unknown | null;
146
+ };
147
+ export type DashboardInputFieldsGet200 = {
148
+ data: string[];
149
+ };
150
+ export type DashboardInputFieldsGet401 = {
151
+ message: string;
152
+ code?: string;
153
+ details?: unknown | null;
154
+ };
155
+ export type DashboardInputFieldsGet404 = {
156
+ message: string;
157
+ code?: string;
158
+ details?: unknown | null;
159
+ };
160
+ export type DashboardInputFieldsGet500 = {
161
+ message: string;
162
+ code?: string;
163
+ details?: unknown | null;
164
+ };
165
+ export type DashboardOutputFieldsGet200 = {
166
+ data: string[];
167
+ };
168
+ export type DashboardOutputFieldsGet401 = {
169
+ message: string;
170
+ code?: string;
171
+ details?: unknown | null;
172
+ };
173
+ export type DashboardOutputFieldsGet404 = {
174
+ message: string;
175
+ code?: string;
176
+ details?: unknown | null;
177
+ };
178
+ export type DashboardOutputFieldsGet500 = {
179
+ message: string;
180
+ code?: string;
181
+ details?: unknown | null;
182
+ };
183
+ export type DashboardCallsCallIdGet200 = {
184
+ call?: unknown | null;
185
+ };
186
+ export type DashboardCallsCallIdGet401 = {
187
+ message: string;
188
+ code?: string;
189
+ details?: unknown | null;
190
+ };
191
+ export type DashboardCallsCallIdGet404 = {
192
+ message: string;
193
+ code?: string;
194
+ details?: unknown | null;
195
+ };
196
+ export type DashboardCallsCallIdGet500 = {
197
+ message: string;
198
+ code?: string;
199
+ details?: unknown | null;
200
+ };
201
+ export type DashboardCallsReviewStatusPostBody = {
202
+ /** @minItems 1 */
203
+ callIds: string[];
204
+ };
205
+ export type DashboardCallsReviewStatusPost200Data = {
206
+ [key: string]: {
207
+ reviewed: boolean;
208
+ /** @nullable */
209
+ notes: string | null;
210
+ };
211
+ };
212
+ export type DashboardCallsReviewStatusPost200 = {
213
+ data: DashboardCallsReviewStatusPost200Data;
214
+ };
215
+ export type DashboardCallsReviewStatusPost400 = {
216
+ message: string;
217
+ code?: string;
218
+ details?: unknown | null;
219
+ };
220
+ export type DashboardCallsReviewStatusPost401 = {
221
+ message: string;
222
+ code?: string;
223
+ details?: unknown | null;
224
+ };
225
+ export type DashboardCallsReviewStatusPost500 = {
226
+ message: string;
227
+ code?: string;
228
+ details?: unknown | null;
229
+ };
230
+ export type DashboardCallsCallIdReviewPatchBody = {
231
+ reviewed?: boolean;
232
+ /** @maxLength 1000 */
233
+ notes?: string;
234
+ };
235
+ export type DashboardCallsCallIdReviewPatch200Data = {
236
+ reviewed: boolean;
237
+ /** @nullable */
238
+ notes: string | null;
239
+ };
240
+ export type DashboardCallsCallIdReviewPatch200 = {
241
+ data: DashboardCallsCallIdReviewPatch200Data;
242
+ };
243
+ export type DashboardCallsCallIdReviewPatch400 = {
244
+ message: string;
245
+ code?: string;
246
+ details?: unknown | null;
247
+ };
248
+ export type DashboardCallsCallIdReviewPatch401 = {
249
+ message: string;
250
+ code?: string;
251
+ details?: unknown | null;
252
+ };
253
+ export type DashboardCallsCallIdReviewPatch404 = {
254
+ message: string;
255
+ code?: string;
256
+ details?: unknown | null;
257
+ };
258
+ export type DashboardCallsCallIdReviewPatch500 = {
259
+ message: string;
260
+ code?: string;
261
+ details?: unknown | null;
262
+ };
263
+ export type DashboardSchedulerPreviewPostBodyTimeSlotsItemDaysOfWeekItem = typeof DashboardSchedulerPreviewPostBodyTimeSlotsItemDaysOfWeekItem[keyof typeof DashboardSchedulerPreviewPostBodyTimeSlotsItemDaysOfWeekItem];
264
+ export declare const DashboardSchedulerPreviewPostBodyTimeSlotsItemDaysOfWeekItem: {
265
+ readonly NUMBER_1: 1;
266
+ readonly NUMBER_2: 2;
267
+ readonly NUMBER_3: 3;
268
+ readonly NUMBER_4: 4;
269
+ readonly NUMBER_5: 5;
270
+ readonly NUMBER_6: 6;
271
+ readonly NUMBER_7: 7;
272
+ };
273
+ export type DashboardSchedulerPreviewPostBodyTimeSlotsItem = {
274
+ id: string;
275
+ /** @pattern ^([01]\d|2[0-3]):([0-5]\d)$ */
276
+ time: string;
277
+ /** @minItems 1 */
278
+ days_of_week: DashboardSchedulerPreviewPostBodyTimeSlotsItemDaysOfWeekItem[];
279
+ };
280
+ export type DashboardSchedulerPreviewPostBodyPhoneRotationStatusesItem = typeof DashboardSchedulerPreviewPostBodyPhoneRotationStatusesItem[keyof typeof DashboardSchedulerPreviewPostBodyPhoneRotationStatusesItem];
281
+ export declare const DashboardSchedulerPreviewPostBodyPhoneRotationStatusesItem: {
282
+ readonly primary: "primary";
283
+ readonly secondary: "secondary";
284
+ readonly tertiary: "tertiary";
285
+ readonly quaternary: "quaternary";
286
+ readonly quinary: "quinary";
287
+ readonly senary: "senary";
288
+ readonly septenary: "septenary";
289
+ };
290
+ export type DashboardSchedulerPreviewPostBodyPhoneRotation = {
291
+ /** @minItems 1 */
292
+ statuses: DashboardSchedulerPreviewPostBodyPhoneRotationStatusesItem[];
293
+ /** @minimum 1 */
294
+ minutes_between: number;
295
+ };
296
+ export type DashboardSchedulerPreviewPostBody = {
297
+ /** @minLength 1 */
298
+ campaign_id: string;
299
+ name?: string;
300
+ /** @minItems 1 */
301
+ time_slots: DashboardSchedulerPreviewPostBodyTimeSlotsItem[];
302
+ phone_rotation: DashboardSchedulerPreviewPostBodyPhoneRotation;
303
+ };
304
+ export type DashboardSchedulerPreviewPost200DataJourneyStepsItemType = typeof DashboardSchedulerPreviewPost200DataJourneyStepsItemType[keyof typeof DashboardSchedulerPreviewPost200DataJourneyStepsItemType];
305
+ export declare const DashboardSchedulerPreviewPost200DataJourneyStepsItemType: {
306
+ readonly call: "call";
307
+ readonly message: "message";
308
+ readonly wait: "wait";
309
+ };
310
+ export type DashboardSchedulerPreviewPost200DataJourneyStepsItemParamsCron = {
311
+ year: string;
312
+ month: string;
313
+ day_of_month: string;
314
+ day_of_week: string;
315
+ hours: string;
316
+ minutes: string;
317
+ };
318
+ export type DashboardSchedulerPreviewPost200DataJourneyStepsItemParamsFilter = {
319
+ phone_number_status?: string;
320
+ timezone?: string;
321
+ };
322
+ export type DashboardSchedulerPreviewPost200DataJourneyStepsItemParams = {
323
+ cron: DashboardSchedulerPreviewPost200DataJourneyStepsItemParamsCron;
324
+ max_attempts: number;
325
+ label?: string;
326
+ slug?: string;
327
+ filter?: DashboardSchedulerPreviewPost200DataJourneyStepsItemParamsFilter;
328
+ };
329
+ export type DashboardSchedulerPreviewPost200DataJourneyStepsItemCondition = {
330
+ if: unknown;
331
+ };
332
+ export type DashboardSchedulerPreviewPost200DataJourneyStepsItem = {
333
+ name: string;
334
+ type: DashboardSchedulerPreviewPost200DataJourneyStepsItemType;
335
+ params: DashboardSchedulerPreviewPost200DataJourneyStepsItemParams;
336
+ condition?: DashboardSchedulerPreviewPost200DataJourneyStepsItemCondition;
337
+ next?: string;
338
+ };
339
+ export type DashboardSchedulerPreviewPost200DataJourney = {
340
+ name: string;
341
+ steps: DashboardSchedulerPreviewPost200DataJourneyStepsItem[];
342
+ };
343
+ export type DashboardSchedulerPreviewPost200DataWarningsItemType = typeof DashboardSchedulerPreviewPost200DataWarningsItemType[keyof typeof DashboardSchedulerPreviewPost200DataWarningsItemType];
344
+ export declare const DashboardSchedulerPreviewPost200DataWarningsItemType: {
345
+ readonly outside_contact_hours: "outside_contact_hours";
346
+ readonly no_contact_hours: "no_contact_hours";
347
+ readonly holiday_conflict: "holiday_conflict";
348
+ readonly invalid_cron: "invalid_cron";
349
+ readonly slot_overlap: "slot_overlap";
350
+ };
351
+ export type DashboardSchedulerPreviewPost200DataWarningsItemSeverity = typeof DashboardSchedulerPreviewPost200DataWarningsItemSeverity[keyof typeof DashboardSchedulerPreviewPost200DataWarningsItemSeverity];
352
+ export declare const DashboardSchedulerPreviewPost200DataWarningsItemSeverity: {
353
+ readonly error: "error";
354
+ readonly warning: "warning";
355
+ readonly info: "info";
356
+ };
357
+ export type DashboardSchedulerPreviewPost200DataWarningsItem = {
358
+ type: DashboardSchedulerPreviewPost200DataWarningsItemType;
359
+ message: string;
360
+ slot_id: string;
361
+ severity: DashboardSchedulerPreviewPost200DataWarningsItemSeverity;
362
+ day?: string;
363
+ time?: string;
364
+ };
365
+ export type DashboardSchedulerPreviewPost200Data = {
366
+ journey: DashboardSchedulerPreviewPost200DataJourney;
367
+ warnings: DashboardSchedulerPreviewPost200DataWarningsItem[];
368
+ target_count: number;
369
+ estimated_steps: number;
370
+ };
371
+ export type DashboardSchedulerPreviewPost200 = {
372
+ data: DashboardSchedulerPreviewPost200Data;
373
+ };
374
+ export type DashboardSchedulerPreviewPost401 = {
375
+ message: string;
376
+ code?: string;
377
+ details?: unknown | null;
378
+ };
379
+ export type DashboardSchedulerPreviewPost404 = {
380
+ message: string;
381
+ code?: string;
382
+ details?: unknown | null;
383
+ };
384
+ export type DashboardSchedulerPreviewPost500 = {
385
+ message: string;
386
+ code?: string;
387
+ details?: unknown | null;
388
+ };
389
+ export type DashboardSchedulerCreatePostBodyTimeSlotsItemDaysOfWeekItem = typeof DashboardSchedulerCreatePostBodyTimeSlotsItemDaysOfWeekItem[keyof typeof DashboardSchedulerCreatePostBodyTimeSlotsItemDaysOfWeekItem];
390
+ export declare const DashboardSchedulerCreatePostBodyTimeSlotsItemDaysOfWeekItem: {
391
+ readonly NUMBER_1: 1;
392
+ readonly NUMBER_2: 2;
393
+ readonly NUMBER_3: 3;
394
+ readonly NUMBER_4: 4;
395
+ readonly NUMBER_5: 5;
396
+ readonly NUMBER_6: 6;
397
+ readonly NUMBER_7: 7;
398
+ };
399
+ export type DashboardSchedulerCreatePostBodyTimeSlotsItem = {
400
+ id: string;
401
+ /** @pattern ^([01]\d|2[0-3]):([0-5]\d)$ */
402
+ time: string;
403
+ /** @minItems 1 */
404
+ days_of_week: DashboardSchedulerCreatePostBodyTimeSlotsItemDaysOfWeekItem[];
405
+ };
406
+ export type DashboardSchedulerCreatePostBodyPhoneRotationStatusesItem = typeof DashboardSchedulerCreatePostBodyPhoneRotationStatusesItem[keyof typeof DashboardSchedulerCreatePostBodyPhoneRotationStatusesItem];
407
+ export declare const DashboardSchedulerCreatePostBodyPhoneRotationStatusesItem: {
408
+ readonly primary: "primary";
409
+ readonly secondary: "secondary";
410
+ readonly tertiary: "tertiary";
411
+ readonly quaternary: "quaternary";
412
+ readonly quinary: "quinary";
413
+ readonly senary: "senary";
414
+ readonly septenary: "septenary";
415
+ };
416
+ export type DashboardSchedulerCreatePostBodyPhoneRotation = {
417
+ /** @minItems 1 */
418
+ statuses: DashboardSchedulerCreatePostBodyPhoneRotationStatusesItem[];
419
+ /** @minimum 1 */
420
+ minutes_between: number;
421
+ };
422
+ export type DashboardSchedulerCreatePostBody = {
423
+ /** @minLength 1 */
424
+ campaign_id: string;
425
+ name?: string;
426
+ /** @minItems 1 */
427
+ time_slots: DashboardSchedulerCreatePostBodyTimeSlotsItem[];
428
+ phone_rotation: DashboardSchedulerCreatePostBodyPhoneRotation;
429
+ activate?: boolean;
430
+ };
431
+ export type DashboardSchedulerCreatePost201Data = {
432
+ journey_id: string;
433
+ journey_name: string;
434
+ activated: boolean;
435
+ target_count: number;
436
+ };
437
+ export type DashboardSchedulerCreatePost201 = {
438
+ data: DashboardSchedulerCreatePost201Data;
439
+ };
440
+ export type DashboardSchedulerCreatePost400 = {
441
+ message: string;
442
+ code?: string;
443
+ details?: unknown | null;
444
+ };
445
+ export type DashboardSchedulerCreatePost401 = {
446
+ message: string;
447
+ code?: string;
448
+ details?: unknown | null;
449
+ };
450
+ export type DashboardSchedulerCreatePost404 = {
451
+ message: string;
452
+ code?: string;
453
+ details?: unknown | null;
454
+ };
455
+ export type DashboardSchedulerCreatePost409 = {
456
+ message: string;
457
+ code?: string;
458
+ details?: unknown | null;
459
+ };
460
+ export type DashboardSchedulerCreatePost500 = {
461
+ message: string;
462
+ code?: string;
463
+ details?: unknown | null;
464
+ };
465
+ /**
466
+ * Returns a map of campaign ID to campaign name for the specified campaign IDs.
467
+ * @summary Get campaign names by IDs
468
+ */
469
+ export type dashboardCampaignsNamesPostResponse200 = {
470
+ data: DashboardCampaignsNamesPost200;
471
+ status: 200;
472
+ };
473
+ export type dashboardCampaignsNamesPostResponse401 = {
474
+ data: DashboardCampaignsNamesPost401;
475
+ status: 401;
476
+ };
477
+ export type dashboardCampaignsNamesPostResponse500 = {
478
+ data: DashboardCampaignsNamesPost500;
479
+ status: 500;
480
+ };
481
+ export type dashboardCampaignsNamesPostResponseSuccess = (dashboardCampaignsNamesPostResponse200) & {
482
+ headers: Headers;
483
+ };
484
+ export type dashboardCampaignsNamesPostResponseError = (dashboardCampaignsNamesPostResponse401 | dashboardCampaignsNamesPostResponse500) & {
485
+ headers: Headers;
486
+ };
487
+ export type dashboardCampaignsNamesPostResponse = (dashboardCampaignsNamesPostResponseSuccess | dashboardCampaignsNamesPostResponseError);
488
+ export declare const getDashboardCampaignsNamesPostUrl: () => string;
489
+ export declare const dashboardCampaignsNamesPost: (dashboardCampaignsNamesPostBody: DashboardCampaignsNamesPostBody, options?: RequestInit) => Promise<dashboardCampaignsNamesPostResponse>;
490
+ /**
491
+ * Returns a list of campaigns for the authenticated user's organization.
492
+ * @summary List campaigns
493
+ */
494
+ export type dashboardCampaignsGetResponse200 = {
495
+ data: DashboardCampaignsGet200;
496
+ status: 200;
497
+ };
498
+ export type dashboardCampaignsGetResponse400 = {
499
+ data: DashboardCampaignsGet400;
500
+ status: 400;
501
+ };
502
+ export type dashboardCampaignsGetResponse401 = {
503
+ data: DashboardCampaignsGet401;
504
+ status: 401;
505
+ };
506
+ export type dashboardCampaignsGetResponse404 = {
507
+ data: DashboardCampaignsGet404;
508
+ status: 404;
509
+ };
510
+ export type dashboardCampaignsGetResponse500 = {
511
+ data: DashboardCampaignsGet500;
512
+ status: 500;
513
+ };
514
+ export type dashboardCampaignsGetResponseSuccess = (dashboardCampaignsGetResponse200) & {
515
+ headers: Headers;
516
+ };
517
+ export type dashboardCampaignsGetResponseError = (dashboardCampaignsGetResponse400 | dashboardCampaignsGetResponse401 | dashboardCampaignsGetResponse404 | dashboardCampaignsGetResponse500) & {
518
+ headers: Headers;
519
+ };
520
+ export type dashboardCampaignsGetResponse = (dashboardCampaignsGetResponseSuccess | dashboardCampaignsGetResponseError);
521
+ export declare const getDashboardCampaignsGetUrl: () => string;
522
+ export declare const dashboardCampaignsGet: (options?: RequestInit) => Promise<dashboardCampaignsGetResponse>;
523
+ /**
524
+ * Returns campaign configuration needed for the schedule builder: timezone, contact hours, phone columns, and target count.
525
+ * @summary Get campaign schedule configuration
526
+ */
527
+ export type dashboardCampaignsCampaignIdScheduleConfigGetResponse200 = {
528
+ data: DashboardCampaignsCampaignIdScheduleConfigGet200;
529
+ status: 200;
530
+ };
531
+ export type dashboardCampaignsCampaignIdScheduleConfigGetResponse401 = {
532
+ data: DashboardCampaignsCampaignIdScheduleConfigGet401;
533
+ status: 401;
534
+ };
535
+ export type dashboardCampaignsCampaignIdScheduleConfigGetResponse404 = {
536
+ data: DashboardCampaignsCampaignIdScheduleConfigGet404;
537
+ status: 404;
538
+ };
539
+ export type dashboardCampaignsCampaignIdScheduleConfigGetResponse500 = {
540
+ data: DashboardCampaignsCampaignIdScheduleConfigGet500;
541
+ status: 500;
542
+ };
543
+ export type dashboardCampaignsCampaignIdScheduleConfigGetResponseSuccess = (dashboardCampaignsCampaignIdScheduleConfigGetResponse200) & {
544
+ headers: Headers;
545
+ };
546
+ export type dashboardCampaignsCampaignIdScheduleConfigGetResponseError = (dashboardCampaignsCampaignIdScheduleConfigGetResponse401 | dashboardCampaignsCampaignIdScheduleConfigGetResponse404 | dashboardCampaignsCampaignIdScheduleConfigGetResponse500) & {
547
+ headers: Headers;
548
+ };
549
+ export type dashboardCampaignsCampaignIdScheduleConfigGetResponse = (dashboardCampaignsCampaignIdScheduleConfigGetResponseSuccess | dashboardCampaignsCampaignIdScheduleConfigGetResponseError);
550
+ export declare const getDashboardCampaignsCampaignIdScheduleConfigGetUrl: (campaignId: string) => string;
551
+ export declare const dashboardCampaignsCampaignIdScheduleConfigGet: (campaignId: string, options?: RequestInit) => Promise<dashboardCampaignsCampaignIdScheduleConfigGetResponse>;
552
+ /**
553
+ * Returns a list of agents for the authenticated user's organization.
554
+ * @summary List agents
555
+ */
556
+ export type dashboardAgentsGetResponse200 = {
557
+ data: DashboardAgentsGet200;
558
+ status: 200;
559
+ };
560
+ export type dashboardAgentsGetResponse400 = {
561
+ data: DashboardAgentsGet400;
562
+ status: 400;
563
+ };
564
+ export type dashboardAgentsGetResponse401 = {
565
+ data: DashboardAgentsGet401;
566
+ status: 401;
567
+ };
568
+ export type dashboardAgentsGetResponse404 = {
569
+ data: DashboardAgentsGet404;
570
+ status: 404;
571
+ };
572
+ export type dashboardAgentsGetResponse500 = {
573
+ data: DashboardAgentsGet500;
574
+ status: 500;
575
+ };
576
+ export type dashboardAgentsGetResponseSuccess = (dashboardAgentsGetResponse200) & {
577
+ headers: Headers;
578
+ };
579
+ export type dashboardAgentsGetResponseError = (dashboardAgentsGetResponse400 | dashboardAgentsGetResponse401 | dashboardAgentsGetResponse404 | dashboardAgentsGetResponse500) & {
580
+ headers: Headers;
581
+ };
582
+ export type dashboardAgentsGetResponse = (dashboardAgentsGetResponseSuccess | dashboardAgentsGetResponseError);
583
+ export declare const getDashboardAgentsGetUrl: () => string;
584
+ export declare const dashboardAgentsGet: (options?: RequestInit) => Promise<dashboardAgentsGetResponse>;
585
+ /**
586
+ * Returns unique input field labels from all campaigns for the authenticated user's organization.
587
+ * @summary List input field keys
588
+ */
589
+ export type dashboardInputFieldsGetResponse200 = {
590
+ data: DashboardInputFieldsGet200;
591
+ status: 200;
592
+ };
593
+ export type dashboardInputFieldsGetResponse401 = {
594
+ data: DashboardInputFieldsGet401;
595
+ status: 401;
596
+ };
597
+ export type dashboardInputFieldsGetResponse404 = {
598
+ data: DashboardInputFieldsGet404;
599
+ status: 404;
600
+ };
601
+ export type dashboardInputFieldsGetResponse500 = {
602
+ data: DashboardInputFieldsGet500;
603
+ status: 500;
604
+ };
605
+ export type dashboardInputFieldsGetResponseSuccess = (dashboardInputFieldsGetResponse200) & {
606
+ headers: Headers;
607
+ };
608
+ export type dashboardInputFieldsGetResponseError = (dashboardInputFieldsGetResponse401 | dashboardInputFieldsGetResponse404 | dashboardInputFieldsGetResponse500) & {
609
+ headers: Headers;
610
+ };
611
+ export type dashboardInputFieldsGetResponse = (dashboardInputFieldsGetResponseSuccess | dashboardInputFieldsGetResponseError);
612
+ export declare const getDashboardInputFieldsGetUrl: () => string;
613
+ export declare const dashboardInputFieldsGet: (options?: RequestInit) => Promise<dashboardInputFieldsGetResponse>;
614
+ /**
615
+ * Returns unique output field keys from all calls for the authenticated user's organization.
616
+ * @summary List output field keys
617
+ */
618
+ export type dashboardOutputFieldsGetResponse200 = {
619
+ data: DashboardOutputFieldsGet200;
620
+ status: 200;
621
+ };
622
+ export type dashboardOutputFieldsGetResponse401 = {
623
+ data: DashboardOutputFieldsGet401;
624
+ status: 401;
625
+ };
626
+ export type dashboardOutputFieldsGetResponse404 = {
627
+ data: DashboardOutputFieldsGet404;
628
+ status: 404;
629
+ };
630
+ export type dashboardOutputFieldsGetResponse500 = {
631
+ data: DashboardOutputFieldsGet500;
632
+ status: 500;
633
+ };
634
+ export type dashboardOutputFieldsGetResponseSuccess = (dashboardOutputFieldsGetResponse200) & {
635
+ headers: Headers;
636
+ };
637
+ export type dashboardOutputFieldsGetResponseError = (dashboardOutputFieldsGetResponse401 | dashboardOutputFieldsGetResponse404 | dashboardOutputFieldsGetResponse500) & {
638
+ headers: Headers;
639
+ };
640
+ export type dashboardOutputFieldsGetResponse = (dashboardOutputFieldsGetResponseSuccess | dashboardOutputFieldsGetResponseError);
641
+ export declare const getDashboardOutputFieldsGetUrl: () => string;
642
+ export declare const dashboardOutputFieldsGet: (options?: RequestInit) => Promise<dashboardOutputFieldsGetResponse>;
643
+ /**
644
+ * Returns full call details including target information and input fields.
645
+ * @summary Get call details by ID
646
+ */
647
+ export type dashboardCallsCallIdGetResponse200 = {
648
+ data: DashboardCallsCallIdGet200;
649
+ status: 200;
650
+ };
651
+ export type dashboardCallsCallIdGetResponse401 = {
652
+ data: DashboardCallsCallIdGet401;
653
+ status: 401;
654
+ };
655
+ export type dashboardCallsCallIdGetResponse404 = {
656
+ data: DashboardCallsCallIdGet404;
657
+ status: 404;
658
+ };
659
+ export type dashboardCallsCallIdGetResponse500 = {
660
+ data: DashboardCallsCallIdGet500;
661
+ status: 500;
662
+ };
663
+ export type dashboardCallsCallIdGetResponseSuccess = (dashboardCallsCallIdGetResponse200) & {
664
+ headers: Headers;
665
+ };
666
+ export type dashboardCallsCallIdGetResponseError = (dashboardCallsCallIdGetResponse401 | dashboardCallsCallIdGetResponse404 | dashboardCallsCallIdGetResponse500) & {
667
+ headers: Headers;
668
+ };
669
+ export type dashboardCallsCallIdGetResponse = (dashboardCallsCallIdGetResponseSuccess | dashboardCallsCallIdGetResponseError);
670
+ export declare const getDashboardCallsCallIdGetUrl: (callId: string) => string;
671
+ export declare const dashboardCallsCallIdGet: (callId: string, options?: RequestInit) => Promise<dashboardCallsCallIdGetResponse>;
672
+ /**
673
+ * Returns the review status (reviewed flag and notes) for the specified call IDs.
674
+ * @summary Get review status for multiple calls
675
+ */
676
+ export type dashboardCallsReviewStatusPostResponse200 = {
677
+ data: DashboardCallsReviewStatusPost200;
678
+ status: 200;
679
+ };
680
+ export type dashboardCallsReviewStatusPostResponse400 = {
681
+ data: DashboardCallsReviewStatusPost400;
682
+ status: 400;
683
+ };
684
+ export type dashboardCallsReviewStatusPostResponse401 = {
685
+ data: DashboardCallsReviewStatusPost401;
686
+ status: 401;
687
+ };
688
+ export type dashboardCallsReviewStatusPostResponse500 = {
689
+ data: DashboardCallsReviewStatusPost500;
690
+ status: 500;
691
+ };
692
+ export type dashboardCallsReviewStatusPostResponseSuccess = (dashboardCallsReviewStatusPostResponse200) & {
693
+ headers: Headers;
694
+ };
695
+ export type dashboardCallsReviewStatusPostResponseError = (dashboardCallsReviewStatusPostResponse400 | dashboardCallsReviewStatusPostResponse401 | dashboardCallsReviewStatusPostResponse500) & {
696
+ headers: Headers;
697
+ };
698
+ export type dashboardCallsReviewStatusPostResponse = (dashboardCallsReviewStatusPostResponseSuccess | dashboardCallsReviewStatusPostResponseError);
699
+ export declare const getDashboardCallsReviewStatusPostUrl: () => string;
700
+ export declare const dashboardCallsReviewStatusPost: (dashboardCallsReviewStatusPostBody: DashboardCallsReviewStatusPostBody, options?: RequestInit) => Promise<dashboardCallsReviewStatusPostResponse>;
701
+ /**
702
+ * Updates the reviewed flag and/or notes for a specific call.
703
+ * @summary Update call review status
704
+ */
705
+ export type dashboardCallsCallIdReviewPatchResponse200 = {
706
+ data: DashboardCallsCallIdReviewPatch200;
707
+ status: 200;
708
+ };
709
+ export type dashboardCallsCallIdReviewPatchResponse400 = {
710
+ data: DashboardCallsCallIdReviewPatch400;
711
+ status: 400;
712
+ };
713
+ export type dashboardCallsCallIdReviewPatchResponse401 = {
714
+ data: DashboardCallsCallIdReviewPatch401;
715
+ status: 401;
716
+ };
717
+ export type dashboardCallsCallIdReviewPatchResponse404 = {
718
+ data: DashboardCallsCallIdReviewPatch404;
719
+ status: 404;
720
+ };
721
+ export type dashboardCallsCallIdReviewPatchResponse500 = {
722
+ data: DashboardCallsCallIdReviewPatch500;
723
+ status: 500;
724
+ };
725
+ export type dashboardCallsCallIdReviewPatchResponseSuccess = (dashboardCallsCallIdReviewPatchResponse200) & {
726
+ headers: Headers;
727
+ };
728
+ export type dashboardCallsCallIdReviewPatchResponseError = (dashboardCallsCallIdReviewPatchResponse400 | dashboardCallsCallIdReviewPatchResponse401 | dashboardCallsCallIdReviewPatchResponse404 | dashboardCallsCallIdReviewPatchResponse500) & {
729
+ headers: Headers;
730
+ };
731
+ export type dashboardCallsCallIdReviewPatchResponse = (dashboardCallsCallIdReviewPatchResponseSuccess | dashboardCallsCallIdReviewPatchResponseError);
732
+ export declare const getDashboardCallsCallIdReviewPatchUrl: (callId: string) => string;
733
+ export declare const dashboardCallsCallIdReviewPatch: (callId: string, dashboardCallsCallIdReviewPatchBody: DashboardCallsCallIdReviewPatchBody, options?: RequestInit) => Promise<dashboardCallsCallIdReviewPatchResponse>;
734
+ /**
735
+ * Generates journey JSON from schedule config and validates compliance rules. Returns journey, warnings, target count, and estimated steps without persisting anything.
736
+ * @summary Preview a campaign schedule
737
+ */
738
+ export type dashboardSchedulerPreviewPostResponse200 = {
739
+ data: DashboardSchedulerPreviewPost200;
740
+ status: 200;
741
+ };
742
+ export type dashboardSchedulerPreviewPostResponse401 = {
743
+ data: DashboardSchedulerPreviewPost401;
744
+ status: 401;
745
+ };
746
+ export type dashboardSchedulerPreviewPostResponse404 = {
747
+ data: DashboardSchedulerPreviewPost404;
748
+ status: 404;
749
+ };
750
+ export type dashboardSchedulerPreviewPostResponse500 = {
751
+ data: DashboardSchedulerPreviewPost500;
752
+ status: 500;
753
+ };
754
+ export type dashboardSchedulerPreviewPostResponseSuccess = (dashboardSchedulerPreviewPostResponse200) & {
755
+ headers: Headers;
756
+ };
757
+ export type dashboardSchedulerPreviewPostResponseError = (dashboardSchedulerPreviewPostResponse401 | dashboardSchedulerPreviewPostResponse404 | dashboardSchedulerPreviewPostResponse500) & {
758
+ headers: Headers;
759
+ };
760
+ export type dashboardSchedulerPreviewPostResponse = (dashboardSchedulerPreviewPostResponseSuccess | dashboardSchedulerPreviewPostResponseError);
761
+ export declare const getDashboardSchedulerPreviewPostUrl: () => string;
762
+ export declare const dashboardSchedulerPreviewPost: (dashboardSchedulerPreviewPostBody: DashboardSchedulerPreviewPostBody, options?: RequestInit) => Promise<dashboardSchedulerPreviewPostResponse>;
763
+ /**
764
+ * Creates a journey from schedule config. Validates compliance rules and rejects with 400 if blocking errors exist. Returns 409 if journey name already exists. Optionally activates the journey.
765
+ * @summary Create a campaign schedule
766
+ */
767
+ export type dashboardSchedulerCreatePostResponse201 = {
768
+ data: DashboardSchedulerCreatePost201;
769
+ status: 201;
770
+ };
771
+ export type dashboardSchedulerCreatePostResponse400 = {
772
+ data: DashboardSchedulerCreatePost400;
773
+ status: 400;
774
+ };
775
+ export type dashboardSchedulerCreatePostResponse401 = {
776
+ data: DashboardSchedulerCreatePost401;
777
+ status: 401;
778
+ };
779
+ export type dashboardSchedulerCreatePostResponse404 = {
780
+ data: DashboardSchedulerCreatePost404;
781
+ status: 404;
782
+ };
783
+ export type dashboardSchedulerCreatePostResponse409 = {
784
+ data: DashboardSchedulerCreatePost409;
785
+ status: 409;
786
+ };
787
+ export type dashboardSchedulerCreatePostResponse500 = {
788
+ data: DashboardSchedulerCreatePost500;
789
+ status: 500;
790
+ };
791
+ export type dashboardSchedulerCreatePostResponseSuccess = (dashboardSchedulerCreatePostResponse201) & {
792
+ headers: Headers;
793
+ };
794
+ export type dashboardSchedulerCreatePostResponseError = (dashboardSchedulerCreatePostResponse400 | dashboardSchedulerCreatePostResponse401 | dashboardSchedulerCreatePostResponse404 | dashboardSchedulerCreatePostResponse409 | dashboardSchedulerCreatePostResponse500) & {
795
+ headers: Headers;
796
+ };
797
+ export type dashboardSchedulerCreatePostResponse = (dashboardSchedulerCreatePostResponseSuccess | dashboardSchedulerCreatePostResponseError);
798
+ export declare const getDashboardSchedulerCreatePostUrl: () => string;
799
+ export declare const dashboardSchedulerCreatePost: (dashboardSchedulerCreatePostBody: DashboardSchedulerCreatePostBody, options?: RequestInit) => Promise<dashboardSchedulerCreatePostResponse>;