@aglyn/aglyn 1.0.0-beta.217 → 1.0.0-beta.219
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/package.json +14 -14
- package/src/lib/app-utils/actions.d.ts +25 -374
- package/src/lib/app-utils/actions.js +101 -561
- package/src/lib/app-utils/actions.js.map +1 -1
- package/src/lib/app-utils/activity-presenter.d.ts +3 -3
- package/src/lib/app-utils/activity-presenter.js +36 -52
- package/src/lib/app-utils/activity-presenter.js.map +1 -1
- package/src/lib/app-utils/admin-audit-index.js +2 -2
- package/src/lib/app-utils/admin-audit-index.js.map +1 -1
- package/src/lib/app-utils/analytics-events.d.ts +11 -2
- package/src/lib/app-utils/analytics-events.js +11 -2
- package/src/lib/app-utils/analytics-events.js.map +1 -1
- package/src/lib/app-utils/analytics-provider.d.ts +182 -0
- package/src/lib/app-utils/analytics-provider.js +133 -0
- package/src/lib/app-utils/analytics-provider.js.map +1 -0
- package/src/lib/app-utils/api-plugins.d.ts +46 -0
- package/src/lib/app-utils/api-plugins.js +19 -0
- package/src/lib/app-utils/api-plugins.js.map +1 -1
- package/src/lib/app-utils/{marketplace-overrides.d.ts → artifact-overrides.d.ts} +9 -6
- package/src/lib/app-utils/{marketplace-overrides.js → artifact-overrides.js} +10 -7
- package/src/lib/app-utils/artifact-overrides.js.map +1 -0
- package/src/lib/app-utils/{marketplace-provenance.d.ts → artifact-provenance.d.ts} +12 -10
- package/src/lib/app-utils/{marketplace-provenance.js → artifact-provenance.js} +9 -7
- package/src/lib/app-utils/artifact-provenance.js.map +1 -0
- package/src/lib/app-utils/assist-credits.js +2 -1
- package/src/lib/app-utils/assist-credits.js.map +1 -1
- package/src/lib/app-utils/binding-token-catalog.d.ts +5 -13
- package/src/lib/app-utils/binding-token-catalog.js +17 -41
- package/src/lib/app-utils/binding-token-catalog.js.map +1 -1
- package/src/lib/app-utils/binding-tokens.js +1 -1
- package/src/lib/app-utils/binding-tokens.js.map +1 -1
- package/src/lib/app-utils/brand-support-line.d.ts +36 -0
- package/src/lib/app-utils/brand-support-line.js +38 -0
- package/src/lib/app-utils/brand-support-line.js.map +1 -0
- package/src/lib/app-utils/campaign-touch.d.ts +5 -5
- package/src/lib/app-utils/campaign-touch.js +8 -8
- package/src/lib/app-utils/campaign-touch.js.map +1 -1
- package/src/lib/app-utils/collection-entries.d.ts +2 -2
- package/src/lib/app-utils/collection-entries.js.map +1 -1
- package/src/lib/app-utils/consent-group-change.d.ts +4 -0
- package/src/lib/app-utils/consent-group-change.js.map +1 -1
- package/src/lib/app-utils/console-record-links.d.ts +10 -89
- package/src/lib/app-utils/console-record-links.js +3 -107
- package/src/lib/app-utils/console-record-links.js.map +1 -1
- package/src/lib/app-utils/console-routes.d.ts +16 -7
- package/src/lib/app-utils/console-routes.js +9 -3
- package/src/lib/app-utils/console-routes.js.map +1 -1
- package/src/lib/app-utils/contacts.d.ts +23 -1
- package/src/lib/app-utils/contacts.js +21 -5
- package/src/lib/app-utils/contacts.js.map +1 -1
- package/src/lib/app-utils/cross-pool-desync.d.ts +39 -0
- package/src/lib/app-utils/cross-pool-desync.js +47 -0
- package/src/lib/app-utils/cross-pool-desync.js.map +1 -0
- package/src/lib/app-utils/csv-upload.d.ts +29 -0
- package/src/lib/app-utils/csv-upload.js +29 -0
- package/src/lib/app-utils/csv-upload.js.map +1 -0
- package/src/lib/app-utils/dataset-models.d.ts +5 -5
- package/src/lib/app-utils/dataset-models.js +19 -2
- package/src/lib/app-utils/dataset-models.js.map +1 -1
- package/src/lib/app-utils/datasets.d.ts +65 -11
- package/src/lib/app-utils/datasets.js +74 -11
- package/src/lib/app-utils/datasets.js.map +1 -1
- package/src/lib/app-utils/docs-deflection.d.ts +6 -6
- package/src/lib/app-utils/docs-deflection.js.map +1 -1
- package/src/lib/app-utils/docs-help.generated.d.ts +12 -6
- package/src/lib/app-utils/docs-help.generated.js +21 -6
- package/src/lib/app-utils/docs-help.generated.js.map +1 -1
- package/src/lib/app-utils/docs-index.generated.d.ts +2 -2
- package/src/lib/app-utils/docs-index.generated.js +514 -318
- package/src/lib/app-utils/docs-index.generated.js.map +1 -1
- package/src/lib/app-utils/docs-retrieval.d.ts +3 -3
- package/src/lib/app-utils/docs-retrieval.js +14 -10
- package/src/lib/app-utils/docs-retrieval.js.map +1 -1
- package/src/lib/app-utils/duplicate-resource.d.ts +4 -1
- package/src/lib/app-utils/duplicate-resource.js +7 -4
- package/src/lib/app-utils/duplicate-resource.js.map +1 -1
- package/src/lib/app-utils/dynamic-list-rule.d.ts +1 -1
- package/src/lib/app-utils/dynamic-list-rule.js.map +1 -1
- package/src/lib/app-utils/element-ui.d.ts +1 -1
- package/src/lib/app-utils/element-ui.js +1 -1
- package/src/lib/app-utils/element-ui.js.map +1 -1
- package/src/lib/app-utils/email-starter-policy.js +3 -3
- package/src/lib/app-utils/email-starter-policy.js.map +1 -1
- package/src/lib/app-utils/entity-picker-context.d.ts +10 -5
- package/src/lib/app-utils/entity-picker-context.js.map +1 -1
- package/src/lib/app-utils/error-beacon.d.ts +75 -6
- package/src/lib/app-utils/error-beacon.js +160 -21
- package/src/lib/app-utils/error-beacon.js.map +1 -1
- package/src/lib/app-utils/expand-repeatables.d.ts +10 -10
- package/src/lib/app-utils/expand-repeatables.js +10 -10
- package/src/lib/app-utils/expand-repeatables.js.map +1 -1
- package/src/lib/app-utils/host-events.d.ts +82 -0
- package/src/lib/app-utils/host-events.js +62 -0
- package/src/lib/app-utils/host-events.js.map +1 -0
- package/src/lib/app-utils/lockdown.d.ts +33 -1
- package/src/lib/app-utils/lockdown.js +45 -4
- package/src/lib/app-utils/lockdown.js.map +1 -1
- package/src/lib/app-utils/margin-utilization.d.ts +4 -69
- package/src/lib/app-utils/margin-utilization.js +82 -69
- package/src/lib/app-utils/margin-utilization.js.map +1 -1
- package/src/lib/app-utils/node-definition-sanitizer.d.ts +16 -16
- package/src/lib/app-utils/node-definition-sanitizer.js +24 -20
- package/src/lib/app-utils/node-definition-sanitizer.js.map +1 -1
- package/src/lib/app-utils/node-interactions.d.ts +7 -7
- package/src/lib/app-utils/node-interactions.js.map +1 -1
- package/src/lib/app-utils/notifications.d.ts +78 -47
- package/src/lib/app-utils/notifications.js +63 -44
- package/src/lib/app-utils/notifications.js.map +1 -1
- package/src/lib/app-utils/payments-configured.d.ts +8 -21
- package/src/lib/app-utils/payments-configured.js +8 -23
- package/src/lib/app-utils/payments-configured.js.map +1 -1
- package/src/lib/app-utils/plan-entitlements.d.ts +43 -128
- package/src/lib/app-utils/plan-entitlements.js +145 -304
- package/src/lib/app-utils/plan-entitlements.js.map +1 -1
- package/src/lib/app-utils/platform-brand.d.ts +10 -0
- package/src/lib/app-utils/platform-brand.js +14 -3
- package/src/lib/app-utils/platform-brand.js.map +1 -1
- package/src/lib/app-utils/plugin-api-rate-limit.d.ts +7 -1
- package/src/lib/app-utils/plugin-api-rate-limit.js +11 -3
- package/src/lib/app-utils/plugin-api-rate-limit.js.map +1 -1
- package/src/lib/app-utils/plugin-bundle-checks.js +2 -2
- package/src/lib/app-utils/plugin-bundle-checks.js.map +1 -1
- package/src/lib/app-utils/plugin-host-events.generated.d.ts +12 -0
- package/src/lib/app-utils/plugin-host-events.generated.js +169 -0
- package/src/lib/app-utils/plugin-host-events.generated.js.map +1 -0
- package/src/lib/app-utils/plugin-release-flags.generated.d.ts +12 -0
- package/src/lib/app-utils/plugin-release-flags.generated.js +106 -0
- package/src/lib/app-utils/plugin-release-flags.generated.js.map +1 -0
- package/src/lib/app-utils/realm-host-surface.generated.js +2 -0
- package/src/lib/app-utils/realm-host-surface.generated.js.map +1 -1
- package/src/lib/app-utils/release-flags.d.ts +14 -5
- package/src/lib/app-utils/release-flags.js +21 -125
- package/src/lib/app-utils/release-flags.js.map +1 -1
- package/src/lib/app-utils/repeat-sources.d.ts +9 -0
- package/src/lib/app-utils/repeat-sources.js.map +1 -1
- package/src/lib/app-utils/retained-refusals.d.ts +73 -0
- package/src/lib/app-utils/retained-refusals.js +186 -0
- package/src/lib/app-utils/retained-refusals.js.map +1 -0
- package/src/lib/app-utils/scope-tokens.d.ts +27 -0
- package/src/lib/app-utils/scope-tokens.js +61 -0
- package/src/lib/app-utils/scope-tokens.js.map +1 -1
- package/src/lib/app-utils/screen-link-context.js +3 -3
- package/src/lib/app-utils/screen-link-context.js.map +1 -1
- package/src/lib/app-utils/screen-route.d.ts +15 -0
- package/src/lib/app-utils/screen-route.js +21 -1
- package/src/lib/app-utils/screen-route.js.map +1 -1
- package/src/lib/app-utils/seo-audit.d.ts +132 -0
- package/src/lib/app-utils/seo-audit.js +246 -0
- package/src/lib/app-utils/seo-audit.js.map +1 -0
- package/src/lib/app-utils/seo-keywords.d.ts +48 -0
- package/src/lib/app-utils/seo-keywords.js +60 -0
- package/src/lib/app-utils/seo-keywords.js.map +1 -0
- package/src/lib/app-utils/seo-page-facts.d.ts +66 -0
- package/src/lib/app-utils/seo-page-facts.js +155 -0
- package/src/lib/app-utils/seo-page-facts.js.map +1 -0
- package/src/lib/app-utils/seo-site-scan.d.ts +126 -0
- package/src/lib/app-utils/seo-site-scan.js +162 -0
- package/src/lib/app-utils/seo-site-scan.js.map +1 -0
- package/src/lib/app-utils/seo-title-variables.js +1 -1
- package/src/lib/app-utils/seo-title-variables.js.map +1 -1
- package/src/lib/app-utils/server.d.ts +6 -9
- package/src/lib/app-utils/server.js +17 -27
- package/src/lib/app-utils/server.js.map +1 -1
- package/src/lib/app-utils/site-interactions.d.ts +501 -0
- package/src/lib/app-utils/site-interactions.js +554 -0
- package/src/lib/app-utils/site-interactions.js.map +1 -0
- package/src/lib/app-utils/{marketplace-theme.d.ts → site-theme.d.ts} +13 -2
- package/src/lib/app-utils/{marketplace-theme.js → site-theme.js} +5 -2
- package/src/lib/app-utils/site-theme.js.map +1 -0
- package/src/lib/app-utils/sitemap.d.ts +4 -3
- package/src/lib/app-utils/sitemap.js +9 -7
- package/src/lib/app-utils/sitemap.js.map +1 -1
- package/src/lib/app-utils/stale-build-error.d.ts +51 -0
- package/src/lib/app-utils/stale-build-error.js +100 -1
- package/src/lib/app-utils/stale-build-error.js.map +1 -1
- package/src/lib/app-utils/starter-templates.d.ts +20 -0
- package/src/lib/app-utils/starter-templates.js +49 -0
- package/src/lib/app-utils/starter-templates.js.map +1 -1
- package/src/lib/app-utils/tax-jurisdiction-figures.d.ts +118 -0
- package/src/lib/app-utils/tax-jurisdiction-figures.js +123 -0
- package/src/lib/app-utils/tax-jurisdiction-figures.js.map +1 -0
- package/src/lib/app-utils/theme-library.d.ts +10 -3
- package/src/lib/app-utils/theme-library.js +13 -4
- package/src/lib/app-utils/theme-library.js.map +1 -1
- package/src/lib/app-utils/{campaign-attribution.d.ts → utm-attribution.d.ts} +11 -6
- package/src/lib/app-utils/{campaign-attribution.js → utm-attribution.js} +13 -8
- package/src/lib/app-utils/utm-attribution.js.map +1 -0
- package/src/lib/app-utils/{campaign-forwarding.d.ts → utm-forwarding.d.ts} +14 -14
- package/src/lib/app-utils/{campaign-forwarding.js → utm-forwarding.js} +26 -26
- package/src/lib/app-utils/utm-forwarding.js.map +1 -0
- package/src/lib/app-utils/video-object.js +6 -5
- package/src/lib/app-utils/video-object.js.map +1 -1
- package/src/lib/app-utils/visitor-consent.d.ts +41 -164
- package/src/lib/app-utils/visitor-consent.js +66 -277
- package/src/lib/app-utils/visitor-consent.js.map +1 -1
- package/src/lib/app-utils/web-vitals-rum.d.ts +7 -7
- package/src/lib/app-utils/web-vitals-rum.js +31 -63
- package/src/lib/app-utils/web-vitals-rum.js.map +1 -1
- package/src/lib/app-utils/where-used.d.ts +11 -6
- package/src/lib/app-utils/where-used.js +3 -8
- package/src/lib/app-utils/where-used.js.map +1 -1
- package/src/lib/canvas-manager/canvas-manager.js +3 -3
- package/src/lib/canvas-manager/canvas-manager.js.map +1 -1
- package/src/lib/foundation/definitions/components.types.d.ts +1 -1
- package/src/lib/foundation/definitions/components.types.js +1 -1
- package/src/lib/foundation/definitions/components.types.js.map +1 -1
- package/src/lib/foundation/definitions/org-billing.types.d.ts +18 -135
- package/src/lib/foundation/definitions/org-billing.types.js.map +1 -1
- package/src/lib/foundation/definitions/organization.types.d.ts +6 -3
- package/src/lib/foundation/definitions/organization.types.js.map +1 -1
- package/src/lib/foundation/definitions/platform.types.d.ts +27 -5
- package/src/lib/foundation/definitions/platform.types.js.map +1 -1
- package/src/lib/foundation/definitions/write-deny-coverage.util.d.ts +16 -0
- package/src/lib/foundation/definitions/write-deny-coverage.util.js +20 -0
- package/src/lib/foundation/definitions/write-deny-coverage.util.js.map +1 -1
- package/src/lib/foundation/index.d.ts +1 -1
- package/src/lib/foundation/index.js.map +1 -1
- package/src/lib/plugin-manager/besigner-documents.d.ts +96 -0
- package/src/lib/plugin-manager/besigner-documents.js +61 -0
- package/src/lib/plugin-manager/besigner-documents.js.map +1 -0
- package/src/lib/plugin-manager/computed-variables.d.ts +71 -0
- package/src/lib/plugin-manager/computed-variables.js +74 -0
- package/src/lib/plugin-manager/computed-variables.js.map +1 -0
- package/src/lib/plugin-manager/custom-fields.d.ts +29 -2
- package/src/lib/plugin-manager/custom-fields.js +47 -1
- package/src/lib/plugin-manager/custom-fields.js.map +1 -1
- package/src/lib/plugin-manager/feature-plugins.d.ts +292 -20
- package/src/lib/plugin-manager/feature-plugins.js +105 -17
- package/src/lib/plugin-manager/feature-plugins.js.map +1 -1
- package/src/lib/plugin-manager/first-party-plugins.generated.d.ts +123 -0
- package/src/lib/plugin-manager/first-party-plugins.generated.js +785 -14
- package/src/lib/plugin-manager/first-party-plugins.generated.js.map +1 -1
- package/src/lib/plugin-manager/plugin-activity-actions.d.ts +12 -0
- package/src/lib/plugin-manager/plugin-activity-actions.js +25 -0
- package/src/lib/plugin-manager/plugin-activity-actions.js.map +1 -1
- package/src/lib/plugin-manager/plugin-contributions.d.ts +1 -1
- package/src/lib/plugin-manager/plugin-contributions.js.map +1 -1
- package/src/lib/plugin-manager/plugin-declarations-repair.d.ts +36 -0
- package/src/lib/plugin-manager/plugin-declarations-repair.js +64 -0
- package/src/lib/plugin-manager/plugin-declarations-repair.js.map +1 -0
- package/src/lib/plugin-manager/plugin-dependents.d.ts +101 -0
- package/src/lib/plugin-manager/plugin-dependents.js +75 -0
- package/src/lib/plugin-manager/plugin-dependents.js.map +1 -0
- package/src/lib/plugin-manager/plugin-distribution.d.ts +55 -0
- package/src/lib/plugin-manager/plugin-distribution.js +45 -0
- package/src/lib/plugin-manager/plugin-distribution.js.map +1 -0
- package/src/lib/plugin-manager/plugin-host-collections.d.ts +17 -0
- package/src/lib/plugin-manager/plugin-host-collections.js +6 -0
- package/src/lib/plugin-manager/plugin-host-collections.js.map +1 -1
- package/src/lib/plugin-manager/plugin-host-resources.d.ts +133 -0
- package/src/lib/plugin-manager/plugin-host-resources.js +52 -0
- package/src/lib/plugin-manager/plugin-host-resources.js.map +1 -0
- package/src/lib/plugin-manager/plugin-org-erasure.d.ts +28 -2
- package/src/lib/plugin-manager/plugin-org-erasure.js +61 -2
- package/src/lib/plugin-manager/plugin-org-erasure.js.map +1 -1
- package/src/lib/plugin-manager/plugin-plan-entitlements.d.ts +123 -0
- package/src/lib/plugin-manager/plugin-plan-entitlements.js +101 -0
- package/src/lib/plugin-manager/plugin-plan-entitlements.js.map +1 -0
- package/src/lib/plugin-manager/plugin-record-index.d.ts +95 -0
- package/src/lib/plugin-manager/plugin-record-index.js +51 -0
- package/src/lib/plugin-manager/plugin-record-index.js.map +1 -0
- package/src/lib/plugin-manager/plugin-record-written.d.ts +58 -0
- package/src/lib/plugin-manager/plugin-record-written.js +42 -0
- package/src/lib/plugin-manager/plugin-record-written.js.map +1 -0
- package/src/lib/plugin-manager/plugin-revenue-sources.d.ts +213 -0
- package/src/lib/plugin-manager/plugin-revenue-sources.js +194 -0
- package/src/lib/plugin-manager/plugin-revenue-sources.js.map +1 -0
- package/src/lib/plugin-manager/plugin-site-bundle.d.ts +145 -0
- package/src/lib/plugin-manager/plugin-site-bundle.js +78 -0
- package/src/lib/plugin-manager/plugin-site-bundle.js.map +1 -0
- package/src/lib/plugin-manager/plugin-site-cache.d.ts +12 -0
- package/src/lib/plugin-manager/plugin-site-cache.js.map +1 -1
- package/src/lib/plugin-manager/plugin-site-export.d.ts +81 -0
- package/src/lib/plugin-manager/plugin-site-export.js +40 -0
- package/src/lib/plugin-manager/plugin-site-export.js.map +1 -0
- package/src/lib/plugin-manager/plugin-sitemap-sections.d.ts +88 -0
- package/src/lib/plugin-manager/plugin-sitemap-sections.js +29 -0
- package/src/lib/plugin-manager/plugin-sitemap-sections.js.map +1 -0
- package/src/lib/plugin-manager/plugin-tax-profile.d.ts +20 -4
- package/src/lib/plugin-manager/plugin-tax-profile.js.map +1 -1
- package/src/lib/plugin-manager/plugin-tax-return-sources.d.ts +255 -0
- package/src/lib/plugin-manager/plugin-tax-return-sources.js +191 -0
- package/src/lib/plugin-manager/plugin-tax-return-sources.js.map +1 -0
- package/src/lib/plugin-manager/plugin-template-sources.d.ts +75 -0
- package/src/lib/plugin-manager/plugin-template-sources.js +37 -0
- package/src/lib/plugin-manager/plugin-template-sources.js.map +1 -0
- package/src/lib/plugin-manager/plugin-usage-axes.d.ts +107 -0
- package/src/lib/plugin-manager/plugin-usage-axes.js +107 -0
- package/src/lib/plugin-manager/plugin-usage-axes.js.map +1 -0
- package/src/lib/plugin-manager/plugin-zones.d.ts +4 -5
- package/src/lib/plugin-manager/plugin-zones.js.map +1 -1
- package/src/lib/plugin-manager/realm-host-aglyn.generated.js +2 -0
- package/src/lib/plugin-manager/realm-host-aglyn.generated.js.map +1 -1
- package/src/lib/plugin-manager/record-captured-contact.d.ts +1 -14
- package/src/lib/plugin-manager/record-captured-contact.js +10 -32
- package/src/lib/plugin-manager/record-captured-contact.js.map +1 -1
- package/src/lib/plugin-manager/repeat-rows.d.ts +124 -0
- package/src/lib/plugin-manager/repeat-rows.js +108 -0
- package/src/lib/plugin-manager/repeat-rows.js.map +1 -0
- package/src/lib/plugin-manager/submission-record-target.d.ts +144 -0
- package/src/lib/plugin-manager/submission-record-target.js +125 -0
- package/src/lib/plugin-manager/submission-record-target.js.map +1 -0
- package/src/lib/plugin-manager/video-embed-provider.d.ts +108 -0
- package/src/lib/plugin-manager/video-embed-provider.js +165 -0
- package/src/lib/plugin-manager/video-embed-provider.js.map +1 -0
- package/src/lib/types/nodes.d.ts +2 -2
- package/src/lib/types/nodes.js.map +1 -1
- package/src/lib/app-utils/campaign-attribution.js.map +0 -1
- package/src/lib/app-utils/campaign-forwarding.js.map +0 -1
- package/src/lib/app-utils/contact-holder.d.ts +0 -68
- package/src/lib/app-utils/contact-holder.js +0 -129
- package/src/lib/app-utils/contact-holder.js.map +0 -1
- package/src/lib/app-utils/contact-merge.d.ts +0 -136
- package/src/lib/app-utils/contact-merge.js +0 -412
- package/src/lib/app-utils/contact-merge.js.map +0 -1
- package/src/lib/app-utils/crm-csv.d.ts +0 -239
- package/src/lib/app-utils/crm-csv.js +0 -467
- package/src/lib/app-utils/crm-csv.js.map +0 -1
- package/src/lib/app-utils/crm-digest.d.ts +0 -185
- package/src/lib/app-utils/crm-digest.js +0 -272
- package/src/lib/app-utils/crm-digest.js.map +0 -1
- package/src/lib/app-utils/form-dataset-binding.d.ts +0 -50
- package/src/lib/app-utils/form-dataset-binding.js +0 -74
- package/src/lib/app-utils/form-dataset-binding.js.map +0 -1
- package/src/lib/app-utils/list-import.d.ts +0 -158
- package/src/lib/app-utils/list-import.js +0 -332
- package/src/lib/app-utils/list-import.js.map +0 -1
- package/src/lib/app-utils/marketplace-listing-visibility.d.ts +0 -122
- package/src/lib/app-utils/marketplace-listing-visibility.js +0 -147
- package/src/lib/app-utils/marketplace-listing-visibility.js.map +0 -1
- package/src/lib/app-utils/marketplace-overrides.js.map +0 -1
- package/src/lib/app-utils/marketplace-provenance.js.map +0 -1
- package/src/lib/app-utils/marketplace-theme.js.map +0 -1
- package/src/lib/app-utils/marketplace-update-state.d.ts +0 -119
- package/src/lib/app-utils/marketplace-update-state.js +0 -132
- package/src/lib/app-utils/marketplace-update-state.js.map +0 -1
- package/src/lib/app-utils/publisher-agreement.d.ts +0 -289
- package/src/lib/app-utils/publisher-agreement.js +0 -321
- package/src/lib/app-utils/publisher-agreement.js.map +0 -1
- package/src/lib/app-utils/wistia-embed.d.ts +0 -104
- package/src/lib/app-utils/wistia-embed.js +0 -138
- package/src/lib/app-utils/wistia-embed.js.map +0 -1
- package/src/lib/app-utils/workflows.d.ts +0 -136
- package/src/lib/app-utils/workflows.js +0 -346
- package/src/lib/app-utils/workflows.js.map +0 -1
- package/src/lib/plugin-manager/commerce-zone-props.d.ts +0 -172
- package/src/lib/plugin-manager/commerce-zone-props.js +0 -31
- package/src/lib/plugin-manager/commerce-zone-props.js.map +0 -1
|
@@ -1,239 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2026 Aglyn LLC
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
/**
|
|
18
|
-
* EVERY CRM CSV, WRITTEN ONCE (AGL-2662).
|
|
19
|
-
*
|
|
20
|
-
* ## Why these moved out of the plugin
|
|
21
|
-
*
|
|
22
|
-
* Each CRM section already wrote a file from the rows it had LOADED, and
|
|
23
|
-
* the whole-collection export writes the same file from the server over
|
|
24
|
-
* every row there is. The console app may not import a feature plugin —
|
|
25
|
-
* plugins reach an app only through the generated loader manifests — so a
|
|
26
|
-
* server route could not have called the plugin's writers, and writing a
|
|
27
|
-
* second set would have given one feature two file formats, discovered by
|
|
28
|
-
* whichever merchant opened both in a spreadsheet.
|
|
29
|
-
*
|
|
30
|
-
* So the columns and the cells live here, in the library both sides may
|
|
31
|
-
* import. The plugin's `contacts-csv.ts`, `companies-csv.ts`,
|
|
32
|
-
* `deals-csv.ts`, `tasks-csv.ts` and `leads-csv.ts` keep their names and
|
|
33
|
-
* delegate: the sections import what they always did, and there is one
|
|
34
|
-
* implementation under all of it. Their specs are unchanged and are the
|
|
35
|
-
* proof that the move changed no byte of any file.
|
|
36
|
-
*
|
|
37
|
-
* ## What a resolver is for, and what an absent one means
|
|
38
|
-
*
|
|
39
|
-
* A stored document holds ids — an owner uid, a pipeline id, a linked
|
|
40
|
-
* record id — and a spreadsheet cannot read an id. Each writer therefore
|
|
41
|
-
* takes optional resolvers, and every one of them degrades the same way:
|
|
42
|
-
* ABSENT resolver writes the id itself rather than an empty cell, because
|
|
43
|
-
* a row whose owner is a uid is still a row whose owner can be found, and
|
|
44
|
-
* a blank is a claim that nobody owns it.
|
|
45
|
-
*
|
|
46
|
-
* The owner columns carry an ADDRESS where they can, which is also what
|
|
47
|
-
* the contacts and companies imports resolve an owner by — so an exported
|
|
48
|
-
* file re-imports without a hand mapping.
|
|
49
|
-
*/
|
|
50
|
-
import type { AglynPostalAddress } from '../foundation';
|
|
51
|
-
import { type ContactCustomValue, type ContactFieldDefinition, type ContactLifecycleStage, type CrmCompany, type CrmLeadFields, type CrmTask } from './crm';
|
|
52
|
-
/** Cents as a major-unit decimal — `125000` → `1250.00`; `''` for none. */
|
|
53
|
-
export declare function csvAmount(cents: number | null | undefined): string;
|
|
54
|
-
/** An epoch as an ISO timestamp, or `''` for none. */
|
|
55
|
-
export declare function csvInstant(ms: number | null | undefined): string;
|
|
56
|
-
/**
|
|
57
|
-
* An epoch as a local calendar DATE — `YYYY-MM-DD`.
|
|
58
|
-
*
|
|
59
|
-
* For the fields that are a day rather than a moment: an expected close is
|
|
60
|
-
* stored at local noon precisely so the day survives a timezone round trip,
|
|
61
|
-
* and writing it as an instant would hand a spreadsheet a time nobody
|
|
62
|
-
* chose. The same arithmetic the deal drawer's date field uses, so the
|
|
63
|
-
* file and the field read one day.
|
|
64
|
-
*/
|
|
65
|
-
export declare function csvLocalDate(ms: number | null | undefined): string;
|
|
66
|
-
/** Epoch millis or a Firestore timestamp as an ISO instant, or `''`. */
|
|
67
|
-
export declare function csvStoredInstant(value: unknown): string;
|
|
68
|
-
/** As much of a projected contact row as the file reads. */
|
|
69
|
-
export interface ContactCsvRow {
|
|
70
|
-
email?: string;
|
|
71
|
-
name?: string;
|
|
72
|
-
phone?: string;
|
|
73
|
-
jobTitle?: string;
|
|
74
|
-
companyName?: string;
|
|
75
|
-
ownerUid?: string;
|
|
76
|
-
lifecycleStage?: ContactLifecycleStage | '';
|
|
77
|
-
address?: AglynPostalAddress | null;
|
|
78
|
-
tags?: string[];
|
|
79
|
-
sources?: Record<string, unknown>;
|
|
80
|
-
interactions?: Array<{
|
|
81
|
-
atMs: number;
|
|
82
|
-
}>;
|
|
83
|
-
/** The last open or click on one of the site's campaigns (AGL-2616). */
|
|
84
|
-
lastEmailEngagementAtMs?: number;
|
|
85
|
-
notes?: string;
|
|
86
|
-
/** This holder's custom values, keyed by definition key. */
|
|
87
|
-
custom?: Record<string, ContactCustomValue>;
|
|
88
|
-
}
|
|
89
|
-
export interface ContactCsvOptions {
|
|
90
|
-
/**
|
|
91
|
-
* The owner's address for a stored uid — what the import resolves an
|
|
92
|
-
* owner by. Absent, the uid is written as it is.
|
|
93
|
-
*/
|
|
94
|
-
ownerEmail?: (uid: string) => string;
|
|
95
|
-
/** The org's custom fields, one column each, headed by the field's label. */
|
|
96
|
-
customFields?: readonly Pick<ContactFieldDefinition, 'key' | 'label'>[];
|
|
97
|
-
}
|
|
98
|
-
/**
|
|
99
|
-
* The standard columns, in order, headed as the import reads them. A
|
|
100
|
-
* custom field's column follows these, headed by its label.
|
|
101
|
-
*/
|
|
102
|
-
export declare const CONTACT_CSV_COLUMNS: readonly ["Email", "Name", "Phone", "Job title", "Company", "Owner", "Lifecycle stage", "Address line 1", "Address line 2", "City", "State", "Postal code", "Country", "Tags", "Sources", "Last interaction", "Last engaged", "Notes"];
|
|
103
|
-
/** The header row, with one column per custom field after the standard ones. */
|
|
104
|
-
export declare function contactCsvHeader(customFields?: ContactCsvOptions['customFields']): string[];
|
|
105
|
-
/** One contact's cells, in the header's order. */
|
|
106
|
-
export declare function contactCsvCells(contact: ContactCsvRow, options?: ContactCsvOptions): unknown[];
|
|
107
|
-
/** The whole file, header first. */
|
|
108
|
-
export declare function contactsCsv(rows: readonly ContactCsvRow[], options?: ContactCsvOptions): string;
|
|
109
|
-
/** As much of a company row as the file reads. */
|
|
110
|
-
export type CompanyCsvRow = Partial<Pick<CrmCompany, 'name' | 'domain' | 'website' | 'phone' | 'industry' | 'ownerUid' | 'tags' | 'notes' | 'contactsCount'>> & {
|
|
111
|
-
address?: AglynPostalAddress | null;
|
|
112
|
-
};
|
|
113
|
-
export interface CompanyCsvOptions {
|
|
114
|
-
/** The owner's address for a stored uid; absent, the uid is written. */
|
|
115
|
-
ownerEmail?: (uid: string) => string;
|
|
116
|
-
}
|
|
117
|
-
/** The columns, in order, headed as the import reads them. */
|
|
118
|
-
export declare const COMPANY_CSV_COLUMNS: readonly ["Company", "Domain", "Website", "Phone", "Industry", "Owner", "Address line 1", "Address line 2", "City", "State", "Postal code", "Country", "Tags", "Notes", "Contacts"];
|
|
119
|
-
/** One company's cells, in the header's order. */
|
|
120
|
-
export declare function companyCsvCells(company: CompanyCsvRow, options?: CompanyCsvOptions): unknown[];
|
|
121
|
-
/** The whole file, header first. */
|
|
122
|
-
export declare function companiesCsv(rows: readonly CompanyCsvRow[], options?: CompanyCsvOptions): string;
|
|
123
|
-
/** The currency a deal with no code of its own is read in. */
|
|
124
|
-
export declare const CSV_DEFAULT_DEAL_CURRENCY = "usd";
|
|
125
|
-
/** How a deal's `status` reads in a file. */
|
|
126
|
-
export declare const CSV_DEAL_STATUS_LABELS: Record<string, string>;
|
|
127
|
-
/** As much of a deal row as the file reads. */
|
|
128
|
-
export interface DealCsvRow {
|
|
129
|
-
title?: string;
|
|
130
|
-
pipelineId?: string;
|
|
131
|
-
stageId?: string;
|
|
132
|
-
status?: string;
|
|
133
|
-
amountCents?: number;
|
|
134
|
-
currency?: string;
|
|
135
|
-
ownerUid?: string;
|
|
136
|
-
expectedCloseAtMs?: number | null;
|
|
137
|
-
closedAtMs?: number | null;
|
|
138
|
-
contactName?: string;
|
|
139
|
-
companyName?: string;
|
|
140
|
-
lostReason?: string;
|
|
141
|
-
notes?: string;
|
|
142
|
-
}
|
|
143
|
-
export interface DealCsvOptions {
|
|
144
|
-
/** The pipeline's name for a stored id; absent, the id is written. */
|
|
145
|
-
pipelineName?: (pipelineId: string) => string | undefined;
|
|
146
|
-
/** The stage's name within its pipeline; absent, the stage id is written. */
|
|
147
|
-
stageName?: (pipelineId: string, stageId: string) => string | undefined;
|
|
148
|
-
/** The owner's address for a stored uid; absent, the uid is written. */
|
|
149
|
-
ownerEmail?: (uid: string) => string;
|
|
150
|
-
}
|
|
151
|
-
export declare const DEAL_CSV_COLUMNS: readonly ["Title", "Pipeline", "Stage", "Amount", "Currency", "Owner", "Expected close", "Status", "Contact", "Company", "Closed", "Lost reason", "Notes"];
|
|
152
|
-
/** One deal's cells, in the header's order. */
|
|
153
|
-
export declare function dealCsvCells(deal: DealCsvRow, options?: DealCsvOptions): unknown[];
|
|
154
|
-
/** The whole file, header first. */
|
|
155
|
-
export declare function dealsCsv(rows: readonly DealCsvRow[], options?: DealCsvOptions): string;
|
|
156
|
-
/** As much of a task row as the file reads. */
|
|
157
|
-
export type TaskCsvRow = Partial<Pick<CrmTask, 'title' | 'kind' | 'priority' | 'status' | 'dueAtMs' | 'completedAtMs' | 'assigneeUid' | 'contactId' | 'companyId' | 'dealId' | 'notes'>>;
|
|
158
|
-
export interface TaskCsvOptions {
|
|
159
|
-
/** The assignee's address for a stored uid; absent, the uid is written. */
|
|
160
|
-
assigneeEmail?: (uid: string) => string;
|
|
161
|
-
/** What a linked record is called; absent, the id is written. */
|
|
162
|
-
recordName?: (kind: 'contact' | 'company' | 'deal', id: string) => string | undefined;
|
|
163
|
-
}
|
|
164
|
-
export declare const TASK_CSV_COLUMNS: readonly ["Title", "Kind", "Priority", "Status", "Due", "Assignee", "Contact", "Company", "Deal", "Completed", "Notes"];
|
|
165
|
-
/** One task's cells, in the header's order. */
|
|
166
|
-
export declare function taskCsvCells(task: TaskCsvRow, options?: TaskCsvOptions): unknown[];
|
|
167
|
-
/** The whole file, header first. */
|
|
168
|
-
export declare function tasksCsv(rows: readonly TaskCsvRow[], options?: TaskCsvOptions): string;
|
|
169
|
-
/** How one capture surface reads in a file. */
|
|
170
|
-
export declare function csvLeadSourceLabel(source: string): string;
|
|
171
|
-
/** Every surface that produced a capture — the array, or the older single field. */
|
|
172
|
-
export declare function csvLeadSources(lead: Record<string, unknown>): string[];
|
|
173
|
-
/** As much of a lead row as the file reads. */
|
|
174
|
-
export type LeadCsvRow = Record<string, unknown> & Pick<CrmLeadFields, 'status' | 'ownerUid' | 'notes' | 'unqualifiedReason' | 'convertedAtMs' | 'company' | 'jobTitle' | 'phone' | 'website' | 'address' | 'tags' | 'leadSource'> & {
|
|
175
|
-
/** The site the lead lives under — what the `Site` column names. */
|
|
176
|
-
hostId?: string;
|
|
177
|
-
};
|
|
178
|
-
export interface LeadCsvOptions {
|
|
179
|
-
/** The owner's address for a stored uid; absent, the uid is written. */
|
|
180
|
-
ownerEmail?: (uid: string) => string;
|
|
181
|
-
/**
|
|
182
|
-
* The site's name for a row's `hostId`. Given, the file carries a `Site`
|
|
183
|
-
* column — the organization-level file; absent, it does not.
|
|
184
|
-
*/
|
|
185
|
-
siteName?: (hostId: string) => string | undefined;
|
|
186
|
-
}
|
|
187
|
-
/**
|
|
188
|
-
* The columns every leads file carries, in the list's order.
|
|
189
|
-
*
|
|
190
|
-
* The lead's own profile (AGL-3231) — company, title, phone, website, the
|
|
191
|
-
* address parts, tags and the lead source — sits where the contacts file
|
|
192
|
-
* keeps the same facts, under the same headers, so one spreadsheet of
|
|
193
|
-
* people reads into either import with the same mapping.
|
|
194
|
-
*/
|
|
195
|
-
export declare const LEAD_CSV_COLUMNS: readonly ["Email", "Name", "Company", "Job title", "Phone", "Website", "Status", "Owner", "Lead source", "Sources", "First seen", "Last seen", "Captures", "Address line 1", "Address line 2", "City", "State", "Postal code", "Country", "Tags", "Unqualified reason", "Converted", "Notes"];
|
|
196
|
-
/** The header row: the standard columns, with `Site` after `Owner` at the org level. */
|
|
197
|
-
export declare function leadCsvHeader(options?: LeadCsvOptions): string[];
|
|
198
|
-
/** One lead's cells, in the header's order. */
|
|
199
|
-
export declare function leadCsvCells(lead: LeadCsvRow, options?: LeadCsvOptions): unknown[];
|
|
200
|
-
/** The whole file, header first. */
|
|
201
|
-
export declare function leadsCsv(rows: readonly LeadCsvRow[], options?: LeadCsvOptions): string;
|
|
202
|
-
/** The five tables a whole-collection export can be asked for. */
|
|
203
|
-
export declare const CRM_EXPORT_RESOURCES: readonly ["contacts", "companies", "deals", "tasks", "leads"];
|
|
204
|
-
export type CrmExportResource = (typeof CRM_EXPORT_RESOURCES)[number];
|
|
205
|
-
export declare function isCrmExportResource(value: unknown): value is CrmExportResource;
|
|
206
|
-
/** Every resolver any of the five writers takes, in one bag. */
|
|
207
|
-
export type CrmExportOptions = ContactCsvOptions & DealCsvOptions & TaskCsvOptions & LeadCsvOptions & {
|
|
208
|
-
assigneeEmail?: (uid: string) => string;
|
|
209
|
-
};
|
|
210
|
-
/** The header row one resource's file carries. */
|
|
211
|
-
export declare function crmExportHeader(resource: CrmExportResource, options?: CrmExportOptions): string[];
|
|
212
|
-
/**
|
|
213
|
-
* One stored document's cells for one resource's file.
|
|
214
|
-
*
|
|
215
|
-
* The bridge the server route stands on: it holds a raw document rather
|
|
216
|
-
* than the projected row a list built, and this is the one place that
|
|
217
|
-
* turns the first into the second — so the streamed file and the file the
|
|
218
|
-
* Export button writes are the same columns filled the same way.
|
|
219
|
-
*/
|
|
220
|
-
export declare function crmExportCells(resource: CrmExportResource, document: Record<string, unknown>, options?: CrmExportOptions): unknown[];
|
|
221
|
-
/** What the contacts file needs to know about the holder it is written for. */
|
|
222
|
-
export interface CrmExportContactHolder {
|
|
223
|
-
/** The consent group whose facet the file reads — a facet is per holder. */
|
|
224
|
-
groupId: string;
|
|
225
|
-
/** The sites in that group, which bound the timeline the file reads. */
|
|
226
|
-
hostIds: readonly string[];
|
|
227
|
-
}
|
|
228
|
-
/**
|
|
229
|
-
* A stored contact document as the contacts file reads it.
|
|
230
|
-
*
|
|
231
|
-
* The projection the Contacts list makes before it writes its own file,
|
|
232
|
-
* spelled here so the server can make the same one: a contact document
|
|
233
|
-
* holds one facet per HOLDER, and every field the file writes but the
|
|
234
|
-
* address itself — the phone, the company, the tags, the notes, the
|
|
235
|
-
* lifecycle stage, the custom values — lives in the viewing holder's facet.
|
|
236
|
-
* Reading them off the top of the document is how one business's file ends
|
|
237
|
-
* up carrying another's notes.
|
|
238
|
-
*/
|
|
239
|
-
export declare function contactCsvRowFromDoc(document: Record<string, unknown>, holder: CrmExportContactHolder): ContactCsvRow;
|