@capillarytech/creatives-library 7.17.35 → 7.17.36
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/Templates/actions.js +0 -5
- package/index.js +6 -0
- package/package.json +1 -1
- package/routes.js +5 -0
- package/services/api.js +6 -1
- package/v2Components/WhatsappStatusContainer/_whatsappStatusContainer.scss +2 -1
- package/v2Containers/App/constants.js +1 -0
- package/v2Containers/CreativesContainer/SlideBoxContent.js +13 -0
- package/v2Containers/CreativesContainer/SlideBoxHeader.js +9 -6
- package/v2Containers/CreativesContainer/constants.js +1 -0
- package/v2Containers/CreativesContainer/index.scss +3 -0
- package/v2Containers/CreativesContainer/messages.js +8 -0
- package/v2Containers/CreativesContainer/tests/SlideBoxHeader.test.js +6 -1
- package/v2Containers/CreativesContainer/tests/__snapshots__/SlideBoxHeader.test.js.snap +58 -0
- package/v2Containers/Line/Container/Wrapper/tests/__snapshots__/index.test.js.snap +18114 -88
- package/v2Containers/Templates/_templates.scss +20 -2
- package/v2Containers/Templates/actions.js +4 -3
- package/v2Containers/Templates/constants.js +2 -1
- package/v2Containers/Templates/index.js +319 -120
- package/v2Containers/Templates/messages.js +28 -8
- package/v2Containers/Templates/reducer.js +3 -1
- package/v2Containers/Templates/sagas.js +2 -2
- package/v2Containers/Templates/tests/__snapshots__/index.test.js.snap +724 -43
- package/v2Containers/Templates/tests/actions.test.js +18 -0
- package/v2Containers/Templates/tests/index.test.js +52 -1
- package/v2Containers/Templates/tests/mockData.js +41 -1
- package/v2Containers/Templates/tests/reducer.test.js +50 -0
- package/v2Containers/Templates/tests/sagas.test.js +40 -2
- package/v2Containers/Templates/tests/selector.test.js +17 -0
- package/v2Containers/TemplatesV2/index.js +2 -2
- package/v2Containers/TemplatesV2/messages.js +4 -0
- package/v2Containers/Zalo/actions.js +17 -0
- package/v2Containers/Zalo/constants.js +57 -0
- package/v2Containers/Zalo/index.js +391 -0
- package/v2Containers/Zalo/index.scss +76 -0
- package/v2Containers/Zalo/messages.js +74 -0
- package/v2Containers/Zalo/reducer.js +57 -0
- package/v2Containers/Zalo/saga.js +35 -0
- package/v2Containers/Zalo/selectors.js +14 -0
- package/v2Containers/Zalo/tests/actions.test.js +20 -0
- package/v2Containers/Zalo/tests/index.test.js +127 -0
- package/v2Containers/Zalo/tests/mockData.js +11470 -0
- package/v2Containers/Zalo/tests/reducer.test.js +85 -0
- package/v2Containers/Zalo/tests/saga.test.js +115 -0
- package/v2Containers/Zalo/tests/selectors.test.js +52 -0
- package/v2Containers/mockdata.js +817 -680
package/v2Containers/mockdata.js
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { FormattedMessage } from
|
|
3
|
-
import { CapImage, CapLabel } from
|
|
4
|
-
import pdfIcon from
|
|
5
|
-
import messages from
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { FormattedMessage } from "react-intl";
|
|
3
|
+
import { CapImage, CapLabel } from "@capillarytech/cap-ui-library";
|
|
4
|
+
import pdfIcon from "../assets/pdfIcon.svg";
|
|
5
|
+
import messages from "./Whatsapp/messages";
|
|
6
6
|
|
|
7
7
|
export default {
|
|
8
8
|
whatsappTemplates: {
|
|
9
9
|
selectedWhatsappAccount: {
|
|
10
|
-
sourceTypeName:
|
|
11
|
-
name:
|
|
10
|
+
sourceTypeName: "WHATSAPP",
|
|
11
|
+
name: "WhatsappAccount",
|
|
12
12
|
isActive: true,
|
|
13
13
|
sourceTypeId: 19,
|
|
14
14
|
configs: {
|
|
15
|
-
accessToken:
|
|
16
|
-
promotionalMessagingSSID:
|
|
17
|
-
transactionalMessagingSSID:
|
|
15
|
+
accessToken: "Bearer gDwEuRIm9icV6phixociSw==",
|
|
16
|
+
promotionalMessagingSSID: "",
|
|
17
|
+
transactionalMessagingSSID: "",
|
|
18
18
|
},
|
|
19
|
-
hostName:
|
|
19
|
+
hostName: "karixwhatsappbulk",
|
|
20
20
|
toMirror: true,
|
|
21
21
|
id: 12721,
|
|
22
|
-
uuid:
|
|
23
|
-
sourceAccountIdentifier:
|
|
24
|
-
commChannels: [
|
|
22
|
+
uuid: "93c52a35824a4bea8650d7d0232b2e3c",
|
|
23
|
+
sourceAccountIdentifier: "107499611940863",
|
|
24
|
+
commChannels: ["whatsapp"],
|
|
25
25
|
},
|
|
26
26
|
getAllTemplatesInProgress: false,
|
|
27
27
|
weCrmAccountFetchingError: false,
|
|
28
28
|
weCRMtemplates: [],
|
|
29
29
|
senderDetails: {
|
|
30
|
-
status:
|
|
31
|
-
hostName:
|
|
30
|
+
status: "SUCCESS",
|
|
31
|
+
hostName: "karixwhatsappbulk",
|
|
32
32
|
errors: [],
|
|
33
33
|
},
|
|
34
34
|
templateError: {},
|
|
@@ -37,291 +37,291 @@ export default {
|
|
|
37
37
|
isSearch: false,
|
|
38
38
|
weCrmAccounts: [
|
|
39
39
|
{
|
|
40
|
-
sourceTypeName:
|
|
41
|
-
name:
|
|
40
|
+
sourceTypeName: "WHATSAPP",
|
|
41
|
+
name: "WhatsappAccount",
|
|
42
42
|
isActive: true,
|
|
43
43
|
sourceTypeId: 19,
|
|
44
44
|
configs: {
|
|
45
|
-
accessToken:
|
|
46
|
-
promotionalMessagingSSID:
|
|
47
|
-
transactionalMessagingSSID:
|
|
45
|
+
accessToken: "Bearer gDwEuRIm9icV6phixociSw==",
|
|
46
|
+
promotionalMessagingSSID: "",
|
|
47
|
+
transactionalMessagingSSID: "",
|
|
48
48
|
},
|
|
49
49
|
toMirror: true,
|
|
50
50
|
id: 12721,
|
|
51
|
-
uuid:
|
|
52
|
-
sourceAccountIdentifier:
|
|
53
|
-
commChannels: [
|
|
51
|
+
uuid: "93c52a35824a4bea8650d7d0232b2e3c",
|
|
52
|
+
sourceAccountIdentifier: "107499611940863",
|
|
53
|
+
commChannels: ["whatsapp"],
|
|
54
54
|
},
|
|
55
55
|
],
|
|
56
56
|
userListFetchError: false,
|
|
57
57
|
templates: [
|
|
58
58
|
{
|
|
59
|
-
_id:
|
|
60
|
-
name:
|
|
61
|
-
type:
|
|
59
|
+
_id: "62d3f971b497b671d3bbf8f7",
|
|
60
|
+
name: "creatives_whatsapp6",
|
|
61
|
+
type: "WHATSAPP",
|
|
62
62
|
versions: {
|
|
63
63
|
$init: true,
|
|
64
64
|
history: [],
|
|
65
65
|
base: {
|
|
66
66
|
content: {
|
|
67
67
|
whatsapp: {
|
|
68
|
-
status:
|
|
69
|
-
templateId:
|
|
70
|
-
hostName:
|
|
71
|
-
accessToken:
|
|
72
|
-
accountId:
|
|
68
|
+
status: "pending",
|
|
69
|
+
templateId: "720951875646523",
|
|
70
|
+
hostName: "karixwhatsappbulk",
|
|
71
|
+
accessToken: "Bearer gDwEuRIm9icV6phixociSw==",
|
|
72
|
+
accountId: "107499611940863",
|
|
73
73
|
templateEditor: false,
|
|
74
74
|
karixFileHandle:
|
|
75
|
-
|
|
75
|
+
"4::aW1hZ2UvanBlZw==:ARZpmm0pMfsBvKepIjR-HG2HIw_78ynisr-riY1s4xpi2noK9QsvtvVfnZb5hUxks5HM5JHG0gCn_ZtPuJzya1SH3eq4Upn3M0eqsDLr4CzdPw:e:1658404714:259409122277300:100066839164237:ARbbCRjU-2ksqoUOp4Y",
|
|
76
76
|
imageUrl:
|
|
77
|
-
|
|
78
|
-
mediaType:
|
|
77
|
+
"https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/c9edc114-923b-4ac7-82d0-d6682213.jpg",
|
|
78
|
+
mediaType: "IMAGE",
|
|
79
79
|
buttons: [
|
|
80
80
|
{
|
|
81
|
-
phone_number:
|
|
82
|
-
text:
|
|
83
|
-
type:
|
|
81
|
+
phone_number: "+919738752617",
|
|
82
|
+
text: "Call",
|
|
83
|
+
type: "PHONE_NUMBER",
|
|
84
84
|
index: 0,
|
|
85
85
|
},
|
|
86
86
|
{
|
|
87
|
-
url:
|
|
88
|
-
text:
|
|
89
|
-
type:
|
|
87
|
+
url: "https://docs.google.com/{{1}}",
|
|
88
|
+
text: "Visit",
|
|
89
|
+
type: "DYNAMIC_URL",
|
|
90
90
|
index: 1,
|
|
91
91
|
},
|
|
92
92
|
],
|
|
93
|
-
buttonType:
|
|
93
|
+
buttonType: "CTA",
|
|
94
94
|
languages: [
|
|
95
95
|
{
|
|
96
96
|
content:
|
|
97
|
-
|
|
98
|
-
language:
|
|
97
|
+
"Hey {{1}}, Easier implementation, tracking, reporting and planning of promotions is now live! Check it out at {{2}}\nClick {{3}} to unsubscribe",
|
|
98
|
+
language: "en",
|
|
99
99
|
},
|
|
100
100
|
],
|
|
101
|
-
category:
|
|
101
|
+
category: "MARKETING",
|
|
102
102
|
},
|
|
103
103
|
},
|
|
104
104
|
},
|
|
105
105
|
},
|
|
106
106
|
isActive: true,
|
|
107
107
|
orgId: 50074,
|
|
108
|
-
createdBy:
|
|
109
|
-
updatedBy:
|
|
110
|
-
createdAt:
|
|
111
|
-
updatedAt:
|
|
108
|
+
createdBy: "15000449",
|
|
109
|
+
updatedBy: "15000449",
|
|
110
|
+
createdAt: "2022-07-17T11:58:45.592Z",
|
|
111
|
+
updatedAt: "2022-07-17T11:58:45.592Z",
|
|
112
112
|
totalCount: 6,
|
|
113
113
|
},
|
|
114
114
|
{
|
|
115
|
-
_id:
|
|
116
|
-
name:
|
|
117
|
-
type:
|
|
115
|
+
_id: "62d3f8edb497b63156bbf8f5",
|
|
116
|
+
name: "creatives_whatsapp5",
|
|
117
|
+
type: "WHATSAPP",
|
|
118
118
|
versions: {
|
|
119
119
|
$init: true,
|
|
120
120
|
history: [],
|
|
121
121
|
base: {
|
|
122
122
|
content: {
|
|
123
123
|
whatsapp: {
|
|
124
|
-
status:
|
|
125
|
-
templateId:
|
|
126
|
-
hostName:
|
|
127
|
-
accessToken:
|
|
128
|
-
accountId:
|
|
124
|
+
status: "pending",
|
|
125
|
+
templateId: "4916570121786087",
|
|
126
|
+
hostName: "karixwhatsappbulk",
|
|
127
|
+
accessToken: "Bearer gDwEuRIm9icV6phixociSw==",
|
|
128
|
+
accountId: "107499611940863",
|
|
129
129
|
templateEditor: false,
|
|
130
130
|
karixFileHandle:
|
|
131
|
-
|
|
131
|
+
"4::aW1hZ2UvanBlZw==:ARY0H4Z85fo_TTfmAYJpqpnSbBlE3VaIYyr9S_Exg7GV_EhOo-30AVAoe35d0ZH8Cx5ZaJ3U2RovzzqVHPUnMK_7wFY7RNngsTwWc4vnZ7bMoA:e:1658404539:259409122277300:100066839164237:ARaPlACD4a5lw9Wp4X4",
|
|
132
132
|
imageUrl:
|
|
133
|
-
|
|
134
|
-
mediaType:
|
|
133
|
+
"https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/6aca6ada-2378-4b81-974c-a8537bbc.jpg",
|
|
134
|
+
mediaType: "IMAGE",
|
|
135
135
|
buttons: [
|
|
136
136
|
{
|
|
137
|
-
url:
|
|
138
|
-
text:
|
|
139
|
-
type:
|
|
137
|
+
url: "https://docs.google.com/{{1}}",
|
|
138
|
+
text: "ಹೆಚ್ಚಿನ ಮಾಹಿತಿ",
|
|
139
|
+
type: "DYNAMIC_URL",
|
|
140
140
|
index: 0,
|
|
141
141
|
},
|
|
142
142
|
],
|
|
143
|
-
buttonType:
|
|
143
|
+
buttonType: "CTA",
|
|
144
144
|
languages: [
|
|
145
145
|
{
|
|
146
|
-
content:
|
|
147
|
-
language:
|
|
146
|
+
content: "ಪಾವತಿ ಯಶಸ್ವಿಯಾಗಿದೆ 👍",
|
|
147
|
+
language: "kn",
|
|
148
148
|
},
|
|
149
149
|
],
|
|
150
|
-
category:
|
|
150
|
+
category: "MARKETING",
|
|
151
151
|
},
|
|
152
152
|
},
|
|
153
153
|
},
|
|
154
154
|
},
|
|
155
155
|
isActive: true,
|
|
156
156
|
orgId: 50074,
|
|
157
|
-
createdBy:
|
|
158
|
-
updatedBy:
|
|
159
|
-
createdAt:
|
|
160
|
-
updatedAt:
|
|
157
|
+
createdBy: "15000449",
|
|
158
|
+
updatedBy: "15000449",
|
|
159
|
+
createdAt: "2022-07-17T11:56:33.707Z",
|
|
160
|
+
updatedAt: "2022-07-17T11:56:33.707Z",
|
|
161
161
|
totalCount: 6,
|
|
162
162
|
},
|
|
163
163
|
{
|
|
164
|
-
_id:
|
|
165
|
-
name:
|
|
166
|
-
type:
|
|
164
|
+
_id: "62d3f896b497b69acbbbf8f3",
|
|
165
|
+
name: "creatives_whatsapp4",
|
|
166
|
+
type: "WHATSAPP",
|
|
167
167
|
versions: {
|
|
168
168
|
$init: true,
|
|
169
169
|
history: [],
|
|
170
170
|
base: {
|
|
171
171
|
content: {
|
|
172
172
|
whatsapp: {
|
|
173
|
-
status:
|
|
174
|
-
templateId:
|
|
175
|
-
hostName:
|
|
176
|
-
accessToken:
|
|
177
|
-
accountId:
|
|
173
|
+
status: "pending",
|
|
174
|
+
templateId: "732848961277130",
|
|
175
|
+
hostName: "karixwhatsappbulk",
|
|
176
|
+
accessToken: "Bearer gDwEuRIm9icV6phixociSw==",
|
|
177
|
+
accountId: "107499611940863",
|
|
178
178
|
templateEditor: false,
|
|
179
179
|
karixFileHandle:
|
|
180
|
-
|
|
180
|
+
"4::aW1hZ2UvanBlZw==:ARYfsmvPHCeI0Q3ixfzpZ3gOIoYjrkx6STalsi58_twFIqB5rvPKsKPH7yL_eXMfbmXGq_X0qiLrL7FaSSFq_uzudytfoOj9Oh5ueb1uUV367A:e:1658404470:259409122277300:100066839164237:ARaaojq13hSRpe7h0Tw",
|
|
181
181
|
imageUrl:
|
|
182
|
-
|
|
183
|
-
mediaType:
|
|
182
|
+
"https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/ec28477c-a5b6-4198-872e-1b135c1b.jpg",
|
|
183
|
+
mediaType: "IMAGE",
|
|
184
184
|
buttons: [
|
|
185
185
|
{
|
|
186
|
-
phone_number:
|
|
187
|
-
text:
|
|
188
|
-
type:
|
|
186
|
+
phone_number: "+919738752617",
|
|
187
|
+
text: "Call",
|
|
188
|
+
type: "PHONE_NUMBER",
|
|
189
189
|
index: 0,
|
|
190
190
|
},
|
|
191
191
|
],
|
|
192
|
-
buttonType:
|
|
192
|
+
buttonType: "CTA",
|
|
193
193
|
languages: [
|
|
194
194
|
{
|
|
195
195
|
content:
|
|
196
|
-
|
|
197
|
-
language:
|
|
196
|
+
"Hi {{1}}, Easier implementation, tracking, reporting and planning of promotions is now live! \nClick {{2}} to unsubscribe",
|
|
197
|
+
language: "en",
|
|
198
198
|
},
|
|
199
199
|
],
|
|
200
|
-
category:
|
|
200
|
+
category: "MARKETING",
|
|
201
201
|
},
|
|
202
202
|
},
|
|
203
203
|
},
|
|
204
204
|
},
|
|
205
205
|
isActive: true,
|
|
206
206
|
orgId: 50074,
|
|
207
|
-
createdBy:
|
|
208
|
-
updatedBy:
|
|
209
|
-
createdAt:
|
|
210
|
-
updatedAt:
|
|
207
|
+
createdBy: "15000449",
|
|
208
|
+
updatedBy: "15000449",
|
|
209
|
+
createdAt: "2022-07-17T11:55:06.955Z",
|
|
210
|
+
updatedAt: "2022-07-17T11:55:06.955Z",
|
|
211
211
|
totalCount: 6,
|
|
212
212
|
},
|
|
213
213
|
{
|
|
214
|
-
_id:
|
|
215
|
-
name:
|
|
216
|
-
type:
|
|
214
|
+
_id: "62d3f858b497b63540bbf8f1",
|
|
215
|
+
name: "creatives_whatsapp3",
|
|
216
|
+
type: "WHATSAPP",
|
|
217
217
|
versions: {
|
|
218
218
|
$init: true,
|
|
219
219
|
history: [],
|
|
220
220
|
base: {
|
|
221
221
|
content: {
|
|
222
222
|
whatsapp: {
|
|
223
|
-
status:
|
|
224
|
-
templateId:
|
|
225
|
-
hostName:
|
|
226
|
-
accessToken:
|
|
227
|
-
accountId:
|
|
223
|
+
status: "pending",
|
|
224
|
+
templateId: "993272384701160",
|
|
225
|
+
hostName: "karixwhatsappbulk",
|
|
226
|
+
accessToken: "Bearer gDwEuRIm9icV6phixociSw==",
|
|
227
|
+
accountId: "107499611940863",
|
|
228
228
|
templateEditor: false,
|
|
229
229
|
karixFileHandle:
|
|
230
|
-
|
|
230
|
+
"4::aW1hZ2UvanBlZw==:ARa6WKa8LHjcJf2DBWokWtAvxkowam2zBaUJvEwxyWH2EamzQv7-GlX7bsf6IKkdWKLAATpfo_vkAgQ8mWLf2wvVNEVBmPWk3yyrWDnVI44_9A:e:1658404412:259409122277300:100066839164237:ARYyRilqCb6hSKHtjYQ",
|
|
231
231
|
imageUrl:
|
|
232
|
-
|
|
233
|
-
mediaType:
|
|
232
|
+
"https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/8ba834e6-a8f5-4710-a0e6-f402e911.jpg",
|
|
233
|
+
mediaType: "IMAGE",
|
|
234
234
|
languages: [
|
|
235
235
|
{
|
|
236
236
|
content:
|
|
237
|
-
|
|
238
|
-
language:
|
|
237
|
+
"Hey {{1}}, Easier implementation, tracking, reporting and planning of promotions is now live!",
|
|
238
|
+
language: "en",
|
|
239
239
|
},
|
|
240
240
|
],
|
|
241
|
-
category:
|
|
241
|
+
category: "MARKETING",
|
|
242
242
|
},
|
|
243
243
|
},
|
|
244
244
|
},
|
|
245
245
|
},
|
|
246
246
|
isActive: true,
|
|
247
247
|
orgId: 50074,
|
|
248
|
-
createdBy:
|
|
249
|
-
updatedBy:
|
|
250
|
-
createdAt:
|
|
251
|
-
updatedAt:
|
|
248
|
+
createdBy: "15000449",
|
|
249
|
+
updatedBy: "15000449",
|
|
250
|
+
createdAt: "2022-07-17T11:54:04.926Z",
|
|
251
|
+
updatedAt: "2022-07-17T11:54:04.926Z",
|
|
252
252
|
totalCount: 6,
|
|
253
253
|
},
|
|
254
254
|
{
|
|
255
|
-
_id:
|
|
256
|
-
name:
|
|
257
|
-
type:
|
|
255
|
+
_id: "62d3f7fbb497b63864bbf8ef",
|
|
256
|
+
name: "creatives_whatsapp2",
|
|
257
|
+
type: "WHATSAPP",
|
|
258
258
|
versions: {
|
|
259
259
|
$init: true,
|
|
260
260
|
history: [],
|
|
261
261
|
base: {
|
|
262
262
|
content: {
|
|
263
263
|
whatsapp: {
|
|
264
|
-
status:
|
|
265
|
-
templateId:
|
|
266
|
-
hostName:
|
|
267
|
-
accessToken:
|
|
268
|
-
accountId:
|
|
264
|
+
status: "pending",
|
|
265
|
+
templateId: "1838206886365227",
|
|
266
|
+
hostName: "karixwhatsappbulk",
|
|
267
|
+
accessToken: "Bearer gDwEuRIm9icV6phixociSw==",
|
|
268
|
+
accountId: "107499611940863",
|
|
269
269
|
templateEditor: false,
|
|
270
|
-
mediaType:
|
|
270
|
+
mediaType: "TEXT",
|
|
271
271
|
languages: [
|
|
272
272
|
{
|
|
273
273
|
content:
|
|
274
|
-
|
|
275
|
-
language:
|
|
274
|
+
"Hi {{1}}, best offer {{2}} for you.\nClick {{3}} to unsubscribe",
|
|
275
|
+
language: "en",
|
|
276
276
|
},
|
|
277
277
|
],
|
|
278
|
-
category:
|
|
278
|
+
category: "TRANSACTIONAL",
|
|
279
279
|
},
|
|
280
280
|
},
|
|
281
281
|
},
|
|
282
282
|
},
|
|
283
283
|
isActive: true,
|
|
284
284
|
orgId: 50074,
|
|
285
|
-
createdBy:
|
|
286
|
-
updatedBy:
|
|
287
|
-
createdAt:
|
|
288
|
-
updatedAt:
|
|
285
|
+
createdBy: "15000449",
|
|
286
|
+
updatedBy: "15000449",
|
|
287
|
+
createdAt: "2022-07-17T11:52:30.210Z",
|
|
288
|
+
updatedAt: "2022-07-17T11:52:30.210Z",
|
|
289
289
|
totalCount: 6,
|
|
290
290
|
},
|
|
291
291
|
{
|
|
292
|
-
_id:
|
|
293
|
-
name:
|
|
294
|
-
type:
|
|
292
|
+
_id: "62d3f6afb497b651eabbf8ee",
|
|
293
|
+
name: "creatives_whatsapp1",
|
|
294
|
+
type: "WHATSAPP",
|
|
295
295
|
versions: {
|
|
296
296
|
$init: true,
|
|
297
297
|
history: [],
|
|
298
298
|
base: {
|
|
299
299
|
content: {
|
|
300
300
|
whatsapp: {
|
|
301
|
-
status:
|
|
302
|
-
templateId:
|
|
303
|
-
hostName:
|
|
304
|
-
accessToken:
|
|
305
|
-
accountId:
|
|
301
|
+
status: "pending",
|
|
302
|
+
templateId: "412858944197174",
|
|
303
|
+
hostName: "karixwhatsappbulk",
|
|
304
|
+
accessToken: "Bearer gDwEuRIm9icV6phixociSw==",
|
|
305
|
+
accountId: "107499611940863",
|
|
306
306
|
templateEditor: false,
|
|
307
|
-
mediaType:
|
|
307
|
+
mediaType: "TEXT",
|
|
308
308
|
languages: [
|
|
309
309
|
{
|
|
310
|
-
content:
|
|
311
|
-
language:
|
|
310
|
+
content: "Hi {{1}}, best offer {{2}} for you.",
|
|
311
|
+
language: "en",
|
|
312
312
|
},
|
|
313
313
|
],
|
|
314
|
-
category:
|
|
314
|
+
category: "TRANSACTIONAL",
|
|
315
315
|
},
|
|
316
316
|
},
|
|
317
317
|
},
|
|
318
318
|
},
|
|
319
319
|
isActive: true,
|
|
320
320
|
orgId: 50074,
|
|
321
|
-
createdBy:
|
|
322
|
-
updatedBy:
|
|
323
|
-
createdAt:
|
|
324
|
-
updatedAt:
|
|
321
|
+
createdBy: "15000449",
|
|
322
|
+
updatedBy: "15000449",
|
|
323
|
+
createdAt: "2022-07-17T11:46:57.973Z",
|
|
324
|
+
updatedAt: "2022-07-17T11:46:57.973Z",
|
|
325
325
|
totalCount: 6,
|
|
326
326
|
},
|
|
327
327
|
],
|
|
@@ -334,11 +334,11 @@ export default {
|
|
|
334
334
|
orgUsers: [
|
|
335
335
|
{
|
|
336
336
|
userId: 50012994,
|
|
337
|
-
firstName:
|
|
338
|
-
lastName:
|
|
339
|
-
loginName:
|
|
340
|
-
email:
|
|
341
|
-
mobile:
|
|
337
|
+
firstName: "firstUser",
|
|
338
|
+
lastName: "",
|
|
339
|
+
loginName: "firstUser@capillarytech.com",
|
|
340
|
+
email: "firstUser@capillarytech.com",
|
|
341
|
+
mobile: "918888802132",
|
|
342
342
|
isMobileValidated: 0,
|
|
343
343
|
isEmailValidated: 0,
|
|
344
344
|
},
|
|
@@ -346,11 +346,11 @@ export default {
|
|
|
346
346
|
capUsers: [
|
|
347
347
|
{
|
|
348
348
|
userId: 15000449,
|
|
349
|
-
firstName:
|
|
350
|
-
lastName:
|
|
351
|
-
loginName:
|
|
352
|
-
email:
|
|
353
|
-
mobile:
|
|
349
|
+
firstName: "Ashish",
|
|
350
|
+
lastName: "Karan fd",
|
|
351
|
+
loginName: "cap@coin.com",
|
|
352
|
+
email: "cap@coin.com",
|
|
353
|
+
mobile: "919957676767",
|
|
354
354
|
isMobileValidated: 1,
|
|
355
355
|
isEmailValidated: 1,
|
|
356
356
|
},
|
|
@@ -363,9 +363,9 @@ export default {
|
|
|
363
363
|
userListFetchError: false,
|
|
364
364
|
templates: [
|
|
365
365
|
{
|
|
366
|
-
_id:
|
|
367
|
-
name:
|
|
368
|
-
type:
|
|
366
|
+
_id: "623c39e970387f3cf5f8fd70",
|
|
367
|
+
name: "testtest",
|
|
368
|
+
type: "RCS",
|
|
369
369
|
versions: {
|
|
370
370
|
$init: true,
|
|
371
371
|
history: [],
|
|
@@ -374,22 +374,22 @@ export default {
|
|
|
374
374
|
RCS: {
|
|
375
375
|
cardContent: [
|
|
376
376
|
{
|
|
377
|
-
title:
|
|
378
|
-
description:
|
|
379
|
-
mediaType:
|
|
377
|
+
title: "title",
|
|
378
|
+
description: "Desc",
|
|
379
|
+
mediaType: "NONE",
|
|
380
380
|
media: {
|
|
381
|
-
mediaUrl:
|
|
382
|
-
height:
|
|
381
|
+
mediaUrl: "",
|
|
382
|
+
height: "MEDIUM",
|
|
383
383
|
},
|
|
384
384
|
},
|
|
385
385
|
],
|
|
386
386
|
cardSettings: {
|
|
387
|
-
cardOrientation:
|
|
387
|
+
cardOrientation: "VERTICAL",
|
|
388
388
|
},
|
|
389
|
-
cardType:
|
|
390
|
-
contentType:
|
|
389
|
+
cardType: "STANDALONE",
|
|
390
|
+
contentType: "RICHCARD",
|
|
391
391
|
smsFallBackContent: {
|
|
392
|
-
message:
|
|
392
|
+
message: "123",
|
|
393
393
|
},
|
|
394
394
|
},
|
|
395
395
|
},
|
|
@@ -397,16 +397,16 @@ export default {
|
|
|
397
397
|
},
|
|
398
398
|
isActive: true,
|
|
399
399
|
orgId: 50146,
|
|
400
|
-
createdBy:
|
|
401
|
-
updatedBy:
|
|
402
|
-
createdAt:
|
|
403
|
-
updatedAt:
|
|
400
|
+
createdBy: "15000449",
|
|
401
|
+
updatedBy: "15000449",
|
|
402
|
+
createdAt: "2022-03-24T09:29:13.376Z",
|
|
403
|
+
updatedAt: "2022-03-29T11:15:53.175Z",
|
|
404
404
|
totalCount: 10,
|
|
405
405
|
},
|
|
406
406
|
{
|
|
407
|
-
_id:
|
|
408
|
-
name:
|
|
409
|
-
type:
|
|
407
|
+
_id: "623c3e0a70387fa8dcf8fd75",
|
|
408
|
+
name: "creative",
|
|
409
|
+
type: "RCS",
|
|
410
410
|
versions: {
|
|
411
411
|
$init: true,
|
|
412
412
|
history: [],
|
|
@@ -414,22 +414,22 @@ export default {
|
|
|
414
414
|
content: {
|
|
415
415
|
RCS: {
|
|
416
416
|
smsFallBackContent: {
|
|
417
|
-
message:
|
|
417
|
+
message: "fallback {{optout}}",
|
|
418
418
|
},
|
|
419
|
-
contentType:
|
|
420
|
-
cardType:
|
|
419
|
+
contentType: "RICHCARD",
|
|
420
|
+
cardType: "STANDALONE",
|
|
421
421
|
cardSettings: {
|
|
422
|
-
cardOrientation:
|
|
422
|
+
cardOrientation: "VERTICAL",
|
|
423
423
|
},
|
|
424
424
|
cardContent: [
|
|
425
425
|
{
|
|
426
426
|
media: {
|
|
427
|
-
height:
|
|
428
|
-
mediaUrl:
|
|
427
|
+
height: "MEDIUM",
|
|
428
|
+
mediaUrl: "",
|
|
429
429
|
},
|
|
430
|
-
mediaType:
|
|
431
|
-
description:
|
|
432
|
-
title:
|
|
430
|
+
mediaType: "NONE",
|
|
431
|
+
description: "desc {{store_name}}",
|
|
432
|
+
title: "title",
|
|
433
433
|
},
|
|
434
434
|
],
|
|
435
435
|
},
|
|
@@ -438,16 +438,16 @@ export default {
|
|
|
438
438
|
},
|
|
439
439
|
isActive: true,
|
|
440
440
|
orgId: 50146,
|
|
441
|
-
createdBy:
|
|
442
|
-
updatedBy:
|
|
443
|
-
createdAt:
|
|
444
|
-
updatedAt:
|
|
441
|
+
createdBy: "15000449",
|
|
442
|
+
updatedBy: "15000449",
|
|
443
|
+
createdAt: "2022-03-24T09:46:50.688Z",
|
|
444
|
+
updatedAt: "2022-03-24T09:46:50.688Z",
|
|
445
445
|
totalCount: 10,
|
|
446
446
|
},
|
|
447
447
|
{
|
|
448
|
-
_id:
|
|
449
|
-
name:
|
|
450
|
-
type:
|
|
448
|
+
_id: "623c279270387f94fff8fd6e",
|
|
449
|
+
name: "Test_1111",
|
|
450
|
+
type: "RCS",
|
|
451
451
|
versions: {
|
|
452
452
|
$init: true,
|
|
453
453
|
history: [],
|
|
@@ -455,23 +455,23 @@ export default {
|
|
|
455
455
|
content: {
|
|
456
456
|
RCS: {
|
|
457
457
|
smsFallBackContent: {
|
|
458
|
-
message:
|
|
458
|
+
message: "Test SMS message",
|
|
459
459
|
},
|
|
460
|
-
contentType:
|
|
461
|
-
cardType:
|
|
460
|
+
contentType: "RICHCARD",
|
|
461
|
+
cardType: "STANDALONE",
|
|
462
462
|
cardSettings: {
|
|
463
|
-
cardOrientation:
|
|
463
|
+
cardOrientation: "VERTICAL",
|
|
464
464
|
},
|
|
465
465
|
cardContent: [
|
|
466
466
|
{
|
|
467
467
|
media: {
|
|
468
|
-
height:
|
|
468
|
+
height: "MEDIUM",
|
|
469
469
|
mediaUrl:
|
|
470
|
-
|
|
470
|
+
"https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/abc49b13-6e84-4ff9-8859-6dd8d8d5.jpg",
|
|
471
471
|
},
|
|
472
|
-
mediaType:
|
|
473
|
-
description:
|
|
474
|
-
title:
|
|
472
|
+
mediaType: "IMAGE",
|
|
473
|
+
description: "Test Text message\n{{store_name}}",
|
|
474
|
+
title: "Test Title",
|
|
475
475
|
},
|
|
476
476
|
],
|
|
477
477
|
},
|
|
@@ -480,16 +480,16 @@ export default {
|
|
|
480
480
|
},
|
|
481
481
|
isActive: true,
|
|
482
482
|
orgId: 50146,
|
|
483
|
-
createdBy:
|
|
484
|
-
updatedBy:
|
|
485
|
-
createdAt:
|
|
486
|
-
updatedAt:
|
|
483
|
+
createdBy: "15000449",
|
|
484
|
+
updatedBy: "15000449",
|
|
485
|
+
createdAt: "2022-03-24T08:10:58.084Z",
|
|
486
|
+
updatedAt: "2022-03-24T08:10:58.084Z",
|
|
487
487
|
totalCount: 10,
|
|
488
488
|
},
|
|
489
489
|
{
|
|
490
|
-
_id:
|
|
491
|
-
name:
|
|
492
|
-
type:
|
|
490
|
+
_id: "623c264b70387f4db0f8fd6d",
|
|
491
|
+
name: "Copy of Test_112 03-24-2022 13:35:31",
|
|
492
|
+
type: "RCS",
|
|
493
493
|
versions: {
|
|
494
494
|
$init: true,
|
|
495
495
|
history: [],
|
|
@@ -498,23 +498,23 @@ export default {
|
|
|
498
498
|
RCS: {
|
|
499
499
|
cardContent: [
|
|
500
500
|
{
|
|
501
|
-
title:
|
|
502
|
-
description:
|
|
503
|
-
mediaType:
|
|
501
|
+
title: "Hi I am Title",
|
|
502
|
+
description: "Hi I am Text message",
|
|
503
|
+
mediaType: "IMAGE",
|
|
504
504
|
media: {
|
|
505
505
|
mediaUrl:
|
|
506
|
-
|
|
507
|
-
height:
|
|
506
|
+
"https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/c01ca156-ca83-4b1c-8e5a-40f02048.jpg",
|
|
507
|
+
height: "MEDIUM",
|
|
508
508
|
},
|
|
509
509
|
},
|
|
510
510
|
],
|
|
511
511
|
cardSettings: {
|
|
512
|
-
cardOrientation:
|
|
512
|
+
cardOrientation: "VERTICAL",
|
|
513
513
|
},
|
|
514
|
-
cardType:
|
|
515
|
-
contentType:
|
|
514
|
+
cardType: "STANDALONE",
|
|
515
|
+
contentType: "RICHCARD",
|
|
516
516
|
smsFallBackContent: {
|
|
517
|
-
message:
|
|
517
|
+
message: "",
|
|
518
518
|
},
|
|
519
519
|
},
|
|
520
520
|
},
|
|
@@ -522,16 +522,16 @@ export default {
|
|
|
522
522
|
},
|
|
523
523
|
isActive: true,
|
|
524
524
|
orgId: 50146,
|
|
525
|
-
createdBy:
|
|
526
|
-
updatedBy:
|
|
527
|
-
createdAt:
|
|
528
|
-
updatedAt:
|
|
525
|
+
createdBy: "15000449",
|
|
526
|
+
updatedBy: "15000449",
|
|
527
|
+
createdAt: "2022-03-24T08:05:31.979Z",
|
|
528
|
+
updatedAt: "2022-03-24T08:05:31.979Z",
|
|
529
529
|
totalCount: 10,
|
|
530
530
|
},
|
|
531
531
|
{
|
|
532
|
-
_id:
|
|
533
|
-
name:
|
|
534
|
-
type:
|
|
532
|
+
_id: "623c000670387f4df6f8fd59",
|
|
533
|
+
name: "Test_112",
|
|
534
|
+
type: "RCS",
|
|
535
535
|
versions: {
|
|
536
536
|
$init: true,
|
|
537
537
|
history: [],
|
|
@@ -539,23 +539,23 @@ export default {
|
|
|
539
539
|
content: {
|
|
540
540
|
RCS: {
|
|
541
541
|
smsFallBackContent: {
|
|
542
|
-
message:
|
|
542
|
+
message: "",
|
|
543
543
|
},
|
|
544
|
-
contentType:
|
|
545
|
-
cardType:
|
|
544
|
+
contentType: "RICHCARD",
|
|
545
|
+
cardType: "STANDALONE",
|
|
546
546
|
cardSettings: {
|
|
547
|
-
cardOrientation:
|
|
547
|
+
cardOrientation: "VERTICAL",
|
|
548
548
|
},
|
|
549
549
|
cardContent: [
|
|
550
550
|
{
|
|
551
551
|
media: {
|
|
552
|
-
height:
|
|
552
|
+
height: "MEDIUM",
|
|
553
553
|
mediaUrl:
|
|
554
|
-
|
|
554
|
+
"https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/c01ca156-ca83-4b1c-8e5a-40f02048.jpg",
|
|
555
555
|
},
|
|
556
|
-
mediaType:
|
|
557
|
-
description:
|
|
558
|
-
title:
|
|
556
|
+
mediaType: "IMAGE",
|
|
557
|
+
description: "Hi I am Text message",
|
|
558
|
+
title: "Hi I am Title",
|
|
559
559
|
},
|
|
560
560
|
],
|
|
561
561
|
},
|
|
@@ -564,16 +564,16 @@ export default {
|
|
|
564
564
|
},
|
|
565
565
|
isActive: true,
|
|
566
566
|
orgId: 50146,
|
|
567
|
-
createdBy:
|
|
568
|
-
updatedBy:
|
|
569
|
-
createdAt:
|
|
570
|
-
updatedAt:
|
|
567
|
+
createdBy: "15000449",
|
|
568
|
+
updatedBy: "15000449",
|
|
569
|
+
createdAt: "2022-03-24T05:22:15.073Z",
|
|
570
|
+
updatedAt: "2022-03-24T05:22:15.073Z",
|
|
571
571
|
totalCount: 10,
|
|
572
572
|
},
|
|
573
573
|
{
|
|
574
|
-
_id:
|
|
575
|
-
name:
|
|
576
|
-
type:
|
|
574
|
+
_id: "623bff3570387f33a4f8fd56",
|
|
575
|
+
name: "Test_111",
|
|
576
|
+
type: "RCS",
|
|
577
577
|
versions: {
|
|
578
578
|
$init: true,
|
|
579
579
|
history: [],
|
|
@@ -581,22 +581,22 @@ export default {
|
|
|
581
581
|
content: {
|
|
582
582
|
RCS: {
|
|
583
583
|
smsFallBackContent: {
|
|
584
|
-
message:
|
|
584
|
+
message: "HI I am Fallback SMS{{optout}}",
|
|
585
585
|
},
|
|
586
|
-
contentType:
|
|
587
|
-
cardType:
|
|
586
|
+
contentType: "RICHCARD",
|
|
587
|
+
cardType: "STANDALONE",
|
|
588
588
|
cardSettings: {
|
|
589
|
-
cardOrientation:
|
|
589
|
+
cardOrientation: "VERTICAL",
|
|
590
590
|
},
|
|
591
591
|
cardContent: [
|
|
592
592
|
{
|
|
593
593
|
media: {
|
|
594
|
-
height:
|
|
595
|
-
mediaUrl:
|
|
594
|
+
height: "MEDIUM",
|
|
595
|
+
mediaUrl: "",
|
|
596
596
|
},
|
|
597
|
-
mediaType:
|
|
598
|
-
description:
|
|
599
|
-
title:
|
|
597
|
+
mediaType: "NONE",
|
|
598
|
+
description: "Hi I am Description{{optout}}",
|
|
599
|
+
title: "Hi I am Title",
|
|
600
600
|
},
|
|
601
601
|
],
|
|
602
602
|
},
|
|
@@ -605,16 +605,16 @@ export default {
|
|
|
605
605
|
},
|
|
606
606
|
isActive: true,
|
|
607
607
|
orgId: 50146,
|
|
608
|
-
createdBy:
|
|
609
|
-
updatedBy:
|
|
610
|
-
createdAt:
|
|
611
|
-
updatedAt:
|
|
608
|
+
createdBy: "15000449",
|
|
609
|
+
updatedBy: "15000449",
|
|
610
|
+
createdAt: "2022-03-24T05:18:45.280Z",
|
|
611
|
+
updatedAt: "2022-03-24T05:18:45.280Z",
|
|
612
612
|
totalCount: 10,
|
|
613
613
|
},
|
|
614
614
|
{
|
|
615
|
-
_id:
|
|
616
|
-
name:
|
|
617
|
-
type:
|
|
615
|
+
_id: "623bfc6870387fb550f8fd55",
|
|
616
|
+
name: "Copy of test_vin_8 03-24-2022 10:36:45",
|
|
617
|
+
type: "RCS",
|
|
618
618
|
versions: {
|
|
619
619
|
$init: true,
|
|
620
620
|
history: [],
|
|
@@ -623,23 +623,23 @@ export default {
|
|
|
623
623
|
RCS: {
|
|
624
624
|
cardContent: [
|
|
625
625
|
{
|
|
626
|
-
title:
|
|
627
|
-
description:
|
|
628
|
-
mediaType:
|
|
626
|
+
title: "This is RCS title",
|
|
627
|
+
description: "This is RCS description {{optout}}",
|
|
628
|
+
mediaType: "IMAGE",
|
|
629
629
|
media: {
|
|
630
630
|
mediaUrl:
|
|
631
|
-
|
|
632
|
-
height:
|
|
631
|
+
"https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/62f8c77c-f132-44d8-a822-0e90f57c.jpg",
|
|
632
|
+
height: "MEDIUM",
|
|
633
633
|
},
|
|
634
634
|
},
|
|
635
635
|
],
|
|
636
636
|
cardSettings: {
|
|
637
|
-
cardOrientation:
|
|
637
|
+
cardOrientation: "VERTICAL",
|
|
638
638
|
},
|
|
639
|
-
cardType:
|
|
640
|
-
contentType:
|
|
639
|
+
cardType: "STANDALONE",
|
|
640
|
+
contentType: "RICHCARD",
|
|
641
641
|
smsFallBackContent: {
|
|
642
|
-
message:
|
|
642
|
+
message: "This is fallback msg {{optout}}",
|
|
643
643
|
},
|
|
644
644
|
},
|
|
645
645
|
},
|
|
@@ -647,16 +647,16 @@ export default {
|
|
|
647
647
|
},
|
|
648
648
|
isActive: true,
|
|
649
649
|
orgId: 50146,
|
|
650
|
-
createdBy:
|
|
651
|
-
updatedBy:
|
|
652
|
-
createdAt:
|
|
653
|
-
updatedAt:
|
|
650
|
+
createdBy: "15000449",
|
|
651
|
+
updatedBy: "15000449",
|
|
652
|
+
createdAt: "2022-03-24T05:06:48.885Z",
|
|
653
|
+
updatedAt: "2022-03-24T05:06:48.885Z",
|
|
654
654
|
totalCount: 10,
|
|
655
655
|
},
|
|
656
656
|
{
|
|
657
|
-
_id:
|
|
658
|
-
name:
|
|
659
|
-
type:
|
|
657
|
+
_id: "623acf4df971231e66c85882",
|
|
658
|
+
name: "test_vin_8",
|
|
659
|
+
type: "RCS",
|
|
660
660
|
versions: {
|
|
661
661
|
$init: true,
|
|
662
662
|
history: [],
|
|
@@ -664,23 +664,23 @@ export default {
|
|
|
664
664
|
content: {
|
|
665
665
|
RCS: {
|
|
666
666
|
smsFallBackContent: {
|
|
667
|
-
message:
|
|
667
|
+
message: "This is fallback msg {{optout}}",
|
|
668
668
|
},
|
|
669
|
-
contentType:
|
|
670
|
-
cardType:
|
|
669
|
+
contentType: "RICHCARD",
|
|
670
|
+
cardType: "STANDALONE",
|
|
671
671
|
cardSettings: {
|
|
672
|
-
cardOrientation:
|
|
672
|
+
cardOrientation: "VERTICAL",
|
|
673
673
|
},
|
|
674
674
|
cardContent: [
|
|
675
675
|
{
|
|
676
676
|
media: {
|
|
677
|
-
height:
|
|
677
|
+
height: "MEDIUM",
|
|
678
678
|
mediaUrl:
|
|
679
|
-
|
|
679
|
+
"https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/62f8c77c-f132-44d8-a822-0e90f57c.jpg",
|
|
680
680
|
},
|
|
681
|
-
mediaType:
|
|
682
|
-
description:
|
|
683
|
-
title:
|
|
681
|
+
mediaType: "IMAGE",
|
|
682
|
+
description: "This is RCS description {{optout}}",
|
|
683
|
+
title: "This is RCS title",
|
|
684
684
|
},
|
|
685
685
|
],
|
|
686
686
|
},
|
|
@@ -689,16 +689,16 @@ export default {
|
|
|
689
689
|
},
|
|
690
690
|
isActive: true,
|
|
691
691
|
orgId: 50146,
|
|
692
|
-
createdBy:
|
|
693
|
-
updatedBy:
|
|
694
|
-
createdAt:
|
|
695
|
-
updatedAt:
|
|
692
|
+
createdBy: "15000449",
|
|
693
|
+
updatedBy: "15000449",
|
|
694
|
+
createdAt: "2022-03-23T07:42:05.226Z",
|
|
695
|
+
updatedAt: "2022-03-23T07:42:05.226Z",
|
|
696
696
|
totalCount: 10,
|
|
697
697
|
},
|
|
698
698
|
{
|
|
699
|
-
_id:
|
|
700
|
-
name:
|
|
701
|
-
type:
|
|
699
|
+
_id: "62388944a7e1a1e8fddfe97f",
|
|
700
|
+
name: "test_template_112",
|
|
701
|
+
type: "RCS",
|
|
702
702
|
versions: {
|
|
703
703
|
$init: true,
|
|
704
704
|
history: [],
|
|
@@ -706,59 +706,59 @@ export default {
|
|
|
706
706
|
content: {
|
|
707
707
|
RCS: {
|
|
708
708
|
smsFallBackContent: {
|
|
709
|
-
message:
|
|
709
|
+
message: "fallback message {{voucher(373913)}}",
|
|
710
710
|
templateConfigs: {
|
|
711
711
|
templateVariableMapping: {
|
|
712
|
-
|
|
712
|
+
"{#var#}_6": {
|
|
713
713
|
count: 3,
|
|
714
|
-
data:
|
|
714
|
+
data: "test22",
|
|
715
715
|
},
|
|
716
|
-
|
|
716
|
+
"{#var#}_1": {
|
|
717
717
|
count: 4,
|
|
718
|
-
data:
|
|
718
|
+
data: "test11",
|
|
719
719
|
},
|
|
720
720
|
},
|
|
721
|
-
registeredSenderIds: [
|
|
721
|
+
registeredSenderIds: ["CPLRYT", "CPLRY"],
|
|
722
722
|
template:
|
|
723
|
-
|
|
724
|
-
templateId:
|
|
723
|
+
"Hi {#var#} enjoy 50% off at Celio. Capillary Tech.",
|
|
724
|
+
templateId: "template_whatever_id",
|
|
725
725
|
},
|
|
726
726
|
},
|
|
727
727
|
cardSettings: {
|
|
728
|
-
cardOrientation:
|
|
728
|
+
cardOrientation: "VERTICAL",
|
|
729
729
|
},
|
|
730
|
-
cardType:
|
|
731
|
-
contentType:
|
|
730
|
+
cardType: "STANDALONE",
|
|
731
|
+
contentType: "RICHCARD",
|
|
732
732
|
cardContent: [
|
|
733
733
|
{
|
|
734
734
|
media: {
|
|
735
735
|
mediaUrl:
|
|
736
|
-
|
|
737
|
-
height:
|
|
736
|
+
"https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/e4a14f49-9e1d-4d96-b7d2-9768f0e.jpeg",
|
|
737
|
+
height: "MEDIUM",
|
|
738
738
|
},
|
|
739
|
-
mediaType:
|
|
739
|
+
mediaType: "NONE",
|
|
740
740
|
description:
|
|
741
741
|
"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.",
|
|
742
|
-
title:
|
|
742
|
+
title: "title",
|
|
743
743
|
},
|
|
744
744
|
],
|
|
745
|
-
mediaType:
|
|
745
|
+
mediaType: "text",
|
|
746
746
|
},
|
|
747
747
|
},
|
|
748
748
|
},
|
|
749
749
|
},
|
|
750
750
|
isActive: true,
|
|
751
751
|
orgId: 50146,
|
|
752
|
-
createdBy:
|
|
753
|
-
updatedBy:
|
|
754
|
-
createdAt:
|
|
755
|
-
updatedAt:
|
|
752
|
+
createdBy: "15000449",
|
|
753
|
+
updatedBy: "15000449",
|
|
754
|
+
createdAt: "2022-03-21T14:18:44.322Z",
|
|
755
|
+
updatedAt: "2022-03-21T14:18:44.322Z",
|
|
756
756
|
totalCount: 10,
|
|
757
757
|
},
|
|
758
758
|
{
|
|
759
|
-
_id:
|
|
760
|
-
name:
|
|
761
|
-
type:
|
|
759
|
+
_id: "623888aca7e1a16926dfe97d",
|
|
760
|
+
name: "test_template_111",
|
|
761
|
+
type: "RCS",
|
|
762
762
|
versions: {
|
|
763
763
|
$init: true,
|
|
764
764
|
history: [],
|
|
@@ -766,53 +766,53 @@ export default {
|
|
|
766
766
|
content: {
|
|
767
767
|
RCS: {
|
|
768
768
|
smsFallBackContent: {
|
|
769
|
-
message:
|
|
769
|
+
message: "fallback message {{voucher(373913)}}",
|
|
770
770
|
templateConfigs: {
|
|
771
771
|
templateVariableMapping: {
|
|
772
|
-
|
|
772
|
+
"{#var#}_6": {
|
|
773
773
|
count: 3,
|
|
774
|
-
data:
|
|
774
|
+
data: "test22",
|
|
775
775
|
},
|
|
776
|
-
|
|
776
|
+
"{#var#}_1": {
|
|
777
777
|
count: 4,
|
|
778
|
-
data:
|
|
778
|
+
data: "test11",
|
|
779
779
|
},
|
|
780
780
|
},
|
|
781
|
-
registeredSenderIds: [
|
|
781
|
+
registeredSenderIds: ["CPLRYT", "CPLRY"],
|
|
782
782
|
template:
|
|
783
|
-
|
|
784
|
-
templateId:
|
|
783
|
+
"Hi {#var#} enjoy 50% off at Celio. Capillary Tech.",
|
|
784
|
+
templateId: "template_whatever_id",
|
|
785
785
|
},
|
|
786
786
|
},
|
|
787
787
|
cardSettings: {
|
|
788
|
-
cardOrientation:
|
|
788
|
+
cardOrientation: "VERTICAL",
|
|
789
789
|
},
|
|
790
|
-
cardType:
|
|
791
|
-
contentType:
|
|
790
|
+
cardType: "STANDALONE",
|
|
791
|
+
contentType: "RICHCARD",
|
|
792
792
|
cardContent: [
|
|
793
793
|
{
|
|
794
794
|
media: {
|
|
795
795
|
mediaUrl:
|
|
796
|
-
|
|
797
|
-
height:
|
|
796
|
+
"https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/c2c793b1-4740-47b6-819a-4310354d.jpg",
|
|
797
|
+
height: "MEDIUM",
|
|
798
798
|
},
|
|
799
|
-
mediaType:
|
|
799
|
+
mediaType: "NONE",
|
|
800
800
|
description:
|
|
801
|
-
|
|
802
|
-
title:
|
|
801
|
+
"Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.",
|
|
802
|
+
title: "title",
|
|
803
803
|
},
|
|
804
804
|
],
|
|
805
|
-
mediaType:
|
|
805
|
+
mediaType: "text",
|
|
806
806
|
},
|
|
807
807
|
},
|
|
808
808
|
},
|
|
809
809
|
},
|
|
810
810
|
isActive: true,
|
|
811
811
|
orgId: 50146,
|
|
812
|
-
createdBy:
|
|
813
|
-
updatedBy:
|
|
814
|
-
createdAt:
|
|
815
|
-
updatedAt:
|
|
812
|
+
createdBy: "15000449",
|
|
813
|
+
updatedBy: "15000449",
|
|
814
|
+
createdAt: "2022-03-21T14:16:12.731Z",
|
|
815
|
+
updatedAt: "2022-03-21T14:16:12.731Z",
|
|
816
816
|
totalCount: 10,
|
|
817
817
|
},
|
|
818
818
|
],
|
|
@@ -825,11 +825,11 @@ export default {
|
|
|
825
825
|
orgUsers: [
|
|
826
826
|
{
|
|
827
827
|
userId: 50012994,
|
|
828
|
-
firstName:
|
|
829
|
-
lastName:
|
|
830
|
-
loginName:
|
|
831
|
-
email:
|
|
832
|
-
mobile:
|
|
828
|
+
firstName: "firstUser",
|
|
829
|
+
lastName: "",
|
|
830
|
+
loginName: "firstUser@capillarytech.com",
|
|
831
|
+
email: "firstUser@capillarytech.com",
|
|
832
|
+
mobile: "918888802132",
|
|
833
833
|
isMobileValidated: 0,
|
|
834
834
|
isEmailValidated: 0,
|
|
835
835
|
},
|
|
@@ -837,11 +837,11 @@ export default {
|
|
|
837
837
|
capUsers: [
|
|
838
838
|
{
|
|
839
839
|
userId: 15000449,
|
|
840
|
-
firstName:
|
|
841
|
-
lastName:
|
|
842
|
-
loginName:
|
|
843
|
-
email:
|
|
844
|
-
mobile:
|
|
840
|
+
firstName: "Ashish",
|
|
841
|
+
lastName: "Karan fd",
|
|
842
|
+
loginName: "cap@coin.com",
|
|
843
|
+
email: "cap@coin.com",
|
|
844
|
+
mobile: "919957676767",
|
|
845
845
|
isMobileValidated: 1,
|
|
846
846
|
isEmailValidated: 1,
|
|
847
847
|
},
|
|
@@ -854,21 +854,20 @@ export default {
|
|
|
854
854
|
userListFetchError: false,
|
|
855
855
|
templates: [
|
|
856
856
|
{
|
|
857
|
-
_id:
|
|
858
|
-
name:
|
|
859
|
-
type:
|
|
857
|
+
_id: "623c39e970387f3cf5f8fd70",
|
|
858
|
+
name: "testtest",
|
|
859
|
+
type: "SMS",
|
|
860
860
|
versions: {
|
|
861
861
|
$init: true,
|
|
862
862
|
history: [],
|
|
863
|
-
base: {
|
|
864
|
-
},
|
|
863
|
+
base: {},
|
|
865
864
|
},
|
|
866
865
|
isActive: true,
|
|
867
866
|
orgId: 50146,
|
|
868
|
-
createdBy:
|
|
869
|
-
updatedBy:
|
|
870
|
-
createdAt:
|
|
871
|
-
updatedAt:
|
|
867
|
+
createdBy: "15000449",
|
|
868
|
+
updatedBy: "15000449",
|
|
869
|
+
createdAt: "2022-03-24T09:29:13.376Z",
|
|
870
|
+
updatedAt: "2022-03-29T11:15:53.175Z",
|
|
872
871
|
totalCount: 10,
|
|
873
872
|
},
|
|
874
873
|
],
|
|
@@ -881,11 +880,11 @@ export default {
|
|
|
881
880
|
orgUsers: [
|
|
882
881
|
{
|
|
883
882
|
userId: 50012994,
|
|
884
|
-
firstName:
|
|
885
|
-
lastName:
|
|
886
|
-
loginName:
|
|
887
|
-
email:
|
|
888
|
-
mobile:
|
|
883
|
+
firstName: "firstUser",
|
|
884
|
+
lastName: "",
|
|
885
|
+
loginName: "firstUser@capillarytech.com",
|
|
886
|
+
email: "firstUser@capillarytech.com",
|
|
887
|
+
mobile: "918888802132",
|
|
889
888
|
isMobileValidated: 0,
|
|
890
889
|
isEmailValidated: 0,
|
|
891
890
|
},
|
|
@@ -893,11 +892,11 @@ export default {
|
|
|
893
892
|
capUsers: [
|
|
894
893
|
{
|
|
895
894
|
userId: 15000449,
|
|
896
|
-
firstName:
|
|
897
|
-
lastName:
|
|
898
|
-
loginName:
|
|
899
|
-
email:
|
|
900
|
-
mobile:
|
|
895
|
+
firstName: "Ashish",
|
|
896
|
+
lastName: "Karan fd",
|
|
897
|
+
loginName: "cap@coin.com",
|
|
898
|
+
email: "cap@coin.com",
|
|
899
|
+
mobile: "919957676767",
|
|
901
900
|
isMobileValidated: 1,
|
|
902
901
|
isEmailValidated: 1,
|
|
903
902
|
},
|
|
@@ -910,155 +909,154 @@ export default {
|
|
|
910
909
|
userListFetchError: false,
|
|
911
910
|
templates: [
|
|
912
911
|
{
|
|
913
|
-
_id:
|
|
914
|
-
name:
|
|
915
|
-
type:
|
|
912
|
+
_id: "623c39e970387f3cf5f8fd70",
|
|
913
|
+
name: "testtest",
|
|
914
|
+
type: "EMAIL",
|
|
916
915
|
versions: {
|
|
917
916
|
$init: true,
|
|
918
917
|
history: [],
|
|
919
|
-
base: {
|
|
920
|
-
},
|
|
918
|
+
base: {},
|
|
921
919
|
},
|
|
922
920
|
isActive: true,
|
|
923
921
|
orgId: 50146,
|
|
924
|
-
createdBy:
|
|
925
|
-
updatedBy:
|
|
926
|
-
createdAt:
|
|
927
|
-
updatedAt:
|
|
922
|
+
createdBy: "15000449",
|
|
923
|
+
updatedBy: "15000449",
|
|
924
|
+
createdAt: "2022-03-24T09:29:13.376Z",
|
|
925
|
+
updatedAt: "2022-03-29T11:15:53.175Z",
|
|
928
926
|
totalCount: 10,
|
|
929
927
|
},
|
|
930
928
|
],
|
|
931
929
|
},
|
|
932
930
|
whatsappEditTemplateData: {
|
|
933
|
-
mode:
|
|
934
|
-
_id:
|
|
935
|
-
modeType:
|
|
936
|
-
whatsappTemplateName:
|
|
937
|
-
whatsappTemplateCategory:
|
|
938
|
-
whatsappTemplateLanguageCode:
|
|
939
|
-
type:
|
|
940
|
-
channel:
|
|
931
|
+
mode: "edit",
|
|
932
|
+
_id: "620e213d39bd394c58aeaaca",
|
|
933
|
+
modeType: "",
|
|
934
|
+
whatsappTemplateName: "amit123456",
|
|
935
|
+
whatsappTemplateCategory: "ALERT_UPDATE",
|
|
936
|
+
whatsappTemplateLanguageCode: "en",
|
|
937
|
+
type: "WHATSAPP",
|
|
938
|
+
channel: "WHATSAPP",
|
|
941
939
|
validity: true,
|
|
942
940
|
},
|
|
943
941
|
whatsappGetTemplateData1: {
|
|
944
|
-
channel:
|
|
945
|
-
storeType:
|
|
942
|
+
channel: "WHATSAPP",
|
|
943
|
+
storeType: "REGISTERED_STORE",
|
|
946
944
|
accountId: 12721,
|
|
947
945
|
messagePartsCount: 1,
|
|
948
946
|
messageBody:
|
|
949
|
-
|
|
947
|
+
"Hey test, Easier implementation, tracking, reporting and planning of promotions is now live! Check it out at test",
|
|
950
948
|
templateConfigs: {
|
|
951
|
-
name:
|
|
952
|
-
language:
|
|
949
|
+
name: "creatives_whatsapp6",
|
|
950
|
+
language: "en",
|
|
953
951
|
varMapped: {
|
|
954
|
-
|
|
955
|
-
|
|
952
|
+
"{{1}}_1": "test",
|
|
953
|
+
"{{2}}_3": "test",
|
|
956
954
|
},
|
|
957
955
|
template:
|
|
958
|
-
|
|
959
|
-
id:
|
|
960
|
-
category:
|
|
956
|
+
"Hey {{1}}, Easier implementation, tracking, reporting and planning of promotions is now live! Check it out at {{2}}",
|
|
957
|
+
id: "creatives_whatsapp6",
|
|
958
|
+
category: "MARKETING",
|
|
961
959
|
},
|
|
962
|
-
accountName:
|
|
960
|
+
accountName: "WhatsappAccount",
|
|
963
961
|
},
|
|
964
962
|
whatsappGetTemplateData2: {
|
|
965
|
-
channel:
|
|
966
|
-
storeType:
|
|
963
|
+
channel: "WHATSAPP",
|
|
964
|
+
storeType: "REGISTERED_STORE",
|
|
967
965
|
accountId: 12721,
|
|
968
966
|
messagePartsCount: 1,
|
|
969
967
|
messageBody:
|
|
970
|
-
|
|
968
|
+
"Hey test, Easier implementation, tracking, reporting and planning of promotions is now live! Check it out at test\nClick {{unsubscribe}} to unsubscribe",
|
|
971
969
|
templateConfigs: {
|
|
972
970
|
buttons: [
|
|
973
971
|
{
|
|
974
|
-
text:
|
|
975
|
-
type:
|
|
976
|
-
phoneNumber:
|
|
972
|
+
text: "Call",
|
|
973
|
+
type: "PHONE_NUMBER",
|
|
974
|
+
phoneNumber: "+919738752617",
|
|
977
975
|
index: 0,
|
|
978
976
|
},
|
|
979
977
|
{
|
|
980
|
-
text:
|
|
981
|
-
type:
|
|
982
|
-
url:
|
|
978
|
+
text: "Visit",
|
|
979
|
+
type: "DYNAMIC_URL",
|
|
980
|
+
url: "https://docs.google.com/{{optout}}",
|
|
983
981
|
index: 1,
|
|
984
|
-
dynamicUrlPayload:
|
|
982
|
+
dynamicUrlPayload: "{{optout}}",
|
|
985
983
|
},
|
|
986
984
|
],
|
|
987
|
-
name:
|
|
988
|
-
buttonType:
|
|
985
|
+
name: "creatives_whatsapp6",
|
|
986
|
+
buttonType: "CTA",
|
|
989
987
|
whatsappMedia: {
|
|
990
|
-
url:
|
|
988
|
+
url: "https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/c9edc114-923b-4ac7-82d0-d6682213.jpg",
|
|
991
989
|
},
|
|
992
|
-
language:
|
|
990
|
+
language: "en",
|
|
993
991
|
varMapped: {
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
992
|
+
"{{1}}_1": "test",
|
|
993
|
+
"{{2}}_3": "test",
|
|
994
|
+
"{{3}}_unsubscribe": "{{unsubscribe}}",
|
|
997
995
|
},
|
|
998
996
|
template:
|
|
999
|
-
|
|
1000
|
-
id:
|
|
1001
|
-
category:
|
|
1002
|
-
mediaType:
|
|
997
|
+
"Hey {{1}}, Easier implementation, tracking, reporting and planning of promotions is now live! Check it out at {{2}}",
|
|
998
|
+
id: "creatives_whatsapp6",
|
|
999
|
+
category: "MARKETING",
|
|
1000
|
+
mediaType: "IMAGE",
|
|
1003
1001
|
},
|
|
1004
|
-
accountName:
|
|
1002
|
+
accountName: "WhatsappAccount",
|
|
1005
1003
|
},
|
|
1006
1004
|
whatsappGetCreativeData1: {
|
|
1007
1005
|
value: {
|
|
1008
|
-
name:
|
|
1006
|
+
name: "creatives_whatsapp6",
|
|
1009
1007
|
versions: {
|
|
1010
1008
|
base: {
|
|
1011
1009
|
content: {
|
|
1012
1010
|
whatsapp: {
|
|
1013
|
-
category:
|
|
1011
|
+
category: "MARKETING",
|
|
1014
1012
|
languages: [
|
|
1015
1013
|
{
|
|
1016
|
-
language:
|
|
1014
|
+
language: "en",
|
|
1017
1015
|
content:
|
|
1018
|
-
|
|
1016
|
+
"Hey test1, Easier implementation, tracking, reporting and planning of promotions is now live! Check it out at test2\nClick {{unsubscribe}} to unsubscribe",
|
|
1019
1017
|
},
|
|
1020
1018
|
],
|
|
1021
|
-
buttonType:
|
|
1019
|
+
buttonType: "CTA",
|
|
1022
1020
|
buttons: [
|
|
1023
1021
|
{
|
|
1024
1022
|
index: 0,
|
|
1025
|
-
type:
|
|
1026
|
-
text:
|
|
1027
|
-
phone_number:
|
|
1023
|
+
type: "PHONE_NUMBER",
|
|
1024
|
+
text: "Call",
|
|
1025
|
+
phone_number: "+919738752617",
|
|
1028
1026
|
},
|
|
1029
1027
|
{
|
|
1030
1028
|
index: 1,
|
|
1031
|
-
type:
|
|
1032
|
-
text:
|
|
1033
|
-
url:
|
|
1029
|
+
type: "DYNAMIC_URL",
|
|
1030
|
+
text: "Visit",
|
|
1031
|
+
url: "https://docs.google.com/{{first_name}}",
|
|
1034
1032
|
},
|
|
1035
1033
|
],
|
|
1036
|
-
mediaType:
|
|
1034
|
+
mediaType: "IMAGE",
|
|
1037
1035
|
imageUrl:
|
|
1038
|
-
|
|
1039
|
-
karixFileHandle:
|
|
1036
|
+
"https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/c9edc114-923b-4ac7-82d0-d6682213.jpg",
|
|
1037
|
+
karixFileHandle: "",
|
|
1040
1038
|
varMapped: {
|
|
1041
|
-
|
|
1042
|
-
|
|
1039
|
+
"{{1}}_1": "test1",
|
|
1040
|
+
"{{2}}_3": "test2",
|
|
1043
1041
|
},
|
|
1044
1042
|
templateEditor:
|
|
1045
|
-
|
|
1046
|
-
accountId:
|
|
1047
|
-
accessToken:
|
|
1048
|
-
hostName:
|
|
1043
|
+
"Hey {{1}}, Easier implementation, tracking, reporting and planning of promotions is now live! Check it out at {{2}}",
|
|
1044
|
+
accountId: "",
|
|
1045
|
+
accessToken: "",
|
|
1046
|
+
hostName: "",
|
|
1049
1047
|
},
|
|
1050
1048
|
},
|
|
1051
1049
|
},
|
|
1052
1050
|
},
|
|
1053
|
-
type:
|
|
1051
|
+
type: "WHATSAPP",
|
|
1054
1052
|
},
|
|
1055
1053
|
validity: true,
|
|
1056
|
-
type:
|
|
1057
|
-
channel:
|
|
1054
|
+
type: "WHATSAPP",
|
|
1055
|
+
channel: "WHATSAPP",
|
|
1058
1056
|
},
|
|
1059
1057
|
whatsappGetCreativeData2: {
|
|
1060
1058
|
value: {
|
|
1061
|
-
name:
|
|
1059
|
+
name: "creatives_whatsapp6",
|
|
1062
1060
|
versions: {
|
|
1063
1061
|
base: {
|
|
1064
1062
|
content: {
|
|
@@ -1066,79 +1064,95 @@ export default {
|
|
|
1066
1064
|
},
|
|
1067
1065
|
},
|
|
1068
1066
|
},
|
|
1069
|
-
type:
|
|
1067
|
+
type: "WHATSAPP",
|
|
1070
1068
|
},
|
|
1071
1069
|
validity: true,
|
|
1072
|
-
type:
|
|
1073
|
-
channel:
|
|
1070
|
+
type: "WHATSAPP",
|
|
1071
|
+
channel: "WHATSAPP",
|
|
1074
1072
|
},
|
|
1075
|
-
getWhatsappDocPreviewOutput:
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
<
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1073
|
+
getWhatsappDocPreviewOutput: (
|
|
1074
|
+
<>
|
|
1075
|
+
<div className="pdf-img-box">
|
|
1076
|
+
<CapImage
|
|
1077
|
+
src={
|
|
1078
|
+
"https://play-lh.googleusercontent.com/BkRfMfIRPR9hUnmIYGDgHHKjow-g18-ouP6B2ko__VnyUHSi1spcc78UtZ4sVUtBH4g"
|
|
1079
|
+
}
|
|
1080
|
+
alt="upload-document-src"
|
|
1081
|
+
className="pdf-preview-img"
|
|
1082
|
+
/>
|
|
1083
|
+
</div>
|
|
1084
|
+
<div className="pdf-label">
|
|
1085
|
+
<CapImage src={pdfIcon} />
|
|
1086
|
+
<div className="pdf-info">
|
|
1087
|
+
<div className="pdf-name-div">
|
|
1088
|
+
<CapLabel type="label9" className="pdf-name">
|
|
1089
|
+
java_tutorial.pdf
|
|
1090
1090
|
</CapLabel>
|
|
1091
1091
|
</div>
|
|
1092
|
+
<CapLabel className="pdf-info-sec">
|
|
1093
|
+
{2} {<FormattedMessage {...messages.pages} />}
|
|
1094
|
+
{` · 1.0 MB · `}
|
|
1095
|
+
<FormattedMessage {...messages.pdf} />
|
|
1096
|
+
</CapLabel>
|
|
1092
1097
|
</div>
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1098
|
+
</div>
|
|
1099
|
+
</>
|
|
1100
|
+
),
|
|
1101
|
+
getWhatsappDocPreviewOutput1: (
|
|
1102
|
+
<>
|
|
1103
|
+
<div className="pdf-img-box">
|
|
1104
|
+
<CapImage
|
|
1105
|
+
src={
|
|
1106
|
+
"https://play-lh.googleusercontent.com/BkRfMfIRPR9hUnmIYGDgHHKjow-g18-ouP6B2ko__VnyUHSi1spcc78UtZ4sVUtBH4g"
|
|
1107
|
+
}
|
|
1108
|
+
alt="upload-document-src"
|
|
1109
|
+
className="pdf-preview-img"
|
|
1110
|
+
/>
|
|
1111
|
+
</div>
|
|
1112
|
+
<div className="pdf-label">
|
|
1113
|
+
<CapImage src={pdfIcon} />
|
|
1114
|
+
<div className="pdf-info">
|
|
1115
|
+
<div className="pdf-name-div">
|
|
1116
|
+
<CapLabel type="label9" className="pdf-name">
|
|
1117
|
+
java_tutorial.pdf
|
|
1110
1118
|
</CapLabel>
|
|
1111
1119
|
</div>
|
|
1120
|
+
<CapLabel className="pdf-info-sec">
|
|
1121
|
+
{1} {<FormattedMessage {...messages.page} />}
|
|
1122
|
+
{` · 1.0 MB · `}
|
|
1123
|
+
<FormattedMessage {...messages.pdf} />
|
|
1124
|
+
</CapLabel>
|
|
1112
1125
|
</div>
|
|
1113
|
-
|
|
1114
|
-
|
|
1126
|
+
</div>
|
|
1127
|
+
</>
|
|
1128
|
+
),
|
|
1115
1129
|
rcsEditTemplateData: {
|
|
1116
|
-
mode:
|
|
1117
|
-
_id:
|
|
1118
|
-
modeType:
|
|
1119
|
-
type:
|
|
1120
|
-
channel:
|
|
1130
|
+
mode: "edit",
|
|
1131
|
+
_id: "620e213d39bd394c58aeaaca",
|
|
1132
|
+
modeType: "",
|
|
1133
|
+
type: "RCS",
|
|
1134
|
+
channel: "RCS",
|
|
1121
1135
|
validity: true,
|
|
1122
1136
|
},
|
|
1123
1137
|
smsEditTemplateData: {
|
|
1124
|
-
mode:
|
|
1125
|
-
_id:
|
|
1126
|
-
modeType:
|
|
1127
|
-
type:
|
|
1128
|
-
channel:
|
|
1138
|
+
mode: "edit",
|
|
1139
|
+
_id: "620e213d39bd394c58aeaaca",
|
|
1140
|
+
modeType: "",
|
|
1141
|
+
type: "SMS",
|
|
1142
|
+
channel: "SMS",
|
|
1129
1143
|
validity: true,
|
|
1130
1144
|
},
|
|
1131
1145
|
emailEditTemplateData: {
|
|
1132
|
-
mode:
|
|
1133
|
-
_id:
|
|
1134
|
-
modeType:
|
|
1135
|
-
type:
|
|
1136
|
-
channel:
|
|
1146
|
+
mode: "edit",
|
|
1147
|
+
_id: "620e213d39bd394c58aeaaca",
|
|
1148
|
+
modeType: "",
|
|
1149
|
+
type: "EMAIL",
|
|
1150
|
+
channel: "EMAIL",
|
|
1137
1151
|
validity: true,
|
|
1138
1152
|
},
|
|
1139
|
-
getWhatsappContentOutput:
|
|
1153
|
+
getWhatsappContentOutput: "1234567890\nClick {{unsubscribe}} to unsubscribe",
|
|
1140
1154
|
getWhatsappStatusOutput1: {
|
|
1141
|
-
key:
|
|
1155
|
+
key: "approved",
|
|
1142
1156
|
label: (
|
|
1143
1157
|
<FormattedMessage
|
|
1144
1158
|
defaultMessage="Approved"
|
|
@@ -1146,10 +1160,10 @@ export default {
|
|
|
1146
1160
|
values={{}}
|
|
1147
1161
|
/>
|
|
1148
1162
|
),
|
|
1149
|
-
value:
|
|
1163
|
+
value: "approved",
|
|
1150
1164
|
},
|
|
1151
1165
|
getWhatsappCategoryOutput1: {
|
|
1152
|
-
key:
|
|
1166
|
+
key: "alertUpdate",
|
|
1153
1167
|
label: (
|
|
1154
1168
|
<FormattedMessage
|
|
1155
1169
|
defaultMessage="Alert update"
|
|
@@ -1157,8 +1171,8 @@ export default {
|
|
|
1157
1171
|
values={{}}
|
|
1158
1172
|
/>
|
|
1159
1173
|
),
|
|
1160
|
-
tagColor:
|
|
1161
|
-
tagTextColor:
|
|
1174
|
+
tagColor: "#f2e7fe",
|
|
1175
|
+
tagTextColor: "#a451ff",
|
|
1162
1176
|
tooltipLabel: (
|
|
1163
1177
|
<FormattedMessage
|
|
1164
1178
|
defaultMessage="Send important updates or news to customers."
|
|
@@ -1166,10 +1180,10 @@ export default {
|
|
|
1166
1180
|
values={{}}
|
|
1167
1181
|
/>
|
|
1168
1182
|
),
|
|
1169
|
-
value:
|
|
1183
|
+
value: "ALERT_UPDATE",
|
|
1170
1184
|
},
|
|
1171
1185
|
getWhatsappCategoryOutput2: {
|
|
1172
|
-
key:
|
|
1186
|
+
key: "utility",
|
|
1173
1187
|
label: (
|
|
1174
1188
|
<FormattedMessage
|
|
1175
1189
|
defaultMessage="Utility"
|
|
@@ -1177,8 +1191,8 @@ export default {
|
|
|
1177
1191
|
values={{}}
|
|
1178
1192
|
/>
|
|
1179
1193
|
),
|
|
1180
|
-
tagColor:
|
|
1181
|
-
tagTextColor:
|
|
1194
|
+
tagColor: "#f2e7fe",
|
|
1195
|
+
tagTextColor: "#a451ff",
|
|
1182
1196
|
tooltipLabel: (
|
|
1183
1197
|
<FormattedMessage
|
|
1184
1198
|
defaultMessage="Send account updates, order updates, alerts, and more to share important information."
|
|
@@ -1186,209 +1200,210 @@ export default {
|
|
|
1186
1200
|
values={{}}
|
|
1187
1201
|
/>
|
|
1188
1202
|
),
|
|
1189
|
-
value:
|
|
1203
|
+
value: "UTILITY",
|
|
1190
1204
|
},
|
|
1191
1205
|
whatsappPreviewTemplateData: {
|
|
1192
|
-
mode:
|
|
1193
|
-
_id:
|
|
1194
|
-
name:
|
|
1195
|
-
type:
|
|
1206
|
+
mode: "preview",
|
|
1207
|
+
_id: "62d3f971b497b671d3bbf8f7",
|
|
1208
|
+
name: "creatives_whatsapp6",
|
|
1209
|
+
type: "WHATSAPP",
|
|
1196
1210
|
versions: {
|
|
1197
1211
|
$init: true,
|
|
1198
1212
|
history: [],
|
|
1199
1213
|
base: {
|
|
1200
1214
|
content: {
|
|
1201
1215
|
whatsapp: {
|
|
1202
|
-
status:
|
|
1203
|
-
templateId:
|
|
1204
|
-
hostName:
|
|
1205
|
-
accessToken:
|
|
1206
|
-
accountId:
|
|
1216
|
+
status: "approved",
|
|
1217
|
+
templateId: "720951875646523",
|
|
1218
|
+
hostName: "karixwhatsappbulk",
|
|
1219
|
+
accessToken: "Bearer gDwEuRIm9icV6phixociSw==",
|
|
1220
|
+
accountId: "107499611940863",
|
|
1207
1221
|
templateEditor: false,
|
|
1208
1222
|
karixFileHandle:
|
|
1209
|
-
|
|
1223
|
+
"4::aW1hZ2UvanBlZw==:ARZpmm0pMfsBvKepIjR-HG2HIw_78ynisr-riY1s4xpi2noK9QsvtvVfnZb5hUxks5HM5JHG0gCn_ZtPuJzya1SH3eq4Upn3M0eqsDLr4CzdPw:e:1658404714:259409122277300:100066839164237:ARbbCRjU-2ksqoUOp4Y",
|
|
1210
1224
|
imageUrl:
|
|
1211
|
-
|
|
1212
|
-
mediaType:
|
|
1225
|
+
"https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/c9edc114-923b-4ac7-82d0-d6682213.jpg",
|
|
1226
|
+
mediaType: "IMAGE",
|
|
1213
1227
|
buttons: [
|
|
1214
1228
|
{
|
|
1215
|
-
phone_number:
|
|
1216
|
-
text:
|
|
1217
|
-
type:
|
|
1229
|
+
phone_number: "+919738752617",
|
|
1230
|
+
text: "Call",
|
|
1231
|
+
type: "PHONE_NUMBER",
|
|
1218
1232
|
index: 0,
|
|
1219
1233
|
},
|
|
1220
1234
|
{
|
|
1221
|
-
url:
|
|
1222
|
-
text:
|
|
1223
|
-
type:
|
|
1235
|
+
url: "https://docs.google.com/{{1}}",
|
|
1236
|
+
text: "Visit",
|
|
1237
|
+
type: "DYNAMIC_URL",
|
|
1224
1238
|
index: 1,
|
|
1225
1239
|
},
|
|
1226
1240
|
],
|
|
1227
|
-
buttonType:
|
|
1241
|
+
buttonType: "CTA",
|
|
1228
1242
|
languages: [
|
|
1229
1243
|
{
|
|
1230
1244
|
content:
|
|
1231
|
-
|
|
1232
|
-
language:
|
|
1245
|
+
"Hey {{1}}, Easier implementation, tracking, reporting and planning of promotions is now live! Check it out at {{2}}\nClick {{3}} to unsubscribe",
|
|
1246
|
+
language: "en",
|
|
1233
1247
|
},
|
|
1234
1248
|
],
|
|
1235
|
-
category:
|
|
1236
|
-
rejection_reason:
|
|
1249
|
+
category: "MARKETING",
|
|
1250
|
+
rejection_reason: "",
|
|
1237
1251
|
},
|
|
1238
1252
|
},
|
|
1239
1253
|
},
|
|
1240
1254
|
},
|
|
1241
1255
|
isActive: true,
|
|
1242
1256
|
orgId: 50074,
|
|
1243
|
-
createdBy:
|
|
1244
|
-
updatedBy:
|
|
1245
|
-
createdAt:
|
|
1246
|
-
updatedAt:
|
|
1257
|
+
createdBy: "15000449",
|
|
1258
|
+
updatedBy: "15000449",
|
|
1259
|
+
createdAt: "2022-07-17T11:58:45.592Z",
|
|
1260
|
+
updatedAt: "2022-07-17T11:58:45.592Z",
|
|
1247
1261
|
totalCount: 8,
|
|
1248
1262
|
},
|
|
1249
1263
|
whatsappPreviewTemplateDataVid: {
|
|
1250
|
-
mode:
|
|
1251
|
-
_id:
|
|
1252
|
-
name:
|
|
1253
|
-
type:
|
|
1264
|
+
mode: "preview",
|
|
1265
|
+
_id: "62d3f971b497b671d3bbf8f7",
|
|
1266
|
+
name: "creatives_whatsapp6",
|
|
1267
|
+
type: "WHATSAPP",
|
|
1254
1268
|
versions: {
|
|
1255
1269
|
$init: true,
|
|
1256
1270
|
history: [],
|
|
1257
1271
|
base: {
|
|
1258
1272
|
content: {
|
|
1259
1273
|
whatsapp: {
|
|
1260
|
-
status:
|
|
1261
|
-
templateId:
|
|
1262
|
-
hostName:
|
|
1263
|
-
accessToken:
|
|
1264
|
-
accountId:
|
|
1274
|
+
status: "approved",
|
|
1275
|
+
templateId: "720951875646523",
|
|
1276
|
+
hostName: "karixwhatsappbulk",
|
|
1277
|
+
accessToken: "Bearer gDwEuRIm9icV6phixociSw==",
|
|
1278
|
+
accountId: "107499611940863",
|
|
1265
1279
|
templateEditor: false,
|
|
1266
1280
|
karixFileHandle:
|
|
1267
|
-
|
|
1281
|
+
"4::aW1hZ2UvanBlZw==:ARZpmm0pMfsBvKepIjR-HG2HIw_78ynisr-riY1s4xpi2noK9QsvtvVfnZb5hUxks5HM5JHG0gCn_ZtPuJzya1SH3eq4Upn3M0eqsDLr4CzdPw:e:1658404714:259409122277300:100066839164237:ARbbCRjU-2ksqoUOp4Y",
|
|
1268
1282
|
videoUrl:
|
|
1269
|
-
|
|
1270
|
-
videoPreviewImg:
|
|
1271
|
-
|
|
1283
|
+
"https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/c9edc114-923b-4ac7-82d0-d6682213.MP4",
|
|
1284
|
+
videoPreviewImg:
|
|
1285
|
+
"https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/c9edc114-923b-4ac7-82d0-d6682213/1040",
|
|
1286
|
+
mediaType: "VIDEO",
|
|
1272
1287
|
buttons: [
|
|
1273
1288
|
{
|
|
1274
|
-
phone_number:
|
|
1275
|
-
text:
|
|
1276
|
-
type:
|
|
1289
|
+
phone_number: "+919738752617",
|
|
1290
|
+
text: "Call",
|
|
1291
|
+
type: "PHONE_NUMBER",
|
|
1277
1292
|
index: 0,
|
|
1278
1293
|
},
|
|
1279
1294
|
{
|
|
1280
|
-
url:
|
|
1281
|
-
text:
|
|
1282
|
-
type:
|
|
1295
|
+
url: "https://docs.google.com/{{1}}",
|
|
1296
|
+
text: "Visit",
|
|
1297
|
+
type: "DYNAMIC_URL",
|
|
1283
1298
|
index: 1,
|
|
1284
1299
|
},
|
|
1285
1300
|
],
|
|
1286
|
-
buttonType:
|
|
1301
|
+
buttonType: "CTA",
|
|
1287
1302
|
languages: [
|
|
1288
1303
|
{
|
|
1289
1304
|
content:
|
|
1290
|
-
|
|
1291
|
-
language:
|
|
1305
|
+
"Hey {{1}}, Easier implementation, tracking, reporting and planning of promotions is now live! Check it out at {{2}}\nClick {{3}} to unsubscribe",
|
|
1306
|
+
language: "en",
|
|
1292
1307
|
},
|
|
1293
1308
|
],
|
|
1294
|
-
category:
|
|
1295
|
-
rejection_reason:
|
|
1309
|
+
category: "MARKETING",
|
|
1310
|
+
rejection_reason: "",
|
|
1296
1311
|
},
|
|
1297
1312
|
},
|
|
1298
1313
|
},
|
|
1299
1314
|
},
|
|
1300
1315
|
isActive: true,
|
|
1301
1316
|
orgId: 50074,
|
|
1302
|
-
createdBy:
|
|
1303
|
-
updatedBy:
|
|
1304
|
-
createdAt:
|
|
1305
|
-
updatedAt:
|
|
1317
|
+
createdBy: "15000449",
|
|
1318
|
+
updatedBy: "15000449",
|
|
1319
|
+
createdAt: "2022-07-17T11:58:45.592Z",
|
|
1320
|
+
updatedAt: "2022-07-17T11:58:45.592Z",
|
|
1306
1321
|
totalCount: 8,
|
|
1307
1322
|
},
|
|
1308
1323
|
whatsappPreviewTemplateDataDoc: {
|
|
1309
|
-
mode:
|
|
1310
|
-
_id:
|
|
1311
|
-
name:
|
|
1312
|
-
type:
|
|
1324
|
+
mode: "preview",
|
|
1325
|
+
_id: "62d3f971b497b671d3bbf8f7",
|
|
1326
|
+
name: "creatives_whatsapp6",
|
|
1327
|
+
type: "WHATSAPP",
|
|
1313
1328
|
versions: {
|
|
1314
1329
|
$init: true,
|
|
1315
1330
|
history: [],
|
|
1316
1331
|
base: {
|
|
1317
1332
|
content: {
|
|
1318
1333
|
whatsapp: {
|
|
1319
|
-
status:
|
|
1320
|
-
templateId:
|
|
1321
|
-
hostName:
|
|
1322
|
-
accessToken:
|
|
1323
|
-
accountId:
|
|
1334
|
+
status: "approved",
|
|
1335
|
+
templateId: "720951875646523",
|
|
1336
|
+
hostName: "karixwhatsappbulk",
|
|
1337
|
+
accessToken: "Bearer gDwEuRIm9icV6phixociSw==",
|
|
1338
|
+
accountId: "107499611940863",
|
|
1324
1339
|
templateEditor: false,
|
|
1325
1340
|
karixFileHandle:
|
|
1326
|
-
|
|
1341
|
+
"4::aW1hZ2UvanBlZw==:ARZpmm0pMfsBvKepIjR-HG2HIw_78ynisr-riY1s4xpi2noK9QsvtvVfnZb5hUxks5HM5JHG0gCn_ZtPuJzya1SH3eq4Upn3M0eqsDLr4CzdPw:e:1658404714:259409122277300:100066839164237:ARbbCRjU-2ksqoUOp4Y",
|
|
1327
1342
|
documentUrl:
|
|
1328
|
-
|
|
1343
|
+
"https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/c9edc114-923b-4ac7-82d0-d6682213.pdf",
|
|
1329
1344
|
whatsappDocParams: {},
|
|
1330
|
-
mediaType:
|
|
1345
|
+
mediaType: "DOCUMENT",
|
|
1331
1346
|
buttons: [
|
|
1332
1347
|
{
|
|
1333
|
-
phone_number:
|
|
1334
|
-
text:
|
|
1335
|
-
type:
|
|
1348
|
+
phone_number: "+919738752617",
|
|
1349
|
+
text: "Call",
|
|
1350
|
+
type: "PHONE_NUMBER",
|
|
1336
1351
|
index: 0,
|
|
1337
1352
|
},
|
|
1338
1353
|
{
|
|
1339
|
-
url:
|
|
1340
|
-
text:
|
|
1341
|
-
type:
|
|
1354
|
+
url: "https://docs.google.com/{{1}}",
|
|
1355
|
+
text: "Visit",
|
|
1356
|
+
type: "DYNAMIC_URL",
|
|
1342
1357
|
index: 1,
|
|
1343
1358
|
},
|
|
1344
1359
|
],
|
|
1345
|
-
buttonType:
|
|
1360
|
+
buttonType: "CTA",
|
|
1346
1361
|
languages: [
|
|
1347
1362
|
{
|
|
1348
1363
|
content:
|
|
1349
|
-
|
|
1350
|
-
language:
|
|
1364
|
+
"Hey {{1}}, Easier implementation, tracking, reporting and planning of promotions is now live! Check it out at {{2}}\nClick {{3}} to unsubscribe",
|
|
1365
|
+
language: "en",
|
|
1351
1366
|
},
|
|
1352
1367
|
],
|
|
1353
|
-
category:
|
|
1354
|
-
rejection_reason:
|
|
1368
|
+
category: "MARKETING",
|
|
1369
|
+
rejection_reason: "",
|
|
1355
1370
|
},
|
|
1356
1371
|
},
|
|
1357
1372
|
},
|
|
1358
1373
|
},
|
|
1359
1374
|
isActive: true,
|
|
1360
1375
|
orgId: 50074,
|
|
1361
|
-
createdBy:
|
|
1362
|
-
updatedBy:
|
|
1363
|
-
createdAt:
|
|
1364
|
-
updatedAt:
|
|
1376
|
+
createdBy: "15000449",
|
|
1377
|
+
updatedBy: "15000449",
|
|
1378
|
+
createdAt: "2022-07-17T11:58:45.592Z",
|
|
1379
|
+
updatedAt: "2022-07-17T11:58:45.592Z",
|
|
1365
1380
|
totalCount: 8,
|
|
1366
1381
|
},
|
|
1367
1382
|
whatsappPreviewTemplateData2: {
|
|
1368
|
-
mode:
|
|
1369
|
-
_id:
|
|
1370
|
-
name:
|
|
1371
|
-
type:
|
|
1383
|
+
mode: "preview",
|
|
1384
|
+
_id: "62d3edc8b497b63ff5bbf8ea",
|
|
1385
|
+
name: "test_twilio_159425",
|
|
1386
|
+
type: "WHATSAPP",
|
|
1372
1387
|
versions: {
|
|
1373
1388
|
$init: true,
|
|
1374
1389
|
history: [],
|
|
1375
1390
|
base: {
|
|
1376
1391
|
content: {
|
|
1377
1392
|
whatsapp: {
|
|
1378
|
-
status:
|
|
1379
|
-
templateId:
|
|
1380
|
-
hostName:
|
|
1381
|
-
accessToken:
|
|
1382
|
-
accountId:
|
|
1393
|
+
status: "approved",
|
|
1394
|
+
templateId: "HTee0274fb8dfdd45427bb678f875b0d54",
|
|
1395
|
+
hostName: "twiliowhatsapptrans",
|
|
1396
|
+
accessToken: "4676323eb5d1f975b0987070c03a8efc",
|
|
1397
|
+
accountId: "AC41030cebba9e2f1ce37c78235da0ee18",
|
|
1383
1398
|
templateEditor: false,
|
|
1384
|
-
mediaType:
|
|
1399
|
+
mediaType: "TEXT",
|
|
1385
1400
|
languages: [
|
|
1386
1401
|
{
|
|
1387
|
-
content:
|
|
1388
|
-
language:
|
|
1402
|
+
content: "Hi {{1}}, your payment is successful.",
|
|
1403
|
+
language: "en",
|
|
1389
1404
|
},
|
|
1390
1405
|
],
|
|
1391
|
-
category:
|
|
1406
|
+
category: "ALERT_UPDATE",
|
|
1392
1407
|
rejection_reason: null,
|
|
1393
1408
|
},
|
|
1394
1409
|
},
|
|
@@ -1396,17 +1411,17 @@ export default {
|
|
|
1396
1411
|
},
|
|
1397
1412
|
isActive: true,
|
|
1398
1413
|
orgId: 50371,
|
|
1399
|
-
createdBy:
|
|
1400
|
-
updatedBy:
|
|
1401
|
-
createdAt:
|
|
1402
|
-
updatedAt:
|
|
1414
|
+
createdBy: "15000449",
|
|
1415
|
+
updatedBy: "15000449",
|
|
1416
|
+
createdAt: "2022-07-17T11:08:56.326Z",
|
|
1417
|
+
updatedAt: "2022-07-17T11:08:56.326Z",
|
|
1403
1418
|
totalCount: 7,
|
|
1404
1419
|
},
|
|
1405
1420
|
rcsPreviewTemplateData: {
|
|
1406
|
-
mode:
|
|
1407
|
-
_id:
|
|
1408
|
-
name:
|
|
1409
|
-
type:
|
|
1421
|
+
mode: "preview",
|
|
1422
|
+
_id: "620e213d39bd394c58aeaaca",
|
|
1423
|
+
name: "amit123456",
|
|
1424
|
+
type: "RCS",
|
|
1410
1425
|
versions: {
|
|
1411
1426
|
$init: true,
|
|
1412
1427
|
history: [],
|
|
@@ -1415,22 +1430,22 @@ export default {
|
|
|
1415
1430
|
RCS: {
|
|
1416
1431
|
cardContent: [
|
|
1417
1432
|
{
|
|
1418
|
-
title:
|
|
1419
|
-
description:
|
|
1420
|
-
mediaType:
|
|
1433
|
+
title: "title",
|
|
1434
|
+
description: "Desc",
|
|
1435
|
+
mediaType: "NONE",
|
|
1421
1436
|
media: {
|
|
1422
|
-
mediaUrl:
|
|
1423
|
-
height:
|
|
1437
|
+
mediaUrl: "",
|
|
1438
|
+
height: "MEDIUM",
|
|
1424
1439
|
},
|
|
1425
1440
|
},
|
|
1426
1441
|
],
|
|
1427
1442
|
cardSettings: {
|
|
1428
|
-
cardOrientation:
|
|
1443
|
+
cardOrientation: "VERTICAL",
|
|
1429
1444
|
},
|
|
1430
|
-
cardType:
|
|
1431
|
-
contentType:
|
|
1445
|
+
cardType: "STANDALONE",
|
|
1446
|
+
contentType: "RICHCARD",
|
|
1432
1447
|
smsFallBackContent: {
|
|
1433
|
-
message:
|
|
1448
|
+
message: "123",
|
|
1434
1449
|
},
|
|
1435
1450
|
},
|
|
1436
1451
|
},
|
|
@@ -1438,32 +1453,32 @@ export default {
|
|
|
1438
1453
|
},
|
|
1439
1454
|
isActive: true,
|
|
1440
1455
|
orgId: 50371,
|
|
1441
|
-
createdBy:
|
|
1442
|
-
updatedBy:
|
|
1443
|
-
createdAt:
|
|
1444
|
-
updatedAt:
|
|
1456
|
+
createdBy: "15000449",
|
|
1457
|
+
updatedBy: "15000449",
|
|
1458
|
+
createdAt: "2022-02-17T10:19:42.211Z",
|
|
1459
|
+
updatedAt: "2022-02-17T10:19:42.211Z",
|
|
1445
1460
|
totalCount: 12,
|
|
1446
|
-
updatedByName:
|
|
1461
|
+
updatedByName: "Ashish Karan fd",
|
|
1447
1462
|
},
|
|
1448
1463
|
getCreativesParamsOutput: {
|
|
1449
1464
|
_id: undefined,
|
|
1450
1465
|
account: undefined,
|
|
1451
|
-
mode:
|
|
1466
|
+
mode: "edit",
|
|
1452
1467
|
modeType: undefined,
|
|
1453
|
-
type:
|
|
1454
|
-
whatsappTemplateCategory:
|
|
1455
|
-
whatsappTemplateLanguageCode:
|
|
1456
|
-
whatsappTemplateName:
|
|
1468
|
+
type: "WHATSAPP",
|
|
1469
|
+
whatsappTemplateCategory: "",
|
|
1470
|
+
whatsappTemplateLanguageCode: "",
|
|
1471
|
+
whatsappTemplateName: "",
|
|
1457
1472
|
},
|
|
1458
1473
|
location: {
|
|
1459
|
-
pathname:
|
|
1460
|
-
search:
|
|
1461
|
-
hash:
|
|
1462
|
-
key:
|
|
1474
|
+
pathname: "/creatives/ui/v2",
|
|
1475
|
+
search: "",
|
|
1476
|
+
hash: "",
|
|
1477
|
+
key: "m54f43",
|
|
1463
1478
|
},
|
|
1464
1479
|
match: {
|
|
1465
|
-
path:
|
|
1466
|
-
url:
|
|
1480
|
+
path: "/creatives/ui/v2",
|
|
1481
|
+
url: "/creatives/ui/v2",
|
|
1467
1482
|
isExact: true,
|
|
1468
1483
|
params: {},
|
|
1469
1484
|
},
|
|
@@ -1474,24 +1489,24 @@ export default {
|
|
|
1474
1489
|
proxyOrgList: [
|
|
1475
1490
|
{
|
|
1476
1491
|
orgID: 1001,
|
|
1477
|
-
orgName:
|
|
1492
|
+
orgName: "org1",
|
|
1478
1493
|
},
|
|
1479
1494
|
{
|
|
1480
1495
|
orgID: 1002,
|
|
1481
|
-
orgName:
|
|
1496
|
+
orgName: "org2",
|
|
1482
1497
|
},
|
|
1483
1498
|
],
|
|
1484
1499
|
attributes: {
|
|
1485
1500
|
USERNAME: {
|
|
1486
|
-
value:
|
|
1501
|
+
value: "capUser",
|
|
1487
1502
|
},
|
|
1488
1503
|
EMAIL: {
|
|
1489
|
-
value:
|
|
1504
|
+
value: "capUser@capillary.com",
|
|
1490
1505
|
},
|
|
1491
1506
|
},
|
|
1492
1507
|
refID: 101,
|
|
1493
|
-
orgName:
|
|
1494
|
-
orgID:
|
|
1508
|
+
orgName: "org1",
|
|
1509
|
+
orgID: "1001",
|
|
1495
1510
|
},
|
|
1496
1511
|
isLoggedIn: true,
|
|
1497
1512
|
currentOrgDetails: {},
|
|
@@ -1500,10 +1515,10 @@ export default {
|
|
|
1500
1515
|
localeLoading: false,
|
|
1501
1516
|
},
|
|
1502
1517
|
linePreviewTemplateData1: {
|
|
1503
|
-
mode:
|
|
1504
|
-
_id:
|
|
1505
|
-
name:
|
|
1506
|
-
type:
|
|
1518
|
+
mode: "preview",
|
|
1519
|
+
_id: "62a810e4d4715c768d6ee9cf",
|
|
1520
|
+
name: "Demo Old Template 2(Multiple images)",
|
|
1521
|
+
type: "LINE",
|
|
1507
1522
|
versions: {
|
|
1508
1523
|
$init: true,
|
|
1509
1524
|
history: [],
|
|
@@ -1511,101 +1526,101 @@ export default {
|
|
|
1511
1526
|
content: {
|
|
1512
1527
|
messages: [
|
|
1513
1528
|
{
|
|
1514
|
-
altText:
|
|
1529
|
+
altText: "Demo Old Template 2(Multiple images)",
|
|
1515
1530
|
template: {
|
|
1516
|
-
type:
|
|
1531
|
+
type: "image_carousel",
|
|
1517
1532
|
columns: [
|
|
1518
1533
|
{
|
|
1519
1534
|
action: {
|
|
1520
|
-
uri:
|
|
1521
|
-
label:
|
|
1522
|
-
type:
|
|
1535
|
+
uri: "https://www.demo.com",
|
|
1536
|
+
label: "Demo Old 2",
|
|
1537
|
+
type: "uri",
|
|
1523
1538
|
},
|
|
1524
1539
|
imageUrl:
|
|
1525
|
-
|
|
1540
|
+
"https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/f374edfe-1fd4-4b15-a6f7-74d5d86.jpeg",
|
|
1526
1541
|
},
|
|
1527
1542
|
{
|
|
1528
|
-
imageUrl:
|
|
1543
|
+
imageUrl: "",
|
|
1529
1544
|
},
|
|
1530
1545
|
],
|
|
1531
1546
|
},
|
|
1532
1547
|
},
|
|
1533
1548
|
],
|
|
1534
|
-
to:
|
|
1549
|
+
to: "{{line_id}}",
|
|
1535
1550
|
},
|
|
1536
1551
|
},
|
|
1537
1552
|
},
|
|
1538
1553
|
isActive: true,
|
|
1539
1554
|
orgId: 1604,
|
|
1540
|
-
createdBy:
|
|
1541
|
-
updatedBy:
|
|
1542
|
-
createdAt:
|
|
1543
|
-
updatedAt:
|
|
1555
|
+
createdBy: "15000449",
|
|
1556
|
+
updatedBy: "15000449",
|
|
1557
|
+
createdAt: "2022-06-14T04:39:00.665Z",
|
|
1558
|
+
updatedAt: "2022-06-14T04:39:00.665Z",
|
|
1544
1559
|
definition: {
|
|
1545
|
-
mode:
|
|
1560
|
+
mode: "template",
|
|
1546
1561
|
},
|
|
1547
1562
|
totalCount: 1,
|
|
1548
|
-
updatedByName:
|
|
1563
|
+
updatedByName: "Ashish Karan fd",
|
|
1549
1564
|
},
|
|
1550
1565
|
linePreviewTemplateData2: {
|
|
1551
|
-
mode:
|
|
1552
|
-
_id:
|
|
1553
|
-
name:
|
|
1554
|
-
type:
|
|
1566
|
+
mode: "preview",
|
|
1567
|
+
_id: "629f7ecf134738019b2e332e",
|
|
1568
|
+
name: "ggg1",
|
|
1569
|
+
type: "LINE",
|
|
1555
1570
|
versions: {
|
|
1556
1571
|
$init: true,
|
|
1557
1572
|
history: [],
|
|
1558
1573
|
base: {
|
|
1559
1574
|
content: {
|
|
1560
|
-
to:
|
|
1575
|
+
to: "{{line_id}}",
|
|
1561
1576
|
messages: [
|
|
1562
1577
|
{
|
|
1563
|
-
type:
|
|
1564
|
-
altText:
|
|
1578
|
+
type: "flex",
|
|
1579
|
+
altText: "ggg",
|
|
1565
1580
|
contents: {
|
|
1566
1581
|
contents: [
|
|
1567
1582
|
{
|
|
1568
|
-
type:
|
|
1583
|
+
type: "bubble",
|
|
1569
1584
|
hero: {
|
|
1570
|
-
type:
|
|
1571
|
-
url:
|
|
1572
|
-
size:
|
|
1573
|
-
aspectRatio:
|
|
1574
|
-
aspectMode:
|
|
1585
|
+
type: "image",
|
|
1586
|
+
url: "https://crm-nightly-new-fileservice.s3.amazonaws.com/intouch_creative_assets/b9f2aa7a-3f1a-4a20-a737-8d50841.jpeg",
|
|
1587
|
+
size: "full",
|
|
1588
|
+
aspectRatio: "1:1",
|
|
1589
|
+
aspectMode: "cover",
|
|
1575
1590
|
},
|
|
1576
1591
|
footer: {
|
|
1577
|
-
type:
|
|
1578
|
-
layout:
|
|
1579
|
-
spacing:
|
|
1592
|
+
type: "box",
|
|
1593
|
+
layout: "vertical",
|
|
1594
|
+
spacing: "xs",
|
|
1580
1595
|
contents: [
|
|
1581
1596
|
{
|
|
1582
|
-
type:
|
|
1583
|
-
style:
|
|
1584
|
-
height:
|
|
1597
|
+
type: "button",
|
|
1598
|
+
style: "link",
|
|
1599
|
+
height: "sm",
|
|
1585
1600
|
action: {
|
|
1586
|
-
type:
|
|
1587
|
-
label:
|
|
1588
|
-
text:
|
|
1601
|
+
type: "message",
|
|
1602
|
+
label: "ggg",
|
|
1603
|
+
text: "ggg",
|
|
1589
1604
|
},
|
|
1590
1605
|
},
|
|
1591
1606
|
],
|
|
1592
1607
|
},
|
|
1593
1608
|
},
|
|
1594
1609
|
{
|
|
1595
|
-
type:
|
|
1610
|
+
type: "bubble",
|
|
1596
1611
|
hero: {},
|
|
1597
1612
|
footer: {
|
|
1598
|
-
type:
|
|
1599
|
-
layout:
|
|
1600
|
-
spacing:
|
|
1613
|
+
type: "box",
|
|
1614
|
+
layout: "vertical",
|
|
1615
|
+
spacing: "xs",
|
|
1601
1616
|
contents: [{}],
|
|
1602
1617
|
},
|
|
1603
1618
|
},
|
|
1604
1619
|
{
|
|
1605
|
-
type:
|
|
1620
|
+
type: "bubble",
|
|
1606
1621
|
},
|
|
1607
1622
|
],
|
|
1608
|
-
type:
|
|
1623
|
+
type: "carousel",
|
|
1609
1624
|
},
|
|
1610
1625
|
},
|
|
1611
1626
|
],
|
|
@@ -1614,14 +1629,136 @@ export default {
|
|
|
1614
1629
|
},
|
|
1615
1630
|
isActive: true,
|
|
1616
1631
|
orgId: 1604,
|
|
1617
|
-
createdBy:
|
|
1618
|
-
updatedBy:
|
|
1619
|
-
createdAt:
|
|
1620
|
-
updatedAt:
|
|
1632
|
+
createdBy: "15000449",
|
|
1633
|
+
updatedBy: "15000449",
|
|
1634
|
+
createdAt: "2022-06-07T16:37:35.447Z",
|
|
1635
|
+
updatedAt: "2022-06-07T16:42:02.243Z",
|
|
1621
1636
|
definition: {
|
|
1622
|
-
mode:
|
|
1637
|
+
mode: "template",
|
|
1623
1638
|
},
|
|
1624
1639
|
totalCount: 1,
|
|
1625
|
-
updatedByName:
|
|
1640
|
+
updatedByName: "Ashish Karan fd",
|
|
1641
|
+
},
|
|
1642
|
+
zaloTemplates: {
|
|
1643
|
+
selectedZaloAccount: {
|
|
1644
|
+
sourceTypeName: "ZALO",
|
|
1645
|
+
name: "capillary_zns",
|
|
1646
|
+
isActive: true,
|
|
1647
|
+
sourceTypeId: 29,
|
|
1648
|
+
configs: {
|
|
1649
|
+
accessToken: "Bearer 3f506142-b06c-4f7b-b922-44da363e77e7",
|
|
1650
|
+
promotionalMessagingSSID: "",
|
|
1651
|
+
transactionalMessagingSSID: "",
|
|
1652
|
+
},
|
|
1653
|
+
hostName: "",
|
|
1654
|
+
toMirror: true,
|
|
1655
|
+
id: 85,
|
|
1656
|
+
uuid: "fa66f53ca2bb4b93b02dfc5bd265e2fd",
|
|
1657
|
+
sourceAccountIdentifier: "4404293319006178133",
|
|
1658
|
+
commChannels: ["zalo"],
|
|
1659
|
+
},
|
|
1660
|
+
getAllTemplatesInProgress: false,
|
|
1661
|
+
weCrmAccountFetchingError: false,
|
|
1662
|
+
weCRMtemplates: [],
|
|
1663
|
+
templateError: {},
|
|
1664
|
+
fetchingWeCrmAccounts: false,
|
|
1665
|
+
fetchingUserList: false,
|
|
1666
|
+
isSearch: false,
|
|
1667
|
+
weCrmAccounts: [
|
|
1668
|
+
{
|
|
1669
|
+
sourceTypeName: "ZALO",
|
|
1670
|
+
name: "capillary_zns",
|
|
1671
|
+
isActive: true,
|
|
1672
|
+
sourceTypeId: 29,
|
|
1673
|
+
configs: {
|
|
1674
|
+
accessToken: "Bearer 3f506142-b06c-4f7b-b922-44da363e77e7",
|
|
1675
|
+
promotionalMessagingSSID: "",
|
|
1676
|
+
transactionalMessagingSSID: "",
|
|
1677
|
+
},
|
|
1678
|
+
toMirror: true,
|
|
1679
|
+
id: 85,
|
|
1680
|
+
uuid: "fa66f53ca2bb4b93b02dfc5bd265e2fd",
|
|
1681
|
+
sourceAccountIdentifier: "4404293319006178133",
|
|
1682
|
+
commChannels: ["zalo"],
|
|
1683
|
+
},
|
|
1684
|
+
],
|
|
1685
|
+
userListFetchError: false,
|
|
1686
|
+
templates: [
|
|
1687
|
+
{
|
|
1688
|
+
name: "Test1",
|
|
1689
|
+
versions: {
|
|
1690
|
+
base: {
|
|
1691
|
+
content: {
|
|
1692
|
+
ZALO: {
|
|
1693
|
+
templateId: "268531",
|
|
1694
|
+
templateName: "Test1",
|
|
1695
|
+
status: "approved",
|
|
1696
|
+
listParams: [
|
|
1697
|
+
{
|
|
1698
|
+
name: "danh_xung",
|
|
1699
|
+
require: true,
|
|
1700
|
+
type: "STRING",
|
|
1701
|
+
maxLength: 30,
|
|
1702
|
+
minLength: 0,
|
|
1703
|
+
acceptNull: false,
|
|
1704
|
+
},
|
|
1705
|
+
{
|
|
1706
|
+
name: "name",
|
|
1707
|
+
require: true,
|
|
1708
|
+
type: "STRING",
|
|
1709
|
+
maxLength: 30,
|
|
1710
|
+
minLength: 0,
|
|
1711
|
+
acceptNull: false,
|
|
1712
|
+
},
|
|
1713
|
+
],
|
|
1714
|
+
previewUrl:
|
|
1715
|
+
"https://account.zalo.cloud/znspreview/-e0cMil4NU5WUUAVzP7T_g==",
|
|
1716
|
+
},
|
|
1717
|
+
},
|
|
1718
|
+
},
|
|
1719
|
+
},
|
|
1720
|
+
type: "ZALO",
|
|
1721
|
+
},
|
|
1722
|
+
{
|
|
1723
|
+
name: "Test2",
|
|
1724
|
+
versions: {
|
|
1725
|
+
base: {
|
|
1726
|
+
content: {
|
|
1727
|
+
ZALO: {
|
|
1728
|
+
templateId: "268532",
|
|
1729
|
+
templateName: "Test2",
|
|
1730
|
+
status: "approved",
|
|
1731
|
+
listParams: [
|
|
1732
|
+
{
|
|
1733
|
+
name: "danh_xung",
|
|
1734
|
+
require: true,
|
|
1735
|
+
type: "STRING",
|
|
1736
|
+
maxLength: 30,
|
|
1737
|
+
minLength: 0,
|
|
1738
|
+
acceptNull: false,
|
|
1739
|
+
},
|
|
1740
|
+
{
|
|
1741
|
+
name: "name",
|
|
1742
|
+
require: true,
|
|
1743
|
+
type: "STRING",
|
|
1744
|
+
maxLength: 30,
|
|
1745
|
+
minLength: 0,
|
|
1746
|
+
acceptNull: false,
|
|
1747
|
+
},
|
|
1748
|
+
],
|
|
1749
|
+
previewUrl:
|
|
1750
|
+
"https://account.zalo.cloud/znspreview/-e0cMil4NU5WUUAVzP7T_g==",
|
|
1751
|
+
},
|
|
1752
|
+
},
|
|
1753
|
+
},
|
|
1754
|
+
},
|
|
1755
|
+
type: "ZALO",
|
|
1756
|
+
},
|
|
1757
|
+
],
|
|
1626
1758
|
},
|
|
1759
|
+
zaloEditTemplateData: {
|
|
1760
|
+
_id: 42342,
|
|
1761
|
+
name: 'Test sample',
|
|
1762
|
+
type: 'ZALO'
|
|
1763
|
+
}
|
|
1627
1764
|
};
|