@keystrokehq/rev_ai 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/delete-custom-vocabulary.cjs +16 -0
- package/dist/actions/delete-custom-vocabulary.cjs.map +1 -0
- package/dist/actions/delete-custom-vocabulary.d.cts +9 -0
- package/dist/actions/delete-custom-vocabulary.d.cts.map +1 -0
- package/dist/actions/delete-custom-vocabulary.d.mts +9 -0
- package/dist/actions/delete-custom-vocabulary.d.mts.map +1 -0
- package/dist/actions/delete-custom-vocabulary.mjs +13 -0
- package/dist/actions/delete-custom-vocabulary.mjs.map +1 -0
- package/dist/actions/delete-job-by-id.cjs +16 -0
- package/dist/actions/delete-job-by-id.cjs.map +1 -0
- package/dist/actions/delete-job-by-id.d.cts +9 -0
- package/dist/actions/delete-job-by-id.d.cts.map +1 -0
- package/dist/actions/delete-job-by-id.d.mts +9 -0
- package/dist/actions/delete-job-by-id.d.mts.map +1 -0
- package/dist/actions/delete-job-by-id.mjs +13 -0
- package/dist/actions/delete-job-by-id.mjs.map +1 -0
- package/dist/actions/get-account.cjs +23 -0
- package/dist/actions/get-account.cjs.map +1 -0
- package/dist/actions/get-account.d.cts +9 -0
- package/dist/actions/get-account.d.cts.map +1 -0
- package/dist/actions/get-account.d.mts +9 -0
- package/dist/actions/get-account.d.mts.map +1 -0
- package/dist/actions/get-account.mjs +20 -0
- package/dist/actions/get-account.mjs.map +1 -0
- package/dist/actions/get-captions.cjs +20 -0
- package/dist/actions/get-captions.cjs.map +1 -0
- package/dist/actions/get-captions.d.cts +9 -0
- package/dist/actions/get-captions.d.cts.map +1 -0
- package/dist/actions/get-captions.d.mts +9 -0
- package/dist/actions/get-captions.d.mts.map +1 -0
- package/dist/actions/get-captions.mjs +17 -0
- package/dist/actions/get-captions.mjs.map +1 -0
- package/dist/actions/get-custom-vocabulary-details.cjs +27 -0
- package/dist/actions/get-custom-vocabulary-details.cjs.map +1 -0
- package/dist/actions/get-custom-vocabulary-details.d.cts +9 -0
- package/dist/actions/get-custom-vocabulary-details.d.cts.map +1 -0
- package/dist/actions/get-custom-vocabulary-details.d.mts +9 -0
- package/dist/actions/get-custom-vocabulary-details.d.mts.map +1 -0
- package/dist/actions/get-custom-vocabulary-details.mjs +26 -0
- package/dist/actions/get-custom-vocabulary-details.mjs.map +1 -0
- package/dist/actions/get-job-by-id.cjs +42 -0
- package/dist/actions/get-job-by-id.cjs.map +1 -0
- package/dist/actions/get-job-by-id.d.cts +9 -0
- package/dist/actions/get-job-by-id.d.cts.map +1 -0
- package/dist/actions/get-job-by-id.d.mts +9 -0
- package/dist/actions/get-job-by-id.d.mts.map +1 -0
- package/dist/actions/get-job-by-id.mjs +41 -0
- package/dist/actions/get-job-by-id.mjs.map +1 -0
- package/dist/actions/get-list-of-jobs.cjs +34 -0
- package/dist/actions/get-list-of-jobs.cjs.map +1 -0
- package/dist/actions/get-list-of-jobs.d.cts +9 -0
- package/dist/actions/get-list-of-jobs.d.cts.map +1 -0
- package/dist/actions/get-list-of-jobs.d.mts +9 -0
- package/dist/actions/get-list-of-jobs.d.mts.map +1 -0
- package/dist/actions/get-list-of-jobs.mjs +33 -0
- package/dist/actions/get-list-of-jobs.mjs.map +1 -0
- package/dist/actions/get-transcript-by-id.cjs +33 -0
- package/dist/actions/get-transcript-by-id.cjs.map +1 -0
- package/dist/actions/get-transcript-by-id.d.cts +9 -0
- package/dist/actions/get-transcript-by-id.d.cts.map +1 -0
- package/dist/actions/get-transcript-by-id.d.mts +9 -0
- package/dist/actions/get-transcript-by-id.d.mts.map +1 -0
- package/dist/actions/get-transcript-by-id.mjs +32 -0
- package/dist/actions/get-transcript-by-id.mjs.map +1 -0
- package/dist/actions/index.cjs +23 -0
- package/dist/actions/index.d.cts +12 -0
- package/dist/actions/index.d.mts +12 -0
- package/dist/actions/index.mjs +12 -0
- package/dist/actions/start-stream-transcription.cjs +32 -0
- package/dist/actions/start-stream-transcription.cjs.map +1 -0
- package/dist/actions/start-stream-transcription.d.cts +9 -0
- package/dist/actions/start-stream-transcription.d.cts.map +1 -0
- package/dist/actions/start-stream-transcription.d.mts +9 -0
- package/dist/actions/start-stream-transcription.d.mts.map +1 -0
- package/dist/actions/start-stream-transcription.mjs +29 -0
- package/dist/actions/start-stream-transcription.mjs.map +1 -0
- package/dist/actions/submit-custom-vocabulary.cjs +27 -0
- package/dist/actions/submit-custom-vocabulary.cjs.map +1 -0
- package/dist/actions/submit-custom-vocabulary.d.cts +9 -0
- package/dist/actions/submit-custom-vocabulary.d.cts.map +1 -0
- package/dist/actions/submit-custom-vocabulary.d.mts +9 -0
- package/dist/actions/submit-custom-vocabulary.d.mts.map +1 -0
- package/dist/actions/submit-custom-vocabulary.mjs +24 -0
- package/dist/actions/submit-custom-vocabulary.mjs.map +1 -0
- package/dist/actions/submit-transcription-job.cjs +52 -0
- package/dist/actions/submit-transcription-job.cjs.map +1 -0
- package/dist/actions/submit-transcription-job.d.cts +9 -0
- package/dist/actions/submit-transcription-job.d.cts.map +1 -0
- package/dist/actions/submit-transcription-job.d.mts +9 -0
- package/dist/actions/submit-transcription-job.d.mts.map +1 -0
- package/dist/actions/submit-transcription-job.mjs +51 -0
- package/dist/actions/submit-transcription-job.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +28 -0
- package/dist/index.d.cts +14 -0
- package/dist/index.d.mts +14 -0
- package/dist/index.mjs +15 -0
- package/package.json +49 -0
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/submit-transcription-job.ts
|
|
4
|
+
const RevAiSubmitTranscriptionJobInput = zod.z.object({
|
|
5
|
+
file: zod.z.string().describe("Binary audio content to upload if media_url is not used").optional(),
|
|
6
|
+
language: zod.z.string().describe("ISO 639-1 or BCP-47 code to override default language").optional(),
|
|
7
|
+
metadata: zod.z.string().describe("Arbitrary string returned verbatim with job status").optional(),
|
|
8
|
+
media_url: zod.z.string().describe("HTTP(S) URL of the media file to transcribe").optional(),
|
|
9
|
+
callback_url: zod.z.string().describe("Webhook URL called on job completion").optional(),
|
|
10
|
+
filter_profanity: zod.z.boolean().default(false).describe("If true, filter profanity from the transcript").optional(),
|
|
11
|
+
skip_diarization: zod.z.boolean().default(false).describe("If true, do NOT perform speaker diarization").optional(),
|
|
12
|
+
skip_punctuation: zod.z.boolean().default(false).describe("If true, do NOT auto-punctuate transcript").optional(),
|
|
13
|
+
custom_vocabularies: zod.z.array(zod.z.object({ vocabulary_id: zod.z.string().describe("Identifier of a custom vocabulary resource") }).describe("Apply a custom vocabulary to improve transcription accuracy.")).describe("List of custom vocabularies to apply").optional(),
|
|
14
|
+
delete_after_seconds: zod.z.number().int().describe("Automatically delete job this many seconds after completion").optional(),
|
|
15
|
+
transcription_config: zod.z.object({
|
|
16
|
+
language: zod.z.string().describe("ISO 639-1 or BCP-47 language code for transcription").optional(),
|
|
17
|
+
output_locale: zod.z.string().describe("BCP-47 locale tag for transcript output").optional(),
|
|
18
|
+
operating_point: zod.z.enum(["standard", "enhanced"]).describe("Processing operating point: 'standard' or 'enhanced'").optional()
|
|
19
|
+
}).describe("Settings for advanced transcription options.").optional(),
|
|
20
|
+
speaker_channel_count: zod.z.number().int().describe("Number of audio channels to treat as separate speakers").optional()
|
|
21
|
+
}).describe("Parameters for submitting an asynchronous transcription job.\nEither `media_url` or `file` must be provided.");
|
|
22
|
+
const RevAiSubmitTranscriptionJob_TranscriptionConfigSchema = zod.z.object({
|
|
23
|
+
language: zod.z.string().describe("ISO 639-1 or BCP-47 language code for transcription").nullable().optional(),
|
|
24
|
+
output_locale: zod.z.string().describe("BCP-47 locale tag for transcript output").nullable().optional(),
|
|
25
|
+
operating_point: zod.z.enum(["standard", "enhanced"]).describe("Processing operating point: 'standard' or 'enhanced'").nullable().optional()
|
|
26
|
+
}).describe("Settings for advanced transcription options.");
|
|
27
|
+
const RevAiSubmitTranscriptionJobOutput = zod.z.object({
|
|
28
|
+
id: zod.z.string().describe("Unique job identifier"),
|
|
29
|
+
name: zod.z.string().describe("File name or media identifier").nullable().optional(),
|
|
30
|
+
type: zod.z.string().describe("Job type, e.g. 'async'"),
|
|
31
|
+
status: zod.z.string().describe("Transcription job status, e.g. 'in_progress'"),
|
|
32
|
+
failure: zod.z.unknown().describe("Failure details if job failed").nullable().optional(),
|
|
33
|
+
language: zod.z.string().describe("Language code used for job").nullable().optional(),
|
|
34
|
+
metadata: zod.z.string().describe("User-provided metadata string").nullable().optional(),
|
|
35
|
+
created_on: zod.z.string().describe("ISO timestamp when job was created"),
|
|
36
|
+
callback_url: zod.z.string().describe("Callback URL for job completion").nullable().optional(),
|
|
37
|
+
duration_seconds: zod.z.number().describe("Duration of audio in seconds").nullable().optional(),
|
|
38
|
+
custom_vocabulary_id: zod.z.string().describe("Applied custom vocabulary ID").nullable().optional(),
|
|
39
|
+
delete_after_seconds: zod.z.number().int().describe("Auto-delete seconds after completion").nullable().optional(),
|
|
40
|
+
transcription_config: RevAiSubmitTranscriptionJob_TranscriptionConfigSchema.nullable().optional()
|
|
41
|
+
}).describe("Response schema for a submitted transcription job.");
|
|
42
|
+
const revAiSubmitTranscriptionJob = require_action.action("REV_AI_SUBMIT_TRANSCRIPTION_JOB", {
|
|
43
|
+
slug: "rev_ai-submit-transcription-job",
|
|
44
|
+
name: "Submit Transcription Job",
|
|
45
|
+
description: "Tool to submit a new transcription job. Use when you have a media URL or file bytes ready for async processing.",
|
|
46
|
+
input: RevAiSubmitTranscriptionJobInput,
|
|
47
|
+
output: RevAiSubmitTranscriptionJobOutput
|
|
48
|
+
});
|
|
49
|
+
//#endregion
|
|
50
|
+
exports.revAiSubmitTranscriptionJob = revAiSubmitTranscriptionJob;
|
|
51
|
+
|
|
52
|
+
//# sourceMappingURL=submit-transcription-job.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"submit-transcription-job.cjs","names":["z","action"],"sources":["../../src/actions/submit-transcription-job.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RevAiSubmitTranscriptionJobInput: z.ZodTypeAny = z.object({\n file: z.string().describe(\"Binary audio content to upload if media_url is not used\").optional(),\n language: z.string().describe(\"ISO 639-1 or BCP-47 code to override default language\").optional(),\n metadata: z.string().describe(\"Arbitrary string returned verbatim with job status\").optional(),\n media_url: z.string().describe(\"HTTP(S) URL of the media file to transcribe\").optional(),\n callback_url: z.string().describe(\"Webhook URL called on job completion\").optional(),\n filter_profanity: z.boolean().default(false).describe(\"If true, filter profanity from the transcript\").optional(),\n skip_diarization: z.boolean().default(false).describe(\"If true, do NOT perform speaker diarization\").optional(),\n skip_punctuation: z.boolean().default(false).describe(\"If true, do NOT auto-punctuate transcript\").optional(),\n custom_vocabularies: z.array(z.object({\n vocabulary_id: z.string().describe(\"Identifier of a custom vocabulary resource\"),\n}).describe(\"Apply a custom vocabulary to improve transcription accuracy.\")).describe(\"List of custom vocabularies to apply\").optional(),\n delete_after_seconds: z.number().int().describe(\"Automatically delete job this many seconds after completion\").optional(),\n transcription_config: z.object({\n language: z.string().describe(\"ISO 639-1 or BCP-47 language code for transcription\").optional(),\n output_locale: z.string().describe(\"BCP-47 locale tag for transcript output\").optional(),\n operating_point: z.enum([\"standard\", \"enhanced\"]).describe(\"Processing operating point: 'standard' or 'enhanced'\").optional(),\n}).describe(\"Settings for advanced transcription options.\").optional(),\n speaker_channel_count: z.number().int().describe(\"Number of audio channels to treat as separate speakers\").optional(),\n}).describe(\"Parameters for submitting an asynchronous transcription job.\\nEither `media_url` or `file` must be provided.\");\nconst RevAiSubmitTranscriptionJob_TranscriptionConfigSchema: z.ZodTypeAny = z.object({\n language: z.string().describe(\"ISO 639-1 or BCP-47 language code for transcription\").nullable().optional(),\n output_locale: z.string().describe(\"BCP-47 locale tag for transcript output\").nullable().optional(),\n operating_point: z.enum([\"standard\", \"enhanced\"]).describe(\"Processing operating point: 'standard' or 'enhanced'\").nullable().optional(),\n}).describe(\"Settings for advanced transcription options.\");\nexport const RevAiSubmitTranscriptionJobOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique job identifier\"),\n name: z.string().describe(\"File name or media identifier\").nullable().optional(),\n type: z.string().describe(\"Job type, e.g. 'async'\"),\n status: z.string().describe(\"Transcription job status, e.g. 'in_progress'\"),\n failure: z.unknown().describe(\"Failure details if job failed\").nullable().optional(),\n language: z.string().describe(\"Language code used for job\").nullable().optional(),\n metadata: z.string().describe(\"User-provided metadata string\").nullable().optional(),\n created_on: z.string().describe(\"ISO timestamp when job was created\"),\n callback_url: z.string().describe(\"Callback URL for job completion\").nullable().optional(),\n duration_seconds: z.number().describe(\"Duration of audio in seconds\").nullable().optional(),\n custom_vocabulary_id: z.string().describe(\"Applied custom vocabulary ID\").nullable().optional(),\n delete_after_seconds: z.number().int().describe(\"Auto-delete seconds after completion\").nullable().optional(),\n transcription_config: RevAiSubmitTranscriptionJob_TranscriptionConfigSchema.nullable().optional(),\n}).describe(\"Response schema for a submitted transcription job.\");\n\nexport const revAiSubmitTranscriptionJob = action(\"REV_AI_SUBMIT_TRANSCRIPTION_JOB\", {\n slug: \"rev_ai-submit-transcription-job\",\n name: \"Submit Transcription Job\",\n description: \"Tool to submit a new transcription job. Use when you have a media URL or file bytes ready for async processing.\",\n input: RevAiSubmitTranscriptionJobInput,\n output: RevAiSubmitTranscriptionJobOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC9F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAChG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC7F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACvF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACnF,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAChH,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC9G,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC5G,qBAAqBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,EACtC,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EACjF,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACrI,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,C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A,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACpE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,sBAAsB,sDAAsD,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/submit-transcription-job.d.ts
|
|
4
|
+
declare const RevAiSubmitTranscriptionJobInput: z.ZodTypeAny;
|
|
5
|
+
declare const RevAiSubmitTranscriptionJobOutput: z.ZodTypeAny;
|
|
6
|
+
declare const revAiSubmitTranscriptionJob: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { revAiSubmitTranscriptionJob };
|
|
9
|
+
//# sourceMappingURL=submit-transcription-job.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"submit-transcription-job.d.cts","names":[],"sources":["../../src/actions/submit-transcription-job.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAmB0E;AAAA,cAM9G,iCAAA,EAAmC,CAAA,CAAE,UAce;AAAA,cAEpD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/submit-transcription-job.d.ts
|
|
4
|
+
declare const RevAiSubmitTranscriptionJobInput: z.ZodTypeAny;
|
|
5
|
+
declare const RevAiSubmitTranscriptionJobOutput: z.ZodTypeAny;
|
|
6
|
+
declare const revAiSubmitTranscriptionJob: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { revAiSubmitTranscriptionJob };
|
|
9
|
+
//# sourceMappingURL=submit-transcription-job.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"submit-transcription-job.d.mts","names":[],"sources":["../../src/actions/submit-transcription-job.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAmB0E;AAAA,cAM9G,iCAAA,EAAmC,CAAA,CAAE,UAce;AAAA,cAEpD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/submit-transcription-job.ts
|
|
4
|
+
const RevAiSubmitTranscriptionJobInput = z.object({
|
|
5
|
+
file: z.string().describe("Binary audio content to upload if media_url is not used").optional(),
|
|
6
|
+
language: z.string().describe("ISO 639-1 or BCP-47 code to override default language").optional(),
|
|
7
|
+
metadata: z.string().describe("Arbitrary string returned verbatim with job status").optional(),
|
|
8
|
+
media_url: z.string().describe("HTTP(S) URL of the media file to transcribe").optional(),
|
|
9
|
+
callback_url: z.string().describe("Webhook URL called on job completion").optional(),
|
|
10
|
+
filter_profanity: z.boolean().default(false).describe("If true, filter profanity from the transcript").optional(),
|
|
11
|
+
skip_diarization: z.boolean().default(false).describe("If true, do NOT perform speaker diarization").optional(),
|
|
12
|
+
skip_punctuation: z.boolean().default(false).describe("If true, do NOT auto-punctuate transcript").optional(),
|
|
13
|
+
custom_vocabularies: z.array(z.object({ vocabulary_id: z.string().describe("Identifier of a custom vocabulary resource") }).describe("Apply a custom vocabulary to improve transcription accuracy.")).describe("List of custom vocabularies to apply").optional(),
|
|
14
|
+
delete_after_seconds: z.number().int().describe("Automatically delete job this many seconds after completion").optional(),
|
|
15
|
+
transcription_config: z.object({
|
|
16
|
+
language: z.string().describe("ISO 639-1 or BCP-47 language code for transcription").optional(),
|
|
17
|
+
output_locale: z.string().describe("BCP-47 locale tag for transcript output").optional(),
|
|
18
|
+
operating_point: z.enum(["standard", "enhanced"]).describe("Processing operating point: 'standard' or 'enhanced'").optional()
|
|
19
|
+
}).describe("Settings for advanced transcription options.").optional(),
|
|
20
|
+
speaker_channel_count: z.number().int().describe("Number of audio channels to treat as separate speakers").optional()
|
|
21
|
+
}).describe("Parameters for submitting an asynchronous transcription job.\nEither `media_url` or `file` must be provided.");
|
|
22
|
+
const RevAiSubmitTranscriptionJob_TranscriptionConfigSchema = z.object({
|
|
23
|
+
language: z.string().describe("ISO 639-1 or BCP-47 language code for transcription").nullable().optional(),
|
|
24
|
+
output_locale: z.string().describe("BCP-47 locale tag for transcript output").nullable().optional(),
|
|
25
|
+
operating_point: z.enum(["standard", "enhanced"]).describe("Processing operating point: 'standard' or 'enhanced'").nullable().optional()
|
|
26
|
+
}).describe("Settings for advanced transcription options.");
|
|
27
|
+
const revAiSubmitTranscriptionJob = action("REV_AI_SUBMIT_TRANSCRIPTION_JOB", {
|
|
28
|
+
slug: "rev_ai-submit-transcription-job",
|
|
29
|
+
name: "Submit Transcription Job",
|
|
30
|
+
description: "Tool to submit a new transcription job. Use when you have a media URL or file bytes ready for async processing.",
|
|
31
|
+
input: RevAiSubmitTranscriptionJobInput,
|
|
32
|
+
output: z.object({
|
|
33
|
+
id: z.string().describe("Unique job identifier"),
|
|
34
|
+
name: z.string().describe("File name or media identifier").nullable().optional(),
|
|
35
|
+
type: z.string().describe("Job type, e.g. 'async'"),
|
|
36
|
+
status: z.string().describe("Transcription job status, e.g. 'in_progress'"),
|
|
37
|
+
failure: z.unknown().describe("Failure details if job failed").nullable().optional(),
|
|
38
|
+
language: z.string().describe("Language code used for job").nullable().optional(),
|
|
39
|
+
metadata: z.string().describe("User-provided metadata string").nullable().optional(),
|
|
40
|
+
created_on: z.string().describe("ISO timestamp when job was created"),
|
|
41
|
+
callback_url: z.string().describe("Callback URL for job completion").nullable().optional(),
|
|
42
|
+
duration_seconds: z.number().describe("Duration of audio in seconds").nullable().optional(),
|
|
43
|
+
custom_vocabulary_id: z.string().describe("Applied custom vocabulary ID").nullable().optional(),
|
|
44
|
+
delete_after_seconds: z.number().int().describe("Auto-delete seconds after completion").nullable().optional(),
|
|
45
|
+
transcription_config: RevAiSubmitTranscriptionJob_TranscriptionConfigSchema.nullable().optional()
|
|
46
|
+
}).describe("Response schema for a submitted transcription job.")
|
|
47
|
+
});
|
|
48
|
+
//#endregion
|
|
49
|
+
export { revAiSubmitTranscriptionJob };
|
|
50
|
+
|
|
51
|
+
//# sourceMappingURL=submit-transcription-job.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"submit-transcription-job.mjs","names":[],"sources":["../../src/actions/submit-transcription-job.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RevAiSubmitTranscriptionJobInput: z.ZodTypeAny = z.object({\n file: z.string().describe(\"Binary audio content to upload if media_url is not used\").optional(),\n language: z.string().describe(\"ISO 639-1 or BCP-47 code to override default language\").optional(),\n metadata: z.string().describe(\"Arbitrary string returned verbatim with job status\").optional(),\n media_url: z.string().describe(\"HTTP(S) URL of the media file to transcribe\").optional(),\n callback_url: z.string().describe(\"Webhook URL called on job completion\").optional(),\n filter_profanity: z.boolean().default(false).describe(\"If true, filter profanity from the transcript\").optional(),\n skip_diarization: z.boolean().default(false).describe(\"If true, do NOT perform speaker diarization\").optional(),\n skip_punctuation: z.boolean().default(false).describe(\"If true, do NOT auto-punctuate transcript\").optional(),\n custom_vocabularies: z.array(z.object({\n vocabulary_id: z.string().describe(\"Identifier of a custom vocabulary resource\"),\n}).describe(\"Apply a custom vocabulary to improve transcription accuracy.\")).describe(\"List of custom vocabularies to apply\").optional(),\n delete_after_seconds: z.number().int().describe(\"Automatically delete job this many seconds after completion\").optional(),\n transcription_config: z.object({\n language: z.string().describe(\"ISO 639-1 or BCP-47 language code for transcription\").optional(),\n output_locale: z.string().describe(\"BCP-47 locale tag for transcript output\").optional(),\n operating_point: z.enum([\"standard\", \"enhanced\"]).describe(\"Processing operating point: 'standard' or 'enhanced'\").optional(),\n}).describe(\"Settings for advanced transcription options.\").optional(),\n speaker_channel_count: z.number().int().describe(\"Number of audio channels to treat as separate speakers\").optional(),\n}).describe(\"Parameters for submitting an asynchronous transcription job.\\nEither `media_url` or `file` must be provided.\");\nconst RevAiSubmitTranscriptionJob_TranscriptionConfigSchema: z.ZodTypeAny = z.object({\n language: z.string().describe(\"ISO 639-1 or BCP-47 language code for transcription\").nullable().optional(),\n output_locale: z.string().describe(\"BCP-47 locale tag for transcript output\").nullable().optional(),\n operating_point: z.enum([\"standard\", \"enhanced\"]).describe(\"Processing operating point: 'standard' or 'enhanced'\").nullable().optional(),\n}).describe(\"Settings for advanced transcription options.\");\nexport const RevAiSubmitTranscriptionJobOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique job identifier\"),\n name: z.string().describe(\"File name or media identifier\").nullable().optional(),\n type: z.string().describe(\"Job type, e.g. 'async'\"),\n status: z.string().describe(\"Transcription job status, e.g. 'in_progress'\"),\n failure: z.unknown().describe(\"Failure details if job failed\").nullable().optional(),\n language: z.string().describe(\"Language code used for job\").nullable().optional(),\n metadata: z.string().describe(\"User-provided metadata string\").nullable().optional(),\n created_on: z.string().describe(\"ISO timestamp when job was created\"),\n callback_url: z.string().describe(\"Callback URL for job completion\").nullable().optional(),\n duration_seconds: z.number().describe(\"Duration of audio in seconds\").nullable().optional(),\n custom_vocabulary_id: z.string().describe(\"Applied custom vocabulary ID\").nullable().optional(),\n delete_after_seconds: z.number().int().describe(\"Auto-delete seconds after completion\").nullable().optional(),\n transcription_config: RevAiSubmitTranscriptionJob_TranscriptionConfigSchema.nullable().optional(),\n}).describe(\"Response schema for a submitted transcription job.\");\n\nexport const revAiSubmitTranscriptionJob = action(\"REV_AI_SUBMIT_TRANSCRIPTION_JOB\", {\n slug: \"rev_ai-submit-transcription-job\",\n name: \"Submit Transcription Job\",\n description: \"Tool to submit a new transcription job. Use when you have a media URL or file bytes ready for async processing.\",\n input: RevAiSubmitTranscriptionJobInput,\n output: RevAiSubmitTranscriptionJobOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiD,EAAE,OAAO;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC9F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAChG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC7F,WAAW,EAAE,OAAO,CAAC,CAAC,SAA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AAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,sBAAsB,sDAAsD,SAAS,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
|
package/dist/app.cjs
ADDED
package/dist/app.cjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const revAi = defineApp({\n slug: \"rev_ai\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,SAAA,uCAAA,CAAA,CAAA,UAAA,CAAkB;CAC7B,MAAM;CACN,MAAM;AACR,CAAC"}
|
package/dist/app.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,KAAA,6BAAK,GAAA,+BAAA,UAAA"}
|
package/dist/app.d.mts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,KAAA,6BAAK,GAAA,+BAAA,UAAA"}
|
package/dist/app.mjs
ADDED
package/dist/app.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const revAi = defineApp({\n slug: \"rev_ai\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,QAAQ,UAAU;CAC7B,MAAM;CACN,MAAM;AACR,CAAC"}
|
package/dist/catalog.cjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/catalog.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
const revAiCatalog = {
|
|
4
|
+
"slug": "rev_ai",
|
|
5
|
+
"name": "Rev AI",
|
|
6
|
+
"description": "Rev AI provides advanced machine learning and speech recognition services for converting audio and video to text.",
|
|
7
|
+
"category": "Artificial Intelligence",
|
|
8
|
+
"logo": "https://logos.composio.dev/api/rev_ai",
|
|
9
|
+
"authKind": "keystroke",
|
|
10
|
+
"oauthScopes": []
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
exports.revAiCatalog = revAiCatalog;
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=catalog.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const revAiCatalog = {\n \"slug\": \"rev_ai\",\n \"name\": \"Rev AI\",\n \"description\": \"Rev AI provides advanced machine learning and speech recognition services for converting audio and video to text.\",\n \"category\": \"Artificial Intelligence\",\n \"logo\": \"https://logos.composio.dev/api/rev_ai\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,eAAe;CAC1B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/catalog.d.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
declare const revAiCatalog: {
|
|
4
|
+
readonly slug: "rev_ai";
|
|
5
|
+
readonly name: "Rev AI";
|
|
6
|
+
readonly description: "Rev AI provides advanced machine learning and speech recognition services for converting audio and video to text.";
|
|
7
|
+
readonly category: "Artificial Intelligence";
|
|
8
|
+
readonly logo: "https://logos.composio.dev/api/rev_ai";
|
|
9
|
+
readonly authKind: "keystroke";
|
|
10
|
+
readonly oauthScopes: readonly [];
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { revAiCatalog };
|
|
14
|
+
//# sourceMappingURL=catalog.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.d.cts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,YAAA;EAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/catalog.d.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
declare const revAiCatalog: {
|
|
4
|
+
readonly slug: "rev_ai";
|
|
5
|
+
readonly name: "Rev AI";
|
|
6
|
+
readonly description: "Rev AI provides advanced machine learning and speech recognition services for converting audio and video to text.";
|
|
7
|
+
readonly category: "Artificial Intelligence";
|
|
8
|
+
readonly logo: "https://logos.composio.dev/api/rev_ai";
|
|
9
|
+
readonly authKind: "keystroke";
|
|
10
|
+
readonly oauthScopes: readonly [];
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { revAiCatalog };
|
|
14
|
+
//# sourceMappingURL=catalog.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.d.mts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,YAAA;EAAA"}
|
package/dist/catalog.mjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/catalog.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
const revAiCatalog = {
|
|
4
|
+
"slug": "rev_ai",
|
|
5
|
+
"name": "Rev AI",
|
|
6
|
+
"description": "Rev AI provides advanced machine learning and speech recognition services for converting audio and video to text.",
|
|
7
|
+
"category": "Artificial Intelligence",
|
|
8
|
+
"logo": "https://logos.composio.dev/api/rev_ai",
|
|
9
|
+
"authKind": "keystroke",
|
|
10
|
+
"oauthScopes": []
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { revAiCatalog };
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=catalog.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const revAiCatalog = {\n \"slug\": \"rev_ai\",\n \"name\": \"Rev AI\",\n \"description\": \"Rev AI provides advanced machine learning and speech recognition services for converting audio and video to text.\",\n \"category\": \"Artificial Intelligence\",\n \"logo\": \"https://logos.composio.dev/api/rev_ai\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,eAAe;CAC1B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
|
package/dist/execute.cjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
let _keystrokehq_keystroke_client = require("@keystrokehq/keystroke/client");
|
|
2
|
+
//#region src/execute.ts
|
|
3
|
+
const APP_SLUG = "rev_ai";
|
|
4
|
+
/** Pinned app version — updated on regeneration. */
|
|
5
|
+
const APP_VERSION = "20260615_00";
|
|
6
|
+
async function executeRevAiTool(tool, args) {
|
|
7
|
+
const { result } = await (0, _keystrokehq_keystroke_client.createKeystrokeClient)().tools.execute({
|
|
8
|
+
app: APP_SLUG,
|
|
9
|
+
tool,
|
|
10
|
+
arguments: args,
|
|
11
|
+
version: APP_VERSION
|
|
12
|
+
});
|
|
13
|
+
return result;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
exports.executeRevAiTool = executeRevAiTool;
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=execute.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execute.cjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"rev_ai\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeRevAiTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,iBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,OAAA,GAAA,8BAAA,sBAAA,CAA4B,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
|
package/dist/execute.mjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { createKeystrokeClient } from "@keystrokehq/keystroke/client";
|
|
2
|
+
//#region src/execute.ts
|
|
3
|
+
const APP_SLUG = "rev_ai";
|
|
4
|
+
/** Pinned app version — updated on regeneration. */
|
|
5
|
+
const APP_VERSION = "20260615_00";
|
|
6
|
+
async function executeRevAiTool(tool, args) {
|
|
7
|
+
const { result } = await createKeystrokeClient().tools.execute({
|
|
8
|
+
app: APP_SLUG,
|
|
9
|
+
tool,
|
|
10
|
+
arguments: args,
|
|
11
|
+
version: APP_VERSION
|
|
12
|
+
});
|
|
13
|
+
return result;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
export { executeRevAiTool };
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=execute.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execute.mjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"rev_ai\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeRevAiTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,iBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,MAAM,sBAAsB,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
|
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_app = require("./app.cjs");
|
|
3
|
+
const require_catalog = require("./catalog.cjs");
|
|
4
|
+
const require_delete_custom_vocabulary = require("./actions/delete-custom-vocabulary.cjs");
|
|
5
|
+
const require_delete_job_by_id = require("./actions/delete-job-by-id.cjs");
|
|
6
|
+
const require_get_account = require("./actions/get-account.cjs");
|
|
7
|
+
const require_get_captions = require("./actions/get-captions.cjs");
|
|
8
|
+
const require_get_custom_vocabulary_details = require("./actions/get-custom-vocabulary-details.cjs");
|
|
9
|
+
const require_get_job_by_id = require("./actions/get-job-by-id.cjs");
|
|
10
|
+
const require_get_list_of_jobs = require("./actions/get-list-of-jobs.cjs");
|
|
11
|
+
const require_get_transcript_by_id = require("./actions/get-transcript-by-id.cjs");
|
|
12
|
+
const require_start_stream_transcription = require("./actions/start-stream-transcription.cjs");
|
|
13
|
+
const require_submit_custom_vocabulary = require("./actions/submit-custom-vocabulary.cjs");
|
|
14
|
+
const require_submit_transcription_job = require("./actions/submit-transcription-job.cjs");
|
|
15
|
+
require("./actions/index.cjs");
|
|
16
|
+
exports.revAi = require_app.revAi;
|
|
17
|
+
exports.revAiCatalog = require_catalog.revAiCatalog;
|
|
18
|
+
exports.revAiDeleteCustomVocabulary = require_delete_custom_vocabulary.revAiDeleteCustomVocabulary;
|
|
19
|
+
exports.revAiDeleteJobById = require_delete_job_by_id.revAiDeleteJobById;
|
|
20
|
+
exports.revAiGetAccount = require_get_account.revAiGetAccount;
|
|
21
|
+
exports.revAiGetCaptions = require_get_captions.revAiGetCaptions;
|
|
22
|
+
exports.revAiGetCustomVocabularyDetails = require_get_custom_vocabulary_details.revAiGetCustomVocabularyDetails;
|
|
23
|
+
exports.revAiGetJobById = require_get_job_by_id.revAiGetJobById;
|
|
24
|
+
exports.revAiGetListOfJobs = require_get_list_of_jobs.revAiGetListOfJobs;
|
|
25
|
+
exports.revAiGetTranscriptById = require_get_transcript_by_id.revAiGetTranscriptById;
|
|
26
|
+
exports.revAiStartStreamTranscription = require_start_stream_transcription.revAiStartStreamTranscription;
|
|
27
|
+
exports.revAiSubmitCustomVocabulary = require_submit_custom_vocabulary.revAiSubmitCustomVocabulary;
|
|
28
|
+
exports.revAiSubmitTranscriptionJob = require_submit_transcription_job.revAiSubmitTranscriptionJob;
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { revAiDeleteCustomVocabulary } from "./actions/delete-custom-vocabulary.cjs";
|
|
2
|
+
import { revAiDeleteJobById } from "./actions/delete-job-by-id.cjs";
|
|
3
|
+
import { revAiGetAccount } from "./actions/get-account.cjs";
|
|
4
|
+
import { revAiGetCaptions } from "./actions/get-captions.cjs";
|
|
5
|
+
import { revAiGetCustomVocabularyDetails } from "./actions/get-custom-vocabulary-details.cjs";
|
|
6
|
+
import { revAiGetJobById } from "./actions/get-job-by-id.cjs";
|
|
7
|
+
import { revAiGetListOfJobs } from "./actions/get-list-of-jobs.cjs";
|
|
8
|
+
import { revAiGetTranscriptById } from "./actions/get-transcript-by-id.cjs";
|
|
9
|
+
import { revAiStartStreamTranscription } from "./actions/start-stream-transcription.cjs";
|
|
10
|
+
import { revAiSubmitCustomVocabulary } from "./actions/submit-custom-vocabulary.cjs";
|
|
11
|
+
import { revAiSubmitTranscriptionJob } from "./actions/submit-transcription-job.cjs";
|
|
12
|
+
import { revAi } from "./app.cjs";
|
|
13
|
+
import { revAiCatalog } from "./catalog.cjs";
|
|
14
|
+
export { revAi, revAiCatalog, revAiDeleteCustomVocabulary, revAiDeleteJobById, revAiGetAccount, revAiGetCaptions, revAiGetCustomVocabularyDetails, revAiGetJobById, revAiGetListOfJobs, revAiGetTranscriptById, revAiStartStreamTranscription, revAiSubmitCustomVocabulary, revAiSubmitTranscriptionJob };
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { revAiDeleteCustomVocabulary } from "./actions/delete-custom-vocabulary.mjs";
|
|
2
|
+
import { revAiDeleteJobById } from "./actions/delete-job-by-id.mjs";
|
|
3
|
+
import { revAiGetAccount } from "./actions/get-account.mjs";
|
|
4
|
+
import { revAiGetCaptions } from "./actions/get-captions.mjs";
|
|
5
|
+
import { revAiGetCustomVocabularyDetails } from "./actions/get-custom-vocabulary-details.mjs";
|
|
6
|
+
import { revAiGetJobById } from "./actions/get-job-by-id.mjs";
|
|
7
|
+
import { revAiGetListOfJobs } from "./actions/get-list-of-jobs.mjs";
|
|
8
|
+
import { revAiGetTranscriptById } from "./actions/get-transcript-by-id.mjs";
|
|
9
|
+
import { revAiStartStreamTranscription } from "./actions/start-stream-transcription.mjs";
|
|
10
|
+
import { revAiSubmitCustomVocabulary } from "./actions/submit-custom-vocabulary.mjs";
|
|
11
|
+
import { revAiSubmitTranscriptionJob } from "./actions/submit-transcription-job.mjs";
|
|
12
|
+
import { revAi } from "./app.mjs";
|
|
13
|
+
import { revAiCatalog } from "./catalog.mjs";
|
|
14
|
+
export { revAi, revAiCatalog, revAiDeleteCustomVocabulary, revAiDeleteJobById, revAiGetAccount, revAiGetCaptions, revAiGetCustomVocabularyDetails, revAiGetJobById, revAiGetListOfJobs, revAiGetTranscriptById, revAiStartStreamTranscription, revAiSubmitCustomVocabulary, revAiSubmitTranscriptionJob };
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { revAi } from "./app.mjs";
|
|
2
|
+
import { revAiCatalog } from "./catalog.mjs";
|
|
3
|
+
import { revAiDeleteCustomVocabulary } from "./actions/delete-custom-vocabulary.mjs";
|
|
4
|
+
import { revAiDeleteJobById } from "./actions/delete-job-by-id.mjs";
|
|
5
|
+
import { revAiGetAccount } from "./actions/get-account.mjs";
|
|
6
|
+
import { revAiGetCaptions } from "./actions/get-captions.mjs";
|
|
7
|
+
import { revAiGetCustomVocabularyDetails } from "./actions/get-custom-vocabulary-details.mjs";
|
|
8
|
+
import { revAiGetJobById } from "./actions/get-job-by-id.mjs";
|
|
9
|
+
import { revAiGetListOfJobs } from "./actions/get-list-of-jobs.mjs";
|
|
10
|
+
import { revAiGetTranscriptById } from "./actions/get-transcript-by-id.mjs";
|
|
11
|
+
import { revAiStartStreamTranscription } from "./actions/start-stream-transcription.mjs";
|
|
12
|
+
import { revAiSubmitCustomVocabulary } from "./actions/submit-custom-vocabulary.mjs";
|
|
13
|
+
import { revAiSubmitTranscriptionJob } from "./actions/submit-transcription-job.mjs";
|
|
14
|
+
import "./actions/index.mjs";
|
|
15
|
+
export { revAi, revAiCatalog, revAiDeleteCustomVocabulary, revAiDeleteJobById, revAiGetAccount, revAiGetCaptions, revAiGetCustomVocabularyDetails, revAiGetJobById, revAiGetListOfJobs, revAiGetTranscriptById, revAiStartStreamTranscription, revAiSubmitCustomVocabulary, revAiSubmitTranscriptionJob };
|
package/package.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@keystrokehq/rev_ai",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"publishConfig": {
|
|
5
|
+
"access": "public",
|
|
6
|
+
"registry": "https://registry.npmjs.org"
|
|
7
|
+
},
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/keystrokehq/keystroke.git",
|
|
11
|
+
"directory": "packages/integrations/rev_ai"
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"dist"
|
|
15
|
+
],
|
|
16
|
+
"sideEffects": false,
|
|
17
|
+
"type": "module",
|
|
18
|
+
"main": "./dist/index.cjs",
|
|
19
|
+
"module": "./dist/index.mjs",
|
|
20
|
+
"types": "./dist/index.d.mts",
|
|
21
|
+
"exports": {
|
|
22
|
+
".": {
|
|
23
|
+
"types": "./dist/index.d.mts",
|
|
24
|
+
"import": "./dist/index.mjs",
|
|
25
|
+
"require": "./dist/index.cjs"
|
|
26
|
+
},
|
|
27
|
+
"./actions": {
|
|
28
|
+
"types": "./dist/actions/index.d.mts",
|
|
29
|
+
"import": "./dist/actions/index.mjs",
|
|
30
|
+
"require": "./dist/actions/index.cjs"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"peerDependencies": {
|
|
34
|
+
"@keystrokehq/keystroke": "^0.1.4",
|
|
35
|
+
"zod": "^4.4.3"
|
|
36
|
+
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@keystrokehq/keystroke": "link:../../keystroke",
|
|
39
|
+
"@types/node": "^25.9.1",
|
|
40
|
+
"tsdown": "^0.22.0",
|
|
41
|
+
"typescript": "^6.0.3",
|
|
42
|
+
"zod": "^4.4.3"
|
|
43
|
+
},
|
|
44
|
+
"scripts": {
|
|
45
|
+
"build": "tsdown",
|
|
46
|
+
"dev": "tsdown --watch --no-clean",
|
|
47
|
+
"typecheck": "tsc --noEmit"
|
|
48
|
+
}
|
|
49
|
+
}
|