@dazl/api-client 1.0.44 → 1.0.46
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/dist/agent-document.d.ts +71 -0
- package/dist/agent-document.d.ts.map +1 -0
- package/dist/agent-document.js +77 -0
- package/dist/agent-document.js.map +1 -0
- package/dist/db/generated-types.d.ts +120 -0
- package/dist/db/generated-types.d.ts.map +1 -1
- package/dist/internal/index.d.ts +2 -2
- package/dist/internal/index.d.ts.map +1 -1
- package/dist/internal/index.js +1 -1
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/sdk.gen.d.ts +35 -1
- package/dist/internal/sdk.gen.d.ts.map +1 -1
- package/dist/internal/sdk.gen.js +227 -0
- package/dist/internal/sdk.gen.js.map +1 -1
- package/dist/internal/types.gen.d.ts +2658 -627
- package/dist/internal/types.gen.d.ts.map +1 -1
- package/dist/workflow-document.d.ts +243 -0
- package/dist/workflow-document.d.ts.map +1 -0
- package/dist/workflow-document.js +282 -0
- package/dist/workflow-document.js.map +1 -0
- package/package.json +5 -2
- package/src/agent-document.ts +98 -0
- package/src/db/generated-types.ts +128 -0
- package/src/internal/index.ts +2 -2
- package/src/internal/sdk.gen.ts +258 -1
- package/src/internal/types.gen.ts +2943 -715
- package/src/workflow-document.ts +333 -0
|
@@ -529,6 +529,531 @@ export type PurgeUserAccountInput = {
|
|
|
529
529
|
dryRun?: boolean;
|
|
530
530
|
};
|
|
531
531
|
|
|
532
|
+
export type WorkflowInteractiveCapabilities = {
|
|
533
|
+
interactiveExecutionAvailable: boolean;
|
|
534
|
+
};
|
|
535
|
+
|
|
536
|
+
export type WorkflowConversationList = {
|
|
537
|
+
conversations: Array<WorkflowConversationSummary>;
|
|
538
|
+
};
|
|
539
|
+
|
|
540
|
+
export type WorkflowConversationSummary = {
|
|
541
|
+
id: string;
|
|
542
|
+
runId: string;
|
|
543
|
+
nodeKey: string;
|
|
544
|
+
chatId: string;
|
|
545
|
+
agentName: string;
|
|
546
|
+
role: 'work' | 'workspace' | 'personal';
|
|
547
|
+
ownerDazlUserId: string;
|
|
548
|
+
phaseVersion: number;
|
|
549
|
+
attempt: number;
|
|
550
|
+
draftRevision: number;
|
|
551
|
+
state: 'queued' | 'working' | 'waiting' | 'failed' | 'recovery-required' | 'completed' | 'superseded';
|
|
552
|
+
activeTurn: WorkflowTurnActiveRef;
|
|
553
|
+
canRead: boolean;
|
|
554
|
+
canPost: boolean;
|
|
555
|
+
canDecide: boolean;
|
|
556
|
+
canComplete: boolean;
|
|
557
|
+
};
|
|
558
|
+
|
|
559
|
+
export type WorkflowTurnActiveRef = {
|
|
560
|
+
turnId: string;
|
|
561
|
+
turnAttempt: number;
|
|
562
|
+
status: 'queued' | 'accepted' | 'succeeded' | 'failed' | 'cancelled' | 'recovery-required';
|
|
563
|
+
} | null;
|
|
564
|
+
|
|
565
|
+
export type WorkflowConversationForChat = {
|
|
566
|
+
conversation: WorkflowConversationSummary & ({
|
|
567
|
+
[key: string]: unknown;
|
|
568
|
+
} | null);
|
|
569
|
+
};
|
|
570
|
+
|
|
571
|
+
export type WorkflowConversationDetail = {
|
|
572
|
+
id: string;
|
|
573
|
+
runId: string;
|
|
574
|
+
nodeKey: string;
|
|
575
|
+
chatId: string;
|
|
576
|
+
agentName: string;
|
|
577
|
+
role: 'work' | 'workspace' | 'personal';
|
|
578
|
+
ownerDazlUserId: string;
|
|
579
|
+
phaseVersion: number;
|
|
580
|
+
attempt: number;
|
|
581
|
+
draftRevision: number;
|
|
582
|
+
state: 'queued' | 'working' | 'waiting' | 'failed' | 'recovery-required' | 'completed' | 'superseded';
|
|
583
|
+
activeTurn: WorkflowTurnActiveRef;
|
|
584
|
+
canRead: boolean;
|
|
585
|
+
canPost: boolean;
|
|
586
|
+
canDecide: boolean;
|
|
587
|
+
canComplete: boolean;
|
|
588
|
+
messages: Array<WorkflowConversationMessage>;
|
|
589
|
+
hasMore: boolean;
|
|
590
|
+
oldestSequence: string | null;
|
|
591
|
+
draft: {
|
|
592
|
+
text: string;
|
|
593
|
+
files?: Array<string>;
|
|
594
|
+
changes?: Array<{
|
|
595
|
+
dirName: string;
|
|
596
|
+
from: string;
|
|
597
|
+
to: string;
|
|
598
|
+
commits: number;
|
|
599
|
+
files: Array<string>;
|
|
600
|
+
}>;
|
|
601
|
+
} | WorkflowConversationReviewDraft | null;
|
|
602
|
+
draftValid: boolean;
|
|
603
|
+
error: string | null;
|
|
604
|
+
};
|
|
605
|
+
|
|
606
|
+
export type WorkflowConversationMessage = {
|
|
607
|
+
id: string;
|
|
608
|
+
sequence: string;
|
|
609
|
+
role: 'user' | 'assistant';
|
|
610
|
+
actorDazlUserId: string | null;
|
|
611
|
+
text: string;
|
|
612
|
+
createdAt: string;
|
|
613
|
+
};
|
|
614
|
+
|
|
615
|
+
export type WorkflowConversationReviewDraft = {
|
|
616
|
+
decision: 'approve' | 'object';
|
|
617
|
+
suggestions: Array<{
|
|
618
|
+
target: string;
|
|
619
|
+
suggestion: string;
|
|
620
|
+
rationale?: string;
|
|
621
|
+
}>;
|
|
622
|
+
};
|
|
623
|
+
|
|
624
|
+
export type WorkflowConversationPostedMessage = {
|
|
625
|
+
message: WorkflowConversationMessage;
|
|
626
|
+
turnId: string;
|
|
627
|
+
turnAttempt: number;
|
|
628
|
+
};
|
|
629
|
+
|
|
630
|
+
export type WorkflowConversationMessageInput = {
|
|
631
|
+
requestId: string;
|
|
632
|
+
text: string;
|
|
633
|
+
token: WorkflowConversationClaim;
|
|
634
|
+
};
|
|
635
|
+
|
|
636
|
+
export type WorkflowConversationClaim = {
|
|
637
|
+
phaseVersion: number;
|
|
638
|
+
attempt: number;
|
|
639
|
+
};
|
|
640
|
+
|
|
641
|
+
export type WorkflowConversationOk = {
|
|
642
|
+
ok: true;
|
|
643
|
+
};
|
|
644
|
+
|
|
645
|
+
export type WorkflowConversationCompleteInput = {
|
|
646
|
+
token: WorkflowConversationDraftClaim;
|
|
647
|
+
};
|
|
648
|
+
|
|
649
|
+
export type WorkflowConversationDraftClaim = {
|
|
650
|
+
phaseVersion: number;
|
|
651
|
+
attempt: number;
|
|
652
|
+
draftRevision: number;
|
|
653
|
+
};
|
|
654
|
+
|
|
655
|
+
export type WorkflowConversationDecisionInput = {
|
|
656
|
+
token: WorkflowConversationDraftClaim;
|
|
657
|
+
decision: 'approve' | 'reject';
|
|
658
|
+
comment?: string;
|
|
659
|
+
suggestions: Array<{
|
|
660
|
+
target: string;
|
|
661
|
+
suggestion: string;
|
|
662
|
+
rationale?: string;
|
|
663
|
+
}>;
|
|
664
|
+
};
|
|
665
|
+
|
|
666
|
+
export type WorkflowConversationActionResult = {
|
|
667
|
+
applied: boolean;
|
|
668
|
+
};
|
|
669
|
+
|
|
670
|
+
export type WorkflowTurnActionInput = {
|
|
671
|
+
token: WorkflowTurnActionClaim;
|
|
672
|
+
};
|
|
673
|
+
|
|
674
|
+
export type WorkflowTurnActionClaim = {
|
|
675
|
+
phaseVersion: number;
|
|
676
|
+
attempt: number;
|
|
677
|
+
turnId: string;
|
|
678
|
+
turnAttempt: number;
|
|
679
|
+
};
|
|
680
|
+
|
|
681
|
+
export type WorkflowTurnOfferList = {
|
|
682
|
+
turns: Array<WorkflowTurnOffer>;
|
|
683
|
+
};
|
|
684
|
+
|
|
685
|
+
export type WorkflowTurnOffer = {
|
|
686
|
+
runId: string;
|
|
687
|
+
projectId: string;
|
|
688
|
+
conversationId: string;
|
|
689
|
+
nodeKey: string;
|
|
690
|
+
role: 'work' | 'workspace' | 'personal';
|
|
691
|
+
turnId: string;
|
|
692
|
+
turnAttempt: number;
|
|
693
|
+
};
|
|
694
|
+
|
|
695
|
+
export type WorkflowWorkerSessionResult = {
|
|
696
|
+
reclaimed: number;
|
|
697
|
+
};
|
|
698
|
+
|
|
699
|
+
export type WorkflowWorkerSession = {
|
|
700
|
+
workerId: string;
|
|
701
|
+
};
|
|
702
|
+
|
|
703
|
+
export type WorkflowTurnAcceptance = {
|
|
704
|
+
accepted: false;
|
|
705
|
+
} | {
|
|
706
|
+
accepted: true;
|
|
707
|
+
token: WorkflowTurnClaim;
|
|
708
|
+
payload: WorkflowTurnPayload;
|
|
709
|
+
input: WorkflowTurnInput;
|
|
710
|
+
leaseExpiresAt: string;
|
|
711
|
+
heartbeatMs: number;
|
|
712
|
+
};
|
|
713
|
+
|
|
714
|
+
export type WorkflowTurnClaim = {
|
|
715
|
+
phaseVersion: number;
|
|
716
|
+
attempt: number;
|
|
717
|
+
turnId: string;
|
|
718
|
+
turnAttempt: number;
|
|
719
|
+
workerId: string;
|
|
720
|
+
};
|
|
721
|
+
|
|
722
|
+
export type WorkflowTurnPayload = {
|
|
723
|
+
conversation: {
|
|
724
|
+
id: string;
|
|
725
|
+
runId: string;
|
|
726
|
+
projectId: string;
|
|
727
|
+
nodeKey: string;
|
|
728
|
+
chatId: string;
|
|
729
|
+
};
|
|
730
|
+
agent: {
|
|
731
|
+
schemaVersion?: '1';
|
|
732
|
+
meta: {
|
|
733
|
+
name: string;
|
|
734
|
+
description?: string;
|
|
735
|
+
};
|
|
736
|
+
systemPrompt: string;
|
|
737
|
+
harness: 'dazl' | 'claude' | 'codex' | 'grok' | 'opencode';
|
|
738
|
+
model?: string;
|
|
739
|
+
allowedMcpServers?: Array<string>;
|
|
740
|
+
rules?: Array<{
|
|
741
|
+
text: string;
|
|
742
|
+
owners?: Array<string>;
|
|
743
|
+
blocking?: boolean;
|
|
744
|
+
}>;
|
|
745
|
+
};
|
|
746
|
+
runInput: unknown;
|
|
747
|
+
upstream: Array<{
|
|
748
|
+
nodeKey: string;
|
|
749
|
+
title: string;
|
|
750
|
+
output: {
|
|
751
|
+
text: string;
|
|
752
|
+
files?: Array<string>;
|
|
753
|
+
changes?: Array<{
|
|
754
|
+
dirName: string;
|
|
755
|
+
from: string;
|
|
756
|
+
to: string;
|
|
757
|
+
commits: number;
|
|
758
|
+
files: Array<string>;
|
|
759
|
+
}>;
|
|
760
|
+
} | null;
|
|
761
|
+
}>;
|
|
762
|
+
history: Array<WorkflowConversationMessage>;
|
|
763
|
+
changeRequests: Array<WorkflowChangeRequest>;
|
|
764
|
+
harness: 'dazl' | 'claude' | 'codex' | 'grok' | 'opencode';
|
|
765
|
+
model?: string;
|
|
766
|
+
prompt?: string;
|
|
767
|
+
role: 'work' | 'workspace' | 'personal';
|
|
768
|
+
};
|
|
769
|
+
|
|
770
|
+
export type WorkflowChangeRequest = {
|
|
771
|
+
reviewerKey: string;
|
|
772
|
+
agentName: string;
|
|
773
|
+
comment?: string;
|
|
774
|
+
findings: Array<{
|
|
775
|
+
target: string;
|
|
776
|
+
suggestion: string;
|
|
777
|
+
rationale?: string;
|
|
778
|
+
}>;
|
|
779
|
+
};
|
|
780
|
+
|
|
781
|
+
export type WorkflowTurnInput = {
|
|
782
|
+
kind: 'initial';
|
|
783
|
+
} | {
|
|
784
|
+
kind: 'message';
|
|
785
|
+
text: string;
|
|
786
|
+
messageId: string;
|
|
787
|
+
};
|
|
788
|
+
|
|
789
|
+
export type WorkflowTurnAcceptInput = {
|
|
790
|
+
workerId: string;
|
|
791
|
+
};
|
|
792
|
+
|
|
793
|
+
export type WorkflowTurnResultInput = {
|
|
794
|
+
token: WorkflowTurnClaim;
|
|
795
|
+
result: WorkflowTurnResult;
|
|
796
|
+
};
|
|
797
|
+
|
|
798
|
+
export type WorkflowTurnResult = {
|
|
799
|
+
status: 'succeeded' | 'failed' | 'cancelled';
|
|
800
|
+
assistantText: string;
|
|
801
|
+
output?: {
|
|
802
|
+
text: string;
|
|
803
|
+
files?: Array<string>;
|
|
804
|
+
changes?: Array<{
|
|
805
|
+
dirName: string;
|
|
806
|
+
from: string;
|
|
807
|
+
to: string;
|
|
808
|
+
commits: number;
|
|
809
|
+
files: Array<string>;
|
|
810
|
+
}>;
|
|
811
|
+
};
|
|
812
|
+
review?: WorkflowConversationReviewDraft;
|
|
813
|
+
draftValid: boolean;
|
|
814
|
+
error?: string;
|
|
815
|
+
execution?: WorkflowExecutionMetadata;
|
|
816
|
+
observedChanges?: Array<{
|
|
817
|
+
dirName: string;
|
|
818
|
+
from: string;
|
|
819
|
+
to: string;
|
|
820
|
+
commits: number;
|
|
821
|
+
files: Array<string>;
|
|
822
|
+
}>;
|
|
823
|
+
};
|
|
824
|
+
|
|
825
|
+
export type WorkflowExecutionMetadata = {
|
|
826
|
+
harness: 'dazl' | 'claude' | 'codex' | 'grok' | 'opencode';
|
|
827
|
+
model?: string;
|
|
828
|
+
assistantMessageId?: string;
|
|
829
|
+
};
|
|
830
|
+
|
|
831
|
+
export type WorkflowTurnHeartbeat = {
|
|
832
|
+
ok: boolean;
|
|
833
|
+
cancelRequested: boolean;
|
|
834
|
+
leaseExpiresAt: string | null;
|
|
835
|
+
};
|
|
836
|
+
|
|
837
|
+
export type WorkflowTurnClaimInput = {
|
|
838
|
+
token: WorkflowTurnClaim;
|
|
839
|
+
};
|
|
840
|
+
|
|
841
|
+
export type WorkflowRun = {
|
|
842
|
+
id: string;
|
|
843
|
+
workspaceId: string;
|
|
844
|
+
projectId: string;
|
|
845
|
+
chatId: string;
|
|
846
|
+
startedByDazlUserId: string;
|
|
847
|
+
status: 'running' | 'paused' | 'completed' | 'failed' | 'cancelled';
|
|
848
|
+
harness: 'dazl' | 'claude' | 'codex' | 'grok' | 'opencode';
|
|
849
|
+
model: string | null;
|
|
850
|
+
input?: unknown;
|
|
851
|
+
document?: unknown;
|
|
852
|
+
agents: {
|
|
853
|
+
[key: string]: unknown;
|
|
854
|
+
};
|
|
855
|
+
triggerId: string;
|
|
856
|
+
source: 'working-tree' | 'definition';
|
|
857
|
+
sourcePath: string | null;
|
|
858
|
+
phaseVersions: {
|
|
859
|
+
[key: string]: number;
|
|
860
|
+
};
|
|
861
|
+
reviewCycles: {
|
|
862
|
+
[key: string]: number;
|
|
863
|
+
};
|
|
864
|
+
startedAt: string;
|
|
865
|
+
finishedAt: string | null;
|
|
866
|
+
};
|
|
867
|
+
|
|
868
|
+
export type StartWorkflowRunInput = {
|
|
869
|
+
chatId: string;
|
|
870
|
+
triggerId: string;
|
|
871
|
+
source: 'working-tree';
|
|
872
|
+
sourcePath?: string;
|
|
873
|
+
harness?: 'dazl' | 'claude' | 'codex' | 'grok' | 'opencode';
|
|
874
|
+
model?: string;
|
|
875
|
+
input: unknown;
|
|
876
|
+
document: unknown;
|
|
877
|
+
agents: {
|
|
878
|
+
[key: string]: unknown;
|
|
879
|
+
};
|
|
880
|
+
};
|
|
881
|
+
|
|
882
|
+
export type WorkflowDispatchPayload = {
|
|
883
|
+
runId: string;
|
|
884
|
+
chatId: string;
|
|
885
|
+
projectId: string;
|
|
886
|
+
nodeKey: string;
|
|
887
|
+
kind: 'work' | 'reviewer';
|
|
888
|
+
harness: 'dazl' | 'claude' | 'codex' | 'grok' | 'opencode';
|
|
889
|
+
model?: string;
|
|
890
|
+
token: WorkflowNodeToken;
|
|
891
|
+
title: string;
|
|
892
|
+
agentName: string;
|
|
893
|
+
agent: {
|
|
894
|
+
schemaVersion?: '1';
|
|
895
|
+
meta: {
|
|
896
|
+
name: string;
|
|
897
|
+
description?: string;
|
|
898
|
+
};
|
|
899
|
+
systemPrompt: string;
|
|
900
|
+
harness: 'dazl' | 'claude' | 'codex' | 'grok' | 'opencode';
|
|
901
|
+
model?: string;
|
|
902
|
+
allowedMcpServers?: Array<string>;
|
|
903
|
+
rules?: Array<{
|
|
904
|
+
text: string;
|
|
905
|
+
owners?: Array<string>;
|
|
906
|
+
blocking?: boolean;
|
|
907
|
+
}>;
|
|
908
|
+
};
|
|
909
|
+
prompt?: string;
|
|
910
|
+
input?: unknown;
|
|
911
|
+
upstream: Array<{
|
|
912
|
+
nodeKey: string;
|
|
913
|
+
title: string;
|
|
914
|
+
output: {
|
|
915
|
+
text: string;
|
|
916
|
+
files?: Array<string>;
|
|
917
|
+
changes?: Array<{
|
|
918
|
+
dirName: string;
|
|
919
|
+
from: string;
|
|
920
|
+
to: string;
|
|
921
|
+
commits: number;
|
|
922
|
+
files: Array<string>;
|
|
923
|
+
}>;
|
|
924
|
+
} | null;
|
|
925
|
+
}>;
|
|
926
|
+
reviewNodeId?: string;
|
|
927
|
+
onBehalfOf?: string;
|
|
928
|
+
};
|
|
929
|
+
|
|
930
|
+
export type WorkflowNodeToken = {
|
|
931
|
+
phaseVersion: number;
|
|
932
|
+
attempt: number;
|
|
933
|
+
};
|
|
934
|
+
|
|
935
|
+
export type WorkflowNodeRun = {
|
|
936
|
+
id: string;
|
|
937
|
+
runId: string;
|
|
938
|
+
nodeKey: string;
|
|
939
|
+
status: 'pending' | 'running' | 'awaiting-callback' | 'paused-for-human' | 'success' | 'error' | 'skipped';
|
|
940
|
+
phaseVersion: number;
|
|
941
|
+
attempt: number;
|
|
942
|
+
output?: unknown;
|
|
943
|
+
error: string | null;
|
|
944
|
+
awaitingDazlUserIds: Array<string>;
|
|
945
|
+
escalationReason: string | null;
|
|
946
|
+
startedAt: string | null;
|
|
947
|
+
finishedAt: string | null;
|
|
948
|
+
};
|
|
949
|
+
|
|
950
|
+
export type WorkflowRunEvent = {
|
|
951
|
+
id: string;
|
|
952
|
+
runId: string;
|
|
953
|
+
nodeKey: string | null;
|
|
954
|
+
type: 'status-change' | 'human-decision' | 'dispatch' | 'callback' | 'error' | 'harness-selected';
|
|
955
|
+
message: string;
|
|
956
|
+
actorDazlUserId: string | null;
|
|
957
|
+
data?: unknown;
|
|
958
|
+
at: string;
|
|
959
|
+
sequence: string;
|
|
960
|
+
};
|
|
961
|
+
|
|
962
|
+
export type WorkflowReviewDecision = {
|
|
963
|
+
id: string;
|
|
964
|
+
runId: string;
|
|
965
|
+
nodeRunId: string;
|
|
966
|
+
reviewerKey: string;
|
|
967
|
+
agentName: string;
|
|
968
|
+
onBehalfOf: string | null;
|
|
969
|
+
reviewerDazlUserId: string | null;
|
|
970
|
+
target: string;
|
|
971
|
+
suggestion: string;
|
|
972
|
+
rationale: string | null;
|
|
973
|
+
disposition: 'pending' | 'approved' | 'rejected';
|
|
974
|
+
decidedByDazlUserId: string | null;
|
|
975
|
+
decidedAt: string | null;
|
|
976
|
+
phase: string;
|
|
977
|
+
phaseVersion: number;
|
|
978
|
+
};
|
|
979
|
+
|
|
980
|
+
export type WorkflowRunGraph = {
|
|
981
|
+
nodes: Array<{
|
|
982
|
+
key: string;
|
|
983
|
+
kind: 'trigger' | 'work' | 'review' | 'agentTask' | 'humanGate' | 'script';
|
|
984
|
+
dependsOn: Array<string>;
|
|
985
|
+
dependsOnReviewsOf?: string;
|
|
986
|
+
phase?: string;
|
|
987
|
+
agent?: string;
|
|
988
|
+
}>;
|
|
989
|
+
phases: Array<{
|
|
990
|
+
key: string;
|
|
991
|
+
gateKey: string;
|
|
992
|
+
opensAfter: Array<string>;
|
|
993
|
+
reopens: Array<string>;
|
|
994
|
+
reviewers: Array<{
|
|
995
|
+
key: string;
|
|
996
|
+
agent: string;
|
|
997
|
+
prompt?: string;
|
|
998
|
+
onBehalfOf?: string;
|
|
999
|
+
}>;
|
|
1000
|
+
}>;
|
|
1001
|
+
};
|
|
1002
|
+
|
|
1003
|
+
export type AcceptedWorkflowNode = {
|
|
1004
|
+
accepted: false;
|
|
1005
|
+
} | {
|
|
1006
|
+
accepted: true;
|
|
1007
|
+
payload: WorkflowDispatchPayload;
|
|
1008
|
+
};
|
|
1009
|
+
|
|
1010
|
+
export type AcceptWorkflowNodeInput = {
|
|
1011
|
+
token: WorkflowNodeToken;
|
|
1012
|
+
};
|
|
1013
|
+
|
|
1014
|
+
export type SetWorkflowHarnessInput = {
|
|
1015
|
+
harness: 'dazl' | 'claude' | 'codex' | 'grok' | 'opencode';
|
|
1016
|
+
model?: string | null;
|
|
1017
|
+
};
|
|
1018
|
+
|
|
1019
|
+
export type WorkflowNodeResultInput = {
|
|
1020
|
+
token: WorkflowNodeToken;
|
|
1021
|
+
output?: {
|
|
1022
|
+
text: string;
|
|
1023
|
+
files?: Array<string>;
|
|
1024
|
+
changes?: Array<{
|
|
1025
|
+
dirName: string;
|
|
1026
|
+
from: string;
|
|
1027
|
+
to: string;
|
|
1028
|
+
commits: number;
|
|
1029
|
+
files: Array<string>;
|
|
1030
|
+
}>;
|
|
1031
|
+
};
|
|
1032
|
+
error?: string;
|
|
1033
|
+
execution?: WorkflowExecutionMetadata;
|
|
1034
|
+
};
|
|
1035
|
+
|
|
1036
|
+
export type WorkflowReviewReportInput = {
|
|
1037
|
+
token: WorkflowNodeToken;
|
|
1038
|
+
decision: 'approve' | 'object';
|
|
1039
|
+
execution?: {
|
|
1040
|
+
harness: 'dazl';
|
|
1041
|
+
model?: string;
|
|
1042
|
+
assistantMessageId?: string;
|
|
1043
|
+
};
|
|
1044
|
+
suggestions: Array<{
|
|
1045
|
+
target: string;
|
|
1046
|
+
suggestion: string;
|
|
1047
|
+
rationale?: string;
|
|
1048
|
+
}>;
|
|
1049
|
+
};
|
|
1050
|
+
|
|
1051
|
+
export type WorkflowHumanDecisionInput = {
|
|
1052
|
+
token: WorkflowNodeToken;
|
|
1053
|
+
decision: 'approve' | 'reject';
|
|
1054
|
+
comment?: string;
|
|
1055
|
+
};
|
|
1056
|
+
|
|
532
1057
|
export type FeatureToggle = {
|
|
533
1058
|
name: string;
|
|
534
1059
|
scope: 'RemoteAndEditor' | 'SiteAndEditor';
|
|
@@ -2432,7 +2957,7 @@ export type GetPullRequestsStatusData = {
|
|
|
2432
2957
|
number: number;
|
|
2433
2958
|
}>;
|
|
2434
2959
|
/**
|
|
2435
|
-
* Falls back to this user's own GitHub connection when the project's installation cannot mint a token
|
|
2960
|
+
* Falls back to this user's own GitHub connection when the project's installation cannot mint a token. Must match x-user-id when both are sent; the caller must be able to see the project
|
|
2436
2961
|
*/
|
|
2437
2962
|
actingUserDazlId?: string;
|
|
2438
2963
|
};
|
|
@@ -3731,6 +4256,10 @@ export type GetProjectInitDataResponses = {
|
|
|
3731
4256
|
*/
|
|
3732
4257
|
isWorkspaceRoot?: boolean;
|
|
3733
4258
|
}>;
|
|
4259
|
+
/**
|
|
4260
|
+
* The session was created with no template and no repos: with no snapshot to restore, its root folder stays empty instead of receiving the default template app
|
|
4261
|
+
*/
|
|
4262
|
+
startEmpty?: boolean;
|
|
3734
4263
|
};
|
|
3735
4264
|
};
|
|
3736
4265
|
|
|
@@ -6272,39 +6801,18 @@ export type AppendMessagesResponses = {
|
|
|
6272
6801
|
|
|
6273
6802
|
export type AppendMessagesResponse = AppendMessagesResponses[keyof AppendMessagesResponses];
|
|
6274
6803
|
|
|
6275
|
-
export type
|
|
6276
|
-
body
|
|
6277
|
-
|
|
6278
|
-
|
|
6279
|
-
*/
|
|
6280
|
-
path: string;
|
|
6281
|
-
/**
|
|
6282
|
-
* Project identifier (optional for account-level uploads)
|
|
6283
|
-
*/
|
|
6284
|
-
projectId?: string;
|
|
6285
|
-
/**
|
|
6286
|
-
* MIME type of the file to upload
|
|
6287
|
-
*/
|
|
6288
|
-
mimeType?: string;
|
|
6289
|
-
/**
|
|
6290
|
-
* Access control level for the file
|
|
6291
|
-
*/
|
|
6292
|
-
acl?: 'public' | 'private';
|
|
6293
|
-
/**
|
|
6294
|
-
* Callback URL to notify after upload completion
|
|
6295
|
-
*/
|
|
6296
|
-
callback?: string;
|
|
6297
|
-
/**
|
|
6298
|
-
* Upload protocol to use
|
|
6299
|
-
*/
|
|
6300
|
-
protocol?: 'tus';
|
|
6804
|
+
export type ListSessionNotesData = {
|
|
6805
|
+
body?: never;
|
|
6806
|
+
path: {
|
|
6807
|
+
projectId: string;
|
|
6301
6808
|
};
|
|
6302
|
-
|
|
6303
|
-
|
|
6304
|
-
|
|
6809
|
+
query: {
|
|
6810
|
+
ownerDazlId: string;
|
|
6811
|
+
};
|
|
6812
|
+
url: '/session-note/project/{projectId}';
|
|
6305
6813
|
};
|
|
6306
6814
|
|
|
6307
|
-
export type
|
|
6815
|
+
export type ListSessionNotesErrors = {
|
|
6308
6816
|
/**
|
|
6309
6817
|
* Bad request - Invalid parameters or malformed JSON
|
|
6310
6818
|
*/
|
|
@@ -6317,17 +6825,13 @@ export type GetUploadConfigurationErrors = {
|
|
|
6317
6825
|
*/
|
|
6318
6826
|
401: ErrorResponse;
|
|
6319
6827
|
/**
|
|
6320
|
-
* Forbidden
|
|
6828
|
+
* Forbidden
|
|
6321
6829
|
*/
|
|
6322
|
-
403:
|
|
6323
|
-
message: string;
|
|
6324
|
-
};
|
|
6830
|
+
403: ErrorResponse;
|
|
6325
6831
|
/**
|
|
6326
|
-
* Not
|
|
6832
|
+
* Not Found
|
|
6327
6833
|
*/
|
|
6328
|
-
404:
|
|
6329
|
-
message: string;
|
|
6330
|
-
};
|
|
6834
|
+
404: ErrorResponse;
|
|
6331
6835
|
/**
|
|
6332
6836
|
* Conflict
|
|
6333
6837
|
*/
|
|
@@ -6342,42 +6846,42 @@ export type GetUploadConfigurationErrors = {
|
|
|
6342
6846
|
503: ErrorResponse;
|
|
6343
6847
|
};
|
|
6344
6848
|
|
|
6345
|
-
export type
|
|
6849
|
+
export type ListSessionNotesError = ListSessionNotesErrors[keyof ListSessionNotesErrors];
|
|
6346
6850
|
|
|
6347
|
-
export type
|
|
6851
|
+
export type ListSessionNotesResponses = {
|
|
6348
6852
|
/**
|
|
6349
|
-
*
|
|
6853
|
+
* Lists the session's notes (its shared summary), oldest first.
|
|
6350
6854
|
*/
|
|
6351
|
-
200:
|
|
6855
|
+
200: {
|
|
6856
|
+
notes: Array<{
|
|
6857
|
+
id: string;
|
|
6858
|
+
projectId: string;
|
|
6859
|
+
content: string;
|
|
6860
|
+
createdAt: string;
|
|
6861
|
+
updatedAt: string;
|
|
6862
|
+
createdByChatId: string | null;
|
|
6863
|
+
updatedByChatId: string | null;
|
|
6864
|
+
updatedByUserId: string;
|
|
6865
|
+
}>;
|
|
6866
|
+
};
|
|
6352
6867
|
};
|
|
6353
6868
|
|
|
6354
|
-
export type
|
|
6869
|
+
export type ListSessionNotesResponse = ListSessionNotesResponses[keyof ListSessionNotesResponses];
|
|
6355
6870
|
|
|
6356
|
-
export type
|
|
6357
|
-
body
|
|
6358
|
-
|
|
6359
|
-
|
|
6360
|
-
|
|
6361
|
-
|
|
6362
|
-
|
|
6871
|
+
export type CreateSessionNoteData = {
|
|
6872
|
+
body: {
|
|
6873
|
+
ownerDazlId: string;
|
|
6874
|
+
content: string;
|
|
6875
|
+
chatId?: string;
|
|
6876
|
+
};
|
|
6877
|
+
path: {
|
|
6363
6878
|
projectId: string;
|
|
6364
|
-
/**
|
|
6365
|
-
* Filter by MIME type prefix (e.g., 'image/' for all images)
|
|
6366
|
-
*/
|
|
6367
|
-
mimeType?: string;
|
|
6368
|
-
/**
|
|
6369
|
-
* Cursor token for fetching the next page of results
|
|
6370
|
-
*/
|
|
6371
|
-
cursor?: string;
|
|
6372
|
-
/**
|
|
6373
|
-
* Number of items per page
|
|
6374
|
-
*/
|
|
6375
|
-
pageSize?: number;
|
|
6376
6879
|
};
|
|
6377
|
-
|
|
6880
|
+
query?: never;
|
|
6881
|
+
url: '/session-note/project/{projectId}';
|
|
6378
6882
|
};
|
|
6379
6883
|
|
|
6380
|
-
export type
|
|
6884
|
+
export type CreateSessionNoteErrors = {
|
|
6381
6885
|
/**
|
|
6382
6886
|
* Bad request - Invalid parameters or malformed JSON
|
|
6383
6887
|
*/
|
|
@@ -6390,17 +6894,13 @@ export type ListFilesErrors = {
|
|
|
6390
6894
|
*/
|
|
6391
6895
|
401: ErrorResponse;
|
|
6392
6896
|
/**
|
|
6393
|
-
* Forbidden
|
|
6897
|
+
* Forbidden
|
|
6394
6898
|
*/
|
|
6395
|
-
403:
|
|
6396
|
-
message: string;
|
|
6397
|
-
};
|
|
6899
|
+
403: ErrorResponse;
|
|
6398
6900
|
/**
|
|
6399
|
-
* Not
|
|
6901
|
+
* Not Found
|
|
6400
6902
|
*/
|
|
6401
|
-
404:
|
|
6402
|
-
message: string;
|
|
6403
|
-
};
|
|
6903
|
+
404: ErrorResponse;
|
|
6404
6904
|
/**
|
|
6405
6905
|
* Conflict
|
|
6406
6906
|
*/
|
|
@@ -6415,56 +6915,41 @@ export type ListFilesErrors = {
|
|
|
6415
6915
|
503: ErrorResponse;
|
|
6416
6916
|
};
|
|
6417
6917
|
|
|
6418
|
-
export type
|
|
6918
|
+
export type CreateSessionNoteError = CreateSessionNoteErrors[keyof CreateSessionNoteErrors];
|
|
6419
6919
|
|
|
6420
|
-
export type
|
|
6920
|
+
export type CreateSessionNoteResponses = {
|
|
6421
6921
|
/**
|
|
6422
|
-
*
|
|
6922
|
+
* Adds a note to the session summary.
|
|
6423
6923
|
*/
|
|
6424
|
-
200:
|
|
6924
|
+
200: {
|
|
6925
|
+
note: {
|
|
6926
|
+
id: string;
|
|
6927
|
+
projectId: string;
|
|
6928
|
+
content: string;
|
|
6929
|
+
createdAt: string;
|
|
6930
|
+
updatedAt: string;
|
|
6931
|
+
createdByChatId: string | null;
|
|
6932
|
+
updatedByChatId: string | null;
|
|
6933
|
+
updatedByUserId: string;
|
|
6934
|
+
};
|
|
6935
|
+
};
|
|
6425
6936
|
};
|
|
6426
6937
|
|
|
6427
|
-
export type
|
|
6938
|
+
export type CreateSessionNoteResponse = CreateSessionNoteResponses[keyof CreateSessionNoteResponses];
|
|
6428
6939
|
|
|
6429
|
-
export type
|
|
6940
|
+
export type DeleteSessionNoteData = {
|
|
6430
6941
|
body: {
|
|
6431
|
-
|
|
6432
|
-
|
|
6433
|
-
|
|
6434
|
-
|
|
6435
|
-
|
|
6436
|
-
* MIME type of the media file
|
|
6437
|
-
*/
|
|
6438
|
-
mimeType: string;
|
|
6439
|
-
/**
|
|
6440
|
-
* URL where the media file is accessible
|
|
6441
|
-
*/
|
|
6442
|
-
url: string;
|
|
6443
|
-
/**
|
|
6444
|
-
* User's Dazl ID (required for internal API calls)
|
|
6445
|
-
*/
|
|
6446
|
-
dazlId?: string;
|
|
6447
|
-
/**
|
|
6448
|
-
* Associated project identifier
|
|
6449
|
-
*/
|
|
6450
|
-
projectId?: string | null;
|
|
6451
|
-
/**
|
|
6452
|
-
* Git commit hash associated with this media
|
|
6453
|
-
*/
|
|
6454
|
-
gitCommit?: string | null;
|
|
6455
|
-
/**
|
|
6456
|
-
* Additional metadata as key-value pairs
|
|
6457
|
-
*/
|
|
6458
|
-
descriptor?: {
|
|
6459
|
-
[key: string]: unknown;
|
|
6460
|
-
} | null;
|
|
6942
|
+
ownerDazlId: string;
|
|
6943
|
+
};
|
|
6944
|
+
path: {
|
|
6945
|
+
projectId: string;
|
|
6946
|
+
noteId: string;
|
|
6461
6947
|
};
|
|
6462
|
-
path?: never;
|
|
6463
6948
|
query?: never;
|
|
6464
|
-
url: '/
|
|
6949
|
+
url: '/session-note/project/{projectId}/{noteId}';
|
|
6465
6950
|
};
|
|
6466
6951
|
|
|
6467
|
-
export type
|
|
6952
|
+
export type DeleteSessionNoteErrors = {
|
|
6468
6953
|
/**
|
|
6469
6954
|
* Bad request - Invalid parameters or malformed JSON
|
|
6470
6955
|
*/
|
|
@@ -6477,17 +6962,13 @@ export type CreateMediaErrors = {
|
|
|
6477
6962
|
*/
|
|
6478
6963
|
401: ErrorResponse;
|
|
6479
6964
|
/**
|
|
6480
|
-
* Forbidden
|
|
6965
|
+
* Forbidden
|
|
6481
6966
|
*/
|
|
6482
|
-
403:
|
|
6483
|
-
message: string;
|
|
6484
|
-
};
|
|
6967
|
+
403: ErrorResponse;
|
|
6485
6968
|
/**
|
|
6486
|
-
* Not
|
|
6969
|
+
* Not Found
|
|
6487
6970
|
*/
|
|
6488
|
-
404:
|
|
6489
|
-
message: string;
|
|
6490
|
-
};
|
|
6971
|
+
404: ErrorResponse;
|
|
6491
6972
|
/**
|
|
6492
6973
|
* Conflict
|
|
6493
6974
|
*/
|
|
@@ -6502,45 +6983,34 @@ export type CreateMediaErrors = {
|
|
|
6502
6983
|
503: ErrorResponse;
|
|
6503
6984
|
};
|
|
6504
6985
|
|
|
6505
|
-
export type
|
|
6986
|
+
export type DeleteSessionNoteError = DeleteSessionNoteErrors[keyof DeleteSessionNoteErrors];
|
|
6506
6987
|
|
|
6507
|
-
export type
|
|
6988
|
+
export type DeleteSessionNoteResponses = {
|
|
6508
6989
|
/**
|
|
6509
|
-
*
|
|
6990
|
+
* Removes a note from the session summary.
|
|
6510
6991
|
*/
|
|
6511
|
-
200:
|
|
6992
|
+
200: {
|
|
6993
|
+
deleted: true;
|
|
6994
|
+
};
|
|
6512
6995
|
};
|
|
6513
6996
|
|
|
6514
|
-
export type
|
|
6997
|
+
export type DeleteSessionNoteResponse = DeleteSessionNoteResponses[keyof DeleteSessionNoteResponses];
|
|
6998
|
+
|
|
6999
|
+
export type UpdateSessionNoteData = {
|
|
6515
7000
|
body: {
|
|
6516
|
-
|
|
6517
|
-
|
|
6518
|
-
|
|
6519
|
-
|
|
6520
|
-
|
|
6521
|
-
|
|
6522
|
-
|
|
6523
|
-
metadata: {
|
|
6524
|
-
title: string;
|
|
6525
|
-
caption: string;
|
|
6526
|
-
labels: Array<string>;
|
|
6527
|
-
tags: Array<string>;
|
|
6528
|
-
objects: Array<{
|
|
6529
|
-
name: string;
|
|
6530
|
-
confidence: number;
|
|
6531
|
-
}>;
|
|
6532
|
-
scenes: Array<string>;
|
|
6533
|
-
colors: Array<string>;
|
|
6534
|
-
text: string | null;
|
|
6535
|
-
description: string;
|
|
6536
|
-
};
|
|
7001
|
+
ownerDazlId: string;
|
|
7002
|
+
content: string;
|
|
7003
|
+
chatId?: string;
|
|
7004
|
+
};
|
|
7005
|
+
path: {
|
|
7006
|
+
projectId: string;
|
|
7007
|
+
noteId: string;
|
|
6537
7008
|
};
|
|
6538
|
-
path?: never;
|
|
6539
7009
|
query?: never;
|
|
6540
|
-
url: '/
|
|
7010
|
+
url: '/session-note/project/{projectId}/{noteId}';
|
|
6541
7011
|
};
|
|
6542
7012
|
|
|
6543
|
-
export type
|
|
7013
|
+
export type UpdateSessionNoteErrors = {
|
|
6544
7014
|
/**
|
|
6545
7015
|
* Bad request - Invalid parameters or malformed JSON
|
|
6546
7016
|
*/
|
|
@@ -6553,17 +7023,13 @@ export type SaveMediaErrors = {
|
|
|
6553
7023
|
*/
|
|
6554
7024
|
401: ErrorResponse;
|
|
6555
7025
|
/**
|
|
6556
|
-
* Forbidden
|
|
7026
|
+
* Forbidden
|
|
6557
7027
|
*/
|
|
6558
|
-
403:
|
|
6559
|
-
message: string;
|
|
6560
|
-
};
|
|
7028
|
+
403: ErrorResponse;
|
|
6561
7029
|
/**
|
|
6562
|
-
* Not
|
|
7030
|
+
* Not Found
|
|
6563
7031
|
*/
|
|
6564
|
-
404:
|
|
6565
|
-
message: string;
|
|
6566
|
-
};
|
|
7032
|
+
404: ErrorResponse;
|
|
6567
7033
|
/**
|
|
6568
7034
|
* Conflict
|
|
6569
7035
|
*/
|
|
@@ -6578,72 +7044,61 @@ export type SaveMediaErrors = {
|
|
|
6578
7044
|
503: ErrorResponse;
|
|
6579
7045
|
};
|
|
6580
7046
|
|
|
6581
|
-
export type
|
|
7047
|
+
export type UpdateSessionNoteError = UpdateSessionNoteErrors[keyof UpdateSessionNoteErrors];
|
|
6582
7048
|
|
|
6583
|
-
export type
|
|
7049
|
+
export type UpdateSessionNoteResponses = {
|
|
6584
7050
|
/**
|
|
6585
|
-
*
|
|
7051
|
+
* Replaces the content of a session note.
|
|
6586
7052
|
*/
|
|
6587
|
-
200:
|
|
7053
|
+
200: {
|
|
7054
|
+
note: {
|
|
7055
|
+
id: string;
|
|
7056
|
+
projectId: string;
|
|
7057
|
+
content: string;
|
|
7058
|
+
createdAt: string;
|
|
7059
|
+
updatedAt: string;
|
|
7060
|
+
createdByChatId: string | null;
|
|
7061
|
+
updatedByChatId: string | null;
|
|
7062
|
+
updatedByUserId: string;
|
|
7063
|
+
};
|
|
7064
|
+
};
|
|
6588
7065
|
};
|
|
6589
7066
|
|
|
6590
|
-
export type
|
|
7067
|
+
export type UpdateSessionNoteResponse = UpdateSessionNoteResponses[keyof UpdateSessionNoteResponses];
|
|
7068
|
+
|
|
7069
|
+
export type GetUploadConfigurationData = {
|
|
6591
7070
|
body: {
|
|
6592
7071
|
/**
|
|
6593
|
-
*
|
|
6594
|
-
*/
|
|
6595
|
-
url: string;
|
|
6596
|
-
/**
|
|
6597
|
-
* Viewport width in pixels
|
|
6598
|
-
*/
|
|
6599
|
-
width?: number;
|
|
6600
|
-
/**
|
|
6601
|
-
* Viewport height in pixels
|
|
6602
|
-
*/
|
|
6603
|
-
height?: number;
|
|
6604
|
-
/**
|
|
6605
|
-
* Capture the full scrollable page
|
|
6606
|
-
*/
|
|
6607
|
-
fullPage?: boolean;
|
|
6608
|
-
/**
|
|
6609
|
-
* Screenshot image format
|
|
7072
|
+
* File path within the project
|
|
6610
7073
|
*/
|
|
6611
|
-
|
|
7074
|
+
path: string;
|
|
6612
7075
|
/**
|
|
6613
|
-
* Project identifier
|
|
7076
|
+
* Project identifier (optional for account-level uploads)
|
|
6614
7077
|
*/
|
|
6615
7078
|
projectId?: string;
|
|
6616
7079
|
/**
|
|
6617
|
-
*
|
|
6618
|
-
*/
|
|
6619
|
-
storagePath?: string;
|
|
6620
|
-
/**
|
|
6621
|
-
* Git commit hash to associate with the screenshot
|
|
6622
|
-
*/
|
|
6623
|
-
commitHash?: string;
|
|
6624
|
-
/**
|
|
6625
|
-
* User's Dazl ID (required for internal API calls)
|
|
7080
|
+
* MIME type of the file to upload
|
|
6626
7081
|
*/
|
|
6627
|
-
|
|
7082
|
+
mimeType?: string;
|
|
6628
7083
|
/**
|
|
6629
|
-
*
|
|
7084
|
+
* Access control level for the file
|
|
6630
7085
|
*/
|
|
6631
|
-
|
|
7086
|
+
acl?: 'public' | 'private';
|
|
6632
7087
|
/**
|
|
6633
|
-
*
|
|
7088
|
+
* Callback URL to notify after upload completion
|
|
6634
7089
|
*/
|
|
6635
|
-
|
|
7090
|
+
callback?: string;
|
|
6636
7091
|
/**
|
|
6637
|
-
*
|
|
7092
|
+
* Upload protocol to use
|
|
6638
7093
|
*/
|
|
6639
|
-
|
|
7094
|
+
protocol?: 'tus';
|
|
6640
7095
|
};
|
|
6641
7096
|
path?: never;
|
|
6642
7097
|
query?: never;
|
|
6643
|
-
url: '/
|
|
7098
|
+
url: '/media/upload-configuration';
|
|
6644
7099
|
};
|
|
6645
7100
|
|
|
6646
|
-
export type
|
|
7101
|
+
export type GetUploadConfigurationErrors = {
|
|
6647
7102
|
/**
|
|
6648
7103
|
* Bad request - Invalid parameters or malformed JSON
|
|
6649
7104
|
*/
|
|
@@ -6681,96 +7136,2049 @@ export type TakeScreenshotErrors = {
|
|
|
6681
7136
|
503: ErrorResponse;
|
|
6682
7137
|
};
|
|
6683
7138
|
|
|
6684
|
-
export type
|
|
7139
|
+
export type GetUploadConfigurationError = GetUploadConfigurationErrors[keyof GetUploadConfigurationErrors];
|
|
6685
7140
|
|
|
6686
|
-
export type
|
|
7141
|
+
export type GetUploadConfigurationResponses = {
|
|
6687
7142
|
/**
|
|
6688
|
-
*
|
|
7143
|
+
* Returns presigned upload URL and configuration
|
|
6689
7144
|
*/
|
|
6690
|
-
200:
|
|
7145
|
+
200: UploadConfiguration;
|
|
7146
|
+
};
|
|
7147
|
+
|
|
7148
|
+
export type GetUploadConfigurationResponse = GetUploadConfigurationResponses[keyof GetUploadConfigurationResponses];
|
|
7149
|
+
|
|
7150
|
+
export type ListFilesData = {
|
|
7151
|
+
body?: never;
|
|
7152
|
+
path?: never;
|
|
7153
|
+
query: {
|
|
6691
7154
|
/**
|
|
6692
|
-
*
|
|
7155
|
+
* Project identifier
|
|
6693
7156
|
*/
|
|
6694
|
-
|
|
7157
|
+
projectId: string;
|
|
6695
7158
|
/**
|
|
6696
|
-
*
|
|
7159
|
+
* Filter by MIME type prefix (e.g., 'image/' for all images)
|
|
6697
7160
|
*/
|
|
6698
|
-
|
|
7161
|
+
mimeType?: string;
|
|
6699
7162
|
/**
|
|
6700
|
-
*
|
|
7163
|
+
* Cursor token for fetching the next page of results
|
|
6701
7164
|
*/
|
|
6702
|
-
|
|
7165
|
+
cursor?: string;
|
|
6703
7166
|
/**
|
|
6704
|
-
*
|
|
7167
|
+
* Number of items per page
|
|
6705
7168
|
*/
|
|
6706
|
-
|
|
6707
|
-
/**
|
|
6708
|
-
* Original URL that was captured
|
|
6709
|
-
*/
|
|
6710
|
-
sourceUrl: string;
|
|
6711
|
-
/**
|
|
6712
|
-
* Viewport width used
|
|
6713
|
-
*/
|
|
6714
|
-
width?: number;
|
|
6715
|
-
/**
|
|
6716
|
-
* Viewport height used
|
|
6717
|
-
*/
|
|
6718
|
-
height?: number;
|
|
6719
|
-
/**
|
|
6720
|
-
* Whether full page was captured
|
|
6721
|
-
*/
|
|
6722
|
-
fullPage?: boolean;
|
|
6723
|
-
/**
|
|
6724
|
-
* Image format
|
|
6725
|
-
*/
|
|
6726
|
-
imageType: 'png' | 'jpeg';
|
|
6727
|
-
/**
|
|
6728
|
-
* ISO timestamp of capture
|
|
6729
|
-
*/
|
|
6730
|
-
timestamp: string;
|
|
6731
|
-
/**
|
|
6732
|
-
* Associated project ID
|
|
6733
|
-
*/
|
|
6734
|
-
projectId: string;
|
|
6735
|
-
};
|
|
7169
|
+
pageSize?: number;
|
|
6736
7170
|
};
|
|
7171
|
+
url: '/media/list';
|
|
7172
|
+
};
|
|
7173
|
+
|
|
7174
|
+
export type ListFilesErrors = {
|
|
7175
|
+
/**
|
|
7176
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
7177
|
+
*/
|
|
7178
|
+
400: {
|
|
7179
|
+
message: string;
|
|
7180
|
+
issues?: string;
|
|
7181
|
+
};
|
|
7182
|
+
/**
|
|
7183
|
+
* Unauthorized
|
|
7184
|
+
*/
|
|
7185
|
+
401: ErrorResponse;
|
|
7186
|
+
/**
|
|
7187
|
+
* Forbidden - Permission denied
|
|
7188
|
+
*/
|
|
7189
|
+
403: {
|
|
7190
|
+
message: string;
|
|
7191
|
+
};
|
|
7192
|
+
/**
|
|
7193
|
+
* Not found
|
|
7194
|
+
*/
|
|
7195
|
+
404: {
|
|
7196
|
+
message: string;
|
|
7197
|
+
};
|
|
7198
|
+
/**
|
|
7199
|
+
* Conflict
|
|
7200
|
+
*/
|
|
7201
|
+
409: ErrorResponse;
|
|
7202
|
+
/**
|
|
7203
|
+
* Internal server error
|
|
7204
|
+
*/
|
|
7205
|
+
500: ErrorResponse;
|
|
7206
|
+
/**
|
|
7207
|
+
* Service Unavailable
|
|
7208
|
+
*/
|
|
7209
|
+
503: ErrorResponse;
|
|
7210
|
+
};
|
|
7211
|
+
|
|
7212
|
+
export type ListFilesError = ListFilesErrors[keyof ListFilesErrors];
|
|
7213
|
+
|
|
7214
|
+
export type ListFilesResponses = {
|
|
7215
|
+
/**
|
|
7216
|
+
* Returns paginated list of files in the project
|
|
7217
|
+
*/
|
|
7218
|
+
200: MediaFileList;
|
|
7219
|
+
};
|
|
7220
|
+
|
|
7221
|
+
export type ListFilesResponse = ListFilesResponses[keyof ListFilesResponses];
|
|
7222
|
+
|
|
7223
|
+
export type CreateMediaData = {
|
|
7224
|
+
body: {
|
|
7225
|
+
/**
|
|
7226
|
+
* Unique identifier for the media file
|
|
7227
|
+
*/
|
|
7228
|
+
id: string;
|
|
7229
|
+
/**
|
|
7230
|
+
* MIME type of the media file
|
|
7231
|
+
*/
|
|
7232
|
+
mimeType: string;
|
|
7233
|
+
/**
|
|
7234
|
+
* URL where the media file is accessible
|
|
7235
|
+
*/
|
|
7236
|
+
url: string;
|
|
7237
|
+
/**
|
|
7238
|
+
* User's Dazl ID (required for internal API calls)
|
|
7239
|
+
*/
|
|
7240
|
+
dazlId?: string;
|
|
7241
|
+
/**
|
|
7242
|
+
* Associated project identifier
|
|
7243
|
+
*/
|
|
7244
|
+
projectId?: string | null;
|
|
7245
|
+
/**
|
|
7246
|
+
* Git commit hash associated with this media
|
|
7247
|
+
*/
|
|
7248
|
+
gitCommit?: string | null;
|
|
7249
|
+
/**
|
|
7250
|
+
* Additional metadata as key-value pairs
|
|
7251
|
+
*/
|
|
7252
|
+
descriptor?: {
|
|
7253
|
+
[key: string]: unknown;
|
|
7254
|
+
} | null;
|
|
7255
|
+
};
|
|
7256
|
+
path?: never;
|
|
7257
|
+
query?: never;
|
|
7258
|
+
url: '/media';
|
|
7259
|
+
};
|
|
7260
|
+
|
|
7261
|
+
export type CreateMediaErrors = {
|
|
7262
|
+
/**
|
|
7263
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
7264
|
+
*/
|
|
7265
|
+
400: {
|
|
7266
|
+
message: string;
|
|
7267
|
+
issues?: string;
|
|
7268
|
+
};
|
|
7269
|
+
/**
|
|
7270
|
+
* Unauthorized
|
|
7271
|
+
*/
|
|
7272
|
+
401: ErrorResponse;
|
|
7273
|
+
/**
|
|
7274
|
+
* Forbidden - Permission denied
|
|
7275
|
+
*/
|
|
7276
|
+
403: {
|
|
7277
|
+
message: string;
|
|
7278
|
+
};
|
|
7279
|
+
/**
|
|
7280
|
+
* Not found
|
|
7281
|
+
*/
|
|
7282
|
+
404: {
|
|
7283
|
+
message: string;
|
|
7284
|
+
};
|
|
7285
|
+
/**
|
|
7286
|
+
* Conflict
|
|
7287
|
+
*/
|
|
7288
|
+
409: ErrorResponse;
|
|
7289
|
+
/**
|
|
7290
|
+
* Internal server error
|
|
7291
|
+
*/
|
|
7292
|
+
500: ErrorResponse;
|
|
7293
|
+
/**
|
|
7294
|
+
* Service Unavailable
|
|
7295
|
+
*/
|
|
7296
|
+
503: ErrorResponse;
|
|
7297
|
+
};
|
|
7298
|
+
|
|
7299
|
+
export type CreateMediaError = CreateMediaErrors[keyof CreateMediaErrors];
|
|
7300
|
+
|
|
7301
|
+
export type CreateMediaResponses = {
|
|
7302
|
+
/**
|
|
7303
|
+
* Media record created successfully
|
|
7304
|
+
*/
|
|
7305
|
+
200: unknown;
|
|
7306
|
+
};
|
|
7307
|
+
|
|
7308
|
+
export type SaveMediaData = {
|
|
7309
|
+
body: {
|
|
7310
|
+
/**
|
|
7311
|
+
* Media record identifier
|
|
7312
|
+
*/
|
|
7313
|
+
id: string;
|
|
7314
|
+
/**
|
|
7315
|
+
* AI-generated metadata from vision processing
|
|
7316
|
+
*/
|
|
7317
|
+
metadata: {
|
|
7318
|
+
title: string;
|
|
7319
|
+
caption: string;
|
|
7320
|
+
labels: Array<string>;
|
|
7321
|
+
tags: Array<string>;
|
|
7322
|
+
objects: Array<{
|
|
7323
|
+
name: string;
|
|
7324
|
+
confidence: number;
|
|
7325
|
+
}>;
|
|
7326
|
+
scenes: Array<string>;
|
|
7327
|
+
colors: Array<string>;
|
|
7328
|
+
text: string | null;
|
|
7329
|
+
description: string;
|
|
7330
|
+
};
|
|
7331
|
+
};
|
|
7332
|
+
path?: never;
|
|
7333
|
+
query?: never;
|
|
7334
|
+
url: '/media/save';
|
|
7335
|
+
};
|
|
7336
|
+
|
|
7337
|
+
export type SaveMediaErrors = {
|
|
7338
|
+
/**
|
|
7339
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
7340
|
+
*/
|
|
7341
|
+
400: {
|
|
7342
|
+
message: string;
|
|
7343
|
+
issues?: string;
|
|
7344
|
+
};
|
|
7345
|
+
/**
|
|
7346
|
+
* Unauthorized
|
|
7347
|
+
*/
|
|
7348
|
+
401: ErrorResponse;
|
|
7349
|
+
/**
|
|
7350
|
+
* Forbidden - Permission denied
|
|
7351
|
+
*/
|
|
7352
|
+
403: {
|
|
7353
|
+
message: string;
|
|
7354
|
+
};
|
|
7355
|
+
/**
|
|
7356
|
+
* Not found
|
|
7357
|
+
*/
|
|
7358
|
+
404: {
|
|
7359
|
+
message: string;
|
|
7360
|
+
};
|
|
7361
|
+
/**
|
|
7362
|
+
* Conflict
|
|
7363
|
+
*/
|
|
7364
|
+
409: ErrorResponse;
|
|
7365
|
+
/**
|
|
7366
|
+
* Internal server error
|
|
7367
|
+
*/
|
|
7368
|
+
500: ErrorResponse;
|
|
7369
|
+
/**
|
|
7370
|
+
* Service Unavailable
|
|
7371
|
+
*/
|
|
7372
|
+
503: ErrorResponse;
|
|
7373
|
+
};
|
|
7374
|
+
|
|
7375
|
+
export type SaveMediaError = SaveMediaErrors[keyof SaveMediaErrors];
|
|
7376
|
+
|
|
7377
|
+
export type SaveMediaResponses = {
|
|
7378
|
+
/**
|
|
7379
|
+
* Media metadata saved successfully
|
|
7380
|
+
*/
|
|
7381
|
+
200: unknown;
|
|
7382
|
+
};
|
|
7383
|
+
|
|
7384
|
+
export type TakeScreenshotData = {
|
|
7385
|
+
body: {
|
|
7386
|
+
/**
|
|
7387
|
+
* URL of the page to capture
|
|
7388
|
+
*/
|
|
7389
|
+
url: string;
|
|
7390
|
+
/**
|
|
7391
|
+
* Viewport width in pixels
|
|
7392
|
+
*/
|
|
7393
|
+
width?: number;
|
|
7394
|
+
/**
|
|
7395
|
+
* Viewport height in pixels
|
|
7396
|
+
*/
|
|
7397
|
+
height?: number;
|
|
7398
|
+
/**
|
|
7399
|
+
* Capture the full scrollable page
|
|
7400
|
+
*/
|
|
7401
|
+
fullPage?: boolean;
|
|
7402
|
+
/**
|
|
7403
|
+
* Screenshot image format
|
|
7404
|
+
*/
|
|
7405
|
+
imageType?: 'png' | 'jpeg';
|
|
7406
|
+
/**
|
|
7407
|
+
* Project identifier
|
|
7408
|
+
*/
|
|
7409
|
+
projectId?: string;
|
|
7410
|
+
/**
|
|
7411
|
+
* Custom storage path for the screenshot
|
|
7412
|
+
*/
|
|
7413
|
+
storagePath?: string;
|
|
7414
|
+
/**
|
|
7415
|
+
* Git commit hash to associate with the screenshot
|
|
7416
|
+
*/
|
|
7417
|
+
commitHash?: string;
|
|
7418
|
+
/**
|
|
7419
|
+
* User's Dazl ID (required for internal API calls)
|
|
7420
|
+
*/
|
|
7421
|
+
dazlId?: string;
|
|
7422
|
+
/**
|
|
7423
|
+
* Request timeout in milliseconds (1000-360000). Defaults to server configured value.
|
|
7424
|
+
*/
|
|
7425
|
+
timeout?: number;
|
|
7426
|
+
/**
|
|
7427
|
+
* Number of retry attempts on failure (0-10). Defaults to server configured value.
|
|
7428
|
+
*/
|
|
7429
|
+
retries?: number;
|
|
7430
|
+
/**
|
|
7431
|
+
* Minimum delay in milliseconds before the first retry (0-30000). Defaults to server configured value.
|
|
7432
|
+
*/
|
|
7433
|
+
retryDelay?: number;
|
|
7434
|
+
};
|
|
7435
|
+
path?: never;
|
|
7436
|
+
query?: never;
|
|
7437
|
+
url: '/capture/screenshot';
|
|
7438
|
+
};
|
|
7439
|
+
|
|
7440
|
+
export type TakeScreenshotErrors = {
|
|
7441
|
+
/**
|
|
7442
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
7443
|
+
*/
|
|
7444
|
+
400: {
|
|
7445
|
+
message: string;
|
|
7446
|
+
issues?: string;
|
|
7447
|
+
};
|
|
7448
|
+
/**
|
|
7449
|
+
* Unauthorized
|
|
7450
|
+
*/
|
|
7451
|
+
401: ErrorResponse;
|
|
7452
|
+
/**
|
|
7453
|
+
* Forbidden - Permission denied
|
|
7454
|
+
*/
|
|
7455
|
+
403: {
|
|
7456
|
+
message: string;
|
|
7457
|
+
};
|
|
7458
|
+
/**
|
|
7459
|
+
* Not found
|
|
7460
|
+
*/
|
|
7461
|
+
404: {
|
|
7462
|
+
message: string;
|
|
7463
|
+
};
|
|
7464
|
+
/**
|
|
7465
|
+
* Conflict
|
|
7466
|
+
*/
|
|
7467
|
+
409: ErrorResponse;
|
|
7468
|
+
/**
|
|
7469
|
+
* Internal server error
|
|
7470
|
+
*/
|
|
7471
|
+
500: ErrorResponse;
|
|
7472
|
+
/**
|
|
7473
|
+
* Service Unavailable
|
|
7474
|
+
*/
|
|
7475
|
+
503: ErrorResponse;
|
|
7476
|
+
};
|
|
7477
|
+
|
|
7478
|
+
export type TakeScreenshotError = TakeScreenshotErrors[keyof TakeScreenshotErrors];
|
|
7479
|
+
|
|
7480
|
+
export type TakeScreenshotResponses = {
|
|
7481
|
+
/**
|
|
7482
|
+
* Screenshot captured successfully
|
|
7483
|
+
*/
|
|
7484
|
+
200: {
|
|
7485
|
+
/**
|
|
7486
|
+
* Whether the operation succeeded
|
|
7487
|
+
*/
|
|
7488
|
+
success: boolean;
|
|
7489
|
+
/**
|
|
7490
|
+
* Unique identifier for the screenshot
|
|
7491
|
+
*/
|
|
7492
|
+
screenshotId: string;
|
|
7493
|
+
/**
|
|
7494
|
+
* Public URL of the screenshot
|
|
7495
|
+
*/
|
|
7496
|
+
publicUrl: string;
|
|
7497
|
+
/**
|
|
7498
|
+
* Screenshot metadata
|
|
7499
|
+
*/
|
|
7500
|
+
metadata: {
|
|
7501
|
+
/**
|
|
7502
|
+
* Original URL that was captured
|
|
7503
|
+
*/
|
|
7504
|
+
sourceUrl: string;
|
|
7505
|
+
/**
|
|
7506
|
+
* Viewport width used
|
|
7507
|
+
*/
|
|
7508
|
+
width?: number;
|
|
7509
|
+
/**
|
|
7510
|
+
* Viewport height used
|
|
7511
|
+
*/
|
|
7512
|
+
height?: number;
|
|
7513
|
+
/**
|
|
7514
|
+
* Whether full page was captured
|
|
7515
|
+
*/
|
|
7516
|
+
fullPage?: boolean;
|
|
7517
|
+
/**
|
|
7518
|
+
* Image format
|
|
7519
|
+
*/
|
|
7520
|
+
imageType: 'png' | 'jpeg';
|
|
7521
|
+
/**
|
|
7522
|
+
* ISO timestamp of capture
|
|
7523
|
+
*/
|
|
7524
|
+
timestamp: string;
|
|
7525
|
+
/**
|
|
7526
|
+
* Associated project ID
|
|
7527
|
+
*/
|
|
7528
|
+
projectId: string;
|
|
7529
|
+
};
|
|
7530
|
+
};
|
|
7531
|
+
};
|
|
7532
|
+
|
|
7533
|
+
export type TakeScreenshotResponse = TakeScreenshotResponses[keyof TakeScreenshotResponses];
|
|
7534
|
+
|
|
7535
|
+
export type ScrapePageContentData = {
|
|
7536
|
+
body: {
|
|
7537
|
+
/**
|
|
7538
|
+
* URL of the page to scrape
|
|
7539
|
+
*/
|
|
7540
|
+
url: string;
|
|
7541
|
+
/**
|
|
7542
|
+
* Only return the main content of the page excluding headers, navs, footers, etc.
|
|
7543
|
+
*/
|
|
7544
|
+
onlyMainContent?: boolean;
|
|
7545
|
+
/**
|
|
7546
|
+
* Emulate scraping from a mobile device
|
|
7547
|
+
*/
|
|
7548
|
+
mobile?: boolean;
|
|
7549
|
+
/**
|
|
7550
|
+
* Fetch external CSS stylesheets and inline them as <style> tags for fully self-contained HTML
|
|
7551
|
+
*/
|
|
7552
|
+
inlineExternalCss?: boolean;
|
|
7553
|
+
/**
|
|
7554
|
+
* Include structured branding/design system data (colors, fonts, typography, spacing, components)
|
|
7555
|
+
*/
|
|
7556
|
+
includeBranding?: boolean;
|
|
7557
|
+
/**
|
|
7558
|
+
* Request timeout in milliseconds (1000-360000). Defaults to server configured value.
|
|
7559
|
+
*/
|
|
7560
|
+
timeout?: number;
|
|
7561
|
+
};
|
|
7562
|
+
path?: never;
|
|
7563
|
+
query?: never;
|
|
7564
|
+
url: '/capture/scrape';
|
|
7565
|
+
};
|
|
7566
|
+
|
|
7567
|
+
export type ScrapePageContentErrors = {
|
|
7568
|
+
/**
|
|
7569
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
7570
|
+
*/
|
|
7571
|
+
400: {
|
|
7572
|
+
message: string;
|
|
7573
|
+
issues?: string;
|
|
7574
|
+
};
|
|
7575
|
+
/**
|
|
7576
|
+
* Unauthorized
|
|
7577
|
+
*/
|
|
7578
|
+
401: ErrorResponse;
|
|
7579
|
+
/**
|
|
7580
|
+
* Forbidden - Permission denied
|
|
7581
|
+
*/
|
|
7582
|
+
403: {
|
|
7583
|
+
message: string;
|
|
7584
|
+
};
|
|
7585
|
+
/**
|
|
7586
|
+
* Not found
|
|
7587
|
+
*/
|
|
7588
|
+
404: {
|
|
7589
|
+
message: string;
|
|
7590
|
+
};
|
|
7591
|
+
/**
|
|
7592
|
+
* Conflict
|
|
7593
|
+
*/
|
|
7594
|
+
409: ErrorResponse;
|
|
7595
|
+
/**
|
|
7596
|
+
* Internal server error
|
|
7597
|
+
*/
|
|
7598
|
+
500: ErrorResponse;
|
|
7599
|
+
/**
|
|
7600
|
+
* Service Unavailable
|
|
7601
|
+
*/
|
|
7602
|
+
503: ErrorResponse;
|
|
7603
|
+
};
|
|
7604
|
+
|
|
7605
|
+
export type ScrapePageContentError = ScrapePageContentErrors[keyof ScrapePageContentErrors];
|
|
7606
|
+
|
|
7607
|
+
export type ScrapePageContentResponses = {
|
|
7608
|
+
/**
|
|
7609
|
+
* Page content scraped successfully
|
|
7610
|
+
*/
|
|
7611
|
+
200: {
|
|
7612
|
+
/**
|
|
7613
|
+
* Whether the operation succeeded
|
|
7614
|
+
*/
|
|
7615
|
+
success: boolean;
|
|
7616
|
+
/**
|
|
7617
|
+
* Cleaned HTML content of the page (processed for readability)
|
|
7618
|
+
*/
|
|
7619
|
+
html: string;
|
|
7620
|
+
/**
|
|
7621
|
+
* Raw HTML content of the page as-is
|
|
7622
|
+
*/
|
|
7623
|
+
rawHtml: string;
|
|
7624
|
+
/**
|
|
7625
|
+
* Page metadata
|
|
7626
|
+
*/
|
|
7627
|
+
metadata?: {
|
|
7628
|
+
title?: string;
|
|
7629
|
+
description?: string;
|
|
7630
|
+
language?: string;
|
|
7631
|
+
sourceURL?: string;
|
|
7632
|
+
keywords?: string;
|
|
7633
|
+
ogLocaleAlternate?: Array<string>;
|
|
7634
|
+
statusCode: number;
|
|
7635
|
+
error?: string;
|
|
7636
|
+
};
|
|
7637
|
+
/**
|
|
7638
|
+
* Structured branding/design system data (when includeBranding is true)
|
|
7639
|
+
*/
|
|
7640
|
+
branding?: {
|
|
7641
|
+
colorScheme?: 'light' | 'dark' | null;
|
|
7642
|
+
logo?: string | null;
|
|
7643
|
+
colors?: {
|
|
7644
|
+
[key: string]: unknown;
|
|
7645
|
+
} | null;
|
|
7646
|
+
fonts?: Array<{
|
|
7647
|
+
[key: string]: unknown;
|
|
7648
|
+
}> | null;
|
|
7649
|
+
typography?: {
|
|
7650
|
+
[key: string]: unknown;
|
|
7651
|
+
} | null;
|
|
7652
|
+
spacing?: {
|
|
7653
|
+
[key: string]: unknown;
|
|
7654
|
+
} | null;
|
|
7655
|
+
components?: {
|
|
7656
|
+
[key: string]: unknown;
|
|
7657
|
+
} | null;
|
|
7658
|
+
images?: {
|
|
7659
|
+
[key: string]: unknown;
|
|
7660
|
+
} | null;
|
|
7661
|
+
[key: string]: unknown;
|
|
7662
|
+
};
|
|
7663
|
+
};
|
|
7664
|
+
};
|
|
7665
|
+
|
|
7666
|
+
export type ScrapePageContentResponse = ScrapePageContentResponses[keyof ScrapePageContentResponses];
|
|
7667
|
+
|
|
7668
|
+
export type GetUserByDazlIdData = {
|
|
7669
|
+
body?: never;
|
|
7670
|
+
path: {
|
|
7671
|
+
dazlId: string;
|
|
7672
|
+
};
|
|
7673
|
+
query?: never;
|
|
7674
|
+
url: '/user/{dazlId}';
|
|
7675
|
+
};
|
|
7676
|
+
|
|
7677
|
+
export type GetUserByDazlIdErrors = {
|
|
7678
|
+
/**
|
|
7679
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
7680
|
+
*/
|
|
7681
|
+
400: {
|
|
7682
|
+
message: string;
|
|
7683
|
+
issues?: string;
|
|
7684
|
+
};
|
|
7685
|
+
/**
|
|
7686
|
+
* Unauthorized
|
|
7687
|
+
*/
|
|
7688
|
+
401: ErrorResponse;
|
|
7689
|
+
/**
|
|
7690
|
+
* Forbidden
|
|
7691
|
+
*/
|
|
7692
|
+
403: ErrorResponse;
|
|
7693
|
+
/**
|
|
7694
|
+
* Not Found
|
|
7695
|
+
*/
|
|
7696
|
+
404: ErrorResponse;
|
|
7697
|
+
/**
|
|
7698
|
+
* Conflict
|
|
7699
|
+
*/
|
|
7700
|
+
409: ErrorResponse;
|
|
7701
|
+
/**
|
|
7702
|
+
* Internal server error
|
|
7703
|
+
*/
|
|
7704
|
+
500: ErrorResponse;
|
|
7705
|
+
/**
|
|
7706
|
+
* Service Unavailable
|
|
7707
|
+
*/
|
|
7708
|
+
503: ErrorResponse;
|
|
7709
|
+
};
|
|
7710
|
+
|
|
7711
|
+
export type GetUserByDazlIdError = GetUserByDazlIdErrors[keyof GetUserByDazlIdErrors];
|
|
7712
|
+
|
|
7713
|
+
export type GetUserByDazlIdResponses = {
|
|
7714
|
+
/**
|
|
7715
|
+
* Returns the requested user
|
|
7716
|
+
*/
|
|
7717
|
+
200: {
|
|
7718
|
+
user: UserRaw;
|
|
7719
|
+
};
|
|
7720
|
+
};
|
|
7721
|
+
|
|
7722
|
+
export type GetUserByDazlIdResponse = GetUserByDazlIdResponses[keyof GetUserByDazlIdResponses];
|
|
7723
|
+
|
|
7724
|
+
export type UpdateUserData = {
|
|
7725
|
+
body: {
|
|
7726
|
+
picture?: string | null;
|
|
7727
|
+
name?: string;
|
|
7728
|
+
jobRole?: string | null;
|
|
7729
|
+
};
|
|
7730
|
+
path: {
|
|
7731
|
+
dazlId: string;
|
|
7732
|
+
};
|
|
7733
|
+
query?: never;
|
|
7734
|
+
url: '/user/{dazlId}';
|
|
7735
|
+
};
|
|
7736
|
+
|
|
7737
|
+
export type UpdateUserErrors = {
|
|
7738
|
+
/**
|
|
7739
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
7740
|
+
*/
|
|
7741
|
+
400: {
|
|
7742
|
+
message: string;
|
|
7743
|
+
issues?: string;
|
|
7744
|
+
};
|
|
7745
|
+
/**
|
|
7746
|
+
* Unauthorized
|
|
7747
|
+
*/
|
|
7748
|
+
401: ErrorResponse;
|
|
7749
|
+
/**
|
|
7750
|
+
* Forbidden
|
|
7751
|
+
*/
|
|
7752
|
+
403: ErrorResponse;
|
|
7753
|
+
/**
|
|
7754
|
+
* Not Found
|
|
7755
|
+
*/
|
|
7756
|
+
404: ErrorResponse;
|
|
7757
|
+
/**
|
|
7758
|
+
* Conflict
|
|
7759
|
+
*/
|
|
7760
|
+
409: ErrorResponse;
|
|
7761
|
+
/**
|
|
7762
|
+
* Internal server error
|
|
7763
|
+
*/
|
|
7764
|
+
500: ErrorResponse;
|
|
7765
|
+
/**
|
|
7766
|
+
* Service Unavailable
|
|
7767
|
+
*/
|
|
7768
|
+
503: ErrorResponse;
|
|
7769
|
+
};
|
|
7770
|
+
|
|
7771
|
+
export type UpdateUserError = UpdateUserErrors[keyof UpdateUserErrors];
|
|
7772
|
+
|
|
7773
|
+
export type UpdateUserResponses = {
|
|
7774
|
+
/**
|
|
7775
|
+
* Updates user information
|
|
7776
|
+
*/
|
|
7777
|
+
200: {
|
|
7778
|
+
user: UserRaw;
|
|
7779
|
+
};
|
|
7780
|
+
};
|
|
7781
|
+
|
|
7782
|
+
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
7783
|
+
|
|
7784
|
+
export type GetUsersByDazlIdsData = {
|
|
7785
|
+
body: {
|
|
7786
|
+
dazlIds: Array<string>;
|
|
7787
|
+
};
|
|
7788
|
+
path?: never;
|
|
7789
|
+
query?: never;
|
|
7790
|
+
url: '/user/list-by-dazl-ids';
|
|
7791
|
+
};
|
|
7792
|
+
|
|
7793
|
+
export type GetUsersByDazlIdsErrors = {
|
|
7794
|
+
/**
|
|
7795
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
7796
|
+
*/
|
|
7797
|
+
400: {
|
|
7798
|
+
message: string;
|
|
7799
|
+
issues?: string;
|
|
7800
|
+
};
|
|
7801
|
+
/**
|
|
7802
|
+
* Unauthorized
|
|
7803
|
+
*/
|
|
7804
|
+
401: ErrorResponse;
|
|
7805
|
+
/**
|
|
7806
|
+
* Forbidden
|
|
7807
|
+
*/
|
|
7808
|
+
403: ErrorResponse;
|
|
7809
|
+
/**
|
|
7810
|
+
* Not Found
|
|
7811
|
+
*/
|
|
7812
|
+
404: ErrorResponse;
|
|
7813
|
+
/**
|
|
7814
|
+
* Conflict
|
|
7815
|
+
*/
|
|
7816
|
+
409: ErrorResponse;
|
|
7817
|
+
/**
|
|
7818
|
+
* Internal server error
|
|
7819
|
+
*/
|
|
7820
|
+
500: ErrorResponse;
|
|
7821
|
+
/**
|
|
7822
|
+
* Service Unavailable
|
|
7823
|
+
*/
|
|
7824
|
+
503: ErrorResponse;
|
|
7825
|
+
};
|
|
7826
|
+
|
|
7827
|
+
export type GetUsersByDazlIdsError = GetUsersByDazlIdsErrors[keyof GetUsersByDazlIdsErrors];
|
|
7828
|
+
|
|
7829
|
+
export type GetUsersByDazlIdsResponses = {
|
|
7830
|
+
/**
|
|
7831
|
+
* Returns the requested users
|
|
7832
|
+
*/
|
|
7833
|
+
200: {
|
|
7834
|
+
users: Array<UserDisplayInfoResponse>;
|
|
7835
|
+
};
|
|
7836
|
+
};
|
|
7837
|
+
|
|
7838
|
+
export type GetUsersByDazlIdsResponse = GetUsersByDazlIdsResponses[keyof GetUsersByDazlIdsResponses];
|
|
7839
|
+
|
|
7840
|
+
export type GetUsersByEmailsData = {
|
|
7841
|
+
body: {
|
|
7842
|
+
emails: Array<string>;
|
|
7843
|
+
};
|
|
7844
|
+
path?: never;
|
|
7845
|
+
query?: never;
|
|
7846
|
+
url: '/user/list-by-emails';
|
|
7847
|
+
};
|
|
7848
|
+
|
|
7849
|
+
export type GetUsersByEmailsErrors = {
|
|
7850
|
+
/**
|
|
7851
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
7852
|
+
*/
|
|
7853
|
+
400: {
|
|
7854
|
+
message: string;
|
|
7855
|
+
issues?: string;
|
|
7856
|
+
};
|
|
7857
|
+
/**
|
|
7858
|
+
* Unauthorized
|
|
7859
|
+
*/
|
|
7860
|
+
401: ErrorResponse;
|
|
7861
|
+
/**
|
|
7862
|
+
* Forbidden
|
|
7863
|
+
*/
|
|
7864
|
+
403: ErrorResponse;
|
|
7865
|
+
/**
|
|
7866
|
+
* Not Found
|
|
7867
|
+
*/
|
|
7868
|
+
404: ErrorResponse;
|
|
7869
|
+
/**
|
|
7870
|
+
* Conflict
|
|
7871
|
+
*/
|
|
7872
|
+
409: ErrorResponse;
|
|
7873
|
+
/**
|
|
7874
|
+
* Internal server error
|
|
7875
|
+
*/
|
|
7876
|
+
500: ErrorResponse;
|
|
7877
|
+
/**
|
|
7878
|
+
* Service Unavailable
|
|
7879
|
+
*/
|
|
7880
|
+
503: ErrorResponse;
|
|
7881
|
+
};
|
|
7882
|
+
|
|
7883
|
+
export type GetUsersByEmailsError = GetUsersByEmailsErrors[keyof GetUsersByEmailsErrors];
|
|
7884
|
+
|
|
7885
|
+
export type GetUsersByEmailsResponses = {
|
|
7886
|
+
/**
|
|
7887
|
+
* Returns the requested users
|
|
7888
|
+
*/
|
|
7889
|
+
200: {
|
|
7890
|
+
users: Array<UserDisplayInfoResponse>;
|
|
7891
|
+
};
|
|
7892
|
+
};
|
|
7893
|
+
|
|
7894
|
+
export type GetUsersByEmailsResponse = GetUsersByEmailsResponses[keyof GetUsersByEmailsResponses];
|
|
7895
|
+
|
|
7896
|
+
export type CreateUserData = {
|
|
7897
|
+
body: {
|
|
7898
|
+
dazlId: string;
|
|
7899
|
+
name: string;
|
|
7900
|
+
email: string;
|
|
7901
|
+
authSub: string;
|
|
7902
|
+
picture?: string | null;
|
|
7903
|
+
jobRole?: string | null;
|
|
7904
|
+
};
|
|
7905
|
+
path?: never;
|
|
7906
|
+
query?: never;
|
|
7907
|
+
url: '/user/create';
|
|
7908
|
+
};
|
|
7909
|
+
|
|
7910
|
+
export type CreateUserErrors = {
|
|
7911
|
+
/**
|
|
7912
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
7913
|
+
*/
|
|
7914
|
+
400: {
|
|
7915
|
+
message: string;
|
|
7916
|
+
issues?: string;
|
|
7917
|
+
};
|
|
7918
|
+
/**
|
|
7919
|
+
* Unauthorized
|
|
7920
|
+
*/
|
|
7921
|
+
401: ErrorResponse;
|
|
7922
|
+
/**
|
|
7923
|
+
* Forbidden
|
|
7924
|
+
*/
|
|
7925
|
+
403: ErrorResponse;
|
|
7926
|
+
/**
|
|
7927
|
+
* Not Found
|
|
7928
|
+
*/
|
|
7929
|
+
404: ErrorResponse;
|
|
7930
|
+
/**
|
|
7931
|
+
* Conflict
|
|
7932
|
+
*/
|
|
7933
|
+
409: ErrorResponse;
|
|
7934
|
+
/**
|
|
7935
|
+
* Internal server error
|
|
7936
|
+
*/
|
|
7937
|
+
500: ErrorResponse;
|
|
7938
|
+
/**
|
|
7939
|
+
* Service Unavailable
|
|
7940
|
+
*/
|
|
7941
|
+
503: ErrorResponse;
|
|
7942
|
+
};
|
|
7943
|
+
|
|
7944
|
+
export type CreateUserError = CreateUserErrors[keyof CreateUserErrors];
|
|
7945
|
+
|
|
7946
|
+
export type CreateUserResponses = {
|
|
7947
|
+
/**
|
|
7948
|
+
* Creates a new user with billing customer
|
|
7949
|
+
*/
|
|
7950
|
+
200: {
|
|
7951
|
+
user: UserRaw;
|
|
7952
|
+
};
|
|
7953
|
+
};
|
|
7954
|
+
|
|
7955
|
+
export type CreateUserResponse = CreateUserResponses[keyof CreateUserResponses];
|
|
7956
|
+
|
|
7957
|
+
export type SearchWebData = {
|
|
7958
|
+
body: {
|
|
7959
|
+
/**
|
|
7960
|
+
* Search query
|
|
7961
|
+
*/
|
|
7962
|
+
query: string;
|
|
7963
|
+
/**
|
|
7964
|
+
* Maximum number of results to return
|
|
7965
|
+
*/
|
|
7966
|
+
limit?: number;
|
|
7967
|
+
/**
|
|
7968
|
+
* Location parameter for search results
|
|
7969
|
+
*/
|
|
7970
|
+
location?: string;
|
|
7971
|
+
/**
|
|
7972
|
+
* Timeout for the search in milliseconds
|
|
7973
|
+
*/
|
|
7974
|
+
timeout?: number;
|
|
7975
|
+
/**
|
|
7976
|
+
* Options for scraping search results
|
|
7977
|
+
*/
|
|
7978
|
+
scrapeOptions?: {
|
|
7979
|
+
/**
|
|
7980
|
+
* Formats to return
|
|
7981
|
+
*/
|
|
7982
|
+
formats?: Array<'summary' | 'json' | {
|
|
7983
|
+
type: 'json';
|
|
7984
|
+
prompt: string;
|
|
7985
|
+
schema?: {
|
|
7986
|
+
[key: string]: unknown;
|
|
7987
|
+
};
|
|
7988
|
+
} | {
|
|
7989
|
+
type: 'summary' | 'json';
|
|
7990
|
+
}>;
|
|
7991
|
+
/**
|
|
7992
|
+
* Maximum age of cached content
|
|
7993
|
+
*/
|
|
7994
|
+
maxAge?: number;
|
|
7995
|
+
/**
|
|
7996
|
+
* Timeout for scraping each document in milliseconds
|
|
7997
|
+
*/
|
|
7998
|
+
timeout?: number;
|
|
7999
|
+
/**
|
|
8000
|
+
* Parsers to use for content extraction
|
|
8001
|
+
*/
|
|
8002
|
+
parsers?: Array<string | {
|
|
8003
|
+
type: 'pdf';
|
|
8004
|
+
maxPages?: number;
|
|
8005
|
+
}>;
|
|
8006
|
+
};
|
|
8007
|
+
};
|
|
8008
|
+
path?: never;
|
|
8009
|
+
query?: never;
|
|
8010
|
+
url: '/search/web';
|
|
8011
|
+
};
|
|
8012
|
+
|
|
8013
|
+
export type SearchWebErrors = {
|
|
8014
|
+
/**
|
|
8015
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
8016
|
+
*/
|
|
8017
|
+
400: {
|
|
8018
|
+
message: string;
|
|
8019
|
+
issues?: string;
|
|
8020
|
+
};
|
|
8021
|
+
/**
|
|
8022
|
+
* Unauthorized
|
|
8023
|
+
*/
|
|
8024
|
+
401: ErrorResponse;
|
|
8025
|
+
/**
|
|
8026
|
+
* Forbidden
|
|
8027
|
+
*/
|
|
8028
|
+
403: ErrorResponse;
|
|
8029
|
+
/**
|
|
8030
|
+
* Not Found
|
|
8031
|
+
*/
|
|
8032
|
+
404: ErrorResponse;
|
|
8033
|
+
/**
|
|
8034
|
+
* Conflict
|
|
8035
|
+
*/
|
|
8036
|
+
409: ErrorResponse;
|
|
8037
|
+
/**
|
|
8038
|
+
* Internal server error
|
|
8039
|
+
*/
|
|
8040
|
+
500: ErrorResponse;
|
|
8041
|
+
/**
|
|
8042
|
+
* Service Unavailable
|
|
8043
|
+
*/
|
|
8044
|
+
503: ErrorResponse;
|
|
8045
|
+
};
|
|
8046
|
+
|
|
8047
|
+
export type SearchWebError = SearchWebErrors[keyof SearchWebErrors];
|
|
8048
|
+
|
|
8049
|
+
export type SearchWebResponses = {
|
|
8050
|
+
/**
|
|
8051
|
+
* Search results organized by source type
|
|
8052
|
+
*/
|
|
8053
|
+
200: {
|
|
8054
|
+
web?: Array<{
|
|
8055
|
+
url: string;
|
|
8056
|
+
title?: string;
|
|
8057
|
+
description?: string;
|
|
8058
|
+
json?: unknown;
|
|
8059
|
+
summary?: string;
|
|
8060
|
+
metadata?: {
|
|
8061
|
+
creditsUsed?: number;
|
|
8062
|
+
};
|
|
8063
|
+
}>;
|
|
8064
|
+
};
|
|
8065
|
+
};
|
|
8066
|
+
|
|
8067
|
+
export type SearchWebResponse = SearchWebResponses[keyof SearchWebResponses];
|
|
8068
|
+
|
|
8069
|
+
export type AdminDeleteProjectData = {
|
|
8070
|
+
body: DeleteProjectInput;
|
|
8071
|
+
path: {
|
|
8072
|
+
projectId: string;
|
|
8073
|
+
};
|
|
8074
|
+
query?: never;
|
|
8075
|
+
url: '/admin/project/{projectId}';
|
|
8076
|
+
};
|
|
8077
|
+
|
|
8078
|
+
export type AdminDeleteProjectErrors = {
|
|
8079
|
+
/**
|
|
8080
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
8081
|
+
*/
|
|
8082
|
+
400: {
|
|
8083
|
+
message: string;
|
|
8084
|
+
issues?: string;
|
|
8085
|
+
};
|
|
8086
|
+
/**
|
|
8087
|
+
* Unauthorized
|
|
8088
|
+
*/
|
|
8089
|
+
401: ErrorResponse;
|
|
8090
|
+
/**
|
|
8091
|
+
* Forbidden
|
|
8092
|
+
*/
|
|
8093
|
+
403: ErrorResponse;
|
|
8094
|
+
/**
|
|
8095
|
+
* Not Found
|
|
8096
|
+
*/
|
|
8097
|
+
404: ErrorResponse;
|
|
8098
|
+
/**
|
|
8099
|
+
* Conflict
|
|
8100
|
+
*/
|
|
8101
|
+
409: ErrorResponse;
|
|
8102
|
+
/**
|
|
8103
|
+
* Internal server error
|
|
8104
|
+
*/
|
|
8105
|
+
500: ErrorResponse;
|
|
8106
|
+
/**
|
|
8107
|
+
* Service Unavailable
|
|
8108
|
+
*/
|
|
8109
|
+
503: ErrorResponse;
|
|
8110
|
+
};
|
|
8111
|
+
|
|
8112
|
+
export type AdminDeleteProjectError = AdminDeleteProjectErrors[keyof AdminDeleteProjectErrors];
|
|
8113
|
+
|
|
8114
|
+
export type AdminDeleteProjectResponses = {
|
|
8115
|
+
/**
|
|
8116
|
+
* Project deleted successfully
|
|
8117
|
+
*/
|
|
8118
|
+
200: {
|
|
8119
|
+
success: boolean;
|
|
8120
|
+
projectId: string;
|
|
8121
|
+
};
|
|
8122
|
+
};
|
|
8123
|
+
|
|
8124
|
+
export type AdminDeleteProjectResponse = AdminDeleteProjectResponses[keyof AdminDeleteProjectResponses];
|
|
8125
|
+
|
|
8126
|
+
export type AdminCloneProjectCreateData = {
|
|
8127
|
+
body: CloneProjectCreateInput;
|
|
8128
|
+
path?: never;
|
|
8129
|
+
query?: never;
|
|
8130
|
+
url: '/admin/project/clone';
|
|
8131
|
+
};
|
|
8132
|
+
|
|
8133
|
+
export type AdminCloneProjectCreateErrors = {
|
|
8134
|
+
/**
|
|
8135
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
8136
|
+
*/
|
|
8137
|
+
400: {
|
|
8138
|
+
message: string;
|
|
8139
|
+
issues?: string;
|
|
8140
|
+
};
|
|
8141
|
+
/**
|
|
8142
|
+
* Unauthorized
|
|
8143
|
+
*/
|
|
8144
|
+
401: ErrorResponse;
|
|
8145
|
+
/**
|
|
8146
|
+
* Forbidden
|
|
8147
|
+
*/
|
|
8148
|
+
403: ErrorResponse;
|
|
8149
|
+
/**
|
|
8150
|
+
* Not Found
|
|
8151
|
+
*/
|
|
8152
|
+
404: ErrorResponse;
|
|
8153
|
+
/**
|
|
8154
|
+
* Conflict
|
|
8155
|
+
*/
|
|
8156
|
+
409: ErrorResponse;
|
|
8157
|
+
/**
|
|
8158
|
+
* Internal server error
|
|
8159
|
+
*/
|
|
8160
|
+
500: ErrorResponse;
|
|
8161
|
+
/**
|
|
8162
|
+
* Service Unavailable
|
|
8163
|
+
*/
|
|
8164
|
+
503: ErrorResponse;
|
|
8165
|
+
};
|
|
8166
|
+
|
|
8167
|
+
export type AdminCloneProjectCreateError = AdminCloneProjectCreateErrors[keyof AdminCloneProjectCreateErrors];
|
|
8168
|
+
|
|
8169
|
+
export type AdminCloneProjectCreateResponses = {
|
|
8170
|
+
/**
|
|
8171
|
+
* Returns the ID of the newly created clone project record
|
|
8172
|
+
*/
|
|
8173
|
+
200: {
|
|
8174
|
+
newProjectId: string;
|
|
8175
|
+
};
|
|
8176
|
+
};
|
|
8177
|
+
|
|
8178
|
+
export type AdminCloneProjectCreateResponse = AdminCloneProjectCreateResponses[keyof AdminCloneProjectCreateResponses];
|
|
8179
|
+
|
|
8180
|
+
export type AdminCloneProjectLogData = {
|
|
8181
|
+
body: CloneProjectLogInput;
|
|
8182
|
+
path?: never;
|
|
8183
|
+
query?: never;
|
|
8184
|
+
url: '/admin/project/clone/log';
|
|
8185
|
+
};
|
|
8186
|
+
|
|
8187
|
+
export type AdminCloneProjectLogErrors = {
|
|
8188
|
+
/**
|
|
8189
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
8190
|
+
*/
|
|
8191
|
+
400: {
|
|
8192
|
+
message: string;
|
|
8193
|
+
issues?: string;
|
|
8194
|
+
};
|
|
8195
|
+
/**
|
|
8196
|
+
* Unauthorized
|
|
8197
|
+
*/
|
|
8198
|
+
401: ErrorResponse;
|
|
8199
|
+
/**
|
|
8200
|
+
* Forbidden
|
|
8201
|
+
*/
|
|
8202
|
+
403: ErrorResponse;
|
|
8203
|
+
/**
|
|
8204
|
+
* Not Found
|
|
8205
|
+
*/
|
|
8206
|
+
404: ErrorResponse;
|
|
8207
|
+
/**
|
|
8208
|
+
* Conflict
|
|
8209
|
+
*/
|
|
8210
|
+
409: ErrorResponse;
|
|
8211
|
+
/**
|
|
8212
|
+
* Internal server error
|
|
8213
|
+
*/
|
|
8214
|
+
500: ErrorResponse;
|
|
8215
|
+
/**
|
|
8216
|
+
* Service Unavailable
|
|
8217
|
+
*/
|
|
8218
|
+
503: ErrorResponse;
|
|
8219
|
+
};
|
|
8220
|
+
|
|
8221
|
+
export type AdminCloneProjectLogError = AdminCloneProjectLogErrors[keyof AdminCloneProjectLogErrors];
|
|
8222
|
+
|
|
8223
|
+
export type AdminCloneProjectLogResponses = {
|
|
8224
|
+
/**
|
|
8225
|
+
* Admin action logged successfully
|
|
8226
|
+
*/
|
|
8227
|
+
200: {
|
|
8228
|
+
success: boolean;
|
|
8229
|
+
};
|
|
8230
|
+
};
|
|
8231
|
+
|
|
8232
|
+
export type AdminCloneProjectLogResponse = AdminCloneProjectLogResponses[keyof AdminCloneProjectLogResponses];
|
|
8233
|
+
|
|
8234
|
+
export type AdminCleanupProjectData = {
|
|
8235
|
+
body: CleanupProjectInput;
|
|
8236
|
+
path?: never;
|
|
8237
|
+
query?: never;
|
|
8238
|
+
url: '/admin/project/cleanup';
|
|
8239
|
+
};
|
|
8240
|
+
|
|
8241
|
+
export type AdminCleanupProjectErrors = {
|
|
8242
|
+
/**
|
|
8243
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
8244
|
+
*/
|
|
8245
|
+
400: {
|
|
8246
|
+
message: string;
|
|
8247
|
+
issues?: string;
|
|
8248
|
+
};
|
|
8249
|
+
/**
|
|
8250
|
+
* Unauthorized
|
|
8251
|
+
*/
|
|
8252
|
+
401: ErrorResponse;
|
|
8253
|
+
/**
|
|
8254
|
+
* Forbidden
|
|
8255
|
+
*/
|
|
8256
|
+
403: ErrorResponse;
|
|
8257
|
+
/**
|
|
8258
|
+
* Not Found
|
|
8259
|
+
*/
|
|
8260
|
+
404: ErrorResponse;
|
|
8261
|
+
/**
|
|
8262
|
+
* Conflict
|
|
8263
|
+
*/
|
|
8264
|
+
409: ErrorResponse;
|
|
8265
|
+
/**
|
|
8266
|
+
* Internal server error
|
|
8267
|
+
*/
|
|
8268
|
+
500: ErrorResponse;
|
|
8269
|
+
/**
|
|
8270
|
+
* Service Unavailable
|
|
8271
|
+
*/
|
|
8272
|
+
503: ErrorResponse;
|
|
8273
|
+
};
|
|
8274
|
+
|
|
8275
|
+
export type AdminCleanupProjectError = AdminCleanupProjectErrors[keyof AdminCleanupProjectErrors];
|
|
8276
|
+
|
|
8277
|
+
export type AdminCleanupProjectResponses = {
|
|
8278
|
+
/**
|
|
8279
|
+
* Project cleaned up successfully
|
|
8280
|
+
*/
|
|
8281
|
+
200: {
|
|
8282
|
+
success: boolean;
|
|
8283
|
+
};
|
|
8284
|
+
};
|
|
8285
|
+
|
|
8286
|
+
export type AdminCleanupProjectResponse = AdminCleanupProjectResponses[keyof AdminCleanupProjectResponses];
|
|
8287
|
+
|
|
8288
|
+
export type AdminUpdateCreditsData = {
|
|
8289
|
+
body: UpdateCreditsInput;
|
|
8290
|
+
path?: never;
|
|
8291
|
+
query?: never;
|
|
8292
|
+
url: '/admin/credits';
|
|
8293
|
+
};
|
|
8294
|
+
|
|
8295
|
+
export type AdminUpdateCreditsErrors = {
|
|
8296
|
+
/**
|
|
8297
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
8298
|
+
*/
|
|
8299
|
+
400: {
|
|
8300
|
+
message: string;
|
|
8301
|
+
issues?: string;
|
|
8302
|
+
};
|
|
8303
|
+
/**
|
|
8304
|
+
* Unauthorized
|
|
8305
|
+
*/
|
|
8306
|
+
401: ErrorResponse;
|
|
8307
|
+
/**
|
|
8308
|
+
* Forbidden
|
|
8309
|
+
*/
|
|
8310
|
+
403: ErrorResponse;
|
|
8311
|
+
/**
|
|
8312
|
+
* Not Found
|
|
8313
|
+
*/
|
|
8314
|
+
404: ErrorResponse;
|
|
8315
|
+
/**
|
|
8316
|
+
* Conflict
|
|
8317
|
+
*/
|
|
8318
|
+
409: ErrorResponse;
|
|
8319
|
+
/**
|
|
8320
|
+
* Internal server error
|
|
8321
|
+
*/
|
|
8322
|
+
500: ErrorResponse;
|
|
8323
|
+
/**
|
|
8324
|
+
* Service Unavailable
|
|
8325
|
+
*/
|
|
8326
|
+
503: ErrorResponse;
|
|
8327
|
+
};
|
|
8328
|
+
|
|
8329
|
+
export type AdminUpdateCreditsError = AdminUpdateCreditsErrors[keyof AdminUpdateCreditsErrors];
|
|
8330
|
+
|
|
8331
|
+
export type AdminUpdateCreditsResponses = {
|
|
8332
|
+
/**
|
|
8333
|
+
* Credits updated successfully
|
|
8334
|
+
*/
|
|
8335
|
+
200: {
|
|
8336
|
+
success: boolean;
|
|
8337
|
+
newBalance: number;
|
|
8338
|
+
};
|
|
8339
|
+
};
|
|
8340
|
+
|
|
8341
|
+
export type AdminUpdateCreditsResponse = AdminUpdateCreditsResponses[keyof AdminUpdateCreditsResponses];
|
|
8342
|
+
|
|
8343
|
+
export type AdminLogActionData = {
|
|
8344
|
+
body: {
|
|
8345
|
+
action: string;
|
|
8346
|
+
/**
|
|
8347
|
+
* The target user's Dazl ID
|
|
8348
|
+
*/
|
|
8349
|
+
targetDazlUserId?: string;
|
|
8350
|
+
targetProjectId?: string;
|
|
8351
|
+
message: string;
|
|
8352
|
+
reason?: string;
|
|
8353
|
+
} & {
|
|
8354
|
+
/**
|
|
8355
|
+
* The admin user's Dazl ID
|
|
8356
|
+
*/
|
|
8357
|
+
adminDazlUserId: string;
|
|
8358
|
+
};
|
|
8359
|
+
path?: never;
|
|
8360
|
+
query?: never;
|
|
8361
|
+
url: '/admin/action/log';
|
|
8362
|
+
};
|
|
8363
|
+
|
|
8364
|
+
export type AdminLogActionErrors = {
|
|
8365
|
+
/**
|
|
8366
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
8367
|
+
*/
|
|
8368
|
+
400: {
|
|
8369
|
+
message: string;
|
|
8370
|
+
issues?: string;
|
|
8371
|
+
};
|
|
8372
|
+
/**
|
|
8373
|
+
* Unauthorized
|
|
8374
|
+
*/
|
|
8375
|
+
401: ErrorResponse;
|
|
8376
|
+
/**
|
|
8377
|
+
* Forbidden
|
|
8378
|
+
*/
|
|
8379
|
+
403: ErrorResponse;
|
|
8380
|
+
/**
|
|
8381
|
+
* Not Found
|
|
8382
|
+
*/
|
|
8383
|
+
404: ErrorResponse;
|
|
8384
|
+
/**
|
|
8385
|
+
* Conflict
|
|
8386
|
+
*/
|
|
8387
|
+
409: ErrorResponse;
|
|
8388
|
+
/**
|
|
8389
|
+
* Internal server error
|
|
8390
|
+
*/
|
|
8391
|
+
500: ErrorResponse;
|
|
8392
|
+
/**
|
|
8393
|
+
* Service Unavailable
|
|
8394
|
+
*/
|
|
8395
|
+
503: ErrorResponse;
|
|
8396
|
+
};
|
|
8397
|
+
|
|
8398
|
+
export type AdminLogActionError = AdminLogActionErrors[keyof AdminLogActionErrors];
|
|
8399
|
+
|
|
8400
|
+
export type AdminLogActionResponses = {
|
|
8401
|
+
/**
|
|
8402
|
+
* Admin action logged successfully
|
|
8403
|
+
*/
|
|
8404
|
+
200: {
|
|
8405
|
+
success: boolean;
|
|
8406
|
+
};
|
|
8407
|
+
};
|
|
8408
|
+
|
|
8409
|
+
export type AdminLogActionResponse = AdminLogActionResponses[keyof AdminLogActionResponses];
|
|
8410
|
+
|
|
8411
|
+
export type OpenFeatureToggleData = {
|
|
8412
|
+
body: {
|
|
8413
|
+
name: string;
|
|
8414
|
+
scope: 'RemoteAndEditor' | 'SiteAndEditor';
|
|
8415
|
+
};
|
|
8416
|
+
path?: never;
|
|
8417
|
+
query?: never;
|
|
8418
|
+
url: '/env-config/open';
|
|
8419
|
+
};
|
|
8420
|
+
|
|
8421
|
+
export type OpenFeatureToggleErrors = {
|
|
8422
|
+
/**
|
|
8423
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
8424
|
+
*/
|
|
8425
|
+
400: {
|
|
8426
|
+
message: string;
|
|
8427
|
+
issues?: string;
|
|
8428
|
+
};
|
|
8429
|
+
/**
|
|
8430
|
+
* Unauthorized
|
|
8431
|
+
*/
|
|
8432
|
+
401: ErrorResponse;
|
|
8433
|
+
/**
|
|
8434
|
+
* Forbidden
|
|
8435
|
+
*/
|
|
8436
|
+
403: ErrorResponse;
|
|
8437
|
+
/**
|
|
8438
|
+
* Not Found
|
|
8439
|
+
*/
|
|
8440
|
+
404: ErrorResponse;
|
|
8441
|
+
/**
|
|
8442
|
+
* Conflict
|
|
8443
|
+
*/
|
|
8444
|
+
409: ErrorResponse;
|
|
8445
|
+
/**
|
|
8446
|
+
* Internal server error
|
|
8447
|
+
*/
|
|
8448
|
+
500: ErrorResponse;
|
|
8449
|
+
/**
|
|
8450
|
+
* Service Unavailable
|
|
8451
|
+
*/
|
|
8452
|
+
503: ErrorResponse;
|
|
8453
|
+
};
|
|
8454
|
+
|
|
8455
|
+
export type OpenFeatureToggleError = OpenFeatureToggleErrors[keyof OpenFeatureToggleErrors];
|
|
8456
|
+
|
|
8457
|
+
export type OpenFeatureToggleResponses = {
|
|
8458
|
+
/**
|
|
8459
|
+
* Opens a feature toggle
|
|
8460
|
+
*/
|
|
8461
|
+
200: {
|
|
8462
|
+
success: boolean;
|
|
8463
|
+
};
|
|
8464
|
+
};
|
|
8465
|
+
|
|
8466
|
+
export type OpenFeatureToggleResponse = OpenFeatureToggleResponses[keyof OpenFeatureToggleResponses];
|
|
8467
|
+
|
|
8468
|
+
export type CloseFeatureToggleData = {
|
|
8469
|
+
body: {
|
|
8470
|
+
name: string;
|
|
8471
|
+
};
|
|
8472
|
+
path?: never;
|
|
8473
|
+
query?: never;
|
|
8474
|
+
url: '/env-config/close';
|
|
8475
|
+
};
|
|
8476
|
+
|
|
8477
|
+
export type CloseFeatureToggleErrors = {
|
|
8478
|
+
/**
|
|
8479
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
8480
|
+
*/
|
|
8481
|
+
400: {
|
|
8482
|
+
message: string;
|
|
8483
|
+
issues?: string;
|
|
8484
|
+
};
|
|
8485
|
+
/**
|
|
8486
|
+
* Unauthorized
|
|
8487
|
+
*/
|
|
8488
|
+
401: ErrorResponse;
|
|
8489
|
+
/**
|
|
8490
|
+
* Forbidden
|
|
8491
|
+
*/
|
|
8492
|
+
403: ErrorResponse;
|
|
8493
|
+
/**
|
|
8494
|
+
* Not Found
|
|
8495
|
+
*/
|
|
8496
|
+
404: ErrorResponse;
|
|
8497
|
+
/**
|
|
8498
|
+
* Conflict
|
|
8499
|
+
*/
|
|
8500
|
+
409: ErrorResponse;
|
|
8501
|
+
/**
|
|
8502
|
+
* Internal server error
|
|
8503
|
+
*/
|
|
8504
|
+
500: ErrorResponse;
|
|
8505
|
+
/**
|
|
8506
|
+
* Service Unavailable
|
|
8507
|
+
*/
|
|
8508
|
+
503: ErrorResponse;
|
|
8509
|
+
};
|
|
8510
|
+
|
|
8511
|
+
export type CloseFeatureToggleError = CloseFeatureToggleErrors[keyof CloseFeatureToggleErrors];
|
|
8512
|
+
|
|
8513
|
+
export type CloseFeatureToggleResponses = {
|
|
8514
|
+
/**
|
|
8515
|
+
* Closes a feature toggle
|
|
8516
|
+
*/
|
|
8517
|
+
200: {
|
|
8518
|
+
success: boolean;
|
|
8519
|
+
};
|
|
8520
|
+
};
|
|
8521
|
+
|
|
8522
|
+
export type CloseFeatureToggleResponse = CloseFeatureToggleResponses[keyof CloseFeatureToggleResponses];
|
|
8523
|
+
|
|
8524
|
+
export type PurgeUserAccountData = {
|
|
8525
|
+
body: PurgeUserAccountInput;
|
|
8526
|
+
path?: never;
|
|
8527
|
+
query?: never;
|
|
8528
|
+
url: '/purge/user-account';
|
|
8529
|
+
};
|
|
8530
|
+
|
|
8531
|
+
export type PurgeUserAccountErrors = {
|
|
8532
|
+
/**
|
|
8533
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
8534
|
+
*/
|
|
8535
|
+
400: {
|
|
8536
|
+
message: string;
|
|
8537
|
+
issues?: string;
|
|
8538
|
+
};
|
|
8539
|
+
/**
|
|
8540
|
+
* Unauthorized
|
|
8541
|
+
*/
|
|
8542
|
+
401: ErrorResponse;
|
|
8543
|
+
/**
|
|
8544
|
+
* Forbidden
|
|
8545
|
+
*/
|
|
8546
|
+
403: ErrorResponse;
|
|
8547
|
+
/**
|
|
8548
|
+
* Not Found
|
|
8549
|
+
*/
|
|
8550
|
+
404: ErrorResponse;
|
|
8551
|
+
/**
|
|
8552
|
+
* Conflict
|
|
8553
|
+
*/
|
|
8554
|
+
409: ErrorResponse;
|
|
8555
|
+
/**
|
|
8556
|
+
* Internal server error
|
|
8557
|
+
*/
|
|
8558
|
+
500: ErrorResponse;
|
|
8559
|
+
/**
|
|
8560
|
+
* Service Unavailable
|
|
8561
|
+
*/
|
|
8562
|
+
503: ErrorResponse;
|
|
8563
|
+
};
|
|
8564
|
+
|
|
8565
|
+
export type PurgeUserAccountError = PurgeUserAccountErrors[keyof PurgeUserAccountErrors];
|
|
8566
|
+
|
|
8567
|
+
export type PurgeUserAccountResponses = {
|
|
8568
|
+
/**
|
|
8569
|
+
* User account purged from all systems
|
|
8570
|
+
*/
|
|
8571
|
+
200: {
|
|
8572
|
+
success: boolean;
|
|
8573
|
+
results: {
|
|
8574
|
+
[key: string]: {
|
|
8575
|
+
discovered: Array<string>;
|
|
8576
|
+
deleted: Array<string>;
|
|
8577
|
+
};
|
|
8578
|
+
};
|
|
8579
|
+
};
|
|
8580
|
+
};
|
|
8581
|
+
|
|
8582
|
+
export type PurgeUserAccountResponse = PurgeUserAccountResponses[keyof PurgeUserAccountResponses];
|
|
8583
|
+
|
|
8584
|
+
export type GetValuesData = {
|
|
8585
|
+
body?: never;
|
|
8586
|
+
path: {
|
|
8587
|
+
dazlUserId: string;
|
|
8588
|
+
};
|
|
8589
|
+
query?: {
|
|
8590
|
+
/**
|
|
8591
|
+
* Filter results to this category
|
|
8592
|
+
*/
|
|
8593
|
+
categ?: string;
|
|
8594
|
+
};
|
|
8595
|
+
url: '/user-key-value/{dazlUserId}/values';
|
|
8596
|
+
};
|
|
8597
|
+
|
|
8598
|
+
export type GetValuesErrors = {
|
|
8599
|
+
/**
|
|
8600
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
8601
|
+
*/
|
|
8602
|
+
400: {
|
|
8603
|
+
message: string;
|
|
8604
|
+
issues?: string;
|
|
8605
|
+
};
|
|
8606
|
+
/**
|
|
8607
|
+
* Unauthorized
|
|
8608
|
+
*/
|
|
8609
|
+
401: ErrorResponse;
|
|
8610
|
+
/**
|
|
8611
|
+
* Forbidden
|
|
8612
|
+
*/
|
|
8613
|
+
403: ErrorResponse;
|
|
8614
|
+
/**
|
|
8615
|
+
* Not Found
|
|
8616
|
+
*/
|
|
8617
|
+
404: ErrorResponse;
|
|
8618
|
+
/**
|
|
8619
|
+
* Conflict
|
|
8620
|
+
*/
|
|
8621
|
+
409: ErrorResponse;
|
|
8622
|
+
/**
|
|
8623
|
+
* Internal server error
|
|
8624
|
+
*/
|
|
8625
|
+
500: ErrorResponse;
|
|
8626
|
+
/**
|
|
8627
|
+
* Service Unavailable
|
|
8628
|
+
*/
|
|
8629
|
+
503: ErrorResponse;
|
|
8630
|
+
};
|
|
8631
|
+
|
|
8632
|
+
export type GetValuesError = GetValuesErrors[keyof GetValuesErrors];
|
|
8633
|
+
|
|
8634
|
+
export type GetValuesResponses = {
|
|
8635
|
+
/**
|
|
8636
|
+
* Returns key values for the user
|
|
8637
|
+
*/
|
|
8638
|
+
200: {
|
|
8639
|
+
values: Array<{
|
|
8640
|
+
id: string;
|
|
8641
|
+
dazlUserId: string;
|
|
8642
|
+
category: string;
|
|
8643
|
+
name: string;
|
|
8644
|
+
strVal: string | null;
|
|
8645
|
+
encryptedValId: string | null;
|
|
8646
|
+
createdAt: string;
|
|
8647
|
+
updatedAt: string;
|
|
8648
|
+
encryptedValue: string | null;
|
|
8649
|
+
}>;
|
|
8650
|
+
};
|
|
8651
|
+
};
|
|
8652
|
+
|
|
8653
|
+
export type GetValuesResponse = GetValuesResponses[keyof GetValuesResponses];
|
|
8654
|
+
|
|
8655
|
+
export type SetValueData = {
|
|
8656
|
+
body: {
|
|
8657
|
+
value: string;
|
|
8658
|
+
isSecret?: boolean;
|
|
8659
|
+
};
|
|
8660
|
+
path: {
|
|
8661
|
+
dazlUserId: string;
|
|
8662
|
+
categ: string;
|
|
8663
|
+
name: string;
|
|
8664
|
+
};
|
|
8665
|
+
query?: never;
|
|
8666
|
+
url: '/user-key-value/{dazlUserId}/values/{categ}/{name}';
|
|
8667
|
+
};
|
|
8668
|
+
|
|
8669
|
+
export type SetValueErrors = {
|
|
8670
|
+
/**
|
|
8671
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
8672
|
+
*/
|
|
8673
|
+
400: {
|
|
8674
|
+
message: string;
|
|
8675
|
+
issues?: string;
|
|
8676
|
+
};
|
|
8677
|
+
/**
|
|
8678
|
+
* Unauthorized
|
|
8679
|
+
*/
|
|
8680
|
+
401: ErrorResponse;
|
|
8681
|
+
/**
|
|
8682
|
+
* Forbidden
|
|
8683
|
+
*/
|
|
8684
|
+
403: ErrorResponse;
|
|
8685
|
+
/**
|
|
8686
|
+
* Not Found
|
|
8687
|
+
*/
|
|
8688
|
+
404: ErrorResponse;
|
|
8689
|
+
/**
|
|
8690
|
+
* Conflict
|
|
8691
|
+
*/
|
|
8692
|
+
409: ErrorResponse;
|
|
8693
|
+
/**
|
|
8694
|
+
* Internal server error
|
|
8695
|
+
*/
|
|
8696
|
+
500: ErrorResponse;
|
|
8697
|
+
/**
|
|
8698
|
+
* Service Unavailable
|
|
8699
|
+
*/
|
|
8700
|
+
503: ErrorResponse;
|
|
8701
|
+
};
|
|
8702
|
+
|
|
8703
|
+
export type SetValueError = SetValueErrors[keyof SetValueErrors];
|
|
8704
|
+
|
|
8705
|
+
export type SetValueResponses = {
|
|
8706
|
+
/**
|
|
8707
|
+
* Sets a single key value and returns its id
|
|
8708
|
+
*/
|
|
8709
|
+
200: {
|
|
8710
|
+
id: string;
|
|
8711
|
+
};
|
|
8712
|
+
};
|
|
8713
|
+
|
|
8714
|
+
export type SetValueResponse = SetValueResponses[keyof SetValueResponses];
|
|
8715
|
+
|
|
8716
|
+
export type DeleteCategValuesData = {
|
|
8717
|
+
body?: never;
|
|
8718
|
+
path: {
|
|
8719
|
+
dazlUserId: string;
|
|
8720
|
+
categ: string;
|
|
8721
|
+
};
|
|
8722
|
+
query?: never;
|
|
8723
|
+
url: '/user-key-value/{dazlUserId}/values/{categ}';
|
|
8724
|
+
};
|
|
8725
|
+
|
|
8726
|
+
export type DeleteCategValuesErrors = {
|
|
8727
|
+
/**
|
|
8728
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
8729
|
+
*/
|
|
8730
|
+
400: {
|
|
8731
|
+
message: string;
|
|
8732
|
+
issues?: string;
|
|
8733
|
+
};
|
|
8734
|
+
/**
|
|
8735
|
+
* Unauthorized
|
|
8736
|
+
*/
|
|
8737
|
+
401: ErrorResponse;
|
|
8738
|
+
/**
|
|
8739
|
+
* Forbidden
|
|
8740
|
+
*/
|
|
8741
|
+
403: ErrorResponse;
|
|
8742
|
+
/**
|
|
8743
|
+
* Not Found
|
|
8744
|
+
*/
|
|
8745
|
+
404: ErrorResponse;
|
|
8746
|
+
/**
|
|
8747
|
+
* Conflict
|
|
8748
|
+
*/
|
|
8749
|
+
409: ErrorResponse;
|
|
8750
|
+
/**
|
|
8751
|
+
* Internal server error
|
|
8752
|
+
*/
|
|
8753
|
+
500: ErrorResponse;
|
|
8754
|
+
/**
|
|
8755
|
+
* Service Unavailable
|
|
8756
|
+
*/
|
|
8757
|
+
503: ErrorResponse;
|
|
8758
|
+
};
|
|
8759
|
+
|
|
8760
|
+
export type DeleteCategValuesError = DeleteCategValuesErrors[keyof DeleteCategValuesErrors];
|
|
8761
|
+
|
|
8762
|
+
export type DeleteCategValuesResponses = {
|
|
8763
|
+
/**
|
|
8764
|
+
* Deletes all values for the category
|
|
8765
|
+
*/
|
|
8766
|
+
200: {
|
|
8767
|
+
categ: string;
|
|
8768
|
+
};
|
|
8769
|
+
};
|
|
8770
|
+
|
|
8771
|
+
export type DeleteCategValuesResponse = DeleteCategValuesResponses[keyof DeleteCategValuesResponses];
|
|
8772
|
+
|
|
8773
|
+
export type ReplaceCategValuesData = {
|
|
8774
|
+
body: {
|
|
8775
|
+
values: Array<{
|
|
8776
|
+
name: string;
|
|
8777
|
+
value: string;
|
|
8778
|
+
isSecret?: boolean;
|
|
8779
|
+
}>;
|
|
8780
|
+
};
|
|
8781
|
+
path: {
|
|
8782
|
+
dazlUserId: string;
|
|
8783
|
+
categ: string;
|
|
8784
|
+
};
|
|
8785
|
+
query?: never;
|
|
8786
|
+
url: '/user-key-value/{dazlUserId}/values/{categ}';
|
|
8787
|
+
};
|
|
8788
|
+
|
|
8789
|
+
export type ReplaceCategValuesErrors = {
|
|
8790
|
+
/**
|
|
8791
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
8792
|
+
*/
|
|
8793
|
+
400: {
|
|
8794
|
+
message: string;
|
|
8795
|
+
issues?: string;
|
|
8796
|
+
};
|
|
8797
|
+
/**
|
|
8798
|
+
* Unauthorized
|
|
8799
|
+
*/
|
|
8800
|
+
401: ErrorResponse;
|
|
8801
|
+
/**
|
|
8802
|
+
* Forbidden
|
|
8803
|
+
*/
|
|
8804
|
+
403: ErrorResponse;
|
|
8805
|
+
/**
|
|
8806
|
+
* Not Found
|
|
8807
|
+
*/
|
|
8808
|
+
404: ErrorResponse;
|
|
8809
|
+
/**
|
|
8810
|
+
* Conflict
|
|
8811
|
+
*/
|
|
8812
|
+
409: ErrorResponse;
|
|
8813
|
+
/**
|
|
8814
|
+
* Internal server error
|
|
8815
|
+
*/
|
|
8816
|
+
500: ErrorResponse;
|
|
8817
|
+
/**
|
|
8818
|
+
* Service Unavailable
|
|
8819
|
+
*/
|
|
8820
|
+
503: ErrorResponse;
|
|
8821
|
+
};
|
|
8822
|
+
|
|
8823
|
+
export type ReplaceCategValuesError = ReplaceCategValuesErrors[keyof ReplaceCategValuesErrors];
|
|
8824
|
+
|
|
8825
|
+
export type ReplaceCategValuesResponses = {
|
|
8826
|
+
/**
|
|
8827
|
+
* Replaces all values for the category and returns the upserted rows
|
|
8828
|
+
*/
|
|
8829
|
+
200: {
|
|
8830
|
+
values: Array<{
|
|
8831
|
+
id: string;
|
|
8832
|
+
name: string;
|
|
8833
|
+
}>;
|
|
8834
|
+
replaced: boolean;
|
|
8835
|
+
};
|
|
8836
|
+
};
|
|
8837
|
+
|
|
8838
|
+
export type ReplaceCategValuesResponse = ReplaceCategValuesResponses[keyof ReplaceCategValuesResponses];
|
|
8839
|
+
|
|
8840
|
+
export type IsPromotionOpenData = {
|
|
8841
|
+
body?: never;
|
|
8842
|
+
path: {
|
|
8843
|
+
promotionName: 'GEMINI_CREDITS_6_26' | 'PRO_FEATURE_SET_BY_ADMIN';
|
|
8844
|
+
};
|
|
8845
|
+
query?: never;
|
|
8846
|
+
url: '/promotions/is-open/{promotionName}';
|
|
8847
|
+
};
|
|
8848
|
+
|
|
8849
|
+
export type IsPromotionOpenErrors = {
|
|
8850
|
+
/**
|
|
8851
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
8852
|
+
*/
|
|
8853
|
+
400: {
|
|
8854
|
+
message: string;
|
|
8855
|
+
issues?: string;
|
|
8856
|
+
};
|
|
8857
|
+
/**
|
|
8858
|
+
* Unauthorized
|
|
8859
|
+
*/
|
|
8860
|
+
401: ErrorResponse;
|
|
8861
|
+
/**
|
|
8862
|
+
* Forbidden
|
|
8863
|
+
*/
|
|
8864
|
+
403: ErrorResponse;
|
|
8865
|
+
/**
|
|
8866
|
+
* Not Found
|
|
8867
|
+
*/
|
|
8868
|
+
404: ErrorResponse;
|
|
8869
|
+
/**
|
|
8870
|
+
* Conflict
|
|
8871
|
+
*/
|
|
8872
|
+
409: ErrorResponse;
|
|
8873
|
+
/**
|
|
8874
|
+
* Internal server error
|
|
8875
|
+
*/
|
|
8876
|
+
500: ErrorResponse;
|
|
8877
|
+
/**
|
|
8878
|
+
* Service Unavailable
|
|
8879
|
+
*/
|
|
8880
|
+
503: ErrorResponse;
|
|
8881
|
+
};
|
|
8882
|
+
|
|
8883
|
+
export type IsPromotionOpenError = IsPromotionOpenErrors[keyof IsPromotionOpenErrors];
|
|
8884
|
+
|
|
8885
|
+
export type IsPromotionOpenResponses = {
|
|
8886
|
+
/**
|
|
8887
|
+
* Checks if the promotion is currently open based on its start and end dates
|
|
8888
|
+
*/
|
|
8889
|
+
200: {
|
|
8890
|
+
isOpen: boolean;
|
|
8891
|
+
};
|
|
8892
|
+
};
|
|
8893
|
+
|
|
8894
|
+
export type IsPromotionOpenResponse = IsPromotionOpenResponses[keyof IsPromotionOpenResponses];
|
|
8895
|
+
|
|
8896
|
+
export type DeactivateUserPromotionData = {
|
|
8897
|
+
body?: never;
|
|
8898
|
+
path: {
|
|
8899
|
+
dazlUserId: string;
|
|
8900
|
+
promotionName: 'GEMINI_CREDITS_6_26' | 'PRO_FEATURE_SET_BY_ADMIN';
|
|
8901
|
+
};
|
|
8902
|
+
query?: never;
|
|
8903
|
+
url: '/promotions/{dazlUserId}/{promotionName}';
|
|
8904
|
+
};
|
|
8905
|
+
|
|
8906
|
+
export type DeactivateUserPromotionErrors = {
|
|
8907
|
+
/**
|
|
8908
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
8909
|
+
*/
|
|
8910
|
+
400: {
|
|
8911
|
+
message: string;
|
|
8912
|
+
issues?: string;
|
|
8913
|
+
};
|
|
8914
|
+
/**
|
|
8915
|
+
* Unauthorized
|
|
8916
|
+
*/
|
|
8917
|
+
401: ErrorResponse;
|
|
8918
|
+
/**
|
|
8919
|
+
* Forbidden
|
|
8920
|
+
*/
|
|
8921
|
+
403: ErrorResponse;
|
|
8922
|
+
/**
|
|
8923
|
+
* Not Found
|
|
8924
|
+
*/
|
|
8925
|
+
404: ErrorResponse;
|
|
8926
|
+
/**
|
|
8927
|
+
* Conflict
|
|
8928
|
+
*/
|
|
8929
|
+
409: ErrorResponse;
|
|
8930
|
+
/**
|
|
8931
|
+
* Internal server error
|
|
8932
|
+
*/
|
|
8933
|
+
500: ErrorResponse;
|
|
8934
|
+
/**
|
|
8935
|
+
* Service Unavailable
|
|
8936
|
+
*/
|
|
8937
|
+
503: ErrorResponse;
|
|
8938
|
+
};
|
|
8939
|
+
|
|
8940
|
+
export type DeactivateUserPromotionError = DeactivateUserPromotionErrors[keyof DeactivateUserPromotionErrors];
|
|
8941
|
+
|
|
8942
|
+
export type DeactivateUserPromotionResponses = {
|
|
8943
|
+
/**
|
|
8944
|
+
* Deactivates the user promotion
|
|
8945
|
+
*/
|
|
8946
|
+
200: {
|
|
8947
|
+
[key: string]: unknown;
|
|
8948
|
+
};
|
|
8949
|
+
};
|
|
8950
|
+
|
|
8951
|
+
export type DeactivateUserPromotionResponse = DeactivateUserPromotionResponses[keyof DeactivateUserPromotionResponses];
|
|
8952
|
+
|
|
8953
|
+
export type AddUserToPromotionData = {
|
|
8954
|
+
body?: never;
|
|
8955
|
+
path: {
|
|
8956
|
+
dazlUserId: string;
|
|
8957
|
+
promotionName: 'GEMINI_CREDITS_6_26' | 'PRO_FEATURE_SET_BY_ADMIN';
|
|
8958
|
+
};
|
|
8959
|
+
query?: never;
|
|
8960
|
+
url: '/promotions/{dazlUserId}/{promotionName}';
|
|
8961
|
+
};
|
|
8962
|
+
|
|
8963
|
+
export type AddUserToPromotionErrors = {
|
|
8964
|
+
/**
|
|
8965
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
8966
|
+
*/
|
|
8967
|
+
400: {
|
|
8968
|
+
message: string;
|
|
8969
|
+
issues?: string;
|
|
8970
|
+
};
|
|
8971
|
+
/**
|
|
8972
|
+
* Unauthorized
|
|
8973
|
+
*/
|
|
8974
|
+
401: ErrorResponse;
|
|
8975
|
+
/**
|
|
8976
|
+
* Forbidden
|
|
8977
|
+
*/
|
|
8978
|
+
403: ErrorResponse;
|
|
8979
|
+
/**
|
|
8980
|
+
* Not Found
|
|
8981
|
+
*/
|
|
8982
|
+
404: ErrorResponse;
|
|
8983
|
+
/**
|
|
8984
|
+
* Conflict
|
|
8985
|
+
*/
|
|
8986
|
+
409: ErrorResponse;
|
|
8987
|
+
/**
|
|
8988
|
+
* Internal server error
|
|
8989
|
+
*/
|
|
8990
|
+
500: ErrorResponse;
|
|
8991
|
+
/**
|
|
8992
|
+
* Service Unavailable
|
|
8993
|
+
*/
|
|
8994
|
+
503: ErrorResponse;
|
|
8995
|
+
};
|
|
8996
|
+
|
|
8997
|
+
export type AddUserToPromotionError = AddUserToPromotionErrors[keyof AddUserToPromotionErrors];
|
|
8998
|
+
|
|
8999
|
+
export type AddUserToPromotionResponses = {
|
|
9000
|
+
/**
|
|
9001
|
+
* Adds the user to the promotion and returns whether the promotion was granted
|
|
9002
|
+
*/
|
|
9003
|
+
200: {
|
|
9004
|
+
granted: boolean;
|
|
9005
|
+
};
|
|
9006
|
+
};
|
|
9007
|
+
|
|
9008
|
+
export type AddUserToPromotionResponse = AddUserToPromotionResponses[keyof AddUserToPromotionResponses];
|
|
9009
|
+
|
|
9010
|
+
export type GetUserActivePromotionsData = {
|
|
9011
|
+
body?: never;
|
|
9012
|
+
path: {
|
|
9013
|
+
dazlUserId: string;
|
|
9014
|
+
};
|
|
9015
|
+
query?: never;
|
|
9016
|
+
url: '/promotions/{dazlUserId}/active';
|
|
9017
|
+
};
|
|
9018
|
+
|
|
9019
|
+
export type GetUserActivePromotionsErrors = {
|
|
9020
|
+
/**
|
|
9021
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
9022
|
+
*/
|
|
9023
|
+
400: {
|
|
9024
|
+
message: string;
|
|
9025
|
+
issues?: string;
|
|
9026
|
+
};
|
|
9027
|
+
/**
|
|
9028
|
+
* Unauthorized
|
|
9029
|
+
*/
|
|
9030
|
+
401: ErrorResponse;
|
|
9031
|
+
/**
|
|
9032
|
+
* Forbidden
|
|
9033
|
+
*/
|
|
9034
|
+
403: ErrorResponse;
|
|
9035
|
+
/**
|
|
9036
|
+
* Not Found
|
|
9037
|
+
*/
|
|
9038
|
+
404: ErrorResponse;
|
|
9039
|
+
/**
|
|
9040
|
+
* Conflict
|
|
9041
|
+
*/
|
|
9042
|
+
409: ErrorResponse;
|
|
9043
|
+
/**
|
|
9044
|
+
* Internal server error
|
|
9045
|
+
*/
|
|
9046
|
+
500: ErrorResponse;
|
|
9047
|
+
/**
|
|
9048
|
+
* Service Unavailable
|
|
9049
|
+
*/
|
|
9050
|
+
503: ErrorResponse;
|
|
9051
|
+
};
|
|
9052
|
+
|
|
9053
|
+
export type GetUserActivePromotionsError = GetUserActivePromotionsErrors[keyof GetUserActivePromotionsErrors];
|
|
9054
|
+
|
|
9055
|
+
export type GetUserActivePromotionsResponses = {
|
|
9056
|
+
/**
|
|
9057
|
+
* Returns a list of the user's active promotions
|
|
9058
|
+
*/
|
|
9059
|
+
200: {
|
|
9060
|
+
activePromotions: Array<'GEMINI_CREDITS_6_26' | 'PRO_FEATURE_SET_BY_ADMIN'>;
|
|
9061
|
+
};
|
|
9062
|
+
};
|
|
9063
|
+
|
|
9064
|
+
export type GetUserActivePromotionsResponse = GetUserActivePromotionsResponses[keyof GetUserActivePromotionsResponses];
|
|
9065
|
+
|
|
9066
|
+
export type GetWorkflowInteractiveCapabilitiesData = {
|
|
9067
|
+
body?: never;
|
|
9068
|
+
path?: never;
|
|
9069
|
+
query?: never;
|
|
9070
|
+
url: '/workflow/capabilities';
|
|
9071
|
+
};
|
|
9072
|
+
|
|
9073
|
+
export type GetWorkflowInteractiveCapabilitiesErrors = {
|
|
9074
|
+
/**
|
|
9075
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
9076
|
+
*/
|
|
9077
|
+
400: {
|
|
9078
|
+
message: string;
|
|
9079
|
+
issues?: string;
|
|
9080
|
+
};
|
|
9081
|
+
/**
|
|
9082
|
+
* Unauthorized
|
|
9083
|
+
*/
|
|
9084
|
+
401: ErrorResponse;
|
|
9085
|
+
/**
|
|
9086
|
+
* Forbidden
|
|
9087
|
+
*/
|
|
9088
|
+
403: ErrorResponse;
|
|
9089
|
+
/**
|
|
9090
|
+
* Not Found
|
|
9091
|
+
*/
|
|
9092
|
+
404: ErrorResponse;
|
|
9093
|
+
/**
|
|
9094
|
+
* Conflict
|
|
9095
|
+
*/
|
|
9096
|
+
409: ErrorResponse;
|
|
9097
|
+
/**
|
|
9098
|
+
* Internal server error
|
|
9099
|
+
*/
|
|
9100
|
+
500: ErrorResponse;
|
|
9101
|
+
/**
|
|
9102
|
+
* Service Unavailable
|
|
9103
|
+
*/
|
|
9104
|
+
503: ErrorResponse;
|
|
9105
|
+
};
|
|
9106
|
+
|
|
9107
|
+
export type GetWorkflowInteractiveCapabilitiesError = GetWorkflowInteractiveCapabilitiesErrors[keyof GetWorkflowInteractiveCapabilitiesErrors];
|
|
9108
|
+
|
|
9109
|
+
export type GetWorkflowInteractiveCapabilitiesResponses = {
|
|
9110
|
+
/**
|
|
9111
|
+
* Whether this backend can run interactive workflow steps
|
|
9112
|
+
*/
|
|
9113
|
+
200: WorkflowInteractiveCapabilities;
|
|
9114
|
+
};
|
|
9115
|
+
|
|
9116
|
+
export type GetWorkflowInteractiveCapabilitiesResponse = GetWorkflowInteractiveCapabilitiesResponses[keyof GetWorkflowInteractiveCapabilitiesResponses];
|
|
9117
|
+
|
|
9118
|
+
export type ListWorkflowConversationsData = {
|
|
9119
|
+
body?: never;
|
|
9120
|
+
path: {
|
|
9121
|
+
runId: string;
|
|
9122
|
+
};
|
|
9123
|
+
query?: never;
|
|
9124
|
+
url: '/workflow/runs/{runId}/conversations';
|
|
9125
|
+
};
|
|
9126
|
+
|
|
9127
|
+
export type ListWorkflowConversationsErrors = {
|
|
9128
|
+
/**
|
|
9129
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
9130
|
+
*/
|
|
9131
|
+
400: {
|
|
9132
|
+
message: string;
|
|
9133
|
+
issues?: string;
|
|
9134
|
+
};
|
|
9135
|
+
/**
|
|
9136
|
+
* Unauthorized
|
|
9137
|
+
*/
|
|
9138
|
+
401: ErrorResponse;
|
|
9139
|
+
/**
|
|
9140
|
+
* Forbidden
|
|
9141
|
+
*/
|
|
9142
|
+
403: ErrorResponse;
|
|
9143
|
+
/**
|
|
9144
|
+
* Not Found
|
|
9145
|
+
*/
|
|
9146
|
+
404: ErrorResponse;
|
|
9147
|
+
/**
|
|
9148
|
+
* Conflict
|
|
9149
|
+
*/
|
|
9150
|
+
409: ErrorResponse;
|
|
9151
|
+
/**
|
|
9152
|
+
* Internal server error
|
|
9153
|
+
*/
|
|
9154
|
+
500: ErrorResponse;
|
|
9155
|
+
/**
|
|
9156
|
+
* Service Unavailable
|
|
9157
|
+
*/
|
|
9158
|
+
503: ErrorResponse;
|
|
9159
|
+
};
|
|
9160
|
+
|
|
9161
|
+
export type ListWorkflowConversationsError = ListWorkflowConversationsErrors[keyof ListWorkflowConversationsErrors];
|
|
9162
|
+
|
|
9163
|
+
export type ListWorkflowConversationsResponses = {
|
|
9164
|
+
/**
|
|
9165
|
+
* Safe summaries of a run's conversations: identity, position and permissions, never content
|
|
9166
|
+
*/
|
|
9167
|
+
200: WorkflowConversationList;
|
|
6737
9168
|
};
|
|
6738
9169
|
|
|
6739
|
-
export type
|
|
9170
|
+
export type ListWorkflowConversationsResponse = ListWorkflowConversationsResponses[keyof ListWorkflowConversationsResponses];
|
|
6740
9171
|
|
|
6741
|
-
export type
|
|
6742
|
-
body
|
|
6743
|
-
|
|
6744
|
-
|
|
6745
|
-
*/
|
|
6746
|
-
url: string;
|
|
6747
|
-
/**
|
|
6748
|
-
* Only return the main content of the page excluding headers, navs, footers, etc.
|
|
6749
|
-
*/
|
|
6750
|
-
onlyMainContent?: boolean;
|
|
6751
|
-
/**
|
|
6752
|
-
* Emulate scraping from a mobile device
|
|
6753
|
-
*/
|
|
6754
|
-
mobile?: boolean;
|
|
6755
|
-
/**
|
|
6756
|
-
* Fetch external CSS stylesheets and inline them as <style> tags for fully self-contained HTML
|
|
6757
|
-
*/
|
|
6758
|
-
inlineExternalCss?: boolean;
|
|
6759
|
-
/**
|
|
6760
|
-
* Include structured branding/design system data (colors, fonts, typography, spacing, components)
|
|
6761
|
-
*/
|
|
6762
|
-
includeBranding?: boolean;
|
|
6763
|
-
/**
|
|
6764
|
-
* Request timeout in milliseconds (1000-360000). Defaults to server configured value.
|
|
6765
|
-
*/
|
|
6766
|
-
timeout?: number;
|
|
9172
|
+
export type GetWorkflowConversationForChatData = {
|
|
9173
|
+
body?: never;
|
|
9174
|
+
path: {
|
|
9175
|
+
chatId: string;
|
|
6767
9176
|
};
|
|
6768
|
-
path?: never;
|
|
6769
9177
|
query?: never;
|
|
6770
|
-
url: '/
|
|
9178
|
+
url: '/workflow/chats/{chatId}/conversation';
|
|
6771
9179
|
};
|
|
6772
9180
|
|
|
6773
|
-
export type
|
|
9181
|
+
export type GetWorkflowConversationForChatErrors = {
|
|
6774
9182
|
/**
|
|
6775
9183
|
* Bad request - Invalid parameters or malformed JSON
|
|
6776
9184
|
*/
|
|
@@ -6783,17 +9191,13 @@ export type ScrapePageContentErrors = {
|
|
|
6783
9191
|
*/
|
|
6784
9192
|
401: ErrorResponse;
|
|
6785
9193
|
/**
|
|
6786
|
-
* Forbidden
|
|
9194
|
+
* Forbidden
|
|
6787
9195
|
*/
|
|
6788
|
-
403:
|
|
6789
|
-
message: string;
|
|
6790
|
-
};
|
|
9196
|
+
403: ErrorResponse;
|
|
6791
9197
|
/**
|
|
6792
|
-
* Not
|
|
9198
|
+
* Not Found
|
|
6793
9199
|
*/
|
|
6794
|
-
404:
|
|
6795
|
-
message: string;
|
|
6796
|
-
};
|
|
9200
|
+
404: ErrorResponse;
|
|
6797
9201
|
/**
|
|
6798
9202
|
* Conflict
|
|
6799
9203
|
*/
|
|
@@ -6808,79 +9212,30 @@ export type ScrapePageContentErrors = {
|
|
|
6808
9212
|
503: ErrorResponse;
|
|
6809
9213
|
};
|
|
6810
9214
|
|
|
6811
|
-
export type
|
|
9215
|
+
export type GetWorkflowConversationForChatError = GetWorkflowConversationForChatErrors[keyof GetWorkflowConversationForChatErrors];
|
|
6812
9216
|
|
|
6813
|
-
export type
|
|
9217
|
+
export type GetWorkflowConversationForChatResponses = {
|
|
6814
9218
|
/**
|
|
6815
|
-
*
|
|
9219
|
+
* The conversation this chat belongs to, or null for an ordinary chat or one the caller may not read
|
|
6816
9220
|
*/
|
|
6817
|
-
200:
|
|
6818
|
-
/**
|
|
6819
|
-
* Whether the operation succeeded
|
|
6820
|
-
*/
|
|
6821
|
-
success: boolean;
|
|
6822
|
-
/**
|
|
6823
|
-
* Cleaned HTML content of the page (processed for readability)
|
|
6824
|
-
*/
|
|
6825
|
-
html: string;
|
|
6826
|
-
/**
|
|
6827
|
-
* Raw HTML content of the page as-is
|
|
6828
|
-
*/
|
|
6829
|
-
rawHtml: string;
|
|
6830
|
-
/**
|
|
6831
|
-
* Page metadata
|
|
6832
|
-
*/
|
|
6833
|
-
metadata?: {
|
|
6834
|
-
title?: string;
|
|
6835
|
-
description?: string;
|
|
6836
|
-
language?: string;
|
|
6837
|
-
sourceURL?: string;
|
|
6838
|
-
keywords?: string;
|
|
6839
|
-
ogLocaleAlternate?: Array<string>;
|
|
6840
|
-
statusCode: number;
|
|
6841
|
-
error?: string;
|
|
6842
|
-
};
|
|
6843
|
-
/**
|
|
6844
|
-
* Structured branding/design system data (when includeBranding is true)
|
|
6845
|
-
*/
|
|
6846
|
-
branding?: {
|
|
6847
|
-
colorScheme?: 'light' | 'dark' | null;
|
|
6848
|
-
logo?: string | null;
|
|
6849
|
-
colors?: {
|
|
6850
|
-
[key: string]: unknown;
|
|
6851
|
-
} | null;
|
|
6852
|
-
fonts?: Array<{
|
|
6853
|
-
[key: string]: unknown;
|
|
6854
|
-
}> | null;
|
|
6855
|
-
typography?: {
|
|
6856
|
-
[key: string]: unknown;
|
|
6857
|
-
} | null;
|
|
6858
|
-
spacing?: {
|
|
6859
|
-
[key: string]: unknown;
|
|
6860
|
-
} | null;
|
|
6861
|
-
components?: {
|
|
6862
|
-
[key: string]: unknown;
|
|
6863
|
-
} | null;
|
|
6864
|
-
images?: {
|
|
6865
|
-
[key: string]: unknown;
|
|
6866
|
-
} | null;
|
|
6867
|
-
[key: string]: unknown;
|
|
6868
|
-
};
|
|
6869
|
-
};
|
|
9221
|
+
200: WorkflowConversationForChat;
|
|
6870
9222
|
};
|
|
6871
9223
|
|
|
6872
|
-
export type
|
|
9224
|
+
export type GetWorkflowConversationForChatResponse = GetWorkflowConversationForChatResponses[keyof GetWorkflowConversationForChatResponses];
|
|
6873
9225
|
|
|
6874
|
-
export type
|
|
9226
|
+
export type GetWorkflowConversationData = {
|
|
6875
9227
|
body?: never;
|
|
6876
9228
|
path: {
|
|
6877
|
-
|
|
9229
|
+
conversationId: string;
|
|
6878
9230
|
};
|
|
6879
|
-
query?:
|
|
6880
|
-
|
|
9231
|
+
query?: {
|
|
9232
|
+
limit?: number;
|
|
9233
|
+
before?: string;
|
|
9234
|
+
};
|
|
9235
|
+
url: '/workflow/conversations/{conversationId}';
|
|
6881
9236
|
};
|
|
6882
9237
|
|
|
6883
|
-
export type
|
|
9238
|
+
export type GetWorkflowConversationErrors = {
|
|
6884
9239
|
/**
|
|
6885
9240
|
* Bad request - Invalid parameters or malformed JSON
|
|
6886
9241
|
*/
|
|
@@ -6914,33 +9269,27 @@ export type GetUserByDazlIdErrors = {
|
|
|
6914
9269
|
503: ErrorResponse;
|
|
6915
9270
|
};
|
|
6916
9271
|
|
|
6917
|
-
export type
|
|
9272
|
+
export type GetWorkflowConversationError = GetWorkflowConversationErrors[keyof GetWorkflowConversationErrors];
|
|
6918
9273
|
|
|
6919
|
-
export type
|
|
9274
|
+
export type GetWorkflowConversationResponses = {
|
|
6920
9275
|
/**
|
|
6921
|
-
*
|
|
9276
|
+
* One page of a conversation the caller is authorized to read
|
|
6922
9277
|
*/
|
|
6923
|
-
200:
|
|
6924
|
-
user: UserRaw;
|
|
6925
|
-
};
|
|
9278
|
+
200: WorkflowConversationDetail;
|
|
6926
9279
|
};
|
|
6927
9280
|
|
|
6928
|
-
export type
|
|
9281
|
+
export type GetWorkflowConversationResponse = GetWorkflowConversationResponses[keyof GetWorkflowConversationResponses];
|
|
6929
9282
|
|
|
6930
|
-
export type
|
|
6931
|
-
body:
|
|
6932
|
-
picture?: string | null;
|
|
6933
|
-
name?: string;
|
|
6934
|
-
jobRole?: string | null;
|
|
6935
|
-
};
|
|
9283
|
+
export type PostWorkflowConversationMessageData = {
|
|
9284
|
+
body: WorkflowConversationMessageInput;
|
|
6936
9285
|
path: {
|
|
6937
|
-
|
|
9286
|
+
conversationId: string;
|
|
6938
9287
|
};
|
|
6939
9288
|
query?: never;
|
|
6940
|
-
url: '/
|
|
9289
|
+
url: '/workflow/conversations/{conversationId}/messages';
|
|
6941
9290
|
};
|
|
6942
9291
|
|
|
6943
|
-
export type
|
|
9292
|
+
export type PostWorkflowConversationMessageErrors = {
|
|
6944
9293
|
/**
|
|
6945
9294
|
* Bad request - Invalid parameters or malformed JSON
|
|
6946
9295
|
*/
|
|
@@ -6974,29 +9323,27 @@ export type UpdateUserErrors = {
|
|
|
6974
9323
|
503: ErrorResponse;
|
|
6975
9324
|
};
|
|
6976
9325
|
|
|
6977
|
-
export type
|
|
9326
|
+
export type PostWorkflowConversationMessageError = PostWorkflowConversationMessageErrors[keyof PostWorkflowConversationMessageErrors];
|
|
6978
9327
|
|
|
6979
|
-
export type
|
|
9328
|
+
export type PostWorkflowConversationMessageResponses = {
|
|
6980
9329
|
/**
|
|
6981
|
-
*
|
|
9330
|
+
* Records the caller's message and queues the agent turn that answers it
|
|
6982
9331
|
*/
|
|
6983
|
-
200:
|
|
6984
|
-
user: UserRaw;
|
|
6985
|
-
};
|
|
9332
|
+
200: WorkflowConversationPostedMessage;
|
|
6986
9333
|
};
|
|
6987
9334
|
|
|
6988
|
-
export type
|
|
9335
|
+
export type PostWorkflowConversationMessageResponse = PostWorkflowConversationMessageResponses[keyof PostWorkflowConversationMessageResponses];
|
|
6989
9336
|
|
|
6990
|
-
export type
|
|
6991
|
-
body:
|
|
6992
|
-
|
|
9337
|
+
export type CompleteWorkflowConversationData = {
|
|
9338
|
+
body: WorkflowConversationCompleteInput;
|
|
9339
|
+
path: {
|
|
9340
|
+
conversationId: string;
|
|
6993
9341
|
};
|
|
6994
|
-
path?: never;
|
|
6995
9342
|
query?: never;
|
|
6996
|
-
url: '/
|
|
9343
|
+
url: '/workflow/conversations/{conversationId}/complete';
|
|
6997
9344
|
};
|
|
6998
9345
|
|
|
6999
|
-
export type
|
|
9346
|
+
export type CompleteWorkflowConversationErrors = {
|
|
7000
9347
|
/**
|
|
7001
9348
|
* Bad request - Invalid parameters or malformed JSON
|
|
7002
9349
|
*/
|
|
@@ -7030,29 +9377,27 @@ export type GetUsersByDazlIdsErrors = {
|
|
|
7030
9377
|
503: ErrorResponse;
|
|
7031
9378
|
};
|
|
7032
9379
|
|
|
7033
|
-
export type
|
|
9380
|
+
export type CompleteWorkflowConversationError = CompleteWorkflowConversationErrors[keyof CompleteWorkflowConversationErrors];
|
|
7034
9381
|
|
|
7035
|
-
export type
|
|
9382
|
+
export type CompleteWorkflowConversationResponses = {
|
|
7036
9383
|
/**
|
|
7037
|
-
*
|
|
9384
|
+
* Marks an interactive work step done with the draft the caller was shown
|
|
7038
9385
|
*/
|
|
7039
|
-
200:
|
|
7040
|
-
users: Array<UserDisplayInfoResponse>;
|
|
7041
|
-
};
|
|
9386
|
+
200: WorkflowConversationOk;
|
|
7042
9387
|
};
|
|
7043
9388
|
|
|
7044
|
-
export type
|
|
9389
|
+
export type CompleteWorkflowConversationResponse = CompleteWorkflowConversationResponses[keyof CompleteWorkflowConversationResponses];
|
|
7045
9390
|
|
|
7046
|
-
export type
|
|
7047
|
-
body:
|
|
7048
|
-
|
|
9391
|
+
export type DecideWorkflowConversationData = {
|
|
9392
|
+
body: WorkflowConversationDecisionInput;
|
|
9393
|
+
path: {
|
|
9394
|
+
conversationId: string;
|
|
7049
9395
|
};
|
|
7050
|
-
path?: never;
|
|
7051
9396
|
query?: never;
|
|
7052
|
-
url: '/
|
|
9397
|
+
url: '/workflow/conversations/{conversationId}/decide';
|
|
7053
9398
|
};
|
|
7054
9399
|
|
|
7055
|
-
export type
|
|
9400
|
+
export type DecideWorkflowConversationErrors = {
|
|
7056
9401
|
/**
|
|
7057
9402
|
* Bad request - Invalid parameters or malformed JSON
|
|
7058
9403
|
*/
|
|
@@ -7086,34 +9431,27 @@ export type GetUsersByEmailsErrors = {
|
|
|
7086
9431
|
503: ErrorResponse;
|
|
7087
9432
|
};
|
|
7088
9433
|
|
|
7089
|
-
export type
|
|
9434
|
+
export type DecideWorkflowConversationError = DecideWorkflowConversationErrors[keyof DecideWorkflowConversationErrors];
|
|
7090
9435
|
|
|
7091
|
-
export type
|
|
9436
|
+
export type DecideWorkflowConversationResponses = {
|
|
7092
9437
|
/**
|
|
7093
|
-
*
|
|
9438
|
+
* One reviewer entry's own human decision and the findings it publishes
|
|
7094
9439
|
*/
|
|
7095
|
-
200:
|
|
7096
|
-
users: Array<UserDisplayInfoResponse>;
|
|
7097
|
-
};
|
|
9440
|
+
200: WorkflowConversationOk;
|
|
7098
9441
|
};
|
|
7099
9442
|
|
|
7100
|
-
export type
|
|
9443
|
+
export type DecideWorkflowConversationResponse = DecideWorkflowConversationResponses[keyof DecideWorkflowConversationResponses];
|
|
7101
9444
|
|
|
7102
|
-
export type
|
|
7103
|
-
body:
|
|
7104
|
-
|
|
7105
|
-
|
|
7106
|
-
email: string;
|
|
7107
|
-
authSub: string;
|
|
7108
|
-
picture?: string | null;
|
|
7109
|
-
jobRole?: string | null;
|
|
9445
|
+
export type StopWorkflowConversationTurnData = {
|
|
9446
|
+
body: WorkflowTurnActionInput;
|
|
9447
|
+
path: {
|
|
9448
|
+
turnId: string;
|
|
7110
9449
|
};
|
|
7111
|
-
path?: never;
|
|
7112
9450
|
query?: never;
|
|
7113
|
-
url: '/
|
|
9451
|
+
url: '/workflow/conversation-turns/{turnId}/stop';
|
|
7114
9452
|
};
|
|
7115
9453
|
|
|
7116
|
-
export type
|
|
9454
|
+
export type StopWorkflowConversationTurnErrors = {
|
|
7117
9455
|
/**
|
|
7118
9456
|
* Bad request - Invalid parameters or malformed JSON
|
|
7119
9457
|
*/
|
|
@@ -7147,76 +9485,27 @@ export type CreateUserErrors = {
|
|
|
7147
9485
|
503: ErrorResponse;
|
|
7148
9486
|
};
|
|
7149
9487
|
|
|
7150
|
-
export type
|
|
9488
|
+
export type StopWorkflowConversationTurnError = StopWorkflowConversationTurnErrors[keyof StopWorkflowConversationTurnErrors];
|
|
7151
9489
|
|
|
7152
|
-
export type
|
|
9490
|
+
export type StopWorkflowConversationTurnResponses = {
|
|
7153
9491
|
/**
|
|
7154
|
-
*
|
|
9492
|
+
* Cancels a queued turn, or asks the worker holding an accepted one to stop; advisory until confirmed
|
|
7155
9493
|
*/
|
|
7156
|
-
200:
|
|
7157
|
-
user: UserRaw;
|
|
7158
|
-
};
|
|
9494
|
+
200: WorkflowConversationActionResult;
|
|
7159
9495
|
};
|
|
7160
9496
|
|
|
7161
|
-
export type
|
|
9497
|
+
export type StopWorkflowConversationTurnResponse = StopWorkflowConversationTurnResponses[keyof StopWorkflowConversationTurnResponses];
|
|
7162
9498
|
|
|
7163
|
-
export type
|
|
7164
|
-
body:
|
|
7165
|
-
|
|
7166
|
-
|
|
7167
|
-
*/
|
|
7168
|
-
query: string;
|
|
7169
|
-
/**
|
|
7170
|
-
* Maximum number of results to return
|
|
7171
|
-
*/
|
|
7172
|
-
limit?: number;
|
|
7173
|
-
/**
|
|
7174
|
-
* Location parameter for search results
|
|
7175
|
-
*/
|
|
7176
|
-
location?: string;
|
|
7177
|
-
/**
|
|
7178
|
-
* Timeout for the search in milliseconds
|
|
7179
|
-
*/
|
|
7180
|
-
timeout?: number;
|
|
7181
|
-
/**
|
|
7182
|
-
* Options for scraping search results
|
|
7183
|
-
*/
|
|
7184
|
-
scrapeOptions?: {
|
|
7185
|
-
/**
|
|
7186
|
-
* Formats to return
|
|
7187
|
-
*/
|
|
7188
|
-
formats?: Array<'summary' | 'json' | {
|
|
7189
|
-
type: 'json';
|
|
7190
|
-
prompt: string;
|
|
7191
|
-
schema?: {
|
|
7192
|
-
[key: string]: unknown;
|
|
7193
|
-
};
|
|
7194
|
-
} | {
|
|
7195
|
-
type: 'summary' | 'json';
|
|
7196
|
-
}>;
|
|
7197
|
-
/**
|
|
7198
|
-
* Maximum age of cached content
|
|
7199
|
-
*/
|
|
7200
|
-
maxAge?: number;
|
|
7201
|
-
/**
|
|
7202
|
-
* Timeout for scraping each document in milliseconds
|
|
7203
|
-
*/
|
|
7204
|
-
timeout?: number;
|
|
7205
|
-
/**
|
|
7206
|
-
* Parsers to use for content extraction
|
|
7207
|
-
*/
|
|
7208
|
-
parsers?: Array<string | {
|
|
7209
|
-
type: 'pdf';
|
|
7210
|
-
maxPages?: number;
|
|
7211
|
-
}>;
|
|
7212
|
-
};
|
|
9499
|
+
export type RetryWorkflowConversationTurnData = {
|
|
9500
|
+
body: WorkflowTurnActionInput;
|
|
9501
|
+
path: {
|
|
9502
|
+
turnId: string;
|
|
7213
9503
|
};
|
|
7214
|
-
path?: never;
|
|
7215
9504
|
query?: never;
|
|
7216
|
-
url: '/
|
|
9505
|
+
url: '/workflow/conversation-turns/{turnId}/retry';
|
|
7217
9506
|
};
|
|
7218
9507
|
|
|
7219
|
-
export type
|
|
9508
|
+
export type RetryWorkflowConversationTurnErrors = {
|
|
7220
9509
|
/**
|
|
7221
9510
|
* Bad request - Invalid parameters or malformed JSON
|
|
7222
9511
|
*/
|
|
@@ -7250,38 +9539,27 @@ export type SearchWebErrors = {
|
|
|
7250
9539
|
503: ErrorResponse;
|
|
7251
9540
|
};
|
|
7252
9541
|
|
|
7253
|
-
export type
|
|
9542
|
+
export type RetryWorkflowConversationTurnError = RetryWorkflowConversationTurnErrors[keyof RetryWorkflowConversationTurnErrors];
|
|
7254
9543
|
|
|
7255
|
-
export type
|
|
9544
|
+
export type RetryWorkflowConversationTurnResponses = {
|
|
7256
9545
|
/**
|
|
7257
|
-
*
|
|
9546
|
+
* Runs a settled turn again under a new attempt
|
|
7258
9547
|
*/
|
|
7259
|
-
200:
|
|
7260
|
-
web?: Array<{
|
|
7261
|
-
url: string;
|
|
7262
|
-
title?: string;
|
|
7263
|
-
description?: string;
|
|
7264
|
-
json?: unknown;
|
|
7265
|
-
summary?: string;
|
|
7266
|
-
metadata?: {
|
|
7267
|
-
creditsUsed?: number;
|
|
7268
|
-
};
|
|
7269
|
-
}>;
|
|
7270
|
-
};
|
|
9548
|
+
200: WorkflowConversationActionResult;
|
|
7271
9549
|
};
|
|
7272
9550
|
|
|
7273
|
-
export type
|
|
9551
|
+
export type RetryWorkflowConversationTurnResponse = RetryWorkflowConversationTurnResponses[keyof RetryWorkflowConversationTurnResponses];
|
|
7274
9552
|
|
|
7275
|
-
export type
|
|
7276
|
-
body
|
|
9553
|
+
export type ListWorkflowQueuedTurnsData = {
|
|
9554
|
+
body?: never;
|
|
7277
9555
|
path: {
|
|
7278
9556
|
projectId: string;
|
|
7279
9557
|
};
|
|
7280
9558
|
query?: never;
|
|
7281
|
-
url: '/
|
|
9559
|
+
url: '/workflow/projects/{projectId}/conversation-turns';
|
|
7282
9560
|
};
|
|
7283
9561
|
|
|
7284
|
-
export type
|
|
9562
|
+
export type ListWorkflowQueuedTurnsErrors = {
|
|
7285
9563
|
/**
|
|
7286
9564
|
* Bad request - Invalid parameters or malformed JSON
|
|
7287
9565
|
*/
|
|
@@ -7315,28 +9593,27 @@ export type AdminDeleteProjectErrors = {
|
|
|
7315
9593
|
503: ErrorResponse;
|
|
7316
9594
|
};
|
|
7317
9595
|
|
|
7318
|
-
export type
|
|
9596
|
+
export type ListWorkflowQueuedTurnsError = ListWorkflowQueuedTurnsErrors[keyof ListWorkflowQueuedTurnsErrors];
|
|
7319
9597
|
|
|
7320
|
-
export type
|
|
9598
|
+
export type ListWorkflowQueuedTurnsResponses = {
|
|
7321
9599
|
/**
|
|
7322
|
-
*
|
|
9600
|
+
* Queue metadata for a project's claimable turns; carries no transcript
|
|
7323
9601
|
*/
|
|
7324
|
-
200:
|
|
7325
|
-
success: boolean;
|
|
7326
|
-
projectId: string;
|
|
7327
|
-
};
|
|
9602
|
+
200: WorkflowTurnOfferList;
|
|
7328
9603
|
};
|
|
7329
9604
|
|
|
7330
|
-
export type
|
|
9605
|
+
export type ListWorkflowQueuedTurnsResponse = ListWorkflowQueuedTurnsResponses[keyof ListWorkflowQueuedTurnsResponses];
|
|
7331
9606
|
|
|
7332
|
-
export type
|
|
7333
|
-
body:
|
|
7334
|
-
path
|
|
9607
|
+
export type AnnounceWorkflowWorkerSessionData = {
|
|
9608
|
+
body: WorkflowWorkerSession;
|
|
9609
|
+
path: {
|
|
9610
|
+
projectId: string;
|
|
9611
|
+
};
|
|
7335
9612
|
query?: never;
|
|
7336
|
-
url: '/
|
|
9613
|
+
url: '/workflow/projects/{projectId}/worker-sessions';
|
|
7337
9614
|
};
|
|
7338
9615
|
|
|
7339
|
-
export type
|
|
9616
|
+
export type AnnounceWorkflowWorkerSessionErrors = {
|
|
7340
9617
|
/**
|
|
7341
9618
|
* Bad request - Invalid parameters or malformed JSON
|
|
7342
9619
|
*/
|
|
@@ -7370,27 +9647,27 @@ export type AdminCloneProjectCreateErrors = {
|
|
|
7370
9647
|
503: ErrorResponse;
|
|
7371
9648
|
};
|
|
7372
9649
|
|
|
7373
|
-
export type
|
|
9650
|
+
export type AnnounceWorkflowWorkerSessionError = AnnounceWorkflowWorkerSessionErrors[keyof AnnounceWorkflowWorkerSessionErrors];
|
|
7374
9651
|
|
|
7375
|
-
export type
|
|
9652
|
+
export type AnnounceWorkflowWorkerSessionResponses = {
|
|
7376
9653
|
/**
|
|
7377
|
-
*
|
|
9654
|
+
* Declares this worker as the project's current one and settles the turns its predecessor left behind
|
|
7378
9655
|
*/
|
|
7379
|
-
200:
|
|
7380
|
-
newProjectId: string;
|
|
7381
|
-
};
|
|
9656
|
+
200: WorkflowWorkerSessionResult;
|
|
7382
9657
|
};
|
|
7383
9658
|
|
|
7384
|
-
export type
|
|
9659
|
+
export type AnnounceWorkflowWorkerSessionResponse = AnnounceWorkflowWorkerSessionResponses[keyof AnnounceWorkflowWorkerSessionResponses];
|
|
7385
9660
|
|
|
7386
|
-
export type
|
|
7387
|
-
body:
|
|
7388
|
-
path
|
|
9661
|
+
export type AcceptWorkflowConversationTurnData = {
|
|
9662
|
+
body: WorkflowTurnAcceptInput;
|
|
9663
|
+
path: {
|
|
9664
|
+
turnId: string;
|
|
9665
|
+
};
|
|
7389
9666
|
query?: never;
|
|
7390
|
-
url: '/
|
|
9667
|
+
url: '/workflow/conversation-turns/{turnId}/accept';
|
|
7391
9668
|
};
|
|
7392
9669
|
|
|
7393
|
-
export type
|
|
9670
|
+
export type AcceptWorkflowConversationTurnErrors = {
|
|
7394
9671
|
/**
|
|
7395
9672
|
* Bad request - Invalid parameters or malformed JSON
|
|
7396
9673
|
*/
|
|
@@ -7424,27 +9701,27 @@ export type AdminCloneProjectLogErrors = {
|
|
|
7424
9701
|
503: ErrorResponse;
|
|
7425
9702
|
};
|
|
7426
9703
|
|
|
7427
|
-
export type
|
|
9704
|
+
export type AcceptWorkflowConversationTurnError = AcceptWorkflowConversationTurnErrors[keyof AcceptWorkflowConversationTurnErrors];
|
|
7428
9705
|
|
|
7429
|
-
export type
|
|
9706
|
+
export type AcceptWorkflowConversationTurnResponses = {
|
|
7430
9707
|
/**
|
|
7431
|
-
*
|
|
9708
|
+
* Claims this conversation's next queued turn and returns its lease
|
|
7432
9709
|
*/
|
|
7433
|
-
200:
|
|
7434
|
-
success: boolean;
|
|
7435
|
-
};
|
|
9710
|
+
200: WorkflowTurnAcceptance;
|
|
7436
9711
|
};
|
|
7437
9712
|
|
|
7438
|
-
export type
|
|
9713
|
+
export type AcceptWorkflowConversationTurnResponse = AcceptWorkflowConversationTurnResponses[keyof AcceptWorkflowConversationTurnResponses];
|
|
7439
9714
|
|
|
7440
|
-
export type
|
|
7441
|
-
body:
|
|
7442
|
-
path
|
|
9715
|
+
export type ReportWorkflowConversationTurnResultData = {
|
|
9716
|
+
body: WorkflowTurnResultInput;
|
|
9717
|
+
path: {
|
|
9718
|
+
turnId: string;
|
|
9719
|
+
};
|
|
7443
9720
|
query?: never;
|
|
7444
|
-
url: '/
|
|
9721
|
+
url: '/workflow/conversation-turns/{turnId}/result';
|
|
7445
9722
|
};
|
|
7446
9723
|
|
|
7447
|
-
export type
|
|
9724
|
+
export type ReportWorkflowConversationTurnResultErrors = {
|
|
7448
9725
|
/**
|
|
7449
9726
|
* Bad request - Invalid parameters or malformed JSON
|
|
7450
9727
|
*/
|
|
@@ -7478,27 +9755,27 @@ export type AdminCleanupProjectErrors = {
|
|
|
7478
9755
|
503: ErrorResponse;
|
|
7479
9756
|
};
|
|
7480
9757
|
|
|
7481
|
-
export type
|
|
9758
|
+
export type ReportWorkflowConversationTurnResultError = ReportWorkflowConversationTurnResultErrors[keyof ReportWorkflowConversationTurnResultErrors];
|
|
7482
9759
|
|
|
7483
|
-
export type
|
|
9760
|
+
export type ReportWorkflowConversationTurnResultResponses = {
|
|
7484
9761
|
/**
|
|
7485
|
-
*
|
|
9762
|
+
* Records the outcome of the turn this worker holds
|
|
7486
9763
|
*/
|
|
7487
|
-
200:
|
|
7488
|
-
success: boolean;
|
|
7489
|
-
};
|
|
9764
|
+
200: WorkflowConversationActionResult;
|
|
7490
9765
|
};
|
|
7491
9766
|
|
|
7492
|
-
export type
|
|
9767
|
+
export type ReportWorkflowConversationTurnResultResponse = ReportWorkflowConversationTurnResultResponses[keyof ReportWorkflowConversationTurnResultResponses];
|
|
7493
9768
|
|
|
7494
|
-
export type
|
|
7495
|
-
body:
|
|
7496
|
-
path
|
|
9769
|
+
export type HeartbeatWorkflowConversationTurnData = {
|
|
9770
|
+
body: WorkflowTurnClaimInput;
|
|
9771
|
+
path: {
|
|
9772
|
+
turnId: string;
|
|
9773
|
+
};
|
|
7497
9774
|
query?: never;
|
|
7498
|
-
url: '/
|
|
9775
|
+
url: '/workflow/conversation-turns/{turnId}/heartbeat';
|
|
7499
9776
|
};
|
|
7500
9777
|
|
|
7501
|
-
export type
|
|
9778
|
+
export type HeartbeatWorkflowConversationTurnErrors = {
|
|
7502
9779
|
/**
|
|
7503
9780
|
* Bad request - Invalid parameters or malformed JSON
|
|
7504
9781
|
*/
|
|
@@ -7532,42 +9809,27 @@ export type AdminUpdateCreditsErrors = {
|
|
|
7532
9809
|
503: ErrorResponse;
|
|
7533
9810
|
};
|
|
7534
9811
|
|
|
7535
|
-
export type
|
|
9812
|
+
export type HeartbeatWorkflowConversationTurnError = HeartbeatWorkflowConversationTurnErrors[keyof HeartbeatWorkflowConversationTurnErrors];
|
|
7536
9813
|
|
|
7537
|
-
export type
|
|
9814
|
+
export type HeartbeatWorkflowConversationTurnResponses = {
|
|
7538
9815
|
/**
|
|
7539
|
-
*
|
|
9816
|
+
* Renews this turn's lease and reports whether a person asked it to stop
|
|
7540
9817
|
*/
|
|
7541
|
-
200:
|
|
7542
|
-
success: boolean;
|
|
7543
|
-
newBalance: number;
|
|
7544
|
-
};
|
|
9818
|
+
200: WorkflowTurnHeartbeat;
|
|
7545
9819
|
};
|
|
7546
9820
|
|
|
7547
|
-
export type
|
|
9821
|
+
export type HeartbeatWorkflowConversationTurnResponse = HeartbeatWorkflowConversationTurnResponses[keyof HeartbeatWorkflowConversationTurnResponses];
|
|
7548
9822
|
|
|
7549
|
-
export type
|
|
7550
|
-
body:
|
|
7551
|
-
|
|
7552
|
-
|
|
7553
|
-
* The target user's Dazl ID
|
|
7554
|
-
*/
|
|
7555
|
-
targetDazlUserId?: string;
|
|
7556
|
-
targetProjectId?: string;
|
|
7557
|
-
message: string;
|
|
7558
|
-
reason?: string;
|
|
7559
|
-
} & {
|
|
7560
|
-
/**
|
|
7561
|
-
* The admin user's Dazl ID
|
|
7562
|
-
*/
|
|
7563
|
-
adminDazlUserId: string;
|
|
9823
|
+
export type AcknowledgeWorkflowConversationTurnStoppedData = {
|
|
9824
|
+
body: WorkflowTurnClaimInput;
|
|
9825
|
+
path: {
|
|
9826
|
+
turnId: string;
|
|
7564
9827
|
};
|
|
7565
|
-
path?: never;
|
|
7566
9828
|
query?: never;
|
|
7567
|
-
url: '/
|
|
9829
|
+
url: '/workflow/conversation-turns/{turnId}/stopped';
|
|
7568
9830
|
};
|
|
7569
9831
|
|
|
7570
|
-
export type
|
|
9832
|
+
export type AcknowledgeWorkflowConversationTurnStoppedErrors = {
|
|
7571
9833
|
/**
|
|
7572
9834
|
* Bad request - Invalid parameters or malformed JSON
|
|
7573
9835
|
*/
|
|
@@ -7601,30 +9863,27 @@ export type AdminLogActionErrors = {
|
|
|
7601
9863
|
503: ErrorResponse;
|
|
7602
9864
|
};
|
|
7603
9865
|
|
|
7604
|
-
export type
|
|
9866
|
+
export type AcknowledgeWorkflowConversationTurnStoppedError = AcknowledgeWorkflowConversationTurnStoppedErrors[keyof AcknowledgeWorkflowConversationTurnStoppedErrors];
|
|
7605
9867
|
|
|
7606
|
-
export type
|
|
9868
|
+
export type AcknowledgeWorkflowConversationTurnStoppedResponses = {
|
|
7607
9869
|
/**
|
|
7608
|
-
*
|
|
9870
|
+
* The worker's confirmation that it stopped, which is what makes a retry safe
|
|
7609
9871
|
*/
|
|
7610
|
-
200:
|
|
7611
|
-
success: boolean;
|
|
7612
|
-
};
|
|
9872
|
+
200: WorkflowConversationActionResult;
|
|
7613
9873
|
};
|
|
7614
9874
|
|
|
7615
|
-
export type
|
|
9875
|
+
export type AcknowledgeWorkflowConversationTurnStoppedResponse = AcknowledgeWorkflowConversationTurnStoppedResponses[keyof AcknowledgeWorkflowConversationTurnStoppedResponses];
|
|
7616
9876
|
|
|
7617
|
-
export type
|
|
7618
|
-
body
|
|
7619
|
-
|
|
7620
|
-
|
|
9877
|
+
export type ListWorkflowRunsData = {
|
|
9878
|
+
body?: never;
|
|
9879
|
+
path: {
|
|
9880
|
+
projectId: string;
|
|
7621
9881
|
};
|
|
7622
|
-
path?: never;
|
|
7623
9882
|
query?: never;
|
|
7624
|
-
url: '/
|
|
9883
|
+
url: '/workflow/projects/{projectId}/runs';
|
|
7625
9884
|
};
|
|
7626
9885
|
|
|
7627
|
-
export type
|
|
9886
|
+
export type ListWorkflowRunsErrors = {
|
|
7628
9887
|
/**
|
|
7629
9888
|
* Bad request - Invalid parameters or malformed JSON
|
|
7630
9889
|
*/
|
|
@@ -7658,29 +9917,29 @@ export type OpenFeatureToggleErrors = {
|
|
|
7658
9917
|
503: ErrorResponse;
|
|
7659
9918
|
};
|
|
7660
9919
|
|
|
7661
|
-
export type
|
|
9920
|
+
export type ListWorkflowRunsError = ListWorkflowRunsErrors[keyof ListWorkflowRunsErrors];
|
|
7662
9921
|
|
|
7663
|
-
export type
|
|
9922
|
+
export type ListWorkflowRunsResponses = {
|
|
7664
9923
|
/**
|
|
7665
|
-
*
|
|
9924
|
+
* Lists a project's workflow runs, most recent first
|
|
7666
9925
|
*/
|
|
7667
9926
|
200: {
|
|
7668
|
-
|
|
9927
|
+
runs: Array<WorkflowRun>;
|
|
7669
9928
|
};
|
|
7670
9929
|
};
|
|
7671
9930
|
|
|
7672
|
-
export type
|
|
9931
|
+
export type ListWorkflowRunsResponse = ListWorkflowRunsResponses[keyof ListWorkflowRunsResponses];
|
|
7673
9932
|
|
|
7674
|
-
export type
|
|
7675
|
-
body:
|
|
7676
|
-
|
|
9933
|
+
export type StartWorkflowRunData = {
|
|
9934
|
+
body: StartWorkflowRunInput;
|
|
9935
|
+
path: {
|
|
9936
|
+
projectId: string;
|
|
7677
9937
|
};
|
|
7678
|
-
path?: never;
|
|
7679
9938
|
query?: never;
|
|
7680
|
-
url: '/
|
|
9939
|
+
url: '/workflow/projects/{projectId}/runs';
|
|
7681
9940
|
};
|
|
7682
9941
|
|
|
7683
|
-
export type
|
|
9942
|
+
export type StartWorkflowRunErrors = {
|
|
7684
9943
|
/**
|
|
7685
9944
|
* Bad request - Invalid parameters or malformed JSON
|
|
7686
9945
|
*/
|
|
@@ -7714,27 +9973,29 @@ export type CloseFeatureToggleErrors = {
|
|
|
7714
9973
|
503: ErrorResponse;
|
|
7715
9974
|
};
|
|
7716
9975
|
|
|
7717
|
-
export type
|
|
9976
|
+
export type StartWorkflowRunError = StartWorkflowRunErrors[keyof StartWorkflowRunErrors];
|
|
7718
9977
|
|
|
7719
|
-
export type
|
|
9978
|
+
export type StartWorkflowRunResponses = {
|
|
7720
9979
|
/**
|
|
7721
|
-
*
|
|
9980
|
+
* Starts a run from a working-tree workflow document
|
|
7722
9981
|
*/
|
|
7723
9982
|
200: {
|
|
7724
|
-
|
|
9983
|
+
run: WorkflowRun;
|
|
7725
9984
|
};
|
|
7726
9985
|
};
|
|
7727
9986
|
|
|
7728
|
-
export type
|
|
9987
|
+
export type StartWorkflowRunResponse = StartWorkflowRunResponses[keyof StartWorkflowRunResponses];
|
|
7729
9988
|
|
|
7730
|
-
export type
|
|
7731
|
-
body
|
|
7732
|
-
path
|
|
9989
|
+
export type ListWorkflowOffersData = {
|
|
9990
|
+
body?: never;
|
|
9991
|
+
path: {
|
|
9992
|
+
projectId: string;
|
|
9993
|
+
};
|
|
7733
9994
|
query?: never;
|
|
7734
|
-
url: '/
|
|
9995
|
+
url: '/workflow/projects/{projectId}/offers';
|
|
7735
9996
|
};
|
|
7736
9997
|
|
|
7737
|
-
export type
|
|
9998
|
+
export type ListWorkflowOffersErrors = {
|
|
7738
9999
|
/**
|
|
7739
10000
|
* Bad request - Invalid parameters or malformed JSON
|
|
7740
10001
|
*/
|
|
@@ -7768,40 +10029,29 @@ export type PurgeUserAccountErrors = {
|
|
|
7768
10029
|
503: ErrorResponse;
|
|
7769
10030
|
};
|
|
7770
10031
|
|
|
7771
|
-
export type
|
|
10032
|
+
export type ListWorkflowOffersError = ListWorkflowOffersErrors[keyof ListWorkflowOffersErrors];
|
|
7772
10033
|
|
|
7773
|
-
export type
|
|
10034
|
+
export type ListWorkflowOffersResponses = {
|
|
7774
10035
|
/**
|
|
7775
|
-
*
|
|
10036
|
+
* Lists the nodes offered to a container polling this project
|
|
7776
10037
|
*/
|
|
7777
10038
|
200: {
|
|
7778
|
-
|
|
7779
|
-
results: {
|
|
7780
|
-
[key: string]: {
|
|
7781
|
-
discovered: Array<string>;
|
|
7782
|
-
deleted: Array<string>;
|
|
7783
|
-
};
|
|
7784
|
-
};
|
|
10039
|
+
offers: Array<WorkflowDispatchPayload>;
|
|
7785
10040
|
};
|
|
7786
10041
|
};
|
|
7787
10042
|
|
|
7788
|
-
export type
|
|
10043
|
+
export type ListWorkflowOffersResponse = ListWorkflowOffersResponses[keyof ListWorkflowOffersResponses];
|
|
7789
10044
|
|
|
7790
|
-
export type
|
|
10045
|
+
export type GetWorkflowRunData = {
|
|
7791
10046
|
body?: never;
|
|
7792
10047
|
path: {
|
|
7793
|
-
|
|
7794
|
-
};
|
|
7795
|
-
query?: {
|
|
7796
|
-
/**
|
|
7797
|
-
* Filter results to this category
|
|
7798
|
-
*/
|
|
7799
|
-
categ?: string;
|
|
10048
|
+
runId: string;
|
|
7800
10049
|
};
|
|
7801
|
-
|
|
10050
|
+
query?: never;
|
|
10051
|
+
url: '/workflow/runs/{runId}';
|
|
7802
10052
|
};
|
|
7803
10053
|
|
|
7804
|
-
export type
|
|
10054
|
+
export type GetWorkflowRunErrors = {
|
|
7805
10055
|
/**
|
|
7806
10056
|
* Bad request - Invalid parameters or malformed JSON
|
|
7807
10057
|
*/
|
|
@@ -7835,44 +10085,34 @@ export type GetValuesErrors = {
|
|
|
7835
10085
|
503: ErrorResponse;
|
|
7836
10086
|
};
|
|
7837
10087
|
|
|
7838
|
-
export type
|
|
10088
|
+
export type GetWorkflowRunError = GetWorkflowRunErrors[keyof GetWorkflowRunErrors];
|
|
7839
10089
|
|
|
7840
|
-
export type
|
|
10090
|
+
export type GetWorkflowRunResponses = {
|
|
7841
10091
|
/**
|
|
7842
|
-
* Returns
|
|
10092
|
+
* Returns a run's full detail: the run row, its nodes, events, review decisions and projected graph
|
|
7843
10093
|
*/
|
|
7844
10094
|
200: {
|
|
7845
|
-
|
|
7846
|
-
|
|
7847
|
-
|
|
7848
|
-
|
|
7849
|
-
|
|
7850
|
-
strVal: string | null;
|
|
7851
|
-
encryptedValId: string | null;
|
|
7852
|
-
createdAt: string;
|
|
7853
|
-
updatedAt: string;
|
|
7854
|
-
encryptedValue: string | null;
|
|
7855
|
-
}>;
|
|
10095
|
+
run: WorkflowRun;
|
|
10096
|
+
nodes: Array<WorkflowNodeRun>;
|
|
10097
|
+
events: Array<WorkflowRunEvent>;
|
|
10098
|
+
decisions: Array<WorkflowReviewDecision>;
|
|
10099
|
+
graph: WorkflowRunGraph;
|
|
7856
10100
|
};
|
|
7857
10101
|
};
|
|
7858
10102
|
|
|
7859
|
-
export type
|
|
10103
|
+
export type GetWorkflowRunResponse = GetWorkflowRunResponses[keyof GetWorkflowRunResponses];
|
|
7860
10104
|
|
|
7861
|
-
export type
|
|
7862
|
-
body:
|
|
7863
|
-
value: string;
|
|
7864
|
-
isSecret?: boolean;
|
|
7865
|
-
};
|
|
10105
|
+
export type AcceptWorkflowNodeData = {
|
|
10106
|
+
body: AcceptWorkflowNodeInput;
|
|
7866
10107
|
path: {
|
|
7867
|
-
|
|
7868
|
-
|
|
7869
|
-
name: string;
|
|
10108
|
+
runId: string;
|
|
10109
|
+
nodeKey: string;
|
|
7870
10110
|
};
|
|
7871
10111
|
query?: never;
|
|
7872
|
-
url: '/
|
|
10112
|
+
url: '/workflow/runs/{runId}/nodes/{nodeKey}/accept';
|
|
7873
10113
|
};
|
|
7874
10114
|
|
|
7875
|
-
export type
|
|
10115
|
+
export type AcceptWorkflowNodeErrors = {
|
|
7876
10116
|
/**
|
|
7877
10117
|
* Bad request - Invalid parameters or malformed JSON
|
|
7878
10118
|
*/
|
|
@@ -7906,30 +10146,27 @@ export type SetValueErrors = {
|
|
|
7906
10146
|
503: ErrorResponse;
|
|
7907
10147
|
};
|
|
7908
10148
|
|
|
7909
|
-
export type
|
|
10149
|
+
export type AcceptWorkflowNodeError = AcceptWorkflowNodeErrors[keyof AcceptWorkflowNodeErrors];
|
|
7910
10150
|
|
|
7911
|
-
export type
|
|
10151
|
+
export type AcceptWorkflowNodeResponses = {
|
|
7912
10152
|
/**
|
|
7913
|
-
*
|
|
10153
|
+
* Accepts an offered node and returns its authoritative execution payload
|
|
7914
10154
|
*/
|
|
7915
|
-
200:
|
|
7916
|
-
id: string;
|
|
7917
|
-
};
|
|
10155
|
+
200: AcceptedWorkflowNode;
|
|
7918
10156
|
};
|
|
7919
10157
|
|
|
7920
|
-
export type
|
|
10158
|
+
export type AcceptWorkflowNodeResponse = AcceptWorkflowNodeResponses[keyof AcceptWorkflowNodeResponses];
|
|
7921
10159
|
|
|
7922
|
-
export type
|
|
7923
|
-
body
|
|
10160
|
+
export type SetWorkflowHarnessData = {
|
|
10161
|
+
body: SetWorkflowHarnessInput;
|
|
7924
10162
|
path: {
|
|
7925
|
-
|
|
7926
|
-
categ: string;
|
|
10163
|
+
runId: string;
|
|
7927
10164
|
};
|
|
7928
10165
|
query?: never;
|
|
7929
|
-
url: '/
|
|
10166
|
+
url: '/workflow/runs/{runId}/harness';
|
|
7930
10167
|
};
|
|
7931
10168
|
|
|
7932
|
-
export type
|
|
10169
|
+
export type SetWorkflowHarnessErrors = {
|
|
7933
10170
|
/**
|
|
7934
10171
|
* Bad request - Invalid parameters or malformed JSON
|
|
7935
10172
|
*/
|
|
@@ -7963,36 +10200,30 @@ export type DeleteCategValuesErrors = {
|
|
|
7963
10200
|
503: ErrorResponse;
|
|
7964
10201
|
};
|
|
7965
10202
|
|
|
7966
|
-
export type
|
|
10203
|
+
export type SetWorkflowHarnessError = SetWorkflowHarnessErrors[keyof SetWorkflowHarnessErrors];
|
|
7967
10204
|
|
|
7968
|
-
export type
|
|
10205
|
+
export type SetWorkflowHarnessResponses = {
|
|
7969
10206
|
/**
|
|
7970
|
-
*
|
|
10207
|
+
* Changes a live run's selected harness
|
|
7971
10208
|
*/
|
|
7972
10209
|
200: {
|
|
7973
|
-
|
|
10210
|
+
applied: boolean;
|
|
7974
10211
|
};
|
|
7975
10212
|
};
|
|
7976
10213
|
|
|
7977
|
-
export type
|
|
10214
|
+
export type SetWorkflowHarnessResponse = SetWorkflowHarnessResponses[keyof SetWorkflowHarnessResponses];
|
|
7978
10215
|
|
|
7979
|
-
export type
|
|
7980
|
-
body:
|
|
7981
|
-
values: Array<{
|
|
7982
|
-
name: string;
|
|
7983
|
-
value: string;
|
|
7984
|
-
isSecret?: boolean;
|
|
7985
|
-
}>;
|
|
7986
|
-
};
|
|
10216
|
+
export type ReportWorkflowNodeResultData = {
|
|
10217
|
+
body: WorkflowNodeResultInput;
|
|
7987
10218
|
path: {
|
|
7988
|
-
|
|
7989
|
-
|
|
10219
|
+
runId: string;
|
|
10220
|
+
nodeKey: string;
|
|
7990
10221
|
};
|
|
7991
10222
|
query?: never;
|
|
7992
|
-
url: '/
|
|
10223
|
+
url: '/workflow/runs/{runId}/nodes/{nodeKey}/result';
|
|
7993
10224
|
};
|
|
7994
10225
|
|
|
7995
|
-
export type
|
|
10226
|
+
export type ReportWorkflowNodeResultErrors = {
|
|
7996
10227
|
/**
|
|
7997
10228
|
* Bad request - Invalid parameters or malformed JSON
|
|
7998
10229
|
*/
|
|
@@ -8026,33 +10257,30 @@ export type ReplaceCategValuesErrors = {
|
|
|
8026
10257
|
503: ErrorResponse;
|
|
8027
10258
|
};
|
|
8028
10259
|
|
|
8029
|
-
export type
|
|
10260
|
+
export type ReportWorkflowNodeResultError = ReportWorkflowNodeResultErrors[keyof ReportWorkflowNodeResultErrors];
|
|
8030
10261
|
|
|
8031
|
-
export type
|
|
10262
|
+
export type ReportWorkflowNodeResultResponses = {
|
|
8032
10263
|
/**
|
|
8033
|
-
*
|
|
10264
|
+
* Records a work node's terminal result
|
|
8034
10265
|
*/
|
|
8035
10266
|
200: {
|
|
8036
|
-
|
|
8037
|
-
id: string;
|
|
8038
|
-
name: string;
|
|
8039
|
-
}>;
|
|
8040
|
-
replaced: boolean;
|
|
10267
|
+
applied: boolean;
|
|
8041
10268
|
};
|
|
8042
10269
|
};
|
|
8043
10270
|
|
|
8044
|
-
export type
|
|
10271
|
+
export type ReportWorkflowNodeResultResponse = ReportWorkflowNodeResultResponses[keyof ReportWorkflowNodeResultResponses];
|
|
8045
10272
|
|
|
8046
|
-
export type
|
|
8047
|
-
body
|
|
10273
|
+
export type ReportWorkflowReviewData = {
|
|
10274
|
+
body: WorkflowReviewReportInput;
|
|
8048
10275
|
path: {
|
|
8049
|
-
|
|
10276
|
+
runId: string;
|
|
10277
|
+
nodeKey: string;
|
|
8050
10278
|
};
|
|
8051
10279
|
query?: never;
|
|
8052
|
-
url: '/
|
|
10280
|
+
url: '/workflow/runs/{runId}/nodes/{nodeKey}/review';
|
|
8053
10281
|
};
|
|
8054
10282
|
|
|
8055
|
-
export type
|
|
10283
|
+
export type ReportWorkflowReviewErrors = {
|
|
8056
10284
|
/**
|
|
8057
10285
|
* Bad request - Invalid parameters or malformed JSON
|
|
8058
10286
|
*/
|
|
@@ -8086,30 +10314,30 @@ export type IsPromotionOpenErrors = {
|
|
|
8086
10314
|
503: ErrorResponse;
|
|
8087
10315
|
};
|
|
8088
10316
|
|
|
8089
|
-
export type
|
|
10317
|
+
export type ReportWorkflowReviewError = ReportWorkflowReviewErrors[keyof ReportWorkflowReviewErrors];
|
|
8090
10318
|
|
|
8091
|
-
export type
|
|
10319
|
+
export type ReportWorkflowReviewResponses = {
|
|
8092
10320
|
/**
|
|
8093
|
-
*
|
|
10321
|
+
* Records a reviewer's approval or objection
|
|
8094
10322
|
*/
|
|
8095
10323
|
200: {
|
|
8096
|
-
|
|
10324
|
+
applied: boolean;
|
|
8097
10325
|
};
|
|
8098
10326
|
};
|
|
8099
10327
|
|
|
8100
|
-
export type
|
|
10328
|
+
export type ReportWorkflowReviewResponse = ReportWorkflowReviewResponses[keyof ReportWorkflowReviewResponses];
|
|
8101
10329
|
|
|
8102
|
-
export type
|
|
8103
|
-
body
|
|
10330
|
+
export type DecideWorkflowReviewData = {
|
|
10331
|
+
body: WorkflowHumanDecisionInput;
|
|
8104
10332
|
path: {
|
|
8105
|
-
|
|
8106
|
-
|
|
10333
|
+
runId: string;
|
|
10334
|
+
nodeKey: string;
|
|
8107
10335
|
};
|
|
8108
10336
|
query?: never;
|
|
8109
|
-
url: '/
|
|
10337
|
+
url: '/workflow/runs/{runId}/nodes/{nodeKey}/decide';
|
|
8110
10338
|
};
|
|
8111
10339
|
|
|
8112
|
-
export type
|
|
10340
|
+
export type DecideWorkflowReviewErrors = {
|
|
8113
10341
|
/**
|
|
8114
10342
|
* Bad request - Invalid parameters or malformed JSON
|
|
8115
10343
|
*/
|
|
@@ -8143,30 +10371,30 @@ export type DeactivateUserPromotionErrors = {
|
|
|
8143
10371
|
503: ErrorResponse;
|
|
8144
10372
|
};
|
|
8145
10373
|
|
|
8146
|
-
export type
|
|
10374
|
+
export type DecideWorkflowReviewError = DecideWorkflowReviewErrors[keyof DecideWorkflowReviewErrors];
|
|
8147
10375
|
|
|
8148
|
-
export type
|
|
10376
|
+
export type DecideWorkflowReviewResponses = {
|
|
8149
10377
|
/**
|
|
8150
|
-
*
|
|
10378
|
+
* A person's approve/reject decision on an objection parked for them
|
|
8151
10379
|
*/
|
|
8152
10380
|
200: {
|
|
8153
|
-
|
|
10381
|
+
ok: true;
|
|
8154
10382
|
};
|
|
8155
10383
|
};
|
|
8156
10384
|
|
|
8157
|
-
export type
|
|
10385
|
+
export type DecideWorkflowReviewResponse = DecideWorkflowReviewResponses[keyof DecideWorkflowReviewResponses];
|
|
8158
10386
|
|
|
8159
|
-
export type
|
|
10387
|
+
export type RetryWorkflowNodeData = {
|
|
8160
10388
|
body?: never;
|
|
8161
10389
|
path: {
|
|
8162
|
-
|
|
8163
|
-
|
|
10390
|
+
runId: string;
|
|
10391
|
+
nodeKey: string;
|
|
8164
10392
|
};
|
|
8165
10393
|
query?: never;
|
|
8166
|
-
url: '/
|
|
10394
|
+
url: '/workflow/runs/{runId}/nodes/{nodeKey}/retry';
|
|
8167
10395
|
};
|
|
8168
10396
|
|
|
8169
|
-
export type
|
|
10397
|
+
export type RetryWorkflowNodeErrors = {
|
|
8170
10398
|
/**
|
|
8171
10399
|
* Bad request - Invalid parameters or malformed JSON
|
|
8172
10400
|
*/
|
|
@@ -8200,29 +10428,29 @@ export type AddUserToPromotionErrors = {
|
|
|
8200
10428
|
503: ErrorResponse;
|
|
8201
10429
|
};
|
|
8202
10430
|
|
|
8203
|
-
export type
|
|
10431
|
+
export type RetryWorkflowNodeError = RetryWorkflowNodeErrors[keyof RetryWorkflowNodeErrors];
|
|
8204
10432
|
|
|
8205
|
-
export type
|
|
10433
|
+
export type RetryWorkflowNodeResponses = {
|
|
8206
10434
|
/**
|
|
8207
|
-
*
|
|
10435
|
+
* Puts an errored node back in play
|
|
8208
10436
|
*/
|
|
8209
10437
|
200: {
|
|
8210
|
-
|
|
10438
|
+
applied: boolean;
|
|
8211
10439
|
};
|
|
8212
10440
|
};
|
|
8213
10441
|
|
|
8214
|
-
export type
|
|
10442
|
+
export type RetryWorkflowNodeResponse = RetryWorkflowNodeResponses[keyof RetryWorkflowNodeResponses];
|
|
8215
10443
|
|
|
8216
|
-
export type
|
|
10444
|
+
export type CancelWorkflowRunData = {
|
|
8217
10445
|
body?: never;
|
|
8218
10446
|
path: {
|
|
8219
|
-
|
|
10447
|
+
runId: string;
|
|
8220
10448
|
};
|
|
8221
10449
|
query?: never;
|
|
8222
|
-
url: '/
|
|
10450
|
+
url: '/workflow/runs/{runId}/cancel';
|
|
8223
10451
|
};
|
|
8224
10452
|
|
|
8225
|
-
export type
|
|
10453
|
+
export type CancelWorkflowRunErrors = {
|
|
8226
10454
|
/**
|
|
8227
10455
|
* Bad request - Invalid parameters or malformed JSON
|
|
8228
10456
|
*/
|
|
@@ -8256,18 +10484,18 @@ export type GetUserActivePromotionsErrors = {
|
|
|
8256
10484
|
503: ErrorResponse;
|
|
8257
10485
|
};
|
|
8258
10486
|
|
|
8259
|
-
export type
|
|
10487
|
+
export type CancelWorkflowRunError = CancelWorkflowRunErrors[keyof CancelWorkflowRunErrors];
|
|
8260
10488
|
|
|
8261
|
-
export type
|
|
10489
|
+
export type CancelWorkflowRunResponses = {
|
|
8262
10490
|
/**
|
|
8263
|
-
*
|
|
10491
|
+
* Cancels a live run
|
|
8264
10492
|
*/
|
|
8265
10493
|
200: {
|
|
8266
|
-
|
|
10494
|
+
applied: boolean;
|
|
8267
10495
|
};
|
|
8268
10496
|
};
|
|
8269
10497
|
|
|
8270
|
-
export type
|
|
10498
|
+
export type CancelWorkflowRunResponse = CancelWorkflowRunResponses[keyof CancelWorkflowRunResponses];
|
|
8271
10499
|
|
|
8272
10500
|
export type GetFeatureTogglesData = {
|
|
8273
10501
|
body?: never;
|