@faable/auth-sdk 2.9.25 → 2.9.27

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.
@@ -998,6 +998,25 @@ export declare class FaableAuthApi extends GeneratedFaableAuthApi {
998
998
  grant_types?: string[] | undefined;
999
999
  response_types?: string[] | undefined;
1000
1000
  token_endpoint_auth_method?: string | undefined;
1001
+ jwks?: {
1002
+ keys: ({
1003
+ kty: string;
1004
+ kid?: string | undefined;
1005
+ use?: string | undefined;
1006
+ alg?: string | undefined;
1007
+ n?: string | undefined;
1008
+ e?: string | undefined;
1009
+ crv?: string | undefined;
1010
+ x?: string | undefined;
1011
+ y?: string | undefined;
1012
+ } & {
1013
+ [key: string]: unknown;
1014
+ })[];
1015
+ } | null | undefined;
1016
+ jwks_usage?: {
1017
+ kid: string;
1018
+ last_used_at: string;
1019
+ }[] | null | undefined;
1001
1020
  consent_required?: boolean | undefined;
1002
1021
  metadata_document_url?: string | undefined;
1003
1022
  registered_dynamically?: boolean | undefined;
@@ -1083,6 +1102,25 @@ export declare class FaableAuthApi extends GeneratedFaableAuthApi {
1083
1102
  grant_types?: string[] | undefined;
1084
1103
  response_types?: string[] | undefined;
1085
1104
  token_endpoint_auth_method?: string | undefined;
1105
+ jwks?: {
1106
+ keys: ({
1107
+ kty: string;
1108
+ kid?: string | undefined;
1109
+ use?: string | undefined;
1110
+ alg?: string | undefined;
1111
+ n?: string | undefined;
1112
+ e?: string | undefined;
1113
+ crv?: string | undefined;
1114
+ x?: string | undefined;
1115
+ y?: string | undefined;
1116
+ } & {
1117
+ [key: string]: unknown;
1118
+ })[];
1119
+ } | null | undefined;
1120
+ jwks_usage?: {
1121
+ kid: string;
1122
+ last_used_at: string;
1123
+ }[] | null | undefined;
1086
1124
  consent_required?: boolean | undefined;
1087
1125
  metadata_document_url?: string | undefined;
1088
1126
  registered_dynamically?: boolean | undefined;
@@ -1171,6 +1209,25 @@ export declare class FaableAuthApi extends GeneratedFaableAuthApi {
1171
1209
  grant_types?: string[] | undefined;
1172
1210
  response_types?: string[] | undefined;
1173
1211
  token_endpoint_auth_method?: string | undefined;
1212
+ jwks?: {
1213
+ keys: ({
1214
+ kty: string;
1215
+ kid?: string | undefined;
1216
+ use?: string | undefined;
1217
+ alg?: string | undefined;
1218
+ n?: string | undefined;
1219
+ e?: string | undefined;
1220
+ crv?: string | undefined;
1221
+ x?: string | undefined;
1222
+ y?: string | undefined;
1223
+ } & {
1224
+ [key: string]: unknown;
1225
+ })[];
1226
+ } | null | undefined;
1227
+ jwks_usage?: {
1228
+ kid: string;
1229
+ last_used_at: string;
1230
+ }[] | null | undefined;
1174
1231
  consent_required?: boolean | undefined;
1175
1232
  metadata_document_url?: string | undefined;
1176
1233
  registered_dynamically?: boolean | undefined;
@@ -1258,6 +1315,25 @@ export declare class FaableAuthApi extends GeneratedFaableAuthApi {
1258
1315
  grant_types?: string[] | undefined;
1259
1316
  response_types?: string[] | undefined;
1260
1317
  token_endpoint_auth_method?: string | undefined;
1318
+ jwks?: {
1319
+ keys: ({
1320
+ kty: string;
1321
+ kid?: string | undefined;
1322
+ use?: string | undefined;
1323
+ alg?: string | undefined;
1324
+ n?: string | undefined;
1325
+ e?: string | undefined;
1326
+ crv?: string | undefined;
1327
+ x?: string | undefined;
1328
+ y?: string | undefined;
1329
+ } & {
1330
+ [key: string]: unknown;
1331
+ })[];
1332
+ } | null | undefined;
1333
+ jwks_usage?: {
1334
+ kid: string;
1335
+ last_used_at: string;
1336
+ }[] | null | undefined;
1261
1337
  consent_required?: boolean | undefined;
1262
1338
  metadata_document_url?: string | undefined;
1263
1339
  registered_dynamically?: boolean | undefined;
@@ -1558,6 +1558,25 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
1558
1558
  grant_types?: string[] | undefined;
1559
1559
  response_types?: string[] | undefined;
1560
1560
  token_endpoint_auth_method?: string | undefined;
1561
+ jwks?: {
1562
+ keys: ({
1563
+ kty: string;
1564
+ kid?: string | undefined;
1565
+ use?: string | undefined;
1566
+ alg?: string | undefined;
1567
+ n?: string | undefined;
1568
+ e?: string | undefined;
1569
+ crv?: string | undefined;
1570
+ x?: string | undefined;
1571
+ y?: string | undefined;
1572
+ } & {
1573
+ [key: string]: unknown;
1574
+ })[];
1575
+ } | null | undefined;
1576
+ jwks_usage?: {
1577
+ kid: string;
1578
+ last_used_at: string;
1579
+ }[] | null | undefined;
1561
1580
  consent_required?: boolean | undefined;
1562
1581
  metadata_document_url?: string | undefined;
1563
1582
  registered_dynamically?: boolean | undefined;
@@ -1659,6 +1678,25 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
1659
1678
  grant_types?: string[] | undefined;
1660
1679
  response_types?: string[] | undefined;
1661
1680
  token_endpoint_auth_method?: string | undefined;
1681
+ jwks?: {
1682
+ keys: ({
1683
+ kty: string;
1684
+ kid?: string | undefined;
1685
+ use?: string | undefined;
1686
+ alg?: string | undefined;
1687
+ n?: string | undefined;
1688
+ e?: string | undefined;
1689
+ crv?: string | undefined;
1690
+ x?: string | undefined;
1691
+ y?: string | undefined;
1692
+ } & {
1693
+ [key: string]: unknown;
1694
+ })[];
1695
+ } | null | undefined;
1696
+ jwks_usage?: {
1697
+ kid: string;
1698
+ last_used_at: string;
1699
+ }[] | null | undefined;
1662
1700
  consent_required?: boolean | undefined;
1663
1701
  metadata_document_url?: string | undefined;
1664
1702
  registered_dynamically?: boolean | undefined;
@@ -1761,6 +1799,25 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
1761
1799
  grant_types?: string[] | undefined;
1762
1800
  response_types?: string[] | undefined;
1763
1801
  token_endpoint_auth_method?: string | undefined;
1802
+ jwks?: {
1803
+ keys: ({
1804
+ kty: string;
1805
+ kid?: string | undefined;
1806
+ use?: string | undefined;
1807
+ alg?: string | undefined;
1808
+ n?: string | undefined;
1809
+ e?: string | undefined;
1810
+ crv?: string | undefined;
1811
+ x?: string | undefined;
1812
+ y?: string | undefined;
1813
+ } & {
1814
+ [key: string]: unknown;
1815
+ })[];
1816
+ } | null | undefined;
1817
+ jwks_usage?: {
1818
+ kid: string;
1819
+ last_used_at: string;
1820
+ }[] | null | undefined;
1764
1821
  consent_required?: boolean | undefined;
1765
1822
  metadata_document_url?: string | undefined;
1766
1823
  registered_dynamically?: boolean | undefined;
@@ -1864,6 +1921,25 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
1864
1921
  grant_types?: string[] | undefined;
1865
1922
  response_types?: string[] | undefined;
1866
1923
  token_endpoint_auth_method?: string | undefined;
1924
+ jwks?: {
1925
+ keys: ({
1926
+ kty: string;
1927
+ kid?: string | undefined;
1928
+ use?: string | undefined;
1929
+ alg?: string | undefined;
1930
+ n?: string | undefined;
1931
+ e?: string | undefined;
1932
+ crv?: string | undefined;
1933
+ x?: string | undefined;
1934
+ y?: string | undefined;
1935
+ } & {
1936
+ [key: string]: unknown;
1937
+ })[];
1938
+ } | null | undefined;
1939
+ jwks_usage?: {
1940
+ kid: string;
1941
+ last_used_at: string;
1942
+ }[] | null | undefined;
1867
1943
  consent_required?: boolean | undefined;
1868
1944
  metadata_document_url?: string | undefined;
1869
1945
  registered_dynamically?: boolean | undefined;
@@ -1949,6 +2025,25 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
1949
2025
  grant_types?: string[] | undefined;
1950
2026
  response_types?: string[] | undefined;
1951
2027
  token_endpoint_auth_method?: string | undefined;
2028
+ jwks?: {
2029
+ keys: ({
2030
+ kty: string;
2031
+ kid?: string | undefined;
2032
+ use?: string | undefined;
2033
+ alg?: string | undefined;
2034
+ n?: string | undefined;
2035
+ e?: string | undefined;
2036
+ crv?: string | undefined;
2037
+ x?: string | undefined;
2038
+ y?: string | undefined;
2039
+ } & {
2040
+ [key: string]: unknown;
2041
+ })[];
2042
+ } | null | undefined;
2043
+ jwks_usage?: {
2044
+ kid: string;
2045
+ last_used_at: string;
2046
+ }[] | null | undefined;
1952
2047
  consent_required?: boolean | undefined;
1953
2048
  metadata_document_url?: string | undefined;
1954
2049
  registered_dynamically?: boolean | undefined;
@@ -2037,6 +2132,25 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
2037
2132
  grant_types?: string[] | undefined;
2038
2133
  response_types?: string[] | undefined;
2039
2134
  token_endpoint_auth_method?: string | undefined;
2135
+ jwks?: {
2136
+ keys: ({
2137
+ kty: string;
2138
+ kid?: string | undefined;
2139
+ use?: string | undefined;
2140
+ alg?: string | undefined;
2141
+ n?: string | undefined;
2142
+ e?: string | undefined;
2143
+ crv?: string | undefined;
2144
+ x?: string | undefined;
2145
+ y?: string | undefined;
2146
+ } & {
2147
+ [key: string]: unknown;
2148
+ })[];
2149
+ } | null | undefined;
2150
+ jwks_usage?: {
2151
+ kid: string;
2152
+ last_used_at: string;
2153
+ }[] | null | undefined;
2040
2154
  consent_required?: boolean | undefined;
2041
2155
  metadata_document_url?: string | undefined;
2042
2156
  registered_dynamically?: boolean | undefined;
@@ -2141,6 +2255,25 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
2141
2255
  grant_types?: string[] | undefined;
2142
2256
  response_types?: string[] | undefined;
2143
2257
  token_endpoint_auth_method?: string | undefined;
2258
+ jwks?: {
2259
+ keys: ({
2260
+ kty: string;
2261
+ kid?: string | undefined;
2262
+ use?: string | undefined;
2263
+ alg?: string | undefined;
2264
+ n?: string | undefined;
2265
+ e?: string | undefined;
2266
+ crv?: string | undefined;
2267
+ x?: string | undefined;
2268
+ y?: string | undefined;
2269
+ } & {
2270
+ [key: string]: unknown;
2271
+ })[];
2272
+ } | null | undefined;
2273
+ jwks_usage?: {
2274
+ kid: string;
2275
+ last_used_at: string;
2276
+ }[] | null | undefined;
2144
2277
  consent_required?: boolean | undefined;
2145
2278
  metadata_document_url?: string | undefined;
2146
2279
  registered_dynamically?: boolean | undefined;
@@ -2243,6 +2376,25 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
2243
2376
  grant_types?: string[] | undefined;
2244
2377
  response_types?: string[] | undefined;
2245
2378
  token_endpoint_auth_method?: string | undefined;
2379
+ jwks?: {
2380
+ keys: ({
2381
+ kty: string;
2382
+ kid?: string | undefined;
2383
+ use?: string | undefined;
2384
+ alg?: string | undefined;
2385
+ n?: string | undefined;
2386
+ e?: string | undefined;
2387
+ crv?: string | undefined;
2388
+ x?: string | undefined;
2389
+ y?: string | undefined;
2390
+ } & {
2391
+ [key: string]: unknown;
2392
+ })[];
2393
+ } | null | undefined;
2394
+ jwks_usage?: {
2395
+ kid: string;
2396
+ last_used_at: string;
2397
+ }[] | null | undefined;
2246
2398
  consent_required?: boolean | undefined;
2247
2399
  metadata_document_url?: string | undefined;
2248
2400
  registered_dynamically?: boolean | undefined;
@@ -2549,7 +2701,22 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
2549
2701
  provider_options?: {
2550
2702
  team_id?: string | undefined;
2551
2703
  key_id?: string | undefined;
2552
- } | undefined;
2704
+ } | undefined; /**
2705
+ * `POST /user/{user_id}/passkey-prompt/reset` — operationId: `user/resetPasskeyPrompt`
2706
+ *
2707
+ * Reset a user's passkey offer counter
2708
+ *
2709
+ * The post-login "create a passkey" offer stops after `login_methods.passkey_promotion_max_prompts` times and snoozes between them. This clears both, so the user is offered a passkey again on their next login — for "why does it keep asking" and "please ask me again" alike.
2710
+ *
2711
+ * @throws {FaableApiError} `validation_error` (400) — The body, query or path failed schema validation. `details.issues` lists each failing field.
2712
+ * @throws {FaableApiError} `unauthorized` (401) — The request carries no valid credentials.
2713
+ * @throws {FaableApiError} `forbidden` (403) — The credentials are valid but do not allow this operation.
2714
+ * @throws {FaableApiError} `insufficient_scope` (403) — The token lacks a scope this operation requires. `message` names it.
2715
+ * @throws {FaableApiError} `user_suspended` (403) — The user is suspended and cannot sign in or be modified.
2716
+ * @throws {FaableApiError} `account_not_found` (404) — No Auth Account matches the request (domain, header or token).
2717
+ * @throws {FaableApiError} `too_many_requests` (429) — Rate limit exceeded. Honour the `Retry-After` header.
2718
+ * @throws {FaableApiError} `internal_error` (500) — Unexpected server error. Retry later; the request id is logged.
2719
+ */
2553
2720
  claims_mapping?: {
2554
2721
  [key: string]: string;
2555
2722
  } | undefined;
@@ -2594,7 +2761,22 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
2594
2761
  provider_options?: {
2595
2762
  team_id?: string | undefined;
2596
2763
  key_id?: string | undefined;
2597
- } | undefined;
2764
+ } | undefined; /**
2765
+ * `POST /user/{user_id}/passkey-prompt/reset` — operationId: `user/resetPasskeyPrompt`
2766
+ *
2767
+ * Reset a user's passkey offer counter
2768
+ *
2769
+ * The post-login "create a passkey" offer stops after `login_methods.passkey_promotion_max_prompts` times and snoozes between them. This clears both, so the user is offered a passkey again on their next login — for "why does it keep asking" and "please ask me again" alike.
2770
+ *
2771
+ * @throws {FaableApiError} `validation_error` (400) — The body, query or path failed schema validation. `details.issues` lists each failing field.
2772
+ * @throws {FaableApiError} `unauthorized` (401) — The request carries no valid credentials.
2773
+ * @throws {FaableApiError} `forbidden` (403) — The credentials are valid but do not allow this operation.
2774
+ * @throws {FaableApiError} `insufficient_scope` (403) — The token lacks a scope this operation requires. `message` names it.
2775
+ * @throws {FaableApiError} `user_suspended` (403) — The user is suspended and cannot sign in or be modified.
2776
+ * @throws {FaableApiError} `account_not_found` (404) — No Auth Account matches the request (domain, header or token).
2777
+ * @throws {FaableApiError} `too_many_requests` (429) — Rate limit exceeded. Honour the `Retry-After` header.
2778
+ * @throws {FaableApiError} `internal_error` (500) — Unexpected server error. Retry later; the request id is logged.
2779
+ */
2598
2780
  claims_mapping?: {
2599
2781
  [key: string]: string;
2600
2782
  } | undefined;
@@ -2642,7 +2824,22 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
2642
2824
  provider_options?: {
2643
2825
  team_id?: string | undefined;
2644
2826
  key_id?: string | undefined;
2645
- } | undefined;
2827
+ } | undefined; /**
2828
+ * `POST /user/{user_id}/passkey-prompt/reset` — operationId: `user/resetPasskeyPrompt`
2829
+ *
2830
+ * Reset a user's passkey offer counter
2831
+ *
2832
+ * The post-login "create a passkey" offer stops after `login_methods.passkey_promotion_max_prompts` times and snoozes between them. This clears both, so the user is offered a passkey again on their next login — for "why does it keep asking" and "please ask me again" alike.
2833
+ *
2834
+ * @throws {FaableApiError} `validation_error` (400) — The body, query or path failed schema validation. `details.issues` lists each failing field.
2835
+ * @throws {FaableApiError} `unauthorized` (401) — The request carries no valid credentials.
2836
+ * @throws {FaableApiError} `forbidden` (403) — The credentials are valid but do not allow this operation.
2837
+ * @throws {FaableApiError} `insufficient_scope` (403) — The token lacks a scope this operation requires. `message` names it.
2838
+ * @throws {FaableApiError} `user_suspended` (403) — The user is suspended and cannot sign in or be modified.
2839
+ * @throws {FaableApiError} `account_not_found` (404) — No Auth Account matches the request (domain, header or token).
2840
+ * @throws {FaableApiError} `too_many_requests` (429) — Rate limit exceeded. Honour the `Retry-After` header.
2841
+ * @throws {FaableApiError} `internal_error` (500) — Unexpected server error. Retry later; the request id is logged.
2842
+ */
2646
2843
  claims_mapping?: {
2647
2844
  [key: string]: string;
2648
2845
  } | undefined;