@happyvertical/smrt-sales 0.57.22 → 0.57.23

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.
Files changed (52) hide show
  1. package/AGENTS.md +8 -0
  2. package/README.md +17 -0
  3. package/agents/agreements.md +32 -0
  4. package/agents/crm.md +150 -0
  5. package/agents/svelte.md +7 -0
  6. package/dist/agreements/collections/AgreementCollection.d.ts +3 -2
  7. package/dist/agreements/collections/AgreementCollection.d.ts.map +1 -1
  8. package/dist/agreements/models/Agreement.d.ts.map +1 -1
  9. package/dist/agreements/services/AgreementExecutionService.d.ts +9 -0
  10. package/dist/agreements/services/AgreementExecutionService.d.ts.map +1 -1
  11. package/dist/agreements/types.d.ts +2 -0
  12. package/dist/agreements/types.d.ts.map +1 -1
  13. package/dist/agreements.js +2 -2
  14. package/dist/chunks/{__smrt-register__-bn1C2AUF.js → __smrt-register__-BRrJGGpG.js} +2 -2
  15. package/dist/chunks/{__smrt-register__-bn1C2AUF.js.map → __smrt-register__-BRrJGGpG.js.map} +1 -1
  16. package/dist/chunks/{agreements-jBiVmttD.js → agreements-RsyRLeDn.js} +35 -16
  17. package/dist/chunks/agreements-RsyRLeDn.js.map +1 -0
  18. package/dist/chunks/{crm-BRICSwf2.js → crm-BENK-hHd.js} +793 -123
  19. package/dist/chunks/crm-BENK-hHd.js.map +1 -0
  20. package/dist/commissions.js +1 -1
  21. package/dist/crm/collections/SalesGovernanceEventCollection.d.ts +7 -0
  22. package/dist/crm/collections/SalesGovernanceEventCollection.d.ts.map +1 -0
  23. package/dist/crm/collections/SalesGovernanceStateCollection.d.ts +13 -0
  24. package/dist/crm/collections/SalesGovernanceStateCollection.d.ts.map +1 -0
  25. package/dist/crm/index.d.ts +6 -0
  26. package/dist/crm/index.d.ts.map +1 -1
  27. package/dist/crm/models/SalesGovernanceEvent.d.ts +19 -0
  28. package/dist/crm/models/SalesGovernanceEvent.d.ts.map +1 -0
  29. package/dist/crm/models/SalesGovernanceState.d.ts +17 -0
  30. package/dist/crm/models/SalesGovernanceState.d.ts.map +1 -0
  31. package/dist/crm/services/SalesGovernanceService.d.ts +68 -0
  32. package/dist/crm/services/SalesGovernanceService.d.ts.map +1 -0
  33. package/dist/crm/services/governance-write.d.ts +4 -0
  34. package/dist/crm/services/governance-write.d.ts.map +1 -0
  35. package/dist/crm/services/sales-governance-types.d.ts +108 -0
  36. package/dist/crm/services/sales-governance-types.d.ts.map +1 -0
  37. package/dist/crm.js +3 -3
  38. package/dist/index.js +4 -4
  39. package/dist/manifest.json +522 -1
  40. package/dist/referrals.js +1 -1
  41. package/dist/smrt-knowledge.json +274 -12
  42. package/dist/svelte/components/SellerGovernancePanel.svelte +65 -0
  43. package/dist/svelte/components/SellerGovernancePanel.svelte.d.ts +13 -0
  44. package/dist/svelte/components/SellerGovernancePanel.svelte.d.ts.map +1 -0
  45. package/dist/svelte/index.d.ts +2 -1
  46. package/dist/svelte/index.d.ts.map +1 -1
  47. package/dist/svelte/index.js +1 -0
  48. package/dist/svelte/types.d.ts +19 -0
  49. package/dist/svelte/types.d.ts.map +1 -1
  50. package/package.json +6 -6
  51. package/dist/chunks/agreements-jBiVmttD.js.map +0 -1
  52. package/dist/chunks/crm-BRICSwf2.js.map +0 -1
@@ -2,7 +2,7 @@
2
2
  "version": "1.0.0",
3
3
  "timestamp": 0,
4
4
  "packageName": "@happyvertical/smrt-sales",
5
- "packageVersion": "0.57.22",
5
+ "packageVersion": "0.57.23",
6
6
  "objects": {
7
7
  "@happyvertical/smrt-sales:AgreementCollection": {
8
8
  "name": "agreementcollection",
@@ -9414,6 +9414,235 @@
9414
9414
  },
9415
9415
  "importPath": "@happyvertical/smrt-sales/crm"
9416
9416
  },
9417
+ "@happyvertical/smrt-sales:SalesGovernanceEventCollection": {
9418
+ "name": "salesgovernanceeventcollection",
9419
+ "className": "SalesGovernanceEventCollection",
9420
+ "qualifiedName": "@happyvertical/smrt-sales:SalesGovernanceEventCollection",
9421
+ "collection": "salesgovernanceevents",
9422
+ "filePath": "/home/runner/work/smrt/smrt/packages/sales/src/crm/collections/SalesGovernanceEventCollection.ts",
9423
+ "packageName": "@happyvertical/smrt-sales",
9424
+ "fields": {},
9425
+ "methods": {},
9426
+ "decoratorConfig": {
9427
+ "api": false,
9428
+ "mcp": false,
9429
+ "cli": false
9430
+ },
9431
+ "extends": "SmrtCollection",
9432
+ "extendsTypeArg": "SalesGovernanceEvent",
9433
+ "exportName": "SalesGovernanceEventCollection",
9434
+ "collectionExportName": "SalesGovernanceEventCollectionCollection",
9435
+ "schema": {
9436
+ "tableName": "sales_governance_events",
9437
+ "ddl": "CREATE TABLE IF NOT EXISTS \"sales_governance_events\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"intent\" TEXT DEFAULT '',\n \"result\" TEXT DEFAULT ''\n);",
9438
+ "columns": {
9439
+ "id": {
9440
+ "type": "UUID",
9441
+ "primaryKey": true,
9442
+ "referenceKind": "id",
9443
+ "notNull": true
9444
+ },
9445
+ "slug": {
9446
+ "type": "TEXT",
9447
+ "notNull": true
9448
+ },
9449
+ "context": {
9450
+ "type": "TEXT",
9451
+ "notNull": true,
9452
+ "default": ""
9453
+ },
9454
+ "created_at": {
9455
+ "type": "TIMESTAMP",
9456
+ "notNull": true,
9457
+ "default": "current_timestamp"
9458
+ },
9459
+ "updated_at": {
9460
+ "type": "TIMESTAMP",
9461
+ "notNull": true,
9462
+ "default": "current_timestamp"
9463
+ },
9464
+ "tenant_id": {
9465
+ "type": "UUID",
9466
+ "referenceKind": "tenantId",
9467
+ "notNull": true,
9468
+ "unique": false
9469
+ },
9470
+ "intent": {
9471
+ "type": "TEXT",
9472
+ "notNull": false,
9473
+ "unique": false,
9474
+ "default": ""
9475
+ },
9476
+ "result": {
9477
+ "type": "TEXT",
9478
+ "notNull": false,
9479
+ "unique": false,
9480
+ "default": ""
9481
+ }
9482
+ },
9483
+ "indexes": [
9484
+ {
9485
+ "name": "sales_governance_events_slug_context_idx",
9486
+ "columns": [
9487
+ "tenant_id",
9488
+ "slug",
9489
+ "context"
9490
+ ],
9491
+ "unique": true
9492
+ },
9493
+ {
9494
+ "name": "sales_governance_events_tenant_id_created_at_idx",
9495
+ "columns": [
9496
+ "tenant_id",
9497
+ "created_at"
9498
+ ]
9499
+ }
9500
+ ],
9501
+ "version": "361ab8b5"
9502
+ },
9503
+ "importPath": "@happyvertical/smrt-sales/crm"
9504
+ },
9505
+ "@happyvertical/smrt-sales:SalesGovernanceStateCollection": {
9506
+ "name": "salesgovernancestatecollection",
9507
+ "className": "SalesGovernanceStateCollection",
9508
+ "qualifiedName": "@happyvertical/smrt-sales:SalesGovernanceStateCollection",
9509
+ "collection": "salesgovernancestates",
9510
+ "filePath": "/home/runner/work/smrt/smrt/packages/sales/src/crm/collections/SalesGovernanceStateCollection.ts",
9511
+ "packageName": "@happyvertical/smrt-sales",
9512
+ "fields": {},
9513
+ "methods": {
9514
+ "ensure": {
9515
+ "name": "ensure",
9516
+ "async": true,
9517
+ "parameters": [
9518
+ {
9519
+ "name": "id",
9520
+ "type": "string",
9521
+ "optional": false
9522
+ }
9523
+ ],
9524
+ "returnType": "Promise<void>",
9525
+ "isStatic": false,
9526
+ "isPublic": true
9527
+ },
9528
+ "lock": {
9529
+ "name": "lock",
9530
+ "async": true,
9531
+ "parameters": [
9532
+ {
9533
+ "name": "id",
9534
+ "type": "string",
9535
+ "optional": false
9536
+ }
9537
+ ],
9538
+ "returnType": "Promise<SalesGovernanceState>",
9539
+ "isStatic": false,
9540
+ "isPublic": true
9541
+ },
9542
+ "compareAndSwap": {
9543
+ "name": "compareAndSwap",
9544
+ "async": true,
9545
+ "parameters": [
9546
+ {
9547
+ "name": "id",
9548
+ "type": "string",
9549
+ "optional": false
9550
+ },
9551
+ {
9552
+ "name": "revision",
9553
+ "type": "number",
9554
+ "optional": false
9555
+ },
9556
+ {
9557
+ "name": "payload",
9558
+ "type": "string",
9559
+ "optional": false
9560
+ }
9561
+ ],
9562
+ "returnType": "Promise<boolean>",
9563
+ "isStatic": false,
9564
+ "isPublic": true
9565
+ }
9566
+ },
9567
+ "decoratorConfig": {
9568
+ "api": false,
9569
+ "mcp": false,
9570
+ "cli": false
9571
+ },
9572
+ "extends": "SmrtCollection",
9573
+ "extendsTypeArg": "SalesGovernanceState",
9574
+ "exportName": "SalesGovernanceStateCollection",
9575
+ "collectionExportName": "SalesGovernanceStateCollectionCollection",
9576
+ "schema": {
9577
+ "tableName": "sales_governance_states",
9578
+ "ddl": "CREATE TABLE IF NOT EXISTS \"sales_governance_states\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"revision\" INTEGER DEFAULT 0,\n \"payload\" TEXT DEFAULT '{}'\n);",
9579
+ "columns": {
9580
+ "id": {
9581
+ "type": "UUID",
9582
+ "primaryKey": true,
9583
+ "referenceKind": "id",
9584
+ "notNull": true
9585
+ },
9586
+ "slug": {
9587
+ "type": "TEXT",
9588
+ "notNull": true
9589
+ },
9590
+ "context": {
9591
+ "type": "TEXT",
9592
+ "notNull": true,
9593
+ "default": ""
9594
+ },
9595
+ "created_at": {
9596
+ "type": "TIMESTAMP",
9597
+ "notNull": true,
9598
+ "default": "current_timestamp"
9599
+ },
9600
+ "updated_at": {
9601
+ "type": "TIMESTAMP",
9602
+ "notNull": true,
9603
+ "default": "current_timestamp"
9604
+ },
9605
+ "tenant_id": {
9606
+ "type": "UUID",
9607
+ "referenceKind": "tenantId",
9608
+ "notNull": true,
9609
+ "unique": false
9610
+ },
9611
+ "revision": {
9612
+ "type": "INTEGER",
9613
+ "notNull": false,
9614
+ "unique": false,
9615
+ "default": 0
9616
+ },
9617
+ "payload": {
9618
+ "type": "TEXT",
9619
+ "notNull": false,
9620
+ "unique": false,
9621
+ "default": "{}"
9622
+ }
9623
+ },
9624
+ "indexes": [
9625
+ {
9626
+ "name": "sales_governance_states_slug_context_idx",
9627
+ "columns": [
9628
+ "tenant_id",
9629
+ "slug",
9630
+ "context"
9631
+ ],
9632
+ "unique": true
9633
+ },
9634
+ {
9635
+ "name": "sales_governance_states_tenant_id_created_at_idx",
9636
+ "columns": [
9637
+ "tenant_id",
9638
+ "created_at"
9639
+ ]
9640
+ }
9641
+ ],
9642
+ "version": "bfdce7d0"
9643
+ },
9644
+ "importPath": "@happyvertical/smrt-sales/crm"
9645
+ },
9417
9646
  "@happyvertical/smrt-sales:SalesRepresentativeCollection": {
9418
9647
  "name": "salesrepresentativecollection",
9419
9648
  "className": "SalesRepresentativeCollection",
@@ -11480,6 +11709,298 @@
11480
11709
  },
11481
11710
  "importPath": "@happyvertical/smrt-sales/crm"
11482
11711
  },
11712
+ "@happyvertical/smrt-sales:SalesGovernanceEvent": {
11713
+ "name": "salesgovernanceevent",
11714
+ "className": "SalesGovernanceEvent",
11715
+ "qualifiedName": "@happyvertical/smrt-sales:SalesGovernanceEvent",
11716
+ "collection": "salesgovernanceevents",
11717
+ "description": "UUID replay fence and immutable audit; no generated mutation surface.",
11718
+ "filePath": "/home/runner/work/smrt/smrt/packages/sales/src/crm/models/SalesGovernanceEvent.ts",
11719
+ "packageName": "@happyvertical/smrt-sales",
11720
+ "fields": {
11721
+ "tenantId": {
11722
+ "type": "text",
11723
+ "required": true,
11724
+ "_meta": {
11725
+ "sqlType": "UUID",
11726
+ "__tenancy": {
11727
+ "isTenantIdField": true,
11728
+ "autoFilter": true,
11729
+ "required": true,
11730
+ "autoPopulate": true,
11731
+ "nullable": false,
11732
+ "mode": "required",
11733
+ "field": "tenantId",
11734
+ "allowSuperAdminBypass": false
11735
+ }
11736
+ }
11737
+ },
11738
+ "intent": {
11739
+ "type": "text",
11740
+ "required": false,
11741
+ "default": ""
11742
+ },
11743
+ "result": {
11744
+ "type": "text",
11745
+ "required": false,
11746
+ "default": ""
11747
+ }
11748
+ },
11749
+ "methods": {
11750
+ "initialize": {
11751
+ "name": "initialize",
11752
+ "async": true,
11753
+ "parameters": [],
11754
+ "returnType": "Promise<this>",
11755
+ "isStatic": false,
11756
+ "isPublic": true
11757
+ },
11758
+ "save": {
11759
+ "name": "save",
11760
+ "async": true,
11761
+ "parameters": [],
11762
+ "returnType": "Promise<this>",
11763
+ "isStatic": false,
11764
+ "isPublic": true
11765
+ },
11766
+ "delete": {
11767
+ "name": "delete",
11768
+ "async": true,
11769
+ "parameters": [],
11770
+ "returnType": "Promise<void>",
11771
+ "isStatic": false,
11772
+ "isPublic": true
11773
+ }
11774
+ },
11775
+ "decoratorConfig": {
11776
+ "api": false,
11777
+ "mcp": false,
11778
+ "cli": false,
11779
+ "tenantScoped": {
11780
+ "mode": "required"
11781
+ },
11782
+ "conflictColumns": [
11783
+ "tenant_id",
11784
+ "slug",
11785
+ "context"
11786
+ ]
11787
+ },
11788
+ "extends": "SmrtObject",
11789
+ "exportName": "SalesGovernanceEvent",
11790
+ "collectionExportName": "SalesGovernanceEventCollection",
11791
+ "validationRules": [],
11792
+ "schema": {
11793
+ "tableName": "sales_governance_events",
11794
+ "ddl": "CREATE TABLE IF NOT EXISTS \"sales_governance_events\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"intent\" TEXT DEFAULT '',\n \"result\" TEXT DEFAULT ''\n);",
11795
+ "columns": {
11796
+ "id": {
11797
+ "type": "UUID",
11798
+ "primaryKey": true,
11799
+ "referenceKind": "id",
11800
+ "notNull": true
11801
+ },
11802
+ "slug": {
11803
+ "type": "TEXT",
11804
+ "notNull": true
11805
+ },
11806
+ "context": {
11807
+ "type": "TEXT",
11808
+ "notNull": true,
11809
+ "default": ""
11810
+ },
11811
+ "created_at": {
11812
+ "type": "TIMESTAMP",
11813
+ "notNull": true,
11814
+ "default": "current_timestamp"
11815
+ },
11816
+ "updated_at": {
11817
+ "type": "TIMESTAMP",
11818
+ "notNull": true,
11819
+ "default": "current_timestamp"
11820
+ },
11821
+ "tenant_id": {
11822
+ "type": "UUID",
11823
+ "referenceKind": "tenantId",
11824
+ "notNull": true,
11825
+ "unique": false
11826
+ },
11827
+ "intent": {
11828
+ "type": "TEXT",
11829
+ "notNull": false,
11830
+ "unique": false,
11831
+ "default": ""
11832
+ },
11833
+ "result": {
11834
+ "type": "TEXT",
11835
+ "notNull": false,
11836
+ "unique": false,
11837
+ "default": ""
11838
+ }
11839
+ },
11840
+ "indexes": [
11841
+ {
11842
+ "name": "sales_governance_events_slug_context_idx",
11843
+ "columns": [
11844
+ "tenant_id",
11845
+ "slug",
11846
+ "context"
11847
+ ],
11848
+ "unique": true
11849
+ },
11850
+ {
11851
+ "name": "sales_governance_events_tenant_id_created_at_idx",
11852
+ "columns": [
11853
+ "tenant_id",
11854
+ "created_at"
11855
+ ]
11856
+ }
11857
+ ],
11858
+ "version": "361ab8b5"
11859
+ },
11860
+ "importPath": "@happyvertical/smrt-sales/crm"
11861
+ },
11862
+ "@happyvertical/smrt-sales:SalesGovernanceState": {
11863
+ "name": "salesgovernancestate",
11864
+ "className": "SalesGovernanceState",
11865
+ "qualifiedName": "@happyvertical/smrt-sales:SalesGovernanceState",
11866
+ "collection": "salesgovernancestates",
11867
+ "description": "Service-owned compare-and-swap fence. Migrate through the SMRT manifest.",
11868
+ "filePath": "/home/runner/work/smrt/smrt/packages/sales/src/crm/models/SalesGovernanceState.ts",
11869
+ "packageName": "@happyvertical/smrt-sales",
11870
+ "fields": {
11871
+ "tenantId": {
11872
+ "type": "text",
11873
+ "required": true,
11874
+ "_meta": {
11875
+ "sqlType": "UUID",
11876
+ "__tenancy": {
11877
+ "isTenantIdField": true,
11878
+ "autoFilter": true,
11879
+ "required": true,
11880
+ "autoPopulate": true,
11881
+ "nullable": false,
11882
+ "mode": "required",
11883
+ "field": "tenantId",
11884
+ "allowSuperAdminBypass": false
11885
+ }
11886
+ }
11887
+ },
11888
+ "revision": {
11889
+ "type": "integer",
11890
+ "required": false,
11891
+ "default": 0
11892
+ },
11893
+ "payload": {
11894
+ "type": "text",
11895
+ "required": false,
11896
+ "default": "{}"
11897
+ }
11898
+ },
11899
+ "methods": {
11900
+ "save": {
11901
+ "name": "save",
11902
+ "async": true,
11903
+ "parameters": [],
11904
+ "returnType": "Promise<this>",
11905
+ "isStatic": false,
11906
+ "isPublic": true
11907
+ },
11908
+ "delete": {
11909
+ "name": "delete",
11910
+ "async": true,
11911
+ "parameters": [],
11912
+ "returnType": "Promise<void>",
11913
+ "isStatic": false,
11914
+ "isPublic": true
11915
+ }
11916
+ },
11917
+ "decoratorConfig": {
11918
+ "api": false,
11919
+ "mcp": false,
11920
+ "cli": false,
11921
+ "tenantScoped": {
11922
+ "mode": "required"
11923
+ },
11924
+ "conflictColumns": [
11925
+ "tenant_id",
11926
+ "slug",
11927
+ "context"
11928
+ ]
11929
+ },
11930
+ "extends": "SmrtObject",
11931
+ "exportName": "SalesGovernanceState",
11932
+ "collectionExportName": "SalesGovernanceStateCollection",
11933
+ "validationRules": [],
11934
+ "schema": {
11935
+ "tableName": "sales_governance_states",
11936
+ "ddl": "CREATE TABLE IF NOT EXISTS \"sales_governance_states\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"revision\" INTEGER DEFAULT 0,\n \"payload\" TEXT DEFAULT '{}'\n);",
11937
+ "columns": {
11938
+ "id": {
11939
+ "type": "UUID",
11940
+ "primaryKey": true,
11941
+ "referenceKind": "id",
11942
+ "notNull": true
11943
+ },
11944
+ "slug": {
11945
+ "type": "TEXT",
11946
+ "notNull": true
11947
+ },
11948
+ "context": {
11949
+ "type": "TEXT",
11950
+ "notNull": true,
11951
+ "default": ""
11952
+ },
11953
+ "created_at": {
11954
+ "type": "TIMESTAMP",
11955
+ "notNull": true,
11956
+ "default": "current_timestamp"
11957
+ },
11958
+ "updated_at": {
11959
+ "type": "TIMESTAMP",
11960
+ "notNull": true,
11961
+ "default": "current_timestamp"
11962
+ },
11963
+ "tenant_id": {
11964
+ "type": "UUID",
11965
+ "referenceKind": "tenantId",
11966
+ "notNull": true,
11967
+ "unique": false
11968
+ },
11969
+ "revision": {
11970
+ "type": "INTEGER",
11971
+ "notNull": false,
11972
+ "unique": false,
11973
+ "default": 0
11974
+ },
11975
+ "payload": {
11976
+ "type": "TEXT",
11977
+ "notNull": false,
11978
+ "unique": false,
11979
+ "default": "{}"
11980
+ }
11981
+ },
11982
+ "indexes": [
11983
+ {
11984
+ "name": "sales_governance_states_slug_context_idx",
11985
+ "columns": [
11986
+ "tenant_id",
11987
+ "slug",
11988
+ "context"
11989
+ ],
11990
+ "unique": true
11991
+ },
11992
+ {
11993
+ "name": "sales_governance_states_tenant_id_created_at_idx",
11994
+ "columns": [
11995
+ "tenant_id",
11996
+ "created_at"
11997
+ ]
11998
+ }
11999
+ ],
12000
+ "version": "bfdce7d0"
12001
+ },
12002
+ "importPath": "@happyvertical/smrt-sales/crm"
12003
+ },
11483
12004
  "@happyvertical/smrt-sales:SalesRepresentative": {
11484
12005
  "name": "salesrepresentative",
11485
12006
  "className": "SalesRepresentative",
package/dist/referrals.js CHANGED
@@ -1,3 +1,3 @@
1
- import "./chunks/__smrt-register__-bn1C2AUF.js";
1
+ import "./chunks/__smrt-register__-BRrJGGpG.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-BRdTkEFt.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 };