mcdev 5.0.1 → 5.1.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/.coverage-comment-template.svelte +177 -161
- package/.eslintrc.json +1 -0
- package/.github/ISSUE_TEMPLATE/bug.yml +2 -0
- package/.github/dependabot.yml +8 -0
- package/.github/workflows/coverage-base-update.yml +6 -2
- package/.github/workflows/coverage-develop-branch.yml +7 -6
- package/.github/workflows/coverage-main-branch.yml +7 -6
- package/.github/workflows/coverage.yml +7 -2
- package/.husky/commit-msg +1 -1
- package/.husky/post-checkout +35 -3
- package/.husky/post-merge +21 -0
- package/.husky/pre-commit +1 -0
- package/docs/dist/documentation.md +222 -62
- package/lib/Deployer.js +3 -4
- package/lib/cli.js +36 -8
- package/lib/index.js +175 -3
- package/lib/metadataTypes/Asset.js +4 -2
- package/lib/metadataTypes/Automation.js +413 -195
- package/lib/metadataTypes/DataExtension.js +6 -8
- package/lib/metadataTypes/DataExtensionField.js +5 -5
- package/lib/metadataTypes/Journey.js +11 -10
- package/lib/metadataTypes/MetadataType.js +76 -22
- package/lib/metadataTypes/MobileKeyword.js +165 -20
- package/lib/metadataTypes/MobileMessage.js +20 -28
- package/lib/metadataTypes/Query.js +26 -0
- package/lib/metadataTypes/Role.js +2 -3
- package/lib/metadataTypes/TransactionalSMS.js +5 -5
- package/lib/metadataTypes/User.js +3 -17
- package/lib/metadataTypes/definitions/Asset.definition.js +1 -0
- package/lib/metadataTypes/definitions/Automation.definition.js +52 -6
- package/lib/metadataTypes/definitions/DataExtension.definition.js +1 -0
- package/lib/metadataTypes/definitions/DataExtract.definition.js +1 -0
- package/lib/metadataTypes/definitions/EmailSend.definition.js +1 -0
- package/lib/metadataTypes/definitions/Event.definition.js +1 -0
- package/lib/metadataTypes/definitions/Filter.definition.js +1 -0
- package/lib/metadataTypes/definitions/ImportFile.definition.js +1 -0
- package/lib/metadataTypes/definitions/MobileKeyword.definition.js +20 -7
- package/lib/metadataTypes/definitions/MobileMessage.definition.js +50 -8
- package/lib/metadataTypes/definitions/Query.definition.js +1 -0
- package/lib/metadataTypes/definitions/Role.definition.js +1 -0
- package/lib/metadataTypes/definitions/TriggeredSend.definition.js +1 -0
- package/lib/metadataTypes/definitions/User.definition.js +2 -0
- package/lib/util/auth.js +4 -1
- package/lib/util/cli.js +1 -1
- package/lib/util/devops.js +13 -11
- package/lib/util/file.js +5 -3
- package/lib/util/util.js +153 -129
- package/package.json +11 -11
- package/test/general.test.js +26 -0
- package/test/mockRoot/.mcdevrc.json +3 -1
- package/test/mockRoot/deploy/testInstance/testBU/automation/testExisting_automation.automation-meta.json +53 -0
- package/test/mockRoot/deploy/testInstance/testBU/automation/testNew_automation.automation-meta.json +46 -0
- package/test/mockRoot/deploy/testInstance/testBU/mobileKeyword/{testNew_keyword.mobileKeyword-meta.json → 4912312345678.TESTNEW_KEYWORD.mobileKeyword-meta.json} +1 -4
- package/test/mockRoot/deploy/testInstance/testBU/mobileKeyword/{testNew_keyword_blocked.mobileKeyword-meta.json → 4912312345678.TESTNEW_KEYWORD_BLOCKED.mobileKeyword-meta.json} +1 -4
- package/test/mockRoot/deploy/testInstance/testBU/query/{testExistingQuery.query-meta.json → testExisting_query.query-meta.json} +2 -2
- package/test/mockRoot/deploy/testInstance/testBU/query/{testNewQuery.query-meta.json → testNew_query.query-meta.json} +2 -2
- package/test/mockRoot/deploy/testInstance/testBU/transactionalSMS/testExisting_tsms.transactionalSMS-meta.json +1 -1
- package/test/mockRoot/deploy/testInstance/testBU/transactionalSMS/testNew_tsms.transactionalSMS-meta.json +1 -1
- package/test/resourceFactory.js +64 -21
- package/test/resources/1111111/user/retrieve-expected.md +19 -0
- package/test/resources/9999999/automation/build-expected.json +58 -0
- package/test/resources/9999999/automation/create-expected.json +46 -0
- package/test/resources/9999999/automation/create-testNew_automation-expected.md +28 -0
- package/test/resources/9999999/automation/delete-response.xml +40 -0
- package/test/resources/9999999/automation/retrieve-expected.json +58 -0
- package/test/resources/9999999/automation/retrieve-testExisting_automation-expected.md +30 -0
- package/test/resources/9999999/automation/template-expected.json +58 -0
- package/test/resources/9999999/automation/update-expected.json +46 -0
- package/test/resources/9999999/automation/update-testExisting_automation-expected.md +28 -0
- package/test/resources/9999999/automation/v1/automations/08afb0e2-b00a-4c88-ad2e-1f7f8788c560/get-response.json +85 -0
- package/test/resources/9999999/automation/v1/automations/08afb0e2-b00a-4c88-ad2e-1f7f8788c560/patch-response.json +85 -0
- package/test/resources/9999999/automation/v1/automations/a8afb0e2-b00a-4c88-ad2e-1f7f8788c560/get-response.json +85 -0
- package/test/resources/9999999/automation/v1/automations/post-response.json +85 -0
- package/test/resources/9999999/automation/v1/dataextracts/56c5370a-f988-4f36-b0ee-0f876573f6d7/get-response.json +38 -0
- package/test/resources/9999999/automation/v1/dataextracts/get-response.json +20 -0
- package/test/resources/9999999/automation/v1/filetransfers/72c328ac-f5b0-4e37-91d3-a775666f15a6/get-response.json +18 -0
- package/test/resources/9999999/automation/v1/filetransfers/get-response.json +15 -0
- package/test/resources/9999999/automation/v1/imports/get-response.json +38 -0
- package/test/resources/9999999/automation/v1/queries/549f0568-607c-4940-afef-437965094dat/actions/start/post-response.txt +1 -0
- package/test/resources/9999999/automation/v1/queries/549f0568-607c-4940-afef-437965094dat/get-response.json +2 -2
- package/test/resources/9999999/automation/v1/queries/549f0568-607c-4940-afef-437965094dat/patch-response.json +2 -2
- package/test/resources/9999999/automation/v1/queries/get-response.json +4 -4
- package/test/resources/9999999/automation/v1/queries/post-response.json +2 -2
- package/test/resources/9999999/automation/v1/scripts/get-response.json +17 -0
- package/test/resources/9999999/dataExtension/retrieve-expected.md +18 -0
- package/test/resources/9999999/dataFolder/retrieve-ContentType=automations-response.xml +48 -0
- package/test/resources/9999999/dataFolder/retrieve-ContentType=queryactivity-response.xml +48 -0
- package/test/resources/9999999/dataFolder/retrieve-response.xml +22 -0
- package/test/resources/9999999/emailSendDefinition/retrieve-response.xml +85 -0
- package/test/resources/9999999/journey/build-expected.json +1 -1
- package/test/resources/9999999/journey/get-expected.json +1 -1
- package/test/resources/9999999/journey/put-expected.json +1 -1
- package/test/resources/9999999/journey/template-expected.json +1 -1
- package/test/resources/9999999/legacy/v1/beta/automations/notifications/RkpOcE9qSVh2VUdnYTVJbWFfWW14dzoyNTow/get-response.json +21 -0
- package/test/resources/9999999/legacy/v1/beta/automations/notifications/RkpOcE9qSVh2VUdnYTVJbWFfWW14dzoyNTow/post-response.json +0 -0
- package/test/resources/9999999/legacy/v1/beta/bulk/automations/automation/definition/get-response.json +30 -0
- package/test/resources/9999999/legacy/v1/beta/mobile/keyword/NXV4ZFMwTEFwRVczd3RaLUF5X3p5dzo4Njow/get-response.json +1 -1
- package/test/resources/9999999/legacy/v1/beta/mobile/keyword/get-response.json +1 -1
- package/test/resources/9999999/legacy/v1/beta/mobile/message/NTIzOjc4OjA/get-response.json +1 -1
- package/test/resources/9999999/legacy/v1/beta/mobile/message/get-response.json +1 -1
- package/test/resources/9999999/messaging/v1/sms/definitions/post-response.json +1 -1
- package/test/resources/9999999/messaging/v1/sms/definitions/testExisting_tsms/get-response.json +1 -1
- package/test/resources/9999999/messaging/v1/sms/definitions/testExisting_tsms/patch-response.json +1 -1
- package/test/resources/9999999/mobileKeyword/build-expected.json +1 -4
- package/test/resources/9999999/mobileKeyword/get-expected.json +1 -4
- package/test/resources/9999999/mobileKeyword/post-create-expected.json +1 -4
- package/test/resources/9999999/mobileKeyword/template-expected.json +1 -4
- package/test/resources/9999999/program/retrieve-CustomerKey=testExisting_automation-response.xml +30 -0
- package/test/resources/9999999/program/retrieve-CustomerKey=testNew_automation-response.xml +30 -0
- package/test/resources/9999999/program/retrieve-Name=testExisting_automation-response.xml +31 -0
- package/test/resources/9999999/program/retrieve-response.xml +32 -0
- package/test/resources/9999999/query/build-expected.json +2 -2
- package/test/resources/9999999/query/build-expected.sql +1 -1
- package/test/resources/9999999/query/get-expected.json +2 -2
- package/test/resources/9999999/query/get-expected.sql +1 -1
- package/test/resources/9999999/query/get2-expected.json +2 -2
- package/test/resources/9999999/query/patch-expected.json +2 -2
- package/test/resources/9999999/query/patch-expected.sql +1 -1
- package/test/resources/9999999/query/post-expected.json +2 -2
- package/test/resources/9999999/query/post-expected.sql +1 -1
- package/test/resources/9999999/query/template-expected.json +2 -2
- package/test/resources/9999999/query/template-expected.sql +1 -1
- package/test/resources/9999999/transactionalSMS/build-expected.json +1 -1
- package/test/resources/9999999/transactionalSMS/get-expected.json +1 -1
- package/test/resources/9999999/transactionalSMS/patch-expected.json +1 -1
- package/test/resources/9999999/transactionalSMS/post-expected.json +1 -1
- package/test/resources/9999999/transactionalSMS/template-expected.json +1 -1
- package/test/type.automation.test.js +259 -0
- package/test/type.dataExtension.test.js +16 -1
- package/test/type.mobileKeyword.test.js +57 -19
- package/test/type.query.test.js +39 -26
- package/test/type.user.test.js +44 -1
- package/test/utils.js +16 -5
- package/.coverage-comment-template.md +0 -20
- /package/test/mockRoot/deploy/testInstance/testBU/mobileKeyword/{testNew_keyword.mobileKeyword-meta.amp → 4912312345678.TESTNEW_KEYWORD.mobileKeyword-meta.amp} +0 -0
- /package/test/mockRoot/deploy/testInstance/testBU/mobileKeyword/{testNew_keyword_blocked.mobileKeyword-meta.amp → 4912312345678.TESTNEW_KEYWORD_BLOCKED.mobileKeyword-meta.amp} +0 -0
- /package/test/mockRoot/deploy/testInstance/testBU/query/{testExistingQuery.query-meta.sql → testExisting_query.query-meta.sql} +0 -0
- /package/test/mockRoot/deploy/testInstance/testBU/query/{testNewQuery.query-meta.sql → testNew_query.query-meta.sql} +0 -0
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
|
|
3
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
4
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
|
5
|
+
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
|
|
6
|
+
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
|
|
7
|
+
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
|
|
8
|
+
<soap:Header>
|
|
9
|
+
<wsa:Action>RetrieveResponse</wsa:Action>
|
|
10
|
+
<wsa:MessageID>urn:uuid:e0ba7da7-7e82-42db-a166-42a488ac375b</wsa:MessageID>
|
|
11
|
+
<wsa:RelatesTo>urn:uuid:17a3f405-6bd8-4b30-9230-44fea1749b96</wsa:RelatesTo>
|
|
12
|
+
<wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To>
|
|
13
|
+
<wsse:Security>
|
|
14
|
+
<wsu:Timestamp wsu:Id="Timestamp-96902d78-e86f-4361-855e-c37e2e3b4b58">
|
|
15
|
+
<wsu:Created>2023-06-01T12:04:17Z</wsu:Created>
|
|
16
|
+
<wsu:Expires>2023-06-01T12:09:17Z</wsu:Expires>
|
|
17
|
+
</wsu:Timestamp>
|
|
18
|
+
</wsse:Security>
|
|
19
|
+
</soap:Header>
|
|
20
|
+
<soap:Body>
|
|
21
|
+
<RetrieveResponseMsg xmlns="http://exacttarget.com/wsdl/partnerAPI">
|
|
22
|
+
<OverallStatus>OK</OverallStatus>
|
|
23
|
+
<RequestID>687d0584-acbe-4bac-bfc2-4c41b73b5a32</RequestID>
|
|
24
|
+
<Results xsi:type="EmailSendDefinition">
|
|
25
|
+
<PartnerKey xsi:nil="true" />
|
|
26
|
+
<CreatedDate>2022-11-14T12:27:29.963</CreatedDate>
|
|
27
|
+
<ModifiedDate>2022-11-14T12:27:29.963</ModifiedDate>
|
|
28
|
+
<ObjectID>9b1c7bf9-4964-ed11-b849-48df37d1de8b</ObjectID>
|
|
29
|
+
<CustomerKey>testExisting_emailSend</CustomerKey>
|
|
30
|
+
<IsPlatformObject>false</IsPlatformObject>
|
|
31
|
+
<Name>testExisting_emailSend</Name>
|
|
32
|
+
<Description>some description</Description>
|
|
33
|
+
<CategoryID>290820</CategoryID>
|
|
34
|
+
<SendClassification>
|
|
35
|
+
<PartnerKey xsi:nil="true" />
|
|
36
|
+
<ObjectID xsi:nil="true" />
|
|
37
|
+
<CustomerKey>test_send_classification</CustomerKey>
|
|
38
|
+
</SendClassification>
|
|
39
|
+
<SenderProfile>
|
|
40
|
+
<PartnerKey xsi:nil="true" />
|
|
41
|
+
<ObjectID xsi:nil="true" />
|
|
42
|
+
<CustomerKey>Test_sender</CustomerKey>
|
|
43
|
+
</SenderProfile>
|
|
44
|
+
<DeliveryProfile>
|
|
45
|
+
<PartnerKey xsi:nil="true" />
|
|
46
|
+
<ObjectID xsi:nil="true" />
|
|
47
|
+
<CustomerKey>Default</CustomerKey>
|
|
48
|
+
</DeliveryProfile>
|
|
49
|
+
<SuppressTracking>false</SuppressTracking>
|
|
50
|
+
<IsSendLogging>false</IsSendLogging>
|
|
51
|
+
<SendDefinitionList>
|
|
52
|
+
<PartnerKey xsi:nil="true" />
|
|
53
|
+
<ObjectID>9d1c7bf9-4964-ed11-b849-48df37d1de8b</ObjectID>
|
|
54
|
+
<List>
|
|
55
|
+
<PartnerKey xsi:nil="true" />
|
|
56
|
+
<ID>32308</ID>
|
|
57
|
+
<ObjectID xsi:nil="true" />
|
|
58
|
+
</List>
|
|
59
|
+
<SendDefinitionListType>SourceList</SendDefinitionListType>
|
|
60
|
+
<CustomObjectID>2c19d707-743e-ed11-b848-48df37b24911</CustomObjectID>
|
|
61
|
+
<DataSourceTypeID>CustomObject</DataSourceTypeID>
|
|
62
|
+
<IsTestObject>false</IsTestObject>
|
|
63
|
+
<SalesForceObjectID />
|
|
64
|
+
<Name />
|
|
65
|
+
</SendDefinitionList>
|
|
66
|
+
<Email>
|
|
67
|
+
<PartnerKey xsi:nil="true" />
|
|
68
|
+
<ID>676709</ID>
|
|
69
|
+
<ObjectID xsi:nil="true" />
|
|
70
|
+
</Email>
|
|
71
|
+
<BccEmail />
|
|
72
|
+
<AutoBccEmail />
|
|
73
|
+
<TestEmailAddr />
|
|
74
|
+
<EmailSubject>someSubject</EmailSubject>
|
|
75
|
+
<DynamicEmailSubject>someSubject</DynamicEmailSubject>
|
|
76
|
+
<IsMultipart>true</IsMultipart>
|
|
77
|
+
<IsWrapped>true</IsWrapped>
|
|
78
|
+
<DeduplicateByEmail>false</DeduplicateByEmail>
|
|
79
|
+
<ExclusionFilter />
|
|
80
|
+
<Additional />
|
|
81
|
+
<CCEmail />
|
|
82
|
+
</Results>
|
|
83
|
+
</RetrieveResponseMsg>
|
|
84
|
+
</soap:Body>
|
|
85
|
+
</soap:Envelope>
|
|
@@ -323,7 +323,7 @@
|
|
|
323
323
|
},
|
|
324
324
|
"configurationArguments": {
|
|
325
325
|
"c__mobileMessage_id": "NTIzOjc4OjA",
|
|
326
|
-
"
|
|
326
|
+
"r__mobileKeyword_codeKeyword": "4912312345678.TESTTEMPLATED_KEYWORD",
|
|
327
327
|
"isOptIn": false,
|
|
328
328
|
"honorBlackoutWindowEnum": 0,
|
|
329
329
|
"mobileBlackoutWindowStartTime": "",
|
|
@@ -326,7 +326,7 @@
|
|
|
326
326
|
},
|
|
327
327
|
"configurationArguments": {
|
|
328
328
|
"c__mobileMessage_id": "NTIzOjc4OjA",
|
|
329
|
-
"
|
|
329
|
+
"r__mobileKeyword_codeKeyword": "4912312345678.TESTEXISTING_KEYWORD",
|
|
330
330
|
"isOptIn": false,
|
|
331
331
|
"honorBlackoutWindowEnum": 0,
|
|
332
332
|
"mobileBlackoutWindowStartTime": "",
|
|
@@ -326,7 +326,7 @@
|
|
|
326
326
|
},
|
|
327
327
|
"configurationArguments": {
|
|
328
328
|
"c__mobileMessage_id": "NTIzOjc4OjA",
|
|
329
|
-
"
|
|
329
|
+
"r__mobileKeyword_codeKeyword": "4912312345678.TESTEXISTING_KEYWORD",
|
|
330
330
|
"isOptIn": false,
|
|
331
331
|
"honorBlackoutWindowEnum": 0,
|
|
332
332
|
"mobileBlackoutWindowStartTime": "",
|
|
@@ -323,7 +323,7 @@
|
|
|
323
323
|
},
|
|
324
324
|
"configurationArguments": {
|
|
325
325
|
"c__mobileMessage_id": "NTIzOjc4OjA",
|
|
326
|
-
"
|
|
326
|
+
"r__mobileKeyword_codeKeyword": "4912312345678.{{{prefixUpper}}}KEYWORD",
|
|
327
327
|
"isOptIn": false,
|
|
328
328
|
"honorBlackoutWindowEnum": 0,
|
|
329
329
|
"mobileBlackoutWindowStartTime": "",
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"programId": "ZGQ4N2M2ZjEtYjJlZi00MDljLTg3MDctYzYwNWQ0MzdiYWI4OjI1OjA",
|
|
3
|
+
"workers": [
|
|
4
|
+
{
|
|
5
|
+
"programId": "ZGQ4N2M2ZjEtYjJlZi00MDljLTg3MDctYzYwNWQ0MzdiYWI4OjI1OjA",
|
|
6
|
+
"id": "YjA2NmVlODEtODllOS00NTE4LTkwYzYtMTY4Mzg2ZTk3MGE4OjEyOjA",
|
|
7
|
+
"notificationType": "Complete",
|
|
8
|
+
"definition": "complete@test.accenture.com",
|
|
9
|
+
"body": "",
|
|
10
|
+
"channelType": "Account"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"programId": "ZGQ4N2M2ZjEtYjJlZi00MDljLTg3MDctYzYwNWQ0MzdiYWI4OjI1OjA",
|
|
14
|
+
"id": "NGIzZGQ5N2EtMDI0ZS00MzFiLTg5ZWYtNTdjYTI4ODVjMjQ0OjEyOjA",
|
|
15
|
+
"notificationType": "Error",
|
|
16
|
+
"definition": "error@test.accenture.com",
|
|
17
|
+
"body": "test",
|
|
18
|
+
"channelType": "Account"
|
|
19
|
+
}
|
|
20
|
+
]
|
|
21
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"startIndex": 0,
|
|
3
|
+
"itemsPerPage": 50,
|
|
4
|
+
"totalResults": 1,
|
|
5
|
+
"entry": [
|
|
6
|
+
{
|
|
7
|
+
"id": "RkpOcE9qSVh2VUdnYTVJbWFfWW14dzoyNTow",
|
|
8
|
+
"key": "testExisting_automation",
|
|
9
|
+
"createdDate": "2022-01-12T08:41:35.773Z",
|
|
10
|
+
"name": "testExisting_automation",
|
|
11
|
+
"description": "bla bla",
|
|
12
|
+
"clientId": 9999999,
|
|
13
|
+
"status": "Building",
|
|
14
|
+
"createdBy": {
|
|
15
|
+
"id": "NzE3MzUzNDA1OjQ6MA",
|
|
16
|
+
"name": "Tom Tester",
|
|
17
|
+
"email": "tom.tester@accenture.com"
|
|
18
|
+
},
|
|
19
|
+
"modifiedDate": "2022-11-11T16:42:36.513Z",
|
|
20
|
+
"modifiedBy": {
|
|
21
|
+
"id": "NzE3MzUzNDA1OjQ6MA",
|
|
22
|
+
"name": "Tom Tester",
|
|
23
|
+
"email": "tom.tester@accenture.com"
|
|
24
|
+
},
|
|
25
|
+
"isPlatformObject": false,
|
|
26
|
+
"notifications": "https://mcxxxxx.rest.marketingcloudapis.com/legacy/v1/beta/hub/notifications/RkpOcE9qSVh2VUdnYTVJbWFfWW14dzoxMjow",
|
|
27
|
+
"automationType": "scheduled"
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"createdDate": "2018-03-27T12:37:18.12Z",
|
|
3
3
|
"lastUpdated": "2018-03-27T12:37:18.167Z",
|
|
4
|
-
"
|
|
5
|
-
"code": "4912312345678"
|
|
6
|
-
},
|
|
7
|
-
"keyword": "testExisting_keyword",
|
|
4
|
+
"c__codeKeyword": "4912312345678.TESTEXISTING_KEYWORD",
|
|
8
5
|
"startDate": "2018-03-27T12:37:18.197Z",
|
|
9
6
|
"endDate": "2038-03-27T12:37:18.197Z",
|
|
10
7
|
"status": "Active",
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
"code": {
|
|
3
|
-
"code": "4912312345678"
|
|
4
|
-
},
|
|
5
2
|
"createdBy": {
|
|
6
3
|
"name": "API_JornBerkefeld app user"
|
|
7
4
|
},
|
|
8
5
|
"createdDate": "2023-03-30T14:00:11.907Z",
|
|
9
6
|
"endDate": "2043-03-30T14:00:11.843Z",
|
|
10
7
|
"isInherited": false,
|
|
11
|
-
"
|
|
8
|
+
"c__codeKeyword": "4912312345678.TESTNEW_KEYWORD",
|
|
12
9
|
"keywordType": "NORMAL",
|
|
13
10
|
"lastUpdated": "2023-03-30T14:00:12.295Z",
|
|
14
11
|
"restriction": "NONE",
|
package/test/resources/9999999/program/retrieve-CustomerKey=testExisting_automation-response.xml
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
|
|
3
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
4
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
|
5
|
+
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
|
|
6
|
+
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
|
|
7
|
+
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
|
|
8
|
+
<soap:Header>
|
|
9
|
+
<wsa:Action>RetrieveResponse</wsa:Action>
|
|
10
|
+
<wsa:MessageID>urn:uuid:60a72d4a-847e-4d9b-a4eb-a42951078298</wsa:MessageID>
|
|
11
|
+
<wsa:RelatesTo>urn:uuid:0b59ed53-72ec-4481-ae06-4ee78912aef2</wsa:RelatesTo>
|
|
12
|
+
<wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To>
|
|
13
|
+
<wsse:Security>
|
|
14
|
+
<wsu:Timestamp wsu:Id="Timestamp-f95f3fd3-c763-4e2c-929f-33611e9d2eba">
|
|
15
|
+
<wsu:Created>2023-06-01T12:04:20Z</wsu:Created>
|
|
16
|
+
<wsu:Expires>2023-06-01T12:09:20Z</wsu:Expires>
|
|
17
|
+
</wsu:Timestamp>
|
|
18
|
+
</wsse:Security>
|
|
19
|
+
</soap:Header>
|
|
20
|
+
<soap:Body>
|
|
21
|
+
<RetrieveResponseMsg xmlns="http://exacttarget.com/wsdl/partnerAPI">
|
|
22
|
+
<OverallStatus>OK</OverallStatus>
|
|
23
|
+
<RequestID>3b1c8cee-b270-49cb-b77b-e7b33934d1b6</RequestID>
|
|
24
|
+
<Results xsi:type="Program">
|
|
25
|
+
<PartnerKey xsi:nil="true" />
|
|
26
|
+
<ObjectID>08afb0e2-b00a-4c88-ad2e-1f7f8788c560</ObjectID>
|
|
27
|
+
</Results>
|
|
28
|
+
</RetrieveResponseMsg>
|
|
29
|
+
</soap:Body>
|
|
30
|
+
</soap:Envelope>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
|
|
3
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
4
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
|
5
|
+
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
|
|
6
|
+
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
|
|
7
|
+
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
|
|
8
|
+
<soap:Header>
|
|
9
|
+
<wsa:Action>RetrieveResponse</wsa:Action>
|
|
10
|
+
<wsa:MessageID>urn:uuid:60a72d4a-847e-4d9b-a4eb-a42951078298</wsa:MessageID>
|
|
11
|
+
<wsa:RelatesTo>urn:uuid:0b59ed53-72ec-4481-ae06-4ee78912aef2</wsa:RelatesTo>
|
|
12
|
+
<wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To>
|
|
13
|
+
<wsse:Security>
|
|
14
|
+
<wsu:Timestamp wsu:Id="Timestamp-f95f3fd3-c763-4e2c-929f-33611e9d2eba">
|
|
15
|
+
<wsu:Created>2023-06-01T12:04:20Z</wsu:Created>
|
|
16
|
+
<wsu:Expires>2023-06-01T12:09:20Z</wsu:Expires>
|
|
17
|
+
</wsu:Timestamp>
|
|
18
|
+
</wsse:Security>
|
|
19
|
+
</soap:Header>
|
|
20
|
+
<soap:Body>
|
|
21
|
+
<RetrieveResponseMsg xmlns="http://exacttarget.com/wsdl/partnerAPI">
|
|
22
|
+
<OverallStatus>OK</OverallStatus>
|
|
23
|
+
<RequestID>3b1c8cee-b270-49cb-b77b-e7b33934d1b6</RequestID>
|
|
24
|
+
<Results xsi:type="Program">
|
|
25
|
+
<PartnerKey xsi:nil="true" />
|
|
26
|
+
<ObjectID>a8afb0e2-b00a-4c88-ad2e-1f7f8788c560</ObjectID>
|
|
27
|
+
</Results>
|
|
28
|
+
</RetrieveResponseMsg>
|
|
29
|
+
</soap:Body>
|
|
30
|
+
</soap:Envelope>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
|
|
3
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
4
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
|
5
|
+
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
|
|
6
|
+
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
|
|
7
|
+
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
|
|
8
|
+
<soap:Header>
|
|
9
|
+
<wsa:Action>RetrieveResponse</wsa:Action>
|
|
10
|
+
<wsa:MessageID>urn:uuid:60a72d4a-847e-4d9b-a4eb-a42951078298</wsa:MessageID>
|
|
11
|
+
<wsa:RelatesTo>urn:uuid:0b59ed53-72ec-4481-ae06-4ee78912aef2</wsa:RelatesTo>
|
|
12
|
+
<wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To>
|
|
13
|
+
<wsse:Security>
|
|
14
|
+
<wsu:Timestamp wsu:Id="Timestamp-f95f3fd3-c763-4e2c-929f-33611e9d2eba">
|
|
15
|
+
<wsu:Created>2023-06-01T12:04:20Z</wsu:Created>
|
|
16
|
+
<wsu:Expires>2023-06-01T12:09:20Z</wsu:Expires>
|
|
17
|
+
</wsu:Timestamp>
|
|
18
|
+
</wsse:Security>
|
|
19
|
+
</soap:Header>
|
|
20
|
+
<soap:Body>
|
|
21
|
+
<RetrieveResponseMsg xmlns="http://exacttarget.com/wsdl/partnerAPI">
|
|
22
|
+
<OverallStatus>OK</OverallStatus>
|
|
23
|
+
<RequestID>3b1c8cee-b270-49cb-b77b-e7b33934d1b6</RequestID>
|
|
24
|
+
<Results xsi:type="Program">
|
|
25
|
+
<PartnerKey xsi:nil="true" />
|
|
26
|
+
<ObjectID>08afb0e2-b00a-4c88-ad2e-1f7f8788c560</ObjectID>
|
|
27
|
+
<Name>testExisting_automation</Name>
|
|
28
|
+
</Results>
|
|
29
|
+
</RetrieveResponseMsg>
|
|
30
|
+
</soap:Body>
|
|
31
|
+
</soap:Envelope>
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
|
|
3
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
4
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
|
5
|
+
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
|
|
6
|
+
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
|
|
7
|
+
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
|
|
8
|
+
<soap:Header>
|
|
9
|
+
<wsa:Action>RetrieveResponse</wsa:Action>
|
|
10
|
+
<wsa:MessageID>urn:uuid:60a72d4a-847e-4d9b-a4eb-a42951078298</wsa:MessageID>
|
|
11
|
+
<wsa:RelatesTo>urn:uuid:0b59ed53-72ec-4481-ae06-4ee78912aef2</wsa:RelatesTo>
|
|
12
|
+
<wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To>
|
|
13
|
+
<wsse:Security>
|
|
14
|
+
<wsu:Timestamp wsu:Id="Timestamp-f95f3fd3-c763-4e2c-929f-33611e9d2eba">
|
|
15
|
+
<wsu:Created>2023-06-01T12:04:20Z</wsu:Created>
|
|
16
|
+
<wsu:Expires>2023-06-01T12:09:20Z</wsu:Expires>
|
|
17
|
+
</wsu:Timestamp>
|
|
18
|
+
</wsse:Security>
|
|
19
|
+
</soap:Header>
|
|
20
|
+
<soap:Body>
|
|
21
|
+
<RetrieveResponseMsg xmlns="http://exacttarget.com/wsdl/partnerAPI">
|
|
22
|
+
<OverallStatus>OK</OverallStatus>
|
|
23
|
+
<RequestID>3b1c8cee-b270-49cb-b77b-e7b33934d1b6</RequestID>
|
|
24
|
+
<Results xsi:type="Program">
|
|
25
|
+
<PartnerKey xsi:nil="true" />
|
|
26
|
+
<ObjectID>08afb0e2-b00a-4c88-ad2e-1f7f8788c560</ObjectID>
|
|
27
|
+
<Name>testExisting_automation</Name><!--only retrieved for cache-->
|
|
28
|
+
<CustomerKey>testExisting_automation</CustomerKey><!--only retrieved for cache-->
|
|
29
|
+
</Results>
|
|
30
|
+
</RetrieveResponseMsg>
|
|
31
|
+
</soap:Body>
|
|
32
|
+
</soap:Envelope>
|