@wayai/cli 0.3.196 → 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 +88 -41
- 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-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
|
|
8171
|
-
"../../packages/core/dist/chunk-
|
|
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_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-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, 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, 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
|
-
|
|
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_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",
|
|
@@ -11394,6 +11402,27 @@ var init_chunk_QLGOUXNO = __esm({
|
|
|
11394
11402
|
contactBookEmailUnsubscribeTokenSchema = external_exports.string().max(200).regex(/^[0-9a-f-]{36}\.[0-9a-f]{64}\.[0-9a-f]{64}$/i);
|
|
11395
11403
|
contactBookEmailUnsubscribeQuery = external_exports.object({ token: contactBookEmailUnsubscribeTokenSchema });
|
|
11396
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();
|
|
11397
11426
|
AUTOMATION_TRIGGER_TYPES = ["schedule", "event", "webhook"];
|
|
11398
11427
|
AUTOMATION_TARGET_TYPES = ["none", "contact_list"];
|
|
11399
11428
|
AUTOMATION_ACTION_TYPES = ["run_agent", "send_message"];
|
|
@@ -11411,6 +11440,7 @@ var init_chunk_QLGOUXNO = __esm({
|
|
|
11411
11440
|
}).strict();
|
|
11412
11441
|
automationTargetSchema = external_exports.object({
|
|
11413
11442
|
type: external_exports.enum(AUTOMATION_TARGET_TYPES),
|
|
11443
|
+
list: hubListNameSchema.optional(),
|
|
11414
11444
|
org_list: orgListReferenceSchema.optional()
|
|
11415
11445
|
}).strict();
|
|
11416
11446
|
automationActionSchema = external_exports.object({
|
|
@@ -12811,10 +12841,10 @@ var init_chunk_R5WRRHCL = __esm({
|
|
|
12811
12841
|
var init_contracts = __esm({
|
|
12812
12842
|
"../../packages/core/dist/contracts/index.js"() {
|
|
12813
12843
|
"use strict";
|
|
12814
|
-
|
|
12844
|
+
init_chunk_F7YXOQSU();
|
|
12815
12845
|
init_chunk_VORPHGDT();
|
|
12816
12846
|
init_chunk_POL7B3EM();
|
|
12817
|
-
|
|
12847
|
+
init_chunk_EIL5BR3V();
|
|
12818
12848
|
init_chunk_SNA2DXAC();
|
|
12819
12849
|
init_chunk_R5WRRHCL();
|
|
12820
12850
|
init_chunk_IBL7FANV();
|
|
@@ -14098,10 +14128,10 @@ var init_dist = __esm({
|
|
|
14098
14128
|
"../../packages/core/dist/index.js"() {
|
|
14099
14129
|
"use strict";
|
|
14100
14130
|
init_chunk_WSROLRJN();
|
|
14101
|
-
|
|
14131
|
+
init_chunk_F7YXOQSU();
|
|
14102
14132
|
init_chunk_VORPHGDT();
|
|
14103
14133
|
init_chunk_POL7B3EM();
|
|
14104
|
-
|
|
14134
|
+
init_chunk_EIL5BR3V();
|
|
14105
14135
|
init_chunk_SNA2DXAC();
|
|
14106
14136
|
init_chunk_R5WRRHCL();
|
|
14107
14137
|
init_chunk_IBL7FANV();
|
|
@@ -14217,6 +14247,13 @@ var init_dist = __esm({
|
|
|
14217
14247
|
skipAuthenticatedUsers: true,
|
|
14218
14248
|
userLimitKey: "/api/automations/*"
|
|
14219
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
|
+
},
|
|
14220
14257
|
"/api/message-templates/*": {
|
|
14221
14258
|
tier: "STANDARD",
|
|
14222
14259
|
userLimit: 150,
|
|
@@ -18211,13 +18248,17 @@ function parseHubFolder(hubFolder, opts) {
|
|
|
18211
18248
|
if (Array.isArray(config.automations)) {
|
|
18212
18249
|
payload.automations = config.automations;
|
|
18213
18250
|
}
|
|
18251
|
+
if (Array.isArray(config.contact_lists)) {
|
|
18252
|
+
payload.contact_lists = config.contact_lists;
|
|
18253
|
+
}
|
|
18214
18254
|
if (config.outbound_schedules !== void 0) {
|
|
18215
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.");
|
|
18216
18256
|
}
|
|
18217
|
-
|
|
18218
|
-
|
|
18219
|
-
|
|
18220
|
-
|
|
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.");
|
|
18221
18262
|
}
|
|
18222
18263
|
const bytesByHash = /* @__PURE__ */ new Map();
|
|
18223
18264
|
const evals = scanEvalYamlFiles(hubFolder, bytesByHash, unreadable);
|
|
@@ -18722,6 +18763,9 @@ function buildYamlPayload(payload) {
|
|
|
18722
18763
|
if (payload.automations && payload.automations.length > 0) {
|
|
18723
18764
|
result.automations = payload.automations;
|
|
18724
18765
|
}
|
|
18766
|
+
if (payload.contact_lists && payload.contact_lists.length > 0) {
|
|
18767
|
+
result.contact_lists = payload.contact_lists;
|
|
18768
|
+
}
|
|
18725
18769
|
return result;
|
|
18726
18770
|
}
|
|
18727
18771
|
function writeAgentYamlFiles(hubFolder, agentsDir, agents, log) {
|
|
@@ -20245,6 +20289,9 @@ Sync complete. Preview hub: ${result.preview_hub_id}`);
|
|
|
20245
20289
|
if (c.automations_created > 0) parts.push(`${c.automations_created} automation(s) created`);
|
|
20246
20290
|
if (c.automations_updated > 0) parts.push(`${c.automations_updated} automation(s) updated`);
|
|
20247
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`);
|
|
20248
20295
|
if (parts.length > 0) {
|
|
20249
20296
|
console.log(`Changes: ${parts.join(", ")}`);
|
|
20250
20297
|
}
|
|
@@ -22761,16 +22808,16 @@ function describeCategory(category) {
|
|
|
22761
22808
|
label: "Production credential missing",
|
|
22762
22809
|
hint: "A production connection has no credential. Set it with `wayai set-connection-credential`."
|
|
22763
22810
|
};
|
|
22764
|
-
// 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.
|
|
22765
22812
|
case AUTOMATION_ALERT_CATEGORIES.list_not_found:
|
|
22766
22813
|
return {
|
|
22767
22814
|
label: "Automation list not found",
|
|
22768
|
-
hint: "An automation names
|
|
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."
|
|
22769
22816
|
};
|
|
22770
22817
|
case AUTOMATION_ALERT_CATEGORIES.list_over_cap:
|
|
22771
22818
|
return {
|
|
22772
22819
|
label: "Automation list over the cap",
|
|
22773
|
-
hint: "An automation's
|
|
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."
|
|
22774
22821
|
};
|
|
22775
22822
|
// wayai#4931 D15: an automation, enabled and not paused, that cannot fire. Its subject is the
|
|
22776
22823
|
// automation, never a connection; the reason, naming the automation, is the alert's detail.
|
|
@@ -26998,7 +27045,7 @@ function parseArgs16(args2) {
|
|
|
26998
27045
|
let name;
|
|
26999
27046
|
let type;
|
|
27000
27047
|
let orgId;
|
|
27001
|
-
let
|
|
27048
|
+
let description2;
|
|
27002
27049
|
const tags = [];
|
|
27003
27050
|
let environment;
|
|
27004
27051
|
let stdin = false;
|
|
@@ -27010,7 +27057,7 @@ function parseArgs16(args2) {
|
|
|
27010
27057
|
} else if (args2[i] === "--org" && args2[i + 1]) {
|
|
27011
27058
|
orgId = args2[++i];
|
|
27012
27059
|
} else if (args2[i] === "--description" && args2[i + 1]) {
|
|
27013
|
-
|
|
27060
|
+
description2 = args2[++i];
|
|
27014
27061
|
} else if (args2[i] === "--tag" && args2[i + 1]) {
|
|
27015
27062
|
tags.push(args2[++i]);
|
|
27016
27063
|
} else if (args2[i] === "--environment" && args2[i + 1]) {
|
|
@@ -27019,7 +27066,7 @@ function parseArgs16(args2) {
|
|
|
27019
27066
|
stdin = true;
|
|
27020
27067
|
}
|
|
27021
27068
|
}
|
|
27022
|
-
return { name, type, orgId, description, tags: splitTagRefs(tags), environment, stdin };
|
|
27069
|
+
return { name, type, orgId, description: description2, tags: splitTagRefs(tags), environment, stdin };
|
|
27023
27070
|
}
|
|
27024
27071
|
async function createCredentialCommand(args2) {
|
|
27025
27072
|
const parsed = parseArgs16(args2);
|
|
@@ -27136,7 +27183,7 @@ function parseArgs17(args2) {
|
|
|
27136
27183
|
let name;
|
|
27137
27184
|
let rename;
|
|
27138
27185
|
let orgId;
|
|
27139
|
-
let
|
|
27186
|
+
let description2;
|
|
27140
27187
|
const tags = [];
|
|
27141
27188
|
let hasTagFlag = false;
|
|
27142
27189
|
let environment;
|
|
@@ -27150,7 +27197,7 @@ function parseArgs17(args2) {
|
|
|
27150
27197
|
} else if (args2[i] === "--org" && args2[i + 1]) {
|
|
27151
27198
|
orgId = args2[++i];
|
|
27152
27199
|
} else if (args2[i] === "--description" && args2[i + 1]) {
|
|
27153
|
-
|
|
27200
|
+
description2 = args2[++i];
|
|
27154
27201
|
} else if (args2[i] === "--tag" && args2[i + 1]) {
|
|
27155
27202
|
hasTagFlag = true;
|
|
27156
27203
|
tags.push(args2[++i]);
|
|
@@ -27162,7 +27209,7 @@ function parseArgs17(args2) {
|
|
|
27162
27209
|
secretPrompt = true;
|
|
27163
27210
|
}
|
|
27164
27211
|
}
|
|
27165
|
-
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 };
|
|
27166
27213
|
}
|
|
27167
27214
|
async function updateCredentialCommand(args2) {
|
|
27168
27215
|
const parsed = parseArgs17(args2);
|
|
@@ -29801,7 +29848,7 @@ function isVersionGateDisabled() {
|
|
|
29801
29848
|
}
|
|
29802
29849
|
async function reportCreateCommand(args2, cliVersion = null) {
|
|
29803
29850
|
let title;
|
|
29804
|
-
let
|
|
29851
|
+
let description2;
|
|
29805
29852
|
let source;
|
|
29806
29853
|
let classification;
|
|
29807
29854
|
let dedupKey;
|
|
@@ -29818,7 +29865,7 @@ async function reportCreateCommand(args2, cliVersion = null) {
|
|
|
29818
29865
|
} else if (arg === "--title" || arg === "-t") {
|
|
29819
29866
|
title = args2[++i];
|
|
29820
29867
|
} else if (arg === "--description" || arg === "-d") {
|
|
29821
|
-
|
|
29868
|
+
description2 = args2[++i];
|
|
29822
29869
|
} else if (arg === "--source") {
|
|
29823
29870
|
source = args2[++i];
|
|
29824
29871
|
} else if (arg === "--classification") {
|
|
@@ -29837,7 +29884,7 @@ async function reportCreateCommand(args2, cliVersion = null) {
|
|
|
29837
29884
|
context = args2[++i];
|
|
29838
29885
|
}
|
|
29839
29886
|
}
|
|
29840
|
-
if (!title || !
|
|
29887
|
+
if (!title || !description2) {
|
|
29841
29888
|
console.error('Usage: wayai report create --title "Title" --description "Description"');
|
|
29842
29889
|
console.error("");
|
|
29843
29890
|
console.error("Required:");
|
|
@@ -29890,7 +29937,7 @@ ${alertSummary}` : alertSummary;
|
|
|
29890
29937
|
try {
|
|
29891
29938
|
const result = await client.submitReport({
|
|
29892
29939
|
title,
|
|
29893
|
-
description,
|
|
29940
|
+
description: description2,
|
|
29894
29941
|
source,
|
|
29895
29942
|
classification,
|
|
29896
29943
|
dedup_key: dedupKey,
|
|
@@ -30086,10 +30133,10 @@ async function reportGetCommand(args2) {
|
|
|
30086
30133
|
}
|
|
30087
30134
|
const { report: report2, messages } = result;
|
|
30088
30135
|
const title = sanitizeTerminalText(report2.title);
|
|
30089
|
-
const
|
|
30136
|
+
const description2 = sanitizeTerminalText(report2.description);
|
|
30090
30137
|
console.log(`Report ${report2.report_id}`);
|
|
30091
30138
|
console.log(` title: ${title}`);
|
|
30092
|
-
console.log(` description: ${
|
|
30139
|
+
console.log(` description: ${description2.replace(/\n/g, "\n ")}`);
|
|
30093
30140
|
console.log(` status: ${report2.status}`);
|
|
30094
30141
|
console.log(` classification: ${report2.classification}`);
|
|
30095
30142
|
if (report2.contest_count > 0) console.log(` contests: ${report2.contest_count}`);
|