@1claw/sdk 0.52.0 → 0.53.1
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 +29 -0
- package/dist/generated/api-types.d.ts +994 -8
- package/dist/generated/api-types.d.ts.map +1 -1
- package/dist/resources/access.d.ts +2 -0
- package/dist/resources/access.d.ts.map +1 -1
- package/dist/resources/access.js +2 -0
- package/dist/resources/access.js.map +1 -1
- package/dist/resources/audit.d.ts +11 -1
- package/dist/resources/audit.d.ts.map +1 -1
- package/dist/resources/audit.js +19 -0
- package/dist/resources/audit.js.map +1 -1
- package/dist/types.d.ts +114 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +2 -1
|
@@ -1185,6 +1185,9 @@ export interface paths {
|
|
|
1185
1185
|
/**
|
|
1186
1186
|
* Resolve environment variables
|
|
1187
1187
|
* @description Resolve the final KEY=VALUE set for an environment with full precedence (shared < vault < branch override).
|
|
1188
|
+
* When the caller is an agent with `env_auto_resolve: true`, the `environment` query parameter may be omitted —
|
|
1189
|
+
* the server uses the agent's tagged environment from the JWT. Org setting `env.enforce_agent_environment_scope`
|
|
1190
|
+
* blocks agents from resolving vars outside their tagged environment.
|
|
1188
1191
|
*/
|
|
1189
1192
|
get: operations["resolveEnvVars"];
|
|
1190
1193
|
put?: never;
|
|
@@ -2490,6 +2493,28 @@ export interface paths {
|
|
|
2490
2493
|
patch?: never;
|
|
2491
2494
|
trace?: never;
|
|
2492
2495
|
};
|
|
2496
|
+
"/v1/audit/verify": {
|
|
2497
|
+
parameters: {
|
|
2498
|
+
query?: never;
|
|
2499
|
+
header?: never;
|
|
2500
|
+
path?: never;
|
|
2501
|
+
cookie?: never;
|
|
2502
|
+
};
|
|
2503
|
+
/**
|
|
2504
|
+
* Verify audit hash chain integrity
|
|
2505
|
+
* @description Verifies the HMAC-SHA256 integrity hash chain for audit events in the
|
|
2506
|
+
* calling organization. Returns whether the chain is valid, how many
|
|
2507
|
+
* events were verified, and the point of first break (if any).
|
|
2508
|
+
*/
|
|
2509
|
+
get: operations["verifyAuditChain"];
|
|
2510
|
+
put?: never;
|
|
2511
|
+
post?: never;
|
|
2512
|
+
delete?: never;
|
|
2513
|
+
options?: never;
|
|
2514
|
+
head?: never;
|
|
2515
|
+
patch?: never;
|
|
2516
|
+
trace?: never;
|
|
2517
|
+
};
|
|
2493
2518
|
"/v1/security/ip-rules": {
|
|
2494
2519
|
parameters: {
|
|
2495
2520
|
query?: never;
|
|
@@ -3184,6 +3209,29 @@ export interface paths {
|
|
|
3184
3209
|
patch?: never;
|
|
3185
3210
|
trace?: never;
|
|
3186
3211
|
};
|
|
3212
|
+
"/v1/shroud/attestation": {
|
|
3213
|
+
parameters: {
|
|
3214
|
+
query?: never;
|
|
3215
|
+
header?: never;
|
|
3216
|
+
path?: never;
|
|
3217
|
+
cookie?: never;
|
|
3218
|
+
};
|
|
3219
|
+
/**
|
|
3220
|
+
* TEE attestation proof (public)
|
|
3221
|
+
* @description Public endpoint returning the TEE attestation proof for Shroud.
|
|
3222
|
+
* Returns the GCE Confidential VM identity token and image hash so
|
|
3223
|
+
* customers can verify Shroud is running inside a Confidential VM
|
|
3224
|
+
* before signing contracts. Served from shroud.1claw.xyz.
|
|
3225
|
+
*/
|
|
3226
|
+
get: operations["getShroudAttestation"];
|
|
3227
|
+
put?: never;
|
|
3228
|
+
post?: never;
|
|
3229
|
+
delete?: never;
|
|
3230
|
+
options?: never;
|
|
3231
|
+
head?: never;
|
|
3232
|
+
patch?: never;
|
|
3233
|
+
trace?: never;
|
|
3234
|
+
};
|
|
3187
3235
|
"/v1/shroud/activity": {
|
|
3188
3236
|
parameters: {
|
|
3189
3237
|
query?: never;
|
|
@@ -6604,6 +6652,266 @@ export interface paths {
|
|
|
6604
6652
|
patch?: never;
|
|
6605
6653
|
trace?: never;
|
|
6606
6654
|
};
|
|
6655
|
+
"/v1/wallets/access-policies": {
|
|
6656
|
+
parameters: {
|
|
6657
|
+
query?: never;
|
|
6658
|
+
header?: never;
|
|
6659
|
+
path?: never;
|
|
6660
|
+
cookie?: never;
|
|
6661
|
+
};
|
|
6662
|
+
/** List wallet access policies for the org */
|
|
6663
|
+
get: operations["listWalletAccessPolicies"];
|
|
6664
|
+
put?: never;
|
|
6665
|
+
/**
|
|
6666
|
+
* Create a wallet access policy
|
|
6667
|
+
* @description Create a role-based wallet access policy granting an agent or user
|
|
6668
|
+
* specific permissions (send, swap, receive) on a treasury wallet chain.
|
|
6669
|
+
*/
|
|
6670
|
+
post: operations["createWalletAccessPolicy"];
|
|
6671
|
+
delete?: never;
|
|
6672
|
+
options?: never;
|
|
6673
|
+
head?: never;
|
|
6674
|
+
patch?: never;
|
|
6675
|
+
trace?: never;
|
|
6676
|
+
};
|
|
6677
|
+
"/v1/wallets/access-policies/{id}": {
|
|
6678
|
+
parameters: {
|
|
6679
|
+
query?: never;
|
|
6680
|
+
header?: never;
|
|
6681
|
+
path?: never;
|
|
6682
|
+
cookie?: never;
|
|
6683
|
+
};
|
|
6684
|
+
get?: never;
|
|
6685
|
+
put?: never;
|
|
6686
|
+
post?: never;
|
|
6687
|
+
/** Delete a wallet access policy */
|
|
6688
|
+
delete: operations["deleteWalletAccessPolicy"];
|
|
6689
|
+
options?: never;
|
|
6690
|
+
head?: never;
|
|
6691
|
+
patch?: never;
|
|
6692
|
+
trace?: never;
|
|
6693
|
+
};
|
|
6694
|
+
"/v1/auth/credential-recovery/request": {
|
|
6695
|
+
parameters: {
|
|
6696
|
+
query?: never;
|
|
6697
|
+
header?: never;
|
|
6698
|
+
path?: never;
|
|
6699
|
+
cookie?: never;
|
|
6700
|
+
};
|
|
6701
|
+
get?: never;
|
|
6702
|
+
put?: never;
|
|
6703
|
+
/**
|
|
6704
|
+
* Initiate credential recovery
|
|
6705
|
+
* @description Start a credential recovery request for MFA reset, passkey reset,
|
|
6706
|
+
* or password reset. Requires admin approval per org policy.
|
|
6707
|
+
*/
|
|
6708
|
+
post: operations["requestCredentialRecovery"];
|
|
6709
|
+
delete?: never;
|
|
6710
|
+
options?: never;
|
|
6711
|
+
head?: never;
|
|
6712
|
+
patch?: never;
|
|
6713
|
+
trace?: never;
|
|
6714
|
+
};
|
|
6715
|
+
"/v1/auth/credential-recovery/requests": {
|
|
6716
|
+
parameters: {
|
|
6717
|
+
query?: never;
|
|
6718
|
+
header?: never;
|
|
6719
|
+
path?: never;
|
|
6720
|
+
cookie?: never;
|
|
6721
|
+
};
|
|
6722
|
+
/**
|
|
6723
|
+
* List recovery requests for the org
|
|
6724
|
+
* @description Admin/owner only. Returns pending, approved, and rejected recovery requests.
|
|
6725
|
+
*/
|
|
6726
|
+
get: operations["listCredentialRecoveryRequests"];
|
|
6727
|
+
put?: never;
|
|
6728
|
+
post?: never;
|
|
6729
|
+
delete?: never;
|
|
6730
|
+
options?: never;
|
|
6731
|
+
head?: never;
|
|
6732
|
+
patch?: never;
|
|
6733
|
+
trace?: never;
|
|
6734
|
+
};
|
|
6735
|
+
"/v1/auth/credential-recovery/requests/{id}/approve": {
|
|
6736
|
+
parameters: {
|
|
6737
|
+
query?: never;
|
|
6738
|
+
header?: never;
|
|
6739
|
+
path?: never;
|
|
6740
|
+
cookie?: never;
|
|
6741
|
+
};
|
|
6742
|
+
get?: never;
|
|
6743
|
+
put?: never;
|
|
6744
|
+
/**
|
|
6745
|
+
* Approve a recovery request
|
|
6746
|
+
* @description Admin/owner approves a pending recovery request. May return a one-time recovery code.
|
|
6747
|
+
*/
|
|
6748
|
+
post: operations["approveCredentialRecovery"];
|
|
6749
|
+
delete?: never;
|
|
6750
|
+
options?: never;
|
|
6751
|
+
head?: never;
|
|
6752
|
+
patch?: never;
|
|
6753
|
+
trace?: never;
|
|
6754
|
+
};
|
|
6755
|
+
"/v1/auth/credential-recovery/requests/{id}/execute": {
|
|
6756
|
+
parameters: {
|
|
6757
|
+
query?: never;
|
|
6758
|
+
header?: never;
|
|
6759
|
+
path?: never;
|
|
6760
|
+
cookie?: never;
|
|
6761
|
+
};
|
|
6762
|
+
get?: never;
|
|
6763
|
+
put?: never;
|
|
6764
|
+
/**
|
|
6765
|
+
* Execute an approved credential recovery request
|
|
6766
|
+
* @description Execute an approved credential recovery request after the delay window has elapsed. Only org owners or admins can execute.
|
|
6767
|
+
*/
|
|
6768
|
+
post: operations["executeCredentialRecovery"];
|
|
6769
|
+
delete?: never;
|
|
6770
|
+
options?: never;
|
|
6771
|
+
head?: never;
|
|
6772
|
+
patch?: never;
|
|
6773
|
+
trace?: never;
|
|
6774
|
+
};
|
|
6775
|
+
"/v1/auth/credential-recovery/requests/{id}": {
|
|
6776
|
+
parameters: {
|
|
6777
|
+
query?: never;
|
|
6778
|
+
header?: never;
|
|
6779
|
+
path?: never;
|
|
6780
|
+
cookie?: never;
|
|
6781
|
+
};
|
|
6782
|
+
get?: never;
|
|
6783
|
+
put?: never;
|
|
6784
|
+
post?: never;
|
|
6785
|
+
/** Cancel or reject a recovery request */
|
|
6786
|
+
delete: operations["cancelCredentialRecovery"];
|
|
6787
|
+
options?: never;
|
|
6788
|
+
head?: never;
|
|
6789
|
+
patch?: never;
|
|
6790
|
+
trace?: never;
|
|
6791
|
+
};
|
|
6792
|
+
"/v1/org/credential-recovery-policy": {
|
|
6793
|
+
parameters: {
|
|
6794
|
+
query?: never;
|
|
6795
|
+
header?: never;
|
|
6796
|
+
path?: never;
|
|
6797
|
+
cookie?: never;
|
|
6798
|
+
};
|
|
6799
|
+
/** Get org credential recovery policy */
|
|
6800
|
+
get: operations["getCredentialRecoveryPolicy"];
|
|
6801
|
+
put?: never;
|
|
6802
|
+
post?: never;
|
|
6803
|
+
delete?: never;
|
|
6804
|
+
options?: never;
|
|
6805
|
+
head?: never;
|
|
6806
|
+
/** Update org credential recovery policy */
|
|
6807
|
+
patch: operations["updateCredentialRecoveryPolicy"];
|
|
6808
|
+
trace?: never;
|
|
6809
|
+
};
|
|
6810
|
+
"/v1/org/shamir-kek/setup": {
|
|
6811
|
+
parameters: {
|
|
6812
|
+
query?: never;
|
|
6813
|
+
header?: never;
|
|
6814
|
+
path?: never;
|
|
6815
|
+
cookie?: never;
|
|
6816
|
+
};
|
|
6817
|
+
get?: never;
|
|
6818
|
+
put?: never;
|
|
6819
|
+
/**
|
|
6820
|
+
* Set up Shamir KEK for the org
|
|
6821
|
+
* @description Initialize a Shamir secret-sharing KEK for the org. Splits the master
|
|
6822
|
+
* key into shares distributed to custodians. Shares are returned one-time
|
|
6823
|
+
* only and must be stored securely by each custodian.
|
|
6824
|
+
*/
|
|
6825
|
+
post: operations["setupShamirKek"];
|
|
6826
|
+
delete?: never;
|
|
6827
|
+
options?: never;
|
|
6828
|
+
head?: never;
|
|
6829
|
+
patch?: never;
|
|
6830
|
+
trace?: never;
|
|
6831
|
+
};
|
|
6832
|
+
"/v1/org/shamir-kek": {
|
|
6833
|
+
parameters: {
|
|
6834
|
+
query?: never;
|
|
6835
|
+
header?: never;
|
|
6836
|
+
path?: never;
|
|
6837
|
+
cookie?: never;
|
|
6838
|
+
};
|
|
6839
|
+
/**
|
|
6840
|
+
* Get Shamir KEK status
|
|
6841
|
+
* @description Returns the current Shamir KEK configuration status for the org.
|
|
6842
|
+
*/
|
|
6843
|
+
get: operations["getShamirKekStatus"];
|
|
6844
|
+
put?: never;
|
|
6845
|
+
post?: never;
|
|
6846
|
+
delete?: never;
|
|
6847
|
+
options?: never;
|
|
6848
|
+
head?: never;
|
|
6849
|
+
patch?: never;
|
|
6850
|
+
trace?: never;
|
|
6851
|
+
};
|
|
6852
|
+
"/v1/org/shamir-kek/reconstruct": {
|
|
6853
|
+
parameters: {
|
|
6854
|
+
query?: never;
|
|
6855
|
+
header?: never;
|
|
6856
|
+
path?: never;
|
|
6857
|
+
cookie?: never;
|
|
6858
|
+
};
|
|
6859
|
+
get?: never;
|
|
6860
|
+
put?: never;
|
|
6861
|
+
/**
|
|
6862
|
+
* Reconstruct KEK from shares
|
|
6863
|
+
* @description Submit Shamir shares to reconstruct the org KEK. Requires at least
|
|
6864
|
+
* `threshold` valid shares. Used during disaster recovery.
|
|
6865
|
+
*/
|
|
6866
|
+
post: operations["reconstructShamirKek"];
|
|
6867
|
+
delete?: never;
|
|
6868
|
+
options?: never;
|
|
6869
|
+
head?: never;
|
|
6870
|
+
patch?: never;
|
|
6871
|
+
trace?: never;
|
|
6872
|
+
};
|
|
6873
|
+
"/v1/org/shamir-kek/recovery-codes": {
|
|
6874
|
+
parameters: {
|
|
6875
|
+
query?: never;
|
|
6876
|
+
header?: never;
|
|
6877
|
+
path?: never;
|
|
6878
|
+
cookie?: never;
|
|
6879
|
+
};
|
|
6880
|
+
/**
|
|
6881
|
+
* Get Shamir recovery codes (one-time)
|
|
6882
|
+
* @description Returns the one-time recovery codes for the Shamir KEK. These codes
|
|
6883
|
+
* can be used as an emergency fallback if custodian shares are lost.
|
|
6884
|
+
* Codes are only returned once — subsequent calls return 410.
|
|
6885
|
+
*/
|
|
6886
|
+
get: operations["getShamirKekRecoveryCodes"];
|
|
6887
|
+
put?: never;
|
|
6888
|
+
post?: never;
|
|
6889
|
+
delete?: never;
|
|
6890
|
+
options?: never;
|
|
6891
|
+
head?: never;
|
|
6892
|
+
patch?: never;
|
|
6893
|
+
trace?: never;
|
|
6894
|
+
};
|
|
6895
|
+
"/v1/org/shamir-kek/verify-recovery-code": {
|
|
6896
|
+
parameters: {
|
|
6897
|
+
query?: never;
|
|
6898
|
+
header?: never;
|
|
6899
|
+
path?: never;
|
|
6900
|
+
cookie?: never;
|
|
6901
|
+
};
|
|
6902
|
+
get?: never;
|
|
6903
|
+
put?: never;
|
|
6904
|
+
/**
|
|
6905
|
+
* Verify a Shamir recovery code
|
|
6906
|
+
* @description Check whether a recovery code is valid without consuming it.
|
|
6907
|
+
*/
|
|
6908
|
+
post: operations["verifyShamirKekRecoveryCode"];
|
|
6909
|
+
delete?: never;
|
|
6910
|
+
options?: never;
|
|
6911
|
+
head?: never;
|
|
6912
|
+
patch?: never;
|
|
6913
|
+
trace?: never;
|
|
6914
|
+
};
|
|
6607
6915
|
}
|
|
6608
6916
|
export type webhooks = Record<string, never>;
|
|
6609
6917
|
export interface components {
|
|
@@ -7104,6 +7412,17 @@ export interface components {
|
|
|
7104
7412
|
};
|
|
7105
7413
|
consensus_trigger?: components["schemas"]["ConsensusTrigger"];
|
|
7106
7414
|
tx_conditions?: components["schemas"]["TxConditions"];
|
|
7415
|
+
/**
|
|
7416
|
+
* Format: uuid
|
|
7417
|
+
* @description Optional completed approval ID for control-plane consensus bypass. When control-plane consensus policies match, resubmit with this field after the approval has been executed.
|
|
7418
|
+
*/
|
|
7419
|
+
approval_id?: string;
|
|
7420
|
+
/**
|
|
7421
|
+
* @description Policy schema version. Version 1 = legacy field-matching only.
|
|
7422
|
+
* Version 2 = expression engine support in tx_conditions.
|
|
7423
|
+
* @default 2
|
|
7424
|
+
*/
|
|
7425
|
+
policy_schema_version: number;
|
|
7107
7426
|
};
|
|
7108
7427
|
UpdatePolicyRequest: {
|
|
7109
7428
|
permissions?: string[];
|
|
@@ -7124,6 +7443,11 @@ export interface components {
|
|
|
7124
7443
|
};
|
|
7125
7444
|
consensus_trigger?: components["schemas"]["ConsensusTrigger"];
|
|
7126
7445
|
tx_conditions?: components["schemas"]["TxConditions"];
|
|
7446
|
+
/**
|
|
7447
|
+
* Format: uuid
|
|
7448
|
+
* @description Optional completed approval ID for control-plane consensus bypass.
|
|
7449
|
+
*/
|
|
7450
|
+
approval_id?: string;
|
|
7127
7451
|
};
|
|
7128
7452
|
PolicyResponse: {
|
|
7129
7453
|
/** Format: uuid */
|
|
@@ -7155,6 +7479,8 @@ export interface components {
|
|
|
7155
7479
|
};
|
|
7156
7480
|
consensus_trigger?: components["schemas"]["ConsensusTrigger"];
|
|
7157
7481
|
tx_conditions?: components["schemas"]["TxConditions"];
|
|
7482
|
+
/** @description Policy schema version (1 = legacy, 2 = expression engine) */
|
|
7483
|
+
policy_schema_version?: number;
|
|
7158
7484
|
};
|
|
7159
7485
|
PolicyListResponse: {
|
|
7160
7486
|
policies?: components["schemas"]["PolicyResponse"][];
|
|
@@ -7309,6 +7635,11 @@ export interface components {
|
|
|
7309
7635
|
* @default false
|
|
7310
7636
|
*/
|
|
7311
7637
|
env_auto_resolve: boolean;
|
|
7638
|
+
/**
|
|
7639
|
+
* Format: uuid
|
|
7640
|
+
* @description Optional completed approval ID for control-plane consensus bypass when creating an agent under a control-plane governance policy.
|
|
7641
|
+
*/
|
|
7642
|
+
approval_id?: string;
|
|
7312
7643
|
};
|
|
7313
7644
|
UpdateAgentRequest: {
|
|
7314
7645
|
name?: string;
|
|
@@ -8023,6 +8354,12 @@ export interface components {
|
|
|
8023
8354
|
* @description Optional pending approval ID. When consensus policies match, clients resubmit with this field set to bypass the 202 gate after the approval has been executed.
|
|
8024
8355
|
*/
|
|
8025
8356
|
approval_id?: string;
|
|
8357
|
+
/** @description Pre-built raw transaction as a base64-encoded byte string. When provided, the handler decodes and deep-inspects the transaction for policy evaluation before signing. Supported for non-EVM chains where the client constructs the transaction payload. */
|
|
8358
|
+
raw_transaction?: string;
|
|
8359
|
+
/** @description Pre-built Tron transaction JSON object. When provided, the handler signs the transaction as-is using the Tron protobuf format. Enables full Tron transaction type coverage beyond simple TRX/TRC-20 transfers. */
|
|
8360
|
+
tron_transaction?: {
|
|
8361
|
+
[key: string]: unknown;
|
|
8362
|
+
};
|
|
8026
8363
|
};
|
|
8027
8364
|
SignTransactionRequest: {
|
|
8028
8365
|
/** @description Destination address (0x-prefixed) */
|
|
@@ -8279,6 +8616,12 @@ export interface components {
|
|
|
8279
8616
|
* @description Optional pending approval ID. When consensus policies match, clients resubmit with this field set to bypass the 202 gate after the approval has been executed.
|
|
8280
8617
|
*/
|
|
8281
8618
|
approval_id?: string;
|
|
8619
|
+
/** @description Pre-built raw transaction as a base64-encoded byte string. When provided, the handler decodes and deep-inspects the transaction for policy evaluation before signing. Supported for non-EVM chains where the client constructs the transaction payload. */
|
|
8620
|
+
raw_transaction?: string;
|
|
8621
|
+
/** @description Pre-built Tron transaction JSON object. When provided, the handler signs the transaction as-is using the Tron protobuf format. Enables full Tron transaction type coverage beyond simple TRX/TRC-20 transfers. */
|
|
8622
|
+
tron_transaction?: {
|
|
8623
|
+
[key: string]: unknown;
|
|
8624
|
+
};
|
|
8282
8625
|
};
|
|
8283
8626
|
SignIntentResponse: {
|
|
8284
8627
|
intent_type?: string;
|
|
@@ -8641,12 +8984,51 @@ export interface components {
|
|
|
8641
8984
|
events?: components["schemas"]["AuditEvent"][];
|
|
8642
8985
|
count?: number;
|
|
8643
8986
|
};
|
|
8644
|
-
|
|
8645
|
-
/**
|
|
8646
|
-
|
|
8647
|
-
|
|
8648
|
-
|
|
8649
|
-
|
|
8987
|
+
AuditVerifyResponse: {
|
|
8988
|
+
/** @description Whether the integrity hash chain is unbroken */
|
|
8989
|
+
chain_valid: boolean;
|
|
8990
|
+
/**
|
|
8991
|
+
* Format: int64
|
|
8992
|
+
* @description Number of events with valid integrity hashes
|
|
8993
|
+
*/
|
|
8994
|
+
events_verified: number;
|
|
8995
|
+
/** @description Total events examined */
|
|
8996
|
+
events_checked: number;
|
|
8997
|
+
/**
|
|
8998
|
+
* Format: uuid
|
|
8999
|
+
* @description First event where chain integrity broke (null if valid)
|
|
9000
|
+
*/
|
|
9001
|
+
broken_at_event_id?: string | null;
|
|
9002
|
+
scheme: {
|
|
9003
|
+
/** @example HMAC-SHA256 */
|
|
9004
|
+
algorithm?: string;
|
|
9005
|
+
chain_structure?: string;
|
|
9006
|
+
hash_field?: string;
|
|
9007
|
+
link_field?: string;
|
|
9008
|
+
/** Format: uri */
|
|
9009
|
+
documentation?: string;
|
|
9010
|
+
};
|
|
9011
|
+
};
|
|
9012
|
+
ShroudAttestationResponse: {
|
|
9013
|
+
/** @description Whether TEE attestation was successfully fetched */
|
|
9014
|
+
attested: boolean;
|
|
9015
|
+
/** @description Confidential VM image hash (compare against published Docker digest) */
|
|
9016
|
+
image_hash: string;
|
|
9017
|
+
/** @description GCE metadata identity JWT (verify against Google public keys) */
|
|
9018
|
+
identity_token: string;
|
|
9019
|
+
verification: {
|
|
9020
|
+
steps?: string[];
|
|
9021
|
+
/** Format: uri */
|
|
9022
|
+
google_certs_url?: string;
|
|
9023
|
+
expected_audience?: string;
|
|
9024
|
+
};
|
|
9025
|
+
};
|
|
9026
|
+
AuditEvent: {
|
|
9027
|
+
/** Format: uuid */
|
|
9028
|
+
id?: string;
|
|
9029
|
+
action?: string;
|
|
9030
|
+
actor_id?: string;
|
|
9031
|
+
actor_type?: string;
|
|
8650
9032
|
resource_type?: string;
|
|
8651
9033
|
resource_id?: string;
|
|
8652
9034
|
/** Format: uuid */
|
|
@@ -10755,6 +11137,13 @@ export interface components {
|
|
|
10755
11137
|
* @default false
|
|
10756
11138
|
*/
|
|
10757
11139
|
deep_inspect: boolean;
|
|
11140
|
+
/**
|
|
11141
|
+
* @description Mini expression DSL for policy conditions (schema version 2+).
|
|
11142
|
+
* References transaction context fields (chain, value_wei, to_address,
|
|
11143
|
+
* function_selector, etc.) with boolean operators. Fail-closed on parse
|
|
11144
|
+
* or evaluation errors. Example: `chain == 'ethereum' && value_wei > 1000000000000000000`
|
|
11145
|
+
*/
|
|
11146
|
+
expression?: string;
|
|
10758
11147
|
} & {
|
|
10759
11148
|
[key: string]: unknown;
|
|
10760
11149
|
};
|
|
@@ -10802,6 +11191,10 @@ export interface components {
|
|
|
10802
11191
|
intent_type_in?: string[];
|
|
10803
11192
|
/** @description When true, this entry always matches regardless of other fields */
|
|
10804
11193
|
always?: boolean;
|
|
11194
|
+
/** @description Control-plane actions to match (e.g. policy.create, signing_key.export) */
|
|
11195
|
+
action_in?: string[];
|
|
11196
|
+
/** @description Version-agnostic action kind groups (e.g. signing_key.*, policy.*, member.*) */
|
|
11197
|
+
action_kind_in?: string[];
|
|
10805
11198
|
};
|
|
10806
11199
|
/**
|
|
10807
11200
|
* @description Time window condition for policy evaluation. Used inside the policy
|
|
@@ -10859,6 +11252,11 @@ export interface components {
|
|
|
10859
11252
|
* policy.delete, signing_key.export, member.role_change, member.remove
|
|
10860
11253
|
*/
|
|
10861
11254
|
actions: string[];
|
|
11255
|
+
} | {
|
|
11256
|
+
/** @enum {string} */
|
|
11257
|
+
type: "action_kind_in";
|
|
11258
|
+
/** @description Version-agnostic action kind groups, e.g. signing_key.*, policy.*, member.* */
|
|
11259
|
+
action_kinds: string[];
|
|
10862
11260
|
};
|
|
10863
11261
|
ApprovalRequirement: {
|
|
10864
11262
|
min_approvals: number;
|
|
@@ -11137,6 +11535,170 @@ export interface components {
|
|
|
11137
11535
|
environments?: string[];
|
|
11138
11536
|
comment?: string;
|
|
11139
11537
|
};
|
|
11538
|
+
CreateWalletAccessPolicyRequest: {
|
|
11539
|
+
/** @description Chain for which the policy applies (e.g. ethereum, solana) */
|
|
11540
|
+
wallet_chain: string;
|
|
11541
|
+
/**
|
|
11542
|
+
* Format: uuid
|
|
11543
|
+
* @description Agent granted access (mutually exclusive with target_user_id)
|
|
11544
|
+
*/
|
|
11545
|
+
target_agent_id?: string;
|
|
11546
|
+
/**
|
|
11547
|
+
* Format: uuid
|
|
11548
|
+
* @description User granted access (mutually exclusive with target_agent_id)
|
|
11549
|
+
*/
|
|
11550
|
+
target_user_id?: string;
|
|
11551
|
+
permissions: ("send" | "swap" | "receive")[];
|
|
11552
|
+
conditions?: {
|
|
11553
|
+
/** @description Max value per transaction in ETH */
|
|
11554
|
+
max_value_per_tx_eth?: string;
|
|
11555
|
+
/** @description Daily spend limit in ETH */
|
|
11556
|
+
daily_limit_eth?: string;
|
|
11557
|
+
allowed_chains?: string[];
|
|
11558
|
+
allowed_tokens?: string[];
|
|
11559
|
+
};
|
|
11560
|
+
/** Format: date-time */
|
|
11561
|
+
expires_at?: string;
|
|
11562
|
+
};
|
|
11563
|
+
WalletAccessPolicyResponse: {
|
|
11564
|
+
/** Format: uuid */
|
|
11565
|
+
id?: string;
|
|
11566
|
+
/** Format: uuid */
|
|
11567
|
+
org_id?: string;
|
|
11568
|
+
wallet_chain?: string;
|
|
11569
|
+
/** Format: uuid */
|
|
11570
|
+
target_agent_id?: string | null;
|
|
11571
|
+
/** Format: uuid */
|
|
11572
|
+
target_user_id?: string | null;
|
|
11573
|
+
permissions?: ("send" | "swap" | "receive")[];
|
|
11574
|
+
conditions?: {
|
|
11575
|
+
max_value_per_tx_eth?: string | null;
|
|
11576
|
+
daily_limit_eth?: string | null;
|
|
11577
|
+
allowed_chains?: string[] | null;
|
|
11578
|
+
allowed_tokens?: string[] | null;
|
|
11579
|
+
} | null;
|
|
11580
|
+
/** Format: date-time */
|
|
11581
|
+
expires_at?: string | null;
|
|
11582
|
+
/** Format: date-time */
|
|
11583
|
+
created_at?: string;
|
|
11584
|
+
};
|
|
11585
|
+
WalletAccessPolicyListResponse: {
|
|
11586
|
+
policies?: components["schemas"]["WalletAccessPolicyResponse"][];
|
|
11587
|
+
};
|
|
11588
|
+
CredentialRecoveryRequest: {
|
|
11589
|
+
/** @enum {string} */
|
|
11590
|
+
recovery_type: "mfa_reset" | "passkey_reset" | "password_reset";
|
|
11591
|
+
/** @description Optional justification for the recovery request */
|
|
11592
|
+
reason?: string;
|
|
11593
|
+
};
|
|
11594
|
+
CredentialRecoveryResponse: {
|
|
11595
|
+
/** Format: uuid */
|
|
11596
|
+
request_id?: string;
|
|
11597
|
+
/** @enum {string} */
|
|
11598
|
+
status?: "pending_approval" | "approved" | "rejected" | "expired";
|
|
11599
|
+
/** @enum {string} */
|
|
11600
|
+
recovery_type?: "mfa_reset" | "passkey_reset" | "password_reset";
|
|
11601
|
+
/** Format: date-time */
|
|
11602
|
+
created_at?: string;
|
|
11603
|
+
};
|
|
11604
|
+
CredentialRecoveryListResponse: {
|
|
11605
|
+
requests?: components["schemas"]["CredentialRecoveryResponse"][];
|
|
11606
|
+
};
|
|
11607
|
+
CredentialRecoveryApproveResponse: {
|
|
11608
|
+
/** Format: uuid */
|
|
11609
|
+
request_id?: string;
|
|
11610
|
+
/** @enum {string} */
|
|
11611
|
+
status?: "approved";
|
|
11612
|
+
/** @description One-time recovery code (only present for certain recovery types) */
|
|
11613
|
+
recovery_code?: string | null;
|
|
11614
|
+
};
|
|
11615
|
+
CredentialRecoveryExecuteResponse: {
|
|
11616
|
+
/** Format: uuid */
|
|
11617
|
+
request_id?: string;
|
|
11618
|
+
/** @enum {string} */
|
|
11619
|
+
status?: "executed";
|
|
11620
|
+
recovery_type?: string;
|
|
11621
|
+
/** Format: date-time */
|
|
11622
|
+
executed_at?: string;
|
|
11623
|
+
};
|
|
11624
|
+
CredentialRecoveryPolicyResponse: {
|
|
11625
|
+
enabled?: boolean;
|
|
11626
|
+
require_admin_approval?: boolean;
|
|
11627
|
+
/** @description Waiting period before recovery takes effect */
|
|
11628
|
+
delay_hours?: number;
|
|
11629
|
+
allowed_types?: ("mfa_reset" | "passkey_reset" | "password_reset")[];
|
|
11630
|
+
};
|
|
11631
|
+
CredentialRecoveryPolicyRequest: {
|
|
11632
|
+
enabled?: boolean;
|
|
11633
|
+
require_admin_approval?: boolean;
|
|
11634
|
+
delay_hours?: number;
|
|
11635
|
+
allowed_types?: ("mfa_reset" | "passkey_reset" | "password_reset")[];
|
|
11636
|
+
};
|
|
11637
|
+
ShamirKekSetupRequest: {
|
|
11638
|
+
/**
|
|
11639
|
+
* @description Minimum shares required to reconstruct the KEK
|
|
11640
|
+
* @enum {integer}
|
|
11641
|
+
*/
|
|
11642
|
+
threshold: 2 | 3;
|
|
11643
|
+
/**
|
|
11644
|
+
* @description Total number of shares to generate
|
|
11645
|
+
* @enum {integer}
|
|
11646
|
+
*/
|
|
11647
|
+
total_shares: 3 | 5;
|
|
11648
|
+
/** @description Email addresses of share custodians */
|
|
11649
|
+
custodian_emails: string[];
|
|
11650
|
+
};
|
|
11651
|
+
ShamirKekSetupResponse: {
|
|
11652
|
+
kek_id?: string;
|
|
11653
|
+
threshold?: number;
|
|
11654
|
+
total_shares?: number;
|
|
11655
|
+
/** @description One-time share distribution (never returned again) */
|
|
11656
|
+
shares?: {
|
|
11657
|
+
index?: number;
|
|
11658
|
+
/** Format: email */
|
|
11659
|
+
custodian_email?: string;
|
|
11660
|
+
/** @description Base64-encoded share */
|
|
11661
|
+
share_b64?: string;
|
|
11662
|
+
}[];
|
|
11663
|
+
custody_mode?: string;
|
|
11664
|
+
/** Format: date-time */
|
|
11665
|
+
created_at?: string;
|
|
11666
|
+
};
|
|
11667
|
+
ShamirKekStatusResponse: {
|
|
11668
|
+
configured?: boolean;
|
|
11669
|
+
kek_id?: string | null;
|
|
11670
|
+
threshold?: number | null;
|
|
11671
|
+
total_shares?: number | null;
|
|
11672
|
+
custody_mode?: string | null;
|
|
11673
|
+
custodians?: {
|
|
11674
|
+
/** Format: email */
|
|
11675
|
+
email?: string;
|
|
11676
|
+
share_provided?: boolean;
|
|
11677
|
+
}[] | null;
|
|
11678
|
+
/** Format: date-time */
|
|
11679
|
+
created_at?: string | null;
|
|
11680
|
+
};
|
|
11681
|
+
ShamirKekReconstructRequest: {
|
|
11682
|
+
shares: {
|
|
11683
|
+
index: number;
|
|
11684
|
+
/** @description Base64-encoded share */
|
|
11685
|
+
share_b64: string;
|
|
11686
|
+
}[];
|
|
11687
|
+
};
|
|
11688
|
+
ShamirKekReconstructResponse: {
|
|
11689
|
+
/** @enum {string} */
|
|
11690
|
+
status?: "accepted" | "reconstructed";
|
|
11691
|
+
message?: string;
|
|
11692
|
+
};
|
|
11693
|
+
ShamirKekRecoveryCodesResponse: {
|
|
11694
|
+
codes?: string[];
|
|
11695
|
+
};
|
|
11696
|
+
ShamirKekVerifyCodeRequest: {
|
|
11697
|
+
code: string;
|
|
11698
|
+
};
|
|
11699
|
+
ShamirKekVerifyCodeResponse: {
|
|
11700
|
+
valid?: boolean;
|
|
11701
|
+
};
|
|
11140
11702
|
};
|
|
11141
11703
|
responses: {
|
|
11142
11704
|
/** @description Invalid request */
|
|
@@ -13145,8 +13707,10 @@ export interface operations {
|
|
|
13145
13707
|
};
|
|
13146
13708
|
resolveEnvVars: {
|
|
13147
13709
|
parameters: {
|
|
13148
|
-
query
|
|
13149
|
-
environment
|
|
13710
|
+
query?: {
|
|
13711
|
+
/** @description Target environment (production, preview, development, or custom). Required for human callers; optional for agents with env_auto_resolve when the agent has an environment tag. */
|
|
13712
|
+
environment?: string;
|
|
13713
|
+
/** @description Optional git branch for preview branch overrides */
|
|
13150
13714
|
git_branch?: string;
|
|
13151
13715
|
};
|
|
13152
13716
|
header?: never;
|
|
@@ -15392,6 +15956,30 @@ export interface operations {
|
|
|
15392
15956
|
402: components["responses"]["PaymentRequired"];
|
|
15393
15957
|
};
|
|
15394
15958
|
};
|
|
15959
|
+
verifyAuditChain: {
|
|
15960
|
+
parameters: {
|
|
15961
|
+
query?: {
|
|
15962
|
+
from?: string;
|
|
15963
|
+
to?: string;
|
|
15964
|
+
limit?: number;
|
|
15965
|
+
};
|
|
15966
|
+
header?: never;
|
|
15967
|
+
path?: never;
|
|
15968
|
+
cookie?: never;
|
|
15969
|
+
};
|
|
15970
|
+
requestBody?: never;
|
|
15971
|
+
responses: {
|
|
15972
|
+
/** @description Chain verification result */
|
|
15973
|
+
200: {
|
|
15974
|
+
headers: {
|
|
15975
|
+
[name: string]: unknown;
|
|
15976
|
+
};
|
|
15977
|
+
content: {
|
|
15978
|
+
"application/json": components["schemas"]["AuditVerifyResponse"];
|
|
15979
|
+
};
|
|
15980
|
+
};
|
|
15981
|
+
};
|
|
15982
|
+
};
|
|
15395
15983
|
listIpRules: {
|
|
15396
15984
|
parameters: {
|
|
15397
15985
|
query?: never;
|
|
@@ -16609,6 +17197,26 @@ export interface operations {
|
|
|
16609
17197
|
};
|
|
16610
17198
|
};
|
|
16611
17199
|
};
|
|
17200
|
+
getShroudAttestation: {
|
|
17201
|
+
parameters: {
|
|
17202
|
+
query?: never;
|
|
17203
|
+
header?: never;
|
|
17204
|
+
path?: never;
|
|
17205
|
+
cookie?: never;
|
|
17206
|
+
};
|
|
17207
|
+
requestBody?: never;
|
|
17208
|
+
responses: {
|
|
17209
|
+
/** @description Attestation proof */
|
|
17210
|
+
200: {
|
|
17211
|
+
headers: {
|
|
17212
|
+
[name: string]: unknown;
|
|
17213
|
+
};
|
|
17214
|
+
content: {
|
|
17215
|
+
"application/json": components["schemas"]["ShroudAttestationResponse"];
|
|
17216
|
+
};
|
|
17217
|
+
};
|
|
17218
|
+
};
|
|
17219
|
+
};
|
|
16612
17220
|
getPlatformAppStats: {
|
|
16613
17221
|
parameters: {
|
|
16614
17222
|
query?: never;
|
|
@@ -20565,5 +21173,383 @@ export interface operations {
|
|
|
20565
21173
|
403: components["responses"]["Forbidden"];
|
|
20566
21174
|
};
|
|
20567
21175
|
};
|
|
21176
|
+
listWalletAccessPolicies: {
|
|
21177
|
+
parameters: {
|
|
21178
|
+
query?: {
|
|
21179
|
+
/** @description Filter by chain (e.g. ethereum, solana) */
|
|
21180
|
+
wallet_chain?: string;
|
|
21181
|
+
/** @description Filter by target agent */
|
|
21182
|
+
target_agent_id?: string;
|
|
21183
|
+
};
|
|
21184
|
+
header?: never;
|
|
21185
|
+
path?: never;
|
|
21186
|
+
cookie?: never;
|
|
21187
|
+
};
|
|
21188
|
+
requestBody?: never;
|
|
21189
|
+
responses: {
|
|
21190
|
+
/** @description Policy list */
|
|
21191
|
+
200: {
|
|
21192
|
+
headers: {
|
|
21193
|
+
[name: string]: unknown;
|
|
21194
|
+
};
|
|
21195
|
+
content: {
|
|
21196
|
+
"application/json": components["schemas"]["WalletAccessPolicyListResponse"];
|
|
21197
|
+
};
|
|
21198
|
+
};
|
|
21199
|
+
401: components["responses"]["Unauthorized"];
|
|
21200
|
+
};
|
|
21201
|
+
};
|
|
21202
|
+
createWalletAccessPolicy: {
|
|
21203
|
+
parameters: {
|
|
21204
|
+
query?: never;
|
|
21205
|
+
header?: never;
|
|
21206
|
+
path?: never;
|
|
21207
|
+
cookie?: never;
|
|
21208
|
+
};
|
|
21209
|
+
requestBody: {
|
|
21210
|
+
content: {
|
|
21211
|
+
"application/json": components["schemas"]["CreateWalletAccessPolicyRequest"];
|
|
21212
|
+
};
|
|
21213
|
+
};
|
|
21214
|
+
responses: {
|
|
21215
|
+
/** @description Policy created */
|
|
21216
|
+
201: {
|
|
21217
|
+
headers: {
|
|
21218
|
+
[name: string]: unknown;
|
|
21219
|
+
};
|
|
21220
|
+
content: {
|
|
21221
|
+
"application/json": components["schemas"]["WalletAccessPolicyResponse"];
|
|
21222
|
+
};
|
|
21223
|
+
};
|
|
21224
|
+
400: components["responses"]["BadRequest"];
|
|
21225
|
+
401: components["responses"]["Unauthorized"];
|
|
21226
|
+
403: components["responses"]["Forbidden"];
|
|
21227
|
+
};
|
|
21228
|
+
};
|
|
21229
|
+
deleteWalletAccessPolicy: {
|
|
21230
|
+
parameters: {
|
|
21231
|
+
query?: never;
|
|
21232
|
+
header?: never;
|
|
21233
|
+
path: {
|
|
21234
|
+
id: string;
|
|
21235
|
+
};
|
|
21236
|
+
cookie?: never;
|
|
21237
|
+
};
|
|
21238
|
+
requestBody?: never;
|
|
21239
|
+
responses: {
|
|
21240
|
+
/** @description Policy deleted */
|
|
21241
|
+
204: {
|
|
21242
|
+
headers: {
|
|
21243
|
+
[name: string]: unknown;
|
|
21244
|
+
};
|
|
21245
|
+
content?: never;
|
|
21246
|
+
};
|
|
21247
|
+
401: components["responses"]["Unauthorized"];
|
|
21248
|
+
403: components["responses"]["Forbidden"];
|
|
21249
|
+
404: components["responses"]["NotFound"];
|
|
21250
|
+
};
|
|
21251
|
+
};
|
|
21252
|
+
requestCredentialRecovery: {
|
|
21253
|
+
parameters: {
|
|
21254
|
+
query?: never;
|
|
21255
|
+
header?: never;
|
|
21256
|
+
path?: never;
|
|
21257
|
+
cookie?: never;
|
|
21258
|
+
};
|
|
21259
|
+
requestBody: {
|
|
21260
|
+
content: {
|
|
21261
|
+
"application/json": components["schemas"]["CredentialRecoveryRequest"];
|
|
21262
|
+
};
|
|
21263
|
+
};
|
|
21264
|
+
responses: {
|
|
21265
|
+
/** @description Recovery request created */
|
|
21266
|
+
201: {
|
|
21267
|
+
headers: {
|
|
21268
|
+
[name: string]: unknown;
|
|
21269
|
+
};
|
|
21270
|
+
content: {
|
|
21271
|
+
"application/json": components["schemas"]["CredentialRecoveryResponse"];
|
|
21272
|
+
};
|
|
21273
|
+
};
|
|
21274
|
+
400: components["responses"]["BadRequest"];
|
|
21275
|
+
401: components["responses"]["Unauthorized"];
|
|
21276
|
+
};
|
|
21277
|
+
};
|
|
21278
|
+
listCredentialRecoveryRequests: {
|
|
21279
|
+
parameters: {
|
|
21280
|
+
query?: {
|
|
21281
|
+
/** @description Filter by status */
|
|
21282
|
+
status?: "pending_approval" | "approved" | "rejected" | "expired";
|
|
21283
|
+
};
|
|
21284
|
+
header?: never;
|
|
21285
|
+
path?: never;
|
|
21286
|
+
cookie?: never;
|
|
21287
|
+
};
|
|
21288
|
+
requestBody?: never;
|
|
21289
|
+
responses: {
|
|
21290
|
+
/** @description Recovery request list */
|
|
21291
|
+
200: {
|
|
21292
|
+
headers: {
|
|
21293
|
+
[name: string]: unknown;
|
|
21294
|
+
};
|
|
21295
|
+
content: {
|
|
21296
|
+
"application/json": components["schemas"]["CredentialRecoveryListResponse"];
|
|
21297
|
+
};
|
|
21298
|
+
};
|
|
21299
|
+
401: components["responses"]["Unauthorized"];
|
|
21300
|
+
403: components["responses"]["Forbidden"];
|
|
21301
|
+
};
|
|
21302
|
+
};
|
|
21303
|
+
approveCredentialRecovery: {
|
|
21304
|
+
parameters: {
|
|
21305
|
+
query?: never;
|
|
21306
|
+
header?: never;
|
|
21307
|
+
path: {
|
|
21308
|
+
id: string;
|
|
21309
|
+
};
|
|
21310
|
+
cookie?: never;
|
|
21311
|
+
};
|
|
21312
|
+
requestBody?: never;
|
|
21313
|
+
responses: {
|
|
21314
|
+
/** @description Request approved */
|
|
21315
|
+
200: {
|
|
21316
|
+
headers: {
|
|
21317
|
+
[name: string]: unknown;
|
|
21318
|
+
};
|
|
21319
|
+
content: {
|
|
21320
|
+
"application/json": components["schemas"]["CredentialRecoveryApproveResponse"];
|
|
21321
|
+
};
|
|
21322
|
+
};
|
|
21323
|
+
401: components["responses"]["Unauthorized"];
|
|
21324
|
+
403: components["responses"]["Forbidden"];
|
|
21325
|
+
404: components["responses"]["NotFound"];
|
|
21326
|
+
};
|
|
21327
|
+
};
|
|
21328
|
+
executeCredentialRecovery: {
|
|
21329
|
+
parameters: {
|
|
21330
|
+
query?: never;
|
|
21331
|
+
header?: never;
|
|
21332
|
+
path: {
|
|
21333
|
+
id: string;
|
|
21334
|
+
};
|
|
21335
|
+
cookie?: never;
|
|
21336
|
+
};
|
|
21337
|
+
requestBody?: never;
|
|
21338
|
+
responses: {
|
|
21339
|
+
/** @description Recovery executed */
|
|
21340
|
+
200: {
|
|
21341
|
+
headers: {
|
|
21342
|
+
[name: string]: unknown;
|
|
21343
|
+
};
|
|
21344
|
+
content: {
|
|
21345
|
+
"application/json": components["schemas"]["CredentialRecoveryExecuteResponse"];
|
|
21346
|
+
};
|
|
21347
|
+
};
|
|
21348
|
+
401: components["responses"]["Unauthorized"];
|
|
21349
|
+
403: components["responses"]["Forbidden"];
|
|
21350
|
+
404: components["responses"]["NotFound"];
|
|
21351
|
+
};
|
|
21352
|
+
};
|
|
21353
|
+
cancelCredentialRecovery: {
|
|
21354
|
+
parameters: {
|
|
21355
|
+
query?: never;
|
|
21356
|
+
header?: never;
|
|
21357
|
+
path: {
|
|
21358
|
+
id: string;
|
|
21359
|
+
};
|
|
21360
|
+
cookie?: never;
|
|
21361
|
+
};
|
|
21362
|
+
requestBody?: never;
|
|
21363
|
+
responses: {
|
|
21364
|
+
/** @description Request cancelled */
|
|
21365
|
+
204: {
|
|
21366
|
+
headers: {
|
|
21367
|
+
[name: string]: unknown;
|
|
21368
|
+
};
|
|
21369
|
+
content?: never;
|
|
21370
|
+
};
|
|
21371
|
+
401: components["responses"]["Unauthorized"];
|
|
21372
|
+
403: components["responses"]["Forbidden"];
|
|
21373
|
+
404: components["responses"]["NotFound"];
|
|
21374
|
+
};
|
|
21375
|
+
};
|
|
21376
|
+
getCredentialRecoveryPolicy: {
|
|
21377
|
+
parameters: {
|
|
21378
|
+
query?: never;
|
|
21379
|
+
header?: never;
|
|
21380
|
+
path?: never;
|
|
21381
|
+
cookie?: never;
|
|
21382
|
+
};
|
|
21383
|
+
requestBody?: never;
|
|
21384
|
+
responses: {
|
|
21385
|
+
/** @description Recovery policy */
|
|
21386
|
+
200: {
|
|
21387
|
+
headers: {
|
|
21388
|
+
[name: string]: unknown;
|
|
21389
|
+
};
|
|
21390
|
+
content: {
|
|
21391
|
+
"application/json": components["schemas"]["CredentialRecoveryPolicyResponse"];
|
|
21392
|
+
};
|
|
21393
|
+
};
|
|
21394
|
+
401: components["responses"]["Unauthorized"];
|
|
21395
|
+
};
|
|
21396
|
+
};
|
|
21397
|
+
updateCredentialRecoveryPolicy: {
|
|
21398
|
+
parameters: {
|
|
21399
|
+
query?: never;
|
|
21400
|
+
header?: never;
|
|
21401
|
+
path?: never;
|
|
21402
|
+
cookie?: never;
|
|
21403
|
+
};
|
|
21404
|
+
requestBody: {
|
|
21405
|
+
content: {
|
|
21406
|
+
"application/json": components["schemas"]["CredentialRecoveryPolicyRequest"];
|
|
21407
|
+
};
|
|
21408
|
+
};
|
|
21409
|
+
responses: {
|
|
21410
|
+
/** @description Policy updated */
|
|
21411
|
+
200: {
|
|
21412
|
+
headers: {
|
|
21413
|
+
[name: string]: unknown;
|
|
21414
|
+
};
|
|
21415
|
+
content: {
|
|
21416
|
+
"application/json": components["schemas"]["CredentialRecoveryPolicyResponse"];
|
|
21417
|
+
};
|
|
21418
|
+
};
|
|
21419
|
+
400: components["responses"]["BadRequest"];
|
|
21420
|
+
401: components["responses"]["Unauthorized"];
|
|
21421
|
+
403: components["responses"]["Forbidden"];
|
|
21422
|
+
};
|
|
21423
|
+
};
|
|
21424
|
+
setupShamirKek: {
|
|
21425
|
+
parameters: {
|
|
21426
|
+
query?: never;
|
|
21427
|
+
header?: never;
|
|
21428
|
+
path?: never;
|
|
21429
|
+
cookie?: never;
|
|
21430
|
+
};
|
|
21431
|
+
requestBody: {
|
|
21432
|
+
content: {
|
|
21433
|
+
"application/json": components["schemas"]["ShamirKekSetupRequest"];
|
|
21434
|
+
};
|
|
21435
|
+
};
|
|
21436
|
+
responses: {
|
|
21437
|
+
/** @description Shamir KEK configured (shares returned one-time) */
|
|
21438
|
+
201: {
|
|
21439
|
+
headers: {
|
|
21440
|
+
[name: string]: unknown;
|
|
21441
|
+
};
|
|
21442
|
+
content: {
|
|
21443
|
+
"application/json": components["schemas"]["ShamirKekSetupResponse"];
|
|
21444
|
+
};
|
|
21445
|
+
};
|
|
21446
|
+
400: components["responses"]["BadRequest"];
|
|
21447
|
+
401: components["responses"]["Unauthorized"];
|
|
21448
|
+
403: components["responses"]["Forbidden"];
|
|
21449
|
+
};
|
|
21450
|
+
};
|
|
21451
|
+
getShamirKekStatus: {
|
|
21452
|
+
parameters: {
|
|
21453
|
+
query?: never;
|
|
21454
|
+
header?: never;
|
|
21455
|
+
path?: never;
|
|
21456
|
+
cookie?: never;
|
|
21457
|
+
};
|
|
21458
|
+
requestBody?: never;
|
|
21459
|
+
responses: {
|
|
21460
|
+
/** @description Shamir KEK status */
|
|
21461
|
+
200: {
|
|
21462
|
+
headers: {
|
|
21463
|
+
[name: string]: unknown;
|
|
21464
|
+
};
|
|
21465
|
+
content: {
|
|
21466
|
+
"application/json": components["schemas"]["ShamirKekStatusResponse"];
|
|
21467
|
+
};
|
|
21468
|
+
};
|
|
21469
|
+
401: components["responses"]["Unauthorized"];
|
|
21470
|
+
};
|
|
21471
|
+
};
|
|
21472
|
+
reconstructShamirKek: {
|
|
21473
|
+
parameters: {
|
|
21474
|
+
query?: never;
|
|
21475
|
+
header?: never;
|
|
21476
|
+
path?: never;
|
|
21477
|
+
cookie?: never;
|
|
21478
|
+
};
|
|
21479
|
+
requestBody: {
|
|
21480
|
+
content: {
|
|
21481
|
+
"application/json": components["schemas"]["ShamirKekReconstructRequest"];
|
|
21482
|
+
};
|
|
21483
|
+
};
|
|
21484
|
+
responses: {
|
|
21485
|
+
/** @description Reconstruction result */
|
|
21486
|
+
200: {
|
|
21487
|
+
headers: {
|
|
21488
|
+
[name: string]: unknown;
|
|
21489
|
+
};
|
|
21490
|
+
content: {
|
|
21491
|
+
"application/json": components["schemas"]["ShamirKekReconstructResponse"];
|
|
21492
|
+
};
|
|
21493
|
+
};
|
|
21494
|
+
400: components["responses"]["BadRequest"];
|
|
21495
|
+
401: components["responses"]["Unauthorized"];
|
|
21496
|
+
403: components["responses"]["Forbidden"];
|
|
21497
|
+
};
|
|
21498
|
+
};
|
|
21499
|
+
getShamirKekRecoveryCodes: {
|
|
21500
|
+
parameters: {
|
|
21501
|
+
query?: never;
|
|
21502
|
+
header?: never;
|
|
21503
|
+
path?: never;
|
|
21504
|
+
cookie?: never;
|
|
21505
|
+
};
|
|
21506
|
+
requestBody?: never;
|
|
21507
|
+
responses: {
|
|
21508
|
+
/** @description Recovery codes (one-time) */
|
|
21509
|
+
200: {
|
|
21510
|
+
headers: {
|
|
21511
|
+
[name: string]: unknown;
|
|
21512
|
+
};
|
|
21513
|
+
content: {
|
|
21514
|
+
"application/json": components["schemas"]["ShamirKekRecoveryCodesResponse"];
|
|
21515
|
+
};
|
|
21516
|
+
};
|
|
21517
|
+
401: components["responses"]["Unauthorized"];
|
|
21518
|
+
403: components["responses"]["Forbidden"];
|
|
21519
|
+
/** @description Codes already retrieved */
|
|
21520
|
+
410: {
|
|
21521
|
+
headers: {
|
|
21522
|
+
[name: string]: unknown;
|
|
21523
|
+
};
|
|
21524
|
+
content?: never;
|
|
21525
|
+
};
|
|
21526
|
+
};
|
|
21527
|
+
};
|
|
21528
|
+
verifyShamirKekRecoveryCode: {
|
|
21529
|
+
parameters: {
|
|
21530
|
+
query?: never;
|
|
21531
|
+
header?: never;
|
|
21532
|
+
path?: never;
|
|
21533
|
+
cookie?: never;
|
|
21534
|
+
};
|
|
21535
|
+
requestBody: {
|
|
21536
|
+
content: {
|
|
21537
|
+
"application/json": components["schemas"]["ShamirKekVerifyCodeRequest"];
|
|
21538
|
+
};
|
|
21539
|
+
};
|
|
21540
|
+
responses: {
|
|
21541
|
+
/** @description Verification result */
|
|
21542
|
+
200: {
|
|
21543
|
+
headers: {
|
|
21544
|
+
[name: string]: unknown;
|
|
21545
|
+
};
|
|
21546
|
+
content: {
|
|
21547
|
+
"application/json": components["schemas"]["ShamirKekVerifyCodeResponse"];
|
|
21548
|
+
};
|
|
21549
|
+
};
|
|
21550
|
+
400: components["responses"]["BadRequest"];
|
|
21551
|
+
401: components["responses"]["Unauthorized"];
|
|
21552
|
+
};
|
|
21553
|
+
};
|
|
20568
21554
|
}
|
|
20569
21555
|
//# sourceMappingURL=api-types.d.ts.map
|