mcdev 7.6.1 → 7.6.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 +2 -0
- package/.github/workflows/close_issues_on_merge.yml +1 -1
- package/.github/workflows/coverage-base-update.yml +2 -2
- package/.github/workflows/coverage.yml +1 -1
- package/.vscode/extensions.json +1 -0
- package/.vscode/settings.json +21 -1
- package/@types/lib/index.d.ts +15 -15
- package/@types/lib/index.d.ts.map +1 -1
- package/@types/lib/metadataTypes/Asset.d.ts.map +1 -1
- package/@types/lib/metadataTypes/Automation.d.ts +6 -0
- package/@types/lib/metadataTypes/Automation.d.ts.map +1 -1
- package/@types/lib/metadataTypes/DataExtract.d.ts +7 -0
- package/@types/lib/metadataTypes/DataExtract.d.ts.map +1 -1
- package/@types/lib/metadataTypes/Event.d.ts.map +1 -1
- package/@types/lib/metadataTypes/FileLocation.d.ts +39 -5
- package/@types/lib/metadataTypes/FileLocation.d.ts.map +1 -1
- package/@types/lib/metadataTypes/Journey.d.ts +13 -3
- package/@types/lib/metadataTypes/Journey.d.ts.map +1 -1
- package/@types/lib/metadataTypes/MetadataType.d.ts.map +1 -1
- package/@types/lib/metadataTypes/SendClassification.d.ts +7 -0
- package/@types/lib/metadataTypes/SendClassification.d.ts.map +1 -1
- package/@types/lib/metadataTypes/SenderProfile.d.ts +7 -0
- package/@types/lib/metadataTypes/SenderProfile.d.ts.map +1 -1
- package/@types/lib/metadataTypes/definitions/Automation.definition.d.ts +6 -0
- package/@types/lib/metadataTypes/definitions/FileLocation.definition.d.ts +24 -0
- package/@types/lib/util/cache.d.ts +1 -1
- package/@types/lib/util/cache.d.ts.map +1 -1
- package/@types/lib/util/config.d.ts.map +1 -1
- package/@types/lib/util/file.d.ts.map +1 -1
- package/LICENSE +1 -1
- package/README.md +1 -1
- package/boilerplate/config.json +1 -0
- package/boilerplate/files/.vscode/extensions.json +1 -0
- package/boilerplate/forcedUpdates.json +4 -0
- package/lib/index.js +34 -17
- package/lib/metadataTypes/Asset.js +31 -8
- package/lib/metadataTypes/Automation.js +45 -25
- package/lib/metadataTypes/DataExtension.js +1 -1
- package/lib/metadataTypes/DataExtract.js +20 -0
- package/lib/metadataTypes/Event.js +20 -5
- package/lib/metadataTypes/FileLocation.js +43 -5
- package/lib/metadataTypes/Journey.js +176 -77
- package/lib/metadataTypes/MetadataType.js +22 -9
- package/lib/metadataTypes/SendClassification.js +20 -0
- package/lib/metadataTypes/SenderProfile.js +20 -0
- package/lib/metadataTypes/definitions/Automation.definition.js +6 -0
- package/lib/metadataTypes/definitions/FileLocation.definition.js +22 -2
- package/lib/util/cache.js +8 -3
- package/lib/util/config.js +6 -0
- package/lib/util/file.js +17 -14
- package/package.json +17 -18
- package/prepare-release.js +37 -0
- package/test/general.test.js +69 -6
- package/test/mockRoot/.mcdevrc.json +2 -1
- package/test/mockRoot/deploy/testInstance/testBU/journey/testExisting_journey_Multistep.journey-meta.json +418 -0
- package/test/mockRoot/deploy/testInstance/testBU/journey/testExisting_temail.journey-meta.json +212 -0
- package/test/mockRoot/deploy/testInstance/testBU/journey/testExisting_temail_notPublished.journey-meta.json +217 -0
- package/test/resourceFactory.js +12 -10
- package/test/resources/9999999/asset/build-templatebasedemail-expected.json +0 -1
- package/test/resources/9999999/asset/retrieve-templatebasedemail-expected.json +0 -1
- package/test/resources/9999999/asset/template-templatebasedemail-expected.json +0 -1
- package/test/resources/9999999/asset-deploy/block/testNew_asset_badExtension.bad-type-extension.json +39 -0
- package/test/resources/9999999/asset-deploy/block/testNew_asset_badName_bad.asset-block-meta.json +39 -0
- package/test/resources/9999999/dataExtract/patch-expected.json +3 -1
- package/test/resources/9999999/event/get-published-expected.json +30 -0
- package/test/resources/9999999/event/post_withExistingDE-callout-expected.json +211 -0
- package/test/resources/9999999/event/put-expected.json +12 -11
- package/test/resources/9999999/event-deploy/testNew_event_badExtension.bad-type-extension.json +200 -0
- package/test/resources/9999999/event-deploy/testNew_event_badName_bad.event-meta.json +200 -0
- package/test/resources/9999999/interaction/v1/eventDefinitions/key_DEAudience-2e3c73b6-48cc-2ec0-5522-48636e1a236e/get-response.json +39 -0
- package/test/resources/9999999/interaction/v1/interactions/key_testExisting_journey_Multistep/put-response.json +461 -0
- package/test/resources/9999999/interaction/v1/interactions/key_testExisting_temail/put-response.json +219 -0
- package/test/resources/9999999/interaction/v1/interactions/key_testExisting_temail_notPublished/put-response.json +226 -0
- package/test/resources/9999999/journey/get-published-expected.json +217 -0
- package/test/resources/9999999/sendClassification/patch-expected.json +3 -1
- package/test/resources/9999999/senderProfile/patch-expected.json +12 -8
- package/test/resources/9999999/transactionalEmail/get-published-expected.json +20 -0
- package/test/type.dataExtract.test.js +1 -1
- package/test/type.event.test.js +3 -3
- package/test/type.journey.test.js +222 -13
- package/test/type.sendClassification.test.js +1 -1
- package/test/type.senderProfile.test.js +1 -1
- package/test/utils.js +5 -1
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "EmailAudience",
|
|
3
|
+
"name": "testExisting_journey_Multistep",
|
|
4
|
+
"description": "",
|
|
5
|
+
"createdDate": "2024-05-04T05:54:44.95",
|
|
6
|
+
"createdBy": "Jörn Berkefeld",
|
|
7
|
+
"modifiedDate": "2024-05-04T05:54:44.95",
|
|
8
|
+
"modifiedBy": "Jörn Berkefeld",
|
|
9
|
+
"eventDefinitionKey": "DEAudience-2e3c73b6-48cc-2ec0-5522-48636e1a236e",
|
|
10
|
+
"sourceApplicationExtensionId": "97e942ee-6914-4d3d-9e52-37ecb71f79ed",
|
|
11
|
+
"filterDefinitionId": "00000000-0000-0000-0000-000000000000",
|
|
12
|
+
"filterDefinitionTemplate": "",
|
|
13
|
+
"iconUrl": "/images/icon-data-extension.svg",
|
|
14
|
+
"configurationArguments": {},
|
|
15
|
+
"arguments": {
|
|
16
|
+
"serializedObjectType": 3,
|
|
17
|
+
"criteria": ""
|
|
18
|
+
},
|
|
19
|
+
"metaData": {
|
|
20
|
+
"criteriaDescription": "",
|
|
21
|
+
"scheduleState": "No Schedule"
|
|
22
|
+
},
|
|
23
|
+
"interactionCount": 1,
|
|
24
|
+
"isVisibleInPicker": false,
|
|
25
|
+
"category": "Audience",
|
|
26
|
+
"publishedInteractionCount": 0,
|
|
27
|
+
"automationId": "00000000-0000-0000-0000-000000000000",
|
|
28
|
+
"disableDEDataLogging": false,
|
|
29
|
+
"r__dataExtension_key": "testExisting_journey_Multistep"
|
|
30
|
+
}
|
|
@@ -3,6 +3,217 @@
|
|
|
3
3
|
"name": "testNew_event_withExistingDE",
|
|
4
4
|
"description": "created on deploy",
|
|
5
5
|
"eventDefinitionKey": "testNew_event_withExistingDE",
|
|
6
|
+
"schema": {
|
|
7
|
+
"fields": [
|
|
8
|
+
{
|
|
9
|
+
"dataType": "Text",
|
|
10
|
+
"isDevicePreference": false,
|
|
11
|
+
"isNullable": false,
|
|
12
|
+
"isPrimaryKey": true,
|
|
13
|
+
"maxLength": "18",
|
|
14
|
+
"name": "ContactId"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"dataType": "Text",
|
|
18
|
+
"isDevicePreference": false,
|
|
19
|
+
"isNullable": false,
|
|
20
|
+
"isPrimaryKey": false,
|
|
21
|
+
"maxLength": "50",
|
|
22
|
+
"name": "Type"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"dataType": "Text",
|
|
26
|
+
"isDevicePreference": false,
|
|
27
|
+
"isNullable": false,
|
|
28
|
+
"isPrimaryKey": true,
|
|
29
|
+
"maxLength": "50",
|
|
30
|
+
"name": "Status"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"dataType": "Text",
|
|
34
|
+
"isDevicePreference": false,
|
|
35
|
+
"isNullable": true,
|
|
36
|
+
"isPrimaryKey": false,
|
|
37
|
+
"maxLength": "256",
|
|
38
|
+
"name": "Respondent"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"dataType": "Text",
|
|
42
|
+
"isDevicePreference": false,
|
|
43
|
+
"isNullable": true,
|
|
44
|
+
"isPrimaryKey": false,
|
|
45
|
+
"maxLength": "256",
|
|
46
|
+
"name": "FirstName"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"dataType": "Text",
|
|
50
|
+
"isDevicePreference": false,
|
|
51
|
+
"isNullable": true,
|
|
52
|
+
"isPrimaryKey": false,
|
|
53
|
+
"maxLength": "256",
|
|
54
|
+
"name": "LastName"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"dataType": "Text",
|
|
58
|
+
"isDevicePreference": false,
|
|
59
|
+
"isNullable": true,
|
|
60
|
+
"isPrimaryKey": false,
|
|
61
|
+
"maxLength": "50",
|
|
62
|
+
"name": "PreferredLanguage"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"dataType": "Text",
|
|
66
|
+
"isDevicePreference": false,
|
|
67
|
+
"isNullable": true,
|
|
68
|
+
"isPrimaryKey": false,
|
|
69
|
+
"maxLength": "256",
|
|
70
|
+
"name": "TouchPoint"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"dataType": "Date",
|
|
74
|
+
"defaultValue": "GetDate()",
|
|
75
|
+
"isDevicePreference": false,
|
|
76
|
+
"isNullable": true,
|
|
77
|
+
"isPrimaryKey": false,
|
|
78
|
+
"name": "Datestamp"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"dataType": "Date",
|
|
82
|
+
"defaultValue": "",
|
|
83
|
+
"isDevicePreference": false,
|
|
84
|
+
"isNullable": true,
|
|
85
|
+
"isPrimaryKey": false,
|
|
86
|
+
"name": "StartDate"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"dataType": "Date",
|
|
90
|
+
"isDevicePreference": false,
|
|
91
|
+
"isNullable": true,
|
|
92
|
+
"isPrimaryKey": false,
|
|
93
|
+
"name": "EndDate"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"dataType": "Date",
|
|
97
|
+
"defaultValue": "",
|
|
98
|
+
"isDevicePreference": false,
|
|
99
|
+
"isNullable": true,
|
|
100
|
+
"isPrimaryKey": false,
|
|
101
|
+
"name": "BroadcastedNotificationDate"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"dataType": "Date",
|
|
105
|
+
"isDevicePreference": false,
|
|
106
|
+
"isNullable": true,
|
|
107
|
+
"isPrimaryKey": false,
|
|
108
|
+
"name": "FirstReminderDate"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"dataType": "Date",
|
|
112
|
+
"isDevicePreference": false,
|
|
113
|
+
"isNullable": true,
|
|
114
|
+
"isPrimaryKey": false,
|
|
115
|
+
"name": "SecondReminderDate"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"dataType": "Text",
|
|
119
|
+
"isDevicePreference": false,
|
|
120
|
+
"isNullable": true,
|
|
121
|
+
"isPrimaryKey": false,
|
|
122
|
+
"maxLength": "256",
|
|
123
|
+
"name": "Title"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"dataType": "Text",
|
|
127
|
+
"isDevicePreference": false,
|
|
128
|
+
"isNullable": true,
|
|
129
|
+
"isPrimaryKey": false,
|
|
130
|
+
"maxLength": "256",
|
|
131
|
+
"name": "DisplayName"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"dataType": "Text",
|
|
135
|
+
"isDevicePreference": false,
|
|
136
|
+
"isNullable": true,
|
|
137
|
+
"isPrimaryKey": false,
|
|
138
|
+
"maxLength": "256",
|
|
139
|
+
"name": "Text"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"dataType": "Text",
|
|
143
|
+
"isDevicePreference": false,
|
|
144
|
+
"isNullable": true,
|
|
145
|
+
"isPrimaryKey": false,
|
|
146
|
+
"maxLength": "4000",
|
|
147
|
+
"name": "Description"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"dataType": "Text",
|
|
151
|
+
"isDevicePreference": false,
|
|
152
|
+
"isNullable": true,
|
|
153
|
+
"isPrimaryKey": false,
|
|
154
|
+
"maxLength": "256",
|
|
155
|
+
"name": "Channel"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"dataType": "Text",
|
|
159
|
+
"isDevicePreference": false,
|
|
160
|
+
"isNullable": true,
|
|
161
|
+
"isPrimaryKey": false,
|
|
162
|
+
"maxLength": "256",
|
|
163
|
+
"name": "FirstReminderChannel"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"dataType": "Text",
|
|
167
|
+
"isDevicePreference": false,
|
|
168
|
+
"isNullable": true,
|
|
169
|
+
"isPrimaryKey": false,
|
|
170
|
+
"maxLength": "256",
|
|
171
|
+
"name": "SecondReminderChannel"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"dataType": "Email",
|
|
175
|
+
"isDevicePreference": false,
|
|
176
|
+
"isNullable": true,
|
|
177
|
+
"isPrimaryKey": false,
|
|
178
|
+
"maxLength": "",
|
|
179
|
+
"name": "Email"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"dataType": "Text",
|
|
183
|
+
"isDevicePreference": false,
|
|
184
|
+
"isNullable": false,
|
|
185
|
+
"isPrimaryKey": true,
|
|
186
|
+
"maxLength": "18",
|
|
187
|
+
"name": "ArticleOrTaskID"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"dataType": "Number",
|
|
191
|
+
"isDevicePreference": false,
|
|
192
|
+
"isNullable": true,
|
|
193
|
+
"isPrimaryKey": false,
|
|
194
|
+
"maxLength": "",
|
|
195
|
+
"name": "Points"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"dataType": "Text",
|
|
199
|
+
"isDevicePreference": false,
|
|
200
|
+
"isNullable": true,
|
|
201
|
+
"isPrimaryKey": false,
|
|
202
|
+
"maxLength": "255",
|
|
203
|
+
"name": "TaskType"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"dataType": "Text",
|
|
207
|
+
"isDevicePreference": false,
|
|
208
|
+
"isNullable": true,
|
|
209
|
+
"isPrimaryKey": false,
|
|
210
|
+
"maxLength": "255",
|
|
211
|
+
"name": "TaskArea"
|
|
212
|
+
}
|
|
213
|
+
],
|
|
214
|
+
"sendableCustomObjectField": "ContactId",
|
|
215
|
+
"sendableSubscriberField": "_SubscriberKey"
|
|
216
|
+
},
|
|
6
217
|
"entrySourceGroupConfigUrl": "jb:///data/entry/api-event/entrysourcegroupconfig.json",
|
|
7
218
|
"iconUrl": "/images/icon_journeyBuilder-event-api-blue.svg",
|
|
8
219
|
"sourceApplicationExtensionId": "7db1f972-f8b7-49b6-91b5-fa218e13953d",
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "APIEvent",
|
|
3
3
|
"name": "testExisting_event",
|
|
4
|
-
"description": "
|
|
5
|
-
"createdDate": "
|
|
6
|
-
"createdBy":
|
|
7
|
-
"modifiedDate": "
|
|
8
|
-
"modifiedBy":
|
|
4
|
+
"description": "",
|
|
5
|
+
"createdDate": "2024-07-05T06:12:24.227",
|
|
6
|
+
"createdBy": "Jörn Berkefeld",
|
|
7
|
+
"modifiedDate": "2024-07-05T08:01:55.4",
|
|
8
|
+
"modifiedBy": "Jörn Berkefeld",
|
|
9
9
|
"eventDefinitionKey": "testExisting_event",
|
|
10
|
-
"iconUrl": "/images/icon_journeyBuilder-event-api-blue.svg",
|
|
11
10
|
"schema": {
|
|
12
11
|
"fields": [
|
|
13
12
|
{
|
|
@@ -219,15 +218,17 @@
|
|
|
219
218
|
"sendableCustomObjectField": "ContactId",
|
|
220
219
|
"sendableSubscriberField": "_SubscriberKey"
|
|
221
220
|
},
|
|
221
|
+
"sourceApplicationExtensionId": "00000000-0000-0000-0000-000000000000",
|
|
222
222
|
"filterDefinitionId": "00000000-0000-0000-0000-000000000000",
|
|
223
|
-
"
|
|
224
|
-
|
|
225
|
-
},
|
|
226
|
-
"metaData": {},
|
|
223
|
+
"filterDefinitionTemplate": "",
|
|
224
|
+
"iconUrl": "",
|
|
225
|
+
"arguments": { "serializedObjectType": 11, "criteria": "" },
|
|
226
|
+
"metaData": { "scheduleState": "No Schedule" },
|
|
227
227
|
"interactionCount": 0,
|
|
228
|
-
"isVisibleInPicker":
|
|
228
|
+
"isVisibleInPicker": true,
|
|
229
229
|
"category": "Event",
|
|
230
230
|
"publishedInteractionCount": 0,
|
|
231
231
|
"automationId": "00000000-0000-0000-0000-000000000000",
|
|
232
|
+
"disableDEDataLogging": false,
|
|
232
233
|
"r__dataExtension_key": "testExisting_event - 2024-07-05T080154625"
|
|
233
234
|
}
|
package/test/resources/9999999/event-deploy/testNew_event_badExtension.bad-type-extension.json
ADDED
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "APIEvent",
|
|
3
|
+
"name": "testNew_event_badExtension",
|
|
4
|
+
"description": "updated on deploy",
|
|
5
|
+
"mode": "Production",
|
|
6
|
+
"eventDefinitionKey": "testNew_event_badExtension",
|
|
7
|
+
"schema": {
|
|
8
|
+
"fields": [
|
|
9
|
+
{
|
|
10
|
+
"name": "ContactId",
|
|
11
|
+
"dataType": "Text",
|
|
12
|
+
"maxLength": 18,
|
|
13
|
+
"isNullable": false,
|
|
14
|
+
"isPrimaryKey": true
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"name": "Type",
|
|
18
|
+
"dataType": "Text",
|
|
19
|
+
"maxLength": "50",
|
|
20
|
+
"isNullable": false,
|
|
21
|
+
"isPrimaryKey": false
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "Status",
|
|
25
|
+
"dataType": "Text",
|
|
26
|
+
"maxLength": "50",
|
|
27
|
+
"isNullable": false,
|
|
28
|
+
"isPrimaryKey": true
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "Respondent",
|
|
32
|
+
"dataType": "Text",
|
|
33
|
+
"maxLength": "256",
|
|
34
|
+
"isNullable": true,
|
|
35
|
+
"isPrimaryKey": false
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "FirstName",
|
|
39
|
+
"dataType": "Text",
|
|
40
|
+
"maxLength": "256",
|
|
41
|
+
"isNullable": true,
|
|
42
|
+
"isPrimaryKey": false
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "LastName",
|
|
46
|
+
"dataType": "Text",
|
|
47
|
+
"maxLength": "256",
|
|
48
|
+
"isNullable": true,
|
|
49
|
+
"isPrimaryKey": false
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "PreferredLanguage",
|
|
53
|
+
"dataType": "Text",
|
|
54
|
+
"maxLength": "50",
|
|
55
|
+
"isNullable": true,
|
|
56
|
+
"isPrimaryKey": false
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "TouchPoint",
|
|
60
|
+
"dataType": "Text",
|
|
61
|
+
"maxLength": "256",
|
|
62
|
+
"isNullable": true,
|
|
63
|
+
"isPrimaryKey": false
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "Datestamp",
|
|
67
|
+
"dataType": "Date",
|
|
68
|
+
"defaultValue": "GetDate()",
|
|
69
|
+
"isNullable": true,
|
|
70
|
+
"isPrimaryKey": false
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "StartDate",
|
|
74
|
+
"dataType": "Date",
|
|
75
|
+
"isNullable": true,
|
|
76
|
+
"defaultValue": "",
|
|
77
|
+
"isPrimaryKey": false
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"name": "EndDate",
|
|
81
|
+
"dataType": "Date",
|
|
82
|
+
"isNullable": true,
|
|
83
|
+
"isPrimaryKey": false
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "BroadcastedNotificationDate",
|
|
87
|
+
"dataType": "Date",
|
|
88
|
+
"isNullable": true,
|
|
89
|
+
"defaultValue": "",
|
|
90
|
+
"isPrimaryKey": false
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"name": "FirstReminderDate",
|
|
94
|
+
"dataType": "Date",
|
|
95
|
+
"isNullable": true,
|
|
96
|
+
"isPrimaryKey": false
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"name": "SecondReminderDate",
|
|
100
|
+
"dataType": "Date",
|
|
101
|
+
"isNullable": true,
|
|
102
|
+
"isPrimaryKey": false
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"name": "Title",
|
|
106
|
+
"dataType": "Text",
|
|
107
|
+
"maxLength": "256",
|
|
108
|
+
"isNullable": true,
|
|
109
|
+
"isPrimaryKey": false
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"name": "DisplayName",
|
|
113
|
+
"dataType": "Text",
|
|
114
|
+
"maxLength": "256",
|
|
115
|
+
"isNullable": true,
|
|
116
|
+
"isPrimaryKey": false
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"name": "Text",
|
|
120
|
+
"dataType": "Text",
|
|
121
|
+
"maxLength": "256",
|
|
122
|
+
"isNullable": true,
|
|
123
|
+
"isPrimaryKey": false
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"name": "Description",
|
|
127
|
+
"dataType": "Text",
|
|
128
|
+
"maxLength": "4000",
|
|
129
|
+
"isNullable": true,
|
|
130
|
+
"isPrimaryKey": false
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"name": "Channel",
|
|
134
|
+
"dataType": "Text",
|
|
135
|
+
"maxLength": "256",
|
|
136
|
+
"isNullable": true,
|
|
137
|
+
"isPrimaryKey": false
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"name": "FirstReminderChannel",
|
|
141
|
+
"dataType": "Text",
|
|
142
|
+
"maxLength": "256",
|
|
143
|
+
"isNullable": true,
|
|
144
|
+
"isPrimaryKey": false
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"name": "SecondReminderChannel",
|
|
148
|
+
"dataType": "Text",
|
|
149
|
+
"maxLength": "256",
|
|
150
|
+
"isNullable": true,
|
|
151
|
+
"isPrimaryKey": false
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"name": "Email",
|
|
155
|
+
"dataType": "Email",
|
|
156
|
+
"maxLength": "",
|
|
157
|
+
"isNullable": true,
|
|
158
|
+
"isPrimaryKey": false
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"name": "ArticleOrTaskID",
|
|
162
|
+
"dataType": "Text",
|
|
163
|
+
"maxLength": "18",
|
|
164
|
+
"isNullable": false,
|
|
165
|
+
"isPrimaryKey": true
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"name": "Points",
|
|
169
|
+
"dataType": "Number",
|
|
170
|
+
"maxLength": "",
|
|
171
|
+
"isNullable": true,
|
|
172
|
+
"isPrimaryKey": false
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"name": "TaskType",
|
|
176
|
+
"dataType": "Text",
|
|
177
|
+
"maxLength": "255",
|
|
178
|
+
"isNullable": true,
|
|
179
|
+
"isPrimaryKey": false
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"name": "TaskArea",
|
|
183
|
+
"dataType": "Text",
|
|
184
|
+
"maxLength": "255",
|
|
185
|
+
"isNullable": true,
|
|
186
|
+
"isPrimaryKey": false
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"name": "AddedField",
|
|
190
|
+
"dataType": "Text",
|
|
191
|
+
"maxLength": "255",
|
|
192
|
+
"isNullable": true,
|
|
193
|
+
"isPrimaryKey": false
|
|
194
|
+
}
|
|
195
|
+
],
|
|
196
|
+
"sendableCustomObjectField": "ContactId",
|
|
197
|
+
"sendableSubscriberField": "_SubscriberKey"
|
|
198
|
+
},
|
|
199
|
+
"isVisibleInPicker": true
|
|
200
|
+
}
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "APIEvent",
|
|
3
|
+
"name": "testNew_event_badName",
|
|
4
|
+
"description": "updated on deploy",
|
|
5
|
+
"mode": "Production",
|
|
6
|
+
"eventDefinitionKey": "testNew_event_badName",
|
|
7
|
+
"schema": {
|
|
8
|
+
"fields": [
|
|
9
|
+
{
|
|
10
|
+
"name": "ContactId",
|
|
11
|
+
"dataType": "Text",
|
|
12
|
+
"maxLength": 18,
|
|
13
|
+
"isNullable": false,
|
|
14
|
+
"isPrimaryKey": true
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"name": "Type",
|
|
18
|
+
"dataType": "Text",
|
|
19
|
+
"maxLength": "50",
|
|
20
|
+
"isNullable": false,
|
|
21
|
+
"isPrimaryKey": false
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "Status",
|
|
25
|
+
"dataType": "Text",
|
|
26
|
+
"maxLength": "50",
|
|
27
|
+
"isNullable": false,
|
|
28
|
+
"isPrimaryKey": true
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "Respondent",
|
|
32
|
+
"dataType": "Text",
|
|
33
|
+
"maxLength": "256",
|
|
34
|
+
"isNullable": true,
|
|
35
|
+
"isPrimaryKey": false
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "FirstName",
|
|
39
|
+
"dataType": "Text",
|
|
40
|
+
"maxLength": "256",
|
|
41
|
+
"isNullable": true,
|
|
42
|
+
"isPrimaryKey": false
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "LastName",
|
|
46
|
+
"dataType": "Text",
|
|
47
|
+
"maxLength": "256",
|
|
48
|
+
"isNullable": true,
|
|
49
|
+
"isPrimaryKey": false
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "PreferredLanguage",
|
|
53
|
+
"dataType": "Text",
|
|
54
|
+
"maxLength": "50",
|
|
55
|
+
"isNullable": true,
|
|
56
|
+
"isPrimaryKey": false
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "TouchPoint",
|
|
60
|
+
"dataType": "Text",
|
|
61
|
+
"maxLength": "256",
|
|
62
|
+
"isNullable": true,
|
|
63
|
+
"isPrimaryKey": false
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "Datestamp",
|
|
67
|
+
"dataType": "Date",
|
|
68
|
+
"defaultValue": "GetDate()",
|
|
69
|
+
"isNullable": true,
|
|
70
|
+
"isPrimaryKey": false
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "StartDate",
|
|
74
|
+
"dataType": "Date",
|
|
75
|
+
"isNullable": true,
|
|
76
|
+
"defaultValue": "",
|
|
77
|
+
"isPrimaryKey": false
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"name": "EndDate",
|
|
81
|
+
"dataType": "Date",
|
|
82
|
+
"isNullable": true,
|
|
83
|
+
"isPrimaryKey": false
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "BroadcastedNotificationDate",
|
|
87
|
+
"dataType": "Date",
|
|
88
|
+
"isNullable": true,
|
|
89
|
+
"defaultValue": "",
|
|
90
|
+
"isPrimaryKey": false
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"name": "FirstReminderDate",
|
|
94
|
+
"dataType": "Date",
|
|
95
|
+
"isNullable": true,
|
|
96
|
+
"isPrimaryKey": false
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"name": "SecondReminderDate",
|
|
100
|
+
"dataType": "Date",
|
|
101
|
+
"isNullable": true,
|
|
102
|
+
"isPrimaryKey": false
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"name": "Title",
|
|
106
|
+
"dataType": "Text",
|
|
107
|
+
"maxLength": "256",
|
|
108
|
+
"isNullable": true,
|
|
109
|
+
"isPrimaryKey": false
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"name": "DisplayName",
|
|
113
|
+
"dataType": "Text",
|
|
114
|
+
"maxLength": "256",
|
|
115
|
+
"isNullable": true,
|
|
116
|
+
"isPrimaryKey": false
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"name": "Text",
|
|
120
|
+
"dataType": "Text",
|
|
121
|
+
"maxLength": "256",
|
|
122
|
+
"isNullable": true,
|
|
123
|
+
"isPrimaryKey": false
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"name": "Description",
|
|
127
|
+
"dataType": "Text",
|
|
128
|
+
"maxLength": "4000",
|
|
129
|
+
"isNullable": true,
|
|
130
|
+
"isPrimaryKey": false
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"name": "Channel",
|
|
134
|
+
"dataType": "Text",
|
|
135
|
+
"maxLength": "256",
|
|
136
|
+
"isNullable": true,
|
|
137
|
+
"isPrimaryKey": false
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"name": "FirstReminderChannel",
|
|
141
|
+
"dataType": "Text",
|
|
142
|
+
"maxLength": "256",
|
|
143
|
+
"isNullable": true,
|
|
144
|
+
"isPrimaryKey": false
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"name": "SecondReminderChannel",
|
|
148
|
+
"dataType": "Text",
|
|
149
|
+
"maxLength": "256",
|
|
150
|
+
"isNullable": true,
|
|
151
|
+
"isPrimaryKey": false
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"name": "Email",
|
|
155
|
+
"dataType": "Email",
|
|
156
|
+
"maxLength": "",
|
|
157
|
+
"isNullable": true,
|
|
158
|
+
"isPrimaryKey": false
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"name": "ArticleOrTaskID",
|
|
162
|
+
"dataType": "Text",
|
|
163
|
+
"maxLength": "18",
|
|
164
|
+
"isNullable": false,
|
|
165
|
+
"isPrimaryKey": true
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"name": "Points",
|
|
169
|
+
"dataType": "Number",
|
|
170
|
+
"maxLength": "",
|
|
171
|
+
"isNullable": true,
|
|
172
|
+
"isPrimaryKey": false
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"name": "TaskType",
|
|
176
|
+
"dataType": "Text",
|
|
177
|
+
"maxLength": "255",
|
|
178
|
+
"isNullable": true,
|
|
179
|
+
"isPrimaryKey": false
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"name": "TaskArea",
|
|
183
|
+
"dataType": "Text",
|
|
184
|
+
"maxLength": "255",
|
|
185
|
+
"isNullable": true,
|
|
186
|
+
"isPrimaryKey": false
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"name": "AddedField",
|
|
190
|
+
"dataType": "Text",
|
|
191
|
+
"maxLength": "255",
|
|
192
|
+
"isNullable": true,
|
|
193
|
+
"isPrimaryKey": false
|
|
194
|
+
}
|
|
195
|
+
],
|
|
196
|
+
"sendableCustomObjectField": "ContactId",
|
|
197
|
+
"sendableSubscriberField": "_SubscriberKey"
|
|
198
|
+
},
|
|
199
|
+
"isVisibleInPicker": true
|
|
200
|
+
}
|