@kilocode/sdk 7.4.13 → 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 +303 -228
- 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
|
|
@@ -1684,13 +1699,6 @@ export type ProjectNotFoundError = {
|
|
|
1684
1699
|
projectID: string;
|
|
1685
1700
|
message: string;
|
|
1686
1701
|
};
|
|
1687
|
-
export type ProjectCopyError = {
|
|
1688
|
-
name: "ProjectCopyError";
|
|
1689
|
-
data: {
|
|
1690
|
-
message: string;
|
|
1691
|
-
forceRequired?: boolean;
|
|
1692
|
-
};
|
|
1693
|
-
};
|
|
1694
1702
|
export type PtyNotFoundError = {
|
|
1695
1703
|
_tag: "PtyNotFoundError";
|
|
1696
1704
|
ptyID: string;
|
|
@@ -2819,6 +2827,13 @@ export type ProviderNotFoundError = {
|
|
|
2819
2827
|
providerID: string;
|
|
2820
2828
|
message: string;
|
|
2821
2829
|
};
|
|
2830
|
+
export type ProjectCopyError = {
|
|
2831
|
+
name: "ProjectCopyError";
|
|
2832
|
+
data: {
|
|
2833
|
+
message: string;
|
|
2834
|
+
forceRequired?: boolean;
|
|
2835
|
+
};
|
|
2836
|
+
};
|
|
2822
2837
|
export type EffectHttpApiErrorForbidden = {
|
|
2823
2838
|
_tag: "Forbidden";
|
|
2824
2839
|
};
|
|
@@ -2851,6 +2866,30 @@ export type EventServerInstanceDisposed = {
|
|
|
2851
2866
|
directory: string;
|
|
2852
2867
|
};
|
|
2853
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
|
+
};
|
|
2854
2893
|
export type EventSessionNetworkAsked = {
|
|
2855
2894
|
id: string;
|
|
2856
2895
|
type: "session.network.asked";
|
|
@@ -2923,22 +2962,6 @@ export type EventInteractiveTerminalDeleted = {
|
|
|
2923
2962
|
sessionID: string;
|
|
2924
2963
|
};
|
|
2925
2964
|
};
|
|
2926
|
-
export type EventSessionTurnOpen = {
|
|
2927
|
-
id: string;
|
|
2928
|
-
type: "session.turn.open";
|
|
2929
|
-
properties: {
|
|
2930
|
-
sessionID: string;
|
|
2931
|
-
};
|
|
2932
|
-
};
|
|
2933
|
-
export type EventSessionTurnClose = {
|
|
2934
|
-
id: string;
|
|
2935
|
-
type: "session.turn.close";
|
|
2936
|
-
properties: {
|
|
2937
|
-
sessionID: string;
|
|
2938
|
-
parentID?: string;
|
|
2939
|
-
reason: "completed" | "error" | "interrupted";
|
|
2940
|
-
};
|
|
2941
|
-
};
|
|
2942
2965
|
export type EventSandboxStatusChanged = {
|
|
2943
2966
|
id: string;
|
|
2944
2967
|
type: "sandbox.status.changed";
|
|
@@ -3033,14 +3056,6 @@ export type EventKilocodeNotebookCancelled = {
|
|
|
3033
3056
|
reason: "cancelled" | "disposed" | "timeout";
|
|
3034
3057
|
};
|
|
3035
3058
|
};
|
|
3036
|
-
export type EventLspClientDiagnostics = {
|
|
3037
|
-
id: string;
|
|
3038
|
-
type: "lsp.client.diagnostics";
|
|
3039
|
-
properties: {
|
|
3040
|
-
serverID: string;
|
|
3041
|
-
path: string;
|
|
3042
|
-
};
|
|
3043
|
-
};
|
|
3044
3059
|
export type EventKiloSessionsRemoteStatusChanged = {
|
|
3045
3060
|
id: string;
|
|
3046
3061
|
type: "kilo-sessions.remote-status-changed";
|
|
@@ -3049,6 +3064,14 @@ export type EventKiloSessionsRemoteStatusChanged = {
|
|
|
3049
3064
|
connected: boolean;
|
|
3050
3065
|
};
|
|
3051
3066
|
};
|
|
3067
|
+
export type EventLspClientDiagnostics = {
|
|
3068
|
+
id: string;
|
|
3069
|
+
type: "lsp.client.diagnostics";
|
|
3070
|
+
properties: {
|
|
3071
|
+
serverID: string;
|
|
3072
|
+
path: string;
|
|
3073
|
+
};
|
|
3074
|
+
};
|
|
3052
3075
|
export type EventMemoryStatus = {
|
|
3053
3076
|
id: string;
|
|
3054
3077
|
type: "memory.status";
|
|
@@ -3190,53 +3213,6 @@ export type EventGlobalConfigUpdated = {
|
|
|
3190
3213
|
[key: string]: unknown;
|
|
3191
3214
|
};
|
|
3192
3215
|
};
|
|
3193
|
-
export type CredentialOAuth = {
|
|
3194
|
-
type: "oauth";
|
|
3195
|
-
refresh: string;
|
|
3196
|
-
access: string;
|
|
3197
|
-
expires: number;
|
|
3198
|
-
metadata?: {
|
|
3199
|
-
[key: string]: string;
|
|
3200
|
-
};
|
|
3201
|
-
};
|
|
3202
|
-
export type CredentialKey = {
|
|
3203
|
-
type: "key";
|
|
3204
|
-
key: string;
|
|
3205
|
-
metadata?: {
|
|
3206
|
-
[key: string]: string;
|
|
3207
|
-
};
|
|
3208
|
-
};
|
|
3209
|
-
export type CredentialValue = CredentialOAuth | CredentialKey;
|
|
3210
|
-
export type CredentialInfo = {
|
|
3211
|
-
id: string;
|
|
3212
|
-
connectorID: string;
|
|
3213
|
-
methodID: string;
|
|
3214
|
-
label: string;
|
|
3215
|
-
value: CredentialValue;
|
|
3216
|
-
};
|
|
3217
|
-
export type EventCredentialAdded = {
|
|
3218
|
-
id: string;
|
|
3219
|
-
type: "credential.added";
|
|
3220
|
-
properties: {
|
|
3221
|
-
credential: CredentialInfo;
|
|
3222
|
-
};
|
|
3223
|
-
};
|
|
3224
|
-
export type EventCredentialRemoved = {
|
|
3225
|
-
id: string;
|
|
3226
|
-
type: "credential.removed";
|
|
3227
|
-
properties: {
|
|
3228
|
-
credential: CredentialInfo;
|
|
3229
|
-
};
|
|
3230
|
-
};
|
|
3231
|
-
export type EventCredentialSwitched = {
|
|
3232
|
-
id: string;
|
|
3233
|
-
type: "credential.switched";
|
|
3234
|
-
properties: {
|
|
3235
|
-
connectorID: string;
|
|
3236
|
-
from?: string;
|
|
3237
|
-
to?: string;
|
|
3238
|
-
};
|
|
3239
|
-
};
|
|
3240
3216
|
export type EventPluginAdded = {
|
|
3241
3217
|
id: string;
|
|
3242
3218
|
type: "plugin.added";
|
|
@@ -3969,9 +3945,9 @@ export type EventReferenceUpdated = {
|
|
|
3969
3945
|
[key: string]: unknown;
|
|
3970
3946
|
};
|
|
3971
3947
|
};
|
|
3972
|
-
export type
|
|
3948
|
+
export type EventIntegrationUpdated = {
|
|
3973
3949
|
id: string;
|
|
3974
|
-
type: "
|
|
3950
|
+
type: "integration.updated";
|
|
3975
3951
|
properties: {
|
|
3976
3952
|
[key: string]: unknown;
|
|
3977
3953
|
};
|
|
@@ -4006,6 +3982,13 @@ export type EventPermissionV2Replied = {
|
|
|
4006
3982
|
reply: PermissionV2Reply;
|
|
4007
3983
|
};
|
|
4008
3984
|
};
|
|
3985
|
+
export type EventProjectDirectoriesUpdated = {
|
|
3986
|
+
id: string;
|
|
3987
|
+
type: "project.directories.updated";
|
|
3988
|
+
properties: {
|
|
3989
|
+
projectID: string;
|
|
3990
|
+
};
|
|
3991
|
+
};
|
|
4009
3992
|
export type EventFileEdited = {
|
|
4010
3993
|
id: string;
|
|
4011
3994
|
type: "file.edited";
|
|
@@ -4151,13 +4134,6 @@ export type EventCommandExecuted = {
|
|
|
4151
4134
|
messageID: string;
|
|
4152
4135
|
};
|
|
4153
4136
|
};
|
|
4154
|
-
export type EventProjectDirectoriesUpdated = {
|
|
4155
|
-
id: string;
|
|
4156
|
-
type: "project.directories.updated";
|
|
4157
|
-
properties: {
|
|
4158
|
-
projectID: string;
|
|
4159
|
-
};
|
|
4160
|
-
};
|
|
4161
4137
|
export type EventProjectUpdated = {
|
|
4162
4138
|
id: string;
|
|
4163
4139
|
type: "project.updated";
|
|
@@ -4185,18 +4161,18 @@ export type EventProjectUpdated = {
|
|
|
4185
4161
|
sandboxes: Array<string>;
|
|
4186
4162
|
};
|
|
4187
4163
|
};
|
|
4188
|
-
export type
|
|
4164
|
+
export type EventVcsBranchUpdated = {
|
|
4189
4165
|
id: string;
|
|
4190
|
-
type: "
|
|
4166
|
+
type: "vcs.branch.updated";
|
|
4191
4167
|
properties: {
|
|
4192
|
-
|
|
4168
|
+
branch?: string;
|
|
4193
4169
|
};
|
|
4194
4170
|
};
|
|
4195
|
-
export type
|
|
4171
|
+
export type EventLspUpdated = {
|
|
4196
4172
|
id: string;
|
|
4197
|
-
type: "
|
|
4173
|
+
type: "lsp.updated";
|
|
4198
4174
|
properties: {
|
|
4199
|
-
|
|
4175
|
+
[key: string]: unknown;
|
|
4200
4176
|
};
|
|
4201
4177
|
};
|
|
4202
4178
|
export type EventWorkspaceReady = {
|
|
@@ -4853,11 +4829,8 @@ export type ConfigV2ExperimentalPolicy = {
|
|
|
4853
4829
|
};
|
|
4854
4830
|
export type ProjectDirectories = Array<{
|
|
4855
4831
|
directory: string;
|
|
4856
|
-
|
|
4832
|
+
strategy?: string;
|
|
4857
4833
|
}>;
|
|
4858
|
-
export type ProjectCopyCopy = {
|
|
4859
|
-
directory: string;
|
|
4860
|
-
};
|
|
4861
4834
|
export type LocationInfo = {
|
|
4862
4835
|
directory: string;
|
|
4863
4836
|
workspaceID?: string;
|
|
@@ -5176,19 +5149,19 @@ export type ProviderV2Info = {
|
|
|
5176
5149
|
};
|
|
5177
5150
|
};
|
|
5178
5151
|
};
|
|
5179
|
-
export type
|
|
5152
|
+
export type IntegrationWhen = {
|
|
5180
5153
|
key: string;
|
|
5181
5154
|
op: "eq" | "neq";
|
|
5182
5155
|
value: string;
|
|
5183
5156
|
};
|
|
5184
|
-
export type
|
|
5157
|
+
export type IntegrationTextPrompt = {
|
|
5185
5158
|
type: "text";
|
|
5186
5159
|
key: string;
|
|
5187
5160
|
message: string;
|
|
5188
5161
|
placeholder?: string;
|
|
5189
|
-
when?:
|
|
5162
|
+
when?: IntegrationWhen;
|
|
5190
5163
|
};
|
|
5191
|
-
export type
|
|
5164
|
+
export type IntegrationSelectPrompt = {
|
|
5192
5165
|
type: "select";
|
|
5193
5166
|
key: string;
|
|
5194
5167
|
message: string;
|
|
@@ -5197,26 +5170,39 @@ export type ConnectorSelectPrompt = {
|
|
|
5197
5170
|
value: string;
|
|
5198
5171
|
hint?: string;
|
|
5199
5172
|
}>;
|
|
5200
|
-
when?:
|
|
5173
|
+
when?: IntegrationWhen;
|
|
5201
5174
|
};
|
|
5202
|
-
export type
|
|
5175
|
+
export type IntegrationOAuthMethod = {
|
|
5203
5176
|
id: string;
|
|
5204
5177
|
type: "oauth";
|
|
5205
5178
|
label: string;
|
|
5206
|
-
prompts?: Array<
|
|
5179
|
+
prompts?: Array<IntegrationTextPrompt | IntegrationSelectPrompt>;
|
|
5207
5180
|
};
|
|
5208
|
-
export type
|
|
5209
|
-
id: string;
|
|
5181
|
+
export type IntegrationKeyMethod = {
|
|
5210
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;
|
|
5211
5192
|
label: string;
|
|
5212
|
-
prompts?: Array<ConnectorTextPrompt | ConnectorSelectPrompt>;
|
|
5213
5193
|
};
|
|
5214
|
-
export type
|
|
5194
|
+
export type ConnectionEnvInfo = {
|
|
5195
|
+
type: "env";
|
|
5196
|
+
name: string;
|
|
5197
|
+
};
|
|
5198
|
+
export type ConnectionInfo = ConnectionCredentialInfo | ConnectionEnvInfo;
|
|
5199
|
+
export type IntegrationInfo = {
|
|
5215
5200
|
id: string;
|
|
5216
5201
|
name: string;
|
|
5217
|
-
methods: Array<
|
|
5202
|
+
methods: Array<IntegrationOAuthMethod | IntegrationKeyMethod | IntegrationEnvMethod>;
|
|
5203
|
+
connections: Array<ConnectionInfo>;
|
|
5218
5204
|
};
|
|
5219
|
-
export type
|
|
5205
|
+
export type IntegrationAttempt = {
|
|
5220
5206
|
attemptID: string;
|
|
5221
5207
|
url: string;
|
|
5222
5208
|
instructions: string;
|
|
@@ -5302,6 +5288,9 @@ export type ReferenceInfo = {
|
|
|
5302
5288
|
hidden?: boolean;
|
|
5303
5289
|
source: ReferenceLocalSource | ReferenceGitSource;
|
|
5304
5290
|
};
|
|
5291
|
+
export type ProjectCopyCopy = {
|
|
5292
|
+
directory: string;
|
|
5293
|
+
};
|
|
5305
5294
|
export type EventMemoryStatus1 = {
|
|
5306
5295
|
id: string;
|
|
5307
5296
|
type: "memory.status";
|
|
@@ -7071,87 +7060,35 @@ export type ProjectDirectoriesResponses = {
|
|
|
7071
7060
|
200: ProjectDirectories;
|
|
7072
7061
|
};
|
|
7073
7062
|
export type ProjectDirectoriesResponse = ProjectDirectoriesResponses[keyof ProjectDirectoriesResponses];
|
|
7074
|
-
export type
|
|
7075
|
-
body?: {
|
|
7076
|
-
directory: string;
|
|
7077
|
-
force: boolean;
|
|
7078
|
-
};
|
|
7079
|
-
path: {
|
|
7080
|
-
projectID: string;
|
|
7081
|
-
};
|
|
7082
|
-
query?: {
|
|
7083
|
-
workspace?: string;
|
|
7084
|
-
};
|
|
7085
|
-
url: "/experimental/project/{projectID}/copy";
|
|
7086
|
-
};
|
|
7087
|
-
export type ExperimentalProjectCopyRemoveErrors = {
|
|
7088
|
-
/**
|
|
7089
|
-
* ProjectCopyError | InvalidRequestError
|
|
7090
|
-
*/
|
|
7091
|
-
400: ProjectCopyError | InvalidRequestError;
|
|
7092
|
-
};
|
|
7093
|
-
export type ExperimentalProjectCopyRemoveError = ExperimentalProjectCopyRemoveErrors[keyof ExperimentalProjectCopyRemoveErrors];
|
|
7094
|
-
export type ExperimentalProjectCopyRemoveResponses = {
|
|
7095
|
-
/**
|
|
7096
|
-
* Project copy removed
|
|
7097
|
-
*/
|
|
7098
|
-
204: void;
|
|
7099
|
-
};
|
|
7100
|
-
export type ExperimentalProjectCopyRemoveResponse = ExperimentalProjectCopyRemoveResponses[keyof ExperimentalProjectCopyRemoveResponses];
|
|
7101
|
-
export type ExperimentalProjectCopyCreateData = {
|
|
7063
|
+
export type ExperimentalProjectCopyGenerateNameData = {
|
|
7102
7064
|
body?: {
|
|
7103
|
-
strategy: "git_worktree";
|
|
7104
|
-
directory: string;
|
|
7105
|
-
name?: string;
|
|
7106
7065
|
context?: string;
|
|
7107
7066
|
};
|
|
7108
7067
|
path: {
|
|
7109
7068
|
projectID: string;
|
|
7110
7069
|
};
|
|
7111
|
-
query?: {
|
|
7112
|
-
workspace?: string;
|
|
7113
|
-
};
|
|
7114
|
-
url: "/experimental/project/{projectID}/copy";
|
|
7115
|
-
};
|
|
7116
|
-
export type ExperimentalProjectCopyCreateErrors = {
|
|
7117
|
-
/**
|
|
7118
|
-
* ProjectCopyError | InvalidRequestError
|
|
7119
|
-
*/
|
|
7120
|
-
400: ProjectCopyError | InvalidRequestError;
|
|
7121
|
-
};
|
|
7122
|
-
export type ExperimentalProjectCopyCreateError = ExperimentalProjectCopyCreateErrors[keyof ExperimentalProjectCopyCreateErrors];
|
|
7123
|
-
export type ExperimentalProjectCopyCreateResponses = {
|
|
7124
|
-
/**
|
|
7125
|
-
* Project copy created
|
|
7126
|
-
*/
|
|
7127
|
-
200: ProjectCopyCopy;
|
|
7128
|
-
};
|
|
7129
|
-
export type ExperimentalProjectCopyCreateResponse = ExperimentalProjectCopyCreateResponses[keyof ExperimentalProjectCopyCreateResponses];
|
|
7130
|
-
export type ExperimentalProjectCopyRefreshData = {
|
|
7131
|
-
body?: never;
|
|
7132
|
-
path: {
|
|
7133
|
-
projectID: string;
|
|
7134
|
-
};
|
|
7135
7070
|
query?: {
|
|
7136
7071
|
directory?: string;
|
|
7137
7072
|
workspace?: string;
|
|
7138
7073
|
};
|
|
7139
|
-
url: "/experimental/project/{projectID}/copy/
|
|
7074
|
+
url: "/experimental/project/{projectID}/copy/generate-name";
|
|
7140
7075
|
};
|
|
7141
|
-
export type
|
|
7076
|
+
export type ExperimentalProjectCopyGenerateNameErrors = {
|
|
7142
7077
|
/**
|
|
7143
|
-
*
|
|
7078
|
+
* Bad request
|
|
7144
7079
|
*/
|
|
7145
|
-
400:
|
|
7080
|
+
400: BadRequestError;
|
|
7146
7081
|
};
|
|
7147
|
-
export type
|
|
7148
|
-
export type
|
|
7082
|
+
export type ExperimentalProjectCopyGenerateNameError = ExperimentalProjectCopyGenerateNameErrors[keyof ExperimentalProjectCopyGenerateNameErrors];
|
|
7083
|
+
export type ExperimentalProjectCopyGenerateNameResponses = {
|
|
7149
7084
|
/**
|
|
7150
|
-
*
|
|
7085
|
+
* Success
|
|
7151
7086
|
*/
|
|
7152
|
-
|
|
7087
|
+
200: {
|
|
7088
|
+
name: string;
|
|
7089
|
+
};
|
|
7153
7090
|
};
|
|
7154
|
-
export type
|
|
7091
|
+
export type ExperimentalProjectCopyGenerateNameResponse = ExperimentalProjectCopyGenerateNameResponses[keyof ExperimentalProjectCopyGenerateNameResponses];
|
|
7155
7092
|
export type PtyShellsData = {
|
|
7156
7093
|
body?: never;
|
|
7157
7094
|
path?: never;
|
|
@@ -12847,7 +12784,7 @@ export type V2ProviderGetResponses = {
|
|
|
12847
12784
|
};
|
|
12848
12785
|
};
|
|
12849
12786
|
export type V2ProviderGetResponse = V2ProviderGetResponses[keyof V2ProviderGetResponses];
|
|
12850
|
-
export type
|
|
12787
|
+
export type V2IntegrationListData = {
|
|
12851
12788
|
body?: never;
|
|
12852
12789
|
path?: never;
|
|
12853
12790
|
query?: {
|
|
@@ -12856,9 +12793,9 @@ export type V2ConnectorListData = {
|
|
|
12856
12793
|
workspace?: string;
|
|
12857
12794
|
};
|
|
12858
12795
|
};
|
|
12859
|
-
url: "/api/
|
|
12796
|
+
url: "/api/integration";
|
|
12860
12797
|
};
|
|
12861
|
-
export type
|
|
12798
|
+
export type V2IntegrationListErrors = {
|
|
12862
12799
|
/**
|
|
12863
12800
|
* InvalidRequestError
|
|
12864
12801
|
*/
|
|
@@ -12868,21 +12805,21 @@ export type V2ConnectorListErrors = {
|
|
|
12868
12805
|
*/
|
|
12869
12806
|
401: UnauthorizedError;
|
|
12870
12807
|
};
|
|
12871
|
-
export type
|
|
12872
|
-
export type
|
|
12808
|
+
export type V2IntegrationListError = V2IntegrationListErrors[keyof V2IntegrationListErrors];
|
|
12809
|
+
export type V2IntegrationListResponses = {
|
|
12873
12810
|
/**
|
|
12874
12811
|
* Success
|
|
12875
12812
|
*/
|
|
12876
12813
|
200: {
|
|
12877
12814
|
location: LocationInfo;
|
|
12878
|
-
data: Array<
|
|
12815
|
+
data: Array<IntegrationInfo>;
|
|
12879
12816
|
};
|
|
12880
12817
|
};
|
|
12881
|
-
export type
|
|
12882
|
-
export type
|
|
12818
|
+
export type V2IntegrationListResponse = V2IntegrationListResponses[keyof V2IntegrationListResponses];
|
|
12819
|
+
export type V2IntegrationGetData = {
|
|
12883
12820
|
body?: never;
|
|
12884
12821
|
path: {
|
|
12885
|
-
|
|
12822
|
+
integrationID: string;
|
|
12886
12823
|
};
|
|
12887
12824
|
query?: {
|
|
12888
12825
|
location?: {
|
|
@@ -12890,9 +12827,9 @@ export type V2ConnectorGetData = {
|
|
|
12890
12827
|
workspace?: string;
|
|
12891
12828
|
};
|
|
12892
12829
|
};
|
|
12893
|
-
url: "/api/
|
|
12830
|
+
url: "/api/integration/{integrationID}";
|
|
12894
12831
|
};
|
|
12895
|
-
export type
|
|
12832
|
+
export type V2IntegrationGetErrors = {
|
|
12896
12833
|
/**
|
|
12897
12834
|
* InvalidRequestError
|
|
12898
12835
|
*/
|
|
@@ -12902,28 +12839,24 @@ export type V2ConnectorGetErrors = {
|
|
|
12902
12839
|
*/
|
|
12903
12840
|
401: UnauthorizedError;
|
|
12904
12841
|
};
|
|
12905
|
-
export type
|
|
12906
|
-
export type
|
|
12842
|
+
export type V2IntegrationGetError = V2IntegrationGetErrors[keyof V2IntegrationGetErrors];
|
|
12843
|
+
export type V2IntegrationGetResponses = {
|
|
12907
12844
|
/**
|
|
12908
12845
|
* Success
|
|
12909
12846
|
*/
|
|
12910
12847
|
200: {
|
|
12911
12848
|
location: LocationInfo;
|
|
12912
|
-
data:
|
|
12849
|
+
data: IntegrationInfo;
|
|
12913
12850
|
};
|
|
12914
12851
|
};
|
|
12915
|
-
export type
|
|
12916
|
-
export type
|
|
12852
|
+
export type V2IntegrationGetResponse = V2IntegrationGetResponses[keyof V2IntegrationGetResponses];
|
|
12853
|
+
export type V2IntegrationConnectKeyData = {
|
|
12917
12854
|
body: {
|
|
12918
|
-
methodID: string;
|
|
12919
12855
|
key: string;
|
|
12920
|
-
inputs: {
|
|
12921
|
-
[key: string]: string;
|
|
12922
|
-
};
|
|
12923
12856
|
label?: string;
|
|
12924
12857
|
};
|
|
12925
12858
|
path: {
|
|
12926
|
-
|
|
12859
|
+
integrationID: string;
|
|
12927
12860
|
};
|
|
12928
12861
|
query?: {
|
|
12929
12862
|
location?: {
|
|
@@ -12931,9 +12864,9 @@ export type V2ConnectorConnectKeyData = {
|
|
|
12931
12864
|
workspace?: string;
|
|
12932
12865
|
};
|
|
12933
12866
|
};
|
|
12934
|
-
url: "/api/
|
|
12867
|
+
url: "/api/integration/{integrationID}/connect/key";
|
|
12935
12868
|
};
|
|
12936
|
-
export type
|
|
12869
|
+
export type V2IntegrationConnectKeyErrors = {
|
|
12937
12870
|
/**
|
|
12938
12871
|
* InvalidRequestError
|
|
12939
12872
|
*/
|
|
@@ -12943,15 +12876,15 @@ export type V2ConnectorConnectKeyErrors = {
|
|
|
12943
12876
|
*/
|
|
12944
12877
|
401: UnauthorizedError;
|
|
12945
12878
|
};
|
|
12946
|
-
export type
|
|
12947
|
-
export type
|
|
12879
|
+
export type V2IntegrationConnectKeyError = V2IntegrationConnectKeyErrors[keyof V2IntegrationConnectKeyErrors];
|
|
12880
|
+
export type V2IntegrationConnectKeyResponses = {
|
|
12948
12881
|
/**
|
|
12949
12882
|
* <No Content>
|
|
12950
12883
|
*/
|
|
12951
12884
|
204: void;
|
|
12952
12885
|
};
|
|
12953
|
-
export type
|
|
12954
|
-
export type
|
|
12886
|
+
export type V2IntegrationConnectKeyResponse = V2IntegrationConnectKeyResponses[keyof V2IntegrationConnectKeyResponses];
|
|
12887
|
+
export type V2IntegrationConnectOauthData = {
|
|
12955
12888
|
body: {
|
|
12956
12889
|
methodID: string;
|
|
12957
12890
|
inputs: {
|
|
@@ -12960,7 +12893,7 @@ export type V2ConnectorConnectOauthBeginData = {
|
|
|
12960
12893
|
label?: string;
|
|
12961
12894
|
};
|
|
12962
12895
|
path: {
|
|
12963
|
-
|
|
12896
|
+
integrationID: string;
|
|
12964
12897
|
};
|
|
12965
12898
|
query?: {
|
|
12966
12899
|
location?: {
|
|
@@ -12968,9 +12901,9 @@ export type V2ConnectorConnectOauthBeginData = {
|
|
|
12968
12901
|
workspace?: string;
|
|
12969
12902
|
};
|
|
12970
12903
|
};
|
|
12971
|
-
url: "/api/
|
|
12904
|
+
url: "/api/integration/{integrationID}/connect/oauth";
|
|
12972
12905
|
};
|
|
12973
|
-
export type
|
|
12906
|
+
export type V2IntegrationConnectOauthErrors = {
|
|
12974
12907
|
/**
|
|
12975
12908
|
* InvalidRequestError
|
|
12976
12909
|
*/
|
|
@@ -12980,18 +12913,18 @@ export type V2ConnectorConnectOauthBeginErrors = {
|
|
|
12980
12913
|
*/
|
|
12981
12914
|
401: UnauthorizedError;
|
|
12982
12915
|
};
|
|
12983
|
-
export type
|
|
12984
|
-
export type
|
|
12916
|
+
export type V2IntegrationConnectOauthError = V2IntegrationConnectOauthErrors[keyof V2IntegrationConnectOauthErrors];
|
|
12917
|
+
export type V2IntegrationConnectOauthResponses = {
|
|
12985
12918
|
/**
|
|
12986
12919
|
* Success
|
|
12987
12920
|
*/
|
|
12988
12921
|
200: {
|
|
12989
12922
|
location: LocationInfo;
|
|
12990
|
-
data:
|
|
12923
|
+
data: IntegrationAttempt;
|
|
12991
12924
|
};
|
|
12992
12925
|
};
|
|
12993
|
-
export type
|
|
12994
|
-
export type
|
|
12926
|
+
export type V2IntegrationConnectOauthResponse = V2IntegrationConnectOauthResponses[keyof V2IntegrationConnectOauthResponses];
|
|
12927
|
+
export type V2IntegrationAttemptCancelData = {
|
|
12995
12928
|
body?: never;
|
|
12996
12929
|
path: {
|
|
12997
12930
|
attemptID: string;
|
|
@@ -13002,9 +12935,9 @@ export type V2ConnectorConnectOauthCancelData = {
|
|
|
13002
12935
|
workspace?: string;
|
|
13003
12936
|
};
|
|
13004
12937
|
};
|
|
13005
|
-
url: "/api/
|
|
12938
|
+
url: "/api/integration/attempt/{attemptID}";
|
|
13006
12939
|
};
|
|
13007
|
-
export type
|
|
12940
|
+
export type V2IntegrationAttemptCancelErrors = {
|
|
13008
12941
|
/**
|
|
13009
12942
|
* InvalidRequestError
|
|
13010
12943
|
*/
|
|
@@ -13014,15 +12947,15 @@ export type V2ConnectorConnectOauthCancelErrors = {
|
|
|
13014
12947
|
*/
|
|
13015
12948
|
401: UnauthorizedError;
|
|
13016
12949
|
};
|
|
13017
|
-
export type
|
|
13018
|
-
export type
|
|
12950
|
+
export type V2IntegrationAttemptCancelError = V2IntegrationAttemptCancelErrors[keyof V2IntegrationAttemptCancelErrors];
|
|
12951
|
+
export type V2IntegrationAttemptCancelResponses = {
|
|
13019
12952
|
/**
|
|
13020
12953
|
* <No Content>
|
|
13021
12954
|
*/
|
|
13022
12955
|
204: void;
|
|
13023
12956
|
};
|
|
13024
|
-
export type
|
|
13025
|
-
export type
|
|
12957
|
+
export type V2IntegrationAttemptCancelResponse = V2IntegrationAttemptCancelResponses[keyof V2IntegrationAttemptCancelResponses];
|
|
12958
|
+
export type V2IntegrationAttemptStatusData = {
|
|
13026
12959
|
body?: never;
|
|
13027
12960
|
path: {
|
|
13028
12961
|
attemptID: string;
|
|
@@ -13033,9 +12966,9 @@ export type V2ConnectorConnectOauthStatusData = {
|
|
|
13033
12966
|
workspace?: string;
|
|
13034
12967
|
};
|
|
13035
12968
|
};
|
|
13036
|
-
url: "/api/
|
|
12969
|
+
url: "/api/integration/attempt/{attemptID}";
|
|
13037
12970
|
};
|
|
13038
|
-
export type
|
|
12971
|
+
export type V2IntegrationAttemptStatusErrors = {
|
|
13039
12972
|
/**
|
|
13040
12973
|
* InvalidRequestError
|
|
13041
12974
|
*/
|
|
@@ -13045,8 +12978,8 @@ export type V2ConnectorConnectOauthStatusErrors = {
|
|
|
13045
12978
|
*/
|
|
13046
12979
|
401: UnauthorizedError;
|
|
13047
12980
|
};
|
|
13048
|
-
export type
|
|
13049
|
-
export type
|
|
12981
|
+
export type V2IntegrationAttemptStatusError = V2IntegrationAttemptStatusErrors[keyof V2IntegrationAttemptStatusErrors];
|
|
12982
|
+
export type V2IntegrationAttemptStatusResponses = {
|
|
13050
12983
|
/**
|
|
13051
12984
|
* Success
|
|
13052
12985
|
*/
|
|
@@ -13080,8 +13013,8 @@ export type V2ConnectorConnectOauthStatusResponses = {
|
|
|
13080
13013
|
};
|
|
13081
13014
|
};
|
|
13082
13015
|
};
|
|
13083
|
-
export type
|
|
13084
|
-
export type
|
|
13016
|
+
export type V2IntegrationAttemptStatusResponse = V2IntegrationAttemptStatusResponses[keyof V2IntegrationAttemptStatusResponses];
|
|
13017
|
+
export type V2IntegrationAttemptCompleteData = {
|
|
13085
13018
|
body: {
|
|
13086
13019
|
code?: string;
|
|
13087
13020
|
};
|
|
@@ -13094,9 +13027,9 @@ export type V2ConnectorConnectOauthCompleteData = {
|
|
|
13094
13027
|
workspace?: string;
|
|
13095
13028
|
};
|
|
13096
13029
|
};
|
|
13097
|
-
url: "/api/
|
|
13030
|
+
url: "/api/integration/attempt/{attemptID}/complete";
|
|
13098
13031
|
};
|
|
13099
|
-
export type
|
|
13032
|
+
export type V2IntegrationAttemptCompleteErrors = {
|
|
13100
13033
|
/**
|
|
13101
13034
|
* InvalidRequestError
|
|
13102
13035
|
*/
|
|
@@ -13106,14 +13039,68 @@ export type V2ConnectorConnectOauthCompleteErrors = {
|
|
|
13106
13039
|
*/
|
|
13107
13040
|
401: UnauthorizedError;
|
|
13108
13041
|
};
|
|
13109
|
-
export type
|
|
13110
|
-
export type
|
|
13042
|
+
export type V2IntegrationAttemptCompleteError = V2IntegrationAttemptCompleteErrors[keyof V2IntegrationAttemptCompleteErrors];
|
|
13043
|
+
export type V2IntegrationAttemptCompleteResponses = {
|
|
13111
13044
|
/**
|
|
13112
13045
|
* <No Content>
|
|
13113
13046
|
*/
|
|
13114
13047
|
204: void;
|
|
13115
13048
|
};
|
|
13116
|
-
export type
|
|
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}";
|
|
13085
|
+
};
|
|
13086
|
+
export type V2CredentialUpdateErrors = {
|
|
13087
|
+
/**
|
|
13088
|
+
* InvalidRequestError
|
|
13089
|
+
*/
|
|
13090
|
+
400: InvalidRequestError;
|
|
13091
|
+
/**
|
|
13092
|
+
* UnauthorizedError
|
|
13093
|
+
*/
|
|
13094
|
+
401: UnauthorizedError;
|
|
13095
|
+
};
|
|
13096
|
+
export type V2CredentialUpdateError = V2CredentialUpdateErrors[keyof V2CredentialUpdateErrors];
|
|
13097
|
+
export type V2CredentialUpdateResponses = {
|
|
13098
|
+
/**
|
|
13099
|
+
* <No Content>
|
|
13100
|
+
*/
|
|
13101
|
+
204: void;
|
|
13102
|
+
};
|
|
13103
|
+
export type V2CredentialUpdateResponse = V2CredentialUpdateResponses[keyof V2CredentialUpdateResponses];
|
|
13117
13104
|
export type V2PermissionRequestListData = {
|
|
13118
13105
|
body?: never;
|
|
13119
13106
|
path?: never;
|
|
@@ -13615,6 +13602,94 @@ export type V2ReferenceListResponses = {
|
|
|
13615
13602
|
};
|
|
13616
13603
|
};
|
|
13617
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];
|
|
13618
13693
|
export type PtyConnectData = {
|
|
13619
13694
|
body?: never;
|
|
13620
13695
|
path: {
|