@openrouter/sdk 1.3.25 → 1.3.26

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.
@@ -31,6 +31,8 @@ async function $do(client, request, options) {
31
31
  const body = null;
32
32
  const path = pathToFunc("/scim/groups")();
33
33
  const query = encodeFormQuery({
34
+ "display_name": payload?.display_name,
35
+ "external_id": payload?.external_id,
34
36
  "limit": payload?.limit,
35
37
  "offset": payload?.offset,
36
38
  });
@@ -50,8 +50,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
50
50
  export declare const SDK_METADATA: {
51
51
  readonly language: "typescript";
52
52
  readonly openapiDocVersion: "1.0.0";
53
- readonly sdkVersion: "1.3.25";
53
+ readonly sdkVersion: "1.3.26";
54
54
  readonly genVersion: "2.914.0";
55
- readonly userAgent: "speakeasy-sdk/typescript 1.3.25 2.914.0 1.0.0 @openrouter/sdk";
55
+ readonly userAgent: "speakeasy-sdk/typescript 1.3.26 2.914.0 1.0.0 @openrouter/sdk";
56
56
  };
57
57
  //# sourceMappingURL=config.d.ts.map
package/esm/lib/config.js CHANGED
@@ -29,8 +29,8 @@ export function serverURLFromOptions(options) {
29
29
  export const SDK_METADATA = {
30
30
  language: "typescript",
31
31
  openapiDocVersion: "1.0.0",
32
- sdkVersion: "1.3.25",
32
+ sdkVersion: "1.3.26",
33
33
  genVersion: "2.914.0",
34
- userAgent: "speakeasy-sdk/typescript 1.3.25 2.914.0 1.0.0 @openrouter/sdk",
34
+ userAgent: "speakeasy-sdk/typescript 1.3.26 2.914.0 1.0.0 @openrouter/sdk",
35
35
  };
36
36
  //# sourceMappingURL=config.js.map
@@ -51,6 +51,14 @@ export type ListScimGroupsRequest = {
51
51
  * Maximum number of records to return (max 100)
52
52
  */
53
53
  limit?: number | undefined;
54
+ /**
55
+ * Exact match filter on display_name. Omitted or empty returns groups unfiltered by name (subject to offset/limit). When external_id is also present, both must match.
56
+ */
57
+ displayName?: string | undefined;
58
+ /**
59
+ * Exact match filter on external_id, e.g. the identity provider (such as Entra ID) group object ID. Omitted or empty returns groups unfiltered by external_id (subject to offset/limit). When display_name is also present, both must match.
60
+ */
61
+ externalId?: string | undefined;
54
62
  };
55
63
  export type ListScimGroupsResponse = {
56
64
  result: models.ListScimGroupsResponse;
@@ -62,6 +70,8 @@ export type ListScimGroupsRequest$Outbound = {
62
70
  appCategories?: string | undefined;
63
71
  offset: number | null;
64
72
  limit: number;
73
+ display_name?: string | undefined;
74
+ external_id?: string | undefined;
65
75
  };
66
76
  /** @internal */
67
77
  export declare const ListScimGroupsRequest$outboundSchema: z.ZodType<ListScimGroupsRequest$Outbound, ListScimGroupsRequest>;
@@ -13,9 +13,13 @@ export const ListScimGroupsRequest$outboundSchema = z.object({
13
13
  appCategories: z.string().optional(),
14
14
  offset: z.nullable(z.int().default(0)),
15
15
  limit: z.int().default(50),
16
+ displayName: z.string().optional(),
17
+ externalId: z.string().optional(),
16
18
  }).transform((v) => {
17
19
  return remap$(v, {
18
20
  httpReferer: "HTTP-Referer",
21
+ displayName: "display_name",
22
+ externalId: "external_id",
19
23
  });
20
24
  });
21
25
  export function listScimGroupsRequestToJSON(listScimGroupsRequest) {
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "@openrouter/sdk",
5
- "version": "1.3.25",
5
+ "version": "1.3.26",
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.3.25",
3
+ "version": "1.3.26",
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": [
@@ -21,8 +21,8 @@
21
21
  "license": "Apache-2.0",
22
22
  "packageManager": "pnpm@10.22.0",
23
23
  "publishConfig": {
24
- "access": "public",
25
- "provenance": true
24
+ "provenance": true,
25
+ "access": "public"
26
26
  },
27
27
  "type": "module",
28
28
  "main": "./esm/index.js",
@@ -73,15 +73,15 @@
73
73
  "lint": "eslint --cache --max-warnings=0 src",
74
74
  "build": "tsc && node scripts/unbarrel-imports.js",
75
75
  "prepublishOnly": "npm run build",
76
- "compile": "tsc && node scripts/unbarrel-imports.js",
77
- "prepare": "npm run build",
78
- "test:transit": "exit 0",
79
- "test:watch": "vitest --watch --project unit",
80
- "postinstall": "node scripts/check-types.js || true",
81
76
  "test": "vitest --run --project unit",
82
77
  "test:e2e": "vitest --run --project e2e",
83
78
  "typecheck": "tsc --noEmit",
84
- "typecheck:transit": "exit 0"
79
+ "typecheck:transit": "exit 0",
80
+ "test:transit": "exit 0",
81
+ "test:watch": "vitest --watch --project unit",
82
+ "compile": "tsc && node scripts/unbarrel-imports.js",
83
+ "postinstall": "node scripts/check-types.js || true",
84
+ "prepare": "npm run build"
85
85
  },
86
86
  "peerDependencies": {
87
87