@nikcli-ai/sdk 1.297.0 → 1.299.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/httpapi/compat.d.ts
CHANGED
|
@@ -326,7 +326,7 @@ export declare function compat(raw: Raw, defaults?: CompatDefaults): {
|
|
|
326
326
|
detail: (input: WithDirectory<import("./client.js").MobileSessionDetailInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileSessionDetail>>;
|
|
327
327
|
diff: (input: WithDirectory<import("./client.js").MobileSessionDiffInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileSessionDiffOutput>>;
|
|
328
328
|
list: (input?: (import("./client.js").MobileSessionListInput & Selector) | undefined, options?: CallOptions) => Promise<Result<import("./client.js").MobileSessionListOutput>>;
|
|
329
|
-
message: (input: WithDirectory<import("./client.js").MobileSessionMessageInput>, options?: CallOptions) => Promise<Result<import("./client.js").
|
|
329
|
+
message: (input: WithDirectory<import("./client.js").MobileSessionMessageInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileAccepted>>;
|
|
330
330
|
rename: (input: WithDirectory<import("./client.js").MobileSessionRenameInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileSuccess>>;
|
|
331
331
|
stream: (input: WithDirectory<import("./client.js").MobileSessionStreamInput>, options?: CallOptions) => Promise<{
|
|
332
332
|
stream: AsyncIterable<unknown>;
|
|
@@ -341,7 +341,7 @@ export declare function compat(raw: Raw, defaults?: CompatDefaults): {
|
|
|
341
341
|
};
|
|
342
342
|
};
|
|
343
343
|
worktree: {
|
|
344
|
-
create: (input?: (import("./client.js").MobileWorktreeCreateInput & Selector) | undefined, options?: CallOptions) => Promise<Result<import("./client.js").
|
|
344
|
+
create: (input?: (import("./client.js").MobileWorktreeCreateInput & Selector) | undefined, options?: CallOptions) => Promise<Result<import("./client.js").Worktree>>;
|
|
345
345
|
remove: (input: WithDirectory<import("./client.js").MobileWorktreeRemoveInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileSuccess>>;
|
|
346
346
|
reset: (input: WithDirectory<import("./client.js").MobileWorktreeResetInput>, options?: CallOptions) => Promise<Result<import("./client.js").MobileSuccess>>;
|
|
347
347
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TopLevelVcsStatusOutput, TopLevelVcsApplyInput, TopLevelCommandOutput, TopLevelAgentOutput, TopLevelSkillOutput, TopLevelLspOutput, TopLevelFormatterOutput, AnalyticsDailyInput, AnalyticsDailyOutput, AnalyticsSessionInput, AnalyticsSessionsOutput, AnalyticsDataInput, AppLogInput, AppSkillCreateInput, AppSkillDeleteInput, BrainTriggerInput, ChatbotBotsOutput, ChatbotStartInput, ChatbotStopInput, DiscordSetupInput, VoiceTranscribeInput, ProfilePatchInput, ProfileHabitsInput, ProfilePreviewInput, ProfileClearHabitsInput, ConfigUpdateInput, ConnectorsAuthSetInput, ConnectorsAuthRemoveInput, ConnectorsInvalidateInput, ExperimentalToolsInput, ExperimentalWorktreeCreateInput, ExperimentalWorktreeRemoveInput, ExperimentalWorktreeResetInput, ExperimentalManagedWorktreeCreateInput, ExperimentalManagedWorktreeRemoveInput, ExperimentalManagedWorktreeLinkInput, ExperimentalManagedWorktreeChildrenInput, ExperimentalManagedWorktreeAncestorsInput, FileFindTextInput, FileFindTextOutput, FileFindFileInput, FileFindFileOutput, FileFindSymbolInput, FileFindSymbolOutput, FileListInput, FileListOutput, FileContentInput, FileWriteInput, FileStatusOutput, McpAddInput, McpStartAuthInput, McpAuthCallbackInput, McpAuthenticateInput, McpRemoveAuthInput, McpConnectInput, McpDisconnectInput, McpToggleInput, MissionGenerateInput, MissionRecentExecsInput, MissionGetInput, MissionUpsertInput, MissionUpdateInput, MissionRemoveInput, MissionStartInput, MissionPauseInput, MissionCancelInput, MissionFeatureMutateInput, MissionExecsInput, MobileAuthTokenListOutput, MobileAuthTokenCreateInput, MobileAuthTokenCreateOutput, MobileAuthTokenRevokeInput, MobileAuthTokenRevokeOutput, MobileCommandListOutput, MobileProjectListOutput, MobileMemoryHistoryOutput, MobileMemorySearchInput, MobileMemorySearchOutput, MobileMemoryStashListOutput, MobileMemoryStashCreateInput, MobileMemoryStashDeleteInput, MobileGithubReposOutput, MobileGithubBranchesInput, MobileGithubBranchesOutput, MobileGithubImportsOutput, MobileGithubOauthClientInput, MobileGithubOauthDevicePollInput, MobileGithubAuthSetInput, MobileGithubImportInput, MobileGithubImportOutput, MobileGithubSessionCreateInput, MobileSessionListInput, MobileSessionListOutput, MobileSessionCreateInput, MobileSessionDetailInput, MobileSessionDeleteInput, MobileSessionDiffInput, MobileSessionDiffOutput, MobileSessionCommandListInput, MobileSessionCommandListOutput, MobileSessionCommandInput, MobileSessionCommandOutput, MobileSessionMessageInput,
|
|
1
|
+
import type { TopLevelVcsStatusOutput, TopLevelVcsApplyInput, TopLevelCommandOutput, TopLevelAgentOutput, TopLevelSkillOutput, TopLevelLspOutput, TopLevelFormatterOutput, AnalyticsDailyInput, AnalyticsDailyOutput, AnalyticsSessionInput, AnalyticsSessionsOutput, AnalyticsDataInput, AppLogInput, AppSkillCreateInput, AppSkillDeleteInput, BrainTriggerInput, ChatbotBotsOutput, ChatbotStartInput, ChatbotStopInput, DiscordSetupInput, VoiceTranscribeInput, ProfilePatchInput, ProfileHabitsInput, ProfilePreviewInput, ProfileClearHabitsInput, ConfigUpdateInput, ConnectorsAuthSetInput, ConnectorsAuthRemoveInput, ConnectorsInvalidateInput, ExperimentalToolsInput, ExperimentalWorktreeCreateInput, ExperimentalWorktreeRemoveInput, ExperimentalWorktreeResetInput, ExperimentalManagedWorktreeCreateInput, ExperimentalManagedWorktreeRemoveInput, ExperimentalManagedWorktreeLinkInput, ExperimentalManagedWorktreeChildrenInput, ExperimentalManagedWorktreeAncestorsInput, FileFindTextInput, FileFindTextOutput, FileFindFileInput, FileFindFileOutput, FileFindSymbolInput, FileFindSymbolOutput, FileListInput, FileListOutput, FileContentInput, FileWriteInput, FileStatusOutput, McpAddInput, McpStartAuthInput, McpAuthCallbackInput, McpAuthenticateInput, McpRemoveAuthInput, McpConnectInput, McpDisconnectInput, McpToggleInput, MissionGenerateInput, MissionRecentExecsInput, MissionGetInput, MissionUpsertInput, MissionUpdateInput, MissionRemoveInput, MissionStartInput, MissionPauseInput, MissionCancelInput, MissionFeatureMutateInput, MissionExecsInput, MobileAuthTokenListOutput, MobileAuthTokenCreateInput, MobileAuthTokenCreateOutput, MobileAuthTokenRevokeInput, MobileAuthTokenRevokeOutput, MobileCommandListOutput, MobileProjectListOutput, MobileMemoryHistoryOutput, MobileMemorySearchInput, MobileMemorySearchOutput, MobileMemoryStashListOutput, MobileMemoryStashCreateInput, MobileMemoryStashDeleteInput, MobileGithubReposOutput, MobileGithubBranchesInput, MobileGithubBranchesOutput, MobileGithubImportsOutput, MobileGithubOauthClientInput, MobileGithubOauthDevicePollInput, MobileGithubAuthSetInput, MobileGithubImportInput, MobileGithubImportOutput, MobileGithubSessionCreateInput, MobileSessionListInput, MobileSessionListOutput, MobileSessionCreateInput, MobileSessionDetailInput, MobileSessionDeleteInput, MobileSessionDiffInput, MobileSessionDiffOutput, MobileSessionCommandListInput, MobileSessionCommandListOutput, MobileSessionCommandInput, MobileSessionCommandOutput, MobileSessionMessageInput, MobileSessionAbortInput, MobilePermissionRespondInput, MobileQuestionRespondInput, MobileQuestionRejectInput, MobileSessionPublishInput, MobileSessionCleanupInput, MobileSessionStreamInput, MobileSessionStreamOutput, MobileSessionRenameInput, MobileSessionTodoInput, MobileSessionTodoOutput, MobileTeleportUploadBeginOutput, MobileTeleportUploadChunkInput, MobileTeleportUploadChunkOutput, MobileTeleportInInput, MobileTeleportOutInput, MobileWorktreeCreateInput, MobileWorktreeRemoveInput, MobileWorktreeResetInput, MobileGitDiffInput, MobileGitDiffOutput, MobileGitCommitsInput, MobileGitCommitsOutput, MobileGitBranchesOutput, MobileGitCommitInput, MobileGitCommitOutput, MobileGitCheckoutInput, MobileGitStageInput, MobileGitUnstageInput, MobileGitDiscardInput, MobileGitPushInput, MobileGitPushOutput, MobileGitPullOutput, MobileLoopListOutput, MobileLoopCreateInput, MobileLoopTemplatesOutput, MobileLoopGenerateInput, MobileLoopRunsRecentInput, MobileLoopRunsRecentOutput, MobileLoopGetInput, MobileLoopGetOutput, MobileLoopDeleteInput, MobileLoopUpdateInput, MobileLoopRunsInput, MobileLoopRunsOutput, MobileLoopRunInput, MobileLoopAbortInput, MobileLoopToggleInput, MobileLoopPauseInput, MobileLoopResumeInput, MobileRoutineListOutput, MobileRoutineCreateInput, MobileRoutineGetInput, MobileRoutineDeleteInput, MobileRoutineUpdateInput, MobileRoutineRunInput, MobileRoutinePauseInput, MobileRoutineResumeInput, MobileRoutineTriggerInput, MobilePtyListOutput, MobilePtyCreateInput, MobilePtyGetInput, MobilePtyUpdateInput, MobilePtyRemoveInput, MobileMissionListOutput, MobileMissionCreateInput, MobileMissionTemplatesOutput, MobileMissionGenerateInput, MobileMissionExecsRecentInput, MobileMissionExecsRecentOutput, MobileMissionGetInput, MobileMissionGetOutput, MobileMissionUpdateInput, MobileMissionDeleteInput, MobileMissionExecsInput, MobileMissionExecsOutput, MobileMissionStartInput, MobileMissionPauseInput, MobileMissionCancelInput, MobileMissionFeatureMutateInput, MobileEventsOutput, MobileBrainStatusOutput, MobileBrainTriggerInput, MobileBrainTriggerOutput, MobileChatBotListOutput, MobileChatBotStartInput, MobileChatBotStartOutput, MobileChatBotStopInput, MobileChatBotStopOutput, MobileObservabilityGetOutput, MobileObservabilitySetInput, MobileObservabilitySetOutput, MobileLspStatusOutput, MobileFusionListOutput, MobileFusionSetInput, MobileFusionSetOutput, MobileHostBrowserOutput, MobileHostComputerOutput, MobileHostHerdrGetOutput, MobileHostHerdrSetInput, MobileHostHerdrSetOutput, MobileHostIslandOutput, MobileHostDevtoolsOutput, ProjectListOutput, ProjectUpdateInput, ProjectDirectoryListInput, ProjectDirectoryListOutput, ProjectCopyCreateInput, ProjectCopyRemoveInput, ProjectCopyRefreshInput, ProviderApiInput, ProviderRemoveAuthInput, ProviderOauthAuthorizeInput, ProviderOauthAuthorizeOutput, ProviderOauthCallbackInput, QuestionListOutput, QuestionReplyInput, QuestionRejectInput, PermissionListOutput, PermissionReplyInput, PtyCreateInput, PtyGetInput, PtyUpdateInput, PtyRemoveInput, LoopGenerateInput, LoopRecentRunsInput, LoopGetInput, LoopUpsertInput, LoopUpdateInput, LoopRemoveInput, LoopToggleInput, LoopRunInput, LoopAbortInput, LoopPauseInput, LoopResumeInput, LoopRunsInput, SessionListInput, SessionCreateInput, SessionGetInput, SessionRemoveInput, SessionUpdateInput, SessionForkInput, SessionAbortInput, SessionRevertInput, SessionUnrevertInput, SessionShareInput, SessionUnshareInput, SessionSummarizeInput, SessionCommandInput, SessionShellInput, SessionPermissionRespondInput, SessionChildrenInput, SessionTodoInput, SessionDiffInput, SessionMessagesInput, SessionPendingInput, SessionPendingSteerInput, SessionMessageInput, SessionMessageRemoveInput, SessionPartRemoveInput, SessionPartUpdateInput, SessionV2EntriesInput, SessionV2StateInput, SessionV2EventsInput, SessionInstructionsInput, SessionContextBreakdownInput, SessionContextToggleInput, SessionGoalInput, SessionBackgroundInput, SessionBackgroundInspectInput, SessionBackgroundReadInput, SessionBackgroundCancelInput, SessionMonitorInput, SessionMonitorLogInput, SessionMonitorCancelInput, AccountCompleteInput, SyncEventInput, SyncOutboxInput, SyncSnapshotInput, SyncStreamInput, SyncStreamOutput, SyncStatsInput, SyncConfigInput, TuiAppendPromptInput, TuiExecuteCommandInput, TuiShowToastInput, TuiPublishInput, TuiSelectSessionInput, TuiControlResponseInput, WorkspaceAdaptorsOutput, WorkspaceStatusOutput, WorkspaceCreateInput, WorkspaceListOutput, WorkspaceRemoveInput, WorkspaceRestoreInput, WorkspaceSessionRestoreInput, WorkspaceWarpInput, AuthSetInput, AuthRemoveInput, ConfigManagementMcpAddInput, ConfigManagementMcpUpdateInput, ConfigManagementMcpRemoveInput, ConfigManagementProfileCreateInput, ConfigManagementProfileActivateInput, SessionPromptPromptInput, SessionPromptPromptAsyncInput, ShareShortInput, SharePageInput, ShareApiInput, ShareDataInput, EventsSubscribeOutput, EventsGlobalOutput, WorkspaceExtraEventsInput, WorkspaceExtraEventsOutput, WorkspaceExtraSessionWarpInput, UsersRegisterInput, UsersLoginInput, UsersUpdateInput } from "./types.js";
|
|
2
2
|
export interface ClientOptions {
|
|
3
3
|
readonly baseUrl: string;
|
|
4
4
|
readonly fetch?: typeof globalThis.fetch;
|
|
@@ -158,7 +158,7 @@ export declare function make(options: ClientOptions): {
|
|
|
158
158
|
sessionDiff: (input: MobileSessionDiffInput, requestOptions?: RequestOptions) => Promise<MobileSessionDiffOutput>;
|
|
159
159
|
sessionCommandList: (input: MobileSessionCommandListInput, requestOptions?: RequestOptions) => Promise<MobileSessionCommandListOutput>;
|
|
160
160
|
sessionCommand: (input: MobileSessionCommandInput, requestOptions?: RequestOptions) => Promise<MobileSessionCommandOutput>;
|
|
161
|
-
sessionMessage: (input: MobileSessionMessageInput, requestOptions?: RequestOptions) => Promise<
|
|
161
|
+
sessionMessage: (input: MobileSessionMessageInput, requestOptions?: RequestOptions) => Promise<import("./types.js").MobileAccepted>;
|
|
162
162
|
sessionAbort: (input: MobileSessionAbortInput, requestOptions?: RequestOptions) => Promise<import("./types.js").MobileSuccess>;
|
|
163
163
|
permissionRespond: (input: MobilePermissionRespondInput, requestOptions?: RequestOptions) => Promise<import("./types.js").MobileSuccess>;
|
|
164
164
|
questionRespond: (input: MobileQuestionRespondInput, requestOptions?: RequestOptions) => Promise<import("./types.js").MobileSuccess>;
|
|
@@ -172,7 +172,7 @@ export declare function make(options: ClientOptions): {
|
|
|
172
172
|
teleportUploadChunk: (input: MobileTeleportUploadChunkInput, requestOptions?: RequestOptions) => Promise<MobileTeleportUploadChunkOutput>;
|
|
173
173
|
teleportIn: (input: MobileTeleportInInput, requestOptions?: RequestOptions) => Promise<import("./types.js").MobileTeleportResult>;
|
|
174
174
|
teleportOut: (input: MobileTeleportOutInput, requestOptions?: RequestOptions) => Promise<import("./types.js").MobileTeleportResult>;
|
|
175
|
-
worktreeCreate: (input?: MobileWorktreeCreateInput, requestOptions?: RequestOptions) => Promise<import("./types.js").
|
|
175
|
+
worktreeCreate: (input?: MobileWorktreeCreateInput, requestOptions?: RequestOptions) => Promise<import("./types.js").Worktree>;
|
|
176
176
|
worktreeRemove: (input: MobileWorktreeRemoveInput, requestOptions?: RequestOptions) => Promise<import("./types.js").MobileSuccess>;
|
|
177
177
|
worktreeReset: (input: MobileWorktreeResetInput, requestOptions?: RequestOptions) => Promise<import("./types.js").MobileSuccess>;
|
|
178
178
|
gitStatus: (requestOptions?: RequestOptions) => Promise<import("./types.js").MobileGitStatus>;
|
|
@@ -722,15 +722,15 @@ export function make(options) {
|
|
|
722
722
|
method: "DELETE",
|
|
723
723
|
path: `/mobile/memory/stash/${encodeURIComponent(input.id)}`,
|
|
724
724
|
successStatus: 200,
|
|
725
|
-
declaredStatuses: [],
|
|
725
|
+
declaredStatuses: [404],
|
|
726
726
|
empty: false,
|
|
727
727
|
}, requestOptions),
|
|
728
|
-
githubRepos: (requestOptions) => request({ method: "GET", path: `/mobile/github/repos`, successStatus: 200, declaredStatuses: [], empty: false }, requestOptions),
|
|
728
|
+
githubRepos: (requestOptions) => request({ method: "GET", path: `/mobile/github/repos`, successStatus: 200, declaredStatuses: [401], empty: false }, requestOptions),
|
|
729
729
|
githubBranches: (input, requestOptions) => request({
|
|
730
730
|
method: "GET",
|
|
731
731
|
path: `/mobile/github/repos/${encodeURIComponent(input.owner)}/${encodeURIComponent(input.repo)}/branches`,
|
|
732
732
|
successStatus: 200,
|
|
733
|
-
declaredStatuses: [],
|
|
733
|
+
declaredStatuses: [401],
|
|
734
734
|
empty: false,
|
|
735
735
|
}, requestOptions),
|
|
736
736
|
githubImports: (requestOptions) => request({ method: "GET", path: `/mobile/github/imports`, successStatus: 200, declaredStatuses: [], empty: false }, requestOptions),
|
|
@@ -746,7 +746,7 @@ export function make(options) {
|
|
|
746
746
|
method: "POST",
|
|
747
747
|
path: `/mobile/github/oauth/device`,
|
|
748
748
|
successStatus: 200,
|
|
749
|
-
declaredStatuses: [],
|
|
749
|
+
declaredStatuses: [400],
|
|
750
750
|
empty: false,
|
|
751
751
|
}, requestOptions),
|
|
752
752
|
githubOauthDevicePoll: (input, requestOptions) => request({
|
|
@@ -754,7 +754,7 @@ export function make(options) {
|
|
|
754
754
|
path: `/mobile/github/oauth/device/poll`,
|
|
755
755
|
body: { deviceCode: input["deviceCode"] },
|
|
756
756
|
successStatus: 200,
|
|
757
|
-
declaredStatuses: [],
|
|
757
|
+
declaredStatuses: [400],
|
|
758
758
|
empty: false,
|
|
759
759
|
}, requestOptions),
|
|
760
760
|
githubAuthSet: (input, requestOptions) => request({
|
|
@@ -777,7 +777,7 @@ export function make(options) {
|
|
|
777
777
|
private: input["private"],
|
|
778
778
|
},
|
|
779
779
|
successStatus: 200,
|
|
780
|
-
declaredStatuses: [],
|
|
780
|
+
declaredStatuses: [401],
|
|
781
781
|
empty: false,
|
|
782
782
|
}, requestOptions),
|
|
783
783
|
githubSessionCreate: (input, requestOptions) => request({
|
|
@@ -795,7 +795,7 @@ export function make(options) {
|
|
|
795
795
|
executionTarget: input["executionTarget"],
|
|
796
796
|
},
|
|
797
797
|
successStatus: 200,
|
|
798
|
-
declaredStatuses: [],
|
|
798
|
+
declaredStatuses: [401],
|
|
799
799
|
empty: false,
|
|
800
800
|
}, requestOptions),
|
|
801
801
|
sessionList: (input, requestOptions) => request({
|
|
@@ -859,7 +859,7 @@ export function make(options) {
|
|
|
859
859
|
variant: input["variant"],
|
|
860
860
|
},
|
|
861
861
|
successStatus: 200,
|
|
862
|
-
declaredStatuses: [],
|
|
862
|
+
declaredStatuses: [400],
|
|
863
863
|
empty: false,
|
|
864
864
|
}, requestOptions),
|
|
865
865
|
sessionMessage: (input, requestOptions) => request({
|
|
@@ -867,6 +867,7 @@ export function make(options) {
|
|
|
867
867
|
path: `/mobile/session/${encodeURIComponent(input.sessionID)}/message`,
|
|
868
868
|
body: {
|
|
869
869
|
messageID: input["messageID"],
|
|
870
|
+
delivery: input["delivery"],
|
|
870
871
|
model: input["model"],
|
|
871
872
|
agent: input["agent"],
|
|
872
873
|
noReply: input["noReply"],
|
|
@@ -875,9 +876,10 @@ export function make(options) {
|
|
|
875
876
|
system: input["system"],
|
|
876
877
|
variant: input["variant"],
|
|
877
878
|
parts: input["parts"],
|
|
879
|
+
parentSessionID: input["parentSessionID"],
|
|
878
880
|
},
|
|
879
|
-
successStatus:
|
|
880
|
-
declaredStatuses: [],
|
|
881
|
+
successStatus: 202,
|
|
882
|
+
declaredStatuses: [400],
|
|
881
883
|
empty: false,
|
|
882
884
|
}, requestOptions),
|
|
883
885
|
sessionAbort: (input, requestOptions) => request({
|
|
@@ -915,14 +917,14 @@ export function make(options) {
|
|
|
915
917
|
path: `/mobile/session/${encodeURIComponent(input.sessionID)}/publish`,
|
|
916
918
|
body: { title: input["title"], body: input["body"], commitMessage: input["commitMessage"] },
|
|
917
919
|
successStatus: 200,
|
|
918
|
-
declaredStatuses: [],
|
|
920
|
+
declaredStatuses: [401, 400],
|
|
919
921
|
empty: false,
|
|
920
922
|
}, requestOptions),
|
|
921
923
|
sessionCleanup: (input, requestOptions) => request({
|
|
922
924
|
method: "POST",
|
|
923
925
|
path: `/mobile/session/${encodeURIComponent(input.sessionID)}/cleanup`,
|
|
924
926
|
successStatus: 200,
|
|
925
|
-
declaredStatuses: [],
|
|
927
|
+
declaredStatuses: [400],
|
|
926
928
|
empty: false,
|
|
927
929
|
}, requestOptions),
|
|
928
930
|
sessionStream: (input, requestOptions) => sse({
|
|
@@ -937,7 +939,7 @@ export function make(options) {
|
|
|
937
939
|
path: `/mobile/session/${encodeURIComponent(input.sessionID)}/rename`,
|
|
938
940
|
body: { title: input["title"] },
|
|
939
941
|
successStatus: 200,
|
|
940
|
-
declaredStatuses: [],
|
|
942
|
+
declaredStatuses: [404],
|
|
941
943
|
empty: false,
|
|
942
944
|
}, requestOptions),
|
|
943
945
|
sessionTodo: (input, requestOptions) => request({
|
|
@@ -967,7 +969,7 @@ export function make(options) {
|
|
|
967
969
|
uploadID: input["uploadID"],
|
|
968
970
|
},
|
|
969
971
|
successStatus: 200,
|
|
970
|
-
declaredStatuses: [],
|
|
972
|
+
declaredStatuses: [400],
|
|
971
973
|
empty: false,
|
|
972
974
|
}, requestOptions),
|
|
973
975
|
teleportOut: (input, requestOptions) => request({
|
|
@@ -980,7 +982,7 @@ export function make(options) {
|
|
|
980
982
|
includeGit: input["includeGit"],
|
|
981
983
|
},
|
|
982
984
|
successStatus: 200,
|
|
983
|
-
declaredStatuses: [],
|
|
985
|
+
declaredStatuses: [400, 404],
|
|
984
986
|
empty: false,
|
|
985
987
|
}, requestOptions),
|
|
986
988
|
worktreeCreate: (input, requestOptions) => request({
|
|
@@ -1045,7 +1047,7 @@ export function make(options) {
|
|
|
1045
1047
|
stagedOnly: input["stagedOnly"],
|
|
1046
1048
|
},
|
|
1047
1049
|
successStatus: 200,
|
|
1048
|
-
declaredStatuses: [],
|
|
1050
|
+
declaredStatuses: [400],
|
|
1049
1051
|
empty: false,
|
|
1050
1052
|
}, requestOptions),
|
|
1051
1053
|
gitCheckout: (input, requestOptions) => request({
|
|
@@ -1106,7 +1108,7 @@ export function make(options) {
|
|
|
1106
1108
|
enabled: input["enabled"],
|
|
1107
1109
|
},
|
|
1108
1110
|
successStatus: 200,
|
|
1109
|
-
declaredStatuses: [],
|
|
1111
|
+
declaredStatuses: [400],
|
|
1110
1112
|
empty: false,
|
|
1111
1113
|
}, requestOptions),
|
|
1112
1114
|
loopTemplates: (requestOptions) => request({ method: "GET", path: `/mobile/loops/templates`, successStatus: 200, declaredStatuses: [], empty: false }, requestOptions),
|
|
@@ -1135,14 +1137,14 @@ export function make(options) {
|
|
|
1135
1137
|
method: "GET",
|
|
1136
1138
|
path: `/mobile/loops/${encodeURIComponent(input.id)}`,
|
|
1137
1139
|
successStatus: 200,
|
|
1138
|
-
declaredStatuses: [],
|
|
1140
|
+
declaredStatuses: [404],
|
|
1139
1141
|
empty: false,
|
|
1140
1142
|
}, requestOptions),
|
|
1141
1143
|
loopDelete: (input, requestOptions) => request({
|
|
1142
1144
|
method: "DELETE",
|
|
1143
1145
|
path: `/mobile/loops/${encodeURIComponent(input.id)}`,
|
|
1144
1146
|
successStatus: 200,
|
|
1145
|
-
declaredStatuses: [],
|
|
1147
|
+
declaredStatuses: [404],
|
|
1146
1148
|
empty: false,
|
|
1147
1149
|
}, requestOptions),
|
|
1148
1150
|
loopUpdate: (input, requestOptions) => request({
|
|
@@ -1161,7 +1163,7 @@ export function make(options) {
|
|
|
1161
1163
|
enabled: input["enabled"],
|
|
1162
1164
|
},
|
|
1163
1165
|
successStatus: 200,
|
|
1164
|
-
declaredStatuses: [],
|
|
1166
|
+
declaredStatuses: [400, 404],
|
|
1165
1167
|
empty: false,
|
|
1166
1168
|
}, requestOptions),
|
|
1167
1169
|
loopRuns: (input, requestOptions) => request({
|
|
@@ -1169,21 +1171,21 @@ export function make(options) {
|
|
|
1169
1171
|
path: `/mobile/loops/${encodeURIComponent(input.id)}/runs`,
|
|
1170
1172
|
query: { limit: input["limit"] },
|
|
1171
1173
|
successStatus: 200,
|
|
1172
|
-
declaredStatuses: [],
|
|
1174
|
+
declaredStatuses: [404],
|
|
1173
1175
|
empty: false,
|
|
1174
1176
|
}, requestOptions),
|
|
1175
1177
|
loopRun: (input, requestOptions) => request({
|
|
1176
1178
|
method: "POST",
|
|
1177
1179
|
path: `/mobile/loops/${encodeURIComponent(input.id)}/run`,
|
|
1178
1180
|
successStatus: 200,
|
|
1179
|
-
declaredStatuses: [],
|
|
1181
|
+
declaredStatuses: [404],
|
|
1180
1182
|
empty: false,
|
|
1181
1183
|
}, requestOptions),
|
|
1182
1184
|
loopAbort: (input, requestOptions) => request({
|
|
1183
1185
|
method: "POST",
|
|
1184
1186
|
path: `/mobile/loops/${encodeURIComponent(input.id)}/abort`,
|
|
1185
1187
|
successStatus: 200,
|
|
1186
|
-
declaredStatuses: [],
|
|
1188
|
+
declaredStatuses: [404],
|
|
1187
1189
|
empty: false,
|
|
1188
1190
|
}, requestOptions),
|
|
1189
1191
|
loopToggle: (input, requestOptions) => request({
|
|
@@ -1191,21 +1193,21 @@ export function make(options) {
|
|
|
1191
1193
|
path: `/mobile/loops/${encodeURIComponent(input.id)}/toggle`,
|
|
1192
1194
|
body: { enabled: input["enabled"] },
|
|
1193
1195
|
successStatus: 200,
|
|
1194
|
-
declaredStatuses: [],
|
|
1196
|
+
declaredStatuses: [404],
|
|
1195
1197
|
empty: false,
|
|
1196
1198
|
}, requestOptions),
|
|
1197
1199
|
loopPause: (input, requestOptions) => request({
|
|
1198
1200
|
method: "POST",
|
|
1199
1201
|
path: `/mobile/loops/${encodeURIComponent(input.id)}/pause`,
|
|
1200
1202
|
successStatus: 200,
|
|
1201
|
-
declaredStatuses: [],
|
|
1203
|
+
declaredStatuses: [404],
|
|
1202
1204
|
empty: false,
|
|
1203
1205
|
}, requestOptions),
|
|
1204
1206
|
loopResume: (input, requestOptions) => request({
|
|
1205
1207
|
method: "POST",
|
|
1206
1208
|
path: `/mobile/loops/${encodeURIComponent(input.id)}/resume`,
|
|
1207
1209
|
successStatus: 200,
|
|
1208
|
-
declaredStatuses: [],
|
|
1210
|
+
declaredStatuses: [404],
|
|
1209
1211
|
empty: false,
|
|
1210
1212
|
}, requestOptions),
|
|
1211
1213
|
routineList: (requestOptions) => request({ method: "GET", path: `/mobile/routines`, successStatus: 200, declaredStatuses: [], empty: false }, requestOptions),
|
|
@@ -1221,14 +1223,14 @@ export function make(options) {
|
|
|
1221
1223
|
method: "GET",
|
|
1222
1224
|
path: `/mobile/routines/${encodeURIComponent(input.id)}`,
|
|
1223
1225
|
successStatus: 200,
|
|
1224
|
-
declaredStatuses: [],
|
|
1226
|
+
declaredStatuses: [404],
|
|
1225
1227
|
empty: false,
|
|
1226
1228
|
}, requestOptions),
|
|
1227
1229
|
routineDelete: (input, requestOptions) => request({
|
|
1228
1230
|
method: "DELETE",
|
|
1229
1231
|
path: `/mobile/routines/${encodeURIComponent(input.id)}`,
|
|
1230
1232
|
successStatus: 200,
|
|
1231
|
-
declaredStatuses: [],
|
|
1233
|
+
declaredStatuses: [404],
|
|
1232
1234
|
empty: false,
|
|
1233
1235
|
}, requestOptions),
|
|
1234
1236
|
routineUpdate: (input, requestOptions) => request({
|
|
@@ -1242,7 +1244,7 @@ export function make(options) {
|
|
|
1242
1244
|
paused: input["paused"],
|
|
1243
1245
|
},
|
|
1244
1246
|
successStatus: 200,
|
|
1245
|
-
declaredStatuses: [],
|
|
1247
|
+
declaredStatuses: [404],
|
|
1246
1248
|
empty: false,
|
|
1247
1249
|
}, requestOptions),
|
|
1248
1250
|
routineRun: (input, requestOptions) => request({
|
|
@@ -1250,21 +1252,21 @@ export function make(options) {
|
|
|
1250
1252
|
path: `/mobile/routines/${encodeURIComponent(input.id)}/run`,
|
|
1251
1253
|
body: { text: input["text"] },
|
|
1252
1254
|
successStatus: 200,
|
|
1253
|
-
declaredStatuses: [],
|
|
1255
|
+
declaredStatuses: [404],
|
|
1254
1256
|
empty: false,
|
|
1255
1257
|
}, requestOptions),
|
|
1256
1258
|
routinePause: (input, requestOptions) => request({
|
|
1257
1259
|
method: "POST",
|
|
1258
1260
|
path: `/mobile/routines/${encodeURIComponent(input.id)}/pause`,
|
|
1259
1261
|
successStatus: 200,
|
|
1260
|
-
declaredStatuses: [],
|
|
1262
|
+
declaredStatuses: [404],
|
|
1261
1263
|
empty: false,
|
|
1262
1264
|
}, requestOptions),
|
|
1263
1265
|
routineResume: (input, requestOptions) => request({
|
|
1264
1266
|
method: "POST",
|
|
1265
1267
|
path: `/mobile/routines/${encodeURIComponent(input.id)}/resume`,
|
|
1266
1268
|
successStatus: 200,
|
|
1267
|
-
declaredStatuses: [],
|
|
1269
|
+
declaredStatuses: [404],
|
|
1268
1270
|
empty: false,
|
|
1269
1271
|
}, requestOptions),
|
|
1270
1272
|
routineTrigger: (input, requestOptions) => request({
|
|
@@ -1272,7 +1274,7 @@ export function make(options) {
|
|
|
1272
1274
|
path: `/mobile/routines/trigger/${encodeURIComponent(input.token)}`,
|
|
1273
1275
|
body: { text: input["text"] },
|
|
1274
1276
|
successStatus: 200,
|
|
1275
|
-
declaredStatuses: [],
|
|
1277
|
+
declaredStatuses: [404],
|
|
1276
1278
|
empty: false,
|
|
1277
1279
|
}, requestOptions),
|
|
1278
1280
|
ptyList: (requestOptions) => request({ method: "GET", path: `/mobile/pty`, successStatus: 200, declaredStatuses: [], empty: false }, requestOptions),
|
|
@@ -1326,7 +1328,7 @@ export function make(options) {
|
|
|
1326
1328
|
worktree: input["worktree"],
|
|
1327
1329
|
},
|
|
1328
1330
|
successStatus: 200,
|
|
1329
|
-
declaredStatuses: [],
|
|
1331
|
+
declaredStatuses: [400],
|
|
1330
1332
|
empty: false,
|
|
1331
1333
|
}, requestOptions),
|
|
1332
1334
|
missionTemplates: (requestOptions) => request({ method: "GET", path: `/mobile/missions/templates`, successStatus: 200, declaredStatuses: [], empty: false }, requestOptions),
|
|
@@ -1340,7 +1342,7 @@ export function make(options) {
|
|
|
1340
1342
|
sessionID: input["sessionID"],
|
|
1341
1343
|
},
|
|
1342
1344
|
successStatus: 200,
|
|
1343
|
-
declaredStatuses: [],
|
|
1345
|
+
declaredStatuses: [400],
|
|
1344
1346
|
empty: false,
|
|
1345
1347
|
}, requestOptions),
|
|
1346
1348
|
missionExecsRecent: (input, requestOptions) => request({
|
|
@@ -1355,7 +1357,7 @@ export function make(options) {
|
|
|
1355
1357
|
method: "GET",
|
|
1356
1358
|
path: `/mobile/missions/${encodeURIComponent(input.id)}`,
|
|
1357
1359
|
successStatus: 200,
|
|
1358
|
-
declaredStatuses: [],
|
|
1360
|
+
declaredStatuses: [404],
|
|
1359
1361
|
empty: false,
|
|
1360
1362
|
}, requestOptions),
|
|
1361
1363
|
missionUpdate: (input, requestOptions) => request({
|
|
@@ -1373,14 +1375,14 @@ export function make(options) {
|
|
|
1373
1375
|
createdAt: input["createdAt"],
|
|
1374
1376
|
},
|
|
1375
1377
|
successStatus: 200,
|
|
1376
|
-
declaredStatuses: [],
|
|
1378
|
+
declaredStatuses: [404, 400],
|
|
1377
1379
|
empty: false,
|
|
1378
1380
|
}, requestOptions),
|
|
1379
1381
|
missionDelete: (input, requestOptions) => request({
|
|
1380
1382
|
method: "DELETE",
|
|
1381
1383
|
path: `/mobile/missions/${encodeURIComponent(input.id)}`,
|
|
1382
1384
|
successStatus: 200,
|
|
1383
|
-
declaredStatuses: [],
|
|
1385
|
+
declaredStatuses: [404],
|
|
1384
1386
|
empty: false,
|
|
1385
1387
|
}, requestOptions),
|
|
1386
1388
|
missionExecs: (input, requestOptions) => request({
|
|
@@ -1388,28 +1390,28 @@ export function make(options) {
|
|
|
1388
1390
|
path: `/mobile/missions/${encodeURIComponent(input.id)}/execs`,
|
|
1389
1391
|
query: { limit: input["limit"] },
|
|
1390
1392
|
successStatus: 200,
|
|
1391
|
-
declaredStatuses: [],
|
|
1393
|
+
declaredStatuses: [404],
|
|
1392
1394
|
empty: false,
|
|
1393
1395
|
}, requestOptions),
|
|
1394
1396
|
missionStart: (input, requestOptions) => request({
|
|
1395
1397
|
method: "POST",
|
|
1396
1398
|
path: `/mobile/missions/${encodeURIComponent(input.id)}/start`,
|
|
1397
1399
|
successStatus: 200,
|
|
1398
|
-
declaredStatuses: [],
|
|
1400
|
+
declaredStatuses: [404],
|
|
1399
1401
|
empty: false,
|
|
1400
1402
|
}, requestOptions),
|
|
1401
1403
|
missionPause: (input, requestOptions) => request({
|
|
1402
1404
|
method: "POST",
|
|
1403
1405
|
path: `/mobile/missions/${encodeURIComponent(input.id)}/pause`,
|
|
1404
1406
|
successStatus: 200,
|
|
1405
|
-
declaredStatuses: [],
|
|
1407
|
+
declaredStatuses: [404],
|
|
1406
1408
|
empty: false,
|
|
1407
1409
|
}, requestOptions),
|
|
1408
1410
|
missionCancel: (input, requestOptions) => request({
|
|
1409
1411
|
method: "POST",
|
|
1410
1412
|
path: `/mobile/missions/${encodeURIComponent(input.id)}/cancel`,
|
|
1411
1413
|
successStatus: 200,
|
|
1412
|
-
declaredStatuses: [],
|
|
1414
|
+
declaredStatuses: [404],
|
|
1413
1415
|
empty: false,
|
|
1414
1416
|
}, requestOptions),
|
|
1415
1417
|
missionFeatureMutate: (input, requestOptions) => request({
|
|
@@ -1417,7 +1419,7 @@ export function make(options) {
|
|
|
1417
1419
|
path: `/mobile/missions/${encodeURIComponent(input.id)}/feature/${encodeURIComponent(input.featureID)}`,
|
|
1418
1420
|
body: { status: input["status"], error: input["error"], appendDependsOn: input["appendDependsOn"] },
|
|
1419
1421
|
successStatus: 200,
|
|
1420
|
-
declaredStatuses: [],
|
|
1422
|
+
declaredStatuses: [404, 400],
|
|
1421
1423
|
empty: false,
|
|
1422
1424
|
}, requestOptions),
|
|
1423
1425
|
events: (requestOptions) => sse({ method: "GET", path: `/mobile/events`, successStatus: 200, declaredStatuses: [], empty: false }, requestOptions),
|