@amerged/ohmyhost-mcp 0.1.49 → 0.1.52
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 +1 -1
- package/dist/{chunk-GLPFLQD6.js → chunk-EAD7RRAF.js} +5 -5
- package/dist/index.js +1 -1
- package/dist/stdio-main.js +555 -5
- package/package.json +1 -1
- package/src/apps/mcp/package.json +1 -1
- package/src/apps/mcp/src/local-client.ts +5 -0
- package/src/apps/mcp/src/local-server.ts +307 -1
- package/src/apps/product-cli/package.json +1 -1
- package/src/apps/product-cli/src/cli.ts +22 -0
- package/src/apps/product-cli/src/command.ts +235 -0
- package/src/apps/product-cli/src/composition.ts +7 -2
- package/src/apps/product-cli/src/index.ts +1 -0
- package/src/apps/product-cli/src/native-auth.ts +172 -0
- package/src/apps/product-cli/src/product-api.ts +6 -0
- package/src/packages/agent-skills/src/generated-skill-resources.ts +4 -4
- package/src/packages/contracts/package.json +10 -0
- package/src/packages/contracts/src/framework-admission.ts +5 -0
- package/src/packages/contracts/src/framework-source-rules.ts +9 -0
- package/src/packages/contracts/src/index.ts +1 -1
- package/src/packages/contracts/src/native-auth.ts +158 -0
- package/src/packages/contracts/src/previews.ts +179 -0
- package/src/packages/contracts/src/problem-policy.ts +8 -1
- package/src/packages/contracts/src/project-exports.ts +11 -3
- package/src/packages/sdk-ts/package.json +1 -1
- package/src/packages/sdk-ts/src/generated/index.ts +81 -0
- package/src/packages/sdk-ts/src/generated/sdk.gen.ts +604 -0
- package/src/packages/sdk-ts/src/generated/types.gen.ts +995 -4
- package/src/packages/workos-auth-contracts/src/webhooks.ts +30 -13
|
@@ -4,6 +4,92 @@ export type ClientOptions = {
|
|
|
4
4
|
baseUrl: "https://app.ohmyho.st" | "https://dev.app.ohmyho.st" | (string & {});
|
|
5
5
|
};
|
|
6
6
|
|
|
7
|
+
export type NativeAuthConfiguration = {
|
|
8
|
+
/**
|
|
9
|
+
* Persistent Owner setting; source deployment cannot clear a pause.
|
|
10
|
+
*/
|
|
11
|
+
enabled: boolean;
|
|
12
|
+
configurationRevision: number;
|
|
13
|
+
revocationEpoch: number;
|
|
14
|
+
signupPolicy: "open" | "invite-only";
|
|
15
|
+
canonicalOrigin: string | null;
|
|
16
|
+
applicationName: string;
|
|
17
|
+
allowedRedirectPaths: Array<NativeAuthRedirectPath>;
|
|
18
|
+
resetPasswordPath: NativeAuthRedirectPath;
|
|
19
|
+
invitationPath: NativeAuthRedirectPath;
|
|
20
|
+
readiness: {
|
|
21
|
+
paid: boolean;
|
|
22
|
+
sender: boolean;
|
|
23
|
+
origin: boolean;
|
|
24
|
+
storage: boolean;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* The revision must match current configuration; a stale write returns 409. Omitted optional values are preserved. A null canonicalOrigin selects the primary origin; explicit origins must be currently approved for this project and environment. Changing origin advances the revocation epoch. Both form paths must be in the resulting redirect allowlist.
|
|
30
|
+
*/
|
|
31
|
+
export type NativeAuthConfigurationUpdate = {
|
|
32
|
+
configurationRevision: number;
|
|
33
|
+
enabled: boolean;
|
|
34
|
+
signupPolicy: "open" | "invite-only";
|
|
35
|
+
applicationName: string;
|
|
36
|
+
canonicalOrigin?: string | null;
|
|
37
|
+
allowedRedirectPaths?: Array<NativeAuthRedirectPath>;
|
|
38
|
+
resetPasswordPath?: NativeAuthRedirectPath;
|
|
39
|
+
invitationPath?: NativeAuthRedirectPath;
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Absolute application path without query, fragment, percent escapes, backslashes or dot segments.
|
|
44
|
+
*/
|
|
45
|
+
export type NativeAuthRedirectPath = string;
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Configuration presence does not establish provider approval or a successful flow.
|
|
49
|
+
*/
|
|
50
|
+
export type NativeAuthProviderStatus = {
|
|
51
|
+
provider: "google" | "github";
|
|
52
|
+
enabled: boolean;
|
|
53
|
+
configured: boolean;
|
|
54
|
+
clientId: string | null;
|
|
55
|
+
secretPresent: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Null until a canonical origin is ready.
|
|
58
|
+
*/
|
|
59
|
+
callbackUrl: string | null;
|
|
60
|
+
scopes: Array<string>;
|
|
61
|
+
lastSuccessfulFlowAt: string | null;
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* The revision must match current configuration. Secrets are write-only and never echoed in responses or replay receipts.
|
|
66
|
+
*/
|
|
67
|
+
export type NativeAuthProviderUpdate = {
|
|
68
|
+
configurationRevision: number;
|
|
69
|
+
enabled: boolean;
|
|
70
|
+
clientId?: string;
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
export type NativeAuthUser = {
|
|
74
|
+
id: string;
|
|
75
|
+
email: string;
|
|
76
|
+
status: "pending" | "active" | "suspended";
|
|
77
|
+
recoveryAvailable: boolean;
|
|
78
|
+
createdAt: string;
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Creates a pending user and sends an invitation; never accepts an operator-chosen password.
|
|
83
|
+
*/
|
|
84
|
+
export type NativeAuthUserCreate = {
|
|
85
|
+
email: string;
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
export type NativeAuthUserPage = {
|
|
89
|
+
items: Array<NativeAuthUser>;
|
|
90
|
+
nextCursor: string | null;
|
|
91
|
+
};
|
|
92
|
+
|
|
7
93
|
export type WorkspaceMailDomain = {
|
|
8
94
|
domain_id: Ulid;
|
|
9
95
|
organization_id: Ulid;
|
|
@@ -1756,7 +1842,8 @@ export type ProblemDetails = {
|
|
|
1756
1842
|
| "data_change_in_progress"
|
|
1757
1843
|
| "data_change_not_applicable"
|
|
1758
1844
|
| "rollback_target_data_changed"
|
|
1759
|
-
| "project_domain_delete_required"
|
|
1845
|
+
| "project_domain_delete_required"
|
|
1846
|
+
| "native_domain_sync_pending";
|
|
1760
1847
|
request_id: string;
|
|
1761
1848
|
retryable: boolean;
|
|
1762
1849
|
/**
|
|
@@ -1922,9 +2009,18 @@ export type ProjectExportArchive = {
|
|
|
1922
2009
|
bytes: number;
|
|
1923
2010
|
sha256: string;
|
|
1924
2011
|
/**
|
|
1925
|
-
* dev.sql and/or prod.sql for isolated data, or shared.sql alone.
|
|
1926
|
-
*/
|
|
1927
|
-
sql_files:
|
|
2012
|
+
* dev.sql and/or prod.sql for isolated data, or shared.sql for shared data; auth.sql may accompany either or stand alone.
|
|
2013
|
+
*/
|
|
2014
|
+
sql_files:
|
|
2015
|
+
| ["dev.sql"]
|
|
2016
|
+
| ["prod.sql"]
|
|
2017
|
+
| ["dev.sql", "prod.sql"]
|
|
2018
|
+
| ["shared.sql"]
|
|
2019
|
+
| ["auth.sql"]
|
|
2020
|
+
| ["dev.sql", "auth.sql"]
|
|
2021
|
+
| ["prod.sql", "auth.sql"]
|
|
2022
|
+
| ["dev.sql", "prod.sql", "auth.sql"]
|
|
2023
|
+
| ["shared.sql", "auth.sql"];
|
|
1928
2024
|
captured_at: string;
|
|
1929
2025
|
expires_at: string;
|
|
1930
2026
|
download_url: string | null;
|
|
@@ -2037,6 +2133,19 @@ export type ProjectDataChangePlan = {
|
|
|
2037
2133
|
expires_at: string;
|
|
2038
2134
|
};
|
|
2039
2135
|
|
|
2136
|
+
/**
|
|
2137
|
+
* The revision must match current configuration. Secrets are write-only and never echoed in responses or replay receipts.
|
|
2138
|
+
*/
|
|
2139
|
+
export type NativeAuthProviderUpdateWritable = {
|
|
2140
|
+
configurationRevision: number;
|
|
2141
|
+
enabled: boolean;
|
|
2142
|
+
clientId?: string;
|
|
2143
|
+
/**
|
|
2144
|
+
* At most 5120 UTF-8 bytes. The value is accepted only by this write-only operation.
|
|
2145
|
+
*/
|
|
2146
|
+
clientSecret?: string;
|
|
2147
|
+
};
|
|
2148
|
+
|
|
2040
2149
|
/**
|
|
2041
2150
|
* A platform event type, data.<topic> for the rows of one watched table, or data.* for every watched table. A bare * is not accepted and never matches data events.
|
|
2042
2151
|
*/
|
|
@@ -2211,6 +2320,888 @@ export type ProjectFilter = Ulid;
|
|
|
2211
2320
|
*/
|
|
2212
2321
|
export type OperationFilter = Ulid;
|
|
2213
2322
|
|
|
2323
|
+
export type GetNativeAuthConfigurationData = {
|
|
2324
|
+
body?: never;
|
|
2325
|
+
headers?: {
|
|
2326
|
+
/**
|
|
2327
|
+
* Optional caller-provided correlation identifier.
|
|
2328
|
+
*/
|
|
2329
|
+
"X-Request-Id"?: string;
|
|
2330
|
+
};
|
|
2331
|
+
path: {
|
|
2332
|
+
/**
|
|
2333
|
+
* Project identifier.
|
|
2334
|
+
*/
|
|
2335
|
+
project_id: Ulid;
|
|
2336
|
+
/**
|
|
2337
|
+
* Environment identifier.
|
|
2338
|
+
*/
|
|
2339
|
+
environment_id: Ulid;
|
|
2340
|
+
};
|
|
2341
|
+
query?: never;
|
|
2342
|
+
url: "/v1/projects/{project_id}/environments/{environment_id}/auth";
|
|
2343
|
+
};
|
|
2344
|
+
|
|
2345
|
+
export type GetNativeAuthConfigurationErrors = {
|
|
2346
|
+
/**
|
|
2347
|
+
* The request failed.
|
|
2348
|
+
*/
|
|
2349
|
+
400: ProblemDetails;
|
|
2350
|
+
/**
|
|
2351
|
+
* The request failed.
|
|
2352
|
+
*/
|
|
2353
|
+
401: ProblemDetails;
|
|
2354
|
+
/**
|
|
2355
|
+
* The request failed.
|
|
2356
|
+
*/
|
|
2357
|
+
402: ProblemDetails;
|
|
2358
|
+
/**
|
|
2359
|
+
* The request failed.
|
|
2360
|
+
*/
|
|
2361
|
+
403: ProblemDetails;
|
|
2362
|
+
/**
|
|
2363
|
+
* The resource does not exist or is not visible to the authenticated principal.
|
|
2364
|
+
*/
|
|
2365
|
+
404: ProblemDetails;
|
|
2366
|
+
/**
|
|
2367
|
+
* The request failed.
|
|
2368
|
+
*/
|
|
2369
|
+
409: ProblemDetails;
|
|
2370
|
+
/**
|
|
2371
|
+
* The request failed.
|
|
2372
|
+
*/
|
|
2373
|
+
429: ProblemDetails;
|
|
2374
|
+
/**
|
|
2375
|
+
* The request failed.
|
|
2376
|
+
*/
|
|
2377
|
+
503: ProblemDetails;
|
|
2378
|
+
};
|
|
2379
|
+
|
|
2380
|
+
export type GetNativeAuthConfigurationError =
|
|
2381
|
+
GetNativeAuthConfigurationErrors[keyof GetNativeAuthConfigurationErrors];
|
|
2382
|
+
|
|
2383
|
+
export type GetNativeAuthConfigurationResponses = {
|
|
2384
|
+
/**
|
|
2385
|
+
* Current authorized resource.
|
|
2386
|
+
*/
|
|
2387
|
+
200: NativeAuthConfiguration;
|
|
2388
|
+
};
|
|
2389
|
+
|
|
2390
|
+
export type GetNativeAuthConfigurationResponse =
|
|
2391
|
+
GetNativeAuthConfigurationResponses[keyof GetNativeAuthConfigurationResponses];
|
|
2392
|
+
|
|
2393
|
+
export type UpdateNativeAuthConfigurationData = {
|
|
2394
|
+
body: NativeAuthConfigurationUpdate;
|
|
2395
|
+
headers: {
|
|
2396
|
+
/**
|
|
2397
|
+
* Optional caller-provided correlation identifier.
|
|
2398
|
+
*/
|
|
2399
|
+
"X-Request-Id"?: string;
|
|
2400
|
+
/**
|
|
2401
|
+
* Identifies one mutation and its canonical request payload.
|
|
2402
|
+
*/
|
|
2403
|
+
"Idempotency-Key": string;
|
|
2404
|
+
};
|
|
2405
|
+
path: {
|
|
2406
|
+
/**
|
|
2407
|
+
* Project identifier.
|
|
2408
|
+
*/
|
|
2409
|
+
project_id: Ulid;
|
|
2410
|
+
/**
|
|
2411
|
+
* Environment identifier.
|
|
2412
|
+
*/
|
|
2413
|
+
environment_id: Ulid;
|
|
2414
|
+
};
|
|
2415
|
+
query?: never;
|
|
2416
|
+
url: "/v1/projects/{project_id}/environments/{environment_id}/auth";
|
|
2417
|
+
};
|
|
2418
|
+
|
|
2419
|
+
export type UpdateNativeAuthConfigurationErrors = {
|
|
2420
|
+
/**
|
|
2421
|
+
* The request failed.
|
|
2422
|
+
*/
|
|
2423
|
+
400: ProblemDetails;
|
|
2424
|
+
/**
|
|
2425
|
+
* The request failed.
|
|
2426
|
+
*/
|
|
2427
|
+
401: ProblemDetails;
|
|
2428
|
+
/**
|
|
2429
|
+
* The request failed.
|
|
2430
|
+
*/
|
|
2431
|
+
402: ProblemDetails;
|
|
2432
|
+
/**
|
|
2433
|
+
* The request failed.
|
|
2434
|
+
*/
|
|
2435
|
+
403: ProblemDetails;
|
|
2436
|
+
/**
|
|
2437
|
+
* The resource does not exist or is not visible to the authenticated principal.
|
|
2438
|
+
*/
|
|
2439
|
+
404: ProblemDetails;
|
|
2440
|
+
/**
|
|
2441
|
+
* The request failed.
|
|
2442
|
+
*/
|
|
2443
|
+
409: ProblemDetails;
|
|
2444
|
+
/**
|
|
2445
|
+
* The request failed.
|
|
2446
|
+
*/
|
|
2447
|
+
429: ProblemDetails;
|
|
2448
|
+
/**
|
|
2449
|
+
* The request failed.
|
|
2450
|
+
*/
|
|
2451
|
+
503: ProblemDetails;
|
|
2452
|
+
};
|
|
2453
|
+
|
|
2454
|
+
export type UpdateNativeAuthConfigurationError =
|
|
2455
|
+
UpdateNativeAuthConfigurationErrors[keyof UpdateNativeAuthConfigurationErrors];
|
|
2456
|
+
|
|
2457
|
+
export type UpdateNativeAuthConfigurationResponses = {
|
|
2458
|
+
/**
|
|
2459
|
+
* Current authorized resource.
|
|
2460
|
+
*/
|
|
2461
|
+
200: NativeAuthConfiguration;
|
|
2462
|
+
};
|
|
2463
|
+
|
|
2464
|
+
export type UpdateNativeAuthConfigurationResponse =
|
|
2465
|
+
UpdateNativeAuthConfigurationResponses[keyof UpdateNativeAuthConfigurationResponses];
|
|
2466
|
+
|
|
2467
|
+
export type GetNativeAuthProviderData = {
|
|
2468
|
+
body?: never;
|
|
2469
|
+
headers?: {
|
|
2470
|
+
/**
|
|
2471
|
+
* Optional caller-provided correlation identifier.
|
|
2472
|
+
*/
|
|
2473
|
+
"X-Request-Id"?: string;
|
|
2474
|
+
};
|
|
2475
|
+
path: {
|
|
2476
|
+
/**
|
|
2477
|
+
* Project identifier.
|
|
2478
|
+
*/
|
|
2479
|
+
project_id: Ulid;
|
|
2480
|
+
/**
|
|
2481
|
+
* Environment identifier.
|
|
2482
|
+
*/
|
|
2483
|
+
environment_id: Ulid;
|
|
2484
|
+
provider: "google" | "github";
|
|
2485
|
+
};
|
|
2486
|
+
query?: never;
|
|
2487
|
+
url: "/v1/projects/{project_id}/environments/{environment_id}/auth/providers/{provider}";
|
|
2488
|
+
};
|
|
2489
|
+
|
|
2490
|
+
export type GetNativeAuthProviderErrors = {
|
|
2491
|
+
/**
|
|
2492
|
+
* The request failed.
|
|
2493
|
+
*/
|
|
2494
|
+
400: ProblemDetails;
|
|
2495
|
+
/**
|
|
2496
|
+
* The request failed.
|
|
2497
|
+
*/
|
|
2498
|
+
401: ProblemDetails;
|
|
2499
|
+
/**
|
|
2500
|
+
* The request failed.
|
|
2501
|
+
*/
|
|
2502
|
+
402: ProblemDetails;
|
|
2503
|
+
/**
|
|
2504
|
+
* The request failed.
|
|
2505
|
+
*/
|
|
2506
|
+
403: ProblemDetails;
|
|
2507
|
+
/**
|
|
2508
|
+
* The resource does not exist or is not visible to the authenticated principal.
|
|
2509
|
+
*/
|
|
2510
|
+
404: ProblemDetails;
|
|
2511
|
+
/**
|
|
2512
|
+
* The request failed.
|
|
2513
|
+
*/
|
|
2514
|
+
409: ProblemDetails;
|
|
2515
|
+
/**
|
|
2516
|
+
* The request failed.
|
|
2517
|
+
*/
|
|
2518
|
+
429: ProblemDetails;
|
|
2519
|
+
/**
|
|
2520
|
+
* The request failed.
|
|
2521
|
+
*/
|
|
2522
|
+
503: ProblemDetails;
|
|
2523
|
+
};
|
|
2524
|
+
|
|
2525
|
+
export type GetNativeAuthProviderError =
|
|
2526
|
+
GetNativeAuthProviderErrors[keyof GetNativeAuthProviderErrors];
|
|
2527
|
+
|
|
2528
|
+
export type GetNativeAuthProviderResponses = {
|
|
2529
|
+
/**
|
|
2530
|
+
* Current authorized resource.
|
|
2531
|
+
*/
|
|
2532
|
+
200: NativeAuthProviderStatus;
|
|
2533
|
+
};
|
|
2534
|
+
|
|
2535
|
+
export type GetNativeAuthProviderResponse =
|
|
2536
|
+
GetNativeAuthProviderResponses[keyof GetNativeAuthProviderResponses];
|
|
2537
|
+
|
|
2538
|
+
export type UpdateNativeAuthProviderData = {
|
|
2539
|
+
body: NativeAuthProviderUpdateWritable;
|
|
2540
|
+
headers: {
|
|
2541
|
+
/**
|
|
2542
|
+
* Optional caller-provided correlation identifier.
|
|
2543
|
+
*/
|
|
2544
|
+
"X-Request-Id"?: string;
|
|
2545
|
+
/**
|
|
2546
|
+
* Identifies one mutation and its canonical request payload.
|
|
2547
|
+
*/
|
|
2548
|
+
"Idempotency-Key": string;
|
|
2549
|
+
};
|
|
2550
|
+
path: {
|
|
2551
|
+
/**
|
|
2552
|
+
* Project identifier.
|
|
2553
|
+
*/
|
|
2554
|
+
project_id: Ulid;
|
|
2555
|
+
/**
|
|
2556
|
+
* Environment identifier.
|
|
2557
|
+
*/
|
|
2558
|
+
environment_id: Ulid;
|
|
2559
|
+
provider: "google" | "github";
|
|
2560
|
+
};
|
|
2561
|
+
query?: never;
|
|
2562
|
+
url: "/v1/projects/{project_id}/environments/{environment_id}/auth/providers/{provider}";
|
|
2563
|
+
};
|
|
2564
|
+
|
|
2565
|
+
export type UpdateNativeAuthProviderErrors = {
|
|
2566
|
+
/**
|
|
2567
|
+
* The request failed.
|
|
2568
|
+
*/
|
|
2569
|
+
400: ProblemDetails;
|
|
2570
|
+
/**
|
|
2571
|
+
* The request failed.
|
|
2572
|
+
*/
|
|
2573
|
+
401: ProblemDetails;
|
|
2574
|
+
/**
|
|
2575
|
+
* The request failed.
|
|
2576
|
+
*/
|
|
2577
|
+
402: ProblemDetails;
|
|
2578
|
+
/**
|
|
2579
|
+
* The request failed.
|
|
2580
|
+
*/
|
|
2581
|
+
403: ProblemDetails;
|
|
2582
|
+
/**
|
|
2583
|
+
* The resource does not exist or is not visible to the authenticated principal.
|
|
2584
|
+
*/
|
|
2585
|
+
404: ProblemDetails;
|
|
2586
|
+
/**
|
|
2587
|
+
* The request failed.
|
|
2588
|
+
*/
|
|
2589
|
+
409: ProblemDetails;
|
|
2590
|
+
/**
|
|
2591
|
+
* The request failed.
|
|
2592
|
+
*/
|
|
2593
|
+
429: ProblemDetails;
|
|
2594
|
+
/**
|
|
2595
|
+
* The request failed.
|
|
2596
|
+
*/
|
|
2597
|
+
503: ProblemDetails;
|
|
2598
|
+
};
|
|
2599
|
+
|
|
2600
|
+
export type UpdateNativeAuthProviderError =
|
|
2601
|
+
UpdateNativeAuthProviderErrors[keyof UpdateNativeAuthProviderErrors];
|
|
2602
|
+
|
|
2603
|
+
export type UpdateNativeAuthProviderResponses = {
|
|
2604
|
+
/**
|
|
2605
|
+
* Current authorized resource.
|
|
2606
|
+
*/
|
|
2607
|
+
200: NativeAuthProviderStatus;
|
|
2608
|
+
};
|
|
2609
|
+
|
|
2610
|
+
export type UpdateNativeAuthProviderResponse =
|
|
2611
|
+
UpdateNativeAuthProviderResponses[keyof UpdateNativeAuthProviderResponses];
|
|
2612
|
+
|
|
2613
|
+
export type ListNativeAuthUsersData = {
|
|
2614
|
+
body?: never;
|
|
2615
|
+
headers?: {
|
|
2616
|
+
/**
|
|
2617
|
+
* Optional caller-provided correlation identifier.
|
|
2618
|
+
*/
|
|
2619
|
+
"X-Request-Id"?: string;
|
|
2620
|
+
};
|
|
2621
|
+
path: {
|
|
2622
|
+
/**
|
|
2623
|
+
* Project identifier.
|
|
2624
|
+
*/
|
|
2625
|
+
project_id: Ulid;
|
|
2626
|
+
/**
|
|
2627
|
+
* Environment identifier.
|
|
2628
|
+
*/
|
|
2629
|
+
environment_id: Ulid;
|
|
2630
|
+
};
|
|
2631
|
+
query?: {
|
|
2632
|
+
limit?: number;
|
|
2633
|
+
cursor?: string;
|
|
2634
|
+
search?: string;
|
|
2635
|
+
};
|
|
2636
|
+
url: "/v1/projects/{project_id}/environments/{environment_id}/auth/users";
|
|
2637
|
+
};
|
|
2638
|
+
|
|
2639
|
+
export type ListNativeAuthUsersErrors = {
|
|
2640
|
+
/**
|
|
2641
|
+
* The request failed.
|
|
2642
|
+
*/
|
|
2643
|
+
400: ProblemDetails;
|
|
2644
|
+
/**
|
|
2645
|
+
* The request failed.
|
|
2646
|
+
*/
|
|
2647
|
+
401: ProblemDetails;
|
|
2648
|
+
/**
|
|
2649
|
+
* The request failed.
|
|
2650
|
+
*/
|
|
2651
|
+
402: ProblemDetails;
|
|
2652
|
+
/**
|
|
2653
|
+
* The request failed.
|
|
2654
|
+
*/
|
|
2655
|
+
403: ProblemDetails;
|
|
2656
|
+
/**
|
|
2657
|
+
* The resource does not exist or is not visible to the authenticated principal.
|
|
2658
|
+
*/
|
|
2659
|
+
404: ProblemDetails;
|
|
2660
|
+
/**
|
|
2661
|
+
* The request failed.
|
|
2662
|
+
*/
|
|
2663
|
+
409: ProblemDetails;
|
|
2664
|
+
/**
|
|
2665
|
+
* The request failed.
|
|
2666
|
+
*/
|
|
2667
|
+
429: ProblemDetails;
|
|
2668
|
+
/**
|
|
2669
|
+
* The request failed.
|
|
2670
|
+
*/
|
|
2671
|
+
503: ProblemDetails;
|
|
2672
|
+
};
|
|
2673
|
+
|
|
2674
|
+
export type ListNativeAuthUsersError = ListNativeAuthUsersErrors[keyof ListNativeAuthUsersErrors];
|
|
2675
|
+
|
|
2676
|
+
export type ListNativeAuthUsersResponses = {
|
|
2677
|
+
/**
|
|
2678
|
+
* Current authorized resource.
|
|
2679
|
+
*/
|
|
2680
|
+
200: NativeAuthUserPage;
|
|
2681
|
+
};
|
|
2682
|
+
|
|
2683
|
+
export type ListNativeAuthUsersResponse =
|
|
2684
|
+
ListNativeAuthUsersResponses[keyof ListNativeAuthUsersResponses];
|
|
2685
|
+
|
|
2686
|
+
export type CreateNativeAuthUserData = {
|
|
2687
|
+
body: NativeAuthUserCreate;
|
|
2688
|
+
headers: {
|
|
2689
|
+
/**
|
|
2690
|
+
* Optional caller-provided correlation identifier.
|
|
2691
|
+
*/
|
|
2692
|
+
"X-Request-Id"?: string;
|
|
2693
|
+
/**
|
|
2694
|
+
* Identifies one mutation and its canonical request payload.
|
|
2695
|
+
*/
|
|
2696
|
+
"Idempotency-Key": string;
|
|
2697
|
+
};
|
|
2698
|
+
path: {
|
|
2699
|
+
/**
|
|
2700
|
+
* Project identifier.
|
|
2701
|
+
*/
|
|
2702
|
+
project_id: Ulid;
|
|
2703
|
+
/**
|
|
2704
|
+
* Environment identifier.
|
|
2705
|
+
*/
|
|
2706
|
+
environment_id: Ulid;
|
|
2707
|
+
};
|
|
2708
|
+
query?: never;
|
|
2709
|
+
url: "/v1/projects/{project_id}/environments/{environment_id}/auth/users";
|
|
2710
|
+
};
|
|
2711
|
+
|
|
2712
|
+
export type CreateNativeAuthUserErrors = {
|
|
2713
|
+
/**
|
|
2714
|
+
* The request failed.
|
|
2715
|
+
*/
|
|
2716
|
+
400: ProblemDetails;
|
|
2717
|
+
/**
|
|
2718
|
+
* The request failed.
|
|
2719
|
+
*/
|
|
2720
|
+
401: ProblemDetails;
|
|
2721
|
+
/**
|
|
2722
|
+
* The request failed.
|
|
2723
|
+
*/
|
|
2724
|
+
402: ProblemDetails;
|
|
2725
|
+
/**
|
|
2726
|
+
* The request failed.
|
|
2727
|
+
*/
|
|
2728
|
+
403: ProblemDetails;
|
|
2729
|
+
/**
|
|
2730
|
+
* The resource does not exist or is not visible to the authenticated principal.
|
|
2731
|
+
*/
|
|
2732
|
+
404: ProblemDetails;
|
|
2733
|
+
/**
|
|
2734
|
+
* The request failed.
|
|
2735
|
+
*/
|
|
2736
|
+
409: ProblemDetails;
|
|
2737
|
+
/**
|
|
2738
|
+
* The request failed.
|
|
2739
|
+
*/
|
|
2740
|
+
429: ProblemDetails;
|
|
2741
|
+
/**
|
|
2742
|
+
* The request failed.
|
|
2743
|
+
*/
|
|
2744
|
+
503: ProblemDetails;
|
|
2745
|
+
};
|
|
2746
|
+
|
|
2747
|
+
export type CreateNativeAuthUserError =
|
|
2748
|
+
CreateNativeAuthUserErrors[keyof CreateNativeAuthUserErrors];
|
|
2749
|
+
|
|
2750
|
+
export type CreateNativeAuthUserResponses = {
|
|
2751
|
+
/**
|
|
2752
|
+
* Current authorized resource.
|
|
2753
|
+
*/
|
|
2754
|
+
201: NativeAuthUser;
|
|
2755
|
+
};
|
|
2756
|
+
|
|
2757
|
+
export type CreateNativeAuthUserResponse =
|
|
2758
|
+
CreateNativeAuthUserResponses[keyof CreateNativeAuthUserResponses];
|
|
2759
|
+
|
|
2760
|
+
export type DeleteNativeAuthUserData = {
|
|
2761
|
+
body?: never;
|
|
2762
|
+
headers: {
|
|
2763
|
+
/**
|
|
2764
|
+
* Optional caller-provided correlation identifier.
|
|
2765
|
+
*/
|
|
2766
|
+
"X-Request-Id"?: string;
|
|
2767
|
+
/**
|
|
2768
|
+
* Identifies one mutation and its canonical request payload.
|
|
2769
|
+
*/
|
|
2770
|
+
"Idempotency-Key": string;
|
|
2771
|
+
};
|
|
2772
|
+
path: {
|
|
2773
|
+
/**
|
|
2774
|
+
* Project identifier.
|
|
2775
|
+
*/
|
|
2776
|
+
project_id: Ulid;
|
|
2777
|
+
/**
|
|
2778
|
+
* Environment identifier.
|
|
2779
|
+
*/
|
|
2780
|
+
environment_id: Ulid;
|
|
2781
|
+
user_id: string;
|
|
2782
|
+
};
|
|
2783
|
+
query?: never;
|
|
2784
|
+
url: "/v1/projects/{project_id}/environments/{environment_id}/auth/users/{user_id}";
|
|
2785
|
+
};
|
|
2786
|
+
|
|
2787
|
+
export type DeleteNativeAuthUserErrors = {
|
|
2788
|
+
/**
|
|
2789
|
+
* The request failed.
|
|
2790
|
+
*/
|
|
2791
|
+
400: ProblemDetails;
|
|
2792
|
+
/**
|
|
2793
|
+
* The request failed.
|
|
2794
|
+
*/
|
|
2795
|
+
401: ProblemDetails;
|
|
2796
|
+
/**
|
|
2797
|
+
* The request failed.
|
|
2798
|
+
*/
|
|
2799
|
+
402: ProblemDetails;
|
|
2800
|
+
/**
|
|
2801
|
+
* The request failed.
|
|
2802
|
+
*/
|
|
2803
|
+
403: ProblemDetails;
|
|
2804
|
+
/**
|
|
2805
|
+
* The resource does not exist or is not visible to the authenticated principal.
|
|
2806
|
+
*/
|
|
2807
|
+
404: ProblemDetails;
|
|
2808
|
+
/**
|
|
2809
|
+
* The request failed.
|
|
2810
|
+
*/
|
|
2811
|
+
409: ProblemDetails;
|
|
2812
|
+
/**
|
|
2813
|
+
* The request failed.
|
|
2814
|
+
*/
|
|
2815
|
+
429: ProblemDetails;
|
|
2816
|
+
/**
|
|
2817
|
+
* The request failed.
|
|
2818
|
+
*/
|
|
2819
|
+
503: ProblemDetails;
|
|
2820
|
+
};
|
|
2821
|
+
|
|
2822
|
+
export type DeleteNativeAuthUserError =
|
|
2823
|
+
DeleteNativeAuthUserErrors[keyof DeleteNativeAuthUserErrors];
|
|
2824
|
+
|
|
2825
|
+
export type DeleteNativeAuthUserResponses = {
|
|
2826
|
+
/**
|
|
2827
|
+
* User deleted and sessions revoked.
|
|
2828
|
+
*/
|
|
2829
|
+
204: void;
|
|
2830
|
+
};
|
|
2831
|
+
|
|
2832
|
+
export type DeleteNativeAuthUserResponse =
|
|
2833
|
+
DeleteNativeAuthUserResponses[keyof DeleteNativeAuthUserResponses];
|
|
2834
|
+
|
|
2835
|
+
export type GetNativeAuthUserData = {
|
|
2836
|
+
body?: never;
|
|
2837
|
+
headers?: {
|
|
2838
|
+
/**
|
|
2839
|
+
* Optional caller-provided correlation identifier.
|
|
2840
|
+
*/
|
|
2841
|
+
"X-Request-Id"?: string;
|
|
2842
|
+
};
|
|
2843
|
+
path: {
|
|
2844
|
+
/**
|
|
2845
|
+
* Project identifier.
|
|
2846
|
+
*/
|
|
2847
|
+
project_id: Ulid;
|
|
2848
|
+
/**
|
|
2849
|
+
* Environment identifier.
|
|
2850
|
+
*/
|
|
2851
|
+
environment_id: Ulid;
|
|
2852
|
+
user_id: string;
|
|
2853
|
+
};
|
|
2854
|
+
query?: never;
|
|
2855
|
+
url: "/v1/projects/{project_id}/environments/{environment_id}/auth/users/{user_id}";
|
|
2856
|
+
};
|
|
2857
|
+
|
|
2858
|
+
export type GetNativeAuthUserErrors = {
|
|
2859
|
+
/**
|
|
2860
|
+
* The request failed.
|
|
2861
|
+
*/
|
|
2862
|
+
400: ProblemDetails;
|
|
2863
|
+
/**
|
|
2864
|
+
* The request failed.
|
|
2865
|
+
*/
|
|
2866
|
+
401: ProblemDetails;
|
|
2867
|
+
/**
|
|
2868
|
+
* The request failed.
|
|
2869
|
+
*/
|
|
2870
|
+
402: ProblemDetails;
|
|
2871
|
+
/**
|
|
2872
|
+
* The request failed.
|
|
2873
|
+
*/
|
|
2874
|
+
403: ProblemDetails;
|
|
2875
|
+
/**
|
|
2876
|
+
* The resource does not exist or is not visible to the authenticated principal.
|
|
2877
|
+
*/
|
|
2878
|
+
404: ProblemDetails;
|
|
2879
|
+
/**
|
|
2880
|
+
* The request failed.
|
|
2881
|
+
*/
|
|
2882
|
+
409: ProblemDetails;
|
|
2883
|
+
/**
|
|
2884
|
+
* The request failed.
|
|
2885
|
+
*/
|
|
2886
|
+
429: ProblemDetails;
|
|
2887
|
+
/**
|
|
2888
|
+
* The request failed.
|
|
2889
|
+
*/
|
|
2890
|
+
503: ProblemDetails;
|
|
2891
|
+
};
|
|
2892
|
+
|
|
2893
|
+
export type GetNativeAuthUserError = GetNativeAuthUserErrors[keyof GetNativeAuthUserErrors];
|
|
2894
|
+
|
|
2895
|
+
export type GetNativeAuthUserResponses = {
|
|
2896
|
+
/**
|
|
2897
|
+
* Current authorized resource.
|
|
2898
|
+
*/
|
|
2899
|
+
200: NativeAuthUser;
|
|
2900
|
+
};
|
|
2901
|
+
|
|
2902
|
+
export type GetNativeAuthUserResponse =
|
|
2903
|
+
GetNativeAuthUserResponses[keyof GetNativeAuthUserResponses];
|
|
2904
|
+
|
|
2905
|
+
export type ResendNativeAuthInvitationData = {
|
|
2906
|
+
body?: never;
|
|
2907
|
+
headers: {
|
|
2908
|
+
/**
|
|
2909
|
+
* Optional caller-provided correlation identifier.
|
|
2910
|
+
*/
|
|
2911
|
+
"X-Request-Id"?: string;
|
|
2912
|
+
/**
|
|
2913
|
+
* Identifies one mutation and its canonical request payload.
|
|
2914
|
+
*/
|
|
2915
|
+
"Idempotency-Key": string;
|
|
2916
|
+
};
|
|
2917
|
+
path: {
|
|
2918
|
+
/**
|
|
2919
|
+
* Project identifier.
|
|
2920
|
+
*/
|
|
2921
|
+
project_id: Ulid;
|
|
2922
|
+
/**
|
|
2923
|
+
* Environment identifier.
|
|
2924
|
+
*/
|
|
2925
|
+
environment_id: Ulid;
|
|
2926
|
+
user_id: string;
|
|
2927
|
+
};
|
|
2928
|
+
query?: never;
|
|
2929
|
+
url: "/v1/projects/{project_id}/environments/{environment_id}/auth/users/{user_id}/invite";
|
|
2930
|
+
};
|
|
2931
|
+
|
|
2932
|
+
export type ResendNativeAuthInvitationErrors = {
|
|
2933
|
+
/**
|
|
2934
|
+
* The request failed.
|
|
2935
|
+
*/
|
|
2936
|
+
400: ProblemDetails;
|
|
2937
|
+
/**
|
|
2938
|
+
* The request failed.
|
|
2939
|
+
*/
|
|
2940
|
+
401: ProblemDetails;
|
|
2941
|
+
/**
|
|
2942
|
+
* The request failed.
|
|
2943
|
+
*/
|
|
2944
|
+
402: ProblemDetails;
|
|
2945
|
+
/**
|
|
2946
|
+
* The request failed.
|
|
2947
|
+
*/
|
|
2948
|
+
403: ProblemDetails;
|
|
2949
|
+
/**
|
|
2950
|
+
* The resource does not exist or is not visible to the authenticated principal.
|
|
2951
|
+
*/
|
|
2952
|
+
404: ProblemDetails;
|
|
2953
|
+
/**
|
|
2954
|
+
* The request failed.
|
|
2955
|
+
*/
|
|
2956
|
+
409: ProblemDetails;
|
|
2957
|
+
/**
|
|
2958
|
+
* The request failed.
|
|
2959
|
+
*/
|
|
2960
|
+
429: ProblemDetails;
|
|
2961
|
+
/**
|
|
2962
|
+
* The request failed.
|
|
2963
|
+
*/
|
|
2964
|
+
503: ProblemDetails;
|
|
2965
|
+
};
|
|
2966
|
+
|
|
2967
|
+
export type ResendNativeAuthInvitationError =
|
|
2968
|
+
ResendNativeAuthInvitationErrors[keyof ResendNativeAuthInvitationErrors];
|
|
2969
|
+
|
|
2970
|
+
export type ResendNativeAuthInvitationResponses = {
|
|
2971
|
+
/**
|
|
2972
|
+
* Current authorized resource.
|
|
2973
|
+
*/
|
|
2974
|
+
200: NativeAuthUser;
|
|
2975
|
+
};
|
|
2976
|
+
|
|
2977
|
+
export type ResendNativeAuthInvitationResponse =
|
|
2978
|
+
ResendNativeAuthInvitationResponses[keyof ResendNativeAuthInvitationResponses];
|
|
2979
|
+
|
|
2980
|
+
export type SuspendNativeAuthUserData = {
|
|
2981
|
+
body?: never;
|
|
2982
|
+
headers: {
|
|
2983
|
+
/**
|
|
2984
|
+
* Optional caller-provided correlation identifier.
|
|
2985
|
+
*/
|
|
2986
|
+
"X-Request-Id"?: string;
|
|
2987
|
+
/**
|
|
2988
|
+
* Identifies one mutation and its canonical request payload.
|
|
2989
|
+
*/
|
|
2990
|
+
"Idempotency-Key": string;
|
|
2991
|
+
};
|
|
2992
|
+
path: {
|
|
2993
|
+
/**
|
|
2994
|
+
* Project identifier.
|
|
2995
|
+
*/
|
|
2996
|
+
project_id: Ulid;
|
|
2997
|
+
/**
|
|
2998
|
+
* Environment identifier.
|
|
2999
|
+
*/
|
|
3000
|
+
environment_id: Ulid;
|
|
3001
|
+
user_id: string;
|
|
3002
|
+
};
|
|
3003
|
+
query?: never;
|
|
3004
|
+
url: "/v1/projects/{project_id}/environments/{environment_id}/auth/users/{user_id}/suspend";
|
|
3005
|
+
};
|
|
3006
|
+
|
|
3007
|
+
export type SuspendNativeAuthUserErrors = {
|
|
3008
|
+
/**
|
|
3009
|
+
* The request failed.
|
|
3010
|
+
*/
|
|
3011
|
+
400: ProblemDetails;
|
|
3012
|
+
/**
|
|
3013
|
+
* The request failed.
|
|
3014
|
+
*/
|
|
3015
|
+
401: ProblemDetails;
|
|
3016
|
+
/**
|
|
3017
|
+
* The request failed.
|
|
3018
|
+
*/
|
|
3019
|
+
402: ProblemDetails;
|
|
3020
|
+
/**
|
|
3021
|
+
* The request failed.
|
|
3022
|
+
*/
|
|
3023
|
+
403: ProblemDetails;
|
|
3024
|
+
/**
|
|
3025
|
+
* The resource does not exist or is not visible to the authenticated principal.
|
|
3026
|
+
*/
|
|
3027
|
+
404: ProblemDetails;
|
|
3028
|
+
/**
|
|
3029
|
+
* The request failed.
|
|
3030
|
+
*/
|
|
3031
|
+
409: ProblemDetails;
|
|
3032
|
+
/**
|
|
3033
|
+
* The request failed.
|
|
3034
|
+
*/
|
|
3035
|
+
429: ProblemDetails;
|
|
3036
|
+
/**
|
|
3037
|
+
* The request failed.
|
|
3038
|
+
*/
|
|
3039
|
+
503: ProblemDetails;
|
|
3040
|
+
};
|
|
3041
|
+
|
|
3042
|
+
export type SuspendNativeAuthUserError =
|
|
3043
|
+
SuspendNativeAuthUserErrors[keyof SuspendNativeAuthUserErrors];
|
|
3044
|
+
|
|
3045
|
+
export type SuspendNativeAuthUserResponses = {
|
|
3046
|
+
/**
|
|
3047
|
+
* Current authorized resource.
|
|
3048
|
+
*/
|
|
3049
|
+
200: NativeAuthUser;
|
|
3050
|
+
};
|
|
3051
|
+
|
|
3052
|
+
export type SuspendNativeAuthUserResponse =
|
|
3053
|
+
SuspendNativeAuthUserResponses[keyof SuspendNativeAuthUserResponses];
|
|
3054
|
+
|
|
3055
|
+
export type ReactivateNativeAuthUserData = {
|
|
3056
|
+
body?: never;
|
|
3057
|
+
headers: {
|
|
3058
|
+
/**
|
|
3059
|
+
* Optional caller-provided correlation identifier.
|
|
3060
|
+
*/
|
|
3061
|
+
"X-Request-Id"?: string;
|
|
3062
|
+
/**
|
|
3063
|
+
* Identifies one mutation and its canonical request payload.
|
|
3064
|
+
*/
|
|
3065
|
+
"Idempotency-Key": string;
|
|
3066
|
+
};
|
|
3067
|
+
path: {
|
|
3068
|
+
/**
|
|
3069
|
+
* Project identifier.
|
|
3070
|
+
*/
|
|
3071
|
+
project_id: Ulid;
|
|
3072
|
+
/**
|
|
3073
|
+
* Environment identifier.
|
|
3074
|
+
*/
|
|
3075
|
+
environment_id: Ulid;
|
|
3076
|
+
user_id: string;
|
|
3077
|
+
};
|
|
3078
|
+
query?: never;
|
|
3079
|
+
url: "/v1/projects/{project_id}/environments/{environment_id}/auth/users/{user_id}/reactivate";
|
|
3080
|
+
};
|
|
3081
|
+
|
|
3082
|
+
export type ReactivateNativeAuthUserErrors = {
|
|
3083
|
+
/**
|
|
3084
|
+
* The request failed.
|
|
3085
|
+
*/
|
|
3086
|
+
400: ProblemDetails;
|
|
3087
|
+
/**
|
|
3088
|
+
* The request failed.
|
|
3089
|
+
*/
|
|
3090
|
+
401: ProblemDetails;
|
|
3091
|
+
/**
|
|
3092
|
+
* The request failed.
|
|
3093
|
+
*/
|
|
3094
|
+
402: ProblemDetails;
|
|
3095
|
+
/**
|
|
3096
|
+
* The request failed.
|
|
3097
|
+
*/
|
|
3098
|
+
403: ProblemDetails;
|
|
3099
|
+
/**
|
|
3100
|
+
* The resource does not exist or is not visible to the authenticated principal.
|
|
3101
|
+
*/
|
|
3102
|
+
404: ProblemDetails;
|
|
3103
|
+
/**
|
|
3104
|
+
* The request failed.
|
|
3105
|
+
*/
|
|
3106
|
+
409: ProblemDetails;
|
|
3107
|
+
/**
|
|
3108
|
+
* The request failed.
|
|
3109
|
+
*/
|
|
3110
|
+
429: ProblemDetails;
|
|
3111
|
+
/**
|
|
3112
|
+
* The request failed.
|
|
3113
|
+
*/
|
|
3114
|
+
503: ProblemDetails;
|
|
3115
|
+
};
|
|
3116
|
+
|
|
3117
|
+
export type ReactivateNativeAuthUserError =
|
|
3118
|
+
ReactivateNativeAuthUserErrors[keyof ReactivateNativeAuthUserErrors];
|
|
3119
|
+
|
|
3120
|
+
export type ReactivateNativeAuthUserResponses = {
|
|
3121
|
+
/**
|
|
3122
|
+
* Current authorized resource.
|
|
3123
|
+
*/
|
|
3124
|
+
200: NativeAuthUser;
|
|
3125
|
+
};
|
|
3126
|
+
|
|
3127
|
+
export type ReactivateNativeAuthUserResponse =
|
|
3128
|
+
ReactivateNativeAuthUserResponses[keyof ReactivateNativeAuthUserResponses];
|
|
3129
|
+
|
|
3130
|
+
export type RevokeNativeAuthUserSessionsData = {
|
|
3131
|
+
body?: never;
|
|
3132
|
+
headers: {
|
|
3133
|
+
/**
|
|
3134
|
+
* Optional caller-provided correlation identifier.
|
|
3135
|
+
*/
|
|
3136
|
+
"X-Request-Id"?: string;
|
|
3137
|
+
/**
|
|
3138
|
+
* Identifies one mutation and its canonical request payload.
|
|
3139
|
+
*/
|
|
3140
|
+
"Idempotency-Key": string;
|
|
3141
|
+
};
|
|
3142
|
+
path: {
|
|
3143
|
+
/**
|
|
3144
|
+
* Project identifier.
|
|
3145
|
+
*/
|
|
3146
|
+
project_id: Ulid;
|
|
3147
|
+
/**
|
|
3148
|
+
* Environment identifier.
|
|
3149
|
+
*/
|
|
3150
|
+
environment_id: Ulid;
|
|
3151
|
+
user_id: string;
|
|
3152
|
+
};
|
|
3153
|
+
query?: never;
|
|
3154
|
+
url: "/v1/projects/{project_id}/environments/{environment_id}/auth/users/{user_id}/revoke-sessions";
|
|
3155
|
+
};
|
|
3156
|
+
|
|
3157
|
+
export type RevokeNativeAuthUserSessionsErrors = {
|
|
3158
|
+
/**
|
|
3159
|
+
* The request failed.
|
|
3160
|
+
*/
|
|
3161
|
+
400: ProblemDetails;
|
|
3162
|
+
/**
|
|
3163
|
+
* The request failed.
|
|
3164
|
+
*/
|
|
3165
|
+
401: ProblemDetails;
|
|
3166
|
+
/**
|
|
3167
|
+
* The request failed.
|
|
3168
|
+
*/
|
|
3169
|
+
402: ProblemDetails;
|
|
3170
|
+
/**
|
|
3171
|
+
* The request failed.
|
|
3172
|
+
*/
|
|
3173
|
+
403: ProblemDetails;
|
|
3174
|
+
/**
|
|
3175
|
+
* The resource does not exist or is not visible to the authenticated principal.
|
|
3176
|
+
*/
|
|
3177
|
+
404: ProblemDetails;
|
|
3178
|
+
/**
|
|
3179
|
+
* The request failed.
|
|
3180
|
+
*/
|
|
3181
|
+
409: ProblemDetails;
|
|
3182
|
+
/**
|
|
3183
|
+
* The request failed.
|
|
3184
|
+
*/
|
|
3185
|
+
429: ProblemDetails;
|
|
3186
|
+
/**
|
|
3187
|
+
* The request failed.
|
|
3188
|
+
*/
|
|
3189
|
+
503: ProblemDetails;
|
|
3190
|
+
};
|
|
3191
|
+
|
|
3192
|
+
export type RevokeNativeAuthUserSessionsError =
|
|
3193
|
+
RevokeNativeAuthUserSessionsErrors[keyof RevokeNativeAuthUserSessionsErrors];
|
|
3194
|
+
|
|
3195
|
+
export type RevokeNativeAuthUserSessionsResponses = {
|
|
3196
|
+
/**
|
|
3197
|
+
* Current authorized resource.
|
|
3198
|
+
*/
|
|
3199
|
+
200: NativeAuthUser;
|
|
3200
|
+
};
|
|
3201
|
+
|
|
3202
|
+
export type RevokeNativeAuthUserSessionsResponse =
|
|
3203
|
+
RevokeNativeAuthUserSessionsResponses[keyof RevokeNativeAuthUserSessionsResponses];
|
|
3204
|
+
|
|
2214
3205
|
export type ListWorkspaceMailDomainsData = {
|
|
2215
3206
|
body?: never;
|
|
2216
3207
|
headers?: {
|