@wayai/cli 0.3.196 → 0.3.198
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +128 -49
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -513,8 +513,8 @@ var init_chunk_VORPHGDT = __esm({
|
|
|
513
513
|
});
|
|
514
514
|
|
|
515
515
|
// ../../packages/core/dist/chunk-POL7B3EM.js
|
|
516
|
-
function spokenLineField(label,
|
|
517
|
-
return { type: "text", label, maxLength: SPOKEN_LINE_MAX_CHARS, default: "", description };
|
|
516
|
+
function spokenLineField(label, description2) {
|
|
517
|
+
return { type: "text", label, maxLength: SPOKEN_LINE_MAX_CHARS, default: "", description: description2 };
|
|
518
518
|
}
|
|
519
519
|
function byLowercaseName(a, b) {
|
|
520
520
|
const x = a.connector_name.toLowerCase();
|
|
@@ -3026,12 +3026,12 @@ var init_errorUtil = __esm({
|
|
|
3026
3026
|
function processCreateParams(params) {
|
|
3027
3027
|
if (!params)
|
|
3028
3028
|
return {};
|
|
3029
|
-
const { errorMap: errorMap2, invalid_type_error, required_error, description } = params;
|
|
3029
|
+
const { errorMap: errorMap2, invalid_type_error, required_error, description: description2 } = params;
|
|
3030
3030
|
if (errorMap2 && (invalid_type_error || required_error)) {
|
|
3031
3031
|
throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);
|
|
3032
3032
|
}
|
|
3033
3033
|
if (errorMap2)
|
|
3034
|
-
return { errorMap: errorMap2, description };
|
|
3034
|
+
return { errorMap: errorMap2, description: description2 };
|
|
3035
3035
|
const customMap = (iss, ctx) => {
|
|
3036
3036
|
const { message } = params;
|
|
3037
3037
|
if (iss.code === "invalid_enum_value") {
|
|
@@ -3044,7 +3044,7 @@ function processCreateParams(params) {
|
|
|
3044
3044
|
return { message: ctx.defaultError };
|
|
3045
3045
|
return { message: message ?? invalid_type_error ?? ctx.defaultError };
|
|
3046
3046
|
};
|
|
3047
|
-
return { errorMap: customMap, description };
|
|
3047
|
+
return { errorMap: customMap, description: description2 };
|
|
3048
3048
|
}
|
|
3049
3049
|
function timeRegexSource(args2) {
|
|
3050
3050
|
let secondsRegexSource = `[0-5]\\d`;
|
|
@@ -3524,11 +3524,11 @@ var init_types = __esm({
|
|
|
3524
3524
|
typeName: ZodFirstPartyTypeKind.ZodCatch
|
|
3525
3525
|
});
|
|
3526
3526
|
}
|
|
3527
|
-
describe(
|
|
3527
|
+
describe(description2) {
|
|
3528
3528
|
const This = this.constructor;
|
|
3529
3529
|
return new This({
|
|
3530
3530
|
...this._def,
|
|
3531
|
-
description
|
|
3531
|
+
description: description2
|
|
3532
3532
|
});
|
|
3533
3533
|
}
|
|
3534
3534
|
pipe(target) {
|
|
@@ -6806,8 +6806,8 @@ function toQuestion(primitive) {
|
|
|
6806
6806
|
}
|
|
6807
6807
|
}
|
|
6808
6808
|
function describeField(field, property) {
|
|
6809
|
-
const
|
|
6810
|
-
return typeof
|
|
6809
|
+
const description2 = isRecord(property) ? property.description : void 0;
|
|
6810
|
+
return typeof description2 === "string" && description2.trim() !== "" ? description2 : field;
|
|
6811
6811
|
}
|
|
6812
6812
|
function scoreLevels(minimum, levels) {
|
|
6813
6813
|
return Array.from({ length: levels }, (_, index) => String(minimum + index));
|
|
@@ -6920,7 +6920,7 @@ var init_chunk_2ISUBJG7 = __esm({
|
|
|
6920
6920
|
}
|
|
6921
6921
|
});
|
|
6922
6922
|
|
|
6923
|
-
// ../../packages/core/dist/chunk-
|
|
6923
|
+
// ../../packages/core/dist/chunk-YEYIDIR6.js
|
|
6924
6924
|
function containsKanbanPlaceholders(value) {
|
|
6925
6925
|
if (value == null) return false;
|
|
6926
6926
|
const serialized = typeof value === "string" ? value : JSON.stringify(value);
|
|
@@ -8167,8 +8167,8 @@ function refineHubAsCodeMonitorRulesOutput(config, ctx) {
|
|
|
8167
8167
|
});
|
|
8168
8168
|
}
|
|
8169
8169
|
var PLACEHOLDER_TOKENS, ALLOWED_TYPES, SUBSCHEMA_OBJECT_KEYWORDS, SUBSCHEMA_LIST_KEYWORDS, SUBSCHEMA_MAP_KEYWORDS, MAX_SCHEMA_DEPTH, uuidSchema, USER_ID_REGEX, timestampSchema, idParamSchema, clientOptionalString, clientOptionalBoolean, clientOptionalNumber, messageAttachment, MAX_MESSAGE_BODY_BYTES, MAX_ATTACHMENTS_PER_MESSAGE, MESSAGE_ENVELOPE_HEADROOM_BYTES, MAX_AUDIO_FILE_BASE64_BYTES, MAX_KANBAN_STATUSES, MAX_FOLLOWUPS_PER_STATUS, MAX_LANES, MAX_ADDITIONAL_CONTEXT_SCHEMA_BYTES, RESERVED_TEMPLATE_DUMP_NAME, kanbanStatusSlugSchema, followupTypeSchema, EVENT_RELATIVE_FOLLOWUP_TYPES, followupTimeUnitSchema, followupIdSchema, SELECTABLE_FOLLOWUP_TYPES, MAX_LINKED_FOLLOWUP_TARGETS_PER_STATUS, followupSchema, MAX_OUTCOMES_PER_STATUS, kanbanOutcomeSchema, EXCLUSIVE_FLAG_PAIRS, kanbanStatusSchema, kanbanStatusesArraySchema, laneSchema, lanesArraySchema, toolIdParam, listToolsQuery, toolAgentQuery, deleteToolQuery, toolConnectionsQuery, nativeToolIdSchema, CONTEXT_BOUNDARIES, contextBoundarySchema, addNativeToolBody, addMcpToolBody, createCustomToolBody, updateCustomToolBody, updateToolExecutionConfigBody, PREVIOUS_CONVERSATIONS_MAX, NATIVE_TOOL_NAMES, previousConversationsCountField, summarizationThresholdField, flagConditionSchema, MONITOR_TRIGGERS, monitorTriggerSchema, MONITOR_FIRING_TRIGGERS, MONITOR_DELAY_SECONDS_MIN, MONITOR_IDLE_DELAY_REQUIRED_MESSAGE, MONITOR_HISTORY_MESSAGES_MAX, monitorHistoryMessagesSchema, monitorIncludeToolResultsSchema, MONITOR_INPUT_SHAPING_KEYS, MONITOR_INPUT_SHAPING_SCHEMAS, MONITOR_INPUT_SHAPING_IDLE_MESSAGE, monitorArgumentSourceSchema, MONITOR_NOTE_TEMPLATE_MAX, MONITOR_STEER_NOTE_MAX, monitorActionSchema, monitorRuleSchema, MONITOR_RULE_KEYS, MONITOR_RULE_SCHEMAS, MONITOR_RULE_TRIGGERS, MONITOR_RULE_TRIGGER_MESSAGE, CALL_UTTERANCE_SPEAKERS, callUtteranceSpeakerSchema, MONITOR_CALL_KEYS, MONITOR_CALL_SCHEMAS, MONITOR_CALL_KEY_MESSAGE, CALL_STEERING_MIN_CONFIDENCE, CALL_UTTERANCE_RULE_NOT_CONFIDENT_MESSAGE, CALL_UTTERANCE_FALLBACK_MESSAGE, CALL_UTTERANCE_FLAG_CONDITIONS_MESSAGE, CALL_STEER_NOTE_BLANK_MESSAGE, MONITOR_USER_MESSAGE_ACTION_KINDS, MONITOR_ASSISTANT_REPLY_ACTION_KINDS, MONITOR_CALL_UTTERANCE_ACTION_KINDS, INSERT_NOTE_TOOL_NAME, RUN_MONITOR_TOOL_NAME, MONITOR_RULE_ALLOWED_NATIVE_TOOLS, MONITOR_RULE_REENTRY_TOOLS, MONITOR_RULE_REENTRY_TRACKS, monitorConfigField, flagConditionsField, agentIdParam, listAgentsQuery, agentConnectionsQuery, createAgentBody, updateAgentBody, AGENT_PARAMETER_TYPES, AGENT_PARAMETER_NAME_REGEX, agentParameterCreateSchema, MAX_AGENT_PARAMETERS_PER_REQUEST, createAgentParametersBody, evalIdParam, sessionIdParam, scenarioSetIdParam, hubIdQuery, evalDateContextSchema, EVAL_FIXTURE_NAME_MAX_LENGTH, evalFixtureOverrideSchema, runSessionQuery, runJourneyQuery, EVAL_INPUT_ROLES, EVAL_INPUT_ROLE_LIST, ROLE_ECHO_MAX, EVAL_INITIAL_STATE_SCOPES, MAX_INITIAL_STATE_ENTRIES, evalInitialStateEntry, evalBody, EVAL_LIST_MAX_LIMIT, evalListLimit, getEvalsQuery, toggleEvalBody, bulkToggleEvalsBody, pacingConfigSchema, EVAL_MAX_SELECTED_SCENARIOS, evalScenarioSelectionEntrySchema, evalScenarioSelectionSchema, sessionConfigSchema, createSessionBody, getSessionsQuery, getSessionResultsQuery, getSessionRunsQuery, evalAnalyticsQuery, getSessionCostQuery, compareSessionsQuery, evalsSqlBody, evalsSqlSchemaQuery, exportResultsQuery, validateEvalBody, hubAgentsQuery, createScenarioSetBody, updateScenarioSetBody, scenarioSetsHubQuery, createScenarioFromConversationBody, createJourneyFromConversationBody, EVAL_ATTACHMENT_HASH_REGEX, evalAttachmentRef, turnMayCarryAttachments, ATTACHMENTS_USER_ONLY_MESSAGE, journeyIdParam, journeyToolCallSchema, journeyTurnSchema, journeyStepOverrideSchema, fixtureField, createJourneyBody, updateJourneyBody, evalSessionConfigResponseSchema, evalSessionResponseSchema, evalSessionListConfigSchema, evalSessionListItemSchema, seedReleaseStatusSchema, EVAL_SESSION_NOT_QUIESCENT, MAX_RESOURCE_FILE_SIZE, CALL_OPENING_LANGUAGES, callOpeningLanguage, CALL_OPENING_MAX_DURATION_MS, CALL_OPENING_MAX_BYTES, CALL_OPENING_CAPTION_MAX_CHARS, CALL_OPENING_CONTENT_TYPES, callOpeningContentType, CALL_OPENING_HASH_REGEX, callOpeningHash, callOpeningCaption, storedCallOpening, MAX_CALL_OPENING_ENCODED_BYTES, MAX_CALL_OPENING_BODY_BYTES, agentCallOpeningParams, putAgentCallOpeningBody, deleteAgentCallOpeningQuery, callOpeningParam, callOpeningQuery, MAX_10MB_BASE64_ENCODED_BYTES, MAX_EVAL_ATTACHMENT_ENCODED_BYTES, MAX_EVAL_ATTACHMENT_CARRIERS, MAX_EVAL_ATTACHMENT_AGGREGATE_ENCODED_BYTES, MAX_RESOURCE_ENCODED_BYTES, MAX_HUB_AS_CODE_RESOURCES, MAX_HUB_AS_CODE_RESOURCE_FILES, MAX_RESOURCE_AGGREGATE_ENCODED_BYTES, MAX_CI_CONFIG_BODY_BYTES, MAX_CALL_OPENING_CARRIERS, MAX_CALL_OPENING_AGGREGATE_ENCODED_BYTES, hubAsCodeStateSchema, hubAsCodeResourceFileSchema, hubAsCodeResourceSchema, uuidPattern, ciUuidSchema, boundedHubAsCodeResourcesSchema, hubAsCodeConfigSchema, ciPullHubIdParam, ciBranchParam, ciPullQuery, ciHubsQuery, ciLookupQuery, ciBranchesQuery, ciSyncBody, ciPushBody, ciDiffBody, ciPublishBody, ciPublishPreviewBody, ciSyncMcpBody, ciOrgResourcesParam, orgResourcesConfigSchema, ciOrgResourcesPushBody, ciOrgResourcesDiffBody, CI_APPLY_ENTITY_KINDS, CI_APPLY_OPERATIONS, ciApplyErrorBaseSchema, ciApplyErrorSchema, ciSyncCountSchema, ciSyncChangesSchema, ciSyncWarningSchema, ciSyncResponseSchema;
|
|
8170
|
-
var
|
|
8171
|
-
"../../packages/core/dist/chunk-
|
|
8170
|
+
var init_chunk_YEYIDIR6 = __esm({
|
|
8171
|
+
"../../packages/core/dist/chunk-YEYIDIR6.js"() {
|
|
8172
8172
|
"use strict";
|
|
8173
8173
|
init_chunk_SNA2DXAC();
|
|
8174
8174
|
init_chunk_IBL7FANV();
|
|
@@ -9284,6 +9284,7 @@ var init_chunk_RUTP7KZ2 = __esm({
|
|
|
9284
9284
|
"agent_resource",
|
|
9285
9285
|
"automation",
|
|
9286
9286
|
"connection",
|
|
9287
|
+
"contact_list",
|
|
9287
9288
|
"eval",
|
|
9288
9289
|
"hub_config",
|
|
9289
9290
|
"journey",
|
|
@@ -9349,7 +9350,10 @@ var init_chunk_RUTP7KZ2 = __esm({
|
|
|
9349
9350
|
journeys_deleted: ciSyncCountSchema,
|
|
9350
9351
|
automations_created: ciSyncCountSchema,
|
|
9351
9352
|
automations_updated: ciSyncCountSchema,
|
|
9352
|
-
automations_deleted: ciSyncCountSchema
|
|
9353
|
+
automations_deleted: ciSyncCountSchema,
|
|
9354
|
+
contact_lists_created: ciSyncCountSchema,
|
|
9355
|
+
contact_lists_updated: ciSyncCountSchema,
|
|
9356
|
+
contact_lists_deleted: ciSyncCountSchema
|
|
9353
9357
|
});
|
|
9354
9358
|
ciSyncWarningSchema = external_exports.object({
|
|
9355
9359
|
code: external_exports.string(),
|
|
@@ -9368,7 +9372,7 @@ var init_chunk_RUTP7KZ2 = __esm({
|
|
|
9368
9372
|
}
|
|
9369
9373
|
});
|
|
9370
9374
|
|
|
9371
|
-
// ../../packages/core/dist/chunk-
|
|
9375
|
+
// ../../packages/core/dist/chunk-H4RTULPH.js
|
|
9372
9376
|
function refineLaneReferences(val, ctx) {
|
|
9373
9377
|
const lanes = val.lanes;
|
|
9374
9378
|
const statuses = val.kanban_statuses;
|
|
@@ -9391,6 +9395,9 @@ function normalizeContactLabel(raw) {
|
|
|
9391
9395
|
function importRowLabels(row, batchLabels) {
|
|
9392
9396
|
return [.../* @__PURE__ */ new Set([...row.labels ?? [], ...batchLabels ?? []])];
|
|
9393
9397
|
}
|
|
9398
|
+
function filterNamesAnything(filter) {
|
|
9399
|
+
return filter.labels.length + filter.scope_tag_ids.length > 0;
|
|
9400
|
+
}
|
|
9394
9401
|
function refineScopedTarget(data, ctx) {
|
|
9395
9402
|
if (data.scope === "org") {
|
|
9396
9403
|
if (!data.org_id) {
|
|
@@ -9433,13 +9440,13 @@ function parseCommunityLessonVideoUrl(url) {
|
|
|
9433
9440
|
}
|
|
9434
9441
|
return id !== void 0 && YOUTUBE_ID.test(id) ? { provider: "youtube", id } : null;
|
|
9435
9442
|
}
|
|
9436
|
-
var primaryRegionSchema, placementSourceSchema, orgIdParam, orgAdminIdParam, createOrganizationBody, updateOrganizationBody, addOrgAdminBody, hubIdParam, hubAdminIdParam, hubUserIdParam, hubIdentityIdParam, hubTeamIdParam, hubTeamUserDeleteParam, hubSchemaQuery, PREVIEW_LABEL_MAX_LENGTH, MAX_ENDED_INDEX_RETENTION_DAYS, MAX_EVAL_RETENTION_DAYS, previewLabelField, hubTagsField, createHubBody, updateHubBody, HUB_TAG_CHANGE_REFUSED, hubTagChangeRefusalSchema, addHubAdminBody, addHubIdentityAuthorizationBody, contactDecisionBody, approveContactBody, listContactAccessQuery, createHubTeamBody, updateHubTeamBody, addHubTeamUserBody, reassignHubUserBody, replicatePreviewBody, updateChannelTestIdentitiesBody, claimCodeChannelParam, claimCodeDeleteParam, connectionIdParam, connectorIdParam, listConnectionsQuery, deleteConnectionQuery, addConnectionBody, editConnectionBody, PRODUCTION_DIRECT_FIELDS, setProductionCredentialBody, registerWhatsappQuery, registerWhatsappBody, retryProvisioningQuery, resendDomainStatusQuery, initialValueCreateSchema, initialValueUpdateSchema, stateIdParam, listStatesQuery, stateNameSchema, createStateBody, updateStateBody, reorderStatesBody, variantAiModeSchema, experimentStatusSchema, overlayUpdateSchema, experimentIdParam, variantIdParam, listExperimentsQuery, listVariantsQuery, listOverridesQuery, deleteOverrideQuery, createExperimentBody, updateExperimentBody, setExperimentStatusBody, createVariantBody, updateVariantBody, upsertOverrideBody, orgTagIdParam, listOrgTagsQuery, ORG_TAG_NAME_REGEX, ORG_TAG_NAME_MAX_LENGTH, createOrgTagBody, updateOrgTagBody, orgCredentialIdParam, listOrgCredentialsQuery, createOrgCredentialBody, updateOrgCredentialBody, BASE_CREDENTIAL_MANAGED_BY, BASE_CREDENTIAL_NAME_MAX, baseCredentialNameSchema, createBaseCredentialLinkBody, baseCredentialLinkParams, baseCredentialLinkQuery, orgResourceIdParam, orgResourceFileIdParam, orgResourceFolderIdParam, hubOrgResourceParam, listOrgResourcesQuery, orgIdQuery, createOrgResourceBody, updateOrgResourceBody, createOrgResourceFolderBody, updateOrgResourceFolderBody, uploadOrgResourceFileBody, updateOrgResourceFileBody, uploadOrgSkillZipBody, linkOrgResourceBody, resourceIdParam, listResourcesQuery, createResourceBody, updateResourceBody, syncSkillsBody, resourceFileIdParam, listResourceFilesQuery, createResourceFileBody, updateResourceFileBody, uploadResourceFileBody, uploadSkillZipBody, resourceFolderIdParam, listResourceFoldersQuery, createResourceFolderBody, updateResourceFolderBody, agentResourceQuery, hubResourceQuery, linkAgentResourceBody, updateAgentResourceBody, unlinkAgentResourceQuery, navItemSchema, hubCountResetBody, navItemCountResetBody, typingBody, analyticsHubIdParam, analyticsVariableIdParam, updateVariablePinBody, updateAnalyticsViewBody, NUMERIC_FILTER_OPS, TEXT_FILTER_OPS, CATEGORICAL_FILTER_OPS, VARIABLE_FILTER_OPS, STRUCTURED_QUERY_OPS, STRUCTURED_QUERY_AGGREGATIONS, filterValueSchema, conversationsBody, analyticsConversationIdParam, messagesQuery, conversationDetailDataQuery, analyticsDataBody, structuredQueryBody, analyticsSqlBody, analyticsSqlTable, analyticsSqlSchemaQuery, getConversationsQuery, getMessagesQuery, appMessageSenderType, appMessageReceiverType, apiChannelMessage, apiChannelMessageBody, appMessageBody, appMessageResponse, CALL_STATUSES, callStatus, CALL_END_REASONS, callEndReason, CALL_TRANSPORTS, callTransport, CALL_PARTICIPANT_TYPES, callParticipantType, callInstant, MAX_SDP_OFFER_LENGTH, sdpDescription, sdpOffer, MAX_CALL_REQUEST_BODY_BYTES, hubScoped, callSummaryFields, callSummary, callIdParam, createCallBody, createCallResponse, callReadyBody, callHangupBody, callStatusQuery, MAX_REPORTED_DELEGATION_IDS, callDelegationId, callDelegationsBody, callResponse, MAX_CALL_RECORDING_GAPS, callRecordingGap, callRecordingNoteMetadata, evalCallInstant, EVAL_CALL_MIN_SECONDS, EVAL_CALL_MAX_SECONDS, EVAL_CALL_SPOKEN_LINE_MAX_CHARS, hubScoped2, createEvalCallBody, createEvalCallResponse, evalCallConversationQuery, evalCallRecordQuery, evalCallSpeaker, evalCallUtterance, evalCallTurn, evalCallRecording, evalCallRecordResponse, evalCallFinishResponse, updateUserBody, updateProfileBody, pathnameRegex, updatePreferencesBody, registerPushTokenBody, deletePushTokenQuery, recordAiDisclosureAcceptanceBody, activityQuery, deletionModeSchema, deletionRequestBody, CACHE_RECONCILE_MAX_IDS, CACHE_RECONCILE_MAX_HUBS, cacheReconcileScopeSchema, cachedConversationPageSchema, cachedHistoryThreadSchema, cachedPeopleThreadSchema, cacheReconcileBody, archiveHubIdParam, archiveConversationParams, archiveListQuery, archiveMessageObservabilityParams, conversationIdParam, conversationHubQuery, claimBody, releaseBody, transferBody, closeBody, additionalContextPayloadSchema, kanbanUpdateBody, annotateConversationBody, observabilityParams, observabilityListParams, deleteUserConversationsBody, deleteUserConversationsResponse, sendMessageBody, listConversationsQuery, flagSourceSchema, getConversationsResponse, getConversationDetailParams, getConversationDetailQuery, getConversationDetailResponse, listWhatsAppTemplatesQuery, sendWhatsAppTemplateBody, copilotSuggestBody, copilotSuggestResponse, CONSULT_THREAD_STATUSES, consultThreadStatus, CONSULT_THREAD_TITLE_MAX, consultThreadTitle, consultThreadSummary, listConsultThreadsQuery, listConsultThreadsResponse, createConsultThreadBody, createConsultThreadResponse, consultThreadIdParam, updateConsultThreadBody, updateConsultThreadResponse, CONSULT_AWAIT_TIMEOUT_MS, billingOrgIdParam, subscriptionItemParams, spendCapBody, growthPacksBody, portalSessionBody, checkoutSessionBody, updateBillingCurrencyBody, invoicesQuery, planKeySchema, billingStatusSchema, billingPlanTypeSchema, dataUsageCountersSchema, REKOR_ENTITLEMENT_CONTRACT_VERSION, entitlementProjectionSchema, rekorEntitlementRefreshMessageSchema, downloadBody, uploadQuery, SIGN_URL_MAX_EXPIRES_IN_SECONDS, signUrlBody, templateIdParam, listTemplatesQuery, deleteTemplateQuery, templateStatusQuery, createTemplateBody, updateTemplateBody, submitTemplateBody, testTemplateBody, CONTACT_ENVIRONMENTS, CONTACT_NAME_MAX, CONTACT_EMAIL_MAX, CONTACT_PHONE_INPUT_MAX, CONTACT_INSTAGRAM_SID_MAX, CONTACT_METADATA_MAX_BYTES, CONTACT_LABEL_MAX, CONTACT_LABELS_MAX, CONTACT_SCOPE_TAGS_MAX, CONTACT_PAGE_MAX, CONTACT_IMPORT_BATCH_MAX, CONTACT_SEARCH_MAX, CONTACT_LIST_NAME_MAX, CONTACT_LIST_NAME_REGEX, CONTACT_LIST_DESCRIPTION_MAX, CONTACT_LIST_FILTER_MAX, CONTACT_LIST_PINS_PER_REQUEST_MAX, SUPPRESSION_SCOPES, SUPPRESSION_ID_REGEX, contactName, contactPhone, contactEmail, contactInstagramSid, contactLabel, contactLabels, contactMetadata, scopeTagIds, contactVisibilitySchema, hasIdentity, IDENTITY_REQUIRED, contactBookOrgQuery, contactBookContactParam, contactBookListParam, contactBookHubParam, contactBookPageQuery, listContactBookContactsQuery, listHubContactBookContactsQuery, contactBookLinkCandidatesQuery, listContactBookListMembersQuery, contactRowFields, createContactBookContactBody, updateContactBookContactBody, contactImportRowSchema, importContactBookContactsBody, linkContactBookContactBody, listName, contactListFilterSchema, createContactBookListBody, updateContactBookListBody, updateContactBookListPinsBody, suppressionIdentitySchema, createContactBookSuppressionBody, contactBookSuppressionParam, listContactBookSuppressionsQuery, CONTACT_BOOK_EMAIL_UNSUBSCRIBE_PATH, contactBookEmailUnsubscribeTokenSchema, contactBookEmailUnsubscribeQuery, orgListReferenceSchema, AUTOMATION_TRIGGER_TYPES, AUTOMATION_TARGET_TYPES, AUTOMATION_ACTION_TYPES, AUTOMATION_CHANNEL_TYPES, AUTOMATION_PURPOSES, AUTOMATION_NAME_MAX, AUTOMATION_DESCRIPTION_MAX, AUTOMATION_INSTRUCTIONS_MAX, AUTOMATION_TEXT_MAX, AUTOMATION_CRON_MAX, automationTriggerSchema, automationTargetSchema, automationActionSchema, automationName, automationDescription, automationIdParam, automationHubQuery, AUTOMATION_RUNS_PAGE_MAX, listAutomationRunsQuery, createAutomationBody, updateAutomationBody, AUTOMATION_ALERT_CATEGORIES, AUTOMATION_BLOCKED_ALERT_CATEGORY, VERSION_PART, MOBILE_APP_VERSION_RE, mobileAppVersionSchema, MOBILE_PLATFORMS, mobilePlatformSchema, mobileVersionPolicyQuery, mobileVersionPolicySchema, mobileVersionPolicyResponse, adminOrgIdParam, adminOrgAdminIdParam, adminUserIdParam, PRICING_PLAN_ID_RE, adminPlanIdParam, adminOrganizationsQuery, adminUserSearchQuery, kanbanSlugMigrationQuery, adjustQuotaBody, updatePlanBody, addAdminUserBody, MAX_VOICE_CALL_MINUTE_OPS, voiceCallMinuteOps, AUTOMATION_LIST_MAX_CONTACTS_BOUND, automationListMaxContacts, updatePlatformConfigBody, updateFreeOrgLimitBody, adminScopedTargetShape, adminScopedTargetBody, BRANCHING_ORPHAN_ENTITY_TYPES, BRANCHING_ORPHAN_MAX_TARGETS, adminRepairBranchingOrphansBody, adminRepairLegacyOrgGrantsBody, adminRepairCompedPlansBody, updatePricingPlanBody, dataExplorerSearchQuery, dataExplorerOrgIdParam, dataExplorerHubIdParam, dataExplorerConvIdParam, dataExplorerDoInstancesQuery, dataExplorerNsIdParam, dataExplorerKvKeysBody, dataExplorerKvKeyBody, uuidOrHexId, dataExplorerDeleteOrgParam, dataExplorerDeleteHubParam, dataExplorerDeleteConvParam, dataExplorerDeleteUserParam, dataExplorerDeleteQuery, dataExplorerKvDeleteBody, pitrDoNamespace, pitrBookmarkParam, pitrRestoreBody, healthSamplingTriggerBody, dataExplorerDebugDoType, DEBUG_READ_MAX_LIMIT, DEBUG_READ_DEFAULT_LIMIT, DEBUG_DO_HEX_PREFIX, debugDoEntityId, debugTableName, dataExplorerDebugTablesParam, dataExplorerDebugRowsParam, dataExplorerDebugRowsQuery, dataExplorerDebugAnalyticsTable, debugUuid, dataExplorerDebugAnalyticsRowsParam, dataExplorerDebugAnalyticsRowsQuery, debugHubConvParam, debugMessageIdQuery, sandboxEgressPolicy, SANDBOX_EXEC_MAX_CMD_LENGTH, SANDBOX_EXEC_MAX_ALLOWLIST, SANDBOX_EXEC_MAX_TIMEOUT_MS, adminSandboxExecBody, META_ENTITY_ID_PATTERN, metaEntityId, whatsappCallbackBody, authMeResponse, wsTicketResponse, sessionCheckResponse, logoutResponse, magicCodeSendBody, magicCodeSendResponse, magicCodeVerifyBody, magicCodeVerifyResponse, passwordLoginBody, stateOperationBody, conversationListResourcesQuery, conversationReadResourceQuery, listPendingSchedulesQuery, listHubAggregateSchedulesQuery, reportSourceSchema, intakeReportSourceSchema, reportClassificationSchema, reportStatusSchema, reportLocaleSchema, reportMessageAuthorRoleSchema, reportMessageSchema, sentryRefStatusSchema, createReportBody, editReportBody, reporterReportSummarySchema, reporterListResponseSchema, getReportResponseSchema, reporterTransitionResponseSchema, contestReportBody, reporterListQuery, listReportsQuery, GITHUB_ISSUE_URL_REGEX, githubIssueUrlSchema, transitionReportBody, groupReportsBody, holdReportBody, clickhouseReadyResponse, bootstrapQuery, MAX_NAME_LENGTH, MAX_VALUE_LENGTH, MAX_TAGS, MAX_TAG_LENGTH, MAX_SCOPE_HUBS, MAX_SCOPE_TAGS, vaultSecretScopeSchema, vaultCreateBody, vaultUpdateBody, MAX_NAME_LENGTH2, MAX_HUBS_PER_GRANT, MAX_HUB_TAGS_PER_GRANT, MAX_GRANTS, permissionEnum, grantScopeSchema, grantSchema, createTokenBody, tokenOrgIdParam, invitePreviewQuery, inviteRolePreviewResponse, inviteContactPreviewResponse, invitePreviewResponse, inviteUnsubscribeBody, jsonSchemaSchema, hubUserIdentity, stateValueEntry, getHubUserContextResponse, updateHubUserBody, updateHubUserResponse, unlockHubUserNameResponse, stateResetParams, stateResetResponse, hubAlertsParam, hubAlertSeverity, hubAlert, hubAlertsListResponse, noticeSeveritySchema, noticeStatusSchema, NOTICE_SCOPE_REGEX, noticeScopeSchema, noticeLinkSchema, createNoticeBody, updateNoticeBody, listNoticesQuery, noticeIdParamSchema, ADMIN_SKILL_NAME_REGEX, adminSkillNameParam, REKOR_ACTOR_TYPE_HEADER, REKOR_ACTOR_ID_HEADER, REKOR_ACTOR_LABEL_HEADER, REKOR_ACTOR_ORG_HEADER, REKOR_ACTOR_ADMIN_HEADER, REKOR_CLIENT_HEADER, REKOR_TOOL_ID_HEADER, REKOR_CLIENTS, rekorClientSchema, MAX_REKOR_TOOL_ID_LENGTH, rekorToolIdSchema, DATA_PROXY_MOUNT, DATA_PROXY_PREFIX, REKOR_V1_PREFIX, DATA_PROXY_ORG_QUERY_PARAM, MAX_PROVISIONING_BODY_BYTES, dataProxyQuery, rekorAttestation, REQUIRED_REKOR_ATTESTATION_HEADERS, BASE_DESTRUCTION_MOUNT, BASE_DESTRUCTION_PREFIX, BASE_DESTRUCTION_CONFIRM_PATH, baseDestructionConfirmBody, BASE_DESTRUCTION_GRACE_MS, BASE_DESTRUCTION_CONFIRM_TTL_MS, BASE_DESTRUCTION_ORG_QUERY_PARAM, baseDestructionQuery, baseDestructionParam, baseDestructionInitiateBody, baseDestructionStatus, baseDestructionRequest, baseDestructionListResponse, baseDestructionInitiateResponse, baseDestructionConfirmResponse, baseDestructionCancelResponse, rekorBaseChangeMessageSchema, PEOPLE_CONTACT_PAGE_MAX, PEOPLE_CONTACT_PAGE_DEFAULT, PEOPLE_CONTACT_EMAIL_MAX_LENGTH, peopleUserIdSchema, peopleInviteEmailSchema, peopleContactInviteBody, peopleContactInviteIdParam, peopleContactUserIdParam, peopleContactBlockBody, peopleContactPageQuery, peopleOutgoingInviteSchema, peopleContactPersonSchema, peopleContactSchema, peopleIncomingInviteSchema, peopleBlockedUserSchema, PEOPLE_THREAD_MESSAGE_MAX_LENGTH, PEOPLE_THREAD_MESSAGES_PAGE_MAX, PEOPLE_THREAD_PAGE_MAX, PEOPLE_THREAD_PAGE_DEFAULT, PEOPLE_GROUP_NAME_MAX_LENGTH, PEOPLE_GROUP_AVATAR_URL_MAX_LENGTH, PEOPLE_THREAD_ATTACHMENT_MAX_BYTES, PEOPLE_THREAD_ATTACHMENT_NAME_MAX_LENGTH, PEOPLE_ATTACHMENT_STORAGE_PER_USER_BYTES, PEOPLE_THREAD_ATTACHMENT_MAX_MB, PEOPLE_THREAD_ATTACHMENT_URL_TTL_SECONDS, PEOPLE_THREAD_ATTACHMENT_URLS_MAX, peopleThreadIdParam, peopleThreadMessageIdParam, peopleThreadListQuery, peopleThreadMessagesQuery, peopleThreadAttachmentUploadSchema, peopleThreadSendBody, peopleThreadAttachmentUrlsBody, peopleThreadReadBody, peopleThreadSettingsBody, peopleGroupNameSchema, peopleGroupAvatarUrlSchema, peopleGroupCreateBody, peopleOrgDirectBody, peopleGroupUpdateBody, peopleGroupInviteBody, peopleOrgErasureBody, peopleGroupLeaveBody, peopleGroupInviteIdParam, peopleGroupIncomingInviteIdParam, peopleGroupMemberParam, peopleThreadKindSchema, peopleThreadMemberSchema, peopleThreadLastMessageSchema, peopleGroupRoleSchema, peopleGroupSummarySchema, peopleThreadSummarySchema, peopleThreadAttachmentSchema, peopleThreadMessageSchema, peopleGroupMemberSchema, peopleGroupSentInviteSchema, peopleGroupIncomingInviteSchema, PEOPLE_REPORT_DETAILS_MAX_LENGTH, peopleReportReasonSchema, reportDetailsSchema, reportFields, peopleReportBody, PEOPLE_MODERATION_NOTE_MAX_LENGTH, ADMIN_PEOPLE_REPORTS_PAGE_MAX, ADMIN_PEOPLE_REPORTS_PAGE_DEFAULT, peopleModerationActionSchema, moderationNoteSchema, adminPeopleReportListQuery, adminPeopleReportIdParam, adminPeopleMessageRemovalBody, adminPeopleSuspendBody, adminPeopleNoteBody, COMMUNITIES_PER_ORG_MAX, COMMUNITY_NAME_MAX_LENGTH, COMMUNITY_REGISTRY_CLOSED_REASON, COMMUNITY_JOIN_SOURCE_MAX_LENGTH, COMMUNITY_JOIN_FLOW_TOKEN_MAX_LENGTH, COMMUNITY_ROOM_NAME_MAX_LENGTH, COMMUNITY_MESSAGE_MAX_LENGTH, COMMUNITY_MESSAGES_PAGE_SIZE, COMMUNITY_ATTACHMENT_URLS_MAX, COMMUNITY_POST_TITLE_MAX_LENGTH, COMMUNITY_POST_SEARCH_MAX_LENGTH, COMMUNITY_RULES_MAX_LENGTH, COMMUNITY_SLOW_MODE_MAX_SECONDS, COMMUNITY_COURSES_LABEL_MAX_LENGTH, COMMUNITY_LIVE_TICKET_PREFIX, communityNameSchema, adminCreateCommunityBody, communityIdParam, communityJoinTokenSchema, communityJoinSourceSchema, communityJoinPreviewQuery, communityJoinBody, communityRoomKindSchema, communityRoomNameSchema, communityRoomIdParam, communityMessageIdParam, communityRoomCreateBody, communityRoomUpdateBody, communityMessagesQuery, communityMessageBodySchema, communityPostTitleSchema, communityAttachmentUploadSchema, communitySendBody, communityEditBody, communityPostIdParam, communityPostsQuery, communityAnswerBody, communityReadBody, communityAttachmentUrlsBody, communityPersonParam, communityOrgParam, communityPeopleQuery, communityCoursesLabelSchema, communitySettingsBody, communityBanBody, communityLockBody, communityPinBody, communityModLogQuery, communityReportsQuery, communityReportIdParam, communityLiveTicketSchema, communityLiveQuery, communityMuteBody, communityEmailUnsubscribeTokenSchema, COMMUNITY_EMAIL_UNSUBSCRIBE_PATH, communityEmailUnsubscribeQuery, COMMUNITY_COURSE_TITLE_MAX_LENGTH, COMMUNITY_COURSE_DESCRIPTION_MAX_LENGTH, COMMUNITY_LESSON_BODY_MAX_LENGTH, COMMUNITY_LESSON_LINKS_MAX, COMMUNITY_LESSON_URL_MAX_LENGTH, YOUTUBE_ID, YOUTUBE_HOSTS, YOUTU_BE, YOUTUBE_ID_PATH, communityCourseIdParam, communityCourseModuleIdParam, communityLessonIdParam, communityCourseTitleSchema, communityCourseDescriptionSchema, communityCoursePositionSchema, communityLessonVideoUrlSchema, communityLessonLinkSchema, communityLessonLinksSchema, communityLessonBodySchema, communityCourseCreateBody, communityCourseUpdateBody, communityModuleCreateBody, communityModuleUpdateBody, communityLessonCreateBody, communityLessonUpdateBody, COMMUNITY_LESSON_TREE_MAX_BYTES, COMMUNITY_LESSON_LINK_PROTOCOLS, LINK_SCHEME;
|
|
9437
|
-
var
|
|
9438
|
-
"../../packages/core/dist/chunk-
|
|
9443
|
+
var primaryRegionSchema, placementSourceSchema, orgIdParam, orgAdminIdParam, createOrganizationBody, updateOrganizationBody, addOrgAdminBody, hubIdParam, hubAdminIdParam, hubUserIdParam, hubIdentityIdParam, hubTeamIdParam, hubTeamUserDeleteParam, hubSchemaQuery, PREVIEW_LABEL_MAX_LENGTH, MAX_ENDED_INDEX_RETENTION_DAYS, MAX_EVAL_RETENTION_DAYS, previewLabelField, hubTagsField, createHubBody, updateHubBody, HUB_TAG_CHANGE_REFUSED, hubTagChangeRefusalSchema, addHubAdminBody, addHubIdentityAuthorizationBody, contactDecisionBody, approveContactBody, listContactAccessQuery, createHubTeamBody, updateHubTeamBody, addHubTeamUserBody, reassignHubUserBody, replicatePreviewBody, HUB_DIFF_SECTION_SET, HUB_DIFF_SECTIONS, updateChannelTestIdentitiesBody, claimCodeChannelParam, claimCodeDeleteParam, connectionIdParam, connectorIdParam, listConnectionsQuery, deleteConnectionQuery, addConnectionBody, editConnectionBody, PRODUCTION_DIRECT_FIELDS, setProductionCredentialBody, registerWhatsappQuery, registerWhatsappBody, retryProvisioningQuery, resendDomainStatusQuery, initialValueCreateSchema, initialValueUpdateSchema, stateIdParam, listStatesQuery, stateNameSchema, createStateBody, updateStateBody, reorderStatesBody, variantAiModeSchema, experimentStatusSchema, overlayUpdateSchema, experimentIdParam, variantIdParam, listExperimentsQuery, listVariantsQuery, listOverridesQuery, deleteOverrideQuery, createExperimentBody, updateExperimentBody, setExperimentStatusBody, createVariantBody, updateVariantBody, upsertOverrideBody, orgTagIdParam, listOrgTagsQuery, ORG_TAG_NAME_REGEX, ORG_TAG_NAME_MAX_LENGTH, createOrgTagBody, updateOrgTagBody, orgCredentialIdParam, listOrgCredentialsQuery, createOrgCredentialBody, updateOrgCredentialBody, BASE_CREDENTIAL_MANAGED_BY, BASE_CREDENTIAL_NAME_MAX, baseCredentialNameSchema, createBaseCredentialLinkBody, baseCredentialLinkParams, baseCredentialLinkQuery, orgResourceIdParam, orgResourceFileIdParam, orgResourceFolderIdParam, hubOrgResourceParam, listOrgResourcesQuery, orgIdQuery, createOrgResourceBody, updateOrgResourceBody, createOrgResourceFolderBody, updateOrgResourceFolderBody, uploadOrgResourceFileBody, updateOrgResourceFileBody, uploadOrgSkillZipBody, linkOrgResourceBody, resourceIdParam, listResourcesQuery, createResourceBody, updateResourceBody, syncSkillsBody, resourceFileIdParam, listResourceFilesQuery, createResourceFileBody, updateResourceFileBody, uploadResourceFileBody, uploadSkillZipBody, resourceFolderIdParam, listResourceFoldersQuery, createResourceFolderBody, updateResourceFolderBody, agentResourceQuery, hubResourceQuery, linkAgentResourceBody, updateAgentResourceBody, unlinkAgentResourceQuery, navItemSchema, hubCountResetBody, navItemCountResetBody, typingBody, analyticsHubIdParam, analyticsVariableIdParam, updateVariablePinBody, updateAnalyticsViewBody, NUMERIC_FILTER_OPS, TEXT_FILTER_OPS, CATEGORICAL_FILTER_OPS, VARIABLE_FILTER_OPS, STRUCTURED_QUERY_OPS, STRUCTURED_QUERY_AGGREGATIONS, filterValueSchema, conversationsBody, analyticsConversationIdParam, messagesQuery, conversationDetailDataQuery, analyticsDataBody, structuredQueryBody, analyticsSqlBody, analyticsSqlTable, analyticsSqlSchemaQuery, getConversationsQuery, getMessagesQuery, appMessageSenderType, appMessageReceiverType, apiChannelMessage, apiChannelMessageBody, appMessageBody, appMessageResponse, CALL_STATUSES, callStatus, CALL_END_REASONS, callEndReason, CALL_TRANSPORTS, callTransport, CALL_PARTICIPANT_TYPES, callParticipantType, callInstant, MAX_SDP_OFFER_LENGTH, sdpDescription, sdpOffer, MAX_CALL_REQUEST_BODY_BYTES, hubScoped, callSummaryFields, callSummary, callIdParam, createCallBody, createCallResponse, callReadyBody, callHangupBody, callStatusQuery, MAX_REPORTED_DELEGATION_IDS, callDelegationId, callDelegationsBody, callResponse, MAX_CALL_RECORDING_GAPS, callRecordingGap, callRecordingNoteMetadata, evalCallInstant, EVAL_CALL_MIN_SECONDS, EVAL_CALL_MAX_SECONDS, EVAL_CALL_SPOKEN_LINE_MAX_CHARS, hubScoped2, createEvalCallBody, createEvalCallResponse, evalCallConversationQuery, evalCallRecordQuery, evalCallSpeaker, evalCallUtterance, evalCallTurn, evalCallRecording, evalCallRecordResponse, evalCallFinishResponse, updateUserBody, updateProfileBody, pathnameRegex, updatePreferencesBody, registerPushTokenBody, deletePushTokenQuery, recordAiDisclosureAcceptanceBody, activityQuery, deletionModeSchema, deletionRequestBody, CACHE_RECONCILE_MAX_IDS, CACHE_RECONCILE_MAX_HUBS, cacheReconcileScopeSchema, cachedConversationPageSchema, cachedHistoryThreadSchema, cachedPeopleThreadSchema, cacheReconcileBody, archiveHubIdParam, archiveConversationParams, archiveListQuery, archiveMessageObservabilityParams, conversationIdParam, conversationHubQuery, claimBody, releaseBody, transferBody, closeBody, additionalContextPayloadSchema, kanbanUpdateBody, annotateConversationBody, observabilityParams, observabilityListParams, deleteUserConversationsBody, deleteUserConversationsResponse, sendMessageBody, listConversationsQuery, flagSourceSchema, getConversationsResponse, getConversationDetailParams, getConversationDetailQuery, getConversationDetailResponse, listWhatsAppTemplatesQuery, sendWhatsAppTemplateBody, copilotSuggestBody, copilotSuggestResponse, CONSULT_THREAD_STATUSES, consultThreadStatus, CONSULT_THREAD_TITLE_MAX, consultThreadTitle, consultThreadSummary, listConsultThreadsQuery, listConsultThreadsResponse, createConsultThreadBody, createConsultThreadResponse, consultThreadIdParam, updateConsultThreadBody, updateConsultThreadResponse, CONSULT_AWAIT_TIMEOUT_MS, billingOrgIdParam, subscriptionItemParams, spendCapBody, growthPacksBody, portalSessionBody, checkoutSessionBody, updateBillingCurrencyBody, invoicesQuery, planKeySchema, billingStatusSchema, billingPlanTypeSchema, dataUsageCountersSchema, REKOR_ENTITLEMENT_CONTRACT_VERSION, entitlementProjectionSchema, rekorEntitlementRefreshMessageSchema, downloadBody, uploadQuery, SIGN_URL_MAX_EXPIRES_IN_SECONDS, signUrlBody, templateIdParam, listTemplatesQuery, deleteTemplateQuery, templateStatusQuery, createTemplateBody, updateTemplateBody, submitTemplateBody, testTemplateBody, CONTACT_ENVIRONMENTS, CONTACT_NAME_MAX, CONTACT_EMAIL_MAX, CONTACT_PHONE_INPUT_MAX, CONTACT_INSTAGRAM_SID_MAX, CONTACT_METADATA_MAX_BYTES, CONTACT_LABEL_MAX, CONTACT_LABELS_MAX, CONTACT_SCOPE_TAGS_MAX, CONTACT_PAGE_MAX, CONTACT_IMPORT_BATCH_MAX, CONTACT_SEARCH_MAX, CONTACT_LIST_NAME_MAX, CONTACT_LIST_NAME_REGEX, CONTACT_LIST_DESCRIPTION_MAX, CONTACT_LIST_FILTER_MAX, CONTACT_LIST_PINS_PER_REQUEST_MAX, SUPPRESSION_SCOPES, SUPPRESSION_ID_REGEX, contactName, contactPhone, contactEmail, contactInstagramSid, contactLabel, contactLabels, contactMetadata, scopeTagIds, contactVisibilitySchema, hasIdentity, IDENTITY_REQUIRED, contactBookOrgQuery, contactBookContactParam, contactBookListParam, contactBookHubParam, contactBookPageQuery, listContactBookContactsQuery, listHubContactBookContactsQuery, contactBookLinkCandidatesQuery, listContactBookListMembersQuery, contactRowFields, createContactBookContactBody, updateContactBookContactBody, contactImportRowSchema, importContactBookContactsBody, linkContactBookContactBody, listName, contactListFilterSchema, createContactBookListBody, updateContactBookListBody, updateContactBookListPinsBody, suppressionIdentitySchema, createContactBookSuppressionBody, contactBookSuppressionParam, listContactBookSuppressionsQuery, CONTACT_BOOK_EMAIL_UNSUBSCRIBE_PATH, contactBookEmailUnsubscribeTokenSchema, contactBookEmailUnsubscribeQuery, orgListReferenceSchema, hubListNameSchema, HUB_LIST_FILTER_REQUIRED, hubContactListFilterSchema, hubContactListIdParam, hubContactListHubQuery, description, createHubContactListBody, updateHubContactListBody, AUTOMATION_TRIGGER_TYPES, AUTOMATION_TARGET_TYPES, AUTOMATION_ACTION_TYPES, AUTOMATION_CHANNEL_TYPES, AUTOMATION_PURPOSES, AUTOMATION_NAME_MAX, AUTOMATION_DESCRIPTION_MAX, AUTOMATION_INSTRUCTIONS_MAX, AUTOMATION_TEXT_MAX, AUTOMATION_CRON_MAX, automationTriggerSchema, automationTargetSchema, automationActionSchema, automationName, automationDescription, automationIdParam, automationHubQuery, AUTOMATION_RUNS_PAGE_MAX, listAutomationRunsQuery, createAutomationBody, updateAutomationBody, AUTOMATION_ALERT_CATEGORIES, AUTOMATION_BLOCKED_ALERT_CATEGORY, VERSION_PART, MOBILE_APP_VERSION_RE, mobileAppVersionSchema, MOBILE_PLATFORMS, mobilePlatformSchema, mobileVersionPolicyQuery, mobileVersionPolicySchema, mobileVersionPolicyResponse, adminOrgIdParam, adminOrgAdminIdParam, adminUserIdParam, PRICING_PLAN_ID_RE, adminPlanIdParam, adminOrganizationsQuery, adminUserSearchQuery, kanbanSlugMigrationQuery, adjustQuotaBody, updatePlanBody, addAdminUserBody, MAX_VOICE_CALL_MINUTE_OPS, voiceCallMinuteOps, AUTOMATION_LIST_MAX_CONTACTS_BOUND, automationListMaxContacts, updatePlatformConfigBody, updateFreeOrgLimitBody, adminScopedTargetShape, adminScopedTargetBody, BRANCHING_ORPHAN_ENTITY_TYPES, BRANCHING_ORPHAN_MAX_TARGETS, adminRepairBranchingOrphansBody, adminRepairLegacyOrgGrantsBody, adminRepairCompedPlansBody, updatePricingPlanBody, dataExplorerSearchQuery, dataExplorerOrgIdParam, dataExplorerHubIdParam, dataExplorerConvIdParam, dataExplorerDoInstancesQuery, dataExplorerNsIdParam, dataExplorerKvKeysBody, dataExplorerKvKeyBody, uuidOrHexId, dataExplorerDeleteOrgParam, dataExplorerDeleteHubParam, dataExplorerDeleteConvParam, dataExplorerDeleteUserParam, dataExplorerDeleteQuery, dataExplorerKvDeleteBody, pitrDoNamespace, pitrBookmarkParam, pitrRestoreBody, healthSamplingTriggerBody, dataExplorerDebugDoType, DEBUG_READ_MAX_LIMIT, DEBUG_READ_DEFAULT_LIMIT, DEBUG_DO_HEX_PREFIX, debugDoEntityId, debugTableName, dataExplorerDebugTablesParam, dataExplorerDebugRowsParam, dataExplorerDebugRowsQuery, dataExplorerDebugAnalyticsTable, debugUuid, dataExplorerDebugAnalyticsRowsParam, dataExplorerDebugAnalyticsRowsQuery, debugHubConvParam, debugMessageIdQuery, sandboxEgressPolicy, SANDBOX_EXEC_MAX_CMD_LENGTH, SANDBOX_EXEC_MAX_ALLOWLIST, SANDBOX_EXEC_MAX_TIMEOUT_MS, adminSandboxExecBody, META_ENTITY_ID_PATTERN, metaEntityId, whatsappCallbackBody, authMeResponse, wsTicketResponse, sessionCheckResponse, logoutResponse, magicCodeSendBody, magicCodeSendResponse, magicCodeVerifyBody, magicCodeVerifyResponse, passwordLoginBody, stateOperationBody, conversationListResourcesQuery, conversationReadResourceQuery, listPendingSchedulesQuery, listHubAggregateSchedulesQuery, reportSourceSchema, intakeReportSourceSchema, reportClassificationSchema, reportStatusSchema, reportLocaleSchema, reportMessageAuthorRoleSchema, reportMessageSchema, sentryRefStatusSchema, createReportBody, editReportBody, reporterReportSummarySchema, reporterListResponseSchema, getReportResponseSchema, reporterTransitionResponseSchema, contestReportBody, reporterListQuery, listReportsQuery, GITHUB_ISSUE_URL_REGEX, githubIssueUrlSchema, transitionReportBody, groupReportsBody, holdReportBody, clickhouseReadyResponse, bootstrapQuery, MAX_NAME_LENGTH, MAX_VALUE_LENGTH, MAX_TAGS, MAX_TAG_LENGTH, MAX_SCOPE_HUBS, MAX_SCOPE_TAGS, vaultSecretScopeSchema, vaultCreateBody, vaultUpdateBody, MAX_NAME_LENGTH2, MAX_HUBS_PER_GRANT, MAX_HUB_TAGS_PER_GRANT, MAX_GRANTS, permissionEnum, grantScopeSchema, grantSchema, createTokenBody, tokenOrgIdParam, invitePreviewQuery, inviteRolePreviewResponse, inviteContactPreviewResponse, invitePreviewResponse, inviteUnsubscribeBody, jsonSchemaSchema, hubUserIdentity, stateValueEntry, getHubUserContextResponse, updateHubUserBody, updateHubUserResponse, unlockHubUserNameResponse, stateResetParams, stateResetResponse, hubAlertsParam, hubAlertSeverity, hubAlert, hubAlertsListResponse, noticeSeveritySchema, noticeStatusSchema, NOTICE_SCOPE_REGEX, noticeScopeSchema, noticeLinkSchema, createNoticeBody, updateNoticeBody, listNoticesQuery, noticeIdParamSchema, ADMIN_SKILL_NAME_REGEX, adminSkillNameParam, REKOR_ACTOR_TYPE_HEADER, REKOR_ACTOR_ID_HEADER, REKOR_ACTOR_LABEL_HEADER, REKOR_ACTOR_ORG_HEADER, REKOR_ACTOR_ADMIN_HEADER, REKOR_CLIENT_HEADER, REKOR_TOOL_ID_HEADER, REKOR_CLIENTS, rekorClientSchema, MAX_REKOR_TOOL_ID_LENGTH, rekorToolIdSchema, DATA_PROXY_MOUNT, DATA_PROXY_PREFIX, REKOR_V1_PREFIX, DATA_PROXY_ORG_QUERY_PARAM, MAX_PROVISIONING_BODY_BYTES, dataProxyQuery, rekorAttestation, REQUIRED_REKOR_ATTESTATION_HEADERS, BASE_DESTRUCTION_MOUNT, BASE_DESTRUCTION_PREFIX, BASE_DESTRUCTION_CONFIRM_PATH, baseDestructionConfirmBody, BASE_DESTRUCTION_GRACE_MS, BASE_DESTRUCTION_CONFIRM_TTL_MS, BASE_DESTRUCTION_ORG_QUERY_PARAM, baseDestructionQuery, baseDestructionParam, baseDestructionInitiateBody, baseDestructionStatus, baseDestructionRequest, baseDestructionListResponse, baseDestructionInitiateResponse, baseDestructionConfirmResponse, baseDestructionCancelResponse, rekorBaseChangeMessageSchema, PEOPLE_CONTACT_PAGE_MAX, PEOPLE_CONTACT_PAGE_DEFAULT, PEOPLE_CONTACT_EMAIL_MAX_LENGTH, peopleUserIdSchema, peopleInviteEmailSchema, peopleContactInviteBody, peopleContactInviteIdParam, peopleContactUserIdParam, peopleContactBlockBody, peopleContactPageQuery, peopleOutgoingInviteSchema, peopleContactPersonSchema, peopleContactSchema, peopleIncomingInviteSchema, peopleBlockedUserSchema, PEOPLE_THREAD_MESSAGE_MAX_LENGTH, PEOPLE_THREAD_MESSAGES_PAGE_MAX, PEOPLE_THREAD_PAGE_MAX, PEOPLE_THREAD_PAGE_DEFAULT, PEOPLE_GROUP_NAME_MAX_LENGTH, PEOPLE_GROUP_AVATAR_URL_MAX_LENGTH, PEOPLE_THREAD_ATTACHMENT_MAX_BYTES, PEOPLE_THREAD_ATTACHMENT_NAME_MAX_LENGTH, PEOPLE_ATTACHMENT_STORAGE_PER_USER_BYTES, PEOPLE_THREAD_ATTACHMENT_MAX_MB, PEOPLE_THREAD_ATTACHMENT_URL_TTL_SECONDS, PEOPLE_THREAD_ATTACHMENT_URLS_MAX, peopleThreadIdParam, peopleThreadMessageIdParam, peopleThreadListQuery, peopleThreadMessagesQuery, peopleThreadAttachmentUploadSchema, peopleThreadSendBody, peopleThreadAttachmentUrlsBody, peopleThreadReadBody, peopleThreadSettingsBody, peopleGroupNameSchema, peopleGroupAvatarUrlSchema, peopleGroupCreateBody, peopleOrgDirectBody, peopleGroupUpdateBody, peopleGroupInviteBody, peopleOrgErasureBody, peopleGroupLeaveBody, peopleGroupInviteIdParam, peopleGroupIncomingInviteIdParam, peopleGroupMemberParam, peopleThreadKindSchema, peopleThreadMemberSchema, peopleThreadLastMessageSchema, peopleGroupRoleSchema, peopleGroupSummarySchema, peopleThreadSummarySchema, peopleThreadAttachmentSchema, peopleThreadMessageSchema, peopleGroupMemberSchema, peopleGroupSentInviteSchema, peopleGroupIncomingInviteSchema, PEOPLE_REPORT_DETAILS_MAX_LENGTH, peopleReportReasonSchema, reportDetailsSchema, reportFields, peopleReportBody, PEOPLE_MODERATION_NOTE_MAX_LENGTH, ADMIN_PEOPLE_REPORTS_PAGE_MAX, ADMIN_PEOPLE_REPORTS_PAGE_DEFAULT, peopleModerationActionSchema, moderationNoteSchema, adminPeopleReportListQuery, adminPeopleReportIdParam, adminPeopleMessageRemovalBody, adminPeopleSuspendBody, adminPeopleNoteBody, COMMUNITIES_PER_ORG_MAX, COMMUNITY_NAME_MAX_LENGTH, COMMUNITY_REGISTRY_CLOSED_REASON, COMMUNITY_JOIN_SOURCE_MAX_LENGTH, COMMUNITY_JOIN_FLOW_TOKEN_MAX_LENGTH, COMMUNITY_ROOM_NAME_MAX_LENGTH, COMMUNITY_MESSAGE_MAX_LENGTH, COMMUNITY_MESSAGES_PAGE_SIZE, COMMUNITY_ATTACHMENT_URLS_MAX, COMMUNITY_POST_TITLE_MAX_LENGTH, COMMUNITY_POST_SEARCH_MAX_LENGTH, COMMUNITY_RULES_MAX_LENGTH, COMMUNITY_SLOW_MODE_MAX_SECONDS, COMMUNITY_COURSES_LABEL_MAX_LENGTH, COMMUNITY_LIVE_TICKET_PREFIX, communityNameSchema, adminCreateCommunityBody, communityIdParam, communityJoinTokenSchema, communityJoinSourceSchema, communityJoinPreviewQuery, communityJoinBody, communityRoomKindSchema, communityRoomNameSchema, communityRoomIdParam, communityMessageIdParam, communityRoomCreateBody, communityRoomUpdateBody, communityMessagesQuery, communityMessageBodySchema, communityPostTitleSchema, communityAttachmentUploadSchema, communitySendBody, communityEditBody, communityPostIdParam, communityPostsQuery, communityAnswerBody, communityReadBody, communityAttachmentUrlsBody, communityPersonParam, communityOrgParam, communityPeopleQuery, communityCoursesLabelSchema, communitySettingsBody, communityBanBody, communityLockBody, communityPinBody, communityModLogQuery, communityReportsQuery, communityReportIdParam, communityLiveTicketSchema, communityLiveQuery, communityMuteBody, communityEmailUnsubscribeTokenSchema, COMMUNITY_EMAIL_UNSUBSCRIBE_PATH, communityEmailUnsubscribeQuery, COMMUNITY_COURSE_TITLE_MAX_LENGTH, COMMUNITY_COURSE_DESCRIPTION_MAX_LENGTH, COMMUNITY_LESSON_BODY_MAX_LENGTH, COMMUNITY_LESSON_LINKS_MAX, COMMUNITY_LESSON_URL_MAX_LENGTH, YOUTUBE_ID, YOUTUBE_HOSTS, YOUTU_BE, YOUTUBE_ID_PATH, communityCourseIdParam, communityCourseModuleIdParam, communityLessonIdParam, communityCourseTitleSchema, communityCourseDescriptionSchema, communityCoursePositionSchema, communityLessonVideoUrlSchema, communityLessonLinkSchema, communityLessonLinksSchema, communityLessonBodySchema, communityCourseCreateBody, communityCourseUpdateBody, communityModuleCreateBody, communityModuleUpdateBody, communityLessonCreateBody, communityLessonUpdateBody, COMMUNITY_LESSON_TREE_MAX_BYTES, COMMUNITY_LESSON_LINK_PROTOCOLS, LINK_SCHEME;
|
|
9444
|
+
var init_chunk_H4RTULPH = __esm({
|
|
9445
|
+
"../../packages/core/dist/chunk-H4RTULPH.js"() {
|
|
9439
9446
|
"use strict";
|
|
9440
9447
|
init_chunk_VORPHGDT();
|
|
9441
9448
|
init_chunk_POL7B3EM();
|
|
9442
|
-
|
|
9449
|
+
init_chunk_YEYIDIR6();
|
|
9443
9450
|
init_chunk_3NS3HULK();
|
|
9444
9451
|
init_chunk_MIWZOSPI();
|
|
9445
9452
|
init_chunk_JWPRTSIB();
|
|
@@ -9496,6 +9503,7 @@ var init_chunk_QLGOUXNO = __esm({
|
|
|
9496
9503
|
init_zod();
|
|
9497
9504
|
init_zod();
|
|
9498
9505
|
init_zod();
|
|
9506
|
+
init_zod();
|
|
9499
9507
|
primaryRegionSchema = external_exports.enum([
|
|
9500
9508
|
"wnam",
|
|
9501
9509
|
"enam",
|
|
@@ -9665,6 +9673,25 @@ var init_chunk_QLGOUXNO = __esm({
|
|
|
9665
9673
|
replicatePreviewBody = external_exports.object({
|
|
9666
9674
|
preview_label: previewLabelField
|
|
9667
9675
|
});
|
|
9676
|
+
HUB_DIFF_SECTION_SET = {
|
|
9677
|
+
agents: true,
|
|
9678
|
+
agent_parameters: true,
|
|
9679
|
+
connections: true,
|
|
9680
|
+
mcp_tools: true,
|
|
9681
|
+
tools: true,
|
|
9682
|
+
channels: true,
|
|
9683
|
+
states: true,
|
|
9684
|
+
teams: true,
|
|
9685
|
+
resources: true,
|
|
9686
|
+
resource_folders: true,
|
|
9687
|
+
resource_files: true,
|
|
9688
|
+
agent_resources: true,
|
|
9689
|
+
message_templates: true,
|
|
9690
|
+
contact_lists: true,
|
|
9691
|
+
automations: true,
|
|
9692
|
+
evals: true
|
|
9693
|
+
};
|
|
9694
|
+
HUB_DIFF_SECTIONS = Object.keys(HUB_DIFF_SECTION_SET);
|
|
9668
9695
|
updateChannelTestIdentitiesBody = external_exports.object({
|
|
9669
9696
|
test_identities: external_exports.array(external_exports.string().max(320)).max(1e3)
|
|
9670
9697
|
});
|
|
@@ -11394,6 +11421,27 @@ var init_chunk_QLGOUXNO = __esm({
|
|
|
11394
11421
|
contactBookEmailUnsubscribeTokenSchema = external_exports.string().max(200).regex(/^[0-9a-f-]{36}\.[0-9a-f]{64}\.[0-9a-f]{64}$/i);
|
|
11395
11422
|
contactBookEmailUnsubscribeQuery = external_exports.object({ token: contactBookEmailUnsubscribeTokenSchema });
|
|
11396
11423
|
orgListReferenceSchema = listName;
|
|
11424
|
+
hubListNameSchema = orgListReferenceSchema;
|
|
11425
|
+
HUB_LIST_FILTER_REQUIRED = "A hub list names at least one label or scope tag";
|
|
11426
|
+
hubContactListFilterSchema = contactListFilterSchema.refine(filterNamesAnything, HUB_LIST_FILTER_REQUIRED);
|
|
11427
|
+
hubContactListIdParam = external_exports.object({
|
|
11428
|
+
id: external_exports.string().uuid()
|
|
11429
|
+
});
|
|
11430
|
+
hubContactListHubQuery = external_exports.object({
|
|
11431
|
+
hub_id: external_exports.string().uuid()
|
|
11432
|
+
});
|
|
11433
|
+
description = external_exports.string().max(CONTACT_LIST_DESCRIPTION_MAX).nullable().optional();
|
|
11434
|
+
createHubContactListBody = external_exports.object({
|
|
11435
|
+
hub_id: external_exports.string().uuid(),
|
|
11436
|
+
name: hubListNameSchema,
|
|
11437
|
+
description,
|
|
11438
|
+
filter: hubContactListFilterSchema
|
|
11439
|
+
}).strict();
|
|
11440
|
+
updateHubContactListBody = external_exports.object({
|
|
11441
|
+
name: hubListNameSchema.optional(),
|
|
11442
|
+
description,
|
|
11443
|
+
filter: hubContactListFilterSchema.optional()
|
|
11444
|
+
}).strict();
|
|
11397
11445
|
AUTOMATION_TRIGGER_TYPES = ["schedule", "event", "webhook"];
|
|
11398
11446
|
AUTOMATION_TARGET_TYPES = ["none", "contact_list"];
|
|
11399
11447
|
AUTOMATION_ACTION_TYPES = ["run_agent", "send_message"];
|
|
@@ -11411,6 +11459,7 @@ var init_chunk_QLGOUXNO = __esm({
|
|
|
11411
11459
|
}).strict();
|
|
11412
11460
|
automationTargetSchema = external_exports.object({
|
|
11413
11461
|
type: external_exports.enum(AUTOMATION_TARGET_TYPES),
|
|
11462
|
+
list: hubListNameSchema.optional(),
|
|
11414
11463
|
org_list: orgListReferenceSchema.optional()
|
|
11415
11464
|
}).strict();
|
|
11416
11465
|
automationActionSchema = external_exports.object({
|
|
@@ -12811,10 +12860,10 @@ var init_chunk_R5WRRHCL = __esm({
|
|
|
12811
12860
|
var init_contracts = __esm({
|
|
12812
12861
|
"../../packages/core/dist/contracts/index.js"() {
|
|
12813
12862
|
"use strict";
|
|
12814
|
-
|
|
12863
|
+
init_chunk_H4RTULPH();
|
|
12815
12864
|
init_chunk_VORPHGDT();
|
|
12816
12865
|
init_chunk_POL7B3EM();
|
|
12817
|
-
|
|
12866
|
+
init_chunk_YEYIDIR6();
|
|
12818
12867
|
init_chunk_SNA2DXAC();
|
|
12819
12868
|
init_chunk_R5WRRHCL();
|
|
12820
12869
|
init_chunk_IBL7FANV();
|
|
@@ -14098,10 +14147,10 @@ var init_dist = __esm({
|
|
|
14098
14147
|
"../../packages/core/dist/index.js"() {
|
|
14099
14148
|
"use strict";
|
|
14100
14149
|
init_chunk_WSROLRJN();
|
|
14101
|
-
|
|
14150
|
+
init_chunk_H4RTULPH();
|
|
14102
14151
|
init_chunk_VORPHGDT();
|
|
14103
14152
|
init_chunk_POL7B3EM();
|
|
14104
|
-
|
|
14153
|
+
init_chunk_YEYIDIR6();
|
|
14105
14154
|
init_chunk_SNA2DXAC();
|
|
14106
14155
|
init_chunk_R5WRRHCL();
|
|
14107
14156
|
init_chunk_IBL7FANV();
|
|
@@ -14217,6 +14266,13 @@ var init_dist = __esm({
|
|
|
14217
14266
|
skipAuthenticatedUsers: true,
|
|
14218
14267
|
userLimitKey: "/api/automations/*"
|
|
14219
14268
|
},
|
|
14269
|
+
// A hub's own contact lists (wayai#4931 PR 2c): config edits, at the automations' rate.
|
|
14270
|
+
"/api/hub-contact-lists/*": {
|
|
14271
|
+
tier: "STANDARD",
|
|
14272
|
+
userLimit: 150,
|
|
14273
|
+
skipAuthenticatedUsers: true,
|
|
14274
|
+
userLimitKey: "/api/hub-contact-lists/*"
|
|
14275
|
+
},
|
|
14220
14276
|
"/api/message-templates/*": {
|
|
14221
14277
|
tier: "STANDARD",
|
|
14222
14278
|
userLimit: 150,
|
|
@@ -18211,13 +18267,17 @@ function parseHubFolder(hubFolder, opts) {
|
|
|
18211
18267
|
if (Array.isArray(config.automations)) {
|
|
18212
18268
|
payload.automations = config.automations;
|
|
18213
18269
|
}
|
|
18270
|
+
if (Array.isArray(config.contact_lists)) {
|
|
18271
|
+
payload.contact_lists = config.contact_lists;
|
|
18272
|
+
}
|
|
18214
18273
|
if (config.outbound_schedules !== void 0) {
|
|
18215
18274
|
console.warn(" Warning: hub.yaml `outbound_schedules:` is no longer read \u2014 schedules are now `automations:` (see the wayai skill). Its entries were not pushed.");
|
|
18216
18275
|
}
|
|
18217
|
-
|
|
18218
|
-
|
|
18219
|
-
|
|
18220
|
-
|
|
18276
|
+
if (config.outbound_contacts !== void 0) {
|
|
18277
|
+
console.warn(" Warning: hub.yaml `outbound_contacts:` is no longer read \u2014 contacts are now the organization's contact book (see the wayai skill). Its entries were not pushed.");
|
|
18278
|
+
}
|
|
18279
|
+
if (config.outbound_lists !== void 0) {
|
|
18280
|
+
console.warn(" Warning: hub.yaml `outbound_lists:` is no longer read \u2014 recreate each list as a hub list under `contact_lists:`, a filter over the organization's contact book, or as an organization list (see the wayai skill). Its entries were not pushed.");
|
|
18221
18281
|
}
|
|
18222
18282
|
const bytesByHash = /* @__PURE__ */ new Map();
|
|
18223
18283
|
const evals = scanEvalYamlFiles(hubFolder, bytesByHash, unreadable);
|
|
@@ -18722,6 +18782,9 @@ function buildYamlPayload(payload) {
|
|
|
18722
18782
|
if (payload.automations && payload.automations.length > 0) {
|
|
18723
18783
|
result.automations = payload.automations;
|
|
18724
18784
|
}
|
|
18785
|
+
if (payload.contact_lists && payload.contact_lists.length > 0) {
|
|
18786
|
+
result.contact_lists = payload.contact_lists;
|
|
18787
|
+
}
|
|
18725
18788
|
return result;
|
|
18726
18789
|
}
|
|
18727
18790
|
function writeAgentYamlFiles(hubFolder, agentsDir, agents, log) {
|
|
@@ -20245,6 +20308,9 @@ Sync complete. Preview hub: ${result.preview_hub_id}`);
|
|
|
20245
20308
|
if (c.automations_created > 0) parts.push(`${c.automations_created} automation(s) created`);
|
|
20246
20309
|
if (c.automations_updated > 0) parts.push(`${c.automations_updated} automation(s) updated`);
|
|
20247
20310
|
if (c.automations_deleted > 0) parts.push(`${c.automations_deleted} automation(s) deleted`);
|
|
20311
|
+
if (c.contact_lists_created > 0) parts.push(`${c.contact_lists_created} contact list(s) created`);
|
|
20312
|
+
if (c.contact_lists_updated > 0) parts.push(`${c.contact_lists_updated} contact list(s) updated`);
|
|
20313
|
+
if (c.contact_lists_deleted > 0) parts.push(`${c.contact_lists_deleted} contact list(s) deleted`);
|
|
20248
20314
|
if (parts.length > 0) {
|
|
20249
20315
|
console.log(`Changes: ${parts.join(", ")}`);
|
|
20250
20316
|
}
|
|
@@ -21232,13 +21298,7 @@ function renderHubDiff(result) {
|
|
|
21232
21298
|
console.log("\n\x1B[1mHub\x1B[0m");
|
|
21233
21299
|
console.log(`\x1B[${color}m${sym} hub settings\x1B[0m`);
|
|
21234
21300
|
}
|
|
21235
|
-
renderSection(
|
|
21236
|
-
renderSection("Connections", result.connections);
|
|
21237
|
-
renderSection("Tools", result.tools);
|
|
21238
|
-
renderSection("Channels", result.channels);
|
|
21239
|
-
renderSection("States", result.states);
|
|
21240
|
-
renderSection("Resources", result.resources);
|
|
21241
|
-
renderSection("Message templates", result.message_templates ?? []);
|
|
21301
|
+
for (const section of HUB_DIFF_SECTIONS) renderSection(SECTION_TITLES[section], result[section] ?? []);
|
|
21242
21302
|
console.log();
|
|
21243
21303
|
}
|
|
21244
21304
|
async function runPublish(client, opts) {
|
|
@@ -21320,7 +21380,7 @@ async function publishCommand(args2) {
|
|
|
21320
21380
|
assertInScope("hubs", hubId, hubFolder ? path28.basename(hubFolder) : void 0);
|
|
21321
21381
|
await runPublish(client, { hubId, localConfig, organizationId, autoConfirm });
|
|
21322
21382
|
}
|
|
21323
|
-
var STATUS_STYLE;
|
|
21383
|
+
var STATUS_STYLE, SECTION_TITLES;
|
|
21324
21384
|
var init_publish = __esm({
|
|
21325
21385
|
"src/commands/publish.ts"() {
|
|
21326
21386
|
"use strict";
|
|
@@ -21334,6 +21394,7 @@ var init_publish = __esm({
|
|
|
21334
21394
|
init_resource_files();
|
|
21335
21395
|
init_repo_config();
|
|
21336
21396
|
init_worktree_scope();
|
|
21397
|
+
init_contracts();
|
|
21337
21398
|
STATUS_STYLE = {
|
|
21338
21399
|
added: { sym: "+", color: 32 },
|
|
21339
21400
|
// green
|
|
@@ -21342,6 +21403,24 @@ var init_publish = __esm({
|
|
|
21342
21403
|
updated: { sym: "~", color: 33 }
|
|
21343
21404
|
// yellow
|
|
21344
21405
|
};
|
|
21406
|
+
SECTION_TITLES = {
|
|
21407
|
+
agents: "Agents",
|
|
21408
|
+
agent_parameters: "Agent parameters",
|
|
21409
|
+
connections: "Connections",
|
|
21410
|
+
mcp_tools: "MCP tools",
|
|
21411
|
+
tools: "Tools",
|
|
21412
|
+
channels: "Channels",
|
|
21413
|
+
states: "States",
|
|
21414
|
+
teams: "Teams",
|
|
21415
|
+
resources: "Resources",
|
|
21416
|
+
resource_folders: "Resource folders",
|
|
21417
|
+
resource_files: "Resource files",
|
|
21418
|
+
agent_resources: "Agent resources",
|
|
21419
|
+
message_templates: "Message templates",
|
|
21420
|
+
contact_lists: "Contact lists",
|
|
21421
|
+
automations: "Automations",
|
|
21422
|
+
evals: "Evals"
|
|
21423
|
+
};
|
|
21345
21424
|
}
|
|
21346
21425
|
});
|
|
21347
21426
|
|
|
@@ -22761,16 +22840,16 @@ function describeCategory(category) {
|
|
|
22761
22840
|
label: "Production credential missing",
|
|
22762
22841
|
hint: "A production connection has no credential. Set it with `wayai set-connection-credential`."
|
|
22763
22842
|
};
|
|
22764
|
-
// wayai#4931 PR 2b: an automation whose fire reached no org list.
|
|
22843
|
+
// wayai#4931 PR 2b, PR 2c: an automation whose fire reached no list — a hub list or an org list.
|
|
22765
22844
|
case AUTOMATION_ALERT_CATEGORIES.list_not_found:
|
|
22766
22845
|
return {
|
|
22767
22846
|
label: "Automation list not found",
|
|
22768
|
-
hint: "An automation names
|
|
22847
|
+
hint: "An automation names a list that no longer exists: a hub list (its `target.list`, kept in `hub.yaml` `contact_lists:`) or an org list (its `target.org_list`, in the organization's Contacts settings). Point it at another list, or create one with that name."
|
|
22769
22848
|
};
|
|
22770
22849
|
case AUTOMATION_ALERT_CATEGORIES.list_over_cap:
|
|
22771
22850
|
return {
|
|
22772
22851
|
label: "Automation list over the cap",
|
|
22773
|
-
hint: "An automation's
|
|
22852
|
+
hint: "An automation's list holds more contacts this hub sees than one fire may reach. Narrow the list's filter \u2014 a hub list in `hub.yaml` `contact_lists:`, an org list in the organization's Contacts settings."
|
|
22774
22853
|
};
|
|
22775
22854
|
// wayai#4931 D15: an automation, enabled and not paused, that cannot fire. Its subject is the
|
|
22776
22855
|
// automation, never a connection; the reason, naming the automation, is the alert's detail.
|
|
@@ -26998,7 +27077,7 @@ function parseArgs16(args2) {
|
|
|
26998
27077
|
let name;
|
|
26999
27078
|
let type;
|
|
27000
27079
|
let orgId;
|
|
27001
|
-
let
|
|
27080
|
+
let description2;
|
|
27002
27081
|
const tags = [];
|
|
27003
27082
|
let environment;
|
|
27004
27083
|
let stdin = false;
|
|
@@ -27010,7 +27089,7 @@ function parseArgs16(args2) {
|
|
|
27010
27089
|
} else if (args2[i] === "--org" && args2[i + 1]) {
|
|
27011
27090
|
orgId = args2[++i];
|
|
27012
27091
|
} else if (args2[i] === "--description" && args2[i + 1]) {
|
|
27013
|
-
|
|
27092
|
+
description2 = args2[++i];
|
|
27014
27093
|
} else if (args2[i] === "--tag" && args2[i + 1]) {
|
|
27015
27094
|
tags.push(args2[++i]);
|
|
27016
27095
|
} else if (args2[i] === "--environment" && args2[i + 1]) {
|
|
@@ -27019,7 +27098,7 @@ function parseArgs16(args2) {
|
|
|
27019
27098
|
stdin = true;
|
|
27020
27099
|
}
|
|
27021
27100
|
}
|
|
27022
|
-
return { name, type, orgId, description, tags: splitTagRefs(tags), environment, stdin };
|
|
27101
|
+
return { name, type, orgId, description: description2, tags: splitTagRefs(tags), environment, stdin };
|
|
27023
27102
|
}
|
|
27024
27103
|
async function createCredentialCommand(args2) {
|
|
27025
27104
|
const parsed = parseArgs16(args2);
|
|
@@ -27136,7 +27215,7 @@ function parseArgs17(args2) {
|
|
|
27136
27215
|
let name;
|
|
27137
27216
|
let rename;
|
|
27138
27217
|
let orgId;
|
|
27139
|
-
let
|
|
27218
|
+
let description2;
|
|
27140
27219
|
const tags = [];
|
|
27141
27220
|
let hasTagFlag = false;
|
|
27142
27221
|
let environment;
|
|
@@ -27150,7 +27229,7 @@ function parseArgs17(args2) {
|
|
|
27150
27229
|
} else if (args2[i] === "--org" && args2[i + 1]) {
|
|
27151
27230
|
orgId = args2[++i];
|
|
27152
27231
|
} else if (args2[i] === "--description" && args2[i + 1]) {
|
|
27153
|
-
|
|
27232
|
+
description2 = args2[++i];
|
|
27154
27233
|
} else if (args2[i] === "--tag" && args2[i + 1]) {
|
|
27155
27234
|
hasTagFlag = true;
|
|
27156
27235
|
tags.push(args2[++i]);
|
|
@@ -27162,7 +27241,7 @@ function parseArgs17(args2) {
|
|
|
27162
27241
|
secretPrompt = true;
|
|
27163
27242
|
}
|
|
27164
27243
|
}
|
|
27165
|
-
return { name, rename, orgId, description, tags: splitTagRefs(tags), hasTagFlag, environment, stdin, secretPrompt };
|
|
27244
|
+
return { name, rename, orgId, description: description2, tags: splitTagRefs(tags), hasTagFlag, environment, stdin, secretPrompt };
|
|
27166
27245
|
}
|
|
27167
27246
|
async function updateCredentialCommand(args2) {
|
|
27168
27247
|
const parsed = parseArgs17(args2);
|
|
@@ -29801,7 +29880,7 @@ function isVersionGateDisabled() {
|
|
|
29801
29880
|
}
|
|
29802
29881
|
async function reportCreateCommand(args2, cliVersion = null) {
|
|
29803
29882
|
let title;
|
|
29804
|
-
let
|
|
29883
|
+
let description2;
|
|
29805
29884
|
let source;
|
|
29806
29885
|
let classification;
|
|
29807
29886
|
let dedupKey;
|
|
@@ -29818,7 +29897,7 @@ async function reportCreateCommand(args2, cliVersion = null) {
|
|
|
29818
29897
|
} else if (arg === "--title" || arg === "-t") {
|
|
29819
29898
|
title = args2[++i];
|
|
29820
29899
|
} else if (arg === "--description" || arg === "-d") {
|
|
29821
|
-
|
|
29900
|
+
description2 = args2[++i];
|
|
29822
29901
|
} else if (arg === "--source") {
|
|
29823
29902
|
source = args2[++i];
|
|
29824
29903
|
} else if (arg === "--classification") {
|
|
@@ -29837,7 +29916,7 @@ async function reportCreateCommand(args2, cliVersion = null) {
|
|
|
29837
29916
|
context = args2[++i];
|
|
29838
29917
|
}
|
|
29839
29918
|
}
|
|
29840
|
-
if (!title || !
|
|
29919
|
+
if (!title || !description2) {
|
|
29841
29920
|
console.error('Usage: wayai report create --title "Title" --description "Description"');
|
|
29842
29921
|
console.error("");
|
|
29843
29922
|
console.error("Required:");
|
|
@@ -29890,7 +29969,7 @@ ${alertSummary}` : alertSummary;
|
|
|
29890
29969
|
try {
|
|
29891
29970
|
const result = await client.submitReport({
|
|
29892
29971
|
title,
|
|
29893
|
-
description,
|
|
29972
|
+
description: description2,
|
|
29894
29973
|
source,
|
|
29895
29974
|
classification,
|
|
29896
29975
|
dedup_key: dedupKey,
|
|
@@ -30086,10 +30165,10 @@ async function reportGetCommand(args2) {
|
|
|
30086
30165
|
}
|
|
30087
30166
|
const { report: report2, messages } = result;
|
|
30088
30167
|
const title = sanitizeTerminalText(report2.title);
|
|
30089
|
-
const
|
|
30168
|
+
const description2 = sanitizeTerminalText(report2.description);
|
|
30090
30169
|
console.log(`Report ${report2.report_id}`);
|
|
30091
30170
|
console.log(` title: ${title}`);
|
|
30092
|
-
console.log(` description: ${
|
|
30171
|
+
console.log(` description: ${description2.replace(/\n/g, "\n ")}`);
|
|
30093
30172
|
console.log(` status: ${report2.status}`);
|
|
30094
30173
|
console.log(` classification: ${report2.classification}`);
|
|
30095
30174
|
if (report2.contest_count > 0) console.log(` contests: ${report2.contest_count}`);
|