@kilocode/sdk 7.4.15 → 7.4.16
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/v2/gen/sdk.gen.d.ts +91 -67
- package/dist/v2/gen/sdk.gen.js +160 -102
- package/dist/v2/gen/types.gen.d.ts +305 -233
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export type ClientOptions = {
|
|
2
2
|
baseUrl: `${string}://${string}` | (string & {});
|
|
3
3
|
};
|
|
4
|
-
export type Event = EventServerInstanceDisposed | EventSessionNetworkAsked | EventSessionNetworkReplied | EventSessionNetworkRejected | EventSessionNetworkRestored | EventBackgroundProcessUpdated | EventBackgroundProcessDeleted | EventInteractiveTerminalUpdated | EventInteractiveTerminalData | EventInteractiveTerminalDeleted |
|
|
4
|
+
export type Event = EventServerInstanceDisposed | EventSessionTurnOpen | EventSessionTurnClose | EventSessionQueueChanged | EventSessionNetworkAsked | EventSessionNetworkReplied | EventSessionNetworkRejected | EventSessionNetworkRestored | EventBackgroundProcessUpdated | EventBackgroundProcessDeleted | EventInteractiveTerminalUpdated | EventInteractiveTerminalData | EventInteractiveTerminalDeleted | EventSandboxStatusChanged | EventSuggestionShown | EventSuggestionAccepted | EventSuggestionDismissed | EventKilocodeAgentManagerStart | EventKilocodeAgentManagerRequested | EventKilocodeAgentManagerCancelled | EventKilocodeNotebookRequested | EventKilocodeNotebookCancelled | EventKiloSessionsRemoteStatusChanged | EventLspClientDiagnostics | EventMemoryStatus1 | EventMemoryUpdated1 | EventMemoryError1 | EventIndexingStatus | EventIndexingWarning | EventServerConnected | EventGlobalDisposed | EventGlobalConfigUpdated | EventPluginAdded | EventCatalogModelUpdated | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventSessionNextAgentSwitched | EventSessionNextModelSwitched | EventSessionNextMoved | EventSessionNextPrompted | EventSessionNextPromptAdmitted | EventSessionNextPromptPromoted | EventSessionNextInterruptRequested | EventSessionNextContextUpdated | EventSessionNextSynthetic | EventSessionNextShellStarted | EventSessionNextShellEnded | EventSessionNextStepStarted | EventSessionNextStepEnded | EventSessionNextStepFailed | EventSessionNextTextStarted | EventSessionNextTextDelta | EventSessionNextTextEnded | EventSessionNextReasoningStarted | EventSessionNextReasoningDelta | EventSessionNextReasoningEnded | EventSessionNextToolInputStarted | EventSessionNextToolInputDelta | EventSessionNextToolInputEnded | EventSessionNextToolCalled | EventSessionNextToolProgress | EventSessionNextToolSuccess | EventSessionNextToolFailed | EventSessionNextRetried | EventSessionNextCompactionStarted | EventSessionNextCompactionDelta | EventSessionNextCompactionEnded | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow1 | EventTuiSessionSelect | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventMessagePartDelta | EventSessionDiff | EventSessionError | EventModelsDevRefreshed | EventInstallationUpdated | EventInstallationUpdateAvailable | EventPermissionAsked | EventPermissionReplied | EventReferenceUpdated | EventIntegrationUpdated | EventPermissionV2Asked | EventPermissionV2Replied | EventProjectDirectoriesUpdated | EventFileEdited | EventFileWatcherUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventQuestionV2Asked | EventQuestionV2Replied | EventQuestionV2Rejected | EventTodoUpdated | EventSessionStatus | EventSessionIdle | EventSessionCompacted | EventCommandExecuted | EventProjectUpdated | EventVcsBranchUpdated | EventLspUpdated | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceStatus | EventWorktreeReady | EventWorktreeFailed;
|
|
5
5
|
export type QuestionReplied = {
|
|
6
6
|
sessionID: string;
|
|
7
7
|
requestID: string;
|
|
@@ -571,6 +571,9 @@ export type StepStartPart = {
|
|
|
571
571
|
messageID: string;
|
|
572
572
|
type: "step-start";
|
|
573
573
|
snapshot?: string;
|
|
574
|
+
time?: {
|
|
575
|
+
start: number;
|
|
576
|
+
};
|
|
574
577
|
};
|
|
575
578
|
export type StepFinishPart = {
|
|
576
579
|
id: string;
|
|
@@ -583,6 +586,18 @@ export type StepFinishPart = {
|
|
|
583
586
|
providerID: string;
|
|
584
587
|
modelID: string;
|
|
585
588
|
};
|
|
589
|
+
generationID?: string;
|
|
590
|
+
vercelID?: string;
|
|
591
|
+
metrics?: {
|
|
592
|
+
prompt?: number;
|
|
593
|
+
generation?: number;
|
|
594
|
+
source: "provider" | "computed";
|
|
595
|
+
};
|
|
596
|
+
time?: {
|
|
597
|
+
start: number;
|
|
598
|
+
end: number;
|
|
599
|
+
elapsed: number;
|
|
600
|
+
};
|
|
586
601
|
cost: number;
|
|
587
602
|
tokens: {
|
|
588
603
|
total?: number;
|
|
@@ -791,7 +806,7 @@ export type GlobalEvent = {
|
|
|
791
806
|
directory: string;
|
|
792
807
|
project?: string;
|
|
793
808
|
workspace?: string;
|
|
794
|
-
payload: EventServerInstanceDisposed | EventSessionNetworkAsked | EventSessionNetworkReplied | EventSessionNetworkRejected | EventSessionNetworkRestored | EventBackgroundProcessUpdated | EventBackgroundProcessDeleted | EventInteractiveTerminalUpdated | EventInteractiveTerminalData | EventInteractiveTerminalDeleted |
|
|
809
|
+
payload: EventServerInstanceDisposed | EventSessionTurnOpen | EventSessionTurnClose | EventSessionQueueChanged | EventSessionNetworkAsked | EventSessionNetworkReplied | EventSessionNetworkRejected | EventSessionNetworkRestored | EventBackgroundProcessUpdated | EventBackgroundProcessDeleted | EventInteractiveTerminalUpdated | EventInteractiveTerminalData | EventInteractiveTerminalDeleted | EventSandboxStatusChanged | EventSuggestionShown | EventSuggestionAccepted | EventSuggestionDismissed | EventKilocodeAgentManagerStart | EventKilocodeAgentManagerRequested | EventKilocodeAgentManagerCancelled | EventKilocodeNotebookRequested | EventKilocodeNotebookCancelled | EventKiloSessionsRemoteStatusChanged | EventLspClientDiagnostics | EventMemoryStatus | EventMemoryUpdated | EventMemoryError | EventIndexingStatus | EventIndexingWarning | EventServerConnected | EventGlobalDisposed | EventGlobalConfigUpdated | EventPluginAdded | EventCatalogModelUpdated | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventSessionNextAgentSwitched | EventSessionNextModelSwitched | EventSessionNextMoved | EventSessionNextPrompted | EventSessionNextPromptAdmitted | EventSessionNextPromptPromoted | EventSessionNextInterruptRequested | EventSessionNextContextUpdated | EventSessionNextSynthetic | EventSessionNextShellStarted | EventSessionNextShellEnded | EventSessionNextStepStarted | EventSessionNextStepEnded | EventSessionNextStepFailed | EventSessionNextTextStarted | EventSessionNextTextDelta | EventSessionNextTextEnded | EventSessionNextReasoningStarted | EventSessionNextReasoningDelta | EventSessionNextReasoningEnded | EventSessionNextToolInputStarted | EventSessionNextToolInputDelta | EventSessionNextToolInputEnded | EventSessionNextToolCalled | EventSessionNextToolProgress | EventSessionNextToolSuccess | EventSessionNextToolFailed | EventSessionNextRetried | EventSessionNextCompactionStarted | EventSessionNextCompactionDelta | EventSessionNextCompactionEnded | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventMessagePartDelta | EventSessionDiff | EventSessionError | EventModelsDevRefreshed | EventInstallationUpdated | EventInstallationUpdateAvailable | EventPermissionAsked | EventPermissionReplied | EventReferenceUpdated | EventIntegrationUpdated | EventPermissionV2Asked | EventPermissionV2Replied | EventProjectDirectoriesUpdated | EventFileEdited | EventFileWatcherUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventQuestionV2Asked | EventQuestionV2Replied | EventQuestionV2Rejected | EventTodoUpdated | EventSessionStatus | EventSessionIdle | EventSessionCompacted | EventCommandExecuted | EventProjectUpdated | EventVcsBranchUpdated | EventLspUpdated | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceStatus | EventWorktreeReady | EventWorktreeFailed | SyncEventSessionCreated | SyncEventSessionUpdated | SyncEventSessionDeleted | SyncEventMessageUpdated | SyncEventMessageRemoved | SyncEventMessagePartUpdated | SyncEventMessagePartRemoved | SyncEventSessionNextAgentSwitched | SyncEventSessionNextModelSwitched | SyncEventSessionNextMoved | SyncEventSessionNextPrompted | SyncEventSessionNextPromptAdmitted | SyncEventSessionNextPromptPromoted | SyncEventSessionNextContextUpdated | SyncEventSessionNextSynthetic | SyncEventSessionNextShellStarted | SyncEventSessionNextShellEnded | SyncEventSessionNextStepStarted | SyncEventSessionNextStepEnded | SyncEventSessionNextStepFailed | SyncEventSessionNextTextStarted | SyncEventSessionNextTextEnded | SyncEventSessionNextReasoningStarted | SyncEventSessionNextReasoningEnded | SyncEventSessionNextToolInputStarted | SyncEventSessionNextToolInputEnded | SyncEventSessionNextToolCalled | SyncEventSessionNextToolProgress | SyncEventSessionNextToolSuccess | SyncEventSessionNextToolFailed | SyncEventSessionNextRetried | SyncEventSessionNextCompactionStarted | SyncEventSessionNextCompactionEnded;
|
|
795
810
|
};
|
|
796
811
|
/**
|
|
797
812
|
* Log level
|
|
@@ -955,11 +970,8 @@ export type ProviderConfig = {
|
|
|
955
970
|
* Timeout in milliseconds to wait for response headers. Provider integrations may set defaults. Set to false to disable timeout.
|
|
956
971
|
*/
|
|
957
972
|
headerTimeout?: number | false;
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
*/
|
|
961
|
-
chunkTimeout?: number | false;
|
|
962
|
-
[key: string]: unknown | string | boolean | number | false | number | false | number | false | undefined;
|
|
973
|
+
chunkTimeout?: number;
|
|
974
|
+
[key: string]: unknown | string | boolean | number | false | number | false | number | undefined;
|
|
963
975
|
};
|
|
964
976
|
models?: {
|
|
965
977
|
[key: string]: {
|
|
@@ -1687,13 +1699,6 @@ export type ProjectNotFoundError = {
|
|
|
1687
1699
|
projectID: string;
|
|
1688
1700
|
message: string;
|
|
1689
1701
|
};
|
|
1690
|
-
export type ProjectCopyError = {
|
|
1691
|
-
name: "ProjectCopyError";
|
|
1692
|
-
data: {
|
|
1693
|
-
message: string;
|
|
1694
|
-
forceRequired?: boolean;
|
|
1695
|
-
};
|
|
1696
|
-
};
|
|
1697
1702
|
export type PtyNotFoundError = {
|
|
1698
1703
|
_tag: "PtyNotFoundError";
|
|
1699
1704
|
ptyID: string;
|
|
@@ -2822,6 +2827,13 @@ export type ProviderNotFoundError = {
|
|
|
2822
2827
|
providerID: string;
|
|
2823
2828
|
message: string;
|
|
2824
2829
|
};
|
|
2830
|
+
export type ProjectCopyError = {
|
|
2831
|
+
name: "ProjectCopyError";
|
|
2832
|
+
data: {
|
|
2833
|
+
message: string;
|
|
2834
|
+
forceRequired?: boolean;
|
|
2835
|
+
};
|
|
2836
|
+
};
|
|
2825
2837
|
export type EffectHttpApiErrorForbidden = {
|
|
2826
2838
|
_tag: "Forbidden";
|
|
2827
2839
|
};
|
|
@@ -2854,6 +2866,30 @@ export type EventServerInstanceDisposed = {
|
|
|
2854
2866
|
directory: string;
|
|
2855
2867
|
};
|
|
2856
2868
|
};
|
|
2869
|
+
export type EventSessionTurnOpen = {
|
|
2870
|
+
id: string;
|
|
2871
|
+
type: "session.turn.open";
|
|
2872
|
+
properties: {
|
|
2873
|
+
sessionID: string;
|
|
2874
|
+
};
|
|
2875
|
+
};
|
|
2876
|
+
export type EventSessionTurnClose = {
|
|
2877
|
+
id: string;
|
|
2878
|
+
type: "session.turn.close";
|
|
2879
|
+
properties: {
|
|
2880
|
+
sessionID: string;
|
|
2881
|
+
parentID?: string;
|
|
2882
|
+
reason: "completed" | "error" | "interrupted";
|
|
2883
|
+
};
|
|
2884
|
+
};
|
|
2885
|
+
export type EventSessionQueueChanged = {
|
|
2886
|
+
id: string;
|
|
2887
|
+
type: "session.queue.changed";
|
|
2888
|
+
properties: {
|
|
2889
|
+
sessionID: string;
|
|
2890
|
+
queued: Array<string>;
|
|
2891
|
+
};
|
|
2892
|
+
};
|
|
2857
2893
|
export type EventSessionNetworkAsked = {
|
|
2858
2894
|
id: string;
|
|
2859
2895
|
type: "session.network.asked";
|
|
@@ -2926,22 +2962,6 @@ export type EventInteractiveTerminalDeleted = {
|
|
|
2926
2962
|
sessionID: string;
|
|
2927
2963
|
};
|
|
2928
2964
|
};
|
|
2929
|
-
export type EventSessionTurnOpen = {
|
|
2930
|
-
id: string;
|
|
2931
|
-
type: "session.turn.open";
|
|
2932
|
-
properties: {
|
|
2933
|
-
sessionID: string;
|
|
2934
|
-
};
|
|
2935
|
-
};
|
|
2936
|
-
export type EventSessionTurnClose = {
|
|
2937
|
-
id: string;
|
|
2938
|
-
type: "session.turn.close";
|
|
2939
|
-
properties: {
|
|
2940
|
-
sessionID: string;
|
|
2941
|
-
parentID?: string;
|
|
2942
|
-
reason: "completed" | "error" | "interrupted";
|
|
2943
|
-
};
|
|
2944
|
-
};
|
|
2945
2965
|
export type EventSandboxStatusChanged = {
|
|
2946
2966
|
id: string;
|
|
2947
2967
|
type: "sandbox.status.changed";
|
|
@@ -3036,14 +3056,6 @@ export type EventKilocodeNotebookCancelled = {
|
|
|
3036
3056
|
reason: "cancelled" | "disposed" | "timeout";
|
|
3037
3057
|
};
|
|
3038
3058
|
};
|
|
3039
|
-
export type EventLspClientDiagnostics = {
|
|
3040
|
-
id: string;
|
|
3041
|
-
type: "lsp.client.diagnostics";
|
|
3042
|
-
properties: {
|
|
3043
|
-
serverID: string;
|
|
3044
|
-
path: string;
|
|
3045
|
-
};
|
|
3046
|
-
};
|
|
3047
3059
|
export type EventKiloSessionsRemoteStatusChanged = {
|
|
3048
3060
|
id: string;
|
|
3049
3061
|
type: "kilo-sessions.remote-status-changed";
|
|
@@ -3052,6 +3064,14 @@ export type EventKiloSessionsRemoteStatusChanged = {
|
|
|
3052
3064
|
connected: boolean;
|
|
3053
3065
|
};
|
|
3054
3066
|
};
|
|
3067
|
+
export type EventLspClientDiagnostics = {
|
|
3068
|
+
id: string;
|
|
3069
|
+
type: "lsp.client.diagnostics";
|
|
3070
|
+
properties: {
|
|
3071
|
+
serverID: string;
|
|
3072
|
+
path: string;
|
|
3073
|
+
};
|
|
3074
|
+
};
|
|
3055
3075
|
export type EventMemoryStatus = {
|
|
3056
3076
|
id: string;
|
|
3057
3077
|
type: "memory.status";
|
|
@@ -3193,53 +3213,6 @@ export type EventGlobalConfigUpdated = {
|
|
|
3193
3213
|
[key: string]: unknown;
|
|
3194
3214
|
};
|
|
3195
3215
|
};
|
|
3196
|
-
export type CredentialOAuth = {
|
|
3197
|
-
type: "oauth";
|
|
3198
|
-
refresh: string;
|
|
3199
|
-
access: string;
|
|
3200
|
-
expires: number;
|
|
3201
|
-
metadata?: {
|
|
3202
|
-
[key: string]: string;
|
|
3203
|
-
};
|
|
3204
|
-
};
|
|
3205
|
-
export type CredentialKey = {
|
|
3206
|
-
type: "key";
|
|
3207
|
-
key: string;
|
|
3208
|
-
metadata?: {
|
|
3209
|
-
[key: string]: string;
|
|
3210
|
-
};
|
|
3211
|
-
};
|
|
3212
|
-
export type CredentialValue = CredentialOAuth | CredentialKey;
|
|
3213
|
-
export type CredentialInfo = {
|
|
3214
|
-
id: string;
|
|
3215
|
-
connectorID: string;
|
|
3216
|
-
methodID: string;
|
|
3217
|
-
label: string;
|
|
3218
|
-
value: CredentialValue;
|
|
3219
|
-
};
|
|
3220
|
-
export type EventCredentialAdded = {
|
|
3221
|
-
id: string;
|
|
3222
|
-
type: "credential.added";
|
|
3223
|
-
properties: {
|
|
3224
|
-
credential: CredentialInfo;
|
|
3225
|
-
};
|
|
3226
|
-
};
|
|
3227
|
-
export type EventCredentialRemoved = {
|
|
3228
|
-
id: string;
|
|
3229
|
-
type: "credential.removed";
|
|
3230
|
-
properties: {
|
|
3231
|
-
credential: CredentialInfo;
|
|
3232
|
-
};
|
|
3233
|
-
};
|
|
3234
|
-
export type EventCredentialSwitched = {
|
|
3235
|
-
id: string;
|
|
3236
|
-
type: "credential.switched";
|
|
3237
|
-
properties: {
|
|
3238
|
-
connectorID: string;
|
|
3239
|
-
from?: string;
|
|
3240
|
-
to?: string;
|
|
3241
|
-
};
|
|
3242
|
-
};
|
|
3243
3216
|
export type EventPluginAdded = {
|
|
3244
3217
|
id: string;
|
|
3245
3218
|
type: "plugin.added";
|
|
@@ -3972,9 +3945,9 @@ export type EventReferenceUpdated = {
|
|
|
3972
3945
|
[key: string]: unknown;
|
|
3973
3946
|
};
|
|
3974
3947
|
};
|
|
3975
|
-
export type
|
|
3948
|
+
export type EventIntegrationUpdated = {
|
|
3976
3949
|
id: string;
|
|
3977
|
-
type: "
|
|
3950
|
+
type: "integration.updated";
|
|
3978
3951
|
properties: {
|
|
3979
3952
|
[key: string]: unknown;
|
|
3980
3953
|
};
|
|
@@ -4009,6 +3982,13 @@ export type EventPermissionV2Replied = {
|
|
|
4009
3982
|
reply: PermissionV2Reply;
|
|
4010
3983
|
};
|
|
4011
3984
|
};
|
|
3985
|
+
export type EventProjectDirectoriesUpdated = {
|
|
3986
|
+
id: string;
|
|
3987
|
+
type: "project.directories.updated";
|
|
3988
|
+
properties: {
|
|
3989
|
+
projectID: string;
|
|
3990
|
+
};
|
|
3991
|
+
};
|
|
4012
3992
|
export type EventFileEdited = {
|
|
4013
3993
|
id: string;
|
|
4014
3994
|
type: "file.edited";
|
|
@@ -4154,13 +4134,6 @@ export type EventCommandExecuted = {
|
|
|
4154
4134
|
messageID: string;
|
|
4155
4135
|
};
|
|
4156
4136
|
};
|
|
4157
|
-
export type EventProjectDirectoriesUpdated = {
|
|
4158
|
-
id: string;
|
|
4159
|
-
type: "project.directories.updated";
|
|
4160
|
-
properties: {
|
|
4161
|
-
projectID: string;
|
|
4162
|
-
};
|
|
4163
|
-
};
|
|
4164
4137
|
export type EventProjectUpdated = {
|
|
4165
4138
|
id: string;
|
|
4166
4139
|
type: "project.updated";
|
|
@@ -4188,18 +4161,18 @@ export type EventProjectUpdated = {
|
|
|
4188
4161
|
sandboxes: Array<string>;
|
|
4189
4162
|
};
|
|
4190
4163
|
};
|
|
4191
|
-
export type
|
|
4164
|
+
export type EventVcsBranchUpdated = {
|
|
4192
4165
|
id: string;
|
|
4193
|
-
type: "
|
|
4166
|
+
type: "vcs.branch.updated";
|
|
4194
4167
|
properties: {
|
|
4195
|
-
|
|
4168
|
+
branch?: string;
|
|
4196
4169
|
};
|
|
4197
4170
|
};
|
|
4198
|
-
export type
|
|
4171
|
+
export type EventLspUpdated = {
|
|
4199
4172
|
id: string;
|
|
4200
|
-
type: "
|
|
4173
|
+
type: "lsp.updated";
|
|
4201
4174
|
properties: {
|
|
4202
|
-
|
|
4175
|
+
[key: string]: unknown;
|
|
4203
4176
|
};
|
|
4204
4177
|
};
|
|
4205
4178
|
export type EventWorkspaceReady = {
|
|
@@ -4856,11 +4829,8 @@ export type ConfigV2ExperimentalPolicy = {
|
|
|
4856
4829
|
};
|
|
4857
4830
|
export type ProjectDirectories = Array<{
|
|
4858
4831
|
directory: string;
|
|
4859
|
-
|
|
4832
|
+
strategy?: string;
|
|
4860
4833
|
}>;
|
|
4861
|
-
export type ProjectCopyCopy = {
|
|
4862
|
-
directory: string;
|
|
4863
|
-
};
|
|
4864
4834
|
export type LocationInfo = {
|
|
4865
4835
|
directory: string;
|
|
4866
4836
|
workspaceID?: string;
|
|
@@ -5179,19 +5149,19 @@ export type ProviderV2Info = {
|
|
|
5179
5149
|
};
|
|
5180
5150
|
};
|
|
5181
5151
|
};
|
|
5182
|
-
export type
|
|
5152
|
+
export type IntegrationWhen = {
|
|
5183
5153
|
key: string;
|
|
5184
5154
|
op: "eq" | "neq";
|
|
5185
5155
|
value: string;
|
|
5186
5156
|
};
|
|
5187
|
-
export type
|
|
5157
|
+
export type IntegrationTextPrompt = {
|
|
5188
5158
|
type: "text";
|
|
5189
5159
|
key: string;
|
|
5190
5160
|
message: string;
|
|
5191
5161
|
placeholder?: string;
|
|
5192
|
-
when?:
|
|
5162
|
+
when?: IntegrationWhen;
|
|
5193
5163
|
};
|
|
5194
|
-
export type
|
|
5164
|
+
export type IntegrationSelectPrompt = {
|
|
5195
5165
|
type: "select";
|
|
5196
5166
|
key: string;
|
|
5197
5167
|
message: string;
|
|
@@ -5200,26 +5170,39 @@ export type ConnectorSelectPrompt = {
|
|
|
5200
5170
|
value: string;
|
|
5201
5171
|
hint?: string;
|
|
5202
5172
|
}>;
|
|
5203
|
-
when?:
|
|
5173
|
+
when?: IntegrationWhen;
|
|
5204
5174
|
};
|
|
5205
|
-
export type
|
|
5175
|
+
export type IntegrationOAuthMethod = {
|
|
5206
5176
|
id: string;
|
|
5207
5177
|
type: "oauth";
|
|
5208
5178
|
label: string;
|
|
5209
|
-
prompts?: Array<
|
|
5179
|
+
prompts?: Array<IntegrationTextPrompt | IntegrationSelectPrompt>;
|
|
5210
5180
|
};
|
|
5211
|
-
export type
|
|
5212
|
-
id: string;
|
|
5181
|
+
export type IntegrationKeyMethod = {
|
|
5213
5182
|
type: "key";
|
|
5183
|
+
label?: string;
|
|
5184
|
+
};
|
|
5185
|
+
export type IntegrationEnvMethod = {
|
|
5186
|
+
type: "env";
|
|
5187
|
+
names: Array<string>;
|
|
5188
|
+
};
|
|
5189
|
+
export type ConnectionCredentialInfo = {
|
|
5190
|
+
type: "credential";
|
|
5191
|
+
id: string;
|
|
5214
5192
|
label: string;
|
|
5215
|
-
prompts?: Array<ConnectorTextPrompt | ConnectorSelectPrompt>;
|
|
5216
5193
|
};
|
|
5217
|
-
export type
|
|
5194
|
+
export type ConnectionEnvInfo = {
|
|
5195
|
+
type: "env";
|
|
5196
|
+
name: string;
|
|
5197
|
+
};
|
|
5198
|
+
export type ConnectionInfo = ConnectionCredentialInfo | ConnectionEnvInfo;
|
|
5199
|
+
export type IntegrationInfo = {
|
|
5218
5200
|
id: string;
|
|
5219
5201
|
name: string;
|
|
5220
|
-
methods: Array<
|
|
5202
|
+
methods: Array<IntegrationOAuthMethod | IntegrationKeyMethod | IntegrationEnvMethod>;
|
|
5203
|
+
connections: Array<ConnectionInfo>;
|
|
5221
5204
|
};
|
|
5222
|
-
export type
|
|
5205
|
+
export type IntegrationAttempt = {
|
|
5223
5206
|
attemptID: string;
|
|
5224
5207
|
url: string;
|
|
5225
5208
|
instructions: string;
|
|
@@ -5305,6 +5288,9 @@ export type ReferenceInfo = {
|
|
|
5305
5288
|
hidden?: boolean;
|
|
5306
5289
|
source: ReferenceLocalSource | ReferenceGitSource;
|
|
5307
5290
|
};
|
|
5291
|
+
export type ProjectCopyCopy = {
|
|
5292
|
+
directory: string;
|
|
5293
|
+
};
|
|
5308
5294
|
export type EventMemoryStatus1 = {
|
|
5309
5295
|
id: string;
|
|
5310
5296
|
type: "memory.status";
|
|
@@ -7074,87 +7060,35 @@ export type ProjectDirectoriesResponses = {
|
|
|
7074
7060
|
200: ProjectDirectories;
|
|
7075
7061
|
};
|
|
7076
7062
|
export type ProjectDirectoriesResponse = ProjectDirectoriesResponses[keyof ProjectDirectoriesResponses];
|
|
7077
|
-
export type
|
|
7078
|
-
body?: {
|
|
7079
|
-
directory: string;
|
|
7080
|
-
force: boolean;
|
|
7081
|
-
};
|
|
7082
|
-
path: {
|
|
7083
|
-
projectID: string;
|
|
7084
|
-
};
|
|
7085
|
-
query?: {
|
|
7086
|
-
workspace?: string;
|
|
7087
|
-
};
|
|
7088
|
-
url: "/experimental/project/{projectID}/copy";
|
|
7089
|
-
};
|
|
7090
|
-
export type ExperimentalProjectCopyRemoveErrors = {
|
|
7091
|
-
/**
|
|
7092
|
-
* ProjectCopyError | InvalidRequestError
|
|
7093
|
-
*/
|
|
7094
|
-
400: ProjectCopyError | InvalidRequestError;
|
|
7095
|
-
};
|
|
7096
|
-
export type ExperimentalProjectCopyRemoveError = ExperimentalProjectCopyRemoveErrors[keyof ExperimentalProjectCopyRemoveErrors];
|
|
7097
|
-
export type ExperimentalProjectCopyRemoveResponses = {
|
|
7098
|
-
/**
|
|
7099
|
-
* Project copy removed
|
|
7100
|
-
*/
|
|
7101
|
-
204: void;
|
|
7102
|
-
};
|
|
7103
|
-
export type ExperimentalProjectCopyRemoveResponse = ExperimentalProjectCopyRemoveResponses[keyof ExperimentalProjectCopyRemoveResponses];
|
|
7104
|
-
export type ExperimentalProjectCopyCreateData = {
|
|
7063
|
+
export type ExperimentalProjectCopyGenerateNameData = {
|
|
7105
7064
|
body?: {
|
|
7106
|
-
strategy: "git_worktree";
|
|
7107
|
-
directory: string;
|
|
7108
|
-
name?: string;
|
|
7109
7065
|
context?: string;
|
|
7110
7066
|
};
|
|
7111
7067
|
path: {
|
|
7112
7068
|
projectID: string;
|
|
7113
7069
|
};
|
|
7114
|
-
query?: {
|
|
7115
|
-
workspace?: string;
|
|
7116
|
-
};
|
|
7117
|
-
url: "/experimental/project/{projectID}/copy";
|
|
7118
|
-
};
|
|
7119
|
-
export type ExperimentalProjectCopyCreateErrors = {
|
|
7120
|
-
/**
|
|
7121
|
-
* ProjectCopyError | InvalidRequestError
|
|
7122
|
-
*/
|
|
7123
|
-
400: ProjectCopyError | InvalidRequestError;
|
|
7124
|
-
};
|
|
7125
|
-
export type ExperimentalProjectCopyCreateError = ExperimentalProjectCopyCreateErrors[keyof ExperimentalProjectCopyCreateErrors];
|
|
7126
|
-
export type ExperimentalProjectCopyCreateResponses = {
|
|
7127
|
-
/**
|
|
7128
|
-
* Project copy created
|
|
7129
|
-
*/
|
|
7130
|
-
200: ProjectCopyCopy;
|
|
7131
|
-
};
|
|
7132
|
-
export type ExperimentalProjectCopyCreateResponse = ExperimentalProjectCopyCreateResponses[keyof ExperimentalProjectCopyCreateResponses];
|
|
7133
|
-
export type ExperimentalProjectCopyRefreshData = {
|
|
7134
|
-
body?: never;
|
|
7135
|
-
path: {
|
|
7136
|
-
projectID: string;
|
|
7137
|
-
};
|
|
7138
7070
|
query?: {
|
|
7139
7071
|
directory?: string;
|
|
7140
7072
|
workspace?: string;
|
|
7141
7073
|
};
|
|
7142
|
-
url: "/experimental/project/{projectID}/copy/
|
|
7074
|
+
url: "/experimental/project/{projectID}/copy/generate-name";
|
|
7143
7075
|
};
|
|
7144
|
-
export type
|
|
7076
|
+
export type ExperimentalProjectCopyGenerateNameErrors = {
|
|
7145
7077
|
/**
|
|
7146
|
-
*
|
|
7078
|
+
* Bad request
|
|
7147
7079
|
*/
|
|
7148
|
-
400:
|
|
7080
|
+
400: BadRequestError;
|
|
7149
7081
|
};
|
|
7150
|
-
export type
|
|
7151
|
-
export type
|
|
7082
|
+
export type ExperimentalProjectCopyGenerateNameError = ExperimentalProjectCopyGenerateNameErrors[keyof ExperimentalProjectCopyGenerateNameErrors];
|
|
7083
|
+
export type ExperimentalProjectCopyGenerateNameResponses = {
|
|
7152
7084
|
/**
|
|
7153
|
-
*
|
|
7085
|
+
* Success
|
|
7154
7086
|
*/
|
|
7155
|
-
|
|
7087
|
+
200: {
|
|
7088
|
+
name: string;
|
|
7089
|
+
};
|
|
7156
7090
|
};
|
|
7157
|
-
export type
|
|
7091
|
+
export type ExperimentalProjectCopyGenerateNameResponse = ExperimentalProjectCopyGenerateNameResponses[keyof ExperimentalProjectCopyGenerateNameResponses];
|
|
7158
7092
|
export type PtyShellsData = {
|
|
7159
7093
|
body?: never;
|
|
7160
7094
|
path?: never;
|
|
@@ -12850,7 +12784,7 @@ export type V2ProviderGetResponses = {
|
|
|
12850
12784
|
};
|
|
12851
12785
|
};
|
|
12852
12786
|
export type V2ProviderGetResponse = V2ProviderGetResponses[keyof V2ProviderGetResponses];
|
|
12853
|
-
export type
|
|
12787
|
+
export type V2IntegrationListData = {
|
|
12854
12788
|
body?: never;
|
|
12855
12789
|
path?: never;
|
|
12856
12790
|
query?: {
|
|
@@ -12859,9 +12793,9 @@ export type V2ConnectorListData = {
|
|
|
12859
12793
|
workspace?: string;
|
|
12860
12794
|
};
|
|
12861
12795
|
};
|
|
12862
|
-
url: "/api/
|
|
12796
|
+
url: "/api/integration";
|
|
12863
12797
|
};
|
|
12864
|
-
export type
|
|
12798
|
+
export type V2IntegrationListErrors = {
|
|
12865
12799
|
/**
|
|
12866
12800
|
* InvalidRequestError
|
|
12867
12801
|
*/
|
|
@@ -12871,21 +12805,21 @@ export type V2ConnectorListErrors = {
|
|
|
12871
12805
|
*/
|
|
12872
12806
|
401: UnauthorizedError;
|
|
12873
12807
|
};
|
|
12874
|
-
export type
|
|
12875
|
-
export type
|
|
12808
|
+
export type V2IntegrationListError = V2IntegrationListErrors[keyof V2IntegrationListErrors];
|
|
12809
|
+
export type V2IntegrationListResponses = {
|
|
12876
12810
|
/**
|
|
12877
12811
|
* Success
|
|
12878
12812
|
*/
|
|
12879
12813
|
200: {
|
|
12880
12814
|
location: LocationInfo;
|
|
12881
|
-
data: Array<
|
|
12815
|
+
data: Array<IntegrationInfo>;
|
|
12882
12816
|
};
|
|
12883
12817
|
};
|
|
12884
|
-
export type
|
|
12885
|
-
export type
|
|
12818
|
+
export type V2IntegrationListResponse = V2IntegrationListResponses[keyof V2IntegrationListResponses];
|
|
12819
|
+
export type V2IntegrationGetData = {
|
|
12886
12820
|
body?: never;
|
|
12887
12821
|
path: {
|
|
12888
|
-
|
|
12822
|
+
integrationID: string;
|
|
12889
12823
|
};
|
|
12890
12824
|
query?: {
|
|
12891
12825
|
location?: {
|
|
@@ -12893,9 +12827,9 @@ export type V2ConnectorGetData = {
|
|
|
12893
12827
|
workspace?: string;
|
|
12894
12828
|
};
|
|
12895
12829
|
};
|
|
12896
|
-
url: "/api/
|
|
12830
|
+
url: "/api/integration/{integrationID}";
|
|
12897
12831
|
};
|
|
12898
|
-
export type
|
|
12832
|
+
export type V2IntegrationGetErrors = {
|
|
12899
12833
|
/**
|
|
12900
12834
|
* InvalidRequestError
|
|
12901
12835
|
*/
|
|
@@ -12905,28 +12839,24 @@ export type V2ConnectorGetErrors = {
|
|
|
12905
12839
|
*/
|
|
12906
12840
|
401: UnauthorizedError;
|
|
12907
12841
|
};
|
|
12908
|
-
export type
|
|
12909
|
-
export type
|
|
12842
|
+
export type V2IntegrationGetError = V2IntegrationGetErrors[keyof V2IntegrationGetErrors];
|
|
12843
|
+
export type V2IntegrationGetResponses = {
|
|
12910
12844
|
/**
|
|
12911
12845
|
* Success
|
|
12912
12846
|
*/
|
|
12913
12847
|
200: {
|
|
12914
12848
|
location: LocationInfo;
|
|
12915
|
-
data:
|
|
12849
|
+
data: IntegrationInfo;
|
|
12916
12850
|
};
|
|
12917
12851
|
};
|
|
12918
|
-
export type
|
|
12919
|
-
export type
|
|
12852
|
+
export type V2IntegrationGetResponse = V2IntegrationGetResponses[keyof V2IntegrationGetResponses];
|
|
12853
|
+
export type V2IntegrationConnectKeyData = {
|
|
12920
12854
|
body: {
|
|
12921
|
-
methodID: string;
|
|
12922
12855
|
key: string;
|
|
12923
|
-
inputs: {
|
|
12924
|
-
[key: string]: string;
|
|
12925
|
-
};
|
|
12926
12856
|
label?: string;
|
|
12927
12857
|
};
|
|
12928
12858
|
path: {
|
|
12929
|
-
|
|
12859
|
+
integrationID: string;
|
|
12930
12860
|
};
|
|
12931
12861
|
query?: {
|
|
12932
12862
|
location?: {
|
|
@@ -12934,9 +12864,9 @@ export type V2ConnectorConnectKeyData = {
|
|
|
12934
12864
|
workspace?: string;
|
|
12935
12865
|
};
|
|
12936
12866
|
};
|
|
12937
|
-
url: "/api/
|
|
12867
|
+
url: "/api/integration/{integrationID}/connect/key";
|
|
12938
12868
|
};
|
|
12939
|
-
export type
|
|
12869
|
+
export type V2IntegrationConnectKeyErrors = {
|
|
12940
12870
|
/**
|
|
12941
12871
|
* InvalidRequestError
|
|
12942
12872
|
*/
|
|
@@ -12946,15 +12876,15 @@ export type V2ConnectorConnectKeyErrors = {
|
|
|
12946
12876
|
*/
|
|
12947
12877
|
401: UnauthorizedError;
|
|
12948
12878
|
};
|
|
12949
|
-
export type
|
|
12950
|
-
export type
|
|
12879
|
+
export type V2IntegrationConnectKeyError = V2IntegrationConnectKeyErrors[keyof V2IntegrationConnectKeyErrors];
|
|
12880
|
+
export type V2IntegrationConnectKeyResponses = {
|
|
12951
12881
|
/**
|
|
12952
12882
|
* <No Content>
|
|
12953
12883
|
*/
|
|
12954
12884
|
204: void;
|
|
12955
12885
|
};
|
|
12956
|
-
export type
|
|
12957
|
-
export type
|
|
12886
|
+
export type V2IntegrationConnectKeyResponse = V2IntegrationConnectKeyResponses[keyof V2IntegrationConnectKeyResponses];
|
|
12887
|
+
export type V2IntegrationConnectOauthData = {
|
|
12958
12888
|
body: {
|
|
12959
12889
|
methodID: string;
|
|
12960
12890
|
inputs: {
|
|
@@ -12963,7 +12893,7 @@ export type V2ConnectorConnectOauthBeginData = {
|
|
|
12963
12893
|
label?: string;
|
|
12964
12894
|
};
|
|
12965
12895
|
path: {
|
|
12966
|
-
|
|
12896
|
+
integrationID: string;
|
|
12967
12897
|
};
|
|
12968
12898
|
query?: {
|
|
12969
12899
|
location?: {
|
|
@@ -12971,9 +12901,9 @@ export type V2ConnectorConnectOauthBeginData = {
|
|
|
12971
12901
|
workspace?: string;
|
|
12972
12902
|
};
|
|
12973
12903
|
};
|
|
12974
|
-
url: "/api/
|
|
12904
|
+
url: "/api/integration/{integrationID}/connect/oauth";
|
|
12975
12905
|
};
|
|
12976
|
-
export type
|
|
12906
|
+
export type V2IntegrationConnectOauthErrors = {
|
|
12977
12907
|
/**
|
|
12978
12908
|
* InvalidRequestError
|
|
12979
12909
|
*/
|
|
@@ -12983,18 +12913,18 @@ export type V2ConnectorConnectOauthBeginErrors = {
|
|
|
12983
12913
|
*/
|
|
12984
12914
|
401: UnauthorizedError;
|
|
12985
12915
|
};
|
|
12986
|
-
export type
|
|
12987
|
-
export type
|
|
12916
|
+
export type V2IntegrationConnectOauthError = V2IntegrationConnectOauthErrors[keyof V2IntegrationConnectOauthErrors];
|
|
12917
|
+
export type V2IntegrationConnectOauthResponses = {
|
|
12988
12918
|
/**
|
|
12989
12919
|
* Success
|
|
12990
12920
|
*/
|
|
12991
12921
|
200: {
|
|
12992
12922
|
location: LocationInfo;
|
|
12993
|
-
data:
|
|
12923
|
+
data: IntegrationAttempt;
|
|
12994
12924
|
};
|
|
12995
12925
|
};
|
|
12996
|
-
export type
|
|
12997
|
-
export type
|
|
12926
|
+
export type V2IntegrationConnectOauthResponse = V2IntegrationConnectOauthResponses[keyof V2IntegrationConnectOauthResponses];
|
|
12927
|
+
export type V2IntegrationAttemptCancelData = {
|
|
12998
12928
|
body?: never;
|
|
12999
12929
|
path: {
|
|
13000
12930
|
attemptID: string;
|
|
@@ -13005,9 +12935,9 @@ export type V2ConnectorConnectOauthCancelData = {
|
|
|
13005
12935
|
workspace?: string;
|
|
13006
12936
|
};
|
|
13007
12937
|
};
|
|
13008
|
-
url: "/api/
|
|
12938
|
+
url: "/api/integration/attempt/{attemptID}";
|
|
13009
12939
|
};
|
|
13010
|
-
export type
|
|
12940
|
+
export type V2IntegrationAttemptCancelErrors = {
|
|
13011
12941
|
/**
|
|
13012
12942
|
* InvalidRequestError
|
|
13013
12943
|
*/
|
|
@@ -13017,15 +12947,15 @@ export type V2ConnectorConnectOauthCancelErrors = {
|
|
|
13017
12947
|
*/
|
|
13018
12948
|
401: UnauthorizedError;
|
|
13019
12949
|
};
|
|
13020
|
-
export type
|
|
13021
|
-
export type
|
|
12950
|
+
export type V2IntegrationAttemptCancelError = V2IntegrationAttemptCancelErrors[keyof V2IntegrationAttemptCancelErrors];
|
|
12951
|
+
export type V2IntegrationAttemptCancelResponses = {
|
|
13022
12952
|
/**
|
|
13023
12953
|
* <No Content>
|
|
13024
12954
|
*/
|
|
13025
12955
|
204: void;
|
|
13026
12956
|
};
|
|
13027
|
-
export type
|
|
13028
|
-
export type
|
|
12957
|
+
export type V2IntegrationAttemptCancelResponse = V2IntegrationAttemptCancelResponses[keyof V2IntegrationAttemptCancelResponses];
|
|
12958
|
+
export type V2IntegrationAttemptStatusData = {
|
|
13029
12959
|
body?: never;
|
|
13030
12960
|
path: {
|
|
13031
12961
|
attemptID: string;
|
|
@@ -13036,9 +12966,9 @@ export type V2ConnectorConnectOauthStatusData = {
|
|
|
13036
12966
|
workspace?: string;
|
|
13037
12967
|
};
|
|
13038
12968
|
};
|
|
13039
|
-
url: "/api/
|
|
12969
|
+
url: "/api/integration/attempt/{attemptID}";
|
|
13040
12970
|
};
|
|
13041
|
-
export type
|
|
12971
|
+
export type V2IntegrationAttemptStatusErrors = {
|
|
13042
12972
|
/**
|
|
13043
12973
|
* InvalidRequestError
|
|
13044
12974
|
*/
|
|
@@ -13048,8 +12978,8 @@ export type V2ConnectorConnectOauthStatusErrors = {
|
|
|
13048
12978
|
*/
|
|
13049
12979
|
401: UnauthorizedError;
|
|
13050
12980
|
};
|
|
13051
|
-
export type
|
|
13052
|
-
export type
|
|
12981
|
+
export type V2IntegrationAttemptStatusError = V2IntegrationAttemptStatusErrors[keyof V2IntegrationAttemptStatusErrors];
|
|
12982
|
+
export type V2IntegrationAttemptStatusResponses = {
|
|
13053
12983
|
/**
|
|
13054
12984
|
* Success
|
|
13055
12985
|
*/
|
|
@@ -13083,8 +13013,8 @@ export type V2ConnectorConnectOauthStatusResponses = {
|
|
|
13083
13013
|
};
|
|
13084
13014
|
};
|
|
13085
13015
|
};
|
|
13086
|
-
export type
|
|
13087
|
-
export type
|
|
13016
|
+
export type V2IntegrationAttemptStatusResponse = V2IntegrationAttemptStatusResponses[keyof V2IntegrationAttemptStatusResponses];
|
|
13017
|
+
export type V2IntegrationAttemptCompleteData = {
|
|
13088
13018
|
body: {
|
|
13089
13019
|
code?: string;
|
|
13090
13020
|
};
|
|
@@ -13097,9 +13027,63 @@ export type V2ConnectorConnectOauthCompleteData = {
|
|
|
13097
13027
|
workspace?: string;
|
|
13098
13028
|
};
|
|
13099
13029
|
};
|
|
13100
|
-
url: "/api/
|
|
13030
|
+
url: "/api/integration/attempt/{attemptID}/complete";
|
|
13031
|
+
};
|
|
13032
|
+
export type V2IntegrationAttemptCompleteErrors = {
|
|
13033
|
+
/**
|
|
13034
|
+
* InvalidRequestError
|
|
13035
|
+
*/
|
|
13036
|
+
400: InvalidRequestError;
|
|
13037
|
+
/**
|
|
13038
|
+
* UnauthorizedError
|
|
13039
|
+
*/
|
|
13040
|
+
401: UnauthorizedError;
|
|
13041
|
+
};
|
|
13042
|
+
export type V2IntegrationAttemptCompleteError = V2IntegrationAttemptCompleteErrors[keyof V2IntegrationAttemptCompleteErrors];
|
|
13043
|
+
export type V2IntegrationAttemptCompleteResponses = {
|
|
13044
|
+
/**
|
|
13045
|
+
* <No Content>
|
|
13046
|
+
*/
|
|
13047
|
+
204: void;
|
|
13048
|
+
};
|
|
13049
|
+
export type V2IntegrationAttemptCompleteResponse = V2IntegrationAttemptCompleteResponses[keyof V2IntegrationAttemptCompleteResponses];
|
|
13050
|
+
export type V2CredentialRemoveData = {
|
|
13051
|
+
body?: never;
|
|
13052
|
+
path: {
|
|
13053
|
+
credentialID: string;
|
|
13054
|
+
};
|
|
13055
|
+
query?: never;
|
|
13056
|
+
url: "/api/credential/{credentialID}";
|
|
13057
|
+
};
|
|
13058
|
+
export type V2CredentialRemoveErrors = {
|
|
13059
|
+
/**
|
|
13060
|
+
* InvalidRequestError
|
|
13061
|
+
*/
|
|
13062
|
+
400: InvalidRequestError;
|
|
13063
|
+
/**
|
|
13064
|
+
* UnauthorizedError
|
|
13065
|
+
*/
|
|
13066
|
+
401: UnauthorizedError;
|
|
13067
|
+
};
|
|
13068
|
+
export type V2CredentialRemoveError = V2CredentialRemoveErrors[keyof V2CredentialRemoveErrors];
|
|
13069
|
+
export type V2CredentialRemoveResponses = {
|
|
13070
|
+
/**
|
|
13071
|
+
* <No Content>
|
|
13072
|
+
*/
|
|
13073
|
+
204: void;
|
|
13074
|
+
};
|
|
13075
|
+
export type V2CredentialRemoveResponse = V2CredentialRemoveResponses[keyof V2CredentialRemoveResponses];
|
|
13076
|
+
export type V2CredentialUpdateData = {
|
|
13077
|
+
body: {
|
|
13078
|
+
label: string;
|
|
13079
|
+
};
|
|
13080
|
+
path: {
|
|
13081
|
+
credentialID: string;
|
|
13082
|
+
};
|
|
13083
|
+
query?: never;
|
|
13084
|
+
url: "/api/credential/{credentialID}";
|
|
13101
13085
|
};
|
|
13102
|
-
export type
|
|
13086
|
+
export type V2CredentialUpdateErrors = {
|
|
13103
13087
|
/**
|
|
13104
13088
|
* InvalidRequestError
|
|
13105
13089
|
*/
|
|
@@ -13109,14 +13093,14 @@ export type V2ConnectorConnectOauthCompleteErrors = {
|
|
|
13109
13093
|
*/
|
|
13110
13094
|
401: UnauthorizedError;
|
|
13111
13095
|
};
|
|
13112
|
-
export type
|
|
13113
|
-
export type
|
|
13096
|
+
export type V2CredentialUpdateError = V2CredentialUpdateErrors[keyof V2CredentialUpdateErrors];
|
|
13097
|
+
export type V2CredentialUpdateResponses = {
|
|
13114
13098
|
/**
|
|
13115
13099
|
* <No Content>
|
|
13116
13100
|
*/
|
|
13117
13101
|
204: void;
|
|
13118
13102
|
};
|
|
13119
|
-
export type
|
|
13103
|
+
export type V2CredentialUpdateResponse = V2CredentialUpdateResponses[keyof V2CredentialUpdateResponses];
|
|
13120
13104
|
export type V2PermissionRequestListData = {
|
|
13121
13105
|
body?: never;
|
|
13122
13106
|
path?: never;
|
|
@@ -13618,6 +13602,94 @@ export type V2ReferenceListResponses = {
|
|
|
13618
13602
|
};
|
|
13619
13603
|
};
|
|
13620
13604
|
export type V2ReferenceListResponse = V2ReferenceListResponses[keyof V2ReferenceListResponses];
|
|
13605
|
+
export type V2ProjectCopyRemoveData = {
|
|
13606
|
+
body?: {
|
|
13607
|
+
directory: string;
|
|
13608
|
+
force: boolean;
|
|
13609
|
+
};
|
|
13610
|
+
path: {
|
|
13611
|
+
projectID: string;
|
|
13612
|
+
};
|
|
13613
|
+
query?: {
|
|
13614
|
+
location?: {
|
|
13615
|
+
directory?: string;
|
|
13616
|
+
workspace?: string;
|
|
13617
|
+
};
|
|
13618
|
+
};
|
|
13619
|
+
url: "/experimental/project/{projectID}/copy";
|
|
13620
|
+
};
|
|
13621
|
+
export type V2ProjectCopyRemoveErrors = {
|
|
13622
|
+
/**
|
|
13623
|
+
* ProjectCopyError | InvalidRequestError
|
|
13624
|
+
*/
|
|
13625
|
+
400: ProjectCopyError | InvalidRequestError;
|
|
13626
|
+
};
|
|
13627
|
+
export type V2ProjectCopyRemoveError = V2ProjectCopyRemoveErrors[keyof V2ProjectCopyRemoveErrors];
|
|
13628
|
+
export type V2ProjectCopyRemoveResponses = {
|
|
13629
|
+
/**
|
|
13630
|
+
* <No Content>
|
|
13631
|
+
*/
|
|
13632
|
+
204: void;
|
|
13633
|
+
};
|
|
13634
|
+
export type V2ProjectCopyRemoveResponse = V2ProjectCopyRemoveResponses[keyof V2ProjectCopyRemoveResponses];
|
|
13635
|
+
export type V2ProjectCopyCreateData = {
|
|
13636
|
+
body?: {
|
|
13637
|
+
strategy: string;
|
|
13638
|
+
directory: string;
|
|
13639
|
+
name?: string;
|
|
13640
|
+
};
|
|
13641
|
+
path: {
|
|
13642
|
+
projectID: string;
|
|
13643
|
+
};
|
|
13644
|
+
query?: {
|
|
13645
|
+
location?: {
|
|
13646
|
+
directory?: string;
|
|
13647
|
+
workspace?: string;
|
|
13648
|
+
};
|
|
13649
|
+
};
|
|
13650
|
+
url: "/experimental/project/{projectID}/copy";
|
|
13651
|
+
};
|
|
13652
|
+
export type V2ProjectCopyCreateErrors = {
|
|
13653
|
+
/**
|
|
13654
|
+
* ProjectCopyError | InvalidRequestError
|
|
13655
|
+
*/
|
|
13656
|
+
400: ProjectCopyError | InvalidRequestError;
|
|
13657
|
+
};
|
|
13658
|
+
export type V2ProjectCopyCreateError = V2ProjectCopyCreateErrors[keyof V2ProjectCopyCreateErrors];
|
|
13659
|
+
export type V2ProjectCopyCreateResponses = {
|
|
13660
|
+
/**
|
|
13661
|
+
* ProjectCopy.Copy
|
|
13662
|
+
*/
|
|
13663
|
+
200: ProjectCopyCopy;
|
|
13664
|
+
};
|
|
13665
|
+
export type V2ProjectCopyCreateResponse = V2ProjectCopyCreateResponses[keyof V2ProjectCopyCreateResponses];
|
|
13666
|
+
export type V2ProjectCopyRefreshData = {
|
|
13667
|
+
body?: never;
|
|
13668
|
+
path: {
|
|
13669
|
+
projectID: string;
|
|
13670
|
+
};
|
|
13671
|
+
query?: {
|
|
13672
|
+
location?: {
|
|
13673
|
+
directory?: string;
|
|
13674
|
+
workspace?: string;
|
|
13675
|
+
};
|
|
13676
|
+
};
|
|
13677
|
+
url: "/experimental/project/{projectID}/copy/refresh";
|
|
13678
|
+
};
|
|
13679
|
+
export type V2ProjectCopyRefreshErrors = {
|
|
13680
|
+
/**
|
|
13681
|
+
* ProjectCopyError | InvalidRequestError
|
|
13682
|
+
*/
|
|
13683
|
+
400: ProjectCopyError | InvalidRequestError;
|
|
13684
|
+
};
|
|
13685
|
+
export type V2ProjectCopyRefreshError = V2ProjectCopyRefreshErrors[keyof V2ProjectCopyRefreshErrors];
|
|
13686
|
+
export type V2ProjectCopyRefreshResponses = {
|
|
13687
|
+
/**
|
|
13688
|
+
* <No Content>
|
|
13689
|
+
*/
|
|
13690
|
+
204: void;
|
|
13691
|
+
};
|
|
13692
|
+
export type V2ProjectCopyRefreshResponse = V2ProjectCopyRefreshResponses[keyof V2ProjectCopyRefreshResponses];
|
|
13621
13693
|
export type PtyConnectData = {
|
|
13622
13694
|
body?: never;
|
|
13623
13695
|
path: {
|