@capillarytech/creatives-library 7.14.41 → 7.15.3

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 (51) hide show
  1. package/containers/Cap/tests/__snapshots__/index.test.js.snap +4 -193
  2. package/containers/LanguageProvider/index.js +0 -2
  3. package/containers/LanguageProvider/tests/index.test.js +0 -1
  4. package/i18n.js +8 -11
  5. package/package.json +1 -1
  6. package/reducers.js +0 -2
  7. package/services/api.js +1 -9
  8. package/translations/en.json +4 -192
  9. package/translations/zh.json +3 -191
  10. package/v2Components/CapActionButton/index.js +0 -1
  11. package/v2Components/CapVideoUpload/index.scss +5 -0
  12. package/v2Components/FormBuilder/index.js +4 -28
  13. package/v2Containers/Assets/Gallery/index.js +1 -1
  14. package/v2Containers/Cap/tests/__snapshots__/index.test.js.snap +4 -193
  15. package/v2Containers/CreativesContainer/constants.js +0 -2
  16. package/v2Containers/CreativesContainer/index.js +2 -2
  17. package/v2Containers/CreativesContainer/selectors.js +2 -2
  18. package/v2Containers/CreativesContainer/tests/__snapshots__/index.test.js.snap +0 -8
  19. package/v2Containers/CreativesContainer/tests/index.test.js +0 -28
  20. package/v2Containers/Line/Container/ImageCarousel/tests/__snapshots__/content.test.js.snap +12 -582
  21. package/v2Containers/Line/Container/ImageCarousel/tests/__snapshots__/index.test.js.snap +8 -386
  22. package/v2Containers/Line/Container/Text/index.js +2 -3
  23. package/v2Containers/Line/Container/Wrapper/tests/__snapshots__/index.test.js.snap +68 -3285
  24. package/v2Containers/Line/Container/index.js +1 -1
  25. package/v2Containers/Line/Container/tests/__snapshots__/index.test.js.snap +72 -3474
  26. package/v2Containers/Rcs/index.js +0 -3
  27. package/v2Containers/Rcs/messages.js +1 -1
  28. package/v2Containers/Rcs/tests/__snapshots__/index.test.js.snap +253 -9383
  29. package/v2Containers/Sms/Create/actions.js +0 -9
  30. package/v2Containers/Sms/Create/constants.js +0 -2
  31. package/v2Containers/Sms/Create/index.js +0 -12
  32. package/v2Containers/Sms/Create/sagas.js +3 -19
  33. package/v2Containers/SmsTrai/Create/tests/__snapshots__/index.test.js.snap +16 -772
  34. package/v2Containers/SmsTrai/Edit/tests/__snapshots__/index.test.js.snap +32 -1544
  35. package/v2Containers/Templates/index.js +3 -2
  36. package/v2Containers/Templates/messages.js +2 -2
  37. package/v2Containers/Templates/tests/__snapshots__/index.test.js.snap +0 -16
  38. package/v2Containers/TemplatesV2/index.js +1 -1
  39. package/v2Containers/Viber/index.js +0 -1
  40. package/v2Containers/Whatsapp/index.js +1 -0
  41. package/v2Containers/Whatsapp/messages.js +1 -1
  42. package/v2Containers/Whatsapp/tests/__snapshots__/index.test.js.snap +284 -13755
  43. package/v2Containers/mockdata.js +0 -128
  44. package/tests/integration/TemplateCreation/TemplateCreation.integration.test.js +0 -420
  45. package/tests/integration/TemplateCreation/api-response.js +0 -1663
  46. package/tests/integration/TemplateCreation/helper.js +0 -23
  47. package/tests/integration/TemplateCreation/mocks/initialState.js +0 -428
  48. package/tests/integration/TemplateCreation/msw-handler.js +0 -48
  49. package/translations/ja-JP.json +0 -2013
  50. package/v2Containers/Sms/Create/tests/sagas.test.js +0 -82
  51. package/v2Containers/SmsTrai/Create/tests/selectors.test.js +0 -10
@@ -1,1663 +0,0 @@
1
- export const authOrgUsersReonData = {
2
- success: true,
3
- status: 200,
4
- result: {
5
- orgUsers: [
6
- {
7
- userId: 50011426,
8
- firstName: 'bhima',
9
- lastName: '',
10
- loginName: 'bhima337@capillarytech.com',
11
- email: 'bhima337@capillarytech.com',
12
- mobile: '',
13
- isMobileValidated: 0,
14
- isEmailValidated: 1,
15
- },
16
- ],
17
- capUsers: [
18
- {
19
- userId: 15000449,
20
- firstName: 'Ashish',
21
- lastName: 'Karan fd',
22
- loginName: 'cap@coin.com',
23
- email: 'cap@coin.com',
24
- mobile: '919957676767',
25
- isMobileValidated: 1,
26
- isEmailValidated: 1,
27
- },
28
- ],
29
- },
30
- };
31
-
32
- //this is non dlt.
33
- export const authUserReonData = {
34
- success: true,
35
- message: 'LoggedIn User Details',
36
- user: {
37
- id: '14783',
38
- orgID: 0,
39
- refID: '15000449',
40
- type: 'ADMIN_USER',
41
- passwordValidity: '2022-12-01 12:29:25',
42
- active: 'true',
43
- attributes: {
44
- USERNAME: {
45
- value: 'ashish',
46
- verified: 'true',
47
- },
48
- MOBILE: {
49
- value: '919957676767',
50
- verified: 'false',
51
- },
52
- EMAIL: {
53
- value: 'cap@coin.com',
54
- verified: 'true',
55
- },
56
- },
57
- isCapUser: true,
58
- firstName: 'Ashish',
59
- lastName: 'Karan fd',
60
- orgName: 'Capillary Technologies',
61
- adminUser: true,
62
- userRoles: {
63
- ORG: [
64
- {
65
- entityType: 'ORG',
66
- entityName: 'Capillary Technologies',
67
- role: 'SUPERUSER',
68
- entityId: 0,
69
- childEntities: [],
70
- },
71
- ],
72
- },
73
- lang: 'en',
74
- proxyOrgList: [
75
- {
76
- orgID: 50146,
77
- orgName: 'REON_DATA',
78
- },
79
- ],
80
- loginName: 'ashish',
81
- authEntities: {
82
- userRoleType: 'org',
83
- userEntities: {
84
- store: [],
85
- },
86
- },
87
- accessRoles: {
88
- "all_access": -1,
89
- "senior_ops_exe": 313,
90
- 'Woodland_CCMS-Report': 318,
91
- "Carsndolls_admin": 347,
92
- 'Guest Access': 387,
93
- 'CCMS Only': 414,
94
- "OE": 1001,
95
- "SOE": 1002,
96
- "DOT": 1003,
97
- "Analytics": 1004,
98
- 'Tech support': 1005,
99
- "AOM": 1006,
100
- "OM": 1007,
101
- 'SMS CCMS Dumps': 1008,
102
- 'Raw Data Dump': 1009,
103
- "ACCESSTEAM": 1010,
104
- "SOCIAL": 1011,
105
- "SUPERUSER": 1012,
106
- "ANCYPerm": 1013,
107
- "Smith": 1045,
108
- "xyz": 1046,
109
- "capillary_technologi": 1051,
110
- "access": 1057,
111
- "QA": 1059,
112
- "EMF": 1085,
113
- "MCREAD": 1098,
114
- "MCWRITE": 1099,
115
- "MCGOODWILLREAD": 1100,
116
- "MCNew": 1126,
117
- "randomjazz": 1144,
118
- "CheckGroup": 1159,
119
- "couponAccess": 1262,
120
- "minimalAccess": 1264,
121
- 'NAY TEST': 1275,
122
- 'LM BUSINESS': 1283,
123
- 'LM COUPON': 1284,
124
- 'LM Setup Group': 1285,
125
- "LP": 1286,
126
- 'SEQ ASSOC': 1287,
127
- 'SEQ MGR': 1292,
128
- "rbacApprover": 1316,
129
- "rbacRequestor": 1317,
130
- "rbacSuper": 1318,
131
- "AllAccessPerr": 1322,
132
- "ONLYCAMPAIGN": 1323,
133
- 'MC View': 1324,
134
- "MCREADWRITE": 1325,
135
- 'MC Search': 1326,
136
- "testGp": 1328,
137
- 'MC RESEND COUPON': 1340,
138
- 'Command Center Admin': 1345,
139
- "finance": 1350,
140
- "couponCacheGroup": 1355,
141
- "RMSETTINGS": 1356,
142
- "BulitUp": 1387,
143
- "DEFAULT_PERMISSION": 1393,
144
- "BIADMIN": 1455,
145
- "BIUSER": 1461,
146
- "BIPOC": 1500,
147
- "BISEGMENTS": 1525,
148
- "BIEXPORT": 1527,
149
- "rajshekar": 1572,
150
- "QATest": 1580,
151
- "EXTERNALFACT": 1582,
152
- "GLAOM": 1620,
153
- "CommandCenterAdmins": 1688,
154
- "CAMPMOD": 1736,
155
- 'AOM Level': 1803,
156
- "MCWR": 1885,
157
- "AOMLevel": 1887,
158
- 'Delivery Manager': 1998,
159
- 'ADA Level One': 2137,
160
- 'ADA Level Two': 2138,
161
- 'ADA Level Three': 2139,
162
- "BUSSUSRNOCAMPAUT": 2394,
163
- 'MC SETTING': 3708,
164
- "XENGAGESETTINGS": 3715,
165
- 'Campaigns View': 3736,
166
- "CreateMessage": 3739,
167
- },
168
- accessiblePermissions: [
169
- 'OE',
170
- 'SOE',
171
- 'DOT',
172
- 'Analytics',
173
- 'Tech support',
174
- 'AOM',
175
- 'OM',
176
- 'SMS CCMS Dumps',
177
- 'Raw Data Dump',
178
- 'ACCESSTEAM',
179
- 'SOCIAL',
180
- 'GOD',
181
- 'DCS',
182
- 'MC_READ',
183
- 'LP',
184
- 'MC_RESEND_COUPON',
185
- 'ADMIN_ACCESS',
186
- 'PII_MASK',
187
- 'PII_MASK_NOT_REQUIRED',
188
- 'ALL_MSG_APPROVE',
189
- 'COUPON_MSG_APPROVE',
190
- 'POINTS_MSG_APPROVE',
191
- 'LIST_CSV_UPLOAD',
192
- 'EXT_FACT_ACCESS',
193
- 'AUDIENCE_MANAGER_UI_VIEW',
194
- 'CAMPAIGNS_UI_VIEW',
195
- 'INCENTIVES_UI_VIEW',
196
- 'CREATIVES_UI_VIEW',
197
- 'MC_SEARCH',
198
- 'MC_CIR_VIEW',
199
- 'MC_GWR_VIEW',
200
- 'bounceback_campaign_auth',
201
- 'MC_CUSTOMER_UPDATE',
202
- 'MC_CIR_UPDATE',
203
- 'CAMP_CONF_ALL',
204
- 'CAMP_CREATE',
205
- 'CAMP_MSG_CREATE',
206
- 'CAMP_MSG_APPROVE',
207
- 'CAMP_COUPON_CREATE',
208
- 'CAMP_REPORT_VIEW',
209
- 'CAMP_LIST_CONF',
210
- 'CAMP_MSG_TEMPLATE_DESIGN',
211
- 'configure_actions',
212
- 'view_coupon_series',
213
- 'view_rule_campaign',
214
- 'configure_coupon_series',
215
- 'MC_GWR_UPDATE',
216
- 'MC_SETTINGS',
217
- 'command_center_admin',
218
- 'MC_GOODWILL_READ',
219
- 'MC_WRITE',
220
- 'finance',
221
- 'CAMP_XENGAGE_SETTINGS',
222
- ],
223
- aryaUserRoles: {
224
- ORG: [
225
- {
226
- entityType: 'ORG',
227
- entityName: 'Capillary Technologies',
228
- role: 'SUPERUSER',
229
- entityId: 0,
230
- childEntities: [],
231
- },
232
- ],
233
- },
234
- accessibleOUList: {
235
- ExpressWay: 50007995,
236
- Franchisee: 50007996,
237
- supermarket: 50007994,
238
- All: -1,
239
- },
240
- },
241
- currentOrgId: 50146,
242
- currentOrgDetails: {
243
- basic_details: {
244
- org_id: '50146',
245
- name: 'REON_DATA',
246
- address: '',
247
- phone: '',
248
- fiscal_year_start: '-1',
249
- language: '',
250
- base_language: '',
251
- base_lang_locale: '',
252
- base_currency_name: 'Indian Rupee ',
253
- base_currency: 'INR',
254
- base_currency_symbol: '₹',
255
- timezone: 'Asia/Kolkata',
256
- timezone_offset: '+05:30',
257
- min_sms_hour: 0,
258
- max_sms_hour: 23,
259
- is_active: 1,
260
- value_sms_credits: '',
261
- bulk_sms_credits: '',
262
- base_country: 'India',
263
- base_country_code: 'IN',
264
- base_language_iso: {
265
- lang: '',
266
- locale: '',
267
- },
268
- base_timezone_iso: {
269
- label: 'Asia/Kolkata',
270
- offset: '+05:30',
271
- },
272
- base_country_iso: {
273
- code: 'IN',
274
- name: 'India',
275
- },
276
- base_currency_iso: {
277
- label: 'INR',
278
- symbol: '₹',
279
- },
280
- },
281
- sender_details: {
282
- GSM: '9876987022',
283
- CDMA: '9876987022',
284
- label: 'TATADG',
285
- replyToEmail: 'tata@dg.com',
286
- senderEmail: 'tata@dg.com',
287
- },
288
- accessibleFeatures: [
289
- 'PERSONALISATION_STRATEGY',
290
- 'CHANNEL_PRIORITY_STRATEGY',
291
- 'STORE2DOOR_PLUS_ENABLED',
292
- 'XENGAGE_STRATEGY',
293
- 'COMMUNICATION_LIMIT',
294
- 'CAMPAIGNS_FTP',
295
- 'PROMO_ENGINE',
296
- 'LOYALTY_NEW_UI_ENABLED',
297
- 'EXTERNALLY_MANAGED_COUPONS',
298
- 'FLEET_LOYALTY_ENABLED',
299
- 'JOURNEY_UI',
300
- 'CREATIVES_UI_VIEW',
301
- ],
302
- org_loyalty_v2_status: true,
303
- module_details: [
304
- {
305
- id: 26,
306
- name: 'WORKBENCH',
307
- code: 'businessProcesses',
308
- version: '1.0.0.1',
309
- namespace: 'businessProcesses',
310
- display_order: 10,
311
- url: '/businessProcesses/index',
312
- },
313
- {
314
- id: 44,
315
- name: 'ENGAGE+',
316
- code: 'campaigns/ui/list',
317
- version: '1.0.0.1',
318
- namespace: 'campaign',
319
- display_order: 9,
320
- url: '/campaigns/ui/list',
321
- },
322
- {
323
- id: 45,
324
- name: 'LOYALTY+',
325
- code: 'loyalty/ui/',
326
- version: '1.0.0.1',
327
- namespace: 'loyalty/ui/',
328
- display_order: 6,
329
- url: '/loyalty/ui/',
330
- },
331
- {
332
- id: 39,
333
- name: 'MEMBER CARE',
334
- code: 'memberCare',
335
- version: '1.0.0.1',
336
- namespace: 'memberCare',
337
- display_order: 5,
338
- url: '/memberCare/index',
339
- },
340
- {
341
- id: 27,
342
- name: 'MASTERS',
343
- code: 'org',
344
- version: '1.0.0.1',
345
- namespace: 'org',
346
- display_order: 0,
347
- url: '/org/index',
348
- },
349
- ],
350
- org_campaign_v2_status: true,
351
- },
352
- systemTimeZone: 'Asia/Calcutta',
353
- systemCurrentDate: '2022-02-16 12:23:39',
354
- currentDate: '2022-02-16 12:23:39',
355
- };
356
-
357
- export const smsTemplates = {
358
- success: true,
359
- status: {
360
- isError: false,
361
- code: 200,
362
- message: "success",
363
- },
364
- message: "meta",
365
- response: {
366
- templates: [
367
- {
368
- _id: "63e6119478fdb1180a54da1a",
369
- versions: {
370
- base: {
371
- "base": true,
372
- "tabKey": "1",
373
- "template-name": "",
374
- "sms-editor": "asdf",
375
- "unicode-validity": false,
376
- },
377
- history: [
378
- {
379
- "base": true,
380
- "tabKey": "1",
381
- "template-name": "",
382
- "sms-editor": "asdf",
383
- "unicode-validity": false,
384
- },
385
- ],
386
- },
387
- type: "SMS",
388
- isActive: true,
389
- name: "Test SMSasdf",
390
- createdBy: "15000449",
391
- updatedBy: "15000449",
392
- orgId: 50146,
393
- createdAt: "2023-02-10T09:42:44.927Z",
394
- updatedAt: "2023-02-10T09:42:44.927Z",
395
- __v: 0,
396
- totalCount: 221,
397
- definition: null,
398
- },
399
- {
400
- _id: "63e6118378fdb1180a54da13",
401
- versions: {
402
- base: {
403
- "unicode-validity": false,
404
- "sms-editor": "sdfasdfadsfasdfasdf",
405
- "template-name": "",
406
- "tabKey": "1",
407
- "base": true,
408
- },
409
- history: [
410
- {
411
- "unicode-validity": false,
412
- "sms-editor": "sdfasdfadsfasdfasdf",
413
- "template-name": "",
414
- "tabKey": "1",
415
- "base": true,
416
- },
417
- ],
418
- },
419
- type: "SMS",
420
- isActive: true,
421
- name: "Copy of adsfa 02-10-2023 15:12:26",
422
- createdBy: "15000449",
423
- updatedBy: "15000449",
424
- orgId: 50146,
425
- createdAt: "2023-02-10T09:42:27.555Z",
426
- updatedAt: "2023-02-10T09:42:27.555Z",
427
- __v: 0,
428
- totalCount: 221,
429
- definition: null,
430
- },
431
- {
432
- _id: "63d8a412db342a475c7fe4db",
433
- versions: {
434
- base: {
435
- "base": true,
436
- "tabKey": "1",
437
- "template-name": "",
438
- "sms-editor": "This is a sms template used for automation",
439
- "unicode-validity": false,
440
- },
441
- history: [
442
- {
443
- "base": true,
444
- "tabKey": "1",
445
- "template-name": "",
446
- "sms-editor": "This is a sms template used for automation",
447
- "unicode-validity": false,
448
- },
449
- ],
450
- },
451
- type: "SMS",
452
- isActive: true,
453
- name: "automation_sms_imp",
454
- createdBy: "15000449",
455
- updatedBy: "15000449",
456
- orgId: 50146,
457
- createdAt: "2023-01-31T05:16:02.789Z",
458
- updatedAt: "2023-01-31T05:16:02.789Z",
459
- __v: 0,
460
- totalCount: 221,
461
- definition: null,
462
- },
463
- {
464
- _id: "6238881ba7e1a1a0d5dfe97a",
465
- updatedAt: "2022-03-21T14:13:47.019Z",
466
- createdAt: "2022-03-21T14:13:47.019Z",
467
- orgId: 50146,
468
- updatedBy: "15000449",
469
- createdBy: "15000449",
470
- name: "dsasdfa",
471
- isActive: true,
472
- versions: {
473
- base: {
474
- "unicode-validity": false,
475
- "sms-editor": "sdfsdf",
476
- "template-name": "",
477
- "tabKey": "1",
478
- "base": true,
479
- },
480
- history: [
481
- {
482
- "unicode-validity": false,
483
- "sms-editor": "sdfsdf",
484
- "template-name": "",
485
- "tabKey": "1",
486
- "base": true,
487
- },
488
- ],
489
- },
490
- type: "SMS",
491
- __v: 0,
492
- totalCount: 221,
493
- definition: null,
494
- },
495
- {
496
- _id: "6238508c99910e604ae92aab",
497
- updatedAt: "2022-03-21T10:16:44.166Z",
498
- createdAt: "2022-03-21T10:16:44.166Z",
499
- orgId: 50146,
500
- updatedBy: "15000449",
501
- createdBy: "15000449",
502
- name: "efewf",
503
- isActive: true,
504
- versions: {
505
- base: {
506
- "unicode-validity": false,
507
- "sms-editor": "qwdqefdefe",
508
- "template-name": "",
509
- "tabKey": "1",
510
- "base": true,
511
- },
512
- history: [
513
- {
514
- "unicode-validity": false,
515
- "sms-editor": "qwdqefdefe",
516
- "template-name": "",
517
- "tabKey": "1",
518
- "base": true,
519
- },
520
- ],
521
- },
522
- type: "SMS",
523
- __v: 0,
524
- totalCount: 221,
525
- definition: null,
526
- },
527
- {
528
- _id: "623324a61176dff0910fe9c6",
529
- updatedAt: "2022-03-17T12:08:06.756Z",
530
- createdAt: "2022-03-17T12:08:06.756Z",
531
- orgId: 50146,
532
- updatedBy: "15000449",
533
- createdBy: "15000449",
534
- name: "adasd",
535
- isActive: true,
536
- versions: {
537
- base: {
538
- "unicode-validity": false,
539
- "sms-editor": "dasd",
540
- "template-name": "",
541
- "tabKey": "1",
542
- "base": true,
543
- },
544
- history: [
545
- {
546
- "unicode-validity": false,
547
- "sms-editor": "dasd",
548
- "template-name": "",
549
- "tabKey": "1",
550
- "base": true,
551
- },
552
- ],
553
- },
554
- type: "SMS",
555
- __v: 0,
556
- totalCount: 221,
557
- definition: null,
558
- },
559
- {
560
- _id: "6232f0cc1176df1c1a0fe9bb",
561
- updatedAt: "2022-03-17T08:26:53.042Z",
562
- createdAt: "2022-03-17T08:26:53.042Z",
563
- orgId: 50146,
564
- updatedBy: "15000449",
565
- createdBy: "15000449",
566
- name: "Copy of SMSSanity1006 03-17-2022 13:56:52",
567
- isActive: true,
568
- versions: {
569
- history: [
570
- {
571
- "base": true,
572
- "tabKey": "3",
573
- "template-name": "",
574
- "sms-editor": "afefwrfwfvwfv",
575
- "unicode-validity": false,
576
- },
577
- ],
578
- base: {
579
- "base": true,
580
- "tabKey": "3",
581
- "template-name": "",
582
- "sms-editor": "afefwrfwfvwfv",
583
- "unicode-validity": false,
584
- },
585
- },
586
- type: "SMS",
587
- __v: 0,
588
- totalCount: 221,
589
- definition: null,
590
- },
591
- {
592
- _id: "622f316dc3440513d06b51c4",
593
- updatedAt: "2022-03-14T12:13:33.155Z",
594
- createdAt: "2022-03-14T12:13:33.155Z",
595
- orgId: 50146,
596
- updatedBy: "15000449",
597
- createdBy: "15000449",
598
- name: "Copy of Edited Copy of Sanitysms_81 03-08-2022 15:16:42 03-14-2022 17:43:32",
599
- isActive: true,
600
- versions: {
601
- history: [
602
- {
603
- "unicode-validity": false,
604
- "sms-editor": "sanity sms for sprint 81",
605
- "template-name": "",
606
- "tabKey": "1",
607
- "base": true,
608
- },
609
- ],
610
- base: {
611
- "unicode-validity": false,
612
- "sms-editor": "sanity sms for sprint 81{{optout}}",
613
- "template-name": "",
614
- "tabKey": "1",
615
- "base": true,
616
- },
617
- },
618
- type: "SMS",
619
- __v: 0,
620
- totalCount: 221,
621
- definition: null,
622
- },
623
- {
624
- _id: "62272603c34405b1ac6b510b",
625
- updatedAt: "2022-03-08T09:47:09.160Z",
626
- createdAt: "2022-03-08T09:46:43.066Z",
627
- orgId: 50146,
628
- updatedBy: "15000449",
629
- createdBy: "15000449",
630
- name: "Edited Copy of Sanitysms_81 03-08-2022 15:16:42",
631
- isActive: true,
632
- versions: {
633
- base: {
634
- "base": true,
635
- "tabKey": "1",
636
- "template-name": "",
637
- "sms-editor": "sanity sms for sprint 81{{optout}}",
638
- "unicode-validity": false,
639
- },
640
- history: [
641
- {
642
- "base": true,
643
- "tabKey": "1",
644
- "template-name": "",
645
- "sms-editor": "sanity sms for sprint 81",
646
- "unicode-validity": false,
647
- },
648
- ],
649
- },
650
- type: "SMS",
651
- __v: 0,
652
- totalCount: 221,
653
- definition: null,
654
- },
655
- ],
656
- search: false,
657
- templatesCount: 221,
658
- },
659
- };
660
-
661
- export const rcsTemplates = {
662
- success: true,
663
- status: {
664
- isError: false,
665
- code: 200,
666
- message: "success",
667
- },
668
- message: "meta",
669
- response: {
670
- templates: [
671
- {
672
- _id: "63e611cc78fdb1180a54da27",
673
- versions: {
674
- base: {
675
- content: {
676
- RCS: {
677
- cardContent: [
678
- {
679
- title: "asdf",
680
- description: "fasdf",
681
- mediaType: "IMAGE",
682
- media: {
683
- mediaUrl: "https://storage.crm.n.content-cdn.io/cdn-cgi/image/width=1440,height=720,quality=70,/intouch_creative_assets/112795a3-9c92-4b51-bfdb-442082f9.png",
684
- height: "MEDIUM",
685
- },
686
- },
687
- ],
688
- cardSettings: {
689
- cardOrientation: "VERTICAL",
690
- },
691
- cardType: "STANDALONE",
692
- contentType: "RICHCARD",
693
- smsFallBackContent: {
694
- message: "",
695
- },
696
- },
697
- },
698
- },
699
- history: [],
700
- },
701
- type: "RCS",
702
- isActive: true,
703
- name: "dasdf",
704
- createdBy: "15000449",
705
- updatedBy: "15000449",
706
- orgId: 50146,
707
- createdAt: "2023-02-10T09:43:41.198Z",
708
- updatedAt: "2023-02-10T09:43:41.198Z",
709
- __v: 0,
710
- totalCount: 19,
711
- definition: null,
712
- },
713
- {
714
- _id: "636dbd5a32092870e99b36c4",
715
- updatedAt: "2022-11-11T03:11:22.635Z",
716
- createdAt: "2022-11-11T03:11:22.635Z",
717
- orgId: 50146,
718
- updatedBy: "15000449",
719
- createdBy: "15000449",
720
- name: "test rcs",
721
- isActive: true,
722
- versions: {
723
- base: {
724
- content: {
725
- RCS: {
726
- smsFallBackContent: {
727
- message: "",
728
- },
729
- contentType: "RICHCARD",
730
- cardType: "STANDALONE",
731
- cardSettings: {
732
- cardOrientation: "VERTICAL",
733
- },
734
- cardContent: [
735
- {
736
- media: {
737
- height: "MEDIUM",
738
- mediaUrl: "https://storage.crm.n.content-cdn.io/cdn-cgi/image/width=1440,height=720,quality=70,/intouch_creative_assets/357c708a-00d2-40a1-bb99-0bcfddd.jpeg",
739
- },
740
- mediaType: "IMAGE",
741
- description: "adsf",
742
- title: "test rcs new",
743
- },
744
- ],
745
- },
746
- },
747
- },
748
- history: [],
749
- },
750
- type: "RCS",
751
- __v: 0,
752
- totalCount: 19,
753
- definition: null,
754
- },
755
- {
756
- _id: "6311d2ad9d7d5e52263db7dd",
757
- updatedAt: "2022-09-02T09:54:58.560Z",
758
- createdAt: "2022-09-02T09:53:49.486Z",
759
- orgId: 50146,
760
- updatedBy: "15000449",
761
- createdBy: "15000449",
762
- name: "test 2sep - 2",
763
- isActive: true,
764
- versions: {
765
- base: {
766
- content: {
767
- RCS: {
768
- cardContent: [
769
- {
770
- title: "asdf",
771
- description: "asdfadsf",
772
- mediaType: "IMAGE",
773
- media: {
774
- mediaUrl: "https://storage.crm.n.content-cdn.io/cdn-cgi/image/width=1440,height=720,quality=75,/intouch_creative_assets/d68d15ab-c4a6-481d-a085-4dd66871.jpg",
775
- height: "MEDIUM",
776
- },
777
- },
778
- ],
779
- cardSettings: {
780
- cardOrientation: "VERTICAL",
781
- },
782
- cardType: "STANDALONE",
783
- contentType: "RICHCARD",
784
- smsFallBackContent: {
785
- message: "",
786
- },
787
- },
788
- },
789
- },
790
- history: [],
791
- },
792
- type: "RCS",
793
- __v: 0,
794
- totalCount: 19,
795
- definition: null,
796
- },
797
- {
798
- _id: "6311d1079d7d5e67183db7db",
799
- updatedAt: "2022-09-02T09:46:47.285Z",
800
- createdAt: "2022-09-02T09:46:47.285Z",
801
- orgId: 50146,
802
- updatedBy: "15000449",
803
- createdBy: "15000449",
804
- name: "test 2sep -1",
805
- isActive: true,
806
- versions: {
807
- base: {
808
- content: {
809
- RCS: {
810
- smsFallBackContent: {
811
- message: "",
812
- },
813
- contentType: "RICHCARD",
814
- cardType: "STANDALONE",
815
- cardSettings: {
816
- cardOrientation: "VERTICAL",
817
- },
818
- cardContent: [
819
- {
820
- media: {
821
- height: "MEDIUM",
822
- mediaUrl: "https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/01822817-c654-4bef-adab-ff26bc00.jpg",
823
- },
824
- mediaType: "IMAGE",
825
- description: "asdf",
826
- title: "asdf",
827
- },
828
- ],
829
- },
830
- },
831
- },
832
- history: [],
833
- },
834
- type: "RCS",
835
- __v: 0,
836
- totalCount: 19,
837
- definition: null,
838
- },
839
- {
840
- _id: "6302ffba070a22a2c1f93f53",
841
- updatedAt: "2022-08-22T04:12:50.553Z",
842
- createdAt: "2022-08-22T04:02:02.554Z",
843
- orgId: 50146,
844
- updatedBy: "15000449",
845
- createdBy: "15000449",
846
- name: "old",
847
- isActive: true,
848
- versions: {
849
- base: {
850
- content: {
851
- RCS: {
852
- cardContent: [
853
- {
854
- title: "a asdfasdf",
855
- description: "a",
856
- mediaType: "IMAGE",
857
- media: {
858
- mediaUrl: "https://storage.crm.n.content-cdn.io/cdn-cgi/image/width=1440,height=720,quality=75,/intouch_creative_assets/437ed631-3f35-43fc-880a-949cb649.jpg",
859
- height: "MEDIUM",
860
- },
861
- },
862
- ],
863
- cardSettings: {
864
- cardOrientation: "VERTICAL",
865
- },
866
- cardType: "STANDALONE",
867
- contentType: "RICHCARD",
868
- smsFallBackContent: {
869
- message: "",
870
- },
871
- },
872
- },
873
- },
874
- history: [],
875
- },
876
- type: "RCS",
877
- __v: 0,
878
- totalCount: 19,
879
- definition: null,
880
- },
881
- {
882
- _id: "63030217070a220822f93f58",
883
- updatedAt: "2022-08-22T04:12:07.254Z",
884
- createdAt: "2022-08-22T04:12:07.254Z",
885
- orgId: 50146,
886
- updatedBy: "15000449",
887
- createdBy: "15000449",
888
- name: "test upload",
889
- isActive: true,
890
- versions: {
891
- base: {
892
- content: {
893
- RCS: {
894
- smsFallBackContent: {
895
- message: "",
896
- },
897
- contentType: "RICHCARD",
898
- cardType: "STANDALONE",
899
- cardSettings: {
900
- cardOrientation: "VERTICAL",
901
- },
902
- cardContent: [
903
- {
904
- media: {
905
- height: "MEDIUM",
906
- mediaUrl: "https://storage.crm.n.content-cdn.io/cdn-cgi/image/width=1440,height=720,quality=75,/intouch_creative_assets/4344c4f3-20e2-492d-ad9b-3fd5b458.png",
907
- },
908
- mediaType: "IMAGE",
909
- description: "a",
910
- title: "a",
911
- },
912
- ],
913
- },
914
- },
915
- },
916
- history: [],
917
- },
918
- type: "RCS",
919
- __v: 0,
920
- totalCount: 19,
921
- definition: null,
922
- },
923
- {
924
- _id: "63030103070a223424f93f56",
925
- updatedAt: "2022-08-22T04:10:20.662Z",
926
- createdAt: "2022-08-22T04:07:31.553Z",
927
- orgId: 50146,
928
- updatedBy: "15000449",
929
- createdBy: "15000449",
930
- name: "test gallery new 3 ",
931
- isActive: true,
932
- versions: {
933
- base: {
934
- content: {
935
- RCS: {
936
- cardContent: [
937
- {
938
- title: "asdf",
939
- description: "asdf",
940
- mediaType: "IMAGE",
941
- media: {
942
- mediaUrl: "https://storage.crm.n.content-cdn.io/cdn-cgi/image/width=1440,height=720,quality=75,/intouch_creative_assets/e94dbe9b-b3a1-4eec-86d0-d859d7a.jpeg",
943
- height: "MEDIUM",
944
- },
945
- },
946
- ],
947
- cardSettings: {
948
- cardOrientation: "VERTICAL",
949
- },
950
- cardType: "STANDALONE",
951
- contentType: "RICHCARD",
952
- smsFallBackContent: {
953
- message: "",
954
- },
955
- },
956
- },
957
- },
958
- history: [],
959
- },
960
- type: "RCS",
961
- __v: 0,
962
- totalCount: 19,
963
- definition: null,
964
- },
965
- {
966
- _id: "630300b3070a229254f93f55",
967
- updatedAt: "2022-08-22T04:06:11.552Z",
968
- createdAt: "2022-08-22T04:06:11.552Z",
969
- orgId: 50146,
970
- updatedBy: "15000449",
971
- createdBy: "15000449",
972
- name: "test nw gl1",
973
- isActive: true,
974
- versions: {
975
- base: {
976
- content: {
977
- RCS: {
978
- smsFallBackContent: {
979
- message: "",
980
- },
981
- contentType: "RICHCARD",
982
- cardType: "STANDALONE",
983
- cardSettings: {
984
- cardOrientation: "VERTICAL",
985
- },
986
- cardContent: [
987
- {
988
- media: {
989
- height: "MEDIUM",
990
- mediaUrl: "https://storage.crm.n.content-cdn.io/cdn-cgi/image/width=1440,height=720,/intouch_creative_assets/437ed631-3f35-43fc-880a-949cb649.jpg",
991
- },
992
- mediaType: "IMAGE",
993
- description: "",
994
- title: "",
995
- },
996
- ],
997
- },
998
- },
999
- },
1000
- history: [],
1001
- },
1002
- type: "RCS",
1003
- __v: 0,
1004
- totalCount: 19,
1005
- definition: null,
1006
- },
1007
- {
1008
- _id: "6302fffa070a220da9f93f54",
1009
- updatedAt: "2022-08-22T04:03:06.753Z",
1010
- createdAt: "2022-08-22T04:03:06.753Z",
1011
- orgId: 50146,
1012
- updatedBy: "15000449",
1013
- createdBy: "15000449",
1014
- name: "test nw gl",
1015
- isActive: true,
1016
- versions: {
1017
- base: {
1018
- content: {
1019
- RCS: {
1020
- smsFallBackContent: {
1021
- message: "",
1022
- },
1023
- contentType: "RICHCARD",
1024
- cardType: "STANDALONE",
1025
- cardSettings: {
1026
- cardOrientation: "VERTICAL",
1027
- },
1028
- cardContent: [
1029
- {
1030
- media: {
1031
- height: "MEDIUM",
1032
- mediaUrl: "https://storage.crm.n.content-cdn.io/cdn-cgi/image/width=1440,height=720,/intouch_creative_assets/437ed631-3f35-43fc-880a-949cb649.jpg",
1033
- },
1034
- mediaType: "IMAGE",
1035
- description: "",
1036
- title: "",
1037
- },
1038
- ],
1039
- },
1040
- },
1041
- },
1042
- history: [],
1043
- },
1044
- type: "RCS",
1045
- __v: 0,
1046
- totalCount: 19,
1047
- definition: null,
1048
- },
1049
- {
1050
- _id: "6302feff070a228a21f93f52",
1051
- updatedAt: "2022-08-22T03:58:55.554Z",
1052
- createdAt: "2022-08-22T03:58:55.554Z",
1053
- orgId: 50146,
1054
- updatedBy: "15000449",
1055
- createdBy: "15000449",
1056
- name: "test new 1",
1057
- isActive: true,
1058
- versions: {
1059
- base: {
1060
- content: {
1061
- RCS: {
1062
- smsFallBackContent: {
1063
- message: "",
1064
- },
1065
- contentType: "RICHCARD",
1066
- cardType: "STANDALONE",
1067
- cardSettings: {
1068
- cardOrientation: "VERTICAL",
1069
- },
1070
- cardContent: [
1071
- {
1072
- media: {
1073
- height: "MEDIUM",
1074
- mediaUrl: "https://storage.crm.n.content-cdn.io/cdn-cgi/image/quality=75/intouch_creative_assets/437ed631-3f35-43fc-880a-949cb649.jpg",
1075
- },
1076
- mediaType: "IMAGE",
1077
- description: "a",
1078
- title: "a",
1079
- },
1080
- ],
1081
- },
1082
- },
1083
- },
1084
- history: [],
1085
- },
1086
- type: "RCS",
1087
- __v: 0,
1088
- totalCount: 19,
1089
- definition: null,
1090
- },
1091
- {
1092
- _id: "62f4fb1830c4bc4e4f96827e",
1093
- updatedAt: "2022-08-11T12:58:35.361Z",
1094
- createdAt: "2022-08-11T12:50:32.479Z",
1095
- orgId: 50146,
1096
- updatedBy: "15000449",
1097
- createdBy: "15000449",
1098
- name: "rcs test gallery",
1099
- isActive: true,
1100
- versions: {
1101
- base: {
1102
- content: {
1103
- RCS: {
1104
- cardContent: [
1105
- {
1106
- title: "asdf",
1107
- description: "asdf",
1108
- mediaType: "IMAGE",
1109
- media: {
1110
- mediaUrl: "https://storage.crm.n.content-cdn.io/cdn-cgi/image/quality=75/intouch_creative_assets/437ed631-3f35-43fc-880a-949cb649.jpg",
1111
- height: "MEDIUM",
1112
- },
1113
- },
1114
- ],
1115
- cardSettings: {
1116
- cardOrientation: "VERTICAL",
1117
- },
1118
- cardType: "STANDALONE",
1119
- contentType: "RICHCARD",
1120
- smsFallBackContent: {
1121
- message: "",
1122
- },
1123
- },
1124
- },
1125
- },
1126
- history: [],
1127
- },
1128
- type: "RCS",
1129
- __v: 0,
1130
- totalCount: 19,
1131
- definition: null,
1132
- },
1133
- {
1134
- _id: "62f33fe430c4bce011968217",
1135
- updatedAt: "2022-08-10T05:22:00.862Z",
1136
- createdAt: "2022-08-10T05:19:32.154Z",
1137
- orgId: 50146,
1138
- updatedBy: "15000449",
1139
- createdBy: "15000449",
1140
- name: "rcs test 2",
1141
- isActive: true,
1142
- versions: {
1143
- base: {
1144
- content: {
1145
- RCS: {
1146
- cardContent: [
1147
- {
1148
- title: "asdf",
1149
- description: "asdfadsf",
1150
- mediaType: "IMAGE",
1151
- suggestions: [
1152
- {
1153
- url: "https://www.google.c",
1154
- text: "adsf",
1155
- type: "CTA",
1156
- },
1157
- ],
1158
- media: {
1159
- mediaUrl: "https://storage.crm.n.content-cdn.io/cdn-cgi/image/quality=75/intouch_creative_assets/e94dbe9b-b3a1-4eec-86d0-d859d7a.jpeg",
1160
- height: "MEDIUM",
1161
- },
1162
- },
1163
- ],
1164
- cardSettings: {
1165
- cardOrientation: "VERTICAL",
1166
- },
1167
- cardType: "STANDALONE",
1168
- contentType: "RICHCARD",
1169
- smsFallBackContent: {
1170
- message: "sdf",
1171
- },
1172
- },
1173
- },
1174
- },
1175
- history: [],
1176
- },
1177
- type: "RCS",
1178
- __v: 0,
1179
- totalCount: 19,
1180
- definition: null,
1181
- },
1182
- {
1183
- _id: "62f33df930c4bc9d42968216",
1184
- updatedAt: "2022-08-10T05:11:57.958Z",
1185
- createdAt: "2022-08-10T05:11:21.462Z",
1186
- orgId: 50146,
1187
- updatedBy: "15000449",
1188
- createdBy: "15000449",
1189
- name: "rcs test 1",
1190
- isActive: true,
1191
- versions: {
1192
- base: {
1193
- content: {
1194
- RCS: {
1195
- cardContent: [
1196
- {
1197
- title: "asdfasdf",
1198
- description: "asdfasdfasdfasdf asdfasdf",
1199
- mediaType: "NONE",
1200
- suggestions: [
1201
- {
1202
- url: "https://www.google.com",
1203
- text: "asdf",
1204
- type: "CTA",
1205
- },
1206
- ],
1207
- },
1208
- ],
1209
- cardSettings: {
1210
- cardOrientation: "VERTICAL",
1211
- },
1212
- cardType: "STANDALONE",
1213
- contentType: "RICHCARD",
1214
- smsFallBackContent: {
1215
- message: "sdflijasodfj asdf",
1216
- },
1217
- },
1218
- },
1219
- },
1220
- history: [],
1221
- },
1222
- type: "RCS",
1223
- __v: 0,
1224
- totalCount: 19,
1225
- definition: null,
1226
- },
1227
- {
1228
- _id: "62f33c1330c4bcb16b968215",
1229
- updatedAt: "2022-08-10T05:03:15.572Z",
1230
- createdAt: "2022-08-10T05:03:15.572Z",
1231
- orgId: 50146,
1232
- updatedBy: "15000449",
1233
- createdBy: "15000449",
1234
- name: "test 2",
1235
- isActive: true,
1236
- versions: {
1237
- base: {
1238
- content: {
1239
- RCS: {
1240
- smsFallBackContent: {
1241
- message: "asdf",
1242
- },
1243
- contentType: "RICHCARD",
1244
- cardType: "STANDALONE",
1245
- cardSettings: {
1246
- cardOrientation: "VERTICAL",
1247
- },
1248
- cardContent: [
1249
- {
1250
- media: {
1251
- height: "MEDIUM",
1252
- mediaUrl: "https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/820a9ff9-ad5b-410e-b471-75c2e1a9.jpg",
1253
- },
1254
- suggestions: [
1255
- {
1256
- url: "https://www.google.com",
1257
- text: "fasdf",
1258
- type: "CTA",
1259
- },
1260
- ],
1261
- mediaType: "IMAGE",
1262
- description: "asdfadsf",
1263
- title: "asdfasdf",
1264
- },
1265
- ],
1266
- },
1267
- },
1268
- },
1269
- history: [],
1270
- },
1271
- type: "RCS",
1272
- __v: 0,
1273
- totalCount: 19,
1274
- definition: null,
1275
- },
1276
- {
1277
- _id: "62f33aec30c4bc708d968213",
1278
- updatedAt: "2022-08-10T04:58:21.068Z",
1279
- createdAt: "2022-08-10T04:58:21.068Z",
1280
- orgId: 50146,
1281
- updatedBy: "15000449",
1282
- createdBy: "15000449",
1283
- name: "test 1",
1284
- isActive: true,
1285
- versions: {
1286
- base: {
1287
- content: {
1288
- RCS: {
1289
- smsFallBackContent: {
1290
- message: "",
1291
- },
1292
- contentType: "RICHCARD",
1293
- cardType: "STANDALONE",
1294
- cardSettings: {
1295
- cardOrientation: "VERTICAL",
1296
- },
1297
- cardContent: [
1298
- {
1299
- mediaType: "NONE",
1300
- description: "asdf",
1301
- title: "asdf",
1302
- },
1303
- ],
1304
- },
1305
- },
1306
- },
1307
- history: [],
1308
- },
1309
- type: "RCS",
1310
- __v: 0,
1311
- totalCount: 19,
1312
- definition: null,
1313
- },
1314
- {
1315
- _id: "624441c770387fb667f8fe00",
1316
- updatedAt: "2022-04-28T03:11:28.516Z",
1317
- createdAt: "2022-03-30T11:40:55.675Z",
1318
- orgId: 50146,
1319
- updatedBy: "15000449",
1320
- createdBy: "15000449",
1321
- name: "Test RCS1",
1322
- isActive: true,
1323
- versions: {
1324
- base: {
1325
- content: {
1326
- RCS: {
1327
- cardContent: [
1328
- {
1329
- title: "Test title2",
1330
- description: "Test desc2",
1331
- mediaType: "IMAGE",
1332
- media: {
1333
- mediaUrl: "https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/b750178b-9fb4-4423-bd5e-2aa3bd9.jpeg",
1334
- height: "MEDIUM",
1335
- },
1336
- },
1337
- ],
1338
- cardSettings: {
1339
- cardOrientation: "VERTICAL",
1340
- },
1341
- cardType: "STANDALONE",
1342
- contentType: "RICHCARD",
1343
- smsFallBackContent: {
1344
- message: "Test fall",
1345
- },
1346
- },
1347
- },
1348
- },
1349
- history: [],
1350
- },
1351
- type: "RCS",
1352
- __v: 0,
1353
- totalCount: 19,
1354
- definition: null,
1355
- },
1356
- {
1357
- _id: "623acf4df971231e66c85882",
1358
- updatedAt: "2022-04-28T03:11:21.119Z",
1359
- createdAt: "2022-03-23T07:42:05.226Z",
1360
- orgId: 50146,
1361
- updatedBy: "15000449",
1362
- createdBy: "15000449",
1363
- name: "RCS_TEST",
1364
- isActive: true,
1365
- versions: {
1366
- base: {
1367
- content: {
1368
- RCS: {
1369
- cardContent: [
1370
- {
1371
- title: "This is RCS title",
1372
- description: "This is RCS description",
1373
- mediaType: "IMAGE",
1374
- media: {
1375
- mediaUrl: "https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/62f8c77c-f132-44d8-a822-0e90f57c.jpg",
1376
- height: "MEDIUM",
1377
- },
1378
- },
1379
- ],
1380
- cardSettings: {
1381
- cardOrientation: "VERTICAL",
1382
- },
1383
- cardType: "STANDALONE",
1384
- contentType: "RICHCARD",
1385
- smsFallBackContent: {
1386
- message: "This is fallback msg {{optout}}",
1387
- },
1388
- },
1389
- },
1390
- },
1391
- history: [],
1392
- },
1393
- type: "RCS",
1394
- __v: 0,
1395
- totalCount: 19,
1396
- definition: null,
1397
- },
1398
- {
1399
- _id: "623888aca7e1a16926dfe97d",
1400
- updatedAt: "2022-04-28T03:11:12.525Z",
1401
- createdAt: "2022-03-21T14:16:12.731Z",
1402
- orgId: 50146,
1403
- updatedBy: "15000449",
1404
- createdBy: "15000449",
1405
- name: "test_template_111",
1406
- isActive: true,
1407
- versions: {
1408
- base: {
1409
- content: {
1410
- RCS: {
1411
- cardContent: [
1412
- {
1413
- title: "Github",
1414
- description: "Reply to this email directly, view it on GitHub",
1415
- mediaType: "IMAGE",
1416
- media: {
1417
- mediaUrl: "https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/c2c793b1-4740-47b6-819a-4310354d.jpg",
1418
- height: "MEDIUM",
1419
- },
1420
- },
1421
- ],
1422
- cardSettings: {
1423
- cardOrientation: "VERTICAL",
1424
- },
1425
- cardType: "STANDALONE",
1426
- contentType: "RICHCARD",
1427
- smsFallBackContent: {
1428
- message: "Fallback",
1429
- },
1430
- },
1431
- },
1432
- },
1433
- history: [],
1434
- },
1435
- type: "RCS",
1436
- __v: 0,
1437
- totalCount: 19,
1438
- definition: null,
1439
- },
1440
- {
1441
- _id: "623c279270387f94fff8fd6e",
1442
- updatedAt: "2022-04-28T03:11:00.921Z",
1443
- createdAt: "2022-03-24T08:10:58.084Z",
1444
- orgId: 50146,
1445
- updatedBy: "15000449",
1446
- createdBy: "15000449",
1447
- name: "Test_1111",
1448
- isActive: true,
1449
- versions: {
1450
- base: {
1451
- content: {
1452
- RCS: {
1453
- cardContent: [
1454
- {
1455
- title: "Test Title",
1456
- description: "Test RCS message",
1457
- mediaType: "IMAGE",
1458
- media: {
1459
- mediaUrl: "https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/abc49b13-6e84-4ff9-8859-6dd8d8d5.jpg",
1460
- height: "MEDIUM",
1461
- },
1462
- },
1463
- ],
1464
- cardSettings: {
1465
- cardOrientation: "VERTICAL",
1466
- },
1467
- cardType: "STANDALONE",
1468
- contentType: "RICHCARD",
1469
- smsFallBackContent: {
1470
- message: "Test SMS message",
1471
- },
1472
- },
1473
- },
1474
- },
1475
- history: [],
1476
- },
1477
- type: "RCS",
1478
- __v: 0,
1479
- totalCount: 19,
1480
- definition: null,
1481
- },
1482
- ],
1483
- search: false,
1484
- templatesCount: 19,
1485
- },
1486
- };
1487
-
1488
- export const viberAccount = {
1489
- success: true,
1490
- status: {
1491
- isError: false,
1492
- code: 200,
1493
- message: "success",
1494
- },
1495
- message: "WeCRM Account details fetched",
1496
- response: [
1497
- {
1498
- id: 12581,
1499
- uuid: "83ca17cbbd1e44beb7e1e7beaa50a0d9",
1500
- name: "Demo Company",
1501
- sourceAccountIdentifier: "test_account_id",
1502
- toMirror: false,
1503
- sourceTypeId: 23,
1504
- sourceTypeName: "VIBER",
1505
- isActive: true,
1506
- commChannels: [
1507
- "viber",
1508
- ],
1509
- configs: {
1510
- api_key: "Q0FQVEVTVFY6I3BfU2MkNmdAITl2NVpH",
1511
- base_url: "https://gq1nr.api.infobip.com/omni/1/advanced",
1512
- scenario_key: "65C4F625A36CCBFB862C84AC93492098",
1513
- viber_account_name: "Demo Company",
1514
- viber_account_phone_number: "",
1515
- },
1516
- attribution: {
1517
- createDate: "2020-12-09T00:00:00+05:30",
1518
- createdBy: {
1519
- id: 15000449,
1520
- code: "1371622280_919866643044",
1521
- description: "",
1522
- name: "1371622280_Ashish",
1523
- type: "ADMIN_USER",
1524
- adminType: "GENERAL",
1525
- isActive: true,
1526
- isOuEnabled: false,
1527
- timeZoneId: 0,
1528
- currencyId: 0,
1529
- languageId: 0,
1530
- },
1531
- modifiedBy: {
1532
- id: 15000449,
1533
- code: "1371622280_919866643044",
1534
- description: "",
1535
- name: "1371622280_Ashish",
1536
- type: "ADMIN_USER",
1537
- adminType: "GENERAL",
1538
- isActive: true,
1539
- isOuEnabled: false,
1540
- timeZoneId: 0,
1541
- currencyId: 0,
1542
- languageId: 0,
1543
- },
1544
- modifiedDate: "2020-12-22T00:00:00+05:30",
1545
- },
1546
- },
1547
- ],
1548
- };
1549
-
1550
- export const gallery = {
1551
- success: true,
1552
- status: {
1553
- isError: false,
1554
- code: 200,
1555
- message: "success",
1556
- },
1557
- message: "meta",
1558
- response: {
1559
- assets: [
1560
- {
1561
- _id: "64479d73ec2e391e26eb2103",
1562
- name: "test_image1",
1563
- type: "IMAGE",
1564
- metaInfo: {
1565
- file_handle: null,
1566
- name: "Failed (1)_8jHdvAkM.png",
1567
- content_type: "image/png",
1568
- file_size: 973,
1569
- added_on: 1682414963119,
1570
- last_modified_on: 1682414963121,
1571
- acl: null,
1572
- secure_file_path: "https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/b679d9f7-2844-401c-9f08-0597abf9.png",
1573
- public_url: "https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/b679d9f7-2844-401c-9f08-0597abf9.png",
1574
- secure_file_path_preview: "https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/cc682ba8-781a-44cd-bccb-a5fc482e.jpg",
1575
- width: 40,
1576
- height: 40,
1577
- },
1578
- orgId: 50146,
1579
- createdBy: "15000449",
1580
- updatedBy: "15000449",
1581
- createdAt: "2023-04-25T09:29:23.208Z",
1582
- updatedAt: "2023-04-25T09:29:23.208Z",
1583
- totalCount: 777,
1584
- },
1585
- {
1586
- _id: "6433bbb4612cb24db9db31ca",
1587
- name: "$4-2-smiling-face-with-sunglasses-cool-emoji-png copy 2_XuCuHNRK.png",
1588
- type: "IMAGE",
1589
- metaInfo: {
1590
- file_handle: null,
1591
- name: "$4-2-smiling-face-with-sunglasses-cool-emoji-png copy 2_XuCuHNRK.png",
1592
- content_type: "image/png",
1593
- file_size: 142461,
1594
- added_on: 1681111989000,
1595
- last_modified_on: 1681111989000,
1596
- acl: null,
1597
- secure_file_path: "https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/9a62b25f-781e-4877-a4f5-f4af2ef4.png",
1598
- public_url: "https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/9a62b25f-781e-4877-a4f5-f4af2ef4.png",
1599
- secure_file_path_preview: "https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/dd63308c-855c-436c-aa86-14303979.jpg",
1600
- width: 530,
1601
- height: 532,
1602
- },
1603
- orgId: 50146,
1604
- createdBy: "15000449",
1605
- updatedBy: "15000449",
1606
- createdAt: "2023-04-10T07:33:08.728Z",
1607
- updatedAt: "2023-04-10T07:33:08.728Z",
1608
- totalCount: 777,
1609
- },
1610
- {
1611
- _id: "63fdf2c7c65bc7424e26c950",
1612
- name: "art_wr9PMBhF.jpg",
1613
- type: "IMAGE",
1614
- metaInfo: {
1615
- file_handle: null,
1616
- name: "art_wr9PMBhF.jpg",
1617
- content_type: "image/jpeg",
1618
- file_size: 231483,
1619
- added_on: 1677587143000,
1620
- last_modified_on: 1677587143000,
1621
- acl: null,
1622
- secure_file_path: "https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/fdfc50aa-02f2-485e-ad90-1c84d5f8.jpg",
1623
- public_url: "https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/fdfc50aa-02f2-485e-ad90-1c84d5f8.jpg",
1624
- secure_file_path_preview: "https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/3e0c1962-d2e1-40dc-8b4a-b7106f0f.jpg",
1625
- width: 1440,
1626
- height: 720,
1627
- },
1628
- orgId: 50146,
1629
- createdBy: "15000449",
1630
- updatedBy: "15000449",
1631
- createdAt: "2023-02-28T12:25:43.174Z",
1632
- updatedAt: "2023-02-28T12:25:43.174Z",
1633
- totalCount: 777,
1634
- },
1635
- {
1636
- _id: "63e613a878fdb1180a54da5b",
1637
- name: "capillaryimg_RLMQuW0Y.png",
1638
- type: "IMAGE",
1639
- metaInfo: {
1640
- file_handle: null,
1641
- name: "capillaryimg_RLMQuW0Y.png",
1642
- content_type: "image/png",
1643
- file_size: 22429,
1644
- added_on: 1676022696000,
1645
- last_modified_on: 1676022696000,
1646
- acl: null,
1647
- secure_file_path: "https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/bb1181b3-1460-45f7-bf56-36fa44ad.png",
1648
- public_url: "https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/bb1181b3-1460-45f7-bf56-36fa44ad.png",
1649
- secure_file_path_preview: "https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/3b9149b5-8bf9-49a3-ae01-2c3b4f78.jpg",
1650
- width: 1200,
1651
- height: 162,
1652
- },
1653
- orgId: 50146,
1654
- createdBy: "15000449",
1655
- updatedBy: "15000449",
1656
- createdAt: "2023-02-10T09:51:36.699Z",
1657
- updatedAt: "2023-02-10T09:51:36.699Z",
1658
- totalCount: 777,
1659
- },
1660
- ],
1661
- },
1662
- };
1663
-