@faable/auth-sdk 2.7.83 → 2.7.84
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.
- package/dist/FaableAuthApi.d.ts +4 -0
- package/dist/api/generated-client.d.ts +58 -51
- package/dist/api/types.d.ts +320 -1
- package/dist/version.js +2 -2
- package/package.json +1 -1
- package/spec/openapi.json +747 -2
package/dist/FaableAuthApi.d.ts
CHANGED
|
@@ -621,6 +621,7 @@ export declare class FaableAuthApi extends GeneratedFaableAuthApi {
|
|
|
621
621
|
jwks_url: string;
|
|
622
622
|
response_type: string;
|
|
623
623
|
enabled: boolean;
|
|
624
|
+
organization?: string | null | undefined;
|
|
624
625
|
enabled_clients: string[] | null;
|
|
625
626
|
scope: string[];
|
|
626
627
|
authorize_params: {
|
|
@@ -661,6 +662,7 @@ export declare class FaableAuthApi extends GeneratedFaableAuthApi {
|
|
|
661
662
|
jwks_url: string;
|
|
662
663
|
response_type: string;
|
|
663
664
|
enabled: boolean;
|
|
665
|
+
organization?: string | null | undefined;
|
|
664
666
|
enabled_clients: string[] | null;
|
|
665
667
|
scope: string[];
|
|
666
668
|
authorize_params: {
|
|
@@ -704,6 +706,7 @@ export declare class FaableAuthApi extends GeneratedFaableAuthApi {
|
|
|
704
706
|
jwks_url: string;
|
|
705
707
|
response_type: string;
|
|
706
708
|
enabled: boolean;
|
|
709
|
+
organization?: string | null | undefined;
|
|
707
710
|
enabled_clients: string[] | null;
|
|
708
711
|
scope: string[];
|
|
709
712
|
authorize_params: {
|
|
@@ -746,6 +749,7 @@ export declare class FaableAuthApi extends GeneratedFaableAuthApi {
|
|
|
746
749
|
jwks_url: string;
|
|
747
750
|
response_type: string;
|
|
748
751
|
enabled: boolean;
|
|
752
|
+
organization?: string | null | undefined;
|
|
749
753
|
enabled_clients: string[] | null;
|
|
750
754
|
scope: string[];
|
|
751
755
|
authorize_params: {
|
|
@@ -1944,6 +1944,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
|
|
|
1944
1944
|
jwks_url: string;
|
|
1945
1945
|
response_type: string;
|
|
1946
1946
|
enabled: boolean;
|
|
1947
|
+
organization?: string | null | undefined;
|
|
1947
1948
|
enabled_clients: string[] | null;
|
|
1948
1949
|
scope: string[];
|
|
1949
1950
|
authorize_params: {
|
|
@@ -2000,6 +2001,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
|
|
|
2000
2001
|
jwks_url: string;
|
|
2001
2002
|
response_type: string;
|
|
2002
2003
|
enabled: boolean;
|
|
2004
|
+
organization?: string | null | undefined;
|
|
2003
2005
|
enabled_clients: string[] | null;
|
|
2004
2006
|
scope: string[];
|
|
2005
2007
|
authorize_params: {
|
|
@@ -2057,6 +2059,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
|
|
|
2057
2059
|
jwks_url: string;
|
|
2058
2060
|
response_type: string;
|
|
2059
2061
|
enabled: boolean;
|
|
2062
|
+
organization?: string | null | undefined;
|
|
2060
2063
|
enabled_clients: string[] | null;
|
|
2061
2064
|
scope: string[];
|
|
2062
2065
|
authorize_params: {
|
|
@@ -2115,6 +2118,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
|
|
|
2115
2118
|
jwks_url: string;
|
|
2116
2119
|
response_type: string;
|
|
2117
2120
|
enabled: boolean;
|
|
2121
|
+
organization?: string | null | undefined;
|
|
2118
2122
|
enabled_clients: string[] | null;
|
|
2119
2123
|
scope: string[];
|
|
2120
2124
|
authorize_params: {
|
|
@@ -2126,23 +2130,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
|
|
|
2126
2130
|
readonly is_using_default_credentials: boolean;
|
|
2127
2131
|
email_oauth_sync_policy?: "preserve_manual" | "always_sync" | undefined;
|
|
2128
2132
|
password_policy?: {
|
|
2129
|
-
level: "none" | "low" | "fair" | "good" | "excellent";
|
|
2130
|
-
* `GET /teammember` — operationId: `teammember/list`
|
|
2131
|
-
*
|
|
2132
|
-
* List Teammembers
|
|
2133
|
-
*
|
|
2134
|
-
* @throws {FaableApiError} `invalid_query` (400) — The `?query=` FaableQL expression could not be parsed.
|
|
2135
|
-
* @throws {FaableApiError} `invalid_expand` (400) — An `?expand=` path is not allowed on this resource.
|
|
2136
|
-
* @throws {FaableApiError} `search_not_supported` (400) — This resource does not support `?search=`.
|
|
2137
|
-
* @throws {FaableApiError} `validation_error` (400) — The body, query or path failed schema validation. `details.issues` lists each failing field.
|
|
2138
|
-
* @throws {FaableApiError} `unauthorized` (401) — The request carries no valid credentials.
|
|
2139
|
-
* @throws {FaableApiError} `forbidden` (403) — The credentials are valid but do not allow this operation.
|
|
2140
|
-
* @throws {FaableApiError} `insufficient_scope` (403) — The token lacks a scope this operation requires. `message` names it.
|
|
2141
|
-
* @throws {FaableApiError} `user_suspended` (403) — The user is suspended and cannot sign in or be modified.
|
|
2142
|
-
* @throws {FaableApiError} `account_not_found` (404) — No Auth Account matches the request (domain, header or token).
|
|
2143
|
-
* @throws {FaableApiError} `too_many_requests` (429) — Rate limit exceeded. Honour the `Retry-After` header.
|
|
2144
|
-
* @throws {FaableApiError} `internal_error` (500) — Unexpected server error. Retry later; the request id is logged.
|
|
2145
|
-
*/
|
|
2133
|
+
level: "none" | "low" | "fair" | "good" | "excellent";
|
|
2146
2134
|
min_length?: number | undefined;
|
|
2147
2135
|
require_lowercase?: boolean | undefined;
|
|
2148
2136
|
require_uppercase?: boolean | undefined;
|
|
@@ -2171,6 +2159,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
|
|
|
2171
2159
|
jwks_url: string;
|
|
2172
2160
|
response_type: string;
|
|
2173
2161
|
enabled: boolean;
|
|
2162
|
+
organization?: string | null | undefined;
|
|
2174
2163
|
enabled_clients: string[] | null;
|
|
2175
2164
|
scope: string[];
|
|
2176
2165
|
authorize_params: {
|
|
@@ -2182,23 +2171,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
|
|
|
2182
2171
|
readonly is_using_default_credentials: boolean;
|
|
2183
2172
|
email_oauth_sync_policy?: "preserve_manual" | "always_sync" | undefined;
|
|
2184
2173
|
password_policy?: {
|
|
2185
|
-
level: "none" | "low" | "fair" | "good" | "excellent";
|
|
2186
|
-
* `GET /teammember` — operationId: `teammember/list`
|
|
2187
|
-
*
|
|
2188
|
-
* List Teammembers
|
|
2189
|
-
*
|
|
2190
|
-
* @throws {FaableApiError} `invalid_query` (400) — The `?query=` FaableQL expression could not be parsed.
|
|
2191
|
-
* @throws {FaableApiError} `invalid_expand` (400) — An `?expand=` path is not allowed on this resource.
|
|
2192
|
-
* @throws {FaableApiError} `search_not_supported` (400) — This resource does not support `?search=`.
|
|
2193
|
-
* @throws {FaableApiError} `validation_error` (400) — The body, query or path failed schema validation. `details.issues` lists each failing field.
|
|
2194
|
-
* @throws {FaableApiError} `unauthorized` (401) — The request carries no valid credentials.
|
|
2195
|
-
* @throws {FaableApiError} `forbidden` (403) — The credentials are valid but do not allow this operation.
|
|
2196
|
-
* @throws {FaableApiError} `insufficient_scope` (403) — The token lacks a scope this operation requires. `message` names it.
|
|
2197
|
-
* @throws {FaableApiError} `user_suspended` (403) — The user is suspended and cannot sign in or be modified.
|
|
2198
|
-
* @throws {FaableApiError} `account_not_found` (404) — No Auth Account matches the request (domain, header or token).
|
|
2199
|
-
* @throws {FaableApiError} `too_many_requests` (429) — Rate limit exceeded. Honour the `Retry-After` header.
|
|
2200
|
-
* @throws {FaableApiError} `internal_error` (500) — Unexpected server error. Retry later; the request id is logged.
|
|
2201
|
-
*/
|
|
2174
|
+
level: "none" | "low" | "fair" | "good" | "excellent";
|
|
2202
2175
|
min_length?: number | undefined;
|
|
2203
2176
|
require_lowercase?: boolean | undefined;
|
|
2204
2177
|
require_uppercase?: boolean | undefined;
|
|
@@ -2230,6 +2203,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
|
|
|
2230
2203
|
jwks_url: string;
|
|
2231
2204
|
response_type: string;
|
|
2232
2205
|
enabled: boolean;
|
|
2206
|
+
organization?: string | null | undefined;
|
|
2233
2207
|
enabled_clients: string[] | null;
|
|
2234
2208
|
scope: string[];
|
|
2235
2209
|
authorize_params: {
|
|
@@ -2241,23 +2215,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
|
|
|
2241
2215
|
readonly is_using_default_credentials: boolean;
|
|
2242
2216
|
email_oauth_sync_policy?: "preserve_manual" | "always_sync" | undefined;
|
|
2243
2217
|
password_policy?: {
|
|
2244
|
-
level: "none" | "low" | "fair" | "good" | "excellent";
|
|
2245
|
-
* `GET /teammember` — operationId: `teammember/list`
|
|
2246
|
-
*
|
|
2247
|
-
* List Teammembers
|
|
2248
|
-
*
|
|
2249
|
-
* @throws {FaableApiError} `invalid_query` (400) — The `?query=` FaableQL expression could not be parsed.
|
|
2250
|
-
* @throws {FaableApiError} `invalid_expand` (400) — An `?expand=` path is not allowed on this resource.
|
|
2251
|
-
* @throws {FaableApiError} `search_not_supported` (400) — This resource does not support `?search=`.
|
|
2252
|
-
* @throws {FaableApiError} `validation_error` (400) — The body, query or path failed schema validation. `details.issues` lists each failing field.
|
|
2253
|
-
* @throws {FaableApiError} `unauthorized` (401) — The request carries no valid credentials.
|
|
2254
|
-
* @throws {FaableApiError} `forbidden` (403) — The credentials are valid but do not allow this operation.
|
|
2255
|
-
* @throws {FaableApiError} `insufficient_scope` (403) — The token lacks a scope this operation requires. `message` names it.
|
|
2256
|
-
* @throws {FaableApiError} `user_suspended` (403) — The user is suspended and cannot sign in or be modified.
|
|
2257
|
-
* @throws {FaableApiError} `account_not_found` (404) — No Auth Account matches the request (domain, header or token).
|
|
2258
|
-
* @throws {FaableApiError} `too_many_requests` (429) — Rate limit exceeded. Honour the `Retry-After` header.
|
|
2259
|
-
* @throws {FaableApiError} `internal_error` (500) — Unexpected server error. Retry later; the request id is logged.
|
|
2260
|
-
*/
|
|
2218
|
+
level: "none" | "low" | "fair" | "good" | "excellent";
|
|
2261
2219
|
min_length?: number | undefined;
|
|
2262
2220
|
require_lowercase?: boolean | undefined;
|
|
2263
2221
|
require_uppercase?: boolean | undefined;
|
|
@@ -2304,6 +2262,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
|
|
|
2304
2262
|
jwks_url: string;
|
|
2305
2263
|
response_type: string;
|
|
2306
2264
|
enabled: boolean;
|
|
2265
|
+
organization?: string | null | undefined;
|
|
2307
2266
|
enabled_clients: string[] | null;
|
|
2308
2267
|
scope: string[];
|
|
2309
2268
|
authorize_params: {
|
|
@@ -4554,6 +4513,10 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
|
|
|
4554
4513
|
verification_token: string;
|
|
4555
4514
|
verified_at: string | null;
|
|
4556
4515
|
}[];
|
|
4516
|
+
auto_join: {
|
|
4517
|
+
team: string;
|
|
4518
|
+
roles: string[];
|
|
4519
|
+
}[];
|
|
4557
4520
|
admins: string[];
|
|
4558
4521
|
account: string;
|
|
4559
4522
|
metadata: {
|
|
@@ -4592,6 +4555,10 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
|
|
|
4592
4555
|
verification_token: string;
|
|
4593
4556
|
verified_at: string | null;
|
|
4594
4557
|
}[];
|
|
4558
|
+
auto_join: {
|
|
4559
|
+
team: string;
|
|
4560
|
+
roles: string[];
|
|
4561
|
+
}[];
|
|
4595
4562
|
admins: string[];
|
|
4596
4563
|
account: string;
|
|
4597
4564
|
metadata: {
|
|
@@ -4626,6 +4593,10 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
|
|
|
4626
4593
|
verification_token: string;
|
|
4627
4594
|
verified_at: string | null;
|
|
4628
4595
|
}[];
|
|
4596
|
+
auto_join: {
|
|
4597
|
+
team: string;
|
|
4598
|
+
roles: string[];
|
|
4599
|
+
}[];
|
|
4629
4600
|
admins: string[];
|
|
4630
4601
|
account: string;
|
|
4631
4602
|
metadata: {
|
|
@@ -4661,6 +4632,10 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
|
|
|
4661
4632
|
verification_token: string;
|
|
4662
4633
|
verified_at: string | null;
|
|
4663
4634
|
}[];
|
|
4635
|
+
auto_join: {
|
|
4636
|
+
team: string;
|
|
4637
|
+
roles: string[];
|
|
4638
|
+
}[];
|
|
4664
4639
|
admins: string[];
|
|
4665
4640
|
account: string;
|
|
4666
4641
|
metadata: {
|
|
@@ -4697,6 +4672,10 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
|
|
|
4697
4672
|
verification_token: string;
|
|
4698
4673
|
verified_at: string | null;
|
|
4699
4674
|
}[];
|
|
4675
|
+
auto_join: {
|
|
4676
|
+
team: string;
|
|
4677
|
+
roles: string[];
|
|
4678
|
+
}[];
|
|
4700
4679
|
admins: string[];
|
|
4701
4680
|
account: string;
|
|
4702
4681
|
metadata: {
|
|
@@ -4734,6 +4713,10 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
|
|
|
4734
4713
|
verification_token: string;
|
|
4735
4714
|
verified_at: string | null;
|
|
4736
4715
|
}[];
|
|
4716
|
+
auto_join: {
|
|
4717
|
+
team: string;
|
|
4718
|
+
roles: string[];
|
|
4719
|
+
}[];
|
|
4737
4720
|
admins: string[];
|
|
4738
4721
|
account: string;
|
|
4739
4722
|
metadata: {
|
|
@@ -4753,6 +4736,10 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
|
|
|
4753
4736
|
verification_token: string;
|
|
4754
4737
|
verified_at: string | null;
|
|
4755
4738
|
}[];
|
|
4739
|
+
auto_join: {
|
|
4740
|
+
team: string;
|
|
4741
|
+
roles: string[];
|
|
4742
|
+
}[];
|
|
4756
4743
|
admins: string[];
|
|
4757
4744
|
account: string;
|
|
4758
4745
|
metadata: {
|
|
@@ -4775,6 +4762,10 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
|
|
|
4775
4762
|
verification_token: string;
|
|
4776
4763
|
verified_at: string | null;
|
|
4777
4764
|
}[];
|
|
4765
|
+
auto_join: {
|
|
4766
|
+
team: string;
|
|
4767
|
+
roles: string[];
|
|
4768
|
+
}[];
|
|
4778
4769
|
admins: string[];
|
|
4779
4770
|
account: string;
|
|
4780
4771
|
metadata: {
|
|
@@ -4814,6 +4805,10 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
|
|
|
4814
4805
|
verification_token: string;
|
|
4815
4806
|
verified_at: string | null;
|
|
4816
4807
|
}[];
|
|
4808
|
+
auto_join: {
|
|
4809
|
+
team: string;
|
|
4810
|
+
roles: string[];
|
|
4811
|
+
}[];
|
|
4817
4812
|
admins: string[];
|
|
4818
4813
|
account: string;
|
|
4819
4814
|
metadata: {
|
|
@@ -4851,6 +4846,10 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
|
|
|
4851
4846
|
verification_token: string;
|
|
4852
4847
|
verified_at: string | null;
|
|
4853
4848
|
}[];
|
|
4849
|
+
auto_join: {
|
|
4850
|
+
team: string;
|
|
4851
|
+
roles: string[];
|
|
4852
|
+
}[];
|
|
4854
4853
|
admins: string[];
|
|
4855
4854
|
account: string;
|
|
4856
4855
|
metadata: {
|
|
@@ -4887,6 +4886,10 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
|
|
|
4887
4886
|
verification_token: string;
|
|
4888
4887
|
verified_at: string | null;
|
|
4889
4888
|
}[];
|
|
4889
|
+
auto_join: {
|
|
4890
|
+
team: string;
|
|
4891
|
+
roles: string[];
|
|
4892
|
+
}[];
|
|
4890
4893
|
admins: string[];
|
|
4891
4894
|
account: string;
|
|
4892
4895
|
metadata: {
|
|
@@ -4931,6 +4934,10 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
|
|
|
4931
4934
|
verification_token: string;
|
|
4932
4935
|
verified_at: string | null;
|
|
4933
4936
|
}[];
|
|
4937
|
+
auto_join: {
|
|
4938
|
+
team: string;
|
|
4939
|
+
roles: string[];
|
|
4940
|
+
}[];
|
|
4934
4941
|
admins: string[];
|
|
4935
4942
|
account: string;
|
|
4936
4943
|
metadata: {
|