@keystrokehq/rev_ai 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/dist/actions/delete-custom-vocabulary.cjs +1 -1
  2. package/dist/actions/delete-custom-vocabulary.cjs.map +1 -1
  3. package/dist/actions/delete-custom-vocabulary.d.cts +1 -1
  4. package/dist/actions/delete-custom-vocabulary.d.cts.map +1 -1
  5. package/dist/actions/delete-custom-vocabulary.d.mts +1 -1
  6. package/dist/actions/delete-custom-vocabulary.d.mts.map +1 -1
  7. package/dist/actions/delete-custom-vocabulary.mjs +1 -1
  8. package/dist/actions/delete-custom-vocabulary.mjs.map +1 -1
  9. package/dist/actions/delete-job-by-id.cjs +1 -1
  10. package/dist/actions/delete-job-by-id.cjs.map +1 -1
  11. package/dist/actions/delete-job-by-id.d.cts +1 -1
  12. package/dist/actions/delete-job-by-id.d.cts.map +1 -1
  13. package/dist/actions/delete-job-by-id.d.mts +1 -1
  14. package/dist/actions/delete-job-by-id.d.mts.map +1 -1
  15. package/dist/actions/delete-job-by-id.mjs +1 -1
  16. package/dist/actions/delete-job-by-id.mjs.map +1 -1
  17. package/dist/actions/get-account.cjs +1 -1
  18. package/dist/actions/get-account.cjs.map +1 -1
  19. package/dist/actions/get-account.d.cts +1 -1
  20. package/dist/actions/get-account.d.mts +1 -1
  21. package/dist/actions/get-account.mjs +1 -1
  22. package/dist/actions/get-account.mjs.map +1 -1
  23. package/dist/actions/get-captions.cjs +1 -1
  24. package/dist/actions/get-captions.cjs.map +1 -1
  25. package/dist/actions/get-captions.d.cts +1 -1
  26. package/dist/actions/get-captions.d.mts +1 -1
  27. package/dist/actions/get-captions.mjs +1 -1
  28. package/dist/actions/get-captions.mjs.map +1 -1
  29. package/dist/actions/get-custom-vocabulary-details.cjs +2 -2
  30. package/dist/actions/get-custom-vocabulary-details.cjs.map +1 -1
  31. package/dist/actions/get-custom-vocabulary-details.d.cts +2 -2
  32. package/dist/actions/get-custom-vocabulary-details.d.mts +2 -2
  33. package/dist/actions/get-custom-vocabulary-details.mjs +2 -2
  34. package/dist/actions/get-custom-vocabulary-details.mjs.map +1 -1
  35. package/dist/actions/get-job-by-id.cjs +3 -3
  36. package/dist/actions/get-job-by-id.cjs.map +1 -1
  37. package/dist/actions/get-job-by-id.d.cts +3 -3
  38. package/dist/actions/get-job-by-id.d.mts +3 -3
  39. package/dist/actions/get-job-by-id.mjs +3 -3
  40. package/dist/actions/get-job-by-id.mjs.map +1 -1
  41. package/dist/actions/get-list-of-jobs.cjs +2 -2
  42. package/dist/actions/get-list-of-jobs.cjs.map +1 -1
  43. package/dist/actions/get-list-of-jobs.d.cts +2 -2
  44. package/dist/actions/get-list-of-jobs.d.mts +2 -2
  45. package/dist/actions/get-list-of-jobs.mjs +2 -2
  46. package/dist/actions/get-list-of-jobs.mjs.map +1 -1
  47. package/dist/actions/get-transcript-by-id.cjs +3 -3
  48. package/dist/actions/get-transcript-by-id.cjs.map +1 -1
  49. package/dist/actions/get-transcript-by-id.d.cts +3 -3
  50. package/dist/actions/get-transcript-by-id.d.mts +3 -3
  51. package/dist/actions/get-transcript-by-id.mjs +3 -3
  52. package/dist/actions/get-transcript-by-id.mjs.map +1 -1
  53. package/dist/actions/start-stream-transcription.cjs +1 -1
  54. package/dist/actions/start-stream-transcription.cjs.map +1 -1
  55. package/dist/actions/start-stream-transcription.d.cts +1 -1
  56. package/dist/actions/start-stream-transcription.d.mts +1 -1
  57. package/dist/actions/start-stream-transcription.mjs +1 -1
  58. package/dist/actions/start-stream-transcription.mjs.map +1 -1
  59. package/dist/actions/submit-custom-vocabulary.cjs +1 -1
  60. package/dist/actions/submit-custom-vocabulary.cjs.map +1 -1
  61. package/dist/actions/submit-custom-vocabulary.d.cts +1 -1
  62. package/dist/actions/submit-custom-vocabulary.d.mts +1 -1
  63. package/dist/actions/submit-custom-vocabulary.mjs +1 -1
  64. package/dist/actions/submit-custom-vocabulary.mjs.map +1 -1
  65. package/dist/actions/submit-transcription-job.cjs +3 -3
  66. package/dist/actions/submit-transcription-job.cjs.map +1 -1
  67. package/dist/actions/submit-transcription-job.d.cts +4 -3
  68. package/dist/actions/submit-transcription-job.d.mts +4 -3
  69. package/dist/actions/submit-transcription-job.mjs +3 -3
  70. package/dist/actions/submit-transcription-job.mjs.map +1 -1
  71. package/package.json +1 -1
@@ -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 = 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,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAChG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAChF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,qBAAqBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,MAAMA,IAAAA,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,uCAAuC,EAC9F,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAE3D,MAAa,qBAAqBC,eAAAA,OAAO,2BAA2B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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}).passthrough().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}).passthrough().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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AC,CAAC,SAAS,iDAAiD;AAC3E,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,MAAMA,IAAAA,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,uCAAuC,EAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,qBAAqBC,eAAAA,OAAO,2BAA2B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -20,8 +20,8 @@ declare const RevAiGetListOfJobsOutput: z.ZodObject<{
20
20
  completed_on: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  custom_vocabularies: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
22
22
  delete_after_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
- }, z.core.$strip>>;
24
- }, z.core.$strip>;
23
+ }, z.core.$loose>>;
24
+ }, z.core.$loose>;
25
25
  declare const revAiGetListOfJobs: import("@keystrokehq/action").WorkflowActionDefinition<{
26
26
  limit?: number | undefined;
27
27
  ending_before?: string | undefined;
@@ -20,8 +20,8 @@ declare const RevAiGetListOfJobsOutput: z.ZodObject<{
20
20
  completed_on: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  custom_vocabularies: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
22
22
  delete_after_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
- }, z.core.$strip>>;
24
- }, z.core.$strip>;
23
+ }, z.core.$loose>>;
24
+ }, z.core.$loose>;
25
25
  declare const revAiGetListOfJobs: import("@keystrokehq/action").WorkflowActionDefinition<{
26
26
  limit?: number | undefined;
27
27
  ending_before?: string | undefined;
@@ -19,13 +19,13 @@ const RevAiGetListOfJobs_JobSchema = z.object({
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(),
21
21
  delete_after_seconds: z.number().int().describe("Seconds after completion when the job will be deleted.").nullable().optional()
22
- }).describe("Representation of a transcription job metadata.");
22
+ }).passthrough().describe("Representation of a transcription job metadata.");
23
23
  const revAiGetListOfJobs = action("REV_AI_GET_LIST_OF_JOBS", {
24
24
  slug: "rev_ai-get-list-of-jobs",
25
25
  name: "Get List of Jobs",
26
26
  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.",
27
27
  input: RevAiGetListOfJobsInput,
28
- output: z.object({ jobs: z.array(RevAiGetListOfJobs_JobSchema).describe("List of transcription jobs retrieved.") }).describe("Response wrapping list of transcription jobs.")
28
+ output: z.object({ jobs: z.array(RevAiGetListOfJobs_JobSchema).describe("List of transcription jobs retrieved.") }).passthrough().describe("Response wrapping list of transcription jobs.")
29
29
  });
30
30
  //#endregion
31
31
  export { revAiGetListOfJobs };
@@ -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 = 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,SAAS,kEAAkE;AAC9E,MAAM,+BAA+B,EAAE,OAAO;CAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAChG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAChF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,qBAAqB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAK7D,MAAa,qBAAqB,OAAO,2BAA2B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsC,EAAE,OAAO,EAC/C,MAAM,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,uCAAuC,EAC9F,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
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}).passthrough().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}).passthrough().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,SAA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BAAqB,OAAO,2BAA2B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsC,EAAE,OAAO,EAC/C,MAAM,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,uCAAuC,EAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
@@ -11,15 +11,15 @@ const RevAiGetTranscriptById_TranscriptElementSchema = zod.z.object({
11
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
+ }).passthrough();
15
15
  const RevAiGetTranscriptById_MonologueSchema = zod.z.object({
16
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
+ }).passthrough();
19
19
  const RevAiGetTranscriptByIdOutput = zod.z.object({
20
20
  text: zod.z.string().describe("Raw transcript for non-JSON formats.").nullable().optional(),
21
21
  monologues: zod.z.array(RevAiGetTranscriptById_MonologueSchema).describe("List of monologues for JSON transcripts.").nullable().optional()
22
- });
22
+ }).passthrough();
23
23
  const revAiGetTranscriptById = require_action.action("REV_AI_GET_TRANSCRIPT_BY_ID", {
24
24
  slug: "rev_ai-get-transcript-by-id",
25
25
  name: "Get Transcript by ID",
@@ -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 = 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,CAAC,SAAS;AACnT,CAAC;AACD,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC;AACD,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACnE,UAAUA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,kCAAkC;AAC/G,CAAC;AACD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC;AAED,MAAa,yBAAyBC,eAAAA,OAAO,+BAA+B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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}).passthrough();\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}).passthrough();\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}).passthrough();\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,CAAC,SAAS;AACnT,CAAC;AACD,MAAM,iDAAiDA,IAAAA,EAAE,OAAO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: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
- }, z.core.$strip>>;
22
- }, z.core.$strip>>>>;
23
- }, z.core.$strip>;
21
+ }, z.core.$loose>>;
22
+ }, z.core.$loose>>>>;
23
+ }, z.core.$loose>;
24
24
  declare const revAiGetTranscriptById: import("@keystrokehq/action").WorkflowActionDefinition<{
25
25
  id: string;
26
26
  accept?: "application/vnd.rev.transcript.v1.0+json" | "text/plain" | undefined;
@@ -18,9 +18,9 @@ declare const RevAiGetTranscriptByIdOutput: z.ZodObject<{
18
18
  value: z.ZodNullable<z.ZodString>;
19
19
  end_ts: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
20
20
  confidence: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
- }, z.core.$strip>>;
22
- }, z.core.$strip>>>>;
23
- }, z.core.$strip>;
21
+ }, z.core.$loose>>;
22
+ }, z.core.$loose>>>>;
23
+ }, z.core.$loose>;
24
24
  declare const revAiGetTranscriptById: import("@keystrokehq/action").WorkflowActionDefinition<{
25
25
  id: string;
26
26
  accept?: "application/vnd.rev.transcript.v1.0+json" | "text/plain" | undefined;
@@ -11,11 +11,11 @@ const RevAiGetTranscriptById_TranscriptElementSchema = z.object({
11
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
+ }).passthrough();
15
15
  const RevAiGetTranscriptById_MonologueSchema = z.object({
16
16
  speaker: z.number().int().describe("Speaker identifier.").nullable(),
17
17
  elements: z.array(RevAiGetTranscriptById_TranscriptElementSchema).describe("Sequence of transcript elements.")
18
- });
18
+ }).passthrough();
19
19
  const revAiGetTranscriptById = action("REV_AI_GET_TRANSCRIPT_BY_ID", {
20
20
  slug: "rev_ai-get-transcript-by-id",
21
21
  name: "Get Transcript by ID",
@@ -24,7 +24,7 @@ const revAiGetTranscriptById = action("REV_AI_GET_TRANSCRIPT_BY_ID", {
24
24
  output: z.object({
25
25
  text: z.string().describe("Raw transcript for non-JSON formats.").nullable().optional(),
26
26
  monologues: z.array(RevAiGetTranscriptById_MonologueSchema).describe("List of monologues for JSON transcripts.").nullable().optional()
27
- })
27
+ }).passthrough()
28
28
  });
29
29
  //#endregion
30
30
  export { revAiGetTranscriptById };
@@ -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 = 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"}
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}).passthrough();\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}).passthrough();\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}).passthrough();\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 (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,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,CAAC,CAAC,CAAC,YAOO;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.").nullable() }).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() }).passthrough().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 = 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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CA,IAAAA,EAAE,OAAO,EAC1D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,EACnH,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAEhF,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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}).passthrough().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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;
26
- }, z.core.$strip>;
26
+ }, z.core.$loose>;
27
27
  declare const revAiStartStreamTranscription: import("@keystrokehq/action").WorkflowActionDefinition<{
28
28
  content_type: string;
29
29
  language?: string | undefined;
@@ -23,7 +23,7 @@ declare const RevAiStartStreamTranscriptionInput: z.ZodObject<{
23
23
  }, z.core.$strip>;
24
24
  declare const RevAiStartStreamTranscriptionOutput: z.ZodObject<{
25
25
  url: z.ZodNullable<z.ZodString>;
26
- }, z.core.$strip>;
26
+ }, z.core.$loose>;
27
27
  declare const revAiStartStreamTranscription: import("@keystrokehq/action").WorkflowActionDefinition<{
28
28
  content_type: string;
29
29
  language?: string | undefined;
@@ -21,7 +21,7 @@ const revAiStartStreamTranscription = action("REV_AI_START_STREAM_TRANSCRIPTION"
21
21
  max_connection_wait_seconds: z.number().int().default(60).describe("Maximum seconds to wait for WebSocket connection establishment.").optional(),
22
22
  max_segment_duration_seconds: z.number().int().describe("Maximum duration in seconds of each transcription segment.").optional()
23
23
  }).describe("Parameters to initiate a real-time WebSocket transcription stream."),
24
- output: z.object({ url: z.string().describe("WebSocket URL with query parameters to connect for real-time transcription.").nullable() }).describe("Response containing the WebSocket URL for streaming transcription.")
24
+ output: z.object({ url: z.string().describe("WebSocket URL with query parameters to connect for real-time transcription.").nullable() }).passthrough().describe("Response containing the WebSocket URL for streaming transcription.")
25
25
  });
26
26
  //#endregion
27
27
  export { revAiStartStreamTranscription };
@@ -1 +1 @@
1
- {"version":3,"file":"start-stream-transcription.mjs","names":[],"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":";;AAyBA,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzBgD,EAAE,OAAO;EACzD,UAAU,EAAE,OA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,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACjI,CAAC,CAAC,CAAC,SAAS,oEASH;CACP,QATiD,EAAE,OAAO,EAC1D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,EACnH,CAAC,CAAC,CAAC,SAAS,oEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"start-stream-transcription.mjs","names":[],"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}).passthrough().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":";;AAyBA,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzBgD,EAAE,OAAO;EACzD,UAAU,EAAE,OAAO,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EAC3H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EACtG,UAAU,EAAE,KAAK,CAAC,SAAS,SAAS,CAAC,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EACzI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EAC5G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EACpG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4IAA4I;EAC9K,kBAAkB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAChH,mBAAmB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAC7G,qBAAqB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EAC/H,qBAAqB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC5G,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACxG,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EAC/H,uBAAuB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACnH,6BAA6B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EAC/I,8BAA8B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACjI,CAAC,CAAC,CAAC,SAAS,oEASH;CACP,QATiD,EAAE,OAAO,EAC1D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,EACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAOhB;AACV,CAAC"}
@@ -13,7 +13,7 @@ const RevAiSubmitCustomVocabularyOutput = zod.z.object({
13
13
  metadata: zod.z.string().describe("User-provided metadata associated with the custom vocabulary.").nullable().optional(),
14
14
  created_on: zod.z.string().describe("ISO 8601 UTC timestamp when the custom vocabulary was created.").nullable(),
15
15
  completed_on: zod.z.string().describe("ISO 8601 UTC timestamp when processing completed, null if still in progress.").nullable().optional()
16
- }).describe("Response schema for submitted custom vocabulary.");
16
+ }).passthrough().describe("Response schema for submitted custom vocabulary.");
17
17
  const revAiSubmitCustomVocabulary = require_action.action("REV_AI_SUBMIT_CUSTOM_VOCABULARY", {
18
18
  slug: "rev_ai-submit-custom-vocabulary",
19
19
  name: "Submit Custom Vocabulary",
@@ -1 +1 @@
1
- {"version":3,"file":"submit-custom-vocabulary.cjs","names":["z","action"],"sources":["../../src/actions/submit-custom-vocabulary.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RevAiSubmitCustomVocabularyInput = z.object({\n phrases: z.array(z.string()).describe(\"List of phrases or words to include in the custom vocabulary.\"),\n metadata: z.string().describe(\"Optional user-defined metadata for the custom vocabulary.\").optional(),\n custom_vocabulary_id: z.string().describe(\"Optional unique identifier for the custom vocabulary.\").optional(),\n}).describe(\"Parameters for submitting a custom vocabulary.\");\nexport const RevAiSubmitCustomVocabularyOutput = z.object({\n id: z.string().describe(\"Unique custom vocabulary identifier assigned by Rev.ai.\").nullable(),\n status: z.string().describe(\"Processing status of the custom vocabulary (e.g., 'in_progress', 'failed', 'complete').\").nullable(),\n strict: z.boolean().describe(\"Whether strict mode is enabled for the custom vocabulary.\").nullable().optional(),\n metadata: z.string().describe(\"User-provided metadata associated with the custom vocabulary.\").nullable().optional(),\n created_on: z.string().describe(\"ISO 8601 UTC timestamp when the custom vocabulary was created.\").nullable(),\n completed_on: z.string().describe(\"ISO 8601 UTC timestamp when processing completed, null if still in progress.\").nullable().optional(),\n}).describe(\"Response schema for submitted custom vocabulary.\");\n\nexport const revAiSubmitCustomVocabulary = action(\"REV_AI_SUBMIT_CUSTOM_VOCABULARY\", {\n slug: \"rev_ai-submit-custom-vocabulary\",\n name: \"Submit Custom Vocabulary\",\n description: \"Tool to submit a custom vocabulary for improved speech recognition. Use when you want to process domain-specific terms asynchronously.\",\n input: RevAiSubmitCustomVocabularyInput,\n output: RevAiSubmitCustomVocabularyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+DAA+D;CACrG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACpG,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC5F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CAChI,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC3G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"submit-custom-vocabulary.cjs","names":["z","action"],"sources":["../../src/actions/submit-custom-vocabulary.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RevAiSubmitCustomVocabularyInput = z.object({\n phrases: z.array(z.string()).describe(\"List of phrases or words to include in the custom vocabulary.\"),\n metadata: z.string().describe(\"Optional user-defined metadata for the custom vocabulary.\").optional(),\n custom_vocabulary_id: z.string().describe(\"Optional unique identifier for the custom vocabulary.\").optional(),\n}).describe(\"Parameters for submitting a custom vocabulary.\");\nexport const RevAiSubmitCustomVocabularyOutput = z.object({\n id: z.string().describe(\"Unique custom vocabulary identifier assigned by Rev.ai.\").nullable(),\n status: z.string().describe(\"Processing status of the custom vocabulary (e.g., 'in_progress', 'failed', 'complete').\").nullable(),\n strict: z.boolean().describe(\"Whether strict mode is enabled for the custom vocabulary.\").nullable().optional(),\n metadata: z.string().describe(\"User-provided metadata associated with the custom vocabulary.\").nullable().optional(),\n created_on: z.string().describe(\"ISO 8601 UTC timestamp when the custom vocabulary was created.\").nullable(),\n completed_on: z.string().describe(\"ISO 8601 UTC timestamp when processing completed, null if still in progress.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for submitted custom vocabulary.\");\n\nexport const revAiSubmitCustomVocabulary = action(\"REV_AI_SUBMIT_CUSTOM_VOCABULARY\", {\n slug: \"rev_ai-submit-custom-vocabulary\",\n name: \"Submit Custom Vocabulary\",\n description: \"Tool to submit a custom vocabulary for improved speech recognition. Use when you want to process domain-specific terms asynchronously.\",\n input: RevAiSubmitCustomVocabularyInput,\n output: RevAiSubmitCustomVocabularyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+DAA+D;CACrG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACpG,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC5F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CAChI,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC3G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -13,7 +13,7 @@ declare const RevAiSubmitCustomVocabularyOutput: z.ZodObject<{
13
13
  metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  created_on: z.ZodNullable<z.ZodString>;
15
15
  completed_on: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
- }, z.core.$strip>;
16
+ }, z.core.$loose>;
17
17
  declare const revAiSubmitCustomVocabulary: import("@keystrokehq/action").WorkflowActionDefinition<{
18
18
  phrases: string[];
19
19
  metadata?: string | undefined;
@@ -13,7 +13,7 @@ declare const RevAiSubmitCustomVocabularyOutput: z.ZodObject<{
13
13
  metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  created_on: z.ZodNullable<z.ZodString>;
15
15
  completed_on: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
- }, z.core.$strip>;
16
+ }, z.core.$loose>;
17
17
  declare const revAiSubmitCustomVocabulary: import("@keystrokehq/action").WorkflowActionDefinition<{
18
18
  phrases: string[];
19
19
  metadata?: string | undefined;
@@ -16,7 +16,7 @@ const revAiSubmitCustomVocabulary = action("REV_AI_SUBMIT_CUSTOM_VOCABULARY", {
16
16
  metadata: z.string().describe("User-provided metadata associated with the custom vocabulary.").nullable().optional(),
17
17
  created_on: z.string().describe("ISO 8601 UTC timestamp when the custom vocabulary was created.").nullable(),
18
18
  completed_on: z.string().describe("ISO 8601 UTC timestamp when processing completed, null if still in progress.").nullable().optional()
19
- }).describe("Response schema for submitted custom vocabulary.")
19
+ }).passthrough().describe("Response schema for submitted custom vocabulary.")
20
20
  });
21
21
  //#endregion
22
22
  export { revAiSubmitCustomVocabulary };
@@ -1 +1 @@
1
- {"version":3,"file":"submit-custom-vocabulary.mjs","names":[],"sources":["../../src/actions/submit-custom-vocabulary.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RevAiSubmitCustomVocabularyInput = z.object({\n phrases: z.array(z.string()).describe(\"List of phrases or words to include in the custom vocabulary.\"),\n metadata: z.string().describe(\"Optional user-defined metadata for the custom vocabulary.\").optional(),\n custom_vocabulary_id: z.string().describe(\"Optional unique identifier for the custom vocabulary.\").optional(),\n}).describe(\"Parameters for submitting a custom vocabulary.\");\nexport const RevAiSubmitCustomVocabularyOutput = z.object({\n id: z.string().describe(\"Unique custom vocabulary identifier assigned by Rev.ai.\").nullable(),\n status: z.string().describe(\"Processing status of the custom vocabulary (e.g., 'in_progress', 'failed', 'complete').\").nullable(),\n strict: z.boolean().describe(\"Whether strict mode is enabled for the custom vocabulary.\").nullable().optional(),\n metadata: z.string().describe(\"User-provided metadata associated with the custom vocabulary.\").nullable().optional(),\n created_on: z.string().describe(\"ISO 8601 UTC timestamp when the custom vocabulary was created.\").nullable(),\n completed_on: z.string().describe(\"ISO 8601 UTC timestamp when processing completed, null if still in progress.\").nullable().optional(),\n}).describe(\"Response schema for submitted custom vocabulary.\");\n\nexport const revAiSubmitCustomVocabulary = action(\"REV_AI_SUBMIT_CUSTOM_VOCABULARY\", {\n slug: \"rev_ai-submit-custom-vocabulary\",\n name: \"Submit Custom Vocabulary\",\n description: \"Tool to submit a custom vocabulary for improved speech recognition. Use when you want to process domain-specific terms asynchronously.\",\n input: RevAiSubmitCustomVocabularyInput,\n output: RevAiSubmitCustomVocabularyOutput,\n});\n"],"mappings":";;AAkBA,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB8C,EAAE,OAAO;EACvD,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+DAA+D;EACrG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACpG,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,SAAS,gDAcH;CACP,QAd+C,EAAE,OAAO;EACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAC5F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EAChI,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EAC3G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"submit-custom-vocabulary.mjs","names":[],"sources":["../../src/actions/submit-custom-vocabulary.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RevAiSubmitCustomVocabularyInput = z.object({\n phrases: z.array(z.string()).describe(\"List of phrases or words to include in the custom vocabulary.\"),\n metadata: z.string().describe(\"Optional user-defined metadata for the custom vocabulary.\").optional(),\n custom_vocabulary_id: z.string().describe(\"Optional unique identifier for the custom vocabulary.\").optional(),\n}).describe(\"Parameters for submitting a custom vocabulary.\");\nexport const RevAiSubmitCustomVocabularyOutput = z.object({\n id: z.string().describe(\"Unique custom vocabulary identifier assigned by Rev.ai.\").nullable(),\n status: z.string().describe(\"Processing status of the custom vocabulary (e.g., 'in_progress', 'failed', 'complete').\").nullable(),\n strict: z.boolean().describe(\"Whether strict mode is enabled for the custom vocabulary.\").nullable().optional(),\n metadata: z.string().describe(\"User-provided metadata associated with the custom vocabulary.\").nullable().optional(),\n created_on: z.string().describe(\"ISO 8601 UTC timestamp when the custom vocabulary was created.\").nullable(),\n completed_on: z.string().describe(\"ISO 8601 UTC timestamp when processing completed, null if still in progress.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for submitted custom vocabulary.\");\n\nexport const revAiSubmitCustomVocabulary = action(\"REV_AI_SUBMIT_CUSTOM_VOCABULARY\", {\n slug: \"rev_ai-submit-custom-vocabulary\",\n name: \"Submit Custom Vocabulary\",\n description: \"Tool to submit a custom vocabulary for improved speech recognition. Use when you want to process domain-specific terms asynchronously.\",\n input: RevAiSubmitCustomVocabularyInput,\n output: RevAiSubmitCustomVocabularyOutput,\n});\n"],"mappings":";;AAkBA,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB8C,EAAE,OAAO;EACvD,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+DAA+D;EACrG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACpG,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,SAAS,gDAcH;CACP,QAd+C,EAAE,OAAO;EACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAC5F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EAChI,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EAC3G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
@@ -10,7 +10,7 @@ const RevAiSubmitTranscriptionJobInput = zod.z.object({
10
10
  filter_profanity: zod.z.boolean().default(false).describe("If true, filter profanity from the transcript").optional(),
11
11
  skip_diarization: zod.z.boolean().default(false).describe("If true, do NOT perform speaker diarization").optional(),
12
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(),
13
+ custom_vocabularies: zod.z.array(zod.z.object({ vocabulary_id: zod.z.string().describe("Identifier of a custom vocabulary resource") }).passthrough().describe("Apply a custom vocabulary to improve transcription accuracy.")).describe("List of custom vocabularies to apply").optional(),
14
14
  delete_after_seconds: zod.z.number().int().describe("Automatically delete job this many seconds after completion").optional(),
15
15
  transcription_config: zod.z.object({
16
16
  language: zod.z.string().describe("ISO 639-1 or BCP-47 language code for transcription").optional(),
@@ -23,7 +23,7 @@ const RevAiSubmitTranscriptionJob_TranscriptionConfigSchema = zod.z.object({
23
23
  language: zod.z.string().describe("ISO 639-1 or BCP-47 language code for transcription").nullable().optional(),
24
24
  output_locale: zod.z.string().describe("BCP-47 locale tag for transcript output").nullable().optional(),
25
25
  operating_point: zod.z.enum(["standard", "enhanced"]).describe("Processing operating point: 'standard' or 'enhanced'").nullable().optional()
26
- }).describe("Settings for advanced transcription options.");
26
+ }).passthrough().describe("Settings for advanced transcription options.");
27
27
  const RevAiSubmitTranscriptionJobOutput = zod.z.object({
28
28
  id: zod.z.string().describe("Unique job identifier").nullable(),
29
29
  name: zod.z.string().describe("File name or media identifier").nullable().optional(),
@@ -38,7 +38,7 @@ const RevAiSubmitTranscriptionJobOutput = zod.z.object({
38
38
  custom_vocabulary_id: zod.z.string().describe("Applied custom vocabulary ID").nullable().optional(),
39
39
  delete_after_seconds: zod.z.number().int().describe("Auto-delete seconds after completion").nullable().optional(),
40
40
  transcription_config: RevAiSubmitTranscriptionJob_TranscriptionConfigSchema.nullable().optional()
41
- }).describe("Response schema for a submitted transcription job.");
41
+ }).passthrough().describe("Response schema for a submitted transcription job.");
42
42
  const revAiSubmitTranscriptionJob = require_action.action("REV_AI_SUBMIT_TRANSCRIPTION_JOB", {
43
43
  slug: "rev_ai-submit-transcription-job",
44
44
  name: "Submit Transcription Job",
@@ -1 +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.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.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.object({\n id: z.string().describe(\"Unique job identifier\").nullable(),\n name: z.string().describe(\"File name or media identifier\").nullable().optional(),\n type: z.string().describe(\"Job type, e.g. 'async'\").nullable(),\n status: z.string().describe(\"Transcription job status, e.g. 'in_progress'\").nullable(),\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\").nullable(),\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,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,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,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CACP,QAAQ;AACV,CAAC"}
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.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}).passthrough().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.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}).passthrough().describe(\"Settings for advanced transcription options.\");\nexport const RevAiSubmitTranscriptionJobOutput = z.object({\n id: z.string().describe(\"Unique job identifier\").nullable(),\n name: z.string().describe(\"File name or media identifier\").nullable().optional(),\n type: z.string().describe(\"Job type, e.g. 'async'\").nullable(),\n status: z.string().describe(\"Transcription job status, e.g. 'in_progress'\").nullable(),\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\").nullable(),\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}).passthrough().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,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,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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AE,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,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -12,7 +12,7 @@ declare const RevAiSubmitTranscriptionJobInput: z.ZodObject<{
12
12
  skip_punctuation: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
13
13
  custom_vocabularies: z.ZodOptional<z.ZodArray<z.ZodObject<{
14
14
  vocabulary_id: z.ZodString;
15
- }, z.core.$strip>>>;
15
+ }, z.core.$loose>>>;
16
16
  delete_after_seconds: z.ZodOptional<z.ZodNumber>;
17
17
  transcription_config: z.ZodOptional<z.ZodObject<{
18
18
  language: z.ZodOptional<z.ZodString>;
@@ -44,8 +44,8 @@ declare const RevAiSubmitTranscriptionJobOutput: z.ZodObject<{
44
44
  standard: "standard";
45
45
  enhanced: "enhanced";
46
46
  }>>>;
47
- }, z.core.$strip>>>;
48
- }, z.core.$strip>;
47
+ }, z.core.$loose>>>;
48
+ }, z.core.$loose>;
49
49
  declare const revAiSubmitTranscriptionJob: import("@keystrokehq/action").WorkflowActionDefinition<{
50
50
  file?: string | undefined;
51
51
  language?: string | undefined;
@@ -56,6 +56,7 @@ declare const revAiSubmitTranscriptionJob: import("@keystrokehq/action").Workflo
56
56
  skip_diarization?: boolean | undefined;
57
57
  skip_punctuation?: boolean | undefined;
58
58
  custom_vocabularies?: {
59
+ [x: string]: unknown;
59
60
  vocabulary_id: string;
60
61
  }[] | undefined;
61
62
  delete_after_seconds?: number | undefined;
@@ -12,7 +12,7 @@ declare const RevAiSubmitTranscriptionJobInput: z.ZodObject<{
12
12
  skip_punctuation: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
13
13
  custom_vocabularies: z.ZodOptional<z.ZodArray<z.ZodObject<{
14
14
  vocabulary_id: z.ZodString;
15
- }, z.core.$strip>>>;
15
+ }, z.core.$loose>>>;
16
16
  delete_after_seconds: z.ZodOptional<z.ZodNumber>;
17
17
  transcription_config: z.ZodOptional<z.ZodObject<{
18
18
  language: z.ZodOptional<z.ZodString>;
@@ -44,8 +44,8 @@ declare const RevAiSubmitTranscriptionJobOutput: z.ZodObject<{
44
44
  standard: "standard";
45
45
  enhanced: "enhanced";
46
46
  }>>>;
47
- }, z.core.$strip>>>;
48
- }, z.core.$strip>;
47
+ }, z.core.$loose>>>;
48
+ }, z.core.$loose>;
49
49
  declare const revAiSubmitTranscriptionJob: import("@keystrokehq/action").WorkflowActionDefinition<{
50
50
  file?: string | undefined;
51
51
  language?: string | undefined;
@@ -56,6 +56,7 @@ declare const revAiSubmitTranscriptionJob: import("@keystrokehq/action").Workflo
56
56
  skip_diarization?: boolean | undefined;
57
57
  skip_punctuation?: boolean | undefined;
58
58
  custom_vocabularies?: {
59
+ [x: string]: unknown;
59
60
  vocabulary_id: string;
60
61
  }[] | undefined;
61
62
  delete_after_seconds?: number | undefined;
@@ -10,7 +10,7 @@ const RevAiSubmitTranscriptionJobInput = z.object({
10
10
  filter_profanity: z.boolean().default(false).describe("If true, filter profanity from the transcript").optional(),
11
11
  skip_diarization: z.boolean().default(false).describe("If true, do NOT perform speaker diarization").optional(),
12
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(),
13
+ custom_vocabularies: z.array(z.object({ vocabulary_id: z.string().describe("Identifier of a custom vocabulary resource") }).passthrough().describe("Apply a custom vocabulary to improve transcription accuracy.")).describe("List of custom vocabularies to apply").optional(),
14
14
  delete_after_seconds: z.number().int().describe("Automatically delete job this many seconds after completion").optional(),
15
15
  transcription_config: z.object({
16
16
  language: z.string().describe("ISO 639-1 or BCP-47 language code for transcription").optional(),
@@ -23,7 +23,7 @@ const RevAiSubmitTranscriptionJob_TranscriptionConfigSchema = z.object({
23
23
  language: z.string().describe("ISO 639-1 or BCP-47 language code for transcription").nullable().optional(),
24
24
  output_locale: z.string().describe("BCP-47 locale tag for transcript output").nullable().optional(),
25
25
  operating_point: z.enum(["standard", "enhanced"]).describe("Processing operating point: 'standard' or 'enhanced'").nullable().optional()
26
- }).describe("Settings for advanced transcription options.");
26
+ }).passthrough().describe("Settings for advanced transcription options.");
27
27
  const revAiSubmitTranscriptionJob = action("REV_AI_SUBMIT_TRANSCRIPTION_JOB", {
28
28
  slug: "rev_ai-submit-transcription-job",
29
29
  name: "Submit Transcription Job",
@@ -43,7 +43,7 @@ const revAiSubmitTranscriptionJob = action("REV_AI_SUBMIT_TRANSCRIPTION_JOB", {
43
43
  custom_vocabulary_id: z.string().describe("Applied custom vocabulary ID").nullable().optional(),
44
44
  delete_after_seconds: z.number().int().describe("Auto-delete seconds after completion").nullable().optional(),
45
45
  transcription_config: RevAiSubmitTranscriptionJob_TranscriptionConfigSchema.nullable().optional()
46
- }).describe("Response schema for a submitted transcription job.")
46
+ }).passthrough().describe("Response schema for a submitted transcription job.")
47
47
  });
48
48
  //#endregion
49
49
  export { revAiSubmitTranscriptionJob };
@@ -1 +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.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.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.object({\n id: z.string().describe(\"Unique job identifier\").nullable(),\n name: z.string().describe(\"File name or media identifier\").nullable().optional(),\n type: z.string().describe(\"Job type, e.g. 'async'\").nullable(),\n status: z.string().describe(\"Transcription job status, e.g. 'in_progress'\").nullable(),\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\").nullable(),\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,mCAAmC,EAAE,OAAO;CACvD,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,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACvF,cAAc,EAAE,OAAO,CAAC,CAAC,S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AAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,sBAAsB,sDAAsD,SAAS,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
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.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}).passthrough().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.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}).passthrough().describe(\"Settings for advanced transcription options.\");\nexport const RevAiSubmitTranscriptionJobOutput = z.object({\n id: z.string().describe(\"Unique job identifier\").nullable(),\n name: z.string().describe(\"File name or media identifier\").nullable().optional(),\n type: z.string().describe(\"Job type, e.g. 'async'\").nullable(),\n status: z.string().describe(\"Transcription job status, e.g. 'in_progress'\").nullable(),\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\").nullable(),\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}).passthrough().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,mCAAmC,EAAE,OAAO;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC9F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uDAA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kB,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,sBAAsB,sDAAsD,SAAS,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/rev_ai",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"