sinfactura-types 1.10.595 → 1.10.596

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 (2) hide show
  1. package/dist/auth.d.ts +13 -2
  2. package/package.json +1 -1
package/dist/auth.d.ts CHANGED
@@ -1183,11 +1183,22 @@ declare global {
1183
1183
  /** Whether TOTP is enrolled. Derived; never the secret's handle. */
1184
1184
  twoFactorEnabled: boolean;
1185
1185
  /**
1186
- * How many live (non-revoked) passkeys the user holds; `0` when none. A
1187
- * floor if the store-wide read was cut short — the server logs that case.
1186
+ * How many live (non-revoked) passkeys the user holds; `0` when none.
1187
+ * A lower bound when `data.passkeyCountsTruncated` is present.
1188
1188
  */
1189
1189
  passkeyCount: number;
1190
1190
  }
1191
+ /** `GET /platform/users` envelope; omitted flags mean the corresponding read is complete. */
1192
+ interface PlatformUsersResponse {
1193
+ message: string;
1194
+ data: {
1195
+ users: PlatformUserSummary[];
1196
+ /** The passkey counts are lower bounds; independent of user-list completeness. */
1197
+ passkeyCountsTruncated?: true;
1198
+ };
1199
+ /** The user list is incomplete; independent of passkey-count completeness. */
1200
+ truncated?: true;
1201
+ }
1191
1202
  }
1192
1203
  /**
1193
1204
  * `body.error` codes the sign-in-method paths can refuse with.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sinfactura-types",
3
- "version": "1.10.595",
3
+ "version": "1.10.596",
4
4
  "description": "Shared wire and entity contracts for the SINFACTURA platform.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",