@happyvertical/smrt-sales 0.57.37 → 0.57.39
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/agreements/models/Agreement.d.ts +2 -2
- package/dist/agreements/models/Agreement.d.ts.map +1 -1
- package/dist/agreements/models/AgreementExecution.d.ts +2 -2
- package/dist/agreements/models/AgreementExecution.d.ts.map +1 -1
- package/dist/agreements/models/AgreementExecutionEvent.d.ts +2 -2
- package/dist/agreements/models/AgreementExecutionEvent.d.ts.map +1 -1
- package/dist/agreements/models/ExecutedAgreement.d.ts +2 -2
- package/dist/agreements/models/ExecutedAgreement.d.ts.map +1 -1
- package/dist/agreements.js +2 -2
- package/dist/chunks/__smrt-register__-B1Rg_X-v.js +6 -0
- package/dist/chunks/__smrt-register__-B1Rg_X-v.js.map +1 -0
- package/dist/chunks/{agreements-RsyRLeDn.js → agreements-C8rxIVGB.js} +9 -9
- package/dist/chunks/agreements-C8rxIVGB.js.map +1 -0
- package/dist/chunks/{commissions-DSVGf1ZX.js → commissions-B1WnBKsn.js} +15 -15
- package/dist/chunks/commissions-B1WnBKsn.js.map +1 -0
- package/dist/chunks/{crm-BENK-hHd.js → crm-Bzk65hv_.js} +13 -13
- package/dist/chunks/crm-Bzk65hv_.js.map +1 -0
- package/dist/chunks/{referrals-o8qZG5fw.js → referrals-DE0tKm5G.js} +12 -12
- package/dist/chunks/referrals-DE0tKm5G.js.map +1 -0
- package/dist/commissions/models/Commission.d.ts +2 -2
- package/dist/commissions/models/Commission.d.ts.map +1 -1
- package/dist/commissions/models/CommissionAdjustment.d.ts +2 -2
- package/dist/commissions/models/CommissionAdjustment.d.ts.map +1 -1
- package/dist/commissions/models/CommissionPayout.d.ts +2 -2
- package/dist/commissions/models/CommissionPayout.d.ts.map +1 -1
- package/dist/commissions/models/CommissionPlan.d.ts +2 -2
- package/dist/commissions/models/CommissionPlan.d.ts.map +1 -1
- package/dist/commissions/models/Earner.d.ts +2 -2
- package/dist/commissions/models/Earner.d.ts.map +1 -1
- package/dist/commissions/models/EarnerSourceAttribution.d.ts +2 -2
- package/dist/commissions/models/EarnerSourceAttribution.d.ts.map +1 -1
- package/dist/commissions/models/EarningEvent.d.ts +2 -2
- package/dist/commissions/models/EarningEvent.d.ts.map +1 -1
- package/dist/commissions.js +2 -2
- package/dist/crm/models/Lead.d.ts +2 -2
- package/dist/crm/models/Lead.d.ts.map +1 -1
- package/dist/crm/models/Opportunity.d.ts +2 -2
- package/dist/crm/models/Opportunity.d.ts.map +1 -1
- package/dist/crm/models/OpportunityConversion.d.ts +2 -2
- package/dist/crm/models/OpportunityConversion.d.ts.map +1 -1
- package/dist/crm/models/SalesActivity.d.ts +2 -2
- package/dist/crm/models/SalesActivity.d.ts.map +1 -1
- package/dist/crm/models/SalesGovernanceEvent.d.ts +2 -2
- package/dist/crm/models/SalesGovernanceEvent.d.ts.map +1 -1
- package/dist/crm/models/SalesGovernanceState.d.ts +2 -2
- package/dist/crm/models/SalesGovernanceState.d.ts.map +1 -1
- package/dist/crm.js +2 -2
- package/dist/index.js +5 -5
- package/dist/manifest.json +155 -23
- package/dist/referrals/models/AttributionPolicy.d.ts +2 -2
- package/dist/referrals/models/AttributionPolicy.d.ts.map +1 -1
- package/dist/referrals/models/Referral.d.ts +2 -2
- package/dist/referrals/models/Referral.d.ts.map +1 -1
- package/dist/referrals/models/ReferralAgreement.d.ts +2 -2
- package/dist/referrals/models/ReferralAgreement.d.ts.map +1 -1
- package/dist/referrals/models/ReferralLink.d.ts +2 -2
- package/dist/referrals/models/ReferralLink.d.ts.map +1 -1
- package/dist/referrals/models/ReferralTermSnapshot.d.ts +2 -2
- package/dist/referrals/models/ReferralTermSnapshot.d.ts.map +1 -1
- package/dist/referrals.js +2 -2
- package/dist/smrt-knowledge.json +69 -3
- package/package.json +8 -8
- package/dist/chunks/__smrt-register__-o8Dm_Ogl.js +0 -6
- package/dist/chunks/__smrt-register__-o8Dm_Ogl.js.map +0 -1
- package/dist/chunks/agreements-RsyRLeDn.js.map +0 -1
- package/dist/chunks/commissions-DSVGf1ZX.js.map +0 -1
- package/dist/chunks/crm-BENK-hHd.js.map +0 -1
- package/dist/chunks/referrals-o8qZG5fw.js.map +0 -1
package/dist/manifest.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"version": "1.0.0",
|
|
3
3
|
"timestamp": 0,
|
|
4
4
|
"packageName": "@happyvertical/smrt-sales",
|
|
5
|
-
"packageVersion": "0.57.
|
|
5
|
+
"packageVersion": "0.57.39",
|
|
6
6
|
"objects": {
|
|
7
7
|
"@happyvertical/smrt-sales:AgreementCollection": {
|
|
8
8
|
"name": "agreementcollection",
|
|
@@ -1619,7 +1619,13 @@
|
|
|
1619
1619
|
"save": {
|
|
1620
1620
|
"name": "save",
|
|
1621
1621
|
"async": true,
|
|
1622
|
-
"parameters": [
|
|
1622
|
+
"parameters": [
|
|
1623
|
+
{
|
|
1624
|
+
"name": "options",
|
|
1625
|
+
"type": "SmrtSaveOptions",
|
|
1626
|
+
"optional": true
|
|
1627
|
+
}
|
|
1628
|
+
],
|
|
1623
1629
|
"returnType": "Promise<this>",
|
|
1624
1630
|
"isStatic": false,
|
|
1625
1631
|
"isPublic": true
|
|
@@ -2083,7 +2089,13 @@
|
|
|
2083
2089
|
"save": {
|
|
2084
2090
|
"name": "save",
|
|
2085
2091
|
"async": true,
|
|
2086
|
-
"parameters": [
|
|
2092
|
+
"parameters": [
|
|
2093
|
+
{
|
|
2094
|
+
"name": "options",
|
|
2095
|
+
"type": "SmrtSaveOptions",
|
|
2096
|
+
"optional": true
|
|
2097
|
+
}
|
|
2098
|
+
],
|
|
2087
2099
|
"returnType": "Promise<this>",
|
|
2088
2100
|
"isStatic": false,
|
|
2089
2101
|
"isPublic": true
|
|
@@ -2555,7 +2567,13 @@
|
|
|
2555
2567
|
"save": {
|
|
2556
2568
|
"name": "save",
|
|
2557
2569
|
"async": true,
|
|
2558
|
-
"parameters": [
|
|
2570
|
+
"parameters": [
|
|
2571
|
+
{
|
|
2572
|
+
"name": "options",
|
|
2573
|
+
"type": "SmrtSaveOptions",
|
|
2574
|
+
"optional": true
|
|
2575
|
+
}
|
|
2576
|
+
],
|
|
2559
2577
|
"returnType": "Promise<this>",
|
|
2560
2578
|
"isStatic": false,
|
|
2561
2579
|
"isPublic": true
|
|
@@ -2919,7 +2937,13 @@
|
|
|
2919
2937
|
"save": {
|
|
2920
2938
|
"name": "save",
|
|
2921
2939
|
"async": true,
|
|
2922
|
-
"parameters": [
|
|
2940
|
+
"parameters": [
|
|
2941
|
+
{
|
|
2942
|
+
"name": "options",
|
|
2943
|
+
"type": "SmrtSaveOptions",
|
|
2944
|
+
"optional": true
|
|
2945
|
+
}
|
|
2946
|
+
],
|
|
2923
2947
|
"returnType": "Promise<this>",
|
|
2924
2948
|
"isStatic": false,
|
|
2925
2949
|
"isPublic": true
|
|
@@ -5574,7 +5598,13 @@
|
|
|
5574
5598
|
"save": {
|
|
5575
5599
|
"name": "save",
|
|
5576
5600
|
"async": true,
|
|
5577
|
-
"parameters": [
|
|
5601
|
+
"parameters": [
|
|
5602
|
+
{
|
|
5603
|
+
"name": "options",
|
|
5604
|
+
"type": "SmrtSaveOptions",
|
|
5605
|
+
"optional": true
|
|
5606
|
+
}
|
|
5607
|
+
],
|
|
5578
5608
|
"returnType": "Promise<this>",
|
|
5579
5609
|
"isStatic": false,
|
|
5580
5610
|
"isPublic": true
|
|
@@ -5990,7 +6020,13 @@
|
|
|
5990
6020
|
"save": {
|
|
5991
6021
|
"name": "save",
|
|
5992
6022
|
"async": true,
|
|
5993
|
-
"parameters": [
|
|
6023
|
+
"parameters": [
|
|
6024
|
+
{
|
|
6025
|
+
"name": "options",
|
|
6026
|
+
"type": "SmrtSaveOptions",
|
|
6027
|
+
"optional": true
|
|
6028
|
+
}
|
|
6029
|
+
],
|
|
5994
6030
|
"returnType": "Promise<this>",
|
|
5995
6031
|
"isStatic": false,
|
|
5996
6032
|
"isPublic": true
|
|
@@ -6657,7 +6693,13 @@
|
|
|
6657
6693
|
"save": {
|
|
6658
6694
|
"name": "save",
|
|
6659
6695
|
"async": true,
|
|
6660
|
-
"parameters": [
|
|
6696
|
+
"parameters": [
|
|
6697
|
+
{
|
|
6698
|
+
"name": "options",
|
|
6699
|
+
"type": "SmrtSaveOptions",
|
|
6700
|
+
"optional": true
|
|
6701
|
+
}
|
|
6702
|
+
],
|
|
6661
6703
|
"returnType": "Promise<this>",
|
|
6662
6704
|
"isStatic": false,
|
|
6663
6705
|
"isPublic": true
|
|
@@ -7151,7 +7193,13 @@
|
|
|
7151
7193
|
"save": {
|
|
7152
7194
|
"name": "save",
|
|
7153
7195
|
"async": true,
|
|
7154
|
-
"parameters": [
|
|
7196
|
+
"parameters": [
|
|
7197
|
+
{
|
|
7198
|
+
"name": "options",
|
|
7199
|
+
"type": "SmrtSaveOptions",
|
|
7200
|
+
"optional": true
|
|
7201
|
+
}
|
|
7202
|
+
],
|
|
7155
7203
|
"returnType": "Promise<this>",
|
|
7156
7204
|
"isStatic": false,
|
|
7157
7205
|
"isPublic": true
|
|
@@ -7517,7 +7565,13 @@
|
|
|
7517
7565
|
"save": {
|
|
7518
7566
|
"name": "save",
|
|
7519
7567
|
"async": true,
|
|
7520
|
-
"parameters": [
|
|
7568
|
+
"parameters": [
|
|
7569
|
+
{
|
|
7570
|
+
"name": "options",
|
|
7571
|
+
"type": "SmrtSaveOptions",
|
|
7572
|
+
"optional": true
|
|
7573
|
+
}
|
|
7574
|
+
],
|
|
7521
7575
|
"returnType": "Promise<this>",
|
|
7522
7576
|
"isStatic": false,
|
|
7523
7577
|
"isPublic": true
|
|
@@ -7775,7 +7829,13 @@
|
|
|
7775
7829
|
"save": {
|
|
7776
7830
|
"name": "save",
|
|
7777
7831
|
"async": true,
|
|
7778
|
-
"parameters": [
|
|
7832
|
+
"parameters": [
|
|
7833
|
+
{
|
|
7834
|
+
"name": "options",
|
|
7835
|
+
"type": "SmrtSaveOptions",
|
|
7836
|
+
"optional": true
|
|
7837
|
+
}
|
|
7838
|
+
],
|
|
7779
7839
|
"returnType": "Promise<this>",
|
|
7780
7840
|
"isStatic": false,
|
|
7781
7841
|
"isPublic": true
|
|
@@ -8051,7 +8111,13 @@
|
|
|
8051
8111
|
"save": {
|
|
8052
8112
|
"name": "save",
|
|
8053
8113
|
"async": true,
|
|
8054
|
-
"parameters": [
|
|
8114
|
+
"parameters": [
|
|
8115
|
+
{
|
|
8116
|
+
"name": "options",
|
|
8117
|
+
"type": "SmrtSaveOptions",
|
|
8118
|
+
"optional": true
|
|
8119
|
+
}
|
|
8120
|
+
],
|
|
8055
8121
|
"returnType": "Promise<this>",
|
|
8056
8122
|
"isStatic": false,
|
|
8057
8123
|
"isPublic": true
|
|
@@ -10115,7 +10181,13 @@
|
|
|
10115
10181
|
"save": {
|
|
10116
10182
|
"name": "save",
|
|
10117
10183
|
"async": true,
|
|
10118
|
-
"parameters": [
|
|
10184
|
+
"parameters": [
|
|
10185
|
+
{
|
|
10186
|
+
"name": "options",
|
|
10187
|
+
"type": "SmrtSaveOptions",
|
|
10188
|
+
"optional": true
|
|
10189
|
+
}
|
|
10190
|
+
],
|
|
10119
10191
|
"returnType": "Promise<this>",
|
|
10120
10192
|
"isStatic": false,
|
|
10121
10193
|
"isPublic": true
|
|
@@ -10534,7 +10606,13 @@
|
|
|
10534
10606
|
"save": {
|
|
10535
10607
|
"name": "save",
|
|
10536
10608
|
"async": true,
|
|
10537
|
-
"parameters": [
|
|
10609
|
+
"parameters": [
|
|
10610
|
+
{
|
|
10611
|
+
"name": "options",
|
|
10612
|
+
"type": "SmrtSaveOptions",
|
|
10613
|
+
"optional": true
|
|
10614
|
+
}
|
|
10615
|
+
],
|
|
10538
10616
|
"returnType": "Promise<this>",
|
|
10539
10617
|
"isStatic": false,
|
|
10540
10618
|
"isPublic": true
|
|
@@ -10866,7 +10944,13 @@
|
|
|
10866
10944
|
"save": {
|
|
10867
10945
|
"name": "save",
|
|
10868
10946
|
"async": true,
|
|
10869
|
-
"parameters": [
|
|
10947
|
+
"parameters": [
|
|
10948
|
+
{
|
|
10949
|
+
"name": "options",
|
|
10950
|
+
"type": "SmrtSaveOptions",
|
|
10951
|
+
"optional": true
|
|
10952
|
+
}
|
|
10953
|
+
],
|
|
10870
10954
|
"returnType": "Promise<this>",
|
|
10871
10955
|
"isStatic": false,
|
|
10872
10956
|
"isPublic": true
|
|
@@ -11668,7 +11752,13 @@
|
|
|
11668
11752
|
"save": {
|
|
11669
11753
|
"name": "save",
|
|
11670
11754
|
"async": true,
|
|
11671
|
-
"parameters": [
|
|
11755
|
+
"parameters": [
|
|
11756
|
+
{
|
|
11757
|
+
"name": "options",
|
|
11758
|
+
"type": "SmrtSaveOptions",
|
|
11759
|
+
"optional": true
|
|
11760
|
+
}
|
|
11761
|
+
],
|
|
11672
11762
|
"returnType": "Promise<this>",
|
|
11673
11763
|
"isStatic": false,
|
|
11674
11764
|
"isPublic": true
|
|
@@ -11868,7 +11958,13 @@
|
|
|
11868
11958
|
"save": {
|
|
11869
11959
|
"name": "save",
|
|
11870
11960
|
"async": true,
|
|
11871
|
-
"parameters": [
|
|
11961
|
+
"parameters": [
|
|
11962
|
+
{
|
|
11963
|
+
"name": "options",
|
|
11964
|
+
"type": "SmrtSaveOptions",
|
|
11965
|
+
"optional": true
|
|
11966
|
+
}
|
|
11967
|
+
],
|
|
11872
11968
|
"returnType": "Promise<this>",
|
|
11873
11969
|
"isStatic": false,
|
|
11874
11970
|
"isPublic": true
|
|
@@ -12010,7 +12106,13 @@
|
|
|
12010
12106
|
"save": {
|
|
12011
12107
|
"name": "save",
|
|
12012
12108
|
"async": true,
|
|
12013
|
-
"parameters": [
|
|
12109
|
+
"parameters": [
|
|
12110
|
+
{
|
|
12111
|
+
"name": "options",
|
|
12112
|
+
"type": "SmrtSaveOptions",
|
|
12113
|
+
"optional": true
|
|
12114
|
+
}
|
|
12115
|
+
],
|
|
12014
12116
|
"returnType": "Promise<this>",
|
|
12015
12117
|
"isStatic": false,
|
|
12016
12118
|
"isPublic": true
|
|
@@ -15113,7 +15215,13 @@
|
|
|
15113
15215
|
"save": {
|
|
15114
15216
|
"name": "save",
|
|
15115
15217
|
"async": true,
|
|
15116
|
-
"parameters": [
|
|
15218
|
+
"parameters": [
|
|
15219
|
+
{
|
|
15220
|
+
"name": "options",
|
|
15221
|
+
"type": "SmrtSaveOptions",
|
|
15222
|
+
"optional": true
|
|
15223
|
+
}
|
|
15224
|
+
],
|
|
15117
15225
|
"returnType": "Promise<this>",
|
|
15118
15226
|
"isStatic": false,
|
|
15119
15227
|
"isPublic": true
|
|
@@ -15521,7 +15629,13 @@
|
|
|
15521
15629
|
"save": {
|
|
15522
15630
|
"name": "save",
|
|
15523
15631
|
"async": true,
|
|
15524
|
-
"parameters": [
|
|
15632
|
+
"parameters": [
|
|
15633
|
+
{
|
|
15634
|
+
"name": "options",
|
|
15635
|
+
"type": "SmrtSaveOptions",
|
|
15636
|
+
"optional": true
|
|
15637
|
+
}
|
|
15638
|
+
],
|
|
15525
15639
|
"returnType": "Promise<this>",
|
|
15526
15640
|
"isStatic": false,
|
|
15527
15641
|
"isPublic": true
|
|
@@ -15962,7 +16076,13 @@
|
|
|
15962
16076
|
"save": {
|
|
15963
16077
|
"name": "save",
|
|
15964
16078
|
"async": true,
|
|
15965
|
-
"parameters": [
|
|
16079
|
+
"parameters": [
|
|
16080
|
+
{
|
|
16081
|
+
"name": "options",
|
|
16082
|
+
"type": "SmrtSaveOptions",
|
|
16083
|
+
"optional": true
|
|
16084
|
+
}
|
|
16085
|
+
],
|
|
15966
16086
|
"returnType": "Promise<this>",
|
|
15967
16087
|
"isStatic": false,
|
|
15968
16088
|
"isPublic": true
|
|
@@ -16549,7 +16669,13 @@
|
|
|
16549
16669
|
"save": {
|
|
16550
16670
|
"name": "save",
|
|
16551
16671
|
"async": true,
|
|
16552
|
-
"parameters": [
|
|
16672
|
+
"parameters": [
|
|
16673
|
+
{
|
|
16674
|
+
"name": "options",
|
|
16675
|
+
"type": "SmrtSaveOptions",
|
|
16676
|
+
"optional": true
|
|
16677
|
+
}
|
|
16678
|
+
],
|
|
16553
16679
|
"returnType": "Promise<this>",
|
|
16554
16680
|
"isStatic": false,
|
|
16555
16681
|
"isPublic": true
|
|
@@ -17096,7 +17222,13 @@
|
|
|
17096
17222
|
"save": {
|
|
17097
17223
|
"name": "save",
|
|
17098
17224
|
"async": true,
|
|
17099
|
-
"parameters": [
|
|
17225
|
+
"parameters": [
|
|
17226
|
+
{
|
|
17227
|
+
"name": "options",
|
|
17228
|
+
"type": "SmrtSaveOptions",
|
|
17229
|
+
"optional": true
|
|
17230
|
+
}
|
|
17231
|
+
],
|
|
17100
17232
|
"returnType": "Promise<this>",
|
|
17101
17233
|
"isStatic": false,
|
|
17102
17234
|
"isPublic": true
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
*
|
|
18
18
|
* @packageDocumentation
|
|
19
19
|
*/
|
|
20
|
-
import { SmrtObject } from '@happyvertical/smrt-core';
|
|
20
|
+
import { SmrtObject, type SmrtSaveOptions } from '@happyvertical/smrt-core';
|
|
21
21
|
import { type AttributionConflictBehavior, type AttributionCreditMode, type AttributionPolicyOptions, type AttributionPolicyStatus } from '../types.js';
|
|
22
22
|
/**
|
|
23
23
|
* Validate a policy's terms. Throws a descriptive error on the first
|
|
@@ -121,7 +121,7 @@ export declare class AttributionPolicy extends SmrtObject {
|
|
|
121
121
|
* every policy-defining field must match the captured snapshot. Amend
|
|
122
122
|
* by inserting a new version instead.
|
|
123
123
|
*/
|
|
124
|
-
save(): Promise<this>;
|
|
124
|
+
save(options?: SmrtSaveOptions): Promise<this>;
|
|
125
125
|
/**
|
|
126
126
|
* Refuse a save whose `(tenantId, policyKey, version)` natural key
|
|
127
127
|
* already belongs to a DIFFERENT row — the frozen-identity guard is
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttributionPolicy.d.ts","sourceRoot":"","sources":["../../../src/referrals/models/AttributionPolicy.ts"],"names":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
25
|
+
import { SmrtObject, type SmrtSaveOptions } from '@happyvertical/smrt-core';
|
|
26
26
|
import type { ReferralOptions, ReferralStatus } from '../types.js';
|
|
27
27
|
export declare class Referral extends SmrtObject {
|
|
28
28
|
/** Tenant ID for multi-tenant isolation (nullable → global referrals). */
|
|
@@ -121,7 +121,7 @@ export declare class Referral extends SmrtObject {
|
|
|
121
121
|
* `status` (e.g. un-expiring a referral or skipping straight to
|
|
122
122
|
* qualified) is rejected regardless of how the instance was constructed.
|
|
123
123
|
*/
|
|
124
|
-
save(): Promise<this>;
|
|
124
|
+
save(options?: SmrtSaveOptions): Promise<this>;
|
|
125
125
|
/**
|
|
126
126
|
* Resolve the AUTHORITATIVE prior status from the database; fall back to
|
|
127
127
|
* the loaded-status WeakMap only when the DB is unavailable (commerce
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Referral.d.ts","sourceRoot":"","sources":["../../../src/referrals/models/Referral.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,
|
|
1
|
+
{"version":3,"file":"Referral.d.ts","sourceRoot":"","sources":["../../../src/referrals/models/Referral.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,EAGL,UAAU,EACV,KAAK,eAAe,EAErB,MAAM,0BAA0B,CAAC;AAElC,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAuBnE,qBAQa,QAAS,SAAQ,UAAU;IACtC,0EAA0E;IAE1E,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAQ;IAE/B,6DAA6D;IAG7D,UAAU,EAAE,MAAM,CAAM;IAExB,6DAA6D;IAG7D,SAAS,EAAE,MAAM,CAAM;IAEvB,2EAA2E;IAC3E,SAAS,EAAE,MAAM,CAAM;IAEvB,8EAA8E;IAC9E,aAAa,EAAE,MAAM,CAAK;IAE1B;;;OAGG;IAKH,MAAM,EAAE,c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O,CAAC,sBAAsB;IAY9B,OAAO,CAAC,MAAM,CAAC,UAAU;CAS1B;AAED,eAAe,QAAQ,CAAC"}
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
*
|
|
23
23
|
* @packageDocumentation
|
|
24
24
|
*/
|
|
25
|
-
import { SmrtObject } from '@happyvertical/smrt-core';
|
|
25
|
+
import { SmrtObject, type SmrtSaveOptions } from '@happyvertical/smrt-core';
|
|
26
26
|
import type { ReferralAgreementApprovalMode, ReferralAgreementOptions, ReferralAgreementStatus } from '../types.js';
|
|
27
27
|
export declare class ReferralAgreement extends SmrtObject {
|
|
28
28
|
/** Tenant ID for multi-tenant isolation (nullable → global agreements). */
|
|
@@ -117,7 +117,7 @@ export declare class ReferralAgreement extends SmrtObject {
|
|
|
117
117
|
*
|
|
118
118
|
* Activating saves also re-require {@link commissionPlanKey}.
|
|
119
119
|
*/
|
|
120
|
-
save(): Promise<this>;
|
|
120
|
+
save(options?: SmrtSaveOptions): Promise<this>;
|
|
121
121
|
/**
|
|
122
122
|
* Refuse a save whose `(referrerId, programId, version)` natural key
|
|
123
123
|
* already belongs to a DIFFERENT row — the frozen-terms guard is
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReferralAgreement.d.ts","sourceRoot":"","sources":["../../../src/referrals/models/ReferralAgreement.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,
|
|
1
|
+
{"version":3,"file":"ReferralAgreement.d.ts","sourceRoot":"","sources":["../../../src/referrals/models/ReferralAgreement.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,EAEL,UAAU,EACV,KAAK,eAAe,EAErB,MAAM,0BAA0B,CAAC;AAElC,OAAO,KAAK,EACV,6BAA6B,EAC7B,wBAAwB,EACxB,uBAAuB,EACxB,MAAM,aAAa,CAAC;AA0BrB,qBAWa,iBAAkB,SAAQ,UAAU;IAC/C,2EA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,MAAM,GAAG,IAAI;IAwBxD,oEAAoE;IACpE,SAAS,IAAI,IAAI;IASjB,2DAA2D;IAC3D,SAAS,IAAI,IAAI;IAWjB;;;;;;;;;;OAUG;IACY,IAAI,CAAC,OAAO,CAAC,EAAE,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC;IAyB7D;;;;;;;;OAQG;YACW,wBAAwB;YA8BxB,kBAAkB;IAgBhC,OAAO,CAAC,sBAAsB;IAe9B,OAAO,CAAC,0BAA0B;IAclC,OAAO,CAAC,oBAAoB;IAkB5B,OAAO,CAAC,MAAM,CAAC,UAAU;CAS1B;AAED,eAAe,iBAAiB,CAAC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* ReferralLink — shareable link/code per Referrer + Program.
|
|
3
3
|
* @packageDocumentation
|
|
4
4
|
*/
|
|
5
|
-
import { SmrtObject } from '@happyvertical/smrt-core';
|
|
5
|
+
import { SmrtObject, type SmrtSaveOptions } from '@happyvertical/smrt-core';
|
|
6
6
|
import type { ReferralLinkOptions, ReferralLinkStatus } from '../types.js';
|
|
7
7
|
/**
|
|
8
8
|
* Assert that a target URL is an absolute http/https URL. Exported for the
|
|
@@ -70,7 +70,7 @@ export declare class ReferralLink extends SmrtObject {
|
|
|
70
70
|
* referral-code hijack). Mint codes through
|
|
71
71
|
* `ReferralLinkCollection.createWithUniqueCode()`.
|
|
72
72
|
*/
|
|
73
|
-
save(): Promise<this>;
|
|
73
|
+
save(options?: SmrtSaveOptions): Promise<this>;
|
|
74
74
|
}
|
|
75
75
|
export default ReferralLink;
|
|
76
76
|
//# sourceMappingURL=ReferralLink.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReferralLink.d.ts","sourceRoot":"","sources":["../../../src/referrals/models/ReferralLink.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,
|
|
1
|
+
{"version":3,"file":"ReferralLink.d.ts","sourceRoot":"","sources":["../../../src/referrals/models/ReferralLink.ts"],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import { SmrtObject, type SmrtSaveOptions } from '@happyvertical/smrt-core';
|
|
22
22
|
import type { CommissionPlanComponent } from '../../commissions/index.js';
|
|
23
23
|
import type { ReferralAgreementApprovalMode, ReferralTermSnapshotOptions } from '../types.js';
|
|
24
24
|
export declare class ReferralTermSnapshot extends SmrtObject {
|
|
@@ -74,7 +74,7 @@ export declare class ReferralTermSnapshot extends SmrtObject {
|
|
|
74
74
|
* (e.g. `create({ id, _skipLoad: true })`) is rejected outright — blind
|
|
75
75
|
* overwrites can't sidestep the comparison.
|
|
76
76
|
*/
|
|
77
|
-
save(): Promise<this>;
|
|
77
|
+
save(options?: SmrtSaveOptions): Promise<this>;
|
|
78
78
|
private serializeState;
|
|
79
79
|
}
|
|
80
80
|
export default ReferralTermSnapshot;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReferralTermSnapshot.d.ts","sourceRoot":"","sources":["../../../src/referrals/models/ReferralTermSnapshot.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,
|
|
1
|
+
{"version":3,"file":"ReferralTermSnapshot.d.ts","sourceRoot":"","sources":["../../../src/referrals/models/ReferralTermSnapshot.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAEL,UAAU,EACV,KAAK,eAAe,EAErB,MAAM,0BAA0B,CAAC;AAElC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAC1E,OAAO,KAAK,EACV,6BAA6B,EAC7B,2BAA2B,EAC5B,MAAM,aAAa,CAAC;AAUrB,qBAQa,oBAAqB,SAAQ,UAAU;IAClD,qEAAqE;IAErE,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAQ;IAE/B,oDAAoD;IAEpD,UAAU,EAAE,MAAM,CAAM;IAExB,uDAAuD;IACvD,WAAW,EAAE,MAAM,CAAM;IAEzB,sDAAsD;IACtD,gBAAgB,EAAE,MAAM,CAAK;IAE7B,0DAA0D;IAC1D,OAAO,EAAE,MAAM,CAAM;IAErB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAK;IAExB,oEAAoE;IACpE,SAAS,EAAE,MAAM,CAAM;IAEvB,wEAAwE;IACxE,aAAa,EAAE,MAAM,CAAK;IAE1B;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAQ;IAE1B,6DAA6D;IAC7D,QAAQ,EAAE,MAAM,CAAS;IAEzB,wDAAwD;IACxD,YAAY,EAAE,MAAM,CAAK;IAEzB,+CAA+C;IAC/C,YAAY,EAAE,6BAA6B,CAAY;IAEvD,yEAAyE;IACzE,QAAQ,EAAE,MAAM,CAAQ;gBAEZ,OAAO,GAAE,2BAAgC;IAuBrD,0EAA0E;IAC3D,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;IAQ1C;;;OAGG;IACH,aAAa,IAAI,uBAAuB,EAAE;IAU1C,iEAAiE;IACjE,WAAW,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAYtC;;;;;;;;OAQG;IACY,IAAI,CAAC,OAAO,CAAC,EAAE,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC;IAuB7D,OAAO,CAAC,cAAc;CAkBvB;AAED,eAAe,oBAAoB,CAAC"}
|
package/dist/referrals.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "./chunks/__smrt-register__-
|
|
2
|
-
import { A as ReferralClickOperationCollection, B as ATTRIBUTION_POLICY_STATUSES, C as generateReferralCode, D as assertHttpTargetUrl, E as ReferralLink, F as AttributionPolicy, G as REFERRAL_PROGRAM_STATUSES, H as REFERRAL_AGREEMENT_APPROVAL_MODES, I as validateAttributionPolicyTerms, J as REFERRER_STATUSES, K as REFERRAL_STATUSES, L as ATTRIBUTION_CONFLICT_BEHAVIORS, M as ReferralAgreementCollection, N as ReferralAgreement, O as ReferralCollection, P as AttributionPolicyCollection, R as ATTRIBUTION_CREDIT_MODES, S as ReferralLinkCollection, T as ReferralTouch, U as REFERRAL_AGREEMENT_STATUSES, V as ATTRIBUTION_RESOLUTION_MODES, W as REFERRAL_LINK_STATUSES, X as AttributionException, Y as AttributionExceptionCollection, _ as MAX_REFERRAL_CLICK_IDEMPOTENCY_KEY_BYTES, a as ReferralAgreementExecutionService, b as ReferralClickReplayConflictError, c as AffiliatesReferralsRecipe, d as ReferralTermSnapshotCollection, f as ReferralTermSnapshot, g as MAX_CODE_GENERATION_ATTEMPTS, h as DEFAULT_REFERRAL_CLICK_EVIDENCE_MAX_BYTES, i as REFERRAL_AGREEMENT_SOURCE_KIND, j as ReferralClickOperation, k as Referral, l as ReferrerCollection, m as ReferralProgram, n as REFERRAL_TERMS_SNAPSHOT_KIND, o as AttributionService, p as ReferralProgramCollection, q as REFERRAL_TOUCH_KINDS, r as ReferralCommissionService, s as QualifiedReferralOverrideError, t as ReferralQualificationService, u as Referrer, v as REFERRAL_CODE_ALPHABET, w as ReferralTouchCollection, x as ReferralClickValidationError, y as REFERRAL_CODE_LENGTH, z as ATTRIBUTION_EXCEPTION_STATUSES } from "./chunks/referrals-
|
|
1
|
+
import "./chunks/__smrt-register__-B1Rg_X-v.js";
|
|
2
|
+
import { A as ReferralClickOperationCollection, B as ATTRIBUTION_POLICY_STATUSES, C as generateReferralCode, D as assertHttpTargetUrl, E as ReferralLink, F as AttributionPolicy, G as REFERRAL_PROGRAM_STATUSES, H as REFERRAL_AGREEMENT_APPROVAL_MODES, I as validateAttributionPolicyTerms, J as REFERRER_STATUSES, K as REFERRAL_STATUSES, L as ATTRIBUTION_CONFLICT_BEHAVIORS, M as ReferralAgreementCollection, N as ReferralAgreement, O as ReferralCollection, P as AttributionPolicyCollection, R as ATTRIBUTION_CREDIT_MODES, S as ReferralLinkCollection, T as ReferralTouch, U as REFERRAL_AGREEMENT_STATUSES, V as ATTRIBUTION_RESOLUTION_MODES, W as REFERRAL_LINK_STATUSES, X as AttributionException, Y as AttributionExceptionCollection, _ as MAX_REFERRAL_CLICK_IDEMPOTENCY_KEY_BYTES, a as ReferralAgreementExecutionService, b as ReferralClickReplayConflictError, c as AffiliatesReferralsRecipe, d as ReferralTermSnapshotCollection, f as ReferralTermSnapshot, g as MAX_CODE_GENERATION_ATTEMPTS, h as DEFAULT_REFERRAL_CLICK_EVIDENCE_MAX_BYTES, i as REFERRAL_AGREEMENT_SOURCE_KIND, j as ReferralClickOperation, k as Referral, l as ReferrerCollection, m as ReferralProgram, n as REFERRAL_TERMS_SNAPSHOT_KIND, o as AttributionService, p as ReferralProgramCollection, q as REFERRAL_TOUCH_KINDS, r as ReferralCommissionService, s as QualifiedReferralOverrideError, t as ReferralQualificationService, u as Referrer, v as REFERRAL_CODE_ALPHABET, w as ReferralTouchCollection, x as ReferralClickValidationError, y as REFERRAL_CODE_LENGTH, z as ATTRIBUTION_EXCEPTION_STATUSES } from "./chunks/referrals-DE0tKm5G.js";
|
|
3
3
|
export { ATTRIBUTION_CONFLICT_BEHAVIORS, ATTRIBUTION_CREDIT_MODES, ATTRIBUTION_EXCEPTION_STATUSES, ATTRIBUTION_POLICY_STATUSES, ATTRIBUTION_RESOLUTION_MODES, AffiliatesReferralsRecipe, 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 };
|