mcdev 7.4.2 → 7.4.4
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/@types/lib/metadataTypes/DataExtension.d.ts.map +1 -1
- package/@types/lib/metadataTypes/DataExtract.d.ts.map +1 -1
- package/@types/lib/metadataTypes/Event.d.ts.map +1 -1
- package/@types/lib/metadataTypes/Journey.d.ts +13 -0
- package/@types/lib/metadataTypes/Journey.d.ts.map +1 -1
- package/@types/lib/metadataTypes/MetadataType.d.ts.map +1 -1
- package/@types/lib/metadataTypes/Script.d.ts +2 -2
- package/@types/lib/metadataTypes/SendClassification.d.ts +12 -0
- package/@types/lib/metadataTypes/SendClassification.d.ts.map +1 -1
- package/@types/lib/metadataTypes/SenderProfile.d.ts +49 -6
- package/@types/lib/metadataTypes/SenderProfile.d.ts.map +1 -1
- package/@types/lib/metadataTypes/TransactionalEmail.d.ts +7 -0
- package/@types/lib/metadataTypes/TransactionalEmail.d.ts.map +1 -1
- package/@types/lib/metadataTypes/User.d.ts +10 -2
- package/@types/lib/metadataTypes/User.d.ts.map +1 -1
- package/@types/lib/metadataTypes/Verification.d.ts.map +1 -1
- package/@types/lib/metadataTypes/definitions/Journey.definition.d.ts +13 -0
- package/@types/lib/metadataTypes/definitions/Script.definition.d.ts +2 -2
- package/@types/lib/metadataTypes/definitions/SenderProfile.definition.d.ts +42 -6
- package/@types/lib/metadataTypes/definitions/TransactionalEmail.definition.d.ts +7 -0
- package/@types/lib/util/validations.d.ts +4 -2
- package/@types/lib/util/validations.d.ts.map +1 -1
- package/boilerplate/config.json +3 -0
- package/boilerplate/files/.prettierrc +6 -0
- package/boilerplate/files/eslint.config.js +18 -0
- package/boilerplate/forcedUpdates.json +4 -0
- package/lib/metadataTypes/DataExtension.js +1 -5
- package/lib/metadataTypes/DataExtract.js +29 -0
- package/lib/metadataTypes/Event.js +36 -4
- package/lib/metadataTypes/Journey.js +216 -41
- package/lib/metadataTypes/MetadataType.js +19 -17
- package/lib/metadataTypes/SendClassification.js +44 -6
- package/lib/metadataTypes/SenderProfile.js +49 -0
- package/lib/metadataTypes/TransactionalEmail.js +32 -0
- package/lib/metadataTypes/User.js +74 -40
- package/lib/metadataTypes/Verification.js +15 -0
- package/lib/metadataTypes/definitions/DataExtract.definition.js +1 -1
- package/lib/metadataTypes/definitions/Event.definition.js +1 -1
- package/lib/metadataTypes/definitions/Journey.definition.js +14 -0
- package/lib/metadataTypes/definitions/Script.definition.js +4 -2
- package/lib/metadataTypes/definitions/SendClassification.definition.js +1 -1
- package/lib/metadataTypes/definitions/SenderProfile.definition.js +54 -21
- package/lib/metadataTypes/definitions/TransactionalEmail.definition.js +8 -1
- package/lib/metadataTypes/definitions/Verification.definition.js +2 -2
- package/lib/util/validations.js +30 -4
- package/package.json +1 -1
- package/test/general.test.js +21 -21
- package/test/mockRoot/.mcdevrc.json +1 -1
- package/test/resources/9999999/accountUser/retrieve-response.xml +104 -0
- package/test/resources/9999999/automation/v1/dataextracts/56c5370a-f988-4f36-b0ee-0f876573f6d7/patch-response.json +2 -2
- package/test/resources/9999999/automation/v1/dataextracts/post-response.json +2 -2
- package/test/resources/9999999/dataExtract/get-expected.json +2 -2
- package/test/resources/9999999/dataExtract/patch-expected.json +2 -2
- package/test/resources/9999999/dataExtract/post-expected.json +2 -2
- package/test/resources/9999999/event/get-expected.json +2 -2
- package/test/resources/9999999/interaction/v1/eventDefinitions/get-response.json +4 -4
- package/test/resources/9999999/journey/build-expected.json +1 -0
- package/test/resources/9999999/journey/get-multistep-expected.json +1 -0
- package/test/resources/9999999/journey/get-quicksend-expected.json +1 -0
- package/test/resources/9999999/journey/get-quicksend-rcb-id-expected.json +1 -0
- package/test/resources/9999999/journey/get-quicksend-rcb-key-expected.json +1 -0
- package/test/resources/9999999/journey/get-quicksend-rcb-name-expected.json +1 -0
- package/test/resources/9999999/journey/get-transactionalEmail-expected.json +3 -2
- package/test/resources/9999999/journey/template-expected.json +1 -0
- package/test/resources/9999999/sendClassification/retrieve-response.xml +4 -4
- package/test/resources/9999999/senderProfile/build-expected.json +1 -0
- package/test/resources/9999999/senderProfile/create-response.xml +1 -0
- package/test/resources/9999999/senderProfile/get-expected.json +4 -1
- package/test/resources/9999999/senderProfile/get-rcb-id-expected.json +3 -0
- package/test/resources/9999999/senderProfile/get-rcb-key-expected.json +3 -0
- package/test/resources/9999999/senderProfile/get-rcb-name-expected.json +3 -0
- package/test/resources/9999999/senderProfile/patch-expected.json +1 -0
- package/test/resources/9999999/senderProfile/post-expected.json +1 -0
- package/test/resources/9999999/senderProfile/retrieve-CustomerKey=Default-response.xml +5 -0
- package/test/resources/9999999/senderProfile/retrieve-response.xml +15 -0
- package/test/resources/9999999/senderProfile/template-expected.json +1 -0
- package/test/resources/9999999/senderProfile/update-response.xml +1 -0
- package/test/resources/9999999/transactionalEmail/build-expected.json +2 -2
- package/test/resources/9999999/transactionalEmail/get-expected.json +2 -2
- package/test/resources/9999999/transactionalEmail/patch-expected.json +2 -2
- package/test/resources/9999999/transactionalEmail/post-expected.json +2 -2
- package/test/resources/9999999/transactionalEmail/template-expected.json +2 -2
- package/test/resources/9999999/verification/get-expected.json +1 -0
- package/test/resources/9999999/verification/patch-expected.json +1 -0
- package/test/resources/9999999/verification/post-expected.json +1 -0
- package/test/type.automation.test.js +4 -4
- package/test/type.dataExtract.test.js +4 -4
- package/test/type.event.test.js +6 -6
- package/test/type.journey.test.js +11 -11
- package/test/type.senderProfile.test.js +6 -6
- package/test/type.transactionalEmail.test.js +3 -3
- package/test/type.user.test.js +2 -2
- package/test/type.verification.test.js +3 -3
|
@@ -22,6 +22,10 @@
|
|
|
22
22
|
<OverallStatus>OK</OverallStatus>
|
|
23
23
|
<RequestID>4c6f37a1-7ab4-47a1-b341-f9912462ee97</RequestID>
|
|
24
24
|
<Results xsi:type="SenderProfile">
|
|
25
|
+
<Client>
|
|
26
|
+
<CreatedBy>700301950</CreatedBy>
|
|
27
|
+
<ModifiedBy>700301950</ModifiedBy>
|
|
28
|
+
</Client>
|
|
25
29
|
<PartnerKey xsi:nil="true" />
|
|
26
30
|
<CreatedDate>2016-07-22T11:53:00</CreatedDate>
|
|
27
31
|
<ModifiedDate>2016-07-22T11:53:00</ModifiedDate>
|
|
@@ -38,8 +42,13 @@
|
|
|
38
42
|
<AutoReply>false</AutoReply>
|
|
39
43
|
<SenderHeaderEmailAddress />
|
|
40
44
|
<SenderHeaderName />
|
|
45
|
+
<FallbackFromAddress />
|
|
41
46
|
</Results>
|
|
42
47
|
<Results xsi:type="SenderProfile">
|
|
48
|
+
<Client>
|
|
49
|
+
<CreatedBy>700301950</CreatedBy>
|
|
50
|
+
<ModifiedBy>700301950</ModifiedBy>
|
|
51
|
+
</Client>
|
|
43
52
|
<PartnerKey xsi:nil="true" />
|
|
44
53
|
<CreatedDate>2021-08-03T11:14:00</CreatedDate>
|
|
45
54
|
<ModifiedDate>2021-08-03T11:14:00</ModifiedDate>
|
|
@@ -56,8 +65,13 @@
|
|
|
56
65
|
<AutoReply>false</AutoReply>
|
|
57
66
|
<SenderHeaderEmailAddress />
|
|
58
67
|
<SenderHeaderName />
|
|
68
|
+
<FallbackFromAddress />
|
|
59
69
|
</Results>
|
|
60
70
|
<Results xsi:type="SenderProfile">
|
|
71
|
+
<Client>
|
|
72
|
+
<CreatedBy>700301950</CreatedBy>
|
|
73
|
+
<ModifiedBy>700301950</ModifiedBy>
|
|
74
|
+
</Client>
|
|
61
75
|
<PartnerKey xsi:nil="true" />
|
|
62
76
|
<CreatedDate>2021-08-03T11:14:00</CreatedDate>
|
|
63
77
|
<ModifiedDate>2021-08-03T11:14:00</ModifiedDate>
|
|
@@ -74,6 +88,7 @@
|
|
|
74
88
|
<AutoReply>false</AutoReply>
|
|
75
89
|
<SenderHeaderEmailAddress />
|
|
76
90
|
<SenderHeaderName />
|
|
91
|
+
<FallbackFromAddress />
|
|
77
92
|
</Results>
|
|
78
93
|
</RetrieveResponseMsg>
|
|
79
94
|
</soap:Body>
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
"name": "testTemplated_temail",
|
|
3
3
|
"definitionKey": "testTemplated_temail",
|
|
4
4
|
"description": "foobar",
|
|
5
|
-
"classification": "Default Transactional",
|
|
6
5
|
"status": "Active",
|
|
7
6
|
"subscriptions": {
|
|
8
7
|
"r__dataExtension_key": "testTemplated_dataExtension",
|
|
@@ -14,5 +13,6 @@
|
|
|
14
13
|
"trackLinks": true
|
|
15
14
|
},
|
|
16
15
|
"r__asset_key": "testTemplated_asset_message",
|
|
17
|
-
"r__journey_key": "testTemplated_temail"
|
|
16
|
+
"r__journey_key": "testTemplated_temail",
|
|
17
|
+
"r__sendClassification_key": "Default Transactional"
|
|
18
18
|
}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
"name": "testExisting_temail",
|
|
3
3
|
"definitionKey": "testExisting_temail",
|
|
4
4
|
"description": "bla bla",
|
|
5
|
-
"classification": "Default Transactional",
|
|
6
5
|
"status": "Active",
|
|
7
6
|
"createdDate": "2020-09-10T03:29:00",
|
|
8
7
|
"modifiedDate": "2020-09-10T03:29:00",
|
|
@@ -16,5 +15,6 @@
|
|
|
16
15
|
"trackLinks": true
|
|
17
16
|
},
|
|
18
17
|
"r__asset_key": "testExisting_asset_message",
|
|
19
|
-
"r__journey_key": "testExisting_temail"
|
|
18
|
+
"r__journey_key": "testExisting_temail",
|
|
19
|
+
"r__sendClassification_key": "Default Transactional"
|
|
20
20
|
}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
"name": "testExisting_temail",
|
|
3
3
|
"definitionKey": "testExisting_temail",
|
|
4
4
|
"description": "updated via deploy",
|
|
5
|
-
"classification": "Default Transactional",
|
|
6
5
|
"status": "Active",
|
|
7
6
|
"createdDate": "2020-09-10T03:29:00",
|
|
8
7
|
"modifiedDate": "2020-09-10T03:29:00",
|
|
@@ -16,5 +15,6 @@
|
|
|
16
15
|
"trackLinks": true
|
|
17
16
|
},
|
|
18
17
|
"r__asset_key": "testExisting_asset_message",
|
|
19
|
-
"r__journey_key": "testExisting_temail"
|
|
18
|
+
"r__journey_key": "testExisting_temail",
|
|
19
|
+
"r__sendClassification_key": "Default Transactional"
|
|
20
20
|
}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
"name": "testNew_temail",
|
|
3
3
|
"definitionKey": "testNew_temail",
|
|
4
4
|
"description": "created on deploy",
|
|
5
|
-
"classification": "Default Transactional",
|
|
6
5
|
"status": "Active",
|
|
7
6
|
"createdDate": "2022-12-06T06:08:00",
|
|
8
7
|
"modifiedDate": "2022-12-06T06:08:00",
|
|
@@ -16,5 +15,6 @@
|
|
|
16
15
|
"trackLinks": true
|
|
17
16
|
},
|
|
18
17
|
"r__asset_key": "testExisting_asset_message",
|
|
19
|
-
"r__journey_key": "testNew_RANDOM_interaction"
|
|
18
|
+
"r__journey_key": "testNew_RANDOM_interaction",
|
|
19
|
+
"r__sendClassification_key": "Default Transactional"
|
|
20
20
|
}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
"name": "{{{prefix}}}temail",
|
|
3
3
|
"definitionKey": "{{{prefix}}}temail",
|
|
4
4
|
"description": "{{{description}}}",
|
|
5
|
-
"classification": "Default Transactional",
|
|
6
5
|
"status": "Active",
|
|
7
6
|
"subscriptions": {
|
|
8
7
|
"r__dataExtension_key": "{{{prefix}}}dataExtension",
|
|
@@ -14,5 +13,6 @@
|
|
|
14
13
|
"trackLinks": true
|
|
15
14
|
},
|
|
16
15
|
"r__asset_key": "{{{prefix}}}asset_message",
|
|
17
|
-
"r__journey_key": "{{{prefix}}}temail"
|
|
16
|
+
"r__journey_key": "{{{prefix}}}temail",
|
|
17
|
+
"r__sendClassification_key": "Default Transactional"
|
|
18
18
|
}
|
|
@@ -133,7 +133,7 @@ describe('type: automation', () => {
|
|
|
133
133
|
|
|
134
134
|
assert.equal(
|
|
135
135
|
testUtils.getAPIHistoryLength(),
|
|
136
|
-
|
|
136
|
+
32,
|
|
137
137
|
'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
|
|
138
138
|
);
|
|
139
139
|
return;
|
|
@@ -201,7 +201,7 @@ describe('type: automation', () => {
|
|
|
201
201
|
|
|
202
202
|
assert.equal(
|
|
203
203
|
testUtils.getAPIHistoryLength(),
|
|
204
|
-
|
|
204
|
+
40,
|
|
205
205
|
'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
|
|
206
206
|
);
|
|
207
207
|
return;
|
|
@@ -268,7 +268,7 @@ describe('type: automation', () => {
|
|
|
268
268
|
|
|
269
269
|
assert.equal(
|
|
270
270
|
testUtils.getAPIHistoryLength(),
|
|
271
|
-
|
|
271
|
+
36,
|
|
272
272
|
'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
|
|
273
273
|
);
|
|
274
274
|
return;
|
|
@@ -668,7 +668,7 @@ describe('type: automation', () => {
|
|
|
668
668
|
it('Should create a automation template via buildTemplate with --dependencies', async () => {
|
|
669
669
|
// download first before we test buildTemplate
|
|
670
670
|
await handler.retrieve('testInstance/testBU');
|
|
671
|
-
const expectedApiCallsRetrieve =
|
|
671
|
+
const expectedApiCallsRetrieve = 84;
|
|
672
672
|
assert.equal(
|
|
673
673
|
testUtils.getAPIHistoryLength(),
|
|
674
674
|
expectedApiCallsRetrieve,
|
|
@@ -36,7 +36,7 @@ describe('type: dataExtract', () => {
|
|
|
36
36
|
);
|
|
37
37
|
assert.equal(
|
|
38
38
|
testUtils.getAPIHistoryLength(),
|
|
39
|
-
|
|
39
|
+
6,
|
|
40
40
|
'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
|
|
41
41
|
);
|
|
42
42
|
return;
|
|
@@ -76,7 +76,7 @@ describe('type: dataExtract', () => {
|
|
|
76
76
|
// check number of API calls
|
|
77
77
|
assert.equal(
|
|
78
78
|
testUtils.getAPIHistoryLength(),
|
|
79
|
-
|
|
79
|
+
8,
|
|
80
80
|
'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
|
|
81
81
|
);
|
|
82
82
|
return;
|
|
@@ -120,7 +120,7 @@ describe('type: dataExtract', () => {
|
|
|
120
120
|
);
|
|
121
121
|
assert.equal(
|
|
122
122
|
testUtils.getAPIHistoryLength(),
|
|
123
|
-
|
|
123
|
+
6,
|
|
124
124
|
'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
|
|
125
125
|
);
|
|
126
126
|
return;
|
|
@@ -162,7 +162,7 @@ describe('type: dataExtract', () => {
|
|
|
162
162
|
);
|
|
163
163
|
assert.equal(
|
|
164
164
|
testUtils.getAPIHistoryLength(),
|
|
165
|
-
|
|
165
|
+
6,
|
|
166
166
|
'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
|
|
167
167
|
);
|
|
168
168
|
return;
|
package/test/type.event.test.js
CHANGED
|
@@ -37,7 +37,7 @@ describe('type: event', () => {
|
|
|
37
37
|
);
|
|
38
38
|
assert.equal(
|
|
39
39
|
testUtils.getAPIHistoryLength(),
|
|
40
|
-
|
|
40
|
+
7,
|
|
41
41
|
'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
|
|
42
42
|
);
|
|
43
43
|
return;
|
|
@@ -116,7 +116,7 @@ describe('type: event', () => {
|
|
|
116
116
|
// check number of API calls
|
|
117
117
|
assert.equal(
|
|
118
118
|
testUtils.getAPIHistoryLength(),
|
|
119
|
-
|
|
119
|
+
17,
|
|
120
120
|
'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
|
|
121
121
|
);
|
|
122
122
|
return;
|
|
@@ -162,7 +162,7 @@ describe('type: event', () => {
|
|
|
162
162
|
// check number of API calls
|
|
163
163
|
assert.equal(
|
|
164
164
|
testUtils.getAPIHistoryLength(),
|
|
165
|
-
|
|
165
|
+
8,
|
|
166
166
|
'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
|
|
167
167
|
);
|
|
168
168
|
return;
|
|
@@ -198,7 +198,7 @@ describe('type: event', () => {
|
|
|
198
198
|
// check number of API calls
|
|
199
199
|
assert.equal(
|
|
200
200
|
testUtils.getAPIHistoryLength(),
|
|
201
|
-
|
|
201
|
+
8,
|
|
202
202
|
'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
|
|
203
203
|
);
|
|
204
204
|
return;
|
|
@@ -271,7 +271,7 @@ describe('type: event', () => {
|
|
|
271
271
|
|
|
272
272
|
assert.equal(
|
|
273
273
|
testUtils.getAPIHistoryLength(),
|
|
274
|
-
|
|
274
|
+
7,
|
|
275
275
|
'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
|
|
276
276
|
);
|
|
277
277
|
return;
|
|
@@ -317,7 +317,7 @@ describe('type: event', () => {
|
|
|
317
317
|
|
|
318
318
|
assert.equal(
|
|
319
319
|
testUtils.getAPIHistoryLength(),
|
|
320
|
-
|
|
320
|
+
7,
|
|
321
321
|
'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
|
|
322
322
|
);
|
|
323
323
|
return;
|
|
@@ -46,7 +46,7 @@ describe('type: journey', () => {
|
|
|
46
46
|
);
|
|
47
47
|
assert.equal(
|
|
48
48
|
testUtils.getAPIHistoryLength(),
|
|
49
|
-
|
|
49
|
+
26,
|
|
50
50
|
'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
|
|
51
51
|
);
|
|
52
52
|
return;
|
|
@@ -75,7 +75,7 @@ describe('type: journey', () => {
|
|
|
75
75
|
);
|
|
76
76
|
assert.equal(
|
|
77
77
|
testUtils.getAPIHistoryLength(),
|
|
78
|
-
|
|
78
|
+
19,
|
|
79
79
|
'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
|
|
80
80
|
);
|
|
81
81
|
return;
|
|
@@ -105,7 +105,7 @@ describe('type: journey', () => {
|
|
|
105
105
|
);
|
|
106
106
|
assert.equal(
|
|
107
107
|
testUtils.getAPIHistoryLength(),
|
|
108
|
-
|
|
108
|
+
19,
|
|
109
109
|
'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
|
|
110
110
|
);
|
|
111
111
|
return;
|
|
@@ -131,7 +131,7 @@ describe('type: journey', () => {
|
|
|
131
131
|
);
|
|
132
132
|
assert.equal(
|
|
133
133
|
testUtils.getAPIHistoryLength(),
|
|
134
|
-
|
|
134
|
+
22,
|
|
135
135
|
'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
|
|
136
136
|
);
|
|
137
137
|
return;
|
|
@@ -160,7 +160,7 @@ describe('type: journey', () => {
|
|
|
160
160
|
);
|
|
161
161
|
assert.equal(
|
|
162
162
|
testUtils.getAPIHistoryLength(),
|
|
163
|
-
|
|
163
|
+
19,
|
|
164
164
|
'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
|
|
165
165
|
);
|
|
166
166
|
return;
|
|
@@ -189,7 +189,7 @@ describe('type: journey', () => {
|
|
|
189
189
|
);
|
|
190
190
|
assert.equal(
|
|
191
191
|
testUtils.getAPIHistoryLength(),
|
|
192
|
-
|
|
192
|
+
20,
|
|
193
193
|
'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
|
|
194
194
|
);
|
|
195
195
|
return;
|
|
@@ -258,7 +258,7 @@ describe('type: journey', () => {
|
|
|
258
258
|
|
|
259
259
|
assert.equal(
|
|
260
260
|
testUtils.getAPIHistoryLength(),
|
|
261
|
-
|
|
261
|
+
26,
|
|
262
262
|
'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
|
|
263
263
|
);
|
|
264
264
|
return;
|
|
@@ -445,7 +445,7 @@ describe('type: journey', () => {
|
|
|
445
445
|
|
|
446
446
|
assert.equal(
|
|
447
447
|
testUtils.getAPIHistoryLength(),
|
|
448
|
-
|
|
448
|
+
32,
|
|
449
449
|
'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
|
|
450
450
|
);
|
|
451
451
|
return;
|
|
@@ -480,7 +480,7 @@ describe('type: journey', () => {
|
|
|
480
480
|
|
|
481
481
|
assert.equal(
|
|
482
482
|
testUtils.getAPIHistoryLength(),
|
|
483
|
-
|
|
483
|
+
32,
|
|
484
484
|
'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
|
|
485
485
|
);
|
|
486
486
|
return;
|
|
@@ -515,7 +515,7 @@ describe('type: journey', () => {
|
|
|
515
515
|
|
|
516
516
|
assert.equal(
|
|
517
517
|
testUtils.getAPIHistoryLength(),
|
|
518
|
-
|
|
518
|
+
32,
|
|
519
519
|
'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
|
|
520
520
|
);
|
|
521
521
|
return;
|
|
@@ -581,7 +581,7 @@ describe('type: journey', () => {
|
|
|
581
581
|
|
|
582
582
|
assert.equal(
|
|
583
583
|
testUtils.getAPIHistoryLength(),
|
|
584
|
-
|
|
584
|
+
35,
|
|
585
585
|
'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
|
|
586
586
|
);
|
|
587
587
|
return;
|
|
@@ -36,7 +36,7 @@ describe('type: senderProfile', () => {
|
|
|
36
36
|
);
|
|
37
37
|
assert.equal(
|
|
38
38
|
testUtils.getAPIHistoryLength(),
|
|
39
|
-
|
|
39
|
+
4,
|
|
40
40
|
'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
|
|
41
41
|
);
|
|
42
42
|
return;
|
|
@@ -76,7 +76,7 @@ describe('type: senderProfile', () => {
|
|
|
76
76
|
// check number of API calls
|
|
77
77
|
assert.equal(
|
|
78
78
|
testUtils.getAPIHistoryLength(),
|
|
79
|
-
|
|
79
|
+
6,
|
|
80
80
|
'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
|
|
81
81
|
);
|
|
82
82
|
return;
|
|
@@ -123,7 +123,7 @@ describe('type: senderProfile', () => {
|
|
|
123
123
|
);
|
|
124
124
|
assert.equal(
|
|
125
125
|
testUtils.getAPIHistoryLength(),
|
|
126
|
-
|
|
126
|
+
4,
|
|
127
127
|
'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
|
|
128
128
|
);
|
|
129
129
|
return;
|
|
@@ -203,7 +203,7 @@ describe('type: senderProfile', () => {
|
|
|
203
203
|
|
|
204
204
|
assert.equal(
|
|
205
205
|
testUtils.getAPIHistoryLength(),
|
|
206
|
-
|
|
206
|
+
10,
|
|
207
207
|
'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
|
|
208
208
|
);
|
|
209
209
|
return;
|
|
@@ -238,7 +238,7 @@ describe('type: senderProfile', () => {
|
|
|
238
238
|
|
|
239
239
|
assert.equal(
|
|
240
240
|
testUtils.getAPIHistoryLength(),
|
|
241
|
-
|
|
241
|
+
10,
|
|
242
242
|
'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
|
|
243
243
|
);
|
|
244
244
|
return;
|
|
@@ -273,7 +273,7 @@ describe('type: senderProfile', () => {
|
|
|
273
273
|
|
|
274
274
|
assert.equal(
|
|
275
275
|
testUtils.getAPIHistoryLength(),
|
|
276
|
-
|
|
276
|
+
10,
|
|
277
277
|
'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
|
|
278
278
|
);
|
|
279
279
|
return;
|
|
@@ -36,7 +36,7 @@ describe('type: transactionalEmail', () => {
|
|
|
36
36
|
);
|
|
37
37
|
assert.equal(
|
|
38
38
|
testUtils.getAPIHistoryLength(),
|
|
39
|
-
|
|
39
|
+
13,
|
|
40
40
|
'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
|
|
41
41
|
);
|
|
42
42
|
return;
|
|
@@ -75,7 +75,7 @@ describe('type: transactionalEmail', () => {
|
|
|
75
75
|
// check number of API calls
|
|
76
76
|
assert.equal(
|
|
77
77
|
testUtils.getAPIHistoryLength(),
|
|
78
|
-
|
|
78
|
+
15,
|
|
79
79
|
'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
|
|
80
80
|
);
|
|
81
81
|
return;
|
|
@@ -137,7 +137,7 @@ describe('type: transactionalEmail', () => {
|
|
|
137
137
|
);
|
|
138
138
|
assert.equal(
|
|
139
139
|
testUtils.getAPIHistoryLength(),
|
|
140
|
-
|
|
140
|
+
13,
|
|
141
141
|
'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
|
|
142
142
|
);
|
|
143
143
|
return;
|
package/test/type.user.test.js
CHANGED
|
@@ -132,7 +132,7 @@ describe('type: user', () => {
|
|
|
132
132
|
|
|
133
133
|
assert.equal(
|
|
134
134
|
testUtils.getAPIHistoryLength(),
|
|
135
|
-
|
|
135
|
+
8,
|
|
136
136
|
'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
|
|
137
137
|
);
|
|
138
138
|
return;
|
|
@@ -165,7 +165,7 @@ describe('type: user', () => {
|
|
|
165
165
|
|
|
166
166
|
assert.equal(
|
|
167
167
|
testUtils.getAPIHistoryLength(),
|
|
168
|
-
|
|
168
|
+
5,
|
|
169
169
|
'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
|
|
170
170
|
);
|
|
171
171
|
return;
|
|
@@ -47,7 +47,7 @@ describe('type: verification', () => {
|
|
|
47
47
|
);
|
|
48
48
|
assert.equal(
|
|
49
49
|
testUtils.getAPIHistoryLength(),
|
|
50
|
-
|
|
50
|
+
12,
|
|
51
51
|
'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
|
|
52
52
|
);
|
|
53
53
|
return;
|
|
@@ -97,7 +97,7 @@ describe('type: verification', () => {
|
|
|
97
97
|
// check number of API calls
|
|
98
98
|
assert.equal(
|
|
99
99
|
testUtils.getAPIHistoryLength(),
|
|
100
|
-
|
|
100
|
+
14,
|
|
101
101
|
'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
|
|
102
102
|
);
|
|
103
103
|
return;
|
|
@@ -147,7 +147,7 @@ describe('type: verification', () => {
|
|
|
147
147
|
);
|
|
148
148
|
assert.equal(
|
|
149
149
|
testUtils.getAPIHistoryLength(),
|
|
150
|
-
|
|
150
|
+
12,
|
|
151
151
|
'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
|
|
152
152
|
);
|
|
153
153
|
return;
|