@capillarytech/creatives-library 7.12.7 → 7.12.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/containers/Assets/Gallery/tests/__snapshots__/reducer.test.js.snap +2 -2
- package/package.json +1 -1
- package/v2Containers/Assets/Gallery/tests/__snapshots__/reducer.test.js.snap +2 -2
- package/v2Containers/CreativesContainer/SlideBoxContent.js +2 -1
- package/v2Containers/CreativesContainer/SlideBoxHeader.js +36 -28
- package/v2Containers/CreativesContainer/index.js +53 -1
- package/v2Containers/MobilePush/Create/index.js +6 -6
- package/v2Containers/Rcs/index.js +20 -11
- package/v2Containers/Rcs/tests/__snapshots__/index.test.js.snap +17 -29
- package/v2Containers/Rcs/tests/mockData.js +0 -3
- package/v2Containers/mockdata.js +501 -542
package/v2Containers/mockdata.js
CHANGED
|
@@ -4,47 +4,49 @@ import { FormattedMessage } from "react-intl";
|
|
|
4
4
|
export default {
|
|
5
5
|
whatsappTemplates: {
|
|
6
6
|
selectedWhatsappAccount: {
|
|
7
|
-
sourceTypeName:
|
|
8
|
-
name:
|
|
7
|
+
sourceTypeName: "WHATSAPP",
|
|
8
|
+
name: "WhatsppTest",
|
|
9
9
|
isActive: true,
|
|
10
10
|
sourceTypeId: 19,
|
|
11
11
|
configs: {
|
|
12
|
-
accessToken:
|
|
12
|
+
accessToken: "4676323eb5d1f975b0987070c03a8efc",
|
|
13
13
|
},
|
|
14
14
|
toMirror: false,
|
|
15
15
|
id: 12673,
|
|
16
|
-
uuid:
|
|
17
|
-
sourceAccountIdentifier:
|
|
18
|
-
commChannels: [
|
|
16
|
+
uuid: "6ac077dbdc7849ccb8db0d38917a6ed5",
|
|
17
|
+
sourceAccountIdentifier: "AC41030cebba9e2f1ce37c78235da0ee18",
|
|
18
|
+
commChannels: [
|
|
19
|
+
"whatsapp",
|
|
20
|
+
],
|
|
19
21
|
attribution: {
|
|
20
|
-
createDate:
|
|
22
|
+
createDate: "2022-01-05T00:00:00+05:30",
|
|
21
23
|
createdBy: {
|
|
22
|
-
adminType:
|
|
23
|
-
name:
|
|
24
|
+
adminType: "GENERAL",
|
|
25
|
+
name: "1371622280_Ashish",
|
|
24
26
|
currencyId: 0,
|
|
25
|
-
code:
|
|
27
|
+
code: "1371622280_919866643044",
|
|
26
28
|
isActive: true,
|
|
27
29
|
isOuEnabled: false,
|
|
28
30
|
languageId: 0,
|
|
29
31
|
timeZoneId: 0,
|
|
30
|
-
type:
|
|
32
|
+
type: "ADMIN_USER",
|
|
31
33
|
id: 15000449,
|
|
32
|
-
description:
|
|
34
|
+
description: "",
|
|
33
35
|
},
|
|
34
36
|
modifiedBy: {
|
|
35
|
-
adminType:
|
|
36
|
-
name:
|
|
37
|
+
adminType: "GENERAL",
|
|
38
|
+
name: "1371622280_Ashish",
|
|
37
39
|
currencyId: 0,
|
|
38
|
-
code:
|
|
40
|
+
code: "1371622280_919866643044",
|
|
39
41
|
isActive: true,
|
|
40
42
|
isOuEnabled: false,
|
|
41
43
|
languageId: 0,
|
|
42
44
|
timeZoneId: 0,
|
|
43
|
-
type:
|
|
45
|
+
type: "ADMIN_USER",
|
|
44
46
|
id: 15000449,
|
|
45
|
-
description:
|
|
47
|
+
description: "",
|
|
46
48
|
},
|
|
47
|
-
modifiedDate:
|
|
49
|
+
modifiedDate: "2022-01-05T00:00:00+05:30",
|
|
48
50
|
},
|
|
49
51
|
},
|
|
50
52
|
getAllTemplatesInProgress: false,
|
|
@@ -54,11 +56,11 @@ export default {
|
|
|
54
56
|
orgUsers: [
|
|
55
57
|
{
|
|
56
58
|
userId: 50012994,
|
|
57
|
-
firstName:
|
|
58
|
-
lastName:
|
|
59
|
-
loginName:
|
|
60
|
-
email:
|
|
61
|
-
mobile:
|
|
59
|
+
firstName: "firstUser",
|
|
60
|
+
lastName: "",
|
|
61
|
+
loginName: "firstUser@capillarytech.com",
|
|
62
|
+
email: "firstUser@capillarytech.com",
|
|
63
|
+
mobile: "918888802132",
|
|
62
64
|
isMobileValidated: 0,
|
|
63
65
|
isEmailValidated: 0,
|
|
64
66
|
},
|
|
@@ -66,11 +68,11 @@ export default {
|
|
|
66
68
|
capUsers: [
|
|
67
69
|
{
|
|
68
70
|
userId: 15000449,
|
|
69
|
-
firstName:
|
|
70
|
-
lastName:
|
|
71
|
-
loginName:
|
|
72
|
-
email:
|
|
73
|
-
mobile:
|
|
71
|
+
firstName: "Ashish",
|
|
72
|
+
lastName: "Karan fd",
|
|
73
|
+
loginName: "cap@coin.com",
|
|
74
|
+
email: "cap@coin.com",
|
|
75
|
+
mobile: "919957676767",
|
|
74
76
|
isMobileValidated: 1,
|
|
75
77
|
isEmailValidated: 1,
|
|
76
78
|
},
|
|
@@ -82,75 +84,77 @@ export default {
|
|
|
82
84
|
isSearch: false,
|
|
83
85
|
weCrmAccounts: [
|
|
84
86
|
{
|
|
85
|
-
sourceTypeName:
|
|
86
|
-
name:
|
|
87
|
+
sourceTypeName: "WHATSAPP",
|
|
88
|
+
name: "WhatsppTest",
|
|
87
89
|
isActive: true,
|
|
88
90
|
sourceTypeId: 19,
|
|
89
91
|
configs: {
|
|
90
|
-
accessToken:
|
|
92
|
+
accessToken: "4676323eb5d1f975b0987070c03a8efc",
|
|
91
93
|
},
|
|
92
94
|
toMirror: false,
|
|
93
95
|
id: 12673,
|
|
94
|
-
uuid:
|
|
95
|
-
sourceAccountIdentifier:
|
|
96
|
-
commChannels: [
|
|
96
|
+
uuid: "6ac077dbdc7849ccb8db0d38917a6ed5",
|
|
97
|
+
sourceAccountIdentifier: "AC41030cebba9e2f1ce37c78235da0ee18",
|
|
98
|
+
commChannels: [
|
|
99
|
+
"whatsapp",
|
|
100
|
+
],
|
|
97
101
|
attribution: {
|
|
98
|
-
createDate:
|
|
102
|
+
createDate: "2022-01-05T00:00:00+05:30",
|
|
99
103
|
createdBy: {
|
|
100
|
-
adminType:
|
|
101
|
-
name:
|
|
104
|
+
adminType: "GENERAL",
|
|
105
|
+
name: "1371622280_Ashish",
|
|
102
106
|
currencyId: 0,
|
|
103
|
-
code:
|
|
107
|
+
code: "1371622280_919866643044",
|
|
104
108
|
isActive: true,
|
|
105
109
|
isOuEnabled: false,
|
|
106
110
|
languageId: 0,
|
|
107
111
|
timeZoneId: 0,
|
|
108
|
-
type:
|
|
112
|
+
type: "ADMIN_USER",
|
|
109
113
|
id: 15000449,
|
|
110
|
-
description:
|
|
114
|
+
description: "",
|
|
111
115
|
},
|
|
112
116
|
modifiedBy: {
|
|
113
|
-
adminType:
|
|
114
|
-
name:
|
|
117
|
+
adminType: "GENERAL",
|
|
118
|
+
name: "1371622280_Ashish",
|
|
115
119
|
currencyId: 0,
|
|
116
|
-
code:
|
|
120
|
+
code: "1371622280_919866643044",
|
|
117
121
|
isActive: true,
|
|
118
122
|
isOuEnabled: false,
|
|
119
123
|
languageId: 0,
|
|
120
124
|
timeZoneId: 0,
|
|
121
|
-
type:
|
|
125
|
+
type: "ADMIN_USER",
|
|
122
126
|
id: 15000449,
|
|
123
|
-
description:
|
|
127
|
+
description: "",
|
|
124
128
|
},
|
|
125
|
-
modifiedDate:
|
|
129
|
+
modifiedDate: "2022-01-05T00:00:00+05:30",
|
|
126
130
|
},
|
|
127
131
|
},
|
|
128
132
|
],
|
|
129
133
|
userListFetchError: false,
|
|
130
134
|
templates: [
|
|
131
135
|
{
|
|
132
|
-
_id:
|
|
133
|
-
name:
|
|
134
|
-
type:
|
|
136
|
+
_id: "620b88327ecc279198099117",
|
|
137
|
+
name: "saad",
|
|
138
|
+
type: "WHATSAPP",
|
|
135
139
|
versions: {
|
|
136
140
|
$init: true,
|
|
137
141
|
history: [],
|
|
138
142
|
base: {
|
|
139
143
|
content: {
|
|
140
144
|
whatsapp: {
|
|
141
|
-
status:
|
|
142
|
-
templateId:
|
|
143
|
-
accountName:
|
|
144
|
-
accessToken:
|
|
145
|
-
accountId:
|
|
146
|
-
mediaType:
|
|
145
|
+
status: "approved",
|
|
146
|
+
templateId: "HTc5068cbaa813f931ed887f19922ca19d",
|
|
147
|
+
accountName: "WhatsppTest",
|
|
148
|
+
accessToken: "4676323eb5d1f975b0987070c03a8efc",
|
|
149
|
+
accountId: "AC41030cebba9e2f1ce37c78235da0ee18",
|
|
150
|
+
mediaType: "text",
|
|
147
151
|
languages: [
|
|
148
152
|
{
|
|
149
153
|
content: "$'asdasd\nClick {{1}} to unsubscribe'",
|
|
150
|
-
language:
|
|
154
|
+
language: "en",
|
|
151
155
|
},
|
|
152
156
|
],
|
|
153
|
-
category:
|
|
157
|
+
category: "ACCOUNT_UPDATE",
|
|
154
158
|
rejection_reason: null,
|
|
155
159
|
},
|
|
156
160
|
},
|
|
@@ -158,35 +162,35 @@ export default {
|
|
|
158
162
|
},
|
|
159
163
|
isActive: true,
|
|
160
164
|
orgId: 50146,
|
|
161
|
-
createdBy:
|
|
162
|
-
updatedBy:
|
|
163
|
-
createdAt:
|
|
164
|
-
updatedAt:
|
|
165
|
+
createdBy: "15000449",
|
|
166
|
+
updatedBy: "15000449",
|
|
167
|
+
createdAt: "2022-02-15T11:02:11.190Z",
|
|
168
|
+
updatedAt: "2022-02-15T11:02:11.190Z",
|
|
165
169
|
totalCount: 12,
|
|
166
170
|
},
|
|
167
171
|
{
|
|
168
|
-
_id:
|
|
169
|
-
name:
|
|
170
|
-
type:
|
|
172
|
+
_id: "620b59b37ecc273edd099102",
|
|
173
|
+
name: "sdad",
|
|
174
|
+
type: "WHATSAPP",
|
|
171
175
|
versions: {
|
|
172
176
|
$init: true,
|
|
173
177
|
history: [],
|
|
174
178
|
base: {
|
|
175
179
|
content: {
|
|
176
180
|
whatsapp: {
|
|
177
|
-
status:
|
|
178
|
-
templateId:
|
|
179
|
-
accountName:
|
|
180
|
-
accessToken:
|
|
181
|
-
accountId:
|
|
182
|
-
mediaType:
|
|
181
|
+
status: "approved",
|
|
182
|
+
templateId: "HT27ff217529be534258c84e1769a20a41",
|
|
183
|
+
accountName: "WhatsppTest",
|
|
184
|
+
accessToken: "4676323eb5d1f975b0987070c03a8efc",
|
|
185
|
+
accountId: "AC41030cebba9e2f1ce37c78235da0ee18",
|
|
186
|
+
mediaType: "text",
|
|
183
187
|
languages: [
|
|
184
188
|
{
|
|
185
189
|
content: "$'!@#$%^&*_\nClick {{1}} to unsubscribe'",
|
|
186
|
-
language:
|
|
190
|
+
language: "en",
|
|
187
191
|
},
|
|
188
192
|
],
|
|
189
|
-
category:
|
|
193
|
+
category: "ACCOUNT_UPDATE",
|
|
190
194
|
rejection_reason: null,
|
|
191
195
|
},
|
|
192
196
|
},
|
|
@@ -194,35 +198,35 @@ export default {
|
|
|
194
198
|
},
|
|
195
199
|
isActive: true,
|
|
196
200
|
orgId: 50146,
|
|
197
|
-
createdBy:
|
|
198
|
-
updatedBy:
|
|
199
|
-
createdAt:
|
|
200
|
-
updatedAt:
|
|
201
|
+
createdBy: "15000449",
|
|
202
|
+
updatedBy: "15000449",
|
|
203
|
+
createdAt: "2022-02-15T07:43:47.658Z",
|
|
204
|
+
updatedAt: "2022-02-15T07:43:47.658Z",
|
|
201
205
|
totalCount: 12,
|
|
202
206
|
},
|
|
203
207
|
{
|
|
204
|
-
_id:
|
|
205
|
-
name:
|
|
206
|
-
type:
|
|
208
|
+
_id: "620b59637ecc27e0cc0990ff",
|
|
209
|
+
name: "adsdd",
|
|
210
|
+
type: "WHATSAPP",
|
|
207
211
|
versions: {
|
|
208
212
|
$init: true,
|
|
209
213
|
history: [],
|
|
210
214
|
base: {
|
|
211
215
|
content: {
|
|
212
216
|
whatsapp: {
|
|
213
|
-
status:
|
|
214
|
-
templateId:
|
|
215
|
-
accountName:
|
|
216
|
-
accessToken:
|
|
217
|
-
accountId:
|
|
218
|
-
mediaType:
|
|
217
|
+
status: "approved",
|
|
218
|
+
templateId: "HT92d060ab715e2fc03fc49ee045943f9a",
|
|
219
|
+
accountName: "WhatsppTest",
|
|
220
|
+
accessToken: "4676323eb5d1f975b0987070c03a8efc",
|
|
221
|
+
accountId: "AC41030cebba9e2f1ce37c78235da0ee18",
|
|
222
|
+
mediaType: "text",
|
|
219
223
|
languages: [
|
|
220
224
|
{
|
|
221
225
|
content: "$'!@#$%^&*()_+\nClick {{1}} to unsubscribe'",
|
|
222
|
-
language:
|
|
226
|
+
language: "en",
|
|
223
227
|
},
|
|
224
228
|
],
|
|
225
|
-
category:
|
|
229
|
+
category: "ALERT_UPDATE",
|
|
226
230
|
rejection_reason: null,
|
|
227
231
|
},
|
|
228
232
|
},
|
|
@@ -230,35 +234,35 @@ export default {
|
|
|
230
234
|
},
|
|
231
235
|
isActive: true,
|
|
232
236
|
orgId: 50146,
|
|
233
|
-
createdBy:
|
|
234
|
-
updatedBy:
|
|
235
|
-
createdAt:
|
|
236
|
-
updatedAt:
|
|
237
|
+
createdBy: "15000449",
|
|
238
|
+
updatedBy: "15000449",
|
|
239
|
+
createdAt: "2022-02-15T07:42:27.634Z",
|
|
240
|
+
updatedAt: "2022-02-15T07:42:27.634Z",
|
|
237
241
|
totalCount: 12,
|
|
238
242
|
},
|
|
239
243
|
{
|
|
240
|
-
_id:
|
|
241
|
-
name:
|
|
242
|
-
type:
|
|
244
|
+
_id: "620b592c7ecc2758610990fe",
|
|
245
|
+
name: "sdfsdf",
|
|
246
|
+
type: "WHATSAPP",
|
|
243
247
|
versions: {
|
|
244
248
|
$init: true,
|
|
245
249
|
history: [],
|
|
246
250
|
base: {
|
|
247
251
|
content: {
|
|
248
252
|
whatsapp: {
|
|
249
|
-
status:
|
|
250
|
-
templateId:
|
|
251
|
-
accountName:
|
|
252
|
-
accessToken:
|
|
253
|
-
accountId:
|
|
254
|
-
mediaType:
|
|
253
|
+
status: "approved",
|
|
254
|
+
templateId: "HTe9afa93dbae9c8008d9b48fa9634e8cc",
|
|
255
|
+
accountName: "WhatsppTest",
|
|
256
|
+
accessToken: "4676323eb5d1f975b0987070c03a8efc",
|
|
257
|
+
accountId: "AC41030cebba9e2f1ce37c78235da0ee18",
|
|
258
|
+
mediaType: "text",
|
|
255
259
|
languages: [
|
|
256
260
|
{
|
|
257
261
|
content: "$'!@#$%^&*()_+\nClick {{1}} to unsubscribe'",
|
|
258
|
-
language:
|
|
262
|
+
language: "en",
|
|
259
263
|
},
|
|
260
264
|
],
|
|
261
|
-
category:
|
|
265
|
+
category: "ACCOUNT_UPDATE",
|
|
262
266
|
rejection_reason: null,
|
|
263
267
|
},
|
|
264
268
|
},
|
|
@@ -266,73 +270,72 @@ export default {
|
|
|
266
270
|
},
|
|
267
271
|
isActive: true,
|
|
268
272
|
orgId: 50146,
|
|
269
|
-
createdBy:
|
|
270
|
-
updatedBy:
|
|
271
|
-
createdAt:
|
|
272
|
-
updatedAt:
|
|
273
|
+
createdBy: "15000449",
|
|
274
|
+
updatedBy: "15000449",
|
|
275
|
+
createdAt: "2022-02-15T07:41:32.794Z",
|
|
276
|
+
updatedAt: "2022-02-15T07:41:32.794Z",
|
|
273
277
|
totalCount: 12,
|
|
274
278
|
},
|
|
275
279
|
{
|
|
276
|
-
_id:
|
|
277
|
-
name:
|
|
278
|
-
type:
|
|
280
|
+
_id: "620b45a37ecc2790760990f3",
|
|
281
|
+
name: "demo123_",
|
|
282
|
+
type: "WHATSAPP",
|
|
279
283
|
versions: {
|
|
280
284
|
$init: true,
|
|
281
285
|
history: [],
|
|
282
286
|
base: {
|
|
283
287
|
content: {
|
|
284
288
|
whatsapp: {
|
|
285
|
-
status:
|
|
286
|
-
templateId:
|
|
287
|
-
accountName:
|
|
288
|
-
accessToken:
|
|
289
|
-
accountId:
|
|
290
|
-
mediaType:
|
|
289
|
+
status: "rejected",
|
|
290
|
+
templateId: "HT0e13521c16f501edcddb3834bf39b7a0",
|
|
291
|
+
accountName: "WhatsppTest",
|
|
292
|
+
accessToken: "4676323eb5d1f975b0987070c03a8efc",
|
|
293
|
+
accountId: "AC41030cebba9e2f1ce37c78235da0ee18",
|
|
294
|
+
mediaType: "text",
|
|
291
295
|
languages: [
|
|
292
296
|
{
|
|
293
|
-
content:
|
|
294
|
-
|
|
295
|
-
language: 'en',
|
|
297
|
+
content: "$'sasdad {{1}} and {{2}}\nClick {{3}} to unsubscribe'",
|
|
298
|
+
language: "en",
|
|
296
299
|
},
|
|
297
300
|
],
|
|
298
|
-
category:
|
|
299
|
-
rejection_reason:
|
|
301
|
+
category: "ALERT_UPDATE",
|
|
302
|
+
rejection_reason: "INVALID_FORMAT",
|
|
300
303
|
},
|
|
301
304
|
},
|
|
302
305
|
},
|
|
303
306
|
},
|
|
304
307
|
isActive: true,
|
|
305
308
|
orgId: 50146,
|
|
306
|
-
createdBy:
|
|
307
|
-
updatedBy:
|
|
308
|
-
createdAt:
|
|
309
|
-
updatedAt:
|
|
309
|
+
createdBy: "15000449",
|
|
310
|
+
updatedBy: "15000449",
|
|
311
|
+
createdAt: "2022-02-15T06:18:11.404Z",
|
|
312
|
+
updatedAt: "2022-02-15T06:20:00.566Z",
|
|
310
313
|
totalCount: 12,
|
|
311
314
|
},
|
|
312
315
|
{
|
|
313
|
-
_id:
|
|
314
|
-
name:
|
|
315
|
-
type:
|
|
316
|
+
_id: "6206293583c7567293240513",
|
|
317
|
+
name: "hiaqwe23123",
|
|
318
|
+
type: "WHATSAPP",
|
|
316
319
|
versions: {
|
|
317
320
|
$init: true,
|
|
318
321
|
history: [],
|
|
319
322
|
base: {
|
|
320
323
|
content: {
|
|
321
324
|
whatsapp: {
|
|
322
|
-
status:
|
|
323
|
-
templateId:
|
|
324
|
-
accountName:
|
|
325
|
-
accessToken:
|
|
326
|
-
accountId:
|
|
327
|
-
templateEditor:
|
|
328
|
-
mediaType:
|
|
325
|
+
status: "approved",
|
|
326
|
+
templateId: "HT5d4dc726d77452b062833d662769bd96",
|
|
327
|
+
accountName: "WhatsppTest",
|
|
328
|
+
accessToken: "4676323eb5d1f975b0987070c03a8efc",
|
|
329
|
+
accountId: "AC41030cebba9e2f1ce37c78235da0ee18",
|
|
330
|
+
templateEditor: "dfsdfdsf",
|
|
331
|
+
mediaType: "TEXT",
|
|
329
332
|
languages: [
|
|
330
333
|
{
|
|
331
334
|
content: "$'dfsdfdsf\nClick {{1}} to unsubscribe'",
|
|
332
|
-
language:
|
|
335
|
+
language: "en",
|
|
333
336
|
},
|
|
334
337
|
],
|
|
335
|
-
category:
|
|
338
|
+
category: "ALERT_UPDATE",
|
|
336
339
|
rejection_reason: null,
|
|
337
340
|
},
|
|
338
341
|
},
|
|
@@ -340,36 +343,35 @@ export default {
|
|
|
340
343
|
},
|
|
341
344
|
isActive: true,
|
|
342
345
|
orgId: 50146,
|
|
343
|
-
createdBy:
|
|
344
|
-
updatedBy:
|
|
345
|
-
createdAt:
|
|
346
|
-
updatedAt:
|
|
346
|
+
createdBy: "15000449",
|
|
347
|
+
updatedBy: "15000449",
|
|
348
|
+
createdAt: "2022-02-11T09:15:34.151Z",
|
|
349
|
+
updatedAt: "2022-02-11T09:15:34.151Z",
|
|
347
350
|
totalCount: 12,
|
|
348
351
|
},
|
|
349
352
|
{
|
|
350
|
-
_id:
|
|
351
|
-
name:
|
|
352
|
-
type:
|
|
353
|
+
_id: "62034e0d83c756035f2404ef",
|
|
354
|
+
name: "payment_status",
|
|
355
|
+
type: "WHATSAPP",
|
|
353
356
|
versions: {
|
|
354
357
|
$init: true,
|
|
355
358
|
history: [],
|
|
356
359
|
base: {
|
|
357
360
|
content: {
|
|
358
361
|
whatsapp: {
|
|
359
|
-
status:
|
|
360
|
-
templateId:
|
|
361
|
-
accountName:
|
|
362
|
-
accessToken:
|
|
363
|
-
accountId:
|
|
364
|
-
mediaType:
|
|
362
|
+
status: "approved",
|
|
363
|
+
templateId: "HT79d91d09938365fbade7e5fd208311da",
|
|
364
|
+
accountName: "WhatsppTest",
|
|
365
|
+
accessToken: "4676323eb5d1f975b0987070c03a8efc",
|
|
366
|
+
accountId: "AC41030cebba9e2f1ce37c78235da0ee18",
|
|
367
|
+
mediaType: "text",
|
|
365
368
|
languages: [
|
|
366
369
|
{
|
|
367
|
-
content:
|
|
368
|
-
|
|
369
|
-
language: 'en',
|
|
370
|
+
content: "$'Purchase successful @ {{1}}\nCongrats!!\n{{2}} added to your Vishal Mega Mart account\nRedeem on {{3}}\nValid only for {{4}}\nTerms and conditions apply\n{{5}}\nClick {{6}} to unsubscribe'",
|
|
371
|
+
language: "en",
|
|
370
372
|
},
|
|
371
373
|
],
|
|
372
|
-
category:
|
|
374
|
+
category: "PAYMENT_UPDATE",
|
|
373
375
|
rejection_reason: null,
|
|
374
376
|
},
|
|
375
377
|
},
|
|
@@ -377,36 +379,35 @@ export default {
|
|
|
377
379
|
},
|
|
378
380
|
isActive: true,
|
|
379
381
|
orgId: 50146,
|
|
380
|
-
createdBy:
|
|
381
|
-
updatedBy:
|
|
382
|
-
createdAt:
|
|
383
|
-
updatedAt:
|
|
382
|
+
createdBy: "15000449",
|
|
383
|
+
updatedBy: "15000449",
|
|
384
|
+
createdAt: "2022-02-09T05:15:57.700Z",
|
|
385
|
+
updatedAt: "2022-02-09T05:15:57.700Z",
|
|
384
386
|
totalCount: 12,
|
|
385
387
|
},
|
|
386
388
|
{
|
|
387
|
-
_id:
|
|
388
|
-
name:
|
|
389
|
-
type:
|
|
389
|
+
_id: "62034bf683c75682f82404ee",
|
|
390
|
+
name: "reservation_update",
|
|
391
|
+
type: "WHATSAPP",
|
|
390
392
|
versions: {
|
|
391
393
|
$init: true,
|
|
392
394
|
history: [],
|
|
393
395
|
base: {
|
|
394
396
|
content: {
|
|
395
397
|
whatsapp: {
|
|
396
|
-
status:
|
|
397
|
-
templateId:
|
|
398
|
-
accountName:
|
|
399
|
-
accessToken:
|
|
400
|
-
accountId:
|
|
401
|
-
mediaType:
|
|
398
|
+
status: "approved",
|
|
399
|
+
templateId: "HT41de93f2b9fce551026be8ef53c38cd5",
|
|
400
|
+
accountName: "WhatsppTest",
|
|
401
|
+
accessToken: "4676323eb5d1f975b0987070c03a8efc",
|
|
402
|
+
accountId: "AC41030cebba9e2f1ce37c78235da0ee18",
|
|
403
|
+
mediaType: "text",
|
|
402
404
|
languages: [
|
|
403
405
|
{
|
|
404
|
-
content:
|
|
405
|
-
|
|
406
|
-
language: 'en',
|
|
406
|
+
content: "$'Hi {{1}}, your reservation at {{2}} is confirmed for {{3}} at {{4}}\nClick {{5}} to unsubscribe'",
|
|
407
|
+
language: "en",
|
|
407
408
|
},
|
|
408
409
|
],
|
|
409
|
-
category:
|
|
410
|
+
category: "RESERVATION_UPDATE",
|
|
410
411
|
rejection_reason: null,
|
|
411
412
|
},
|
|
412
413
|
},
|
|
@@ -414,36 +415,35 @@ export default {
|
|
|
414
415
|
},
|
|
415
416
|
isActive: true,
|
|
416
417
|
orgId: 50146,
|
|
417
|
-
createdBy:
|
|
418
|
-
updatedBy:
|
|
419
|
-
createdAt:
|
|
420
|
-
updatedAt:
|
|
418
|
+
createdBy: "15000449",
|
|
419
|
+
updatedBy: "15000449",
|
|
420
|
+
createdAt: "2022-02-09T05:07:02.525Z",
|
|
421
|
+
updatedAt: "2022-02-09T05:07:02.525Z",
|
|
421
422
|
totalCount: 12,
|
|
422
423
|
},
|
|
423
424
|
{
|
|
424
|
-
_id:
|
|
425
|
-
name:
|
|
426
|
-
type:
|
|
425
|
+
_id: "62034b8583c7566fbb2404ed",
|
|
426
|
+
name: "optout_update",
|
|
427
|
+
type: "WHATSAPP",
|
|
427
428
|
versions: {
|
|
428
429
|
$init: true,
|
|
429
430
|
history: [],
|
|
430
431
|
base: {
|
|
431
432
|
content: {
|
|
432
433
|
whatsapp: {
|
|
433
|
-
status:
|
|
434
|
-
templateId:
|
|
435
|
-
accountName:
|
|
436
|
-
accessToken:
|
|
437
|
-
accountId:
|
|
438
|
-
mediaType:
|
|
434
|
+
status: "approved",
|
|
435
|
+
templateId: "HT6562fb8f7267a51d5de099f7ea4e3077",
|
|
436
|
+
accountName: "WhatsppTest",
|
|
437
|
+
accessToken: "4676323eb5d1f975b0987070c03a8efc",
|
|
438
|
+
accountId: "AC41030cebba9e2f1ce37c78235da0ee18",
|
|
439
|
+
mediaType: "text",
|
|
439
440
|
languages: [
|
|
440
441
|
{
|
|
441
|
-
content:
|
|
442
|
-
|
|
443
|
-
language: 'en',
|
|
442
|
+
content: "$'Dear Customer you have been opted out to receive messages from us. To Opt in give a missed call at +918067006166. Don't miss out on our offers & SHOP FOR FREE!\nClick {{1}} to unsubscribe'",
|
|
443
|
+
language: "en",
|
|
444
444
|
},
|
|
445
445
|
],
|
|
446
|
-
category:
|
|
446
|
+
category: "ACCOUNT_UPDATE",
|
|
447
447
|
rejection_reason: null,
|
|
448
448
|
},
|
|
449
449
|
},
|
|
@@ -451,36 +451,35 @@ export default {
|
|
|
451
451
|
},
|
|
452
452
|
isActive: true,
|
|
453
453
|
orgId: 50146,
|
|
454
|
-
createdBy:
|
|
455
|
-
updatedBy:
|
|
456
|
-
createdAt:
|
|
457
|
-
updatedAt:
|
|
454
|
+
createdBy: "15000449",
|
|
455
|
+
updatedBy: "15000449",
|
|
456
|
+
createdAt: "2022-02-09T05:05:09.446Z",
|
|
457
|
+
updatedAt: "2022-02-09T05:05:09.446Z",
|
|
458
458
|
totalCount: 12,
|
|
459
459
|
},
|
|
460
460
|
{
|
|
461
|
-
_id:
|
|
462
|
-
name:
|
|
463
|
-
type:
|
|
461
|
+
_id: "62034b4683c75608cf2404ec",
|
|
462
|
+
name: "points_update",
|
|
463
|
+
type: "WHATSAPP",
|
|
464
464
|
versions: {
|
|
465
465
|
$init: true,
|
|
466
466
|
history: [],
|
|
467
467
|
base: {
|
|
468
468
|
content: {
|
|
469
469
|
whatsapp: {
|
|
470
|
-
status:
|
|
471
|
-
templateId:
|
|
472
|
-
accountName:
|
|
473
|
-
accessToken:
|
|
474
|
-
accountId:
|
|
475
|
-
mediaType:
|
|
470
|
+
status: "approved",
|
|
471
|
+
templateId: "HT9bb4d61eea1699d2dbcaecd1cb558345",
|
|
472
|
+
accountName: "WhatsppTest",
|
|
473
|
+
accessToken: "4676323eb5d1f975b0987070c03a8efc",
|
|
474
|
+
accountId: "AC41030cebba9e2f1ce37c78235da0ee18",
|
|
475
|
+
mediaType: "text",
|
|
476
476
|
languages: [
|
|
477
477
|
{
|
|
478
|
-
content:
|
|
479
|
-
|
|
480
|
-
language: 'en',
|
|
478
|
+
content: "$'Dear Customer, your{{1}} points are about to expire. Redeem before {{2}} at nearest Vishal Mega Mart and SHOP FOR FREE!\nT&C\nClick {{3}} to unsubscribe'",
|
|
479
|
+
language: "en",
|
|
481
480
|
},
|
|
482
481
|
],
|
|
483
|
-
category:
|
|
482
|
+
category: "ACCOUNT_UPDATE",
|
|
484
483
|
rejection_reason: null,
|
|
485
484
|
},
|
|
486
485
|
},
|
|
@@ -488,84 +487,82 @@ export default {
|
|
|
488
487
|
},
|
|
489
488
|
isActive: true,
|
|
490
489
|
orgId: 50146,
|
|
491
|
-
createdBy:
|
|
492
|
-
updatedBy:
|
|
493
|
-
createdAt:
|
|
494
|
-
updatedAt:
|
|
490
|
+
createdBy: "15000449",
|
|
491
|
+
updatedBy: "15000449",
|
|
492
|
+
createdAt: "2022-02-09T05:04:06.579Z",
|
|
493
|
+
updatedAt: "2022-02-09T05:04:06.579Z",
|
|
495
494
|
totalCount: 12,
|
|
496
495
|
},
|
|
497
496
|
{
|
|
498
|
-
_id:
|
|
499
|
-
name:
|
|
500
|
-
type:
|
|
497
|
+
_id: "62026d1283c7566ce92404de",
|
|
498
|
+
name: "test_rejected_message_3",
|
|
499
|
+
type: "WHATSAPP",
|
|
501
500
|
versions: {
|
|
502
501
|
$init: true,
|
|
503
502
|
history: [],
|
|
504
503
|
base: {
|
|
505
504
|
content: {
|
|
506
505
|
whatsapp: {
|
|
507
|
-
status:
|
|
508
|
-
templateId:
|
|
509
|
-
accountName:
|
|
510
|
-
accessToken:
|
|
511
|
-
accountId:
|
|
512
|
-
mediaType:
|
|
506
|
+
status: "rejected",
|
|
507
|
+
templateId: "HT9012f1c7290beb0286b7c4138baf675d",
|
|
508
|
+
accountName: "WhatsppTest",
|
|
509
|
+
accessToken: "4676323eb5d1f975b0987070c03a8efc",
|
|
510
|
+
accountId: "AC41030cebba9e2f1ce37c78235da0ee18",
|
|
511
|
+
mediaType: "text",
|
|
513
512
|
languages: [
|
|
514
513
|
{
|
|
515
|
-
content:
|
|
516
|
-
|
|
517
|
-
language: 'en',
|
|
514
|
+
content: "$'Hello {{1}} and {{2}}\nClick {{3}} to unsubscribe'",
|
|
515
|
+
language: "en",
|
|
518
516
|
},
|
|
519
517
|
],
|
|
520
|
-
category:
|
|
521
|
-
rejection_reason:
|
|
518
|
+
category: "ALERT_UPDATE",
|
|
519
|
+
rejection_reason: "INVALID_FORMAT",
|
|
522
520
|
},
|
|
523
521
|
},
|
|
524
522
|
},
|
|
525
523
|
},
|
|
526
524
|
isActive: true,
|
|
527
525
|
orgId: 50146,
|
|
528
|
-
createdBy:
|
|
529
|
-
updatedBy:
|
|
530
|
-
createdAt:
|
|
531
|
-
updatedAt:
|
|
526
|
+
createdBy: "15000449",
|
|
527
|
+
updatedBy: "15000449",
|
|
528
|
+
createdAt: "2022-02-08T13:16:02.366Z",
|
|
529
|
+
updatedAt: "2022-02-08T13:16:02.366Z",
|
|
532
530
|
totalCount: 12,
|
|
533
531
|
},
|
|
534
532
|
{
|
|
535
|
-
_id:
|
|
536
|
-
name:
|
|
537
|
-
type:
|
|
533
|
+
_id: "62025d0583c756f73f2404d8",
|
|
534
|
+
name: "test_rejected_message_1",
|
|
535
|
+
type: "WHATSAPP",
|
|
538
536
|
versions: {
|
|
539
537
|
$init: true,
|
|
540
538
|
history: [],
|
|
541
539
|
base: {
|
|
542
540
|
content: {
|
|
543
541
|
whatsapp: {
|
|
544
|
-
status:
|
|
545
|
-
templateId:
|
|
546
|
-
accountName:
|
|
547
|
-
accessToken:
|
|
548
|
-
accountId:
|
|
549
|
-
mediaType:
|
|
542
|
+
status: "rejected",
|
|
543
|
+
templateId: "HT5196572bf61ebcc6b8c6216522226b14",
|
|
544
|
+
accountName: "WhatsppTest",
|
|
545
|
+
accessToken: "4676323eb5d1f975b0987070c03a8efc",
|
|
546
|
+
accountId: "AC41030cebba9e2f1ce37c78235da0ee18",
|
|
547
|
+
mediaType: "text",
|
|
550
548
|
languages: [
|
|
551
549
|
{
|
|
552
|
-
content:
|
|
553
|
-
|
|
554
|
-
language: 'en',
|
|
550
|
+
content: "$'hi {{1}} and {{2}}\nClick {{3}} to unsubscribe'",
|
|
551
|
+
language: "en",
|
|
555
552
|
},
|
|
556
553
|
],
|
|
557
|
-
category:
|
|
558
|
-
rejection_reason:
|
|
554
|
+
category: "ALERT_UPDATE",
|
|
555
|
+
rejection_reason: "INVALID_FORMAT",
|
|
559
556
|
},
|
|
560
557
|
},
|
|
561
558
|
},
|
|
562
559
|
},
|
|
563
560
|
isActive: true,
|
|
564
561
|
orgId: 50146,
|
|
565
|
-
createdBy:
|
|
566
|
-
updatedBy:
|
|
567
|
-
createdAt:
|
|
568
|
-
updatedAt:
|
|
562
|
+
createdBy: "15000449",
|
|
563
|
+
updatedBy: "15000449",
|
|
564
|
+
createdAt: "2022-02-08T12:07:34.192Z",
|
|
565
|
+
updatedAt: "2022-02-08T12:07:34.192Z",
|
|
569
566
|
totalCount: 12,
|
|
570
567
|
},
|
|
571
568
|
],
|
|
@@ -578,11 +575,11 @@ export default {
|
|
|
578
575
|
orgUsers: [
|
|
579
576
|
{
|
|
580
577
|
userId: 50012994,
|
|
581
|
-
firstName:
|
|
582
|
-
lastName:
|
|
583
|
-
loginName:
|
|
584
|
-
email:
|
|
585
|
-
mobile:
|
|
578
|
+
firstName: "firstUser",
|
|
579
|
+
lastName: "",
|
|
580
|
+
loginName: "firstUser@capillarytech.com",
|
|
581
|
+
email: "firstUser@capillarytech.com",
|
|
582
|
+
mobile: "918888802132",
|
|
586
583
|
isMobileValidated: 0,
|
|
587
584
|
isEmailValidated: 0,
|
|
588
585
|
},
|
|
@@ -590,11 +587,11 @@ export default {
|
|
|
590
587
|
capUsers: [
|
|
591
588
|
{
|
|
592
589
|
userId: 15000449,
|
|
593
|
-
firstName:
|
|
594
|
-
lastName:
|
|
595
|
-
loginName:
|
|
596
|
-
email:
|
|
597
|
-
mobile:
|
|
590
|
+
firstName: "Ashish",
|
|
591
|
+
lastName: "Karan fd",
|
|
592
|
+
loginName: "cap@coin.com",
|
|
593
|
+
email: "cap@coin.com",
|
|
594
|
+
mobile: "919957676767",
|
|
598
595
|
isMobileValidated: 1,
|
|
599
596
|
isEmailValidated: 1,
|
|
600
597
|
},
|
|
@@ -607,9 +604,9 @@ export default {
|
|
|
607
604
|
userListFetchError: false,
|
|
608
605
|
templates: [
|
|
609
606
|
{
|
|
610
|
-
_id:
|
|
611
|
-
name:
|
|
612
|
-
type:
|
|
607
|
+
_id: "623c39e970387f3cf5f8fd70",
|
|
608
|
+
name: "testtest",
|
|
609
|
+
type: "RCS",
|
|
613
610
|
versions: {
|
|
614
611
|
$init: true,
|
|
615
612
|
history: [],
|
|
@@ -618,23 +615,22 @@ export default {
|
|
|
618
615
|
RCS: {
|
|
619
616
|
cardContent: [
|
|
620
617
|
{
|
|
621
|
-
title:
|
|
622
|
-
description:
|
|
623
|
-
mediaType:
|
|
618
|
+
title: "title",
|
|
619
|
+
description: "Desc",
|
|
620
|
+
mediaType: "NONE",
|
|
624
621
|
media: {
|
|
625
|
-
mediaUrl:
|
|
626
|
-
height:
|
|
622
|
+
mediaUrl: "",
|
|
623
|
+
height: "MEDIUM",
|
|
627
624
|
},
|
|
628
625
|
},
|
|
629
626
|
],
|
|
630
627
|
cardSettings: {
|
|
631
|
-
cardOrientation:
|
|
632
|
-
mediaAlignment: 'RIGHT',
|
|
628
|
+
cardOrientation: "VERTICAL",
|
|
633
629
|
},
|
|
634
|
-
cardType:
|
|
635
|
-
contentType:
|
|
630
|
+
cardType: "STANDALONE",
|
|
631
|
+
contentType: "RICHCARD",
|
|
636
632
|
smsFallBackContent: {
|
|
637
|
-
message:
|
|
633
|
+
message: "123",
|
|
638
634
|
},
|
|
639
635
|
},
|
|
640
636
|
},
|
|
@@ -642,16 +638,16 @@ export default {
|
|
|
642
638
|
},
|
|
643
639
|
isActive: true,
|
|
644
640
|
orgId: 50146,
|
|
645
|
-
createdBy:
|
|
646
|
-
updatedBy:
|
|
647
|
-
createdAt:
|
|
648
|
-
updatedAt:
|
|
641
|
+
createdBy: "15000449",
|
|
642
|
+
updatedBy: "15000449",
|
|
643
|
+
createdAt: "2022-03-24T09:29:13.376Z",
|
|
644
|
+
updatedAt: "2022-03-29T11:15:53.175Z",
|
|
649
645
|
totalCount: 10,
|
|
650
646
|
},
|
|
651
647
|
{
|
|
652
|
-
_id:
|
|
653
|
-
name:
|
|
654
|
-
type:
|
|
648
|
+
_id: "623c3e0a70387fa8dcf8fd75",
|
|
649
|
+
name: "creative",
|
|
650
|
+
type: "RCS",
|
|
655
651
|
versions: {
|
|
656
652
|
$init: true,
|
|
657
653
|
history: [],
|
|
@@ -659,23 +655,22 @@ export default {
|
|
|
659
655
|
content: {
|
|
660
656
|
RCS: {
|
|
661
657
|
smsFallBackContent: {
|
|
662
|
-
message:
|
|
658
|
+
message: "fallback {{optout}}",
|
|
663
659
|
},
|
|
664
|
-
contentType:
|
|
665
|
-
cardType:
|
|
660
|
+
contentType: "RICHCARD",
|
|
661
|
+
cardType: "STANDALONE",
|
|
666
662
|
cardSettings: {
|
|
667
|
-
|
|
668
|
-
cardOrientation: 'VERTICAL',
|
|
663
|
+
cardOrientation: "VERTICAL",
|
|
669
664
|
},
|
|
670
665
|
cardContent: [
|
|
671
666
|
{
|
|
672
667
|
media: {
|
|
673
|
-
height:
|
|
674
|
-
mediaUrl:
|
|
668
|
+
height: "MEDIUM",
|
|
669
|
+
mediaUrl: "",
|
|
675
670
|
},
|
|
676
|
-
mediaType:
|
|
677
|
-
description:
|
|
678
|
-
title:
|
|
671
|
+
mediaType: "NONE",
|
|
672
|
+
description: "desc {{store_name}}",
|
|
673
|
+
title: "title",
|
|
679
674
|
},
|
|
680
675
|
],
|
|
681
676
|
},
|
|
@@ -684,16 +679,16 @@ export default {
|
|
|
684
679
|
},
|
|
685
680
|
isActive: true,
|
|
686
681
|
orgId: 50146,
|
|
687
|
-
createdBy:
|
|
688
|
-
updatedBy:
|
|
689
|
-
createdAt:
|
|
690
|
-
updatedAt:
|
|
682
|
+
createdBy: "15000449",
|
|
683
|
+
updatedBy: "15000449",
|
|
684
|
+
createdAt: "2022-03-24T09:46:50.688Z",
|
|
685
|
+
updatedAt: "2022-03-24T09:46:50.688Z",
|
|
691
686
|
totalCount: 10,
|
|
692
687
|
},
|
|
693
688
|
{
|
|
694
|
-
_id:
|
|
695
|
-
name:
|
|
696
|
-
type:
|
|
689
|
+
_id: "623c279270387f94fff8fd6e",
|
|
690
|
+
name: "Test_1111",
|
|
691
|
+
type: "RCS",
|
|
697
692
|
versions: {
|
|
698
693
|
$init: true,
|
|
699
694
|
history: [],
|
|
@@ -701,24 +696,22 @@ export default {
|
|
|
701
696
|
content: {
|
|
702
697
|
RCS: {
|
|
703
698
|
smsFallBackContent: {
|
|
704
|
-
message:
|
|
699
|
+
message: "Test SMS message",
|
|
705
700
|
},
|
|
706
|
-
contentType:
|
|
707
|
-
cardType:
|
|
701
|
+
contentType: "RICHCARD",
|
|
702
|
+
cardType: "STANDALONE",
|
|
708
703
|
cardSettings: {
|
|
709
|
-
|
|
710
|
-
cardOrientation: 'VERTICAL',
|
|
704
|
+
cardOrientation: "VERTICAL",
|
|
711
705
|
},
|
|
712
706
|
cardContent: [
|
|
713
707
|
{
|
|
714
708
|
media: {
|
|
715
|
-
height:
|
|
716
|
-
mediaUrl:
|
|
717
|
-
'https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/abc49b13-6e84-4ff9-8859-6dd8d8d5.jpg',
|
|
709
|
+
height: "MEDIUM",
|
|
710
|
+
mediaUrl: "https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/abc49b13-6e84-4ff9-8859-6dd8d8d5.jpg",
|
|
718
711
|
},
|
|
719
|
-
mediaType:
|
|
720
|
-
description:
|
|
721
|
-
title:
|
|
712
|
+
mediaType: "IMAGE",
|
|
713
|
+
description: "Test Text message\n{{store_name}}",
|
|
714
|
+
title: "Test Title",
|
|
722
715
|
},
|
|
723
716
|
],
|
|
724
717
|
},
|
|
@@ -727,16 +720,16 @@ export default {
|
|
|
727
720
|
},
|
|
728
721
|
isActive: true,
|
|
729
722
|
orgId: 50146,
|
|
730
|
-
createdBy:
|
|
731
|
-
updatedBy:
|
|
732
|
-
createdAt:
|
|
733
|
-
updatedAt:
|
|
723
|
+
createdBy: "15000449",
|
|
724
|
+
updatedBy: "15000449",
|
|
725
|
+
createdAt: "2022-03-24T08:10:58.084Z",
|
|
726
|
+
updatedAt: "2022-03-24T08:10:58.084Z",
|
|
734
727
|
totalCount: 10,
|
|
735
728
|
},
|
|
736
729
|
{
|
|
737
|
-
_id:
|
|
738
|
-
name:
|
|
739
|
-
type:
|
|
730
|
+
_id: "623c264b70387f4db0f8fd6d",
|
|
731
|
+
name: "Copy of Test_112 03-24-2022 13:35:31",
|
|
732
|
+
type: "RCS",
|
|
740
733
|
versions: {
|
|
741
734
|
$init: true,
|
|
742
735
|
history: [],
|
|
@@ -745,24 +738,22 @@ export default {
|
|
|
745
738
|
RCS: {
|
|
746
739
|
cardContent: [
|
|
747
740
|
{
|
|
748
|
-
title:
|
|
749
|
-
description:
|
|
750
|
-
mediaType:
|
|
741
|
+
title: "Hi I am Title",
|
|
742
|
+
description: "Hi I am Text message",
|
|
743
|
+
mediaType: "IMAGE",
|
|
751
744
|
media: {
|
|
752
|
-
mediaUrl:
|
|
753
|
-
|
|
754
|
-
height: 'MEDIUM',
|
|
745
|
+
mediaUrl: "https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/c01ca156-ca83-4b1c-8e5a-40f02048.jpg",
|
|
746
|
+
height: "MEDIUM",
|
|
755
747
|
},
|
|
756
748
|
},
|
|
757
749
|
],
|
|
758
750
|
cardSettings: {
|
|
759
|
-
cardOrientation:
|
|
760
|
-
mediaAlignment: 'RIGHT',
|
|
751
|
+
cardOrientation: "VERTICAL",
|
|
761
752
|
},
|
|
762
|
-
cardType:
|
|
763
|
-
contentType:
|
|
753
|
+
cardType: "STANDALONE",
|
|
754
|
+
contentType: "RICHCARD",
|
|
764
755
|
smsFallBackContent: {
|
|
765
|
-
message:
|
|
756
|
+
message: "",
|
|
766
757
|
},
|
|
767
758
|
},
|
|
768
759
|
},
|
|
@@ -770,16 +761,16 @@ export default {
|
|
|
770
761
|
},
|
|
771
762
|
isActive: true,
|
|
772
763
|
orgId: 50146,
|
|
773
|
-
createdBy:
|
|
774
|
-
updatedBy:
|
|
775
|
-
createdAt:
|
|
776
|
-
updatedAt:
|
|
764
|
+
createdBy: "15000449",
|
|
765
|
+
updatedBy: "15000449",
|
|
766
|
+
createdAt: "2022-03-24T08:05:31.979Z",
|
|
767
|
+
updatedAt: "2022-03-24T08:05:31.979Z",
|
|
777
768
|
totalCount: 10,
|
|
778
769
|
},
|
|
779
770
|
{
|
|
780
|
-
_id:
|
|
781
|
-
name:
|
|
782
|
-
type:
|
|
771
|
+
_id: "623c000670387f4df6f8fd59",
|
|
772
|
+
name: "Test_112",
|
|
773
|
+
type: "RCS",
|
|
783
774
|
versions: {
|
|
784
775
|
$init: true,
|
|
785
776
|
history: [],
|
|
@@ -787,24 +778,22 @@ export default {
|
|
|
787
778
|
content: {
|
|
788
779
|
RCS: {
|
|
789
780
|
smsFallBackContent: {
|
|
790
|
-
message:
|
|
781
|
+
message: "",
|
|
791
782
|
},
|
|
792
|
-
contentType:
|
|
793
|
-
cardType:
|
|
783
|
+
contentType: "RICHCARD",
|
|
784
|
+
cardType: "STANDALONE",
|
|
794
785
|
cardSettings: {
|
|
795
|
-
|
|
796
|
-
cardOrientation: 'VERTICAL',
|
|
786
|
+
cardOrientation: "VERTICAL",
|
|
797
787
|
},
|
|
798
788
|
cardContent: [
|
|
799
789
|
{
|
|
800
790
|
media: {
|
|
801
|
-
height:
|
|
802
|
-
mediaUrl:
|
|
803
|
-
'https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/c01ca156-ca83-4b1c-8e5a-40f02048.jpg',
|
|
791
|
+
height: "MEDIUM",
|
|
792
|
+
mediaUrl: "https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/c01ca156-ca83-4b1c-8e5a-40f02048.jpg",
|
|
804
793
|
},
|
|
805
|
-
mediaType:
|
|
806
|
-
description:
|
|
807
|
-
title:
|
|
794
|
+
mediaType: "IMAGE",
|
|
795
|
+
description: "Hi I am Text message",
|
|
796
|
+
title: "Hi I am Title",
|
|
808
797
|
},
|
|
809
798
|
],
|
|
810
799
|
},
|
|
@@ -813,16 +802,16 @@ export default {
|
|
|
813
802
|
},
|
|
814
803
|
isActive: true,
|
|
815
804
|
orgId: 50146,
|
|
816
|
-
createdBy:
|
|
817
|
-
updatedBy:
|
|
818
|
-
createdAt:
|
|
819
|
-
updatedAt:
|
|
805
|
+
createdBy: "15000449",
|
|
806
|
+
updatedBy: "15000449",
|
|
807
|
+
createdAt: "2022-03-24T05:22:15.073Z",
|
|
808
|
+
updatedAt: "2022-03-24T05:22:15.073Z",
|
|
820
809
|
totalCount: 10,
|
|
821
810
|
},
|
|
822
811
|
{
|
|
823
|
-
_id:
|
|
824
|
-
name:
|
|
825
|
-
type:
|
|
812
|
+
_id: "623bff3570387f33a4f8fd56",
|
|
813
|
+
name: "Test_111",
|
|
814
|
+
type: "RCS",
|
|
826
815
|
versions: {
|
|
827
816
|
$init: true,
|
|
828
817
|
history: [],
|
|
@@ -830,23 +819,22 @@ export default {
|
|
|
830
819
|
content: {
|
|
831
820
|
RCS: {
|
|
832
821
|
smsFallBackContent: {
|
|
833
|
-
message:
|
|
822
|
+
message: "HI I am Fallback SMS{{optout}}",
|
|
834
823
|
},
|
|
835
|
-
contentType:
|
|
836
|
-
cardType:
|
|
824
|
+
contentType: "RICHCARD",
|
|
825
|
+
cardType: "STANDALONE",
|
|
837
826
|
cardSettings: {
|
|
838
|
-
|
|
839
|
-
cardOrientation: 'VERTICAL',
|
|
827
|
+
cardOrientation: "VERTICAL",
|
|
840
828
|
},
|
|
841
829
|
cardContent: [
|
|
842
830
|
{
|
|
843
831
|
media: {
|
|
844
|
-
height:
|
|
845
|
-
mediaUrl:
|
|
832
|
+
height: "MEDIUM",
|
|
833
|
+
mediaUrl: "",
|
|
846
834
|
},
|
|
847
|
-
mediaType:
|
|
848
|
-
description:
|
|
849
|
-
title:
|
|
835
|
+
mediaType: "NONE",
|
|
836
|
+
description: "Hi I am Description{{optout}}",
|
|
837
|
+
title: "Hi I am Title",
|
|
850
838
|
},
|
|
851
839
|
],
|
|
852
840
|
},
|
|
@@ -855,16 +843,16 @@ export default {
|
|
|
855
843
|
},
|
|
856
844
|
isActive: true,
|
|
857
845
|
orgId: 50146,
|
|
858
|
-
createdBy:
|
|
859
|
-
updatedBy:
|
|
860
|
-
createdAt:
|
|
861
|
-
updatedAt:
|
|
846
|
+
createdBy: "15000449",
|
|
847
|
+
updatedBy: "15000449",
|
|
848
|
+
createdAt: "2022-03-24T05:18:45.280Z",
|
|
849
|
+
updatedAt: "2022-03-24T05:18:45.280Z",
|
|
862
850
|
totalCount: 10,
|
|
863
851
|
},
|
|
864
852
|
{
|
|
865
|
-
_id:
|
|
866
|
-
name:
|
|
867
|
-
type:
|
|
853
|
+
_id: "623bfc6870387fb550f8fd55",
|
|
854
|
+
name: "Copy of test_vin_8 03-24-2022 10:36:45",
|
|
855
|
+
type: "RCS",
|
|
868
856
|
versions: {
|
|
869
857
|
$init: true,
|
|
870
858
|
history: [],
|
|
@@ -873,24 +861,22 @@ export default {
|
|
|
873
861
|
RCS: {
|
|
874
862
|
cardContent: [
|
|
875
863
|
{
|
|
876
|
-
title:
|
|
877
|
-
description:
|
|
878
|
-
mediaType:
|
|
864
|
+
title: "This is RCS title",
|
|
865
|
+
description: "This is RCS description {{optout}}",
|
|
866
|
+
mediaType: "IMAGE",
|
|
879
867
|
media: {
|
|
880
|
-
mediaUrl:
|
|
881
|
-
|
|
882
|
-
height: 'MEDIUM',
|
|
868
|
+
mediaUrl: "https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/62f8c77c-f132-44d8-a822-0e90f57c.jpg",
|
|
869
|
+
height: "MEDIUM",
|
|
883
870
|
},
|
|
884
871
|
},
|
|
885
872
|
],
|
|
886
873
|
cardSettings: {
|
|
887
|
-
cardOrientation:
|
|
888
|
-
mediaAlignment: 'RIGHT',
|
|
874
|
+
cardOrientation: "VERTICAL",
|
|
889
875
|
},
|
|
890
|
-
cardType:
|
|
891
|
-
contentType:
|
|
876
|
+
cardType: "STANDALONE",
|
|
877
|
+
contentType: "RICHCARD",
|
|
892
878
|
smsFallBackContent: {
|
|
893
|
-
message:
|
|
879
|
+
message: "This is fallback msg {{optout}}",
|
|
894
880
|
},
|
|
895
881
|
},
|
|
896
882
|
},
|
|
@@ -898,16 +884,16 @@ export default {
|
|
|
898
884
|
},
|
|
899
885
|
isActive: true,
|
|
900
886
|
orgId: 50146,
|
|
901
|
-
createdBy:
|
|
902
|
-
updatedBy:
|
|
903
|
-
createdAt:
|
|
904
|
-
updatedAt:
|
|
887
|
+
createdBy: "15000449",
|
|
888
|
+
updatedBy: "15000449",
|
|
889
|
+
createdAt: "2022-03-24T05:06:48.885Z",
|
|
890
|
+
updatedAt: "2022-03-24T05:06:48.885Z",
|
|
905
891
|
totalCount: 10,
|
|
906
892
|
},
|
|
907
893
|
{
|
|
908
|
-
_id:
|
|
909
|
-
name:
|
|
910
|
-
type:
|
|
894
|
+
_id: "623acf4df971231e66c85882",
|
|
895
|
+
name: "test_vin_8",
|
|
896
|
+
type: "RCS",
|
|
911
897
|
versions: {
|
|
912
898
|
$init: true,
|
|
913
899
|
history: [],
|
|
@@ -915,24 +901,22 @@ export default {
|
|
|
915
901
|
content: {
|
|
916
902
|
RCS: {
|
|
917
903
|
smsFallBackContent: {
|
|
918
|
-
message:
|
|
904
|
+
message: "This is fallback msg {{optout}}",
|
|
919
905
|
},
|
|
920
|
-
contentType:
|
|
921
|
-
cardType:
|
|
906
|
+
contentType: "RICHCARD",
|
|
907
|
+
cardType: "STANDALONE",
|
|
922
908
|
cardSettings: {
|
|
923
|
-
|
|
924
|
-
cardOrientation: 'VERTICAL',
|
|
909
|
+
cardOrientation: "VERTICAL",
|
|
925
910
|
},
|
|
926
911
|
cardContent: [
|
|
927
912
|
{
|
|
928
913
|
media: {
|
|
929
|
-
height:
|
|
930
|
-
mediaUrl:
|
|
931
|
-
'https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/62f8c77c-f132-44d8-a822-0e90f57c.jpg',
|
|
914
|
+
height: "MEDIUM",
|
|
915
|
+
mediaUrl: "https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/62f8c77c-f132-44d8-a822-0e90f57c.jpg",
|
|
932
916
|
},
|
|
933
|
-
mediaType:
|
|
934
|
-
description:
|
|
935
|
-
title:
|
|
917
|
+
mediaType: "IMAGE",
|
|
918
|
+
description: "This is RCS description {{optout}}",
|
|
919
|
+
title: "This is RCS title",
|
|
936
920
|
},
|
|
937
921
|
],
|
|
938
922
|
},
|
|
@@ -941,16 +925,16 @@ export default {
|
|
|
941
925
|
},
|
|
942
926
|
isActive: true,
|
|
943
927
|
orgId: 50146,
|
|
944
|
-
createdBy:
|
|
945
|
-
updatedBy:
|
|
946
|
-
createdAt:
|
|
947
|
-
updatedAt:
|
|
928
|
+
createdBy: "15000449",
|
|
929
|
+
updatedBy: "15000449",
|
|
930
|
+
createdAt: "2022-03-23T07:42:05.226Z",
|
|
931
|
+
updatedAt: "2022-03-23T07:42:05.226Z",
|
|
948
932
|
totalCount: 10,
|
|
949
933
|
},
|
|
950
934
|
{
|
|
951
|
-
_id:
|
|
952
|
-
name:
|
|
953
|
-
type:
|
|
935
|
+
_id: "62388944a7e1a1e8fddfe97f",
|
|
936
|
+
name: "test_template_112",
|
|
937
|
+
type: "RCS",
|
|
954
938
|
versions: {
|
|
955
939
|
$init: true,
|
|
956
940
|
history: [],
|
|
@@ -958,60 +942,59 @@ export default {
|
|
|
958
942
|
content: {
|
|
959
943
|
RCS: {
|
|
960
944
|
smsFallBackContent: {
|
|
961
|
-
message:
|
|
945
|
+
message: "fallback message {{voucher(373913)}}",
|
|
962
946
|
templateConfigs: {
|
|
963
947
|
templateVariableMapping: {
|
|
964
|
-
|
|
948
|
+
"{#var#}_6": {
|
|
965
949
|
count: 3,
|
|
966
|
-
data:
|
|
950
|
+
data: "test22",
|
|
967
951
|
},
|
|
968
|
-
|
|
952
|
+
"{#var#}_1": {
|
|
969
953
|
count: 4,
|
|
970
|
-
data:
|
|
954
|
+
data: "test11",
|
|
971
955
|
},
|
|
972
956
|
},
|
|
973
|
-
registeredSenderIds: [
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
957
|
+
registeredSenderIds: [
|
|
958
|
+
"CPLRYT",
|
|
959
|
+
"CPLRY",
|
|
960
|
+
],
|
|
961
|
+
template: "Hi {#var#} enjoy 50% off at Celio. Capillary Tech.",
|
|
962
|
+
templateId: "template_whatever_id",
|
|
977
963
|
},
|
|
978
964
|
},
|
|
979
965
|
cardSettings: {
|
|
980
|
-
|
|
981
|
-
cardOrientation: 'VERTICAL',
|
|
966
|
+
cardOrientation: "VERTICAL",
|
|
982
967
|
},
|
|
983
|
-
cardType:
|
|
984
|
-
contentType:
|
|
968
|
+
cardType: "STANDALONE",
|
|
969
|
+
contentType: "RICHCARD",
|
|
985
970
|
cardContent: [
|
|
986
971
|
{
|
|
987
972
|
media: {
|
|
988
|
-
mediaUrl:
|
|
989
|
-
|
|
990
|
-
height: 'MEDIUM',
|
|
973
|
+
mediaUrl: "https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/e4a14f49-9e1d-4d96-b7d2-9768f0e.jpeg",
|
|
974
|
+
height: "MEDIUM",
|
|
991
975
|
},
|
|
992
|
-
mediaType:
|
|
993
|
-
description:
|
|
994
|
-
|
|
995
|
-
title: 'title',
|
|
976
|
+
mediaType: "NONE",
|
|
977
|
+
description: "Automatically sign in to sites and apps using stored credentials. If turned off, you'll be asked for confirmation every time before signing in to a site or app. Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.",
|
|
978
|
+
title: "title",
|
|
996
979
|
},
|
|
997
980
|
],
|
|
998
|
-
mediaType:
|
|
981
|
+
mediaType: "text",
|
|
999
982
|
},
|
|
1000
983
|
},
|
|
1001
984
|
},
|
|
1002
985
|
},
|
|
1003
986
|
isActive: true,
|
|
1004
987
|
orgId: 50146,
|
|
1005
|
-
createdBy:
|
|
1006
|
-
updatedBy:
|
|
1007
|
-
createdAt:
|
|
1008
|
-
updatedAt:
|
|
988
|
+
createdBy: "15000449",
|
|
989
|
+
updatedBy: "15000449",
|
|
990
|
+
createdAt: "2022-03-21T14:18:44.322Z",
|
|
991
|
+
updatedAt: "2022-03-21T14:18:44.322Z",
|
|
1009
992
|
totalCount: 10,
|
|
1010
993
|
},
|
|
1011
994
|
{
|
|
1012
|
-
_id:
|
|
1013
|
-
name:
|
|
1014
|
-
type:
|
|
995
|
+
_id: "623888aca7e1a16926dfe97d",
|
|
996
|
+
name: "test_template_111",
|
|
997
|
+
type: "RCS",
|
|
1015
998
|
versions: {
|
|
1016
999
|
$init: true,
|
|
1017
1000
|
history: [],
|
|
@@ -1019,134 +1002,118 @@ export default {
|
|
|
1019
1002
|
content: {
|
|
1020
1003
|
RCS: {
|
|
1021
1004
|
smsFallBackContent: {
|
|
1022
|
-
message:
|
|
1005
|
+
message: "fallback message {{voucher(373913)}}",
|
|
1023
1006
|
templateConfigs: {
|
|
1024
1007
|
templateVariableMapping: {
|
|
1025
|
-
|
|
1008
|
+
"{#var#}_6": {
|
|
1026
1009
|
count: 3,
|
|
1027
|
-
data:
|
|
1010
|
+
data: "test22",
|
|
1028
1011
|
},
|
|
1029
|
-
|
|
1012
|
+
"{#var#}_1": {
|
|
1030
1013
|
count: 4,
|
|
1031
|
-
data:
|
|
1014
|
+
data: "test11",
|
|
1032
1015
|
},
|
|
1033
1016
|
},
|
|
1034
|
-
registeredSenderIds: [
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1017
|
+
registeredSenderIds: [
|
|
1018
|
+
"CPLRYT",
|
|
1019
|
+
"CPLRY",
|
|
1020
|
+
],
|
|
1021
|
+
template: "Hi {#var#} enjoy 50% off at Celio. Capillary Tech.",
|
|
1022
|
+
templateId: "template_whatever_id",
|
|
1038
1023
|
},
|
|
1039
1024
|
},
|
|
1040
1025
|
cardSettings: {
|
|
1041
|
-
|
|
1042
|
-
cardOrientation: 'VERTICAL',
|
|
1026
|
+
cardOrientation: "VERTICAL",
|
|
1043
1027
|
},
|
|
1044
|
-
cardType:
|
|
1045
|
-
contentType:
|
|
1028
|
+
cardType: "STANDALONE",
|
|
1029
|
+
contentType: "RICHCARD",
|
|
1046
1030
|
cardContent: [
|
|
1047
1031
|
{
|
|
1048
1032
|
media: {
|
|
1049
|
-
mediaUrl:
|
|
1050
|
-
|
|
1051
|
-
height: 'MEDIUM',
|
|
1033
|
+
mediaUrl: "https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/c2c793b1-4740-47b6-819a-4310354d.jpg",
|
|
1034
|
+
height: "MEDIUM",
|
|
1052
1035
|
},
|
|
1053
|
-
mediaType:
|
|
1054
|
-
description:
|
|
1055
|
-
|
|
1056
|
-
title: 'title',
|
|
1036
|
+
mediaType: "NONE",
|
|
1037
|
+
description: "Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.",
|
|
1038
|
+
title: "title",
|
|
1057
1039
|
},
|
|
1058
1040
|
],
|
|
1059
|
-
mediaType:
|
|
1041
|
+
mediaType: "text",
|
|
1060
1042
|
},
|
|
1061
1043
|
},
|
|
1062
1044
|
},
|
|
1063
1045
|
},
|
|
1064
1046
|
isActive: true,
|
|
1065
1047
|
orgId: 50146,
|
|
1066
|
-
createdBy:
|
|
1067
|
-
updatedBy:
|
|
1068
|
-
createdAt:
|
|
1069
|
-
updatedAt:
|
|
1048
|
+
createdBy: "15000449",
|
|
1049
|
+
updatedBy: "15000449",
|
|
1050
|
+
createdAt: "2022-03-21T14:16:12.731Z",
|
|
1051
|
+
updatedAt: "2022-03-21T14:16:12.731Z",
|
|
1070
1052
|
totalCount: 10,
|
|
1071
1053
|
},
|
|
1072
1054
|
],
|
|
1073
1055
|
},
|
|
1074
1056
|
whatsappEditTemplateData: {
|
|
1075
|
-
mode:
|
|
1076
|
-
_id:
|
|
1077
|
-
modeType:
|
|
1078
|
-
whatsappTemplateName:
|
|
1079
|
-
whatsappTemplateCategory:
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
channel: 'WHATSAPP',
|
|
1057
|
+
mode: "edit",
|
|
1058
|
+
_id: "620e213d39bd394c58aeaaca",
|
|
1059
|
+
modeType: "",
|
|
1060
|
+
whatsappTemplateName: "amit123456",
|
|
1061
|
+
whatsappTemplateCategory: "ALERT_UPDATE",
|
|
1062
|
+
type: "WHATSAPP",
|
|
1063
|
+
channel: "WHATSAPP",
|
|
1083
1064
|
validity: true,
|
|
1084
1065
|
},
|
|
1085
1066
|
rcsEditTemplateData: {
|
|
1086
|
-
mode:
|
|
1087
|
-
_id:
|
|
1088
|
-
modeType:
|
|
1089
|
-
type:
|
|
1090
|
-
channel:
|
|
1067
|
+
mode: "edit",
|
|
1068
|
+
_id: "620e213d39bd394c58aeaaca",
|
|
1069
|
+
modeType: "",
|
|
1070
|
+
type: "RCS",
|
|
1071
|
+
channel: "RCS",
|
|
1091
1072
|
validity: true,
|
|
1092
1073
|
},
|
|
1093
|
-
getWhatsappContentOutput:
|
|
1094
|
-
getWhatsappStatusOutput: {
|
|
1095
|
-
key: 'approved',
|
|
1096
|
-
label: (
|
|
1097
|
-
<FormattedMessage
|
|
1098
|
-
defaultMessage="Approved"
|
|
1099
|
-
id="creatives.containersV2.Whatsapp.approved"
|
|
1100
|
-
values={{}}
|
|
1101
|
-
/>
|
|
1102
|
-
),
|
|
1103
|
-
value: 'approved',
|
|
1104
|
-
},
|
|
1074
|
+
getWhatsappContentOutput: "1234567890\nClick {{unsubscribe}} to unsubscribe",
|
|
1075
|
+
getWhatsappStatusOutput: {key: "approved", label: <FormattedMessage defaultMessage="Approved" id="creatives.containersV2.Whatsapp.approved" values={{}} />, value: "approved"},
|
|
1105
1076
|
getWhatsappCategoryOutput: {
|
|
1106
|
-
key:
|
|
1107
|
-
label:
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
values={{}}
|
|
1121
|
-
/>
|
|
1122
|
-
),
|
|
1123
|
-
value: 'ALERT_UPDATE',
|
|
1077
|
+
key: "alertUpdate",
|
|
1078
|
+
label: <FormattedMessage
|
|
1079
|
+
defaultMessage="Alert update"
|
|
1080
|
+
id="creatives.containersV2.Whatsapp.alertUpdate"
|
|
1081
|
+
values={{}}
|
|
1082
|
+
/>,
|
|
1083
|
+
tagColor: "#f2e7fe",
|
|
1084
|
+
tagTextColor: "#a451ff",
|
|
1085
|
+
tooltipLabel: <FormattedMessage
|
|
1086
|
+
defaultMessage="Send important updates or news to customers."
|
|
1087
|
+
id="creatives.containersV2.Whatsapp.alertUpdateTooltip"
|
|
1088
|
+
values={{}}
|
|
1089
|
+
/>,
|
|
1090
|
+
value: "ALERT_UPDATE",
|
|
1124
1091
|
},
|
|
1125
1092
|
whatsappPreviewTemplateData: {
|
|
1126
|
-
mode:
|
|
1127
|
-
_id:
|
|
1128
|
-
name:
|
|
1129
|
-
type:
|
|
1093
|
+
mode: "preview",
|
|
1094
|
+
_id: "620e213d39bd394c58aeaaca",
|
|
1095
|
+
name: "amit123456",
|
|
1096
|
+
type: "WHATSAPP",
|
|
1130
1097
|
versions: {
|
|
1131
1098
|
$init: true,
|
|
1132
1099
|
history: [],
|
|
1133
1100
|
base: {
|
|
1134
1101
|
content: {
|
|
1135
1102
|
whatsapp: {
|
|
1136
|
-
status:
|
|
1137
|
-
templateId:
|
|
1138
|
-
accountName:
|
|
1139
|
-
accessToken:
|
|
1140
|
-
accountId:
|
|
1141
|
-
templateEditor:
|
|
1142
|
-
mediaType:
|
|
1103
|
+
status: "approved",
|
|
1104
|
+
templateId: "HT5203cccf5b1e9e41f222fab6cd6c2754",
|
|
1105
|
+
accountName: "whatsappTest",
|
|
1106
|
+
accessToken: "4676323eb5d1f975b0987070c03a8efc",
|
|
1107
|
+
accountId: "AC41030cebba9e2f1ce37c78235da0ee18",
|
|
1108
|
+
templateEditor: "",
|
|
1109
|
+
mediaType: "TEXT",
|
|
1143
1110
|
languages: [
|
|
1144
1111
|
{
|
|
1145
|
-
content:
|
|
1146
|
-
language:
|
|
1112
|
+
content: "1234567890\nClick {{1}} to unsubscribe",
|
|
1113
|
+
language: "en",
|
|
1147
1114
|
},
|
|
1148
1115
|
],
|
|
1149
|
-
category:
|
|
1116
|
+
category: "ALERT_UPDATE",
|
|
1150
1117
|
rejection_reason: null,
|
|
1151
1118
|
},
|
|
1152
1119
|
},
|
|
@@ -1154,43 +1121,43 @@ export default {
|
|
|
1154
1121
|
},
|
|
1155
1122
|
isActive: true,
|
|
1156
1123
|
orgId: 50371,
|
|
1157
|
-
createdBy:
|
|
1158
|
-
updatedBy:
|
|
1159
|
-
createdAt:
|
|
1160
|
-
updatedAt:
|
|
1124
|
+
createdBy: "15000449",
|
|
1125
|
+
updatedBy: "15000449",
|
|
1126
|
+
createdAt: "2022-02-17T10:19:42.211Z",
|
|
1127
|
+
updatedAt: "2022-02-17T10:19:42.211Z",
|
|
1161
1128
|
totalCount: 12,
|
|
1162
|
-
updatedByName:
|
|
1129
|
+
updatedByName: "Ashish Karan fd",
|
|
1163
1130
|
},
|
|
1164
1131
|
rcsPreviewTemplateData: {
|
|
1165
|
-
mode:
|
|
1166
|
-
_id:
|
|
1167
|
-
name:
|
|
1168
|
-
type:
|
|
1132
|
+
mode: "preview",
|
|
1133
|
+
_id: "620e213d39bd394c58aeaaca",
|
|
1134
|
+
name: "amit123456",
|
|
1135
|
+
type: "RCS",
|
|
1169
1136
|
versions: {
|
|
1170
1137
|
$init: true,
|
|
1171
1138
|
history: [],
|
|
1172
1139
|
base: {
|
|
1173
1140
|
content: {
|
|
1141
|
+
|
|
1174
1142
|
RCS: {
|
|
1175
1143
|
cardContent: [
|
|
1176
1144
|
{
|
|
1177
|
-
title:
|
|
1178
|
-
description:
|
|
1179
|
-
mediaType:
|
|
1145
|
+
title: "title",
|
|
1146
|
+
description: "Desc",
|
|
1147
|
+
mediaType: "NONE",
|
|
1180
1148
|
media: {
|
|
1181
|
-
mediaUrl:
|
|
1182
|
-
height:
|
|
1149
|
+
mediaUrl: "",
|
|
1150
|
+
height: "MEDIUM",
|
|
1183
1151
|
},
|
|
1184
1152
|
},
|
|
1185
1153
|
],
|
|
1186
1154
|
cardSettings: {
|
|
1187
|
-
cardOrientation:
|
|
1188
|
-
mediaAlignment: 'RIGHT',
|
|
1155
|
+
cardOrientation: "VERTICAL",
|
|
1189
1156
|
},
|
|
1190
|
-
cardType:
|
|
1191
|
-
contentType:
|
|
1157
|
+
cardType: "STANDALONE",
|
|
1158
|
+
contentType: "RICHCARD",
|
|
1192
1159
|
smsFallBackContent: {
|
|
1193
|
-
message:
|
|
1160
|
+
message: "123",
|
|
1194
1161
|
},
|
|
1195
1162
|
},
|
|
1196
1163
|
},
|
|
@@ -1198,20 +1165,12 @@ export default {
|
|
|
1198
1165
|
},
|
|
1199
1166
|
isActive: true,
|
|
1200
1167
|
orgId: 50371,
|
|
1201
|
-
createdBy:
|
|
1202
|
-
updatedBy:
|
|
1203
|
-
createdAt:
|
|
1204
|
-
updatedAt:
|
|
1168
|
+
createdBy: "15000449",
|
|
1169
|
+
updatedBy: "15000449",
|
|
1170
|
+
createdAt: "2022-02-17T10:19:42.211Z",
|
|
1171
|
+
updatedAt: "2022-02-17T10:19:42.211Z",
|
|
1205
1172
|
totalCount: 12,
|
|
1206
|
-
updatedByName:
|
|
1207
|
-
},
|
|
1208
|
-
getCreativesParamsOutput: {
|
|
1209
|
-
_id: undefined,
|
|
1210
|
-
account: undefined,
|
|
1211
|
-
mode: 'edit',
|
|
1212
|
-
modeType: undefined,
|
|
1213
|
-
type: 'WHATSAPP',
|
|
1214
|
-
whatsappTemplateCategory: '',
|
|
1215
|
-
whatsappTemplateName: '',
|
|
1173
|
+
updatedByName: "Ashish Karan fd",
|
|
1216
1174
|
},
|
|
1217
|
-
}
|
|
1175
|
+
getCreativesParamsOutput: {_id: undefined, account: undefined, mode: "edit", modeType: undefined, type: "WHATSAPP", whatsappTemplateCategory: "", whatsappTemplateName: ""},
|
|
1176
|
+
};
|