@saasquatch/squatch-js 2.4.0 → 2.4.1-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.
@@ -1,308 +1,308 @@
1
- export default {
2
- template:
3
- '<!DOCTYPE html><html> <head> <script type="text/javascript"> window.widgetIdent = {"programId":"two-goal-program","userId":"testestest","accountId":"testestest","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImlkIjoidGVzdGVzdGVzdCIsImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJlbWFpbCI6ImppbWJvQHRlc3QuY2EifX0.g_54aEQqbp5o_z0ZjmDtEMTkmm0qtWcTW-YkX67LWkM","tenantAlias":"test_a8b41jotf8a1v","engagementMedium":"EMBED","appDomain":"https://staging.referralsaasquatch.com"}; </script> <script src="https://fast-staging.ssqt.io/npm/@saasquatch/vanilla-components@1.2.2/dist/widget-components/entrypoint.js"></script> <link rel="stylesheet" type="text/css" href="https://fast-staging.ssqt.io/npm/@saasquatch/vanilla-components-assets@0.0.12/icons.css"> <script src="https://fast-staging.ssqt.io/npm/@elastic/apm-rum@4.0.1/dist/bundles/elastic-apm-rum.umd.min.js" crossorigin></script> <script> window.apm = elasticApm.init({ serviceName: \'programwidget-staging\', serverUrl: \'https://1c9081d2ac2d43548254f581dca2dbee.apm.us-central1.gcp.cloud.es.io:443\', active: Math.random() < 0.1 }) </script> </head> <body> <sqh-global-container class="squatch-container" background="#ffffff" poweredby="true" fontfamily="Helvetica Neue,Helvetica,Arial,sans-serif" loadingcolor="#439B76"><sqh-text-component sqhbanner="true" ishidden="true" ismarkdown="false" background="https://res.cloudinary.com/saasquatch/image/upload/v1535746336/prod_default_assets/default_banner.jpg" height="auto" paddingtop="150" paddingbottom="150" text="" color="#000000"></sqh-text-component><sqh-text-component sqhheader="true" ishidden="false" ismarkdown="false" text="Give $10 and Get $10!" color="#4486E1" fontsize="30" textalign="center" paddingtop="30" paddingbottom="10"></sqh-text-component><sqh-text-component sqhbody="true" ishidden="false" ismarkdown="true" text="Give a friend a $10 and receive $10 for yourself when they purchase.<br/><br/>Share the link below or use the code **<sqh-referral-code />**" color="#000000" fontsize="13" textalign="center" paddingtop="5" paddingbottom="20"></sqh-text-component><sqh-copy-link-button ishidden="false" copysuccess="copied!" copyfailure="Press Ctrl+C to copy" text="Copy" buttoncolor="#5C6164" textcolor="#FFFFFF"></sqh-copy-link-button><sqh-share-button-container ishidden="false" emaildisplayrule="mobile-and-desktop" emailtext="Email" emailtextcolor="#ffffff" emailbackgroundcolor="#4b4d50" facebookdisplayrule="mobile-and-desktop" facebooktext="Facebook" facebooktextcolor="#ffffff" facebookbackgroundcolor="#234079" twitterdisplayrule="mobile-and-desktop" twittertext="Twitter" twittertextcolor="#ffffff" twitterbackgroundcolor="#4797d2" smsdisplayrule="mobile-only" smstext="SMS" smstextcolor="#ffffff" smsbackgroundcolor="#7bbf38" whatsappdisplayrule="mobile-only" whatsapptext="Whatspp" whatsapptextcolor="#ffffff" whatsappbackgroundcolor="#25D366" linkedindisplayrule="hidden" linkedintext="LinkedIn" linkedintextcolor="#ffffff" linkedinbackgroundcolor="#0084b9" pinterestdisplayrule="hidden" pinteresttext="Pinterest" pinteresttextcolor="#ffffff" pinterestbackgroundcolor="#cb2027" messengerdisplayrule="hidden" messengertext="Messenger" messengertextcolor="#ffffff" messengerbackgroundcolor="#0084ff" linedisplayrule="mobile-only" linetext="Line Messenger" linetextcolor="#ffffff" linebackgroundcolor="#00c300"></sqh-share-button-container><sqh-text-component sqhreferralsheader="true" ismarkdown="true" ishidden="false" text="**Rewards Dashboard**" color="#000000" fontsize="13" textalign="center" paddingtop="20" paddingbottom="10"></sqh-text-component><sqh-stats-container ishidden="false" paddingtop="0" paddingbottom="0"><sqh-stat-component ishidden="false" statcolor="#4caf50" stattype="/referralsCount" statdescription="Friends Referred" paddingtop="10" paddingbottom="10"></sqh-stat-component><sqh-stat-component ishidden="false" stattype="/rewardsCount" statdescription="Total Rewards" paddingtop="10" paddingbottom="10" statcolor="#000000"></sqh-stat-component><sqh-stat-component ishidden="false" stattype="/rewardBalance/CREDIT/CENTS/prettyAssignedCredit" statdescription="Credit earned" paddingtop="10" paddingbottom="10" statcolor="#000000"></sqh-stat-component></sqh-stats-container><sqh-referral-list ishidden="false" showreferrer="true" usefirstreward="false" referralnamecolor="darkslategray" referraltextcolor="lightgray" rewardcolor="#4BB543" pendingcolor="lightgray" pendingvalue="Reward Pending" referrervalue="Referred" referrercontent="Referred you {date}" convertedcontent="Signed up, referred {date}" pendingcontent="Trial user, referred {date}" pendingvalue="Referral pending" valuecontent="and {extrarewards} more {extrarewards, plural, one {reward} other {rewards}}" expiredcolor="lightgray" expiredvalue="Expired Reward" expiredcontent="Signed up, referred {date}" cancelledcolor="#C81D05" cancelledvalue="Cancelled Reward" cancelledcontent="Signed up, referred {date}" paginatemore="View More" paginateless="Previous" noreferralsyet="No Referrals Yet..." unknownuser="Your Friend"></sqh-referral-list><sqh-text-component sqhfooter="true" ishidden="false" ismarkdown="false" text="Terms and Conditions" color="lightgray" fontsize="13" textalign="center" paddingtop="10" paddingbottom="10"></sqh-text-component></sqh-global-container> </body></html>',
4
- jsOptions: {},
5
- user: {
6
- id: "testestest",
7
- accountId: "testestest",
8
- firstName: "jimbo",
9
- lastName: "neutron",
10
- lastInitial: "n",
11
- referralCode: "JIMBONEUTRON",
12
- referralCodes: {
13
- r2: "JIMBONEUTRON22",
14
- r3: "JIMBONEUTRON251",
15
- "new-referral": "JIMBONEUTRON299",
16
- asdasdsadsad: "JIMBONEUTRON245",
17
- "asdf-multi-tier": "JIMBONEUTRON397",
18
- "refreral-test": "JIMBONEUTRON398",
19
- asdsadasd: "JIMBONEUTRON369",
20
- "referral-program": "JIMBONEUTRON250",
21
- translated: "JIMBONEUTRON258",
22
- "sam-partner-test-2": "JIMBONEUTRON2",
23
- "qa-ms-14": "JIMBONEUTRON259",
24
- "sam-partner-comm-login": "JIMBONEUTRON26",
25
- "new-partner-2": "JIMBONEUTRON313",
26
- "sam-login-test": "JIMBONEUTRON230",
27
- asdadsdas: "JIMBONEUTRON264",
28
- "deep-dive": "JIMBONEUTRON211",
29
- "consultant-referral": "JIMBONEUTRON252",
30
- dfsadfssdfa: "JIMBONEUTRON227",
31
- "partner-test-program": "JIMBONEUTRON287",
32
- asddfasbf: "JIMBONEUTRON316",
33
- vsssdvsdv: "JIMBONEUTRON241",
34
- "sam-partner-test": "JIMBONEUTRON268",
35
- "objective-program-take-2": "JIMBONEUTRON271",
36
- "additional-program": "JIMBONEUTRON286",
37
- "simple-conversions": "JIMBONEUTRON224",
38
- "program-to-play-with": "JIMBONEUTRON354",
39
- "please-work-referral": "JIMBONEUTRON247",
40
- "asd-referral": "JIMBONEUTRON355",
41
- "testing-testing": "JIMBONEUTRON273",
42
- "asdfg-multi-step": "JIMBONEUTRON238",
43
- "testing-jorge": "JIMBONEUTRON28",
44
- "new-program-123": "JIMBONEUTRON256",
45
- "new-referral-program": "JIMBONEUTRON214",
46
- fgkjhd: "JIMBONEUTRON244",
47
- "straightaway-referral-program": "JIMBONEUTRON233",
48
- "another-one": "JIMBONEUTRON282",
49
- "cool-program": "JIMBONEUTRON284",
50
- adsasdasddsadsa: "JIMBONEUTRON254",
51
- johan: "JIMBONEUTRON219",
52
- "fresh-referral-program-asd": "JIMBONEUTRON370",
53
- "sams-test-2": "JIMBONEUTRON266",
54
- "grapes-testing": "JIMBONEUTRON277",
55
- "i43nrfioe-gn-": "JIMBONEUTRON267",
56
- "testing-broken-referral": "JIMBONEUTRON213",
57
- asdasdasd: "JIMBONEUTRON283",
58
- "ref-valid": "JIMBONEUTRON29",
59
- "widget-test": "JIMBONEUTRON274",
60
- "testing-key-input": "JIMBONEUTRON297",
61
- "another-objective-program": "JIMBONEUTRON218",
62
- "test-bug-123": "JIMBONEUTRON393",
63
- "new-partner-program": "JIMBONEUTRON351",
64
- asdasdasdasd: "JIMBONEUTRON242",
65
- "empty-objective-program": "JIMBONEUTRON311",
66
- "testing-emails-bug": "JIMBONEUTRON253",
67
- asdasdasdasdasd: "JIMBONEUTRON289",
68
- "partner-metric-test-2": "JIMBONEUTRON49",
69
- fghcfb: "JIMBONEUTRON217",
70
- zcxvzcvxvzcx: "JIMBONEUTRON326",
71
- coleton: "JIMBONEUTRON36",
72
- dfghfgh: "JIMBONEUTRON30",
73
- "the-newest-objective-program": "JIMBONEUTRON265",
74
- sdfdfdsfsdf: "JIMBONEUTRON279",
75
- "a-whole-new-partner-world": "JIMBONEUTRON210",
76
- "sam-qa-test": "JIMBONEUTRON25",
77
- "testing-again-123": "JIMBONEUTRON261",
78
- a: "JIMBONEUTRON324",
79
- b: "JIMBONEUTRON48",
80
- "testing-points": "JIMBONEUTRON20",
81
- "two-goal-program": "JIMBONEUTRON275",
82
- "testing-partner-widget": "JIMBONEUTRON317",
83
- "another-new-program": "JIMBONEUTRON285",
84
- "maybe-broke": "JIMBONEUTRON229",
85
- "give-me-the-program": "JIMBONEUTRON328",
86
- "customer-referral": "JIMBONEUTRON272",
87
- "a-final-test-of-the-partner-thing": "JIMBONEUTRON212",
88
- "yet-another": "JIMBONEUTRON296",
89
- classic: "JIMBONEUTRON",
90
- "partner-super-fresh": "JIMBONEUTRON269",
91
- "deep-dive-goals": "JIMBONEUTRON462",
92
- "do-i-get-the-old-one": "JIMBONEUTRON385",
93
- "jorge-is-testing": "JIMBONEUTRON331",
94
- "employee-referral": "JIMBONEUTRON226",
95
- "partner-jorge": "JIMBONEUTRON237",
96
- xcvxcvvcx: "JIMBONEUTRON45",
97
- "new-schema": "JIMBONEUTRON249",
98
- r1: "JIMBONEUTRON288",
99
- "default-grapes": "JIMBONEUTRON257",
100
- },
101
- imageUrl: "",
102
- email: "jimbo@test.ca",
103
- cookieId: null,
104
- paymentProviderId: null,
105
- locale: "en_US",
106
- countryCode: "CA",
107
- referable: true,
108
- firstSeenIP: null,
109
- lastSeenIP: null,
110
- dateCreated: 1550012800974,
111
- emailHash: "2cd375cf9329a8277efbdb9e07beaa5e",
112
- referralSource: "UNKNOWN",
113
- shareLinks: {
114
- shareLink: "https://short.staging.referralsaasquatch.com/mvm0sH",
115
- facebookShareLink: "https://short.staging.referralsaasquatch.com/mmm0sH",
116
- twitterShareLink: "https://short.staging.referralsaasquatch.com/mRm0sH",
117
- emailShareLink: "https://short.staging.referralsaasquatch.com/mLm0sH",
118
- linkedinShareLink: "https://short.staging.referralsaasquatch.com/m6m0sH",
119
- mobileShareLink: "https://short.staging.referralsaasquatch.com/mem0sH",
120
- mobileFacebookShareLink:
121
- "https://short.staging.referralsaasquatch.com/mnm0sH",
122
- mobileTwitterShareLink:
123
- "https://short.staging.referralsaasquatch.com/mCm0sH",
124
- mobileEmailShareLink:
125
- "https://short.staging.referralsaasquatch.com/mEm0sH",
126
- EMBED: {
127
- shareLink: "https://short.staging.referralsaasquatch.com/mQm0sH",
128
- facebookShareLink:
129
- "https://short.staging.referralsaasquatch.com/mwm0sH",
130
- twitterShareLink: "https://short.staging.referralsaasquatch.com/mcm0sH",
131
- emailShareLink: "https://short.staging.referralsaasquatch.com/mJm0sH",
132
- linkedinShareLink:
133
- "https://short.staging.referralsaasquatch.com/mHm0sH",
134
- },
135
- POPUP: {
136
- shareLink: "https://short.staging.referralsaasquatch.com/m5m0sH",
137
- facebookShareLink:
138
- "https://short.staging.referralsaasquatch.com/m9m0sH",
139
- twitterShareLink: "https://short.staging.referralsaasquatch.com/mMm0sH",
140
- emailShareLink: "https://short.staging.referralsaasquatch.com/mom0sH",
141
- linkedinShareLink:
142
- "https://short.staging.referralsaasquatch.com/m7m0sH",
143
- },
144
- HOSTED: {
145
- shareLink: "https://short.staging.referralsaasquatch.com/mtm0sH",
146
- facebookShareLink:
147
- "https://short.staging.referralsaasquatch.com/mum0sH",
148
- twitterShareLink: "https://short.staging.referralsaasquatch.com/mSm0sH",
149
- emailShareLink: "https://short.staging.referralsaasquatch.com/mlm0sH",
150
- linkedinShareLink:
151
- "https://short.staging.referralsaasquatch.com/mYm0sH",
152
- },
153
- MOBILE: {
154
- shareLink: "https://short.staging.referralsaasquatch.com/mem0sH",
155
- facebookShareLink:
156
- "https://short.staging.referralsaasquatch.com/mnm0sH",
157
- twitterShareLink: "https://short.staging.referralsaasquatch.com/mCm0sH",
158
- emailShareLink: "https://short.staging.referralsaasquatch.com/mEm0sH",
159
- linkedinShareLink:
160
- "https://short.staging.referralsaasquatch.com/m3m0sH",
161
- },
162
- EMAIL: {
163
- shareLink: "https://short.staging.referralsaasquatch.com/mPm0sH",
164
- facebookShareLink:
165
- "https://short.staging.referralsaasquatch.com/mTm0sH",
166
- twitterShareLink: "https://short.staging.referralsaasquatch.com/mGm0sH",
167
- emailShareLink: "https://short.staging.referralsaasquatch.com/mbm0sH",
168
- linkedinShareLink:
169
- "https://short.staging.referralsaasquatch.com/m1m0sH",
170
- },
171
- },
172
- programShareLinks: {
173
- "sam-partner-comm-login": {
174
- cleanShareLink: "https://short.staging.referralsaasquatch.com/mz2V5f",
175
- UNKNOWN: {
176
- DIRECT: "https://short.staging.referralsaasquatch.com/mv2V5f",
177
- },
178
- EMAIL: {
179
- DIRECT: "https://short.staging.referralsaasquatch.com/mP2V5f",
180
- },
181
- MOBILE: {
182
- DIRECT: "https://short.staging.referralsaasquatch.com/me2V5f",
183
- },
184
- },
185
- a: {
186
- cleanShareLink: "https://short.staging.referralsaasquatch.com/mz2LjP",
187
- UNKNOWN: {
188
- DIRECT: "https://short.staging.referralsaasquatch.com/mv2LjP",
189
- },
190
- EMAIL: {
191
- DIRECT: "https://short.staging.referralsaasquatch.com/mP2LjP",
192
- },
193
- MOBILE: {
194
- DIRECT: "https://short.staging.referralsaasquatch.com/me2LjP",
195
- },
196
- },
197
- "new-referral": {
198
- cleanShareLink: "https://short.staging.referralsaasquatch.com/mz2QxK",
199
- UNKNOWN: {
200
- DIRECT: "https://short.staging.referralsaasquatch.com/mv2QxK",
201
- },
202
- EMAIL: {
203
- DIRECT: "https://short.staging.referralsaasquatch.com/mP2QxK",
204
- },
205
- MOBILE: {
206
- DIRECT: "https://short.staging.referralsaasquatch.com/me2QxK",
207
- },
208
- },
209
- "yet-another": {
210
- cleanShareLink: "https://short.staging.referralsaasquatch.com/mz2V4R",
211
- UNKNOWN: {
212
- DIRECT: "https://short.staging.referralsaasquatch.com/mv2V4R",
213
- },
214
- EMAIL: {
215
- DIRECT: "https://short.staging.referralsaasquatch.com/mP2V4R",
216
- },
217
- MOBILE: {
218
- DIRECT: "https://short.staging.referralsaasquatch.com/me2V4R",
219
- },
220
- },
221
- "partner-super-fresh": {
222
- cleanShareLink: "https://short.staging.referralsaasquatch.com/mz2V5H",
223
- UNKNOWN: {
224
- DIRECT: "https://short.staging.referralsaasquatch.com/mv2V5H",
225
- },
226
- EMAIL: {
227
- DIRECT: "https://short.staging.referralsaasquatch.com/mP2V5H",
228
- },
229
- MOBILE: {
230
- DIRECT: "https://short.staging.referralsaasquatch.com/me2V5H",
231
- },
232
- },
233
- asdadsdas: {
234
- cleanShareLink: "https://short.staging.referralsaasquatch.com/mzz5aX",
235
- UNKNOWN: {
236
- DIRECT: "https://short.staging.referralsaasquatch.com/mvz5aX",
237
- },
238
- EMAIL: {
239
- DIRECT: "https://short.staging.referralsaasquatch.com/mPz5aX",
240
- },
241
- MOBILE: {
242
- DIRECT: "https://short.staging.referralsaasquatch.com/mez5aX",
243
- },
244
- },
245
- "sam-partner-test-2": {
246
- cleanShareLink: "https://short.staging.referralsaasquatch.com/mzmzsH",
247
- UNKNOWN: {
248
- DIRECT: "https://short.staging.referralsaasquatch.com/mvmzsH",
249
- },
250
- EMAIL: {
251
- DIRECT: "https://short.staging.referralsaasquatch.com/mPmzsH",
252
- },
253
- MOBILE: {
254
- DIRECT: "https://short.staging.referralsaasquatch.com/memzsH",
255
- },
256
- },
257
- translated: {
258
- cleanShareLink: "https://short.staging.referralsaasquatch.com/mz2V57",
259
- UNKNOWN: {
260
- DIRECT: "https://short.staging.referralsaasquatch.com/mv2V57",
261
- },
262
- EMAIL: {
263
- DIRECT: "https://short.staging.referralsaasquatch.com/mP2V57",
264
- },
265
- MOBILE: {
266
- DIRECT: "https://short.staging.referralsaasquatch.com/me2V57",
267
- },
268
- },
269
- dfsadfssdfa: {
270
- cleanShareLink: "https://short.staging.referralsaasquatch.com/mz2V4K",
271
- UNKNOWN: {
272
- DIRECT: "https://short.staging.referralsaasquatch.com/mv2V4K",
273
- },
274
- EMAIL: {
275
- DIRECT: "https://short.staging.referralsaasquatch.com/mP2V4K",
276
- },
277
- MOBILE: {
278
- DIRECT: "https://short.staging.referralsaasquatch.com/me2V4K",
279
- },
280
- },
281
- "maybe-broke": {
282
- cleanShareLink: "https://short.staging.referralsaasquatch.com/mz2V4S",
283
- UNKNOWN: {
284
- DIRECT: "https://short.staging.referralsaasquatch.com/mv2V4S",
285
- },
286
- EMAIL: {
287
- DIRECT: "https://short.staging.referralsaasquatch.com/mP2V4S",
288
- },
289
- MOBILE: {
290
- DIRECT: "https://short.staging.referralsaasquatch.com/me2V4S",
291
- },
292
- },
293
- },
294
- customFields: {
295
- foo: "bar",
296
- lastSeenDate: 1638901913364,
297
- },
298
- segments: ["vip"],
299
- referredBy: {
300
- isConverted: false,
301
- code: null,
302
- newlyReferred: false,
303
- referredReward: null,
304
- },
305
- referredByCodes: [],
306
- dateUsTaxFormSubmitted: null,
307
- },
308
- };
1
+ export default {
2
+ template:
3
+ '<!DOCTYPE html><html> <head> <script type="text/javascript"> window.widgetIdent = {"programId":"two-goal-program","userId":"testestest","accountId":"testestest","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImlkIjoidGVzdGVzdGVzdCIsImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJlbWFpbCI6ImppbWJvQHRlc3QuY2EifX0.g_54aEQqbp5o_z0ZjmDtEMTkmm0qtWcTW-YkX67LWkM","tenantAlias":"test_a8b41jotf8a1v","engagementMedium":"EMBED","appDomain":"https://staging.referralsaasquatch.com"}; </script> <script src="https://fast-staging.ssqt.io/npm/@saasquatch/vanilla-components@1.2.2/dist/widget-components/entrypoint.js"></script> <link rel="stylesheet" type="text/css" href="https://fast-staging.ssqt.io/npm/@saasquatch/vanilla-components-assets@0.0.12/icons.css"> <script src="https://fast-staging.ssqt.io/npm/@elastic/apm-rum@4.0.1/dist/bundles/elastic-apm-rum.umd.min.js" crossorigin></script> <script> window.apm = elasticApm.init({ serviceName: \'programwidget-staging\', serverUrl: \'https://1c9081d2ac2d43548254f581dca2dbee.apm.us-central1.gcp.cloud.es.io:443\', active: Math.random() < 0.1 }) </script> </head> <body> <sqh-global-container class="squatch-container" background="#ffffff" poweredby="true" fontfamily="Helvetica Neue,Helvetica,Arial,sans-serif" loadingcolor="#439B76"><sqh-text-component sqhbanner="true" ishidden="true" ismarkdown="false" background="https://res.cloudinary.com/saasquatch/image/upload/v1535746336/prod_default_assets/default_banner.jpg" height="auto" paddingtop="150" paddingbottom="150" text="" color="#000000"></sqh-text-component><sqh-text-component sqhheader="true" ishidden="false" ismarkdown="false" text="Give $10 and Get $10!" color="#4486E1" fontsize="30" textalign="center" paddingtop="30" paddingbottom="10"></sqh-text-component><sqh-text-component sqhbody="true" ishidden="false" ismarkdown="true" text="Give a friend a $10 and receive $10 for yourself when they purchase.<br/><br/>Share the link below or use the code **<sqh-referral-code />**" color="#000000" fontsize="13" textalign="center" paddingtop="5" paddingbottom="20"></sqh-text-component><sqh-copy-link-button ishidden="false" copysuccess="copied!" copyfailure="Press Ctrl+C to copy" text="Copy" buttoncolor="#5C6164" textcolor="#FFFFFF"></sqh-copy-link-button><sqh-share-button-container ishidden="false" emaildisplayrule="mobile-and-desktop" emailtext="Email" emailtextcolor="#ffffff" emailbackgroundcolor="#4b4d50" facebookdisplayrule="mobile-and-desktop" facebooktext="Facebook" facebooktextcolor="#ffffff" facebookbackgroundcolor="#234079" twitterdisplayrule="mobile-and-desktop" twittertext="Twitter" twittertextcolor="#ffffff" twitterbackgroundcolor="#4797d2" smsdisplayrule="mobile-only" smstext="SMS" smstextcolor="#ffffff" smsbackgroundcolor="#7bbf38" whatsappdisplayrule="mobile-only" whatsapptext="Whatspp" whatsapptextcolor="#ffffff" whatsappbackgroundcolor="#25D366" linkedindisplayrule="hidden" linkedintext="LinkedIn" linkedintextcolor="#ffffff" linkedinbackgroundcolor="#0084b9" pinterestdisplayrule="hidden" pinteresttext="Pinterest" pinteresttextcolor="#ffffff" pinterestbackgroundcolor="#cb2027" messengerdisplayrule="hidden" messengertext="Messenger" messengertextcolor="#ffffff" messengerbackgroundcolor="#0084ff" linedisplayrule="mobile-only" linetext="Line Messenger" linetextcolor="#ffffff" linebackgroundcolor="#00c300"></sqh-share-button-container><sqh-text-component sqhreferralsheader="true" ismarkdown="true" ishidden="false" text="**Rewards Dashboard**" color="#000000" fontsize="13" textalign="center" paddingtop="20" paddingbottom="10"></sqh-text-component><sqh-stats-container ishidden="false" paddingtop="0" paddingbottom="0"><sqh-stat-component ishidden="false" statcolor="#4caf50" stattype="/referralsCount" statdescription="Friends Referred" paddingtop="10" paddingbottom="10"></sqh-stat-component><sqh-stat-component ishidden="false" stattype="/rewardsCount" statdescription="Total Rewards" paddingtop="10" paddingbottom="10" statcolor="#000000"></sqh-stat-component><sqh-stat-component ishidden="false" stattype="/rewardBalance/CREDIT/CENTS/prettyAssignedCredit" statdescription="Credit earned" paddingtop="10" paddingbottom="10" statcolor="#000000"></sqh-stat-component></sqh-stats-container><sqh-referral-list ishidden="false" showreferrer="true" usefirstreward="false" referralnamecolor="darkslategray" referraltextcolor="lightgray" rewardcolor="#4BB543" pendingcolor="lightgray" pendingvalue="Reward Pending" referrervalue="Referred" referrercontent="Referred you {date}" convertedcontent="Signed up, referred {date}" pendingcontent="Trial user, referred {date}" pendingvalue="Referral pending" valuecontent="and {extrarewards} more {extrarewards, plural, one {reward} other {rewards}}" expiredcolor="lightgray" expiredvalue="Expired Reward" expiredcontent="Signed up, referred {date}" cancelledcolor="#C81D05" cancelledvalue="Cancelled Reward" cancelledcontent="Signed up, referred {date}" paginatemore="View More" paginateless="Previous" noreferralsyet="No Referrals Yet..." unknownuser="Your Friend"></sqh-referral-list><sqh-text-component sqhfooter="true" ishidden="false" ismarkdown="false" text="Terms and Conditions" color="lightgray" fontsize="13" textalign="center" paddingtop="10" paddingbottom="10"></sqh-text-component></sqh-global-container> </body></html>',
4
+ jsOptions: {},
5
+ user: {
6
+ id: "testestest",
7
+ accountId: "testestest",
8
+ firstName: "jimbo",
9
+ lastName: "neutron",
10
+ lastInitial: "n",
11
+ referralCode: "JIMBONEUTRON",
12
+ referralCodes: {
13
+ r2: "JIMBONEUTRON22",
14
+ r3: "JIMBONEUTRON251",
15
+ "new-referral": "JIMBONEUTRON299",
16
+ asdasdsadsad: "JIMBONEUTRON245",
17
+ "asdf-multi-tier": "JIMBONEUTRON397",
18
+ "refreral-test": "JIMBONEUTRON398",
19
+ asdsadasd: "JIMBONEUTRON369",
20
+ "referral-program": "JIMBONEUTRON250",
21
+ translated: "JIMBONEUTRON258",
22
+ "sam-partner-test-2": "JIMBONEUTRON2",
23
+ "qa-ms-14": "JIMBONEUTRON259",
24
+ "sam-partner-comm-login": "JIMBONEUTRON26",
25
+ "new-partner-2": "JIMBONEUTRON313",
26
+ "sam-login-test": "JIMBONEUTRON230",
27
+ asdadsdas: "JIMBONEUTRON264",
28
+ "deep-dive": "JIMBONEUTRON211",
29
+ "consultant-referral": "JIMBONEUTRON252",
30
+ dfsadfssdfa: "JIMBONEUTRON227",
31
+ "partner-test-program": "JIMBONEUTRON287",
32
+ asddfasbf: "JIMBONEUTRON316",
33
+ vsssdvsdv: "JIMBONEUTRON241",
34
+ "sam-partner-test": "JIMBONEUTRON268",
35
+ "objective-program-take-2": "JIMBONEUTRON271",
36
+ "additional-program": "JIMBONEUTRON286",
37
+ "simple-conversions": "JIMBONEUTRON224",
38
+ "program-to-play-with": "JIMBONEUTRON354",
39
+ "please-work-referral": "JIMBONEUTRON247",
40
+ "asd-referral": "JIMBONEUTRON355",
41
+ "testing-testing": "JIMBONEUTRON273",
42
+ "asdfg-multi-step": "JIMBONEUTRON238",
43
+ "testing-jorge": "JIMBONEUTRON28",
44
+ "new-program-123": "JIMBONEUTRON256",
45
+ "new-referral-program": "JIMBONEUTRON214",
46
+ fgkjhd: "JIMBONEUTRON244",
47
+ "straightaway-referral-program": "JIMBONEUTRON233",
48
+ "another-one": "JIMBONEUTRON282",
49
+ "cool-program": "JIMBONEUTRON284",
50
+ adsasdasddsadsa: "JIMBONEUTRON254",
51
+ johan: "JIMBONEUTRON219",
52
+ "fresh-referral-program-asd": "JIMBONEUTRON370",
53
+ "sams-test-2": "JIMBONEUTRON266",
54
+ "grapes-testing": "JIMBONEUTRON277",
55
+ "i43nrfioe-gn-": "JIMBONEUTRON267",
56
+ "testing-broken-referral": "JIMBONEUTRON213",
57
+ asdasdasd: "JIMBONEUTRON283",
58
+ "ref-valid": "JIMBONEUTRON29",
59
+ "widget-test": "JIMBONEUTRON274",
60
+ "testing-key-input": "JIMBONEUTRON297",
61
+ "another-objective-program": "JIMBONEUTRON218",
62
+ "test-bug-123": "JIMBONEUTRON393",
63
+ "new-partner-program": "JIMBONEUTRON351",
64
+ asdasdasdasd: "JIMBONEUTRON242",
65
+ "empty-objective-program": "JIMBONEUTRON311",
66
+ "testing-emails-bug": "JIMBONEUTRON253",
67
+ asdasdasdasdasd: "JIMBONEUTRON289",
68
+ "partner-metric-test-2": "JIMBONEUTRON49",
69
+ fghcfb: "JIMBONEUTRON217",
70
+ zcxvzcvxvzcx: "JIMBONEUTRON326",
71
+ coleton: "JIMBONEUTRON36",
72
+ dfghfgh: "JIMBONEUTRON30",
73
+ "the-newest-objective-program": "JIMBONEUTRON265",
74
+ sdfdfdsfsdf: "JIMBONEUTRON279",
75
+ "a-whole-new-partner-world": "JIMBONEUTRON210",
76
+ "sam-qa-test": "JIMBONEUTRON25",
77
+ "testing-again-123": "JIMBONEUTRON261",
78
+ a: "JIMBONEUTRON324",
79
+ b: "JIMBONEUTRON48",
80
+ "testing-points": "JIMBONEUTRON20",
81
+ "two-goal-program": "JIMBONEUTRON275",
82
+ "testing-partner-widget": "JIMBONEUTRON317",
83
+ "another-new-program": "JIMBONEUTRON285",
84
+ "maybe-broke": "JIMBONEUTRON229",
85
+ "give-me-the-program": "JIMBONEUTRON328",
86
+ "customer-referral": "JIMBONEUTRON272",
87
+ "a-final-test-of-the-partner-thing": "JIMBONEUTRON212",
88
+ "yet-another": "JIMBONEUTRON296",
89
+ classic: "JIMBONEUTRON",
90
+ "partner-super-fresh": "JIMBONEUTRON269",
91
+ "deep-dive-goals": "JIMBONEUTRON462",
92
+ "do-i-get-the-old-one": "JIMBONEUTRON385",
93
+ "jorge-is-testing": "JIMBONEUTRON331",
94
+ "employee-referral": "JIMBONEUTRON226",
95
+ "partner-jorge": "JIMBONEUTRON237",
96
+ xcvxcvvcx: "JIMBONEUTRON45",
97
+ "new-schema": "JIMBONEUTRON249",
98
+ r1: "JIMBONEUTRON288",
99
+ "default-grapes": "JIMBONEUTRON257",
100
+ },
101
+ imageUrl: "",
102
+ email: "jimbo@test.ca",
103
+ cookieId: null,
104
+ paymentProviderId: null,
105
+ locale: "en_US",
106
+ countryCode: "CA",
107
+ referable: true,
108
+ firstSeenIP: null,
109
+ lastSeenIP: null,
110
+ dateCreated: 1550012800974,
111
+ emailHash: "2cd375cf9329a8277efbdb9e07beaa5e",
112
+ referralSource: "UNKNOWN",
113
+ shareLinks: {
114
+ shareLink: "https://short.staging.referralsaasquatch.com/mvm0sH",
115
+ facebookShareLink: "https://short.staging.referralsaasquatch.com/mmm0sH",
116
+ twitterShareLink: "https://short.staging.referralsaasquatch.com/mRm0sH",
117
+ emailShareLink: "https://short.staging.referralsaasquatch.com/mLm0sH",
118
+ linkedinShareLink: "https://short.staging.referralsaasquatch.com/m6m0sH",
119
+ mobileShareLink: "https://short.staging.referralsaasquatch.com/mem0sH",
120
+ mobileFacebookShareLink:
121
+ "https://short.staging.referralsaasquatch.com/mnm0sH",
122
+ mobileTwitterShareLink:
123
+ "https://short.staging.referralsaasquatch.com/mCm0sH",
124
+ mobileEmailShareLink:
125
+ "https://short.staging.referralsaasquatch.com/mEm0sH",
126
+ EMBED: {
127
+ shareLink: "https://short.staging.referralsaasquatch.com/mQm0sH",
128
+ facebookShareLink:
129
+ "https://short.staging.referralsaasquatch.com/mwm0sH",
130
+ twitterShareLink: "https://short.staging.referralsaasquatch.com/mcm0sH",
131
+ emailShareLink: "https://short.staging.referralsaasquatch.com/mJm0sH",
132
+ linkedinShareLink:
133
+ "https://short.staging.referralsaasquatch.com/mHm0sH",
134
+ },
135
+ POPUP: {
136
+ shareLink: "https://short.staging.referralsaasquatch.com/m5m0sH",
137
+ facebookShareLink:
138
+ "https://short.staging.referralsaasquatch.com/m9m0sH",
139
+ twitterShareLink: "https://short.staging.referralsaasquatch.com/mMm0sH",
140
+ emailShareLink: "https://short.staging.referralsaasquatch.com/mom0sH",
141
+ linkedinShareLink:
142
+ "https://short.staging.referralsaasquatch.com/m7m0sH",
143
+ },
144
+ HOSTED: {
145
+ shareLink: "https://short.staging.referralsaasquatch.com/mtm0sH",
146
+ facebookShareLink:
147
+ "https://short.staging.referralsaasquatch.com/mum0sH",
148
+ twitterShareLink: "https://short.staging.referralsaasquatch.com/mSm0sH",
149
+ emailShareLink: "https://short.staging.referralsaasquatch.com/mlm0sH",
150
+ linkedinShareLink:
151
+ "https://short.staging.referralsaasquatch.com/mYm0sH",
152
+ },
153
+ MOBILE: {
154
+ shareLink: "https://short.staging.referralsaasquatch.com/mem0sH",
155
+ facebookShareLink:
156
+ "https://short.staging.referralsaasquatch.com/mnm0sH",
157
+ twitterShareLink: "https://short.staging.referralsaasquatch.com/mCm0sH",
158
+ emailShareLink: "https://short.staging.referralsaasquatch.com/mEm0sH",
159
+ linkedinShareLink:
160
+ "https://short.staging.referralsaasquatch.com/m3m0sH",
161
+ },
162
+ EMAIL: {
163
+ shareLink: "https://short.staging.referralsaasquatch.com/mPm0sH",
164
+ facebookShareLink:
165
+ "https://short.staging.referralsaasquatch.com/mTm0sH",
166
+ twitterShareLink: "https://short.staging.referralsaasquatch.com/mGm0sH",
167
+ emailShareLink: "https://short.staging.referralsaasquatch.com/mbm0sH",
168
+ linkedinShareLink:
169
+ "https://short.staging.referralsaasquatch.com/m1m0sH",
170
+ },
171
+ },
172
+ programShareLinks: {
173
+ "sam-partner-comm-login": {
174
+ cleanShareLink: "https://short.staging.referralsaasquatch.com/mz2V5f",
175
+ UNKNOWN: {
176
+ DIRECT: "https://short.staging.referralsaasquatch.com/mv2V5f",
177
+ },
178
+ EMAIL: {
179
+ DIRECT: "https://short.staging.referralsaasquatch.com/mP2V5f",
180
+ },
181
+ MOBILE: {
182
+ DIRECT: "https://short.staging.referralsaasquatch.com/me2V5f",
183
+ },
184
+ },
185
+ a: {
186
+ cleanShareLink: "https://short.staging.referralsaasquatch.com/mz2LjP",
187
+ UNKNOWN: {
188
+ DIRECT: "https://short.staging.referralsaasquatch.com/mv2LjP",
189
+ },
190
+ EMAIL: {
191
+ DIRECT: "https://short.staging.referralsaasquatch.com/mP2LjP",
192
+ },
193
+ MOBILE: {
194
+ DIRECT: "https://short.staging.referralsaasquatch.com/me2LjP",
195
+ },
196
+ },
197
+ "new-referral": {
198
+ cleanShareLink: "https://short.staging.referralsaasquatch.com/mz2QxK",
199
+ UNKNOWN: {
200
+ DIRECT: "https://short.staging.referralsaasquatch.com/mv2QxK",
201
+ },
202
+ EMAIL: {
203
+ DIRECT: "https://short.staging.referralsaasquatch.com/mP2QxK",
204
+ },
205
+ MOBILE: {
206
+ DIRECT: "https://short.staging.referralsaasquatch.com/me2QxK",
207
+ },
208
+ },
209
+ "yet-another": {
210
+ cleanShareLink: "https://short.staging.referralsaasquatch.com/mz2V4R",
211
+ UNKNOWN: {
212
+ DIRECT: "https://short.staging.referralsaasquatch.com/mv2V4R",
213
+ },
214
+ EMAIL: {
215
+ DIRECT: "https://short.staging.referralsaasquatch.com/mP2V4R",
216
+ },
217
+ MOBILE: {
218
+ DIRECT: "https://short.staging.referralsaasquatch.com/me2V4R",
219
+ },
220
+ },
221
+ "partner-super-fresh": {
222
+ cleanShareLink: "https://short.staging.referralsaasquatch.com/mz2V5H",
223
+ UNKNOWN: {
224
+ DIRECT: "https://short.staging.referralsaasquatch.com/mv2V5H",
225
+ },
226
+ EMAIL: {
227
+ DIRECT: "https://short.staging.referralsaasquatch.com/mP2V5H",
228
+ },
229
+ MOBILE: {
230
+ DIRECT: "https://short.staging.referralsaasquatch.com/me2V5H",
231
+ },
232
+ },
233
+ asdadsdas: {
234
+ cleanShareLink: "https://short.staging.referralsaasquatch.com/mzz5aX",
235
+ UNKNOWN: {
236
+ DIRECT: "https://short.staging.referralsaasquatch.com/mvz5aX",
237
+ },
238
+ EMAIL: {
239
+ DIRECT: "https://short.staging.referralsaasquatch.com/mPz5aX",
240
+ },
241
+ MOBILE: {
242
+ DIRECT: "https://short.staging.referralsaasquatch.com/mez5aX",
243
+ },
244
+ },
245
+ "sam-partner-test-2": {
246
+ cleanShareLink: "https://short.staging.referralsaasquatch.com/mzmzsH",
247
+ UNKNOWN: {
248
+ DIRECT: "https://short.staging.referralsaasquatch.com/mvmzsH",
249
+ },
250
+ EMAIL: {
251
+ DIRECT: "https://short.staging.referralsaasquatch.com/mPmzsH",
252
+ },
253
+ MOBILE: {
254
+ DIRECT: "https://short.staging.referralsaasquatch.com/memzsH",
255
+ },
256
+ },
257
+ translated: {
258
+ cleanShareLink: "https://short.staging.referralsaasquatch.com/mz2V57",
259
+ UNKNOWN: {
260
+ DIRECT: "https://short.staging.referralsaasquatch.com/mv2V57",
261
+ },
262
+ EMAIL: {
263
+ DIRECT: "https://short.staging.referralsaasquatch.com/mP2V57",
264
+ },
265
+ MOBILE: {
266
+ DIRECT: "https://short.staging.referralsaasquatch.com/me2V57",
267
+ },
268
+ },
269
+ dfsadfssdfa: {
270
+ cleanShareLink: "https://short.staging.referralsaasquatch.com/mz2V4K",
271
+ UNKNOWN: {
272
+ DIRECT: "https://short.staging.referralsaasquatch.com/mv2V4K",
273
+ },
274
+ EMAIL: {
275
+ DIRECT: "https://short.staging.referralsaasquatch.com/mP2V4K",
276
+ },
277
+ MOBILE: {
278
+ DIRECT: "https://short.staging.referralsaasquatch.com/me2V4K",
279
+ },
280
+ },
281
+ "maybe-broke": {
282
+ cleanShareLink: "https://short.staging.referralsaasquatch.com/mz2V4S",
283
+ UNKNOWN: {
284
+ DIRECT: "https://short.staging.referralsaasquatch.com/mv2V4S",
285
+ },
286
+ EMAIL: {
287
+ DIRECT: "https://short.staging.referralsaasquatch.com/mP2V4S",
288
+ },
289
+ MOBILE: {
290
+ DIRECT: "https://short.staging.referralsaasquatch.com/me2V4S",
291
+ },
292
+ },
293
+ },
294
+ customFields: {
295
+ foo: "bar",
296
+ lastSeenDate: 1638901913364,
297
+ },
298
+ segments: ["vip"],
299
+ referredBy: {
300
+ isConverted: false,
301
+ code: null,
302
+ newlyReferred: false,
303
+ referredReward: null,
304
+ },
305
+ referredByCodes: [],
306
+ dateUsTaxFormSubmitted: null,
307
+ },
308
+ };