@cboxdk/id-js 0.18.0 → 0.19.0
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/README.md +97 -1
- package/dist/{chunk-CXGKOJRJ.js → chunk-YGLMLIKL.js} +144 -9
- package/dist/chunk-YGLMLIKL.js.map +1 -0
- package/dist/{client-BxUHm5hX.d.cts → client-BT-jOm0p.d.cts} +126 -2
- package/dist/{client-BSZASrMo.d.ts → client-xlEJalu8.d.ts} +126 -2
- package/dist/index.cjs +211 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +83 -6
- package/dist/index.d.ts +83 -6
- package/dist/index.js +63 -11
- package/dist/index.js.map +1 -1
- package/dist/management.cjs +726 -6
- package/dist/management.cjs.map +1 -1
- package/dist/management.d.cts +2557 -26
- package/dist/management.d.ts +2557 -26
- package/dist/management.js +726 -7
- package/dist/management.js.map +1 -1
- package/dist/nextjs.cjs +136 -5
- package/dist/nextjs.cjs.map +1 -1
- package/dist/nextjs.d.cts +3 -2
- package/dist/nextjs.d.ts +3 -2
- package/dist/nextjs.js +1 -1
- package/dist/server.d.cts +1 -1
- package/dist/server.d.ts +1 -1
- package/dist/{types-BYZldock.d.cts → types-CC1bz68x.d.cts} +30 -1
- package/dist/{types-BYZldock.d.ts → types-CC1bz68x.d.ts} +30 -1
- package/package.json +1 -1
- package/dist/chunk-CXGKOJRJ.js.map +0 -1
package/dist/management.d.ts
CHANGED
|
@@ -275,6 +275,16 @@ interface ManifestSync {
|
|
|
275
275
|
orphaned_role_keys: string[];
|
|
276
276
|
orphaned_permission_keys: string[];
|
|
277
277
|
}
|
|
278
|
+
interface SmsFactorPolicy {
|
|
279
|
+
/** Text-message codes are accepted as a second factor. Off by default. */
|
|
280
|
+
enabled: boolean;
|
|
281
|
+
/** ISO 3166-1 alpha-2 countries whose numbers may enrol and be texted. Re-checked at every send. */
|
|
282
|
+
allowed_countries: string[];
|
|
283
|
+
/** Administrators may add SMS only beside an authenticator app or a passkey. */
|
|
284
|
+
privileged_need_stronger_factor: boolean;
|
|
285
|
+
/** The deployment's ceiling (CBOX_ID_SMS_ALLOWED_COUNTRIES). Empty: no deployment restriction. A listed country outside it is never texted. */
|
|
286
|
+
deployment_countries: string[];
|
|
287
|
+
}
|
|
278
288
|
interface SelfServiceSignup {
|
|
279
289
|
enabled: boolean;
|
|
280
290
|
/** False on a single-tenant install, where sign-up follows CBOX_ID_SIGNUP_MODE and the switch changes nothing. */
|
|
@@ -714,6 +724,24 @@ interface SignInRules {
|
|
|
714
724
|
sso: 'off' | 'preferred' | 'required';
|
|
715
725
|
/** Failed attempts before a lockout; null for none. */
|
|
716
726
|
lockout_threshold: number | null;
|
|
727
|
+
/** Environment-wide. Whether passkeys may be used to sign in and be added. An organization's override never changes it. */
|
|
728
|
+
passkeys: boolean;
|
|
729
|
+
/** Environment-wide. Whether a one-time sign-in link may be emailed. */
|
|
730
|
+
magic_link: boolean;
|
|
731
|
+
/** Environment-wide. Minutes of inactivity before a session ends; null for the deployment's. */
|
|
732
|
+
session_idle_minutes: number | null;
|
|
733
|
+
/** Environment-wide. Minutes a session lasts at most; null for the deployment's. */
|
|
734
|
+
session_absolute_minutes: number | null;
|
|
735
|
+
/** Environment-wide. Whether a sign-up Radar flags is challenged with Turnstile, where the deployment has keys. */
|
|
736
|
+
bot_challenge: boolean;
|
|
737
|
+
}
|
|
738
|
+
interface SignInMethodsInForce {
|
|
739
|
+
passkeys: boolean;
|
|
740
|
+
magic_link: boolean;
|
|
741
|
+
/** 0 for no idle timeout. */
|
|
742
|
+
session_idle_minutes: number;
|
|
743
|
+
session_absolute_minutes: number;
|
|
744
|
+
bot_challenge: boolean;
|
|
717
745
|
}
|
|
718
746
|
interface SignInPolicy {
|
|
719
747
|
/** null for the environment baseline. */
|
|
@@ -725,11 +753,21 @@ interface SignInPolicy {
|
|
|
725
753
|
override: SignInRules | null;
|
|
726
754
|
/** True for an organization with no override of its own. */
|
|
727
755
|
inheriting: boolean;
|
|
756
|
+
/** The environment-wide methods and session lengths actually in force, after the deployment's ceiling. */
|
|
757
|
+
in_force: SignInMethodsInForce;
|
|
758
|
+
/** The deployment's ceiling: which methods it offers at all, the longest sessions it allows, and whether it has Turnstile keys. */
|
|
759
|
+
deployment: SignInMethodsInForce;
|
|
728
760
|
}
|
|
729
|
-
/** Its client secret and private key are write-only and never returned. */
|
|
761
|
+
/** Its client secret and private key are write-only and never returned. An environment provider (`level: environment`) is offered on every organization's sign-in page unless the organization has its own for the same provider or turned it off. */
|
|
730
762
|
interface SocialProvider {
|
|
731
763
|
id: string;
|
|
764
|
+
/** null for the environment's own provider. */
|
|
732
765
|
organization_id: string | null;
|
|
766
|
+
level: 'environment' | 'organization';
|
|
767
|
+
/** False when it is turned off; its credentials are kept. */
|
|
768
|
+
enabled: boolean;
|
|
769
|
+
/** Extra scopes requested on top of the ones sign-in needs. */
|
|
770
|
+
scopes: string[];
|
|
733
771
|
/** The catalogue key: google, github, apple… */
|
|
734
772
|
provider: string | null;
|
|
735
773
|
name: string;
|
|
@@ -739,6 +777,21 @@ interface SocialProvider {
|
|
|
739
777
|
callback_uri: string;
|
|
740
778
|
created_at?: string | null;
|
|
741
779
|
}
|
|
780
|
+
/** The social login buttons one sign-in page shows, after inheritance. */
|
|
781
|
+
interface OfferedSocialProviders {
|
|
782
|
+
/** null for the plain sign-in page, before anybody has said who they are. */
|
|
783
|
+
organization_id: string | null;
|
|
784
|
+
providers: Array<{
|
|
785
|
+
id: string;
|
|
786
|
+
provider: string | null;
|
|
787
|
+
name: string;
|
|
788
|
+
/** `environment` when inherited; `organization` when the organization's own stands in its place. */
|
|
789
|
+
source: 'environment' | 'organization';
|
|
790
|
+
callback_uri: string;
|
|
791
|
+
}>;
|
|
792
|
+
/** The environment's providers this organization turned off for its page. */
|
|
793
|
+
not_inherited: string[];
|
|
794
|
+
}
|
|
742
795
|
/** A publishable key. Returned in full: it is public by design; the origins are the control. */
|
|
743
796
|
interface FrontendKey {
|
|
744
797
|
id: string;
|
|
@@ -822,7 +875,12 @@ interface Appearance {
|
|
|
822
875
|
light?: ThemeMode;
|
|
823
876
|
dark?: ThemeMode;
|
|
824
877
|
};
|
|
878
|
+
/** The uploaded logo, served by this application at /brand-assets/…; null when none is uploaded at this level. Never a remote URL. */
|
|
825
879
|
logo: string | null;
|
|
880
|
+
/** The uploaded favicon, served the same way; null when none. */
|
|
881
|
+
favicon: string | null;
|
|
882
|
+
/** A remote logo URL saved before logos became uploads is still stored at this level. It is never fetched and no longer shown on any hosted page; upload a logo (or send `logo: null`) to clear it. */
|
|
883
|
+
remote_logo_ignored: boolean;
|
|
826
884
|
}
|
|
827
885
|
interface WhitelabelBranding {
|
|
828
886
|
/** null for the environment default. */
|
|
@@ -833,9 +891,9 @@ interface WhitelabelBranding {
|
|
|
833
891
|
app_name: string | null;
|
|
834
892
|
email_from_name: string | null;
|
|
835
893
|
email_template: string | null;
|
|
836
|
-
/** Uploaded
|
|
894
|
+
/** Uploaded with `PUT /branding/appearance` (the console's Branding page). */
|
|
837
895
|
logo_url: string | null;
|
|
838
|
-
/** Uploaded
|
|
896
|
+
/** Uploaded with `PUT /branding/appearance` (the console's Branding page). */
|
|
839
897
|
favicon_url: string | null;
|
|
840
898
|
}
|
|
841
899
|
interface CustomDomain$1 {
|
|
@@ -945,8 +1003,14 @@ interface PortalLink {
|
|
|
945
1003
|
organization_id: string;
|
|
946
1004
|
/** What the link may set up. */
|
|
947
1005
|
intents: Array<'sso' | 'dsync' | 'domain_verification' | 'log_streams' | 'certificate_renewal' | 'audit_logs'>;
|
|
948
|
-
/** The address the link was mailed to, or null when it was not sent. */
|
|
1006
|
+
/** The address the link was mailed to, or null when it was not sent — none was asked for, or the mail was suppressed (see email_suppressed). */
|
|
949
1007
|
emailed_to: string | null;
|
|
1008
|
+
/**
|
|
1009
|
+
* True when an `email` was asked for and NOT sent because this is a sandbox
|
|
1010
|
+
* environment, which sends no mail. `emailed_to` is then null, and the `url` in this
|
|
1011
|
+
* answer is the only way to the link — share it yourself.
|
|
1012
|
+
*/
|
|
1013
|
+
email_suppressed: boolean;
|
|
950
1014
|
/**
|
|
951
1015
|
* The one-time setup link — the whole credential. Shown once; `null` on an
|
|
952
1016
|
* idempotent replay of this answer.
|
|
@@ -1059,12 +1123,175 @@ interface AuditLogExport {
|
|
|
1059
1123
|
/** When the file is deleted. */
|
|
1060
1124
|
expires_at: string | null;
|
|
1061
1125
|
}
|
|
1126
|
+
interface FgaSubject {
|
|
1127
|
+
/** The subject's type: `user`, or `group` for a userset. */
|
|
1128
|
+
type: string;
|
|
1129
|
+
id: string;
|
|
1130
|
+
/** For a userset — everybody with this relation on the subject (`member` of `group:eng`). null for one subject. */
|
|
1131
|
+
relation: string | null;
|
|
1132
|
+
}
|
|
1133
|
+
interface FgaTuple {
|
|
1134
|
+
resource_type: string;
|
|
1135
|
+
resource_id: string;
|
|
1136
|
+
relation: string;
|
|
1137
|
+
subject: FgaSubject;
|
|
1138
|
+
/** The same tuple in the notation: `document:readme#viewer@group:eng#member`. */
|
|
1139
|
+
tuple: string;
|
|
1140
|
+
}
|
|
1141
|
+
interface FgaSchema {
|
|
1142
|
+
/** false until a schema is first saved. */
|
|
1143
|
+
defined: boolean;
|
|
1144
|
+
/** The source as it was written, comments and all. */
|
|
1145
|
+
schema: string | null;
|
|
1146
|
+
/** How many times the schema has been replaced. */
|
|
1147
|
+
version: number;
|
|
1148
|
+
/** The parsed types, each with its relations and how each is decided. */
|
|
1149
|
+
types: FgaType[];
|
|
1150
|
+
updated_at: string | null;
|
|
1151
|
+
/** The revision the model is at. */
|
|
1152
|
+
consistency_token: string;
|
|
1153
|
+
}
|
|
1154
|
+
interface FgaType {
|
|
1155
|
+
name: string;
|
|
1156
|
+
relations: Array<{
|
|
1157
|
+
name: string;
|
|
1158
|
+
/**
|
|
1159
|
+
* How the relation is decided, as a tree of one-key objects: `direct` (a list of
|
|
1160
|
+
* `{type, relation?}`), `computed` (a relation name), `from` (`{tupleset, relation}`),
|
|
1161
|
+
* `union` and `intersection` (lists of rewrites), `exclusion` (`{base, subtract}`).
|
|
1162
|
+
*/
|
|
1163
|
+
rewrite: Record<string, unknown>;
|
|
1164
|
+
/** The subjects a tuple may name on this relation; empty for a relation that is only computed. */
|
|
1165
|
+
directly_related: Array<{
|
|
1166
|
+
type: string;
|
|
1167
|
+
relation?: string;
|
|
1168
|
+
}>;
|
|
1169
|
+
}>;
|
|
1170
|
+
}
|
|
1171
|
+
interface FgaSchemaValidation {
|
|
1172
|
+
valid: boolean;
|
|
1173
|
+
errors: Array<{
|
|
1174
|
+
/** 0 when the problem is about the whole schema. */
|
|
1175
|
+
line: number;
|
|
1176
|
+
message: string;
|
|
1177
|
+
}>;
|
|
1178
|
+
types: FgaType[];
|
|
1179
|
+
/** The schema as the platform prints it, when valid. */
|
|
1180
|
+
canonical: string | null;
|
|
1181
|
+
}
|
|
1182
|
+
interface FgaTupleWrite {
|
|
1183
|
+
/** Tuples that were new. Re-writing an existing one is not counted. */
|
|
1184
|
+
written: number;
|
|
1185
|
+
/** Tuples that were there to delete. */
|
|
1186
|
+
deleted: number;
|
|
1187
|
+
/** Pass to a check that must see this write. */
|
|
1188
|
+
consistency_token: string;
|
|
1189
|
+
}
|
|
1190
|
+
interface FgaCheck {
|
|
1191
|
+
allowed: boolean;
|
|
1192
|
+
resource_type: string;
|
|
1193
|
+
resource_id: string;
|
|
1194
|
+
relation: string;
|
|
1195
|
+
subject: FgaSubject;
|
|
1196
|
+
/** The revision the answer was decided at. */
|
|
1197
|
+
consistency_token: string;
|
|
1198
|
+
}
|
|
1199
|
+
interface FgaCheckBatch {
|
|
1200
|
+
/** One answer per check, in the order asked. */
|
|
1201
|
+
results: FgaCheck[];
|
|
1202
|
+
consistency_token: string | null;
|
|
1203
|
+
}
|
|
1204
|
+
interface FgaObject {
|
|
1205
|
+
type: string;
|
|
1206
|
+
id: string;
|
|
1207
|
+
}
|
|
1062
1208
|
interface AuditLogSettings {
|
|
1063
1209
|
/** Events are kept this many days after they arrive. */
|
|
1064
1210
|
retention_days: number;
|
|
1065
1211
|
/** Whether an action with no schema is refused. */
|
|
1066
1212
|
strict_schemas: boolean;
|
|
1067
1213
|
}
|
|
1214
|
+
interface RadarSettings {
|
|
1215
|
+
/** monitor records every verdict and acts on none; enforce blocks and challenges. */
|
|
1216
|
+
mode: 'monitor' | 'enforce';
|
|
1217
|
+
/** True while the environment follows the deployment's default (RISK_MODE) rather than a mode it chose. */
|
|
1218
|
+
mode_inherited: boolean;
|
|
1219
|
+
deployment_mode: 'monitor' | 'enforce';
|
|
1220
|
+
/** The configured IP intelligence source. With none, country, network and travel facts are unknown and the rules on them never fire. */
|
|
1221
|
+
ip_intelligence: 'none' | 'maxmind' | 'ipinfo';
|
|
1222
|
+
builtin_rules: Array<{
|
|
1223
|
+
key: 'credential_stuffing' | 'bot_velocity' | 'account_attack' | 'impossible_travel' | 'new_device' | 'anonymous_network' | 'hosting_network' | 'disposable_email' | 'risk_score_reject' | 'risk_score_elevated';
|
|
1224
|
+
name: string;
|
|
1225
|
+
description: string;
|
|
1226
|
+
applies_to: 'all' | 'sign_in' | 'sign_up';
|
|
1227
|
+
enabled: boolean;
|
|
1228
|
+
action: 'allow' | 'challenge' | 'block';
|
|
1229
|
+
/** null for a rule that counts nothing. */
|
|
1230
|
+
threshold: number | null;
|
|
1231
|
+
threshold_unit: string | null;
|
|
1232
|
+
threshold_min: number | null;
|
|
1233
|
+
threshold_max: number | null;
|
|
1234
|
+
}>;
|
|
1235
|
+
}
|
|
1236
|
+
interface RadarRule {
|
|
1237
|
+
id: string;
|
|
1238
|
+
name: string;
|
|
1239
|
+
description: string | null;
|
|
1240
|
+
/** 1 is evaluated first; the first rule whose conditions all hold decides. */
|
|
1241
|
+
position: number;
|
|
1242
|
+
enabled: boolean;
|
|
1243
|
+
applies_to: 'all' | 'sign_in' | 'sign_up';
|
|
1244
|
+
action: 'allow' | 'challenge' | 'block';
|
|
1245
|
+
conditions: Array<{
|
|
1246
|
+
field: string;
|
|
1247
|
+
operator: 'eq' | 'neq' | 'in' | 'not_in' | 'gt' | 'gte' | 'lt' | 'lte' | 'contains' | 'not_contains' | 'starts_with' | 'ends_with' | 'in_cidr' | 'not_in_cidr';
|
|
1248
|
+
/** Normalised: a string, a number, true/false, or a list for the list operators. */
|
|
1249
|
+
value: string | number | boolean | Array<string | number>;
|
|
1250
|
+
}>;
|
|
1251
|
+
/** The conditions as a person reads them. */
|
|
1252
|
+
summary: string;
|
|
1253
|
+
created_at: string;
|
|
1254
|
+
updated_at: string;
|
|
1255
|
+
}
|
|
1256
|
+
interface RadarListEntry {
|
|
1257
|
+
id: string;
|
|
1258
|
+
list: 'allow' | 'deny';
|
|
1259
|
+
kind: 'ip' | 'email' | 'email_domain' | 'device';
|
|
1260
|
+
/** Normalised: an IP or CIDR range, a lower-case address or domain, or a device id. */
|
|
1261
|
+
value: string;
|
|
1262
|
+
note: string | null;
|
|
1263
|
+
expires_at: string | null;
|
|
1264
|
+
active: boolean;
|
|
1265
|
+
created_at: string;
|
|
1266
|
+
}
|
|
1267
|
+
interface RadarDecision {
|
|
1268
|
+
id: string;
|
|
1269
|
+
assessed_at: string;
|
|
1270
|
+
flow: 'sign_in' | 'sign_up';
|
|
1271
|
+
method: 'password' | 'magic_link' | 'passkey' | 'sign_up' | null;
|
|
1272
|
+
verdict: 'allow' | 'challenge' | 'block';
|
|
1273
|
+
/** Whether the verdict was acted on; false under monitor. */
|
|
1274
|
+
enforced: boolean;
|
|
1275
|
+
mode: 'monitor' | 'enforce';
|
|
1276
|
+
/** What decided it: deny_list:<kind>, allow_list:<kind>, rule:<id>, builtin:<key>; null when nothing matched. */
|
|
1277
|
+
rule: string | null;
|
|
1278
|
+
rule_name: string | null;
|
|
1279
|
+
/** Every rule that fired, the deciding one included. */
|
|
1280
|
+
triggered: Array<{
|
|
1281
|
+
rule: string;
|
|
1282
|
+
name: string;
|
|
1283
|
+
}>;
|
|
1284
|
+
reasons: string[];
|
|
1285
|
+
risk_score: number;
|
|
1286
|
+
risk_outcome: 'allow' | 'flag' | 'challenge' | 'step_up' | 'reject';
|
|
1287
|
+
country: string | null;
|
|
1288
|
+
asn: number | null;
|
|
1289
|
+
email_domain: string | null;
|
|
1290
|
+
/** The device id (a pseudonym of the device cookie), for a returning device. */
|
|
1291
|
+
device: string | null;
|
|
1292
|
+
/** The facts the rules were evaluated on — never the IP, the address or the user agent. */
|
|
1293
|
+
facts: Record<string, unknown>;
|
|
1294
|
+
}
|
|
1068
1295
|
interface AuditLogVerification {
|
|
1069
1296
|
organization_id: string;
|
|
1070
1297
|
/** Every event checked is unchanged and in place. */
|
|
@@ -1083,15 +1310,41 @@ interface Directory {
|
|
|
1083
1310
|
id: string;
|
|
1084
1311
|
organization_id: string;
|
|
1085
1312
|
name: string;
|
|
1086
|
-
provider: 'scim' | 'google_workspace' | 'microsoft_entra';
|
|
1313
|
+
provider: 'scim' | 'google_workspace' | 'microsoft_entra' | 'workday' | 'bamboohr' | 'rippling' | 'hibob' | 'personio';
|
|
1087
1314
|
/** true when this platform fetches from the provider; false for a SCIM endpoint the provider posts to. */
|
|
1088
1315
|
pull: boolean;
|
|
1316
|
+
/** true for an HR system (Workday, BambooHR, Rippling, HiBob, Personio): employment dates decide access and departments become groups. */
|
|
1317
|
+
hris?: boolean;
|
|
1089
1318
|
active: boolean;
|
|
1090
1319
|
status: 'active' | 'paused';
|
|
1091
1320
|
/** Where the identity provider sends SCIM requests. null for a pull directory. */
|
|
1092
1321
|
scim_base_url?: string | null;
|
|
1093
1322
|
last_synced_at?: string | null;
|
|
1323
|
+
/** Why the last pull failed, or for a partial one how many records could not be synced and the first reason. Never names a person. */
|
|
1094
1324
|
last_sync_error?: string | null;
|
|
1325
|
+
/** When the last pull started. null for a SCIM directory. */
|
|
1326
|
+
last_sync_started_at?: string | null;
|
|
1327
|
+
/** How the last pull went. partial: the provider answered but some records could not be reconciled, or a mass deprovisioning was refused. */
|
|
1328
|
+
last_sync_status?: 'running' | 'succeeded' | 'partial' | 'failed' | null;
|
|
1329
|
+
/** The last pull's counts, and up to 50 records it could not reconcile — by the provider's own id, never by name or email. */
|
|
1330
|
+
last_sync_stats?: {
|
|
1331
|
+
mode?: 'full' | 'incremental';
|
|
1332
|
+
provisioned?: number;
|
|
1333
|
+
deprovisioned?: number;
|
|
1334
|
+
groups?: number;
|
|
1335
|
+
/** Leavers and people who have not started, who never had an account. */
|
|
1336
|
+
skipped?: number;
|
|
1337
|
+
failed?: number;
|
|
1338
|
+
failures?: Array<{
|
|
1339
|
+
external_id?: string | null;
|
|
1340
|
+
reason?: string;
|
|
1341
|
+
}>;
|
|
1342
|
+
} | null;
|
|
1343
|
+
/** Minutes between scheduled pulls. null for a SCIM directory. */
|
|
1344
|
+
sync_interval_minutes?: number | null;
|
|
1345
|
+
next_sync_at?: string | null;
|
|
1346
|
+
/** HR systems only: the HR system's own field names copied onto each person. */
|
|
1347
|
+
custom_attributes?: string[] | null;
|
|
1095
1348
|
created_at?: string | null;
|
|
1096
1349
|
/**
|
|
1097
1350
|
* The SCIM bearer token, on the create and rotate answers only — shown once, never
|
|
@@ -1135,6 +1388,44 @@ interface SodPolicy {
|
|
|
1135
1388
|
active: boolean;
|
|
1136
1389
|
created_at?: string | null;
|
|
1137
1390
|
}
|
|
1391
|
+
/** A switch apps ask about per user and organization. First match wins: switched off, then a user rule, then an organization rule, then the rollout, then the default. */
|
|
1392
|
+
interface FeatureFlag {
|
|
1393
|
+
id: string;
|
|
1394
|
+
/** What code asks for and the `feature_flags` claim carries. Fixed once created. */
|
|
1395
|
+
key: string;
|
|
1396
|
+
description?: string | null;
|
|
1397
|
+
/** The kill switch: false is off for everyone. */
|
|
1398
|
+
enabled: boolean;
|
|
1399
|
+
/** The answer when no rule matches. */
|
|
1400
|
+
default_value: boolean;
|
|
1401
|
+
/** On for this share of everyone else, by a stable hash of the user id (the organization id without one). */
|
|
1402
|
+
rollout_percentage?: number | null;
|
|
1403
|
+
/** Rules for named users; they outrank every other rule. */
|
|
1404
|
+
users: FeatureFlagRule[];
|
|
1405
|
+
/** Rules for named organizations; they outrank the rollout and the default. */
|
|
1406
|
+
organizations: FeatureFlagRule[];
|
|
1407
|
+
created_at?: string | null;
|
|
1408
|
+
updated_at?: string | null;
|
|
1409
|
+
}
|
|
1410
|
+
interface FeatureFlagRule {
|
|
1411
|
+
/** The user's or organization's id. */
|
|
1412
|
+
id: string;
|
|
1413
|
+
/** On or off for them. */
|
|
1414
|
+
enabled: boolean;
|
|
1415
|
+
}
|
|
1416
|
+
/** Every flag's answer for the user and organization asked about. */
|
|
1417
|
+
interface FeatureFlagEvaluation {
|
|
1418
|
+
user_id: string | null;
|
|
1419
|
+
organization_id: string | null;
|
|
1420
|
+
/** The keys of the flags that are on, sorted — exactly what the token's `feature_flags` claim would carry. */
|
|
1421
|
+
feature_flags: string[];
|
|
1422
|
+
evaluations: Array<{
|
|
1423
|
+
key: string;
|
|
1424
|
+
enabled: boolean;
|
|
1425
|
+
/** The rule that decided. */
|
|
1426
|
+
reason: 'disabled' | 'user_target' | 'organization_target' | 'rollout' | 'default';
|
|
1427
|
+
}>;
|
|
1428
|
+
}
|
|
1138
1429
|
interface AccessReview {
|
|
1139
1430
|
id: string;
|
|
1140
1431
|
/** null for a staff review of environment-wide grants. */
|
|
@@ -1184,6 +1475,58 @@ interface TokenVaultSecret {
|
|
|
1184
1475
|
/** The OAuth client ids that may lease it. Not on lists. */
|
|
1185
1476
|
grants?: string[];
|
|
1186
1477
|
}
|
|
1478
|
+
/** A pipe: this environment's OAuth app at a third-party provider, through which people connect their own accounts. The client secret is write-only. */
|
|
1479
|
+
interface Pipe {
|
|
1480
|
+
id: string;
|
|
1481
|
+
provider: 'github' | 'google' | 'microsoft' | 'slack' | 'salesforce' | 'hubspot' | 'linear' | 'notion';
|
|
1482
|
+
name: string;
|
|
1483
|
+
/** Your app's OAuth client id at the provider. */
|
|
1484
|
+
client_id: string;
|
|
1485
|
+
/** What people are asked for when they connect. */
|
|
1486
|
+
scopes: string[];
|
|
1487
|
+
/** Per-installation values: Microsoft's `tenant`, Salesforce's `domain`. */
|
|
1488
|
+
parameters?: {
|
|
1489
|
+
[key: string]: string;
|
|
1490
|
+
};
|
|
1491
|
+
enabled: boolean;
|
|
1492
|
+
/** The callback URL to register at the provider. */
|
|
1493
|
+
redirect_uri: string;
|
|
1494
|
+
/** The OAuth client ids of the apps that may lease its tokens. */
|
|
1495
|
+
grants: string[];
|
|
1496
|
+
/** How many people have connected an account through it. */
|
|
1497
|
+
connections: number;
|
|
1498
|
+
created_at?: string | null;
|
|
1499
|
+
updated_at?: string | null;
|
|
1500
|
+
}
|
|
1501
|
+
/** One person's connected account at a pipe's provider. Never a token. */
|
|
1502
|
+
interface PipeConnection {
|
|
1503
|
+
id: string;
|
|
1504
|
+
pipe_id: string;
|
|
1505
|
+
provider: string;
|
|
1506
|
+
user_id: string;
|
|
1507
|
+
status: 'active' | 'needs_reauth';
|
|
1508
|
+
/** The account's name at the provider, when it says (a GitHub login, an email, a workspace). */
|
|
1509
|
+
account?: string | null;
|
|
1510
|
+
scopes: string[];
|
|
1511
|
+
metadata?: {
|
|
1512
|
+
[key: string]: string;
|
|
1513
|
+
};
|
|
1514
|
+
/** When the current access token expires. Null when it does not. */
|
|
1515
|
+
expires_at?: string | null;
|
|
1516
|
+
connected_at?: string | null;
|
|
1517
|
+
last_refreshed_at?: string | null;
|
|
1518
|
+
/** Consecutive transient refresh failures. */
|
|
1519
|
+
refresh_failures?: number;
|
|
1520
|
+
last_error?: string | null;
|
|
1521
|
+
/** Why it needs reconnecting: the provider's error code, or `no_refresh_token`. */
|
|
1522
|
+
reauth_reason?: string | null;
|
|
1523
|
+
}
|
|
1524
|
+
interface PipeConnectRequired {
|
|
1525
|
+
error: 'not_connected' | 'reauthorization_required';
|
|
1526
|
+
message: string;
|
|
1527
|
+
/** Where to send the person to connect. Add `?client_id=…&return_to=…` to bring them back to your app. */
|
|
1528
|
+
connect_url: string;
|
|
1529
|
+
}
|
|
1187
1530
|
/** A pending request from an agent to act as one of this environment's people (OIDC CIBA). */
|
|
1188
1531
|
interface AgentRequest {
|
|
1189
1532
|
id: string;
|
|
@@ -1745,7 +2088,7 @@ interface BrandingAppearanceSetBody {
|
|
|
1745
2088
|
preset?: string;
|
|
1746
2089
|
/** Corner radius: 0rem, 0.25rem, 0.375rem, 0.5rem, 0.75rem, 1rem. */
|
|
1747
2090
|
radius?: string;
|
|
1748
|
-
/** Type family: system, geometric, serif. */
|
|
2091
|
+
/** Type family: system, inter, geometric, rounded, serif. */
|
|
1749
2092
|
font?: string;
|
|
1750
2093
|
/** Colours as #rrggbb. One left out takes the preset's. */
|
|
1751
2094
|
light?: {
|
|
@@ -1762,8 +2105,10 @@ interface BrandingAppearanceSetBody {
|
|
|
1762
2105
|
muted?: string;
|
|
1763
2106
|
};
|
|
1764
2107
|
};
|
|
1765
|
-
/**
|
|
2108
|
+
/** The logo as a base64 data: URI (data:image/png;base64,…): PNG, JPEG or WebP, at most 1024 KB and 4096px on the longest side. SVG and remote URLs are refused. Null removes it; left out keeps it. */
|
|
1766
2109
|
logo?: string | null;
|
|
2110
|
+
/** The favicon as a base64 data: URI (data:image/png;base64,…): PNG, ICO or WebP, at most 256 KB and 1024px on the longest side. SVG and remote URLs are refused. Null removes it; left out keeps it. */
|
|
2111
|
+
favicon?: string | null;
|
|
1767
2112
|
}
|
|
1768
2113
|
/** Response body of `branding.appearance.set`. */
|
|
1769
2114
|
type BrandingAppearanceSetResponse = {
|
|
@@ -1836,6 +2181,32 @@ interface DirectoriesCreateBody {
|
|
|
1836
2181
|
type DirectoriesCreateResponse = {
|
|
1837
2182
|
data: Directory;
|
|
1838
2183
|
};
|
|
2184
|
+
/** Request body of `directories.credentials.replace`. */
|
|
2185
|
+
interface DirectoriesCredentialsReplaceBody {
|
|
2186
|
+
/** Only if it is this organization's; anything else is a 404. */
|
|
2187
|
+
organization_id?: string | null;
|
|
2188
|
+
/** The new credentials, in the keys the provider's setup names (Google: service_account_json, admin_email; Entra: tenant_id, client_id, client_secret). Write-only. */
|
|
2189
|
+
credentials: {
|
|
2190
|
+
report_url?: string;
|
|
2191
|
+
username?: string;
|
|
2192
|
+
password?: string;
|
|
2193
|
+
client_id?: string;
|
|
2194
|
+
client_secret?: string;
|
|
2195
|
+
refresh_token?: string;
|
|
2196
|
+
subdomain?: string;
|
|
2197
|
+
api_key?: string;
|
|
2198
|
+
api_token?: string;
|
|
2199
|
+
service_user_id?: string;
|
|
2200
|
+
service_user_token?: string;
|
|
2201
|
+
service_account_json?: string;
|
|
2202
|
+
admin_email?: string;
|
|
2203
|
+
tenant_id?: string;
|
|
2204
|
+
};
|
|
2205
|
+
}
|
|
2206
|
+
/** Response body of `directories.credentials.replace`. */
|
|
2207
|
+
type DirectoriesCredentialsReplaceResponse = {
|
|
2208
|
+
data: Directory;
|
|
2209
|
+
};
|
|
1839
2210
|
/** Request body of `directories.delete`. */
|
|
1840
2211
|
interface DirectoriesDeleteBody {
|
|
1841
2212
|
/** Only if it is this organization's; anything else is a 404. */
|
|
@@ -1881,6 +2252,48 @@ interface DirectoriesGroupsMapBody {
|
|
|
1881
2252
|
type DirectoriesGroupsMapResponse = {
|
|
1882
2253
|
data: DirectoryGroup;
|
|
1883
2254
|
};
|
|
2255
|
+
/** Request body of `directories.hris.connect`. */
|
|
2256
|
+
interface DirectoriesHrisConnectBody {
|
|
2257
|
+
/** The organization whose people it provisions. */
|
|
2258
|
+
organization_id: string;
|
|
2259
|
+
/** workday, bamboohr, rippling, hibob or personio. */
|
|
2260
|
+
provider: 'workday' | 'bamboohr' | 'rippling' | 'hibob' | 'personio';
|
|
2261
|
+
/** What administrators call it. Defaults to the HR system's name. */
|
|
2262
|
+
name?: string;
|
|
2263
|
+
/** The HR system's credentials, in the keys its setup guide names. Write-only: sealed, never returned. */
|
|
2264
|
+
credentials: {
|
|
2265
|
+
/** Workday: Report web-service URL. */
|
|
2266
|
+
report_url?: string;
|
|
2267
|
+
/** Workday: Integration system user. */
|
|
2268
|
+
username?: string;
|
|
2269
|
+
/** Workday: Integration system user password (secret). */
|
|
2270
|
+
password?: string;
|
|
2271
|
+
/** Workday: API client ID; Personio: Client ID. */
|
|
2272
|
+
client_id?: string;
|
|
2273
|
+
/** Workday: API client secret (secret); Personio: Client secret (secret). */
|
|
2274
|
+
client_secret?: string;
|
|
2275
|
+
/** Workday: Refresh token (secret). */
|
|
2276
|
+
refresh_token?: string;
|
|
2277
|
+
/** BambooHR: Company subdomain. */
|
|
2278
|
+
subdomain?: string;
|
|
2279
|
+
/** BambooHR: API key (secret). */
|
|
2280
|
+
api_key?: string;
|
|
2281
|
+
/** Rippling: API token (secret). */
|
|
2282
|
+
api_token?: string;
|
|
2283
|
+
/** HiBob: Service user ID. */
|
|
2284
|
+
service_user_id?: string;
|
|
2285
|
+
/** HiBob: Service user token (secret). */
|
|
2286
|
+
service_user_token?: string;
|
|
2287
|
+
};
|
|
2288
|
+
/** The HR system's own field names to copy onto each person, verbatim. */
|
|
2289
|
+
custom_attributes?: string[];
|
|
2290
|
+
/** Minutes between scheduled pulls, 15 to 1440. Omitted or null: the platform default (hourly). */
|
|
2291
|
+
sync_interval_minutes?: number | null;
|
|
2292
|
+
}
|
|
2293
|
+
/** Response body of `directories.hris.connect`. */
|
|
2294
|
+
type DirectoriesHrisConnectResponse = {
|
|
2295
|
+
data: Directory;
|
|
2296
|
+
};
|
|
1884
2297
|
/** Query parameters of `directories.list`. */
|
|
1885
2298
|
interface DirectoriesListQuery {
|
|
1886
2299
|
/** Only this organization's. */
|
|
@@ -1906,6 +2319,59 @@ interface DirectoriesStatusSetBody {
|
|
|
1906
2319
|
type DirectoriesStatusSetResponse = {
|
|
1907
2320
|
data: Directory;
|
|
1908
2321
|
};
|
|
2322
|
+
/** Request body of `directories.sync`. */
|
|
2323
|
+
interface DirectoriesSyncBody {
|
|
2324
|
+
/** Only if it is this organization's; anything else is a 404. */
|
|
2325
|
+
organization_id?: string | null;
|
|
2326
|
+
/** Ask an HR system that syncs incrementally for everybody, not only what changed. Ignored by other providers. */
|
|
2327
|
+
full?: boolean;
|
|
2328
|
+
}
|
|
2329
|
+
/** Response body of `directories.sync`. */
|
|
2330
|
+
type DirectoriesSyncResponse = {
|
|
2331
|
+
data: Directory;
|
|
2332
|
+
};
|
|
2333
|
+
/** Request body of `directories.sync_settings.update`. */
|
|
2334
|
+
interface DirectoriesSyncSettingsUpdateBody {
|
|
2335
|
+
/** Only if it is this organization's; anything else is a 404. */
|
|
2336
|
+
organization_id?: string | null;
|
|
2337
|
+
/** Minutes between scheduled pulls, 15 to 1440. null returns to the platform default (hourly). */
|
|
2338
|
+
sync_interval_minutes?: number | null;
|
|
2339
|
+
/** HR systems only: the HR system's own field names to copy onto each person, verbatim. */
|
|
2340
|
+
custom_attributes?: string[];
|
|
2341
|
+
/** Workday only: the report column holding each field, where it is not the default name. */
|
|
2342
|
+
field_map?: {
|
|
2343
|
+
/** The report column holding id. Default: Employee_ID. */
|
|
2344
|
+
id?: string;
|
|
2345
|
+
/** The report column holding email. Default: Work_Email. */
|
|
2346
|
+
email?: string;
|
|
2347
|
+
/** The report column holding first_name. Default: Legal_First_Name. */
|
|
2348
|
+
first_name?: string;
|
|
2349
|
+
/** The report column holding last_name. Default: Legal_Last_Name. */
|
|
2350
|
+
last_name?: string;
|
|
2351
|
+
/** The report column holding display_name. Default: Preferred_Name. */
|
|
2352
|
+
display_name?: string;
|
|
2353
|
+
/** The report column holding active. Default: Active_Status. */
|
|
2354
|
+
active?: string;
|
|
2355
|
+
/** The report column holding on_leave. Default: On_Leave. */
|
|
2356
|
+
on_leave?: string;
|
|
2357
|
+
/** The report column holding hire_date. Default: Hire_Date. */
|
|
2358
|
+
hire_date?: string;
|
|
2359
|
+
/** The report column holding termination_date. Default: Termination_Date. */
|
|
2360
|
+
termination_date?: string;
|
|
2361
|
+
/** The report column holding department_id. Default: Supervisory_Organization_ID. */
|
|
2362
|
+
department_id?: string;
|
|
2363
|
+
/** The report column holding department. Default: Supervisory_Organization. */
|
|
2364
|
+
department?: string;
|
|
2365
|
+
/** The report column holding manager_id. Default: Manager_Employee_ID. */
|
|
2366
|
+
manager_id?: string;
|
|
2367
|
+
/** The report column holding title. Default: Business_Title. */
|
|
2368
|
+
title?: string;
|
|
2369
|
+
};
|
|
2370
|
+
}
|
|
2371
|
+
/** Response body of `directories.sync_settings.update`. */
|
|
2372
|
+
type DirectoriesSyncSettingsUpdateResponse = {
|
|
2373
|
+
data: Directory;
|
|
2374
|
+
};
|
|
1909
2375
|
/** Request body of `directories.token.rotate`. */
|
|
1910
2376
|
interface DirectoriesTokenRotateBody {
|
|
1911
2377
|
/** Only if it is this organization's; anything else is a 404. */
|
|
@@ -1961,6 +2427,268 @@ type EventsListResponse = {
|
|
|
1961
2427
|
data: DomainEvent[];
|
|
1962
2428
|
meta: PageMeta$1;
|
|
1963
2429
|
};
|
|
2430
|
+
/** Request body of `feature_flags.create`. */
|
|
2431
|
+
interface FeatureFlagsCreateBody {
|
|
2432
|
+
/** What code asks for and the `feature_flags` claim carries: lowercase letters and digits, with `-`, `_` or `.` between them. Fixed once created. */
|
|
2433
|
+
key: string;
|
|
2434
|
+
description?: string | null;
|
|
2435
|
+
/** The kill switch: off means off for everyone, whatever the rules say. Defaults to true. */
|
|
2436
|
+
enabled?: boolean;
|
|
2437
|
+
/** The answer when no rule matches. Defaults to false. */
|
|
2438
|
+
default_value?: boolean;
|
|
2439
|
+
/** Rules for named users — they outrank every other rule. The COMPLETE list when sent. */
|
|
2440
|
+
users?: Array<{
|
|
2441
|
+
/** The user's id. */
|
|
2442
|
+
id: string;
|
|
2443
|
+
/** On (true, the default) or off for them, whatever the organization, rollout or default say. */
|
|
2444
|
+
enabled?: boolean;
|
|
2445
|
+
}>;
|
|
2446
|
+
/** Rules for named organizations — they outrank the rollout and the default. The COMPLETE list when sent. */
|
|
2447
|
+
organizations?: Array<{
|
|
2448
|
+
/** The organization's id. */
|
|
2449
|
+
id: string;
|
|
2450
|
+
/** On (true, the default) or off for them, whatever the organization, rollout or default say. */
|
|
2451
|
+
enabled?: boolean;
|
|
2452
|
+
}>;
|
|
2453
|
+
/** On for this percentage of everyone else, by a stable hash of the user id (or the organization id without one). null for no rollout. */
|
|
2454
|
+
rollout_percentage?: number | null;
|
|
2455
|
+
}
|
|
2456
|
+
/** Response body of `feature_flags.create`. */
|
|
2457
|
+
type FeatureFlagsCreateResponse = {
|
|
2458
|
+
data: FeatureFlag;
|
|
2459
|
+
};
|
|
2460
|
+
/** Response body of `feature_flags.delete`. */
|
|
2461
|
+
type FeatureFlagsDeleteResponse = void;
|
|
2462
|
+
/** Query parameters of `feature_flags.evaluate`. */
|
|
2463
|
+
interface FeatureFlagsEvaluateQuery {
|
|
2464
|
+
/** The user to evaluate for. Left out, only organization rules, an organization-bucketed rollout and defaults apply. */
|
|
2465
|
+
user_id?: string;
|
|
2466
|
+
/** The organization the question is asked in. */
|
|
2467
|
+
organization_id?: string;
|
|
2468
|
+
}
|
|
2469
|
+
/** Response body of `feature_flags.evaluate`. */
|
|
2470
|
+
type FeatureFlagsEvaluateResponse = {
|
|
2471
|
+
data: FeatureFlagEvaluation;
|
|
2472
|
+
};
|
|
2473
|
+
/** Response body of `feature_flags.get`. */
|
|
2474
|
+
type FeatureFlagsGetResponse = {
|
|
2475
|
+
data: FeatureFlag;
|
|
2476
|
+
};
|
|
2477
|
+
/** Query parameters of `feature_flags.list`. */
|
|
2478
|
+
interface FeatureFlagsListQuery {
|
|
2479
|
+
/** Items per page, 1–100. Default 50. */
|
|
2480
|
+
limit?: number;
|
|
2481
|
+
/** The `next_cursor` of the previous page. */
|
|
2482
|
+
after?: string;
|
|
2483
|
+
}
|
|
2484
|
+
/** Response body of `feature_flags.list`. */
|
|
2485
|
+
type FeatureFlagsListResponse = {
|
|
2486
|
+
data: FeatureFlag[];
|
|
2487
|
+
meta: PageMeta$1;
|
|
2488
|
+
};
|
|
2489
|
+
/** Request body of `feature_flags.update`. */
|
|
2490
|
+
interface FeatureFlagsUpdateBody {
|
|
2491
|
+
/** Null or empty clears it. */
|
|
2492
|
+
description?: string | null;
|
|
2493
|
+
/** The kill switch: off means off for everyone. */
|
|
2494
|
+
enabled?: boolean;
|
|
2495
|
+
/** The answer when no rule matches. */
|
|
2496
|
+
default_value?: boolean;
|
|
2497
|
+
/** Rules for named users — they outrank every other rule. The COMPLETE list when sent. */
|
|
2498
|
+
users?: Array<{
|
|
2499
|
+
/** The user's id. */
|
|
2500
|
+
id: string;
|
|
2501
|
+
/** On (true, the default) or off for them, whatever the organization, rollout or default say. */
|
|
2502
|
+
enabled?: boolean;
|
|
2503
|
+
}>;
|
|
2504
|
+
/** Rules for named organizations — they outrank the rollout and the default. The COMPLETE list when sent. */
|
|
2505
|
+
organizations?: Array<{
|
|
2506
|
+
/** The organization's id. */
|
|
2507
|
+
id: string;
|
|
2508
|
+
/** On (true, the default) or off for them, whatever the organization, rollout or default say. */
|
|
2509
|
+
enabled?: boolean;
|
|
2510
|
+
}>;
|
|
2511
|
+
/** On for this percentage of everyone else, by a stable hash of the user id (or the organization id without one). null for no rollout. */
|
|
2512
|
+
rollout_percentage?: number | null;
|
|
2513
|
+
}
|
|
2514
|
+
/** Response body of `feature_flags.update`. */
|
|
2515
|
+
type FeatureFlagsUpdateResponse = {
|
|
2516
|
+
data: FeatureFlag;
|
|
2517
|
+
};
|
|
2518
|
+
/** Query parameters of `fga.check`. */
|
|
2519
|
+
interface FgaCheckQuery {
|
|
2520
|
+
/** The resource's type: `document`. */
|
|
2521
|
+
resource_type: string;
|
|
2522
|
+
/** The resource's id: `readme`. */
|
|
2523
|
+
resource_id: string;
|
|
2524
|
+
/** The relation to check: `viewer`. */
|
|
2525
|
+
relation: string;
|
|
2526
|
+
/** The subject's type: `user`, or `group` for a userset. */
|
|
2527
|
+
subject_type: string;
|
|
2528
|
+
/** The subject's id: `alice`. */
|
|
2529
|
+
subject_id: string;
|
|
2530
|
+
/** For a userset subject — `member` with `group`/`eng` asks about every member of eng. */
|
|
2531
|
+
subject_relation?: string;
|
|
2532
|
+
/** A `consistency_token` a write returned: the answer is then at least as fresh as that write. */
|
|
2533
|
+
consistency_token?: string | null;
|
|
2534
|
+
}
|
|
2535
|
+
/** Response body of `fga.check`. */
|
|
2536
|
+
type FgaCheckResponse = {
|
|
2537
|
+
data: FgaCheck;
|
|
2538
|
+
};
|
|
2539
|
+
/** Query parameters of `fga.check_batch`. */
|
|
2540
|
+
interface FgaCheckBatchQuery {
|
|
2541
|
+
/** 1–100 checks, each `resource_type:resource_id#relation@subject_type:subject_id[#subject_relation]`. */
|
|
2542
|
+
checks: string[];
|
|
2543
|
+
/** A `consistency_token` a write returned: the answer is then at least as fresh as that write. */
|
|
2544
|
+
consistency_token?: string | null;
|
|
2545
|
+
}
|
|
2546
|
+
/** Response body of `fga.check_batch`. */
|
|
2547
|
+
type FgaCheckBatchResponse = {
|
|
2548
|
+
data: FgaCheckBatch;
|
|
2549
|
+
};
|
|
2550
|
+
/** Query parameters of `fga.resources.list`. */
|
|
2551
|
+
interface FgaResourcesListQuery {
|
|
2552
|
+
/** Which type of resource to list: `document`. */
|
|
2553
|
+
resource_type: string;
|
|
2554
|
+
/** The relation the subject must have: `viewer`. */
|
|
2555
|
+
relation: string;
|
|
2556
|
+
/** The subject's type: `user`. */
|
|
2557
|
+
subject_type: string;
|
|
2558
|
+
/** The subject's id: `alice`. */
|
|
2559
|
+
subject_id: string;
|
|
2560
|
+
/** For a userset subject: `member` with `group`/`eng`. */
|
|
2561
|
+
subject_relation?: string;
|
|
2562
|
+
/** A `consistency_token` a write returned: the answer is then at least as fresh as that write. */
|
|
2563
|
+
consistency_token?: string | null;
|
|
2564
|
+
/** Ids per page, 1–1000. Default 100. */
|
|
2565
|
+
limit?: number;
|
|
2566
|
+
/** The `next_cursor` of the previous page. */
|
|
2567
|
+
after?: string;
|
|
2568
|
+
}
|
|
2569
|
+
/** Response body of `fga.resources.list`. */
|
|
2570
|
+
type FgaResourcesListResponse = {
|
|
2571
|
+
data: FgaObject[];
|
|
2572
|
+
meta: PageMeta$1;
|
|
2573
|
+
};
|
|
2574
|
+
/** Response body of `fga.schema.get`. */
|
|
2575
|
+
type FgaSchemaGetResponse = {
|
|
2576
|
+
data: FgaSchema;
|
|
2577
|
+
};
|
|
2578
|
+
/** Request body of `fga.schema.update`. */
|
|
2579
|
+
interface FgaSchemaUpdateBody {
|
|
2580
|
+
/** The schema, in the schema language: `type document` then ` relation viewer: [user, group#member] or editor or viewer from parent`. */
|
|
2581
|
+
schema: string;
|
|
2582
|
+
}
|
|
2583
|
+
/** Response body of `fga.schema.update`. */
|
|
2584
|
+
type FgaSchemaUpdateResponse = {
|
|
2585
|
+
data: FgaSchema;
|
|
2586
|
+
};
|
|
2587
|
+
/** Query parameters of `fga.schema.validate`. */
|
|
2588
|
+
interface FgaSchemaValidateQuery {
|
|
2589
|
+
/** The schema to check, in the schema language. */
|
|
2590
|
+
schema: string;
|
|
2591
|
+
}
|
|
2592
|
+
/** Response body of `fga.schema.validate`. */
|
|
2593
|
+
type FgaSchemaValidateResponse = {
|
|
2594
|
+
data: FgaSchemaValidation;
|
|
2595
|
+
};
|
|
2596
|
+
/** Query parameters of `fga.subjects.list`. */
|
|
2597
|
+
interface FgaSubjectsListQuery {
|
|
2598
|
+
/** The resource's type: `document`. */
|
|
2599
|
+
resource_type: string;
|
|
2600
|
+
/** The resource's id: `readme`. */
|
|
2601
|
+
resource_id: string;
|
|
2602
|
+
/** The relation: `viewer`. */
|
|
2603
|
+
relation: string;
|
|
2604
|
+
/** Which type of subject to list: `user`. */
|
|
2605
|
+
subject_type: string;
|
|
2606
|
+
/** A `consistency_token` a write returned: the answer is then at least as fresh as that write. */
|
|
2607
|
+
consistency_token?: string | null;
|
|
2608
|
+
/** Ids per page, 1–1000. Default 100. */
|
|
2609
|
+
limit?: number;
|
|
2610
|
+
/** The `next_cursor` of the previous page. */
|
|
2611
|
+
after?: string;
|
|
2612
|
+
}
|
|
2613
|
+
/** Response body of `fga.subjects.list`. */
|
|
2614
|
+
type FgaSubjectsListResponse = {
|
|
2615
|
+
data: FgaObject[];
|
|
2616
|
+
meta: PageMeta$1;
|
|
2617
|
+
};
|
|
2618
|
+
/** Request body of `fga.tuples.delete`. */
|
|
2619
|
+
interface FgaTuplesDeleteBody {
|
|
2620
|
+
/** 1–100 tuples to delete, all together or none. */
|
|
2621
|
+
tuples: Array<{
|
|
2622
|
+
/** The resource's type, as the schema names it: `document`. */
|
|
2623
|
+
resource_type: string;
|
|
2624
|
+
/** Your id for the resource: `readme`. */
|
|
2625
|
+
resource_id: string;
|
|
2626
|
+
/** The relation: `viewer`. */
|
|
2627
|
+
relation: string;
|
|
2628
|
+
/** Who: one subject (`user:alice`), or a userset (`group:eng#member`). */
|
|
2629
|
+
subject: {
|
|
2630
|
+
/** The subject's type: `user`, or `group` for a userset. */
|
|
2631
|
+
type: string;
|
|
2632
|
+
/** Your id for the subject: `alice`, `eng`. */
|
|
2633
|
+
id: string;
|
|
2634
|
+
/** For a userset — everybody with this relation on the subject: `member` of `group:eng`. Omit for one subject. */
|
|
2635
|
+
relation?: string | null;
|
|
2636
|
+
};
|
|
2637
|
+
}>;
|
|
2638
|
+
}
|
|
2639
|
+
/** Response body of `fga.tuples.delete`. */
|
|
2640
|
+
type FgaTuplesDeleteResponse = {
|
|
2641
|
+
data: FgaTupleWrite;
|
|
2642
|
+
};
|
|
2643
|
+
/** Query parameters of `fga.tuples.list`. */
|
|
2644
|
+
interface FgaTuplesListQuery {
|
|
2645
|
+
/** Only tuples on this resource type. */
|
|
2646
|
+
resource_type?: string;
|
|
2647
|
+
/** Only tuples on this resource. */
|
|
2648
|
+
resource_id?: string;
|
|
2649
|
+
/** Only tuples of this relation. */
|
|
2650
|
+
relation?: string;
|
|
2651
|
+
/** Only tuples naming this subject type. */
|
|
2652
|
+
subject_type?: string;
|
|
2653
|
+
/** Only tuples naming this subject. */
|
|
2654
|
+
subject_id?: string;
|
|
2655
|
+
/** Only tuples naming a userset with this relation. */
|
|
2656
|
+
subject_relation?: string;
|
|
2657
|
+
/** Tuples per page, 1–100. Default 50. */
|
|
2658
|
+
limit?: number;
|
|
2659
|
+
/** The `next_cursor` of the previous page. */
|
|
2660
|
+
after?: string;
|
|
2661
|
+
}
|
|
2662
|
+
/** Response body of `fga.tuples.list`. */
|
|
2663
|
+
type FgaTuplesListResponse = {
|
|
2664
|
+
data: FgaTuple[];
|
|
2665
|
+
meta: PageMeta$1;
|
|
2666
|
+
};
|
|
2667
|
+
/** Request body of `fga.tuples.write`. */
|
|
2668
|
+
interface FgaTuplesWriteBody {
|
|
2669
|
+
/** 1–100 tuples to write, all together or none. */
|
|
2670
|
+
tuples: Array<{
|
|
2671
|
+
/** The resource's type, as the schema names it: `document`. */
|
|
2672
|
+
resource_type: string;
|
|
2673
|
+
/** Your id for the resource: `readme`. */
|
|
2674
|
+
resource_id: string;
|
|
2675
|
+
/** The relation: `viewer`. */
|
|
2676
|
+
relation: string;
|
|
2677
|
+
/** Who: one subject (`user:alice`), or a userset (`group:eng#member`). */
|
|
2678
|
+
subject: {
|
|
2679
|
+
/** The subject's type: `user`, or `group` for a userset. */
|
|
2680
|
+
type: string;
|
|
2681
|
+
/** Your id for the subject: `alice`, `eng`. */
|
|
2682
|
+
id: string;
|
|
2683
|
+
/** For a userset — everybody with this relation on the subject: `member` of `group:eng`. Omit for one subject. */
|
|
2684
|
+
relation?: string | null;
|
|
2685
|
+
};
|
|
2686
|
+
}>;
|
|
2687
|
+
}
|
|
2688
|
+
/** Response body of `fga.tuples.write`. */
|
|
2689
|
+
type FgaTuplesWriteResponse = {
|
|
2690
|
+
data: FgaTupleWrite;
|
|
2691
|
+
};
|
|
1964
2692
|
/** Request body of `frontend_keys.create`. */
|
|
1965
2693
|
interface FrontendKeysCreateBody {
|
|
1966
2694
|
/** What the key is for, so a person recognises it later. */
|
|
@@ -2484,6 +3212,95 @@ interface PermissionsUpdateBody {
|
|
|
2484
3212
|
type PermissionsUpdateResponse = {
|
|
2485
3213
|
data: Permission;
|
|
2486
3214
|
};
|
|
3215
|
+
/** Response body of `pipes.connections.delete`. */
|
|
3216
|
+
type PipesConnectionsDeleteResponse = void;
|
|
3217
|
+
/** Query parameters of `pipes.connections.list`. */
|
|
3218
|
+
interface PipesConnectionsListQuery {
|
|
3219
|
+
/** Only this person's connection. */
|
|
3220
|
+
user_id?: string;
|
|
3221
|
+
/** Items per page, 1–100. Default 50. */
|
|
3222
|
+
limit?: number;
|
|
3223
|
+
/** The `next_cursor` of the previous page. */
|
|
3224
|
+
after?: string;
|
|
3225
|
+
}
|
|
3226
|
+
/** Response body of `pipes.connections.list`. */
|
|
3227
|
+
type PipesConnectionsListResponse = {
|
|
3228
|
+
data: PipeConnection[];
|
|
3229
|
+
meta: PageMeta$1;
|
|
3230
|
+
};
|
|
3231
|
+
/** Request body of `pipes.create`. */
|
|
3232
|
+
interface PipesCreateBody {
|
|
3233
|
+
/** The provider's key. */
|
|
3234
|
+
provider: 'github' | 'google' | 'microsoft' | 'slack' | 'salesforce' | 'hubspot' | 'linear' | 'notion';
|
|
3235
|
+
/** The OAuth client id of your app at the provider. */
|
|
3236
|
+
client_id: string;
|
|
3237
|
+
/** Its client secret. Write-only: sealed, never returned. */
|
|
3238
|
+
client_secret: string;
|
|
3239
|
+
/** The OAuth scopes to ask people for. Left out: the provider's defaults. */
|
|
3240
|
+
scopes?: string[];
|
|
3241
|
+
/** Per-installation values some providers need. Left out: the provider's defaults. */
|
|
3242
|
+
parameters?: {
|
|
3243
|
+
/** Microsoft 365 only: `common` (default), `organizations`, or one directory's tenant id or domain. */
|
|
3244
|
+
tenant?: string;
|
|
3245
|
+
/** Salesforce only: `login.salesforce.com` (default), `test.salesforce.com`, or your My Domain host. */
|
|
3246
|
+
domain?: string;
|
|
3247
|
+
};
|
|
3248
|
+
}
|
|
3249
|
+
/** Response body of `pipes.create`. */
|
|
3250
|
+
type PipesCreateResponse = {
|
|
3251
|
+
data: Pipe;
|
|
3252
|
+
};
|
|
3253
|
+
/** Response body of `pipes.delete`. */
|
|
3254
|
+
type PipesDeleteResponse = void;
|
|
3255
|
+
/** Response body of `pipes.get`. */
|
|
3256
|
+
type PipesGetResponse = {
|
|
3257
|
+
data: Pipe;
|
|
3258
|
+
};
|
|
3259
|
+
/** Request body of `pipes.grants.create`. */
|
|
3260
|
+
interface PipesGrantsCreateBody {
|
|
3261
|
+
/** The OAuth client id of an app in this environment. */
|
|
3262
|
+
client_id: string;
|
|
3263
|
+
}
|
|
3264
|
+
/** Response body of `pipes.grants.create`. */
|
|
3265
|
+
type PipesGrantsCreateResponse = {
|
|
3266
|
+
data: Pipe;
|
|
3267
|
+
};
|
|
3268
|
+
/** Response body of `pipes.grants.delete`. */
|
|
3269
|
+
type PipesGrantsDeleteResponse = void;
|
|
3270
|
+
/** Query parameters of `pipes.list`. */
|
|
3271
|
+
interface PipesListQuery {
|
|
3272
|
+
/** Items per page, 1–100. Default 50. */
|
|
3273
|
+
limit?: number;
|
|
3274
|
+
/** The `next_cursor` of the previous page. */
|
|
3275
|
+
after?: string;
|
|
3276
|
+
}
|
|
3277
|
+
/** Response body of `pipes.list`. */
|
|
3278
|
+
type PipesListResponse = {
|
|
3279
|
+
data: Pipe[];
|
|
3280
|
+
meta: PageMeta$1;
|
|
3281
|
+
};
|
|
3282
|
+
/** Request body of `pipes.update`. */
|
|
3283
|
+
interface PipesUpdateBody {
|
|
3284
|
+
/** A new OAuth client id. Left out, unchanged. */
|
|
3285
|
+
client_id?: string;
|
|
3286
|
+
/** A new client secret, sealed. Left out, unchanged. */
|
|
3287
|
+
client_secret?: string;
|
|
3288
|
+
/** The OAuth scopes to ask people for. Left out: the provider's defaults. */
|
|
3289
|
+
scopes?: string[];
|
|
3290
|
+
/** Per-installation values some providers need. Left out: the provider's defaults. */
|
|
3291
|
+
parameters?: {
|
|
3292
|
+
/** Microsoft 365 only: `common` (default), `organizations`, or one directory's tenant id or domain. */
|
|
3293
|
+
tenant?: string;
|
|
3294
|
+
/** Salesforce only: `login.salesforce.com` (default), `test.salesforce.com`, or your My Domain host. */
|
|
3295
|
+
domain?: string;
|
|
3296
|
+
};
|
|
3297
|
+
/** False refuses new connections and every lease. Left out, unchanged. */
|
|
3298
|
+
enabled?: boolean;
|
|
3299
|
+
}
|
|
3300
|
+
/** Response body of `pipes.update`. */
|
|
3301
|
+
type PipesUpdateResponse = {
|
|
3302
|
+
data: Pipe;
|
|
3303
|
+
};
|
|
2487
3304
|
/** Request body of `provisioning.targets.create`. */
|
|
2488
3305
|
interface ProvisioningTargetsCreateBody {
|
|
2489
3306
|
/** The organization the target belongs to. Send this or environment_wide. */
|
|
@@ -2550,6 +3367,184 @@ interface ProvisioningTargetsStatusSetBody {
|
|
|
2550
3367
|
type ProvisioningTargetsStatusSetResponse = {
|
|
2551
3368
|
data: ProvisioningTarget;
|
|
2552
3369
|
};
|
|
3370
|
+
/** Response body of `radar.decisions.get`. */
|
|
3371
|
+
type RadarDecisionsGetResponse = {
|
|
3372
|
+
data: RadarDecision;
|
|
3373
|
+
};
|
|
3374
|
+
/** Query parameters of `radar.decisions.list`. */
|
|
3375
|
+
interface RadarDecisionsListQuery {
|
|
3376
|
+
/** `allow`, `challenge` or `block`. */
|
|
3377
|
+
verdict?: 'allow' | 'challenge' | 'block';
|
|
3378
|
+
/** `sign_in` or `sign_up`. */
|
|
3379
|
+
flow?: 'sign_in' | 'sign_up';
|
|
3380
|
+
/** A rule key — `builtin:credential_stuffing`, `rule:<id>`, `deny_list:ip` — that decided or fired. */
|
|
3381
|
+
rule?: string;
|
|
3382
|
+
/** Two-letter country code. */
|
|
3383
|
+
country?: string;
|
|
3384
|
+
/** Attempts with this address (matched by pseudonym). */
|
|
3385
|
+
email?: string;
|
|
3386
|
+
/** Attempts from this IP (matched by pseudonym). */
|
|
3387
|
+
ip?: string;
|
|
3388
|
+
/** Attempts from this device id. */
|
|
3389
|
+
device?: string;
|
|
3390
|
+
/** Only decisions that were (true) or were not (false) acted on. */
|
|
3391
|
+
enforced?: boolean;
|
|
3392
|
+
/** On or after this time (ISO 8601). */
|
|
3393
|
+
from?: string;
|
|
3394
|
+
/** On or before this time (ISO 8601). */
|
|
3395
|
+
to?: string;
|
|
3396
|
+
/** Decisions per page, 1–100. Default 50. */
|
|
3397
|
+
limit?: number;
|
|
3398
|
+
/** The `next_cursor` of the previous page: the decisions older than it. */
|
|
3399
|
+
after?: string;
|
|
3400
|
+
}
|
|
3401
|
+
/** Response body of `radar.decisions.list`. */
|
|
3402
|
+
type RadarDecisionsListResponse = {
|
|
3403
|
+
data: RadarDecision[];
|
|
3404
|
+
meta: PageMeta$1;
|
|
3405
|
+
};
|
|
3406
|
+
/** Request body of `radar.lists.add`. */
|
|
3407
|
+
interface RadarListsAddBody {
|
|
3408
|
+
/** `allow` or `deny`. */
|
|
3409
|
+
list: 'allow' | 'deny';
|
|
3410
|
+
/** `ip` (an address or CIDR range), `email`, `email_domain` or `device`. */
|
|
3411
|
+
kind: 'ip' | 'email' | 'email_domain' | 'device';
|
|
3412
|
+
/** The IP, range, address, domain or device id. */
|
|
3413
|
+
value: string;
|
|
3414
|
+
/** Why it is listed. */
|
|
3415
|
+
note?: string | null;
|
|
3416
|
+
/** When the entry stops applying (ISO 8601). Never, when omitted. */
|
|
3417
|
+
expires_at?: string | null;
|
|
3418
|
+
}
|
|
3419
|
+
/** Response body of `radar.lists.add`. */
|
|
3420
|
+
type RadarListsAddResponse = {
|
|
3421
|
+
data: RadarListEntry;
|
|
3422
|
+
};
|
|
3423
|
+
/** Query parameters of `radar.lists.list`. */
|
|
3424
|
+
interface RadarListsListQuery {
|
|
3425
|
+
/** `allow` or `deny`; both when omitted. */
|
|
3426
|
+
list?: 'allow' | 'deny';
|
|
3427
|
+
/** Only entries of this kind. */
|
|
3428
|
+
kind?: 'ip' | 'email' | 'email_domain' | 'device';
|
|
3429
|
+
/** Items per page, 1–100. Default 50. */
|
|
3430
|
+
limit?: number;
|
|
3431
|
+
/** The `next_cursor` of the previous page. */
|
|
3432
|
+
after?: string;
|
|
3433
|
+
}
|
|
3434
|
+
/** Response body of `radar.lists.list`. */
|
|
3435
|
+
type RadarListsListResponse = {
|
|
3436
|
+
data: RadarListEntry[];
|
|
3437
|
+
meta: PageMeta$1;
|
|
3438
|
+
};
|
|
3439
|
+
/** Response body of `radar.lists.remove`. */
|
|
3440
|
+
type RadarListsRemoveResponse = void;
|
|
3441
|
+
/** Request body of `radar.mode.set`. */
|
|
3442
|
+
interface RadarModeSetBody {
|
|
3443
|
+
/** `monitor` or `enforce`. */
|
|
3444
|
+
mode: 'monitor' | 'enforce';
|
|
3445
|
+
}
|
|
3446
|
+
/** Response body of `radar.mode.set`. */
|
|
3447
|
+
type RadarModeSetResponse = {
|
|
3448
|
+
data: RadarSettings;
|
|
3449
|
+
};
|
|
3450
|
+
/** Request body of `radar.rules.create`. */
|
|
3451
|
+
interface RadarRulesCreateBody {
|
|
3452
|
+
/** What the rule is for, as the console lists it. */
|
|
3453
|
+
name: string;
|
|
3454
|
+
/** Why the rule exists, for whoever reads it next. */
|
|
3455
|
+
description?: string | null;
|
|
3456
|
+
/** What happens when every condition holds: `allow` (skip every rule after this one), `challenge` (a second factor on sign-in; a CAPTCHA or an emailed code on sign-up) or `block`. */
|
|
3457
|
+
action: 'allow' | 'challenge' | 'block';
|
|
3458
|
+
/** `all` (the default), `sign_in` or `sign_up`. */
|
|
3459
|
+
applies_to?: 'all' | 'sign_in' | 'sign_up';
|
|
3460
|
+
/** Up to 10 conditions; the rule matches when EVERY one holds. A fact that is unknown (no IP intelligence, no address on a passkey sign-in) matches no condition. */
|
|
3461
|
+
conditions: Array<{
|
|
3462
|
+
/** The fact to test. */
|
|
3463
|
+
field: 'ip' | 'country' | 'asn' | 'as_organization' | 'is_hosting' | 'is_vpn' | 'is_proxy' | 'is_tor' | 'email' | 'email_domain' | 'disposable_email' | 'user_agent' | 'method' | 'new_device' | 'impossible_travel' | 'travel_kmh' | 'risk_score' | 'ip_attempts_1m' | 'ip_attempts_1h' | 'ip_distinct_emails_10m' | 'ip_failures_1h' | 'email_attempts_1h' | 'email_failures_1h' | 'device_attempts_1h';
|
|
3464
|
+
/** How to compare it. Which operators a field takes depends on its type. */
|
|
3465
|
+
operator: 'eq' | 'neq' | 'in' | 'not_in' | 'gt' | 'gte' | 'lt' | 'lte' | 'contains' | 'not_contains' | 'starts_with' | 'ends_with' | 'in_cidr' | 'not_in_cidr';
|
|
3466
|
+
/** The one value to compare with, as text — `DK`, `20`, `true`. For every operator except the list ones. */
|
|
3467
|
+
value?: string;
|
|
3468
|
+
/** The values to compare with, for `in`, `not_in`, `in_cidr` and `not_in_cidr`. */
|
|
3469
|
+
values?: string[];
|
|
3470
|
+
}>;
|
|
3471
|
+
/** Whether the rule is evaluated. Default true. */
|
|
3472
|
+
enabled?: boolean;
|
|
3473
|
+
/** Where in the order to put it: 1 is evaluated first. Default: last. */
|
|
3474
|
+
position?: number;
|
|
3475
|
+
}
|
|
3476
|
+
/** Response body of `radar.rules.create`. */
|
|
3477
|
+
type RadarRulesCreateResponse = {
|
|
3478
|
+
data: RadarRule;
|
|
3479
|
+
};
|
|
3480
|
+
/** Response body of `radar.rules.delete`. */
|
|
3481
|
+
type RadarRulesDeleteResponse = void;
|
|
3482
|
+
/** Response body of `radar.rules.get`. */
|
|
3483
|
+
type RadarRulesGetResponse = {
|
|
3484
|
+
data: RadarRule;
|
|
3485
|
+
};
|
|
3486
|
+
/** Query parameters of `radar.rules.list`. */
|
|
3487
|
+
interface RadarRulesListQuery {
|
|
3488
|
+
/** Rules per page, 1–100. Default 100 — an environment holds at most 100, so one page is all of them. */
|
|
3489
|
+
limit?: number;
|
|
3490
|
+
/** The `next_cursor` of the previous page. */
|
|
3491
|
+
after?: string;
|
|
3492
|
+
}
|
|
3493
|
+
/** Response body of `radar.rules.list`. */
|
|
3494
|
+
type RadarRulesListResponse = {
|
|
3495
|
+
data: RadarRule[];
|
|
3496
|
+
meta: PageMeta$1;
|
|
3497
|
+
};
|
|
3498
|
+
/** Request body of `radar.rules.reorder`. */
|
|
3499
|
+
interface RadarRulesReorderBody {
|
|
3500
|
+
/** Every rule id, in the new order. */
|
|
3501
|
+
rule_ids: string[];
|
|
3502
|
+
}
|
|
3503
|
+
/** Response body of `radar.rules.reorder`. */
|
|
3504
|
+
type RadarRulesReorderResponse = void;
|
|
3505
|
+
/** Request body of `radar.rules.update`. */
|
|
3506
|
+
interface RadarRulesUpdateBody {
|
|
3507
|
+
/** What the rule is for, as the console lists it. */
|
|
3508
|
+
name?: string;
|
|
3509
|
+
/** Why the rule exists, for whoever reads it next. */
|
|
3510
|
+
description?: string | null;
|
|
3511
|
+
/** What happens when every condition holds: `allow` (skip every rule after this one), `challenge` (a second factor on sign-in; a CAPTCHA or an emailed code on sign-up) or `block`. */
|
|
3512
|
+
action?: 'allow' | 'challenge' | 'block';
|
|
3513
|
+
/** `all` (the default), `sign_in` or `sign_up`. */
|
|
3514
|
+
applies_to?: 'all' | 'sign_in' | 'sign_up';
|
|
3515
|
+
/** Up to 10 conditions; the rule matches when EVERY one holds. A fact that is unknown (no IP intelligence, no address on a passkey sign-in) matches no condition. */
|
|
3516
|
+
conditions?: Array<{
|
|
3517
|
+
/** The fact to test. */
|
|
3518
|
+
field: 'ip' | 'country' | 'asn' | 'as_organization' | 'is_hosting' | 'is_vpn' | 'is_proxy' | 'is_tor' | 'email' | 'email_domain' | 'disposable_email' | 'user_agent' | 'method' | 'new_device' | 'impossible_travel' | 'travel_kmh' | 'risk_score' | 'ip_attempts_1m' | 'ip_attempts_1h' | 'ip_distinct_emails_10m' | 'ip_failures_1h' | 'email_attempts_1h' | 'email_failures_1h' | 'device_attempts_1h';
|
|
3519
|
+
/** How to compare it. Which operators a field takes depends on its type. */
|
|
3520
|
+
operator: 'eq' | 'neq' | 'in' | 'not_in' | 'gt' | 'gte' | 'lt' | 'lte' | 'contains' | 'not_contains' | 'starts_with' | 'ends_with' | 'in_cidr' | 'not_in_cidr';
|
|
3521
|
+
/** The one value to compare with, as text — `DK`, `20`, `true`. For every operator except the list ones. */
|
|
3522
|
+
value?: string;
|
|
3523
|
+
/** The values to compare with, for `in`, `not_in`, `in_cidr` and `not_in_cidr`. */
|
|
3524
|
+
values?: string[];
|
|
3525
|
+
}>;
|
|
3526
|
+
/** Whether the rule is evaluated. Default true. */
|
|
3527
|
+
enabled?: boolean;
|
|
3528
|
+
/** Where in the order to put it: 1 is evaluated first. Default: last. */
|
|
3529
|
+
position?: number;
|
|
3530
|
+
}
|
|
3531
|
+
/** Response body of `radar.rules.update`. */
|
|
3532
|
+
type RadarRulesUpdateResponse = {
|
|
3533
|
+
data: RadarRule;
|
|
3534
|
+
};
|
|
3535
|
+
/** Response body of `radar.settings.get`. */
|
|
3536
|
+
type RadarSettingsGetResponse = {
|
|
3537
|
+
data: RadarSettings;
|
|
3538
|
+
};
|
|
3539
|
+
/** Request body of `radar.settings.update`. */
|
|
3540
|
+
interface RadarSettingsUpdateBody {
|
|
3541
|
+
/** Rule key => `{"enabled": bool, "action": "allow"|"challenge"|"block", "threshold": int}`, each part optional. Keys: credential_stuffing, bot_velocity, account_attack, impossible_travel, new_device, anonymous_network, hosting_network, disposable_email, risk_score_reject, risk_score_elevated. */
|
|
3542
|
+
builtin_rules: Record<string, unknown>;
|
|
3543
|
+
}
|
|
3544
|
+
/** Response body of `radar.settings.update`. */
|
|
3545
|
+
type RadarSettingsUpdateResponse = {
|
|
3546
|
+
data: RadarSettings;
|
|
3547
|
+
};
|
|
2553
3548
|
/** Request body of `roles.create`. */
|
|
2554
3549
|
interface RolesCreateBody {
|
|
2555
3550
|
name: string;
|
|
@@ -2705,6 +3700,16 @@ interface SigninPolicyUpdateBody {
|
|
|
2705
3700
|
sso?: 'off' | 'preferred' | 'required';
|
|
2706
3701
|
/** Failed attempts before an account is locked; null for the deployment default (10 inside 15 minutes unless CBOX_ID_LOCKOUT_THRESHOLD says otherwise). */
|
|
2707
3702
|
lockout_threshold?: number | null;
|
|
3703
|
+
/** Environment only. Whether people may sign in with a passkey, and add one. Off at the deployment (CBOX_ID_PASSKEYS_ENABLED=false) stays off. */
|
|
3704
|
+
passkeys?: boolean;
|
|
3705
|
+
/** Environment only. Whether a one-time sign-in link may be emailed. Off at the deployment (CBOX_ID_MAGIC_LINK_ENABLED=false) stays off. */
|
|
3706
|
+
magic_link?: boolean;
|
|
3707
|
+
/** Environment only. Minutes of inactivity before a session ends; null for the deployment's. No more than the deployment allows (CBOX_ID_SESSION_IDLE_MINUTES). */
|
|
3708
|
+
session_idle_minutes?: number | null;
|
|
3709
|
+
/** Environment only. Minutes a session lasts at most, however active; null for the deployment's. No more than the deployment allows (CBOX_ID_SESSION_TTL_MINUTES). */
|
|
3710
|
+
session_absolute_minutes?: number | null;
|
|
3711
|
+
/** Environment only. Whether a sign-up Radar flags is asked to prove it is a person (Cloudflare Turnstile). Has no effect where the deployment has no Turnstile keys. */
|
|
3712
|
+
bot_challenge?: boolean;
|
|
2708
3713
|
}
|
|
2709
3714
|
/** Response body of `signin.policy.update`. */
|
|
2710
3715
|
type SigninPolicyUpdateResponse = {
|
|
@@ -2719,6 +3724,23 @@ interface SigninSelfServiceSignupSetBody {
|
|
|
2719
3724
|
type SigninSelfServiceSignupSetResponse = {
|
|
2720
3725
|
data: SelfServiceSignup;
|
|
2721
3726
|
};
|
|
3727
|
+
/** Response body of `signin.sms.get`. */
|
|
3728
|
+
type SigninSmsGetResponse = {
|
|
3729
|
+
data: SmsFactorPolicy;
|
|
3730
|
+
};
|
|
3731
|
+
/** Request body of `signin.sms.update`. */
|
|
3732
|
+
interface SigninSmsUpdateBody {
|
|
3733
|
+
/** Accept text messages as a second factor in this environment. Off by default: SMS is the weakest factor offered. */
|
|
3734
|
+
enabled?: boolean;
|
|
3735
|
+
/** ISO 3166-1 alpha-2 countries whose numbers may enrol and be texted. Required to be non-empty while SMS is on: which countries you text is your toll-fraud exposure. */
|
|
3736
|
+
allowed_countries?: Array<'AC' | 'AD' | 'AE' | 'AF' | 'AG' | 'AI' | 'AL' | 'AM' | 'AO' | 'AR' | 'AS' | 'AT' | 'AU' | 'AW' | 'AZ' | 'BA' | 'BB' | 'BD' | 'BE' | 'BF' | 'BG' | 'BH' | 'BI' | 'BJ' | 'BM' | 'BN' | 'BO' | 'BR' | 'BS' | 'BT' | 'BW' | 'BY' | 'BZ' | 'CA' | 'CD' | 'CF' | 'CG' | 'CH' | 'CI' | 'CK' | 'CL' | 'CM' | 'CN' | 'CO' | 'CR' | 'CU' | 'CV' | 'CW' | 'CY' | 'CZ' | 'DE' | 'DJ' | 'DK' | 'DM' | 'DO' | 'DZ' | 'EC' | 'EE' | 'EG' | 'ER' | 'ES' | 'ET' | 'FI' | 'FJ' | 'FK' | 'FM' | 'FO' | 'FR' | 'GA' | 'GB' | 'GD' | 'GE' | 'GF' | 'GH' | 'GI' | 'GL' | 'GM' | 'GN' | 'GP' | 'GQ' | 'GR' | 'GT' | 'GU' | 'GW' | 'GY' | 'HK' | 'HN' | 'HR' | 'HT' | 'HU' | 'ID' | 'IE' | 'IL' | 'IN' | 'IO' | 'IQ' | 'IR' | 'IS' | 'IT' | 'JM' | 'JO' | 'JP' | 'KE' | 'KG' | 'KH' | 'KI' | 'KM' | 'KN' | 'KP' | 'KR' | 'KW' | 'KY' | 'KZ' | 'LA' | 'LB' | 'LC' | 'LI' | 'LK' | 'LR' | 'LS' | 'LT' | 'LU' | 'LV' | 'LY' | 'MA' | 'MC' | 'MD' | 'ME' | 'MG' | 'MH' | 'MK' | 'ML' | 'MM' | 'MN' | 'MO' | 'MP' | 'MQ' | 'MR' | 'MS' | 'MT' | 'MU' | 'MV' | 'MW' | 'MX' | 'MY' | 'MZ' | 'NA' | 'NC' | 'NE' | 'NF' | 'NG' | 'NI' | 'NL' | 'NO' | 'NP' | 'NR' | 'NU' | 'NZ' | 'OM' | 'PA' | 'PE' | 'PF' | 'PG' | 'PH' | 'PK' | 'PL' | 'PM' | 'PR' | 'PS' | 'PT' | 'PW' | 'PY' | 'QA' | 'RE' | 'RO' | 'RS' | 'RU' | 'RW' | 'SA' | 'SB' | 'SC' | 'SD' | 'SE' | 'SG' | 'SH' | 'SI' | 'SK' | 'SL' | 'SM' | 'SN' | 'SO' | 'SR' | 'SS' | 'ST' | 'SV' | 'SX' | 'SY' | 'SZ' | 'TC' | 'TD' | 'TG' | 'TH' | 'TJ' | 'TK' | 'TL' | 'TM' | 'TN' | 'TO' | 'TR' | 'TT' | 'TV' | 'TW' | 'TZ' | 'UA' | 'UG' | 'US' | 'UY' | 'UZ' | 'VC' | 'VE' | 'VG' | 'VI' | 'VN' | 'VU' | 'WF' | 'WS' | 'XK' | 'YE' | 'ZA' | 'ZM' | 'ZW'>;
|
|
3737
|
+
/** Administrators may add SMS only beside an authenticator app or a passkey, and are asked to enrol one if SMS is all they hold. On by default. */
|
|
3738
|
+
privileged_need_stronger_factor?: boolean;
|
|
3739
|
+
}
|
|
3740
|
+
/** Response body of `signin.sms.update`. */
|
|
3741
|
+
type SigninSmsUpdateResponse = {
|
|
3742
|
+
data: SmsFactorPolicy;
|
|
3743
|
+
};
|
|
2722
3744
|
/** Request body of `signin.social.delete`. */
|
|
2723
3745
|
interface SigninSocialDeleteBody {
|
|
2724
3746
|
/** Only remove it if it is this organization's. */
|
|
@@ -2726,24 +3748,66 @@ interface SigninSocialDeleteBody {
|
|
|
2726
3748
|
}
|
|
2727
3749
|
/** Response body of `signin.social.delete`. */
|
|
2728
3750
|
type SigninSocialDeleteResponse = void;
|
|
2729
|
-
/**
|
|
2730
|
-
interface
|
|
2731
|
-
/** Only this organization's
|
|
2732
|
-
organization_id?: string;
|
|
2733
|
-
/** Items per page, 1–100. Default 50. */
|
|
2734
|
-
limit?: number;
|
|
2735
|
-
/** The `next_cursor` of the previous page. */
|
|
2736
|
-
after?: string;
|
|
3751
|
+
/** Request body of `signin.social.disable`. */
|
|
3752
|
+
interface SigninSocialDisableBody {
|
|
3753
|
+
/** Only if it is this organization's; anything else is a 404. */
|
|
3754
|
+
organization_id?: string | null;
|
|
2737
3755
|
}
|
|
2738
|
-
/** Response body of `signin.social.
|
|
3756
|
+
/** Response body of `signin.social.disable`. */
|
|
3757
|
+
type SigninSocialDisableResponse = {
|
|
3758
|
+
data: SocialProvider;
|
|
3759
|
+
};
|
|
3760
|
+
/** Request body of `signin.social.enable`. */
|
|
3761
|
+
interface SigninSocialEnableBody {
|
|
3762
|
+
/** Only if it is this organization's; anything else is a 404. */
|
|
3763
|
+
organization_id?: string | null;
|
|
3764
|
+
}
|
|
3765
|
+
/** Response body of `signin.social.enable`. */
|
|
3766
|
+
type SigninSocialEnableResponse = {
|
|
3767
|
+
data: SocialProvider;
|
|
3768
|
+
};
|
|
3769
|
+
/** Request body of `signin.social.inherit`. */
|
|
3770
|
+
interface SigninSocialInheritBody {
|
|
3771
|
+
/** The organization whose sign-in page this is about. */
|
|
3772
|
+
organization_id: string;
|
|
3773
|
+
/** False to stop offering the environment's provider on this organization's page; true to offer it again. */
|
|
3774
|
+
offered: boolean;
|
|
3775
|
+
}
|
|
3776
|
+
/** Response body of `signin.social.inherit`. */
|
|
3777
|
+
type SigninSocialInheritResponse = {
|
|
3778
|
+
data: OfferedSocialProviders;
|
|
3779
|
+
};
|
|
3780
|
+
/** Query parameters of `signin.social.list`. */
|
|
3781
|
+
interface SigninSocialListQuery {
|
|
3782
|
+
/** Only this organization's own providers (not the ones it inherits — see signin.social.offered). */
|
|
3783
|
+
organization_id?: string;
|
|
3784
|
+
/** Only the environment's providers, which every organization inherits, or only organizations' own. */
|
|
3785
|
+
level?: 'environment' | 'organization';
|
|
3786
|
+
/** Items per page, 1–100. Default 50. */
|
|
3787
|
+
limit?: number;
|
|
3788
|
+
/** The `next_cursor` of the previous page. */
|
|
3789
|
+
after?: string;
|
|
3790
|
+
}
|
|
3791
|
+
/** Response body of `signin.social.list`. */
|
|
2739
3792
|
type SigninSocialListResponse = {
|
|
2740
3793
|
data: SocialProvider[];
|
|
2741
3794
|
meta: PageMeta$1;
|
|
2742
3795
|
};
|
|
3796
|
+
/** Query parameters of `signin.social.offered`. */
|
|
3797
|
+
interface SigninSocialOfferedQuery {
|
|
3798
|
+
/** The organization whose sign-in page to resolve. Left out, the plain sign-in page, before anybody has said who they are. */
|
|
3799
|
+
organization_id?: string;
|
|
3800
|
+
}
|
|
3801
|
+
/** Response body of `signin.social.offered`. */
|
|
3802
|
+
type SigninSocialOfferedResponse = {
|
|
3803
|
+
data: OfferedSocialProviders;
|
|
3804
|
+
};
|
|
2743
3805
|
/** Request body of `signin.social.set`. */
|
|
2744
3806
|
interface SigninSocialSetBody {
|
|
2745
|
-
/** The organization
|
|
2746
|
-
organization_id
|
|
3807
|
+
/** The organization the provider belongs to. Send this or environment_wide. */
|
|
3808
|
+
organization_id?: string | null;
|
|
3809
|
+
/** True to make the provider the environment's own rather than one organization's. Send this or organization_id. */
|
|
3810
|
+
environment_wide?: boolean;
|
|
2747
3811
|
/** The catalogue key: google, microsoft, okta, auth0, keycloak, gitlab, slack, github, discord, apple, facebook, linkedin, bitbucket, xero, intuit. */
|
|
2748
3812
|
provider: string;
|
|
2749
3813
|
/** The client id from your own account with the provider. For Apple, the Services ID. */
|
|
@@ -2767,11 +3831,47 @@ interface SigninSocialSetBody {
|
|
|
2767
3831
|
/** Team ID (Apple). */
|
|
2768
3832
|
team_id?: string | null;
|
|
2769
3833
|
};
|
|
3834
|
+
/** Extra scopes to request beyond the ones sign-in needs (for example `read:org` on GitHub). Replaces any extra scopes already set; an empty list removes them. */
|
|
3835
|
+
scopes?: string[];
|
|
3836
|
+
/** A ULID to create the provider under, so its redirect URI (which contains the id) can be registered with the provider first. Left out, one is minted. */
|
|
3837
|
+
reserved_id?: string | null;
|
|
2770
3838
|
}
|
|
2771
3839
|
/** Response body of `signin.social.set`. */
|
|
2772
3840
|
type SigninSocialSetResponse = {
|
|
2773
3841
|
data: SocialProvider;
|
|
2774
3842
|
};
|
|
3843
|
+
/** Request body of `signin.social.update`. */
|
|
3844
|
+
interface SigninSocialUpdateBody {
|
|
3845
|
+
/** Only change it if it is this organization's; anything else is a 404. */
|
|
3846
|
+
organization_id?: string | null;
|
|
3847
|
+
/** A new client id. For Apple, the Services ID. */
|
|
3848
|
+
client_id?: string;
|
|
3849
|
+
/** A new client secret. Write-only; left out or blank keeps the one on file. */
|
|
3850
|
+
client_secret?: string | null;
|
|
3851
|
+
/** What the chosen provider needs besides its client credentials — Microsoft's directory, Okta's domain, Apple's team id, key id and private key. */
|
|
3852
|
+
parameters?: {
|
|
3853
|
+
/** Directory (tenant) ID (Microsoft Entra ID). */
|
|
3854
|
+
directory?: string | null;
|
|
3855
|
+
/** Okta domain (Okta). */
|
|
3856
|
+
domain?: string | null;
|
|
3857
|
+
/** Keycloak host (Keycloak). */
|
|
3858
|
+
host?: string | null;
|
|
3859
|
+
/** Key ID (Apple). */
|
|
3860
|
+
key_id?: string | null;
|
|
3861
|
+
/** Private key (.p8) (Apple). */
|
|
3862
|
+
private_key?: string | null;
|
|
3863
|
+
/** Realm (Keycloak). */
|
|
3864
|
+
realm?: string | null;
|
|
3865
|
+
/** Team ID (Apple). */
|
|
3866
|
+
team_id?: string | null;
|
|
3867
|
+
};
|
|
3868
|
+
/** Extra scopes to request beyond the ones sign-in needs (for example `read:org` on GitHub). Replaces any extra scopes already set; an empty list removes them. */
|
|
3869
|
+
scopes?: string[];
|
|
3870
|
+
}
|
|
3871
|
+
/** Response body of `signin.social.update`. */
|
|
3872
|
+
type SigninSocialUpdateResponse = {
|
|
3873
|
+
data: SocialProvider;
|
|
3874
|
+
};
|
|
2775
3875
|
/** Request body of `sod_policies.create`. */
|
|
2776
3876
|
interface SodPoliciesCreateBody {
|
|
2777
3877
|
/** The organization the rule belongs to. Send this or environment_wide. */
|
|
@@ -3216,6 +4316,8 @@ type UsersListResponse = {
|
|
|
3216
4316
|
};
|
|
3217
4317
|
/** Response body of `users.mfa.reset`. */
|
|
3218
4318
|
type UsersMfaResetResponse = void;
|
|
4319
|
+
/** Response body of `users.mfa.sms.remove`. */
|
|
4320
|
+
type UsersMfaSmsRemoveResponse = void;
|
|
3219
4321
|
/** Response body of `users.password_reset.send`. */
|
|
3220
4322
|
type UsersPasswordResetSendResponse = void;
|
|
3221
4323
|
/** Request body of `users.password.set`. */
|
|
@@ -3270,7 +4372,7 @@ interface WebhooksCreateBody {
|
|
|
3270
4372
|
/** A public HTTPS URL. Signed deliveries are POSTed here. */
|
|
3271
4373
|
url: string;
|
|
3272
4374
|
/** The events it receives. */
|
|
3273
|
-
event_types: Array<'user.created' | 'user.updated' | 'user.deactivated' | 'user.login' | 'user.reactivated' | 'identity.linked' | 'user.erased' | 'organization.created' | 'organization.suspended' | 'organization.reactivated' | 'organization.updated' | 'organization.deleted' | 'membership.created' | 'membership.updated' | 'membership.deleted' | 'invitation.created' | 'invitation.accepted' | 'invitation.revoked' | 'role.assigned' | 'role.unassigned' | 'role.assigned_everywhere' | 'role.unassigned_everywhere' | 'api_key.created' | 'api_key.revoked' | 'support_session.started' | 'directory.user.provisioned' | 'directory.user.deprovisioned' | 'directory.user.deactivated' | 'directory.group.membership_changed' | 'domain.added' | 'domain.removed' | 'domain.verified' | 'connection.activated' | 'connection.certificate_expiring' | 'entitlement.set' | 'entitlement.updated' | 'entitlement.revoked' | 'vault.grant.created' | 'vault.grant.revoked' | 'vault.secret.revoked' | 'governance.access.revoked'>;
|
|
4375
|
+
event_types: Array<'user.created' | 'user.updated' | 'user.deactivated' | 'user.login' | 'user.reactivated' | 'identity.linked' | 'user.erased' | 'organization.created' | 'organization.suspended' | 'organization.reactivated' | 'organization.updated' | 'organization.deleted' | 'membership.created' | 'membership.updated' | 'membership.deleted' | 'invitation.created' | 'invitation.accepted' | 'invitation.revoked' | 'role.assigned' | 'role.unassigned' | 'role.assigned_everywhere' | 'role.unassigned_everywhere' | 'api_key.created' | 'api_key.revoked' | 'support_session.started' | 'directory.user.provisioned' | 'directory.user.deprovisioned' | 'directory.user.deactivated' | 'directory.group.membership_changed' | 'domain.added' | 'domain.removed' | 'domain.verified' | 'connection.activated' | 'connection.certificate_expiring' | 'entitlement.set' | 'entitlement.updated' | 'entitlement.revoked' | 'vault.grant.created' | 'vault.grant.revoked' | 'vault.secret.revoked' | 'pipe.connection.connected' | 'pipe.connection.needs_reauth' | 'pipe.connection.disconnected' | 'governance.access.revoked' | 'feature_flag.created' | 'feature_flag.updated' | 'feature_flag.deleted'>;
|
|
3274
4376
|
/** How deliveries are signed: `cbox` (X-Cbox-Signature, the default) or `standard_webhooks` (webhook-id / webhook-timestamp / webhook-signature, verifiable with any Standard Webhooks library; the secret is a `whsec_` secret). */
|
|
3275
4377
|
signature_scheme?: 'cbox' | 'standard_webhooks';
|
|
3276
4378
|
/** The organization it belongs to; it carries that organization's traffic only. Send this or environment_wide. */
|
|
@@ -3982,6 +5084,18 @@ declare const environmentOperations: {
|
|
|
3982
5084
|
readonly body: true;
|
|
3983
5085
|
readonly pagination: null;
|
|
3984
5086
|
};
|
|
5087
|
+
readonly 'directories.credentials.replace': {
|
|
5088
|
+
readonly action: "directories.credentials.replace";
|
|
5089
|
+
readonly operationId: "directories_credentials_replace";
|
|
5090
|
+
readonly method: "PUT";
|
|
5091
|
+
readonly path: "/directories/{id}/credentials";
|
|
5092
|
+
readonly pathParams: readonly ["id"];
|
|
5093
|
+
readonly scope: "directory_sync:write";
|
|
5094
|
+
readonly danger: "critical";
|
|
5095
|
+
readonly approval: true;
|
|
5096
|
+
readonly body: true;
|
|
5097
|
+
readonly pagination: null;
|
|
5098
|
+
};
|
|
3985
5099
|
readonly 'directories.delete': {
|
|
3986
5100
|
readonly action: "directories.delete";
|
|
3987
5101
|
readonly operationId: "directories_delete";
|
|
@@ -4030,6 +5144,18 @@ declare const environmentOperations: {
|
|
|
4030
5144
|
readonly body: true;
|
|
4031
5145
|
readonly pagination: null;
|
|
4032
5146
|
};
|
|
5147
|
+
readonly 'directories.hris.connect': {
|
|
5148
|
+
readonly action: "directories.hris.connect";
|
|
5149
|
+
readonly operationId: "directories_hris_connect";
|
|
5150
|
+
readonly method: "POST";
|
|
5151
|
+
readonly path: "/directories/hris";
|
|
5152
|
+
readonly pathParams: readonly [];
|
|
5153
|
+
readonly scope: "directory_sync:write";
|
|
5154
|
+
readonly danger: "critical";
|
|
5155
|
+
readonly approval: true;
|
|
5156
|
+
readonly body: true;
|
|
5157
|
+
readonly pagination: null;
|
|
5158
|
+
};
|
|
4033
5159
|
readonly 'directories.list': {
|
|
4034
5160
|
readonly action: "directories.list";
|
|
4035
5161
|
readonly operationId: "directories_list";
|
|
@@ -4054,6 +5180,30 @@ declare const environmentOperations: {
|
|
|
4054
5180
|
readonly body: true;
|
|
4055
5181
|
readonly pagination: null;
|
|
4056
5182
|
};
|
|
5183
|
+
readonly 'directories.sync': {
|
|
5184
|
+
readonly action: "directories.sync";
|
|
5185
|
+
readonly operationId: "directories_sync";
|
|
5186
|
+
readonly method: "POST";
|
|
5187
|
+
readonly path: "/directories/{id}/sync";
|
|
5188
|
+
readonly pathParams: readonly ["id"];
|
|
5189
|
+
readonly scope: "directory_sync:write";
|
|
5190
|
+
readonly danger: "write";
|
|
5191
|
+
readonly approval: true;
|
|
5192
|
+
readonly body: true;
|
|
5193
|
+
readonly pagination: null;
|
|
5194
|
+
};
|
|
5195
|
+
readonly 'directories.sync_settings.update': {
|
|
5196
|
+
readonly action: "directories.sync_settings.update";
|
|
5197
|
+
readonly operationId: "directories_sync_settings_update";
|
|
5198
|
+
readonly method: "PATCH";
|
|
5199
|
+
readonly path: "/directories/{id}/sync-settings";
|
|
5200
|
+
readonly pathParams: readonly ["id"];
|
|
5201
|
+
readonly scope: "directory_sync:write";
|
|
5202
|
+
readonly danger: "write";
|
|
5203
|
+
readonly approval: true;
|
|
5204
|
+
readonly body: true;
|
|
5205
|
+
readonly pagination: null;
|
|
5206
|
+
};
|
|
4057
5207
|
readonly 'directories.token.rotate': {
|
|
4058
5208
|
readonly action: "directories.token.rotate";
|
|
4059
5209
|
readonly operationId: "directories_token_rotate";
|
|
@@ -4138,6 +5288,198 @@ declare const environmentOperations: {
|
|
|
4138
5288
|
readonly body: false;
|
|
4139
5289
|
readonly pagination: "cursor";
|
|
4140
5290
|
};
|
|
5291
|
+
readonly 'feature_flags.create': {
|
|
5292
|
+
readonly action: "feature_flags.create";
|
|
5293
|
+
readonly operationId: "feature_flags_create";
|
|
5294
|
+
readonly method: "POST";
|
|
5295
|
+
readonly path: "/feature-flags";
|
|
5296
|
+
readonly pathParams: readonly [];
|
|
5297
|
+
readonly scope: "feature_flags:write";
|
|
5298
|
+
readonly danger: "write";
|
|
5299
|
+
readonly approval: true;
|
|
5300
|
+
readonly body: true;
|
|
5301
|
+
readonly pagination: null;
|
|
5302
|
+
};
|
|
5303
|
+
readonly 'feature_flags.delete': {
|
|
5304
|
+
readonly action: "feature_flags.delete";
|
|
5305
|
+
readonly operationId: "feature_flags_delete";
|
|
5306
|
+
readonly method: "DELETE";
|
|
5307
|
+
readonly path: "/feature-flags/{id}";
|
|
5308
|
+
readonly pathParams: readonly ["id"];
|
|
5309
|
+
readonly scope: "feature_flags:write";
|
|
5310
|
+
readonly danger: "destructive";
|
|
5311
|
+
readonly approval: true;
|
|
5312
|
+
readonly body: false;
|
|
5313
|
+
readonly pagination: null;
|
|
5314
|
+
};
|
|
5315
|
+
readonly 'feature_flags.evaluate': {
|
|
5316
|
+
readonly action: "feature_flags.evaluate";
|
|
5317
|
+
readonly operationId: "feature_flags_evaluate";
|
|
5318
|
+
readonly method: "GET";
|
|
5319
|
+
readonly path: "/feature-flags/evaluate";
|
|
5320
|
+
readonly pathParams: readonly [];
|
|
5321
|
+
readonly scope: "feature_flags:read";
|
|
5322
|
+
readonly danger: "read";
|
|
5323
|
+
readonly approval: true;
|
|
5324
|
+
readonly body: false;
|
|
5325
|
+
readonly pagination: null;
|
|
5326
|
+
};
|
|
5327
|
+
readonly 'feature_flags.get': {
|
|
5328
|
+
readonly action: "feature_flags.get";
|
|
5329
|
+
readonly operationId: "feature_flags_get";
|
|
5330
|
+
readonly method: "GET";
|
|
5331
|
+
readonly path: "/feature-flags/{id}";
|
|
5332
|
+
readonly pathParams: readonly ["id"];
|
|
5333
|
+
readonly scope: "feature_flags:read";
|
|
5334
|
+
readonly danger: "read";
|
|
5335
|
+
readonly approval: true;
|
|
5336
|
+
readonly body: false;
|
|
5337
|
+
readonly pagination: null;
|
|
5338
|
+
};
|
|
5339
|
+
readonly 'feature_flags.list': {
|
|
5340
|
+
readonly action: "feature_flags.list";
|
|
5341
|
+
readonly operationId: "feature_flags_list";
|
|
5342
|
+
readonly method: "GET";
|
|
5343
|
+
readonly path: "/feature-flags";
|
|
5344
|
+
readonly pathParams: readonly [];
|
|
5345
|
+
readonly scope: "feature_flags:read";
|
|
5346
|
+
readonly danger: "read";
|
|
5347
|
+
readonly approval: true;
|
|
5348
|
+
readonly body: false;
|
|
5349
|
+
readonly pagination: "cursor";
|
|
5350
|
+
};
|
|
5351
|
+
readonly 'feature_flags.update': {
|
|
5352
|
+
readonly action: "feature_flags.update";
|
|
5353
|
+
readonly operationId: "feature_flags_update";
|
|
5354
|
+
readonly method: "PATCH";
|
|
5355
|
+
readonly path: "/feature-flags/{id}";
|
|
5356
|
+
readonly pathParams: readonly ["id"];
|
|
5357
|
+
readonly scope: "feature_flags:write";
|
|
5358
|
+
readonly danger: "write";
|
|
5359
|
+
readonly approval: true;
|
|
5360
|
+
readonly body: true;
|
|
5361
|
+
readonly pagination: null;
|
|
5362
|
+
};
|
|
5363
|
+
readonly 'fga.check': {
|
|
5364
|
+
readonly action: "fga.check";
|
|
5365
|
+
readonly operationId: "fga_check";
|
|
5366
|
+
readonly method: "GET";
|
|
5367
|
+
readonly path: "/fga/check";
|
|
5368
|
+
readonly pathParams: readonly [];
|
|
5369
|
+
readonly scope: "fga:read";
|
|
5370
|
+
readonly danger: "read";
|
|
5371
|
+
readonly approval: true;
|
|
5372
|
+
readonly body: false;
|
|
5373
|
+
readonly pagination: null;
|
|
5374
|
+
};
|
|
5375
|
+
readonly 'fga.check_batch': {
|
|
5376
|
+
readonly action: "fga.check_batch";
|
|
5377
|
+
readonly operationId: "fga_check_batch";
|
|
5378
|
+
readonly method: "GET";
|
|
5379
|
+
readonly path: "/fga/check/batch";
|
|
5380
|
+
readonly pathParams: readonly [];
|
|
5381
|
+
readonly scope: "fga:read";
|
|
5382
|
+
readonly danger: "read";
|
|
5383
|
+
readonly approval: true;
|
|
5384
|
+
readonly body: false;
|
|
5385
|
+
readonly pagination: null;
|
|
5386
|
+
};
|
|
5387
|
+
readonly 'fga.resources.list': {
|
|
5388
|
+
readonly action: "fga.resources.list";
|
|
5389
|
+
readonly operationId: "fga_resources_list";
|
|
5390
|
+
readonly method: "GET";
|
|
5391
|
+
readonly path: "/fga/resources";
|
|
5392
|
+
readonly pathParams: readonly [];
|
|
5393
|
+
readonly scope: "fga:read";
|
|
5394
|
+
readonly danger: "read";
|
|
5395
|
+
readonly approval: true;
|
|
5396
|
+
readonly body: false;
|
|
5397
|
+
readonly pagination: "cursor";
|
|
5398
|
+
};
|
|
5399
|
+
readonly 'fga.schema.get': {
|
|
5400
|
+
readonly action: "fga.schema.get";
|
|
5401
|
+
readonly operationId: "fga_schema_get";
|
|
5402
|
+
readonly method: "GET";
|
|
5403
|
+
readonly path: "/fga/schema";
|
|
5404
|
+
readonly pathParams: readonly [];
|
|
5405
|
+
readonly scope: "fga:read";
|
|
5406
|
+
readonly danger: "read";
|
|
5407
|
+
readonly approval: true;
|
|
5408
|
+
readonly body: false;
|
|
5409
|
+
readonly pagination: null;
|
|
5410
|
+
};
|
|
5411
|
+
readonly 'fga.schema.update': {
|
|
5412
|
+
readonly action: "fga.schema.update";
|
|
5413
|
+
readonly operationId: "fga_schema_update";
|
|
5414
|
+
readonly method: "PUT";
|
|
5415
|
+
readonly path: "/fga/schema";
|
|
5416
|
+
readonly pathParams: readonly [];
|
|
5417
|
+
readonly scope: "fga:schema";
|
|
5418
|
+
readonly danger: "critical";
|
|
5419
|
+
readonly approval: true;
|
|
5420
|
+
readonly body: true;
|
|
5421
|
+
readonly pagination: null;
|
|
5422
|
+
};
|
|
5423
|
+
readonly 'fga.schema.validate': {
|
|
5424
|
+
readonly action: "fga.schema.validate";
|
|
5425
|
+
readonly operationId: "fga_schema_validate";
|
|
5426
|
+
readonly method: "GET";
|
|
5427
|
+
readonly path: "/fga/schema/validate";
|
|
5428
|
+
readonly pathParams: readonly [];
|
|
5429
|
+
readonly scope: "fga:read";
|
|
5430
|
+
readonly danger: "read";
|
|
5431
|
+
readonly approval: true;
|
|
5432
|
+
readonly body: false;
|
|
5433
|
+
readonly pagination: null;
|
|
5434
|
+
};
|
|
5435
|
+
readonly 'fga.subjects.list': {
|
|
5436
|
+
readonly action: "fga.subjects.list";
|
|
5437
|
+
readonly operationId: "fga_subjects_list";
|
|
5438
|
+
readonly method: "GET";
|
|
5439
|
+
readonly path: "/fga/subjects";
|
|
5440
|
+
readonly pathParams: readonly [];
|
|
5441
|
+
readonly scope: "fga:read";
|
|
5442
|
+
readonly danger: "read";
|
|
5443
|
+
readonly approval: true;
|
|
5444
|
+
readonly body: false;
|
|
5445
|
+
readonly pagination: "cursor";
|
|
5446
|
+
};
|
|
5447
|
+
readonly 'fga.tuples.delete': {
|
|
5448
|
+
readonly action: "fga.tuples.delete";
|
|
5449
|
+
readonly operationId: "fga_tuples_delete";
|
|
5450
|
+
readonly method: "POST";
|
|
5451
|
+
readonly path: "/fga/tuples/delete";
|
|
5452
|
+
readonly pathParams: readonly [];
|
|
5453
|
+
readonly scope: "fga:write";
|
|
5454
|
+
readonly danger: "destructive";
|
|
5455
|
+
readonly approval: true;
|
|
5456
|
+
readonly body: true;
|
|
5457
|
+
readonly pagination: null;
|
|
5458
|
+
};
|
|
5459
|
+
readonly 'fga.tuples.list': {
|
|
5460
|
+
readonly action: "fga.tuples.list";
|
|
5461
|
+
readonly operationId: "fga_tuples_list";
|
|
5462
|
+
readonly method: "GET";
|
|
5463
|
+
readonly path: "/fga/tuples";
|
|
5464
|
+
readonly pathParams: readonly [];
|
|
5465
|
+
readonly scope: "fga:read";
|
|
5466
|
+
readonly danger: "read";
|
|
5467
|
+
readonly approval: true;
|
|
5468
|
+
readonly body: false;
|
|
5469
|
+
readonly pagination: "cursor";
|
|
5470
|
+
};
|
|
5471
|
+
readonly 'fga.tuples.write': {
|
|
5472
|
+
readonly action: "fga.tuples.write";
|
|
5473
|
+
readonly operationId: "fga_tuples_write";
|
|
5474
|
+
readonly method: "POST";
|
|
5475
|
+
readonly path: "/fga/tuples";
|
|
5476
|
+
readonly pathParams: readonly [];
|
|
5477
|
+
readonly scope: "fga:write";
|
|
5478
|
+
readonly danger: "write";
|
|
5479
|
+
readonly approval: true;
|
|
5480
|
+
readonly body: true;
|
|
5481
|
+
readonly pagination: null;
|
|
5482
|
+
};
|
|
4141
5483
|
readonly 'frontend_keys.create': {
|
|
4142
5484
|
readonly action: "frontend_keys.create";
|
|
4143
5485
|
readonly operationId: "frontend_keys_create";
|
|
@@ -4786,6 +6128,114 @@ declare const environmentOperations: {
|
|
|
4786
6128
|
readonly body: true;
|
|
4787
6129
|
readonly pagination: null;
|
|
4788
6130
|
};
|
|
6131
|
+
readonly 'pipes.connections.delete': {
|
|
6132
|
+
readonly action: "pipes.connections.delete";
|
|
6133
|
+
readonly operationId: "pipes_connections_delete";
|
|
6134
|
+
readonly method: "DELETE";
|
|
6135
|
+
readonly path: "/pipes/{id}/connections/{connection_id}";
|
|
6136
|
+
readonly pathParams: readonly ["id", "connection_id"];
|
|
6137
|
+
readonly scope: "pipes:write";
|
|
6138
|
+
readonly danger: "destructive";
|
|
6139
|
+
readonly approval: true;
|
|
6140
|
+
readonly body: false;
|
|
6141
|
+
readonly pagination: null;
|
|
6142
|
+
};
|
|
6143
|
+
readonly 'pipes.connections.list': {
|
|
6144
|
+
readonly action: "pipes.connections.list";
|
|
6145
|
+
readonly operationId: "pipes_connections_list";
|
|
6146
|
+
readonly method: "GET";
|
|
6147
|
+
readonly path: "/pipes/{id}/connections";
|
|
6148
|
+
readonly pathParams: readonly ["id"];
|
|
6149
|
+
readonly scope: "pipes:read";
|
|
6150
|
+
readonly danger: "read";
|
|
6151
|
+
readonly approval: true;
|
|
6152
|
+
readonly body: false;
|
|
6153
|
+
readonly pagination: "cursor";
|
|
6154
|
+
};
|
|
6155
|
+
readonly 'pipes.create': {
|
|
6156
|
+
readonly action: "pipes.create";
|
|
6157
|
+
readonly operationId: "pipes_create";
|
|
6158
|
+
readonly method: "POST";
|
|
6159
|
+
readonly path: "/pipes";
|
|
6160
|
+
readonly pathParams: readonly [];
|
|
6161
|
+
readonly scope: "pipes:write";
|
|
6162
|
+
readonly danger: "write";
|
|
6163
|
+
readonly approval: true;
|
|
6164
|
+
readonly body: true;
|
|
6165
|
+
readonly pagination: null;
|
|
6166
|
+
};
|
|
6167
|
+
readonly 'pipes.delete': {
|
|
6168
|
+
readonly action: "pipes.delete";
|
|
6169
|
+
readonly operationId: "pipes_delete";
|
|
6170
|
+
readonly method: "DELETE";
|
|
6171
|
+
readonly path: "/pipes/{id}";
|
|
6172
|
+
readonly pathParams: readonly ["id"];
|
|
6173
|
+
readonly scope: "pipes:write";
|
|
6174
|
+
readonly danger: "destructive";
|
|
6175
|
+
readonly approval: true;
|
|
6176
|
+
readonly body: false;
|
|
6177
|
+
readonly pagination: null;
|
|
6178
|
+
};
|
|
6179
|
+
readonly 'pipes.get': {
|
|
6180
|
+
readonly action: "pipes.get";
|
|
6181
|
+
readonly operationId: "pipes_get";
|
|
6182
|
+
readonly method: "GET";
|
|
6183
|
+
readonly path: "/pipes/{id}";
|
|
6184
|
+
readonly pathParams: readonly ["id"];
|
|
6185
|
+
readonly scope: "pipes:read";
|
|
6186
|
+
readonly danger: "read";
|
|
6187
|
+
readonly approval: true;
|
|
6188
|
+
readonly body: false;
|
|
6189
|
+
readonly pagination: null;
|
|
6190
|
+
};
|
|
6191
|
+
readonly 'pipes.grants.create': {
|
|
6192
|
+
readonly action: "pipes.grants.create";
|
|
6193
|
+
readonly operationId: "pipes_grants_create";
|
|
6194
|
+
readonly method: "POST";
|
|
6195
|
+
readonly path: "/pipes/{id}/grants";
|
|
6196
|
+
readonly pathParams: readonly ["id"];
|
|
6197
|
+
readonly scope: "pipes:write";
|
|
6198
|
+
readonly danger: "critical";
|
|
6199
|
+
readonly approval: true;
|
|
6200
|
+
readonly body: true;
|
|
6201
|
+
readonly pagination: null;
|
|
6202
|
+
};
|
|
6203
|
+
readonly 'pipes.grants.delete': {
|
|
6204
|
+
readonly action: "pipes.grants.delete";
|
|
6205
|
+
readonly operationId: "pipes_grants_delete";
|
|
6206
|
+
readonly method: "DELETE";
|
|
6207
|
+
readonly path: "/pipes/{id}/grants/{client_id}";
|
|
6208
|
+
readonly pathParams: readonly ["id", "client_id"];
|
|
6209
|
+
readonly scope: "pipes:write";
|
|
6210
|
+
readonly danger: "destructive";
|
|
6211
|
+
readonly approval: true;
|
|
6212
|
+
readonly body: false;
|
|
6213
|
+
readonly pagination: null;
|
|
6214
|
+
};
|
|
6215
|
+
readonly 'pipes.list': {
|
|
6216
|
+
readonly action: "pipes.list";
|
|
6217
|
+
readonly operationId: "pipes_list";
|
|
6218
|
+
readonly method: "GET";
|
|
6219
|
+
readonly path: "/pipes";
|
|
6220
|
+
readonly pathParams: readonly [];
|
|
6221
|
+
readonly scope: "pipes:read";
|
|
6222
|
+
readonly danger: "read";
|
|
6223
|
+
readonly approval: true;
|
|
6224
|
+
readonly body: false;
|
|
6225
|
+
readonly pagination: "cursor";
|
|
6226
|
+
};
|
|
6227
|
+
readonly 'pipes.update': {
|
|
6228
|
+
readonly action: "pipes.update";
|
|
6229
|
+
readonly operationId: "pipes_update";
|
|
6230
|
+
readonly method: "PATCH";
|
|
6231
|
+
readonly path: "/pipes/{id}";
|
|
6232
|
+
readonly pathParams: readonly ["id"];
|
|
6233
|
+
readonly scope: "pipes:write";
|
|
6234
|
+
readonly danger: "write";
|
|
6235
|
+
readonly approval: true;
|
|
6236
|
+
readonly body: true;
|
|
6237
|
+
readonly pagination: null;
|
|
6238
|
+
};
|
|
4789
6239
|
readonly 'provisioning.targets.create': {
|
|
4790
6240
|
readonly action: "provisioning.targets.create";
|
|
4791
6241
|
readonly operationId: "provisioning_targets_create";
|
|
@@ -4846,6 +6296,174 @@ declare const environmentOperations: {
|
|
|
4846
6296
|
readonly body: true;
|
|
4847
6297
|
readonly pagination: null;
|
|
4848
6298
|
};
|
|
6299
|
+
readonly 'radar.decisions.get': {
|
|
6300
|
+
readonly action: "radar.decisions.get";
|
|
6301
|
+
readonly operationId: "radar_decisions_get";
|
|
6302
|
+
readonly method: "GET";
|
|
6303
|
+
readonly path: "/radar/decisions/{id}";
|
|
6304
|
+
readonly pathParams: readonly ["id"];
|
|
6305
|
+
readonly scope: "radar:read";
|
|
6306
|
+
readonly danger: "read";
|
|
6307
|
+
readonly approval: true;
|
|
6308
|
+
readonly body: false;
|
|
6309
|
+
readonly pagination: null;
|
|
6310
|
+
};
|
|
6311
|
+
readonly 'radar.decisions.list': {
|
|
6312
|
+
readonly action: "radar.decisions.list";
|
|
6313
|
+
readonly operationId: "radar_decisions_list";
|
|
6314
|
+
readonly method: "GET";
|
|
6315
|
+
readonly path: "/radar/decisions";
|
|
6316
|
+
readonly pathParams: readonly [];
|
|
6317
|
+
readonly scope: "radar:read";
|
|
6318
|
+
readonly danger: "read";
|
|
6319
|
+
readonly approval: true;
|
|
6320
|
+
readonly body: false;
|
|
6321
|
+
readonly pagination: "cursor";
|
|
6322
|
+
};
|
|
6323
|
+
readonly 'radar.lists.add': {
|
|
6324
|
+
readonly action: "radar.lists.add";
|
|
6325
|
+
readonly operationId: "radar_lists_add";
|
|
6326
|
+
readonly method: "POST";
|
|
6327
|
+
readonly path: "/radar/lists";
|
|
6328
|
+
readonly pathParams: readonly [];
|
|
6329
|
+
readonly scope: "radar:write";
|
|
6330
|
+
readonly danger: "write";
|
|
6331
|
+
readonly approval: true;
|
|
6332
|
+
readonly body: true;
|
|
6333
|
+
readonly pagination: null;
|
|
6334
|
+
};
|
|
6335
|
+
readonly 'radar.lists.list': {
|
|
6336
|
+
readonly action: "radar.lists.list";
|
|
6337
|
+
readonly operationId: "radar_lists_list";
|
|
6338
|
+
readonly method: "GET";
|
|
6339
|
+
readonly path: "/radar/lists";
|
|
6340
|
+
readonly pathParams: readonly [];
|
|
6341
|
+
readonly scope: "radar:read";
|
|
6342
|
+
readonly danger: "read";
|
|
6343
|
+
readonly approval: true;
|
|
6344
|
+
readonly body: false;
|
|
6345
|
+
readonly pagination: "cursor";
|
|
6346
|
+
};
|
|
6347
|
+
readonly 'radar.lists.remove': {
|
|
6348
|
+
readonly action: "radar.lists.remove";
|
|
6349
|
+
readonly operationId: "radar_lists_remove";
|
|
6350
|
+
readonly method: "DELETE";
|
|
6351
|
+
readonly path: "/radar/lists/{id}";
|
|
6352
|
+
readonly pathParams: readonly ["id"];
|
|
6353
|
+
readonly scope: "radar:write";
|
|
6354
|
+
readonly danger: "destructive";
|
|
6355
|
+
readonly approval: true;
|
|
6356
|
+
readonly body: false;
|
|
6357
|
+
readonly pagination: null;
|
|
6358
|
+
};
|
|
6359
|
+
readonly 'radar.mode.set': {
|
|
6360
|
+
readonly action: "radar.mode.set";
|
|
6361
|
+
readonly operationId: "radar_mode_set";
|
|
6362
|
+
readonly method: "PUT";
|
|
6363
|
+
readonly path: "/radar/mode";
|
|
6364
|
+
readonly pathParams: readonly [];
|
|
6365
|
+
readonly scope: "radar:manage";
|
|
6366
|
+
readonly danger: "critical";
|
|
6367
|
+
readonly approval: true;
|
|
6368
|
+
readonly body: true;
|
|
6369
|
+
readonly pagination: null;
|
|
6370
|
+
};
|
|
6371
|
+
readonly 'radar.rules.create': {
|
|
6372
|
+
readonly action: "radar.rules.create";
|
|
6373
|
+
readonly operationId: "radar_rules_create";
|
|
6374
|
+
readonly method: "POST";
|
|
6375
|
+
readonly path: "/radar/rules";
|
|
6376
|
+
readonly pathParams: readonly [];
|
|
6377
|
+
readonly scope: "radar:write";
|
|
6378
|
+
readonly danger: "write";
|
|
6379
|
+
readonly approval: true;
|
|
6380
|
+
readonly body: true;
|
|
6381
|
+
readonly pagination: null;
|
|
6382
|
+
};
|
|
6383
|
+
readonly 'radar.rules.delete': {
|
|
6384
|
+
readonly action: "radar.rules.delete";
|
|
6385
|
+
readonly operationId: "radar_rules_delete";
|
|
6386
|
+
readonly method: "DELETE";
|
|
6387
|
+
readonly path: "/radar/rules/{id}";
|
|
6388
|
+
readonly pathParams: readonly ["id"];
|
|
6389
|
+
readonly scope: "radar:write";
|
|
6390
|
+
readonly danger: "destructive";
|
|
6391
|
+
readonly approval: true;
|
|
6392
|
+
readonly body: false;
|
|
6393
|
+
readonly pagination: null;
|
|
6394
|
+
};
|
|
6395
|
+
readonly 'radar.rules.get': {
|
|
6396
|
+
readonly action: "radar.rules.get";
|
|
6397
|
+
readonly operationId: "radar_rules_get";
|
|
6398
|
+
readonly method: "GET";
|
|
6399
|
+
readonly path: "/radar/rules/{id}";
|
|
6400
|
+
readonly pathParams: readonly ["id"];
|
|
6401
|
+
readonly scope: "radar:read";
|
|
6402
|
+
readonly danger: "read";
|
|
6403
|
+
readonly approval: true;
|
|
6404
|
+
readonly body: false;
|
|
6405
|
+
readonly pagination: null;
|
|
6406
|
+
};
|
|
6407
|
+
readonly 'radar.rules.list': {
|
|
6408
|
+
readonly action: "radar.rules.list";
|
|
6409
|
+
readonly operationId: "radar_rules_list";
|
|
6410
|
+
readonly method: "GET";
|
|
6411
|
+
readonly path: "/radar/rules";
|
|
6412
|
+
readonly pathParams: readonly [];
|
|
6413
|
+
readonly scope: "radar:read";
|
|
6414
|
+
readonly danger: "read";
|
|
6415
|
+
readonly approval: true;
|
|
6416
|
+
readonly body: false;
|
|
6417
|
+
readonly pagination: "cursor";
|
|
6418
|
+
};
|
|
6419
|
+
readonly 'radar.rules.reorder': {
|
|
6420
|
+
readonly action: "radar.rules.reorder";
|
|
6421
|
+
readonly operationId: "radar_rules_reorder";
|
|
6422
|
+
readonly method: "PUT";
|
|
6423
|
+
readonly path: "/radar/rules/order";
|
|
6424
|
+
readonly pathParams: readonly [];
|
|
6425
|
+
readonly scope: "radar:write";
|
|
6426
|
+
readonly danger: "write";
|
|
6427
|
+
readonly approval: true;
|
|
6428
|
+
readonly body: true;
|
|
6429
|
+
readonly pagination: null;
|
|
6430
|
+
};
|
|
6431
|
+
readonly 'radar.rules.update': {
|
|
6432
|
+
readonly action: "radar.rules.update";
|
|
6433
|
+
readonly operationId: "radar_rules_update";
|
|
6434
|
+
readonly method: "PATCH";
|
|
6435
|
+
readonly path: "/radar/rules/{id}";
|
|
6436
|
+
readonly pathParams: readonly ["id"];
|
|
6437
|
+
readonly scope: "radar:write";
|
|
6438
|
+
readonly danger: "write";
|
|
6439
|
+
readonly approval: true;
|
|
6440
|
+
readonly body: true;
|
|
6441
|
+
readonly pagination: null;
|
|
6442
|
+
};
|
|
6443
|
+
readonly 'radar.settings.get': {
|
|
6444
|
+
readonly action: "radar.settings.get";
|
|
6445
|
+
readonly operationId: "radar_settings_get";
|
|
6446
|
+
readonly method: "GET";
|
|
6447
|
+
readonly path: "/radar/settings";
|
|
6448
|
+
readonly pathParams: readonly [];
|
|
6449
|
+
readonly scope: "radar:read";
|
|
6450
|
+
readonly danger: "read";
|
|
6451
|
+
readonly approval: true;
|
|
6452
|
+
readonly body: false;
|
|
6453
|
+
readonly pagination: null;
|
|
6454
|
+
};
|
|
6455
|
+
readonly 'radar.settings.update': {
|
|
6456
|
+
readonly action: "radar.settings.update";
|
|
6457
|
+
readonly operationId: "radar_settings_update";
|
|
6458
|
+
readonly method: "PATCH";
|
|
6459
|
+
readonly path: "/radar/settings";
|
|
6460
|
+
readonly pathParams: readonly [];
|
|
6461
|
+
readonly scope: "radar:write";
|
|
6462
|
+
readonly danger: "write";
|
|
6463
|
+
readonly approval: true;
|
|
6464
|
+
readonly body: true;
|
|
6465
|
+
readonly pagination: null;
|
|
6466
|
+
};
|
|
4849
6467
|
readonly 'roles.create': {
|
|
4850
6468
|
readonly action: "roles.create";
|
|
4851
6469
|
readonly operationId: "roles_create";
|
|
@@ -5038,6 +6656,30 @@ declare const environmentOperations: {
|
|
|
5038
6656
|
readonly body: true;
|
|
5039
6657
|
readonly pagination: null;
|
|
5040
6658
|
};
|
|
6659
|
+
readonly 'signin.sms.get': {
|
|
6660
|
+
readonly action: "signin.sms.get";
|
|
6661
|
+
readonly operationId: "signin_sms_get";
|
|
6662
|
+
readonly method: "GET";
|
|
6663
|
+
readonly path: "/sign-in/sms";
|
|
6664
|
+
readonly pathParams: readonly [];
|
|
6665
|
+
readonly scope: "signin:read";
|
|
6666
|
+
readonly danger: "read";
|
|
6667
|
+
readonly approval: true;
|
|
6668
|
+
readonly body: false;
|
|
6669
|
+
readonly pagination: null;
|
|
6670
|
+
};
|
|
6671
|
+
readonly 'signin.sms.update': {
|
|
6672
|
+
readonly action: "signin.sms.update";
|
|
6673
|
+
readonly operationId: "signin_sms_update";
|
|
6674
|
+
readonly method: "PATCH";
|
|
6675
|
+
readonly path: "/sign-in/sms";
|
|
6676
|
+
readonly pathParams: readonly [];
|
|
6677
|
+
readonly scope: "signin:write";
|
|
6678
|
+
readonly danger: "critical";
|
|
6679
|
+
readonly approval: true;
|
|
6680
|
+
readonly body: true;
|
|
6681
|
+
readonly pagination: null;
|
|
6682
|
+
};
|
|
5041
6683
|
readonly 'signin.social.delete': {
|
|
5042
6684
|
readonly action: "signin.social.delete";
|
|
5043
6685
|
readonly operationId: "signin_social_delete";
|
|
@@ -5050,6 +6692,42 @@ declare const environmentOperations: {
|
|
|
5050
6692
|
readonly body: true;
|
|
5051
6693
|
readonly pagination: null;
|
|
5052
6694
|
};
|
|
6695
|
+
readonly 'signin.social.disable': {
|
|
6696
|
+
readonly action: "signin.social.disable";
|
|
6697
|
+
readonly operationId: "signin_social_disable";
|
|
6698
|
+
readonly method: "POST";
|
|
6699
|
+
readonly path: "/sign-in/social-providers/{id}/disable";
|
|
6700
|
+
readonly pathParams: readonly ["id"];
|
|
6701
|
+
readonly scope: "signin:write";
|
|
6702
|
+
readonly danger: "critical";
|
|
6703
|
+
readonly approval: true;
|
|
6704
|
+
readonly body: true;
|
|
6705
|
+
readonly pagination: null;
|
|
6706
|
+
};
|
|
6707
|
+
readonly 'signin.social.enable': {
|
|
6708
|
+
readonly action: "signin.social.enable";
|
|
6709
|
+
readonly operationId: "signin_social_enable";
|
|
6710
|
+
readonly method: "POST";
|
|
6711
|
+
readonly path: "/sign-in/social-providers/{id}/enable";
|
|
6712
|
+
readonly pathParams: readonly ["id"];
|
|
6713
|
+
readonly scope: "signin:write";
|
|
6714
|
+
readonly danger: "write";
|
|
6715
|
+
readonly approval: true;
|
|
6716
|
+
readonly body: true;
|
|
6717
|
+
readonly pagination: null;
|
|
6718
|
+
};
|
|
6719
|
+
readonly 'signin.social.inherit': {
|
|
6720
|
+
readonly action: "signin.social.inherit";
|
|
6721
|
+
readonly operationId: "signin_social_inherit";
|
|
6722
|
+
readonly method: "PUT";
|
|
6723
|
+
readonly path: "/sign-in/social-providers/inherited/{provider}";
|
|
6724
|
+
readonly pathParams: readonly ["provider"];
|
|
6725
|
+
readonly scope: "signin:write";
|
|
6726
|
+
readonly danger: "write";
|
|
6727
|
+
readonly approval: true;
|
|
6728
|
+
readonly body: true;
|
|
6729
|
+
readonly pagination: null;
|
|
6730
|
+
};
|
|
5053
6731
|
readonly 'signin.social.list': {
|
|
5054
6732
|
readonly action: "signin.social.list";
|
|
5055
6733
|
readonly operationId: "signin_social_list";
|
|
@@ -5062,6 +6740,18 @@ declare const environmentOperations: {
|
|
|
5062
6740
|
readonly body: false;
|
|
5063
6741
|
readonly pagination: "cursor";
|
|
5064
6742
|
};
|
|
6743
|
+
readonly 'signin.social.offered': {
|
|
6744
|
+
readonly action: "signin.social.offered";
|
|
6745
|
+
readonly operationId: "signin_social_offered";
|
|
6746
|
+
readonly method: "GET";
|
|
6747
|
+
readonly path: "/sign-in/social-providers/offered";
|
|
6748
|
+
readonly pathParams: readonly [];
|
|
6749
|
+
readonly scope: "signin:read";
|
|
6750
|
+
readonly danger: "read";
|
|
6751
|
+
readonly approval: true;
|
|
6752
|
+
readonly body: false;
|
|
6753
|
+
readonly pagination: null;
|
|
6754
|
+
};
|
|
5065
6755
|
readonly 'signin.social.set': {
|
|
5066
6756
|
readonly action: "signin.social.set";
|
|
5067
6757
|
readonly operationId: "signin_social_set";
|
|
@@ -5074,6 +6764,18 @@ declare const environmentOperations: {
|
|
|
5074
6764
|
readonly body: true;
|
|
5075
6765
|
readonly pagination: null;
|
|
5076
6766
|
};
|
|
6767
|
+
readonly 'signin.social.update': {
|
|
6768
|
+
readonly action: "signin.social.update";
|
|
6769
|
+
readonly operationId: "signin_social_update";
|
|
6770
|
+
readonly method: "PATCH";
|
|
6771
|
+
readonly path: "/sign-in/social-providers/{id}";
|
|
6772
|
+
readonly pathParams: readonly ["id"];
|
|
6773
|
+
readonly scope: "signin:write";
|
|
6774
|
+
readonly danger: "critical";
|
|
6775
|
+
readonly approval: true;
|
|
6776
|
+
readonly body: true;
|
|
6777
|
+
readonly pagination: null;
|
|
6778
|
+
};
|
|
5077
6779
|
readonly 'sod_policies.create': {
|
|
5078
6780
|
readonly action: "sod_policies.create";
|
|
5079
6781
|
readonly operationId: "sod_policies_create";
|
|
@@ -5566,6 +7268,18 @@ declare const environmentOperations: {
|
|
|
5566
7268
|
readonly body: false;
|
|
5567
7269
|
readonly pagination: null;
|
|
5568
7270
|
};
|
|
7271
|
+
readonly 'users.mfa.sms.remove': {
|
|
7272
|
+
readonly action: "users.mfa.sms.remove";
|
|
7273
|
+
readonly operationId: "users_mfa_sms_remove";
|
|
7274
|
+
readonly method: "DELETE";
|
|
7275
|
+
readonly path: "/users/{id}/mfa/sms";
|
|
7276
|
+
readonly pathParams: readonly ["id"];
|
|
7277
|
+
readonly scope: "users:write";
|
|
7278
|
+
readonly danger: "critical";
|
|
7279
|
+
readonly approval: true;
|
|
7280
|
+
readonly body: false;
|
|
7281
|
+
readonly pagination: null;
|
|
7282
|
+
};
|
|
5569
7283
|
readonly 'users.password_reset.send': {
|
|
5570
7284
|
readonly action: "users.password_reset.send";
|
|
5571
7285
|
readonly operationId: "users_password_reset_send";
|
|
@@ -6435,7 +8149,7 @@ declare class EnvironmentClient {
|
|
|
6435
8149
|
*/
|
|
6436
8150
|
get: <O extends CallOptions = CallOptions>(query?: BrandingAppearanceGetQuery, options?: O) => Promise<Outcome<BrandingAppearanceGetResponse, O>>;
|
|
6437
8151
|
/**
|
|
6438
|
-
* Set the hosted sign-in theme (preset, colours, corners, type, logo) for the environment default or one organization.
|
|
8152
|
+
* Set the hosted sign-in theme (preset, colours, corners, type, uploaded logo and favicon) for the environment default or one organization.
|
|
6439
8153
|
*
|
|
6440
8154
|
* Requires scope `branding:write`. Danger: write.
|
|
6441
8155
|
*
|
|
@@ -6529,6 +8243,17 @@ declare class EnvironmentClient {
|
|
|
6529
8243
|
list: <O extends CallOptions = CallOptions>(query?: DirectoriesListQuery, options?: O) => Promise<Outcome<DirectoriesListResponse, O>>;
|
|
6530
8244
|
/** Every item of `directories.list`, fetching pages as the iteration reaches them. */
|
|
6531
8245
|
listAll: (query?: Omit<DirectoriesListQuery, "after">, options?: Omit<CallOptions, "approval">) => AsyncGenerator<Directory, void, undefined>;
|
|
8246
|
+
/**
|
|
8247
|
+
* Pull a Google Workspace, Microsoft Entra or HR-system directory now, on a worker. `full` asks an HR system for everybody rather than what changed.
|
|
8248
|
+
*
|
|
8249
|
+
* Requires scope `directory_sync:write`. Danger: write.
|
|
8250
|
+
*
|
|
8251
|
+
* `POST /directories/{id}/sync` · action `directories.sync`
|
|
8252
|
+
* @scope `directory_sync:write`
|
|
8253
|
+
* @danger write
|
|
8254
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
8255
|
+
*/
|
|
8256
|
+
sync: <O extends CallOptions = CallOptions>(id: string, body?: DirectoriesSyncBody, options?: O) => Promise<Outcome<DirectoriesSyncResponse, O>>;
|
|
6532
8257
|
/**
|
|
6533
8258
|
* Rename an inbound directory.
|
|
6534
8259
|
*
|
|
@@ -6540,6 +8265,19 @@ declare class EnvironmentClient {
|
|
|
6540
8265
|
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
6541
8266
|
*/
|
|
6542
8267
|
update: <O extends CallOptions = CallOptions>(id: string, body: DirectoriesUpdateBody, options?: O) => Promise<Outcome<DirectoriesUpdateResponse, O>>;
|
|
8268
|
+
credentials: {
|
|
8269
|
+
/**
|
|
8270
|
+
* Replace a pull directory's provider credentials, verifying the new ones first. Write-only; never returned.
|
|
8271
|
+
*
|
|
8272
|
+
* Requires scope `directory_sync:write`. Danger: critical.
|
|
8273
|
+
*
|
|
8274
|
+
* `PUT /directories/{id}/credentials` · action `directories.credentials.replace`
|
|
8275
|
+
* @scope `directory_sync:write`
|
|
8276
|
+
* @danger critical
|
|
8277
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
8278
|
+
*/
|
|
8279
|
+
replace: <O extends CallOptions = CallOptions>(id: string, body: DirectoriesCredentialsReplaceBody, options?: O) => Promise<Outcome<DirectoriesCredentialsReplaceResponse, O>>;
|
|
8280
|
+
};
|
|
6543
8281
|
groups: {
|
|
6544
8282
|
/**
|
|
6545
8283
|
* List the groups a directory has synced, with the role ids each group is mapped onto.
|
|
@@ -6566,6 +8304,19 @@ declare class EnvironmentClient {
|
|
|
6566
8304
|
*/
|
|
6567
8305
|
map: <O extends CallOptions = CallOptions>(id: string, body: DirectoriesGroupsMapBody, options?: O) => Promise<Outcome<DirectoriesGroupsMapResponse, O>>;
|
|
6568
8306
|
};
|
|
8307
|
+
hris: {
|
|
8308
|
+
/**
|
|
8309
|
+
* Connect an HR system (Workday, BambooHR, Rippling, HiBob or Personio) to sync an organization's people from, verifying the credentials first. The first sync is queued.
|
|
8310
|
+
*
|
|
8311
|
+
* Requires scope `directory_sync:write`. Danger: critical.
|
|
8312
|
+
*
|
|
8313
|
+
* `POST /directories/hris` · action `directories.hris.connect`
|
|
8314
|
+
* @scope `directory_sync:write`
|
|
8315
|
+
* @danger critical
|
|
8316
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
8317
|
+
*/
|
|
8318
|
+
connect: <O extends CallOptions = CallOptions>(body: DirectoriesHrisConnectBody, options?: O) => Promise<Outcome<DirectoriesHrisConnectResponse, O>>;
|
|
8319
|
+
};
|
|
6569
8320
|
status: {
|
|
6570
8321
|
/**
|
|
6571
8322
|
* Pause or resume an inbound directory's provisioning.
|
|
@@ -6579,6 +8330,19 @@ declare class EnvironmentClient {
|
|
|
6579
8330
|
*/
|
|
6580
8331
|
set: <O extends CallOptions = CallOptions>(id: string, body: DirectoriesStatusSetBody, options?: O) => Promise<Outcome<DirectoriesStatusSetResponse, O>>;
|
|
6581
8332
|
};
|
|
8333
|
+
syncSettings: {
|
|
8334
|
+
/**
|
|
8335
|
+
* Set how often a pull directory syncs, and for an HR system which of its fields pass through onto people.
|
|
8336
|
+
*
|
|
8337
|
+
* Requires scope `directory_sync:write`. Danger: write.
|
|
8338
|
+
*
|
|
8339
|
+
* `PATCH /directories/{id}/sync-settings` · action `directories.sync_settings.update`
|
|
8340
|
+
* @scope `directory_sync:write`
|
|
8341
|
+
* @danger write
|
|
8342
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
8343
|
+
*/
|
|
8344
|
+
update: <O extends CallOptions = CallOptions>(id: string, body?: DirectoriesSyncSettingsUpdateBody, options?: O) => Promise<Outcome<DirectoriesSyncSettingsUpdateResponse, O>>;
|
|
8345
|
+
};
|
|
6582
8346
|
token: {
|
|
6583
8347
|
/**
|
|
6584
8348
|
* Issue a new bearer token for a SCIM directory, returned once. The old token stops working immediately.
|
|
@@ -6654,6 +8418,202 @@ declare class EnvironmentClient {
|
|
|
6654
8418
|
/** Every item of `events.list`, fetching pages as the iteration reaches them. */
|
|
6655
8419
|
listAll: (query?: Omit<EventsListQuery, "after">, options?: Omit<CallOptions, "approval">) => AsyncGenerator<DomainEvent, void, undefined>;
|
|
6656
8420
|
};
|
|
8421
|
+
readonly featureFlags: {
|
|
8422
|
+
/**
|
|
8423
|
+
* Define a feature flag: a key apps ask about, its default, and who it is on for — named users, named organizations, a rollout percentage.
|
|
8424
|
+
*
|
|
8425
|
+
* Requires scope `feature_flags:write`. Danger: write.
|
|
8426
|
+
*
|
|
8427
|
+
* `POST /feature-flags` · action `feature_flags.create`
|
|
8428
|
+
* @scope `feature_flags:write`
|
|
8429
|
+
* @danger write
|
|
8430
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
8431
|
+
*/
|
|
8432
|
+
create: <O extends CallOptions = CallOptions>(body: FeatureFlagsCreateBody, options?: O) => Promise<Outcome<FeatureFlagsCreateResponse, O>>;
|
|
8433
|
+
/**
|
|
8434
|
+
* Delete a feature flag and its rules. Its key evaluates to off from now on; tokens already minted keep it until they expire.
|
|
8435
|
+
*
|
|
8436
|
+
* Requires scope `feature_flags:write`. Danger: destructive.
|
|
8437
|
+
*
|
|
8438
|
+
* `DELETE /feature-flags/{id}` · action `feature_flags.delete`
|
|
8439
|
+
* @scope `feature_flags:write`
|
|
8440
|
+
* @danger destructive
|
|
8441
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
8442
|
+
*/
|
|
8443
|
+
delete: <O extends CallOptions = CallOptions>(id: string, options?: O) => Promise<Outcome<FeatureFlagsDeleteResponse, O>>;
|
|
8444
|
+
/**
|
|
8445
|
+
* Evaluate every feature flag for a user in an organization: whether each is on, and the rule that decided. For app backends without a token in hand.
|
|
8446
|
+
*
|
|
8447
|
+
* Requires scope `feature_flags:read`. Danger: read.
|
|
8448
|
+
*
|
|
8449
|
+
* `GET /feature-flags/evaluate` · action `feature_flags.evaluate`
|
|
8450
|
+
* @scope `feature_flags:read`
|
|
8451
|
+
* @danger read
|
|
8452
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
8453
|
+
*/
|
|
8454
|
+
evaluate: <O extends CallOptions = CallOptions>(query?: FeatureFlagsEvaluateQuery, options?: O) => Promise<Outcome<FeatureFlagsEvaluateResponse, O>>;
|
|
8455
|
+
/**
|
|
8456
|
+
* Read one feature flag: its default, whether it is switched on, and every user, organization and rollout rule.
|
|
8457
|
+
*
|
|
8458
|
+
* Requires scope `feature_flags:read`. Danger: read.
|
|
8459
|
+
*
|
|
8460
|
+
* `GET /feature-flags/{id}` · action `feature_flags.get`
|
|
8461
|
+
* @scope `feature_flags:read`
|
|
8462
|
+
* @danger read
|
|
8463
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
8464
|
+
*/
|
|
8465
|
+
get: <O extends CallOptions = CallOptions>(id: string, options?: O) => Promise<Outcome<FeatureFlagsGetResponse, O>>;
|
|
8466
|
+
/**
|
|
8467
|
+
* List this environment's feature flags with their default, kill switch and targeting rules.
|
|
8468
|
+
*
|
|
8469
|
+
* Requires scope `feature_flags:read`. Danger: read.
|
|
8470
|
+
*
|
|
8471
|
+
* `GET /feature-flags` · action `feature_flags.list`
|
|
8472
|
+
* @scope `feature_flags:read`
|
|
8473
|
+
* @danger read
|
|
8474
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
8475
|
+
*/
|
|
8476
|
+
list: <O extends CallOptions = CallOptions>(query?: FeatureFlagsListQuery, options?: O) => Promise<Outcome<FeatureFlagsListResponse, O>>;
|
|
8477
|
+
/** Every item of `feature_flags.list`, fetching pages as the iteration reaches them. */
|
|
8478
|
+
listAll: (query?: Omit<FeatureFlagsListQuery, "after">, options?: Omit<CallOptions, "approval">) => AsyncGenerator<FeatureFlag, void, undefined>;
|
|
8479
|
+
/**
|
|
8480
|
+
* Change a feature flag: switch it on or off for everyone, change its default, or replace its user rules, organization rules or rollout percentage.
|
|
8481
|
+
*
|
|
8482
|
+
* Requires scope `feature_flags:write`. Danger: write.
|
|
8483
|
+
*
|
|
8484
|
+
* `PATCH /feature-flags/{id}` · action `feature_flags.update`
|
|
8485
|
+
* @scope `feature_flags:write`
|
|
8486
|
+
* @danger write
|
|
8487
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
8488
|
+
*/
|
|
8489
|
+
update: <O extends CallOptions = CallOptions>(id: string, body?: FeatureFlagsUpdateBody, options?: O) => Promise<Outcome<FeatureFlagsUpdateResponse, O>>;
|
|
8490
|
+
};
|
|
8491
|
+
readonly fga: {
|
|
8492
|
+
/**
|
|
8493
|
+
* Check whether a subject has a relation on a resource — directly, through computed relations, parents or nested groups. Optionally at least as fresh as a consistency_token.
|
|
8494
|
+
*
|
|
8495
|
+
* Requires scope `fga:read`. Danger: read.
|
|
8496
|
+
*
|
|
8497
|
+
* `GET /fga/check` · action `fga.check`
|
|
8498
|
+
* @scope `fga:read`
|
|
8499
|
+
* @danger read
|
|
8500
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
8501
|
+
*/
|
|
8502
|
+
check: <O extends CallOptions = CallOptions>(query: FgaCheckQuery, options?: O) => Promise<Outcome<FgaCheckResponse, O>>;
|
|
8503
|
+
/**
|
|
8504
|
+
* Run 1–100 checks in one round trip, each written resource#relation@subject (document:readme#viewer@user:alice), all at the same revision, answered in order.
|
|
8505
|
+
*
|
|
8506
|
+
* Requires scope `fga:read`. Danger: read.
|
|
8507
|
+
*
|
|
8508
|
+
* `GET /fga/check/batch` · action `fga.check_batch`
|
|
8509
|
+
* @scope `fga:read`
|
|
8510
|
+
* @danger read
|
|
8511
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
8512
|
+
*/
|
|
8513
|
+
checkBatch: <O extends CallOptions = CallOptions>(query: FgaCheckBatchQuery, options?: O) => Promise<Outcome<FgaCheckBatchResponse, O>>;
|
|
8514
|
+
resources: {
|
|
8515
|
+
/**
|
|
8516
|
+
* List the resources of one type a subject has a relation on (e.g. every document alice can view), through all inheritance; sorted ids, paged with after.
|
|
8517
|
+
*
|
|
8518
|
+
* Requires scope `fga:read`. Danger: read.
|
|
8519
|
+
*
|
|
8520
|
+
* `GET /fga/resources` · action `fga.resources.list`
|
|
8521
|
+
* @scope `fga:read`
|
|
8522
|
+
* @danger read
|
|
8523
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
8524
|
+
*/
|
|
8525
|
+
list: <O extends CallOptions = CallOptions>(query: FgaResourcesListQuery, options?: O) => Promise<Outcome<FgaResourcesListResponse, O>>;
|
|
8526
|
+
/** Every item of `fga.resources.list`, fetching pages as the iteration reaches them. */
|
|
8527
|
+
listAll: (query?: Omit<FgaResourcesListQuery, "after">, options?: Omit<CallOptions, "approval">) => AsyncGenerator<FgaObject, void, undefined>;
|
|
8528
|
+
};
|
|
8529
|
+
schema: {
|
|
8530
|
+
/**
|
|
8531
|
+
* Read this environment's fine-grained authorization schema: the source text, its parsed types and relations, its version, and the current consistency token.
|
|
8532
|
+
*
|
|
8533
|
+
* Requires scope `fga:read`. Danger: read.
|
|
8534
|
+
*
|
|
8535
|
+
* `GET /fga/schema` · action `fga.schema.get`
|
|
8536
|
+
* @scope `fga:read`
|
|
8537
|
+
* @danger read
|
|
8538
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
8539
|
+
*/
|
|
8540
|
+
get: <O extends CallOptions = CallOptions>(options?: O) => Promise<Outcome<FgaSchemaGetResponse, O>>;
|
|
8541
|
+
/**
|
|
8542
|
+
* Replace this environment's fine-grained authorization schema (types, relations and how each is decided). Changes the answer to every check at once; refused if invalid or if existing tuples would no longer fit.
|
|
8543
|
+
*
|
|
8544
|
+
* Requires scope `fga:schema`. Danger: critical.
|
|
8545
|
+
*
|
|
8546
|
+
* `PUT /fga/schema` · action `fga.schema.update`
|
|
8547
|
+
* @scope `fga:schema`
|
|
8548
|
+
* @danger critical
|
|
8549
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
8550
|
+
*/
|
|
8551
|
+
update: <O extends CallOptions = CallOptions>(body: FgaSchemaUpdateBody, options?: O) => Promise<Outcome<FgaSchemaUpdateResponse, O>>;
|
|
8552
|
+
/**
|
|
8553
|
+
* Check a fine-grained authorization schema without saving it: every error by line, or the parsed types and canonical text.
|
|
8554
|
+
*
|
|
8555
|
+
* Requires scope `fga:read`. Danger: read.
|
|
8556
|
+
*
|
|
8557
|
+
* `GET /fga/schema/validate` · action `fga.schema.validate`
|
|
8558
|
+
* @scope `fga:read`
|
|
8559
|
+
* @danger read
|
|
8560
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
8561
|
+
*/
|
|
8562
|
+
validate: <O extends CallOptions = CallOptions>(query: FgaSchemaValidateQuery, options?: O) => Promise<Outcome<FgaSchemaValidateResponse, O>>;
|
|
8563
|
+
};
|
|
8564
|
+
subjects: {
|
|
8565
|
+
/**
|
|
8566
|
+
* List the subjects of one type that have a relation on a resource (e.g. every user who can view the readme), groups and inheritance expanded; sorted ids, paged with after.
|
|
8567
|
+
*
|
|
8568
|
+
* Requires scope `fga:read`. Danger: read.
|
|
8569
|
+
*
|
|
8570
|
+
* `GET /fga/subjects` · action `fga.subjects.list`
|
|
8571
|
+
* @scope `fga:read`
|
|
8572
|
+
* @danger read
|
|
8573
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
8574
|
+
*/
|
|
8575
|
+
list: <O extends CallOptions = CallOptions>(query: FgaSubjectsListQuery, options?: O) => Promise<Outcome<FgaSubjectsListResponse, O>>;
|
|
8576
|
+
/** Every item of `fga.subjects.list`, fetching pages as the iteration reaches them. */
|
|
8577
|
+
listAll: (query?: Omit<FgaSubjectsListQuery, "after">, options?: Omit<CallOptions, "approval">) => AsyncGenerator<FgaObject, void, undefined>;
|
|
8578
|
+
};
|
|
8579
|
+
tuples: {
|
|
8580
|
+
/**
|
|
8581
|
+
* Delete 1–100 relationship tuples in one atomic batch. Revokes the access they granted, and everything inherited through them, at once.
|
|
8582
|
+
*
|
|
8583
|
+
* Requires scope `fga:write`. Danger: destructive.
|
|
8584
|
+
*
|
|
8585
|
+
* `POST /fga/tuples/delete` · action `fga.tuples.delete`
|
|
8586
|
+
* @scope `fga:write`
|
|
8587
|
+
* @danger destructive
|
|
8588
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
8589
|
+
*/
|
|
8590
|
+
delete: <O extends CallOptions = CallOptions>(body: FgaTuplesDeleteBody, options?: O) => Promise<Outcome<FgaTuplesDeleteResponse, O>>;
|
|
8591
|
+
/**
|
|
8592
|
+
* List stored relationship tuples oldest first, filtered by resource type and id, relation and subject; pass next_cursor as after to page.
|
|
8593
|
+
*
|
|
8594
|
+
* Requires scope `fga:read`. Danger: read.
|
|
8595
|
+
*
|
|
8596
|
+
* `GET /fga/tuples` · action `fga.tuples.list`
|
|
8597
|
+
* @scope `fga:read`
|
|
8598
|
+
* @danger read
|
|
8599
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
8600
|
+
*/
|
|
8601
|
+
list: <O extends CallOptions = CallOptions>(query?: FgaTuplesListQuery, options?: O) => Promise<Outcome<FgaTuplesListResponse, O>>;
|
|
8602
|
+
/** Every item of `fga.tuples.list`, fetching pages as the iteration reaches them. */
|
|
8603
|
+
listAll: (query?: Omit<FgaTuplesListQuery, "after">, options?: Omit<CallOptions, "approval">) => AsyncGenerator<FgaTuple, void, undefined>;
|
|
8604
|
+
/**
|
|
8605
|
+
* Write 1–100 relationship tuples (resource#relation@subject) in one atomic batch, each checked against the schema. Grants access at once; returns a consistency_token for checks that must see it.
|
|
8606
|
+
*
|
|
8607
|
+
* Requires scope `fga:write`. Danger: write.
|
|
8608
|
+
*
|
|
8609
|
+
* `POST /fga/tuples` · action `fga.tuples.write`
|
|
8610
|
+
* @scope `fga:write`
|
|
8611
|
+
* @danger write
|
|
8612
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
8613
|
+
*/
|
|
8614
|
+
write: <O extends CallOptions = CallOptions>(body: FgaTuplesWriteBody, options?: O) => Promise<Outcome<FgaTuplesWriteResponse, O>>;
|
|
8615
|
+
};
|
|
8616
|
+
};
|
|
6657
8617
|
readonly frontendKeys: {
|
|
6658
8618
|
/**
|
|
6659
8619
|
* Create a publishable frontend key for a browser app, usable only from the origins listed. The key is public by design.
|
|
@@ -7362,6 +9322,115 @@ declare class EnvironmentClient {
|
|
|
7362
9322
|
*/
|
|
7363
9323
|
update: <O extends CallOptions = CallOptions>(id: string, body?: PermissionsUpdateBody, options?: O) => Promise<Outcome<PermissionsUpdateResponse, O>>;
|
|
7364
9324
|
};
|
|
9325
|
+
readonly pipes: {
|
|
9326
|
+
/**
|
|
9327
|
+
* Configure a pipe: the environment's OAuth app at a third-party provider (GitHub, Google, Microsoft 365, Slack, Salesforce, HubSpot, Linear, Notion), so people can connect their accounts. The client secret is sealed and never returned.
|
|
9328
|
+
*
|
|
9329
|
+
* Requires scope `pipes:write`. Danger: write.
|
|
9330
|
+
*
|
|
9331
|
+
* `POST /pipes` · action `pipes.create`
|
|
9332
|
+
* @scope `pipes:write`
|
|
9333
|
+
* @danger write
|
|
9334
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
9335
|
+
*/
|
|
9336
|
+
create: <O extends CallOptions = CallOptions>(body: PipesCreateBody, options?: O) => Promise<Outcome<PipesCreateResponse, O>>;
|
|
9337
|
+
/**
|
|
9338
|
+
* Remove a pipe and every connection through it. Their tokens are revoked here, not at the provider — disconnect people first if that matters.
|
|
9339
|
+
*
|
|
9340
|
+
* Requires scope `pipes:write`. Danger: destructive.
|
|
9341
|
+
*
|
|
9342
|
+
* `DELETE /pipes/{id}` · action `pipes.delete`
|
|
9343
|
+
* @scope `pipes:write`
|
|
9344
|
+
* @danger destructive
|
|
9345
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
9346
|
+
*/
|
|
9347
|
+
delete: <O extends CallOptions = CallOptions>(id: string, options?: O) => Promise<Outcome<PipesDeleteResponse, O>>;
|
|
9348
|
+
/**
|
|
9349
|
+
* Show one pipe: its provider, OAuth client id, scopes, the redirect URI to register at the provider, and the apps granted its tokens.
|
|
9350
|
+
*
|
|
9351
|
+
* Requires scope `pipes:read`. Danger: read.
|
|
9352
|
+
*
|
|
9353
|
+
* `GET /pipes/{id}` · action `pipes.get`
|
|
9354
|
+
* @scope `pipes:read`
|
|
9355
|
+
* @danger read
|
|
9356
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
9357
|
+
*/
|
|
9358
|
+
get: <O extends CallOptions = CallOptions>(id: string, options?: O) => Promise<Outcome<PipesGetResponse, O>>;
|
|
9359
|
+
/**
|
|
9360
|
+
* List the pipes — the third-party providers people can connect their accounts to — with their scopes and the apps granted their tokens. Never a client secret.
|
|
9361
|
+
*
|
|
9362
|
+
* Requires scope `pipes:read`. Danger: read.
|
|
9363
|
+
*
|
|
9364
|
+
* `GET /pipes` · action `pipes.list`
|
|
9365
|
+
* @scope `pipes:read`
|
|
9366
|
+
* @danger read
|
|
9367
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
9368
|
+
*/
|
|
9369
|
+
list: <O extends CallOptions = CallOptions>(query?: PipesListQuery, options?: O) => Promise<Outcome<PipesListResponse, O>>;
|
|
9370
|
+
/** Every item of `pipes.list`, fetching pages as the iteration reaches them. */
|
|
9371
|
+
listAll: (query?: Omit<PipesListQuery, "after">, options?: Omit<CallOptions, "approval">) => AsyncGenerator<Pipe, void, undefined>;
|
|
9372
|
+
/**
|
|
9373
|
+
* Change a pipe — client id, client secret (sealed), scopes, parameters, or whether it is enabled. Only what is sent changes.
|
|
9374
|
+
*
|
|
9375
|
+
* Requires scope `pipes:write`. Danger: write.
|
|
9376
|
+
*
|
|
9377
|
+
* `PATCH /pipes/{id}` · action `pipes.update`
|
|
9378
|
+
* @scope `pipes:write`
|
|
9379
|
+
* @danger write
|
|
9380
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
9381
|
+
*/
|
|
9382
|
+
update: <O extends CallOptions = CallOptions>(id: string, body?: PipesUpdateBody, options?: O) => Promise<Outcome<PipesUpdateResponse, O>>;
|
|
9383
|
+
connections: {
|
|
9384
|
+
/**
|
|
9385
|
+
* Disconnect a person's connected account: revoke it at the provider where supported, revoke its tokens here, and forget it.
|
|
9386
|
+
*
|
|
9387
|
+
* Requires scope `pipes:write`. Danger: destructive.
|
|
9388
|
+
*
|
|
9389
|
+
* `DELETE /pipes/{id}/connections/{connection_id}` · action `pipes.connections.delete`
|
|
9390
|
+
* @scope `pipes:write`
|
|
9391
|
+
* @danger destructive
|
|
9392
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
9393
|
+
*/
|
|
9394
|
+
delete: <O extends CallOptions = CallOptions>(id: string, connectionId: string, options?: O) => Promise<Outcome<PipesConnectionsDeleteResponse, O>>;
|
|
9395
|
+
/**
|
|
9396
|
+
* List the accounts people connected through a pipe: who, which account, granted scopes, status (active / needs_reauth) and when the token expires. Never a token.
|
|
9397
|
+
*
|
|
9398
|
+
* Requires scope `pipes:read`. Danger: read.
|
|
9399
|
+
*
|
|
9400
|
+
* `GET /pipes/{id}/connections` · action `pipes.connections.list`
|
|
9401
|
+
* @scope `pipes:read`
|
|
9402
|
+
* @danger read
|
|
9403
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
9404
|
+
*/
|
|
9405
|
+
list: <O extends CallOptions = CallOptions>(id: string, query?: PipesConnectionsListQuery, options?: O) => Promise<Outcome<PipesConnectionsListResponse, O>>;
|
|
9406
|
+
/** Every item of `pipes.connections.list`, fetching pages as the iteration reaches them. */
|
|
9407
|
+
listAll: (id: string, query?: Omit<PipesConnectionsListQuery, "after">, options?: Omit<CallOptions, "approval">) => AsyncGenerator<PipeConnection, void, undefined>;
|
|
9408
|
+
};
|
|
9409
|
+
grants: {
|
|
9410
|
+
/**
|
|
9411
|
+
* Grant an app (by OAuth client id) the right to lease fresh access tokens for the accounts people connected through this pipe.
|
|
9412
|
+
*
|
|
9413
|
+
* Requires scope `pipes:write`. Danger: critical.
|
|
9414
|
+
*
|
|
9415
|
+
* `POST /pipes/{id}/grants` · action `pipes.grants.create`
|
|
9416
|
+
* @scope `pipes:write`
|
|
9417
|
+
* @danger critical
|
|
9418
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
9419
|
+
*/
|
|
9420
|
+
create: <O extends CallOptions = CallOptions>(id: string, body: PipesGrantsCreateBody, options?: O) => Promise<Outcome<PipesGrantsCreateResponse, O>>;
|
|
9421
|
+
/**
|
|
9422
|
+
* Withdraw an app's right to lease the tokens people connected through this pipe.
|
|
9423
|
+
*
|
|
9424
|
+
* Requires scope `pipes:write`. Danger: destructive.
|
|
9425
|
+
*
|
|
9426
|
+
* `DELETE /pipes/{id}/grants/{client_id}` · action `pipes.grants.delete`
|
|
9427
|
+
* @scope `pipes:write`
|
|
9428
|
+
* @danger destructive
|
|
9429
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
9430
|
+
*/
|
|
9431
|
+
delete: <O extends CallOptions = CallOptions>(id: string, clientId: string, options?: O) => Promise<Outcome<PipesGrantsDeleteResponse, O>>;
|
|
9432
|
+
};
|
|
9433
|
+
};
|
|
7365
9434
|
readonly provisioning: {
|
|
7366
9435
|
targets: {
|
|
7367
9436
|
/**
|
|
@@ -7425,6 +9494,178 @@ declare class EnvironmentClient {
|
|
|
7425
9494
|
};
|
|
7426
9495
|
};
|
|
7427
9496
|
};
|
|
9497
|
+
readonly radar: {
|
|
9498
|
+
decisions: {
|
|
9499
|
+
/**
|
|
9500
|
+
* Read one Radar decision: the verdict, whether it was enforced, the deciding rule, every rule that fired, the reasons, the risk score and the facts it was decided on.
|
|
9501
|
+
*
|
|
9502
|
+
* Requires scope `radar:read`. Danger: read.
|
|
9503
|
+
*
|
|
9504
|
+
* `GET /radar/decisions/{id}` · action `radar.decisions.get`
|
|
9505
|
+
* @scope `radar:read`
|
|
9506
|
+
* @danger read
|
|
9507
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
9508
|
+
*/
|
|
9509
|
+
get: <O extends CallOptions = CallOptions>(id: string, options?: O) => Promise<Outcome<RadarDecisionsGetResponse, O>>;
|
|
9510
|
+
/**
|
|
9511
|
+
* List this environment's Radar decisions newest first — verdict, deciding rule, every rule that fired, reasons and facts — filtered by verdict, flow, rule, country, email, IP, device or time; pass `next_cursor` as `after` to page. Email and IP are matched by keyed pseudonym and never returned.
|
|
9512
|
+
*
|
|
9513
|
+
* Requires scope `radar:read`. Danger: read.
|
|
9514
|
+
*
|
|
9515
|
+
* `GET /radar/decisions` · action `radar.decisions.list`
|
|
9516
|
+
* @scope `radar:read`
|
|
9517
|
+
* @danger read
|
|
9518
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
9519
|
+
*/
|
|
9520
|
+
list: <O extends CallOptions = CallOptions>(query?: RadarDecisionsListQuery, options?: O) => Promise<Outcome<RadarDecisionsListResponse, O>>;
|
|
9521
|
+
/** Every item of `radar.decisions.list`, fetching pages as the iteration reaches them. */
|
|
9522
|
+
listAll: (query?: Omit<RadarDecisionsListQuery, "after">, options?: Omit<CallOptions, "approval">) => AsyncGenerator<RadarDecision, void, undefined>;
|
|
9523
|
+
};
|
|
9524
|
+
lists: {
|
|
9525
|
+
/**
|
|
9526
|
+
* Add an entry to this environment's Radar allow or deny list: an IP or CIDR range, an email address, a mail domain (and its subdomains), or a device id from the decisions explorer. Deny blocks before every rule; allow skips every rule.
|
|
9527
|
+
*
|
|
9528
|
+
* Requires scope `radar:write`. Danger: write.
|
|
9529
|
+
*
|
|
9530
|
+
* `POST /radar/lists` · action `radar.lists.add`
|
|
9531
|
+
* @scope `radar:write`
|
|
9532
|
+
* @danger write
|
|
9533
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
9534
|
+
*/
|
|
9535
|
+
add: <O extends CallOptions = CallOptions>(body: RadarListsAddBody, options?: O) => Promise<Outcome<RadarListsAddResponse, O>>;
|
|
9536
|
+
/**
|
|
9537
|
+
* List this environment's Radar allow and deny entries — IPs and CIDR ranges, addresses, mail domains, devices — optionally one list or one kind.
|
|
9538
|
+
*
|
|
9539
|
+
* Requires scope `radar:read`. Danger: read.
|
|
9540
|
+
*
|
|
9541
|
+
* `GET /radar/lists` · action `radar.lists.list`
|
|
9542
|
+
* @scope `radar:read`
|
|
9543
|
+
* @danger read
|
|
9544
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
9545
|
+
*/
|
|
9546
|
+
list: <O extends CallOptions = CallOptions>(query?: RadarListsListQuery, options?: O) => Promise<Outcome<RadarListsListResponse, O>>;
|
|
9547
|
+
/** Every item of `radar.lists.list`, fetching pages as the iteration reaches them. */
|
|
9548
|
+
listAll: (query?: Omit<RadarListsListQuery, "after">, options?: Omit<CallOptions, "approval">) => AsyncGenerator<RadarListEntry, void, undefined>;
|
|
9549
|
+
/**
|
|
9550
|
+
* Remove an entry from this environment's Radar allow or deny list.
|
|
9551
|
+
*
|
|
9552
|
+
* Requires scope `radar:write`. Danger: destructive.
|
|
9553
|
+
*
|
|
9554
|
+
* `DELETE /radar/lists/{id}` · action `radar.lists.remove`
|
|
9555
|
+
* @scope `radar:write`
|
|
9556
|
+
* @danger destructive
|
|
9557
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
9558
|
+
*/
|
|
9559
|
+
remove: <O extends CallOptions = CallOptions>(id: string, options?: O) => Promise<Outcome<RadarListsRemoveResponse, O>>;
|
|
9560
|
+
};
|
|
9561
|
+
mode: {
|
|
9562
|
+
/**
|
|
9563
|
+
* Switch this environment's Radar between `monitor` (verdicts recorded, never acted on) and `enforce` (blocks refuse sign-ins and sign-ups, challenges demand a second factor). Changes the environment's security posture.
|
|
9564
|
+
*
|
|
9565
|
+
* Requires scope `radar:manage`. Danger: critical.
|
|
9566
|
+
*
|
|
9567
|
+
* `PUT /radar/mode` · action `radar.mode.set`
|
|
9568
|
+
* @scope `radar:manage`
|
|
9569
|
+
* @danger critical
|
|
9570
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
9571
|
+
*/
|
|
9572
|
+
set: <O extends CallOptions = CallOptions>(body: RadarModeSetBody, options?: O) => Promise<Outcome<RadarModeSetResponse, O>>;
|
|
9573
|
+
};
|
|
9574
|
+
rules: {
|
|
9575
|
+
/**
|
|
9576
|
+
* Add a Radar rule: when EVERY condition (field, operator, value) holds, allow, challenge or block. Rules run in order after the allow/deny lists and before the built-in rules; the first match decides. Example: country not_in [DK, SE] → challenge.
|
|
9577
|
+
*
|
|
9578
|
+
* Requires scope `radar:write`. Danger: write.
|
|
9579
|
+
*
|
|
9580
|
+
* `POST /radar/rules` · action `radar.rules.create`
|
|
9581
|
+
* @scope `radar:write`
|
|
9582
|
+
* @danger write
|
|
9583
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
9584
|
+
*/
|
|
9585
|
+
create: <O extends CallOptions = CallOptions>(body: RadarRulesCreateBody, options?: O) => Promise<Outcome<RadarRulesCreateResponse, O>>;
|
|
9586
|
+
/**
|
|
9587
|
+
* Delete a Radar rule. Attempts it decided are decided by the next matching rule, or the built-in rules, from then on.
|
|
9588
|
+
*
|
|
9589
|
+
* Requires scope `radar:write`. Danger: destructive.
|
|
9590
|
+
*
|
|
9591
|
+
* `DELETE /radar/rules/{id}` · action `radar.rules.delete`
|
|
9592
|
+
* @scope `radar:write`
|
|
9593
|
+
* @danger destructive
|
|
9594
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
9595
|
+
*/
|
|
9596
|
+
delete: <O extends CallOptions = CallOptions>(id: string, options?: O) => Promise<Outcome<RadarRulesDeleteResponse, O>>;
|
|
9597
|
+
/**
|
|
9598
|
+
* Read one Radar rule: its action, the flows it applies to, its position and its conditions.
|
|
9599
|
+
*
|
|
9600
|
+
* Requires scope `radar:read`. Danger: read.
|
|
9601
|
+
*
|
|
9602
|
+
* `GET /radar/rules/{id}` · action `radar.rules.get`
|
|
9603
|
+
* @scope `radar:read`
|
|
9604
|
+
* @danger read
|
|
9605
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
9606
|
+
*/
|
|
9607
|
+
get: <O extends CallOptions = CallOptions>(id: string, options?: O) => Promise<Outcome<RadarRulesGetResponse, O>>;
|
|
9608
|
+
/**
|
|
9609
|
+
* List this environment's own Radar rules in evaluation order (the first whose conditions all hold decides), with their conditions and a readable summary of each.
|
|
9610
|
+
*
|
|
9611
|
+
* Requires scope `radar:read`. Danger: read.
|
|
9612
|
+
*
|
|
9613
|
+
* `GET /radar/rules` · action `radar.rules.list`
|
|
9614
|
+
* @scope `radar:read`
|
|
9615
|
+
* @danger read
|
|
9616
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
9617
|
+
*/
|
|
9618
|
+
list: <O extends CallOptions = CallOptions>(query?: RadarRulesListQuery, options?: O) => Promise<Outcome<RadarRulesListResponse, O>>;
|
|
9619
|
+
/** Every item of `radar.rules.list`, fetching pages as the iteration reaches them. */
|
|
9620
|
+
listAll: (query?: Omit<RadarRulesListQuery, "after">, options?: Omit<CallOptions, "approval">) => AsyncGenerator<RadarRule, void, undefined>;
|
|
9621
|
+
/**
|
|
9622
|
+
* Set the order Radar rules are evaluated in: `rule_ids` lists every rule of the environment exactly once, first evaluated first.
|
|
9623
|
+
*
|
|
9624
|
+
* Requires scope `radar:write`. Danger: write.
|
|
9625
|
+
*
|
|
9626
|
+
* `PUT /radar/rules/order` · action `radar.rules.reorder`
|
|
9627
|
+
* @scope `radar:write`
|
|
9628
|
+
* @danger write
|
|
9629
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
9630
|
+
*/
|
|
9631
|
+
reorder: <O extends CallOptions = CallOptions>(body: RadarRulesReorderBody, options?: O) => Promise<Outcome<RadarRulesReorderResponse, O>>;
|
|
9632
|
+
/**
|
|
9633
|
+
* Change a Radar rule: its name, description, action, flows, enabled state, position, or (replaced whole) its conditions.
|
|
9634
|
+
*
|
|
9635
|
+
* Requires scope `radar:write`. Danger: write.
|
|
9636
|
+
*
|
|
9637
|
+
* `PATCH /radar/rules/{id}` · action `radar.rules.update`
|
|
9638
|
+
* @scope `radar:write`
|
|
9639
|
+
* @danger write
|
|
9640
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
9641
|
+
*/
|
|
9642
|
+
update: <O extends CallOptions = CallOptions>(id: string, body?: RadarRulesUpdateBody, options?: O) => Promise<Outcome<RadarRulesUpdateResponse, O>>;
|
|
9643
|
+
};
|
|
9644
|
+
settings: {
|
|
9645
|
+
/**
|
|
9646
|
+
* Read this environment's Radar settings: the mode (monitor or enforce, and whether it is inherited from the deployment), the IP intelligence source, and every built-in rule with its action and threshold.
|
|
9647
|
+
*
|
|
9648
|
+
* Requires scope `radar:read`. Danger: read.
|
|
9649
|
+
*
|
|
9650
|
+
* `GET /radar/settings` · action `radar.settings.get`
|
|
9651
|
+
* @scope `radar:read`
|
|
9652
|
+
* @danger read
|
|
9653
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
9654
|
+
*/
|
|
9655
|
+
get: <O extends CallOptions = CallOptions>(options?: O) => Promise<Outcome<RadarSettingsGetResponse, O>>;
|
|
9656
|
+
/**
|
|
9657
|
+
* Tune this environment's built-in Radar rules: `builtin_rules` maps a rule key (credential_stuffing, bot_velocity, account_attack, impossible_travel, new_device, anonymous_network, hosting_network, disposable_email, risk_score_reject, risk_score_elevated) to any of enabled, action and threshold.
|
|
9658
|
+
*
|
|
9659
|
+
* Requires scope `radar:write`. Danger: write.
|
|
9660
|
+
*
|
|
9661
|
+
* `PATCH /radar/settings` · action `radar.settings.update`
|
|
9662
|
+
* @scope `radar:write`
|
|
9663
|
+
* @danger write
|
|
9664
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
9665
|
+
*/
|
|
9666
|
+
update: <O extends CallOptions = CallOptions>(body: RadarSettingsUpdateBody, options?: O) => Promise<Outcome<RadarSettingsUpdateResponse, O>>;
|
|
9667
|
+
};
|
|
9668
|
+
};
|
|
7428
9669
|
readonly roles: {
|
|
7429
9670
|
/**
|
|
7430
9671
|
* Define a role for one organization, or (organization_id null) for the whole environment, optionally scoped to one app, with its opening permissions.
|
|
@@ -7592,7 +9833,7 @@ declare class EnvironmentClient {
|
|
|
7592
9833
|
*/
|
|
7593
9834
|
inherit: <O extends CallOptions = CallOptions>(organizationId: string, options?: O) => Promise<Outcome<SigninPolicyInheritResponse, O>>;
|
|
7594
9835
|
/**
|
|
7595
|
-
* Change the authentication policy of the environment baseline
|
|
9836
|
+
* Change the authentication policy of the environment baseline — including whether passkeys and magic links are offered and how long sessions last — or tighten one organization's override. Requiring SSO signs out password sessions.
|
|
7596
9837
|
*
|
|
7597
9838
|
* Requires scope `signin:write`. Danger: critical.
|
|
7598
9839
|
*
|
|
@@ -7616,6 +9857,30 @@ declare class EnvironmentClient {
|
|
|
7616
9857
|
*/
|
|
7617
9858
|
set: <O extends CallOptions = CallOptions>(body: SigninSelfServiceSignupSetBody, options?: O) => Promise<Outcome<SigninSelfServiceSignupSetResponse, O>>;
|
|
7618
9859
|
};
|
|
9860
|
+
sms: {
|
|
9861
|
+
/**
|
|
9862
|
+
* Read the SMS second-factor policy: whether text-message codes are accepted, for which countries, and the administrator rule.
|
|
9863
|
+
*
|
|
9864
|
+
* Requires scope `signin:read`. Danger: read.
|
|
9865
|
+
*
|
|
9866
|
+
* `GET /sign-in/sms` · action `signin.sms.get`
|
|
9867
|
+
* @scope `signin:read`
|
|
9868
|
+
* @danger read
|
|
9869
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
9870
|
+
*/
|
|
9871
|
+
get: <O extends CallOptions = CallOptions>(options?: O) => Promise<Outcome<SigninSmsGetResponse, O>>;
|
|
9872
|
+
/**
|
|
9873
|
+
* Change the SMS second-factor policy: accept text-message codes or not, the countries they may go to, and whether SMS may be an administrator's only factor.
|
|
9874
|
+
*
|
|
9875
|
+
* Requires scope `signin:write`. Danger: critical.
|
|
9876
|
+
*
|
|
9877
|
+
* `PATCH /sign-in/sms` · action `signin.sms.update`
|
|
9878
|
+
* @scope `signin:write`
|
|
9879
|
+
* @danger critical
|
|
9880
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
9881
|
+
*/
|
|
9882
|
+
update: <O extends CallOptions = CallOptions>(body?: SigninSmsUpdateBody, options?: O) => Promise<Outcome<SigninSmsUpdateResponse, O>>;
|
|
9883
|
+
};
|
|
7619
9884
|
social: {
|
|
7620
9885
|
/**
|
|
7621
9886
|
* Stop offering a social login provider. People who used it keep their accounts.
|
|
@@ -7629,7 +9894,40 @@ declare class EnvironmentClient {
|
|
|
7629
9894
|
*/
|
|
7630
9895
|
delete: <O extends CallOptions = CallOptions>(id: string, body?: SigninSocialDeleteBody, options?: O) => Promise<Outcome<SigninSocialDeleteResponse, O>>;
|
|
7631
9896
|
/**
|
|
7632
|
-
*
|
|
9897
|
+
* Turn a social login provider off without removing it. People who used it keep their accounts.
|
|
9898
|
+
*
|
|
9899
|
+
* Requires scope `signin:write`. Danger: critical.
|
|
9900
|
+
*
|
|
9901
|
+
* `POST /sign-in/social-providers/{id}/disable` · action `signin.social.disable`
|
|
9902
|
+
* @scope `signin:write`
|
|
9903
|
+
* @danger critical
|
|
9904
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
9905
|
+
*/
|
|
9906
|
+
disable: <O extends CallOptions = CallOptions>(id: string, body?: SigninSocialDisableBody, options?: O) => Promise<Outcome<SigninSocialDisableResponse, O>>;
|
|
9907
|
+
/**
|
|
9908
|
+
* Turn a social login provider that was turned off back on, with the credentials it already has.
|
|
9909
|
+
*
|
|
9910
|
+
* Requires scope `signin:write`. Danger: write.
|
|
9911
|
+
*
|
|
9912
|
+
* `POST /sign-in/social-providers/{id}/enable` · action `signin.social.enable`
|
|
9913
|
+
* @scope `signin:write`
|
|
9914
|
+
* @danger write
|
|
9915
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
9916
|
+
*/
|
|
9917
|
+
enable: <O extends CallOptions = CallOptions>(id: string, body?: SigninSocialEnableBody, options?: O) => Promise<Outcome<SigninSocialEnableResponse, O>>;
|
|
9918
|
+
/**
|
|
9919
|
+
* Turn one of the environment's social login providers off (or back on) for one organization's sign-in page.
|
|
9920
|
+
*
|
|
9921
|
+
* Requires scope `signin:write`. Danger: write.
|
|
9922
|
+
*
|
|
9923
|
+
* `PUT /sign-in/social-providers/inherited/{provider}` · action `signin.social.inherit`
|
|
9924
|
+
* @scope `signin:write`
|
|
9925
|
+
* @danger write
|
|
9926
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
9927
|
+
*/
|
|
9928
|
+
inherit: <O extends CallOptions = CallOptions>(provider: string, body: SigninSocialInheritBody, options?: O) => Promise<Outcome<SigninSocialInheritResponse, O>>;
|
|
9929
|
+
/**
|
|
9930
|
+
* List the social login providers (Google, GitHub, Apple…) set up in this environment — the environment's own and organizations' — optionally for one organization.
|
|
7633
9931
|
*
|
|
7634
9932
|
* Requires scope `signin:read`. Danger: read.
|
|
7635
9933
|
*
|
|
@@ -7642,7 +9940,18 @@ declare class EnvironmentClient {
|
|
|
7642
9940
|
/** Every item of `signin.social.list`, fetching pages as the iteration reaches them. */
|
|
7643
9941
|
listAll: (query?: Omit<SigninSocialListQuery, "after">, options?: Omit<CallOptions, "approval">) => AsyncGenerator<SocialProvider, void, undefined>;
|
|
7644
9942
|
/**
|
|
7645
|
-
*
|
|
9943
|
+
* The social login buttons one organization's sign-in page shows (or the plain sign-in page's), after inheritance from the environment, with where each comes from.
|
|
9944
|
+
*
|
|
9945
|
+
* Requires scope `signin:read`. Danger: read.
|
|
9946
|
+
*
|
|
9947
|
+
* `GET /sign-in/social-providers/offered` · action `signin.social.offered`
|
|
9948
|
+
* @scope `signin:read`
|
|
9949
|
+
* @danger read
|
|
9950
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
9951
|
+
*/
|
|
9952
|
+
offered: <O extends CallOptions = CallOptions>(query?: SigninSocialOfferedQuery, options?: O) => Promise<Outcome<SigninSocialOfferedResponse, O>>;
|
|
9953
|
+
/**
|
|
9954
|
+
* Enable a social login provider (Google, GitHub, Apple…) for the whole environment or for one organization, with its client credentials. The secret is never returned.
|
|
7646
9955
|
*
|
|
7647
9956
|
* Requires scope `signin:write`. Danger: critical.
|
|
7648
9957
|
*
|
|
@@ -7652,6 +9961,17 @@ declare class EnvironmentClient {
|
|
|
7652
9961
|
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
7653
9962
|
*/
|
|
7654
9963
|
set: <O extends CallOptions = CallOptions>(body: SigninSocialSetBody, options?: O) => Promise<Outcome<SigninSocialSetResponse, O>>;
|
|
9964
|
+
/**
|
|
9965
|
+
* Change a social login provider's client credentials, provider values or extra scopes. Secrets left out keep the ones on file.
|
|
9966
|
+
*
|
|
9967
|
+
* Requires scope `signin:write`. Danger: critical.
|
|
9968
|
+
*
|
|
9969
|
+
* `PATCH /sign-in/social-providers/{id}` · action `signin.social.update`
|
|
9970
|
+
* @scope `signin:write`
|
|
9971
|
+
* @danger critical
|
|
9972
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
9973
|
+
*/
|
|
9974
|
+
update: <O extends CallOptions = CallOptions>(id: string, body?: SigninSocialUpdateBody, options?: O) => Promise<Outcome<SigninSocialUpdateResponse, O>>;
|
|
7655
9975
|
};
|
|
7656
9976
|
};
|
|
7657
9977
|
readonly sodPolicies: {
|
|
@@ -8206,6 +10526,19 @@ declare class EnvironmentClient {
|
|
|
8206
10526
|
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
8207
10527
|
*/
|
|
8208
10528
|
reset: <O extends CallOptions = CallOptions>(id: string, options?: O) => Promise<Outcome<UsersMfaResetResponse, O>>;
|
|
10529
|
+
sms: {
|
|
10530
|
+
/**
|
|
10531
|
+
* Remove a user's phone number for text-message sign-in codes. Their other factors and recovery codes stay.
|
|
10532
|
+
*
|
|
10533
|
+
* Requires scope `users:write`. Danger: critical.
|
|
10534
|
+
*
|
|
10535
|
+
* `DELETE /users/{id}/mfa/sms` · action `users.mfa.sms.remove`
|
|
10536
|
+
* @scope `users:write`
|
|
10537
|
+
* @danger critical
|
|
10538
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
10539
|
+
*/
|
|
10540
|
+
remove: <O extends CallOptions = CallOptions>(id: string, options?: O) => Promise<Outcome<UsersMfaSmsRemoveResponse, O>>;
|
|
10541
|
+
};
|
|
8209
10542
|
};
|
|
8210
10543
|
passwordReset: {
|
|
8211
10544
|
/**
|
|
@@ -8507,6 +10840,8 @@ type environment_DirectoriesConnectBody = DirectoriesConnectBody;
|
|
|
8507
10840
|
type environment_DirectoriesConnectResponse = DirectoriesConnectResponse;
|
|
8508
10841
|
type environment_DirectoriesCreateBody = DirectoriesCreateBody;
|
|
8509
10842
|
type environment_DirectoriesCreateResponse = DirectoriesCreateResponse;
|
|
10843
|
+
type environment_DirectoriesCredentialsReplaceBody = DirectoriesCredentialsReplaceBody;
|
|
10844
|
+
type environment_DirectoriesCredentialsReplaceResponse = DirectoriesCredentialsReplaceResponse;
|
|
8510
10845
|
type environment_DirectoriesDeleteBody = DirectoriesDeleteBody;
|
|
8511
10846
|
type environment_DirectoriesDeleteResponse = DirectoriesDeleteResponse;
|
|
8512
10847
|
type environment_DirectoriesGetQuery = DirectoriesGetQuery;
|
|
@@ -8515,10 +10850,16 @@ type environment_DirectoriesGroupsListQuery = DirectoriesGroupsListQuery;
|
|
|
8515
10850
|
type environment_DirectoriesGroupsListResponse = DirectoriesGroupsListResponse;
|
|
8516
10851
|
type environment_DirectoriesGroupsMapBody = DirectoriesGroupsMapBody;
|
|
8517
10852
|
type environment_DirectoriesGroupsMapResponse = DirectoriesGroupsMapResponse;
|
|
10853
|
+
type environment_DirectoriesHrisConnectBody = DirectoriesHrisConnectBody;
|
|
10854
|
+
type environment_DirectoriesHrisConnectResponse = DirectoriesHrisConnectResponse;
|
|
8518
10855
|
type environment_DirectoriesListQuery = DirectoriesListQuery;
|
|
8519
10856
|
type environment_DirectoriesListResponse = DirectoriesListResponse;
|
|
8520
10857
|
type environment_DirectoriesStatusSetBody = DirectoriesStatusSetBody;
|
|
8521
10858
|
type environment_DirectoriesStatusSetResponse = DirectoriesStatusSetResponse;
|
|
10859
|
+
type environment_DirectoriesSyncBody = DirectoriesSyncBody;
|
|
10860
|
+
type environment_DirectoriesSyncResponse = DirectoriesSyncResponse;
|
|
10861
|
+
type environment_DirectoriesSyncSettingsUpdateBody = DirectoriesSyncSettingsUpdateBody;
|
|
10862
|
+
type environment_DirectoriesSyncSettingsUpdateResponse = DirectoriesSyncSettingsUpdateResponse;
|
|
8522
10863
|
type environment_DirectoriesTokenRotateBody = DirectoriesTokenRotateBody;
|
|
8523
10864
|
type environment_DirectoriesTokenRotateResponse = DirectoriesTokenRotateResponse;
|
|
8524
10865
|
type environment_DirectoriesUpdateBody = DirectoriesUpdateBody;
|
|
@@ -8537,6 +10878,47 @@ type environment_EnvironmentClientOptions = EnvironmentClientOptions;
|
|
|
8537
10878
|
type environment_ErasureReceipt = ErasureReceipt;
|
|
8538
10879
|
type environment_EventsListQuery = EventsListQuery;
|
|
8539
10880
|
type environment_EventsListResponse = EventsListResponse;
|
|
10881
|
+
type environment_FeatureFlag = FeatureFlag;
|
|
10882
|
+
type environment_FeatureFlagEvaluation = FeatureFlagEvaluation;
|
|
10883
|
+
type environment_FeatureFlagRule = FeatureFlagRule;
|
|
10884
|
+
type environment_FeatureFlagsCreateBody = FeatureFlagsCreateBody;
|
|
10885
|
+
type environment_FeatureFlagsCreateResponse = FeatureFlagsCreateResponse;
|
|
10886
|
+
type environment_FeatureFlagsDeleteResponse = FeatureFlagsDeleteResponse;
|
|
10887
|
+
type environment_FeatureFlagsEvaluateQuery = FeatureFlagsEvaluateQuery;
|
|
10888
|
+
type environment_FeatureFlagsEvaluateResponse = FeatureFlagsEvaluateResponse;
|
|
10889
|
+
type environment_FeatureFlagsGetResponse = FeatureFlagsGetResponse;
|
|
10890
|
+
type environment_FeatureFlagsListQuery = FeatureFlagsListQuery;
|
|
10891
|
+
type environment_FeatureFlagsListResponse = FeatureFlagsListResponse;
|
|
10892
|
+
type environment_FeatureFlagsUpdateBody = FeatureFlagsUpdateBody;
|
|
10893
|
+
type environment_FeatureFlagsUpdateResponse = FeatureFlagsUpdateResponse;
|
|
10894
|
+
type environment_FgaCheck = FgaCheck;
|
|
10895
|
+
type environment_FgaCheckBatch = FgaCheckBatch;
|
|
10896
|
+
type environment_FgaCheckBatchQuery = FgaCheckBatchQuery;
|
|
10897
|
+
type environment_FgaCheckBatchResponse = FgaCheckBatchResponse;
|
|
10898
|
+
type environment_FgaCheckQuery = FgaCheckQuery;
|
|
10899
|
+
type environment_FgaCheckResponse = FgaCheckResponse;
|
|
10900
|
+
type environment_FgaObject = FgaObject;
|
|
10901
|
+
type environment_FgaResourcesListQuery = FgaResourcesListQuery;
|
|
10902
|
+
type environment_FgaResourcesListResponse = FgaResourcesListResponse;
|
|
10903
|
+
type environment_FgaSchema = FgaSchema;
|
|
10904
|
+
type environment_FgaSchemaGetResponse = FgaSchemaGetResponse;
|
|
10905
|
+
type environment_FgaSchemaUpdateBody = FgaSchemaUpdateBody;
|
|
10906
|
+
type environment_FgaSchemaUpdateResponse = FgaSchemaUpdateResponse;
|
|
10907
|
+
type environment_FgaSchemaValidateQuery = FgaSchemaValidateQuery;
|
|
10908
|
+
type environment_FgaSchemaValidateResponse = FgaSchemaValidateResponse;
|
|
10909
|
+
type environment_FgaSchemaValidation = FgaSchemaValidation;
|
|
10910
|
+
type environment_FgaSubject = FgaSubject;
|
|
10911
|
+
type environment_FgaSubjectsListQuery = FgaSubjectsListQuery;
|
|
10912
|
+
type environment_FgaSubjectsListResponse = FgaSubjectsListResponse;
|
|
10913
|
+
type environment_FgaTuple = FgaTuple;
|
|
10914
|
+
type environment_FgaTupleWrite = FgaTupleWrite;
|
|
10915
|
+
type environment_FgaTuplesDeleteBody = FgaTuplesDeleteBody;
|
|
10916
|
+
type environment_FgaTuplesDeleteResponse = FgaTuplesDeleteResponse;
|
|
10917
|
+
type environment_FgaTuplesListQuery = FgaTuplesListQuery;
|
|
10918
|
+
type environment_FgaTuplesListResponse = FgaTuplesListResponse;
|
|
10919
|
+
type environment_FgaTuplesWriteBody = FgaTuplesWriteBody;
|
|
10920
|
+
type environment_FgaTuplesWriteResponse = FgaTuplesWriteResponse;
|
|
10921
|
+
type environment_FgaType = FgaType;
|
|
8540
10922
|
type environment_FrontendKey = FrontendKey;
|
|
8541
10923
|
type environment_FrontendKeysCreateBody = FrontendKeysCreateBody;
|
|
8542
10924
|
type environment_FrontendKeysCreateResponse = FrontendKeysCreateResponse;
|
|
@@ -8601,6 +10983,7 @@ type environment_MembersRolesRevokeResponse = MembersRolesRevokeResponse;
|
|
|
8601
10983
|
type environment_MembersUpdateBody = MembersUpdateBody;
|
|
8602
10984
|
type environment_MembersUpdateResponse = MembersUpdateResponse;
|
|
8603
10985
|
type environment_OAuthClientError = OAuthClientError;
|
|
10986
|
+
type environment_OfferedSocialProviders = OfferedSocialProviders;
|
|
8604
10987
|
type environment_OrganizationDomain = OrganizationDomain;
|
|
8605
10988
|
type environment_OrganizationsDeleteResponse = OrganizationsDeleteResponse;
|
|
8606
10989
|
type environment_OrganizationsDomainsAddBody = OrganizationsDomainsAddBody;
|
|
@@ -8631,6 +11014,23 @@ type environment_PermissionsListQuery = PermissionsListQuery;
|
|
|
8631
11014
|
type environment_PermissionsListResponse = PermissionsListResponse;
|
|
8632
11015
|
type environment_PermissionsUpdateBody = PermissionsUpdateBody;
|
|
8633
11016
|
type environment_PermissionsUpdateResponse = PermissionsUpdateResponse;
|
|
11017
|
+
type environment_Pipe = Pipe;
|
|
11018
|
+
type environment_PipeConnectRequired = PipeConnectRequired;
|
|
11019
|
+
type environment_PipeConnection = PipeConnection;
|
|
11020
|
+
type environment_PipesConnectionsDeleteResponse = PipesConnectionsDeleteResponse;
|
|
11021
|
+
type environment_PipesConnectionsListQuery = PipesConnectionsListQuery;
|
|
11022
|
+
type environment_PipesConnectionsListResponse = PipesConnectionsListResponse;
|
|
11023
|
+
type environment_PipesCreateBody = PipesCreateBody;
|
|
11024
|
+
type environment_PipesCreateResponse = PipesCreateResponse;
|
|
11025
|
+
type environment_PipesDeleteResponse = PipesDeleteResponse;
|
|
11026
|
+
type environment_PipesGetResponse = PipesGetResponse;
|
|
11027
|
+
type environment_PipesGrantsCreateBody = PipesGrantsCreateBody;
|
|
11028
|
+
type environment_PipesGrantsCreateResponse = PipesGrantsCreateResponse;
|
|
11029
|
+
type environment_PipesGrantsDeleteResponse = PipesGrantsDeleteResponse;
|
|
11030
|
+
type environment_PipesListQuery = PipesListQuery;
|
|
11031
|
+
type environment_PipesListResponse = PipesListResponse;
|
|
11032
|
+
type environment_PipesUpdateBody = PipesUpdateBody;
|
|
11033
|
+
type environment_PipesUpdateResponse = PipesUpdateResponse;
|
|
8634
11034
|
type environment_PortalLink = PortalLink;
|
|
8635
11035
|
type environment_PortalLinkRecord = PortalLinkRecord;
|
|
8636
11036
|
type environment_ProvisioningTarget = ProvisioningTarget;
|
|
@@ -8644,6 +11044,33 @@ type environment_ProvisioningTargetsListQuery = ProvisioningTargetsListQuery;
|
|
|
8644
11044
|
type environment_ProvisioningTargetsListResponse = ProvisioningTargetsListResponse;
|
|
8645
11045
|
type environment_ProvisioningTargetsStatusSetBody = ProvisioningTargetsStatusSetBody;
|
|
8646
11046
|
type environment_ProvisioningTargetsStatusSetResponse = ProvisioningTargetsStatusSetResponse;
|
|
11047
|
+
type environment_RadarDecision = RadarDecision;
|
|
11048
|
+
type environment_RadarDecisionsGetResponse = RadarDecisionsGetResponse;
|
|
11049
|
+
type environment_RadarDecisionsListQuery = RadarDecisionsListQuery;
|
|
11050
|
+
type environment_RadarDecisionsListResponse = RadarDecisionsListResponse;
|
|
11051
|
+
type environment_RadarListEntry = RadarListEntry;
|
|
11052
|
+
type environment_RadarListsAddBody = RadarListsAddBody;
|
|
11053
|
+
type environment_RadarListsAddResponse = RadarListsAddResponse;
|
|
11054
|
+
type environment_RadarListsListQuery = RadarListsListQuery;
|
|
11055
|
+
type environment_RadarListsListResponse = RadarListsListResponse;
|
|
11056
|
+
type environment_RadarListsRemoveResponse = RadarListsRemoveResponse;
|
|
11057
|
+
type environment_RadarModeSetBody = RadarModeSetBody;
|
|
11058
|
+
type environment_RadarModeSetResponse = RadarModeSetResponse;
|
|
11059
|
+
type environment_RadarRule = RadarRule;
|
|
11060
|
+
type environment_RadarRulesCreateBody = RadarRulesCreateBody;
|
|
11061
|
+
type environment_RadarRulesCreateResponse = RadarRulesCreateResponse;
|
|
11062
|
+
type environment_RadarRulesDeleteResponse = RadarRulesDeleteResponse;
|
|
11063
|
+
type environment_RadarRulesGetResponse = RadarRulesGetResponse;
|
|
11064
|
+
type environment_RadarRulesListQuery = RadarRulesListQuery;
|
|
11065
|
+
type environment_RadarRulesListResponse = RadarRulesListResponse;
|
|
11066
|
+
type environment_RadarRulesReorderBody = RadarRulesReorderBody;
|
|
11067
|
+
type environment_RadarRulesReorderResponse = RadarRulesReorderResponse;
|
|
11068
|
+
type environment_RadarRulesUpdateBody = RadarRulesUpdateBody;
|
|
11069
|
+
type environment_RadarRulesUpdateResponse = RadarRulesUpdateResponse;
|
|
11070
|
+
type environment_RadarSettings = RadarSettings;
|
|
11071
|
+
type environment_RadarSettingsGetResponse = RadarSettingsGetResponse;
|
|
11072
|
+
type environment_RadarSettingsUpdateBody = RadarSettingsUpdateBody;
|
|
11073
|
+
type environment_RadarSettingsUpdateResponse = RadarSettingsUpdateResponse;
|
|
8647
11074
|
type environment_Role = Role;
|
|
8648
11075
|
type environment_RoleAssignment = RoleAssignment;
|
|
8649
11076
|
type environment_RolesCreateBody = RolesCreateBody;
|
|
@@ -8668,6 +11095,7 @@ type environment_SamlAppsUpdateBody = SamlAppsUpdateBody;
|
|
|
8668
11095
|
type environment_SamlAppsUpdateResponse = SamlAppsUpdateResponse;
|
|
8669
11096
|
type environment_SamlMetadata = SamlMetadata;
|
|
8670
11097
|
type environment_SelfServiceSignup = SelfServiceSignup;
|
|
11098
|
+
type environment_SignInMethodsInForce = SignInMethodsInForce;
|
|
8671
11099
|
type environment_SignInPolicy = SignInPolicy;
|
|
8672
11100
|
type environment_SignInRules = SignInRules;
|
|
8673
11101
|
type environment_SigninPolicyGetQuery = SigninPolicyGetQuery;
|
|
@@ -8677,12 +11105,26 @@ type environment_SigninPolicyUpdateBody = SigninPolicyUpdateBody;
|
|
|
8677
11105
|
type environment_SigninPolicyUpdateResponse = SigninPolicyUpdateResponse;
|
|
8678
11106
|
type environment_SigninSelfServiceSignupSetBody = SigninSelfServiceSignupSetBody;
|
|
8679
11107
|
type environment_SigninSelfServiceSignupSetResponse = SigninSelfServiceSignupSetResponse;
|
|
11108
|
+
type environment_SigninSmsGetResponse = SigninSmsGetResponse;
|
|
11109
|
+
type environment_SigninSmsUpdateBody = SigninSmsUpdateBody;
|
|
11110
|
+
type environment_SigninSmsUpdateResponse = SigninSmsUpdateResponse;
|
|
8680
11111
|
type environment_SigninSocialDeleteBody = SigninSocialDeleteBody;
|
|
8681
11112
|
type environment_SigninSocialDeleteResponse = SigninSocialDeleteResponse;
|
|
11113
|
+
type environment_SigninSocialDisableBody = SigninSocialDisableBody;
|
|
11114
|
+
type environment_SigninSocialDisableResponse = SigninSocialDisableResponse;
|
|
11115
|
+
type environment_SigninSocialEnableBody = SigninSocialEnableBody;
|
|
11116
|
+
type environment_SigninSocialEnableResponse = SigninSocialEnableResponse;
|
|
11117
|
+
type environment_SigninSocialInheritBody = SigninSocialInheritBody;
|
|
11118
|
+
type environment_SigninSocialInheritResponse = SigninSocialInheritResponse;
|
|
8682
11119
|
type environment_SigninSocialListQuery = SigninSocialListQuery;
|
|
8683
11120
|
type environment_SigninSocialListResponse = SigninSocialListResponse;
|
|
11121
|
+
type environment_SigninSocialOfferedQuery = SigninSocialOfferedQuery;
|
|
11122
|
+
type environment_SigninSocialOfferedResponse = SigninSocialOfferedResponse;
|
|
8684
11123
|
type environment_SigninSocialSetBody = SigninSocialSetBody;
|
|
8685
11124
|
type environment_SigninSocialSetResponse = SigninSocialSetResponse;
|
|
11125
|
+
type environment_SigninSocialUpdateBody = SigninSocialUpdateBody;
|
|
11126
|
+
type environment_SigninSocialUpdateResponse = SigninSocialUpdateResponse;
|
|
11127
|
+
type environment_SmsFactorPolicy = SmsFactorPolicy;
|
|
8686
11128
|
type environment_SocialProvider = SocialProvider;
|
|
8687
11129
|
type environment_SodPoliciesCreateBody = SodPoliciesCreateBody;
|
|
8688
11130
|
type environment_SodPoliciesCreateResponse = SodPoliciesCreateResponse;
|
|
@@ -8769,6 +11211,7 @@ type environment_UsersGetResponse = UsersGetResponse;
|
|
|
8769
11211
|
type environment_UsersListQuery = UsersListQuery;
|
|
8770
11212
|
type environment_UsersListResponse = UsersListResponse;
|
|
8771
11213
|
type environment_UsersMfaResetResponse = UsersMfaResetResponse;
|
|
11214
|
+
type environment_UsersMfaSmsRemoveResponse = UsersMfaSmsRemoveResponse;
|
|
8772
11215
|
type environment_UsersPasswordResetSendResponse = UsersPasswordResetSendResponse;
|
|
8773
11216
|
type environment_UsersPasswordSetBody = UsersPasswordSetBody;
|
|
8774
11217
|
type environment_UsersPasswordSetResponse = UsersPasswordSetResponse;
|
|
@@ -8798,7 +11241,7 @@ type environment_WebhooksUpdateResponse = WebhooksUpdateResponse;
|
|
|
8798
11241
|
type environment_WhitelabelBranding = WhitelabelBranding;
|
|
8799
11242
|
declare const environment_environmentOperations: typeof environmentOperations;
|
|
8800
11243
|
declare namespace environment {
|
|
8801
|
-
export { type environment_AccessReview as AccessReview, type environment_AccessReviewItem as AccessReviewItem, type environment_AccessReviewsCloseBody as AccessReviewsCloseBody, type environment_AccessReviewsCloseResponse as AccessReviewsCloseResponse, type environment_AccessReviewsCreateBody as AccessReviewsCreateBody, type environment_AccessReviewsCreateResponse as AccessReviewsCreateResponse, type environment_AccessReviewsGetQuery as AccessReviewsGetQuery, type environment_AccessReviewsGetResponse as AccessReviewsGetResponse, type environment_AccessReviewsItemsDecideBody as AccessReviewsItemsDecideBody, type environment_AccessReviewsItemsDecideResponse as AccessReviewsItemsDecideResponse, type environment_AccessReviewsItemsListQuery as AccessReviewsItemsListQuery, type environment_AccessReviewsItemsListResponse as AccessReviewsItemsListResponse, type environment_AccessReviewsListQuery as AccessReviewsListQuery, type environment_AccessReviewsListResponse as AccessReviewsListResponse, type ActionApprovalsGetResponse$3 as ActionApprovalsGetResponse, type environment_AgentRequest as AgentRequest, type environment_Api as Api, type environment_ApiKey as ApiKey, type environment_ApiKeyVerification as ApiKeyVerification, type environment_ApiKeyVerificationRequest as ApiKeyVerificationRequest, type environment_ApiKeysListQuery as ApiKeysListQuery, type environment_ApiKeysListResponse as ApiKeysListResponse, type ApiKeysRevokeResponse$1 as ApiKeysRevokeResponse, type environment_ApiScope as ApiScope, type environment_ApisCreateBody as ApisCreateBody, type environment_ApisCreateResponse as ApisCreateResponse, type environment_ApisDeleteResponse as ApisDeleteResponse, type environment_ApisGetResponse as ApisGetResponse, type environment_ApisListQuery as ApisListQuery, type environment_ApisListResponse as ApisListResponse, type environment_ApisScopesDefineBody as ApisScopesDefineBody, type environment_ApisScopesDefineResponse as ApisScopesDefineResponse, type environment_ApisScopesRemoveResponse as ApisScopesRemoveResponse, type environment_ApisUpdateBody as ApisUpdateBody, type environment_ApisUpdateResponse as ApisUpdateResponse, type environment_App as App, type environment_AppBlueprint as AppBlueprint, type environment_AppSecret as AppSecret, type environment_Appearance as Appearance, type environment_Approval as Approval, type environment_ApprovalDecision as ApprovalDecision, type environment_ApprovalsDenyResponse as ApprovalsDenyResponse, type environment_ApprovalsListQuery as ApprovalsListQuery, type environment_ApprovalsListResponse as ApprovalsListResponse, type environment_AppsBlueprintResponse as AppsBlueprintResponse, type environment_AppsCopyBody as AppsCopyBody, type environment_AppsCopyResponse as AppsCopyResponse, type environment_AppsCreateBody as AppsCreateBody, type environment_AppsCreateResponse as AppsCreateResponse, type environment_AppsDeleteResponse as AppsDeleteResponse, type environment_AppsGetResponse as AppsGetResponse, type environment_AppsListQuery as AppsListQuery, type environment_AppsListResponse as AppsListResponse, type environment_AppsManifestSetBody as AppsManifestSetBody, type environment_AppsManifestSetResponse as AppsManifestSetResponse, type environment_AppsManifestSyncResponse as AppsManifestSyncResponse, type environment_AppsScopesSetBody as AppsScopesSetBody, type environment_AppsScopesSetResponse as AppsScopesSetResponse, type environment_AppsSecretsListResponse as AppsSecretsListResponse, type environment_AppsSecretsRevokeResponse as AppsSecretsRevokeResponse, type environment_AppsSecretsRotateBody as AppsSecretsRotateBody, type environment_AppsSecretsRotateResponse as AppsSecretsRotateResponse, type environment_AppsSettingsApiKeyPrefixBody as AppsSettingsApiKeyPrefixBody, type environment_AppsSettingsApiKeyPrefixResponse as AppsSettingsApiKeyPrefixResponse, type environment_AppsSettingsBackchannelLogoutBody as AppsSettingsBackchannelLogoutBody, type environment_AppsSettingsBackchannelLogoutResponse as AppsSettingsBackchannelLogoutResponse, type environment_AppsSettingsTokenExchangeBody as AppsSettingsTokenExchangeBody, type environment_AppsSettingsTokenExchangeResponse as AppsSettingsTokenExchangeResponse, type environment_AppsSettingsTokenLifetimeBody as AppsSettingsTokenLifetimeBody, type environment_AppsSettingsTokenLifetimeResponse as AppsSettingsTokenLifetimeResponse, type environment_AppsUpdateBody as AppsUpdateBody, type environment_AppsUpdateResponse as AppsUpdateResponse, type environment_AssignableMemberRole as AssignableMemberRole, type environment_AuditEntry as AuditEntry, type environment_AuditListQuery as AuditListQuery, type environment_AuditListResponse as AuditListResponse, type environment_AuditLogEvent as AuditLogEvent, type environment_AuditLogEventBatch as AuditLogEventBatch, type environment_AuditLogExport as AuditLogExport, type environment_AuditLogSchema as AuditLogSchema, type environment_AuditLogSettings as AuditLogSettings, type environment_AuditLogVerification as AuditLogVerification, type environment_AuditLogsEventsCreateBody as AuditLogsEventsCreateBody, type environment_AuditLogsEventsCreateResponse as AuditLogsEventsCreateResponse, type environment_AuditLogsEventsListQuery as AuditLogsEventsListQuery, type environment_AuditLogsEventsListResponse as AuditLogsEventsListResponse, type environment_AuditLogsExportsCreateBody as AuditLogsExportsCreateBody, type environment_AuditLogsExportsCreateResponse as AuditLogsExportsCreateResponse, type environment_AuditLogsExportsGetResponse as AuditLogsExportsGetResponse, type environment_AuditLogsSchemasCreateBody as AuditLogsSchemasCreateBody, type environment_AuditLogsSchemasCreateResponse as AuditLogsSchemasCreateResponse, type environment_AuditLogsSchemasDeleteResponse as AuditLogsSchemasDeleteResponse, type environment_AuditLogsSchemasGetResponse as AuditLogsSchemasGetResponse, type environment_AuditLogsSchemasListQuery as AuditLogsSchemasListQuery, type environment_AuditLogsSchemasListResponse as AuditLogsSchemasListResponse, type environment_AuditLogsSchemasUpdateBody as AuditLogsSchemasUpdateBody, type environment_AuditLogsSchemasUpdateResponse as AuditLogsSchemasUpdateResponse, type environment_AuditLogsSettingsGetResponse as AuditLogsSettingsGetResponse, type environment_AuditLogsSettingsUpdateBody as AuditLogsSettingsUpdateBody, type environment_AuditLogsSettingsUpdateResponse as AuditLogsSettingsUpdateResponse, type environment_AuditLogsVerifyQuery as AuditLogsVerifyQuery, type environment_AuditLogsVerifyResponse as AuditLogsVerifyResponse, type environment_BearerChallenge as BearerChallenge, type environment_BrandingAppearanceGetQuery as BrandingAppearanceGetQuery, type environment_BrandingAppearanceGetResponse as BrandingAppearanceGetResponse, type environment_BrandingAppearanceSetBody as BrandingAppearanceSetBody, type environment_BrandingAppearanceSetResponse as BrandingAppearanceSetResponse, type environment_BrandingWhitelabelGetQuery as BrandingWhitelabelGetQuery, type environment_BrandingWhitelabelGetResponse as BrandingWhitelabelGetResponse, type environment_BrandingWhitelabelSetBody as BrandingWhitelabelSetBody, type environment_BrandingWhitelabelSetResponse as BrandingWhitelabelSetResponse, type CustomDomain$1 as CustomDomain, type environment_Device as Device, type environment_DirectoriesConnectBody as DirectoriesConnectBody, type environment_DirectoriesConnectResponse as DirectoriesConnectResponse, type environment_DirectoriesCreateBody as DirectoriesCreateBody, type environment_DirectoriesCreateResponse as DirectoriesCreateResponse, type environment_DirectoriesDeleteBody as DirectoriesDeleteBody, type environment_DirectoriesDeleteResponse as DirectoriesDeleteResponse, type environment_DirectoriesGetQuery as DirectoriesGetQuery, type environment_DirectoriesGetResponse as DirectoriesGetResponse, type environment_DirectoriesGroupsListQuery as DirectoriesGroupsListQuery, type environment_DirectoriesGroupsListResponse as DirectoriesGroupsListResponse, type environment_DirectoriesGroupsMapBody as DirectoriesGroupsMapBody, type environment_DirectoriesGroupsMapResponse as DirectoriesGroupsMapResponse, type environment_DirectoriesListQuery as DirectoriesListQuery, type environment_DirectoriesListResponse as DirectoriesListResponse, type environment_DirectoriesStatusSetBody as DirectoriesStatusSetBody, type environment_DirectoriesStatusSetResponse as DirectoriesStatusSetResponse, type environment_DirectoriesTokenRotateBody as DirectoriesTokenRotateBody, type environment_DirectoriesTokenRotateResponse as DirectoriesTokenRotateResponse, type environment_DirectoriesUpdateBody as DirectoriesUpdateBody, type environment_DirectoriesUpdateResponse as DirectoriesUpdateResponse, type environment_Directory as Directory, type environment_DirectoryGroup as DirectoryGroup, type environment_DomainEvent as DomainEvent, type environment_DomainsAddBody as DomainsAddBody, type environment_DomainsAddResponse as DomainsAddResponse, type environment_DomainsGetResponse as DomainsGetResponse, type environment_DomainsRemoveResponse as DomainsRemoveResponse, type environment_DomainsVerifyResponse as DomainsVerifyResponse, environment_EnvironmentClient as EnvironmentClient, type environment_EnvironmentClientOptions as EnvironmentClientOptions, type environment_ErasureReceipt as ErasureReceipt, type ErrorSchema$3 as ErrorSchema, type environment_EventsListQuery as EventsListQuery, type environment_EventsListResponse as EventsListResponse, type environment_FrontendKey as FrontendKey, type environment_FrontendKeysCreateBody as FrontendKeysCreateBody, type environment_FrontendKeysCreateResponse as FrontendKeysCreateResponse, type environment_FrontendKeysListQuery as FrontendKeysListQuery, type environment_FrontendKeysListResponse as FrontendKeysListResponse, type environment_FrontendKeysRevokeResponse as FrontendKeysRevokeResponse, type environment_FrontendKeysSetOriginsBody as FrontendKeysSetOriginsBody, type environment_FrontendKeysSetOriginsResponse as FrontendKeysSetOriginsResponse, type environment_HooksCreateBody as HooksCreateBody, type environment_HooksCreateResponse as HooksCreateResponse, type environment_HooksDeleteResponse as HooksDeleteResponse, type environment_HooksGetResponse as HooksGetResponse, type environment_HooksListQuery as HooksListQuery, type environment_HooksListResponse as HooksListResponse, type environment_HooksUpdateBody as HooksUpdateBody, type environment_HooksUpdateResponse as HooksUpdateResponse, type environment_InlineHook as InlineHook, type environment_Invitation as Invitation, type environment_InvitationsListQuery as InvitationsListQuery, type environment_InvitationsListResponse as InvitationsListResponse, type environment_InvitationsResendResponse as InvitationsResendResponse, type environment_InvitationsRevokeResponse as InvitationsRevokeResponse, type environment_InvitationsSendBody as InvitationsSendBody, type environment_InvitationsSendResponse as InvitationsSendResponse, type environment_KeysCreateBody as KeysCreateBody, type environment_KeysCreateResponse as KeysCreateResponse, type environment_KeysListQuery as KeysListQuery, type environment_KeysListResponse as KeysListResponse, type environment_KeysRevokeResponse as KeysRevokeResponse, type environment_KeysRotateBody as KeysRotateBody, type environment_KeysRotateResponse as KeysRotateResponse, type environment_LegacyLogin as LegacyLogin, type environment_LegacyLoginApproveResponse as LegacyLoginApproveResponse, type environment_LegacyLoginGetResponse as LegacyLoginGetResponse, type environment_LegacyLoginProbe as LegacyLoginProbe, type environment_LegacyLoginProbeBody as LegacyLoginProbeBody, type environment_LegacyLoginProbeResponse as LegacyLoginProbeResponse, type environment_LegacyLoginRevokeResponse as LegacyLoginRevokeResponse, type environment_LogStream as LogStream, type environment_LogStreamTest as LogStreamTest, type environment_LogStreamsCreateBody as LogStreamsCreateBody, type environment_LogStreamsCreateResponse as LogStreamsCreateResponse, type environment_LogStreamsDeleteResponse as LogStreamsDeleteResponse, type environment_LogStreamsGetResponse as LogStreamsGetResponse, type environment_LogStreamsListQuery as LogStreamsListQuery, type environment_LogStreamsListResponse as LogStreamsListResponse, type environment_LogStreamsTestResponse as LogStreamsTestResponse, type environment_LogStreamsUpdateBody as LogStreamsUpdateBody, type environment_LogStreamsUpdateResponse as LogStreamsUpdateResponse, type environment_ManagementKey as ManagementKey, type environment_ManifestSync as ManifestSync, type Member$1 as Member, type environment_MembersAddBody as MembersAddBody, type environment_MembersAddResponse as MembersAddResponse, type environment_MembersListQuery as MembersListQuery, type environment_MembersListResponse as MembersListResponse, type environment_MembersRemoveResponse as MembersRemoveResponse, type environment_MembersRolesGrantQuery as MembersRolesGrantQuery, type environment_MembersRolesGrantResponse as MembersRolesGrantResponse, type environment_MembersRolesListResponse as MembersRolesListResponse, type environment_MembersRolesRevokeQuery as MembersRolesRevokeQuery, type environment_MembersRolesRevokeResponse as MembersRolesRevokeResponse, type environment_MembersUpdateBody as MembersUpdateBody, type environment_MembersUpdateResponse as MembersUpdateResponse, type environment_OAuthClientError as OAuthClientError, type Organization$1 as Organization, type environment_OrganizationDomain as OrganizationDomain, type OrganizationsCreateBody$1 as OrganizationsCreateBody, type OrganizationsCreateResponse$1 as OrganizationsCreateResponse, type environment_OrganizationsDeleteResponse as OrganizationsDeleteResponse, type environment_OrganizationsDomainsAddBody as OrganizationsDomainsAddBody, type environment_OrganizationsDomainsAddResponse as OrganizationsDomainsAddResponse, type environment_OrganizationsDomainsCaptureBody as OrganizationsDomainsCaptureBody, type environment_OrganizationsDomainsCaptureResponse as OrganizationsDomainsCaptureResponse, type environment_OrganizationsDomainsListResponse as OrganizationsDomainsListResponse, type environment_OrganizationsDomainsRemoveResponse as OrganizationsDomainsRemoveResponse, type environment_OrganizationsDomainsVerifyResponse as OrganizationsDomainsVerifyResponse, type environment_OrganizationsGetResponse as OrganizationsGetResponse, type environment_OrganizationsListQuery as OrganizationsListQuery, type environment_OrganizationsListResponse as OrganizationsListResponse, type environment_OrganizationsPortalLinksCreateBody as OrganizationsPortalLinksCreateBody, type environment_OrganizationsPortalLinksCreateResponse as OrganizationsPortalLinksCreateResponse, type environment_OrganizationsPortalLinksListResponse as OrganizationsPortalLinksListResponse, type environment_OrganizationsPortalLinksRevokeResponse as OrganizationsPortalLinksRevokeResponse, type environment_OrganizationsReactivateResponse as OrganizationsReactivateResponse, type environment_OrganizationsSuspendResponse as OrganizationsSuspendResponse, type environment_OrganizationsTransferOwnershipBody as OrganizationsTransferOwnershipBody, type environment_OrganizationsTransferOwnershipResponse as OrganizationsTransferOwnershipResponse, type environment_OrganizationsUpdateBody as OrganizationsUpdateBody, type environment_OrganizationsUpdateResponse as OrganizationsUpdateResponse, type PageMeta$1 as PageMeta, type environment_Permission as Permission, type environment_PermissionsCreateBody as PermissionsCreateBody, type environment_PermissionsCreateResponse as PermissionsCreateResponse, type environment_PermissionsDeleteResponse as PermissionsDeleteResponse, type environment_PermissionsListQuery as PermissionsListQuery, type environment_PermissionsListResponse as PermissionsListResponse, type environment_PermissionsUpdateBody as PermissionsUpdateBody, type environment_PermissionsUpdateResponse as PermissionsUpdateResponse, type environment_PortalLink as PortalLink, type environment_PortalLinkRecord as PortalLinkRecord, type environment_ProvisioningTarget as ProvisioningTarget, type environment_ProvisioningTargetsCreateBody as ProvisioningTargetsCreateBody, type environment_ProvisioningTargetsCreateResponse as ProvisioningTargetsCreateResponse, type environment_ProvisioningTargetsDeleteBody as ProvisioningTargetsDeleteBody, type environment_ProvisioningTargetsDeleteResponse as ProvisioningTargetsDeleteResponse, type environment_ProvisioningTargetsGetQuery as ProvisioningTargetsGetQuery, type environment_ProvisioningTargetsGetResponse as ProvisioningTargetsGetResponse, type environment_ProvisioningTargetsListQuery as ProvisioningTargetsListQuery, type environment_ProvisioningTargetsListResponse as ProvisioningTargetsListResponse, type environment_ProvisioningTargetsStatusSetBody as ProvisioningTargetsStatusSetBody, type environment_ProvisioningTargetsStatusSetResponse as ProvisioningTargetsStatusSetResponse, type environment_Role as Role, type environment_RoleAssignment as RoleAssignment, type environment_RolesCreateBody as RolesCreateBody, type environment_RolesCreateResponse as RolesCreateResponse, type environment_RolesDeleteResponse as RolesDeleteResponse, type environment_RolesGetQuery as RolesGetQuery, type environment_RolesGetResponse as RolesGetResponse, type environment_RolesListQuery as RolesListQuery, type environment_RolesListResponse as RolesListResponse, type environment_RolesPermissionsGrantResponse as RolesPermissionsGrantResponse, type environment_RolesPermissionsRevokeResponse as RolesPermissionsRevokeResponse, type environment_RolesUpdateBody as RolesUpdateBody, type environment_RolesUpdateResponse as RolesUpdateResponse, type environment_SamlApp as SamlApp, type environment_SamlAppsCreateBody as SamlAppsCreateBody, type environment_SamlAppsCreateResponse as SamlAppsCreateResponse, type environment_SamlAppsDeleteResponse as SamlAppsDeleteResponse, type environment_SamlAppsGetResponse as SamlAppsGetResponse, type environment_SamlAppsListQuery as SamlAppsListQuery, type environment_SamlAppsListResponse as SamlAppsListResponse, type environment_SamlAppsUpdateBody as SamlAppsUpdateBody, type environment_SamlAppsUpdateResponse as SamlAppsUpdateResponse, type environment_SamlMetadata as SamlMetadata, type environment_SelfServiceSignup as SelfServiceSignup, type environment_SignInPolicy as SignInPolicy, type environment_SignInRules as SignInRules, type environment_SigninPolicyGetQuery as SigninPolicyGetQuery, type environment_SigninPolicyGetResponse as SigninPolicyGetResponse, type environment_SigninPolicyInheritResponse as SigninPolicyInheritResponse, type environment_SigninPolicyUpdateBody as SigninPolicyUpdateBody, type environment_SigninPolicyUpdateResponse as SigninPolicyUpdateResponse, type environment_SigninSelfServiceSignupSetBody as SigninSelfServiceSignupSetBody, type environment_SigninSelfServiceSignupSetResponse as SigninSelfServiceSignupSetResponse, type environment_SigninSocialDeleteBody as SigninSocialDeleteBody, type environment_SigninSocialDeleteResponse as SigninSocialDeleteResponse, type environment_SigninSocialListQuery as SigninSocialListQuery, type environment_SigninSocialListResponse as SigninSocialListResponse, type environment_SigninSocialSetBody as SigninSocialSetBody, type environment_SigninSocialSetResponse as SigninSocialSetResponse, type environment_SocialProvider as SocialProvider, type environment_SodPoliciesCreateBody as SodPoliciesCreateBody, type environment_SodPoliciesCreateResponse as SodPoliciesCreateResponse, type environment_SodPoliciesDeleteBody as SodPoliciesDeleteBody, type environment_SodPoliciesDeleteResponse as SodPoliciesDeleteResponse, type environment_SodPoliciesGetQuery as SodPoliciesGetQuery, type environment_SodPoliciesGetResponse as SodPoliciesGetResponse, type environment_SodPoliciesListQuery as SodPoliciesListQuery, type environment_SodPoliciesListResponse as SodPoliciesListResponse, type environment_SodPoliciesStatusSetBody as SodPoliciesStatusSetBody, type environment_SodPoliciesStatusSetResponse as SodPoliciesStatusSetResponse, type environment_SodPolicy as SodPolicy, type environment_SsoCertificates as SsoCertificates, type environment_SsoConnection as SsoConnection, type environment_SsoConnectionsActivateBody as SsoConnectionsActivateBody, type environment_SsoConnectionsActivateResponse as SsoConnectionsActivateResponse, type environment_SsoConnectionsCertificatesActivateBody as SsoConnectionsCertificatesActivateBody, type environment_SsoConnectionsCertificatesActivateResponse as SsoConnectionsCertificatesActivateResponse, type environment_SsoConnectionsCertificatesListQuery as SsoConnectionsCertificatesListQuery, type environment_SsoConnectionsCertificatesListResponse as SsoConnectionsCertificatesListResponse, type environment_SsoConnectionsCertificatesStageBody as SsoConnectionsCertificatesStageBody, type environment_SsoConnectionsCertificatesStageResponse as SsoConnectionsCertificatesStageResponse, type environment_SsoConnectionsCreateBody as SsoConnectionsCreateBody, type environment_SsoConnectionsCreateResponse as SsoConnectionsCreateResponse, type environment_SsoConnectionsDeleteBody as SsoConnectionsDeleteBody, type environment_SsoConnectionsDeleteResponse as SsoConnectionsDeleteResponse, type environment_SsoConnectionsDisableBody as SsoConnectionsDisableBody, type environment_SsoConnectionsDisableResponse as SsoConnectionsDisableResponse, type environment_SsoConnectionsGetQuery as SsoConnectionsGetQuery, type environment_SsoConnectionsGetResponse as SsoConnectionsGetResponse, type environment_SsoConnectionsListQuery as SsoConnectionsListQuery, type environment_SsoConnectionsListResponse as SsoConnectionsListResponse, type environment_SsoConnectionsRequireSsoBody as SsoConnectionsRequireSsoBody, type environment_SsoConnectionsRequireSsoResponse as SsoConnectionsRequireSsoResponse, type environment_SsoConnectionsUpdateBody as SsoConnectionsUpdateBody, type environment_SsoConnectionsUpdateResponse as SsoConnectionsUpdateResponse, type environment_SsoDomain as SsoDomain, type environment_SsoDomainsCaptureBody as SsoDomainsCaptureBody, type environment_SsoDomainsCaptureResponse as SsoDomainsCaptureResponse, type environment_SsoDomainsCreateBody as SsoDomainsCreateBody, type environment_SsoDomainsCreateResponse as SsoDomainsCreateResponse, type environment_SsoDomainsDeleteBody as SsoDomainsDeleteBody, type environment_SsoDomainsDeleteResponse as SsoDomainsDeleteResponse, type environment_SsoDomainsListQuery as SsoDomainsListQuery, type environment_SsoDomainsListResponse as SsoDomainsListResponse, type environment_SsoDomainsVerifyBody as SsoDomainsVerifyBody, type environment_SsoDomainsVerifyResponse as SsoDomainsVerifyResponse, type environment_SsoSamlMetadataImportBody as SsoSamlMetadataImportBody, type environment_SsoSamlMetadataImportResponse as SsoSamlMetadataImportResponse, type environment_SupportSession as SupportSession, type environment_SupportSessionsEndResponse as SupportSessionsEndResponse, type environment_SupportSessionsStartBody as SupportSessionsStartBody, type environment_SupportSessionsStartResponse as SupportSessionsStartResponse, type environment_ThemeMode as ThemeMode, type environment_TokenVaultGrantsCreateBody as TokenVaultGrantsCreateBody, type environment_TokenVaultGrantsCreateResponse as TokenVaultGrantsCreateResponse, type environment_TokenVaultGrantsDeleteBody as TokenVaultGrantsDeleteBody, type environment_TokenVaultGrantsDeleteResponse as TokenVaultGrantsDeleteResponse, type environment_TokenVaultSecret as TokenVaultSecret, type environment_TokenVaultSecretsCreateBody as TokenVaultSecretsCreateBody, type environment_TokenVaultSecretsCreateResponse as TokenVaultSecretsCreateResponse, type environment_TokenVaultSecretsGetQuery as TokenVaultSecretsGetQuery, type environment_TokenVaultSecretsGetResponse as TokenVaultSecretsGetResponse, type environment_TokenVaultSecretsListQuery as TokenVaultSecretsListQuery, type environment_TokenVaultSecretsListResponse as TokenVaultSecretsListResponse, type environment_TokenVaultSecretsRevokeBody as TokenVaultSecretsRevokeBody, type environment_TokenVaultSecretsRevokeResponse as TokenVaultSecretsRevokeResponse, type environment_TokenVaultSecretsRotateBody as TokenVaultSecretsRotateBody, type environment_TokenVaultSecretsRotateResponse as TokenVaultSecretsRotateResponse, type environment_User as User, type environment_UserSession as UserSession, type environment_UsersCreateBody as UsersCreateBody, type environment_UsersCreateResponse as UsersCreateResponse, type environment_UsersDeactivateResponse as UsersDeactivateResponse, type environment_UsersEnvironmentRolesGetQuery as UsersEnvironmentRolesGetQuery, type environment_UsersEnvironmentRolesGetResponse as UsersEnvironmentRolesGetResponse, type environment_UsersEnvironmentRolesGrantQuery as UsersEnvironmentRolesGrantQuery, type environment_UsersEnvironmentRolesGrantResponse as UsersEnvironmentRolesGrantResponse, type environment_UsersEnvironmentRolesListResponse as UsersEnvironmentRolesListResponse, type environment_UsersEnvironmentRolesRevokeQuery as UsersEnvironmentRolesRevokeQuery, type environment_UsersEnvironmentRolesRevokeResponse as UsersEnvironmentRolesRevokeResponse, type environment_UsersEraseResponse as UsersEraseResponse, type environment_UsersGetResponse as UsersGetResponse, type environment_UsersListQuery as UsersListQuery, type environment_UsersListResponse as UsersListResponse, type environment_UsersMfaResetResponse as UsersMfaResetResponse, type environment_UsersPasswordResetSendResponse as UsersPasswordResetSendResponse, type environment_UsersPasswordSetBody as UsersPasswordSetBody, type environment_UsersPasswordSetResponse as UsersPasswordSetResponse, type environment_UsersReactivateResponse as UsersReactivateResponse, type environment_UsersSessionsListResponse as UsersSessionsListResponse, type environment_UsersSessionsRevokeAllResponse as UsersSessionsRevokeAllResponse, type environment_UsersSessionsRevokeResponse as UsersSessionsRevokeResponse, type environment_UsersUpdateBody as UsersUpdateBody, type environment_UsersUpdateResponse as UsersUpdateResponse, type environment_UsersVerificationSendResponse as UsersVerificationSendResponse, type environment_UsersVerifyResponse as UsersVerifyResponse, type environment_VaultSecret as VaultSecret, type environment_Webhook as Webhook, type environment_WebhooksCreateBody as WebhooksCreateBody, type environment_WebhooksCreateResponse as WebhooksCreateResponse, type environment_WebhooksDeleteResponse as WebhooksDeleteResponse, type environment_WebhooksGetResponse as WebhooksGetResponse, type environment_WebhooksListQuery as WebhooksListQuery, type environment_WebhooksListResponse as WebhooksListResponse, type environment_WebhooksPauseResponse as WebhooksPauseResponse, type environment_WebhooksResumeResponse as WebhooksResumeResponse, type environment_WebhooksSecretRotateResponse as WebhooksSecretRotateResponse, type environment_WebhooksSignatureSchemeChangeBody as WebhooksSignatureSchemeChangeBody, type environment_WebhooksSignatureSchemeChangeResponse as WebhooksSignatureSchemeChangeResponse, type environment_WebhooksUpdateBody as WebhooksUpdateBody, type environment_WebhooksUpdateResponse as WebhooksUpdateResponse, type environment_WhitelabelBranding as WhitelabelBranding, environment_environmentOperations as environmentOperations };
|
|
11244
|
+
export { type environment_AccessReview as AccessReview, type environment_AccessReviewItem as AccessReviewItem, type environment_AccessReviewsCloseBody as AccessReviewsCloseBody, type environment_AccessReviewsCloseResponse as AccessReviewsCloseResponse, type environment_AccessReviewsCreateBody as AccessReviewsCreateBody, type environment_AccessReviewsCreateResponse as AccessReviewsCreateResponse, type environment_AccessReviewsGetQuery as AccessReviewsGetQuery, type environment_AccessReviewsGetResponse as AccessReviewsGetResponse, type environment_AccessReviewsItemsDecideBody as AccessReviewsItemsDecideBody, type environment_AccessReviewsItemsDecideResponse as AccessReviewsItemsDecideResponse, type environment_AccessReviewsItemsListQuery as AccessReviewsItemsListQuery, type environment_AccessReviewsItemsListResponse as AccessReviewsItemsListResponse, type environment_AccessReviewsListQuery as AccessReviewsListQuery, type environment_AccessReviewsListResponse as AccessReviewsListResponse, type ActionApprovalsGetResponse$3 as ActionApprovalsGetResponse, type environment_AgentRequest as AgentRequest, type environment_Api as Api, type environment_ApiKey as ApiKey, type environment_ApiKeyVerification as ApiKeyVerification, type environment_ApiKeyVerificationRequest as ApiKeyVerificationRequest, type environment_ApiKeysListQuery as ApiKeysListQuery, type environment_ApiKeysListResponse as ApiKeysListResponse, type ApiKeysRevokeResponse$1 as ApiKeysRevokeResponse, type environment_ApiScope as ApiScope, type environment_ApisCreateBody as ApisCreateBody, type environment_ApisCreateResponse as ApisCreateResponse, type environment_ApisDeleteResponse as ApisDeleteResponse, type environment_ApisGetResponse as ApisGetResponse, type environment_ApisListQuery as ApisListQuery, type environment_ApisListResponse as ApisListResponse, type environment_ApisScopesDefineBody as ApisScopesDefineBody, type environment_ApisScopesDefineResponse as ApisScopesDefineResponse, type environment_ApisScopesRemoveResponse as ApisScopesRemoveResponse, type environment_ApisUpdateBody as ApisUpdateBody, type environment_ApisUpdateResponse as ApisUpdateResponse, type environment_App as App, type environment_AppBlueprint as AppBlueprint, type environment_AppSecret as AppSecret, type environment_Appearance as Appearance, type environment_Approval as Approval, type environment_ApprovalDecision as ApprovalDecision, type environment_ApprovalsDenyResponse as ApprovalsDenyResponse, type environment_ApprovalsListQuery as ApprovalsListQuery, type environment_ApprovalsListResponse as ApprovalsListResponse, type environment_AppsBlueprintResponse as AppsBlueprintResponse, type environment_AppsCopyBody as AppsCopyBody, type environment_AppsCopyResponse as AppsCopyResponse, type environment_AppsCreateBody as AppsCreateBody, type environment_AppsCreateResponse as AppsCreateResponse, type environment_AppsDeleteResponse as AppsDeleteResponse, type environment_AppsGetResponse as AppsGetResponse, type environment_AppsListQuery as AppsListQuery, type environment_AppsListResponse as AppsListResponse, type environment_AppsManifestSetBody as AppsManifestSetBody, type environment_AppsManifestSetResponse as AppsManifestSetResponse, type environment_AppsManifestSyncResponse as AppsManifestSyncResponse, type environment_AppsScopesSetBody as AppsScopesSetBody, type environment_AppsScopesSetResponse as AppsScopesSetResponse, type environment_AppsSecretsListResponse as AppsSecretsListResponse, type environment_AppsSecretsRevokeResponse as AppsSecretsRevokeResponse, type environment_AppsSecretsRotateBody as AppsSecretsRotateBody, type environment_AppsSecretsRotateResponse as AppsSecretsRotateResponse, type environment_AppsSettingsApiKeyPrefixBody as AppsSettingsApiKeyPrefixBody, type environment_AppsSettingsApiKeyPrefixResponse as AppsSettingsApiKeyPrefixResponse, type environment_AppsSettingsBackchannelLogoutBody as AppsSettingsBackchannelLogoutBody, type environment_AppsSettingsBackchannelLogoutResponse as AppsSettingsBackchannelLogoutResponse, type environment_AppsSettingsTokenExchangeBody as AppsSettingsTokenExchangeBody, type environment_AppsSettingsTokenExchangeResponse as AppsSettingsTokenExchangeResponse, type environment_AppsSettingsTokenLifetimeBody as AppsSettingsTokenLifetimeBody, type environment_AppsSettingsTokenLifetimeResponse as AppsSettingsTokenLifetimeResponse, type environment_AppsUpdateBody as AppsUpdateBody, type environment_AppsUpdateResponse as AppsUpdateResponse, type environment_AssignableMemberRole as AssignableMemberRole, type environment_AuditEntry as AuditEntry, type environment_AuditListQuery as AuditListQuery, type environment_AuditListResponse as AuditListResponse, type environment_AuditLogEvent as AuditLogEvent, type environment_AuditLogEventBatch as AuditLogEventBatch, type environment_AuditLogExport as AuditLogExport, type environment_AuditLogSchema as AuditLogSchema, type environment_AuditLogSettings as AuditLogSettings, type environment_AuditLogVerification as AuditLogVerification, type environment_AuditLogsEventsCreateBody as AuditLogsEventsCreateBody, type environment_AuditLogsEventsCreateResponse as AuditLogsEventsCreateResponse, type environment_AuditLogsEventsListQuery as AuditLogsEventsListQuery, type environment_AuditLogsEventsListResponse as AuditLogsEventsListResponse, type environment_AuditLogsExportsCreateBody as AuditLogsExportsCreateBody, type environment_AuditLogsExportsCreateResponse as AuditLogsExportsCreateResponse, type environment_AuditLogsExportsGetResponse as AuditLogsExportsGetResponse, type environment_AuditLogsSchemasCreateBody as AuditLogsSchemasCreateBody, type environment_AuditLogsSchemasCreateResponse as AuditLogsSchemasCreateResponse, type environment_AuditLogsSchemasDeleteResponse as AuditLogsSchemasDeleteResponse, type environment_AuditLogsSchemasGetResponse as AuditLogsSchemasGetResponse, type environment_AuditLogsSchemasListQuery as AuditLogsSchemasListQuery, type environment_AuditLogsSchemasListResponse as AuditLogsSchemasListResponse, type environment_AuditLogsSchemasUpdateBody as AuditLogsSchemasUpdateBody, type environment_AuditLogsSchemasUpdateResponse as AuditLogsSchemasUpdateResponse, type environment_AuditLogsSettingsGetResponse as AuditLogsSettingsGetResponse, type environment_AuditLogsSettingsUpdateBody as AuditLogsSettingsUpdateBody, type environment_AuditLogsSettingsUpdateResponse as AuditLogsSettingsUpdateResponse, type environment_AuditLogsVerifyQuery as AuditLogsVerifyQuery, type environment_AuditLogsVerifyResponse as AuditLogsVerifyResponse, type environment_BearerChallenge as BearerChallenge, type environment_BrandingAppearanceGetQuery as BrandingAppearanceGetQuery, type environment_BrandingAppearanceGetResponse as BrandingAppearanceGetResponse, type environment_BrandingAppearanceSetBody as BrandingAppearanceSetBody, type environment_BrandingAppearanceSetResponse as BrandingAppearanceSetResponse, type environment_BrandingWhitelabelGetQuery as BrandingWhitelabelGetQuery, type environment_BrandingWhitelabelGetResponse as BrandingWhitelabelGetResponse, type environment_BrandingWhitelabelSetBody as BrandingWhitelabelSetBody, type environment_BrandingWhitelabelSetResponse as BrandingWhitelabelSetResponse, type CustomDomain$1 as CustomDomain, type environment_Device as Device, type environment_DirectoriesConnectBody as DirectoriesConnectBody, type environment_DirectoriesConnectResponse as DirectoriesConnectResponse, type environment_DirectoriesCreateBody as DirectoriesCreateBody, type environment_DirectoriesCreateResponse as DirectoriesCreateResponse, type environment_DirectoriesCredentialsReplaceBody as DirectoriesCredentialsReplaceBody, type environment_DirectoriesCredentialsReplaceResponse as DirectoriesCredentialsReplaceResponse, type environment_DirectoriesDeleteBody as DirectoriesDeleteBody, type environment_DirectoriesDeleteResponse as DirectoriesDeleteResponse, type environment_DirectoriesGetQuery as DirectoriesGetQuery, type environment_DirectoriesGetResponse as DirectoriesGetResponse, type environment_DirectoriesGroupsListQuery as DirectoriesGroupsListQuery, type environment_DirectoriesGroupsListResponse as DirectoriesGroupsListResponse, type environment_DirectoriesGroupsMapBody as DirectoriesGroupsMapBody, type environment_DirectoriesGroupsMapResponse as DirectoriesGroupsMapResponse, type environment_DirectoriesHrisConnectBody as DirectoriesHrisConnectBody, type environment_DirectoriesHrisConnectResponse as DirectoriesHrisConnectResponse, type environment_DirectoriesListQuery as DirectoriesListQuery, type environment_DirectoriesListResponse as DirectoriesListResponse, type environment_DirectoriesStatusSetBody as DirectoriesStatusSetBody, type environment_DirectoriesStatusSetResponse as DirectoriesStatusSetResponse, type environment_DirectoriesSyncBody as DirectoriesSyncBody, type environment_DirectoriesSyncResponse as DirectoriesSyncResponse, type environment_DirectoriesSyncSettingsUpdateBody as DirectoriesSyncSettingsUpdateBody, type environment_DirectoriesSyncSettingsUpdateResponse as DirectoriesSyncSettingsUpdateResponse, type environment_DirectoriesTokenRotateBody as DirectoriesTokenRotateBody, type environment_DirectoriesTokenRotateResponse as DirectoriesTokenRotateResponse, type environment_DirectoriesUpdateBody as DirectoriesUpdateBody, type environment_DirectoriesUpdateResponse as DirectoriesUpdateResponse, type environment_Directory as Directory, type environment_DirectoryGroup as DirectoryGroup, type environment_DomainEvent as DomainEvent, type environment_DomainsAddBody as DomainsAddBody, type environment_DomainsAddResponse as DomainsAddResponse, type environment_DomainsGetResponse as DomainsGetResponse, type environment_DomainsRemoveResponse as DomainsRemoveResponse, type environment_DomainsVerifyResponse as DomainsVerifyResponse, environment_EnvironmentClient as EnvironmentClient, type environment_EnvironmentClientOptions as EnvironmentClientOptions, type environment_ErasureReceipt as ErasureReceipt, type ErrorSchema$3 as ErrorSchema, type environment_EventsListQuery as EventsListQuery, type environment_EventsListResponse as EventsListResponse, type environment_FeatureFlag as FeatureFlag, type environment_FeatureFlagEvaluation as FeatureFlagEvaluation, type environment_FeatureFlagRule as FeatureFlagRule, type environment_FeatureFlagsCreateBody as FeatureFlagsCreateBody, type environment_FeatureFlagsCreateResponse as FeatureFlagsCreateResponse, type environment_FeatureFlagsDeleteResponse as FeatureFlagsDeleteResponse, type environment_FeatureFlagsEvaluateQuery as FeatureFlagsEvaluateQuery, type environment_FeatureFlagsEvaluateResponse as FeatureFlagsEvaluateResponse, type environment_FeatureFlagsGetResponse as FeatureFlagsGetResponse, type environment_FeatureFlagsListQuery as FeatureFlagsListQuery, type environment_FeatureFlagsListResponse as FeatureFlagsListResponse, type environment_FeatureFlagsUpdateBody as FeatureFlagsUpdateBody, type environment_FeatureFlagsUpdateResponse as FeatureFlagsUpdateResponse, type environment_FgaCheck as FgaCheck, type environment_FgaCheckBatch as FgaCheckBatch, type environment_FgaCheckBatchQuery as FgaCheckBatchQuery, type environment_FgaCheckBatchResponse as FgaCheckBatchResponse, type environment_FgaCheckQuery as FgaCheckQuery, type environment_FgaCheckResponse as FgaCheckResponse, type environment_FgaObject as FgaObject, type environment_FgaResourcesListQuery as FgaResourcesListQuery, type environment_FgaResourcesListResponse as FgaResourcesListResponse, type environment_FgaSchema as FgaSchema, type environment_FgaSchemaGetResponse as FgaSchemaGetResponse, type environment_FgaSchemaUpdateBody as FgaSchemaUpdateBody, type environment_FgaSchemaUpdateResponse as FgaSchemaUpdateResponse, type environment_FgaSchemaValidateQuery as FgaSchemaValidateQuery, type environment_FgaSchemaValidateResponse as FgaSchemaValidateResponse, type environment_FgaSchemaValidation as FgaSchemaValidation, type environment_FgaSubject as FgaSubject, type environment_FgaSubjectsListQuery as FgaSubjectsListQuery, type environment_FgaSubjectsListResponse as FgaSubjectsListResponse, type environment_FgaTuple as FgaTuple, type environment_FgaTupleWrite as FgaTupleWrite, type environment_FgaTuplesDeleteBody as FgaTuplesDeleteBody, type environment_FgaTuplesDeleteResponse as FgaTuplesDeleteResponse, type environment_FgaTuplesListQuery as FgaTuplesListQuery, type environment_FgaTuplesListResponse as FgaTuplesListResponse, type environment_FgaTuplesWriteBody as FgaTuplesWriteBody, type environment_FgaTuplesWriteResponse as FgaTuplesWriteResponse, type environment_FgaType as FgaType, type environment_FrontendKey as FrontendKey, type environment_FrontendKeysCreateBody as FrontendKeysCreateBody, type environment_FrontendKeysCreateResponse as FrontendKeysCreateResponse, type environment_FrontendKeysListQuery as FrontendKeysListQuery, type environment_FrontendKeysListResponse as FrontendKeysListResponse, type environment_FrontendKeysRevokeResponse as FrontendKeysRevokeResponse, type environment_FrontendKeysSetOriginsBody as FrontendKeysSetOriginsBody, type environment_FrontendKeysSetOriginsResponse as FrontendKeysSetOriginsResponse, type environment_HooksCreateBody as HooksCreateBody, type environment_HooksCreateResponse as HooksCreateResponse, type environment_HooksDeleteResponse as HooksDeleteResponse, type environment_HooksGetResponse as HooksGetResponse, type environment_HooksListQuery as HooksListQuery, type environment_HooksListResponse as HooksListResponse, type environment_HooksUpdateBody as HooksUpdateBody, type environment_HooksUpdateResponse as HooksUpdateResponse, type environment_InlineHook as InlineHook, type environment_Invitation as Invitation, type environment_InvitationsListQuery as InvitationsListQuery, type environment_InvitationsListResponse as InvitationsListResponse, type environment_InvitationsResendResponse as InvitationsResendResponse, type environment_InvitationsRevokeResponse as InvitationsRevokeResponse, type environment_InvitationsSendBody as InvitationsSendBody, type environment_InvitationsSendResponse as InvitationsSendResponse, type environment_KeysCreateBody as KeysCreateBody, type environment_KeysCreateResponse as KeysCreateResponse, type environment_KeysListQuery as KeysListQuery, type environment_KeysListResponse as KeysListResponse, type environment_KeysRevokeResponse as KeysRevokeResponse, type environment_KeysRotateBody as KeysRotateBody, type environment_KeysRotateResponse as KeysRotateResponse, type environment_LegacyLogin as LegacyLogin, type environment_LegacyLoginApproveResponse as LegacyLoginApproveResponse, type environment_LegacyLoginGetResponse as LegacyLoginGetResponse, type environment_LegacyLoginProbe as LegacyLoginProbe, type environment_LegacyLoginProbeBody as LegacyLoginProbeBody, type environment_LegacyLoginProbeResponse as LegacyLoginProbeResponse, type environment_LegacyLoginRevokeResponse as LegacyLoginRevokeResponse, type environment_LogStream as LogStream, type environment_LogStreamTest as LogStreamTest, type environment_LogStreamsCreateBody as LogStreamsCreateBody, type environment_LogStreamsCreateResponse as LogStreamsCreateResponse, type environment_LogStreamsDeleteResponse as LogStreamsDeleteResponse, type environment_LogStreamsGetResponse as LogStreamsGetResponse, type environment_LogStreamsListQuery as LogStreamsListQuery, type environment_LogStreamsListResponse as LogStreamsListResponse, type environment_LogStreamsTestResponse as LogStreamsTestResponse, type environment_LogStreamsUpdateBody as LogStreamsUpdateBody, type environment_LogStreamsUpdateResponse as LogStreamsUpdateResponse, type environment_ManagementKey as ManagementKey, type environment_ManifestSync as ManifestSync, type Member$1 as Member, type environment_MembersAddBody as MembersAddBody, type environment_MembersAddResponse as MembersAddResponse, type environment_MembersListQuery as MembersListQuery, type environment_MembersListResponse as MembersListResponse, type environment_MembersRemoveResponse as MembersRemoveResponse, type environment_MembersRolesGrantQuery as MembersRolesGrantQuery, type environment_MembersRolesGrantResponse as MembersRolesGrantResponse, type environment_MembersRolesListResponse as MembersRolesListResponse, type environment_MembersRolesRevokeQuery as MembersRolesRevokeQuery, type environment_MembersRolesRevokeResponse as MembersRolesRevokeResponse, type environment_MembersUpdateBody as MembersUpdateBody, type environment_MembersUpdateResponse as MembersUpdateResponse, type environment_OAuthClientError as OAuthClientError, type environment_OfferedSocialProviders as OfferedSocialProviders, type Organization$1 as Organization, type environment_OrganizationDomain as OrganizationDomain, type OrganizationsCreateBody$1 as OrganizationsCreateBody, type OrganizationsCreateResponse$1 as OrganizationsCreateResponse, type environment_OrganizationsDeleteResponse as OrganizationsDeleteResponse, type environment_OrganizationsDomainsAddBody as OrganizationsDomainsAddBody, type environment_OrganizationsDomainsAddResponse as OrganizationsDomainsAddResponse, type environment_OrganizationsDomainsCaptureBody as OrganizationsDomainsCaptureBody, type environment_OrganizationsDomainsCaptureResponse as OrganizationsDomainsCaptureResponse, type environment_OrganizationsDomainsListResponse as OrganizationsDomainsListResponse, type environment_OrganizationsDomainsRemoveResponse as OrganizationsDomainsRemoveResponse, type environment_OrganizationsDomainsVerifyResponse as OrganizationsDomainsVerifyResponse, type environment_OrganizationsGetResponse as OrganizationsGetResponse, type environment_OrganizationsListQuery as OrganizationsListQuery, type environment_OrganizationsListResponse as OrganizationsListResponse, type environment_OrganizationsPortalLinksCreateBody as OrganizationsPortalLinksCreateBody, type environment_OrganizationsPortalLinksCreateResponse as OrganizationsPortalLinksCreateResponse, type environment_OrganizationsPortalLinksListResponse as OrganizationsPortalLinksListResponse, type environment_OrganizationsPortalLinksRevokeResponse as OrganizationsPortalLinksRevokeResponse, type environment_OrganizationsReactivateResponse as OrganizationsReactivateResponse, type environment_OrganizationsSuspendResponse as OrganizationsSuspendResponse, type environment_OrganizationsTransferOwnershipBody as OrganizationsTransferOwnershipBody, type environment_OrganizationsTransferOwnershipResponse as OrganizationsTransferOwnershipResponse, type environment_OrganizationsUpdateBody as OrganizationsUpdateBody, type environment_OrganizationsUpdateResponse as OrganizationsUpdateResponse, type PageMeta$1 as PageMeta, type environment_Permission as Permission, type environment_PermissionsCreateBody as PermissionsCreateBody, type environment_PermissionsCreateResponse as PermissionsCreateResponse, type environment_PermissionsDeleteResponse as PermissionsDeleteResponse, type environment_PermissionsListQuery as PermissionsListQuery, type environment_PermissionsListResponse as PermissionsListResponse, type environment_PermissionsUpdateBody as PermissionsUpdateBody, type environment_PermissionsUpdateResponse as PermissionsUpdateResponse, type environment_Pipe as Pipe, type environment_PipeConnectRequired as PipeConnectRequired, type environment_PipeConnection as PipeConnection, type environment_PipesConnectionsDeleteResponse as PipesConnectionsDeleteResponse, type environment_PipesConnectionsListQuery as PipesConnectionsListQuery, type environment_PipesConnectionsListResponse as PipesConnectionsListResponse, type environment_PipesCreateBody as PipesCreateBody, type environment_PipesCreateResponse as PipesCreateResponse, type environment_PipesDeleteResponse as PipesDeleteResponse, type environment_PipesGetResponse as PipesGetResponse, type environment_PipesGrantsCreateBody as PipesGrantsCreateBody, type environment_PipesGrantsCreateResponse as PipesGrantsCreateResponse, type environment_PipesGrantsDeleteResponse as PipesGrantsDeleteResponse, type environment_PipesListQuery as PipesListQuery, type environment_PipesListResponse as PipesListResponse, type environment_PipesUpdateBody as PipesUpdateBody, type environment_PipesUpdateResponse as PipesUpdateResponse, type environment_PortalLink as PortalLink, type environment_PortalLinkRecord as PortalLinkRecord, type environment_ProvisioningTarget as ProvisioningTarget, type environment_ProvisioningTargetsCreateBody as ProvisioningTargetsCreateBody, type environment_ProvisioningTargetsCreateResponse as ProvisioningTargetsCreateResponse, type environment_ProvisioningTargetsDeleteBody as ProvisioningTargetsDeleteBody, type environment_ProvisioningTargetsDeleteResponse as ProvisioningTargetsDeleteResponse, type environment_ProvisioningTargetsGetQuery as ProvisioningTargetsGetQuery, type environment_ProvisioningTargetsGetResponse as ProvisioningTargetsGetResponse, type environment_ProvisioningTargetsListQuery as ProvisioningTargetsListQuery, type environment_ProvisioningTargetsListResponse as ProvisioningTargetsListResponse, type environment_ProvisioningTargetsStatusSetBody as ProvisioningTargetsStatusSetBody, type environment_ProvisioningTargetsStatusSetResponse as ProvisioningTargetsStatusSetResponse, type environment_RadarDecision as RadarDecision, type environment_RadarDecisionsGetResponse as RadarDecisionsGetResponse, type environment_RadarDecisionsListQuery as RadarDecisionsListQuery, type environment_RadarDecisionsListResponse as RadarDecisionsListResponse, type environment_RadarListEntry as RadarListEntry, type environment_RadarListsAddBody as RadarListsAddBody, type environment_RadarListsAddResponse as RadarListsAddResponse, type environment_RadarListsListQuery as RadarListsListQuery, type environment_RadarListsListResponse as RadarListsListResponse, type environment_RadarListsRemoveResponse as RadarListsRemoveResponse, type environment_RadarModeSetBody as RadarModeSetBody, type environment_RadarModeSetResponse as RadarModeSetResponse, type environment_RadarRule as RadarRule, type environment_RadarRulesCreateBody as RadarRulesCreateBody, type environment_RadarRulesCreateResponse as RadarRulesCreateResponse, type environment_RadarRulesDeleteResponse as RadarRulesDeleteResponse, type environment_RadarRulesGetResponse as RadarRulesGetResponse, type environment_RadarRulesListQuery as RadarRulesListQuery, type environment_RadarRulesListResponse as RadarRulesListResponse, type environment_RadarRulesReorderBody as RadarRulesReorderBody, type environment_RadarRulesReorderResponse as RadarRulesReorderResponse, type environment_RadarRulesUpdateBody as RadarRulesUpdateBody, type environment_RadarRulesUpdateResponse as RadarRulesUpdateResponse, type environment_RadarSettings as RadarSettings, type environment_RadarSettingsGetResponse as RadarSettingsGetResponse, type environment_RadarSettingsUpdateBody as RadarSettingsUpdateBody, type environment_RadarSettingsUpdateResponse as RadarSettingsUpdateResponse, type environment_Role as Role, type environment_RoleAssignment as RoleAssignment, type environment_RolesCreateBody as RolesCreateBody, type environment_RolesCreateResponse as RolesCreateResponse, type environment_RolesDeleteResponse as RolesDeleteResponse, type environment_RolesGetQuery as RolesGetQuery, type environment_RolesGetResponse as RolesGetResponse, type environment_RolesListQuery as RolesListQuery, type environment_RolesListResponse as RolesListResponse, type environment_RolesPermissionsGrantResponse as RolesPermissionsGrantResponse, type environment_RolesPermissionsRevokeResponse as RolesPermissionsRevokeResponse, type environment_RolesUpdateBody as RolesUpdateBody, type environment_RolesUpdateResponse as RolesUpdateResponse, type environment_SamlApp as SamlApp, type environment_SamlAppsCreateBody as SamlAppsCreateBody, type environment_SamlAppsCreateResponse as SamlAppsCreateResponse, type environment_SamlAppsDeleteResponse as SamlAppsDeleteResponse, type environment_SamlAppsGetResponse as SamlAppsGetResponse, type environment_SamlAppsListQuery as SamlAppsListQuery, type environment_SamlAppsListResponse as SamlAppsListResponse, type environment_SamlAppsUpdateBody as SamlAppsUpdateBody, type environment_SamlAppsUpdateResponse as SamlAppsUpdateResponse, type environment_SamlMetadata as SamlMetadata, type environment_SelfServiceSignup as SelfServiceSignup, type environment_SignInMethodsInForce as SignInMethodsInForce, type environment_SignInPolicy as SignInPolicy, type environment_SignInRules as SignInRules, type environment_SigninPolicyGetQuery as SigninPolicyGetQuery, type environment_SigninPolicyGetResponse as SigninPolicyGetResponse, type environment_SigninPolicyInheritResponse as SigninPolicyInheritResponse, type environment_SigninPolicyUpdateBody as SigninPolicyUpdateBody, type environment_SigninPolicyUpdateResponse as SigninPolicyUpdateResponse, type environment_SigninSelfServiceSignupSetBody as SigninSelfServiceSignupSetBody, type environment_SigninSelfServiceSignupSetResponse as SigninSelfServiceSignupSetResponse, type environment_SigninSmsGetResponse as SigninSmsGetResponse, type environment_SigninSmsUpdateBody as SigninSmsUpdateBody, type environment_SigninSmsUpdateResponse as SigninSmsUpdateResponse, type environment_SigninSocialDeleteBody as SigninSocialDeleteBody, type environment_SigninSocialDeleteResponse as SigninSocialDeleteResponse, type environment_SigninSocialDisableBody as SigninSocialDisableBody, type environment_SigninSocialDisableResponse as SigninSocialDisableResponse, type environment_SigninSocialEnableBody as SigninSocialEnableBody, type environment_SigninSocialEnableResponse as SigninSocialEnableResponse, type environment_SigninSocialInheritBody as SigninSocialInheritBody, type environment_SigninSocialInheritResponse as SigninSocialInheritResponse, type environment_SigninSocialListQuery as SigninSocialListQuery, type environment_SigninSocialListResponse as SigninSocialListResponse, type environment_SigninSocialOfferedQuery as SigninSocialOfferedQuery, type environment_SigninSocialOfferedResponse as SigninSocialOfferedResponse, type environment_SigninSocialSetBody as SigninSocialSetBody, type environment_SigninSocialSetResponse as SigninSocialSetResponse, type environment_SigninSocialUpdateBody as SigninSocialUpdateBody, type environment_SigninSocialUpdateResponse as SigninSocialUpdateResponse, type environment_SmsFactorPolicy as SmsFactorPolicy, type environment_SocialProvider as SocialProvider, type environment_SodPoliciesCreateBody as SodPoliciesCreateBody, type environment_SodPoliciesCreateResponse as SodPoliciesCreateResponse, type environment_SodPoliciesDeleteBody as SodPoliciesDeleteBody, type environment_SodPoliciesDeleteResponse as SodPoliciesDeleteResponse, type environment_SodPoliciesGetQuery as SodPoliciesGetQuery, type environment_SodPoliciesGetResponse as SodPoliciesGetResponse, type environment_SodPoliciesListQuery as SodPoliciesListQuery, type environment_SodPoliciesListResponse as SodPoliciesListResponse, type environment_SodPoliciesStatusSetBody as SodPoliciesStatusSetBody, type environment_SodPoliciesStatusSetResponse as SodPoliciesStatusSetResponse, type environment_SodPolicy as SodPolicy, type environment_SsoCertificates as SsoCertificates, type environment_SsoConnection as SsoConnection, type environment_SsoConnectionsActivateBody as SsoConnectionsActivateBody, type environment_SsoConnectionsActivateResponse as SsoConnectionsActivateResponse, type environment_SsoConnectionsCertificatesActivateBody as SsoConnectionsCertificatesActivateBody, type environment_SsoConnectionsCertificatesActivateResponse as SsoConnectionsCertificatesActivateResponse, type environment_SsoConnectionsCertificatesListQuery as SsoConnectionsCertificatesListQuery, type environment_SsoConnectionsCertificatesListResponse as SsoConnectionsCertificatesListResponse, type environment_SsoConnectionsCertificatesStageBody as SsoConnectionsCertificatesStageBody, type environment_SsoConnectionsCertificatesStageResponse as SsoConnectionsCertificatesStageResponse, type environment_SsoConnectionsCreateBody as SsoConnectionsCreateBody, type environment_SsoConnectionsCreateResponse as SsoConnectionsCreateResponse, type environment_SsoConnectionsDeleteBody as SsoConnectionsDeleteBody, type environment_SsoConnectionsDeleteResponse as SsoConnectionsDeleteResponse, type environment_SsoConnectionsDisableBody as SsoConnectionsDisableBody, type environment_SsoConnectionsDisableResponse as SsoConnectionsDisableResponse, type environment_SsoConnectionsGetQuery as SsoConnectionsGetQuery, type environment_SsoConnectionsGetResponse as SsoConnectionsGetResponse, type environment_SsoConnectionsListQuery as SsoConnectionsListQuery, type environment_SsoConnectionsListResponse as SsoConnectionsListResponse, type environment_SsoConnectionsRequireSsoBody as SsoConnectionsRequireSsoBody, type environment_SsoConnectionsRequireSsoResponse as SsoConnectionsRequireSsoResponse, type environment_SsoConnectionsUpdateBody as SsoConnectionsUpdateBody, type environment_SsoConnectionsUpdateResponse as SsoConnectionsUpdateResponse, type environment_SsoDomain as SsoDomain, type environment_SsoDomainsCaptureBody as SsoDomainsCaptureBody, type environment_SsoDomainsCaptureResponse as SsoDomainsCaptureResponse, type environment_SsoDomainsCreateBody as SsoDomainsCreateBody, type environment_SsoDomainsCreateResponse as SsoDomainsCreateResponse, type environment_SsoDomainsDeleteBody as SsoDomainsDeleteBody, type environment_SsoDomainsDeleteResponse as SsoDomainsDeleteResponse, type environment_SsoDomainsListQuery as SsoDomainsListQuery, type environment_SsoDomainsListResponse as SsoDomainsListResponse, type environment_SsoDomainsVerifyBody as SsoDomainsVerifyBody, type environment_SsoDomainsVerifyResponse as SsoDomainsVerifyResponse, type environment_SsoSamlMetadataImportBody as SsoSamlMetadataImportBody, type environment_SsoSamlMetadataImportResponse as SsoSamlMetadataImportResponse, type environment_SupportSession as SupportSession, type environment_SupportSessionsEndResponse as SupportSessionsEndResponse, type environment_SupportSessionsStartBody as SupportSessionsStartBody, type environment_SupportSessionsStartResponse as SupportSessionsStartResponse, type environment_ThemeMode as ThemeMode, type environment_TokenVaultGrantsCreateBody as TokenVaultGrantsCreateBody, type environment_TokenVaultGrantsCreateResponse as TokenVaultGrantsCreateResponse, type environment_TokenVaultGrantsDeleteBody as TokenVaultGrantsDeleteBody, type environment_TokenVaultGrantsDeleteResponse as TokenVaultGrantsDeleteResponse, type environment_TokenVaultSecret as TokenVaultSecret, type environment_TokenVaultSecretsCreateBody as TokenVaultSecretsCreateBody, type environment_TokenVaultSecretsCreateResponse as TokenVaultSecretsCreateResponse, type environment_TokenVaultSecretsGetQuery as TokenVaultSecretsGetQuery, type environment_TokenVaultSecretsGetResponse as TokenVaultSecretsGetResponse, type environment_TokenVaultSecretsListQuery as TokenVaultSecretsListQuery, type environment_TokenVaultSecretsListResponse as TokenVaultSecretsListResponse, type environment_TokenVaultSecretsRevokeBody as TokenVaultSecretsRevokeBody, type environment_TokenVaultSecretsRevokeResponse as TokenVaultSecretsRevokeResponse, type environment_TokenVaultSecretsRotateBody as TokenVaultSecretsRotateBody, type environment_TokenVaultSecretsRotateResponse as TokenVaultSecretsRotateResponse, type environment_User as User, type environment_UserSession as UserSession, type environment_UsersCreateBody as UsersCreateBody, type environment_UsersCreateResponse as UsersCreateResponse, type environment_UsersDeactivateResponse as UsersDeactivateResponse, type environment_UsersEnvironmentRolesGetQuery as UsersEnvironmentRolesGetQuery, type environment_UsersEnvironmentRolesGetResponse as UsersEnvironmentRolesGetResponse, type environment_UsersEnvironmentRolesGrantQuery as UsersEnvironmentRolesGrantQuery, type environment_UsersEnvironmentRolesGrantResponse as UsersEnvironmentRolesGrantResponse, type environment_UsersEnvironmentRolesListResponse as UsersEnvironmentRolesListResponse, type environment_UsersEnvironmentRolesRevokeQuery as UsersEnvironmentRolesRevokeQuery, type environment_UsersEnvironmentRolesRevokeResponse as UsersEnvironmentRolesRevokeResponse, type environment_UsersEraseResponse as UsersEraseResponse, type environment_UsersGetResponse as UsersGetResponse, type environment_UsersListQuery as UsersListQuery, type environment_UsersListResponse as UsersListResponse, type environment_UsersMfaResetResponse as UsersMfaResetResponse, type environment_UsersMfaSmsRemoveResponse as UsersMfaSmsRemoveResponse, type environment_UsersPasswordResetSendResponse as UsersPasswordResetSendResponse, type environment_UsersPasswordSetBody as UsersPasswordSetBody, type environment_UsersPasswordSetResponse as UsersPasswordSetResponse, type environment_UsersReactivateResponse as UsersReactivateResponse, type environment_UsersSessionsListResponse as UsersSessionsListResponse, type environment_UsersSessionsRevokeAllResponse as UsersSessionsRevokeAllResponse, type environment_UsersSessionsRevokeResponse as UsersSessionsRevokeResponse, type environment_UsersUpdateBody as UsersUpdateBody, type environment_UsersUpdateResponse as UsersUpdateResponse, type environment_UsersVerificationSendResponse as UsersVerificationSendResponse, type environment_UsersVerifyResponse as UsersVerifyResponse, type environment_VaultSecret as VaultSecret, type environment_Webhook as Webhook, type environment_WebhooksCreateBody as WebhooksCreateBody, type environment_WebhooksCreateResponse as WebhooksCreateResponse, type environment_WebhooksDeleteResponse as WebhooksDeleteResponse, type environment_WebhooksGetResponse as WebhooksGetResponse, type environment_WebhooksListQuery as WebhooksListQuery, type environment_WebhooksListResponse as WebhooksListResponse, type environment_WebhooksPauseResponse as WebhooksPauseResponse, type environment_WebhooksResumeResponse as WebhooksResumeResponse, type environment_WebhooksSecretRotateResponse as WebhooksSecretRotateResponse, type environment_WebhooksSignatureSchemeChangeBody as WebhooksSignatureSchemeChangeBody, type environment_WebhooksSignatureSchemeChangeResponse as WebhooksSignatureSchemeChangeResponse, type environment_WebhooksUpdateBody as WebhooksUpdateBody, type environment_WebhooksUpdateResponse as WebhooksUpdateResponse, type environment_WhitelabelBranding as WhitelabelBranding, environment_environmentOperations as environmentOperations };
|
|
8802
11245
|
}
|
|
8803
11246
|
|
|
8804
11247
|
interface VerificationResend {
|
|
@@ -10387,10 +12830,14 @@ type ApiKeysRevokeResponse = void;
|
|
|
10387
12830
|
type ApplicationsRevokeResponse = void;
|
|
10388
12831
|
/** Response body of `devices.remove`. */
|
|
10389
12832
|
type DevicesRemoveResponse = void;
|
|
12833
|
+
/** Response body of `mfa.sms.remove`. */
|
|
12834
|
+
type MfaSmsRemoveResponse = void;
|
|
10390
12835
|
/** Response body of `organizations.leave`. */
|
|
10391
12836
|
type OrganizationsLeaveResponse = void;
|
|
10392
12837
|
/** Response body of `passkeys.remove`. */
|
|
10393
12838
|
type PasskeysRemoveResponse = void;
|
|
12839
|
+
/** Response body of `pipes.disconnect`. */
|
|
12840
|
+
type PipesDisconnectResponse = void;
|
|
10394
12841
|
/** Request body of `profile.update`. */
|
|
10395
12842
|
interface ProfileUpdateBody {
|
|
10396
12843
|
/** Your display name. */
|
|
@@ -10470,6 +12917,18 @@ declare const accountOperations: {
|
|
|
10470
12917
|
readonly body: false;
|
|
10471
12918
|
readonly pagination: null;
|
|
10472
12919
|
};
|
|
12920
|
+
readonly 'account.mfa.sms.remove': {
|
|
12921
|
+
readonly action: "account.mfa.sms.remove";
|
|
12922
|
+
readonly operationId: "account_mfa_sms_remove";
|
|
12923
|
+
readonly method: "DELETE";
|
|
12924
|
+
readonly path: "/me/mfa/sms";
|
|
12925
|
+
readonly pathParams: readonly [];
|
|
12926
|
+
readonly scope: "account:sign_in:write";
|
|
12927
|
+
readonly danger: "critical";
|
|
12928
|
+
readonly approval: true;
|
|
12929
|
+
readonly body: false;
|
|
12930
|
+
readonly pagination: null;
|
|
12931
|
+
};
|
|
10473
12932
|
readonly 'account.organizations.leave': {
|
|
10474
12933
|
readonly action: "account.organizations.leave";
|
|
10475
12934
|
readonly operationId: "account_organizations_leave";
|
|
@@ -10494,6 +12953,18 @@ declare const accountOperations: {
|
|
|
10494
12953
|
readonly body: false;
|
|
10495
12954
|
readonly pagination: null;
|
|
10496
12955
|
};
|
|
12956
|
+
readonly 'account.pipes.disconnect': {
|
|
12957
|
+
readonly action: "account.pipes.disconnect";
|
|
12958
|
+
readonly operationId: "account_pipes_disconnect";
|
|
12959
|
+
readonly method: "DELETE";
|
|
12960
|
+
readonly path: "/me/pipes/{provider}";
|
|
12961
|
+
readonly pathParams: readonly ["provider"];
|
|
12962
|
+
readonly scope: "account:pipes:write";
|
|
12963
|
+
readonly danger: "destructive";
|
|
12964
|
+
readonly approval: true;
|
|
12965
|
+
readonly body: false;
|
|
12966
|
+
readonly pagination: null;
|
|
12967
|
+
};
|
|
10497
12968
|
readonly 'account.profile.update': {
|
|
10498
12969
|
readonly action: "account.profile.update";
|
|
10499
12970
|
readonly operationId: "account_profile_update";
|
|
@@ -10625,6 +13096,21 @@ declare class AccountClient {
|
|
|
10625
13096
|
*/
|
|
10626
13097
|
remove: <O extends CallOptions = CallOptions>(deviceId: string, options?: O) => Promise<Outcome<DevicesRemoveResponse, O>>;
|
|
10627
13098
|
};
|
|
13099
|
+
readonly mfa: {
|
|
13100
|
+
sms: {
|
|
13101
|
+
/**
|
|
13102
|
+
* Remove your phone number for text-message sign-in codes.
|
|
13103
|
+
*
|
|
13104
|
+
* Requires scope `account:sign_in:write` on an access token you delegated; it acts on your own account only. No management key is accepted. Danger: critical.
|
|
13105
|
+
*
|
|
13106
|
+
* `DELETE /me/mfa/sms` · action `account.mfa.sms.remove`
|
|
13107
|
+
* @scope `account:sign_in:write`
|
|
13108
|
+
* @danger critical
|
|
13109
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
13110
|
+
*/
|
|
13111
|
+
remove: <O extends CallOptions = CallOptions>(options?: O) => Promise<Outcome<MfaSmsRemoveResponse, O>>;
|
|
13112
|
+
};
|
|
13113
|
+
};
|
|
10628
13114
|
readonly organizations: {
|
|
10629
13115
|
/**
|
|
10630
13116
|
* Leave one of your own organizations. The last owner cannot leave — transfer ownership first.
|
|
@@ -10651,6 +13137,19 @@ declare class AccountClient {
|
|
|
10651
13137
|
*/
|
|
10652
13138
|
remove: <O extends CallOptions = CallOptions>(passkeyId: string, options?: O) => Promise<Outcome<PasskeysRemoveResponse, O>>;
|
|
10653
13139
|
};
|
|
13140
|
+
readonly pipes: {
|
|
13141
|
+
/**
|
|
13142
|
+
* Disconnect one of your connected services, revoking the access you gave it.
|
|
13143
|
+
*
|
|
13144
|
+
* Requires scope `account:pipes:write` on an access token you delegated; it acts on your own account only. No management key is accepted. Danger: destructive.
|
|
13145
|
+
*
|
|
13146
|
+
* `DELETE /me/pipes/{provider}` · action `account.pipes.disconnect`
|
|
13147
|
+
* @scope `account:pipes:write`
|
|
13148
|
+
* @danger destructive
|
|
13149
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
13150
|
+
*/
|
|
13151
|
+
disconnect: <O extends CallOptions = CallOptions>(provider: string, options?: O) => Promise<Outcome<PipesDisconnectResponse, O>>;
|
|
13152
|
+
};
|
|
10654
13153
|
readonly profile: {
|
|
10655
13154
|
/**
|
|
10656
13155
|
* Change the display name on your own account.
|
|
@@ -10713,9 +13212,11 @@ type account_ApiKeysRevokeResponse = ApiKeysRevokeResponse;
|
|
|
10713
13212
|
type account_ApplicationsRevokeResponse = ApplicationsRevokeResponse;
|
|
10714
13213
|
type account_DevicesRemoveResponse = DevicesRemoveResponse;
|
|
10715
13214
|
type account_ErrorSchema = ErrorSchema;
|
|
13215
|
+
type account_MfaSmsRemoveResponse = MfaSmsRemoveResponse;
|
|
10716
13216
|
type account_OrganizationsLeaveResponse = OrganizationsLeaveResponse;
|
|
10717
13217
|
type account_PasskeysRemoveResponse = PasskeysRemoveResponse;
|
|
10718
13218
|
type account_PersonalApiKey = PersonalApiKey;
|
|
13219
|
+
type account_PipesDisconnectResponse = PipesDisconnectResponse;
|
|
10719
13220
|
type account_Profile = Profile;
|
|
10720
13221
|
type account_ProfileUpdateBody = ProfileUpdateBody;
|
|
10721
13222
|
type account_ProfileUpdateResponse = ProfileUpdateResponse;
|
|
@@ -10725,7 +13226,7 @@ type account_SessionsRevoked = SessionsRevoked;
|
|
|
10725
13226
|
type account_SocialUnlinkResponse = SocialUnlinkResponse;
|
|
10726
13227
|
declare const account_accountOperations: typeof accountOperations;
|
|
10727
13228
|
declare namespace account {
|
|
10728
|
-
export { account_AccountClient as AccountClient, type account_AccountClientOptions as AccountClientOptions, type account_ActionApprovalsGetResponse as ActionApprovalsGetResponse, type account_ApiKeysCreateBody as ApiKeysCreateBody, type account_ApiKeysCreateResponse as ApiKeysCreateResponse, type account_ApiKeysRevokeResponse as ApiKeysRevokeResponse, type account_ApplicationsRevokeResponse as ApplicationsRevokeResponse, type account_DevicesRemoveResponse as DevicesRemoveResponse, type account_ErrorSchema as ErrorSchema, type account_OrganizationsLeaveResponse as OrganizationsLeaveResponse, type account_PasskeysRemoveResponse as PasskeysRemoveResponse, type account_PersonalApiKey as PersonalApiKey, type account_Profile as Profile, type account_ProfileUpdateBody as ProfileUpdateBody, type account_ProfileUpdateResponse as ProfileUpdateResponse, type account_SessionsRevokeOthersResponse as SessionsRevokeOthersResponse, type account_SessionsRevokeResponse as SessionsRevokeResponse, type account_SessionsRevoked as SessionsRevoked, type account_SocialUnlinkResponse as SocialUnlinkResponse, account_accountOperations as accountOperations };
|
|
13229
|
+
export { account_AccountClient as AccountClient, type account_AccountClientOptions as AccountClientOptions, type account_ActionApprovalsGetResponse as ActionApprovalsGetResponse, type account_ApiKeysCreateBody as ApiKeysCreateBody, type account_ApiKeysCreateResponse as ApiKeysCreateResponse, type account_ApiKeysRevokeResponse as ApiKeysRevokeResponse, type account_ApplicationsRevokeResponse as ApplicationsRevokeResponse, type account_DevicesRemoveResponse as DevicesRemoveResponse, type account_ErrorSchema as ErrorSchema, type account_MfaSmsRemoveResponse as MfaSmsRemoveResponse, type account_OrganizationsLeaveResponse as OrganizationsLeaveResponse, type account_PasskeysRemoveResponse as PasskeysRemoveResponse, type account_PersonalApiKey as PersonalApiKey, type account_PipesDisconnectResponse as PipesDisconnectResponse, type account_Profile as Profile, type account_ProfileUpdateBody as ProfileUpdateBody, type account_ProfileUpdateResponse as ProfileUpdateResponse, type account_SessionsRevokeOthersResponse as SessionsRevokeOthersResponse, type account_SessionsRevokeResponse as SessionsRevokeResponse, type account_SessionsRevoked as SessionsRevoked, type account_SocialUnlinkResponse as SocialUnlinkResponse, account_accountOperations as accountOperations };
|
|
10729
13230
|
}
|
|
10730
13231
|
|
|
10731
13232
|
/**
|
|
@@ -10920,4 +13421,34 @@ declare function verifyAuditLogChain(client: EnvironmentClient, query: {
|
|
|
10920
13421
|
limit?: number;
|
|
10921
13422
|
}, options?: VerifyAuditChainOptions): Promise<AuditChainVerification>;
|
|
10922
13423
|
|
|
10923
|
-
|
|
13424
|
+
/**
|
|
13425
|
+
* Fine-grained authorization helpers for `env.fga.*`.
|
|
13426
|
+
*
|
|
13427
|
+
* The batch check (`env.fga.checkBatch({ checks })`) takes each check in the tuple notation
|
|
13428
|
+
* — `document:readme#viewer@user:alice`, or `folder:policies#viewer@group:eng#member` for a
|
|
13429
|
+
* userset. {@link fgaTuple} writes that notation from the same object `env.fga.tuples.write`
|
|
13430
|
+
* takes, so a page that writes tuples and checks them speaks one shape.
|
|
13431
|
+
*/
|
|
13432
|
+
/** A subject: one user (`{ type: 'user', id: 'alice' }`) or a userset (`relation: 'member'`). */
|
|
13433
|
+
interface FgaSubjectRef {
|
|
13434
|
+
type: string;
|
|
13435
|
+
id: string;
|
|
13436
|
+
relation?: string | null;
|
|
13437
|
+
}
|
|
13438
|
+
/** One relationship: `resource_type:resource_id#relation@subject`. */
|
|
13439
|
+
interface FgaTupleRef {
|
|
13440
|
+
resource_type: string;
|
|
13441
|
+
resource_id: string;
|
|
13442
|
+
relation: string;
|
|
13443
|
+
subject: FgaSubjectRef;
|
|
13444
|
+
}
|
|
13445
|
+
/**
|
|
13446
|
+
* Write a tuple in the notation the batch check and the console use:
|
|
13447
|
+
* `document:readme#viewer@user:alice`, `folder:policies#viewer@group:eng#member`.
|
|
13448
|
+
*
|
|
13449
|
+
* Refuses a part that contains `#`, `@`, `:` (in a type or relation) or whitespace — the
|
|
13450
|
+
* notation has no escaping, so such a part would be read back as a different tuple.
|
|
13451
|
+
*/
|
|
13452
|
+
declare function fgaTuple(tuple: FgaTupleRef): string;
|
|
13453
|
+
|
|
13454
|
+
export { AUDIT_CHAIN_GENESIS, account as AccountApi, AccountClient, type AccountClientOptions, type ApiResponse, type ApprovalContext, ApprovalDeniedError, ApprovalError, ApprovalExpiredError, type AuditChainVerification, type AuditEventHashInput, type AuditLogEventInput, AuditLogExportError, type AuditLogExportOptions, type AuditLogRecord, AuditLogger, type AuditLoggerOptions, type CallOptions, CboxIdApiError, CboxIdError, type CursorPageMeta, type DPoPSigner, type Danger, environment as EnvironmentApi, EnvironmentClient, type EnvironmentClientOptions, type FgaSubjectRef, type FgaTupleRef, MAX_AUDIT_BATCH, type ManagementClientOptions, ManagementNetworkError, ManagementTransport, type NumberedPageMeta, type OperationSpec, type Outcome, type Pagination, type PendingApproval, type PendingApprovalResult, type Plane, platform as PlatformApi, PlatformClient, type PlatformClientOptions, type RetryOptions, type VerifyAuditChainOptions, workspace as WorkspaceApi, WorkspaceClient, type WorkspaceClientOptions, accountOperations, auditEventDocument, auditEventHash, canonicalJson, createDPoPSigner, environmentOperations, exportAuditLogs, fgaTuple, generateDPoPKeyPair, platformOperations, retryAfterMs, verifyAuditChain, verifyAuditLogChain, workspaceOperations };
|