mcdev 4.2.0 → 4.3.0
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/.github/ISSUE_TEMPLATE/bug.yml +2 -0
- package/.github/PULL_REQUEST_TEMPLATE.md +1 -2
- package/.github/pr-labeler.yml +3 -0
- package/.github/workflows/close_issues_on_merge.yml +18 -0
- package/.github/workflows/pr-labeler.yml +19 -0
- package/LICENSE +1 -1
- package/README.md +1 -1
- package/docs/dist/documentation.md +703 -283
- package/lib/Deployer.js +21 -15
- package/lib/Retriever.js +23 -19
- package/lib/cli.js +36 -6
- package/lib/index.js +57 -11
- package/lib/metadataTypes/AccountUser.js +17 -23
- package/lib/metadataTypes/Asset.js +28 -21
- package/lib/metadataTypes/AttributeGroup.js +1 -2
- package/lib/metadataTypes/Automation.js +75 -37
- package/lib/metadataTypes/Campaign.js +4 -3
- package/lib/metadataTypes/ContentArea.js +2 -3
- package/lib/metadataTypes/DataExtension.js +56 -47
- package/lib/metadataTypes/DataExtensionField.js +9 -12
- package/lib/metadataTypes/DataExtensionTemplate.js +2 -3
- package/lib/metadataTypes/DataExtract.js +1 -2
- package/lib/metadataTypes/DataExtractType.js +1 -2
- package/lib/metadataTypes/Discovery.js +3 -4
- package/lib/metadataTypes/Email.js +20 -6
- package/lib/metadataTypes/EmailSendDefinition.js +5 -8
- package/lib/metadataTypes/EventDefinition.js +29 -2
- package/lib/metadataTypes/FileTransfer.js +1 -2
- package/lib/metadataTypes/Filter.js +1 -2
- package/lib/metadataTypes/Folder.js +12 -14
- package/lib/metadataTypes/FtpLocation.js +1 -2
- package/lib/metadataTypes/ImportFile.js +1 -2
- package/lib/metadataTypes/Interaction.js +678 -12
- package/lib/metadataTypes/List.js +36 -33
- package/lib/metadataTypes/MetadataType.js +170 -124
- package/lib/metadataTypes/MobileCode.js +1 -2
- package/lib/metadataTypes/MobileKeyword.js +1 -2
- package/lib/metadataTypes/Query.js +15 -6
- package/lib/metadataTypes/Role.js +10 -11
- package/lib/metadataTypes/Script.js +2 -5
- package/lib/metadataTypes/SetDefinition.js +1 -2
- package/lib/metadataTypes/TransactionalMessage.js +25 -32
- package/lib/metadataTypes/TransactionalSMS.js +3 -4
- package/lib/metadataTypes/TriggeredSendDefinition.js +232 -56
- package/lib/metadataTypes/definitions/Asset.definition.js +1 -1
- package/lib/metadataTypes/definitions/Automation.definition.js +1 -1
- package/lib/metadataTypes/definitions/DataExtension.definition.js +10 -1
- package/lib/metadataTypes/definitions/Email.definition.js +1 -1
- package/lib/metadataTypes/definitions/EmailSendDefinition.definition.js +1 -1
- package/lib/metadataTypes/definitions/EventDefinition.definition.js +40 -1
- package/lib/metadataTypes/definitions/Folder.definition.js +31 -0
- package/lib/metadataTypes/definitions/ImportFile.definition.js +1 -1
- package/lib/metadataTypes/definitions/Interaction.definition.js +47 -26
- package/lib/metadataTypes/definitions/List.definition.js +1 -1
- package/lib/metadataTypes/definitions/Query.definition.js +1 -1
- package/lib/metadataTypes/definitions/Script.definition.js +1 -1
- package/lib/metadataTypes/definitions/TransactionalEmail.definition.js +2 -1
- package/lib/metadataTypes/definitions/TransactionalPush.definition.js +2 -1
- package/lib/metadataTypes/definitions/TransactionalSMS.definition.js +2 -1
- package/lib/metadataTypes/definitions/TriggeredSendDefinition.definition.js +10 -2
- package/lib/util/auth.js +10 -2
- package/lib/util/cli.js +4 -1
- package/lib/util/config.js +3 -2
- package/lib/util/file.js +7 -3
- package/lib/util/init.js +65 -3
- package/lib/util/util.js +131 -11
- package/package.json +22 -9
- package/test/dataExtension.test.js +10 -10
- package/test/interaction.test.js +123 -0
- package/test/mockRoot/.mcdevrc.json +1 -1
- package/test/mockRoot/deploy/testInstance/testBU/interaction/testExisting_interaction.interaction-meta.json +266 -0
- package/test/mockRoot/deploy/testInstance/testBU/interaction/testNew_interaction.interaction-meta.json +266 -0
- package/test/mockRoot/deploy/testInstance/testBU/transactionalEmail/testExisting_temail.transactionalEmail-meta.json +0 -3
- package/test/query.test.js +8 -8
- package/test/resourceFactory.js +12 -7
- package/test/resources/1111111/dataExtension/retrieve-response.xml +26 -0
- package/test/resources/9999999/data/v1/customobjectdata/key/childBU_dataextension_test/rowset/get-response.json +13 -0
- package/test/resources/9999999/dataFolder/retrieve-response.xml +22 -0
- package/test/resources/9999999/eventDefinition/get-expected.json +34 -0
- package/test/resources/9999999/interaction/build-expected.json +260 -0
- package/test/resources/9999999/interaction/get-expected.json +264 -0
- package/test/resources/9999999/interaction/post-expected.json +264 -0
- package/test/resources/9999999/interaction/put-expected.json +264 -0
- package/test/resources/9999999/interaction/template-expected.json +260 -0
- package/test/resources/9999999/interaction/v1/EventDefinitions/get-response.json +43 -0
- package/test/resources/9999999/interaction/v1/interactions/get-response.json +222 -3
- package/test/resources/9999999/interaction/v1/interactions/post-response.json +280 -0
- package/test/resources/9999999/interaction/v1/interactions/put-response.json +280 -0
- package/test/resources/9999999/messaging/v1/email/definitions/post-response.json +1 -1
- package/test/resources/9999999/query/post-expected.sql +1 -1
- package/test/resources/9999999/transactionalEmail/post-expected.json +1 -1
- package/test/transactionalEmail.test.js +7 -7
- package/test/transactionalPush.test.js +7 -7
- package/test/transactionalSMS.test.js +7 -7
- package/test/utils.js +50 -0
- package/types/mcdev.d.js +1 -0
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
{
|
|
2
|
+
"key": "testExisting_interaction",
|
|
3
|
+
"name": "testExisting_interaction",
|
|
4
|
+
"description": "{{{description}}}",
|
|
5
|
+
"workflowApiVersion": 1,
|
|
6
|
+
"modifiedDate": "2017-04-12T08:07:48.333",
|
|
7
|
+
"activities": [
|
|
8
|
+
{
|
|
9
|
+
"id": "69213026-bd2c-433b-8332-5f52d3e87ca5",
|
|
10
|
+
"key": "WAIT-1",
|
|
11
|
+
"name": "",
|
|
12
|
+
"description": "",
|
|
13
|
+
"type": "WAIT",
|
|
14
|
+
"outcomes": [
|
|
15
|
+
{
|
|
16
|
+
"key": "bd3dff6b-565c-4b56-b9cb-60cd5b6d080b",
|
|
17
|
+
"next": "DATAEXTENSIONUPDATE-1",
|
|
18
|
+
"arguments": {},
|
|
19
|
+
"metaData": {}
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"arguments": {
|
|
23
|
+
"waitDefinitionId": "546704c0-9384-4a41-b20e-97615cc6cc6a",
|
|
24
|
+
"waitForEventId": "",
|
|
25
|
+
"executionMode": "{{Context.ExecutionMode}}",
|
|
26
|
+
"startActivityKey": "{{Context.StartActivityKey}}",
|
|
27
|
+
"waitQueueId": "{{Context.WaitQueueId}}"
|
|
28
|
+
},
|
|
29
|
+
"configurationArguments": {
|
|
30
|
+
"waitDuration": 1,
|
|
31
|
+
"waitUnit": "DAYS",
|
|
32
|
+
"specifiedTime": "",
|
|
33
|
+
"timeZone": "",
|
|
34
|
+
"description": "",
|
|
35
|
+
"waitForEventKey": ""
|
|
36
|
+
},
|
|
37
|
+
"metaData": { "waitType": "duration" },
|
|
38
|
+
"schema": {
|
|
39
|
+
"arguments": {
|
|
40
|
+
"endDate": {
|
|
41
|
+
"dataType": "Date",
|
|
42
|
+
"isNullable": false,
|
|
43
|
+
"direction": "Out",
|
|
44
|
+
"readOnly": false,
|
|
45
|
+
"access": "Hidden"
|
|
46
|
+
},
|
|
47
|
+
"waitEndDateAttributeDataBound": {
|
|
48
|
+
"dataType": "Text",
|
|
49
|
+
"isNullable": true,
|
|
50
|
+
"direction": "In",
|
|
51
|
+
"readOnly": false,
|
|
52
|
+
"access": "Hidden"
|
|
53
|
+
},
|
|
54
|
+
"waitDefinitionId": {
|
|
55
|
+
"dataType": "Text",
|
|
56
|
+
"isNullable": false,
|
|
57
|
+
"direction": "In",
|
|
58
|
+
"readOnly": false,
|
|
59
|
+
"access": "Hidden"
|
|
60
|
+
},
|
|
61
|
+
"waitForEventId": {
|
|
62
|
+
"dataType": "Text",
|
|
63
|
+
"isNullable": true,
|
|
64
|
+
"direction": "In",
|
|
65
|
+
"readOnly": false,
|
|
66
|
+
"access": "Hidden"
|
|
67
|
+
},
|
|
68
|
+
"executionMode": {
|
|
69
|
+
"dataType": "Text",
|
|
70
|
+
"isNullable": false,
|
|
71
|
+
"direction": "In",
|
|
72
|
+
"readOnly": false,
|
|
73
|
+
"access": "Hidden"
|
|
74
|
+
},
|
|
75
|
+
"startActivityKey": {
|
|
76
|
+
"dataType": "Text",
|
|
77
|
+
"isNullable": true,
|
|
78
|
+
"direction": "In",
|
|
79
|
+
"readOnly": false,
|
|
80
|
+
"access": "Hidden"
|
|
81
|
+
},
|
|
82
|
+
"waitQueueId": {
|
|
83
|
+
"dataType": "LongNumber",
|
|
84
|
+
"isNullable": true,
|
|
85
|
+
"direction": "In",
|
|
86
|
+
"readOnly": false,
|
|
87
|
+
"access": "Hidden"
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"id": "5d93cda9-2015-4c07-a1db-0d5853d25bf6",
|
|
94
|
+
"key": "WAIT-2",
|
|
95
|
+
"name": "",
|
|
96
|
+
"description": "",
|
|
97
|
+
"type": "WAIT",
|
|
98
|
+
"outcomes": [
|
|
99
|
+
{
|
|
100
|
+
"key": "e3d3258a-891b-4838-b5a6-af37f8cb769a",
|
|
101
|
+
"arguments": {},
|
|
102
|
+
"metaData": {}
|
|
103
|
+
}
|
|
104
|
+
],
|
|
105
|
+
"arguments": {
|
|
106
|
+
"waitDefinitionId": "deed4c9d-f487-4371-bfd9-76fca44ec49b",
|
|
107
|
+
"waitForEventId": "",
|
|
108
|
+
"executionMode": "{{Context.ExecutionMode}}",
|
|
109
|
+
"startActivityKey": "{{Context.StartActivityKey}}",
|
|
110
|
+
"waitQueueId": "{{Context.WaitQueueId}}"
|
|
111
|
+
},
|
|
112
|
+
"configurationArguments": {
|
|
113
|
+
"waitDuration": 1,
|
|
114
|
+
"waitUnit": "DAYS",
|
|
115
|
+
"specifiedTime": "",
|
|
116
|
+
"timeZone": "",
|
|
117
|
+
"description": "",
|
|
118
|
+
"waitForEventKey": ""
|
|
119
|
+
},
|
|
120
|
+
"metaData": { "waitType": "duration" },
|
|
121
|
+
"schema": {
|
|
122
|
+
"arguments": {
|
|
123
|
+
"endDate": {
|
|
124
|
+
"dataType": "Date",
|
|
125
|
+
"isNullable": false,
|
|
126
|
+
"direction": "Out",
|
|
127
|
+
"readOnly": false,
|
|
128
|
+
"access": "Hidden"
|
|
129
|
+
},
|
|
130
|
+
"waitEndDateAttributeDataBound": {
|
|
131
|
+
"dataType": "Text",
|
|
132
|
+
"isNullable": true,
|
|
133
|
+
"direction": "In",
|
|
134
|
+
"readOnly": false,
|
|
135
|
+
"access": "Hidden"
|
|
136
|
+
},
|
|
137
|
+
"waitDefinitionId": {
|
|
138
|
+
"dataType": "Text",
|
|
139
|
+
"isNullable": false,
|
|
140
|
+
"direction": "In",
|
|
141
|
+
"readOnly": false,
|
|
142
|
+
"access": "Hidden"
|
|
143
|
+
},
|
|
144
|
+
"waitForEventId": {
|
|
145
|
+
"dataType": "Text",
|
|
146
|
+
"isNullable": true,
|
|
147
|
+
"direction": "In",
|
|
148
|
+
"readOnly": false,
|
|
149
|
+
"access": "Hidden"
|
|
150
|
+
},
|
|
151
|
+
"executionMode": {
|
|
152
|
+
"dataType": "Text",
|
|
153
|
+
"isNullable": false,
|
|
154
|
+
"direction": "In",
|
|
155
|
+
"readOnly": false,
|
|
156
|
+
"access": "Hidden"
|
|
157
|
+
},
|
|
158
|
+
"startActivityKey": {
|
|
159
|
+
"dataType": "Text",
|
|
160
|
+
"isNullable": true,
|
|
161
|
+
"direction": "In",
|
|
162
|
+
"readOnly": false,
|
|
163
|
+
"access": "Hidden"
|
|
164
|
+
},
|
|
165
|
+
"waitQueueId": {
|
|
166
|
+
"dataType": "LongNumber",
|
|
167
|
+
"isNullable": true,
|
|
168
|
+
"direction": "In",
|
|
169
|
+
"readOnly": false,
|
|
170
|
+
"access": "Hidden"
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"id": "ef4db13e-83f0-4d41-981d-4bf5810c0daa",
|
|
177
|
+
"key": "DATAEXTENSIONUPDATE-1",
|
|
178
|
+
"name": "",
|
|
179
|
+
"description": "",
|
|
180
|
+
"type": "DATAEXTENSIONUPDATE",
|
|
181
|
+
"outcomes": [
|
|
182
|
+
{
|
|
183
|
+
"key": "a49ecf04-4612-4582-85fe-d7193f872fa8",
|
|
184
|
+
"next": "WAIT-2",
|
|
185
|
+
"arguments": {},
|
|
186
|
+
"metaData": {}
|
|
187
|
+
}
|
|
188
|
+
],
|
|
189
|
+
"arguments": { "contactKey": "{{Contact.Key}}", "value": "{{DateTime.Now}}" },
|
|
190
|
+
"configurationArguments": {
|
|
191
|
+
"dataExtensionId": "ace267f0-b81d-e711-80cc-1402ec7222b4",
|
|
192
|
+
"field": "4e875b26-0317-4525-bfa0-50c8d1b7a7b5"
|
|
193
|
+
},
|
|
194
|
+
"metaData": {
|
|
195
|
+
"dataExtensionName": "test_TestData",
|
|
196
|
+
"cachedFieldName": "JourneyConfirmed",
|
|
197
|
+
"cachedDisplayValue": ""
|
|
198
|
+
},
|
|
199
|
+
"schema": {
|
|
200
|
+
"arguments": {
|
|
201
|
+
"contactKey": {
|
|
202
|
+
"dataType": "Text",
|
|
203
|
+
"isNullable": false,
|
|
204
|
+
"direction": "In",
|
|
205
|
+
"readOnly": false,
|
|
206
|
+
"access": "Hidden"
|
|
207
|
+
},
|
|
208
|
+
"value": {
|
|
209
|
+
"dataType": "Text",
|
|
210
|
+
"isNullable": false,
|
|
211
|
+
"direction": "In",
|
|
212
|
+
"readOnly": false,
|
|
213
|
+
"access": "Hidden"
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
],
|
|
219
|
+
"triggers": [
|
|
220
|
+
{
|
|
221
|
+
"key": "TRIGGER",
|
|
222
|
+
"name": "test_TESTDataentry",
|
|
223
|
+
"description": "",
|
|
224
|
+
"type": "APIEvent",
|
|
225
|
+
"outcomes": [],
|
|
226
|
+
"arguments": {
|
|
227
|
+
"filterResult": "{{Contact.FilterId.e4ddb887-6f2d-46b1-9f64-9a020f217339}}"
|
|
228
|
+
},
|
|
229
|
+
"configurationArguments": {
|
|
230
|
+
"schemaVersionId": 133,
|
|
231
|
+
"criteria": "<FilterDefinition><ConditionSet Operator=\"AND\" ConditionSetName=\"Individual Filter Grouping\"></ConditionSet></FilterDefinition>",
|
|
232
|
+
"filterDefinitionId": "e4ddb887-6f2d-46b1-9f64-9a020f217339"
|
|
233
|
+
},
|
|
234
|
+
"metaData": {
|
|
235
|
+
"scheduleState": "No Schedule",
|
|
236
|
+
"sourceInteractionId": "00000000-0000-0000-0000-000000000000",
|
|
237
|
+
"eventDefinitionKey": "APIEvent-60130566-e2fe-eb29-4140-15c27093a80b",
|
|
238
|
+
"chainType": "None",
|
|
239
|
+
"configurationRequired": false,
|
|
240
|
+
"iconUrl": "/events/images/icon_journeyBuilder-event-api-blue.svg",
|
|
241
|
+
"title": "",
|
|
242
|
+
"category": "Event"
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
],
|
|
246
|
+
"goals": [],
|
|
247
|
+
"exits": [],
|
|
248
|
+
"notifiers": [],
|
|
249
|
+
"entryMode": "OnceAndDone",
|
|
250
|
+
"definitionType": "Multistep",
|
|
251
|
+
"channel": "",
|
|
252
|
+
"defaults": {
|
|
253
|
+
"email": ["{{Event.APIEvent-60130566-e2fe-eb29-4140-15c27093a80b.\"emailAddress\"}}"],
|
|
254
|
+
"properties": {}
|
|
255
|
+
},
|
|
256
|
+
"metaData": {},
|
|
257
|
+
"executionMode": "Production",
|
|
258
|
+
"scheduledStatus": "Draft",
|
|
259
|
+
"r__folder_Path": "my journeys"
|
|
260
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"count": 1,
|
|
3
|
+
"page": 1,
|
|
4
|
+
"pageSize": 50,
|
|
5
|
+
"links": {},
|
|
6
|
+
"items": [
|
|
7
|
+
{
|
|
8
|
+
"id": "33b4dbc5-4b58-4a54-ab57-24388f1eefe4",
|
|
9
|
+
"type": "APIEvent",
|
|
10
|
+
"name": "TestContact_Event",
|
|
11
|
+
"description": "",
|
|
12
|
+
"createdDate": "2018-08-03T07:55:27.38",
|
|
13
|
+
"createdBy": 7586085,
|
|
14
|
+
"modifiedDate": "2018-08-03T08:22:03.76",
|
|
15
|
+
"modifiedBy": 7586085,
|
|
16
|
+
"mode": "Production",
|
|
17
|
+
"eventDefinitionKey": "APIEvent-60130566-e2fe-eb29-4140-15c27093a80b",
|
|
18
|
+
"dataExtensionName": "Contact_Data",
|
|
19
|
+
"sourceApplicationExtensionId": "7db1f972-f8b7-49b6-91b5-fa218e13953d",
|
|
20
|
+
"filterDefinitionTemplate": "",
|
|
21
|
+
"iconUrl": "/events/images/icon_journeyBuilder-event-api-blue.svg",
|
|
22
|
+
"arguments": {
|
|
23
|
+
"serializedObjectType": 11,
|
|
24
|
+
"eventDefinitionKey": "APIEvent-60130566-e2fe-eb29-4140-15c27093a80b",
|
|
25
|
+
"dataExtensionId": "C25D5A59-5EBC-40C9-8D27-149831881D89",
|
|
26
|
+
"automationId": "00000000-0000-0000-0000-000000000000",
|
|
27
|
+
"criteria": "",
|
|
28
|
+
"useHighWatermark": false
|
|
29
|
+
},
|
|
30
|
+
"metaData": {
|
|
31
|
+
"scheduleState": "No Schedule",
|
|
32
|
+
"criteriaDescription": ""
|
|
33
|
+
},
|
|
34
|
+
"interactionCount": 1,
|
|
35
|
+
"isVisibleInPicker": true,
|
|
36
|
+
"isPlatformObject": false,
|
|
37
|
+
"category": "Event",
|
|
38
|
+
"publishedInteractionCount": 1,
|
|
39
|
+
"automationId": "00000000-0000-0000-0000-000000000000",
|
|
40
|
+
"disableDEDataLogging": false
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"count":
|
|
2
|
+
"count": 2,
|
|
3
3
|
"page": 1,
|
|
4
4
|
"pageSize": 50,
|
|
5
5
|
"links": {},
|
|
@@ -10,12 +10,231 @@
|
|
|
10
10
|
"cumulativePopulation": 961860
|
|
11
11
|
},
|
|
12
12
|
"items": [
|
|
13
|
+
{
|
|
14
|
+
"id": "dsfdsafdsa-922c-4568-85a5-e5cc77efc3be",
|
|
15
|
+
"key": "0b76dccf-594c-b6dc-1acf-10c4493dcb84",
|
|
16
|
+
"name": "testExisting_temail",
|
|
17
|
+
"lastPublishedDate": "0001-01-01T00:00:00",
|
|
18
|
+
"description": "",
|
|
19
|
+
"version": 1,
|
|
20
|
+
"workflowApiVersion": 1,
|
|
21
|
+
"createdDate": "2022-03-24T02:20:32.74",
|
|
22
|
+
"modifiedDate": "2022-03-24T02:20:40.45",
|
|
23
|
+
"activities": [
|
|
24
|
+
{
|
|
25
|
+
"id": "9606bcb0-9246-4610-9800-963bc77fc20a",
|
|
26
|
+
"key": "EMAILV2-4",
|
|
27
|
+
"name": "testExisting_temail",
|
|
28
|
+
"description": "",
|
|
29
|
+
"type": "EMAILV2",
|
|
30
|
+
"outcomes": [
|
|
31
|
+
{
|
|
32
|
+
"key": "1f44021a-74ac-49be-a07c-67862228214d",
|
|
33
|
+
"arguments": {},
|
|
34
|
+
"metaData": {
|
|
35
|
+
"invalid": false
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"arguments": {},
|
|
40
|
+
"configurationArguments": {
|
|
41
|
+
"applicationExtensionKey": "jb-email-activity",
|
|
42
|
+
"isModified": true,
|
|
43
|
+
"triggeredSend": {
|
|
44
|
+
"autoAddSubscribers": true,
|
|
45
|
+
"autoUpdateSubscribers": true,
|
|
46
|
+
"bccEmail": "",
|
|
47
|
+
"ccEmail": "",
|
|
48
|
+
"created": {},
|
|
49
|
+
"domainExclusions": [],
|
|
50
|
+
"dynamicEmailSubject": "test email",
|
|
51
|
+
"emailId": 25923,
|
|
52
|
+
"emailSubject": "test email",
|
|
53
|
+
"exclusionFilter": "",
|
|
54
|
+
"isSalesforceTracking": true,
|
|
55
|
+
"isMultipart": true,
|
|
56
|
+
"isSendLogging": false,
|
|
57
|
+
"isStoppedOnJobError": false,
|
|
58
|
+
"modified": {},
|
|
59
|
+
"preHeader": "",
|
|
60
|
+
"priority": 4,
|
|
61
|
+
"sendClassificationId": "1284e9b2-a7b8-e711-80cf-1402ec721c9d",
|
|
62
|
+
"throttleOpens": "1/1/0001 12:00:00 AM",
|
|
63
|
+
"throttleCloses": "1/1/0001 12:00:00 AM",
|
|
64
|
+
"deliveryProfileId": "1084e9b2-a7b8-e711-80cf-1402ec721c9d",
|
|
65
|
+
"senderProfileId": "0f84e9b2-a7b8-e711-80cf-1402ec721c9d",
|
|
66
|
+
"isTrackingClicks": true,
|
|
67
|
+
"publicationListId": 15
|
|
68
|
+
},
|
|
69
|
+
"triggeredSendId": "0a650d90-755e-ed11-b852-48df37d1df5b",
|
|
70
|
+
"triggeredSendKey": "testExisting_temail"
|
|
71
|
+
},
|
|
72
|
+
"metaData": {
|
|
73
|
+
"highThroughput": {
|
|
74
|
+
"definitionKey": "testExisting_temail",
|
|
75
|
+
"dataExtensionId": "21711373-72c1-ec11-b83b-48df37d1deb7"
|
|
76
|
+
},
|
|
77
|
+
"sections": {},
|
|
78
|
+
"isConfigured": true
|
|
79
|
+
},
|
|
80
|
+
"schema": {
|
|
81
|
+
"arguments": {
|
|
82
|
+
"requestID": {
|
|
83
|
+
"dataType": "Text",
|
|
84
|
+
"isNullable": true,
|
|
85
|
+
"direction": "Out",
|
|
86
|
+
"readOnly": false,
|
|
87
|
+
"access": "Hidden"
|
|
88
|
+
},
|
|
89
|
+
"messageKey": {
|
|
90
|
+
"dataType": "Text",
|
|
91
|
+
"isNullable": true,
|
|
92
|
+
"direction": "Out",
|
|
93
|
+
"readOnly": false,
|
|
94
|
+
"access": "Hidden"
|
|
95
|
+
},
|
|
96
|
+
"activityId": {
|
|
97
|
+
"dataType": "Text",
|
|
98
|
+
"isNullable": true,
|
|
99
|
+
"direction": "In",
|
|
100
|
+
"readOnly": false,
|
|
101
|
+
"access": "Hidden"
|
|
102
|
+
},
|
|
103
|
+
"definitionId": {
|
|
104
|
+
"dataType": "Text",
|
|
105
|
+
"isNullable": true,
|
|
106
|
+
"direction": "In",
|
|
107
|
+
"readOnly": true,
|
|
108
|
+
"access": "Hidden"
|
|
109
|
+
},
|
|
110
|
+
"emailSubjectDataBound": {
|
|
111
|
+
"dataType": "Text",
|
|
112
|
+
"isNullable": true,
|
|
113
|
+
"direction": "In",
|
|
114
|
+
"readOnly": true,
|
|
115
|
+
"access": "Hidden"
|
|
116
|
+
},
|
|
117
|
+
"contactId": {
|
|
118
|
+
"dataType": "Number",
|
|
119
|
+
"isNullable": true,
|
|
120
|
+
"direction": "In",
|
|
121
|
+
"readOnly": false,
|
|
122
|
+
"access": "Hidden"
|
|
123
|
+
},
|
|
124
|
+
"contactKey": {
|
|
125
|
+
"dataType": "Text",
|
|
126
|
+
"isNullable": false,
|
|
127
|
+
"direction": "In",
|
|
128
|
+
"readOnly": false,
|
|
129
|
+
"access": "Hidden"
|
|
130
|
+
},
|
|
131
|
+
"emailAddress": {
|
|
132
|
+
"dataType": "Text",
|
|
133
|
+
"isNullable": false,
|
|
134
|
+
"direction": "In",
|
|
135
|
+
"readOnly": false,
|
|
136
|
+
"access": "Hidden"
|
|
137
|
+
},
|
|
138
|
+
"sourceCustomObjectId": {
|
|
139
|
+
"dataType": "Text",
|
|
140
|
+
"isNullable": true,
|
|
141
|
+
"direction": "In",
|
|
142
|
+
"readOnly": false,
|
|
143
|
+
"access": "Hidden"
|
|
144
|
+
},
|
|
145
|
+
"sourceCustomObjectKey": {
|
|
146
|
+
"dataType": "LongNumber",
|
|
147
|
+
"isNullable": true,
|
|
148
|
+
"direction": "In",
|
|
149
|
+
"readOnly": false,
|
|
150
|
+
"access": "Hidden"
|
|
151
|
+
},
|
|
152
|
+
"fieldType": {
|
|
153
|
+
"dataType": "Text",
|
|
154
|
+
"isNullable": true,
|
|
155
|
+
"direction": "In",
|
|
156
|
+
"readOnly": false,
|
|
157
|
+
"access": "Hidden"
|
|
158
|
+
},
|
|
159
|
+
"eventData": {
|
|
160
|
+
"dataType": "Text",
|
|
161
|
+
"isNullable": true,
|
|
162
|
+
"direction": "In",
|
|
163
|
+
"readOnly": false,
|
|
164
|
+
"access": "Hidden"
|
|
165
|
+
},
|
|
166
|
+
"obfuscationProperties": {
|
|
167
|
+
"dataType": "Text",
|
|
168
|
+
"isNullable": true,
|
|
169
|
+
"direction": "In",
|
|
170
|
+
"readOnly": false,
|
|
171
|
+
"access": "Hidden"
|
|
172
|
+
},
|
|
173
|
+
"customObjectKey": {
|
|
174
|
+
"dataType": "LongNumber",
|
|
175
|
+
"isNullable": true,
|
|
176
|
+
"direction": "In",
|
|
177
|
+
"readOnly": true,
|
|
178
|
+
"access": "Hidden"
|
|
179
|
+
},
|
|
180
|
+
"definitionInstanceId": {
|
|
181
|
+
"dataType": "Text",
|
|
182
|
+
"isNullable": false,
|
|
183
|
+
"direction": "In",
|
|
184
|
+
"readOnly": false,
|
|
185
|
+
"access": "Hidden"
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
],
|
|
191
|
+
"triggers": [
|
|
192
|
+
{
|
|
193
|
+
"key": "TRIGGER",
|
|
194
|
+
"name": "TRIGGER",
|
|
195
|
+
"description": "",
|
|
196
|
+
"type": "transactional-api",
|
|
197
|
+
"outcomes": [],
|
|
198
|
+
"arguments": {},
|
|
199
|
+
"configurationArguments": {},
|
|
200
|
+
"metaData": {
|
|
201
|
+
"chainType": "none",
|
|
202
|
+
"configurationRequired": false,
|
|
203
|
+
"iconUrl": "/images/icon_journeyBuilder-event-transactional-blue.svg",
|
|
204
|
+
"title": "Transactional API Event",
|
|
205
|
+
"category": "Transactional",
|
|
206
|
+
"entrySourceGroupConfigUrl": "null"
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
],
|
|
210
|
+
"goals": [],
|
|
211
|
+
"exits": [],
|
|
212
|
+
"notifiers": [],
|
|
213
|
+
"entryMode": "MultipleEntries",
|
|
214
|
+
"definitionType": "Transactional",
|
|
215
|
+
"channel": "email",
|
|
216
|
+
"defaults": {
|
|
217
|
+
"properties": {
|
|
218
|
+
"analyticsTracking": {
|
|
219
|
+
"enabled": false,
|
|
220
|
+
"analyticsType": "google",
|
|
221
|
+
"urlDomainsToTrack": []
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
"metaData": {},
|
|
226
|
+
"executionMode": "Production",
|
|
227
|
+
"categoryId": 6298,
|
|
228
|
+
"status": "Published",
|
|
229
|
+
"scheduledStatus": "Draft",
|
|
230
|
+
"definitionId": "dsfdsafdsa-922c-4568-85a5-e5cc77efc3be"
|
|
231
|
+
},
|
|
13
232
|
{
|
|
14
233
|
"id": "233d4413-922c-4568-85a5-e5cc77efc3be",
|
|
15
234
|
"key": "testExisting_interaction",
|
|
16
235
|
"name": "testExisting_interaction",
|
|
17
236
|
"lastPublishedDate": "2017-04-12T08:07:48",
|
|
18
|
-
"description": "",
|
|
237
|
+
"description": "bla bla",
|
|
19
238
|
"version": 1,
|
|
20
239
|
"workflowApiVersion": 1,
|
|
21
240
|
"createdDate": "2017-04-12T05:38:05.837",
|
|
@@ -288,7 +507,7 @@
|
|
|
288
507
|
"metaData": {},
|
|
289
508
|
"executionMode": "Production",
|
|
290
509
|
"categoryId": 6298,
|
|
291
|
-
"status": "
|
|
510
|
+
"status": "Draft",
|
|
292
511
|
"definitionId": "233d4413-922c-4568-85a5-e5cc77efc3be",
|
|
293
512
|
"scheduledStatus": "Draft"
|
|
294
513
|
}
|