@wayai/cli 0.3.195 → 0.3.197

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 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, description) {
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(description) {
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 description = isRecord(property) ? property.description : void 0;
6810
- return typeof description === "string" && description.trim() !== "" ? description : field;
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-2QR42BQR.js
6923
+ // ../../packages/core/dist/chunk-EIL5BR3V.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 init_chunk_2QR42BQR = __esm({
8171
- "../../packages/core/dist/chunk-2QR42BQR.js"() {
8170
+ var init_chunk_EIL5BR3V = __esm({
8171
+ "../../packages/core/dist/chunk-EIL5BR3V.js"() {
8172
8172
  "use strict";
8173
8173
  init_chunk_SNA2DXAC();
8174
8174
  init_chunk_IBL7FANV();
@@ -9284,6 +9284,7 @@ var init_chunk_2QR42BQR = __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_2QR42BQR = __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_2QR42BQR = __esm({
9368
9372
  }
9369
9373
  });
9370
9374
 
9371
- // ../../packages/core/dist/chunk-CYH5EXLP.js
9375
+ // ../../packages/core/dist/chunk-F7YXOQSU.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, 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, orgListReferenceSchema, AUTOMATION_TRIGGER_TYPES, AUTOMATION_TARGET_TYPES, AUTOMATION_ACTION_TYPES, AUTOMATION_CHANNEL_TYPES, 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 init_chunk_CYH5EXLP = __esm({
9438
- "../../packages/core/dist/chunk-CYH5EXLP.js"() {
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, 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_F7YXOQSU = __esm({
9445
+ "../../packages/core/dist/chunk-F7YXOQSU.js"() {
9439
9446
  "use strict";
9440
9447
  init_chunk_VORPHGDT();
9441
9448
  init_chunk_POL7B3EM();
9442
- init_chunk_2QR42BQR();
9449
+ init_chunk_EIL5BR3V();
9443
9450
  init_chunk_3NS3HULK();
9444
9451
  init_chunk_MIWZOSPI();
9445
9452
  init_chunk_JWPRTSIB();
@@ -9496,6 +9503,7 @@ var init_chunk_CYH5EXLP = __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",
@@ -11255,6 +11263,8 @@ var init_chunk_CYH5EXLP = __esm({
11255
11263
  CONTACT_LIST_DESCRIPTION_MAX = 1e3;
11256
11264
  CONTACT_LIST_FILTER_MAX = 20;
11257
11265
  CONTACT_LIST_PINS_PER_REQUEST_MAX = 100;
11266
+ SUPPRESSION_SCOPES = ["all", "marketing"];
11267
+ SUPPRESSION_ID_REGEX = /^[0-9a-f]{64}$/;
11258
11268
  contactName = external_exports.string().trim().min(1).max(CONTACT_NAME_MAX);
11259
11269
  contactPhone = external_exports.string().max(CONTACT_PHONE_INPUT_MAX).transform((raw, ctx) => {
11260
11270
  const phone = normalizeContactPhone(raw);
@@ -11374,11 +11384,50 @@ var init_chunk_CYH5EXLP = __esm({
11374
11384
  add: external_exports.array(external_exports.string().uuid()).max(CONTACT_LIST_PINS_PER_REQUEST_MAX).default([]),
11375
11385
  remove: external_exports.array(external_exports.string().uuid()).max(CONTACT_LIST_PINS_PER_REQUEST_MAX).default([])
11376
11386
  }).strict().refine((b) => b.add.length + b.remove.length > 0, "Add or remove at least one contact");
11387
+ suppressionIdentitySchema = external_exports.discriminatedUnion("kind", [
11388
+ external_exports.object({ kind: external_exports.literal("phone"), value: contactPhone }).strict(),
11389
+ external_exports.object({ kind: external_exports.literal("email"), value: contactEmail }).strict(),
11390
+ external_exports.object({ kind: external_exports.literal("instagram"), value: contactInstagramSid }).strict()
11391
+ ]);
11392
+ createContactBookSuppressionBody = external_exports.object({
11393
+ organization_id: external_exports.string().uuid(),
11394
+ identity: suppressionIdentitySchema,
11395
+ scope: external_exports.enum(SUPPRESSION_SCOPES)
11396
+ }).strict();
11397
+ contactBookSuppressionParam = external_exports.object({
11398
+ suppressionId: external_exports.string().regex(SUPPRESSION_ID_REGEX)
11399
+ });
11400
+ listContactBookSuppressionsQuery = contactBookOrgQuery.merge(contactBookPageQuery);
11401
+ CONTACT_BOOK_EMAIL_UNSUBSCRIBE_PATH = "/api/contact-book/email-unsubscribe";
11402
+ contactBookEmailUnsubscribeTokenSchema = external_exports.string().max(200).regex(/^[0-9a-f-]{36}\.[0-9a-f]{64}\.[0-9a-f]{64}$/i);
11403
+ contactBookEmailUnsubscribeQuery = external_exports.object({ token: contactBookEmailUnsubscribeTokenSchema });
11377
11404
  orgListReferenceSchema = listName;
11405
+ hubListNameSchema = orgListReferenceSchema;
11406
+ HUB_LIST_FILTER_REQUIRED = "A hub list names at least one label or scope tag";
11407
+ hubContactListFilterSchema = contactListFilterSchema.refine(filterNamesAnything, HUB_LIST_FILTER_REQUIRED);
11408
+ hubContactListIdParam = external_exports.object({
11409
+ id: external_exports.string().uuid()
11410
+ });
11411
+ hubContactListHubQuery = external_exports.object({
11412
+ hub_id: external_exports.string().uuid()
11413
+ });
11414
+ description = external_exports.string().max(CONTACT_LIST_DESCRIPTION_MAX).nullable().optional();
11415
+ createHubContactListBody = external_exports.object({
11416
+ hub_id: external_exports.string().uuid(),
11417
+ name: hubListNameSchema,
11418
+ description,
11419
+ filter: hubContactListFilterSchema
11420
+ }).strict();
11421
+ updateHubContactListBody = external_exports.object({
11422
+ name: hubListNameSchema.optional(),
11423
+ description,
11424
+ filter: hubContactListFilterSchema.optional()
11425
+ }).strict();
11378
11426
  AUTOMATION_TRIGGER_TYPES = ["schedule", "event", "webhook"];
11379
11427
  AUTOMATION_TARGET_TYPES = ["none", "contact_list"];
11380
11428
  AUTOMATION_ACTION_TYPES = ["run_agent", "send_message"];
11381
11429
  AUTOMATION_CHANNEL_TYPES = ["whatsapp", "instagram", "email", "app"];
11430
+ AUTOMATION_PURPOSES = ["marketing", "operational"];
11382
11431
  AUTOMATION_NAME_MAX = 100;
11383
11432
  AUTOMATION_DESCRIPTION_MAX = 1e3;
11384
11433
  AUTOMATION_INSTRUCTIONS_MAX = 1e4;
@@ -11391,6 +11440,7 @@ var init_chunk_CYH5EXLP = __esm({
11391
11440
  }).strict();
11392
11441
  automationTargetSchema = external_exports.object({
11393
11442
  type: external_exports.enum(AUTOMATION_TARGET_TYPES),
11443
+ list: hubListNameSchema.optional(),
11394
11444
  org_list: orgListReferenceSchema.optional()
11395
11445
  }).strict();
11396
11446
  automationActionSchema = external_exports.object({
@@ -11420,6 +11470,8 @@ var init_chunk_CYH5EXLP = __esm({
11420
11470
  hub_id: external_exports.string().uuid(),
11421
11471
  name: automationName,
11422
11472
  description: automationDescription,
11473
+ /** Absent is `DEFAULT_AUTOMATION_PURPOSE`. */
11474
+ purpose: external_exports.enum(AUTOMATION_PURPOSES).optional(),
11423
11475
  trigger: automationTriggerSchema,
11424
11476
  target: automationTargetSchema,
11425
11477
  action: automationActionSchema
@@ -11427,6 +11479,7 @@ var init_chunk_CYH5EXLP = __esm({
11427
11479
  updateAutomationBody = external_exports.object({
11428
11480
  name: automationName.optional(),
11429
11481
  description: automationDescription,
11482
+ purpose: external_exports.enum(AUTOMATION_PURPOSES).optional(),
11430
11483
  trigger: automationTriggerSchema.optional(),
11431
11484
  target: automationTargetSchema.optional(),
11432
11485
  action: automationActionSchema.optional()
@@ -12788,10 +12841,10 @@ var init_chunk_R5WRRHCL = __esm({
12788
12841
  var init_contracts = __esm({
12789
12842
  "../../packages/core/dist/contracts/index.js"() {
12790
12843
  "use strict";
12791
- init_chunk_CYH5EXLP();
12844
+ init_chunk_F7YXOQSU();
12792
12845
  init_chunk_VORPHGDT();
12793
12846
  init_chunk_POL7B3EM();
12794
- init_chunk_2QR42BQR();
12847
+ init_chunk_EIL5BR3V();
12795
12848
  init_chunk_SNA2DXAC();
12796
12849
  init_chunk_R5WRRHCL();
12797
12850
  init_chunk_IBL7FANV();
@@ -14075,10 +14128,10 @@ var init_dist = __esm({
14075
14128
  "../../packages/core/dist/index.js"() {
14076
14129
  "use strict";
14077
14130
  init_chunk_WSROLRJN();
14078
- init_chunk_CYH5EXLP();
14131
+ init_chunk_F7YXOQSU();
14079
14132
  init_chunk_VORPHGDT();
14080
14133
  init_chunk_POL7B3EM();
14081
- init_chunk_2QR42BQR();
14134
+ init_chunk_EIL5BR3V();
14082
14135
  init_chunk_SNA2DXAC();
14083
14136
  init_chunk_R5WRRHCL();
14084
14137
  init_chunk_IBL7FANV();
@@ -14182,12 +14235,25 @@ var init_dist = __esm({
14182
14235
  skipAuthenticatedUsers: true,
14183
14236
  userLimitKey: "/api/contact-book/*"
14184
14237
  },
14238
+ // An automation email's one-click unsubscribe (wayai#4931 PR 2d) — public: its token is its one
14239
+ // credential, so this per-IP limit is its one bound, and runs before the route reads anything.
14240
+ // MODERATE (30/min per IP), as the community email's unsubscribe, for the same reason: mail
14241
+ // clients' one-click unsubscribe POSTs it from their own servers, which many recipients' clicks
14242
+ // share. An exact key, so it wins over the wildcard above.
14243
+ [CONTACT_BOOK_EMAIL_UNSUBSCRIBE_PATH]: { tier: "MODERATE" },
14185
14244
  "/api/automations/*": {
14186
14245
  tier: "STANDARD",
14187
14246
  userLimit: 150,
14188
14247
  skipAuthenticatedUsers: true,
14189
14248
  userLimitKey: "/api/automations/*"
14190
14249
  },
14250
+ // A hub's own contact lists (wayai#4931 PR 2c): config edits, at the automations' rate.
14251
+ "/api/hub-contact-lists/*": {
14252
+ tier: "STANDARD",
14253
+ userLimit: 150,
14254
+ skipAuthenticatedUsers: true,
14255
+ userLimitKey: "/api/hub-contact-lists/*"
14256
+ },
14191
14257
  "/api/message-templates/*": {
14192
14258
  tier: "STANDARD",
14193
14259
  userLimit: 150,
@@ -18182,13 +18248,17 @@ function parseHubFolder(hubFolder, opts) {
18182
18248
  if (Array.isArray(config.automations)) {
18183
18249
  payload.automations = config.automations;
18184
18250
  }
18251
+ if (Array.isArray(config.contact_lists)) {
18252
+ payload.contact_lists = config.contact_lists;
18253
+ }
18185
18254
  if (config.outbound_schedules !== void 0) {
18186
18255
  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.");
18187
18256
  }
18188
- for (const key of ["outbound_contacts", "outbound_lists"]) {
18189
- if (config[key] !== void 0) {
18190
- console.warn(` Warning: hub.yaml \`${key}:\` is no longer read \u2014 contacts and lists are now the organization's contact book (see the wayai skill). Its entries were not pushed.`);
18191
- }
18257
+ if (config.outbound_contacts !== void 0) {
18258
+ 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.");
18259
+ }
18260
+ if (config.outbound_lists !== void 0) {
18261
+ 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.");
18192
18262
  }
18193
18263
  const bytesByHash = /* @__PURE__ */ new Map();
18194
18264
  const evals = scanEvalYamlFiles(hubFolder, bytesByHash, unreadable);
@@ -18693,6 +18763,9 @@ function buildYamlPayload(payload) {
18693
18763
  if (payload.automations && payload.automations.length > 0) {
18694
18764
  result.automations = payload.automations;
18695
18765
  }
18766
+ if (payload.contact_lists && payload.contact_lists.length > 0) {
18767
+ result.contact_lists = payload.contact_lists;
18768
+ }
18696
18769
  return result;
18697
18770
  }
18698
18771
  function writeAgentYamlFiles(hubFolder, agentsDir, agents, log) {
@@ -20216,6 +20289,9 @@ Sync complete. Preview hub: ${result.preview_hub_id}`);
20216
20289
  if (c.automations_created > 0) parts.push(`${c.automations_created} automation(s) created`);
20217
20290
  if (c.automations_updated > 0) parts.push(`${c.automations_updated} automation(s) updated`);
20218
20291
  if (c.automations_deleted > 0) parts.push(`${c.automations_deleted} automation(s) deleted`);
20292
+ if (c.contact_lists_created > 0) parts.push(`${c.contact_lists_created} contact list(s) created`);
20293
+ if (c.contact_lists_updated > 0) parts.push(`${c.contact_lists_updated} contact list(s) updated`);
20294
+ if (c.contact_lists_deleted > 0) parts.push(`${c.contact_lists_deleted} contact list(s) deleted`);
20219
20295
  if (parts.length > 0) {
20220
20296
  console.log(`Changes: ${parts.join(", ")}`);
20221
20297
  }
@@ -21209,6 +21285,7 @@ function renderHubDiff(result) {
21209
21285
  renderSection("Channels", result.channels);
21210
21286
  renderSection("States", result.states);
21211
21287
  renderSection("Resources", result.resources);
21288
+ renderSection("Message templates", result.message_templates ?? []);
21212
21289
  console.log();
21213
21290
  }
21214
21291
  async function runPublish(client, opts) {
@@ -22731,16 +22808,16 @@ function describeCategory(category) {
22731
22808
  label: "Production credential missing",
22732
22809
  hint: "A production connection has no credential. Set it with `wayai set-connection-credential`."
22733
22810
  };
22734
- // wayai#4931 PR 2b: an automation whose fire reached no org list.
22811
+ // wayai#4931 PR 2b, PR 2c: an automation whose fire reached no list — a hub list or an org list.
22735
22812
  case AUTOMATION_ALERT_CATEGORIES.list_not_found:
22736
22813
  return {
22737
22814
  label: "Automation list not found",
22738
- hint: "An automation names an org list the organization no longer has. Point it at another list (its `target.org_list`), or create the list in the organization's Contacts settings."
22815
+ 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."
22739
22816
  };
22740
22817
  case AUTOMATION_ALERT_CATEGORIES.list_over_cap:
22741
22818
  return {
22742
22819
  label: "Automation list over the cap",
22743
- hint: "An automation's org list holds more contacts this hub sees than one fire may reach. Narrow the list's filter in the organization's Contacts settings."
22820
+ 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."
22744
22821
  };
22745
22822
  // wayai#4931 D15: an automation, enabled and not paused, that cannot fire. Its subject is the
22746
22823
  // automation, never a connection; the reason, naming the automation, is the alert's detail.
@@ -26968,7 +27045,7 @@ function parseArgs16(args2) {
26968
27045
  let name;
26969
27046
  let type;
26970
27047
  let orgId;
26971
- let description;
27048
+ let description2;
26972
27049
  const tags = [];
26973
27050
  let environment;
26974
27051
  let stdin = false;
@@ -26980,7 +27057,7 @@ function parseArgs16(args2) {
26980
27057
  } else if (args2[i] === "--org" && args2[i + 1]) {
26981
27058
  orgId = args2[++i];
26982
27059
  } else if (args2[i] === "--description" && args2[i + 1]) {
26983
- description = args2[++i];
27060
+ description2 = args2[++i];
26984
27061
  } else if (args2[i] === "--tag" && args2[i + 1]) {
26985
27062
  tags.push(args2[++i]);
26986
27063
  } else if (args2[i] === "--environment" && args2[i + 1]) {
@@ -26989,7 +27066,7 @@ function parseArgs16(args2) {
26989
27066
  stdin = true;
26990
27067
  }
26991
27068
  }
26992
- return { name, type, orgId, description, tags: splitTagRefs(tags), environment, stdin };
27069
+ return { name, type, orgId, description: description2, tags: splitTagRefs(tags), environment, stdin };
26993
27070
  }
26994
27071
  async function createCredentialCommand(args2) {
26995
27072
  const parsed = parseArgs16(args2);
@@ -27106,7 +27183,7 @@ function parseArgs17(args2) {
27106
27183
  let name;
27107
27184
  let rename;
27108
27185
  let orgId;
27109
- let description;
27186
+ let description2;
27110
27187
  const tags = [];
27111
27188
  let hasTagFlag = false;
27112
27189
  let environment;
@@ -27120,7 +27197,7 @@ function parseArgs17(args2) {
27120
27197
  } else if (args2[i] === "--org" && args2[i + 1]) {
27121
27198
  orgId = args2[++i];
27122
27199
  } else if (args2[i] === "--description" && args2[i + 1]) {
27123
- description = args2[++i];
27200
+ description2 = args2[++i];
27124
27201
  } else if (args2[i] === "--tag" && args2[i + 1]) {
27125
27202
  hasTagFlag = true;
27126
27203
  tags.push(args2[++i]);
@@ -27132,7 +27209,7 @@ function parseArgs17(args2) {
27132
27209
  secretPrompt = true;
27133
27210
  }
27134
27211
  }
27135
- return { name, rename, orgId, description, tags: splitTagRefs(tags), hasTagFlag, environment, stdin, secretPrompt };
27212
+ return { name, rename, orgId, description: description2, tags: splitTagRefs(tags), hasTagFlag, environment, stdin, secretPrompt };
27136
27213
  }
27137
27214
  async function updateCredentialCommand(args2) {
27138
27215
  const parsed = parseArgs17(args2);
@@ -29771,7 +29848,7 @@ function isVersionGateDisabled() {
29771
29848
  }
29772
29849
  async function reportCreateCommand(args2, cliVersion = null) {
29773
29850
  let title;
29774
- let description;
29851
+ let description2;
29775
29852
  let source;
29776
29853
  let classification;
29777
29854
  let dedupKey;
@@ -29788,7 +29865,7 @@ async function reportCreateCommand(args2, cliVersion = null) {
29788
29865
  } else if (arg === "--title" || arg === "-t") {
29789
29866
  title = args2[++i];
29790
29867
  } else if (arg === "--description" || arg === "-d") {
29791
- description = args2[++i];
29868
+ description2 = args2[++i];
29792
29869
  } else if (arg === "--source") {
29793
29870
  source = args2[++i];
29794
29871
  } else if (arg === "--classification") {
@@ -29807,7 +29884,7 @@ async function reportCreateCommand(args2, cliVersion = null) {
29807
29884
  context = args2[++i];
29808
29885
  }
29809
29886
  }
29810
- if (!title || !description) {
29887
+ if (!title || !description2) {
29811
29888
  console.error('Usage: wayai report create --title "Title" --description "Description"');
29812
29889
  console.error("");
29813
29890
  console.error("Required:");
@@ -29860,7 +29937,7 @@ ${alertSummary}` : alertSummary;
29860
29937
  try {
29861
29938
  const result = await client.submitReport({
29862
29939
  title,
29863
- description,
29940
+ description: description2,
29864
29941
  source,
29865
29942
  classification,
29866
29943
  dedup_key: dedupKey,
@@ -30056,10 +30133,10 @@ async function reportGetCommand(args2) {
30056
30133
  }
30057
30134
  const { report: report2, messages } = result;
30058
30135
  const title = sanitizeTerminalText(report2.title);
30059
- const description = sanitizeTerminalText(report2.description);
30136
+ const description2 = sanitizeTerminalText(report2.description);
30060
30137
  console.log(`Report ${report2.report_id}`);
30061
30138
  console.log(` title: ${title}`);
30062
- console.log(` description: ${description.replace(/\n/g, "\n ")}`);
30139
+ console.log(` description: ${description2.replace(/\n/g, "\n ")}`);
30063
30140
  console.log(` status: ${report2.status}`);
30064
30141
  console.log(` classification: ${report2.classification}`);
30065
30142
  if (report2.contest_count > 0) console.log(` contests: ${report2.contest_count}`);