@openrouter/sdk 1.5.126 → 1.5.127

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.
@@ -12,9 +12,7 @@ import { Result } from "../types/fp.js";
12
12
  * Start a SCIM directory sync
13
13
  *
14
14
  * @remarks
15
- * Start a SCIM directory sync. Disabled: no API key can perform this write, including management keys. Use the organization settings in the dashboard, which require step-up verification. A valid management key for an organization with SCIM access receives 403; an invalid key still receives 401 and an organization without SCIM access receives 404.
16
- *
17
- * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
15
+ * Start a SCIM directory sync. [Management key](/docs/guides/overview/auth/management-api-keys) required.
18
16
  */
19
17
  export declare function scimCreateSyncJob(client: OpenRouterCore, request?: operations.CreateScimSyncJobRequest | undefined, options?: RequestOptions): APIPromise<Result<operations.CreateScimSyncJobResponse, errors.UnauthorizedResponseError | errors.ForbiddenResponseError | errors.NotFoundResponseError | errors.InternalServerResponseError | OpenRouterError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
20
18
  //# sourceMappingURL=scimCreateSyncJob.d.ts.map
@@ -15,9 +15,7 @@ import { APIPromise } from "../types/async.js";
15
15
  * Start a SCIM directory sync
16
16
  *
17
17
  * @remarks
18
- * Start a SCIM directory sync. Disabled: no API key can perform this write, including management keys. Use the organization settings in the dashboard, which require step-up verification. A valid management key for an organization with SCIM access receives 403; an invalid key still receives 401 and an organization without SCIM access receives 404.
19
- *
20
- * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
18
+ * Start a SCIM directory sync. [Management key](/docs/guides/overview/auth/management-api-keys) required.
21
19
  */
22
20
  export function scimCreateSyncJob(client, request, options) {
23
21
  return new APIPromise($do(client, request, options));
@@ -13,9 +13,7 @@ import { Result } from "../types/fp.js";
13
13
  * Delete a SCIM group mapping
14
14
  *
15
15
  * @remarks
16
- * Delete a SCIM group-to-workspace mapping. Disabled: no API key can perform this write, including management keys. Use the organization settings in the dashboard, which require step-up verification. A valid management key for an organization with SCIM access receives 403; an invalid key still receives 401 and an organization without SCIM access receives 404.
17
- *
18
- * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
16
+ * Delete a SCIM group-to-workspace mapping. [Management key](/docs/guides/overview/auth/management-api-keys) required.
19
17
  */
20
18
  export declare function scimDelete(client: OpenRouterCore, request: operations.DeleteScimGroupMappingRequest, options?: RequestOptions): APIPromise<Result<models.DeleteScimGroupMappingResponse, errors.BadRequestResponseError | errors.UnauthorizedResponseError | errors.ForbiddenResponseError | errors.NotFoundResponseError | errors.InternalServerResponseError | OpenRouterError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
21
19
  //# sourceMappingURL=scimDelete.d.ts.map
@@ -16,9 +16,7 @@ import { APIPromise } from "../types/async.js";
16
16
  * Delete a SCIM group mapping
17
17
  *
18
18
  * @remarks
19
- * Delete a SCIM group-to-workspace mapping. Disabled: no API key can perform this write, including management keys. Use the organization settings in the dashboard, which require step-up verification. A valid management key for an organization with SCIM access receives 403; an invalid key still receives 401 and an organization without SCIM access receives 404.
20
- *
21
- * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
19
+ * Delete a SCIM group-to-workspace mapping. [Management key](/docs/guides/overview/auth/management-api-keys) required.
22
20
  */
23
21
  export function scimDelete(client, request, options) {
24
22
  return new APIPromise($do(client, request, options));
@@ -13,9 +13,7 @@ import { Result } from "../types/fp.js";
13
13
  * Update a SCIM group mapping
14
14
  *
15
15
  * @remarks
16
- * Update a SCIM group mapping role. Disabled: no API key can perform this write, including management keys. Use the organization settings in the dashboard, which require step-up verification. A valid management key for an organization with SCIM access receives 403; an invalid key still receives 401 and an organization without SCIM access receives 404.
17
- *
18
- * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
16
+ * Update a SCIM group mapping role. [Management key](/docs/guides/overview/auth/management-api-keys) required.
19
17
  */
20
18
  export declare function scimUpdate(client: OpenRouterCore, request: operations.UpdateScimGroupMappingRequest, options?: RequestOptions): APIPromise<Result<models.UpdateScimGroupMappingResponse, errors.BadRequestResponseError | errors.UnauthorizedResponseError | errors.ForbiddenResponseError | errors.NotFoundResponseError | errors.InternalServerResponseError | OpenRouterError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
21
19
  //# sourceMappingURL=scimUpdate.d.ts.map
@@ -16,9 +16,7 @@ import { APIPromise } from "../types/async.js";
16
16
  * Update a SCIM group mapping
17
17
  *
18
18
  * @remarks
19
- * Update a SCIM group mapping role. Disabled: no API key can perform this write, including management keys. Use the organization settings in the dashboard, which require step-up verification. A valid management key for an organization with SCIM access receives 403; an invalid key still receives 401 and an organization without SCIM access receives 404.
20
- *
21
- * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
19
+ * Update a SCIM group mapping role. [Management key](/docs/guides/overview/auth/management-api-keys) required.
22
20
  */
23
21
  export function scimUpdate(client, request, options) {
24
22
  return new APIPromise($do(client, request, options));
@@ -49,8 +49,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
49
49
  export declare const SDK_METADATA: {
50
50
  readonly language: "typescript";
51
51
  readonly openapiDocVersion: "1.0.0";
52
- readonly sdkVersion: "1.5.126";
52
+ readonly sdkVersion: "1.5.127";
53
53
  readonly genVersion: "2.960.8";
54
- readonly userAgent: "speakeasy-sdk/typescript 1.5.126 2.960.8 1.0.0 @openrouter/sdk";
54
+ readonly userAgent: "speakeasy-sdk/typescript 1.5.127 2.960.8 1.0.0 @openrouter/sdk";
55
55
  };
56
56
  //# sourceMappingURL=config.d.ts.map
package/esm/lib/config.js CHANGED
@@ -25,8 +25,8 @@ export function serverURLFromOptions(options) {
25
25
  export const SDK_METADATA = {
26
26
  language: "typescript",
27
27
  openapiDocVersion: "1.0.0",
28
- sdkVersion: "1.5.126",
28
+ sdkVersion: "1.5.127",
29
29
  genVersion: "2.960.8",
30
- userAgent: "speakeasy-sdk/typescript 1.5.126 2.960.8 1.0.0 @openrouter/sdk",
30
+ userAgent: "speakeasy-sdk/typescript 1.5.127 2.960.8 1.0.0 @openrouter/sdk",
31
31
  };
32
32
  //# sourceMappingURL=config.js.map
package/esm/sdk/scim.d.ts CHANGED
@@ -25,9 +25,7 @@ export declare class Scim extends ClientSDK {
25
25
  * Delete a SCIM group mapping
26
26
  *
27
27
  * @remarks
28
- * Delete a SCIM group-to-workspace mapping. Disabled: no API key can perform this write, including management keys. Use the organization settings in the dashboard, which require step-up verification. A valid management key for an organization with SCIM access receives 403; an invalid key still receives 401 and an organization without SCIM access receives 404.
29
- *
30
- * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
28
+ * Delete a SCIM group-to-workspace mapping. [Management key](/docs/guides/overview/auth/management-api-keys) required.
31
29
  */
32
30
  delete(request: operations.DeleteScimGroupMappingRequest, options?: RequestOptions): Promise<models.DeleteScimGroupMappingResponse>;
33
31
  /**
@@ -41,9 +39,7 @@ export declare class Scim extends ClientSDK {
41
39
  * Update a SCIM group mapping
42
40
  *
43
41
  * @remarks
44
- * Update a SCIM group mapping role. Disabled: no API key can perform this write, including management keys. Use the organization settings in the dashboard, which require step-up verification. A valid management key for an organization with SCIM access receives 403; an invalid key still receives 401 and an organization without SCIM access receives 404.
45
- *
46
- * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
42
+ * Update a SCIM group mapping role. [Management key](/docs/guides/overview/auth/management-api-keys) required.
47
43
  */
48
44
  update(request: operations.UpdateScimGroupMappingRequest, options?: RequestOptions): Promise<models.UpdateScimGroupMappingResponse>;
49
45
  /**
@@ -59,9 +55,7 @@ export declare class Scim extends ClientSDK {
59
55
  * Start a SCIM directory sync
60
56
  *
61
57
  * @remarks
62
- * Start a SCIM directory sync. Disabled: no API key can perform this write, including management keys. Use the organization settings in the dashboard, which require step-up verification. A valid management key for an organization with SCIM access receives 403; an invalid key still receives 401 and an organization without SCIM access receives 404.
63
- *
64
- * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
58
+ * Start a SCIM directory sync. [Management key](/docs/guides/overview/auth/management-api-keys) required.
65
59
  */
66
60
  createSyncJob(request?: operations.CreateScimSyncJobRequest | undefined, options?: RequestOptions): Promise<operations.CreateScimSyncJobResponse>;
67
61
  /**
package/esm/sdk/scim.js CHANGED
@@ -37,9 +37,7 @@ export class Scim extends ClientSDK {
37
37
  * Delete a SCIM group mapping
38
38
  *
39
39
  * @remarks
40
- * Delete a SCIM group-to-workspace mapping. Disabled: no API key can perform this write, including management keys. Use the organization settings in the dashboard, which require step-up verification. A valid management key for an organization with SCIM access receives 403; an invalid key still receives 401 and an organization without SCIM access receives 404.
41
- *
42
- * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
40
+ * Delete a SCIM group-to-workspace mapping. [Management key](/docs/guides/overview/auth/management-api-keys) required.
43
41
  */
44
42
  async delete(request, options) {
45
43
  return unwrapAsync(scimDelete(this, request, options));
@@ -57,9 +55,7 @@ export class Scim extends ClientSDK {
57
55
  * Update a SCIM group mapping
58
56
  *
59
57
  * @remarks
60
- * Update a SCIM group mapping role. Disabled: no API key can perform this write, including management keys. Use the organization settings in the dashboard, which require step-up verification. A valid management key for an organization with SCIM access receives 403; an invalid key still receives 401 and an organization without SCIM access receives 404.
61
- *
62
- * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
58
+ * Update a SCIM group mapping role. [Management key](/docs/guides/overview/auth/management-api-keys) required.
63
59
  */
64
60
  async update(request, options) {
65
61
  return unwrapAsync(scimUpdate(this, request, options));
@@ -77,9 +73,7 @@ export class Scim extends ClientSDK {
77
73
  * Start a SCIM directory sync
78
74
  *
79
75
  * @remarks
80
- * Start a SCIM directory sync. Disabled: no API key can perform this write, including management keys. Use the organization settings in the dashboard, which require step-up verification. A valid management key for an organization with SCIM access receives 403; an invalid key still receives 401 and an organization without SCIM access receives 404.
81
- *
82
- * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
76
+ * Start a SCIM directory sync. [Management key](/docs/guides/overview/auth/management-api-keys) required.
83
77
  */
84
78
  async createSyncJob(request, options) {
85
79
  return unwrapAsync(scimCreateSyncJob(this, request, options));
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "@openrouter/sdk",
5
- "version": "1.5.126",
5
+ "version": "1.5.127",
6
6
  "exports": {
7
7
  ".": "./src/index.ts",
8
8
  "./models/errors": "./src/models/errors/index.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openrouter/sdk",
3
- "version": "1.5.126",
3
+ "version": "1.5.127",
4
4
  "author": "OpenRouter",
5
5
  "description": "The OpenRouter TypeScript SDK is a type-safe toolkit for building AI applications with access to 400+ language models through a unified API.",
6
6
  "keywords": [
@@ -73,15 +73,15 @@
73
73
  "lint": "eslint --cache --max-warnings=0 src",
74
74
  "build": "node --max-old-space-size=8192 ./node_modules/typescript/bin/tsc && node scripts/unbarrel-imports.js",
75
75
  "prepublishOnly": "npm run build",
76
+ "typecheck": "tsc --noEmit",
77
+ "typecheck:transit": "exit 0",
78
+ "postinstall": "node scripts/check-types.js || true",
76
79
  "test:e2e": "vitest --run --project e2e",
77
80
  "test:transit": "exit 0",
78
81
  "test:watch": "vitest --watch --project unit",
79
- "typecheck": "tsc --noEmit",
80
- "test": "vitest --run --project unit",
81
- "typecheck:transit": "exit 0",
82
82
  "compile": "node --max-old-space-size=8192 ./node_modules/typescript/bin/tsc && node scripts/unbarrel-imports.js",
83
- "postinstall": "node scripts/check-types.js || true",
84
- "prepare": "npm run build"
83
+ "prepare": "npm run build",
84
+ "test": "vitest --run --project unit"
85
85
  },
86
86
  "peerDependencies": {
87
87