@soat/sdk 0.99.1 → 0.99.3
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 +1 -1
- package/dist/index.d.cts +6 -2
- package/dist/index.d.mts +6 -2
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4078,7 +4078,7 @@ var Policies = class {
|
|
|
4078
4078
|
/**
|
|
4079
4079
|
* Delete a policy
|
|
4080
4080
|
*
|
|
4081
|
-
* Deletes a global policy. Requires admin role.
|
|
4081
|
+
* Deletes a global policy. Requires admin role. Refused with `409 POLICY_HAS_DEPENDENTS` while a trigger's `policy_id` names it.
|
|
4082
4082
|
*/
|
|
4083
4083
|
static deletePolicy(options) {
|
|
4084
4084
|
return (options.client ?? client).delete({
|
package/dist/index.d.cts
CHANGED
|
@@ -7261,7 +7261,7 @@ type ShareReference = {
|
|
|
7261
7261
|
/**
|
|
7262
7262
|
* The kind of the grantee's resource.
|
|
7263
7263
|
*/
|
|
7264
|
-
type: 'agent' | 'tool' | 'decider' | 'ingestion_rule' | 'orchestration' | 'workflow' | 'playbook' | 'eval' | 'trigger' | 'formation';
|
|
7264
|
+
type: 'agent' | 'tool' | 'guardrail' | 'decider' | 'ingestion_rule' | 'orchestration' | 'workflow' | 'playbook' | 'eval' | 'trigger' | 'formation';
|
|
7265
7265
|
/**
|
|
7266
7266
|
* Its public ID.
|
|
7267
7267
|
*/
|
|
@@ -22755,6 +22755,10 @@ type DeletePolicyErrors = {
|
|
|
22755
22755
|
* Policy not found
|
|
22756
22756
|
*/
|
|
22757
22757
|
404: ErrorResponse;
|
|
22758
|
+
/**
|
|
22759
|
+
* `POLICY_HAS_DEPENDENTS`: a trigger's `policy_id` still names the policy. Detach it from those triggers or delete them first.
|
|
22760
|
+
*/
|
|
22761
|
+
409: ErrorResponse;
|
|
22758
22762
|
/**
|
|
22759
22763
|
* `QUOTA_EXCEEDED` — a `requests` quota on the calling API key or its project is spent for the window; `Retry-After` says when it reopens
|
|
22760
22764
|
*/
|
|
@@ -30453,7 +30457,7 @@ export declare class Policies {
|
|
|
30453
30457
|
/**
|
|
30454
30458
|
* Delete a policy
|
|
30455
30459
|
*
|
|
30456
|
-
* Deletes a global policy. Requires admin role.
|
|
30460
|
+
* Deletes a global policy. Requires admin role. Refused with `409 POLICY_HAS_DEPENDENTS` while a trigger's `policy_id` names it.
|
|
30457
30461
|
*/
|
|
30458
30462
|
static deletePolicy<ThrowOnError extends boolean = false>(options: Options<DeletePolicyData, ThrowOnError>): RequestResult<DeletePolicyResponses, DeletePolicyErrors, ThrowOnError>;
|
|
30459
30463
|
/**
|
package/dist/index.d.mts
CHANGED
|
@@ -7261,7 +7261,7 @@ type ShareReference = {
|
|
|
7261
7261
|
/**
|
|
7262
7262
|
* The kind of the grantee's resource.
|
|
7263
7263
|
*/
|
|
7264
|
-
type: 'agent' | 'tool' | 'decider' | 'ingestion_rule' | 'orchestration' | 'workflow' | 'playbook' | 'eval' | 'trigger' | 'formation';
|
|
7264
|
+
type: 'agent' | 'tool' | 'guardrail' | 'decider' | 'ingestion_rule' | 'orchestration' | 'workflow' | 'playbook' | 'eval' | 'trigger' | 'formation';
|
|
7265
7265
|
/**
|
|
7266
7266
|
* Its public ID.
|
|
7267
7267
|
*/
|
|
@@ -22755,6 +22755,10 @@ type DeletePolicyErrors = {
|
|
|
22755
22755
|
* Policy not found
|
|
22756
22756
|
*/
|
|
22757
22757
|
404: ErrorResponse;
|
|
22758
|
+
/**
|
|
22759
|
+
* `POLICY_HAS_DEPENDENTS`: a trigger's `policy_id` still names the policy. Detach it from those triggers or delete them first.
|
|
22760
|
+
*/
|
|
22761
|
+
409: ErrorResponse;
|
|
22758
22762
|
/**
|
|
22759
22763
|
* `QUOTA_EXCEEDED` — a `requests` quota on the calling API key or its project is spent for the window; `Retry-After` says when it reopens
|
|
22760
22764
|
*/
|
|
@@ -30453,7 +30457,7 @@ export declare class Policies {
|
|
|
30453
30457
|
/**
|
|
30454
30458
|
* Delete a policy
|
|
30455
30459
|
*
|
|
30456
|
-
* Deletes a global policy. Requires admin role.
|
|
30460
|
+
* Deletes a global policy. Requires admin role. Refused with `409 POLICY_HAS_DEPENDENTS` while a trigger's `policy_id` names it.
|
|
30457
30461
|
*/
|
|
30458
30462
|
static deletePolicy<ThrowOnError extends boolean = false>(options: Options<DeletePolicyData, ThrowOnError>): RequestResult<DeletePolicyResponses, DeletePolicyErrors, ThrowOnError>;
|
|
30459
30463
|
/**
|
package/dist/index.mjs
CHANGED
|
@@ -4077,7 +4077,7 @@ var Policies = class {
|
|
|
4077
4077
|
/**
|
|
4078
4078
|
* Delete a policy
|
|
4079
4079
|
*
|
|
4080
|
-
* Deletes a global policy. Requires admin role.
|
|
4080
|
+
* Deletes a global policy. Requires admin role. Refused with `409 POLICY_HAS_DEPENDENTS` while a trigger's `policy_id` names it.
|
|
4081
4081
|
*/
|
|
4082
4082
|
static deletePolicy(options) {
|
|
4083
4083
|
return (options.client ?? client).delete({
|