@1claw/sdk 0.46.0 → 0.47.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/dist/core/client.d.ts +12 -0
- package/dist/core/client.d.ts.map +1 -1
- package/dist/core/client.js +8 -0
- package/dist/core/client.js.map +1 -1
- package/dist/generated/api-types.d.ts +1234 -115
- package/dist/generated/api-types.d.ts.map +1 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/resources/access.d.ts +6 -0
- package/dist/resources/access.d.ts.map +1 -1
- package/dist/resources/access.js +6 -0
- package/dist/resources/access.js.map +1 -1
- package/dist/resources/agents.d.ts +5 -1
- package/dist/resources/agents.d.ts.map +1 -1
- package/dist/resources/agents.js +6 -0
- package/dist/resources/agents.js.map +1 -1
- package/dist/resources/billing.d.ts +3 -1
- package/dist/resources/billing.d.ts.map +1 -1
- package/dist/resources/billing.js +4 -0
- package/dist/resources/billing.js.map +1 -1
- package/dist/resources/cedar-policies.d.ts +12 -0
- package/dist/resources/cedar-policies.d.ts.map +1 -0
- package/dist/resources/cedar-policies.js +21 -0
- package/dist/resources/cedar-policies.js.map +1 -0
- package/dist/resources/opa-policies.d.ts +12 -0
- package/dist/resources/opa-policies.d.ts.map +1 -0
- package/dist/resources/opa-policies.js +21 -0
- package/dist/resources/opa-policies.js.map +1 -0
- package/dist/resources/portfolio.d.ts +12 -0
- package/dist/resources/portfolio.d.ts.map +1 -0
- package/dist/resources/portfolio.js +15 -0
- package/dist/resources/portfolio.js.map +1 -0
- package/dist/resources/signing-keys.d.ts +3 -1
- package/dist/resources/signing-keys.d.ts.map +1 -1
- package/dist/resources/signing-keys.js +4 -0
- package/dist/resources/signing-keys.js.map +1 -1
- package/dist/resources/sub-orgs.d.ts +15 -0
- package/dist/resources/sub-orgs.d.ts.map +1 -0
- package/dist/resources/sub-orgs.js +30 -0
- package/dist/resources/sub-orgs.js.map +1 -0
- package/dist/resources/treasury-wallets.d.ts +11 -1
- package/dist/resources/treasury-wallets.d.ts.map +1 -1
- package/dist/resources/treasury-wallets.js +4 -0
- package/dist/resources/treasury-wallets.js.map +1 -1
- package/dist/types.d.ts +125 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1453,6 +1453,27 @@ export interface paths {
|
|
|
1453
1453
|
patch?: never;
|
|
1454
1454
|
trace?: never;
|
|
1455
1455
|
};
|
|
1456
|
+
"/v1/agents/{agent_id}/signing-keys/{chain}/import": {
|
|
1457
|
+
parameters: {
|
|
1458
|
+
query?: never;
|
|
1459
|
+
header?: never;
|
|
1460
|
+
path?: never;
|
|
1461
|
+
cookie?: never;
|
|
1462
|
+
};
|
|
1463
|
+
get?: never;
|
|
1464
|
+
put?: never;
|
|
1465
|
+
/**
|
|
1466
|
+
* Import a signing key for a chain
|
|
1467
|
+
* @description Import an existing private key for a specific chain. Human-only,
|
|
1468
|
+
* requires password re-authentication.
|
|
1469
|
+
*/
|
|
1470
|
+
post: operations["importSigningKey"];
|
|
1471
|
+
delete?: never;
|
|
1472
|
+
options?: never;
|
|
1473
|
+
head?: never;
|
|
1474
|
+
patch?: never;
|
|
1475
|
+
trace?: never;
|
|
1476
|
+
};
|
|
1456
1477
|
"/v1/agents/{agent_id}/bankr-keys/lease": {
|
|
1457
1478
|
parameters: {
|
|
1458
1479
|
query?: never;
|
|
@@ -2177,6 +2198,26 @@ export interface paths {
|
|
|
2177
2198
|
patch?: never;
|
|
2178
2199
|
trace?: never;
|
|
2179
2200
|
};
|
|
2201
|
+
"/v1/billing/llm-token-billing/cancel-duplicates": {
|
|
2202
|
+
parameters: {
|
|
2203
|
+
query?: never;
|
|
2204
|
+
header?: never;
|
|
2205
|
+
path?: never;
|
|
2206
|
+
cookie?: never;
|
|
2207
|
+
};
|
|
2208
|
+
get?: never;
|
|
2209
|
+
put?: never;
|
|
2210
|
+
/**
|
|
2211
|
+
* Cancel duplicate LLM billing subscriptions
|
|
2212
|
+
* @description Cancels extra Stripe LLM billing subscriptions for the org, keeping a single primary subscription (active preferred over trialing). Does not change the org LLM billing enabled setting.
|
|
2213
|
+
*/
|
|
2214
|
+
post: operations["cancelLlmDuplicateSubscriptions"];
|
|
2215
|
+
delete?: never;
|
|
2216
|
+
options?: never;
|
|
2217
|
+
head?: never;
|
|
2218
|
+
patch?: never;
|
|
2219
|
+
trace?: never;
|
|
2220
|
+
};
|
|
2180
2221
|
"/v1/billing/overage-method": {
|
|
2181
2222
|
parameters: {
|
|
2182
2223
|
query?: never;
|
|
@@ -2636,6 +2677,27 @@ export interface paths {
|
|
|
2636
2677
|
patch?: never;
|
|
2637
2678
|
trace?: never;
|
|
2638
2679
|
};
|
|
2680
|
+
"/v1/treasury/wallets/{chain}/import": {
|
|
2681
|
+
parameters: {
|
|
2682
|
+
query?: never;
|
|
2683
|
+
header?: never;
|
|
2684
|
+
path?: never;
|
|
2685
|
+
cookie?: never;
|
|
2686
|
+
};
|
|
2687
|
+
get?: never;
|
|
2688
|
+
put?: never;
|
|
2689
|
+
/**
|
|
2690
|
+
* Import a treasury wallet
|
|
2691
|
+
* @description Import an existing private key as a treasury wallet. Human-only,
|
|
2692
|
+
* requires password re-authentication via X-Auth-Confirm header.
|
|
2693
|
+
*/
|
|
2694
|
+
post: operations["importTreasuryWallet"];
|
|
2695
|
+
delete?: never;
|
|
2696
|
+
options?: never;
|
|
2697
|
+
head?: never;
|
|
2698
|
+
patch?: never;
|
|
2699
|
+
trace?: never;
|
|
2700
|
+
};
|
|
2639
2701
|
"/v1/treasury/wallets/spend-policy": {
|
|
2640
2702
|
parameters: {
|
|
2641
2703
|
query?: never;
|
|
@@ -5830,122 +5892,412 @@ export interface paths {
|
|
|
5830
5892
|
patch?: never;
|
|
5831
5893
|
trace?: never;
|
|
5832
5894
|
};
|
|
5833
|
-
|
|
5834
|
-
|
|
5835
|
-
|
|
5836
|
-
|
|
5837
|
-
|
|
5838
|
-
|
|
5839
|
-
kind: "prepaid" | "gift_card";
|
|
5840
|
-
/**
|
|
5841
|
-
* @description USD amount to load onto the card.
|
|
5842
|
-
* @example 25.00
|
|
5843
|
-
*/
|
|
5844
|
-
amount_usd: string;
|
|
5845
|
-
/** @description Optional Laso gift-card server/brand id (gift cards only). */
|
|
5846
|
-
laso_server_id?: string;
|
|
5847
|
-
/** @description Optional country (prepaid cards; defaults to US). */
|
|
5848
|
-
country?: string;
|
|
5849
|
-
};
|
|
5850
|
-
/** @description Masked card view — never contains PAN/CVV. */
|
|
5851
|
-
CardResponse: {
|
|
5852
|
-
/** Format: uuid */
|
|
5853
|
-
id: string;
|
|
5854
|
-
/** Format: uuid */
|
|
5855
|
-
agent_id?: string | null;
|
|
5856
|
-
/** @enum {string} */
|
|
5857
|
-
issuer: "laso" | "manual";
|
|
5858
|
-
/** @enum {string} */
|
|
5859
|
-
kind: "prepaid" | "gift_card";
|
|
5860
|
-
brand?: string;
|
|
5861
|
-
last4?: string;
|
|
5862
|
-
exp_month?: number;
|
|
5863
|
-
exp_year?: number;
|
|
5864
|
-
currency: string;
|
|
5865
|
-
order_amount_usd?: string;
|
|
5866
|
-
balance?: string;
|
|
5867
|
-
/** @enum {string} */
|
|
5868
|
-
status: "ordering" | "pending" | "ready" | "depleted" | "expired" | "voided" | "orphaned_payment" | "awaiting_approval" | "rejected";
|
|
5869
|
-
/** @enum {string} */
|
|
5870
|
-
storage_mode: "reference" | "full";
|
|
5871
|
-
reveal_policy: {
|
|
5872
|
-
[key: string]: unknown;
|
|
5873
|
-
};
|
|
5874
|
-
/**
|
|
5875
|
-
* Format: uuid
|
|
5876
|
-
* @description Linked approval when status is awaiting_approval
|
|
5877
|
-
*/
|
|
5878
|
-
approval_id?: string;
|
|
5879
|
-
/** Format: date-time */
|
|
5880
|
-
void_after?: string;
|
|
5881
|
-
/** Format: date-time */
|
|
5882
|
-
created_at: string;
|
|
5883
|
-
/** Format: date-time */
|
|
5884
|
-
updated_at: string;
|
|
5885
|
-
};
|
|
5886
|
-
CardListResponse: {
|
|
5887
|
-
cards: components["schemas"]["CardResponse"][];
|
|
5888
|
-
};
|
|
5889
|
-
/** @description Revealed card details — sensitive. Returned only by the reveal endpoint. */
|
|
5890
|
-
CardRevealResponse: {
|
|
5891
|
-
/** Format: uuid */
|
|
5892
|
-
id: string;
|
|
5893
|
-
pan?: string;
|
|
5894
|
-
cvv?: string;
|
|
5895
|
-
exp_month?: number;
|
|
5896
|
-
exp_year?: number;
|
|
5897
|
-
brand?: string;
|
|
5898
|
-
/** @description Gift-card redemption payload (URL/code/PIN) when applicable. */
|
|
5899
|
-
redemption?: {
|
|
5900
|
-
[key: string]: unknown;
|
|
5901
|
-
};
|
|
5902
|
-
disclaimer: string;
|
|
5895
|
+
"/v1/org/cedar-policies": {
|
|
5896
|
+
parameters: {
|
|
5897
|
+
query?: never;
|
|
5898
|
+
header?: never;
|
|
5899
|
+
path?: never;
|
|
5900
|
+
cookie?: never;
|
|
5903
5901
|
};
|
|
5904
|
-
/**
|
|
5905
|
-
|
|
5906
|
-
|
|
5907
|
-
|
|
5908
|
-
|
|
5909
|
-
|
|
5910
|
-
|
|
5911
|
-
|
|
5902
|
+
/**
|
|
5903
|
+
* List Cedar policies
|
|
5904
|
+
* @description List all Cedar policies for the organization.
|
|
5905
|
+
*/
|
|
5906
|
+
get: operations["listCedarPolicies"];
|
|
5907
|
+
put?: never;
|
|
5908
|
+
/**
|
|
5909
|
+
* Create a Cedar policy
|
|
5910
|
+
* @description Create a new Cedar policy for the organization. Team+ tier required.
|
|
5911
|
+
*/
|
|
5912
|
+
post: operations["createCedarPolicy"];
|
|
5913
|
+
delete?: never;
|
|
5914
|
+
options?: never;
|
|
5915
|
+
head?: never;
|
|
5916
|
+
patch?: never;
|
|
5917
|
+
trace?: never;
|
|
5918
|
+
};
|
|
5919
|
+
"/v1/org/cedar-policies/{id}": {
|
|
5920
|
+
parameters: {
|
|
5921
|
+
query?: never;
|
|
5922
|
+
header?: never;
|
|
5923
|
+
path?: never;
|
|
5924
|
+
cookie?: never;
|
|
5912
5925
|
};
|
|
5913
|
-
|
|
5914
|
-
|
|
5915
|
-
|
|
5916
|
-
|
|
5917
|
-
|
|
5918
|
-
|
|
5919
|
-
|
|
5920
|
-
|
|
5921
|
-
|
|
5922
|
-
|
|
5926
|
+
/**
|
|
5927
|
+
* Get a Cedar policy
|
|
5928
|
+
* @description Retrieve a specific Cedar policy by ID.
|
|
5929
|
+
*/
|
|
5930
|
+
get: operations["getCedarPolicy"];
|
|
5931
|
+
put?: never;
|
|
5932
|
+
post?: never;
|
|
5933
|
+
/**
|
|
5934
|
+
* Delete a Cedar policy
|
|
5935
|
+
* @description Delete a Cedar policy by ID.
|
|
5936
|
+
*/
|
|
5937
|
+
delete: operations["deleteCedarPolicy"];
|
|
5938
|
+
options?: never;
|
|
5939
|
+
head?: never;
|
|
5940
|
+
patch?: never;
|
|
5941
|
+
trace?: never;
|
|
5942
|
+
};
|
|
5943
|
+
"/v1/org/cedar-policies/test": {
|
|
5944
|
+
parameters: {
|
|
5945
|
+
query?: never;
|
|
5946
|
+
header?: never;
|
|
5947
|
+
path?: never;
|
|
5948
|
+
cookie?: never;
|
|
5923
5949
|
};
|
|
5924
|
-
|
|
5925
|
-
|
|
5926
|
-
|
|
5950
|
+
get?: never;
|
|
5951
|
+
put?: never;
|
|
5952
|
+
/**
|
|
5953
|
+
* Test Cedar policy evaluation
|
|
5954
|
+
* @description Evaluate the organization's Cedar policies against a test request.
|
|
5955
|
+
*/
|
|
5956
|
+
post: operations["testCedarPolicy"];
|
|
5957
|
+
delete?: never;
|
|
5958
|
+
options?: never;
|
|
5959
|
+
head?: never;
|
|
5960
|
+
patch?: never;
|
|
5961
|
+
trace?: never;
|
|
5962
|
+
};
|
|
5963
|
+
"/v1/org/opa-policies": {
|
|
5964
|
+
parameters: {
|
|
5965
|
+
query?: never;
|
|
5966
|
+
header?: never;
|
|
5967
|
+
path?: never;
|
|
5968
|
+
cookie?: never;
|
|
5927
5969
|
};
|
|
5928
|
-
/**
|
|
5929
|
-
|
|
5930
|
-
|
|
5931
|
-
|
|
5932
|
-
|
|
5933
|
-
|
|
5970
|
+
/**
|
|
5971
|
+
* List OPA policies
|
|
5972
|
+
* @description List all OPA policies for the organization.
|
|
5973
|
+
*/
|
|
5974
|
+
get: operations["listOpaPolicies"];
|
|
5975
|
+
put?: never;
|
|
5976
|
+
/**
|
|
5977
|
+
* Create an OPA policy
|
|
5978
|
+
* @description Create a new OPA Rego policy for the organization. Business+ tier required.
|
|
5979
|
+
*/
|
|
5980
|
+
post: operations["createOpaPolicy"];
|
|
5981
|
+
delete?: never;
|
|
5982
|
+
options?: never;
|
|
5983
|
+
head?: never;
|
|
5984
|
+
patch?: never;
|
|
5985
|
+
trace?: never;
|
|
5986
|
+
};
|
|
5987
|
+
"/v1/org/opa-policies/{id}": {
|
|
5988
|
+
parameters: {
|
|
5989
|
+
query?: never;
|
|
5990
|
+
header?: never;
|
|
5991
|
+
path?: never;
|
|
5992
|
+
cookie?: never;
|
|
5934
5993
|
};
|
|
5935
|
-
|
|
5936
|
-
|
|
5937
|
-
|
|
5938
|
-
|
|
5939
|
-
|
|
5940
|
-
|
|
5994
|
+
/**
|
|
5995
|
+
* Get an OPA policy
|
|
5996
|
+
* @description Retrieve a specific OPA policy by ID.
|
|
5997
|
+
*/
|
|
5998
|
+
get: operations["getOpaPolicy"];
|
|
5999
|
+
put?: never;
|
|
6000
|
+
post?: never;
|
|
6001
|
+
/**
|
|
6002
|
+
* Delete an OPA policy
|
|
6003
|
+
* @description Delete an OPA policy by ID.
|
|
6004
|
+
*/
|
|
6005
|
+
delete: operations["deleteOpaPolicy"];
|
|
6006
|
+
options?: never;
|
|
6007
|
+
head?: never;
|
|
6008
|
+
patch?: never;
|
|
6009
|
+
trace?: never;
|
|
6010
|
+
};
|
|
6011
|
+
"/v1/org/opa-policies/test": {
|
|
6012
|
+
parameters: {
|
|
6013
|
+
query?: never;
|
|
6014
|
+
header?: never;
|
|
6015
|
+
path?: never;
|
|
6016
|
+
cookie?: never;
|
|
5941
6017
|
};
|
|
5942
|
-
|
|
5943
|
-
|
|
5944
|
-
|
|
6018
|
+
get?: never;
|
|
6019
|
+
put?: never;
|
|
6020
|
+
/**
|
|
6021
|
+
* Test OPA policy evaluation
|
|
6022
|
+
* @description Evaluate the organization's OPA policies against a test input.
|
|
6023
|
+
*/
|
|
6024
|
+
post: operations["testOpaPolicy"];
|
|
6025
|
+
delete?: never;
|
|
6026
|
+
options?: never;
|
|
6027
|
+
head?: never;
|
|
6028
|
+
patch?: never;
|
|
6029
|
+
trace?: never;
|
|
6030
|
+
};
|
|
6031
|
+
"/v1/org/sub-orgs": {
|
|
6032
|
+
parameters: {
|
|
6033
|
+
query?: never;
|
|
6034
|
+
header?: never;
|
|
6035
|
+
path?: never;
|
|
6036
|
+
cookie?: never;
|
|
5945
6037
|
};
|
|
5946
|
-
|
|
5947
|
-
|
|
5948
|
-
|
|
6038
|
+
/**
|
|
6039
|
+
* List sub-organizations
|
|
6040
|
+
* @description List all sub-organizations under the current org.
|
|
6041
|
+
*/
|
|
6042
|
+
get: operations["listSubOrgs"];
|
|
6043
|
+
put?: never;
|
|
6044
|
+
/**
|
|
6045
|
+
* Create a sub-organization
|
|
6046
|
+
* @description Create a new sub-organization under the current org.
|
|
6047
|
+
*/
|
|
6048
|
+
post: operations["createSubOrg"];
|
|
6049
|
+
delete?: never;
|
|
6050
|
+
options?: never;
|
|
6051
|
+
head?: never;
|
|
6052
|
+
patch?: never;
|
|
6053
|
+
trace?: never;
|
|
6054
|
+
};
|
|
6055
|
+
"/v1/org/sub-orgs/{sub_org_id}": {
|
|
6056
|
+
parameters: {
|
|
6057
|
+
query?: never;
|
|
6058
|
+
header?: never;
|
|
6059
|
+
path?: never;
|
|
6060
|
+
cookie?: never;
|
|
6061
|
+
};
|
|
6062
|
+
/**
|
|
6063
|
+
* Get a sub-organization
|
|
6064
|
+
* @description Retrieve a specific sub-organization by ID.
|
|
6065
|
+
*/
|
|
6066
|
+
get: operations["getSubOrg"];
|
|
6067
|
+
put?: never;
|
|
6068
|
+
post?: never;
|
|
6069
|
+
/**
|
|
6070
|
+
* Archive a sub-organization
|
|
6071
|
+
* @description Archive (soft-delete) a sub-organization.
|
|
6072
|
+
*/
|
|
6073
|
+
delete: operations["deleteSubOrg"];
|
|
6074
|
+
options?: never;
|
|
6075
|
+
head?: never;
|
|
6076
|
+
/**
|
|
6077
|
+
* Update a sub-organization
|
|
6078
|
+
* @description Update sub-organization name, description, or billing model.
|
|
6079
|
+
*/
|
|
6080
|
+
patch: operations["updateSubOrg"];
|
|
6081
|
+
trace?: never;
|
|
6082
|
+
};
|
|
6083
|
+
"/v1/org/sub-orgs/{sub_org_id}/users": {
|
|
6084
|
+
parameters: {
|
|
6085
|
+
query?: never;
|
|
6086
|
+
header?: never;
|
|
6087
|
+
path?: never;
|
|
6088
|
+
cookie?: never;
|
|
6089
|
+
};
|
|
6090
|
+
get?: never;
|
|
6091
|
+
put?: never;
|
|
6092
|
+
/**
|
|
6093
|
+
* Add a user to a sub-organization
|
|
6094
|
+
* @description Add a user to a sub-organization with a specified role.
|
|
6095
|
+
*/
|
|
6096
|
+
post: operations["addSubOrgUser"];
|
|
6097
|
+
delete?: never;
|
|
6098
|
+
options?: never;
|
|
6099
|
+
head?: never;
|
|
6100
|
+
patch?: never;
|
|
6101
|
+
trace?: never;
|
|
6102
|
+
};
|
|
6103
|
+
"/v1/org/sub-orgs/{sub_org_id}/permissions": {
|
|
6104
|
+
parameters: {
|
|
6105
|
+
query?: never;
|
|
6106
|
+
header?: never;
|
|
6107
|
+
path?: never;
|
|
6108
|
+
cookie?: never;
|
|
6109
|
+
};
|
|
6110
|
+
get?: never;
|
|
6111
|
+
put?: never;
|
|
6112
|
+
/**
|
|
6113
|
+
* Grant permissions to a sub-organization
|
|
6114
|
+
* @description Grant a permission scope to the sub-organization.
|
|
6115
|
+
*/
|
|
6116
|
+
post: operations["grantSubOrgPermission"];
|
|
6117
|
+
delete?: never;
|
|
6118
|
+
options?: never;
|
|
6119
|
+
head?: never;
|
|
6120
|
+
patch?: never;
|
|
6121
|
+
trace?: never;
|
|
6122
|
+
};
|
|
6123
|
+
"/v1/org/sub-orgs/{sub_org_id}/wallets/generate": {
|
|
6124
|
+
parameters: {
|
|
6125
|
+
query?: never;
|
|
6126
|
+
header?: never;
|
|
6127
|
+
path?: never;
|
|
6128
|
+
cookie?: never;
|
|
6129
|
+
};
|
|
6130
|
+
get?: never;
|
|
6131
|
+
put?: never;
|
|
6132
|
+
/**
|
|
6133
|
+
* Generate wallets for a sub-organization
|
|
6134
|
+
* @description Generate treasury wallets for specified chains within the sub-org.
|
|
6135
|
+
*/
|
|
6136
|
+
post: operations["generateSubOrgWallets"];
|
|
6137
|
+
delete?: never;
|
|
6138
|
+
options?: never;
|
|
6139
|
+
head?: never;
|
|
6140
|
+
patch?: never;
|
|
6141
|
+
trace?: never;
|
|
6142
|
+
};
|
|
6143
|
+
"/v1/portfolio": {
|
|
6144
|
+
parameters: {
|
|
6145
|
+
query?: never;
|
|
6146
|
+
header?: never;
|
|
6147
|
+
path?: never;
|
|
6148
|
+
cookie?: never;
|
|
6149
|
+
};
|
|
6150
|
+
/**
|
|
6151
|
+
* Get unified portfolio
|
|
6152
|
+
* @description Returns an aggregated view of all wallet balances (treasury wallets,
|
|
6153
|
+
* signing keys, smart accounts) with USD estimates.
|
|
6154
|
+
*/
|
|
6155
|
+
get: operations["getPortfolio"];
|
|
6156
|
+
put?: never;
|
|
6157
|
+
post?: never;
|
|
6158
|
+
delete?: never;
|
|
6159
|
+
options?: never;
|
|
6160
|
+
head?: never;
|
|
6161
|
+
patch?: never;
|
|
6162
|
+
trace?: never;
|
|
6163
|
+
};
|
|
6164
|
+
"/v1/agents/{agent_id}/smart-accounts/import": {
|
|
6165
|
+
parameters: {
|
|
6166
|
+
query?: never;
|
|
6167
|
+
header?: never;
|
|
6168
|
+
path?: never;
|
|
6169
|
+
cookie?: never;
|
|
6170
|
+
};
|
|
6171
|
+
get?: never;
|
|
6172
|
+
put?: never;
|
|
6173
|
+
/**
|
|
6174
|
+
* Import an existing Safe smart account
|
|
6175
|
+
* @description Import an existing Safe smart account for an agent. Optionally verifies
|
|
6176
|
+
* on-chain that the agent's EOA is a signer on the Safe.
|
|
6177
|
+
*/
|
|
6178
|
+
post: operations["importSmartAccount"];
|
|
6179
|
+
delete?: never;
|
|
6180
|
+
options?: never;
|
|
6181
|
+
head?: never;
|
|
6182
|
+
patch?: never;
|
|
6183
|
+
trace?: never;
|
|
6184
|
+
};
|
|
6185
|
+
}
|
|
6186
|
+
export type webhooks = Record<string, never>;
|
|
6187
|
+
export interface components {
|
|
6188
|
+
schemas: {
|
|
6189
|
+
OrderCardRequest: {
|
|
6190
|
+
/** @enum {string} */
|
|
6191
|
+
kind: "prepaid" | "gift_card";
|
|
6192
|
+
/**
|
|
6193
|
+
* @description USD amount to load onto the card.
|
|
6194
|
+
* @example 25.00
|
|
6195
|
+
*/
|
|
6196
|
+
amount_usd: string;
|
|
6197
|
+
/** @description Optional Laso gift-card server/brand id (gift cards only). */
|
|
6198
|
+
laso_server_id?: string;
|
|
6199
|
+
/** @description Optional country (prepaid cards; defaults to US). */
|
|
6200
|
+
country?: string;
|
|
6201
|
+
};
|
|
6202
|
+
/** @description Masked card view — never contains PAN/CVV. */
|
|
6203
|
+
CardResponse: {
|
|
6204
|
+
/** Format: uuid */
|
|
6205
|
+
id: string;
|
|
6206
|
+
/** Format: uuid */
|
|
6207
|
+
agent_id?: string | null;
|
|
6208
|
+
/** @enum {string} */
|
|
6209
|
+
issuer: "laso" | "manual";
|
|
6210
|
+
/** @enum {string} */
|
|
6211
|
+
kind: "prepaid" | "gift_card";
|
|
6212
|
+
brand?: string;
|
|
6213
|
+
last4?: string;
|
|
6214
|
+
exp_month?: number;
|
|
6215
|
+
exp_year?: number;
|
|
6216
|
+
currency: string;
|
|
6217
|
+
order_amount_usd?: string;
|
|
6218
|
+
balance?: string;
|
|
6219
|
+
/** @enum {string} */
|
|
6220
|
+
status: "ordering" | "pending" | "ready" | "depleted" | "expired" | "voided" | "orphaned_payment" | "awaiting_approval" | "rejected";
|
|
6221
|
+
/** @enum {string} */
|
|
6222
|
+
storage_mode: "reference" | "full";
|
|
6223
|
+
reveal_policy: {
|
|
6224
|
+
[key: string]: unknown;
|
|
6225
|
+
};
|
|
6226
|
+
/**
|
|
6227
|
+
* Format: uuid
|
|
6228
|
+
* @description Linked approval when status is awaiting_approval
|
|
6229
|
+
*/
|
|
6230
|
+
approval_id?: string;
|
|
6231
|
+
/** Format: date-time */
|
|
6232
|
+
void_after?: string;
|
|
6233
|
+
/** Format: date-time */
|
|
6234
|
+
created_at: string;
|
|
6235
|
+
/** Format: date-time */
|
|
6236
|
+
updated_at: string;
|
|
6237
|
+
};
|
|
6238
|
+
CardListResponse: {
|
|
6239
|
+
cards: components["schemas"]["CardResponse"][];
|
|
6240
|
+
};
|
|
6241
|
+
/** @description Revealed card details — sensitive. Returned only by the reveal endpoint. */
|
|
6242
|
+
CardRevealResponse: {
|
|
6243
|
+
/** Format: uuid */
|
|
6244
|
+
id: string;
|
|
6245
|
+
pan?: string;
|
|
6246
|
+
cvv?: string;
|
|
6247
|
+
exp_month?: number;
|
|
6248
|
+
exp_year?: number;
|
|
6249
|
+
brand?: string;
|
|
6250
|
+
/** @description Gift-card redemption payload (URL/code/PIN) when applicable. */
|
|
6251
|
+
redemption?: {
|
|
6252
|
+
[key: string]: unknown;
|
|
6253
|
+
};
|
|
6254
|
+
disclaimer: string;
|
|
6255
|
+
};
|
|
6256
|
+
/** @description Human-settable per-card reveal policy + lifecycle controls. */
|
|
6257
|
+
UpdateCardRequest: {
|
|
6258
|
+
agent_reveal?: boolean;
|
|
6259
|
+
max_reveals?: number;
|
|
6260
|
+
/** Format: date-time */
|
|
6261
|
+
reveal_expires_at?: string | null;
|
|
6262
|
+
/** Format: date-time */
|
|
6263
|
+
void_after?: string | null;
|
|
6264
|
+
};
|
|
6265
|
+
ImportCardRequest: {
|
|
6266
|
+
pan: string;
|
|
6267
|
+
cvv: string;
|
|
6268
|
+
exp_month: number;
|
|
6269
|
+
exp_year: number;
|
|
6270
|
+
brand?: string;
|
|
6271
|
+
currency?: string;
|
|
6272
|
+
balance?: string;
|
|
6273
|
+
/** Format: uuid */
|
|
6274
|
+
agent_id?: string;
|
|
6275
|
+
};
|
|
6276
|
+
SearchGiftCardsRequest: {
|
|
6277
|
+
query?: string;
|
|
6278
|
+
country?: string;
|
|
6279
|
+
};
|
|
6280
|
+
/** @description RFC 7807 error envelope */
|
|
6281
|
+
ProblemDetails: {
|
|
6282
|
+
type?: string;
|
|
6283
|
+
title?: string;
|
|
6284
|
+
status?: number;
|
|
6285
|
+
detail?: string;
|
|
6286
|
+
};
|
|
6287
|
+
ResetUsageEventsResponse: {
|
|
6288
|
+
/**
|
|
6289
|
+
* Format: int64
|
|
6290
|
+
* @description Number of usage_events rows removed
|
|
6291
|
+
*/
|
|
6292
|
+
deleted_events: number;
|
|
6293
|
+
};
|
|
6294
|
+
ResetUsageForUserEmailRequest: {
|
|
6295
|
+
/** Format: email */
|
|
6296
|
+
email: string;
|
|
6297
|
+
};
|
|
6298
|
+
ResetUsageForUserEmailResponse: {
|
|
6299
|
+
/** Format: int64 */
|
|
6300
|
+
deleted_events: number;
|
|
5949
6301
|
/** Format: uuid */
|
|
5950
6302
|
org_id: string;
|
|
5951
6303
|
/** Format: uuid */
|
|
@@ -6313,6 +6665,16 @@ export interface components {
|
|
|
6313
6665
|
};
|
|
6314
6666
|
/** Format: date-time */
|
|
6315
6667
|
expires_at?: string;
|
|
6668
|
+
/**
|
|
6669
|
+
* @default allow
|
|
6670
|
+
* @enum {string}
|
|
6671
|
+
*/
|
|
6672
|
+
effect: "allow" | "deny";
|
|
6673
|
+
/** @default 0 */
|
|
6674
|
+
priority: number;
|
|
6675
|
+
attribute_conditions?: {
|
|
6676
|
+
[key: string]: unknown;
|
|
6677
|
+
};
|
|
6316
6678
|
};
|
|
6317
6679
|
UpdatePolicyRequest: {
|
|
6318
6680
|
permissions?: string[];
|
|
@@ -6321,6 +6683,16 @@ export interface components {
|
|
|
6321
6683
|
};
|
|
6322
6684
|
/** Format: date-time */
|
|
6323
6685
|
expires_at?: string;
|
|
6686
|
+
/**
|
|
6687
|
+
* @default allow
|
|
6688
|
+
* @enum {string}
|
|
6689
|
+
*/
|
|
6690
|
+
effect: "allow" | "deny";
|
|
6691
|
+
/** @default 0 */
|
|
6692
|
+
priority: number;
|
|
6693
|
+
attribute_conditions?: {
|
|
6694
|
+
[key: string]: unknown;
|
|
6695
|
+
};
|
|
6324
6696
|
};
|
|
6325
6697
|
PolicyResponse: {
|
|
6326
6698
|
/** Format: uuid */
|
|
@@ -6340,6 +6712,16 @@ export interface components {
|
|
|
6340
6712
|
created_by_type?: string;
|
|
6341
6713
|
/** Format: date-time */
|
|
6342
6714
|
created_at: string;
|
|
6715
|
+
/**
|
|
6716
|
+
* @default allow
|
|
6717
|
+
* @enum {string}
|
|
6718
|
+
*/
|
|
6719
|
+
effect: "allow" | "deny";
|
|
6720
|
+
/** @default 0 */
|
|
6721
|
+
priority: number;
|
|
6722
|
+
attribute_conditions?: {
|
|
6723
|
+
[key: string]: unknown;
|
|
6724
|
+
};
|
|
6343
6725
|
};
|
|
6344
6726
|
PolicyListResponse: {
|
|
6345
6727
|
policies?: components["schemas"]["PolicyResponse"][];
|
|
@@ -7735,10 +8117,20 @@ export interface components {
|
|
|
7735
8117
|
subscription_status?: "active" | "inactive";
|
|
7736
8118
|
credit_balance?: components["schemas"]["LlmCreditBalance"];
|
|
7737
8119
|
billing_cycle_usage?: components["schemas"]["LlmBillingCycleUsage"];
|
|
8120
|
+
active_subscription_count?: number;
|
|
8121
|
+
subscription_ids?: string[];
|
|
8122
|
+
warning?: string;
|
|
7738
8123
|
};
|
|
7739
8124
|
LlmCheckoutResponse: {
|
|
7740
8125
|
/** Format: uri */
|
|
7741
8126
|
checkout_url?: string;
|
|
8127
|
+
already_subscribed?: boolean;
|
|
8128
|
+
subscription_id?: string;
|
|
8129
|
+
};
|
|
8130
|
+
LlmCancelDuplicatesResponse: {
|
|
8131
|
+
cancelled_count: number;
|
|
8132
|
+
cancelled_subscription_ids: string[];
|
|
8133
|
+
remaining_subscription_ids: string[];
|
|
7742
8134
|
};
|
|
7743
8135
|
LlmDisableResponse: {
|
|
7744
8136
|
enabled?: boolean;
|
|
@@ -8057,7 +8449,7 @@ export interface components {
|
|
|
8057
8449
|
TreasuryWalletSendRequest: {
|
|
8058
8450
|
/** @description Destination address (0x-prefixed) */
|
|
8059
8451
|
to: string;
|
|
8060
|
-
/** @description Value in wei */
|
|
8452
|
+
/** @description Value in wei (or major-unit decimal string for non-EVM) */
|
|
8061
8453
|
value_wei: string;
|
|
8062
8454
|
/** @description Hex-encoded calldata (optional) */
|
|
8063
8455
|
data?: string;
|
|
@@ -8068,6 +8460,22 @@ export interface components {
|
|
|
8068
8460
|
* @default false
|
|
8069
8461
|
*/
|
|
8070
8462
|
gasless: boolean;
|
|
8463
|
+
/** @description Token contract address / mint (ERC-20, SPL, TRC-20, Cardano policy_id.asset_name) */
|
|
8464
|
+
token_mint?: string;
|
|
8465
|
+
/** @description Transaction memo (Solana Memo Program, XRP Memos, Tron extra_data) */
|
|
8466
|
+
memo?: string;
|
|
8467
|
+
/** @description XRP destination tag */
|
|
8468
|
+
destination_tag?: number;
|
|
8469
|
+
/** @description Bitcoin fee rate in sat/vbyte */
|
|
8470
|
+
fee_rate_sat_per_vbyte?: number;
|
|
8471
|
+
/** @description Raw XRPL transaction JSON for advanced XRP transaction types */
|
|
8472
|
+
xrpl_tx_json?: Record<string, never>;
|
|
8473
|
+
/** @description Tron fee limit in sun */
|
|
8474
|
+
fee_limit_sun?: number;
|
|
8475
|
+
/** @description Token decimals (required for non-EVM token transfers when not in known_tokens) */
|
|
8476
|
+
token_decimals?: number;
|
|
8477
|
+
/** @description Cardano transaction TTL (slot number) */
|
|
8478
|
+
ttl?: number;
|
|
8071
8479
|
};
|
|
8072
8480
|
TreasuryWalletSendResponse: {
|
|
8073
8481
|
tx_hash: string;
|
|
@@ -9622,11 +10030,154 @@ export interface components {
|
|
|
9622
10030
|
OAuthAppCredentialListResponse: {
|
|
9623
10031
|
credentials?: components["schemas"]["OAuthAppCredentialResponse"][];
|
|
9624
10032
|
};
|
|
9625
|
-
|
|
9626
|
-
|
|
9627
|
-
|
|
9628
|
-
|
|
9629
|
-
|
|
10033
|
+
ImportKeyRequest: {
|
|
10034
|
+
/** @description The private key to import */
|
|
10035
|
+
private_key: string;
|
|
10036
|
+
/**
|
|
10037
|
+
* @description Key format (default hex)
|
|
10038
|
+
* @enum {string}
|
|
10039
|
+
*/
|
|
10040
|
+
format?: "hex" | "base64" | "wif";
|
|
10041
|
+
};
|
|
10042
|
+
CreateCedarPolicyRequest: {
|
|
10043
|
+
/** @description Cedar policy text */
|
|
10044
|
+
policy_text: string;
|
|
10045
|
+
description?: string;
|
|
10046
|
+
};
|
|
10047
|
+
CedarPolicyResponse: {
|
|
10048
|
+
/** Format: uuid */
|
|
10049
|
+
id?: string;
|
|
10050
|
+
policy_text?: string;
|
|
10051
|
+
description?: string;
|
|
10052
|
+
/** Format: date-time */
|
|
10053
|
+
created_at?: string;
|
|
10054
|
+
/** Format: uuid */
|
|
10055
|
+
created_by?: string;
|
|
10056
|
+
};
|
|
10057
|
+
CedarPolicyListResponse: {
|
|
10058
|
+
policies?: components["schemas"]["CedarPolicyResponse"][];
|
|
10059
|
+
};
|
|
10060
|
+
CedarPolicyTestRequest: {
|
|
10061
|
+
principal: string;
|
|
10062
|
+
action: string;
|
|
10063
|
+
resource: string;
|
|
10064
|
+
context?: Record<string, never>;
|
|
10065
|
+
};
|
|
10066
|
+
CedarPolicyTestResponse: {
|
|
10067
|
+
/** @enum {string} */
|
|
10068
|
+
decision?: "allow" | "deny";
|
|
10069
|
+
reasons?: string[];
|
|
10070
|
+
};
|
|
10071
|
+
CreateOpaPolicyRequest: {
|
|
10072
|
+
/** @description OPA Rego module source */
|
|
10073
|
+
rego_module: string;
|
|
10074
|
+
description?: string;
|
|
10075
|
+
/** @description Static data document for the policy */
|
|
10076
|
+
data?: Record<string, never>;
|
|
10077
|
+
};
|
|
10078
|
+
OpaPolicyResponse: {
|
|
10079
|
+
/** Format: uuid */
|
|
10080
|
+
id?: string;
|
|
10081
|
+
rego_module?: string;
|
|
10082
|
+
description?: string;
|
|
10083
|
+
data?: Record<string, never>;
|
|
10084
|
+
/** Format: date-time */
|
|
10085
|
+
created_at?: string;
|
|
10086
|
+
/** Format: uuid */
|
|
10087
|
+
created_by?: string;
|
|
10088
|
+
};
|
|
10089
|
+
OpaPolicyListResponse: {
|
|
10090
|
+
policies?: components["schemas"]["OpaPolicyResponse"][];
|
|
10091
|
+
};
|
|
10092
|
+
OpaPolicyTestRequest: {
|
|
10093
|
+
/** @description Input document for policy evaluation */
|
|
10094
|
+
input: Record<string, never>;
|
|
10095
|
+
/** @description Optional data override */
|
|
10096
|
+
data?: Record<string, never>;
|
|
10097
|
+
};
|
|
10098
|
+
OpaPolicyTestResponse: {
|
|
10099
|
+
result?: Record<string, never>;
|
|
10100
|
+
/** @enum {string} */
|
|
10101
|
+
decision?: "allow" | "deny";
|
|
10102
|
+
};
|
|
10103
|
+
CreateSubOrgRequest: {
|
|
10104
|
+
name: string;
|
|
10105
|
+
description?: string;
|
|
10106
|
+
/**
|
|
10107
|
+
* @default inherit
|
|
10108
|
+
* @enum {string}
|
|
10109
|
+
*/
|
|
10110
|
+
billing_model: "inherit" | "independent";
|
|
10111
|
+
};
|
|
10112
|
+
SubOrgResponse: {
|
|
10113
|
+
/** Format: uuid */
|
|
10114
|
+
id?: string;
|
|
10115
|
+
/** Format: uuid */
|
|
10116
|
+
parent_org_id?: string;
|
|
10117
|
+
name?: string;
|
|
10118
|
+
description?: string;
|
|
10119
|
+
billing_model?: string;
|
|
10120
|
+
/** @enum {string} */
|
|
10121
|
+
status?: "active" | "archived";
|
|
10122
|
+
/** Format: date-time */
|
|
10123
|
+
created_at?: string;
|
|
10124
|
+
};
|
|
10125
|
+
SubOrgListResponse: {
|
|
10126
|
+
sub_orgs?: components["schemas"]["SubOrgResponse"][];
|
|
10127
|
+
};
|
|
10128
|
+
SubOrgPermissionRequest: {
|
|
10129
|
+
/** @description Permission to grant (e.g. vaults:read, agents:write) */
|
|
10130
|
+
permission: string;
|
|
10131
|
+
resource_ids?: string[];
|
|
10132
|
+
};
|
|
10133
|
+
SubOrgAddUserRequest: {
|
|
10134
|
+
/** Format: uuid */
|
|
10135
|
+
user_id: string;
|
|
10136
|
+
/**
|
|
10137
|
+
* @default member
|
|
10138
|
+
* @enum {string}
|
|
10139
|
+
*/
|
|
10140
|
+
role: "admin" | "member" | "viewer";
|
|
10141
|
+
};
|
|
10142
|
+
SubOrgGenerateWalletsRequest: {
|
|
10143
|
+
chains?: string[];
|
|
10144
|
+
};
|
|
10145
|
+
PortfolioResponse: {
|
|
10146
|
+
wallets?: components["schemas"]["PortfolioWalletEntry"][];
|
|
10147
|
+
total_usd_estimate?: string;
|
|
10148
|
+
};
|
|
10149
|
+
PortfolioWalletEntry: {
|
|
10150
|
+
/** @enum {string} */
|
|
10151
|
+
wallet_type?: "treasury" | "signing_key" | "smart_account";
|
|
10152
|
+
chain?: string;
|
|
10153
|
+
address?: string;
|
|
10154
|
+
native_balance?: string;
|
|
10155
|
+
native_balance_usd?: string;
|
|
10156
|
+
tokens?: components["schemas"]["PortfolioTokenBalance"][];
|
|
10157
|
+
};
|
|
10158
|
+
PortfolioTokenBalance: {
|
|
10159
|
+
contract_address?: string;
|
|
10160
|
+
symbol?: string;
|
|
10161
|
+
name?: string;
|
|
10162
|
+
balance?: string;
|
|
10163
|
+
balance_usd?: string;
|
|
10164
|
+
decimals?: number;
|
|
10165
|
+
};
|
|
10166
|
+
ImportSmartAccountRequest: {
|
|
10167
|
+
chain: string;
|
|
10168
|
+
chain_id: number;
|
|
10169
|
+
safe_address: string;
|
|
10170
|
+
/**
|
|
10171
|
+
* @description Verify on-chain Safe ownership
|
|
10172
|
+
* @default true
|
|
10173
|
+
*/
|
|
10174
|
+
verify: boolean;
|
|
10175
|
+
};
|
|
10176
|
+
};
|
|
10177
|
+
responses: {
|
|
10178
|
+
/** @description Invalid request */
|
|
10179
|
+
BadRequest: {
|
|
10180
|
+
headers: {
|
|
9630
10181
|
[name: string]: unknown;
|
|
9631
10182
|
};
|
|
9632
10183
|
content: {
|
|
@@ -12108,6 +12659,35 @@ export interface operations {
|
|
|
12108
12659
|
404: components["responses"]["NotFound"];
|
|
12109
12660
|
};
|
|
12110
12661
|
};
|
|
12662
|
+
importSigningKey: {
|
|
12663
|
+
parameters: {
|
|
12664
|
+
query?: never;
|
|
12665
|
+
header?: never;
|
|
12666
|
+
path: {
|
|
12667
|
+
agent_id: components["parameters"]["AgentId"];
|
|
12668
|
+
chain: string;
|
|
12669
|
+
};
|
|
12670
|
+
cookie?: never;
|
|
12671
|
+
};
|
|
12672
|
+
requestBody: {
|
|
12673
|
+
content: {
|
|
12674
|
+
"application/json": components["schemas"]["ImportKeyRequest"];
|
|
12675
|
+
};
|
|
12676
|
+
};
|
|
12677
|
+
responses: {
|
|
12678
|
+
/** @description Signing key imported */
|
|
12679
|
+
201: {
|
|
12680
|
+
headers: {
|
|
12681
|
+
[name: string]: unknown;
|
|
12682
|
+
};
|
|
12683
|
+
content: {
|
|
12684
|
+
"application/json": components["schemas"]["SigningKeyResponse"];
|
|
12685
|
+
};
|
|
12686
|
+
};
|
|
12687
|
+
401: components["responses"]["Unauthorized"];
|
|
12688
|
+
403: components["responses"]["Forbidden"];
|
|
12689
|
+
};
|
|
12690
|
+
};
|
|
12111
12691
|
leaseBankrKey: {
|
|
12112
12692
|
parameters: {
|
|
12113
12693
|
query?: never;
|
|
@@ -13320,6 +13900,26 @@ export interface operations {
|
|
|
13320
13900
|
};
|
|
13321
13901
|
};
|
|
13322
13902
|
};
|
|
13903
|
+
cancelLlmDuplicateSubscriptions: {
|
|
13904
|
+
parameters: {
|
|
13905
|
+
query?: never;
|
|
13906
|
+
header?: never;
|
|
13907
|
+
path?: never;
|
|
13908
|
+
cookie?: never;
|
|
13909
|
+
};
|
|
13910
|
+
requestBody?: never;
|
|
13911
|
+
responses: {
|
|
13912
|
+
/** @description Duplicate subscriptions cancelled */
|
|
13913
|
+
200: {
|
|
13914
|
+
headers: {
|
|
13915
|
+
[name: string]: unknown;
|
|
13916
|
+
};
|
|
13917
|
+
content: {
|
|
13918
|
+
"application/json": components["schemas"]["LlmCancelDuplicatesResponse"];
|
|
13919
|
+
};
|
|
13920
|
+
};
|
|
13921
|
+
};
|
|
13922
|
+
};
|
|
13323
13923
|
billingOverageMethod: {
|
|
13324
13924
|
parameters: {
|
|
13325
13925
|
query?: never;
|
|
@@ -14120,6 +14720,34 @@ export interface operations {
|
|
|
14120
14720
|
404: components["responses"]["NotFound"];
|
|
14121
14721
|
};
|
|
14122
14722
|
};
|
|
14723
|
+
importTreasuryWallet: {
|
|
14724
|
+
parameters: {
|
|
14725
|
+
query?: never;
|
|
14726
|
+
header?: never;
|
|
14727
|
+
path: {
|
|
14728
|
+
chain: string;
|
|
14729
|
+
};
|
|
14730
|
+
cookie?: never;
|
|
14731
|
+
};
|
|
14732
|
+
requestBody: {
|
|
14733
|
+
content: {
|
|
14734
|
+
"application/json": components["schemas"]["ImportKeyRequest"];
|
|
14735
|
+
};
|
|
14736
|
+
};
|
|
14737
|
+
responses: {
|
|
14738
|
+
/** @description Treasury wallet imported */
|
|
14739
|
+
201: {
|
|
14740
|
+
headers: {
|
|
14741
|
+
[name: string]: unknown;
|
|
14742
|
+
};
|
|
14743
|
+
content: {
|
|
14744
|
+
"application/json": components["schemas"]["TreasuryWalletResponse"];
|
|
14745
|
+
};
|
|
14746
|
+
};
|
|
14747
|
+
401: components["responses"]["Unauthorized"];
|
|
14748
|
+
403: components["responses"]["Forbidden"];
|
|
14749
|
+
};
|
|
14750
|
+
};
|
|
14123
14751
|
getEffectiveSpendPolicy: {
|
|
14124
14752
|
parameters: {
|
|
14125
14753
|
query?: never;
|
|
@@ -17681,5 +18309,496 @@ export interface operations {
|
|
|
17681
18309
|
};
|
|
17682
18310
|
};
|
|
17683
18311
|
};
|
|
18312
|
+
listCedarPolicies: {
|
|
18313
|
+
parameters: {
|
|
18314
|
+
query?: never;
|
|
18315
|
+
header?: never;
|
|
18316
|
+
path?: never;
|
|
18317
|
+
cookie?: never;
|
|
18318
|
+
};
|
|
18319
|
+
requestBody?: never;
|
|
18320
|
+
responses: {
|
|
18321
|
+
/** @description Cedar policies list */
|
|
18322
|
+
200: {
|
|
18323
|
+
headers: {
|
|
18324
|
+
[name: string]: unknown;
|
|
18325
|
+
};
|
|
18326
|
+
content: {
|
|
18327
|
+
"application/json": components["schemas"]["CedarPolicyListResponse"];
|
|
18328
|
+
};
|
|
18329
|
+
};
|
|
18330
|
+
401: components["responses"]["Unauthorized"];
|
|
18331
|
+
};
|
|
18332
|
+
};
|
|
18333
|
+
createCedarPolicy: {
|
|
18334
|
+
parameters: {
|
|
18335
|
+
query?: never;
|
|
18336
|
+
header?: never;
|
|
18337
|
+
path?: never;
|
|
18338
|
+
cookie?: never;
|
|
18339
|
+
};
|
|
18340
|
+
requestBody: {
|
|
18341
|
+
content: {
|
|
18342
|
+
"application/json": components["schemas"]["CreateCedarPolicyRequest"];
|
|
18343
|
+
};
|
|
18344
|
+
};
|
|
18345
|
+
responses: {
|
|
18346
|
+
/** @description Cedar policy created */
|
|
18347
|
+
201: {
|
|
18348
|
+
headers: {
|
|
18349
|
+
[name: string]: unknown;
|
|
18350
|
+
};
|
|
18351
|
+
content: {
|
|
18352
|
+
"application/json": components["schemas"]["CedarPolicyResponse"];
|
|
18353
|
+
};
|
|
18354
|
+
};
|
|
18355
|
+
400: components["responses"]["BadRequest"];
|
|
18356
|
+
401: components["responses"]["Unauthorized"];
|
|
18357
|
+
403: components["responses"]["Forbidden"];
|
|
18358
|
+
};
|
|
18359
|
+
};
|
|
18360
|
+
getCedarPolicy: {
|
|
18361
|
+
parameters: {
|
|
18362
|
+
query?: never;
|
|
18363
|
+
header?: never;
|
|
18364
|
+
path: {
|
|
18365
|
+
id: string;
|
|
18366
|
+
};
|
|
18367
|
+
cookie?: never;
|
|
18368
|
+
};
|
|
18369
|
+
requestBody?: never;
|
|
18370
|
+
responses: {
|
|
18371
|
+
/** @description Cedar policy details */
|
|
18372
|
+
200: {
|
|
18373
|
+
headers: {
|
|
18374
|
+
[name: string]: unknown;
|
|
18375
|
+
};
|
|
18376
|
+
content: {
|
|
18377
|
+
"application/json": components["schemas"]["CedarPolicyResponse"];
|
|
18378
|
+
};
|
|
18379
|
+
};
|
|
18380
|
+
401: components["responses"]["Unauthorized"];
|
|
18381
|
+
404: components["responses"]["NotFound"];
|
|
18382
|
+
};
|
|
18383
|
+
};
|
|
18384
|
+
deleteCedarPolicy: {
|
|
18385
|
+
parameters: {
|
|
18386
|
+
query?: never;
|
|
18387
|
+
header?: never;
|
|
18388
|
+
path: {
|
|
18389
|
+
id: string;
|
|
18390
|
+
};
|
|
18391
|
+
cookie?: never;
|
|
18392
|
+
};
|
|
18393
|
+
requestBody?: never;
|
|
18394
|
+
responses: {
|
|
18395
|
+
/** @description Cedar policy deleted */
|
|
18396
|
+
204: {
|
|
18397
|
+
headers: {
|
|
18398
|
+
[name: string]: unknown;
|
|
18399
|
+
};
|
|
18400
|
+
content?: never;
|
|
18401
|
+
};
|
|
18402
|
+
401: components["responses"]["Unauthorized"];
|
|
18403
|
+
404: components["responses"]["NotFound"];
|
|
18404
|
+
};
|
|
18405
|
+
};
|
|
18406
|
+
testCedarPolicy: {
|
|
18407
|
+
parameters: {
|
|
18408
|
+
query?: never;
|
|
18409
|
+
header?: never;
|
|
18410
|
+
path?: never;
|
|
18411
|
+
cookie?: never;
|
|
18412
|
+
};
|
|
18413
|
+
requestBody: {
|
|
18414
|
+
content: {
|
|
18415
|
+
"application/json": components["schemas"]["CedarPolicyTestRequest"];
|
|
18416
|
+
};
|
|
18417
|
+
};
|
|
18418
|
+
responses: {
|
|
18419
|
+
/** @description Policy evaluation result */
|
|
18420
|
+
200: {
|
|
18421
|
+
headers: {
|
|
18422
|
+
[name: string]: unknown;
|
|
18423
|
+
};
|
|
18424
|
+
content: {
|
|
18425
|
+
"application/json": components["schemas"]["CedarPolicyTestResponse"];
|
|
18426
|
+
};
|
|
18427
|
+
};
|
|
18428
|
+
400: components["responses"]["BadRequest"];
|
|
18429
|
+
401: components["responses"]["Unauthorized"];
|
|
18430
|
+
};
|
|
18431
|
+
};
|
|
18432
|
+
listOpaPolicies: {
|
|
18433
|
+
parameters: {
|
|
18434
|
+
query?: never;
|
|
18435
|
+
header?: never;
|
|
18436
|
+
path?: never;
|
|
18437
|
+
cookie?: never;
|
|
18438
|
+
};
|
|
18439
|
+
requestBody?: never;
|
|
18440
|
+
responses: {
|
|
18441
|
+
/** @description OPA policies list */
|
|
18442
|
+
200: {
|
|
18443
|
+
headers: {
|
|
18444
|
+
[name: string]: unknown;
|
|
18445
|
+
};
|
|
18446
|
+
content: {
|
|
18447
|
+
"application/json": components["schemas"]["OpaPolicyListResponse"];
|
|
18448
|
+
};
|
|
18449
|
+
};
|
|
18450
|
+
401: components["responses"]["Unauthorized"];
|
|
18451
|
+
};
|
|
18452
|
+
};
|
|
18453
|
+
createOpaPolicy: {
|
|
18454
|
+
parameters: {
|
|
18455
|
+
query?: never;
|
|
18456
|
+
header?: never;
|
|
18457
|
+
path?: never;
|
|
18458
|
+
cookie?: never;
|
|
18459
|
+
};
|
|
18460
|
+
requestBody: {
|
|
18461
|
+
content: {
|
|
18462
|
+
"application/json": components["schemas"]["CreateOpaPolicyRequest"];
|
|
18463
|
+
};
|
|
18464
|
+
};
|
|
18465
|
+
responses: {
|
|
18466
|
+
/** @description OPA policy created */
|
|
18467
|
+
201: {
|
|
18468
|
+
headers: {
|
|
18469
|
+
[name: string]: unknown;
|
|
18470
|
+
};
|
|
18471
|
+
content: {
|
|
18472
|
+
"application/json": components["schemas"]["OpaPolicyResponse"];
|
|
18473
|
+
};
|
|
18474
|
+
};
|
|
18475
|
+
400: components["responses"]["BadRequest"];
|
|
18476
|
+
401: components["responses"]["Unauthorized"];
|
|
18477
|
+
403: components["responses"]["Forbidden"];
|
|
18478
|
+
};
|
|
18479
|
+
};
|
|
18480
|
+
getOpaPolicy: {
|
|
18481
|
+
parameters: {
|
|
18482
|
+
query?: never;
|
|
18483
|
+
header?: never;
|
|
18484
|
+
path: {
|
|
18485
|
+
id: string;
|
|
18486
|
+
};
|
|
18487
|
+
cookie?: never;
|
|
18488
|
+
};
|
|
18489
|
+
requestBody?: never;
|
|
18490
|
+
responses: {
|
|
18491
|
+
/** @description OPA policy details */
|
|
18492
|
+
200: {
|
|
18493
|
+
headers: {
|
|
18494
|
+
[name: string]: unknown;
|
|
18495
|
+
};
|
|
18496
|
+
content: {
|
|
18497
|
+
"application/json": components["schemas"]["OpaPolicyResponse"];
|
|
18498
|
+
};
|
|
18499
|
+
};
|
|
18500
|
+
401: components["responses"]["Unauthorized"];
|
|
18501
|
+
404: components["responses"]["NotFound"];
|
|
18502
|
+
};
|
|
18503
|
+
};
|
|
18504
|
+
deleteOpaPolicy: {
|
|
18505
|
+
parameters: {
|
|
18506
|
+
query?: never;
|
|
18507
|
+
header?: never;
|
|
18508
|
+
path: {
|
|
18509
|
+
id: string;
|
|
18510
|
+
};
|
|
18511
|
+
cookie?: never;
|
|
18512
|
+
};
|
|
18513
|
+
requestBody?: never;
|
|
18514
|
+
responses: {
|
|
18515
|
+
/** @description OPA policy deleted */
|
|
18516
|
+
204: {
|
|
18517
|
+
headers: {
|
|
18518
|
+
[name: string]: unknown;
|
|
18519
|
+
};
|
|
18520
|
+
content?: never;
|
|
18521
|
+
};
|
|
18522
|
+
401: components["responses"]["Unauthorized"];
|
|
18523
|
+
404: components["responses"]["NotFound"];
|
|
18524
|
+
};
|
|
18525
|
+
};
|
|
18526
|
+
testOpaPolicy: {
|
|
18527
|
+
parameters: {
|
|
18528
|
+
query?: never;
|
|
18529
|
+
header?: never;
|
|
18530
|
+
path?: never;
|
|
18531
|
+
cookie?: never;
|
|
18532
|
+
};
|
|
18533
|
+
requestBody: {
|
|
18534
|
+
content: {
|
|
18535
|
+
"application/json": components["schemas"]["OpaPolicyTestRequest"];
|
|
18536
|
+
};
|
|
18537
|
+
};
|
|
18538
|
+
responses: {
|
|
18539
|
+
/** @description Policy evaluation result */
|
|
18540
|
+
200: {
|
|
18541
|
+
headers: {
|
|
18542
|
+
[name: string]: unknown;
|
|
18543
|
+
};
|
|
18544
|
+
content: {
|
|
18545
|
+
"application/json": components["schemas"]["OpaPolicyTestResponse"];
|
|
18546
|
+
};
|
|
18547
|
+
};
|
|
18548
|
+
400: components["responses"]["BadRequest"];
|
|
18549
|
+
401: components["responses"]["Unauthorized"];
|
|
18550
|
+
};
|
|
18551
|
+
};
|
|
18552
|
+
listSubOrgs: {
|
|
18553
|
+
parameters: {
|
|
18554
|
+
query?: never;
|
|
18555
|
+
header?: never;
|
|
18556
|
+
path?: never;
|
|
18557
|
+
cookie?: never;
|
|
18558
|
+
};
|
|
18559
|
+
requestBody?: never;
|
|
18560
|
+
responses: {
|
|
18561
|
+
/** @description Sub-organizations list */
|
|
18562
|
+
200: {
|
|
18563
|
+
headers: {
|
|
18564
|
+
[name: string]: unknown;
|
|
18565
|
+
};
|
|
18566
|
+
content: {
|
|
18567
|
+
"application/json": components["schemas"]["SubOrgListResponse"];
|
|
18568
|
+
};
|
|
18569
|
+
};
|
|
18570
|
+
401: components["responses"]["Unauthorized"];
|
|
18571
|
+
};
|
|
18572
|
+
};
|
|
18573
|
+
createSubOrg: {
|
|
18574
|
+
parameters: {
|
|
18575
|
+
query?: never;
|
|
18576
|
+
header?: never;
|
|
18577
|
+
path?: never;
|
|
18578
|
+
cookie?: never;
|
|
18579
|
+
};
|
|
18580
|
+
requestBody: {
|
|
18581
|
+
content: {
|
|
18582
|
+
"application/json": components["schemas"]["CreateSubOrgRequest"];
|
|
18583
|
+
};
|
|
18584
|
+
};
|
|
18585
|
+
responses: {
|
|
18586
|
+
/** @description Sub-organization created */
|
|
18587
|
+
201: {
|
|
18588
|
+
headers: {
|
|
18589
|
+
[name: string]: unknown;
|
|
18590
|
+
};
|
|
18591
|
+
content: {
|
|
18592
|
+
"application/json": components["schemas"]["SubOrgResponse"];
|
|
18593
|
+
};
|
|
18594
|
+
};
|
|
18595
|
+
400: components["responses"]["BadRequest"];
|
|
18596
|
+
401: components["responses"]["Unauthorized"];
|
|
18597
|
+
403: components["responses"]["Forbidden"];
|
|
18598
|
+
};
|
|
18599
|
+
};
|
|
18600
|
+
getSubOrg: {
|
|
18601
|
+
parameters: {
|
|
18602
|
+
query?: never;
|
|
18603
|
+
header?: never;
|
|
18604
|
+
path: {
|
|
18605
|
+
sub_org_id: string;
|
|
18606
|
+
};
|
|
18607
|
+
cookie?: never;
|
|
18608
|
+
};
|
|
18609
|
+
requestBody?: never;
|
|
18610
|
+
responses: {
|
|
18611
|
+
/** @description Sub-organization details */
|
|
18612
|
+
200: {
|
|
18613
|
+
headers: {
|
|
18614
|
+
[name: string]: unknown;
|
|
18615
|
+
};
|
|
18616
|
+
content: {
|
|
18617
|
+
"application/json": components["schemas"]["SubOrgResponse"];
|
|
18618
|
+
};
|
|
18619
|
+
};
|
|
18620
|
+
401: components["responses"]["Unauthorized"];
|
|
18621
|
+
404: components["responses"]["NotFound"];
|
|
18622
|
+
};
|
|
18623
|
+
};
|
|
18624
|
+
deleteSubOrg: {
|
|
18625
|
+
parameters: {
|
|
18626
|
+
query?: never;
|
|
18627
|
+
header?: never;
|
|
18628
|
+
path: {
|
|
18629
|
+
sub_org_id: string;
|
|
18630
|
+
};
|
|
18631
|
+
cookie?: never;
|
|
18632
|
+
};
|
|
18633
|
+
requestBody?: never;
|
|
18634
|
+
responses: {
|
|
18635
|
+
/** @description Sub-organization archived */
|
|
18636
|
+
204: {
|
|
18637
|
+
headers: {
|
|
18638
|
+
[name: string]: unknown;
|
|
18639
|
+
};
|
|
18640
|
+
content?: never;
|
|
18641
|
+
};
|
|
18642
|
+
401: components["responses"]["Unauthorized"];
|
|
18643
|
+
404: components["responses"]["NotFound"];
|
|
18644
|
+
};
|
|
18645
|
+
};
|
|
18646
|
+
updateSubOrg: {
|
|
18647
|
+
parameters: {
|
|
18648
|
+
query?: never;
|
|
18649
|
+
header?: never;
|
|
18650
|
+
path: {
|
|
18651
|
+
sub_org_id: string;
|
|
18652
|
+
};
|
|
18653
|
+
cookie?: never;
|
|
18654
|
+
};
|
|
18655
|
+
requestBody: {
|
|
18656
|
+
content: {
|
|
18657
|
+
"application/json": components["schemas"]["CreateSubOrgRequest"];
|
|
18658
|
+
};
|
|
18659
|
+
};
|
|
18660
|
+
responses: {
|
|
18661
|
+
/** @description Sub-organization updated */
|
|
18662
|
+
200: {
|
|
18663
|
+
headers: {
|
|
18664
|
+
[name: string]: unknown;
|
|
18665
|
+
};
|
|
18666
|
+
content: {
|
|
18667
|
+
"application/json": components["schemas"]["SubOrgResponse"];
|
|
18668
|
+
};
|
|
18669
|
+
};
|
|
18670
|
+
401: components["responses"]["Unauthorized"];
|
|
18671
|
+
404: components["responses"]["NotFound"];
|
|
18672
|
+
};
|
|
18673
|
+
};
|
|
18674
|
+
addSubOrgUser: {
|
|
18675
|
+
parameters: {
|
|
18676
|
+
query?: never;
|
|
18677
|
+
header?: never;
|
|
18678
|
+
path: {
|
|
18679
|
+
sub_org_id: string;
|
|
18680
|
+
};
|
|
18681
|
+
cookie?: never;
|
|
18682
|
+
};
|
|
18683
|
+
requestBody: {
|
|
18684
|
+
content: {
|
|
18685
|
+
"application/json": components["schemas"]["SubOrgAddUserRequest"];
|
|
18686
|
+
};
|
|
18687
|
+
};
|
|
18688
|
+
responses: {
|
|
18689
|
+
/** @description User added to sub-organization */
|
|
18690
|
+
201: {
|
|
18691
|
+
headers: {
|
|
18692
|
+
[name: string]: unknown;
|
|
18693
|
+
};
|
|
18694
|
+
content?: never;
|
|
18695
|
+
};
|
|
18696
|
+
400: components["responses"]["BadRequest"];
|
|
18697
|
+
401: components["responses"]["Unauthorized"];
|
|
18698
|
+
404: components["responses"]["NotFound"];
|
|
18699
|
+
};
|
|
18700
|
+
};
|
|
18701
|
+
grantSubOrgPermission: {
|
|
18702
|
+
parameters: {
|
|
18703
|
+
query?: never;
|
|
18704
|
+
header?: never;
|
|
18705
|
+
path: {
|
|
18706
|
+
sub_org_id: string;
|
|
18707
|
+
};
|
|
18708
|
+
cookie?: never;
|
|
18709
|
+
};
|
|
18710
|
+
requestBody: {
|
|
18711
|
+
content: {
|
|
18712
|
+
"application/json": components["schemas"]["SubOrgPermissionRequest"];
|
|
18713
|
+
};
|
|
18714
|
+
};
|
|
18715
|
+
responses: {
|
|
18716
|
+
/** @description Permission granted */
|
|
18717
|
+
201: {
|
|
18718
|
+
headers: {
|
|
18719
|
+
[name: string]: unknown;
|
|
18720
|
+
};
|
|
18721
|
+
content?: never;
|
|
18722
|
+
};
|
|
18723
|
+
400: components["responses"]["BadRequest"];
|
|
18724
|
+
401: components["responses"]["Unauthorized"];
|
|
18725
|
+
404: components["responses"]["NotFound"];
|
|
18726
|
+
};
|
|
18727
|
+
};
|
|
18728
|
+
generateSubOrgWallets: {
|
|
18729
|
+
parameters: {
|
|
18730
|
+
query?: never;
|
|
18731
|
+
header?: never;
|
|
18732
|
+
path: {
|
|
18733
|
+
sub_org_id: string;
|
|
18734
|
+
};
|
|
18735
|
+
cookie?: never;
|
|
18736
|
+
};
|
|
18737
|
+
requestBody?: {
|
|
18738
|
+
content: {
|
|
18739
|
+
"application/json": components["schemas"]["SubOrgGenerateWalletsRequest"];
|
|
18740
|
+
};
|
|
18741
|
+
};
|
|
18742
|
+
responses: {
|
|
18743
|
+
/** @description Wallets generated */
|
|
18744
|
+
201: {
|
|
18745
|
+
headers: {
|
|
18746
|
+
[name: string]: unknown;
|
|
18747
|
+
};
|
|
18748
|
+
content?: never;
|
|
18749
|
+
};
|
|
18750
|
+
401: components["responses"]["Unauthorized"];
|
|
18751
|
+
403: components["responses"]["Forbidden"];
|
|
18752
|
+
404: components["responses"]["NotFound"];
|
|
18753
|
+
};
|
|
18754
|
+
};
|
|
18755
|
+
getPortfolio: {
|
|
18756
|
+
parameters: {
|
|
18757
|
+
query?: never;
|
|
18758
|
+
header?: never;
|
|
18759
|
+
path?: never;
|
|
18760
|
+
cookie?: never;
|
|
18761
|
+
};
|
|
18762
|
+
requestBody?: never;
|
|
18763
|
+
responses: {
|
|
18764
|
+
/** @description Portfolio summary */
|
|
18765
|
+
200: {
|
|
18766
|
+
headers: {
|
|
18767
|
+
[name: string]: unknown;
|
|
18768
|
+
};
|
|
18769
|
+
content: {
|
|
18770
|
+
"application/json": components["schemas"]["PortfolioResponse"];
|
|
18771
|
+
};
|
|
18772
|
+
};
|
|
18773
|
+
401: components["responses"]["Unauthorized"];
|
|
18774
|
+
};
|
|
18775
|
+
};
|
|
18776
|
+
importSmartAccount: {
|
|
18777
|
+
parameters: {
|
|
18778
|
+
query?: never;
|
|
18779
|
+
header?: never;
|
|
18780
|
+
path: {
|
|
18781
|
+
agent_id: components["parameters"]["AgentId"];
|
|
18782
|
+
};
|
|
18783
|
+
cookie?: never;
|
|
18784
|
+
};
|
|
18785
|
+
requestBody: {
|
|
18786
|
+
content: {
|
|
18787
|
+
"application/json": components["schemas"]["ImportSmartAccountRequest"];
|
|
18788
|
+
};
|
|
18789
|
+
};
|
|
18790
|
+
responses: {
|
|
18791
|
+
/** @description Smart account imported */
|
|
18792
|
+
201: {
|
|
18793
|
+
headers: {
|
|
18794
|
+
[name: string]: unknown;
|
|
18795
|
+
};
|
|
18796
|
+
content?: never;
|
|
18797
|
+
};
|
|
18798
|
+
400: components["responses"]["BadRequest"];
|
|
18799
|
+
401: components["responses"]["Unauthorized"];
|
|
18800
|
+
403: components["responses"]["Forbidden"];
|
|
18801
|
+
};
|
|
18802
|
+
};
|
|
17684
18803
|
}
|
|
17685
18804
|
//# sourceMappingURL=api-types.d.ts.map
|