@treasuredata/tdx 0.9.8 → 0.10.0
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/bin.js +1 -1
- package/dist/build-info.json +2 -2
- package/dist/cli-categories.js +1 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +1 -1
- package/dist/cli.js.map +1 -1
- package/dist/commands/activations.js +1 -1
- package/dist/commands/activations.js.map +1 -1
- package/dist/commands/agent-command.js +1 -1
- package/dist/commands/agent-command.js.map +1 -1
- package/dist/commands/api-command.js +1 -1
- package/dist/commands/api-command.js.map +1 -1
- package/dist/commands/auth-command.js +1 -1
- package/dist/commands/auth-command.js.map +1 -1
- package/dist/commands/chat-command.js +1 -1
- package/dist/commands/chat-command.js.map +1 -1
- package/dist/commands/claude-command.js +1 -1
- package/dist/commands/claude-statusline-command.js +1 -1
- package/dist/commands/claude-statusline-command.js.map +1 -1
- package/dist/commands/claude-usage-command.js +1 -1
- package/dist/commands/claude-usage-command.js.map +1 -1
- package/dist/commands/command.d.ts +2 -2
- package/dist/commands/command.d.ts.map +1 -1
- package/dist/commands/command.js +1 -1
- package/dist/commands/command.js.map +1 -1
- package/dist/commands/connection-command.js +1 -1
- package/dist/commands/connection-command.js.map +1 -1
- package/dist/commands/context-command.js +1 -1
- package/dist/commands/databases.js +1 -1
- package/dist/commands/databases.js.map +1 -1
- package/dist/commands/describe.js +1 -1
- package/dist/commands/describe.js.map +1 -1
- package/dist/commands/engage-command.js +1 -1
- package/dist/commands/engage-command.js.map +1 -1
- package/dist/commands/job-command.js +1 -1
- package/dist/commands/job-command.js.map +1 -1
- package/dist/commands/journey-command.d.ts.map +1 -1
- package/dist/commands/journey-command.js +1 -1
- package/dist/commands/journey-command.js.map +1 -1
- package/dist/commands/journey-validate-command.d.ts +18 -0
- package/dist/commands/journey-validate-command.d.ts.map +1 -0
- package/dist/commands/journey-validate-command.js +1 -0
- package/dist/commands/journey-validate-command.js.map +1 -0
- package/dist/commands/llm-command.js +1 -1
- package/dist/commands/llm-command.js.map +1 -1
- package/dist/commands/llm-proxy.js +1 -1
- package/dist/commands/parent-segment-command.js +1 -1
- package/dist/commands/parent-segment-command.js.map +1 -1
- package/dist/commands/profiles-command.js +1 -1
- package/dist/commands/profiles-command.js.map +1 -1
- package/dist/commands/query-command.js +1 -1
- package/dist/commands/query-command.js.map +1 -1
- package/dist/commands/segment-command.js +1 -1
- package/dist/commands/segment-command.js.map +1 -1
- package/dist/commands/segment-create-command.js +1 -1
- package/dist/commands/segment-create-command.js.map +1 -1
- package/dist/commands/segment-fields-command.js +1 -1
- package/dist/commands/segment-fields-command.js.map +1 -1
- package/dist/commands/segment-pull-command.d.ts +1 -6
- package/dist/commands/segment-pull-command.d.ts.map +1 -1
- package/dist/commands/segment-pull-command.js +1 -1
- package/dist/commands/segment-pull-command.js.map +1 -1
- package/dist/commands/segment-push-command.d.ts +2 -0
- package/dist/commands/segment-push-command.d.ts.map +1 -1
- package/dist/commands/segment-push-command.js +1 -1
- package/dist/commands/segment-push-command.js.map +1 -1
- package/dist/commands/segment-update-command.js +1 -1
- package/dist/commands/segment-update-command.js.map +1 -1
- package/dist/commands/segment-use-command.js +1 -1
- package/dist/commands/segment-use-command.js.map +1 -1
- package/dist/commands/segment-validate-command.d.ts +18 -0
- package/dist/commands/segment-validate-command.d.ts.map +1 -0
- package/dist/commands/segment-validate-command.js +1 -0
- package/dist/commands/segment-validate-command.js.map +1 -0
- package/dist/commands/segments.js +1 -1
- package/dist/commands/segments.js.map +1 -1
- package/dist/commands/show.js +1 -1
- package/dist/commands/show.js.map +1 -1
- package/dist/commands/tables.js +1 -1
- package/dist/commands/tables.js.map +1 -1
- package/dist/commands/use-command.js +1 -1
- package/dist/commands/use-command.js.map +1 -1
- package/dist/commands/user-command.js +1 -1
- package/dist/commands/user-command.js.map +1 -1
- package/dist/commands/workflow-command.js +1 -1
- package/dist/commands/workflow-command.js.map +1 -1
- package/dist/core/auth.d.ts +1 -1
- package/dist/core/auth.d.ts.map +1 -1
- package/dist/core/auth.js +1 -1
- package/dist/{utils → core}/command-output.d.ts +1 -1
- package/dist/core/command-output.d.ts.map +1 -0
- package/dist/core/command-output.js +1 -0
- package/dist/core/command-output.js.map +1 -0
- package/dist/core/config.d.ts +1 -1
- package/dist/core/config.d.ts.map +1 -1
- package/dist/core/config.js +1 -1
- package/dist/core/config.js.map +1 -1
- package/dist/core/connection-cache.d.ts +1 -1
- package/dist/core/connection-cache.d.ts.map +1 -1
- package/dist/core/connection-cache.js +1 -1
- package/dist/core/constants.d.ts.map +1 -0
- package/dist/core/constants.js +1 -0
- package/dist/core/constants.js.map +1 -0
- package/dist/core/credential-cache.js +1 -1
- package/dist/core/global-context.d.ts +2 -2
- package/dist/core/global-context.d.ts.map +1 -1
- package/dist/core/global-context.js +1 -1
- package/dist/core/keychain.js +1 -1
- package/dist/core/profile.d.ts +1 -1
- package/dist/core/profile.d.ts.map +1 -1
- package/dist/core/profile.js +1 -1
- package/dist/core/project-config.d.ts +1 -1
- package/dist/core/project-config.d.ts.map +1 -1
- package/dist/core/project-config.js +1 -1
- package/dist/core/session.d.ts +1 -1
- package/dist/core/session.d.ts.map +1 -1
- package/dist/core/session.js +1 -1
- package/dist/core/user-cache.d.ts +1 -1
- package/dist/core/user-cache.d.ts.map +1 -1
- package/dist/core/user-cache.js +1 -1
- package/dist/index.d.ts +6 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/proxy/anthropic-adapter.d.ts +2 -2
- package/dist/proxy/anthropic-adapter.d.ts.map +1 -1
- package/dist/proxy/anthropic-adapter.js +1 -1
- package/dist/proxy/claude-usage-tracker.js +1 -1
- package/dist/proxy/claude-usage-tracker.js.map +1 -1
- package/dist/proxy/context-signature.d.ts +1 -1
- package/dist/proxy/context-signature.d.ts.map +1 -1
- package/dist/proxy/context-signature.js +1 -1
- package/dist/proxy/context-signature.js.map +1 -1
- package/dist/proxy/conversation-utils.d.ts +1 -1
- package/dist/proxy/conversation-utils.d.ts.map +1 -1
- package/dist/proxy/conversation-utils.js +1 -1
- package/dist/proxy/server.js +1 -1
- package/dist/proxy/server.js.map +1 -1
- package/dist/proxy/session-cache.d.ts +1 -1
- package/dist/proxy/session-cache.d.ts.map +1 -1
- package/dist/proxy/session-cache.js +1 -1
- package/dist/sdk/agent/agent-config.d.ts.map +1 -0
- package/dist/sdk/agent/agent-config.js +1 -0
- package/dist/sdk/agent/agent-config.js.map +1 -0
- package/dist/sdk/agent/agent-ref-parser.d.ts.map +1 -0
- package/dist/sdk/agent/agent-ref-parser.js +1 -0
- package/dist/sdk/agent/agent-ref-parser.js.map +1 -0
- package/dist/sdk/agent/agent-yaml.d.ts +71 -176
- package/dist/sdk/agent/agent-yaml.d.ts.map +1 -1
- package/dist/sdk/agent/agent-yaml.js +1 -1
- package/dist/sdk/agent/agent-yaml.js.map +1 -1
- package/dist/sdk/agent/types/agent-def.d.ts +182 -0
- package/dist/sdk/agent/types/agent-def.d.ts.map +1 -0
- package/dist/sdk/agent/types/agent-def.js.map +1 -0
- package/dist/sdk/api.d.ts +2 -2
- package/dist/sdk/api.d.ts.map +1 -1
- package/dist/sdk/api.js +1 -1
- package/dist/sdk/api.js.map +1 -1
- package/dist/{client → sdk/client}/cdp-api-client.d.ts +24 -9
- package/dist/sdk/client/cdp-api-client.d.ts.map +1 -0
- package/dist/sdk/client/cdp-api-client.js +1 -0
- package/dist/sdk/client/cdp-api-client.js.map +1 -0
- package/dist/{types → sdk/client}/endpoints.d.ts +1 -1
- package/dist/sdk/client/endpoints.d.ts.map +1 -0
- package/dist/sdk/client/endpoints.js +1 -0
- package/dist/sdk/client/endpoints.js.map +1 -0
- package/dist/{client → sdk/client}/engage-api-client.d.ts +1 -1
- package/dist/sdk/client/engage-api-client.d.ts.map +1 -0
- package/dist/sdk/client/engage-api-client.js +1 -0
- package/dist/sdk/client/engage-api-client.js.map +1 -0
- package/dist/{client → sdk/client}/http-client.d.ts +2 -2
- package/dist/sdk/client/http-client.d.ts.map +1 -0
- package/dist/sdk/client/http-client.js +1 -0
- package/dist/sdk/client/http-client.js.map +1 -0
- package/dist/{client → sdk/client}/llm-api-client.d.ts +8 -8
- package/dist/sdk/client/llm-api-client.d.ts.map +1 -0
- package/dist/sdk/client/llm-api-client.js +1 -0
- package/dist/sdk/client/llm-api-client.js.map +1 -0
- package/dist/sdk/client/rate-limiter.d.ts.map +1 -0
- package/dist/sdk/client/rate-limiter.js +1 -0
- package/dist/sdk/client/rate-limiter.js.map +1 -0
- package/dist/{client → sdk/client}/td-api-client.d.ts +2 -2
- package/dist/sdk/client/td-api-client.d.ts.map +1 -0
- package/dist/sdk/client/td-api-client.js +1 -0
- package/dist/sdk/client/td-api-client.js.map +1 -0
- package/dist/{client → sdk/client}/trino-api-client.d.ts +2 -2
- package/dist/sdk/client/trino-api-client.d.ts.map +1 -0
- package/dist/sdk/client/trino-api-client.js +1 -0
- package/dist/sdk/client/trino-api-client.js.map +1 -0
- package/dist/{client → sdk/client}/workflow-client.d.ts +2 -2
- package/dist/sdk/client/workflow-client.d.ts.map +1 -0
- package/dist/sdk/client/workflow-client.js +1 -0
- package/dist/sdk/client/workflow-client.js.map +1 -0
- package/dist/sdk/connection-validator.d.ts +1 -1
- package/dist/sdk/connection-validator.d.ts.map +1 -1
- package/dist/sdk/connection-validator.js +1 -1
- package/dist/sdk/connection.d.ts +1 -1
- package/dist/sdk/connection.d.ts.map +1 -1
- package/dist/sdk/connection.js +1 -1
- package/dist/sdk/connection.js.map +1 -1
- package/dist/sdk/engage.d.ts +1 -1
- package/dist/sdk/engage.d.ts.map +1 -1
- package/dist/sdk/engage.js +1 -1
- package/dist/sdk/engage.js.map +1 -1
- package/dist/sdk/errors.js +1 -1
- package/dist/sdk/index.d.ts +18 -18
- package/dist/sdk/index.d.ts.map +1 -1
- package/dist/sdk/index.js +1 -1
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/io/index.d.ts +9 -0
- package/dist/sdk/io/index.d.ts.map +1 -0
- package/dist/sdk/io/index.js +1 -0
- package/dist/sdk/io/index.js.map +1 -0
- package/dist/sdk/io/node-filesystem.d.ts +13 -0
- package/dist/sdk/io/node-filesystem.d.ts.map +1 -0
- package/dist/sdk/io/node-filesystem.js +1 -0
- package/dist/sdk/io/node-filesystem.js.map +1 -0
- package/dist/sdk/io/types.d.ts +39 -0
- package/dist/sdk/io/types.d.ts.map +1 -0
- package/dist/sdk/io/types.js.map +1 -0
- package/dist/sdk/job.d.ts +1 -1
- package/dist/sdk/job.d.ts.map +1 -1
- package/dist/sdk/job.js +1 -1
- package/dist/sdk/job.js.map +1 -1
- package/dist/sdk/journey.d.ts +23 -1
- package/dist/sdk/journey.d.ts.map +1 -1
- package/dist/sdk/journey.js +1 -1
- package/dist/sdk/journey.js.map +1 -1
- package/dist/sdk/llm/chat-cache.d.ts.map +1 -0
- package/dist/sdk/llm/chat-cache.js +1 -0
- package/dist/sdk/llm/chat-cache.js.map +1 -0
- package/dist/sdk/{llm.d.ts → llm/index.d.ts} +2 -2
- package/dist/sdk/llm/index.d.ts.map +1 -0
- package/dist/sdk/llm/index.js +1 -0
- package/dist/sdk/llm/index.js.map +1 -0
- package/dist/{utils → sdk/llm}/llm-backup-utils.d.ts +2 -2
- package/dist/sdk/llm/llm-backup-utils.d.ts.map +1 -0
- package/dist/sdk/llm/llm-backup-utils.js +1 -0
- package/dist/sdk/llm/llm-backup-utils.js.map +1 -0
- package/dist/sdk/llm/model-aliases.d.ts.map +1 -0
- package/dist/sdk/llm/model-aliases.js +1 -0
- package/dist/sdk/llm/model-aliases.js.map +1 -0
- package/dist/sdk/llm/model-factors.d.ts.map +1 -0
- package/dist/sdk/llm/model-factors.js +1 -0
- package/dist/sdk/llm/model-factors.js.map +1 -0
- package/dist/sdk/{query.d.ts → query/index.d.ts} +2 -2
- package/dist/sdk/query/index.d.ts.map +1 -0
- package/dist/sdk/query/index.js +1 -0
- package/dist/sdk/query/index.js.map +1 -0
- package/dist/sdk/query/sql-parser.d.ts.map +1 -0
- package/dist/sdk/query/sql-parser.js +1 -0
- package/dist/sdk/query/sql-parser.js.map +1 -0
- package/dist/sdk/segment/child-segment-yaml.d.ts +84 -257
- package/dist/sdk/segment/child-segment-yaml.d.ts.map +1 -1
- package/dist/sdk/segment/child-segment-yaml.js +1 -1
- package/dist/sdk/segment/child-segment-yaml.js.map +1 -1
- package/dist/{utils → sdk/segment}/fields-display.d.ts +1 -1
- package/dist/sdk/segment/fields-display.d.ts.map +1 -0
- package/dist/sdk/segment/fields-display.js +1 -0
- package/dist/sdk/segment/fields-display.js.map +1 -0
- package/dist/sdk/segment/file-discovery.d.ts +39 -0
- package/dist/sdk/segment/file-discovery.d.ts.map +1 -0
- package/dist/sdk/segment/file-discovery.js +1 -0
- package/dist/sdk/segment/file-discovery.js.map +1 -0
- package/dist/{utils → sdk/segment}/journey-utils.d.ts +62 -9
- package/dist/sdk/segment/journey-utils.d.ts.map +1 -0
- package/dist/sdk/segment/journey-utils.js +1 -0
- package/dist/sdk/segment/journey-utils.js.map +1 -0
- package/dist/sdk/segment/journey-yaml.d.ts +62 -475
- package/dist/sdk/segment/journey-yaml.d.ts.map +1 -1
- package/dist/sdk/segment/journey-yaml.js +1 -1
- package/dist/sdk/segment/journey-yaml.js.map +1 -1
- package/dist/sdk/segment/parent-segment-preview.d.ts +14 -14
- package/dist/sdk/segment/parent-segment-preview.d.ts.map +1 -1
- package/dist/sdk/segment/parent-segment-preview.js +1 -1
- package/dist/sdk/segment/parent-segment-preview.js.map +1 -1
- package/dist/sdk/segment/parent-segment-yaml.d.ts +16 -158
- package/dist/sdk/segment/parent-segment-yaml.d.ts.map +1 -1
- package/dist/sdk/segment/parent-segment-yaml.js +1 -1
- package/dist/sdk/segment/parent-segment-yaml.js.map +1 -1
- package/dist/sdk/segment/pull-workflow.d.ts +91 -0
- package/dist/sdk/segment/pull-workflow.d.ts.map +1 -0
- package/dist/sdk/segment/pull-workflow.js +1 -0
- package/dist/sdk/segment/pull-workflow.js.map +1 -0
- package/dist/sdk/segment/push-workflow.d.ts +953 -0
- package/dist/sdk/segment/push-workflow.d.ts.map +1 -0
- package/dist/sdk/segment/push-workflow.js +1 -0
- package/dist/sdk/segment/push-workflow.js.map +1 -0
- package/dist/sdk/segment/resolution-context.d.ts +43 -0
- package/dist/sdk/segment/resolution-context.d.ts.map +1 -0
- package/dist/sdk/segment/resolution-context.js +1 -0
- package/dist/sdk/segment/resolution-context.js.map +1 -0
- package/dist/{utils → sdk/segment}/segment-path-parser.d.ts +2 -1
- package/dist/sdk/segment/segment-path-parser.d.ts.map +1 -0
- package/dist/sdk/segment/segment-path-parser.js +1 -0
- package/dist/sdk/segment/segment-path-parser.js.map +1 -0
- package/dist/sdk/segment/segment-ref-parser.d.ts.map +1 -0
- package/dist/sdk/segment/segment-ref-parser.js +1 -0
- package/dist/sdk/segment/segment-ref-parser.js.map +1 -0
- package/dist/sdk/segment/target-resolution.d.ts +162 -0
- package/dist/sdk/segment/target-resolution.d.ts.map +1 -0
- package/dist/sdk/segment/target-resolution.js +1 -0
- package/dist/sdk/segment/target-resolution.js.map +1 -0
- package/dist/{utils → sdk/segment}/tdx-config.d.ts +8 -0
- package/dist/sdk/segment/tdx-config.d.ts.map +1 -0
- package/dist/sdk/segment/tdx-config.js +1 -0
- package/dist/sdk/segment/tdx-config.js.map +1 -0
- package/dist/sdk/segment/types/journey-def.d.ts +323 -0
- package/dist/sdk/segment/types/journey-def.d.ts.map +1 -0
- package/dist/sdk/segment/types/journey-def.js.map +1 -0
- package/dist/sdk/segment/types/parent-segment-def.d.ts +157 -0
- package/dist/sdk/segment/types/parent-segment-def.d.ts.map +1 -0
- package/dist/sdk/segment/types/parent-segment-def.js.map +1 -0
- package/dist/sdk/segment/types/segment-def.d.ts +284 -0
- package/dist/sdk/segment/types/segment-def.d.ts.map +1 -0
- package/dist/sdk/segment/types/segment-def.js.map +1 -0
- package/dist/sdk/segment/validate-files.d.ts +94 -0
- package/dist/sdk/segment/validate-files.d.ts.map +1 -0
- package/dist/sdk/segment/validate-files.js +1 -0
- package/dist/sdk/segment/validate-files.js.map +1 -0
- package/dist/sdk/segment/yaml-validator.d.ts +101 -0
- package/dist/sdk/segment/yaml-validator.d.ts.map +1 -0
- package/dist/sdk/segment/yaml-validator.js +1 -0
- package/dist/sdk/segment/yaml-validator.js.map +1 -0
- package/dist/sdk/segment.d.ts +59 -15
- package/dist/sdk/segment.d.ts.map +1 -1
- package/dist/sdk/segment.js +1 -1
- package/dist/sdk/segment.js.map +1 -1
- package/dist/sdk/types/anthropic.d.ts.map +1 -0
- package/dist/sdk/types/anthropic.js.map +1 -0
- package/dist/{types → sdk/types}/cdp.d.ts +2 -2
- package/dist/sdk/types/cdp.d.ts.map +1 -0
- package/dist/sdk/types/cdp.js.map +1 -0
- package/dist/sdk/types/connection.d.ts.map +1 -0
- package/dist/sdk/types/connection.js.map +1 -0
- package/dist/sdk/types/connector-schema.d.ts.map +1 -0
- package/dist/sdk/types/connector-schema.js.map +1 -0
- package/dist/sdk/types/database.d.ts.map +1 -0
- package/dist/sdk/types/database.js.map +1 -0
- package/dist/sdk/types/engage.d.ts.map +1 -0
- package/dist/sdk/types/engage.js +1 -0
- package/dist/sdk/types/engage.js.map +1 -0
- package/dist/{types → sdk/types}/index.d.ts +6 -4
- package/dist/sdk/types/index.d.ts.map +1 -0
- package/dist/sdk/types/index.js +1 -0
- package/dist/sdk/types/index.js.map +1 -0
- package/dist/sdk/types/job.d.ts.map +1 -0
- package/dist/sdk/types/job.js +1 -0
- package/dist/sdk/types/job.js.map +1 -0
- package/dist/{types → sdk/types}/llm.d.ts +2 -2
- package/dist/sdk/types/llm.d.ts.map +1 -0
- package/dist/sdk/types/llm.js +1 -0
- package/dist/sdk/types/llm.js.map +1 -0
- package/dist/sdk/types/progress.d.ts +42 -0
- package/dist/sdk/types/progress.d.ts.map +1 -0
- package/dist/sdk/types/progress.js +1 -0
- package/dist/sdk/types/progress.js.map +1 -0
- package/dist/sdk/types/resolution-context.d.ts +85 -0
- package/dist/sdk/types/resolution-context.d.ts.map +1 -0
- package/dist/sdk/types/resolution-context.js +1 -0
- package/dist/sdk/types/resolution-context.js.map +1 -0
- package/dist/sdk/types/trino.d.ts.map +1 -0
- package/dist/sdk/types/trino.js +1 -0
- package/dist/sdk/types/trino.js.map +1 -0
- package/dist/sdk/types/workflow.d.ts.map +1 -0
- package/dist/sdk/types/workflow.js +1 -0
- package/dist/sdk/types/workflow.js.map +1 -0
- package/dist/sdk/user.d.ts +1 -1
- package/dist/sdk/user.d.ts.map +1 -1
- package/dist/sdk/user.js +1 -1
- package/dist/sdk/user.js.map +1 -1
- package/dist/sdk/util/format-detector.d.ts.map +1 -0
- package/dist/sdk/util/format-detector.js +1 -0
- package/dist/sdk/util/format-detector.js.map +1 -0
- package/dist/{utils → sdk/util}/formatters.d.ts +1 -1
- package/dist/sdk/util/formatters.d.ts.map +1 -0
- package/dist/sdk/util/formatters.js +1 -0
- package/dist/sdk/util/formatters.js.map +1 -0
- package/dist/sdk/util/index.d.ts +9 -0
- package/dist/sdk/util/index.d.ts.map +1 -0
- package/dist/sdk/util/index.js +1 -0
- package/dist/sdk/util/index.js.map +1 -0
- package/dist/sdk/util/tree-formatter.d.ts.map +1 -0
- package/dist/sdk/util/tree-formatter.js +1 -0
- package/dist/sdk/util/tree-formatter.js.map +1 -0
- package/dist/sdk/{workflow.d.ts → workflow/index.d.ts} +2 -2
- package/dist/sdk/workflow/index.d.ts.map +1 -0
- package/dist/sdk/workflow/index.js +1 -0
- package/dist/sdk/workflow/index.js.map +1 -0
- package/dist/sdk/workflow/workflow-utils.d.ts.map +1 -0
- package/dist/sdk/workflow/workflow-utils.js +1 -0
- package/dist/sdk/workflow/workflow-utils.js.map +1 -0
- package/dist/utils/async.js +1 -1
- package/dist/utils/colors.js +1 -1
- package/dist/utils/diff.js +1 -1
- package/dist/utils/file-permissions.js +1 -1
- package/dist/utils/json-loader.js +1 -1
- package/dist/utils/option-validation.js +1 -1
- package/dist/utils/port.js +1 -1
- package/dist/utils/process.js +1 -1
- package/dist/utils/prompt.js +1 -1
- package/dist/utils/spinner.d.ts +12 -12
- package/dist/utils/spinner.d.ts.map +1 -1
- package/dist/utils/spinner.js +1 -1
- package/dist/utils/spinner.js.map +1 -1
- package/dist/utils/sse-parser.d.ts +1 -1
- package/dist/utils/sse-parser.d.ts.map +1 -1
- package/dist/utils/sse-parser.js +1 -1
- package/dist/utils/string-utils.js +1 -1
- package/dist/utils/table-ref-parser.js +1 -1
- package/dist/utils/tdx-logger.js +1 -1
- package/dist/utils/version-check.js +1 -1
- package/package.json +1 -1
- package/dist/client/cdp-api-client.d.ts.map +0 -1
- package/dist/client/cdp-api-client.js +0 -1
- package/dist/client/cdp-api-client.js.map +0 -1
- package/dist/client/engage-api-client.d.ts.map +0 -1
- package/dist/client/engage-api-client.js +0 -1
- package/dist/client/engage-api-client.js.map +0 -1
- package/dist/client/http-client.d.ts.map +0 -1
- package/dist/client/http-client.js +0 -1
- package/dist/client/http-client.js.map +0 -1
- package/dist/client/llm-api-client.d.ts.map +0 -1
- package/dist/client/llm-api-client.js +0 -1
- package/dist/client/llm-api-client.js.map +0 -1
- package/dist/client/rate-limiter.d.ts.map +0 -1
- package/dist/client/rate-limiter.js +0 -1
- package/dist/client/rate-limiter.js.map +0 -1
- package/dist/client/td-api-client.d.ts.map +0 -1
- package/dist/client/td-api-client.js +0 -1
- package/dist/client/td-api-client.js.map +0 -1
- package/dist/client/trino-api-client.d.ts.map +0 -1
- package/dist/client/trino-api-client.js +0 -1
- package/dist/client/trino-api-client.js.map +0 -1
- package/dist/client/workflow-client.d.ts.map +0 -1
- package/dist/client/workflow-client.js +0 -1
- package/dist/client/workflow-client.js.map +0 -1
- package/dist/sdk/llm.d.ts.map +0 -1
- package/dist/sdk/llm.js +0 -1
- package/dist/sdk/llm.js.map +0 -1
- package/dist/sdk/query.d.ts.map +0 -1
- package/dist/sdk/query.js +0 -1
- package/dist/sdk/query.js.map +0 -1
- package/dist/sdk/workflow.d.ts.map +0 -1
- package/dist/sdk/workflow.js +0 -1
- package/dist/sdk/workflow.js.map +0 -1
- package/dist/types/anthropic.d.ts.map +0 -1
- package/dist/types/anthropic.js.map +0 -1
- package/dist/types/cdp.d.ts.map +0 -1
- package/dist/types/cdp.js.map +0 -1
- package/dist/types/connection.d.ts.map +0 -1
- package/dist/types/connection.js.map +0 -1
- package/dist/types/connector-schema.d.ts.map +0 -1
- package/dist/types/connector-schema.js.map +0 -1
- package/dist/types/database.d.ts.map +0 -1
- package/dist/types/database.js.map +0 -1
- package/dist/types/endpoints.d.ts.map +0 -1
- package/dist/types/endpoints.js +0 -1
- package/dist/types/endpoints.js.map +0 -1
- package/dist/types/engage.d.ts.map +0 -1
- package/dist/types/engage.js.map +0 -1
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/index.js +0 -1
- package/dist/types/index.js.map +0 -1
- package/dist/types/job.d.ts.map +0 -1
- package/dist/types/job.js.map +0 -1
- package/dist/types/llm.d.ts.map +0 -1
- package/dist/types/llm.js.map +0 -1
- package/dist/types/trino.d.ts.map +0 -1
- package/dist/types/trino.js.map +0 -1
- package/dist/types/workflow.d.ts.map +0 -1
- package/dist/types/workflow.js.map +0 -1
- package/dist/utils/agent-config.d.ts.map +0 -1
- package/dist/utils/agent-config.js +0 -1
- package/dist/utils/agent-config.js.map +0 -1
- package/dist/utils/agent-ref-parser.d.ts.map +0 -1
- package/dist/utils/agent-ref-parser.js +0 -1
- package/dist/utils/agent-ref-parser.js.map +0 -1
- package/dist/utils/chat-cache.d.ts.map +0 -1
- package/dist/utils/chat-cache.js +0 -1
- package/dist/utils/chat-cache.js.map +0 -1
- package/dist/utils/command-output.d.ts.map +0 -1
- package/dist/utils/command-output.js +0 -1
- package/dist/utils/command-output.js.map +0 -1
- package/dist/utils/constants.d.ts.map +0 -1
- package/dist/utils/constants.js +0 -1
- package/dist/utils/constants.js.map +0 -1
- package/dist/utils/fields-display.d.ts.map +0 -1
- package/dist/utils/fields-display.js +0 -1
- package/dist/utils/fields-display.js.map +0 -1
- package/dist/utils/format-detector.d.ts.map +0 -1
- package/dist/utils/format-detector.js +0 -1
- package/dist/utils/format-detector.js.map +0 -1
- package/dist/utils/formatters.d.ts.map +0 -1
- package/dist/utils/formatters.js +0 -1
- package/dist/utils/formatters.js.map +0 -1
- package/dist/utils/journey-utils.d.ts.map +0 -1
- package/dist/utils/journey-utils.js +0 -1
- package/dist/utils/journey-utils.js.map +0 -1
- package/dist/utils/llm-backup-utils.d.ts.map +0 -1
- package/dist/utils/llm-backup-utils.js +0 -1
- package/dist/utils/llm-backup-utils.js.map +0 -1
- package/dist/utils/model-aliases.d.ts.map +0 -1
- package/dist/utils/model-aliases.js +0 -1
- package/dist/utils/model-aliases.js.map +0 -1
- package/dist/utils/model-factors.d.ts.map +0 -1
- package/dist/utils/model-factors.js +0 -1
- package/dist/utils/model-factors.js.map +0 -1
- package/dist/utils/segment-path-parser.d.ts.map +0 -1
- package/dist/utils/segment-path-parser.js +0 -1
- package/dist/utils/segment-path-parser.js.map +0 -1
- package/dist/utils/segment-ref-parser.d.ts.map +0 -1
- package/dist/utils/segment-ref-parser.js +0 -1
- package/dist/utils/segment-ref-parser.js.map +0 -1
- package/dist/utils/sql-parser.d.ts.map +0 -1
- package/dist/utils/sql-parser.js +0 -1
- package/dist/utils/sql-parser.js.map +0 -1
- package/dist/utils/tdx-config.d.ts.map +0 -1
- package/dist/utils/tdx-config.js +0 -1
- package/dist/utils/tdx-config.js.map +0 -1
- package/dist/utils/tree-formatter.d.ts.map +0 -1
- package/dist/utils/tree-formatter.js +0 -1
- package/dist/utils/tree-formatter.js.map +0 -1
- package/dist/utils/workflow-utils.d.ts.map +0 -1
- package/dist/utils/workflow-utils.js +0 -1
- package/dist/utils/workflow-utils.js.map +0 -1
- /package/dist/{utils → core}/constants.d.ts +0 -0
- /package/dist/{utils → sdk/agent}/agent-config.d.ts +0 -0
- /package/dist/{utils → sdk/agent}/agent-ref-parser.d.ts +0 -0
- /package/dist/{types/anthropic.js → sdk/agent/types/agent-def.js} +0 -0
- /package/dist/{client → sdk/client}/rate-limiter.d.ts +0 -0
- /package/dist/{types/cdp.js → sdk/io/types.js} +0 -0
- /package/dist/{utils → sdk/llm}/chat-cache.d.ts +0 -0
- /package/dist/{utils → sdk/llm}/model-aliases.d.ts +0 -0
- /package/dist/{utils → sdk/llm}/model-factors.d.ts +0 -0
- /package/dist/{utils → sdk/query}/sql-parser.d.ts +0 -0
- /package/dist/{utils → sdk/segment}/segment-ref-parser.d.ts +0 -0
- /package/dist/{types/connection.js → sdk/segment/types/journey-def.js} +0 -0
- /package/dist/{types/connector-schema.js → sdk/segment/types/parent-segment-def.js} +0 -0
- /package/dist/{types/database.js → sdk/segment/types/segment-def.js} +0 -0
- /package/dist/{types → sdk/types}/anthropic.d.ts +0 -0
- /package/dist/{types/engage.js → sdk/types/anthropic.js} +0 -0
- /package/dist/{types/job.js → sdk/types/cdp.js} +0 -0
- /package/dist/{types → sdk/types}/connection.d.ts +0 -0
- /package/dist/{types/llm.js → sdk/types/connection.js} +0 -0
- /package/dist/{types → sdk/types}/connector-schema.d.ts +0 -0
- /package/dist/{types/trino.js → sdk/types/connector-schema.js} +0 -0
- /package/dist/{types → sdk/types}/database.d.ts +0 -0
- /package/dist/{types/workflow.js → sdk/types/database.js} +0 -0
- /package/dist/{types → sdk/types}/engage.d.ts +0 -0
- /package/dist/{types → sdk/types}/job.d.ts +0 -0
- /package/dist/{types → sdk/types}/trino.d.ts +0 -0
- /package/dist/{types → sdk/types}/workflow.d.ts +0 -0
- /package/dist/{utils → sdk/util}/format-detector.d.ts +0 -0
- /package/dist/{utils → sdk/util}/tree-formatter.d.ts +0 -0
- /package/dist/{utils → sdk/workflow}/workflow-utils.d.ts +0 -0
|
@@ -4,6 +4,10 @@
|
|
|
4
4
|
* This module provides a human-friendly YAML format for child segment configuration
|
|
5
5
|
* and utilities to convert between YAML and API formats.
|
|
6
6
|
*
|
|
7
|
+
* Transformation flow:
|
|
8
|
+
* - PULL: ApiModel → SegmentDef → YAML
|
|
9
|
+
* - PUSH: YAML → SegmentDef → (resolve refs) → ApiModel
|
|
10
|
+
*
|
|
7
11
|
* YAML Format:
|
|
8
12
|
* ```yaml
|
|
9
13
|
* name: High Value Customers
|
|
@@ -18,212 +22,11 @@
|
|
|
18
22
|
* value: 1000
|
|
19
23
|
* ```
|
|
20
24
|
*/
|
|
21
|
-
import type {
|
|
22
|
-
import type {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
export type YamlOperatorType = 'Equal' | 'NotEqual' | 'Greater' | 'GreaterEqual' | 'Less' | 'LessEqual' | 'In' | 'NotIn' | 'Contain' | 'StartWith' | 'EndWith' | 'Regexp' | 'IsNull' | 'TimeWithinPast' | 'TimeWithinNext' | 'TimeRange' | 'TimeToday' | 'Between';
|
|
27
|
-
/**
|
|
28
|
-
* Time unit for temporal operators
|
|
29
|
-
*/
|
|
30
|
-
export type YamlTimeUnit = 'second' | 'minute' | 'hour' | 'day' | 'week' | 'month' | 'quarter' | 'year';
|
|
31
|
-
/**
|
|
32
|
-
* Array matching mode for array attributes
|
|
33
|
-
*/
|
|
34
|
-
export type YamlArrayMatching = 'any' | 'all' | {
|
|
35
|
-
atLeast: number;
|
|
36
|
-
} | {
|
|
37
|
-
atMost: number;
|
|
38
|
-
} | {
|
|
39
|
-
exactly: number;
|
|
40
|
-
};
|
|
41
|
-
/**
|
|
42
|
-
* Aggregation type for behavior conditions
|
|
43
|
-
*/
|
|
44
|
-
export type YamlAggregationType = 'Count' | 'Sum' | 'Average' | 'Min' | 'Max' | 'CountDistinct' | 'First' | 'Last';
|
|
45
|
-
/**
|
|
46
|
-
* Value type for operator - can be single or array (auto-detected for API parameter)
|
|
47
|
-
*/
|
|
48
|
-
export type YamlOperatorValue = string | number | boolean | (string | number | boolean)[];
|
|
49
|
-
/**
|
|
50
|
-
* Operator definition in YAML format - simplified for user friendliness
|
|
51
|
-
*/
|
|
52
|
-
export interface YamlOperator {
|
|
53
|
-
/** Operator type */
|
|
54
|
-
type: YamlOperatorType;
|
|
55
|
-
/** Negate the condition */
|
|
56
|
-
not?: boolean;
|
|
57
|
-
/**
|
|
58
|
-
* Value for comparison - single value or array.
|
|
59
|
-
* When array is provided, API uses rightValues parameter.
|
|
60
|
-
* When single value is provided, API uses rightValue parameter.
|
|
61
|
-
* Examples:
|
|
62
|
-
* - Equal: value: "US"
|
|
63
|
-
* - In: value: ["US", "CA", "MX"]
|
|
64
|
-
* - Contain: value: ["@gmail.com", "@yahoo.com"]
|
|
65
|
-
*/
|
|
66
|
-
value?: YamlOperatorValue;
|
|
67
|
-
/** Min/max for Between operator */
|
|
68
|
-
min?: number | string;
|
|
69
|
-
max?: number | string;
|
|
70
|
-
/** Time unit for temporal operators */
|
|
71
|
-
unit?: YamlTimeUnit;
|
|
72
|
-
/** Duration for time range operators */
|
|
73
|
-
duration?: {
|
|
74
|
-
day?: number;
|
|
75
|
-
hour?: number;
|
|
76
|
-
minute?: number;
|
|
77
|
-
second?: number;
|
|
78
|
-
};
|
|
79
|
-
/** From reference for time range operators */
|
|
80
|
-
from?: {
|
|
81
|
-
last?: number;
|
|
82
|
-
unit?: YamlTimeUnit;
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* Aggregation definition for behavior-based conditions
|
|
87
|
-
*/
|
|
88
|
-
export interface YamlAggregation {
|
|
89
|
-
type: YamlAggregationType;
|
|
90
|
-
column?: string;
|
|
91
|
-
groupingColumns?: string[];
|
|
92
|
-
}
|
|
93
|
-
/**
|
|
94
|
-
* Value condition in YAML format (leaf condition)
|
|
95
|
-
*/
|
|
96
|
-
export interface YamlValueCondition {
|
|
97
|
-
type: 'Value';
|
|
98
|
-
/** Attribute name to filter on */
|
|
99
|
-
attribute: string;
|
|
100
|
-
/** Operator configuration */
|
|
101
|
-
operator: YamlOperator;
|
|
102
|
-
/** Array matching mode (for array attributes) */
|
|
103
|
-
arrayMatching?: YamlArrayMatching;
|
|
104
|
-
/** Exclude matching records (negate the condition) */
|
|
105
|
-
exclude?: boolean;
|
|
106
|
-
/** Optional aggregation for behavior-based conditions */
|
|
107
|
-
aggregation?: YamlAggregation;
|
|
108
|
-
/** Optional source table for behavior-based conditions */
|
|
109
|
-
source?: string;
|
|
110
|
-
/** Optional nested filter for aggregation conditions */
|
|
111
|
-
filter?: YamlRule;
|
|
112
|
-
/** Limit for aggregation results */
|
|
113
|
-
limit?: number;
|
|
114
|
-
}
|
|
115
|
-
/**
|
|
116
|
-
* Composite condition (And/Or) in YAML format
|
|
117
|
-
*/
|
|
118
|
-
export interface YamlCompositeCondition {
|
|
119
|
-
type: 'And' | 'Or';
|
|
120
|
-
conditions: YamlCondition[];
|
|
121
|
-
description?: string;
|
|
122
|
-
}
|
|
123
|
-
/**
|
|
124
|
-
* Segment reference condition - includes/excludes members of another segment
|
|
125
|
-
*/
|
|
126
|
-
export interface YamlSegmentRefCondition {
|
|
127
|
-
/** Type: 'include' to include segment members, 'exclude' to exclude them */
|
|
128
|
-
type: 'include' | 'exclude';
|
|
129
|
-
/** Segment name or path (e.g., "california_high_engagement" or "folder/segment_name") */
|
|
130
|
-
segment: string;
|
|
131
|
-
}
|
|
132
|
-
/**
|
|
133
|
-
* Any condition type in YAML format
|
|
134
|
-
*/
|
|
135
|
-
export type YamlCondition = YamlValueCondition | YamlCompositeCondition | YamlSegmentRefCondition;
|
|
136
|
-
/**
|
|
137
|
-
* Segment rule in YAML format (top-level condition)
|
|
138
|
-
*/
|
|
139
|
-
export interface YamlRule {
|
|
140
|
-
type: 'And' | 'Or';
|
|
141
|
-
conditions: YamlCondition[];
|
|
142
|
-
description?: string;
|
|
143
|
-
}
|
|
144
|
-
/**
|
|
145
|
-
* Activation schedule type
|
|
146
|
-
*/
|
|
147
|
-
export type YamlScheduleType = 'none' | 'hourly' | 'daily' | 'weekly' | 'monthly' | 'cron';
|
|
148
|
-
/**
|
|
149
|
-
* Activation repeat unit
|
|
150
|
-
*/
|
|
151
|
-
export type YamlRepeatUnit = 'minute' | 'hour' | 'day' | 'week' | 'month' | 'once' | 'none';
|
|
152
|
-
/**
|
|
153
|
-
* Activation schedule configuration
|
|
154
|
-
*/
|
|
155
|
-
export interface YamlActivationSchedule {
|
|
156
|
-
/** Schedule type */
|
|
157
|
-
type?: YamlScheduleType;
|
|
158
|
-
/** Repeat unit */
|
|
159
|
-
repeat_unit?: YamlRepeatUnit;
|
|
160
|
-
/** Repeat frequency (e.g., every 2 days) */
|
|
161
|
-
repeat_frequency?: number;
|
|
162
|
-
/** Sub-frequency (e.g., days of week for weekly: [0, 3] for Sun, Wed) */
|
|
163
|
-
repeat_sub_frequency?: number[];
|
|
164
|
-
/** Start time in ISO format */
|
|
165
|
-
start_at?: string | null;
|
|
166
|
-
/** End date in ISO format (YYYY-MM-DD) */
|
|
167
|
-
end_on?: string | null;
|
|
168
|
-
/** Timezone (e.g., "America/Los_Angeles") */
|
|
169
|
-
timezone?: string;
|
|
170
|
-
}
|
|
171
|
-
/**
|
|
172
|
-
* Activation notification settings
|
|
173
|
-
*/
|
|
174
|
-
export interface YamlActivationNotification {
|
|
175
|
-
/** Events to notify on */
|
|
176
|
-
notify_on?: ('onSuccess' | 'onFailure')[];
|
|
177
|
-
/** TD user emails (or IDs as strings for unresolved users) */
|
|
178
|
-
email_recipients?: string[];
|
|
179
|
-
}
|
|
180
|
-
/**
|
|
181
|
-
* Activation column definition
|
|
182
|
-
*/
|
|
183
|
-
export interface YamlActivationColumn {
|
|
184
|
-
name: string;
|
|
185
|
-
type?: string;
|
|
186
|
-
visibility?: 'clear' | 'masked';
|
|
187
|
-
}
|
|
188
|
-
/**
|
|
189
|
-
* Activation behavior configuration (for including behavior data)
|
|
190
|
-
*/
|
|
191
|
-
export interface YamlActivationBehavior {
|
|
192
|
-
columns?: YamlActivationColumn[];
|
|
193
|
-
behavior_table?: string;
|
|
194
|
-
join_row?: number | null;
|
|
195
|
-
join_strategy?: 'All' | 'First' | 'Last' | 'Top-N';
|
|
196
|
-
formatting?: 'rows' | 'cols';
|
|
197
|
-
order_by?: {
|
|
198
|
-
key: string;
|
|
199
|
-
order: 'asc' | 'desc';
|
|
200
|
-
}[];
|
|
201
|
-
}
|
|
202
|
-
/**
|
|
203
|
-
* Activation (syndication) in YAML format
|
|
204
|
-
*/
|
|
205
|
-
export interface YamlActivation {
|
|
206
|
-
/** Activation name (required) */
|
|
207
|
-
name: string;
|
|
208
|
-
/** Activation description */
|
|
209
|
-
description?: string;
|
|
210
|
-
/** Connection name for the destination */
|
|
211
|
-
connection: string;
|
|
212
|
-
/** Whether to include all columns */
|
|
213
|
-
all_columns?: boolean;
|
|
214
|
-
/** Specific columns to include */
|
|
215
|
-
columns?: (string | YamlActivationColumn)[];
|
|
216
|
-
/** Schedule configuration */
|
|
217
|
-
schedule?: YamlActivationSchedule;
|
|
218
|
-
/** Notification settings */
|
|
219
|
-
notification?: YamlActivationNotification;
|
|
220
|
-
/** Connector-specific configuration */
|
|
221
|
-
connector_config?: Record<string, unknown>;
|
|
222
|
-
/** Activation template ID */
|
|
223
|
-
activation_template_id?: string | null;
|
|
224
|
-
/** Behavior data configuration */
|
|
225
|
-
behavior?: YamlActivationBehavior | null;
|
|
226
|
-
}
|
|
25
|
+
import type { DereferenceContext, ResolutionContext } from '../types/resolution-context.js';
|
|
26
|
+
import type { SegmentResponse, CreateSegmentRequest, UpdateSegmentRequest, SegmentRule, ActivationResponse, CreateActivationRequest, UpdateActivationRequest, JourneyActivationStep } from '../types/cdp.js';
|
|
27
|
+
import type { FormSchema } from '../types/index.js';
|
|
28
|
+
import type { SegmentDef, RuleDef, ConditionDef, ValueConditionDef, CompositeConditionDef, SegmentRefConditionDef, OperatorDef, OperatorType, OperatorValue, TimeUnit, ArrayMatching, AggregationType, AggregationDef, ActivationDef, ScheduleDef, ScheduleType, RepeatUnit, NotificationDef, ActivationColumnDef, ActivationBehaviorDef, SegmentKind } from './types/segment-def.js';
|
|
29
|
+
export type { SegmentDef, RuleDef, ConditionDef, ValueConditionDef, CompositeConditionDef, SegmentRefConditionDef, OperatorDef, OperatorType, OperatorValue, TimeUnit, ArrayMatching, AggregationType, AggregationDef, ActivationDef, ScheduleDef, ScheduleType, RepeatUnit, NotificationDef, ActivationColumnDef, ActivationBehaviorDef, SegmentKind, };
|
|
227
30
|
/**
|
|
228
31
|
* Context for activation conversion with optional validation
|
|
229
32
|
*/
|
|
@@ -237,41 +40,39 @@ export interface ActivationConversionContext {
|
|
|
237
40
|
/** Function to get connector schema (with caching) for validation */
|
|
238
41
|
getSchema?: (connectorType: string) => Promise<FormSchema>;
|
|
239
42
|
}
|
|
240
|
-
/**
|
|
241
|
-
* Child segment YAML configuration.
|
|
242
|
-
*
|
|
243
|
-
* IMPORTANT: Field order is canonical - name, description, folder, rule, kind, visible, activations.
|
|
244
|
-
* This ordering is enforced by normalizeChildSegmentYaml() to ensure consistent diffs.
|
|
245
|
-
*/
|
|
246
|
-
export interface ChildSegmentYaml {
|
|
247
|
-
/** Resource type - 'segment' for child segments (required for consistency with journeys) */
|
|
248
|
-
type?: 'segment';
|
|
249
|
-
/** Segment name (required) */
|
|
250
|
-
name: string;
|
|
251
|
-
/** Segment description (optional) */
|
|
252
|
-
description?: string;
|
|
253
|
-
/** Folder path in TD (e.g., "Marketing/Campaigns") - empty or omitted for root level */
|
|
254
|
-
folder?: string;
|
|
255
|
-
/** Filtering rule (optional) */
|
|
256
|
-
rule?: YamlRule;
|
|
257
|
-
/** Segment kind: batch (0), realtime (1), funnel_stage (2) */
|
|
258
|
-
kind?: 'batch' | 'realtime' | 'funnel_stage';
|
|
259
|
-
/** Whether segment is visible in UI */
|
|
260
|
-
visible?: boolean;
|
|
261
|
-
/** Activations (syndications) for this segment */
|
|
262
|
-
activations?: YamlActivation[];
|
|
263
|
-
}
|
|
264
43
|
/**
|
|
265
44
|
* Convert API segment to YAML format
|
|
266
45
|
* @param segment - The segment from API
|
|
267
46
|
* @param folderPath - Optional folder path (e.g., "Marketing/Campaigns")
|
|
268
47
|
*/
|
|
269
|
-
export declare function
|
|
48
|
+
export declare function segmentResponseToDefSync(segment: SegmentResponse, folderPath?: string): SegmentDef;
|
|
49
|
+
/**
|
|
50
|
+
* Context for converting SegmentResponse to SegmentDef.
|
|
51
|
+
* Uses base DereferenceContext with resolveSegmentName for ID→name resolution.
|
|
52
|
+
*/
|
|
53
|
+
export type SegmentResponseToDefContext = DereferenceContext;
|
|
54
|
+
/**
|
|
55
|
+
* Context for converting SegmentDef to API request.
|
|
56
|
+
* Uses base ResolutionContext with resolveSegmentId for name→ID resolution.
|
|
57
|
+
*/
|
|
58
|
+
export type SegmentDefToRequestContext = ResolutionContext;
|
|
59
|
+
/**
|
|
60
|
+
* Convert API segment response to portable definition (async with context).
|
|
61
|
+
* This is the primary conversion function that handles ID→name resolution.
|
|
62
|
+
*
|
|
63
|
+
* If no context is provided, returns the definition with IDs in rules.
|
|
64
|
+
* If context is provided with resolveSegmentName, resolves segment reference IDs to names.
|
|
65
|
+
*
|
|
66
|
+
* @param response - The segment response from API
|
|
67
|
+
* @param context - Optional context for resolving IDs to names
|
|
68
|
+
* @param folderPath - Optional folder path for the segment
|
|
69
|
+
*/
|
|
70
|
+
export declare function segmentResponseToDef(response: SegmentResponse, context?: SegmentResponseToDefContext, folderPath?: string): Promise<SegmentDef>;
|
|
270
71
|
/**
|
|
271
72
|
* Convert API rule to YAML format.
|
|
272
73
|
* Simplifies single-condition And/Or blocks for cleaner output.
|
|
273
74
|
*/
|
|
274
|
-
export declare function apiRuleToYaml(rule: SegmentRule):
|
|
75
|
+
export declare function apiRuleToYaml(rule: SegmentRule): RuleDef;
|
|
275
76
|
/**
|
|
276
77
|
* Resolve segment references in a rule by replacing segment IDs with ref:name format.
|
|
277
78
|
*
|
|
@@ -279,31 +80,40 @@ export declare function apiRuleToYaml(rule: SegmentRule): YamlRule;
|
|
|
279
80
|
* @param resolveSegmentName - Function to resolve segment ID to name
|
|
280
81
|
* @returns Rule with segment IDs replaced by ref:name format
|
|
281
82
|
*/
|
|
282
|
-
export declare function resolveRuleSegmentRefs(rule:
|
|
83
|
+
export declare function resolveRuleSegmentRefs(rule: RuleDef, resolveSegmentName: (segmentId: string) => Promise<string>): Promise<RuleDef>;
|
|
84
|
+
/**
|
|
85
|
+
* Resolve segment names to IDs in a rule for push operations.
|
|
86
|
+
* This is the inverse of resolveRuleSegmentRefs.
|
|
87
|
+
*
|
|
88
|
+
* @param rule - YAML rule with segment names in include/exclude conditions
|
|
89
|
+
* @param resolveSegmentId - Function to resolve segment name to ID
|
|
90
|
+
* @returns Rule with segment names replaced by IDs
|
|
91
|
+
*/
|
|
92
|
+
export declare function resolveRuleSegmentIds(rule: RuleDef, resolveSegmentId: (name: string) => Promise<string>): Promise<RuleDef>;
|
|
283
93
|
/**
|
|
284
94
|
* Convert YAML segment to API create request
|
|
285
95
|
*/
|
|
286
|
-
export declare function
|
|
96
|
+
export declare function segmentDefToCreateRequest(yamlConfig: SegmentDef, folderId?: string): CreateSegmentRequest;
|
|
287
97
|
/**
|
|
288
98
|
* Convert YAML segment to API update request
|
|
289
99
|
*/
|
|
290
|
-
export declare function
|
|
100
|
+
export declare function segmentDefToUpdateRequest(yamlConfig: SegmentDef): UpdateSegmentRequest;
|
|
291
101
|
/**
|
|
292
102
|
* Convert YAML rule to API format
|
|
293
103
|
*/
|
|
294
|
-
export declare function yamlRuleToApi(yamlRule:
|
|
104
|
+
export declare function yamlRuleToApi(yamlRule: RuleDef, wrapInGroup?: boolean): SegmentRule;
|
|
295
105
|
/**
|
|
296
106
|
* Convert child segment config to YAML string
|
|
297
107
|
*/
|
|
298
|
-
export declare function toYamlString(config:
|
|
108
|
+
export declare function toYamlString(config: SegmentDef): string;
|
|
299
109
|
/**
|
|
300
110
|
* Parse YAML string to child segment config
|
|
301
111
|
*/
|
|
302
|
-
export declare function parseYamlString(yamlString: string):
|
|
112
|
+
export declare function parseYamlString(yamlString: string): SegmentDef;
|
|
303
113
|
/**
|
|
304
114
|
* Check if a YAML object represents a segment (vs journey)
|
|
305
115
|
*/
|
|
306
|
-
export declare function isSegmentYaml(parsed: unknown): parsed is
|
|
116
|
+
export declare function isSegmentYaml(parsed: unknown): parsed is SegmentDef;
|
|
307
117
|
/**
|
|
308
118
|
* Generate a template YAML for a new segment
|
|
309
119
|
*/
|
|
@@ -311,27 +121,27 @@ export declare function generateTemplate(name?: string): string;
|
|
|
311
121
|
/**
|
|
312
122
|
* Convert single segment config to YAML string
|
|
313
123
|
*/
|
|
314
|
-
export declare function segmentToYamlString(config:
|
|
124
|
+
export declare function segmentToYamlString(config: SegmentDef): string;
|
|
315
125
|
/**
|
|
316
126
|
* Parse YAML string to single segment config
|
|
317
127
|
*/
|
|
318
|
-
export declare function parseSegmentYamlFile(yamlString: string):
|
|
128
|
+
export declare function parseSegmentYamlFile(yamlString: string): SegmentDef;
|
|
319
129
|
/**
|
|
320
|
-
* Normalize a
|
|
130
|
+
* Normalize a SegmentDef to have consistent field ordering.
|
|
321
131
|
* This ensures that local YAML files and server-converted YAML have the same field order,
|
|
322
132
|
* avoiding spurious diffs in `tdx sg push` that are just reordering changes.
|
|
323
133
|
*/
|
|
324
|
-
export declare function normalizeChildSegmentYaml(config:
|
|
134
|
+
export declare function normalizeChildSegmentYaml(config: SegmentDef): SegmentDef;
|
|
325
135
|
/**
|
|
326
|
-
* Normalize a
|
|
136
|
+
* Normalize a RuleDef to have consistent field ordering
|
|
327
137
|
*/
|
|
328
|
-
export declare function normalizeRule(rule:
|
|
138
|
+
export declare function normalizeRule(rule: RuleDef): RuleDef;
|
|
329
139
|
/**
|
|
330
140
|
* Convert API activation to YAML format
|
|
331
141
|
* @param activation - The activation from the API
|
|
332
142
|
* @param idToEmailMap - Optional map from user ID to email for resolving email_recipients
|
|
333
143
|
*/
|
|
334
|
-
export declare function
|
|
144
|
+
export declare function activationResponseToDef(activation: ActivationResponse, idToEmailMap?: Map<number, string>, connectionIdToNameMap?: Map<string, string>): ActivationDef;
|
|
335
145
|
/**
|
|
336
146
|
* Convert journey activation step to YAML format
|
|
337
147
|
* JourneyActivationStep has a different structure than Activation (syndication)
|
|
@@ -339,7 +149,7 @@ export declare function activationToYaml(activation: Activation, idToEmailMap?:
|
|
|
339
149
|
* @param idToEmailMap - Optional map from user ID to email for resolving email_recipients
|
|
340
150
|
* @param connectionIdToNameMap - Optional map from connection ID to name
|
|
341
151
|
*/
|
|
342
|
-
export declare function journeyActivationStepToYaml(step: JourneyActivationStep, idToEmailMap?: Map<number, string>, connectionIdToNameMap?: Map<string, string>):
|
|
152
|
+
export declare function journeyActivationStepToYaml(step: JourneyActivationStep, idToEmailMap?: Map<number, string>, connectionIdToNameMap?: Map<string, string>): ActivationDef;
|
|
343
153
|
/**
|
|
344
154
|
* Convert segment with activations to YAML format
|
|
345
155
|
* @param segment - The segment from the API
|
|
@@ -347,7 +157,7 @@ export declare function journeyActivationStepToYaml(step: JourneyActivationStep,
|
|
|
347
157
|
* @param folderPath - Optional folder path for the segment
|
|
348
158
|
* @param idToEmailMap - Optional map from user ID to email for resolving email_recipients
|
|
349
159
|
*/
|
|
350
|
-
export declare function segmentWithActivationsToYaml(segment:
|
|
160
|
+
export declare function segmentWithActivationsToYaml(segment: SegmentResponse, activations: ActivationResponse[], folderPath?: string, idToEmailMap?: Map<number, string>, connectionIdToNameMap?: Map<string, string>): SegmentDef;
|
|
351
161
|
/**
|
|
352
162
|
* Convert YAML activation to API create request
|
|
353
163
|
*
|
|
@@ -357,13 +167,13 @@ export declare function segmentWithActivationsToYaml(segment: Segment, activatio
|
|
|
357
167
|
* @param yamlActivation - The activation from YAML
|
|
358
168
|
* @param context - Optional conversion context with maps and schema getter
|
|
359
169
|
*/
|
|
360
|
-
export declare function
|
|
170
|
+
export declare function activationDefToCreateRequest(yamlActivation: ActivationDef, context?: ActivationConversionContext): Promise<CreateActivationRequest>;
|
|
361
171
|
/**
|
|
362
172
|
* Convert YAML activation to API update request
|
|
363
173
|
* @param yamlActivation - The activation from YAML
|
|
364
174
|
* @param context - Optional conversion context with maps and schema getter
|
|
365
175
|
*/
|
|
366
|
-
export declare function
|
|
176
|
+
export declare function activationDefToUpdateRequest(yamlActivation: ActivationDef, context?: ActivationConversionContext): Promise<UpdateActivationRequest>;
|
|
367
177
|
/**
|
|
368
178
|
* Deep sort an object for stable serialization.
|
|
369
179
|
* Recursively sorts object keys and array elements.
|
|
@@ -373,7 +183,7 @@ export declare function deepSortObject(obj: unknown): unknown;
|
|
|
373
183
|
* Serialize a rule to a stable JSON string for comparison.
|
|
374
184
|
* Used to match server segments to local segments by rule content.
|
|
375
185
|
*/
|
|
376
|
-
export declare function serializeRule(rule:
|
|
186
|
+
export declare function serializeRule(rule: RuleDef): string;
|
|
377
187
|
/**
|
|
378
188
|
* Normalize a rule for matching by replacing segment references with a canonical placeholder.
|
|
379
189
|
* This allows matching rules that reference different segment names but same underlying content.
|
|
@@ -384,13 +194,13 @@ export declare function serializeRule(rule: YamlRule): string;
|
|
|
384
194
|
* @param rule - The rule to normalize
|
|
385
195
|
* @returns A copy of the rule with segment references replaced by a placeholder
|
|
386
196
|
*/
|
|
387
|
-
export declare function normalizeRuleForMatching(rule:
|
|
197
|
+
export declare function normalizeRuleForMatching(rule: RuleDef): RuleDef;
|
|
388
198
|
/**
|
|
389
199
|
* Serialize a rule for matching, normalizing segment references.
|
|
390
200
|
* Use this instead of serializeRule when matching rules between server and local
|
|
391
201
|
* where segment reference names may differ.
|
|
392
202
|
*/
|
|
393
|
-
export declare function serializeRuleForMatching(rule:
|
|
203
|
+
export declare function serializeRuleForMatching(rule: RuleDef): string;
|
|
394
204
|
/**
|
|
395
205
|
* Expand segment references in a rule by inlining the referenced segment's rule.
|
|
396
206
|
* This creates a canonical representation for content-based matching.
|
|
@@ -404,7 +214,7 @@ export declare function serializeRuleForMatching(rule: YamlRule): string;
|
|
|
404
214
|
* @param visited - Set of segment names being visited (for cycle detection)
|
|
405
215
|
* @returns The expanded rule with segment references replaced by their actual rules
|
|
406
216
|
*/
|
|
407
|
-
export declare function expandSegmentReferences(rule:
|
|
217
|
+
export declare function expandSegmentReferences(rule: RuleDef, segmentRules: Map<string, RuleDef>, visited?: Set<string>): RuleDef;
|
|
408
218
|
/**
|
|
409
219
|
* Serialize a rule with segment references expanded to their actual rules.
|
|
410
220
|
* This creates a canonical hash based on semantic content, not segment names.
|
|
@@ -413,7 +223,7 @@ export declare function expandSegmentReferences(rule: YamlRule, segmentRules: Ma
|
|
|
413
223
|
* @param segmentRules - Map from segment name to its rule
|
|
414
224
|
* @returns A canonical string representation of the expanded rule
|
|
415
225
|
*/
|
|
416
|
-
export declare function serializeExpandedRule(rule:
|
|
226
|
+
export declare function serializeExpandedRule(rule: RuleDef, segmentRules: Map<string, RuleDef>): string;
|
|
417
227
|
/**
|
|
418
228
|
* Context for segment name resolution with deduplication.
|
|
419
229
|
* Tracks used names and rule hashes to ensure consistency across operations.
|
|
@@ -431,7 +241,7 @@ export interface SegmentNameContext {
|
|
|
431
241
|
* @param localSegments - Optional segments from local YAML to build localRuleToName map
|
|
432
242
|
*/
|
|
433
243
|
export declare function createSegmentNameContext(localSegments?: Record<string, {
|
|
434
|
-
rule?:
|
|
244
|
+
rule?: RuleDef;
|
|
435
245
|
}>): SegmentNameContext;
|
|
436
246
|
/**
|
|
437
247
|
* Result from resolveSegmentName
|
|
@@ -458,5 +268,22 @@ export interface ResolvedSegmentName {
|
|
|
458
268
|
* @param generateLocalName - Function to generate a clean local name (e.g., generateJourneyLocalName)
|
|
459
269
|
* @returns Resolved name and metadata
|
|
460
270
|
*/
|
|
461
|
-
export declare function resolveSegmentName(originalName: string, yamlRule:
|
|
271
|
+
export declare function resolveSegmentName(originalName: string, yamlRule: RuleDef, context: SegmentNameContext, generateLocalName: (name: string) => string | undefined): ResolvedSegmentName;
|
|
272
|
+
/**
|
|
273
|
+
* Collect segment names referenced in include/exclude conditions within a rule.
|
|
274
|
+
* Used to recursively fetch all segments needed for expanded rule comparison.
|
|
275
|
+
*
|
|
276
|
+
* @param rule - The rule definition to scan
|
|
277
|
+
* @returns Array of segment names referenced in the rule
|
|
278
|
+
*/
|
|
279
|
+
export declare function collectSegmentRefsFromRule(rule: RuleDef): string[];
|
|
280
|
+
/**
|
|
281
|
+
* Validate a segment rule for common issues.
|
|
282
|
+
* Throws SDKError if validation fails.
|
|
283
|
+
*
|
|
284
|
+
* @param segmentName - Name of the segment (for error messages)
|
|
285
|
+
* @param rule - The rule definition to validate
|
|
286
|
+
* @throws SDKError if the rule has invalid conditions
|
|
287
|
+
*/
|
|
288
|
+
export declare function validateSegmentRule(segmentName: string, rule: RuleDef): void;
|
|
462
289
|
//# sourceMappingURL=child-segment-yaml.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"child-segment-yaml.d.ts","sourceRoot":"","sources":["../../../src/sdk/segment/child-segment-yaml.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"child-segment-yaml.d.ts","sourceRoot":"","sources":["../../../src/sdk/segment/child-segment-yaml.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAIH,OAAO,KAAK,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAC5F,OAAO,KAAK,EACV,eAAe,EACf,oBAAoB,EACpB,oBAAoB,EACpB,WAAW,EAIX,kBAAkB,EAGlB,uBAAuB,EACvB,uBAAuB,EACvB,qBAAqB,EACtB,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAWpD,OAAO,KAAK,EACV,UAAU,EACV,OAAO,EACP,YAAY,EACZ,iBAAiB,EACjB,qBAAqB,EACrB,sBAAsB,EACtB,WAAW,EACX,YAAY,EACZ,aAAa,EACb,QAAQ,EACR,aAAa,EACb,eAAe,EACf,cAAc,EACd,aAAa,EACb,WAAW,EACX,YAAY,EACZ,UAAU,EACV,eAAe,EACf,mBAAmB,EACnB,qBAAqB,EACrB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