@inferencesh/sdk 0.38.11 → 0.38.12
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/types.d.ts +7 -1
- package/dist/types.js +6 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -3384,7 +3384,7 @@ export interface DecideEntitlementRequestRequest {
|
|
|
3384
3384
|
* and APIError.Code on the legacy envelope. Clients branch on these, so a
|
|
3385
3385
|
* code is a named const here, where it generates into models and the SDKs.
|
|
3386
3386
|
*/
|
|
3387
|
-
export type ErrorCode = "invalid_request" | "validation_error" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "name_conflict" | "already_exists" | "not_configured" | "method_not_allowed" | "rate_limited" | "internal_error" | "access_restricted" | "web_access_restricted" | "requirements_not_met" | "team_role_required" | "in_other_workspace" | "blocked_by_usage_policy" | "last_owner" | "account_deactivated" | "account_banned" | "person_required" | "otp_required" | "requires_sign_in" | "insufficient_scope" | "invalid_scope" | "impersonation_reason_required" | "mcp_auth_expired" | "admin_session_required" | "admin_scopes_not_approved" | "cli_session_required" | "admin_required" | "same_admin_required" | "browser_session_required" | "invalid_ttl" | "admin_authenticator_required" | "last_authenticator" | "limit_exceeded" | "feature_not_available" | "entitlement_unavailable" | "payment_required" | "payment_method_required" | "form_closed" | "already_submitted" | "already_claimed" | "already_entitled" | "request_open" | "invalid_code" | "already_processed" | "expired" | "code_confirmation_required" | "app_retired" | "app_maintenance" | "invalid_transition" | "SESSION_NOT_FOUND" | "SESSION_EXPIRED" | "SESSION_ENDED" | "WORKER_LEASED" | "APP_MISMATCH" | "VERSION_MISMATCH" | "agents_disabled" | "remote_offline" | "remote_timeout" | "harness_not_drivable" | "harness_too_old";
|
|
3387
|
+
export type ErrorCode = "invalid_request" | "validation_error" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "name_conflict" | "already_exists" | "not_configured" | "method_not_allowed" | "rate_limited" | "internal_error" | "access_restricted" | "web_access_restricted" | "requirements_not_met" | "team_role_required" | "in_other_workspace" | "blocked_by_usage_policy" | "last_owner" | "account_deactivated" | "account_banned" | "person_required" | "otp_required" | "requires_sign_in" | "insufficient_scope" | "invalid_scope" | "impersonation_reason_required" | "mcp_auth_expired" | "admin_session_required" | "admin_scopes_not_approved" | "cli_session_required" | "admin_required" | "same_admin_required" | "browser_session_required" | "invalid_ttl" | "admin_authenticator_required" | "last_authenticator" | "limit_exceeded" | "feature_not_available" | "entitlement_unavailable" | "payment_required" | "payment_method_required" | "form_closed" | "already_submitted" | "already_claimed" | "already_entitled" | "request_open" | "invalid_code" | "already_processed" | "expired" | "code_confirmation_required" | "app_retired" | "app_maintenance" | "invalid_transition" | "maintenance" | "SESSION_NOT_FOUND" | "SESSION_EXPIRED" | "SESSION_ENDED" | "WORKER_LEASED" | "APP_MISMATCH" | "VERSION_MISMATCH" | "agents_disabled" | "remote_offline" | "remote_timeout" | "harness_not_drivable" | "harness_too_old";
|
|
3388
3388
|
export declare const ErrorCodeInvalidRequest: ErrorCode;
|
|
3389
3389
|
export declare const ErrorCodeValidationError: ErrorCode;
|
|
3390
3390
|
export declare const ErrorCodeUnauthorized: ErrorCode;
|
|
@@ -3571,6 +3571,12 @@ export declare const ErrorCodeCodeConfirmationRequired: ErrorCode;
|
|
|
3571
3571
|
export declare const ErrorCodeAppRetired: ErrorCode;
|
|
3572
3572
|
export declare const ErrorCodeAppMaintenance: ErrorCode;
|
|
3573
3573
|
export declare const ErrorCodeInvalidTransition: ErrorCode;
|
|
3574
|
+
/**
|
|
3575
|
+
* Maintenance (503, Retry-After): the platform is draining for
|
|
3576
|
+
* maintenance (platform.maintenance) and the route starts new work.
|
|
3577
|
+
* The message is the operator's; meta is MaintenanceMeta.
|
|
3578
|
+
*/
|
|
3579
|
+
export declare const ErrorCodeMaintenance: ErrorCode;
|
|
3574
3580
|
/**
|
|
3575
3581
|
* Session-bound runs. SessionNotFound (404), SessionExpired and
|
|
3576
3582
|
* SessionEnded (410), WorkerLeased, AppMismatch and VersionMismatch
|
package/dist/types.js
CHANGED
|
@@ -695,6 +695,12 @@ export const ErrorCodeCodeConfirmationRequired = "code_confirmation_required";
|
|
|
695
695
|
export const ErrorCodeAppRetired = "app_retired";
|
|
696
696
|
export const ErrorCodeAppMaintenance = "app_maintenance";
|
|
697
697
|
export const ErrorCodeInvalidTransition = "invalid_transition";
|
|
698
|
+
/**
|
|
699
|
+
* Maintenance (503, Retry-After): the platform is draining for
|
|
700
|
+
* maintenance (platform.maintenance) and the route starts new work.
|
|
701
|
+
* The message is the operator's; meta is MaintenanceMeta.
|
|
702
|
+
*/
|
|
703
|
+
export const ErrorCodeMaintenance = "maintenance";
|
|
698
704
|
/**
|
|
699
705
|
* Session-bound runs. SessionNotFound (404), SessionExpired and
|
|
700
706
|
* SessionEnded (410), WorkerLeased, AppMismatch and VersionMismatch
|