@keystrokehq/ragie 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/create-document-from-url.cjs +1 -1
- package/dist/actions/create-document-from-url.cjs.map +1 -1
- package/dist/actions/create-document-from-url.d.cts +1 -1
- package/dist/actions/create-document-from-url.d.mts +1 -1
- package/dist/actions/create-document-from-url.mjs +1 -1
- package/dist/actions/create-document-from-url.mjs.map +1 -1
- package/dist/actions/create-document-raw.cjs +2 -2
- package/dist/actions/create-document-raw.cjs.map +1 -1
- package/dist/actions/create-document-raw.d.cts +3 -3
- package/dist/actions/create-document-raw.d.mts +3 -3
- package/dist/actions/create-document-raw.mjs +2 -2
- package/dist/actions/create-document-raw.mjs.map +1 -1
- package/dist/actions/create-document.cjs +2 -2
- package/dist/actions/create-document.cjs.map +1 -1
- package/dist/actions/create-document.d.cts +3 -3
- package/dist/actions/create-document.d.mts +3 -3
- package/dist/actions/create-document.mjs +2 -2
- package/dist/actions/create-document.mjs.map +1 -1
- package/dist/actions/create-instruction.cjs +1 -1
- package/dist/actions/create-instruction.cjs.map +1 -1
- package/dist/actions/create-instruction.d.cts +1 -1
- package/dist/actions/create-instruction.d.mts +1 -1
- package/dist/actions/create-instruction.mjs +1 -1
- package/dist/actions/create-instruction.mjs.map +1 -1
- package/dist/actions/create-oauth-redirect-url.cjs +1 -1
- package/dist/actions/create-oauth-redirect-url.cjs.map +1 -1
- package/dist/actions/create-oauth-redirect-url.d.cts +1 -1
- package/dist/actions/create-oauth-redirect-url.d.mts +1 -1
- package/dist/actions/create-oauth-redirect-url.mjs +1 -1
- package/dist/actions/create-oauth-redirect-url.mjs.map +1 -1
- package/dist/actions/create-partition-partitions-post.cjs +6 -6
- package/dist/actions/create-partition-partitions-post.cjs.map +1 -1
- package/dist/actions/create-partition-partitions-post.d.cts +12 -12
- package/dist/actions/create-partition-partitions-post.d.mts +12 -12
- package/dist/actions/create-partition-partitions-post.mjs +6 -6
- package/dist/actions/create-partition-partitions-post.mjs.map +1 -1
- package/dist/actions/delete-document.cjs +1 -1
- package/dist/actions/delete-document.cjs.map +1 -1
- package/dist/actions/delete-document.d.cts +1 -1
- package/dist/actions/delete-document.d.mts +1 -1
- package/dist/actions/delete-document.mjs +1 -1
- package/dist/actions/delete-document.mjs.map +1 -1
- package/dist/actions/delete-instruction.cjs +1 -1
- package/dist/actions/delete-instruction.cjs.map +1 -1
- package/dist/actions/delete-instruction.d.cts +1 -1
- package/dist/actions/delete-instruction.d.mts +1 -1
- package/dist/actions/delete-instruction.mjs +1 -1
- package/dist/actions/delete-instruction.mjs.map +1 -1
- package/dist/actions/delete-partition.cjs +1 -1
- package/dist/actions/delete-partition.cjs.map +1 -1
- package/dist/actions/delete-partition.d.cts +1 -1
- package/dist/actions/delete-partition.d.mts +1 -1
- package/dist/actions/delete-partition.mjs +1 -1
- package/dist/actions/delete-partition.mjs.map +1 -1
- package/dist/actions/get-document-chunk-content.cjs +1 -1
- package/dist/actions/get-document-chunk-content.cjs.map +1 -1
- package/dist/actions/get-document-chunk-content.d.cts +1 -1
- package/dist/actions/get-document-chunk-content.d.mts +1 -1
- package/dist/actions/get-document-chunk-content.mjs +1 -1
- package/dist/actions/get-document-chunk-content.mjs.map +1 -1
- package/dist/actions/get-document-chunk.cjs +4 -4
- package/dist/actions/get-document-chunk.cjs.map +1 -1
- package/dist/actions/get-document-chunk.d.cts +4 -4
- package/dist/actions/get-document-chunk.d.mts +4 -4
- package/dist/actions/get-document-chunk.mjs +4 -4
- package/dist/actions/get-document-chunk.mjs.map +1 -1
- package/dist/actions/get-document-chunks.cjs +5 -5
- package/dist/actions/get-document-chunks.cjs.map +1 -1
- package/dist/actions/get-document-chunks.d.cts +5 -5
- package/dist/actions/get-document-chunks.d.mts +5 -5
- package/dist/actions/get-document-chunks.mjs +5 -5
- package/dist/actions/get-document-chunks.mjs.map +1 -1
- package/dist/actions/get-document-content.cjs +2 -2
- package/dist/actions/get-document-content.cjs.map +1 -1
- package/dist/actions/get-document-content.d.cts +2 -2
- package/dist/actions/get-document-content.d.mts +2 -2
- package/dist/actions/get-document-content.mjs +2 -2
- package/dist/actions/get-document-content.mjs.map +1 -1
- package/dist/actions/get-document-summary.cjs +1 -1
- package/dist/actions/get-document-summary.cjs.map +1 -1
- package/dist/actions/get-document-summary.d.cts +1 -1
- package/dist/actions/get-document-summary.d.mts +1 -1
- package/dist/actions/get-document-summary.mjs +1 -1
- package/dist/actions/get-document-summary.mjs.map +1 -1
- package/dist/actions/get-document.cjs +2 -2
- package/dist/actions/get-document.cjs.map +1 -1
- package/dist/actions/get-document.d.cts +2 -2
- package/dist/actions/get-document.d.mts +2 -2
- package/dist/actions/get-document.mjs +2 -2
- package/dist/actions/get-document.mjs.map +1 -1
- package/dist/actions/get-partition.cjs +3 -3
- package/dist/actions/get-partition.cjs.map +1 -1
- package/dist/actions/get-partition.d.cts +3 -3
- package/dist/actions/get-partition.d.mts +3 -3
- package/dist/actions/get-partition.mjs +3 -3
- package/dist/actions/get-partition.mjs.map +1 -1
- package/dist/actions/get-response.cjs +10 -10
- package/dist/actions/get-response.cjs.map +1 -1
- package/dist/actions/get-response.d.cts +14 -14
- package/dist/actions/get-response.d.mts +14 -14
- package/dist/actions/get-response.mjs +10 -10
- package/dist/actions/get-response.mjs.map +1 -1
- package/dist/actions/list-connection-source-types.cjs +2 -2
- package/dist/actions/list-connection-source-types.cjs.map +1 -1
- package/dist/actions/list-connection-source-types.d.cts +2 -2
- package/dist/actions/list-connection-source-types.d.mts +2 -2
- package/dist/actions/list-connection-source-types.mjs +2 -2
- package/dist/actions/list-connection-source-types.mjs.map +1 -1
- package/dist/actions/list-connections-connections-get.cjs +3 -3
- package/dist/actions/list-connections-connections-get.cjs.map +1 -1
- package/dist/actions/list-connections-connections-get.d.cts +3 -3
- package/dist/actions/list-connections-connections-get.d.mts +3 -3
- package/dist/actions/list-connections-connections-get.mjs +3 -3
- package/dist/actions/list-connections-connections-get.mjs.map +1 -1
- package/dist/actions/list-documents.cjs +4 -4
- package/dist/actions/list-documents.cjs.map +1 -1
- package/dist/actions/list-documents.d.cts +4 -4
- package/dist/actions/list-documents.d.mts +4 -4
- package/dist/actions/list-documents.mjs +4 -4
- package/dist/actions/list-documents.mjs.map +1 -1
- package/dist/actions/list-entities-by-document.cjs +4 -4
- package/dist/actions/list-entities-by-document.cjs.map +1 -1
- package/dist/actions/list-entities-by-document.d.cts +4 -4
- package/dist/actions/list-entities-by-document.d.mts +4 -4
- package/dist/actions/list-entities-by-document.mjs +4 -4
- package/dist/actions/list-entities-by-document.mjs.map +1 -1
- package/dist/actions/list-entities-by-instruction.cjs +4 -4
- package/dist/actions/list-entities-by-instruction.cjs.map +1 -1
- package/dist/actions/list-entities-by-instruction.d.cts +4 -4
- package/dist/actions/list-entities-by-instruction.d.mts +4 -4
- package/dist/actions/list-entities-by-instruction.mjs +4 -4
- package/dist/actions/list-entities-by-instruction.mjs.map +1 -1
- package/dist/actions/list-instructions.cjs +2 -2
- package/dist/actions/list-instructions.cjs.map +1 -1
- package/dist/actions/list-instructions.d.cts +2 -2
- package/dist/actions/list-instructions.d.mts +2 -2
- package/dist/actions/list-instructions.mjs +2 -2
- package/dist/actions/list-instructions.mjs.map +1 -1
- package/dist/actions/list-partitions.cjs +4 -4
- package/dist/actions/list-partitions.cjs.map +1 -1
- package/dist/actions/list-partitions.d.cts +4 -4
- package/dist/actions/list-partitions.d.mts +4 -4
- package/dist/actions/list-partitions.mjs +4 -4
- package/dist/actions/list-partitions.mjs.map +1 -1
- package/dist/actions/patch-document-metadata.cjs +3 -3
- package/dist/actions/patch-document-metadata.cjs.map +1 -1
- package/dist/actions/patch-document-metadata.d.cts +4 -4
- package/dist/actions/patch-document-metadata.d.mts +4 -4
- package/dist/actions/patch-document-metadata.mjs +3 -3
- package/dist/actions/patch-document-metadata.mjs.map +1 -1
- package/dist/actions/retrieve.cjs +2 -2
- package/dist/actions/retrieve.cjs.map +1 -1
- package/dist/actions/retrieve.d.cts +2 -2
- package/dist/actions/retrieve.d.mts +2 -2
- package/dist/actions/retrieve.mjs +2 -2
- package/dist/actions/retrieve.mjs.map +1 -1
- package/dist/actions/set-partition-limits.cjs +3 -3
- package/dist/actions/set-partition-limits.cjs.map +1 -1
- package/dist/actions/set-partition-limits.d.cts +3 -3
- package/dist/actions/set-partition-limits.d.mts +3 -3
- package/dist/actions/set-partition-limits.mjs +3 -3
- package/dist/actions/set-partition-limits.mjs.map +1 -1
- package/dist/actions/update-document-from-url.cjs +2 -2
- package/dist/actions/update-document-from-url.cjs.map +1 -1
- package/dist/actions/update-document-from-url.d.cts +3 -2
- package/dist/actions/update-document-from-url.d.mts +3 -2
- package/dist/actions/update-document-from-url.mjs +2 -2
- package/dist/actions/update-document-from-url.mjs.map +1 -1
- package/dist/actions/update-document-raw.cjs +1 -1
- package/dist/actions/update-document-raw.cjs.map +1 -1
- package/dist/actions/update-document-raw.d.cts +1 -1
- package/dist/actions/update-document-raw.d.mts +1 -1
- package/dist/actions/update-document-raw.mjs +1 -1
- package/dist/actions/update-document-raw.mjs.map +1 -1
- package/dist/actions/update-instruction.cjs +2 -2
- package/dist/actions/update-instruction.cjs.map +1 -1
- package/dist/actions/update-instruction.d.cts +2 -2
- package/dist/actions/update-instruction.d.mts +2 -2
- package/dist/actions/update-instruction.mjs +2 -2
- package/dist/actions/update-instruction.mjs.map +1 -1
- package/dist/actions/update-partition.cjs +3 -3
- package/dist/actions/update-partition.cjs.map +1 -1
- package/dist/actions/update-partition.d.cts +3 -3
- package/dist/actions/update-partition.d.mts +3 -3
- package/dist/actions/update-partition.mjs +3 -3
- package/dist/actions/update-partition.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ let zod = require("zod");
|
|
|
4
4
|
const RagieCreatePartitionPartitionsPostInput = zod.z.object({
|
|
5
5
|
name: zod.z.string().describe("Identifier for the partition. This is a required field that uniquely identifies the partition."),
|
|
6
6
|
description: zod.z.string().describe("Overview text describing the partition's purpose or usage").optional(),
|
|
7
|
-
metadata_schema: zod.z.
|
|
7
|
+
metadata_schema: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Optional subset of document metadata defined as JSON Schema. Allows defining custom metadata structure for documents in this partition.").optional(),
|
|
8
8
|
media_hosted_limit_max: zod.z.number().int().describe("Maximum limit, in MBs, for media hosted").optional(),
|
|
9
9
|
pages_hosted_limit_max: zod.z.number().int().describe("Maximum limit, in pages, for hosted documents").optional(),
|
|
10
10
|
media_streamed_limit_max: zod.z.number().int().describe("Maximum limit, in MBs, for media streamed").optional(),
|
|
@@ -21,7 +21,7 @@ const RagieCreatePartitionPartitionsPostInput = zod.z.object({
|
|
|
21
21
|
const RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema = zod.z.object({
|
|
22
22
|
total: zod.z.number().int().describe("Total count").nullable().optional(),
|
|
23
23
|
monthly: zod.z.number().int().describe("Monthly count").nullable().optional()
|
|
24
|
-
}).describe("Statistics detail with monthly and total counts.");
|
|
24
|
+
}).passthrough().describe("Statistics detail with monthly and total counts.");
|
|
25
25
|
const RagieCreatePartitionPartitionsPost_PartitionStatsSchema = zod.z.object({
|
|
26
26
|
documents: zod.z.number().int().describe("Number of documents").nullable().optional(),
|
|
27
27
|
media_hosted: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),
|
|
@@ -30,7 +30,7 @@ const RagieCreatePartitionPartitionsPost_PartitionStatsSchema = zod.z.object({
|
|
|
30
30
|
audio_processed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),
|
|
31
31
|
pages_processed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),
|
|
32
32
|
video_processed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional()
|
|
33
|
-
}).describe("Statistics for partition usage.");
|
|
33
|
+
}).passthrough().describe("Statistics for partition usage.");
|
|
34
34
|
const RagieCreatePartitionPartitionsPost_PartitionLimitsSchema = zod.z.object({
|
|
35
35
|
media_hosted_limit_max: zod.z.number().int().describe("Maximum limit, in MBs, for media hosted").nullable().optional(),
|
|
36
36
|
pages_hosted_limit_max: zod.z.number().int().describe("Maximum limit, in pages, for hosted documents").nullable().optional(),
|
|
@@ -44,7 +44,7 @@ const RagieCreatePartitionPartitionsPost_PartitionLimitsSchema = zod.z.object({
|
|
|
44
44
|
audio_processed_limit_monthly: zod.z.number().int().describe("Monthly limit, in minutes, for audio processing").nullable().optional(),
|
|
45
45
|
pages_processed_limit_monthly: zod.z.number().int().describe("Monthly limit, in pages, for processed documents").nullable().optional(),
|
|
46
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.");
|
|
47
|
+
}).passthrough().describe("Limits for various partition resources.");
|
|
48
48
|
const RagieCreatePartitionPartitionsPostOutput = zod.z.object({
|
|
49
49
|
name: zod.z.string().describe("Partition identifier").nullable(),
|
|
50
50
|
stats: RagieCreatePartitionPartitionsPost_PartitionStatsSchema.nullable().optional(),
|
|
@@ -52,9 +52,9 @@ const RagieCreatePartitionPartitionsPostOutput = zod.z.object({
|
|
|
52
52
|
is_default: zod.z.boolean().describe("Whether this is the default partition").nullable(),
|
|
53
53
|
description: zod.z.string().describe("Partition description").nullable().optional(),
|
|
54
54
|
context_aware: zod.z.boolean().describe("Indicates if context-aware description is enabled").nullable(),
|
|
55
|
-
metadata_schema: zod.z.
|
|
55
|
+
metadata_schema: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Applied metadata schema as JSON Schema").nullable().optional(),
|
|
56
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.");
|
|
57
|
+
}).passthrough().describe("Response schema for partition creation containing partition details.");
|
|
58
58
|
const ragieCreatePartitionPartitionsPost = require_action.action("RAGIE_CREATE_PARTITION_PARTITIONS_POST", {
|
|
59
59
|
slug: "ragie-create-partition-partitions-post",
|
|
60
60
|
name: "Create Partition",
|
|
@@ -1 +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.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.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.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.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.object({\n name: z.string().describe(\"Partition identifier\").nullable(),\n stats: RagieCreatePartitionPartitionsPost_PartitionStatsSchema.nullable().optional(),\n limits: RagieCreatePartitionPartitionsPost_PartitionLimitsSchema.nullable().optional(),\n is_default: z.boolean().describe(\"Whether this is the default partition\").nullable(),\n description: z.string().describe(\"Partition description\").nullable().optional(),\n context_aware: z.boolean().describe(\"Indicates if context-aware description is enabled\").nullable(),\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,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CAC1H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACvG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yIAAyI,CAAC,CAAC,SAAS;CAC3L,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACtG,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS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AAS,mDAAmD,CAAC,CAAC,SAAS;CAClG,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"}
|
|
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.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.record(z.string(), z.unknown()).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.object({\n total: z.number().int().describe(\"Total count\").nullable().optional(),\n monthly: z.number().int().describe(\"Monthly count\").nullable().optional(),\n}).passthrough().describe(\"Statistics detail with monthly and total counts.\");\nconst RagieCreatePartitionPartitionsPost_PartitionStatsSchema = 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}).passthrough().describe(\"Statistics for partition usage.\");\nconst RagieCreatePartitionPartitionsPost_PartitionLimitsSchema = 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}).passthrough().describe(\"Limits for various partition resources.\");\nexport const RagieCreatePartitionPartitionsPostOutput = z.object({\n name: z.string().describe(\"Partition identifier\").nullable(),\n stats: RagieCreatePartitionPartitionsPost_PartitionStatsSchema.nullable().optional(),\n limits: RagieCreatePartitionPartitionsPost_PartitionLimitsSchema.nullable().optional(),\n is_default: z.boolean().describe(\"Whether this is the default partition\").nullable(),\n description: z.string().describe(\"Partition description\").nullable().optional(),\n context_aware: z.boolean().describe(\"Indicates if context-aware description is enabled\").nullable(),\n metadata_schema: z.record(z.string(), z.unknown()).describe(\"Applied metadata schema as JSON Schema\").nullable().optional(),\n limit_exceeded_at: z.string().describe(\"Timestamp when limit was exceeded\").nullable().optional(),\n}).passthrough().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,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,g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C,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,OAAO,wDAAwD,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQ,yDAAyD,SAAS,CAAC,CAAC,SAAS;CACrF,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACnF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAClG,iBAAiBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAAsE;AAEhG,MAAa,qCAAqCC,eAAAA,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
declare const RagieCreatePartitionPartitionsPostInput: z.ZodObject<{
|
|
5
5
|
name: z.ZodString;
|
|
6
6
|
description: z.ZodOptional<z.ZodString>;
|
|
7
|
-
metadata_schema: z.ZodOptional<z.
|
|
7
|
+
metadata_schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
8
8
|
media_hosted_limit_max: z.ZodOptional<z.ZodNumber>;
|
|
9
9
|
pages_hosted_limit_max: z.ZodOptional<z.ZodNumber>;
|
|
10
10
|
media_streamed_limit_max: z.ZodOptional<z.ZodNumber>;
|
|
@@ -25,28 +25,28 @@ declare const RagieCreatePartitionPartitionsPostOutput: z.ZodObject<{
|
|
|
25
25
|
media_hosted: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
26
26
|
total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
27
|
monthly: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>>>;
|
|
29
29
|
pages_hosted: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
30
30
|
total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
31
31
|
monthly: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
32
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>>>;
|
|
33
33
|
media_streamed: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
34
34
|
total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
35
35
|
monthly: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
36
|
-
}, z.core.$
|
|
36
|
+
}, z.core.$loose>>>;
|
|
37
37
|
audio_processed: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
38
38
|
total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
39
39
|
monthly: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
40
|
-
}, z.core.$
|
|
40
|
+
}, z.core.$loose>>>;
|
|
41
41
|
pages_processed: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
42
42
|
total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
43
43
|
monthly: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
44
|
-
}, z.core.$
|
|
44
|
+
}, z.core.$loose>>>;
|
|
45
45
|
video_processed: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
46
46
|
total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
47
47
|
monthly: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
48
|
-
}, z.core.$
|
|
49
|
-
}, z.core.$
|
|
48
|
+
}, z.core.$loose>>>;
|
|
49
|
+
}, z.core.$loose>>>;
|
|
50
50
|
limits: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
51
51
|
media_hosted_limit_max: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
52
52
|
pages_hosted_limit_max: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -60,17 +60,17 @@ declare const RagieCreatePartitionPartitionsPostOutput: z.ZodObject<{
|
|
|
60
60
|
audio_processed_limit_monthly: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
61
61
|
pages_processed_limit_monthly: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
62
62
|
video_processed_limit_monthly: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
63
|
-
}, z.core.$
|
|
63
|
+
}, z.core.$loose>>>;
|
|
64
64
|
is_default: z.ZodNullable<z.ZodBoolean>;
|
|
65
65
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
66
66
|
context_aware: z.ZodNullable<z.ZodBoolean>;
|
|
67
|
-
metadata_schema: z.ZodOptional<z.ZodNullable<z.
|
|
67
|
+
metadata_schema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
68
68
|
limit_exceeded_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
69
|
-
}, z.core.$
|
|
69
|
+
}, z.core.$loose>;
|
|
70
70
|
declare const ragieCreatePartitionPartitionsPost: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
71
71
|
name: string;
|
|
72
72
|
description?: string | undefined;
|
|
73
|
-
metadata_schema?: Record<string,
|
|
73
|
+
metadata_schema?: Record<string, unknown> | undefined;
|
|
74
74
|
media_hosted_limit_max?: number | undefined;
|
|
75
75
|
pages_hosted_limit_max?: number | undefined;
|
|
76
76
|
media_streamed_limit_max?: number | undefined;
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
declare const RagieCreatePartitionPartitionsPostInput: z.ZodObject<{
|
|
5
5
|
name: z.ZodString;
|
|
6
6
|
description: z.ZodOptional<z.ZodString>;
|
|
7
|
-
metadata_schema: z.ZodOptional<z.
|
|
7
|
+
metadata_schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
8
8
|
media_hosted_limit_max: z.ZodOptional<z.ZodNumber>;
|
|
9
9
|
pages_hosted_limit_max: z.ZodOptional<z.ZodNumber>;
|
|
10
10
|
media_streamed_limit_max: z.ZodOptional<z.ZodNumber>;
|
|
@@ -25,28 +25,28 @@ declare const RagieCreatePartitionPartitionsPostOutput: z.ZodObject<{
|
|
|
25
25
|
media_hosted: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
26
26
|
total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
27
|
monthly: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>>>;
|
|
29
29
|
pages_hosted: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
30
30
|
total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
31
31
|
monthly: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
32
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>>>;
|
|
33
33
|
media_streamed: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
34
34
|
total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
35
35
|
monthly: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
36
|
-
}, z.core.$
|
|
36
|
+
}, z.core.$loose>>>;
|
|
37
37
|
audio_processed: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
38
38
|
total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
39
39
|
monthly: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
40
|
-
}, z.core.$
|
|
40
|
+
}, z.core.$loose>>>;
|
|
41
41
|
pages_processed: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
42
42
|
total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
43
43
|
monthly: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
44
|
-
}, z.core.$
|
|
44
|
+
}, z.core.$loose>>>;
|
|
45
45
|
video_processed: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
46
46
|
total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
47
47
|
monthly: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
48
|
-
}, z.core.$
|
|
49
|
-
}, z.core.$
|
|
48
|
+
}, z.core.$loose>>>;
|
|
49
|
+
}, z.core.$loose>>>;
|
|
50
50
|
limits: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
51
51
|
media_hosted_limit_max: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
52
52
|
pages_hosted_limit_max: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -60,17 +60,17 @@ declare const RagieCreatePartitionPartitionsPostOutput: z.ZodObject<{
|
|
|
60
60
|
audio_processed_limit_monthly: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
61
61
|
pages_processed_limit_monthly: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
62
62
|
video_processed_limit_monthly: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
63
|
-
}, z.core.$
|
|
63
|
+
}, z.core.$loose>>>;
|
|
64
64
|
is_default: z.ZodNullable<z.ZodBoolean>;
|
|
65
65
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
66
66
|
context_aware: z.ZodNullable<z.ZodBoolean>;
|
|
67
|
-
metadata_schema: z.ZodOptional<z.ZodNullable<z.
|
|
67
|
+
metadata_schema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
68
68
|
limit_exceeded_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
69
|
-
}, z.core.$
|
|
69
|
+
}, z.core.$loose>;
|
|
70
70
|
declare const ragieCreatePartitionPartitionsPost: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
71
71
|
name: string;
|
|
72
72
|
description?: string | undefined;
|
|
73
|
-
metadata_schema?: Record<string,
|
|
73
|
+
metadata_schema?: Record<string, unknown> | undefined;
|
|
74
74
|
media_hosted_limit_max?: number | undefined;
|
|
75
75
|
pages_hosted_limit_max?: number | undefined;
|
|
76
76
|
media_streamed_limit_max?: number | undefined;
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
const RagieCreatePartitionPartitionsPostInput = z.object({
|
|
5
5
|
name: z.string().describe("Identifier for the partition. This is a required field that uniquely identifies the partition."),
|
|
6
6
|
description: z.string().describe("Overview text describing the partition's purpose or usage").optional(),
|
|
7
|
-
metadata_schema: z.
|
|
7
|
+
metadata_schema: z.record(z.string(), z.unknown()).describe("Optional subset of document metadata defined as JSON Schema. Allows defining custom metadata structure for documents in this partition.").optional(),
|
|
8
8
|
media_hosted_limit_max: z.number().int().describe("Maximum limit, in MBs, for media hosted").optional(),
|
|
9
9
|
pages_hosted_limit_max: z.number().int().describe("Maximum limit, in pages, for hosted documents").optional(),
|
|
10
10
|
media_streamed_limit_max: z.number().int().describe("Maximum limit, in MBs, for media streamed").optional(),
|
|
@@ -21,7 +21,7 @@ const RagieCreatePartitionPartitionsPostInput = z.object({
|
|
|
21
21
|
const RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema = z.object({
|
|
22
22
|
total: z.number().int().describe("Total count").nullable().optional(),
|
|
23
23
|
monthly: z.number().int().describe("Monthly count").nullable().optional()
|
|
24
|
-
}).describe("Statistics detail with monthly and total counts.");
|
|
24
|
+
}).passthrough().describe("Statistics detail with monthly and total counts.");
|
|
25
25
|
const RagieCreatePartitionPartitionsPost_PartitionStatsSchema = z.object({
|
|
26
26
|
documents: z.number().int().describe("Number of documents").nullable().optional(),
|
|
27
27
|
media_hosted: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),
|
|
@@ -30,7 +30,7 @@ const RagieCreatePartitionPartitionsPost_PartitionStatsSchema = z.object({
|
|
|
30
30
|
audio_processed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),
|
|
31
31
|
pages_processed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional(),
|
|
32
32
|
video_processed: RagieCreatePartitionPartitionsPost_PartitionStatsDetailSchema.nullable().optional()
|
|
33
|
-
}).describe("Statistics for partition usage.");
|
|
33
|
+
}).passthrough().describe("Statistics for partition usage.");
|
|
34
34
|
const RagieCreatePartitionPartitionsPost_PartitionLimitsSchema = z.object({
|
|
35
35
|
media_hosted_limit_max: z.number().int().describe("Maximum limit, in MBs, for media hosted").nullable().optional(),
|
|
36
36
|
pages_hosted_limit_max: z.number().int().describe("Maximum limit, in pages, for hosted documents").nullable().optional(),
|
|
@@ -44,7 +44,7 @@ const RagieCreatePartitionPartitionsPost_PartitionLimitsSchema = z.object({
|
|
|
44
44
|
audio_processed_limit_monthly: z.number().int().describe("Monthly limit, in minutes, for audio processing").nullable().optional(),
|
|
45
45
|
pages_processed_limit_monthly: z.number().int().describe("Monthly limit, in pages, for processed documents").nullable().optional(),
|
|
46
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.");
|
|
47
|
+
}).passthrough().describe("Limits for various partition resources.");
|
|
48
48
|
const ragieCreatePartitionPartitionsPost = action("RAGIE_CREATE_PARTITION_PARTITIONS_POST", {
|
|
49
49
|
slug: "ragie-create-partition-partitions-post",
|
|
50
50
|
name: "Create Partition",
|
|
@@ -57,9 +57,9 @@ const ragieCreatePartitionPartitionsPost = action("RAGIE_CREATE_PARTITION_PARTIT
|
|
|
57
57
|
is_default: z.boolean().describe("Whether this is the default partition").nullable(),
|
|
58
58
|
description: z.string().describe("Partition description").nullable().optional(),
|
|
59
59
|
context_aware: z.boolean().describe("Indicates if context-aware description is enabled").nullable(),
|
|
60
|
-
metadata_schema: z.
|
|
60
|
+
metadata_schema: z.record(z.string(), z.unknown()).describe("Applied metadata schema as JSON Schema").nullable().optional(),
|
|
61
61
|
limit_exceeded_at: z.string().describe("Timestamp when limit was exceeded").nullable().optional()
|
|
62
|
-
}).describe("Response schema for partition creation containing partition details.")
|
|
62
|
+
}).passthrough().describe("Response schema for partition creation containing partition details.")
|
|
63
63
|
});
|
|
64
64
|
//#endregion
|
|
65
65
|
export { ragieCreatePartitionPartitionsPost };
|
|
@@ -1 +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.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.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.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.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.object({\n name: z.string().describe(\"Partition identifier\").nullable(),\n stats: RagieCreatePartitionPartitionsPost_PartitionStatsSchema.nullable().optional(),\n limits: RagieCreatePartitionPartitionsPost_PartitionLimitsSchema.nullable().optional(),\n is_default: z.boolean().describe(\"Whether this is the default partition\").nullable(),\n description: z.string().describe(\"Partition description\").nullable().optional(),\n context_aware: z.boolean().describe(\"Indicates if context-aware description is enabled\").nullable(),\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: RagieCreateP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,wDAAwD,SAAS,CAAC,CAAC,SAAS;EACnF,QAAQ,yDAAyD,SAAS,CAAC,CAAC,SAAS;EACrF,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EACnF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAClG,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"}
|
|
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.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.record(z.string(), z.unknown()).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.object({\n total: z.number().int().describe(\"Total count\").nullable().optional(),\n monthly: z.number().int().describe(\"Monthly count\").nullable().optional(),\n}).passthrough().describe(\"Statistics detail with monthly and total counts.\");\nconst RagieCreatePartitionPartitionsPost_PartitionStatsSchema = 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}).passthrough().describe(\"Statistics for partition usage.\");\nconst RagieCreatePartitionPartitionsPost_PartitionLimitsSchema = 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}).passthrough().describe(\"Limits for various partition resources.\");\nexport const RagieCreatePartitionPartitionsPostOutput = z.object({\n name: z.string().describe(\"Partition identifier\").nullable(),\n stats: RagieCreatePartitionPartitionsPost_PartitionStatsSchema.nullable().optional(),\n limits: RagieCreatePartitionPartitionsPost_PartitionLimitsSchema.nullable().optional(),\n is_default: z.boolean().describe(\"Whether this is the default partition\").nullable(),\n description: z.string().describe(\"Partition description\").nullable().optional(),\n context_aware: z.boolean().describe(\"Indicates if context-aware description is enabled\").nullable(),\n metadata_schema: z.record(z.string(), z.unknown()).describe(\"Applied metadata schema as JSON Schema\").nullable().optional(),\n limit_exceeded_at: z.string().describe(\"Timestamp when limit was exceeded\").nullable().optional(),\n}).passthrough().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: RagieCreatePartitionP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AAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC3D,OAAO,wDAAwD,SAAS,CAAC,CAAC,SAAS;EACnF,QAAQ,yDAAyD,SAAS,CAAC,CAAC,SAAS;EACrF,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EACnF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAClG,iBAAiB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAOhB;AACV,CAAC"}
|
|
@@ -6,7 +6,7 @@ const RagieDeleteDocumentInput = zod.z.object({
|
|
|
6
6
|
partition: zod.z.string().describe("An optional partition to scope the request to.").optional(),
|
|
7
7
|
document_id: zod.z.string().describe("The unique identifier (UUID) of the document to delete.")
|
|
8
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.");
|
|
9
|
+
const RagieDeleteDocumentOutput = zod.z.object({ status: zod.z.string().describe("Status of the deletion request. Indicates whether the deletion was successful.").nullable().optional() }).passthrough().describe("Response model for the delete document action.");
|
|
10
10
|
const ragieDeleteDocument = require_action.action("RAGIE_DELETE_DOCUMENT", {
|
|
11
11
|
slug: "ragie-delete-document",
|
|
12
12
|
name: "Delete Document",
|
|
@@ -1 +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.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.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,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,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,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpI,CAAC,CAAC,CAAC,SAAS,gDAAgD;
|
|
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.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.object({\n status: z.string().describe(\"Status of the deletion request. Indicates whether the deletion was successful.\").nullable().optional(),\n}).passthrough().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,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,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,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ declare const RagieDeleteDocumentInput: z.ZodObject<{
|
|
|
8
8
|
}, z.core.$strip>;
|
|
9
9
|
declare const RagieDeleteDocumentOutput: z.ZodObject<{
|
|
10
10
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const ragieDeleteDocument: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
document_id: string;
|
|
14
14
|
async?: boolean | undefined;
|
|
@@ -8,7 +8,7 @@ declare const RagieDeleteDocumentInput: z.ZodObject<{
|
|
|
8
8
|
}, z.core.$strip>;
|
|
9
9
|
declare const RagieDeleteDocumentOutput: z.ZodObject<{
|
|
10
10
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const ragieDeleteDocument: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
document_id: string;
|
|
14
14
|
async?: boolean | undefined;
|
|
@@ -9,7 +9,7 @@ const ragieDeleteDocument = action("RAGIE_DELETE_DOCUMENT", {
|
|
|
9
9
|
partition: z.string().describe("An optional partition to scope the request to.").optional(),
|
|
10
10
|
document_id: z.string().describe("The unique identifier (UUID) of the document to delete.")
|
|
11
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.")
|
|
12
|
+
output: z.object({ status: z.string().describe("Status of the deletion request. Indicates whether the deletion was successful.").nullable().optional() }).passthrough().describe("Response model for the delete document action.")
|
|
13
13
|
});
|
|
14
14
|
//#endregion
|
|
15
15
|
export { ragieDeleteDocument };
|
|
@@ -1 +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.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.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,OAbsC,EAAE,OAAO;EAC/C,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,QATuC,EAAE,OAAO,EAChD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpI,CAAC,CAAC,CAAC,SAAS,
|
|
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.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.object({\n status: z.string().describe(\"Status of the deletion request. Indicates whether the deletion was successful.\").nullable().optional(),\n}).passthrough().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,OAbsC,EAAE,OAAO;EAC/C,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,QATuC,EAAE,OAAO,EAChD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/delete-instruction.ts
|
|
4
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.");
|
|
5
|
+
const RagieDeleteInstructionOutput = zod.z.object({ message: zod.z.string().describe("Confirmation message indicating the result of the deletion").nullable().optional() }).passthrough().describe("Response schema for the delete instruction action.");
|
|
6
6
|
const ragieDeleteInstruction = require_action.action("RAGIE_DELETE_INSTRUCTION", {
|
|
7
7
|
slug: "ragie-delete-instruction",
|
|
8
8
|
name: "Delete Instruction",
|
|
@@ -1 +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.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.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,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,EACjG,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjH,CAAC,CAAC,CAAC,SAAS,oDAAoD;
|
|
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.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.object({\n message: z.string().describe(\"Confirmation message indicating the result of the deletion\").nullable().optional(),\n}).passthrough().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,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,EACjG,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -6,7 +6,7 @@ declare const RagieDeleteInstructionInput: z.ZodObject<{
|
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const RagieDeleteInstructionOutput: z.ZodObject<{
|
|
8
8
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>;
|
|
10
10
|
declare const ragieDeleteInstruction: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
11
|
instruction_id: string;
|
|
12
12
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -6,7 +6,7 @@ declare const RagieDeleteInstructionInput: z.ZodObject<{
|
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const RagieDeleteInstructionOutput: z.ZodObject<{
|
|
8
8
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>;
|
|
10
10
|
declare const ragieDeleteInstruction: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
11
|
instruction_id: string;
|
|
12
12
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -5,7 +5,7 @@ const ragieDeleteInstruction = action("RAGIE_DELETE_INSTRUCTION", {
|
|
|
5
5
|
name: "Delete Instruction",
|
|
6
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
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.")
|
|
8
|
+
output: z.object({ message: z.string().describe("Confirmation message indicating the result of the deletion").nullable().optional() }).passthrough().describe("Response schema for the delete instruction action.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { ragieDeleteInstruction };
|
|
@@ -1 +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.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.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,OAXyC,EAAE,OAAO,EAClD,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,EACjG,CAAC,CAAC,CAAC,SAAS,qEASH;CACP,QAT0C,EAAE,OAAO,EACnD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjH,CAAC,CAAC,CAAC,SAAS,
|
|
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.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.object({\n message: z.string().describe(\"Confirmation message indicating the result of the deletion\").nullable().optional(),\n}).passthrough().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,OAXyC,EAAE,OAAO,EAClD,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,EACjG,CAAC,CAAC,CAAC,SAAS,qEASH;CACP,QAT0C,EAAE,OAAO,EACnD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const RagieDeletePartitionInput = zod.z.object({
|
|
|
5
5
|
partition_id: zod.z.string().describe("The partition identifier to delete"),
|
|
6
6
|
async_deletion: zod.z.boolean().describe("When true, performs partition deletion asynchronously. Defaults to false.").optional()
|
|
7
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.");
|
|
8
|
+
const RagieDeletePartitionOutput = zod.z.object({ message: zod.z.string().describe("Status message indicating the result of the deletion operation").nullable().optional() }).passthrough().describe("Response model for partition deletion operation.");
|
|
9
9
|
const ragieDeletePartition = require_action.action("RAGIE_DELETE_PARTITION", {
|
|
10
10
|
slug: "ragie-delete-partition",
|
|
11
11
|
name: "Delete Partition",
|
|
@@ -1 +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.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.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,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,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,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrH,CAAC,CAAC,CAAC,SAAS,kDAAkD;
|
|
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.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.object({\n message: z.string().describe(\"Status message indicating the result of the deletion operation\").nullable().optional(),\n}).passthrough().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,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,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,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ declare const RagieDeletePartitionInput: z.ZodObject<{
|
|
|
7
7
|
}, z.core.$strip>;
|
|
8
8
|
declare const RagieDeletePartitionOutput: z.ZodObject<{
|
|
9
9
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const ragieDeletePartition: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
partition_id: string;
|
|
13
13
|
async_deletion?: boolean | undefined;
|
|
@@ -7,7 +7,7 @@ declare const RagieDeletePartitionInput: z.ZodObject<{
|
|
|
7
7
|
}, z.core.$strip>;
|
|
8
8
|
declare const RagieDeletePartitionOutput: z.ZodObject<{
|
|
9
9
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const ragieDeletePartition: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
partition_id: string;
|
|
13
13
|
async_deletion?: boolean | undefined;
|
|
@@ -8,7 +8,7 @@ const ragieDeletePartition = action("RAGIE_DELETE_PARTITION", {
|
|
|
8
8
|
partition_id: z.string().describe("The partition identifier to delete"),
|
|
9
9
|
async_deletion: z.boolean().describe("When true, performs partition deletion asynchronously. Defaults to false.").optional()
|
|
10
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.")
|
|
11
|
+
output: z.object({ message: z.string().describe("Status message indicating the result of the deletion operation").nullable().optional() }).passthrough().describe("Response model for partition deletion operation.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { ragieDeletePartition };
|
|
@@ -1 +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.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.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,OAZuC,EAAE,OAAO;EAChD,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,QATwC,EAAE,OAAO,EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrH,CAAC,CAAC,CAAC,SAAS,
|
|
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.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.object({\n message: z.string().describe(\"Status message indicating the result of the deletion operation\").nullable().optional(),\n}).passthrough().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,OAZuC,EAAE,OAAO;EAChD,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,QATwC,EAAE,OAAO,EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
|
|
@@ -23,7 +23,7 @@ const RagieGetDocumentChunkContentOutput = zod.z.object({
|
|
|
23
23
|
content: zod.z.string().describe("The chunk content. For text/plain, contains the text. For binary formats, contains base64-encoded data or URL to the content.").nullable(),
|
|
24
24
|
content_type: zod.z.string().describe("The MIME type of the returned content.").nullable().optional(),
|
|
25
25
|
content_length: zod.z.number().int().describe("The size of the content in bytes.").nullable().optional()
|
|
26
|
-
}).describe("Response model for document chunk content.");
|
|
26
|
+
}).passthrough().describe("Response model for document chunk content.");
|
|
27
27
|
const ragieGetDocumentChunkContent = require_action.action("RAGIE_GET_DOCUMENT_CHUNK_CONTENT", {
|
|
28
28
|
slug: "ragie-get-document-chunk-content",
|
|
29
29
|
name: "Get Document Chunk Content",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-document-chunk-content.cjs","names":["z","action"],"sources":["../../src/actions/get-document-chunk-content.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieGetDocumentChunkContentInput = z.object({\n chunk_id: z.string().describe(\"The unique identifier of the chunk (UUID format).\"),\n download: z.boolean().default(false).describe(\"Whether to return the content as a file download or a raw stream. Default is false.\").optional(),\n partition: z.string().describe(\"Optional partition identifier to scope the request for multi-tenant isolation.\").optional(),\n media_type: z.enum([\"text/plain\", \"audio/mpeg\", \"video/mp4\", \"image/webp\", \"image/heic\", \"image/bmp\", \"image/png\", \"image/jpeg\", \"image/tiff\"]).describe(\"Desired output format as MIME type. If not specified, returns the content in its original format.\").optional(),\n document_id: z.string().describe(\"The unique identifier of the document (UUID format).\"),\n range_header: z.string().describe(\"Standard HTTP range header for byte-range requests (partial content), e.g., 'bytes=0-1023'.\").optional(),\n}).describe(\"Request model for retrieving document chunk content.\");\nexport const RagieGetDocumentChunkContentOutput = z.object({\n content: z.string().describe(\"The chunk content. For text/plain, contains the text. For binary formats, contains base64-encoded data or URL to the content.\").nullable(),\n content_type: z.string().describe(\"The MIME type of the returned content.\").nullable().optional(),\n content_length: z.number().int().describe(\"The size of the content in bytes.\").nullable().optional(),\n}).describe(\"Response model for document chunk content.\");\n\nexport const ragieGetDocumentChunkContent = action(\"RAGIE_GET_DOCUMENT_CHUNK_CONTENT\", {\n slug: \"ragie-get-document-chunk-content\",\n name: \"Get Document Chunk Content\",\n description: \"Tool to retrieve document chunk content in requested format with streaming support for media. Use when you need to get the actual content of a specific chunk from a document.\",\n input: RagieGetDocumentChunkContentInput,\n output: RagieGetDocumentChunkContentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACjF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC9I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAC1H,YAAYA,IAAAA,EAAE,KAAK;EAAC;EAAc;EAAc;EAAa;EAAc;EAAc;EAAa;EAAa;EAAc;CAAY,CAAC,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CACvQ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACvF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;AAC5I,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CACvK,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,4CAA4C;
|
|
1
|
+
{"version":3,"file":"get-document-chunk-content.cjs","names":["z","action"],"sources":["../../src/actions/get-document-chunk-content.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RagieGetDocumentChunkContentInput = z.object({\n chunk_id: z.string().describe(\"The unique identifier of the chunk (UUID format).\"),\n download: z.boolean().default(false).describe(\"Whether to return the content as a file download or a raw stream. Default is false.\").optional(),\n partition: z.string().describe(\"Optional partition identifier to scope the request for multi-tenant isolation.\").optional(),\n media_type: z.enum([\"text/plain\", \"audio/mpeg\", \"video/mp4\", \"image/webp\", \"image/heic\", \"image/bmp\", \"image/png\", \"image/jpeg\", \"image/tiff\"]).describe(\"Desired output format as MIME type. If not specified, returns the content in its original format.\").optional(),\n document_id: z.string().describe(\"The unique identifier of the document (UUID format).\"),\n range_header: z.string().describe(\"Standard HTTP range header for byte-range requests (partial content), e.g., 'bytes=0-1023'.\").optional(),\n}).describe(\"Request model for retrieving document chunk content.\");\nexport const RagieGetDocumentChunkContentOutput = z.object({\n content: z.string().describe(\"The chunk content. For text/plain, contains the text. For binary formats, contains base64-encoded data or URL to the content.\").nullable(),\n content_type: z.string().describe(\"The MIME type of the returned content.\").nullable().optional(),\n content_length: z.number().int().describe(\"The size of the content in bytes.\").nullable().optional(),\n}).passthrough().describe(\"Response model for document chunk content.\");\n\nexport const ragieGetDocumentChunkContent = action(\"RAGIE_GET_DOCUMENT_CHUNK_CONTENT\", {\n slug: \"ragie-get-document-chunk-content\",\n name: \"Get Document Chunk Content\",\n description: \"Tool to retrieve document chunk content in requested format with streaming support for media. Use when you need to get the actual content of a specific chunk from a document.\",\n input: RagieGetDocumentChunkContentInput,\n output: RagieGetDocumentChunkContentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACjF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC9I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAC1H,YAAYA,IAAAA,EAAE,KAAK;EAAC;EAAc;EAAc;EAAa;EAAc;EAAc;EAAa;EAAa;EAAc;CAAY,CAAC,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CACvQ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACvF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;AAC5I,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CACvK,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -23,7 +23,7 @@ declare const RagieGetDocumentChunkContentOutput: z.ZodObject<{
|
|
|
23
23
|
content: z.ZodNullable<z.ZodString>;
|
|
24
24
|
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
content_length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>;
|
|
27
27
|
declare const ragieGetDocumentChunkContent: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
28
28
|
chunk_id: string;
|
|
29
29
|
document_id: string;
|
|
@@ -23,7 +23,7 @@ declare const RagieGetDocumentChunkContentOutput: z.ZodObject<{
|
|
|
23
23
|
content: z.ZodNullable<z.ZodString>;
|
|
24
24
|
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
content_length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>;
|
|
27
27
|
declare const ragieGetDocumentChunkContent: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
28
28
|
chunk_id: string;
|
|
29
29
|
document_id: string;
|
|
@@ -26,7 +26,7 @@ const ragieGetDocumentChunkContent = action("RAGIE_GET_DOCUMENT_CHUNK_CONTENT",
|
|
|
26
26
|
content: z.string().describe("The chunk content. For text/plain, contains the text. For binary formats, contains base64-encoded data or URL to the content.").nullable(),
|
|
27
27
|
content_type: z.string().describe("The MIME type of the returned content.").nullable().optional(),
|
|
28
28
|
content_length: z.number().int().describe("The size of the content in bytes.").nullable().optional()
|
|
29
|
-
}).describe("Response model for document chunk content.")
|
|
29
|
+
}).passthrough().describe("Response model for document chunk content.")
|
|
30
30
|
});
|
|
31
31
|
//#endregion
|
|
32
32
|
export { ragieGetDocumentChunkContent };
|