@adea-ai/sdk 3.0.1 → 3.1.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/client.d.ts +2 -1
- package/dist/client.js +3 -0
- package/dist/operations.d.ts +23 -2
- package/dist/operations.js +23 -2
- package/openapi/control-plane.v3.json +7465 -5849
- package/package.json +3 -3
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, 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 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 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';
|
|
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 {
|
|
@@ -65,6 +65,7 @@ export declare class ControlPlaneClient {
|
|
|
65
65
|
deprecateWorkspaceProfile(input: WorkspaceAgentProfileDeprecationRequest): Promise<WorkspaceAgentProfileLifecycleResponse>;
|
|
66
66
|
revokeWorkspaceProfile(input: WorkspaceAgentProfileRevocationRequest): Promise<WorkspaceAgentProfileLifecycleResponse>;
|
|
67
67
|
verifyAuthentication(input: ServiceAuthenticationRequest): Promise<ServiceAuthenticationResponse>;
|
|
68
|
+
resolveDecision(input: DecisionResolveRequest): Promise<DecisionResolveResponse>;
|
|
68
69
|
resolveProfile(input: ProfileResolutionRequest): Promise<ProfileResolutionResponse>;
|
|
69
70
|
resolveProjectState(input: ProjectStateResolutionRequest): Promise<ProjectStateResolutionResponse>;
|
|
70
71
|
initializeProjectState(input: ProjectStateInitializationRequest): Promise<ProjectStateInitializationResponse>;
|
package/dist/client.js
CHANGED
|
@@ -119,6 +119,9 @@ export class ControlPlaneClient {
|
|
|
119
119
|
verifyAuthentication(input) {
|
|
120
120
|
return this.#request(ControlApiOperations.verifyAuthentication, input);
|
|
121
121
|
}
|
|
122
|
+
resolveDecision(input) {
|
|
123
|
+
return this.#request(ControlApiOperations.resolveDecision, input);
|
|
124
|
+
}
|
|
122
125
|
resolveProfile(input) {
|
|
123
126
|
return this.#request(ControlApiOperations.resolveProfile, input);
|
|
124
127
|
}
|
package/dist/operations.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PiDurableLeadPrepareRequestSchema, PiDurableLeadPrepareResponseSchema, PiDurableLeadLookupRequestSchema, PiDurableLeadLookupResponseSchema, PiDurableLeadDispatchRequestSchema, PiDurableLeadDispatchResponseSchema, PiDurableLeadStatusRequestSchema, PiDurableLeadStatusResponseSchema, PiDurableLeadChildrenRequestSchema, PiDurableLeadChildrenResponseSchema, PiDurableLeadChildTargetRequestSchema, PiDurableLeadChildTargetResponseSchema, PiDurableLeadProgressRequestSchema, PiDurableLeadEventsRequestSchema, PiDurableLeadEventsResponseSchema, PiDurableLeadProgressResponseSchema, PiDurableLeadCancelRequestSchema, PiDurableLeadChildCancelRequestSchema, PiDurableLeadQuestionAnswerRequestSchema, PiDurableLeadApprovalAnswerRequestSchema, PiDurableLeadApprovalAnswerResponseSchema, PiDurableLeadQuestionAnswerResponseSchema, PiDurableLeadChildCancelResponseSchema, PiDurableLeadCancelResponseSchema } from '@adea-ai/runtime-sdk';
|
|
1
|
+
import { PiDurableLeadPrepareRequestSchema, PiDurableLeadPrepareResponseSchema, PiDurableLeadLookupRequestSchema, PiDurableLeadLookupResponseSchema, PiDurableLeadDispatchRequestSchema, PiDurableLeadDispatchResponseSchema, PiDurableLeadStatusRequestSchema, PiDurableLeadStatusResponseSchema, PiDurableLeadChildrenRequestSchema, PiDurableLeadChildrenResponseSchema, PiDurableLeadChildTargetRequestSchema, PiDurableLeadChildTargetResponseSchema, PiDurableLeadProgressRequestSchema, PiDurableLeadEventsRequestSchema, PiDurableLeadEventsResponseSchema, PiDurableSessionsRequestSchema, PiDurableSessionsResponseSchema, PiDurableSessionEventsRequestSchema, PiDurableSessionEventsResponseSchema, PiDurableLeadProgressResponseSchema, PiDurableLeadCancelRequestSchema, PiDurableLeadChildCancelRequestSchema, PiDurableLeadQuestionAnswerRequestSchema, PiDurableLeadApprovalAnswerRequestSchema, PiDurableLeadApprovalAnswerResponseSchema, PiDurableLeadQuestionAnswerResponseSchema, PiDurableLeadChildCancelResponseSchema, PiDurableLeadCancelResponseSchema } from '@adea-ai/runtime-sdk';
|
|
2
2
|
import { PiLeadPublicationRequestSchema, PiLeadPublicationResponseSchema, PiChildPublicationRequestSchema, PiChildPublicationResponseSchema, ModelSelectionFundingRequestSchema, ModelSelectionFundingResponseSchema, ModelConnectionCreateRequestSchema, ModelConnectionListRequestSchema, ModelConnectionListResponseSchema, ModelConnectionResponseSchema, ModelConnectionRevokeRequestSchema, ModelDefaultsGetRequestSchema, ModelDefaultsResponseSchema, ModelDefaultsSetRequestSchema, ModelSelectionResolveRequestSchema, ModelSelectionResponseSchema } from '@adea-ai/contracts';
|
|
3
|
-
import { CredentialCreateRequestSchema, CredentialGetRequestSchema, CredentialListRequestSchema, CredentialListResponseSchema, CredentialResponseSchema, CredentialRevokeRequestSchema, CredentialRotateRequestSchema, ExecutionCancellationCommandSchema, ExecutionCancellationCommandResultSchema, InteractionResponseCommandSchema, InteractionResponseCommandResultSchema, ContextPackageResolutionRequestSchema, ContextPackageResolutionResponseSchema, ExecutionAcceptanceRequestSchema, ExecutionAcceptanceResponseSchema, ExecutionRequestValidationRequestSchema, ExecutionRequestValidationResponseSchema, ProfileResolutionRequestSchema, ProfileResolutionResponseSchema, ProjectStateInitializationRequestSchema, ProjectStateInitializationResponseSchema, ProjectStateResolutionRequestSchema, ProjectStateResolutionResponseSchema, RuntimeListRequestSchema, RuntimeListResponseSchema, ServiceAuthenticationRequestSchema, ServiceAuthenticationResponseSchema, ExternalSessionGetRequestSchema, ExternalSessionGetResponseSchema, ExternalSessionListRequestSchema, ExternalSessionListResponseSchema, RuntimeConnectionGetRequestSchema, RuntimeConnectionGetResponseSchema, RuntimeConnectionListRequestSchema, RuntimeConnectionListResponseSchema, MarketplaceCatalogRequestSchema, MarketplaceCatalogResponseSchema, MarketplaceInstallPlanRequestSchema, MarketplaceInstallPlanResponseSchema, MarketplaceInstallRequestSchema, MarketplaceInstallResponseSchema, MarketplaceInstallationGetRequestSchema, MarketplaceInstallationGetResponseSchema, MarketplaceInstallationUninstallRequestSchema, MarketplaceInstallationUninstallResponseSchema, WorkspaceAgentProfileDeprecationRequestSchema, WorkspaceAgentProfileGetRequestSchema, WorkspaceAgentProfileGetResponseSchema, WorkspaceAgentProfileLifecycleResponseSchema, WorkspaceAgentProfileListRequestSchema, WorkspaceAgentProfileListResponseSchema, WorkspaceAgentProfilePublishRequestSchema, WorkspaceAgentProfilePublishResponseSchema, WorkspaceAgentProfileRevocationRequestSchema, WorkspaceSkillDeprecationRequestSchema, WorkspaceSkillGetRequestSchema, WorkspaceSkillGetResponseSchema, WorkspaceSkillLifecycleResponseSchema, WorkspaceSkillListRequestSchema, WorkspaceSkillListResponseSchema, WorkspaceSkillPublishRequestSchema, WorkspaceSkillPublishResponseSchema, WorkspaceSkillRevocationRequestSchema, DeviceSyncUploadRequestSchema, DeviceSyncUploadResponseSchema, DeviceSyncCommitRequestSchema, DeviceSyncCommitResponseSchema, DeviceSyncDownloadRequestSchema, DeviceSyncDownloadResponseSchema, DeviceSyncReleaseRequestSchema, DeviceSyncReleaseResponseSchema, DeviceSyncAppendRequestSchema, DeviceSyncAppendResponseSchema, DeviceSyncLogRequestSchema, DeviceSyncLogResponseSchema, DeviceSyncUsageRequestSchema, DeviceSyncUsageResponseSchema } from '@adea-ai/contracts';
|
|
3
|
+
import { CredentialCreateRequestSchema, CredentialGetRequestSchema, CredentialListRequestSchema, CredentialListResponseSchema, CredentialResponseSchema, CredentialRevokeRequestSchema, CredentialRotateRequestSchema, ExecutionCancellationCommandSchema, ExecutionCancellationCommandResultSchema, InteractionResponseCommandSchema, InteractionResponseCommandResultSchema, ContextPackageResolutionRequestSchema, ContextPackageResolutionResponseSchema, ExecutionAcceptanceRequestSchema, ExecutionAcceptanceResponseSchema, ExecutionRequestValidationRequestSchema, ExecutionRequestValidationResponseSchema, DecisionResolveRequestSchema, DecisionResolveResponseSchema, ProfileResolutionRequestSchema, ProfileResolutionResponseSchema, ProjectStateInitializationRequestSchema, ProjectStateInitializationResponseSchema, ProjectStateResolutionRequestSchema, ProjectStateResolutionResponseSchema, RuntimeListRequestSchema, RuntimeListResponseSchema, ServiceAuthenticationRequestSchema, ServiceAuthenticationResponseSchema, ExternalSessionGetRequestSchema, ExternalSessionGetResponseSchema, ExternalSessionListRequestSchema, ExternalSessionListResponseSchema, RuntimeConnectionGetRequestSchema, RuntimeConnectionGetResponseSchema, RuntimeConnectionListRequestSchema, RuntimeConnectionListResponseSchema, MarketplaceCatalogRequestSchema, MarketplaceCatalogResponseSchema, MarketplaceInstallPlanRequestSchema, MarketplaceInstallPlanResponseSchema, MarketplaceInstallRequestSchema, MarketplaceInstallResponseSchema, MarketplaceInstallationGetRequestSchema, MarketplaceInstallationGetResponseSchema, MarketplaceInstallationUninstallRequestSchema, MarketplaceInstallationUninstallResponseSchema, WorkspaceAgentProfileDeprecationRequestSchema, WorkspaceAgentProfileGetRequestSchema, WorkspaceAgentProfileGetResponseSchema, WorkspaceAgentProfileLifecycleResponseSchema, WorkspaceAgentProfileListRequestSchema, WorkspaceAgentProfileListResponseSchema, WorkspaceAgentProfilePublishRequestSchema, WorkspaceAgentProfilePublishResponseSchema, WorkspaceAgentProfileRevocationRequestSchema, WorkspaceSkillDeprecationRequestSchema, WorkspaceSkillGetRequestSchema, WorkspaceSkillGetResponseSchema, WorkspaceSkillLifecycleResponseSchema, WorkspaceSkillListRequestSchema, WorkspaceSkillListResponseSchema, WorkspaceSkillPublishRequestSchema, WorkspaceSkillPublishResponseSchema, WorkspaceSkillRevocationRequestSchema, DeviceSyncUploadRequestSchema, DeviceSyncUploadResponseSchema, DeviceSyncCommitRequestSchema, DeviceSyncCommitResponseSchema, DeviceSyncDownloadRequestSchema, DeviceSyncDownloadResponseSchema, DeviceSyncReleaseRequestSchema, DeviceSyncReleaseResponseSchema, DeviceSyncAppendRequestSchema, DeviceSyncAppendResponseSchema, DeviceSyncLogRequestSchema, DeviceSyncLogResponseSchema, DeviceSyncUsageRequestSchema, DeviceSyncUsageResponseSchema } from '@adea-ai/contracts';
|
|
4
4
|
export declare const ControlApiOperations: Readonly<{
|
|
5
5
|
readonly getPiDurableLeadPublication: {
|
|
6
6
|
readonly operation: 'pi-durable.lead.publication.current';
|
|
@@ -193,6 +193,13 @@ export declare const ControlApiOperations: Readonly<{
|
|
|
193
193
|
readonly requestSchema: typeof ServiceAuthenticationRequestSchema;
|
|
194
194
|
readonly responseSchema: typeof ServiceAuthenticationResponseSchema;
|
|
195
195
|
};
|
|
196
|
+
readonly resolveDecision: {
|
|
197
|
+
readonly operation: 'decision.resolve';
|
|
198
|
+
readonly method: 'POST';
|
|
199
|
+
readonly path: '/v1/decisions/resolve';
|
|
200
|
+
readonly requestSchema: typeof DecisionResolveRequestSchema;
|
|
201
|
+
readonly responseSchema: typeof DecisionResolveResponseSchema;
|
|
202
|
+
};
|
|
196
203
|
readonly resolveProfile: {
|
|
197
204
|
readonly operation: 'profile.resolve';
|
|
198
205
|
readonly method: 'POST';
|
|
@@ -348,6 +355,20 @@ export declare const ControlApiOperations: Readonly<{
|
|
|
348
355
|
readonly requestSchema: typeof PiDurableLeadEventsRequestSchema;
|
|
349
356
|
readonly responseSchema: typeof PiDurableLeadEventsResponseSchema;
|
|
350
357
|
};
|
|
358
|
+
readonly listPiDurableSessions: {
|
|
359
|
+
readonly operation: 'pi-durable.lead.sessions';
|
|
360
|
+
readonly method: 'POST';
|
|
361
|
+
readonly path: '/v3/pi-durable/lead-dispatches/sessions';
|
|
362
|
+
readonly requestSchema: typeof PiDurableSessionsRequestSchema;
|
|
363
|
+
readonly responseSchema: typeof PiDurableSessionsResponseSchema;
|
|
364
|
+
};
|
|
365
|
+
readonly getPiDurableSessionEvents: {
|
|
366
|
+
readonly operation: 'pi-durable.lead.session-events';
|
|
367
|
+
readonly method: 'POST';
|
|
368
|
+
readonly path: '/v3/pi-durable/lead-dispatches/session-events';
|
|
369
|
+
readonly requestSchema: typeof PiDurableSessionEventsRequestSchema;
|
|
370
|
+
readonly responseSchema: typeof PiDurableSessionEventsResponseSchema;
|
|
371
|
+
};
|
|
351
372
|
readonly getPiDurableLeadChildren: {
|
|
352
373
|
readonly operation: 'pi-durable.lead.children';
|
|
353
374
|
readonly method: 'POST';
|
package/dist/operations.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PiDurableLeadPrepareRequestSchema, PiDurableLeadPrepareResponseSchema, PiDurableLeadLookupRequestSchema, PiDurableLeadLookupResponseSchema, PiDurableLeadDispatchRequestSchema, PiDurableLeadDispatchResponseSchema, PiDurableLeadStatusRequestSchema, PiDurableLeadStatusResponseSchema, PiDurableLeadChildrenRequestSchema, PiDurableLeadChildrenResponseSchema, PiDurableLeadChildTargetRequestSchema, PiDurableLeadChildTargetResponseSchema, PiDurableLeadProgressRequestSchema, PiDurableLeadEventsRequestSchema, PiDurableLeadEventsResponseSchema, PiDurableLeadProgressResponseSchema, PiDurableLeadCancelRequestSchema, PiDurableLeadChildCancelRequestSchema, PiDurableLeadQuestionAnswerRequestSchema, PiDurableLeadApprovalAnswerRequestSchema, PiDurableLeadApprovalAnswerResponseSchema, PiDurableLeadQuestionAnswerResponseSchema, PiDurableLeadChildCancelResponseSchema, PiDurableLeadCancelResponseSchema, } from '@adea-ai/runtime-sdk';
|
|
1
|
+
import { PiDurableLeadPrepareRequestSchema, PiDurableLeadPrepareResponseSchema, PiDurableLeadLookupRequestSchema, PiDurableLeadLookupResponseSchema, PiDurableLeadDispatchRequestSchema, PiDurableLeadDispatchResponseSchema, PiDurableLeadStatusRequestSchema, PiDurableLeadStatusResponseSchema, PiDurableLeadChildrenRequestSchema, PiDurableLeadChildrenResponseSchema, PiDurableLeadChildTargetRequestSchema, PiDurableLeadChildTargetResponseSchema, PiDurableLeadProgressRequestSchema, PiDurableLeadEventsRequestSchema, PiDurableLeadEventsResponseSchema, PiDurableSessionsRequestSchema, PiDurableSessionsResponseSchema, PiDurableSessionEventsRequestSchema, PiDurableSessionEventsResponseSchema, PiDurableLeadProgressResponseSchema, PiDurableLeadCancelRequestSchema, PiDurableLeadChildCancelRequestSchema, PiDurableLeadQuestionAnswerRequestSchema, PiDurableLeadApprovalAnswerRequestSchema, PiDurableLeadApprovalAnswerResponseSchema, PiDurableLeadQuestionAnswerResponseSchema, PiDurableLeadChildCancelResponseSchema, PiDurableLeadCancelResponseSchema, } from '@adea-ai/runtime-sdk';
|
|
2
2
|
import { PiLeadPublicationRequestSchema, PiLeadPublicationResponseSchema, PiChildPublicationRequestSchema, PiChildPublicationResponseSchema, ModelSelectionFundingRequestSchema, ModelSelectionFundingResponseSchema, ModelConnectionCreateRequestSchema, ModelConnectionListRequestSchema, ModelConnectionListResponseSchema, ModelConnectionResponseSchema, ModelConnectionRevokeRequestSchema, ModelDefaultsGetRequestSchema, ModelDefaultsResponseSchema, ModelDefaultsSetRequestSchema, ModelSelectionResolveRequestSchema, ModelSelectionResponseSchema, } from '@adea-ai/contracts';
|
|
3
|
-
import { CredentialCreateRequestSchema, CredentialGetRequestSchema, CredentialListRequestSchema, CredentialListResponseSchema, CredentialResponseSchema, CredentialRevokeRequestSchema, CredentialRotateRequestSchema, ExecutionCancellationCommandSchema, ExecutionCancellationCommandResultSchema, InteractionResponseCommandSchema, InteractionResponseCommandResultSchema, ContextPackageResolutionRequestSchema, ContextPackageResolutionResponseSchema, ExecutionAcceptanceRequestSchema, ExecutionAcceptanceResponseSchema, ExecutionRequestValidationRequestSchema, ExecutionRequestValidationResponseSchema, ProfileResolutionRequestSchema, ProfileResolutionResponseSchema, ProjectStateInitializationRequestSchema, ProjectStateInitializationResponseSchema, ProjectStateResolutionRequestSchema, ProjectStateResolutionResponseSchema, RuntimeListRequestSchema, RuntimeListResponseSchema, ServiceAuthenticationRequestSchema, ServiceAuthenticationResponseSchema, ExternalSessionGetRequestSchema, ExternalSessionGetResponseSchema, ExternalSessionListRequestSchema, ExternalSessionListResponseSchema, RuntimeConnectionGetRequestSchema, RuntimeConnectionGetResponseSchema, RuntimeConnectionListRequestSchema, RuntimeConnectionListResponseSchema, MarketplaceCatalogRequestSchema, MarketplaceCatalogResponseSchema, MarketplaceInstallPlanRequestSchema, MarketplaceInstallPlanResponseSchema, MarketplaceInstallRequestSchema, MarketplaceInstallResponseSchema, MarketplaceInstallationGetRequestSchema, MarketplaceInstallationGetResponseSchema, MarketplaceInstallationUninstallRequestSchema, MarketplaceInstallationUninstallResponseSchema, WorkspaceAgentProfileDeprecationRequestSchema, WorkspaceAgentProfileGetRequestSchema, WorkspaceAgentProfileGetResponseSchema, WorkspaceAgentProfileLifecycleResponseSchema, WorkspaceAgentProfileListRequestSchema, WorkspaceAgentProfileListResponseSchema, WorkspaceAgentProfilePublishRequestSchema, WorkspaceAgentProfilePublishResponseSchema, WorkspaceAgentProfileRevocationRequestSchema, WorkspaceSkillDeprecationRequestSchema, WorkspaceSkillGetRequestSchema, WorkspaceSkillGetResponseSchema, WorkspaceSkillLifecycleResponseSchema, WorkspaceSkillListRequestSchema, WorkspaceSkillListResponseSchema, WorkspaceSkillPublishRequestSchema, WorkspaceSkillPublishResponseSchema, WorkspaceSkillRevocationRequestSchema, DeviceSyncUploadRequestSchema, DeviceSyncUploadResponseSchema, DeviceSyncCommitRequestSchema, DeviceSyncCommitResponseSchema, DeviceSyncDownloadRequestSchema, DeviceSyncDownloadResponseSchema, DeviceSyncReleaseRequestSchema, DeviceSyncReleaseResponseSchema, DeviceSyncAppendRequestSchema, DeviceSyncAppendResponseSchema, DeviceSyncLogRequestSchema, DeviceSyncLogResponseSchema, DeviceSyncUsageRequestSchema, DeviceSyncUsageResponseSchema, } from '@adea-ai/contracts';
|
|
3
|
+
import { CredentialCreateRequestSchema, CredentialGetRequestSchema, CredentialListRequestSchema, CredentialListResponseSchema, CredentialResponseSchema, CredentialRevokeRequestSchema, CredentialRotateRequestSchema, ExecutionCancellationCommandSchema, ExecutionCancellationCommandResultSchema, InteractionResponseCommandSchema, InteractionResponseCommandResultSchema, ContextPackageResolutionRequestSchema, ContextPackageResolutionResponseSchema, ExecutionAcceptanceRequestSchema, ExecutionAcceptanceResponseSchema, ExecutionRequestValidationRequestSchema, ExecutionRequestValidationResponseSchema, DecisionResolveRequestSchema, DecisionResolveResponseSchema, ProfileResolutionRequestSchema, ProfileResolutionResponseSchema, ProjectStateInitializationRequestSchema, ProjectStateInitializationResponseSchema, ProjectStateResolutionRequestSchema, ProjectStateResolutionResponseSchema, RuntimeListRequestSchema, RuntimeListResponseSchema, ServiceAuthenticationRequestSchema, ServiceAuthenticationResponseSchema, ExternalSessionGetRequestSchema, ExternalSessionGetResponseSchema, ExternalSessionListRequestSchema, ExternalSessionListResponseSchema, RuntimeConnectionGetRequestSchema, RuntimeConnectionGetResponseSchema, RuntimeConnectionListRequestSchema, RuntimeConnectionListResponseSchema, MarketplaceCatalogRequestSchema, MarketplaceCatalogResponseSchema, MarketplaceInstallPlanRequestSchema, MarketplaceInstallPlanResponseSchema, MarketplaceInstallRequestSchema, MarketplaceInstallResponseSchema, MarketplaceInstallationGetRequestSchema, MarketplaceInstallationGetResponseSchema, MarketplaceInstallationUninstallRequestSchema, MarketplaceInstallationUninstallResponseSchema, WorkspaceAgentProfileDeprecationRequestSchema, WorkspaceAgentProfileGetRequestSchema, WorkspaceAgentProfileGetResponseSchema, WorkspaceAgentProfileLifecycleResponseSchema, WorkspaceAgentProfileListRequestSchema, WorkspaceAgentProfileListResponseSchema, WorkspaceAgentProfilePublishRequestSchema, WorkspaceAgentProfilePublishResponseSchema, WorkspaceAgentProfileRevocationRequestSchema, WorkspaceSkillDeprecationRequestSchema, WorkspaceSkillGetRequestSchema, WorkspaceSkillGetResponseSchema, WorkspaceSkillLifecycleResponseSchema, WorkspaceSkillListRequestSchema, WorkspaceSkillListResponseSchema, WorkspaceSkillPublishRequestSchema, WorkspaceSkillPublishResponseSchema, WorkspaceSkillRevocationRequestSchema, DeviceSyncUploadRequestSchema, DeviceSyncUploadResponseSchema, DeviceSyncCommitRequestSchema, DeviceSyncCommitResponseSchema, DeviceSyncDownloadRequestSchema, DeviceSyncDownloadResponseSchema, DeviceSyncReleaseRequestSchema, DeviceSyncReleaseResponseSchema, DeviceSyncAppendRequestSchema, DeviceSyncAppendResponseSchema, DeviceSyncLogRequestSchema, DeviceSyncLogResponseSchema, DeviceSyncUsageRequestSchema, DeviceSyncUsageResponseSchema, } from '@adea-ai/contracts';
|
|
4
4
|
export const ControlApiOperations = Object.freeze({
|
|
5
5
|
getPiDurableLeadPublication: {
|
|
6
6
|
operation: 'pi-durable.lead.publication.current',
|
|
@@ -193,6 +193,13 @@ export const ControlApiOperations = Object.freeze({
|
|
|
193
193
|
requestSchema: ServiceAuthenticationRequestSchema,
|
|
194
194
|
responseSchema: ServiceAuthenticationResponseSchema,
|
|
195
195
|
},
|
|
196
|
+
resolveDecision: {
|
|
197
|
+
operation: 'decision.resolve',
|
|
198
|
+
method: 'POST',
|
|
199
|
+
path: '/v1/decisions/resolve',
|
|
200
|
+
requestSchema: DecisionResolveRequestSchema,
|
|
201
|
+
responseSchema: DecisionResolveResponseSchema,
|
|
202
|
+
},
|
|
196
203
|
resolveProfile: {
|
|
197
204
|
operation: 'profile.resolve',
|
|
198
205
|
method: 'POST',
|
|
@@ -348,6 +355,20 @@ export const ControlApiOperations = Object.freeze({
|
|
|
348
355
|
requestSchema: PiDurableLeadEventsRequestSchema,
|
|
349
356
|
responseSchema: PiDurableLeadEventsResponseSchema,
|
|
350
357
|
},
|
|
358
|
+
listPiDurableSessions: {
|
|
359
|
+
operation: 'pi-durable.lead.sessions',
|
|
360
|
+
method: 'POST',
|
|
361
|
+
path: '/v3/pi-durable/lead-dispatches/sessions',
|
|
362
|
+
requestSchema: PiDurableSessionsRequestSchema,
|
|
363
|
+
responseSchema: PiDurableSessionsResponseSchema,
|
|
364
|
+
},
|
|
365
|
+
getPiDurableSessionEvents: {
|
|
366
|
+
operation: 'pi-durable.lead.session-events',
|
|
367
|
+
method: 'POST',
|
|
368
|
+
path: '/v3/pi-durable/lead-dispatches/session-events',
|
|
369
|
+
requestSchema: PiDurableSessionEventsRequestSchema,
|
|
370
|
+
responseSchema: PiDurableSessionEventsResponseSchema,
|
|
371
|
+
},
|
|
351
372
|
getPiDurableLeadChildren: {
|
|
352
373
|
operation: 'pi-durable.lead.children',
|
|
353
374
|
method: 'POST',
|