mcdev 9.0.2 → 9.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/ISSUE_TEMPLATE/bug.yml +1 -0
- package/.github/copilot-instructions.md +85 -0
- package/.github/pr-labeler.yml +3 -3
- package/.github/workflows/coverage-base-update.yml +2 -2
- package/.github/workflows/coverage.yml +1 -1
- package/.github/workflows/npm-publish.yml +51 -2
- package/.github/workflows/sync-milestone.yml +55 -0
- package/.husky/post-checkout +1 -1
- package/@types/lib/Retriever.d.ts.map +1 -1
- package/@types/lib/metadataTypes/DataExtension.d.ts +2 -0
- package/@types/lib/metadataTypes/DataExtension.d.ts.map +1 -1
- package/@types/lib/metadataTypes/DataExtensionField.d.ts +25 -0
- package/@types/lib/metadataTypes/DataExtensionField.d.ts.map +1 -1
- package/@types/lib/metadataTypes/Filter.d.ts +1 -1
- package/@types/lib/metadataTypes/Journey.d.ts.map +1 -1
- package/@types/lib/metadataTypes/MetadataType.d.ts +10 -0
- package/@types/lib/metadataTypes/MetadataType.d.ts.map +1 -1
- package/@types/lib/metadataTypes/definitions/Filter.definition.d.ts +1 -1
- package/@types/lib/util/cli.d.ts.map +1 -1
- package/lib/Retriever.js +2 -1
- package/lib/index.js +2 -2
- package/lib/metadataTypes/DataExtension.js +59 -0
- package/lib/metadataTypes/DataExtensionField.js +114 -0
- package/lib/metadataTypes/Journey.js +82 -39
- package/lib/metadataTypes/MetadataType.js +24 -8
- package/lib/metadataTypes/definitions/Filter.definition.js +2 -3
- package/lib/util/cli.js +3 -0
- package/package.json +10 -10
- package/test/general.test.js +11 -11
- package/test/mockRoot/.mcdevrc.json +1 -1
- package/test/mockRoot/deploy/testInstance/testBU/journey/testExisting_journey_updatecontact_sharedDE.journey-meta.json +108 -0
- package/test/resources/1111111/dataExtension/template_sharedDE-expected.json +53 -0
- package/test/resources/9999999/automation/v1/queries/get-response.json +17 -0
- package/test/resources/9999999/interaction/v1/interactions/get-response.json +40 -2
- package/test/resources/9999999/interaction/v1/interactions/key_testExisting_journey_updatecontact/get-response.json +4 -4
- package/test/resources/9999999/interaction/v1/interactions/key_testExisting_journey_updatecontact_sharedDE/get-response.json +119 -0
- package/test/resources/9999999/interaction/v1/interactions/key_testExisting_journey_updatecontact_sharedDE/put-response.json +110 -0
- package/test/resources/9999999/journey/get-updatecontact-sharedDE-expected.json +108 -0
- package/test/resources/9999999/journey/put-updatecontact-sharedDE-expected.json +108 -0
- package/test/resources/9999999/query/get_sharedDE-expected.json +11 -0
- package/test/resources/9999999/query/get_sharedDE-expected.sql +7 -0
- package/test/resources/9999999/query/template_sharedDE-expected.json +8 -0
- package/test/resources/9999999/query/template_sharedDE-expected.sql +7 -0
- package/test/type.attributeSet.test.js +41 -0
- package/test/type.automation.test.js +1 -1
- package/test/type.journey.test.js +108 -6
- package/test/type.query.test.js +105 -8
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
{
|
|
2
|
+
"CustomerKey": "{{{prefix}}}dataExtensionShared",
|
|
3
|
+
"DataRetentionPeriodLength": 6,
|
|
4
|
+
"Description": "{{{description}}}",
|
|
5
|
+
"Fields": [
|
|
6
|
+
{
|
|
7
|
+
"DefaultValue": "",
|
|
8
|
+
"FieldType": "Text",
|
|
9
|
+
"IsPrimaryKey": false,
|
|
10
|
+
"IsRequired": false,
|
|
11
|
+
"MaxLength": 50,
|
|
12
|
+
"Name": "FirstName"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"DefaultValue": "",
|
|
16
|
+
"FieldType": "Text",
|
|
17
|
+
"IsPrimaryKey": false,
|
|
18
|
+
"IsRequired": false,
|
|
19
|
+
"MaxLength": 50,
|
|
20
|
+
"Name": "LastName"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"DefaultValue": "",
|
|
24
|
+
"FieldType": "EmailAddress",
|
|
25
|
+
"IsPrimaryKey": false,
|
|
26
|
+
"IsRequired": true,
|
|
27
|
+
"MaxLength": 254,
|
|
28
|
+
"Name": "EmailAddress"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"DefaultValue": "",
|
|
32
|
+
"FieldType": "Text",
|
|
33
|
+
"IsPrimaryKey": true,
|
|
34
|
+
"IsRequired": true,
|
|
35
|
+
"MaxLength": 50,
|
|
36
|
+
"Name": "ContactKey"
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"IsSendable": true,
|
|
40
|
+
"IsTestable": true,
|
|
41
|
+
"Name": "{{{prefix}}}dataExtensionShared",
|
|
42
|
+
"ResetRetentionPeriodOnImport": false,
|
|
43
|
+
"SendableDataExtensionField": {
|
|
44
|
+
"Name": "ContactKey"
|
|
45
|
+
},
|
|
46
|
+
"SendableSubscriberField": {
|
|
47
|
+
"Name": "Subscriber Key"
|
|
48
|
+
},
|
|
49
|
+
"c__dataRetentionPeriodUnitOfMeasure": "Months",
|
|
50
|
+
"c__retentionPolicy": "individialRecords",
|
|
51
|
+
"r__folder_ContentType": "shared_dataextension",
|
|
52
|
+
"r__folder_Path": "Shared Items/Shared Data Extensions"
|
|
53
|
+
}
|
|
@@ -70,6 +70,23 @@
|
|
|
70
70
|
"targetUpdateTypeName": "Overwrite",
|
|
71
71
|
"categoryId": 999,
|
|
72
72
|
"isFrozen": false
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"queryDefinitionId": "shared-607c-4940-afef-437965094dat",
|
|
76
|
+
"name": "testExisting_query_SharedDE",
|
|
77
|
+
"key": "testExisting_query_SharedDE",
|
|
78
|
+
"description": "bla bla",
|
|
79
|
+
"queryText": "Select\n SubscriberKey as testField, Trim(last_name) AS name\nFrom\n testExisting_dataExtensionShared\nwhere\n country in ('test')\n",
|
|
80
|
+
"targetName": "testExisting_dataExtensionShared",
|
|
81
|
+
"targetKey": "testExisting_dataExtensionShared",
|
|
82
|
+
"targetId": "21711373-72c1-ec11-b83b-shared",
|
|
83
|
+
"targetDescription": "",
|
|
84
|
+
"createdDate": "2022-04-26T15:21:16.453",
|
|
85
|
+
"modifiedDate": "2022-04-26T16:02:44.01",
|
|
86
|
+
"targetUpdateTypeId": 0,
|
|
87
|
+
"targetUpdateTypeName": "Overwrite",
|
|
88
|
+
"categoryId": 999,
|
|
89
|
+
"isFrozen": false
|
|
73
90
|
}
|
|
74
91
|
]
|
|
75
92
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"count":
|
|
2
|
+
"count": 6,
|
|
3
3
|
"page": 1,
|
|
4
4
|
"pageSize": 500,
|
|
5
5
|
"links": {},
|
|
@@ -206,6 +206,44 @@
|
|
|
206
206
|
"status": "Draft",
|
|
207
207
|
"scheduledStatus": "Draft",
|
|
208
208
|
"r__folder_Path": "my journeys"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"key": "testExisting_journey_updatecontact_sharedDE",
|
|
212
|
+
"name": "testExisting_journey_updatecontact_sharedDE",
|
|
213
|
+
"lastPublishedDate": "0001-01-01T00:00:00",
|
|
214
|
+
"description": "",
|
|
215
|
+
"version": 1,
|
|
216
|
+
"workflowApiVersion": 1,
|
|
217
|
+
"createdDate": "2024-05-04T05:54:48.027",
|
|
218
|
+
"modifiedDate": "2024-05-04T17:25:57.9",
|
|
219
|
+
"goals": [],
|
|
220
|
+
"exits": [],
|
|
221
|
+
"notifiers": [],
|
|
222
|
+
"entryMode": "NotSet",
|
|
223
|
+
"definitionType": "Multistep",
|
|
224
|
+
"channel": "",
|
|
225
|
+
"defaults": {
|
|
226
|
+
"email": [
|
|
227
|
+
"{{Event.DEAudience-2e3c73b6-48cc-2ec0-5522-48636e1a236e.\"Email\"}}"
|
|
228
|
+
],
|
|
229
|
+
"properties": {
|
|
230
|
+
"analyticsTracking": {
|
|
231
|
+
"enabled": true,
|
|
232
|
+
"analyticsType": "google",
|
|
233
|
+
"urlDomainsToTrack": []
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
"metaData": {
|
|
238
|
+
"dataSource": "ContactsModel",
|
|
239
|
+
"highThroughputSending": {
|
|
240
|
+
"email": false
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
"executionMode": "Production",
|
|
244
|
+
"status": "Draft",
|
|
245
|
+
"scheduledStatus": "Draft",
|
|
246
|
+
"r__folder_Path": "my journeys"
|
|
209
247
|
}
|
|
210
248
|
]
|
|
211
|
-
}
|
|
249
|
+
}
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"activityData": {
|
|
28
28
|
"updateContactFields": [
|
|
29
29
|
{
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
30
|
+
"dataExtensionId": "21711373-72c1-ec11-b83b-48df37d1deb7",
|
|
31
|
+
"field": "bea0e308-5d45-4181-a673-da9972a7c674",
|
|
32
|
+
"value": "TEST"
|
|
33
33
|
}
|
|
34
34
|
]
|
|
35
35
|
}
|
|
@@ -116,4 +116,4 @@
|
|
|
116
116
|
"status": "Draft",
|
|
117
117
|
"definitionId": "0175b971-71a3-4d8e-98ac-48121f3fbf4f",
|
|
118
118
|
"scheduledStatus": "Draft"
|
|
119
|
-
}
|
|
119
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "shared-journey-id-1234",
|
|
3
|
+
"key": "testExisting_journey_updatecontact_sharedDE",
|
|
4
|
+
"name": "testExisting_journey_updatecontact_sharedDE",
|
|
5
|
+
"lastPublishedDate": "0001-01-01T00:00:00",
|
|
6
|
+
"description": "",
|
|
7
|
+
"version": 1,
|
|
8
|
+
"workflowApiVersion": 1,
|
|
9
|
+
"createdDate": "2024-05-04T05:54:48.027",
|
|
10
|
+
"modifiedDate": "2024-05-04T17:25:57.9",
|
|
11
|
+
"activities": [
|
|
12
|
+
{
|
|
13
|
+
"key": "UPDATECONTACTDATAV2-1",
|
|
14
|
+
"name": "Update Contact - TEST",
|
|
15
|
+
"description": "",
|
|
16
|
+
"type": "UPDATECONTACTDATA",
|
|
17
|
+
"outcomes": [
|
|
18
|
+
{
|
|
19
|
+
"key": "9f21d42b-4679-4561-911a-4bccf84672ba",
|
|
20
|
+
"arguments": {},
|
|
21
|
+
"metaData": {
|
|
22
|
+
"invalid": false
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"arguments": {
|
|
27
|
+
"activityData": {
|
|
28
|
+
"updateContactFields": [
|
|
29
|
+
{
|
|
30
|
+
"dataExtensionId": "21711373-72c1-ec11-b83b-shared",
|
|
31
|
+
"field": "shared-bea0e308-5d45-4181-a673-da9972a7c674",
|
|
32
|
+
"value": "TEST"
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"configurationArguments": {},
|
|
38
|
+
"metaData": {
|
|
39
|
+
"isConfigured": true
|
|
40
|
+
},
|
|
41
|
+
"schema": {
|
|
42
|
+
"arguments": {
|
|
43
|
+
"activityData": {
|
|
44
|
+
"dataType": "Text",
|
|
45
|
+
"isNullable": false,
|
|
46
|
+
"direction": "In",
|
|
47
|
+
"readOnly": false,
|
|
48
|
+
"access": "Hidden"
|
|
49
|
+
},
|
|
50
|
+
"contactKey": {
|
|
51
|
+
"dataType": "Text",
|
|
52
|
+
"isNullable": false,
|
|
53
|
+
"direction": "In",
|
|
54
|
+
"readOnly": false,
|
|
55
|
+
"access": "Hidden"
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
],
|
|
61
|
+
"triggers": [
|
|
62
|
+
{
|
|
63
|
+
"id": "92753481-1258-49bd-8a84-921ed63bcc2e",
|
|
64
|
+
"key": "TRIGGER",
|
|
65
|
+
"name": "TRIGGER",
|
|
66
|
+
"description": "",
|
|
67
|
+
"type": "EmailAudience",
|
|
68
|
+
"outcomes": [],
|
|
69
|
+
"arguments": {},
|
|
70
|
+
"configurationArguments": {},
|
|
71
|
+
"metaData": {
|
|
72
|
+
"eventDefinitionId": "649d512b-4d08-4eca-a14e-fc7b64b4ada8",
|
|
73
|
+
"eventDefinitionKey": "DEAudience-2e3c73b6-48cc-2ec0-5522-48636e1a236e",
|
|
74
|
+
"chainType": "None",
|
|
75
|
+
"configurationRequired": false,
|
|
76
|
+
"iconUrl": "/images/icon-data-extension.svg",
|
|
77
|
+
"title": "Data Extension",
|
|
78
|
+
"entrySourceGroupConfigUrl": "jb:///data/entry/audience/entrysourcegroupconfig.json",
|
|
79
|
+
"sourceInteractionId": "00000000-0000-0000-0000-000000000000"
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
"goals": [],
|
|
84
|
+
"exits": [],
|
|
85
|
+
"notifiers": [],
|
|
86
|
+
"stats": {
|
|
87
|
+
"currentPopulation": 0,
|
|
88
|
+
"cumulativePopulation": 0,
|
|
89
|
+
"metGoal": 0,
|
|
90
|
+
"metExitCriteria": 0,
|
|
91
|
+
"goalPerformance": 0
|
|
92
|
+
},
|
|
93
|
+
"entryMode": "NotSet",
|
|
94
|
+
"definitionType": "Multistep",
|
|
95
|
+
"channel": "",
|
|
96
|
+
"defaults": {
|
|
97
|
+
"email": [
|
|
98
|
+
"{{Event.DEAudience-2e3c73b6-48cc-2ec0-5522-48636e1a236e.\"Email\"}}"
|
|
99
|
+
],
|
|
100
|
+
"properties": {
|
|
101
|
+
"analyticsTracking": {
|
|
102
|
+
"enabled": true,
|
|
103
|
+
"analyticsType": "google",
|
|
104
|
+
"urlDomainsToTrack": []
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
"metaData": {
|
|
109
|
+
"dataSource": "ContactsModel",
|
|
110
|
+
"highThroughputSending": {
|
|
111
|
+
"email": false
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
"executionMode": "Production",
|
|
115
|
+
"categoryId": 6298,
|
|
116
|
+
"status": "Draft",
|
|
117
|
+
"definitionId": "shared-journey-id-1234",
|
|
118
|
+
"scheduledStatus": "Draft"
|
|
119
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
{
|
|
2
|
+
"key": "testExisting_journey_updatecontact_sharedDE",
|
|
3
|
+
"name": "testExisting_journey_updatecontact_sharedDE",
|
|
4
|
+
"lastPublishedDate": "0001-01-01T00:00:00",
|
|
5
|
+
"description": "",
|
|
6
|
+
"version": 1,
|
|
7
|
+
"workflowApiVersion": 1,
|
|
8
|
+
"createdDate": "0001-01-01T00:00:00",
|
|
9
|
+
"modifiedDate": "2024-05-04T17:25:57.9",
|
|
10
|
+
"activities": [
|
|
11
|
+
{
|
|
12
|
+
"key": "UPDATECONTACTDATAV2-1",
|
|
13
|
+
"name": "Update Contact - TEST",
|
|
14
|
+
"description": "",
|
|
15
|
+
"type": "UPDATECONTACTDATA",
|
|
16
|
+
"outcomes": [
|
|
17
|
+
{
|
|
18
|
+
"key": "9f21d42b-4679-4561-911a-4bccf84672ba",
|
|
19
|
+
"arguments": {},
|
|
20
|
+
"metaData": {
|
|
21
|
+
"invalid": false
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"arguments": {
|
|
26
|
+
"activityData": {
|
|
27
|
+
"updateContactFields": [
|
|
28
|
+
{
|
|
29
|
+
"field": "shared-bea0e308-5d45-4181-a673-da9972a7c674",
|
|
30
|
+
"value": "TEST",
|
|
31
|
+
"dataExtensionId": "21711373-72c1-ec11-b83b-shared"
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"configurationArguments": {},
|
|
37
|
+
"metaData": {
|
|
38
|
+
"isConfigured": true
|
|
39
|
+
},
|
|
40
|
+
"schema": {
|
|
41
|
+
"arguments": {
|
|
42
|
+
"activityData": {
|
|
43
|
+
"dataType": "Text",
|
|
44
|
+
"isNullable": false,
|
|
45
|
+
"direction": "In",
|
|
46
|
+
"readOnly": false,
|
|
47
|
+
"access": "Hidden"
|
|
48
|
+
},
|
|
49
|
+
"contactKey": {
|
|
50
|
+
"dataType": "Text",
|
|
51
|
+
"isNullable": false,
|
|
52
|
+
"direction": "In",
|
|
53
|
+
"readOnly": false,
|
|
54
|
+
"access": "Hidden"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"triggers": [
|
|
61
|
+
{
|
|
62
|
+
"key": "TRIGGER",
|
|
63
|
+
"name": "TRIGGER",
|
|
64
|
+
"description": "",
|
|
65
|
+
"type": "EmailAudience",
|
|
66
|
+
"outcomes": [],
|
|
67
|
+
"arguments": {},
|
|
68
|
+
"configurationArguments": {},
|
|
69
|
+
"metaData": {
|
|
70
|
+
"r__event_key": "DEAudience-2e3c73b6-48cc-2ec0-5522-48636e1a236e",
|
|
71
|
+
"chainType": "None",
|
|
72
|
+
"configurationRequired": false,
|
|
73
|
+
"iconUrl": "/images/icon-data-extension.svg",
|
|
74
|
+
"title": "Data Extension",
|
|
75
|
+
"entrySourceGroupConfigUrl": "jb:///data/entry/audience/entrysourcegroupconfig.json",
|
|
76
|
+
"sourceInteractionId": "00000000-0000-0000-0000-000000000000"
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
"goals": [],
|
|
81
|
+
"exits": [],
|
|
82
|
+
"notifiers": [],
|
|
83
|
+
"entryMode": "NotSet",
|
|
84
|
+
"definitionType": "Multistep",
|
|
85
|
+
"channel": "",
|
|
86
|
+
"defaults": {
|
|
87
|
+
"email": [
|
|
88
|
+
"{{Event.DEAudience-2e3c73b6-48cc-2ec0-5522-48636e1a236e.\"Email\"}}"
|
|
89
|
+
],
|
|
90
|
+
"properties": {
|
|
91
|
+
"analyticsTracking": {
|
|
92
|
+
"enabled": true,
|
|
93
|
+
"analyticsType": "google",
|
|
94
|
+
"urlDomainsToTrack": []
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"metaData": {
|
|
99
|
+
"dataSource": "ContactsModel",
|
|
100
|
+
"highThroughputSending": {
|
|
101
|
+
"email": false
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"executionMode": "Production",
|
|
105
|
+
"status": "Draft",
|
|
106
|
+
"scheduledStatus": "Draft",
|
|
107
|
+
"r__folder_Path": "my journeys",
|
|
108
|
+
"id": "shared-journey-id-1234",
|
|
109
|
+
"definitionId": "shared-journey-id-1234"
|
|
110
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
{
|
|
2
|
+
"key": "testExisting_journey_updatecontact_sharedDE",
|
|
3
|
+
"name": "testExisting_journey_updatecontact_sharedDE",
|
|
4
|
+
"lastPublishedDate": "0001-01-01T00:00:00",
|
|
5
|
+
"description": "",
|
|
6
|
+
"version": 1,
|
|
7
|
+
"workflowApiVersion": 1,
|
|
8
|
+
"createdDate": "2024-05-04T05:54:48.027",
|
|
9
|
+
"modifiedDate": "2024-05-04T17:25:57.9",
|
|
10
|
+
"activities": [
|
|
11
|
+
{
|
|
12
|
+
"key": "UPDATECONTACTDATAV2-1",
|
|
13
|
+
"name": "Update Contact - TEST",
|
|
14
|
+
"description": "",
|
|
15
|
+
"type": "UPDATECONTACTDATA",
|
|
16
|
+
"outcomes": [
|
|
17
|
+
{
|
|
18
|
+
"key": "9f21d42b-4679-4561-911a-4bccf84672ba",
|
|
19
|
+
"arguments": {},
|
|
20
|
+
"metaData": {
|
|
21
|
+
"invalid": false
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"arguments": {
|
|
26
|
+
"activityData": {
|
|
27
|
+
"updateContactFields": [
|
|
28
|
+
{
|
|
29
|
+
"r__dataExtensionField_name": "LastName",
|
|
30
|
+
"value": "TEST",
|
|
31
|
+
"r__dataExtension_key": "testExisting_dataExtensionShared"
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"configurationArguments": {},
|
|
37
|
+
"metaData": {
|
|
38
|
+
"isConfigured": true
|
|
39
|
+
},
|
|
40
|
+
"schema": {
|
|
41
|
+
"arguments": {
|
|
42
|
+
"activityData": {
|
|
43
|
+
"dataType": "Text",
|
|
44
|
+
"isNullable": false,
|
|
45
|
+
"direction": "In",
|
|
46
|
+
"readOnly": false,
|
|
47
|
+
"access": "Hidden"
|
|
48
|
+
},
|
|
49
|
+
"contactKey": {
|
|
50
|
+
"dataType": "Text",
|
|
51
|
+
"isNullable": false,
|
|
52
|
+
"direction": "In",
|
|
53
|
+
"readOnly": false,
|
|
54
|
+
"access": "Hidden"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"triggers": [
|
|
61
|
+
{
|
|
62
|
+
"key": "TRIGGER",
|
|
63
|
+
"name": "TRIGGER",
|
|
64
|
+
"description": "",
|
|
65
|
+
"type": "EmailAudience",
|
|
66
|
+
"outcomes": [],
|
|
67
|
+
"arguments": {},
|
|
68
|
+
"configurationArguments": {},
|
|
69
|
+
"metaData": {
|
|
70
|
+
"r__event_key": "DEAudience-2e3c73b6-48cc-2ec0-5522-48636e1a236e",
|
|
71
|
+
"chainType": "None",
|
|
72
|
+
"configurationRequired": false,
|
|
73
|
+
"iconUrl": "/images/icon-data-extension.svg",
|
|
74
|
+
"title": "Data Extension",
|
|
75
|
+
"entrySourceGroupConfigUrl": "jb:///data/entry/audience/entrysourcegroupconfig.json",
|
|
76
|
+
"sourceInteractionId": "00000000-0000-0000-0000-000000000000"
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
"goals": [],
|
|
81
|
+
"exits": [],
|
|
82
|
+
"notifiers": [],
|
|
83
|
+
"entryMode": "NotSet",
|
|
84
|
+
"definitionType": "Multistep",
|
|
85
|
+
"channel": "",
|
|
86
|
+
"defaults": {
|
|
87
|
+
"email": [
|
|
88
|
+
"{{Event.DEAudience-2e3c73b6-48cc-2ec0-5522-48636e1a236e.\"Email\"}}"
|
|
89
|
+
],
|
|
90
|
+
"properties": {
|
|
91
|
+
"analyticsTracking": {
|
|
92
|
+
"enabled": true,
|
|
93
|
+
"analyticsType": "google",
|
|
94
|
+
"urlDomainsToTrack": []
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"metaData": {
|
|
99
|
+
"dataSource": "ContactsModel",
|
|
100
|
+
"highThroughputSending": {
|
|
101
|
+
"email": false
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"executionMode": "Production",
|
|
105
|
+
"status": "Draft",
|
|
106
|
+
"scheduledStatus": "Draft",
|
|
107
|
+
"r__folder_Path": "my journeys"
|
|
108
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
{
|
|
2
|
+
"key": "testExisting_journey_updatecontact_sharedDE",
|
|
3
|
+
"name": "testExisting_journey_updatecontact_sharedDE",
|
|
4
|
+
"lastPublishedDate": "0001-01-01T00:00:00",
|
|
5
|
+
"description": "",
|
|
6
|
+
"version": 1,
|
|
7
|
+
"workflowApiVersion": 1,
|
|
8
|
+
"createdDate": "2024-05-04T05:54:48.027",
|
|
9
|
+
"modifiedDate": "2024-05-04T17:25:57.9",
|
|
10
|
+
"activities": [
|
|
11
|
+
{
|
|
12
|
+
"key": "UPDATECONTACTDATAV2-1",
|
|
13
|
+
"name": "Update Contact - TEST",
|
|
14
|
+
"description": "",
|
|
15
|
+
"type": "UPDATECONTACTDATA",
|
|
16
|
+
"outcomes": [
|
|
17
|
+
{
|
|
18
|
+
"key": "9f21d42b-4679-4561-911a-4bccf84672ba",
|
|
19
|
+
"arguments": {},
|
|
20
|
+
"metaData": {
|
|
21
|
+
"invalid": false
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"arguments": {
|
|
26
|
+
"activityData": {
|
|
27
|
+
"updateContactFields": [
|
|
28
|
+
{
|
|
29
|
+
"r__dataExtensionField_name": "LastName",
|
|
30
|
+
"value": "TEST",
|
|
31
|
+
"r__dataExtension_key": "testExisting_dataExtensionShared"
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"configurationArguments": {},
|
|
37
|
+
"metaData": {
|
|
38
|
+
"isConfigured": true
|
|
39
|
+
},
|
|
40
|
+
"schema": {
|
|
41
|
+
"arguments": {
|
|
42
|
+
"activityData": {
|
|
43
|
+
"dataType": "Text",
|
|
44
|
+
"isNullable": false,
|
|
45
|
+
"direction": "In",
|
|
46
|
+
"readOnly": false,
|
|
47
|
+
"access": "Hidden"
|
|
48
|
+
},
|
|
49
|
+
"contactKey": {
|
|
50
|
+
"dataType": "Text",
|
|
51
|
+
"isNullable": false,
|
|
52
|
+
"direction": "In",
|
|
53
|
+
"readOnly": false,
|
|
54
|
+
"access": "Hidden"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"triggers": [
|
|
61
|
+
{
|
|
62
|
+
"key": "TRIGGER",
|
|
63
|
+
"name": "TRIGGER",
|
|
64
|
+
"description": "",
|
|
65
|
+
"type": "EmailAudience",
|
|
66
|
+
"outcomes": [],
|
|
67
|
+
"arguments": {},
|
|
68
|
+
"configurationArguments": {},
|
|
69
|
+
"metaData": {
|
|
70
|
+
"r__event_key": "DEAudience-2e3c73b6-48cc-2ec0-5522-48636e1a236e",
|
|
71
|
+
"chainType": "None",
|
|
72
|
+
"configurationRequired": false,
|
|
73
|
+
"iconUrl": "/images/icon-data-extension.svg",
|
|
74
|
+
"title": "Data Extension",
|
|
75
|
+
"entrySourceGroupConfigUrl": "jb:///data/entry/audience/entrysourcegroupconfig.json",
|
|
76
|
+
"sourceInteractionId": "00000000-0000-0000-0000-000000000000"
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
"goals": [],
|
|
81
|
+
"exits": [],
|
|
82
|
+
"notifiers": [],
|
|
83
|
+
"entryMode": "NotSet",
|
|
84
|
+
"definitionType": "Multistep",
|
|
85
|
+
"channel": "",
|
|
86
|
+
"defaults": {
|
|
87
|
+
"email": [
|
|
88
|
+
"{{Event.DEAudience-2e3c73b6-48cc-2ec0-5522-48636e1a236e.\"Email\"}}"
|
|
89
|
+
],
|
|
90
|
+
"properties": {
|
|
91
|
+
"analyticsTracking": {
|
|
92
|
+
"enabled": true,
|
|
93
|
+
"analyticsType": "google",
|
|
94
|
+
"urlDomainsToTrack": []
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"metaData": {
|
|
99
|
+
"dataSource": "ContactsModel",
|
|
100
|
+
"highThroughputSending": {
|
|
101
|
+
"email": false
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"executionMode": "Production",
|
|
105
|
+
"status": "Draft",
|
|
106
|
+
"scheduledStatus": "Draft",
|
|
107
|
+
"r__folder_Path": "my journeys"
|
|
108
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "testExisting_query_SharedDE",
|
|
3
|
+
"key": "testExisting_query_SharedDE",
|
|
4
|
+
"description": "bla bla",
|
|
5
|
+
"r__dataExtension_key": "testExisting_dataExtensionShared",
|
|
6
|
+
"createdDate": "2022-04-26T15:21:16.453",
|
|
7
|
+
"modifiedDate": "2022-04-26T16:02:44.01",
|
|
8
|
+
"targetUpdateTypeName": "Overwrite",
|
|
9
|
+
"r__folder_Path": "Query",
|
|
10
|
+
"isFrozen": false
|
|
11
|
+
}
|