@wayai/cli 0.3.275 → 0.3.276
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 +117 -40
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7130,7 +7130,7 @@ var init_chunk_2YEGUQR7 = __esm({
|
|
|
7130
7130
|
}
|
|
7131
7131
|
});
|
|
7132
7132
|
|
|
7133
|
-
// ../../packages/core/dist/chunk-
|
|
7133
|
+
// ../../packages/core/dist/chunk-UAOHHCW5.js
|
|
7134
7134
|
function normalizeContactPhone(raw) {
|
|
7135
7135
|
const compact = raw.trim().replace(/[\s\-.()]/g, "");
|
|
7136
7136
|
const withPlus = compact.startsWith("00") ? `+${compact.slice(2)}` : compact;
|
|
@@ -7143,8 +7143,8 @@ function importRowLabels(row, batchLabels) {
|
|
|
7143
7143
|
return [.../* @__PURE__ */ new Set([...row.labels ?? [], ...batchLabels ?? []])];
|
|
7144
7144
|
}
|
|
7145
7145
|
var 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, contactBookEmailUnsubscribeTokenSchema, contactBookEmailUnsubscribeQuery, orgListReferenceSchema;
|
|
7146
|
-
var
|
|
7147
|
-
"../../packages/core/dist/chunk-
|
|
7146
|
+
var init_chunk_UAOHHCW5 = __esm({
|
|
7147
|
+
"../../packages/core/dist/chunk-UAOHHCW5.js"() {
|
|
7148
7148
|
"use strict";
|
|
7149
7149
|
init_zod();
|
|
7150
7150
|
CONTACT_ENVIRONMENTS = ["production", "preview", "all"];
|
|
@@ -7179,10 +7179,13 @@ var init_chunk_S5SVBLGT = __esm({
|
|
|
7179
7179
|
contactInstagramSid = external_exports.string().trim().min(1).max(CONTACT_INSTAGRAM_SID_MAX);
|
|
7180
7180
|
contactLabel = external_exports.string().max(CONTACT_LABEL_MAX).transform(normalizeContactLabel).refine((label2) => label2.length > 0, "A label cannot be empty").refine((label2) => !label2.includes(","), "A label cannot contain a comma");
|
|
7181
7181
|
contactLabels = external_exports.array(contactLabel).max(CONTACT_LABELS_MAX).transform((labels) => [...new Set(labels)]);
|
|
7182
|
-
contactMetadata = external_exports.record(external_exports.unknown()).refine(
|
|
7183
|
-
|
|
7184
|
-
|
|
7185
|
-
|
|
7182
|
+
contactMetadata = external_exports.record(external_exports.unknown()).refine((metadata) => {
|
|
7183
|
+
try {
|
|
7184
|
+
return new TextEncoder().encode(JSON.stringify(metadata)).length <= CONTACT_METADATA_MAX_BYTES;
|
|
7185
|
+
} catch {
|
|
7186
|
+
return false;
|
|
7187
|
+
}
|
|
7188
|
+
}, `Metadata must serialize to at most ${CONTACT_METADATA_MAX_BYTES} bytes`);
|
|
7186
7189
|
scopeTagIds = external_exports.array(external_exports.string().uuid()).min(1).max(CONTACT_SCOPE_TAGS_MAX).transform((ids) => [...new Set(ids)]);
|
|
7187
7190
|
contactVisibilitySchema = external_exports.discriminatedUnion("scope", [
|
|
7188
7191
|
external_exports.object({ scope: external_exports.literal("all_hubs") }).strict(),
|
|
@@ -7305,13 +7308,13 @@ var init_chunk_S5SVBLGT = __esm({
|
|
|
7305
7308
|
}
|
|
7306
7309
|
});
|
|
7307
7310
|
|
|
7308
|
-
// ../../packages/core/dist/chunk-
|
|
7311
|
+
// ../../packages/core/dist/chunk-MGBAXT5Y.js
|
|
7309
7312
|
var PERSON_LINKS_MAX, PERSON_DENY_PAGE_MAX, personParam, personLinkParam, deniedPersonParam, listDeniedPersonsQuery, conversationCustomerPersonParam;
|
|
7310
|
-
var
|
|
7311
|
-
"../../packages/core/dist/chunk-
|
|
7313
|
+
var init_chunk_MGBAXT5Y = __esm({
|
|
7314
|
+
"../../packages/core/dist/chunk-MGBAXT5Y.js"() {
|
|
7312
7315
|
"use strict";
|
|
7313
7316
|
init_chunk_2YEGUQR7();
|
|
7314
|
-
|
|
7317
|
+
init_chunk_UAOHHCW5();
|
|
7315
7318
|
init_zod();
|
|
7316
7319
|
PERSON_LINKS_MAX = 15;
|
|
7317
7320
|
PERSON_DENY_PAGE_MAX = 100;
|
|
@@ -12020,12 +12023,12 @@ var init_chunk_6J742GLA = __esm({
|
|
|
12020
12023
|
}
|
|
12021
12024
|
});
|
|
12022
12025
|
|
|
12023
|
-
// ../../packages/core/dist/chunk-
|
|
12026
|
+
// ../../packages/core/dist/chunk-6AYIXGDT.js
|
|
12024
12027
|
var 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, communityEmailUnsubscribeQuery;
|
|
12025
|
-
var
|
|
12026
|
-
"../../packages/core/dist/chunk-
|
|
12028
|
+
var init_chunk_6AYIXGDT = __esm({
|
|
12029
|
+
"../../packages/core/dist/chunk-6AYIXGDT.js"() {
|
|
12027
12030
|
"use strict";
|
|
12028
|
-
|
|
12031
|
+
init_chunk_UAOHHCW5();
|
|
12029
12032
|
init_chunk_6J742GLA();
|
|
12030
12033
|
init_chunk_ZVXO3XL6();
|
|
12031
12034
|
init_chunk_HZ6CADSY();
|
|
@@ -12129,7 +12132,7 @@ var init_chunk_LCBRIVIN = __esm({
|
|
|
12129
12132
|
}
|
|
12130
12133
|
});
|
|
12131
12134
|
|
|
12132
|
-
// ../../packages/core/dist/chunk-
|
|
12135
|
+
// ../../packages/core/dist/chunk-47LPEX74.js
|
|
12133
12136
|
function parseCommunityLessonVideoUrl(url) {
|
|
12134
12137
|
const parts = /^https?:\/\/([^/?#]+)([^?#]*)(?:\?([^#]*))?(?:#.*)?$/i.exec(url.trim());
|
|
12135
12138
|
if (!parts) return null;
|
|
@@ -12155,10 +12158,10 @@ function communityLessonVideoWatchUrl(video) {
|
|
|
12155
12158
|
}
|
|
12156
12159
|
}
|
|
12157
12160
|
var 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;
|
|
12158
|
-
var
|
|
12159
|
-
"../../packages/core/dist/chunk-
|
|
12161
|
+
var init_chunk_47LPEX74 = __esm({
|
|
12162
|
+
"../../packages/core/dist/chunk-47LPEX74.js"() {
|
|
12160
12163
|
"use strict";
|
|
12161
|
-
|
|
12164
|
+
init_chunk_6AYIXGDT();
|
|
12162
12165
|
init_chunk_HZ6CADSY();
|
|
12163
12166
|
init_zod();
|
|
12164
12167
|
COMMUNITY_COURSES_MAX = 20;
|
|
@@ -14006,7 +14009,7 @@ var init_chunk_7NQZRSSJ = __esm({
|
|
|
14006
14009
|
}
|
|
14007
14010
|
});
|
|
14008
14011
|
|
|
14009
|
-
// ../../packages/core/dist/chunk-
|
|
14012
|
+
// ../../packages/core/dist/chunk-VNGEV62J.js
|
|
14010
14013
|
function refineHubAsCodeCustomTools(config, ctx) {
|
|
14011
14014
|
const agents = config.agents;
|
|
14012
14015
|
if (!Array.isArray(agents)) return;
|
|
@@ -14611,6 +14614,70 @@ function resourcesSectionRefusal(scope, subject) {
|
|
|
14611
14614
|
const pull = scope === "org" ? "wayai org pull" : "wayai pull";
|
|
14612
14615
|
return `${subject} \`resources\` is no longer accepted: skills are named under \`skills\`. Update the CLI to \`@wayai/cli\` ${MIN_SKILLS_LAYOUT_CLI} or later (\`wayai update\`), then run \`${pull}\` once to convert the folder.`;
|
|
14613
14616
|
}
|
|
14617
|
+
function pathPastDepth(root, levels) {
|
|
14618
|
+
if (root === null || typeof root !== "object") return null;
|
|
14619
|
+
const childrenOf = (node) => ({ node, children: Array.isArray(node) ? node : Object.values(node), next: 0 });
|
|
14620
|
+
const frames = [childrenOf(root)];
|
|
14621
|
+
while (frames.length > 0) {
|
|
14622
|
+
const top = frames[frames.length - 1];
|
|
14623
|
+
if (top.next === top.children.length) {
|
|
14624
|
+
frames.pop();
|
|
14625
|
+
continue;
|
|
14626
|
+
}
|
|
14627
|
+
const child = top.children[top.next++];
|
|
14628
|
+
if (child === null || typeof child !== "object") continue;
|
|
14629
|
+
if (frames.length === levels) return frames.map(({ node, next }) => Array.isArray(node) ? next - 1 : Object.keys(node)[next - 1]);
|
|
14630
|
+
frames.push(childrenOf(child));
|
|
14631
|
+
}
|
|
14632
|
+
return null;
|
|
14633
|
+
}
|
|
14634
|
+
function refusedNesting(value, at, ctx) {
|
|
14635
|
+
const past = pathPastDepth(value, MAX_HUB_AS_CODE_DEPTH - at.length);
|
|
14636
|
+
if (!past) return false;
|
|
14637
|
+
const path45 = [...at, ...past].slice(0, NAMED_DEPTH_SEGMENTS).map((key) => typeof key === "string" ? key.slice(0, NAMED_DEPTH_KEY_CHARS) : key);
|
|
14638
|
+
ctx.addIssue({
|
|
14639
|
+
code: external_exports.ZodIssueCode.custom,
|
|
14640
|
+
path: path45,
|
|
14641
|
+
message: `${fieldName(path45)}\u2026 nests deeper than ${MAX_HUB_AS_CODE_DEPTH} levels of arrays and objects`,
|
|
14642
|
+
fatal: true
|
|
14643
|
+
});
|
|
14644
|
+
return true;
|
|
14645
|
+
}
|
|
14646
|
+
function refusedStringConfigNesting(config, ctx) {
|
|
14647
|
+
const agents = isPlainObject(config) && Array.isArray(config.agents) ? config.agents : [];
|
|
14648
|
+
return agents.some((agent, a) => {
|
|
14649
|
+
const custom2 = isPlainObject(agent) && isPlainObject(agent.tools) ? agent.tools.custom : void 0;
|
|
14650
|
+
return Array.isArray(custom2) && custom2.some((tool, t) => {
|
|
14651
|
+
if (!isPlainObject(tool) || typeof tool.config !== "string") return false;
|
|
14652
|
+
let parsed;
|
|
14653
|
+
try {
|
|
14654
|
+
parsed = JSON.parse(tool.config);
|
|
14655
|
+
} catch {
|
|
14656
|
+
return false;
|
|
14657
|
+
}
|
|
14658
|
+
return refusedNesting(parsed, ["agents", a, "tools", "custom", t, "config"], ctx);
|
|
14659
|
+
});
|
|
14660
|
+
});
|
|
14661
|
+
}
|
|
14662
|
+
function refusedUnreadableSection(config, ctx) {
|
|
14663
|
+
if (!isPlainObject(config)) return false;
|
|
14664
|
+
const refused = (path45, must) => {
|
|
14665
|
+
ctx.addIssue({ code: external_exports.ZodIssueCode.custom, path: path45, message: `${fieldName(path45)} must ${must}`, fatal: true });
|
|
14666
|
+
return true;
|
|
14667
|
+
};
|
|
14668
|
+
const badList = (value, path45, reads = {}) => {
|
|
14669
|
+
if (value === void 0 || value === null && reads.nullSection !== false) return false;
|
|
14670
|
+
if (!Array.isArray(value)) return refused(path45, "be an array");
|
|
14671
|
+
const nullAt = reads.nullEntries ? -1 : value.indexOf(null);
|
|
14672
|
+
return nullAt !== -1 && refused([...path45, nullAt], "not be null");
|
|
14673
|
+
};
|
|
14674
|
+
const entries = (section) => Array.isArray(section) ? section : [];
|
|
14675
|
+
return ["connections", "teams", "evals", "journeys", "agents", "eval_attachment_files", "call_opening_files"].some((section) => badList(config[section], [section])) || isPlainObject(config.hub) && badList(config.hub.tags, ["hub", "tags"], { nullEntries: true }) || [["evals", "history"], ["journeys", "transcript"]].some(([section, turns]) => entries(config[section]).some((entry, index) => isPlainObject(entry) && badList(entry[turns], [section, index, turns], { nullEntries: true }))) || entries(config.agents).some((agent, index) => {
|
|
14676
|
+
if (!isPlainObject(agent)) return false;
|
|
14677
|
+
const { tools } = agent;
|
|
14678
|
+
return badList(agent.skills, ["agents", index, "skills"]) || badList(agent.evaluation_variables, ["agents", index, "evaluation_variables"], { nullSection: false }) || isPlainObject(tools) && HUB_AS_CODE_AGENT_TOOL_KEYS.some((kind) => badList(tools[kind], ["agents", index, "tools", kind], { nullEntries: kind === "delegation" }));
|
|
14679
|
+
});
|
|
14680
|
+
}
|
|
14614
14681
|
function skillSectionsAsResources(scope) {
|
|
14615
14682
|
return (config, ctx) => {
|
|
14616
14683
|
if (!isPlainObject(config)) return config;
|
|
@@ -14655,9 +14722,9 @@ function skillSectionsAsResources(scope) {
|
|
|
14655
14722
|
return out;
|
|
14656
14723
|
};
|
|
14657
14724
|
}
|
|
14658
|
-
var 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_HUB_AS_CODE_PAGE_MANIFEST_CHARS, hubAsCodePagesSchema, MAX_CALL_OPENING_CARRIERS, MAX_CALL_OPENING_AGGREGATE_ENCODED_BYTES, HUB_AS_CODE_AGENT_TOOL_KEYS, hubAsCodeStateSchema, hubAsCodeResourceFileSchema, hubAsCodeResourceSchema, uuidPattern, ciUuidSchema, flagEntriesOf, boundedHubAsCodeResourcesSchema, isPlainObject, MIN_SKILLS_LAYOUT_CLI, 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;
|
|
14659
|
-
var
|
|
14660
|
-
"../../packages/core/dist/chunk-
|
|
14725
|
+
var 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_HUB_AS_CODE_PAGE_MANIFEST_CHARS, hubAsCodePagesSchema, MAX_CALL_OPENING_CARRIERS, MAX_CALL_OPENING_AGGREGATE_ENCODED_BYTES, HUB_AS_CODE_AGENT_TOOL_KEYS, hubAsCodeStateSchema, hubAsCodeResourceFileSchema, hubAsCodeResourceSchema, uuidPattern, ciUuidSchema, flagEntriesOf, boundedHubAsCodeResourcesSchema, isPlainObject, MIN_SKILLS_LAYOUT_CLI, MAX_HUB_AS_CODE_DEPTH, NAMED_DEPTH_SEGMENTS, NAMED_DEPTH_KEY_CHARS, fieldName, 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;
|
|
14726
|
+
var init_chunk_VNGEV62J = __esm({
|
|
14727
|
+
"../../packages/core/dist/chunk-VNGEV62J.js"() {
|
|
14661
14728
|
"use strict";
|
|
14662
14729
|
init_chunk_6HXH56R4();
|
|
14663
14730
|
init_chunk_HRKVCI5A();
|
|
@@ -14775,7 +14842,17 @@ var init_chunk_YFQXT7IT = __esm({
|
|
|
14775
14842
|
}).pipe(external_exports.array(hubAsCodeResourceSchema));
|
|
14776
14843
|
isPlainObject = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
|
|
14777
14844
|
MIN_SKILLS_LAYOUT_CLI = "0.3.234";
|
|
14778
|
-
|
|
14845
|
+
MAX_HUB_AS_CODE_DEPTH = 128;
|
|
14846
|
+
NAMED_DEPTH_SEGMENTS = 12;
|
|
14847
|
+
NAMED_DEPTH_KEY_CHARS = 64;
|
|
14848
|
+
fieldName = (path45) => path45.reduce(
|
|
14849
|
+
(name, key) => typeof key === "number" ? `${name}[${key}]` : name ? `${name}.${key}` : key,
|
|
14850
|
+
""
|
|
14851
|
+
);
|
|
14852
|
+
hubAsCodeConfigSchema = external_exports.preprocess((config, ctx) => {
|
|
14853
|
+
if (refusedNesting(config, [], ctx) || refusedStringConfigNesting(config, ctx) || refusedUnreadableSection(config, ctx)) return config;
|
|
14854
|
+
return skillSectionsAsResources("hub")(config, ctx);
|
|
14855
|
+
}, external_exports.object({
|
|
14779
14856
|
version: external_exports.literal(1),
|
|
14780
14857
|
hub: external_exports.object({
|
|
14781
14858
|
name: external_exports.string().min(1, "config.hub.name is required"),
|
|
@@ -15729,15 +15806,15 @@ var init_chunk_JO53JB35 = __esm({
|
|
|
15729
15806
|
}
|
|
15730
15807
|
});
|
|
15731
15808
|
|
|
15732
|
-
// ../../packages/core/dist/chunk-
|
|
15809
|
+
// ../../packages/core/dist/chunk-R6Y377AW.js
|
|
15733
15810
|
function filterNamesAnything(filter) {
|
|
15734
15811
|
return filter.labels.length + filter.scope_tag_ids.length > 0;
|
|
15735
15812
|
}
|
|
15736
15813
|
var hubListNameSchema, HUB_LIST_FILTER_REQUIRED, hubContactListFilterSchema, hubContactListIdParam, hubContactListHubQuery, description, createHubContactListBody, updateHubContactListBody;
|
|
15737
|
-
var
|
|
15738
|
-
"../../packages/core/dist/chunk-
|
|
15814
|
+
var init_chunk_R6Y377AW = __esm({
|
|
15815
|
+
"../../packages/core/dist/chunk-R6Y377AW.js"() {
|
|
15739
15816
|
"use strict";
|
|
15740
|
-
|
|
15817
|
+
init_chunk_UAOHHCW5();
|
|
15741
15818
|
init_zod();
|
|
15742
15819
|
hubListNameSchema = orgListReferenceSchema;
|
|
15743
15820
|
HUB_LIST_FILTER_REQUIRED = "A hub list names at least one label or scope tag";
|
|
@@ -15763,13 +15840,13 @@ var init_chunk_ZU2FJGU3 = __esm({
|
|
|
15763
15840
|
}
|
|
15764
15841
|
});
|
|
15765
15842
|
|
|
15766
|
-
// ../../packages/core/dist/chunk-
|
|
15843
|
+
// ../../packages/core/dist/chunk-DJKJMVH5.js
|
|
15767
15844
|
var 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, 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;
|
|
15768
|
-
var
|
|
15769
|
-
"../../packages/core/dist/chunk-
|
|
15845
|
+
var init_chunk_DJKJMVH5 = __esm({
|
|
15846
|
+
"../../packages/core/dist/chunk-DJKJMVH5.js"() {
|
|
15770
15847
|
"use strict";
|
|
15771
|
-
|
|
15772
|
-
|
|
15848
|
+
init_chunk_R6Y377AW();
|
|
15849
|
+
init_chunk_UAOHHCW5();
|
|
15773
15850
|
init_chunk_MBXNS7SI();
|
|
15774
15851
|
init_chunk_5XEJSR22();
|
|
15775
15852
|
init_chunk_G4HTKQCL();
|
|
@@ -16227,7 +16304,7 @@ var init_contracts = __esm({
|
|
|
16227
16304
|
init_chunk_VEERWOZ6();
|
|
16228
16305
|
init_chunk_ZXK6N2HN();
|
|
16229
16306
|
init_chunk_Y7CFCYX4();
|
|
16230
|
-
|
|
16307
|
+
init_chunk_MGBAXT5Y();
|
|
16231
16308
|
init_chunk_YUZFHVB2();
|
|
16232
16309
|
init_chunk_I3O2RACG();
|
|
16233
16310
|
init_chunk_34LE6P7E();
|
|
@@ -16243,8 +16320,8 @@ var init_contracts = __esm({
|
|
|
16243
16320
|
init_chunk_Y6NC5CH5();
|
|
16244
16321
|
init_chunk_C4HEZ7ZI();
|
|
16245
16322
|
init_chunk_IR2NOSI3();
|
|
16246
|
-
|
|
16247
|
-
|
|
16323
|
+
init_chunk_47LPEX74();
|
|
16324
|
+
init_chunk_6AYIXGDT();
|
|
16248
16325
|
init_chunk_YULHXJ5M();
|
|
16249
16326
|
init_chunk_V4FRPRH5();
|
|
16250
16327
|
init_chunk_LWMLR2WI();
|
|
@@ -16255,7 +16332,7 @@ var init_contracts = __esm({
|
|
|
16255
16332
|
init_chunk_E4DIIOOE();
|
|
16256
16333
|
init_chunk_7CYHPF35();
|
|
16257
16334
|
init_chunk_BPCNB5RT();
|
|
16258
|
-
|
|
16335
|
+
init_chunk_VNGEV62J();
|
|
16259
16336
|
init_chunk_6HXH56R4();
|
|
16260
16337
|
init_chunk_HRKVCI5A();
|
|
16261
16338
|
init_chunk_IW7D2QOD();
|
|
@@ -16276,9 +16353,9 @@ var init_contracts = __esm({
|
|
|
16276
16353
|
init_chunk_2PZIF56U();
|
|
16277
16354
|
init_chunk_UEJOG2Q7();
|
|
16278
16355
|
init_chunk_JO53JB35();
|
|
16279
|
-
|
|
16280
|
-
|
|
16281
|
-
|
|
16356
|
+
init_chunk_DJKJMVH5();
|
|
16357
|
+
init_chunk_R6Y377AW();
|
|
16358
|
+
init_chunk_UAOHHCW5();
|
|
16282
16359
|
init_chunk_MBXNS7SI();
|
|
16283
16360
|
init_chunk_IG6QBZMA();
|
|
16284
16361
|
init_chunk_OMPT4ZHR();
|