@steuerboard/mcp 0.0.7 → 0.1.2
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/README.md +11 -23
- package/bin/mcp-server.js +921 -353
- package/bin/mcp-server.js.map +65 -53
- package/esm/src/funcs/adminClientsCreateClient.d.ts +1 -1
- package/esm/src/funcs/adminClientsCreateClient.d.ts.map +1 -1
- package/esm/src/funcs/adminClientsCreateClient.js +7 -9
- package/esm/src/funcs/adminClientsCreateClient.js.map +1 -1
- package/esm/src/funcs/adminClientsGetClient.js +5 -7
- package/esm/src/funcs/adminClientsGetClient.js.map +1 -1
- package/esm/src/funcs/adminClientsListClients.js +4 -6
- package/esm/src/funcs/adminClientsListClients.js.map +1 -1
- package/esm/src/funcs/{authGetV1Me.d.ts → authMe.d.ts} +3 -3
- package/esm/src/funcs/authMe.d.ts.map +1 -0
- package/esm/src/funcs/{authGetV1Me.js → authMe.js} +6 -6
- package/esm/src/funcs/authMe.js.map +1 -0
- package/esm/src/funcs/filesCreateFile.js +32 -34
- package/esm/src/funcs/filesCreateFile.js.map +1 -1
- package/esm/src/funcs/filesDeleteFile.js +5 -7
- package/esm/src/funcs/filesDeleteFile.js.map +1 -1
- package/esm/src/funcs/filesGetFile.js +5 -5
- package/esm/src/funcs/filesGetFile.js.map +1 -1
- package/esm/src/funcs/filesListFiles.js +4 -6
- package/esm/src/funcs/filesListFiles.js.map +1 -1
- package/esm/src/funcs/filesUpdateFile.js +5 -5
- package/esm/src/funcs/filesUpdateFile.js.map +1 -1
- package/esm/src/funcs/{healthCheckGetV1.d.ts → healthIndex.d.ts} +3 -3
- package/esm/src/funcs/{authGetV1Me.d.ts.map → healthIndex.d.ts.map} +1 -1
- package/esm/src/funcs/{healthCheckGetV1.js → healthIndex.js} +6 -6
- package/esm/src/funcs/healthIndex.js.map +1 -0
- package/esm/src/funcs/{healthCheckGetV1Ping.d.ts → healthPing.d.ts} +3 -3
- package/esm/src/funcs/healthPing.d.ts.map +1 -0
- package/esm/src/funcs/{healthCheckGetV1Ping.js → healthPing.js} +6 -6
- package/esm/src/funcs/healthPing.js.map +1 -0
- package/esm/src/funcs/tasksCreateTask.js +6 -2
- package/esm/src/funcs/tasksCreateTask.js.map +1 -1
- package/esm/src/funcs/tasksDeleteTask.js +9 -5
- package/esm/src/funcs/tasksDeleteTask.js.map +1 -1
- package/esm/src/funcs/tasksGetTask.js +9 -5
- package/esm/src/funcs/tasksGetTask.js.map +1 -1
- package/esm/src/funcs/tasksListTasks.d.ts +1 -1
- package/esm/src/funcs/tasksListTasks.d.ts.map +1 -1
- package/esm/src/funcs/tasksListTasks.js +15 -9
- package/esm/src/funcs/tasksListTasks.js.map +1 -1
- package/esm/src/funcs/tasksUpdateTask.js +6 -2
- package/esm/src/funcs/tasksUpdateTask.js.map +1 -1
- package/esm/src/funcs/workspacesCreateWorkspace.d.ts +16 -0
- package/esm/src/funcs/workspacesCreateWorkspace.d.ts.map +1 -0
- package/esm/src/funcs/workspacesCreateWorkspace.js +92 -0
- package/esm/src/funcs/workspacesCreateWorkspace.js.map +1 -0
- package/esm/src/funcs/workspacesGetWorkspace.js +5 -7
- package/esm/src/funcs/workspacesGetWorkspace.js.map +1 -1
- package/esm/src/funcs/workspacesListWorkspaces.js +5 -5
- package/esm/src/funcs/workspacesListWorkspaces.js.map +1 -1
- package/esm/src/lib/config.d.ts +4 -4
- package/esm/src/lib/config.d.ts.map +1 -1
- package/esm/src/lib/config.js +4 -4
- package/esm/src/lib/config.js.map +1 -1
- package/esm/src/mcp-server/mcp-server.js +1 -1
- package/esm/src/mcp-server/server.d.ts.map +1 -1
- package/esm/src/mcp-server/server.js +9 -7
- package/esm/src/mcp-server/server.js.map +1 -1
- package/esm/src/mcp-server/tools/adminClientsCreateClient.d.ts +1 -1
- package/esm/src/mcp-server/tools/adminClientsCreateClient.js +1 -1
- package/esm/src/mcp-server/tools/adminClientsCreateClient.js.map +1 -1
- package/esm/src/mcp-server/tools/authMe.d.ts +3 -0
- package/esm/src/mcp-server/tools/authMe.d.ts.map +1 -0
- package/esm/src/mcp-server/tools/{healthCheckGetV1.js → authMe.js} +6 -6
- package/esm/src/mcp-server/tools/authMe.js.map +1 -0
- package/esm/src/mcp-server/tools/healthIndex.d.ts +3 -0
- package/esm/src/mcp-server/tools/healthIndex.d.ts.map +1 -0
- package/esm/src/mcp-server/tools/{authGetV1Me.js → healthIndex.js} +6 -6
- package/esm/src/mcp-server/tools/healthIndex.js.map +1 -0
- package/esm/src/mcp-server/tools/healthPing.d.ts +3 -0
- package/esm/src/mcp-server/tools/healthPing.d.ts.map +1 -0
- package/esm/src/mcp-server/tools/{healthCheckGetV1Ping.js → healthPing.js} +5 -5
- package/esm/src/mcp-server/tools/healthPing.js.map +1 -0
- package/esm/src/mcp-server/tools/tasksListTasks.d.ts +1 -1
- package/esm/src/mcp-server/tools/tasksListTasks.js +1 -1
- package/esm/src/mcp-server/tools/tasksListTasks.js.map +1 -1
- package/esm/src/mcp-server/tools/workspacesCreateWorkspace.d.ts +7 -0
- package/esm/src/mcp-server/tools/workspacesCreateWorkspace.d.ts.map +1 -0
- package/esm/src/mcp-server/tools/workspacesCreateWorkspace.js +28 -0
- package/esm/src/mcp-server/tools/workspacesCreateWorkspace.js.map +1 -0
- package/esm/src/models/autherror.d.ts +13 -0
- package/esm/src/models/autherror.d.ts.map +1 -0
- package/esm/src/models/autherror.js +17 -0
- package/esm/src/models/autherror.js.map +1 -0
- package/esm/src/models/badrequest.d.ts +13 -0
- package/esm/src/models/badrequest.d.ts.map +1 -0
- package/esm/src/models/badrequest.js +17 -0
- package/esm/src/models/badrequest.js.map +1 -0
- package/esm/src/models/client.d.ts +3 -3
- package/esm/src/models/client.d.ts.map +1 -1
- package/esm/src/models/client.js +5 -5
- package/esm/src/models/client.js.map +1 -1
- package/esm/src/models/clientcreate.d.ts +3 -3
- package/esm/src/models/clientcreate.d.ts.map +1 -1
- package/esm/src/models/clientcreate.js +2 -2
- package/esm/src/models/clientcreate.js.map +1 -1
- package/esm/src/models/createclientop.d.ts +19 -8
- package/esm/src/models/createclientop.d.ts.map +1 -1
- package/esm/src/models/createclientop.js +17 -4
- package/esm/src/models/createclientop.js.map +1 -1
- package/esm/src/models/createfileop.d.ts +29 -9
- package/esm/src/models/createfileop.d.ts.map +1 -1
- package/esm/src/models/createfileop.js +29 -5
- package/esm/src/models/createfileop.js.map +1 -1
- package/esm/src/models/createtaskop.d.ts +25 -4
- package/esm/src/models/createtaskop.d.ts.map +1 -1
- package/esm/src/models/createtaskop.js +22 -3
- package/esm/src/models/createtaskop.js.map +1 -1
- package/esm/src/models/createworkspaceop.d.ts +59 -0
- package/esm/src/models/createworkspaceop.d.ts.map +1 -0
- package/esm/src/models/createworkspaceop.js +57 -0
- package/esm/src/models/createworkspaceop.js.map +1 -0
- package/esm/src/models/deletefileop.d.ts +19 -12
- package/esm/src/models/deletefileop.d.ts.map +1 -1
- package/esm/src/models/deletefileop.js +20 -7
- package/esm/src/models/deletefileop.js.map +1 -1
- package/esm/src/models/deletetaskop.d.ts +20 -4
- package/esm/src/models/deletetaskop.d.ts.map +1 -1
- package/esm/src/models/deletetaskop.js +21 -3
- package/esm/src/models/deletetaskop.js.map +1 -1
- package/esm/src/models/file.js +3 -3
- package/esm/src/models/file.js.map +1 -1
- package/esm/src/models/fileupdate.js +1 -1
- package/esm/src/models/fileupdate.js.map +1 -1
- package/esm/src/models/getclientop.d.ts +17 -12
- package/esm/src/models/getclientop.d.ts.map +1 -1
- package/esm/src/models/getclientop.js +18 -7
- package/esm/src/models/getclientop.js.map +1 -1
- package/esm/src/models/getfileop.d.ts +21 -8
- package/esm/src/models/getfileop.d.ts.map +1 -1
- package/esm/src/models/getfileop.js +19 -4
- package/esm/src/models/getfileop.js.map +1 -1
- package/esm/src/models/gettaskop.d.ts +20 -4
- package/esm/src/models/gettaskop.d.ts.map +1 -1
- package/esm/src/models/gettaskop.js +21 -3
- package/esm/src/models/gettaskop.js.map +1 -1
- package/esm/src/models/getworkspaceop.d.ts +19 -12
- package/esm/src/models/getworkspaceop.d.ts.map +1 -1
- package/esm/src/models/getworkspaceop.js +20 -7
- package/esm/src/models/getworkspaceop.js.map +1 -1
- package/esm/src/models/indexop.d.ts +18 -0
- package/esm/src/models/indexop.d.ts.map +1 -0
- package/esm/src/models/indexop.js +16 -0
- package/esm/src/models/indexop.js.map +1 -0
- package/esm/src/models/listclientsop.d.ts +27 -25
- package/esm/src/models/listclientsop.d.ts.map +1 -1
- package/esm/src/models/listclientsop.js +25 -17
- package/esm/src/models/listclientsop.js.map +1 -1
- package/esm/src/models/listfilesop.d.ts +20 -16
- package/esm/src/models/listfilesop.d.ts.map +1 -1
- package/esm/src/models/listfilesop.js +21 -12
- package/esm/src/models/listfilesop.js.map +1 -1
- package/esm/src/models/listtasksop.d.ts +33 -8
- package/esm/src/models/listtasksop.d.ts.map +1 -1
- package/esm/src/models/listtasksop.js +41 -8
- package/esm/src/models/listtasksop.js.map +1 -1
- package/esm/src/models/listworkspacesop.d.ts +20 -16
- package/esm/src/models/listworkspacesop.d.ts.map +1 -1
- package/esm/src/models/listworkspacesop.js +21 -11
- package/esm/src/models/listworkspacesop.js.map +1 -1
- package/esm/src/models/meop.d.ts +41 -0
- package/esm/src/models/meop.d.ts.map +1 -0
- package/esm/src/models/meop.js +38 -0
- package/esm/src/models/meop.js.map +1 -0
- package/esm/src/models/notfound.d.ts +13 -0
- package/esm/src/models/notfound.d.ts.map +1 -0
- package/esm/src/models/notfound.js +18 -0
- package/esm/src/models/notfound.js.map +1 -0
- package/esm/src/models/paginatedclients.d.ts +9 -0
- package/esm/src/models/paginatedclients.d.ts.map +1 -0
- package/esm/src/models/paginatedclients.js +11 -0
- package/esm/src/models/paginatedclients.js.map +1 -0
- package/esm/src/models/paginatedfiles.d.ts +9 -0
- package/esm/src/models/paginatedfiles.d.ts.map +1 -0
- package/esm/src/models/paginatedfiles.js +11 -0
- package/esm/src/models/paginatedfiles.js.map +1 -0
- package/esm/src/models/paginatedtasks.d.ts +9 -0
- package/esm/src/models/paginatedtasks.d.ts.map +1 -0
- package/esm/src/models/paginatedtasks.js +11 -0
- package/esm/src/models/paginatedtasks.js.map +1 -0
- package/esm/src/models/paginatedworkspaces.d.ts +9 -0
- package/esm/src/models/paginatedworkspaces.d.ts.map +1 -0
- package/esm/src/models/paginatedworkspaces.js +11 -0
- package/esm/src/models/paginatedworkspaces.js.map +1 -0
- package/esm/src/models/pingop.d.ts +18 -0
- package/esm/src/models/pingop.d.ts.map +1 -0
- package/esm/src/models/pingop.js +16 -0
- package/esm/src/models/pingop.js.map +1 -0
- package/esm/src/models/ratelimit.d.ts +13 -0
- package/esm/src/models/ratelimit.d.ts.map +1 -0
- package/esm/src/models/ratelimit.js +17 -0
- package/esm/src/models/ratelimit.js.map +1 -0
- package/esm/src/models/taskcreate.js +1 -1
- package/esm/src/models/taskcreate.js.map +1 -1
- package/esm/src/models/updatefileop.d.ts +22 -9
- package/esm/src/models/updatefileop.d.ts.map +1 -1
- package/esm/src/models/updatefileop.js +20 -5
- package/esm/src/models/updatefileop.js.map +1 -1
- package/esm/src/models/updatetaskop.d.ts +20 -4
- package/esm/src/models/updatetaskop.d.ts.map +1 -1
- package/esm/src/models/updatetaskop.js +21 -3
- package/esm/src/models/updatetaskop.js.map +1 -1
- package/esm/src/models/workspace.js +3 -3
- package/esm/src/models/workspace.js.map +1 -1
- package/esm/src/models/workspacecreate.d.ts +6 -0
- package/esm/src/models/workspacecreate.d.ts.map +1 -0
- package/esm/src/models/workspacecreate.js +8 -0
- package/esm/src/models/workspacecreate.js.map +1 -0
- package/manifest.json +8 -4
- package/package.json +1 -1
- package/src/funcs/adminClientsCreateClient.ts +11 -10
- package/src/funcs/adminClientsGetClient.ts +7 -6
- package/src/funcs/adminClientsListClients.ts +7 -6
- package/src/funcs/{authGetV1Me.ts → authMe.ts} +12 -11
- package/src/funcs/filesCreateFile.ts +42 -40
- package/src/funcs/filesDeleteFile.ts +8 -6
- package/src/funcs/filesGetFile.ts +8 -4
- package/src/funcs/filesListFiles.ts +8 -6
- package/src/funcs/filesUpdateFile.ts +8 -4
- package/src/funcs/{healthCheckGetV1.ts → healthIndex.ts} +10 -8
- package/src/funcs/{healthCheckGetV1Ping.ts → healthPing.ts} +10 -11
- package/src/funcs/tasksCreateTask.ts +11 -2
- package/src/funcs/tasksDeleteTask.ts +12 -3
- package/src/funcs/tasksGetTask.ts +12 -3
- package/src/funcs/tasksListTasks.ts +21 -10
- package/src/funcs/tasksUpdateTask.ts +11 -2
- package/src/funcs/workspacesCreateWorkspace.ts +175 -0
- package/src/funcs/workspacesGetWorkspace.ts +8 -6
- package/src/funcs/workspacesListWorkspaces.ts +9 -5
- package/src/lib/config.ts +4 -4
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +9 -7
- package/src/mcp-server/tools/adminClientsCreateClient.ts +1 -1
- package/src/mcp-server/tools/{authGetV1Me.ts → authMe.ts} +4 -4
- package/src/mcp-server/tools/{healthCheckGetV1.ts → healthIndex.ts} +4 -4
- package/src/mcp-server/tools/{healthCheckGetV1Ping.ts → healthPing.ts} +4 -4
- package/src/mcp-server/tools/tasksListTasks.ts +1 -1
- package/src/mcp-server/tools/workspacesCreateWorkspace.ts +37 -0
- package/src/models/autherror.ts +32 -0
- package/src/models/badrequest.ts +35 -0
- package/src/models/client.ts +7 -7
- package/src/models/clientcreate.ts +6 -4
- package/src/models/createclientop.ts +44 -20
- package/src/models/createfileop.ts +78 -26
- package/src/models/createtaskop.ts +59 -10
- package/src/models/createworkspaceop.ts +158 -0
- package/src/models/deletefileop.ts +41 -30
- package/src/models/deletetaskop.ts +43 -10
- package/src/models/file.ts +3 -3
- package/src/models/fileupdate.ts +1 -1
- package/src/models/getclientop.ts +38 -30
- package/src/models/getfileop.ts +47 -20
- package/src/models/gettaskop.ts +43 -10
- package/src/models/getworkspaceop.ts +41 -30
- package/src/models/indexop.ts +39 -0
- package/src/models/listclientsop.ts +56 -47
- package/src/models/listfilesop.ts +42 -34
- package/src/models/listtasksop.ts +72 -14
- package/src/models/listworkspacesop.ts +45 -35
- package/src/models/meop.ts +96 -0
- package/src/models/notfound.ts +32 -0
- package/src/models/paginatedclients.ts +18 -0
- package/src/models/paginatedfiles.ts +18 -0
- package/src/models/paginatedtasks.ts +18 -0
- package/src/models/paginatedworkspaces.ts +21 -0
- package/src/models/pingop.ts +39 -0
- package/src/models/ratelimit.ts +32 -0
- package/src/models/taskcreate.ts +1 -1
- package/src/models/updatefileop.ts +49 -22
- package/src/models/updatetaskop.ts +41 -7
- package/src/models/workspace.ts +3 -3
- package/src/models/workspacecreate.ts +15 -0
- package/esm/src/funcs/authGetV1Me.js.map +0 -1
- package/esm/src/funcs/healthCheckGetV1.d.ts.map +0 -1
- package/esm/src/funcs/healthCheckGetV1.js.map +0 -1
- package/esm/src/funcs/healthCheckGetV1Ping.d.ts.map +0 -1
- package/esm/src/funcs/healthCheckGetV1Ping.js.map +0 -1
- package/esm/src/mcp-server/tools/authGetV1Me.d.ts +0 -3
- package/esm/src/mcp-server/tools/authGetV1Me.d.ts.map +0 -1
- package/esm/src/mcp-server/tools/authGetV1Me.js.map +0 -1
- package/esm/src/mcp-server/tools/healthCheckGetV1.d.ts +0 -3
- package/esm/src/mcp-server/tools/healthCheckGetV1.d.ts.map +0 -1
- package/esm/src/mcp-server/tools/healthCheckGetV1.js.map +0 -1
- package/esm/src/mcp-server/tools/healthCheckGetV1Ping.d.ts +0 -3
- package/esm/src/mcp-server/tools/healthCheckGetV1Ping.d.ts.map +0 -1
- package/esm/src/mcp-server/tools/healthCheckGetV1Ping.js.map +0 -1
- package/esm/src/models/getv1meop.d.ts +0 -22
- package/esm/src/models/getv1meop.d.ts.map +0 -1
- package/esm/src/models/getv1meop.js +0 -20
- package/esm/src/models/getv1meop.js.map +0 -1
- package/esm/src/models/getv1op.d.ts +0 -16
- package/esm/src/models/getv1op.d.ts.map +0 -1
- package/esm/src/models/getv1op.js +0 -14
- package/esm/src/models/getv1op.js.map +0 -1
- package/esm/src/models/getv1pingop.d.ts +0 -16
- package/esm/src/models/getv1pingop.d.ts.map +0 -1
- package/esm/src/models/getv1pingop.js +0 -14
- package/esm/src/models/getv1pingop.js.map +0 -1
- package/src/models/getv1meop.ts +0 -50
- package/src/models/getv1op.ts +0 -36
- package/src/models/getv1pingop.ts +0 -36
package/bin/mcp-server.js
CHANGED
|
@@ -40755,14 +40755,14 @@ var ServerList, SDK_METADATA;
|
|
|
40755
40755
|
var init_config = __esm(() => {
|
|
40756
40756
|
init_url();
|
|
40757
40757
|
ServerList = [
|
|
40758
|
-
"https://api.steuerboard.com"
|
|
40758
|
+
"https://api.steuerboard.com/v1"
|
|
40759
40759
|
];
|
|
40760
40760
|
SDK_METADATA = {
|
|
40761
40761
|
language: "typescript",
|
|
40762
40762
|
openapiDocVersion: "0.1.0",
|
|
40763
|
-
sdkVersion: "0.
|
|
40764
|
-
genVersion: "2.
|
|
40765
|
-
userAgent: "speakeasy-sdk/mcp-typescript 0.
|
|
40763
|
+
sdkVersion: "0.1.2",
|
|
40764
|
+
genVersion: "2.709.0",
|
|
40765
|
+
userAgent: "speakeasy-sdk/mcp-typescript 0.1.2 2.709.0 0.1.0 @steuerboard/mcp"
|
|
40766
40766
|
};
|
|
40767
40767
|
});
|
|
40768
40768
|
|
|
@@ -41874,6 +41874,9 @@ var init_schemas = __esm(() => {
|
|
|
41874
41874
|
function json(codes, schema, options) {
|
|
41875
41875
|
return { ...options, enc: "json", codes, schema };
|
|
41876
41876
|
}
|
|
41877
|
+
function nil(codes, schema, options) {
|
|
41878
|
+
return { ...options, enc: "nil", codes, schema };
|
|
41879
|
+
}
|
|
41877
41880
|
function match(...matchers) {
|
|
41878
41881
|
return async function matchFunc(response, request, options) {
|
|
41879
41882
|
let raw;
|
|
@@ -42158,10 +42161,10 @@ var init_security = __esm(() => {
|
|
|
42158
42161
|
});
|
|
42159
42162
|
|
|
42160
42163
|
// src/models/clientcreate.ts
|
|
42161
|
-
var
|
|
42164
|
+
var ClientCreateClientType$zodSchema, Address$zodSchema, ClientCreate$zodSchema;
|
|
42162
42165
|
var init_clientcreate = __esm(() => {
|
|
42163
42166
|
init_zod();
|
|
42164
|
-
|
|
42167
|
+
ClientCreateClientType$zodSchema = enumType([
|
|
42165
42168
|
"natural_person",
|
|
42166
42169
|
"individual_enterprise",
|
|
42167
42170
|
"legal_person"
|
|
@@ -42177,41 +42180,76 @@ var init_clientcreate = __esm(() => {
|
|
|
42177
42180
|
address: lazyType(() => Address$zodSchema).optional(),
|
|
42178
42181
|
customId: stringType().optional(),
|
|
42179
42182
|
name: stringType(),
|
|
42180
|
-
type:
|
|
42183
|
+
type: ClientCreateClientType$zodSchema
|
|
42184
|
+
});
|
|
42185
|
+
});
|
|
42186
|
+
|
|
42187
|
+
// src/models/autherror.ts
|
|
42188
|
+
var AuthErrorType$zodSchema, AuthErrorCode$zodSchema, AuthError$zodSchema;
|
|
42189
|
+
var init_autherror = __esm(() => {
|
|
42190
|
+
init_zod();
|
|
42191
|
+
AuthErrorType$zodSchema = enumType([
|
|
42192
|
+
"auth_error"
|
|
42193
|
+
]);
|
|
42194
|
+
AuthErrorCode$zodSchema = enumType([
|
|
42195
|
+
"unauthorized"
|
|
42196
|
+
]);
|
|
42197
|
+
AuthError$zodSchema = objectType({
|
|
42198
|
+
code: AuthErrorCode$zodSchema,
|
|
42199
|
+
message: stringType(),
|
|
42200
|
+
status_code: numberType(),
|
|
42201
|
+
type: AuthErrorType$zodSchema
|
|
42181
42202
|
});
|
|
42182
42203
|
});
|
|
42183
42204
|
|
|
42184
42205
|
// src/models/client.ts
|
|
42185
|
-
var
|
|
42206
|
+
var ClientClientType$zodSchema, Client$zodSchema;
|
|
42186
42207
|
var init_client = __esm(() => {
|
|
42187
42208
|
init_zod();
|
|
42188
|
-
|
|
42209
|
+
ClientClientType$zodSchema = enumType([
|
|
42189
42210
|
"natural_person",
|
|
42190
42211
|
"individual_enterprise",
|
|
42191
42212
|
"legal_person"
|
|
42192
42213
|
]).describe("The type of the client. 'natural_person' for individuals, 'legal_person' for companies like UG, GmbH, AG, Ltd., Inc., etc. and 'individual_enterprise' for sole proprietorships.");
|
|
42193
42214
|
Client$zodSchema = objectType({
|
|
42194
|
-
archivedAt: stringType().nullable(),
|
|
42195
|
-
createdAt: stringType(),
|
|
42215
|
+
archivedAt: stringType().datetime({ offset: true }).nullable(),
|
|
42216
|
+
createdAt: stringType().datetime({ offset: true }),
|
|
42196
42217
|
customId: stringType().nullable(),
|
|
42197
42218
|
datevClientId: stringType().nullable(),
|
|
42198
42219
|
id: stringType(),
|
|
42199
42220
|
legalName: stringType().nullable(),
|
|
42200
42221
|
name: stringType(),
|
|
42201
42222
|
slug: stringType(),
|
|
42202
|
-
type:
|
|
42203
|
-
updatedAt: stringType()
|
|
42223
|
+
type: ClientClientType$zodSchema,
|
|
42224
|
+
updatedAt: stringType().datetime({ offset: true })
|
|
42225
|
+
});
|
|
42226
|
+
});
|
|
42227
|
+
|
|
42228
|
+
// src/models/ratelimit.ts
|
|
42229
|
+
var RateLimitType$zodSchema, RateLimitCode$zodSchema, RateLimit$zodSchema;
|
|
42230
|
+
var init_ratelimit = __esm(() => {
|
|
42231
|
+
init_zod();
|
|
42232
|
+
RateLimitType$zodSchema = enumType([
|
|
42233
|
+
"rate_limit"
|
|
42234
|
+
]);
|
|
42235
|
+
RateLimitCode$zodSchema = enumType([
|
|
42236
|
+
"too_many_requests"
|
|
42237
|
+
]);
|
|
42238
|
+
RateLimit$zodSchema = objectType({
|
|
42239
|
+
code: RateLimitCode$zodSchema,
|
|
42240
|
+
message: stringType(),
|
|
42241
|
+
status_code: numberType(),
|
|
42242
|
+
type: RateLimitType$zodSchema
|
|
42204
42243
|
});
|
|
42205
42244
|
});
|
|
42206
42245
|
|
|
42207
42246
|
// src/models/createclientop.ts
|
|
42208
|
-
var
|
|
42247
|
+
var CreateClientPath$zodSchema, CreateClientIssue$zodSchema, CreateClientError$zodSchema, CreateClientUnprocessableEntityResponseBody$zodSchema, CreateClientType$zodSchema, CreateClientCode$zodSchema, CreateClientForbiddenResponseBody$zodSchema, CreateClientResponse$zodSchema;
|
|
42209
42248
|
var init_createclientop = __esm(() => {
|
|
42210
42249
|
init_zod();
|
|
42250
|
+
init_autherror();
|
|
42211
42251
|
init_client();
|
|
42212
|
-
|
|
42213
|
-
message: stringType()
|
|
42214
|
-
}).describe("Rate limit exceeded. Slow down requests or retry after the time specified in the rate limit response headers");
|
|
42252
|
+
init_ratelimit();
|
|
42215
42253
|
CreateClientPath$zodSchema = unionType([
|
|
42216
42254
|
stringType(),
|
|
42217
42255
|
numberType()
|
|
@@ -42232,13 +42270,27 @@ var init_createclientop = __esm(() => {
|
|
|
42232
42270
|
error: lazyType(() => CreateClientError$zodSchema),
|
|
42233
42271
|
success: booleanType()
|
|
42234
42272
|
}).describe("The validation error(s)");
|
|
42273
|
+
CreateClientType$zodSchema = enumType([
|
|
42274
|
+
"auth_error"
|
|
42275
|
+
]);
|
|
42276
|
+
CreateClientCode$zodSchema = enumType([
|
|
42277
|
+
"missing_scope"
|
|
42278
|
+
]);
|
|
42279
|
+
CreateClientForbiddenResponseBody$zodSchema = objectType({
|
|
42280
|
+
code: CreateClientCode$zodSchema,
|
|
42281
|
+
message: stringType(),
|
|
42282
|
+
status_code: numberType(),
|
|
42283
|
+
type: CreateClientType$zodSchema
|
|
42284
|
+
}).describe("Missing scope");
|
|
42235
42285
|
CreateClientResponse$zodSchema = objectType({
|
|
42236
42286
|
Client: Client$zodSchema.optional(),
|
|
42237
42287
|
ContentType: stringType(),
|
|
42238
42288
|
RawResponse: instanceOfType(Response),
|
|
42239
42289
|
StatusCode: numberType().int(),
|
|
42240
|
-
|
|
42241
|
-
|
|
42290
|
+
auth_error: AuthError$zodSchema.optional(),
|
|
42291
|
+
fourHundredAndThreeApplicationJsonObject: lazyType(() => CreateClientForbiddenResponseBody$zodSchema).optional(),
|
|
42292
|
+
fourHundredAndTwentyTwoApplicationJsonObject: lazyType(() => CreateClientUnprocessableEntityResponseBody$zodSchema).optional(),
|
|
42293
|
+
rate_limit: RateLimit$zodSchema.optional()
|
|
42242
42294
|
});
|
|
42243
42295
|
});
|
|
42244
42296
|
|
|
@@ -42273,13 +42325,13 @@ function adminClientsCreateClient(client$, request, options) {
|
|
|
42273
42325
|
return new APIPromise($do(client$, request, options));
|
|
42274
42326
|
}
|
|
42275
42327
|
async function $do(client$, request, options) {
|
|
42276
|
-
const parsed$ = safeParse(request, (value$) => ClientCreate$zodSchema.
|
|
42328
|
+
const parsed$ = safeParse(request, (value$) => ClientCreate$zodSchema.parse(value$), "Input validation failed");
|
|
42277
42329
|
if (!parsed$.ok) {
|
|
42278
42330
|
return [parsed$, { status: "invalid" }];
|
|
42279
42331
|
}
|
|
42280
42332
|
const payload$ = parsed$.value;
|
|
42281
|
-
const body$ =
|
|
42282
|
-
const path$ = pathToFunc("/
|
|
42333
|
+
const body$ = encodeJSON("body", payload$, { explode: true });
|
|
42334
|
+
const path$ = pathToFunc("/admin/clients")();
|
|
42283
42335
|
const headers$ = new Headers(compactMap({
|
|
42284
42336
|
"Content-Type": "application/json",
|
|
42285
42337
|
Accept: "application/json"
|
|
@@ -42329,11 +42381,11 @@ async function $do(client$, request, options) {
|
|
|
42329
42381
|
const responseFields$ = {
|
|
42330
42382
|
HttpMeta: { Response: response, Request: req$ }
|
|
42331
42383
|
};
|
|
42332
|
-
const [result$] = await match(json(201, CreateClientResponse$zodSchema, { key: "Client" }), json(
|
|
42384
|
+
const [result$] = await match(json(201, CreateClientResponse$zodSchema, { key: "Client" }), json(401, CreateClientResponse$zodSchema, { key: "auth_error" }), json(403, CreateClientResponse$zodSchema, {
|
|
42385
|
+
key: "403_application/json_object"
|
|
42386
|
+
}), json(422, CreateClientResponse$zodSchema, {
|
|
42333
42387
|
key: "422_application/json_object"
|
|
42334
|
-
}), json(429, CreateClientResponse$zodSchema, {
|
|
42335
|
-
key: "429_application/json_object"
|
|
42336
|
-
}))(response, req$, { extraFields: responseFields$ });
|
|
42388
|
+
}), json(429, CreateClientResponse$zodSchema, { key: "rate_limit" }), nil(500, CreateClientResponse$zodSchema))(response, req$, { extraFields: responseFields$ });
|
|
42337
42389
|
return [result$, { status: "complete", request: req$, response }];
|
|
42338
42390
|
}
|
|
42339
42391
|
var init_adminClientsCreateClient = __esm(() => {
|
|
@@ -42355,7 +42407,7 @@ var init_adminClientsCreateClient2 = __esm(() => {
|
|
|
42355
42407
|
init_clientcreate();
|
|
42356
42408
|
init_tools();
|
|
42357
42409
|
args = {
|
|
42358
|
-
request: ClientCreate$zodSchema
|
|
42410
|
+
request: ClientCreate$zodSchema
|
|
42359
42411
|
};
|
|
42360
42412
|
tool$adminClientsCreateClient = {
|
|
42361
42413
|
name: "admin-clients-create-client",
|
|
@@ -42377,17 +42429,35 @@ Creates a new client for the accountant and returns the created client object.`,
|
|
|
42377
42429
|
};
|
|
42378
42430
|
});
|
|
42379
42431
|
|
|
42432
|
+
// src/models/notfound.ts
|
|
42433
|
+
var NotFoundType$zodSchema, NotFoundCode$zodSchema, NotFound$zodSchema;
|
|
42434
|
+
var init_notfound = __esm(() => {
|
|
42435
|
+
init_zod();
|
|
42436
|
+
NotFoundType$zodSchema = enumType([
|
|
42437
|
+
"not_found"
|
|
42438
|
+
]);
|
|
42439
|
+
NotFoundCode$zodSchema = enumType([
|
|
42440
|
+
"not_found"
|
|
42441
|
+
]);
|
|
42442
|
+
NotFound$zodSchema = objectType({
|
|
42443
|
+
code: NotFoundCode$zodSchema,
|
|
42444
|
+
message: stringType(),
|
|
42445
|
+
status_code: numberType(),
|
|
42446
|
+
type: NotFoundType$zodSchema
|
|
42447
|
+
});
|
|
42448
|
+
});
|
|
42449
|
+
|
|
42380
42450
|
// src/models/getclientop.ts
|
|
42381
|
-
var GetClientRequest$zodSchema,
|
|
42451
|
+
var GetClientRequest$zodSchema, GetClientPath$zodSchema, GetClientIssue$zodSchema, GetClientError$zodSchema, GetClientUnprocessableEntityResponseBody$zodSchema, GetClientType$zodSchema, GetClientCode$zodSchema, GetClientForbiddenResponseBody$zodSchema, GetClientResponse$zodSchema;
|
|
42382
42452
|
var init_getclientop = __esm(() => {
|
|
42383
42453
|
init_zod();
|
|
42454
|
+
init_autherror();
|
|
42384
42455
|
init_client();
|
|
42456
|
+
init_notfound();
|
|
42457
|
+
init_ratelimit();
|
|
42385
42458
|
GetClientRequest$zodSchema = objectType({
|
|
42386
42459
|
id: stringType()
|
|
42387
42460
|
});
|
|
42388
|
-
GetClientTooManyRequestsResponseBody$zodSchema = objectType({
|
|
42389
|
-
message: stringType()
|
|
42390
|
-
}).describe("Rate limit exceeded. Slow down requests or retry after the time specified in the rate limit response headers");
|
|
42391
42461
|
GetClientPath$zodSchema = unionType([
|
|
42392
42462
|
stringType(),
|
|
42393
42463
|
numberType()
|
|
@@ -42408,17 +42478,28 @@ var init_getclientop = __esm(() => {
|
|
|
42408
42478
|
error: lazyType(() => GetClientError$zodSchema),
|
|
42409
42479
|
success: booleanType()
|
|
42410
42480
|
}).describe("Invalid id error");
|
|
42411
|
-
|
|
42412
|
-
|
|
42413
|
-
|
|
42481
|
+
GetClientType$zodSchema = enumType([
|
|
42482
|
+
"auth_error"
|
|
42483
|
+
]);
|
|
42484
|
+
GetClientCode$zodSchema = enumType([
|
|
42485
|
+
"missing_scope"
|
|
42486
|
+
]);
|
|
42487
|
+
GetClientForbiddenResponseBody$zodSchema = objectType({
|
|
42488
|
+
code: GetClientCode$zodSchema,
|
|
42489
|
+
message: stringType(),
|
|
42490
|
+
status_code: numberType(),
|
|
42491
|
+
type: GetClientType$zodSchema
|
|
42492
|
+
}).describe("Missing scope");
|
|
42414
42493
|
GetClientResponse$zodSchema = objectType({
|
|
42415
42494
|
Client: Client$zodSchema.optional(),
|
|
42416
42495
|
ContentType: stringType(),
|
|
42417
42496
|
RawResponse: instanceOfType(Response),
|
|
42418
42497
|
StatusCode: numberType().int(),
|
|
42419
|
-
|
|
42420
|
-
|
|
42421
|
-
fourHundredAndTwentyTwoApplicationJsonObject: lazyType(() => GetClientUnprocessableEntityResponseBody$zodSchema).optional()
|
|
42498
|
+
auth_error: AuthError$zodSchema.optional(),
|
|
42499
|
+
fourHundredAndThreeApplicationJsonObject: lazyType(() => GetClientForbiddenResponseBody$zodSchema).optional(),
|
|
42500
|
+
fourHundredAndTwentyTwoApplicationJsonObject: lazyType(() => GetClientUnprocessableEntityResponseBody$zodSchema).optional(),
|
|
42501
|
+
not_found: NotFound$zodSchema.optional(),
|
|
42502
|
+
rate_limit: RateLimit$zodSchema.optional()
|
|
42422
42503
|
});
|
|
42423
42504
|
});
|
|
42424
42505
|
|
|
@@ -42439,7 +42520,7 @@ async function $do2(client$, request, options) {
|
|
|
42439
42520
|
charEncoding: "percent"
|
|
42440
42521
|
})
|
|
42441
42522
|
};
|
|
42442
|
-
const path$ = pathToFunc("/
|
|
42523
|
+
const path$ = pathToFunc("/admin/clients/{id}")(pathParams$);
|
|
42443
42524
|
const headers$ = new Headers(compactMap({
|
|
42444
42525
|
Accept: "application/json"
|
|
42445
42526
|
}));
|
|
@@ -42488,13 +42569,11 @@ async function $do2(client$, request, options) {
|
|
|
42488
42569
|
const responseFields$ = {
|
|
42489
42570
|
HttpMeta: { Response: response, Request: req$ }
|
|
42490
42571
|
};
|
|
42491
|
-
const [result$] = await match(json(200, GetClientResponse$zodSchema, { key: "Client" }), json(
|
|
42492
|
-
key: "
|
|
42493
|
-
}), json(422, GetClientResponse$zodSchema, {
|
|
42572
|
+
const [result$] = await match(json(200, GetClientResponse$zodSchema, { key: "Client" }), json(401, GetClientResponse$zodSchema, { key: "auth_error" }), json(403, GetClientResponse$zodSchema, {
|
|
42573
|
+
key: "403_application/json_object"
|
|
42574
|
+
}), json(404, GetClientResponse$zodSchema, { key: "not_found" }), json(422, GetClientResponse$zodSchema, {
|
|
42494
42575
|
key: "422_application/json_object"
|
|
42495
|
-
}), json(429, GetClientResponse$zodSchema, {
|
|
42496
|
-
key: "429_application/json_object"
|
|
42497
|
-
}))(response, req$, { extraFields: responseFields$ });
|
|
42576
|
+
}), json(429, GetClientResponse$zodSchema, { key: "rate_limit" }), nil(500, GetClientResponse$zodSchema))(response, req$, { extraFields: responseFields$ });
|
|
42498
42577
|
return [result$, { status: "complete", request: req$, response }];
|
|
42499
42578
|
}
|
|
42500
42579
|
var init_adminClientsGetClient = __esm(() => {
|
|
@@ -42549,29 +42628,42 @@ var init_pagination = __esm(() => {
|
|
|
42549
42628
|
});
|
|
42550
42629
|
});
|
|
42551
42630
|
|
|
42552
|
-
// src/models/
|
|
42553
|
-
var
|
|
42554
|
-
var
|
|
42631
|
+
// src/models/paginatedclients.ts
|
|
42632
|
+
var PaginatedClients$zodSchema;
|
|
42633
|
+
var init_paginatedclients = __esm(() => {
|
|
42555
42634
|
init_zod();
|
|
42556
42635
|
init_client();
|
|
42557
42636
|
init_pagination();
|
|
42637
|
+
PaginatedClients$zodSchema = objectType({
|
|
42638
|
+
data: arrayType(Client$zodSchema),
|
|
42639
|
+
pagination: Pagination$zodSchema
|
|
42640
|
+
});
|
|
42641
|
+
});
|
|
42642
|
+
|
|
42643
|
+
// src/models/listclientsop.ts
|
|
42644
|
+
var Archived$zodSchema, ListClientsClientType$zodSchema, ListClientsSort$zodSchema, ListClientsOrder$zodSchema, ListClientsRequest$zodSchema, ListClientsPath$zodSchema, ListClientsIssue$zodSchema, ListClientsError$zodSchema, ListClientsUnprocessableEntityResponseBody$zodSchema, ListClientsType$zodSchema, ListClientsCode$zodSchema, ListClientsForbiddenResponseBody$zodSchema, ListClientsResponse$zodSchema;
|
|
42645
|
+
var init_listclientsop = __esm(() => {
|
|
42646
|
+
init_zod();
|
|
42647
|
+
init_autherror();
|
|
42648
|
+
init_paginatedclients();
|
|
42649
|
+
init_ratelimit();
|
|
42558
42650
|
Archived$zodSchema = enumType([
|
|
42559
42651
|
"true",
|
|
42560
42652
|
"false"
|
|
42561
42653
|
]).describe("Include archived clients");
|
|
42562
|
-
|
|
42654
|
+
ListClientsClientType$zodSchema = enumType([
|
|
42563
42655
|
"natural_person",
|
|
42564
42656
|
"individual_enterprise",
|
|
42565
42657
|
"legal_person"
|
|
42566
42658
|
]).describe("The type of the client. 'natural_person' for individuals, 'legal_person' for companies like UG, GmbH, AG, Ltd., Inc., etc. and 'individual_enterprise' for sole proprietorships.");
|
|
42567
|
-
|
|
42659
|
+
ListClientsSort$zodSchema = enumType([
|
|
42568
42660
|
"createdAt",
|
|
42569
42661
|
"updatedAt",
|
|
42570
42662
|
"archivedAt",
|
|
42571
42663
|
"name",
|
|
42572
42664
|
"customId"
|
|
42573
42665
|
]).describe("The sort field of the results");
|
|
42574
|
-
|
|
42666
|
+
ListClientsOrder$zodSchema = enumType([
|
|
42575
42667
|
"asc",
|
|
42576
42668
|
"desc"
|
|
42577
42669
|
]).describe("The order of the results based on the sort field");
|
|
@@ -42580,14 +42672,11 @@ var init_listclientsop = __esm(() => {
|
|
|
42580
42672
|
cursor: stringType().optional(),
|
|
42581
42673
|
customId: stringType().optional(),
|
|
42582
42674
|
limit: numberType().default(20),
|
|
42583
|
-
order:
|
|
42675
|
+
order: ListClientsOrder$zodSchema.default("desc"),
|
|
42584
42676
|
slug: stringType().optional(),
|
|
42585
|
-
sort:
|
|
42586
|
-
type:
|
|
42677
|
+
sort: ListClientsSort$zodSchema.default("createdAt"),
|
|
42678
|
+
type: ListClientsClientType$zodSchema.optional()
|
|
42587
42679
|
});
|
|
42588
|
-
ListClientsTooManyRequestsResponseBody$zodSchema = objectType({
|
|
42589
|
-
message: stringType()
|
|
42590
|
-
}).describe("Rate limit exceeded. Slow down requests or retry after the time specified in the rate limit response headers");
|
|
42591
42680
|
ListClientsPath$zodSchema = unionType([
|
|
42592
42681
|
stringType(),
|
|
42593
42682
|
numberType()
|
|
@@ -42608,17 +42697,27 @@ var init_listclientsop = __esm(() => {
|
|
|
42608
42697
|
error: lazyType(() => ListClientsError$zodSchema),
|
|
42609
42698
|
success: booleanType()
|
|
42610
42699
|
}).describe("The validation error(s)");
|
|
42611
|
-
|
|
42612
|
-
|
|
42613
|
-
|
|
42614
|
-
|
|
42700
|
+
ListClientsType$zodSchema = enumType([
|
|
42701
|
+
"auth_error"
|
|
42702
|
+
]);
|
|
42703
|
+
ListClientsCode$zodSchema = enumType([
|
|
42704
|
+
"missing_scope"
|
|
42705
|
+
]);
|
|
42706
|
+
ListClientsForbiddenResponseBody$zodSchema = objectType({
|
|
42707
|
+
code: ListClientsCode$zodSchema,
|
|
42708
|
+
message: stringType(),
|
|
42709
|
+
status_code: numberType(),
|
|
42710
|
+
type: ListClientsType$zodSchema
|
|
42711
|
+
}).describe("Missing scope");
|
|
42615
42712
|
ListClientsResponse$zodSchema = objectType({
|
|
42616
42713
|
ContentType: stringType(),
|
|
42714
|
+
PaginatedClients: PaginatedClients$zodSchema.optional(),
|
|
42617
42715
|
RawResponse: instanceOfType(Response),
|
|
42618
42716
|
StatusCode: numberType().int(),
|
|
42619
|
-
|
|
42717
|
+
auth_error: AuthError$zodSchema.optional(),
|
|
42718
|
+
fourHundredAndThreeApplicationJsonObject: lazyType(() => ListClientsForbiddenResponseBody$zodSchema).optional(),
|
|
42620
42719
|
fourHundredAndTwentyTwoApplicationJsonObject: lazyType(() => ListClientsUnprocessableEntityResponseBody$zodSchema).optional(),
|
|
42621
|
-
|
|
42720
|
+
rate_limit: RateLimit$zodSchema.optional()
|
|
42622
42721
|
});
|
|
42623
42722
|
});
|
|
42624
42723
|
|
|
@@ -42633,7 +42732,7 @@ async function $do3(client$, request, options) {
|
|
|
42633
42732
|
}
|
|
42634
42733
|
const payload$ = parsed$.value;
|
|
42635
42734
|
const body$ = null;
|
|
42636
|
-
const path$ = pathToFunc("/
|
|
42735
|
+
const path$ = pathToFunc("/admin/clients")();
|
|
42637
42736
|
const query$ = encodeFormQuery({
|
|
42638
42737
|
archived: payload$?.archived,
|
|
42639
42738
|
cursor: payload$?.cursor,
|
|
@@ -42693,13 +42792,11 @@ async function $do3(client$, request, options) {
|
|
|
42693
42792
|
const responseFields$ = {
|
|
42694
42793
|
HttpMeta: { Response: response, Request: req$ }
|
|
42695
42794
|
};
|
|
42696
|
-
const [result$] = await match(json(200, ListClientsResponse$zodSchema, {
|
|
42697
|
-
key: "
|
|
42795
|
+
const [result$] = await match(json(200, ListClientsResponse$zodSchema, { key: "PaginatedClients" }), json(401, ListClientsResponse$zodSchema, { key: "auth_error" }), json(403, ListClientsResponse$zodSchema, {
|
|
42796
|
+
key: "403_application/json_object"
|
|
42698
42797
|
}), json(422, ListClientsResponse$zodSchema, {
|
|
42699
42798
|
key: "422_application/json_object"
|
|
42700
|
-
}), json(429, ListClientsResponse$zodSchema, {
|
|
42701
|
-
key: "429_application/json_object"
|
|
42702
|
-
}))(response, req$, { extraFields: responseFields$ });
|
|
42799
|
+
}), json(429, ListClientsResponse$zodSchema, { key: "rate_limit" }), nil(500, ListClientsResponse$zodSchema))(response, req$, { extraFields: responseFields$ });
|
|
42703
42800
|
return [result$, { status: "complete", request: req$, response }];
|
|
42704
42801
|
}
|
|
42705
42802
|
var init_adminClientsListClients = __esm(() => {
|
|
@@ -42742,11 +42839,25 @@ Returns a list of clients.`,
|
|
|
42742
42839
|
};
|
|
42743
42840
|
});
|
|
42744
42841
|
|
|
42745
|
-
// src/models/
|
|
42746
|
-
var
|
|
42747
|
-
var
|
|
42842
|
+
// src/models/meop.ts
|
|
42843
|
+
var MeType$zodSchema, MeCode$zodSchema, MeForbiddenResponseBody$zodSchema, MeResponseBody$zodSchema, MeResponse$zodSchema;
|
|
42844
|
+
var init_meop = __esm(() => {
|
|
42748
42845
|
init_zod();
|
|
42749
|
-
|
|
42846
|
+
init_autherror();
|
|
42847
|
+
init_ratelimit();
|
|
42848
|
+
MeType$zodSchema = enumType([
|
|
42849
|
+
"auth_error"
|
|
42850
|
+
]);
|
|
42851
|
+
MeCode$zodSchema = enumType([
|
|
42852
|
+
"missing_scope"
|
|
42853
|
+
]);
|
|
42854
|
+
MeForbiddenResponseBody$zodSchema = objectType({
|
|
42855
|
+
code: MeCode$zodSchema,
|
|
42856
|
+
message: stringType(),
|
|
42857
|
+
status_code: numberType(),
|
|
42858
|
+
type: MeType$zodSchema
|
|
42859
|
+
}).describe("Missing scope");
|
|
42860
|
+
MeResponseBody$zodSchema = objectType({
|
|
42750
42861
|
accountantId: stringType(),
|
|
42751
42862
|
apiKeyId: stringType(),
|
|
42752
42863
|
clientId: stringType().nullable(),
|
|
@@ -42755,20 +42866,23 @@ var init_getv1meop = __esm(() => {
|
|
|
42755
42866
|
rateLimitTimeWindow: numberType(),
|
|
42756
42867
|
type: stringType()
|
|
42757
42868
|
}).describe("Me");
|
|
42758
|
-
|
|
42869
|
+
MeResponse$zodSchema = objectType({
|
|
42759
42870
|
ContentType: stringType(),
|
|
42760
42871
|
RawResponse: instanceOfType(Response),
|
|
42761
42872
|
StatusCode: numberType().int(),
|
|
42762
|
-
|
|
42873
|
+
auth_error: AuthError$zodSchema.optional(),
|
|
42874
|
+
fourHundredAndThreeApplicationJsonObject: lazyType(() => MeForbiddenResponseBody$zodSchema).optional(),
|
|
42875
|
+
rate_limit: RateLimit$zodSchema.optional(),
|
|
42876
|
+
twoHundredApplicationJsonObject: lazyType(() => MeResponseBody$zodSchema).optional()
|
|
42763
42877
|
});
|
|
42764
42878
|
});
|
|
42765
42879
|
|
|
42766
|
-
// src/funcs/
|
|
42767
|
-
function
|
|
42880
|
+
// src/funcs/authMe.ts
|
|
42881
|
+
function authMe(client$, options) {
|
|
42768
42882
|
return new APIPromise($do4(client$, options));
|
|
42769
42883
|
}
|
|
42770
42884
|
async function $do4(client$, options) {
|
|
42771
|
-
const path$ = pathToFunc("/
|
|
42885
|
+
const path$ = pathToFunc("/me")();
|
|
42772
42886
|
const headers$ = new Headers(compactMap({
|
|
42773
42887
|
Accept: "application/json"
|
|
42774
42888
|
}));
|
|
@@ -42777,7 +42891,7 @@ async function $do4(client$, options) {
|
|
|
42777
42891
|
const context = {
|
|
42778
42892
|
options: client$._options,
|
|
42779
42893
|
baseURL: options?.serverURL ?? client$._baseURL ?? "",
|
|
42780
|
-
operationID: "
|
|
42894
|
+
operationID: "me",
|
|
42781
42895
|
oAuth2Scopes: [],
|
|
42782
42896
|
resolvedSecurity: requestSecurity,
|
|
42783
42897
|
securitySource: client$._options.security,
|
|
@@ -42816,28 +42930,28 @@ async function $do4(client$, options) {
|
|
|
42816
42930
|
const responseFields$ = {
|
|
42817
42931
|
HttpMeta: { Response: response, Request: req$ }
|
|
42818
42932
|
};
|
|
42819
|
-
const [result$] = await match(json(200,
|
|
42933
|
+
const [result$] = await match(json(200, MeResponse$zodSchema, { key: "200_application/json_object" }), json(401, MeResponse$zodSchema, { key: "auth_error" }), json(403, MeResponse$zodSchema, { key: "403_application/json_object" }), json(429, MeResponse$zodSchema, { key: "rate_limit" }), nil(500, MeResponse$zodSchema))(response, req$, { extraFields: responseFields$ });
|
|
42820
42934
|
return [result$, { status: "complete", request: req$, response }];
|
|
42821
42935
|
}
|
|
42822
|
-
var
|
|
42936
|
+
var init_authMe = __esm(() => {
|
|
42823
42937
|
init_matchers();
|
|
42824
42938
|
init_primitives();
|
|
42825
42939
|
init_security();
|
|
42826
42940
|
init_url();
|
|
42827
|
-
|
|
42941
|
+
init_meop();
|
|
42828
42942
|
init_async();
|
|
42829
42943
|
});
|
|
42830
42944
|
|
|
42831
|
-
// src/mcp-server/tools/
|
|
42832
|
-
var tool$
|
|
42833
|
-
var
|
|
42834
|
-
|
|
42945
|
+
// src/mcp-server/tools/authMe.ts
|
|
42946
|
+
var tool$authMe;
|
|
42947
|
+
var init_authMe2 = __esm(() => {
|
|
42948
|
+
init_authMe();
|
|
42835
42949
|
init_tools();
|
|
42836
|
-
tool$
|
|
42837
|
-
name: "auth-
|
|
42950
|
+
tool$authMe = {
|
|
42951
|
+
name: "auth-me",
|
|
42838
42952
|
description: `Me`,
|
|
42839
42953
|
tool: async (client, ctx) => {
|
|
42840
|
-
const [result, apiCall] = await
|
|
42954
|
+
const [result, apiCall] = await authMe(client, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
42841
42955
|
if (!result.ok) {
|
|
42842
42956
|
return {
|
|
42843
42957
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -42910,14 +43024,32 @@ function getContentTypeFromFileName(fileName) {
|
|
|
42910
43024
|
return mimeTypes[ext] || null;
|
|
42911
43025
|
}
|
|
42912
43026
|
|
|
43027
|
+
// src/models/badrequest.ts
|
|
43028
|
+
var BadRequestType$zodSchema, BadRequestCode$zodSchema, BadRequest$zodSchema;
|
|
43029
|
+
var init_badrequest = __esm(() => {
|
|
43030
|
+
init_zod();
|
|
43031
|
+
BadRequestType$zodSchema = enumType([
|
|
43032
|
+
"bad_request"
|
|
43033
|
+
]);
|
|
43034
|
+
BadRequestCode$zodSchema = enumType([
|
|
43035
|
+
"missing_client_id"
|
|
43036
|
+
]);
|
|
43037
|
+
BadRequest$zodSchema = objectType({
|
|
43038
|
+
code: BadRequestCode$zodSchema,
|
|
43039
|
+
message: stringType(),
|
|
43040
|
+
status_code: numberType(),
|
|
43041
|
+
type: BadRequestType$zodSchema
|
|
43042
|
+
});
|
|
43043
|
+
});
|
|
43044
|
+
|
|
42913
43045
|
// src/models/file.ts
|
|
42914
43046
|
var FileT$zodSchema;
|
|
42915
43047
|
var init_file = __esm(() => {
|
|
42916
43048
|
init_zod();
|
|
42917
43049
|
FileT$zodSchema = objectType({
|
|
42918
|
-
createdAt: stringType(),
|
|
43050
|
+
createdAt: stringType().datetime({ offset: true }),
|
|
42919
43051
|
createdById: stringType().nullable(),
|
|
42920
|
-
documentDate: stringType().nullable(),
|
|
43052
|
+
documentDate: stringType().datetime({ offset: true }).nullable(),
|
|
42921
43053
|
folderId: stringType().nullable(),
|
|
42922
43054
|
id: stringType(),
|
|
42923
43055
|
labelIds: arrayType(stringType()).nullable(),
|
|
@@ -42925,7 +43057,7 @@ var init_file = __esm(() => {
|
|
|
42925
43057
|
name: stringType(),
|
|
42926
43058
|
size: numberType(),
|
|
42927
43059
|
taskId: stringType().nullable(),
|
|
42928
|
-
updatedAt: stringType(),
|
|
43060
|
+
updatedAt: stringType().datetime({ offset: true }),
|
|
42929
43061
|
workspaceId: stringType()
|
|
42930
43062
|
});
|
|
42931
43063
|
});
|
|
@@ -42949,18 +43081,18 @@ var init_filecreate = __esm(() => {
|
|
|
42949
43081
|
});
|
|
42950
43082
|
|
|
42951
43083
|
// src/models/createfileop.ts
|
|
42952
|
-
var CreateFileRequest$zodSchema,
|
|
43084
|
+
var CreateFileRequest$zodSchema, CreateFilePath$zodSchema, CreateFileIssue$zodSchema, CreateFileError$zodSchema, CreateFileUnprocessableEntityResponseBody$zodSchema, RequestEntityTooLargeType$zodSchema, RequestEntityTooLargeCode$zodSchema, CreateFileRequestEntityTooLargeResponseBody$zodSchema, CreateFileForbiddenType$zodSchema, CreateFileForbiddenCode$zodSchema, CreateFileForbiddenResponseBody$zodSchema, CreateFileResponse$zodSchema;
|
|
42953
43085
|
var init_createfileop = __esm(() => {
|
|
42954
43086
|
init_zod();
|
|
43087
|
+
init_autherror();
|
|
43088
|
+
init_badrequest();
|
|
42955
43089
|
init_file();
|
|
42956
43090
|
init_filecreate();
|
|
43091
|
+
init_ratelimit();
|
|
42957
43092
|
CreateFileRequest$zodSchema = objectType({
|
|
42958
|
-
FileCreate: FileCreate$zodSchema
|
|
43093
|
+
FileCreate: FileCreate$zodSchema,
|
|
42959
43094
|
xClientId: stringType()
|
|
42960
43095
|
});
|
|
42961
|
-
CreateFileTooManyRequestsResponseBody$zodSchema = objectType({
|
|
42962
|
-
message: stringType()
|
|
42963
|
-
}).describe("Rate limit exceeded. Slow down requests or retry after the time specified in the rate limit response headers");
|
|
42964
43096
|
CreateFilePath$zodSchema = unionType([
|
|
42965
43097
|
stringType(),
|
|
42966
43098
|
numberType()
|
|
@@ -42981,17 +43113,41 @@ var init_createfileop = __esm(() => {
|
|
|
42981
43113
|
error: lazyType(() => CreateFileError$zodSchema),
|
|
42982
43114
|
success: booleanType()
|
|
42983
43115
|
}).describe("The validation error(s)");
|
|
43116
|
+
RequestEntityTooLargeType$zodSchema = enumType([
|
|
43117
|
+
"bad_request"
|
|
43118
|
+
]);
|
|
43119
|
+
RequestEntityTooLargeCode$zodSchema = enumType([
|
|
43120
|
+
"payload_too_large"
|
|
43121
|
+
]);
|
|
42984
43122
|
CreateFileRequestEntityTooLargeResponseBody$zodSchema = objectType({
|
|
42985
|
-
|
|
43123
|
+
code: RequestEntityTooLargeCode$zodSchema,
|
|
43124
|
+
message: stringType(),
|
|
43125
|
+
status_code: numberType(),
|
|
43126
|
+
type: RequestEntityTooLargeType$zodSchema
|
|
42986
43127
|
}).describe("Payload too large");
|
|
43128
|
+
CreateFileForbiddenType$zodSchema = enumType([
|
|
43129
|
+
"auth_error"
|
|
43130
|
+
]);
|
|
43131
|
+
CreateFileForbiddenCode$zodSchema = enumType([
|
|
43132
|
+
"missing_scope"
|
|
43133
|
+
]);
|
|
43134
|
+
CreateFileForbiddenResponseBody$zodSchema = objectType({
|
|
43135
|
+
code: CreateFileForbiddenCode$zodSchema,
|
|
43136
|
+
message: stringType(),
|
|
43137
|
+
status_code: numberType(),
|
|
43138
|
+
type: CreateFileForbiddenType$zodSchema
|
|
43139
|
+
}).describe("Missing scope");
|
|
42987
43140
|
CreateFileResponse$zodSchema = objectType({
|
|
42988
43141
|
ContentType: stringType(),
|
|
42989
43142
|
FileT: FileT$zodSchema.optional(),
|
|
42990
43143
|
RawResponse: instanceOfType(Response),
|
|
42991
43144
|
StatusCode: numberType().int(),
|
|
43145
|
+
auth_error: AuthError$zodSchema.optional(),
|
|
43146
|
+
bad_request: BadRequest$zodSchema.optional(),
|
|
42992
43147
|
fourHundredAndThirteenApplicationJsonObject: lazyType(() => CreateFileRequestEntityTooLargeResponseBody$zodSchema).optional(),
|
|
42993
|
-
|
|
42994
|
-
fourHundredAndTwentyTwoApplicationJsonObject: lazyType(() => CreateFileUnprocessableEntityResponseBody$zodSchema).optional()
|
|
43148
|
+
fourHundredAndThreeApplicationJsonObject: lazyType(() => CreateFileForbiddenResponseBody$zodSchema).optional(),
|
|
43149
|
+
fourHundredAndTwentyTwoApplicationJsonObject: lazyType(() => CreateFileUnprocessableEntityResponseBody$zodSchema).optional(),
|
|
43150
|
+
rate_limit: RateLimit$zodSchema.optional()
|
|
42995
43151
|
});
|
|
42996
43152
|
});
|
|
42997
43153
|
|
|
@@ -43033,33 +43189,31 @@ async function $do5(client$, request, options) {
|
|
|
43033
43189
|
}
|
|
43034
43190
|
const payload$ = parsed$.value;
|
|
43035
43191
|
const body$ = new FormData;
|
|
43036
|
-
if (payload$.FileCreate
|
|
43037
|
-
|
|
43038
|
-
|
|
43039
|
-
|
|
43040
|
-
|
|
43041
|
-
|
|
43042
|
-
|
|
43043
|
-
|
|
43044
|
-
|
|
43045
|
-
|
|
43046
|
-
appendForm(body$, "file", new Blob([payload$.FileCreate.file.content], { type: contentType2 }), payload$.FileCreate.file.fileName);
|
|
43047
|
-
}
|
|
43048
|
-
appendForm(body$, "workspaceId", payload$.FileCreate.workspaceId);
|
|
43049
|
-
if (payload$.FileCreate.folderId !== undefined) {
|
|
43050
|
-
appendForm(body$, "folderId", payload$.FileCreate.folderId);
|
|
43051
|
-
}
|
|
43052
|
-
if (payload$.FileCreate.labelIds !== undefined) {
|
|
43053
|
-
appendForm(body$, "labelIds", payload$.FileCreate.labelIds);
|
|
43054
|
-
}
|
|
43055
|
-
if (payload$.FileCreate.name !== undefined) {
|
|
43056
|
-
appendForm(body$, "name", payload$.FileCreate.name);
|
|
43057
|
-
}
|
|
43058
|
-
if (payload$.FileCreate.taskId !== undefined) {
|
|
43059
|
-
appendForm(body$, "taskId", payload$.FileCreate.taskId);
|
|
43060
|
-
}
|
|
43192
|
+
if (isBlobLike(payload$.FileCreate.file)) {
|
|
43193
|
+
appendForm(body$, "file", payload$.FileCreate.file);
|
|
43194
|
+
} else if (isReadableStream(payload$.FileCreate.file.content)) {
|
|
43195
|
+
const buffer = await readableStreamToArrayBuffer(payload$.FileCreate.file.content);
|
|
43196
|
+
const contentType2 = getContentTypeFromFileName(payload$.FileCreate.file.fileName) || "application/octet-stream";
|
|
43197
|
+
const blob = new Blob([buffer], { type: contentType2 });
|
|
43198
|
+
appendForm(body$, "file", blob, payload$.FileCreate.file.fileName);
|
|
43199
|
+
} else {
|
|
43200
|
+
const contentType2 = getContentTypeFromFileName(payload$.FileCreate.file.fileName) || "application/octet-stream";
|
|
43201
|
+
appendForm(body$, "file", new Blob([payload$.FileCreate.file.content], { type: contentType2 }), payload$.FileCreate.file.fileName);
|
|
43061
43202
|
}
|
|
43062
|
-
|
|
43203
|
+
appendForm(body$, "workspaceId", payload$.FileCreate.workspaceId);
|
|
43204
|
+
if (payload$.FileCreate.folderId !== undefined) {
|
|
43205
|
+
appendForm(body$, "folderId", payload$.FileCreate.folderId);
|
|
43206
|
+
}
|
|
43207
|
+
if (payload$.FileCreate.labelIds !== undefined) {
|
|
43208
|
+
appendForm(body$, "labelIds", payload$.FileCreate.labelIds);
|
|
43209
|
+
}
|
|
43210
|
+
if (payload$.FileCreate.name !== undefined) {
|
|
43211
|
+
appendForm(body$, "name", payload$.FileCreate.name);
|
|
43212
|
+
}
|
|
43213
|
+
if (payload$.FileCreate.taskId !== undefined) {
|
|
43214
|
+
appendForm(body$, "taskId", payload$.FileCreate.taskId);
|
|
43215
|
+
}
|
|
43216
|
+
const path$ = pathToFunc("/files")();
|
|
43063
43217
|
const headers$ = new Headers(compactMap({
|
|
43064
43218
|
Accept: "application/json",
|
|
43065
43219
|
"x-client-id": encodeSimple("x-client-id", payload$.xClientId, {
|
|
@@ -43112,13 +43266,13 @@ async function $do5(client$, request, options) {
|
|
|
43112
43266
|
const responseFields$ = {
|
|
43113
43267
|
HttpMeta: { Response: response, Request: req$ }
|
|
43114
43268
|
};
|
|
43115
|
-
const [result$] = await match(json(201, CreateFileResponse$zodSchema, { key: "File" }), json(
|
|
43269
|
+
const [result$] = await match(json(201, CreateFileResponse$zodSchema, { key: "File" }), json(400, CreateFileResponse$zodSchema, { key: "bad_request" }), json(401, CreateFileResponse$zodSchema, { key: "auth_error" }), json(403, CreateFileResponse$zodSchema, {
|
|
43270
|
+
key: "403_application/json_object"
|
|
43271
|
+
}), json(413, CreateFileResponse$zodSchema, {
|
|
43116
43272
|
key: "413_application/json_object"
|
|
43117
43273
|
}), json(422, CreateFileResponse$zodSchema, {
|
|
43118
43274
|
key: "422_application/json_object"
|
|
43119
|
-
}), json(429, CreateFileResponse$zodSchema, {
|
|
43120
|
-
key: "429_application/json_object"
|
|
43121
|
-
}))(response, req$, { extraFields: responseFields$ });
|
|
43275
|
+
}), json(429, CreateFileResponse$zodSchema, { key: "rate_limit" }), nil(500, CreateFileResponse$zodSchema))(response, req$, { extraFields: responseFields$ });
|
|
43122
43276
|
return [result$, { status: "complete", request: req$, response }];
|
|
43123
43277
|
}
|
|
43124
43278
|
var init_filesCreateFile = __esm(() => {
|
|
@@ -43173,17 +43327,18 @@ var init_deleteresponse = __esm(() => {
|
|
|
43173
43327
|
});
|
|
43174
43328
|
|
|
43175
43329
|
// src/models/deletefileop.ts
|
|
43176
|
-
var DeleteFileRequest$zodSchema,
|
|
43330
|
+
var DeleteFileRequest$zodSchema, DeleteFilePath$zodSchema, DeleteFileIssue$zodSchema, DeleteFileError$zodSchema, DeleteFileUnprocessableEntityResponseBody$zodSchema, DeleteFileType$zodSchema, DeleteFileCode$zodSchema, DeleteFileForbiddenResponseBody$zodSchema, DeleteFileResponse$zodSchema;
|
|
43177
43331
|
var init_deletefileop = __esm(() => {
|
|
43178
43332
|
init_zod();
|
|
43333
|
+
init_autherror();
|
|
43334
|
+
init_badrequest();
|
|
43179
43335
|
init_deleteresponse();
|
|
43336
|
+
init_notfound();
|
|
43337
|
+
init_ratelimit();
|
|
43180
43338
|
DeleteFileRequest$zodSchema = objectType({
|
|
43181
43339
|
id: stringType(),
|
|
43182
43340
|
xClientId: stringType()
|
|
43183
43341
|
});
|
|
43184
|
-
DeleteFileTooManyRequestsResponseBody$zodSchema = objectType({
|
|
43185
|
-
message: stringType()
|
|
43186
|
-
}).describe("Rate limit exceeded. Slow down requests or retry after the time specified in the rate limit response headers");
|
|
43187
43342
|
DeleteFilePath$zodSchema = unionType([
|
|
43188
43343
|
stringType(),
|
|
43189
43344
|
numberType()
|
|
@@ -43204,17 +43359,29 @@ var init_deletefileop = __esm(() => {
|
|
|
43204
43359
|
error: lazyType(() => DeleteFileError$zodSchema),
|
|
43205
43360
|
success: booleanType()
|
|
43206
43361
|
}).describe("Invalid id error");
|
|
43207
|
-
|
|
43208
|
-
|
|
43209
|
-
|
|
43362
|
+
DeleteFileType$zodSchema = enumType([
|
|
43363
|
+
"auth_error"
|
|
43364
|
+
]);
|
|
43365
|
+
DeleteFileCode$zodSchema = enumType([
|
|
43366
|
+
"missing_scope"
|
|
43367
|
+
]);
|
|
43368
|
+
DeleteFileForbiddenResponseBody$zodSchema = objectType({
|
|
43369
|
+
code: DeleteFileCode$zodSchema,
|
|
43370
|
+
message: stringType(),
|
|
43371
|
+
status_code: numberType(),
|
|
43372
|
+
type: DeleteFileType$zodSchema
|
|
43373
|
+
}).describe("Missing scope");
|
|
43210
43374
|
DeleteFileResponse$zodSchema = objectType({
|
|
43211
43375
|
ContentType: stringType(),
|
|
43212
43376
|
DeleteResponse: DeleteResponse$zodSchema.optional(),
|
|
43213
43377
|
RawResponse: instanceOfType(Response),
|
|
43214
43378
|
StatusCode: numberType().int(),
|
|
43215
|
-
|
|
43216
|
-
|
|
43217
|
-
|
|
43379
|
+
auth_error: AuthError$zodSchema.optional(),
|
|
43380
|
+
bad_request: BadRequest$zodSchema.optional(),
|
|
43381
|
+
fourHundredAndThreeApplicationJsonObject: lazyType(() => DeleteFileForbiddenResponseBody$zodSchema).optional(),
|
|
43382
|
+
fourHundredAndTwentyTwoApplicationJsonObject: lazyType(() => DeleteFileUnprocessableEntityResponseBody$zodSchema).optional(),
|
|
43383
|
+
not_found: NotFound$zodSchema.optional(),
|
|
43384
|
+
rate_limit: RateLimit$zodSchema.optional()
|
|
43218
43385
|
});
|
|
43219
43386
|
});
|
|
43220
43387
|
|
|
@@ -43235,7 +43402,7 @@ async function $do6(client$, request, options) {
|
|
|
43235
43402
|
charEncoding: "percent"
|
|
43236
43403
|
})
|
|
43237
43404
|
};
|
|
43238
|
-
const path$ = pathToFunc("/
|
|
43405
|
+
const path$ = pathToFunc("/files/{id}")(pathParams$);
|
|
43239
43406
|
const headers$ = new Headers(compactMap({
|
|
43240
43407
|
Accept: "application/json",
|
|
43241
43408
|
"x-client-id": encodeSimple("x-client-id", payload$.xClientId, {
|
|
@@ -43288,13 +43455,11 @@ async function $do6(client$, request, options) {
|
|
|
43288
43455
|
const responseFields$ = {
|
|
43289
43456
|
HttpMeta: { Response: response, Request: req$ }
|
|
43290
43457
|
};
|
|
43291
|
-
const [result$] = await match(json(200, DeleteFileResponse$zodSchema, { key: "DeleteResponse" }), json(
|
|
43292
|
-
key: "
|
|
43293
|
-
}), json(422, DeleteFileResponse$zodSchema, {
|
|
43458
|
+
const [result$] = await match(json(200, DeleteFileResponse$zodSchema, { key: "DeleteResponse" }), json(400, DeleteFileResponse$zodSchema, { key: "bad_request" }), json(401, DeleteFileResponse$zodSchema, { key: "auth_error" }), json(403, DeleteFileResponse$zodSchema, {
|
|
43459
|
+
key: "403_application/json_object"
|
|
43460
|
+
}), json(404, DeleteFileResponse$zodSchema, { key: "not_found" }), json(422, DeleteFileResponse$zodSchema, {
|
|
43294
43461
|
key: "422_application/json_object"
|
|
43295
|
-
}), json(429, DeleteFileResponse$zodSchema, {
|
|
43296
|
-
key: "429_application/json_object"
|
|
43297
|
-
}))(response, req$, { extraFields: responseFields$ });
|
|
43462
|
+
}), json(429, DeleteFileResponse$zodSchema, { key: "rate_limit" }), nil(500, DeleteFileResponse$zodSchema))(response, req$, { extraFields: responseFields$ });
|
|
43298
43463
|
return [result$, { status: "complete", request: req$, response }];
|
|
43299
43464
|
}
|
|
43300
43465
|
var init_filesDeleteFile = __esm(() => {
|
|
@@ -43338,17 +43503,17 @@ Deletes a file by ID.`,
|
|
|
43338
43503
|
});
|
|
43339
43504
|
|
|
43340
43505
|
// src/models/getfileop.ts
|
|
43341
|
-
var GetFileRequest$zodSchema,
|
|
43506
|
+
var GetFileRequest$zodSchema, GetFilePath$zodSchema, GetFileIssue$zodSchema, GetFileError$zodSchema, GetFileUnprocessableEntityResponseBody$zodSchema, GetFileNotFoundResponseBody$zodSchema, GetFileType$zodSchema, GetFileCode$zodSchema, GetFileForbiddenResponseBody$zodSchema, GetFileResponse$zodSchema;
|
|
43342
43507
|
var init_getfileop = __esm(() => {
|
|
43343
43508
|
init_zod();
|
|
43509
|
+
init_autherror();
|
|
43510
|
+
init_badrequest();
|
|
43344
43511
|
init_file();
|
|
43512
|
+
init_ratelimit();
|
|
43345
43513
|
GetFileRequest$zodSchema = objectType({
|
|
43346
43514
|
id: stringType(),
|
|
43347
43515
|
xClientId: stringType()
|
|
43348
43516
|
});
|
|
43349
|
-
GetFileTooManyRequestsResponseBody$zodSchema = objectType({
|
|
43350
|
-
message: stringType()
|
|
43351
|
-
}).describe("Rate limit exceeded. Slow down requests or retry after the time specified in the rate limit response headers");
|
|
43352
43517
|
GetFilePath$zodSchema = unionType([
|
|
43353
43518
|
stringType(),
|
|
43354
43519
|
numberType()
|
|
@@ -43372,14 +43537,29 @@ var init_getfileop = __esm(() => {
|
|
|
43372
43537
|
GetFileNotFoundResponseBody$zodSchema = objectType({
|
|
43373
43538
|
message: stringType()
|
|
43374
43539
|
}).describe("File not found");
|
|
43540
|
+
GetFileType$zodSchema = enumType([
|
|
43541
|
+
"auth_error"
|
|
43542
|
+
]);
|
|
43543
|
+
GetFileCode$zodSchema = enumType([
|
|
43544
|
+
"missing_scope"
|
|
43545
|
+
]);
|
|
43546
|
+
GetFileForbiddenResponseBody$zodSchema = objectType({
|
|
43547
|
+
code: GetFileCode$zodSchema,
|
|
43548
|
+
message: stringType(),
|
|
43549
|
+
status_code: numberType(),
|
|
43550
|
+
type: GetFileType$zodSchema
|
|
43551
|
+
}).describe("Missing scope");
|
|
43375
43552
|
GetFileResponse$zodSchema = objectType({
|
|
43376
43553
|
ContentType: stringType(),
|
|
43377
43554
|
FileT: FileT$zodSchema.optional(),
|
|
43378
43555
|
RawResponse: instanceOfType(Response),
|
|
43379
43556
|
StatusCode: numberType().int(),
|
|
43557
|
+
auth_error: AuthError$zodSchema.optional(),
|
|
43558
|
+
bad_request: BadRequest$zodSchema.optional(),
|
|
43380
43559
|
fourHundredAndFourApplicationJsonObject: lazyType(() => GetFileNotFoundResponseBody$zodSchema).optional(),
|
|
43381
|
-
|
|
43382
|
-
fourHundredAndTwentyTwoApplicationJsonObject: lazyType(() => GetFileUnprocessableEntityResponseBody$zodSchema).optional()
|
|
43560
|
+
fourHundredAndThreeApplicationJsonObject: lazyType(() => GetFileForbiddenResponseBody$zodSchema).optional(),
|
|
43561
|
+
fourHundredAndTwentyTwoApplicationJsonObject: lazyType(() => GetFileUnprocessableEntityResponseBody$zodSchema).optional(),
|
|
43562
|
+
rate_limit: RateLimit$zodSchema.optional()
|
|
43383
43563
|
});
|
|
43384
43564
|
});
|
|
43385
43565
|
|
|
@@ -43400,7 +43580,7 @@ async function $do7(client$, request, options) {
|
|
|
43400
43580
|
charEncoding: "percent"
|
|
43401
43581
|
})
|
|
43402
43582
|
};
|
|
43403
|
-
const path$ = pathToFunc("/
|
|
43583
|
+
const path$ = pathToFunc("/files/{id}")(pathParams$);
|
|
43404
43584
|
const headers$ = new Headers(compactMap({
|
|
43405
43585
|
Accept: "application/json",
|
|
43406
43586
|
"x-client-id": encodeSimple("x-client-id", payload$.xClientId, {
|
|
@@ -43453,13 +43633,13 @@ async function $do7(client$, request, options) {
|
|
|
43453
43633
|
const responseFields$ = {
|
|
43454
43634
|
HttpMeta: { Response: response, Request: req$ }
|
|
43455
43635
|
};
|
|
43456
|
-
const [result$] = await match(json(200, GetFileResponse$zodSchema, { key: "File" }), json(
|
|
43636
|
+
const [result$] = await match(json(200, GetFileResponse$zodSchema, { key: "File" }), json(400, GetFileResponse$zodSchema, { key: "bad_request" }), json(401, GetFileResponse$zodSchema, { key: "auth_error" }), json(403, GetFileResponse$zodSchema, {
|
|
43637
|
+
key: "403_application/json_object"
|
|
43638
|
+
}), json(404, GetFileResponse$zodSchema, {
|
|
43457
43639
|
key: "404_application/json_object"
|
|
43458
43640
|
}), json(422, GetFileResponse$zodSchema, {
|
|
43459
43641
|
key: "422_application/json_object"
|
|
43460
|
-
}), json(429, GetFileResponse$zodSchema, {
|
|
43461
|
-
key: "429_application/json_object"
|
|
43462
|
-
}))(response, req$, { extraFields: responseFields$ });
|
|
43642
|
+
}), json(429, GetFileResponse$zodSchema, { key: "rate_limit" }), nil(500, GetFileResponse$zodSchema))(response, req$, { extraFields: responseFields$ });
|
|
43463
43643
|
return [result$, { status: "complete", request: req$, response }];
|
|
43464
43644
|
}
|
|
43465
43645
|
var init_filesGetFile = __esm(() => {
|
|
@@ -43502,21 +43682,32 @@ Returns a single file object by ID.`,
|
|
|
43502
43682
|
};
|
|
43503
43683
|
});
|
|
43504
43684
|
|
|
43505
|
-
// src/models/
|
|
43506
|
-
var
|
|
43507
|
-
var
|
|
43685
|
+
// src/models/paginatedfiles.ts
|
|
43686
|
+
var PaginatedFiles$zodSchema;
|
|
43687
|
+
var init_paginatedfiles = __esm(() => {
|
|
43508
43688
|
init_zod();
|
|
43509
43689
|
init_file();
|
|
43510
43690
|
init_pagination();
|
|
43691
|
+
PaginatedFiles$zodSchema = objectType({
|
|
43692
|
+
data: arrayType(FileT$zodSchema),
|
|
43693
|
+
pagination: Pagination$zodSchema
|
|
43694
|
+
});
|
|
43695
|
+
});
|
|
43696
|
+
|
|
43697
|
+
// src/models/listfilesop.ts
|
|
43698
|
+
var ListFilesRequest$zodSchema, ListFilesPath$zodSchema, ListFilesIssue$zodSchema, ListFilesError$zodSchema, ListFilesUnprocessableEntityResponseBody$zodSchema, ListFilesType$zodSchema, ListFilesCode$zodSchema, ListFilesForbiddenResponseBody$zodSchema, ListFilesResponse$zodSchema;
|
|
43699
|
+
var init_listfilesop = __esm(() => {
|
|
43700
|
+
init_zod();
|
|
43701
|
+
init_autherror();
|
|
43702
|
+
init_badrequest();
|
|
43703
|
+
init_paginatedfiles();
|
|
43704
|
+
init_ratelimit();
|
|
43511
43705
|
ListFilesRequest$zodSchema = objectType({
|
|
43512
43706
|
cursor: stringType().optional(),
|
|
43513
43707
|
limit: numberType().default(20),
|
|
43514
43708
|
workspaceId: stringType().optional(),
|
|
43515
43709
|
xClientId: stringType()
|
|
43516
43710
|
});
|
|
43517
|
-
ListFilesTooManyRequestsResponseBody$zodSchema = objectType({
|
|
43518
|
-
message: stringType()
|
|
43519
|
-
}).describe("Rate limit exceeded. Slow down requests or retry after the time specified in the rate limit response headers");
|
|
43520
43711
|
ListFilesPath$zodSchema = unionType([
|
|
43521
43712
|
stringType(),
|
|
43522
43713
|
numberType()
|
|
@@ -43537,17 +43728,28 @@ var init_listfilesop = __esm(() => {
|
|
|
43537
43728
|
error: lazyType(() => ListFilesError$zodSchema),
|
|
43538
43729
|
success: booleanType()
|
|
43539
43730
|
}).describe("The validation error(s)");
|
|
43540
|
-
|
|
43541
|
-
|
|
43542
|
-
|
|
43543
|
-
|
|
43731
|
+
ListFilesType$zodSchema = enumType([
|
|
43732
|
+
"auth_error"
|
|
43733
|
+
]);
|
|
43734
|
+
ListFilesCode$zodSchema = enumType([
|
|
43735
|
+
"missing_scope"
|
|
43736
|
+
]);
|
|
43737
|
+
ListFilesForbiddenResponseBody$zodSchema = objectType({
|
|
43738
|
+
code: ListFilesCode$zodSchema,
|
|
43739
|
+
message: stringType(),
|
|
43740
|
+
status_code: numberType(),
|
|
43741
|
+
type: ListFilesType$zodSchema
|
|
43742
|
+
}).describe("Missing scope");
|
|
43544
43743
|
ListFilesResponse$zodSchema = objectType({
|
|
43545
43744
|
ContentType: stringType(),
|
|
43745
|
+
PaginatedFiles: PaginatedFiles$zodSchema.optional(),
|
|
43546
43746
|
RawResponse: instanceOfType(Response),
|
|
43547
43747
|
StatusCode: numberType().int(),
|
|
43548
|
-
|
|
43748
|
+
auth_error: AuthError$zodSchema.optional(),
|
|
43749
|
+
bad_request: BadRequest$zodSchema.optional(),
|
|
43750
|
+
fourHundredAndThreeApplicationJsonObject: lazyType(() => ListFilesForbiddenResponseBody$zodSchema).optional(),
|
|
43549
43751
|
fourHundredAndTwentyTwoApplicationJsonObject: lazyType(() => ListFilesUnprocessableEntityResponseBody$zodSchema).optional(),
|
|
43550
|
-
|
|
43752
|
+
rate_limit: RateLimit$zodSchema.optional()
|
|
43551
43753
|
});
|
|
43552
43754
|
});
|
|
43553
43755
|
|
|
@@ -43562,7 +43764,7 @@ async function $do8(client$, request, options) {
|
|
|
43562
43764
|
}
|
|
43563
43765
|
const payload$ = parsed$.value;
|
|
43564
43766
|
const body$ = null;
|
|
43565
|
-
const path$ = pathToFunc("/
|
|
43767
|
+
const path$ = pathToFunc("/files")();
|
|
43566
43768
|
const query$ = encodeFormQuery({
|
|
43567
43769
|
cursor: payload$.cursor,
|
|
43568
43770
|
limit: payload$.limit,
|
|
@@ -43621,13 +43823,11 @@ async function $do8(client$, request, options) {
|
|
|
43621
43823
|
const responseFields$ = {
|
|
43622
43824
|
HttpMeta: { Response: response, Request: req$ }
|
|
43623
43825
|
};
|
|
43624
|
-
const [result$] = await match(json(200, ListFilesResponse$zodSchema, {
|
|
43625
|
-
key: "
|
|
43826
|
+
const [result$] = await match(json(200, ListFilesResponse$zodSchema, { key: "PaginatedFiles" }), json(400, ListFilesResponse$zodSchema, { key: "bad_request" }), json(401, ListFilesResponse$zodSchema, { key: "auth_error" }), json(403, ListFilesResponse$zodSchema, {
|
|
43827
|
+
key: "403_application/json_object"
|
|
43626
43828
|
}), json(422, ListFilesResponse$zodSchema, {
|
|
43627
43829
|
key: "422_application/json_object"
|
|
43628
|
-
}), json(429, ListFilesResponse$zodSchema, {
|
|
43629
|
-
key: "429_application/json_object"
|
|
43630
|
-
}))(response, req$, { extraFields: responseFields$ });
|
|
43830
|
+
}), json(429, ListFilesResponse$zodSchema, { key: "rate_limit" }), nil(500, ListFilesResponse$zodSchema))(response, req$, { extraFields: responseFields$ });
|
|
43631
43831
|
return [result$, { status: "complete", request: req$, response }];
|
|
43632
43832
|
}
|
|
43633
43833
|
var init_filesListFiles = __esm(() => {
|
|
@@ -43675,26 +43875,26 @@ var FileUpdate$zodSchema;
|
|
|
43675
43875
|
var init_fileupdate = __esm(() => {
|
|
43676
43876
|
init_zod();
|
|
43677
43877
|
FileUpdate$zodSchema = objectType({
|
|
43678
|
-
documentDate: stringType().optional(),
|
|
43878
|
+
documentDate: stringType().datetime({ offset: true }).optional(),
|
|
43679
43879
|
folderId: stringType().optional(),
|
|
43680
43880
|
name: stringType().optional()
|
|
43681
43881
|
});
|
|
43682
43882
|
});
|
|
43683
43883
|
|
|
43684
43884
|
// src/models/updatefileop.ts
|
|
43685
|
-
var UpdateFileRequest$zodSchema,
|
|
43885
|
+
var UpdateFileRequest$zodSchema, UpdateFilePath2$zodSchema, UpdateFileIssue2$zodSchema, UpdateFileError2$zodSchema, UpdateFileResponseBody2$zodSchema, UpdateFilePath1$zodSchema, UpdateFileIssue1$zodSchema, UpdateFileError1$zodSchema, UpdateFileResponseBody1$zodSchema, UpdateFileResponseBody$zodSchema, UpdateFileNotFoundResponseBody$zodSchema, UpdateFileType$zodSchema, UpdateFileCode$zodSchema, UpdateFileForbiddenResponseBody$zodSchema, UpdateFileResponse$zodSchema;
|
|
43686
43886
|
var init_updatefileop = __esm(() => {
|
|
43687
43887
|
init_zod();
|
|
43888
|
+
init_autherror();
|
|
43889
|
+
init_badrequest();
|
|
43688
43890
|
init_file();
|
|
43689
43891
|
init_fileupdate();
|
|
43892
|
+
init_ratelimit();
|
|
43690
43893
|
UpdateFileRequest$zodSchema = objectType({
|
|
43691
|
-
FileUpdate: FileUpdate$zodSchema
|
|
43894
|
+
FileUpdate: FileUpdate$zodSchema,
|
|
43692
43895
|
id: stringType(),
|
|
43693
43896
|
xClientId: stringType()
|
|
43694
43897
|
});
|
|
43695
|
-
UpdateFileTooManyRequestsResponseBody$zodSchema = objectType({
|
|
43696
|
-
message: stringType()
|
|
43697
|
-
}).describe("Rate limit exceeded. Slow down requests or retry after the time specified in the rate limit response headers");
|
|
43698
43898
|
UpdateFilePath2$zodSchema = unionType([
|
|
43699
43899
|
stringType(),
|
|
43700
43900
|
numberType()
|
|
@@ -43742,17 +43942,32 @@ var init_updatefileop = __esm(() => {
|
|
|
43742
43942
|
UpdateFileNotFoundResponseBody$zodSchema = objectType({
|
|
43743
43943
|
message: stringType()
|
|
43744
43944
|
}).describe("File not found");
|
|
43945
|
+
UpdateFileType$zodSchema = enumType([
|
|
43946
|
+
"auth_error"
|
|
43947
|
+
]);
|
|
43948
|
+
UpdateFileCode$zodSchema = enumType([
|
|
43949
|
+
"missing_scope"
|
|
43950
|
+
]);
|
|
43951
|
+
UpdateFileForbiddenResponseBody$zodSchema = objectType({
|
|
43952
|
+
code: UpdateFileCode$zodSchema,
|
|
43953
|
+
message: stringType(),
|
|
43954
|
+
status_code: numberType(),
|
|
43955
|
+
type: UpdateFileType$zodSchema
|
|
43956
|
+
}).describe("Missing scope");
|
|
43745
43957
|
UpdateFileResponse$zodSchema = objectType({
|
|
43746
43958
|
ContentType: stringType(),
|
|
43747
43959
|
FileT: FileT$zodSchema.optional(),
|
|
43748
43960
|
RawResponse: instanceOfType(Response),
|
|
43749
43961
|
StatusCode: numberType().int(),
|
|
43962
|
+
auth_error: AuthError$zodSchema.optional(),
|
|
43963
|
+
bad_request: BadRequest$zodSchema.optional(),
|
|
43750
43964
|
fourHundredAndFourApplicationJsonObject: lazyType(() => UpdateFileNotFoundResponseBody$zodSchema).optional(),
|
|
43751
|
-
|
|
43965
|
+
fourHundredAndThreeApplicationJsonObject: lazyType(() => UpdateFileForbiddenResponseBody$zodSchema).optional(),
|
|
43752
43966
|
fourHundredAndTwentyTwoApplicationJsonOneOf: unionType([
|
|
43753
43967
|
lazyType(() => UpdateFileResponseBody1$zodSchema),
|
|
43754
43968
|
lazyType(() => UpdateFileResponseBody2$zodSchema)
|
|
43755
|
-
]).optional()
|
|
43969
|
+
]).optional(),
|
|
43970
|
+
rate_limit: RateLimit$zodSchema.optional()
|
|
43756
43971
|
});
|
|
43757
43972
|
});
|
|
43758
43973
|
|
|
@@ -43773,7 +43988,7 @@ async function $do9(client$, request, options) {
|
|
|
43773
43988
|
charEncoding: "percent"
|
|
43774
43989
|
})
|
|
43775
43990
|
};
|
|
43776
|
-
const path$ = pathToFunc("/
|
|
43991
|
+
const path$ = pathToFunc("/files/{id}")(pathParams$);
|
|
43777
43992
|
const headers$ = new Headers(compactMap({
|
|
43778
43993
|
"Content-Type": "application/json",
|
|
43779
43994
|
Accept: "application/json",
|
|
@@ -43827,13 +44042,13 @@ async function $do9(client$, request, options) {
|
|
|
43827
44042
|
const responseFields$ = {
|
|
43828
44043
|
HttpMeta: { Response: response, Request: req$ }
|
|
43829
44044
|
};
|
|
43830
|
-
const [result$] = await match(json(200, UpdateFileResponse$zodSchema, { key: "File" }), json(
|
|
44045
|
+
const [result$] = await match(json(200, UpdateFileResponse$zodSchema, { key: "File" }), json(400, UpdateFileResponse$zodSchema, { key: "bad_request" }), json(401, UpdateFileResponse$zodSchema, { key: "auth_error" }), json(403, UpdateFileResponse$zodSchema, {
|
|
44046
|
+
key: "403_application/json_object"
|
|
44047
|
+
}), json(404, UpdateFileResponse$zodSchema, {
|
|
43831
44048
|
key: "404_application/json_object"
|
|
43832
44049
|
}), json(422, UpdateFileResponse$zodSchema, {
|
|
43833
44050
|
key: "422_application/json_oneOf"
|
|
43834
|
-
}), json(429, UpdateFileResponse$zodSchema, {
|
|
43835
|
-
key: "429_application/json_object"
|
|
43836
|
-
}))(response, req$, { extraFields: responseFields$ });
|
|
44051
|
+
}), json(429, UpdateFileResponse$zodSchema, { key: "rate_limit" }), nil(500, UpdateFileResponse$zodSchema))(response, req$, { extraFields: responseFields$ });
|
|
43837
44052
|
return [result$, { status: "complete", request: req$, response }];
|
|
43838
44053
|
}
|
|
43839
44054
|
var init_filesUpdateFile = __esm(() => {
|
|
@@ -43876,34 +44091,36 @@ Updates a file object.`,
|
|
|
43876
44091
|
};
|
|
43877
44092
|
});
|
|
43878
44093
|
|
|
43879
|
-
// src/models/
|
|
43880
|
-
var
|
|
43881
|
-
var
|
|
44094
|
+
// src/models/indexop.ts
|
|
44095
|
+
var IndexResponseBody$zodSchema, IndexResponse$zodSchema;
|
|
44096
|
+
var init_indexop = __esm(() => {
|
|
43882
44097
|
init_zod();
|
|
43883
|
-
|
|
44098
|
+
init_ratelimit();
|
|
44099
|
+
IndexResponseBody$zodSchema = objectType({
|
|
43884
44100
|
message: stringType()
|
|
43885
44101
|
}).describe("Steuerboard API Index");
|
|
43886
|
-
|
|
44102
|
+
IndexResponse$zodSchema = objectType({
|
|
43887
44103
|
ContentType: stringType(),
|
|
43888
44104
|
RawResponse: instanceOfType(Response),
|
|
43889
44105
|
StatusCode: numberType().int(),
|
|
43890
|
-
object: lazyType(() =>
|
|
44106
|
+
object: lazyType(() => IndexResponseBody$zodSchema).optional(),
|
|
44107
|
+
rate_limit: RateLimit$zodSchema.optional()
|
|
43891
44108
|
});
|
|
43892
44109
|
});
|
|
43893
44110
|
|
|
43894
|
-
// src/funcs/
|
|
43895
|
-
function
|
|
44111
|
+
// src/funcs/healthIndex.ts
|
|
44112
|
+
function healthIndex(client$, options) {
|
|
43896
44113
|
return new APIPromise($do10(client$, options));
|
|
43897
44114
|
}
|
|
43898
44115
|
async function $do10(client$, options) {
|
|
43899
|
-
const path$ = pathToFunc("/
|
|
44116
|
+
const path$ = pathToFunc("/")();
|
|
43900
44117
|
const headers$ = new Headers(compactMap({
|
|
43901
44118
|
Accept: "application/json"
|
|
43902
44119
|
}));
|
|
43903
44120
|
const context = {
|
|
43904
44121
|
options: client$._options,
|
|
43905
44122
|
baseURL: options?.serverURL ?? client$._baseURL ?? "",
|
|
43906
|
-
operationID: "
|
|
44123
|
+
operationID: "index",
|
|
43907
44124
|
oAuth2Scopes: [],
|
|
43908
44125
|
resolvedSecurity: null,
|
|
43909
44126
|
securitySource: null,
|
|
@@ -43941,27 +44158,27 @@ async function $do10(client$, options) {
|
|
|
43941
44158
|
const responseFields$ = {
|
|
43942
44159
|
HttpMeta: { Response: response, Request: req$ }
|
|
43943
44160
|
};
|
|
43944
|
-
const [result$] = await match(json(200,
|
|
44161
|
+
const [result$] = await match(json(200, IndexResponse$zodSchema, { key: "object" }), json(429, IndexResponse$zodSchema, { key: "rate_limit" }), nil(500, IndexResponse$zodSchema))(response, req$, { extraFields: responseFields$ });
|
|
43945
44162
|
return [result$, { status: "complete", request: req$, response }];
|
|
43946
44163
|
}
|
|
43947
|
-
var
|
|
44164
|
+
var init_healthIndex = __esm(() => {
|
|
43948
44165
|
init_matchers();
|
|
43949
44166
|
init_primitives();
|
|
43950
44167
|
init_url();
|
|
43951
|
-
|
|
44168
|
+
init_indexop();
|
|
43952
44169
|
init_async();
|
|
43953
44170
|
});
|
|
43954
44171
|
|
|
43955
|
-
// src/mcp-server/tools/
|
|
43956
|
-
var tool$
|
|
43957
|
-
var
|
|
43958
|
-
|
|
44172
|
+
// src/mcp-server/tools/healthIndex.ts
|
|
44173
|
+
var tool$healthIndex;
|
|
44174
|
+
var init_healthIndex2 = __esm(() => {
|
|
44175
|
+
init_healthIndex();
|
|
43959
44176
|
init_tools();
|
|
43960
|
-
tool$
|
|
43961
|
-
name: "health-
|
|
44177
|
+
tool$healthIndex = {
|
|
44178
|
+
name: "health-index",
|
|
43962
44179
|
description: `Index`,
|
|
43963
44180
|
tool: async (client, ctx) => {
|
|
43964
|
-
const [result, apiCall] = await
|
|
44181
|
+
const [result, apiCall] = await healthIndex(client, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
43965
44182
|
if (!result.ok) {
|
|
43966
44183
|
return {
|
|
43967
44184
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -43974,34 +44191,36 @@ var init_healthCheckGetV12 = __esm(() => {
|
|
|
43974
44191
|
};
|
|
43975
44192
|
});
|
|
43976
44193
|
|
|
43977
|
-
// src/models/
|
|
43978
|
-
var
|
|
43979
|
-
var
|
|
44194
|
+
// src/models/pingop.ts
|
|
44195
|
+
var PingResponseBody$zodSchema, PingResponse$zodSchema;
|
|
44196
|
+
var init_pingop = __esm(() => {
|
|
43980
44197
|
init_zod();
|
|
43981
|
-
|
|
44198
|
+
init_ratelimit();
|
|
44199
|
+
PingResponseBody$zodSchema = objectType({
|
|
43982
44200
|
ping: stringType()
|
|
43983
44201
|
}).describe("Pong");
|
|
43984
|
-
|
|
44202
|
+
PingResponse$zodSchema = objectType({
|
|
43985
44203
|
ContentType: stringType(),
|
|
43986
44204
|
RawResponse: instanceOfType(Response),
|
|
43987
44205
|
StatusCode: numberType().int(),
|
|
43988
|
-
object: lazyType(() =>
|
|
44206
|
+
object: lazyType(() => PingResponseBody$zodSchema).optional(),
|
|
44207
|
+
rate_limit: RateLimit$zodSchema.optional()
|
|
43989
44208
|
});
|
|
43990
44209
|
});
|
|
43991
44210
|
|
|
43992
|
-
// src/funcs/
|
|
43993
|
-
function
|
|
44211
|
+
// src/funcs/healthPing.ts
|
|
44212
|
+
function healthPing(client$, options) {
|
|
43994
44213
|
return new APIPromise($do11(client$, options));
|
|
43995
44214
|
}
|
|
43996
44215
|
async function $do11(client$, options) {
|
|
43997
|
-
const path$ = pathToFunc("/
|
|
44216
|
+
const path$ = pathToFunc("/ping")();
|
|
43998
44217
|
const headers$ = new Headers(compactMap({
|
|
43999
44218
|
Accept: "application/json"
|
|
44000
44219
|
}));
|
|
44001
44220
|
const context = {
|
|
44002
44221
|
options: client$._options,
|
|
44003
44222
|
baseURL: options?.serverURL ?? client$._baseURL ?? "",
|
|
44004
|
-
operationID: "
|
|
44223
|
+
operationID: "ping",
|
|
44005
44224
|
oAuth2Scopes: [],
|
|
44006
44225
|
resolvedSecurity: null,
|
|
44007
44226
|
securitySource: null,
|
|
@@ -44039,27 +44258,27 @@ async function $do11(client$, options) {
|
|
|
44039
44258
|
const responseFields$ = {
|
|
44040
44259
|
HttpMeta: { Response: response, Request: req$ }
|
|
44041
44260
|
};
|
|
44042
|
-
const [result$] = await match(json(200,
|
|
44261
|
+
const [result$] = await match(json(200, PingResponse$zodSchema, { key: "object" }), json(429, PingResponse$zodSchema, { key: "rate_limit" }), nil(500, PingResponse$zodSchema))(response, req$, { extraFields: responseFields$ });
|
|
44043
44262
|
return [result$, { status: "complete", request: req$, response }];
|
|
44044
44263
|
}
|
|
44045
|
-
var
|
|
44264
|
+
var init_healthPing = __esm(() => {
|
|
44046
44265
|
init_matchers();
|
|
44047
44266
|
init_primitives();
|
|
44048
44267
|
init_url();
|
|
44049
|
-
|
|
44268
|
+
init_pingop();
|
|
44050
44269
|
init_async();
|
|
44051
44270
|
});
|
|
44052
44271
|
|
|
44053
|
-
// src/mcp-server/tools/
|
|
44054
|
-
var tool$
|
|
44055
|
-
var
|
|
44056
|
-
|
|
44272
|
+
// src/mcp-server/tools/healthPing.ts
|
|
44273
|
+
var tool$healthPing;
|
|
44274
|
+
var init_healthPing2 = __esm(() => {
|
|
44275
|
+
init_healthPing();
|
|
44057
44276
|
init_tools();
|
|
44058
|
-
tool$
|
|
44059
|
-
name: "health-
|
|
44277
|
+
tool$healthPing = {
|
|
44278
|
+
name: "health-ping",
|
|
44060
44279
|
description: `Ping Pong`,
|
|
44061
44280
|
tool: async (client, ctx) => {
|
|
44062
|
-
const [result, apiCall] = await
|
|
44281
|
+
const [result, apiCall] = await healthPing(client, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
44063
44282
|
if (!result.ok) {
|
|
44064
44283
|
return {
|
|
44065
44284
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -44110,7 +44329,7 @@ var TaskCreate$zodSchema;
|
|
|
44110
44329
|
var init_taskcreate = __esm(() => {
|
|
44111
44330
|
init_zod();
|
|
44112
44331
|
TaskCreate$zodSchema = objectType({
|
|
44113
|
-
dueDate: stringType().optional(),
|
|
44332
|
+
dueDate: stringType().datetime({ offset: true }).optional(),
|
|
44114
44333
|
text: stringType().optional(),
|
|
44115
44334
|
title: stringType(),
|
|
44116
44335
|
workspaceId: stringType()
|
|
@@ -44118,13 +44337,16 @@ var init_taskcreate = __esm(() => {
|
|
|
44118
44337
|
});
|
|
44119
44338
|
|
|
44120
44339
|
// src/models/createtaskop.ts
|
|
44121
|
-
var CreateTaskRequest$zodSchema, CreateTaskPath$zodSchema, CreateTaskIssue$zodSchema, CreateTaskError$zodSchema,
|
|
44340
|
+
var CreateTaskRequest$zodSchema, CreateTaskPath$zodSchema, CreateTaskIssue$zodSchema, CreateTaskError$zodSchema, CreateTaskUnprocessableEntityResponseBody$zodSchema, CreateTaskType$zodSchema, CreateTaskCode$zodSchema, CreateTaskForbiddenResponseBody$zodSchema, CreateTaskResponse$zodSchema;
|
|
44122
44341
|
var init_createtaskop = __esm(() => {
|
|
44123
44342
|
init_zod();
|
|
44343
|
+
init_autherror();
|
|
44344
|
+
init_badrequest();
|
|
44345
|
+
init_ratelimit();
|
|
44124
44346
|
init_task();
|
|
44125
44347
|
init_taskcreate();
|
|
44126
44348
|
CreateTaskRequest$zodSchema = objectType({
|
|
44127
|
-
TaskCreate: TaskCreate$zodSchema
|
|
44349
|
+
TaskCreate: TaskCreate$zodSchema,
|
|
44128
44350
|
xClientId: stringType()
|
|
44129
44351
|
});
|
|
44130
44352
|
CreateTaskPath$zodSchema = unionType([
|
|
@@ -44143,16 +44365,32 @@ var init_createtaskop = __esm(() => {
|
|
|
44143
44365
|
issues: arrayType(lazyType(() => CreateTaskIssue$zodSchema)),
|
|
44144
44366
|
name: stringType()
|
|
44145
44367
|
});
|
|
44146
|
-
|
|
44368
|
+
CreateTaskUnprocessableEntityResponseBody$zodSchema = objectType({
|
|
44147
44369
|
error: lazyType(() => CreateTaskError$zodSchema),
|
|
44148
44370
|
success: booleanType()
|
|
44149
44371
|
}).describe("The validation error(s)");
|
|
44372
|
+
CreateTaskType$zodSchema = enumType([
|
|
44373
|
+
"auth_error"
|
|
44374
|
+
]);
|
|
44375
|
+
CreateTaskCode$zodSchema = enumType([
|
|
44376
|
+
"missing_scope"
|
|
44377
|
+
]);
|
|
44378
|
+
CreateTaskForbiddenResponseBody$zodSchema = objectType({
|
|
44379
|
+
code: CreateTaskCode$zodSchema,
|
|
44380
|
+
message: stringType(),
|
|
44381
|
+
status_code: numberType(),
|
|
44382
|
+
type: CreateTaskType$zodSchema
|
|
44383
|
+
}).describe("Missing scope");
|
|
44150
44384
|
CreateTaskResponse$zodSchema = objectType({
|
|
44151
44385
|
ContentType: stringType(),
|
|
44152
44386
|
RawResponse: instanceOfType(Response),
|
|
44153
44387
|
StatusCode: numberType().int(),
|
|
44154
44388
|
Task: Task$zodSchema.optional(),
|
|
44155
|
-
|
|
44389
|
+
auth_error: AuthError$zodSchema.optional(),
|
|
44390
|
+
bad_request: BadRequest$zodSchema.optional(),
|
|
44391
|
+
fourHundredAndThreeApplicationJsonObject: lazyType(() => CreateTaskForbiddenResponseBody$zodSchema).optional(),
|
|
44392
|
+
fourHundredAndTwentyTwoApplicationJsonObject: lazyType(() => CreateTaskUnprocessableEntityResponseBody$zodSchema).optional(),
|
|
44393
|
+
rate_limit: RateLimit$zodSchema.optional()
|
|
44156
44394
|
});
|
|
44157
44395
|
});
|
|
44158
44396
|
|
|
@@ -44167,7 +44405,7 @@ async function $do12(client$, request, options) {
|
|
|
44167
44405
|
}
|
|
44168
44406
|
const payload$ = parsed$.value;
|
|
44169
44407
|
const body$ = encodeJSON("body", payload$.TaskCreate, { explode: true });
|
|
44170
|
-
const path$ = pathToFunc("/
|
|
44408
|
+
const path$ = pathToFunc("/tasks")();
|
|
44171
44409
|
const headers$ = new Headers(compactMap({
|
|
44172
44410
|
"Content-Type": "application/json",
|
|
44173
44411
|
Accept: "application/json",
|
|
@@ -44221,7 +44459,11 @@ async function $do12(client$, request, options) {
|
|
|
44221
44459
|
const responseFields$ = {
|
|
44222
44460
|
HttpMeta: { Response: response, Request: req$ }
|
|
44223
44461
|
};
|
|
44224
|
-
const [result$] = await match(json(201, CreateTaskResponse$zodSchema, { key: "Task" }), json(
|
|
44462
|
+
const [result$] = await match(json(201, CreateTaskResponse$zodSchema, { key: "Task" }), json(400, CreateTaskResponse$zodSchema, { key: "bad_request" }), json(401, CreateTaskResponse$zodSchema, { key: "auth_error" }), json(403, CreateTaskResponse$zodSchema, {
|
|
44463
|
+
key: "403_application/json_object"
|
|
44464
|
+
}), json(422, CreateTaskResponse$zodSchema, {
|
|
44465
|
+
key: "422_application/json_object"
|
|
44466
|
+
}), json(429, CreateTaskResponse$zodSchema, { key: "rate_limit" }), nil(500, CreateTaskResponse$zodSchema))(response, req$, { extraFields: responseFields$ });
|
|
44225
44467
|
return [result$, { status: "complete", request: req$, response }];
|
|
44226
44468
|
}
|
|
44227
44469
|
var init_tasksCreateTask = __esm(() => {
|
|
@@ -44265,12 +44507,17 @@ Creates a new task and returns the created task object.`,
|
|
|
44265
44507
|
});
|
|
44266
44508
|
|
|
44267
44509
|
// src/models/deletetaskop.ts
|
|
44268
|
-
var DeleteTaskRequest$zodSchema, DeleteTaskPath$zodSchema, DeleteTaskIssue$zodSchema, DeleteTaskError$zodSchema, DeleteTaskUnprocessableEntityResponseBody$zodSchema,
|
|
44510
|
+
var DeleteTaskRequest$zodSchema, DeleteTaskPath$zodSchema, DeleteTaskIssue$zodSchema, DeleteTaskError$zodSchema, DeleteTaskUnprocessableEntityResponseBody$zodSchema, DeleteTaskType$zodSchema, DeleteTaskCode$zodSchema, DeleteTaskForbiddenResponseBody$zodSchema, DeleteTaskResponse$zodSchema;
|
|
44269
44511
|
var init_deletetaskop = __esm(() => {
|
|
44270
44512
|
init_zod();
|
|
44513
|
+
init_autherror();
|
|
44514
|
+
init_badrequest();
|
|
44515
|
+
init_notfound();
|
|
44516
|
+
init_ratelimit();
|
|
44271
44517
|
init_task();
|
|
44272
44518
|
DeleteTaskRequest$zodSchema = objectType({
|
|
44273
|
-
id: stringType()
|
|
44519
|
+
id: stringType(),
|
|
44520
|
+
xClientId: stringType()
|
|
44274
44521
|
});
|
|
44275
44522
|
DeleteTaskPath$zodSchema = unionType([
|
|
44276
44523
|
stringType(),
|
|
@@ -44292,16 +44539,29 @@ var init_deletetaskop = __esm(() => {
|
|
|
44292
44539
|
error: lazyType(() => DeleteTaskError$zodSchema),
|
|
44293
44540
|
success: booleanType()
|
|
44294
44541
|
}).describe("Invalid id error");
|
|
44295
|
-
|
|
44296
|
-
|
|
44297
|
-
|
|
44542
|
+
DeleteTaskType$zodSchema = enumType([
|
|
44543
|
+
"auth_error"
|
|
44544
|
+
]);
|
|
44545
|
+
DeleteTaskCode$zodSchema = enumType([
|
|
44546
|
+
"missing_scope"
|
|
44547
|
+
]);
|
|
44548
|
+
DeleteTaskForbiddenResponseBody$zodSchema = objectType({
|
|
44549
|
+
code: DeleteTaskCode$zodSchema,
|
|
44550
|
+
message: stringType(),
|
|
44551
|
+
status_code: numberType(),
|
|
44552
|
+
type: DeleteTaskType$zodSchema
|
|
44553
|
+
}).describe("Missing scope");
|
|
44298
44554
|
DeleteTaskResponse$zodSchema = objectType({
|
|
44299
44555
|
ContentType: stringType(),
|
|
44300
44556
|
RawResponse: instanceOfType(Response),
|
|
44301
44557
|
StatusCode: numberType().int(),
|
|
44302
44558
|
Task: Task$zodSchema.optional(),
|
|
44303
|
-
|
|
44304
|
-
|
|
44559
|
+
auth_error: AuthError$zodSchema.optional(),
|
|
44560
|
+
bad_request: BadRequest$zodSchema.optional(),
|
|
44561
|
+
fourHundredAndThreeApplicationJsonObject: lazyType(() => DeleteTaskForbiddenResponseBody$zodSchema).optional(),
|
|
44562
|
+
fourHundredAndTwentyTwoApplicationJsonObject: lazyType(() => DeleteTaskUnprocessableEntityResponseBody$zodSchema).optional(),
|
|
44563
|
+
not_found: NotFound$zodSchema.optional(),
|
|
44564
|
+
rate_limit: RateLimit$zodSchema.optional()
|
|
44305
44565
|
});
|
|
44306
44566
|
});
|
|
44307
44567
|
|
|
@@ -44322,9 +44582,13 @@ async function $do13(client$, request, options) {
|
|
|
44322
44582
|
charEncoding: "percent"
|
|
44323
44583
|
})
|
|
44324
44584
|
};
|
|
44325
|
-
const path$ = pathToFunc("/
|
|
44585
|
+
const path$ = pathToFunc("/tasks/{id}")(pathParams$);
|
|
44326
44586
|
const headers$ = new Headers(compactMap({
|
|
44327
|
-
Accept: "application/json"
|
|
44587
|
+
Accept: "application/json",
|
|
44588
|
+
"x-client-id": encodeSimple("x-client-id", payload$.xClientId, {
|
|
44589
|
+
explode: false,
|
|
44590
|
+
charEncoding: "none"
|
|
44591
|
+
})
|
|
44328
44592
|
}));
|
|
44329
44593
|
const securityInput = await extractSecurity(client$._options.security);
|
|
44330
44594
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
@@ -44371,11 +44635,11 @@ async function $do13(client$, request, options) {
|
|
|
44371
44635
|
const responseFields$ = {
|
|
44372
44636
|
HttpMeta: { Response: response, Request: req$ }
|
|
44373
44637
|
};
|
|
44374
|
-
const [result$] = await match(json(200, DeleteTaskResponse$zodSchema, { key: "Task" }), json(
|
|
44375
|
-
key: "
|
|
44376
|
-
}), json(422, DeleteTaskResponse$zodSchema, {
|
|
44638
|
+
const [result$] = await match(json(200, DeleteTaskResponse$zodSchema, { key: "Task" }), json(400, DeleteTaskResponse$zodSchema, { key: "bad_request" }), json(401, DeleteTaskResponse$zodSchema, { key: "auth_error" }), json(403, DeleteTaskResponse$zodSchema, {
|
|
44639
|
+
key: "403_application/json_object"
|
|
44640
|
+
}), json(404, DeleteTaskResponse$zodSchema, { key: "not_found" }), json(422, DeleteTaskResponse$zodSchema, {
|
|
44377
44641
|
key: "422_application/json_object"
|
|
44378
|
-
}))(response, req$, { extraFields: responseFields$ });
|
|
44642
|
+
}), json(429, DeleteTaskResponse$zodSchema, { key: "rate_limit" }), nil(500, DeleteTaskResponse$zodSchema))(response, req$, { extraFields: responseFields$ });
|
|
44379
44643
|
return [result$, { status: "complete", request: req$, response }];
|
|
44380
44644
|
}
|
|
44381
44645
|
var init_tasksDeleteTask = __esm(() => {
|
|
@@ -44419,12 +44683,17 @@ Deletes a task by ID.`,
|
|
|
44419
44683
|
});
|
|
44420
44684
|
|
|
44421
44685
|
// src/models/gettaskop.ts
|
|
44422
|
-
var GetTaskRequest$zodSchema, GetTaskPath$zodSchema, GetTaskIssue$zodSchema, GetTaskError$zodSchema, GetTaskUnprocessableEntityResponseBody$zodSchema,
|
|
44686
|
+
var GetTaskRequest$zodSchema, GetTaskPath$zodSchema, GetTaskIssue$zodSchema, GetTaskError$zodSchema, GetTaskUnprocessableEntityResponseBody$zodSchema, GetTaskType$zodSchema, GetTaskCode$zodSchema, GetTaskForbiddenResponseBody$zodSchema, GetTaskResponse$zodSchema;
|
|
44423
44687
|
var init_gettaskop = __esm(() => {
|
|
44424
44688
|
init_zod();
|
|
44689
|
+
init_autherror();
|
|
44690
|
+
init_badrequest();
|
|
44691
|
+
init_notfound();
|
|
44692
|
+
init_ratelimit();
|
|
44425
44693
|
init_task();
|
|
44426
44694
|
GetTaskRequest$zodSchema = objectType({
|
|
44427
|
-
id: stringType()
|
|
44695
|
+
id: stringType(),
|
|
44696
|
+
xClientId: stringType()
|
|
44428
44697
|
});
|
|
44429
44698
|
GetTaskPath$zodSchema = unionType([
|
|
44430
44699
|
stringType(),
|
|
@@ -44446,16 +44715,29 @@ var init_gettaskop = __esm(() => {
|
|
|
44446
44715
|
error: lazyType(() => GetTaskError$zodSchema),
|
|
44447
44716
|
success: booleanType()
|
|
44448
44717
|
}).describe("Invalid id error");
|
|
44449
|
-
|
|
44450
|
-
|
|
44451
|
-
|
|
44718
|
+
GetTaskType$zodSchema = enumType([
|
|
44719
|
+
"auth_error"
|
|
44720
|
+
]);
|
|
44721
|
+
GetTaskCode$zodSchema = enumType([
|
|
44722
|
+
"missing_scope"
|
|
44723
|
+
]);
|
|
44724
|
+
GetTaskForbiddenResponseBody$zodSchema = objectType({
|
|
44725
|
+
code: GetTaskCode$zodSchema,
|
|
44726
|
+
message: stringType(),
|
|
44727
|
+
status_code: numberType(),
|
|
44728
|
+
type: GetTaskType$zodSchema
|
|
44729
|
+
}).describe("Missing scope");
|
|
44452
44730
|
GetTaskResponse$zodSchema = objectType({
|
|
44453
44731
|
ContentType: stringType(),
|
|
44454
44732
|
RawResponse: instanceOfType(Response),
|
|
44455
44733
|
StatusCode: numberType().int(),
|
|
44456
44734
|
Task: Task$zodSchema.optional(),
|
|
44457
|
-
|
|
44458
|
-
|
|
44735
|
+
auth_error: AuthError$zodSchema.optional(),
|
|
44736
|
+
bad_request: BadRequest$zodSchema.optional(),
|
|
44737
|
+
fourHundredAndThreeApplicationJsonObject: lazyType(() => GetTaskForbiddenResponseBody$zodSchema).optional(),
|
|
44738
|
+
fourHundredAndTwentyTwoApplicationJsonObject: lazyType(() => GetTaskUnprocessableEntityResponseBody$zodSchema).optional(),
|
|
44739
|
+
not_found: NotFound$zodSchema.optional(),
|
|
44740
|
+
rate_limit: RateLimit$zodSchema.optional()
|
|
44459
44741
|
});
|
|
44460
44742
|
});
|
|
44461
44743
|
|
|
@@ -44476,9 +44758,13 @@ async function $do14(client$, request, options) {
|
|
|
44476
44758
|
charEncoding: "percent"
|
|
44477
44759
|
})
|
|
44478
44760
|
};
|
|
44479
|
-
const path$ = pathToFunc("/
|
|
44761
|
+
const path$ = pathToFunc("/tasks/{id}")(pathParams$);
|
|
44480
44762
|
const headers$ = new Headers(compactMap({
|
|
44481
|
-
Accept: "application/json"
|
|
44763
|
+
Accept: "application/json",
|
|
44764
|
+
"x-client-id": encodeSimple("x-client-id", payload$.xClientId, {
|
|
44765
|
+
explode: false,
|
|
44766
|
+
charEncoding: "none"
|
|
44767
|
+
})
|
|
44482
44768
|
}));
|
|
44483
44769
|
const securityInput = await extractSecurity(client$._options.security);
|
|
44484
44770
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
@@ -44525,11 +44811,11 @@ async function $do14(client$, request, options) {
|
|
|
44525
44811
|
const responseFields$ = {
|
|
44526
44812
|
HttpMeta: { Response: response, Request: req$ }
|
|
44527
44813
|
};
|
|
44528
|
-
const [result$] = await match(json(200, GetTaskResponse$zodSchema, { key: "Task" }), json(
|
|
44529
|
-
key: "
|
|
44530
|
-
}), json(422, GetTaskResponse$zodSchema, {
|
|
44814
|
+
const [result$] = await match(json(200, GetTaskResponse$zodSchema, { key: "Task" }), json(400, GetTaskResponse$zodSchema, { key: "bad_request" }), json(401, GetTaskResponse$zodSchema, { key: "auth_error" }), json(403, GetTaskResponse$zodSchema, {
|
|
44815
|
+
key: "403_application/json_object"
|
|
44816
|
+
}), json(404, GetTaskResponse$zodSchema, { key: "not_found" }), json(422, GetTaskResponse$zodSchema, {
|
|
44531
44817
|
key: "422_application/json_object"
|
|
44532
|
-
}))(response, req$, { extraFields: responseFields$ });
|
|
44818
|
+
}), json(429, GetTaskResponse$zodSchema, { key: "rate_limit" }), nil(500, GetTaskResponse$zodSchema))(response, req$, { extraFields: responseFields$ });
|
|
44533
44819
|
return [result$, { status: "complete", request: req$, response }];
|
|
44534
44820
|
}
|
|
44535
44821
|
var init_tasksGetTask = __esm(() => {
|
|
@@ -44572,16 +44858,44 @@ Returns a single task object by ID.`,
|
|
|
44572
44858
|
};
|
|
44573
44859
|
});
|
|
44574
44860
|
|
|
44575
|
-
// src/models/
|
|
44576
|
-
var
|
|
44577
|
-
var
|
|
44861
|
+
// src/models/paginatedtasks.ts
|
|
44862
|
+
var PaginatedTasks$zodSchema;
|
|
44863
|
+
var init_paginatedtasks = __esm(() => {
|
|
44578
44864
|
init_zod();
|
|
44579
44865
|
init_pagination();
|
|
44580
44866
|
init_task();
|
|
44867
|
+
PaginatedTasks$zodSchema = objectType({
|
|
44868
|
+
data: arrayType(Task$zodSchema),
|
|
44869
|
+
pagination: Pagination$zodSchema
|
|
44870
|
+
});
|
|
44871
|
+
});
|
|
44872
|
+
|
|
44873
|
+
// src/models/listtasksop.ts
|
|
44874
|
+
var ListTasksSort$zodSchema, ListTasksOrder$zodSchema, ListTasksRequest$zodSchema, ListTasksPath$zodSchema, ListTasksIssue$zodSchema, ListTasksError$zodSchema, ListTasksUnprocessableEntityResponseBody$zodSchema, ListTasksType$zodSchema, ListTasksCode$zodSchema, ListTasksForbiddenResponseBody$zodSchema, ListTasksResponse$zodSchema;
|
|
44875
|
+
var init_listtasksop = __esm(() => {
|
|
44876
|
+
init_zod();
|
|
44877
|
+
init_autherror();
|
|
44878
|
+
init_badrequest();
|
|
44879
|
+
init_paginatedtasks();
|
|
44880
|
+
init_ratelimit();
|
|
44881
|
+
ListTasksSort$zodSchema = enumType([
|
|
44882
|
+
"createdAt",
|
|
44883
|
+
"updatedAt",
|
|
44884
|
+
"dueDate",
|
|
44885
|
+
"status",
|
|
44886
|
+
"title"
|
|
44887
|
+
]).describe("The sort field of the results");
|
|
44888
|
+
ListTasksOrder$zodSchema = enumType([
|
|
44889
|
+
"asc",
|
|
44890
|
+
"desc"
|
|
44891
|
+
]).describe("The order of the results based on the sort field");
|
|
44581
44892
|
ListTasksRequest$zodSchema = objectType({
|
|
44582
44893
|
cursor: stringType().optional(),
|
|
44583
44894
|
limit: numberType().default(20),
|
|
44584
|
-
|
|
44895
|
+
order: ListTasksOrder$zodSchema.default("desc"),
|
|
44896
|
+
sort: ListTasksSort$zodSchema.default("createdAt"),
|
|
44897
|
+
workspaceId: stringType().optional(),
|
|
44898
|
+
xClientId: stringType()
|
|
44585
44899
|
});
|
|
44586
44900
|
ListTasksPath$zodSchema = unionType([
|
|
44587
44901
|
stringType(),
|
|
@@ -44603,16 +44917,28 @@ var init_listtasksop = __esm(() => {
|
|
|
44603
44917
|
error: lazyType(() => ListTasksError$zodSchema),
|
|
44604
44918
|
success: booleanType()
|
|
44605
44919
|
}).describe("The validation error(s)");
|
|
44606
|
-
|
|
44607
|
-
|
|
44608
|
-
|
|
44609
|
-
|
|
44920
|
+
ListTasksType$zodSchema = enumType([
|
|
44921
|
+
"auth_error"
|
|
44922
|
+
]);
|
|
44923
|
+
ListTasksCode$zodSchema = enumType([
|
|
44924
|
+
"missing_scope"
|
|
44925
|
+
]);
|
|
44926
|
+
ListTasksForbiddenResponseBody$zodSchema = objectType({
|
|
44927
|
+
code: ListTasksCode$zodSchema,
|
|
44928
|
+
message: stringType(),
|
|
44929
|
+
status_code: numberType(),
|
|
44930
|
+
type: ListTasksType$zodSchema
|
|
44931
|
+
}).describe("Missing scope");
|
|
44610
44932
|
ListTasksResponse$zodSchema = objectType({
|
|
44611
44933
|
ContentType: stringType(),
|
|
44934
|
+
PaginatedTasks: PaginatedTasks$zodSchema.optional(),
|
|
44612
44935
|
RawResponse: instanceOfType(Response),
|
|
44613
44936
|
StatusCode: numberType().int(),
|
|
44937
|
+
auth_error: AuthError$zodSchema.optional(),
|
|
44938
|
+
bad_request: BadRequest$zodSchema.optional(),
|
|
44939
|
+
fourHundredAndThreeApplicationJsonObject: lazyType(() => ListTasksForbiddenResponseBody$zodSchema).optional(),
|
|
44614
44940
|
fourHundredAndTwentyTwoApplicationJsonObject: lazyType(() => ListTasksUnprocessableEntityResponseBody$zodSchema).optional(),
|
|
44615
|
-
|
|
44941
|
+
rate_limit: RateLimit$zodSchema.optional()
|
|
44616
44942
|
});
|
|
44617
44943
|
});
|
|
44618
44944
|
|
|
@@ -44621,20 +44947,26 @@ function tasksListTasks(client$, request, options) {
|
|
|
44621
44947
|
return new APIPromise($do15(client$, request, options));
|
|
44622
44948
|
}
|
|
44623
44949
|
async function $do15(client$, request, options) {
|
|
44624
|
-
const parsed$ = safeParse(request, (value$) => ListTasksRequest$zodSchema.
|
|
44950
|
+
const parsed$ = safeParse(request, (value$) => ListTasksRequest$zodSchema.parse(value$), "Input validation failed");
|
|
44625
44951
|
if (!parsed$.ok) {
|
|
44626
44952
|
return [parsed$, { status: "invalid" }];
|
|
44627
44953
|
}
|
|
44628
44954
|
const payload$ = parsed$.value;
|
|
44629
44955
|
const body$ = null;
|
|
44630
|
-
const path$ = pathToFunc("/
|
|
44956
|
+
const path$ = pathToFunc("/tasks")();
|
|
44631
44957
|
const query$ = encodeFormQuery({
|
|
44632
|
-
cursor: payload
|
|
44633
|
-
limit: payload
|
|
44634
|
-
|
|
44958
|
+
cursor: payload$.cursor,
|
|
44959
|
+
limit: payload$.limit,
|
|
44960
|
+
order: payload$.order,
|
|
44961
|
+
sort: payload$.sort,
|
|
44962
|
+
workspaceId: payload$.workspaceId
|
|
44635
44963
|
});
|
|
44636
44964
|
const headers$ = new Headers(compactMap({
|
|
44637
|
-
Accept: "application/json"
|
|
44965
|
+
Accept: "application/json",
|
|
44966
|
+
"x-client-id": encodeSimple("x-client-id", payload$.xClientId, {
|
|
44967
|
+
explode: false,
|
|
44968
|
+
charEncoding: "none"
|
|
44969
|
+
})
|
|
44638
44970
|
}));
|
|
44639
44971
|
const securityInput = await extractSecurity(client$._options.security);
|
|
44640
44972
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
@@ -44682,11 +45014,11 @@ async function $do15(client$, request, options) {
|
|
|
44682
45014
|
const responseFields$ = {
|
|
44683
45015
|
HttpMeta: { Response: response, Request: req$ }
|
|
44684
45016
|
};
|
|
44685
|
-
const [result$] = await match(json(200, ListTasksResponse$zodSchema, {
|
|
44686
|
-
key: "
|
|
45017
|
+
const [result$] = await match(json(200, ListTasksResponse$zodSchema, { key: "PaginatedTasks" }), json(400, ListTasksResponse$zodSchema, { key: "bad_request" }), json(401, ListTasksResponse$zodSchema, { key: "auth_error" }), json(403, ListTasksResponse$zodSchema, {
|
|
45018
|
+
key: "403_application/json_object"
|
|
44687
45019
|
}), json(422, ListTasksResponse$zodSchema, {
|
|
44688
45020
|
key: "422_application/json_object"
|
|
44689
|
-
}))(response, req$, { extraFields: responseFields$ });
|
|
45021
|
+
}), json(429, ListTasksResponse$zodSchema, { key: "rate_limit" }), nil(500, ListTasksResponse$zodSchema))(response, req$, { extraFields: responseFields$ });
|
|
44690
45022
|
return [result$, { status: "complete", request: req$, response }];
|
|
44691
45023
|
}
|
|
44692
45024
|
var init_tasksListTasks = __esm(() => {
|
|
@@ -44707,7 +45039,7 @@ var init_tasksListTasks2 = __esm(() => {
|
|
|
44707
45039
|
init_listtasksop();
|
|
44708
45040
|
init_tools();
|
|
44709
45041
|
args12 = {
|
|
44710
|
-
request: ListTasksRequest$zodSchema
|
|
45042
|
+
request: ListTasksRequest$zodSchema
|
|
44711
45043
|
};
|
|
44712
45044
|
tool$tasksListTasks = {
|
|
44713
45045
|
name: "tasks-list-tasks",
|
|
@@ -44752,14 +45084,19 @@ var init_taskupdate = __esm(() => {
|
|
|
44752
45084
|
});
|
|
44753
45085
|
|
|
44754
45086
|
// src/models/updatetaskop.ts
|
|
44755
|
-
var UpdateTaskRequest$zodSchema, UpdateTaskPath2$zodSchema, UpdateTaskIssue2$zodSchema, UpdateTaskError2$zodSchema, UpdateTaskResponseBody2$zodSchema, UpdateTaskPath1$zodSchema, UpdateTaskIssue1$zodSchema, UpdateTaskError1$zodSchema, UpdateTaskResponseBody1$zodSchema, UpdateTaskResponseBody$zodSchema,
|
|
45087
|
+
var UpdateTaskRequest$zodSchema, UpdateTaskPath2$zodSchema, UpdateTaskIssue2$zodSchema, UpdateTaskError2$zodSchema, UpdateTaskResponseBody2$zodSchema, UpdateTaskPath1$zodSchema, UpdateTaskIssue1$zodSchema, UpdateTaskError1$zodSchema, UpdateTaskResponseBody1$zodSchema, UpdateTaskResponseBody$zodSchema, UpdateTaskType$zodSchema, UpdateTaskCode$zodSchema, UpdateTaskForbiddenResponseBody$zodSchema, UpdateTaskResponse$zodSchema;
|
|
44756
45088
|
var init_updatetaskop = __esm(() => {
|
|
44757
45089
|
init_zod();
|
|
45090
|
+
init_autherror();
|
|
45091
|
+
init_badrequest();
|
|
45092
|
+
init_notfound();
|
|
45093
|
+
init_ratelimit();
|
|
44758
45094
|
init_task();
|
|
44759
45095
|
init_taskupdate();
|
|
44760
45096
|
UpdateTaskRequest$zodSchema = objectType({
|
|
44761
45097
|
TaskUpdate: TaskUpdate$zodSchema.optional(),
|
|
44762
|
-
id: stringType()
|
|
45098
|
+
id: stringType(),
|
|
45099
|
+
xClientId: stringType()
|
|
44763
45100
|
});
|
|
44764
45101
|
UpdateTaskPath2$zodSchema = unionType([
|
|
44765
45102
|
stringType(),
|
|
@@ -44805,19 +45142,32 @@ var init_updatetaskop = __esm(() => {
|
|
|
44805
45142
|
lazyType(() => UpdateTaskResponseBody1$zodSchema),
|
|
44806
45143
|
lazyType(() => UpdateTaskResponseBody2$zodSchema)
|
|
44807
45144
|
]).describe("The validation error(s)");
|
|
44808
|
-
|
|
44809
|
-
|
|
44810
|
-
|
|
45145
|
+
UpdateTaskType$zodSchema = enumType([
|
|
45146
|
+
"auth_error"
|
|
45147
|
+
]);
|
|
45148
|
+
UpdateTaskCode$zodSchema = enumType([
|
|
45149
|
+
"missing_scope"
|
|
45150
|
+
]);
|
|
45151
|
+
UpdateTaskForbiddenResponseBody$zodSchema = objectType({
|
|
45152
|
+
code: UpdateTaskCode$zodSchema,
|
|
45153
|
+
message: stringType(),
|
|
45154
|
+
status_code: numberType(),
|
|
45155
|
+
type: UpdateTaskType$zodSchema
|
|
45156
|
+
}).describe("Missing scope");
|
|
44811
45157
|
UpdateTaskResponse$zodSchema = objectType({
|
|
44812
45158
|
ContentType: stringType(),
|
|
44813
45159
|
RawResponse: instanceOfType(Response),
|
|
44814
45160
|
StatusCode: numberType().int(),
|
|
44815
45161
|
Task: Task$zodSchema.optional(),
|
|
44816
|
-
|
|
45162
|
+
auth_error: AuthError$zodSchema.optional(),
|
|
45163
|
+
bad_request: BadRequest$zodSchema.optional(),
|
|
45164
|
+
not_found: NotFound$zodSchema.optional(),
|
|
45165
|
+
object: lazyType(() => UpdateTaskForbiddenResponseBody$zodSchema).optional(),
|
|
44817
45166
|
oneOf: unionType([
|
|
44818
45167
|
lazyType(() => UpdateTaskResponseBody1$zodSchema),
|
|
44819
45168
|
lazyType(() => UpdateTaskResponseBody2$zodSchema)
|
|
44820
|
-
]).optional()
|
|
45169
|
+
]).optional(),
|
|
45170
|
+
rate_limit: RateLimit$zodSchema.optional()
|
|
44821
45171
|
});
|
|
44822
45172
|
});
|
|
44823
45173
|
|
|
@@ -44838,10 +45188,14 @@ async function $do16(client$, request, options) {
|
|
|
44838
45188
|
charEncoding: "percent"
|
|
44839
45189
|
})
|
|
44840
45190
|
};
|
|
44841
|
-
const path$ = pathToFunc("/
|
|
45191
|
+
const path$ = pathToFunc("/tasks/{id}")(pathParams$);
|
|
44842
45192
|
const headers$ = new Headers(compactMap({
|
|
44843
45193
|
"Content-Type": "application/json",
|
|
44844
|
-
Accept: "application/json"
|
|
45194
|
+
Accept: "application/json",
|
|
45195
|
+
"x-client-id": encodeSimple("x-client-id", payload$.xClientId, {
|
|
45196
|
+
explode: false,
|
|
45197
|
+
charEncoding: "none"
|
|
45198
|
+
})
|
|
44845
45199
|
}));
|
|
44846
45200
|
const securityInput = await extractSecurity(client$._options.security);
|
|
44847
45201
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
@@ -44888,7 +45242,7 @@ async function $do16(client$, request, options) {
|
|
|
44888
45242
|
const responseFields$ = {
|
|
44889
45243
|
HttpMeta: { Response: response, Request: req$ }
|
|
44890
45244
|
};
|
|
44891
|
-
const [result$] = await match(json(200, UpdateTaskResponse$zodSchema, { key: "Task" }), json(
|
|
45245
|
+
const [result$] = await match(json(200, UpdateTaskResponse$zodSchema, { key: "Task" }), json(400, UpdateTaskResponse$zodSchema, { key: "bad_request" }), json(401, UpdateTaskResponse$zodSchema, { key: "auth_error" }), json(403, UpdateTaskResponse$zodSchema, { key: "object" }), json(404, UpdateTaskResponse$zodSchema, { key: "not_found" }), json(422, UpdateTaskResponse$zodSchema, { key: "oneOf" }), json(429, UpdateTaskResponse$zodSchema, { key: "rate_limit" }), nil(500, UpdateTaskResponse$zodSchema))(response, req$, { extraFields: responseFields$ });
|
|
44892
45246
|
return [result$, { status: "complete", request: req$, response }];
|
|
44893
45247
|
}
|
|
44894
45248
|
var init_tasksUpdateTask = __esm(() => {
|
|
@@ -44936,27 +45290,207 @@ var Workspace$zodSchema;
|
|
|
44936
45290
|
var init_workspace = __esm(() => {
|
|
44937
45291
|
init_zod();
|
|
44938
45292
|
Workspace$zodSchema = objectType({
|
|
44939
|
-
archivedAt: stringType().nullable(),
|
|
45293
|
+
archivedAt: stringType().datetime({ offset: true }).nullable(),
|
|
44940
45294
|
clientId: stringType(),
|
|
44941
|
-
createdAt: stringType(),
|
|
45295
|
+
createdAt: stringType().datetime({ offset: true }),
|
|
44942
45296
|
id: stringType(),
|
|
44943
45297
|
name: stringType(),
|
|
44944
|
-
updatedAt: stringType()
|
|
45298
|
+
updatedAt: stringType().datetime({ offset: true })
|
|
45299
|
+
});
|
|
45300
|
+
});
|
|
45301
|
+
|
|
45302
|
+
// src/models/workspacecreate.ts
|
|
45303
|
+
var WorkspaceCreate$zodSchema;
|
|
45304
|
+
var init_workspacecreate = __esm(() => {
|
|
45305
|
+
init_zod();
|
|
45306
|
+
WorkspaceCreate$zodSchema = objectType({
|
|
45307
|
+
name: stringType()
|
|
45308
|
+
});
|
|
45309
|
+
});
|
|
45310
|
+
|
|
45311
|
+
// src/models/createworkspaceop.ts
|
|
45312
|
+
var CreateWorkspaceRequest$zodSchema, CreateWorkspacePath$zodSchema, CreateWorkspaceIssue$zodSchema, CreateWorkspaceError$zodSchema, CreateWorkspaceUnprocessableEntityResponseBody$zodSchema, CreateWorkspaceType$zodSchema, CreateWorkspaceCode$zodSchema, CreateWorkspaceForbiddenResponseBody$zodSchema, CreateWorkspaceResponse$zodSchema;
|
|
45313
|
+
var init_createworkspaceop = __esm(() => {
|
|
45314
|
+
init_zod();
|
|
45315
|
+
init_autherror();
|
|
45316
|
+
init_badrequest();
|
|
45317
|
+
init_ratelimit();
|
|
45318
|
+
init_workspace();
|
|
45319
|
+
init_workspacecreate();
|
|
45320
|
+
CreateWorkspaceRequest$zodSchema = objectType({
|
|
45321
|
+
WorkspaceCreate: WorkspaceCreate$zodSchema,
|
|
45322
|
+
xClientId: stringType()
|
|
45323
|
+
});
|
|
45324
|
+
CreateWorkspacePath$zodSchema = unionType([
|
|
45325
|
+
stringType(),
|
|
45326
|
+
numberType()
|
|
45327
|
+
]);
|
|
45328
|
+
CreateWorkspaceIssue$zodSchema = objectType({
|
|
45329
|
+
code: stringType(),
|
|
45330
|
+
message: stringType().optional(),
|
|
45331
|
+
path: arrayType(unionType([
|
|
45332
|
+
stringType(),
|
|
45333
|
+
numberType()
|
|
45334
|
+
]))
|
|
45335
|
+
});
|
|
45336
|
+
CreateWorkspaceError$zodSchema = objectType({
|
|
45337
|
+
issues: arrayType(lazyType(() => CreateWorkspaceIssue$zodSchema)),
|
|
45338
|
+
name: stringType()
|
|
45339
|
+
});
|
|
45340
|
+
CreateWorkspaceUnprocessableEntityResponseBody$zodSchema = objectType({
|
|
45341
|
+
error: lazyType(() => CreateWorkspaceError$zodSchema),
|
|
45342
|
+
success: booleanType()
|
|
45343
|
+
}).describe("The validation error(s)");
|
|
45344
|
+
CreateWorkspaceType$zodSchema = enumType([
|
|
45345
|
+
"auth_error"
|
|
45346
|
+
]);
|
|
45347
|
+
CreateWorkspaceCode$zodSchema = enumType([
|
|
45348
|
+
"missing_scope"
|
|
45349
|
+
]);
|
|
45350
|
+
CreateWorkspaceForbiddenResponseBody$zodSchema = objectType({
|
|
45351
|
+
code: CreateWorkspaceCode$zodSchema,
|
|
45352
|
+
message: stringType(),
|
|
45353
|
+
status_code: numberType(),
|
|
45354
|
+
type: CreateWorkspaceType$zodSchema
|
|
45355
|
+
}).describe("Missing scope");
|
|
45356
|
+
CreateWorkspaceResponse$zodSchema = objectType({
|
|
45357
|
+
ContentType: stringType(),
|
|
45358
|
+
RawResponse: instanceOfType(Response),
|
|
45359
|
+
StatusCode: numberType().int(),
|
|
45360
|
+
Workspace: Workspace$zodSchema.optional(),
|
|
45361
|
+
auth_error: AuthError$zodSchema.optional(),
|
|
45362
|
+
bad_request: BadRequest$zodSchema.optional(),
|
|
45363
|
+
fourHundredAndThreeApplicationJsonObject: lazyType(() => CreateWorkspaceForbiddenResponseBody$zodSchema).optional(),
|
|
45364
|
+
fourHundredAndTwentyTwoApplicationJsonObject: lazyType(() => CreateWorkspaceUnprocessableEntityResponseBody$zodSchema).optional(),
|
|
45365
|
+
rate_limit: RateLimit$zodSchema.optional()
|
|
44945
45366
|
});
|
|
44946
45367
|
});
|
|
44947
45368
|
|
|
45369
|
+
// src/funcs/workspacesCreateWorkspace.ts
|
|
45370
|
+
function workspacesCreateWorkspace(client$, request, options) {
|
|
45371
|
+
return new APIPromise($do17(client$, request, options));
|
|
45372
|
+
}
|
|
45373
|
+
async function $do17(client$, request, options) {
|
|
45374
|
+
const parsed$ = safeParse(request, (value$) => CreateWorkspaceRequest$zodSchema.parse(value$), "Input validation failed");
|
|
45375
|
+
if (!parsed$.ok) {
|
|
45376
|
+
return [parsed$, { status: "invalid" }];
|
|
45377
|
+
}
|
|
45378
|
+
const payload$ = parsed$.value;
|
|
45379
|
+
const body$ = encodeJSON("body", payload$.WorkspaceCreate, { explode: true });
|
|
45380
|
+
const path$ = pathToFunc("/workspaces")();
|
|
45381
|
+
const headers$ = new Headers(compactMap({
|
|
45382
|
+
"Content-Type": "application/json",
|
|
45383
|
+
Accept: "application/json",
|
|
45384
|
+
"x-client-id": encodeSimple("x-client-id", payload$.xClientId, {
|
|
45385
|
+
explode: false,
|
|
45386
|
+
charEncoding: "none"
|
|
45387
|
+
})
|
|
45388
|
+
}));
|
|
45389
|
+
const securityInput = await extractSecurity(client$._options.security);
|
|
45390
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
45391
|
+
const context = {
|
|
45392
|
+
options: client$._options,
|
|
45393
|
+
baseURL: options?.serverURL ?? client$._baseURL ?? "",
|
|
45394
|
+
operationID: "createWorkspace",
|
|
45395
|
+
oAuth2Scopes: [],
|
|
45396
|
+
resolvedSecurity: requestSecurity,
|
|
45397
|
+
securitySource: client$._options.security,
|
|
45398
|
+
retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
|
|
45399
|
+
retryCodes: options?.retryCodes || [
|
|
45400
|
+
"429",
|
|
45401
|
+
"500",
|
|
45402
|
+
"502",
|
|
45403
|
+
"503",
|
|
45404
|
+
"504"
|
|
45405
|
+
]
|
|
45406
|
+
};
|
|
45407
|
+
const requestRes = client$._createRequest(context, {
|
|
45408
|
+
security: requestSecurity,
|
|
45409
|
+
method: "POST",
|
|
45410
|
+
baseURL: options?.serverURL,
|
|
45411
|
+
path: path$,
|
|
45412
|
+
headers: headers$,
|
|
45413
|
+
body: body$,
|
|
45414
|
+
userAgent: client$._options.userAgent,
|
|
45415
|
+
timeoutMs: options?.timeoutMs || client$._options.timeoutMs || -1
|
|
45416
|
+
}, options);
|
|
45417
|
+
if (!requestRes.ok) {
|
|
45418
|
+
return [requestRes, { status: "invalid" }];
|
|
45419
|
+
}
|
|
45420
|
+
const req$ = requestRes.value;
|
|
45421
|
+
const doResult = await client$._do(req$, {
|
|
45422
|
+
context,
|
|
45423
|
+
errorCodes: [],
|
|
45424
|
+
retryConfig: context.retryConfig,
|
|
45425
|
+
retryCodes: context.retryCodes
|
|
45426
|
+
});
|
|
45427
|
+
if (!doResult.ok) {
|
|
45428
|
+
return [doResult, { status: "request-error", request: req$ }];
|
|
45429
|
+
}
|
|
45430
|
+
const response = doResult.value;
|
|
45431
|
+
const responseFields$ = {
|
|
45432
|
+
HttpMeta: { Response: response, Request: req$ }
|
|
45433
|
+
};
|
|
45434
|
+
const [result$] = await match(json(201, CreateWorkspaceResponse$zodSchema, { key: "Workspace" }), json(400, CreateWorkspaceResponse$zodSchema, { key: "bad_request" }), json(401, CreateWorkspaceResponse$zodSchema, { key: "auth_error" }), json(403, CreateWorkspaceResponse$zodSchema, {
|
|
45435
|
+
key: "403_application/json_object"
|
|
45436
|
+
}), json(422, CreateWorkspaceResponse$zodSchema, {
|
|
45437
|
+
key: "422_application/json_object"
|
|
45438
|
+
}), json(429, CreateWorkspaceResponse$zodSchema, { key: "rate_limit" }), nil(500, CreateWorkspaceResponse$zodSchema))(response, req$, { extraFields: responseFields$ });
|
|
45439
|
+
return [result$, { status: "complete", request: req$, response }];
|
|
45440
|
+
}
|
|
45441
|
+
var init_workspacesCreateWorkspace = __esm(() => {
|
|
45442
|
+
init_encodings();
|
|
45443
|
+
init_matchers();
|
|
45444
|
+
init_primitives();
|
|
45445
|
+
init_schemas();
|
|
45446
|
+
init_security();
|
|
45447
|
+
init_url();
|
|
45448
|
+
init_createworkspaceop();
|
|
45449
|
+
init_async();
|
|
45450
|
+
});
|
|
45451
|
+
|
|
45452
|
+
// src/mcp-server/tools/workspacesCreateWorkspace.ts
|
|
45453
|
+
var args14, tool$workspacesCreateWorkspace;
|
|
45454
|
+
var init_workspacesCreateWorkspace2 = __esm(() => {
|
|
45455
|
+
init_workspacesCreateWorkspace();
|
|
45456
|
+
init_createworkspaceop();
|
|
45457
|
+
init_tools();
|
|
45458
|
+
args14 = {
|
|
45459
|
+
request: CreateWorkspaceRequest$zodSchema
|
|
45460
|
+
};
|
|
45461
|
+
tool$workspacesCreateWorkspace = {
|
|
45462
|
+
name: "workspaces-create-workspace",
|
|
45463
|
+
description: `Create a workspace
|
|
45464
|
+
|
|
45465
|
+
Creates a new workspace and returns the created workspace object.`,
|
|
45466
|
+
args: args14,
|
|
45467
|
+
tool: async (client, args15, ctx) => {
|
|
45468
|
+
const [result, apiCall] = await workspacesCreateWorkspace(client, args15.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
45469
|
+
if (!result.ok) {
|
|
45470
|
+
return {
|
|
45471
|
+
content: [{ type: "text", text: result.error.message }],
|
|
45472
|
+
isError: true
|
|
45473
|
+
};
|
|
45474
|
+
}
|
|
45475
|
+
const value = result.value;
|
|
45476
|
+
return formatResult(value, apiCall);
|
|
45477
|
+
}
|
|
45478
|
+
};
|
|
45479
|
+
});
|
|
45480
|
+
|
|
44948
45481
|
// src/models/getworkspaceop.ts
|
|
44949
|
-
var GetWorkspaceRequest$zodSchema,
|
|
45482
|
+
var GetWorkspaceRequest$zodSchema, GetWorkspacePath$zodSchema, GetWorkspaceIssue$zodSchema, GetWorkspaceError$zodSchema, GetWorkspaceUnprocessableEntityResponseBody$zodSchema, GetWorkspaceType$zodSchema, GetWorkspaceCode$zodSchema, GetWorkspaceForbiddenResponseBody$zodSchema, GetWorkspaceResponse$zodSchema;
|
|
44950
45483
|
var init_getworkspaceop = __esm(() => {
|
|
44951
45484
|
init_zod();
|
|
45485
|
+
init_autherror();
|
|
45486
|
+
init_badrequest();
|
|
45487
|
+
init_notfound();
|
|
45488
|
+
init_ratelimit();
|
|
44952
45489
|
init_workspace();
|
|
44953
45490
|
GetWorkspaceRequest$zodSchema = objectType({
|
|
44954
45491
|
id: stringType(),
|
|
44955
45492
|
xClientId: stringType()
|
|
44956
45493
|
});
|
|
44957
|
-
GetWorkspaceTooManyRequestsResponseBody$zodSchema = objectType({
|
|
44958
|
-
message: stringType()
|
|
44959
|
-
}).describe("Rate limit exceeded. Slow down requests or retry after the time specified in the rate limit response headers");
|
|
44960
45494
|
GetWorkspacePath$zodSchema = unionType([
|
|
44961
45495
|
stringType(),
|
|
44962
45496
|
numberType()
|
|
@@ -44977,25 +45511,37 @@ var init_getworkspaceop = __esm(() => {
|
|
|
44977
45511
|
error: lazyType(() => GetWorkspaceError$zodSchema),
|
|
44978
45512
|
success: booleanType()
|
|
44979
45513
|
}).describe("Invalid id error");
|
|
44980
|
-
|
|
44981
|
-
|
|
44982
|
-
|
|
45514
|
+
GetWorkspaceType$zodSchema = enumType([
|
|
45515
|
+
"auth_error"
|
|
45516
|
+
]);
|
|
45517
|
+
GetWorkspaceCode$zodSchema = enumType([
|
|
45518
|
+
"missing_scope"
|
|
45519
|
+
]);
|
|
45520
|
+
GetWorkspaceForbiddenResponseBody$zodSchema = objectType({
|
|
45521
|
+
code: GetWorkspaceCode$zodSchema,
|
|
45522
|
+
message: stringType(),
|
|
45523
|
+
status_code: numberType(),
|
|
45524
|
+
type: GetWorkspaceType$zodSchema
|
|
45525
|
+
}).describe("Missing scope");
|
|
44983
45526
|
GetWorkspaceResponse$zodSchema = objectType({
|
|
44984
45527
|
ContentType: stringType(),
|
|
44985
45528
|
RawResponse: instanceOfType(Response),
|
|
44986
45529
|
StatusCode: numberType().int(),
|
|
44987
45530
|
Workspace: Workspace$zodSchema.optional(),
|
|
44988
|
-
|
|
44989
|
-
|
|
44990
|
-
|
|
45531
|
+
auth_error: AuthError$zodSchema.optional(),
|
|
45532
|
+
bad_request: BadRequest$zodSchema.optional(),
|
|
45533
|
+
fourHundredAndThreeApplicationJsonObject: lazyType(() => GetWorkspaceForbiddenResponseBody$zodSchema).optional(),
|
|
45534
|
+
fourHundredAndTwentyTwoApplicationJsonObject: lazyType(() => GetWorkspaceUnprocessableEntityResponseBody$zodSchema).optional(),
|
|
45535
|
+
not_found: NotFound$zodSchema.optional(),
|
|
45536
|
+
rate_limit: RateLimit$zodSchema.optional()
|
|
44991
45537
|
});
|
|
44992
45538
|
});
|
|
44993
45539
|
|
|
44994
45540
|
// src/funcs/workspacesGetWorkspace.ts
|
|
44995
45541
|
function workspacesGetWorkspace(client$, request, options) {
|
|
44996
|
-
return new APIPromise($
|
|
45542
|
+
return new APIPromise($do18(client$, request, options));
|
|
44997
45543
|
}
|
|
44998
|
-
async function $
|
|
45544
|
+
async function $do18(client$, request, options) {
|
|
44999
45545
|
const parsed$ = safeParse(request, (value$) => GetWorkspaceRequest$zodSchema.parse(value$), "Input validation failed");
|
|
45000
45546
|
if (!parsed$.ok) {
|
|
45001
45547
|
return [parsed$, { status: "invalid" }];
|
|
@@ -45008,7 +45554,7 @@ async function $do17(client$, request, options) {
|
|
|
45008
45554
|
charEncoding: "percent"
|
|
45009
45555
|
})
|
|
45010
45556
|
};
|
|
45011
|
-
const path$ = pathToFunc("/
|
|
45557
|
+
const path$ = pathToFunc("/workspaces/{id}")(pathParams$);
|
|
45012
45558
|
const headers$ = new Headers(compactMap({
|
|
45013
45559
|
Accept: "application/json",
|
|
45014
45560
|
"x-client-id": encodeSimple("x-client-id", payload$.xClientId, {
|
|
@@ -45061,13 +45607,11 @@ async function $do17(client$, request, options) {
|
|
|
45061
45607
|
const responseFields$ = {
|
|
45062
45608
|
HttpMeta: { Response: response, Request: req$ }
|
|
45063
45609
|
};
|
|
45064
|
-
const [result$] = await match(json(200, GetWorkspaceResponse$zodSchema, { key: "Workspace" }), json(
|
|
45065
|
-
key: "
|
|
45066
|
-
}), json(422, GetWorkspaceResponse$zodSchema, {
|
|
45610
|
+
const [result$] = await match(json(200, GetWorkspaceResponse$zodSchema, { key: "Workspace" }), json(400, GetWorkspaceResponse$zodSchema, { key: "bad_request" }), json(401, GetWorkspaceResponse$zodSchema, { key: "auth_error" }), json(403, GetWorkspaceResponse$zodSchema, {
|
|
45611
|
+
key: "403_application/json_object"
|
|
45612
|
+
}), json(404, GetWorkspaceResponse$zodSchema, { key: "not_found" }), json(422, GetWorkspaceResponse$zodSchema, {
|
|
45067
45613
|
key: "422_application/json_object"
|
|
45068
|
-
}), json(429, GetWorkspaceResponse$zodSchema, {
|
|
45069
|
-
key: "429_application/json_object"
|
|
45070
|
-
}))(response, req$, { extraFields: responseFields$ });
|
|
45614
|
+
}), json(429, GetWorkspaceResponse$zodSchema, { key: "rate_limit" }), nil(500, GetWorkspaceResponse$zodSchema))(response, req$, { extraFields: responseFields$ });
|
|
45071
45615
|
return [result$, { status: "complete", request: req$, response }];
|
|
45072
45616
|
}
|
|
45073
45617
|
var init_workspacesGetWorkspace = __esm(() => {
|
|
@@ -45082,12 +45626,12 @@ var init_workspacesGetWorkspace = __esm(() => {
|
|
|
45082
45626
|
});
|
|
45083
45627
|
|
|
45084
45628
|
// src/mcp-server/tools/workspacesGetWorkspace.ts
|
|
45085
|
-
var
|
|
45629
|
+
var args15, tool$workspacesGetWorkspace;
|
|
45086
45630
|
var init_workspacesGetWorkspace2 = __esm(() => {
|
|
45087
45631
|
init_workspacesGetWorkspace();
|
|
45088
45632
|
init_getworkspaceop();
|
|
45089
45633
|
init_tools();
|
|
45090
|
-
|
|
45634
|
+
args15 = {
|
|
45091
45635
|
request: GetWorkspaceRequest$zodSchema
|
|
45092
45636
|
};
|
|
45093
45637
|
tool$workspacesGetWorkspace = {
|
|
@@ -45095,9 +45639,9 @@ var init_workspacesGetWorkspace2 = __esm(() => {
|
|
|
45095
45639
|
description: `Get a workspace
|
|
45096
45640
|
|
|
45097
45641
|
Returns a single workspace object by ID.`,
|
|
45098
|
-
args:
|
|
45099
|
-
tool: async (client,
|
|
45100
|
-
const [result, apiCall] = await workspacesGetWorkspace(client,
|
|
45642
|
+
args: args15,
|
|
45643
|
+
tool: async (client, args16, ctx) => {
|
|
45644
|
+
const [result, apiCall] = await workspacesGetWorkspace(client, args16.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
45101
45645
|
if (!result.ok) {
|
|
45102
45646
|
return {
|
|
45103
45647
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -45110,20 +45654,31 @@ Returns a single workspace object by ID.`,
|
|
|
45110
45654
|
};
|
|
45111
45655
|
});
|
|
45112
45656
|
|
|
45113
|
-
// src/models/
|
|
45114
|
-
var
|
|
45115
|
-
var
|
|
45657
|
+
// src/models/paginatedworkspaces.ts
|
|
45658
|
+
var PaginatedWorkspaces$zodSchema;
|
|
45659
|
+
var init_paginatedworkspaces = __esm(() => {
|
|
45116
45660
|
init_zod();
|
|
45117
45661
|
init_pagination();
|
|
45118
45662
|
init_workspace();
|
|
45663
|
+
PaginatedWorkspaces$zodSchema = objectType({
|
|
45664
|
+
data: arrayType(Workspace$zodSchema),
|
|
45665
|
+
pagination: Pagination$zodSchema
|
|
45666
|
+
});
|
|
45667
|
+
});
|
|
45668
|
+
|
|
45669
|
+
// src/models/listworkspacesop.ts
|
|
45670
|
+
var ListWorkspacesRequest$zodSchema, ListWorkspacesPath$zodSchema, ListWorkspacesIssue$zodSchema, ListWorkspacesError$zodSchema, ListWorkspacesUnprocessableEntityResponseBody$zodSchema, ListWorkspacesType$zodSchema, ListWorkspacesCode$zodSchema, ListWorkspacesForbiddenResponseBody$zodSchema, ListWorkspacesResponse$zodSchema;
|
|
45671
|
+
var init_listworkspacesop = __esm(() => {
|
|
45672
|
+
init_zod();
|
|
45673
|
+
init_autherror();
|
|
45674
|
+
init_badrequest();
|
|
45675
|
+
init_paginatedworkspaces();
|
|
45676
|
+
init_ratelimit();
|
|
45119
45677
|
ListWorkspacesRequest$zodSchema = objectType({
|
|
45120
45678
|
cursor: stringType().optional(),
|
|
45121
45679
|
limit: numberType().default(20),
|
|
45122
45680
|
xClientId: stringType()
|
|
45123
45681
|
});
|
|
45124
|
-
ListWorkspacesTooManyRequestsResponseBody$zodSchema = objectType({
|
|
45125
|
-
message: stringType()
|
|
45126
|
-
}).describe("Rate limit exceeded. Slow down requests or retry after the time specified in the rate limit response headers");
|
|
45127
45682
|
ListWorkspacesPath$zodSchema = unionType([
|
|
45128
45683
|
stringType(),
|
|
45129
45684
|
numberType()
|
|
@@ -45144,32 +45699,43 @@ var init_listworkspacesop = __esm(() => {
|
|
|
45144
45699
|
error: lazyType(() => ListWorkspacesError$zodSchema),
|
|
45145
45700
|
success: booleanType()
|
|
45146
45701
|
}).describe("The validation error(s)");
|
|
45147
|
-
|
|
45148
|
-
|
|
45149
|
-
|
|
45150
|
-
|
|
45702
|
+
ListWorkspacesType$zodSchema = enumType([
|
|
45703
|
+
"auth_error"
|
|
45704
|
+
]);
|
|
45705
|
+
ListWorkspacesCode$zodSchema = enumType([
|
|
45706
|
+
"missing_scope"
|
|
45707
|
+
]);
|
|
45708
|
+
ListWorkspacesForbiddenResponseBody$zodSchema = objectType({
|
|
45709
|
+
code: ListWorkspacesCode$zodSchema,
|
|
45710
|
+
message: stringType(),
|
|
45711
|
+
status_code: numberType(),
|
|
45712
|
+
type: ListWorkspacesType$zodSchema
|
|
45713
|
+
}).describe("Missing scope");
|
|
45151
45714
|
ListWorkspacesResponse$zodSchema = objectType({
|
|
45152
45715
|
ContentType: stringType(),
|
|
45716
|
+
PaginatedWorkspaces: PaginatedWorkspaces$zodSchema.optional(),
|
|
45153
45717
|
RawResponse: instanceOfType(Response),
|
|
45154
45718
|
StatusCode: numberType().int(),
|
|
45155
|
-
|
|
45719
|
+
auth_error: AuthError$zodSchema.optional(),
|
|
45720
|
+
bad_request: BadRequest$zodSchema.optional(),
|
|
45721
|
+
fourHundredAndThreeApplicationJsonObject: lazyType(() => ListWorkspacesForbiddenResponseBody$zodSchema).optional(),
|
|
45156
45722
|
fourHundredAndTwentyTwoApplicationJsonObject: lazyType(() => ListWorkspacesUnprocessableEntityResponseBody$zodSchema).optional(),
|
|
45157
|
-
|
|
45723
|
+
rate_limit: RateLimit$zodSchema.optional()
|
|
45158
45724
|
});
|
|
45159
45725
|
});
|
|
45160
45726
|
|
|
45161
45727
|
// src/funcs/workspacesListWorkspaces.ts
|
|
45162
45728
|
function workspacesListWorkspaces(client$, request, options) {
|
|
45163
|
-
return new APIPromise($
|
|
45729
|
+
return new APIPromise($do19(client$, request, options));
|
|
45164
45730
|
}
|
|
45165
|
-
async function $
|
|
45731
|
+
async function $do19(client$, request, options) {
|
|
45166
45732
|
const parsed$ = safeParse(request, (value$) => ListWorkspacesRequest$zodSchema.parse(value$), "Input validation failed");
|
|
45167
45733
|
if (!parsed$.ok) {
|
|
45168
45734
|
return [parsed$, { status: "invalid" }];
|
|
45169
45735
|
}
|
|
45170
45736
|
const payload$ = parsed$.value;
|
|
45171
45737
|
const body$ = null;
|
|
45172
|
-
const path$ = pathToFunc("/
|
|
45738
|
+
const path$ = pathToFunc("/workspaces")();
|
|
45173
45739
|
const query$ = encodeFormQuery({
|
|
45174
45740
|
cursor: payload$.cursor,
|
|
45175
45741
|
limit: payload$.limit
|
|
@@ -45228,12 +45794,12 @@ async function $do18(client$, request, options) {
|
|
|
45228
45794
|
HttpMeta: { Response: response, Request: req$ }
|
|
45229
45795
|
};
|
|
45230
45796
|
const [result$] = await match(json(200, ListWorkspacesResponse$zodSchema, {
|
|
45231
|
-
key: "
|
|
45797
|
+
key: "PaginatedWorkspaces"
|
|
45798
|
+
}), json(400, ListWorkspacesResponse$zodSchema, { key: "bad_request" }), json(401, ListWorkspacesResponse$zodSchema, { key: "auth_error" }), json(403, ListWorkspacesResponse$zodSchema, {
|
|
45799
|
+
key: "403_application/json_object"
|
|
45232
45800
|
}), json(422, ListWorkspacesResponse$zodSchema, {
|
|
45233
45801
|
key: "422_application/json_object"
|
|
45234
|
-
}), json(429, ListWorkspacesResponse$zodSchema, {
|
|
45235
|
-
key: "429_application/json_object"
|
|
45236
|
-
}))(response, req$, { extraFields: responseFields$ });
|
|
45802
|
+
}), json(429, ListWorkspacesResponse$zodSchema, { key: "rate_limit" }), nil(500, ListWorkspacesResponse$zodSchema))(response, req$, { extraFields: responseFields$ });
|
|
45237
45803
|
return [result$, { status: "complete", request: req$, response }];
|
|
45238
45804
|
}
|
|
45239
45805
|
var init_workspacesListWorkspaces = __esm(() => {
|
|
@@ -45248,12 +45814,12 @@ var init_workspacesListWorkspaces = __esm(() => {
|
|
|
45248
45814
|
});
|
|
45249
45815
|
|
|
45250
45816
|
// src/mcp-server/tools/workspacesListWorkspaces.ts
|
|
45251
|
-
var
|
|
45817
|
+
var args16, tool$workspacesListWorkspaces;
|
|
45252
45818
|
var init_workspacesListWorkspaces2 = __esm(() => {
|
|
45253
45819
|
init_workspacesListWorkspaces();
|
|
45254
45820
|
init_listworkspacesop();
|
|
45255
45821
|
init_tools();
|
|
45256
|
-
|
|
45822
|
+
args16 = {
|
|
45257
45823
|
request: ListWorkspacesRequest$zodSchema
|
|
45258
45824
|
};
|
|
45259
45825
|
tool$workspacesListWorkspaces = {
|
|
@@ -45261,9 +45827,9 @@ var init_workspacesListWorkspaces2 = __esm(() => {
|
|
|
45261
45827
|
description: `List workspaces
|
|
45262
45828
|
|
|
45263
45829
|
Returns a paginated list of workspaces.`,
|
|
45264
|
-
args:
|
|
45265
|
-
tool: async (client,
|
|
45266
|
-
const [result, apiCall] = await workspacesListWorkspaces(client,
|
|
45830
|
+
args: args16,
|
|
45831
|
+
tool: async (client, args17, ctx) => {
|
|
45832
|
+
const [result, apiCall] = await workspacesListWorkspaces(client, args17.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
45267
45833
|
if (!result.ok) {
|
|
45268
45834
|
return {
|
|
45269
45835
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -45280,16 +45846,16 @@ Returns a paginated list of workspaces.`,
|
|
|
45280
45846
|
function createMCPServer(deps) {
|
|
45281
45847
|
const server = new McpServer({
|
|
45282
45848
|
name: "Steuerboard",
|
|
45283
|
-
version: "0.
|
|
45849
|
+
version: "0.1.2"
|
|
45284
45850
|
});
|
|
45285
45851
|
const getClient = deps.getSDK || (() => new SteuerboardCore({
|
|
45286
45852
|
security: deps.security,
|
|
45287
45853
|
serverURL: deps.serverURL,
|
|
45288
45854
|
serverIdx: deps.serverIdx,
|
|
45289
45855
|
debugLogger: deps.logger.level === "debug" ? {
|
|
45290
|
-
log: (...
|
|
45291
|
-
group: (...
|
|
45292
|
-
groupEnd: (...
|
|
45856
|
+
log: (...args17) => console.log(...args17),
|
|
45857
|
+
group: (...args17) => console.group(...args17),
|
|
45858
|
+
groupEnd: (...args17) => console.groupEnd(...args17)
|
|
45293
45859
|
} : undefined
|
|
45294
45860
|
}));
|
|
45295
45861
|
const scopes = new Set(deps.scopes);
|
|
@@ -45299,13 +45865,14 @@ function createMCPServer(deps) {
|
|
|
45299
45865
|
const resourceTemplate = createRegisterResourceTemplate(deps.logger, server, getClient, scopes);
|
|
45300
45866
|
const prompt = createRegisterPrompt(deps.logger, server, getClient, scopes);
|
|
45301
45867
|
const register = { tool, resource, resourceTemplate, prompt };
|
|
45302
|
-
tool(tool$
|
|
45303
|
-
tool(tool$
|
|
45304
|
-
tool(tool$
|
|
45868
|
+
tool(tool$healthIndex);
|
|
45869
|
+
tool(tool$healthPing);
|
|
45870
|
+
tool(tool$authMe);
|
|
45305
45871
|
tool(tool$adminClientsListClients);
|
|
45306
45872
|
tool(tool$adminClientsCreateClient);
|
|
45307
45873
|
tool(tool$adminClientsGetClient);
|
|
45308
45874
|
tool(tool$workspacesListWorkspaces);
|
|
45875
|
+
tool(tool$workspacesCreateWorkspace);
|
|
45309
45876
|
tool(tool$workspacesGetWorkspace);
|
|
45310
45877
|
tool(tool$filesListFiles);
|
|
45311
45878
|
tool(tool$filesCreateFile);
|
|
@@ -45327,19 +45894,20 @@ var init_server2 = __esm(() => {
|
|
|
45327
45894
|
init_adminClientsCreateClient2();
|
|
45328
45895
|
init_adminClientsGetClient2();
|
|
45329
45896
|
init_adminClientsListClients2();
|
|
45330
|
-
|
|
45897
|
+
init_authMe2();
|
|
45331
45898
|
init_filesCreateFile2();
|
|
45332
45899
|
init_filesDeleteFile2();
|
|
45333
45900
|
init_filesGetFile2();
|
|
45334
45901
|
init_filesListFiles2();
|
|
45335
45902
|
init_filesUpdateFile2();
|
|
45336
|
-
|
|
45337
|
-
|
|
45903
|
+
init_healthIndex2();
|
|
45904
|
+
init_healthPing2();
|
|
45338
45905
|
init_tasksCreateTask2();
|
|
45339
45906
|
init_tasksDeleteTask2();
|
|
45340
45907
|
init_tasksGetTask2();
|
|
45341
45908
|
init_tasksListTasks2();
|
|
45342
45909
|
init_tasksUpdateTask2();
|
|
45910
|
+
init_workspacesCreateWorkspace2();
|
|
45343
45911
|
init_workspacesGetWorkspace2();
|
|
45344
45912
|
init_workspacesListWorkspaces2();
|
|
45345
45913
|
});
|
|
@@ -46537,7 +47105,7 @@ var routes = ln({
|
|
|
46537
47105
|
var app = _e(routes, {
|
|
46538
47106
|
name: "mcp",
|
|
46539
47107
|
versionInfo: {
|
|
46540
|
-
currentVersion: "0.
|
|
47108
|
+
currentVersion: "0.1.2"
|
|
46541
47109
|
}
|
|
46542
47110
|
});
|
|
46543
47111
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -46545,5 +47113,5 @@ export {
|
|
|
46545
47113
|
app
|
|
46546
47114
|
};
|
|
46547
47115
|
|
|
46548
|
-
//# debugId=
|
|
47116
|
+
//# debugId=C38145541C9F872864756E2164756E21
|
|
46549
47117
|
//# sourceMappingURL=mcp-server.js.map
|