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.
- package/README.md +21 -12
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/channels/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/channels/client/Client.js +1 -1
- package/dist/cjs/api/resources/channels/resources/videos/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/channels/resources/videos/client/Client.js +1 -1
- package/dist/cjs/api/resources/entities/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/entities/client/Client.js +2 -2
- package/dist/cjs/api/resources/feedback/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/feedback/client/Client.js +2 -2
- package/dist/cjs/api/resources/feedback/client/requests/SubmitFeedbackRequest.d.ts +10 -10
- package/dist/cjs/api/resources/feedback/client/requests/SubmitFeedbackRequest.js +4 -4
- package/dist/cjs/api/resources/me/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/me/client/Client.js +1 -1
- package/dist/cjs/api/resources/me/client/requests/UpdateSettingsMeRequest.d.ts +2 -2
- package/dist/cjs/api/resources/me/client/requests/UpdateSettingsMeRequest.js +1 -1
- package/dist/cjs/api/resources/mentions/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/mentions/client/Client.js +2 -2
- package/dist/cjs/api/resources/mentions/client/requests/ListMentionsRequest.d.ts +1 -1
- package/dist/cjs/api/resources/monitors/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/monitors/client/Client.js +1 -1
- package/dist/cjs/api/resources/monitors/client/requests/CreateMonitorsRequest.d.ts +2 -2
- package/dist/cjs/api/resources/monitors/client/requests/CreateMonitorsRequest.js +1 -1
- package/dist/cjs/api/resources/monitors/client/requests/UpdateMonitorsRequest.d.ts +2 -2
- package/dist/cjs/api/resources/monitors/client/requests/UpdateMonitorsRequest.js +1 -1
- package/dist/cjs/api/resources/recommendations/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/recommendations/client/Client.js +1 -1
- package/dist/cjs/api/resources/transcripts/client/Client.d.ts +5 -5
- package/dist/cjs/api/resources/transcripts/client/Client.js +4 -4
- package/dist/cjs/api/resources/transcripts/client/requests/GetTranscriptsRequest.d.ts +3 -3
- package/dist/cjs/api/resources/transcripts/types/GetTranscriptsRequestQuality.d.ts +1 -1
- package/dist/cjs/api/resources/transcripts/types/GetTranscriptsRequestQuality.js +1 -1
- package/dist/cjs/api/types/Alert.d.ts +10 -7
- package/dist/cjs/api/types/Alert.js +1 -1
- package/dist/cjs/api/types/BadRankingChange.d.ts +3 -3
- package/dist/cjs/api/types/ChannelSponsor.d.ts +1 -1
- package/dist/cjs/api/types/ChannelSponsorsResponse.d.ts +4 -0
- package/dist/cjs/api/types/DeliveryIssueChange.d.ts +1 -1
- package/dist/cjs/api/types/Entity.d.ts +2 -2
- package/dist/cjs/api/types/EntityDetailRecommendationsSummary.d.ts +2 -2
- package/dist/cjs/api/types/EntityMomentumResponse.d.ts +4 -0
- package/dist/cjs/api/types/EntityRef.d.ts +1 -1
- package/dist/cjs/api/types/EntityResolveResponse.d.ts +5 -5
- package/dist/cjs/api/types/EntityResolveResponse.js +1 -1
- package/dist/cjs/api/types/Error_.d.ts +4 -0
- package/dist/cjs/api/types/FeedbackReadbackCorrection.d.ts +1 -1
- package/dist/cjs/api/types/FeedbackReadbackResponse.d.ts +1 -1
- package/dist/cjs/api/types/MeResponse.d.ts +8 -8
- package/dist/cjs/api/types/Mention.d.ts +1 -1
- package/dist/cjs/api/types/MentionListResponse.d.ts +1 -1
- package/dist/cjs/api/types/MissedAlertChange.d.ts +1 -1
- package/dist/cjs/api/types/Monitor.d.ts +1 -1
- package/dist/cjs/api/types/NamedEntityRef.d.ts +1 -1
- package/dist/cjs/api/types/{TranscriptPurchaseQuote.d.ts → PremiumQuote.d.ts} +9 -7
- package/dist/cjs/api/types/{TranscriptPurchaseQuote.js → PremiumQuote.js} +6 -6
- package/dist/cjs/api/types/Recommendation.d.ts +3 -3
- package/dist/cjs/api/types/RecommendationListResponse.d.ts +1 -1
- package/dist/cjs/api/types/RefusedQuote.d.ts +3 -3
- package/dist/cjs/api/types/ResolveCandidate.d.ts +6 -6
- package/dist/cjs/api/types/ResolveCandidate.js +1 -1
- package/dist/cjs/api/types/ResolveSuggestion.d.ts +8 -8
- package/dist/cjs/api/types/ResolveSuggestion.js +2 -2
- package/dist/cjs/api/types/SignupVerifiedResponse.d.ts +1 -1
- package/dist/cjs/api/types/TranscriptFailed.d.ts +5 -5
- package/dist/cjs/api/types/TranscriptFailed.js +1 -1
- package/dist/cjs/api/types/TranscriptJob.d.ts +10 -10
- package/dist/cjs/api/types/TranscriptJob.js +3 -3
- package/dist/cjs/api/types/TranscriptQuote.d.ts +1 -1
- package/dist/cjs/api/types/TranscriptRequestListResponse.d.ts +3 -0
- package/dist/cjs/api/types/TranscriptResponse.d.ts +7 -3
- package/dist/cjs/api/types/TranscriptSearchResponse.d.ts +4 -0
- package/dist/cjs/api/types/TranscriptVideo.d.ts +1 -1
- package/dist/cjs/api/types/WrongClassificationChange.d.ts +1 -1
- package/dist/cjs/api/types/WrongEntityChange.d.ts +2 -2
- package/dist/cjs/api/types/index.d.ts +1 -1
- package/dist/cjs/api/types/index.js +1 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/cli/main.js +21 -11
- package/dist/cli/operations.js +6 -6
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/channels/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/channels/client/Client.mjs +1 -1
- package/dist/esm/api/resources/channels/resources/videos/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/channels/resources/videos/client/Client.mjs +1 -1
- package/dist/esm/api/resources/entities/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/entities/client/Client.mjs +2 -2
- package/dist/esm/api/resources/feedback/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/feedback/client/Client.mjs +2 -2
- package/dist/esm/api/resources/feedback/client/requests/SubmitFeedbackRequest.d.mts +10 -10
- package/dist/esm/api/resources/feedback/client/requests/SubmitFeedbackRequest.mjs +4 -4
- package/dist/esm/api/resources/me/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/me/client/Client.mjs +1 -1
- package/dist/esm/api/resources/me/client/requests/UpdateSettingsMeRequest.d.mts +2 -2
- package/dist/esm/api/resources/me/client/requests/UpdateSettingsMeRequest.mjs +1 -1
- package/dist/esm/api/resources/mentions/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/mentions/client/Client.mjs +2 -2
- package/dist/esm/api/resources/mentions/client/requests/ListMentionsRequest.d.mts +1 -1
- package/dist/esm/api/resources/monitors/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/monitors/client/Client.mjs +1 -1
- package/dist/esm/api/resources/monitors/client/requests/CreateMonitorsRequest.d.mts +2 -2
- package/dist/esm/api/resources/monitors/client/requests/CreateMonitorsRequest.mjs +1 -1
- package/dist/esm/api/resources/monitors/client/requests/UpdateMonitorsRequest.d.mts +2 -2
- package/dist/esm/api/resources/monitors/client/requests/UpdateMonitorsRequest.mjs +1 -1
- package/dist/esm/api/resources/recommendations/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/recommendations/client/Client.mjs +1 -1
- package/dist/esm/api/resources/transcripts/client/Client.d.mts +5 -5
- package/dist/esm/api/resources/transcripts/client/Client.mjs +4 -4
- package/dist/esm/api/resources/transcripts/client/requests/GetTranscriptsRequest.d.mts +3 -3
- package/dist/esm/api/resources/transcripts/types/GetTranscriptsRequestQuality.d.mts +1 -1
- package/dist/esm/api/resources/transcripts/types/GetTranscriptsRequestQuality.mjs +1 -1
- package/dist/esm/api/types/Alert.d.mts +10 -7
- package/dist/esm/api/types/Alert.mjs +1 -1
- package/dist/esm/api/types/BadRankingChange.d.mts +3 -3
- package/dist/esm/api/types/ChannelSponsor.d.mts +1 -1
- package/dist/esm/api/types/ChannelSponsorsResponse.d.mts +4 -0
- package/dist/esm/api/types/DeliveryIssueChange.d.mts +1 -1
- package/dist/esm/api/types/Entity.d.mts +2 -2
- package/dist/esm/api/types/EntityDetailRecommendationsSummary.d.mts +2 -2
- package/dist/esm/api/types/EntityMomentumResponse.d.mts +4 -0
- package/dist/esm/api/types/EntityRef.d.mts +1 -1
- package/dist/esm/api/types/EntityResolveResponse.d.mts +5 -5
- package/dist/esm/api/types/EntityResolveResponse.mjs +1 -1
- package/dist/esm/api/types/Error_.d.mts +4 -0
- package/dist/esm/api/types/FeedbackReadbackCorrection.d.mts +1 -1
- package/dist/esm/api/types/FeedbackReadbackResponse.d.mts +1 -1
- package/dist/esm/api/types/MeResponse.d.mts +8 -8
- package/dist/esm/api/types/Mention.d.mts +1 -1
- package/dist/esm/api/types/MentionListResponse.d.mts +1 -1
- package/dist/esm/api/types/MissedAlertChange.d.mts +1 -1
- package/dist/esm/api/types/Monitor.d.mts +1 -1
- package/dist/esm/api/types/NamedEntityRef.d.mts +1 -1
- package/dist/esm/api/types/{TranscriptPurchaseQuote.d.mts → PremiumQuote.d.mts} +9 -7
- package/dist/esm/api/types/{TranscriptPurchaseQuote.mjs → PremiumQuote.mjs} +5 -5
- package/dist/esm/api/types/Recommendation.d.mts +3 -3
- package/dist/esm/api/types/RecommendationListResponse.d.mts +1 -1
- package/dist/esm/api/types/RefusedQuote.d.mts +3 -3
- package/dist/esm/api/types/ResolveCandidate.d.mts +6 -6
- package/dist/esm/api/types/ResolveCandidate.mjs +1 -1
- package/dist/esm/api/types/ResolveSuggestion.d.mts +8 -8
- package/dist/esm/api/types/ResolveSuggestion.mjs +2 -2
- package/dist/esm/api/types/SignupVerifiedResponse.d.mts +1 -1
- package/dist/esm/api/types/TranscriptFailed.d.mts +5 -5
- package/dist/esm/api/types/TranscriptFailed.mjs +1 -1
- package/dist/esm/api/types/TranscriptJob.d.mts +10 -10
- package/dist/esm/api/types/TranscriptJob.mjs +3 -3
- package/dist/esm/api/types/TranscriptQuote.d.mts +1 -1
- package/dist/esm/api/types/TranscriptRequestListResponse.d.mts +3 -0
- package/dist/esm/api/types/TranscriptResponse.d.mts +7 -3
- package/dist/esm/api/types/TranscriptSearchResponse.d.mts +4 -0
- package/dist/esm/api/types/TranscriptVideo.d.mts +1 -1
- package/dist/esm/api/types/WrongClassificationChange.d.mts +1 -1
- package/dist/esm/api/types/WrongEntityChange.d.mts +2 -2
- package/dist/esm/api/types/index.d.mts +1 -1
- package/dist/esm/api/types/index.mjs +1 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/llms.txt +1 -1
- package/package.json +7 -3
- package/reference.md +16 -16
- package/skills/arcmira/SKILL.md +4 -4
- package/skills/company-watch/SKILL.md +23 -16
- package/skills/compare-shows/SKILL.md +2 -2
- package/skills/find-quotes/SKILL.md +7 -7
- package/skills/person-research/SKILL.md +5 -5
- 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).
|
|
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
|
|
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
|
|
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.
|
|
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
|
|
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:
|
|
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.
|
|
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
|
|
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.
|
|
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
|
|
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:
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
+
/** 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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
33
|
+
/** When the alert was created. */
|
|
31
34
|
created_at: string;
|
|
32
|
-
/** The tracker the alert belongs to. Fields are null when the tracker
|
|
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
|
|
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
|
|
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
|
|
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
|
|
2
|
+
* For issue_type bad_ranking: the expected and observed positions of the result.
|
|
3
3
|
*/
|
|
4
4
|
export interface BadRankingChange {
|
|
5
|
-
/** Where the
|
|
5
|
+
/** Where the result should have ranked (1-based). */
|
|
6
6
|
expected_rank?: number | undefined;
|
|
7
|
-
/** Where the
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
5
|
+
/** Total ad_read recommendations across all channels. 0 when none. */
|
|
6
6
|
total_ad_reads: number;
|
|
7
|
-
/** Total endorsement
|
|
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
|
|
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
|
|
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
|
|
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
|
-
/**
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
-
/**
|
|
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
|
|
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,
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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).
|
|
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
|
|
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
|
|
2
|
+
export interface PremiumQuote {
|
|
3
3
|
video_id: string;
|
|
4
4
|
duration_seconds: number;
|
|
5
|
-
billing_scope:
|
|
5
|
+
billing_scope: PremiumQuote.BillingScope;
|
|
6
6
|
owned: boolean;
|
|
7
7
|
eligible: boolean;
|
|
8
|
-
/** Present when eligible is false
|
|
9
|
-
upgrade?:
|
|
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:
|
|
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
|
|
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
|
|
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.
|
|
5
|
-
var
|
|
6
|
-
(function (
|
|
7
|
-
|
|
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 =
|
|
23
|
-
})(
|
|
22
|
+
})(Charge = PremiumQuote.Charge || (PremiumQuote.Charge = {}));
|
|
23
|
+
})(PremiumQuote || (exports.PremiumQuote = PremiumQuote = {}));
|