@happyvertical/smrt-sales 0.40.69 → 0.41.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/referrals.js CHANGED
@@ -1,3 +1,3 @@
1
- import "./chunks/__smrt-register__-Cqnirc2h.js";
1
+ import "./chunks/__smrt-register__-CG-Me1hH.js";
2
2
  import { A as ReferralClickOperation, B as ATTRIBUTION_RESOLUTION_MODES, C as ReferralTouchCollection, D as ReferralCollection, E as assertHttpTargetUrl, F as validateAttributionPolicyTerms, G as REFERRAL_STATUSES, H as REFERRAL_AGREEMENT_STATUSES, I as ATTRIBUTION_CONFLICT_BEHAVIORS, J as AttributionExceptionCollection, K as REFERRAL_TOUCH_KINDS, L as ATTRIBUTION_CREDIT_MODES, M as ReferralAgreement, N as AttributionPolicyCollection, O as Referral, P as AttributionPolicy, R as ATTRIBUTION_EXCEPTION_STATUSES, S as generateReferralCode, T as ReferralLink, U as REFERRAL_LINK_STATUSES, V as REFERRAL_AGREEMENT_APPROVAL_MODES, W as REFERRAL_PROGRAM_STATUSES, Y as AttributionException, _ as REFERRAL_CODE_ALPHABET, a as ReferralAgreementExecutionService, b as ReferralClickValidationError, c as ReferrerCollection, d as ReferralTermSnapshot, f as ReferralProgramCollection, g as MAX_REFERRAL_CLICK_IDEMPOTENCY_KEY_BYTES, h as MAX_CODE_GENERATION_ATTEMPTS, i as REFERRAL_AGREEMENT_SOURCE_KIND, j as ReferralAgreementCollection, k as ReferralClickOperationCollection, l as Referrer, m as DEFAULT_REFERRAL_CLICK_EVIDENCE_MAX_BYTES, n as REFERRAL_TERMS_SNAPSHOT_KIND, o as AttributionService, p as ReferralProgram, q as REFERRER_STATUSES, r as ReferralCommissionService, s as QualifiedReferralOverrideError, t as ReferralQualificationService, u as ReferralTermSnapshotCollection, v as REFERRAL_CODE_LENGTH, w as ReferralTouch, x as ReferralLinkCollection, y as ReferralClickReplayConflictError, z as ATTRIBUTION_POLICY_STATUSES } from "./chunks/referrals-BzTlbjJH.js";
3
3
  export { ATTRIBUTION_CONFLICT_BEHAVIORS, ATTRIBUTION_CREDIT_MODES, ATTRIBUTION_EXCEPTION_STATUSES, ATTRIBUTION_POLICY_STATUSES, ATTRIBUTION_RESOLUTION_MODES, AttributionException, AttributionExceptionCollection, AttributionPolicy, AttributionPolicyCollection, AttributionService, DEFAULT_REFERRAL_CLICK_EVIDENCE_MAX_BYTES, MAX_CODE_GENERATION_ATTEMPTS, MAX_REFERRAL_CLICK_IDEMPOTENCY_KEY_BYTES, QualifiedReferralOverrideError, REFERRAL_AGREEMENT_APPROVAL_MODES, REFERRAL_AGREEMENT_SOURCE_KIND, REFERRAL_AGREEMENT_STATUSES, REFERRAL_CODE_ALPHABET, REFERRAL_CODE_LENGTH, REFERRAL_LINK_STATUSES, REFERRAL_PROGRAM_STATUSES, REFERRAL_STATUSES, REFERRAL_TERMS_SNAPSHOT_KIND, REFERRAL_TOUCH_KINDS, REFERRER_STATUSES, Referral, ReferralAgreement, ReferralAgreementCollection, ReferralAgreementExecutionService, ReferralClickOperation, ReferralClickOperationCollection, ReferralClickReplayConflictError, ReferralClickValidationError, ReferralCollection, ReferralCommissionService, ReferralLink, ReferralLinkCollection, ReferralProgram, ReferralProgramCollection, ReferralQualificationService, ReferralTermSnapshot, ReferralTermSnapshotCollection, ReferralTouch, ReferralTouchCollection, Referrer, ReferrerCollection, assertHttpTargetUrl, generateReferralCode, validateAttributionPolicyTerms };
@@ -3,12 +3,12 @@
3
3
  "sensitiveFieldsExcluded": true,
4
4
  "generatedAt": "1970-01-01T00:00:00.000Z",
5
5
  "packageName": "@happyvertical/smrt-sales",
6
- "packageVersion": "0.40.69",
6
+ "packageVersion": "0.41.0",
7
7
  "sourceManifestPath": "dist/manifest.json",
8
8
  "agentDocPath": "AGENTS.md",
9
9
  "sourceHashes": {
10
- "manifest": "fba56bbfa1b18fae3987076faaf9e536f6c571e7229fef12042aa97a8ee99417",
11
- "packageJson": "20853fa8cad43b9e4d89040c2304d674740bed808043e4d751fe96c79acc3d8f",
10
+ "manifest": "1b783376367303d218c499574a9a2b547297c2ce4440056b60ffacd19bda4145",
11
+ "packageJson": "ac4df134f440c2d9e81e425b492294aac2c01f15cc8e40755ec49118c0c4e822",
12
12
  "agents": "a58ac2ed4a0d43e22110674a94d61b62b981f7aa4a576ca8f36d0b1f20a64143",
13
13
  "moduleDoc:agents/agreements.md": "eb6ff147a0f60ee627d3337e8e9394d06fda955b4a4fff228537a9bd2803f886",
14
14
  "moduleDoc:agents/commissions.md": "e047024aafe5edcf072c1a6b7ea253c24cb15f2fa1beb2edd13651e735921f73",
@@ -2084,6 +2084,11 @@
2084
2084
  "mode": "optional",
2085
2085
  "field": "tenantId"
2086
2086
  },
2087
+ "conflictColumns": [
2088
+ "tenant_id",
2089
+ "slug",
2090
+ "context"
2091
+ ],
2087
2092
  "surfaces": [
2088
2093
  {
2089
2094
  "kind": "api",
@@ -2159,6 +2164,11 @@
2159
2164
  "mode": "required",
2160
2165
  "field": "tenantId"
2161
2166
  },
2167
+ "conflictColumns": [
2168
+ "tenant_id",
2169
+ "slug",
2170
+ "context"
2171
+ ],
2162
2172
  "surfaces": [],
2163
2173
  "relationshipFeatures": [
2164
2174
  "uuidColumns"
@@ -2828,6 +2838,11 @@
2828
2838
  "mode": "optional",
2829
2839
  "field": "tenantId"
2830
2840
  },
2841
+ "conflictColumns": [
2842
+ "tenant_id",
2843
+ "slug",
2844
+ "context"
2845
+ ],
2831
2846
  "surfaces": [
2832
2847
  {
2833
2848
  "kind": "api",
@@ -3797,6 +3812,11 @@
3797
3812
  "mode": "optional",
3798
3813
  "field": "tenantId"
3799
3814
  },
3815
+ "conflictColumns": [
3816
+ "tenant_id",
3817
+ "slug",
3818
+ "context"
3819
+ ],
3800
3820
  "surfaces": [
3801
3821
  {
3802
3822
  "kind": "api",
@@ -4085,6 +4105,11 @@
4085
4105
  "mode": "optional",
4086
4106
  "field": "tenantId"
4087
4107
  },
4108
+ "conflictColumns": [
4109
+ "tenant_id",
4110
+ "slug",
4111
+ "context"
4112
+ ],
4088
4113
  "surfaces": [
4089
4114
  {
4090
4115
  "kind": "api",
@@ -4744,6 +4769,11 @@
4744
4769
  "mode": "optional",
4745
4770
  "field": "tenantId"
4746
4771
  },
4772
+ "conflictColumns": [
4773
+ "tenant_id",
4774
+ "slug",
4775
+ "context"
4776
+ ],
4747
4777
  "surfaces": [
4748
4778
  {
4749
4779
  "kind": "api",
@@ -4882,6 +4912,11 @@
4882
4912
  "mode": "optional",
4883
4913
  "field": "tenantId"
4884
4914
  },
4915
+ "conflictColumns": [
4916
+ "tenant_id",
4917
+ "slug",
4918
+ "context"
4919
+ ],
4885
4920
  "surfaces": [
4886
4921
  {
4887
4922
  "kind": "api",
@@ -5622,6 +5657,11 @@
5622
5657
  "mode": "optional",
5623
5658
  "field": "tenantId"
5624
5659
  },
5660
+ "conflictColumns": [
5661
+ "tenant_id",
5662
+ "slug",
5663
+ "context"
5664
+ ],
5625
5665
  "surfaces": [
5626
5666
  {
5627
5667
  "kind": "api",
@@ -6163,6 +6203,11 @@
6163
6203
  "mode": "optional",
6164
6204
  "field": "tenantId"
6165
6205
  },
6206
+ "conflictColumns": [
6207
+ "tenant_id",
6208
+ "slug",
6209
+ "context"
6210
+ ],
6166
6211
  "surfaces": [
6167
6212
  {
6168
6213
  "kind": "api",
@@ -6608,6 +6653,11 @@
6608
6653
  "mode": "optional",
6609
6654
  "field": "tenantId"
6610
6655
  },
6656
+ "conflictColumns": [
6657
+ "tenant_id",
6658
+ "slug",
6659
+ "context"
6660
+ ],
6611
6661
  "surfaces": [],
6612
6662
  "relationshipFeatures": [
6613
6663
  "uuidColumns"
@@ -7137,6 +7187,11 @@
7137
7187
  "mode": "optional",
7138
7188
  "field": "tenantId"
7139
7189
  },
7190
+ "conflictColumns": [
7191
+ "tenant_id",
7192
+ "slug",
7193
+ "context"
7194
+ ],
7140
7195
  "surfaces": [
7141
7196
  {
7142
7197
  "kind": "api",
@@ -7322,6 +7377,11 @@
7322
7377
  "mode": "optional",
7323
7378
  "field": "tenantId"
7324
7379
  },
7380
+ "conflictColumns": [
7381
+ "tenant_id",
7382
+ "slug",
7383
+ "context"
7384
+ ],
7325
7385
  "surfaces": [
7326
7386
  {
7327
7387
  "kind": "api",
@@ -7470,6 +7530,11 @@
7470
7530
  "mode": "optional",
7471
7531
  "field": "tenantId"
7472
7532
  },
7533
+ "conflictColumns": [
7534
+ "tenant_id",
7535
+ "slug",
7536
+ "context"
7537
+ ],
7473
7538
  "surfaces": [
7474
7539
  {
7475
7540
  "kind": "api",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@happyvertical/smrt-sales",
3
- "version": "0.40.69",
3
+ "version": "0.41.0",
4
4
  "description": "Modular sales for the SMRT framework: agreement execution, CRM, referral intake, neutral commissions, and reusable Svelte surfaces",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -43,10 +43,10 @@
43
43
  "dependencies": {
44
44
  "@happyvertical/signatures": "^0.88.0",
45
45
  "@happyvertical/sql": "^0.88.0",
46
- "@happyvertical/smrt-assets": "0.40.69",
47
- "@happyvertical/smrt-core": "0.40.69",
48
- "@happyvertical/smrt-tenancy": "0.40.69",
49
- "@happyvertical/smrt-ui": "0.40.69"
46
+ "@happyvertical/smrt-assets": "0.41.0",
47
+ "@happyvertical/smrt-core": "0.41.0",
48
+ "@happyvertical/smrt-tenancy": "0.41.0",
49
+ "@happyvertical/smrt-ui": "0.41.0"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "svelte": "^5.56.4"
@@ -60,7 +60,7 @@
60
60
  "typescript": "5.9.3",
61
61
  "vite": "8.1.4",
62
62
  "vitest": "4.1.10",
63
- "@happyvertical/smrt-vitest": "0.40.69"
63
+ "@happyvertical/smrt-vitest": "0.41.0"
64
64
  },
65
65
  "smrtRawPrimitives": "strict",
66
66
  "keywords": [