@keystrokehq/rev_ai 0.1.0 → 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/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/delete-custom-vocabulary.cjs +1 -1
- package/dist/actions/delete-custom-vocabulary.cjs.map +1 -1
- package/dist/actions/delete-custom-vocabulary.d.cts +7 -3
- package/dist/actions/delete-custom-vocabulary.d.cts.map +1 -1
- package/dist/actions/delete-custom-vocabulary.d.mts +7 -3
- package/dist/actions/delete-custom-vocabulary.d.mts.map +1 -1
- package/dist/actions/delete-custom-vocabulary.mjs +1 -1
- package/dist/actions/delete-custom-vocabulary.mjs.map +1 -1
- package/dist/actions/delete-job-by-id.cjs +1 -1
- package/dist/actions/delete-job-by-id.cjs.map +1 -1
- package/dist/actions/delete-job-by-id.d.cts +7 -3
- package/dist/actions/delete-job-by-id.d.cts.map +1 -1
- package/dist/actions/delete-job-by-id.d.mts +7 -3
- package/dist/actions/delete-job-by-id.d.mts.map +1 -1
- package/dist/actions/delete-job-by-id.mjs +1 -1
- package/dist/actions/delete-job-by-id.mjs.map +1 -1
- package/dist/actions/get-account.cjs +7 -7
- package/dist/actions/get-account.cjs.map +1 -1
- package/dist/actions/get-account.d.cts +10 -3
- package/dist/actions/get-account.d.cts.map +1 -1
- package/dist/actions/get-account.d.mts +10 -3
- package/dist/actions/get-account.d.mts.map +1 -1
- package/dist/actions/get-account.mjs +7 -7
- package/dist/actions/get-account.mjs.map +1 -1
- package/dist/actions/get-captions.cjs +1 -1
- package/dist/actions/get-captions.cjs.map +1 -1
- package/dist/actions/get-captions.d.cts +16 -3
- package/dist/actions/get-captions.d.cts.map +1 -1
- package/dist/actions/get-captions.d.mts +16 -3
- package/dist/actions/get-captions.d.mts.map +1 -1
- package/dist/actions/get-captions.mjs +1 -1
- package/dist/actions/get-captions.mjs.map +1 -1
- package/dist/actions/get-custom-vocabulary-details.cjs +5 -5
- package/dist/actions/get-custom-vocabulary-details.cjs.map +1 -1
- package/dist/actions/get-custom-vocabulary-details.d.cts +19 -3
- package/dist/actions/get-custom-vocabulary-details.d.cts.map +1 -1
- package/dist/actions/get-custom-vocabulary-details.d.mts +19 -3
- package/dist/actions/get-custom-vocabulary-details.d.mts.map +1 -1
- package/dist/actions/get-custom-vocabulary-details.mjs +5 -5
- package/dist/actions/get-custom-vocabulary-details.mjs.map +1 -1
- package/dist/actions/get-job-by-id.cjs +8 -8
- package/dist/actions/get-job-by-id.cjs.map +1 -1
- package/dist/actions/get-job-by-id.d.cts +31 -3
- package/dist/actions/get-job-by-id.d.cts.map +1 -1
- package/dist/actions/get-job-by-id.d.mts +31 -3
- package/dist/actions/get-job-by-id.d.mts.map +1 -1
- package/dist/actions/get-job-by-id.mjs +8 -8
- package/dist/actions/get-job-by-id.mjs.map +1 -1
- package/dist/actions/get-list-of-jobs.cjs +6 -6
- package/dist/actions/get-list-of-jobs.cjs.map +1 -1
- package/dist/actions/get-list-of-jobs.d.cts +26 -3
- package/dist/actions/get-list-of-jobs.d.cts.map +1 -1
- package/dist/actions/get-list-of-jobs.d.mts +26 -3
- package/dist/actions/get-list-of-jobs.d.mts.map +1 -1
- package/dist/actions/get-list-of-jobs.mjs +6 -6
- package/dist/actions/get-list-of-jobs.mjs.map +1 -1
- package/dist/actions/get-transcript-by-id.cjs +6 -6
- package/dist/actions/get-transcript-by-id.cjs.map +1 -1
- package/dist/actions/get-transcript-by-id.d.cts +24 -3
- package/dist/actions/get-transcript-by-id.d.cts.map +1 -1
- package/dist/actions/get-transcript-by-id.d.mts +24 -3
- package/dist/actions/get-transcript-by-id.d.mts.map +1 -1
- package/dist/actions/get-transcript-by-id.mjs +6 -6
- package/dist/actions/get-transcript-by-id.mjs.map +1 -1
- package/dist/actions/start-stream-transcription.cjs +1 -1
- package/dist/actions/start-stream-transcription.cjs.map +1 -1
- package/dist/actions/start-stream-transcription.d.cts +40 -3
- package/dist/actions/start-stream-transcription.d.cts.map +1 -1
- package/dist/actions/start-stream-transcription.d.mts +40 -3
- package/dist/actions/start-stream-transcription.d.mts.map +1 -1
- package/dist/actions/start-stream-transcription.mjs +1 -1
- package/dist/actions/start-stream-transcription.mjs.map +1 -1
- package/dist/actions/submit-custom-vocabulary.cjs +4 -4
- package/dist/actions/submit-custom-vocabulary.cjs.map +1 -1
- package/dist/actions/submit-custom-vocabulary.d.cts +18 -3
- package/dist/actions/submit-custom-vocabulary.d.cts.map +1 -1
- package/dist/actions/submit-custom-vocabulary.d.mts +18 -3
- package/dist/actions/submit-custom-vocabulary.d.mts.map +1 -1
- package/dist/actions/submit-custom-vocabulary.mjs +4 -4
- package/dist/actions/submit-custom-vocabulary.mjs.map +1 -1
- package/dist/actions/submit-transcription-job.cjs +7 -7
- package/dist/actions/submit-transcription-job.cjs.map +1 -1
- package/dist/actions/submit-transcription-job.d.cts +66 -3
- package/dist/actions/submit-transcription-job.d.cts.map +1 -1
- package/dist/actions/submit-transcription-job.d.mts +66 -3
- package/dist/actions/submit-transcription-job.d.mts.map +1 -1
- package/dist/actions/submit-transcription-job.mjs +7 -7
- package/dist/actions/submit-transcription-job.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["revAi","executeRevAiTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { revAi } from \"./app\";\nimport { executeRevAiTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["revAi","executeRevAiTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { revAi } from \"./app\";\nimport { executeRevAiTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return revAi.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeRevAiTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,MAAM,OAAO;EAClB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,iBAAiB,MAAM,KAAgC,CAAC;EACxF;CACF,CAAC;AACH"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { revAi } from \"./app\";\nimport { executeRevAiTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { revAi } from \"./app\";\nimport { executeRevAiTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return revAi.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeRevAiTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,MAAM,OAAO;EAClB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,iBAAiB,MAAM,KAAgC,CAAC;EACxF;CACF,CAAC;AACH"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/delete-custom-vocabulary.ts
|
|
4
4
|
const RevAiDeleteCustomVocabularyInput = zod.z.object({ id: zod.z.string().describe("Unique identifier of the custom vocabulary to delete") }).describe("Request schema for deleting a Rev.ai custom vocabulary.");
|
|
5
|
-
const RevAiDeleteCustomVocabularyOutput = zod.z.
|
|
5
|
+
const RevAiDeleteCustomVocabularyOutput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Empty response for successful deletion.");
|
|
6
6
|
const revAiDeleteCustomVocabulary = require_action.action("REV_AI_DELETE_CUSTOM_VOCABULARY", {
|
|
7
7
|
slug: "rev_ai-delete-custom-vocabulary",
|
|
8
8
|
name: "Delete Custom Vocabulary",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-custom-vocabulary.cjs","names":["z","action"],"sources":["../../src/actions/delete-custom-vocabulary.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RevAiDeleteCustomVocabularyInput
|
|
1
|
+
{"version":3,"file":"delete-custom-vocabulary.cjs","names":["z","action"],"sources":["../../src/actions/delete-custom-vocabulary.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RevAiDeleteCustomVocabularyInput = z.object({\n id: z.string().describe(\"Unique identifier of the custom vocabulary to delete\"),\n}).describe(\"Request schema for deleting a Rev.ai custom vocabulary.\");\nexport const RevAiDeleteCustomVocabularyOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful deletion.\");\n\nexport const revAiDeleteCustomVocabulary = action(\"REV_AI_DELETE_CUSTOM_VOCABULARY\", {\n slug: \"rev_ai-delete-custom-vocabulary\",\n name: \"Delete Custom Vocabulary\",\n description: \"Tool to delete a completed custom vocabulary and its data. Use when you need to remove an unused vocabulary after confirming it's no longer needed.\",\n input: RevAiDeleteCustomVocabularyInput,\n output: RevAiDeleteCustomVocabularyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,EAChF,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,oCAAoCA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErI,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-custom-vocabulary.d.ts
|
|
4
|
-
declare const RevAiDeleteCustomVocabularyInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RevAiDeleteCustomVocabularyInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RevAiDeleteCustomVocabularyOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8
|
+
declare const revAiDeleteCustomVocabulary: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
|
+
id: string;
|
|
10
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
11
|
//#endregion
|
|
8
12
|
export { revAiDeleteCustomVocabulary };
|
|
9
13
|
//# sourceMappingURL=delete-custom-vocabulary.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-custom-vocabulary.d.cts","names":[],"sources":["../../src/actions/delete-custom-vocabulary.ts"],"mappings":";;;cAIa,gCAAA,
|
|
1
|
+
{"version":3,"file":"delete-custom-vocabulary.d.cts","names":[],"sources":["../../src/actions/delete-custom-vocabulary.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAGhC,iCAAA,EAAiC,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEjC,2BAAA,gCAA2B,wBAAA"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-custom-vocabulary.d.ts
|
|
4
|
-
declare const RevAiDeleteCustomVocabularyInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RevAiDeleteCustomVocabularyInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RevAiDeleteCustomVocabularyOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8
|
+
declare const revAiDeleteCustomVocabulary: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
|
+
id: string;
|
|
10
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
11
|
//#endregion
|
|
8
12
|
export { revAiDeleteCustomVocabulary };
|
|
9
13
|
//# sourceMappingURL=delete-custom-vocabulary.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-custom-vocabulary.d.mts","names":[],"sources":["../../src/actions/delete-custom-vocabulary.ts"],"mappings":";;;cAIa,gCAAA,
|
|
1
|
+
{"version":3,"file":"delete-custom-vocabulary.d.mts","names":[],"sources":["../../src/actions/delete-custom-vocabulary.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAGhC,iCAAA,EAAiC,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEjC,2BAAA,gCAA2B,wBAAA"}
|
|
@@ -5,7 +5,7 @@ const revAiDeleteCustomVocabulary = action("REV_AI_DELETE_CUSTOM_VOCABULARY", {
|
|
|
5
5
|
name: "Delete Custom Vocabulary",
|
|
6
6
|
description: "Tool to delete a completed custom vocabulary and its data. Use when you need to remove an unused vocabulary after confirming it's no longer needed.",
|
|
7
7
|
input: z.object({ id: z.string().describe("Unique identifier of the custom vocabulary to delete") }).describe("Request schema for deleting a Rev.ai custom vocabulary."),
|
|
8
|
-
output: z.
|
|
8
|
+
output: z.record(z.string(), z.unknown()).describe("Empty response for successful deletion.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { revAiDeleteCustomVocabulary };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-custom-vocabulary.mjs","names":[],"sources":["../../src/actions/delete-custom-vocabulary.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RevAiDeleteCustomVocabularyInput
|
|
1
|
+
{"version":3,"file":"delete-custom-vocabulary.mjs","names":[],"sources":["../../src/actions/delete-custom-vocabulary.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RevAiDeleteCustomVocabularyInput = z.object({\n id: z.string().describe(\"Unique identifier of the custom vocabulary to delete\"),\n}).describe(\"Request schema for deleting a Rev.ai custom vocabulary.\");\nexport const RevAiDeleteCustomVocabularyOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful deletion.\");\n\nexport const revAiDeleteCustomVocabulary = action(\"REV_AI_DELETE_CUSTOM_VOCABULARY\", {\n slug: \"rev_ai-delete-custom-vocabulary\",\n name: \"Delete Custom Vocabulary\",\n description: \"Tool to delete a completed custom vocabulary and its data. Use when you need to remove an unused vocabulary after confirming it's no longer needed.\",\n input: RevAiDeleteCustomVocabularyInput,\n output: RevAiDeleteCustomVocabularyOutput,\n});\n"],"mappings":";;AASA,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAT8C,EAAE,OAAO,EACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,EAChF,CAAC,CAAC,CAAC,SAAS,yDAOH;CACP,QAP+C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAOlF;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/delete-job-by-id.ts
|
|
4
4
|
const RevAiDeleteJobByIdInput = zod.z.object({ id: zod.z.string().describe("The unique identifier of the job to delete") }).describe("Request schema for deleting a Rev.ai transcription job.");
|
|
5
|
-
const RevAiDeleteJobByIdOutput = zod.z.
|
|
5
|
+
const RevAiDeleteJobByIdOutput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Empty response for successful deletion.");
|
|
6
6
|
const revAiDeleteJobById = require_action.action("REV_AI_DELETE_JOB_BY_ID", {
|
|
7
7
|
slug: "rev_ai-delete-job-by-id",
|
|
8
8
|
name: "Delete Job By ID",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-job-by-id.cjs","names":["z","action"],"sources":["../../src/actions/delete-job-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RevAiDeleteJobByIdInput
|
|
1
|
+
{"version":3,"file":"delete-job-by-id.cjs","names":["z","action"],"sources":["../../src/actions/delete-job-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RevAiDeleteJobByIdInput = z.object({\n id: z.string().describe(\"The unique identifier of the job to delete\"),\n}).describe(\"Request schema for deleting a Rev.ai transcription job.\");\nexport const RevAiDeleteJobByIdOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful deletion.\");\n\nexport const revAiDeleteJobById = action(\"REV_AI_DELETE_JOB_BY_ID\", {\n slug: \"rev_ai-delete-job-by-id\",\n name: \"Delete Job By ID\",\n description: \"Tool to delete a completed transcription job and its data. Use when you need to permanently remove a finished job after confirming it's no longer needed.\",\n input: RevAiDeleteJobByIdInput,\n output: RevAiDeleteJobByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EACtE,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,2BAA2BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAE5H,MAAa,qBAAqBC,eAAAA,OAAO,2BAA2B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-job-by-id.d.ts
|
|
4
|
-
declare const RevAiDeleteJobByIdInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RevAiDeleteJobByIdInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RevAiDeleteJobByIdOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8
|
+
declare const revAiDeleteJobById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
|
+
id: string;
|
|
10
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
11
|
//#endregion
|
|
8
12
|
export { revAiDeleteJobById };
|
|
9
13
|
//# sourceMappingURL=delete-job-by-id.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-job-by-id.d.cts","names":[],"sources":["../../src/actions/delete-job-by-id.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"delete-job-by-id.d.cts","names":[],"sources":["../../src/actions/delete-job-by-id.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAExB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-job-by-id.d.ts
|
|
4
|
-
declare const RevAiDeleteJobByIdInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RevAiDeleteJobByIdInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RevAiDeleteJobByIdOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8
|
+
declare const revAiDeleteJobById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
|
+
id: string;
|
|
10
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
11
|
//#endregion
|
|
8
12
|
export { revAiDeleteJobById };
|
|
9
13
|
//# sourceMappingURL=delete-job-by-id.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-job-by-id.d.mts","names":[],"sources":["../../src/actions/delete-job-by-id.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"delete-job-by-id.d.mts","names":[],"sources":["../../src/actions/delete-job-by-id.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAExB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -5,7 +5,7 @@ const revAiDeleteJobById = action("REV_AI_DELETE_JOB_BY_ID", {
|
|
|
5
5
|
name: "Delete Job By ID",
|
|
6
6
|
description: "Tool to delete a completed transcription job and its data. Use when you need to permanently remove a finished job after confirming it's no longer needed.",
|
|
7
7
|
input: z.object({ id: z.string().describe("The unique identifier of the job to delete") }).describe("Request schema for deleting a Rev.ai transcription job."),
|
|
8
|
-
output: z.
|
|
8
|
+
output: z.record(z.string(), z.unknown()).describe("Empty response for successful deletion.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { revAiDeleteJobById };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-job-by-id.mjs","names":[],"sources":["../../src/actions/delete-job-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RevAiDeleteJobByIdInput
|
|
1
|
+
{"version":3,"file":"delete-job-by-id.mjs","names":[],"sources":["../../src/actions/delete-job-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RevAiDeleteJobByIdInput = z.object({\n id: z.string().describe(\"The unique identifier of the job to delete\"),\n}).describe(\"Request schema for deleting a Rev.ai transcription job.\");\nexport const RevAiDeleteJobByIdOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful deletion.\");\n\nexport const revAiDeleteJobById = action(\"REV_AI_DELETE_JOB_BY_ID\", {\n slug: \"rev_ai-delete-job-by-id\",\n name: \"Delete Job By ID\",\n description: \"Tool to delete a completed transcription job and its data. Use when you need to permanently remove a finished job after confirming it's no longer needed.\",\n input: RevAiDeleteJobByIdInput,\n output: RevAiDeleteJobByIdOutput,\n});\n"],"mappings":";;AASA,MAAa,qBAAqB,OAAO,2BAA2B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATqC,EAAE,OAAO,EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EACtE,CAAC,CAAC,CAAC,SAAS,yDAOH;CACP,QAPsC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAOzE;AACV,CAAC"}
|
|
@@ -3,13 +3,13 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-account.ts
|
|
4
4
|
const RevAiGetAccountInput = zod.z.object({}).describe("Request model for GetAccount action. No parameters.");
|
|
5
5
|
const RevAiGetAccountOutput = zod.z.object({
|
|
6
|
-
email: zod.z.string().describe("Email address associated with the Rev AI account"),
|
|
7
|
-
free_balance: zod.z.number().describe("Free credit balance in hours"),
|
|
8
|
-
hipaa_enabled: zod.z.boolean().describe("Whether HIPAA compliance is enabled for the account"),
|
|
9
|
-
total_balance: zod.z.number().describe("Total credit balance (free + purchased) in hours"),
|
|
10
|
-
balance_seconds: zod.z.number().int().describe("Remaining credit balance in seconds"),
|
|
11
|
-
purchased_balance: zod.z.number().describe("Purchased credit balance in hours")
|
|
12
|
-
}).describe("Response model for GetAccount action.");
|
|
6
|
+
email: zod.z.string().describe("Email address associated with the Rev AI account").nullable(),
|
|
7
|
+
free_balance: zod.z.number().describe("Free credit balance in hours").nullable(),
|
|
8
|
+
hipaa_enabled: zod.z.boolean().describe("Whether HIPAA compliance is enabled for the account").nullable(),
|
|
9
|
+
total_balance: zod.z.number().describe("Total credit balance (free + purchased) in hours").nullable(),
|
|
10
|
+
balance_seconds: zod.z.number().int().describe("Remaining credit balance in seconds").nullable(),
|
|
11
|
+
purchased_balance: zod.z.number().describe("Purchased credit balance in hours").nullable()
|
|
12
|
+
}).passthrough().describe("Response model for GetAccount action.");
|
|
13
13
|
const revAiGetAccount = require_action.action("REV_AI_GET_ACCOUNT", {
|
|
14
14
|
slug: "rev_ai-get-account",
|
|
15
15
|
name: "Get Account",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-account.cjs","names":["z","action"],"sources":["../../src/actions/get-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RevAiGetAccountInput
|
|
1
|
+
{"version":3,"file":"get-account.cjs","names":["z","action"],"sources":["../../src/actions/get-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RevAiGetAccountInput = z.object({}).describe(\"Request model for GetAccount action. No parameters.\");\nexport const RevAiGetAccountOutput = z.object({\n email: z.string().describe(\"Email address associated with the Rev AI account\").nullable(),\n free_balance: z.number().describe(\"Free credit balance in hours\").nullable(),\n hipaa_enabled: z.boolean().describe(\"Whether HIPAA compliance is enabled for the account\").nullable(),\n total_balance: z.number().describe(\"Total credit balance (free + purchased) in hours\").nullable(),\n balance_seconds: z.number().int().describe(\"Remaining credit balance in seconds\").nullable(),\n purchased_balance: z.number().describe(\"Purchased credit balance in hours\").nullable(),\n}).passthrough().describe(\"Response model for GetAccount action.\");\n\nexport const revAiGetAccount = action(\"REV_AI_GET_ACCOUNT\", {\n slug: \"rev_ai-get-account\",\n name: \"Get Account\",\n description: \"Tool to retrieve developer account details. Use after authenticating with Rev AI.\",\n input: RevAiGetAccountInput,\n output: RevAiGetAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAC/G,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACxF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC3E,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACpG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAChG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC3F,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,kBAAkBC,eAAAA,OAAO,sBAAsB;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-account.d.ts
|
|
4
|
-
declare const RevAiGetAccountInput: z.
|
|
5
|
-
declare const RevAiGetAccountOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const RevAiGetAccountInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const RevAiGetAccountOutput: z.ZodObject<{
|
|
6
|
+
email: z.ZodNullable<z.ZodString>;
|
|
7
|
+
free_balance: z.ZodNullable<z.ZodNumber>;
|
|
8
|
+
hipaa_enabled: z.ZodNullable<z.ZodBoolean>;
|
|
9
|
+
total_balance: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
balance_seconds: z.ZodNullable<z.ZodNumber>;
|
|
11
|
+
purchased_balance: z.ZodNullable<z.ZodNumber>;
|
|
12
|
+
}, z.core.$loose>;
|
|
13
|
+
declare const revAiGetAccount: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
14
|
//#endregion
|
|
8
15
|
export { revAiGetAccount };
|
|
9
16
|
//# sourceMappingURL=get-account.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-account.d.cts","names":[],"sources":["../../src/actions/get-account.ts"],"mappings":";;;cAIa,oBAAA,
|
|
1
|
+
{"version":3,"file":"get-account.d.cts","names":[],"sources":["../../src/actions/get-account.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;cASrB,eAAA,gCAAe,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-account.d.ts
|
|
4
|
-
declare const RevAiGetAccountInput: z.
|
|
5
|
-
declare const RevAiGetAccountOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const RevAiGetAccountInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const RevAiGetAccountOutput: z.ZodObject<{
|
|
6
|
+
email: z.ZodNullable<z.ZodString>;
|
|
7
|
+
free_balance: z.ZodNullable<z.ZodNumber>;
|
|
8
|
+
hipaa_enabled: z.ZodNullable<z.ZodBoolean>;
|
|
9
|
+
total_balance: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
balance_seconds: z.ZodNullable<z.ZodNumber>;
|
|
11
|
+
purchased_balance: z.ZodNullable<z.ZodNumber>;
|
|
12
|
+
}, z.core.$loose>;
|
|
13
|
+
declare const revAiGetAccount: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
14
|
//#endregion
|
|
8
15
|
export { revAiGetAccount };
|
|
9
16
|
//# sourceMappingURL=get-account.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-account.d.mts","names":[],"sources":["../../src/actions/get-account.ts"],"mappings":";;;cAIa,oBAAA,
|
|
1
|
+
{"version":3,"file":"get-account.d.mts","names":[],"sources":["../../src/actions/get-account.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;cASrB,eAAA,gCAAe,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -6,13 +6,13 @@ const revAiGetAccount = action("REV_AI_GET_ACCOUNT", {
|
|
|
6
6
|
description: "Tool to retrieve developer account details. Use after authenticating with Rev AI.",
|
|
7
7
|
input: z.object({}).describe("Request model for GetAccount action. No parameters."),
|
|
8
8
|
output: z.object({
|
|
9
|
-
email: z.string().describe("Email address associated with the Rev AI account"),
|
|
10
|
-
free_balance: z.number().describe("Free credit balance in hours"),
|
|
11
|
-
hipaa_enabled: z.boolean().describe("Whether HIPAA compliance is enabled for the account"),
|
|
12
|
-
total_balance: z.number().describe("Total credit balance (free + purchased) in hours"),
|
|
13
|
-
balance_seconds: z.number().int().describe("Remaining credit balance in seconds"),
|
|
14
|
-
purchased_balance: z.number().describe("Purchased credit balance in hours")
|
|
15
|
-
}).describe("Response model for GetAccount action.")
|
|
9
|
+
email: z.string().describe("Email address associated with the Rev AI account").nullable(),
|
|
10
|
+
free_balance: z.number().describe("Free credit balance in hours").nullable(),
|
|
11
|
+
hipaa_enabled: z.boolean().describe("Whether HIPAA compliance is enabled for the account").nullable(),
|
|
12
|
+
total_balance: z.number().describe("Total credit balance (free + purchased) in hours").nullable(),
|
|
13
|
+
balance_seconds: z.number().int().describe("Remaining credit balance in seconds").nullable(),
|
|
14
|
+
purchased_balance: z.number().describe("Purchased credit balance in hours").nullable()
|
|
15
|
+
}).passthrough().describe("Response model for GetAccount action.")
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { revAiGetAccount };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-account.mjs","names":[],"sources":["../../src/actions/get-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RevAiGetAccountInput
|
|
1
|
+
{"version":3,"file":"get-account.mjs","names":[],"sources":["../../src/actions/get-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RevAiGetAccountInput = z.object({}).describe(\"Request model for GetAccount action. No parameters.\");\nexport const RevAiGetAccountOutput = z.object({\n email: z.string().describe(\"Email address associated with the Rev AI account\").nullable(),\n free_balance: z.number().describe(\"Free credit balance in hours\").nullable(),\n hipaa_enabled: z.boolean().describe(\"Whether HIPAA compliance is enabled for the account\").nullable(),\n total_balance: z.number().describe(\"Total credit balance (free + purchased) in hours\").nullable(),\n balance_seconds: z.number().int().describe(\"Remaining credit balance in seconds\").nullable(),\n purchased_balance: z.number().describe(\"Purchased credit balance in hours\").nullable(),\n}).passthrough().describe(\"Response model for GetAccount action.\");\n\nexport const revAiGetAccount = action(\"REV_AI_GET_ACCOUNT\", {\n slug: \"rev_ai-get-account\",\n name: \"Get Account\",\n description: \"Tool to retrieve developer account details. Use after authenticating with Rev AI.\",\n input: RevAiGetAccountInput,\n output: RevAiGetAccountOutput,\n});\n"],"mappings":";;AAcA,MAAa,kBAAkB,OAAO,sBAAsB;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdkC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qDAcjD;CACP,QAdmC,EAAE,OAAO;EAC5C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACxF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAC3E,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EACpG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAChG,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC3F,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAOhB;AACV,CAAC"}
|
|
@@ -6,7 +6,7 @@ const RevAiGetCaptionsInput = zod.z.object({
|
|
|
6
6
|
job_id: zod.z.string().describe("The ID of the completed transcription job."),
|
|
7
7
|
channel_id: zod.z.number().int().describe("Optional audio channel number for multi-channel jobs.").optional()
|
|
8
8
|
}).describe("Request parameters for retrieving captions from a Rev.ai transcription job.");
|
|
9
|
-
const RevAiGetCaptionsOutput = zod.z.object({ captions: zod.z.string().describe("Raw caption file content in the requested format.") }).describe("Response model containing the raw caption file content.");
|
|
9
|
+
const RevAiGetCaptionsOutput = zod.z.object({ captions: zod.z.string().describe("Raw caption file content in the requested format.").nullable() }).passthrough().describe("Response model containing the raw caption file content.");
|
|
10
10
|
const revAiGetCaptions = require_action.action("REV_AI_GET_CAPTIONS", {
|
|
11
11
|
slug: "rev_ai-get-captions",
|
|
12
12
|
name: "Get Captions",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-captions.cjs","names":["z","action"],"sources":["../../src/actions/get-captions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RevAiGetCaptionsInput
|
|
1
|
+
{"version":3,"file":"get-captions.cjs","names":["z","action"],"sources":["../../src/actions/get-captions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RevAiGetCaptionsInput = z.object({\n accept: z.enum([\"application/x-subrip\", \"text/vtt\"]).default(\"application/x-subrip\").describe(\"Caption format: SRT (application/x-subrip) or WebVTT (text/vtt).\").optional(),\n job_id: z.string().describe(\"The ID of the completed transcription job.\"),\n channel_id: z.number().int().describe(\"Optional audio channel number for multi-channel jobs.\").optional(),\n}).describe(\"Request parameters for retrieving captions from a Rev.ai transcription job.\");\nexport const RevAiGetCaptionsOutput = z.object({\n captions: z.string().describe(\"Raw caption file content in the requested format.\").nullable(),\n}).passthrough().describe(\"Response model containing the raw caption file content.\");\n\nexport const revAiGetCaptions = action(\"REV_AI_GET_CAPTIONS\", {\n slug: \"rev_ai-get-captions\",\n name: \"Get Captions\",\n description: \"Tool to retrieve captions (SRT or VTT) for a completed Rev.ai transcription job. Use after confirming the job status is 'completed'.\",\n input: RevAiGetCaptionsInput,\n output: RevAiGetCaptionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,QAAQA,IAAAA,EAAE,KAAK,CAAC,wBAAwB,UAAU,CAAC,CAAC,CAAC,QAAQ,sBAAsB,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC3K,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,SAAS,6EAA6E;AACzF,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,EAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,mBAAmBC,eAAAA,OAAO,uBAAuB;CAC5D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,22 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-captions.d.ts
|
|
4
|
-
declare const RevAiGetCaptionsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RevAiGetCaptionsInput: z.ZodObject<{
|
|
5
|
+
accept: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
6
|
+
"application/x-subrip": "application/x-subrip";
|
|
7
|
+
"text/vtt": "text/vtt";
|
|
8
|
+
}>>>;
|
|
9
|
+
job_id: z.ZodString;
|
|
10
|
+
channel_id: z.ZodOptional<z.ZodNumber>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const RevAiGetCaptionsOutput: z.ZodObject<{
|
|
13
|
+
captions: z.ZodNullable<z.ZodString>;
|
|
14
|
+
}, z.core.$loose>;
|
|
15
|
+
declare const revAiGetCaptions: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
|
+
job_id: string;
|
|
17
|
+
accept?: "application/x-subrip" | "text/vtt" | undefined;
|
|
18
|
+
channel_id?: number | undefined;
|
|
19
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
20
|
//#endregion
|
|
8
21
|
export { revAiGetCaptions };
|
|
9
22
|
//# sourceMappingURL=get-captions.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-captions.d.cts","names":[],"sources":["../../src/actions/get-captions.ts"],"mappings":";;;cAIa,qBAAA,
|
|
1
|
+
{"version":3,"file":"get-captions.d.cts","names":[],"sources":["../../src/actions/get-captions.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;cAKrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAItB,gBAAA,gCAAgB,wBAAA"}
|
|
@@ -1,9 +1,22 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-captions.d.ts
|
|
4
|
-
declare const RevAiGetCaptionsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RevAiGetCaptionsInput: z.ZodObject<{
|
|
5
|
+
accept: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
6
|
+
"application/x-subrip": "application/x-subrip";
|
|
7
|
+
"text/vtt": "text/vtt";
|
|
8
|
+
}>>>;
|
|
9
|
+
job_id: z.ZodString;
|
|
10
|
+
channel_id: z.ZodOptional<z.ZodNumber>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const RevAiGetCaptionsOutput: z.ZodObject<{
|
|
13
|
+
captions: z.ZodNullable<z.ZodString>;
|
|
14
|
+
}, z.core.$loose>;
|
|
15
|
+
declare const revAiGetCaptions: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
|
+
job_id: string;
|
|
17
|
+
accept?: "application/x-subrip" | "text/vtt" | undefined;
|
|
18
|
+
channel_id?: number | undefined;
|
|
19
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
20
|
//#endregion
|
|
8
21
|
export { revAiGetCaptions };
|
|
9
22
|
//# sourceMappingURL=get-captions.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-captions.d.mts","names":[],"sources":["../../src/actions/get-captions.ts"],"mappings":";;;cAIa,qBAAA,
|
|
1
|
+
{"version":3,"file":"get-captions.d.mts","names":[],"sources":["../../src/actions/get-captions.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;cAKrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAItB,gBAAA,gCAAgB,wBAAA"}
|
|
@@ -9,7 +9,7 @@ const revAiGetCaptions = action("REV_AI_GET_CAPTIONS", {
|
|
|
9
9
|
job_id: z.string().describe("The ID of the completed transcription job."),
|
|
10
10
|
channel_id: z.number().int().describe("Optional audio channel number for multi-channel jobs.").optional()
|
|
11
11
|
}).describe("Request parameters for retrieving captions from a Rev.ai transcription job."),
|
|
12
|
-
output: z.object({ captions: z.string().describe("Raw caption file content in the requested format.") }).describe("Response model containing the raw caption file content.")
|
|
12
|
+
output: z.object({ captions: z.string().describe("Raw caption file content in the requested format.").nullable() }).passthrough().describe("Response model containing the raw caption file content.")
|
|
13
13
|
});
|
|
14
14
|
//#endregion
|
|
15
15
|
export { revAiGetCaptions };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-captions.mjs","names":[],"sources":["../../src/actions/get-captions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RevAiGetCaptionsInput
|
|
1
|
+
{"version":3,"file":"get-captions.mjs","names":[],"sources":["../../src/actions/get-captions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RevAiGetCaptionsInput = z.object({\n accept: z.enum([\"application/x-subrip\", \"text/vtt\"]).default(\"application/x-subrip\").describe(\"Caption format: SRT (application/x-subrip) or WebVTT (text/vtt).\").optional(),\n job_id: z.string().describe(\"The ID of the completed transcription job.\"),\n channel_id: z.number().int().describe(\"Optional audio channel number for multi-channel jobs.\").optional(),\n}).describe(\"Request parameters for retrieving captions from a Rev.ai transcription job.\");\nexport const RevAiGetCaptionsOutput = z.object({\n captions: z.string().describe(\"Raw caption file content in the requested format.\").nullable(),\n}).passthrough().describe(\"Response model containing the raw caption file content.\");\n\nexport const revAiGetCaptions = action(\"REV_AI_GET_CAPTIONS\", {\n slug: \"rev_ai-get-captions\",\n name: \"Get Captions\",\n description: \"Tool to retrieve captions (SRT or VTT) for a completed Rev.ai transcription job. Use after confirming the job status is 'completed'.\",\n input: RevAiGetCaptionsInput,\n output: RevAiGetCaptionsOutput,\n});\n"],"mappings":";;AAaA,MAAa,mBAAmB,OAAO,uBAAuB;CAC5D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbmC,EAAE,OAAO;EAC5C,QAAQ,EAAE,KAAK,CAAC,wBAAwB,UAAU,CAAC,CAAC,CAAC,QAAQ,sBAAsB,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EAC3K,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACxE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,SAAS,6EASH;CACP,QAToC,EAAE,OAAO,EAC7C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,EAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
|
|
@@ -2,18 +2,18 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/get-custom-vocabulary-details.ts
|
|
4
4
|
const RevAiGetCustomVocabularyDetailsInput = zod.z.object({ id: zod.z.string().describe("Unique identifier of the custom vocabulary to retrieve.") }).describe("Request model for retrieving a custom vocabulary's details by its unique identifier.");
|
|
5
|
-
const RevAiGetCustomVocabularyDetails_CustomVocabularyFailureSchema = zod.z.object({ detail: zod.z.string().describe("Failure detail message.").nullable().optional() }).describe("Details about a failure when processing the custom vocabulary.");
|
|
5
|
+
const RevAiGetCustomVocabularyDetails_CustomVocabularyFailureSchema = zod.z.object({ detail: zod.z.string().describe("Failure detail message.").nullable().optional() }).passthrough().describe("Details about a failure when processing the custom vocabulary.");
|
|
6
6
|
const RevAiGetCustomVocabularyDetailsOutput = zod.z.object({
|
|
7
|
-
id: zod.z.string().describe("Unique identifier for the custom vocabulary."),
|
|
8
|
-
status: zod.z.string().describe("Current status of the custom vocabulary (e.g., 'in_progress', 'failed', 'complete')."),
|
|
7
|
+
id: zod.z.string().describe("Unique identifier for the custom vocabulary.").nullable(),
|
|
8
|
+
status: zod.z.string().describe("Current status of the custom vocabulary (e.g., 'in_progress', 'failed', 'complete').").nullable(),
|
|
9
9
|
strict: zod.z.boolean().describe("Whether strict mode was enabled for the custom vocabulary.").nullable().optional(),
|
|
10
10
|
failure: RevAiGetCustomVocabularyDetails_CustomVocabularyFailureSchema.nullable().optional(),
|
|
11
11
|
phrases: zod.z.array(zod.z.string()).describe("List of phrases submitted for the custom vocabulary.").nullable().optional(),
|
|
12
12
|
metadata: zod.z.string().describe("User-defined metadata associated with the custom vocabulary.").nullable().optional(),
|
|
13
|
-
created_on: zod.z.string().describe("Creation date-time in RFC 3339 format."),
|
|
13
|
+
created_on: zod.z.string().describe("Creation date-time in RFC 3339 format.").nullable(),
|
|
14
14
|
callback_url: zod.z.string().describe("Callback URL for notifications, if set.").nullable().optional(),
|
|
15
15
|
completed_on: zod.z.string().describe("Completion date-time in RFC 3339 format, if processing is complete.").nullable().optional()
|
|
16
|
-
}).describe("Response model containing details of a custom vocabulary.");
|
|
16
|
+
}).passthrough().describe("Response model containing details of a custom vocabulary.");
|
|
17
17
|
const revAiGetCustomVocabularyDetails = require_action.action("REV_AI_GET_CUSTOM_VOCABULARY_DETAILS", {
|
|
18
18
|
slug: "rev_ai-get-custom-vocabulary-details",
|
|
19
19
|
name: "Get Custom Vocabulary Details",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-custom-vocabulary-details.cjs","names":["z","action"],"sources":["../../src/actions/get-custom-vocabulary-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RevAiGetCustomVocabularyDetailsInput
|
|
1
|
+
{"version":3,"file":"get-custom-vocabulary-details.cjs","names":["z","action"],"sources":["../../src/actions/get-custom-vocabulary-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RevAiGetCustomVocabularyDetailsInput = z.object({\n id: z.string().describe(\"Unique identifier of the custom vocabulary to retrieve.\"),\n}).describe(\"Request model for retrieving a custom vocabulary's details by its unique identifier.\");\nconst RevAiGetCustomVocabularyDetails_CustomVocabularyFailureSchema = z.object({\n detail: z.string().describe(\"Failure detail message.\").nullable().optional(),\n}).passthrough().describe(\"Details about a failure when processing the custom vocabulary.\");\nexport const RevAiGetCustomVocabularyDetailsOutput = z.object({\n id: z.string().describe(\"Unique identifier for the custom vocabulary.\").nullable(),\n status: z.string().describe(\"Current status of the custom vocabulary (e.g., 'in_progress', 'failed', 'complete').\").nullable(),\n strict: z.boolean().describe(\"Whether strict mode was enabled for the custom vocabulary.\").nullable().optional(),\n failure: RevAiGetCustomVocabularyDetails_CustomVocabularyFailureSchema.nullable().optional(),\n phrases: z.array(z.string()).describe(\"List of phrases submitted for the custom vocabulary.\").nullable().optional(),\n metadata: z.string().describe(\"User-defined metadata associated with the custom vocabulary.\").nullable().optional(),\n created_on: z.string().describe(\"Creation date-time in RFC 3339 format.\").nullable(),\n callback_url: z.string().describe(\"Callback URL for notifications, if set.\").nullable().optional(),\n completed_on: z.string().describe(\"Completion date-time in RFC 3339 format, if processing is complete.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing details of a custom vocabulary.\");\n\nexport const revAiGetCustomVocabularyDetails = action(\"REV_AI_GET_CUSTOM_VOCABULARY_DETAILS\", {\n slug: \"rev_ai-get-custom-vocabulary-details\",\n name: \"Get Custom Vocabulary Details\",\n description: \"Tool to retrieve custom vocabulary processing details. Use when needing to fetch the status and submitted phrases for a specific custom vocabulary after creation.\",\n input: RevAiGetCustomVocabularyDetailsInput,\n output: RevAiGetCustomVocabularyDetailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,EACnF,CAAC,CAAC,CAAC,SAAS,sFAAsF;AAClG,MAAM,gEAAgEA,IAAAA,EAAE,OAAO,EAC7E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAC1F,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAC7H,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,SAAS,8DAA8D,SAAS,CAAC,CAAC,SAAS;CAC3F,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACnF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,kCAAkCC,eAAAA,OAAO,wCAAwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-custom-vocabulary-details.d.ts
|
|
4
|
-
declare const RevAiGetCustomVocabularyDetailsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RevAiGetCustomVocabularyDetailsInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RevAiGetCustomVocabularyDetailsOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodString>;
|
|
9
|
+
status: z.ZodNullable<z.ZodString>;
|
|
10
|
+
strict: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
11
|
+
failure: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
12
|
+
detail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
}, z.core.$loose>>>;
|
|
14
|
+
phrases: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
15
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
created_on: z.ZodNullable<z.ZodString>;
|
|
17
|
+
callback_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
completed_on: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
}, z.core.$loose>;
|
|
20
|
+
declare const revAiGetCustomVocabularyDetails: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
|
+
id: string;
|
|
22
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
23
|
//#endregion
|
|
8
24
|
export { revAiGetCustomVocabularyDetails };
|
|
9
25
|
//# sourceMappingURL=get-custom-vocabulary-details.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-custom-vocabulary-details.d.cts","names":[],"sources":["../../src/actions/get-custom-vocabulary-details.ts"],"mappings":";;;cAIa,oCAAA,
|
|
1
|
+
{"version":3,"file":"get-custom-vocabulary-details.d.cts","names":[],"sources":["../../src/actions/get-custom-vocabulary-details.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAMpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAYrC,+BAAA,gCAA+B,wBAAA"}
|
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-custom-vocabulary-details.d.ts
|
|
4
|
-
declare const RevAiGetCustomVocabularyDetailsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RevAiGetCustomVocabularyDetailsInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RevAiGetCustomVocabularyDetailsOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodString>;
|
|
9
|
+
status: z.ZodNullable<z.ZodString>;
|
|
10
|
+
strict: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
11
|
+
failure: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
12
|
+
detail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
}, z.core.$loose>>>;
|
|
14
|
+
phrases: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
15
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
created_on: z.ZodNullable<z.ZodString>;
|
|
17
|
+
callback_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
completed_on: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
}, z.core.$loose>;
|
|
20
|
+
declare const revAiGetCustomVocabularyDetails: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
|
+
id: string;
|
|
22
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
23
|
//#endregion
|
|
8
24
|
export { revAiGetCustomVocabularyDetails };
|
|
9
25
|
//# sourceMappingURL=get-custom-vocabulary-details.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-custom-vocabulary-details.d.mts","names":[],"sources":["../../src/actions/get-custom-vocabulary-details.ts"],"mappings":";;;cAIa,oCAAA,
|
|
1
|
+
{"version":3,"file":"get-custom-vocabulary-details.d.mts","names":[],"sources":["../../src/actions/get-custom-vocabulary-details.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAMpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAYrC,+BAAA,gCAA+B,wBAAA"}
|