arcmira 0.4.3 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/README.md +14 -14
  2. package/dist/cjs/BaseClient.js +2 -2
  3. package/dist/cjs/api/resources/me/client/Client.d.ts +1 -1
  4. package/dist/cjs/api/resources/me/client/Client.js +1 -1
  5. package/dist/cjs/api/resources/monitors/client/Client.d.ts +1 -1
  6. package/dist/cjs/api/resources/monitors/client/Client.js +1 -1
  7. package/dist/cjs/api/resources/monitors/client/requests/CreateMonitorsRequest.d.ts +0 -2
  8. package/dist/cjs/api/resources/monitors/resources/entities/client/Client.d.ts +1 -1
  9. package/dist/cjs/api/resources/monitors/resources/entities/client/Client.js +1 -1
  10. package/dist/cjs/api/resources/monitors/resources/entities/client/requests/AddEntitiesRequest.d.ts +1 -1
  11. package/dist/cjs/api/resources/monitors/resources/trackers/client/Client.d.ts +1 -1
  12. package/dist/cjs/api/resources/monitors/resources/trackers/client/Client.js +1 -1
  13. package/dist/cjs/api/resources/monitors/resources/trackers/client/requests/AddTrackersRequest.d.ts +1 -1
  14. package/dist/cjs/api/resources/trackers/client/Client.d.ts +2 -27
  15. package/dist/cjs/api/resources/trackers/client/Client.js +2 -78
  16. package/dist/cjs/api/resources/trackers/client/requests/UpdateTrackersRequest.d.ts +0 -12
  17. package/dist/cjs/api/resources/trackers/client/requests/index.d.ts +0 -1
  18. package/dist/cjs/api/resources/trackers/client/requests/index.js +1 -3
  19. package/dist/cjs/api/types/Alert.d.ts +4 -4
  20. package/dist/cjs/api/types/ChannelSponsorsResponse.d.ts +0 -6
  21. package/dist/cjs/api/types/EntityMomentumResponse.d.ts +0 -6
  22. package/dist/cjs/api/types/Error_.d.ts +0 -6
  23. package/dist/cjs/api/types/MeResponse.d.ts +35 -5
  24. package/dist/cjs/api/types/MeResponse.js +14 -0
  25. package/dist/cjs/api/types/Monitor.d.ts +8 -24
  26. package/dist/cjs/api/types/Monitor.js +2 -4
  27. package/dist/cjs/api/types/MonitorListResponse.d.ts +1 -1
  28. package/dist/cjs/api/types/Tracker.d.ts +2 -14
  29. package/dist/cjs/api/types/TranscriptResponse.d.ts +0 -6
  30. package/dist/cjs/api/types/TranscriptSearchResponse.d.ts +0 -6
  31. package/dist/cjs/version.d.ts +1 -1
  32. package/dist/cjs/version.js +1 -1
  33. package/dist/cli/main.js +26 -29
  34. package/dist/cli/operations.js +4 -5
  35. package/dist/esm/BaseClient.mjs +2 -2
  36. package/dist/esm/api/resources/me/client/Client.d.mts +1 -1
  37. package/dist/esm/api/resources/me/client/Client.mjs +1 -1
  38. package/dist/esm/api/resources/monitors/client/Client.d.mts +1 -1
  39. package/dist/esm/api/resources/monitors/client/Client.mjs +1 -1
  40. package/dist/esm/api/resources/monitors/client/requests/CreateMonitorsRequest.d.mts +0 -2
  41. package/dist/esm/api/resources/monitors/resources/entities/client/Client.d.mts +1 -1
  42. package/dist/esm/api/resources/monitors/resources/entities/client/Client.mjs +1 -1
  43. package/dist/esm/api/resources/monitors/resources/entities/client/requests/AddEntitiesRequest.d.mts +1 -1
  44. package/dist/esm/api/resources/monitors/resources/trackers/client/Client.d.mts +1 -1
  45. package/dist/esm/api/resources/monitors/resources/trackers/client/Client.mjs +1 -1
  46. package/dist/esm/api/resources/monitors/resources/trackers/client/requests/AddTrackersRequest.d.mts +1 -1
  47. package/dist/esm/api/resources/trackers/client/Client.d.mts +2 -27
  48. package/dist/esm/api/resources/trackers/client/Client.mjs +2 -78
  49. package/dist/esm/api/resources/trackers/client/requests/UpdateTrackersRequest.d.mts +0 -12
  50. package/dist/esm/api/resources/trackers/client/requests/index.d.mts +0 -1
  51. package/dist/esm/api/resources/trackers/client/requests/index.mjs +0 -1
  52. package/dist/esm/api/types/Alert.d.mts +4 -4
  53. package/dist/esm/api/types/ChannelSponsorsResponse.d.mts +0 -6
  54. package/dist/esm/api/types/EntityMomentumResponse.d.mts +0 -6
  55. package/dist/esm/api/types/Error_.d.mts +0 -6
  56. package/dist/esm/api/types/MeResponse.d.mts +35 -5
  57. package/dist/esm/api/types/MeResponse.mjs +14 -0
  58. package/dist/esm/api/types/Monitor.d.mts +8 -24
  59. package/dist/esm/api/types/Monitor.mjs +2 -4
  60. package/dist/esm/api/types/MonitorListResponse.d.mts +1 -1
  61. package/dist/esm/api/types/Tracker.d.mts +2 -14
  62. package/dist/esm/api/types/TranscriptResponse.d.mts +0 -6
  63. package/dist/esm/api/types/TranscriptSearchResponse.d.mts +0 -6
  64. package/dist/esm/version.d.mts +1 -1
  65. package/dist/esm/version.mjs +1 -1
  66. package/llms.txt +3 -3
  67. package/package.json +9 -3
  68. package/reference.md +6 -34
  69. package/skills/arcmira/SKILL.md +2 -2
  70. package/skills/company-watch/SKILL.md +1 -1
  71. package/dist/cjs/api/resources/trackers/client/requests/CreateTrackersRequest.d.ts +0 -53
  72. package/dist/cjs/api/resources/trackers/client/requests/CreateTrackersRequest.js +0 -22
  73. package/dist/esm/api/resources/trackers/client/requests/CreateTrackersRequest.d.mts +0 -53
  74. package/dist/esm/api/resources/trackers/client/requests/CreateTrackersRequest.mjs +0 -19
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  The official TypeScript SDK and CLI for searching indexed YouTube transcripts. Find timestamped quotes, speaker appearances, mentions, sponsors and recommendations.
4
4
 
5
- [API docs](https://arcmira.com/docs) · [OpenAPI schema](https://api.arcmira.com/v1/openapi.json) · [MCP setup](https://arcmira.com/docs/mcp-server)
5
+ [Arcmira](https://arcmira.com) · [API docs](https://arcmira.com/docs) · [OpenAPI schema](https://api.arcmira.com/v1/openapi.json) · [MCP setup](https://arcmira.com/docs/mcp-server)
6
6
 
7
7
  - Zero runtime dependencies. Uses the global `fetch`, so it runs in Node 18 and later, Cloudflare Workers, Deno, Bun and browsers.
8
8
  - ESM and CommonJS builds with types.
@@ -16,6 +16,8 @@ The official TypeScript SDK and CLI for searching indexed YouTube transcripts. F
16
16
  npm install arcmira
17
17
  ```
18
18
 
19
+ We prefer [pnpm](https://pnpm.io) as our JavaScript package manager (`pnpm add arcmira`). [Bun](https://bun.sh) is also great (`bun add arcmira`).
20
+
19
21
  To give your coding agent Arcmira, run setup. It finds Claude Code, Codex, Cursor, VS Code, Gemini CLI and Claude Desktop, adds the [Arcmira MCP server](https://github.com/arcmira/mcp) to each, installs the Arcmira skills, and turns updates on. Arcmira ships changes weekly, so keep them on:
20
22
 
21
23
  ```sh
@@ -108,13 +110,11 @@ try {
108
110
  else throw err;
109
111
  }
110
112
 
111
- // Follow an exact name. The tracker fires on newly analyzed media, even before the name is indexed.
112
- // A channel is followed by its YouTube channel id. A duplicate is a ConflictError with error.details.existing_id.
113
+ // Every tracker lives in a monitor, which sets how it alerts. An indexed entity joins by id; an exact name
114
+ // joins by name and type, and fires on newly analyzed media even before the name is indexed. A channel is
115
+ // followed by its YouTube channel id. Each id or name gets one result; attached: false comes with a reason.
113
116
  const { monitor } = await client.monitors.create({ name: "Fintech", notify_frequency: "daily" });
114
- const { tracker } = await client.trackers.create({ entity_name: "Mercury", entity_type: "organization" });
115
- await client.monitors.trackers.add({ id: monitor.id, tracker_ids: [tracker.id] });
116
- // An indexed entity joins a monitor by id.
117
- await client.monitors.entities.add({ id: monitor.id, entity_ids: [ramp.id] });
117
+ await client.monitors.entities.add({ id: monitor.id, entity_ids: [ramp.id], names: [{ name: "Mercury", type: "organization" }] });
118
118
  ```
119
119
 
120
120
  Every method is listed with its request and response types in [reference.md](./reference.md). The same operations, with `curl` samples, are in the [API reference](https://arcmira.com/docs/api-reference).
@@ -125,7 +125,7 @@ A method that returns a `Page` is an async iterable over rows. `page.data` holds
125
125
 
126
126
  ### Errors
127
127
 
128
- Every non-2xx answer throws a subclass of `ArcmiraError` named for the status: `BadRequestError`, `UnauthorizedError`, `PaymentRequiredError`, `ForbiddenError`, `NotFoundError`, `ConflictError`, `TooManyRequestsError`, `InternalServerError` and so on, all under the `Arcmira` namespace. `err.statusCode` is the status and `err.body.error` is the API's error object: `type`, `code`, `message`, `doc_url`, `request_id`, on a plan gate `gate` and `unlock.url`, and on a few codes `details` (`quote` on a priced refusal, `existing_id` on a duplicate follow). The envelope is `{ error }` alone. Switch on `type` and `gate` first; `code` is a string whose catalog is in the [errors page](https://arcmira.com/docs/errors).
128
+ Every non-2xx answer throws a subclass of `ArcmiraError` named for the status: `BadRequestError`, `UnauthorizedError`, `PaymentRequiredError`, `ForbiddenError`, `NotFoundError`, `ConflictError`, `TooManyRequestsError`, `InternalServerError` and so on, all under the `Arcmira` namespace. `err.statusCode` is the status and `err.body.error` is the API's error object: `type`, `code`, `message`, `doc_url`, `request_id`, on a plan gate `gate` and `unlock.url`, and `details.quote` on a priced refusal. The envelope is `{ error }` alone. Switch on `type` and `gate` first; `code` is a string whose catalog is in the [errors page](https://arcmira.com/docs/errors).
129
129
 
130
130
  ### Options
131
131
 
@@ -143,7 +143,7 @@ npx arcmira resolve Ramp # ent_14 organization Ramp
143
143
  npx arcmira mentions --entity ent_14 --after 2026-09-01 --before 2026-10-01
144
144
  npx arcmira search "agent payments" --limit 3
145
145
  npx arcmira resolve TBPN --type channel # the UC id: arcmira sponsors UC-DRzaGnL_vtBUpCFH5M0tg
146
- npx arcmira follow Ramp --type org
146
+ npx arcmira follow Ramp --type org --monitor <monitor-id>
147
147
  npx arcmira api GET /v1/mentions -f entity_id=ent_14 --paginate
148
148
  ```
149
149
 
@@ -189,10 +189,10 @@ Data commands (they mirror the MCP client; filters take ids, arcmira resolve fin
189
189
  arcmira transcripts get <video> full transcript of one YouTube video; --quality premium uses credits from your plan
190
190
  arcmira transcripts quote <video> free whole-video Premium price
191
191
  arcmira occurrences --channel ... ranked counts of the entities a set of channels or videos mention
192
- arcmira status [UC id] your plan, or a channel's coverage
192
+ arcmira status [UC id] your account and plan, or a channel's coverage
193
193
 
194
194
  Follow and alert (these change the account)
195
- arcmira trackers create <name> --type T follow an exact name; --type person, organization (or org), product, topic, or channel with a UC id
195
+ arcmira trackers create <name> --type T --monitor ID follow an exact name in a monitor; --type person, organization (or org), product, topic, or channel with a UC id
196
196
  arcmira trackers list every followed name
197
197
  arcmira monitors list monitors with tracker and alert counts
198
198
  arcmira monitors create <name> --frequency realtime|hourly|daily [--email ...] [--webhook-url URL] [--slack-integration ID --slack-channel ID]
@@ -204,13 +204,13 @@ Follow and alert (these change the account)
204
204
 
205
205
  Aliases
206
206
  arcmira transcript <video> same as arcmira transcripts get (the MCP client's transcript)
207
- arcmira follow <name> --type T same as arcmira trackers create
207
+ arcmira follow <name> --type T -m ID same as arcmira trackers create
208
208
 
209
209
  Account
210
210
  arcmira setup [--only agent] connect the MCP server and skills to your coding agents, updates on
211
211
  arcmira login [email] [--code N] [--key arc_sk_...]
212
212
  arcmira logout
213
- arcmira whoami key id, label and account, plan, scopes, rate limit, credits, and where the key came from
213
+ arcmira whoami the account the key spends and your role there, key id and label, plan, scopes, rate limit, credits, and where the key came from
214
214
  arcmira auth login same as arcmira login
215
215
  arcmira auth logout same as arcmira logout
216
216
  arcmira auth status same as arcmira whoami
@@ -228,7 +228,7 @@ Not available yet (each prints the arcmira api call that does the same, and exit
228
228
  Also: arcmira help [command], --help, --version
229
229
  ```
230
230
 
231
- Reads take ids. `--entity`, `--about`, `--by` and every entity positional take an `ent_` id; `--channel` and every channel positional take a YouTube channel id (`UC` plus 22 characters). A name or `@handle` there exits 2 before any request, with the `arcmira resolve` command that finds the id. Follows are the one place a name belongs: `arcmira follow Ramp --type org` watches the exact name, matched case-insensitively in newly analyzed media, and works before Arcmira has indexed it. A channel is followed by its UC id.
231
+ Reads take ids. `--entity`, `--about`, `--by` and every entity positional take an `ent_` id; `--channel` and every channel positional take a YouTube channel id (`UC` plus 22 characters). A name or `@handle` there exits 2 before any request, with the `arcmira resolve` command that finds the id. Follows are the one place a name belongs: `arcmira follow Ramp --type org --monitor <monitor-id>` watches the exact name in that monitor, matched case-insensitively in newly analyzed media, and works before Arcmira has indexed it. A channel is followed by its UC id.
232
232
 
233
233
  Every dated command takes `--after` (inclusive) and `--before` (exclusive), as a date or an ISO 8601 datetime with an offset, read in UTC. September is `--after 2026-09-01 --before 2026-10-01`.
234
234
 
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
43
43
  const headers = (0, headers_js_1.mergeHeaders)({
44
44
  "X-Fern-Language": "JavaScript",
45
45
  "X-Fern-SDK-Name": "arcmira",
46
- "X-Fern-SDK-Version": "0.4.3",
47
- "User-Agent": "arcmira/0.4.3",
46
+ "X-Fern-SDK-Version": "0.5.0",
47
+ "User-Agent": "arcmira/0.5.0",
48
48
  "X-Fern-Runtime": core.RUNTIME.type,
49
49
  "X-Fern-Runtime-Version": core.RUNTIME.version,
50
50
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -11,7 +11,7 @@ export declare class MeClient {
11
11
  protected readonly _options: NormalizedClientOptionsWithAuth<MeClient.Options>;
12
12
  constructor(options?: MeClient.Options);
13
13
  /**
14
- * Available even when the account has exhausted its usage allowance. Returns the credential making the request (key_id, key_label, credential_kind), the masked account email, the tier, scopes, rate limit, usage with period_resets_at, and account settings. usage.credits is the primary measure: credits from the plan, then the on-demand budget. The row fields restate it at 4 credits a row. settings.transcripts is what a transcript request that names no parameter of its own receives: every key of the account resolves against it.
14
+ * Available even when the account has exhausted its usage allowance. Returns the credential making the request (key_id, key_label, credential_kind), the masked email of the person, the account whose credits it spends (account: id, name, kind, plan) and the role the person holds on it, the tier, scopes, rate limit, usage with period_resets_at, and account settings. usage.credits is the primary measure: credits from the plan, then the on-demand budget. The row fields restate it at 4 credits a row. settings.transcripts is what a transcript request that names no parameter of its own receives: every key of the account resolves against it.
15
15
  *
16
16
  * @param {MeClient.RequestOptions} requestOptions - Request-specific configuration.
17
17
  *
@@ -57,7 +57,7 @@ class MeClient {
57
57
  this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
58
58
  }
59
59
  /**
60
- * Available even when the account has exhausted its usage allowance. Returns the credential making the request (key_id, key_label, credential_kind), the masked account email, the tier, scopes, rate limit, usage with period_resets_at, and account settings. usage.credits is the primary measure: credits from the plan, then the on-demand budget. The row fields restate it at 4 credits a row. settings.transcripts is what a transcript request that names no parameter of its own receives: every key of the account resolves against it.
60
+ * Available even when the account has exhausted its usage allowance. Returns the credential making the request (key_id, key_label, credential_kind), the masked email of the person, the account whose credits it spends (account: id, name, kind, plan) and the role the person holds on it, the tier, scopes, rate limit, usage with period_resets_at, and account settings. usage.credits is the primary measure: credits from the plan, then the on-demand budget. The row fields restate it at 4 credits a row. settings.transcripts is what a transcript request that names no parameter of its own receives: every key of the account resolves against it.
61
61
  *
62
62
  * @param {MeClient.RequestOptions} requestOptions - Request-specific configuration.
63
63
  *
@@ -63,7 +63,7 @@ export declare class MonitorsClient {
63
63
  create(request: Arcmira.CreateMonitorsRequest, requestOptions?: MonitorsClient.RequestOptions): core.HttpResponsePromise<Arcmira.MonitorMutationResponse>;
64
64
  private __create;
65
65
  /**
66
- * Deletes the monitor AND every tracker inside it (trackers_deleted reports how many). Cannot be undone. Retrying with the original Idempotency-Key returns the original deleted count without deleting again.
66
+ * Deletes the monitor AND every tracker inside it (trackers_deleted reports how many). Anyone in the account can restore it, with its trackers and recipients, from Recently deleted on the dashboard Monitors page for 30 days. Retrying with the original Idempotency-Key returns the original deleted count without deleting again.
67
67
  *
68
68
  * @param {Arcmira.DeleteMonitorsRequest} request
69
69
  * @param {MonitorsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -222,7 +222,7 @@ class MonitorsClient {
222
222
  });
223
223
  }
224
224
  /**
225
- * Deletes the monitor AND every tracker inside it (trackers_deleted reports how many). Cannot be undone. Retrying with the original Idempotency-Key returns the original deleted count without deleting again.
225
+ * Deletes the monitor AND every tracker inside it (trackers_deleted reports how many). Anyone in the account can restore it, with its trackers and recipients, from Recently deleted on the dashboard Monitors page for 30 days. Retrying with the original Idempotency-Key returns the original deleted count without deleting again.
226
226
  *
227
227
  * @param {Arcmira.DeleteMonitorsRequest} request
228
228
  * @param {MonitorsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -28,8 +28,6 @@ export interface CreateMonitorsRequest {
28
28
  slack_integration_id?: string;
29
29
  /** Slack channel id to deliver to. */
30
30
  slack_channel_id?: string;
31
- /** Create the monitor in this team, which the caller must belong to. The team owner pays for it and its plan sets the limits. A member may not set a webhook. Create only. */
32
- team_id?: string;
33
31
  }
34
32
  export declare namespace CreateMonitorsRequest {
35
33
  /** Delivery cadence. Default realtime. Values: realtime (as analysis completes), hourly (hourly digest), daily (daily digest). */
@@ -11,7 +11,7 @@ export declare class EntitiesClient {
11
11
  protected readonly _options: NormalizedClientOptionsWithAuth<EntitiesClient.Options>;
12
12
  constructor(options?: EntitiesClient.Options);
13
13
  /**
14
- * Follows each entity ({ entity_ids: ["ent_..."] }) and each exact name ({ names: [{ name, type }] }) in the monitor: the monitor account's existing tracker for the entity or name (compared case-insensitively) is reused, else a tracker is created under the monitor's account (the team owner on a team monitor) for the canonical entity (a merged id follows its redirect) or the name as given, then the trackers are attached, all in one write. Use names for something not yet indexed; a channel is named by its YouTube channel id, and a channel name answers 400 id_required. Attached trackers use the monitor's delivery settings. Supply 1 to 90 ids and names together; duplicates count once. Each gets one result, ids first then names, in request order; a names result carries name and type in place of entity_id. An id that cannot be followed comes back with attached: false and a reason (entity_not_found, entity_type_not_trackable, tracker_limit_reached, tracked_in_another_monitor) while the rest still attach; a tracker already in another monitor is left there and named in current_monitor_id. Requires the monitors:write and trackers:write scopes.
14
+ * Follows each entity ({ entity_ids: ["ent_..."] }) and each exact name ({ names: [{ name, type }] }) in the monitor: the monitor account's existing tracker for the entity or name (compared case-insensitively) is reused, else a tracker is created in the monitor's account for the canonical entity (a merged id follows its redirect) or the name as given, then the trackers are attached, all in one write. Use names for something not yet indexed; a channel is named by its YouTube channel id, and a channel name answers 400 id_required. Attached trackers use the monitor's delivery settings. Supply 1 to 90 ids and names together; duplicates count once. Each gets one result, ids first then names, in request order; a names result carries name and type in place of entity_id. An id that cannot be followed comes back with attached: false and a reason (entity_not_found, entity_type_not_trackable, tracker_limit_reached, tracked_in_another_monitor) while the rest still attach; a tracker already in another monitor is left there and named in current_monitor_id. Requires the monitors:write and trackers:write scopes.
15
15
  *
16
16
  * @param {Arcmira.monitors.AddEntitiesRequest} request
17
17
  * @param {EntitiesClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -68,7 +68,7 @@ class EntitiesClient {
68
68
  this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
69
69
  }
70
70
  /**
71
- * Follows each entity ({ entity_ids: ["ent_..."] }) and each exact name ({ names: [{ name, type }] }) in the monitor: the monitor account's existing tracker for the entity or name (compared case-insensitively) is reused, else a tracker is created under the monitor's account (the team owner on a team monitor) for the canonical entity (a merged id follows its redirect) or the name as given, then the trackers are attached, all in one write. Use names for something not yet indexed; a channel is named by its YouTube channel id, and a channel name answers 400 id_required. Attached trackers use the monitor's delivery settings. Supply 1 to 90 ids and names together; duplicates count once. Each gets one result, ids first then names, in request order; a names result carries name and type in place of entity_id. An id that cannot be followed comes back with attached: false and a reason (entity_not_found, entity_type_not_trackable, tracker_limit_reached, tracked_in_another_monitor) while the rest still attach; a tracker already in another monitor is left there and named in current_monitor_id. Requires the monitors:write and trackers:write scopes.
71
+ * Follows each entity ({ entity_ids: ["ent_..."] }) and each exact name ({ names: [{ name, type }] }) in the monitor: the monitor account's existing tracker for the entity or name (compared case-insensitively) is reused, else a tracker is created in the monitor's account for the canonical entity (a merged id follows its redirect) or the name as given, then the trackers are attached, all in one write. Use names for something not yet indexed; a channel is named by its YouTube channel id, and a channel name answers 400 id_required. Attached trackers use the monitor's delivery settings. Supply 1 to 90 ids and names together; duplicates count once. Each gets one result, ids first then names, in request order; a names result carries name and type in place of entity_id. An id that cannot be followed comes back with attached: false and a reason (entity_not_found, entity_type_not_trackable, tracker_limit_reached, tracked_in_another_monitor) while the rest still attach; a tracker already in another monitor is left there and named in current_monitor_id. Requires the monitors:write and trackers:write scopes.
72
72
  *
73
73
  * @param {Arcmira.monitors.AddEntitiesRequest} request
74
74
  * @param {EntitiesClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -12,7 +12,7 @@ export interface AddEntitiesRequest {
12
12
  "Idempotency-Key"?: string;
13
13
  /** Entity ids ("ent_...") to follow in this monitor, from GET /v1/entities/resolve or search. Duplicates count once. A merged id follows its redirect to the canonical entity. */
14
14
  entity_ids?: string[];
15
- /** Exact names to follow in this monitor, for a name not yet indexed or one you have no id for. The tracker is created under the monitor's account (the team owner on a team monitor) and attached in the same call; the account's tracker for the same name (compared case-insensitively) and type is reused. Duplicates count once. */
15
+ /** Exact names to follow in this monitor, for a name not yet indexed or one you have no id for. The tracker is created in the monitor's account and attached in the same call; the account's tracker for the same name (compared case-insensitively) and type is reused. Duplicates count once. */
16
16
  names?: AddEntitiesRequest.Names.Item[];
17
17
  /** For person trackers this request creates: mentions (default) matches others talking about the person; appearances matches the person present as a speaker, host or guest; both accepts either. Other types ignore it, and a tracker that already exists keeps its own setting (change it with PATCH /v1/trackers/{id}). */
18
18
  person_match_mode?: AddEntitiesRequest.PersonMatchMode;
@@ -31,7 +31,7 @@ export declare class TrackersClient {
31
31
  list(request: Arcmira.monitors.ListTrackersRequest, requestOptions?: TrackersClient.RequestOptions): core.HttpResponsePromise<Arcmira.MonitorTrackersResponse>;
32
32
  private __list;
33
33
  /**
34
- * Attaches EXISTING trackers to the monitor by id ({ tracker_ids: ["trk_..."] }). It does not create trackers: create them first via POST /v1/trackers, then attach. Attached trackers use the monitor's delivery settings. Supply 1 to 90 IDs. Duplicate IDs count once. Every ID must belong to the account; a missing or foreign ID returns tracker_not_found and none are attached. attached_count reports the unique attached count.
34
+ * Moves the account's trackers into this monitor by id ({ tracker_ids: ["trk_..."] }), out of the monitors they are in. A tracker always sits in one monitor and alerts through its delivery settings. It does not create trackers: POST /v1/monitors/{id}/entities does. Supply 1 to 90 IDs. Duplicate IDs count once. Every ID must belong to the account; a missing or foreign ID returns tracker_not_found and none move. attached_count reports the unique moved count.
35
35
  *
36
36
  * @param {Arcmira.monitors.AddTrackersRequest} request
37
37
  * @param {TrackersClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -134,7 +134,7 @@ class TrackersClient {
134
134
  });
135
135
  }
136
136
  /**
137
- * Attaches EXISTING trackers to the monitor by id ({ tracker_ids: ["trk_..."] }). It does not create trackers: create them first via POST /v1/trackers, then attach. Attached trackers use the monitor's delivery settings. Supply 1 to 90 IDs. Duplicate IDs count once. Every ID must belong to the account; a missing or foreign ID returns tracker_not_found and none are attached. attached_count reports the unique attached count.
137
+ * Moves the account's trackers into this monitor by id ({ tracker_ids: ["trk_..."] }), out of the monitors they are in. A tracker always sits in one monitor and alerts through its delivery settings. It does not create trackers: POST /v1/monitors/{id}/entities does. Supply 1 to 90 IDs. Duplicate IDs count once. Every ID must belong to the account; a missing or foreign ID returns tracker_not_found and none move. attached_count reports the unique moved count.
138
138
  *
139
139
  * @param {Arcmira.monitors.AddTrackersRequest} request
140
140
  * @param {TrackersClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -11,6 +11,6 @@ export interface AddTrackersRequest {
11
11
  id: string;
12
12
  /** One key per intent, 1 to 255 printable ASCII characters (0x21 to 0x7E); anything else is 400 invalid_idempotency_key. Keys are scoped to the account, credential and resource family. The same key and normalized method, path and body returns the committed response with Idempotency-Replayed: true. A changed intent within the same family returns 409 idempotency_conflict. Monitor and tracker families have independent namespaces. Secret recovery is limited as described by the operation. */
13
13
  "Idempotency-Key"?: string;
14
- /** Ids of existing trackers ("trk_...") to attach to this monitor. Create trackers first via POST /v1/trackers. At most 90 IDs per request; duplicates count once. All IDs must belong to the account or none are attached. */
14
+ /** Ids of the account's trackers ("trk_...") to move into this monitor from the monitors they are in. At most 90 IDs per request; duplicates count once. All IDs must belong to the account or none move. */
15
15
  tracker_ids: string[];
16
16
  }
@@ -33,32 +33,7 @@ export declare class TrackersClient {
33
33
  list(requestOptions?: TrackersClient.RequestOptions): core.HttpResponsePromise<Arcmira.TrackerListResponse>;
34
34
  private __list;
35
35
  /**
36
- * Creates a standalone tracker watching one exact name and type, matched case-insensitively against entities in newly analyzed media, so a tracker can exist before the entity is indexed. To follow an entity you already have an id for, use POST /v1/monitors/{id}/entities. A channel is followed by its YouTube channel id (UC plus 22 characters); a channel name answers 400 id_required. Attach it to a monitor afterwards via POST /v1/monitors/{id}/trackers. Creating a duplicate (same entity name + type) returns 409 tracker_already_exists with the existing tracker id in error.details.existing_id.
37
- *
38
- * @param {Arcmira.CreateTrackersRequest} request
39
- * @param {TrackersClient.RequestOptions} requestOptions - Request-specific configuration.
40
- *
41
- * @throws {@link Arcmira.BadRequestError}
42
- * @throws {@link Arcmira.UnauthorizedError}
43
- * @throws {@link Arcmira.ForbiddenError}
44
- * @throws {@link Arcmira.NotFoundError}
45
- * @throws {@link Arcmira.ConflictError}
46
- * @throws {@link Arcmira.TooManyRequestsError}
47
- * @throws {@link Arcmira.InternalServerError}
48
- * @throws {@link errors.ArcmiraError}
49
- * @throws {@link errors.ArcmiraTimeoutError}
50
- *
51
- * @example
52
- * await client.trackers.create({
53
- * "Idempotency-Key": "8b2f6c3e-4d1a-4e7b-9c05-2f6a1b7d3e90",
54
- * entity_name: "entity_name",
55
- * entity_type: "person"
56
- * })
57
- */
58
- create(request: Arcmira.CreateTrackersRequest, requestOptions?: TrackersClient.RequestOptions): core.HttpResponsePromise<Arcmira.TrackerMutationResponse>;
59
- private __create;
60
- /**
61
- * Deletes the tracker. Cannot be undone.
36
+ * Deletes the tracker. Cannot be undone. Its monitor stays, with its delivery settings, even when this was its last tracker.
62
37
  *
63
38
  * @param {Arcmira.DeleteTrackersRequest} request
64
39
  * @param {TrackersClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -82,7 +57,7 @@ export declare class TrackersClient {
82
57
  delete(request: Arcmira.DeleteTrackersRequest, requestOptions?: TrackersClient.RequestOptions): core.HttpResponsePromise<Arcmira.MessageResponse>;
83
58
  private __delete;
84
59
  /**
85
- * Partial update: send only the fields to change. The tracked entity itself (entity_name/entity_type) is immutable; delete and recreate to watch a different entity.
60
+ * Partial update: send only the fields to change. The tracked entity itself (entity_name/entity_type) is immutable; delete and recreate to watch a different entity. Delivery is the monitor's: change it with PATCH /v1/monitors/{id}.
86
61
  *
87
62
  * @param {Arcmira.UpdateTrackersRequest} request
88
63
  * @param {TrackersClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -137,83 +137,7 @@ class TrackersClient {
137
137
  });
138
138
  }
139
139
  /**
140
- * Creates a standalone tracker watching one exact name and type, matched case-insensitively against entities in newly analyzed media, so a tracker can exist before the entity is indexed. To follow an entity you already have an id for, use POST /v1/monitors/{id}/entities. A channel is followed by its YouTube channel id (UC plus 22 characters); a channel name answers 400 id_required. Attach it to a monitor afterwards via POST /v1/monitors/{id}/trackers. Creating a duplicate (same entity name + type) returns 409 tracker_already_exists with the existing tracker id in error.details.existing_id.
141
- *
142
- * @param {Arcmira.CreateTrackersRequest} request
143
- * @param {TrackersClient.RequestOptions} requestOptions - Request-specific configuration.
144
- *
145
- * @throws {@link Arcmira.BadRequestError}
146
- * @throws {@link Arcmira.UnauthorizedError}
147
- * @throws {@link Arcmira.ForbiddenError}
148
- * @throws {@link Arcmira.NotFoundError}
149
- * @throws {@link Arcmira.ConflictError}
150
- * @throws {@link Arcmira.TooManyRequestsError}
151
- * @throws {@link Arcmira.InternalServerError}
152
- * @throws {@link errors.ArcmiraError}
153
- * @throws {@link errors.ArcmiraTimeoutError}
154
- *
155
- * @example
156
- * await client.trackers.create({
157
- * "Idempotency-Key": "8b2f6c3e-4d1a-4e7b-9c05-2f6a1b7d3e90",
158
- * entity_name: "entity_name",
159
- * entity_type: "person"
160
- * })
161
- */
162
- create(request, requestOptions) {
163
- return core.HttpResponsePromise.fromPromise(this.__create(request, requestOptions));
164
- }
165
- __create(request, requestOptions) {
166
- return __awaiter(this, void 0, void 0, function* () {
167
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
168
- const { "Idempotency-Key": idempotencyKey } = request, _body = __rest(request, ["Idempotency-Key"]);
169
- const _authRequest = yield this._options.authProvider.getAuthRequest();
170
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "Idempotency-Key": idempotencyKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
171
- const _response = yield core.fetcher({
172
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ArcmiraEnvironment.Default, "v1/trackers"),
173
- method: "POST",
174
- headers: _headers,
175
- contentType: "application/json",
176
- queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
177
- requestType: "json",
178
- body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(_body, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
179
- timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
180
- maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
181
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
182
- fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
183
- logging: this._options.logging,
184
- });
185
- if (_response.ok) {
186
- return { data: _response.body, rawResponse: _response.rawResponse };
187
- }
188
- if (_response.error.reason === "status-code") {
189
- switch (_response.error.statusCode) {
190
- case 400:
191
- throw new Arcmira.BadRequestError(_response.error.body, _response.rawResponse);
192
- case 401:
193
- throw new Arcmira.UnauthorizedError(_response.error.body, _response.rawResponse);
194
- case 403:
195
- throw new Arcmira.ForbiddenError(_response.error.body, _response.rawResponse);
196
- case 404:
197
- throw new Arcmira.NotFoundError(_response.error.body, _response.rawResponse);
198
- case 409:
199
- throw new Arcmira.ConflictError(_response.error.body, _response.rawResponse);
200
- case 429:
201
- throw new Arcmira.TooManyRequestsError(_response.error.body, _response.rawResponse);
202
- case 500:
203
- throw new Arcmira.InternalServerError(_response.error.body, _response.rawResponse);
204
- default:
205
- throw new errors.ArcmiraError({
206
- statusCode: _response.error.statusCode,
207
- body: _response.error.body,
208
- rawResponse: _response.rawResponse,
209
- });
210
- }
211
- }
212
- return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/trackers");
213
- });
214
- }
215
- /**
216
- * Deletes the tracker. Cannot be undone.
140
+ * Deletes the tracker. Cannot be undone. Its monitor stays, with its delivery settings, even when this was its last tracker.
217
141
  *
218
142
  * @param {Arcmira.DeleteTrackersRequest} request
219
143
  * @param {TrackersClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -285,7 +209,7 @@ class TrackersClient {
285
209
  });
286
210
  }
287
211
  /**
288
- * Partial update: send only the fields to change. The tracked entity itself (entity_name/entity_type) is immutable; delete and recreate to watch a different entity.
212
+ * Partial update: send only the fields to change. The tracked entity itself (entity_name/entity_type) is immutable; delete and recreate to watch a different entity. Delivery is the monitor's: change it with PATCH /v1/monitors/{id}.
289
213
  *
290
214
  * @param {Arcmira.UpdateTrackersRequest} request
291
215
  * @param {TrackersClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -12,18 +12,6 @@ export interface UpdateTrackersRequest {
12
12
  "Idempotency-Key"?: string;
13
13
  /** Optional label shown in alerts and the dashboard. */
14
14
  display_name?: string;
15
- /** Per-tracker email delivery. Default true. */
16
- notify_email?: boolean;
17
- /** Per-tracker webhook delivery override. Paid plans only. */
18
- notify_webhook?: boolean;
19
- /** Per-tracker Slack delivery override. Paid plans only. */
20
- notify_slack?: boolean;
21
- /** Per-tracker webhook destination override (http/https). */
22
- webhook_url?: string;
23
- /** Per-tracker Slack channel override. */
24
- slack_channel_id?: string;
25
- /** Per-tracker Slack integration override. */
26
- slack_integration_id?: string;
27
15
  /** Person trackers only. Mentions (default) matches others talking about the person; appearances matches the person present as a speaker, host or guest; both accepts either. Non-person trackers reject this field. PATCH changes future and pending delivery eligibility, without backfill. */
28
16
  person_match_mode?: UpdateTrackersRequest.PersonMatchMode;
29
17
  /** Stored filter object. personMatchMode is also accepted here for person trackers. Other filter keys are retained; do not assume they change matching. */
@@ -1,3 +1,2 @@
1
- export { CreateTrackersRequest } from "./CreateTrackersRequest.js";
2
1
  export type { DeleteTrackersRequest } from "./DeleteTrackersRequest.js";
3
2
  export { UpdateTrackersRequest } from "./UpdateTrackersRequest.js";
@@ -1,7 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateTrackersRequest = exports.CreateTrackersRequest = void 0;
4
- var CreateTrackersRequest_js_1 = require("./CreateTrackersRequest.js");
5
- Object.defineProperty(exports, "CreateTrackersRequest", { enumerable: true, get: function () { return CreateTrackersRequest_js_1.CreateTrackersRequest; } });
3
+ exports.UpdateTrackersRequest = void 0;
6
4
  var UpdateTrackersRequest_js_1 = require("./UpdateTrackersRequest.js");
7
5
  Object.defineProperty(exports, "UpdateTrackersRequest", { enumerable: true, get: function () { return UpdateTrackersRequest_js_1.UpdateTrackersRequest; } });
@@ -6,8 +6,8 @@ export interface Alert {
6
6
  id: string;
7
7
  /** Id of the tracker (tracked entity) that produced the alert. */
8
8
  tracker_id: string | null;
9
- /** Id of the monitor the tracker belongs to. Null for trackers outside a monitor. */
10
- monitor_id: string | null;
9
+ /** Id of the monitor whose delivery sent the alert. */
10
+ monitor_id: string;
11
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. */
12
12
  entity_id: string | null;
13
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. */
@@ -34,7 +34,7 @@ export interface Alert {
34
34
  created_at: string;
35
35
  /** The tracker the alert belongs to. Fields are null when the tracker was deleted. */
36
36
  tracker: Alert.Tracker;
37
- /** The monitor the tracker belongs to. Null for trackers outside a monitor. */
37
+ /** The monitor the tracker belongs to. Null when that monitor was deleted. */
38
38
  monitor: Alert.Monitor | null;
39
39
  }
40
40
  export declare namespace Alert {
@@ -57,7 +57,7 @@ export declare namespace Alert {
57
57
  display_name: string | null;
58
58
  }
59
59
  /**
60
- * The monitor the tracker belongs to. Null for trackers outside a monitor.
60
+ * The monitor the tracker belongs to. Null when that monitor was deleted.
61
61
  */
62
62
  interface Monitor {
63
63
  /** Monitor id. */
@@ -114,12 +114,6 @@ export declare namespace ChannelSponsorsResponse {
114
114
  */
115
115
  interface Details {
116
116
  quote?: Arcmira.RefusedQuote | undefined;
117
- /** On tracker_already_exists, the existing tracker id. Reuse it instead of creating another tracker. */
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;
123
117
  }
124
118
  }
125
119
  }
@@ -143,12 +143,6 @@ export declare namespace EntityMomentumResponse {
143
143
  */
144
144
  interface Details {
145
145
  quote?: Arcmira.RefusedQuote | undefined;
146
- /** On tracker_already_exists, the existing tracker id. Reuse it instead of creating another tracker. */
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;
152
146
  }
153
147
  }
154
148
  }
@@ -88,12 +88,6 @@ export declare namespace Error_ {
88
88
  */
89
89
  interface Details {
90
90
  quote?: Arcmira.RefusedQuote | undefined;
91
- /** On tracker_already_exists, the existing tracker id. Reuse it instead of creating another tracker. */
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;
97
91
  }
98
92
  }
99
93
  }
@@ -8,10 +8,14 @@ export interface MeResponse {
8
8
  key_label: string | null;
9
9
  /** How the request authenticated: account_key is an arc_sk_ key, oauth is a token from a connected client, session is a signed-in browser. */
10
10
  credential_kind: MeResponse.CredentialKind;
11
- /** The account email with the local part masked after its first character, e.g. z***@example.com. Null when the account has none. */
11
+ /** The email of the person calling (user_id), with the local part masked after its first character, e.g. z***@example.com. Null when the person has none. */
12
12
  email_masked: string | null;
13
13
  /** ISO 8601 time the plan credits reset: 00:00 UTC on the first of next month, on every plan. */
14
14
  period_resets_at: string;
15
+ /** The account whose credits and plan this request uses. user_id is the person; this is who pays. */
16
+ account: MeResponse.Account;
17
+ /** The person's role on the account: owner of their own account, or admin or member of a team. */
18
+ role: MeResponse.Role;
15
19
  /** Plan tier, e.g. free, pro, pro_plus, ultra, enterprise. */
16
20
  tier: string;
17
21
  /** Scopes granted to this API key, e.g. read, monitors:write, trackers:write, recommendations:read. */
@@ -31,10 +35,38 @@ export declare namespace MeResponse {
31
35
  readonly Session: "session";
32
36
  };
33
37
  type CredentialKind = (typeof CredentialKind)[keyof typeof CredentialKind];
38
+ /**
39
+ * The account whose credits and plan this request uses. user_id is the person; this is who pays.
40
+ */
41
+ interface Account {
42
+ /** Id of the account this request spends: the person's own account, or the team account a key or OAuth token was made in. */
43
+ id: string;
44
+ /** The team name when the account is a team, else the account holder's name. Null when the account has no name. */
45
+ name: string | null;
46
+ /** team when the account is a team, personal otherwise. */
47
+ kind: Account.Kind;
48
+ /** The account's plan tier, the same value as tier. */
49
+ plan: string;
50
+ }
51
+ namespace Account {
52
+ /** team when the account is a team, personal otherwise. */
53
+ const Kind: {
54
+ readonly Personal: "personal";
55
+ readonly Team: "team";
56
+ };
57
+ type Kind = (typeof Kind)[keyof typeof Kind];
58
+ }
59
+ /** The person's role on the account: owner of their own account, or admin or member of a team. */
60
+ const Role: {
61
+ readonly Owner: "owner";
62
+ readonly Admin: "admin";
63
+ readonly Member: "member";
64
+ };
65
+ type Role = (typeof Role)[keyof typeof Role];
34
66
  interface Usage {
35
67
  /** Plan credits used this month, in rows (a row is 4 credits): usage.credits.plan.used divided by 4, rounded up. */
36
68
  rows_used: number;
37
- /** Credits left from the plan, grants and top-ups, on-demand excluded, in rows (a row is 4 credits): divided by 4, rounded up. */
69
+ /** Credits left from the plan and grants, on-demand excluded, in rows (a row is 4 credits): divided by 4, rounded up. */
38
70
  rows_remaining: number;
39
71
  /** Plan credits a month, in rows (a row is 4 credits): usage.credits.plan.credits divided by 4 when the plan has a limit. */
40
72
  monthly_rows: number;
@@ -48,13 +80,11 @@ export declare namespace MeResponse {
48
80
  * 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
81
  */
50
82
  interface Credits {
51
- /** Credits spendable now: plan, granted, purchased, and on-demand up to its cap. Null when nothing limits it. */
83
+ /** Credits spendable now: plan, granted, and on-demand up to its cap. Null when nothing limits it. */
52
84
  available: number | null;
53
85
  plan: Credits.Plan;
54
86
  /** Credits left in granted lots that have not expired. */
55
87
  granted: number;
56
- /** Credits left in purchased top-ups. */
57
- purchased: number;
58
88
  on_demand: Credits.OnDemand;
59
89
  }
60
90
  namespace Credits {
@@ -10,4 +10,18 @@ var MeResponse;
10
10
  Oauth: "oauth",
11
11
  Session: "session",
12
12
  };
13
+ let Account;
14
+ (function (Account) {
15
+ /** team when the account is a team, personal otherwise. */
16
+ Account.Kind = {
17
+ Personal: "personal",
18
+ Team: "team",
19
+ };
20
+ })(Account = MeResponse.Account || (MeResponse.Account = {}));
21
+ /** The person's role on the account: owner of their own account, or admin or member of a team. */
22
+ MeResponse.Role = {
23
+ Owner: "owner",
24
+ Admin: "admin",
25
+ Member: "member",
26
+ };
13
27
  })(MeResponse || (exports.MeResponse = MeResponse = {}));