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