@keystrokehq/rev_ai 0.1.5 → 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 -15
  6. package/dist/actions/delete-custom-vocabulary.d.cts.map +1 -1
  7. package/dist/actions/delete-custom-vocabulary.d.mts +3 -15
  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 -15
  14. package/dist/actions/delete-job-by-id.d.cts.map +1 -1
  15. package/dist/actions/delete-job-by-id.d.mts +3 -15
  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 -13
  22. package/dist/actions/get-account.d.cts.map +1 -1
  23. package/dist/actions/get-account.d.mts +3 -13
  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 -17
  30. package/dist/actions/get-captions.d.cts.map +1 -1
  31. package/dist/actions/get-captions.d.mts +3 -17
  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 -15
  38. package/dist/actions/get-custom-vocabulary-details.d.cts.map +1 -1
  39. package/dist/actions/get-custom-vocabulary-details.d.mts +3 -15
  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 -15
  46. package/dist/actions/get-job-by-id.d.cts.map +1 -1
  47. package/dist/actions/get-job-by-id.d.mts +3 -15
  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 -17
  54. package/dist/actions/get-list-of-jobs.d.cts.map +1 -1
  55. package/dist/actions/get-list-of-jobs.d.mts +3 -17
  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 -16
  62. package/dist/actions/get-transcript-by-id.d.cts.map +1 -1
  63. package/dist/actions/get-transcript-by-id.d.mts +3 -16
  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 -29
  70. package/dist/actions/start-stream-transcription.d.cts.map +1 -1
  71. package/dist/actions/start-stream-transcription.d.mts +3 -29
  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 -17
  78. package/dist/actions/submit-custom-vocabulary.d.cts.map +1 -1
  79. package/dist/actions/submit-custom-vocabulary.d.mts +3 -17
  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 -33
  86. package/dist/actions/submit-transcription-job.d.cts.map +1 -1
  87. package/dist/actions/submit-transcription-job.d.mts +3 -33
  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 +2 -2
  92. package/dist/app.cjs.map +1 -1
  93. package/dist/app.d.cts +4 -6
  94. package/dist/app.d.cts.map +1 -1
  95. package/dist/app.d.mts +4 -6
  96. package/dist/app.d.mts.map +1 -1
  97. package/dist/app.mjs +0 -1
  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-job-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-job-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RevAiGetJobByIdInput = z.object({\n id: z.string().describe(\"Unique identifier of the transcription job to retrieve.\"),\n}).describe(\"Request model for retrieving a transcription job by its unique identifier.\");\nconst RevAiGetJobById_FailureSchema = z.object({\n code: z.string().describe(\"Error code of the failed job.\").nullable(),\n detail: z.string().describe(\"Additional details about the failure.\").nullable().optional(),\n message: z.string().describe(\"Error message detailing the failure.\").nullable().optional(),\n}).passthrough().describe(\"Details about a failed transcription job.\\nThe API can return failure as a string (error code) or an object with code/message.\");\nconst RevAiGetJobById_TranscriptionConfigSchema = z.object({\n filter_profanity: z.boolean().describe(\"If true, profanity will be filtered.\").nullable().optional(),\n remove_punctuation: z.boolean().describe(\"If true, punctuation will be removed.\").nullable().optional(),\n remove_disfluencies: z.boolean().describe(\"If true, filler disfluencies will be removed.\").nullable().optional(),\n speaker_channels_count: z.number().int().describe(\"Number of speaker channels in the media.\").nullable().optional(),\n}).passthrough().describe(\"Advanced transcription configuration for the job.\");\nexport const RevAiGetJobByIdOutput = z.object({\n id: z.string().describe(\"Unique identifier for the job.\").nullable(),\n name: z.string().describe(\"Name of the job, if provided.\").nullable().optional(),\n type: z.string().describe(\"Type of job (e.g., asynchronous).\").nullable(),\n status: z.string().describe(\"Current status of the job.\").nullable(),\n failure: RevAiGetJobById_FailureSchema.nullable().optional(),\n language: z.string().describe(\"Language code of the job, if set.\").nullable().optional(),\n metadata: z.string().describe(\"User-provided metadata, if set.\").nullable().optional(),\n created_on: z.string().describe(\"Job creation date-time in RFC 3339 format.\").nullable(),\n callback_url: z.string().describe(\"Callback URL for job notifications, if set.\").nullable().optional(),\n completed_on: z.string().describe(\"Job completion date-time in RFC 3339 format, if completed.\").nullable().optional(),\n duration_seconds: z.number().describe(\"Duration of the media in seconds, if available.\").nullable().optional(),\n custom_vocabulary_id: z.string().describe(\"Custom vocabulary ID used for the job.\").nullable().optional(),\n delete_after_seconds: z.number().int().describe(\"Time in seconds after which the job will be deleted.\").nullable().optional(),\n transcription_config: RevAiGetJobById_TranscriptionConfigSchema.nullable().optional(),\n}).passthrough().describe(\"Response model containing details of a transcription job.\");\n\nexport const revAiGetJobById = action(\"REV_AI_GET_JOB_BY_ID\", {\n slug: \"rev_ai-get-job-by-id\",\n name: \"Get Job by ID\",\n description: \"Tool to fetch details of a transcription job by its ID. Use when confirming job status and metadata are accurate.\",\n input: RevAiGetJobByIdInput,\n output: RevAiGetJobByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,EACnF,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,gCAAgCA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gIAAgI;AAC1J,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAA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,CAAC,CAAC,SAAS;CACxG,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,sBAAsB,0CAA0C,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,kBAAkBC,eAAAA,OAAO,wBAAwB;CAC5D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-job-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-job-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 RevAiGetJobByIdInput = z.object({\n id: z.string().describe(\"Unique identifier of the transcription job to retrieve.\"),\n}).describe(\"Request model for retrieving a transcription job by its unique identifier.\");\nconst RevAiGetJobById_FailureSchema = z.object({\n code: z.string().describe(\"Error code of the failed job.\").nullable(),\n detail: z.string().describe(\"Additional details about the failure.\").nullable().optional(),\n message: z.string().describe(\"Error message detailing the failure.\").nullable().optional(),\n}).passthrough().describe(\"Details about a failed transcription job.\\nThe API can return failure as a string (error code) or an object with code/message.\");\nconst RevAiGetJobById_TranscriptionConfigSchema = z.object({\n filter_profanity: z.boolean().describe(\"If true, profanity will be filtered.\").nullable().optional(),\n remove_punctuation: z.boolean().describe(\"If true, punctuation will be removed.\").nullable().optional(),\n remove_disfluencies: z.boolean().describe(\"If true, filler disfluencies will be removed.\").nullable().optional(),\n speaker_channels_count: z.number().int().describe(\"Number of speaker channels in the media.\").nullable().optional(),\n}).passthrough().describe(\"Advanced transcription configuration for the job.\");\nexport const RevAiGetJobByIdOutput = z.object({\n id: z.string().describe(\"Unique identifier for the job.\").nullable(),\n name: z.string().describe(\"Name of the job, if provided.\").nullable().optional(),\n type: z.string().describe(\"Type of job (e.g., asynchronous).\").nullable(),\n status: z.string().describe(\"Current status of the job.\").nullable(),\n failure: RevAiGetJobById_FailureSchema.nullable().optional(),\n language: z.string().describe(\"Language code of the job, if set.\").nullable().optional(),\n metadata: z.string().describe(\"User-provided metadata, if set.\").nullable().optional(),\n created_on: z.string().describe(\"Job creation date-time in RFC 3339 format.\").nullable(),\n callback_url: z.string().describe(\"Callback URL for job notifications, if set.\").nullable().optional(),\n completed_on: z.string().describe(\"Job completion date-time in RFC 3339 format, if completed.\").nullable().optional(),\n duration_seconds: z.number().describe(\"Duration of the media in seconds, if available.\").nullable().optional(),\n custom_vocabulary_id: z.string().describe(\"Custom vocabulary ID used for the job.\").nullable().optional(),\n delete_after_seconds: z.number().int().describe(\"Time in seconds after which the job will be deleted.\").nullable().optional(),\n transcription_config: RevAiGetJobById_TranscriptionConfigSchema.nullable().optional(),\n}).passthrough().describe(\"Response model containing details of a transcription job.\");\n\nexport const revAiGetJobById: AppAction<\n typeof RevAiGetJobByIdInput,\n typeof RevAiGetJobByIdOutput,\n typeof revAi.credential\n> = action(\"REV_AI_GET_JOB_BY_ID\", {\n slug: \"rev_ai-get-job-by-id\",\n name: \"Get Job by ID\",\n description: \"Tool to fetch details of a transcription job by its ID. Use when confirming job status and metadata are accurate.\",\n input: RevAiGetJobByIdInput,\n output: RevAiGetJobByIdOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,EACnF,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,gCAAgCA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,SA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AAC,SAAS,CAAC,CAAC,SAAS;CACrF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACvF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,sBAAsB,0CAA0C,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,kBAITC,eAAAA,OAAO,wBAAwB;CACjC,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-job-by-id.d.ts
@@ -29,21 +31,7 @@ declare const RevAiGetJobByIdOutput: z.ZodObject<{
29
31
  speaker_channels_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30
32
  }, z.core.$loose>>>;
31
33
  }, z.core.$loose>;
32
- declare const revAiGetJobById: import("@keystrokehq/action").WorkflowActionDefinition<{
33
- id: string;
34
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"rev_ai", z.ZodObject<{
35
- connectionId: z.ZodString;
36
- entityId: z.ZodString;
37
- instanceId: z.ZodString;
38
- }, z.core.$strip>, z.ZodObject<{
39
- bearer_token: z.ZodString;
40
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"rev_ai", z.ZodObject<{
41
- connectionId: z.ZodString;
42
- entityId: z.ZodString;
43
- instanceId: z.ZodString;
44
- }, z.core.$strip>, z.ZodObject<{
45
- bearer_token: z.ZodString;
46
- }, z.core.$strip>>]>;
34
+ declare const revAiGetJobById: AppAction<typeof RevAiGetJobByIdInput, typeof RevAiGetJobByIdOutput, typeof revAi.credential>;
47
35
  //#endregion
48
36
  export { revAiGetJobById };
49
37
  //# sourceMappingURL=get-job-by-id.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-job-by-id.d.cts","names":[],"sources":["../../src/actions/get-job-by-id.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAcpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAiBrB,eAAA,gCAAe,wBAAA"}
1
+ {"version":3,"file":"get-job-by-id.d.cts","names":[],"sources":["../../src/actions/get-job-by-id.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAcpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAiBrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,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-job-by-id.d.ts
@@ -29,21 +31,7 @@ declare const RevAiGetJobByIdOutput: z.ZodObject<{
29
31
  speaker_channels_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30
32
  }, z.core.$loose>>>;
31
33
  }, z.core.$loose>;
32
- declare const revAiGetJobById: import("@keystrokehq/action").WorkflowActionDefinition<{
33
- id: string;
34
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"rev_ai", z.ZodObject<{
35
- connectionId: z.ZodString;
36
- entityId: z.ZodString;
37
- instanceId: z.ZodString;
38
- }, z.core.$strip>, z.ZodObject<{
39
- bearer_token: z.ZodString;
40
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"rev_ai", z.ZodObject<{
41
- connectionId: z.ZodString;
42
- entityId: z.ZodString;
43
- instanceId: z.ZodString;
44
- }, z.core.$strip>, z.ZodObject<{
45
- bearer_token: z.ZodString;
46
- }, z.core.$strip>>]>;
34
+ declare const revAiGetJobById: AppAction<typeof RevAiGetJobByIdInput, typeof RevAiGetJobByIdOutput, typeof revAi.credential>;
47
35
  //#endregion
48
36
  export { revAiGetJobById };
49
37
  //# sourceMappingURL=get-job-by-id.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-job-by-id.d.mts","names":[],"sources":["../../src/actions/get-job-by-id.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAcpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAiBrB,eAAA,gCAAe,wBAAA"}
1
+ {"version":3,"file":"get-job-by-id.d.mts","names":[],"sources":["../../src/actions/get-job-by-id.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAcpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAiBrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,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-job-by-id.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-job-by-id.mjs","names":[],"sources":["../../src/actions/get-job-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RevAiGetJobByIdInput = z.object({\n id: z.string().describe(\"Unique identifier of the transcription job to retrieve.\"),\n}).describe(\"Request model for retrieving a transcription job by its unique identifier.\");\nconst RevAiGetJobById_FailureSchema = z.object({\n code: z.string().describe(\"Error code of the failed job.\").nullable(),\n detail: z.string().describe(\"Additional details about the failure.\").nullable().optional(),\n message: z.string().describe(\"Error message detailing the failure.\").nullable().optional(),\n}).passthrough().describe(\"Details about a failed transcription job.\\nThe API can return failure as a string (error code) or an object with code/message.\");\nconst RevAiGetJobById_TranscriptionConfigSchema = z.object({\n filter_profanity: z.boolean().describe(\"If true, profanity will be filtered.\").nullable().optional(),\n remove_punctuation: z.boolean().describe(\"If true, punctuation will be removed.\").nullable().optional(),\n remove_disfluencies: z.boolean().describe(\"If true, filler disfluencies will be removed.\").nullable().optional(),\n speaker_channels_count: z.number().int().describe(\"Number of speaker channels in the media.\").nullable().optional(),\n}).passthrough().describe(\"Advanced transcription configuration for the job.\");\nexport const RevAiGetJobByIdOutput = z.object({\n id: z.string().describe(\"Unique identifier for the job.\").nullable(),\n name: z.string().describe(\"Name of the job, if provided.\").nullable().optional(),\n type: z.string().describe(\"Type of job (e.g., asynchronous).\").nullable(),\n status: z.string().describe(\"Current status of the job.\").nullable(),\n failure: RevAiGetJobById_FailureSchema.nullable().optional(),\n language: z.string().describe(\"Language code of the job, if set.\").nullable().optional(),\n metadata: z.string().describe(\"User-provided metadata, if set.\").nullable().optional(),\n created_on: z.string().describe(\"Job creation date-time in RFC 3339 format.\").nullable(),\n callback_url: z.string().describe(\"Callback URL for job notifications, if set.\").nullable().optional(),\n completed_on: z.string().describe(\"Job completion date-time in RFC 3339 format, if completed.\").nullable().optional(),\n duration_seconds: z.number().describe(\"Duration of the media in seconds, if available.\").nullable().optional(),\n custom_vocabulary_id: z.string().describe(\"Custom vocabulary ID used for the job.\").nullable().optional(),\n delete_after_seconds: z.number().int().describe(\"Time in seconds after which the job will be deleted.\").nullable().optional(),\n transcription_config: RevAiGetJobById_TranscriptionConfigSchema.nullable().optional(),\n}).passthrough().describe(\"Response model containing details of a transcription job.\");\n\nexport const revAiGetJobById = action(\"REV_AI_GET_JOB_BY_ID\", {\n slug: \"rev_ai-get-job-by-id\",\n name: \"Get Job by ID\",\n description: \"Tool to fetch details of a transcription job by its ID. Use when confirming job status and metadata are accurate.\",\n input: RevAiGetJobByIdInput,\n output: RevAiGetJobByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO,EAC3C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,EACnF,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,gCAAgC,EAAE,OAAO;CAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gIAAgI;AAC1J,MAAM,4CAA4C,EAAE,OAAO;CACzD,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,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,sBAAsB,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-job-by-id.mjs","names":[],"sources":["../../src/actions/get-job-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 RevAiGetJobByIdInput = z.object({\n id: z.string().describe(\"Unique identifier of the transcription job to retrieve.\"),\n}).describe(\"Request model for retrieving a transcription job by its unique identifier.\");\nconst RevAiGetJobById_FailureSchema = z.object({\n code: z.string().describe(\"Error code of the failed job.\").nullable(),\n detail: z.string().describe(\"Additional details about the failure.\").nullable().optional(),\n message: z.string().describe(\"Error message detailing the failure.\").nullable().optional(),\n}).passthrough().describe(\"Details about a failed transcription job.\\nThe API can return failure as a string (error code) or an object with code/message.\");\nconst RevAiGetJobById_TranscriptionConfigSchema = z.object({\n filter_profanity: z.boolean().describe(\"If true, profanity will be filtered.\").nullable().optional(),\n remove_punctuation: z.boolean().describe(\"If true, punctuation will be removed.\").nullable().optional(),\n remove_disfluencies: z.boolean().describe(\"If true, filler disfluencies will be removed.\").nullable().optional(),\n speaker_channels_count: z.number().int().describe(\"Number of speaker channels in the media.\").nullable().optional(),\n}).passthrough().describe(\"Advanced transcription configuration for the job.\");\nexport const RevAiGetJobByIdOutput = z.object({\n id: z.string().describe(\"Unique identifier for the job.\").nullable(),\n name: z.string().describe(\"Name of the job, if provided.\").nullable().optional(),\n type: z.string().describe(\"Type of job (e.g., asynchronous).\").nullable(),\n status: z.string().describe(\"Current status of the job.\").nullable(),\n failure: RevAiGetJobById_FailureSchema.nullable().optional(),\n language: z.string().describe(\"Language code of the job, if set.\").nullable().optional(),\n metadata: z.string().describe(\"User-provided metadata, if set.\").nullable().optional(),\n created_on: z.string().describe(\"Job creation date-time in RFC 3339 format.\").nullable(),\n callback_url: z.string().describe(\"Callback URL for job notifications, if set.\").nullable().optional(),\n completed_on: z.string().describe(\"Job completion date-time in RFC 3339 format, if completed.\").nullable().optional(),\n duration_seconds: z.number().describe(\"Duration of the media in seconds, if available.\").nullable().optional(),\n custom_vocabulary_id: z.string().describe(\"Custom vocabulary ID used for the job.\").nullable().optional(),\n delete_after_seconds: z.number().int().describe(\"Time in seconds after which the job will be deleted.\").nullable().optional(),\n transcription_config: RevAiGetJobById_TranscriptionConfigSchema.nullable().optional(),\n}).passthrough().describe(\"Response model containing details of a transcription job.\");\n\nexport const revAiGetJobById: AppAction<\n typeof RevAiGetJobByIdInput,\n typeof RevAiGetJobByIdOutput,\n typeof revAi.credential\n> = action(\"REV_AI_GET_JOB_BY_ID\", {\n slug: \"rev_ai-get-job-by-id\",\n name: \"Get Job by ID\",\n description: \"Tool to fetch details of a transcription job by its ID. Use when confirming job status and metadata are accurate.\",\n input: RevAiGetJobByIdInput,\n output: RevAiGetJobByIdOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uBAAuB,EAAE,OAAO,EAC3C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,EACnF,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,gCAAgC,EAAE,OAAO;CAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gIAAgI;AAC1J,MAAM,4CAA4C,EAAE,OAAO;CACzD,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,oBAAoB,EAAE,QAAQ,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,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,sBAAsB,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAWhB;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/get-list-of-jobs.ts
@@ -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 tasks.\",\n input: RevAiGetListOfJobsInput,\n output: RevAiGetListOfJobsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACtG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACjG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,+BAA+BA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC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ppAction } 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,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAChG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAChF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,qBAAqBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,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,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,23 +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<"rev_ai", z.ZodObject<{
30
- connectionId: z.ZodString;
31
- entityId: z.ZodString;
32
- instanceId: z.ZodString;
33
- }, z.core.$strip>, z.ZodObject<{
34
- bearer_token: z.ZodString;
35
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"rev_ai", z.ZodObject<{
36
- connectionId: z.ZodString;
37
- entityId: z.ZodString;
38
- instanceId: z.ZodString;
39
- }, z.core.$strip>, z.ZodObject<{
40
- bearer_token: z.ZodString;
41
- }, z.core.$strip>>]>;
27
+ declare const revAiGetListOfJobs: AppAction<typeof RevAiGetListOfJobsInput, typeof RevAiGetListOfJobsOutput, typeof revAi.credential>;
42
28
  //#endregion
43
29
  export { revAiGetListOfJobs };
44
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,23 +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<"rev_ai", z.ZodObject<{
30
- connectionId: z.ZodString;
31
- entityId: z.ZodString;
32
- instanceId: z.ZodString;
33
- }, z.core.$strip>, z.ZodObject<{
34
- bearer_token: z.ZodString;
35
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"rev_ai", z.ZodObject<{
36
- connectionId: z.ZodString;
37
- entityId: z.ZodString;
38
- instanceId: z.ZodString;
39
- }, z.core.$strip>, z.ZodObject<{
40
- bearer_token: z.ZodString;
41
- }, z.core.$strip>>]>;
27
+ declare const revAiGetListOfJobs: AppAction<typeof RevAiGetListOfJobsInput, typeof RevAiGetListOfJobsOutput, typeof revAi.credential>;
42
28
  //#endregion
43
29
  export { revAiGetListOfJobs };
44
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: RevA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,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,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,qBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbsC,EAAE,OAAO,EAC/C,MAAM,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,uCAAuC,EAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAWhB;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/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,CAA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AM;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,22 +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<"rev_ai", z.ZodObject<{
28
- connectionId: z.ZodString;
29
- entityId: z.ZodString;
30
- instanceId: z.ZodString;
31
- }, z.core.$strip>, z.ZodObject<{
32
- bearer_token: z.ZodString;
33
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"rev_ai", z.ZodObject<{
34
- connectionId: z.ZodString;
35
- entityId: z.ZodString;
36
- instanceId: z.ZodString;
37
- }, z.core.$strip>, z.ZodObject<{
38
- bearer_token: z.ZodString;
39
- }, z.core.$strip>>]>;
26
+ declare const revAiGetTranscriptById: AppAction<typeof RevAiGetTranscriptByIdInput, typeof RevAiGetTranscriptByIdOutput, typeof revAi.credential>;
40
27
  //#endregion
41
28
  export { revAiGetTranscriptById };
42
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,22 +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<"rev_ai", z.ZodObject<{
28
- connectionId: z.ZodString;
29
- entityId: z.ZodString;
30
- instanceId: z.ZodString;
31
- }, z.core.$strip>, z.ZodObject<{
32
- bearer_token: z.ZodString;
33
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"rev_ai", z.ZodObject<{
34
- connectionId: z.ZodString;
35
- entityId: z.ZodString;
36
- instanceId: z.ZodString;
37
- }, z.core.$strip>, z.ZodObject<{
38
- bearer_token: z.ZodString;
39
- }, z.core.$strip>>]>;
26
+ declare const revAiGetTranscriptById: AppAction<typeof RevAiGetTranscriptByIdInput, typeof RevAiGetTranscriptByIdOutput, typeof revAi.credential>;
40
27
  //#endregion
41
28
  export { revAiGetTranscriptById };
42
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,EA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AAC,SAAS;CACnH,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC/I,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AACjI,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,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,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AoE;AAChF,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,EACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAE9F,MAAa,gCAITC,eAAAA,OAAO,qCAAqC;CAC9C,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/start-stream-transcription.d.ts
@@ -24,35 +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<"rev_ai", z.ZodObject<{
44
- connectionId: z.ZodString;
45
- entityId: z.ZodString;
46
- instanceId: z.ZodString;
47
- }, z.core.$strip>, z.ZodObject<{
48
- bearer_token: z.ZodString;
49
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"rev_ai", z.ZodObject<{
50
- connectionId: z.ZodString;
51
- entityId: z.ZodString;
52
- instanceId: z.ZodString;
53
- }, z.core.$strip>, z.ZodObject<{
54
- bearer_token: z.ZodString;
55
- }, z.core.$strip>>]>;
29
+ declare const revAiStartStreamTranscription: AppAction<typeof RevAiStartStreamTranscriptionInput, typeof RevAiStartStreamTranscriptionOutput, typeof revAi.credential>;
56
30
  //#endregion
57
31
  export { revAiStartStreamTranscription };
58
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,35 +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<"rev_ai", z.ZodObject<{
44
- connectionId: z.ZodString;
45
- entityId: z.ZodString;
46
- instanceId: z.ZodString;
47
- }, z.core.$strip>, z.ZodObject<{
48
- bearer_token: z.ZodString;
49
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"rev_ai", z.ZodObject<{
50
- connectionId: z.ZodString;
51
- entityId: z.ZodString;
52
- instanceId: z.ZodString;
53
- }, z.core.$strip>, z.ZodObject<{
54
- bearer_token: z.ZodString;
55
- }, z.core.$strip>>]>;
29
+ declare const revAiStartStreamTranscription: AppAction<typeof RevAiStartStreamTranscriptionInput, typeof RevAiStartStreamTranscriptionOutput, typeof revAi.credential>;
56
30
  //#endregion
57
31
  export { revAiStartStreamTranscription };
58
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,qCAA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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"}