@capillarytech/creatives-library 7.12.49 → 7.12.50

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 (30) hide show
  1. package/config/app.js +1 -0
  2. package/package.json +1 -1
  3. package/v2Components/TemplatePreview/index.js +1 -1
  4. package/v2Containers/Cap/tests/index.test.js +2 -2
  5. package/v2Containers/CreativesContainer/SlideBoxContent.js +7 -8
  6. package/v2Containers/CreativesContainer/tests/SlideBoxContent.test.js +36 -28
  7. package/v2Containers/CreativesContainer/tests/__snapshots__/SlideBoxContent.test.js.snap +337 -160
  8. package/v2Containers/CreativesContainer/tests/index.test.js +3 -0
  9. package/v2Containers/Line/Container/ImageCarousel/Content.js +29 -15
  10. package/v2Containers/Line/Container/ImageCarousel/constants.js +0 -3
  11. package/v2Containers/Line/Container/ImageCarousel/index.js +40 -28
  12. package/v2Containers/Line/Container/ImageCarousel/messages.js +2 -2
  13. package/v2Containers/Line/Container/index.js +1 -5
  14. package/v2Containers/Templates/constants.js +1 -1
  15. package/v2Containers/Templates/tests/__snapshots__/index.test.js.snap +1 -381
  16. package/v2Containers/Templates/tests/index.test.js +1 -7
  17. package/v2Containers/mockdata.js +156 -60
  18. package/v2Containers/Line/Container/ImageCarousel/tests/__snapshots__/content.test.js.snap +0 -9851
  19. package/v2Containers/Line/Container/ImageCarousel/tests/__snapshots__/index.test.js.snap +0 -21113
  20. package/v2Containers/Line/Container/ImageCarousel/tests/content.test.js +0 -71
  21. package/v2Containers/Line/Container/ImageCarousel/tests/index.test.js +0 -58
  22. package/v2Containers/Line/Container/ImageCarousel/tests/mockData.js +0 -1322
  23. package/v2Containers/Line/Container/ImageCarousel/tests/utils.test.js +0 -13
  24. package/v2Containers/Line/Container/ImageCarousel/utils.js +0 -12
  25. package/v2Containers/Line/Container/Wrapper/tests/__snapshots__/index.test.js.snap +0 -84451
  26. package/v2Containers/Line/Container/Wrapper/tests/index.test.js +0 -58
  27. package/v2Containers/Line/Container/Wrapper/tests/mockData.js +0 -171
  28. package/v2Containers/Line/Container/tests/__snapshots__/index.test.js.snap +0 -63597
  29. package/v2Containers/Line/Container/tests/index.test.js +0 -105
  30. package/v2Containers/Line/Container/tests/mockData.js +0 -1334
@@ -1,1334 +0,0 @@
1
- export const mockData = {
2
- Templates1: {
3
- getAllTemplatesInProgress: false,
4
- templateDetails: {},
5
- edmTemplate: {},
6
- weCRMtemplates: [],
7
- userList: {
8
- orgUsers: [
9
- {
10
- userId: 15107846,
11
- firstName: 'SUPER USER',
12
- lastName: '',
13
- loginName: '',
14
- email: '',
15
- mobile: '',
16
- isMobileValidated: 0,
17
- isEmailValidated: 0,
18
- },
19
- ],
20
- capUsers: [
21
- {
22
- userId: 4,
23
- firstName: 'Krishna',
24
- lastName: 'Mehra',
25
- loginName: 'kmehra@capillary.co.in',
26
- email: 'kmehra@capillary.co.in',
27
- mobile: '918227337383',
28
- isMobileValidated: 1,
29
- isEmailValidated: 1,
30
- },
31
- {
32
- userId: 5,
33
- firstName: 'Ajay',
34
- lastName: 'Modani',
35
- loginName: 'ajay2@capillary.co.in',
36
- email: 'ajay2@capillary.co.in',
37
- mobile: '52535525',
38
- isMobileValidated: 0,
39
- isEmailValidated: 0,
40
- },
41
- {
42
- userId: 25489,
43
- firstName: 'Aneesh',
44
- lastName: 'Reddy',
45
- loginName: 'aneesh@capillary.co.in',
46
- email: 'aneesh@capillary.co.in',
47
- mobile: '447423102772',
48
- isMobileValidated: 0,
49
- isEmailValidated: 0,
50
- },
51
- {
52
- userId: 222823,
53
- firstName: 'Chinmay',
54
- lastName: 'Singh',
55
- loginName: 'chinmay@dealhunt.in',
56
- email: 'chinmay@dealhunt.in',
57
- mobile: '919880607266',
58
- isMobileValidated: 0,
59
- isEmailValidated: 0,
60
- },
61
- {
62
- userId: 264337,
63
- firstName: 'Prakhar',
64
- lastName: 'Verma',
65
- loginName: 'prakhar@capillary.co.in',
66
- email: 'prakhar@capillary.co.in',
67
- mobile: '919900519451',
68
- isMobileValidated: 1,
69
- isEmailValidated: 1,
70
- },
71
- {
72
- userId: 538557,
73
- firstName: 'Anant',
74
- lastName: 'Choubey',
75
- loginName: 'anant.choubey@capillary.co.in',
76
- email: 'anant.choubey@capillary.co.in',
77
- mobile: '9980879502',
78
- isMobileValidated: 0,
79
- isEmailValidated: 0,
80
- },
81
- {
82
- userId: 766127,
83
- firstName: 'Sandeep',
84
- lastName: 'Capillary',
85
- loginName: 'sandeep.prakash2@capillary.co.in',
86
- email: 'sandeep.prakash2@capillary.co.in',
87
- mobile: '5353333',
88
- isMobileValidated: 0,
89
- isEmailValidated: 0,
90
- },
91
- {
92
- userId: 766527,
93
- firstName: 'Bipin',
94
- lastName: 'Singh',
95
- loginName: 'bipin.singh@dealhunt.in',
96
- email: 'bipin.singh@dealhunt.in',
97
- mobile: '9925256962',
98
- isMobileValidated: 0,
99
- isEmailValidated: 0,
100
- },
101
- {
102
- userId: 1627735,
103
- firstName: 'Sridhar',
104
- lastName: 'Bollam',
105
- loginName: 'sridhar.bollam@capillary.co.in',
106
- email: 'sridhar.bollam@capillary.co.in',
107
- mobile: '919916687758',
108
- isMobileValidated: 0,
109
- isEmailValidated: 0,
110
- },
111
- {
112
- userId: 1630122,
113
- firstName: 'Abhilash',
114
- lastName: 'LL',
115
- loginName: 'abhilash@dealhunt.in',
116
- email: 'abhilash@dealhunt.in',
117
- mobile: '919886208262',
118
- isMobileValidated: 1,
119
- isEmailValidated: 1,
120
- },
121
- {
122
- userId: 1630143,
123
- firstName: 'Shubh',
124
- lastName: 'Malhotra',
125
- loginName: 'shubh@capillary.co.in',
126
- email: 'shubh@capillary.co.in',
127
- mobile: '919198877781',
128
- isMobileValidated: 0,
129
- isEmailValidated: 0,
130
- },
131
- {
132
- userId: 1630149,
133
- firstName: 'Manager',
134
- lastName: 'Store',
135
- loginName: 'pulkit@gmail.com',
136
- email: 'pulkit@gmail.com',
137
- mobile: '91987',
138
- isMobileValidated: 0,
139
- isEmailValidated: 0,
140
- },
141
- {
142
- userId: 1630167,
143
- firstName: 'Manager',
144
- lastName: 'Store',
145
- loginName: 'capclienttest@dealhunt.in',
146
- email: 'capclienttest@dealhunt.in',
147
- mobile: '9916836928',
148
- isMobileValidated: 0,
149
- isEmailValidated: 0,
150
- },
151
- {
152
- userId: 1714450,
153
- firstName: 'Ankit',
154
- lastName: 'Jain',
155
- loginName: 'ankit.jain@capillary.co.in',
156
- email: 'ankit.jain@capillary.co.in',
157
- mobile: '919740941036',
158
- isMobileValidated: 0,
159
- isEmailValidated: 0,
160
- },
161
- {
162
- userId: 1722825,
163
- firstName: 'manish',
164
- lastName: 'kumar',
165
- loginName: 'manish.kumar@capillary.co.in',
166
- email: 'manish.kumar@capillary.co.in',
167
- mobile: '919343471846',
168
- isMobileValidated: 1,
169
- isEmailValidated: 1,
170
- },
171
- {
172
- userId: 1744249,
173
- firstName: 'prakash',
174
- lastName: 'gjg',
175
- loginName: '-1',
176
- email: '-1',
177
- mobile: '-1',
178
- isMobileValidated: 0,
179
- isEmailValidated: 0,
180
- },
181
- {
182
- userId: 3231788,
183
- firstName: 'Shailendra',
184
- lastName: 'Singh',
185
- loginName: 'shailendra@capillary.co.in',
186
- email: 'shailendra@capillary.co.in',
187
- mobile: '919741475300',
188
- isMobileValidated: 1,
189
- isEmailValidated: 1,
190
- },
191
- {
192
- userId: 3426893,
193
- firstName: 'Anupam',
194
- lastName: 'Dasgupta',
195
- loginName: 'anupam@dealhunt.in',
196
- email: 'anupam@dealhunt.in',
197
- mobile: '9591228668',
198
- isMobileValidated: 0,
199
- isEmailValidated: 0,
200
- },
201
- {
202
- userId: 3664858,
203
- firstName: 'abhishek',
204
- lastName: 'gupta',
205
- loginName: 'abhishek2@dealhunt.in',
206
- email: 'abhishek2@dealhunt.in',
207
- mobile: '25422272727',
208
- isMobileValidated: 0,
209
- isEmailValidated: 0,
210
- },
211
- {
212
- userId: 4359012,
213
- firstName: 'Suryajith',
214
- lastName: 'Chillara',
215
- loginName: 'suryajith@dealhunt.in',
216
- email: 'suryajith@dealhunt.in',
217
- mobile: '9008713376',
218
- isMobileValidated: 0,
219
- isEmailValidated: 0,
220
- },
221
- {
222
- userId: 5572776,
223
- firstName: 'Ravi',
224
- lastName: 'Saraswati',
225
- loginName: 'ravindranath.saraswati@capillary.co.in',
226
- email: 'ravindranath.saraswati@capillary.co.in',
227
- mobile: '919663694619',
228
- isMobileValidated: 1,
229
- isEmailValidated: 1,
230
- },
231
- {
232
- userId: 5626518,
233
- firstName: 'piyush',
234
- lastName: 'goel',
235
- loginName: 'p@gmail.com',
236
- email: 'p@gmail.com',
237
- mobile: '919980616752',
238
- isMobileValidated: 0,
239
- isEmailValidated: 0,
240
- },
241
- {
242
- userId: 5649852,
243
- firstName: 'Yashwanth',
244
- lastName: 'Madhusudan',
245
- loginName: 'yashwanth@capillary.co.in',
246
- email: 'yashwanth@capillary.co.in',
247
- mobile: '919880426783',
248
- isMobileValidated: 1,
249
- isEmailValidated: 0,
250
- },
251
- {
252
- userId: 8019710,
253
- firstName: 'Shilpa',
254
- lastName: 'Ranganath',
255
- loginName: 'shilpa.r@capillary.co.in',
256
- email: 'shilpa.r@capillary.co.in',
257
- mobile: '919945693860',
258
- isMobileValidated: 1,
259
- isEmailValidated: 1,
260
- },
261
- {
262
- userId: 8079090,
263
- firstName: 'Abhijeet',
264
- lastName: 'Vijayvergiya',
265
- loginName: 'abhijeet.v@capillary.co.in',
266
- email: 'abhijeet.v@capillary.co.in',
267
- mobile: '918861161357',
268
- isMobileValidated: 1,
269
- isEmailValidated: 1,
270
- },
271
- {
272
- userId: 8727080,
273
- firstName: 'Manish',
274
- lastName: 'Mishra',
275
- loginName: 'manish.mishra@capillary.co.in',
276
- email: 'manish.mishra@capillary.co.in',
277
- mobile: '918049074610',
278
- isMobileValidated: 0,
279
- isEmailValidated: 0,
280
- },
281
- {
282
- userId: 8727386,
283
- firstName: 'Ajay',
284
- lastName: 'Modani',
285
- loginName: 'ajay@capillary.co.in',
286
- email: 'ajay@capillary.co.in',
287
- mobile: '919903606590',
288
- isMobileValidated: 0,
289
- isEmailValidated: 0,
290
- },
291
- {
292
- userId: 8727633,
293
- firstName: 'Prakash Kumar',
294
- lastName: 'Chakka',
295
- loginName: 'prakash.ch@capillary.co.in',
296
- email: 'prakash.ch@capillary.co.in',
297
- mobile: '918880542251',
298
- isMobileValidated: 0,
299
- isEmailValidated: 0,
300
- },
301
- {
302
- userId: 8727695,
303
- firstName: 'Pprakhar',
304
- lastName: 'Verma',
305
- loginName: 'prakhar@dealhunt.in',
306
- email: 'prakhar@dealhunt.in',
307
- mobile: '919972317657',
308
- isMobileValidated: 0,
309
- isEmailValidated: 0,
310
- },
311
- {
312
- userId: 8727782,
313
- firstName: 'sandeep',
314
- lastName: 'prakash',
315
- loginName: 'sandeep.prakash@capillary.co.in',
316
- email: 'sandeep.prakash@capillary.co.in',
317
- mobile: '9742172169',
318
- isMobileValidated: 0,
319
- isEmailValidated: 0,
320
- },
321
- {
322
- userId: 8730028,
323
- firstName: 'Nayan Kumar',
324
- lastName: 'Patel',
325
- loginName: 'nayan.kumar@capillary.co.in',
326
- email: 'nayan.kumar@capillary.co.in',
327
- mobile: '919686523347',
328
- isMobileValidated: 1,
329
- isEmailValidated: 1,
330
- },
331
- {
332
- userId: 8730125,
333
- firstName: 'piyush',
334
- lastName: 'goel',
335
- loginName: 'piyush.goel@capillary.co.in',
336
- email: 'piyush.goel@capillary.co.in',
337
- mobile: '914444566898',
338
- isMobileValidated: 0,
339
- isEmailValidated: 0,
340
- },
341
- {
342
- userId: 8730207,
343
- firstName: 'abhinav',
344
- lastName: 'sarkar',
345
- loginName: 'abhinav.sarkar@capillary.co.in',
346
- email: 'abhinav.sarkar@capillary.co.in',
347
- mobile: '9178962463',
348
- isMobileValidated: 0,
349
- isEmailValidated: 0,
350
- },
351
- {
352
- userId: 8730258,
353
- firstName: 'saurabh',
354
- lastName: 'kumar',
355
- loginName: 'saurabh.kumar@capillary.co.in',
356
- email: 'saurabh.kumar@capillary.co.in',
357
- mobile: '919620955200',
358
- isMobileValidated: 0,
359
- isEmailValidated: 0,
360
- },
361
- {
362
- userId: 8776169,
363
- firstName: 'Nigel',
364
- lastName: 'Babu',
365
- loginName: 'nigel.babu@capillary.co.in',
366
- email: 'nigel.babu@capillary.co.in',
367
- mobile: '919886909856',
368
- isMobileValidated: 0,
369
- isEmailValidated: 0,
370
- },
371
- {
372
- userId: 9104837,
373
- firstName: 'Manager',
374
- lastName: 'Store',
375
- loginName: 'ketaki.kadve@dealhunt.in',
376
- email: 'ketaki.kadve@dealhunt.in',
377
- mobile: '919916120746',
378
- isMobileValidated: 0,
379
- isEmailValidated: 0,
380
- },
381
- {
382
- userId: 9105011,
383
- firstName: 'Suganya',
384
- lastName: 'TS',
385
- loginName: 'suganyats@capillary.co.in',
386
- email: 'suganyats@capillary.co.in',
387
- mobile: '919739780596',
388
- isMobileValidated: 0,
389
- isEmailValidated: 0,
390
- },
391
- {
392
- userId: 10063439,
393
- firstName: 'Manager',
394
- lastName: 'Store',
395
- loginName: 'aravind@dealhunt.in',
396
- email: 'aravind@dealhunt.in',
397
- mobile: '919876543218',
398
- isMobileValidated: 0,
399
- isEmailValidated: 0,
400
- },
401
- {
402
- userId: 10232608,
403
- firstName: 'Prakash',
404
- lastName: 'V',
405
- loginName: '-1',
406
- email: '-1',
407
- mobile: '-1',
408
- isMobileValidated: 0,
409
- isEmailValidated: 0,
410
- },
411
- {
412
- userId: 12773029,
413
- firstName: 'Shilpa',
414
- lastName: 'Ranganath',
415
- loginName: 'shilpa.r@xyz.in',
416
- email: 'shilpa.r@xyz.in',
417
- mobile: '',
418
- isMobileValidated: 0,
419
- isEmailValidated: 1,
420
- },
421
- {
422
- userId: 15000449,
423
- firstName: 'Ashish',
424
- lastName: 'Karan fd',
425
- loginName: 'cap@coin.com',
426
- email: 'cap@coin.com',
427
- mobile: '919957676767',
428
- isMobileValidated: 1,
429
- isEmailValidated: 1,
430
- },
431
- {
432
- userId: 15000459,
433
- firstName: 'Pallav',
434
- lastName: 'Kumar',
435
- loginName: 'pallav.kumar@capillary.co.in',
436
- email: 'pallav.kumar@capillary.co.in',
437
- mobile: '917011639213',
438
- isMobileValidated: 1,
439
- isEmailValidated: 1,
440
- },
441
- {
442
- userId: 15000719,
443
- firstName: 'Mallikarjuna',
444
- lastName: 'KV',
445
- loginName: 'mallikarjun.kv@capillarytech.com',
446
- email: 'mallikarjun.kv@capillarytech.com',
447
- mobile: '',
448
- isMobileValidated: 0,
449
- isEmailValidated: 1,
450
- },
451
- {
452
- userId: 15000801,
453
- firstName: 'SNK',
454
- lastName: 'Moorthy',
455
- loginName: 'snk@moorthy.com',
456
- email: 'snk@moorthy.com',
457
- mobile: '919886439370',
458
- isMobileValidated: 0,
459
- isEmailValidated: 1,
460
- },
461
- {
462
- userId: 15095138,
463
- firstName: 'Nandini',
464
- lastName: 'Prabakaran',
465
- loginName: 'nandini.prabakaran@capillarytech.com',
466
- email: 'nandini.prabakaran@capillarytech.com',
467
- mobile: '919909901000',
468
- isMobileValidated: 1,
469
- isEmailValidated: 1,
470
- },
471
- {
472
- userId: 15110680,
473
- firstName: 'Pallavi',
474
- lastName: 'Ravindra',
475
- loginName: 'pallavi.ravindra@capillarytech.com',
476
- email: 'pallavi.ravindra@capillarytech.com',
477
- mobile: '919008030500',
478
- isMobileValidated: 1,
479
- isEmailValidated: 1,
480
- },
481
- {
482
- userId: 15113118,
483
- firstName: 'pkr',
484
- lastName: 'pkr',
485
- loginName: '123@123.com',
486
- email: '123@123.com',
487
- mobile: '919912399123',
488
- isMobileValidated: 0,
489
- isEmailValidated: 0,
490
- },
491
- {
492
- userId: 15121781,
493
- firstName: 'first',
494
- lastName: 'user',
495
- loginName: 'first_user@capillarytech.com',
496
- email: 'first_user@capillarytech.com',
497
- mobile: '919939838312',
498
- isMobileValidated: 1,
499
- isEmailValidated: 1,
500
- },
501
- {
502
- userId: 15136021,
503
- firstName: 'Shilpa',
504
- lastName: 'Pai',
505
- loginName: 'shilpi.pai7@gmail.com',
506
- email: 'shilpi.pai7@gmail.com',
507
- mobile: '919611581381',
508
- isMobileValidated: 1,
509
- isEmailValidated: 1,
510
- },
511
- {
512
- userId: 15136792,
513
- firstName: 'ext',
514
- lastName: 'user',
515
- loginName: 'extuser@gmail.com',
516
- email: 'extuser@gmail.com',
517
- mobile: '919399393009',
518
- isMobileValidated: 1,
519
- isEmailValidated: 1,
520
- },
521
- {
522
- userId: 15141161,
523
- firstName: 'testing',
524
- lastName: 'coupon',
525
- loginName: 'test_cpn123@gmail.com',
526
- email: 'test_cpn123@gmail.com',
527
- mobile: '918904879164',
528
- isMobileValidated: 1,
529
- isEmailValidated: 1,
530
- },
531
- {
532
- userId: 15142106,
533
- firstName: 'Pakada',
534
- lastName: 'Bajji',
535
- loginName: 'Apple001@gmail.com',
536
- email: 'Apple001@gmail.com',
537
- mobile: '918989003421',
538
- isMobileValidated: 1,
539
- isEmailValidated: 1,
540
- },
541
- {
542
- userId: 15143973,
543
- firstName: 'Vivek',
544
- lastName: 'Dwivedi',
545
- loginName: 'vivek.dwivedi@capillarytech.com',
546
- email: 'vivek.dwivedi@capillarytech.com',
547
- mobile: '918553314799',
548
- isMobileValidated: 1,
549
- isEmailValidated: 1,
550
- },
551
- {
552
- userId: 15149077,
553
- firstName: 'apple',
554
- lastName: 'pen',
555
- loginName: 'applepen@capillarytech.com',
556
- email: 'applepen@capillarytech.com',
557
- mobile: '918989001271',
558
- isMobileValidated: 1,
559
- isEmailValidated: 1,
560
- },
561
- {
562
- userId: 50006994,
563
- firstName: 'Santhosh',
564
- lastName: '',
565
- loginName: 'santhosh.urs@capillarytech.com',
566
- email: 'santhosh.urs@capillarytech.com',
567
- mobile: '',
568
- isMobileValidated: 0,
569
- isEmailValidated: 1,
570
- },
571
- {
572
- userId: 50010020,
573
- firstName: 'kushal',
574
- lastName: '',
575
- loginName: 'kushal.tavargeri+111@capillarytech.com',
576
- email: 'kushal.tavargeri+111@capillarytech.com',
577
- mobile: '',
578
- isMobileValidated: 0,
579
- isEmailValidated: 1,
580
- },
581
- {
582
- userId: 50011614,
583
- firstName: 'APITESTER',
584
- lastName: '',
585
- loginName: 'APITESTER@capillarytech.com',
586
- email: 'APITESTER@capillarytech.com',
587
- mobile: '',
588
- isMobileValidated: 0,
589
- isEmailValidated: 1,
590
- },
591
- {
592
- userId: 50012222,
593
- firstName: 'superUser',
594
- lastName: '',
595
- loginName: 'superUser123@capillarytech.com',
596
- email: 'superUser123@capillarytech.com',
597
- mobile: '',
598
- isMobileValidated: 0,
599
- isEmailValidated: 1,
600
- },
601
- {
602
- userId: 50013188,
603
- firstName: 'rohan',
604
- lastName: 'mahadar',
605
- loginName: 'rohan.mahadar@capillarytech.com',
606
- email: 'rohan.mahadar@capillarytech.com',
607
- mobile: '',
608
- isMobileValidated: 0,
609
- isEmailValidated: 0,
610
- },
611
- {
612
- userId: 50014376,
613
- firstName: 'prakashV',
614
- lastName: '',
615
- loginName: 'prakash.v@capillarytech.com',
616
- email: 'prakash.v@capillarytech.com',
617
- mobile: '',
618
- isMobileValidated: 0,
619
- isEmailValidated: 1,
620
- },
621
- {
622
- userId: 50014801,
623
- firstName: 'jenga',
624
- lastName: '',
625
- loginName: 'jenga@capillarytech.com',
626
- email: 'jenga@capillarytech.com',
627
- mobile: '',
628
- isMobileValidated: 0,
629
- isEmailValidated: 1,
630
- },
631
- {
632
- userId: 50015898,
633
- firstName: 'sunil',
634
- lastName: 'gowda',
635
- loginName: 'sunil.gowda@capillarytech.com',
636
- email: 'sunil.gowda@capillarytech.com',
637
- mobile: '',
638
- isMobileValidated: 0,
639
- isEmailValidated: 1,
640
- },
641
- {
642
- userId: 50020738,
643
- firstName: 'archita',
644
- lastName: 'ss',
645
- loginName: 'archita@capillarytech.com',
646
- email: 'archita@capillarytech.com',
647
- mobile: '',
648
- isMobileValidated: 0,
649
- isEmailValidated: 1,
650
- },
651
- {
652
- userId: 50022858,
653
- firstName: 'QA Group',
654
- lastName: 'Five',
655
- loginName: 'qagroupFive@capillarytech.com',
656
- email: 'qagroupFive@capillarytech.com',
657
- mobile: '919900999005',
658
- isMobileValidated: 1,
659
- isEmailValidated: 1,
660
- },
661
- {
662
- userId: 50023393,
663
- firstName: 'QA Group',
664
- lastName: 'Eight',
665
- loginName: 'qagroupeight@capillarytech.com',
666
- email: 'qagroupeight@capillarytech.com',
667
- mobile: '919900999008',
668
- isMobileValidated: 1,
669
- isEmailValidated: 1,
670
- },
671
- {
672
- userId: 50024003,
673
- firstName: 'Coupon',
674
- lastName: '',
675
- loginName: 'luciqaaccount1@mail.com',
676
- email: 'luciqaaccount1@mail.com',
677
- mobile: '919933998801',
678
- isMobileValidated: 1,
679
- isEmailValidated: 1,
680
- },
681
- {
682
- userId: 50024004,
683
- firstName: 'Amit',
684
- lastName: 'Saxena',
685
- loginName: 'amit.saxena@capillarytech.com',
686
- email: 'amit.saxena@capillarytech.com',
687
- mobile: '918867467802',
688
- isMobileValidated: 1,
689
- isEmailValidated: 1,
690
- },
691
- ],
692
- },
693
- selectedEmailLayout: '',
694
- templateError: {},
695
- fetchingUserList: false,
696
- isSearch: true,
697
- userListFetchError: false,
698
- templates: [
699
- {
700
- _id: '629f7ecf134738019b2e332e',
701
- name: 'line_flex_new',
702
- type: 'LINE',
703
- versions: {
704
- $init: true,
705
- history: [],
706
- base: {
707
- content: {
708
- to: '{{line_id}}',
709
- messages: [
710
- {
711
- type: 'flex',
712
- altText: 'line_flex_new',
713
- contents: {
714
- contents: [
715
- {
716
- type: 'bubble',
717
- hero: {
718
- type: 'image',
719
- url: 'https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/b9f2aa7a-3f1a-4a20-a737-8d50841.jpeg',
720
- size: 'full',
721
- aspectRatio: '1:1',
722
- aspectMode: 'cover',
723
- },
724
- footer: {
725
- type: 'box',
726
- layout: 'vertical',
727
- spacing: 'xs',
728
- contents: [
729
- {
730
- type: 'button',
731
- style: 'link',
732
- height: 'sm',
733
- action: {
734
- type: 'message',
735
- label: 'Click',
736
- text: 'line_flex_new',
737
- },
738
- },
739
- ],
740
- },
741
- },
742
- ],
743
- type: 'carousel',
744
- },
745
- },
746
- ],
747
- },
748
- },
749
- },
750
- isActive: true,
751
- orgId: 1604,
752
- createdBy: '15000449',
753
- updatedBy: '15000449',
754
- createdAt: '2022-06-07T16:37:35.447Z',
755
- updatedAt: '2022-06-17T03:21:54.581Z',
756
- definition: {
757
- mode: 'flex',
758
- },
759
- totalCount: 1,
760
- },
761
- ],
762
- BEETemplate: {},
763
- },
764
- Templates2: {
765
- getAllTemplatesInProgress: false,
766
- templateDetails: {},
767
- edmTemplate: {},
768
- weCRMtemplates: [],
769
- userList: {
770
- orgUsers: [
771
- {
772
- userId: 15107846,
773
- firstName: 'SUPER USER',
774
- lastName: '',
775
- loginName: '',
776
- email: '',
777
- mobile: '',
778
- isMobileValidated: 0,
779
- isEmailValidated: 0,
780
- },
781
- ],
782
- capUsers: [
783
- {
784
- userId: 4,
785
- firstName: 'Krishna',
786
- lastName: 'Mehra',
787
- loginName: 'kmehra@capillary.co.in',
788
- email: 'kmehra@capillary.co.in',
789
- mobile: '918227337383',
790
- isMobileValidated: 1,
791
- isEmailValidated: 1,
792
- },
793
- ],
794
- },
795
- selectedEmailLayout: '',
796
- templateError: {},
797
- fetchingUserList: false,
798
- isSearch: true,
799
- userListFetchError: false,
800
- templates: [
801
- {
802
- _id: '62a811ced4715c87146ee9d1',
803
- name: 'Demo Old Template 3 (Multiple images)',
804
- type: 'LINE',
805
- versions: {
806
- $init: true,
807
- history: [],
808
- base: {
809
- content: {
810
- to: '{{line_id}}',
811
- messages: [
812
- {
813
- type: 'flex',
814
- altText: 'Demo Old Template 3 (Multiple images)',
815
- contents: {
816
- contents: [
817
- {
818
- type: 'bubble',
819
- hero: {
820
- type: 'image',
821
- url: 'https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/0b8783e5-688f-4cd6-b06e-8f20691.jpeg',
822
- size: 'full',
823
- aspectRatio: '257:160',
824
- aspectMode: 'cover',
825
- },
826
- footer: {
827
- type: 'box',
828
- layout: 'vertical',
829
- spacing: 'xs',
830
- contents: [
831
- {
832
- type: 'button',
833
- style: 'link',
834
- height: 'sm',
835
- action: {
836
- type: 'message',
837
- label: 'Demo Old 3 ',
838
- text: 'demo 3 img 1',
839
- },
840
- },
841
- ],
842
- },
843
- },
844
- {
845
- type: 'bubble',
846
- hero: {
847
- type: 'image',
848
- url: 'https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/4a35acea-0b45-4bce-bfe8-13fc2f7.jpeg',
849
- size: 'full',
850
- aspectRatio: '1:1',
851
- aspectMode: 'cover',
852
- },
853
- footer: {
854
- type: 'box',
855
- layout: 'vertical',
856
- spacing: 'xs',
857
- contents: [
858
- {
859
- type: 'button',
860
- style: 'link',
861
- height: 'sm',
862
- action: {
863
- type: 'uri',
864
- label: 'Demo Old 3 ',
865
- uri: 'https://www.demo3.com',
866
- },
867
- },
868
- ],
869
- },
870
- },
871
- {
872
- type: 'bubble',
873
- hero: {
874
- type: 'image',
875
- url: 'https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/a7be98a7-c138-4f9a-a1ab-47b8995.jpeg',
876
- size: 'full',
877
- aspectRatio: '1:1',
878
- aspectMode: 'cover',
879
- },
880
- footer: {
881
- type: 'box',
882
- layout: 'vertical',
883
- spacing: 'xs',
884
- contents: [
885
- {
886
- type: 'button',
887
- style: 'link',
888
- height: 'sm',
889
- action: {
890
- type: 'message',
891
- label: 'Demo Old 3 ',
892
- text: 'demo 3 image 3',
893
- },
894
- },
895
- ],
896
- },
897
- },
898
- {
899
- type: 'bubble',
900
- hero: {
901
- type: 'image',
902
- url: 'https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/a4cf8de9-0041-4a76-9c7a-2f2a23b.jpeg',
903
- size: 'full',
904
- aspectRatio: '1:1',
905
- aspectMode: 'cover',
906
- },
907
- footer: {
908
- type: 'box',
909
- layout: 'vertical',
910
- spacing: 'xs',
911
- contents: [
912
- {
913
- type: 'button',
914
- style: 'link',
915
- height: 'sm',
916
- action: {
917
- type: 'uri',
918
- label: 'Demo Old 4th',
919
- uri: 'https://www.demo34.com',
920
- },
921
- },
922
- ],
923
- },
924
- },
925
- {
926
- type: 'bubble',
927
- hero: {
928
- type: 'image',
929
- url: 'https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/1ce0ac0f-9e68-405b-a77a-ea77c4c.jpeg',
930
- size: 'full',
931
- aspectRatio: '299:168',
932
- aspectMode: 'cover',
933
- },
934
- footer: {
935
- type: 'box',
936
- layout: 'vertical',
937
- spacing: 'xs',
938
- contents: [
939
- {
940
- type: 'button',
941
- style: 'link',
942
- height: 'sm',
943
- action: {
944
- type: 'uri',
945
- label: 'f',
946
- uri: 'https://www.ff.com',
947
- },
948
- },
949
- ],
950
- },
951
- },
952
- ],
953
- type: 'carousel',
954
- },
955
- },
956
- ],
957
- },
958
- },
959
- },
960
- isActive: true,
961
- orgId: 1604,
962
- createdBy: '15000449',
963
- updatedBy: '15000449',
964
- createdAt: '2022-06-14T04:42:54.994Z',
965
- updatedAt: '2022-06-14T07:51:22.877Z',
966
- definition: {
967
- mode: 'flex',
968
- },
969
- totalCount: 3,
970
- },
971
- {
972
- _id: '62a810e4d4715c768d6ee9cf',
973
- name: 'Demo Old Template 2(Multiple images)',
974
- type: 'LINE',
975
- versions: {
976
- $init: true,
977
- history: [],
978
- base: {
979
- content: {
980
- messages: [
981
- {
982
- altText: 'Demo Old Template 2(Multiple images)',
983
- template: {
984
- type: 'image_carousel',
985
- columns: [
986
- {
987
- action: {
988
- uri: 'https://www.demo.com',
989
- label: 'Demo Old 2',
990
- type: 'uri',
991
- },
992
- imageUrl:
993
- 'https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/f374edfe-1fd4-4b15-a6f7-74d5d86.jpeg',
994
- },
995
- {
996
- action: {
997
- text: 'Demo Old Template 2(Multiple images)',
998
- label: 'Demo Old 2',
999
- type: 'message',
1000
- },
1001
- imageUrl:
1002
- 'https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/2e32a468-2879-410d-91a5-8dbdcea.jpeg',
1003
- },
1004
- ],
1005
- },
1006
- type: 'template',
1007
- },
1008
- ],
1009
- to: '{{line_id}}',
1010
- },
1011
- },
1012
- },
1013
- isActive: true,
1014
- orgId: 1604,
1015
- createdBy: '15000449',
1016
- updatedBy: '15000449',
1017
- createdAt: '2022-06-14T04:39:00.665Z',
1018
- updatedAt: '2022-06-14T04:39:00.665Z',
1019
- definition: {
1020
- mode: 'template',
1021
- },
1022
- totalCount: 3,
1023
- },
1024
- {
1025
- _id: '62a81096d4715c06d26ee9cc',
1026
- name: 'Demo Old Template 1',
1027
- type: 'LINE',
1028
- versions: {
1029
- $init: true,
1030
- history: [],
1031
- base: {
1032
- content: {
1033
- messages: [
1034
- {
1035
- altText: 'Demo Old Template 1',
1036
- template: {
1037
- type: 'image_carousel',
1038
- columns: [
1039
- {
1040
- action: {
1041
- text: 'Demo Old Template 1',
1042
- label: 'Demo Old 1',
1043
- type: 'message',
1044
- },
1045
- imageUrl:
1046
- 'https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/a5f9a008-eff7-4315-a26b-1ea3dac.jpeg',
1047
- },
1048
- ],
1049
- },
1050
- type: 'template',
1051
- },
1052
- ],
1053
- to: '{{line_id}}',
1054
- },
1055
- },
1056
- },
1057
- isActive: true,
1058
- orgId: 1604,
1059
- createdBy: '15000449',
1060
- updatedBy: '15000449',
1061
- createdAt: '2022-06-14T04:37:42.383Z',
1062
- updatedAt: '2022-06-14T04:37:42.383Z',
1063
- definition: {
1064
- mode: 'template',
1065
- },
1066
- totalCount: 3,
1067
- },
1068
- ],
1069
- BEETemplate: {},
1070
- },
1071
- Line1: {
1072
- createTemplateInProgress: false,
1073
- response: {},
1074
- getTemplateDetailsInProgress: false,
1075
- templateDetails: {
1076
- _id: '629f7ecf134738019b2e332e',
1077
- name: 'line_flex_new',
1078
- type: 'LINE',
1079
- versions: {
1080
- history: [],
1081
- base: {
1082
- content: {
1083
- to: '{{line_id}}',
1084
- messages: [
1085
- {
1086
- type: 'flex',
1087
- altText: 'line_flex_new',
1088
- contents: {
1089
- contents: [
1090
- {
1091
- type: 'bubble',
1092
- hero: {
1093
- type: 'image',
1094
- url: 'https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/b9f2aa7a-3f1a-4a20-a737-8d50841.jpeg',
1095
- size: 'full',
1096
- aspectRatio: '1:1',
1097
- aspectMode: 'cover',
1098
- },
1099
- footer: {
1100
- type: 'box',
1101
- layout: 'vertical',
1102
- spacing: 'xs',
1103
- contents: [
1104
- {
1105
- type: 'button',
1106
- style: 'link',
1107
- height: 'sm',
1108
- action: {
1109
- type: 'message',
1110
- label: 'Click',
1111
- text: 'line_flex_new',
1112
- },
1113
- },
1114
- {
1115
- type: 'bubble',
1116
- hero: {},
1117
- footer: {
1118
- type: 'box',
1119
- layout: 'vertical',
1120
- spacing: 'xs',
1121
- contents: [{}],
1122
- },
1123
- },
1124
- {
1125
- type: 'bubble',
1126
- },
1127
- ],
1128
- },
1129
- },
1130
- ],
1131
- type: 'carousel',
1132
- },
1133
- },
1134
- ],
1135
- },
1136
- },
1137
- },
1138
- isActive: true,
1139
- orgId: 1604,
1140
- createdBy: '15000449',
1141
- updatedBy: '15000449',
1142
- createdAt: '2022-06-07T16:37:35.447Z',
1143
- updatedAt: '2022-06-17T03:21:54.581Z',
1144
- mode: 'flex',
1145
- },
1146
- editTemplateInProgress: false,
1147
- editTemplateError: false,
1148
- editResponse: {
1149
- templateId: {
1150
- _id: '629f7ecf134738019b2e332e',
1151
- name: 'line_flex_new',
1152
- versions: {
1153
- base: {
1154
- content: {
1155
- to: '{{line_id}}',
1156
- messages: [
1157
- {
1158
- type: 'flex',
1159
- altText: 'line_flex_new',
1160
- contents: {
1161
- contents: [
1162
- {
1163
- type: 'bubble',
1164
- hero: {
1165
- type: 'image',
1166
- url: 'https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/b9f2aa7a-3f1a-4a20-a737-8d50841.jpeg',
1167
- size: 'full',
1168
- aspectRatio: '1:1',
1169
- aspectMode: 'cover',
1170
- },
1171
- footer: {
1172
- type: 'box',
1173
- layout: 'vertical',
1174
- spacing: 'xs',
1175
- contents: [
1176
- {
1177
- type: 'button',
1178
- style: 'link',
1179
- height: 'sm',
1180
- action: {
1181
- type: 'message',
1182
- label: 'Click',
1183
- text: 'line_flex_new',
1184
- },
1185
- },
1186
- ],
1187
- },
1188
- },
1189
- ],
1190
- type: 'carousel',
1191
- },
1192
- },
1193
- ],
1194
- },
1195
- },
1196
- },
1197
- type: 'LINE',
1198
- orgId: 1604,
1199
- },
1200
- },
1201
- },
1202
- Line2: {
1203
- createTemplateInProgress: false,
1204
- response: {},
1205
- getTemplateDetailsInProgress: false,
1206
- templateDetails: {
1207
- _id: '62a810e4d4715c768d6ee9cf',
1208
- name: 'Demo Old Template 2(Multiple images)',
1209
- type: 'LINE',
1210
- versions: {
1211
- history: [],
1212
- base: {
1213
- content: {
1214
- messages: [
1215
- {
1216
- altText: 'Demo Old Template 2(Multiple images)',
1217
- template: {
1218
- type: 'image_carousel',
1219
- columns: [
1220
- {
1221
- action: {
1222
- uri: 'https://www.demo.com',
1223
- label: 'Demo Old 2',
1224
- type: 'uri',
1225
- },
1226
- imageUrl:
1227
- 'https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/f374edfe-1fd4-4b15-a6f7-74d5d86.jpeg',
1228
- },
1229
- {
1230
- action: {
1231
- text: 'Demo Old Template 2(Multiple images)',
1232
- label: 'Demo Old 2',
1233
- type: 'message',
1234
- },
1235
- imageUrl:
1236
- 'https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/2e32a468-2879-410d-91a5-8dbdcea.jpeg',
1237
- },
1238
- {
1239
- imageUrl: '',
1240
- },
1241
- ],
1242
- },
1243
- type: 'template',
1244
- },
1245
- ],
1246
- to: '{{line_id}}',
1247
- },
1248
- },
1249
- },
1250
- isActive: true,
1251
- orgId: 1604,
1252
- createdBy: '15000449',
1253
- updatedBy: '15000449',
1254
- createdAt: '2022-06-14T04:39:00.665Z',
1255
- updatedAt: '2022-06-14T04:39:00.665Z',
1256
- mode: 'template',
1257
- },
1258
- editTemplateInProgress: false,
1259
- editTemplateError: false,
1260
- editResponse: {
1261
- templateId: {
1262
- _id: '629f7ecf134738019b2e332e',
1263
- name: 'line_flex_new',
1264
- versions: {
1265
- base: {
1266
- content: {
1267
- to: '{{line_id}}',
1268
- messages: [
1269
- {
1270
- type: 'flex',
1271
- altText: 'line_flex_new',
1272
- contents: {
1273
- contents: [
1274
- {
1275
- type: 'bubble',
1276
- hero: {
1277
- type: 'image',
1278
- url: 'https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/b9f2aa7a-3f1a-4a20-a737-8d50841.jpeg',
1279
- size: 'full',
1280
- aspectRatio: '1:1',
1281
- aspectMode: 'cover',
1282
- },
1283
- footer: {
1284
- type: 'box',
1285
- layout: 'vertical',
1286
- spacing: 'xs',
1287
- contents: [
1288
- {
1289
- type: 'button',
1290
- style: 'link',
1291
- height: 'sm',
1292
- action: {
1293
- type: 'message',
1294
- label: 'Click',
1295
- text: 'line_flex_new',
1296
- },
1297
- },
1298
- ],
1299
- },
1300
- },
1301
- ],
1302
- type: 'carousel',
1303
- },
1304
- },
1305
- ],
1306
- },
1307
- },
1308
- },
1309
- type: 'LINE',
1310
- orgId: 1604,
1311
- },
1312
- },
1313
- },
1314
- params1: {
1315
- id: '629f7ecf134738019b2e332e',
1316
- mode: 'flex',
1317
- },
1318
- params2: {
1319
- id: '62a810e4d4715c768d6ee9cf',
1320
- mode: 'template',
1321
- },
1322
- templateData1: {
1323
- mode: 'edit',
1324
- _id: '629f7ecf134738019b2e332e',
1325
- modeType: 'flex',
1326
- type: 'LINE',
1327
- },
1328
- templateData2: {
1329
- mode: 'edit',
1330
- _id: '62a810e4d4715c768d6ee9cf',
1331
- modeType: 'template',
1332
- type: 'LINE',
1333
- },
1334
- };