@selleragent/api-contract 0.7.0 → 0.9.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/.tsbuildinfo +1 -1
- package/dist/conversations.d.ts +770 -146
- package/dist/conversations.d.ts.map +1 -1
- package/dist/conversations.js +125 -1
- package/dist/conversations.js.map +1 -1
- package/dist/curation.d.ts +1483 -0
- package/dist/curation.d.ts.map +1 -0
- package/dist/curation.js +365 -0
- package/dist/curation.js.map +1 -0
- package/dist/customers.d.ts +10 -10
- package/dist/followups.d.ts +6 -6
- package/dist/index.d.ts +13 -10
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +206 -33
- package/dist/index.js.map +1 -1
- package/dist/judge-files.d.ts +534 -6
- package/dist/judge-files.d.ts.map +1 -1
- package/dist/judge-files.js +203 -7
- package/dist/judge-files.js.map +1 -1
- package/dist/operations.d.ts +9157 -3792
- package/dist/operations.d.ts.map +1 -1
- package/dist/operations.js +566 -140
- package/dist/operations.js.map +1 -1
- package/dist/ops.d.ts +851 -223
- package/dist/ops.d.ts.map +1 -1
- package/dist/ops.js +98 -4
- package/dist/ops.js.map +1 -1
- package/dist/runtime.d.ts +1014 -494
- package/dist/runtime.d.ts.map +1 -1
- package/dist/runtime.js +260 -31
- package/dist/runtime.js.map +1 -1
- package/dist/semantic-eval.d.ts +449 -16
- package/dist/semantic-eval.d.ts.map +1 -1
- package/dist/semantic-eval.js +23 -2
- package/dist/semantic-eval.js.map +1 -1
- package/package.json +1 -1
package/dist/operations.js
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
3
|
+
exports.authCliBrowserLoginStateSchema = exports.authCliBrowserLoginStateRequestSchema = exports.authAbandonCliLoginIntentResponseSchema = exports.authAbandonCliLoginIntentRequestSchema = exports.authGetCliLoginIntentResponseSchema = exports.authGetCliLoginIntentRequestSchema = exports.authStartCliLoginIntentResponseSchema = exports.authStartCliLoginIntentRequestSchema = exports.authCliLoginIntentSchema = exports.authCliLoginIntentDeliveryModeSchema = exports.authCliLoginAttemptTokenSchema = exports.authCliLoginIntentStatusSchema = exports.authRequestMagicLinkResponseSchema = exports.authRequestMagicLinkRequestSchema = exports.authEnsureOperatorResponseSchema = exports.authEnsureOperatorRequestSchema = exports.operatorAccessContextSchema = exports.authSessionRecordSchema = exports.authSessionSchema = exports.businessProfileMemberEntrySchema = exports.businessProfileMembershipSchema = exports.businessProfileProjectBundleSchema = exports.businessProfileProjectApplyDeclarationSchema = exports.businessProfileProjectSecretStatusSchema = exports.businessProfileProjectSecretRefSchema = exports.businessProfileProjectSecretFieldSchema = exports.businessProfileMediaRegistrySchema = exports.businessProfileMediaAssetSchema = exports.businessProfileMediaFolderSchema = exports.businessProfileMediaAssetKindSchema = exports.businessProfileProjectFileSchema = exports.businessProfileProjectManifestSchema = exports.telegramIntegrationReleaseAssignmentSchema = exports.businessProfileReleaseSchema = exports.businessProfilePublishJobSchema = exports.businessProfileAutoRolloutStatusSchema = exports.businessProfilePublishJobStatusSchema = exports.businessProfilePublishTriggerSourceSchema = exports.businessProfileVersionSchema = exports.businessProfileSchema = exports.workspaceMembershipSchema = exports.operatorRecordSchema = exports.businessProfileVersionSourceSchema = exports.businessProfileSourceProviderSchema = exports.businessProfileStatusSchema = exports.authDeployActionSchema = exports.authSessionSourceSchema = exports.workspaceMembershipStatusSchema = exports.operatorAccountStatusSchema = exports.operatorRoleSchema = void 0;
|
|
4
|
+
exports.authCompleteMagicLinkResponseSchema = exports.authCompleteMagicLinkRequestSchema = exports.authExchangeScenarioTokenResponseSchema = exports.authExchangeScenarioTokenRequestSchema = exports.authRevokeSystemAdminInviteResponseSchema = exports.authRevokeSystemAdminInviteRequestSchema = exports.authIssueSystemAdminInviteResponseSchema = exports.authIssueSystemAdminInviteRequestSchema = exports.authListSystemAdminInvitesResponseSchema = exports.authListSystemAdminInvitesRequestSchema = exports.authListSystemAdminsResponseSchema = exports.authListSystemAdminsRequestSchema = exports.authRevokeWorkspaceInviteResponseSchema = exports.authRevokeWorkspaceInviteRequestSchema = exports.authIssueWorkspaceInviteResponseSchema = exports.authIssueWorkspaceInviteRequestSchema = exports.authListWorkspaceInvitesResponseSchema = exports.authListWorkspaceInvitesRequestSchema = exports.authSetWorkspaceTrustPolicyResponseSchema = exports.authSetWorkspaceTrustPolicyRequestSchema = exports.authGetWorkspaceTrustPolicyResponseSchema = exports.authGetWorkspaceTrustPolicyRequestSchema = exports.authInviteRecordSchema = exports.authInviteTelegramBindingSchema = exports.authInviteTelegramBindingStatusSchema = exports.authInviteStatusSchema = exports.authInviteRoleSchema = exports.authInviteScopeSchema = exports.authWorkspaceTrustPolicySchema = exports.authWorkspaceTrustModeSchema = exports.authUpsertWorkspaceMemberResponseSchema = exports.authUpsertWorkspaceMemberRequestSchema = exports.authListWorkspaceMembersResponseSchema = exports.authListWorkspaceMembersRequestSchema = exports.authWorkspaceMemberEntrySchema = exports.authIssueDeployTokenResponseSchema = exports.authIssueDeployTokenRequestSchema = exports.authRevokeSessionResponseSchema = exports.authRevokeSessionRequestSchema = exports.authListSessionsResponseSchema = exports.authListSessionsRequestSchema = exports.authGetSessionResponseSchema = exports.authGetSessionRequestSchema = exports.authIssueScenarioTokenResponseSchema = exports.authIssueScenarioTokenRequestSchema = exports.authCompleteCliBrowserLoginResponseSchema = exports.authCompleteCliBrowserLoginRequestSchema = exports.authRequestCliLoginMagicLinkResponseSchema = exports.authRequestCliLoginMagicLinkRequestSchema = exports.authCliBrowserLoginStateResponseSchema = void 0;
|
|
5
|
+
exports.integrationsBindTelegramEmployeeResponseSchema = exports.integrationsBindTelegramEmployeeRequestSchema = exports.integrationsListTelegramEmployeeBindingsResponseSchema = exports.integrationsListTelegramEmployeeBindingsRequestSchema = exports.telegramEmployeeBindingSchema = exports.integrationsListTelegramObservedUsersResponseSchema = exports.integrationsListTelegramObservedUsersRequestSchema = exports.telegramObservedUserSchema = exports.integrationsSetTelegramBotAutoRolloutPolicyResponseSchema = exports.integrationsSetTelegramBotAutoRolloutPolicyRequestSchema = exports.integrationsGetTelegramBotReleaseAssignmentResponseSchema = exports.integrationsGetTelegramBotReleaseAssignmentRequestSchema = exports.integrationsAssignReleaseResponseSchema = exports.integrationsAssignReleaseRequestSchema = exports.integrationsListTelegramBotsResponseSchema = exports.integrationsListTelegramBotsRequestSchema = exports.integrationsUpsertTelegramBotResponseSchema = exports.integrationsUpsertTelegramBotRequestSchema = exports.telegramBotIntegrationSchema = exports.telegramCommandCapabilitySummarySchema = exports.telegramCommandProjectionSyncModeSchema = exports.telegramCommandProjectionScopeSchema = exports.telegramCommandProjectionSyncStatusSchema = exports.telegramEmployeeBindingStatusSchema = exports.telegramCommandActorClassSchema = exports.telegramBusinessBindingStatusSchema = exports.telegramIntegrationModeSchema = exports.businessProfilesListReleasesResponseSchema = exports.businessProfilesListReleasesRequestSchema = exports.businessProfilesPromoteReleaseResponseSchema = exports.businessProfilesPromoteReleaseRequestSchema = exports.businessProfilesCreateReleaseResponseSchema = exports.businessProfilesCreateReleaseRequestSchema = exports.businessProfilesGetPublishJobResponseSchema = exports.businessProfilesGetPublishJobRequestSchema = exports.businessProfilesStartPublishJobResponseSchema = exports.businessProfilesStartPublishJobRequestSchema = exports.businessProfilesListMembersResponseSchema = exports.businessProfilesListMembersRequestSchema = exports.businessProfilesVerifyRepoAccessResponseSchema = exports.businessProfilesVerifyRepoAccessRequestSchema = exports.businessProfilesListVersionsResponseSchema = exports.businessProfilesListVersionsRequestSchema = exports.businessProfilesGetResponseSchema = exports.businessProfilesGetRequestSchema = exports.businessProfilesListResponseSchema = exports.businessProfilesListRequestSchema = exports.authLogoutResponseSchema = exports.authCheckAccessResponseSchema = exports.authCheckAccessRequestSchema = void 0;
|
|
6
|
+
exports.runtimeEffectiveModelRoleConfigSchema = exports.runtimeModelProfileRolesSchema = exports.runtimeVerifierConfigSchema = exports.runtimeModelRoleConfigSchema = exports.runtimeFailurePolicySchema = exports.runtimeFailurePolicyRuleSchema = exports.runtimeFailureBackoffSchema = exports.runtimeFailureBackoffModeSchema = exports.runtimeRoutingTargetSchema = exports.runtimeReconcileProvidersResponseSchema = exports.runtimeReconcileProvidersRequestSchema = exports.runtimeListProvidersResponseSchema = exports.runtimeListProvidersRequestSchema = exports.runtimeUpsertProviderResponseSchema = exports.runtimeUpsertProviderRequestSchema = exports.runtimeProviderSchema = exports.runtimeProviderCapabilitiesSchema = exports.runtimeFailureCategorySchema = exports.runtimeCredentialSourceSchema = exports.runtimeStageKeySchema = exports.runtimeProviderKindSchema = exports.runtimeModelProfileScopeSchema = exports.runtimeProviderScopeSchema = exports.integrationsGetTelegramEmployeeBindingStatusResponseSchema = exports.integrationsGetTelegramEmployeeBindingStatusRequestSchema = exports.integrationsResyncTelegramEmployeeCommandsResponseSchema = exports.integrationsResyncTelegramEmployeeCommandsRequestSchema = exports.integrationsMigrateLegacyTelegramDefaultResponseSchema = exports.integrationsMigrateLegacyTelegramDefaultRequestSchema = exports.integrationsReconcileTelegramIntegrationResponseSchema = exports.integrationsReconcileTelegramIntegrationRequestSchema = exports.integrationsSyncTelegramCommandsResponseSchema = exports.integrationsSyncTelegramCommandsRequestSchema = exports.integrationsSyncTelegramWebhookResponseSchema = exports.integrationsSyncTelegramWebhookRequestSchema = exports.integrationsVerifyTelegramIntegrationResponseSchema = exports.integrationsVerifyTelegramIntegrationRequestSchema = exports.integrationsRefreshTelegramBusinessAccountResponseSchema = exports.integrationsRefreshTelegramBusinessAccountRequestSchema = exports.integrationsBlockTelegramBusinessAccountResponseSchema = exports.integrationsBlockTelegramBusinessAccountRequestSchema = exports.integrationsApproveTelegramBusinessAccountResponseSchema = exports.integrationsApproveTelegramBusinessAccountRequestSchema = exports.integrationsGetTelegramBusinessAccountResponseSchema = exports.integrationsGetTelegramBusinessAccountRequestSchema = exports.integrationsListTelegramBusinessAccountsResponseSchema = exports.integrationsListTelegramBusinessAccountsRequestSchema = exports.telegramBusinessAccountSchema = exports.integrationsRevokeTelegramEmployeeBindingResponseSchema = exports.integrationsRevokeTelegramEmployeeBindingRequestSchema = void 0;
|
|
7
|
+
exports.authListWorkspaceInvitesOperation = exports.authSetWorkspaceTrustPolicyOperation = exports.authGetWorkspaceTrustPolicyOperation = exports.authCheckAccessOperation = exports.authUpsertWorkspaceMemberOperation = exports.authListWorkspaceMembersOperation = exports.authIssueDeployTokenOperation = exports.authRevokeSessionOperation = exports.authListSessionsOperation = exports.authGetSessionOperation = exports.authIssueScenarioTokenOperation = exports.authCompleteCliBrowserLoginOperation = exports.authRequestCliLoginMagicLinkOperation = exports.authGetCliBrowserLoginStateOperation = exports.authAbandonCliLoginIntentOperation = exports.authGetCliLoginIntentOperation = exports.authStartCliLoginIntentOperation = exports.authRequestMagicLinkOperation = exports.authEnsureOperatorOperation = exports.systemEchoOperation = exports.systemIntegrationStatusOperation = exports.systemInfoOperation = exports.systemHealthOperation = exports.contractCatalogSchema = exports.operationCatalogEntrySchema = exports.operationKindSchema = exports.platformErrorSchema = exports.platformErrorCodeSchema = exports.runtimeListFallbackEventsResponseSchema = exports.runtimeListFallbackEventsRequestSchema = exports.runtimeGetUsageSummaryResponseSchema = exports.runtimeGetUsageSummaryRequestSchema = exports.runtimeUsageSummarySchema = exports.runtimeUsageSummaryBucketSchema = exports.runtimeFallbackEventSchema = exports.runtimeUsageEventSchema = exports.runtimeUsageEventStatusSchema = exports.runtimeReconcileModelProfilesResponseSchema = exports.runtimeReconcileModelProfilesRequestSchema = exports.runtimeGetEffectiveModelProfileResponseSchema = exports.runtimeGetEffectiveModelProfileRequestSchema = exports.runtimeEffectiveModelProfileSchema = exports.runtimeListModelProfilesResponseSchema = exports.runtimeListModelProfilesRequestSchema = exports.runtimeDeleteModelProfileResponseSchema = exports.runtimeDeleteModelProfileRequestSchema = exports.runtimeUpsertModelProfileResponseSchema = exports.runtimeUpsertModelProfileRequestSchema = exports.runtimeModelProfileSchema = exports.runtimeEffectiveModelProfileRolesSchema = void 0;
|
|
8
|
+
exports.conversationsReplayTranscriptOperation = exports.conversationsGetContextOperation = exports.conversationsProcessInboundEventOperation = exports.commerceGetContextOperation = exports.commerceCreateOrderSnapshotOperation = exports.commerceQuoteDealOperation = exports.commerceReplaceCartItemsOperation = exports.commerceCreateCartOperation = exports.commerceGetCatalogOperation = exports.commerceSeedCatalogOperation = exports.customersPatchMemoryOperation = exports.customersGetContextOperation = exports.customersEnsureIdentityOperation = exports.integrationsMigrateLegacyTelegramDefaultOperation = exports.integrationsReconcileTelegramIntegrationOperation = exports.integrationsSyncTelegramCommandsOperation = exports.integrationsSyncTelegramWebhookOperation = exports.integrationsVerifyTelegramIntegrationOperation = exports.integrationsRefreshTelegramBusinessAccountOperation = exports.integrationsBlockTelegramBusinessAccountOperation = exports.integrationsApproveTelegramBusinessAccountOperation = exports.integrationsGetTelegramEmployeeBindingStatusOperation = exports.integrationsResyncTelegramEmployeeCommandsOperation = exports.integrationsRevokeTelegramEmployeeBindingOperation = exports.integrationsBindTelegramEmployeeOperation = exports.integrationsListTelegramEmployeeBindingsOperation = exports.integrationsListTelegramObservedUsersOperation = exports.integrationsGetTelegramBusinessAccountOperation = exports.integrationsListTelegramBusinessAccountsOperation = exports.integrationsListTelegramBotsOperation = exports.integrationsSetTelegramBotAutoRolloutPolicyOperation = exports.integrationsGetTelegramBotReleaseAssignmentOperation = exports.integrationsAssignReleaseOperation = exports.integrationsUpsertTelegramBotOperation = exports.businessProfilesPromoteReleaseOperation = exports.businessProfilesListReleasesOperation = exports.businessProfilesCreateReleaseOperation = exports.businessProfilesGetPublishJobOperation = exports.businessProfilesStartPublishJobOperation = exports.businessProfilesListMembersOperation = exports.businessProfilesVerifyRepoAccessOperation = exports.businessProfilesListVersionsOperation = exports.businessProfilesGetOperation = exports.businessProfilesListOperation = exports.authRevokeSystemAdminInviteOperation = exports.authIssueSystemAdminInviteOperation = exports.authListSystemAdminInvitesOperation = exports.authListSystemAdminsOperation = exports.authRevokeWorkspaceInviteOperation = exports.authIssueWorkspaceInviteOperation = void 0;
|
|
9
|
+
exports.curationRecordEvaluationRunOperation = exports.curationUpsertTranscriptRecordOperation = exports.followUpsCompleteTaskOperation = exports.followUpsListTasksOperation = exports.followUpsEvaluateConversationOperation = exports.opsReconcileBusinessOperation = exports.opsRemoveNotificationRoutingRecipientOperation = exports.opsAddNotificationRoutingRecipientOperation = exports.opsRefreshRuntimeProviderOperation = exports.opsRefreshTelegramIntegrationOperation = exports.opsSendOperatorMessageOperation = exports.opsAddOperatorNoteOperation = exports.opsStartHandoffOperation = exports.opsSetOwnershipModeOperation = exports.opsGetNotificationRoutingOperation = exports.opsGetDiagnosticsOperation = exports.opsGetReleaseVerificationOperation = exports.opsListReleaseVerificationsOperation = exports.opsRecordReleaseVerificationOperation = exports.opsGetRolloutExecutionOperation = exports.opsListRolloutExecutionsOperation = exports.opsRecordRolloutExecutionOperation = exports.opsGetRestoreDrillOperation = exports.opsListRestoreDrillsOperation = exports.opsRunRestoreDrillOperation = exports.opsGetBackupArtifactOperation = exports.opsListBackupArtifactsOperation = exports.opsCreateBackupArtifactOperation = exports.opsApplyLegacyReconcileOperation = exports.opsApplySchemaMigrationsOperation = exports.opsGetLegacyReconcileStatusOperation = exports.opsGetSchemaStatusOperation = exports.opsGetReadinessOperation = exports.opsGetConversationWorkspaceOperation = exports.opsListConversationFeedOperation = exports.runtimeListFallbackEventsOperation = exports.runtimeGetUsageSummaryOperation = exports.runtimeReconcileModelProfilesOperation = exports.runtimeGetEffectiveModelProfileOperation = exports.runtimeListModelProfilesOperation = exports.runtimeDeleteModelProfileOperation = exports.runtimeUpsertModelProfileOperation = exports.runtimeReconcileProvidersOperation = exports.runtimeListProvidersOperation = exports.runtimeUpsertProviderOperation = exports.runtimeGetPackedContextOperation = exports.runtimeListDecisionTracesOperation = exports.conversationsListTimelineOperation = exports.conversationsGetReplyJobOperation = exports.conversationsGetReplayJobOperation = void 0;
|
|
10
|
+
exports.operationErrorEnvelopeSchema = exports.operationSuccessEnvelopeSchema = exports.operationRequestEnvelopeSchema = exports.operationDefinitions = exports.curationGetLatestSlotAdequacySnapshotOperation = exports.curationRecordSlotAdequacySnapshotOperation = exports.curationRecordRotationDecisionOperation = exports.curationListRotationCandidatesOperation = exports.curationRecordFullFitOperation = exports.curationListFitCandidatesOperation = exports.curationListHistoryOperation = exports.curationRecordFastFitOperation = exports.curationRecordRuleEvalCacheEntryOperation = exports.curationGetRuleEvalCacheOperation = void 0;
|
|
10
11
|
exports.getOperationCatalog = getOperationCatalog;
|
|
11
12
|
exports.isOperationId = isOperationId;
|
|
12
13
|
exports.getOperationDefinition = getOperationDefinition;
|
|
@@ -18,6 +19,7 @@ const system_1 = require("./system");
|
|
|
18
19
|
const runtime_1 = require("./runtime");
|
|
19
20
|
const ops_1 = require("./ops");
|
|
20
21
|
const followups_1 = require("./followups");
|
|
22
|
+
const curation_1 = require("./curation");
|
|
21
23
|
exports.operatorRoleSchema = zod_1.z.enum(['workspace_admin', 'operator', 'observer']);
|
|
22
24
|
exports.operatorAccountStatusSchema = zod_1.z.enum(['active', 'disabled']);
|
|
23
25
|
exports.workspaceMembershipStatusSchema = zod_1.z.enum(['active', 'revoked']);
|
|
@@ -29,18 +31,20 @@ exports.authSessionSourceSchema = zod_1.z.enum([
|
|
|
29
31
|
]);
|
|
30
32
|
exports.authDeployActionSchema = zod_1.z.enum([
|
|
31
33
|
'profile_read',
|
|
32
|
-
'
|
|
33
|
-
'
|
|
34
|
+
'profile_publish',
|
|
35
|
+
'release_rollout',
|
|
34
36
|
'integrations_apply',
|
|
35
37
|
'media_apply',
|
|
36
38
|
'team_access_manage'
|
|
37
39
|
]);
|
|
38
40
|
exports.businessProfileStatusSchema = zod_1.z.enum(['active', 'archived']);
|
|
41
|
+
exports.businessProfileSourceProviderSchema = zod_1.z.enum(['github']);
|
|
39
42
|
exports.businessProfileVersionSourceSchema = zod_1.z.enum([
|
|
40
43
|
'backfill',
|
|
41
44
|
'ensure_operator',
|
|
42
45
|
'system',
|
|
43
|
-
'profile_upload'
|
|
46
|
+
'profile_upload',
|
|
47
|
+
'repo_publish'
|
|
44
48
|
]);
|
|
45
49
|
const nullableBusinessProfileTextSchema = zod_1.z.string().min(1).nullable().default(null);
|
|
46
50
|
const businessProfileRelativePathSchema = zod_1.z.string().min(1);
|
|
@@ -70,6 +74,10 @@ exports.businessProfileSchema = zod_1.z.object({
|
|
|
70
74
|
businessProfileName: zod_1.z.string().min(1),
|
|
71
75
|
status: exports.businessProfileStatusSchema,
|
|
72
76
|
activeVersionId: zod_1.z.string().uuid().nullable().default(null),
|
|
77
|
+
defaultReleaseId: zod_1.z.string().uuid().nullable().default(null),
|
|
78
|
+
sourceProvider: exports.businessProfileSourceProviderSchema.nullable().default(null),
|
|
79
|
+
sourceRepoOwner: nullableBusinessProfileTextSchema,
|
|
80
|
+
sourceRepoName: nullableBusinessProfileTextSchema,
|
|
73
81
|
createdAt: zod_1.z.string(),
|
|
74
82
|
updatedAt: zod_1.z.string()
|
|
75
83
|
});
|
|
@@ -81,10 +89,78 @@ exports.businessProfileVersionSchema = zod_1.z.object({
|
|
|
81
89
|
source: exports.businessProfileVersionSourceSchema,
|
|
82
90
|
sourceRepositoryUrl: nullableBusinessProfileTextSchema,
|
|
83
91
|
sourceCommitSha: nullableBusinessProfileTextSchema,
|
|
92
|
+
sourceBranchName: nullableBusinessProfileTextSchema,
|
|
93
|
+
sourceBranchNames: zod_1.z.array(zod_1.z.string().min(1)).default([]),
|
|
84
94
|
summary: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).default({}),
|
|
85
95
|
createdAt: zod_1.z.string(),
|
|
86
96
|
activatedAt: zod_1.z.string().nullable().default(null)
|
|
87
97
|
});
|
|
98
|
+
exports.businessProfilePublishTriggerSourceSchema = zod_1.z.enum([
|
|
99
|
+
'cli',
|
|
100
|
+
'web',
|
|
101
|
+
'github_actions',
|
|
102
|
+
'github_webhook'
|
|
103
|
+
]);
|
|
104
|
+
exports.businessProfilePublishJobStatusSchema = zod_1.z.enum([
|
|
105
|
+
'pending',
|
|
106
|
+
'running',
|
|
107
|
+
'completed',
|
|
108
|
+
'failed',
|
|
109
|
+
'superseded'
|
|
110
|
+
]);
|
|
111
|
+
exports.businessProfileAutoRolloutStatusSchema = zod_1.z.enum([
|
|
112
|
+
'not_requested',
|
|
113
|
+
'skipped',
|
|
114
|
+
'applied',
|
|
115
|
+
'failed'
|
|
116
|
+
]);
|
|
117
|
+
exports.businessProfilePublishJobSchema = zod_1.z.object({
|
|
118
|
+
publishJobId: zod_1.z.string().uuid(),
|
|
119
|
+
businessProfileSlug: zod_1.z.string().min(1),
|
|
120
|
+
repoOwner: zod_1.z.string().min(1),
|
|
121
|
+
repoName: zod_1.z.string().min(1),
|
|
122
|
+
sourceRepositoryUrl: zod_1.z.string().min(1),
|
|
123
|
+
commitSha: zod_1.z.string().regex(/^[0-9a-f]{7,40}$/i),
|
|
124
|
+
branchName: nullableBusinessProfileTextSchema,
|
|
125
|
+
branchNames: zod_1.z.array(zod_1.z.string().min(1)).default([]),
|
|
126
|
+
skipAutoRollout: zod_1.z.boolean().default(false),
|
|
127
|
+
triggerSource: exports.businessProfilePublishTriggerSourceSchema,
|
|
128
|
+
status: exports.businessProfilePublishJobStatusSchema,
|
|
129
|
+
workflowRunId: zod_1.z.string().min(1).nullable().default(null),
|
|
130
|
+
versionId: zod_1.z.string().uuid().nullable().default(null),
|
|
131
|
+
contentVersionId: zod_1.z.string().min(1).nullable().default(null),
|
|
132
|
+
autoRolloutStatus: exports.businessProfileAutoRolloutStatusSchema.default('not_requested'),
|
|
133
|
+
autoRolloutReason: zod_1.z.string().min(1).nullable().default(null),
|
|
134
|
+
autoReleaseId: zod_1.z.string().uuid().nullable().default(null),
|
|
135
|
+
autoReleaseTag: zod_1.z.string().min(1).nullable().default(null),
|
|
136
|
+
autoAssignedIntegrationKeys: zod_1.z.array(zod_1.z.string().min(1)).default([]),
|
|
137
|
+
errorCode: zod_1.z.string().min(1).nullable().default(null),
|
|
138
|
+
errorMessage: zod_1.z.string().min(1).nullable().default(null),
|
|
139
|
+
createdAt: zod_1.z.string(),
|
|
140
|
+
updatedAt: zod_1.z.string()
|
|
141
|
+
});
|
|
142
|
+
exports.businessProfileReleaseSchema = zod_1.z.object({
|
|
143
|
+
releaseId: zod_1.z.string().uuid(),
|
|
144
|
+
businessProfileId: zod_1.z.string().uuid(),
|
|
145
|
+
businessProfileSlug: zod_1.z.string().min(1),
|
|
146
|
+
versionId: zod_1.z.string().uuid(),
|
|
147
|
+
contentVersionId: zod_1.z.string().min(1),
|
|
148
|
+
tag: zod_1.z.string().min(1),
|
|
149
|
+
notes: zod_1.z.string().min(1).nullable().default(null),
|
|
150
|
+
createdAt: zod_1.z.string(),
|
|
151
|
+
createdBy: zod_1.z.string().email().nullable().default(null)
|
|
152
|
+
});
|
|
153
|
+
exports.telegramIntegrationReleaseAssignmentSchema = zod_1.z.object({
|
|
154
|
+
integrationId: zod_1.z.string().uuid(),
|
|
155
|
+
integrationKey: zod_1.z.string().min(1),
|
|
156
|
+
businessProfileSlug: zod_1.z.string().min(1),
|
|
157
|
+
releaseId: zod_1.z.string().uuid(),
|
|
158
|
+
versionId: zod_1.z.string().uuid(),
|
|
159
|
+
contentVersionId: zod_1.z.string().min(1),
|
|
160
|
+
tag: zod_1.z.string().min(1),
|
|
161
|
+
assignedAt: zod_1.z.string(),
|
|
162
|
+
assignedBy: zod_1.z.string().email().nullable().default(null)
|
|
163
|
+
});
|
|
88
164
|
exports.businessProfileProjectManifestSchema = zod_1.z.object({
|
|
89
165
|
schema_version: zod_1.z.number().int().positive(),
|
|
90
166
|
kind: zod_1.z.literal('sa_business_profile'),
|
|
@@ -101,6 +177,7 @@ exports.businessProfileProjectManifestSchema = zod_1.z.object({
|
|
|
101
177
|
.default({}),
|
|
102
178
|
paths: zod_1.z.object({
|
|
103
179
|
business: zod_1.z.string().min(1),
|
|
180
|
+
business_knowledge: zod_1.z.string().min(1),
|
|
104
181
|
catalog_products: zod_1.z.string().min(1),
|
|
105
182
|
catalog_relations: zod_1.z.string().min(1),
|
|
106
183
|
telegram_bots: zod_1.z.string().min(1),
|
|
@@ -663,6 +740,7 @@ exports.businessProfilesGetRequestSchema = zod_1.z
|
|
|
663
740
|
exports.businessProfilesGetResponseSchema = zod_1.z.object({
|
|
664
741
|
profile: exports.businessProfileSchema,
|
|
665
742
|
activeVersion: exports.businessProfileVersionSchema.nullable(),
|
|
743
|
+
defaultRelease: exports.businessProfileReleaseSchema.nullable(),
|
|
666
744
|
membersCount: zod_1.z.number().int().nonnegative()
|
|
667
745
|
});
|
|
668
746
|
exports.businessProfilesListVersionsRequestSchema = zod_1.z
|
|
@@ -676,6 +754,21 @@ exports.businessProfilesListVersionsResponseSchema = zod_1.z.object({
|
|
|
676
754
|
businessProfileSlug: zod_1.z.string().min(1),
|
|
677
755
|
versions: zod_1.z.array(exports.businessProfileVersionSchema)
|
|
678
756
|
});
|
|
757
|
+
exports.businessProfilesVerifyRepoAccessRequestSchema = zod_1.z.object({
|
|
758
|
+
businessProfileSlug: zod_1.z.string().min(1),
|
|
759
|
+
repoOwner: zod_1.z.string().min(1).nullable().optional(),
|
|
760
|
+
repoName: zod_1.z.string().min(1).nullable().optional()
|
|
761
|
+
});
|
|
762
|
+
exports.businessProfilesVerifyRepoAccessResponseSchema = zod_1.z.object({
|
|
763
|
+
profile: exports.businessProfileSchema,
|
|
764
|
+
repoOwner: zod_1.z.string().min(1),
|
|
765
|
+
repoName: zod_1.z.string().min(1),
|
|
766
|
+
sourceRepositoryUrl: zod_1.z.string().min(1),
|
|
767
|
+
installationId: zod_1.z.string().min(1),
|
|
768
|
+
verified: zod_1.z.boolean(),
|
|
769
|
+
appSlug: zod_1.z.string().min(1).nullable(),
|
|
770
|
+
appUrl: zod_1.z.string().min(1).nullable()
|
|
771
|
+
});
|
|
679
772
|
exports.businessProfilesListMembersRequestSchema = zod_1.z.object({
|
|
680
773
|
businessProfileSlug: zod_1.z.string().min(1).nullable().optional()
|
|
681
774
|
});
|
|
@@ -684,6 +777,47 @@ exports.businessProfilesListMembersResponseSchema = zod_1.z.object({
|
|
|
684
777
|
businessProfileName: zod_1.z.string().min(1).nullable(),
|
|
685
778
|
members: zod_1.z.array(exports.businessProfileMemberEntrySchema)
|
|
686
779
|
});
|
|
780
|
+
exports.businessProfilesStartPublishJobRequestSchema = zod_1.z.object({
|
|
781
|
+
businessProfileSlug: zod_1.z.string().min(1),
|
|
782
|
+
commitSha: zod_1.z.string().regex(/^[0-9a-f]{7,40}$/i),
|
|
783
|
+
repoOwner: zod_1.z.string().min(1).nullable().optional(),
|
|
784
|
+
repoName: zod_1.z.string().min(1).nullable().optional(),
|
|
785
|
+
branchName: nullableBusinessProfileTextSchema.optional(),
|
|
786
|
+
skipAutoRollout: zod_1.z.boolean().default(false),
|
|
787
|
+
triggerSource: exports.businessProfilePublishTriggerSourceSchema.default('cli')
|
|
788
|
+
});
|
|
789
|
+
exports.businessProfilesStartPublishJobResponseSchema = zod_1.z.object({
|
|
790
|
+
job: exports.businessProfilePublishJobSchema
|
|
791
|
+
});
|
|
792
|
+
exports.businessProfilesGetPublishJobRequestSchema = zod_1.z.object({
|
|
793
|
+
publishJobId: zod_1.z.string().uuid()
|
|
794
|
+
});
|
|
795
|
+
exports.businessProfilesGetPublishJobResponseSchema = zod_1.z.object({
|
|
796
|
+
job: exports.businessProfilePublishJobSchema.nullable()
|
|
797
|
+
});
|
|
798
|
+
exports.businessProfilesCreateReleaseRequestSchema = zod_1.z.object({
|
|
799
|
+
businessProfileSlug: zod_1.z.string().min(1),
|
|
800
|
+
versionId: zod_1.z.string().uuid(),
|
|
801
|
+
tag: zod_1.z.string().min(1),
|
|
802
|
+
notes: zod_1.z.string().min(1).nullable().optional()
|
|
803
|
+
});
|
|
804
|
+
exports.businessProfilesCreateReleaseResponseSchema = zod_1.z.object({
|
|
805
|
+
release: exports.businessProfileReleaseSchema
|
|
806
|
+
});
|
|
807
|
+
exports.businessProfilesPromoteReleaseRequestSchema = zod_1.z.object({
|
|
808
|
+
businessProfileSlug: zod_1.z.string().min(1),
|
|
809
|
+
releaseId: zod_1.z.string().uuid()
|
|
810
|
+
});
|
|
811
|
+
exports.businessProfilesPromoteReleaseResponseSchema = zod_1.z.object({
|
|
812
|
+
profile: exports.businessProfileSchema,
|
|
813
|
+
defaultRelease: exports.businessProfileReleaseSchema
|
|
814
|
+
});
|
|
815
|
+
exports.businessProfilesListReleasesRequestSchema = zod_1.z.object({
|
|
816
|
+
businessProfileSlug: zod_1.z.string().min(1)
|
|
817
|
+
});
|
|
818
|
+
exports.businessProfilesListReleasesResponseSchema = zod_1.z.object({
|
|
819
|
+
releases: zod_1.z.array(exports.businessProfileReleaseSchema)
|
|
820
|
+
});
|
|
687
821
|
exports.telegramIntegrationModeSchema = zod_1.z.enum(['standard', 'business', 'hybrid']);
|
|
688
822
|
exports.telegramBusinessBindingStatusSchema = zod_1.z.enum(['pending', 'active', 'blocked', 'stale']);
|
|
689
823
|
exports.telegramCommandActorClassSchema = zod_1.z.enum([
|
|
@@ -693,6 +827,32 @@ exports.telegramCommandActorClassSchema = zod_1.z.enum([
|
|
|
693
827
|
]);
|
|
694
828
|
exports.telegramEmployeeBindingStatusSchema = zod_1.z.enum(['verified', 'revoked']);
|
|
695
829
|
exports.telegramCommandProjectionSyncStatusSchema = zod_1.z.enum(['unknown', 'pass', 'warn', 'fail']);
|
|
830
|
+
exports.telegramCommandProjectionScopeSchema = zod_1.z.enum([
|
|
831
|
+
'baseline',
|
|
832
|
+
'chat_override',
|
|
833
|
+
'commands_disabled'
|
|
834
|
+
]);
|
|
835
|
+
exports.telegramCommandProjectionSyncModeSchema = zod_1.z.enum(['live', 'synthetic', 'noop']);
|
|
836
|
+
exports.telegramCommandCapabilitySummarySchema = zod_1.z.object({
|
|
837
|
+
canReadDiagnostics: zod_1.z.boolean().default(false),
|
|
838
|
+
canStartNewSession: zod_1.z.boolean().default(false),
|
|
839
|
+
canReadReleaseState: zod_1.z.boolean().default(false),
|
|
840
|
+
canAssignRelease: zod_1.z.boolean().default(false),
|
|
841
|
+
canReadModelProfiles: zod_1.z.boolean().default(false),
|
|
842
|
+
canAssignModelProfiles: zod_1.z.boolean().default(false),
|
|
843
|
+
canSeeDeepDebug: zod_1.z.boolean().default(false)
|
|
844
|
+
});
|
|
845
|
+
function defaultTelegramCommandCapabilitySummary() {
|
|
846
|
+
return {
|
|
847
|
+
canReadDiagnostics: false,
|
|
848
|
+
canStartNewSession: false,
|
|
849
|
+
canReadReleaseState: false,
|
|
850
|
+
canAssignRelease: false,
|
|
851
|
+
canReadModelProfiles: false,
|
|
852
|
+
canAssignModelProfiles: false,
|
|
853
|
+
canSeeDeepDebug: false
|
|
854
|
+
};
|
|
855
|
+
}
|
|
696
856
|
exports.telegramBotIntegrationSchema = zod_1.z.object({
|
|
697
857
|
integrationId: zod_1.z.string().uuid(),
|
|
698
858
|
integrationKey: zod_1.z.string().min(1),
|
|
@@ -713,6 +873,8 @@ exports.telegramBotIntegrationSchema = zod_1.z.object({
|
|
|
713
873
|
webhookSecretKeyId: zod_1.z.string().min(1).nullable().default(null),
|
|
714
874
|
botTokenAlgorithm: zod_1.z.string().min(1).nullable().default(null),
|
|
715
875
|
webhookSecretAlgorithm: zod_1.z.string().min(1).nullable().default(null),
|
|
876
|
+
autoRolloutEnabled: zod_1.z.boolean().default(false),
|
|
877
|
+
autoRolloutBranchName: zod_1.z.string().min(1).nullable().default(null),
|
|
716
878
|
createdAt: zod_1.z.string(),
|
|
717
879
|
updatedAt: zod_1.z.string()
|
|
718
880
|
});
|
|
@@ -741,6 +903,32 @@ exports.integrationsListTelegramBotsRequestSchema = zod_1.z.object({
|
|
|
741
903
|
exports.integrationsListTelegramBotsResponseSchema = zod_1.z.object({
|
|
742
904
|
items: zod_1.z.array(exports.telegramBotIntegrationSchema)
|
|
743
905
|
});
|
|
906
|
+
exports.integrationsAssignReleaseRequestSchema = zod_1.z.object({
|
|
907
|
+
businessProfileSlug: zod_1.z.string().min(1),
|
|
908
|
+
integrationKey: zod_1.z.string().min(1),
|
|
909
|
+
releaseId: zod_1.z.string().uuid()
|
|
910
|
+
});
|
|
911
|
+
exports.integrationsAssignReleaseResponseSchema = zod_1.z.object({
|
|
912
|
+
integration: exports.telegramBotIntegrationSchema,
|
|
913
|
+
assignment: exports.telegramIntegrationReleaseAssignmentSchema
|
|
914
|
+
});
|
|
915
|
+
exports.integrationsGetTelegramBotReleaseAssignmentRequestSchema = zod_1.z.object({
|
|
916
|
+
businessProfileSlug: zod_1.z.string().min(1),
|
|
917
|
+
integrationKey: zod_1.z.string().min(1)
|
|
918
|
+
});
|
|
919
|
+
exports.integrationsGetTelegramBotReleaseAssignmentResponseSchema = zod_1.z.object({
|
|
920
|
+
integration: exports.telegramBotIntegrationSchema,
|
|
921
|
+
assignment: exports.telegramIntegrationReleaseAssignmentSchema.nullable().default(null)
|
|
922
|
+
});
|
|
923
|
+
exports.integrationsSetTelegramBotAutoRolloutPolicyRequestSchema = zod_1.z.object({
|
|
924
|
+
businessProfileSlug: zod_1.z.string().min(1),
|
|
925
|
+
integrationKey: zod_1.z.string().min(1),
|
|
926
|
+
enabled: zod_1.z.boolean(),
|
|
927
|
+
branchName: zod_1.z.string().min(1).nullable().optional()
|
|
928
|
+
});
|
|
929
|
+
exports.integrationsSetTelegramBotAutoRolloutPolicyResponseSchema = zod_1.z.object({
|
|
930
|
+
integration: exports.telegramBotIntegrationSchema
|
|
931
|
+
});
|
|
744
932
|
exports.telegramObservedUserSchema = zod_1.z.object({
|
|
745
933
|
observedUserId: zod_1.z.string().uuid(),
|
|
746
934
|
integrationId: zod_1.z.string().uuid(),
|
|
@@ -752,9 +940,26 @@ exports.telegramObservedUserSchema = zod_1.z.object({
|
|
|
752
940
|
usernameSnapshot: zod_1.z.string().min(1).nullable().default(null),
|
|
753
941
|
displayNameSnapshot: zod_1.z.string().min(1).nullable().default(null),
|
|
754
942
|
lastActorClass: exports.telegramCommandActorClassSchema.nullable().default(null),
|
|
943
|
+
expectedActorClass: exports.telegramCommandActorClassSchema.nullable().default(null),
|
|
944
|
+
expectedWorkspaceRole: exports.operatorRoleSchema.nullable().default(null),
|
|
945
|
+
expectedIsSystemAdmin: zod_1.z.boolean().nullable().default(null),
|
|
946
|
+
expectedCapabilitySummary: exports.telegramCommandCapabilitySummarySchema.default(defaultTelegramCommandCapabilitySummary()),
|
|
947
|
+
expectedScopeKind: exports.telegramCommandProjectionScopeSchema.nullable().default(null),
|
|
948
|
+
expectedCommands: zod_1.z.array(zod_1.z.string().min(1)).default([]),
|
|
949
|
+
expectedCommandHash: zod_1.z.string().min(1).nullable().default(null),
|
|
950
|
+
projectionSchemaVersion: zod_1.z.string().min(1).nullable().default(null),
|
|
951
|
+
projectionPolicyVersion: zod_1.z.string().min(1).nullable().default(null),
|
|
952
|
+
appliedScopeKind: exports.telegramCommandProjectionScopeSchema.nullable().default(null),
|
|
953
|
+
appliedCommandHash: zod_1.z.string().min(1).nullable().default(null),
|
|
954
|
+
appliedCommandCount: zod_1.z.number().int().nonnegative().nullable().default(null),
|
|
955
|
+
lastAppliedAt: zod_1.z.string().nullable().default(null),
|
|
956
|
+
lastAppliedMode: exports.telegramCommandProjectionSyncModeSchema.nullable().default(null),
|
|
755
957
|
lastCommandSyncAt: zod_1.z.string().nullable().default(null),
|
|
756
958
|
lastCommandSyncStatus: exports.telegramCommandProjectionSyncStatusSchema.default('unknown'),
|
|
959
|
+
lastCommandSyncReason: zod_1.z.string().min(1).nullable().default(null),
|
|
757
960
|
lastCommandSyncError: zod_1.z.string().min(1).nullable().default(null),
|
|
961
|
+
projectionDirtyAt: zod_1.z.string().nullable().default(null),
|
|
962
|
+
projectionDirtyReason: zod_1.z.string().min(1).nullable().default(null),
|
|
758
963
|
firstSeenAt: zod_1.z.string(),
|
|
759
964
|
lastSeenAt: zod_1.z.string()
|
|
760
965
|
});
|
|
@@ -806,54 +1011,6 @@ exports.integrationsRevokeTelegramEmployeeBindingResponseSchema = zod_1.z.object
|
|
|
806
1011
|
binding: exports.telegramEmployeeBindingSchema.nullable(),
|
|
807
1012
|
revoked: zod_1.z.boolean()
|
|
808
1013
|
});
|
|
809
|
-
exports.businessProfilesUploadBundleRequestSchema = zod_1.z.object({
|
|
810
|
-
bundle: exports.businessProfileProjectBundleSchema,
|
|
811
|
-
activateOnUpload: zod_1.z.boolean().default(true),
|
|
812
|
-
targetEnvironment: zod_1.z.string().min(1),
|
|
813
|
-
sourceRepositoryUrl: zod_1.z.string().min(1),
|
|
814
|
-
sourceCommitSha: zod_1.z.string().regex(/^[0-9a-f]{7,40}$/i),
|
|
815
|
-
resolvedSecrets: zod_1.z
|
|
816
|
-
.array(zod_1.z.object({
|
|
817
|
-
integrationKey: zod_1.z.string().min(1),
|
|
818
|
-
botToken: zod_1.z.string().min(1).nullable().optional(),
|
|
819
|
-
webhookSecret: zod_1.z.string().min(1).nullable().optional()
|
|
820
|
-
}))
|
|
821
|
-
.default([])
|
|
822
|
-
});
|
|
823
|
-
exports.businessProfilesUploadBundleResponseSchema = zod_1.z.object({
|
|
824
|
-
profile: exports.businessProfileSchema,
|
|
825
|
-
version: exports.businessProfileVersionSchema,
|
|
826
|
-
activeVersion: exports.businessProfileVersionSchema,
|
|
827
|
-
integrations: zod_1.z.array(exports.telegramBotIntegrationSchema),
|
|
828
|
-
mediaRegistry: exports.businessProfileMediaRegistrySchema,
|
|
829
|
-
targetEnvironment: zod_1.z.string().min(1),
|
|
830
|
-
serverEnvironment: zod_1.z.string().min(1),
|
|
831
|
-
appliedDeclarations: zod_1.z.array(exports.businessProfileProjectApplyDeclarationSchema),
|
|
832
|
-
skippedDeclarations: zod_1.z.array(exports.businessProfileProjectApplyDeclarationSchema)
|
|
833
|
-
});
|
|
834
|
-
exports.businessProfilesActivateVersionRequestSchema = zod_1.z
|
|
835
|
-
.object({
|
|
836
|
-
businessProfileId: zod_1.z.string().uuid().nullable().optional(),
|
|
837
|
-
businessProfileSlug: zod_1.z.string().min(1).nullable().optional(),
|
|
838
|
-
versionId: zod_1.z.string().uuid()
|
|
839
|
-
})
|
|
840
|
-
.refine((value) => Boolean(value.businessProfileId || value.businessProfileSlug), 'Either businessProfileId or businessProfileSlug is required.');
|
|
841
|
-
exports.businessProfilesActivateVersionResponseSchema = zod_1.z.object({
|
|
842
|
-
profile: exports.businessProfileSchema,
|
|
843
|
-
activeVersion: exports.businessProfileVersionSchema
|
|
844
|
-
});
|
|
845
|
-
exports.businessProfilesDownloadBundleRequestSchema = zod_1.z.object({
|
|
846
|
-
businessProfileSlug: zod_1.z.string().min(1),
|
|
847
|
-
versionId: zod_1.z.string().uuid().nullable().optional()
|
|
848
|
-
});
|
|
849
|
-
exports.businessProfilesDownloadBundleResponseSchema = zod_1.z.object({
|
|
850
|
-
profile: exports.businessProfileSchema,
|
|
851
|
-
version: exports.businessProfileVersionSchema,
|
|
852
|
-
bundle: exports.businessProfileProjectBundleSchema,
|
|
853
|
-
integrations: zod_1.z.array(exports.telegramBotIntegrationSchema),
|
|
854
|
-
mediaRegistry: exports.businessProfileMediaRegistrySchema,
|
|
855
|
-
serverEnvironment: zod_1.z.string().min(1)
|
|
856
|
-
});
|
|
857
1014
|
exports.telegramBusinessAccountSchema = zod_1.z.object({
|
|
858
1015
|
businessConnectionId: zod_1.z.string().min(1),
|
|
859
1016
|
integrationId: zod_1.z.string().uuid(),
|
|
@@ -966,8 +1123,9 @@ exports.integrationsGetTelegramEmployeeBindingStatusResponseSchema = zod_1.z.obj
|
|
|
966
1123
|
projections: zod_1.z.array(exports.telegramObservedUserSchema)
|
|
967
1124
|
});
|
|
968
1125
|
exports.runtimeProviderScopeSchema = zod_1.z.enum(['global', 'business']);
|
|
969
|
-
exports.
|
|
970
|
-
exports.
|
|
1126
|
+
exports.runtimeModelProfileScopeSchema = zod_1.z.enum(['system', 'business', 'bot']);
|
|
1127
|
+
exports.runtimeProviderKindSchema = zod_1.z.enum(['anthropic', 'openai']);
|
|
1128
|
+
exports.runtimeStageKeySchema = zod_1.z.enum(['reply', 'analysis', 'review', 'verifier', 'summary']);
|
|
971
1129
|
exports.runtimeCredentialSourceSchema = zod_1.z.enum(['business', 'global', 'missing']);
|
|
972
1130
|
exports.runtimeFailureCategorySchema = zod_1.z.enum([
|
|
973
1131
|
'timeout',
|
|
@@ -1044,65 +1202,131 @@ exports.runtimeRoutingTargetSchema = zod_1.z.object({
|
|
|
1044
1202
|
providerKey: zod_1.z.string().min(1),
|
|
1045
1203
|
modelId: zod_1.z.string().min(1)
|
|
1046
1204
|
});
|
|
1047
|
-
exports.
|
|
1048
|
-
|
|
1049
|
-
|
|
1205
|
+
exports.runtimeFailureBackoffModeSchema = zod_1.z.enum(['fixed', 'exponential']);
|
|
1206
|
+
exports.runtimeFailureBackoffSchema = zod_1.z.object({
|
|
1207
|
+
mode: exports.runtimeFailureBackoffModeSchema.default('exponential'),
|
|
1208
|
+
baseMs: zod_1.z.number().int().nonnegative().default(500),
|
|
1209
|
+
maxMs: zod_1.z.number().int().positive().default(3_000),
|
|
1210
|
+
jitter: zod_1.z.boolean().default(true)
|
|
1211
|
+
});
|
|
1212
|
+
exports.runtimeFailurePolicyRuleSchema = zod_1.z.object({
|
|
1213
|
+
match: zod_1.z.array(exports.runtimeFailureCategorySchema).min(1),
|
|
1214
|
+
retryEnabled: zod_1.z.boolean().optional(),
|
|
1215
|
+
sameTargetRetries: zod_1.z.number().int().nonnegative().optional(),
|
|
1216
|
+
failoverToNext: zod_1.z.boolean().optional(),
|
|
1217
|
+
backoff: exports.runtimeFailureBackoffSchema.optional()
|
|
1218
|
+
});
|
|
1219
|
+
exports.runtimeFailurePolicySchema = zod_1.z.object({
|
|
1220
|
+
retryEnabled: zod_1.z.boolean().default(true),
|
|
1221
|
+
sameTargetRetries: zod_1.z.number().int().nonnegative().default(1),
|
|
1222
|
+
failoverToNext: zod_1.z.boolean().default(true),
|
|
1223
|
+
backoff: exports.runtimeFailureBackoffSchema.default({
|
|
1224
|
+
mode: 'exponential',
|
|
1225
|
+
baseMs: 500,
|
|
1226
|
+
maxMs: 3_000,
|
|
1227
|
+
jitter: true
|
|
1228
|
+
}),
|
|
1229
|
+
rules: zod_1.z.array(exports.runtimeFailurePolicyRuleSchema).default([])
|
|
1230
|
+
});
|
|
1231
|
+
exports.runtimeModelRoleConfigSchema = zod_1.z.object({
|
|
1232
|
+
targets: zod_1.z.array(exports.runtimeRoutingTargetSchema).min(1)
|
|
1233
|
+
});
|
|
1234
|
+
exports.runtimeVerifierConfigSchema = zod_1.z.object({
|
|
1235
|
+
maxRepairAttempts: zod_1.z.number().int().nonnegative().default(2)
|
|
1236
|
+
});
|
|
1237
|
+
exports.runtimeModelProfileRolesSchema = zod_1.z.object({
|
|
1238
|
+
reply: exports.runtimeModelRoleConfigSchema.optional(),
|
|
1239
|
+
analysis: exports.runtimeModelRoleConfigSchema.optional(),
|
|
1240
|
+
review: exports.runtimeModelRoleConfigSchema.optional(),
|
|
1241
|
+
verifier: exports.runtimeModelRoleConfigSchema.optional(),
|
|
1242
|
+
summary: exports.runtimeModelRoleConfigSchema.optional()
|
|
1243
|
+
});
|
|
1244
|
+
exports.runtimeEffectiveModelRoleConfigSchema = exports.runtimeModelRoleConfigSchema.extend({
|
|
1245
|
+
effectiveSourceScope: exports.runtimeModelProfileScopeSchema
|
|
1246
|
+
});
|
|
1247
|
+
exports.runtimeEffectiveModelProfileRolesSchema = zod_1.z.object({
|
|
1248
|
+
reply: exports.runtimeEffectiveModelRoleConfigSchema,
|
|
1249
|
+
analysis: exports.runtimeEffectiveModelRoleConfigSchema,
|
|
1250
|
+
review: exports.runtimeEffectiveModelRoleConfigSchema,
|
|
1251
|
+
verifier: exports.runtimeEffectiveModelRoleConfigSchema,
|
|
1252
|
+
summary: exports.runtimeEffectiveModelRoleConfigSchema
|
|
1253
|
+
});
|
|
1254
|
+
exports.runtimeModelProfileSchema = zod_1.z.object({
|
|
1255
|
+
modelProfileId: zod_1.z.string().uuid(),
|
|
1256
|
+
scope: exports.runtimeModelProfileScopeSchema,
|
|
1050
1257
|
businessProfileId: zod_1.z.string().uuid().nullable().default(null),
|
|
1051
1258
|
businessProfileSlug: zod_1.z.string().min(1).nullable().default(null),
|
|
1052
|
-
|
|
1259
|
+
integrationKey: zod_1.z.string().min(1).nullable().default(null),
|
|
1053
1260
|
enabled: zod_1.z.boolean(),
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1261
|
+
roles: exports.runtimeModelProfileRolesSchema.default({}),
|
|
1262
|
+
verifierConfig: exports.runtimeVerifierConfigSchema.default({
|
|
1263
|
+
maxRepairAttempts: 2
|
|
1264
|
+
}),
|
|
1265
|
+
failurePolicy: exports.runtimeFailurePolicySchema.nullable().default(null),
|
|
1057
1266
|
createdAt: zod_1.z.string(),
|
|
1058
1267
|
updatedAt: zod_1.z.string()
|
|
1059
1268
|
});
|
|
1060
|
-
exports.
|
|
1269
|
+
exports.runtimeUpsertModelProfileRequestSchema = zod_1.z
|
|
1061
1270
|
.object({
|
|
1062
|
-
scope: exports.
|
|
1271
|
+
scope: exports.runtimeModelProfileScopeSchema,
|
|
1063
1272
|
businessProfileSlug: zod_1.z.string().min(1).nullable().optional(),
|
|
1064
|
-
|
|
1273
|
+
integrationKey: zod_1.z.string().min(1).nullable().optional(),
|
|
1065
1274
|
enabled: zod_1.z.boolean().default(true),
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1275
|
+
roles: exports.runtimeModelProfileRolesSchema.default({}),
|
|
1276
|
+
verifierConfig: exports.runtimeVerifierConfigSchema.default({
|
|
1277
|
+
maxRepairAttempts: 2
|
|
1278
|
+
}),
|
|
1279
|
+
failurePolicy: exports.runtimeFailurePolicySchema.nullable().optional()
|
|
1069
1280
|
})
|
|
1070
|
-
.refine((value) => (value.scope === 'business' ? Boolean(value.businessProfileSlug) : true), 'businessProfileSlug is required when scope=business.')
|
|
1071
|
-
|
|
1072
|
-
|
|
1281
|
+
.refine((value) => (value.scope === 'business' ? Boolean(value.businessProfileSlug) : true), 'businessProfileSlug is required when scope=business.')
|
|
1282
|
+
.refine((value) => (value.scope === 'bot' ? Boolean(value.integrationKey) : true), 'integrationKey is required when scope=bot.');
|
|
1283
|
+
exports.runtimeUpsertModelProfileResponseSchema = zod_1.z.object({
|
|
1284
|
+
profile: exports.runtimeModelProfileSchema,
|
|
1073
1285
|
created: zod_1.z.boolean()
|
|
1074
1286
|
});
|
|
1075
|
-
exports.
|
|
1076
|
-
|
|
1287
|
+
exports.runtimeDeleteModelProfileRequestSchema = zod_1.z
|
|
1288
|
+
.object({
|
|
1289
|
+
scope: exports.runtimeModelProfileScopeSchema,
|
|
1290
|
+
businessProfileSlug: zod_1.z.string().min(1).nullable().optional(),
|
|
1291
|
+
integrationKey: zod_1.z.string().min(1).nullable().optional()
|
|
1292
|
+
})
|
|
1293
|
+
.refine((value) => (value.scope === 'business' ? Boolean(value.businessProfileSlug) : true), 'businessProfileSlug is required when scope=business.')
|
|
1294
|
+
.refine((value) => (value.scope === 'bot' ? Boolean(value.integrationKey) : true), 'integrationKey is required when scope=bot.');
|
|
1295
|
+
exports.runtimeDeleteModelProfileResponseSchema = zod_1.z.object({
|
|
1296
|
+
removed: zod_1.z.boolean()
|
|
1297
|
+
});
|
|
1298
|
+
exports.runtimeListModelProfilesRequestSchema = zod_1.z.object({
|
|
1299
|
+
scope: exports.runtimeModelProfileScopeSchema.nullable().optional(),
|
|
1077
1300
|
businessProfileSlug: zod_1.z.string().min(1).nullable().optional(),
|
|
1078
|
-
|
|
1301
|
+
integrationKey: zod_1.z.string().min(1).nullable().optional()
|
|
1079
1302
|
});
|
|
1080
|
-
exports.
|
|
1081
|
-
items: zod_1.z.array(exports.
|
|
1303
|
+
exports.runtimeListModelProfilesResponseSchema = zod_1.z.object({
|
|
1304
|
+
items: zod_1.z.array(exports.runtimeModelProfileSchema)
|
|
1082
1305
|
});
|
|
1083
|
-
exports.
|
|
1084
|
-
scope: exports.runtimeProviderScopeSchema,
|
|
1306
|
+
exports.runtimeEffectiveModelProfileSchema = zod_1.z.object({
|
|
1085
1307
|
businessProfileSlug: zod_1.z.string().min(1).nullable().default(null),
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1308
|
+
integrationKey: zod_1.z.string().min(1).nullable().default(null),
|
|
1309
|
+
enabled: zod_1.z.boolean(),
|
|
1310
|
+
roles: exports.runtimeEffectiveModelProfileRolesSchema,
|
|
1311
|
+
verifierConfig: exports.runtimeVerifierConfigSchema,
|
|
1312
|
+
verifierConfigSourceScope: exports.runtimeModelProfileScopeSchema,
|
|
1313
|
+
failurePolicy: exports.runtimeFailurePolicySchema,
|
|
1314
|
+
failurePolicySourceScope: exports.runtimeModelProfileScopeSchema,
|
|
1091
1315
|
resolvedAt: zod_1.z.string()
|
|
1092
1316
|
});
|
|
1093
|
-
exports.
|
|
1317
|
+
exports.runtimeGetEffectiveModelProfileRequestSchema = zod_1.z.object({
|
|
1094
1318
|
businessProfileSlug: zod_1.z.string().min(1).nullable().optional(),
|
|
1095
|
-
|
|
1319
|
+
integrationKey: zod_1.z.string().min(1).nullable().optional()
|
|
1096
1320
|
});
|
|
1097
|
-
exports.
|
|
1098
|
-
profile: exports.
|
|
1321
|
+
exports.runtimeGetEffectiveModelProfileResponseSchema = zod_1.z.object({
|
|
1322
|
+
profile: exports.runtimeEffectiveModelProfileSchema
|
|
1099
1323
|
});
|
|
1100
|
-
exports.
|
|
1324
|
+
exports.runtimeReconcileModelProfilesRequestSchema = zod_1.z.object({
|
|
1101
1325
|
businessProfileSlug: zod_1.z.string().min(1).nullable().optional(),
|
|
1102
|
-
|
|
1326
|
+
integrationKey: zod_1.z.string().min(1).nullable().optional()
|
|
1103
1327
|
});
|
|
1104
|
-
exports.
|
|
1105
|
-
profiles: zod_1.z.array(exports.
|
|
1328
|
+
exports.runtimeReconcileModelProfilesResponseSchema = zod_1.z.object({
|
|
1329
|
+
profiles: zod_1.z.array(exports.runtimeEffectiveModelProfileSchema).default([]),
|
|
1106
1330
|
results: zod_1.z.array(ops_1.operationsRepairResultSchema).default([]),
|
|
1107
1331
|
readiness: ops_1.opsGetReadinessResponseSchema
|
|
1108
1332
|
});
|
|
@@ -1122,7 +1346,7 @@ exports.runtimeUsageEventSchema = zod_1.z.object({
|
|
|
1122
1346
|
providerKey: zod_1.z.string().min(1),
|
|
1123
1347
|
providerKind: exports.runtimeProviderKindSchema,
|
|
1124
1348
|
modelId: zod_1.z.string().min(1),
|
|
1125
|
-
|
|
1349
|
+
modelProfileScope: exports.runtimeModelProfileScopeSchema,
|
|
1126
1350
|
credentialSource: exports.runtimeCredentialSourceSchema,
|
|
1127
1351
|
status: exports.runtimeUsageEventStatusSchema,
|
|
1128
1352
|
failureCategory: exports.runtimeFailureCategorySchema.nullable().default(null),
|
|
@@ -1141,9 +1365,11 @@ exports.runtimeFallbackEventSchema = zod_1.z.object({
|
|
|
1141
1365
|
sourceMessageId: zod_1.z.string().uuid().nullable().default(null),
|
|
1142
1366
|
stage: exports.runtimeStageKeySchema,
|
|
1143
1367
|
failedProviderKey: zod_1.z.string().min(1),
|
|
1368
|
+
failedProviderKind: exports.runtimeProviderKindSchema,
|
|
1144
1369
|
failedModelId: zod_1.z.string().min(1),
|
|
1145
1370
|
failureCategory: exports.runtimeFailureCategorySchema,
|
|
1146
1371
|
fallbackProviderKey: zod_1.z.string().min(1),
|
|
1372
|
+
fallbackProviderKind: exports.runtimeProviderKindSchema,
|
|
1147
1373
|
fallbackModelId: zod_1.z.string().min(1),
|
|
1148
1374
|
createdAt: zod_1.z.string()
|
|
1149
1375
|
});
|
|
@@ -1438,6 +1664,13 @@ exports.businessProfilesListVersionsOperation = defineOperation({
|
|
|
1438
1664
|
requestSchema: exports.businessProfilesListVersionsRequestSchema,
|
|
1439
1665
|
responseSchema: exports.businessProfilesListVersionsResponseSchema
|
|
1440
1666
|
});
|
|
1667
|
+
exports.businessProfilesVerifyRepoAccessOperation = defineOperation({
|
|
1668
|
+
operationId: 'businessProfiles.verifyRepoAccess',
|
|
1669
|
+
kind: 'command',
|
|
1670
|
+
description: 'Verify GitHub App access for one governed business-profile source repo and persist the binding.',
|
|
1671
|
+
requestSchema: exports.businessProfilesVerifyRepoAccessRequestSchema,
|
|
1672
|
+
responseSchema: exports.businessProfilesVerifyRepoAccessResponseSchema
|
|
1673
|
+
});
|
|
1441
1674
|
exports.businessProfilesListMembersOperation = defineOperation({
|
|
1442
1675
|
operationId: 'businessProfiles.listMembers',
|
|
1443
1676
|
kind: 'query',
|
|
@@ -1445,26 +1678,40 @@ exports.businessProfilesListMembersOperation = defineOperation({
|
|
|
1445
1678
|
requestSchema: exports.businessProfilesListMembersRequestSchema,
|
|
1446
1679
|
responseSchema: exports.businessProfilesListMembersResponseSchema
|
|
1447
1680
|
});
|
|
1448
|
-
exports.
|
|
1449
|
-
operationId: 'businessProfiles.
|
|
1681
|
+
exports.businessProfilesStartPublishJobOperation = defineOperation({
|
|
1682
|
+
operationId: 'businessProfiles.startPublishJob',
|
|
1450
1683
|
kind: 'command',
|
|
1451
|
-
description: '
|
|
1452
|
-
requestSchema: exports.
|
|
1453
|
-
responseSchema: exports.
|
|
1684
|
+
description: 'Start one async repo-backed publish job for a governed business profile.',
|
|
1685
|
+
requestSchema: exports.businessProfilesStartPublishJobRequestSchema,
|
|
1686
|
+
responseSchema: exports.businessProfilesStartPublishJobResponseSchema
|
|
1687
|
+
});
|
|
1688
|
+
exports.businessProfilesGetPublishJobOperation = defineOperation({
|
|
1689
|
+
operationId: 'businessProfiles.getPublishJob',
|
|
1690
|
+
kind: 'query',
|
|
1691
|
+
description: 'Fetch one async repo-backed publish job record.',
|
|
1692
|
+
requestSchema: exports.businessProfilesGetPublishJobRequestSchema,
|
|
1693
|
+
responseSchema: exports.businessProfilesGetPublishJobResponseSchema
|
|
1454
1694
|
});
|
|
1455
|
-
exports.
|
|
1456
|
-
operationId: 'businessProfiles.
|
|
1695
|
+
exports.businessProfilesCreateReleaseOperation = defineOperation({
|
|
1696
|
+
operationId: 'businessProfiles.createRelease',
|
|
1457
1697
|
kind: 'command',
|
|
1458
|
-
description: '
|
|
1459
|
-
requestSchema: exports.
|
|
1460
|
-
responseSchema: exports.
|
|
1698
|
+
description: 'Create one human-tagged release from a prepared business-profile version.',
|
|
1699
|
+
requestSchema: exports.businessProfilesCreateReleaseRequestSchema,
|
|
1700
|
+
responseSchema: exports.businessProfilesCreateReleaseResponseSchema
|
|
1461
1701
|
});
|
|
1462
|
-
exports.
|
|
1463
|
-
operationId: 'businessProfiles.
|
|
1702
|
+
exports.businessProfilesListReleasesOperation = defineOperation({
|
|
1703
|
+
operationId: 'businessProfiles.listReleases',
|
|
1464
1704
|
kind: 'query',
|
|
1465
|
-
description: '
|
|
1466
|
-
requestSchema: exports.
|
|
1467
|
-
responseSchema: exports.
|
|
1705
|
+
description: 'List created human-tagged releases for one governed business profile.',
|
|
1706
|
+
requestSchema: exports.businessProfilesListReleasesRequestSchema,
|
|
1707
|
+
responseSchema: exports.businessProfilesListReleasesResponseSchema
|
|
1708
|
+
});
|
|
1709
|
+
exports.businessProfilesPromoteReleaseOperation = defineOperation({
|
|
1710
|
+
operationId: 'businessProfiles.promoteRelease',
|
|
1711
|
+
kind: 'command',
|
|
1712
|
+
description: 'Set one release as the profile-level default fallback release.',
|
|
1713
|
+
requestSchema: exports.businessProfilesPromoteReleaseRequestSchema,
|
|
1714
|
+
responseSchema: exports.businessProfilesPromoteReleaseResponseSchema
|
|
1468
1715
|
});
|
|
1469
1716
|
exports.integrationsUpsertTelegramBotOperation = defineOperation({
|
|
1470
1717
|
operationId: 'integrations.upsertTelegramBot',
|
|
@@ -1473,6 +1720,27 @@ exports.integrationsUpsertTelegramBotOperation = defineOperation({
|
|
|
1473
1720
|
requestSchema: exports.integrationsUpsertTelegramBotRequestSchema,
|
|
1474
1721
|
responseSchema: exports.integrationsUpsertTelegramBotResponseSchema
|
|
1475
1722
|
});
|
|
1723
|
+
exports.integrationsAssignReleaseOperation = defineOperation({
|
|
1724
|
+
operationId: 'integrations.assignRelease',
|
|
1725
|
+
kind: 'command',
|
|
1726
|
+
description: 'Assign one prepared business-profile release to a Telegram integration.',
|
|
1727
|
+
requestSchema: exports.integrationsAssignReleaseRequestSchema,
|
|
1728
|
+
responseSchema: exports.integrationsAssignReleaseResponseSchema
|
|
1729
|
+
});
|
|
1730
|
+
exports.integrationsGetTelegramBotReleaseAssignmentOperation = defineOperation({
|
|
1731
|
+
operationId: 'integrations.getTelegramBotReleaseAssignment',
|
|
1732
|
+
kind: 'query',
|
|
1733
|
+
description: 'Fetch the currently assigned business-profile release for one Telegram integration.',
|
|
1734
|
+
requestSchema: exports.integrationsGetTelegramBotReleaseAssignmentRequestSchema,
|
|
1735
|
+
responseSchema: exports.integrationsGetTelegramBotReleaseAssignmentResponseSchema
|
|
1736
|
+
});
|
|
1737
|
+
exports.integrationsSetTelegramBotAutoRolloutPolicyOperation = defineOperation({
|
|
1738
|
+
operationId: 'integrations.setTelegramBotAutoRolloutPolicy',
|
|
1739
|
+
kind: 'command',
|
|
1740
|
+
description: 'Enable, disable or retarget server-side auto-rollout policy for one Telegram integration.',
|
|
1741
|
+
requestSchema: exports.integrationsSetTelegramBotAutoRolloutPolicyRequestSchema,
|
|
1742
|
+
responseSchema: exports.integrationsSetTelegramBotAutoRolloutPolicyResponseSchema
|
|
1743
|
+
});
|
|
1476
1744
|
exports.integrationsListTelegramBotsOperation = defineOperation({
|
|
1477
1745
|
operationId: 'integrations.listTelegramBots',
|
|
1478
1746
|
kind: 'query',
|
|
@@ -1690,6 +1958,13 @@ exports.conversationsGetReplayJobOperation = defineOperation({
|
|
|
1690
1958
|
requestSchema: conversations_1.conversationsGetReplayJobRequestSchema,
|
|
1691
1959
|
responseSchema: conversations_1.conversationsGetReplayJobResponseSchema
|
|
1692
1960
|
});
|
|
1961
|
+
exports.conversationsGetReplyJobOperation = defineOperation({
|
|
1962
|
+
operationId: 'conversations.getReplyJob',
|
|
1963
|
+
kind: 'query',
|
|
1964
|
+
description: 'Fetch status and progress for an async workflow-backed customer reply job.',
|
|
1965
|
+
requestSchema: conversations_1.conversationsGetReplyJobRequestSchema,
|
|
1966
|
+
responseSchema: conversations_1.conversationsGetReplyJobResponseSchema
|
|
1967
|
+
});
|
|
1693
1968
|
exports.conversationsListTimelineOperation = defineOperation({
|
|
1694
1969
|
operationId: 'conversations.listTimeline',
|
|
1695
1970
|
kind: 'query',
|
|
@@ -1732,33 +2007,40 @@ exports.runtimeReconcileProvidersOperation = defineOperation({
|
|
|
1732
2007
|
requestSchema: exports.runtimeReconcileProvidersRequestSchema,
|
|
1733
2008
|
responseSchema: exports.runtimeReconcileProvidersResponseSchema
|
|
1734
2009
|
});
|
|
1735
|
-
exports.
|
|
1736
|
-
operationId: 'runtime.
|
|
2010
|
+
exports.runtimeUpsertModelProfileOperation = defineOperation({
|
|
2011
|
+
operationId: 'runtime.upsertModelProfile',
|
|
2012
|
+
kind: 'command',
|
|
2013
|
+
description: 'Upsert one runtime model profile for system, business, or bot scope.',
|
|
2014
|
+
requestSchema: exports.runtimeUpsertModelProfileRequestSchema,
|
|
2015
|
+
responseSchema: exports.runtimeUpsertModelProfileResponseSchema
|
|
2016
|
+
});
|
|
2017
|
+
exports.runtimeDeleteModelProfileOperation = defineOperation({
|
|
2018
|
+
operationId: 'runtime.deleteModelProfile',
|
|
1737
2019
|
kind: 'command',
|
|
1738
|
-
description: '
|
|
1739
|
-
requestSchema: exports.
|
|
1740
|
-
responseSchema: exports.
|
|
2020
|
+
description: 'Delete one runtime model profile for system, business, or bot scope.',
|
|
2021
|
+
requestSchema: exports.runtimeDeleteModelProfileRequestSchema,
|
|
2022
|
+
responseSchema: exports.runtimeDeleteModelProfileResponseSchema
|
|
1741
2023
|
});
|
|
1742
|
-
exports.
|
|
1743
|
-
operationId: 'runtime.
|
|
2024
|
+
exports.runtimeListModelProfilesOperation = defineOperation({
|
|
2025
|
+
operationId: 'runtime.listModelProfiles',
|
|
1744
2026
|
kind: 'query',
|
|
1745
|
-
description: 'List runtime
|
|
1746
|
-
requestSchema: exports.
|
|
1747
|
-
responseSchema: exports.
|
|
2027
|
+
description: 'List runtime model profiles across system, business, and bot scopes.',
|
|
2028
|
+
requestSchema: exports.runtimeListModelProfilesRequestSchema,
|
|
2029
|
+
responseSchema: exports.runtimeListModelProfilesResponseSchema
|
|
1748
2030
|
});
|
|
1749
|
-
exports.
|
|
1750
|
-
operationId: 'runtime.
|
|
2031
|
+
exports.runtimeGetEffectiveModelProfileOperation = defineOperation({
|
|
2032
|
+
operationId: 'runtime.getEffectiveModelProfile',
|
|
1751
2033
|
kind: 'query',
|
|
1752
|
-
description: 'Resolve the effective runtime
|
|
1753
|
-
requestSchema: exports.
|
|
1754
|
-
responseSchema: exports.
|
|
2034
|
+
description: 'Resolve the effective runtime model profile for one bot/business/system path.',
|
|
2035
|
+
requestSchema: exports.runtimeGetEffectiveModelProfileRequestSchema,
|
|
2036
|
+
responseSchema: exports.runtimeGetEffectiveModelProfileResponseSchema
|
|
1755
2037
|
});
|
|
1756
|
-
exports.
|
|
1757
|
-
operationId: 'runtime.
|
|
2038
|
+
exports.runtimeReconcileModelProfilesOperation = defineOperation({
|
|
2039
|
+
operationId: 'runtime.reconcileModelProfiles',
|
|
1758
2040
|
kind: 'command',
|
|
1759
|
-
description: 'Refresh and persist effective runtime
|
|
1760
|
-
requestSchema: exports.
|
|
1761
|
-
responseSchema: exports.
|
|
2041
|
+
description: 'Refresh and persist effective runtime model-profile visibility for one scope.',
|
|
2042
|
+
requestSchema: exports.runtimeReconcileModelProfilesRequestSchema,
|
|
2043
|
+
responseSchema: exports.runtimeReconcileModelProfilesResponseSchema
|
|
1762
2044
|
});
|
|
1763
2045
|
exports.runtimeGetUsageSummaryOperation = defineOperation({
|
|
1764
2046
|
operationId: 'runtime.getUsageSummary',
|
|
@@ -1802,6 +2084,13 @@ exports.opsGetSchemaStatusOperation = defineOperation({
|
|
|
1802
2084
|
requestSchema: ops_1.opsGetSchemaStatusRequestSchema,
|
|
1803
2085
|
responseSchema: ops_1.opsGetSchemaStatusResponseSchema
|
|
1804
2086
|
});
|
|
2087
|
+
exports.opsGetLegacyReconcileStatusOperation = defineOperation({
|
|
2088
|
+
operationId: 'ops.getLegacyReconcileStatus',
|
|
2089
|
+
kind: 'query',
|
|
2090
|
+
description: 'Inspect explicit legacy data reconcile tasks that were previously hidden behind runtime bootstrap.',
|
|
2091
|
+
requestSchema: ops_1.opsGetLegacyReconcileStatusRequestSchema,
|
|
2092
|
+
responseSchema: ops_1.opsGetLegacyReconcileStatusResponseSchema
|
|
2093
|
+
});
|
|
1805
2094
|
exports.opsApplySchemaMigrationsOperation = defineOperation({
|
|
1806
2095
|
operationId: 'ops.applySchemaMigrations',
|
|
1807
2096
|
kind: 'command',
|
|
@@ -1809,6 +2098,13 @@ exports.opsApplySchemaMigrationsOperation = defineOperation({
|
|
|
1809
2098
|
requestSchema: ops_1.opsApplySchemaMigrationsRequestSchema,
|
|
1810
2099
|
responseSchema: ops_1.opsApplySchemaMigrationsResponseSchema
|
|
1811
2100
|
});
|
|
2101
|
+
exports.opsApplyLegacyReconcileOperation = defineOperation({
|
|
2102
|
+
operationId: 'ops.applyLegacyReconcile',
|
|
2103
|
+
kind: 'command',
|
|
2104
|
+
description: 'Run one or more explicit legacy data reconcile tasks and return the refreshed reconcile status.',
|
|
2105
|
+
requestSchema: ops_1.opsApplyLegacyReconcileRequestSchema,
|
|
2106
|
+
responseSchema: ops_1.opsApplyLegacyReconcileResponseSchema
|
|
2107
|
+
});
|
|
1812
2108
|
exports.opsCreateBackupArtifactOperation = defineOperation({
|
|
1813
2109
|
operationId: 'ops.createBackupArtifact',
|
|
1814
2110
|
kind: 'command',
|
|
@@ -1900,6 +2196,13 @@ exports.opsGetDiagnosticsOperation = defineOperation({
|
|
|
1900
2196
|
requestSchema: ops_1.opsGetDiagnosticsRequestSchema,
|
|
1901
2197
|
responseSchema: ops_1.opsGetDiagnosticsResponseSchema
|
|
1902
2198
|
});
|
|
2199
|
+
exports.opsGetNotificationRoutingOperation = defineOperation({
|
|
2200
|
+
operationId: 'ops.getNotificationRouting',
|
|
2201
|
+
kind: 'query',
|
|
2202
|
+
description: 'Fetch the persisted notification routing profile for one business profile.',
|
|
2203
|
+
requestSchema: ops_1.opsGetNotificationRoutingRequestSchema,
|
|
2204
|
+
responseSchema: ops_1.opsGetNotificationRoutingResponseSchema
|
|
2205
|
+
});
|
|
1903
2206
|
exports.opsSetOwnershipModeOperation = defineOperation({
|
|
1904
2207
|
operationId: 'ops.setOwnershipMode',
|
|
1905
2208
|
kind: 'command',
|
|
@@ -1942,6 +2245,20 @@ exports.opsRefreshRuntimeProviderOperation = defineOperation({
|
|
|
1942
2245
|
requestSchema: ops_1.opsRefreshRuntimeProviderRequestSchema,
|
|
1943
2246
|
responseSchema: ops_1.opsRefreshRuntimeProviderResponseSchema
|
|
1944
2247
|
});
|
|
2248
|
+
exports.opsAddNotificationRoutingRecipientOperation = defineOperation({
|
|
2249
|
+
operationId: 'ops.addNotificationRoutingRecipient',
|
|
2250
|
+
kind: 'command',
|
|
2251
|
+
description: 'Add one canonical recipient to a business notification-routing class.',
|
|
2252
|
+
requestSchema: ops_1.opsAddNotificationRoutingRecipientRequestSchema,
|
|
2253
|
+
responseSchema: ops_1.opsAddNotificationRoutingRecipientResponseSchema
|
|
2254
|
+
});
|
|
2255
|
+
exports.opsRemoveNotificationRoutingRecipientOperation = defineOperation({
|
|
2256
|
+
operationId: 'ops.removeNotificationRoutingRecipient',
|
|
2257
|
+
kind: 'command',
|
|
2258
|
+
description: 'Remove one canonical recipient from a business notification-routing class.',
|
|
2259
|
+
requestSchema: ops_1.opsRemoveNotificationRoutingRecipientRequestSchema,
|
|
2260
|
+
responseSchema: ops_1.opsRemoveNotificationRoutingRecipientResponseSchema
|
|
2261
|
+
});
|
|
1945
2262
|
exports.opsReconcileBusinessOperation = defineOperation({
|
|
1946
2263
|
operationId: 'ops.reconcileBusiness',
|
|
1947
2264
|
kind: 'command',
|
|
@@ -1970,6 +2287,90 @@ exports.followUpsCompleteTaskOperation = defineOperation({
|
|
|
1970
2287
|
requestSchema: followups_1.followUpsCompleteTaskRequestSchema,
|
|
1971
2288
|
responseSchema: followups_1.followUpsCompleteTaskResponseSchema
|
|
1972
2289
|
});
|
|
2290
|
+
exports.curationUpsertTranscriptRecordOperation = defineOperation({
|
|
2291
|
+
operationId: 'curation.upsertTranscriptRecord',
|
|
2292
|
+
kind: 'command',
|
|
2293
|
+
description: 'Upsert one transcript registry record used by curated-evaluation history.',
|
|
2294
|
+
requestSchema: curation_1.curationUpsertTranscriptRecordRequestSchema,
|
|
2295
|
+
responseSchema: curation_1.curationUpsertTranscriptRecordResponseSchema
|
|
2296
|
+
});
|
|
2297
|
+
exports.curationRecordEvaluationRunOperation = defineOperation({
|
|
2298
|
+
operationId: 'curation.recordEvaluationRun',
|
|
2299
|
+
kind: 'command',
|
|
2300
|
+
description: 'Record one shared evaluation-history run for transcript curation.',
|
|
2301
|
+
requestSchema: curation_1.curationRecordEvaluationRunRequestSchema,
|
|
2302
|
+
responseSchema: curation_1.curationRecordEvaluationRunResponseSchema
|
|
2303
|
+
});
|
|
2304
|
+
exports.curationGetRuleEvalCacheOperation = defineOperation({
|
|
2305
|
+
operationId: 'curation.getRuleEvalCache',
|
|
2306
|
+
kind: 'query',
|
|
2307
|
+
description: 'Read one cached rule-evaluation entry by cache key.',
|
|
2308
|
+
requestSchema: curation_1.curationGetRuleEvalCacheRequestSchema,
|
|
2309
|
+
responseSchema: curation_1.curationGetRuleEvalCacheResponseSchema
|
|
2310
|
+
});
|
|
2311
|
+
exports.curationRecordRuleEvalCacheEntryOperation = defineOperation({
|
|
2312
|
+
operationId: 'curation.recordRuleEvalCacheEntry',
|
|
2313
|
+
kind: 'command',
|
|
2314
|
+
description: 'Persist one reusable rule-evaluation cache entry.',
|
|
2315
|
+
requestSchema: curation_1.curationRecordRuleEvalCacheEntryRequestSchema,
|
|
2316
|
+
responseSchema: curation_1.curationRecordRuleEvalCacheEntryResponseSchema
|
|
2317
|
+
});
|
|
2318
|
+
exports.curationRecordFastFitOperation = defineOperation({
|
|
2319
|
+
operationId: 'curation.recordFastFit',
|
|
2320
|
+
kind: 'command',
|
|
2321
|
+
description: 'Record fast-fit results and promote promising transcripts into fit-candidate state.',
|
|
2322
|
+
requestSchema: curation_1.curationRecordFastFitRequestSchema,
|
|
2323
|
+
responseSchema: curation_1.curationRecordFastFitResponseSchema
|
|
2324
|
+
});
|
|
2325
|
+
exports.curationListHistoryOperation = defineOperation({
|
|
2326
|
+
operationId: 'curation.listHistory',
|
|
2327
|
+
kind: 'query',
|
|
2328
|
+
description: 'List shared curation evaluation-history runs by business or transcript fingerprint.',
|
|
2329
|
+
requestSchema: curation_1.curationListHistoryRequestSchema,
|
|
2330
|
+
responseSchema: curation_1.curationListHistoryResponseSchema
|
|
2331
|
+
});
|
|
2332
|
+
exports.curationListFitCandidatesOperation = defineOperation({
|
|
2333
|
+
operationId: 'curation.listFitCandidates',
|
|
2334
|
+
kind: 'query',
|
|
2335
|
+
description: 'List current fit candidates for curated transcript slots.',
|
|
2336
|
+
requestSchema: curation_1.curationListFitCandidatesRequestSchema,
|
|
2337
|
+
responseSchema: curation_1.curationListFitCandidatesResponseSchema
|
|
2338
|
+
});
|
|
2339
|
+
exports.curationRecordFullFitOperation = defineOperation({
|
|
2340
|
+
operationId: 'curation.recordFullFit',
|
|
2341
|
+
kind: 'command',
|
|
2342
|
+
description: 'Record full-fit adjudication results and surface rotation candidates.',
|
|
2343
|
+
requestSchema: curation_1.curationRecordFullFitRequestSchema,
|
|
2344
|
+
responseSchema: curation_1.curationRecordFullFitResponseSchema
|
|
2345
|
+
});
|
|
2346
|
+
exports.curationListRotationCandidatesOperation = defineOperation({
|
|
2347
|
+
operationId: 'curation.listRotationCandidates',
|
|
2348
|
+
kind: 'query',
|
|
2349
|
+
description: 'List transcripts currently awaiting rotation review.',
|
|
2350
|
+
requestSchema: curation_1.curationListRotationCandidatesRequestSchema,
|
|
2351
|
+
responseSchema: curation_1.curationListRotationCandidatesResponseSchema
|
|
2352
|
+
});
|
|
2353
|
+
exports.curationRecordRotationDecisionOperation = defineOperation({
|
|
2354
|
+
operationId: 'curation.recordRotationDecision',
|
|
2355
|
+
kind: 'command',
|
|
2356
|
+
description: 'Persist a manual rotation decision for one slot challenger.',
|
|
2357
|
+
requestSchema: curation_1.curationRecordRotationDecisionRequestSchema,
|
|
2358
|
+
responseSchema: curation_1.curationRecordRotationDecisionResponseSchema
|
|
2359
|
+
});
|
|
2360
|
+
exports.curationRecordSlotAdequacySnapshotOperation = defineOperation({
|
|
2361
|
+
operationId: 'curation.recordSlotAdequacySnapshot',
|
|
2362
|
+
kind: 'command',
|
|
2363
|
+
description: 'Persist one slot-adequacy snapshot for the active rule landscape.',
|
|
2364
|
+
requestSchema: curation_1.curationRecordSlotAdequacySnapshotRequestSchema,
|
|
2365
|
+
responseSchema: curation_1.curationRecordSlotAdequacySnapshotResponseSchema
|
|
2366
|
+
});
|
|
2367
|
+
exports.curationGetLatestSlotAdequacySnapshotOperation = defineOperation({
|
|
2368
|
+
operationId: 'curation.getLatestSlotAdequacySnapshot',
|
|
2369
|
+
kind: 'query',
|
|
2370
|
+
description: 'Read the latest slot-adequacy snapshot for one business profile.',
|
|
2371
|
+
requestSchema: curation_1.curationGetLatestSlotAdequacySnapshotRequestSchema,
|
|
2372
|
+
responseSchema: curation_1.curationGetLatestSlotAdequacySnapshotResponseSchema
|
|
2373
|
+
});
|
|
1973
2374
|
exports.operationDefinitions = {
|
|
1974
2375
|
[exports.systemHealthOperation.operationId]: exports.systemHealthOperation,
|
|
1975
2376
|
[exports.systemInfoOperation.operationId]: exports.systemInfoOperation,
|
|
@@ -2003,11 +2404,17 @@ exports.operationDefinitions = {
|
|
|
2003
2404
|
[exports.businessProfilesListOperation.operationId]: exports.businessProfilesListOperation,
|
|
2004
2405
|
[exports.businessProfilesGetOperation.operationId]: exports.businessProfilesGetOperation,
|
|
2005
2406
|
[exports.businessProfilesListVersionsOperation.operationId]: exports.businessProfilesListVersionsOperation,
|
|
2407
|
+
[exports.businessProfilesVerifyRepoAccessOperation.operationId]: exports.businessProfilesVerifyRepoAccessOperation,
|
|
2006
2408
|
[exports.businessProfilesListMembersOperation.operationId]: exports.businessProfilesListMembersOperation,
|
|
2007
|
-
[exports.
|
|
2008
|
-
[exports.
|
|
2009
|
-
[exports.
|
|
2409
|
+
[exports.businessProfilesStartPublishJobOperation.operationId]: exports.businessProfilesStartPublishJobOperation,
|
|
2410
|
+
[exports.businessProfilesGetPublishJobOperation.operationId]: exports.businessProfilesGetPublishJobOperation,
|
|
2411
|
+
[exports.businessProfilesCreateReleaseOperation.operationId]: exports.businessProfilesCreateReleaseOperation,
|
|
2412
|
+
[exports.businessProfilesListReleasesOperation.operationId]: exports.businessProfilesListReleasesOperation,
|
|
2413
|
+
[exports.businessProfilesPromoteReleaseOperation.operationId]: exports.businessProfilesPromoteReleaseOperation,
|
|
2010
2414
|
[exports.integrationsUpsertTelegramBotOperation.operationId]: exports.integrationsUpsertTelegramBotOperation,
|
|
2415
|
+
[exports.integrationsAssignReleaseOperation.operationId]: exports.integrationsAssignReleaseOperation,
|
|
2416
|
+
[exports.integrationsGetTelegramBotReleaseAssignmentOperation.operationId]: exports.integrationsGetTelegramBotReleaseAssignmentOperation,
|
|
2417
|
+
[exports.integrationsSetTelegramBotAutoRolloutPolicyOperation.operationId]: exports.integrationsSetTelegramBotAutoRolloutPolicyOperation,
|
|
2011
2418
|
[exports.integrationsListTelegramBotsOperation.operationId]: exports.integrationsListTelegramBotsOperation,
|
|
2012
2419
|
[exports.integrationsGetTelegramBusinessAccountOperation.operationId]: exports.integrationsGetTelegramBusinessAccountOperation,
|
|
2013
2420
|
[exports.integrationsListTelegramObservedUsersOperation.operationId]: exports.integrationsListTelegramObservedUsersOperation,
|
|
@@ -2038,6 +2445,7 @@ exports.operationDefinitions = {
|
|
|
2038
2445
|
[exports.conversationsProcessInboundEventOperation.operationId]: exports.conversationsProcessInboundEventOperation,
|
|
2039
2446
|
[exports.conversationsReplayTranscriptOperation.operationId]: exports.conversationsReplayTranscriptOperation,
|
|
2040
2447
|
[exports.conversationsGetReplayJobOperation.operationId]: exports.conversationsGetReplayJobOperation,
|
|
2448
|
+
[exports.conversationsGetReplyJobOperation.operationId]: exports.conversationsGetReplyJobOperation,
|
|
2041
2449
|
[exports.conversationsGetContextOperation.operationId]: exports.conversationsGetContextOperation,
|
|
2042
2450
|
[exports.conversationsListTimelineOperation.operationId]: exports.conversationsListTimelineOperation,
|
|
2043
2451
|
[exports.runtimeListDecisionTracesOperation.operationId]: exports.runtimeListDecisionTracesOperation,
|
|
@@ -2045,17 +2453,20 @@ exports.operationDefinitions = {
|
|
|
2045
2453
|
[exports.runtimeUpsertProviderOperation.operationId]: exports.runtimeUpsertProviderOperation,
|
|
2046
2454
|
[exports.runtimeListProvidersOperation.operationId]: exports.runtimeListProvidersOperation,
|
|
2047
2455
|
[exports.runtimeReconcileProvidersOperation.operationId]: exports.runtimeReconcileProvidersOperation,
|
|
2048
|
-
[exports.
|
|
2049
|
-
[exports.
|
|
2050
|
-
[exports.
|
|
2051
|
-
[exports.
|
|
2456
|
+
[exports.runtimeUpsertModelProfileOperation.operationId]: exports.runtimeUpsertModelProfileOperation,
|
|
2457
|
+
[exports.runtimeDeleteModelProfileOperation.operationId]: exports.runtimeDeleteModelProfileOperation,
|
|
2458
|
+
[exports.runtimeListModelProfilesOperation.operationId]: exports.runtimeListModelProfilesOperation,
|
|
2459
|
+
[exports.runtimeGetEffectiveModelProfileOperation.operationId]: exports.runtimeGetEffectiveModelProfileOperation,
|
|
2460
|
+
[exports.runtimeReconcileModelProfilesOperation.operationId]: exports.runtimeReconcileModelProfilesOperation,
|
|
2052
2461
|
[exports.runtimeGetUsageSummaryOperation.operationId]: exports.runtimeGetUsageSummaryOperation,
|
|
2053
2462
|
[exports.runtimeListFallbackEventsOperation.operationId]: exports.runtimeListFallbackEventsOperation,
|
|
2054
2463
|
[exports.opsListConversationFeedOperation.operationId]: exports.opsListConversationFeedOperation,
|
|
2055
2464
|
[exports.opsGetConversationWorkspaceOperation.operationId]: exports.opsGetConversationWorkspaceOperation,
|
|
2056
2465
|
[exports.opsGetReadinessOperation.operationId]: exports.opsGetReadinessOperation,
|
|
2057
2466
|
[exports.opsGetSchemaStatusOperation.operationId]: exports.opsGetSchemaStatusOperation,
|
|
2467
|
+
[exports.opsGetLegacyReconcileStatusOperation.operationId]: exports.opsGetLegacyReconcileStatusOperation,
|
|
2058
2468
|
[exports.opsApplySchemaMigrationsOperation.operationId]: exports.opsApplySchemaMigrationsOperation,
|
|
2469
|
+
[exports.opsApplyLegacyReconcileOperation.operationId]: exports.opsApplyLegacyReconcileOperation,
|
|
2059
2470
|
[exports.opsCreateBackupArtifactOperation.operationId]: exports.opsCreateBackupArtifactOperation,
|
|
2060
2471
|
[exports.opsListBackupArtifactsOperation.operationId]: exports.opsListBackupArtifactsOperation,
|
|
2061
2472
|
[exports.opsGetBackupArtifactOperation.operationId]: exports.opsGetBackupArtifactOperation,
|
|
@@ -2069,16 +2480,31 @@ exports.operationDefinitions = {
|
|
|
2069
2480
|
[exports.opsListReleaseVerificationsOperation.operationId]: exports.opsListReleaseVerificationsOperation,
|
|
2070
2481
|
[exports.opsGetReleaseVerificationOperation.operationId]: exports.opsGetReleaseVerificationOperation,
|
|
2071
2482
|
[exports.opsGetDiagnosticsOperation.operationId]: exports.opsGetDiagnosticsOperation,
|
|
2483
|
+
[exports.opsGetNotificationRoutingOperation.operationId]: exports.opsGetNotificationRoutingOperation,
|
|
2072
2484
|
[exports.opsSetOwnershipModeOperation.operationId]: exports.opsSetOwnershipModeOperation,
|
|
2073
2485
|
[exports.opsStartHandoffOperation.operationId]: exports.opsStartHandoffOperation,
|
|
2074
2486
|
[exports.opsAddOperatorNoteOperation.operationId]: exports.opsAddOperatorNoteOperation,
|
|
2075
2487
|
[exports.opsSendOperatorMessageOperation.operationId]: exports.opsSendOperatorMessageOperation,
|
|
2076
2488
|
[exports.opsRefreshTelegramIntegrationOperation.operationId]: exports.opsRefreshTelegramIntegrationOperation,
|
|
2077
2489
|
[exports.opsRefreshRuntimeProviderOperation.operationId]: exports.opsRefreshRuntimeProviderOperation,
|
|
2490
|
+
[exports.opsAddNotificationRoutingRecipientOperation.operationId]: exports.opsAddNotificationRoutingRecipientOperation,
|
|
2491
|
+
[exports.opsRemoveNotificationRoutingRecipientOperation.operationId]: exports.opsRemoveNotificationRoutingRecipientOperation,
|
|
2078
2492
|
[exports.opsReconcileBusinessOperation.operationId]: exports.opsReconcileBusinessOperation,
|
|
2079
2493
|
[exports.followUpsEvaluateConversationOperation.operationId]: exports.followUpsEvaluateConversationOperation,
|
|
2080
2494
|
[exports.followUpsListTasksOperation.operationId]: exports.followUpsListTasksOperation,
|
|
2081
|
-
[exports.followUpsCompleteTaskOperation.operationId]: exports.followUpsCompleteTaskOperation
|
|
2495
|
+
[exports.followUpsCompleteTaskOperation.operationId]: exports.followUpsCompleteTaskOperation,
|
|
2496
|
+
[exports.curationUpsertTranscriptRecordOperation.operationId]: exports.curationUpsertTranscriptRecordOperation,
|
|
2497
|
+
[exports.curationRecordEvaluationRunOperation.operationId]: exports.curationRecordEvaluationRunOperation,
|
|
2498
|
+
[exports.curationGetRuleEvalCacheOperation.operationId]: exports.curationGetRuleEvalCacheOperation,
|
|
2499
|
+
[exports.curationRecordRuleEvalCacheEntryOperation.operationId]: exports.curationRecordRuleEvalCacheEntryOperation,
|
|
2500
|
+
[exports.curationRecordFastFitOperation.operationId]: exports.curationRecordFastFitOperation,
|
|
2501
|
+
[exports.curationListHistoryOperation.operationId]: exports.curationListHistoryOperation,
|
|
2502
|
+
[exports.curationListFitCandidatesOperation.operationId]: exports.curationListFitCandidatesOperation,
|
|
2503
|
+
[exports.curationRecordFullFitOperation.operationId]: exports.curationRecordFullFitOperation,
|
|
2504
|
+
[exports.curationListRotationCandidatesOperation.operationId]: exports.curationListRotationCandidatesOperation,
|
|
2505
|
+
[exports.curationRecordRotationDecisionOperation.operationId]: exports.curationRecordRotationDecisionOperation,
|
|
2506
|
+
[exports.curationRecordSlotAdequacySnapshotOperation.operationId]: exports.curationRecordSlotAdequacySnapshotOperation,
|
|
2507
|
+
[exports.curationGetLatestSlotAdequacySnapshotOperation.operationId]: exports.curationGetLatestSlotAdequacySnapshotOperation
|
|
2082
2508
|
};
|
|
2083
2509
|
exports.operationRequestEnvelopeSchema = zod_1.z.object({
|
|
2084
2510
|
input: zod_1.z.unknown().optional()
|