@wayai/cli 0.3.208 → 0.3.210
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 +278 -85
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6920,7 +6920,7 @@ var init_chunk_T7KQKDET = __esm({
|
|
|
6920
6920
|
}
|
|
6921
6921
|
});
|
|
6922
6922
|
|
|
6923
|
-
// ../../packages/core/dist/chunk-
|
|
6923
|
+
// ../../packages/core/dist/chunk-YV4TZ2HR.js
|
|
6924
6924
|
function containsKanbanPlaceholders(value) {
|
|
6925
6925
|
if (value == null) return false;
|
|
6926
6926
|
const serialized = typeof value === "string" ? value : JSON.stringify(value);
|
|
@@ -8229,9 +8229,9 @@ function refineHubAsCodeMonitorRulesOutput(config, ctx) {
|
|
|
8229
8229
|
}
|
|
8230
8230
|
});
|
|
8231
8231
|
}
|
|
8232
|
-
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, primaryRegionSchema, placementSourceSchema, orgIdParam, orgAdminIdParam, createOrganizationBody, updateOrganizationBody, addOrgAdminBody, HUB_DISPLAY_NAME_MAX_CHARS, HUB_WELCOME_MESSAGE_MAX_CHARS, HUB_STARTER_QUESTIONS_MAX, HUB_STARTER_QUESTION_MAX_CHARS, displayName, welcomeMessage, starterQuestions, hubDisplayNamesSchema, hubWelcomeMessagesSchema, hubStarterQuestionsSchema, hubDisplayNamesField, hubWelcomeMessagesField, hubStarterQuestionsField, HUB_PRESENTATION_FIELDS, HUB_PRESENTATION_SCHEMAS, hubIdParam, hubAdminIdParam, hubUserIdParam, hubIdentityIdParam, hubTeamIdParam, hubTeamUserDeleteParam, hubSchemaQuery, HUB_USERS_PAGE_SIZE_MAX, HUB_USERS_SEARCH_MAX, HUB_USERS_CHANNEL_TYPES, getHubUsersQuery, PREVIEW_LABEL_MAX_LENGTH, MAX_ENDED_INDEX_RETENTION_DAYS, MAX_EVAL_RETENTION_DAYS, MAX_END_USER_DAILY_MESSAGE_LIMIT, endUserDailyMessageLimitField, previewLabelField, hubTagsField, createHubBody, updateHubBody, HUB_TAG_CHANGE_REFUSED, hubTagChangeRefusalSchema, addHubAdminBody, addHubIdentityAuthorizationBody, contactDecisionBody, approveContactBody, listContactAccessQuery, createHubTeamBody, updateHubTeamBody, addHubTeamUserBody, reassignHubUserBody, replicatePreviewBody, HUB_DIFF_SECTION_SET, HUB_DIFF_SECTIONS, updateChannelTestIdentitiesBody, claimCodeChannelParam, claimCodeDeleteParam, PREVIOUS_CONVERSATIONS_MAX, NATIVE_TOOL_NAMES, previousConversationsCountField, summarizationThresholdField, flagConditionSchema, MONITOR_TRIGGERS, monitorTriggerSchema, AUTOMATION_GATE_TRIGGERS, NON_FIRING_TRIGGERS, 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, MONITOR_GATE_AGENT_NAME_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, MONITOR_AUTOMATION_FIRE_ACTION_KINDS, MONITOR_AUTOMATION_ITEM_ACTION_KINDS, INSERT_NOTE_TOOL_NAME, RUN_MONITOR_TOOL_NAME, MONITOR_RULE_ALLOWED_NATIVE_TOOLS, MONITOR_RULE_REENTRY_TOOLS, MONITOR_RULE_REENTRY_TRACKS, AUTOMATION_FIRE_FLAG_CONDITIONS_MESSAGE, AUTOMATION_FIRE_INPUT_SHAPING_MESSAGE, AUTOMATION_ITEM_FLAG_CONDITIONS_MESSAGE, AUTOMATION_ITEM_INPUT_SHAPING_MESSAGE, AUTOMATION_GATE_KEY_MESSAGES, 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;
|
|
8233
|
-
var
|
|
8234
|
-
"../../packages/core/dist/chunk-
|
|
8232
|
+
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, primaryRegionSchema, placementSourceSchema, orgIdParam, orgAdminIdParam, createOrganizationBody, updateOrganizationBody, addOrgAdminBody, HUB_DISPLAY_NAME_MAX_CHARS, HUB_WELCOME_MESSAGE_MAX_CHARS, HUB_STARTER_QUESTIONS_MAX, HUB_STARTER_QUESTION_MAX_CHARS, displayName, welcomeMessage, starterQuestions, hubDisplayNamesSchema, hubWelcomeMessagesSchema, hubStarterQuestionsSchema, hubDisplayNamesField, hubWelcomeMessagesField, hubStarterQuestionsField, HUB_PRESENTATION_FIELDS, HUB_PRESENTATION_SCHEMAS, hubIdParam, hubAdminIdParam, hubUserIdParam, hubIdentityIdParam, hubTeamIdParam, hubTeamUserDeleteParam, hubSchemaQuery, HUB_USERS_PAGE_SIZE_MAX, HUB_USERS_SEARCH_MAX, HUB_USERS_CHANNEL_TYPES, getHubUsersQuery, PREVIEW_LABEL_MAX_LENGTH, MAX_ENDED_INDEX_RETENTION_DAYS, MAX_EVAL_RETENTION_DAYS, MAX_END_USER_DAILY_MESSAGE_LIMIT, endUserDailyMessageLimitField, previewLabelField, hubTagsField, createHubBody, updateHubBody, HUB_TAG_CHANGE_REFUSED, hubTagChangeRefusalSchema, addHubAdminBody, addHubIdentityAuthorizationBody, contactDecisionBody, approveContactBody, CONTACT_ACCESS_PAGE_SIZE_MAX, listContactAccessQuery, createHubTeamBody, updateHubTeamBody, addHubTeamUserBody, reassignHubUserBody, replicatePreviewBody, HUB_DIFF_SECTION_SET, HUB_DIFF_SECTIONS, updateChannelTestIdentitiesBody, claimCodeChannelParam, claimCodeDeleteParam, PREVIOUS_CONVERSATIONS_MAX, NATIVE_TOOL_NAMES, previousConversationsCountField, summarizationThresholdField, flagConditionSchema, MONITOR_TRIGGERS, monitorTriggerSchema, AUTOMATION_GATE_TRIGGERS, NON_FIRING_TRIGGERS, 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, MONITOR_GATE_AGENT_NAME_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, MONITOR_AUTOMATION_FIRE_ACTION_KINDS, MONITOR_AUTOMATION_ITEM_ACTION_KINDS, INSERT_NOTE_TOOL_NAME, RUN_MONITOR_TOOL_NAME, MONITOR_RULE_ALLOWED_NATIVE_TOOLS, MONITOR_RULE_REENTRY_TOOLS, MONITOR_RULE_REENTRY_TRACKS, AUTOMATION_FIRE_FLAG_CONDITIONS_MESSAGE, AUTOMATION_FIRE_INPUT_SHAPING_MESSAGE, AUTOMATION_ITEM_FLAG_CONDITIONS_MESSAGE, AUTOMATION_ITEM_INPUT_SHAPING_MESSAGE, AUTOMATION_GATE_KEY_MESSAGES, 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;
|
|
8233
|
+
var init_chunk_YV4TZ2HR = __esm({
|
|
8234
|
+
"../../packages/core/dist/chunk-YV4TZ2HR.js"() {
|
|
8235
8235
|
"use strict";
|
|
8236
8236
|
init_chunk_SNA2DXAC();
|
|
8237
8237
|
init_chunk_MIWZOSPI();
|
|
@@ -8843,8 +8843,11 @@ var init_chunk_46WU2TD4 = __esm({
|
|
|
8843
8843
|
approveContactBody = contactDecisionBody.extend({
|
|
8844
8844
|
user_name: external_exports.string().min(1).max(120).optional()
|
|
8845
8845
|
});
|
|
8846
|
+
CONTACT_ACCESS_PAGE_SIZE_MAX = 200;
|
|
8846
8847
|
listContactAccessQuery = external_exports.object({
|
|
8847
|
-
status: external_exports.enum(["pending", "blocked"]).optional()
|
|
8848
|
+
status: external_exports.enum(["pending", "blocked"]).optional(),
|
|
8849
|
+
cursor: external_exports.string().min(1).max(256).optional(),
|
|
8850
|
+
page_size: external_exports.coerce.number().int().min(1).max(CONTACT_ACCESS_PAGE_SIZE_MAX).optional()
|
|
8848
8851
|
});
|
|
8849
8852
|
createHubTeamBody = external_exports.object({
|
|
8850
8853
|
team_name: external_exports.string().min(1, "team_name is required")
|
|
@@ -9723,7 +9726,7 @@ var init_chunk_46WU2TD4 = __esm({
|
|
|
9723
9726
|
}
|
|
9724
9727
|
});
|
|
9725
9728
|
|
|
9726
|
-
// ../../packages/core/dist/chunk-
|
|
9729
|
+
// ../../packages/core/dist/chunk-PZELYVIT.js
|
|
9727
9730
|
function cacheReconcileIdCount(body) {
|
|
9728
9731
|
return body.conversations.length + body.histories.reduce((n, history) => n + history.conversation_ids.length, 0) + body.threads.length;
|
|
9729
9732
|
}
|
|
@@ -9789,13 +9792,13 @@ function communityLessonVideoWatchUrl(video) {
|
|
|
9789
9792
|
return `https://www.youtube.com/watch?v=${video.id}`;
|
|
9790
9793
|
}
|
|
9791
9794
|
}
|
|
9792
|
-
var 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_EVENT_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, AUTOMATION_WEBHOOK_AUTHS, AUTOMATION_WEBHOOK_HEADERS, AUTOMATION_WEBHOOK_BODY_MAX_BYTES, AUTOMATION_WEBHOOK_HEADER_NAME_MAX, AUTOMATION_WEBHOOK_MOUNT, WEBHOOK_RESERVED_HEADERS, automationTriggerSchema, automationTargetSchema, automationActionSchema, automationGateSchema, automationName, automationDescription, automationIdParam, automationHubQuery, automationWebhookParams, AUTOMATION_RUNS_PAGE_MAX, listAutomationRunsQuery, createAutomationBody, updateAutomationBody, AUTOMATION_ALERT_CATEGORIES, AUTOMATION_BLOCKED_ALERT_CATEGORY, automationEventSubscriberParam, 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_GATE_EVALUATIONS_PER_OPERATION_BOUND, automationGateEvaluationsPerOperation, AUTOMATION_RUN_RETENTION_DAYS_MAX, automationRunRetentionDays, 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, PEOPLE_SUSPENDED_REASON, peopleModerationActionSchema, moderationNoteSchema, adminPeopleReportListQuery, adminPeopleReportIdParam, adminPeopleMessageRemovalBody, adminPeopleSuspendBody, adminPeopleNoteBody, COMMUNITIES_PER_ORG_MAX, COMMUNITY_NAME_MAX_LENGTH, COMMUNITY_REGISTRY_CLOSED_REASON, COMMUNITY_MEMBERS_MAX, COMMUNITY_ADMISSIONS, COMMUNITY_ACCESS_MAX, COMMUNITY_ACCESS_ADD_MAX, COMMUNITY_ACCESS_FULL_REASON, COMMUNITY_JOIN_SOURCE_MAX_LENGTH, COMMUNITY_JOIN_FLOW_TOKEN_MAX_LENGTH, COMMUNITY_ROOMS_MAX, 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_MEMBER_STATUSES, COMMUNITY_RULES_MAX_LENGTH, COMMUNITY_SLOW_MODE_MAX_SECONDS, COMMUNITY_COURSES_LABEL_MAX_LENGTH, COMMUNITY_LIVE_TICKET_PREFIX, COMMUNITY_STATS_DAYS, 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, communityAdmissionSchema, communitySettingsBody, communityAccessEmailSchema, communityAccessAddBody, communityAccessQuery, communityAccessIdParam, communityBanBody, communityLockBody, communityPinBody, communityModLogQuery, communityReportsQuery, communityReportIdParam, communityLiveTicketSchema, communityLiveQuery, communityMuteBody, communityEmailUnsubscribeTokenSchema, COMMUNITY_EMAIL_UNSUBSCRIBE_PATH, communityEmailUnsubscribeQuery, COMMUNITY_COURSES_MAX, COMMUNITY_COURSE_MODULES_MAX, COMMUNITY_COURSE_LESSONS_MAX, COMMUNITY_LESSONS_MAX, 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, COMMUNITY_LESSON_TREE_TOO_LARGE_REASON, COMMUNITY_LESSON_TREE_TOO_DEEP_REASON, COMMUNITY_LESSON_LINE_PREFIX_TOO_WIDE_REASON, LINK_SCHEME, adminSetGuideHubBody, GUIDE_HUB_INELIGIBLE_REASON;
|
|
9793
|
-
var
|
|
9794
|
-
"../../packages/core/dist/chunk-
|
|
9795
|
+
var 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, planKeySchema, billingStatusSchema, paidTierSchema, spendCapBody, growthPacksBody, portalSessionBody, checkoutSessionBody, changeTierBody, updateBillingCurrencyBody, invoicesQuery, 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_EVENT_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, AUTOMATION_WEBHOOK_AUTHS, AUTOMATION_WEBHOOK_HEADERS, AUTOMATION_WEBHOOK_BODY_MAX_BYTES, AUTOMATION_WEBHOOK_HEADER_NAME_MAX, AUTOMATION_WEBHOOK_MOUNT, WEBHOOK_RESERVED_HEADERS, automationTriggerSchema, automationTargetSchema, automationActionSchema, automationGateSchema, automationName, automationDescription, automationIdParam, automationHubQuery, automationWebhookParams, AUTOMATION_RUNS_PAGE_MAX, listAutomationRunsQuery, createAutomationBody, updateAutomationBody, AUTOMATION_ALERT_CATEGORIES, AUTOMATION_BLOCKED_ALERT_CATEGORY, automationEventSubscriberParam, 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_GATE_EVALUATIONS_PER_OPERATION_BOUND, automationGateEvaluationsPerOperation, AUTOMATION_RUN_RETENTION_DAYS_MAX, automationRunRetentionDays, 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, PEOPLE_SUSPENDED_REASON, peopleModerationActionSchema, moderationNoteSchema, adminPeopleReportListQuery, adminPeopleReportIdParam, adminPeopleMessageRemovalBody, adminPeopleSuspendBody, adminPeopleNoteBody, COMMUNITIES_PER_ORG_MAX, COMMUNITY_NAME_MAX_LENGTH, COMMUNITY_REGISTRY_CLOSED_REASON, COMMUNITY_MEMBERS_MAX, COMMUNITY_ADMISSIONS, COMMUNITY_ACCESS_MAX, COMMUNITY_ACCESS_ADD_MAX, COMMUNITY_ACCESS_FULL_REASON, COMMUNITY_JOIN_SOURCE_MAX_LENGTH, COMMUNITY_JOIN_FLOW_TOKEN_MAX_LENGTH, COMMUNITY_ROOMS_MAX, 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_MEMBER_STATUSES, COMMUNITY_RULES_MAX_LENGTH, COMMUNITY_SLOW_MODE_MAX_SECONDS, COMMUNITY_COURSES_LABEL_MAX_LENGTH, COMMUNITY_LIVE_TICKET_PREFIX, COMMUNITY_STATS_DAYS, 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, communityAdmissionSchema, communitySettingsBody, communityAccessEmailSchema, communityAccessAddBody, communityAccessQuery, communityAccessIdParam, communityBanBody, communityLockBody, communityPinBody, communityModLogQuery, communityReportsQuery, communityReportIdParam, communityLiveTicketSchema, communityLiveQuery, communityMuteBody, communityEmailUnsubscribeTokenSchema, COMMUNITY_EMAIL_UNSUBSCRIBE_PATH, communityEmailUnsubscribeQuery, COMMUNITY_COURSES_MAX, COMMUNITY_COURSE_MODULES_MAX, COMMUNITY_COURSE_LESSONS_MAX, COMMUNITY_LESSONS_MAX, 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, COMMUNITY_LESSON_TREE_TOO_LARGE_REASON, COMMUNITY_LESSON_TREE_TOO_DEEP_REASON, COMMUNITY_LESSON_LINE_PREFIX_TOO_WIDE_REASON, LINK_SCHEME, adminSetGuideHubBody, GUIDE_HUB_INELIGIBLE_REASON;
|
|
9796
|
+
var init_chunk_PZELYVIT = __esm({
|
|
9797
|
+
"../../packages/core/dist/chunk-PZELYVIT.js"() {
|
|
9795
9798
|
"use strict";
|
|
9796
9799
|
init_chunk_VORPHGDT();
|
|
9797
9800
|
init_chunk_POL7B3EM();
|
|
9798
|
-
|
|
9801
|
+
init_chunk_YV4TZ2HR();
|
|
9799
9802
|
init_chunk_MIWZOSPI();
|
|
9800
9803
|
init_chunk_3NS3HULK();
|
|
9801
9804
|
init_chunk_JWPRTSIB();
|
|
@@ -11290,6 +11293,9 @@ var init_chunk_T3VB6VFG = __esm({
|
|
|
11290
11293
|
organizationId: external_exports.string().uuid(),
|
|
11291
11294
|
itemId: external_exports.string()
|
|
11292
11295
|
});
|
|
11296
|
+
planKeySchema = external_exports.enum(["free", "solo", "team"]);
|
|
11297
|
+
billingStatusSchema = external_exports.enum(["active", "past_due", "cancelled"]);
|
|
11298
|
+
paidTierSchema = planKeySchema.exclude(["free"]);
|
|
11293
11299
|
spendCapBody = external_exports.object({
|
|
11294
11300
|
enabled: external_exports.boolean()
|
|
11295
11301
|
});
|
|
@@ -11300,7 +11306,10 @@ var init_chunk_T3VB6VFG = __esm({
|
|
|
11300
11306
|
return_url: external_exports.string().url().optional()
|
|
11301
11307
|
});
|
|
11302
11308
|
checkoutSessionBody = external_exports.object({
|
|
11303
|
-
tier:
|
|
11309
|
+
tier: paidTierSchema
|
|
11310
|
+
});
|
|
11311
|
+
changeTierBody = external_exports.object({
|
|
11312
|
+
tier: paidTierSchema
|
|
11304
11313
|
});
|
|
11305
11314
|
updateBillingCurrencyBody = external_exports.object({
|
|
11306
11315
|
currency: external_exports.enum(["USD", "BRL"])
|
|
@@ -11308,8 +11317,6 @@ var init_chunk_T3VB6VFG = __esm({
|
|
|
11308
11317
|
invoicesQuery = external_exports.object({
|
|
11309
11318
|
limit: external_exports.string().regex(/^\d+$/).optional()
|
|
11310
11319
|
});
|
|
11311
|
-
planKeySchema = external_exports.enum(["free", "solo", "team"]);
|
|
11312
|
-
billingStatusSchema = external_exports.enum(["active", "past_due", "cancelled"]);
|
|
11313
11320
|
billingPlanTypeSchema = external_exports.enum(["free", "paid", "comped"]);
|
|
11314
11321
|
dataUsageCountersSchema = external_exports.object({
|
|
11315
11322
|
ops_tenths_this_month: external_exports.number().nonnegative(),
|
|
@@ -13291,10 +13298,10 @@ var init_chunk_BPDC67ML = __esm({
|
|
|
13291
13298
|
var init_contracts = __esm({
|
|
13292
13299
|
"../../packages/core/dist/contracts/index.js"() {
|
|
13293
13300
|
"use strict";
|
|
13294
|
-
|
|
13301
|
+
init_chunk_PZELYVIT();
|
|
13295
13302
|
init_chunk_VORPHGDT();
|
|
13296
13303
|
init_chunk_POL7B3EM();
|
|
13297
|
-
|
|
13304
|
+
init_chunk_YV4TZ2HR();
|
|
13298
13305
|
init_chunk_SNA2DXAC();
|
|
13299
13306
|
init_chunk_MIWZOSPI();
|
|
13300
13307
|
init_chunk_LKBSHANA();
|
|
@@ -14513,10 +14520,10 @@ var init_dist = __esm({
|
|
|
14513
14520
|
"../../packages/core/dist/index.js"() {
|
|
14514
14521
|
"use strict";
|
|
14515
14522
|
init_chunk_WSROLRJN();
|
|
14516
|
-
|
|
14523
|
+
init_chunk_PZELYVIT();
|
|
14517
14524
|
init_chunk_VORPHGDT();
|
|
14518
14525
|
init_chunk_POL7B3EM();
|
|
14519
|
-
|
|
14526
|
+
init_chunk_YV4TZ2HR();
|
|
14520
14527
|
init_chunk_SNA2DXAC();
|
|
14521
14528
|
init_chunk_MIWZOSPI();
|
|
14522
14529
|
init_chunk_LKBSHANA();
|
|
@@ -15031,6 +15038,47 @@ var init_expected = __esm({
|
|
|
15031
15038
|
}
|
|
15032
15039
|
});
|
|
15033
15040
|
|
|
15041
|
+
// src/lib/report-edit-args.ts
|
|
15042
|
+
function parseReportEditArgs(args2) {
|
|
15043
|
+
const patch = {};
|
|
15044
|
+
let reportId;
|
|
15045
|
+
for (let i = 0; i < args2.length; i++) {
|
|
15046
|
+
const arg = args2[i];
|
|
15047
|
+
const key = FLAG_TO_KEY[arg];
|
|
15048
|
+
if (key) {
|
|
15049
|
+
const value = args2[i + 1];
|
|
15050
|
+
if (value === void 0) {
|
|
15051
|
+
return { reportId, patch, error: `${arg} requires a value` };
|
|
15052
|
+
}
|
|
15053
|
+
patch[key] = value;
|
|
15054
|
+
i++;
|
|
15055
|
+
} else if (arg.startsWith("-")) {
|
|
15056
|
+
return { reportId, patch, error: `Unknown flag: ${arg}` };
|
|
15057
|
+
} else if (reportId === void 0) {
|
|
15058
|
+
reportId = arg;
|
|
15059
|
+
}
|
|
15060
|
+
}
|
|
15061
|
+
return { reportId, patch };
|
|
15062
|
+
}
|
|
15063
|
+
var FLAG_TO_KEY, REPORT_EDIT_FLAGS;
|
|
15064
|
+
var init_report_edit_args = __esm({
|
|
15065
|
+
"src/lib/report-edit-args.ts"() {
|
|
15066
|
+
"use strict";
|
|
15067
|
+
FLAG_TO_KEY = {
|
|
15068
|
+
"-t": "title",
|
|
15069
|
+
"--title": "title",
|
|
15070
|
+
"-d": "description",
|
|
15071
|
+
"--description": "description",
|
|
15072
|
+
"-e": "error_message",
|
|
15073
|
+
"--error": "error_message",
|
|
15074
|
+
"-s": "steps_to_reproduce",
|
|
15075
|
+
"--steps": "steps_to_reproduce",
|
|
15076
|
+
"--context": "additional_context"
|
|
15077
|
+
};
|
|
15078
|
+
REPORT_EDIT_FLAGS = Object.keys(FLAG_TO_KEY);
|
|
15079
|
+
}
|
|
15080
|
+
});
|
|
15081
|
+
|
|
15034
15082
|
// src/lib/terminal-output.ts
|
|
15035
15083
|
import { stripVTControlCharacters } from "util";
|
|
15036
15084
|
function sanitizeTerminalText(value) {
|
|
@@ -16102,34 +16150,73 @@ function shouldInterceptHelp(command2, args2, ownHelpCommands) {
|
|
|
16102
16150
|
function isDryRunToken(arg) {
|
|
16103
16151
|
return /^--dry-run(=\S*)?$/.test(arg);
|
|
16104
16152
|
}
|
|
16153
|
+
function unreadRefusal(invocation, token, why) {
|
|
16154
|
+
const shown2 = token === "" ? '""' : sanitizeTerminalText(token);
|
|
16155
|
+
return `\`${invocation}\` does not read \`${shown2}\`${why}, so it is refused rather than run without it.`;
|
|
16156
|
+
}
|
|
16105
16157
|
function unreadDryRunRefusal(invocation, token, readsBare) {
|
|
16106
|
-
|
|
16107
|
-
|
|
16158
|
+
return unreadRefusal(invocation, token, readsBare ? " (only a bare `--dry-run`)" : "");
|
|
16159
|
+
}
|
|
16160
|
+
function noValueRefusal(invocation, flag) {
|
|
16161
|
+
return `\`${invocation} ${flag}\` needs ${FLAG_TARGETS[flag] ?? "a value"}, and none followed it.`;
|
|
16162
|
+
}
|
|
16163
|
+
function positionalCount(n) {
|
|
16164
|
+
return n === 0 ? "no positional argument" : n === 1 ? "one positional argument" : `${n} positional arguments`;
|
|
16165
|
+
}
|
|
16166
|
+
function unreadArgumentRefusal(invocation, args2, reads, splitsAtFirstLongFlag) {
|
|
16167
|
+
const takesValue = (flag) => reads.values?.includes(flag) === true;
|
|
16168
|
+
const missing = (value) => value === void 0 || FLAG_SHAPED.test(value) || value === "" && reads.readsEmpty !== true;
|
|
16169
|
+
const takes = ` (it takes ${positionalCount(reads.positionals)})`;
|
|
16170
|
+
const firstLongFlag = args2.findIndex((arg) => arg.startsWith("--"));
|
|
16171
|
+
const flagsFrom = !splitsAtFirstLongFlag ? 0 : firstLongFlag === -1 ? args2.length : firstLongFlag;
|
|
16172
|
+
let positionals = 0;
|
|
16173
|
+
for (let i = 0; i < args2.length; i++) {
|
|
16174
|
+
const arg = args2[i];
|
|
16175
|
+
if (i < flagsFrom) {
|
|
16176
|
+
if (++positionals > reads.positionals) return unreadRefusal(invocation, arg, takes);
|
|
16177
|
+
continue;
|
|
16178
|
+
}
|
|
16179
|
+
const spelled = EQUALS_SPELLING.exec(arg);
|
|
16180
|
+
if (spelled) {
|
|
16181
|
+
const [, flag, value] = spelled;
|
|
16182
|
+
if (reads.equals?.includes(flag)) {
|
|
16183
|
+
if (value === "") return noValueRefusal(invocation, flag);
|
|
16184
|
+
} else if (takesValue(flag)) {
|
|
16185
|
+
return value === "" ? noValueRefusal(invocation, flag) : unreadRefusal(invocation, arg, ` (only \`${flag} <value>\`)`);
|
|
16186
|
+
} else {
|
|
16187
|
+
return unreadRefusal(invocation, arg, "");
|
|
16188
|
+
}
|
|
16189
|
+
} else if (takesValue(arg)) {
|
|
16190
|
+
if (missing(args2[i + 1])) return noValueRefusal(invocation, arg);
|
|
16191
|
+
i++;
|
|
16192
|
+
} else if (!arg.startsWith("-")) {
|
|
16193
|
+
if (splitsAtFirstLongFlag) {
|
|
16194
|
+
return unreadRefusal(invocation, arg, " (it reads positionals only before its first `--` flag)");
|
|
16195
|
+
}
|
|
16196
|
+
if (++positionals > reads.positionals) return unreadRefusal(invocation, arg, takes);
|
|
16197
|
+
}
|
|
16198
|
+
}
|
|
16199
|
+
return null;
|
|
16108
16200
|
}
|
|
16109
16201
|
function entryFlagRefusal(command2, args2, dataNamespaces) {
|
|
16110
|
-
if (command2 === void 0 ||
|
|
16202
|
+
if (command2 === void 0 || HELP_AND_VERSION.includes(command2)) return null;
|
|
16111
16203
|
if (dataNamespaces.has(command2)) return null;
|
|
16112
16204
|
const words = [command2];
|
|
16113
16205
|
for (const arg of args2.slice(0, 2)) {
|
|
16114
16206
|
if (!/^[a-z][a-z-]*$/.test(arg)) break;
|
|
16115
16207
|
words.push(arg);
|
|
16116
16208
|
}
|
|
16117
|
-
|
|
16118
|
-
let
|
|
16119
|
-
|
|
16120
|
-
|
|
16121
|
-
|
|
16122
|
-
if (parsed === "all") return null;
|
|
16209
|
+
let named = words.length;
|
|
16210
|
+
let reads = PARSER_READS.get(words.join(" "));
|
|
16211
|
+
while (reads === void 0 && --named > 0) reads = PARSER_READS.get(words.slice(0, named).join(" "));
|
|
16212
|
+
const invocation = `wayai ${words.slice(0, named || words.length).join(" ")}`;
|
|
16213
|
+
if (reads === "all") return null;
|
|
16123
16214
|
const dryRuns = args2.filter(isDryRunToken);
|
|
16124
|
-
const readsBare =
|
|
16215
|
+
const readsBare = typeof reads === "object" && reads.dryRun === true;
|
|
16125
16216
|
const refused = readsBare ? dryRuns.find((token) => token !== "--dry-run") : dryRuns[0];
|
|
16126
16217
|
if (refused !== void 0) return unreadDryRunRefusal(invocation, refused, readsBare);
|
|
16127
|
-
if (
|
|
16128
|
-
|
|
16129
|
-
const empty = args2.some((arg, i) => arg === `${flag}=` || arg === flag && (args2[i + 1] ?? "") === "");
|
|
16130
|
-
if (empty) return `\`${invocation} ${flag}\` needs ${noun}, and none followed it.`;
|
|
16131
|
-
}
|
|
16132
|
-
return null;
|
|
16218
|
+
if (reads === void 0 || reads === "selectors") return null;
|
|
16219
|
+
return unreadArgumentRefusal(invocation, args2.slice(named - 1), reads, SPLITS_AT_FIRST_LONG_FLAG.has(command2));
|
|
16133
16220
|
}
|
|
16134
16221
|
function isNewerVersion(latest, current) {
|
|
16135
16222
|
const strip = (v) => v.replace(/[-+].*$/, "");
|
|
@@ -16162,12 +16249,13 @@ function resolveSecretSource(source) {
|
|
|
16162
16249
|
}
|
|
16163
16250
|
return "prompt";
|
|
16164
16251
|
}
|
|
16165
|
-
var UUID_RE3, slugify2, OWN_HELP_COMMANDS,
|
|
16252
|
+
var UUID_RE3, slugify2, OWN_HELP_COMMANDS, HELP_AND_VERSION, PARSER_READS, SPLITS_AT_FIRST_LONG_FLAG, FLAG_TARGETS, EQUALS_SPELLING, FLAG_SHAPED;
|
|
16166
16253
|
var init_utils = __esm({
|
|
16167
16254
|
"src/lib/utils.ts"() {
|
|
16168
16255
|
"use strict";
|
|
16169
16256
|
init_dist();
|
|
16170
16257
|
init_expected();
|
|
16258
|
+
init_report_edit_args();
|
|
16171
16259
|
init_terminal_output();
|
|
16172
16260
|
UUID_RE3 = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
16173
16261
|
slugify2 = slugifySkillName;
|
|
@@ -16179,23 +16267,168 @@ var init_utils = __esm({
|
|
|
16179
16267
|
"alerts",
|
|
16180
16268
|
"communities"
|
|
16181
16269
|
]);
|
|
16182
|
-
|
|
16270
|
+
HELP_AND_VERSION = ["help", "--help", "-h", "--version", "-v"];
|
|
16271
|
+
PARSER_READS = /* @__PURE__ */ new Map([
|
|
16183
16272
|
["pull", "all"],
|
|
16184
16273
|
["push", "all"],
|
|
16185
16274
|
["communities", "all"],
|
|
16186
|
-
["sync-mcp", "bare --dry-run"],
|
|
16187
|
-
["admin hubs repair-team-orphans", "bare --dry-run"],
|
|
16188
|
-
["admin hubs repair-branching-orphans", "bare --dry-run"],
|
|
16189
|
-
["admin orgs repair-legacy-grants", "bare --dry-run"],
|
|
16190
|
-
["admin harness mass-destroy", "bare --dry-run"],
|
|
16191
16275
|
["use", "selectors"],
|
|
16192
16276
|
["unbind", "selectors"],
|
|
16193
|
-
["unlock", "selectors"]
|
|
16277
|
+
["unlock", "selectors"],
|
|
16278
|
+
["login", { positionals: 0, values: ["--api-url"] }],
|
|
16279
|
+
["logout", { positionals: 0 }],
|
|
16280
|
+
["status", { positionals: 0 }],
|
|
16281
|
+
["whoami", { positionals: 0 }],
|
|
16282
|
+
["init", { positionals: 0, values: ["--org"] }],
|
|
16283
|
+
["create", { positionals: 1, values: ["--label"] }],
|
|
16284
|
+
["diff", { positionals: 0, values: ["--hub"] }],
|
|
16285
|
+
["replicate", { positionals: 1, values: ["--label", "--hub"] }],
|
|
16286
|
+
["relabel", { positionals: 1, values: ["--hub"] }],
|
|
16287
|
+
["publish", { positionals: 0, values: ["--hub"] }],
|
|
16288
|
+
["sync", { positionals: 0, values: ["--hub"] }],
|
|
16289
|
+
["migrate", { positionals: 0 }],
|
|
16290
|
+
["send-message", { positionals: 1, values: ["--hub", "-c", "--conversation", "-f", "--file"] }],
|
|
16291
|
+
[
|
|
16292
|
+
"conversations",
|
|
16293
|
+
{
|
|
16294
|
+
positionals: 2,
|
|
16295
|
+
values: ["--hub", "--org", "--status", "--limit", "--offset", "--message-id", "--period", "--from", "--to", "--set", "--type"],
|
|
16296
|
+
equals: ["--org"]
|
|
16297
|
+
}
|
|
16298
|
+
],
|
|
16299
|
+
["alerts", { positionals: 0, values: ["--hub"] }],
|
|
16300
|
+
[
|
|
16301
|
+
"delete-history",
|
|
16302
|
+
{ positionals: 0, values: ["--hub", "--user-id", "--conversation-id"], equals: ["--user-id", "--conversation-id"] }
|
|
16303
|
+
],
|
|
16304
|
+
["sync-skills", { positionals: 0, values: ["--hub", "--connection-id"] }],
|
|
16305
|
+
["sync-mcp", { positionals: 0, values: ["--hub", "--connection"], dryRun: true }],
|
|
16306
|
+
["evals", { positionals: 0, values: ["--hub"] }],
|
|
16307
|
+
["evals sql", { positionals: 1, values: ["--hub", "--limit"] }],
|
|
16308
|
+
["run-eval", { positionals: 0, values: ["--hub", "--timeout", "--set", "--eval", "--runs", "--pacing", "--fixture"] }],
|
|
16309
|
+
["eval-results", { positionals: 0, values: ["--hub", "--session", "--eval"] }],
|
|
16310
|
+
[
|
|
16311
|
+
"eval call",
|
|
16312
|
+
{
|
|
16313
|
+
positionals: 0,
|
|
16314
|
+
values: [
|
|
16315
|
+
"--hub",
|
|
16316
|
+
"--journey",
|
|
16317
|
+
"--runs",
|
|
16318
|
+
"--plan",
|
|
16319
|
+
"--clips",
|
|
16320
|
+
"--tts-voice",
|
|
16321
|
+
"--tts-model",
|
|
16322
|
+
"--max-call-seconds",
|
|
16323
|
+
"--max-operations",
|
|
16324
|
+
"--usd-per-minute",
|
|
16325
|
+
"--max-usd",
|
|
16326
|
+
"--latency-p95-ms",
|
|
16327
|
+
"--json"
|
|
16328
|
+
]
|
|
16329
|
+
}
|
|
16330
|
+
],
|
|
16331
|
+
["eval capture", { positionals: 1, values: ["--hub", "--set", "--name", "--instructions"] }],
|
|
16332
|
+
["eval journey capture", { positionals: 1, values: ["--hub", "--name", "--instructions"] }],
|
|
16333
|
+
["eval session stop", { positionals: 1, values: ["--hub"] }],
|
|
16334
|
+
["eval session delete", { positionals: 1, values: ["--hub"] }],
|
|
16335
|
+
["analytics", { positionals: 0, values: ["--hub", "--period", "--from", "--to", "--metric", "--filter"] }],
|
|
16336
|
+
[
|
|
16337
|
+
"analytics query",
|
|
16338
|
+
{ positionals: 0, values: ["--hub", "--metric", "--group-by", "--order-by", "--filter", "--from", "--to", "--limit"] }
|
|
16339
|
+
],
|
|
16340
|
+
["analytics sql", { positionals: 1, values: ["--hub", "--limit"] }],
|
|
16341
|
+
["create-credential", { positionals: 0, values: ["--name", "--type", "--org", "--description", "--tag", "--environment"] }],
|
|
16342
|
+
["update-credential", { positionals: 0, values: ["--name", "--rename", "--org", "--description", "--tag", "--environment"] }],
|
|
16343
|
+
["set-connection-credential", { positionals: 0, values: ["--hub", "--connection", "--org-credential", "--field"] }],
|
|
16344
|
+
["org create", { positionals: 1, values: ["--region"] }],
|
|
16345
|
+
["org pull", { positionals: 0 }],
|
|
16346
|
+
["org diff", { positionals: 0 }],
|
|
16347
|
+
["org push", { positionals: 0 }],
|
|
16348
|
+
["list", { positionals: 0, values: ["--org"] }],
|
|
16349
|
+
[
|
|
16350
|
+
"report create",
|
|
16351
|
+
{
|
|
16352
|
+
positionals: 0,
|
|
16353
|
+
values: [
|
|
16354
|
+
"-t",
|
|
16355
|
+
"--title",
|
|
16356
|
+
"-d",
|
|
16357
|
+
"--description",
|
|
16358
|
+
"--source",
|
|
16359
|
+
"--classification",
|
|
16360
|
+
"--dedup-key",
|
|
16361
|
+
"--hub",
|
|
16362
|
+
"--conversation",
|
|
16363
|
+
"-e",
|
|
16364
|
+
"--error",
|
|
16365
|
+
"-s",
|
|
16366
|
+
"--steps",
|
|
16367
|
+
"--context"
|
|
16368
|
+
]
|
|
16369
|
+
}
|
|
16370
|
+
],
|
|
16371
|
+
["report edit", { positionals: 1, values: REPORT_EDIT_FLAGS, readsEmpty: true }],
|
|
16372
|
+
["report list", { positionals: 0, values: ["--status"] }],
|
|
16373
|
+
["report get", { positionals: 1 }],
|
|
16374
|
+
["report accept", { positionals: 1 }],
|
|
16375
|
+
["report contest", { positionals: 1, values: ["--reason"] }],
|
|
16376
|
+
["update", { positionals: 0 }],
|
|
16377
|
+
["admin archive", { positionals: 2, values: ["--message-id", "--out"] }],
|
|
16378
|
+
["admin observability", { positionals: 2, values: ["--message-id"] }],
|
|
16379
|
+
["admin do tables", { positionals: 2 }],
|
|
16380
|
+
["admin do read", { positionals: 3, values: ["--limit", "--id"] }],
|
|
16381
|
+
["admin analytics tables", { positionals: 0 }],
|
|
16382
|
+
["admin analytics read", { positionals: 1, values: ["--limit", "--conversation-id", "--hub-id", "--message-id"] }],
|
|
16383
|
+
["admin report list", { positionals: 0, values: ["--status", "--source", "--limit", "--offset", "--since", "--resolved-since"] }],
|
|
16384
|
+
["admin report show", { positionals: 1 }],
|
|
16385
|
+
["admin report group", { positionals: Infinity }],
|
|
16386
|
+
["admin report ungroup", { positionals: 1 }],
|
|
16387
|
+
["admin report escalate", { positionals: 1, values: ["--gh", "--verdict"] }],
|
|
16388
|
+
["admin report shipped", { positionals: 1, values: ["--note"] }],
|
|
16389
|
+
["admin report addressed", { positionals: 1 }],
|
|
16390
|
+
["admin report dismiss", { positionals: 1, values: ["--reason", "--verdict"] }],
|
|
16391
|
+
["admin report hold", { positionals: 1, values: ["--reason"] }],
|
|
16392
|
+
["admin report update", { positionals: 1, values: REPORT_EDIT_FLAGS, readsEmpty: true }],
|
|
16393
|
+
["admin people list", { positionals: 0, values: ["--since", "--limit", "--offset"] }],
|
|
16394
|
+
["admin people show", { positionals: 1 }],
|
|
16395
|
+
["admin people dismiss", { positionals: 1, values: ["--note"] }],
|
|
16396
|
+
["admin people remove-message", { positionals: 1, values: ["--message", "--note"] }],
|
|
16397
|
+
["admin people user", { positionals: 1 }],
|
|
16398
|
+
["admin people suspend", { positionals: 1, values: ["--report", "--note"] }],
|
|
16399
|
+
["admin people unsuspend", { positionals: 1, values: ["--note"] }],
|
|
16400
|
+
["admin notice create", { positionals: 0, values: ["--title", "--severity", "--scope", "--body", "--link", "--starts", "--ends"] }],
|
|
16401
|
+
["admin notice list", { positionals: 0, values: ["--status", "--limit", "--offset"] }],
|
|
16402
|
+
["admin notice resolve", { positionals: 1 }],
|
|
16403
|
+
["admin skill install", { positionals: 1 }],
|
|
16404
|
+
["admin sandbox exec", { positionals: 1, values: ["--hub", "--connection", "--cmd", "--egress", "--allow", "--timeout"] }],
|
|
16405
|
+
["admin hubs repair-team-orphans", { positionals: 0, values: ["--org", "--hub"], dryRun: true }],
|
|
16406
|
+
["admin hubs repair-branching-orphans", { positionals: 0, values: ["--org", "--hub", "--id"], dryRun: true }],
|
|
16407
|
+
["admin orgs repair-legacy-grants", { positionals: 0, values: ["--org"], dryRun: true }],
|
|
16408
|
+
["admin harness mass-destroy", { positionals: 0, values: ["--org", "--hub"], dryRun: true }],
|
|
16409
|
+
["admin harness disable", { positionals: 0 }],
|
|
16410
|
+
["admin harness enable", { positionals: 0 }],
|
|
16411
|
+
["admin harness status", { positionals: 0 }],
|
|
16412
|
+
["admin threads enable", { positionals: 0 }],
|
|
16413
|
+
["admin threads disable", { positionals: 0 }],
|
|
16414
|
+
["admin threads status", { positionals: 0 }],
|
|
16415
|
+
["admin communities enable", { positionals: 0 }],
|
|
16416
|
+
["admin communities disable", { positionals: 0 }],
|
|
16417
|
+
["admin communities status", { positionals: 0 }],
|
|
16418
|
+
["admin communities create", { positionals: 0, values: ["--org", "--name"] }],
|
|
16419
|
+
["admin communities destroy", { positionals: 1 }],
|
|
16420
|
+
["admin guide set-hub", { positionals: 1 }],
|
|
16421
|
+
["admin guide clear", { positionals: 0 }],
|
|
16422
|
+
["admin guide status", { positionals: 0 }],
|
|
16423
|
+
["admin voice-calls enable", { positionals: 0 }],
|
|
16424
|
+
["admin voice-calls disable", { positionals: 0 }],
|
|
16425
|
+
["admin voice-calls status", { positionals: 0 }],
|
|
16426
|
+
["admin voice-calls price", { positionals: 0, values: ["--ops-per-minute"] }]
|
|
16194
16427
|
]);
|
|
16195
|
-
|
|
16196
|
-
|
|
16197
|
-
|
|
16198
|
-
|
|
16428
|
+
SPLITS_AT_FIRST_LONG_FLAG = /* @__PURE__ */ new Set(["admin"]);
|
|
16429
|
+
FLAG_TARGETS = { "--hub": "a hub", "--org": "an organization" };
|
|
16430
|
+
EQUALS_SPELLING = /^(--?[A-Za-z][A-Za-z0-9-]*)=([\s\S]*)$/;
|
|
16431
|
+
FLAG_SHAPED = /^-\S*$/;
|
|
16199
16432
|
}
|
|
16200
16433
|
});
|
|
16201
16434
|
|
|
@@ -31773,46 +32006,6 @@ These commands need a browser sign-in (\`wayai login\`). An API token
|
|
|
31773
32006
|
}
|
|
31774
32007
|
});
|
|
31775
32008
|
|
|
31776
|
-
// src/lib/report-edit-args.ts
|
|
31777
|
-
function parseReportEditArgs(args2) {
|
|
31778
|
-
const patch = {};
|
|
31779
|
-
let reportId;
|
|
31780
|
-
for (let i = 0; i < args2.length; i++) {
|
|
31781
|
-
const arg = args2[i];
|
|
31782
|
-
const key = FLAG_TO_KEY[arg];
|
|
31783
|
-
if (key) {
|
|
31784
|
-
const value = args2[i + 1];
|
|
31785
|
-
if (value === void 0) {
|
|
31786
|
-
return { reportId, patch, error: `${arg} requires a value` };
|
|
31787
|
-
}
|
|
31788
|
-
patch[key] = value;
|
|
31789
|
-
i++;
|
|
31790
|
-
} else if (arg.startsWith("-")) {
|
|
31791
|
-
return { reportId, patch, error: `Unknown flag: ${arg}` };
|
|
31792
|
-
} else if (reportId === void 0) {
|
|
31793
|
-
reportId = arg;
|
|
31794
|
-
}
|
|
31795
|
-
}
|
|
31796
|
-
return { reportId, patch };
|
|
31797
|
-
}
|
|
31798
|
-
var FLAG_TO_KEY;
|
|
31799
|
-
var init_report_edit_args = __esm({
|
|
31800
|
-
"src/lib/report-edit-args.ts"() {
|
|
31801
|
-
"use strict";
|
|
31802
|
-
FLAG_TO_KEY = {
|
|
31803
|
-
"-t": "title",
|
|
31804
|
-
"--title": "title",
|
|
31805
|
-
"-d": "description",
|
|
31806
|
-
"--description": "description",
|
|
31807
|
-
"-e": "error_message",
|
|
31808
|
-
"--error": "error_message",
|
|
31809
|
-
"-s": "steps_to_reproduce",
|
|
31810
|
-
"--steps": "steps_to_reproduce",
|
|
31811
|
-
"--context": "additional_context"
|
|
31812
|
-
};
|
|
31813
|
-
}
|
|
31814
|
-
});
|
|
31815
|
-
|
|
31816
32009
|
// src/lib/file-map.ts
|
|
31817
32010
|
import * as fs28 from "fs";
|
|
31818
32011
|
import * as path39 from "path";
|