@adea-ai/sdk 4.1.0 → 4.2.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/README.md CHANGED
@@ -27,6 +27,18 @@ import { ControlPlaneClient } from '@adea-ai/sdk'
27
27
  import { createControlPlaneStub } from '@adea-ai/sdk/testing'
28
28
  ```
29
29
 
30
+ Every method takes an optional second argument `{ signal }`, an `AbortSignal`
31
+ combined with the client's `timeoutMs`. A failure is a `ControlPlaneClientError`
32
+ with `code`, `status`, `retryable` and, when the server sent `Retry-After`,
33
+ `retryAfterMs`. A 429, 502, 503 or 504 whose body is not a Control Plane error
34
+ envelope (a gateway or proxy page) is `CONTROL_PLANE_UNAVAILABLE` with
35
+ `retryable: true`; any other unparseable reply is `INVALID_CONTROL_PLANE_RESPONSE`.
36
+
37
+ Device sync compaction has three operations: `device-sync.checkpoint` reads the
38
+ latest registered checkpoint, `device-sync.register-checkpoint` registers an
39
+ appended checkpoint entry with compare-and-set on the previous one, and
40
+ `device-sync.ack` records how far a reader has applied the log.
41
+
30
42
  The package also ships an OpenAPI baseline under `openapi/` (see the
31
43
  `openapi:check` / `openapi:generate` scripts in the repository).
32
44
 
@@ -35,9 +47,13 @@ with an `interaction.respond` command and requires the `interaction:respond`
35
47
  credential scope. Preserve the scoped idempotency key and payload when retrying.
36
48
  The server retains the first response identity; an accepted acknowledgement means
37
49
  the workflow signal was accepted, not that execution completed. Input values are
38
- limited to 8 KiB of UTF-8 JSON. Profiles without the durable command service return
39
- 503; Local wiring is implemented, while native and cross-profile acceptance remain
40
- under verification.
50
+ limited to 8 KiB of UTF-8 JSON.
51
+
52
+ Some operations are served only by the Local control plane (and pi-host): workspace
53
+ catalog, credentials, execution accept/validate/cancel, interaction responses,
54
+ profile, ProjectState and ContextPackage resolution, the Pi durable lead dispatches
55
+ and model connections. Call them against a Local base
56
+ URL; managed cloud does not mount those routes and answers 404.
41
57
 
42
58
  `client.getModelSelectionFunding(request)` reads the accepted selection and
43
59
  explicit recorded payer at `POST /v1/model-connections/selection/funding/get` with
package/dist/client.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import type { PiDurableLeadPrepareRequest, PiDurableLeadPrepareResponse, PiDurableLeadLookupRequest, PiDurableLeadLookupResponse, PiDurableLeadDispatchRequest, PiDurableLeadDispatchResponse, PiDurableLeadStatusRequest, PiDurableLeadStatusResponse, PiDurableLeadChildrenRequest, PiDurableLeadChildrenResponse, PiDurableLeadChildTargetRequest, PiDurableLeadChildTargetResponse, PiDurableLeadProgressRequest, PiDurableLeadProgressResponse, PiDurableLeadCancelRequest, PiDurableLeadChildCancelRequest, PiDurableLeadChildCancelResponse, PiDurableLeadChildMessageRequest, PiDurableLeadChildMessageResponse, PiDurableLeadQuestionAnswerRequest, PiDurableLeadQuestionAnswerResponse, PiDurableLeadApprovalAnswerRequest, PiDurableLeadApprovalAnswerResponse, PiDurableLeadCancelResponse } from '@adea-ai/runtime-sdk';
2
2
  import type { PiLeadPublicationRequest, PiLeadPublicationResponse, PiChildPublicationRequest, PiChildPublicationResponse, ModelSelectionFundingRequest, ModelSelectionFundingResponse, ModelConnectionCreateRequest, ModelConnectionListRequest, ModelConnectionListResponse, ModelConnectionResponse, ModelConnectionRevokeRequest, ModelDefaultsGetRequest, ModelDefaultsResponse, ModelDefaultsSetRequest, ModelSelectionResolveRequest, ModelSelectionResponse } from '@adea-ai/contracts';
3
- import { type CredentialCreateRequest, type CredentialGetRequest, type CredentialListRequest, type CredentialListResponse, type CredentialResponse, type CredentialRevokeRequest, type CredentialRotateRequest, type ExecutionCancellationCommand, type ExecutionCancellationCommandResult, type InteractionResponseCommand, type InteractionResponseCommandResult, type ModelReadinessReason, type ContextPackageResolutionRequest, type ContextPackageResolutionResponse, type ErrorClass, type ExecutionAcceptanceRequest, type ExecutionAcceptanceResponse, type ExecutionRequestValidationRequest, type ExecutionRequestValidationResponse, type DecisionResolveRequest, type DecisionResolveResponse, type ProfileResolutionRequest, type ProfileResolutionResponse, type ProjectStateInitializationRequest, type ProjectStateInitializationResponse, type ProjectStateResolutionRequest, type ProjectStateResolutionResponse, type RuntimeListRequest, type RuntimeListResponse, type ServiceAuthenticationRequest, type ServiceAuthenticationResponse, type ExternalSessionGetRequest, type ExternalSessionGetResponse, type ExternalSessionListRequest, type ExternalSessionListResponse, type RuntimeConnectionGetRequest, type RuntimeConnectionGetResponse, type RuntimeConnectionListRequest, type RuntimeConnectionListResponse, type MarketplaceCatalogRequest, type MarketplaceCatalogResponse, type MarketplaceInstallPlanRequest, type MarketplaceInstallPlanResponse, type MarketplaceInstallRequest, type MarketplaceInstallResponse, type MarketplaceInstallationGetRequest, type MarketplaceInstallationGetResponse, type MarketplaceInstallationUninstallRequest, type MarketplaceInstallationUninstallResponse, type WorkspaceSkillListRequest, type WorkspaceSkillListResponse, type WorkspaceSkillGetRequest, type WorkspaceSkillGetResponse, type WorkspaceSkillPublishRequest, type WorkspaceSkillPublishResponse, type WorkspaceSkillDeprecationRequest, type WorkspaceSkillRevocationRequest, type WorkspaceSkillLifecycleResponse, type WorkspaceAgentProfileListRequest, type WorkspaceAgentProfileListResponse, type WorkspaceAgentProfileGetRequest, type WorkspaceAgentProfileGetResponse, type WorkspaceAgentProfilePublishRequest, type WorkspaceAgentProfilePublishResponse, type WorkspaceAgentProfileDeprecationRequest, type WorkspaceAgentProfileRevocationRequest, type WorkspaceAgentProfileLifecycleResponse, type DeviceSyncUploadRequest, type DeviceSyncUploadResponse, type DeviceSyncCommitRequest, type DeviceSyncCommitResponse, type DeviceSyncDownloadRequest, type DeviceSyncDownloadResponse, type DeviceSyncReleaseRequest, type DeviceSyncReleaseResponse, type DeviceSyncAppendRequest, type DeviceSyncAppendResponse, type DeviceSyncLogRequest, type DeviceSyncLogResponse, type DeviceSyncUsageRequest, type DeviceSyncUsageResponse } from '@adea-ai/contracts';
3
+ import { type CredentialCreateRequest, type CredentialGetRequest, type CredentialListRequest, type CredentialListResponse, type CredentialResponse, type CredentialRevokeRequest, type CredentialRotateRequest, type ExecutionCancellationCommand, type ExecutionCancellationCommandResult, type InteractionResponseCommand, type InteractionResponseCommandResult, type ModelReadinessReason, type ContextPackageResolutionRequest, type ContextPackageResolutionResponse, type ErrorClass, type ExecutionAcceptanceRequest, type ExecutionAcceptanceResponse, type ExecutionRequestValidationRequest, type ExecutionRequestValidationResponse, type DecisionResolveRequest, type DecisionResolveResponse, type ProfileResolutionRequest, type ProfileResolutionResponse, type ProjectStateInitializationRequest, type ProjectStateInitializationResponse, type ProjectStateResolutionRequest, type ProjectStateResolutionResponse, type RuntimeListRequest, type RuntimeListResponse, type ServiceAuthenticationRequest, type ServiceAuthenticationResponse, type ExternalSessionGetRequest, type ExternalSessionGetResponse, type ExternalSessionListRequest, type ExternalSessionListResponse, type RuntimeConnectionGetRequest, type RuntimeConnectionGetResponse, type RuntimeConnectionListRequest, type RuntimeConnectionListResponse, type MarketplaceCatalogRequest, type MarketplaceCatalogResponse, type MarketplaceInstallPlanRequest, type MarketplaceInstallPlanResponse, type MarketplaceInstallRequest, type MarketplaceInstallResponse, type MarketplaceInstallationGetRequest, type MarketplaceInstallationGetResponse, type MarketplaceInstallationListRequest, type MarketplaceInstallationListResponse, type MarketplaceInstallationUninstallRequest, type MarketplaceInstallationUninstallResponse, type WorkspaceSkillListRequest, type WorkspaceSkillListResponse, type WorkspaceSkillGetRequest, type WorkspaceSkillGetResponse, type WorkspaceSkillPublishRequest, type WorkspaceSkillPublishResponse, type WorkspaceSkillDeprecationRequest, type WorkspaceSkillRevocationRequest, type WorkspaceSkillLifecycleResponse, type WorkspaceAgentProfileListRequest, type WorkspaceAgentProfileListResponse, type WorkspaceAgentProfileGetRequest, type WorkspaceAgentProfileGetResponse, type WorkspaceAgentProfilePublishRequest, type WorkspaceAgentProfilePublishResponse, type WorkspaceAgentProfileDeprecationRequest, type WorkspaceAgentProfileRevocationRequest, type WorkspaceAgentProfileLifecycleResponse, type DeviceSyncUploadRequest, type DeviceSyncUploadResponse, type DeviceSyncCommitRequest, type DeviceSyncCommitResponse, type DeviceSyncDownloadRequest, type DeviceSyncDownloadResponse, type DeviceSyncReleaseRequest, type DeviceSyncReleaseResponse, type DeviceSyncAppendRequest, type DeviceSyncAppendResponse, type DeviceSyncLogRequest, type DeviceSyncLogResponse, type DeviceSyncUsageRequest, type DeviceSyncUsageResponse, type DeviceSyncCheckpointRequest, type DeviceSyncCheckpointResponse, type DeviceSyncRegisterCheckpointRequest, type DeviceSyncRegisterCheckpointResponse, type DeviceSyncAckRequest, type DeviceSyncAckResponse } from '@adea-ai/contracts';
4
4
  type FetchImplementation = (input: string | URL | globalThis.Request, init?: RequestInit) => Promise<Response>;
5
5
  type CredentialProvider = string | (() => string | Promise<string>);
6
6
  export interface ControlPlaneClientOptions {
@@ -9,6 +9,9 @@ export interface ControlPlaneClientOptions {
9
9
  readonly fetch?: FetchImplementation;
10
10
  readonly timeoutMs?: number;
11
11
  }
12
+ export interface ControlPlaneCallOptions {
13
+ readonly signal?: AbortSignal;
14
+ }
12
15
  export interface ControlPlaneClientErrorInput {
13
16
  readonly code: string;
14
17
  readonly errorClass: ErrorClass;
@@ -17,6 +20,7 @@ export interface ControlPlaneClientErrorInput {
17
20
  readonly retryable: boolean;
18
21
  readonly status?: number;
19
22
  readonly reasonCode?: ModelReadinessReason | undefined;
23
+ readonly retryAfterMs?: number | undefined;
20
24
  }
21
25
  export declare class ControlPlaneClientError extends Error {
22
26
  readonly code: string;
@@ -25,6 +29,7 @@ export declare class ControlPlaneClientError extends Error {
25
29
  readonly retryable: boolean;
26
30
  readonly status: number | undefined;
27
31
  readonly reasonCode: ModelReadinessReason | undefined;
32
+ readonly retryAfterMs: number | undefined;
28
33
  constructor(input: ControlPlaneClientErrorInput);
29
34
  toJSON(): {
30
35
  name: string;
@@ -35,73 +40,79 @@ export declare class ControlPlaneClientError extends Error {
35
40
  retryable: boolean;
36
41
  status: number | undefined;
37
42
  reasonCode?: "AUTH_MODE_UNSUPPORTED" | "CONNECTION_MISSING" | "CONNECTION_REVOKED" | "CREDENTIAL_EXPIRED" | "CREDENTIAL_MISSING" | "CREDENTIAL_REVISION_CHANGED" | "CREDENTIAL_REVOKED" | "INCOMPATIBLE_HARNESS" | "INCOMPATIBLE_LOCATION" | "MODEL_UNAVAILABLE" | "PROVIDER_POLICY_DENIED" | "QUOTA_EXHAUSTED" | "READINESS_UNAVAILABLE" | "READY" | "SELECTION_CHANGED" | "WORKSPACE_GRANT_EXPIRED" | "WORKSPACE_GRANT_REVOKED";
43
+ retryAfterMs?: number;
38
44
  };
39
45
  }
40
46
  export declare class ControlPlaneClient {
41
47
  #private;
42
48
  constructor(options: ControlPlaneClientOptions);
43
- createModelConnection(input: ModelConnectionCreateRequest): Promise<ModelConnectionResponse>;
44
- revokeModelConnection(input: ModelConnectionRevokeRequest): Promise<ModelConnectionResponse>;
45
- listModelConnections(input: ModelConnectionListRequest): Promise<ModelConnectionListResponse>;
46
- getModelDefaults(input: ModelDefaultsGetRequest): Promise<ModelDefaultsResponse>;
47
- setModelDefaults(input: ModelDefaultsSetRequest): Promise<ModelDefaultsResponse>;
48
- resolveModelSelection(input: ModelSelectionResolveRequest): Promise<ModelSelectionResponse>;
49
- getModelSelectionFunding(input: ModelSelectionFundingRequest): Promise<ModelSelectionFundingResponse>;
50
- getPiDurableLeadPublication(input: PiLeadPublicationRequest): Promise<PiLeadPublicationResponse>;
51
- getPiDurableChildPublication(input: PiChildPublicationRequest): Promise<PiChildPublicationResponse>;
52
- createCredential(input: CredentialCreateRequest): Promise<CredentialResponse>;
53
- rotateCredential(input: CredentialRotateRequest): Promise<CredentialResponse>;
54
- revokeCredential(input: CredentialRevokeRequest): Promise<CredentialResponse>;
55
- getCredential(input: CredentialGetRequest): Promise<CredentialResponse>;
56
- listCredentials(input: CredentialListRequest): Promise<CredentialListResponse>;
57
- listWorkspaceSkills(input: WorkspaceSkillListRequest): Promise<WorkspaceSkillListResponse>;
58
- getWorkspaceSkill(input: WorkspaceSkillGetRequest): Promise<WorkspaceSkillGetResponse>;
59
- publishWorkspaceSkill(input: WorkspaceSkillPublishRequest): Promise<WorkspaceSkillPublishResponse>;
60
- deprecateWorkspaceSkill(input: WorkspaceSkillDeprecationRequest): Promise<WorkspaceSkillLifecycleResponse>;
61
- revokeWorkspaceSkill(input: WorkspaceSkillRevocationRequest): Promise<WorkspaceSkillLifecycleResponse>;
62
- listWorkspaceProfiles(input: WorkspaceAgentProfileListRequest): Promise<WorkspaceAgentProfileListResponse>;
63
- getWorkspaceProfile(input: WorkspaceAgentProfileGetRequest): Promise<WorkspaceAgentProfileGetResponse>;
64
- publishWorkspaceProfile(input: WorkspaceAgentProfilePublishRequest): Promise<WorkspaceAgentProfilePublishResponse>;
65
- deprecateWorkspaceProfile(input: WorkspaceAgentProfileDeprecationRequest): Promise<WorkspaceAgentProfileLifecycleResponse>;
66
- revokeWorkspaceProfile(input: WorkspaceAgentProfileRevocationRequest): Promise<WorkspaceAgentProfileLifecycleResponse>;
67
- verifyAuthentication(input: ServiceAuthenticationRequest): Promise<ServiceAuthenticationResponse>;
68
- resolveDecision(input: DecisionResolveRequest): Promise<DecisionResolveResponse>;
69
- resolveProfile(input: ProfileResolutionRequest): Promise<ProfileResolutionResponse>;
70
- resolveProjectState(input: ProjectStateResolutionRequest): Promise<ProjectStateResolutionResponse>;
71
- initializeProjectState(input: ProjectStateInitializationRequest): Promise<ProjectStateInitializationResponse>;
72
- resolveContextPackage(input: ContextPackageResolutionRequest): Promise<ContextPackageResolutionResponse>;
73
- listRuntimes(input: RuntimeListRequest): Promise<RuntimeListResponse>;
74
- listRuntimeConnections(input: RuntimeConnectionListRequest): Promise<RuntimeConnectionListResponse>;
75
- getRuntimeConnection(input: RuntimeConnectionGetRequest): Promise<RuntimeConnectionGetResponse>;
76
- listExternalSessions(input: ExternalSessionListRequest): Promise<ExternalSessionListResponse>;
77
- getExternalSession(input: ExternalSessionGetRequest): Promise<ExternalSessionGetResponse>;
78
- uploadDeviceSyncObject(input: DeviceSyncUploadRequest): Promise<DeviceSyncUploadResponse>;
79
- commitDeviceSyncObject(input: DeviceSyncCommitRequest): Promise<DeviceSyncCommitResponse>;
80
- downloadDeviceSyncObjects(input: DeviceSyncDownloadRequest): Promise<DeviceSyncDownloadResponse>;
81
- releaseDeviceSyncObjects(input: DeviceSyncReleaseRequest): Promise<DeviceSyncReleaseResponse>;
82
- appendDeviceSyncLog(input: DeviceSyncAppendRequest): Promise<DeviceSyncAppendResponse>;
83
- readDeviceSyncLog(input: DeviceSyncLogRequest): Promise<DeviceSyncLogResponse>;
84
- readDeviceSyncUsage(input: DeviceSyncUsageRequest): Promise<DeviceSyncUsageResponse>;
85
- validateExecutionRequest(input: ExecutionRequestValidationRequest): Promise<ExecutionRequestValidationResponse>;
86
- acceptExecution(input: ExecutionAcceptanceRequest): Promise<ExecutionAcceptanceResponse>;
87
- respondToInteraction(input: InteractionResponseCommand): Promise<InteractionResponseCommandResult>;
88
- cancelExecution(input: ExecutionCancellationCommand): Promise<ExecutionCancellationCommandResult>;
89
- marketplaceCatalog(input: MarketplaceCatalogRequest): Promise<MarketplaceCatalogResponse>;
90
- marketplaceInstall(input: MarketplaceInstallRequest): Promise<MarketplaceInstallResponse>;
91
- marketplaceInstallPlan(input: MarketplaceInstallPlanRequest): Promise<MarketplaceInstallPlanResponse>;
92
- marketplaceInstallationGet(input: MarketplaceInstallationGetRequest): Promise<MarketplaceInstallationGetResponse>;
93
- marketplaceInstallationUninstall(input: MarketplaceInstallationUninstallRequest): Promise<MarketplaceInstallationUninstallResponse>;
94
- preparePiDurableLead(input: PiDurableLeadPrepareRequest): Promise<PiDurableLeadPrepareResponse>;
95
- dispatchPiDurableLead(input: PiDurableLeadDispatchRequest): Promise<PiDurableLeadDispatchResponse>;
96
- getPiDurableLeadStatus(input: PiDurableLeadStatusRequest): Promise<PiDurableLeadStatusResponse>;
97
- lookupPiDurableLead(input: PiDurableLeadLookupRequest): Promise<PiDurableLeadLookupResponse>;
98
- getPiDurableLeadProgress(input: PiDurableLeadProgressRequest): Promise<PiDurableLeadProgressResponse>;
99
- getPiDurableLeadChildren(input: PiDurableLeadChildrenRequest): Promise<PiDurableLeadChildrenResponse>;
100
- getPiDurableLeadChildTarget(input: PiDurableLeadChildTargetRequest): Promise<PiDurableLeadChildTargetResponse>;
101
- cancelPiDurableLead(input: PiDurableLeadCancelRequest): Promise<PiDurableLeadCancelResponse>;
102
- answerPiDurableLeadQuestion(input: PiDurableLeadQuestionAnswerRequest): Promise<PiDurableLeadQuestionAnswerResponse>;
103
- answerPiDurableLeadApproval(input: PiDurableLeadApprovalAnswerRequest): Promise<PiDurableLeadApprovalAnswerResponse>;
104
- cancelPiDurableLeadChild(input: PiDurableLeadChildCancelRequest): Promise<PiDurableLeadChildCancelResponse>;
105
- messagePiDurableLeadChild(input: PiDurableLeadChildMessageRequest): Promise<PiDurableLeadChildMessageResponse>;
49
+ createModelConnection(input: ModelConnectionCreateRequest, options?: ControlPlaneCallOptions): Promise<ModelConnectionResponse>;
50
+ revokeModelConnection(input: ModelConnectionRevokeRequest, options?: ControlPlaneCallOptions): Promise<ModelConnectionResponse>;
51
+ listModelConnections(input: ModelConnectionListRequest, options?: ControlPlaneCallOptions): Promise<ModelConnectionListResponse>;
52
+ getModelDefaults(input: ModelDefaultsGetRequest, options?: ControlPlaneCallOptions): Promise<ModelDefaultsResponse>;
53
+ setModelDefaults(input: ModelDefaultsSetRequest, options?: ControlPlaneCallOptions): Promise<ModelDefaultsResponse>;
54
+ resolveModelSelection(input: ModelSelectionResolveRequest, options?: ControlPlaneCallOptions): Promise<ModelSelectionResponse>;
55
+ getModelSelectionFunding(input: ModelSelectionFundingRequest, options?: ControlPlaneCallOptions): Promise<ModelSelectionFundingResponse>;
56
+ getPiDurableLeadPublication(input: PiLeadPublicationRequest, options?: ControlPlaneCallOptions): Promise<PiLeadPublicationResponse>;
57
+ getPiDurableChildPublication(input: PiChildPublicationRequest, options?: ControlPlaneCallOptions): Promise<PiChildPublicationResponse>;
58
+ createCredential(input: CredentialCreateRequest, options?: ControlPlaneCallOptions): Promise<CredentialResponse>;
59
+ rotateCredential(input: CredentialRotateRequest, options?: ControlPlaneCallOptions): Promise<CredentialResponse>;
60
+ revokeCredential(input: CredentialRevokeRequest, options?: ControlPlaneCallOptions): Promise<CredentialResponse>;
61
+ getCredential(input: CredentialGetRequest, options?: ControlPlaneCallOptions): Promise<CredentialResponse>;
62
+ listCredentials(input: CredentialListRequest, options?: ControlPlaneCallOptions): Promise<CredentialListResponse>;
63
+ listWorkspaceSkills(input: WorkspaceSkillListRequest, options?: ControlPlaneCallOptions): Promise<WorkspaceSkillListResponse>;
64
+ getWorkspaceSkill(input: WorkspaceSkillGetRequest, options?: ControlPlaneCallOptions): Promise<WorkspaceSkillGetResponse>;
65
+ publishWorkspaceSkill(input: WorkspaceSkillPublishRequest, options?: ControlPlaneCallOptions): Promise<WorkspaceSkillPublishResponse>;
66
+ deprecateWorkspaceSkill(input: WorkspaceSkillDeprecationRequest, options?: ControlPlaneCallOptions): Promise<WorkspaceSkillLifecycleResponse>;
67
+ revokeWorkspaceSkill(input: WorkspaceSkillRevocationRequest, options?: ControlPlaneCallOptions): Promise<WorkspaceSkillLifecycleResponse>;
68
+ listWorkspaceProfiles(input: WorkspaceAgentProfileListRequest, options?: ControlPlaneCallOptions): Promise<WorkspaceAgentProfileListResponse>;
69
+ getWorkspaceProfile(input: WorkspaceAgentProfileGetRequest, options?: ControlPlaneCallOptions): Promise<WorkspaceAgentProfileGetResponse>;
70
+ publishWorkspaceProfile(input: WorkspaceAgentProfilePublishRequest, options?: ControlPlaneCallOptions): Promise<WorkspaceAgentProfilePublishResponse>;
71
+ deprecateWorkspaceProfile(input: WorkspaceAgentProfileDeprecationRequest, options?: ControlPlaneCallOptions): Promise<WorkspaceAgentProfileLifecycleResponse>;
72
+ revokeWorkspaceProfile(input: WorkspaceAgentProfileRevocationRequest, options?: ControlPlaneCallOptions): Promise<WorkspaceAgentProfileLifecycleResponse>;
73
+ verifyAuthentication(input: ServiceAuthenticationRequest, options?: ControlPlaneCallOptions): Promise<ServiceAuthenticationResponse>;
74
+ resolveDecision(input: DecisionResolveRequest, options?: ControlPlaneCallOptions): Promise<DecisionResolveResponse>;
75
+ resolveProfile(input: ProfileResolutionRequest, options?: ControlPlaneCallOptions): Promise<ProfileResolutionResponse>;
76
+ resolveProjectState(input: ProjectStateResolutionRequest, options?: ControlPlaneCallOptions): Promise<ProjectStateResolutionResponse>;
77
+ initializeProjectState(input: ProjectStateInitializationRequest, options?: ControlPlaneCallOptions): Promise<ProjectStateInitializationResponse>;
78
+ resolveContextPackage(input: ContextPackageResolutionRequest, options?: ControlPlaneCallOptions): Promise<ContextPackageResolutionResponse>;
79
+ listRuntimes(input: RuntimeListRequest, options?: ControlPlaneCallOptions): Promise<RuntimeListResponse>;
80
+ listRuntimeConnections(input: RuntimeConnectionListRequest, options?: ControlPlaneCallOptions): Promise<RuntimeConnectionListResponse>;
81
+ getRuntimeConnection(input: RuntimeConnectionGetRequest, options?: ControlPlaneCallOptions): Promise<RuntimeConnectionGetResponse>;
82
+ listExternalSessions(input: ExternalSessionListRequest, options?: ControlPlaneCallOptions): Promise<ExternalSessionListResponse>;
83
+ getExternalSession(input: ExternalSessionGetRequest, options?: ControlPlaneCallOptions): Promise<ExternalSessionGetResponse>;
84
+ uploadDeviceSyncObject(input: DeviceSyncUploadRequest, options?: ControlPlaneCallOptions): Promise<DeviceSyncUploadResponse>;
85
+ commitDeviceSyncObject(input: DeviceSyncCommitRequest, options?: ControlPlaneCallOptions): Promise<DeviceSyncCommitResponse>;
86
+ downloadDeviceSyncObjects(input: DeviceSyncDownloadRequest, options?: ControlPlaneCallOptions): Promise<DeviceSyncDownloadResponse>;
87
+ releaseDeviceSyncObjects(input: DeviceSyncReleaseRequest, options?: ControlPlaneCallOptions): Promise<DeviceSyncReleaseResponse>;
88
+ appendDeviceSyncLog(input: DeviceSyncAppendRequest, options?: ControlPlaneCallOptions): Promise<DeviceSyncAppendResponse>;
89
+ readDeviceSyncLog(input: DeviceSyncLogRequest, options?: ControlPlaneCallOptions): Promise<DeviceSyncLogResponse>;
90
+ readDeviceSyncUsage(input: DeviceSyncUsageRequest, options?: ControlPlaneCallOptions): Promise<DeviceSyncUsageResponse>;
91
+ readDeviceSyncCheckpoint(input: DeviceSyncCheckpointRequest, options?: ControlPlaneCallOptions): Promise<DeviceSyncCheckpointResponse>;
92
+ registerDeviceSyncCheckpoint(input: DeviceSyncRegisterCheckpointRequest, options?: ControlPlaneCallOptions): Promise<DeviceSyncRegisterCheckpointResponse>;
93
+ acknowledgeDeviceSyncLog(input: DeviceSyncAckRequest, options?: ControlPlaneCallOptions): Promise<DeviceSyncAckResponse>;
94
+ validateExecutionRequest(input: ExecutionRequestValidationRequest, options?: ControlPlaneCallOptions): Promise<ExecutionRequestValidationResponse>;
95
+ acceptExecution(input: ExecutionAcceptanceRequest, options?: ControlPlaneCallOptions): Promise<ExecutionAcceptanceResponse>;
96
+ respondToInteraction(input: InteractionResponseCommand, options?: ControlPlaneCallOptions): Promise<InteractionResponseCommandResult>;
97
+ cancelExecution(input: ExecutionCancellationCommand, options?: ControlPlaneCallOptions): Promise<ExecutionCancellationCommandResult>;
98
+ marketplaceCatalog(input: MarketplaceCatalogRequest, options?: ControlPlaneCallOptions): Promise<MarketplaceCatalogResponse>;
99
+ marketplaceInstall(input: MarketplaceInstallRequest, options?: ControlPlaneCallOptions): Promise<MarketplaceInstallResponse>;
100
+ marketplaceInstallPlan(input: MarketplaceInstallPlanRequest, options?: ControlPlaneCallOptions): Promise<MarketplaceInstallPlanResponse>;
101
+ marketplaceInstallationList(input: MarketplaceInstallationListRequest, options?: ControlPlaneCallOptions): Promise<MarketplaceInstallationListResponse>;
102
+ marketplaceInstallationGet(input: MarketplaceInstallationGetRequest, options?: ControlPlaneCallOptions): Promise<MarketplaceInstallationGetResponse>;
103
+ marketplaceInstallationUninstall(input: MarketplaceInstallationUninstallRequest, options?: ControlPlaneCallOptions): Promise<MarketplaceInstallationUninstallResponse>;
104
+ preparePiDurableLead(input: PiDurableLeadPrepareRequest, options?: ControlPlaneCallOptions): Promise<PiDurableLeadPrepareResponse>;
105
+ dispatchPiDurableLead(input: PiDurableLeadDispatchRequest, options?: ControlPlaneCallOptions): Promise<PiDurableLeadDispatchResponse>;
106
+ getPiDurableLeadStatus(input: PiDurableLeadStatusRequest, options?: ControlPlaneCallOptions): Promise<PiDurableLeadStatusResponse>;
107
+ lookupPiDurableLead(input: PiDurableLeadLookupRequest, options?: ControlPlaneCallOptions): Promise<PiDurableLeadLookupResponse>;
108
+ getPiDurableLeadProgress(input: PiDurableLeadProgressRequest, options?: ControlPlaneCallOptions): Promise<PiDurableLeadProgressResponse>;
109
+ getPiDurableLeadChildren(input: PiDurableLeadChildrenRequest, options?: ControlPlaneCallOptions): Promise<PiDurableLeadChildrenResponse>;
110
+ getPiDurableLeadChildTarget(input: PiDurableLeadChildTargetRequest, options?: ControlPlaneCallOptions): Promise<PiDurableLeadChildTargetResponse>;
111
+ cancelPiDurableLead(input: PiDurableLeadCancelRequest, options?: ControlPlaneCallOptions): Promise<PiDurableLeadCancelResponse>;
112
+ answerPiDurableLeadQuestion(input: PiDurableLeadQuestionAnswerRequest, options?: ControlPlaneCallOptions): Promise<PiDurableLeadQuestionAnswerResponse>;
113
+ answerPiDurableLeadApproval(input: PiDurableLeadApprovalAnswerRequest, options?: ControlPlaneCallOptions): Promise<PiDurableLeadApprovalAnswerResponse>;
114
+ cancelPiDurableLeadChild(input: PiDurableLeadChildCancelRequest, options?: ControlPlaneCallOptions): Promise<PiDurableLeadChildCancelResponse>;
115
+ messagePiDurableLeadChild(input: PiDurableLeadChildMessageRequest, options?: ControlPlaneCallOptions): Promise<PiDurableLeadChildMessageResponse>;
106
116
  }
117
+ export declare function parseRetryAfterMs(header: string | null, now?: number): number | undefined;
107
118
  export {};