@keystrokehq/rev_ai 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +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.map +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.map +1 -1
- package/dist/actions/get-account.cjs +6 -6
- 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 +6 -6
- 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 +3 -3
- 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 +3 -3
- package/dist/actions/get-custom-vocabulary-details.mjs.map +1 -1
- package/dist/actions/get-job-by-id.cjs +5 -5
- 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 +5 -5
- package/dist/actions/get-job-by-id.mjs.map +1 -1
- package/dist/actions/get-list-of-jobs.cjs +4 -4
- 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 +4 -4
- package/dist/actions/get-list-of-jobs.mjs.map +1 -1
- package/dist/actions/get-transcript-by-id.cjs +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- package/dist/actions/submit-custom-vocabulary.mjs.map +1 -1
- package/dist/actions/submit-transcription-job.cjs +4 -4
- package/dist/actions/submit-transcription-job.cjs.map +1 -1
- package/dist/actions/submit-transcription-job.d.cts +65 -3
- package/dist/actions/submit-transcription-job.d.cts.map +1 -1
- package/dist/actions/submit-transcription-job.d.mts +65 -3
- package/dist/actions/submit-transcription-job.d.mts.map +1 -1
- package/dist/actions/submit-transcription-job.mjs +4 -4
- 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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-job-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-job-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RevAiGetJobByIdInput
|
|
1
|
+
{"version":3,"file":"get-job-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-job-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RevAiGetJobByIdInput = z.object({\n id: z.string().describe(\"Unique identifier of the transcription job to retrieve.\"),\n}).describe(\"Request model for retrieving a transcription job by its unique identifier.\");\nconst RevAiGetJobById_FailureSchema = z.object({\n code: z.string().describe(\"Error code of the failed job.\").nullable(),\n detail: z.string().describe(\"Additional details about the failure.\").nullable().optional(),\n message: z.string().describe(\"Error message detailing the failure.\").nullable().optional(),\n}).describe(\"Details about a failed transcription job.\\nThe API can return failure as a string (error code) or an object with code/message.\");\nconst RevAiGetJobById_TranscriptionConfigSchema = z.object({\n filter_profanity: z.boolean().describe(\"If true, profanity will be filtered.\").nullable().optional(),\n remove_punctuation: z.boolean().describe(\"If true, punctuation will be removed.\").nullable().optional(),\n remove_disfluencies: z.boolean().describe(\"If true, filler disfluencies will be removed.\").nullable().optional(),\n speaker_channels_count: z.number().int().describe(\"Number of speaker channels in the media.\").nullable().optional(),\n}).describe(\"Advanced transcription configuration for the job.\");\nexport const RevAiGetJobByIdOutput = z.object({\n id: z.string().describe(\"Unique identifier for the job.\").nullable(),\n name: z.string().describe(\"Name of the job, if provided.\").nullable().optional(),\n type: z.string().describe(\"Type of job (e.g., asynchronous).\").nullable(),\n status: z.string().describe(\"Current status of the job.\").nullable(),\n failure: RevAiGetJobById_FailureSchema.nullable().optional(),\n language: z.string().describe(\"Language code of the job, if set.\").nullable().optional(),\n metadata: z.string().describe(\"User-provided metadata, if set.\").nullable().optional(),\n created_on: z.string().describe(\"Job creation date-time in RFC 3339 format.\").nullable(),\n callback_url: z.string().describe(\"Callback URL for job notifications, if set.\").nullable().optional(),\n completed_on: z.string().describe(\"Job completion date-time in RFC 3339 format, if completed.\").nullable().optional(),\n duration_seconds: z.number().describe(\"Duration of the media in seconds, if available.\").nullable().optional(),\n custom_vocabulary_id: z.string().describe(\"Custom vocabulary ID used for the job.\").nullable().optional(),\n delete_after_seconds: z.number().int().describe(\"Time in seconds after which the job will be deleted.\").nullable().optional(),\n transcription_config: RevAiGetJobById_TranscriptionConfigSchema.nullable().optional(),\n}).describe(\"Response model containing details of a transcription job.\");\n\nexport const revAiGetJobById = action(\"REV_AI_GET_JOB_BY_ID\", {\n slug: \"rev_ai-get-job-by-id\",\n name: \"Get Job by ID\",\n description: \"Tool to fetch details of a transcription job by its ID. Use when confirming job status and metadata are accur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|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-job-by-id.d.ts
|
|
4
|
-
declare const RevAiGetJobByIdInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RevAiGetJobByIdInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RevAiGetJobByIdOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodString>;
|
|
9
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
type: z.ZodNullable<z.ZodString>;
|
|
11
|
+
status: z.ZodNullable<z.ZodString>;
|
|
12
|
+
failure: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
13
|
+
code: z.ZodNullable<z.ZodString>;
|
|
14
|
+
detail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
}, z.core.$strip>>>;
|
|
17
|
+
language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
created_on: z.ZodNullable<z.ZodString>;
|
|
20
|
+
callback_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
completed_on: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
duration_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
|
+
custom_vocabulary_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
delete_after_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
|
+
transcription_config: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
26
|
+
filter_profanity: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
27
|
+
remove_punctuation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
28
|
+
remove_disfluencies: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
29
|
+
speaker_channels_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
30
|
+
}, z.core.$strip>>>;
|
|
31
|
+
}, z.core.$strip>;
|
|
32
|
+
declare const revAiGetJobById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
33
|
+
id: string;
|
|
34
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
35
|
//#endregion
|
|
8
36
|
export { revAiGetJobById };
|
|
9
37
|
//# sourceMappingURL=get-job-by-id.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-job-by-id.d.cts","names":[],"sources":["../../src/actions/get-job-by-id.ts"],"mappings":";;;cAIa,oBAAA,
|
|
1
|
+
{"version":3,"file":"get-job-by-id.d.cts","names":[],"sources":["../../src/actions/get-job-by-id.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAcpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAiBrB,eAAA,gCAAe,wBAAA"}
|
|
@@ -1,9 +1,37 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-job-by-id.d.ts
|
|
4
|
-
declare const RevAiGetJobByIdInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RevAiGetJobByIdInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RevAiGetJobByIdOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodString>;
|
|
9
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
type: z.ZodNullable<z.ZodString>;
|
|
11
|
+
status: z.ZodNullable<z.ZodString>;
|
|
12
|
+
failure: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
13
|
+
code: z.ZodNullable<z.ZodString>;
|
|
14
|
+
detail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
}, z.core.$strip>>>;
|
|
17
|
+
language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
created_on: z.ZodNullable<z.ZodString>;
|
|
20
|
+
callback_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
completed_on: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
duration_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
|
+
custom_vocabulary_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
delete_after_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
|
+
transcription_config: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
26
|
+
filter_profanity: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
27
|
+
remove_punctuation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
28
|
+
remove_disfluencies: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
29
|
+
speaker_channels_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
30
|
+
}, z.core.$strip>>>;
|
|
31
|
+
}, z.core.$strip>;
|
|
32
|
+
declare const revAiGetJobById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
33
|
+
id: string;
|
|
34
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
35
|
//#endregion
|
|
8
36
|
export { revAiGetJobById };
|
|
9
37
|
//# sourceMappingURL=get-job-by-id.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-job-by-id.d.mts","names":[],"sources":["../../src/actions/get-job-by-id.ts"],"mappings":";;;cAIa,oBAAA,
|
|
1
|
+
{"version":3,"file":"get-job-by-id.d.mts","names":[],"sources":["../../src/actions/get-job-by-id.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAcpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAiBrB,eAAA,gCAAe,wBAAA"}
|
|
@@ -3,7 +3,7 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/get-job-by-id.ts
|
|
4
4
|
const RevAiGetJobByIdInput = z.object({ id: z.string().describe("Unique identifier of the transcription job to retrieve.") }).describe("Request model for retrieving a transcription job by its unique identifier.");
|
|
5
5
|
const RevAiGetJobById_FailureSchema = z.object({
|
|
6
|
-
code: z.string().describe("Error code of the failed job."),
|
|
6
|
+
code: z.string().describe("Error code of the failed job.").nullable(),
|
|
7
7
|
detail: z.string().describe("Additional details about the failure.").nullable().optional(),
|
|
8
8
|
message: z.string().describe("Error message detailing the failure.").nullable().optional()
|
|
9
9
|
}).describe("Details about a failed transcription job.\nThe API can return failure as a string (error code) or an object with code/message.");
|
|
@@ -19,14 +19,14 @@ const revAiGetJobById = action("REV_AI_GET_JOB_BY_ID", {
|
|
|
19
19
|
description: "Tool to fetch details of a transcription job by its ID. Use when confirming job status and metadata are accurate.",
|
|
20
20
|
input: RevAiGetJobByIdInput,
|
|
21
21
|
output: z.object({
|
|
22
|
-
id: z.string().describe("Unique identifier for the job."),
|
|
22
|
+
id: z.string().describe("Unique identifier for the job.").nullable(),
|
|
23
23
|
name: z.string().describe("Name of the job, if provided.").nullable().optional(),
|
|
24
|
-
type: z.string().describe("Type of job (e.g., asynchronous)."),
|
|
25
|
-
status: z.string().describe("Current status of the job."),
|
|
24
|
+
type: z.string().describe("Type of job (e.g., asynchronous).").nullable(),
|
|
25
|
+
status: z.string().describe("Current status of the job.").nullable(),
|
|
26
26
|
failure: RevAiGetJobById_FailureSchema.nullable().optional(),
|
|
27
27
|
language: z.string().describe("Language code of the job, if set.").nullable().optional(),
|
|
28
28
|
metadata: z.string().describe("User-provided metadata, if set.").nullable().optional(),
|
|
29
|
-
created_on: z.string().describe("Job creation date-time in RFC 3339 format."),
|
|
29
|
+
created_on: z.string().describe("Job creation date-time in RFC 3339 format.").nullable(),
|
|
30
30
|
callback_url: z.string().describe("Callback URL for job notifications, if set.").nullable().optional(),
|
|
31
31
|
completed_on: z.string().describe("Job completion date-time in RFC 3339 format, if completed.").nullable().optional(),
|
|
32
32
|
duration_seconds: z.number().describe("Duration of the media in seconds, if available.").nullable().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-job-by-id.mjs","names":[],"sources":["../../src/actions/get-job-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RevAiGetJobByIdInput
|
|
1
|
+
{"version":3,"file":"get-job-by-id.mjs","names":[],"sources":["../../src/actions/get-job-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RevAiGetJobByIdInput = z.object({\n id: z.string().describe(\"Unique identifier of the transcription job to retrieve.\"),\n}).describe(\"Request model for retrieving a transcription job by its unique identifier.\");\nconst RevAiGetJobById_FailureSchema = z.object({\n code: z.string().describe(\"Error code of the failed job.\").nullable(),\n detail: z.string().describe(\"Additional details about the failure.\").nullable().optional(),\n message: z.string().describe(\"Error message detailing the failure.\").nullable().optional(),\n}).describe(\"Details about a failed transcription job.\\nThe API can return failure as a string (error code) or an object with code/message.\");\nconst RevAiGetJobById_TranscriptionConfigSchema = z.object({\n filter_profanity: z.boolean().describe(\"If true, profanity will be filtered.\").nullable().optional(),\n remove_punctuation: z.boolean().describe(\"If true, punctuation will be removed.\").nullable().optional(),\n remove_disfluencies: z.boolean().describe(\"If true, filler disfluencies will be removed.\").nullable().optional(),\n speaker_channels_count: z.number().int().describe(\"Number of speaker channels in the media.\").nullable().optional(),\n}).describe(\"Advanced transcription configuration for the job.\");\nexport const RevAiGetJobByIdOutput = z.object({\n id: z.string().describe(\"Unique identifier for the job.\").nullable(),\n name: z.string().describe(\"Name of the job, if provided.\").nullable().optional(),\n type: z.string().describe(\"Type of job (e.g., asynchronous).\").nullable(),\n status: z.string().describe(\"Current status of the job.\").nullable(),\n failure: RevAiGetJobById_FailureSchema.nullable().optional(),\n language: z.string().describe(\"Language code of the job, if set.\").nullable().optional(),\n metadata: z.string().describe(\"User-provided metadata, if set.\").nullable().optional(),\n created_on: z.string().describe(\"Job creation date-time in RFC 3339 format.\").nullable(),\n callback_url: z.string().describe(\"Callback URL for job notifications, if set.\").nullable().optional(),\n completed_on: z.string().describe(\"Job completion date-time in RFC 3339 format, if completed.\").nullable().optional(),\n duration_seconds: z.number().describe(\"Duration of the media in seconds, if available.\").nullable().optional(),\n custom_vocabulary_id: z.string().describe(\"Custom vocabulary ID used for the job.\").nullable().optional(),\n delete_after_seconds: z.number().int().describe(\"Time in seconds after which the job will be deleted.\").nullable().optional(),\n transcription_config: RevAiGetJobById_TranscriptionConfigSchema.nullable().optional(),\n}).describe(\"Response model containing details of a transcription job.\");\n\nexport const revAiGetJobById = action(\"REV_AI_GET_JOB_BY_ID\", {\n slug: \"rev_ai-get-job-by-id\",\n name: \"Get Job by ID\",\n description: \"Tool to fetch details of a transcription job by its ID. Use when confirming job status and metadata are accurate.\",\n input: RevAiGetJobByIdInput,\n output: RevAiGetJobByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO,EAC3C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,EACnF,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,gCAAgC,EAAE,OAAO;CAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;C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AAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACvF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,sBAAsB,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACtF,CAAC,CAAC,CAAC,SAAS,2DAOF;AACV,CAAC"}
|
|
@@ -7,14 +7,14 @@ const RevAiGetListOfJobsInput = zod.z.object({
|
|
|
7
7
|
starting_after: zod.z.string().describe("Only return jobs created after the given job ID.").optional()
|
|
8
8
|
}).describe("Parameters to paginate and limit the list of transcription jobs.");
|
|
9
9
|
const RevAiGetListOfJobs_JobSchema = zod.z.object({
|
|
10
|
-
id: zod.z.string().describe("Unique job identifier."),
|
|
10
|
+
id: zod.z.string().describe("Unique job identifier.").nullable(),
|
|
11
11
|
name: zod.z.string().describe("Name assigned to the job, if any.").nullable().optional(),
|
|
12
|
-
type: zod.z.string().describe("Type of the job."),
|
|
13
|
-
status: zod.z.string().describe("Status of the job (e.g., 'in_progress', 'transcribed')."),
|
|
12
|
+
type: zod.z.string().describe("Type of the job.").nullable(),
|
|
13
|
+
status: zod.z.string().describe("Status of the job (e.g., 'in_progress', 'transcribed').").nullable(),
|
|
14
14
|
language: zod.z.string().describe("Language code of the submitted media.").nullable().optional(),
|
|
15
15
|
metadata: zod.z.string().describe("User-provided metadata for the job.").nullable().optional(),
|
|
16
16
|
media_url: zod.z.string().describe("URL of the media file submitted for transcription.").nullable().optional(),
|
|
17
|
-
created_on: zod.z.string().describe("Timestamp when the job was created."),
|
|
17
|
+
created_on: zod.z.string().describe("Timestamp when the job was created.").nullable(),
|
|
18
18
|
callback_url: zod.z.string().describe("Callback URL provided for job notifications.").nullable().optional(),
|
|
19
19
|
completed_on: zod.z.string().describe("Timestamp when the job was completed.").nullable().optional(),
|
|
20
20
|
custom_vocabularies: zod.z.array(zod.z.string()).describe("List of custom vocabulary names used for the job.").nullable().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-list-of-jobs.cjs","names":["z","action"],"sources":["../../src/actions/get-list-of-jobs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RevAiGetListOfJobsInput
|
|
1
|
+
{"version":3,"file":"get-list-of-jobs.cjs","names":["z","action"],"sources":["../../src/actions/get-list-of-jobs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RevAiGetListOfJobsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of jobs to return (default 100, max 1000)\").optional(),\n ending_before: z.string().describe(\"Only return jobs created before the given job ID.\").optional(),\n starting_after: z.string().describe(\"Only return jobs created after the given job ID.\").optional(),\n}).describe(\"Parameters to paginate and limit the list of transcription jobs.\");\nconst RevAiGetListOfJobs_JobSchema = z.object({\n id: z.string().describe(\"Unique job identifier.\").nullable(),\n name: z.string().describe(\"Name assigned to the job, if any.\").nullable().optional(),\n type: z.string().describe(\"Type of the job.\").nullable(),\n status: z.string().describe(\"Status of the job (e.g., 'in_progress', 'transcribed').\").nullable(),\n language: z.string().describe(\"Language code of the submitted media.\").nullable().optional(),\n metadata: z.string().describe(\"User-provided metadata for the job.\").nullable().optional(),\n media_url: z.string().describe(\"URL of the media file submitted for transcription.\").nullable().optional(),\n created_on: z.string().describe(\"Timestamp when the job was created.\").nullable(),\n callback_url: z.string().describe(\"Callback URL provided for job notifications.\").nullable().optional(),\n completed_on: z.string().describe(\"Timestamp when the job was completed.\").nullable().optional(),\n custom_vocabularies: z.array(z.string()).describe(\"List of custom vocabulary names used for the job.\").nullable().optional(),\n delete_after_seconds: z.number().int().describe(\"Seconds after completion when the job will be deleted.\").nullable().optional(),\n}).describe(\"Representation of a transcription job metadata.\");\nexport const RevAiGetListOfJobsOutput = z.object({\n jobs: z.array(RevAiGetListOfJobs_JobSchema).describe(\"List of transcription jobs retrieved.\"),\n}).describe(\"Response wrapping list of transcription jobs.\");\n\nexport const revAiGetListOfJobs = action(\"REV_AI_GET_LIST_OF_JOBS\", {\n slug: \"rev_ai-get-list-of-jobs\",\n name: \"Get List of Jobs\",\n description: \"Tool to get list of transcription jobs from the past 30 days. Use when you need to retrieve and paginate through recent transcription tasks.\",\n input: RevAiGetListOfJobsInput,\n output: RevAiGetListOfJobsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACtG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACjG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,+BAA+BA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,MAAMA,IAAAA,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|
|
@@ -1,9 +1,32 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-list-of-jobs.d.ts
|
|
4
|
-
declare const RevAiGetListOfJobsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RevAiGetListOfJobsInput: z.ZodObject<{
|
|
5
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
ending_before: z.ZodOptional<z.ZodString>;
|
|
7
|
+
starting_after: z.ZodOptional<z.ZodString>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const RevAiGetListOfJobsOutput: z.ZodObject<{
|
|
10
|
+
jobs: z.ZodArray<z.ZodObject<{
|
|
11
|
+
id: z.ZodNullable<z.ZodString>;
|
|
12
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
type: z.ZodNullable<z.ZodString>;
|
|
14
|
+
status: z.ZodNullable<z.ZodString>;
|
|
15
|
+
language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
media_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
created_on: z.ZodNullable<z.ZodString>;
|
|
19
|
+
callback_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
completed_on: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
custom_vocabularies: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
22
|
+
delete_after_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
|
+
}, z.core.$strip>>;
|
|
24
|
+
}, z.core.$strip>;
|
|
25
|
+
declare const revAiGetListOfJobs: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
|
+
limit?: number | undefined;
|
|
27
|
+
ending_before?: string | undefined;
|
|
28
|
+
starting_after?: string | undefined;
|
|
29
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
30
|
//#endregion
|
|
8
31
|
export { revAiGetListOfJobs };
|
|
9
32
|
//# sourceMappingURL=get-list-of-jobs.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-list-of-jobs.d.cts","names":[],"sources":["../../src/actions/get-list-of-jobs.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"get-list-of-jobs.d.cts","names":[],"sources":["../../src/actions/get-list-of-jobs.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;cAmBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -1,9 +1,32 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-list-of-jobs.d.ts
|
|
4
|
-
declare const RevAiGetListOfJobsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RevAiGetListOfJobsInput: z.ZodObject<{
|
|
5
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
ending_before: z.ZodOptional<z.ZodString>;
|
|
7
|
+
starting_after: z.ZodOptional<z.ZodString>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const RevAiGetListOfJobsOutput: z.ZodObject<{
|
|
10
|
+
jobs: z.ZodArray<z.ZodObject<{
|
|
11
|
+
id: z.ZodNullable<z.ZodString>;
|
|
12
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
type: z.ZodNullable<z.ZodString>;
|
|
14
|
+
status: z.ZodNullable<z.ZodString>;
|
|
15
|
+
language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
media_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
created_on: z.ZodNullable<z.ZodString>;
|
|
19
|
+
callback_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
completed_on: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
custom_vocabularies: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
22
|
+
delete_after_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
|
+
}, z.core.$strip>>;
|
|
24
|
+
}, z.core.$strip>;
|
|
25
|
+
declare const revAiGetListOfJobs: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
|
+
limit?: number | undefined;
|
|
27
|
+
ending_before?: string | undefined;
|
|
28
|
+
starting_after?: string | undefined;
|
|
29
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
30
|
//#endregion
|
|
8
31
|
export { revAiGetListOfJobs };
|
|
9
32
|
//# sourceMappingURL=get-list-of-jobs.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-list-of-jobs.d.mts","names":[],"sources":["../../src/actions/get-list-of-jobs.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"get-list-of-jobs.d.mts","names":[],"sources":["../../src/actions/get-list-of-jobs.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;cAmBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -7,14 +7,14 @@ const RevAiGetListOfJobsInput = z.object({
|
|
|
7
7
|
starting_after: z.string().describe("Only return jobs created after the given job ID.").optional()
|
|
8
8
|
}).describe("Parameters to paginate and limit the list of transcription jobs.");
|
|
9
9
|
const RevAiGetListOfJobs_JobSchema = z.object({
|
|
10
|
-
id: z.string().describe("Unique job identifier."),
|
|
10
|
+
id: z.string().describe("Unique job identifier.").nullable(),
|
|
11
11
|
name: z.string().describe("Name assigned to the job, if any.").nullable().optional(),
|
|
12
|
-
type: z.string().describe("Type of the job."),
|
|
13
|
-
status: z.string().describe("Status of the job (e.g., 'in_progress', 'transcribed')."),
|
|
12
|
+
type: z.string().describe("Type of the job.").nullable(),
|
|
13
|
+
status: z.string().describe("Status of the job (e.g., 'in_progress', 'transcribed').").nullable(),
|
|
14
14
|
language: z.string().describe("Language code of the submitted media.").nullable().optional(),
|
|
15
15
|
metadata: z.string().describe("User-provided metadata for the job.").nullable().optional(),
|
|
16
16
|
media_url: z.string().describe("URL of the media file submitted for transcription.").nullable().optional(),
|
|
17
|
-
created_on: z.string().describe("Timestamp when the job was created."),
|
|
17
|
+
created_on: z.string().describe("Timestamp when the job was created.").nullable(),
|
|
18
18
|
callback_url: z.string().describe("Callback URL provided for job notifications.").nullable().optional(),
|
|
19
19
|
completed_on: z.string().describe("Timestamp when the job was completed.").nullable().optional(),
|
|
20
20
|
custom_vocabularies: z.array(z.string()).describe("List of custom vocabulary names used for the job.").nullable().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-list-of-jobs.mjs","names":[],"sources":["../../src/actions/get-list-of-jobs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RevAiGetListOfJobsInput
|
|
1
|
+
{"version":3,"file":"get-list-of-jobs.mjs","names":[],"sources":["../../src/actions/get-list-of-jobs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RevAiGetListOfJobsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of jobs to return (default 100, max 1000)\").optional(),\n ending_before: z.string().describe(\"Only return jobs created before the given job ID.\").optional(),\n starting_after: z.string().describe(\"Only return jobs created after the given job ID.\").optional(),\n}).describe(\"Parameters to paginate and limit the list of transcription jobs.\");\nconst RevAiGetListOfJobs_JobSchema = z.object({\n id: z.string().describe(\"Unique job identifier.\").nullable(),\n name: z.string().describe(\"Name assigned to the job, if any.\").nullable().optional(),\n type: z.string().describe(\"Type of the job.\").nullable(),\n status: z.string().describe(\"Status of the job (e.g., 'in_progress', 'transcribed').\").nullable(),\n language: z.string().describe(\"Language code of the submitted media.\").nullable().optional(),\n metadata: z.string().describe(\"User-provided metadata for the job.\").nullable().optional(),\n media_url: z.string().describe(\"URL of the media file submitted for transcription.\").nullable().optional(),\n created_on: z.string().describe(\"Timestamp when the job was created.\").nullable(),\n callback_url: z.string().describe(\"Callback URL provided for job notifications.\").nullable().optional(),\n completed_on: z.string().describe(\"Timestamp when the job was completed.\").nullable().optional(),\n custom_vocabularies: z.array(z.string()).describe(\"List of custom vocabulary names used for the job.\").nullable().optional(),\n delete_after_seconds: z.number().int().describe(\"Seconds after completion when the job will be deleted.\").nullable().optional(),\n}).describe(\"Representation of a transcription job metadata.\");\nexport const RevAiGetListOfJobsOutput = z.object({\n jobs: z.array(RevAiGetListOfJobs_JobSchema).describe(\"List of transcription jobs retrieved.\"),\n}).describe(\"Response wrapping list of transcription jobs.\");\n\nexport const revAiGetListOfJobs = action(\"REV_AI_GET_LIST_OF_JOBS\", {\n slug: \"rev_ai-get-list-of-jobs\",\n name: \"Get List of Jobs\",\n description: \"Tool to get list of transcription jobs from the past 30 days. Use when you need to retrieve and paginate through recent transcription tasks.\",\n input: RevAiGetListOfJobsInput,\n output: RevAiGetListOfJobsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACtG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACjG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC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4BAA4B,CAAC,CAAC,SAAS,uCAAuC,EAC9F,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
|
|
@@ -7,13 +7,13 @@ const RevAiGetTranscriptByIdInput = zod.z.object({
|
|
|
7
7
|
});
|
|
8
8
|
const RevAiGetTranscriptById_TranscriptElementSchema = zod.z.object({
|
|
9
9
|
ts: zod.z.number().describe("Start timestamp in seconds (not present for punctuation elements).").nullable().optional(),
|
|
10
|
-
type: zod.z.string().describe("Type of element, e.g., 'text' or 'punct'."),
|
|
11
|
-
value: zod.z.string().describe("Element content."),
|
|
10
|
+
type: zod.z.string().describe("Type of element, e.g., 'text' or 'punct'.").nullable(),
|
|
11
|
+
value: zod.z.string().describe("Element content.").nullable(),
|
|
12
12
|
end_ts: zod.z.number().describe("End timestamp in seconds (not present for punctuation elements).").nullable().optional(),
|
|
13
13
|
confidence: zod.z.number().describe("Confidence score for the transcription (0.0-1.0).").nullable().optional()
|
|
14
14
|
});
|
|
15
15
|
const RevAiGetTranscriptById_MonologueSchema = zod.z.object({
|
|
16
|
-
speaker: zod.z.number().int().describe("Speaker identifier."),
|
|
16
|
+
speaker: zod.z.number().int().describe("Speaker identifier.").nullable(),
|
|
17
17
|
elements: zod.z.array(RevAiGetTranscriptById_TranscriptElementSchema).describe("Sequence of transcript elements.")
|
|
18
18
|
});
|
|
19
19
|
const RevAiGetTranscriptByIdOutput = zod.z.object({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-transcript-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-transcript-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RevAiGetTranscriptByIdInput
|
|
1
|
+
{"version":3,"file":"get-transcript-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-transcript-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RevAiGetTranscriptByIdInput = z.object({\n id: z.string().describe(\"Identifier for the transcription job.\"),\n accept: z.enum([\"application/vnd.rev.transcript.v1.0+json\", \"text/plain\"]).default(\"application/vnd.rev.transcript.v1.0+json\").describe(\"Output format. Supported values: application/vnd.rev.transcript.v1.0+json (default) for JSON with timestamps and speaker info, or text/plain for plain text.\").optional(),\n});\nconst RevAiGetTranscriptById_TranscriptElementSchema = z.object({\n ts: z.number().describe(\"Start timestamp in seconds (not present for punctuation elements).\").nullable().optional(),\n type: z.string().describe(\"Type of element, e.g., 'text' or 'punct'.\").nullable(),\n value: z.string().describe(\"Element content.\").nullable(),\n end_ts: z.number().describe(\"End timestamp in seconds (not present for punctuation elements).\").nullable().optional(),\n confidence: z.number().describe(\"Confidence score for the transcription (0.0-1.0).\").nullable().optional(),\n});\nconst RevAiGetTranscriptById_MonologueSchema = z.object({\n speaker: z.number().int().describe(\"Speaker identifier.\").nullable(),\n elements: z.array(RevAiGetTranscriptById_TranscriptElementSchema).describe(\"Sequence of transcript elements.\"),\n});\nexport const RevAiGetTranscriptByIdOutput = z.object({\n text: z.string().describe(\"Raw transcript for non-JSON formats.\").nullable().optional(),\n monologues: z.array(RevAiGetTranscriptById_MonologueSchema).describe(\"List of monologues for JSON transcripts.\").nullable().optional(),\n});\n\nexport const revAiGetTranscriptById = action(\"REV_AI_GET_TRANSCRIPT_BY_ID\", {\n slug: \"rev_ai-get-transcript-by-id\",\n name: \"Get Transcript by ID\",\n description: \"Tool to retrieve the transcript of a completed Rev.ai job. Use after confirming job is complete. Supports JSON format (with timestamps and speaker info) or plain text format.\",\n input: RevAiGetTranscriptByIdInput,\n output: RevAiGetTranscriptByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC/D,QAAQA,IAAAA,EAAE,KAAK,CAAC,4CAA4C,YAAY,CAAC,CAAC,CAAC,QAAQ,0CAA0C,CAAC,CAAC,SAAS,8JAA8J,CAAC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put: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RevAiGetTranscriptByIdInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
accept: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
7
|
+
"application/vnd.rev.transcript.v1.0+json": "application/vnd.rev.transcript.v1.0+json";
|
|
8
|
+
"text/plain": "text/plain";
|
|
9
|
+
}>>>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const RevAiGetTranscriptByIdOutput: z.ZodObject<{
|
|
12
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
monologues: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
14
|
+
speaker: z.ZodNullable<z.ZodNumber>;
|
|
15
|
+
elements: z.ZodArray<z.ZodObject<{
|
|
16
|
+
ts: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
+
type: z.ZodNullable<z.ZodString>;
|
|
18
|
+
value: z.ZodNullable<z.ZodString>;
|
|
19
|
+
end_ts: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
|
+
confidence: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
|
+
}, z.core.$strip>>;
|
|
22
|
+
}, z.core.$strip>>>>;
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
declare const revAiGetTranscriptById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
|
+
id: string;
|
|
26
|
+
accept?: "application/vnd.rev.transcript.v1.0+json" | "text/plain" | undefined;
|
|
27
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
28
|
//#endregion
|
|
8
29
|
export { revAiGetTranscriptById };
|
|
9
30
|
//# sourceMappingURL=get-transcript-by-id.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-transcript-by-id.d.cts","names":[],"sources":["../../src/actions/get-transcript-by-id.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"get-transcript-by-id.d.cts","names":[],"sources":["../../src/actions/get-transcript-by-id.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;cAe3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -1,9 +1,30 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-transcript-by-id.d.ts
|
|
4
|
-
declare const RevAiGetTranscriptByIdInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RevAiGetTranscriptByIdInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
accept: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
7
|
+
"application/vnd.rev.transcript.v1.0+json": "application/vnd.rev.transcript.v1.0+json";
|
|
8
|
+
"text/plain": "text/plain";
|
|
9
|
+
}>>>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const RevAiGetTranscriptByIdOutput: z.ZodObject<{
|
|
12
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
monologues: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
14
|
+
speaker: z.ZodNullable<z.ZodNumber>;
|
|
15
|
+
elements: z.ZodArray<z.ZodObject<{
|
|
16
|
+
ts: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
+
type: z.ZodNullable<z.ZodString>;
|
|
18
|
+
value: z.ZodNullable<z.ZodString>;
|
|
19
|
+
end_ts: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
|
+
confidence: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
|
+
}, z.core.$strip>>;
|
|
22
|
+
}, z.core.$strip>>>>;
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
declare const revAiGetTranscriptById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
|
+
id: string;
|
|
26
|
+
accept?: "application/vnd.rev.transcript.v1.0+json" | "text/plain" | undefined;
|
|
27
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
28
|
//#endregion
|
|
8
29
|
export { revAiGetTranscriptById };
|
|
9
30
|
//# sourceMappingURL=get-transcript-by-id.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-transcript-by-id.d.mts","names":[],"sources":["../../src/actions/get-transcript-by-id.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"get-transcript-by-id.d.mts","names":[],"sources":["../../src/actions/get-transcript-by-id.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;cAe3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -7,13 +7,13 @@ const RevAiGetTranscriptByIdInput = z.object({
|
|
|
7
7
|
});
|
|
8
8
|
const RevAiGetTranscriptById_TranscriptElementSchema = z.object({
|
|
9
9
|
ts: z.number().describe("Start timestamp in seconds (not present for punctuation elements).").nullable().optional(),
|
|
10
|
-
type: z.string().describe("Type of element, e.g., 'text' or 'punct'."),
|
|
11
|
-
value: z.string().describe("Element content."),
|
|
10
|
+
type: z.string().describe("Type of element, e.g., 'text' or 'punct'.").nullable(),
|
|
11
|
+
value: z.string().describe("Element content.").nullable(),
|
|
12
12
|
end_ts: z.number().describe("End timestamp in seconds (not present for punctuation elements).").nullable().optional(),
|
|
13
13
|
confidence: z.number().describe("Confidence score for the transcription (0.0-1.0).").nullable().optional()
|
|
14
14
|
});
|
|
15
15
|
const RevAiGetTranscriptById_MonologueSchema = z.object({
|
|
16
|
-
speaker: z.number().int().describe("Speaker identifier."),
|
|
16
|
+
speaker: z.number().int().describe("Speaker identifier.").nullable(),
|
|
17
17
|
elements: z.array(RevAiGetTranscriptById_TranscriptElementSchema).describe("Sequence of transcript elements.")
|
|
18
18
|
});
|
|
19
19
|
const revAiGetTranscriptById = action("REV_AI_GET_TRANSCRIPT_BY_ID", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-transcript-by-id.mjs","names":[],"sources":["../../src/actions/get-transcript-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RevAiGetTranscriptByIdInput
|
|
1
|
+
{"version":3,"file":"get-transcript-by-id.mjs","names":[],"sources":["../../src/actions/get-transcript-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RevAiGetTranscriptByIdInput = z.object({\n id: z.string().describe(\"Identifier for the transcription job.\"),\n accept: z.enum([\"application/vnd.rev.transcript.v1.0+json\", \"text/plain\"]).default(\"application/vnd.rev.transcript.v1.0+json\").describe(\"Output format. Supported values: application/vnd.rev.transcript.v1.0+json (default) for JSON with timestamps and speaker info, or text/plain for plain text.\").optional(),\n});\nconst RevAiGetTranscriptById_TranscriptElementSchema = z.object({\n ts: z.number().describe(\"Start timestamp in seconds (not present for punctuation elements).\").nullable().optional(),\n type: z.string().describe(\"Type of element, e.g., 'text' or 'punct'.\").nullable(),\n value: z.string().describe(\"Element content.\").nullable(),\n end_ts: z.number().describe(\"End timestamp in seconds (not present for punctuation elements).\").nullable().optional(),\n confidence: z.number().describe(\"Confidence score for the transcription (0.0-1.0).\").nullable().optional(),\n});\nconst RevAiGetTranscriptById_MonologueSchema = z.object({\n speaker: z.number().int().describe(\"Speaker identifier.\").nullable(),\n elements: z.array(RevAiGetTranscriptById_TranscriptElementSchema).describe(\"Sequence of transcript elements.\"),\n});\nexport const RevAiGetTranscriptByIdOutput = z.object({\n text: z.string().describe(\"Raw transcript for non-JSON formats.\").nullable().optional(),\n monologues: z.array(RevAiGetTranscriptById_MonologueSchema).describe(\"List of monologues for JSON transcripts.\").nullable().optional(),\n});\n\nexport const revAiGetTranscriptById = action(\"REV_AI_GET_TRANSCRIPT_BY_ID\", {\n slug: \"rev_ai-get-transcript-by-id\",\n name: \"Get Transcript by ID\",\n description: \"Tool to retrieve the transcript of a completed Rev.ai job. Use after confirming job is complete. Supports JSON format (with timestamps and speaker info) or plain text format.\",\n input: RevAiGetTranscriptByIdInput,\n output: RevAiGetTranscriptByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC/D,QAAQ,EAAE,KAAK,CAAC,4CAA4C,YAAY,CAAC,CAAC,CAAC,QAAQ,0CAA0C,CAAC,CAAC,SAAS,8JAA8J,CAAC,CAAC,SAAS;AACnT,CAAC;AACD,MAAM,iDAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC;AACD,MAAM,yCAAyC,EAAE,OAAO;CACtD,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACnE,UAAU,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,kCAAkC;AAC/G,CAAC;AAMD,MAAa,yBAAyB,OAAO,+BAA+B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0C,EAAE,OAAO;EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,YAAY,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,CAOU;AACV,CAAC"}
|
|
@@ -18,7 +18,7 @@ const RevAiStartStreamTranscriptionInput = zod.z.object({
|
|
|
18
18
|
max_connection_wait_seconds: zod.z.number().int().default(60).describe("Maximum seconds to wait for WebSocket connection establishment.").optional(),
|
|
19
19
|
max_segment_duration_seconds: zod.z.number().int().describe("Maximum duration in seconds of each transcription segment.").optional()
|
|
20
20
|
}).describe("Parameters to initiate a real-time WebSocket transcription stream.");
|
|
21
|
-
const RevAiStartStreamTranscriptionOutput = zod.z.object({ url: zod.z.string().describe("WebSocket URL with query parameters to connect for real-time transcription.") }).describe("Response containing the WebSocket URL for streaming transcription.");
|
|
21
|
+
const RevAiStartStreamTranscriptionOutput = zod.z.object({ url: zod.z.string().describe("WebSocket URL with query parameters to connect for real-time transcription.").nullable() }).describe("Response containing the WebSocket URL for streaming transcription.");
|
|
22
22
|
const revAiStartStreamTranscription = require_action.action("REV_AI_START_STREAM_TRANSCRIPTION", {
|
|
23
23
|
slug: "rev_ai-start-stream-transcription",
|
|
24
24
|
name: "Start Stream Transcription",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"start-stream-transcription.cjs","names":["z","action"],"sources":["../../src/actions/start-stream-transcription.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RevAiStartStreamTranscriptionInput
|
|
1
|
+
{"version":3,"file":"start-stream-transcription.cjs","names":["z","action"],"sources":["../../src/actions/start-stream-transcription.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RevAiStartStreamTranscriptionInput = z.object({\n language: z.string().default(\"en\").describe(\"Language code in ISO 639-1 format for transcription, default 'en'.\").optional(),\n metadata: z.string().describe(\"Optional user metadata string to associate with the stream.\").optional(),\n priority: z.enum([\"speed\", \"quality\"]).default(\"speed\").describe(\"Priority of transcription processing: 'speed' or 'quality'.\").optional(),\n start_ts: z.number().describe(\"Initial timestamp (in seconds) from which to start transcription.\").optional(),\n transcriber: z.string().describe(\"Select a transcriber model, if multiple are available.\").optional(),\n content_type: z.string().describe(\"Audio MIME type and parameters (e.g., 'audio/x-raw;layout=interleaved;rate=16000;format=S16LE;channels=1', 'audio/x-wav', 'audio/x-flac').\"),\n filter_profanity: z.boolean().default(false).describe(\"Whether to filter profanity from transcripts.\").optional(),\n detailed_partials: z.boolean().default(false).describe(\"Whether to send detailed partial results.\").optional(),\n remove_disfluencies: z.boolean().default(false).describe(\"Whether to remove disfluencies (um, uh) from transcripts.\").optional(),\n skip_postprocessing: z.boolean().default(false).describe(\"Whether to skip post-processing phase.\").optional(),\n custom_vocabulary_id: z.string().describe(\"ID of a custom vocabulary to apply, if available.\").optional(),\n delete_after_seconds: z.number().int().describe(\"If set, server will delete the stream results after given seconds.\").optional(),\n enable_speaker_switch: z.boolean().default(false).describe(\"Whether to enable speaker-switch detection.\").optional(),\n max_connection_wait_seconds: z.number().int().default(60).describe(\"Maximum seconds to wait for WebSocket connection establishment.\").optional(),\n max_segment_duration_seconds: z.number().int().describe(\"Maximum duration in seconds of each transcription segment.\").optional(),\n}).describe(\"Parameters to initiate a real-time WebSocket transcription stream.\");\nexport const RevAiStartStreamTranscriptionOutput = z.object({\n url: z.string().describe(\"WebSocket URL with query parameters to connect for real-time transcription.\").nullable(),\n}).describe(\"Response containing the WebSocket URL for streaming transcription.\");\n\nexport const revAiStartStreamTranscription = action(\"REV_AI_START_STREAM_TRANSCRIPTION\", {\n slug: \"rev_ai-start-stream-transcription\",\n name: \"Start Stream Transcription\",\n description: \"Tool to start a WebSocket transcription stream. Use when you need real-time speech-to-text streaming via Rev.ai.\",\n input: RevAiStartStreamTranscriptionInput,\n output: RevAiStartStreamTranscriptionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC3H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACtG,UAAUA,IAAAA,EAAE,KAAK,CAAC,SAAS,SAAS,CAAC,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACzI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC5G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACpG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4IAA4I;CAC9K,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAChH,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC7G,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC/H,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC5G,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACxG,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CA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