@lssm/lib.contracts-integrations 9.0.1
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/LICENSE +21 -0
- package/README.md +536 -0
- package/dist/contracts-integrations.feature.d.ts +1 -0
- package/dist/contracts-integrations.feature.js +2 -0
- package/dist/index.d.ts +25 -0
- package/dist/index.js +22 -0
- package/dist/integrations/advertising/index.d.ts +4 -0
- package/dist/integrations/advertising/index.js +2 -0
- package/dist/integrations/advertising/recipe-schema.d.ts +114 -0
- package/dist/integrations/advertising/recipe-schema.js +2 -0
- package/dist/integrations/advertising/recipe.d.ts +53 -0
- package/dist/integrations/advertising/recipe.js +1 -0
- package/dist/integrations/advertising/specs.d.ts +5 -0
- package/dist/integrations/advertising/specs.js +2 -0
- package/dist/integrations/advertising/types.d.ts +97 -0
- package/dist/integrations/advertising/types.js +2 -0
- package/dist/integrations/attio/events.d.ts +4 -0
- package/dist/integrations/attio/events.js +2 -0
- package/dist/integrations/attio/events.test.d.ts +1 -0
- package/dist/integrations/attio/index.d.ts +2 -0
- package/dist/integrations/attio/index.js +2 -0
- package/dist/integrations/attio/operations.d.ts +4 -0
- package/dist/integrations/attio/operations.js +2 -0
- package/dist/integrations/attio/operations.test.d.ts +1 -0
- package/dist/integrations/auth-helpers.d.ts +58 -0
- package/dist/integrations/auth-helpers.js +2 -0
- package/dist/integrations/auth-helpers.test.d.ts +1 -0
- package/dist/integrations/auth.d.ts +96 -0
- package/dist/integrations/auth.js +2 -0
- package/dist/integrations/auth.test.d.ts +1 -0
- package/dist/integrations/binding.d.ts +1 -0
- package/dist/integrations/binding.js +1 -0
- package/dist/integrations/byok.d.ts +75 -0
- package/dist/integrations/byok.js +2 -0
- package/dist/integrations/byok.test.d.ts +1 -0
- package/dist/integrations/catalog.d.ts +84 -0
- package/dist/integrations/catalog.js +2 -0
- package/dist/integrations/catalog.test.d.ts +1 -0
- package/dist/integrations/clay/events.d.ts +93 -0
- package/dist/integrations/clay/events.js +2 -0
- package/dist/integrations/clay/events.test.d.ts +1 -0
- package/dist/integrations/clay/index.d.ts +2 -0
- package/dist/integrations/clay/index.js +2 -0
- package/dist/integrations/clay/operations.d.ts +4 -0
- package/dist/integrations/clay/operations.js +2 -0
- package/dist/integrations/clay/operations.test.d.ts +1 -0
- package/dist/integrations/connection.d.ts +68 -0
- package/dist/integrations/connection.js +1 -0
- package/dist/integrations/credentials.d.ts +56 -0
- package/dist/integrations/credentials.js +2 -0
- package/dist/integrations/credentials.test.d.ts +1 -0
- package/dist/integrations/deployment-topology-model.d.ts +75 -0
- package/dist/integrations/deployment-topology-model.js +2 -0
- package/dist/integrations/deployment-topology-receipt.d.ts +8 -0
- package/dist/integrations/deployment-topology-receipt.js +2 -0
- package/dist/integrations/deployment-topology-validation.d.ts +5 -0
- package/dist/integrations/deployment-topology-validation.js +2 -0
- package/dist/integrations/deployment-topology.d.ts +3 -0
- package/dist/integrations/deployment-topology.js +2 -0
- package/dist/integrations/deployment-topology.test.d.ts +1 -0
- package/dist/integrations/docs/integrations.docblock.d.ts +2 -0
- package/dist/integrations/docs/integrations.docblock.js +101 -0
- package/dist/integrations/email-operations.d.ts +152 -0
- package/dist/integrations/email-operations.js +2 -0
- package/dist/integrations/gtm/capability-ledger.d.ts +48 -0
- package/dist/integrations/gtm/capability-ledger.fixture-helpers.d.ts +9 -0
- package/dist/integrations/gtm/capability-ledger.fixture-helpers.js +2 -0
- package/dist/integrations/gtm/capability-ledger.fixtures.d.ts +5 -0
- package/dist/integrations/gtm/capability-ledger.fixtures.js +2 -0
- package/dist/integrations/gtm/capability-ledger.js +2 -0
- package/dist/integrations/gtm/capability-ledger.test.d.ts +1 -0
- package/dist/integrations/gtm/hosted-mcp.d.ts +12 -0
- package/dist/integrations/gtm/hosted-mcp.js +2 -0
- package/dist/integrations/gtm/index.d.ts +5 -0
- package/dist/integrations/gtm/index.js +2 -0
- package/dist/integrations/gtm/inventory/attio.d.ts +2 -0
- package/dist/integrations/gtm/inventory/attio.js +2 -0
- package/dist/integrations/gtm/inventory/clay.d.ts +2 -0
- package/dist/integrations/gtm/inventory/clay.js +2 -0
- package/dist/integrations/gtm/inventory/fullenrich.d.ts +2 -0
- package/dist/integrations/gtm/inventory/fullenrich.js +2 -0
- package/dist/integrations/gtm/inventory/index.d.ts +4 -0
- package/dist/integrations/gtm/inventory/index.js +2 -0
- package/dist/integrations/gtm/inventory/inventory.test.d.ts +1 -0
- package/dist/integrations/gtm/inventory/types.d.ts +26 -0
- package/dist/integrations/gtm/inventory/types.js +1 -0
- package/dist/integrations/gtm/preflight.d.ts +20 -0
- package/dist/integrations/gtm/preflight.js +2 -0
- package/dist/integrations/gtm/preflight.test.d.ts +1 -0
- package/dist/integrations/gtm/schemas.d.ts +291 -0
- package/dist/integrations/gtm/schemas.js +2 -0
- package/dist/integrations/gtm/webhook-ingress.d.ts +37 -0
- package/dist/integrations/gtm/webhook-ingress.js +2 -0
- package/dist/integrations/gtm/webhook-ingress.test.d.ts +1 -0
- package/dist/integrations/health/contracts/activities.d.ts +162 -0
- package/dist/integrations/health/contracts/activities.js +2 -0
- package/dist/integrations/health/contracts/biometrics.d.ts +156 -0
- package/dist/integrations/health/contracts/biometrics.js +2 -0
- package/dist/integrations/health/contracts/contracts.test.d.ts +1 -0
- package/dist/integrations/health/contracts/index.d.ts +10 -0
- package/dist/integrations/health/contracts/index.js +2 -0
- package/dist/integrations/health/contracts/nutrition.d.ts +162 -0
- package/dist/integrations/health/contracts/nutrition.js +2 -0
- package/dist/integrations/health/contracts/sleep.d.ts +166 -0
- package/dist/integrations/health/contracts/sleep.js +2 -0
- package/dist/integrations/health/contracts/webhooks.d.ts +73 -0
- package/dist/integrations/health/contracts/webhooks.js +2 -0
- package/dist/integrations/health/contracts/workouts.d.ts +166 -0
- package/dist/integrations/health/contracts/workouts.js +2 -0
- package/dist/integrations/health/guards.d.ts +8 -0
- package/dist/integrations/health/guards.js +2 -0
- package/dist/integrations/health/guards.test.d.ts +1 -0
- package/dist/integrations/health/health.capability.d.ts +1 -0
- package/dist/integrations/health/health.capability.js +2 -0
- package/dist/integrations/health/health.feature.d.ts +1 -0
- package/dist/integrations/health/health.feature.js +2 -0
- package/dist/integrations/health/models.d.ts +361 -0
- package/dist/integrations/health/models.js +2 -0
- package/dist/integrations/health/telemetry.d.ts +17 -0
- package/dist/integrations/health/telemetry.js +2 -0
- package/dist/integrations/health/telemetry.test.d.ts +1 -0
- package/dist/integrations/health.d.ts +17 -0
- package/dist/integrations/health.js +2 -0
- package/dist/integrations/health.test.d.ts +1 -0
- package/dist/integrations/index.d.ts +30 -0
- package/dist/integrations/index.js +22 -0
- package/dist/integrations/integrations.capability.d.ts +1 -0
- package/dist/integrations/integrations.capability.js +2 -0
- package/dist/integrations/integrations.feature.d.ts +5 -0
- package/dist/integrations/integrations.feature.js +2 -0
- package/dist/integrations/linkedin/advertising.d.ts +52 -0
- package/dist/integrations/linkedin/advertising.js +1 -0
- package/dist/integrations/linkedin/analytics.d.ts +25 -0
- package/dist/integrations/linkedin/analytics.js +1 -0
- package/dist/integrations/linkedin/capabilities.d.ts +54 -0
- package/dist/integrations/linkedin/capabilities.js +2 -0
- package/dist/integrations/linkedin/capability-evaluation.test.d.ts +1 -0
- package/dist/integrations/linkedin/community.d.ts +77 -0
- package/dist/integrations/linkedin/community.js +1 -0
- package/dist/integrations/linkedin/credentials.d.ts +17 -0
- package/dist/integrations/linkedin/credentials.js +2 -0
- package/dist/integrations/linkedin/host.d.ts +53 -0
- package/dist/integrations/linkedin/host.js +2 -0
- package/dist/integrations/linkedin/host.test.d.ts +1 -0
- package/dist/integrations/linkedin/identity.d.ts +29 -0
- package/dist/integrations/linkedin/identity.js +1 -0
- package/dist/integrations/linkedin/index.d.ts +16 -0
- package/dist/integrations/linkedin/index.js +2 -0
- package/dist/integrations/linkedin/installation.d.ts +54 -0
- package/dist/integrations/linkedin/installation.js +2 -0
- package/dist/integrations/linkedin/linkedin.test.d.ts +1 -0
- package/dist/integrations/linkedin/media-job-state.d.ts +70 -0
- package/dist/integrations/linkedin/media-job-state.js +2 -0
- package/dist/integrations/linkedin/media-job.d.ts +88 -0
- package/dist/integrations/linkedin/media-job.js +2 -0
- package/dist/integrations/linkedin/media-session.d.ts +37 -0
- package/dist/integrations/linkedin/media-session.js +2 -0
- package/dist/integrations/linkedin/media.d.ts +51 -0
- package/dist/integrations/linkedin/media.js +2 -0
- package/dist/integrations/linkedin/messaging.d.ts +70 -0
- package/dist/integrations/linkedin/messaging.js +1 -0
- package/dist/integrations/linkedin/models.d.ts +42 -0
- package/dist/integrations/linkedin/models.js +1 -0
- package/dist/integrations/linkedin/native-publication.d.ts +43 -0
- package/dist/integrations/linkedin/native-publication.js +2 -0
- package/dist/integrations/linkedin/native-withdrawal.d.ts +12 -0
- package/dist/integrations/linkedin/native-withdrawal.js +2 -0
- package/dist/integrations/linkedin/operation-catalog.d.ts +314 -0
- package/dist/integrations/linkedin/operation-catalog.js +2 -0
- package/dist/integrations/linkedin/operations.d.ts +66 -0
- package/dist/integrations/linkedin/operations.js +2 -0
- package/dist/integrations/linkedin/provider.d.ts +72 -0
- package/dist/integrations/linkedin/provider.js +2 -0
- package/dist/integrations/linkedin/sales.d.ts +57 -0
- package/dist/integrations/linkedin/sales.js +1 -0
- package/dist/integrations/linkedin/sync.d.ts +41 -0
- package/dist/integrations/linkedin/sync.js +1 -0
- package/dist/integrations/linkedin/webhooks.d.ts +38 -0
- package/dist/integrations/linkedin/webhooks.js +1 -0
- package/dist/integrations/meeting-recorder/contracts/index.d.ts +7 -0
- package/dist/integrations/meeting-recorder/contracts/index.js +2 -0
- package/dist/integrations/meeting-recorder/contracts/meetings.d.ts +451 -0
- package/dist/integrations/meeting-recorder/contracts/meetings.js +2 -0
- package/dist/integrations/meeting-recorder/contracts/transcripts.d.ts +166 -0
- package/dist/integrations/meeting-recorder/contracts/transcripts.js +2 -0
- package/dist/integrations/meeting-recorder/contracts/webhooks.d.ts +85 -0
- package/dist/integrations/meeting-recorder/contracts/webhooks.js +2 -0
- package/dist/integrations/meeting-recorder/meeting-recorder.capability.d.ts +1 -0
- package/dist/integrations/meeting-recorder/meeting-recorder.capability.js +2 -0
- package/dist/integrations/meeting-recorder/meeting-recorder.feature.d.ts +5 -0
- package/dist/integrations/meeting-recorder/meeting-recorder.feature.js +2 -0
- package/dist/integrations/meeting-recorder/models.d.ts +402 -0
- package/dist/integrations/meeting-recorder/models.js +2 -0
- package/dist/integrations/meeting-recorder/telemetry.d.ts +13 -0
- package/dist/integrations/meeting-recorder/telemetry.js +2 -0
- package/dist/integrations/openbanking/contracts/accounts.d.ts +282 -0
- package/dist/integrations/openbanking/contracts/accounts.js +2 -0
- package/dist/integrations/openbanking/contracts/balances.d.ts +158 -0
- package/dist/integrations/openbanking/contracts/balances.js +2 -0
- package/dist/integrations/openbanking/contracts/index.d.ts +7 -0
- package/dist/integrations/openbanking/contracts/index.js +2 -0
- package/dist/integrations/openbanking/contracts/transactions.d.ts +206 -0
- package/dist/integrations/openbanking/contracts/transactions.js +2 -0
- package/dist/integrations/openbanking/guards.d.ts +8 -0
- package/dist/integrations/openbanking/guards.js +2 -0
- package/dist/integrations/openbanking/guards.test.d.ts +1 -0
- package/dist/integrations/openbanking/models.d.ts +223 -0
- package/dist/integrations/openbanking/models.js +2 -0
- package/dist/integrations/openbanking/openbanking.capability.d.ts +1 -0
- package/dist/integrations/openbanking/openbanking.capability.js +2 -0
- package/dist/integrations/openbanking/openbanking.feature.d.ts +5 -0
- package/dist/integrations/openbanking/openbanking.feature.js +2 -0
- package/dist/integrations/openbanking/telemetry.d.ts +12 -0
- package/dist/integrations/openbanking/telemetry.js +2 -0
- package/dist/integrations/operations.d.ts +430 -0
- package/dist/integrations/operations.js +22 -0
- package/dist/integrations/operations.test.d.ts +1 -0
- package/dist/integrations/providers/analytics-reader.d.ts +103 -0
- package/dist/integrations/providers/analytics-reader.js +1 -0
- package/dist/integrations/providers/analytics-writer.d.ts +6 -0
- package/dist/integrations/providers/analytics-writer.js +1 -0
- package/dist/integrations/providers/analytics.d.ts +47 -0
- package/dist/integrations/providers/analytics.js +1 -0
- package/dist/integrations/providers/apify.d.ts +3 -0
- package/dist/integrations/providers/apify.js +2 -0
- package/dist/integrations/providers/apple-health.d.ts +3 -0
- package/dist/integrations/providers/apple-health.js +2 -0
- package/dist/integrations/providers/async-media-record.d.ts +26 -0
- package/dist/integrations/providers/async-media-record.js +2 -0
- package/dist/integrations/providers/async-media.d.ts +112 -0
- package/dist/integrations/providers/async-media.js +1 -0
- package/dist/integrations/providers/attio.d.ts +4 -0
- package/dist/integrations/providers/attio.js +2 -0
- package/dist/integrations/providers/bright-data.d.ts +3 -0
- package/dist/integrations/providers/bright-data.js +2 -0
- package/dist/integrations/providers/browserbase.d.ts +3 -0
- package/dist/integrations/providers/browserbase.js +2 -0
- package/dist/integrations/providers/calendar.d.js +1 -0
- package/dist/integrations/providers/calendar.d.ts +81 -0
- package/dist/integrations/providers/calendar.js +1 -0
- package/dist/integrations/providers/catalog.d.ts +2 -0
- package/dist/integrations/providers/catalog.js +2 -0
- package/dist/integrations/providers/clay.d.ts +4 -0
- package/dist/integrations/providers/clay.js +2 -0
- package/dist/integrations/providers/communication-channel.d.ts +45 -0
- package/dist/integrations/providers/communication-channel.js +2 -0
- package/dist/integrations/providers/communication-channel.test.d.ts +1 -0
- package/dist/integrations/providers/composio.d.ts +3 -0
- package/dist/integrations/providers/composio.js +2 -0
- package/dist/integrations/providers/crm-external-profiles.test.d.ts +1 -0
- package/dist/integrations/providers/crm-fixture-core.d.ts +20 -0
- package/dist/integrations/providers/crm-fixture-core.js +2 -0
- package/dist/integrations/providers/crm-hubspot-fixture.d.ts +14 -0
- package/dist/integrations/providers/crm-hubspot-fixture.js +2 -0
- package/dist/integrations/providers/crm-salesforce-fixture.d.ts +17 -0
- package/dist/integrations/providers/crm-salesforce-fixture.js +2 -0
- package/dist/integrations/providers/crm-write-proposal-types.d.ts +83 -0
- package/dist/integrations/providers/crm-write-proposal-types.js +2 -0
- package/dist/integrations/providers/crm-write-proposal.d.ts +7 -0
- package/dist/integrations/providers/crm-write-proposal.js +2 -0
- package/dist/integrations/providers/crm-write-proposal.test.d.ts +1 -0
- package/dist/integrations/providers/crm.d.ts +94 -0
- package/dist/integrations/providers/crm.js +2 -0
- package/dist/integrations/providers/crm.test.d.ts +1 -0
- package/dist/integrations/providers/database.d.ts +12 -0
- package/dist/integrations/providers/database.js +1 -0
- package/dist/integrations/providers/deepgram.d.ts +3 -0
- package/dist/integrations/providers/deepgram.js +2 -0
- package/dist/integrations/providers/direct-fetch.d.ts +3 -0
- package/dist/integrations/providers/direct-fetch.js +2 -0
- package/dist/integrations/providers/eightsleep.d.ts +3 -0
- package/dist/integrations/providers/eightsleep.js +2 -0
- package/dist/integrations/providers/elevenlabs.d.ts +3 -0
- package/dist/integrations/providers/elevenlabs.js +2 -0
- package/dist/integrations/providers/email-delivery-events.d.ts +22 -0
- package/dist/integrations/providers/email-delivery-events.js +1 -0
- package/dist/integrations/providers/email.d.ts +187 -0
- package/dist/integrations/providers/email.js +1 -0
- package/dist/integrations/providers/embedding.d.ts +52 -0
- package/dist/integrations/providers/embedding.js +1 -0
- package/dist/integrations/providers/embedding.test.d.ts +1 -0
- package/dist/integrations/providers/fal-image.d.ts +3 -0
- package/dist/integrations/providers/fal-image.js +2 -0
- package/dist/integrations/providers/fal.d.ts +3 -0
- package/dist/integrations/providers/fal.js +2 -0
- package/dist/integrations/providers/fathom.d.ts +3 -0
- package/dist/integrations/providers/fathom.js +2 -0
- package/dist/integrations/providers/firecrawl.d.ts +3 -0
- package/dist/integrations/providers/firecrawl.js +2 -0
- package/dist/integrations/providers/fireflies.d.ts +3 -0
- package/dist/integrations/providers/fireflies.js +2 -0
- package/dist/integrations/providers/fitbit.d.ts +3 -0
- package/dist/integrations/providers/fitbit.js +2 -0
- package/dist/integrations/providers/fullenrich.d.ts +3 -0
- package/dist/integrations/providers/fullenrich.js +2 -0
- package/dist/integrations/providers/garmin.d.ts +3 -0
- package/dist/integrations/providers/garmin.js +2 -0
- package/dist/integrations/providers/gcs-storage.d.ts +3 -0
- package/dist/integrations/providers/gcs-storage.js +2 -0
- package/dist/integrations/providers/gmail.d.ts +3 -0
- package/dist/integrations/providers/gmail.js +2 -0
- package/dist/integrations/providers/google-calendar.d.ts +3 -0
- package/dist/integrations/providers/google-calendar.js +2 -0
- package/dist/integrations/providers/google-drive.d.ts +54 -0
- package/dist/integrations/providers/google-drive.js +2 -0
- package/dist/integrations/providers/gradium.d.ts +3 -0
- package/dist/integrations/providers/gradium.js +2 -0
- package/dist/integrations/providers/granola.d.ts +3 -0
- package/dist/integrations/providers/granola.js +2 -0
- package/dist/integrations/providers/gtm-providers.test.d.ts +1 -0
- package/dist/integrations/providers/health-provider-shared.d.ts +28 -0
- package/dist/integrations/providers/health-provider-shared.js +2 -0
- package/dist/integrations/providers/health-providers.test.d.ts +1 -0
- package/dist/integrations/providers/health.d.ts +186 -0
- package/dist/integrations/providers/health.js +1 -0
- package/dist/integrations/providers/higgsfield.d.ts +3 -0
- package/dist/integrations/providers/higgsfield.js +2 -0
- package/dist/integrations/providers/image.d.ts +85 -0
- package/dist/integrations/providers/image.js +2 -0
- package/dist/integrations/providers/index.d.ts +101 -0
- package/dist/integrations/providers/index.js +2 -0
- package/dist/integrations/providers/jira.d.ts +3 -0
- package/dist/integrations/providers/jira.js +2 -0
- package/dist/integrations/providers/linear.d.ts +3 -0
- package/dist/integrations/providers/linear.js +2 -0
- package/dist/integrations/providers/linkedin-community.d.ts +3 -0
- package/dist/integrations/providers/linkedin-community.js +2 -0
- package/dist/integrations/providers/linkedin-marketing.d.ts +3 -0
- package/dist/integrations/providers/linkedin-marketing.js +2 -0
- package/dist/integrations/providers/linkedin-member.d.ts +3 -0
- package/dist/integrations/providers/linkedin-member.js +2 -0
- package/dist/integrations/providers/linkedin-messaging.d.ts +3 -0
- package/dist/integrations/providers/linkedin-messaging.js +2 -0
- package/dist/integrations/providers/linkedin-providers.test.d.ts +1 -0
- package/dist/integrations/providers/linkedin-sales-navigator.d.ts +3 -0
- package/dist/integrations/providers/linkedin-sales-navigator.js +2 -0
- package/dist/integrations/providers/linkedin-spec-shared.d.ts +16 -0
- package/dist/integrations/providers/linkedin-spec-shared.js +2 -0
- package/dist/integrations/providers/linkup.d.ts +3 -0
- package/dist/integrations/providers/linkup.js +2 -0
- package/dist/integrations/providers/llm.d.ts +79 -0
- package/dist/integrations/providers/llm.js +1 -0
- package/dist/integrations/providers/massive.d.ts +5 -0
- package/dist/integrations/providers/massive.js +2 -0
- package/dist/integrations/providers/meeting-capture.d.ts +56 -0
- package/dist/integrations/providers/meeting-capture.js +1 -0
- package/dist/integrations/providers/meeting-recorder.d.ts +129 -0
- package/dist/integrations/providers/meeting-recorder.js +1 -0
- package/dist/integrations/providers/messaging-github.d.ts +9 -0
- package/dist/integrations/providers/messaging-github.js +2 -0
- package/dist/integrations/providers/messaging-matrix.d.ts +3 -0
- package/dist/integrations/providers/messaging-matrix.js +2 -0
- package/dist/integrations/providers/messaging-slack.d.ts +9 -0
- package/dist/integrations/providers/messaging-slack.js +2 -0
- package/dist/integrations/providers/messaging-teams.d.ts +10 -0
- package/dist/integrations/providers/messaging-teams.js +2 -0
- package/dist/integrations/providers/messaging-telegram.d.ts +3 -0
- package/dist/integrations/providers/messaging-telegram.js +2 -0
- package/dist/integrations/providers/messaging-whatsapp-meta.d.ts +3 -0
- package/dist/integrations/providers/messaging-whatsapp-meta.js +2 -0
- package/dist/integrations/providers/messaging-whatsapp-twilio.d.ts +3 -0
- package/dist/integrations/providers/messaging-whatsapp-twilio.js +2 -0
- package/dist/integrations/providers/messaging.d.ts +30 -0
- package/dist/integrations/providers/messaging.js +1 -0
- package/dist/integrations/providers/mistral-conversational.d.ts +3 -0
- package/dist/integrations/providers/mistral-conversational.js +2 -0
- package/dist/integrations/providers/mistral-stt.d.ts +3 -0
- package/dist/integrations/providers/mistral-stt.js +2 -0
- package/dist/integrations/providers/mistral.d.ts +3 -0
- package/dist/integrations/providers/mistral.js +2 -0
- package/dist/integrations/providers/mode-exemptions.d.ts +10 -0
- package/dist/integrations/providers/mode-exemptions.js +2 -0
- package/dist/integrations/providers/myfitnesspal.d.ts +3 -0
- package/dist/integrations/providers/myfitnesspal.js +2 -0
- package/dist/integrations/providers/notion.d.ts +9 -0
- package/dist/integrations/providers/notion.js +2 -0
- package/dist/integrations/providers/openai-image.d.ts +3 -0
- package/dist/integrations/providers/openai-image.js +2 -0
- package/dist/integrations/providers/openai-realtime.d.ts +3 -0
- package/dist/integrations/providers/openai-realtime.js +2 -0
- package/dist/integrations/providers/openbanking.d.ts +125 -0
- package/dist/integrations/providers/openbanking.js +1 -0
- package/dist/integrations/providers/openwearables.d.ts +3 -0
- package/dist/integrations/providers/openwearables.js +2 -0
- package/dist/integrations/providers/oura.d.ts +3 -0
- package/dist/integrations/providers/oura.js +2 -0
- package/dist/integrations/providers/oxylabs.d.ts +3 -0
- package/dist/integrations/providers/oxylabs.js +2 -0
- package/dist/integrations/providers/payments/capabilities-billing.d.ts +67 -0
- package/dist/integrations/providers/payments/capabilities-billing.js +1 -0
- package/dist/integrations/providers/payments/capabilities-payments.d.ts +57 -0
- package/dist/integrations/providers/payments/capabilities-payments.js +1 -0
- package/dist/integrations/providers/payments/capabilities.d.ts +2 -0
- package/dist/integrations/providers/payments/capabilities.js +1 -0
- package/dist/integrations/providers/payments/context.d.ts +75 -0
- package/dist/integrations/providers/payments/context.js +2 -0
- package/dist/integrations/providers/payments/provider.d.ts +22 -0
- package/dist/integrations/providers/payments/provider.js +1 -0
- package/dist/integrations/providers/payments/resources.d.ts +97 -0
- package/dist/integrations/providers/payments/resources.js +1 -0
- package/dist/integrations/providers/payments/shared.d.ts +61 -0
- package/dist/integrations/providers/payments/shared.js +2 -0
- package/dist/integrations/providers/payments.d.ts +5 -0
- package/dist/integrations/providers/payments.js +2 -0
- package/dist/integrations/providers/payments.test.d.ts +1 -0
- package/dist/integrations/providers/paypal.d.ts +3 -0
- package/dist/integrations/providers/paypal.js +2 -0
- package/dist/integrations/providers/peloton.d.ts +3 -0
- package/dist/integrations/providers/peloton.js +2 -0
- package/dist/integrations/providers/posthog-llm-telemetry.d.ts +51 -0
- package/dist/integrations/providers/posthog-llm-telemetry.js +2 -0
- package/dist/integrations/providers/posthog.d.ts +3 -0
- package/dist/integrations/providers/posthog.js +2 -0
- package/dist/integrations/providers/postmark.d.ts +3 -0
- package/dist/integrations/providers/postmark.js +2 -0
- package/dist/integrations/providers/powens.d.ts +3 -0
- package/dist/integrations/providers/powens.js +2 -0
- package/dist/integrations/providers/project-management.d.ts +196 -0
- package/dist/integrations/providers/project-management.js +2 -0
- package/dist/integrations/providers/provider-delta.d.ts +45 -0
- package/dist/integrations/providers/provider-delta.js +2 -0
- package/dist/integrations/providers/provider-delta.test.d.ts +1 -0
- package/dist/integrations/providers/provider-modes-coverage.test.d.ts +1 -0
- package/dist/integrations/providers/providers.test.d.ts +1 -0
- package/dist/integrations/providers/qdrant.d.ts +3 -0
- package/dist/integrations/providers/qdrant.js +2 -0
- package/dist/integrations/providers/registry.d.ts +24 -0
- package/dist/integrations/providers/registry.js +2 -0
- package/dist/integrations/providers/reworkd.d.ts +3 -0
- package/dist/integrations/providers/reworkd.js +2 -0
- package/dist/integrations/providers/serper.d.ts +3 -0
- package/dist/integrations/providers/serper.js +2 -0
- package/dist/integrations/providers/sillage.d.ts +4 -0
- package/dist/integrations/providers/sillage.js +2 -0
- package/dist/integrations/providers/slng.d.ts +3 -0
- package/dist/integrations/providers/slng.js +2 -0
- package/dist/integrations/providers/sms.d.ts +31 -0
- package/dist/integrations/providers/sms.js +1 -0
- package/dist/integrations/providers/social.d.ts +8 -0
- package/dist/integrations/providers/social.js +2 -0
- package/dist/integrations/providers/storage.d.ts +65 -0
- package/dist/integrations/providers/storage.js +1 -0
- package/dist/integrations/providers/strava.d.ts +3 -0
- package/dist/integrations/providers/strava.js +2 -0
- package/dist/integrations/providers/stripe.d.ts +3 -0
- package/dist/integrations/providers/stripe.js +2 -0
- package/dist/integrations/providers/supabase-postgres.d.ts +3 -0
- package/dist/integrations/providers/supabase-postgres.js +2 -0
- package/dist/integrations/providers/supabase-vector.d.ts +3 -0
- package/dist/integrations/providers/supabase-vector.js +2 -0
- package/dist/integrations/providers/tavily.d.ts +8 -0
- package/dist/integrations/providers/tavily.js +2 -0
- package/dist/integrations/providers/tldv.d.ts +3 -0
- package/dist/integrations/providers/tldv.js +2 -0
- package/dist/integrations/providers/twilio-sms.d.ts +3 -0
- package/dist/integrations/providers/twilio-sms.js +2 -0
- package/dist/integrations/providers/vector-store.d.ts +39 -0
- package/dist/integrations/providers/vector-store.js +1 -0
- package/dist/integrations/providers/video.d.ts +181 -0
- package/dist/integrations/providers/video.js +2 -0
- package/dist/integrations/providers/voice-video-sync.d.ts +29 -0
- package/dist/integrations/providers/voice-video-sync.js +1 -0
- package/dist/integrations/providers/voice.d.ts +180 -0
- package/dist/integrations/providers/voice.js +1 -0
- package/dist/integrations/providers/web-access-shared.d.ts +18 -0
- package/dist/integrations/providers/web-access-shared.js +2 -0
- package/dist/integrations/providers/whoop.d.ts +3 -0
- package/dist/integrations/providers/whoop.js +2 -0
- package/dist/integrations/runtime-transport.test.d.ts +1 -0
- package/dist/integrations/runtime.d.ts +140 -0
- package/dist/integrations/runtime.js +2 -0
- package/dist/integrations/runtime.test.d.ts +1 -0
- package/dist/integrations/sales-intelligence/events.d.ts +182 -0
- package/dist/integrations/sales-intelligence/events.js +2 -0
- package/dist/integrations/sales-intelligence/events.test.d.ts +1 -0
- package/dist/integrations/sales-intelligence/fullenrich-cancel-operation.d.ts +39 -0
- package/dist/integrations/sales-intelligence/fullenrich-cancel-operation.js +2 -0
- package/dist/integrations/sales-intelligence/index.d.ts +7 -0
- package/dist/integrations/sales-intelligence/index.js +2 -0
- package/dist/integrations/sales-intelligence/operation-helpers.d.ts +4 -0
- package/dist/integrations/sales-intelligence/operation-helpers.js +2 -0
- package/dist/integrations/sales-intelligence/operations.d.ts +873 -0
- package/dist/integrations/sales-intelligence/operations.js +2 -0
- package/dist/integrations/sales-intelligence/operations.test.d.ts +1 -0
- package/dist/integrations/sales-intelligence/schemas-events.d.ts +78 -0
- package/dist/integrations/sales-intelligence/schemas-events.js +2 -0
- package/dist/integrations/sales-intelligence/schemas-results.d.ts +69 -0
- package/dist/integrations/sales-intelligence/schemas-results.js +2 -0
- package/dist/integrations/sales-intelligence/schemas.d.ts +73 -0
- package/dist/integrations/sales-intelligence/schemas.js +2 -0
- package/dist/integrations/secrets/aws-secret-manager.d.ts +28 -0
- package/dist/integrations/secrets/aws-secret-manager.js +2 -0
- package/dist/integrations/secrets/env-secret-provider.d.ts +28 -0
- package/dist/integrations/secrets/env-secret-provider.js +2 -0
- package/dist/integrations/secrets/gcp-secret-manager.d.ts +29 -0
- package/dist/integrations/secrets/gcp-secret-manager.js +2 -0
- package/dist/integrations/secrets/index.d.ts +6 -0
- package/dist/integrations/secrets/index.js +2 -0
- package/dist/integrations/secrets/manager.d.ts +44 -0
- package/dist/integrations/secrets/manager.js +2 -0
- package/dist/integrations/secrets/provider.d.ts +49 -0
- package/dist/integrations/secrets/provider.js +2 -0
- package/dist/integrations/secrets/provider.test.d.ts +1 -0
- package/dist/integrations/secrets/scaleway-secret-manager.d.ts +35 -0
- package/dist/integrations/secrets/scaleway-secret-manager.js +2 -0
- package/dist/integrations/secrets-types.d.ts +14 -0
- package/dist/integrations/secrets-types.js +1 -0
- package/dist/integrations/social/index.d.ts +7 -0
- package/dist/integrations/social/index.js +2 -0
- package/dist/integrations/social/instagram.d.ts +86 -0
- package/dist/integrations/social/instagram.js +1 -0
- package/dist/integrations/social/models.d.ts +107 -0
- package/dist/integrations/social/models.js +1 -0
- package/dist/integrations/social/provider.d.ts +46 -0
- package/dist/integrations/social/provider.js +2 -0
- package/dist/integrations/social/social.test.d.ts +1 -0
- package/dist/integrations/social/tracking-models.d.ts +153 -0
- package/dist/integrations/social/tracking-models.js +2 -0
- package/dist/integrations/social/tracking-provider.d.ts +53 -0
- package/dist/integrations/social/tracking-provider.js +1 -0
- package/dist/integrations/social/tracking-store.d.ts +78 -0
- package/dist/integrations/social/tracking-store.js +1 -0
- package/dist/integrations/social/x-publication.d.ts +143 -0
- package/dist/integrations/social/x-publication.js +2 -0
- package/dist/integrations/social/x-upload-state.d.ts +53 -0
- package/dist/integrations/social/x-upload-state.js +2 -0
- package/dist/integrations/social/x-upload.d.ts +111 -0
- package/dist/integrations/social/x-upload.js +2 -0
- package/dist/integrations/social/x-withdrawal.d.ts +13 -0
- package/dist/integrations/social/x-withdrawal.js +2 -0
- package/dist/integrations/social/x.d.ts +84 -0
- package/dist/integrations/social/x.js +1 -0
- package/dist/integrations/spec.d.ts +119 -0
- package/dist/integrations/spec.js +2 -0
- package/dist/integrations/spec.test.d.ts +1 -0
- package/dist/integrations/transport.d.ts +115 -0
- package/dist/integrations/transport.js +2 -0
- package/dist/integrations/transport.test.d.ts +1 -0
- package/dist/integrations/versioning.d.ts +51 -0
- package/dist/integrations/versioning.js +2 -0
- package/dist/integrations/versioning.test.d.ts +1 -0
- package/dist/integrations/web-access/browser-automation.d.ts +134 -0
- package/dist/integrations/web-access/browser-automation.js +2 -0
- package/dist/integrations/web-access/capability-ledger.d.ts +50 -0
- package/dist/integrations/web-access/capability-ledger.js +2 -0
- package/dist/integrations/web-access/capability-ledger.test.d.ts +1 -0
- package/dist/integrations/web-access/events.d.ts +105 -0
- package/dist/integrations/web-access/events.js +2 -0
- package/dist/integrations/web-access/index.d.ts +16 -0
- package/dist/integrations/web-access/index.js +22 -0
- package/dist/integrations/web-access/inventory-definitions-expanded.d.ts +2 -0
- package/dist/integrations/web-access/inventory-definitions-expanded.js +2 -0
- package/dist/integrations/web-access/inventory-definitions.d.ts +17 -0
- package/dist/integrations/web-access/inventory-definitions.js +2 -0
- package/dist/integrations/web-access/inventory-evidence.d.ts +24 -0
- package/dist/integrations/web-access/inventory-evidence.js +2 -0
- package/dist/integrations/web-access/inventory-mappings-browserbase.d.ts +2 -0
- package/dist/integrations/web-access/inventory-mappings-browserbase.js +2 -0
- package/dist/integrations/web-access/inventory-mappings.d.ts +54 -0
- package/dist/integrations/web-access/inventory-mappings.js +2 -0
- package/dist/integrations/web-access/inventory.d.ts +4 -0
- package/dist/integrations/web-access/inventory.js +2 -0
- package/dist/integrations/web-access/models.d.ts +145 -0
- package/dist/integrations/web-access/models.js +2 -0
- package/dist/integrations/web-access/operation-definitions.d.ts +19 -0
- package/dist/integrations/web-access/operation-definitions.js +2 -0
- package/dist/integrations/web-access/operation-errors.d.ts +56 -0
- package/dist/integrations/web-access/operation-errors.js +2 -0
- package/dist/integrations/web-access/operation-output-models.d.ts +177 -0
- package/dist/integrations/web-access/operation-output-models.js +2 -0
- package/dist/integrations/web-access/operation-schema-models.d.ts +453 -0
- package/dist/integrations/web-access/operation-schema-models.js +2 -0
- package/dist/integrations/web-access/operation-schemas.d.ts +165 -0
- package/dist/integrations/web-access/operation-schemas.js +2 -0
- package/dist/integrations/web-access/operations.d.ts +22 -0
- package/dist/integrations/web-access/operations.js +22 -0
- package/dist/integrations/web-access/operations.test.d.ts +1 -0
- package/dist/integrations/web-access/providers.d.ts +56 -0
- package/dist/integrations/web-access/providers.js +1 -0
- package/dist/integrations/web-access/providers.test.d.ts +1 -0
- package/dist/integrations/web-access/schemas.d.ts +118 -0
- package/dist/integrations/web-access/schemas.js +2 -0
- package/dist/node/contracts-integrations.feature.js +1 -0
- package/dist/node/index.js +21 -0
- package/dist/node/integrations/advertising/index.js +1 -0
- package/dist/node/integrations/advertising/recipe-schema.js +1 -0
- package/dist/node/integrations/advertising/recipe.js +0 -0
- package/dist/node/integrations/advertising/specs.js +1 -0
- package/dist/node/integrations/advertising/types.js +1 -0
- package/dist/node/integrations/attio/events.js +1 -0
- package/dist/node/integrations/attio/index.js +1 -0
- package/dist/node/integrations/attio/operations.js +1 -0
- package/dist/node/integrations/auth-helpers.js +1 -0
- package/dist/node/integrations/auth.js +1 -0
- package/dist/node/integrations/binding.js +0 -0
- package/dist/node/integrations/byok.js +1 -0
- package/dist/node/integrations/catalog.js +1 -0
- package/dist/node/integrations/clay/events.js +1 -0
- package/dist/node/integrations/clay/index.js +1 -0
- package/dist/node/integrations/clay/operations.js +1 -0
- package/dist/node/integrations/connection.js +0 -0
- package/dist/node/integrations/credentials.js +1 -0
- package/dist/node/integrations/deployment-topology-model.js +1 -0
- package/dist/node/integrations/deployment-topology-receipt.js +1 -0
- package/dist/node/integrations/deployment-topology-validation.js +1 -0
- package/dist/node/integrations/deployment-topology.js +1 -0
- package/dist/node/integrations/docs/integrations.docblock.js +100 -0
- package/dist/node/integrations/email-operations.js +1 -0
- package/dist/node/integrations/gtm/capability-ledger.fixture-helpers.js +1 -0
- package/dist/node/integrations/gtm/capability-ledger.fixtures.js +1 -0
- package/dist/node/integrations/gtm/capability-ledger.js +1 -0
- package/dist/node/integrations/gtm/hosted-mcp.js +1 -0
- package/dist/node/integrations/gtm/index.js +1 -0
- package/dist/node/integrations/gtm/inventory/attio.js +1 -0
- package/dist/node/integrations/gtm/inventory/clay.js +1 -0
- package/dist/node/integrations/gtm/inventory/fullenrich.js +1 -0
- package/dist/node/integrations/gtm/inventory/index.js +1 -0
- package/dist/node/integrations/gtm/inventory/types.js +0 -0
- package/dist/node/integrations/gtm/preflight.js +1 -0
- package/dist/node/integrations/gtm/schemas.js +1 -0
- package/dist/node/integrations/gtm/webhook-ingress.js +1 -0
- package/dist/node/integrations/health/contracts/activities.js +1 -0
- package/dist/node/integrations/health/contracts/biometrics.js +1 -0
- package/dist/node/integrations/health/contracts/index.js +1 -0
- package/dist/node/integrations/health/contracts/nutrition.js +1 -0
- package/dist/node/integrations/health/contracts/sleep.js +1 -0
- package/dist/node/integrations/health/contracts/webhooks.js +1 -0
- package/dist/node/integrations/health/contracts/workouts.js +1 -0
- package/dist/node/integrations/health/guards.js +1 -0
- package/dist/node/integrations/health/health.capability.js +1 -0
- package/dist/node/integrations/health/health.feature.js +1 -0
- package/dist/node/integrations/health/models.js +1 -0
- package/dist/node/integrations/health/telemetry.js +1 -0
- package/dist/node/integrations/health.js +1 -0
- package/dist/node/integrations/index.js +21 -0
- package/dist/node/integrations/integrations.capability.js +1 -0
- package/dist/node/integrations/integrations.feature.js +1 -0
- package/dist/node/integrations/linkedin/advertising.js +0 -0
- package/dist/node/integrations/linkedin/analytics.js +0 -0
- package/dist/node/integrations/linkedin/capabilities.js +1 -0
- package/dist/node/integrations/linkedin/community.js +0 -0
- package/dist/node/integrations/linkedin/credentials.js +1 -0
- package/dist/node/integrations/linkedin/host.js +1 -0
- package/dist/node/integrations/linkedin/identity.js +0 -0
- package/dist/node/integrations/linkedin/index.js +1 -0
- package/dist/node/integrations/linkedin/installation.js +1 -0
- package/dist/node/integrations/linkedin/media-job-state.js +1 -0
- package/dist/node/integrations/linkedin/media-job.js +1 -0
- package/dist/node/integrations/linkedin/media-session.js +1 -0
- package/dist/node/integrations/linkedin/media.js +1 -0
- package/dist/node/integrations/linkedin/messaging.js +0 -0
- package/dist/node/integrations/linkedin/models.js +0 -0
- package/dist/node/integrations/linkedin/native-publication.js +1 -0
- package/dist/node/integrations/linkedin/native-withdrawal.js +1 -0
- package/dist/node/integrations/linkedin/operation-catalog.js +1 -0
- package/dist/node/integrations/linkedin/operations.js +1 -0
- package/dist/node/integrations/linkedin/provider.js +1 -0
- package/dist/node/integrations/linkedin/sales.js +0 -0
- package/dist/node/integrations/linkedin/sync.js +0 -0
- package/dist/node/integrations/linkedin/webhooks.js +0 -0
- package/dist/node/integrations/meeting-recorder/contracts/index.js +1 -0
- package/dist/node/integrations/meeting-recorder/contracts/meetings.js +1 -0
- package/dist/node/integrations/meeting-recorder/contracts/transcripts.js +1 -0
- package/dist/node/integrations/meeting-recorder/contracts/webhooks.js +1 -0
- package/dist/node/integrations/meeting-recorder/meeting-recorder.capability.js +1 -0
- package/dist/node/integrations/meeting-recorder/meeting-recorder.feature.js +1 -0
- package/dist/node/integrations/meeting-recorder/models.js +1 -0
- package/dist/node/integrations/meeting-recorder/telemetry.js +1 -0
- package/dist/node/integrations/openbanking/contracts/accounts.js +1 -0
- package/dist/node/integrations/openbanking/contracts/balances.js +1 -0
- package/dist/node/integrations/openbanking/contracts/index.js +1 -0
- package/dist/node/integrations/openbanking/contracts/transactions.js +1 -0
- package/dist/node/integrations/openbanking/guards.js +1 -0
- package/dist/node/integrations/openbanking/models.js +1 -0
- package/dist/node/integrations/openbanking/openbanking.capability.js +1 -0
- package/dist/node/integrations/openbanking/openbanking.feature.js +1 -0
- package/dist/node/integrations/openbanking/telemetry.js +1 -0
- package/dist/node/integrations/operations.js +21 -0
- package/dist/node/integrations/providers/analytics-reader.js +0 -0
- package/dist/node/integrations/providers/analytics-writer.js +0 -0
- package/dist/node/integrations/providers/analytics.js +0 -0
- package/dist/node/integrations/providers/apify.js +1 -0
- package/dist/node/integrations/providers/apple-health.js +1 -0
- package/dist/node/integrations/providers/async-media-record.js +1 -0
- package/dist/node/integrations/providers/async-media.js +0 -0
- package/dist/node/integrations/providers/attio.js +1 -0
- package/dist/node/integrations/providers/bright-data.js +1 -0
- package/dist/node/integrations/providers/browserbase.js +1 -0
- package/dist/node/integrations/providers/calendar.d.js +0 -0
- package/dist/node/integrations/providers/calendar.js +0 -0
- package/dist/node/integrations/providers/catalog.js +1 -0
- package/dist/node/integrations/providers/clay.js +1 -0
- package/dist/node/integrations/providers/communication-channel.js +1 -0
- package/dist/node/integrations/providers/composio.js +1 -0
- package/dist/node/integrations/providers/crm-fixture-core.js +1 -0
- package/dist/node/integrations/providers/crm-hubspot-fixture.js +1 -0
- package/dist/node/integrations/providers/crm-salesforce-fixture.js +1 -0
- package/dist/node/integrations/providers/crm-write-proposal-types.js +1 -0
- package/dist/node/integrations/providers/crm-write-proposal.js +1 -0
- package/dist/node/integrations/providers/crm.js +1 -0
- package/dist/node/integrations/providers/database.js +0 -0
- package/dist/node/integrations/providers/deepgram.js +1 -0
- package/dist/node/integrations/providers/direct-fetch.js +1 -0
- package/dist/node/integrations/providers/eightsleep.js +1 -0
- package/dist/node/integrations/providers/elevenlabs.js +1 -0
- package/dist/node/integrations/providers/email-delivery-events.js +0 -0
- package/dist/node/integrations/providers/email.js +0 -0
- package/dist/node/integrations/providers/embedding.js +0 -0
- package/dist/node/integrations/providers/fal-image.js +1 -0
- package/dist/node/integrations/providers/fal.js +1 -0
- package/dist/node/integrations/providers/fathom.js +1 -0
- package/dist/node/integrations/providers/firecrawl.js +1 -0
- package/dist/node/integrations/providers/fireflies.js +1 -0
- package/dist/node/integrations/providers/fitbit.js +1 -0
- package/dist/node/integrations/providers/fullenrich.js +1 -0
- package/dist/node/integrations/providers/garmin.js +1 -0
- package/dist/node/integrations/providers/gcs-storage.js +1 -0
- package/dist/node/integrations/providers/gmail.js +1 -0
- package/dist/node/integrations/providers/google-calendar.js +1 -0
- package/dist/node/integrations/providers/google-drive.js +1 -0
- package/dist/node/integrations/providers/gradium.js +1 -0
- package/dist/node/integrations/providers/granola.js +1 -0
- package/dist/node/integrations/providers/health-provider-shared.js +1 -0
- package/dist/node/integrations/providers/health.js +0 -0
- package/dist/node/integrations/providers/higgsfield.js +1 -0
- package/dist/node/integrations/providers/image.js +1 -0
- package/dist/node/integrations/providers/index.js +1 -0
- package/dist/node/integrations/providers/jira.js +1 -0
- package/dist/node/integrations/providers/linear.js +1 -0
- package/dist/node/integrations/providers/linkedin-community.js +1 -0
- package/dist/node/integrations/providers/linkedin-marketing.js +1 -0
- package/dist/node/integrations/providers/linkedin-member.js +1 -0
- package/dist/node/integrations/providers/linkedin-messaging.js +1 -0
- package/dist/node/integrations/providers/linkedin-sales-navigator.js +1 -0
- package/dist/node/integrations/providers/linkedin-spec-shared.js +1 -0
- package/dist/node/integrations/providers/linkup.js +1 -0
- package/dist/node/integrations/providers/llm.js +0 -0
- package/dist/node/integrations/providers/massive.js +1 -0
- package/dist/node/integrations/providers/meeting-capture.js +0 -0
- package/dist/node/integrations/providers/meeting-recorder.js +0 -0
- package/dist/node/integrations/providers/messaging-github.js +1 -0
- package/dist/node/integrations/providers/messaging-matrix.js +1 -0
- package/dist/node/integrations/providers/messaging-slack.js +1 -0
- package/dist/node/integrations/providers/messaging-teams.js +1 -0
- package/dist/node/integrations/providers/messaging-telegram.js +1 -0
- package/dist/node/integrations/providers/messaging-whatsapp-meta.js +1 -0
- package/dist/node/integrations/providers/messaging-whatsapp-twilio.js +1 -0
- package/dist/node/integrations/providers/messaging.js +0 -0
- package/dist/node/integrations/providers/mistral-conversational.js +1 -0
- package/dist/node/integrations/providers/mistral-stt.js +1 -0
- package/dist/node/integrations/providers/mistral.js +1 -0
- package/dist/node/integrations/providers/mode-exemptions.js +1 -0
- package/dist/node/integrations/providers/myfitnesspal.js +1 -0
- package/dist/node/integrations/providers/notion.js +1 -0
- package/dist/node/integrations/providers/openai-image.js +1 -0
- package/dist/node/integrations/providers/openai-realtime.js +1 -0
- package/dist/node/integrations/providers/openbanking.js +0 -0
- package/dist/node/integrations/providers/openwearables.js +1 -0
- package/dist/node/integrations/providers/oura.js +1 -0
- package/dist/node/integrations/providers/oxylabs.js +1 -0
- package/dist/node/integrations/providers/payments/capabilities-billing.js +0 -0
- package/dist/node/integrations/providers/payments/capabilities-payments.js +0 -0
- package/dist/node/integrations/providers/payments/capabilities.js +0 -0
- package/dist/node/integrations/providers/payments/context.js +1 -0
- package/dist/node/integrations/providers/payments/provider.js +0 -0
- package/dist/node/integrations/providers/payments/resources.js +0 -0
- package/dist/node/integrations/providers/payments/shared.js +1 -0
- package/dist/node/integrations/providers/payments.js +1 -0
- package/dist/node/integrations/providers/paypal.js +1 -0
- package/dist/node/integrations/providers/peloton.js +1 -0
- package/dist/node/integrations/providers/posthog-llm-telemetry.js +1 -0
- package/dist/node/integrations/providers/posthog.js +1 -0
- package/dist/node/integrations/providers/postmark.js +1 -0
- package/dist/node/integrations/providers/powens.js +1 -0
- package/dist/node/integrations/providers/project-management.js +1 -0
- package/dist/node/integrations/providers/provider-delta.js +1 -0
- package/dist/node/integrations/providers/qdrant.js +1 -0
- package/dist/node/integrations/providers/registry.js +1 -0
- package/dist/node/integrations/providers/reworkd.js +1 -0
- package/dist/node/integrations/providers/serper.js +1 -0
- package/dist/node/integrations/providers/sillage.js +1 -0
- package/dist/node/integrations/providers/slng.js +1 -0
- package/dist/node/integrations/providers/sms.js +0 -0
- package/dist/node/integrations/providers/social.js +1 -0
- package/dist/node/integrations/providers/storage.js +0 -0
- package/dist/node/integrations/providers/strava.js +1 -0
- package/dist/node/integrations/providers/stripe.js +1 -0
- package/dist/node/integrations/providers/supabase-postgres.js +1 -0
- package/dist/node/integrations/providers/supabase-vector.js +1 -0
- package/dist/node/integrations/providers/tavily.js +1 -0
- package/dist/node/integrations/providers/tldv.js +1 -0
- package/dist/node/integrations/providers/twilio-sms.js +1 -0
- package/dist/node/integrations/providers/vector-store.js +0 -0
- package/dist/node/integrations/providers/video.js +1 -0
- package/dist/node/integrations/providers/voice-video-sync.js +0 -0
- package/dist/node/integrations/providers/voice.js +0 -0
- package/dist/node/integrations/providers/web-access-shared.js +1 -0
- package/dist/node/integrations/providers/whoop.js +1 -0
- package/dist/node/integrations/runtime.js +1 -0
- package/dist/node/integrations/sales-intelligence/events.js +1 -0
- package/dist/node/integrations/sales-intelligence/fullenrich-cancel-operation.js +1 -0
- package/dist/node/integrations/sales-intelligence/index.js +1 -0
- package/dist/node/integrations/sales-intelligence/operation-helpers.js +1 -0
- package/dist/node/integrations/sales-intelligence/operations.js +1 -0
- package/dist/node/integrations/sales-intelligence/schemas-events.js +1 -0
- package/dist/node/integrations/sales-intelligence/schemas-results.js +1 -0
- package/dist/node/integrations/sales-intelligence/schemas.js +1 -0
- package/dist/node/integrations/secrets/aws-secret-manager.js +1 -0
- package/dist/node/integrations/secrets/env-secret-provider.js +1 -0
- package/dist/node/integrations/secrets/gcp-secret-manager.js +1 -0
- package/dist/node/integrations/secrets/index.js +1 -0
- package/dist/node/integrations/secrets/manager.js +1 -0
- package/dist/node/integrations/secrets/provider.js +1 -0
- package/dist/node/integrations/secrets/scaleway-secret-manager.js +1 -0
- package/dist/node/integrations/secrets-types.js +0 -0
- package/dist/node/integrations/social/index.js +1 -0
- package/dist/node/integrations/social/instagram.js +0 -0
- package/dist/node/integrations/social/models.js +0 -0
- package/dist/node/integrations/social/provider.js +1 -0
- package/dist/node/integrations/social/tracking-models.js +1 -0
- package/dist/node/integrations/social/tracking-provider.js +0 -0
- package/dist/node/integrations/social/tracking-store.js +0 -0
- package/dist/node/integrations/social/x-publication.js +1 -0
- package/dist/node/integrations/social/x-upload-state.js +1 -0
- package/dist/node/integrations/social/x-upload.js +1 -0
- package/dist/node/integrations/social/x-withdrawal.js +1 -0
- package/dist/node/integrations/social/x.js +0 -0
- package/dist/node/integrations/spec.js +1 -0
- package/dist/node/integrations/transport.js +1 -0
- package/dist/node/integrations/versioning.js +1 -0
- package/dist/node/integrations/web-access/browser-automation.js +1 -0
- package/dist/node/integrations/web-access/capability-ledger.js +1 -0
- package/dist/node/integrations/web-access/events.js +1 -0
- package/dist/node/integrations/web-access/index.js +21 -0
- package/dist/node/integrations/web-access/inventory-definitions-expanded.js +1 -0
- package/dist/node/integrations/web-access/inventory-definitions.js +1 -0
- package/dist/node/integrations/web-access/inventory-evidence.js +1 -0
- package/dist/node/integrations/web-access/inventory-mappings-browserbase.js +1 -0
- package/dist/node/integrations/web-access/inventory-mappings.js +1 -0
- package/dist/node/integrations/web-access/inventory.js +1 -0
- package/dist/node/integrations/web-access/models.js +1 -0
- package/dist/node/integrations/web-access/operation-definitions.js +1 -0
- package/dist/node/integrations/web-access/operation-errors.js +1 -0
- package/dist/node/integrations/web-access/operation-output-models.js +1 -0
- package/dist/node/integrations/web-access/operation-schema-models.js +1 -0
- package/dist/node/integrations/web-access/operation-schemas.js +1 -0
- package/dist/node/integrations/web-access/operations.js +21 -0
- package/dist/node/integrations/web-access/providers.js +0 -0
- package/dist/node/integrations/web-access/schemas.js +1 -0
- package/package.json +3606 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{Buffer as l}from"buffer";import{Buffer as f}from"buffer";class i extends Error{provider;reference;code;cause;constructor(e){super(e.message);this.name="SecretProviderError",this.provider=e.provider,this.reference=e.reference,this.code=e.code??"UNKNOWN",this.cause=e.cause}}function S(e){if(!e)throw new i({message:"Secret reference cannot be empty",provider:"unknown",reference:e,code:"INVALID"});let[r,t]=e.split("://");if(!r||!t)throw new i({message:`Invalid secret reference: ${e}`,provider:"unknown",reference:e,code:"INVALID"});let n=t.indexOf("?");if(n===-1)return{provider:r,path:t};let o=t.slice(0,n),s=t.slice(n+1),c=Object.fromEntries(s.split("&").filter(Boolean).map((a)=>{let[u,h]=a.split("="),m=u??"",w=h??"";return[decodeURIComponent(m),decodeURIComponent(w)]}));return{provider:r,path:o,extras:c}}function p(e){if(e.data instanceof Uint8Array)return e.data;if(e.encoding==="base64")return f.from(e.data,"base64");if(e.encoding==="binary")return f.from(e.data,"binary");return f.from(e.data,"utf-8")}var g=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;class v{id="scaleway-secret-manager";token;defaultRegion;defaultProjectId;baseUrl;fetchFn;constructor(e={}){this.token=e.token??process.env.SCW_SECRET_KEY??process.env.SCALEWAY_SECRET_KEY??"",this.defaultRegion=e.defaultRegion??process.env.SCW_DEFAULT_REGION??process.env.SCW_REGION,this.defaultProjectId=e.defaultProjectId??process.env.SCW_DEFAULT_PROJECT_ID??process.env.SCW_PROJECT_ID,this.baseUrl=e.baseUrl??"https://api.scaleway.com",this.fetchFn=e.fetch??fetch}canHandle(e){try{let r=S(e);return r.provider==="scw"&&(r.path==="secret-manager"||r.path.startsWith("secret-manager/"))}catch{return!1}}async getSecret(e,r){let t=this.parseReference(e);if(!this.token)throw new i({message:"Scaleway secret manager token is missing (set SCW_SECRET_KEY / SCALEWAY_SECRET_KEY).",provider:this.id,reference:e,code:"FORBIDDEN"});if(!g.test(t.secretIdOrName))throw new i({message:"Scaleway getSecret requires a secretId (uuid) reference, not a secret name.",provider:this.id,reference:e,code:"INVALID"});let n=r?.version??t.revision??"latest",o=`${this.baseUrl}/secret-manager/v1beta1/regions/${encodeURIComponent(t.region)}/secrets/${encodeURIComponent(t.secretIdOrName)}/versions/${encodeURIComponent(n)}/access`,s=await this.fetchFn(o,{method:"GET",headers:{"X-Auth-Token":this.token}});if(!s.ok)throw await d({response:s,provider:this.id,reference:e,operation:"getSecret"});let c=await s.json(),a=y(c);return{data:l.from(a,"base64"),version:n,metadata:{region:t.region,secretId:t.secretIdOrName},retrievedAt:new Date}}async setSecret(e,r){let t=this.parseReference(e);if(!this.token)throw new i({message:"Scaleway secret manager token is missing (set SCW_SECRET_KEY / SCALEWAY_SECRET_KEY).",provider:this.id,reference:e,code:"FORBIDDEN"});let n=p(r),o=l.from(n).toString("base64"),s=g.test(t.secretIdOrName)?t.secretIdOrName:await this.createSecret({region:t.region,name:t.secretIdOrName,reference:e}),c=await this.createSecretVersion({region:t.region,secretId:s,dataB64:o,reference:e});return{reference:this.buildReference(t.region,s,{version:c}),version:c}}async rotateSecret(e,r){return this.setSecret(e,r)}async deleteSecret(e){let r=this.parseReference(e);if(!this.token)throw new i({message:"Scaleway secret manager token is missing (set SCW_SECRET_KEY / SCALEWAY_SECRET_KEY).",provider:this.id,reference:e,code:"FORBIDDEN"});if(!g.test(r.secretIdOrName))throw new i({message:"Scaleway deleteSecret requires a secretId (uuid) reference, not a secret name.",provider:this.id,reference:e,code:"INVALID"});let t=`${this.baseUrl}/secret-manager/v1beta1/regions/${encodeURIComponent(r.region)}/secrets/${encodeURIComponent(r.secretIdOrName)}`,n=await this.fetchFn(t,{method:"DELETE",headers:{"X-Auth-Token":this.token}});if(!n.ok)throw await d({response:n,provider:this.id,reference:e,operation:"deleteSecret"})}parseReference(e){let r=S(e);if(r.provider!=="scw")throw new i({message:`Unsupported secret provider: ${r.provider}`,provider:this.id,reference:e,code:"INVALID"});let t=r.path.split("/").filter(Boolean);if(t.length<2||t[0]!=="secret-manager")throw new i({message:"Expected secret reference format scw://secret-manager/{region}/{secretIdOrName}[?version=...]",provider:this.id,reference:e,code:"INVALID"});let n=t[1]??this.defaultRegion;if(!n)throw new i({message:"Scaleway region must be provided either in reference (scw://secret-manager/{region}/...) or via SCW_DEFAULT_REGION/SCW_REGION.",provider:this.id,reference:e,code:"INVALID"});let o=t.slice(2).join("/");if(!o)throw new i({message:`Unable to resolve secret id/name from reference "${r.path}"`,provider:this.id,reference:e,code:"INVALID"});return{region:n,secretIdOrName:o,revision:r.extras?.version}}async createSecret(e){let r=this.defaultProjectId;if(!r)throw new i({message:"Scaleway project id is required to create secrets by name (set SCW_DEFAULT_PROJECT_ID/SCW_PROJECT_ID).",provider:this.id,reference:e.reference,code:"INVALID"});let t=`${this.baseUrl}/secret-manager/v1beta1/regions/${encodeURIComponent(e.region)}/secrets`,n=await this.fetchFn(t,{method:"POST",headers:{"Content-Type":"application/json","X-Auth-Token":this.token},body:JSON.stringify({name:e.name,project_id:r})});if(!n.ok)throw await d({response:n,provider:this.id,reference:e.reference,operation:"createSecret"});let o=await n.json();return R(o)}async createSecretVersion(e){let r=`${this.baseUrl}/secret-manager/v1beta1/regions/${encodeURIComponent(e.region)}/secrets/${encodeURIComponent(e.secretId)}/versions`,t=await this.fetchFn(r,{method:"POST",headers:{"Content-Type":"application/json","X-Auth-Token":this.token},body:JSON.stringify({data:e.dataB64})});if(!t.ok)throw await d({response:t,provider:this.id,reference:e.reference,operation:"createSecretVersion"});let n=await t.json();return I(n)??"latest"}buildReference(e,r,t){let n=`scw://secret-manager/${e}/${r}`,o=t?Object.entries(t).filter(([,s])=>Boolean(s)).map(([s,c])=>`${encodeURIComponent(s)}=${encodeURIComponent(c)}`).join("&"):"";return o?`${n}?${o}`:n}}function y(e){if(!e||typeof e!=="object")throw Error("Invalid scaleway secret payload");let r=e;if(typeof r.data==="string"&&r.data)return r.data;throw Error("Scaleway secret payload is missing data")}function R(e){if(!e||typeof e!=="object")throw Error("Invalid scaleway createSecret payload");let r=e;if(typeof r.id==="string"&&r.id)return r.id;throw Error("Scaleway createSecret response is missing id")}function I(e){if(!e||typeof e!=="object")return;let r=e;if(typeof r.revision==="number")return String(r.revision);if(typeof r.revision==="string"&&r.revision)return r.revision;if(typeof r.id==="string"&&r.id)return r.id;return}async function d(e){let{response:r,provider:t,reference:n,operation:o}=e,s=r.status===404?"NOT_FOUND":r.status===401||r.status===403?"FORBIDDEN":r.status>=400&&r.status<500?"INVALID":"UNKNOWN",c=await E(r),a=c?`Scaleway Secret Manager ${o} failed (${r.status}): ${c}`:`Scaleway Secret Manager ${o} failed (${r.status})`;return new i({message:a,provider:t,reference:n,code:s})}async function E(e){try{let t=(await e.text()).trim();return t.length?t:void 0}catch{return}}export{v as ScalewaySecretManagerProvider};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Secret Provider types for integrations
|
|
3
|
+
* These are core type definitions that don't require runtime dependencies.
|
|
4
|
+
*/
|
|
5
|
+
export interface SecretValue {
|
|
6
|
+
data: Uint8Array;
|
|
7
|
+
version?: string;
|
|
8
|
+
metadata?: Record<string, string>;
|
|
9
|
+
}
|
|
10
|
+
export interface SecretProvider {
|
|
11
|
+
id: string;
|
|
12
|
+
canHandle(reference: string): boolean;
|
|
13
|
+
getSecret(reference: string): Promise<SecretValue>;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
// @bun
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
var n=["profile.get","content.get","content.list","content.sync","webhook.event.normalize"],a=["analytics.query","content.track","creator.track"];class t extends Error{code;retryable;providerStatus;constructor(i,e,r=!1,o){super(e);this.code=i;this.retryable=r;this.providerStatus=o;this.name="SocialProviderError"}}var l={thirtyMinuteDays:90,hourlyDays:548,dailyDays:1826};export{l as DEFAULT_SOCIAL_RETENTION_POLICY,n as SOCIAL_READ_OPERATION_SUFFIXES,a as SOCIAL_TRACKING_OPERATION_SUFFIXES,t as SocialProviderError};
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
export type InstagramCapabilityId = 'instagram.profile.read' | 'instagram.content.read';
|
|
2
|
+
export interface InstagramCapabilityDecision {
|
|
3
|
+
capability: InstagramCapabilityId;
|
|
4
|
+
state: 'approval_required' | 'available' | 'disabled' | 'unavailable';
|
|
5
|
+
reason: string;
|
|
6
|
+
}
|
|
7
|
+
export interface InstagramInstallation {
|
|
8
|
+
capabilities: readonly InstagramCapabilityDecision[];
|
|
9
|
+
}
|
|
10
|
+
export interface InstagramRequestContext {
|
|
11
|
+
capability: InstagramCapabilityId;
|
|
12
|
+
connectionId: string;
|
|
13
|
+
installationId: string;
|
|
14
|
+
requestId: string;
|
|
15
|
+
tenantId: string;
|
|
16
|
+
workspaceId: string;
|
|
17
|
+
}
|
|
18
|
+
export interface InstagramProfileRecord {
|
|
19
|
+
biography?: string;
|
|
20
|
+
followersCount?: number;
|
|
21
|
+
followsCount?: number;
|
|
22
|
+
id: string;
|
|
23
|
+
mediaCount?: number;
|
|
24
|
+
name?: string;
|
|
25
|
+
native: Record<string, unknown>;
|
|
26
|
+
profilePictureUrl?: string;
|
|
27
|
+
username: string;
|
|
28
|
+
website?: string;
|
|
29
|
+
}
|
|
30
|
+
export interface InstagramContentRecord {
|
|
31
|
+
caption?: string;
|
|
32
|
+
id: string;
|
|
33
|
+
kind: 'album' | 'image' | 'reel' | 'short' | 'story' | 'video';
|
|
34
|
+
likeCount?: number;
|
|
35
|
+
commentCount?: number;
|
|
36
|
+
mediaUrl?: string;
|
|
37
|
+
native: Record<string, unknown>;
|
|
38
|
+
permalink?: string;
|
|
39
|
+
publishedAt?: string;
|
|
40
|
+
thumbnailUrl?: string;
|
|
41
|
+
username?: string;
|
|
42
|
+
viewCount?: number;
|
|
43
|
+
}
|
|
44
|
+
export interface InstagramPageInfo {
|
|
45
|
+
cursor?: string;
|
|
46
|
+
hasMore: boolean;
|
|
47
|
+
}
|
|
48
|
+
export interface InstagramOperationResult<T> {
|
|
49
|
+
capability: InstagramCapabilityDecision;
|
|
50
|
+
output: T;
|
|
51
|
+
providerRequestId?: string;
|
|
52
|
+
requestId: string;
|
|
53
|
+
}
|
|
54
|
+
export interface InstagramSocialProvider {
|
|
55
|
+
discoverCapabilities(installation: InstagramInstallation, requested?: readonly InstagramCapabilityId[]): Promise<readonly InstagramCapabilityDecision[]>;
|
|
56
|
+
getContent(request: {
|
|
57
|
+
context: InstagramRequestContext;
|
|
58
|
+
effect: 'read';
|
|
59
|
+
input: {
|
|
60
|
+
id: string;
|
|
61
|
+
};
|
|
62
|
+
operationKey: 'instagram.content.get';
|
|
63
|
+
}): Promise<InstagramOperationResult<InstagramContentRecord>>;
|
|
64
|
+
getProfile(request: {
|
|
65
|
+
context: InstagramRequestContext;
|
|
66
|
+
effect: 'read';
|
|
67
|
+
input: {
|
|
68
|
+
id?: string;
|
|
69
|
+
username?: string;
|
|
70
|
+
};
|
|
71
|
+
operationKey: 'instagram.profile.get';
|
|
72
|
+
}): Promise<InstagramOperationResult<InstagramProfileRecord>>;
|
|
73
|
+
listContent(request: {
|
|
74
|
+
context: InstagramRequestContext;
|
|
75
|
+
effect: 'read';
|
|
76
|
+
input: {
|
|
77
|
+
cursor?: string;
|
|
78
|
+
limit?: number;
|
|
79
|
+
userId?: string;
|
|
80
|
+
};
|
|
81
|
+
operationKey: 'instagram.content.list';
|
|
82
|
+
}): Promise<InstagramOperationResult<{
|
|
83
|
+
items: readonly InstagramContentRecord[];
|
|
84
|
+
page: InstagramPageInfo;
|
|
85
|
+
}>>;
|
|
86
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
// @bun
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
/** Official connected-account social platform records. */
|
|
2
|
+
export type SocialPlatform = 'youtube' | 'tiktok' | 'instagram' | 'x';
|
|
3
|
+
export interface SocialEvidence {
|
|
4
|
+
platform: SocialPlatform;
|
|
5
|
+
providerApiVersion: string;
|
|
6
|
+
capturedAt: string;
|
|
7
|
+
providerRequestId?: string;
|
|
8
|
+
connectionId: string;
|
|
9
|
+
}
|
|
10
|
+
export interface SocialPage {
|
|
11
|
+
cursor?: string;
|
|
12
|
+
hasMore: boolean;
|
|
13
|
+
}
|
|
14
|
+
export interface YouTubeProfile {
|
|
15
|
+
platform: 'youtube';
|
|
16
|
+
id: string;
|
|
17
|
+
title: string;
|
|
18
|
+
handle?: string;
|
|
19
|
+
description?: string;
|
|
20
|
+
thumbnailUrl?: string;
|
|
21
|
+
evidence: SocialEvidence;
|
|
22
|
+
}
|
|
23
|
+
export interface TikTokProfile {
|
|
24
|
+
platform: 'tiktok';
|
|
25
|
+
openId: string;
|
|
26
|
+
displayName?: string;
|
|
27
|
+
avatarUrl?: string;
|
|
28
|
+
profileDeepLink?: string;
|
|
29
|
+
bioDescription?: string;
|
|
30
|
+
evidence: SocialEvidence;
|
|
31
|
+
}
|
|
32
|
+
export interface InstagramProfile {
|
|
33
|
+
platform: 'instagram';
|
|
34
|
+
id: string;
|
|
35
|
+
username: string;
|
|
36
|
+
name?: string;
|
|
37
|
+
biography?: string;
|
|
38
|
+
profilePictureUrl?: string;
|
|
39
|
+
accountType: 'business' | 'creator';
|
|
40
|
+
evidence: SocialEvidence;
|
|
41
|
+
}
|
|
42
|
+
export interface XProfile {
|
|
43
|
+
platform: 'x';
|
|
44
|
+
id: string;
|
|
45
|
+
username: string;
|
|
46
|
+
name: string;
|
|
47
|
+
description?: string;
|
|
48
|
+
profileImageUrl?: string;
|
|
49
|
+
evidence: SocialEvidence;
|
|
50
|
+
}
|
|
51
|
+
export type SocialProfileRecord = YouTubeProfile | TikTokProfile | InstagramProfile | XProfile;
|
|
52
|
+
export interface YouTubeContent {
|
|
53
|
+
platform: 'youtube';
|
|
54
|
+
id: string;
|
|
55
|
+
kind: 'video' | 'short';
|
|
56
|
+
channelId: string;
|
|
57
|
+
title: string;
|
|
58
|
+
description?: string;
|
|
59
|
+
publishedAt?: string;
|
|
60
|
+
thumbnailUrl?: string;
|
|
61
|
+
evidence: SocialEvidence;
|
|
62
|
+
}
|
|
63
|
+
export interface TikTokContent {
|
|
64
|
+
platform: 'tiktok';
|
|
65
|
+
id: string;
|
|
66
|
+
title?: string;
|
|
67
|
+
coverImageUrl?: string;
|
|
68
|
+
shareUrl?: string;
|
|
69
|
+
createTime?: string;
|
|
70
|
+
evidence: SocialEvidence;
|
|
71
|
+
}
|
|
72
|
+
export interface InstagramContent {
|
|
73
|
+
platform: 'instagram';
|
|
74
|
+
id: string;
|
|
75
|
+
mediaType: 'IMAGE' | 'VIDEO' | 'CAROUSEL_ALBUM';
|
|
76
|
+
caption?: string;
|
|
77
|
+
mediaUrl?: string;
|
|
78
|
+
permalink?: string;
|
|
79
|
+
timestamp?: string;
|
|
80
|
+
evidence: SocialEvidence;
|
|
81
|
+
}
|
|
82
|
+
export interface XContent {
|
|
83
|
+
platform: 'x';
|
|
84
|
+
id: string;
|
|
85
|
+
text: string;
|
|
86
|
+
authorId: string;
|
|
87
|
+
createdAt?: string;
|
|
88
|
+
conversationId?: string;
|
|
89
|
+
evidence: SocialEvidence;
|
|
90
|
+
}
|
|
91
|
+
export type SocialContentRecord = YouTubeContent | TikTokContent | InstagramContent | XContent;
|
|
92
|
+
export interface SocialSyncCursor {
|
|
93
|
+
platform: SocialPlatform;
|
|
94
|
+
connectionId: string;
|
|
95
|
+
cursor?: string;
|
|
96
|
+
watermark?: string;
|
|
97
|
+
checkpointId?: string;
|
|
98
|
+
}
|
|
99
|
+
export interface SocialWebhookEvent {
|
|
100
|
+
platform: SocialPlatform;
|
|
101
|
+
eventId: string;
|
|
102
|
+
eventType: string;
|
|
103
|
+
occurredAt: string;
|
|
104
|
+
connectionId: string;
|
|
105
|
+
rawPayloadHash: string;
|
|
106
|
+
contentId?: string;
|
|
107
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
// @bun
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { SocialContentRecord, SocialPage, SocialPlatform, SocialProfileRecord, SocialSyncCursor, SocialWebhookEvent } from './models.js';
|
|
2
|
+
export declare const SOCIAL_READ_OPERATION_SUFFIXES: readonly ['profile.get', 'content.get', 'content.list', 'content.sync', 'webhook.event.normalize'];
|
|
3
|
+
export declare const SOCIAL_TRACKING_OPERATION_SUFFIXES: readonly ['analytics.query', 'content.track', 'creator.track'];
|
|
4
|
+
export type SocialReadOperationSuffix = (typeof SOCIAL_READ_OPERATION_SUFFIXES)[number];
|
|
5
|
+
export type SocialReadOperationKey = `${SocialPlatform}.${SocialReadOperationSuffix}`;
|
|
6
|
+
export type SocialTrackingOperationSuffix = (typeof SOCIAL_TRACKING_OPERATION_SUFFIXES)[number];
|
|
7
|
+
export type SocialTrackingOperationKey = `${SocialPlatform}.${SocialTrackingOperationSuffix}`;
|
|
8
|
+
export interface SocialProviderContext {
|
|
9
|
+
tenantId: string;
|
|
10
|
+
workspaceId: string;
|
|
11
|
+
connectionId: string;
|
|
12
|
+
credentialRefId: string;
|
|
13
|
+
requestId: string;
|
|
14
|
+
correlationId: string;
|
|
15
|
+
}
|
|
16
|
+
export interface GetSocialContentInput {
|
|
17
|
+
id: string;
|
|
18
|
+
}
|
|
19
|
+
export interface ListSocialContentInput {
|
|
20
|
+
cursor?: string;
|
|
21
|
+
limit?: number;
|
|
22
|
+
}
|
|
23
|
+
export interface SocialContentPage<T extends SocialContentRecord> {
|
|
24
|
+
items: readonly T[];
|
|
25
|
+
page: SocialPage;
|
|
26
|
+
}
|
|
27
|
+
export interface SocialSyncResult<T extends SocialContentRecord> {
|
|
28
|
+
items: readonly T[];
|
|
29
|
+
cursor: SocialSyncCursor;
|
|
30
|
+
backfillRequired: boolean;
|
|
31
|
+
}
|
|
32
|
+
export interface SocialProvider<TProfile extends SocialProfileRecord, TContent extends SocialContentRecord> {
|
|
33
|
+
readonly platform: TProfile['platform'];
|
|
34
|
+
getProfile(context: SocialProviderContext): Promise<TProfile>;
|
|
35
|
+
getContent(context: SocialProviderContext, input: GetSocialContentInput): Promise<TContent>;
|
|
36
|
+
listContent(context: SocialProviderContext, input: ListSocialContentInput): Promise<SocialContentPage<TContent>>;
|
|
37
|
+
syncContent(context: SocialProviderContext, cursor: SocialSyncCursor): Promise<SocialSyncResult<TContent>>;
|
|
38
|
+
normalizeWebhook?(context: SocialProviderContext, rawBody: Uint8Array, headers: Readonly<Record<string, string | undefined>>): Promise<SocialWebhookEvent>;
|
|
39
|
+
}
|
|
40
|
+
export type SocialProviderErrorCode = 'approval_required' | 'scope_missing' | 'account_type_unsupported' | 'connected_account_required' | 'vendor_mcp_unavailable' | 'rate_limited' | 'invalid_response' | 'dependency_failure';
|
|
41
|
+
export declare class SocialProviderError extends Error {
|
|
42
|
+
readonly code: SocialProviderErrorCode;
|
|
43
|
+
readonly retryable: boolean;
|
|
44
|
+
readonly providerStatus?: number | undefined;
|
|
45
|
+
constructor(code: SocialProviderErrorCode, message: string, retryable?: boolean, providerStatus?: number | undefined);
|
|
46
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
var i=["profile.get","content.get","content.list","content.sync","webhook.event.normalize"],a=["analytics.query","content.track","creator.track"];class o extends Error{code;retryable;providerStatus;constructor(t,e,r=!1,n){super(e);this.code=t;this.retryable=r;this.providerStatus=n;this.name="SocialProviderError"}}export{i as SOCIAL_READ_OPERATION_SUFFIXES,a as SOCIAL_TRACKING_OPERATION_SUFFIXES,o as SocialProviderError};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import type { SocialPlatform } from './models.js';
|
|
2
|
+
export type SocialTrackingAccess = 'connected' | 'public';
|
|
3
|
+
export type SocialTrackingSourceKind = 'official_api' | 'approved_connector' | 'public_fallback';
|
|
4
|
+
export type SocialTrackingSubjectKind = 'creator' | 'content';
|
|
5
|
+
export type SocialMetricSemantics = 'counter' | 'gauge' | 'period';
|
|
6
|
+
export type SocialMetricUnit = 'count' | 'milliseconds' | 'minutes' | 'percentage' | 'seconds';
|
|
7
|
+
export type SocialMetricKey = 'comments' | 'engagements' | 'followers' | 'following' | 'likes' | 'media' | 'posts' | 'reactions' | 'reposts' | 'saves' | 'shares' | 'subscribers' | 'views' | `provider.${string}`;
|
|
8
|
+
export interface SocialTrackingScope {
|
|
9
|
+
tenantId: string;
|
|
10
|
+
workspaceId: string;
|
|
11
|
+
}
|
|
12
|
+
export interface SocialTrackingEvidence {
|
|
13
|
+
access: SocialTrackingAccess;
|
|
14
|
+
capturedAt: string;
|
|
15
|
+
connectionId?: string;
|
|
16
|
+
providerApiVersion?: string;
|
|
17
|
+
providerRequestId?: string;
|
|
18
|
+
rawPayloadHash?: string;
|
|
19
|
+
source: SocialTrackingSourceKind;
|
|
20
|
+
}
|
|
21
|
+
export interface SocialMetricValue {
|
|
22
|
+
key: SocialMetricKey;
|
|
23
|
+
nativeKey?: string;
|
|
24
|
+
semantics: SocialMetricSemantics;
|
|
25
|
+
unit: SocialMetricUnit;
|
|
26
|
+
value: number;
|
|
27
|
+
}
|
|
28
|
+
export interface SocialCreator {
|
|
29
|
+
avatarUrl?: string;
|
|
30
|
+
biography?: string;
|
|
31
|
+
canonicalUrl?: string;
|
|
32
|
+
displayName: string;
|
|
33
|
+
handle?: string;
|
|
34
|
+
id: string;
|
|
35
|
+
metrics: readonly SocialMetricValue[];
|
|
36
|
+
platform: SocialPlatform;
|
|
37
|
+
evidence: SocialTrackingEvidence;
|
|
38
|
+
}
|
|
39
|
+
export type SocialContentKind = 'album' | 'image' | 'post' | 'reel' | 'reply' | 'repost' | 'short' | 'story' | 'thread' | 'video';
|
|
40
|
+
export interface SocialContent {
|
|
41
|
+
availability?: 'available' | 'deleted' | 'private' | 'restricted' | 'unavailable';
|
|
42
|
+
caption?: string;
|
|
43
|
+
canonicalUrl?: string;
|
|
44
|
+
creatorId: string;
|
|
45
|
+
durationSeconds?: number;
|
|
46
|
+
deletedAt?: string;
|
|
47
|
+
id: string;
|
|
48
|
+
kind: SocialContentKind;
|
|
49
|
+
mediaUrl?: string;
|
|
50
|
+
metrics: readonly SocialMetricValue[];
|
|
51
|
+
platform: SocialPlatform;
|
|
52
|
+
publishedAt?: string;
|
|
53
|
+
thumbnailUrl?: string;
|
|
54
|
+
title?: string;
|
|
55
|
+
evidence: SocialTrackingEvidence;
|
|
56
|
+
}
|
|
57
|
+
export interface SocialTrackingSelector {
|
|
58
|
+
handle?: string;
|
|
59
|
+
id?: string;
|
|
60
|
+
url?: string;
|
|
61
|
+
}
|
|
62
|
+
export interface SocialTrackingTarget {
|
|
63
|
+
creatorId?: string;
|
|
64
|
+
id: string;
|
|
65
|
+
platform: SocialPlatform;
|
|
66
|
+
providerId: string;
|
|
67
|
+
sourceLocator?: string;
|
|
68
|
+
subjectKind: SocialTrackingSubjectKind;
|
|
69
|
+
}
|
|
70
|
+
export type SocialTrackingStatus = 'active' | 'paused' | 'rate_limited' | 'source_unavailable' | 'stopped';
|
|
71
|
+
export interface SocialRetentionPolicy {
|
|
72
|
+
dailyDays: number;
|
|
73
|
+
hourlyDays: number;
|
|
74
|
+
thirtyMinuteDays: number;
|
|
75
|
+
weeklyDays?: number;
|
|
76
|
+
}
|
|
77
|
+
export declare const DEFAULT_SOCIAL_RETENTION_POLICY: SocialRetentionPolicy;
|
|
78
|
+
export interface SocialTrackingConfig extends SocialTrackingScope {
|
|
79
|
+
access: SocialTrackingAccess;
|
|
80
|
+
connectionId?: string;
|
|
81
|
+
consumerKey: string;
|
|
82
|
+
credentialRefId?: string;
|
|
83
|
+
fallbackEnabled: boolean;
|
|
84
|
+
id: string;
|
|
85
|
+
idempotencyKey: string;
|
|
86
|
+
nextCollectionAt: string;
|
|
87
|
+
retention: SocialRetentionPolicy;
|
|
88
|
+
samplingIntervalMinutes: 30;
|
|
89
|
+
status: SocialTrackingStatus;
|
|
90
|
+
target: SocialTrackingTarget;
|
|
91
|
+
}
|
|
92
|
+
export interface SocialTrackingSyncState extends SocialTrackingScope {
|
|
93
|
+
cursor?: string;
|
|
94
|
+
lastFailureAt?: string;
|
|
95
|
+
lastSuccessAt?: string;
|
|
96
|
+
leaseExpiresAt?: string;
|
|
97
|
+
leaseOwner?: string;
|
|
98
|
+
trackingId: string;
|
|
99
|
+
}
|
|
100
|
+
export interface SocialTrackingFailure extends SocialTrackingScope {
|
|
101
|
+
at: string;
|
|
102
|
+
code: string;
|
|
103
|
+
message: string;
|
|
104
|
+
retryable: boolean;
|
|
105
|
+
target: SocialTrackingTarget;
|
|
106
|
+
trackingId: string;
|
|
107
|
+
}
|
|
108
|
+
export interface SocialCollectionRunResult {
|
|
109
|
+
claimed: number;
|
|
110
|
+
completed: number;
|
|
111
|
+
failureEvidenceErrors: number;
|
|
112
|
+
failed: number;
|
|
113
|
+
}
|
|
114
|
+
export type SocialAnalyticsGranularity = 'thirty_minutes' | 'hour' | 'day' | 'week';
|
|
115
|
+
export type SocialObservationQuality = 'complete' | 'partial' | 'source_gap';
|
|
116
|
+
export interface SocialMetricSnapshot extends SocialTrackingScope {
|
|
117
|
+
consumerKey?: string;
|
|
118
|
+
evidence: SocialTrackingEvidence;
|
|
119
|
+
idempotencyKey: string;
|
|
120
|
+
metrics: readonly SocialMetricValue[];
|
|
121
|
+
observedAt: string;
|
|
122
|
+
quality: SocialObservationQuality;
|
|
123
|
+
target: SocialTrackingTarget;
|
|
124
|
+
unavailableMetrics?: readonly Pick<SocialMetricValue, 'key' | 'unit'>[];
|
|
125
|
+
}
|
|
126
|
+
export interface SocialMetricRollup extends SocialTrackingScope {
|
|
127
|
+
bucketEnd: string;
|
|
128
|
+
bucketStart: string;
|
|
129
|
+
consumerKey?: string;
|
|
130
|
+
delta?: number;
|
|
131
|
+
evidence: SocialTrackingEvidence;
|
|
132
|
+
first?: number;
|
|
133
|
+
granularity: Exclude<SocialAnalyticsGranularity, 'thirty_minutes'>;
|
|
134
|
+
key: SocialMetricKey;
|
|
135
|
+
latest?: number;
|
|
136
|
+
maximum?: number;
|
|
137
|
+
mean?: number;
|
|
138
|
+
minimum?: number;
|
|
139
|
+
quality: SocialObservationQuality;
|
|
140
|
+
sampleCount: number;
|
|
141
|
+
semantics: SocialMetricSemantics;
|
|
142
|
+
target: SocialTrackingTarget;
|
|
143
|
+
total?: number;
|
|
144
|
+
unit: SocialMetricUnit;
|
|
145
|
+
}
|
|
146
|
+
export interface SocialTrackingWebhookEvent extends SocialTrackingScope {
|
|
147
|
+
dedupeKey: string;
|
|
148
|
+
eventId: string;
|
|
149
|
+
eventType: string;
|
|
150
|
+
occurredAt: string;
|
|
151
|
+
platform: SocialPlatform;
|
|
152
|
+
target?: SocialTrackingTarget;
|
|
153
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import type { SocialPage, SocialPlatform } from './models.js';
|
|
2
|
+
import type { SocialContent, SocialCreator, SocialMetricSnapshot, SocialTrackingAccess, SocialTrackingEvidence, SocialTrackingScope, SocialTrackingSelector, SocialTrackingSourceKind, SocialTrackingTarget, SocialTrackingWebhookEvent } from './tracking-models.js';
|
|
3
|
+
export interface SocialTrackingContext extends SocialTrackingScope {
|
|
4
|
+
access: SocialTrackingAccess;
|
|
5
|
+
connectionId?: string;
|
|
6
|
+
correlationId: string;
|
|
7
|
+
credentialRefId?: string;
|
|
8
|
+
fallbackEnabled: boolean;
|
|
9
|
+
requestId: string;
|
|
10
|
+
}
|
|
11
|
+
export interface SocialTrackingSourceCapability {
|
|
12
|
+
available: boolean;
|
|
13
|
+
id: 'analytics.native' | 'content.list' | 'content.metrics' | 'creator.metrics' | 'history.native' | 'webhook';
|
|
14
|
+
reason?: string;
|
|
15
|
+
}
|
|
16
|
+
export interface SocialTrackingContentPage {
|
|
17
|
+
items: readonly SocialContent[];
|
|
18
|
+
page: SocialPage;
|
|
19
|
+
}
|
|
20
|
+
export interface SocialNativeBackfillInput {
|
|
21
|
+
from: string;
|
|
22
|
+
metricKeys?: readonly string[];
|
|
23
|
+
target: SocialTrackingTarget;
|
|
24
|
+
to: string;
|
|
25
|
+
}
|
|
26
|
+
export interface SocialTrackingSource {
|
|
27
|
+
readonly kind: SocialTrackingSourceKind;
|
|
28
|
+
readonly platform: SocialPlatform;
|
|
29
|
+
discoverCapabilities(context: SocialTrackingContext): Promise<readonly SocialTrackingSourceCapability[]>;
|
|
30
|
+
resolveCreator(context: SocialTrackingContext, selector: SocialTrackingSelector): Promise<SocialCreator>;
|
|
31
|
+
getCreator(context: SocialTrackingContext, creatorId: string): Promise<SocialCreator>;
|
|
32
|
+
listContent(context: SocialTrackingContext, input: {
|
|
33
|
+
creatorId: string;
|
|
34
|
+
cursor?: string;
|
|
35
|
+
limit?: number;
|
|
36
|
+
}): Promise<SocialTrackingContentPage>;
|
|
37
|
+
getContent(context: SocialTrackingContext, contentId: string): Promise<SocialContent>;
|
|
38
|
+
collectCreatorMetrics(context: SocialTrackingContext, creatorId: string): Promise<SocialMetricSnapshot>;
|
|
39
|
+
collectContentMetrics(context: SocialTrackingContext, contentId: string): Promise<SocialMetricSnapshot>;
|
|
40
|
+
backfillNative?(context: SocialTrackingContext, input: SocialNativeBackfillInput): Promise<readonly SocialMetricSnapshot[]>;
|
|
41
|
+
normalizeWebhook?(context: SocialTrackingContext, rawBody: Uint8Array, headers: Readonly<Record<string, string | undefined>>): Promise<SocialTrackingWebhookEvent | readonly SocialTrackingWebhookEvent[]>;
|
|
42
|
+
}
|
|
43
|
+
export interface SocialTrackingSourceSelection {
|
|
44
|
+
evidence: SocialTrackingEvidence;
|
|
45
|
+
rejections?: readonly {
|
|
46
|
+
reasons: readonly string[];
|
|
47
|
+
source: SocialTrackingSourceKind;
|
|
48
|
+
}[];
|
|
49
|
+
source: SocialTrackingSource;
|
|
50
|
+
}
|
|
51
|
+
export interface SocialTrackingSourceRegistry {
|
|
52
|
+
select(context: SocialTrackingContext, platform: SocialPlatform, requiredCapabilities?: readonly SocialTrackingSourceCapability['id'][]): Promise<SocialTrackingSourceSelection>;
|
|
53
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
// @bun
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import type { SocialPlatform } from './models.js';
|
|
2
|
+
import type { SocialAnalyticsGranularity, SocialCollectionRunResult, SocialContent, SocialCreator, SocialMetricKey, SocialMetricRollup, SocialMetricSnapshot, SocialRetentionPolicy, SocialTrackingConfig, SocialTrackingFailure, SocialTrackingScope, SocialTrackingSelector, SocialTrackingSyncState, SocialTrackingTarget, SocialTrackingWebhookEvent } from './tracking-models.js';
|
|
3
|
+
import type { SocialTrackingContext } from './tracking-provider.js';
|
|
4
|
+
export interface SocialAnalyticsQuery extends SocialTrackingScope {
|
|
5
|
+
consumerKey: string;
|
|
6
|
+
from: string;
|
|
7
|
+
granularity: SocialAnalyticsGranularity;
|
|
8
|
+
metricKeys: readonly SocialMetricKey[];
|
|
9
|
+
targets: readonly SocialTrackingTarget[];
|
|
10
|
+
to: string;
|
|
11
|
+
}
|
|
12
|
+
export interface SocialAnalyticsSeries {
|
|
13
|
+
key: SocialMetricKey;
|
|
14
|
+
points: readonly (SocialMetricSnapshot | SocialMetricRollup)[];
|
|
15
|
+
target: SocialTrackingTarget;
|
|
16
|
+
}
|
|
17
|
+
export interface SocialTrackingStore {
|
|
18
|
+
getCreator(scope: SocialTrackingScope, platform: SocialPlatform, id: string): Promise<SocialCreator | null>;
|
|
19
|
+
upsertCreator(scope: SocialTrackingScope, creator: SocialCreator): Promise<void>;
|
|
20
|
+
getContent(scope: SocialTrackingScope, platform: SocialPlatform, id: string): Promise<SocialContent | null>;
|
|
21
|
+
listCreatorContent(scope: SocialTrackingScope, platform: SocialPlatform, creatorId: string): Promise<readonly SocialContent[]>;
|
|
22
|
+
upsertContent(scope: SocialTrackingScope, content: SocialContent): Promise<void>;
|
|
23
|
+
getTracking(scope: SocialTrackingScope, trackingId: string): Promise<SocialTrackingConfig | null>;
|
|
24
|
+
listDueTracking(scope: SocialTrackingScope, dueAt: string, limit: number): Promise<readonly SocialTrackingConfig[]>;
|
|
25
|
+
listTrackingForTarget(scope: SocialTrackingScope, target: SocialTrackingTarget): Promise<readonly SocialTrackingConfig[]>;
|
|
26
|
+
claimDueTracking(scope: SocialTrackingScope, input: {
|
|
27
|
+
dueAt: string;
|
|
28
|
+
leaseOwner: string;
|
|
29
|
+
leaseUntil: string;
|
|
30
|
+
limit: number;
|
|
31
|
+
}): Promise<readonly SocialTrackingConfig[]>;
|
|
32
|
+
upsertTracking(config: SocialTrackingConfig): Promise<void>;
|
|
33
|
+
getSyncState(scope: SocialTrackingScope, trackingId: string): Promise<SocialTrackingSyncState | null>;
|
|
34
|
+
upsertSyncState(state: SocialTrackingSyncState): Promise<void>;
|
|
35
|
+
recordFailure(failure: SocialTrackingFailure): Promise<void>;
|
|
36
|
+
storeSnapshot(snapshot: SocialMetricSnapshot): Promise<'stored' | 'duplicate'>;
|
|
37
|
+
storeRollups(rollups: readonly SocialMetricRollup[]): Promise<void>;
|
|
38
|
+
queryAnalytics(query: SocialAnalyticsQuery): Promise<readonly SocialAnalyticsSeries[]>;
|
|
39
|
+
storeWebhookReceipt(event: SocialTrackingWebhookEvent): Promise<'stored' | 'duplicate'>;
|
|
40
|
+
applyRetention(scope: SocialTrackingScope, input: {
|
|
41
|
+
consumerKey: string;
|
|
42
|
+
now: string;
|
|
43
|
+
platform?: SocialPlatform;
|
|
44
|
+
policy: SocialRetentionPolicy;
|
|
45
|
+
}): Promise<void>;
|
|
46
|
+
}
|
|
47
|
+
export interface SocialTrackingService {
|
|
48
|
+
getCreator(scope: SocialTrackingScope, platform: SocialPlatform, id: string): Promise<SocialCreator | null>;
|
|
49
|
+
getContent(scope: SocialTrackingScope, platform: SocialPlatform, id: string): Promise<SocialContent | null>;
|
|
50
|
+
listCreatorContent(scope: SocialTrackingScope, platform: SocialPlatform, creatorId: string): Promise<readonly SocialContent[]>;
|
|
51
|
+
startCreatorTracking(input: {
|
|
52
|
+
context: SocialTrackingContext;
|
|
53
|
+
consumerKey: string;
|
|
54
|
+
idempotencyKey: string;
|
|
55
|
+
platform: SocialPlatform;
|
|
56
|
+
retention?: Partial<SocialRetentionPolicy>;
|
|
57
|
+
selector: SocialTrackingSelector;
|
|
58
|
+
}): Promise<SocialTrackingConfig>;
|
|
59
|
+
startContentTracking(input: {
|
|
60
|
+
context: SocialTrackingContext;
|
|
61
|
+
consumerKey: string;
|
|
62
|
+
contentId: string;
|
|
63
|
+
idempotencyKey: string;
|
|
64
|
+
platform: SocialPlatform;
|
|
65
|
+
retention?: Partial<SocialRetentionPolicy>;
|
|
66
|
+
}): Promise<SocialTrackingConfig>;
|
|
67
|
+
stopTracking(scope: SocialTrackingScope, trackingId: string): Promise<void>;
|
|
68
|
+
collectDue(scope: SocialTrackingScope, now: string, limit?: number): Promise<SocialCollectionRunResult>;
|
|
69
|
+
backfillNative(input: {
|
|
70
|
+
context: SocialTrackingContext;
|
|
71
|
+
from: string;
|
|
72
|
+
metricKeys?: readonly string[];
|
|
73
|
+
to: string;
|
|
74
|
+
trackingId: string;
|
|
75
|
+
}): Promise<number>;
|
|
76
|
+
queryAnalytics(query: SocialAnalyticsQuery): Promise<readonly SocialAnalyticsSeries[]>;
|
|
77
|
+
exportAnalyticsCsv(query: SocialAnalyticsQuery): Promise<string>;
|
|
78
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
// @bun
|