@keystrokehq/ragie 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/create-document-from-url.cjs +34 -0
- package/dist/actions/create-document-from-url.cjs.map +1 -0
- package/dist/actions/create-document-from-url.d.cts +9 -0
- package/dist/actions/create-document-from-url.d.cts.map +1 -0
- package/dist/actions/create-document-from-url.d.mts +9 -0
- package/dist/actions/create-document-from-url.d.mts.map +1 -0
- package/dist/actions/create-document-from-url.mjs +31 -0
- package/dist/actions/create-document-from-url.mjs.map +1 -0
- package/dist/actions/create-document-raw.cjs +33 -0
- package/dist/actions/create-document-raw.cjs.map +1 -0
- package/dist/actions/create-document-raw.d.cts +9 -0
- package/dist/actions/create-document-raw.d.cts.map +1 -0
- package/dist/actions/create-document-raw.d.mts +9 -0
- package/dist/actions/create-document-raw.d.mts.map +1 -0
- package/dist/actions/create-document-raw.mjs +30 -0
- package/dist/actions/create-document-raw.mjs.map +1 -0
- package/dist/actions/create-document.cjs +41 -0
- package/dist/actions/create-document.cjs.map +1 -0
- package/dist/actions/create-document.d.cts +9 -0
- package/dist/actions/create-document.d.cts.map +1 -0
- package/dist/actions/create-document.d.mts +9 -0
- package/dist/actions/create-document.d.mts.map +1 -0
- package/dist/actions/create-document.mjs +38 -0
- package/dist/actions/create-document.mjs.map +1 -0
- package/dist/actions/create-instruction.cjs +35 -0
- package/dist/actions/create-instruction.cjs.map +1 -0
- package/dist/actions/create-instruction.d.cts +9 -0
- package/dist/actions/create-instruction.d.cts.map +1 -0
- package/dist/actions/create-instruction.d.mts +9 -0
- package/dist/actions/create-instruction.d.mts.map +1 -0
- package/dist/actions/create-instruction.mjs +32 -0
- package/dist/actions/create-instruction.mjs.map +1 -0
- package/dist/actions/create-oauth-redirect-url.cjs +26 -0
- package/dist/actions/create-oauth-redirect-url.cjs.map +1 -0
- package/dist/actions/create-oauth-redirect-url.d.cts +9 -0
- package/dist/actions/create-oauth-redirect-url.d.cts.map +1 -0
- package/dist/actions/create-oauth-redirect-url.d.mts +9 -0
- package/dist/actions/create-oauth-redirect-url.d.mts.map +1 -0
- package/dist/actions/create-oauth-redirect-url.mjs +23 -0
- package/dist/actions/create-oauth-redirect-url.mjs.map +1 -0
- package/dist/actions/create-partition-partitions-post.cjs +68 -0
- package/dist/actions/create-partition-partitions-post.cjs.map +1 -0
- package/dist/actions/create-partition-partitions-post.d.cts +9 -0
- package/dist/actions/create-partition-partitions-post.d.cts.map +1 -0
- package/dist/actions/create-partition-partitions-post.d.mts +9 -0
- package/dist/actions/create-partition-partitions-post.d.mts.map +1 -0
- package/dist/actions/create-partition-partitions-post.mjs +67 -0
- package/dist/actions/create-partition-partitions-post.mjs.map +1 -0
- package/dist/actions/delete-document.cjs +20 -0
- package/dist/actions/delete-document.cjs.map +1 -0
- package/dist/actions/delete-document.d.cts +9 -0
- package/dist/actions/delete-document.d.cts.map +1 -0
- package/dist/actions/delete-document.d.mts +9 -0
- package/dist/actions/delete-document.d.mts.map +1 -0
- package/dist/actions/delete-document.mjs +17 -0
- package/dist/actions/delete-document.mjs.map +1 -0
- package/dist/actions/delete-instruction.cjs +16 -0
- package/dist/actions/delete-instruction.cjs.map +1 -0
- package/dist/actions/delete-instruction.d.cts +9 -0
- package/dist/actions/delete-instruction.d.cts.map +1 -0
- package/dist/actions/delete-instruction.d.mts +9 -0
- package/dist/actions/delete-instruction.d.mts.map +1 -0
- package/dist/actions/delete-instruction.mjs +13 -0
- package/dist/actions/delete-instruction.mjs.map +1 -0
- package/dist/actions/delete-partition.cjs +19 -0
- package/dist/actions/delete-partition.cjs.map +1 -0
- package/dist/actions/delete-partition.d.cts +9 -0
- package/dist/actions/delete-partition.d.cts.map +1 -0
- package/dist/actions/delete-partition.d.mts +9 -0
- package/dist/actions/delete-partition.d.mts.map +1 -0
- package/dist/actions/delete-partition.mjs +16 -0
- package/dist/actions/delete-partition.mjs.map +1 -0
- package/dist/actions/get-document-chunk-content.cjs +37 -0
- package/dist/actions/get-document-chunk-content.cjs.map +1 -0
- package/dist/actions/get-document-chunk-content.d.cts +9 -0
- package/dist/actions/get-document-chunk-content.d.cts.map +1 -0
- package/dist/actions/get-document-chunk-content.d.mts +9 -0
- package/dist/actions/get-document-chunk-content.d.mts.map +1 -0
- package/dist/actions/get-document-chunk-content.mjs +34 -0
- package/dist/actions/get-document-chunk-content.mjs.map +1 -0
- package/dist/actions/get-document-chunk.cjs +29 -0
- package/dist/actions/get-document-chunk.cjs.map +1 -0
- package/dist/actions/get-document-chunk.d.cts +9 -0
- package/dist/actions/get-document-chunk.d.cts.map +1 -0
- package/dist/actions/get-document-chunk.d.mts +9 -0
- package/dist/actions/get-document-chunk.d.mts.map +1 -0
- package/dist/actions/get-document-chunk.mjs +28 -0
- package/dist/actions/get-document-chunk.mjs.map +1 -0
- package/dist/actions/get-document-chunks.cjs +37 -0
- package/dist/actions/get-document-chunks.cjs.map +1 -0
- package/dist/actions/get-document-chunks.d.cts +9 -0
- package/dist/actions/get-document-chunks.d.cts.map +1 -0
- package/dist/actions/get-document-chunks.d.mts +9 -0
- package/dist/actions/get-document-chunks.d.mts.map +1 -0
- package/dist/actions/get-document-chunks.mjs +36 -0
- package/dist/actions/get-document-chunks.mjs.map +1 -0
- package/dist/actions/get-document-content.cjs +34 -0
- package/dist/actions/get-document-content.cjs.map +1 -0
- package/dist/actions/get-document-content.d.cts +9 -0
- package/dist/actions/get-document-content.d.cts.map +1 -0
- package/dist/actions/get-document-content.d.mts +9 -0
- package/dist/actions/get-document-content.d.mts.map +1 -0
- package/dist/actions/get-document-content.mjs +31 -0
- package/dist/actions/get-document-content.mjs.map +1 -0
- package/dist/actions/get-document-summary.cjs +22 -0
- package/dist/actions/get-document-summary.cjs.map +1 -0
- package/dist/actions/get-document-summary.d.cts +9 -0
- package/dist/actions/get-document-summary.d.cts.map +1 -0
- package/dist/actions/get-document-summary.d.mts +9 -0
- package/dist/actions/get-document-summary.d.mts.map +1 -0
- package/dist/actions/get-document-summary.mjs +19 -0
- package/dist/actions/get-document-summary.mjs.map +1 -0
- package/dist/actions/get-document.cjs +31 -0
- package/dist/actions/get-document.cjs.map +1 -0
- package/dist/actions/get-document.d.cts +9 -0
- package/dist/actions/get-document.d.cts.map +1 -0
- package/dist/actions/get-document.d.mts +9 -0
- package/dist/actions/get-document.d.mts.map +1 -0
- package/dist/actions/get-document.mjs +28 -0
- package/dist/actions/get-document.mjs.map +1 -0
- package/dist/actions/get-partition.cjs +54 -0
- package/dist/actions/get-partition.cjs.map +1 -0
- package/dist/actions/get-partition.d.cts +9 -0
- package/dist/actions/get-partition.d.cts.map +1 -0
- package/dist/actions/get-partition.d.mts +9 -0
- package/dist/actions/get-partition.d.mts.map +1 -0
- package/dist/actions/get-partition.mjs +53 -0
- package/dist/actions/get-partition.mjs.map +1 -0
- package/dist/actions/get-response.cjs +79 -0
- package/dist/actions/get-response.cjs.map +1 -0
- package/dist/actions/get-response.d.cts +9 -0
- package/dist/actions/get-response.d.cts.map +1 -0
- package/dist/actions/get-response.d.mts +9 -0
- package/dist/actions/get-response.d.mts.map +1 -0
- package/dist/actions/get-response.mjs +78 -0
- package/dist/actions/get-response.mjs.map +1 -0
- package/dist/actions/index.cjs +63 -0
- package/dist/actions/index.d.cts +32 -0
- package/dist/actions/index.d.mts +32 -0
- package/dist/actions/index.mjs +32 -0
- package/dist/actions/list-connection-source-types.cjs +22 -0
- package/dist/actions/list-connection-source-types.cjs.map +1 -0
- package/dist/actions/list-connection-source-types.d.cts +9 -0
- package/dist/actions/list-connection-source-types.d.cts.map +1 -0
- package/dist/actions/list-connection-source-types.d.mts +9 -0
- package/dist/actions/list-connection-source-types.d.mts.map +1 -0
- package/dist/actions/list-connection-source-types.mjs +21 -0
- package/dist/actions/list-connection-source-types.mjs.map +1 -0
- package/dist/actions/list-connections-connections-get.cjs +41 -0
- package/dist/actions/list-connections-connections-get.cjs.map +1 -0
- package/dist/actions/list-connections-connections-get.d.cts +9 -0
- package/dist/actions/list-connections-connections-get.d.cts.map +1 -0
- package/dist/actions/list-connections-connections-get.d.mts +9 -0
- package/dist/actions/list-connections-connections-get.d.mts.map +1 -0
- package/dist/actions/list-connections-connections-get.mjs +40 -0
- package/dist/actions/list-connections-connections-get.mjs.map +1 -0
- package/dist/actions/list-documents.cjs +40 -0
- package/dist/actions/list-documents.cjs.map +1 -0
- package/dist/actions/list-documents.d.cts +9 -0
- package/dist/actions/list-documents.d.cts.map +1 -0
- package/dist/actions/list-documents.d.mts +9 -0
- package/dist/actions/list-documents.d.mts.map +1 -0
- package/dist/actions/list-documents.mjs +39 -0
- package/dist/actions/list-documents.mjs.map +1 -0
- package/dist/actions/list-entities-by-document.cjs +37 -0
- package/dist/actions/list-entities-by-document.cjs.map +1 -0
- package/dist/actions/list-entities-by-document.d.cts +9 -0
- package/dist/actions/list-entities-by-document.d.cts.map +1 -0
- package/dist/actions/list-entities-by-document.d.mts +9 -0
- package/dist/actions/list-entities-by-document.d.mts.map +1 -0
- package/dist/actions/list-entities-by-document.mjs +36 -0
- package/dist/actions/list-entities-by-document.mjs.map +1 -0
- package/dist/actions/list-entities-by-instruction.cjs +37 -0
- package/dist/actions/list-entities-by-instruction.cjs.map +1 -0
- package/dist/actions/list-entities-by-instruction.d.cts +9 -0
- package/dist/actions/list-entities-by-instruction.d.cts.map +1 -0
- package/dist/actions/list-entities-by-instruction.d.mts +9 -0
- package/dist/actions/list-entities-by-instruction.d.mts.map +1 -0
- package/dist/actions/list-entities-by-instruction.mjs +36 -0
- package/dist/actions/list-entities-by-instruction.mjs.map +1 -0
- package/dist/actions/list-instructions.cjs +28 -0
- package/dist/actions/list-instructions.cjs.map +1 -0
- package/dist/actions/list-instructions.d.cts +9 -0
- package/dist/actions/list-instructions.d.cts.map +1 -0
- package/dist/actions/list-instructions.d.mts +9 -0
- package/dist/actions/list-instructions.d.mts.map +1 -0
- package/dist/actions/list-instructions.mjs +27 -0
- package/dist/actions/list-instructions.mjs.map +1 -0
- package/dist/actions/list-partitions.cjs +49 -0
- package/dist/actions/list-partitions.cjs.map +1 -0
- package/dist/actions/list-partitions.d.cts +9 -0
- package/dist/actions/list-partitions.d.cts.map +1 -0
- package/dist/actions/list-partitions.d.mts +9 -0
- package/dist/actions/list-partitions.d.mts.map +1 -0
- package/dist/actions/list-partitions.mjs +48 -0
- package/dist/actions/list-partitions.mjs.map +1 -0
- package/dist/actions/patch-document-metadata.cjs +24 -0
- package/dist/actions/patch-document-metadata.cjs.map +1 -0
- package/dist/actions/patch-document-metadata.d.cts +9 -0
- package/dist/actions/patch-document-metadata.d.cts.map +1 -0
- package/dist/actions/patch-document-metadata.d.mts +9 -0
- package/dist/actions/patch-document-metadata.d.mts.map +1 -0
- package/dist/actions/patch-document-metadata.mjs +21 -0
- package/dist/actions/patch-document-metadata.mjs.map +1 -0
- package/dist/actions/retrieve.cjs +35 -0
- package/dist/actions/retrieve.cjs.map +1 -0
- package/dist/actions/retrieve.d.cts +9 -0
- package/dist/actions/retrieve.d.cts.map +1 -0
- package/dist/actions/retrieve.d.mts +9 -0
- package/dist/actions/retrieve.d.mts.map +1 -0
- package/dist/actions/retrieve.mjs +34 -0
- package/dist/actions/retrieve.mjs.map +1 -0
- package/dist/actions/set-partition-limits.cjs +62 -0
- package/dist/actions/set-partition-limits.cjs.map +1 -0
- package/dist/actions/set-partition-limits.d.cts +9 -0
- package/dist/actions/set-partition-limits.d.cts.map +1 -0
- package/dist/actions/set-partition-limits.d.mts +9 -0
- package/dist/actions/set-partition-limits.d.mts.map +1 -0
- package/dist/actions/set-partition-limits.mjs +61 -0
- package/dist/actions/set-partition-limits.mjs.map +1 -0
- package/dist/actions/update-document-from-url.cjs +21 -0
- package/dist/actions/update-document-from-url.cjs.map +1 -0
- package/dist/actions/update-document-from-url.d.cts +9 -0
- package/dist/actions/update-document-from-url.d.cts.map +1 -0
- package/dist/actions/update-document-from-url.d.mts +9 -0
- package/dist/actions/update-document-from-url.d.mts.map +1 -0
- package/dist/actions/update-document-from-url.mjs +18 -0
- package/dist/actions/update-document-from-url.mjs.map +1 -0
- package/dist/actions/update-document-raw.cjs +19 -0
- package/dist/actions/update-document-raw.cjs.map +1 -0
- package/dist/actions/update-document-raw.d.cts +9 -0
- package/dist/actions/update-document-raw.d.cts.map +1 -0
- package/dist/actions/update-document-raw.d.mts +9 -0
- package/dist/actions/update-document-raw.d.mts.map +1 -0
- package/dist/actions/update-document-raw.mjs +16 -0
- package/dist/actions/update-document-raw.mjs.map +1 -0
- package/dist/actions/update-instruction.cjs +31 -0
- package/dist/actions/update-instruction.cjs.map +1 -0
- package/dist/actions/update-instruction.d.cts +9 -0
- package/dist/actions/update-instruction.d.cts.map +1 -0
- package/dist/actions/update-instruction.d.mts +9 -0
- package/dist/actions/update-instruction.d.mts.map +1 -0
- package/dist/actions/update-instruction.mjs +30 -0
- package/dist/actions/update-instruction.mjs.map +1 -0
- package/dist/actions/update-partition.cjs +59 -0
- package/dist/actions/update-partition.cjs.map +1 -0
- package/dist/actions/update-partition.d.cts +9 -0
- package/dist/actions/update-partition.d.cts.map +1 -0
- package/dist/actions/update-partition.d.mts +9 -0
- package/dist/actions/update-partition.d.mts.map +1 -0
- package/dist/actions/update-partition.mjs +58 -0
- package/dist/actions/update-partition.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +68 -0
- package/dist/index.d.cts +34 -0
- package/dist/index.d.mts +34 -0
- package/dist/index.mjs +35 -0
- package/package.json +49 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/create-oauth-redirect-url.ts
|
|
4
|
+
const RagieCreateOauthRedirectUrlInput = zod.z.object({
|
|
5
|
+
mode: zod.z.string().describe("Processing strategy (hi_res/fast for text, true/false for audio, audio_only/video_only/audio_video for video).").optional(),
|
|
6
|
+
theme: zod.z.string().describe("UI theme preference: 'light', 'dark', or 'system'; defaults to 'system'.").optional(),
|
|
7
|
+
config: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Optional connector-specific configuration.").optional(),
|
|
8
|
+
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Document metadata with string/number/boolean/array values; max 1000 total values.").optional(),
|
|
9
|
+
partition: zod.z.string().describe("Optional partition identifier to scope the connection.").optional(),
|
|
10
|
+
page_limit: zod.z.number().int().describe("Maximum pages to sync; connection disables when limit reached.").optional(),
|
|
11
|
+
source_type: zod.z.string().describe("Connector type (e.g., google_drive, notion, hubspot); defaults to 'google_drive'.").optional(),
|
|
12
|
+
redirect_uri: zod.z.string().describe("The URI where users return after OAuth authentication."),
|
|
13
|
+
authenticator_id: zod.z.string().describe("Optional authenticator ID for white-labeled credentials (UUID format).").optional()
|
|
14
|
+
}).describe("Request model for creating an OAuth redirect URL for embedded connector flows.");
|
|
15
|
+
const RagieCreateOauthRedirectUrlOutput = zod.z.object({ url: zod.z.string().describe("The redirect URL for OAuth initialization where the user should be redirected to complete the OAuth flow.") }).describe("Response model for OAuth redirect URL creation.");
|
|
16
|
+
const ragieCreateOauthRedirectUrl = require_action.action("RAGIE_CREATE_OAUTH_REDIRECT_URL", {
|
|
17
|
+
slug: "ragie-create-oauth-redirect-url",
|
|
18
|
+
name: "Create OAuth Redirect URL",
|
|
19
|
+
description: "Tool to create an OAuth redirect URL for initializing embedded connector OAuth flows. Use when you need to set up OAuth authentication for connectors like Google Drive, Notion, or HubSpot.",
|
|
20
|
+
input: RagieCreateOauthRedirectUrlInput,
|
|
21
|
+
output: RagieCreateOauthRedirectUrlOutput
|
|
22
|
+
});
|
|
23
|
+
//#endregion
|
|
24
|
+
exports.ragieCreateOauthRedirectUrl = ragieCreateOauthRedirectUrl;
|
|
25
|
+
|
|
26
|
+
//# sourceMappingURL=create-oauth-redirect-url.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-oauth-redirect-url.cjs","names":["z","action"],"sources":["../../src/actions/create-oauth-redirect-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieCreateOauthRedirectUrlInput: z.ZodTypeAny = z.object({\n mode: z.string().describe(\"Processing strategy (hi_res/fast for text, true/false for audio, audio_only/video_only/audio_video for video).\").optional(),\n theme: z.string().describe(\"UI theme preference: 'light', 'dark', or 'system'; defaults to 'system'.\").optional(),\n config: z.record(z.string(), z.unknown()).describe(\"Optional connector-specific configuration.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Document metadata with string/number/boolean/array values; max 1000 total values.\").optional(),\n partition: z.string().describe(\"Optional partition identifier to scope the connection.\").optional(),\n page_limit: z.number().int().describe(\"Maximum pages to sync; connection disables when limit reached.\").optional(),\n source_type: z.string().describe(\"Connector type (e.g., google_drive, notion, hubspot); defaults to 'google_drive'.\").optional(),\n redirect_uri: z.string().describe(\"The URI where users return after OAuth authentication.\"),\n authenticator_id: z.string().describe(\"Optional authenticator ID for white-labeled credentials (UUID format).\").optional(),\n}).describe(\"Request model for creating an OAuth redirect URL for embedded connector flows.\");\nexport const RagieCreateOauthRedirectUrlOutput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The redirect URL for OAuth initialization where the user should be redirected to complete the OAuth flow.\"),\n}).describe(\"Response model for OAuth redirect URL creation.\");\n\nexport const ragieCreateOauthRedirectUrl = action(\"RAGIE_CREATE_OAUTH_REDIRECT_URL\", {\n slug: \"ragie-create-oauth-redirect-url\",\n name: \"Create OAuth Redirect URL\",\n description: \"Tool to create an OAuth redirect URL for initializing embedded connector OAuth flows. Use when you need to set up OAuth authentication for connectors like Google Drive, Notion, or HubSpot.\",\n input: RagieCreateOauthRedirectUrlInput,\n output: RagieCreateOauthRedirectUrlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CACrJ,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAChH,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC1G,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CACnJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAClG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACjH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC/H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CAC1F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC5F,MAAa,oCAAkDA,IAAAA,EAAE,OAAO,EACtE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,EACtI,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/create-oauth-redirect-url.d.ts
|
|
4
|
+
declare const RagieCreateOauthRedirectUrlInput: z.ZodTypeAny;
|
|
5
|
+
declare const RagieCreateOauthRedirectUrlOutput: z.ZodTypeAny;
|
|
6
|
+
declare const ragieCreateOauthRedirectUrl: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { ragieCreateOauthRedirectUrl };
|
|
9
|
+
//# sourceMappingURL=create-oauth-redirect-url.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-oauth-redirect-url.d.cts","names":[],"sources":["../../src/actions/create-oauth-redirect-url.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAU4C;AAAA,cAChF,iCAAA,EAAmC,CAAA,CAAE,UAEY;AAAA,cAEjD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/create-oauth-redirect-url.d.ts
|
|
4
|
+
declare const RagieCreateOauthRedirectUrlInput: z.ZodTypeAny;
|
|
5
|
+
declare const RagieCreateOauthRedirectUrlOutput: z.ZodTypeAny;
|
|
6
|
+
declare const ragieCreateOauthRedirectUrl: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { ragieCreateOauthRedirectUrl };
|
|
9
|
+
//# sourceMappingURL=create-oauth-redirect-url.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-oauth-redirect-url.d.mts","names":[],"sources":["../../src/actions/create-oauth-redirect-url.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAU4C;AAAA,cAChF,iCAAA,EAAmC,CAAA,CAAE,UAEY;AAAA,cAEjD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const ragieCreateOauthRedirectUrl = action("RAGIE_CREATE_OAUTH_REDIRECT_URL", {
|
|
4
|
+
slug: "ragie-create-oauth-redirect-url",
|
|
5
|
+
name: "Create OAuth Redirect URL",
|
|
6
|
+
description: "Tool to create an OAuth redirect URL for initializing embedded connector OAuth flows. Use when you need to set up OAuth authentication for connectors like Google Drive, Notion, or HubSpot.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
mode: z.string().describe("Processing strategy (hi_res/fast for text, true/false for audio, audio_only/video_only/audio_video for video).").optional(),
|
|
9
|
+
theme: z.string().describe("UI theme preference: 'light', 'dark', or 'system'; defaults to 'system'.").optional(),
|
|
10
|
+
config: z.record(z.string(), z.unknown()).describe("Optional connector-specific configuration.").optional(),
|
|
11
|
+
metadata: z.record(z.string(), z.unknown()).describe("Document metadata with string/number/boolean/array values; max 1000 total values.").optional(),
|
|
12
|
+
partition: z.string().describe("Optional partition identifier to scope the connection.").optional(),
|
|
13
|
+
page_limit: z.number().int().describe("Maximum pages to sync; connection disables when limit reached.").optional(),
|
|
14
|
+
source_type: z.string().describe("Connector type (e.g., google_drive, notion, hubspot); defaults to 'google_drive'.").optional(),
|
|
15
|
+
redirect_uri: z.string().describe("The URI where users return after OAuth authentication."),
|
|
16
|
+
authenticator_id: z.string().describe("Optional authenticator ID for white-labeled credentials (UUID format).").optional()
|
|
17
|
+
}).describe("Request model for creating an OAuth redirect URL for embedded connector flows."),
|
|
18
|
+
output: z.object({ url: z.string().describe("The redirect URL for OAuth initialization where the user should be redirected to complete the OAuth flow.") }).describe("Response model for OAuth redirect URL creation.")
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
export { ragieCreateOauthRedirectUrl };
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=create-oauth-redirect-url.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-oauth-redirect-url.mjs","names":[],"sources":["../../src/actions/create-oauth-redirect-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieCreateOauthRedirectUrlInput: z.ZodTypeAny = z.object({\n mode: z.string().describe(\"Processing strategy (hi_res/fast for text, true/false for audio, audio_only/video_only/audio_video for video).\").optional(),\n theme: z.string().describe(\"UI theme preference: 'light', 'dark', or 'system'; defaults to 'system'.\").optional(),\n config: z.record(z.string(), z.unknown()).describe(\"Optional connector-specific configuration.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Document metadata with string/number/boolean/array values; max 1000 total values.\").optional(),\n partition: z.string().describe(\"Optional partition identifier to scope the connection.\").optional(),\n page_limit: z.number().int().describe(\"Maximum pages to sync; connection disables when limit reached.\").optional(),\n source_type: z.string().describe(\"Connector type (e.g., google_drive, notion, hubspot); defaults to 'google_drive'.\").optional(),\n redirect_uri: z.string().describe(\"The URI where users return after OAuth authentication.\"),\n authenticator_id: z.string().describe(\"Optional authenticator ID for white-labeled credentials (UUID format).\").optional(),\n}).describe(\"Request model for creating an OAuth redirect URL for embedded connector flows.\");\nexport const RagieCreateOauthRedirectUrlOutput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The redirect URL for OAuth initialization where the user should be redirected to complete the OAuth flow.\"),\n}).describe(\"Response model for OAuth redirect URL creation.\");\n\nexport const ragieCreateOauthRedirectUrl = action(\"RAGIE_CREATE_OAUTH_REDIRECT_URL\", {\n slug: \"ragie-create-oauth-redirect-url\",\n name: \"Create OAuth Redirect URL\",\n description: \"Tool to create an OAuth redirect URL for initializing embedded connector OAuth flows. Use when you need to set up OAuth authentication for connectors like Google Drive, Notion, or HubSpot.\",\n input: RagieCreateOauthRedirectUrlInput,\n output: RagieCreateOauthRedirectUrlOutput,\n});\n"],"mappings":";;AAmBA,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnB4D,EAAE,OAAO;EACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;EACrJ,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EAChH,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC1G,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EACnJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EAClG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EACjH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EAC/H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;EAC1F,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC3H,CAAC,CAAC,CAAC,SAAS,gFASH;CACP,QAT6D,EAAE,OAAO,EACtE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,EACtI,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/create-partition-partitions-post.ts
|
|
4
|
+
const RagieCreatePartitionPartitionsPostInput = zod.z.object({
|
|
5
|
+
name: zod.z.string().describe("Identifier for the partition. This is a required field that uniquely identifies the partition."),
|
|
6
|
+
description: zod.z.string().describe("Overview text describing the partition's purpose or usage").optional(),
|
|
7
|
+
metadata_schema: zod.z.object({}).describe("Optional subset of document metadata defined as JSON Schema. Allows defining custom metadata structure for documents in this partition.").optional(),
|
|
8
|
+
media_hosted_limit_max: zod.z.number().int().describe("Maximum limit, in MBs, for media hosted").optional(),
|
|
9
|
+
pages_hosted_limit_max: zod.z.number().int().describe("Maximum limit, in pages, for hosted documents").optional(),
|
|
10
|
+
media_streamed_limit_max: zod.z.number().int().describe("Maximum limit, in MBs, for media streamed").optional(),
|
|
11
|
+
audio_processed_limit_max: zod.z.number().int().describe("Maximum limit, in minutes, for audio processing").optional(),
|
|
12
|
+
pages_processed_limit_max: zod.z.number().int().describe("Maximum limit, in pages, for processed documents").optional(),
|
|
13
|
+
video_processed_limit_max: zod.z.number().int().describe("Maximum limit, in minutes, for video processing").optional(),
|
|
14
|
+
media_hosted_limit_monthly: zod.z.number().int().describe("Monthly limit, in MBs, for media hosted").optional(),
|
|
15
|
+
pages_hosted_limit_monthly: zod.z.number().int().describe("Monthly limit of hosted pages added in the current month").optional(),
|
|
16
|
+
media_streamed_limit_monthly: zod.z.number().int().describe("Monthly limit, in MBs, for media streamed").optional(),
|
|
17
|
+
audio_processed_limit_monthly: zod.z.number().int().describe("Monthly limit, in minutes, for audio processing").optional(),
|
|
18
|
+
pages_processed_limit_monthly: zod.z.number().int().describe("Monthly limit, in pages, for processed documents").optional(),
|
|
19
|
+
video_processed_limit_monthly: zod.z.number().int().describe("Monthly limit, in minutes, for video processing").optional()
|
|
20
|
+
}).describe("Request schema for creating a new partition.");
|
|
21
|
+
const RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema = zod.z.object({
|
|
22
|
+
total: zod.z.number().int().describe("Total count").nullable().optional(),
|
|
23
|
+
monthly: zod.z.number().int().describe("Monthly count").nullable().optional()
|
|
24
|
+
}).describe("Statistics detail with monthly and total counts.");
|
|
25
|
+
const RagieCreatePartitionPartitionsPost_PartitionStatsSchema = zod.z.object({
|
|
26
|
+
documents: zod.z.number().int().describe("Number of documents").nullable().optional(),
|
|
27
|
+
media_hosted: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),
|
|
28
|
+
pages_hosted: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),
|
|
29
|
+
media_streamed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),
|
|
30
|
+
audio_processed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),
|
|
31
|
+
pages_processed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),
|
|
32
|
+
video_processed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional()
|
|
33
|
+
}).describe("Statistics for partition usage.");
|
|
34
|
+
const RagieCreatePartitionPartitionsPost_PartitionLimitsSchema = zod.z.object({
|
|
35
|
+
media_hosted_limit_max: zod.z.number().int().describe("Maximum limit, in MBs, for media hosted").nullable().optional(),
|
|
36
|
+
pages_hosted_limit_max: zod.z.number().int().describe("Maximum limit, in pages, for hosted documents").nullable().optional(),
|
|
37
|
+
media_streamed_limit_max: zod.z.number().int().describe("Maximum limit, in MBs, for media streamed").nullable().optional(),
|
|
38
|
+
audio_processed_limit_max: zod.z.number().int().describe("Maximum limit, in minutes, for audio processing").nullable().optional(),
|
|
39
|
+
pages_processed_limit_max: zod.z.number().int().describe("Maximum limit, in pages, for processed documents").nullable().optional(),
|
|
40
|
+
video_processed_limit_max: zod.z.number().int().describe("Maximum limit, in minutes, for video processing").nullable().optional(),
|
|
41
|
+
media_hosted_limit_monthly: zod.z.number().int().describe("Monthly limit, in MBs, for media hosted").nullable().optional(),
|
|
42
|
+
pages_hosted_limit_monthly: zod.z.number().int().describe("Monthly limit of hosted pages added in the current month").nullable().optional(),
|
|
43
|
+
media_streamed_limit_monthly: zod.z.number().int().describe("Monthly limit, in MBs, for media streamed").nullable().optional(),
|
|
44
|
+
audio_processed_limit_monthly: zod.z.number().int().describe("Monthly limit, in minutes, for audio processing").nullable().optional(),
|
|
45
|
+
pages_processed_limit_monthly: zod.z.number().int().describe("Monthly limit, in pages, for processed documents").nullable().optional(),
|
|
46
|
+
video_processed_limit_monthly: zod.z.number().int().describe("Monthly limit, in minutes, for video processing").nullable().optional()
|
|
47
|
+
}).describe("Limits for various partition resources.");
|
|
48
|
+
const RagieCreatePartitionPartitionsPostOutput = zod.z.object({
|
|
49
|
+
name: zod.z.string().describe("Partition identifier"),
|
|
50
|
+
stats: RagieCreatePartitionPartitionsPost_PartitionStatsSchema.nullable().optional(),
|
|
51
|
+
limits: RagieCreatePartitionPartitionsPost_PartitionLimitsSchema.nullable().optional(),
|
|
52
|
+
is_default: zod.z.boolean().describe("Whether this is the default partition"),
|
|
53
|
+
description: zod.z.string().describe("Partition description").nullable().optional(),
|
|
54
|
+
context_aware: zod.z.boolean().describe("Indicates if context-aware description is enabled"),
|
|
55
|
+
metadata_schema: zod.z.object({}).describe("Applied metadata schema as JSON Schema").nullable().optional(),
|
|
56
|
+
limit_exceeded_at: zod.z.string().describe("Timestamp when limit was exceeded").nullable().optional()
|
|
57
|
+
}).describe("Response schema for partition creation containing partition details.");
|
|
58
|
+
const ragieCreatePartitionPartitionsPost = require_action.action("RAGIE_CREATE_PARTITION_PARTITIONS_POST", {
|
|
59
|
+
slug: "ragie-create-partition-partitions-post",
|
|
60
|
+
name: "Create Partition",
|
|
61
|
+
description: "Tool to create a new partition for scoping documents and connections in Ragie. Use when you need to organize documents and set resource limits for different workspaces or tenants.",
|
|
62
|
+
input: RagieCreatePartitionPartitionsPostInput,
|
|
63
|
+
output: RagieCreatePartitionPartitionsPostOutput
|
|
64
|
+
});
|
|
65
|
+
//#endregion
|
|
66
|
+
exports.ragieCreatePartitionPartitionsPost = ragieCreatePartitionPartitionsPost;
|
|
67
|
+
|
|
68
|
+
//# sourceMappingURL=create-partition-partitions-post.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-partition-partitions-post.cjs","names":["z","action"],"sources":["../../src/actions/create-partition-partitions-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieCreatePartitionPartitionsPostInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Identifier for the partition. This is a required field that uniquely identifies the partition.\"),\n description: z.string().describe(\"Overview text describing the partition's purpose or usage\").optional(),\n metadata_schema: z.object({}).describe(\"Optional subset of document metadata defined as JSON Schema. Allows defining custom metadata structure for documents in this partition.\").optional(),\n media_hosted_limit_max: z.number().int().describe(\"Maximum limit, in MBs, for media hosted\").optional(),\n pages_hosted_limit_max: z.number().int().describe(\"Maximum limit, in pages, for hosted documents\").optional(),\n media_streamed_limit_max: z.number().int().describe(\"Maximum limit, in MBs, for media streamed\").optional(),\n audio_processed_limit_max: z.number().int().describe(\"Maximum limit, in minutes, for audio processing\").optional(),\n pages_processed_limit_max: z.number().int().describe(\"Maximum limit, in pages, for processed documents\").optional(),\n video_processed_limit_max: z.number().int().describe(\"Maximum limit, in minutes, for video processing\").optional(),\n media_hosted_limit_monthly: z.number().int().describe(\"Monthly limit, in MBs, for media hosted\").optional(),\n pages_hosted_limit_monthly: z.number().int().describe(\"Monthly limit of hosted pages added in the current month\").optional(),\n media_streamed_limit_monthly: z.number().int().describe(\"Monthly limit, in MBs, for media streamed\").optional(),\n audio_processed_limit_monthly: z.number().int().describe(\"Monthly limit, in minutes, for audio processing\").optional(),\n pages_processed_limit_monthly: z.number().int().describe(\"Monthly limit, in pages, for processed documents\").optional(),\n video_processed_limit_monthly: z.number().int().describe(\"Monthly limit, in minutes, for video processing\").optional(),\n}).describe(\"Request schema for creating a new partition.\");\nconst RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema: z.ZodTypeAny = z.object({\n total: z.number().int().describe(\"Total count\").nullable().optional(),\n monthly: z.number().int().describe(\"Monthly count\").nullable().optional(),\n}).describe(\"Statistics detail with monthly and total counts.\");\nconst RagieCreatePartitionPartitionsPost_PartitionStatsSchema: z.ZodTypeAny = z.object({\n documents: z.number().int().describe(\"Number of documents\").nullable().optional(),\n media_hosted: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),\n pages_hosted: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),\n media_streamed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),\n audio_processed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),\n pages_processed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),\n video_processed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),\n}).describe(\"Statistics for partition usage.\");\nconst RagieCreatePartitionPartitionsPost_PartitionLimitsSchema: z.ZodTypeAny = z.object({\n media_hosted_limit_max: z.number().int().describe(\"Maximum limit, in MBs, for media hosted\").nullable().optional(),\n pages_hosted_limit_max: z.number().int().describe(\"Maximum limit, in pages, for hosted documents\").nullable().optional(),\n media_streamed_limit_max: z.number().int().describe(\"Maximum limit, in MBs, for media streamed\").nullable().optional(),\n audio_processed_limit_max: z.number().int().describe(\"Maximum limit, in minutes, for audio processing\").nullable().optional(),\n pages_processed_limit_max: z.number().int().describe(\"Maximum limit, in pages, for processed documents\").nullable().optional(),\n video_processed_limit_max: z.number().int().describe(\"Maximum limit, in minutes, for video processing\").nullable().optional(),\n media_hosted_limit_monthly: z.number().int().describe(\"Monthly limit, in MBs, for media hosted\").nullable().optional(),\n pages_hosted_limit_monthly: z.number().int().describe(\"Monthly limit of hosted pages added in the current month\").nullable().optional(),\n media_streamed_limit_monthly: z.number().int().describe(\"Monthly limit, in MBs, for media streamed\").nullable().optional(),\n audio_processed_limit_monthly: z.number().int().describe(\"Monthly limit, in minutes, for audio processing\").nullable().optional(),\n pages_processed_limit_monthly: z.number().int().describe(\"Monthly limit, in pages, for processed documents\").nullable().optional(),\n video_processed_limit_monthly: z.number().int().describe(\"Monthly limit, in minutes, for video processing\").nullable().optional(),\n}).describe(\"Limits for various partition resources.\");\nexport const RagieCreatePartitionPartitionsPostOutput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Partition identifier\"),\n stats: RagieCreatePartitionPartitionsPost_PartitionStatsSchema.nullable().optional(),\n limits: RagieCreatePartitionPartitionsPost_PartitionLimitsSchema.nullable().optional(),\n is_default: z.boolean().describe(\"Whether this is the default partition\"),\n description: z.string().describe(\"Partition description\").nullable().optional(),\n context_aware: z.boolean().describe(\"Indicates if context-aware description is enabled\"),\n metadata_schema: z.object({}).describe(\"Applied metadata schema as JSON Schema\").nullable().optional(),\n limit_exceeded_at: z.string().describe(\"Timestamp when limit was exceeded\").nullable().optional(),\n}).describe(\"Response schema for partition creation containing partition details.\");\n\nexport const ragieCreatePartitionPartitionsPost = action(\"RAGIE_CREATE_PARTITION_PARTITIONS_POST\", {\n slug: \"ragie-create-partition-partitions-post\",\n name: \"Create Partition\",\n description: \"Tool to create a new partition for scoping documents and connections in Ragie. Use when you need to organize documents and set resource limits for different workspaces or tenants.\",\n input: RagieCreatePartitionPartitionsPostInput,\n output: RagieCreatePartitionPartitionsPostOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAAwDA,IAAAA,EAAE,OAAO;CAC5E,M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AyDA,IAAAA,EAAE,OAAO;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CAChD,OAAO,wDAAwD,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQ,yDAAyD,SAAS,CAAC,CAAC,SAAS;CACrF,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC;CACxE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD;CACvF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAElF,MAAa,qCAAqCC,eAAAA,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/create-partition-partitions-post.d.ts
|
|
4
|
+
declare const RagieCreatePartitionPartitionsPostInput: z.ZodTypeAny;
|
|
5
|
+
declare const RagieCreatePartitionPartitionsPostOutput: z.ZodTypeAny;
|
|
6
|
+
declare const ragieCreatePartitionPartitionsPost: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { ragieCreatePartitionPartitionsPost };
|
|
9
|
+
//# sourceMappingURL=create-partition-partitions-post.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-partition-partitions-post.d.cts","names":[],"sources":["../../src/actions/create-partition-partitions-post.ts"],"mappings":";;;cAIa,uCAAA,EAAyC,CAAA,CAAE,UAgBG;AAAA,cA4B9C,wCAAA,EAA0C,CAAA,CAAE,UAS0B;AAAA,cAEtE,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/create-partition-partitions-post.d.ts
|
|
4
|
+
declare const RagieCreatePartitionPartitionsPostInput: z.ZodTypeAny;
|
|
5
|
+
declare const RagieCreatePartitionPartitionsPostOutput: z.ZodTypeAny;
|
|
6
|
+
declare const ragieCreatePartitionPartitionsPost: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { ragieCreatePartitionPartitionsPost };
|
|
9
|
+
//# sourceMappingURL=create-partition-partitions-post.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-partition-partitions-post.d.mts","names":[],"sources":["../../src/actions/create-partition-partitions-post.ts"],"mappings":";;;cAIa,uCAAA,EAAyC,CAAA,CAAE,UAgBG;AAAA,cA4B9C,wCAAA,EAA0C,CAAA,CAAE,UAS0B;AAAA,cAEtE,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/create-partition-partitions-post.ts
|
|
4
|
+
const RagieCreatePartitionPartitionsPostInput = z.object({
|
|
5
|
+
name: z.string().describe("Identifier for the partition. This is a required field that uniquely identifies the partition."),
|
|
6
|
+
description: z.string().describe("Overview text describing the partition's purpose or usage").optional(),
|
|
7
|
+
metadata_schema: z.object({}).describe("Optional subset of document metadata defined as JSON Schema. Allows defining custom metadata structure for documents in this partition.").optional(),
|
|
8
|
+
media_hosted_limit_max: z.number().int().describe("Maximum limit, in MBs, for media hosted").optional(),
|
|
9
|
+
pages_hosted_limit_max: z.number().int().describe("Maximum limit, in pages, for hosted documents").optional(),
|
|
10
|
+
media_streamed_limit_max: z.number().int().describe("Maximum limit, in MBs, for media streamed").optional(),
|
|
11
|
+
audio_processed_limit_max: z.number().int().describe("Maximum limit, in minutes, for audio processing").optional(),
|
|
12
|
+
pages_processed_limit_max: z.number().int().describe("Maximum limit, in pages, for processed documents").optional(),
|
|
13
|
+
video_processed_limit_max: z.number().int().describe("Maximum limit, in minutes, for video processing").optional(),
|
|
14
|
+
media_hosted_limit_monthly: z.number().int().describe("Monthly limit, in MBs, for media hosted").optional(),
|
|
15
|
+
pages_hosted_limit_monthly: z.number().int().describe("Monthly limit of hosted pages added in the current month").optional(),
|
|
16
|
+
media_streamed_limit_monthly: z.number().int().describe("Monthly limit, in MBs, for media streamed").optional(),
|
|
17
|
+
audio_processed_limit_monthly: z.number().int().describe("Monthly limit, in minutes, for audio processing").optional(),
|
|
18
|
+
pages_processed_limit_monthly: z.number().int().describe("Monthly limit, in pages, for processed documents").optional(),
|
|
19
|
+
video_processed_limit_monthly: z.number().int().describe("Monthly limit, in minutes, for video processing").optional()
|
|
20
|
+
}).describe("Request schema for creating a new partition.");
|
|
21
|
+
const RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema = z.object({
|
|
22
|
+
total: z.number().int().describe("Total count").nullable().optional(),
|
|
23
|
+
monthly: z.number().int().describe("Monthly count").nullable().optional()
|
|
24
|
+
}).describe("Statistics detail with monthly and total counts.");
|
|
25
|
+
const RagieCreatePartitionPartitionsPost_PartitionStatsSchema = z.object({
|
|
26
|
+
documents: z.number().int().describe("Number of documents").nullable().optional(),
|
|
27
|
+
media_hosted: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),
|
|
28
|
+
pages_hosted: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),
|
|
29
|
+
media_streamed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),
|
|
30
|
+
audio_processed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),
|
|
31
|
+
pages_processed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),
|
|
32
|
+
video_processed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional()
|
|
33
|
+
}).describe("Statistics for partition usage.");
|
|
34
|
+
const RagieCreatePartitionPartitionsPost_PartitionLimitsSchema = z.object({
|
|
35
|
+
media_hosted_limit_max: z.number().int().describe("Maximum limit, in MBs, for media hosted").nullable().optional(),
|
|
36
|
+
pages_hosted_limit_max: z.number().int().describe("Maximum limit, in pages, for hosted documents").nullable().optional(),
|
|
37
|
+
media_streamed_limit_max: z.number().int().describe("Maximum limit, in MBs, for media streamed").nullable().optional(),
|
|
38
|
+
audio_processed_limit_max: z.number().int().describe("Maximum limit, in minutes, for audio processing").nullable().optional(),
|
|
39
|
+
pages_processed_limit_max: z.number().int().describe("Maximum limit, in pages, for processed documents").nullable().optional(),
|
|
40
|
+
video_processed_limit_max: z.number().int().describe("Maximum limit, in minutes, for video processing").nullable().optional(),
|
|
41
|
+
media_hosted_limit_monthly: z.number().int().describe("Monthly limit, in MBs, for media hosted").nullable().optional(),
|
|
42
|
+
pages_hosted_limit_monthly: z.number().int().describe("Monthly limit of hosted pages added in the current month").nullable().optional(),
|
|
43
|
+
media_streamed_limit_monthly: z.number().int().describe("Monthly limit, in MBs, for media streamed").nullable().optional(),
|
|
44
|
+
audio_processed_limit_monthly: z.number().int().describe("Monthly limit, in minutes, for audio processing").nullable().optional(),
|
|
45
|
+
pages_processed_limit_monthly: z.number().int().describe("Monthly limit, in pages, for processed documents").nullable().optional(),
|
|
46
|
+
video_processed_limit_monthly: z.number().int().describe("Monthly limit, in minutes, for video processing").nullable().optional()
|
|
47
|
+
}).describe("Limits for various partition resources.");
|
|
48
|
+
const ragieCreatePartitionPartitionsPost = action("RAGIE_CREATE_PARTITION_PARTITIONS_POST", {
|
|
49
|
+
slug: "ragie-create-partition-partitions-post",
|
|
50
|
+
name: "Create Partition",
|
|
51
|
+
description: "Tool to create a new partition for scoping documents and connections in Ragie. Use when you need to organize documents and set resource limits for different workspaces or tenants.",
|
|
52
|
+
input: RagieCreatePartitionPartitionsPostInput,
|
|
53
|
+
output: z.object({
|
|
54
|
+
name: z.string().describe("Partition identifier"),
|
|
55
|
+
stats: RagieCreatePartitionPartitionsPost_PartitionStatsSchema.nullable().optional(),
|
|
56
|
+
limits: RagieCreatePartitionPartitionsPost_PartitionLimitsSchema.nullable().optional(),
|
|
57
|
+
is_default: z.boolean().describe("Whether this is the default partition"),
|
|
58
|
+
description: z.string().describe("Partition description").nullable().optional(),
|
|
59
|
+
context_aware: z.boolean().describe("Indicates if context-aware description is enabled"),
|
|
60
|
+
metadata_schema: z.object({}).describe("Applied metadata schema as JSON Schema").nullable().optional(),
|
|
61
|
+
limit_exceeded_at: z.string().describe("Timestamp when limit was exceeded").nullable().optional()
|
|
62
|
+
}).describe("Response schema for partition creation containing partition details.")
|
|
63
|
+
});
|
|
64
|
+
//#endregion
|
|
65
|
+
export { ragieCreatePartitionPartitionsPost };
|
|
66
|
+
|
|
67
|
+
//# sourceMappingURL=create-partition-partitions-post.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-partition-partitions-post.mjs","names":[],"sources":["../../src/actions/create-partition-partitions-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieCreatePartitionPartitionsPostInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Identifier for the partition. This is a required field that uniquely identifies the partition.\"),\n description: z.string().describe(\"Overview text describing the partition's purpose or usage\").optional(),\n metadata_schema: z.object({}).describe(\"Optional subset of document metadata defined as JSON Schema. Allows defining custom metadata structure for documents in this partition.\").optional(),\n media_hosted_limit_max: z.number().int().describe(\"Maximum limit, in MBs, for media hosted\").optional(),\n pages_hosted_limit_max: z.number().int().describe(\"Maximum limit, in pages, for hosted documents\").optional(),\n media_streamed_limit_max: z.number().int().describe(\"Maximum limit, in MBs, for media streamed\").optional(),\n audio_processed_limit_max: z.number().int().describe(\"Maximum limit, in minutes, for audio processing\").optional(),\n pages_processed_limit_max: z.number().int().describe(\"Maximum limit, in pages, for processed documents\").optional(),\n video_processed_limit_max: z.number().int().describe(\"Maximum limit, in minutes, for video processing\").optional(),\n media_hosted_limit_monthly: z.number().int().describe(\"Monthly limit, in MBs, for media hosted\").optional(),\n pages_hosted_limit_monthly: z.number().int().describe(\"Monthly limit of hosted pages added in the current month\").optional(),\n media_streamed_limit_monthly: z.number().int().describe(\"Monthly limit, in MBs, for media streamed\").optional(),\n audio_processed_limit_monthly: z.number().int().describe(\"Monthly limit, in minutes, for audio processing\").optional(),\n pages_processed_limit_monthly: z.number().int().describe(\"Monthly limit, in pages, for processed documents\").optional(),\n video_processed_limit_monthly: z.number().int().describe(\"Monthly limit, in minutes, for video processing\").optional(),\n}).describe(\"Request schema for creating a new partition.\");\nconst RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema: z.ZodTypeAny = z.object({\n total: z.number().int().describe(\"Total count\").nullable().optional(),\n monthly: z.number().int().describe(\"Monthly count\").nullable().optional(),\n}).describe(\"Statistics detail with monthly and total counts.\");\nconst RagieCreatePartitionPartitionsPost_PartitionStatsSchema: z.ZodTypeAny = z.object({\n documents: z.number().int().describe(\"Number of documents\").nullable().optional(),\n media_hosted: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),\n pages_hosted: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),\n media_streamed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),\n audio_processed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),\n pages_processed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),\n video_processed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),\n}).describe(\"Statistics for partition usage.\");\nconst RagieCreatePartitionPartitionsPost_PartitionLimitsSchema: z.ZodTypeAny = z.object({\n media_hosted_limit_max: z.number().int().describe(\"Maximum limit, in MBs, for media hosted\").nullable().optional(),\n pages_hosted_limit_max: z.number().int().describe(\"Maximum limit, in pages, for hosted documents\").nullable().optional(),\n media_streamed_limit_max: z.number().int().describe(\"Maximum limit, in MBs, for media streamed\").nullable().optional(),\n audio_processed_limit_max: z.number().int().describe(\"Maximum limit, in minutes, for audio processing\").nullable().optional(),\n pages_processed_limit_max: z.number().int().describe(\"Maximum limit, in pages, for processed documents\").nullable().optional(),\n video_processed_limit_max: z.number().int().describe(\"Maximum limit, in minutes, for video processing\").nullable().optional(),\n media_hosted_limit_monthly: z.number().int().describe(\"Monthly limit, in MBs, for media hosted\").nullable().optional(),\n pages_hosted_limit_monthly: z.number().int().describe(\"Monthly limit of hosted pages added in the current month\").nullable().optional(),\n media_streamed_limit_monthly: z.number().int().describe(\"Monthly limit, in MBs, for media streamed\").nullable().optional(),\n audio_processed_limit_monthly: z.number().int().describe(\"Monthly limit, in minutes, for audio processing\").nullable().optional(),\n pages_processed_limit_monthly: z.number().int().describe(\"Monthly limit, in pages, for processed documents\").nullable().optional(),\n video_processed_limit_monthly: z.number().int().describe(\"Monthly limit, in minutes, for video processing\").nullable().optional(),\n}).describe(\"Limits for various partition resources.\");\nexport const RagieCreatePartitionPartitionsPostOutput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Partition identifier\"),\n stats: RagieCreatePartitionPartitionsPost_PartitionStatsSchema.nullable().optional(),\n limits: RagieCreatePartitionPartitionsPost_PartitionLimitsSchema.nullable().optional(),\n is_default: z.boolean().describe(\"Whether this is the default partition\"),\n description: z.string().describe(\"Partition description\").nullable().optional(),\n context_aware: z.boolean().describe(\"Indicates if context-aware description is enabled\"),\n metadata_schema: z.object({}).describe(\"Applied metadata schema as JSON Schema\").nullable().optional(),\n limit_exceeded_at: z.string().describe(\"Timestamp when limit was exceeded\").nullable().optional(),\n}).describe(\"Response schema for partition creation containing partition details.\");\n\nexport const ragieCreatePartitionPartitionsPost = action(\"RAGIE_CREATE_PARTITION_PARTITIONS_POST\", {\n slug: \"ragie-create-partition-partitions-post\",\n name: \"Create Partition\",\n description: \"Tool to create a new partition for scoping documents and connections in Ragie. Use when you need to organize documents and set resource limits for different workspaces or tenants.\",\n input: RagieCreatePartitionPartitionsPostInput,\n output: RagieCreatePartitionPartitionsPostOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAAwD,EAAE,OAAO;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CAC1H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACvG,iBAAiB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yIAAyI,CAAC,CAAC,SAAS;CAC3L,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACtG,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC5G,0BAA0B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC1G,2BAA2B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACjH,2BAA2B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAClH,2BAA2B,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AC,SAAS,CAAC,CAAC,SAAS;CAChI,+BAA+B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,+BAA+B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAYrD,MAAa,qCAAqC,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhBoE,EAAE,OAAO;EAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;EAChD,OAAO,wDAAwD,SAAS,CAAC,CAAC,SAAS;EACnF,QAAQ,yDAAyD,SAAS,CAAC,CAAC,SAAS;EACrF,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC;EACxE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD;EACvF,iBAAiB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,SAAS,sEAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/delete-document.ts
|
|
4
|
+
const RagieDeleteDocumentInput = zod.z.object({
|
|
5
|
+
async: zod.z.boolean().describe("If true, performs document deletion asynchronously. Default is false for synchronous deletion.").optional(),
|
|
6
|
+
partition: zod.z.string().describe("An optional partition to scope the request to.").optional(),
|
|
7
|
+
document_id: zod.z.string().describe("The unique identifier (UUID) of the document to delete.")
|
|
8
|
+
}).describe("Request model for deleting a document by its unique identifier.");
|
|
9
|
+
const RagieDeleteDocumentOutput = zod.z.object({ status: zod.z.string().describe("Status of the deletion request. Indicates whether the deletion was successful.").nullable().optional() }).describe("Response model for the delete document action.");
|
|
10
|
+
const ragieDeleteDocument = require_action.action("RAGIE_DELETE_DOCUMENT", {
|
|
11
|
+
slug: "ragie-delete-document",
|
|
12
|
+
name: "Delete Document",
|
|
13
|
+
description: "Tool to delete a document from Ragie. Use when you need to remove a document permanently from the system. Supports both synchronous and asynchronous deletion modes.",
|
|
14
|
+
input: RagieDeleteDocumentInput,
|
|
15
|
+
output: RagieDeleteDocumentOutput
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
exports.ragieDeleteDocument = ragieDeleteDocument;
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=delete-document.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-document.cjs","names":["z","action"],"sources":["../../src/actions/delete-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieDeleteDocumentInput: z.ZodTypeAny = z.object({\n async: z.boolean().describe(\"If true, performs document deletion asynchronously. Default is false for synchronous deletion.\").optional(),\n partition: z.string().describe(\"An optional partition to scope the request to.\").optional(),\n document_id: z.string().describe(\"The unique identifier (UUID) of the document to delete.\"),\n}).describe(\"Request model for deleting a document by its unique identifier.\");\nexport const RagieDeleteDocumentOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Status of the deletion request. Indicates whether the deletion was successful.\").nullable().optional(),\n}).describe(\"Response model for the delete document action.\");\n\nexport const ragieDeleteDocument = action(\"RAGIE_DELETE_DOCUMENT\", {\n slug: \"ragie-delete-document\",\n name: \"Delete Document\",\n description: \"Tool to delete a document from Ragie. Use when you need to remove a document permanently from the system. Supports both synchronous and asynchronous deletion modes.\",\n input: RagieDeleteDocumentInput,\n output: RagieDeleteDocumentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CACvI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC1F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;AAC5F,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpI,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-document.d.ts
|
|
4
|
+
declare const RagieDeleteDocumentInput: z.ZodTypeAny;
|
|
5
|
+
declare const RagieDeleteDocumentOutput: z.ZodTypeAny;
|
|
6
|
+
declare const ragieDeleteDocument: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { ragieDeleteDocument };
|
|
9
|
+
//# sourceMappingURL=delete-document.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-document.d.cts","names":[],"sources":["../../src/actions/delete-document.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAIqC;AAAA,cACjE,yBAAA,EAA2B,CAAA,CAAE,UAEmB;AAAA,cAEhD,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-document.d.ts
|
|
4
|
+
declare const RagieDeleteDocumentInput: z.ZodTypeAny;
|
|
5
|
+
declare const RagieDeleteDocumentOutput: z.ZodTypeAny;
|
|
6
|
+
declare const ragieDeleteDocument: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { ragieDeleteDocument };
|
|
9
|
+
//# sourceMappingURL=delete-document.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-document.d.mts","names":[],"sources":["../../src/actions/delete-document.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAIqC;AAAA,cACjE,yBAAA,EAA2B,CAAA,CAAE,UAEmB;AAAA,cAEhD,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const ragieDeleteDocument = action("RAGIE_DELETE_DOCUMENT", {
|
|
4
|
+
slug: "ragie-delete-document",
|
|
5
|
+
name: "Delete Document",
|
|
6
|
+
description: "Tool to delete a document from Ragie. Use when you need to remove a document permanently from the system. Supports both synchronous and asynchronous deletion modes.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
async: z.boolean().describe("If true, performs document deletion asynchronously. Default is false for synchronous deletion.").optional(),
|
|
9
|
+
partition: z.string().describe("An optional partition to scope the request to.").optional(),
|
|
10
|
+
document_id: z.string().describe("The unique identifier (UUID) of the document to delete.")
|
|
11
|
+
}).describe("Request model for deleting a document by its unique identifier."),
|
|
12
|
+
output: z.object({ status: z.string().describe("Status of the deletion request. Indicates whether the deletion was successful.").nullable().optional() }).describe("Response model for the delete document action.")
|
|
13
|
+
});
|
|
14
|
+
//#endregion
|
|
15
|
+
export { ragieDeleteDocument };
|
|
16
|
+
|
|
17
|
+
//# sourceMappingURL=delete-document.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-document.mjs","names":[],"sources":["../../src/actions/delete-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieDeleteDocumentInput: z.ZodTypeAny = z.object({\n async: z.boolean().describe(\"If true, performs document deletion asynchronously. Default is false for synchronous deletion.\").optional(),\n partition: z.string().describe(\"An optional partition to scope the request to.\").optional(),\n document_id: z.string().describe(\"The unique identifier (UUID) of the document to delete.\"),\n}).describe(\"Request model for deleting a document by its unique identifier.\");\nexport const RagieDeleteDocumentOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Status of the deletion request. Indicates whether the deletion was successful.\").nullable().optional(),\n}).describe(\"Response model for the delete document action.\");\n\nexport const ragieDeleteDocument = action(\"RAGIE_DELETE_DOCUMENT\", {\n slug: \"ragie-delete-document\",\n name: \"Delete Document\",\n description: \"Tool to delete a document from Ragie. Use when you need to remove a document permanently from the system. Supports both synchronous and asynchronous deletion modes.\",\n input: RagieDeleteDocumentInput,\n output: RagieDeleteDocumentOutput,\n});\n"],"mappings":";;AAaA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAboD,EAAE,OAAO;EAC7D,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;EACvI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAC1F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CAC5F,CAAC,CAAC,CAAC,SAAS,iEASH;CACP,QATqD,EAAE,OAAO,EAC9D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpI,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/delete-instruction.ts
|
|
4
|
+
const RagieDeleteInstructionInput = zod.z.object({ instruction_id: zod.z.string().describe("The unique identifier (UUID) of the instruction to delete") }).describe("Request model for deleting an instruction by its unique identifier.");
|
|
5
|
+
const RagieDeleteInstructionOutput = zod.z.object({ message: zod.z.string().describe("Confirmation message indicating the result of the deletion").nullable().optional() }).describe("Response schema for the delete instruction action.");
|
|
6
|
+
const ragieDeleteInstruction = require_action.action("RAGIE_DELETE_INSTRUCTION", {
|
|
7
|
+
slug: "ragie-delete-instruction",
|
|
8
|
+
name: "Delete Instruction",
|
|
9
|
+
description: "Tool to delete an instruction and all associated entities. Use when you need to permanently remove an instruction (irreversible operation). Requires the instruction ID (UUID format).",
|
|
10
|
+
input: RagieDeleteInstructionInput,
|
|
11
|
+
output: RagieDeleteInstructionOutput
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
exports.ragieDeleteInstruction = ragieDeleteInstruction;
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=delete-instruction.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-instruction.cjs","names":["z","action"],"sources":["../../src/actions/delete-instruction.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieDeleteInstructionInput: z.ZodTypeAny = z.object({\n instruction_id: z.string().describe(\"The unique identifier (UUID) of the instruction to delete\"),\n}).describe(\"Request model for deleting an instruction by its unique identifier.\");\nexport const RagieDeleteInstructionOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Confirmation message indicating the result of the deletion\").nullable().optional(),\n}).describe(\"Response schema for the delete instruction action.\");\n\nexport const ragieDeleteInstruction = action(\"RAGIE_DELETE_INSTRUCTION\", {\n slug: \"ragie-delete-instruction\",\n name: \"Delete Instruction\",\n description: \"Tool to delete an instruction and all associated entities. Use when you need to permanently remove an instruction (irreversible operation). Requires the instruction ID (UUID format).\",\n input: RagieDeleteInstructionInput,\n output: RagieDeleteInstructionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,EACjG,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,EACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjH,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-instruction.d.ts
|
|
4
|
+
declare const RagieDeleteInstructionInput: z.ZodTypeAny;
|
|
5
|
+
declare const RagieDeleteInstructionOutput: z.ZodTypeAny;
|
|
6
|
+
declare const ragieDeleteInstruction: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { ragieDeleteInstruction };
|
|
9
|
+
//# sourceMappingURL=delete-instruction.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-instruction.d.cts","names":[],"sources":["../../src/actions/delete-instruction.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAEsC;AAAA,cACrE,4BAAA,EAA8B,CAAA,CAAE,UAEoB;AAAA,cAEpD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-instruction.d.ts
|
|
4
|
+
declare const RagieDeleteInstructionInput: z.ZodTypeAny;
|
|
5
|
+
declare const RagieDeleteInstructionOutput: z.ZodTypeAny;
|
|
6
|
+
declare const ragieDeleteInstruction: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { ragieDeleteInstruction };
|
|
9
|
+
//# sourceMappingURL=delete-instruction.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-instruction.d.mts","names":[],"sources":["../../src/actions/delete-instruction.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAEsC;AAAA,cACrE,4BAAA,EAA8B,CAAA,CAAE,UAEoB;AAAA,cAEpD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const ragieDeleteInstruction = action("RAGIE_DELETE_INSTRUCTION", {
|
|
4
|
+
slug: "ragie-delete-instruction",
|
|
5
|
+
name: "Delete Instruction",
|
|
6
|
+
description: "Tool to delete an instruction and all associated entities. Use when you need to permanently remove an instruction (irreversible operation). Requires the instruction ID (UUID format).",
|
|
7
|
+
input: z.object({ instruction_id: z.string().describe("The unique identifier (UUID) of the instruction to delete") }).describe("Request model for deleting an instruction by its unique identifier."),
|
|
8
|
+
output: z.object({ message: z.string().describe("Confirmation message indicating the result of the deletion").nullable().optional() }).describe("Response schema for the delete instruction action.")
|
|
9
|
+
});
|
|
10
|
+
//#endregion
|
|
11
|
+
export { ragieDeleteInstruction };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=delete-instruction.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-instruction.mjs","names":[],"sources":["../../src/actions/delete-instruction.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieDeleteInstructionInput: z.ZodTypeAny = z.object({\n instruction_id: z.string().describe(\"The unique identifier (UUID) of the instruction to delete\"),\n}).describe(\"Request model for deleting an instruction by its unique identifier.\");\nexport const RagieDeleteInstructionOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Confirmation message indicating the result of the deletion\").nullable().optional(),\n}).describe(\"Response schema for the delete instruction action.\");\n\nexport const ragieDeleteInstruction = action(\"RAGIE_DELETE_INSTRUCTION\", {\n slug: \"ragie-delete-instruction\",\n name: \"Delete Instruction\",\n description: \"Tool to delete an instruction and all associated entities. Use when you need to permanently remove an instruction (irreversible operation). Requires the instruction ID (UUID format).\",\n input: RagieDeleteInstructionInput,\n output: RagieDeleteInstructionOutput,\n});\n"],"mappings":";;AAWA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXuD,EAAE,OAAO,EAChE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,EACjG,CAAC,CAAC,CAAC,SAAS,qEASH;CACP,QATwD,EAAE,OAAO,EACjE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjH,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/delete-partition.ts
|
|
4
|
+
const RagieDeletePartitionInput = zod.z.object({
|
|
5
|
+
partition_id: zod.z.string().describe("The partition identifier to delete"),
|
|
6
|
+
async_deletion: zod.z.boolean().describe("When true, performs partition deletion asynchronously. Defaults to false.").optional()
|
|
7
|
+
}).describe("Request model for deleting a partition.");
|
|
8
|
+
const RagieDeletePartitionOutput = zod.z.object({ message: zod.z.string().describe("Status message indicating the result of the deletion operation").nullable().optional() }).describe("Response model for partition deletion operation.");
|
|
9
|
+
const ragieDeletePartition = require_action.action("RAGIE_DELETE_PARTITION", {
|
|
10
|
+
slug: "ragie-delete-partition",
|
|
11
|
+
name: "Delete Partition",
|
|
12
|
+
description: "Tool to delete a partition and all associated data irreversibly. Use when you need to permanently remove a partition. Returns status 200 for synchronous deletion or 202 for asynchronous deletion.",
|
|
13
|
+
input: RagieDeletePartitionInput,
|
|
14
|
+
output: RagieDeletePartitionOutput
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
exports.ragieDeletePartition = ragieDeletePartition;
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=delete-partition.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-partition.cjs","names":["z","action"],"sources":["../../src/actions/delete-partition.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieDeletePartitionInput: z.ZodTypeAny = z.object({\n partition_id: z.string().describe(\"The partition identifier to delete\"),\n async_deletion: z.boolean().describe(\"When true, performs partition deletion asynchronously. Defaults to false.\").optional(),\n}).describe(\"Request model for deleting a partition.\");\nexport const RagieDeletePartitionOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Status message indicating the result of the deletion operation\").nullable().optional(),\n}).describe(\"Response model for partition deletion operation.\");\n\nexport const ragieDeletePartition = action(\"RAGIE_DELETE_PARTITION\", {\n slug: \"ragie-delete-partition\",\n name: \"Delete Partition\",\n description: \"Tool to delete a partition and all associated data irreversibly. Use when you need to permanently remove a partition. Returns status 200 for synchronous deletion or 202 for asynchronous deletion.\",\n input: RagieDeletePartitionInput,\n output: RagieDeletePartitionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACtE,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrH,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-partition.d.ts
|
|
4
|
+
declare const RagieDeletePartitionInput: z.ZodTypeAny;
|
|
5
|
+
declare const RagieDeletePartitionOutput: z.ZodTypeAny;
|
|
6
|
+
declare const ragieDeletePartition: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { ragieDeletePartition };
|
|
9
|
+
//# sourceMappingURL=delete-partition.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-partition.d.cts","names":[],"sources":["../../src/actions/delete-partition.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAGY;AAAA,cACzC,0BAAA,EAA4B,CAAA,CAAE,UAEoB;AAAA,cAElD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-partition.d.ts
|
|
4
|
+
declare const RagieDeletePartitionInput: z.ZodTypeAny;
|
|
5
|
+
declare const RagieDeletePartitionOutput: z.ZodTypeAny;
|
|
6
|
+
declare const ragieDeletePartition: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { ragieDeletePartition };
|
|
9
|
+
//# sourceMappingURL=delete-partition.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-partition.d.mts","names":[],"sources":["../../src/actions/delete-partition.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAGY;AAAA,cACzC,0BAAA,EAA4B,CAAA,CAAE,UAEoB;AAAA,cAElD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const ragieDeletePartition = action("RAGIE_DELETE_PARTITION", {
|
|
4
|
+
slug: "ragie-delete-partition",
|
|
5
|
+
name: "Delete Partition",
|
|
6
|
+
description: "Tool to delete a partition and all associated data irreversibly. Use when you need to permanently remove a partition. Returns status 200 for synchronous deletion or 202 for asynchronous deletion.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
partition_id: z.string().describe("The partition identifier to delete"),
|
|
9
|
+
async_deletion: z.boolean().describe("When true, performs partition deletion asynchronously. Defaults to false.").optional()
|
|
10
|
+
}).describe("Request model for deleting a partition."),
|
|
11
|
+
output: z.object({ message: z.string().describe("Status message indicating the result of the deletion operation").nullable().optional() }).describe("Response model for partition deletion operation.")
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
export { ragieDeletePartition };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=delete-partition.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-partition.mjs","names":[],"sources":["../../src/actions/delete-partition.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieDeletePartitionInput: z.ZodTypeAny = z.object({\n partition_id: z.string().describe(\"The partition identifier to delete\"),\n async_deletion: z.boolean().describe(\"When true, performs partition deletion asynchronously. Defaults to false.\").optional(),\n}).describe(\"Request model for deleting a partition.\");\nexport const RagieDeletePartitionOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Status message indicating the result of the deletion operation\").nullable().optional(),\n}).describe(\"Response model for partition deletion operation.\");\n\nexport const ragieDeletePartition = action(\"RAGIE_DELETE_PARTITION\", {\n slug: \"ragie-delete-partition\",\n name: \"Delete Partition\",\n description: \"Tool to delete a partition and all associated data irreversibly. Use when you need to permanently remove a partition. Returns status 200 for synchronous deletion or 202 for asynchronous deletion.\",\n input: RagieDeletePartitionInput,\n output: RagieDeletePartitionOutput,\n});\n"],"mappings":";;AAYA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZqD,EAAE,OAAO;EAC9D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EACtE,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAC7H,CAAC,CAAC,CAAC,SAAS,yCASH;CACP,QATsD,EAAE,OAAO,EAC/D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrH,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
|