@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
|
@@ -486,6 +486,484 @@ export type PurgeUserAccountInput = {
|
|
|
486
486
|
*/
|
|
487
487
|
dryRun?: boolean;
|
|
488
488
|
};
|
|
489
|
+
export type WorkflowInteractiveCapabilities = {
|
|
490
|
+
interactiveExecutionAvailable: boolean;
|
|
491
|
+
};
|
|
492
|
+
export type WorkflowConversationList = {
|
|
493
|
+
conversations: Array<WorkflowConversationSummary>;
|
|
494
|
+
};
|
|
495
|
+
export type WorkflowConversationSummary = {
|
|
496
|
+
id: string;
|
|
497
|
+
runId: string;
|
|
498
|
+
nodeKey: string;
|
|
499
|
+
chatId: string;
|
|
500
|
+
agentName: string;
|
|
501
|
+
role: 'work' | 'workspace' | 'personal';
|
|
502
|
+
ownerDazlUserId: string;
|
|
503
|
+
phaseVersion: number;
|
|
504
|
+
attempt: number;
|
|
505
|
+
draftRevision: number;
|
|
506
|
+
state: 'queued' | 'working' | 'waiting' | 'failed' | 'recovery-required' | 'completed' | 'superseded';
|
|
507
|
+
activeTurn: WorkflowTurnActiveRef;
|
|
508
|
+
canRead: boolean;
|
|
509
|
+
canPost: boolean;
|
|
510
|
+
canDecide: boolean;
|
|
511
|
+
canComplete: boolean;
|
|
512
|
+
};
|
|
513
|
+
export type WorkflowTurnActiveRef = {
|
|
514
|
+
turnId: string;
|
|
515
|
+
turnAttempt: number;
|
|
516
|
+
status: 'queued' | 'accepted' | 'succeeded' | 'failed' | 'cancelled' | 'recovery-required';
|
|
517
|
+
} | null;
|
|
518
|
+
export type WorkflowConversationForChat = {
|
|
519
|
+
conversation: WorkflowConversationSummary & ({
|
|
520
|
+
[key: string]: unknown;
|
|
521
|
+
} | null);
|
|
522
|
+
};
|
|
523
|
+
export type WorkflowConversationDetail = {
|
|
524
|
+
id: string;
|
|
525
|
+
runId: string;
|
|
526
|
+
nodeKey: string;
|
|
527
|
+
chatId: string;
|
|
528
|
+
agentName: string;
|
|
529
|
+
role: 'work' | 'workspace' | 'personal';
|
|
530
|
+
ownerDazlUserId: string;
|
|
531
|
+
phaseVersion: number;
|
|
532
|
+
attempt: number;
|
|
533
|
+
draftRevision: number;
|
|
534
|
+
state: 'queued' | 'working' | 'waiting' | 'failed' | 'recovery-required' | 'completed' | 'superseded';
|
|
535
|
+
activeTurn: WorkflowTurnActiveRef;
|
|
536
|
+
canRead: boolean;
|
|
537
|
+
canPost: boolean;
|
|
538
|
+
canDecide: boolean;
|
|
539
|
+
canComplete: boolean;
|
|
540
|
+
messages: Array<WorkflowConversationMessage>;
|
|
541
|
+
hasMore: boolean;
|
|
542
|
+
oldestSequence: string | null;
|
|
543
|
+
draft: {
|
|
544
|
+
text: string;
|
|
545
|
+
files?: Array<string>;
|
|
546
|
+
changes?: Array<{
|
|
547
|
+
dirName: string;
|
|
548
|
+
from: string;
|
|
549
|
+
to: string;
|
|
550
|
+
commits: number;
|
|
551
|
+
files: Array<string>;
|
|
552
|
+
}>;
|
|
553
|
+
} | WorkflowConversationReviewDraft | null;
|
|
554
|
+
draftValid: boolean;
|
|
555
|
+
error: string | null;
|
|
556
|
+
};
|
|
557
|
+
export type WorkflowConversationMessage = {
|
|
558
|
+
id: string;
|
|
559
|
+
sequence: string;
|
|
560
|
+
role: 'user' | 'assistant';
|
|
561
|
+
actorDazlUserId: string | null;
|
|
562
|
+
text: string;
|
|
563
|
+
createdAt: string;
|
|
564
|
+
};
|
|
565
|
+
export type WorkflowConversationReviewDraft = {
|
|
566
|
+
decision: 'approve' | 'object';
|
|
567
|
+
suggestions: Array<{
|
|
568
|
+
target: string;
|
|
569
|
+
suggestion: string;
|
|
570
|
+
rationale?: string;
|
|
571
|
+
}>;
|
|
572
|
+
};
|
|
573
|
+
export type WorkflowConversationPostedMessage = {
|
|
574
|
+
message: WorkflowConversationMessage;
|
|
575
|
+
turnId: string;
|
|
576
|
+
turnAttempt: number;
|
|
577
|
+
};
|
|
578
|
+
export type WorkflowConversationMessageInput = {
|
|
579
|
+
requestId: string;
|
|
580
|
+
text: string;
|
|
581
|
+
token: WorkflowConversationClaim;
|
|
582
|
+
};
|
|
583
|
+
export type WorkflowConversationClaim = {
|
|
584
|
+
phaseVersion: number;
|
|
585
|
+
attempt: number;
|
|
586
|
+
};
|
|
587
|
+
export type WorkflowConversationOk = {
|
|
588
|
+
ok: true;
|
|
589
|
+
};
|
|
590
|
+
export type WorkflowConversationCompleteInput = {
|
|
591
|
+
token: WorkflowConversationDraftClaim;
|
|
592
|
+
};
|
|
593
|
+
export type WorkflowConversationDraftClaim = {
|
|
594
|
+
phaseVersion: number;
|
|
595
|
+
attempt: number;
|
|
596
|
+
draftRevision: number;
|
|
597
|
+
};
|
|
598
|
+
export type WorkflowConversationDecisionInput = {
|
|
599
|
+
token: WorkflowConversationDraftClaim;
|
|
600
|
+
decision: 'approve' | 'reject';
|
|
601
|
+
comment?: string;
|
|
602
|
+
suggestions: Array<{
|
|
603
|
+
target: string;
|
|
604
|
+
suggestion: string;
|
|
605
|
+
rationale?: string;
|
|
606
|
+
}>;
|
|
607
|
+
};
|
|
608
|
+
export type WorkflowConversationActionResult = {
|
|
609
|
+
applied: boolean;
|
|
610
|
+
};
|
|
611
|
+
export type WorkflowTurnActionInput = {
|
|
612
|
+
token: WorkflowTurnActionClaim;
|
|
613
|
+
};
|
|
614
|
+
export type WorkflowTurnActionClaim = {
|
|
615
|
+
phaseVersion: number;
|
|
616
|
+
attempt: number;
|
|
617
|
+
turnId: string;
|
|
618
|
+
turnAttempt: number;
|
|
619
|
+
};
|
|
620
|
+
export type WorkflowTurnOfferList = {
|
|
621
|
+
turns: Array<WorkflowTurnOffer>;
|
|
622
|
+
};
|
|
623
|
+
export type WorkflowTurnOffer = {
|
|
624
|
+
runId: string;
|
|
625
|
+
projectId: string;
|
|
626
|
+
conversationId: string;
|
|
627
|
+
nodeKey: string;
|
|
628
|
+
role: 'work' | 'workspace' | 'personal';
|
|
629
|
+
turnId: string;
|
|
630
|
+
turnAttempt: number;
|
|
631
|
+
};
|
|
632
|
+
export type WorkflowWorkerSessionResult = {
|
|
633
|
+
reclaimed: number;
|
|
634
|
+
};
|
|
635
|
+
export type WorkflowWorkerSession = {
|
|
636
|
+
workerId: string;
|
|
637
|
+
};
|
|
638
|
+
export type WorkflowTurnAcceptance = {
|
|
639
|
+
accepted: false;
|
|
640
|
+
} | {
|
|
641
|
+
accepted: true;
|
|
642
|
+
token: WorkflowTurnClaim;
|
|
643
|
+
payload: WorkflowTurnPayload;
|
|
644
|
+
input: WorkflowTurnInput;
|
|
645
|
+
leaseExpiresAt: string;
|
|
646
|
+
heartbeatMs: number;
|
|
647
|
+
};
|
|
648
|
+
export type WorkflowTurnClaim = {
|
|
649
|
+
phaseVersion: number;
|
|
650
|
+
attempt: number;
|
|
651
|
+
turnId: string;
|
|
652
|
+
turnAttempt: number;
|
|
653
|
+
workerId: string;
|
|
654
|
+
};
|
|
655
|
+
export type WorkflowTurnPayload = {
|
|
656
|
+
conversation: {
|
|
657
|
+
id: string;
|
|
658
|
+
runId: string;
|
|
659
|
+
projectId: string;
|
|
660
|
+
nodeKey: string;
|
|
661
|
+
chatId: string;
|
|
662
|
+
};
|
|
663
|
+
agent: {
|
|
664
|
+
schemaVersion?: '1';
|
|
665
|
+
meta: {
|
|
666
|
+
name: string;
|
|
667
|
+
description?: string;
|
|
668
|
+
};
|
|
669
|
+
systemPrompt: string;
|
|
670
|
+
harness: 'dazl' | 'claude' | 'codex' | 'grok' | 'opencode';
|
|
671
|
+
model?: string;
|
|
672
|
+
allowedMcpServers?: Array<string>;
|
|
673
|
+
rules?: Array<{
|
|
674
|
+
text: string;
|
|
675
|
+
owners?: Array<string>;
|
|
676
|
+
blocking?: boolean;
|
|
677
|
+
}>;
|
|
678
|
+
};
|
|
679
|
+
runInput: unknown;
|
|
680
|
+
upstream: Array<{
|
|
681
|
+
nodeKey: string;
|
|
682
|
+
title: string;
|
|
683
|
+
output: {
|
|
684
|
+
text: string;
|
|
685
|
+
files?: Array<string>;
|
|
686
|
+
changes?: Array<{
|
|
687
|
+
dirName: string;
|
|
688
|
+
from: string;
|
|
689
|
+
to: string;
|
|
690
|
+
commits: number;
|
|
691
|
+
files: Array<string>;
|
|
692
|
+
}>;
|
|
693
|
+
} | null;
|
|
694
|
+
}>;
|
|
695
|
+
history: Array<WorkflowConversationMessage>;
|
|
696
|
+
changeRequests: Array<WorkflowChangeRequest>;
|
|
697
|
+
harness: 'dazl' | 'claude' | 'codex' | 'grok' | 'opencode';
|
|
698
|
+
model?: string;
|
|
699
|
+
prompt?: string;
|
|
700
|
+
role: 'work' | 'workspace' | 'personal';
|
|
701
|
+
};
|
|
702
|
+
export type WorkflowChangeRequest = {
|
|
703
|
+
reviewerKey: string;
|
|
704
|
+
agentName: string;
|
|
705
|
+
comment?: string;
|
|
706
|
+
findings: Array<{
|
|
707
|
+
target: string;
|
|
708
|
+
suggestion: string;
|
|
709
|
+
rationale?: string;
|
|
710
|
+
}>;
|
|
711
|
+
};
|
|
712
|
+
export type WorkflowTurnInput = {
|
|
713
|
+
kind: 'initial';
|
|
714
|
+
} | {
|
|
715
|
+
kind: 'message';
|
|
716
|
+
text: string;
|
|
717
|
+
messageId: string;
|
|
718
|
+
};
|
|
719
|
+
export type WorkflowTurnAcceptInput = {
|
|
720
|
+
workerId: string;
|
|
721
|
+
};
|
|
722
|
+
export type WorkflowTurnResultInput = {
|
|
723
|
+
token: WorkflowTurnClaim;
|
|
724
|
+
result: WorkflowTurnResult;
|
|
725
|
+
};
|
|
726
|
+
export type WorkflowTurnResult = {
|
|
727
|
+
status: 'succeeded' | 'failed' | 'cancelled';
|
|
728
|
+
assistantText: string;
|
|
729
|
+
output?: {
|
|
730
|
+
text: string;
|
|
731
|
+
files?: Array<string>;
|
|
732
|
+
changes?: Array<{
|
|
733
|
+
dirName: string;
|
|
734
|
+
from: string;
|
|
735
|
+
to: string;
|
|
736
|
+
commits: number;
|
|
737
|
+
files: Array<string>;
|
|
738
|
+
}>;
|
|
739
|
+
};
|
|
740
|
+
review?: WorkflowConversationReviewDraft;
|
|
741
|
+
draftValid: boolean;
|
|
742
|
+
error?: string;
|
|
743
|
+
execution?: WorkflowExecutionMetadata;
|
|
744
|
+
observedChanges?: Array<{
|
|
745
|
+
dirName: string;
|
|
746
|
+
from: string;
|
|
747
|
+
to: string;
|
|
748
|
+
commits: number;
|
|
749
|
+
files: Array<string>;
|
|
750
|
+
}>;
|
|
751
|
+
};
|
|
752
|
+
export type WorkflowExecutionMetadata = {
|
|
753
|
+
harness: 'dazl' | 'claude' | 'codex' | 'grok' | 'opencode';
|
|
754
|
+
model?: string;
|
|
755
|
+
assistantMessageId?: string;
|
|
756
|
+
};
|
|
757
|
+
export type WorkflowTurnHeartbeat = {
|
|
758
|
+
ok: boolean;
|
|
759
|
+
cancelRequested: boolean;
|
|
760
|
+
leaseExpiresAt: string | null;
|
|
761
|
+
};
|
|
762
|
+
export type WorkflowTurnClaimInput = {
|
|
763
|
+
token: WorkflowTurnClaim;
|
|
764
|
+
};
|
|
765
|
+
export type WorkflowRun = {
|
|
766
|
+
id: string;
|
|
767
|
+
workspaceId: string;
|
|
768
|
+
projectId: string;
|
|
769
|
+
chatId: string;
|
|
770
|
+
startedByDazlUserId: string;
|
|
771
|
+
status: 'running' | 'paused' | 'completed' | 'failed' | 'cancelled';
|
|
772
|
+
harness: 'dazl' | 'claude' | 'codex' | 'grok' | 'opencode';
|
|
773
|
+
model: string | null;
|
|
774
|
+
input?: unknown;
|
|
775
|
+
document?: unknown;
|
|
776
|
+
agents: {
|
|
777
|
+
[key: string]: unknown;
|
|
778
|
+
};
|
|
779
|
+
triggerId: string;
|
|
780
|
+
source: 'working-tree' | 'definition';
|
|
781
|
+
sourcePath: string | null;
|
|
782
|
+
phaseVersions: {
|
|
783
|
+
[key: string]: number;
|
|
784
|
+
};
|
|
785
|
+
reviewCycles: {
|
|
786
|
+
[key: string]: number;
|
|
787
|
+
};
|
|
788
|
+
startedAt: string;
|
|
789
|
+
finishedAt: string | null;
|
|
790
|
+
};
|
|
791
|
+
export type StartWorkflowRunInput = {
|
|
792
|
+
chatId: string;
|
|
793
|
+
triggerId: string;
|
|
794
|
+
source: 'working-tree';
|
|
795
|
+
sourcePath?: string;
|
|
796
|
+
harness?: 'dazl' | 'claude' | 'codex' | 'grok' | 'opencode';
|
|
797
|
+
model?: string;
|
|
798
|
+
input: unknown;
|
|
799
|
+
document: unknown;
|
|
800
|
+
agents: {
|
|
801
|
+
[key: string]: unknown;
|
|
802
|
+
};
|
|
803
|
+
};
|
|
804
|
+
export type WorkflowDispatchPayload = {
|
|
805
|
+
runId: string;
|
|
806
|
+
chatId: string;
|
|
807
|
+
projectId: string;
|
|
808
|
+
nodeKey: string;
|
|
809
|
+
kind: 'work' | 'reviewer';
|
|
810
|
+
harness: 'dazl' | 'claude' | 'codex' | 'grok' | 'opencode';
|
|
811
|
+
model?: string;
|
|
812
|
+
token: WorkflowNodeToken;
|
|
813
|
+
title: string;
|
|
814
|
+
agentName: string;
|
|
815
|
+
agent: {
|
|
816
|
+
schemaVersion?: '1';
|
|
817
|
+
meta: {
|
|
818
|
+
name: string;
|
|
819
|
+
description?: string;
|
|
820
|
+
};
|
|
821
|
+
systemPrompt: string;
|
|
822
|
+
harness: 'dazl' | 'claude' | 'codex' | 'grok' | 'opencode';
|
|
823
|
+
model?: string;
|
|
824
|
+
allowedMcpServers?: Array<string>;
|
|
825
|
+
rules?: Array<{
|
|
826
|
+
text: string;
|
|
827
|
+
owners?: Array<string>;
|
|
828
|
+
blocking?: boolean;
|
|
829
|
+
}>;
|
|
830
|
+
};
|
|
831
|
+
prompt?: string;
|
|
832
|
+
input?: unknown;
|
|
833
|
+
upstream: Array<{
|
|
834
|
+
nodeKey: string;
|
|
835
|
+
title: string;
|
|
836
|
+
output: {
|
|
837
|
+
text: string;
|
|
838
|
+
files?: Array<string>;
|
|
839
|
+
changes?: Array<{
|
|
840
|
+
dirName: string;
|
|
841
|
+
from: string;
|
|
842
|
+
to: string;
|
|
843
|
+
commits: number;
|
|
844
|
+
files: Array<string>;
|
|
845
|
+
}>;
|
|
846
|
+
} | null;
|
|
847
|
+
}>;
|
|
848
|
+
reviewNodeId?: string;
|
|
849
|
+
onBehalfOf?: string;
|
|
850
|
+
};
|
|
851
|
+
export type WorkflowNodeToken = {
|
|
852
|
+
phaseVersion: number;
|
|
853
|
+
attempt: number;
|
|
854
|
+
};
|
|
855
|
+
export type WorkflowNodeRun = {
|
|
856
|
+
id: string;
|
|
857
|
+
runId: string;
|
|
858
|
+
nodeKey: string;
|
|
859
|
+
status: 'pending' | 'running' | 'awaiting-callback' | 'paused-for-human' | 'success' | 'error' | 'skipped';
|
|
860
|
+
phaseVersion: number;
|
|
861
|
+
attempt: number;
|
|
862
|
+
output?: unknown;
|
|
863
|
+
error: string | null;
|
|
864
|
+
awaitingDazlUserIds: Array<string>;
|
|
865
|
+
escalationReason: string | null;
|
|
866
|
+
startedAt: string | null;
|
|
867
|
+
finishedAt: string | null;
|
|
868
|
+
};
|
|
869
|
+
export type WorkflowRunEvent = {
|
|
870
|
+
id: string;
|
|
871
|
+
runId: string;
|
|
872
|
+
nodeKey: string | null;
|
|
873
|
+
type: 'status-change' | 'human-decision' | 'dispatch' | 'callback' | 'error' | 'harness-selected';
|
|
874
|
+
message: string;
|
|
875
|
+
actorDazlUserId: string | null;
|
|
876
|
+
data?: unknown;
|
|
877
|
+
at: string;
|
|
878
|
+
sequence: string;
|
|
879
|
+
};
|
|
880
|
+
export type WorkflowReviewDecision = {
|
|
881
|
+
id: string;
|
|
882
|
+
runId: string;
|
|
883
|
+
nodeRunId: string;
|
|
884
|
+
reviewerKey: string;
|
|
885
|
+
agentName: string;
|
|
886
|
+
onBehalfOf: string | null;
|
|
887
|
+
reviewerDazlUserId: string | null;
|
|
888
|
+
target: string;
|
|
889
|
+
suggestion: string;
|
|
890
|
+
rationale: string | null;
|
|
891
|
+
disposition: 'pending' | 'approved' | 'rejected';
|
|
892
|
+
decidedByDazlUserId: string | null;
|
|
893
|
+
decidedAt: string | null;
|
|
894
|
+
phase: string;
|
|
895
|
+
phaseVersion: number;
|
|
896
|
+
};
|
|
897
|
+
export type WorkflowRunGraph = {
|
|
898
|
+
nodes: Array<{
|
|
899
|
+
key: string;
|
|
900
|
+
kind: 'trigger' | 'work' | 'review' | 'agentTask' | 'humanGate' | 'script';
|
|
901
|
+
dependsOn: Array<string>;
|
|
902
|
+
dependsOnReviewsOf?: string;
|
|
903
|
+
phase?: string;
|
|
904
|
+
agent?: string;
|
|
905
|
+
}>;
|
|
906
|
+
phases: Array<{
|
|
907
|
+
key: string;
|
|
908
|
+
gateKey: string;
|
|
909
|
+
opensAfter: Array<string>;
|
|
910
|
+
reopens: Array<string>;
|
|
911
|
+
reviewers: Array<{
|
|
912
|
+
key: string;
|
|
913
|
+
agent: string;
|
|
914
|
+
prompt?: string;
|
|
915
|
+
onBehalfOf?: string;
|
|
916
|
+
}>;
|
|
917
|
+
}>;
|
|
918
|
+
};
|
|
919
|
+
export type AcceptedWorkflowNode = {
|
|
920
|
+
accepted: false;
|
|
921
|
+
} | {
|
|
922
|
+
accepted: true;
|
|
923
|
+
payload: WorkflowDispatchPayload;
|
|
924
|
+
};
|
|
925
|
+
export type AcceptWorkflowNodeInput = {
|
|
926
|
+
token: WorkflowNodeToken;
|
|
927
|
+
};
|
|
928
|
+
export type SetWorkflowHarnessInput = {
|
|
929
|
+
harness: 'dazl' | 'claude' | 'codex' | 'grok' | 'opencode';
|
|
930
|
+
model?: string | null;
|
|
931
|
+
};
|
|
932
|
+
export type WorkflowNodeResultInput = {
|
|
933
|
+
token: WorkflowNodeToken;
|
|
934
|
+
output?: {
|
|
935
|
+
text: string;
|
|
936
|
+
files?: Array<string>;
|
|
937
|
+
changes?: Array<{
|
|
938
|
+
dirName: string;
|
|
939
|
+
from: string;
|
|
940
|
+
to: string;
|
|
941
|
+
commits: number;
|
|
942
|
+
files: Array<string>;
|
|
943
|
+
}>;
|
|
944
|
+
};
|
|
945
|
+
error?: string;
|
|
946
|
+
execution?: WorkflowExecutionMetadata;
|
|
947
|
+
};
|
|
948
|
+
export type WorkflowReviewReportInput = {
|
|
949
|
+
token: WorkflowNodeToken;
|
|
950
|
+
decision: 'approve' | 'object';
|
|
951
|
+
execution?: {
|
|
952
|
+
harness: 'dazl';
|
|
953
|
+
model?: string;
|
|
954
|
+
assistantMessageId?: string;
|
|
955
|
+
};
|
|
956
|
+
suggestions: Array<{
|
|
957
|
+
target: string;
|
|
958
|
+
suggestion: string;
|
|
959
|
+
rationale?: string;
|
|
960
|
+
}>;
|
|
961
|
+
};
|
|
962
|
+
export type WorkflowHumanDecisionInput = {
|
|
963
|
+
token: WorkflowNodeToken;
|
|
964
|
+
decision: 'approve' | 'reject';
|
|
965
|
+
comment?: string;
|
|
966
|
+
};
|
|
489
967
|
export type FeatureToggle = {
|
|
490
968
|
name: string;
|
|
491
969
|
scope: 'RemoteAndEditor' | 'SiteAndEditor';
|
|
@@ -2225,7 +2703,7 @@ export type GetPullRequestsStatusData = {
|
|
|
2225
2703
|
number: number;
|
|
2226
2704
|
}>;
|
|
2227
2705
|
/**
|
|
2228
|
-
* Falls back to this user's own GitHub connection when the project's installation cannot mint a token
|
|
2706
|
+
* 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
|
|
2229
2707
|
*/
|
|
2230
2708
|
actingUserDazlId?: string;
|
|
2231
2709
|
};
|
|
@@ -3421,6 +3899,10 @@ export type GetProjectInitDataResponses = {
|
|
|
3421
3899
|
*/
|
|
3422
3900
|
isWorkspaceRoot?: boolean;
|
|
3423
3901
|
}>;
|
|
3902
|
+
/**
|
|
3903
|
+
* 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
|
|
3904
|
+
*/
|
|
3905
|
+
startEmpty?: boolean;
|
|
3424
3906
|
};
|
|
3425
3907
|
};
|
|
3426
3908
|
export type GetProjectInitDataResponse = GetProjectInitDataResponses[keyof GetProjectInitDataResponses];
|
|
@@ -5780,38 +6262,17 @@ export type AppendMessagesResponses = {
|
|
|
5780
6262
|
};
|
|
5781
6263
|
};
|
|
5782
6264
|
export type AppendMessagesResponse = AppendMessagesResponses[keyof AppendMessagesResponses];
|
|
5783
|
-
export type
|
|
5784
|
-
body
|
|
5785
|
-
|
|
5786
|
-
|
|
5787
|
-
*/
|
|
5788
|
-
path: string;
|
|
5789
|
-
/**
|
|
5790
|
-
* Project identifier (optional for account-level uploads)
|
|
5791
|
-
*/
|
|
5792
|
-
projectId?: string;
|
|
5793
|
-
/**
|
|
5794
|
-
* MIME type of the file to upload
|
|
5795
|
-
*/
|
|
5796
|
-
mimeType?: string;
|
|
5797
|
-
/**
|
|
5798
|
-
* Access control level for the file
|
|
5799
|
-
*/
|
|
5800
|
-
acl?: 'public' | 'private';
|
|
5801
|
-
/**
|
|
5802
|
-
* Callback URL to notify after upload completion
|
|
5803
|
-
*/
|
|
5804
|
-
callback?: string;
|
|
5805
|
-
/**
|
|
5806
|
-
* Upload protocol to use
|
|
5807
|
-
*/
|
|
5808
|
-
protocol?: 'tus';
|
|
6265
|
+
export type ListSessionNotesData = {
|
|
6266
|
+
body?: never;
|
|
6267
|
+
path: {
|
|
6268
|
+
projectId: string;
|
|
5809
6269
|
};
|
|
5810
|
-
|
|
5811
|
-
|
|
5812
|
-
|
|
6270
|
+
query: {
|
|
6271
|
+
ownerDazlId: string;
|
|
6272
|
+
};
|
|
6273
|
+
url: '/session-note/project/{projectId}';
|
|
5813
6274
|
};
|
|
5814
|
-
export type
|
|
6275
|
+
export type ListSessionNotesErrors = {
|
|
5815
6276
|
/**
|
|
5816
6277
|
* Bad request - Invalid parameters or malformed JSON
|
|
5817
6278
|
*/
|
|
@@ -5824,17 +6285,13 @@ export type GetUploadConfigurationErrors = {
|
|
|
5824
6285
|
*/
|
|
5825
6286
|
401: ErrorResponse;
|
|
5826
6287
|
/**
|
|
5827
|
-
* Forbidden
|
|
6288
|
+
* Forbidden
|
|
5828
6289
|
*/
|
|
5829
|
-
403:
|
|
5830
|
-
message: string;
|
|
5831
|
-
};
|
|
6290
|
+
403: ErrorResponse;
|
|
5832
6291
|
/**
|
|
5833
|
-
* Not
|
|
6292
|
+
* Not Found
|
|
5834
6293
|
*/
|
|
5835
|
-
404:
|
|
5836
|
-
message: string;
|
|
5837
|
-
};
|
|
6294
|
+
404: ErrorResponse;
|
|
5838
6295
|
/**
|
|
5839
6296
|
* Conflict
|
|
5840
6297
|
*/
|
|
@@ -5848,38 +6305,38 @@ export type GetUploadConfigurationErrors = {
|
|
|
5848
6305
|
*/
|
|
5849
6306
|
503: ErrorResponse;
|
|
5850
6307
|
};
|
|
5851
|
-
export type
|
|
5852
|
-
export type
|
|
6308
|
+
export type ListSessionNotesError = ListSessionNotesErrors[keyof ListSessionNotesErrors];
|
|
6309
|
+
export type ListSessionNotesResponses = {
|
|
5853
6310
|
/**
|
|
5854
|
-
*
|
|
6311
|
+
* Lists the session's notes (its shared summary), oldest first.
|
|
5855
6312
|
*/
|
|
5856
|
-
200:
|
|
6313
|
+
200: {
|
|
6314
|
+
notes: Array<{
|
|
6315
|
+
id: string;
|
|
6316
|
+
projectId: string;
|
|
6317
|
+
content: string;
|
|
6318
|
+
createdAt: string;
|
|
6319
|
+
updatedAt: string;
|
|
6320
|
+
createdByChatId: string | null;
|
|
6321
|
+
updatedByChatId: string | null;
|
|
6322
|
+
updatedByUserId: string;
|
|
6323
|
+
}>;
|
|
6324
|
+
};
|
|
5857
6325
|
};
|
|
5858
|
-
export type
|
|
5859
|
-
export type
|
|
5860
|
-
body
|
|
5861
|
-
|
|
5862
|
-
|
|
5863
|
-
|
|
5864
|
-
|
|
5865
|
-
|
|
6326
|
+
export type ListSessionNotesResponse = ListSessionNotesResponses[keyof ListSessionNotesResponses];
|
|
6327
|
+
export type CreateSessionNoteData = {
|
|
6328
|
+
body: {
|
|
6329
|
+
ownerDazlId: string;
|
|
6330
|
+
content: string;
|
|
6331
|
+
chatId?: string;
|
|
6332
|
+
};
|
|
6333
|
+
path: {
|
|
5866
6334
|
projectId: string;
|
|
5867
|
-
/**
|
|
5868
|
-
* Filter by MIME type prefix (e.g., 'image/' for all images)
|
|
5869
|
-
*/
|
|
5870
|
-
mimeType?: string;
|
|
5871
|
-
/**
|
|
5872
|
-
* Cursor token for fetching the next page of results
|
|
5873
|
-
*/
|
|
5874
|
-
cursor?: string;
|
|
5875
|
-
/**
|
|
5876
|
-
* Number of items per page
|
|
5877
|
-
*/
|
|
5878
|
-
pageSize?: number;
|
|
5879
6335
|
};
|
|
5880
|
-
|
|
6336
|
+
query?: never;
|
|
6337
|
+
url: '/session-note/project/{projectId}';
|
|
5881
6338
|
};
|
|
5882
|
-
export type
|
|
6339
|
+
export type CreateSessionNoteErrors = {
|
|
5883
6340
|
/**
|
|
5884
6341
|
* Bad request - Invalid parameters or malformed JSON
|
|
5885
6342
|
*/
|
|
@@ -5892,17 +6349,13 @@ export type ListFilesErrors = {
|
|
|
5892
6349
|
*/
|
|
5893
6350
|
401: ErrorResponse;
|
|
5894
6351
|
/**
|
|
5895
|
-
* Forbidden
|
|
6352
|
+
* Forbidden
|
|
5896
6353
|
*/
|
|
5897
|
-
403:
|
|
5898
|
-
message: string;
|
|
5899
|
-
};
|
|
6354
|
+
403: ErrorResponse;
|
|
5900
6355
|
/**
|
|
5901
|
-
* Not
|
|
6356
|
+
* Not Found
|
|
5902
6357
|
*/
|
|
5903
|
-
404:
|
|
5904
|
-
message: string;
|
|
5905
|
-
};
|
|
6358
|
+
404: ErrorResponse;
|
|
5906
6359
|
/**
|
|
5907
6360
|
* Conflict
|
|
5908
6361
|
*/
|
|
@@ -5916,52 +6369,37 @@ export type ListFilesErrors = {
|
|
|
5916
6369
|
*/
|
|
5917
6370
|
503: ErrorResponse;
|
|
5918
6371
|
};
|
|
5919
|
-
export type
|
|
5920
|
-
export type
|
|
6372
|
+
export type CreateSessionNoteError = CreateSessionNoteErrors[keyof CreateSessionNoteErrors];
|
|
6373
|
+
export type CreateSessionNoteResponses = {
|
|
5921
6374
|
/**
|
|
5922
|
-
*
|
|
6375
|
+
* Adds a note to the session summary.
|
|
5923
6376
|
*/
|
|
5924
|
-
200:
|
|
6377
|
+
200: {
|
|
6378
|
+
note: {
|
|
6379
|
+
id: string;
|
|
6380
|
+
projectId: string;
|
|
6381
|
+
content: string;
|
|
6382
|
+
createdAt: string;
|
|
6383
|
+
updatedAt: string;
|
|
6384
|
+
createdByChatId: string | null;
|
|
6385
|
+
updatedByChatId: string | null;
|
|
6386
|
+
updatedByUserId: string;
|
|
6387
|
+
};
|
|
6388
|
+
};
|
|
5925
6389
|
};
|
|
5926
|
-
export type
|
|
5927
|
-
export type
|
|
6390
|
+
export type CreateSessionNoteResponse = CreateSessionNoteResponses[keyof CreateSessionNoteResponses];
|
|
6391
|
+
export type DeleteSessionNoteData = {
|
|
5928
6392
|
body: {
|
|
5929
|
-
|
|
5930
|
-
|
|
5931
|
-
|
|
5932
|
-
|
|
5933
|
-
|
|
5934
|
-
* MIME type of the media file
|
|
5935
|
-
*/
|
|
5936
|
-
mimeType: string;
|
|
5937
|
-
/**
|
|
5938
|
-
* URL where the media file is accessible
|
|
5939
|
-
*/
|
|
5940
|
-
url: string;
|
|
5941
|
-
/**
|
|
5942
|
-
* User's Dazl ID (required for internal API calls)
|
|
5943
|
-
*/
|
|
5944
|
-
dazlId?: string;
|
|
5945
|
-
/**
|
|
5946
|
-
* Associated project identifier
|
|
5947
|
-
*/
|
|
5948
|
-
projectId?: string | null;
|
|
5949
|
-
/**
|
|
5950
|
-
* Git commit hash associated with this media
|
|
5951
|
-
*/
|
|
5952
|
-
gitCommit?: string | null;
|
|
5953
|
-
/**
|
|
5954
|
-
* Additional metadata as key-value pairs
|
|
5955
|
-
*/
|
|
5956
|
-
descriptor?: {
|
|
5957
|
-
[key: string]: unknown;
|
|
5958
|
-
} | null;
|
|
6393
|
+
ownerDazlId: string;
|
|
6394
|
+
};
|
|
6395
|
+
path: {
|
|
6396
|
+
projectId: string;
|
|
6397
|
+
noteId: string;
|
|
5959
6398
|
};
|
|
5960
|
-
path?: never;
|
|
5961
6399
|
query?: never;
|
|
5962
|
-
url: '/
|
|
6400
|
+
url: '/session-note/project/{projectId}/{noteId}';
|
|
5963
6401
|
};
|
|
5964
|
-
export type
|
|
6402
|
+
export type DeleteSessionNoteErrors = {
|
|
5965
6403
|
/**
|
|
5966
6404
|
* Bad request - Invalid parameters or malformed JSON
|
|
5967
6405
|
*/
|
|
@@ -5974,17 +6412,69 @@ export type CreateMediaErrors = {
|
|
|
5974
6412
|
*/
|
|
5975
6413
|
401: ErrorResponse;
|
|
5976
6414
|
/**
|
|
5977
|
-
* Forbidden
|
|
6415
|
+
* Forbidden
|
|
5978
6416
|
*/
|
|
5979
|
-
403:
|
|
5980
|
-
|
|
6417
|
+
403: ErrorResponse;
|
|
6418
|
+
/**
|
|
6419
|
+
* Not Found
|
|
6420
|
+
*/
|
|
6421
|
+
404: ErrorResponse;
|
|
6422
|
+
/**
|
|
6423
|
+
* Conflict
|
|
6424
|
+
*/
|
|
6425
|
+
409: ErrorResponse;
|
|
6426
|
+
/**
|
|
6427
|
+
* Internal server error
|
|
6428
|
+
*/
|
|
6429
|
+
500: ErrorResponse;
|
|
6430
|
+
/**
|
|
6431
|
+
* Service Unavailable
|
|
6432
|
+
*/
|
|
6433
|
+
503: ErrorResponse;
|
|
6434
|
+
};
|
|
6435
|
+
export type DeleteSessionNoteError = DeleteSessionNoteErrors[keyof DeleteSessionNoteErrors];
|
|
6436
|
+
export type DeleteSessionNoteResponses = {
|
|
6437
|
+
/**
|
|
6438
|
+
* Removes a note from the session summary.
|
|
6439
|
+
*/
|
|
6440
|
+
200: {
|
|
6441
|
+
deleted: true;
|
|
6442
|
+
};
|
|
6443
|
+
};
|
|
6444
|
+
export type DeleteSessionNoteResponse = DeleteSessionNoteResponses[keyof DeleteSessionNoteResponses];
|
|
6445
|
+
export type UpdateSessionNoteData = {
|
|
6446
|
+
body: {
|
|
6447
|
+
ownerDazlId: string;
|
|
6448
|
+
content: string;
|
|
6449
|
+
chatId?: string;
|
|
6450
|
+
};
|
|
6451
|
+
path: {
|
|
6452
|
+
projectId: string;
|
|
6453
|
+
noteId: string;
|
|
5981
6454
|
};
|
|
6455
|
+
query?: never;
|
|
6456
|
+
url: '/session-note/project/{projectId}/{noteId}';
|
|
6457
|
+
};
|
|
6458
|
+
export type UpdateSessionNoteErrors = {
|
|
5982
6459
|
/**
|
|
5983
|
-
*
|
|
6460
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
5984
6461
|
*/
|
|
5985
|
-
|
|
6462
|
+
400: {
|
|
5986
6463
|
message: string;
|
|
6464
|
+
issues?: string;
|
|
5987
6465
|
};
|
|
6466
|
+
/**
|
|
6467
|
+
* Unauthorized
|
|
6468
|
+
*/
|
|
6469
|
+
401: ErrorResponse;
|
|
6470
|
+
/**
|
|
6471
|
+
* Forbidden
|
|
6472
|
+
*/
|
|
6473
|
+
403: ErrorResponse;
|
|
6474
|
+
/**
|
|
6475
|
+
* Not Found
|
|
6476
|
+
*/
|
|
6477
|
+
404: ErrorResponse;
|
|
5988
6478
|
/**
|
|
5989
6479
|
* Conflict
|
|
5990
6480
|
*/
|
|
@@ -5998,42 +6488,57 @@ export type CreateMediaErrors = {
|
|
|
5998
6488
|
*/
|
|
5999
6489
|
503: ErrorResponse;
|
|
6000
6490
|
};
|
|
6001
|
-
export type
|
|
6002
|
-
export type
|
|
6491
|
+
export type UpdateSessionNoteError = UpdateSessionNoteErrors[keyof UpdateSessionNoteErrors];
|
|
6492
|
+
export type UpdateSessionNoteResponses = {
|
|
6003
6493
|
/**
|
|
6004
|
-
*
|
|
6494
|
+
* Replaces the content of a session note.
|
|
6005
6495
|
*/
|
|
6006
|
-
200:
|
|
6496
|
+
200: {
|
|
6497
|
+
note: {
|
|
6498
|
+
id: string;
|
|
6499
|
+
projectId: string;
|
|
6500
|
+
content: string;
|
|
6501
|
+
createdAt: string;
|
|
6502
|
+
updatedAt: string;
|
|
6503
|
+
createdByChatId: string | null;
|
|
6504
|
+
updatedByChatId: string | null;
|
|
6505
|
+
updatedByUserId: string;
|
|
6506
|
+
};
|
|
6507
|
+
};
|
|
6007
6508
|
};
|
|
6008
|
-
export type
|
|
6509
|
+
export type UpdateSessionNoteResponse = UpdateSessionNoteResponses[keyof UpdateSessionNoteResponses];
|
|
6510
|
+
export type GetUploadConfigurationData = {
|
|
6009
6511
|
body: {
|
|
6010
6512
|
/**
|
|
6011
|
-
*
|
|
6513
|
+
* File path within the project
|
|
6012
6514
|
*/
|
|
6013
|
-
|
|
6515
|
+
path: string;
|
|
6014
6516
|
/**
|
|
6015
|
-
*
|
|
6517
|
+
* Project identifier (optional for account-level uploads)
|
|
6016
6518
|
*/
|
|
6017
|
-
|
|
6018
|
-
|
|
6019
|
-
|
|
6020
|
-
|
|
6021
|
-
|
|
6022
|
-
|
|
6023
|
-
|
|
6024
|
-
|
|
6025
|
-
|
|
6026
|
-
|
|
6027
|
-
|
|
6028
|
-
|
|
6029
|
-
|
|
6030
|
-
|
|
6519
|
+
projectId?: string;
|
|
6520
|
+
/**
|
|
6521
|
+
* MIME type of the file to upload
|
|
6522
|
+
*/
|
|
6523
|
+
mimeType?: string;
|
|
6524
|
+
/**
|
|
6525
|
+
* Access control level for the file
|
|
6526
|
+
*/
|
|
6527
|
+
acl?: 'public' | 'private';
|
|
6528
|
+
/**
|
|
6529
|
+
* Callback URL to notify after upload completion
|
|
6530
|
+
*/
|
|
6531
|
+
callback?: string;
|
|
6532
|
+
/**
|
|
6533
|
+
* Upload protocol to use
|
|
6534
|
+
*/
|
|
6535
|
+
protocol?: 'tus';
|
|
6031
6536
|
};
|
|
6032
6537
|
path?: never;
|
|
6033
6538
|
query?: never;
|
|
6034
|
-
url: '/media/
|
|
6539
|
+
url: '/media/upload-configuration';
|
|
6035
6540
|
};
|
|
6036
|
-
export type
|
|
6541
|
+
export type GetUploadConfigurationErrors = {
|
|
6037
6542
|
/**
|
|
6038
6543
|
* Bad request - Invalid parameters or malformed JSON
|
|
6039
6544
|
*/
|
|
@@ -6070,69 +6575,120 @@ export type SaveMediaErrors = {
|
|
|
6070
6575
|
*/
|
|
6071
6576
|
503: ErrorResponse;
|
|
6072
6577
|
};
|
|
6073
|
-
export type
|
|
6074
|
-
export type
|
|
6578
|
+
export type GetUploadConfigurationError = GetUploadConfigurationErrors[keyof GetUploadConfigurationErrors];
|
|
6579
|
+
export type GetUploadConfigurationResponses = {
|
|
6075
6580
|
/**
|
|
6076
|
-
*
|
|
6581
|
+
* Returns presigned upload URL and configuration
|
|
6077
6582
|
*/
|
|
6078
|
-
200:
|
|
6583
|
+
200: UploadConfiguration;
|
|
6079
6584
|
};
|
|
6080
|
-
export type
|
|
6081
|
-
|
|
6082
|
-
|
|
6083
|
-
|
|
6084
|
-
|
|
6085
|
-
url: string;
|
|
6585
|
+
export type GetUploadConfigurationResponse = GetUploadConfigurationResponses[keyof GetUploadConfigurationResponses];
|
|
6586
|
+
export type ListFilesData = {
|
|
6587
|
+
body?: never;
|
|
6588
|
+
path?: never;
|
|
6589
|
+
query: {
|
|
6086
6590
|
/**
|
|
6087
|
-
*
|
|
6591
|
+
* Project identifier
|
|
6088
6592
|
*/
|
|
6089
|
-
|
|
6593
|
+
projectId: string;
|
|
6090
6594
|
/**
|
|
6091
|
-
*
|
|
6595
|
+
* Filter by MIME type prefix (e.g., 'image/' for all images)
|
|
6092
6596
|
*/
|
|
6093
|
-
|
|
6597
|
+
mimeType?: string;
|
|
6094
6598
|
/**
|
|
6095
|
-
*
|
|
6599
|
+
* Cursor token for fetching the next page of results
|
|
6096
6600
|
*/
|
|
6097
|
-
|
|
6601
|
+
cursor?: string;
|
|
6098
6602
|
/**
|
|
6099
|
-
*
|
|
6603
|
+
* Number of items per page
|
|
6100
6604
|
*/
|
|
6101
|
-
|
|
6605
|
+
pageSize?: number;
|
|
6606
|
+
};
|
|
6607
|
+
url: '/media/list';
|
|
6608
|
+
};
|
|
6609
|
+
export type ListFilesErrors = {
|
|
6610
|
+
/**
|
|
6611
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
6612
|
+
*/
|
|
6613
|
+
400: {
|
|
6614
|
+
message: string;
|
|
6615
|
+
issues?: string;
|
|
6616
|
+
};
|
|
6617
|
+
/**
|
|
6618
|
+
* Unauthorized
|
|
6619
|
+
*/
|
|
6620
|
+
401: ErrorResponse;
|
|
6621
|
+
/**
|
|
6622
|
+
* Forbidden - Permission denied
|
|
6623
|
+
*/
|
|
6624
|
+
403: {
|
|
6625
|
+
message: string;
|
|
6626
|
+
};
|
|
6627
|
+
/**
|
|
6628
|
+
* Not found
|
|
6629
|
+
*/
|
|
6630
|
+
404: {
|
|
6631
|
+
message: string;
|
|
6632
|
+
};
|
|
6633
|
+
/**
|
|
6634
|
+
* Conflict
|
|
6635
|
+
*/
|
|
6636
|
+
409: ErrorResponse;
|
|
6637
|
+
/**
|
|
6638
|
+
* Internal server error
|
|
6639
|
+
*/
|
|
6640
|
+
500: ErrorResponse;
|
|
6641
|
+
/**
|
|
6642
|
+
* Service Unavailable
|
|
6643
|
+
*/
|
|
6644
|
+
503: ErrorResponse;
|
|
6645
|
+
};
|
|
6646
|
+
export type ListFilesError = ListFilesErrors[keyof ListFilesErrors];
|
|
6647
|
+
export type ListFilesResponses = {
|
|
6648
|
+
/**
|
|
6649
|
+
* Returns paginated list of files in the project
|
|
6650
|
+
*/
|
|
6651
|
+
200: MediaFileList;
|
|
6652
|
+
};
|
|
6653
|
+
export type ListFilesResponse = ListFilesResponses[keyof ListFilesResponses];
|
|
6654
|
+
export type CreateMediaData = {
|
|
6655
|
+
body: {
|
|
6102
6656
|
/**
|
|
6103
|
-
*
|
|
6657
|
+
* Unique identifier for the media file
|
|
6104
6658
|
*/
|
|
6105
|
-
|
|
6659
|
+
id: string;
|
|
6106
6660
|
/**
|
|
6107
|
-
*
|
|
6661
|
+
* MIME type of the media file
|
|
6108
6662
|
*/
|
|
6109
|
-
|
|
6663
|
+
mimeType: string;
|
|
6110
6664
|
/**
|
|
6111
|
-
*
|
|
6665
|
+
* URL where the media file is accessible
|
|
6112
6666
|
*/
|
|
6113
|
-
|
|
6667
|
+
url: string;
|
|
6114
6668
|
/**
|
|
6115
6669
|
* User's Dazl ID (required for internal API calls)
|
|
6116
6670
|
*/
|
|
6117
6671
|
dazlId?: string;
|
|
6118
6672
|
/**
|
|
6119
|
-
*
|
|
6673
|
+
* Associated project identifier
|
|
6120
6674
|
*/
|
|
6121
|
-
|
|
6675
|
+
projectId?: string | null;
|
|
6122
6676
|
/**
|
|
6123
|
-
*
|
|
6677
|
+
* Git commit hash associated with this media
|
|
6124
6678
|
*/
|
|
6125
|
-
|
|
6679
|
+
gitCommit?: string | null;
|
|
6126
6680
|
/**
|
|
6127
|
-
*
|
|
6681
|
+
* Additional metadata as key-value pairs
|
|
6128
6682
|
*/
|
|
6129
|
-
|
|
6683
|
+
descriptor?: {
|
|
6684
|
+
[key: string]: unknown;
|
|
6685
|
+
} | null;
|
|
6130
6686
|
};
|
|
6131
6687
|
path?: never;
|
|
6132
6688
|
query?: never;
|
|
6133
|
-
url: '/
|
|
6689
|
+
url: '/media';
|
|
6134
6690
|
};
|
|
6135
|
-
export type
|
|
6691
|
+
export type CreateMediaErrors = {
|
|
6136
6692
|
/**
|
|
6137
6693
|
* Bad request - Invalid parameters or malformed JSON
|
|
6138
6694
|
*/
|
|
@@ -6169,22 +6725,193 @@ export type TakeScreenshotErrors = {
|
|
|
6169
6725
|
*/
|
|
6170
6726
|
503: ErrorResponse;
|
|
6171
6727
|
};
|
|
6172
|
-
export type
|
|
6173
|
-
export type
|
|
6728
|
+
export type CreateMediaError = CreateMediaErrors[keyof CreateMediaErrors];
|
|
6729
|
+
export type CreateMediaResponses = {
|
|
6174
6730
|
/**
|
|
6175
|
-
*
|
|
6731
|
+
* Media record created successfully
|
|
6176
6732
|
*/
|
|
6177
|
-
200:
|
|
6178
|
-
|
|
6179
|
-
|
|
6180
|
-
|
|
6181
|
-
success: boolean;
|
|
6733
|
+
200: unknown;
|
|
6734
|
+
};
|
|
6735
|
+
export type SaveMediaData = {
|
|
6736
|
+
body: {
|
|
6182
6737
|
/**
|
|
6183
|
-
*
|
|
6738
|
+
* Media record identifier
|
|
6184
6739
|
*/
|
|
6185
|
-
|
|
6740
|
+
id: string;
|
|
6186
6741
|
/**
|
|
6187
|
-
*
|
|
6742
|
+
* AI-generated metadata from vision processing
|
|
6743
|
+
*/
|
|
6744
|
+
metadata: {
|
|
6745
|
+
title: string;
|
|
6746
|
+
caption: string;
|
|
6747
|
+
labels: Array<string>;
|
|
6748
|
+
tags: Array<string>;
|
|
6749
|
+
objects: Array<{
|
|
6750
|
+
name: string;
|
|
6751
|
+
confidence: number;
|
|
6752
|
+
}>;
|
|
6753
|
+
scenes: Array<string>;
|
|
6754
|
+
colors: Array<string>;
|
|
6755
|
+
text: string | null;
|
|
6756
|
+
description: string;
|
|
6757
|
+
};
|
|
6758
|
+
};
|
|
6759
|
+
path?: never;
|
|
6760
|
+
query?: never;
|
|
6761
|
+
url: '/media/save';
|
|
6762
|
+
};
|
|
6763
|
+
export type SaveMediaErrors = {
|
|
6764
|
+
/**
|
|
6765
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
6766
|
+
*/
|
|
6767
|
+
400: {
|
|
6768
|
+
message: string;
|
|
6769
|
+
issues?: string;
|
|
6770
|
+
};
|
|
6771
|
+
/**
|
|
6772
|
+
* Unauthorized
|
|
6773
|
+
*/
|
|
6774
|
+
401: ErrorResponse;
|
|
6775
|
+
/**
|
|
6776
|
+
* Forbidden - Permission denied
|
|
6777
|
+
*/
|
|
6778
|
+
403: {
|
|
6779
|
+
message: string;
|
|
6780
|
+
};
|
|
6781
|
+
/**
|
|
6782
|
+
* Not found
|
|
6783
|
+
*/
|
|
6784
|
+
404: {
|
|
6785
|
+
message: string;
|
|
6786
|
+
};
|
|
6787
|
+
/**
|
|
6788
|
+
* Conflict
|
|
6789
|
+
*/
|
|
6790
|
+
409: ErrorResponse;
|
|
6791
|
+
/**
|
|
6792
|
+
* Internal server error
|
|
6793
|
+
*/
|
|
6794
|
+
500: ErrorResponse;
|
|
6795
|
+
/**
|
|
6796
|
+
* Service Unavailable
|
|
6797
|
+
*/
|
|
6798
|
+
503: ErrorResponse;
|
|
6799
|
+
};
|
|
6800
|
+
export type SaveMediaError = SaveMediaErrors[keyof SaveMediaErrors];
|
|
6801
|
+
export type SaveMediaResponses = {
|
|
6802
|
+
/**
|
|
6803
|
+
* Media metadata saved successfully
|
|
6804
|
+
*/
|
|
6805
|
+
200: unknown;
|
|
6806
|
+
};
|
|
6807
|
+
export type TakeScreenshotData = {
|
|
6808
|
+
body: {
|
|
6809
|
+
/**
|
|
6810
|
+
* URL of the page to capture
|
|
6811
|
+
*/
|
|
6812
|
+
url: string;
|
|
6813
|
+
/**
|
|
6814
|
+
* Viewport width in pixels
|
|
6815
|
+
*/
|
|
6816
|
+
width?: number;
|
|
6817
|
+
/**
|
|
6818
|
+
* Viewport height in pixels
|
|
6819
|
+
*/
|
|
6820
|
+
height?: number;
|
|
6821
|
+
/**
|
|
6822
|
+
* Capture the full scrollable page
|
|
6823
|
+
*/
|
|
6824
|
+
fullPage?: boolean;
|
|
6825
|
+
/**
|
|
6826
|
+
* Screenshot image format
|
|
6827
|
+
*/
|
|
6828
|
+
imageType?: 'png' | 'jpeg';
|
|
6829
|
+
/**
|
|
6830
|
+
* Project identifier
|
|
6831
|
+
*/
|
|
6832
|
+
projectId?: string;
|
|
6833
|
+
/**
|
|
6834
|
+
* Custom storage path for the screenshot
|
|
6835
|
+
*/
|
|
6836
|
+
storagePath?: string;
|
|
6837
|
+
/**
|
|
6838
|
+
* Git commit hash to associate with the screenshot
|
|
6839
|
+
*/
|
|
6840
|
+
commitHash?: string;
|
|
6841
|
+
/**
|
|
6842
|
+
* User's Dazl ID (required for internal API calls)
|
|
6843
|
+
*/
|
|
6844
|
+
dazlId?: string;
|
|
6845
|
+
/**
|
|
6846
|
+
* Request timeout in milliseconds (1000-360000). Defaults to server configured value.
|
|
6847
|
+
*/
|
|
6848
|
+
timeout?: number;
|
|
6849
|
+
/**
|
|
6850
|
+
* Number of retry attempts on failure (0-10). Defaults to server configured value.
|
|
6851
|
+
*/
|
|
6852
|
+
retries?: number;
|
|
6853
|
+
/**
|
|
6854
|
+
* Minimum delay in milliseconds before the first retry (0-30000). Defaults to server configured value.
|
|
6855
|
+
*/
|
|
6856
|
+
retryDelay?: number;
|
|
6857
|
+
};
|
|
6858
|
+
path?: never;
|
|
6859
|
+
query?: never;
|
|
6860
|
+
url: '/capture/screenshot';
|
|
6861
|
+
};
|
|
6862
|
+
export type TakeScreenshotErrors = {
|
|
6863
|
+
/**
|
|
6864
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
6865
|
+
*/
|
|
6866
|
+
400: {
|
|
6867
|
+
message: string;
|
|
6868
|
+
issues?: string;
|
|
6869
|
+
};
|
|
6870
|
+
/**
|
|
6871
|
+
* Unauthorized
|
|
6872
|
+
*/
|
|
6873
|
+
401: ErrorResponse;
|
|
6874
|
+
/**
|
|
6875
|
+
* Forbidden - Permission denied
|
|
6876
|
+
*/
|
|
6877
|
+
403: {
|
|
6878
|
+
message: string;
|
|
6879
|
+
};
|
|
6880
|
+
/**
|
|
6881
|
+
* Not found
|
|
6882
|
+
*/
|
|
6883
|
+
404: {
|
|
6884
|
+
message: string;
|
|
6885
|
+
};
|
|
6886
|
+
/**
|
|
6887
|
+
* Conflict
|
|
6888
|
+
*/
|
|
6889
|
+
409: ErrorResponse;
|
|
6890
|
+
/**
|
|
6891
|
+
* Internal server error
|
|
6892
|
+
*/
|
|
6893
|
+
500: ErrorResponse;
|
|
6894
|
+
/**
|
|
6895
|
+
* Service Unavailable
|
|
6896
|
+
*/
|
|
6897
|
+
503: ErrorResponse;
|
|
6898
|
+
};
|
|
6899
|
+
export type TakeScreenshotError = TakeScreenshotErrors[keyof TakeScreenshotErrors];
|
|
6900
|
+
export type TakeScreenshotResponses = {
|
|
6901
|
+
/**
|
|
6902
|
+
* Screenshot captured successfully
|
|
6903
|
+
*/
|
|
6904
|
+
200: {
|
|
6905
|
+
/**
|
|
6906
|
+
* Whether the operation succeeded
|
|
6907
|
+
*/
|
|
6908
|
+
success: boolean;
|
|
6909
|
+
/**
|
|
6910
|
+
* Unique identifier for the screenshot
|
|
6911
|
+
*/
|
|
6912
|
+
screenshotId: string;
|
|
6913
|
+
/**
|
|
6914
|
+
* Public URL of the screenshot
|
|
6188
6915
|
*/
|
|
6189
6916
|
publicUrl: string;
|
|
6190
6917
|
/**
|
|
@@ -6252,9 +6979,1444 @@ export type ScrapePageContentData = {
|
|
|
6252
6979
|
};
|
|
6253
6980
|
path?: never;
|
|
6254
6981
|
query?: never;
|
|
6255
|
-
url: '/capture/scrape';
|
|
6982
|
+
url: '/capture/scrape';
|
|
6983
|
+
};
|
|
6984
|
+
export type ScrapePageContentErrors = {
|
|
6985
|
+
/**
|
|
6986
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
6987
|
+
*/
|
|
6988
|
+
400: {
|
|
6989
|
+
message: string;
|
|
6990
|
+
issues?: string;
|
|
6991
|
+
};
|
|
6992
|
+
/**
|
|
6993
|
+
* Unauthorized
|
|
6994
|
+
*/
|
|
6995
|
+
401: ErrorResponse;
|
|
6996
|
+
/**
|
|
6997
|
+
* Forbidden - Permission denied
|
|
6998
|
+
*/
|
|
6999
|
+
403: {
|
|
7000
|
+
message: string;
|
|
7001
|
+
};
|
|
7002
|
+
/**
|
|
7003
|
+
* Not found
|
|
7004
|
+
*/
|
|
7005
|
+
404: {
|
|
7006
|
+
message: string;
|
|
7007
|
+
};
|
|
7008
|
+
/**
|
|
7009
|
+
* Conflict
|
|
7010
|
+
*/
|
|
7011
|
+
409: ErrorResponse;
|
|
7012
|
+
/**
|
|
7013
|
+
* Internal server error
|
|
7014
|
+
*/
|
|
7015
|
+
500: ErrorResponse;
|
|
7016
|
+
/**
|
|
7017
|
+
* Service Unavailable
|
|
7018
|
+
*/
|
|
7019
|
+
503: ErrorResponse;
|
|
7020
|
+
};
|
|
7021
|
+
export type ScrapePageContentError = ScrapePageContentErrors[keyof ScrapePageContentErrors];
|
|
7022
|
+
export type ScrapePageContentResponses = {
|
|
7023
|
+
/**
|
|
7024
|
+
* Page content scraped successfully
|
|
7025
|
+
*/
|
|
7026
|
+
200: {
|
|
7027
|
+
/**
|
|
7028
|
+
* Whether the operation succeeded
|
|
7029
|
+
*/
|
|
7030
|
+
success: boolean;
|
|
7031
|
+
/**
|
|
7032
|
+
* Cleaned HTML content of the page (processed for readability)
|
|
7033
|
+
*/
|
|
7034
|
+
html: string;
|
|
7035
|
+
/**
|
|
7036
|
+
* Raw HTML content of the page as-is
|
|
7037
|
+
*/
|
|
7038
|
+
rawHtml: string;
|
|
7039
|
+
/**
|
|
7040
|
+
* Page metadata
|
|
7041
|
+
*/
|
|
7042
|
+
metadata?: {
|
|
7043
|
+
title?: string;
|
|
7044
|
+
description?: string;
|
|
7045
|
+
language?: string;
|
|
7046
|
+
sourceURL?: string;
|
|
7047
|
+
keywords?: string;
|
|
7048
|
+
ogLocaleAlternate?: Array<string>;
|
|
7049
|
+
statusCode: number;
|
|
7050
|
+
error?: string;
|
|
7051
|
+
};
|
|
7052
|
+
/**
|
|
7053
|
+
* Structured branding/design system data (when includeBranding is true)
|
|
7054
|
+
*/
|
|
7055
|
+
branding?: {
|
|
7056
|
+
colorScheme?: 'light' | 'dark' | null;
|
|
7057
|
+
logo?: string | null;
|
|
7058
|
+
colors?: {
|
|
7059
|
+
[key: string]: unknown;
|
|
7060
|
+
} | null;
|
|
7061
|
+
fonts?: Array<{
|
|
7062
|
+
[key: string]: unknown;
|
|
7063
|
+
}> | null;
|
|
7064
|
+
typography?: {
|
|
7065
|
+
[key: string]: unknown;
|
|
7066
|
+
} | null;
|
|
7067
|
+
spacing?: {
|
|
7068
|
+
[key: string]: unknown;
|
|
7069
|
+
} | null;
|
|
7070
|
+
components?: {
|
|
7071
|
+
[key: string]: unknown;
|
|
7072
|
+
} | null;
|
|
7073
|
+
images?: {
|
|
7074
|
+
[key: string]: unknown;
|
|
7075
|
+
} | null;
|
|
7076
|
+
[key: string]: unknown;
|
|
7077
|
+
};
|
|
7078
|
+
};
|
|
7079
|
+
};
|
|
7080
|
+
export type ScrapePageContentResponse = ScrapePageContentResponses[keyof ScrapePageContentResponses];
|
|
7081
|
+
export type GetUserByDazlIdData = {
|
|
7082
|
+
body?: never;
|
|
7083
|
+
path: {
|
|
7084
|
+
dazlId: string;
|
|
7085
|
+
};
|
|
7086
|
+
query?: never;
|
|
7087
|
+
url: '/user/{dazlId}';
|
|
7088
|
+
};
|
|
7089
|
+
export type GetUserByDazlIdErrors = {
|
|
7090
|
+
/**
|
|
7091
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
7092
|
+
*/
|
|
7093
|
+
400: {
|
|
7094
|
+
message: string;
|
|
7095
|
+
issues?: string;
|
|
7096
|
+
};
|
|
7097
|
+
/**
|
|
7098
|
+
* Unauthorized
|
|
7099
|
+
*/
|
|
7100
|
+
401: ErrorResponse;
|
|
7101
|
+
/**
|
|
7102
|
+
* Forbidden
|
|
7103
|
+
*/
|
|
7104
|
+
403: ErrorResponse;
|
|
7105
|
+
/**
|
|
7106
|
+
* Not Found
|
|
7107
|
+
*/
|
|
7108
|
+
404: ErrorResponse;
|
|
7109
|
+
/**
|
|
7110
|
+
* Conflict
|
|
7111
|
+
*/
|
|
7112
|
+
409: ErrorResponse;
|
|
7113
|
+
/**
|
|
7114
|
+
* Internal server error
|
|
7115
|
+
*/
|
|
7116
|
+
500: ErrorResponse;
|
|
7117
|
+
/**
|
|
7118
|
+
* Service Unavailable
|
|
7119
|
+
*/
|
|
7120
|
+
503: ErrorResponse;
|
|
7121
|
+
};
|
|
7122
|
+
export type GetUserByDazlIdError = GetUserByDazlIdErrors[keyof GetUserByDazlIdErrors];
|
|
7123
|
+
export type GetUserByDazlIdResponses = {
|
|
7124
|
+
/**
|
|
7125
|
+
* Returns the requested user
|
|
7126
|
+
*/
|
|
7127
|
+
200: {
|
|
7128
|
+
user: UserRaw;
|
|
7129
|
+
};
|
|
7130
|
+
};
|
|
7131
|
+
export type GetUserByDazlIdResponse = GetUserByDazlIdResponses[keyof GetUserByDazlIdResponses];
|
|
7132
|
+
export type UpdateUserData = {
|
|
7133
|
+
body: {
|
|
7134
|
+
picture?: string | null;
|
|
7135
|
+
name?: string;
|
|
7136
|
+
jobRole?: string | null;
|
|
7137
|
+
};
|
|
7138
|
+
path: {
|
|
7139
|
+
dazlId: string;
|
|
7140
|
+
};
|
|
7141
|
+
query?: never;
|
|
7142
|
+
url: '/user/{dazlId}';
|
|
7143
|
+
};
|
|
7144
|
+
export type UpdateUserErrors = {
|
|
7145
|
+
/**
|
|
7146
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
7147
|
+
*/
|
|
7148
|
+
400: {
|
|
7149
|
+
message: string;
|
|
7150
|
+
issues?: string;
|
|
7151
|
+
};
|
|
7152
|
+
/**
|
|
7153
|
+
* Unauthorized
|
|
7154
|
+
*/
|
|
7155
|
+
401: ErrorResponse;
|
|
7156
|
+
/**
|
|
7157
|
+
* Forbidden
|
|
7158
|
+
*/
|
|
7159
|
+
403: ErrorResponse;
|
|
7160
|
+
/**
|
|
7161
|
+
* Not Found
|
|
7162
|
+
*/
|
|
7163
|
+
404: ErrorResponse;
|
|
7164
|
+
/**
|
|
7165
|
+
* Conflict
|
|
7166
|
+
*/
|
|
7167
|
+
409: ErrorResponse;
|
|
7168
|
+
/**
|
|
7169
|
+
* Internal server error
|
|
7170
|
+
*/
|
|
7171
|
+
500: ErrorResponse;
|
|
7172
|
+
/**
|
|
7173
|
+
* Service Unavailable
|
|
7174
|
+
*/
|
|
7175
|
+
503: ErrorResponse;
|
|
7176
|
+
};
|
|
7177
|
+
export type UpdateUserError = UpdateUserErrors[keyof UpdateUserErrors];
|
|
7178
|
+
export type UpdateUserResponses = {
|
|
7179
|
+
/**
|
|
7180
|
+
* Updates user information
|
|
7181
|
+
*/
|
|
7182
|
+
200: {
|
|
7183
|
+
user: UserRaw;
|
|
7184
|
+
};
|
|
7185
|
+
};
|
|
7186
|
+
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
7187
|
+
export type GetUsersByDazlIdsData = {
|
|
7188
|
+
body: {
|
|
7189
|
+
dazlIds: Array<string>;
|
|
7190
|
+
};
|
|
7191
|
+
path?: never;
|
|
7192
|
+
query?: never;
|
|
7193
|
+
url: '/user/list-by-dazl-ids';
|
|
7194
|
+
};
|
|
7195
|
+
export type GetUsersByDazlIdsErrors = {
|
|
7196
|
+
/**
|
|
7197
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
7198
|
+
*/
|
|
7199
|
+
400: {
|
|
7200
|
+
message: string;
|
|
7201
|
+
issues?: string;
|
|
7202
|
+
};
|
|
7203
|
+
/**
|
|
7204
|
+
* Unauthorized
|
|
7205
|
+
*/
|
|
7206
|
+
401: ErrorResponse;
|
|
7207
|
+
/**
|
|
7208
|
+
* Forbidden
|
|
7209
|
+
*/
|
|
7210
|
+
403: ErrorResponse;
|
|
7211
|
+
/**
|
|
7212
|
+
* Not Found
|
|
7213
|
+
*/
|
|
7214
|
+
404: ErrorResponse;
|
|
7215
|
+
/**
|
|
7216
|
+
* Conflict
|
|
7217
|
+
*/
|
|
7218
|
+
409: ErrorResponse;
|
|
7219
|
+
/**
|
|
7220
|
+
* Internal server error
|
|
7221
|
+
*/
|
|
7222
|
+
500: ErrorResponse;
|
|
7223
|
+
/**
|
|
7224
|
+
* Service Unavailable
|
|
7225
|
+
*/
|
|
7226
|
+
503: ErrorResponse;
|
|
7227
|
+
};
|
|
7228
|
+
export type GetUsersByDazlIdsError = GetUsersByDazlIdsErrors[keyof GetUsersByDazlIdsErrors];
|
|
7229
|
+
export type GetUsersByDazlIdsResponses = {
|
|
7230
|
+
/**
|
|
7231
|
+
* Returns the requested users
|
|
7232
|
+
*/
|
|
7233
|
+
200: {
|
|
7234
|
+
users: Array<UserDisplayInfoResponse>;
|
|
7235
|
+
};
|
|
7236
|
+
};
|
|
7237
|
+
export type GetUsersByDazlIdsResponse = GetUsersByDazlIdsResponses[keyof GetUsersByDazlIdsResponses];
|
|
7238
|
+
export type GetUsersByEmailsData = {
|
|
7239
|
+
body: {
|
|
7240
|
+
emails: Array<string>;
|
|
7241
|
+
};
|
|
7242
|
+
path?: never;
|
|
7243
|
+
query?: never;
|
|
7244
|
+
url: '/user/list-by-emails';
|
|
7245
|
+
};
|
|
7246
|
+
export type GetUsersByEmailsErrors = {
|
|
7247
|
+
/**
|
|
7248
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
7249
|
+
*/
|
|
7250
|
+
400: {
|
|
7251
|
+
message: string;
|
|
7252
|
+
issues?: string;
|
|
7253
|
+
};
|
|
7254
|
+
/**
|
|
7255
|
+
* Unauthorized
|
|
7256
|
+
*/
|
|
7257
|
+
401: ErrorResponse;
|
|
7258
|
+
/**
|
|
7259
|
+
* Forbidden
|
|
7260
|
+
*/
|
|
7261
|
+
403: ErrorResponse;
|
|
7262
|
+
/**
|
|
7263
|
+
* Not Found
|
|
7264
|
+
*/
|
|
7265
|
+
404: ErrorResponse;
|
|
7266
|
+
/**
|
|
7267
|
+
* Conflict
|
|
7268
|
+
*/
|
|
7269
|
+
409: ErrorResponse;
|
|
7270
|
+
/**
|
|
7271
|
+
* Internal server error
|
|
7272
|
+
*/
|
|
7273
|
+
500: ErrorResponse;
|
|
7274
|
+
/**
|
|
7275
|
+
* Service Unavailable
|
|
7276
|
+
*/
|
|
7277
|
+
503: ErrorResponse;
|
|
7278
|
+
};
|
|
7279
|
+
export type GetUsersByEmailsError = GetUsersByEmailsErrors[keyof GetUsersByEmailsErrors];
|
|
7280
|
+
export type GetUsersByEmailsResponses = {
|
|
7281
|
+
/**
|
|
7282
|
+
* Returns the requested users
|
|
7283
|
+
*/
|
|
7284
|
+
200: {
|
|
7285
|
+
users: Array<UserDisplayInfoResponse>;
|
|
7286
|
+
};
|
|
7287
|
+
};
|
|
7288
|
+
export type GetUsersByEmailsResponse = GetUsersByEmailsResponses[keyof GetUsersByEmailsResponses];
|
|
7289
|
+
export type CreateUserData = {
|
|
7290
|
+
body: {
|
|
7291
|
+
dazlId: string;
|
|
7292
|
+
name: string;
|
|
7293
|
+
email: string;
|
|
7294
|
+
authSub: string;
|
|
7295
|
+
picture?: string | null;
|
|
7296
|
+
jobRole?: string | null;
|
|
7297
|
+
};
|
|
7298
|
+
path?: never;
|
|
7299
|
+
query?: never;
|
|
7300
|
+
url: '/user/create';
|
|
7301
|
+
};
|
|
7302
|
+
export type CreateUserErrors = {
|
|
7303
|
+
/**
|
|
7304
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
7305
|
+
*/
|
|
7306
|
+
400: {
|
|
7307
|
+
message: string;
|
|
7308
|
+
issues?: string;
|
|
7309
|
+
};
|
|
7310
|
+
/**
|
|
7311
|
+
* Unauthorized
|
|
7312
|
+
*/
|
|
7313
|
+
401: ErrorResponse;
|
|
7314
|
+
/**
|
|
7315
|
+
* Forbidden
|
|
7316
|
+
*/
|
|
7317
|
+
403: ErrorResponse;
|
|
7318
|
+
/**
|
|
7319
|
+
* Not Found
|
|
7320
|
+
*/
|
|
7321
|
+
404: ErrorResponse;
|
|
7322
|
+
/**
|
|
7323
|
+
* Conflict
|
|
7324
|
+
*/
|
|
7325
|
+
409: ErrorResponse;
|
|
7326
|
+
/**
|
|
7327
|
+
* Internal server error
|
|
7328
|
+
*/
|
|
7329
|
+
500: ErrorResponse;
|
|
7330
|
+
/**
|
|
7331
|
+
* Service Unavailable
|
|
7332
|
+
*/
|
|
7333
|
+
503: ErrorResponse;
|
|
7334
|
+
};
|
|
7335
|
+
export type CreateUserError = CreateUserErrors[keyof CreateUserErrors];
|
|
7336
|
+
export type CreateUserResponses = {
|
|
7337
|
+
/**
|
|
7338
|
+
* Creates a new user with billing customer
|
|
7339
|
+
*/
|
|
7340
|
+
200: {
|
|
7341
|
+
user: UserRaw;
|
|
7342
|
+
};
|
|
7343
|
+
};
|
|
7344
|
+
export type CreateUserResponse = CreateUserResponses[keyof CreateUserResponses];
|
|
7345
|
+
export type SearchWebData = {
|
|
7346
|
+
body: {
|
|
7347
|
+
/**
|
|
7348
|
+
* Search query
|
|
7349
|
+
*/
|
|
7350
|
+
query: string;
|
|
7351
|
+
/**
|
|
7352
|
+
* Maximum number of results to return
|
|
7353
|
+
*/
|
|
7354
|
+
limit?: number;
|
|
7355
|
+
/**
|
|
7356
|
+
* Location parameter for search results
|
|
7357
|
+
*/
|
|
7358
|
+
location?: string;
|
|
7359
|
+
/**
|
|
7360
|
+
* Timeout for the search in milliseconds
|
|
7361
|
+
*/
|
|
7362
|
+
timeout?: number;
|
|
7363
|
+
/**
|
|
7364
|
+
* Options for scraping search results
|
|
7365
|
+
*/
|
|
7366
|
+
scrapeOptions?: {
|
|
7367
|
+
/**
|
|
7368
|
+
* Formats to return
|
|
7369
|
+
*/
|
|
7370
|
+
formats?: Array<'summary' | 'json' | {
|
|
7371
|
+
type: 'json';
|
|
7372
|
+
prompt: string;
|
|
7373
|
+
schema?: {
|
|
7374
|
+
[key: string]: unknown;
|
|
7375
|
+
};
|
|
7376
|
+
} | {
|
|
7377
|
+
type: 'summary' | 'json';
|
|
7378
|
+
}>;
|
|
7379
|
+
/**
|
|
7380
|
+
* Maximum age of cached content
|
|
7381
|
+
*/
|
|
7382
|
+
maxAge?: number;
|
|
7383
|
+
/**
|
|
7384
|
+
* Timeout for scraping each document in milliseconds
|
|
7385
|
+
*/
|
|
7386
|
+
timeout?: number;
|
|
7387
|
+
/**
|
|
7388
|
+
* Parsers to use for content extraction
|
|
7389
|
+
*/
|
|
7390
|
+
parsers?: Array<string | {
|
|
7391
|
+
type: 'pdf';
|
|
7392
|
+
maxPages?: number;
|
|
7393
|
+
}>;
|
|
7394
|
+
};
|
|
7395
|
+
};
|
|
7396
|
+
path?: never;
|
|
7397
|
+
query?: never;
|
|
7398
|
+
url: '/search/web';
|
|
7399
|
+
};
|
|
7400
|
+
export type SearchWebErrors = {
|
|
7401
|
+
/**
|
|
7402
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
7403
|
+
*/
|
|
7404
|
+
400: {
|
|
7405
|
+
message: string;
|
|
7406
|
+
issues?: string;
|
|
7407
|
+
};
|
|
7408
|
+
/**
|
|
7409
|
+
* Unauthorized
|
|
7410
|
+
*/
|
|
7411
|
+
401: ErrorResponse;
|
|
7412
|
+
/**
|
|
7413
|
+
* Forbidden
|
|
7414
|
+
*/
|
|
7415
|
+
403: ErrorResponse;
|
|
7416
|
+
/**
|
|
7417
|
+
* Not Found
|
|
7418
|
+
*/
|
|
7419
|
+
404: ErrorResponse;
|
|
7420
|
+
/**
|
|
7421
|
+
* Conflict
|
|
7422
|
+
*/
|
|
7423
|
+
409: ErrorResponse;
|
|
7424
|
+
/**
|
|
7425
|
+
* Internal server error
|
|
7426
|
+
*/
|
|
7427
|
+
500: ErrorResponse;
|
|
7428
|
+
/**
|
|
7429
|
+
* Service Unavailable
|
|
7430
|
+
*/
|
|
7431
|
+
503: ErrorResponse;
|
|
7432
|
+
};
|
|
7433
|
+
export type SearchWebError = SearchWebErrors[keyof SearchWebErrors];
|
|
7434
|
+
export type SearchWebResponses = {
|
|
7435
|
+
/**
|
|
7436
|
+
* Search results organized by source type
|
|
7437
|
+
*/
|
|
7438
|
+
200: {
|
|
7439
|
+
web?: Array<{
|
|
7440
|
+
url: string;
|
|
7441
|
+
title?: string;
|
|
7442
|
+
description?: string;
|
|
7443
|
+
json?: unknown;
|
|
7444
|
+
summary?: string;
|
|
7445
|
+
metadata?: {
|
|
7446
|
+
creditsUsed?: number;
|
|
7447
|
+
};
|
|
7448
|
+
}>;
|
|
7449
|
+
};
|
|
7450
|
+
};
|
|
7451
|
+
export type SearchWebResponse = SearchWebResponses[keyof SearchWebResponses];
|
|
7452
|
+
export type AdminDeleteProjectData = {
|
|
7453
|
+
body: DeleteProjectInput;
|
|
7454
|
+
path: {
|
|
7455
|
+
projectId: string;
|
|
7456
|
+
};
|
|
7457
|
+
query?: never;
|
|
7458
|
+
url: '/admin/project/{projectId}';
|
|
7459
|
+
};
|
|
7460
|
+
export type AdminDeleteProjectErrors = {
|
|
7461
|
+
/**
|
|
7462
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
7463
|
+
*/
|
|
7464
|
+
400: {
|
|
7465
|
+
message: string;
|
|
7466
|
+
issues?: string;
|
|
7467
|
+
};
|
|
7468
|
+
/**
|
|
7469
|
+
* Unauthorized
|
|
7470
|
+
*/
|
|
7471
|
+
401: ErrorResponse;
|
|
7472
|
+
/**
|
|
7473
|
+
* Forbidden
|
|
7474
|
+
*/
|
|
7475
|
+
403: ErrorResponse;
|
|
7476
|
+
/**
|
|
7477
|
+
* Not Found
|
|
7478
|
+
*/
|
|
7479
|
+
404: ErrorResponse;
|
|
7480
|
+
/**
|
|
7481
|
+
* Conflict
|
|
7482
|
+
*/
|
|
7483
|
+
409: ErrorResponse;
|
|
7484
|
+
/**
|
|
7485
|
+
* Internal server error
|
|
7486
|
+
*/
|
|
7487
|
+
500: ErrorResponse;
|
|
7488
|
+
/**
|
|
7489
|
+
* Service Unavailable
|
|
7490
|
+
*/
|
|
7491
|
+
503: ErrorResponse;
|
|
7492
|
+
};
|
|
7493
|
+
export type AdminDeleteProjectError = AdminDeleteProjectErrors[keyof AdminDeleteProjectErrors];
|
|
7494
|
+
export type AdminDeleteProjectResponses = {
|
|
7495
|
+
/**
|
|
7496
|
+
* Project deleted successfully
|
|
7497
|
+
*/
|
|
7498
|
+
200: {
|
|
7499
|
+
success: boolean;
|
|
7500
|
+
projectId: string;
|
|
7501
|
+
};
|
|
7502
|
+
};
|
|
7503
|
+
export type AdminDeleteProjectResponse = AdminDeleteProjectResponses[keyof AdminDeleteProjectResponses];
|
|
7504
|
+
export type AdminCloneProjectCreateData = {
|
|
7505
|
+
body: CloneProjectCreateInput;
|
|
7506
|
+
path?: never;
|
|
7507
|
+
query?: never;
|
|
7508
|
+
url: '/admin/project/clone';
|
|
7509
|
+
};
|
|
7510
|
+
export type AdminCloneProjectCreateErrors = {
|
|
7511
|
+
/**
|
|
7512
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
7513
|
+
*/
|
|
7514
|
+
400: {
|
|
7515
|
+
message: string;
|
|
7516
|
+
issues?: string;
|
|
7517
|
+
};
|
|
7518
|
+
/**
|
|
7519
|
+
* Unauthorized
|
|
7520
|
+
*/
|
|
7521
|
+
401: ErrorResponse;
|
|
7522
|
+
/**
|
|
7523
|
+
* Forbidden
|
|
7524
|
+
*/
|
|
7525
|
+
403: ErrorResponse;
|
|
7526
|
+
/**
|
|
7527
|
+
* Not Found
|
|
7528
|
+
*/
|
|
7529
|
+
404: ErrorResponse;
|
|
7530
|
+
/**
|
|
7531
|
+
* Conflict
|
|
7532
|
+
*/
|
|
7533
|
+
409: ErrorResponse;
|
|
7534
|
+
/**
|
|
7535
|
+
* Internal server error
|
|
7536
|
+
*/
|
|
7537
|
+
500: ErrorResponse;
|
|
7538
|
+
/**
|
|
7539
|
+
* Service Unavailable
|
|
7540
|
+
*/
|
|
7541
|
+
503: ErrorResponse;
|
|
7542
|
+
};
|
|
7543
|
+
export type AdminCloneProjectCreateError = AdminCloneProjectCreateErrors[keyof AdminCloneProjectCreateErrors];
|
|
7544
|
+
export type AdminCloneProjectCreateResponses = {
|
|
7545
|
+
/**
|
|
7546
|
+
* Returns the ID of the newly created clone project record
|
|
7547
|
+
*/
|
|
7548
|
+
200: {
|
|
7549
|
+
newProjectId: string;
|
|
7550
|
+
};
|
|
7551
|
+
};
|
|
7552
|
+
export type AdminCloneProjectCreateResponse = AdminCloneProjectCreateResponses[keyof AdminCloneProjectCreateResponses];
|
|
7553
|
+
export type AdminCloneProjectLogData = {
|
|
7554
|
+
body: CloneProjectLogInput;
|
|
7555
|
+
path?: never;
|
|
7556
|
+
query?: never;
|
|
7557
|
+
url: '/admin/project/clone/log';
|
|
7558
|
+
};
|
|
7559
|
+
export type AdminCloneProjectLogErrors = {
|
|
7560
|
+
/**
|
|
7561
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
7562
|
+
*/
|
|
7563
|
+
400: {
|
|
7564
|
+
message: string;
|
|
7565
|
+
issues?: string;
|
|
7566
|
+
};
|
|
7567
|
+
/**
|
|
7568
|
+
* Unauthorized
|
|
7569
|
+
*/
|
|
7570
|
+
401: ErrorResponse;
|
|
7571
|
+
/**
|
|
7572
|
+
* Forbidden
|
|
7573
|
+
*/
|
|
7574
|
+
403: ErrorResponse;
|
|
7575
|
+
/**
|
|
7576
|
+
* Not Found
|
|
7577
|
+
*/
|
|
7578
|
+
404: ErrorResponse;
|
|
7579
|
+
/**
|
|
7580
|
+
* Conflict
|
|
7581
|
+
*/
|
|
7582
|
+
409: ErrorResponse;
|
|
7583
|
+
/**
|
|
7584
|
+
* Internal server error
|
|
7585
|
+
*/
|
|
7586
|
+
500: ErrorResponse;
|
|
7587
|
+
/**
|
|
7588
|
+
* Service Unavailable
|
|
7589
|
+
*/
|
|
7590
|
+
503: ErrorResponse;
|
|
7591
|
+
};
|
|
7592
|
+
export type AdminCloneProjectLogError = AdminCloneProjectLogErrors[keyof AdminCloneProjectLogErrors];
|
|
7593
|
+
export type AdminCloneProjectLogResponses = {
|
|
7594
|
+
/**
|
|
7595
|
+
* Admin action logged successfully
|
|
7596
|
+
*/
|
|
7597
|
+
200: {
|
|
7598
|
+
success: boolean;
|
|
7599
|
+
};
|
|
7600
|
+
};
|
|
7601
|
+
export type AdminCloneProjectLogResponse = AdminCloneProjectLogResponses[keyof AdminCloneProjectLogResponses];
|
|
7602
|
+
export type AdminCleanupProjectData = {
|
|
7603
|
+
body: CleanupProjectInput;
|
|
7604
|
+
path?: never;
|
|
7605
|
+
query?: never;
|
|
7606
|
+
url: '/admin/project/cleanup';
|
|
7607
|
+
};
|
|
7608
|
+
export type AdminCleanupProjectErrors = {
|
|
7609
|
+
/**
|
|
7610
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
7611
|
+
*/
|
|
7612
|
+
400: {
|
|
7613
|
+
message: string;
|
|
7614
|
+
issues?: string;
|
|
7615
|
+
};
|
|
7616
|
+
/**
|
|
7617
|
+
* Unauthorized
|
|
7618
|
+
*/
|
|
7619
|
+
401: ErrorResponse;
|
|
7620
|
+
/**
|
|
7621
|
+
* Forbidden
|
|
7622
|
+
*/
|
|
7623
|
+
403: ErrorResponse;
|
|
7624
|
+
/**
|
|
7625
|
+
* Not Found
|
|
7626
|
+
*/
|
|
7627
|
+
404: ErrorResponse;
|
|
7628
|
+
/**
|
|
7629
|
+
* Conflict
|
|
7630
|
+
*/
|
|
7631
|
+
409: ErrorResponse;
|
|
7632
|
+
/**
|
|
7633
|
+
* Internal server error
|
|
7634
|
+
*/
|
|
7635
|
+
500: ErrorResponse;
|
|
7636
|
+
/**
|
|
7637
|
+
* Service Unavailable
|
|
7638
|
+
*/
|
|
7639
|
+
503: ErrorResponse;
|
|
7640
|
+
};
|
|
7641
|
+
export type AdminCleanupProjectError = AdminCleanupProjectErrors[keyof AdminCleanupProjectErrors];
|
|
7642
|
+
export type AdminCleanupProjectResponses = {
|
|
7643
|
+
/**
|
|
7644
|
+
* Project cleaned up successfully
|
|
7645
|
+
*/
|
|
7646
|
+
200: {
|
|
7647
|
+
success: boolean;
|
|
7648
|
+
};
|
|
7649
|
+
};
|
|
7650
|
+
export type AdminCleanupProjectResponse = AdminCleanupProjectResponses[keyof AdminCleanupProjectResponses];
|
|
7651
|
+
export type AdminUpdateCreditsData = {
|
|
7652
|
+
body: UpdateCreditsInput;
|
|
7653
|
+
path?: never;
|
|
7654
|
+
query?: never;
|
|
7655
|
+
url: '/admin/credits';
|
|
7656
|
+
};
|
|
7657
|
+
export type AdminUpdateCreditsErrors = {
|
|
7658
|
+
/**
|
|
7659
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
7660
|
+
*/
|
|
7661
|
+
400: {
|
|
7662
|
+
message: string;
|
|
7663
|
+
issues?: string;
|
|
7664
|
+
};
|
|
7665
|
+
/**
|
|
7666
|
+
* Unauthorized
|
|
7667
|
+
*/
|
|
7668
|
+
401: ErrorResponse;
|
|
7669
|
+
/**
|
|
7670
|
+
* Forbidden
|
|
7671
|
+
*/
|
|
7672
|
+
403: ErrorResponse;
|
|
7673
|
+
/**
|
|
7674
|
+
* Not Found
|
|
7675
|
+
*/
|
|
7676
|
+
404: ErrorResponse;
|
|
7677
|
+
/**
|
|
7678
|
+
* Conflict
|
|
7679
|
+
*/
|
|
7680
|
+
409: ErrorResponse;
|
|
7681
|
+
/**
|
|
7682
|
+
* Internal server error
|
|
7683
|
+
*/
|
|
7684
|
+
500: ErrorResponse;
|
|
7685
|
+
/**
|
|
7686
|
+
* Service Unavailable
|
|
7687
|
+
*/
|
|
7688
|
+
503: ErrorResponse;
|
|
7689
|
+
};
|
|
7690
|
+
export type AdminUpdateCreditsError = AdminUpdateCreditsErrors[keyof AdminUpdateCreditsErrors];
|
|
7691
|
+
export type AdminUpdateCreditsResponses = {
|
|
7692
|
+
/**
|
|
7693
|
+
* Credits updated successfully
|
|
7694
|
+
*/
|
|
7695
|
+
200: {
|
|
7696
|
+
success: boolean;
|
|
7697
|
+
newBalance: number;
|
|
7698
|
+
};
|
|
7699
|
+
};
|
|
7700
|
+
export type AdminUpdateCreditsResponse = AdminUpdateCreditsResponses[keyof AdminUpdateCreditsResponses];
|
|
7701
|
+
export type AdminLogActionData = {
|
|
7702
|
+
body: {
|
|
7703
|
+
action: string;
|
|
7704
|
+
/**
|
|
7705
|
+
* The target user's Dazl ID
|
|
7706
|
+
*/
|
|
7707
|
+
targetDazlUserId?: string;
|
|
7708
|
+
targetProjectId?: string;
|
|
7709
|
+
message: string;
|
|
7710
|
+
reason?: string;
|
|
7711
|
+
} & {
|
|
7712
|
+
/**
|
|
7713
|
+
* The admin user's Dazl ID
|
|
7714
|
+
*/
|
|
7715
|
+
adminDazlUserId: string;
|
|
7716
|
+
};
|
|
7717
|
+
path?: never;
|
|
7718
|
+
query?: never;
|
|
7719
|
+
url: '/admin/action/log';
|
|
7720
|
+
};
|
|
7721
|
+
export type AdminLogActionErrors = {
|
|
7722
|
+
/**
|
|
7723
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
7724
|
+
*/
|
|
7725
|
+
400: {
|
|
7726
|
+
message: string;
|
|
7727
|
+
issues?: string;
|
|
7728
|
+
};
|
|
7729
|
+
/**
|
|
7730
|
+
* Unauthorized
|
|
7731
|
+
*/
|
|
7732
|
+
401: ErrorResponse;
|
|
7733
|
+
/**
|
|
7734
|
+
* Forbidden
|
|
7735
|
+
*/
|
|
7736
|
+
403: ErrorResponse;
|
|
7737
|
+
/**
|
|
7738
|
+
* Not Found
|
|
7739
|
+
*/
|
|
7740
|
+
404: ErrorResponse;
|
|
7741
|
+
/**
|
|
7742
|
+
* Conflict
|
|
7743
|
+
*/
|
|
7744
|
+
409: ErrorResponse;
|
|
7745
|
+
/**
|
|
7746
|
+
* Internal server error
|
|
7747
|
+
*/
|
|
7748
|
+
500: ErrorResponse;
|
|
7749
|
+
/**
|
|
7750
|
+
* Service Unavailable
|
|
7751
|
+
*/
|
|
7752
|
+
503: ErrorResponse;
|
|
7753
|
+
};
|
|
7754
|
+
export type AdminLogActionError = AdminLogActionErrors[keyof AdminLogActionErrors];
|
|
7755
|
+
export type AdminLogActionResponses = {
|
|
7756
|
+
/**
|
|
7757
|
+
* Admin action logged successfully
|
|
7758
|
+
*/
|
|
7759
|
+
200: {
|
|
7760
|
+
success: boolean;
|
|
7761
|
+
};
|
|
7762
|
+
};
|
|
7763
|
+
export type AdminLogActionResponse = AdminLogActionResponses[keyof AdminLogActionResponses];
|
|
7764
|
+
export type OpenFeatureToggleData = {
|
|
7765
|
+
body: {
|
|
7766
|
+
name: string;
|
|
7767
|
+
scope: 'RemoteAndEditor' | 'SiteAndEditor';
|
|
7768
|
+
};
|
|
7769
|
+
path?: never;
|
|
7770
|
+
query?: never;
|
|
7771
|
+
url: '/env-config/open';
|
|
7772
|
+
};
|
|
7773
|
+
export type OpenFeatureToggleErrors = {
|
|
7774
|
+
/**
|
|
7775
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
7776
|
+
*/
|
|
7777
|
+
400: {
|
|
7778
|
+
message: string;
|
|
7779
|
+
issues?: string;
|
|
7780
|
+
};
|
|
7781
|
+
/**
|
|
7782
|
+
* Unauthorized
|
|
7783
|
+
*/
|
|
7784
|
+
401: ErrorResponse;
|
|
7785
|
+
/**
|
|
7786
|
+
* Forbidden
|
|
7787
|
+
*/
|
|
7788
|
+
403: ErrorResponse;
|
|
7789
|
+
/**
|
|
7790
|
+
* Not Found
|
|
7791
|
+
*/
|
|
7792
|
+
404: ErrorResponse;
|
|
7793
|
+
/**
|
|
7794
|
+
* Conflict
|
|
7795
|
+
*/
|
|
7796
|
+
409: ErrorResponse;
|
|
7797
|
+
/**
|
|
7798
|
+
* Internal server error
|
|
7799
|
+
*/
|
|
7800
|
+
500: ErrorResponse;
|
|
7801
|
+
/**
|
|
7802
|
+
* Service Unavailable
|
|
7803
|
+
*/
|
|
7804
|
+
503: ErrorResponse;
|
|
7805
|
+
};
|
|
7806
|
+
export type OpenFeatureToggleError = OpenFeatureToggleErrors[keyof OpenFeatureToggleErrors];
|
|
7807
|
+
export type OpenFeatureToggleResponses = {
|
|
7808
|
+
/**
|
|
7809
|
+
* Opens a feature toggle
|
|
7810
|
+
*/
|
|
7811
|
+
200: {
|
|
7812
|
+
success: boolean;
|
|
7813
|
+
};
|
|
7814
|
+
};
|
|
7815
|
+
export type OpenFeatureToggleResponse = OpenFeatureToggleResponses[keyof OpenFeatureToggleResponses];
|
|
7816
|
+
export type CloseFeatureToggleData = {
|
|
7817
|
+
body: {
|
|
7818
|
+
name: string;
|
|
7819
|
+
};
|
|
7820
|
+
path?: never;
|
|
7821
|
+
query?: never;
|
|
7822
|
+
url: '/env-config/close';
|
|
7823
|
+
};
|
|
7824
|
+
export type CloseFeatureToggleErrors = {
|
|
7825
|
+
/**
|
|
7826
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
7827
|
+
*/
|
|
7828
|
+
400: {
|
|
7829
|
+
message: string;
|
|
7830
|
+
issues?: string;
|
|
7831
|
+
};
|
|
7832
|
+
/**
|
|
7833
|
+
* Unauthorized
|
|
7834
|
+
*/
|
|
7835
|
+
401: ErrorResponse;
|
|
7836
|
+
/**
|
|
7837
|
+
* Forbidden
|
|
7838
|
+
*/
|
|
7839
|
+
403: ErrorResponse;
|
|
7840
|
+
/**
|
|
7841
|
+
* Not Found
|
|
7842
|
+
*/
|
|
7843
|
+
404: ErrorResponse;
|
|
7844
|
+
/**
|
|
7845
|
+
* Conflict
|
|
7846
|
+
*/
|
|
7847
|
+
409: ErrorResponse;
|
|
7848
|
+
/**
|
|
7849
|
+
* Internal server error
|
|
7850
|
+
*/
|
|
7851
|
+
500: ErrorResponse;
|
|
7852
|
+
/**
|
|
7853
|
+
* Service Unavailable
|
|
7854
|
+
*/
|
|
7855
|
+
503: ErrorResponse;
|
|
7856
|
+
};
|
|
7857
|
+
export type CloseFeatureToggleError = CloseFeatureToggleErrors[keyof CloseFeatureToggleErrors];
|
|
7858
|
+
export type CloseFeatureToggleResponses = {
|
|
7859
|
+
/**
|
|
7860
|
+
* Closes a feature toggle
|
|
7861
|
+
*/
|
|
7862
|
+
200: {
|
|
7863
|
+
success: boolean;
|
|
7864
|
+
};
|
|
7865
|
+
};
|
|
7866
|
+
export type CloseFeatureToggleResponse = CloseFeatureToggleResponses[keyof CloseFeatureToggleResponses];
|
|
7867
|
+
export type PurgeUserAccountData = {
|
|
7868
|
+
body: PurgeUserAccountInput;
|
|
7869
|
+
path?: never;
|
|
7870
|
+
query?: never;
|
|
7871
|
+
url: '/purge/user-account';
|
|
7872
|
+
};
|
|
7873
|
+
export type PurgeUserAccountErrors = {
|
|
7874
|
+
/**
|
|
7875
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
7876
|
+
*/
|
|
7877
|
+
400: {
|
|
7878
|
+
message: string;
|
|
7879
|
+
issues?: string;
|
|
7880
|
+
};
|
|
7881
|
+
/**
|
|
7882
|
+
* Unauthorized
|
|
7883
|
+
*/
|
|
7884
|
+
401: ErrorResponse;
|
|
7885
|
+
/**
|
|
7886
|
+
* Forbidden
|
|
7887
|
+
*/
|
|
7888
|
+
403: ErrorResponse;
|
|
7889
|
+
/**
|
|
7890
|
+
* Not Found
|
|
7891
|
+
*/
|
|
7892
|
+
404: ErrorResponse;
|
|
7893
|
+
/**
|
|
7894
|
+
* Conflict
|
|
7895
|
+
*/
|
|
7896
|
+
409: ErrorResponse;
|
|
7897
|
+
/**
|
|
7898
|
+
* Internal server error
|
|
7899
|
+
*/
|
|
7900
|
+
500: ErrorResponse;
|
|
7901
|
+
/**
|
|
7902
|
+
* Service Unavailable
|
|
7903
|
+
*/
|
|
7904
|
+
503: ErrorResponse;
|
|
7905
|
+
};
|
|
7906
|
+
export type PurgeUserAccountError = PurgeUserAccountErrors[keyof PurgeUserAccountErrors];
|
|
7907
|
+
export type PurgeUserAccountResponses = {
|
|
7908
|
+
/**
|
|
7909
|
+
* User account purged from all systems
|
|
7910
|
+
*/
|
|
7911
|
+
200: {
|
|
7912
|
+
success: boolean;
|
|
7913
|
+
results: {
|
|
7914
|
+
[key: string]: {
|
|
7915
|
+
discovered: Array<string>;
|
|
7916
|
+
deleted: Array<string>;
|
|
7917
|
+
};
|
|
7918
|
+
};
|
|
7919
|
+
};
|
|
7920
|
+
};
|
|
7921
|
+
export type PurgeUserAccountResponse = PurgeUserAccountResponses[keyof PurgeUserAccountResponses];
|
|
7922
|
+
export type GetValuesData = {
|
|
7923
|
+
body?: never;
|
|
7924
|
+
path: {
|
|
7925
|
+
dazlUserId: string;
|
|
7926
|
+
};
|
|
7927
|
+
query?: {
|
|
7928
|
+
/**
|
|
7929
|
+
* Filter results to this category
|
|
7930
|
+
*/
|
|
7931
|
+
categ?: string;
|
|
7932
|
+
};
|
|
7933
|
+
url: '/user-key-value/{dazlUserId}/values';
|
|
7934
|
+
};
|
|
7935
|
+
export type GetValuesErrors = {
|
|
7936
|
+
/**
|
|
7937
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
7938
|
+
*/
|
|
7939
|
+
400: {
|
|
7940
|
+
message: string;
|
|
7941
|
+
issues?: string;
|
|
7942
|
+
};
|
|
7943
|
+
/**
|
|
7944
|
+
* Unauthorized
|
|
7945
|
+
*/
|
|
7946
|
+
401: ErrorResponse;
|
|
7947
|
+
/**
|
|
7948
|
+
* Forbidden
|
|
7949
|
+
*/
|
|
7950
|
+
403: ErrorResponse;
|
|
7951
|
+
/**
|
|
7952
|
+
* Not Found
|
|
7953
|
+
*/
|
|
7954
|
+
404: ErrorResponse;
|
|
7955
|
+
/**
|
|
7956
|
+
* Conflict
|
|
7957
|
+
*/
|
|
7958
|
+
409: ErrorResponse;
|
|
7959
|
+
/**
|
|
7960
|
+
* Internal server error
|
|
7961
|
+
*/
|
|
7962
|
+
500: ErrorResponse;
|
|
7963
|
+
/**
|
|
7964
|
+
* Service Unavailable
|
|
7965
|
+
*/
|
|
7966
|
+
503: ErrorResponse;
|
|
7967
|
+
};
|
|
7968
|
+
export type GetValuesError = GetValuesErrors[keyof GetValuesErrors];
|
|
7969
|
+
export type GetValuesResponses = {
|
|
7970
|
+
/**
|
|
7971
|
+
* Returns key values for the user
|
|
7972
|
+
*/
|
|
7973
|
+
200: {
|
|
7974
|
+
values: Array<{
|
|
7975
|
+
id: string;
|
|
7976
|
+
dazlUserId: string;
|
|
7977
|
+
category: string;
|
|
7978
|
+
name: string;
|
|
7979
|
+
strVal: string | null;
|
|
7980
|
+
encryptedValId: string | null;
|
|
7981
|
+
createdAt: string;
|
|
7982
|
+
updatedAt: string;
|
|
7983
|
+
encryptedValue: string | null;
|
|
7984
|
+
}>;
|
|
7985
|
+
};
|
|
7986
|
+
};
|
|
7987
|
+
export type GetValuesResponse = GetValuesResponses[keyof GetValuesResponses];
|
|
7988
|
+
export type SetValueData = {
|
|
7989
|
+
body: {
|
|
7990
|
+
value: string;
|
|
7991
|
+
isSecret?: boolean;
|
|
7992
|
+
};
|
|
7993
|
+
path: {
|
|
7994
|
+
dazlUserId: string;
|
|
7995
|
+
categ: string;
|
|
7996
|
+
name: string;
|
|
7997
|
+
};
|
|
7998
|
+
query?: never;
|
|
7999
|
+
url: '/user-key-value/{dazlUserId}/values/{categ}/{name}';
|
|
8000
|
+
};
|
|
8001
|
+
export type SetValueErrors = {
|
|
8002
|
+
/**
|
|
8003
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
8004
|
+
*/
|
|
8005
|
+
400: {
|
|
8006
|
+
message: string;
|
|
8007
|
+
issues?: string;
|
|
8008
|
+
};
|
|
8009
|
+
/**
|
|
8010
|
+
* Unauthorized
|
|
8011
|
+
*/
|
|
8012
|
+
401: ErrorResponse;
|
|
8013
|
+
/**
|
|
8014
|
+
* Forbidden
|
|
8015
|
+
*/
|
|
8016
|
+
403: ErrorResponse;
|
|
8017
|
+
/**
|
|
8018
|
+
* Not Found
|
|
8019
|
+
*/
|
|
8020
|
+
404: ErrorResponse;
|
|
8021
|
+
/**
|
|
8022
|
+
* Conflict
|
|
8023
|
+
*/
|
|
8024
|
+
409: ErrorResponse;
|
|
8025
|
+
/**
|
|
8026
|
+
* Internal server error
|
|
8027
|
+
*/
|
|
8028
|
+
500: ErrorResponse;
|
|
8029
|
+
/**
|
|
8030
|
+
* Service Unavailable
|
|
8031
|
+
*/
|
|
8032
|
+
503: ErrorResponse;
|
|
8033
|
+
};
|
|
8034
|
+
export type SetValueError = SetValueErrors[keyof SetValueErrors];
|
|
8035
|
+
export type SetValueResponses = {
|
|
8036
|
+
/**
|
|
8037
|
+
* Sets a single key value and returns its id
|
|
8038
|
+
*/
|
|
8039
|
+
200: {
|
|
8040
|
+
id: string;
|
|
8041
|
+
};
|
|
8042
|
+
};
|
|
8043
|
+
export type SetValueResponse = SetValueResponses[keyof SetValueResponses];
|
|
8044
|
+
export type DeleteCategValuesData = {
|
|
8045
|
+
body?: never;
|
|
8046
|
+
path: {
|
|
8047
|
+
dazlUserId: string;
|
|
8048
|
+
categ: string;
|
|
8049
|
+
};
|
|
8050
|
+
query?: never;
|
|
8051
|
+
url: '/user-key-value/{dazlUserId}/values/{categ}';
|
|
8052
|
+
};
|
|
8053
|
+
export type DeleteCategValuesErrors = {
|
|
8054
|
+
/**
|
|
8055
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
8056
|
+
*/
|
|
8057
|
+
400: {
|
|
8058
|
+
message: string;
|
|
8059
|
+
issues?: string;
|
|
8060
|
+
};
|
|
8061
|
+
/**
|
|
8062
|
+
* Unauthorized
|
|
8063
|
+
*/
|
|
8064
|
+
401: ErrorResponse;
|
|
8065
|
+
/**
|
|
8066
|
+
* Forbidden
|
|
8067
|
+
*/
|
|
8068
|
+
403: ErrorResponse;
|
|
8069
|
+
/**
|
|
8070
|
+
* Not Found
|
|
8071
|
+
*/
|
|
8072
|
+
404: ErrorResponse;
|
|
8073
|
+
/**
|
|
8074
|
+
* Conflict
|
|
8075
|
+
*/
|
|
8076
|
+
409: ErrorResponse;
|
|
8077
|
+
/**
|
|
8078
|
+
* Internal server error
|
|
8079
|
+
*/
|
|
8080
|
+
500: ErrorResponse;
|
|
8081
|
+
/**
|
|
8082
|
+
* Service Unavailable
|
|
8083
|
+
*/
|
|
8084
|
+
503: ErrorResponse;
|
|
8085
|
+
};
|
|
8086
|
+
export type DeleteCategValuesError = DeleteCategValuesErrors[keyof DeleteCategValuesErrors];
|
|
8087
|
+
export type DeleteCategValuesResponses = {
|
|
8088
|
+
/**
|
|
8089
|
+
* Deletes all values for the category
|
|
8090
|
+
*/
|
|
8091
|
+
200: {
|
|
8092
|
+
categ: string;
|
|
8093
|
+
};
|
|
8094
|
+
};
|
|
8095
|
+
export type DeleteCategValuesResponse = DeleteCategValuesResponses[keyof DeleteCategValuesResponses];
|
|
8096
|
+
export type ReplaceCategValuesData = {
|
|
8097
|
+
body: {
|
|
8098
|
+
values: Array<{
|
|
8099
|
+
name: string;
|
|
8100
|
+
value: string;
|
|
8101
|
+
isSecret?: boolean;
|
|
8102
|
+
}>;
|
|
8103
|
+
};
|
|
8104
|
+
path: {
|
|
8105
|
+
dazlUserId: string;
|
|
8106
|
+
categ: string;
|
|
8107
|
+
};
|
|
8108
|
+
query?: never;
|
|
8109
|
+
url: '/user-key-value/{dazlUserId}/values/{categ}';
|
|
8110
|
+
};
|
|
8111
|
+
export type ReplaceCategValuesErrors = {
|
|
8112
|
+
/**
|
|
8113
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
8114
|
+
*/
|
|
8115
|
+
400: {
|
|
8116
|
+
message: string;
|
|
8117
|
+
issues?: string;
|
|
8118
|
+
};
|
|
8119
|
+
/**
|
|
8120
|
+
* Unauthorized
|
|
8121
|
+
*/
|
|
8122
|
+
401: ErrorResponse;
|
|
8123
|
+
/**
|
|
8124
|
+
* Forbidden
|
|
8125
|
+
*/
|
|
8126
|
+
403: ErrorResponse;
|
|
8127
|
+
/**
|
|
8128
|
+
* Not Found
|
|
8129
|
+
*/
|
|
8130
|
+
404: ErrorResponse;
|
|
8131
|
+
/**
|
|
8132
|
+
* Conflict
|
|
8133
|
+
*/
|
|
8134
|
+
409: ErrorResponse;
|
|
8135
|
+
/**
|
|
8136
|
+
* Internal server error
|
|
8137
|
+
*/
|
|
8138
|
+
500: ErrorResponse;
|
|
8139
|
+
/**
|
|
8140
|
+
* Service Unavailable
|
|
8141
|
+
*/
|
|
8142
|
+
503: ErrorResponse;
|
|
8143
|
+
};
|
|
8144
|
+
export type ReplaceCategValuesError = ReplaceCategValuesErrors[keyof ReplaceCategValuesErrors];
|
|
8145
|
+
export type ReplaceCategValuesResponses = {
|
|
8146
|
+
/**
|
|
8147
|
+
* Replaces all values for the category and returns the upserted rows
|
|
8148
|
+
*/
|
|
8149
|
+
200: {
|
|
8150
|
+
values: Array<{
|
|
8151
|
+
id: string;
|
|
8152
|
+
name: string;
|
|
8153
|
+
}>;
|
|
8154
|
+
replaced: boolean;
|
|
8155
|
+
};
|
|
8156
|
+
};
|
|
8157
|
+
export type ReplaceCategValuesResponse = ReplaceCategValuesResponses[keyof ReplaceCategValuesResponses];
|
|
8158
|
+
export type IsPromotionOpenData = {
|
|
8159
|
+
body?: never;
|
|
8160
|
+
path: {
|
|
8161
|
+
promotionName: 'GEMINI_CREDITS_6_26' | 'PRO_FEATURE_SET_BY_ADMIN';
|
|
8162
|
+
};
|
|
8163
|
+
query?: never;
|
|
8164
|
+
url: '/promotions/is-open/{promotionName}';
|
|
8165
|
+
};
|
|
8166
|
+
export type IsPromotionOpenErrors = {
|
|
8167
|
+
/**
|
|
8168
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
8169
|
+
*/
|
|
8170
|
+
400: {
|
|
8171
|
+
message: string;
|
|
8172
|
+
issues?: string;
|
|
8173
|
+
};
|
|
8174
|
+
/**
|
|
8175
|
+
* Unauthorized
|
|
8176
|
+
*/
|
|
8177
|
+
401: ErrorResponse;
|
|
8178
|
+
/**
|
|
8179
|
+
* Forbidden
|
|
8180
|
+
*/
|
|
8181
|
+
403: ErrorResponse;
|
|
8182
|
+
/**
|
|
8183
|
+
* Not Found
|
|
8184
|
+
*/
|
|
8185
|
+
404: ErrorResponse;
|
|
8186
|
+
/**
|
|
8187
|
+
* Conflict
|
|
8188
|
+
*/
|
|
8189
|
+
409: ErrorResponse;
|
|
8190
|
+
/**
|
|
8191
|
+
* Internal server error
|
|
8192
|
+
*/
|
|
8193
|
+
500: ErrorResponse;
|
|
8194
|
+
/**
|
|
8195
|
+
* Service Unavailable
|
|
8196
|
+
*/
|
|
8197
|
+
503: ErrorResponse;
|
|
8198
|
+
};
|
|
8199
|
+
export type IsPromotionOpenError = IsPromotionOpenErrors[keyof IsPromotionOpenErrors];
|
|
8200
|
+
export type IsPromotionOpenResponses = {
|
|
8201
|
+
/**
|
|
8202
|
+
* Checks if the promotion is currently open based on its start and end dates
|
|
8203
|
+
*/
|
|
8204
|
+
200: {
|
|
8205
|
+
isOpen: boolean;
|
|
8206
|
+
};
|
|
8207
|
+
};
|
|
8208
|
+
export type IsPromotionOpenResponse = IsPromotionOpenResponses[keyof IsPromotionOpenResponses];
|
|
8209
|
+
export type DeactivateUserPromotionData = {
|
|
8210
|
+
body?: never;
|
|
8211
|
+
path: {
|
|
8212
|
+
dazlUserId: string;
|
|
8213
|
+
promotionName: 'GEMINI_CREDITS_6_26' | 'PRO_FEATURE_SET_BY_ADMIN';
|
|
8214
|
+
};
|
|
8215
|
+
query?: never;
|
|
8216
|
+
url: '/promotions/{dazlUserId}/{promotionName}';
|
|
8217
|
+
};
|
|
8218
|
+
export type DeactivateUserPromotionErrors = {
|
|
8219
|
+
/**
|
|
8220
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
8221
|
+
*/
|
|
8222
|
+
400: {
|
|
8223
|
+
message: string;
|
|
8224
|
+
issues?: string;
|
|
8225
|
+
};
|
|
8226
|
+
/**
|
|
8227
|
+
* Unauthorized
|
|
8228
|
+
*/
|
|
8229
|
+
401: ErrorResponse;
|
|
8230
|
+
/**
|
|
8231
|
+
* Forbidden
|
|
8232
|
+
*/
|
|
8233
|
+
403: ErrorResponse;
|
|
8234
|
+
/**
|
|
8235
|
+
* Not Found
|
|
8236
|
+
*/
|
|
8237
|
+
404: ErrorResponse;
|
|
8238
|
+
/**
|
|
8239
|
+
* Conflict
|
|
8240
|
+
*/
|
|
8241
|
+
409: ErrorResponse;
|
|
8242
|
+
/**
|
|
8243
|
+
* Internal server error
|
|
8244
|
+
*/
|
|
8245
|
+
500: ErrorResponse;
|
|
8246
|
+
/**
|
|
8247
|
+
* Service Unavailable
|
|
8248
|
+
*/
|
|
8249
|
+
503: ErrorResponse;
|
|
8250
|
+
};
|
|
8251
|
+
export type DeactivateUserPromotionError = DeactivateUserPromotionErrors[keyof DeactivateUserPromotionErrors];
|
|
8252
|
+
export type DeactivateUserPromotionResponses = {
|
|
8253
|
+
/**
|
|
8254
|
+
* Deactivates the user promotion
|
|
8255
|
+
*/
|
|
8256
|
+
200: {
|
|
8257
|
+
[key: string]: unknown;
|
|
8258
|
+
};
|
|
8259
|
+
};
|
|
8260
|
+
export type DeactivateUserPromotionResponse = DeactivateUserPromotionResponses[keyof DeactivateUserPromotionResponses];
|
|
8261
|
+
export type AddUserToPromotionData = {
|
|
8262
|
+
body?: never;
|
|
8263
|
+
path: {
|
|
8264
|
+
dazlUserId: string;
|
|
8265
|
+
promotionName: 'GEMINI_CREDITS_6_26' | 'PRO_FEATURE_SET_BY_ADMIN';
|
|
8266
|
+
};
|
|
8267
|
+
query?: never;
|
|
8268
|
+
url: '/promotions/{dazlUserId}/{promotionName}';
|
|
8269
|
+
};
|
|
8270
|
+
export type AddUserToPromotionErrors = {
|
|
8271
|
+
/**
|
|
8272
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
8273
|
+
*/
|
|
8274
|
+
400: {
|
|
8275
|
+
message: string;
|
|
8276
|
+
issues?: string;
|
|
8277
|
+
};
|
|
8278
|
+
/**
|
|
8279
|
+
* Unauthorized
|
|
8280
|
+
*/
|
|
8281
|
+
401: ErrorResponse;
|
|
8282
|
+
/**
|
|
8283
|
+
* Forbidden
|
|
8284
|
+
*/
|
|
8285
|
+
403: ErrorResponse;
|
|
8286
|
+
/**
|
|
8287
|
+
* Not Found
|
|
8288
|
+
*/
|
|
8289
|
+
404: ErrorResponse;
|
|
8290
|
+
/**
|
|
8291
|
+
* Conflict
|
|
8292
|
+
*/
|
|
8293
|
+
409: ErrorResponse;
|
|
8294
|
+
/**
|
|
8295
|
+
* Internal server error
|
|
8296
|
+
*/
|
|
8297
|
+
500: ErrorResponse;
|
|
8298
|
+
/**
|
|
8299
|
+
* Service Unavailable
|
|
8300
|
+
*/
|
|
8301
|
+
503: ErrorResponse;
|
|
8302
|
+
};
|
|
8303
|
+
export type AddUserToPromotionError = AddUserToPromotionErrors[keyof AddUserToPromotionErrors];
|
|
8304
|
+
export type AddUserToPromotionResponses = {
|
|
8305
|
+
/**
|
|
8306
|
+
* Adds the user to the promotion and returns whether the promotion was granted
|
|
8307
|
+
*/
|
|
8308
|
+
200: {
|
|
8309
|
+
granted: boolean;
|
|
8310
|
+
};
|
|
8311
|
+
};
|
|
8312
|
+
export type AddUserToPromotionResponse = AddUserToPromotionResponses[keyof AddUserToPromotionResponses];
|
|
8313
|
+
export type GetUserActivePromotionsData = {
|
|
8314
|
+
body?: never;
|
|
8315
|
+
path: {
|
|
8316
|
+
dazlUserId: string;
|
|
8317
|
+
};
|
|
8318
|
+
query?: never;
|
|
8319
|
+
url: '/promotions/{dazlUserId}/active';
|
|
8320
|
+
};
|
|
8321
|
+
export type GetUserActivePromotionsErrors = {
|
|
8322
|
+
/**
|
|
8323
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
8324
|
+
*/
|
|
8325
|
+
400: {
|
|
8326
|
+
message: string;
|
|
8327
|
+
issues?: string;
|
|
8328
|
+
};
|
|
8329
|
+
/**
|
|
8330
|
+
* Unauthorized
|
|
8331
|
+
*/
|
|
8332
|
+
401: ErrorResponse;
|
|
8333
|
+
/**
|
|
8334
|
+
* Forbidden
|
|
8335
|
+
*/
|
|
8336
|
+
403: ErrorResponse;
|
|
8337
|
+
/**
|
|
8338
|
+
* Not Found
|
|
8339
|
+
*/
|
|
8340
|
+
404: ErrorResponse;
|
|
8341
|
+
/**
|
|
8342
|
+
* Conflict
|
|
8343
|
+
*/
|
|
8344
|
+
409: ErrorResponse;
|
|
8345
|
+
/**
|
|
8346
|
+
* Internal server error
|
|
8347
|
+
*/
|
|
8348
|
+
500: ErrorResponse;
|
|
8349
|
+
/**
|
|
8350
|
+
* Service Unavailable
|
|
8351
|
+
*/
|
|
8352
|
+
503: ErrorResponse;
|
|
8353
|
+
};
|
|
8354
|
+
export type GetUserActivePromotionsError = GetUserActivePromotionsErrors[keyof GetUserActivePromotionsErrors];
|
|
8355
|
+
export type GetUserActivePromotionsResponses = {
|
|
8356
|
+
/**
|
|
8357
|
+
* Returns a list of the user's active promotions
|
|
8358
|
+
*/
|
|
8359
|
+
200: {
|
|
8360
|
+
activePromotions: Array<'GEMINI_CREDITS_6_26' | 'PRO_FEATURE_SET_BY_ADMIN'>;
|
|
8361
|
+
};
|
|
8362
|
+
};
|
|
8363
|
+
export type GetUserActivePromotionsResponse = GetUserActivePromotionsResponses[keyof GetUserActivePromotionsResponses];
|
|
8364
|
+
export type GetWorkflowInteractiveCapabilitiesData = {
|
|
8365
|
+
body?: never;
|
|
8366
|
+
path?: never;
|
|
8367
|
+
query?: never;
|
|
8368
|
+
url: '/workflow/capabilities';
|
|
8369
|
+
};
|
|
8370
|
+
export type GetWorkflowInteractiveCapabilitiesErrors = {
|
|
8371
|
+
/**
|
|
8372
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
8373
|
+
*/
|
|
8374
|
+
400: {
|
|
8375
|
+
message: string;
|
|
8376
|
+
issues?: string;
|
|
8377
|
+
};
|
|
8378
|
+
/**
|
|
8379
|
+
* Unauthorized
|
|
8380
|
+
*/
|
|
8381
|
+
401: ErrorResponse;
|
|
8382
|
+
/**
|
|
8383
|
+
* Forbidden
|
|
8384
|
+
*/
|
|
8385
|
+
403: ErrorResponse;
|
|
8386
|
+
/**
|
|
8387
|
+
* Not Found
|
|
8388
|
+
*/
|
|
8389
|
+
404: ErrorResponse;
|
|
8390
|
+
/**
|
|
8391
|
+
* Conflict
|
|
8392
|
+
*/
|
|
8393
|
+
409: ErrorResponse;
|
|
8394
|
+
/**
|
|
8395
|
+
* Internal server error
|
|
8396
|
+
*/
|
|
8397
|
+
500: ErrorResponse;
|
|
8398
|
+
/**
|
|
8399
|
+
* Service Unavailable
|
|
8400
|
+
*/
|
|
8401
|
+
503: ErrorResponse;
|
|
8402
|
+
};
|
|
8403
|
+
export type GetWorkflowInteractiveCapabilitiesError = GetWorkflowInteractiveCapabilitiesErrors[keyof GetWorkflowInteractiveCapabilitiesErrors];
|
|
8404
|
+
export type GetWorkflowInteractiveCapabilitiesResponses = {
|
|
8405
|
+
/**
|
|
8406
|
+
* Whether this backend can run interactive workflow steps
|
|
8407
|
+
*/
|
|
8408
|
+
200: WorkflowInteractiveCapabilities;
|
|
8409
|
+
};
|
|
8410
|
+
export type GetWorkflowInteractiveCapabilitiesResponse = GetWorkflowInteractiveCapabilitiesResponses[keyof GetWorkflowInteractiveCapabilitiesResponses];
|
|
8411
|
+
export type ListWorkflowConversationsData = {
|
|
8412
|
+
body?: never;
|
|
8413
|
+
path: {
|
|
8414
|
+
runId: string;
|
|
8415
|
+
};
|
|
8416
|
+
query?: never;
|
|
8417
|
+
url: '/workflow/runs/{runId}/conversations';
|
|
6256
8418
|
};
|
|
6257
|
-
export type
|
|
8419
|
+
export type ListWorkflowConversationsErrors = {
|
|
6258
8420
|
/**
|
|
6259
8421
|
* Bad request - Invalid parameters or malformed JSON
|
|
6260
8422
|
*/
|
|
@@ -6267,17 +8429,13 @@ export type ScrapePageContentErrors = {
|
|
|
6267
8429
|
*/
|
|
6268
8430
|
401: ErrorResponse;
|
|
6269
8431
|
/**
|
|
6270
|
-
* Forbidden
|
|
8432
|
+
* Forbidden
|
|
6271
8433
|
*/
|
|
6272
|
-
403:
|
|
6273
|
-
message: string;
|
|
6274
|
-
};
|
|
8434
|
+
403: ErrorResponse;
|
|
6275
8435
|
/**
|
|
6276
|
-
* Not
|
|
8436
|
+
* Not Found
|
|
6277
8437
|
*/
|
|
6278
|
-
404:
|
|
6279
|
-
message: string;
|
|
6280
|
-
};
|
|
8438
|
+
404: ErrorResponse;
|
|
6281
8439
|
/**
|
|
6282
8440
|
* Conflict
|
|
6283
8441
|
*/
|
|
@@ -6291,75 +8449,23 @@ export type ScrapePageContentErrors = {
|
|
|
6291
8449
|
*/
|
|
6292
8450
|
503: ErrorResponse;
|
|
6293
8451
|
};
|
|
6294
|
-
export type
|
|
6295
|
-
export type
|
|
8452
|
+
export type ListWorkflowConversationsError = ListWorkflowConversationsErrors[keyof ListWorkflowConversationsErrors];
|
|
8453
|
+
export type ListWorkflowConversationsResponses = {
|
|
6296
8454
|
/**
|
|
6297
|
-
*
|
|
8455
|
+
* Safe summaries of a run's conversations: identity, position and permissions, never content
|
|
6298
8456
|
*/
|
|
6299
|
-
200:
|
|
6300
|
-
/**
|
|
6301
|
-
* Whether the operation succeeded
|
|
6302
|
-
*/
|
|
6303
|
-
success: boolean;
|
|
6304
|
-
/**
|
|
6305
|
-
* Cleaned HTML content of the page (processed for readability)
|
|
6306
|
-
*/
|
|
6307
|
-
html: string;
|
|
6308
|
-
/**
|
|
6309
|
-
* Raw HTML content of the page as-is
|
|
6310
|
-
*/
|
|
6311
|
-
rawHtml: string;
|
|
6312
|
-
/**
|
|
6313
|
-
* Page metadata
|
|
6314
|
-
*/
|
|
6315
|
-
metadata?: {
|
|
6316
|
-
title?: string;
|
|
6317
|
-
description?: string;
|
|
6318
|
-
language?: string;
|
|
6319
|
-
sourceURL?: string;
|
|
6320
|
-
keywords?: string;
|
|
6321
|
-
ogLocaleAlternate?: Array<string>;
|
|
6322
|
-
statusCode: number;
|
|
6323
|
-
error?: string;
|
|
6324
|
-
};
|
|
6325
|
-
/**
|
|
6326
|
-
* Structured branding/design system data (when includeBranding is true)
|
|
6327
|
-
*/
|
|
6328
|
-
branding?: {
|
|
6329
|
-
colorScheme?: 'light' | 'dark' | null;
|
|
6330
|
-
logo?: string | null;
|
|
6331
|
-
colors?: {
|
|
6332
|
-
[key: string]: unknown;
|
|
6333
|
-
} | null;
|
|
6334
|
-
fonts?: Array<{
|
|
6335
|
-
[key: string]: unknown;
|
|
6336
|
-
}> | null;
|
|
6337
|
-
typography?: {
|
|
6338
|
-
[key: string]: unknown;
|
|
6339
|
-
} | null;
|
|
6340
|
-
spacing?: {
|
|
6341
|
-
[key: string]: unknown;
|
|
6342
|
-
} | null;
|
|
6343
|
-
components?: {
|
|
6344
|
-
[key: string]: unknown;
|
|
6345
|
-
} | null;
|
|
6346
|
-
images?: {
|
|
6347
|
-
[key: string]: unknown;
|
|
6348
|
-
} | null;
|
|
6349
|
-
[key: string]: unknown;
|
|
6350
|
-
};
|
|
6351
|
-
};
|
|
8457
|
+
200: WorkflowConversationList;
|
|
6352
8458
|
};
|
|
6353
|
-
export type
|
|
6354
|
-
export type
|
|
8459
|
+
export type ListWorkflowConversationsResponse = ListWorkflowConversationsResponses[keyof ListWorkflowConversationsResponses];
|
|
8460
|
+
export type GetWorkflowConversationForChatData = {
|
|
6355
8461
|
body?: never;
|
|
6356
8462
|
path: {
|
|
6357
|
-
|
|
8463
|
+
chatId: string;
|
|
6358
8464
|
};
|
|
6359
8465
|
query?: never;
|
|
6360
|
-
url: '/
|
|
8466
|
+
url: '/workflow/chats/{chatId}/conversation';
|
|
6361
8467
|
};
|
|
6362
|
-
export type
|
|
8468
|
+
export type GetWorkflowConversationForChatErrors = {
|
|
6363
8469
|
/**
|
|
6364
8470
|
* Bad request - Invalid parameters or malformed JSON
|
|
6365
8471
|
*/
|
|
@@ -6392,29 +8498,75 @@ export type GetUserByDazlIdErrors = {
|
|
|
6392
8498
|
*/
|
|
6393
8499
|
503: ErrorResponse;
|
|
6394
8500
|
};
|
|
6395
|
-
export type
|
|
6396
|
-
export type
|
|
8501
|
+
export type GetWorkflowConversationForChatError = GetWorkflowConversationForChatErrors[keyof GetWorkflowConversationForChatErrors];
|
|
8502
|
+
export type GetWorkflowConversationForChatResponses = {
|
|
6397
8503
|
/**
|
|
6398
|
-
*
|
|
8504
|
+
* The conversation this chat belongs to, or null for an ordinary chat or one the caller may not read
|
|
6399
8505
|
*/
|
|
6400
|
-
200:
|
|
6401
|
-
|
|
8506
|
+
200: WorkflowConversationForChat;
|
|
8507
|
+
};
|
|
8508
|
+
export type GetWorkflowConversationForChatResponse = GetWorkflowConversationForChatResponses[keyof GetWorkflowConversationForChatResponses];
|
|
8509
|
+
export type GetWorkflowConversationData = {
|
|
8510
|
+
body?: never;
|
|
8511
|
+
path: {
|
|
8512
|
+
conversationId: string;
|
|
6402
8513
|
};
|
|
8514
|
+
query?: {
|
|
8515
|
+
limit?: number;
|
|
8516
|
+
before?: string;
|
|
8517
|
+
};
|
|
8518
|
+
url: '/workflow/conversations/{conversationId}';
|
|
6403
8519
|
};
|
|
6404
|
-
export type
|
|
6405
|
-
|
|
6406
|
-
|
|
6407
|
-
|
|
6408
|
-
|
|
6409
|
-
|
|
8520
|
+
export type GetWorkflowConversationErrors = {
|
|
8521
|
+
/**
|
|
8522
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
8523
|
+
*/
|
|
8524
|
+
400: {
|
|
8525
|
+
message: string;
|
|
8526
|
+
issues?: string;
|
|
6410
8527
|
};
|
|
8528
|
+
/**
|
|
8529
|
+
* Unauthorized
|
|
8530
|
+
*/
|
|
8531
|
+
401: ErrorResponse;
|
|
8532
|
+
/**
|
|
8533
|
+
* Forbidden
|
|
8534
|
+
*/
|
|
8535
|
+
403: ErrorResponse;
|
|
8536
|
+
/**
|
|
8537
|
+
* Not Found
|
|
8538
|
+
*/
|
|
8539
|
+
404: ErrorResponse;
|
|
8540
|
+
/**
|
|
8541
|
+
* Conflict
|
|
8542
|
+
*/
|
|
8543
|
+
409: ErrorResponse;
|
|
8544
|
+
/**
|
|
8545
|
+
* Internal server error
|
|
8546
|
+
*/
|
|
8547
|
+
500: ErrorResponse;
|
|
8548
|
+
/**
|
|
8549
|
+
* Service Unavailable
|
|
8550
|
+
*/
|
|
8551
|
+
503: ErrorResponse;
|
|
8552
|
+
};
|
|
8553
|
+
export type GetWorkflowConversationError = GetWorkflowConversationErrors[keyof GetWorkflowConversationErrors];
|
|
8554
|
+
export type GetWorkflowConversationResponses = {
|
|
8555
|
+
/**
|
|
8556
|
+
* One page of a conversation the caller is authorized to read
|
|
8557
|
+
*/
|
|
8558
|
+
200: WorkflowConversationDetail;
|
|
8559
|
+
};
|
|
8560
|
+
export type GetWorkflowConversationResponse = GetWorkflowConversationResponses[keyof GetWorkflowConversationResponses];
|
|
8561
|
+
export type PostWorkflowConversationMessageData = {
|
|
8562
|
+
body: WorkflowConversationMessageInput;
|
|
6411
8563
|
path: {
|
|
6412
|
-
|
|
8564
|
+
conversationId: string;
|
|
6413
8565
|
};
|
|
6414
8566
|
query?: never;
|
|
6415
|
-
url: '/
|
|
8567
|
+
url: '/workflow/conversations/{conversationId}/messages';
|
|
6416
8568
|
};
|
|
6417
|
-
export type
|
|
8569
|
+
export type PostWorkflowConversationMessageErrors = {
|
|
6418
8570
|
/**
|
|
6419
8571
|
* Bad request - Invalid parameters or malformed JSON
|
|
6420
8572
|
*/
|
|
@@ -6447,25 +8599,23 @@ export type UpdateUserErrors = {
|
|
|
6447
8599
|
*/
|
|
6448
8600
|
503: ErrorResponse;
|
|
6449
8601
|
};
|
|
6450
|
-
export type
|
|
6451
|
-
export type
|
|
8602
|
+
export type PostWorkflowConversationMessageError = PostWorkflowConversationMessageErrors[keyof PostWorkflowConversationMessageErrors];
|
|
8603
|
+
export type PostWorkflowConversationMessageResponses = {
|
|
6452
8604
|
/**
|
|
6453
|
-
*
|
|
8605
|
+
* Records the caller's message and queues the agent turn that answers it
|
|
6454
8606
|
*/
|
|
6455
|
-
200:
|
|
6456
|
-
user: UserRaw;
|
|
6457
|
-
};
|
|
8607
|
+
200: WorkflowConversationPostedMessage;
|
|
6458
8608
|
};
|
|
6459
|
-
export type
|
|
6460
|
-
export type
|
|
6461
|
-
body:
|
|
6462
|
-
|
|
8609
|
+
export type PostWorkflowConversationMessageResponse = PostWorkflowConversationMessageResponses[keyof PostWorkflowConversationMessageResponses];
|
|
8610
|
+
export type CompleteWorkflowConversationData = {
|
|
8611
|
+
body: WorkflowConversationCompleteInput;
|
|
8612
|
+
path: {
|
|
8613
|
+
conversationId: string;
|
|
6463
8614
|
};
|
|
6464
|
-
path?: never;
|
|
6465
8615
|
query?: never;
|
|
6466
|
-
url: '/
|
|
8616
|
+
url: '/workflow/conversations/{conversationId}/complete';
|
|
6467
8617
|
};
|
|
6468
|
-
export type
|
|
8618
|
+
export type CompleteWorkflowConversationErrors = {
|
|
6469
8619
|
/**
|
|
6470
8620
|
* Bad request - Invalid parameters or malformed JSON
|
|
6471
8621
|
*/
|
|
@@ -6498,25 +8648,23 @@ export type GetUsersByDazlIdsErrors = {
|
|
|
6498
8648
|
*/
|
|
6499
8649
|
503: ErrorResponse;
|
|
6500
8650
|
};
|
|
6501
|
-
export type
|
|
6502
|
-
export type
|
|
8651
|
+
export type CompleteWorkflowConversationError = CompleteWorkflowConversationErrors[keyof CompleteWorkflowConversationErrors];
|
|
8652
|
+
export type CompleteWorkflowConversationResponses = {
|
|
6503
8653
|
/**
|
|
6504
|
-
*
|
|
8654
|
+
* Marks an interactive work step done with the draft the caller was shown
|
|
6505
8655
|
*/
|
|
6506
|
-
200:
|
|
6507
|
-
users: Array<UserDisplayInfoResponse>;
|
|
6508
|
-
};
|
|
8656
|
+
200: WorkflowConversationOk;
|
|
6509
8657
|
};
|
|
6510
|
-
export type
|
|
6511
|
-
export type
|
|
6512
|
-
body:
|
|
6513
|
-
|
|
8658
|
+
export type CompleteWorkflowConversationResponse = CompleteWorkflowConversationResponses[keyof CompleteWorkflowConversationResponses];
|
|
8659
|
+
export type DecideWorkflowConversationData = {
|
|
8660
|
+
body: WorkflowConversationDecisionInput;
|
|
8661
|
+
path: {
|
|
8662
|
+
conversationId: string;
|
|
6514
8663
|
};
|
|
6515
|
-
path?: never;
|
|
6516
8664
|
query?: never;
|
|
6517
|
-
url: '/
|
|
8665
|
+
url: '/workflow/conversations/{conversationId}/decide';
|
|
6518
8666
|
};
|
|
6519
|
-
export type
|
|
8667
|
+
export type DecideWorkflowConversationErrors = {
|
|
6520
8668
|
/**
|
|
6521
8669
|
* Bad request - Invalid parameters or malformed JSON
|
|
6522
8670
|
*/
|
|
@@ -6549,30 +8697,23 @@ export type GetUsersByEmailsErrors = {
|
|
|
6549
8697
|
*/
|
|
6550
8698
|
503: ErrorResponse;
|
|
6551
8699
|
};
|
|
6552
|
-
export type
|
|
6553
|
-
export type
|
|
8700
|
+
export type DecideWorkflowConversationError = DecideWorkflowConversationErrors[keyof DecideWorkflowConversationErrors];
|
|
8701
|
+
export type DecideWorkflowConversationResponses = {
|
|
6554
8702
|
/**
|
|
6555
|
-
*
|
|
8703
|
+
* One reviewer entry's own human decision and the findings it publishes
|
|
6556
8704
|
*/
|
|
6557
|
-
200:
|
|
6558
|
-
users: Array<UserDisplayInfoResponse>;
|
|
6559
|
-
};
|
|
8705
|
+
200: WorkflowConversationOk;
|
|
6560
8706
|
};
|
|
6561
|
-
export type
|
|
6562
|
-
export type
|
|
6563
|
-
body:
|
|
6564
|
-
|
|
6565
|
-
|
|
6566
|
-
email: string;
|
|
6567
|
-
authSub: string;
|
|
6568
|
-
picture?: string | null;
|
|
6569
|
-
jobRole?: string | null;
|
|
8707
|
+
export type DecideWorkflowConversationResponse = DecideWorkflowConversationResponses[keyof DecideWorkflowConversationResponses];
|
|
8708
|
+
export type StopWorkflowConversationTurnData = {
|
|
8709
|
+
body: WorkflowTurnActionInput;
|
|
8710
|
+
path: {
|
|
8711
|
+
turnId: string;
|
|
6570
8712
|
};
|
|
6571
|
-
path?: never;
|
|
6572
8713
|
query?: never;
|
|
6573
|
-
url: '/
|
|
8714
|
+
url: '/workflow/conversation-turns/{turnId}/stop';
|
|
6574
8715
|
};
|
|
6575
|
-
export type
|
|
8716
|
+
export type StopWorkflowConversationTurnErrors = {
|
|
6576
8717
|
/**
|
|
6577
8718
|
* Bad request - Invalid parameters or malformed JSON
|
|
6578
8719
|
*/
|
|
@@ -6605,72 +8746,23 @@ export type CreateUserErrors = {
|
|
|
6605
8746
|
*/
|
|
6606
8747
|
503: ErrorResponse;
|
|
6607
8748
|
};
|
|
6608
|
-
export type
|
|
6609
|
-
export type
|
|
8749
|
+
export type StopWorkflowConversationTurnError = StopWorkflowConversationTurnErrors[keyof StopWorkflowConversationTurnErrors];
|
|
8750
|
+
export type StopWorkflowConversationTurnResponses = {
|
|
6610
8751
|
/**
|
|
6611
|
-
*
|
|
8752
|
+
* Cancels a queued turn, or asks the worker holding an accepted one to stop; advisory until confirmed
|
|
6612
8753
|
*/
|
|
6613
|
-
200:
|
|
6614
|
-
user: UserRaw;
|
|
6615
|
-
};
|
|
8754
|
+
200: WorkflowConversationActionResult;
|
|
6616
8755
|
};
|
|
6617
|
-
export type
|
|
6618
|
-
export type
|
|
6619
|
-
body:
|
|
6620
|
-
|
|
6621
|
-
|
|
6622
|
-
*/
|
|
6623
|
-
query: string;
|
|
6624
|
-
/**
|
|
6625
|
-
* Maximum number of results to return
|
|
6626
|
-
*/
|
|
6627
|
-
limit?: number;
|
|
6628
|
-
/**
|
|
6629
|
-
* Location parameter for search results
|
|
6630
|
-
*/
|
|
6631
|
-
location?: string;
|
|
6632
|
-
/**
|
|
6633
|
-
* Timeout for the search in milliseconds
|
|
6634
|
-
*/
|
|
6635
|
-
timeout?: number;
|
|
6636
|
-
/**
|
|
6637
|
-
* Options for scraping search results
|
|
6638
|
-
*/
|
|
6639
|
-
scrapeOptions?: {
|
|
6640
|
-
/**
|
|
6641
|
-
* Formats to return
|
|
6642
|
-
*/
|
|
6643
|
-
formats?: Array<'summary' | 'json' | {
|
|
6644
|
-
type: 'json';
|
|
6645
|
-
prompt: string;
|
|
6646
|
-
schema?: {
|
|
6647
|
-
[key: string]: unknown;
|
|
6648
|
-
};
|
|
6649
|
-
} | {
|
|
6650
|
-
type: 'summary' | 'json';
|
|
6651
|
-
}>;
|
|
6652
|
-
/**
|
|
6653
|
-
* Maximum age of cached content
|
|
6654
|
-
*/
|
|
6655
|
-
maxAge?: number;
|
|
6656
|
-
/**
|
|
6657
|
-
* Timeout for scraping each document in milliseconds
|
|
6658
|
-
*/
|
|
6659
|
-
timeout?: number;
|
|
6660
|
-
/**
|
|
6661
|
-
* Parsers to use for content extraction
|
|
6662
|
-
*/
|
|
6663
|
-
parsers?: Array<string | {
|
|
6664
|
-
type: 'pdf';
|
|
6665
|
-
maxPages?: number;
|
|
6666
|
-
}>;
|
|
6667
|
-
};
|
|
8756
|
+
export type StopWorkflowConversationTurnResponse = StopWorkflowConversationTurnResponses[keyof StopWorkflowConversationTurnResponses];
|
|
8757
|
+
export type RetryWorkflowConversationTurnData = {
|
|
8758
|
+
body: WorkflowTurnActionInput;
|
|
8759
|
+
path: {
|
|
8760
|
+
turnId: string;
|
|
6668
8761
|
};
|
|
6669
|
-
path?: never;
|
|
6670
8762
|
query?: never;
|
|
6671
|
-
url: '/
|
|
8763
|
+
url: '/workflow/conversation-turns/{turnId}/retry';
|
|
6672
8764
|
};
|
|
6673
|
-
export type
|
|
8765
|
+
export type RetryWorkflowConversationTurnErrors = {
|
|
6674
8766
|
/**
|
|
6675
8767
|
* Bad request - Invalid parameters or malformed JSON
|
|
6676
8768
|
*/
|
|
@@ -6703,34 +8795,23 @@ export type SearchWebErrors = {
|
|
|
6703
8795
|
*/
|
|
6704
8796
|
503: ErrorResponse;
|
|
6705
8797
|
};
|
|
6706
|
-
export type
|
|
6707
|
-
export type
|
|
8798
|
+
export type RetryWorkflowConversationTurnError = RetryWorkflowConversationTurnErrors[keyof RetryWorkflowConversationTurnErrors];
|
|
8799
|
+
export type RetryWorkflowConversationTurnResponses = {
|
|
6708
8800
|
/**
|
|
6709
|
-
*
|
|
8801
|
+
* Runs a settled turn again under a new attempt
|
|
6710
8802
|
*/
|
|
6711
|
-
200:
|
|
6712
|
-
web?: Array<{
|
|
6713
|
-
url: string;
|
|
6714
|
-
title?: string;
|
|
6715
|
-
description?: string;
|
|
6716
|
-
json?: unknown;
|
|
6717
|
-
summary?: string;
|
|
6718
|
-
metadata?: {
|
|
6719
|
-
creditsUsed?: number;
|
|
6720
|
-
};
|
|
6721
|
-
}>;
|
|
6722
|
-
};
|
|
8803
|
+
200: WorkflowConversationActionResult;
|
|
6723
8804
|
};
|
|
6724
|
-
export type
|
|
6725
|
-
export type
|
|
6726
|
-
body
|
|
8805
|
+
export type RetryWorkflowConversationTurnResponse = RetryWorkflowConversationTurnResponses[keyof RetryWorkflowConversationTurnResponses];
|
|
8806
|
+
export type ListWorkflowQueuedTurnsData = {
|
|
8807
|
+
body?: never;
|
|
6727
8808
|
path: {
|
|
6728
8809
|
projectId: string;
|
|
6729
8810
|
};
|
|
6730
8811
|
query?: never;
|
|
6731
|
-
url: '/
|
|
8812
|
+
url: '/workflow/projects/{projectId}/conversation-turns';
|
|
6732
8813
|
};
|
|
6733
|
-
export type
|
|
8814
|
+
export type ListWorkflowQueuedTurnsErrors = {
|
|
6734
8815
|
/**
|
|
6735
8816
|
* Bad request - Invalid parameters or malformed JSON
|
|
6736
8817
|
*/
|
|
@@ -6763,24 +8844,23 @@ export type AdminDeleteProjectErrors = {
|
|
|
6763
8844
|
*/
|
|
6764
8845
|
503: ErrorResponse;
|
|
6765
8846
|
};
|
|
6766
|
-
export type
|
|
6767
|
-
export type
|
|
8847
|
+
export type ListWorkflowQueuedTurnsError = ListWorkflowQueuedTurnsErrors[keyof ListWorkflowQueuedTurnsErrors];
|
|
8848
|
+
export type ListWorkflowQueuedTurnsResponses = {
|
|
6768
8849
|
/**
|
|
6769
|
-
*
|
|
8850
|
+
* Queue metadata for a project's claimable turns; carries no transcript
|
|
6770
8851
|
*/
|
|
6771
|
-
200:
|
|
6772
|
-
|
|
8852
|
+
200: WorkflowTurnOfferList;
|
|
8853
|
+
};
|
|
8854
|
+
export type ListWorkflowQueuedTurnsResponse = ListWorkflowQueuedTurnsResponses[keyof ListWorkflowQueuedTurnsResponses];
|
|
8855
|
+
export type AnnounceWorkflowWorkerSessionData = {
|
|
8856
|
+
body: WorkflowWorkerSession;
|
|
8857
|
+
path: {
|
|
6773
8858
|
projectId: string;
|
|
6774
8859
|
};
|
|
6775
|
-
};
|
|
6776
|
-
export type AdminDeleteProjectResponse = AdminDeleteProjectResponses[keyof AdminDeleteProjectResponses];
|
|
6777
|
-
export type AdminCloneProjectCreateData = {
|
|
6778
|
-
body: CloneProjectCreateInput;
|
|
6779
|
-
path?: never;
|
|
6780
8860
|
query?: never;
|
|
6781
|
-
url: '/
|
|
8861
|
+
url: '/workflow/projects/{projectId}/worker-sessions';
|
|
6782
8862
|
};
|
|
6783
|
-
export type
|
|
8863
|
+
export type AnnounceWorkflowWorkerSessionErrors = {
|
|
6784
8864
|
/**
|
|
6785
8865
|
* Bad request - Invalid parameters or malformed JSON
|
|
6786
8866
|
*/
|
|
@@ -6813,23 +8893,23 @@ export type AdminCloneProjectCreateErrors = {
|
|
|
6813
8893
|
*/
|
|
6814
8894
|
503: ErrorResponse;
|
|
6815
8895
|
};
|
|
6816
|
-
export type
|
|
6817
|
-
export type
|
|
8896
|
+
export type AnnounceWorkflowWorkerSessionError = AnnounceWorkflowWorkerSessionErrors[keyof AnnounceWorkflowWorkerSessionErrors];
|
|
8897
|
+
export type AnnounceWorkflowWorkerSessionResponses = {
|
|
6818
8898
|
/**
|
|
6819
|
-
*
|
|
8899
|
+
* Declares this worker as the project's current one and settles the turns its predecessor left behind
|
|
6820
8900
|
*/
|
|
6821
|
-
200:
|
|
6822
|
-
newProjectId: string;
|
|
6823
|
-
};
|
|
8901
|
+
200: WorkflowWorkerSessionResult;
|
|
6824
8902
|
};
|
|
6825
|
-
export type
|
|
6826
|
-
export type
|
|
6827
|
-
body:
|
|
6828
|
-
path
|
|
8903
|
+
export type AnnounceWorkflowWorkerSessionResponse = AnnounceWorkflowWorkerSessionResponses[keyof AnnounceWorkflowWorkerSessionResponses];
|
|
8904
|
+
export type AcceptWorkflowConversationTurnData = {
|
|
8905
|
+
body: WorkflowTurnAcceptInput;
|
|
8906
|
+
path: {
|
|
8907
|
+
turnId: string;
|
|
8908
|
+
};
|
|
6829
8909
|
query?: never;
|
|
6830
|
-
url: '/
|
|
8910
|
+
url: '/workflow/conversation-turns/{turnId}/accept';
|
|
6831
8911
|
};
|
|
6832
|
-
export type
|
|
8912
|
+
export type AcceptWorkflowConversationTurnErrors = {
|
|
6833
8913
|
/**
|
|
6834
8914
|
* Bad request - Invalid parameters or malformed JSON
|
|
6835
8915
|
*/
|
|
@@ -6862,23 +8942,23 @@ export type AdminCloneProjectLogErrors = {
|
|
|
6862
8942
|
*/
|
|
6863
8943
|
503: ErrorResponse;
|
|
6864
8944
|
};
|
|
6865
|
-
export type
|
|
6866
|
-
export type
|
|
8945
|
+
export type AcceptWorkflowConversationTurnError = AcceptWorkflowConversationTurnErrors[keyof AcceptWorkflowConversationTurnErrors];
|
|
8946
|
+
export type AcceptWorkflowConversationTurnResponses = {
|
|
6867
8947
|
/**
|
|
6868
|
-
*
|
|
8948
|
+
* Claims this conversation's next queued turn and returns its lease
|
|
6869
8949
|
*/
|
|
6870
|
-
200:
|
|
6871
|
-
success: boolean;
|
|
6872
|
-
};
|
|
8950
|
+
200: WorkflowTurnAcceptance;
|
|
6873
8951
|
};
|
|
6874
|
-
export type
|
|
6875
|
-
export type
|
|
6876
|
-
body:
|
|
6877
|
-
path
|
|
8952
|
+
export type AcceptWorkflowConversationTurnResponse = AcceptWorkflowConversationTurnResponses[keyof AcceptWorkflowConversationTurnResponses];
|
|
8953
|
+
export type ReportWorkflowConversationTurnResultData = {
|
|
8954
|
+
body: WorkflowTurnResultInput;
|
|
8955
|
+
path: {
|
|
8956
|
+
turnId: string;
|
|
8957
|
+
};
|
|
6878
8958
|
query?: never;
|
|
6879
|
-
url: '/
|
|
8959
|
+
url: '/workflow/conversation-turns/{turnId}/result';
|
|
6880
8960
|
};
|
|
6881
|
-
export type
|
|
8961
|
+
export type ReportWorkflowConversationTurnResultErrors = {
|
|
6882
8962
|
/**
|
|
6883
8963
|
* Bad request - Invalid parameters or malformed JSON
|
|
6884
8964
|
*/
|
|
@@ -6911,23 +8991,23 @@ export type AdminCleanupProjectErrors = {
|
|
|
6911
8991
|
*/
|
|
6912
8992
|
503: ErrorResponse;
|
|
6913
8993
|
};
|
|
6914
|
-
export type
|
|
6915
|
-
export type
|
|
8994
|
+
export type ReportWorkflowConversationTurnResultError = ReportWorkflowConversationTurnResultErrors[keyof ReportWorkflowConversationTurnResultErrors];
|
|
8995
|
+
export type ReportWorkflowConversationTurnResultResponses = {
|
|
6916
8996
|
/**
|
|
6917
|
-
*
|
|
8997
|
+
* Records the outcome of the turn this worker holds
|
|
6918
8998
|
*/
|
|
6919
|
-
200:
|
|
6920
|
-
success: boolean;
|
|
6921
|
-
};
|
|
8999
|
+
200: WorkflowConversationActionResult;
|
|
6922
9000
|
};
|
|
6923
|
-
export type
|
|
6924
|
-
export type
|
|
6925
|
-
body:
|
|
6926
|
-
path
|
|
9001
|
+
export type ReportWorkflowConversationTurnResultResponse = ReportWorkflowConversationTurnResultResponses[keyof ReportWorkflowConversationTurnResultResponses];
|
|
9002
|
+
export type HeartbeatWorkflowConversationTurnData = {
|
|
9003
|
+
body: WorkflowTurnClaimInput;
|
|
9004
|
+
path: {
|
|
9005
|
+
turnId: string;
|
|
9006
|
+
};
|
|
6927
9007
|
query?: never;
|
|
6928
|
-
url: '/
|
|
9008
|
+
url: '/workflow/conversation-turns/{turnId}/heartbeat';
|
|
6929
9009
|
};
|
|
6930
|
-
export type
|
|
9010
|
+
export type HeartbeatWorkflowConversationTurnErrors = {
|
|
6931
9011
|
/**
|
|
6932
9012
|
* Bad request - Invalid parameters or malformed JSON
|
|
6933
9013
|
*/
|
|
@@ -6960,38 +9040,23 @@ export type AdminUpdateCreditsErrors = {
|
|
|
6960
9040
|
*/
|
|
6961
9041
|
503: ErrorResponse;
|
|
6962
9042
|
};
|
|
6963
|
-
export type
|
|
6964
|
-
export type
|
|
9043
|
+
export type HeartbeatWorkflowConversationTurnError = HeartbeatWorkflowConversationTurnErrors[keyof HeartbeatWorkflowConversationTurnErrors];
|
|
9044
|
+
export type HeartbeatWorkflowConversationTurnResponses = {
|
|
6965
9045
|
/**
|
|
6966
|
-
*
|
|
9046
|
+
* Renews this turn's lease and reports whether a person asked it to stop
|
|
6967
9047
|
*/
|
|
6968
|
-
200:
|
|
6969
|
-
success: boolean;
|
|
6970
|
-
newBalance: number;
|
|
6971
|
-
};
|
|
9048
|
+
200: WorkflowTurnHeartbeat;
|
|
6972
9049
|
};
|
|
6973
|
-
export type
|
|
6974
|
-
export type
|
|
6975
|
-
body:
|
|
6976
|
-
|
|
6977
|
-
|
|
6978
|
-
* The target user's Dazl ID
|
|
6979
|
-
*/
|
|
6980
|
-
targetDazlUserId?: string;
|
|
6981
|
-
targetProjectId?: string;
|
|
6982
|
-
message: string;
|
|
6983
|
-
reason?: string;
|
|
6984
|
-
} & {
|
|
6985
|
-
/**
|
|
6986
|
-
* The admin user's Dazl ID
|
|
6987
|
-
*/
|
|
6988
|
-
adminDazlUserId: string;
|
|
9050
|
+
export type HeartbeatWorkflowConversationTurnResponse = HeartbeatWorkflowConversationTurnResponses[keyof HeartbeatWorkflowConversationTurnResponses];
|
|
9051
|
+
export type AcknowledgeWorkflowConversationTurnStoppedData = {
|
|
9052
|
+
body: WorkflowTurnClaimInput;
|
|
9053
|
+
path: {
|
|
9054
|
+
turnId: string;
|
|
6989
9055
|
};
|
|
6990
|
-
path?: never;
|
|
6991
9056
|
query?: never;
|
|
6992
|
-
url: '/
|
|
9057
|
+
url: '/workflow/conversation-turns/{turnId}/stopped';
|
|
6993
9058
|
};
|
|
6994
|
-
export type
|
|
9059
|
+
export type AcknowledgeWorkflowConversationTurnStoppedErrors = {
|
|
6995
9060
|
/**
|
|
6996
9061
|
* Bad request - Invalid parameters or malformed JSON
|
|
6997
9062
|
*/
|
|
@@ -7024,26 +9089,23 @@ export type AdminLogActionErrors = {
|
|
|
7024
9089
|
*/
|
|
7025
9090
|
503: ErrorResponse;
|
|
7026
9091
|
};
|
|
7027
|
-
export type
|
|
7028
|
-
export type
|
|
9092
|
+
export type AcknowledgeWorkflowConversationTurnStoppedError = AcknowledgeWorkflowConversationTurnStoppedErrors[keyof AcknowledgeWorkflowConversationTurnStoppedErrors];
|
|
9093
|
+
export type AcknowledgeWorkflowConversationTurnStoppedResponses = {
|
|
7029
9094
|
/**
|
|
7030
|
-
*
|
|
9095
|
+
* The worker's confirmation that it stopped, which is what makes a retry safe
|
|
7031
9096
|
*/
|
|
7032
|
-
200:
|
|
7033
|
-
success: boolean;
|
|
7034
|
-
};
|
|
9097
|
+
200: WorkflowConversationActionResult;
|
|
7035
9098
|
};
|
|
7036
|
-
export type
|
|
7037
|
-
export type
|
|
7038
|
-
body
|
|
7039
|
-
|
|
7040
|
-
|
|
9099
|
+
export type AcknowledgeWorkflowConversationTurnStoppedResponse = AcknowledgeWorkflowConversationTurnStoppedResponses[keyof AcknowledgeWorkflowConversationTurnStoppedResponses];
|
|
9100
|
+
export type ListWorkflowRunsData = {
|
|
9101
|
+
body?: never;
|
|
9102
|
+
path: {
|
|
9103
|
+
projectId: string;
|
|
7041
9104
|
};
|
|
7042
|
-
path?: never;
|
|
7043
9105
|
query?: never;
|
|
7044
|
-
url: '/
|
|
9106
|
+
url: '/workflow/projects/{projectId}/runs';
|
|
7045
9107
|
};
|
|
7046
|
-
export type
|
|
9108
|
+
export type ListWorkflowRunsErrors = {
|
|
7047
9109
|
/**
|
|
7048
9110
|
* Bad request - Invalid parameters or malformed JSON
|
|
7049
9111
|
*/
|
|
@@ -7076,25 +9138,25 @@ export type OpenFeatureToggleErrors = {
|
|
|
7076
9138
|
*/
|
|
7077
9139
|
503: ErrorResponse;
|
|
7078
9140
|
};
|
|
7079
|
-
export type
|
|
7080
|
-
export type
|
|
9141
|
+
export type ListWorkflowRunsError = ListWorkflowRunsErrors[keyof ListWorkflowRunsErrors];
|
|
9142
|
+
export type ListWorkflowRunsResponses = {
|
|
7081
9143
|
/**
|
|
7082
|
-
*
|
|
9144
|
+
* Lists a project's workflow runs, most recent first
|
|
7083
9145
|
*/
|
|
7084
9146
|
200: {
|
|
7085
|
-
|
|
9147
|
+
runs: Array<WorkflowRun>;
|
|
7086
9148
|
};
|
|
7087
9149
|
};
|
|
7088
|
-
export type
|
|
7089
|
-
export type
|
|
7090
|
-
body:
|
|
7091
|
-
|
|
9150
|
+
export type ListWorkflowRunsResponse = ListWorkflowRunsResponses[keyof ListWorkflowRunsResponses];
|
|
9151
|
+
export type StartWorkflowRunData = {
|
|
9152
|
+
body: StartWorkflowRunInput;
|
|
9153
|
+
path: {
|
|
9154
|
+
projectId: string;
|
|
7092
9155
|
};
|
|
7093
|
-
path?: never;
|
|
7094
9156
|
query?: never;
|
|
7095
|
-
url: '/
|
|
9157
|
+
url: '/workflow/projects/{projectId}/runs';
|
|
7096
9158
|
};
|
|
7097
|
-
export type
|
|
9159
|
+
export type StartWorkflowRunErrors = {
|
|
7098
9160
|
/**
|
|
7099
9161
|
* Bad request - Invalid parameters or malformed JSON
|
|
7100
9162
|
*/
|
|
@@ -7127,23 +9189,25 @@ export type CloseFeatureToggleErrors = {
|
|
|
7127
9189
|
*/
|
|
7128
9190
|
503: ErrorResponse;
|
|
7129
9191
|
};
|
|
7130
|
-
export type
|
|
7131
|
-
export type
|
|
9192
|
+
export type StartWorkflowRunError = StartWorkflowRunErrors[keyof StartWorkflowRunErrors];
|
|
9193
|
+
export type StartWorkflowRunResponses = {
|
|
7132
9194
|
/**
|
|
7133
|
-
*
|
|
9195
|
+
* Starts a run from a working-tree workflow document
|
|
7134
9196
|
*/
|
|
7135
9197
|
200: {
|
|
7136
|
-
|
|
9198
|
+
run: WorkflowRun;
|
|
7137
9199
|
};
|
|
7138
9200
|
};
|
|
7139
|
-
export type
|
|
7140
|
-
export type
|
|
7141
|
-
body
|
|
7142
|
-
path
|
|
9201
|
+
export type StartWorkflowRunResponse = StartWorkflowRunResponses[keyof StartWorkflowRunResponses];
|
|
9202
|
+
export type ListWorkflowOffersData = {
|
|
9203
|
+
body?: never;
|
|
9204
|
+
path: {
|
|
9205
|
+
projectId: string;
|
|
9206
|
+
};
|
|
7143
9207
|
query?: never;
|
|
7144
|
-
url: '/
|
|
9208
|
+
url: '/workflow/projects/{projectId}/offers';
|
|
7145
9209
|
};
|
|
7146
|
-
export type
|
|
9210
|
+
export type ListWorkflowOffersErrors = {
|
|
7147
9211
|
/**
|
|
7148
9212
|
* Bad request - Invalid parameters or malformed JSON
|
|
7149
9213
|
*/
|
|
@@ -7176,36 +9240,25 @@ export type PurgeUserAccountErrors = {
|
|
|
7176
9240
|
*/
|
|
7177
9241
|
503: ErrorResponse;
|
|
7178
9242
|
};
|
|
7179
|
-
export type
|
|
7180
|
-
export type
|
|
9243
|
+
export type ListWorkflowOffersError = ListWorkflowOffersErrors[keyof ListWorkflowOffersErrors];
|
|
9244
|
+
export type ListWorkflowOffersResponses = {
|
|
7181
9245
|
/**
|
|
7182
|
-
*
|
|
9246
|
+
* Lists the nodes offered to a container polling this project
|
|
7183
9247
|
*/
|
|
7184
9248
|
200: {
|
|
7185
|
-
|
|
7186
|
-
results: {
|
|
7187
|
-
[key: string]: {
|
|
7188
|
-
discovered: Array<string>;
|
|
7189
|
-
deleted: Array<string>;
|
|
7190
|
-
};
|
|
7191
|
-
};
|
|
9249
|
+
offers: Array<WorkflowDispatchPayload>;
|
|
7192
9250
|
};
|
|
7193
9251
|
};
|
|
7194
|
-
export type
|
|
7195
|
-
export type
|
|
9252
|
+
export type ListWorkflowOffersResponse = ListWorkflowOffersResponses[keyof ListWorkflowOffersResponses];
|
|
9253
|
+
export type GetWorkflowRunData = {
|
|
7196
9254
|
body?: never;
|
|
7197
9255
|
path: {
|
|
7198
|
-
|
|
7199
|
-
};
|
|
7200
|
-
query?: {
|
|
7201
|
-
/**
|
|
7202
|
-
* Filter results to this category
|
|
7203
|
-
*/
|
|
7204
|
-
categ?: string;
|
|
9256
|
+
runId: string;
|
|
7205
9257
|
};
|
|
7206
|
-
|
|
9258
|
+
query?: never;
|
|
9259
|
+
url: '/workflow/runs/{runId}';
|
|
7207
9260
|
};
|
|
7208
|
-
export type
|
|
9261
|
+
export type GetWorkflowRunErrors = {
|
|
7209
9262
|
/**
|
|
7210
9263
|
* Bad request - Invalid parameters or malformed JSON
|
|
7211
9264
|
*/
|
|
@@ -7238,40 +9291,30 @@ export type GetValuesErrors = {
|
|
|
7238
9291
|
*/
|
|
7239
9292
|
503: ErrorResponse;
|
|
7240
9293
|
};
|
|
7241
|
-
export type
|
|
7242
|
-
export type
|
|
9294
|
+
export type GetWorkflowRunError = GetWorkflowRunErrors[keyof GetWorkflowRunErrors];
|
|
9295
|
+
export type GetWorkflowRunResponses = {
|
|
7243
9296
|
/**
|
|
7244
|
-
* Returns
|
|
9297
|
+
* Returns a run's full detail: the run row, its nodes, events, review decisions and projected graph
|
|
7245
9298
|
*/
|
|
7246
9299
|
200: {
|
|
7247
|
-
|
|
7248
|
-
|
|
7249
|
-
|
|
7250
|
-
|
|
7251
|
-
|
|
7252
|
-
strVal: string | null;
|
|
7253
|
-
encryptedValId: string | null;
|
|
7254
|
-
createdAt: string;
|
|
7255
|
-
updatedAt: string;
|
|
7256
|
-
encryptedValue: string | null;
|
|
7257
|
-
}>;
|
|
9300
|
+
run: WorkflowRun;
|
|
9301
|
+
nodes: Array<WorkflowNodeRun>;
|
|
9302
|
+
events: Array<WorkflowRunEvent>;
|
|
9303
|
+
decisions: Array<WorkflowReviewDecision>;
|
|
9304
|
+
graph: WorkflowRunGraph;
|
|
7258
9305
|
};
|
|
7259
9306
|
};
|
|
7260
|
-
export type
|
|
7261
|
-
export type
|
|
7262
|
-
body:
|
|
7263
|
-
value: string;
|
|
7264
|
-
isSecret?: boolean;
|
|
7265
|
-
};
|
|
9307
|
+
export type GetWorkflowRunResponse = GetWorkflowRunResponses[keyof GetWorkflowRunResponses];
|
|
9308
|
+
export type AcceptWorkflowNodeData = {
|
|
9309
|
+
body: AcceptWorkflowNodeInput;
|
|
7266
9310
|
path: {
|
|
7267
|
-
|
|
7268
|
-
|
|
7269
|
-
name: string;
|
|
9311
|
+
runId: string;
|
|
9312
|
+
nodeKey: string;
|
|
7270
9313
|
};
|
|
7271
9314
|
query?: never;
|
|
7272
|
-
url: '/
|
|
9315
|
+
url: '/workflow/runs/{runId}/nodes/{nodeKey}/accept';
|
|
7273
9316
|
};
|
|
7274
|
-
export type
|
|
9317
|
+
export type AcceptWorkflowNodeErrors = {
|
|
7275
9318
|
/**
|
|
7276
9319
|
* Bad request - Invalid parameters or malformed JSON
|
|
7277
9320
|
*/
|
|
@@ -7304,26 +9347,23 @@ export type SetValueErrors = {
|
|
|
7304
9347
|
*/
|
|
7305
9348
|
503: ErrorResponse;
|
|
7306
9349
|
};
|
|
7307
|
-
export type
|
|
7308
|
-
export type
|
|
9350
|
+
export type AcceptWorkflowNodeError = AcceptWorkflowNodeErrors[keyof AcceptWorkflowNodeErrors];
|
|
9351
|
+
export type AcceptWorkflowNodeResponses = {
|
|
7309
9352
|
/**
|
|
7310
|
-
*
|
|
9353
|
+
* Accepts an offered node and returns its authoritative execution payload
|
|
7311
9354
|
*/
|
|
7312
|
-
200:
|
|
7313
|
-
id: string;
|
|
7314
|
-
};
|
|
9355
|
+
200: AcceptedWorkflowNode;
|
|
7315
9356
|
};
|
|
7316
|
-
export type
|
|
7317
|
-
export type
|
|
7318
|
-
body
|
|
9357
|
+
export type AcceptWorkflowNodeResponse = AcceptWorkflowNodeResponses[keyof AcceptWorkflowNodeResponses];
|
|
9358
|
+
export type SetWorkflowHarnessData = {
|
|
9359
|
+
body: SetWorkflowHarnessInput;
|
|
7319
9360
|
path: {
|
|
7320
|
-
|
|
7321
|
-
categ: string;
|
|
9361
|
+
runId: string;
|
|
7322
9362
|
};
|
|
7323
9363
|
query?: never;
|
|
7324
|
-
url: '/
|
|
9364
|
+
url: '/workflow/runs/{runId}/harness';
|
|
7325
9365
|
};
|
|
7326
|
-
export type
|
|
9366
|
+
export type SetWorkflowHarnessErrors = {
|
|
7327
9367
|
/**
|
|
7328
9368
|
* Bad request - Invalid parameters or malformed JSON
|
|
7329
9369
|
*/
|
|
@@ -7356,32 +9396,26 @@ export type DeleteCategValuesErrors = {
|
|
|
7356
9396
|
*/
|
|
7357
9397
|
503: ErrorResponse;
|
|
7358
9398
|
};
|
|
7359
|
-
export type
|
|
7360
|
-
export type
|
|
9399
|
+
export type SetWorkflowHarnessError = SetWorkflowHarnessErrors[keyof SetWorkflowHarnessErrors];
|
|
9400
|
+
export type SetWorkflowHarnessResponses = {
|
|
7361
9401
|
/**
|
|
7362
|
-
*
|
|
9402
|
+
* Changes a live run's selected harness
|
|
7363
9403
|
*/
|
|
7364
9404
|
200: {
|
|
7365
|
-
|
|
9405
|
+
applied: boolean;
|
|
7366
9406
|
};
|
|
7367
9407
|
};
|
|
7368
|
-
export type
|
|
7369
|
-
export type
|
|
7370
|
-
body:
|
|
7371
|
-
values: Array<{
|
|
7372
|
-
name: string;
|
|
7373
|
-
value: string;
|
|
7374
|
-
isSecret?: boolean;
|
|
7375
|
-
}>;
|
|
7376
|
-
};
|
|
9408
|
+
export type SetWorkflowHarnessResponse = SetWorkflowHarnessResponses[keyof SetWorkflowHarnessResponses];
|
|
9409
|
+
export type ReportWorkflowNodeResultData = {
|
|
9410
|
+
body: WorkflowNodeResultInput;
|
|
7377
9411
|
path: {
|
|
7378
|
-
|
|
7379
|
-
|
|
9412
|
+
runId: string;
|
|
9413
|
+
nodeKey: string;
|
|
7380
9414
|
};
|
|
7381
9415
|
query?: never;
|
|
7382
|
-
url: '/
|
|
9416
|
+
url: '/workflow/runs/{runId}/nodes/{nodeKey}/result';
|
|
7383
9417
|
};
|
|
7384
|
-
export type
|
|
9418
|
+
export type ReportWorkflowNodeResultErrors = {
|
|
7385
9419
|
/**
|
|
7386
9420
|
* Bad request - Invalid parameters or malformed JSON
|
|
7387
9421
|
*/
|
|
@@ -7414,29 +9448,26 @@ export type ReplaceCategValuesErrors = {
|
|
|
7414
9448
|
*/
|
|
7415
9449
|
503: ErrorResponse;
|
|
7416
9450
|
};
|
|
7417
|
-
export type
|
|
7418
|
-
export type
|
|
9451
|
+
export type ReportWorkflowNodeResultError = ReportWorkflowNodeResultErrors[keyof ReportWorkflowNodeResultErrors];
|
|
9452
|
+
export type ReportWorkflowNodeResultResponses = {
|
|
7419
9453
|
/**
|
|
7420
|
-
*
|
|
9454
|
+
* Records a work node's terminal result
|
|
7421
9455
|
*/
|
|
7422
9456
|
200: {
|
|
7423
|
-
|
|
7424
|
-
id: string;
|
|
7425
|
-
name: string;
|
|
7426
|
-
}>;
|
|
7427
|
-
replaced: boolean;
|
|
9457
|
+
applied: boolean;
|
|
7428
9458
|
};
|
|
7429
9459
|
};
|
|
7430
|
-
export type
|
|
7431
|
-
export type
|
|
7432
|
-
body
|
|
9460
|
+
export type ReportWorkflowNodeResultResponse = ReportWorkflowNodeResultResponses[keyof ReportWorkflowNodeResultResponses];
|
|
9461
|
+
export type ReportWorkflowReviewData = {
|
|
9462
|
+
body: WorkflowReviewReportInput;
|
|
7433
9463
|
path: {
|
|
7434
|
-
|
|
9464
|
+
runId: string;
|
|
9465
|
+
nodeKey: string;
|
|
7435
9466
|
};
|
|
7436
9467
|
query?: never;
|
|
7437
|
-
url: '/
|
|
9468
|
+
url: '/workflow/runs/{runId}/nodes/{nodeKey}/review';
|
|
7438
9469
|
};
|
|
7439
|
-
export type
|
|
9470
|
+
export type ReportWorkflowReviewErrors = {
|
|
7440
9471
|
/**
|
|
7441
9472
|
* Bad request - Invalid parameters or malformed JSON
|
|
7442
9473
|
*/
|
|
@@ -7469,26 +9500,26 @@ export type IsPromotionOpenErrors = {
|
|
|
7469
9500
|
*/
|
|
7470
9501
|
503: ErrorResponse;
|
|
7471
9502
|
};
|
|
7472
|
-
export type
|
|
7473
|
-
export type
|
|
9503
|
+
export type ReportWorkflowReviewError = ReportWorkflowReviewErrors[keyof ReportWorkflowReviewErrors];
|
|
9504
|
+
export type ReportWorkflowReviewResponses = {
|
|
7474
9505
|
/**
|
|
7475
|
-
*
|
|
9506
|
+
* Records a reviewer's approval or objection
|
|
7476
9507
|
*/
|
|
7477
9508
|
200: {
|
|
7478
|
-
|
|
9509
|
+
applied: boolean;
|
|
7479
9510
|
};
|
|
7480
9511
|
};
|
|
7481
|
-
export type
|
|
7482
|
-
export type
|
|
7483
|
-
body
|
|
9512
|
+
export type ReportWorkflowReviewResponse = ReportWorkflowReviewResponses[keyof ReportWorkflowReviewResponses];
|
|
9513
|
+
export type DecideWorkflowReviewData = {
|
|
9514
|
+
body: WorkflowHumanDecisionInput;
|
|
7484
9515
|
path: {
|
|
7485
|
-
|
|
7486
|
-
|
|
9516
|
+
runId: string;
|
|
9517
|
+
nodeKey: string;
|
|
7487
9518
|
};
|
|
7488
9519
|
query?: never;
|
|
7489
|
-
url: '/
|
|
9520
|
+
url: '/workflow/runs/{runId}/nodes/{nodeKey}/decide';
|
|
7490
9521
|
};
|
|
7491
|
-
export type
|
|
9522
|
+
export type DecideWorkflowReviewErrors = {
|
|
7492
9523
|
/**
|
|
7493
9524
|
* Bad request - Invalid parameters or malformed JSON
|
|
7494
9525
|
*/
|
|
@@ -7521,26 +9552,26 @@ export type DeactivateUserPromotionErrors = {
|
|
|
7521
9552
|
*/
|
|
7522
9553
|
503: ErrorResponse;
|
|
7523
9554
|
};
|
|
7524
|
-
export type
|
|
7525
|
-
export type
|
|
9555
|
+
export type DecideWorkflowReviewError = DecideWorkflowReviewErrors[keyof DecideWorkflowReviewErrors];
|
|
9556
|
+
export type DecideWorkflowReviewResponses = {
|
|
7526
9557
|
/**
|
|
7527
|
-
*
|
|
9558
|
+
* A person's approve/reject decision on an objection parked for them
|
|
7528
9559
|
*/
|
|
7529
9560
|
200: {
|
|
7530
|
-
|
|
9561
|
+
ok: true;
|
|
7531
9562
|
};
|
|
7532
9563
|
};
|
|
7533
|
-
export type
|
|
7534
|
-
export type
|
|
9564
|
+
export type DecideWorkflowReviewResponse = DecideWorkflowReviewResponses[keyof DecideWorkflowReviewResponses];
|
|
9565
|
+
export type RetryWorkflowNodeData = {
|
|
7535
9566
|
body?: never;
|
|
7536
9567
|
path: {
|
|
7537
|
-
|
|
7538
|
-
|
|
9568
|
+
runId: string;
|
|
9569
|
+
nodeKey: string;
|
|
7539
9570
|
};
|
|
7540
9571
|
query?: never;
|
|
7541
|
-
url: '/
|
|
9572
|
+
url: '/workflow/runs/{runId}/nodes/{nodeKey}/retry';
|
|
7542
9573
|
};
|
|
7543
|
-
export type
|
|
9574
|
+
export type RetryWorkflowNodeErrors = {
|
|
7544
9575
|
/**
|
|
7545
9576
|
* Bad request - Invalid parameters or malformed JSON
|
|
7546
9577
|
*/
|
|
@@ -7573,25 +9604,25 @@ export type AddUserToPromotionErrors = {
|
|
|
7573
9604
|
*/
|
|
7574
9605
|
503: ErrorResponse;
|
|
7575
9606
|
};
|
|
7576
|
-
export type
|
|
7577
|
-
export type
|
|
9607
|
+
export type RetryWorkflowNodeError = RetryWorkflowNodeErrors[keyof RetryWorkflowNodeErrors];
|
|
9608
|
+
export type RetryWorkflowNodeResponses = {
|
|
7578
9609
|
/**
|
|
7579
|
-
*
|
|
9610
|
+
* Puts an errored node back in play
|
|
7580
9611
|
*/
|
|
7581
9612
|
200: {
|
|
7582
|
-
|
|
9613
|
+
applied: boolean;
|
|
7583
9614
|
};
|
|
7584
9615
|
};
|
|
7585
|
-
export type
|
|
7586
|
-
export type
|
|
9616
|
+
export type RetryWorkflowNodeResponse = RetryWorkflowNodeResponses[keyof RetryWorkflowNodeResponses];
|
|
9617
|
+
export type CancelWorkflowRunData = {
|
|
7587
9618
|
body?: never;
|
|
7588
9619
|
path: {
|
|
7589
|
-
|
|
9620
|
+
runId: string;
|
|
7590
9621
|
};
|
|
7591
9622
|
query?: never;
|
|
7592
|
-
url: '/
|
|
9623
|
+
url: '/workflow/runs/{runId}/cancel';
|
|
7593
9624
|
};
|
|
7594
|
-
export type
|
|
9625
|
+
export type CancelWorkflowRunErrors = {
|
|
7595
9626
|
/**
|
|
7596
9627
|
* Bad request - Invalid parameters or malformed JSON
|
|
7597
9628
|
*/
|
|
@@ -7624,16 +9655,16 @@ export type GetUserActivePromotionsErrors = {
|
|
|
7624
9655
|
*/
|
|
7625
9656
|
503: ErrorResponse;
|
|
7626
9657
|
};
|
|
7627
|
-
export type
|
|
7628
|
-
export type
|
|
9658
|
+
export type CancelWorkflowRunError = CancelWorkflowRunErrors[keyof CancelWorkflowRunErrors];
|
|
9659
|
+
export type CancelWorkflowRunResponses = {
|
|
7629
9660
|
/**
|
|
7630
|
-
*
|
|
9661
|
+
* Cancels a live run
|
|
7631
9662
|
*/
|
|
7632
9663
|
200: {
|
|
7633
|
-
|
|
9664
|
+
applied: boolean;
|
|
7634
9665
|
};
|
|
7635
9666
|
};
|
|
7636
|
-
export type
|
|
9667
|
+
export type CancelWorkflowRunResponse = CancelWorkflowRunResponses[keyof CancelWorkflowRunResponses];
|
|
7637
9668
|
export type GetFeatureTogglesData = {
|
|
7638
9669
|
body?: never;
|
|
7639
9670
|
path?: never;
|