@happyvertical/smrt-marketing 0.43.8 → 0.43.10
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/AGENTS.md +5 -3
- package/README.md +23 -4
- package/dist/collections/CampaignCollection.d.ts +10 -1
- package/dist/collections/CampaignCollection.d.ts.map +1 -1
- package/dist/index.js +448 -256
- package/dist/index.js.map +1 -1
- package/dist/manifest.json +25 -1
- package/dist/services/BudgetPacingService.d.ts +0 -3
- package/dist/services/BudgetPacingService.d.ts.map +1 -1
- package/dist/services/pacing-calculation.d.ts +18 -0
- package/dist/services/pacing-calculation.d.ts.map +1 -0
- package/dist/smrt-knowledge.json +16 -5
- package/dist/types.d.ts +28 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/package.json +7 -7
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,4EAA4E;AAE5E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAErD,eAAO,MAAM,iBAAiB,8EAOpB,CAAC;AAEX,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEhE,eAAO,MAAM,sBAAsB,yFAOzB,CAAC;AAEX,MAAM,MAAM,mBAAmB,GAC3B,CAAC,OAAO,sBAAsB,CAAC,CAAC,MAAM,CAAC,GACvC,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAElB,eAAO,MAAM,yBAAyB,iFAO5B,CAAC;AAEX,MAAM,MAAM,qBAAqB,GAAG,CAAC,OAAO,yBAAyB,CAAC,CAAC,MAAM,CAAC,CAAC;AAE/E,MAAM,WAAW,eAAgB,SAAQ,iBAAiB;IACxD,QAAQ,CAA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CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,MAAM,kBAAkB,GAC1B,YAAY,GACZ,aAAa,GACb,QAAQ,GACR,UAAU,GACV,OAAO,GACP,aAAa,GACb,UAAU,CAAC;AAEf,MAAM,WAAW,kBAAkB;IACjC,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,MAAM,EAAE,kBAAkB,CAAC;IAC3B,aAAa,EAAE,MAAM,CAAC;IACtB,mBAAmB,EAAE,OAAO,CAAC;CAC9B"}
|
package/dist/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","names":[],"sources":["../src/types.ts"],"sourcesContent":["/** Shared model and service contracts for @happyvertical/smrt-marketing. */\n\nimport type { SmrtObjectOptions } from '@happyvertical/smrt-core';\nimport type { Campaign } from './models/Campaign.js';\n\nexport const CAMPAIGN_STATUSES = [\n 'draft',\n 'scheduled',\n 'active',\n 'paused',\n 'completed',\n 'archived',\n] as const;\n\nexport type CampaignStatus = (typeof CAMPAIGN_STATUSES)[number];\n\nexport const CAMPAIGN_CHANNEL_KINDS = [\n 'ad_group',\n 'social_post',\n 'message',\n 'content',\n 'event',\n 'referral_program',\n] as const;\n\nexport type CampaignChannelKind =\n | (typeof CAMPAIGN_CHANNEL_KINDS)[number]\n | (string & {});\n\nexport const CAMPAIGN_CHANNEL_STATUSES = [\n 'planned',\n 'scheduled',\n 'active',\n 'paused',\n 'completed',\n 'cancelled',\n] as const;\n\nexport type CampaignChannelStatus = (typeof CAMPAIGN_CHANNEL_STATUSES)[number];\n\nexport interface CampaignOptions extends SmrtObjectOptions {\n tenantId?: string | null;\n customerId?: string | null;\n campaignKey?: string;\n name?: string;\n objective?: string;\n status?: CampaignStatus;\n startAt?: Date | string | number | null;\n endAt?: Date | string | number | null;\n budgetCents?: number;\n currency?: string;\n metadata?: string;\n}\n\nexport interface CampaignCustomerCursorInput {\n startAt: Date | string | number | null;\n id: string;\n}\n\nexport interface CampaignCustomerCursor {\n startAt: Date | null;\n id: string;\n}\n\nexport interface ListCampaignsByCustomerOptions {\n limit?: number;\n after?: CampaignCustomerCursorInput;\n}\n\nexport interface CampaignCustomerPage {\n items: Campaign[];\n nextCursor: CampaignCustomerCursor | null;\n}\n\nexport interface CampaignCustomerSummary {\n customerId: string;\n totalCount: number;\n activeCount: number;\n latestStartAt: Date | null;\n}\n\nexport interface CampaignChannelOptions extends SmrtObjectOptions {\n tenantId?: string | null;\n campaignId?: string;\n channelKind?: CampaignChannelKind;\n channelRef?: string;\n allocatedBudgetCents?: number;\n startAt?: Date | string | number | null;\n endAt?: Date | string | number | null;\n status?: CampaignChannelStatus;\n}\n\nexport interface CampaignMetricSnapshotOptions extends SmrtObjectOptions {\n tenantId?: string | null;\n campaignId?: string;\n campaignChannelId?: string | null;\n periodStart?: Date | string | number;\n periodEnd?: Date | string | number;\n spendCents?: number;\n impressions?: number;\n clicks?: number;\n conversions?: number;\n leads?: number;\n revenueCents?: number | null;\n source?: string;\n dedupeKey?: string;\n}\n\nexport type BudgetPacingStatus =\n | 'unbudgeted'\n | 'not_started'\n | 'behind'\n | 'on_track'\n | 'ahead'\n | 'over_budget'\n | 'complete';\n\nexport interface BudgetPacingResult {\n campaignId: string;\n campaignChannelId?: string;\n currency: string;\n budgetCents: number;\n spendCents: number;\n remainingCents: number;\n expectedSpendCents: number | null;\n varianceCents: number | null;\n budgetFraction: number | null;\n elapsedFraction: number | null;\n status: BudgetPacingStatus;\n snapshotCount: number;\n usedCampaignRollups: boolean;\n}\n"],"mappings":";AAKO,IAAM,oBAAoB;CAC/B;CACA;CACA;CACA;CACA;CACA;AACF;AAIO,IAAM,yBAAyB;CACpC;CACA;CACA;CACA;CACA;CACA;AACF;AAMO,IAAM,4BAA4B;CACvC;CACA;CACA;CACA;CACA;CACA;AACF"}
|
|
1
|
+
{"version":3,"file":"types.js","names":[],"sources":["../src/types.ts"],"sourcesContent":["/** Shared model and service contracts for @happyvertical/smrt-marketing. */\n\nimport type { SmrtObjectOptions } from '@happyvertical/smrt-core';\nimport type { Campaign } from './models/Campaign.js';\n\nexport const CAMPAIGN_STATUSES = [\n 'draft',\n 'scheduled',\n 'active',\n 'paused',\n 'completed',\n 'archived',\n] as const;\n\nexport type CampaignStatus = (typeof CAMPAIGN_STATUSES)[number];\n\nexport const CAMPAIGN_CHANNEL_KINDS = [\n 'ad_group',\n 'social_post',\n 'message',\n 'content',\n 'event',\n 'referral_program',\n] as const;\n\nexport type CampaignChannelKind =\n | (typeof CAMPAIGN_CHANNEL_KINDS)[number]\n | (string & {});\n\nexport const CAMPAIGN_CHANNEL_STATUSES = [\n 'planned',\n 'scheduled',\n 'active',\n 'paused',\n 'completed',\n 'cancelled',\n] as const;\n\nexport type CampaignChannelStatus = (typeof CAMPAIGN_CHANNEL_STATUSES)[number];\n\nexport interface CampaignOptions extends SmrtObjectOptions {\n tenantId?: string | null;\n customerId?: string | null;\n campaignKey?: string;\n name?: string;\n objective?: string;\n status?: CampaignStatus;\n startAt?: Date | string | number | null;\n endAt?: Date | string | number | null;\n budgetCents?: number;\n currency?: string;\n metadata?: string;\n}\n\nexport interface CampaignCustomerCursorInput {\n startAt: Date | string | number | null;\n id: string;\n}\n\nexport interface CampaignCustomerCursor {\n startAt: Date | null;\n id: string;\n}\n\nexport interface ListCampaignsByCustomerOptions {\n limit?: number;\n after?: CampaignCustomerCursorInput;\n}\n\nexport interface CampaignCustomerPage {\n items: Campaign[];\n nextCursor: CampaignCustomerCursor | null;\n}\n\nexport interface ListCampaignReportingByCustomerOptions\n extends ListCampaignsByCustomerOptions {\n /** Clock used for deterministic pacing calculations. Defaults to now. */\n at?: Date | string | number;\n}\n\nexport interface CampaignChannelMixEntry {\n channelKind: CampaignChannelKind;\n count: number;\n}\n\n/** Totals from the immutable evidence selected by campaign pacing rules. */\nexport interface CampaignMetricTotals {\n spendCents: number;\n impressions: number;\n clicks: number;\n conversions: number;\n leads: number;\n revenueCents: number;\n}\n\nexport interface CampaignReportingItem {\n campaign: Campaign;\n channelCount: number;\n channelMix: CampaignChannelMixEntry[];\n metricTotals: CampaignMetricTotals;\n pacing: BudgetPacingResult;\n}\n\nexport interface CampaignReportingPage {\n items: CampaignReportingItem[];\n nextCursor: CampaignCustomerCursor | null;\n}\n\nexport interface CampaignCustomerSummary {\n customerId: string;\n totalCount: number;\n activeCount: number;\n latestStartAt: Date | null;\n}\n\nexport interface CampaignChannelOptions extends SmrtObjectOptions {\n tenantId?: string | null;\n campaignId?: string;\n channelKind?: CampaignChannelKind;\n channelRef?: string;\n allocatedBudgetCents?: number;\n startAt?: Date | string | number | null;\n endAt?: Date | string | number | null;\n status?: CampaignChannelStatus;\n}\n\nexport interface CampaignMetricSnapshotOptions extends SmrtObjectOptions {\n tenantId?: string | null;\n campaignId?: string;\n campaignChannelId?: string | null;\n periodStart?: Date | string | number;\n periodEnd?: Date | string | number;\n spendCents?: number;\n impressions?: number;\n clicks?: number;\n conversions?: number;\n leads?: number;\n revenueCents?: number | null;\n source?: string;\n dedupeKey?: string;\n}\n\nexport type BudgetPacingStatus =\n | 'unbudgeted'\n | 'not_started'\n | 'behind'\n | 'on_track'\n | 'ahead'\n | 'over_budget'\n | 'complete';\n\nexport interface BudgetPacingResult {\n campaignId: string;\n campaignChannelId?: string;\n currency: string;\n budgetCents: number;\n spendCents: number;\n remainingCents: number;\n expectedSpendCents: number | null;\n varianceCents: number | null;\n budgetFraction: number | null;\n elapsedFraction: number | null;\n status: BudgetPacingStatus;\n snapshotCount: number;\n usedCampaignRollups: boolean;\n}\n"],"mappings":";AAKO,IAAM,oBAAoB;CAC/B;CACA;CACA;CACA;CACA;CACA;AACF;AAIO,IAAM,yBAAyB;CACpC;CACA;CACA;CACA;CACA;CACA;AACF;AAMO,IAAM,4BAA4B;CACvC;CACA;CACA;CACA;CACA;CACA;AACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@happyvertical/smrt-marketing",
|
|
3
|
-
"version": "0.43.
|
|
3
|
+
"version": "0.43.10",
|
|
4
4
|
"description": "Cross-channel campaign coordination, immutable performance evidence, budget pacing, and reusable Svelte marketing surfaces for SMRT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -24,15 +24,15 @@
|
|
|
24
24
|
"./manifest.json": "./dist/manifest.json"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@happyvertical/smrt-core": "0.43.
|
|
28
|
-
"@happyvertical/smrt-
|
|
29
|
-
"@happyvertical/smrt-
|
|
27
|
+
"@happyvertical/smrt-core": "0.43.10",
|
|
28
|
+
"@happyvertical/smrt-tenancy": "0.43.10",
|
|
29
|
+
"@happyvertical/smrt-ui": "0.43.10"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"svelte": "^5.56.4"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@happyvertical/sql": "^0.
|
|
35
|
+
"@happyvertical/sql": "^0.89.4",
|
|
36
36
|
"@sveltejs/package": "^2.5.8",
|
|
37
37
|
"@sveltejs/vite-plugin-svelte": "^7.1.2",
|
|
38
38
|
"@testing-library/svelte": "^5.4.2",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"typescript": "5.9.3",
|
|
44
44
|
"vite": "8.1.4",
|
|
45
45
|
"vitest": "4.1.10",
|
|
46
|
-
"@happyvertical/smrt-commerce": "0.43.
|
|
47
|
-
"@happyvertical/smrt-vitest": "0.43.
|
|
46
|
+
"@happyvertical/smrt-commerce": "0.43.10",
|
|
47
|
+
"@happyvertical/smrt-vitest": "0.43.10"
|
|
48
48
|
},
|
|
49
49
|
"smrtRawPrimitives": "strict",
|
|
50
50
|
"keywords": [
|