@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.cjs +15 -0
- package/dist/index.d.cts +983 -19
- package/dist/index.d.mts +983 -19
- package/dist/index.mjs +15 -0
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -3067,6 +3067,21 @@ var Iam = class {
|
|
|
3067
3067
|
}
|
|
3068
3068
|
});
|
|
3069
3069
|
}
|
|
3070
|
+
/**
|
|
3071
|
+
* Revoke a principal
|
|
3072
|
+
*
|
|
3073
|
+
* 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.
|
|
3074
|
+
*/
|
|
3075
|
+
static revokeIamPrincipal(options) {
|
|
3076
|
+
return (options.client ?? client).post({
|
|
3077
|
+
url: "/api/v1/iam/principal-revocations",
|
|
3078
|
+
...options,
|
|
3079
|
+
headers: {
|
|
3080
|
+
"Content-Type": "application/json",
|
|
3081
|
+
...options.headers
|
|
3082
|
+
}
|
|
3083
|
+
});
|
|
3084
|
+
}
|
|
3070
3085
|
};
|
|
3071
3086
|
var IngestionRules = class {
|
|
3072
3087
|
/**
|