@1claw/sdk 0.54.0 → 0.55.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.
@@ -2077,6 +2077,46 @@ export interface paths {
2077
2077
  patch?: never;
2078
2078
  trace?: never;
2079
2079
  };
2080
+ "/v1/org/freeze": {
2081
+ parameters: {
2082
+ query?: never;
2083
+ header?: never;
2084
+ path?: never;
2085
+ cookie?: never;
2086
+ };
2087
+ get?: never;
2088
+ put?: never;
2089
+ /**
2090
+ * Emergency org-wide freeze
2091
+ * @description Sets organizations.frozen_at — blocks agent tx/execution until unfreeze. Owner/admin only.
2092
+ */
2093
+ post: operations["freezeOrg"];
2094
+ delete?: never;
2095
+ options?: never;
2096
+ head?: never;
2097
+ patch?: never;
2098
+ trace?: never;
2099
+ };
2100
+ "/v1/org/unfreeze": {
2101
+ parameters: {
2102
+ query?: never;
2103
+ header?: never;
2104
+ path?: never;
2105
+ cookie?: never;
2106
+ };
2107
+ get?: never;
2108
+ put?: never;
2109
+ /**
2110
+ * Clear org-wide freeze
2111
+ * @description Clears organizations.frozen_at. Owner/admin only.
2112
+ */
2113
+ post: operations["unfreezeOrg"];
2114
+ delete?: never;
2115
+ options?: never;
2116
+ head?: never;
2117
+ patch?: never;
2118
+ trace?: never;
2119
+ };
2080
2120
  "/v1/org/bankr-config": {
2081
2121
  parameters: {
2082
2122
  query?: never;
@@ -7655,6 +7695,41 @@ export interface components {
7655
7695
  * @enum {string}
7656
7696
  */
7657
7697
  simulation_failure_policy?: "deny" | "approve";
7698
+ /**
7699
+ * @description Block unlimited ERC-20 approvals (max uint256 / setApprovalForAll).
7700
+ * @default false
7701
+ */
7702
+ tx_block_unlimited_approvals: boolean;
7703
+ /** @description Max transactions to the same recipient address per UTC day. */
7704
+ tx_per_recipient_max_per_day?: number | null;
7705
+ /** @description Max native-unit spend to the same recipient per UTC day. */
7706
+ tx_per_recipient_daily_limit?: string | null;
7707
+ /** @description Cap on first-time recipient spend in native units. */
7708
+ new_recipient_cap_native?: string | null;
7709
+ /** @description Per-transaction USD cap (requires price oracle). */
7710
+ tx_max_value_usd?: string | null;
7711
+ /** @description Rolling 24h USD spend cap (requires price oracle). */
7712
+ tx_daily_limit_usd?: string | null;
7713
+ /**
7714
+ * @description Raw digest signing policy — allow, deny, or route to HITL (approve).
7715
+ * @default allow
7716
+ * @enum {string}
7717
+ */
7718
+ raw_signing_policy: "allow" | "deny" | "approve";
7719
+ /** @description personal_sign guardrails (message allowlist, max bytes, etc.). */
7720
+ personal_sign_policy?: {
7721
+ [key: string]: unknown;
7722
+ };
7723
+ /**
7724
+ * @description Allow ERC-4337 gasless UserOperations.
7725
+ * @default false
7726
+ */
7727
+ allow_erc4337: boolean;
7728
+ /**
7729
+ * @description Allow EIP-7702 (tx type 4) set-code transactions.
7730
+ * @default false
7731
+ */
7732
+ allow_eip7702: boolean;
7658
7733
  /**
7659
7734
  * Format: date-time
7660
7735
  * @description Optional expiration time for the agent's API key.
@@ -7750,6 +7825,31 @@ export interface components {
7750
7825
  * @enum {string|null}
7751
7826
  */
7752
7827
  simulation_failure_policy?: "deny" | "approve" | null;
7828
+ /** @description Block unlimited ERC-20 approvals (max uint256 / setApprovalForAll). */
7829
+ tx_block_unlimited_approvals?: boolean;
7830
+ /** @description Max transactions to the same recipient per UTC day. Null clears. */
7831
+ tx_per_recipient_max_per_day?: number | null;
7832
+ /** @description Max native spend to same recipient per UTC day. Null clears. */
7833
+ tx_per_recipient_daily_limit?: string | null;
7834
+ /** @description First-time recipient native cap. Null clears. */
7835
+ new_recipient_cap_native?: string | null;
7836
+ /** @description Per-tx USD cap. Null clears. */
7837
+ tx_max_value_usd?: string | null;
7838
+ /** @description Rolling 24h USD spend cap. Null clears. */
7839
+ tx_daily_limit_usd?: string | null;
7840
+ /**
7841
+ * @description Raw digest signing policy.
7842
+ * @enum {string}
7843
+ */
7844
+ raw_signing_policy?: "allow" | "deny" | "approve";
7845
+ /** @description personal_sign guardrails JSON. */
7846
+ personal_sign_policy?: {
7847
+ [key: string]: unknown;
7848
+ };
7849
+ /** @description Allow ERC-4337 gasless UserOperations. */
7850
+ allow_erc4337?: boolean;
7851
+ /** @description Allow EIP-7702 (tx type 4). */
7852
+ allow_eip7702?: boolean;
7753
7853
  /** @description When true, clears circuit-breaker auto-suspension (human owner/admin only). */
7754
7854
  clear_auto_suspended?: boolean;
7755
7855
  /**
@@ -7889,6 +7989,20 @@ export interface components {
7889
7989
  typed_data_policy?: "deny" | "approve" | null;
7890
7990
  /** @enum {string|null} */
7891
7991
  simulation_failure_policy?: "deny" | "approve" | null;
7992
+ /** @description Block unlimited ERC-20 approvals. */
7993
+ tx_block_unlimited_approvals?: boolean;
7994
+ tx_per_recipient_max_per_day?: number | null;
7995
+ tx_per_recipient_daily_limit?: string | null;
7996
+ new_recipient_cap_native?: string | null;
7997
+ tx_max_value_usd?: string | null;
7998
+ tx_daily_limit_usd?: string | null;
7999
+ /** @enum {string} */
8000
+ raw_signing_policy?: "allow" | "deny" | "approve";
8001
+ personal_sign_policy?: {
8002
+ [key: string]: unknown;
8003
+ } | null;
8004
+ allow_erc4337?: boolean;
8005
+ allow_eip7702?: boolean;
7892
8006
  /** @description True when circuit breaker auto-suspended the agent after repeated guardrail denials. */
7893
8007
  auto_suspended?: boolean;
7894
8008
  /** @description Today's transaction count (UTC calendar day). Present when intents_api_enabled. */
@@ -15587,6 +15701,70 @@ export interface operations {
15587
15701
  };
15588
15702
  };
15589
15703
  };
15704
+ freezeOrg: {
15705
+ parameters: {
15706
+ query?: never;
15707
+ header?: never;
15708
+ path?: never;
15709
+ cookie?: never;
15710
+ };
15711
+ requestBody?: never;
15712
+ responses: {
15713
+ /** @description Organization frozen */
15714
+ 200: {
15715
+ headers: {
15716
+ [name: string]: unknown;
15717
+ };
15718
+ content: {
15719
+ "application/json": {
15720
+ /** @enum {string} */
15721
+ status?: "frozen";
15722
+ /** Format: uuid */
15723
+ org_id?: string;
15724
+ };
15725
+ };
15726
+ };
15727
+ /** @description Forbidden */
15728
+ 403: {
15729
+ headers: {
15730
+ [name: string]: unknown;
15731
+ };
15732
+ content?: never;
15733
+ };
15734
+ };
15735
+ };
15736
+ unfreezeOrg: {
15737
+ parameters: {
15738
+ query?: never;
15739
+ header?: never;
15740
+ path?: never;
15741
+ cookie?: never;
15742
+ };
15743
+ requestBody?: never;
15744
+ responses: {
15745
+ /** @description Organization unfrozen */
15746
+ 200: {
15747
+ headers: {
15748
+ [name: string]: unknown;
15749
+ };
15750
+ content: {
15751
+ "application/json": {
15752
+ /** @enum {string} */
15753
+ status?: "unfrozen";
15754
+ /** Format: uuid */
15755
+ org_id?: string;
15756
+ };
15757
+ };
15758
+ };
15759
+ /** @description Forbidden */
15760
+ 403: {
15761
+ headers: {
15762
+ [name: string]: unknown;
15763
+ };
15764
+ content?: never;
15765
+ };
15766
+ };
15767
+ };
15590
15768
  getOrgBankrConfig: {
15591
15769
  parameters: {
15592
15770
  query?: never;