asteroid-odyssey 1.7.228 → 1.7.238
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.d.mts +7 -7
- package/dist/index.d.ts +7 -7
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -4964,11 +4964,11 @@ type EnvironmentLiveEnvironmentData = {
|
|
|
4964
4964
|
*/
|
|
4965
4965
|
environmentId: CommonUuid;
|
|
4966
4966
|
};
|
|
4967
|
-
query
|
|
4967
|
+
query?: {
|
|
4968
4968
|
/**
|
|
4969
|
-
*
|
|
4969
|
+
* Optional assertion that the env belongs to this agent; resolution fails (404) on mismatch. Omit it — access is already gated on the env's own agent and organisation.
|
|
4970
4970
|
*/
|
|
4971
|
-
expectedAgentId
|
|
4971
|
+
expectedAgentId?: CommonUuid;
|
|
4972
4972
|
};
|
|
4973
4973
|
url: '/environments/{environmentId}/live-environment';
|
|
4974
4974
|
};
|
|
@@ -5010,11 +5010,11 @@ type EnvironmentStopData = {
|
|
|
5010
5010
|
*/
|
|
5011
5011
|
environmentId: CommonUuid;
|
|
5012
5012
|
};
|
|
5013
|
-
query
|
|
5013
|
+
query?: {
|
|
5014
5014
|
/**
|
|
5015
|
-
*
|
|
5015
|
+
* Optional assertion that the env belongs to this agent; the stop fails (404) on mismatch. Omit it — access is already gated on the env's own agent and organisation.
|
|
5016
5016
|
*/
|
|
5017
|
-
expectedAgentId
|
|
5017
|
+
expectedAgentId?: CommonUuid;
|
|
5018
5018
|
};
|
|
5019
5019
|
url: '/environments/{environmentId}/stop';
|
|
5020
5020
|
};
|
|
@@ -5867,7 +5867,7 @@ declare const docsSearchSearch: <ThrowOnError extends boolean = false>(options:
|
|
|
5867
5867
|
/**
|
|
5868
5868
|
* Resolve live environment by id (external)
|
|
5869
5869
|
*
|
|
5870
|
-
* Resolve live-environment connection details (proxied CDP URL / CUA) by env id.
|
|
5870
|
+
* Resolve live-environment connection details (proxied CDP URL / CUA) by env id. External-owned envs only; access is gated on the env's agent belonging to the caller's organisation. Returns 404 if either gate fails.
|
|
5871
5871
|
*/
|
|
5872
5872
|
declare const environmentLiveEnvironment: <ThrowOnError extends boolean = false>(options: Options<EnvironmentLiveEnvironmentData, ThrowOnError>) => RequestResult<EnvironmentLiveEnvironmentResponses, EnvironmentLiveEnvironmentErrors, ThrowOnError, "fields">;
|
|
5873
5873
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -4964,11 +4964,11 @@ type EnvironmentLiveEnvironmentData = {
|
|
|
4964
4964
|
*/
|
|
4965
4965
|
environmentId: CommonUuid;
|
|
4966
4966
|
};
|
|
4967
|
-
query
|
|
4967
|
+
query?: {
|
|
4968
4968
|
/**
|
|
4969
|
-
*
|
|
4969
|
+
* Optional assertion that the env belongs to this agent; resolution fails (404) on mismatch. Omit it — access is already gated on the env's own agent and organisation.
|
|
4970
4970
|
*/
|
|
4971
|
-
expectedAgentId
|
|
4971
|
+
expectedAgentId?: CommonUuid;
|
|
4972
4972
|
};
|
|
4973
4973
|
url: '/environments/{environmentId}/live-environment';
|
|
4974
4974
|
};
|
|
@@ -5010,11 +5010,11 @@ type EnvironmentStopData = {
|
|
|
5010
5010
|
*/
|
|
5011
5011
|
environmentId: CommonUuid;
|
|
5012
5012
|
};
|
|
5013
|
-
query
|
|
5013
|
+
query?: {
|
|
5014
5014
|
/**
|
|
5015
|
-
*
|
|
5015
|
+
* Optional assertion that the env belongs to this agent; the stop fails (404) on mismatch. Omit it — access is already gated on the env's own agent and organisation.
|
|
5016
5016
|
*/
|
|
5017
|
-
expectedAgentId
|
|
5017
|
+
expectedAgentId?: CommonUuid;
|
|
5018
5018
|
};
|
|
5019
5019
|
url: '/environments/{environmentId}/stop';
|
|
5020
5020
|
};
|
|
@@ -5867,7 +5867,7 @@ declare const docsSearchSearch: <ThrowOnError extends boolean = false>(options:
|
|
|
5867
5867
|
/**
|
|
5868
5868
|
* Resolve live environment by id (external)
|
|
5869
5869
|
*
|
|
5870
|
-
* Resolve live-environment connection details (proxied CDP URL / CUA) by env id.
|
|
5870
|
+
* Resolve live-environment connection details (proxied CDP URL / CUA) by env id. External-owned envs only; access is gated on the env's agent belonging to the caller's organisation. Returns 404 if either gate fails.
|
|
5871
5871
|
*/
|
|
5872
5872
|
declare const environmentLiveEnvironment: <ThrowOnError extends boolean = false>(options: Options<EnvironmentLiveEnvironmentData, ThrowOnError>) => RequestResult<EnvironmentLiveEnvironmentResponses, EnvironmentLiveEnvironmentErrors, ThrowOnError, "fields">;
|
|
5873
5873
|
/**
|