mcdev 5.1.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.
Files changed (256) hide show
  1. package/.eslintrc.json +4 -4
  2. package/.fork/custom-commands.json +12 -0
  3. package/.github/ISSUE_TEMPLATE/bug.yml +2 -0
  4. package/.github/PULL_REQUEST_TEMPLATE/pr_template_release.md +19 -0
  5. package/.github/PULL_REQUEST_TEMPLATE.md +2 -2
  6. package/.github/workflows/coverage-develop-branch.yml +0 -2
  7. package/.github/workflows/coverage-main-branch.yml +0 -2
  8. package/.github/workflows/coverage.yml +0 -2
  9. package/.husky/post-checkout +1 -0
  10. package/.husky/post-merge +1 -0
  11. package/.vscode/extensions.json +4 -0
  12. package/docs/dist/documentation.md +1034 -296
  13. package/lib/Deployer.js +25 -25
  14. package/lib/MetadataTypeDefinitions.js +2 -1
  15. package/lib/MetadataTypeInfo.js +2 -1
  16. package/lib/Retriever.js +1 -1
  17. package/lib/cli.js +165 -10
  18. package/lib/index.js +398 -95
  19. package/lib/metadataTypes/Asset.js +10 -11
  20. package/lib/metadataTypes/AttributeGroup.js +76 -2
  21. package/lib/metadataTypes/AttributeSet.js +367 -0
  22. package/lib/metadataTypes/Automation.js +483 -137
  23. package/lib/metadataTypes/DataExtension.js +465 -68
  24. package/lib/metadataTypes/DataExtensionField.js +31 -14
  25. package/lib/metadataTypes/Event.js +2 -3
  26. package/lib/metadataTypes/Folder.js +1 -1
  27. package/lib/metadataTypes/Journey.js +13 -7
  28. package/lib/metadataTypes/MetadataType.js +212 -54
  29. package/lib/metadataTypes/MobileKeyword.js +9 -9
  30. package/lib/metadataTypes/MobileMessage.js +5 -5
  31. package/lib/metadataTypes/Query.js +26 -10
  32. package/lib/metadataTypes/Script.js +3 -3
  33. package/lib/metadataTypes/TransactionalEmail.js +94 -17
  34. package/lib/metadataTypes/TransactionalMessage.js +3 -2
  35. package/lib/metadataTypes/TransactionalSMS.js +5 -5
  36. package/lib/metadataTypes/TriggeredSend.js +25 -50
  37. package/lib/metadataTypes/User.js +7 -4
  38. package/lib/metadataTypes/Verification.js +230 -0
  39. package/lib/metadataTypes/definitions/AttributeGroup.definition.js +119 -108
  40. package/lib/metadataTypes/definitions/{SetDefinition.definition.js → AttributeSet.definition.js} +123 -43
  41. package/lib/metadataTypes/definitions/Automation.definition.js +23 -15
  42. package/lib/metadataTypes/definitions/ImportFile.definition.js +36 -6
  43. package/lib/metadataTypes/definitions/TransactionalEmail.definition.js +19 -1
  44. package/lib/metadataTypes/definitions/TriggeredSend.definition.js +1 -0
  45. package/lib/metadataTypes/definitions/Verification.definition.js +88 -0
  46. package/lib/util/cache.js +9 -4
  47. package/lib/util/cli.js +40 -0
  48. package/lib/util/file.js +2 -2
  49. package/lib/util/init.js +84 -0
  50. package/lib/util/util.js +121 -13
  51. package/package.json +13 -13
  52. package/test/mockRoot/.mcdevrc.json +1 -1
  53. package/test/mockRoot/deploy/testInstance/_ParentBU_/dataExtension/testExisting_dataExtensionShared.dataExtension-meta.json +59 -0
  54. package/test/mockRoot/deploy/testInstance/_ParentBU_/dataExtension/testNew_dataExtensionShared.dataExtension-meta.json +23 -0
  55. package/test/mockRoot/deploy/testInstance/testBU/automation/testExisting_automation.automation-meta.json +1 -2
  56. package/test/mockRoot/deploy/testInstance/testBU/automation/testNew_automation.automation-meta.json +9 -6
  57. package/test/mockRoot/deploy/testInstance/testBU/dataExtension/testExisting_dataExtension.dataExtension-meta.json +1 -0
  58. package/test/mockRoot/deploy/testInstance/testBU/dataExtract/testExisting_dataExtract.dataExtract-meta.json +35 -0
  59. package/test/mockRoot/deploy/testInstance/testBU/dataExtract/testNew_dataExtract.dataExtract-meta.json +35 -0
  60. package/test/mockRoot/deploy/testInstance/testBU/fileTransfer/testExisting_fileTransfer.fileTransfer-meta.json +17 -0
  61. package/test/mockRoot/deploy/testInstance/testBU/fileTransfer/testNew_fileTransfer.fileTransfer-meta.json +17 -0
  62. package/test/mockRoot/deploy/testInstance/testBU/importFile/testExisting_importFile.importFile-meta.json +29 -0
  63. package/test/mockRoot/deploy/testInstance/testBU/importFile/testNew_importFile.importFile-meta.json +29 -0
  64. package/test/mockRoot/deploy/testInstance/testBU/query/testExisting_query_fixKeys.query-meta.json +11 -0
  65. package/test/mockRoot/deploy/testInstance/testBU/query/testExisting_query_fixKeys.query-meta.sql +6 -0
  66. package/test/mockRoot/deploy/testInstance/testBU/script/testExisting_script.script-meta.json +6 -0
  67. package/test/mockRoot/deploy/testInstance/testBU/script/testExisting_script.script-meta.ssjs +1 -0
  68. package/test/mockRoot/deploy/testInstance/testBU/script/testNew_script.script-meta.json +6 -0
  69. package/test/mockRoot/deploy/testInstance/testBU/script/testNew_script.script-meta.ssjs +1 -0
  70. package/test/mockRoot/deploy/testInstance/testBU/transactionalEmail/testExisting_temail.transactionalEmail-meta.json +3 -4
  71. package/test/mockRoot/deploy/testInstance/testBU/transactionalEmail/testNew_temail.transactionalEmail-meta.json +1 -6
  72. package/test/mockRoot/deploy/testInstance/testBU/triggeredSend/testExisting_triggeredSend.triggeredSend-meta.json +29 -0
  73. package/test/mockRoot/deploy/testInstance/testBU/triggeredSend/testNew_triggeredSend.triggeredSend-meta.json +29 -0
  74. package/test/mockRoot/deploy/testInstance/testBU/verification/testExisting_39f6a488-20eb-4ba0-b0b9.verification-meta.json +11 -0
  75. package/test/mockRoot/deploy/testInstance/testBU/verification/testNew_39f6a488-20eb-4ba0-b0b9.verification-meta.json +11 -0
  76. package/test/resourceFactory.js +77 -12
  77. package/test/resources/1111111/accountUser/retrieve-ActiveFlag=falseANDCustomerKey=testExisting_userANDEmaillike@-response.xml +27 -0
  78. package/test/resources/1111111/accountUser/retrieve-ActiveFlag=falseANDEmaillike@-response.xml +156 -0
  79. package/test/resources/1111111/accountUser/retrieve-ActiveFlag=trueANDEmailisNullORNamelikeapp userANDMustChangePassword=false-response.xml +87 -0
  80. package/test/resources/1111111/accountUser/retrieve-ActiveFlag=trueANDEmaillike@-response.xml +156 -0
  81. package/test/resources/1111111/accountUser/retrieve-CustomerKey=testExisting_userANDActiveFlag=trueANDEmailisNullORNamelikeapp userANDMustChangePassword=false-response.xml +27 -0
  82. package/test/resources/1111111/accountUserAccount/retrieve-AccountUser.AccountUserID=700301950-response.xml +60 -0
  83. package/test/resources/1111111/data/v1/customobjectdata/key/testExisting_dataExtensionShared/rowset/get-response.json +13 -0
  84. package/test/resources/1111111/dataExtension/create-expected.json +23 -0
  85. package/test/resources/1111111/dataExtension/create-response.xml +59 -0
  86. package/test/resources/1111111/dataExtension/retrieve-expected.json +55 -0
  87. package/test/resources/1111111/dataExtension/retrieve-expected.md +18 -0
  88. package/test/resources/1111111/dataExtension/retrieve-response.xml +27 -1
  89. package/test/resources/1111111/dataExtension/update-expected.json +55 -0
  90. package/test/resources/1111111/dataExtension/update-response.xml +57 -0
  91. package/test/resources/1111111/dataExtensionField/retrieve-CustomerKey=[testExisting_dataExtensionShared].[TriggerUpdate_randomNumber_]-response.xml +45 -0
  92. package/test/resources/1111111/dataExtensionField/retrieve-DataExtension.CustomerKey=testExisting_dataExtensionShared-response.xml +98 -0
  93. package/test/resources/1111111/dataExtensionField/retrieve-DataExtension.CustomerKey=testNew_dataExtensionSharedORDataExtension.CustomerKey=testExisting_dataExtensionShared-response.xml +98 -0
  94. package/test/resources/1111111/dataExtensionField/retrieve-response.xml +98 -0
  95. package/test/resources/1111111/dataExtensionTemplate/retrieve-response.xml +303 -0
  96. package/test/resources/1111111/dataFolder/retrieve-ContentType=synchronizeddataextensionORContentType=shared_salesforcedataextensionORContentType=shared_dataextensionORContentType=shared_dataORContentType=salesforcedataextensionORContentType=dataextensionORContentType=hidden-response.xml +387 -0
  97. package/test/resources/1111111/dataFolder/retrieve-response.xml +353 -9
  98. package/test/resources/1111111/user/retrieve-expected.md +4 -2
  99. package/test/resources/9999999/attributeGroup/retrieve-expected.json +25 -0
  100. package/test/resources/9999999/attributeSet/retrieve-expected.json +143 -0
  101. package/test/resources/9999999/automation/build-expected.json +5 -2
  102. package/test/resources/9999999/automation/create-expected.json +11 -8
  103. package/test/resources/9999999/automation/create-testNew_automation-expected.md +5 -4
  104. package/test/resources/9999999/automation/patch_fixKeys-pause-expected.json +44 -0
  105. package/test/resources/9999999/automation/patch_fixKeys-schedule-expected.json +44 -0
  106. package/test/resources/9999999/automation/perform-08afb0e2-b00a-4c88-ad2e-1f7f8788c560-response.xml +42 -0
  107. package/test/resources/9999999/automation/perform-08afb0e2-b00a-4c88-fixKey_pause-response.xml +42 -0
  108. package/test/resources/9999999/automation/perform-08afb0e2-b00a-4c88-fixKey_schedule-response.xml +42 -0
  109. package/test/resources/9999999/automation/perform-a8afb0e2-b00a-4c88-ad2e-1f7f8788c560-response.xml +42 -0
  110. package/test/resources/9999999/automation/retrieve-expected.json +5 -2
  111. package/test/resources/9999999/automation/retrieve-testExisting_automation-expected.md +3 -2
  112. package/test/resources/9999999/automation/schedule-08afb0e2-b00a-4c88-ad2e-1f7f8788c560-response.xml +52 -0
  113. package/test/resources/9999999/automation/schedule-08afb0e2-b00a-4c88-ad2e-pause-response.xml +38 -0
  114. package/test/resources/9999999/automation/schedule-08afb0e2-b00a-4c88-fixKey_pause-response.xml +52 -0
  115. package/test/resources/9999999/automation/schedule-08afb0e2-b00a-4c88-fixKey_schedule-response.xml +52 -0
  116. package/test/resources/9999999/automation/schedule-a8afb0e2-b00a-4c88-ad2e-1f7f8788c560-response.xml +52 -0
  117. package/test/resources/9999999/automation/template-expected.json +5 -2
  118. package/test/resources/9999999/automation/update-expected.json +1 -2
  119. package/test/resources/9999999/automation/update-testExisting_automation-expected.md +2 -2
  120. package/test/resources/9999999/automation/v1/automations/08afb0e2-b00a-4c88-ad2e-1f7f8788c560/get-response.json +7 -0
  121. package/test/resources/9999999/automation/v1/automations/08afb0e2-b00a-4c88-ad2e-pause/get-response.json +85 -0
  122. package/test/resources/9999999/automation/v1/automations/08afb0e2-b00a-4c88-ad2e-pause/patch-response.json +85 -0
  123. package/test/resources/9999999/automation/v1/automations/08afb0e2-b00a-4c88-fixKey_pause/get-response.json +85 -0
  124. package/test/resources/9999999/automation/v1/automations/08afb0e2-b00a-4c88-fixKey_pause/patch-response.json +85 -0
  125. package/test/resources/9999999/automation/v1/automations/08afb0e2-b00a-4c88-fixKey_schedule/get-response.json +85 -0
  126. package/test/resources/9999999/automation/v1/automations/08afb0e2-b00a-4c88-fixKey_schedule/patch-response.json +85 -0
  127. package/test/resources/9999999/automation/v1/automations/a8afb0e2-b00a-4c88-ad2e-1f7f8788c560/get-response.json +1 -1
  128. package/test/resources/9999999/automation/v1/automations/post-response.json +27 -19
  129. package/test/resources/9999999/automation/v1/dataextracts/56c5370a-f988-4f36-b0ee-0f876573f6d7/patch-response.json +38 -0
  130. package/test/resources/9999999/automation/v1/dataextracts/post-response.json +38 -0
  131. package/test/resources/9999999/automation/v1/dataextracttypes/get-response.json +50 -0
  132. package/test/resources/9999999/automation/v1/dataverifications/post-response.json +12 -0
  133. package/test/resources/9999999/automation/v1/dataverifications/testExisting_39f6a488-20eb-4ba0-b0b9/delete-response.json +0 -0
  134. package/test/resources/9999999/automation/v1/dataverifications/testExisting_39f6a488-20eb-4ba0-b0b9/get-response.json +12 -0
  135. package/test/resources/9999999/automation/v1/dataverifications/testExisting_39f6a488-20eb-4ba0-b0b9/patch-response.json +12 -0
  136. package/test/resources/9999999/automation/v1/filetransfers/72c328ac-f5b0-4e37-91d3-a775666f15a6/patch-response.json +18 -0
  137. package/test/resources/9999999/automation/v1/filetransfers/post-response.json +18 -0
  138. package/test/resources/9999999/automation/v1/ftplocations/get-response.json +18 -0
  139. package/test/resources/9999999/automation/v1/imports/9d16f42c-2260-ed11-b849-48df37d1de8b/patch-response.json +31 -0
  140. package/test/resources/9999999/automation/v1/imports/get-response.json +1 -1
  141. package/test/resources/9999999/automation/v1/imports/post-response.json +30 -0
  142. package/test/resources/9999999/automation/v1/queries/549f0568-607c-4940-afef-437965094dae/actions/start/post-response.txt +1 -0
  143. package/test/resources/9999999/automation/v1/queries/549f0568-607c-4940-afef-437965094dat_fixKeys/get-response.json +17 -0
  144. package/test/resources/9999999/automation/v1/queries/549f0568-607c-4940-afef-437965094dat_fixKeys/patch-response.json +18 -0
  145. package/test/resources/9999999/automation/v1/queries/get-response.json +18 -1
  146. package/test/resources/9999999/automation/v1/scripts/39f6a488-20eb-4ba0-b0b9-023725b574e4/patch-response.json +10 -0
  147. package/test/resources/9999999/automation/v1/scripts/get-response.json +12 -2
  148. package/test/resources/9999999/automation/v1/scripts/post-response.json +10 -0
  149. package/test/resources/9999999/dataExtension/build-expected.json +16 -0
  150. package/test/resources/9999999/dataExtension/delete-response.xml +42 -0
  151. package/test/resources/9999999/dataExtension/retrieve-Name=testExisting_dataExtension-response.xml +52 -0
  152. package/test/resources/9999999/dataExtension/retrieve-expected.json +16 -0
  153. package/test/resources/9999999/dataExtension/retrieve-expected.md +3 -1
  154. package/test/resources/9999999/dataExtension/template-expected.json +16 -0
  155. package/test/resources/9999999/dataExtension/update-expected.json +17 -1
  156. package/test/resources/9999999/dataExtensionField/retrieve-CustomerKey=[testExisting_dataExtension].[LastName]-response.xml +44 -0
  157. package/test/resources/9999999/dataExtensionField/retrieve-DataExtension.CustomerKey=testExisting_dataExtension-response.xml +133 -0
  158. package/test/resources/9999999/dataExtensionField/retrieve-DataExtension.CustomerKey=testNew_dataExtensionORDataExtension.CustomerKey=testExisting_dataExtension-response.xml +99 -0
  159. package/test/resources/9999999/dataExtensionField/retrieve-response.xml +36 -1
  160. package/test/resources/9999999/dataExtract/build-expected.json +35 -0
  161. package/test/resources/9999999/dataExtract/get-expected.json +39 -0
  162. package/test/resources/9999999/dataExtract/patch-expected.json +37 -0
  163. package/test/resources/9999999/dataExtract/post-expected.json +37 -0
  164. package/test/resources/9999999/dataExtract/template-expected.json +35 -0
  165. package/test/resources/9999999/dataFolder/retrieve-ContentType=contextual_suppression_listORContentType=publicationORContentType=suppression_listORContentType=mysubsORContentType=list-response.xml +136 -0
  166. package/test/resources/9999999/dataFolder/retrieve-ContentType=ssjsactivity-response.xml +48 -0
  167. package/test/resources/9999999/dataFolder/retrieve-ContentType=synchronizeddataextensionORContentType=shared_salesforcedataextensionORContentType=shared_dataextensionORContentType=shared_dataORContentType=salesforcedataextensionORContentType=dataextensionORContentType=hidden-response.xml +117 -0
  168. package/test/resources/9999999/dataFolder/retrieve-ContentType=triggered_send_journeybuilderORContentType=triggered_sendORContentType=hidden-response.xml +276 -0
  169. package/test/resources/9999999/dataFolder/retrieve-response.xml +23 -0
  170. package/test/resources/9999999/email/retrieve-response.xml +203 -0
  171. package/test/resources/9999999/fileTransfer/build-expected.json +15 -0
  172. package/test/resources/9999999/fileTransfer/get-expected.json +17 -0
  173. package/test/resources/9999999/fileTransfer/patch-expected.json +17 -0
  174. package/test/resources/9999999/fileTransfer/post-expected.json +17 -0
  175. package/test/resources/9999999/fileTransfer/template-expected.json +15 -0
  176. package/test/resources/9999999/hub/v1/contacts/schema/attributeGroups/get-response.json +628 -0
  177. package/test/resources/9999999/hub/v1/contacts/schema/setDefinitions/get-response.json +20194 -0
  178. package/test/resources/9999999/importFile/build-expected.json +27 -0
  179. package/test/resources/9999999/importFile/get-expected.json +29 -0
  180. package/test/resources/9999999/importFile/patch-expected.json +29 -0
  181. package/test/resources/9999999/importFile/post-expected.json +29 -0
  182. package/test/resources/9999999/importFile/template-expected.json +27 -0
  183. package/test/resources/9999999/interaction/v1/interactions/233d4413-922c-4568-85a5-e5cc77efc3be/delete-response.json +1 -0
  184. package/test/resources/9999999/legacy/v1/beta/bulk/automations/automation/definition/get-response.json +1 -1
  185. package/test/resources/9999999/messaging/v1/email/definitions/post-response.json +1 -1
  186. package/test/resources/9999999/messaging/v1/email/definitions/testExisting_temail/delete-response.json +6 -0
  187. package/test/resources/9999999/program/retrieve-CustomerKey=testExisting_automation_fixKey_pause-response.xml +32 -0
  188. package/test/resources/9999999/program/retrieve-CustomerKey=testExisting_automation_fixKey_schedule-response.xml +32 -0
  189. package/test/resources/9999999/program/retrieve-CustomerKey=testExisting_automation_fixedKey_paused-response.xml +32 -0
  190. package/test/resources/9999999/program/retrieve-CustomerKey=testExisting_automation_fixedKey_scheduled-response.xml +32 -0
  191. package/test/resources/9999999/program/retrieve-CustomerKey=testExisting_automation_pause-response.xml +30 -0
  192. package/test/resources/9999999/program/retrieve-response.xml +21 -3
  193. package/test/resources/9999999/query/patch_fixKeys-expected.json +11 -0
  194. package/test/resources/9999999/query/patch_fixKeys-expected.sql +6 -0
  195. package/test/resources/9999999/queryDefinition/retrieve-CustomerKey=testExisting_query_fixKeysANDStatus=Active-response.xml +30 -0
  196. package/test/resources/9999999/queryDefinition/retrieve-CustomerKey=testExisting_query_fixedKeysANDStatus=Active-response.xml +30 -0
  197. package/test/resources/9999999/queryDefinition/retrieve-CustomerKey=testNew_queryANDStatus=Active-response.xml +30 -0
  198. package/test/resources/9999999/script/build-expected.json +6 -0
  199. package/test/resources/9999999/script/build-expected.ssjs +1 -0
  200. package/test/resources/9999999/script/get-expected.json +8 -0
  201. package/test/resources/9999999/script/get-expected.ssjs +1 -0
  202. package/test/resources/9999999/script/get_noScriptTag-expected.html +1 -0
  203. package/test/resources/9999999/script/get_noScriptTag-expected.json +8 -0
  204. package/test/resources/9999999/script/patch-expected.json +8 -0
  205. package/test/resources/9999999/script/patch-expected.ssjs +1 -0
  206. package/test/resources/9999999/script/post-expected.json +8 -0
  207. package/test/resources/9999999/script/post-expected.ssjs +1 -0
  208. package/test/resources/9999999/script/template-expected.json +6 -0
  209. package/test/resources/9999999/script/template-expected.ssjs +1 -0
  210. package/test/resources/9999999/transactionalEmail/build-expected.json +3 -7
  211. package/test/resources/9999999/transactionalEmail/get-expected.json +3 -7
  212. package/test/resources/9999999/transactionalEmail/patch-expected.json +3 -7
  213. package/test/resources/9999999/transactionalEmail/post-expected.json +3 -7
  214. package/test/resources/9999999/transactionalEmail/template-expected.json +3 -7
  215. package/test/resources/9999999/triggeredSend/build-expected.json +29 -0
  216. package/test/resources/9999999/triggeredSend/get-expected.json +29 -0
  217. package/test/resources/9999999/triggeredSend/patch-expected.json +29 -0
  218. package/test/resources/9999999/triggeredSend/post-expected.json +29 -0
  219. package/test/resources/9999999/triggeredSend/template-expected.json +29 -0
  220. package/test/resources/9999999/triggeredSendDefinition/create-response.xml +75 -0
  221. package/test/resources/9999999/triggeredSendDefinition/delete-response.xml +36 -0
  222. package/test/resources/9999999/triggeredSendDefinition/{retrieve-response.xml → retrieve-TriggeredSendStatusINNew,Active,Inactive,Moved,Canceled-response.xml} +4 -4
  223. package/test/resources/9999999/triggeredSendDefinition/update-response.xml +74 -0
  224. package/test/resources/9999999/verification/build-expected.json +11 -0
  225. package/test/resources/9999999/verification/get-expected.json +11 -0
  226. package/test/resources/9999999/verification/patch-expected.json +11 -0
  227. package/test/resources/9999999/verification/post-expected.json +11 -0
  228. package/test/resources/9999999/verification/template-expected.json +11 -0
  229. package/test/type.attributeGroup.test.js +55 -0
  230. package/test/type.attributeSet.test.js +55 -0
  231. package/test/type.automation.test.js +650 -17
  232. package/test/type.dataExtension.test.js +205 -46
  233. package/test/type.dataExtract.test.js +194 -0
  234. package/test/type.fileTransfer.test.js +192 -0
  235. package/test/type.importFile.test.js +193 -0
  236. package/test/type.journey.test.js +38 -11
  237. package/test/type.mobileKeyword.test.js +6 -5
  238. package/test/type.mobileMessage.test.js +6 -4
  239. package/test/type.query.test.js +470 -17
  240. package/test/type.script.test.js +372 -0
  241. package/test/type.transactionalEmail.test.js +12 -11
  242. package/test/type.transactionalPush.test.js +2 -4
  243. package/test/type.transactionalSMS.test.js +2 -4
  244. package/test/type.triggeredSend.test.js +154 -0
  245. package/test/type.user.test.js +22 -10
  246. package/test/type.verification.test.js +173 -0
  247. package/test/utils.js +11 -2
  248. package/types/mcdev.d.js +14 -0
  249. package/lib/metadataTypes/SetDefinition.js +0 -37
  250. /package/test/resources/1111111/accountUser/{retrieve-response.xml → retrieve-ActiveFlag=trueANDCustomerKey=testExisting_userANDEmaillike@-response.xml} +0 -0
  251. /package/test/resources/1111111/accountUserAccount/{retrieve-response.xml → retrieve-AccountUser.AccountUserIDIN700301950,700301951,7471228-response.xml} +0 -0
  252. /package/test/resources/1111111/businessUnit/{retrieve-response.xml → retrieve-ID=1111111-response.xml} +0 -0
  253. /package/test/resources/1111111/list/{retrieve-response.xml → retrieve-CustomerKey=All SubscribersORListName=All Subscribers-response.xml} +0 -0
  254. /package/test/resources/1111111/role/{retrieve-response.xml → retrieve-IsPrivate=false-response.xml} +0 -0
  255. /package/test/resources/9999999/emailSendDefinition/{retrieve-response.xml → retrieve-IsPlatformObject=falseANDDescriptionnotEqualsSFSendDefinition-response.xml} +0 -0
  256. /package/test/resources/9999999/queryDefinition/{retrieve-response.xml → retrieve-CustomerKey=testExisting_queryANDStatus=Active-response.xml} +0 -0
@@ -0,0 +1,50 @@
1
+ [
2
+ {
3
+ "name": "Audit Trail Activity Log",
4
+ "extractId": "d804ddf9-feda-4495-8e7e-069a14f5d248"
5
+ },
6
+ {
7
+ "name": "Zip",
8
+ "extractId": "9a487c7d-96bd-484c-ad80-0f0bcbb91ca7"
9
+ },
10
+ {
11
+ "name": "Tracking Extract",
12
+ "extractId": "c7219016-a7f0-4c72-8657-1ec12c28a0db"
13
+ },
14
+ {
15
+ "name": "Mobile Push Detail Extract Report",
16
+ "extractId": "e6647310-ac95-4f32-a639-2a6b145c83f1"
17
+ },
18
+ {
19
+ "name": "UTF16 to ASCII Converter",
20
+ "extractId": "e7e14f95-b925-462d-b6b4-4a6b1dca7ca1"
21
+ },
22
+ {
23
+ "name": "Contacts Without Channel Addresses",
24
+ "extractId": "f2500d28-b3cb-42b9-ad31-361123ec1222"
25
+ },
26
+ {
27
+ "name": "Convert XML",
28
+ "extractId": "805dfb29-82cb-43dc-989b-53ef5d181920"
29
+ },
30
+ {
31
+ "name": "GZip",
32
+ "extractId": "7e7d322a-88ca-499a-9fb3-90e72fcf00af"
33
+ },
34
+ {
35
+ "name": "XmlToTextMapper",
36
+ "extractId": "cf2cd221-fc3c-4d9f-90b4-a4e879a51ab6"
37
+ },
38
+ {
39
+ "name": "Enhanced FTP File Move and Copy",
40
+ "extractId": "90d90e0a-fd9a-4d35-b471-cde0d17c91d4"
41
+ },
42
+ {
43
+ "name": "Data Extension Extract",
44
+ "extractId": "bb94a04d-9632-4623-be47-daabc3f588a6"
45
+ },
46
+ {
47
+ "name": "Audit Trail Access Log",
48
+ "extractId": "382b94bd-bd1b-45e1-864f-eb824841885a"
49
+ }
50
+ ]
@@ -0,0 +1,12 @@
1
+ {
2
+ "dataVerificationDefinitionId": "testNew_RANDOM_NEW_GUID",
3
+ "targetObjectId": "21711373-72c1-ec11-b83b-48df37d1deb7",
4
+ "verificationType": "IsEqualTo",
5
+ "value1": 2,
6
+ "value2": 0,
7
+ "shouldStopOnFailure": false,
8
+ "shouldEmailOnFailure": false,
9
+ "notificationEmailAddress": "",
10
+ "notificationEmailMessage": "",
11
+ "createdBy": 700301950
12
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "dataVerificationDefinitionId": "testExisting_39f6a488-20eb-4ba0-b0b9",
3
+ "targetObjectId": "21711373-72c1-ec11-b83b-48df37d1deb7",
4
+ "verificationType": "IsEqualTo",
5
+ "value1": 1,
6
+ "value2": 0,
7
+ "shouldStopOnFailure": true,
8
+ "shouldEmailOnFailure": false,
9
+ "notificationEmailAddress": "",
10
+ "notificationEmailMessage": "",
11
+ "createdBy": 700301950
12
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "dataVerificationDefinitionId": "testExisting_39f6a488-20eb-4ba0-b0b9",
3
+ "targetObjectId": "21711373-72c1-ec11-b83b-48df37d1deb7",
4
+ "verificationType": "IsEqualTo",
5
+ "value1": 1,
6
+ "value2": 0,
7
+ "shouldStopOnFailure": true,
8
+ "shouldEmailOnFailure": true,
9
+ "notificationEmailAddress": "test@accenture.com",
10
+ "notificationEmailMessage": "",
11
+ "createdBy": 700301950
12
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "id": "72c328ac-f5b0-4e37-91d3-a775666f15a6",
3
+ "name": "testExisting_fileTransfer",
4
+ "description": "17.11.2022",
5
+ "customerKey": "testExisting_fileTransfer",
6
+ "fileSpec": "%%Year%% updated via deploy",
7
+ "isEncrypted": false,
8
+ "isCompressed": false,
9
+ "maxFileAge": 0,
10
+ "maxFileAgeScheduleOffset": 0,
11
+ "maxImportFrequency": 0,
12
+ "fileTransferLocationId": "41a5ded7-0d98-4910-a15f-d09e7ab0af24",
13
+ "isUpload": true,
14
+ "isPgp": false,
15
+ "isFileSpecLocalized": false,
16
+ "createdDate": "2022-11-09T05:31:56.477",
17
+ "modifiedDate": "2022-11-17T07:13:20.05"
18
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "id": "72c328ac-f5b0-4e37-91d3-a775666f15a6",
3
+ "name": "testNew_fileTransfer",
4
+ "description": "17.11.2022",
5
+ "customerKey": "testNew_fileTransfer",
6
+ "fileSpec": "%%Year%% created on deploy",
7
+ "isEncrypted": false,
8
+ "isCompressed": false,
9
+ "maxFileAge": 0,
10
+ "maxFileAgeScheduleOffset": 0,
11
+ "maxImportFrequency": 0,
12
+ "fileTransferLocationId": "41a5ded7-0d98-4910-a15f-d09e7ab0af24",
13
+ "isUpload": true,
14
+ "isPgp": false,
15
+ "isFileSpecLocalized": false,
16
+ "createdDate": "2022-11-09T05:31:56.477",
17
+ "modifiedDate": "2022-11-17T07:13:20.05"
18
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "page": 1,
3
+ "pageSize": 2,
4
+ "count": 2,
5
+ "items": [
6
+ {
7
+ "name": "Salesforce Objects & Reports",
8
+ "id": "a4a0aff9-ddc5-4608-b0e1-40d0a5133d8f",
9
+ "locationTypeId": 4
10
+ },
11
+ {
12
+ "name": "ExactTarget Enhanced FTP",
13
+ "id": "41a5ded7-0d98-4910-a15f-d09e7ab0af24",
14
+ "locationTypeId": 0,
15
+ "relPath": "ExactTarget Enhanced FTP"
16
+ }
17
+ ]
18
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "allowErrors": true,
3
+ "customerKey": "testExisting_importFile",
4
+ "dateFormatLocale": "en-US",
5
+ "deleteFile": false,
6
+ "description": "updated on deploy",
7
+ "fieldMappingType": "InferFromColumnHeadings",
8
+ "fieldMappings": [],
9
+ "fileNamingPattern": "blabla",
10
+ "fileTransferLocationTypeId": 0,
11
+ "fileType": "CSV",
12
+ "filter": "",
13
+ "hasColumnHeader": true,
14
+ "isOrderedImport": true,
15
+ "isSequential": true,
16
+ "maxFileAgeHours": 0,
17
+ "maxFileAgeScheduleOffsetHours": 0,
18
+ "maxImportFrequencyHours": 0,
19
+ "name": "testExisting_importFile",
20
+ "sendEmailNotification": false,
21
+ "standardQuotedStrings": true,
22
+ "fileTransferLocationId": "41a5ded7-0d98-4910-a15f-d09e7ab0af24",
23
+ "destinationObjectId": "21711373-72c1-ec11-b83b-48df37d1deb7",
24
+ "destinationObjectTypeId": 310,
25
+ "subscriberImportTypeId": 255,
26
+ "updateTypeId": 0,
27
+ "importDefinitionId": "9d16f42c-2260-ed11-b849-48df37d1de8b",
28
+ "createdDate": "2022-11-09T05:53:03.243",
29
+ "destinationId": 0,
30
+ "modifiedDate": "2023-07-18T09:11:26.19"
31
+ }
@@ -11,7 +11,7 @@
11
11
  "dateFormatLocale": "en-US",
12
12
  "deleteFile": false,
13
13
  "description": "17.11.2022",
14
- "destinationObjectId": "bf457cfa-ca04-ec11-b82d-48df37d1da95",
14
+ "destinationObjectId": "21711373-72c1-ec11-b83b-48df37d1deb7",
15
15
  "destinationId": 0,
16
16
  "destinationObjectTypeId": 310,
17
17
  "fieldMappings": [],
@@ -0,0 +1,30 @@
1
+ {
2
+ "allowErrors": true,
3
+ "customerKey": "testNew_importFile",
4
+ "dateFormatLocale": "en-US",
5
+ "deleteFile": false,
6
+ "description": "created via deploy",
7
+ "fieldMappingType": "InferFromColumnHeadings",
8
+ "fieldMappings": [],
9
+ "fileNamingPattern": "blabla",
10
+ "fileTransferLocationTypeId": 0,
11
+ "fileType": "CSV",
12
+ "filter": "",
13
+ "hasColumnHeader": true,
14
+ "isOrderedImport": true,
15
+ "isSequential": true,
16
+ "maxFileAgeHours": 0,
17
+ "maxFileAgeScheduleOffsetHours": 0,
18
+ "maxImportFrequencyHours": 0,
19
+ "name": "testNew_importFile",
20
+ "sendEmailNotification": false,
21
+ "standardQuotedStrings": true,
22
+ "fileTransferLocationId": "41a5ded7-0d98-4910-a15f-d09e7ab0af24",
23
+ "destinationObjectId": "21711373-72c1-ec11-b83b-48df37d1deb7",
24
+ "destinationObjectTypeId": 310,
25
+ "subscriberImportTypeId": 255,
26
+ "updateTypeId": 0,
27
+ "createdDate": "2022-11-09T05:53:03.243",
28
+ "destinationId": 0,
29
+ "modifiedDate": "2023-07-18T09:11:26.19"
30
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "queryDefinitionId": "549f0568-607c-4940-afef-437965094dat_fixKeys",
3
+ "name": "testExisting_query_fixedKeys",
4
+ "key": "testExisting_query_fixKeys",
5
+ "description": "bla bla",
6
+ "queryText": "SELECT\n SubscriberKey as testField\nFROM\n _Subscribers\nWHERE\n country IN ('test')\n",
7
+ "targetName": "testExisting_dataExtension",
8
+ "targetKey": "testExisting_dataExtension",
9
+ "targetId": "21711373-72c1-ec11-b83b-48df37d1deb7",
10
+ "targetDescription": "",
11
+ "createdDate": "2022-04-26T15:21:16.453",
12
+ "modifiedDate": "2022-04-26T16:02:44.01",
13
+ "targetUpdateTypeId": 0,
14
+ "targetUpdateTypeName": "Overwrite",
15
+ "categoryId": 999,
16
+ "isFrozen": false
17
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "queryDefinitionId": "549f0568-607c-4940-afef-437965094dat_fixKeys",
3
+ "name": "testExisting_query_fixedKeys",
4
+ "key": "testExisting_query_fixedKeys",
5
+ "description": "updated on deploy",
6
+ "queryText": "SELECT\n SubscriberKey as testField\nFROM\n _Subscribers\nWHERE\n country IN ('test')\n",
7
+ "targetName": "testExisting_dataExtension",
8
+ "targetKey": "testExisting_dataExtension",
9
+ "targetId": "21711373-72c1-ec11-b83b-48df37d1deb7",
10
+ "targetDescription": "",
11
+ "createdDate": "2022-04-26T15:21:16.453",
12
+ "modifiedDate": "2022-04-26T16:04:15.88",
13
+ "targetUpdateTypeId": 0,
14
+ "targetUpdateTypeName": "Overwrite",
15
+ "validatedQueryText": "SET NOCOUNT ON; SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;\r\n\r\nINSERT INTO C518001158.[testDataExtension] ([testField])\r\nSELECT querydef.[testField]\r\nFROM (SELECT SubscriberKey as testField FROM C518001158._Subscribers ) AS querydef \r\nSELECT @rcInsert = @@ROWCOUNT;;\r\n",
16
+ "categoryId": 999,
17
+ "isFrozen": false
18
+ }
@@ -1,5 +1,5 @@
1
1
  {
2
- "count": 2,
2
+ "count": 3,
3
3
  "page": 1,
4
4
  "pageSize": 50,
5
5
  "items": [
@@ -36,6 +36,23 @@
36
36
  "targetUpdateTypeName": "Overwrite",
37
37
  "categoryId": 999,
38
38
  "isFrozen": false
39
+ },
40
+ {
41
+ "queryDefinitionId": "549f0568-607c-4940-afef-437965094dat_fixKeys",
42
+ "name": "testExisting_query_fixedKeys",
43
+ "key": "testExisting_query_fixKeys",
44
+ "description": "bla bla",
45
+ "queryText": "SELECT\n SubscriberKey as testField\nFROM\n _Subscribers\nWHERE\n country IN ('test')\n",
46
+ "targetName": "testExisting_dataExtension",
47
+ "targetKey": "testExisting_dataExtension",
48
+ "targetId": "21711373-72c1-ec11-b83b-48df37d1deb7",
49
+ "targetDescription": "",
50
+ "createdDate": "2022-04-26T15:21:16.453",
51
+ "modifiedDate": "2022-04-26T16:02:44.01",
52
+ "targetUpdateTypeId": 0,
53
+ "targetUpdateTypeName": "Overwrite",
54
+ "categoryId": 999,
55
+ "isFrozen": false
39
56
  }
40
57
  ]
41
58
  }
@@ -0,0 +1,10 @@
1
+ {
2
+ "ssjsActivityId": "39f6a488-20eb-4ba0-b0b9-023725b574e4",
3
+ "name": "testExisting_script",
4
+ "key": "testExisting_script",
5
+ "description": "updated on deploy",
6
+ "script": "<script runat=\"server\">\n// dummy updated\n</script>",
7
+ "categoryId": 304,
8
+ "createdDate": "2022-10-20T00:41:26.163",
9
+ "modifiedDate": "2022-10-20T00:41:26.163"
10
+ }
@@ -8,8 +8,18 @@
8
8
  "name": "testExisting_script",
9
9
  "key": "testExisting_script",
10
10
  "description": "",
11
- "script": "<script runat=\"server\">\n//dummy\n</script",
12
- "categoryId": 290828,
11
+ "script": "<script runat=\"server\">\n//dummy\n</script>",
12
+ "categoryId": 304,
13
+ "createdDate": "2022-10-20T00:41:26.163",
14
+ "modifiedDate": "2022-10-20T00:41:26.163"
15
+ },
16
+ {
17
+ "ssjsActivityId": "39f6a488-20eb-4ba0-b0b9-noScriptTag",
18
+ "name": "testExisting_script_noScriptTag",
19
+ "key": "testExisting_script_noScriptTag",
20
+ "description": "",
21
+ "script": "// no script tag\n",
22
+ "categoryId": 304,
13
23
  "createdDate": "2022-10-20T00:41:26.163",
14
24
  "modifiedDate": "2022-10-20T00:41:26.163"
15
25
  }
@@ -0,0 +1,10 @@
1
+ {
2
+ "ssjsActivityId": "39f6a488-20eb-4ba0-b0b9-new",
3
+ "name": "testNew_script",
4
+ "key": "testNew_script",
5
+ "description": "created on deploy",
6
+ "script": "<script runat=\"server\">\n// dummy created\n</script>",
7
+ "categoryId": 304,
8
+ "createdDate": "2022-10-20T00:41:26.163",
9
+ "modifiedDate": "2022-10-20T00:41:26.163"
10
+ }
@@ -44,6 +44,22 @@
44
44
  "IsRequired": true,
45
45
  "IsPrimaryKey": true,
46
46
  "FieldType": "Text"
47
+ },
48
+ {
49
+ "Name": "decimalField",
50
+ "DefaultValue": "",
51
+ "MaxLength": 6,
52
+ "Scale": 3,
53
+ "IsPrimaryKey": false,
54
+ "IsRequired": true,
55
+ "FieldType": "Decimal"
56
+ },
57
+ {
58
+ "Name": "numberField",
59
+ "DefaultValue": "",
60
+ "IsPrimaryKey": false,
61
+ "IsRequired": true,
62
+ "FieldType": "Number"
47
63
  }
48
64
  ],
49
65
  "r__folder_ContentType": "dataextension",
@@ -0,0 +1,42 @@
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>DeleteResponse</wsa:Action>
10
+ <wsa:MessageID>urn:uuid:cbcad7ed-d768-4dbd-b2b9-230cc05dca1b</wsa:MessageID>
11
+ <wsa:RelatesTo>urn:uuid:545315fb-1e5b-4b6b-a17a-da1fcac3524f</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-cd8b5c6b-0bc1-45e1-8df0-4c61bf120d0e">
15
+ <wsu:Created>2023-08-11T12:34:31Z</wsu:Created>
16
+ <wsu:Expires>2023-08-11T12:39:31Z</wsu:Expires>
17
+ </wsu:Timestamp>
18
+ </wsse:Security>
19
+ </soap:Header>
20
+ <soap:Body>
21
+ <DeleteResponse xmlns="http://exacttarget.com/wsdl/partnerAPI">
22
+ <Results>
23
+ <StatusCode>OK</StatusCode>
24
+ <StatusMessage>Data Extension deleted. / Data Extension Fields deleted</StatusMessage>
25
+ <OrdinalID>0</OrdinalID>
26
+ <Object xsi:type="DataExtension">
27
+ <PartnerKey xsi:nil="true" />
28
+ <ObjectID>21711373-72c1-ec11-b83b-48df37d1deb7</ObjectID>
29
+ <CustomerKey>testExisting_dataExtension</CustomerKey>
30
+ <!-- <Fields>
31
+ <Field>
32
+ <PartnerKey xsi:nil="true" />
33
+ <ObjectID>d26f1b9c-fb30-4a91-9fe8-e2495cffbd74</ObjectID>
34
+ </Field>
35
+ </Fields> -->
36
+ </Object>
37
+ </Results>
38
+ <RequestID>5c0faaa8-81db-4530-8b47-c56432f68543</RequestID>
39
+ <OverallStatus>OK</OverallStatus>
40
+ </DeleteResponse>
41
+ </soap:Body>
42
+ </soap:Envelope>
@@ -0,0 +1,52 @@
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:c198cc12-c34c-4d1d-90b0-5b785a342efc</wsa:MessageID>
11
+ <wsa:RelatesTo>urn:uuid:a0506b59-1847-4405-8231-6a15e26bbcc9</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-52fe9187-6f22-4701-bd57-d0eaa4aef215">
15
+ <wsu:Created>2022-04-21T19:21:50Z</wsu:Created>
16
+ <wsu:Expires>2022-04-21T19:26:50Z</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>d175de6e-c8e4-4f5d-9c1d-ad64426ff4b7</RequestID>
24
+ <Results xsi:type="DataExtension">
25
+ <PartnerKey xsi:nil="true" />
26
+ <CreatedDate>2022-04-21T06:56:27.927</CreatedDate>
27
+ <ModifiedDate>2022-04-21T06:56:27.927</ModifiedDate>
28
+ <ObjectID>21711373-72c1-ec11-b83b-48df37d1deb7</ObjectID>
29
+ <CustomerKey>testExisting_dataExtension</CustomerKey>
30
+ <Name>testExisting_dataExtension</Name>
31
+ <Description>bla bla</Description>
32
+ <IsSendable>true</IsSendable>
33
+ <IsTestable>true</IsTestable>
34
+ <SendableDataExtensionField>
35
+ <PartnerKey xsi:nil="true" />
36
+ <ObjectID xsi:nil="true" />
37
+ <Name>ContactKey</Name>
38
+ </SendableDataExtensionField>
39
+ <SendableSubscriberField>
40
+ <Name>_SubscriberKey</Name>
41
+ </SendableSubscriberField>
42
+ <DataRetentionPeriodLength>6</DataRetentionPeriodLength>
43
+ <DataRetentionPeriodUnitOfMeasure>5</DataRetentionPeriodUnitOfMeasure>
44
+ <RowBasedRetention>true</RowBasedRetention>
45
+ <ResetRetentionPeriodOnImport>false</ResetRetentionPeriodOnImport>
46
+ <DeleteAtEndOfRetentionPeriod>false</DeleteAtEndOfRetentionPeriod>
47
+ <RetainUntil />
48
+ <CategoryID>2</CategoryID>
49
+ </Results>
50
+ </RetrieveResponseMsg>
51
+ </soap:Body>
52
+ </soap:Envelope>
@@ -44,6 +44,22 @@
44
44
  "IsRequired": true,
45
45
  "IsPrimaryKey": true,
46
46
  "FieldType": "Text"
47
+ },
48
+ {
49
+ "Name": "decimalField",
50
+ "DefaultValue": "",
51
+ "MaxLength": 6,
52
+ "Scale": 3,
53
+ "IsPrimaryKey": false,
54
+ "IsRequired": true,
55
+ "FieldType": "Decimal"
56
+ },
57
+ {
58
+ "Name": "numberField",
59
+ "DefaultValue": "",
60
+ "IsPrimaryKey": false,
61
+ "IsRequired": true,
62
+ "FieldType": "Number"
47
63
  }
48
64
  ],
49
65
  "r__folder_ContentType": "dataextension",
@@ -4,7 +4,7 @@
4
4
 
5
5
  **Folder:** Data Extensions/
6
6
 
7
- **Fields in table:** 4
7
+ **Fields in table:** 6
8
8
 
9
9
  **Sendable:** Yes (`ContactKey` to `Subscriber Key`)
10
10
 
@@ -16,3 +16,5 @@
16
16
  | LastName | Text | 50 | - | + | |
17
17
  | EmailAddress | EmailAddress | 254 | - | - | |
18
18
  | ContactKey | Text | 50 | + | - | |
19
+ | decimalField | Decimal | 6,3 | - | - | |
20
+ | numberField | Number | | - | - | |
@@ -44,6 +44,22 @@
44
44
  "IsRequired": true,
45
45
  "IsPrimaryKey": true,
46
46
  "FieldType": "Text"
47
+ },
48
+ {
49
+ "Name": "decimalField",
50
+ "DefaultValue": "",
51
+ "MaxLength": 6,
52
+ "Scale": 3,
53
+ "IsPrimaryKey": false,
54
+ "IsRequired": true,
55
+ "FieldType": "Decimal"
56
+ },
57
+ {
58
+ "Name": "numberField",
59
+ "DefaultValue": "",
60
+ "IsPrimaryKey": false,
61
+ "IsRequired": true,
62
+ "FieldType": "Number"
47
63
  }
48
64
  ],
49
65
  "r__folder_ContentType": "dataextension",
@@ -26,7 +26,7 @@
26
26
  "FieldType": "Text"
27
27
  },
28
28
  {
29
- "Name": "EmailAddress",
29
+ "Name": "Email",
30
30
  "DefaultValue": "",
31
31
  "MaxLength": 254,
32
32
  "IsRequired": true,
@@ -41,6 +41,22 @@
41
41
  "IsPrimaryKey": true,
42
42
  "FieldType": "Text"
43
43
  },
44
+ {
45
+ "Name": "decimalField",
46
+ "DefaultValue": "",
47
+ "MaxLength": 6,
48
+ "Scale": 3,
49
+ "IsPrimaryKey": false,
50
+ "IsRequired": true,
51
+ "FieldType": "Decimal"
52
+ },
53
+ {
54
+ "Name": "numberField",
55
+ "DefaultValue": "",
56
+ "IsPrimaryKey": false,
57
+ "IsRequired": true,
58
+ "FieldType": "Number"
59
+ },
44
60
  {
45
61
  "Name": "testField",
46
62
  "DefaultValue": "",
@@ -0,0 +1,44 @@
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:6d2f81c8-80ab-44d5-8664-206753e7ac8d</wsa:MessageID>
11
+ <wsa:RelatesTo>urn:uuid:a7354389-079e-4844-93b5-af6b7bf1d535</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-468a08b7-c8fd-44bf-a2c8-fd6063127ca6">
15
+ <wsu:Created>2022-04-21T19:21:52Z</wsu:Created>
16
+ <wsu:Expires>2022-04-21T19:26:52Z</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>cfe51e71-6a2b-4cb4-aecd-3777076d63bc</RequestID>
24
+ <Results xsi:type="DataExtensionField">
25
+ <PartnerKey xsi:nil="true" />
26
+ <ObjectID>bea0e308-5d45-4181-a673-da9972a7c674</ObjectID>
27
+ <CustomerKey>[testExisting_dataExtension].[LastName]</CustomerKey>
28
+ <Name>LastName</Name>
29
+ <Scale>0</Scale>
30
+ <DefaultValue />
31
+ <MaxLength>50</MaxLength>
32
+ <IsRequired>false</IsRequired>
33
+ <Ordinal>1</Ordinal>
34
+ <IsPrimaryKey>false</IsPrimaryKey>
35
+ <FieldType>Text</FieldType>
36
+ <DataExtension>
37
+ <PartnerKey xsi:nil="true" />
38
+ <ObjectID xsi:nil="true" />
39
+ <CustomerKey>testExisting_dataExtension</CustomerKey>
40
+ </DataExtension>
41
+ </Results>
42
+ </RetrieveResponseMsg>
43
+ </soap:Body>
44
+ </soap:Envelope>