@soat/sdk 0.113.0 → 0.115.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/index.mjs CHANGED
@@ -3066,6 +3066,21 @@ var Iam = class {
3066
3066
  }
3067
3067
  });
3068
3068
  }
3069
+ /**
3070
+ * Revoke a principal
3071
+ *
3072
+ * Revokes, for good, a `principal` the caller's IAM tokens or `On-Behalf-Of` assertions act for in the project. Work started for it (a generation, a session turn, a task dispatch, an orchestration run, a trigger firing) resolves no caller from then on: its next step, a resume included, fails `WORK_AUTHORITY_MISSING`. Revoking a principal already revoked is `204` too.
3073
+ */
3074
+ static revokeIamPrincipal(options) {
3075
+ return (options.client ?? client).post({
3076
+ url: "/api/v1/iam/principal-revocations",
3077
+ ...options,
3078
+ headers: {
3079
+ "Content-Type": "application/json",
3080
+ ...options.headers
3081
+ }
3082
+ });
3083
+ }
3069
3084
  };
3070
3085
  var IngestionRules = class {
3071
3086
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soat/sdk",
3
- "version": "0.113.0",
3
+ "version": "0.115.0",
4
4
  "description": "TypeScript SDK for SOAT — open-source infrastructure for production-ready AI agents.",
5
5
  "keywords": [
6
6
  "ai-agents",
@@ -42,7 +42,7 @@
42
42
  },
43
43
  "devDependencies": {
44
44
  "@hey-api/openapi-ts": "^0.99.0",
45
- "@ttoss/config": "^1.41.0",
45
+ "@ttoss/config": "^4.0.1",
46
46
  "@ttoss/openapi-codegen": "^0.10.1",
47
47
  "@types/node": "^26.6.4",
48
48
  "tsdown": "^0.23.0",