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