@keystrokehq/rev_ai 0.1.4 → 0.1.6

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 (101) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/delete-custom-vocabulary.cjs +1 -0
  4. package/dist/actions/delete-custom-vocabulary.cjs.map +1 -1
  5. package/dist/actions/delete-custom-vocabulary.d.cts +3 -3
  6. package/dist/actions/delete-custom-vocabulary.d.cts.map +1 -1
  7. package/dist/actions/delete-custom-vocabulary.d.mts +3 -3
  8. package/dist/actions/delete-custom-vocabulary.d.mts.map +1 -1
  9. package/dist/actions/delete-custom-vocabulary.mjs +1 -0
  10. package/dist/actions/delete-custom-vocabulary.mjs.map +1 -1
  11. package/dist/actions/delete-job-by-id.cjs +1 -0
  12. package/dist/actions/delete-job-by-id.cjs.map +1 -1
  13. package/dist/actions/delete-job-by-id.d.cts +3 -3
  14. package/dist/actions/delete-job-by-id.d.cts.map +1 -1
  15. package/dist/actions/delete-job-by-id.d.mts +3 -3
  16. package/dist/actions/delete-job-by-id.d.mts.map +1 -1
  17. package/dist/actions/delete-job-by-id.mjs +1 -0
  18. package/dist/actions/delete-job-by-id.mjs.map +1 -1
  19. package/dist/actions/get-account.cjs +1 -0
  20. package/dist/actions/get-account.cjs.map +1 -1
  21. package/dist/actions/get-account.d.cts +3 -1
  22. package/dist/actions/get-account.d.cts.map +1 -1
  23. package/dist/actions/get-account.d.mts +3 -1
  24. package/dist/actions/get-account.d.mts.map +1 -1
  25. package/dist/actions/get-account.mjs +1 -0
  26. package/dist/actions/get-account.mjs.map +1 -1
  27. package/dist/actions/get-captions.cjs +1 -0
  28. package/dist/actions/get-captions.cjs.map +1 -1
  29. package/dist/actions/get-captions.d.cts +3 -5
  30. package/dist/actions/get-captions.d.cts.map +1 -1
  31. package/dist/actions/get-captions.d.mts +3 -5
  32. package/dist/actions/get-captions.d.mts.map +1 -1
  33. package/dist/actions/get-captions.mjs +1 -0
  34. package/dist/actions/get-captions.mjs.map +1 -1
  35. package/dist/actions/get-custom-vocabulary-details.cjs +1 -0
  36. package/dist/actions/get-custom-vocabulary-details.cjs.map +1 -1
  37. package/dist/actions/get-custom-vocabulary-details.d.cts +3 -3
  38. package/dist/actions/get-custom-vocabulary-details.d.cts.map +1 -1
  39. package/dist/actions/get-custom-vocabulary-details.d.mts +3 -3
  40. package/dist/actions/get-custom-vocabulary-details.d.mts.map +1 -1
  41. package/dist/actions/get-custom-vocabulary-details.mjs +1 -0
  42. package/dist/actions/get-custom-vocabulary-details.mjs.map +1 -1
  43. package/dist/actions/get-job-by-id.cjs +1 -0
  44. package/dist/actions/get-job-by-id.cjs.map +1 -1
  45. package/dist/actions/get-job-by-id.d.cts +3 -3
  46. package/dist/actions/get-job-by-id.d.cts.map +1 -1
  47. package/dist/actions/get-job-by-id.d.mts +3 -3
  48. package/dist/actions/get-job-by-id.d.mts.map +1 -1
  49. package/dist/actions/get-job-by-id.mjs +1 -0
  50. package/dist/actions/get-job-by-id.mjs.map +1 -1
  51. package/dist/actions/get-list-of-jobs.cjs +1 -0
  52. package/dist/actions/get-list-of-jobs.cjs.map +1 -1
  53. package/dist/actions/get-list-of-jobs.d.cts +3 -5
  54. package/dist/actions/get-list-of-jobs.d.cts.map +1 -1
  55. package/dist/actions/get-list-of-jobs.d.mts +3 -5
  56. package/dist/actions/get-list-of-jobs.d.mts.map +1 -1
  57. package/dist/actions/get-list-of-jobs.mjs +1 -0
  58. package/dist/actions/get-list-of-jobs.mjs.map +1 -1
  59. package/dist/actions/get-transcript-by-id.cjs +1 -0
  60. package/dist/actions/get-transcript-by-id.cjs.map +1 -1
  61. package/dist/actions/get-transcript-by-id.d.cts +3 -4
  62. package/dist/actions/get-transcript-by-id.d.cts.map +1 -1
  63. package/dist/actions/get-transcript-by-id.d.mts +3 -4
  64. package/dist/actions/get-transcript-by-id.d.mts.map +1 -1
  65. package/dist/actions/get-transcript-by-id.mjs +1 -0
  66. package/dist/actions/get-transcript-by-id.mjs.map +1 -1
  67. package/dist/actions/start-stream-transcription.cjs +1 -0
  68. package/dist/actions/start-stream-transcription.cjs.map +1 -1
  69. package/dist/actions/start-stream-transcription.d.cts +3 -17
  70. package/dist/actions/start-stream-transcription.d.cts.map +1 -1
  71. package/dist/actions/start-stream-transcription.d.mts +3 -17
  72. package/dist/actions/start-stream-transcription.d.mts.map +1 -1
  73. package/dist/actions/start-stream-transcription.mjs +1 -0
  74. package/dist/actions/start-stream-transcription.mjs.map +1 -1
  75. package/dist/actions/submit-custom-vocabulary.cjs +1 -0
  76. package/dist/actions/submit-custom-vocabulary.cjs.map +1 -1
  77. package/dist/actions/submit-custom-vocabulary.d.cts +3 -5
  78. package/dist/actions/submit-custom-vocabulary.d.cts.map +1 -1
  79. package/dist/actions/submit-custom-vocabulary.d.mts +3 -5
  80. package/dist/actions/submit-custom-vocabulary.d.mts.map +1 -1
  81. package/dist/actions/submit-custom-vocabulary.mjs +1 -0
  82. package/dist/actions/submit-custom-vocabulary.mjs.map +1 -1
  83. package/dist/actions/submit-transcription-job.cjs +1 -0
  84. package/dist/actions/submit-transcription-job.cjs.map +1 -1
  85. package/dist/actions/submit-transcription-job.d.cts +3 -21
  86. package/dist/actions/submit-transcription-job.d.cts.map +1 -1
  87. package/dist/actions/submit-transcription-job.d.mts +3 -21
  88. package/dist/actions/submit-transcription-job.d.mts.map +1 -1
  89. package/dist/actions/submit-transcription-job.mjs +1 -0
  90. package/dist/actions/submit-transcription-job.mjs.map +1 -1
  91. package/dist/app.cjs +5 -2
  92. package/dist/app.cjs.map +1 -1
  93. package/dist/app.d.cts +7 -1
  94. package/dist/app.d.cts.map +1 -1
  95. package/dist/app.d.mts +7 -1
  96. package/dist/app.d.mts.map +1 -1
  97. package/dist/app.mjs +3 -2
  98. package/dist/app.mjs.map +1 -1
  99. package/dist/index.d.cts +1 -1
  100. package/dist/index.d.mts +1 -1
  101. package/package.json +2 -2
@@ -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}).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 tas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ACtG,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,YAAY,CAAC,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"}
1
+ {"version":3,"file":"get-list-of-jobs.cjs","names":["z","action"],"sources":["../../src/actions/get-list-of-jobs.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { revAi } from \"../app\";\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: AppAction<\n typeof RevAiGetListOfJobsInput,\n typeof RevAiGetListOfJobsOutput,\n typeof revAi.credential\n> = 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":";;;;AAMA,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,EAA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AC/C,MAAMA,IAAAA,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,uCAAuC,EAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,qBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { revAi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-list-of-jobs.d.ts
@@ -22,11 +24,7 @@ declare const RevAiGetListOfJobsOutput: z.ZodObject<{
22
24
  delete_after_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
25
  }, z.core.$loose>>;
24
26
  }, z.core.$loose>;
25
- declare const revAiGetListOfJobs: import("@keystrokehq/action").WorkflowActionDefinition<{
26
- limit?: number | undefined;
27
- ending_before?: string | undefined;
28
- starting_after?: string | undefined;
29
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
27
+ declare const revAiGetListOfJobs: AppAction<typeof RevAiGetListOfJobsInput, typeof RevAiGetListOfJobsOutput, typeof revAi.credential>;
30
28
  //#endregion
31
29
  export { revAiGetListOfJobs };
32
30
  //# sourceMappingURL=get-list-of-jobs.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-list-of-jobs.d.cts","names":[],"sources":["../../src/actions/get-list-of-jobs.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;cAmBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"get-list-of-jobs.d.cts","names":[],"sources":["../../src/actions/get-list-of-jobs.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;cAmBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAIxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { revAi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-list-of-jobs.d.ts
@@ -22,11 +24,7 @@ declare const RevAiGetListOfJobsOutput: z.ZodObject<{
22
24
  delete_after_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
25
  }, z.core.$loose>>;
24
26
  }, z.core.$loose>;
25
- declare const revAiGetListOfJobs: import("@keystrokehq/action").WorkflowActionDefinition<{
26
- limit?: number | undefined;
27
- ending_before?: string | undefined;
28
- starting_after?: string | undefined;
29
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
27
+ declare const revAiGetListOfJobs: AppAction<typeof RevAiGetListOfJobsInput, typeof RevAiGetListOfJobsOutput, typeof revAi.credential>;
30
28
  //#endregion
31
29
  export { revAiGetListOfJobs };
32
30
  //# sourceMappingURL=get-list-of-jobs.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-list-of-jobs.d.mts","names":[],"sources":["../../src/actions/get-list-of-jobs.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;cAmBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"get-list-of-jobs.d.mts","names":[],"sources":["../../src/actions/get-list-of-jobs.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;cAmBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAIxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-list-of-jobs.ts
@@ -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}).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,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,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAK3E,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,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-list-of-jobs.mjs","names":[],"sources":["../../src/actions/get-list-of-jobs.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { revAi } from \"../app\";\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: AppAction<\n typeof RevAiGetListOfJobsInput,\n typeof RevAiGetListOfJobsOutput,\n typeof revAi.credential\n> = 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":";;;;AAMA,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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ACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-transcript-by-id.ts
@@ -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}).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;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,CAAC,CAAC,YAAY;AACf,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,CAAC,CAAC,YAAY;AACf,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,CAAC,CAAC,YAAY;AAEf,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 type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { revAi } from \"../app\";\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: AppAction<\n typeof RevAiGetTranscriptByIdInput,\n typeof RevAiGetTranscriptByIdOutput,\n typeof revAi.credential\n> = 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":";;;;AAMA,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,CAAC,CAAC,YAAY;AACf,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,CAAC,CAAC,YAAY;AACf,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,CAAC,CAAC,YAAY;AAEf,MAAa,yBAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { revAi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-transcript-by-id.d.ts
@@ -21,10 +23,7 @@ declare const RevAiGetTranscriptByIdOutput: z.ZodObject<{
21
23
  }, z.core.$loose>>;
22
24
  }, z.core.$loose>>>>;
23
25
  }, z.core.$loose>;
24
- declare const revAiGetTranscriptById: import("@keystrokehq/action").WorkflowActionDefinition<{
25
- id: string;
26
- accept?: "application/vnd.rev.transcript.v1.0+json" | "text/plain" | undefined;
27
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
26
+ declare const revAiGetTranscriptById: AppAction<typeof RevAiGetTranscriptByIdInput, typeof RevAiGetTranscriptByIdOutput, typeof revAi.credential>;
28
27
  //#endregion
29
28
  export { revAiGetTranscriptById };
30
29
  //# sourceMappingURL=get-transcript-by-id.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-transcript-by-id.d.cts","names":[],"sources":["../../src/actions/get-transcript-by-id.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;cAe3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"get-transcript-by-id.d.cts","names":[],"sources":["../../src/actions/get-transcript-by-id.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;cAe3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { revAi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-transcript-by-id.d.ts
@@ -21,10 +23,7 @@ declare const RevAiGetTranscriptByIdOutput: z.ZodObject<{
21
23
  }, z.core.$loose>>;
22
24
  }, z.core.$loose>>>>;
23
25
  }, z.core.$loose>;
24
- declare const revAiGetTranscriptById: import("@keystrokehq/action").WorkflowActionDefinition<{
25
- id: string;
26
- accept?: "application/vnd.rev.transcript.v1.0+json" | "text/plain" | undefined;
27
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
26
+ declare const revAiGetTranscriptById: AppAction<typeof RevAiGetTranscriptByIdInput, typeof RevAiGetTranscriptByIdOutput, typeof revAi.credential>;
28
27
  //#endregion
29
28
  export { revAiGetTranscriptById };
30
29
  //# sourceMappingURL=get-transcript-by-id.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-transcript-by-id.d.mts","names":[],"sources":["../../src/actions/get-transcript-by-id.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;cAe3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"get-transcript-by-id.d.mts","names":[],"sources":["../../src/actions/get-transcript-by-id.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;cAe3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-transcript-by-id.ts
@@ -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}).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,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,CAAC,CAAC,YAAY;AACf,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,CAAC,CAAC,YAAY;AAMf,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,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"get-transcript-by-id.mjs","names":[],"sources":["../../src/actions/get-transcript-by-id.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { revAi } from \"../app\";\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: AppAction<\n typeof RevAiGetTranscriptByIdInput,\n typeof RevAiGetTranscriptByIdOutput,\n typeof revAi.credential\n> = 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":";;;;AAMA,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,CAAC,CAAC,YAAY;AACf,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,CAAC,CAAC,YAAY;AAMf,MAAa,yBAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd0C,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,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/start-stream-transcription.ts
@@ -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}).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,SA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EACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAE9F,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 type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { revAi } from \"../app\";\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: AppAction<\n typeof RevAiStartStreamTranscriptionInput,\n typeof RevAiStartStreamTranscriptionOutput,\n typeof revAi.credential\n> = 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":";;;;AAMA,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,IA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2
4
 
3
5
  //#region src/actions/start-stream-transcription.d.ts
@@ -24,23 +26,7 @@ declare const RevAiStartStreamTranscriptionInput: z.ZodObject<{
24
26
  declare const RevAiStartStreamTranscriptionOutput: z.ZodObject<{
25
27
  url: z.ZodNullable<z.ZodString>;
26
28
  }, z.core.$loose>;
27
- declare const revAiStartStreamTranscription: import("@keystrokehq/action").WorkflowActionDefinition<{
28
- content_type: string;
29
- language?: string | undefined;
30
- metadata?: string | undefined;
31
- priority?: "speed" | "quality" | undefined;
32
- start_ts?: number | undefined;
33
- transcriber?: string | undefined;
34
- filter_profanity?: boolean | undefined;
35
- detailed_partials?: boolean | undefined;
36
- remove_disfluencies?: boolean | undefined;
37
- skip_postprocessing?: boolean | undefined;
38
- custom_vocabulary_id?: string | undefined;
39
- delete_after_seconds?: number | undefined;
40
- enable_speaker_switch?: boolean | undefined;
41
- max_connection_wait_seconds?: number | undefined;
42
- max_segment_duration_seconds?: number | undefined;
43
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
29
+ declare const revAiStartStreamTranscription: AppAction<typeof RevAiStartStreamTranscriptionInput, typeof RevAiStartStreamTranscriptionOutput, typeof revAi.credential>;
44
30
  //#endregion
45
31
  export { revAiStartStreamTranscription };
46
32
  //# sourceMappingURL=start-stream-transcription.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"start-stream-transcription.d.cts","names":[],"sources":["../../src/actions/start-stream-transcription.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAiBlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAInC,6BAAA,gCAA6B,wBAAA"}
1
+ {"version":3,"file":"start-stream-transcription.d.cts","names":[],"sources":["../../src/actions/start-stream-transcription.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAiBlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAInC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { revAi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/start-stream-transcription.d.ts
@@ -24,23 +26,7 @@ declare const RevAiStartStreamTranscriptionInput: z.ZodObject<{
24
26
  declare const RevAiStartStreamTranscriptionOutput: z.ZodObject<{
25
27
  url: z.ZodNullable<z.ZodString>;
26
28
  }, z.core.$loose>;
27
- declare const revAiStartStreamTranscription: import("@keystrokehq/action").WorkflowActionDefinition<{
28
- content_type: string;
29
- language?: string | undefined;
30
- metadata?: string | undefined;
31
- priority?: "speed" | "quality" | undefined;
32
- start_ts?: number | undefined;
33
- transcriber?: string | undefined;
34
- filter_profanity?: boolean | undefined;
35
- detailed_partials?: boolean | undefined;
36
- remove_disfluencies?: boolean | undefined;
37
- skip_postprocessing?: boolean | undefined;
38
- custom_vocabulary_id?: string | undefined;
39
- delete_after_seconds?: number | undefined;
40
- enable_speaker_switch?: boolean | undefined;
41
- max_connection_wait_seconds?: number | undefined;
42
- max_segment_duration_seconds?: number | undefined;
43
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
29
+ declare const revAiStartStreamTranscription: AppAction<typeof RevAiStartStreamTranscriptionInput, typeof RevAiStartStreamTranscriptionOutput, typeof revAi.credential>;
44
30
  //#endregion
45
31
  export { revAiStartStreamTranscription };
46
32
  //# sourceMappingURL=start-stream-transcription.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"start-stream-transcription.d.mts","names":[],"sources":["../../src/actions/start-stream-transcription.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAiBlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAInC,6BAAA,gCAA6B,wBAAA"}
1
+ {"version":3,"file":"start-stream-transcription.d.mts","names":[],"sources":["../../src/actions/start-stream-transcription.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAiBlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAInC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const revAiStartStreamTranscription = action("REV_AI_START_STREAM_TRANSCRIPTION", {
@@ -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}).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"}
1
+ {"version":3,"file":"start-stream-transcription.mjs","names":[],"sources":["../../src/actions/start-stream-transcription.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { revAi } from \"../app\";\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: AppAction<\n typeof RevAiStartStreamTranscriptionInput,\n typeof RevAiStartStreamTranscriptionOutput,\n typeof revAi.credential\n> = 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":";;;AA2BA,MAAa,gCAIT,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA7BgD,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,oEAaH;CACP,QAbiD,EAAE,OAAO,EAC1D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,EACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/submit-custom-vocabulary.ts
@@ -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}).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"}
1
+ {"version":3,"file":"submit-custom-vocabulary.cjs","names":["z","action"],"sources":["../../src/actions/submit-custom-vocabulary.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { revAi } from \"../app\";\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: AppAction<\n typeof RevAiSubmitCustomVocabularyInput,\n typeof RevAiSubmitCustomVocabularyOutput,\n typeof revAi.credential\n> = 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":";;;;AAMA,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,8BAITC,eAAAA,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { revAi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/submit-custom-vocabulary.d.ts
@@ -14,11 +16,7 @@ declare const RevAiSubmitCustomVocabularyOutput: z.ZodObject<{
14
16
  created_on: z.ZodNullable<z.ZodString>;
15
17
  completed_on: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
18
  }, z.core.$loose>;
17
- declare const revAiSubmitCustomVocabulary: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- phrases: string[];
19
- metadata?: string | undefined;
20
- custom_vocabulary_id?: string | undefined;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ declare const revAiSubmitCustomVocabulary: AppAction<typeof RevAiSubmitCustomVocabularyInput, typeof RevAiSubmitCustomVocabularyOutput, typeof revAi.credential>;
22
20
  //#endregion
23
21
  export { revAiSubmitCustomVocabulary };
24
22
  //# sourceMappingURL=submit-custom-vocabulary.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"submit-custom-vocabulary.d.cts","names":[],"sources":["../../src/actions/submit-custom-vocabulary.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAKhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;cASjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"submit-custom-vocabulary.d.cts","names":[],"sources":["../../src/actions/submit-custom-vocabulary.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAKhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;cASjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { revAi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/submit-custom-vocabulary.d.ts
@@ -14,11 +16,7 @@ declare const RevAiSubmitCustomVocabularyOutput: z.ZodObject<{
14
16
  created_on: z.ZodNullable<z.ZodString>;
15
17
  completed_on: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
18
  }, z.core.$loose>;
17
- declare const revAiSubmitCustomVocabulary: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- phrases: string[];
19
- metadata?: string | undefined;
20
- custom_vocabulary_id?: string | undefined;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ declare const revAiSubmitCustomVocabulary: AppAction<typeof RevAiSubmitCustomVocabularyInput, typeof RevAiSubmitCustomVocabularyOutput, typeof revAi.credential>;
22
20
  //#endregion
23
21
  export { revAiSubmitCustomVocabulary };
24
22
  //# sourceMappingURL=submit-custom-vocabulary.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"submit-custom-vocabulary.d.mts","names":[],"sources":["../../src/actions/submit-custom-vocabulary.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAKhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;cASjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"submit-custom-vocabulary.d.mts","names":[],"sources":["../../src/actions/submit-custom-vocabulary.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAKhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;cASjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const revAiSubmitCustomVocabulary = action("REV_AI_SUBMIT_CUSTOM_VOCABULARY", {
@@ -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}).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"}
1
+ {"version":3,"file":"submit-custom-vocabulary.mjs","names":[],"sources":["../../src/actions/submit-custom-vocabulary.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { revAi } from \"../app\";\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: AppAction<\n typeof RevAiSubmitCustomVocabularyInput,\n typeof RevAiSubmitCustomVocabularyOutput,\n typeof revAi.credential\n> = 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":";;;AAoBA,MAAa,8BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtB8C,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,gDAkBH;CACP,QAlB+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,kDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/submit-transcription-job.ts
@@ -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}).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,CAAC,SAAS;CAC7F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACvF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACnF,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAChH,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC9G,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC5G,qBAAqBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,EACtC,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DA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src/actions/submit-transcription-job.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { revAi } from \"../app\";\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: AppAction<\n typeof RevAiSubmitTranscriptionJobInput,\n typeof RevAiSubmitTranscriptionJobOutput,\n typeof revAi.credential\n> = 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":";;;;AAMA,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;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,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC/E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,sBAAsB,sDAAsD,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,8BAITC,eAAAA,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { revAi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/submit-transcription-job.d.ts
@@ -46,27 +48,7 @@ declare const RevAiSubmitTranscriptionJobOutput: z.ZodObject<{
46
48
  }>>>;
47
49
  }, z.core.$loose>>>;
48
50
  }, z.core.$loose>;
49
- declare const revAiSubmitTranscriptionJob: import("@keystrokehq/action").WorkflowActionDefinition<{
50
- file?: string | undefined;
51
- language?: string | undefined;
52
- metadata?: string | undefined;
53
- media_url?: string | undefined;
54
- callback_url?: string | undefined;
55
- filter_profanity?: boolean | undefined;
56
- skip_diarization?: boolean | undefined;
57
- skip_punctuation?: boolean | undefined;
58
- custom_vocabularies?: {
59
- [x: string]: unknown;
60
- vocabulary_id: string;
61
- }[] | undefined;
62
- delete_after_seconds?: number | undefined;
63
- transcription_config?: {
64
- language?: string | undefined;
65
- output_locale?: string | undefined;
66
- operating_point?: "standard" | "enhanced" | undefined;
67
- } | undefined;
68
- speaker_channel_count?: number | undefined;
69
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
51
+ declare const revAiSubmitTranscriptionJob: AppAction<typeof RevAiSubmitTranscriptionJobInput, typeof RevAiSubmitTranscriptionJobOutput, typeof revAi.credential>;
70
52
  //#endregion
71
53
  export { revAiSubmitTranscriptionJob };
72
54
  //# sourceMappingURL=submit-transcription-job.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"submit-transcription-job.d.cts","names":[],"sources":["../../src/actions/submit-transcription-job.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAyBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAgBjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"submit-transcription-job.d.cts","names":[],"sources":["../../src/actions/submit-transcription-job.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAyBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAgBjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { revAi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/submit-transcription-job.d.ts
@@ -46,27 +48,7 @@ declare const RevAiSubmitTranscriptionJobOutput: z.ZodObject<{
46
48
  }>>>;
47
49
  }, z.core.$loose>>>;
48
50
  }, z.core.$loose>;
49
- declare const revAiSubmitTranscriptionJob: import("@keystrokehq/action").WorkflowActionDefinition<{
50
- file?: string | undefined;
51
- language?: string | undefined;
52
- metadata?: string | undefined;
53
- media_url?: string | undefined;
54
- callback_url?: string | undefined;
55
- filter_profanity?: boolean | undefined;
56
- skip_diarization?: boolean | undefined;
57
- skip_punctuation?: boolean | undefined;
58
- custom_vocabularies?: {
59
- [x: string]: unknown;
60
- vocabulary_id: string;
61
- }[] | undefined;
62
- delete_after_seconds?: number | undefined;
63
- transcription_config?: {
64
- language?: string | undefined;
65
- output_locale?: string | undefined;
66
- operating_point?: "standard" | "enhanced" | undefined;
67
- } | undefined;
68
- speaker_channel_count?: number | undefined;
69
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
51
+ declare const revAiSubmitTranscriptionJob: AppAction<typeof RevAiSubmitTranscriptionJobInput, typeof RevAiSubmitTranscriptionJobOutput, typeof revAi.credential>;
70
52
  //#endregion
71
53
  export { revAiSubmitTranscriptionJob };
72
54
  //# sourceMappingURL=submit-transcription-job.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"submit-transcription-job.d.mts","names":[],"sources":["../../src/actions/submit-transcription-job.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAyBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAgBjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"submit-transcription-job.d.mts","names":[],"sources":["../../src/actions/submit-transcription-job.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAyBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAgBjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/submit-transcription-job.ts