@keystrokehq/rev_ai 0.1.0 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) 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 -1
  4. package/dist/actions/delete-custom-vocabulary.cjs.map +1 -1
  5. package/dist/actions/delete-custom-vocabulary.d.cts +7 -3
  6. package/dist/actions/delete-custom-vocabulary.d.cts.map +1 -1
  7. package/dist/actions/delete-custom-vocabulary.d.mts +7 -3
  8. package/dist/actions/delete-custom-vocabulary.d.mts.map +1 -1
  9. package/dist/actions/delete-custom-vocabulary.mjs +1 -1
  10. package/dist/actions/delete-custom-vocabulary.mjs.map +1 -1
  11. package/dist/actions/delete-job-by-id.cjs +1 -1
  12. package/dist/actions/delete-job-by-id.cjs.map +1 -1
  13. package/dist/actions/delete-job-by-id.d.cts +7 -3
  14. package/dist/actions/delete-job-by-id.d.cts.map +1 -1
  15. package/dist/actions/delete-job-by-id.d.mts +7 -3
  16. package/dist/actions/delete-job-by-id.d.mts.map +1 -1
  17. package/dist/actions/delete-job-by-id.mjs +1 -1
  18. package/dist/actions/delete-job-by-id.mjs.map +1 -1
  19. package/dist/actions/get-account.cjs +7 -7
  20. package/dist/actions/get-account.cjs.map +1 -1
  21. package/dist/actions/get-account.d.cts +10 -3
  22. package/dist/actions/get-account.d.cts.map +1 -1
  23. package/dist/actions/get-account.d.mts +10 -3
  24. package/dist/actions/get-account.d.mts.map +1 -1
  25. package/dist/actions/get-account.mjs +7 -7
  26. package/dist/actions/get-account.mjs.map +1 -1
  27. package/dist/actions/get-captions.cjs +1 -1
  28. package/dist/actions/get-captions.cjs.map +1 -1
  29. package/dist/actions/get-captions.d.cts +16 -3
  30. package/dist/actions/get-captions.d.cts.map +1 -1
  31. package/dist/actions/get-captions.d.mts +16 -3
  32. package/dist/actions/get-captions.d.mts.map +1 -1
  33. package/dist/actions/get-captions.mjs +1 -1
  34. package/dist/actions/get-captions.mjs.map +1 -1
  35. package/dist/actions/get-custom-vocabulary-details.cjs +5 -5
  36. package/dist/actions/get-custom-vocabulary-details.cjs.map +1 -1
  37. package/dist/actions/get-custom-vocabulary-details.d.cts +19 -3
  38. package/dist/actions/get-custom-vocabulary-details.d.cts.map +1 -1
  39. package/dist/actions/get-custom-vocabulary-details.d.mts +19 -3
  40. package/dist/actions/get-custom-vocabulary-details.d.mts.map +1 -1
  41. package/dist/actions/get-custom-vocabulary-details.mjs +5 -5
  42. package/dist/actions/get-custom-vocabulary-details.mjs.map +1 -1
  43. package/dist/actions/get-job-by-id.cjs +8 -8
  44. package/dist/actions/get-job-by-id.cjs.map +1 -1
  45. package/dist/actions/get-job-by-id.d.cts +31 -3
  46. package/dist/actions/get-job-by-id.d.cts.map +1 -1
  47. package/dist/actions/get-job-by-id.d.mts +31 -3
  48. package/dist/actions/get-job-by-id.d.mts.map +1 -1
  49. package/dist/actions/get-job-by-id.mjs +8 -8
  50. package/dist/actions/get-job-by-id.mjs.map +1 -1
  51. package/dist/actions/get-list-of-jobs.cjs +6 -6
  52. package/dist/actions/get-list-of-jobs.cjs.map +1 -1
  53. package/dist/actions/get-list-of-jobs.d.cts +26 -3
  54. package/dist/actions/get-list-of-jobs.d.cts.map +1 -1
  55. package/dist/actions/get-list-of-jobs.d.mts +26 -3
  56. package/dist/actions/get-list-of-jobs.d.mts.map +1 -1
  57. package/dist/actions/get-list-of-jobs.mjs +6 -6
  58. package/dist/actions/get-list-of-jobs.mjs.map +1 -1
  59. package/dist/actions/get-transcript-by-id.cjs +6 -6
  60. package/dist/actions/get-transcript-by-id.cjs.map +1 -1
  61. package/dist/actions/get-transcript-by-id.d.cts +24 -3
  62. package/dist/actions/get-transcript-by-id.d.cts.map +1 -1
  63. package/dist/actions/get-transcript-by-id.d.mts +24 -3
  64. package/dist/actions/get-transcript-by-id.d.mts.map +1 -1
  65. package/dist/actions/get-transcript-by-id.mjs +6 -6
  66. package/dist/actions/get-transcript-by-id.mjs.map +1 -1
  67. package/dist/actions/start-stream-transcription.cjs +1 -1
  68. package/dist/actions/start-stream-transcription.cjs.map +1 -1
  69. package/dist/actions/start-stream-transcription.d.cts +40 -3
  70. package/dist/actions/start-stream-transcription.d.cts.map +1 -1
  71. package/dist/actions/start-stream-transcription.d.mts +40 -3
  72. package/dist/actions/start-stream-transcription.d.mts.map +1 -1
  73. package/dist/actions/start-stream-transcription.mjs +1 -1
  74. package/dist/actions/start-stream-transcription.mjs.map +1 -1
  75. package/dist/actions/submit-custom-vocabulary.cjs +4 -4
  76. package/dist/actions/submit-custom-vocabulary.cjs.map +1 -1
  77. package/dist/actions/submit-custom-vocabulary.d.cts +18 -3
  78. package/dist/actions/submit-custom-vocabulary.d.cts.map +1 -1
  79. package/dist/actions/submit-custom-vocabulary.d.mts +18 -3
  80. package/dist/actions/submit-custom-vocabulary.d.mts.map +1 -1
  81. package/dist/actions/submit-custom-vocabulary.mjs +4 -4
  82. package/dist/actions/submit-custom-vocabulary.mjs.map +1 -1
  83. package/dist/actions/submit-transcription-job.cjs +7 -7
  84. package/dist/actions/submit-transcription-job.cjs.map +1 -1
  85. package/dist/actions/submit-transcription-job.d.cts +66 -3
  86. package/dist/actions/submit-transcription-job.d.cts.map +1 -1
  87. package/dist/actions/submit-transcription-job.d.mts +66 -3
  88. package/dist/actions/submit-transcription-job.d.mts.map +1 -1
  89. package/dist/actions/submit-transcription-job.mjs +7 -7
  90. package/dist/actions/submit-transcription-job.mjs.map +1 -1
  91. package/dist/catalog.cjs +7 -1
  92. package/dist/catalog.cjs.map +1 -1
  93. package/dist/catalog.d.cts +8 -0
  94. package/dist/catalog.d.mts +8 -0
  95. package/dist/catalog.mjs +7 -1
  96. package/dist/catalog.mjs.map +1 -1
  97. package/package.json +2 -2
@@ -2,23 +2,23 @@ import { action } from "../action.mjs";
2
2
  import { z } from "zod";
3
3
  //#region src/actions/get-custom-vocabulary-details.ts
4
4
  const RevAiGetCustomVocabularyDetailsInput = z.object({ id: z.string().describe("Unique identifier of the custom vocabulary to retrieve.") }).describe("Request model for retrieving a custom vocabulary's details by its unique identifier.");
5
- const RevAiGetCustomVocabularyDetails_CustomVocabularyFailureSchema = z.object({ detail: z.string().describe("Failure detail message.").nullable().optional() }).describe("Details about a failure when processing the custom vocabulary.");
5
+ const RevAiGetCustomVocabularyDetails_CustomVocabularyFailureSchema = z.object({ detail: z.string().describe("Failure detail message.").nullable().optional() }).passthrough().describe("Details about a failure when processing the custom vocabulary.");
6
6
  const revAiGetCustomVocabularyDetails = action("REV_AI_GET_CUSTOM_VOCABULARY_DETAILS", {
7
7
  slug: "rev_ai-get-custom-vocabulary-details",
8
8
  name: "Get Custom Vocabulary Details",
9
9
  description: "Tool to retrieve custom vocabulary processing details. Use when needing to fetch the status and submitted phrases for a specific custom vocabulary after creation.",
10
10
  input: RevAiGetCustomVocabularyDetailsInput,
11
11
  output: z.object({
12
- id: z.string().describe("Unique identifier for the custom vocabulary."),
13
- status: z.string().describe("Current status of the custom vocabulary (e.g., 'in_progress', 'failed', 'complete')."),
12
+ id: z.string().describe("Unique identifier for the custom vocabulary.").nullable(),
13
+ status: z.string().describe("Current status of the custom vocabulary (e.g., 'in_progress', 'failed', 'complete').").nullable(),
14
14
  strict: z.boolean().describe("Whether strict mode was enabled for the custom vocabulary.").nullable().optional(),
15
15
  failure: RevAiGetCustomVocabularyDetails_CustomVocabularyFailureSchema.nullable().optional(),
16
16
  phrases: z.array(z.string()).describe("List of phrases submitted for the custom vocabulary.").nullable().optional(),
17
17
  metadata: z.string().describe("User-defined metadata associated with the custom vocabulary.").nullable().optional(),
18
- created_on: z.string().describe("Creation date-time in RFC 3339 format."),
18
+ created_on: z.string().describe("Creation date-time in RFC 3339 format.").nullable(),
19
19
  callback_url: z.string().describe("Callback URL for notifications, if set.").nullable().optional(),
20
20
  completed_on: z.string().describe("Completion date-time in RFC 3339 format, if processing is complete.").nullable().optional()
21
- }).describe("Response model containing details of a custom vocabulary.")
21
+ }).passthrough().describe("Response model containing details of a custom vocabulary.")
22
22
  });
23
23
  //#endregion
24
24
  export { revAiGetCustomVocabularyDetails };
@@ -1 +1 @@
1
- {"version":3,"file":"get-custom-vocabulary-details.mjs","names":[],"sources":["../../src/actions/get-custom-vocabulary-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RevAiGetCustomVocabularyDetailsInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the custom vocabulary to retrieve.\"),\n}).describe(\"Request model for retrieving a custom vocabulary's details by its unique identifier.\");\nconst RevAiGetCustomVocabularyDetails_CustomVocabularyFailureSchema: z.ZodTypeAny = z.object({\n detail: z.string().describe(\"Failure detail message.\").nullable().optional(),\n}).describe(\"Details about a failure when processing the custom vocabulary.\");\nexport const RevAiGetCustomVocabularyDetailsOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the custom vocabulary.\"),\n status: z.string().describe(\"Current status of the custom vocabulary (e.g., 'in_progress', 'failed', 'complete').\"),\n strict: z.boolean().describe(\"Whether strict mode was enabled for the custom vocabulary.\").nullable().optional(),\n failure: RevAiGetCustomVocabularyDetails_CustomVocabularyFailureSchema.nullable().optional(),\n phrases: z.array(z.string()).describe(\"List of phrases submitted for the custom vocabulary.\").nullable().optional(),\n metadata: z.string().describe(\"User-defined metadata associated with the custom vocabulary.\").nullable().optional(),\n created_on: z.string().describe(\"Creation date-time in RFC 3339 format.\"),\n callback_url: z.string().describe(\"Callback URL for notifications, if set.\").nullable().optional(),\n completed_on: z.string().describe(\"Completion date-time in RFC 3339 format, if processing is complete.\").nullable().optional(),\n}).describe(\"Response model containing details of a custom vocabulary.\");\n\nexport const revAiGetCustomVocabularyDetails = action(\"REV_AI_GET_CUSTOM_VOCABULARY_DETAILS\", {\n slug: \"rev_ai-get-custom-vocabulary-details\",\n name: \"Get Custom Vocabulary Details\",\n description: \"Tool to retrieve custom vocabulary processing details. Use when needing to fetch the status and submitted phrases for a specific custom vocabulary after creation.\",\n input: RevAiGetCustomVocabularyDetailsInput,\n output: RevAiGetCustomVocabularyDetailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAqD,EAAE,OAAO,EACzE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,EACnF,CAAC,CAAC,CAAC,SAAS,sFAAsF;AAClG,MAAM,gEAA8E,EAAE,OAAO,EAC3F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7E,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAa5E,MAAa,kCAAkC,OAAO,wCAAwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAjBiE,EAAE,OAAO;EAC1E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;EAClH,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,SAAS,8DAA8D,SAAS,CAAC,CAAC,SAAS;EAC3F,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;EACxE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,CAAC,CAAC,CAAC,SAAS,2DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-custom-vocabulary-details.mjs","names":[],"sources":["../../src/actions/get-custom-vocabulary-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RevAiGetCustomVocabularyDetailsInput = z.object({\n id: z.string().describe(\"Unique identifier of the custom vocabulary to retrieve.\"),\n}).describe(\"Request model for retrieving a custom vocabulary's details by its unique identifier.\");\nconst RevAiGetCustomVocabularyDetails_CustomVocabularyFailureSchema = z.object({\n detail: z.string().describe(\"Failure detail message.\").nullable().optional(),\n}).passthrough().describe(\"Details about a failure when processing the custom vocabulary.\");\nexport const RevAiGetCustomVocabularyDetailsOutput = z.object({\n id: z.string().describe(\"Unique identifier for the custom vocabulary.\").nullable(),\n status: z.string().describe(\"Current status of the custom vocabulary (e.g., 'in_progress', 'failed', 'complete').\").nullable(),\n strict: z.boolean().describe(\"Whether strict mode was enabled for the custom vocabulary.\").nullable().optional(),\n failure: RevAiGetCustomVocabularyDetails_CustomVocabularyFailureSchema.nullable().optional(),\n phrases: z.array(z.string()).describe(\"List of phrases submitted for the custom vocabulary.\").nullable().optional(),\n metadata: z.string().describe(\"User-defined metadata associated with the custom vocabulary.\").nullable().optional(),\n created_on: z.string().describe(\"Creation date-time in RFC 3339 format.\").nullable(),\n callback_url: z.string().describe(\"Callback URL for notifications, if set.\").nullable().optional(),\n completed_on: z.string().describe(\"Completion date-time in RFC 3339 format, if processing is complete.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing details of a custom vocabulary.\");\n\nexport const revAiGetCustomVocabularyDetails = action(\"REV_AI_GET_CUSTOM_VOCABULARY_DETAILS\", {\n slug: \"rev_ai-get-custom-vocabulary-details\",\n name: \"Get Custom Vocabulary Details\",\n description: \"Tool to retrieve custom vocabulary processing details. Use when needing to fetch the status and submitted phrases for a specific custom vocabulary after creation.\",\n input: RevAiGetCustomVocabularyDetailsInput,\n output: RevAiGetCustomVocabularyDetailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO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etJobByIdInput = zod.z.object({ id: zod.z.string().describe("Unique identifier of the transcription job to retrieve.") }).describe("Request model for retrieving a transcription job by its unique identifier.");
5
5
  const RevAiGetJobById_FailureSchema = zod.z.object({
6
- code: zod.z.string().describe("Error code of the failed job."),
6
+ code: zod.z.string().describe("Error code of the failed job.").nullable(),
7
7
  detail: zod.z.string().describe("Additional details about the failure.").nullable().optional(),
8
8
  message: zod.z.string().describe("Error message detailing the failure.").nullable().optional()
9
- }).describe("Details about a failed transcription job.\nThe API can return failure as a string (error code) or an object with code/message.");
9
+ }).passthrough().describe("Details about a failed transcription job.\nThe API can return failure as a string (error code) or an object with code/message.");
10
10
  const RevAiGetJobById_TranscriptionConfigSchema = zod.z.object({
11
11
  filter_profanity: zod.z.boolean().describe("If true, profanity will be filtered.").nullable().optional(),
12
12
  remove_punctuation: zod.z.boolean().describe("If true, punctuation will be removed.").nullable().optional(),
13
13
  remove_disfluencies: zod.z.boolean().describe("If true, filler disfluencies will be removed.").nullable().optional(),
14
14
  speaker_channels_count: zod.z.number().int().describe("Number of speaker channels in the media.").nullable().optional()
15
- }).describe("Advanced transcription configuration for the job.");
15
+ }).passthrough().describe("Advanced transcription configuration for the job.");
16
16
  const RevAiGetJobByIdOutput = zod.z.object({
17
- id: zod.z.string().describe("Unique identifier for the job."),
17
+ id: zod.z.string().describe("Unique identifier for the job.").nullable(),
18
18
  name: zod.z.string().describe("Name of the job, if provided.").nullable().optional(),
19
- type: zod.z.string().describe("Type of job (e.g., asynchronous)."),
20
- status: zod.z.string().describe("Current status of the job."),
19
+ type: zod.z.string().describe("Type of job (e.g., asynchronous).").nullable(),
20
+ status: zod.z.string().describe("Current status of the job.").nullable(),
21
21
  failure: RevAiGetJobById_FailureSchema.nullable().optional(),
22
22
  language: zod.z.string().describe("Language code of the job, if set.").nullable().optional(),
23
23
  metadata: zod.z.string().describe("User-provided metadata, if set.").nullable().optional(),
24
- created_on: zod.z.string().describe("Job creation date-time in RFC 3339 format."),
24
+ created_on: zod.z.string().describe("Job creation date-time in RFC 3339 format.").nullable(),
25
25
  callback_url: zod.z.string().describe("Callback URL for job notifications, if set.").nullable().optional(),
26
26
  completed_on: zod.z.string().describe("Job completion date-time in RFC 3339 format, if completed.").nullable().optional(),
27
27
  duration_seconds: zod.z.number().describe("Duration of the media in seconds, if available.").nullable().optional(),
28
28
  custom_vocabulary_id: zod.z.string().describe("Custom vocabulary ID used for the job.").nullable().optional(),
29
29
  delete_after_seconds: zod.z.number().int().describe("Time in seconds after which the job will be deleted.").nullable().optional(),
30
30
  transcription_config: RevAiGetJobById_TranscriptionConfigSchema.nullable().optional()
31
- }).describe("Response model containing details of a transcription job.");
31
+ }).passthrough().describe("Response model containing details of a transcription job.");
32
32
  const revAiGetJobById = require_action.action("REV_AI_GET_JOB_BY_ID", {
33
33
  slug: "rev_ai-get-job-by-id",
34
34
  name: "Get Job by ID",
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n code: z.string().describe(\"Error code of the failed job.\"),\n detail: z.string().describe(\"Additional details about the failure.\").nullable().optional(),\n message: z.string().describe(\"Error message detailing the failure.\").nullable().optional(),\n}).describe(\"Details about a failed transcription job.\\nThe API can return failure as a string (error code) or an object with code/message.\");\nconst RevAiGetJobById_TranscriptionConfigSchema: z.ZodTypeAny = z.object({\n filter_profanity: z.boolean().describe(\"If true, profanity will be filtered.\").nullable().optional(),\n remove_punctuation: z.boolean().describe(\"If true, punctuation will be removed.\").nullable().optional(),\n remove_disfluencies: z.boolean().describe(\"If true, filler disfluencies will be removed.\").nullable().optional(),\n speaker_channels_count: z.number().int().describe(\"Number of speaker channels in the media.\").nullable().optional(),\n}).describe(\"Advanced transcription configuration for the job.\");\nexport const RevAiGetJobByIdOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the job.\"),\n name: z.string().describe(\"Name of the job, if provided.\").nullable().optional(),\n type: z.string().describe(\"Type of job (e.g., asynchronous).\"),\n status: z.string().describe(\"Current status of the job.\"),\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.\"),\n callback_url: z.string().describe(\"Callback URL for job notifications, if set.\").nullable().optional(),\n completed_on: z.string().describe(\"Job completion date-time in RFC 3339 format, if completed.\").nullable().optional(),\n duration_seconds: z.number().describe(\"Duration of the media in seconds, if available.\").nullable().optional(),\n custom_vocabulary_id: z.string().describe(\"Custom vocabulary ID used for the job.\").nullable().optional(),\n delete_after_seconds: z.number().int().describe(\"Time in seconds after which the job will be deleted.\").nullable().optional(),\n transcription_config: RevAiGetJobById_TranscriptionConfigSchema.nullable().optional(),\n}).describe(\"Response model containing details of a transcription job.\");\n\nexport const revAiGetJobById = action(\"REV_AI_GET_JOB_BY_ID\", {\n slug: \"rev_ai-get-job-by-id\",\n name: \"Get Job by ID\",\n description: \"Tool to fetch details of a transcription job by its ID. Use when confirming job status and metadata are accurate.\",\n input: RevAiGetJobByIdInput,\n output: RevAiGetJobByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAqCA,IAAAA,EAAE,OAAO,EACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,EACnF,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,gCAA8CA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACzD,QAAQA,IAAAA,EAAE,OAAO,CA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C,SAAS;CACrF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAC5E,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,SAAS,2DAA2D;AAEvE,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 { 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,OA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5
- declare const RevAiGetJobByIdOutput: z.ZodTypeAny;
6
- declare const revAiGetJobById: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RevAiGetJobByIdInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const RevAiGetJobByIdOutput: z.ZodObject<{
8
+ id: z.ZodNullable<z.ZodString>;
9
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ type: z.ZodNullable<z.ZodString>;
11
+ status: z.ZodNullable<z.ZodString>;
12
+ failure: z.ZodOptional<z.ZodNullable<z.ZodObject<{
13
+ code: z.ZodNullable<z.ZodString>;
14
+ detail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ }, z.core.$loose>>>;
17
+ language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ created_on: z.ZodNullable<z.ZodString>;
20
+ callback_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ completed_on: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ duration_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
+ custom_vocabulary_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ delete_after_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
25
+ transcription_config: z.ZodOptional<z.ZodNullable<z.ZodObject<{
26
+ filter_profanity: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
27
+ remove_punctuation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
28
+ remove_disfluencies: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
29
+ speaker_channels_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30
+ }, z.core.$loose>>>;
31
+ }, 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
35
  //#endregion
8
36
  export { revAiGetJobById };
9
37
  //# sourceMappingURL=get-job-by-id.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-job-by-id.d.cts","names":[],"sources":["../../src/actions/get-job-by-id.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAEoD;AAAA,cAY5E,qBAAA,EAAuB,CAAA,CAAE,UAekC;AAAA,cAE3D,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-job-by-id.d.cts","names":[],"sources":["../../src/actions/get-job-by-id.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAcpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAiBrB,eAAA,gCAAe,wBAAA"}
@@ -1,9 +1,37 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-job-by-id.d.ts
4
- declare const RevAiGetJobByIdInput: z.ZodTypeAny;
5
- declare const RevAiGetJobByIdOutput: z.ZodTypeAny;
6
- declare const revAiGetJobById: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RevAiGetJobByIdInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const RevAiGetJobByIdOutput: z.ZodObject<{
8
+ id: z.ZodNullable<z.ZodString>;
9
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ type: z.ZodNullable<z.ZodString>;
11
+ status: z.ZodNullable<z.ZodString>;
12
+ failure: z.ZodOptional<z.ZodNullable<z.ZodObject<{
13
+ code: z.ZodNullable<z.ZodString>;
14
+ detail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ }, z.core.$loose>>>;
17
+ language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ created_on: z.ZodNullable<z.ZodString>;
20
+ callback_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ completed_on: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ duration_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
+ custom_vocabulary_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ delete_after_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
25
+ transcription_config: z.ZodOptional<z.ZodNullable<z.ZodObject<{
26
+ filter_profanity: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
27
+ remove_punctuation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
28
+ remove_disfluencies: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
29
+ speaker_channels_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30
+ }, z.core.$loose>>>;
31
+ }, 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
35
  //#endregion
8
36
  export { revAiGetJobById };
9
37
  //# sourceMappingURL=get-job-by-id.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-job-by-id.d.mts","names":[],"sources":["../../src/actions/get-job-by-id.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAEoD;AAAA,cAY5E,qBAAA,EAAuB,CAAA,CAAE,UAekC;AAAA,cAE3D,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-job-by-id.d.mts","names":[],"sources":["../../src/actions/get-job-by-id.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAcpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAiBrB,eAAA,gCAAe,wBAAA"}
@@ -3,37 +3,37 @@ import { z } from "zod";
3
3
  //#region src/actions/get-job-by-id.ts
4
4
  const RevAiGetJobByIdInput = z.object({ id: z.string().describe("Unique identifier of the transcription job to retrieve.") }).describe("Request model for retrieving a transcription job by its unique identifier.");
5
5
  const RevAiGetJobById_FailureSchema = z.object({
6
- code: z.string().describe("Error code of the failed job."),
6
+ code: z.string().describe("Error code of the failed job.").nullable(),
7
7
  detail: z.string().describe("Additional details about the failure.").nullable().optional(),
8
8
  message: z.string().describe("Error message detailing the failure.").nullable().optional()
9
- }).describe("Details about a failed transcription job.\nThe API can return failure as a string (error code) or an object with code/message.");
9
+ }).passthrough().describe("Details about a failed transcription job.\nThe API can return failure as a string (error code) or an object with code/message.");
10
10
  const RevAiGetJobById_TranscriptionConfigSchema = z.object({
11
11
  filter_profanity: z.boolean().describe("If true, profanity will be filtered.").nullable().optional(),
12
12
  remove_punctuation: z.boolean().describe("If true, punctuation will be removed.").nullable().optional(),
13
13
  remove_disfluencies: z.boolean().describe("If true, filler disfluencies will be removed.").nullable().optional(),
14
14
  speaker_channels_count: z.number().int().describe("Number of speaker channels in the media.").nullable().optional()
15
- }).describe("Advanced transcription configuration for the job.");
15
+ }).passthrough().describe("Advanced transcription configuration for the job.");
16
16
  const revAiGetJobById = action("REV_AI_GET_JOB_BY_ID", {
17
17
  slug: "rev_ai-get-job-by-id",
18
18
  name: "Get Job by ID",
19
19
  description: "Tool to fetch details of a transcription job by its ID. Use when confirming job status and metadata are accurate.",
20
20
  input: RevAiGetJobByIdInput,
21
21
  output: z.object({
22
- id: z.string().describe("Unique identifier for the job."),
22
+ id: z.string().describe("Unique identifier for the job.").nullable(),
23
23
  name: z.string().describe("Name of the job, if provided.").nullable().optional(),
24
- type: z.string().describe("Type of job (e.g., asynchronous)."),
25
- status: z.string().describe("Current status of the job."),
24
+ type: z.string().describe("Type of job (e.g., asynchronous).").nullable(),
25
+ status: z.string().describe("Current status of the job.").nullable(),
26
26
  failure: RevAiGetJobById_FailureSchema.nullable().optional(),
27
27
  language: z.string().describe("Language code of the job, if set.").nullable().optional(),
28
28
  metadata: z.string().describe("User-provided metadata, if set.").nullable().optional(),
29
- created_on: z.string().describe("Job creation date-time in RFC 3339 format."),
29
+ created_on: z.string().describe("Job creation date-time in RFC 3339 format.").nullable(),
30
30
  callback_url: z.string().describe("Callback URL for job notifications, if set.").nullable().optional(),
31
31
  completed_on: z.string().describe("Job completion date-time in RFC 3339 format, if completed.").nullable().optional(),
32
32
  duration_seconds: z.number().describe("Duration of the media in seconds, if available.").nullable().optional(),
33
33
  custom_vocabulary_id: z.string().describe("Custom vocabulary ID used for the job.").nullable().optional(),
34
34
  delete_after_seconds: z.number().int().describe("Time in seconds after which the job will be deleted.").nullable().optional(),
35
35
  transcription_config: RevAiGetJobById_TranscriptionConfigSchema.nullable().optional()
36
- }).describe("Response model containing details of a transcription job.")
36
+ }).passthrough().describe("Response model containing details of a transcription job.")
37
37
  });
38
38
  //#endregion
39
39
  export { revAiGetJobById };
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n code: z.string().describe(\"Error code of the failed job.\"),\n detail: z.string().describe(\"Additional details about the failure.\").nullable().optional(),\n message: z.string().describe(\"Error message detailing the failure.\").nullable().optional(),\n}).describe(\"Details about a failed transcription job.\\nThe API can return failure as a string (error code) or an object with code/message.\");\nconst RevAiGetJobById_TranscriptionConfigSchema: z.ZodTypeAny = z.object({\n filter_profanity: z.boolean().describe(\"If true, profanity will be filtered.\").nullable().optional(),\n remove_punctuation: z.boolean().describe(\"If true, punctuation will be removed.\").nullable().optional(),\n remove_disfluencies: z.boolean().describe(\"If true, filler disfluencies will be removed.\").nullable().optional(),\n speaker_channels_count: z.number().int().describe(\"Number of speaker channels in the media.\").nullable().optional(),\n}).describe(\"Advanced transcription configuration for the job.\");\nexport const RevAiGetJobByIdOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the job.\"),\n name: z.string().describe(\"Name of the job, if provided.\").nullable().optional(),\n type: z.string().describe(\"Type of job (e.g., asynchronous).\"),\n status: z.string().describe(\"Current status of the job.\"),\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.\"),\n callback_url: z.string().describe(\"Callback URL for job notifications, if set.\").nullable().optional(),\n completed_on: z.string().describe(\"Job completion date-time in RFC 3339 format, if completed.\").nullable().optional(),\n duration_seconds: z.number().describe(\"Duration of the media in seconds, if available.\").nullable().optional(),\n custom_vocabulary_id: z.string().describe(\"Custom vocabulary ID used for the job.\").nullable().optional(),\n delete_after_seconds: z.number().int().describe(\"Time in seconds after which the job will be deleted.\").nullable().optional(),\n transcription_config: RevAiGetJobById_TranscriptionConfigSchema.nullable().optional(),\n}).describe(\"Response model containing details of a transcription job.\");\n\nexport const revAiGetJobById = action(\"REV_AI_GET_JOB_BY_ID\", {\n slug: \"rev_ai-get-job-by-id\",\n name: \"Get Job by ID\",\n description: \"Tool to fetch details of a transcription job by its ID. Use when confirming job status and metadata are accurate.\",\n input: RevAiGetJobByIdInput,\n output: RevAiGetJobByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAqC,EAAE,OAAO,EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,EACnF,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,gCAA8C,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACzD,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,SAAS,gIAAgI;AAC5I,MAAM,4CAA0D,EAAE,OAAO;CACvE,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,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAkB/D,MAAa,kBAAkB,OAAO,wBAAwB;CAC5D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAtBiD,EAAE,OAAO;EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAC7D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EACxD,SAAS,8BAA8B,SAAS,CAAC,CAAC,SAAS;EAC3D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EAC5E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,sBAAsB,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACtF,CAAC,CAAC,CAAC,SAAS,2DAOF;AACV,CAAC"}
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 accur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C,SAAS,CAAC,CAAC,SAAS;EAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACnE,SAAS,8BAA8B,SAAS,CAAC,CAAC,SAAS;EAC3D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACvF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,sBAAsB,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAOhB;AACV,CAAC"}
@@ -7,20 +7,20 @@ const RevAiGetListOfJobsInput = zod.z.object({
7
7
  starting_after: zod.z.string().describe("Only return jobs created after the given job ID.").optional()
8
8
  }).describe("Parameters to paginate and limit the list of transcription jobs.");
9
9
  const RevAiGetListOfJobs_JobSchema = zod.z.object({
10
- id: zod.z.string().describe("Unique job identifier."),
10
+ id: zod.z.string().describe("Unique job identifier.").nullable(),
11
11
  name: zod.z.string().describe("Name assigned to the job, if any.").nullable().optional(),
12
- type: zod.z.string().describe("Type of the job."),
13
- status: zod.z.string().describe("Status of the job (e.g., 'in_progress', 'transcribed')."),
12
+ type: zod.z.string().describe("Type of the job.").nullable(),
13
+ status: zod.z.string().describe("Status of the job (e.g., 'in_progress', 'transcribed').").nullable(),
14
14
  language: zod.z.string().describe("Language code of the submitted media.").nullable().optional(),
15
15
  metadata: zod.z.string().describe("User-provided metadata for the job.").nullable().optional(),
16
16
  media_url: zod.z.string().describe("URL of the media file submitted for transcription.").nullable().optional(),
17
- created_on: zod.z.string().describe("Timestamp when the job was created."),
17
+ created_on: zod.z.string().describe("Timestamp when the job was created.").nullable(),
18
18
  callback_url: zod.z.string().describe("Callback URL provided for job notifications.").nullable().optional(),
19
19
  completed_on: zod.z.string().describe("Timestamp when the job was completed.").nullable().optional(),
20
20
  custom_vocabularies: zod.z.array(zod.z.string()).describe("List of custom vocabulary names used for the job.").nullable().optional(),
21
21
  delete_after_seconds: zod.z.number().int().describe("Seconds after completion when the job will be deleted.").nullable().optional()
22
- }).describe("Representation of a transcription job metadata.");
23
- const RevAiGetListOfJobsOutput = zod.z.object({ jobs: zod.z.array(RevAiGetListOfJobs_JobSchema).describe("List of transcription jobs retrieved.") }).describe("Response wrapping list of transcription jobs.");
22
+ }).passthrough().describe("Representation of a transcription job metadata.");
23
+ const RevAiGetListOfJobsOutput = zod.z.object({ jobs: zod.z.array(RevAiGetListOfJobs_JobSchema).describe("List of transcription jobs retrieved.") }).passthrough().describe("Response wrapping list of transcription jobs.");
24
24
  const revAiGetListOfJobs = require_action.action("REV_AI_GET_LIST_OF_JOBS", {
25
25
  slug: "rev_ai-get-list-of-jobs",
26
26
  name: "Get List of Jobs",
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique job identifier.\"),\n name: z.string().describe(\"Name assigned to the job, if any.\").nullable().optional(),\n type: z.string().describe(\"Type of the job.\"),\n status: z.string().describe(\"Status of the job (e.g., 'in_progress', 'transcribed').\"),\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.\"),\n callback_url: z.string().describe(\"Callback URL provided for job notifications.\").nullable().optional(),\n completed_on: z.string().describe(\"Timestamp when the job was completed.\").nullable().optional(),\n custom_vocabularies: z.array(z.string()).describe(\"List of custom vocabulary names used for the job.\").nullable().optional(),\n delete_after_seconds: z.number().int().describe(\"Seconds after completion when the job will be deleted.\").nullable().optional(),\n}).describe(\"Representation of a transcription job metadata.\");\nexport const RevAiGetListOfJobsOutput: z.ZodTypeAny = z.object({\n jobs: z.array(RevAiGetListOfJobs_JobSchema).describe(\"List of transcription jobs retrieved.\"),\n}).describe(\"Response wrapping list of transcription jobs.\");\n\nexport const revAiGetListOfJobs = action(\"REV_AI_GET_LIST_OF_JOBS\", {\n slug: \"rev_ai-get-list-of-jobs\",\n name: \"Get List of Jobs\",\n description: \"Tool to get list of transcription jobs from the past 30 days. Use when you need to retrieve and paginate through recent transcription tasks.\",\n input: RevAiGetListOfJobsInput,\n output: RevAiGetListOfJobsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,I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AC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,EAC7D,MAAMA,IAAAA,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,uCAAuC,EAC9F,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAE3D,MAAa,qBAAqBC,eAAAA,OAAO,2BAA2B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-list-of-jobs.cjs","names":["z","action"],"sources":["../../src/actions/get-list-of-jobs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RevAiGetListOfJobsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of jobs to return (default 100, max 1000)\").optional(),\n ending_before: z.string().describe(\"Only return jobs created before the given job ID.\").optional(),\n starting_after: z.string().describe(\"Only return jobs created after the given job ID.\").optional(),\n}).describe(\"Parameters to paginate and limit the list of transcription jobs.\");\nconst RevAiGetListOfJobs_JobSchema = z.object({\n id: z.string().describe(\"Unique job identifier.\").nullable(),\n name: z.string().describe(\"Name assigned to the job, if any.\").nullable().optional(),\n type: z.string().describe(\"Type of the job.\").nullable(),\n status: z.string().describe(\"Status of the job (e.g., 'in_progress', 'transcribed').\").nullable(),\n language: z.string().describe(\"Language code of the submitted media.\").nullable().optional(),\n metadata: z.string().describe(\"User-provided metadata for the job.\").nullable().optional(),\n media_url: z.string().describe(\"URL of the media file submitted for transcription.\").nullable().optional(),\n created_on: z.string().describe(\"Timestamp when the job was created.\").nullable(),\n callback_url: z.string().describe(\"Callback URL provided for job notifications.\").nullable().optional(),\n completed_on: z.string().describe(\"Timestamp when the job was completed.\").nullable().optional(),\n custom_vocabularies: z.array(z.string()).describe(\"List of custom vocabulary names used for the job.\").nullable().optional(),\n delete_after_seconds: z.number().int().describe(\"Seconds after completion when the job will be deleted.\").nullable().optional(),\n}).passthrough().describe(\"Representation of a transcription job metadata.\");\nexport const RevAiGetListOfJobsOutput = z.object({\n jobs: z.array(RevAiGetListOfJobs_JobSchema).describe(\"List of transcription jobs retrieved.\"),\n}).passthrough().describe(\"Response wrapping list of transcription jobs.\");\n\nexport const revAiGetListOfJobs = action(\"REV_AI_GET_LIST_OF_JOBS\", {\n slug: \"rev_ai-get-list-of-jobs\",\n name: \"Get List of Jobs\",\n description: \"Tool to get list of transcription jobs from the past 30 days. Use when you need to retrieve and paginate through recent transcription tasks.\",\n input: RevAiGetListOfJobsInput,\n output: RevAiGetListOfJobsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACtG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACjG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AACnG,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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etListOfJobsInput: z.ZodTypeAny;
5
- declare const RevAiGetListOfJobsOutput: z.ZodTypeAny;
6
- declare const revAiGetListOfJobs: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RevAiGetListOfJobsInput: z.ZodObject<{
5
+ limit: z.ZodOptional<z.ZodNumber>;
6
+ ending_before: z.ZodOptional<z.ZodString>;
7
+ starting_after: z.ZodOptional<z.ZodString>;
8
+ }, z.core.$strip>;
9
+ declare const RevAiGetListOfJobsOutput: z.ZodObject<{
10
+ jobs: z.ZodArray<z.ZodObject<{
11
+ id: z.ZodNullable<z.ZodString>;
12
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ type: z.ZodNullable<z.ZodString>;
14
+ status: z.ZodNullable<z.ZodString>;
15
+ language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ media_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ created_on: z.ZodNullable<z.ZodString>;
19
+ callback_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ completed_on: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ custom_vocabularies: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
22
+ delete_after_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
+ }, z.core.$loose>>;
24
+ }, 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]>;
7
30
  //#endregion
8
31
  export { revAiGetListOfJobs };
9
32
  //# sourceMappingURL=get-list-of-jobs.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-list-of-jobs.d.cts","names":[],"sources":["../../src/actions/get-list-of-jobs.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAIuC;AAAA,cAelE,wBAAA,EAA0B,CAAA,CAAE,UAEmB;AAAA,cAE/C,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-list-of-jobs.d.cts","names":[],"sources":["../../src/actions/get-list-of-jobs.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;cAmBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA"}
@@ -1,9 +1,32 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-list-of-jobs.d.ts
4
- declare const RevAiGetListOfJobsInput: z.ZodTypeAny;
5
- declare const RevAiGetListOfJobsOutput: z.ZodTypeAny;
6
- declare const revAiGetListOfJobs: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RevAiGetListOfJobsInput: z.ZodObject<{
5
+ limit: z.ZodOptional<z.ZodNumber>;
6
+ ending_before: z.ZodOptional<z.ZodString>;
7
+ starting_after: z.ZodOptional<z.ZodString>;
8
+ }, z.core.$strip>;
9
+ declare const RevAiGetListOfJobsOutput: z.ZodObject<{
10
+ jobs: z.ZodArray<z.ZodObject<{
11
+ id: z.ZodNullable<z.ZodString>;
12
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ type: z.ZodNullable<z.ZodString>;
14
+ status: z.ZodNullable<z.ZodString>;
15
+ language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ media_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ created_on: z.ZodNullable<z.ZodString>;
19
+ callback_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ completed_on: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ custom_vocabularies: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
22
+ delete_after_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
+ }, z.core.$loose>>;
24
+ }, 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]>;
7
30
  //#endregion
8
31
  export { revAiGetListOfJobs };
9
32
  //# sourceMappingURL=get-list-of-jobs.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-list-of-jobs.d.mts","names":[],"sources":["../../src/actions/get-list-of-jobs.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAIuC;AAAA,cAelE,wBAAA,EAA0B,CAAA,CAAE,UAEmB;AAAA,cAE/C,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-list-of-jobs.d.mts","names":[],"sources":["../../src/actions/get-list-of-jobs.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;cAmBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA"}
@@ -7,25 +7,25 @@ const RevAiGetListOfJobsInput = z.object({
7
7
  starting_after: z.string().describe("Only return jobs created after the given job ID.").optional()
8
8
  }).describe("Parameters to paginate and limit the list of transcription jobs.");
9
9
  const RevAiGetListOfJobs_JobSchema = z.object({
10
- id: z.string().describe("Unique job identifier."),
10
+ id: z.string().describe("Unique job identifier.").nullable(),
11
11
  name: z.string().describe("Name assigned to the job, if any.").nullable().optional(),
12
- type: z.string().describe("Type of the job."),
13
- status: z.string().describe("Status of the job (e.g., 'in_progress', 'transcribed')."),
12
+ type: z.string().describe("Type of the job.").nullable(),
13
+ status: z.string().describe("Status of the job (e.g., 'in_progress', 'transcribed').").nullable(),
14
14
  language: z.string().describe("Language code of the submitted media.").nullable().optional(),
15
15
  metadata: z.string().describe("User-provided metadata for the job.").nullable().optional(),
16
16
  media_url: z.string().describe("URL of the media file submitted for transcription.").nullable().optional(),
17
- created_on: z.string().describe("Timestamp when the job was created."),
17
+ created_on: z.string().describe("Timestamp when the job was created.").nullable(),
18
18
  callback_url: z.string().describe("Callback URL provided for job notifications.").nullable().optional(),
19
19
  completed_on: z.string().describe("Timestamp when the job was completed.").nullable().optional(),
20
20
  custom_vocabularies: z.array(z.string()).describe("List of custom vocabulary names used for the job.").nullable().optional(),
21
21
  delete_after_seconds: z.number().int().describe("Seconds after completion when the job will be deleted.").nullable().optional()
22
- }).describe("Representation of a transcription job metadata.");
22
+ }).passthrough().describe("Representation of a transcription job metadata.");
23
23
  const revAiGetListOfJobs = action("REV_AI_GET_LIST_OF_JOBS", {
24
24
  slug: "rev_ai-get-list-of-jobs",
25
25
  name: "Get List of Jobs",
26
26
  description: "Tool to get list of transcription jobs from the past 30 days. Use when you need to retrieve and paginate through recent transcription tasks.",
27
27
  input: RevAiGetListOfJobsInput,
28
- output: z.object({ jobs: z.array(RevAiGetListOfJobs_JobSchema).describe("List of transcription jobs retrieved.") }).describe("Response wrapping list of transcription jobs.")
28
+ output: z.object({ jobs: z.array(RevAiGetListOfJobs_JobSchema).describe("List of transcription jobs retrieved.") }).passthrough().describe("Response wrapping list of transcription jobs.")
29
29
  });
30
30
  //#endregion
31
31
  export { revAiGetListOfJobs };
@@ -1 +1 @@
1
- {"version":3,"file":"get-list-of-jobs.mjs","names":[],"sources":["../../src/actions/get-list-of-jobs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RevAiGetListOfJobsInput: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique job identifier.\"),\n name: z.string().describe(\"Name assigned to the job, if any.\").nullable().optional(),\n type: z.string().describe(\"Type of the job.\"),\n status: z.string().describe(\"Status of the job (e.g., 'in_progress', 'transcribed').\"),\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.\"),\n callback_url: z.string().describe(\"Callback URL provided for job notifications.\").nullable().optional(),\n completed_on: z.string().describe(\"Timestamp when the job was completed.\").nullable().optional(),\n custom_vocabularies: z.array(z.string()).describe(\"List of custom vocabulary names used for the job.\").nullable().optional(),\n delete_after_seconds: z.number().int().describe(\"Seconds after completion when the job will be deleted.\").nullable().optional(),\n}).describe(\"Representation of a transcription job metadata.\");\nexport const RevAiGetListOfJobsOutput: z.ZodTypeAny = z.object({\n jobs: z.array(RevAiGetListOfJobs_JobSchema).describe(\"List of transcription jobs retrieved.\"),\n}).describe(\"Response wrapping list of transcription jobs.\");\n\nexport const revAiGetListOfJobs = action(\"REV_AI_GET_LIST_OF_JOBS\", {\n slug: \"rev_ai-get-list-of-jobs\",\n name: \"Get List of Jobs\",\n description: \"Tool to get list of transcription jobs from the past 30 days. Use when you need to retrieve and paginate through recent transcription tasks.\",\n input: RevAiGetListOfJobsInput,\n output: RevAiG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CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAK7D,MAAa,qBAAqB,OAAO,2BAA2B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToD,EAAE,OAAO,EAC7D,MAAM,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,uCAAuC,EAC9F,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-list-of-jobs.mjs","names":[],"sources":["../../src/actions/get-list-of-jobs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RevAiGetListOfJobsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of jobs to return (default 100, max 1000)\").optional(),\n ending_before: z.string().describe(\"Only return jobs created before the given job ID.\").optional(),\n starting_after: z.string().describe(\"Only return jobs created after the given job ID.\").optional(),\n}).describe(\"Parameters to paginate and limit the list of transcription jobs.\");\nconst RevAiGetListOfJobs_JobSchema = z.object({\n id: z.string().describe(\"Unique job identifier.\").nullable(),\n name: z.string().describe(\"Name assigned to the job, if any.\").nullable().optional(),\n type: z.string().describe(\"Type of the job.\").nullable(),\n status: z.string().describe(\"Status of the job (e.g., 'in_progress', 'transcribed').\").nullable(),\n language: z.string().describe(\"Language code of the submitted media.\").nullable().optional(),\n metadata: z.string().describe(\"User-provided metadata for the job.\").nullable().optional(),\n media_url: z.string().describe(\"URL of the media file submitted for transcription.\").nullable().optional(),\n created_on: z.string().describe(\"Timestamp when the job was created.\").nullable(),\n callback_url: z.string().describe(\"Callback URL provided for job notifications.\").nullable().optional(),\n completed_on: z.string().describe(\"Timestamp when the job was completed.\").nullable().optional(),\n custom_vocabularies: z.array(z.string()).describe(\"List of custom vocabulary names used for the job.\").nullable().optional(),\n delete_after_seconds: z.number().int().describe(\"Seconds after completion when the job will be deleted.\").nullable().optional(),\n}).passthrough().describe(\"Representation of a transcription job metadata.\");\nexport const RevAiGetListOfJobsOutput = z.object({\n jobs: z.array(RevAiGetListOfJobs_JobSchema).describe(\"List of transcription jobs retrieved.\"),\n}).passthrough().describe(\"Response wrapping list of transcription jobs.\");\n\nexport const revAiGetListOfJobs = action(\"REV_AI_GET_LIST_OF_JOBS\", {\n slug: \"rev_ai-get-list-of-jobs\",\n name: \"Get List of Jobs\",\n description: \"Tool to get list of transcription jobs from the past 30 days. Use when you need to retrieve and paginate through recent transcription tasks.\",\n input: RevAiGetListOfJobsInput,\n output: RevAiGetListOfJobsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACtG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,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"}
@@ -7,19 +7,19 @@ const RevAiGetTranscriptByIdInput = zod.z.object({
7
7
  });
8
8
  const RevAiGetTranscriptById_TranscriptElementSchema = zod.z.object({
9
9
  ts: zod.z.number().describe("Start timestamp in seconds (not present for punctuation elements).").nullable().optional(),
10
- type: zod.z.string().describe("Type of element, e.g., 'text' or 'punct'."),
11
- value: zod.z.string().describe("Element content."),
10
+ type: zod.z.string().describe("Type of element, e.g., 'text' or 'punct'.").nullable(),
11
+ value: zod.z.string().describe("Element content.").nullable(),
12
12
  end_ts: zod.z.number().describe("End timestamp in seconds (not present for punctuation elements).").nullable().optional(),
13
13
  confidence: zod.z.number().describe("Confidence score for the transcription (0.0-1.0).").nullable().optional()
14
- });
14
+ }).passthrough();
15
15
  const RevAiGetTranscriptById_MonologueSchema = zod.z.object({
16
- speaker: zod.z.number().int().describe("Speaker identifier."),
16
+ speaker: zod.z.number().int().describe("Speaker identifier.").nullable(),
17
17
  elements: zod.z.array(RevAiGetTranscriptById_TranscriptElementSchema).describe("Sequence of transcript elements.")
18
- });
18
+ }).passthrough();
19
19
  const RevAiGetTranscriptByIdOutput = zod.z.object({
20
20
  text: zod.z.string().describe("Raw transcript for non-JSON formats.").nullable().optional(),
21
21
  monologues: zod.z.array(RevAiGetTranscriptById_MonologueSchema).describe("List of monologues for JSON transcripts.").nullable().optional()
22
- });
22
+ }).passthrough();
23
23
  const revAiGetTranscriptById = require_action.action("REV_AI_GET_TRANSCRIPT_BY_ID", {
24
24
  slug: "rev_ai-get-transcript-by-id",
25
25
  name: "Get Transcript by ID",
@@ -1 +1 @@
1
- {"version":3,"file":"get-transcript-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-transcript-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RevAiGetTranscriptByIdInput: z.ZodTypeAny = 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.ZodTypeAny = 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'.\"),\n value: z.string().describe(\"Element content.\"),\n end_ts: z.number().describe(\"End timestamp in seconds (not present for punctuation elements).\").nullable().optional(),\n confidence: z.number().describe(\"Confidence score for the transcription (0.0-1.0).\").nullable().optional(),\n});\nconst RevAiGetTranscriptById_MonologueSchema: z.ZodTypeAny = z.object({\n speaker: z.number().int().describe(\"Speaker identifier.\"),\n elements: z.array(RevAiGetTranscriptById_TranscriptElementSchema).describe(\"Sequence of transcript elements.\"),\n});\nexport const RevAiGetTranscriptByIdOutput: z.ZodTypeAny = z.object({\n text: z.string().describe(\"Raw transcript for non-JSON formats.\").nullable().optional(),\n monologues: z.array(RevAiGetTranscriptById_MonologueSchema).describe(\"List of monologues for JSON transcripts.\").nullable().optional(),\n});\n\nexport const revAiGetTranscriptById = action(\"REV_AI_GET_TRANSCRIPT_BY_ID\", {\n slug: \"rev_ai-get-transcript-by-id\",\n name: \"Get Transcript by ID\",\n description: \"Tool to retrieve the transcript of a completed Rev.ai job. Use after confirming job is complete. Supports JSON format (with timestamps and speaker info) or plain text format.\",\n input: RevAiGetTranscriptByIdInput,\n output: RevAiGetTranscriptByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,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,iDAA+DA,IAAAA,EAAE,OAAO;CAC5E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACrE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC7C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC;AACD,MAAM,yCAAuDA,IAAAA,EAAE,OAAO;CACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB;CACxD,UAAUA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,kCAAkC;AAC/G,CAAC;AACD,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC;AAED,MAAa,yBAAyBC,eAAAA,OAAO,+BAA+B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-transcript-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-transcript-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RevAiGetTranscriptByIdInput = z.object({\n id: z.string().describe(\"Identifier for the transcription job.\"),\n accept: z.enum([\"application/vnd.rev.transcript.v1.0+json\", \"text/plain\"]).default(\"application/vnd.rev.transcript.v1.0+json\").describe(\"Output format. Supported values: application/vnd.rev.transcript.v1.0+json (default) for JSON with timestamps and speaker info, or text/plain for plain text.\").optional(),\n});\nconst RevAiGetTranscriptById_TranscriptElementSchema = z.object({\n ts: z.number().describe(\"Start timestamp in seconds (not present for punctuation elements).\").nullable().optional(),\n type: z.string().describe(\"Type of element, e.g., 'text' or 'punct'.\").nullable(),\n value: z.string().describe(\"Element content.\").nullable(),\n end_ts: z.number().describe(\"End timestamp in seconds (not present for punctuation elements).\").nullable().optional(),\n confidence: z.number().describe(\"Confidence score for the transcription (0.0-1.0).\").nullable().optional(),\n}).passthrough();\nconst RevAiGetTranscriptById_MonologueSchema = z.object({\n speaker: z.number().int().describe(\"Speaker identifier.\").nullable(),\n elements: z.array(RevAiGetTranscriptById_TranscriptElementSchema).describe(\"Sequence of transcript elements.\"),\n}).passthrough();\nexport const RevAiGetTranscriptByIdOutput = z.object({\n text: z.string().describe(\"Raw transcript for non-JSON formats.\").nullable().optional(),\n monologues: z.array(RevAiGetTranscriptById_MonologueSchema).describe(\"List of monologues for JSON transcripts.\").nullable().optional(),\n}).passthrough();\n\nexport const revAiGetTranscriptById = action(\"REV_AI_GET_TRANSCRIPT_BY_ID\", {\n slug: \"rev_ai-get-transcript-by-id\",\n name: \"Get Transcript by ID\",\n description: \"Tool to retrieve the transcript of a completed Rev.ai job. Use after confirming job is complete. Supports JSON format (with timestamps and speaker info) or plain text format.\",\n input: RevAiGetTranscriptByIdInput,\n output: RevAiGetTranscriptByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC/D,QAAQA,IAAAA,EAAE,KAAK,CAAC,4CAA4C,YAAY,CAAC,CAAC,CAAC,QAAQ,0CAA0C,CAAC,CAAC,SAAS,8JAA8J,CAAC,CAAC,SAAS;AACnT,CAAC;AACD,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;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,9 +1,30 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-transcript-by-id.d.ts
4
- declare const RevAiGetTranscriptByIdInput: z.ZodTypeAny;
5
- declare const RevAiGetTranscriptByIdOutput: z.ZodTypeAny;
6
- declare const revAiGetTranscriptById: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RevAiGetTranscriptByIdInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ accept: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
7
+ "application/vnd.rev.transcript.v1.0+json": "application/vnd.rev.transcript.v1.0+json";
8
+ "text/plain": "text/plain";
9
+ }>>>;
10
+ }, z.core.$strip>;
11
+ declare const RevAiGetTranscriptByIdOutput: z.ZodObject<{
12
+ text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ monologues: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
14
+ speaker: z.ZodNullable<z.ZodNumber>;
15
+ elements: z.ZodArray<z.ZodObject<{
16
+ ts: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
+ type: z.ZodNullable<z.ZodString>;
18
+ value: z.ZodNullable<z.ZodString>;
19
+ end_ts: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
20
+ confidence: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
+ }, z.core.$loose>>;
22
+ }, z.core.$loose>>>>;
23
+ }, 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]>;
7
28
  //#endregion
8
29
  export { revAiGetTranscriptById };
9
30
  //# sourceMappingURL=get-transcript-by-id.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-transcript-by-id.d.cts","names":[],"sources":["../../src/actions/get-transcript-by-id.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAG1C;AAAA,cAYW,4BAAA,EAA8B,CAAA,CAAE,UAG3C;AAAA,cAEW,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}