@happyvertical/smrt-sales 0.40.69 → 0.40.70
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.js +1 -1
- package/dist/chunks/__smrt-register__-BT2oZjFY.js +6 -0
- package/dist/chunks/{__smrt-register__-Cqnirc2h.js.map → __smrt-register__-BT2oZjFY.js.map} +1 -1
- package/dist/commissions.js +1 -1
- package/dist/crm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/manifest.json +1313 -1193
- package/dist/referrals.js +1 -1
- package/dist/smrt-knowledge.json +240 -240
- package/package.json +6 -6
- package/dist/chunks/__smrt-register__-Cqnirc2h.js +0 -6
package/dist/referrals.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "./chunks/__smrt-register__-
|
|
1
|
+
import "./chunks/__smrt-register__-BT2oZjFY.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 };
|
package/dist/smrt-knowledge.json
CHANGED
|
@@ -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.
|
|
6
|
+
"packageVersion": "0.40.70",
|
|
7
7
|
"sourceManifestPath": "dist/manifest.json",
|
|
8
8
|
"agentDocPath": "AGENTS.md",
|
|
9
9
|
"sourceHashes": {
|
|
10
|
-
"manifest": "
|
|
11
|
-
"packageJson": "
|
|
10
|
+
"manifest": "9eaa534a31ff6e22cd4441540bb83d3efc05725b33f3378f9408b1c91db4f1af",
|
|
11
|
+
"packageJson": "c05324a0b6392b2154cab7f2185d17beecafd23e842595e2c7a84c9118f87069",
|
|
12
12
|
"agents": "a58ac2ed4a0d43e22110674a94d61b62b981f7aa4a576ca8f36d0b1f20a64143",
|
|
13
13
|
"moduleDoc:agents/agreements.md": "eb6ff147a0f60ee627d3337e8e9394d06fda955b4a4fff228537a9bd2803f886",
|
|
14
14
|
"moduleDoc:agents/commissions.md": "e047024aafe5edcf072c1a6b7ea253c24cb15f2fa1beb2edd13651e735921f73",
|
|
@@ -56,243 +56,6 @@
|
|
|
56
56
|
"tags": [],
|
|
57
57
|
"risks": [],
|
|
58
58
|
"objects": [
|
|
59
|
-
{
|
|
60
|
-
"name": "AgreementExecutionCollection",
|
|
61
|
-
"qualifiedName": "@happyvertical/smrt-sales:AgreementExecutionCollection",
|
|
62
|
-
"collection": "agreementexecutions",
|
|
63
|
-
"tableName": "agreement_execution_collections",
|
|
64
|
-
"packageName": "@happyvertical/smrt-sales",
|
|
65
|
-
"extends": "SmrtCollection",
|
|
66
|
-
"fields": [],
|
|
67
|
-
"relationships": [],
|
|
68
|
-
"methods": [
|
|
69
|
-
"bindEvidenceArtifact",
|
|
70
|
-
"bindProviderRequest",
|
|
71
|
-
"claimCreateAttempt",
|
|
72
|
-
"compareAndSetLifecycle",
|
|
73
|
-
"completeCreateAttempt",
|
|
74
|
-
"failCreateAttempt",
|
|
75
|
-
"findByIdempotencyKey",
|
|
76
|
-
"findByProviderRequest",
|
|
77
|
-
"findBySource",
|
|
78
|
-
"incrementAttemptCount",
|
|
79
|
-
"updateLastError"
|
|
80
|
-
],
|
|
81
|
-
"methodSignatures": [
|
|
82
|
-
{
|
|
83
|
-
"name": "bindEvidenceArtifact",
|
|
84
|
-
"async": true,
|
|
85
|
-
"params": [
|
|
86
|
-
"input: BindAgreementEvidenceArtifactInput"
|
|
87
|
-
],
|
|
88
|
-
"returns": "Promise<AgreementExecution | null>"
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
"name": "bindProviderRequest",
|
|
92
|
-
"async": true,
|
|
93
|
-
"params": [
|
|
94
|
-
"input: BindAgreementProviderRequestInput"
|
|
95
|
-
],
|
|
96
|
-
"returns": "Promise<AgreementExecution | null>"
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
"name": "claimCreateAttempt",
|
|
100
|
-
"async": true,
|
|
101
|
-
"params": [
|
|
102
|
-
"input: ClaimAgreementCreateAttemptInput"
|
|
103
|
-
],
|
|
104
|
-
"returns": "Promise<AgreementExecution | null>"
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
"name": "compareAndSetLifecycle",
|
|
108
|
-
"async": true,
|
|
109
|
-
"params": [
|
|
110
|
-
"input: CompareAndSetAgreementLifecycleInput"
|
|
111
|
-
],
|
|
112
|
-
"returns": "Promise<AgreementExecution | null>"
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
"name": "completeCreateAttempt",
|
|
116
|
-
"async": true,
|
|
117
|
-
"params": [
|
|
118
|
-
"input: CompleteAgreementCreateAttemptInput"
|
|
119
|
-
],
|
|
120
|
-
"returns": "Promise<AgreementExecution | null>"
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
"name": "failCreateAttempt",
|
|
124
|
-
"async": true,
|
|
125
|
-
"params": [
|
|
126
|
-
"input: FailAgreementCreateAttemptInput"
|
|
127
|
-
],
|
|
128
|
-
"returns": "Promise<AgreementExecution | null>"
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
"name": "findByIdempotencyKey",
|
|
132
|
-
"async": true,
|
|
133
|
-
"params": [
|
|
134
|
-
"idempotencyKey: string"
|
|
135
|
-
],
|
|
136
|
-
"returns": "Promise<AgreementExecution | null>"
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
"name": "findByProviderRequest",
|
|
140
|
-
"async": true,
|
|
141
|
-
"params": [
|
|
142
|
-
"provider: string",
|
|
143
|
-
"providerRequestId: string"
|
|
144
|
-
],
|
|
145
|
-
"returns": "Promise<AgreementExecution | null>"
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
"name": "findBySource",
|
|
149
|
-
"async": true,
|
|
150
|
-
"params": [
|
|
151
|
-
"sourceKind: string",
|
|
152
|
-
"sourceId: string"
|
|
153
|
-
],
|
|
154
|
-
"returns": "Promise<AgreementExecution[]>"
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
"name": "incrementAttemptCount",
|
|
158
|
-
"async": true,
|
|
159
|
-
"params": [
|
|
160
|
-
"tenantId: string",
|
|
161
|
-
"executionId: string"
|
|
162
|
-
],
|
|
163
|
-
"returns": "Promise<AgreementExecution>"
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
"name": "updateLastError",
|
|
167
|
-
"async": true,
|
|
168
|
-
"params": [
|
|
169
|
-
"input: UpdateAgreementExecutionErrorInput"
|
|
170
|
-
],
|
|
171
|
-
"returns": "Promise<AgreementExecution>"
|
|
172
|
-
}
|
|
173
|
-
],
|
|
174
|
-
"surfaces": [],
|
|
175
|
-
"relationshipFeatures": [
|
|
176
|
-
"uuidColumns"
|
|
177
|
-
],
|
|
178
|
-
"tags": [],
|
|
179
|
-
"risks": []
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
"name": "AgreementExecutionEventCollection",
|
|
183
|
-
"qualifiedName": "@happyvertical/smrt-sales:AgreementExecutionEventCollection",
|
|
184
|
-
"collection": "agreementexecutionevents",
|
|
185
|
-
"tableName": "agreement_execution_event_collections",
|
|
186
|
-
"packageName": "@happyvertical/smrt-sales",
|
|
187
|
-
"extends": "SmrtCollection",
|
|
188
|
-
"fields": [],
|
|
189
|
-
"relationships": [],
|
|
190
|
-
"methods": [
|
|
191
|
-
"findByDedupeKey",
|
|
192
|
-
"findByExecution",
|
|
193
|
-
"findProviderEventsByExecution",
|
|
194
|
-
"recordVerified"
|
|
195
|
-
],
|
|
196
|
-
"methodSignatures": [
|
|
197
|
-
{
|
|
198
|
-
"name": "findByDedupeKey",
|
|
199
|
-
"async": true,
|
|
200
|
-
"params": [
|
|
201
|
-
"dedupeKey: string"
|
|
202
|
-
],
|
|
203
|
-
"returns": "Promise<AgreementExecutionEvent | null>"
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
"name": "findByExecution",
|
|
207
|
-
"async": true,
|
|
208
|
-
"params": [
|
|
209
|
-
"executionId: string"
|
|
210
|
-
],
|
|
211
|
-
"returns": "Promise<AgreementExecutionEvent[]>"
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
"name": "findProviderEventsByExecution",
|
|
215
|
-
"async": true,
|
|
216
|
-
"params": [
|
|
217
|
-
"executionId: string"
|
|
218
|
-
],
|
|
219
|
-
"returns": "Promise<AgreementExecutionEvent[]>"
|
|
220
|
-
},
|
|
221
|
-
{
|
|
222
|
-
"name": "recordVerified",
|
|
223
|
-
"async": true,
|
|
224
|
-
"params": [
|
|
225
|
-
"options: VerifiedAgreementExecutionEventOptions"
|
|
226
|
-
],
|
|
227
|
-
"returns": "Promise<object>"
|
|
228
|
-
}
|
|
229
|
-
],
|
|
230
|
-
"surfaces": [],
|
|
231
|
-
"relationshipFeatures": [
|
|
232
|
-
"uuidColumns"
|
|
233
|
-
],
|
|
234
|
-
"tags": [],
|
|
235
|
-
"risks": []
|
|
236
|
-
},
|
|
237
|
-
{
|
|
238
|
-
"name": "ExecutedAgreementCollection",
|
|
239
|
-
"qualifiedName": "@happyvertical/smrt-sales:ExecutedAgreementCollection",
|
|
240
|
-
"collection": "executedagreements",
|
|
241
|
-
"tableName": "executed_agreement_collections",
|
|
242
|
-
"packageName": "@happyvertical/smrt-sales",
|
|
243
|
-
"extends": "SmrtCollection",
|
|
244
|
-
"fields": [],
|
|
245
|
-
"relationships": [],
|
|
246
|
-
"methods": [
|
|
247
|
-
"createImmutable",
|
|
248
|
-
"effectiveForSource",
|
|
249
|
-
"findByExecution",
|
|
250
|
-
"findVersionsBySource"
|
|
251
|
-
],
|
|
252
|
-
"methodSignatures": [
|
|
253
|
-
{
|
|
254
|
-
"name": "createImmutable",
|
|
255
|
-
"async": true,
|
|
256
|
-
"params": [
|
|
257
|
-
"options: ExecutedAgreementOptions"
|
|
258
|
-
],
|
|
259
|
-
"returns": "Promise<object>"
|
|
260
|
-
},
|
|
261
|
-
{
|
|
262
|
-
"name": "effectiveForSource",
|
|
263
|
-
"async": true,
|
|
264
|
-
"params": [
|
|
265
|
-
"sourceKind: string",
|
|
266
|
-
"sourceId: string",
|
|
267
|
-
"at?: Date"
|
|
268
|
-
],
|
|
269
|
-
"returns": "Promise<ExecutedAgreement | null>"
|
|
270
|
-
},
|
|
271
|
-
{
|
|
272
|
-
"name": "findByExecution",
|
|
273
|
-
"async": true,
|
|
274
|
-
"params": [
|
|
275
|
-
"executionId: string"
|
|
276
|
-
],
|
|
277
|
-
"returns": "Promise<ExecutedAgreement | null>"
|
|
278
|
-
},
|
|
279
|
-
{
|
|
280
|
-
"name": "findVersionsBySource",
|
|
281
|
-
"async": true,
|
|
282
|
-
"params": [
|
|
283
|
-
"sourceKind: string",
|
|
284
|
-
"sourceId: string"
|
|
285
|
-
],
|
|
286
|
-
"returns": "Promise<ExecutedAgreement[]>"
|
|
287
|
-
}
|
|
288
|
-
],
|
|
289
|
-
"surfaces": [],
|
|
290
|
-
"relationshipFeatures": [
|
|
291
|
-
"uuidColumns"
|
|
292
|
-
],
|
|
293
|
-
"tags": [],
|
|
294
|
-
"risks": []
|
|
295
|
-
},
|
|
296
59
|
{
|
|
297
60
|
"name": "AgreementExecution",
|
|
298
61
|
"qualifiedName": "@happyvertical/smrt-sales:AgreementExecution",
|
|
@@ -1068,6 +831,243 @@
|
|
|
1068
831
|
"tags": [],
|
|
1069
832
|
"risks": []
|
|
1070
833
|
},
|
|
834
|
+
{
|
|
835
|
+
"name": "AgreementExecutionCollection",
|
|
836
|
+
"qualifiedName": "@happyvertical/smrt-sales:AgreementExecutionCollection",
|
|
837
|
+
"collection": "agreementexecutions",
|
|
838
|
+
"tableName": "agreement_execution_collections",
|
|
839
|
+
"packageName": "@happyvertical/smrt-sales",
|
|
840
|
+
"extends": "SmrtCollection",
|
|
841
|
+
"fields": [],
|
|
842
|
+
"relationships": [],
|
|
843
|
+
"methods": [
|
|
844
|
+
"bindEvidenceArtifact",
|
|
845
|
+
"bindProviderRequest",
|
|
846
|
+
"claimCreateAttempt",
|
|
847
|
+
"compareAndSetLifecycle",
|
|
848
|
+
"completeCreateAttempt",
|
|
849
|
+
"failCreateAttempt",
|
|
850
|
+
"findByIdempotencyKey",
|
|
851
|
+
"findByProviderRequest",
|
|
852
|
+
"findBySource",
|
|
853
|
+
"incrementAttemptCount",
|
|
854
|
+
"updateLastError"
|
|
855
|
+
],
|
|
856
|
+
"methodSignatures": [
|
|
857
|
+
{
|
|
858
|
+
"name": "bindEvidenceArtifact",
|
|
859
|
+
"async": true,
|
|
860
|
+
"params": [
|
|
861
|
+
"input: BindAgreementEvidenceArtifactInput"
|
|
862
|
+
],
|
|
863
|
+
"returns": "Promise<AgreementExecution | null>"
|
|
864
|
+
},
|
|
865
|
+
{
|
|
866
|
+
"name": "bindProviderRequest",
|
|
867
|
+
"async": true,
|
|
868
|
+
"params": [
|
|
869
|
+
"input: BindAgreementProviderRequestInput"
|
|
870
|
+
],
|
|
871
|
+
"returns": "Promise<AgreementExecution | null>"
|
|
872
|
+
},
|
|
873
|
+
{
|
|
874
|
+
"name": "claimCreateAttempt",
|
|
875
|
+
"async": true,
|
|
876
|
+
"params": [
|
|
877
|
+
"input: ClaimAgreementCreateAttemptInput"
|
|
878
|
+
],
|
|
879
|
+
"returns": "Promise<AgreementExecution | null>"
|
|
880
|
+
},
|
|
881
|
+
{
|
|
882
|
+
"name": "compareAndSetLifecycle",
|
|
883
|
+
"async": true,
|
|
884
|
+
"params": [
|
|
885
|
+
"input: CompareAndSetAgreementLifecycleInput"
|
|
886
|
+
],
|
|
887
|
+
"returns": "Promise<AgreementExecution | null>"
|
|
888
|
+
},
|
|
889
|
+
{
|
|
890
|
+
"name": "completeCreateAttempt",
|
|
891
|
+
"async": true,
|
|
892
|
+
"params": [
|
|
893
|
+
"input: CompleteAgreementCreateAttemptInput"
|
|
894
|
+
],
|
|
895
|
+
"returns": "Promise<AgreementExecution | null>"
|
|
896
|
+
},
|
|
897
|
+
{
|
|
898
|
+
"name": "failCreateAttempt",
|
|
899
|
+
"async": true,
|
|
900
|
+
"params": [
|
|
901
|
+
"input: FailAgreementCreateAttemptInput"
|
|
902
|
+
],
|
|
903
|
+
"returns": "Promise<AgreementExecution | null>"
|
|
904
|
+
},
|
|
905
|
+
{
|
|
906
|
+
"name": "findByIdempotencyKey",
|
|
907
|
+
"async": true,
|
|
908
|
+
"params": [
|
|
909
|
+
"idempotencyKey: string"
|
|
910
|
+
],
|
|
911
|
+
"returns": "Promise<AgreementExecution | null>"
|
|
912
|
+
},
|
|
913
|
+
{
|
|
914
|
+
"name": "findByProviderRequest",
|
|
915
|
+
"async": true,
|
|
916
|
+
"params": [
|
|
917
|
+
"provider: string",
|
|
918
|
+
"providerRequestId: string"
|
|
919
|
+
],
|
|
920
|
+
"returns": "Promise<AgreementExecution | null>"
|
|
921
|
+
},
|
|
922
|
+
{
|
|
923
|
+
"name": "findBySource",
|
|
924
|
+
"async": true,
|
|
925
|
+
"params": [
|
|
926
|
+
"sourceKind: string",
|
|
927
|
+
"sourceId: string"
|
|
928
|
+
],
|
|
929
|
+
"returns": "Promise<AgreementExecution[]>"
|
|
930
|
+
},
|
|
931
|
+
{
|
|
932
|
+
"name": "incrementAttemptCount",
|
|
933
|
+
"async": true,
|
|
934
|
+
"params": [
|
|
935
|
+
"tenantId: string",
|
|
936
|
+
"executionId: string"
|
|
937
|
+
],
|
|
938
|
+
"returns": "Promise<AgreementExecution>"
|
|
939
|
+
},
|
|
940
|
+
{
|
|
941
|
+
"name": "updateLastError",
|
|
942
|
+
"async": true,
|
|
943
|
+
"params": [
|
|
944
|
+
"input: UpdateAgreementExecutionErrorInput"
|
|
945
|
+
],
|
|
946
|
+
"returns": "Promise<AgreementExecution>"
|
|
947
|
+
}
|
|
948
|
+
],
|
|
949
|
+
"surfaces": [],
|
|
950
|
+
"relationshipFeatures": [
|
|
951
|
+
"uuidColumns"
|
|
952
|
+
],
|
|
953
|
+
"tags": [],
|
|
954
|
+
"risks": []
|
|
955
|
+
},
|
|
956
|
+
{
|
|
957
|
+
"name": "AgreementExecutionEventCollection",
|
|
958
|
+
"qualifiedName": "@happyvertical/smrt-sales:AgreementExecutionEventCollection",
|
|
959
|
+
"collection": "agreementexecutionevents",
|
|
960
|
+
"tableName": "agreement_execution_event_collections",
|
|
961
|
+
"packageName": "@happyvertical/smrt-sales",
|
|
962
|
+
"extends": "SmrtCollection",
|
|
963
|
+
"fields": [],
|
|
964
|
+
"relationships": [],
|
|
965
|
+
"methods": [
|
|
966
|
+
"findByDedupeKey",
|
|
967
|
+
"findByExecution",
|
|
968
|
+
"findProviderEventsByExecution",
|
|
969
|
+
"recordVerified"
|
|
970
|
+
],
|
|
971
|
+
"methodSignatures": [
|
|
972
|
+
{
|
|
973
|
+
"name": "findByDedupeKey",
|
|
974
|
+
"async": true,
|
|
975
|
+
"params": [
|
|
976
|
+
"dedupeKey: string"
|
|
977
|
+
],
|
|
978
|
+
"returns": "Promise<AgreementExecutionEvent | null>"
|
|
979
|
+
},
|
|
980
|
+
{
|
|
981
|
+
"name": "findByExecution",
|
|
982
|
+
"async": true,
|
|
983
|
+
"params": [
|
|
984
|
+
"executionId: string"
|
|
985
|
+
],
|
|
986
|
+
"returns": "Promise<AgreementExecutionEvent[]>"
|
|
987
|
+
},
|
|
988
|
+
{
|
|
989
|
+
"name": "findProviderEventsByExecution",
|
|
990
|
+
"async": true,
|
|
991
|
+
"params": [
|
|
992
|
+
"executionId: string"
|
|
993
|
+
],
|
|
994
|
+
"returns": "Promise<AgreementExecutionEvent[]>"
|
|
995
|
+
},
|
|
996
|
+
{
|
|
997
|
+
"name": "recordVerified",
|
|
998
|
+
"async": true,
|
|
999
|
+
"params": [
|
|
1000
|
+
"options: VerifiedAgreementExecutionEventOptions"
|
|
1001
|
+
],
|
|
1002
|
+
"returns": "Promise<object>"
|
|
1003
|
+
}
|
|
1004
|
+
],
|
|
1005
|
+
"surfaces": [],
|
|
1006
|
+
"relationshipFeatures": [
|
|
1007
|
+
"uuidColumns"
|
|
1008
|
+
],
|
|
1009
|
+
"tags": [],
|
|
1010
|
+
"risks": []
|
|
1011
|
+
},
|
|
1012
|
+
{
|
|
1013
|
+
"name": "ExecutedAgreementCollection",
|
|
1014
|
+
"qualifiedName": "@happyvertical/smrt-sales:ExecutedAgreementCollection",
|
|
1015
|
+
"collection": "executedagreements",
|
|
1016
|
+
"tableName": "executed_agreement_collections",
|
|
1017
|
+
"packageName": "@happyvertical/smrt-sales",
|
|
1018
|
+
"extends": "SmrtCollection",
|
|
1019
|
+
"fields": [],
|
|
1020
|
+
"relationships": [],
|
|
1021
|
+
"methods": [
|
|
1022
|
+
"createImmutable",
|
|
1023
|
+
"effectiveForSource",
|
|
1024
|
+
"findByExecution",
|
|
1025
|
+
"findVersionsBySource"
|
|
1026
|
+
],
|
|
1027
|
+
"methodSignatures": [
|
|
1028
|
+
{
|
|
1029
|
+
"name": "createImmutable",
|
|
1030
|
+
"async": true,
|
|
1031
|
+
"params": [
|
|
1032
|
+
"options: ExecutedAgreementOptions"
|
|
1033
|
+
],
|
|
1034
|
+
"returns": "Promise<object>"
|
|
1035
|
+
},
|
|
1036
|
+
{
|
|
1037
|
+
"name": "effectiveForSource",
|
|
1038
|
+
"async": true,
|
|
1039
|
+
"params": [
|
|
1040
|
+
"sourceKind: string",
|
|
1041
|
+
"sourceId: string",
|
|
1042
|
+
"at?: Date"
|
|
1043
|
+
],
|
|
1044
|
+
"returns": "Promise<ExecutedAgreement | null>"
|
|
1045
|
+
},
|
|
1046
|
+
{
|
|
1047
|
+
"name": "findByExecution",
|
|
1048
|
+
"async": true,
|
|
1049
|
+
"params": [
|
|
1050
|
+
"executionId: string"
|
|
1051
|
+
],
|
|
1052
|
+
"returns": "Promise<ExecutedAgreement | null>"
|
|
1053
|
+
},
|
|
1054
|
+
{
|
|
1055
|
+
"name": "findVersionsBySource",
|
|
1056
|
+
"async": true,
|
|
1057
|
+
"params": [
|
|
1058
|
+
"sourceKind: string",
|
|
1059
|
+
"sourceId: string"
|
|
1060
|
+
],
|
|
1061
|
+
"returns": "Promise<ExecutedAgreement[]>"
|
|
1062
|
+
}
|
|
1063
|
+
],
|
|
1064
|
+
"surfaces": [],
|
|
1065
|
+
"relationshipFeatures": [
|
|
1066
|
+
"uuidColumns"
|
|
1067
|
+
],
|
|
1068
|
+
"tags": [],
|
|
1069
|
+
"risks": []
|
|
1070
|
+
},
|
|
1071
1071
|
{
|
|
1072
1072
|
"name": "CommissionAdjustmentCollection",
|
|
1073
1073
|
"qualifiedName": "@happyvertical/smrt-sales:CommissionAdjustmentCollection",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@happyvertical/smrt-sales",
|
|
3
|
-
"version": "0.40.
|
|
3
|
+
"version": "0.40.70",
|
|
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.
|
|
47
|
-
"@happyvertical/smrt-core": "0.40.
|
|
48
|
-
"@happyvertical/smrt-
|
|
49
|
-
"@happyvertical/smrt-
|
|
46
|
+
"@happyvertical/smrt-assets": "0.40.70",
|
|
47
|
+
"@happyvertical/smrt-core": "0.40.70",
|
|
48
|
+
"@happyvertical/smrt-ui": "0.40.70",
|
|
49
|
+
"@happyvertical/smrt-tenancy": "0.40.70"
|
|
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.
|
|
63
|
+
"@happyvertical/smrt-vitest": "0.40.70"
|
|
64
64
|
},
|
|
65
65
|
"smrtRawPrimitives": "strict",
|
|
66
66
|
"keywords": [
|