arcmira 0.6.0 → 0.6.1

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 CHANGED
@@ -260,7 +260,7 @@ Every dated command takes `--after` (inclusive) and `--before` (exclusive), as a
260
260
 
261
261
  ## Development
262
262
 
263
- `src/` is generated from the Arcmira OpenAPI document by [Fern](https://github.com/fern-api/fern); do not edit it by hand, a regeneration overwrites it. `cli/` (except `cli/operations.ts`), `tests/` and this file are hand-written. `npm test` builds and runs the tests against a local fake of the API (`tests/fake-v1.mjs`, bodies in `tests/fixtures/v1.json`).
263
+ `src/` is generated from the Arcmira OpenAPI document by [Fern](https://github.com/fern-api/fern); do not edit it by hand, a regeneration overwrites it. `cli/` (except `cli/operations.ts`), `tests/` (except `tests/fixtures/v1.json`) and this file are hand-written. `npm test` builds and runs the tests against a local fake of the API (`tests/fake-v1.mjs`, bodies in `tests/fixtures/v1.json`, written from `fern/openapi.json` by `scripts/build-fixtures.py`).
264
264
 
265
265
  ## License
266
266
 
@@ -268,7 +268,7 @@ Apache-2.0. See [LICENSE](./LICENSE).
268
268
 
269
269
  ## Regenerate the SDK
270
270
 
271
- Run `npm run generate -- <path to arcmira-v1.json>` with Node 22 or newer, Python 3, Docker, and Fern access for the `arcmira` organization. It vendors the spec into `fern/openapi.json` (omit the path to reuse the vendored copy), pins Fern CLI 5.131.1 and TypeScript generator 3.96.0, disables CLI version redirection and telemetry, and regenerates `src/`, `reference.md` and `cli/operations.ts`.
271
+ Run `npm run generate -- <path to arcmira-v1.json>` with Node 22 or newer, Python 3, Docker, and Fern access for the `arcmira` organization. It vendors the spec into `fern/openapi.json` (omit the path to reuse the vendored copy), pins Fern CLI 5.131.1 and TypeScript generator 3.96.0, disables CLI version redirection and telemetry, and regenerates `src/`, `reference.md`, `cli/operations.ts` and the test fixtures.
272
272
 
273
273
  `fern/method-names.json` names the SDK group and method of every operation by its `operationId`; an operation it does not name, or a name for an operation the spec lacks, fails generation. The overlay combines success schemas into a `state` union and discovers cursor collections from their schemas. The installer rewrites the `exports` map in `package.json` from the generated resources. Unknown or ambiguous collections fail generation. An exact checked patch keeps request timer cleanup in `finally` until the pinned generator includes the fix. Generated source is never edited by hand.
274
274
 
@@ -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.6.0",
47
- "User-Agent": "arcmira/0.6.0",
46
+ "X-Fern-SDK-Version": "0.6.1",
47
+ "User-Agent": "arcmira/0.6.1",
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);
@@ -115,6 +115,8 @@ export declare namespace ChannelSponsorsResponse {
115
115
  interface Details {
116
116
  quote?: Arcmira.RefusedQuote | undefined;
117
117
  limit?: Arcmira.Limit | undefined;
118
+ /** On terms_acceptance_required: the page where the person accepts the updated Terms of Service. On terms_updated: the Terms of Service page. */
119
+ url?: string | undefined;
118
120
  }
119
121
  }
120
122
  }
@@ -159,6 +159,8 @@ export declare namespace EntityMomentumResponse {
159
159
  interface Details {
160
160
  quote?: Arcmira.RefusedQuote | undefined;
161
161
  limit?: Arcmira.Limit | undefined;
162
+ /** On terms_acceptance_required: the page where the person accepts the updated Terms of Service. On terms_updated: the Terms of Service page. */
163
+ url?: string | undefined;
162
164
  }
163
165
  }
164
166
  /**
@@ -89,6 +89,8 @@ export declare namespace Error_ {
89
89
  interface Details {
90
90
  quote?: Arcmira.RefusedQuote | undefined;
91
91
  limit?: Arcmira.Limit | undefined;
92
+ /** On terms_acceptance_required: the page where the person accepts the updated Terms of Service. On terms_updated: the Terms of Service page. */
93
+ url?: string | undefined;
92
94
  }
93
95
  }
94
96
  }
@@ -175,6 +175,8 @@ export declare namespace TranscriptResponse {
175
175
  interface Details {
176
176
  quote?: Arcmira.RefusedQuote | undefined;
177
177
  limit?: Arcmira.Limit | undefined;
178
+ /** On terms_acceptance_required: the page where the person accepts the updated Terms of Service. On terms_updated: the Terms of Service page. */
179
+ url?: string | undefined;
178
180
  }
179
181
  }
180
182
  }
@@ -153,6 +153,8 @@ export declare namespace TranscriptSearchResponse {
153
153
  interface Details {
154
154
  quote?: Arcmira.RefusedQuote | undefined;
155
155
  limit?: Arcmira.Limit | undefined;
156
+ /** On terms_acceptance_required: the page where the person accepts the updated Terms of Service. On terms_updated: the Terms of Service page. */
157
+ url?: string | undefined;
156
158
  }
157
159
  }
158
160
  /**
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.6.0";
1
+ export declare const SDK_VERSION = "0.6.1";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.6.0";
4
+ exports.SDK_VERSION = "0.6.1";
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
6
6
  const headers = mergeHeaders({
7
7
  "X-Fern-Language": "JavaScript",
8
8
  "X-Fern-SDK-Name": "arcmira",
9
- "X-Fern-SDK-Version": "0.6.0",
10
- "User-Agent": "arcmira/0.6.0",
9
+ "X-Fern-SDK-Version": "0.6.1",
10
+ "User-Agent": "arcmira/0.6.1",
11
11
  "X-Fern-Runtime": core.RUNTIME.type,
12
12
  "X-Fern-Runtime-Version": core.RUNTIME.version,
13
13
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -115,6 +115,8 @@ export declare namespace ChannelSponsorsResponse {
115
115
  interface Details {
116
116
  quote?: Arcmira.RefusedQuote | undefined;
117
117
  limit?: Arcmira.Limit | undefined;
118
+ /** On terms_acceptance_required: the page where the person accepts the updated Terms of Service. On terms_updated: the Terms of Service page. */
119
+ url?: string | undefined;
118
120
  }
119
121
  }
120
122
  }
@@ -159,6 +159,8 @@ export declare namespace EntityMomentumResponse {
159
159
  interface Details {
160
160
  quote?: Arcmira.RefusedQuote | undefined;
161
161
  limit?: Arcmira.Limit | undefined;
162
+ /** On terms_acceptance_required: the page where the person accepts the updated Terms of Service. On terms_updated: the Terms of Service page. */
163
+ url?: string | undefined;
162
164
  }
163
165
  }
164
166
  /**
@@ -89,6 +89,8 @@ export declare namespace Error_ {
89
89
  interface Details {
90
90
  quote?: Arcmira.RefusedQuote | undefined;
91
91
  limit?: Arcmira.Limit | undefined;
92
+ /** On terms_acceptance_required: the page where the person accepts the updated Terms of Service. On terms_updated: the Terms of Service page. */
93
+ url?: string | undefined;
92
94
  }
93
95
  }
94
96
  }
@@ -175,6 +175,8 @@ export declare namespace TranscriptResponse {
175
175
  interface Details {
176
176
  quote?: Arcmira.RefusedQuote | undefined;
177
177
  limit?: Arcmira.Limit | undefined;
178
+ /** On terms_acceptance_required: the page where the person accepts the updated Terms of Service. On terms_updated: the Terms of Service page. */
179
+ url?: string | undefined;
178
180
  }
179
181
  }
180
182
  }
@@ -153,6 +153,8 @@ export declare namespace TranscriptSearchResponse {
153
153
  interface Details {
154
154
  quote?: Arcmira.RefusedQuote | undefined;
155
155
  limit?: Arcmira.Limit | undefined;
156
+ /** On terms_acceptance_required: the page where the person accepts the updated Terms of Service. On terms_updated: the Terms of Service page. */
157
+ url?: string | undefined;
156
158
  }
157
159
  }
158
160
  /**
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.6.0";
1
+ export declare const SDK_VERSION = "0.6.1";
@@ -1 +1 @@
1
- export const SDK_VERSION = "0.6.0";
1
+ export const SDK_VERSION = "0.6.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arcmira",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "YouTube transcript search with timestamps, mentions, sponsors and recommendations. Official Arcmira TypeScript SDK and CLI.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Arcmira",