@oxygen-agent/cli 1.1014.1997 → 1.1014.2100
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/README.md +1 -1
- package/dist/cli-output.js +12 -0
- package/dist/column-decision-options.js +1 -1
- package/dist/command-families/tables/bundle-format.d.ts +1 -1
- package/dist/command-families/tables/bundle-format.js +1 -1
- package/dist/command-families/tables/import-columns.js +1 -1
- package/dist/command-families/tables/import-upload.d.ts +1 -1
- package/dist/command-families/tables/import-values.js +1 -1
- package/dist/command-families/tables/imports.d.ts +1 -1
- package/dist/command-families/tables/imports.js +1 -1
- package/dist/command-families/tables/options.d.ts +1 -0
- package/dist/command-families/tables/register-automation.js +3 -1
- package/dist/command-families/tables/register-relations.js +1 -1
- package/dist/command-families/tables/row-selection.js +1 -1
- package/dist/command-support.d.ts +7 -0
- package/dist/command-support.js +25 -0
- package/dist/commands/billing.js +2 -2
- package/dist/commands/columns.js +1 -1
- package/dist/commands/enrich-column.js +1 -1
- package/dist/commands/mailboxes.js +1 -1
- package/dist/commands/observability.js +4 -4
- package/dist/commands/table-runs.js +11 -1
- package/dist/commands/tags.js +2 -2
- package/dist/commands/workflows.js +31 -10
- package/dist/deliverability-evidence-commands.js +1 -1
- package/dist/http-client.d.ts +1 -1
- package/dist/http-client.js +1 -1
- package/dist/streamed-file-import.d.ts +1 -1
- package/dist/streamed-file-import.js +1 -1
- package/node_modules/@oxygen/formula/dist/cross-row-function.d.ts +13 -0
- package/node_modules/@oxygen/formula/dist/cross-row-function.js +1 -0
- package/node_modules/@oxygen/formula/dist/{refactor-internals → cross-row-functions}/novelty-score.d.ts +2 -0
- package/node_modules/@oxygen/formula/dist/{refactor-internals → cross-row-functions}/novelty-score.js +1 -0
- package/node_modules/@oxygen/formula/dist/cross-row-functions.generated.d.ts +3 -0
- package/node_modules/@oxygen/formula/dist/cross-row-functions.generated.js +3 -0
- package/node_modules/@oxygen/formula/dist/evaluate.d.ts +12 -1
- package/node_modules/@oxygen/formula/dist/evaluate.js +28 -3
- package/node_modules/@oxygen/recipe-sdk/dist/index.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/agent-sessions.d.ts +1 -1
- package/node_modules/@oxygen/shared/dist/agent-sessions.js +1 -1
- package/node_modules/@oxygen/shared/dist/capability-discovery.d.ts +1 -1
- package/node_modules/@oxygen/shared/dist/capability-discovery.js +2 -2
- package/node_modules/@oxygen/shared/dist/cell-format.js +2 -2
- package/node_modules/@oxygen/shared/dist/collab.d.ts +1 -1
- package/node_modules/@oxygen/shared/dist/contracts/geo.js +1 -1
- package/node_modules/@oxygen/shared/dist/contracts/guided-activation.js +1 -1
- package/node_modules/@oxygen/shared/dist/copilot-access.js +1 -1
- package/node_modules/@oxygen/shared/dist/dnc-identities.js +1 -1
- package/node_modules/@oxygen/shared/dist/error-redaction.d.ts +1 -1
- package/node_modules/@oxygen/shared/dist/error-redaction.js +2 -2
- package/node_modules/@oxygen/shared/dist/esp-contract.d.ts +133 -0
- package/node_modules/@oxygen/shared/dist/esp-contract.js +121 -0
- package/node_modules/@oxygen/shared/dist/freemail-domains.d.ts +1 -1
- package/node_modules/@oxygen/shared/dist/freemail-domains.js +1 -1
- package/node_modules/@oxygen/shared/dist/{geo.js → geo/geo.js} +2 -2
- package/node_modules/@oxygen/shared/dist/index.d.ts +17 -16
- package/node_modules/@oxygen/shared/dist/index.js +18 -16
- package/node_modules/@oxygen/shared/dist/knowledge-bootstrap.js +1 -1
- package/node_modules/@oxygen/shared/dist/langfuse.d.ts +5 -1
- package/node_modules/@oxygen/shared/dist/langfuse.js +25 -3
- package/node_modules/@oxygen/shared/dist/linkedin-connection-identity.js +1 -1
- package/node_modules/@oxygen/shared/dist/{email-deliverability-policy.d.ts → mailboxes/email-deliverability-policy.d.ts} +1 -1
- package/node_modules/@oxygen/shared/dist/{emailguard-placement-probe.js → mailboxes/emailguard-placement-probe.js} +1 -1
- package/node_modules/@oxygen/shared/dist/{sending-domain-rollout.js → mailboxes/sending-domain-rollout.js} +1 -1
- package/node_modules/@oxygen/shared/dist/{mailbox-standby-rollout.d.ts → mailboxes/standby-rollout.d.ts} +1 -1
- package/node_modules/@oxygen/shared/dist/{mailbox-standby-rollout.js → mailboxes/standby-rollout.js} +2 -2
- package/node_modules/@oxygen/shared/dist/{warmup-metrics.js → mailboxes/warmup-metrics.js} +1 -1
- package/node_modules/@oxygen/shared/dist/mcp-event-contract.js +1 -1
- package/node_modules/@oxygen/shared/dist/object-storage.js +1 -1
- package/node_modules/@oxygen/shared/dist/{guided-activation.d.ts → onboarding/guided-activation.d.ts} +1 -1
- package/node_modules/@oxygen/shared/dist/{guided-activation.js → onboarding/guided-activation.js} +2 -2
- package/node_modules/@oxygen/shared/dist/{guided-onboarding-company-context.d.ts → onboarding/guided-onboarding-company-context.d.ts} +6 -6
- package/node_modules/@oxygen/shared/dist/{guided-onboarding-company-context.js → onboarding/guided-onboarding-company-context.js} +2 -2
- package/node_modules/@oxygen/shared/dist/{signup-lead-payload.js → onboarding/signup-lead-payload.js} +2 -2
- package/node_modules/@oxygen/shared/dist/{signup-lead-webhook.js → onboarding/signup-lead-webhook.js} +2 -2
- package/node_modules/@oxygen/shared/dist/onboarding-leads.d.ts +4 -0
- package/node_modules/@oxygen/shared/dist/plan-band.d.ts +1 -1
- package/node_modules/@oxygen/shared/dist/plan-band.js +1 -1
- package/node_modules/@oxygen/shared/dist/plan-limits.d.ts +1 -1
- package/node_modules/@oxygen/shared/dist/plan-limits.js +3 -3
- package/node_modules/@oxygen/shared/dist/{social-post-metrics-core.d.ts → posts/metrics-core.d.ts} +1 -1
- package/node_modules/@oxygen/shared/dist/{social-post-metrics-linkedin.d.ts → posts/metrics-linkedin.d.ts} +1 -1
- package/node_modules/@oxygen/shared/dist/{social-post-metrics-linkedin.js → posts/metrics-linkedin.js} +2 -2
- package/node_modules/@oxygen/shared/dist/{social-post-metrics-series.d.ts → posts/metrics-series.d.ts} +1 -1
- package/node_modules/@oxygen/shared/dist/{social-post-metrics-series.js → posts/metrics-series.js} +1 -1
- package/node_modules/@oxygen/shared/dist/{social-post-metrics-x.d.ts → posts/metrics-x.d.ts} +1 -1
- package/node_modules/@oxygen/shared/dist/{social-post-metrics-x.js → posts/metrics-x.js} +2 -2
- package/node_modules/@oxygen/shared/dist/{social-post-metrics.d.ts → posts/metrics.d.ts} +3 -3
- package/node_modules/@oxygen/shared/dist/{social-post-metrics.js → posts/metrics.js} +3 -3
- package/node_modules/@oxygen/shared/dist/recipient-provider.d.ts +2 -10
- package/node_modules/@oxygen/shared/dist/recipient-provider.js +1 -9
- package/node_modules/@oxygen/shared/dist/redis-endpoint-map.d.ts +10 -0
- package/node_modules/@oxygen/shared/dist/redis-endpoint-map.js +63 -0
- package/node_modules/@oxygen/shared/dist/repricing.js +1 -1
- package/node_modules/@oxygen/shared/dist/sending-limits.js +1 -1
- package/node_modules/@oxygen/shared/dist/sequence-internals/esp-policy.d.ts +2 -118
- package/node_modules/@oxygen/shared/dist/sequence-internals/esp-policy.js +2 -107
- package/node_modules/@oxygen/shared/dist/sequences.d.ts +0 -1
- package/node_modules/@oxygen/shared/dist/sequences.js +0 -2
- package/node_modules/@oxygen/shared/dist/{native-chat-discovery.d.ts → support/native-chat-discovery.d.ts} +1 -1
- package/node_modules/@oxygen/shared/dist/{native-chat-discovery.js → support/native-chat-discovery.js} +1 -1
- package/node_modules/@oxygen/shared/dist/suppression-entries.js +1 -1
- package/node_modules/@oxygen/shared/dist/table-field-types.d.ts +1 -1
- package/node_modules/@oxygen/shared/dist/table-field-types.js +2 -2
- package/node_modules/@oxygen/shared/dist/table-run-summary.js +1 -1
- package/node_modules/@oxygen/shared/dist/{table-capacity.d.ts → tables/capacity.d.ts} +2 -2
- package/node_modules/@oxygen/shared/dist/{table-capacity.js → tables/capacity.js} +1 -1
- package/node_modules/@oxygen/shared/dist/{column-decision.js → tables/column-decision.js} +1 -1
- package/node_modules/@oxygen/shared/dist/{column-output-fields.js → tables/column-output-fields.js} +4 -4
- package/node_modules/@oxygen/shared/dist/{enrichment-intents.d.ts → tables/enrichment-intents.d.ts} +1 -1
- package/node_modules/@oxygen/shared/dist/{file-import.js → tables/file-import.js} +2 -2
- package/node_modules/@oxygen/shared/dist/{tags.d.ts → tags/tags.d.ts} +1 -1
- package/node_modules/@oxygen/shared/dist/{tags.js → tags/tags.js} +1 -1
- package/node_modules/@oxygen/shared/dist/teammates.js +1 -1
- package/node_modules/@oxygen/shared/dist/{ugc-amplification-identity.js → ugc/amplification-identity.js} +1 -1
- package/node_modules/@oxygen/shared/dist/version.d.ts +1 -1
- package/node_modules/@oxygen/shared/dist/version.generated.d.ts +1 -1
- package/node_modules/@oxygen/shared/dist/version.generated.js +1 -1
- package/node_modules/@oxygen/shared/dist/version.js +1 -1
- package/node_modules/@oxygen/shared/dist/workspace-event-catalog.js +1 -1
- package/node_modules/@oxygen/shared/dist/workspace-placement-bulk.d.ts +6 -0
- package/node_modules/@oxygen/shared/dist/workspace-placement-bulk.js +9 -2
- package/node_modules/@oxygen/shared/dist/workspace-placement-schedule.d.ts +44 -0
- package/node_modules/@oxygen/shared/dist/workspace-placement-schedule.js +90 -0
- package/node_modules/@oxygen/shared/dist/workspace-placement-view.d.ts +24 -0
- package/node_modules/@oxygen/shared/dist/workspace-placement-view.js +5 -4
- package/node_modules/@oxygen/shared/dist/workspace-placement.d.ts +4 -0
- package/node_modules/@oxygen/shared/dist/workspace-placement.js +8 -2
- package/node_modules/@oxygen/shared/package.json +0 -60
- package/node_modules/@oxygen/workflows/dist/cron.d.ts +42 -0
- package/node_modules/@oxygen/workflows/dist/cron.js +271 -0
- package/node_modules/@oxygen/workflows/dist/event-dispatch.d.ts +2 -1
- package/node_modules/@oxygen/workflows/dist/graph/condition.d.ts +3 -0
- package/node_modules/@oxygen/workflows/dist/graph/condition.js +19 -0
- package/node_modules/@oxygen/workflows/dist/graph/expression.d.ts +1 -2
- package/node_modules/@oxygen/workflows/dist/graph/expression.js +2 -19
- package/node_modules/@oxygen/workflows/dist/graph/types.d.ts +4 -3
- package/node_modules/@oxygen/workflows/dist/index.d.ts +8 -985
- package/node_modules/@oxygen/workflows/dist/index.js +8 -1221
- package/node_modules/@oxygen/workflows/dist/manifest-builders.d.ts +73 -0
- package/node_modules/@oxygen/workflows/dist/manifest-builders.js +102 -0
- package/node_modules/@oxygen/workflows/dist/manifest-guards.d.ts +16 -0
- package/node_modules/@oxygen/workflows/dist/manifest-guards.js +34 -0
- package/node_modules/@oxygen/workflows/dist/manifest-hash.d.ts +47 -0
- package/node_modules/@oxygen/workflows/dist/manifest-hash.js +102 -0
- package/node_modules/@oxygen/workflows/dist/manifest-lint.d.ts +17 -0
- package/node_modules/@oxygen/workflows/dist/manifest-lint.js +474 -0
- package/node_modules/@oxygen/workflows/dist/manifest-types.d.ts +256 -0
- package/node_modules/@oxygen/workflows/dist/manifest-types.js +9 -0
- package/node_modules/@oxygen/workflows/dist/pure-function.d.ts +17 -0
- package/node_modules/@oxygen/workflows/dist/pure-function.js +130 -0
- package/node_modules/@oxygen/workflows/dist/refactor-internals/condition-comparison.d.ts +1 -17
- package/node_modules/@oxygen/workflows/dist/refactor-internals/condition-comparison.js +1 -93
- package/node_modules/@oxygen/workflows/dist/refactor-internals/condition-pattern.d.ts +16 -0
- package/node_modules/@oxygen/workflows/dist/refactor-internals/condition-pattern.js +92 -0
- package/node_modules/@oxygen/workflows/dist/workflow-schemas.d.ts +545 -0
- package/node_modules/@oxygen/workflows/dist/workflow-schemas.js +135 -0
- package/node_modules/@oxygen/workflows/package.json +4 -0
- package/package.json +1 -1
- /package/node_modules/@oxygen/shared/dist/{geo.d.ts → geo/geo.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{deliverability-blacklist.d.ts → mailboxes/deliverability-blacklist.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{deliverability-blacklist.js → mailboxes/deliverability-blacklist.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{deliverability-checks.d.ts → mailboxes/deliverability-checks.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{deliverability-checks.js → mailboxes/deliverability-checks.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{deliverability-evidence.d.ts → mailboxes/deliverability-evidence.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{deliverability-evidence.js → mailboxes/deliverability-evidence.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{deliverability-loop.d.ts → mailboxes/deliverability-loop.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{deliverability-loop.js → mailboxes/deliverability-loop.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{deliverability-surface.d.ts → mailboxes/deliverability-surface.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{deliverability-surface.js → mailboxes/deliverability-surface.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{domain-authentication.d.ts → mailboxes/domain-authentication.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{domain-authentication.js → mailboxes/domain-authentication.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{email-deliverability-policy.js → mailboxes/email-deliverability-policy.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{email-health-status.d.ts → mailboxes/email-health-status.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{email-health-status.js → mailboxes/email-health-status.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{email-health-summary.d.ts → mailboxes/email-health-summary.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{email-health-summary.js → mailboxes/email-health-summary.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{emailguard-placement-probe.d.ts → mailboxes/emailguard-placement-probe.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{microsoft-consent-url.d.ts → mailboxes/microsoft-consent-url.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{microsoft-consent-url.js → mailboxes/microsoft-consent-url.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{placement-copy.d.ts → mailboxes/placement-copy.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{placement-copy.js → mailboxes/placement-copy.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{placement-history.d.ts → mailboxes/placement-history.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{placement-history.js → mailboxes/placement-history.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{placement-report.d.ts → mailboxes/placement-report.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{placement-report.js → mailboxes/placement-report.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{received-authentication.d.ts → mailboxes/received-authentication.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{received-authentication.js → mailboxes/received-authentication.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{sending-domain-rollout.d.ts → mailboxes/sending-domain-rollout.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{ses-identity-policy.d.ts → mailboxes/ses-identity-policy.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{ses-identity-policy.js → mailboxes/ses-identity-policy.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{mailbox-standby.d.ts → mailboxes/standby.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{mailbox-standby.js → mailboxes/standby.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{warmup-metrics.d.ts → mailboxes/warmup-metrics.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{attempt-provenance.d.ts → observability/attempt-provenance.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{attempt-provenance.js → observability/attempt-provenance.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{onboarding-first-leads.d.ts → onboarding/first-leads.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{onboarding-first-leads.js → onboarding/first-leads.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{future-signup-events.d.ts → onboarding/future-signup-events.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{future-signup-events.js → onboarding/future-signup-events.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{future-signup-lifecycle-projection.d.ts → onboarding/future-signup-lifecycle-projection.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{future-signup-lifecycle-projection.js → onboarding/future-signup-lifecycle-projection.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{guided-activation.fixture.d.ts → onboarding/guided-activation.fixture.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{guided-activation.fixture.js → onboarding/guided-activation.fixture.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{onboarding-plays.d.ts → onboarding/plays.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{onboarding-plays.js → onboarding/plays.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{onboarding-research.d.ts → onboarding/research.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{onboarding-research.js → onboarding/research.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{signup-lead-deliveries.d.ts → onboarding/signup-lead-deliveries.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{signup-lead-deliveries.js → onboarding/signup-lead-deliveries.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{signup-lead-payload.d.ts → onboarding/signup-lead-payload.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{signup-lead-webhook.d.ts → onboarding/signup-lead-webhook.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{linkedin-mentions.d.ts → posts/linkedin-mentions.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{linkedin-mentions.js → posts/linkedin-mentions.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{linkedin-post-keywords.d.ts → posts/linkedin-post-keywords.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{linkedin-post-keywords.js → posts/linkedin-post-keywords.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{linkedin-post-url.d.ts → posts/linkedin-post-url.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{linkedin-post-url.js → posts/linkedin-post-url.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{social-post-metrics-core.js → posts/metrics-core.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{native-chat.d.ts → support/native-chat.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{native-chat.js → support/native-chat.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{plain-support-events.d.ts → support/plain-support-events.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{plain-support-events.js → support/plain-support-events.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{column-decision.d.ts → tables/column-decision.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{column-output-fields.d.ts → tables/column-output-fields.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{column-types.d.ts → tables/column-types.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{column-types.js → tables/column-types.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{company-enrichment-fields.d.ts → tables/company-enrichment-fields.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{company-enrichment-fields.js → tables/company-enrichment-fields.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{enrichment-intents.js → tables/enrichment-intents.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{file-import.d.ts → tables/file-import.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{import-limits.d.ts → tables/import-limits.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{import-limits.js → tables/import-limits.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{table-limits.d.ts → tables/limits.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{table-limits.js → tables/limits.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{linkedin-url.d.ts → tables/linkedin-url.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{linkedin-url.js → tables/linkedin-url.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{select-options.d.ts → tables/select-options.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{select-options.js → tables/select-options.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{ugc-amplification-identity.d.ts → ugc/amplification-identity.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{ugc.d.ts → ugc/ugc.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{ugc.js → ugc/ugc.js} +0 -0
|
@@ -0,0 +1,545 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* JSON Schemas for the workflow apply, call, event-emit and trigger payloads.
|
|
3
|
+
*/
|
|
4
|
+
export declare const workflowApplySchema: {
|
|
5
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
6
|
+
readonly title: "OXYGEN Workflow Apply Input";
|
|
7
|
+
readonly type: "object";
|
|
8
|
+
readonly additionalProperties: false;
|
|
9
|
+
readonly properties: {
|
|
10
|
+
readonly manifest: {
|
|
11
|
+
readonly $ref: "#/$defs/manifest";
|
|
12
|
+
};
|
|
13
|
+
readonly approved: {
|
|
14
|
+
readonly type: "boolean";
|
|
15
|
+
readonly description: "Standing tool authorization for this exact autonomous revision.";
|
|
16
|
+
};
|
|
17
|
+
readonly max_credits: {
|
|
18
|
+
readonly type: "number";
|
|
19
|
+
readonly exclusiveMinimum: 0;
|
|
20
|
+
readonly description: "Hard credit ceiling for each autonomous delivery.";
|
|
21
|
+
};
|
|
22
|
+
readonly publish: {
|
|
23
|
+
readonly type: "boolean";
|
|
24
|
+
readonly description: "False saves an editable draft revision without publishing it. Defaults to true.";
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
readonly required: readonly ["manifest"];
|
|
28
|
+
readonly $defs: {
|
|
29
|
+
readonly manifest: {
|
|
30
|
+
readonly type: "object";
|
|
31
|
+
readonly additionalProperties: true;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
export declare const workflowCallSchema: {
|
|
36
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
37
|
+
readonly title: "OXYGEN Workflow Call Input";
|
|
38
|
+
readonly type: "object";
|
|
39
|
+
readonly additionalProperties: false;
|
|
40
|
+
readonly properties: {
|
|
41
|
+
readonly workflow: {
|
|
42
|
+
readonly type: "string";
|
|
43
|
+
};
|
|
44
|
+
readonly workflow_id: {
|
|
45
|
+
readonly type: "string";
|
|
46
|
+
};
|
|
47
|
+
readonly workflow_name: {
|
|
48
|
+
readonly type: "string";
|
|
49
|
+
};
|
|
50
|
+
readonly input: {
|
|
51
|
+
readonly type: "object";
|
|
52
|
+
readonly additionalProperties: true;
|
|
53
|
+
};
|
|
54
|
+
readonly mode: {
|
|
55
|
+
readonly enum: readonly ["dry_run", "live", "smoke_test"];
|
|
56
|
+
};
|
|
57
|
+
readonly idempotency_key: {
|
|
58
|
+
readonly type: "string";
|
|
59
|
+
};
|
|
60
|
+
readonly revision_version: {
|
|
61
|
+
readonly type: "integer";
|
|
62
|
+
readonly minimum: 1;
|
|
63
|
+
readonly description: "Exact saved revision to run. Historical revisions are non-live only.";
|
|
64
|
+
};
|
|
65
|
+
readonly approved: {
|
|
66
|
+
readonly type: "boolean";
|
|
67
|
+
readonly description: "Explicit approval required for live calls.";
|
|
68
|
+
};
|
|
69
|
+
readonly max_credits: {
|
|
70
|
+
readonly type: "number";
|
|
71
|
+
readonly exclusiveMinimum: 0;
|
|
72
|
+
readonly description: "Positive credit ceiling required for live calls.";
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
readonly required: readonly ["mode"];
|
|
76
|
+
};
|
|
77
|
+
export declare const workflowEventEmitSchema: {
|
|
78
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
79
|
+
readonly title: "OXYGEN Workflow Event Emit Input";
|
|
80
|
+
readonly type: "object";
|
|
81
|
+
readonly additionalProperties: false;
|
|
82
|
+
readonly properties: {
|
|
83
|
+
readonly source: {
|
|
84
|
+
readonly type: "string";
|
|
85
|
+
};
|
|
86
|
+
readonly event: {
|
|
87
|
+
readonly type: "string";
|
|
88
|
+
};
|
|
89
|
+
readonly payload: {
|
|
90
|
+
readonly type: "object";
|
|
91
|
+
readonly additionalProperties: true;
|
|
92
|
+
};
|
|
93
|
+
readonly raw_payload: {
|
|
94
|
+
readonly type: "object";
|
|
95
|
+
readonly additionalProperties: true;
|
|
96
|
+
};
|
|
97
|
+
readonly headers: {
|
|
98
|
+
readonly type: "object";
|
|
99
|
+
readonly additionalProperties: true;
|
|
100
|
+
};
|
|
101
|
+
readonly external_event_id: {
|
|
102
|
+
readonly type: "string";
|
|
103
|
+
};
|
|
104
|
+
readonly idempotency_key: {
|
|
105
|
+
readonly type: "string";
|
|
106
|
+
};
|
|
107
|
+
readonly mode: {
|
|
108
|
+
readonly enum: readonly ["dry_run", "live", "smoke_test"];
|
|
109
|
+
};
|
|
110
|
+
readonly approved: {
|
|
111
|
+
readonly type: "boolean";
|
|
112
|
+
readonly description: "Explicit approval required when event deliveries run live.";
|
|
113
|
+
};
|
|
114
|
+
readonly max_credits: {
|
|
115
|
+
readonly type: "number";
|
|
116
|
+
readonly exclusiveMinimum: 0;
|
|
117
|
+
readonly description: "Positive per-delivery credit ceiling required for live event emission.";
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
readonly required: readonly ["source", "event", "payload", "mode"];
|
|
121
|
+
};
|
|
122
|
+
export declare const workflowTriggerSchema: {
|
|
123
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
124
|
+
readonly title: "OXYGEN Workflow Trigger";
|
|
125
|
+
readonly type: "object";
|
|
126
|
+
readonly additionalProperties: false;
|
|
127
|
+
readonly properties: {
|
|
128
|
+
readonly type: {
|
|
129
|
+
readonly enum: readonly ["api", "webhook", "cron", "event"];
|
|
130
|
+
};
|
|
131
|
+
readonly trigger_id: {
|
|
132
|
+
readonly type: "string";
|
|
133
|
+
};
|
|
134
|
+
readonly trigger_name: {
|
|
135
|
+
readonly type: readonly ["string", "null"];
|
|
136
|
+
};
|
|
137
|
+
readonly secret_required: {
|
|
138
|
+
readonly type: "boolean";
|
|
139
|
+
};
|
|
140
|
+
readonly idempotency_key_path: {
|
|
141
|
+
readonly type: readonly ["string", "null"];
|
|
142
|
+
};
|
|
143
|
+
readonly cron: {
|
|
144
|
+
readonly type: "string";
|
|
145
|
+
};
|
|
146
|
+
readonly timezone: {
|
|
147
|
+
readonly type: readonly ["string", "null"];
|
|
148
|
+
};
|
|
149
|
+
readonly source: {
|
|
150
|
+
readonly type: "string";
|
|
151
|
+
};
|
|
152
|
+
readonly event: {
|
|
153
|
+
readonly type: "string";
|
|
154
|
+
};
|
|
155
|
+
readonly filters: {
|
|
156
|
+
readonly type: "array";
|
|
157
|
+
readonly items: {
|
|
158
|
+
readonly type: "object";
|
|
159
|
+
readonly additionalProperties: false;
|
|
160
|
+
readonly properties: {
|
|
161
|
+
readonly path: {
|
|
162
|
+
readonly type: "string";
|
|
163
|
+
};
|
|
164
|
+
readonly op: {
|
|
165
|
+
readonly enum: readonly ["eq", "neq", "exists", "not_exists"];
|
|
166
|
+
};
|
|
167
|
+
readonly value: {};
|
|
168
|
+
};
|
|
169
|
+
readonly required: readonly ["path", "op"];
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
readonly status: {
|
|
173
|
+
readonly enum: readonly ["active", "disabled"];
|
|
174
|
+
};
|
|
175
|
+
};
|
|
176
|
+
readonly required: readonly ["type"];
|
|
177
|
+
};
|
|
178
|
+
export declare const workflowManifestSchema: {
|
|
179
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
180
|
+
readonly title: "OXYGEN Workflow Manifest";
|
|
181
|
+
readonly type: "object";
|
|
182
|
+
readonly additionalProperties: true;
|
|
183
|
+
readonly required: readonly ["manifest_version", "workflow", "steps", "source_hash", "compiler_version"];
|
|
184
|
+
};
|
|
185
|
+
export declare function getWorkflowSchema(subject?: "apply" | "call" | "event" | "trigger" | "manifest" | "all"): {
|
|
186
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
187
|
+
readonly title: "OXYGEN Workflow Apply Input";
|
|
188
|
+
readonly type: "object";
|
|
189
|
+
readonly additionalProperties: false;
|
|
190
|
+
readonly properties: {
|
|
191
|
+
readonly manifest: {
|
|
192
|
+
readonly $ref: "#/$defs/manifest";
|
|
193
|
+
};
|
|
194
|
+
readonly approved: {
|
|
195
|
+
readonly type: "boolean";
|
|
196
|
+
readonly description: "Standing tool authorization for this exact autonomous revision.";
|
|
197
|
+
};
|
|
198
|
+
readonly max_credits: {
|
|
199
|
+
readonly type: "number";
|
|
200
|
+
readonly exclusiveMinimum: 0;
|
|
201
|
+
readonly description: "Hard credit ceiling for each autonomous delivery.";
|
|
202
|
+
};
|
|
203
|
+
readonly publish: {
|
|
204
|
+
readonly type: "boolean";
|
|
205
|
+
readonly description: "False saves an editable draft revision without publishing it. Defaults to true.";
|
|
206
|
+
};
|
|
207
|
+
};
|
|
208
|
+
readonly required: readonly ["manifest"];
|
|
209
|
+
readonly $defs: {
|
|
210
|
+
readonly manifest: {
|
|
211
|
+
readonly type: "object";
|
|
212
|
+
readonly additionalProperties: true;
|
|
213
|
+
};
|
|
214
|
+
};
|
|
215
|
+
} | {
|
|
216
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
217
|
+
readonly title: "OXYGEN Workflow Call Input";
|
|
218
|
+
readonly type: "object";
|
|
219
|
+
readonly additionalProperties: false;
|
|
220
|
+
readonly properties: {
|
|
221
|
+
readonly workflow: {
|
|
222
|
+
readonly type: "string";
|
|
223
|
+
};
|
|
224
|
+
readonly workflow_id: {
|
|
225
|
+
readonly type: "string";
|
|
226
|
+
};
|
|
227
|
+
readonly workflow_name: {
|
|
228
|
+
readonly type: "string";
|
|
229
|
+
};
|
|
230
|
+
readonly input: {
|
|
231
|
+
readonly type: "object";
|
|
232
|
+
readonly additionalProperties: true;
|
|
233
|
+
};
|
|
234
|
+
readonly mode: {
|
|
235
|
+
readonly enum: readonly ["dry_run", "live", "smoke_test"];
|
|
236
|
+
};
|
|
237
|
+
readonly idempotency_key: {
|
|
238
|
+
readonly type: "string";
|
|
239
|
+
};
|
|
240
|
+
readonly revision_version: {
|
|
241
|
+
readonly type: "integer";
|
|
242
|
+
readonly minimum: 1;
|
|
243
|
+
readonly description: "Exact saved revision to run. Historical revisions are non-live only.";
|
|
244
|
+
};
|
|
245
|
+
readonly approved: {
|
|
246
|
+
readonly type: "boolean";
|
|
247
|
+
readonly description: "Explicit approval required for live calls.";
|
|
248
|
+
};
|
|
249
|
+
readonly max_credits: {
|
|
250
|
+
readonly type: "number";
|
|
251
|
+
readonly exclusiveMinimum: 0;
|
|
252
|
+
readonly description: "Positive credit ceiling required for live calls.";
|
|
253
|
+
};
|
|
254
|
+
};
|
|
255
|
+
readonly required: readonly ["mode"];
|
|
256
|
+
} | {
|
|
257
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
258
|
+
readonly title: "OXYGEN Workflow Event Emit Input";
|
|
259
|
+
readonly type: "object";
|
|
260
|
+
readonly additionalProperties: false;
|
|
261
|
+
readonly properties: {
|
|
262
|
+
readonly source: {
|
|
263
|
+
readonly type: "string";
|
|
264
|
+
};
|
|
265
|
+
readonly event: {
|
|
266
|
+
readonly type: "string";
|
|
267
|
+
};
|
|
268
|
+
readonly payload: {
|
|
269
|
+
readonly type: "object";
|
|
270
|
+
readonly additionalProperties: true;
|
|
271
|
+
};
|
|
272
|
+
readonly raw_payload: {
|
|
273
|
+
readonly type: "object";
|
|
274
|
+
readonly additionalProperties: true;
|
|
275
|
+
};
|
|
276
|
+
readonly headers: {
|
|
277
|
+
readonly type: "object";
|
|
278
|
+
readonly additionalProperties: true;
|
|
279
|
+
};
|
|
280
|
+
readonly external_event_id: {
|
|
281
|
+
readonly type: "string";
|
|
282
|
+
};
|
|
283
|
+
readonly idempotency_key: {
|
|
284
|
+
readonly type: "string";
|
|
285
|
+
};
|
|
286
|
+
readonly mode: {
|
|
287
|
+
readonly enum: readonly ["dry_run", "live", "smoke_test"];
|
|
288
|
+
};
|
|
289
|
+
readonly approved: {
|
|
290
|
+
readonly type: "boolean";
|
|
291
|
+
readonly description: "Explicit approval required when event deliveries run live.";
|
|
292
|
+
};
|
|
293
|
+
readonly max_credits: {
|
|
294
|
+
readonly type: "number";
|
|
295
|
+
readonly exclusiveMinimum: 0;
|
|
296
|
+
readonly description: "Positive per-delivery credit ceiling required for live event emission.";
|
|
297
|
+
};
|
|
298
|
+
};
|
|
299
|
+
readonly required: readonly ["source", "event", "payload", "mode"];
|
|
300
|
+
} | {
|
|
301
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
302
|
+
readonly title: "OXYGEN Workflow Trigger";
|
|
303
|
+
readonly type: "object";
|
|
304
|
+
readonly additionalProperties: false;
|
|
305
|
+
readonly properties: {
|
|
306
|
+
readonly type: {
|
|
307
|
+
readonly enum: readonly ["api", "webhook", "cron", "event"];
|
|
308
|
+
};
|
|
309
|
+
readonly trigger_id: {
|
|
310
|
+
readonly type: "string";
|
|
311
|
+
};
|
|
312
|
+
readonly trigger_name: {
|
|
313
|
+
readonly type: readonly ["string", "null"];
|
|
314
|
+
};
|
|
315
|
+
readonly secret_required: {
|
|
316
|
+
readonly type: "boolean";
|
|
317
|
+
};
|
|
318
|
+
readonly idempotency_key_path: {
|
|
319
|
+
readonly type: readonly ["string", "null"];
|
|
320
|
+
};
|
|
321
|
+
readonly cron: {
|
|
322
|
+
readonly type: "string";
|
|
323
|
+
};
|
|
324
|
+
readonly timezone: {
|
|
325
|
+
readonly type: readonly ["string", "null"];
|
|
326
|
+
};
|
|
327
|
+
readonly source: {
|
|
328
|
+
readonly type: "string";
|
|
329
|
+
};
|
|
330
|
+
readonly event: {
|
|
331
|
+
readonly type: "string";
|
|
332
|
+
};
|
|
333
|
+
readonly filters: {
|
|
334
|
+
readonly type: "array";
|
|
335
|
+
readonly items: {
|
|
336
|
+
readonly type: "object";
|
|
337
|
+
readonly additionalProperties: false;
|
|
338
|
+
readonly properties: {
|
|
339
|
+
readonly path: {
|
|
340
|
+
readonly type: "string";
|
|
341
|
+
};
|
|
342
|
+
readonly op: {
|
|
343
|
+
readonly enum: readonly ["eq", "neq", "exists", "not_exists"];
|
|
344
|
+
};
|
|
345
|
+
readonly value: {};
|
|
346
|
+
};
|
|
347
|
+
readonly required: readonly ["path", "op"];
|
|
348
|
+
};
|
|
349
|
+
};
|
|
350
|
+
readonly status: {
|
|
351
|
+
readonly enum: readonly ["active", "disabled"];
|
|
352
|
+
};
|
|
353
|
+
};
|
|
354
|
+
readonly required: readonly ["type"];
|
|
355
|
+
} | {
|
|
356
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
357
|
+
readonly title: "OXYGEN Workflow Manifest";
|
|
358
|
+
readonly type: "object";
|
|
359
|
+
readonly additionalProperties: true;
|
|
360
|
+
readonly required: readonly ["manifest_version", "workflow", "steps", "source_hash", "compiler_version"];
|
|
361
|
+
} | {
|
|
362
|
+
schemas: {
|
|
363
|
+
apply: {
|
|
364
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
365
|
+
readonly title: "OXYGEN Workflow Apply Input";
|
|
366
|
+
readonly type: "object";
|
|
367
|
+
readonly additionalProperties: false;
|
|
368
|
+
readonly properties: {
|
|
369
|
+
readonly manifest: {
|
|
370
|
+
readonly $ref: "#/$defs/manifest";
|
|
371
|
+
};
|
|
372
|
+
readonly approved: {
|
|
373
|
+
readonly type: "boolean";
|
|
374
|
+
readonly description: "Standing tool authorization for this exact autonomous revision.";
|
|
375
|
+
};
|
|
376
|
+
readonly max_credits: {
|
|
377
|
+
readonly type: "number";
|
|
378
|
+
readonly exclusiveMinimum: 0;
|
|
379
|
+
readonly description: "Hard credit ceiling for each autonomous delivery.";
|
|
380
|
+
};
|
|
381
|
+
readonly publish: {
|
|
382
|
+
readonly type: "boolean";
|
|
383
|
+
readonly description: "False saves an editable draft revision without publishing it. Defaults to true.";
|
|
384
|
+
};
|
|
385
|
+
};
|
|
386
|
+
readonly required: readonly ["manifest"];
|
|
387
|
+
readonly $defs: {
|
|
388
|
+
readonly manifest: {
|
|
389
|
+
readonly type: "object";
|
|
390
|
+
readonly additionalProperties: true;
|
|
391
|
+
};
|
|
392
|
+
};
|
|
393
|
+
};
|
|
394
|
+
call: {
|
|
395
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
396
|
+
readonly title: "OXYGEN Workflow Call Input";
|
|
397
|
+
readonly type: "object";
|
|
398
|
+
readonly additionalProperties: false;
|
|
399
|
+
readonly properties: {
|
|
400
|
+
readonly workflow: {
|
|
401
|
+
readonly type: "string";
|
|
402
|
+
};
|
|
403
|
+
readonly workflow_id: {
|
|
404
|
+
readonly type: "string";
|
|
405
|
+
};
|
|
406
|
+
readonly workflow_name: {
|
|
407
|
+
readonly type: "string";
|
|
408
|
+
};
|
|
409
|
+
readonly input: {
|
|
410
|
+
readonly type: "object";
|
|
411
|
+
readonly additionalProperties: true;
|
|
412
|
+
};
|
|
413
|
+
readonly mode: {
|
|
414
|
+
readonly enum: readonly ["dry_run", "live", "smoke_test"];
|
|
415
|
+
};
|
|
416
|
+
readonly idempotency_key: {
|
|
417
|
+
readonly type: "string";
|
|
418
|
+
};
|
|
419
|
+
readonly revision_version: {
|
|
420
|
+
readonly type: "integer";
|
|
421
|
+
readonly minimum: 1;
|
|
422
|
+
readonly description: "Exact saved revision to run. Historical revisions are non-live only.";
|
|
423
|
+
};
|
|
424
|
+
readonly approved: {
|
|
425
|
+
readonly type: "boolean";
|
|
426
|
+
readonly description: "Explicit approval required for live calls.";
|
|
427
|
+
};
|
|
428
|
+
readonly max_credits: {
|
|
429
|
+
readonly type: "number";
|
|
430
|
+
readonly exclusiveMinimum: 0;
|
|
431
|
+
readonly description: "Positive credit ceiling required for live calls.";
|
|
432
|
+
};
|
|
433
|
+
};
|
|
434
|
+
readonly required: readonly ["mode"];
|
|
435
|
+
};
|
|
436
|
+
event: {
|
|
437
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
438
|
+
readonly title: "OXYGEN Workflow Event Emit Input";
|
|
439
|
+
readonly type: "object";
|
|
440
|
+
readonly additionalProperties: false;
|
|
441
|
+
readonly properties: {
|
|
442
|
+
readonly source: {
|
|
443
|
+
readonly type: "string";
|
|
444
|
+
};
|
|
445
|
+
readonly event: {
|
|
446
|
+
readonly type: "string";
|
|
447
|
+
};
|
|
448
|
+
readonly payload: {
|
|
449
|
+
readonly type: "object";
|
|
450
|
+
readonly additionalProperties: true;
|
|
451
|
+
};
|
|
452
|
+
readonly raw_payload: {
|
|
453
|
+
readonly type: "object";
|
|
454
|
+
readonly additionalProperties: true;
|
|
455
|
+
};
|
|
456
|
+
readonly headers: {
|
|
457
|
+
readonly type: "object";
|
|
458
|
+
readonly additionalProperties: true;
|
|
459
|
+
};
|
|
460
|
+
readonly external_event_id: {
|
|
461
|
+
readonly type: "string";
|
|
462
|
+
};
|
|
463
|
+
readonly idempotency_key: {
|
|
464
|
+
readonly type: "string";
|
|
465
|
+
};
|
|
466
|
+
readonly mode: {
|
|
467
|
+
readonly enum: readonly ["dry_run", "live", "smoke_test"];
|
|
468
|
+
};
|
|
469
|
+
readonly approved: {
|
|
470
|
+
readonly type: "boolean";
|
|
471
|
+
readonly description: "Explicit approval required when event deliveries run live.";
|
|
472
|
+
};
|
|
473
|
+
readonly max_credits: {
|
|
474
|
+
readonly type: "number";
|
|
475
|
+
readonly exclusiveMinimum: 0;
|
|
476
|
+
readonly description: "Positive per-delivery credit ceiling required for live event emission.";
|
|
477
|
+
};
|
|
478
|
+
};
|
|
479
|
+
readonly required: readonly ["source", "event", "payload", "mode"];
|
|
480
|
+
};
|
|
481
|
+
trigger: {
|
|
482
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
483
|
+
readonly title: "OXYGEN Workflow Trigger";
|
|
484
|
+
readonly type: "object";
|
|
485
|
+
readonly additionalProperties: false;
|
|
486
|
+
readonly properties: {
|
|
487
|
+
readonly type: {
|
|
488
|
+
readonly enum: readonly ["api", "webhook", "cron", "event"];
|
|
489
|
+
};
|
|
490
|
+
readonly trigger_id: {
|
|
491
|
+
readonly type: "string";
|
|
492
|
+
};
|
|
493
|
+
readonly trigger_name: {
|
|
494
|
+
readonly type: readonly ["string", "null"];
|
|
495
|
+
};
|
|
496
|
+
readonly secret_required: {
|
|
497
|
+
readonly type: "boolean";
|
|
498
|
+
};
|
|
499
|
+
readonly idempotency_key_path: {
|
|
500
|
+
readonly type: readonly ["string", "null"];
|
|
501
|
+
};
|
|
502
|
+
readonly cron: {
|
|
503
|
+
readonly type: "string";
|
|
504
|
+
};
|
|
505
|
+
readonly timezone: {
|
|
506
|
+
readonly type: readonly ["string", "null"];
|
|
507
|
+
};
|
|
508
|
+
readonly source: {
|
|
509
|
+
readonly type: "string";
|
|
510
|
+
};
|
|
511
|
+
readonly event: {
|
|
512
|
+
readonly type: "string";
|
|
513
|
+
};
|
|
514
|
+
readonly filters: {
|
|
515
|
+
readonly type: "array";
|
|
516
|
+
readonly items: {
|
|
517
|
+
readonly type: "object";
|
|
518
|
+
readonly additionalProperties: false;
|
|
519
|
+
readonly properties: {
|
|
520
|
+
readonly path: {
|
|
521
|
+
readonly type: "string";
|
|
522
|
+
};
|
|
523
|
+
readonly op: {
|
|
524
|
+
readonly enum: readonly ["eq", "neq", "exists", "not_exists"];
|
|
525
|
+
};
|
|
526
|
+
readonly value: {};
|
|
527
|
+
};
|
|
528
|
+
readonly required: readonly ["path", "op"];
|
|
529
|
+
};
|
|
530
|
+
};
|
|
531
|
+
readonly status: {
|
|
532
|
+
readonly enum: readonly ["active", "disabled"];
|
|
533
|
+
};
|
|
534
|
+
};
|
|
535
|
+
readonly required: readonly ["type"];
|
|
536
|
+
};
|
|
537
|
+
manifest: {
|
|
538
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
539
|
+
readonly title: "OXYGEN Workflow Manifest";
|
|
540
|
+
readonly type: "object";
|
|
541
|
+
readonly additionalProperties: true;
|
|
542
|
+
readonly required: readonly ["manifest_version", "workflow", "steps", "source_hash", "compiler_version"];
|
|
543
|
+
};
|
|
544
|
+
};
|
|
545
|
+
};
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* JSON Schemas for the workflow apply, call, event-emit and trigger payloads.
|
|
3
|
+
*/
|
|
4
|
+
export const workflowApplySchema = {
|
|
5
|
+
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
6
|
+
title: "OXYGEN Workflow Apply Input",
|
|
7
|
+
type: "object",
|
|
8
|
+
additionalProperties: false,
|
|
9
|
+
properties: {
|
|
10
|
+
manifest: { $ref: "#/$defs/manifest" },
|
|
11
|
+
approved: {
|
|
12
|
+
type: "boolean",
|
|
13
|
+
description: "Standing tool authorization for this exact autonomous revision.",
|
|
14
|
+
},
|
|
15
|
+
max_credits: {
|
|
16
|
+
type: "number",
|
|
17
|
+
exclusiveMinimum: 0,
|
|
18
|
+
description: "Hard credit ceiling for each autonomous delivery.",
|
|
19
|
+
},
|
|
20
|
+
publish: {
|
|
21
|
+
type: "boolean",
|
|
22
|
+
description: "False saves an editable draft revision without publishing it. Defaults to true.",
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
required: ["manifest"],
|
|
26
|
+
$defs: {
|
|
27
|
+
manifest: { type: "object", additionalProperties: true },
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
export const workflowCallSchema = {
|
|
31
|
+
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
32
|
+
title: "OXYGEN Workflow Call Input",
|
|
33
|
+
type: "object",
|
|
34
|
+
additionalProperties: false,
|
|
35
|
+
properties: {
|
|
36
|
+
workflow: { type: "string" },
|
|
37
|
+
workflow_id: { type: "string" },
|
|
38
|
+
workflow_name: { type: "string" },
|
|
39
|
+
input: { type: "object", additionalProperties: true },
|
|
40
|
+
mode: { enum: ["dry_run", "live", "smoke_test"] },
|
|
41
|
+
idempotency_key: { type: "string" },
|
|
42
|
+
revision_version: {
|
|
43
|
+
type: "integer",
|
|
44
|
+
minimum: 1,
|
|
45
|
+
description: "Exact saved revision to run. Historical revisions are non-live only.",
|
|
46
|
+
},
|
|
47
|
+
approved: {
|
|
48
|
+
type: "boolean",
|
|
49
|
+
description: "Explicit approval required for live calls.",
|
|
50
|
+
},
|
|
51
|
+
max_credits: {
|
|
52
|
+
type: "number",
|
|
53
|
+
exclusiveMinimum: 0,
|
|
54
|
+
description: "Positive credit ceiling required for live calls.",
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
required: ["mode"],
|
|
58
|
+
};
|
|
59
|
+
export const workflowEventEmitSchema = {
|
|
60
|
+
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
61
|
+
title: "OXYGEN Workflow Event Emit Input",
|
|
62
|
+
type: "object",
|
|
63
|
+
additionalProperties: false,
|
|
64
|
+
properties: {
|
|
65
|
+
source: { type: "string" },
|
|
66
|
+
event: { type: "string" },
|
|
67
|
+
payload: { type: "object", additionalProperties: true },
|
|
68
|
+
raw_payload: { type: "object", additionalProperties: true },
|
|
69
|
+
headers: { type: "object", additionalProperties: true },
|
|
70
|
+
external_event_id: { type: "string" },
|
|
71
|
+
idempotency_key: { type: "string" },
|
|
72
|
+
mode: { enum: ["dry_run", "live", "smoke_test"] },
|
|
73
|
+
approved: {
|
|
74
|
+
type: "boolean",
|
|
75
|
+
description: "Explicit approval required when event deliveries run live.",
|
|
76
|
+
},
|
|
77
|
+
max_credits: {
|
|
78
|
+
type: "number",
|
|
79
|
+
exclusiveMinimum: 0,
|
|
80
|
+
description: "Positive per-delivery credit ceiling required for live event emission.",
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
required: ["source", "event", "payload", "mode"],
|
|
84
|
+
};
|
|
85
|
+
export const workflowTriggerSchema = {
|
|
86
|
+
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
87
|
+
title: "OXYGEN Workflow Trigger",
|
|
88
|
+
type: "object",
|
|
89
|
+
additionalProperties: false,
|
|
90
|
+
properties: {
|
|
91
|
+
type: { enum: ["api", "webhook", "cron", "event"] },
|
|
92
|
+
trigger_id: { type: "string" },
|
|
93
|
+
trigger_name: { type: ["string", "null"] },
|
|
94
|
+
secret_required: { type: "boolean" },
|
|
95
|
+
idempotency_key_path: { type: ["string", "null"] },
|
|
96
|
+
cron: { type: "string" },
|
|
97
|
+
timezone: { type: ["string", "null"] },
|
|
98
|
+
source: { type: "string" },
|
|
99
|
+
event: { type: "string" },
|
|
100
|
+
filters: {
|
|
101
|
+
type: "array",
|
|
102
|
+
items: {
|
|
103
|
+
type: "object",
|
|
104
|
+
additionalProperties: false,
|
|
105
|
+
properties: {
|
|
106
|
+
path: { type: "string" },
|
|
107
|
+
op: { enum: ["eq", "neq", "exists", "not_exists"] },
|
|
108
|
+
value: {},
|
|
109
|
+
},
|
|
110
|
+
required: ["path", "op"],
|
|
111
|
+
},
|
|
112
|
+
},
|
|
113
|
+
status: { enum: ["active", "disabled"] },
|
|
114
|
+
},
|
|
115
|
+
required: ["type"],
|
|
116
|
+
};
|
|
117
|
+
export const workflowManifestSchema = {
|
|
118
|
+
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
119
|
+
title: "OXYGEN Workflow Manifest",
|
|
120
|
+
type: "object",
|
|
121
|
+
additionalProperties: true,
|
|
122
|
+
required: ["manifest_version", "workflow", "steps", "source_hash", "compiler_version"],
|
|
123
|
+
};
|
|
124
|
+
export function getWorkflowSchema(subject = "apply") {
|
|
125
|
+
const schemas = {
|
|
126
|
+
apply: workflowApplySchema,
|
|
127
|
+
call: workflowCallSchema,
|
|
128
|
+
event: workflowEventEmitSchema,
|
|
129
|
+
trigger: workflowTriggerSchema,
|
|
130
|
+
manifest: workflowManifestSchema,
|
|
131
|
+
};
|
|
132
|
+
if (subject === "all")
|
|
133
|
+
return { schemas };
|
|
134
|
+
return schemas[subject];
|
|
135
|
+
}
|
|
@@ -14,6 +14,10 @@
|
|
|
14
14
|
"types": "./dist/graph/index.d.ts",
|
|
15
15
|
"import": "./dist/graph/index.js"
|
|
16
16
|
},
|
|
17
|
+
"./condition": {
|
|
18
|
+
"types": "./dist/graph/condition.d.ts",
|
|
19
|
+
"import": "./dist/graph/condition.js"
|
|
20
|
+
},
|
|
17
21
|
"./policy": {
|
|
18
22
|
"types": "./dist/refactor-internals/execution-policy.d.ts",
|
|
19
23
|
"import": "./dist/refactor-internals/execution-policy.js"
|