arcmira 0.4.0 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (166) hide show
  1. package/README.md +21 -12
  2. package/dist/cjs/BaseClient.js +2 -2
  3. package/dist/cjs/api/resources/channels/client/Client.d.ts +1 -1
  4. package/dist/cjs/api/resources/channels/client/Client.js +1 -1
  5. package/dist/cjs/api/resources/channels/resources/videos/client/Client.d.ts +1 -1
  6. package/dist/cjs/api/resources/channels/resources/videos/client/Client.js +1 -1
  7. package/dist/cjs/api/resources/entities/client/Client.d.ts +2 -2
  8. package/dist/cjs/api/resources/entities/client/Client.js +2 -2
  9. package/dist/cjs/api/resources/feedback/client/Client.d.ts +2 -2
  10. package/dist/cjs/api/resources/feedback/client/Client.js +2 -2
  11. package/dist/cjs/api/resources/feedback/client/requests/SubmitFeedbackRequest.d.ts +10 -10
  12. package/dist/cjs/api/resources/feedback/client/requests/SubmitFeedbackRequest.js +4 -4
  13. package/dist/cjs/api/resources/me/client/Client.d.ts +1 -1
  14. package/dist/cjs/api/resources/me/client/Client.js +1 -1
  15. package/dist/cjs/api/resources/me/client/requests/UpdateSettingsMeRequest.d.ts +2 -2
  16. package/dist/cjs/api/resources/me/client/requests/UpdateSettingsMeRequest.js +1 -1
  17. package/dist/cjs/api/resources/mentions/client/Client.d.ts +2 -2
  18. package/dist/cjs/api/resources/mentions/client/Client.js +2 -2
  19. package/dist/cjs/api/resources/mentions/client/requests/ListMentionsRequest.d.ts +1 -1
  20. package/dist/cjs/api/resources/monitors/client/Client.d.ts +1 -1
  21. package/dist/cjs/api/resources/monitors/client/Client.js +1 -1
  22. package/dist/cjs/api/resources/monitors/client/requests/CreateMonitorsRequest.d.ts +2 -2
  23. package/dist/cjs/api/resources/monitors/client/requests/CreateMonitorsRequest.js +1 -1
  24. package/dist/cjs/api/resources/monitors/client/requests/UpdateMonitorsRequest.d.ts +2 -2
  25. package/dist/cjs/api/resources/monitors/client/requests/UpdateMonitorsRequest.js +1 -1
  26. package/dist/cjs/api/resources/recommendations/client/Client.d.ts +1 -1
  27. package/dist/cjs/api/resources/recommendations/client/Client.js +1 -1
  28. package/dist/cjs/api/resources/transcripts/client/Client.d.ts +5 -5
  29. package/dist/cjs/api/resources/transcripts/client/Client.js +4 -4
  30. package/dist/cjs/api/resources/transcripts/client/requests/GetTranscriptsRequest.d.ts +3 -3
  31. package/dist/cjs/api/resources/transcripts/types/GetTranscriptsRequestQuality.d.ts +1 -1
  32. package/dist/cjs/api/resources/transcripts/types/GetTranscriptsRequestQuality.js +1 -1
  33. package/dist/cjs/api/types/Alert.d.ts +10 -7
  34. package/dist/cjs/api/types/Alert.js +1 -1
  35. package/dist/cjs/api/types/BadRankingChange.d.ts +3 -3
  36. package/dist/cjs/api/types/ChannelSponsor.d.ts +1 -1
  37. package/dist/cjs/api/types/ChannelSponsorsResponse.d.ts +4 -0
  38. package/dist/cjs/api/types/DeliveryIssueChange.d.ts +1 -1
  39. package/dist/cjs/api/types/Entity.d.ts +2 -2
  40. package/dist/cjs/api/types/EntityDetailRecommendationsSummary.d.ts +2 -2
  41. package/dist/cjs/api/types/EntityMomentumResponse.d.ts +4 -0
  42. package/dist/cjs/api/types/EntityRef.d.ts +1 -1
  43. package/dist/cjs/api/types/EntityResolveResponse.d.ts +5 -5
  44. package/dist/cjs/api/types/EntityResolveResponse.js +1 -1
  45. package/dist/cjs/api/types/Error_.d.ts +4 -0
  46. package/dist/cjs/api/types/FeedbackReadbackCorrection.d.ts +1 -1
  47. package/dist/cjs/api/types/FeedbackReadbackResponse.d.ts +1 -1
  48. package/dist/cjs/api/types/MeResponse.d.ts +8 -8
  49. package/dist/cjs/api/types/Mention.d.ts +1 -1
  50. package/dist/cjs/api/types/MentionListResponse.d.ts +1 -1
  51. package/dist/cjs/api/types/MissedAlertChange.d.ts +1 -1
  52. package/dist/cjs/api/types/Monitor.d.ts +1 -1
  53. package/dist/cjs/api/types/NamedEntityRef.d.ts +1 -1
  54. package/dist/cjs/api/types/{TranscriptPurchaseQuote.d.ts → PremiumQuote.d.ts} +9 -7
  55. package/dist/cjs/api/types/{TranscriptPurchaseQuote.js → PremiumQuote.js} +6 -6
  56. package/dist/cjs/api/types/Recommendation.d.ts +3 -3
  57. package/dist/cjs/api/types/RecommendationListResponse.d.ts +1 -1
  58. package/dist/cjs/api/types/RefusedQuote.d.ts +3 -3
  59. package/dist/cjs/api/types/ResolveCandidate.d.ts +6 -6
  60. package/dist/cjs/api/types/ResolveCandidate.js +1 -1
  61. package/dist/cjs/api/types/ResolveSuggestion.d.ts +8 -8
  62. package/dist/cjs/api/types/ResolveSuggestion.js +2 -2
  63. package/dist/cjs/api/types/SignupVerifiedResponse.d.ts +1 -1
  64. package/dist/cjs/api/types/TranscriptFailed.d.ts +5 -5
  65. package/dist/cjs/api/types/TranscriptFailed.js +1 -1
  66. package/dist/cjs/api/types/TranscriptJob.d.ts +10 -10
  67. package/dist/cjs/api/types/TranscriptJob.js +3 -3
  68. package/dist/cjs/api/types/TranscriptQuote.d.ts +1 -1
  69. package/dist/cjs/api/types/TranscriptRequestListResponse.d.ts +3 -0
  70. package/dist/cjs/api/types/TranscriptResponse.d.ts +7 -3
  71. package/dist/cjs/api/types/TranscriptSearchResponse.d.ts +4 -0
  72. package/dist/cjs/api/types/TranscriptVideo.d.ts +1 -1
  73. package/dist/cjs/api/types/WrongClassificationChange.d.ts +1 -1
  74. package/dist/cjs/api/types/WrongEntityChange.d.ts +2 -2
  75. package/dist/cjs/api/types/index.d.ts +1 -1
  76. package/dist/cjs/api/types/index.js +1 -1
  77. package/dist/cjs/version.d.ts +1 -1
  78. package/dist/cjs/version.js +1 -1
  79. package/dist/cli/main.js +21 -11
  80. package/dist/cli/operations.js +6 -6
  81. package/dist/esm/BaseClient.mjs +2 -2
  82. package/dist/esm/api/resources/channels/client/Client.d.mts +1 -1
  83. package/dist/esm/api/resources/channels/client/Client.mjs +1 -1
  84. package/dist/esm/api/resources/channels/resources/videos/client/Client.d.mts +1 -1
  85. package/dist/esm/api/resources/channels/resources/videos/client/Client.mjs +1 -1
  86. package/dist/esm/api/resources/entities/client/Client.d.mts +2 -2
  87. package/dist/esm/api/resources/entities/client/Client.mjs +2 -2
  88. package/dist/esm/api/resources/feedback/client/Client.d.mts +2 -2
  89. package/dist/esm/api/resources/feedback/client/Client.mjs +2 -2
  90. package/dist/esm/api/resources/feedback/client/requests/SubmitFeedbackRequest.d.mts +10 -10
  91. package/dist/esm/api/resources/feedback/client/requests/SubmitFeedbackRequest.mjs +4 -4
  92. package/dist/esm/api/resources/me/client/Client.d.mts +1 -1
  93. package/dist/esm/api/resources/me/client/Client.mjs +1 -1
  94. package/dist/esm/api/resources/me/client/requests/UpdateSettingsMeRequest.d.mts +2 -2
  95. package/dist/esm/api/resources/me/client/requests/UpdateSettingsMeRequest.mjs +1 -1
  96. package/dist/esm/api/resources/mentions/client/Client.d.mts +2 -2
  97. package/dist/esm/api/resources/mentions/client/Client.mjs +2 -2
  98. package/dist/esm/api/resources/mentions/client/requests/ListMentionsRequest.d.mts +1 -1
  99. package/dist/esm/api/resources/monitors/client/Client.d.mts +1 -1
  100. package/dist/esm/api/resources/monitors/client/Client.mjs +1 -1
  101. package/dist/esm/api/resources/monitors/client/requests/CreateMonitorsRequest.d.mts +2 -2
  102. package/dist/esm/api/resources/monitors/client/requests/CreateMonitorsRequest.mjs +1 -1
  103. package/dist/esm/api/resources/monitors/client/requests/UpdateMonitorsRequest.d.mts +2 -2
  104. package/dist/esm/api/resources/monitors/client/requests/UpdateMonitorsRequest.mjs +1 -1
  105. package/dist/esm/api/resources/recommendations/client/Client.d.mts +1 -1
  106. package/dist/esm/api/resources/recommendations/client/Client.mjs +1 -1
  107. package/dist/esm/api/resources/transcripts/client/Client.d.mts +5 -5
  108. package/dist/esm/api/resources/transcripts/client/Client.mjs +4 -4
  109. package/dist/esm/api/resources/transcripts/client/requests/GetTranscriptsRequest.d.mts +3 -3
  110. package/dist/esm/api/resources/transcripts/types/GetTranscriptsRequestQuality.d.mts +1 -1
  111. package/dist/esm/api/resources/transcripts/types/GetTranscriptsRequestQuality.mjs +1 -1
  112. package/dist/esm/api/types/Alert.d.mts +10 -7
  113. package/dist/esm/api/types/Alert.mjs +1 -1
  114. package/dist/esm/api/types/BadRankingChange.d.mts +3 -3
  115. package/dist/esm/api/types/ChannelSponsor.d.mts +1 -1
  116. package/dist/esm/api/types/ChannelSponsorsResponse.d.mts +4 -0
  117. package/dist/esm/api/types/DeliveryIssueChange.d.mts +1 -1
  118. package/dist/esm/api/types/Entity.d.mts +2 -2
  119. package/dist/esm/api/types/EntityDetailRecommendationsSummary.d.mts +2 -2
  120. package/dist/esm/api/types/EntityMomentumResponse.d.mts +4 -0
  121. package/dist/esm/api/types/EntityRef.d.mts +1 -1
  122. package/dist/esm/api/types/EntityResolveResponse.d.mts +5 -5
  123. package/dist/esm/api/types/EntityResolveResponse.mjs +1 -1
  124. package/dist/esm/api/types/Error_.d.mts +4 -0
  125. package/dist/esm/api/types/FeedbackReadbackCorrection.d.mts +1 -1
  126. package/dist/esm/api/types/FeedbackReadbackResponse.d.mts +1 -1
  127. package/dist/esm/api/types/MeResponse.d.mts +8 -8
  128. package/dist/esm/api/types/Mention.d.mts +1 -1
  129. package/dist/esm/api/types/MentionListResponse.d.mts +1 -1
  130. package/dist/esm/api/types/MissedAlertChange.d.mts +1 -1
  131. package/dist/esm/api/types/Monitor.d.mts +1 -1
  132. package/dist/esm/api/types/NamedEntityRef.d.mts +1 -1
  133. package/dist/esm/api/types/{TranscriptPurchaseQuote.d.mts → PremiumQuote.d.mts} +9 -7
  134. package/dist/esm/api/types/{TranscriptPurchaseQuote.mjs → PremiumQuote.mjs} +5 -5
  135. package/dist/esm/api/types/Recommendation.d.mts +3 -3
  136. package/dist/esm/api/types/RecommendationListResponse.d.mts +1 -1
  137. package/dist/esm/api/types/RefusedQuote.d.mts +3 -3
  138. package/dist/esm/api/types/ResolveCandidate.d.mts +6 -6
  139. package/dist/esm/api/types/ResolveCandidate.mjs +1 -1
  140. package/dist/esm/api/types/ResolveSuggestion.d.mts +8 -8
  141. package/dist/esm/api/types/ResolveSuggestion.mjs +2 -2
  142. package/dist/esm/api/types/SignupVerifiedResponse.d.mts +1 -1
  143. package/dist/esm/api/types/TranscriptFailed.d.mts +5 -5
  144. package/dist/esm/api/types/TranscriptFailed.mjs +1 -1
  145. package/dist/esm/api/types/TranscriptJob.d.mts +10 -10
  146. package/dist/esm/api/types/TranscriptJob.mjs +3 -3
  147. package/dist/esm/api/types/TranscriptQuote.d.mts +1 -1
  148. package/dist/esm/api/types/TranscriptRequestListResponse.d.mts +3 -0
  149. package/dist/esm/api/types/TranscriptResponse.d.mts +7 -3
  150. package/dist/esm/api/types/TranscriptSearchResponse.d.mts +4 -0
  151. package/dist/esm/api/types/TranscriptVideo.d.mts +1 -1
  152. package/dist/esm/api/types/WrongClassificationChange.d.mts +1 -1
  153. package/dist/esm/api/types/WrongEntityChange.d.mts +2 -2
  154. package/dist/esm/api/types/index.d.mts +1 -1
  155. package/dist/esm/api/types/index.mjs +1 -1
  156. package/dist/esm/version.d.mts +1 -1
  157. package/dist/esm/version.mjs +1 -1
  158. package/llms.txt +1 -1
  159. package/package.json +7 -3
  160. package/reference.md +16 -16
  161. package/skills/arcmira/SKILL.md +4 -4
  162. package/skills/company-watch/SKILL.md +23 -16
  163. package/skills/compare-shows/SKILL.md +2 -2
  164. package/skills/find-quotes/SKILL.md +7 -7
  165. package/skills/person-research/SKILL.md +5 -5
  166. package/skills/sponsor-research/SKILL.md +5 -4
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.UpdateMonitorsRequest = void 0;
5
5
  var UpdateMonitorsRequest;
6
6
  (function (UpdateMonitorsRequest) {
7
- /** Delivery cadence. Default realtime. Values: realtime (as analysis completes), hourly (hourly digest), daily (daily digest). Free-tier email delivery is coerced to daily regardless of the value sent. */
7
+ /** Delivery cadence. Default realtime. Values: realtime (as analysis completes), hourly (hourly digest), daily (daily digest). */
8
8
  UpdateMonitorsRequest.NotifyFrequency = {
9
9
  Realtime: "realtime",
10
10
  Hourly: "hourly",
@@ -11,7 +11,7 @@ export declare class RecommendationsClient {
11
11
  protected readonly _options: NormalizedClientOptionsWithAuth<RecommendationsClient.Options>;
12
12
  constructor(options?: RecommendationsClient.Options);
13
13
  /**
14
- * Cursor-paginated commercial mentions (sponsored, organic and neutral mentions) filtered by entity (entity_id is required; resolve a name first with GET /v1/entities/resolve, or the call answers 400 id_required naming the parameter), channel (channel_id), class, confidence, and publication window [after, before). The signed continuation binds the route, filters, caller and visibility; invalid or old cursors return invalid_cursor. A first-page ID fence excludes later insertions, including old-date backfills. Edits and deletions to existing rows remain live. Requires a Pro+ plan. Positions are start_seconds and end_seconds (integer seconds).
14
+ * Cursor-paginated commercial mentions (sponsored, organic and neutral mentions) filtered by entity (entity_id is required; resolve a name first with GET /v1/entities/resolve, or the call answers 400 id_required naming the parameter), channel (channel_id), class, confidence, and publication window [after, before). The signed continuation binds the route, filters, caller and visibility; invalid or old cursors return invalid_cursor. A first-page ID fence excludes later insertions, including old-date backfills. Edits and deletions to existing recommendations remain live. Requires a Pro+ plan. Positions are start_seconds and end_seconds (integer seconds).
15
15
  *
16
16
  * @param {Arcmira.ListRecommendationsRequest} request
17
17
  * @param {RecommendationsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -56,7 +56,7 @@ class RecommendationsClient {
56
56
  this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
57
57
  }
58
58
  /**
59
- * Cursor-paginated commercial mentions (sponsored, organic and neutral mentions) filtered by entity (entity_id is required; resolve a name first with GET /v1/entities/resolve, or the call answers 400 id_required naming the parameter), channel (channel_id), class, confidence, and publication window [after, before). The signed continuation binds the route, filters, caller and visibility; invalid or old cursors return invalid_cursor. A first-page ID fence excludes later insertions, including old-date backfills. Edits and deletions to existing rows remain live. Requires a Pro+ plan. Positions are start_seconds and end_seconds (integer seconds).
59
+ * Cursor-paginated commercial mentions (sponsored, organic and neutral mentions) filtered by entity (entity_id is required; resolve a name first with GET /v1/entities/resolve, or the call answers 400 id_required naming the parameter), channel (channel_id), class, confidence, and publication window [after, before). The signed continuation binds the route, filters, caller and visibility; invalid or old cursors return invalid_cursor. A first-page ID fence excludes later insertions, including old-date backfills. Edits and deletions to existing recommendations remain live. Requires a Pro+ plan. Positions are start_seconds and end_seconds (integer seconds).
60
60
  *
61
61
  * @param {Arcmira.ListRecommendationsRequest} request
62
62
  * @param {RecommendationsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -11,7 +11,7 @@ export declare class TranscriptsClient {
11
11
  protected readonly _options: NormalizedClientOptionsWithAuth<TranscriptsClient.Options>;
12
12
  constructor(options?: TranscriptsClient.Options);
13
13
  /**
14
- * Search indexed YouTube and podcast transcripts for short spoken slices. Each result includes spoken text, a watch URL, and a publish date. Scope with channel_ids (or channel) and entity_ids (a person id filters to that person's appearances); narrow to passages about entities with about, to a speaker with by, and to sponsored, organic or mention passages with kind. Every filter takes ids, never names: resolve a name first with GET /v1/entities/resolve, or the call answers 400 id_required naming the parameter. Results carry names beside ids (filters.about, filters.by, chunk about and speakers_by). Use one topic per call. Search results include text on every plan within the plan's publication-date window. Explicitly requesting source=arcmira_premium on a plan without Premium transcripts is refused with filter_requires_paid. An after later than the plan's freshness gate is refused with freshness_requires_paid rather than widened. Bills one row per chunk returned. Every gate is a typed error whose error.unlock.url names the plan that lifts it; pass src=mcp-tool only from the Arcmira MCP server.
14
+ * Search indexed YouTube and podcast transcripts for short spoken slices. Each result includes spoken text, a watch URL, and a publish date. Scope with channel_ids (or channel) and entity_ids (a person id filters to that person's appearances); narrow to passages about entities with about, to a speaker with by, and to sponsored, organic or mention passages with kind. Every filter takes ids, never names: resolve a name first with GET /v1/entities/resolve, or the call answers 400 id_required naming the parameter. Results carry names beside ids (filters.about, filters.by, chunk about and speakers_by). Use one topic per call. Search results include text on every plan within the plan's publication-date window. Explicitly requesting source=arcmira_premium on a plan without Premium transcripts is refused with filter_requires_paid. An after later than the plan's freshness gate is refused with freshness_requires_paid rather than widened. Uses 4 credits per chunk returned past the first 5. Every gate is a typed error whose error.unlock.url names the plan that lifts it; pass src=mcp-tool only from the Arcmira MCP server.
15
15
  *
16
16
  * @param {Arcmira.SearchTranscriptsRequest} request
17
17
  * @param {TranscriptsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -35,7 +35,7 @@ export declare class TranscriptsClient {
35
35
  search(request: Arcmira.SearchTranscriptsRequest, requestOptions?: TranscriptsClient.RequestOptions): core.HttpResponsePromise<Arcmira.TranscriptSearchResponse>;
36
36
  private __search;
37
37
  /**
38
- * Caption retrieval costs one row per started 15 minutes. quality=premium is one read: an owned transcript answers 200 ready at zero rows; otherwise this call buys the whole video within the account's plan and on-demand budget, included credits first and then on-demand money up to the account limit, and answers 202 pending with the job and Retry-After until the transcript is ready. Read again after Retry-After; repeated reads join the same purchase and never buy twice. When the last purchase for the video failed, the read answers 200 state failed with the job and last_attempt and buys nothing; retry=true buys it again. When the plan or the budget blocks, 403 paid_plan_required (with unlock) or 402 quota_exceeded or spend_limit_exceeded carries the price in quote and nothing is charged. A default-premium account with nothing owned reads captions with a note. start/end only trim the returned content; language selects caption tracks, timestamps=false returns paragraphs. Premium lines carry speaker and index, and the body carries speakers and revision.
38
+ * Caption reads use 4 credits per started 15 minutes. quality=premium is one read. An owned transcript answers 200 ready at no charge. Otherwise this call starts a Premium transcript of the whole video, 300 credits per started 15 minutes, using credits from the account's plan first and then the account's on-demand budget up to its limit, and answers 202 pending with the job and Retry-After until the transcript is ready. Read again after Retry-After; repeated reads join the same job and never charge twice. When the last Premium transcript for the video failed, the read answers 200 state failed with the job and last_attempt and charges nothing; retry=true starts a new one. When the plan or the budget blocks, 403 paid_plan_required (with unlock) or 402 quota_exceeded or spend_limit_exceeded carries the price in quote and nothing is charged. A default-premium account with nothing owned reads captions with a note. start/end only trim the returned content; language selects caption tracks, timestamps=false returns paragraphs. Premium lines carry speaker and index, and the body carries speakers and revision.
39
39
  *
40
40
  * @param {Arcmira.GetTranscriptsRequest} request
41
41
  * @param {TranscriptsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -59,7 +59,7 @@ export declare class TranscriptsClient {
59
59
  get(request: Arcmira.GetTranscriptsRequest, requestOptions?: TranscriptsClient.RequestOptions): core.HttpResponsePromise<Arcmira.TranscriptResult>;
60
60
  private __get;
61
61
  /**
62
- * Optional free quote: the price a Premium read of this video would charge right now, as rows and credits, where the credits would come from, and max_on_demand_cents, the on-demand money the read would need beyond included credits within the account limit. It does not reserve funds or start generation. A video with no known duration, or one past the 12 hour cap, answers 400 invalid_query with param video_id.
62
+ * Optional free quote: what a Premium read of this video would use right now, as rows and credits (a row is 4 credits), where the credits would come from, and max_on_demand_cents, the on-demand budget the read would need beyond the plan's credits within the account limit. It does not reserve credits or budget and does not start a transcript. A video with no known duration, or one past the 12 hour cap, answers 400 invalid_query with param video_id.
63
63
  *
64
64
  * @param {Arcmira.QuoteTranscriptsRequest} request
65
65
  * @param {TranscriptsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -78,10 +78,10 @@ export declare class TranscriptsClient {
78
78
  * video_id: "video_id"
79
79
  * })
80
80
  */
81
- quote(request: Arcmira.QuoteTranscriptsRequest, requestOptions?: TranscriptsClient.RequestOptions): core.HttpResponsePromise<Arcmira.TranscriptPurchaseQuote>;
81
+ quote(request: Arcmira.QuoteTranscriptsRequest, requestOptions?: TranscriptsClient.RequestOptions): core.HttpResponsePromise<Arcmira.PremiumQuote>;
82
82
  private __quote;
83
83
  /**
84
- * Your transcription requests in descending creation time and id order. limit defaults to 20 and accepts 1–100. Follow next_cursor with the same video_id, limit and credential; has_more is false and next_cursor is null on the last page. A traversal excludes requests inserted after its first page. Each entry has the same shape as the status poll plus a `title` field (the video title, null when unknown). The scheduled reconciler advances requests; reading this list never dispatches work or changes billing. In-flight entries carry `eta_seconds` and `next_poll_seconds`.
84
+ * Your transcription requests in descending creation time and id order. limit defaults to 20 and accepts 1–100. Follow next_cursor with the same video_id, limit and credential; has_more is false and next_cursor is null on the last page. A traversal excludes requests inserted after its first page. Each entry is a Premium transcript job with its processing and billing state, a `status_url` for the Premium transcript GET, and a `title` field (the video title, null when unknown). The scheduled reconciler advances requests; reading this list never dispatches work or changes billing. In-flight entries carry `eta_seconds` and `next_poll_seconds`.
85
85
  *
86
86
  * @param {Arcmira.ListRequestsTranscriptsRequest} request
87
87
  * @param {TranscriptsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -56,7 +56,7 @@ class TranscriptsClient {
56
56
  this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
57
57
  }
58
58
  /**
59
- * Search indexed YouTube and podcast transcripts for short spoken slices. Each result includes spoken text, a watch URL, and a publish date. Scope with channel_ids (or channel) and entity_ids (a person id filters to that person's appearances); narrow to passages about entities with about, to a speaker with by, and to sponsored, organic or mention passages with kind. Every filter takes ids, never names: resolve a name first with GET /v1/entities/resolve, or the call answers 400 id_required naming the parameter. Results carry names beside ids (filters.about, filters.by, chunk about and speakers_by). Use one topic per call. Search results include text on every plan within the plan's publication-date window. Explicitly requesting source=arcmira_premium on a plan without Premium transcripts is refused with filter_requires_paid. An after later than the plan's freshness gate is refused with freshness_requires_paid rather than widened. Bills one row per chunk returned. Every gate is a typed error whose error.unlock.url names the plan that lifts it; pass src=mcp-tool only from the Arcmira MCP server.
59
+ * Search indexed YouTube and podcast transcripts for short spoken slices. Each result includes spoken text, a watch URL, and a publish date. Scope with channel_ids (or channel) and entity_ids (a person id filters to that person's appearances); narrow to passages about entities with about, to a speaker with by, and to sponsored, organic or mention passages with kind. Every filter takes ids, never names: resolve a name first with GET /v1/entities/resolve, or the call answers 400 id_required naming the parameter. Results carry names beside ids (filters.about, filters.by, chunk about and speakers_by). Use one topic per call. Search results include text on every plan within the plan's publication-date window. Explicitly requesting source=arcmira_premium on a plan without Premium transcripts is refused with filter_requires_paid. An after later than the plan's freshness gate is refused with freshness_requires_paid rather than widened. Uses 4 credits per chunk returned past the first 5. Every gate is a typed error whose error.unlock.url names the plan that lifts it; pass src=mcp-tool only from the Arcmira MCP server.
60
60
  *
61
61
  * @param {Arcmira.SearchTranscriptsRequest} request
62
62
  * @param {TranscriptsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -147,7 +147,7 @@ class TranscriptsClient {
147
147
  });
148
148
  }
149
149
  /**
150
- * Caption retrieval costs one row per started 15 minutes. quality=premium is one read: an owned transcript answers 200 ready at zero rows; otherwise this call buys the whole video within the account's plan and on-demand budget, included credits first and then on-demand money up to the account limit, and answers 202 pending with the job and Retry-After until the transcript is ready. Read again after Retry-After; repeated reads join the same purchase and never buy twice. When the last purchase for the video failed, the read answers 200 state failed with the job and last_attempt and buys nothing; retry=true buys it again. When the plan or the budget blocks, 403 paid_plan_required (with unlock) or 402 quota_exceeded or spend_limit_exceeded carries the price in quote and nothing is charged. A default-premium account with nothing owned reads captions with a note. start/end only trim the returned content; language selects caption tracks, timestamps=false returns paragraphs. Premium lines carry speaker and index, and the body carries speakers and revision.
150
+ * Caption reads use 4 credits per started 15 minutes. quality=premium is one read. An owned transcript answers 200 ready at no charge. Otherwise this call starts a Premium transcript of the whole video, 300 credits per started 15 minutes, using credits from the account's plan first and then the account's on-demand budget up to its limit, and answers 202 pending with the job and Retry-After until the transcript is ready. Read again after Retry-After; repeated reads join the same job and never charge twice. When the last Premium transcript for the video failed, the read answers 200 state failed with the job and last_attempt and charges nothing; retry=true starts a new one. When the plan or the budget blocks, 403 paid_plan_required (with unlock) or 402 quota_exceeded or spend_limit_exceeded carries the price in quote and nothing is charged. A default-premium account with nothing owned reads captions with a note. start/end only trim the returned content; language selects caption tracks, timestamps=false returns paragraphs. Premium lines carry speaker and index, and the body carries speakers and revision.
151
151
  *
152
152
  * @param {Arcmira.GetTranscriptsRequest} request
153
153
  * @param {TranscriptsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -234,7 +234,7 @@ class TranscriptsClient {
234
234
  });
235
235
  }
236
236
  /**
237
- * Optional free quote: the price a Premium read of this video would charge right now, as rows and credits, where the credits would come from, and max_on_demand_cents, the on-demand money the read would need beyond included credits within the account limit. It does not reserve funds or start generation. A video with no known duration, or one past the 12 hour cap, answers 400 invalid_query with param video_id.
237
+ * Optional free quote: what a Premium read of this video would use right now, as rows and credits (a row is 4 credits), where the credits would come from, and max_on_demand_cents, the on-demand budget the read would need beyond the plan's credits within the account limit. It does not reserve credits or budget and does not start a transcript. A video with no known duration, or one past the 12 hour cap, answers 400 invalid_query with param video_id.
238
238
  *
239
239
  * @param {Arcmira.QuoteTranscriptsRequest} request
240
240
  * @param {TranscriptsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -302,7 +302,7 @@ class TranscriptsClient {
302
302
  });
303
303
  }
304
304
  /**
305
- * Your transcription requests in descending creation time and id order. limit defaults to 20 and accepts 1–100. Follow next_cursor with the same video_id, limit and credential; has_more is false and next_cursor is null on the last page. A traversal excludes requests inserted after its first page. Each entry has the same shape as the status poll plus a `title` field (the video title, null when unknown). The scheduled reconciler advances requests; reading this list never dispatches work or changes billing. In-flight entries carry `eta_seconds` and `next_poll_seconds`.
305
+ * Your transcription requests in descending creation time and id order. limit defaults to 20 and accepts 1–100. Follow next_cursor with the same video_id, limit and credential; has_more is false and next_cursor is null on the last page. A traversal excludes requests inserted after its first page. Each entry is a Premium transcript job with its processing and billing state, a `status_url` for the Premium transcript GET, and a `title` field (the video title, null when unknown). The scheduled reconciler advances requests; reading this list never dispatches work or changes billing. In-flight entries carry `eta_seconds` and `next_poll_seconds`.
306
306
  *
307
307
  * @param {Arcmira.ListRequestsTranscriptsRequest} request
308
308
  * @param {TranscriptsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -8,17 +8,17 @@ import type * as Arcmira from "../../../../index.js";
8
8
  export interface GetTranscriptsRequest {
9
9
  /** YouTube video id, 11 characters. */
10
10
  video_id: string;
11
- /** captions reads creator or automatic captions at 1 row per started 15 minutes. premium is one read: an owned transcript returns 200 state ready at zero rows; otherwise the read buys the whole video within the account's plan and on-demand budget (included credits first, then on-demand money up to the account limit) and returns 202 state pending with the job until it is ready. When the last purchase for the video failed it answers 200 state failed and buys again only with retry=true. 402 quota_exceeded or spend_limit_exceeded and 403 paid_plan_required carry the price in quote. It never substitutes captions. Default captions unless changed in account settings. */
11
+ /** captions reads creator or automatic captions at 4 credits per started 15 minutes. premium is one read. An owned transcript returns 200 state ready at no charge. Otherwise the read starts a Premium transcript of the whole video, 300 credits per started 15 minutes, using credits from the account's plan first and then the account's on-demand budget up to its limit, and returns 202 state pending with the job until it is ready. When the last Premium transcript for the video failed it answers 200 state failed and starts a new one only with retry=true. 402 quota_exceeded or spend_limit_exceeded and 403 paid_plan_required carry the price in quote. It never substitutes captions. Default captions unless changed in account settings. */
12
12
  quality?: Arcmira.GetTranscriptsRequestQuality;
13
13
  /** Comma-separated caption language priority list, at most 5, tried in order (e.g. "de,en"). Use asr for the first automatic track and asr-<code> for a specific one. Default en. languages[] in the response lists every track the video offers. */
14
14
  language?: string;
15
15
  /** false returns paragraphs[] of { start, text, speaker? } instead of lines[], for reading rather than citing. Default true. */
16
16
  timestamps?: boolean;
17
- /** Window start in seconds from the beginning of the video. Send start and end together. On captions the window bills only its own started 15-minute blocks; on Premium it trims an already purchased transcript; this GET does not charge. */
17
+ /** Window start in seconds from the beginning of the video. Send start and end together. On captions the window bills only its own started 15-minute blocks; on Premium it trims the returned content. An explicit Premium read is charged for the whole video from the account's plan credits and then its on-demand budget; a window does not reduce that charge. */
18
18
  start?: number | null;
19
19
  /** Window end in seconds, greater than start and no greater than the video duration. Send start and end together. */
20
20
  end?: number | null;
21
- /** Premium only; captions with retry=true returns invalid_query. When the last Premium purchase for this video failed, a read answers 200 state failed with the job and last_attempt and buys nothing; retry=true buys it again under the same quote, budget and one-purchase rules as the first read. While that refund is still settling (job.status refund_pending) even retry=true answers state failed. Without a failed purchase it changes nothing. */
21
+ /** Premium only; captions with retry=true returns invalid_query. When the last Premium transcript for this video failed, a read answers 200 state failed with the job and last_attempt and charges nothing; retry=true starts a new one under the same quote, budget and one-job-per-video rules as the first read. While that refund is still settling (job.status refund_pending) even retry=true answers state failed. Without a failed job it changes nothing. */
22
22
  retry?: boolean;
23
23
  /** Captions only; Premium with refresh=true returns invalid_query. Refetch the caption track from YouTube instead of serving the stored copy. Available only for videos outside our index; a pipeline-owned video refuses it with invalid_query. */
24
24
  refresh?: boolean;
@@ -1,4 +1,4 @@
1
- /** captions reads creator or automatic captions at 1 row per started 15 minutes. premium is one read: an owned transcript returns 200 state ready at zero rows; otherwise the read buys the whole video within the account's plan and on-demand budget (included credits first, then on-demand money up to the account limit) and returns 202 state pending with the job until it is ready. When the last purchase for the video failed it answers 200 state failed and buys again only with retry=true. 402 quota_exceeded or spend_limit_exceeded and 403 paid_plan_required carry the price in quote. It never substitutes captions. Default captions unless changed in account settings. */
1
+ /** captions reads creator or automatic captions at 4 credits per started 15 minutes. premium is one read. An owned transcript returns 200 state ready at no charge. Otherwise the read starts a Premium transcript of the whole video, 300 credits per started 15 minutes, using credits from the account's plan first and then the account's on-demand budget up to its limit, and returns 202 state pending with the job until it is ready. When the last Premium transcript for the video failed it answers 200 state failed and starts a new one only with retry=true. 402 quota_exceeded or spend_limit_exceeded and 403 paid_plan_required carry the price in quote. It never substitutes captions. Default captions unless changed in account settings. */
2
2
  export declare const GetTranscriptsRequestQuality: {
3
3
  readonly Captions: "captions";
4
4
  readonly Premium: "premium";
@@ -2,7 +2,7 @@
2
2
  // This file was auto-generated by Fern from our API Definition.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.GetTranscriptsRequestQuality = void 0;
5
- /** captions reads creator or automatic captions at 1 row per started 15 minutes. premium is one read: an owned transcript returns 200 state ready at zero rows; otherwise the read buys the whole video within the account's plan and on-demand budget (included credits first, then on-demand money up to the account limit) and returns 202 state pending with the job until it is ready. When the last purchase for the video failed it answers 200 state failed and buys again only with retry=true. 402 quota_exceeded or spend_limit_exceeded and 403 paid_plan_required carry the price in quote. It never substitutes captions. Default captions unless changed in account settings. */
5
+ /** captions reads creator or automatic captions at 4 credits per started 15 minutes. premium is one read. An owned transcript returns 200 state ready at no charge. Otherwise the read starts a Premium transcript of the whole video, 300 credits per started 15 minutes, using credits from the account's plan first and then the account's on-demand budget up to its limit, and returns 202 state pending with the job until it is ready. When the last Premium transcript for the video failed it answers 200 state failed and starts a new one only with retry=true. 402 quota_exceeded or spend_limit_exceeded and 403 paid_plan_required carry the price in quote. It never substitutes captions. Default captions unless changed in account settings. */
6
6
  exports.GetTranscriptsRequestQuality = {
7
7
  Captions: "captions",
8
8
  Premium: "premium",
@@ -1,3 +1,6 @@
1
+ /**
2
+ * One delivery of an alert. Each alert uses 25 credits once, however many channels and recipients deliver it.
3
+ */
1
4
  export interface Alert {
2
5
  /** Alert delivery id. */
3
6
  id: string;
@@ -5,15 +8,15 @@ export interface Alert {
5
8
  tracker_id: string | null;
6
9
  /** Id of the monitor the tracker belongs to. Null for trackers outside a monitor. */
7
10
  monitor_id: string | null;
8
- /** Public id ("ent_{n}") of the entity that triggered the alert, when recorded. Null on older rows that were written before entity_id was stored on alert_delivery. Resolve the entity through mention_id or the embedded tracker when this is null. */
11
+ /** Public id ("ent_{n}") of the entity that triggered the alert, when recorded. Null on older alerts recorded before entity_id was stored. Resolve the entity through mention_id or the embedded tracker when this is null. */
9
12
  entity_id: string | null;
10
- /** Public id ("men_{n}") of the mention/appearance row that triggered the alert. Joins directly against mention rows (e.g. /v1/mentions). Null when not appearance-scoped. */
13
+ /** Public id ("men_{n}") of the mention or appearance that triggered the alert. Matches the id on /v1/mentions results. Null when not appearance-scoped. */
11
14
  mention_id: string | null;
12
15
  /** YouTube video id (11 characters) of the video that triggered the alert. Null when not media-scoped. */
13
16
  video_id: string | null;
14
17
  /** Id of the active mention excerpt used as mention evidence. Null when the alert was sent before evidence was recorded. */
15
18
  excerpt_id: string | null;
16
- /** Which evidence layer was sent. Null on older rows. */
19
+ /** Which evidence layer was sent. Null on older alerts. */
17
20
  evidence_kind: Alert.EvidenceKind | null;
18
21
  /** Delivery channel. Values: email (sent by email), webhook (POSTed to the configured webhook URL), slack (sent to Slack). */
19
22
  channel: string;
@@ -27,21 +30,21 @@ export interface Alert {
27
30
  scheduled_at: string | null;
28
31
  /** When the alert was actually sent. Null until delivery succeeds. */
29
32
  sent_at: string | null;
30
- /** When the alert row was created. */
33
+ /** When the alert was created. */
31
34
  created_at: string;
32
- /** The tracker the alert belongs to. Fields are null when the tracker row was deleted. */
35
+ /** The tracker the alert belongs to. Fields are null when the tracker was deleted. */
33
36
  tracker: Alert.Tracker;
34
37
  /** The monitor the tracker belongs to. Null for trackers outside a monitor. */
35
38
  monitor: Alert.Monitor | null;
36
39
  }
37
40
  export declare namespace Alert {
38
- /** Which evidence layer was sent. Null on older rows. */
41
+ /** Which evidence layer was sent. Null on older alerts. */
39
42
  const EvidenceKind: {
40
43
  readonly Excerpt: "excerpt";
41
44
  };
42
45
  type EvidenceKind = (typeof EvidenceKind)[keyof typeof EvidenceKind];
43
46
  /**
44
- * The tracker the alert belongs to. Fields are null when the tracker row was deleted.
47
+ * The tracker the alert belongs to. Fields are null when the tracker was deleted.
45
48
  */
46
49
  interface Tracker {
47
50
  /** Tracker id. */
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.Alert = void 0;
5
5
  var Alert;
6
6
  (function (Alert) {
7
- /** Which evidence layer was sent. Null on older rows. */
7
+ /** Which evidence layer was sent. Null on older alerts. */
8
8
  Alert.EvidenceKind = {
9
9
  Excerpt: "excerpt",
10
10
  };
@@ -1,10 +1,10 @@
1
1
  /**
2
- * For issue_type bad_ranking: the expected and observed positions of the row.
2
+ * For issue_type bad_ranking: the expected and observed positions of the result.
3
3
  */
4
4
  export interface BadRankingChange {
5
- /** Where the row should have ranked (1-based). */
5
+ /** Where the result should have ranked (1-based). */
6
6
  expected_rank?: number | undefined;
7
- /** Where the row actually ranked (1-based). Most useful on search feedback. */
7
+ /** Where the result actually ranked (1-based). Most useful on search feedback. */
8
8
  observed_rank?: number | undefined;
9
9
  /** Accepts any additional properties */
10
10
  [key: string]: any;
@@ -1,7 +1,7 @@
1
1
  import type * as Arcmira from "../index.js";
2
2
  export interface ChannelSponsor {
3
3
  entity: Arcmira.EntityRef;
4
- /** Number of ad_read recommendation rows for this sponsor on the channel. */
4
+ /** Number of ad_read recommendations for this sponsor on the channel. */
5
5
  ad_reads: number;
6
6
  /** Number of distinct videos containing those ad reads. */
7
7
  videos: number;
@@ -116,6 +116,10 @@ export declare namespace ChannelSponsorsResponse {
116
116
  quote?: Arcmira.RefusedQuote | undefined;
117
117
  /** On tracker_already_exists, the existing tracker id. Reuse it instead of creating another tracker. */
118
118
  existing_id?: string | undefined;
119
+ /** On tracker_limit, the trackers the plan holds. */
120
+ limit?: number | undefined;
121
+ /** On tracker_limit, the trackers the account holds now. */
122
+ count?: number | undefined;
119
123
  }
120
124
  }
121
125
  }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * For issue_type delivery_issue: targets the delivery row (the correction id) and names the channel that was wrong or never received.
2
+ * For issue_type delivery_issue: targets the alert delivery (the correction id) and names the channel that was wrong or never received.
3
3
  */
4
4
  export interface DeliveryIssueChange {
5
5
  /** The delivery channel the issue concerns. Values: email, webhook, slack. */
@@ -5,7 +5,7 @@ export interface Entity {
5
5
  canonical_id: string;
6
6
  /** Canonical entity name. */
7
7
  name: string;
8
- /** Entity type. Values: person (an individual), organization (a company or institution; legacy rows may read company or brand), product (a product or service), topic (a subject or theme), channel (a media source such as a YouTube channel), unknown (type was never classified). */
8
+ /** Entity type. Values: person (an individual), organization (a company or institution; legacy entities may read company or brand), product (a product or service), topic (a subject or theme), channel (a media source such as a YouTube channel), unknown (type was never classified). */
9
9
  type: string;
10
10
  /** Source platform for channel entities, e.g. "youtube". Null unless the entity is platform-bound. */
11
11
  platform: string | null;
@@ -15,7 +15,7 @@ export interface Entity {
15
15
  image_url: string | null;
16
16
  /** Timestamp of the last image resolution attempt. Null until the image pipeline has visited this entity. */
17
17
  image_checked_at: string | null;
18
- /** Number of indexed appearance/mention rows for this entity. 0 when never counted. */
18
+ /** Number of indexed appearances and mentions of this entity. 0 when never counted. */
19
19
  appearance_count?: number | undefined;
20
20
  /** Public id ("ent_{n}") of the owning entity, e.g. the organization behind a product. Null unless an ownership link exists. */
21
21
  owner_entity_id: string | null;
@@ -2,9 +2,9 @@
2
2
  * Commercial-intelligence rollup. Only present for organization and product entities when the caller has Recommendations API access (a Pro+ plan) and a brand profile exists.
3
3
  */
4
4
  export interface EntityDetailRecommendationsSummary {
5
- /** Total ad_read rows across all channels. 0 when none. */
5
+ /** Total ad_read recommendations across all channels. 0 when none. */
6
6
  total_ad_reads: number;
7
- /** Total endorsement rows across all channels. 0 when none. */
7
+ /** Total endorsement recommendations across all channels. 0 when none. */
8
8
  total_endorsements: number;
9
9
  /** Number of distinct shows/channels with commercial mentions of this entity. */
10
10
  unique_shows: number;
@@ -145,6 +145,10 @@ export declare namespace EntityMomentumResponse {
145
145
  quote?: Arcmira.RefusedQuote | undefined;
146
146
  /** On tracker_already_exists, the existing tracker id. Reuse it instead of creating another tracker. */
147
147
  existing_id?: string | undefined;
148
+ /** On tracker_limit, the trackers the plan holds. */
149
+ limit?: number | undefined;
150
+ /** On tracker_limit, the trackers the account holds now. */
151
+ count?: number | undefined;
148
152
  }
149
153
  }
150
154
  }
@@ -3,7 +3,7 @@ export interface EntityRef {
3
3
  id: string;
4
4
  /** Canonical entity name. */
5
5
  name: string;
6
- /** Entity type. Values: person (an individual), organization (a company or institution; legacy rows may read company or brand), product (a product or service), topic (a subject or theme), channel (a media source such as a YouTube channel), unknown (type was never classified). */
6
+ /** Entity type. Values: person (an individual), organization (a company or institution; legacy entities may read company or brand), product (a product or service), topic (a subject or theme), channel (a media source such as a YouTube channel), unknown (type was never classified). */
7
7
  type: string;
8
8
  /** URL slug, the site's canonical id for every type but channel. Null when never slugged. */
9
9
  slug: string | null;
@@ -4,19 +4,19 @@ export interface EntityResolveResponse {
4
4
  query: string;
5
5
  /** The context parameter echoed back. */
6
6
  context: string | null;
7
- /** exact: one row is named q (or the handle, id or alias), and no better-known person carries the name. single_fuzzy: the only row returned, not an exact name. ambiguous: several exact rows, or an exact row next to a better-known person sharing the name (Jordan the brand vs Michael Jordan). fuzzy: only loose matches. none: no row. */
7
+ /** exact: one entity is named q (or the handle, id or alias), and no better-known person carries the name. single_fuzzy: the only entity returned, not an exact name. ambiguous: several exact matches, or an exact match next to a better-known person sharing the name (Jordan the brand vs Michael Jordan). fuzzy: only loose matches. none: no match. */
8
8
  confidence: EntityResolveResponse.Confidence;
9
9
  best: Arcmira.ResolveCandidate | null;
10
10
  suggested: Arcmira.ResolveSuggestion | null;
11
- /** Set when best and suggested are both null and several rows fit: show the options to the user, or check every option id against the data and answer per row. */
11
+ /** Set when best and suggested are both null and several entities fit: show the options to the user, or check every option id against the data and answer per entity. */
12
12
  ask: EntityResolveResponse.Ask | null;
13
- /** Rows considered: exact names first, then initials, whole-word, spelling and substring matches, each by appearance count. */
13
+ /** Entities considered: exact names first, then initials, whole-word, spelling and substring matches, each by appearance count. */
14
14
  candidates: (Arcmira.ResolveCandidate | null)[];
15
15
  /** One steering sentence for the agent reading this. */
16
16
  note: string;
17
17
  }
18
18
  export declare namespace EntityResolveResponse {
19
- /** exact: one row is named q (or the handle, id or alias), and no better-known person carries the name. single_fuzzy: the only row returned, not an exact name. ambiguous: several exact rows, or an exact row next to a better-known person sharing the name (Jordan the brand vs Michael Jordan). fuzzy: only loose matches. none: no row. */
19
+ /** exact: one entity is named q (or the handle, id or alias), and no better-known person carries the name. single_fuzzy: the only entity returned, not an exact name. ambiguous: several exact matches, or an exact match next to a better-known person sharing the name (Jordan the brand vs Michael Jordan). fuzzy: only loose matches. none: no match. */
20
20
  const Confidence: {
21
21
  readonly Exact: "exact";
22
22
  readonly SingleFuzzy: "single_fuzzy";
@@ -26,7 +26,7 @@ export declare namespace EntityResolveResponse {
26
26
  };
27
27
  type Confidence = (typeof Confidence)[keyof typeof Confidence];
28
28
  /**
29
- * Set when best and suggested are both null and several rows fit: show the options to the user, or check every option id against the data and answer per row.
29
+ * Set when best and suggested are both null and several entities fit: show the options to the user, or check every option id against the data and answer per entity.
30
30
  */
31
31
  interface Ask {
32
32
  question: string;
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.EntityResolveResponse = void 0;
5
5
  var EntityResolveResponse;
6
6
  (function (EntityResolveResponse) {
7
- /** exact: one row is named q (or the handle, id or alias), and no better-known person carries the name. single_fuzzy: the only row returned, not an exact name. ambiguous: several exact rows, or an exact row next to a better-known person sharing the name (Jordan the brand vs Michael Jordan). fuzzy: only loose matches. none: no row. */
7
+ /** exact: one entity is named q (or the handle, id or alias), and no better-known person carries the name. single_fuzzy: the only entity returned, not an exact name. ambiguous: several exact matches, or an exact match next to a better-known person sharing the name (Jordan the brand vs Michael Jordan). fuzzy: only loose matches. none: no match. */
8
8
  EntityResolveResponse.Confidence = {
9
9
  Exact: "exact",
10
10
  SingleFuzzy: "single_fuzzy",
@@ -90,6 +90,10 @@ export declare namespace Error_ {
90
90
  quote?: Arcmira.RefusedQuote | undefined;
91
91
  /** On tracker_already_exists, the existing tracker id. Reuse it instead of creating another tracker. */
92
92
  existing_id?: string | undefined;
93
+ /** On tracker_limit, the trackers the plan holds. */
94
+ limit?: number | undefined;
95
+ /** On tracker_limit, the trackers the account holds now. */
96
+ count?: number | undefined;
93
97
  }
94
98
  }
95
99
  }
@@ -15,7 +15,7 @@ export interface FeedbackReadbackCorrection {
15
15
  status: FeedbackReadbackCorrection.Status;
16
16
  /** Reviewer-written public note about how the correction was resolved. Null until a reviewer leaves one. */
17
17
  resolution_note: string | null;
18
- /** When the correction row was created. */
18
+ /** When the correction was created. */
19
19
  created_at: string | null;
20
20
  }
21
21
  export declare namespace FeedbackReadbackCorrection {
@@ -12,7 +12,7 @@ export interface FeedbackReadbackResponse {
12
12
  notes: string | null;
13
13
  /** When the submission was created. */
14
14
  created_at: string | null;
15
- /** Per-correction rows with their individual review statuses, in submission order. */
15
+ /** The corrections, each with its own review status, in submission order. */
16
16
  corrections: Arcmira.FeedbackReadbackCorrection[];
17
17
  }
18
18
  export declare namespace FeedbackReadbackResponse {
@@ -10,9 +10,9 @@ export interface MeResponse {
10
10
  credential_kind: MeResponse.CredentialKind;
11
11
  /** The account email with the local part masked after its first character, e.g. z***@example.com. Null when the account has none. */
12
12
  email_masked: string | null;
13
- /** ISO 8601 time the monthly row pool resets: 00:00 UTC on the first of next month. Null on the free plan, whose rows are a lifetime pool. */
13
+ /** ISO 8601 time the plan credits reset: 00:00 UTC on the first of next month. Null on the free plan, whose 1,000 credits a month reset on usage.credits.plan.resets_at. */
14
14
  period_resets_at: string | null;
15
- /** Plan tier, e.g. free, hobby, pro, enterprise. */
15
+ /** Plan tier, e.g. free, pro, pro_plus, ultra, enterprise. */
16
16
  tier: string;
17
17
  /** Scopes granted to this API key, e.g. read, monitors:write, trackers:write, recommendations:read. */
18
18
  scopes: string[];
@@ -32,20 +32,20 @@ export declare namespace MeResponse {
32
32
  };
33
33
  type CredentialKind = (typeof CredentialKind)[keyof typeof CredentialKind];
34
34
  interface Usage {
35
- /** Premium rows consumed this period. */
35
+ /** Plan credits used this month, in rows: usage.credits.plan.used divided by 4, rounded up. A row is 4 credits. */
36
36
  rows_used: number;
37
- /** Premium rows left this period. */
37
+ /** Credits left from the plan, grants and top-ups, on-demand excluded, in rows: divided by 4, rounded up. A row is 4 credits. */
38
38
  rows_remaining: number;
39
- /** Total premium rows included per period. */
39
+ /** The plan credits a month, in rows: usage.credits.plan.credits divided by 4 when the plan has a limit. A row is 4 credits. */
40
40
  monthly_rows: number;
41
41
  /** On-demand overage spend so far this period, in US cents. */
42
42
  current_spend_cents: number;
43
- /** The month in credits (1 credit is $0.001; a row is 4 credits). Present only when the credits ledger decides access. */
43
+ /** The month in credits, the primary measure of usage. Every read uses credits from the plan, then the on-demand budget. An included plan credit is valued at $0.001; on-demand usage costs $0.002 a credit. A row is 4 credits. Present only when the credits ledger decides access. */
44
44
  credits?: Usage.Credits | undefined;
45
45
  }
46
46
  namespace Usage {
47
47
  /**
48
- * The month in credits (1 credit is $0.001; a row is 4 credits). Present only when the credits ledger decides access.
48
+ * The month in credits, the primary measure of usage. Every read uses credits from the plan, then the on-demand budget. An included plan credit is valued at $0.001; on-demand usage costs $0.002 a credit. A row is 4 credits. Present only when the credits ledger decides access.
49
49
  */
50
50
  interface Credits {
51
51
  /** Credits spendable now: plan, granted, purchased, and on-demand up to its cap. Null when nothing limits it. */
@@ -69,7 +69,7 @@ export declare namespace MeResponse {
69
69
  interface OnDemand {
70
70
  /** True when on-demand credits are on. */
71
71
  enabled: boolean;
72
- /** The on-demand cap in credits, at $0.002 a credit. Null when uncapped or off. */
72
+ /** The on-demand budget in credits. On-demand usage costs $0.002 a credit, so this is the dollar budget divided by 0.002. Null when uncapped or off. */
73
73
  cap_credits: number | null;
74
74
  /** On-demand credits spent this month. */
75
75
  used: number;
@@ -12,7 +12,7 @@ export interface Mention {
12
12
  is_appearance: boolean;
13
13
  /** One-sentence description of the mention context. Null when not generated. */
14
14
  description: string | null;
15
- /** Analyzer confidence between 0 and 1. Null for legacy rows analyzed before confidence scoring. */
15
+ /** Analyzer confidence between 0 and 1. Null for legacy mentions analyzed before confidence scoring. */
16
16
  confidence: number | null;
17
17
  /** Raw sentiment score between -1 and 1. Null when sentiment was not computed for this mention. */
18
18
  sentiment_score: number | null;
@@ -2,7 +2,7 @@ import type * as Arcmira from "../index.js";
2
2
  export interface MentionListResponse {
3
3
  /** Newest first. */
4
4
  mentions: Arcmira.Mention[];
5
- /** True when more rows exist past this page. */
5
+ /** True when more results exist past this page. */
6
6
  has_more: boolean;
7
7
  /** Opaque cursor for the next page. Null on the last page. */
8
8
  next_cursor: string | null;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * For issue_type missed_alert: an expectation with no alert row to target. Omit the correction id and describe where the alert should have fired.
2
+ * For issue_type missed_alert: an expectation with no alert to target. Omit the correction id and describe where the alert should have fired.
3
3
  */
4
4
  export interface MissedAlertChange {
5
5
  /** URL of the media that should have produced an alert. */
@@ -9,7 +9,7 @@ export interface Monitor {
9
9
  notify_emails: string[];
10
10
  /** Every address the monitor reaches, with consent and invitation state. An account is not required to accept. */
11
11
  email_recipients?: Monitor.EmailRecipients.Item[] | undefined;
12
- /** Delivery cadence. Values: realtime (deliver immediately), hourly (hourly digest), daily (daily digest). Free tier is limited to daily. */
12
+ /** Delivery cadence. Values: realtime (deliver immediately), hourly (hourly digest), daily (daily digest). */
13
13
  notify_frequency?: string | undefined;
14
14
  /** Day of week for digest delivery. */
15
15
  digest_day?: string | undefined;
@@ -3,6 +3,6 @@ export interface NamedEntityRef {
3
3
  id: string;
4
4
  /** The entity name. Null when the id no longer resolves. */
5
5
  name: string | null;
6
- /** Entity type. Values: person (an individual), organization (a company or institution; legacy rows may read company or brand), product (a product or service), topic (a subject or theme), channel (a media source such as a YouTube channel), unknown (type was never classified). */
6
+ /** Entity type. Values: person (an individual), organization (a company or institution; legacy entities may read company or brand), product (a product or service), topic (a subject or theme), channel (a media source such as a YouTube channel), unknown (type was never classified). */
7
7
  type: string | null;
8
8
  }
@@ -1,26 +1,28 @@
1
1
  import type * as Arcmira from "../index.js";
2
- export interface TranscriptPurchaseQuote {
2
+ export interface PremiumQuote {
3
3
  video_id: string;
4
4
  duration_seconds: number;
5
- billing_scope: TranscriptPurchaseQuote.BillingScope;
5
+ billing_scope: PremiumQuote.BillingScope;
6
6
  owned: boolean;
7
7
  eligible: boolean;
8
- /** Present when eligible is false: the plan checkout that can buy this transcript, as a button label and an absolute link. */
9
- upgrade?: TranscriptPurchaseQuote.Upgrade | undefined;
8
+ /** Present when eligible is false. Names the plan that includes Premium transcripts, as a button label and an absolute link to its checkout. */
9
+ upgrade?: PremiumQuote.Upgrade | undefined;
10
10
  quote: Arcmira.TranscriptQuote;
11
- charge: TranscriptPurchaseQuote.Charge;
11
+ charge: PremiumQuote.Charge;
12
+ /** Credits in a row: 4. */
12
13
  credits_per_row: number;
13
14
  max_on_demand_cents: number;
15
+ /** What one unit of charge.unit costs as on-demand usage, in US cents: 0.2 a credit ($0.002). */
14
16
  on_demand_cents_per_unit: number;
15
17
  refund_policy: string;
16
18
  }
17
- export declare namespace TranscriptPurchaseQuote {
19
+ export declare namespace PremiumQuote {
18
20
  const BillingScope: {
19
21
  readonly FullVideo: "full_video";
20
22
  };
21
23
  type BillingScope = (typeof BillingScope)[keyof typeof BillingScope];
22
24
  /**
23
- * Present when eligible is false: the plan checkout that can buy this transcript, as a button label and an absolute link.
25
+ * Present when eligible is false. Names the plan that includes Premium transcripts, as a button label and an absolute link to its checkout.
24
26
  */
25
27
  interface Upgrade {
26
28
  label: string;
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  // This file was auto-generated by Fern from our API Definition.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.TranscriptPurchaseQuote = void 0;
5
- var TranscriptPurchaseQuote;
6
- (function (TranscriptPurchaseQuote) {
7
- TranscriptPurchaseQuote.BillingScope = {
4
+ exports.PremiumQuote = void 0;
5
+ var PremiumQuote;
6
+ (function (PremiumQuote) {
7
+ PremiumQuote.BillingScope = {
8
8
  FullVideo: "full_video",
9
9
  };
10
10
  let Charge;
@@ -19,5 +19,5 @@ var TranscriptPurchaseQuote;
19
19
  OnDemand: "on_demand",
20
20
  Mixed: "mixed",
21
21
  };
22
- })(Charge = TranscriptPurchaseQuote.Charge || (TranscriptPurchaseQuote.Charge = {}));
23
- })(TranscriptPurchaseQuote || (exports.TranscriptPurchaseQuote = TranscriptPurchaseQuote = {}));
22
+ })(Charge = PremiumQuote.Charge || (PremiumQuote.Charge = {}));
23
+ })(PremiumQuote || (exports.PremiumQuote = PremiumQuote = {}));