mcdev 5.2.0 → 5.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.fork/custom-commands.json +12 -0
- package/.github/ISSUE_TEMPLATE/bug.yml +1 -0
- package/.github/PULL_REQUEST_TEMPLATE/pr_template_release.md +19 -0
- package/docs/dist/documentation.md +400 -9
- package/lib/MetadataTypeDefinitions.js +1 -0
- package/lib/MetadataTypeInfo.js +1 -0
- package/lib/cli.js +6 -1
- package/lib/index.js +4 -1
- package/lib/metadataTypes/AttributeSet.js +118 -11
- package/lib/metadataTypes/Automation.js +99 -70
- package/lib/metadataTypes/DataExtension.js +463 -66
- package/lib/metadataTypes/DataExtensionField.js +30 -13
- package/lib/metadataTypes/Journey.js +8 -1
- package/lib/metadataTypes/MetadataType.js +63 -5
- package/lib/metadataTypes/MobileKeyword.js +1 -1
- package/lib/metadataTypes/TransactionalEmail.js +94 -17
- package/lib/metadataTypes/TransactionalMessage.js +3 -2
- package/lib/metadataTypes/Verification.js +230 -0
- package/lib/metadataTypes/definitions/AttributeGroup.definition.js +2 -2
- package/lib/metadataTypes/definitions/AttributeSet.definition.js +74 -21
- package/lib/metadataTypes/definitions/Automation.definition.js +1 -0
- package/lib/metadataTypes/definitions/TransactionalEmail.definition.js +19 -1
- package/lib/metadataTypes/definitions/Verification.definition.js +88 -0
- package/package.json +6 -6
- package/test/mockRoot/.mcdevrc.json +1 -1
- package/test/mockRoot/deploy/testInstance/_ParentBU_/dataExtension/testExisting_dataExtensionShared.dataExtension-meta.json +59 -0
- package/test/mockRoot/deploy/testInstance/_ParentBU_/dataExtension/testNew_dataExtensionShared.dataExtension-meta.json +23 -0
- package/test/mockRoot/deploy/testInstance/testBU/automation/testNew_automation.automation-meta.json +4 -0
- package/test/mockRoot/deploy/testInstance/testBU/dataExtension/testExisting_dataExtension.dataExtension-meta.json +1 -0
- package/test/mockRoot/deploy/testInstance/testBU/transactionalEmail/testExisting_temail.transactionalEmail-meta.json +3 -4
- package/test/mockRoot/deploy/testInstance/testBU/transactionalEmail/testNew_temail.transactionalEmail-meta.json +1 -6
- package/test/mockRoot/deploy/testInstance/testBU/verification/testExisting_39f6a488-20eb-4ba0-b0b9.verification-meta.json +11 -0
- package/test/mockRoot/deploy/testInstance/testBU/verification/testNew_39f6a488-20eb-4ba0-b0b9.verification-meta.json +11 -0
- package/test/resources/1111111/data/v1/customobjectdata/key/testExisting_dataExtensionShared/rowset/get-response.json +13 -0
- package/test/resources/1111111/dataExtension/create-expected.json +23 -0
- package/test/resources/1111111/dataExtension/create-response.xml +59 -0
- package/test/resources/1111111/dataExtension/retrieve-expected.json +55 -0
- package/test/resources/1111111/dataExtension/retrieve-expected.md +18 -0
- package/test/resources/1111111/dataExtension/retrieve-response.xml +27 -1
- package/test/resources/1111111/dataExtension/update-expected.json +55 -0
- package/test/resources/1111111/dataExtension/update-response.xml +57 -0
- package/test/resources/1111111/dataExtensionField/retrieve-CustomerKey=[testExisting_dataExtensionShared].[TriggerUpdate_randomNumber_]-response.xml +45 -0
- package/test/resources/1111111/dataExtensionField/retrieve-DataExtension.CustomerKey=testExisting_dataExtensionShared-response.xml +98 -0
- package/test/resources/1111111/dataExtensionField/retrieve-DataExtension.CustomerKey=testNew_dataExtensionSharedORDataExtension.CustomerKey=testExisting_dataExtensionShared-response.xml +98 -0
- package/test/resources/1111111/dataExtensionField/retrieve-response.xml +98 -0
- package/test/resources/1111111/dataExtensionTemplate/retrieve-response.xml +303 -0
- package/test/resources/1111111/dataFolder/retrieve-ContentType=synchronizeddataextensionORContentType=shared_salesforcedataextensionORContentType=shared_dataextensionORContentType=shared_dataORContentType=salesforcedataextensionORContentType=dataextensionORContentType=hidden-response.xml +387 -0
- package/test/resources/1111111/dataFolder/retrieve-response.xml +353 -9
- package/test/resources/9999999/attributeSet/retrieve-expected.json +89 -694
- package/test/resources/9999999/automation/build-expected.json +4 -0
- package/test/resources/9999999/automation/create-expected.json +4 -0
- package/test/resources/9999999/automation/create-testNew_automation-expected.md +1 -0
- package/test/resources/9999999/automation/retrieve-expected.json +4 -0
- package/test/resources/9999999/automation/retrieve-testExisting_automation-expected.md +1 -0
- package/test/resources/9999999/automation/template-expected.json +4 -0
- package/test/resources/9999999/automation/v1/automations/08afb0e2-b00a-4c88-ad2e-1f7f8788c560/get-response.json +7 -0
- package/test/resources/9999999/automation/v1/automations/post-response.json +7 -0
- package/test/resources/9999999/automation/v1/dataverifications/post-response.json +12 -0
- package/test/resources/9999999/automation/v1/dataverifications/testExisting_39f6a488-20eb-4ba0-b0b9/delete-response.json +0 -0
- package/test/resources/9999999/automation/v1/dataverifications/testExisting_39f6a488-20eb-4ba0-b0b9/get-response.json +12 -0
- package/test/resources/9999999/automation/v1/dataverifications/testExisting_39f6a488-20eb-4ba0-b0b9/patch-response.json +12 -0
- package/test/resources/9999999/dataExtension/build-expected.json +16 -0
- package/test/resources/9999999/dataExtension/delete-response.xml +42 -0
- package/test/resources/9999999/dataExtension/retrieve-expected.json +16 -0
- package/test/resources/9999999/dataExtension/retrieve-expected.md +3 -1
- package/test/resources/9999999/dataExtension/template-expected.json +16 -0
- package/test/resources/9999999/dataExtension/update-expected.json +17 -1
- package/test/resources/9999999/dataExtensionField/retrieve-CustomerKey=[testExisting_dataExtension].[LastName]-response.xml +44 -0
- package/test/resources/9999999/dataExtensionField/retrieve-DataExtension.CustomerKey=testExisting_dataExtension-response.xml +36 -1
- package/test/resources/9999999/dataExtensionField/retrieve-response.xml +36 -1
- package/test/resources/9999999/dataFolder/retrieve-ContentType=synchronizeddataextensionORContentType=shared_salesforcedataextensionORContentType=shared_dataextensionORContentType=shared_dataORContentType=salesforcedataextensionORContentType=dataextensionORContentType=hidden-response.xml +117 -0
- package/test/resources/9999999/hub/v1/contacts/schema/attributeGroups/get-response.json +43 -0
- package/test/resources/9999999/hub/v1/contacts/schema/setDefinitions/get-response.json +387 -0
- package/test/resources/9999999/interaction/v1/interactions/233d4413-922c-4568-85a5-e5cc77efc3be/delete-response.json +1 -0
- package/test/resources/9999999/legacy/v1/beta/bulk/automations/automation/definition/get-response.json +1 -1
- package/test/resources/9999999/messaging/v1/email/definitions/post-response.json +1 -1
- package/test/resources/9999999/messaging/v1/email/definitions/testExisting_temail/delete-response.json +6 -0
- package/test/resources/9999999/transactionalEmail/build-expected.json +3 -7
- package/test/resources/9999999/transactionalEmail/get-expected.json +3 -7
- package/test/resources/9999999/transactionalEmail/patch-expected.json +3 -7
- package/test/resources/9999999/transactionalEmail/post-expected.json +3 -7
- package/test/resources/9999999/transactionalEmail/template-expected.json +3 -7
- package/test/resources/9999999/verification/build-expected.json +11 -0
- package/test/resources/9999999/verification/get-expected.json +11 -0
- package/test/resources/9999999/verification/patch-expected.json +11 -0
- package/test/resources/9999999/verification/post-expected.json +11 -0
- package/test/resources/9999999/verification/template-expected.json +11 -0
- package/test/type.attributeGroup.test.js +4 -4
- package/test/type.attributeSet.test.js +5 -5
- package/test/type.automation.test.js +29 -23
- package/test/type.dataExtension.test.js +205 -45
- package/test/type.dataExtract.test.js +10 -3
- package/test/type.fileTransfer.test.js +10 -3
- package/test/type.importFile.test.js +10 -3
- package/test/type.journey.test.js +38 -11
- package/test/type.mobileKeyword.test.js +6 -4
- package/test/type.mobileMessage.test.js +6 -4
- package/test/type.query.test.js +8 -6
- package/test/type.script.test.js +6 -1
- package/test/type.transactionalEmail.test.js +12 -11
- package/test/type.transactionalPush.test.js +2 -4
- package/test/type.transactionalSMS.test.js +2 -4
- package/test/type.triggeredSend.test.js +6 -4
- package/test/type.verification.test.js +173 -0
- package/test/utils.js +7 -1
- package/types/mcdev.d.js +14 -0
|
@@ -19793,6 +19793,393 @@
|
|
|
19793
19793
|
"setDefinitionID": "f452de3f-31e2-e611-80cc-1402ec7222b4",
|
|
19794
19794
|
"setDefinitionKey": "PredictiveIntelProfiles",
|
|
19795
19795
|
"name": "Predictive Intelligence Profiles"
|
|
19796
|
+
},
|
|
19797
|
+
{
|
|
19798
|
+
"definitionID": "528b787a-5238-ee11-b85a-48df37d1de8a",
|
|
19799
|
+
"definitionKey": "testExisting_dataExtensionShared",
|
|
19800
|
+
"definitionName": {
|
|
19801
|
+
"value": "testExisting_dataExtensionShared"
|
|
19802
|
+
},
|
|
19803
|
+
"connectingID": {
|
|
19804
|
+
"identifierType": "FullyQualifiedName"
|
|
19805
|
+
},
|
|
19806
|
+
"relationships": [
|
|
19807
|
+
{
|
|
19808
|
+
"canModify": true,
|
|
19809
|
+
"canRemove": true,
|
|
19810
|
+
"isHidden": false,
|
|
19811
|
+
"isSystemDefined": false,
|
|
19812
|
+
"isGroupToSetRelationship": true,
|
|
19813
|
+
"leftItem": {
|
|
19814
|
+
"cardinality": "One",
|
|
19815
|
+
"connectingID": {
|
|
19816
|
+
"identifierType": "FullyQualifiedName"
|
|
19817
|
+
},
|
|
19818
|
+
"identifier": "79846c6e-5238-ee11-b85a-48df37d1de8a",
|
|
19819
|
+
"relationshipType": "AttributeGroup"
|
|
19820
|
+
},
|
|
19821
|
+
"leftRelationshipIDs": [
|
|
19822
|
+
{
|
|
19823
|
+
"type": "int16",
|
|
19824
|
+
"value": "3"
|
|
19825
|
+
}
|
|
19826
|
+
],
|
|
19827
|
+
"leftRelationshipReferenceType": "CustomerData",
|
|
19828
|
+
"relationshipAttributes": [
|
|
19829
|
+
{
|
|
19830
|
+
"leftAttributeID": "9393dc39-31e2-e611-80cc-1402ec7222b4",
|
|
19831
|
+
"leftConnectingID": {
|
|
19832
|
+
"identifierType": "FullyQualifiedName"
|
|
19833
|
+
},
|
|
19834
|
+
"rightAttributeID": "558b787a-5238-ee11-b85a-48df37d1de8a",
|
|
19835
|
+
"rightConnectingID": {
|
|
19836
|
+
"identifierType": "FullyQualifiedName"
|
|
19837
|
+
}
|
|
19838
|
+
}
|
|
19839
|
+
],
|
|
19840
|
+
"relationshipID": "598b787a-5238-ee11-b85a-48df37d1de8a",
|
|
19841
|
+
"rightItem": {
|
|
19842
|
+
"cardinality": "One",
|
|
19843
|
+
"connectingID": {
|
|
19844
|
+
"identifierType": "FullyQualifiedName"
|
|
19845
|
+
},
|
|
19846
|
+
"identifier": "528b787a-5238-ee11-b85a-48df37d1de8a",
|
|
19847
|
+
"relationshipType": "AttributeSet"
|
|
19848
|
+
}
|
|
19849
|
+
}
|
|
19850
|
+
],
|
|
19851
|
+
"valueDefinitions": [
|
|
19852
|
+
{
|
|
19853
|
+
"baseType": "Numeric",
|
|
19854
|
+
"dataSourceName": {},
|
|
19855
|
+
"dataType": "LongNumber",
|
|
19856
|
+
"description": "",
|
|
19857
|
+
"localizedDescription": {
|
|
19858
|
+
"value": ""
|
|
19859
|
+
},
|
|
19860
|
+
"definitionID": "548b787a-5238-ee11-b85a-48df37d1de8a",
|
|
19861
|
+
"definitionKey": "CustomObjectKey",
|
|
19862
|
+
"definitionName": {
|
|
19863
|
+
"value": "Custom Object Key"
|
|
19864
|
+
},
|
|
19865
|
+
"connectingID": {
|
|
19866
|
+
"identifierType": "FullyQualifiedName"
|
|
19867
|
+
},
|
|
19868
|
+
"fullyQualifiedName": "testExisting_dataExtensionShared.Custom Object Key",
|
|
19869
|
+
"isHidden": true,
|
|
19870
|
+
"isIdentityValue": true,
|
|
19871
|
+
"isNullable": false,
|
|
19872
|
+
"isPrimaryKey": false,
|
|
19873
|
+
"isReadOnly": true,
|
|
19874
|
+
"isSystemDefined": true,
|
|
19875
|
+
"isUpdateable": true,
|
|
19876
|
+
"parentDefinition": {
|
|
19877
|
+
"definitionID": "528b787a-5238-ee11-b85a-48df37d1de8a",
|
|
19878
|
+
"definitionKey": "testExisting_dataExtensionShared",
|
|
19879
|
+
"definitionName": {
|
|
19880
|
+
"value": "testExisting_dataExtensionShared"
|
|
19881
|
+
},
|
|
19882
|
+
"connectingID": {
|
|
19883
|
+
"identifierType": "FullyQualifiedName"
|
|
19884
|
+
}
|
|
19885
|
+
},
|
|
19886
|
+
"parentType": "Set",
|
|
19887
|
+
"storageName": "_CustomObjectKey",
|
|
19888
|
+
"valueDefinitionID": "548b787a-5238-ee11-b85a-48df37d1de8a",
|
|
19889
|
+
"valueDefinitionKey": "CustomObjectKey",
|
|
19890
|
+
"name": "Custom Object Key",
|
|
19891
|
+
"setDefinitionID": "528b787a-5238-ee11-b85a-48df37d1de8a",
|
|
19892
|
+
"setDefinitionKey": "testExisting_dataExtensionShared",
|
|
19893
|
+
"setDefinitionName": {
|
|
19894
|
+
"value": "testExisting_dataExtensionShared"
|
|
19895
|
+
},
|
|
19896
|
+
"parentIdentifier": "528b787a-5238-ee11-b85a-48df37d1de8a"
|
|
19897
|
+
},
|
|
19898
|
+
{
|
|
19899
|
+
"baseType": "Text",
|
|
19900
|
+
"dataSourceName": {},
|
|
19901
|
+
"dataType": "Text",
|
|
19902
|
+
"description": "",
|
|
19903
|
+
"localizedDescription": {
|
|
19904
|
+
"value": ""
|
|
19905
|
+
},
|
|
19906
|
+
"definitionID": "588b787a-5238-ee11-b85a-48df37d1de8a",
|
|
19907
|
+
"definitionKey": "FirstName",
|
|
19908
|
+
"definitionName": {
|
|
19909
|
+
"value": "FirstName"
|
|
19910
|
+
},
|
|
19911
|
+
"connectingID": {
|
|
19912
|
+
"identifierType": "FullyQualifiedName"
|
|
19913
|
+
},
|
|
19914
|
+
"displayOrder": 0,
|
|
19915
|
+
"fullyQualifiedName": "testExisting_dataExtensionShared.FirstName",
|
|
19916
|
+
"isHidden": false,
|
|
19917
|
+
"isIdentityValue": false,
|
|
19918
|
+
"isNullable": true,
|
|
19919
|
+
"isPrimaryKey": false,
|
|
19920
|
+
"isReadOnly": false,
|
|
19921
|
+
"isSystemDefined": false,
|
|
19922
|
+
"isUpdateable": true,
|
|
19923
|
+
"length": 50,
|
|
19924
|
+
"obfuscationProperties": {
|
|
19925
|
+
"maskType": "None",
|
|
19926
|
+
"maskTypeID": 0,
|
|
19927
|
+
"storageTypeID": 1,
|
|
19928
|
+
"storageType": "Plain",
|
|
19929
|
+
"valueDefinitionID": "588b787a-5238-ee11-b85a-48df37d1de8a"
|
|
19930
|
+
},
|
|
19931
|
+
"ordinal": 0,
|
|
19932
|
+
"parentDefinition": {
|
|
19933
|
+
"definitionID": "528b787a-5238-ee11-b85a-48df37d1de8a",
|
|
19934
|
+
"definitionKey": "testExisting_dataExtensionShared",
|
|
19935
|
+
"definitionName": {
|
|
19936
|
+
"value": "testExisting_dataExtensionShared"
|
|
19937
|
+
},
|
|
19938
|
+
"connectingID": {
|
|
19939
|
+
"identifierType": "FullyQualifiedName"
|
|
19940
|
+
}
|
|
19941
|
+
},
|
|
19942
|
+
"parentType": "Set",
|
|
19943
|
+
"storageName": "FirstName",
|
|
19944
|
+
"storageFieldReferenceID": {
|
|
19945
|
+
"type": "guid",
|
|
19946
|
+
"value": "391bfc9e-ea85-4610-a24b-d8400a36cdfc"
|
|
19947
|
+
},
|
|
19948
|
+
"valueDefinitionID": "588b787a-5238-ee11-b85a-48df37d1de8a",
|
|
19949
|
+
"valueDefinitionKey": "FirstName",
|
|
19950
|
+
"name": "FirstName",
|
|
19951
|
+
"setDefinitionID": "528b787a-5238-ee11-b85a-48df37d1de8a",
|
|
19952
|
+
"setDefinitionKey": "testExisting_dataExtensionShared",
|
|
19953
|
+
"setDefinitionName": {
|
|
19954
|
+
"value": "testExisting_dataExtensionShared"
|
|
19955
|
+
},
|
|
19956
|
+
"parentIdentifier": "528b787a-5238-ee11-b85a-48df37d1de8a"
|
|
19957
|
+
},
|
|
19958
|
+
{
|
|
19959
|
+
"baseType": "Text",
|
|
19960
|
+
"dataSourceName": {},
|
|
19961
|
+
"dataType": "Text",
|
|
19962
|
+
"description": "",
|
|
19963
|
+
"localizedDescription": {
|
|
19964
|
+
"value": ""
|
|
19965
|
+
},
|
|
19966
|
+
"definitionID": "578b787a-5238-ee11-b85a-48df37d1de8a",
|
|
19967
|
+
"definitionKey": "LastName",
|
|
19968
|
+
"definitionName": {
|
|
19969
|
+
"value": "LastName"
|
|
19970
|
+
},
|
|
19971
|
+
"connectingID": {
|
|
19972
|
+
"identifierType": "FullyQualifiedName"
|
|
19973
|
+
},
|
|
19974
|
+
"displayOrder": 1,
|
|
19975
|
+
"fullyQualifiedName": "testExisting_dataExtensionShared.LastName",
|
|
19976
|
+
"isHidden": false,
|
|
19977
|
+
"isIdentityValue": false,
|
|
19978
|
+
"isNullable": true,
|
|
19979
|
+
"isPrimaryKey": false,
|
|
19980
|
+
"isReadOnly": false,
|
|
19981
|
+
"isSystemDefined": false,
|
|
19982
|
+
"isUpdateable": true,
|
|
19983
|
+
"length": 55,
|
|
19984
|
+
"obfuscationProperties": {
|
|
19985
|
+
"maskType": "None",
|
|
19986
|
+
"maskTypeID": 0,
|
|
19987
|
+
"storageTypeID": 1,
|
|
19988
|
+
"storageType": "Plain",
|
|
19989
|
+
"valueDefinitionID": "578b787a-5238-ee11-b85a-48df37d1de8a"
|
|
19990
|
+
},
|
|
19991
|
+
"ordinal": 1,
|
|
19992
|
+
"parentDefinition": {
|
|
19993
|
+
"definitionID": "528b787a-5238-ee11-b85a-48df37d1de8a",
|
|
19994
|
+
"definitionKey": "testExisting_dataExtensionShared",
|
|
19995
|
+
"definitionName": {
|
|
19996
|
+
"value": "testExisting_dataExtensionShared"
|
|
19997
|
+
},
|
|
19998
|
+
"connectingID": {
|
|
19999
|
+
"identifierType": "FullyQualifiedName"
|
|
20000
|
+
}
|
|
20001
|
+
},
|
|
20002
|
+
"parentType": "Set",
|
|
20003
|
+
"storageName": "LastName",
|
|
20004
|
+
"storageFieldReferenceID": {
|
|
20005
|
+
"type": "guid",
|
|
20006
|
+
"value": "3f80ba1f-f957-400f-88cb-a9303491026d"
|
|
20007
|
+
},
|
|
20008
|
+
"valueDefinitionID": "578b787a-5238-ee11-b85a-48df37d1de8a",
|
|
20009
|
+
"valueDefinitionKey": "LastName",
|
|
20010
|
+
"name": "LastName",
|
|
20011
|
+
"setDefinitionID": "528b787a-5238-ee11-b85a-48df37d1de8a",
|
|
20012
|
+
"setDefinitionKey": "testExisting_dataExtensionShared",
|
|
20013
|
+
"setDefinitionName": {
|
|
20014
|
+
"value": "testExisting_dataExtensionShared"
|
|
20015
|
+
},
|
|
20016
|
+
"parentIdentifier": "528b787a-5238-ee11-b85a-48df37d1de8a"
|
|
20017
|
+
},
|
|
20018
|
+
{
|
|
20019
|
+
"baseType": "Text",
|
|
20020
|
+
"dataSourceName": {},
|
|
20021
|
+
"dataType": "EmailAddress",
|
|
20022
|
+
"description": "",
|
|
20023
|
+
"localizedDescription": {
|
|
20024
|
+
"value": ""
|
|
20025
|
+
},
|
|
20026
|
+
"definitionID": "568b787a-5238-ee11-b85a-48df37d1de8a",
|
|
20027
|
+
"definitionKey": "EmailAddress",
|
|
20028
|
+
"definitionName": {
|
|
20029
|
+
"value": "EmailAddress"
|
|
20030
|
+
},
|
|
20031
|
+
"connectingID": {
|
|
20032
|
+
"identifierType": "FullyQualifiedName"
|
|
20033
|
+
},
|
|
20034
|
+
"displayOrder": 2,
|
|
20035
|
+
"fullyQualifiedName": "testExisting_dataExtensionShared.EmailAddress",
|
|
20036
|
+
"isHidden": false,
|
|
20037
|
+
"isIdentityValue": false,
|
|
20038
|
+
"isNullable": false,
|
|
20039
|
+
"isPrimaryKey": false,
|
|
20040
|
+
"isReadOnly": false,
|
|
20041
|
+
"isSystemDefined": false,
|
|
20042
|
+
"isUpdateable": true,
|
|
20043
|
+
"length": 254,
|
|
20044
|
+
"obfuscationProperties": {
|
|
20045
|
+
"maskType": "None",
|
|
20046
|
+
"maskTypeID": 0,
|
|
20047
|
+
"storageTypeID": 1,
|
|
20048
|
+
"storageType": "Plain",
|
|
20049
|
+
"valueDefinitionID": "568b787a-5238-ee11-b85a-48df37d1de8a"
|
|
20050
|
+
},
|
|
20051
|
+
"ordinal": 2,
|
|
20052
|
+
"parentDefinition": {
|
|
20053
|
+
"definitionID": "528b787a-5238-ee11-b85a-48df37d1de8a",
|
|
20054
|
+
"definitionKey": "testExisting_dataExtensionShared",
|
|
20055
|
+
"definitionName": {
|
|
20056
|
+
"value": "testExisting_dataExtensionShared"
|
|
20057
|
+
},
|
|
20058
|
+
"connectingID": {
|
|
20059
|
+
"identifierType": "FullyQualifiedName"
|
|
20060
|
+
}
|
|
20061
|
+
},
|
|
20062
|
+
"parentType": "Set",
|
|
20063
|
+
"storageName": "EmailAddress",
|
|
20064
|
+
"storageFieldReferenceID": {
|
|
20065
|
+
"type": "guid",
|
|
20066
|
+
"value": "41b9575b-da06-41ed-8551-f76868451a51"
|
|
20067
|
+
},
|
|
20068
|
+
"valueDefinitionID": "568b787a-5238-ee11-b85a-48df37d1de8a",
|
|
20069
|
+
"valueDefinitionKey": "EmailAddress",
|
|
20070
|
+
"name": "EmailAddress",
|
|
20071
|
+
"setDefinitionID": "528b787a-5238-ee11-b85a-48df37d1de8a",
|
|
20072
|
+
"setDefinitionKey": "testExisting_dataExtensionShared",
|
|
20073
|
+
"setDefinitionName": {
|
|
20074
|
+
"value": "testExisting_dataExtensionShared"
|
|
20075
|
+
},
|
|
20076
|
+
"parentIdentifier": "528b787a-5238-ee11-b85a-48df37d1de8a"
|
|
20077
|
+
},
|
|
20078
|
+
{
|
|
20079
|
+
"baseType": "Text",
|
|
20080
|
+
"dataSourceName": {},
|
|
20081
|
+
"dataType": "Text",
|
|
20082
|
+
"description": "",
|
|
20083
|
+
"localizedDescription": {
|
|
20084
|
+
"value": ""
|
|
20085
|
+
},
|
|
20086
|
+
"definitionID": "558b787a-5238-ee11-b85a-48df37d1de8a",
|
|
20087
|
+
"definitionKey": "ContactKey",
|
|
20088
|
+
"definitionName": {
|
|
20089
|
+
"value": "ContactKey"
|
|
20090
|
+
},
|
|
20091
|
+
"connectingID": {
|
|
20092
|
+
"identifierType": "FullyQualifiedName"
|
|
20093
|
+
},
|
|
20094
|
+
"displayOrder": 4,
|
|
20095
|
+
"fullyQualifiedName": "testExisting_dataExtensionShared.ContactKey",
|
|
20096
|
+
"isHidden": false,
|
|
20097
|
+
"isIdentityValue": false,
|
|
20098
|
+
"isNullable": false,
|
|
20099
|
+
"isPrimaryKey": true,
|
|
20100
|
+
"isReadOnly": false,
|
|
20101
|
+
"isSystemDefined": false,
|
|
20102
|
+
"isUpdateable": true,
|
|
20103
|
+
"length": 50,
|
|
20104
|
+
"obfuscationProperties": {
|
|
20105
|
+
"maskType": "None",
|
|
20106
|
+
"maskTypeID": 0,
|
|
20107
|
+
"storageTypeID": 1,
|
|
20108
|
+
"storageType": "Plain",
|
|
20109
|
+
"valueDefinitionID": "558b787a-5238-ee11-b85a-48df37d1de8a"
|
|
20110
|
+
},
|
|
20111
|
+
"ordinal": 4,
|
|
20112
|
+
"parentDefinition": {
|
|
20113
|
+
"definitionID": "528b787a-5238-ee11-b85a-48df37d1de8a",
|
|
20114
|
+
"definitionKey": "testExisting_dataExtensionShared",
|
|
20115
|
+
"definitionName": {
|
|
20116
|
+
"value": "testExisting_dataExtensionShared"
|
|
20117
|
+
},
|
|
20118
|
+
"connectingID": {
|
|
20119
|
+
"identifierType": "FullyQualifiedName"
|
|
20120
|
+
}
|
|
20121
|
+
},
|
|
20122
|
+
"parentType": "Set",
|
|
20123
|
+
"storageName": "ContactKey",
|
|
20124
|
+
"storageFieldReferenceID": {
|
|
20125
|
+
"type": "guid",
|
|
20126
|
+
"value": "49d0db37-dff0-49d9-9d82-eb29b345f238"
|
|
20127
|
+
},
|
|
20128
|
+
"valueDefinitionID": "558b787a-5238-ee11-b85a-48df37d1de8a",
|
|
20129
|
+
"valueDefinitionKey": "ContactKey",
|
|
20130
|
+
"name": "ContactKey",
|
|
20131
|
+
"setDefinitionID": "528b787a-5238-ee11-b85a-48df37d1de8a",
|
|
20132
|
+
"setDefinitionKey": "testExisting_dataExtensionShared",
|
|
20133
|
+
"setDefinitionName": {
|
|
20134
|
+
"value": "testExisting_dataExtensionShared"
|
|
20135
|
+
},
|
|
20136
|
+
"parentIdentifier": "528b787a-5238-ee11-b85a-48df37d1de8a"
|
|
20137
|
+
}
|
|
20138
|
+
],
|
|
20139
|
+
"attributeCount": 0,
|
|
20140
|
+
"canAddValues": true,
|
|
20141
|
+
"canChangeValues": true,
|
|
20142
|
+
"canModify": true,
|
|
20143
|
+
"canRemove": true,
|
|
20144
|
+
"categoryID": 89356,
|
|
20145
|
+
"createdBy": 700301950,
|
|
20146
|
+
"createDate": "2023-08-11T08:22:00",
|
|
20147
|
+
"customObjectOwnerMID": 7281698,
|
|
20148
|
+
"dataRetentionProperties": {
|
|
20149
|
+
"isRowBasedRetention": true,
|
|
20150
|
+
"isResetRetentionPeriodOnImport": false,
|
|
20151
|
+
"isDeleteAtEndOfRetentionPeriod": false,
|
|
20152
|
+
"periodLength": 6,
|
|
20153
|
+
"periodUnitOfMeasure": 5,
|
|
20154
|
+
"setDefinitionID": "528b787a-5238-ee11-b85a-48df37d1de8a"
|
|
20155
|
+
},
|
|
20156
|
+
"localizedDescription": {
|
|
20157
|
+
"value": "Container for my test emails"
|
|
20158
|
+
},
|
|
20159
|
+
"fullyQualifiedName": "testExisting_dataExtensionShared",
|
|
20160
|
+
"isCustomObjectBacked": true,
|
|
20161
|
+
"isEvent": false,
|
|
20162
|
+
"isHidden": false,
|
|
20163
|
+
"isReadOnly": false,
|
|
20164
|
+
"isRoot": false,
|
|
20165
|
+
"isSendable": true,
|
|
20166
|
+
"isShared": true,
|
|
20167
|
+
"isSystemDefined": false,
|
|
20168
|
+
"isTestaable": true,
|
|
20169
|
+
"parentID": "00000000-0000-0000-0000-000000000000",
|
|
20170
|
+
"relationshipCount": 1,
|
|
20171
|
+
"sendAttributeStorageName": "ContactKey",
|
|
20172
|
+
"sendContactKeyStorageName": "_SubscriberKey",
|
|
20173
|
+
"storageLogicalType": "DataExtension",
|
|
20174
|
+
"storageName": "testExisting_dataExtensionShared",
|
|
20175
|
+
"storageObjectIDs": ["5b8b787a-5238-ee11-b85a-48df37d1de8a"],
|
|
20176
|
+
"storageReferenceID": {
|
|
20177
|
+
"type": "guid",
|
|
20178
|
+
"value": "21711373-72c1-ec11-b83b-shared"
|
|
20179
|
+
},
|
|
20180
|
+
"setDefinitionID": "528b787a-5238-ee11-b85a-48df37d1de8a",
|
|
20181
|
+
"setDefinitionKey": "testExisting_dataExtensionShared",
|
|
20182
|
+
"name": "testExisting_dataExtensionShared"
|
|
19796
20183
|
}
|
|
19797
20184
|
],
|
|
19798
20185
|
"responseContext": {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
233d4413-922c-4568-85a5-e5cc77efc3be
|
|
@@ -4,11 +4,8 @@
|
|
|
4
4
|
"description": "foobar",
|
|
5
5
|
"classification": "Default Transactional",
|
|
6
6
|
"status": "Active",
|
|
7
|
-
"content": {
|
|
8
|
-
"customerKey": "testTemplated_asset_message"
|
|
9
|
-
},
|
|
10
7
|
"subscriptions": {
|
|
11
|
-
"
|
|
8
|
+
"r__dataExtension_CustomerKey": "testTemplated_dataExtension",
|
|
12
9
|
"autoAddSubscriber": true,
|
|
13
10
|
"updateSubscriber": true,
|
|
14
11
|
"r__list_PathName": "my subscribers/All Subscribers"
|
|
@@ -16,7 +13,6 @@
|
|
|
16
13
|
"options": {
|
|
17
14
|
"trackLinks": true
|
|
18
15
|
},
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
}
|
|
16
|
+
"r__asset_customerKey": "testTemplated_asset_message",
|
|
17
|
+
"r__journey_key": "testTemplated_interaction"
|
|
22
18
|
}
|
|
@@ -6,11 +6,8 @@
|
|
|
6
6
|
"status": "Active",
|
|
7
7
|
"createdDate": "2020-09-10T03:29:00",
|
|
8
8
|
"modifiedDate": "2020-09-10T03:29:00",
|
|
9
|
-
"content": {
|
|
10
|
-
"customerKey": "testExisting_asset_message"
|
|
11
|
-
},
|
|
12
9
|
"subscriptions": {
|
|
13
|
-
"
|
|
10
|
+
"r__dataExtension_CustomerKey": "testExisting_dataExtension",
|
|
14
11
|
"autoAddSubscriber": true,
|
|
15
12
|
"updateSubscriber": true,
|
|
16
13
|
"r__list_PathName": "my subscribers/All Subscribers"
|
|
@@ -18,7 +15,6 @@
|
|
|
18
15
|
"options": {
|
|
19
16
|
"trackLinks": true
|
|
20
17
|
},
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
}
|
|
18
|
+
"r__asset_customerKey": "testExisting_asset_message",
|
|
19
|
+
"r__journey_key": "testExisting_interaction"
|
|
24
20
|
}
|
|
@@ -6,11 +6,8 @@
|
|
|
6
6
|
"status": "Active",
|
|
7
7
|
"createdDate": "2020-09-10T03:29:00",
|
|
8
8
|
"modifiedDate": "2020-09-10T03:29:00",
|
|
9
|
-
"content": {
|
|
10
|
-
"customerKey": "testExisting_asset_message"
|
|
11
|
-
},
|
|
12
9
|
"subscriptions": {
|
|
13
|
-
"
|
|
10
|
+
"r__dataExtension_CustomerKey": "testExisting_dataExtension",
|
|
14
11
|
"autoAddSubscriber": true,
|
|
15
12
|
"updateSubscriber": true,
|
|
16
13
|
"r__list_PathName": "my subscribers/All Subscribers"
|
|
@@ -18,7 +15,6 @@
|
|
|
18
15
|
"options": {
|
|
19
16
|
"trackLinks": true
|
|
20
17
|
},
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
}
|
|
18
|
+
"r__asset_customerKey": "testExisting_asset_message",
|
|
19
|
+
"r__journey_key": "testExisting_interaction"
|
|
24
20
|
}
|
|
@@ -6,11 +6,8 @@
|
|
|
6
6
|
"status": "Active",
|
|
7
7
|
"createdDate": "2022-12-06T06:08:00",
|
|
8
8
|
"modifiedDate": "2022-12-06T06:08:00",
|
|
9
|
-
"content": {
|
|
10
|
-
"customerKey": "testExisting_asset_message"
|
|
11
|
-
},
|
|
12
9
|
"subscriptions": {
|
|
13
|
-
"
|
|
10
|
+
"r__dataExtension_CustomerKey": "testExisting_dataExtension",
|
|
14
11
|
"autoAddSubscriber": true,
|
|
15
12
|
"updateSubscriber": true,
|
|
16
13
|
"r__list_PathName": "my subscribers/All Subscribers"
|
|
@@ -18,7 +15,6 @@
|
|
|
18
15
|
"options": {
|
|
19
16
|
"trackLinks": true
|
|
20
17
|
},
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
}
|
|
18
|
+
"r__asset_customerKey": "testExisting_asset_message",
|
|
19
|
+
"r__journey_key": "testNew_RANDOM_interaction"
|
|
24
20
|
}
|
|
@@ -4,11 +4,8 @@
|
|
|
4
4
|
"description": "{{{description}}}",
|
|
5
5
|
"classification": "Default Transactional",
|
|
6
6
|
"status": "Active",
|
|
7
|
-
"content": {
|
|
8
|
-
"customerKey": "{{{prefix}}}asset_message"
|
|
9
|
-
},
|
|
10
7
|
"subscriptions": {
|
|
11
|
-
"
|
|
8
|
+
"r__dataExtension_CustomerKey": "{{{prefix}}}dataExtension",
|
|
12
9
|
"autoAddSubscriber": true,
|
|
13
10
|
"updateSubscriber": true,
|
|
14
11
|
"r__list_PathName": "my subscribers/All Subscribers"
|
|
@@ -16,7 +13,6 @@
|
|
|
16
13
|
"options": {
|
|
17
14
|
"trackLinks": true
|
|
18
15
|
},
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
}
|
|
16
|
+
"r__asset_customerKey": "{{{prefix}}}asset_message",
|
|
17
|
+
"r__journey_key": "{{{prefix}}}interaction"
|
|
22
18
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"dataVerificationDefinitionId": "testTemplated_39f6a488-20eb-4ba0-b0b9",
|
|
3
|
+
"notificationEmailAddress": "",
|
|
4
|
+
"notificationEmailMessage": "",
|
|
5
|
+
"r__dataExtension_CustomerKey": "testTemplated_dataExtension",
|
|
6
|
+
"shouldEmailOnFailure": false,
|
|
7
|
+
"shouldStopOnFailure": true,
|
|
8
|
+
"value1": 1,
|
|
9
|
+
"value2": 0,
|
|
10
|
+
"verificationType": "IsEqualTo"
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"dataVerificationDefinitionId": "testExisting_39f6a488-20eb-4ba0-b0b9",
|
|
3
|
+
"notificationEmailAddress": "",
|
|
4
|
+
"notificationEmailMessage": "",
|
|
5
|
+
"r__dataExtension_CustomerKey": "testExisting_dataExtension",
|
|
6
|
+
"shouldEmailOnFailure": false,
|
|
7
|
+
"shouldStopOnFailure": true,
|
|
8
|
+
"value1": 1,
|
|
9
|
+
"value2": 0,
|
|
10
|
+
"verificationType": "IsEqualTo"
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"dataVerificationDefinitionId": "testExisting_39f6a488-20eb-4ba0-b0b9",
|
|
3
|
+
"notificationEmailAddress": "test@accenture.com",
|
|
4
|
+
"notificationEmailMessage": "",
|
|
5
|
+
"r__dataExtension_CustomerKey": "testExisting_dataExtension",
|
|
6
|
+
"shouldEmailOnFailure": true,
|
|
7
|
+
"shouldStopOnFailure": true,
|
|
8
|
+
"value1": 1,
|
|
9
|
+
"value2": 0,
|
|
10
|
+
"verificationType": "IsEqualTo"
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"dataVerificationDefinitionId": "testNew_RANDOM_NEW_GUID",
|
|
3
|
+
"r__dataExtension_CustomerKey": "testExisting_dataExtension",
|
|
4
|
+
"verificationType": "IsEqualTo",
|
|
5
|
+
"value1": 2,
|
|
6
|
+
"value2": 0,
|
|
7
|
+
"shouldStopOnFailure": false,
|
|
8
|
+
"shouldEmailOnFailure": false,
|
|
9
|
+
"notificationEmailAddress": "",
|
|
10
|
+
"notificationEmailMessage": ""
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"dataVerificationDefinitionId": "{{{prefix}}}39f6a488-20eb-4ba0-b0b9",
|
|
3
|
+
"notificationEmailAddress": "",
|
|
4
|
+
"notificationEmailMessage": "",
|
|
5
|
+
"r__dataExtension_CustomerKey": "{{{prefix}}}dataExtension",
|
|
6
|
+
"shouldEmailOnFailure": false,
|
|
7
|
+
"shouldStopOnFailure": true,
|
|
8
|
+
"value1": 1,
|
|
9
|
+
"value2": 0,
|
|
10
|
+
"verificationType": "IsEqualTo"
|
|
11
|
+
}
|
|
@@ -26,16 +26,16 @@ describe('type: attributeGroup', () => {
|
|
|
26
26
|
retrieve['testInstance/testBU'].attributeGroup
|
|
27
27
|
? Object.keys(retrieve['testInstance/testBU'].attributeGroup).length
|
|
28
28
|
: 0,
|
|
29
|
-
|
|
30
|
-
'only
|
|
29
|
+
8,
|
|
30
|
+
'only 8 attributeGroups expected in retrieve response'
|
|
31
31
|
);
|
|
32
32
|
|
|
33
33
|
// get results from cache
|
|
34
34
|
const result = cache.getCache();
|
|
35
35
|
assert.equal(
|
|
36
36
|
result.attributeGroup ? Object.keys(result.attributeGroup).length : 0,
|
|
37
|
-
|
|
38
|
-
'only
|
|
37
|
+
8,
|
|
38
|
+
'only 8 attributeGroups expected in cache'
|
|
39
39
|
);
|
|
40
40
|
assert.deepEqual(
|
|
41
41
|
await testUtils.getActualJson('ETMobileConnect', 'attributeGroup'),
|
|
@@ -26,19 +26,19 @@ describe('type: attributeSet', () => {
|
|
|
26
26
|
retrieve['testInstance/testBU'].attributeSet
|
|
27
27
|
? Object.keys(retrieve['testInstance/testBU'].attributeSet).length
|
|
28
28
|
: 0,
|
|
29
|
-
|
|
30
|
-
'only
|
|
29
|
+
28,
|
|
30
|
+
'only 28 attributeSets expected in retrieve response'
|
|
31
31
|
);
|
|
32
32
|
// get results from cache
|
|
33
33
|
const result = cache.getCache();
|
|
34
34
|
assert.equal(
|
|
35
35
|
result.attributeSet ? Object.keys(result.attributeSet).length : 0,
|
|
36
|
-
|
|
37
|
-
'only
|
|
36
|
+
28,
|
|
37
|
+
'only 28 attributeSets expected in cache'
|
|
38
38
|
);
|
|
39
39
|
|
|
40
40
|
assert.deepEqual(
|
|
41
|
-
await testUtils.getActualJson('
|
|
41
|
+
await testUtils.getActualJson('testExisting_dataExtensionShared', 'attributeSet'),
|
|
42
42
|
await testUtils.getExpectedJson('9999999', 'attributeSet', 'retrieve'),
|
|
43
43
|
|
|
44
44
|
'returned metadata was not equal expected'
|