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
|
@@ -20,7 +20,7 @@ export class MentionsClient {
|
|
|
20
20
|
this._options = normalizeClientOptionsWithAuth(options);
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
* Cursor-paginated 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), text query, sentiment, appearance flag, 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
|
|
23
|
+
* Cursor-paginated 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), text query, sentiment, appearance flag, 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 mentions remain live. Positions are start_seconds and end_seconds (integer seconds; 0 means full episode). is_appearance filtering applies to person entities only; passing is_appearance=true for any other type returns a 400 (appearances_person_only). details=full attaches per-mention commercial recommendations and requires a Pro+ plan.
|
|
24
24
|
*
|
|
25
25
|
* @param {Arcmira.ListMentionsRequest} request
|
|
26
26
|
* @param {MentionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -117,7 +117,7 @@ export class MentionsClient {
|
|
|
117
117
|
});
|
|
118
118
|
}
|
|
119
119
|
/**
|
|
120
|
-
* A small ranked table of entity and channel counts, all-time unless after is set. Pass channel_ids for what shows talk about and entity_types to match the question (topic for subjects, person for guests, organization,product for brands). Pass video_ids with one id from GET /v1/channels/{channel_id}/videos for what a single episode mentions. Two or more channel_ids also return shared, the entities on more than one of them ranked by the smallest per-channel count, which is true overlap. An after later than the plan's freshness gate is refused with freshness_requires_paid rather than widened.
|
|
120
|
+
* A small ranked table of entity and channel counts, all-time unless after is set. Pass channel_ids for what shows talk about and entity_types to match the question (topic for subjects, person for guests, organization,product for brands). Pass video_ids with one id from GET /v1/channels/{channel_id}/videos for what a single episode mentions. Two or more channel_ids also return shared, the entities on more than one of them ranked by the smallest per-channel count, which is true overlap. An after later than the plan's freshness gate is refused with freshness_requires_paid rather than widened. Uses 4 credits per ranked entry 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.
|
|
121
121
|
*
|
|
122
122
|
* @param {Arcmira.CountMentionsRequest} request
|
|
123
123
|
* @param {MentionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -18,7 +18,7 @@ export interface ListMentionsRequest {
|
|
|
18
18
|
is_appearance?: boolean;
|
|
19
19
|
/** Only media published at or after this instant. An ISO 8601 date (2026-09-01) or datetime with offset (2026-09-01T00:00:00Z), read in UTC. The window is half-open: after is inclusive, before is exclusive. */
|
|
20
20
|
after?: string;
|
|
21
|
-
/** Only media published before this instant, so before=2026-09-02 includes all of 2026-09-01. An ISO 8601 date (2026-09-01) or datetime with offset (2026-09-01T00:00:00Z), read in UTC. The window is half-open: after is inclusive, before is exclusive. */
|
|
21
|
+
/** Only media published before this instant, so before=2026-09-02 includes all of 2026-09-01. Needs a paid plan: the free plan refuses it with filter_requires_paid. An ISO 8601 date (2026-09-01) or datetime with offset (2026-09-01T00:00:00Z), read in UTC. The window is half-open: after is inclusive, before is exclusive. */
|
|
22
22
|
before?: string;
|
|
23
23
|
details?: Arcmira.ListMentionsRequestDetails;
|
|
24
24
|
}
|
|
@@ -39,7 +39,7 @@ export declare class MonitorsClient {
|
|
|
39
39
|
list(requestOptions?: MonitorsClient.RequestOptions): core.HttpResponsePromise<Arcmira.MonitorListResponse>;
|
|
40
40
|
private __list;
|
|
41
41
|
/**
|
|
42
|
-
* Creating with notify_webhook: true and a webhook_url enables HMAC-signed webhook delivery and returns the signing secret (monitor.webhook_secret) in this response. Store it securely. A retry with the original Idempotency-Key recovers the same secret for up to 24 hours while it remains the current secret or the valid previous secret. An expired or displaced secret returns 409 idempotency_result_expired without rotating again. Reads do not expose the secret. All subsequent reads expose only webhook_secret_set and webhook_secret_hint.
|
|
42
|
+
* Creating with notify_webhook: true and a webhook_url enables HMAC-signed webhook delivery and returns the signing secret (monitor.webhook_secret) in this response. Store it securely. A retry with the original Idempotency-Key recovers the same secret for up to 24 hours while it remains the current secret or the valid previous secret. An expired or displaced secret returns 409 idempotency_result_expired without rotating again. Reads do not expose the secret. All subsequent reads expose only webhook_secret_set and webhook_secret_hint. Creating monitors and trackers is free. Each alert uses 25 credits once, however many channels and recipients deliver it: credits from your plan, then your on-demand budget. When the account is out of credits, alerts wait instead of sending.
|
|
43
43
|
*
|
|
44
44
|
* @param {Arcmira.CreateMonitorsRequest} request
|
|
45
45
|
* @param {MonitorsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -111,7 +111,7 @@ export class MonitorsClient {
|
|
|
111
111
|
});
|
|
112
112
|
}
|
|
113
113
|
/**
|
|
114
|
-
* Creating with notify_webhook: true and a webhook_url enables HMAC-signed webhook delivery and returns the signing secret (monitor.webhook_secret) in this response. Store it securely. A retry with the original Idempotency-Key recovers the same secret for up to 24 hours while it remains the current secret or the valid previous secret. An expired or displaced secret returns 409 idempotency_result_expired without rotating again. Reads do not expose the secret. All subsequent reads expose only webhook_secret_set and webhook_secret_hint.
|
|
114
|
+
* Creating with notify_webhook: true and a webhook_url enables HMAC-signed webhook delivery and returns the signing secret (monitor.webhook_secret) in this response. Store it securely. A retry with the original Idempotency-Key recovers the same secret for up to 24 hours while it remains the current secret or the valid previous secret. An expired or displaced secret returns 409 idempotency_result_expired without rotating again. Reads do not expose the secret. All subsequent reads expose only webhook_secret_set and webhook_secret_hint. Creating monitors and trackers is free. Each alert uses 25 credits once, however many channels and recipients deliver it: credits from your plan, then your on-demand budget. When the account is out of credits, alerts wait instead of sending.
|
|
115
115
|
*
|
|
116
116
|
* @param {Arcmira.CreateMonitorsRequest} request
|
|
117
117
|
* @param {MonitorsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -12,7 +12,7 @@ export interface CreateMonitorsRequest {
|
|
|
12
12
|
name: string;
|
|
13
13
|
/** Desired email recipients. External recipients must confirm before delivery. Free includes one additional recipient per monitor; paid plans allow up to 20 total. Default []. */
|
|
14
14
|
notify_emails?: string[];
|
|
15
|
-
/** Delivery cadence. Default realtime. Values: realtime (as analysis completes), hourly (hourly digest), daily (daily digest).
|
|
15
|
+
/** Delivery cadence. Default realtime. Values: realtime (as analysis completes), hourly (hourly digest), daily (daily digest). */
|
|
16
16
|
notify_frequency?: CreateMonitorsRequest.NotifyFrequency;
|
|
17
17
|
/** Digest day of week. Default "monday". Consulted only by weekly digests, which are dashboard-configured today; inert for API-set frequencies. */
|
|
18
18
|
digest_day?: string;
|
|
@@ -32,7 +32,7 @@ export interface CreateMonitorsRequest {
|
|
|
32
32
|
team_id?: string;
|
|
33
33
|
}
|
|
34
34
|
export declare namespace CreateMonitorsRequest {
|
|
35
|
-
/** Delivery cadence. Default realtime. Values: realtime (as analysis completes), hourly (hourly digest), daily (daily digest).
|
|
35
|
+
/** Delivery cadence. Default realtime. Values: realtime (as analysis completes), hourly (hourly digest), daily (daily digest). */
|
|
36
36
|
const NotifyFrequency: {
|
|
37
37
|
readonly Realtime: "realtime";
|
|
38
38
|
readonly Hourly: "hourly";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
export var CreateMonitorsRequest;
|
|
3
3
|
(function (CreateMonitorsRequest) {
|
|
4
|
-
/** Delivery cadence. Default realtime. Values: realtime (as analysis completes), hourly (hourly digest), daily (daily digest).
|
|
4
|
+
/** Delivery cadence. Default realtime. Values: realtime (as analysis completes), hourly (hourly digest), daily (daily digest). */
|
|
5
5
|
CreateMonitorsRequest.NotifyFrequency = {
|
|
6
6
|
Realtime: "realtime",
|
|
7
7
|
Hourly: "hourly",
|
|
@@ -14,7 +14,7 @@ export interface UpdateMonitorsRequest {
|
|
|
14
14
|
name?: string;
|
|
15
15
|
/** Desired email recipients. External recipients must confirm before delivery. Free includes one additional recipient per monitor; paid plans allow up to 20 total. Default []. */
|
|
16
16
|
notify_emails?: string[];
|
|
17
|
-
/** Delivery cadence. Default realtime. Values: realtime (as analysis completes), hourly (hourly digest), daily (daily digest).
|
|
17
|
+
/** Delivery cadence. Default realtime. Values: realtime (as analysis completes), hourly (hourly digest), daily (daily digest). */
|
|
18
18
|
notify_frequency?: UpdateMonitorsRequest.NotifyFrequency;
|
|
19
19
|
/** Digest day of week. Default "monday". Consulted only by weekly digests, which are dashboard-configured today; inert for API-set frequencies. */
|
|
20
20
|
digest_day?: string;
|
|
@@ -34,7 +34,7 @@ export interface UpdateMonitorsRequest {
|
|
|
34
34
|
paused?: boolean;
|
|
35
35
|
}
|
|
36
36
|
export declare namespace UpdateMonitorsRequest {
|
|
37
|
-
/** Delivery cadence. Default realtime. Values: realtime (as analysis completes), hourly (hourly digest), daily (daily digest).
|
|
37
|
+
/** Delivery cadence. Default realtime. Values: realtime (as analysis completes), hourly (hourly digest), daily (daily digest). */
|
|
38
38
|
const NotifyFrequency: {
|
|
39
39
|
readonly Realtime: "realtime";
|
|
40
40
|
readonly Hourly: "hourly";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
export var UpdateMonitorsRequest;
|
|
3
3
|
(function (UpdateMonitorsRequest) {
|
|
4
|
-
/** Delivery cadence. Default realtime. Values: realtime (as analysis completes), hourly (hourly digest), daily (daily digest).
|
|
4
|
+
/** Delivery cadence. Default realtime. Values: realtime (as analysis completes), hourly (hourly digest), daily (daily digest). */
|
|
5
5
|
UpdateMonitorsRequest.NotifyFrequency = {
|
|
6
6
|
Realtime: "realtime",
|
|
7
7
|
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.
|
|
@@ -20,7 +20,7 @@ export class RecommendationsClient {
|
|
|
20
20
|
this._options = normalizeClientOptionsWithAuth(options);
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
* 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
|
|
23
|
+
* 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).
|
|
24
24
|
*
|
|
25
25
|
* @param {Arcmira.ListRecommendationsRequest} request
|
|
26
26
|
* @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.
|
|
@@ -20,7 +20,7 @@ export class TranscriptsClient {
|
|
|
20
20
|
this._options = normalizeClientOptionsWithAuth(options);
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
* 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.
|
|
23
|
+
* 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.
|
|
24
24
|
*
|
|
25
25
|
* @param {Arcmira.SearchTranscriptsRequest} request
|
|
26
26
|
* @param {TranscriptsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -111,7 +111,7 @@ export class TranscriptsClient {
|
|
|
111
111
|
});
|
|
112
112
|
}
|
|
113
113
|
/**
|
|
114
|
-
* Caption
|
|
114
|
+
* 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.
|
|
115
115
|
*
|
|
116
116
|
* @param {Arcmira.GetTranscriptsRequest} request
|
|
117
117
|
* @param {TranscriptsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -198,7 +198,7 @@ export class TranscriptsClient {
|
|
|
198
198
|
});
|
|
199
199
|
}
|
|
200
200
|
/**
|
|
201
|
-
* Optional free quote:
|
|
201
|
+
* 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.
|
|
202
202
|
*
|
|
203
203
|
* @param {Arcmira.QuoteTranscriptsRequest} request
|
|
204
204
|
* @param {TranscriptsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -266,7 +266,7 @@ export class TranscriptsClient {
|
|
|
266
266
|
});
|
|
267
267
|
}
|
|
268
268
|
/**
|
|
269
|
-
* 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
|
|
269
|
+
* 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`.
|
|
270
270
|
*
|
|
271
271
|
* @param {Arcmira.ListRequestsTranscriptsRequest} request
|
|
272
272
|
* @param {TranscriptsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -8,17 +8,17 @@ import type * as Arcmira from "../../../../index.mjs";
|
|
|
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";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
/** captions reads creator or automatic captions at
|
|
2
|
+
/** 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. */
|
|
3
3
|
export const GetTranscriptsRequestQuality = {
|
|
4
4
|
Captions: "captions",
|
|
5
5
|
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. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
export var Alert;
|
|
3
3
|
(function (Alert) {
|
|
4
|
-
/** Which evidence layer was sent. Null on older
|
|
4
|
+
/** Which evidence layer was sent. Null on older alerts. */
|
|
5
5
|
Alert.EvidenceKind = {
|
|
6
6
|
Excerpt: "excerpt",
|
|
7
7
|
};
|
|
@@ -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.mjs";
|
|
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;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
export var EntityResolveResponse;
|
|
3
3
|
(function (EntityResolveResponse) {
|
|
4
|
-
/** exact: one
|
|
4
|
+
/** 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. */
|
|
5
5
|
EntityResolveResponse.Confidence = {
|
|
6
6
|
Exact: "exact",
|
|
7
7
|
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;
|