@domu-ai/kiban-sdk 1.142.0 → 1.143.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dashboard/client.d.ts +391 -0
- package/dashboard/client.js +85 -1
- package/dashboard/schemas.d.ts +315 -0
- package/dashboard/schemas.js +108 -1
- package/package.json +1 -1
package/dashboard/client.d.ts
CHANGED
|
@@ -621,6 +621,205 @@ export type DashboardTargetsLatestGet500 = {
|
|
|
621
621
|
code?: string;
|
|
622
622
|
details?: unknown | null;
|
|
623
623
|
};
|
|
624
|
+
export type DashboardInovoWindmillSchedulesGet200DataItem = {
|
|
625
|
+
name: string;
|
|
626
|
+
campaignId: string;
|
|
627
|
+
windmillSchedulePath: string;
|
|
628
|
+
enabled: boolean;
|
|
629
|
+
schedule: string;
|
|
630
|
+
timezone: string;
|
|
631
|
+
/** @nullable */
|
|
632
|
+
summary?: string | null;
|
|
633
|
+
};
|
|
634
|
+
export type DashboardInovoWindmillSchedulesGet200 = {
|
|
635
|
+
data: DashboardInovoWindmillSchedulesGet200DataItem[];
|
|
636
|
+
};
|
|
637
|
+
export type DashboardInovoWindmillSchedulesGet401 = {
|
|
638
|
+
message: string;
|
|
639
|
+
code?: string;
|
|
640
|
+
details?: unknown | null;
|
|
641
|
+
};
|
|
642
|
+
export type DashboardInovoWindmillSchedulesGet500 = {
|
|
643
|
+
message: string;
|
|
644
|
+
code?: string;
|
|
645
|
+
details?: unknown | null;
|
|
646
|
+
};
|
|
647
|
+
export type DashboardInovoWindmillSchedulesNameGet200DataArgs = {
|
|
648
|
+
[key: string]: unknown;
|
|
649
|
+
};
|
|
650
|
+
export type DashboardInovoWindmillSchedulesNameGet200Data = {
|
|
651
|
+
name: string;
|
|
652
|
+
campaignId: string;
|
|
653
|
+
windmillSchedulePath: string;
|
|
654
|
+
windmillFlowPath: string;
|
|
655
|
+
enabled: boolean;
|
|
656
|
+
schedule: string;
|
|
657
|
+
timezone: string;
|
|
658
|
+
args: DashboardInovoWindmillSchedulesNameGet200DataArgs;
|
|
659
|
+
/** @nullable */
|
|
660
|
+
summary?: string | null;
|
|
661
|
+
/** @nullable */
|
|
662
|
+
description?: string | null;
|
|
663
|
+
/** @nullable */
|
|
664
|
+
no_flow_overlap?: boolean | null;
|
|
665
|
+
/** @nullable */
|
|
666
|
+
paused_until?: string | null;
|
|
667
|
+
/** @nullable */
|
|
668
|
+
cron_version?: string | null;
|
|
669
|
+
};
|
|
670
|
+
export type DashboardInovoWindmillSchedulesNameGet200 = {
|
|
671
|
+
data: DashboardInovoWindmillSchedulesNameGet200Data;
|
|
672
|
+
};
|
|
673
|
+
export type DashboardInovoWindmillSchedulesNameGet401 = {
|
|
674
|
+
message: string;
|
|
675
|
+
code?: string;
|
|
676
|
+
details?: unknown | null;
|
|
677
|
+
};
|
|
678
|
+
export type DashboardInovoWindmillSchedulesNameGet404 = {
|
|
679
|
+
message: string;
|
|
680
|
+
code?: string;
|
|
681
|
+
details?: unknown | null;
|
|
682
|
+
};
|
|
683
|
+
export type DashboardInovoWindmillSchedulesNameGet500 = {
|
|
684
|
+
message: string;
|
|
685
|
+
code?: string;
|
|
686
|
+
details?: unknown | null;
|
|
687
|
+
};
|
|
688
|
+
export type DashboardInovoWindmillSchedulesNamePutBodyArgs = {
|
|
689
|
+
[key: string]: unknown;
|
|
690
|
+
};
|
|
691
|
+
export type DashboardInovoWindmillSchedulesNamePutBody = {
|
|
692
|
+
schedule?: string;
|
|
693
|
+
args?: DashboardInovoWindmillSchedulesNamePutBodyArgs;
|
|
694
|
+
no_flow_overlap?: boolean;
|
|
695
|
+
summary?: string;
|
|
696
|
+
description?: string;
|
|
697
|
+
};
|
|
698
|
+
export type DashboardInovoWindmillSchedulesNamePut200 = {
|
|
699
|
+
message: string;
|
|
700
|
+
};
|
|
701
|
+
export type DashboardInovoWindmillSchedulesNamePut401 = {
|
|
702
|
+
message: string;
|
|
703
|
+
code?: string;
|
|
704
|
+
details?: unknown | null;
|
|
705
|
+
};
|
|
706
|
+
export type DashboardInovoWindmillSchedulesNamePut404 = {
|
|
707
|
+
message: string;
|
|
708
|
+
code?: string;
|
|
709
|
+
details?: unknown | null;
|
|
710
|
+
};
|
|
711
|
+
export type DashboardInovoWindmillSchedulesNamePut500 = {
|
|
712
|
+
message: string;
|
|
713
|
+
code?: string;
|
|
714
|
+
details?: unknown | null;
|
|
715
|
+
};
|
|
716
|
+
export type DashboardInovoWindmillSchedulesNameTogglePatchBody = {
|
|
717
|
+
enabled: boolean;
|
|
718
|
+
};
|
|
719
|
+
export type DashboardInovoWindmillSchedulesNameTogglePatch200 = {
|
|
720
|
+
enabled: boolean;
|
|
721
|
+
};
|
|
722
|
+
export type DashboardInovoWindmillSchedulesNameTogglePatch401 = {
|
|
723
|
+
message: string;
|
|
724
|
+
code?: string;
|
|
725
|
+
details?: unknown | null;
|
|
726
|
+
};
|
|
727
|
+
export type DashboardInovoWindmillSchedulesNameTogglePatch404 = {
|
|
728
|
+
message: string;
|
|
729
|
+
code?: string;
|
|
730
|
+
details?: unknown | null;
|
|
731
|
+
};
|
|
732
|
+
export type DashboardInovoWindmillSchedulesNameTogglePatch500 = {
|
|
733
|
+
message: string;
|
|
734
|
+
code?: string;
|
|
735
|
+
details?: unknown | null;
|
|
736
|
+
};
|
|
737
|
+
/**
|
|
738
|
+
* @nullable
|
|
739
|
+
*/
|
|
740
|
+
export type DashboardInovoWindmillSchedulesNameRunsGet200DataItemArgs = {
|
|
741
|
+
[key: string]: unknown;
|
|
742
|
+
} | null;
|
|
743
|
+
export type DashboardInovoWindmillSchedulesNameRunsGet200DataItem = {
|
|
744
|
+
id: string;
|
|
745
|
+
created_at: string;
|
|
746
|
+
/** @nullable */
|
|
747
|
+
started_at?: string | null;
|
|
748
|
+
/** @nullable */
|
|
749
|
+
duration_ms?: number | null;
|
|
750
|
+
/** @nullable */
|
|
751
|
+
success?: boolean | null;
|
|
752
|
+
/** @nullable */
|
|
753
|
+
args?: DashboardInovoWindmillSchedulesNameRunsGet200DataItemArgs;
|
|
754
|
+
/** @nullable */
|
|
755
|
+
is_skipped?: boolean | null;
|
|
756
|
+
};
|
|
757
|
+
export type DashboardInovoWindmillSchedulesNameRunsGet200 = {
|
|
758
|
+
data: DashboardInovoWindmillSchedulesNameRunsGet200DataItem[];
|
|
759
|
+
};
|
|
760
|
+
export type DashboardInovoWindmillSchedulesNameRunsGet401 = {
|
|
761
|
+
message: string;
|
|
762
|
+
code?: string;
|
|
763
|
+
details?: unknown | null;
|
|
764
|
+
};
|
|
765
|
+
export type DashboardInovoWindmillSchedulesNameRunsGet404 = {
|
|
766
|
+
message: string;
|
|
767
|
+
code?: string;
|
|
768
|
+
details?: unknown | null;
|
|
769
|
+
};
|
|
770
|
+
export type DashboardInovoWindmillSchedulesNameRunsGet500 = {
|
|
771
|
+
message: string;
|
|
772
|
+
code?: string;
|
|
773
|
+
details?: unknown | null;
|
|
774
|
+
};
|
|
775
|
+
export type DashboardInovoWindmillSchedulesNamePresignUploadPostBody = {
|
|
776
|
+
/**
|
|
777
|
+
* Original file name
|
|
778
|
+
* @minLength 1
|
|
779
|
+
*/
|
|
780
|
+
fileName: string;
|
|
781
|
+
};
|
|
782
|
+
export type DashboardInovoWindmillSchedulesNamePresignUploadPost200Data = {
|
|
783
|
+
presignedUrl: string;
|
|
784
|
+
fileKey: string;
|
|
785
|
+
expiresIn: number;
|
|
786
|
+
};
|
|
787
|
+
export type DashboardInovoWindmillSchedulesNamePresignUploadPost200 = {
|
|
788
|
+
data: DashboardInovoWindmillSchedulesNamePresignUploadPost200Data;
|
|
789
|
+
};
|
|
790
|
+
export type DashboardInovoWindmillSchedulesNamePresignUploadPost401 = {
|
|
791
|
+
message: string;
|
|
792
|
+
code?: string;
|
|
793
|
+
details?: unknown | null;
|
|
794
|
+
};
|
|
795
|
+
export type DashboardInovoWindmillSchedulesNamePresignUploadPost404 = {
|
|
796
|
+
message: string;
|
|
797
|
+
code?: string;
|
|
798
|
+
details?: unknown | null;
|
|
799
|
+
};
|
|
800
|
+
export type DashboardInovoWindmillSchedulesNamePresignUploadPost500 = {
|
|
801
|
+
message: string;
|
|
802
|
+
code?: string;
|
|
803
|
+
details?: unknown | null;
|
|
804
|
+
};
|
|
805
|
+
export type DashboardInovoWindmillSchedulesNamePreviewGet200 = {
|
|
806
|
+
data: string[];
|
|
807
|
+
};
|
|
808
|
+
export type DashboardInovoWindmillSchedulesNamePreviewGet401 = {
|
|
809
|
+
message: string;
|
|
810
|
+
code?: string;
|
|
811
|
+
details?: unknown | null;
|
|
812
|
+
};
|
|
813
|
+
export type DashboardInovoWindmillSchedulesNamePreviewGet404 = {
|
|
814
|
+
message: string;
|
|
815
|
+
code?: string;
|
|
816
|
+
details?: unknown | null;
|
|
817
|
+
};
|
|
818
|
+
export type DashboardInovoWindmillSchedulesNamePreviewGet500 = {
|
|
819
|
+
message: string;
|
|
820
|
+
code?: string;
|
|
821
|
+
details?: unknown | null;
|
|
822
|
+
};
|
|
624
823
|
/**
|
|
625
824
|
* Returns a map of campaign ID to campaign name for the specified campaign IDs.
|
|
626
825
|
* @summary Get campaign names by IDs
|
|
@@ -1096,3 +1295,195 @@ export type dashboardTargetsLatestGetResponseError = (dashboardTargetsLatestGetR
|
|
|
1096
1295
|
export type dashboardTargetsLatestGetResponse = (dashboardTargetsLatestGetResponseSuccess | dashboardTargetsLatestGetResponseError);
|
|
1097
1296
|
export declare const getDashboardTargetsLatestGetUrl: (params: DashboardTargetsLatestGetParams) => string;
|
|
1098
1297
|
export declare const dashboardTargetsLatestGet: (params: DashboardTargetsLatestGetParams, options?: RequestInit) => Promise<dashboardTargetsLatestGetResponse>;
|
|
1298
|
+
/**
|
|
1299
|
+
* @summary List Windmill schedules for the authenticated client
|
|
1300
|
+
*/
|
|
1301
|
+
export type dashboardInovoWindmillSchedulesGetResponse200 = {
|
|
1302
|
+
data: DashboardInovoWindmillSchedulesGet200;
|
|
1303
|
+
status: 200;
|
|
1304
|
+
};
|
|
1305
|
+
export type dashboardInovoWindmillSchedulesGetResponse401 = {
|
|
1306
|
+
data: DashboardInovoWindmillSchedulesGet401;
|
|
1307
|
+
status: 401;
|
|
1308
|
+
};
|
|
1309
|
+
export type dashboardInovoWindmillSchedulesGetResponse500 = {
|
|
1310
|
+
data: DashboardInovoWindmillSchedulesGet500;
|
|
1311
|
+
status: 500;
|
|
1312
|
+
};
|
|
1313
|
+
export type dashboardInovoWindmillSchedulesGetResponseSuccess = (dashboardInovoWindmillSchedulesGetResponse200) & {
|
|
1314
|
+
headers: Headers;
|
|
1315
|
+
};
|
|
1316
|
+
export type dashboardInovoWindmillSchedulesGetResponseError = (dashboardInovoWindmillSchedulesGetResponse401 | dashboardInovoWindmillSchedulesGetResponse500) & {
|
|
1317
|
+
headers: Headers;
|
|
1318
|
+
};
|
|
1319
|
+
export type dashboardInovoWindmillSchedulesGetResponse = (dashboardInovoWindmillSchedulesGetResponseSuccess | dashboardInovoWindmillSchedulesGetResponseError);
|
|
1320
|
+
export declare const getDashboardInovoWindmillSchedulesGetUrl: () => string;
|
|
1321
|
+
export declare const dashboardInovoWindmillSchedulesGet: (options?: RequestInit) => Promise<dashboardInovoWindmillSchedulesGetResponse>;
|
|
1322
|
+
/**
|
|
1323
|
+
* @summary Get Windmill schedule detail with current args and config
|
|
1324
|
+
*/
|
|
1325
|
+
export type dashboardInovoWindmillSchedulesNameGetResponse200 = {
|
|
1326
|
+
data: DashboardInovoWindmillSchedulesNameGet200;
|
|
1327
|
+
status: 200;
|
|
1328
|
+
};
|
|
1329
|
+
export type dashboardInovoWindmillSchedulesNameGetResponse401 = {
|
|
1330
|
+
data: DashboardInovoWindmillSchedulesNameGet401;
|
|
1331
|
+
status: 401;
|
|
1332
|
+
};
|
|
1333
|
+
export type dashboardInovoWindmillSchedulesNameGetResponse404 = {
|
|
1334
|
+
data: DashboardInovoWindmillSchedulesNameGet404;
|
|
1335
|
+
status: 404;
|
|
1336
|
+
};
|
|
1337
|
+
export type dashboardInovoWindmillSchedulesNameGetResponse500 = {
|
|
1338
|
+
data: DashboardInovoWindmillSchedulesNameGet500;
|
|
1339
|
+
status: 500;
|
|
1340
|
+
};
|
|
1341
|
+
export type dashboardInovoWindmillSchedulesNameGetResponseSuccess = (dashboardInovoWindmillSchedulesNameGetResponse200) & {
|
|
1342
|
+
headers: Headers;
|
|
1343
|
+
};
|
|
1344
|
+
export type dashboardInovoWindmillSchedulesNameGetResponseError = (dashboardInovoWindmillSchedulesNameGetResponse401 | dashboardInovoWindmillSchedulesNameGetResponse404 | dashboardInovoWindmillSchedulesNameGetResponse500) & {
|
|
1345
|
+
headers: Headers;
|
|
1346
|
+
};
|
|
1347
|
+
export type dashboardInovoWindmillSchedulesNameGetResponse = (dashboardInovoWindmillSchedulesNameGetResponseSuccess | dashboardInovoWindmillSchedulesNameGetResponseError);
|
|
1348
|
+
export declare const getDashboardInovoWindmillSchedulesNameGetUrl: (name: string) => string;
|
|
1349
|
+
export declare const dashboardInovoWindmillSchedulesNameGet: (name: string, options?: RequestInit) => Promise<dashboardInovoWindmillSchedulesNameGetResponse>;
|
|
1350
|
+
/**
|
|
1351
|
+
* @summary Update schedule config and args
|
|
1352
|
+
*/
|
|
1353
|
+
export type dashboardInovoWindmillSchedulesNamePutResponse200 = {
|
|
1354
|
+
data: DashboardInovoWindmillSchedulesNamePut200;
|
|
1355
|
+
status: 200;
|
|
1356
|
+
};
|
|
1357
|
+
export type dashboardInovoWindmillSchedulesNamePutResponse401 = {
|
|
1358
|
+
data: DashboardInovoWindmillSchedulesNamePut401;
|
|
1359
|
+
status: 401;
|
|
1360
|
+
};
|
|
1361
|
+
export type dashboardInovoWindmillSchedulesNamePutResponse404 = {
|
|
1362
|
+
data: DashboardInovoWindmillSchedulesNamePut404;
|
|
1363
|
+
status: 404;
|
|
1364
|
+
};
|
|
1365
|
+
export type dashboardInovoWindmillSchedulesNamePutResponse500 = {
|
|
1366
|
+
data: DashboardInovoWindmillSchedulesNamePut500;
|
|
1367
|
+
status: 500;
|
|
1368
|
+
};
|
|
1369
|
+
export type dashboardInovoWindmillSchedulesNamePutResponseSuccess = (dashboardInovoWindmillSchedulesNamePutResponse200) & {
|
|
1370
|
+
headers: Headers;
|
|
1371
|
+
};
|
|
1372
|
+
export type dashboardInovoWindmillSchedulesNamePutResponseError = (dashboardInovoWindmillSchedulesNamePutResponse401 | dashboardInovoWindmillSchedulesNamePutResponse404 | dashboardInovoWindmillSchedulesNamePutResponse500) & {
|
|
1373
|
+
headers: Headers;
|
|
1374
|
+
};
|
|
1375
|
+
export type dashboardInovoWindmillSchedulesNamePutResponse = (dashboardInovoWindmillSchedulesNamePutResponseSuccess | dashboardInovoWindmillSchedulesNamePutResponseError);
|
|
1376
|
+
export declare const getDashboardInovoWindmillSchedulesNamePutUrl: (name: string) => string;
|
|
1377
|
+
export declare const dashboardInovoWindmillSchedulesNamePut: (name: string, dashboardInovoWindmillSchedulesNamePutBody: DashboardInovoWindmillSchedulesNamePutBody, options?: RequestInit) => Promise<dashboardInovoWindmillSchedulesNamePutResponse>;
|
|
1378
|
+
/**
|
|
1379
|
+
* @summary Enable or disable a schedule
|
|
1380
|
+
*/
|
|
1381
|
+
export type dashboardInovoWindmillSchedulesNameTogglePatchResponse200 = {
|
|
1382
|
+
data: DashboardInovoWindmillSchedulesNameTogglePatch200;
|
|
1383
|
+
status: 200;
|
|
1384
|
+
};
|
|
1385
|
+
export type dashboardInovoWindmillSchedulesNameTogglePatchResponse401 = {
|
|
1386
|
+
data: DashboardInovoWindmillSchedulesNameTogglePatch401;
|
|
1387
|
+
status: 401;
|
|
1388
|
+
};
|
|
1389
|
+
export type dashboardInovoWindmillSchedulesNameTogglePatchResponse404 = {
|
|
1390
|
+
data: DashboardInovoWindmillSchedulesNameTogglePatch404;
|
|
1391
|
+
status: 404;
|
|
1392
|
+
};
|
|
1393
|
+
export type dashboardInovoWindmillSchedulesNameTogglePatchResponse500 = {
|
|
1394
|
+
data: DashboardInovoWindmillSchedulesNameTogglePatch500;
|
|
1395
|
+
status: 500;
|
|
1396
|
+
};
|
|
1397
|
+
export type dashboardInovoWindmillSchedulesNameTogglePatchResponseSuccess = (dashboardInovoWindmillSchedulesNameTogglePatchResponse200) & {
|
|
1398
|
+
headers: Headers;
|
|
1399
|
+
};
|
|
1400
|
+
export type dashboardInovoWindmillSchedulesNameTogglePatchResponseError = (dashboardInovoWindmillSchedulesNameTogglePatchResponse401 | dashboardInovoWindmillSchedulesNameTogglePatchResponse404 | dashboardInovoWindmillSchedulesNameTogglePatchResponse500) & {
|
|
1401
|
+
headers: Headers;
|
|
1402
|
+
};
|
|
1403
|
+
export type dashboardInovoWindmillSchedulesNameTogglePatchResponse = (dashboardInovoWindmillSchedulesNameTogglePatchResponseSuccess | dashboardInovoWindmillSchedulesNameTogglePatchResponseError);
|
|
1404
|
+
export declare const getDashboardInovoWindmillSchedulesNameTogglePatchUrl: (name: string) => string;
|
|
1405
|
+
export declare const dashboardInovoWindmillSchedulesNameTogglePatch: (name: string, dashboardInovoWindmillSchedulesNameTogglePatchBody: DashboardInovoWindmillSchedulesNameTogglePatchBody, options?: RequestInit) => Promise<dashboardInovoWindmillSchedulesNameTogglePatchResponse>;
|
|
1406
|
+
/**
|
|
1407
|
+
* @summary Get run history for a schedule
|
|
1408
|
+
*/
|
|
1409
|
+
export type dashboardInovoWindmillSchedulesNameRunsGetResponse200 = {
|
|
1410
|
+
data: DashboardInovoWindmillSchedulesNameRunsGet200;
|
|
1411
|
+
status: 200;
|
|
1412
|
+
};
|
|
1413
|
+
export type dashboardInovoWindmillSchedulesNameRunsGetResponse401 = {
|
|
1414
|
+
data: DashboardInovoWindmillSchedulesNameRunsGet401;
|
|
1415
|
+
status: 401;
|
|
1416
|
+
};
|
|
1417
|
+
export type dashboardInovoWindmillSchedulesNameRunsGetResponse404 = {
|
|
1418
|
+
data: DashboardInovoWindmillSchedulesNameRunsGet404;
|
|
1419
|
+
status: 404;
|
|
1420
|
+
};
|
|
1421
|
+
export type dashboardInovoWindmillSchedulesNameRunsGetResponse500 = {
|
|
1422
|
+
data: DashboardInovoWindmillSchedulesNameRunsGet500;
|
|
1423
|
+
status: 500;
|
|
1424
|
+
};
|
|
1425
|
+
export type dashboardInovoWindmillSchedulesNameRunsGetResponseSuccess = (dashboardInovoWindmillSchedulesNameRunsGetResponse200) & {
|
|
1426
|
+
headers: Headers;
|
|
1427
|
+
};
|
|
1428
|
+
export type dashboardInovoWindmillSchedulesNameRunsGetResponseError = (dashboardInovoWindmillSchedulesNameRunsGetResponse401 | dashboardInovoWindmillSchedulesNameRunsGetResponse404 | dashboardInovoWindmillSchedulesNameRunsGetResponse500) & {
|
|
1429
|
+
headers: Headers;
|
|
1430
|
+
};
|
|
1431
|
+
export type dashboardInovoWindmillSchedulesNameRunsGetResponse = (dashboardInovoWindmillSchedulesNameRunsGetResponseSuccess | dashboardInovoWindmillSchedulesNameRunsGetResponseError);
|
|
1432
|
+
export declare const getDashboardInovoWindmillSchedulesNameRunsGetUrl: (name: string) => string;
|
|
1433
|
+
export declare const dashboardInovoWindmillSchedulesNameRunsGet: (name: string, options?: RequestInit) => Promise<dashboardInovoWindmillSchedulesNameRunsGetResponse>;
|
|
1434
|
+
/**
|
|
1435
|
+
* @summary Get a presigned URL for uploading a file to the schedule's S3 folder
|
|
1436
|
+
*/
|
|
1437
|
+
export type dashboardInovoWindmillSchedulesNamePresignUploadPostResponse200 = {
|
|
1438
|
+
data: DashboardInovoWindmillSchedulesNamePresignUploadPost200;
|
|
1439
|
+
status: 200;
|
|
1440
|
+
};
|
|
1441
|
+
export type dashboardInovoWindmillSchedulesNamePresignUploadPostResponse401 = {
|
|
1442
|
+
data: DashboardInovoWindmillSchedulesNamePresignUploadPost401;
|
|
1443
|
+
status: 401;
|
|
1444
|
+
};
|
|
1445
|
+
export type dashboardInovoWindmillSchedulesNamePresignUploadPostResponse404 = {
|
|
1446
|
+
data: DashboardInovoWindmillSchedulesNamePresignUploadPost404;
|
|
1447
|
+
status: 404;
|
|
1448
|
+
};
|
|
1449
|
+
export type dashboardInovoWindmillSchedulesNamePresignUploadPostResponse500 = {
|
|
1450
|
+
data: DashboardInovoWindmillSchedulesNamePresignUploadPost500;
|
|
1451
|
+
status: 500;
|
|
1452
|
+
};
|
|
1453
|
+
export type dashboardInovoWindmillSchedulesNamePresignUploadPostResponseSuccess = (dashboardInovoWindmillSchedulesNamePresignUploadPostResponse200) & {
|
|
1454
|
+
headers: Headers;
|
|
1455
|
+
};
|
|
1456
|
+
export type dashboardInovoWindmillSchedulesNamePresignUploadPostResponseError = (dashboardInovoWindmillSchedulesNamePresignUploadPostResponse401 | dashboardInovoWindmillSchedulesNamePresignUploadPostResponse404 | dashboardInovoWindmillSchedulesNamePresignUploadPostResponse500) & {
|
|
1457
|
+
headers: Headers;
|
|
1458
|
+
};
|
|
1459
|
+
export type dashboardInovoWindmillSchedulesNamePresignUploadPostResponse = (dashboardInovoWindmillSchedulesNamePresignUploadPostResponseSuccess | dashboardInovoWindmillSchedulesNamePresignUploadPostResponseError);
|
|
1460
|
+
export declare const getDashboardInovoWindmillSchedulesNamePresignUploadPostUrl: (name: string) => string;
|
|
1461
|
+
export declare const dashboardInovoWindmillSchedulesNamePresignUploadPost: (name: string, dashboardInovoWindmillSchedulesNamePresignUploadPostBody: DashboardInovoWindmillSchedulesNamePresignUploadPostBody, options?: RequestInit) => Promise<dashboardInovoWindmillSchedulesNamePresignUploadPostResponse>;
|
|
1462
|
+
/**
|
|
1463
|
+
* @summary Get next 5 estimated run times
|
|
1464
|
+
*/
|
|
1465
|
+
export type dashboardInovoWindmillSchedulesNamePreviewGetResponse200 = {
|
|
1466
|
+
data: DashboardInovoWindmillSchedulesNamePreviewGet200;
|
|
1467
|
+
status: 200;
|
|
1468
|
+
};
|
|
1469
|
+
export type dashboardInovoWindmillSchedulesNamePreviewGetResponse401 = {
|
|
1470
|
+
data: DashboardInovoWindmillSchedulesNamePreviewGet401;
|
|
1471
|
+
status: 401;
|
|
1472
|
+
};
|
|
1473
|
+
export type dashboardInovoWindmillSchedulesNamePreviewGetResponse404 = {
|
|
1474
|
+
data: DashboardInovoWindmillSchedulesNamePreviewGet404;
|
|
1475
|
+
status: 404;
|
|
1476
|
+
};
|
|
1477
|
+
export type dashboardInovoWindmillSchedulesNamePreviewGetResponse500 = {
|
|
1478
|
+
data: DashboardInovoWindmillSchedulesNamePreviewGet500;
|
|
1479
|
+
status: 500;
|
|
1480
|
+
};
|
|
1481
|
+
export type dashboardInovoWindmillSchedulesNamePreviewGetResponseSuccess = (dashboardInovoWindmillSchedulesNamePreviewGetResponse200) & {
|
|
1482
|
+
headers: Headers;
|
|
1483
|
+
};
|
|
1484
|
+
export type dashboardInovoWindmillSchedulesNamePreviewGetResponseError = (dashboardInovoWindmillSchedulesNamePreviewGetResponse401 | dashboardInovoWindmillSchedulesNamePreviewGetResponse404 | dashboardInovoWindmillSchedulesNamePreviewGetResponse500) & {
|
|
1485
|
+
headers: Headers;
|
|
1486
|
+
};
|
|
1487
|
+
export type dashboardInovoWindmillSchedulesNamePreviewGetResponse = (dashboardInovoWindmillSchedulesNamePreviewGetResponseSuccess | dashboardInovoWindmillSchedulesNamePreviewGetResponseError);
|
|
1488
|
+
export declare const getDashboardInovoWindmillSchedulesNamePreviewGetUrl: (name: string) => string;
|
|
1489
|
+
export declare const dashboardInovoWindmillSchedulesNamePreviewGet: (name: string, options?: RequestInit) => Promise<dashboardInovoWindmillSchedulesNamePreviewGetResponse>;
|
package/dashboard/client.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.dashboardTargetsLatestGet = exports.getDashboardTargetsLatestGetUrl = exports.dashboardClientFeaturesGet = exports.getDashboardClientFeaturesGetUrl = exports.dashboardSchedulerCreatePost = exports.getDashboardSchedulerCreatePostUrl = exports.dashboardSchedulerPreviewPost = exports.getDashboardSchedulerPreviewPostUrl = exports.dashboardAgentSandboxStartPost = exports.getDashboardAgentSandboxStartPostUrl = exports.dashboardCallsCallIdReviewPatch = exports.getDashboardCallsCallIdReviewPatchUrl = exports.dashboardCallsReviewStatusPost = exports.getDashboardCallsReviewStatusPostUrl = exports.dashboardCallsCallIdGet = exports.getDashboardCallsCallIdGetUrl = exports.dashboardOutputFieldsGet = exports.getDashboardOutputFieldsGetUrl = exports.dashboardInputFieldsGet = exports.getDashboardInputFieldsGetUrl = exports.dashboardAgentsGroupedGet = exports.getDashboardAgentsGroupedGetUrl = exports.dashboardAgentsGet = exports.getDashboardAgentsGetUrl = exports.dashboardCampaignsCampaignIdScheduleConfigGet = exports.getDashboardCampaignsCampaignIdScheduleConfigGetUrl = exports.dashboardCampaignsCampaignIdInputFieldsGet = exports.getDashboardCampaignsCampaignIdInputFieldsGetUrl = exports.dashboardCampaignsGet = exports.getDashboardCampaignsGetUrl = exports.dashboardCampaignsNamesPost = exports.getDashboardCampaignsNamesPostUrl = exports.DashboardSchedulerCreatePostBodyPhoneRotationStatusesItem = exports.DashboardSchedulerCreatePostBodyTimeSlotsItemDaysOfWeekItem = exports.DashboardSchedulerPreviewPost200DataWarningsItemSeverity = exports.DashboardSchedulerPreviewPost200DataWarningsItemType = exports.DashboardSchedulerPreviewPost200DataJourneyStepsItemType = exports.DashboardSchedulerPreviewPostBodyPhoneRotationStatusesItem = exports.DashboardSchedulerPreviewPostBodyTimeSlotsItemDaysOfWeekItem = exports.DashboardCampaignsCampaignIdInputFieldsGet200DataItemType = void 0;
|
|
3
|
+
exports.dashboardInovoWindmillSchedulesNameRunsGet = exports.getDashboardInovoWindmillSchedulesNameRunsGetUrl = exports.dashboardInovoWindmillSchedulesNameTogglePatch = exports.getDashboardInovoWindmillSchedulesNameTogglePatchUrl = exports.dashboardInovoWindmillSchedulesNamePut = exports.getDashboardInovoWindmillSchedulesNamePutUrl = exports.dashboardInovoWindmillSchedulesNameGet = exports.getDashboardInovoWindmillSchedulesNameGetUrl = exports.dashboardInovoWindmillSchedulesGet = exports.getDashboardInovoWindmillSchedulesGetUrl = exports.dashboardTargetsLatestGet = exports.getDashboardTargetsLatestGetUrl = exports.dashboardClientFeaturesGet = exports.getDashboardClientFeaturesGetUrl = exports.dashboardSchedulerCreatePost = exports.getDashboardSchedulerCreatePostUrl = exports.dashboardSchedulerPreviewPost = exports.getDashboardSchedulerPreviewPostUrl = exports.dashboardAgentSandboxStartPost = exports.getDashboardAgentSandboxStartPostUrl = exports.dashboardCallsCallIdReviewPatch = exports.getDashboardCallsCallIdReviewPatchUrl = exports.dashboardCallsReviewStatusPost = exports.getDashboardCallsReviewStatusPostUrl = exports.dashboardCallsCallIdGet = exports.getDashboardCallsCallIdGetUrl = exports.dashboardOutputFieldsGet = exports.getDashboardOutputFieldsGetUrl = exports.dashboardInputFieldsGet = exports.getDashboardInputFieldsGetUrl = exports.dashboardAgentsGroupedGet = exports.getDashboardAgentsGroupedGetUrl = exports.dashboardAgentsGet = exports.getDashboardAgentsGetUrl = exports.dashboardCampaignsCampaignIdScheduleConfigGet = exports.getDashboardCampaignsCampaignIdScheduleConfigGetUrl = exports.dashboardCampaignsCampaignIdInputFieldsGet = exports.getDashboardCampaignsCampaignIdInputFieldsGetUrl = exports.dashboardCampaignsGet = exports.getDashboardCampaignsGetUrl = exports.dashboardCampaignsNamesPost = exports.getDashboardCampaignsNamesPostUrl = exports.DashboardSchedulerCreatePostBodyPhoneRotationStatusesItem = exports.DashboardSchedulerCreatePostBodyTimeSlotsItemDaysOfWeekItem = exports.DashboardSchedulerPreviewPost200DataWarningsItemSeverity = exports.DashboardSchedulerPreviewPost200DataWarningsItemType = exports.DashboardSchedulerPreviewPost200DataJourneyStepsItemType = exports.DashboardSchedulerPreviewPostBodyPhoneRotationStatusesItem = exports.DashboardSchedulerPreviewPostBodyTimeSlotsItemDaysOfWeekItem = exports.DashboardCampaignsCampaignIdInputFieldsGet200DataItemType = void 0;
|
|
4
|
+
exports.dashboardInovoWindmillSchedulesNamePreviewGet = exports.getDashboardInovoWindmillSchedulesNamePreviewGetUrl = exports.dashboardInovoWindmillSchedulesNamePresignUploadPost = exports.getDashboardInovoWindmillSchedulesNamePresignUploadPostUrl = void 0;
|
|
4
5
|
/**
|
|
5
6
|
* Generated by orval v8.2.0 🍺
|
|
6
7
|
* Do not edit manually.
|
|
@@ -263,3 +264,86 @@ const dashboardTargetsLatestGet = async (params, options) => {
|
|
|
263
264
|
});
|
|
264
265
|
};
|
|
265
266
|
exports.dashboardTargetsLatestGet = dashboardTargetsLatestGet;
|
|
267
|
+
const getDashboardInovoWindmillSchedulesGetUrl = () => {
|
|
268
|
+
return `/v1/dashboard/inovo/windmill-schedules`;
|
|
269
|
+
};
|
|
270
|
+
exports.getDashboardInovoWindmillSchedulesGetUrl = getDashboardInovoWindmillSchedulesGetUrl;
|
|
271
|
+
const dashboardInovoWindmillSchedulesGet = async (options) => {
|
|
272
|
+
return (0, fetcher_1.customFetcher)((0, exports.getDashboardInovoWindmillSchedulesGetUrl)(), {
|
|
273
|
+
...options,
|
|
274
|
+
method: 'GET'
|
|
275
|
+
});
|
|
276
|
+
};
|
|
277
|
+
exports.dashboardInovoWindmillSchedulesGet = dashboardInovoWindmillSchedulesGet;
|
|
278
|
+
const getDashboardInovoWindmillSchedulesNameGetUrl = (name) => {
|
|
279
|
+
return `/v1/dashboard/inovo/windmill-schedules/${name}`;
|
|
280
|
+
};
|
|
281
|
+
exports.getDashboardInovoWindmillSchedulesNameGetUrl = getDashboardInovoWindmillSchedulesNameGetUrl;
|
|
282
|
+
const dashboardInovoWindmillSchedulesNameGet = async (name, options) => {
|
|
283
|
+
return (0, fetcher_1.customFetcher)((0, exports.getDashboardInovoWindmillSchedulesNameGetUrl)(name), {
|
|
284
|
+
...options,
|
|
285
|
+
method: 'GET'
|
|
286
|
+
});
|
|
287
|
+
};
|
|
288
|
+
exports.dashboardInovoWindmillSchedulesNameGet = dashboardInovoWindmillSchedulesNameGet;
|
|
289
|
+
const getDashboardInovoWindmillSchedulesNamePutUrl = (name) => {
|
|
290
|
+
return `/v1/dashboard/inovo/windmill-schedules/${name}`;
|
|
291
|
+
};
|
|
292
|
+
exports.getDashboardInovoWindmillSchedulesNamePutUrl = getDashboardInovoWindmillSchedulesNamePutUrl;
|
|
293
|
+
const dashboardInovoWindmillSchedulesNamePut = async (name, dashboardInovoWindmillSchedulesNamePutBody, options) => {
|
|
294
|
+
return (0, fetcher_1.customFetcher)((0, exports.getDashboardInovoWindmillSchedulesNamePutUrl)(name), {
|
|
295
|
+
...options,
|
|
296
|
+
method: 'PUT',
|
|
297
|
+
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
298
|
+
body: JSON.stringify(dashboardInovoWindmillSchedulesNamePutBody)
|
|
299
|
+
});
|
|
300
|
+
};
|
|
301
|
+
exports.dashboardInovoWindmillSchedulesNamePut = dashboardInovoWindmillSchedulesNamePut;
|
|
302
|
+
const getDashboardInovoWindmillSchedulesNameTogglePatchUrl = (name) => {
|
|
303
|
+
return `/v1/dashboard/inovo/windmill-schedules/${name}/toggle`;
|
|
304
|
+
};
|
|
305
|
+
exports.getDashboardInovoWindmillSchedulesNameTogglePatchUrl = getDashboardInovoWindmillSchedulesNameTogglePatchUrl;
|
|
306
|
+
const dashboardInovoWindmillSchedulesNameTogglePatch = async (name, dashboardInovoWindmillSchedulesNameTogglePatchBody, options) => {
|
|
307
|
+
return (0, fetcher_1.customFetcher)((0, exports.getDashboardInovoWindmillSchedulesNameTogglePatchUrl)(name), {
|
|
308
|
+
...options,
|
|
309
|
+
method: 'PATCH',
|
|
310
|
+
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
311
|
+
body: JSON.stringify(dashboardInovoWindmillSchedulesNameTogglePatchBody)
|
|
312
|
+
});
|
|
313
|
+
};
|
|
314
|
+
exports.dashboardInovoWindmillSchedulesNameTogglePatch = dashboardInovoWindmillSchedulesNameTogglePatch;
|
|
315
|
+
const getDashboardInovoWindmillSchedulesNameRunsGetUrl = (name) => {
|
|
316
|
+
return `/v1/dashboard/inovo/windmill-schedules/${name}/runs`;
|
|
317
|
+
};
|
|
318
|
+
exports.getDashboardInovoWindmillSchedulesNameRunsGetUrl = getDashboardInovoWindmillSchedulesNameRunsGetUrl;
|
|
319
|
+
const dashboardInovoWindmillSchedulesNameRunsGet = async (name, options) => {
|
|
320
|
+
return (0, fetcher_1.customFetcher)((0, exports.getDashboardInovoWindmillSchedulesNameRunsGetUrl)(name), {
|
|
321
|
+
...options,
|
|
322
|
+
method: 'GET'
|
|
323
|
+
});
|
|
324
|
+
};
|
|
325
|
+
exports.dashboardInovoWindmillSchedulesNameRunsGet = dashboardInovoWindmillSchedulesNameRunsGet;
|
|
326
|
+
const getDashboardInovoWindmillSchedulesNamePresignUploadPostUrl = (name) => {
|
|
327
|
+
return `/v1/dashboard/inovo/windmill-schedules/${name}/presign-upload`;
|
|
328
|
+
};
|
|
329
|
+
exports.getDashboardInovoWindmillSchedulesNamePresignUploadPostUrl = getDashboardInovoWindmillSchedulesNamePresignUploadPostUrl;
|
|
330
|
+
const dashboardInovoWindmillSchedulesNamePresignUploadPost = async (name, dashboardInovoWindmillSchedulesNamePresignUploadPostBody, options) => {
|
|
331
|
+
return (0, fetcher_1.customFetcher)((0, exports.getDashboardInovoWindmillSchedulesNamePresignUploadPostUrl)(name), {
|
|
332
|
+
...options,
|
|
333
|
+
method: 'POST',
|
|
334
|
+
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
335
|
+
body: JSON.stringify(dashboardInovoWindmillSchedulesNamePresignUploadPostBody)
|
|
336
|
+
});
|
|
337
|
+
};
|
|
338
|
+
exports.dashboardInovoWindmillSchedulesNamePresignUploadPost = dashboardInovoWindmillSchedulesNamePresignUploadPost;
|
|
339
|
+
const getDashboardInovoWindmillSchedulesNamePreviewGetUrl = (name) => {
|
|
340
|
+
return `/v1/dashboard/inovo/windmill-schedules/${name}/preview`;
|
|
341
|
+
};
|
|
342
|
+
exports.getDashboardInovoWindmillSchedulesNamePreviewGetUrl = getDashboardInovoWindmillSchedulesNamePreviewGetUrl;
|
|
343
|
+
const dashboardInovoWindmillSchedulesNamePreviewGet = async (name, options) => {
|
|
344
|
+
return (0, fetcher_1.customFetcher)((0, exports.getDashboardInovoWindmillSchedulesNamePreviewGetUrl)(name), {
|
|
345
|
+
...options,
|
|
346
|
+
method: 'GET'
|
|
347
|
+
});
|
|
348
|
+
};
|
|
349
|
+
exports.dashboardInovoWindmillSchedulesNamePreviewGet = dashboardInovoWindmillSchedulesNamePreviewGet;
|
package/dashboard/schemas.d.ts
CHANGED
|
@@ -1223,3 +1223,318 @@ export declare const GetLatestTargetResponse: zod.ZodObject<{
|
|
|
1223
1223
|
input_fields?: unknown;
|
|
1224
1224
|
};
|
|
1225
1225
|
}>;
|
|
1226
|
+
/**
|
|
1227
|
+
* @summary List Windmill schedules for the authenticated client
|
|
1228
|
+
*/
|
|
1229
|
+
export declare const WindmillSchedulesListResponse: zod.ZodObject<{
|
|
1230
|
+
data: zod.ZodArray<zod.ZodObject<{
|
|
1231
|
+
name: zod.ZodString;
|
|
1232
|
+
campaignId: zod.ZodString;
|
|
1233
|
+
windmillSchedulePath: zod.ZodString;
|
|
1234
|
+
enabled: zod.ZodBoolean;
|
|
1235
|
+
schedule: zod.ZodString;
|
|
1236
|
+
timezone: zod.ZodString;
|
|
1237
|
+
summary: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1238
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1239
|
+
campaignId: string;
|
|
1240
|
+
name: string;
|
|
1241
|
+
timezone: string;
|
|
1242
|
+
windmillSchedulePath: string;
|
|
1243
|
+
enabled: boolean;
|
|
1244
|
+
schedule: string;
|
|
1245
|
+
summary?: string | null | undefined;
|
|
1246
|
+
}, {
|
|
1247
|
+
campaignId: string;
|
|
1248
|
+
name: string;
|
|
1249
|
+
timezone: string;
|
|
1250
|
+
windmillSchedulePath: string;
|
|
1251
|
+
enabled: boolean;
|
|
1252
|
+
schedule: string;
|
|
1253
|
+
summary?: string | null | undefined;
|
|
1254
|
+
}>, "many">;
|
|
1255
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1256
|
+
data: {
|
|
1257
|
+
campaignId: string;
|
|
1258
|
+
name: string;
|
|
1259
|
+
timezone: string;
|
|
1260
|
+
windmillSchedulePath: string;
|
|
1261
|
+
enabled: boolean;
|
|
1262
|
+
schedule: string;
|
|
1263
|
+
summary?: string | null | undefined;
|
|
1264
|
+
}[];
|
|
1265
|
+
}, {
|
|
1266
|
+
data: {
|
|
1267
|
+
campaignId: string;
|
|
1268
|
+
name: string;
|
|
1269
|
+
timezone: string;
|
|
1270
|
+
windmillSchedulePath: string;
|
|
1271
|
+
enabled: boolean;
|
|
1272
|
+
schedule: string;
|
|
1273
|
+
summary?: string | null | undefined;
|
|
1274
|
+
}[];
|
|
1275
|
+
}>;
|
|
1276
|
+
/**
|
|
1277
|
+
* @summary Get Windmill schedule detail with current args and config
|
|
1278
|
+
*/
|
|
1279
|
+
export declare const WindmillSchedulesGetByNameParams: zod.ZodObject<{
|
|
1280
|
+
name: zod.ZodString;
|
|
1281
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1282
|
+
name: string;
|
|
1283
|
+
}, {
|
|
1284
|
+
name: string;
|
|
1285
|
+
}>;
|
|
1286
|
+
export declare const WindmillSchedulesGetByNameResponse: zod.ZodObject<{
|
|
1287
|
+
data: zod.ZodObject<{
|
|
1288
|
+
name: zod.ZodString;
|
|
1289
|
+
campaignId: zod.ZodString;
|
|
1290
|
+
windmillSchedulePath: zod.ZodString;
|
|
1291
|
+
windmillFlowPath: zod.ZodString;
|
|
1292
|
+
enabled: zod.ZodBoolean;
|
|
1293
|
+
schedule: zod.ZodString;
|
|
1294
|
+
timezone: zod.ZodString;
|
|
1295
|
+
args: zod.ZodRecord<zod.ZodString, zod.ZodUnknown>;
|
|
1296
|
+
summary: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1297
|
+
description: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1298
|
+
no_flow_overlap: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
|
|
1299
|
+
paused_until: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1300
|
+
cron_version: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1301
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1302
|
+
campaignId: string;
|
|
1303
|
+
name: string;
|
|
1304
|
+
timezone: string;
|
|
1305
|
+
windmillSchedulePath: string;
|
|
1306
|
+
enabled: boolean;
|
|
1307
|
+
schedule: string;
|
|
1308
|
+
windmillFlowPath: string;
|
|
1309
|
+
args: Record<string, unknown>;
|
|
1310
|
+
description?: string | null | undefined;
|
|
1311
|
+
summary?: string | null | undefined;
|
|
1312
|
+
no_flow_overlap?: boolean | null | undefined;
|
|
1313
|
+
paused_until?: string | null | undefined;
|
|
1314
|
+
cron_version?: string | null | undefined;
|
|
1315
|
+
}, {
|
|
1316
|
+
campaignId: string;
|
|
1317
|
+
name: string;
|
|
1318
|
+
timezone: string;
|
|
1319
|
+
windmillSchedulePath: string;
|
|
1320
|
+
enabled: boolean;
|
|
1321
|
+
schedule: string;
|
|
1322
|
+
windmillFlowPath: string;
|
|
1323
|
+
args: Record<string, unknown>;
|
|
1324
|
+
description?: string | null | undefined;
|
|
1325
|
+
summary?: string | null | undefined;
|
|
1326
|
+
no_flow_overlap?: boolean | null | undefined;
|
|
1327
|
+
paused_until?: string | null | undefined;
|
|
1328
|
+
cron_version?: string | null | undefined;
|
|
1329
|
+
}>;
|
|
1330
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1331
|
+
data: {
|
|
1332
|
+
campaignId: string;
|
|
1333
|
+
name: string;
|
|
1334
|
+
timezone: string;
|
|
1335
|
+
windmillSchedulePath: string;
|
|
1336
|
+
enabled: boolean;
|
|
1337
|
+
schedule: string;
|
|
1338
|
+
windmillFlowPath: string;
|
|
1339
|
+
args: Record<string, unknown>;
|
|
1340
|
+
description?: string | null | undefined;
|
|
1341
|
+
summary?: string | null | undefined;
|
|
1342
|
+
no_flow_overlap?: boolean | null | undefined;
|
|
1343
|
+
paused_until?: string | null | undefined;
|
|
1344
|
+
cron_version?: string | null | undefined;
|
|
1345
|
+
};
|
|
1346
|
+
}, {
|
|
1347
|
+
data: {
|
|
1348
|
+
campaignId: string;
|
|
1349
|
+
name: string;
|
|
1350
|
+
timezone: string;
|
|
1351
|
+
windmillSchedulePath: string;
|
|
1352
|
+
enabled: boolean;
|
|
1353
|
+
schedule: string;
|
|
1354
|
+
windmillFlowPath: string;
|
|
1355
|
+
args: Record<string, unknown>;
|
|
1356
|
+
description?: string | null | undefined;
|
|
1357
|
+
summary?: string | null | undefined;
|
|
1358
|
+
no_flow_overlap?: boolean | null | undefined;
|
|
1359
|
+
paused_until?: string | null | undefined;
|
|
1360
|
+
cron_version?: string | null | undefined;
|
|
1361
|
+
};
|
|
1362
|
+
}>;
|
|
1363
|
+
/**
|
|
1364
|
+
* @summary Update schedule config and args
|
|
1365
|
+
*/
|
|
1366
|
+
export declare const WindmillSchedulesUpdateParams: zod.ZodObject<{
|
|
1367
|
+
name: zod.ZodString;
|
|
1368
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1369
|
+
name: string;
|
|
1370
|
+
}, {
|
|
1371
|
+
name: string;
|
|
1372
|
+
}>;
|
|
1373
|
+
export declare const WindmillSchedulesUpdateBody: zod.ZodObject<{
|
|
1374
|
+
schedule: zod.ZodOptional<zod.ZodString>;
|
|
1375
|
+
args: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
|
|
1376
|
+
no_flow_overlap: zod.ZodOptional<zod.ZodBoolean>;
|
|
1377
|
+
summary: zod.ZodOptional<zod.ZodString>;
|
|
1378
|
+
description: zod.ZodOptional<zod.ZodString>;
|
|
1379
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1380
|
+
description?: string | undefined;
|
|
1381
|
+
summary?: string | undefined;
|
|
1382
|
+
schedule?: string | undefined;
|
|
1383
|
+
args?: Record<string, unknown> | undefined;
|
|
1384
|
+
no_flow_overlap?: boolean | undefined;
|
|
1385
|
+
}, {
|
|
1386
|
+
description?: string | undefined;
|
|
1387
|
+
summary?: string | undefined;
|
|
1388
|
+
schedule?: string | undefined;
|
|
1389
|
+
args?: Record<string, unknown> | undefined;
|
|
1390
|
+
no_flow_overlap?: boolean | undefined;
|
|
1391
|
+
}>;
|
|
1392
|
+
export declare const WindmillSchedulesUpdateResponse: zod.ZodObject<{
|
|
1393
|
+
message: zod.ZodString;
|
|
1394
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1395
|
+
message: string;
|
|
1396
|
+
}, {
|
|
1397
|
+
message: string;
|
|
1398
|
+
}>;
|
|
1399
|
+
/**
|
|
1400
|
+
* @summary Enable or disable a schedule
|
|
1401
|
+
*/
|
|
1402
|
+
export declare const WindmillSchedulesToggleParams: zod.ZodObject<{
|
|
1403
|
+
name: zod.ZodString;
|
|
1404
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1405
|
+
name: string;
|
|
1406
|
+
}, {
|
|
1407
|
+
name: string;
|
|
1408
|
+
}>;
|
|
1409
|
+
export declare const WindmillSchedulesToggleBody: zod.ZodObject<{
|
|
1410
|
+
enabled: zod.ZodBoolean;
|
|
1411
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1412
|
+
enabled: boolean;
|
|
1413
|
+
}, {
|
|
1414
|
+
enabled: boolean;
|
|
1415
|
+
}>;
|
|
1416
|
+
export declare const WindmillSchedulesToggleResponse: zod.ZodObject<{
|
|
1417
|
+
enabled: zod.ZodBoolean;
|
|
1418
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1419
|
+
enabled: boolean;
|
|
1420
|
+
}, {
|
|
1421
|
+
enabled: boolean;
|
|
1422
|
+
}>;
|
|
1423
|
+
/**
|
|
1424
|
+
* @summary Get run history for a schedule
|
|
1425
|
+
*/
|
|
1426
|
+
export declare const WindmillSchedulesRunsParams: zod.ZodObject<{
|
|
1427
|
+
name: zod.ZodString;
|
|
1428
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1429
|
+
name: string;
|
|
1430
|
+
}, {
|
|
1431
|
+
name: string;
|
|
1432
|
+
}>;
|
|
1433
|
+
export declare const WindmillSchedulesRunsResponse: zod.ZodObject<{
|
|
1434
|
+
data: zod.ZodArray<zod.ZodObject<{
|
|
1435
|
+
id: zod.ZodString;
|
|
1436
|
+
created_at: zod.ZodString;
|
|
1437
|
+
started_at: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1438
|
+
duration_ms: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
|
|
1439
|
+
success: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
|
|
1440
|
+
args: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>>;
|
|
1441
|
+
is_skipped: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
|
|
1442
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1443
|
+
created_at: string;
|
|
1444
|
+
id: string;
|
|
1445
|
+
success?: boolean | null | undefined;
|
|
1446
|
+
args?: Record<string, unknown> | null | undefined;
|
|
1447
|
+
started_at?: string | null | undefined;
|
|
1448
|
+
duration_ms?: number | null | undefined;
|
|
1449
|
+
is_skipped?: boolean | null | undefined;
|
|
1450
|
+
}, {
|
|
1451
|
+
created_at: string;
|
|
1452
|
+
id: string;
|
|
1453
|
+
success?: boolean | null | undefined;
|
|
1454
|
+
args?: Record<string, unknown> | null | undefined;
|
|
1455
|
+
started_at?: string | null | undefined;
|
|
1456
|
+
duration_ms?: number | null | undefined;
|
|
1457
|
+
is_skipped?: boolean | null | undefined;
|
|
1458
|
+
}>, "many">;
|
|
1459
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1460
|
+
data: {
|
|
1461
|
+
created_at: string;
|
|
1462
|
+
id: string;
|
|
1463
|
+
success?: boolean | null | undefined;
|
|
1464
|
+
args?: Record<string, unknown> | null | undefined;
|
|
1465
|
+
started_at?: string | null | undefined;
|
|
1466
|
+
duration_ms?: number | null | undefined;
|
|
1467
|
+
is_skipped?: boolean | null | undefined;
|
|
1468
|
+
}[];
|
|
1469
|
+
}, {
|
|
1470
|
+
data: {
|
|
1471
|
+
created_at: string;
|
|
1472
|
+
id: string;
|
|
1473
|
+
success?: boolean | null | undefined;
|
|
1474
|
+
args?: Record<string, unknown> | null | undefined;
|
|
1475
|
+
started_at?: string | null | undefined;
|
|
1476
|
+
duration_ms?: number | null | undefined;
|
|
1477
|
+
is_skipped?: boolean | null | undefined;
|
|
1478
|
+
}[];
|
|
1479
|
+
}>;
|
|
1480
|
+
/**
|
|
1481
|
+
* @summary Get a presigned URL for uploading a file to the schedule's S3 folder
|
|
1482
|
+
*/
|
|
1483
|
+
export declare const WindmillSchedulesPresignUploadParams: zod.ZodObject<{
|
|
1484
|
+
name: zod.ZodString;
|
|
1485
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1486
|
+
name: string;
|
|
1487
|
+
}, {
|
|
1488
|
+
name: string;
|
|
1489
|
+
}>;
|
|
1490
|
+
export declare const WindmillSchedulesPresignUploadBody: zod.ZodObject<{
|
|
1491
|
+
fileName: zod.ZodString;
|
|
1492
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1493
|
+
fileName: string;
|
|
1494
|
+
}, {
|
|
1495
|
+
fileName: string;
|
|
1496
|
+
}>;
|
|
1497
|
+
export declare const WindmillSchedulesPresignUploadResponse: zod.ZodObject<{
|
|
1498
|
+
data: zod.ZodObject<{
|
|
1499
|
+
presignedUrl: zod.ZodString;
|
|
1500
|
+
fileKey: zod.ZodString;
|
|
1501
|
+
expiresIn: zod.ZodNumber;
|
|
1502
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1503
|
+
fileKey: string;
|
|
1504
|
+
presignedUrl: string;
|
|
1505
|
+
expiresIn: number;
|
|
1506
|
+
}, {
|
|
1507
|
+
fileKey: string;
|
|
1508
|
+
presignedUrl: string;
|
|
1509
|
+
expiresIn: number;
|
|
1510
|
+
}>;
|
|
1511
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1512
|
+
data: {
|
|
1513
|
+
fileKey: string;
|
|
1514
|
+
presignedUrl: string;
|
|
1515
|
+
expiresIn: number;
|
|
1516
|
+
};
|
|
1517
|
+
}, {
|
|
1518
|
+
data: {
|
|
1519
|
+
fileKey: string;
|
|
1520
|
+
presignedUrl: string;
|
|
1521
|
+
expiresIn: number;
|
|
1522
|
+
};
|
|
1523
|
+
}>;
|
|
1524
|
+
/**
|
|
1525
|
+
* @summary Get next 5 estimated run times
|
|
1526
|
+
*/
|
|
1527
|
+
export declare const WindmillSchedulesPreviewParams: zod.ZodObject<{
|
|
1528
|
+
name: zod.ZodString;
|
|
1529
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1530
|
+
name: string;
|
|
1531
|
+
}, {
|
|
1532
|
+
name: string;
|
|
1533
|
+
}>;
|
|
1534
|
+
export declare const WindmillSchedulesPreviewResponse: zod.ZodObject<{
|
|
1535
|
+
data: zod.ZodArray<zod.ZodString, "many">;
|
|
1536
|
+
}, "strip", zod.ZodTypeAny, {
|
|
1537
|
+
data: string[];
|
|
1538
|
+
}, {
|
|
1539
|
+
data: string[];
|
|
1540
|
+
}>;
|
package/dashboard/schemas.js
CHANGED
|
@@ -33,7 +33,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.GetLatestTargetResponse = exports.GetLatestTargetQueryParams = exports.GetClientFeaturesResponse = exports.CreateBody = exports.createBodyTimeSlotsItemTimeRegExp = exports.PreviewResponse = exports.PreviewBody = exports.previewBodyTimeSlotsItemTimeRegExp = exports.StartCallBody = exports.UpdateReviewResponse = exports.UpdateReviewBody = exports.updateReviewBodyNotesMax = exports.UpdateReviewParams = exports.GetReviewStatusResponse = exports.GetReviewStatusBody = exports.GetCallResponse = exports.GetCallParams = exports.GetOutputFieldsResponse = exports.GetInputFieldsResponse = exports.GetAgentsGroupedResponse = exports.GetAgentsResponse = exports.GetScheduleConfigResponse = exports.GetScheduleConfigParams = exports.GetCampaignInputFieldsResponse = exports.GetCampaignInputFieldsParams = exports.GetCampaignsResponse = exports.GetCampaignNamesResponse = exports.GetCampaignNamesBody = void 0;
|
|
36
|
+
exports.WindmillSchedulesPreviewResponse = exports.WindmillSchedulesPreviewParams = exports.WindmillSchedulesPresignUploadResponse = exports.WindmillSchedulesPresignUploadBody = exports.WindmillSchedulesPresignUploadParams = exports.WindmillSchedulesRunsResponse = exports.WindmillSchedulesRunsParams = exports.WindmillSchedulesToggleResponse = exports.WindmillSchedulesToggleBody = exports.WindmillSchedulesToggleParams = exports.WindmillSchedulesUpdateResponse = exports.WindmillSchedulesUpdateBody = exports.WindmillSchedulesUpdateParams = exports.WindmillSchedulesGetByNameResponse = exports.WindmillSchedulesGetByNameParams = exports.WindmillSchedulesListResponse = exports.GetLatestTargetResponse = exports.GetLatestTargetQueryParams = exports.GetClientFeaturesResponse = exports.CreateBody = exports.createBodyTimeSlotsItemTimeRegExp = exports.PreviewResponse = exports.PreviewBody = exports.previewBodyTimeSlotsItemTimeRegExp = exports.StartCallBody = exports.UpdateReviewResponse = exports.UpdateReviewBody = exports.updateReviewBodyNotesMax = exports.UpdateReviewParams = exports.GetReviewStatusResponse = exports.GetReviewStatusBody = exports.GetCallResponse = exports.GetCallParams = exports.GetOutputFieldsResponse = exports.GetInputFieldsResponse = exports.GetAgentsGroupedResponse = exports.GetAgentsResponse = exports.GetScheduleConfigResponse = exports.GetScheduleConfigParams = exports.GetCampaignInputFieldsResponse = exports.GetCampaignInputFieldsParams = exports.GetCampaignsResponse = exports.GetCampaignNamesResponse = exports.GetCampaignNamesBody = void 0;
|
|
37
37
|
/**
|
|
38
38
|
* Generated by orval v8.2.0 🍺
|
|
39
39
|
* Do not edit manually.
|
|
@@ -325,3 +325,110 @@ exports.GetLatestTargetResponse = zod.object({
|
|
|
325
325
|
"input_fields": zod.unknown().nullish()
|
|
326
326
|
})
|
|
327
327
|
});
|
|
328
|
+
/**
|
|
329
|
+
* @summary List Windmill schedules for the authenticated client
|
|
330
|
+
*/
|
|
331
|
+
exports.WindmillSchedulesListResponse = zod.object({
|
|
332
|
+
"data": zod.array(zod.object({
|
|
333
|
+
"name": zod.string(),
|
|
334
|
+
"campaignId": zod.string(),
|
|
335
|
+
"windmillSchedulePath": zod.string(),
|
|
336
|
+
"enabled": zod.boolean(),
|
|
337
|
+
"schedule": zod.string(),
|
|
338
|
+
"timezone": zod.string(),
|
|
339
|
+
"summary": zod.string().nullish()
|
|
340
|
+
}))
|
|
341
|
+
});
|
|
342
|
+
/**
|
|
343
|
+
* @summary Get Windmill schedule detail with current args and config
|
|
344
|
+
*/
|
|
345
|
+
exports.WindmillSchedulesGetByNameParams = zod.object({
|
|
346
|
+
"name": zod.string()
|
|
347
|
+
});
|
|
348
|
+
exports.WindmillSchedulesGetByNameResponse = zod.object({
|
|
349
|
+
"data": zod.object({
|
|
350
|
+
"name": zod.string(),
|
|
351
|
+
"campaignId": zod.string(),
|
|
352
|
+
"windmillSchedulePath": zod.string(),
|
|
353
|
+
"windmillFlowPath": zod.string(),
|
|
354
|
+
"enabled": zod.boolean(),
|
|
355
|
+
"schedule": zod.string(),
|
|
356
|
+
"timezone": zod.string(),
|
|
357
|
+
"args": zod.record(zod.string(), zod.unknown()),
|
|
358
|
+
"summary": zod.string().nullish(),
|
|
359
|
+
"description": zod.string().nullish(),
|
|
360
|
+
"no_flow_overlap": zod.boolean().nullish(),
|
|
361
|
+
"paused_until": zod.string().nullish(),
|
|
362
|
+
"cron_version": zod.string().nullish()
|
|
363
|
+
})
|
|
364
|
+
});
|
|
365
|
+
/**
|
|
366
|
+
* @summary Update schedule config and args
|
|
367
|
+
*/
|
|
368
|
+
exports.WindmillSchedulesUpdateParams = zod.object({
|
|
369
|
+
"name": zod.string()
|
|
370
|
+
});
|
|
371
|
+
exports.WindmillSchedulesUpdateBody = zod.object({
|
|
372
|
+
"schedule": zod.string().optional(),
|
|
373
|
+
"args": zod.record(zod.string(), zod.unknown()).optional(),
|
|
374
|
+
"no_flow_overlap": zod.boolean().optional(),
|
|
375
|
+
"summary": zod.string().optional(),
|
|
376
|
+
"description": zod.string().optional()
|
|
377
|
+
});
|
|
378
|
+
exports.WindmillSchedulesUpdateResponse = zod.object({
|
|
379
|
+
"message": zod.string()
|
|
380
|
+
});
|
|
381
|
+
/**
|
|
382
|
+
* @summary Enable or disable a schedule
|
|
383
|
+
*/
|
|
384
|
+
exports.WindmillSchedulesToggleParams = zod.object({
|
|
385
|
+
"name": zod.string()
|
|
386
|
+
});
|
|
387
|
+
exports.WindmillSchedulesToggleBody = zod.object({
|
|
388
|
+
"enabled": zod.boolean()
|
|
389
|
+
});
|
|
390
|
+
exports.WindmillSchedulesToggleResponse = zod.object({
|
|
391
|
+
"enabled": zod.boolean()
|
|
392
|
+
});
|
|
393
|
+
/**
|
|
394
|
+
* @summary Get run history for a schedule
|
|
395
|
+
*/
|
|
396
|
+
exports.WindmillSchedulesRunsParams = zod.object({
|
|
397
|
+
"name": zod.string()
|
|
398
|
+
});
|
|
399
|
+
exports.WindmillSchedulesRunsResponse = zod.object({
|
|
400
|
+
"data": zod.array(zod.object({
|
|
401
|
+
"id": zod.string(),
|
|
402
|
+
"created_at": zod.string(),
|
|
403
|
+
"started_at": zod.string().nullish(),
|
|
404
|
+
"duration_ms": zod.number().nullish(),
|
|
405
|
+
"success": zod.boolean().nullish(),
|
|
406
|
+
"args": zod.record(zod.string(), zod.unknown()).nullish(),
|
|
407
|
+
"is_skipped": zod.boolean().nullish()
|
|
408
|
+
}))
|
|
409
|
+
});
|
|
410
|
+
/**
|
|
411
|
+
* @summary Get a presigned URL for uploading a file to the schedule's S3 folder
|
|
412
|
+
*/
|
|
413
|
+
exports.WindmillSchedulesPresignUploadParams = zod.object({
|
|
414
|
+
"name": zod.string()
|
|
415
|
+
});
|
|
416
|
+
exports.WindmillSchedulesPresignUploadBody = zod.object({
|
|
417
|
+
"fileName": zod.string().min(1).describe('Original file name')
|
|
418
|
+
});
|
|
419
|
+
exports.WindmillSchedulesPresignUploadResponse = zod.object({
|
|
420
|
+
"data": zod.object({
|
|
421
|
+
"presignedUrl": zod.string(),
|
|
422
|
+
"fileKey": zod.string(),
|
|
423
|
+
"expiresIn": zod.number()
|
|
424
|
+
})
|
|
425
|
+
});
|
|
426
|
+
/**
|
|
427
|
+
* @summary Get next 5 estimated run times
|
|
428
|
+
*/
|
|
429
|
+
exports.WindmillSchedulesPreviewParams = zod.object({
|
|
430
|
+
"name": zod.string()
|
|
431
|
+
});
|
|
432
|
+
exports.WindmillSchedulesPreviewResponse = zod.object({
|
|
433
|
+
"data": zod.array(zod.string())
|
|
434
|
+
});
|