@faable/auth-sdk 2.7.83 → 2.7.85

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.
@@ -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: {
@@ -2114,7 +2117,25 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
2114
2117
  issuer: string;
2115
2118
  jwks_url: string;
2116
2119
  response_type: string;
2120
+ /**
2121
+ * `GET /teammember` — operationId: `teammember/list`
2122
+ *
2123
+ * List Teammembers
2124
+ *
2125
+ * @throws {FaableApiError} `invalid_query` (400) — The `?query=` FaableQL expression could not be parsed.
2126
+ * @throws {FaableApiError} `invalid_expand` (400) — An `?expand=` path is not allowed on this resource.
2127
+ * @throws {FaableApiError} `search_not_supported` (400) — This resource does not support `?search=`.
2128
+ * @throws {FaableApiError} `validation_error` (400) — The body, query or path failed schema validation. `details.issues` lists each failing field.
2129
+ * @throws {FaableApiError} `unauthorized` (401) — The request carries no valid credentials.
2130
+ * @throws {FaableApiError} `forbidden` (403) — The credentials are valid but do not allow this operation.
2131
+ * @throws {FaableApiError} `insufficient_scope` (403) — The token lacks a scope this operation requires. `message` names it.
2132
+ * @throws {FaableApiError} `user_suspended` (403) — The user is suspended and cannot sign in or be modified.
2133
+ * @throws {FaableApiError} `account_not_found` (404) — No Auth Account matches the request (domain, header or token).
2134
+ * @throws {FaableApiError} `too_many_requests` (429) — Rate limit exceeded. Honour the `Retry-After` header.
2135
+ * @throws {FaableApiError} `internal_error` (500) — Unexpected server error. Retry later; the request id is logged.
2136
+ */
2117
2137
  enabled: boolean;
2138
+ organization?: string | null | undefined;
2118
2139
  enabled_clients: string[] | null;
2119
2140
  scope: string[];
2120
2141
  authorize_params: {
@@ -2126,23 +2147,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
2126
2147
  readonly is_using_default_credentials: boolean;
2127
2148
  email_oauth_sync_policy?: "preserve_manual" | "always_sync" | undefined;
2128
2149
  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
- */
2150
+ level: "none" | "low" | "fair" | "good" | "excellent";
2146
2151
  min_length?: number | undefined;
2147
2152
  require_lowercase?: boolean | undefined;
2148
2153
  require_uppercase?: boolean | undefined;
@@ -2170,7 +2175,25 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
2170
2175
  issuer: string;
2171
2176
  jwks_url: string;
2172
2177
  response_type: string;
2178
+ /**
2179
+ * `GET /teammember` — operationId: `teammember/list`
2180
+ *
2181
+ * List Teammembers
2182
+ *
2183
+ * @throws {FaableApiError} `invalid_query` (400) — The `?query=` FaableQL expression could not be parsed.
2184
+ * @throws {FaableApiError} `invalid_expand` (400) — An `?expand=` path is not allowed on this resource.
2185
+ * @throws {FaableApiError} `search_not_supported` (400) — This resource does not support `?search=`.
2186
+ * @throws {FaableApiError} `validation_error` (400) — The body, query or path failed schema validation. `details.issues` lists each failing field.
2187
+ * @throws {FaableApiError} `unauthorized` (401) — The request carries no valid credentials.
2188
+ * @throws {FaableApiError} `forbidden` (403) — The credentials are valid but do not allow this operation.
2189
+ * @throws {FaableApiError} `insufficient_scope` (403) — The token lacks a scope this operation requires. `message` names it.
2190
+ * @throws {FaableApiError} `user_suspended` (403) — The user is suspended and cannot sign in or be modified.
2191
+ * @throws {FaableApiError} `account_not_found` (404) — No Auth Account matches the request (domain, header or token).
2192
+ * @throws {FaableApiError} `too_many_requests` (429) — Rate limit exceeded. Honour the `Retry-After` header.
2193
+ * @throws {FaableApiError} `internal_error` (500) — Unexpected server error. Retry later; the request id is logged.
2194
+ */
2173
2195
  enabled: boolean;
2196
+ organization?: string | null | undefined;
2174
2197
  enabled_clients: string[] | null;
2175
2198
  scope: string[];
2176
2199
  authorize_params: {
@@ -2182,23 +2205,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
2182
2205
  readonly is_using_default_credentials: boolean;
2183
2206
  email_oauth_sync_policy?: "preserve_manual" | "always_sync" | undefined;
2184
2207
  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
- */
2208
+ level: "none" | "low" | "fair" | "good" | "excellent";
2202
2209
  min_length?: number | undefined;
2203
2210
  require_lowercase?: boolean | undefined;
2204
2211
  require_uppercase?: boolean | undefined;
@@ -2229,7 +2236,25 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
2229
2236
  issuer: string;
2230
2237
  jwks_url: string;
2231
2238
  response_type: string;
2239
+ /**
2240
+ * `GET /teammember` — operationId: `teammember/list`
2241
+ *
2242
+ * List Teammembers
2243
+ *
2244
+ * @throws {FaableApiError} `invalid_query` (400) — The `?query=` FaableQL expression could not be parsed.
2245
+ * @throws {FaableApiError} `invalid_expand` (400) — An `?expand=` path is not allowed on this resource.
2246
+ * @throws {FaableApiError} `search_not_supported` (400) — This resource does not support `?search=`.
2247
+ * @throws {FaableApiError} `validation_error` (400) — The body, query or path failed schema validation. `details.issues` lists each failing field.
2248
+ * @throws {FaableApiError} `unauthorized` (401) — The request carries no valid credentials.
2249
+ * @throws {FaableApiError} `forbidden` (403) — The credentials are valid but do not allow this operation.
2250
+ * @throws {FaableApiError} `insufficient_scope` (403) — The token lacks a scope this operation requires. `message` names it.
2251
+ * @throws {FaableApiError} `user_suspended` (403) — The user is suspended and cannot sign in or be modified.
2252
+ * @throws {FaableApiError} `account_not_found` (404) — No Auth Account matches the request (domain, header or token).
2253
+ * @throws {FaableApiError} `too_many_requests` (429) — Rate limit exceeded. Honour the `Retry-After` header.
2254
+ * @throws {FaableApiError} `internal_error` (500) — Unexpected server error. Retry later; the request id is logged.
2255
+ */
2232
2256
  enabled: boolean;
2257
+ organization?: string | null | undefined;
2233
2258
  enabled_clients: string[] | null;
2234
2259
  scope: string[];
2235
2260
  authorize_params: {
@@ -2241,23 +2266,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
2241
2266
  readonly is_using_default_credentials: boolean;
2242
2267
  email_oauth_sync_policy?: "preserve_manual" | "always_sync" | undefined;
2243
2268
  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
- */
2269
+ level: "none" | "low" | "fair" | "good" | "excellent";
2261
2270
  min_length?: number | undefined;
2262
2271
  require_lowercase?: boolean | undefined;
2263
2272
  require_uppercase?: boolean | undefined;
@@ -2304,6 +2313,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
2304
2313
  jwks_url: string;
2305
2314
  response_type: string;
2306
2315
  enabled: boolean;
2316
+ organization?: string | null | undefined;
2307
2317
  enabled_clients: string[] | null;
2308
2318
  scope: string[];
2309
2319
  authorize_params: {
@@ -4554,6 +4564,11 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
4554
4564
  verification_token: string;
4555
4565
  verified_at: string | null;
4556
4566
  }[];
4567
+ require_sso: boolean;
4568
+ auto_join: {
4569
+ team: string;
4570
+ roles: string[];
4571
+ }[];
4557
4572
  admins: string[];
4558
4573
  account: string;
4559
4574
  metadata: {
@@ -4592,6 +4607,11 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
4592
4607
  verification_token: string;
4593
4608
  verified_at: string | null;
4594
4609
  }[];
4610
+ require_sso: boolean;
4611
+ auto_join: {
4612
+ team: string;
4613
+ roles: string[];
4614
+ }[];
4595
4615
  admins: string[];
4596
4616
  account: string;
4597
4617
  metadata: {
@@ -4626,6 +4646,11 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
4626
4646
  verification_token: string;
4627
4647
  verified_at: string | null;
4628
4648
  }[];
4649
+ require_sso: boolean;
4650
+ auto_join: {
4651
+ team: string;
4652
+ roles: string[];
4653
+ }[];
4629
4654
  admins: string[];
4630
4655
  account: string;
4631
4656
  metadata: {
@@ -4661,6 +4686,11 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
4661
4686
  verification_token: string;
4662
4687
  verified_at: string | null;
4663
4688
  }[];
4689
+ require_sso: boolean;
4690
+ auto_join: {
4691
+ team: string;
4692
+ roles: string[];
4693
+ }[];
4664
4694
  admins: string[];
4665
4695
  account: string;
4666
4696
  metadata: {
@@ -4697,6 +4727,11 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
4697
4727
  verification_token: string;
4698
4728
  verified_at: string | null;
4699
4729
  }[];
4730
+ require_sso: boolean;
4731
+ auto_join: {
4732
+ team: string;
4733
+ roles: string[];
4734
+ }[];
4700
4735
  admins: string[];
4701
4736
  account: string;
4702
4737
  metadata: {
@@ -4734,6 +4769,11 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
4734
4769
  verification_token: string;
4735
4770
  verified_at: string | null;
4736
4771
  }[];
4772
+ require_sso: boolean;
4773
+ auto_join: {
4774
+ team: string;
4775
+ roles: string[];
4776
+ }[];
4737
4777
  admins: string[];
4738
4778
  account: string;
4739
4779
  metadata: {
@@ -4753,6 +4793,11 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
4753
4793
  verification_token: string;
4754
4794
  verified_at: string | null;
4755
4795
  }[];
4796
+ require_sso: boolean;
4797
+ auto_join: {
4798
+ team: string;
4799
+ roles: string[];
4800
+ }[];
4756
4801
  admins: string[];
4757
4802
  account: string;
4758
4803
  metadata: {
@@ -4775,6 +4820,11 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
4775
4820
  verification_token: string;
4776
4821
  verified_at: string | null;
4777
4822
  }[];
4823
+ require_sso: boolean;
4824
+ auto_join: {
4825
+ team: string;
4826
+ roles: string[];
4827
+ }[];
4778
4828
  admins: string[];
4779
4829
  account: string;
4780
4830
  metadata: {
@@ -4814,6 +4864,11 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
4814
4864
  verification_token: string;
4815
4865
  verified_at: string | null;
4816
4866
  }[];
4867
+ require_sso: boolean;
4868
+ auto_join: {
4869
+ team: string;
4870
+ roles: string[];
4871
+ }[];
4817
4872
  admins: string[];
4818
4873
  account: string;
4819
4874
  metadata: {
@@ -4851,6 +4906,11 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
4851
4906
  verification_token: string;
4852
4907
  verified_at: string | null;
4853
4908
  }[];
4909
+ require_sso: boolean;
4910
+ auto_join: {
4911
+ team: string;
4912
+ roles: string[];
4913
+ }[];
4854
4914
  admins: string[];
4855
4915
  account: string;
4856
4916
  metadata: {
@@ -4887,6 +4947,11 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
4887
4947
  verification_token: string;
4888
4948
  verified_at: string | null;
4889
4949
  }[];
4950
+ require_sso: boolean;
4951
+ auto_join: {
4952
+ team: string;
4953
+ roles: string[];
4954
+ }[];
4890
4955
  admins: string[];
4891
4956
  account: string;
4892
4957
  metadata: {
@@ -4931,6 +4996,11 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
4931
4996
  verification_token: string;
4932
4997
  verified_at: string | null;
4933
4998
  }[];
4999
+ require_sso: boolean;
5000
+ auto_join: {
5001
+ team: string;
5002
+ roles: string[];
5003
+ }[];
4934
5004
  admins: string[];
4935
5005
  account: string;
4936
5006
  metadata: {