@faable/auth-sdk 2.4.18 → 2.4.20

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.
@@ -20,6 +20,7 @@ export type ClientMetadataCreate = components["schemas"]["ClientMetadataCreate"]
20
20
  export type ClientRegistrationRequest = components["schemas"]["ClientRegistrationRequest"];
21
21
  export type ClientRegistrationResponse = components["schemas"]["ClientRegistrationResponse"];
22
22
  export type ClientUpdate = components["schemas"]["ClientUpdate"];
23
+ export type ClientUpdateMetadata = components["schemas"]["ClientUpdateMetadata"];
23
24
  export type Connection = components["schemas"]["Connection"];
24
25
  export type ConnectionCreate = components["schemas"]["ConnectionCreate"];
25
26
  export type ConnectionMetadata = components["schemas"]["ConnectionMetadata"];
@@ -1945,6 +1945,20 @@ export interface components {
1945
1945
  software_version?: string | null;
1946
1946
  frontchannel_logout_uri?: string | null;
1947
1947
  frontchannel_logout_session_required?: boolean;
1948
+ /**
1949
+ * @description Free-form client metadata. Replaces the whole object — send the full merged value, not a partial delta.
1950
+ * @default {}
1951
+ */
1952
+ metadata: {
1953
+ [key: string]: unknown;
1954
+ };
1955
+ };
1956
+ /**
1957
+ * @description Free-form client metadata. Replaces the whole object — send the full merged value, not a partial delta.
1958
+ * @default {}
1959
+ */
1960
+ ClientUpdateMetadata: {
1961
+ [key: string]: unknown;
1948
1962
  };
1949
1963
  /** @description User */
1950
1964
  User: {
@@ -4324,6 +4338,13 @@ export interface operations {
4324
4338
  software_version?: string | null;
4325
4339
  frontchannel_logout_uri?: string | null;
4326
4340
  frontchannel_logout_session_required?: boolean;
4341
+ /**
4342
+ * @description Free-form client metadata. Replaces the whole object — send the full merged value, not a partial delta.
4343
+ * @default {}
4344
+ */
4345
+ metadata?: {
4346
+ [key: string]: unknown;
4347
+ };
4327
4348
  };
4328
4349
  };
4329
4350
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faable/auth-sdk",
3
- "version": "2.4.18",
3
+ "version": "2.4.20",
4
4
  "author": "Marc Pomar <marc@faable.com>",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/spec/openapi.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "info": {
4
4
  "title": "@faablecloud/auth",
5
5
  "description": "Auth Platform made by Faable. Manage Users and Roles",
6
- "version": "1.25.1",
6
+ "version": "1.26.1",
7
7
  "license": {
8
8
  "name": "private",
9
9
  "url": "https://faable.com/docs/platform/privacy-policy"
@@ -1072,11 +1072,25 @@
1072
1072
  },
1073
1073
  "frontchannel_logout_session_required": {
1074
1074
  "type": "boolean"
1075
+ },
1076
+ "metadata": {
1077
+ "type": "object",
1078
+ "properties": {},
1079
+ "additionalProperties": true,
1080
+ "description": "Free-form client metadata. Replaces the whole object — send the full merged value, not a partial delta.",
1081
+ "default": {}
1075
1082
  }
1076
1083
  },
1077
1084
  "description": "Partial update for a Client. Only the supplied fields are modified. `client_id` and `client_secret` are not editable through this endpoint to prevent accidental rotation; use a dedicated endpoint when secret rotation is added.",
1078
1085
  "additionalProperties": false
1079
1086
  },
1087
+ "ClientUpdateMetadata": {
1088
+ "type": "object",
1089
+ "properties": {},
1090
+ "additionalProperties": true,
1091
+ "description": "Free-form client metadata. Replaces the whole object — send the full merged value, not a partial delta.",
1092
+ "default": {}
1093
+ },
1080
1094
  "User": {
1081
1095
  "type": "object",
1082
1096
  "required": [
@@ -7429,6 +7443,13 @@
7429
7443
  },
7430
7444
  "frontchannel_logout_session_required": {
7431
7445
  "type": "boolean"
7446
+ },
7447
+ "metadata": {
7448
+ "type": "object",
7449
+ "properties": {},
7450
+ "additionalProperties": true,
7451
+ "description": "Free-form client metadata. Replaces the whole object — send the full merged value, not a partial delta.",
7452
+ "default": {}
7432
7453
  }
7433
7454
  },
7434
7455
  "description": "Partial update for a Client. Only the supplied fields are modified. `client_id` and `client_secret` are not editable through this endpoint to prevent accidental rotation; use a dedicated endpoint when secret rotation is added.",