mcdev 9.0.2 → 10.0.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 (1041) hide show
  1. package/@types/lib/Builder.d.ts +13 -14
  2. package/@types/lib/Builder.d.ts.map +1 -1
  3. package/@types/lib/Deployer.d.ts +16 -17
  4. package/@types/lib/Deployer.d.ts.map +1 -1
  5. package/@types/lib/MetadataTypeDefinitions.d.ts +4 -0
  6. package/@types/lib/MetadataTypeDefinitions.d.ts.map +1 -1
  7. package/@types/lib/MetadataTypeInfo.d.ts +4 -0
  8. package/@types/lib/MetadataTypeInfo.d.ts.map +1 -1
  9. package/@types/lib/Retriever.d.ts +16 -21
  10. package/@types/lib/Retriever.d.ts.map +1 -1
  11. package/@types/lib/cli.d.ts.map +1 -1
  12. package/@types/lib/index.d.ts +64 -36
  13. package/@types/lib/index.d.ts.map +1 -1
  14. package/@types/lib/metadataTypes/Asset.d.ts +159 -84
  15. package/@types/lib/metadataTypes/Asset.d.ts.map +1 -1
  16. package/@types/lib/metadataTypes/AttributeGroup.d.ts.map +1 -1
  17. package/@types/lib/metadataTypes/Automation.d.ts +2 -12
  18. package/@types/lib/metadataTypes/Automation.d.ts.map +1 -1
  19. package/@types/lib/metadataTypes/Campaign.d.ts +1 -0
  20. package/@types/lib/metadataTypes/Campaign.d.ts.map +1 -1
  21. package/@types/lib/metadataTypes/DataExtension.d.ts +4 -24
  22. package/@types/lib/metadataTypes/DataExtension.d.ts.map +1 -1
  23. package/@types/lib/metadataTypes/DataExtensionField.d.ts +25 -0
  24. package/@types/lib/metadataTypes/DataExtensionField.d.ts.map +1 -1
  25. package/@types/lib/metadataTypes/DataExtract.d.ts +1 -10
  26. package/@types/lib/metadataTypes/DataExtract.d.ts.map +1 -1
  27. package/@types/lib/metadataTypes/DataFilter.d.ts +6 -19
  28. package/@types/lib/metadataTypes/DataFilter.d.ts.map +1 -1
  29. package/@types/lib/metadataTypes/DeliveryProfile.d.ts.map +1 -1
  30. package/@types/lib/metadataTypes/DomainVerification.d.ts +1 -0
  31. package/@types/lib/metadataTypes/DomainVerification.d.ts.map +1 -1
  32. package/@types/lib/metadataTypes/Email.d.ts +0 -2
  33. package/@types/lib/metadataTypes/Email.d.ts.map +1 -1
  34. package/@types/lib/metadataTypes/Event.d.ts +6 -16
  35. package/@types/lib/metadataTypes/Event.d.ts.map +1 -1
  36. package/@types/lib/metadataTypes/FileLocation.d.ts.map +1 -1
  37. package/@types/lib/metadataTypes/FileTransfer.d.ts +1 -10
  38. package/@types/lib/metadataTypes/FileTransfer.d.ts.map +1 -1
  39. package/@types/lib/metadataTypes/Filter.d.ts +1 -1
  40. package/@types/lib/metadataTypes/Folder.d.ts +4 -4
  41. package/@types/lib/metadataTypes/Folder.d.ts.map +1 -1
  42. package/@types/lib/metadataTypes/ImportFile.d.ts +2 -12
  43. package/@types/lib/metadataTypes/ImportFile.d.ts.map +1 -1
  44. package/@types/lib/metadataTypes/Journey.d.ts +4 -4
  45. package/@types/lib/metadataTypes/Journey.d.ts.map +1 -1
  46. package/@types/lib/metadataTypes/List.d.ts +1 -1
  47. package/@types/lib/metadataTypes/MetadataType.d.ts +33 -36
  48. package/@types/lib/metadataTypes/MetadataType.d.ts.map +1 -1
  49. package/@types/lib/metadataTypes/MobileApplication.d.ts +189 -0
  50. package/@types/lib/metadataTypes/MobileApplication.d.ts.map +1 -0
  51. package/@types/lib/metadataTypes/MobileCode.d.ts.map +1 -1
  52. package/@types/lib/metadataTypes/MobileKeyword.d.ts +1 -11
  53. package/@types/lib/metadataTypes/MobileKeyword.d.ts.map +1 -1
  54. package/@types/lib/metadataTypes/MobileMessage.d.ts +23 -1
  55. package/@types/lib/metadataTypes/MobileMessage.d.ts.map +1 -1
  56. package/@types/lib/metadataTypes/MobilePush.d.ts +407 -0
  57. package/@types/lib/metadataTypes/MobilePush.d.ts.map +1 -0
  58. package/@types/lib/metadataTypes/MobilePushApp.d.ts +189 -0
  59. package/@types/lib/metadataTypes/MobilePushApp.d.ts.map +1 -0
  60. package/@types/lib/metadataTypes/Query.d.ts +1 -13
  61. package/@types/lib/metadataTypes/Query.d.ts.map +1 -1
  62. package/@types/lib/metadataTypes/Script.d.ts +1 -13
  63. package/@types/lib/metadataTypes/Script.d.ts.map +1 -1
  64. package/@types/lib/metadataTypes/SenderProfile.d.ts +7 -2
  65. package/@types/lib/metadataTypes/SenderProfile.d.ts.map +1 -1
  66. package/@types/lib/metadataTypes/User.d.ts.map +1 -1
  67. package/@types/lib/metadataTypes/definitions/Asset.definition.d.ts +51 -41
  68. package/@types/lib/metadataTypes/definitions/Campaign.definition.d.ts +1 -0
  69. package/@types/lib/metadataTypes/definitions/DataExtract.definition.d.ts +1 -0
  70. package/@types/lib/metadataTypes/definitions/DomainVerification.definition.d.ts +1 -0
  71. package/@types/lib/metadataTypes/definitions/FileTransfer.definition.d.ts +1 -0
  72. package/@types/lib/metadataTypes/definitions/Filter.definition.d.ts +1 -1
  73. package/@types/lib/metadataTypes/definitions/Journey.definition.d.ts +2 -0
  74. package/@types/lib/metadataTypes/definitions/MobileApplication.definition.d.ts +122 -0
  75. package/@types/lib/metadataTypes/definitions/MobileApplication.definition.d.ts.map +1 -0
  76. package/@types/lib/metadataTypes/definitions/MobileMessage.definition.d.ts +6 -0
  77. package/@types/lib/metadataTypes/definitions/MobilePush.definition.d.ts +467 -0
  78. package/@types/lib/metadataTypes/definitions/MobilePush.definition.d.ts.map +1 -0
  79. package/@types/lib/metadataTypes/definitions/MobilePushApp.definition.d.ts +122 -0
  80. package/@types/lib/metadataTypes/definitions/MobilePushApp.definition.d.ts.map +1 -0
  81. package/@types/lib/metadataTypes/definitions/Query.definition.d.ts +1 -0
  82. package/@types/lib/metadataTypes/definitions/Script.definition.d.ts +1 -0
  83. package/@types/lib/util/auth.d.ts +30 -23
  84. package/@types/lib/util/auth.d.ts.map +1 -1
  85. package/@types/lib/util/cache.d.ts.map +1 -1
  86. package/@types/lib/util/cli.d.ts.map +1 -1
  87. package/@types/lib/util/config.d.ts.map +1 -1
  88. package/@types/lib/util/devops.d.ts +9 -0
  89. package/@types/lib/util/devops.d.ts.map +1 -1
  90. package/@types/lib/util/file.d.ts +32 -18
  91. package/@types/lib/util/file.d.ts.map +1 -1
  92. package/@types/lib/util/git.d.ts +155 -0
  93. package/@types/lib/util/git.d.ts.map +1 -0
  94. package/@types/lib/util/init.config.d.ts +30 -14
  95. package/@types/lib/util/init.config.d.ts.map +1 -1
  96. package/@types/lib/util/init.d.ts.map +1 -1
  97. package/@types/lib/util/init.git.d.ts +10 -0
  98. package/@types/lib/util/init.git.d.ts.map +1 -1
  99. package/@types/lib/util/init.npm.d.ts +9 -14
  100. package/@types/lib/util/init.npm.d.ts.map +1 -1
  101. package/@types/lib/util/isDeepEqual.d.ts +9 -0
  102. package/@types/lib/util/isDeepEqual.d.ts.map +1 -0
  103. package/@types/lib/util/jsonToTable.d.ts +9 -0
  104. package/@types/lib/util/jsonToTable.d.ts.map +1 -0
  105. package/@types/lib/util/migrations/assetV10.d.ts +70 -0
  106. package/@types/lib/util/migrations/assetV10.d.ts.map +1 -0
  107. package/@types/lib/util/progress.d.ts +249 -0
  108. package/@types/lib/util/progress.d.ts.map +1 -0
  109. package/@types/lib/util/sessionStore.d.ts +25 -0
  110. package/@types/lib/util/sessionStore.d.ts.map +1 -0
  111. package/@types/lib/util/topological-sort.d.ts +22 -0
  112. package/@types/lib/util/topological-sort.d.ts.map +1 -0
  113. package/@types/lib/util/util.d.ts +124 -83
  114. package/@types/lib/util/util.d.ts.map +1 -1
  115. package/@types/lib/util/validations.d.ts +15 -3
  116. package/@types/lib/util/validations.d.ts.map +1 -1
  117. package/@types/types/mcdev.d.d.ts +35 -22
  118. package/@types/types/mcdev.d.d.ts.map +1 -1
  119. package/README.md +6 -2
  120. package/boilerplate/files/.prettierignore +7 -0
  121. package/boilerplate/files/.prettierrc +1 -23
  122. package/boilerplate/files/.vscode/extensions.json +14 -13
  123. package/boilerplate/files/.vscode/settings.json +14 -8
  124. package/boilerplate/files/eslint.config.js +44 -175
  125. package/boilerplate/forcedUpdates.json +11 -0
  126. package/boilerplate/npm-dependencies.json +3 -5
  127. package/boilerplate/npmrc-template +1 -0
  128. package/lib/Builder.js +4 -12
  129. package/lib/Deployer.js +32 -29
  130. package/lib/MetadataTypeDefinitions.js +4 -0
  131. package/lib/MetadataTypeInfo.js +4 -0
  132. package/lib/Retriever.js +8 -32
  133. package/lib/cli.js +101 -82
  134. package/lib/index.js +225 -166
  135. package/lib/metadataTypes/Asset.js +958 -307
  136. package/lib/metadataTypes/AttributeGroup.js +1 -6
  137. package/lib/metadataTypes/AttributeSet.js +1 -1
  138. package/lib/metadataTypes/Automation.js +95 -162
  139. package/lib/metadataTypes/Campaign.js +1 -6
  140. package/lib/metadataTypes/DataExtension.js +92 -132
  141. package/lib/metadataTypes/DataExtensionField.js +115 -1
  142. package/lib/metadataTypes/DataExtract.js +1 -56
  143. package/lib/metadataTypes/DataExtractType.js +1 -1
  144. package/lib/metadataTypes/DataFilter.js +23 -9
  145. package/lib/metadataTypes/DeliveryProfile.js +1 -6
  146. package/lib/metadataTypes/DomainVerification.js +1 -1
  147. package/lib/metadataTypes/Email.js +2 -4
  148. package/lib/metadataTypes/Event.js +7 -66
  149. package/lib/metadataTypes/FileLocation.js +1 -7
  150. package/lib/metadataTypes/FileTransfer.js +1 -56
  151. package/lib/metadataTypes/Filter.js +1 -1
  152. package/lib/metadataTypes/Folder.js +9 -9
  153. package/lib/metadataTypes/ImportFile.js +4 -59
  154. package/lib/metadataTypes/Journey.js +408 -168
  155. package/lib/metadataTypes/MetadataType.js +180 -182
  156. package/lib/metadataTypes/MobileCode.js +0 -1
  157. package/lib/metadataTypes/MobileKeyword.js +6 -39
  158. package/lib/metadataTypes/MobileMessage.js +111 -13
  159. package/lib/metadataTypes/MobilePush.js +456 -0
  160. package/lib/metadataTypes/MobilePushApp.js +118 -0
  161. package/lib/metadataTypes/Query.js +11 -37
  162. package/lib/metadataTypes/Script.js +1 -20
  163. package/lib/metadataTypes/SenderProfile.js +27 -23
  164. package/lib/metadataTypes/TransactionalMessage.js +1 -1
  165. package/lib/metadataTypes/TransactionalSMS.js +1 -1
  166. package/lib/metadataTypes/TriggeredSend.js +1 -1
  167. package/lib/metadataTypes/User.js +27 -23
  168. package/lib/metadataTypes/Verification.js +2 -2
  169. package/lib/metadataTypes/definitions/Asset.definition.js +94 -61
  170. package/lib/metadataTypes/definitions/Campaign.definition.js +1 -0
  171. package/lib/metadataTypes/definitions/DataExtract.definition.js +1 -0
  172. package/lib/metadataTypes/definitions/DomainVerification.definition.js +1 -0
  173. package/lib/metadataTypes/definitions/EmailSend.definition.js +2 -2
  174. package/lib/metadataTypes/definitions/FileTransfer.definition.js +1 -0
  175. package/lib/metadataTypes/definitions/Filter.definition.js +2 -3
  176. package/lib/metadataTypes/definitions/Journey.definition.js +7 -3
  177. package/lib/metadataTypes/definitions/MobileMessage.definition.js +6 -0
  178. package/lib/metadataTypes/definitions/MobilePush.definition.js +308 -0
  179. package/lib/metadataTypes/definitions/MobilePushApp.definition.js +121 -0
  180. package/lib/metadataTypes/definitions/Query.definition.js +1 -0
  181. package/lib/metadataTypes/definitions/Script.definition.js +1 -0
  182. package/lib/metadataTypes/definitions/TransactionalEmail.definition.js +1 -1
  183. package/lib/metadataTypes/definitions/TransactionalPush.definition.js +1 -1
  184. package/lib/metadataTypes/definitions/TriggeredSend.definition.js +2 -2
  185. package/lib/retrieveChangelog.js +28 -26
  186. package/lib/util/auth.js +127 -83
  187. package/lib/util/businessUnit.js +1 -1
  188. package/lib/util/cache.js +4 -6
  189. package/lib/util/cli.js +19 -19
  190. package/lib/util/config.js +22 -21
  191. package/lib/util/devops.js +162 -77
  192. package/lib/util/file.js +213 -199
  193. package/lib/util/git.js +278 -0
  194. package/lib/util/init.config.js +149 -169
  195. package/lib/util/init.git.js +37 -13
  196. package/lib/util/init.js +24 -15
  197. package/lib/util/init.npm.js +103 -120
  198. package/lib/util/isDeepEqual.js +48 -0
  199. package/lib/util/jsonToTable.js +76 -0
  200. package/lib/util/migrations/assetV10.js +367 -0
  201. package/lib/util/progress.js +609 -0
  202. package/lib/util/sessionStore.js +219 -0
  203. package/lib/util/topological-sort.js +114 -0
  204. package/lib/util/util.js +203 -118
  205. package/lib/util/validations.js +17 -11
  206. package/package.json +121 -126
  207. package/scripts/verify-packed-package.mjs +90 -0
  208. package/scripts/verify-progress-fixture.mjs +362 -0
  209. package/types/init-declarations.type-test.js +10 -0
  210. package/types/mcdev.d.js +18 -12
  211. package/.beautyamp.json +0 -13
  212. package/.bitbucket/PULL_REQUEST_TEMPLATE.md +0 -19
  213. package/.coverage-comment-template.svelte +0 -194
  214. package/.editorconfig +0 -9
  215. package/.fork/.prettierrc +0 -6
  216. package/.fork/custom-commands.json +0 -140
  217. package/.gitattributes +0 -7
  218. package/.github/ISSUE_TEMPLATE/bug.yml +0 -149
  219. package/.github/ISSUE_TEMPLATE/feature_request.md +0 -20
  220. package/.github/ISSUE_TEMPLATE/task.md +0 -10
  221. package/.github/PULL_REQUEST_TEMPLATE/pr_template_release.md +0 -28
  222. package/.github/PULL_REQUEST_TEMPLATE.md +0 -16
  223. package/.github/dependabot.yml +0 -23
  224. package/.github/pr-labeler.yml +0 -3
  225. package/.github/workflows/close_issues_on_merge.yml +0 -23
  226. package/.github/workflows/code-test.yml +0 -41
  227. package/.github/workflows/coverage-base-update.yml +0 -61
  228. package/.github/workflows/coverage-develop-branch.yml +0 -42
  229. package/.github/workflows/coverage-main-branch.yml +0 -42
  230. package/.github/workflows/coverage.yml +0 -82
  231. package/.github/workflows/npm-publish.yml +0 -36
  232. package/.github/workflows/pr-labeler.yml +0 -19
  233. package/.husky/commit-msg +0 -8
  234. package/.husky/post-checkout +0 -38
  235. package/.husky/post-merge +0 -24
  236. package/.husky/pre-commit +0 -8
  237. package/.issuetracker +0 -15
  238. package/.markdownlint.json +0 -16
  239. package/.markdownlint.md +0 -4
  240. package/.nycrc.json +0 -5
  241. package/.prettierignore +0 -3
  242. package/.prettierrc +0 -33
  243. package/.vscode/extensions.json +0 -28
  244. package/.vscode/launch.json +0 -15
  245. package/.vscode/settings.json +0 -92
  246. package/.vsls.json +0 -6
  247. package/CONTRIBUTING.md +0 -22
  248. package/boilerplate/files/.beautyamp.json +0 -13
  249. package/docs/dist/considerations.md +0 -66
  250. package/eslint.config.js +0 -144
  251. package/img/README.md/cdp-1.jpg +0 -0
  252. package/img/README.md/troubleshoot-authentication.jpg +0 -0
  253. package/img/README.md/troubleshoot-execution_policy-2.png +0 -0
  254. package/img/README.md/troubleshoot-execution_policy.jpg +0 -0
  255. package/img/README.md/troubleshoot-mac-sudo.png +0 -0
  256. package/img/README.md/troubleshoot-nodejs-index.jpg +0 -0
  257. package/img/README.md/troubleshoot-nodejs-permission.jpg +0 -0
  258. package/img/README.md/troubleshoot-ssh.jpg +0 -0
  259. package/img/README.md/vscode-eslint-allow_everywhere.jpg +0 -0
  260. package/img/README.md/vscode-recommendations-1.png +0 -0
  261. package/img/README.md/vscode-recommendations-2.png +0 -0
  262. package/prepare-release.js +0 -37
  263. package/test/general.test.js +0 -2709
  264. package/test/mockRoot/.mcdev-auth.json +0 -8
  265. package/test/mockRoot/.mcdev-validations.js +0 -93
  266. package/test/mockRoot/.mcdevrc.json +0 -182
  267. package/test/mockRoot/deploy/testInstance/_ParentBU_/dataExtension/testExisting_dataExtensionShared.dataExtension-meta.json +0 -58
  268. package/test/mockRoot/deploy/testInstance/_ParentBU_/dataExtension/testNew_dataExtensionShared.dataExtension-meta.json +0 -20
  269. package/test/mockRoot/deploy/testInstance/_ParentBU_/query/testNew_query.query-meta.json +0 -11
  270. package/test/mockRoot/deploy/testInstance/_ParentBU_/query/testNew_query.query-meta.sql +0 -4
  271. package/test/mockRoot/deploy/testInstance/_ParentBU_/user/testBlocked_user.user-meta.json +0 -23
  272. package/test/mockRoot/deploy/testInstance/_ParentBU_/user/testExisting_user.user-meta.json +0 -31
  273. package/test/mockRoot/deploy/testInstance/_ParentBU_/user/testNew_user.user-meta.json +0 -27
  274. package/test/mockRoot/deploy/testInstance/testBU/asset/block/testExisting_asset_html-matchNamFail.asset-block-meta.html +0 -23
  275. package/test/mockRoot/deploy/testInstance/testBU/asset/block/testExisting_asset_html-matchNamFail.asset-block-meta.json +0 -41
  276. package/test/mockRoot/deploy/testInstance/testBU/asset/block/testExisting_asset_html-matchName.asset-block-meta.html +0 -23
  277. package/test/mockRoot/deploy/testInstance/testBU/asset/block/testExisting_asset_html-matchName.asset-block-meta.json +0 -41
  278. package/test/mockRoot/deploy/testInstance/testBU/asset/block/testExisting_asset_html-matchNameAdd.asset-block-meta.html +0 -23
  279. package/test/mockRoot/deploy/testInstance/testBU/asset/block/testExisting_asset_html-matchNameAdd.asset-block-meta.json +0 -41
  280. package/test/mockRoot/deploy/testInstance/testBU/asset/block/testNew_asset.asset-block-meta.html +0 -12
  281. package/test/mockRoot/deploy/testInstance/testBU/asset/block/testNew_asset.asset-block-meta.json +0 -39
  282. package/test/mockRoot/deploy/testInstance/testBU/asset/block/testNew_asset_htmlblock.asset-block-meta.html +0 -1
  283. package/test/mockRoot/deploy/testInstance/testBU/asset/block/testNew_asset_htmlblock.asset-block-meta.json +0 -39
  284. package/test/mockRoot/deploy/testInstance/testBU/asset/block/testNew_asset_withCBBK_notexisting.asset-block-meta.html +0 -4
  285. package/test/mockRoot/deploy/testInstance/testBU/asset/block/testNew_asset_withCBBK_notexisting.asset-block-meta.json +0 -39
  286. package/test/mockRoot/deploy/testInstance/testBU/asset/block/testNew_asset_withCBBK_preexisting.asset-block-meta.html +0 -4
  287. package/test/mockRoot/deploy/testInstance/testBU/asset/block/testNew_asset_withCBBK_preexisting.asset-block-meta.json +0 -39
  288. package/test/mockRoot/deploy/testInstance/testBU/asset/block/test_slash.asset-block-meta.html +0 -12
  289. package/test/mockRoot/deploy/testInstance/testBU/asset/block/test_slash.asset-block-meta.json +0 -29
  290. package/test/mockRoot/deploy/testInstance/testBU/asset/message/testNew_assetMessage/testNew_assetMessage.asset-message-meta.json +0 -435
  291. package/test/mockRoot/deploy/testInstance/testBU/asset/message/testNew_assetMessage/views.html.content.asset-message-meta.html +0 -150
  292. package/test/mockRoot/deploy/testInstance/testBU/asset/message/testNew_asset_templatebasedemail/testNew_asset_templatebasedemail.asset-message-meta.json +0 -305
  293. package/test/mockRoot/deploy/testInstance/testBU/asset/message/testNew_asset_templatebasedemail/views.html.content.asset-message-meta.html +0 -150
  294. package/test/mockRoot/deploy/testInstance/testBU/asset/template/testNew_asset_template/content.asset-template-meta.html +0 -150
  295. package/test/mockRoot/deploy/testInstance/testBU/asset/template/testNew_asset_template/testNew_asset_template.asset-template-meta.json +0 -116
  296. package/test/mockRoot/deploy/testInstance/testBU/automation/testExisting_automation.automation-meta.json +0 -52
  297. package/test/mockRoot/deploy/testInstance/testBU/automation/testNew_automation.automation-meta.json +0 -49
  298. package/test/mockRoot/deploy/testInstance/testBU/dataExtension/testExisting_dataExtension.dataExtension-meta.json +0 -59
  299. package/test/mockRoot/deploy/testInstance/testBU/dataExtension/testNew_dataExtension.dataExtension-meta.json +0 -20
  300. package/test/mockRoot/deploy/testInstance/testBU/dataExtract/testExisting_dataExtract.dataExtract-meta.json +0 -35
  301. package/test/mockRoot/deploy/testInstance/testBU/dataExtract/testNew_dataExtract.dataExtract-meta.json +0 -35
  302. package/test/mockRoot/deploy/testInstance/testBU/dataFilter/testExisting_dataFilter.dataFilter-meta.json +0 -19
  303. package/test/mockRoot/deploy/testInstance/testBU/dataFilter/testNew_dataFilter.dataFilter-meta.json +0 -19
  304. package/test/mockRoot/deploy/testInstance/testBU/domainVerification/joern.berkefeld.New@accenture.com.domainVerification-meta.json +0 -6
  305. package/test/mockRoot/deploy/testInstance/testBU/domainVerification/joern.berkefeld@accenture.com.domainVerification-meta.json +0 -6
  306. package/test/mockRoot/deploy/testInstance/testBU/domainVerification/mcdev.accenture.com.domainVerification-meta.json +0 -6
  307. package/test/mockRoot/deploy/testInstance/testBU/emailSend/testExisting_emailSend.emailSend-meta.json +0 -36
  308. package/test/mockRoot/deploy/testInstance/testBU/emailSend/testNew_emailSend.emailSend-meta.json +0 -36
  309. package/test/mockRoot/deploy/testInstance/testBU/event/testExisting_event.event-meta.json +0 -201
  310. package/test/mockRoot/deploy/testInstance/testBU/event/testNew_event_withExistingDE.event-meta.json +0 -233
  311. package/test/mockRoot/deploy/testInstance/testBU/event/testNew_event_withSchema.event-meta.json +0 -194
  312. package/test/mockRoot/deploy/testInstance/testBU/fileLocation/ExactTarget Enhanced FTP.fileLocation-meta.json +0 -5
  313. package/test/mockRoot/deploy/testInstance/testBU/fileLocation/testExisting_fileLocation_aws.fileLocation-meta.json +0 -14
  314. package/test/mockRoot/deploy/testInstance/testBU/fileLocation/testExisting_fileLocation_exsftp.fileLocation-meta.json +0 -12
  315. package/test/mockRoot/deploy/testInstance/testBU/fileTransfer/testExisting_fileTransfer.fileTransfer-meta.json +0 -17
  316. package/test/mockRoot/deploy/testInstance/testBU/fileTransfer/testNew_fileTransfer.fileTransfer-meta.json +0 -17
  317. package/test/mockRoot/deploy/testInstance/testBU/filter/testExisting_filter.filter-meta.json +0 -10
  318. package/test/mockRoot/deploy/testInstance/testBU/filter/testNew_filter.filter-meta.json +0 -11
  319. package/test/mockRoot/deploy/testInstance/testBU/importFile/testExisting_importFile.importFile-meta.json +0 -36
  320. package/test/mockRoot/deploy/testInstance/testBU/importFile/testNew_importFile.importFile-meta.json +0 -34
  321. package/test/mockRoot/deploy/testInstance/testBU/journey/testExisting_journey_Multistep.journey-meta.json +0 -418
  322. package/test/mockRoot/deploy/testInstance/testBU/journey/testExisting_journey_Quicksend.journey-meta.json +0 -232
  323. package/test/mockRoot/deploy/testInstance/testBU/journey/testExisting_journey_updatecontact.journey-meta.json +0 -108
  324. package/test/mockRoot/deploy/testInstance/testBU/journey/testExisting_temail.journey-meta.json +0 -212
  325. package/test/mockRoot/deploy/testInstance/testBU/journey/testExisting_temail_notPublished.journey-meta.json +0 -217
  326. package/test/mockRoot/deploy/testInstance/testBU/journey/testNew_temail_notPublished.journey-meta.json +0 -213
  327. package/test/mockRoot/deploy/testInstance/testBU/mobileKeyword/4912312345678.TESTNEW_KEYWORD.mobileKeyword-meta.amp +0 -2
  328. package/test/mockRoot/deploy/testInstance/testBU/mobileKeyword/4912312345678.TESTNEW_KEYWORD.mobileKeyword-meta.json +0 -8
  329. package/test/mockRoot/deploy/testInstance/testBU/mobileKeyword/4912312345678.TESTNEW_KEYWORD_BLOCKED.mobileKeyword-meta.amp +0 -2
  330. package/test/mockRoot/deploy/testInstance/testBU/mobileKeyword/4912312345678.TESTNEW_KEYWORD_BLOCKED.mobileKeyword-meta.json +0 -8
  331. package/test/mockRoot/deploy/testInstance/testBU/mobileMessage/NTIzOjc4OjA.mobileMessage-meta.amp +0 -1
  332. package/test/mockRoot/deploy/testInstance/testBU/mobileMessage/NTIzOjc4OjA.mobileMessage-meta.json +0 -59
  333. package/test/mockRoot/deploy/testInstance/testBU/mobileMessage/new.mobileMessage-meta.amp +0 -1
  334. package/test/mockRoot/deploy/testInstance/testBU/mobileMessage/new.mobileMessage-meta.json +0 -58
  335. package/test/mockRoot/deploy/testInstance/testBU/query/testExisting_query.query-meta.json +0 -11
  336. package/test/mockRoot/deploy/testInstance/testBU/query/testExisting_query.query-meta.sql +0 -6
  337. package/test/mockRoot/deploy/testInstance/testBU/query/testExisting_query_fixKeys.query-meta.json +0 -11
  338. package/test/mockRoot/deploy/testInstance/testBU/query/testExisting_query_fixKeys.query-meta.sql +0 -6
  339. package/test/mockRoot/deploy/testInstance/testBU/query/testNew_query.query-meta.json +0 -11
  340. package/test/mockRoot/deploy/testInstance/testBU/query/testNew_query.query-meta.sql +0 -4
  341. package/test/mockRoot/deploy/testInstance/testBU/script/testExisting_script.script-meta.json +0 -6
  342. package/test/mockRoot/deploy/testInstance/testBU/script/testExisting_script.script-meta.ssjs +0 -1
  343. package/test/mockRoot/deploy/testInstance/testBU/script/testNew_script.script-meta.json +0 -6
  344. package/test/mockRoot/deploy/testInstance/testBU/script/testNew_script.script-meta.ssjs +0 -1
  345. package/test/mockRoot/deploy/testInstance/testBU/sendClassification/testExisting_sendClassification.sendClassification-meta.json +0 -8
  346. package/test/mockRoot/deploy/testInstance/testBU/sendClassification/testNew_sendClassification.sendClassification-meta.json +0 -8
  347. package/test/mockRoot/deploy/testInstance/testBU/senderProfile/testExisting_senderProfile.senderProfile-meta.json +0 -15
  348. package/test/mockRoot/deploy/testInstance/testBU/senderProfile/testNew_senderProfile.senderProfile-meta.json +0 -15
  349. package/test/mockRoot/deploy/testInstance/testBU/transactionalEmail/testExisting_temail.transactionalEmail-meta.json +0 -20
  350. package/test/mockRoot/deploy/testInstance/testBU/transactionalEmail/testNew_temail.transactionalEmail-meta.json +0 -19
  351. package/test/mockRoot/deploy/testInstance/testBU/transactionalPush/testExisting_tpush.transactionalPush-meta.json +0 -16
  352. package/test/mockRoot/deploy/testInstance/testBU/transactionalPush/testNew_tpush.transactionalPush-meta.json +0 -16
  353. package/test/mockRoot/deploy/testInstance/testBU/transactionalSMS/testExisting_tsms.transactionalSMS-meta.amp +0 -4
  354. package/test/mockRoot/deploy/testInstance/testBU/transactionalSMS/testExisting_tsms.transactionalSMS-meta.json +0 -14
  355. package/test/mockRoot/deploy/testInstance/testBU/transactionalSMS/testNew_tsms.transactionalSMS-meta.amp +0 -4
  356. package/test/mockRoot/deploy/testInstance/testBU/transactionalSMS/testNew_tsms.transactionalSMS-meta.json +0 -14
  357. package/test/mockRoot/deploy/testInstance/testBU/triggeredSend/testExisting_triggeredSend.triggeredSend-meta.json +0 -27
  358. package/test/mockRoot/deploy/testInstance/testBU/triggeredSend/testNew_triggeredSend.triggeredSend-meta.json +0 -27
  359. package/test/mockRoot/deploy/testInstance/testBU/verification/testExisting_automation__s1.7.verification-meta.json +0 -11
  360. package/test/mockRoot/deploy/testInstance/testBU/verification/testNew_automation__s1.7.verification-meta.json +0 -11
  361. package/test/resourceFactory.js +0 -494
  362. package/test/resources/1111111/accountUser/configure-response.xml +0 -70
  363. package/test/resources/1111111/accountUser/create-response.xml +0 -97
  364. package/test/resources/1111111/accountUser/retrieve-ActiveFlag=falseANDCustomerKey=testExisting_userANDEmaillike@-QAA-response.xml +0 -27
  365. package/test/resources/1111111/accountUser/retrieve-ActiveFlag=falseANDEmaillike@-QAA-response.xml +0 -156
  366. package/test/resources/1111111/accountUser/retrieve-ActiveFlag=trueANDCustomerKey=testExisting_userANDEmaillike@-QAA-response.xml +0 -156
  367. package/test/resources/1111111/accountUser/retrieve-ActiveFlag=trueANDEmailisNullORNamelikeapp userANDMustChangePassword=false-QAA-response.xml +0 -87
  368. package/test/resources/1111111/accountUser/retrieve-ActiveFlag=trueANDEmaillike@-QAA-response.xml +0 -156
  369. package/test/resources/1111111/accountUser/update-response.xml +0 -111
  370. package/test/resources/1111111/accountUserAccount/retrieve-AccountUser.AccountUserID=700301950-response.xml +0 -60
  371. package/test/resources/1111111/accountUserAccount/retrieve-AccountUser.AccountUserIDIN700301950,700301951,7471228-response.xml +0 -77
  372. package/test/resources/1111111/automation/v1/queries/get-response.json +0 -6
  373. package/test/resources/1111111/automation/v1/queries/post-response.json +0 -18
  374. package/test/resources/1111111/businessUnit/retrieve-ID=1111111-QAA-response.xml +0 -33
  375. package/test/resources/1111111/data/v1/customobjectdata/key/testExisting_dataExtensionShared/rowset/get-response.json +0 -13
  376. package/test/resources/1111111/dataExtension/create-expected.json +0 -20
  377. package/test/resources/1111111/dataExtension/create-response.xml +0 -59
  378. package/test/resources/1111111/dataExtension/retrieve-expected.json +0 -53
  379. package/test/resources/1111111/dataExtension/retrieve-expected.md +0 -23
  380. package/test/resources/1111111/dataExtension/retrieve-response.xml +0 -52
  381. package/test/resources/1111111/dataExtension/update-expected.json +0 -55
  382. package/test/resources/1111111/dataExtension/update-response.xml +0 -59
  383. package/test/resources/1111111/dataExtensionField/retrieve-CustomerKey=[testExisting_dataExtensionShared].[TriggerUpdate_randomNumber_]-response.xml +0 -45
  384. package/test/resources/1111111/dataExtensionField/retrieve-DataExtension.CustomerKey=testExisting_dataExtensionShared-response.xml +0 -98
  385. package/test/resources/1111111/dataExtensionField/retrieve-DataExtension.CustomerKey=testNew_dataExtensionSharedORDataExtension.CustomerKey=testExisting_dataExtensionShared-response.xml +0 -98
  386. package/test/resources/1111111/dataExtensionField/retrieve-response.xml +0 -98
  387. package/test/resources/1111111/dataExtensionTemplate/retrieve-response.xml +0 -303
  388. package/test/resources/1111111/dataFolder/retrieve-ContentType=queryactivity-response.xml +0 -48
  389. package/test/resources/1111111/dataFolder/retrieve-ContentTypeINdataextension,hidden,queryactivity,salesforcedataextension,shared_data,shared_dataextension,shared_salesforcedataextension,synchronizeddataextension-response.xml +0 -26
  390. package/test/resources/1111111/dataFolder/retrieve-ContentTypeINdataextension,hidden,salesforcedataextension,shared_data,shared_dataextension,shared_salesforcedataextension,synchronizeddataextension-response.xml +0 -387
  391. package/test/resources/1111111/dataFolder/retrieve-ContentTypeINshared_data,shared_dataextension,shared_salesforcedataextension,synchronizeddataextension-response.xml +0 -364
  392. package/test/resources/1111111/dataFolder/retrieve-response-.xml +0 -387
  393. package/test/resources/1111111/list/retrieve-CustomerKey=All SubscribersORListName=All Subscribers-response.xml +0 -39
  394. package/test/resources/1111111/platform/v1/setup/quickflow/data/get-response.json +0 -455
  395. package/test/resources/1111111/query/patch_keySuffix-expected.json +0 -11
  396. package/test/resources/1111111/query/patch_keySuffix-expected.sql +0 -4
  397. package/test/resources/1111111/role/retrieve-IsPrivate=false-response.xml +0 -76
  398. package/test/resources/1111111/user/build-expected.json +0 -16
  399. package/test/resources/1111111/user/create-expected.json +0 -21
  400. package/test/resources/1111111/user/retrieve-expected.json +0 -24
  401. package/test/resources/1111111/user/retrieve-expected.md +0 -21
  402. package/test/resources/1111111/user/template-expected.json +0 -16
  403. package/test/resources/1111111/user/update-expected.json +0 -21
  404. package/test/resources/9999999/accountUser/retrieve-response.xml +0 -104
  405. package/test/resources/9999999/asset/build-asset_htmlblock-expected.html +0 -23
  406. package/test/resources/9999999/asset/build-asset_htmlblock-expected.json +0 -29
  407. package/test/resources/9999999/asset/build-templatebasedemail-expected.json +0 -145
  408. package/test/resources/9999999/asset/build-templatebasedemail-html-expected.html +0 -20
  409. package/test/resources/9999999/asset/build-templatebasedemail-preheader-expected.amp +0 -1
  410. package/test/resources/9999999/asset/create-expected.json +0 -18
  411. package/test/resources/9999999/asset/resolveId-1234-notFound-expected.json +0 -1
  412. package/test/resources/9999999/asset/resolveId-1295064-noPath-expected.json +0 -8
  413. package/test/resources/9999999/asset/resolveId-1295064-withPath-expected.json +0 -8
  414. package/test/resources/9999999/asset/retrieve-templatebasedemail-expected.json +0 -148
  415. package/test/resources/9999999/asset/retrieve-templatebasedemail-html-expected.html +0 -20
  416. package/test/resources/9999999/asset/retrieve-templatebasedemail-preheader-expected.amp +0 -1
  417. package/test/resources/9999999/asset/template-emailTemplate-expected.json +0 -20
  418. package/test/resources/9999999/asset/template-templatebasedemail-expected.json +0 -145
  419. package/test/resources/9999999/asset/template-templatebasedemail-html-expected.html +0 -20
  420. package/test/resources/9999999/asset/template-templatebasedemail-preheader-expected.amp +0 -1
  421. package/test/resources/9999999/asset/template-testExisting_asset_htmlblock-expected.json +0 -29
  422. package/test/resources/9999999/asset/testExisting_asset_htmlblock-retrieve-expected.html +0 -23
  423. package/test/resources/9999999/asset/testExisting_asset_htmlblock-retrieve-expected.json +0 -41
  424. package/test/resources/9999999/asset/testExisting_asset_message-html-rcb-id-expected.html +0 -33
  425. package/test/resources/9999999/asset/testExisting_asset_message-html-rcb-key-expected.html +0 -33
  426. package/test/resources/9999999/asset/testExisting_asset_message-html-rcb-name-expected.html +0 -35
  427. package/test/resources/9999999/asset/testExisting_asset_message-preheader-rcb-id-expected.amp +0 -4
  428. package/test/resources/9999999/asset/testExisting_asset_message-preheader-rcb-key-expected.amp +0 -4
  429. package/test/resources/9999999/asset/testExisting_asset_message-preheader-rcb-name-expected.amp +0 -4
  430. package/test/resources/9999999/asset/testExisting_asset_message-text-rcb-id-expected.amp +0 -4
  431. package/test/resources/9999999/asset/testExisting_asset_message-text-rcb-key-expected.amp +0 -4
  432. package/test/resources/9999999/asset/testExisting_asset_message-text-rcb-name-expected.amp +0 -4
  433. package/test/resources/9999999/asset/test_coderesource_js-retrieve-expected.js +0 -1
  434. package/test/resources/9999999/asset/test_coderesource_js-retrieve-expected.json +0 -45
  435. package/test/resources/9999999/asset/test_coderesource_json-retrieve-expected.json +0 -45
  436. package/test/resources/9999999/asset/test_coderesource_json-retrieve-expected.jsonc +0 -1
  437. package/test/resources/9999999/asset/test_coderesource_xml-retrieve-expected.json +0 -44
  438. package/test/resources/9999999/asset/test_coderesource_xml-retrieve-expected.xml +0 -1
  439. package/test/resources/9999999/asset/test_interactivecontent-retrieve-expected.json +0 -41
  440. package/test/resources/9999999/asset/test_landingpage-retrieve-expected.json +0 -40
  441. package/test/resources/9999999/asset/test_microsite-retrieve-expected.json +0 -41
  442. package/test/resources/9999999/asset/v1/content/assets/1209971/get-response.json +0 -61
  443. package/test/resources/9999999/asset/v1/content/assets/1295064/get-response.json +0 -60
  444. package/test/resources/9999999/asset/v1/content/assets/1295064/patch-response.json +0 -59
  445. package/test/resources/9999999/asset/v1/content/assets/1295065/get-response.json +0 -60
  446. package/test/resources/9999999/asset/v1/content/assets/1295066/get-response.json +0 -60
  447. package/test/resources/9999999/asset/v1/content/assets/1295067/get-response.json +0 -60
  448. package/test/resources/9999999/asset/v1/content/assets/16992/get-response.json +0 -60
  449. package/test/resources/9999999/asset/v1/content/assets/5286/get-response.json +0 -48
  450. package/test/resources/9999999/asset/v1/content/assets/5289/get-response.json +0 -273
  451. package/test/resources/9999999/asset/v1/content/assets/808714/get-response.json +0 -185
  452. package/test/resources/9999999/asset/v1/content/assets/9451/get-response.json +0 -61
  453. package/test/resources/9999999/asset/v1/content/assets/9456/get-response.json +0 -56
  454. package/test/resources/9999999/asset/v1/content/assets/9458/get-response.json +0 -56
  455. package/test/resources/9999999/asset/v1/content/assets/9460/get-response.json +0 -59
  456. package/test/resources/9999999/asset/v1/content/assets/9463/get-response.json +0 -61
  457. package/test/resources/9999999/asset/v1/content/assets/9465/get-response.json +0 -54
  458. package/test/resources/9999999/asset/v1/content/assets/950143/delete-response.txt +0 -1
  459. package/test/resources/9999999/asset/v1/content/assets/950143/get-response.json +0 -97
  460. package/test/resources/9999999/asset/v1/content/assets/get-response-customerKey=testExisting_asset.json +0 -105
  461. package/test/resources/9999999/asset/v1/content/assets/post-response-key=testNew_assetMessage.json +0 -441
  462. package/test/resources/9999999/asset/v1/content/assets/post-response-key=testNew_asset_htmlblock.json +0 -59
  463. package/test/resources/9999999/asset/v1/content/assets/post-response-key=testNew_asset_template.json +0 -147
  464. package/test/resources/9999999/asset/v1/content/assets/post-response-key=testNew_asset_templatebasedemail.json +0 -322
  465. package/test/resources/9999999/asset/v1/content/assets/post-response-key=testNew_asset_withCBBK_notexisting.json +0 -59
  466. package/test/resources/9999999/asset/v1/content/assets/post-response-key=testNew_asset_withCBBK_preexisting.json +0 -59
  467. package/test/resources/9999999/asset/v1/content/assets/post-response-key=test_slash.json +0 -60
  468. package/test/resources/9999999/asset/v1/content/assets/post-response.json +0 -59
  469. package/test/resources/9999999/asset/v1/content/assets/query/+post-response-assetType.idIN3,195,196,197,198,199,200,201,202,203,210,211,212,213-slashfolder.json +0 -198
  470. package/test/resources/9999999/asset/v1/content/assets/query/post-response-assetType.idIN1,205,206,230,232.json +0 -129
  471. package/test/resources/9999999/asset/v1/content/assets/query/post-response-assetType.idIN1,3,14,15,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,205,206,210,211,212,213,215,216,217,218,219,220,221,222,223,224.json +0 -257
  472. package/test/resources/9999999/asset/v1/content/assets/query/post-response-assetType.idIN1,3,4,14,15,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,205,206,210,211,212,213,214,215,216,217,218,219,220,221,222.json +0 -377
  473. package/test/resources/9999999/asset/v1/content/assets/query/post-response-assetType.idIN1,3,4,5,14,15,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,205,206,207,208,209,210,211,212,213,214,215,216,217,218.json +0 -460
  474. package/test/resources/9999999/asset/v1/content/assets/query/post-response-assetType.idIN1,5,205,206,207,208,209,230,232.json +0 -229
  475. package/test/resources/9999999/asset/v1/content/assets/query/post-response-assetType.idIN14,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192.json +0 -7
  476. package/test/resources/9999999/asset/v1/content/assets/query/post-response-assetType.idIN15,193,194.json +0 -7
  477. package/test/resources/9999999/asset/v1/content/assets/query/post-response-assetType.idIN215,216,217,218,219,220,221,222,223,224,225,226,227,228.json +0 -7
  478. package/test/resources/9999999/asset/v1/content/assets/query/post-response-assetType.idIN219,220,221,222,223,224,225,226,227,228,230,232,240,241,242,243,244,245.json +0 -168
  479. package/test/resources/9999999/asset/v1/content/assets/query/post-response-assetType.idIN223,224,225,226,227,228,230,232.json +0 -32
  480. package/test/resources/9999999/asset/v1/content/assets/query/post-response-assetType.idIN225,226,227,228,230,232.json +0 -7
  481. package/test/resources/9999999/asset/v1/content/assets/query/post-response-assetType.idIN240,241,242,243,244,245.json +0 -144
  482. package/test/resources/9999999/asset/v1/content/assets/query/post-response-assetType.idIN246,247,248,249.json +0 -132
  483. package/test/resources/9999999/asset/v1/content/assets/query/post-response-assetType.idIN3,195,196,197,198,199,200,201,202,203,210,211,212,213.json +0 -160
  484. package/test/resources/9999999/asset/v1/content/assets/query/post-response-assetType.idIN4,214.json +0 -35
  485. package/test/resources/9999999/asset/v1/content/assets/query/post-response-assetType.idIN5,207,208,209.json +0 -108
  486. package/test/resources/9999999/asset/v1/content/assets/query/post-response-customerKey=testExisting_asset_htmlblock.json +0 -46
  487. package/test/resources/9999999/asset/v1/content/categories/post-response.json +0 -9
  488. package/test/resources/9999999/asset-deploy/block/testNew_asset_badExtension.bad-type-extension.json +0 -39
  489. package/test/resources/9999999/asset-deploy/block/testNew_asset_badName_bad.asset-block-meta.json +0 -39
  490. package/test/resources/9999999/asset-deploy2/block/testBlacklist_asset_htmlblock.asset-block-meta.html +0 -1
  491. package/test/resources/9999999/asset-deploy2/block/testBlacklist_asset_htmlblock.asset-block-meta.json +0 -39
  492. package/test/resources/9999999/asset-slashfolder-deploy/block/test_slash.asset-block-meta.html +0 -12
  493. package/test/resources/9999999/asset-slashfolder-deploy/block/test_slash.asset-block-meta.json +0 -29
  494. package/test/resources/9999999/attributeGroup/retrieve-expected.json +0 -25
  495. package/test/resources/9999999/attributeSet/retrieve-expected.json +0 -143
  496. package/test/resources/9999999/automation/build-expected.json +0 -61
  497. package/test/resources/9999999/automation/clone-expected.json +0 -61
  498. package/test/resources/9999999/automation/create-callout-expected.json +0 -66
  499. package/test/resources/9999999/automation/create-expected.json +0 -50
  500. package/test/resources/9999999/automation/create-testNew_automation-expected.md +0 -29
  501. package/test/resources/9999999/automation/delete-response.xml +0 -40
  502. package/test/resources/9999999/automation/patch_fixKeys-pause-expected.json +0 -44
  503. package/test/resources/9999999/automation/patch_fixKeys-schedule-expected.json +0 -44
  504. package/test/resources/9999999/automation/perform-08afb0e2-b00a-4c88-ad2e-1f7f8788c560-response.xml +0 -42
  505. package/test/resources/9999999/automation/perform-08afb0e2-b00a-4c88-fixKey_pause-response.xml +0 -42
  506. package/test/resources/9999999/automation/perform-08afb0e2-b00a-4c88-fixKey_schedule-response.xml +0 -42
  507. package/test/resources/9999999/automation/perform-a8afb0e2-b00a-4c88-ad2e-1f7f8788c560-response.xml +0 -42
  508. package/test/resources/9999999/automation/retrieve-expected.json +0 -67
  509. package/test/resources/9999999/automation/retrieve-testExisting_automation-expected.md +0 -31
  510. package/test/resources/9999999/automation/retrieve-wait-expected.json +0 -81
  511. package/test/resources/9999999/automation/retrieve-wait-expected.md +0 -18
  512. package/test/resources/9999999/automation/template-expected.json +0 -61
  513. package/test/resources/9999999/automation/update-callout-expected.json +0 -68
  514. package/test/resources/9999999/automation/update-expected.json +0 -67
  515. package/test/resources/9999999/automation/update-testExisting_automation-expected.md +0 -31
  516. package/test/resources/9999999/automation/v1/automations/08afb0e2-b00a-4c88-ad2e-1f7f8788c560/get-response.json +0 -92
  517. package/test/resources/9999999/automation/v1/automations/08afb0e2-b00a-4c88-ad2e-1f7f8788c560/patch-response.json +0 -85
  518. package/test/resources/9999999/automation/v1/automations/08afb0e2-b00a-4c88-ad2e-pause/get-response.json +0 -85
  519. package/test/resources/9999999/automation/v1/automations/08afb0e2-b00a-4c88-ad2e-pause/patch-response.json +0 -85
  520. package/test/resources/9999999/automation/v1/automations/08afb0e2-b00a-4c88-fixKey_pause/get-response.json +0 -85
  521. package/test/resources/9999999/automation/v1/automations/08afb0e2-b00a-4c88-fixKey_pause/patch-response.json +0 -86
  522. package/test/resources/9999999/automation/v1/automations/08afb0e2-b00a-4c88-fixKey_schedule/get-response.json +0 -85
  523. package/test/resources/9999999/automation/v1/automations/08afb0e2-b00a-4c88-fixKey_schedule/patch-response.json +0 -86
  524. package/test/resources/9999999/automation/v1/automations/0fc2ac96-14ba-495a-8db9-3ddd4f8ac444-wait/get-response.json +0 -114
  525. package/test/resources/9999999/automation/v1/automations/8f82c2a7-0bae-45a9-bdee-e631ab25c0d5/get-response.json +0 -44
  526. package/test/resources/9999999/automation/v1/automations/a8afb0e2-b00a-4c88-ad2e-1f7f8788c560/get-response.json +0 -85
  527. package/test/resources/9999999/automation/v1/automations/post-response.json +0 -93
  528. package/test/resources/9999999/automation/v1/dataextracts/56c5370a-f988-4f36-b0ee-0f876573f6d7/delete-response.txt +0 -1
  529. package/test/resources/9999999/automation/v1/dataextracts/56c5370a-f988-4f36-b0ee-0f876573f6d7/get-response.json +0 -38
  530. package/test/resources/9999999/automation/v1/dataextracts/56c5370a-f988-4f36-b0ee-0f876573f6d7/patch-response.json +0 -38
  531. package/test/resources/9999999/automation/v1/dataextracts/get-response.json +0 -20
  532. package/test/resources/9999999/automation/v1/dataextracts/post-response.json +0 -38
  533. package/test/resources/9999999/automation/v1/dataextracttypes/get-response.json +0 -50
  534. package/test/resources/9999999/automation/v1/dataverifications/post-response.json +0 -12
  535. package/test/resources/9999999/automation/v1/dataverifications/testExisting_39f6a488-20eb-4ba0-b0b9/delete-response.json +0 -0
  536. package/test/resources/9999999/automation/v1/dataverifications/testExisting_39f6a488-20eb-4ba0-b0b9/get-response.json +0 -12
  537. package/test/resources/9999999/automation/v1/dataverifications/testExisting_39f6a488-20eb-4ba0-b0b9/patch-response.json +0 -12
  538. package/test/resources/9999999/automation/v1/filetransfers/72c328ac-f5b0-4e37-91d3-a775666f15a6/delete-response.json +0 -1
  539. package/test/resources/9999999/automation/v1/filetransfers/72c328ac-f5b0-4e37-91d3-a775666f15a6/get-response.json +0 -18
  540. package/test/resources/9999999/automation/v1/filetransfers/72c328ac-f5b0-4e37-91d3-a775666f15a6/patch-response.json +0 -18
  541. package/test/resources/9999999/automation/v1/filetransfers/get-response.json +0 -15
  542. package/test/resources/9999999/automation/v1/filetransfers/post-response.json +0 -18
  543. package/test/resources/9999999/automation/v1/filters/a0f1a1bc-4ea1-44b3-8fe1-ce40ef35c1c0/patch-response.json +0 -18
  544. package/test/resources/9999999/automation/v1/filters/f018f237-f7ef-40b0-afc8-39ea2e5dcca4/delete-response.txt +0 -0
  545. package/test/resources/9999999/automation/v1/filters/f018f237-f7ef-40b0-afc8-39ea2e5dcca4/get-response.json +0 -15
  546. package/test/resources/9999999/automation/v1/filters/f018f237-f7ef-40b0-afc8-39ea2e5dcca4/patch-response.json +0 -15
  547. package/test/resources/9999999/automation/v1/filters/get-response.json +0 -22
  548. package/test/resources/9999999/automation/v1/ftplocations/get-response.json +0 -43
  549. package/test/resources/9999999/automation/v1/imports/1ebf557b-372e-eb11-b81b-48df37d1dbd7/get-response.json +0 -78
  550. package/test/resources/9999999/automation/v1/imports/9d16f42c-2260-ed11-b849-48df37d1de8b/delete-response.txt +0 -0
  551. package/test/resources/9999999/automation/v1/imports/9d16f42c-2260-ed11-b849-48df37d1de8b/get-response.json +0 -35
  552. package/test/resources/9999999/automation/v1/imports/9d16f42c-2260-ed11-b849-48df37d1de8b/patch-response.json +0 -35
  553. package/test/resources/9999999/automation/v1/imports/d2474efb-a449-ef11-b876-f40343c95928/get-response.json +0 -37
  554. package/test/resources/9999999/automation/v1/imports/get-response.json +0 -146
  555. package/test/resources/9999999/automation/v1/imports/post-response.json +0 -30
  556. package/test/resources/9999999/automation/v1/queries/549f0568-607c-4940-afef-437965094dae/actions/start/post-response.txt +0 -1
  557. package/test/resources/9999999/automation/v1/queries/549f0568-607c-4940-afef-437965094dat/actions/start/post-response.txt +0 -1
  558. package/test/resources/9999999/automation/v1/queries/549f0568-607c-4940-afef-437965094dat/delete-response.json +0 -1
  559. package/test/resources/9999999/automation/v1/queries/549f0568-607c-4940-afef-437965094dat/get-response.json +0 -17
  560. package/test/resources/9999999/automation/v1/queries/549f0568-607c-4940-afef-437965094dat/patch-response.json +0 -18
  561. package/test/resources/9999999/automation/v1/queries/549f0568-607c-4940-afef-437965094dat_fixKeys/get-response.json +0 -17
  562. package/test/resources/9999999/automation/v1/queries/549f0568-607c-4940-afef-437965094dat_fixKeys/patch-response.json +0 -18
  563. package/test/resources/9999999/automation/v1/queries/549f0568-607c-4940-afef-437965094dat_fixKeysSuffix/get-response.json +0 -17
  564. package/test/resources/9999999/automation/v1/queries/549f0568-607c-4940-afef-437965094dat_fixKeysSuffix/patch-response.json +0 -18
  565. package/test/resources/9999999/automation/v1/queries/abcde-607c-4940-afef-437965094dat/get-response.json +0 -17
  566. package/test/resources/9999999/automation/v1/queries/get-response-Name=testExisting_query.json +0 -24
  567. package/test/resources/9999999/automation/v1/queries/get-response.json +0 -75
  568. package/test/resources/9999999/automation/v1/queries/post-response.json +0 -18
  569. package/test/resources/9999999/automation/v1/scripts/39f6a488-20eb-4ba0-b0b9-023725b574e4/delete-response.txt +0 -1
  570. package/test/resources/9999999/automation/v1/scripts/39f6a488-20eb-4ba0-b0b9-023725b574e4/get-response.json +0 -10
  571. package/test/resources/9999999/automation/v1/scripts/39f6a488-20eb-4ba0-b0b9-023725b574e4/patch-response.json +0 -10
  572. package/test/resources/9999999/automation/v1/scripts/get-response-name=testExisting_script.json +0 -17
  573. package/test/resources/9999999/automation/v1/scripts/get-response.json +0 -57
  574. package/test/resources/9999999/automation/v1/scripts/post-response.json +0 -10
  575. package/test/resources/9999999/data/v1/customobjectdata/key/testExisting_dataExtension/rowset/get-response.json +0 -13
  576. package/test/resources/9999999/data/v1/filetransferlocation/Salesforce%20Objects%20%26%20Reports/get-response.json +0 -4
  577. package/test/resources/9999999/data/v1/filetransferlocation/testExisting_fileLocation_aws/patch-response.json +0 -18
  578. package/test/resources/9999999/data/v1/filetransferlocation/testExisting_fileLocation_azure/delete-response.json +0 -4
  579. package/test/resources/9999999/data/v1/filetransferlocation/testExisting_fileLocation_azure/get-response.json +0 -18
  580. package/test/resources/9999999/data/v1/filetransferlocation/testExisting_fileLocation_exsftp/patch-response.json +0 -16
  581. package/test/resources/9999999/data/v1/filetransferlocations/get-response.json +0 -59
  582. package/test/resources/9999999/dataExtension/build-expected.json +0 -66
  583. package/test/resources/9999999/dataExtension/create-expected.json +0 -20
  584. package/test/resources/9999999/dataExtension/create-response.xml +0 -59
  585. package/test/resources/9999999/dataExtension/delete-response.xml +0 -42
  586. package/test/resources/9999999/dataExtension/retrieve-CustomerKey=testExisting_dataExtension-response.xml +0 -52
  587. package/test/resources/9999999/dataExtension/retrieve-CustomerKey=testNew_event_withSchema-response.xml +0 -50
  588. package/test/resources/9999999/dataExtension/retrieve-Name=testExisting_dataExtension-response.xml +0 -52
  589. package/test/resources/9999999/dataExtension/retrieve-createdViaEvent-response.xml +0 -50
  590. package/test/resources/9999999/dataExtension/retrieve-expected.json +0 -66
  591. package/test/resources/9999999/dataExtension/retrieve-expected.md +0 -25
  592. package/test/resources/9999999/dataExtension/retrieve-response.xml +0 -224
  593. package/test/resources/9999999/dataExtension/retrieve_event_withSchema-expected.json +0 -219
  594. package/test/resources/9999999/dataExtension/template-expected.json +0 -66
  595. package/test/resources/9999999/dataExtension/update-afterCreatedViaEvent-response.xml +0 -55
  596. package/test/resources/9999999/dataExtension/update-callout-afterCreatedViaEvent-expected.xml +0 -1
  597. package/test/resources/9999999/dataExtension/update-expected.json +0 -72
  598. package/test/resources/9999999/dataExtension/update-response.xml +0 -59
  599. package/test/resources/9999999/dataExtension-deploy/testBlacklist_dataExtension.dataExtension-meta.json +0 -20
  600. package/test/resources/9999999/dataExtensionField/retrieve-CustomerKey=[testExisting_dataExtension].[LastName]-response.xml +0 -44
  601. package/test/resources/9999999/dataExtensionField/retrieve-DataExtension.CustomerKey=testExisting_dataExtension-response.xml +0 -133
  602. package/test/resources/9999999/dataExtensionField/retrieve-DataExtension.CustomerKey=testNew_dataExtensionORDataExtension.CustomerKey=testExisting_dataExtension-response.xml +0 -99
  603. package/test/resources/9999999/dataExtensionField/retrieve-DataExtension.CustomerKey=testNew_event_withSchema-response.xml +0 -461
  604. package/test/resources/9999999/dataExtensionField/retrieve-DataExtension.CustomerKeyINtestExisting_dataExtension,testNew_dataExtension-response.xml +0 -133
  605. package/test/resources/9999999/dataExtensionField/retrieve-Name=FirstName-response.xml +0 -78
  606. package/test/resources/9999999/dataExtensionField/retrieve-Name=LastName-response.xml +0 -78
  607. package/test/resources/9999999/dataExtensionField/retrieve-response.xml +0 -1075
  608. package/test/resources/9999999/dataExtensionTemplate/retrieve-response.xml +0 -303
  609. package/test/resources/9999999/dataExtract/build-expected.json +0 -35
  610. package/test/resources/9999999/dataExtract/get-expected.json +0 -39
  611. package/test/resources/9999999/dataExtract/patch-expected.json +0 -39
  612. package/test/resources/9999999/dataExtract/post-expected.json +0 -37
  613. package/test/resources/9999999/dataExtract/template-expected.json +0 -35
  614. package/test/resources/9999999/dataFilter/build-expected.json +0 -19
  615. package/test/resources/9999999/dataFilter/get-expected.json +0 -23
  616. package/test/resources/9999999/dataFilter/patch-expected.json +0 -20
  617. package/test/resources/9999999/dataFilter/post-expected.json +0 -20
  618. package/test/resources/9999999/dataFilter/template-expected.json +0 -19
  619. package/test/resources/9999999/dataFolder/+retrieve-ContentTypeINasset,asset-shared,cloudpages-slashfolder-response.xml +0 -136
  620. package/test/resources/9999999/dataFolder/create-ContentType=asset,Name=testFolder_samePath,ParentFolderID=89397-response.xml +0 -33
  621. package/test/resources/9999999/dataFolder/create-ContentType=dataextension,Name=my,ParentFolderID=2-response.xml +0 -33
  622. package/test/resources/9999999/dataFolder/create-ContentType=dataextension,Name=path,ParentFolderID=862002-response.xml +0 -33
  623. package/test/resources/9999999/dataFolder/create-ContentType=dataextension,Name=sub,ParentFolderID=862001-response.xml +0 -33
  624. package/test/resources/9999999/dataFolder/create-ContentType=dataextension,Name=subpath,ParentFolderID=862003-response.xml +0 -33
  625. package/test/resources/9999999/dataFolder/create-response.xml +0 -33
  626. package/test/resources/9999999/dataFolder/retrieve-ContentType=asset-shared-QAA-response.xml +0 -70
  627. package/test/resources/9999999/dataFolder/retrieve-ContentType=asset-shared-response.xml +0 -70
  628. package/test/resources/9999999/dataFolder/retrieve-ContentType=automations-response.xml +0 -48
  629. package/test/resources/9999999/dataFolder/retrieve-ContentType=journey-response.xml +0 -48
  630. package/test/resources/9999999/dataFolder/retrieve-ContentType=queryactivity-response.xml +0 -48
  631. package/test/resources/9999999/dataFolder/retrieve-ContentType=ssjsactivity-response.xml +0 -48
  632. package/test/resources/9999999/dataFolder/retrieve-ContentType=userinitiatedsends-response.xml +0 -48
  633. package/test/resources/9999999/dataFolder/retrieve-ContentTypeINasset,asset-sha,automatio,cloudpage,dataexten,filteract,filterdef,hidden,journey,list,mysubs,publicati,queryacti,salesforc,shared_da,shared_da,shared_sa,ssjsactiv,synchroni,useriniti-response.xml +0 -765
  634. package/test/resources/9999999/dataFolder/retrieve-ContentTypeINasset,asset-sha,automatio,cloudpage,dataexten,hidden,journey,list,mysubs,publicati,queryacti,salesforc,shared_da,shared_da,shared_sa,ssjsactiv,synchroni,triggered,triggered,useriniti-response.xml +0 -562
  635. package/test/resources/9999999/dataFolder/retrieve-ContentTypeINasset,asset-sha,automatio,cloudpage,dataexten,hidden,journey,list,mysubs,publicati,queryacti,salesforc,shared_da,shared_da,shared_sa,ssjsactiv,synchroni,useriniti-response.xml +0 -335
  636. package/test/resources/9999999/dataFolder/retrieve-ContentTypeINasset,asset-sha,dataexten,salesforc,shared_da,shared_da,shared_sa,synchroni,automatio,useriniti,journey,mysubs,list,publicati,queryacti,ssjsactiv,triggered,triggered-response.xml +0 -519
  637. package/test/resources/9999999/dataFolder/retrieve-ContentTypeINasset,asset-shared,cloudpages,dataextension,hidden,salesforcedataextension,shared_data,shared_dataextension,shared_salesforcedataextension,synchronizeddataextension-response.xml +0 -181
  638. package/test/resources/9999999/dataFolder/retrieve-ContentTypeINasset,asset-shared,cloudpages,journey-response.xml +0 -136
  639. package/test/resources/9999999/dataFolder/retrieve-ContentTypeINasset,asset-shared,cloudpages,ssjsactivity-response.xml +0 -136
  640. package/test/resources/9999999/dataFolder/retrieve-ContentTypeINasset,asset-shared,cloudpages-response.xml +0 -114
  641. package/test/resources/9999999/dataFolder/retrieve-ContentTypeINasset,asset-shared,shared_data,shared_dataextension,shared_salesforcedataextension,synchronizeddataextension-QAA-response.xml +0 -115
  642. package/test/resources/9999999/dataFolder/retrieve-ContentTypeINasset,asset-shared-QAA-response.xml +0 -70
  643. package/test/resources/9999999/dataFolder/retrieve-ContentTypeINasset,asset-shared-response.xml +0 -70
  644. package/test/resources/9999999/dataFolder/retrieve-ContentTypeINasset-shared,shared_data,shared_dataextension,shared_salesforcedataextension,synchronizeddataextension-QAA-response.xml +0 -431
  645. package/test/resources/9999999/dataFolder/retrieve-ContentTypeINautomations,queryactivity-response.xml +0 -70
  646. package/test/resources/9999999/dataFolder/retrieve-ContentTypeINcontextual_suppression_list,hidden,list,mysubs,publication,suppression_list,triggered_send,triggered_send_journeybuilder-response.xml +0 -385
  647. package/test/resources/9999999/dataFolder/retrieve-ContentTypeINcontextual_suppression_list,list,mysubs,publication,suppression_list-response.xml +0 -136
  648. package/test/resources/9999999/dataFolder/retrieve-ContentTypeINdataextension,hidden,queryactivity,salesforcedataextension,shared_data,shared_dataextension,shared_salesforcedataextension,synchronizeddataextension-response.xml +0 -138
  649. package/test/resources/9999999/dataFolder/retrieve-ContentTypeINdataextension,hidden,salesforcedataextension,shared_data,shared_dataextension,shared_salesforcedataextension,synchronizeddataextension-response.xml +0 -117
  650. package/test/resources/9999999/dataFolder/retrieve-ContentTypeINdataextension,salesforcedataextension,shared_data,shared_dataextension,shared_salesforcedataextension,synchronizeddataextension-QAA-response.xml +0 -117
  651. package/test/resources/9999999/dataFolder/retrieve-ContentTypeINfilteractivity,hidden-response.xml +0 -139
  652. package/test/resources/9999999/dataFolder/retrieve-ContentTypeINfilterdefinition,hidden-response.xml +0 -116
  653. package/test/resources/9999999/dataFolder/retrieve-ContentTypeINhidden,shared_data,shared_dataextension,shared_salesforcedataextension,synchronizeddataextension-response.xml +0 -46
  654. package/test/resources/9999999/dataFolder/retrieve-ContentTypeINhidden,triggered_send,triggered_send_journeybuilder-response.xml +0 -276
  655. package/test/resources/9999999/dataFolder/retrieve-ContentTypeINshared_data,shared_dataextension,shared_salesforcedataextension,synchronizeddataextension-QAA-response.xml +0 -251
  656. package/test/resources/9999999/dataFolder/retrieve-QAA-response.xml +0 -387
  657. package/test/resources/9999999/dataFolder/retrieve-response.xml +0 -542
  658. package/test/resources/9999999/dataFolder/retrieve-samePathOtherBU-response.xml +0 -564
  659. package/test/resources/9999999/dataFolder/update-response.xml +0 -31
  660. package/test/resources/9999999/deliveryProfile/get-expected.json +0 -7
  661. package/test/resources/9999999/domainVerification/create-expected.json +0 -3
  662. package/test/resources/9999999/domainVerification/get-sap-expected.json +0 -6
  663. package/test/resources/9999999/domainVerification/update-expected.json +0 -6
  664. package/test/resources/9999999/email/retrieve-response.xml +0 -203
  665. package/test/resources/9999999/email/v1/category/post-response-parentCatId=290937,name=my,catType=automations.json +0 -7
  666. package/test/resources/9999999/email/v1/category/post-response-parentCatId=862100,name=sub,catType=automations.json +0 -7
  667. package/test/resources/9999999/email/v1/category/post-response-parentCatId=862101,name=path,catType=automations.json +0 -7
  668. package/test/resources/9999999/email/v1/category/post-response-parentCatId=862102,name=subpath,catType=automations.json +0 -7
  669. package/test/resources/9999999/email/v1/filters/filterdefinition/10ef27dd-4be8-4bf6-970a-8acf8e281e55/delete-response.txt +0 -1
  670. package/test/resources/9999999/email/v1/filters/filterdefinition/10ef27dd-4be8-4bf6-970a-8acf8e281e55/get-response.json +0 -19
  671. package/test/resources/9999999/email/v1/filters/filterdefinition/10ef27dd-4be8-4bf6-970a-8acf8e281e55/patch-response.json +0 -15
  672. package/test/resources/9999999/email/v1/filters/filterdefinition/category/5318/get-response.json +0 -27
  673. package/test/resources/9999999/email/v1/filters/filterdefinition/category/8502/get-response.json +0 -7
  674. package/test/resources/9999999/email/v1/filters/filterdefinition/category/8503/get-response.json +0 -7
  675. package/test/resources/9999999/email/v1/filters/filterdefinition/post-response.json +0 -15
  676. package/test/resources/9999999/emailSend/build-expected.json +0 -43
  677. package/test/resources/9999999/emailSend/get-expected.json +0 -43
  678. package/test/resources/9999999/emailSend/patch-expected.json +0 -41
  679. package/test/resources/9999999/emailSend/post-expected.json +0 -41
  680. package/test/resources/9999999/emailSend/template-expected.json +0 -43
  681. package/test/resources/9999999/emailSendDefinition/create-response.xml +0 -98
  682. package/test/resources/9999999/emailSendDefinition/delete-response.xml +0 -36
  683. package/test/resources/9999999/emailSendDefinition/retrieve-IsPlatformObject=falseANDDescriptionnotEqualsSFSendDefinition-response.xml +0 -95
  684. package/test/resources/9999999/emailSendDefinition/update-response.xml +0 -97
  685. package/test/resources/9999999/event/build-expected.json +0 -226
  686. package/test/resources/9999999/event/get-automation-expected.json +0 -41
  687. package/test/resources/9999999/event/get-expected.json +0 -232
  688. package/test/resources/9999999/event/get-published-expected.json +0 -28
  689. package/test/resources/9999999/event/post_withExistingDE-callout-expected.json +0 -231
  690. package/test/resources/9999999/event/post_withExistingDE-expected.json +0 -21
  691. package/test/resources/9999999/event/post_withSchema-callout-expected.json +0 -202
  692. package/test/resources/9999999/event/post_withSchema-expected.json +0 -232
  693. package/test/resources/9999999/event/put-callout-expected.json +0 -207
  694. package/test/resources/9999999/event/put-expected.json +0 -232
  695. package/test/resources/9999999/event/template-expected.json +0 -226
  696. package/test/resources/9999999/event-deploy/testNew_event_badExtension.bad-type-extension.json +0 -200
  697. package/test/resources/9999999/event-deploy/testNew_event_badName_bad.event-meta.json +0 -200
  698. package/test/resources/9999999/eventDefinition/get-expected.json +0 -34
  699. package/test/resources/9999999/fileLocation/build-expected.json +0 -14
  700. package/test/resources/9999999/fileLocation/get-aws-expected.json +0 -14
  701. package/test/resources/9999999/fileLocation/get-azure-expected.json +0 -14
  702. package/test/resources/9999999/fileLocation/get-eftp-expected.json +0 -5
  703. package/test/resources/9999999/fileLocation/get-exsftp-expected.json +0 -12
  704. package/test/resources/9999999/fileLocation/get-gcp-expected.json +0 -10
  705. package/test/resources/9999999/fileLocation/get-sor-expected.json +0 -5
  706. package/test/resources/9999999/fileLocation/patch-aws-expected.json +0 -14
  707. package/test/resources/9999999/fileLocation/patch-exsftp-expected.json +0 -12
  708. package/test/resources/9999999/fileLocation/template-expected.json +0 -14
  709. package/test/resources/9999999/fileTransfer/build-expected.json +0 -15
  710. package/test/resources/9999999/fileTransfer/get-expected.json +0 -17
  711. package/test/resources/9999999/fileTransfer/patch-expected.json +0 -17
  712. package/test/resources/9999999/fileTransfer/post-expected.json +0 -17
  713. package/test/resources/9999999/fileTransfer/template-expected.json +0 -15
  714. package/test/resources/9999999/filter/build-expected.json +0 -10
  715. package/test/resources/9999999/filter/get-expected.json +0 -11
  716. package/test/resources/9999999/filter/patch-expected.json +0 -11
  717. package/test/resources/9999999/filter/post-expected.json +0 -11
  718. package/test/resources/9999999/filter/template-expected.json +0 -10
  719. package/test/resources/9999999/filterActivity/create-response.xml +0 -46
  720. package/test/resources/9999999/filterActivity/retrieve-CustomerKey=testExisting_filter-response.xml +0 -30
  721. package/test/resources/9999999/filterDefinition/retrieve-CustomerKey=testExisting_dataFilter-response.xml +0 -30
  722. package/test/resources/9999999/folder-deploy/Data Extensions/my/sub/path/subpath.folder-meta.json +0 -9
  723. package/test/resources/9999999/folder-deploy/Data Extensions/my/sub/path.folder-meta.json +0 -9
  724. package/test/resources/9999999/folder-deploy/Data Extensions/my/sub.folder-meta.json +0 -9
  725. package/test/resources/9999999/folder-deploy/Data Extensions/my.folder-meta.json +0 -9
  726. package/test/resources/9999999/folder-deploy/Data Extensions/testExisting_folder.folder-meta.json +0 -9
  727. package/test/resources/9999999/folder-deploy/my automations/my/sub/path/subpath.folder-meta.json +0 -9
  728. package/test/resources/9999999/folder-deploy/my automations/my/sub/path.folder-meta.json +0 -9
  729. package/test/resources/9999999/folder-deploy/my automations/my/sub.folder-meta.json +0 -9
  730. package/test/resources/9999999/folder-deploy/my automations/my.folder-meta.json +0 -9
  731. package/test/resources/9999999/folder-deploy-samepath/Content Builder/testFolder_samePath.folder-meta.json +0 -9
  732. package/test/resources/9999999/folder-deploy-slash/Content Builder/Headers%2FFolders.folder-meta.json +0 -9
  733. package/test/resources/9999999/hub/v1/contacts/schema/attributeGroups/get-response.json +0 -628
  734. package/test/resources/9999999/hub/v1/contacts/schema/setDefinitions/get-response.json +0 -20194
  735. package/test/resources/9999999/importDefinition/retrieve-CustomerKey=testExisting_importFile-response.xml +0 -30
  736. package/test/resources/9999999/importDefinition/retrieve-Name=testExisting_importFile-response.xml +0 -30
  737. package/test/resources/9999999/importFile/build-expected.json +0 -30
  738. package/test/resources/9999999/importFile/get-dataImport-expected.json +0 -36
  739. package/test/resources/9999999/importFile/get-expected.json +0 -36
  740. package/test/resources/9999999/importFile/get-sms-expected.json +0 -80
  741. package/test/resources/9999999/importFile/patch-expected.json +0 -32
  742. package/test/resources/9999999/importFile/post-expected.json +0 -30
  743. package/test/resources/9999999/importFile/template-expected.json +0 -30
  744. package/test/resources/9999999/interaction/v1/eventDefinitions/get-response.json +0 -426
  745. package/test/resources/9999999/interaction/v1/eventDefinitions/key_DEAudience-2e3c73b6-48cc-2ec0-5522-48636e1a236e/get-response.json +0 -39
  746. package/test/resources/9999999/interaction/v1/eventDefinitions/key_testExisting_event/delete-response.txt +0 -0
  747. package/test/resources/9999999/interaction/v1/eventDefinitions/key_testExisting_event/put-response.json +0 -242
  748. package/test/resources/9999999/interaction/v1/eventDefinitions/key_testExisting_event_automation/get-response.json +0 -52
  749. package/test/resources/9999999/interaction/v1/eventDefinitions/post_withExistingDE-response.json +0 -28
  750. package/test/resources/9999999/interaction/v1/eventDefinitions/post_withSchema-response.json +0 -243
  751. package/test/resources/9999999/interaction/v1/interactions/0175b971-71a3-4d8e-98ac-48121f3fbf4f/audit/all/get-response-versionNumber=1.json +0 -86
  752. package/test/resources/9999999/interaction/v1/interactions/0175b971-71a3-4d8e-98ac-48121f3fbf4f/audit/all/get-response-versionNumber=2.json +0 -101
  753. package/test/resources/9999999/interaction/v1/interactions/0175b971-71a3-4d8e-98ac-48121f3fbf4f/audit/all/get-response-versionNumber=3.json +0 -86
  754. package/test/resources/9999999/interaction/v1/interactions/0175b971-71a3-4d8e-98ac-48121f3fbf4f/delete-response-versionNumber=1.txt +0 -1
  755. package/test/resources/9999999/interaction/v1/interactions/0175b971-71a3-4d8e-98ac-48121f3fbf4f/delete-response.txt +0 -1
  756. package/test/resources/9999999/interaction/v1/interactions/0175b971-71a3-4d8e-98ac-48121f3fbf4f/get-response-versionNumber=1.json +0 -461
  757. package/test/resources/9999999/interaction/v1/interactions/0175b971-71a3-4d8e-98ac-48121f3fbf4f/get-response-versionNumber=3.json +0 -461
  758. package/test/resources/9999999/interaction/v1/interactions/0175b971-71a3-4d8e-98ac-48121f3fbf4f/get-response.json +0 -461
  759. package/test/resources/9999999/interaction/v1/interactions/3c3f4112-9b43-43ca-8a89-aa0375b2c1a2/delete-response.txt +0 -1
  760. package/test/resources/9999999/interaction/v1/interactions/3c3f4112-9b43-43ca-8a89-aa0375b2c1a2/get-response.json +0 -253
  761. package/test/resources/9999999/interaction/v1/interactions/dsfdsafdsa-922c-4568-85a5-e5cc77efc3be/audit/all/get-response-versionNumber=1.json +0 -38
  762. package/test/resources/9999999/interaction/v1/interactions/dsfdsafdsa-922c-4568-85a5-e5cc77efc3be/audit/all/get-response-versionNumber=2.json +0 -53
  763. package/test/resources/9999999/interaction/v1/interactions/dsfdsafdsa-922c-4568-85a5-e5cc77efc3be/delete-response.txt +0 -1
  764. package/test/resources/9999999/interaction/v1/interactions/get-response-status=Published.json +0 -40
  765. package/test/resources/9999999/interaction/v1/interactions/get-response.json +0 -211
  766. package/test/resources/9999999/interaction/v1/interactions/key_testExisting_journey_Multistep/get-response-versionNumber=1.json +0 -461
  767. package/test/resources/9999999/interaction/v1/interactions/key_testExisting_journey_Multistep/get-response.json +0 -461
  768. package/test/resources/9999999/interaction/v1/interactions/key_testExisting_journey_Multistep/put-response.json +0 -461
  769. package/test/resources/9999999/interaction/v1/interactions/key_testExisting_journey_Quicksend/get-response-versionNumber=1.json +0 -253
  770. package/test/resources/9999999/interaction/v1/interactions/key_testExisting_journey_Quicksend/get-response.json +0 -253
  771. package/test/resources/9999999/interaction/v1/interactions/key_testExisting_journey_updatecontact/get-response.json +0 -119
  772. package/test/resources/9999999/interaction/v1/interactions/key_testExisting_journey_updatecontact/put-response.json +0 -106
  773. package/test/resources/9999999/interaction/v1/interactions/key_testExisting_temail/get-response-versionNumber=1.json +0 -219
  774. package/test/resources/9999999/interaction/v1/interactions/key_testExisting_temail/get-response.json +0 -219
  775. package/test/resources/9999999/interaction/v1/interactions/key_testExisting_temail/put-response-paused.json +0 -219
  776. package/test/resources/9999999/interaction/v1/interactions/key_testExisting_temail/put-response.json +0 -219
  777. package/test/resources/9999999/interaction/v1/interactions/key_testExisting_temail_notPublished/get-response-versionNumber=1.json +0 -226
  778. package/test/resources/9999999/interaction/v1/interactions/key_testExisting_temail_notPublished/get-response.json +0 -226
  779. package/test/resources/9999999/interaction/v1/interactions/key_testExisting_temail_notPublished/put-response.json +0 -226
  780. package/test/resources/9999999/interaction/v1/interactions/key_testNew_temail_notPublished/get-response.json +0 -218
  781. package/test/resources/9999999/interaction/v1/interactions/post-response.json +0 -216
  782. package/test/resources/9999999/interaction/v1/interactions/publishAsync/0175b971-71a3-4d8e-98ac-48121f3fbf4f/post-response-versionNumber=1.json +0 -4
  783. package/test/resources/9999999/interaction/v1/interactions/publishAsync/0175b971-71a3-4d8e-98ac-48121f3fbf4f/post-response-versionNumber=3.json +0 -4
  784. package/test/resources/9999999/interaction/v1/interactions/publishStatus/45f06c0a-3ed2-48b2-a6a8-b5119253f01c/get-response-failed.json +0 -34
  785. package/test/resources/9999999/interaction/v1/interactions/publishStatus/45f06c0a-3ed2-48b2-a6a8-b5119253f01c/get-response-success.json +0 -5
  786. package/test/resources/9999999/interaction/v1/interactions/publishStatus/45f06c0a-3ed2-48b2-a6a8-b5119253f01c/get-response-successWarnings.json +0 -36
  787. package/test/resources/9999999/interaction/v1/interactions/transactional/create/post-response.json +0 -3
  788. package/test/resources/9999999/interaction/v1/interactions/transactional/pause/post-response.json +0 -3
  789. package/test/resources/9999999/interaction/v1/interactions/transactional/resume/post-response.json +0 -3
  790. package/test/resources/9999999/interaction/v1/interactions/validateAsync/0175b971-71a3-4d8e-98ac-48121f3fbf4f/post-response.json +0 -4
  791. package/test/resources/9999999/interaction/v1/interactions/validateStatus/45f06c0a-3ed2-48b2-a6a8-b5119253f01c/get-response-failed.json +0 -34
  792. package/test/resources/9999999/interaction/v1/interactions/validateStatus/45f06c0a-3ed2-48b2-a6a8-b5119253f01c/get-response-success.json +0 -5
  793. package/test/resources/9999999/interaction/v1/interactions/validateStatus/45f06c0a-3ed2-48b2-a6a8-b5119253f01c/get-response-successWarnings.json +0 -36
  794. package/test/resources/9999999/interaction/v1/interactions/validateStatus/45f06c0a-3ed2-48b2-a6a8-b5119253f01c/get-response.json +0 -0
  795. package/test/resources/9999999/journey/build-expected.json +0 -229
  796. package/test/resources/9999999/journey/create-transactionaEmail-publish-expected.json +0 -216
  797. package/test/resources/9999999/journey/get-multistep-expected.json +0 -414
  798. package/test/resources/9999999/journey/get-published-expected.json +0 -216
  799. package/test/resources/9999999/journey/get-quicksend-expected.json +0 -234
  800. package/test/resources/9999999/journey/get-quicksend-rcb-id-expected.json +0 -232
  801. package/test/resources/9999999/journey/get-quicksend-rcb-key-expected.json +0 -232
  802. package/test/resources/9999999/journey/get-quicksend-rcb-name-expected.json +0 -236
  803. package/test/resources/9999999/journey/get-transactionalEmail-expected.json +0 -211
  804. package/test/resources/9999999/journey/get-updatecontact-expected.json +0 -108
  805. package/test/resources/9999999/journey/post-expected.json +0 -264
  806. package/test/resources/9999999/journey/publish-callout-expected.json +0 -1
  807. package/test/resources/9999999/journey/put-expected.json +0 -576
  808. package/test/resources/9999999/journey/put-updatecontact-expected.json +0 -108
  809. package/test/resources/9999999/journey/template-expected.json +0 -229
  810. package/test/resources/9999999/journey/validate-callout-expected.json +0 -1
  811. package/test/resources/9999999/legacy/v1/beta/automations/notifications/RkpOcE9qSVh2VUdnYTVJbWFfWW14dzoyNTow/get-response.json +0 -21
  812. package/test/resources/9999999/legacy/v1/beta/automations/notifications/RkpOcE9qSVh2VUdnYTVJbWFfWW14dzoyNTow/post-response.json +0 -0
  813. package/test/resources/9999999/legacy/v1/beta/automations/notifications/RkpOcE9qSVh2VUdnYTVJbWFfWW14dzoyNTow-PAUSED/get-response.json +0 -3
  814. package/test/resources/9999999/legacy/v1/beta/automations/notifications/bHF6Q0Q3b1VXa21OdVQzZFQ0ckVSQToyNTow/get-response.json +0 -3
  815. package/test/resources/9999999/legacy/v1/beta/automations/notifications/cDhLQ2o2NExxVVc5N3VZeHF5WEExUToyNTow/get-response.json +0 -3
  816. package/test/resources/9999999/legacy/v1/beta/bulk/automations/automation/definition/NewRkpOcE9qSVh2VUdnYTVJbWFfWW14dzoyNTow/get-response.json +0 -29
  817. package/test/resources/9999999/legacy/v1/beta/bulk/automations/automation/definition/RkpOcE9qSVh2VUdnYTVJbWFfWW14dzoyNTow/get-response.json +0 -50
  818. package/test/resources/9999999/legacy/v1/beta/bulk/automations/automation/definition/RkpOcE9qSVh2VUdnYTVJbWFfWW14dzoyNTow-PAUSED/get-response.json +0 -51
  819. package/test/resources/9999999/legacy/v1/beta/bulk/automations/automation/definition/bHF6Q0Q3b1VXa21OdVQzZFQ0ckVSQToyNTow/get-response.json +0 -216
  820. package/test/resources/9999999/legacy/v1/beta/bulk/automations/automation/definition/cDhLQ2o2NExxVVc5N3VZeHF5WEExUToyNTow/get-response.json +0 -79
  821. package/test/resources/9999999/legacy/v1/beta/bulk/automations/automation/definition/get-response.json +0 -286
  822. package/test/resources/9999999/legacy/v1/beta/bulk/automations/automation/definition/post-response-pauseSchedule.json +0 -1
  823. package/test/resources/9999999/legacy/v1/beta/bulk/automations/automation/definition/post-response-schedule.json +0 -1
  824. package/test/resources/9999999/legacy/v1/beta/messaging/deliverypolicy/get-response.json +0 -15
  825. package/test/resources/9999999/legacy/v1/beta/mobile/code/get-response.json +0 -32
  826. package/test/resources/9999999/legacy/v1/beta/mobile/imports/get-response.json +0 -112
  827. package/test/resources/9999999/legacy/v1/beta/mobile/keyword/NXV4ZFMwTEFwRVczd3RaLUF5X3p5dzo4Njow/get-response.json +0 -42
  828. package/test/resources/9999999/legacy/v1/beta/mobile/keyword/cTVJaG5oSDJPVUNHcUh6Z3pQT2tVdzo4Njow/delete-response.json +0 -0
  829. package/test/resources/9999999/legacy/v1/beta/mobile/keyword/get-response.json +0 -47
  830. package/test/resources/9999999/legacy/v1/beta/mobile/keyword/post-response.json +0 -3
  831. package/test/resources/9999999/legacy/v1/beta/mobile/message/NTIzOjc4OjA/delete-response.json +0 -0
  832. package/test/resources/9999999/legacy/v1/beta/mobile/message/NTIzOjc4OjA/get-response.json +0 -106
  833. package/test/resources/9999999/legacy/v1/beta/mobile/message/NTIzOjc4OjA/post-response.json +0 -0
  834. package/test/resources/9999999/legacy/v1/beta/mobile/message/NTQ3Ojc4OjA/get-response.json +0 -127
  835. package/test/resources/9999999/legacy/v1/beta/mobile/message/get-response.json +0 -129
  836. package/test/resources/9999999/legacy/v1/beta/mobile/message/post-response.json +0 -3
  837. package/test/resources/9999999/legacy/v1/beta/object/NWQwdnhEU3dFZWVBekJRQzdISWl0QTo0NTow/get-response.json +0 -12
  838. package/test/resources/9999999/legacy/v1/beta2/data/campaign/get-response.json +0 -29
  839. package/test/resources/9999999/list/retrieve-response.xml +0 -91
  840. package/test/resources/9999999/messaging/v1/domainverification/delete/post-response.txt +0 -1
  841. package/test/resources/9999999/messaging/v1/domainverification/get-response.json +0 -52
  842. package/test/resources/9999999/messaging/v1/domainverification/post-response.txt +0 -1
  843. package/test/resources/9999999/messaging/v1/domainverification/update/post-response.txt +0 -1
  844. package/test/resources/9999999/messaging/v1/email/definitions/get-response.json +0 -29
  845. package/test/resources/9999999/messaging/v1/email/definitions/post-response.json +0 -19
  846. package/test/resources/9999999/messaging/v1/email/definitions/testExisting_temail/delete-response.json +0 -6
  847. package/test/resources/9999999/messaging/v1/email/definitions/testExisting_temail/get-response.json +0 -26
  848. package/test/resources/9999999/messaging/v1/email/definitions/testExisting_temail/patch-response.json +0 -26
  849. package/test/resources/9999999/messaging/v1/email/definitions/testExisting_temail_notPublished/get-response.json +0 -26
  850. package/test/resources/9999999/messaging/v1/email/definitions/testNew_temail_notPublished/get-response.json +0 -26
  851. package/test/resources/9999999/messaging/v1/push/definitions/get-response.json +0 -15
  852. package/test/resources/9999999/messaging/v1/push/definitions/post-response.json +0 -13
  853. package/test/resources/9999999/messaging/v1/push/definitions/testExisting_tpush/get-response.json +0 -13
  854. package/test/resources/9999999/messaging/v1/push/definitions/testExisting_tpush/patch-response.json +0 -13
  855. package/test/resources/9999999/messaging/v1/sms/definitions/get-response.json +0 -15
  856. package/test/resources/9999999/messaging/v1/sms/definitions/post-response.json +0 -19
  857. package/test/resources/9999999/messaging/v1/sms/definitions/testExisting_tsms/get-response.json +0 -20
  858. package/test/resources/9999999/messaging/v1/sms/definitions/testExisting_tsms/patch-response.json +0 -20
  859. package/test/resources/9999999/mobileKeyword/build-expected.amp +0 -6
  860. package/test/resources/9999999/mobileKeyword/build-expected.json +0 -7
  861. package/test/resources/9999999/mobileKeyword/get-expected.amp +0 -6
  862. package/test/resources/9999999/mobileKeyword/get-expected.json +0 -13
  863. package/test/resources/9999999/mobileKeyword/post-create-expected.amp +0 -2
  864. package/test/resources/9999999/mobileKeyword/post-create-expected.json +0 -15
  865. package/test/resources/9999999/mobileKeyword/template-expected.amp +0 -6
  866. package/test/resources/9999999/mobileKeyword/template-expected.json +0 -7
  867. package/test/resources/9999999/mobileMessage/build-expected.amp +0 -6
  868. package/test/resources/9999999/mobileMessage/build-expected.json +0 -57
  869. package/test/resources/9999999/mobileMessage/get-expected.amp +0 -6
  870. package/test/resources/9999999/mobileMessage/get-expected.json +0 -58
  871. package/test/resources/9999999/mobileMessage/post-create-expected.amp +0 -1
  872. package/test/resources/9999999/mobileMessage/post-create-expected.json +0 -61
  873. package/test/resources/9999999/mobileMessage/post-update-expected.amp +0 -1
  874. package/test/resources/9999999/mobileMessage/post-update-expected.json +0 -58
  875. package/test/resources/9999999/mobileMessage/template-expected.amp +0 -6
  876. package/test/resources/9999999/mobileMessage/template-expected.json +0 -57
  877. package/test/resources/9999999/program/retrieve-CustomerKey=testExisting_automation-response.xml +0 -30
  878. package/test/resources/9999999/program/retrieve-CustomerKey=testExisting_automation_fixKey_pause-response.xml +0 -32
  879. package/test/resources/9999999/program/retrieve-CustomerKey=testExisting_automation_fixKey_schedule-response.xml +0 -32
  880. package/test/resources/9999999/program/retrieve-CustomerKey=testExisting_automation_fixedKey_paused-response.xml +0 -32
  881. package/test/resources/9999999/program/retrieve-CustomerKey=testExisting_automation_fixedKey_scheduled-response.xml +0 -32
  882. package/test/resources/9999999/program/retrieve-CustomerKey=testExisting_automation_pause-response.xml +0 -30
  883. package/test/resources/9999999/program/retrieve-CustomerKey=testNew_automation-response.xml +0 -30
  884. package/test/resources/9999999/program/retrieve-Name=testExisting_automation-response.xml +0 -31
  885. package/test/resources/9999999/program/retrieve-response.xml +0 -62
  886. package/test/resources/9999999/query/build-expected.json +0 -8
  887. package/test/resources/9999999/query/build-expected.sql +0 -7
  888. package/test/resources/9999999/query/clone-expected.json +0 -8
  889. package/test/resources/9999999/query/clone-expected.sql +0 -7
  890. package/test/resources/9999999/query/get-expected.json +0 -11
  891. package/test/resources/9999999/query/get-expected.sql +0 -7
  892. package/test/resources/9999999/query/get2-expected.json +0 -11
  893. package/test/resources/9999999/query/patch-expected.json +0 -11
  894. package/test/resources/9999999/query/patch-expected.sql +0 -6
  895. package/test/resources/9999999/query/patch_fixKeys-expected.json +0 -11
  896. package/test/resources/9999999/query/patch_fixKeys-expected.sql +0 -6
  897. package/test/resources/9999999/query/patch_fixKeysSuffix-expected.json +0 -11
  898. package/test/resources/9999999/query/patch_fixKeysSuffix-expected.sql +0 -6
  899. package/test/resources/9999999/query/post-expected.json +0 -11
  900. package/test/resources/9999999/query/post-expected.sql +0 -4
  901. package/test/resources/9999999/query/template-expected.json +0 -8
  902. package/test/resources/9999999/query/template-expected.sql +0 -7
  903. package/test/resources/9999999/queryDefinition/retrieve-CustomerKey=badANDStatus=Active-response.xml +0 -26
  904. package/test/resources/9999999/queryDefinition/retrieve-CustomerKey=testExisting_query2ANDStatus=Active-response.xml +0 -30
  905. package/test/resources/9999999/queryDefinition/retrieve-CustomerKey=testExisting_queryANDStatus=Active-response.xml +0 -30
  906. package/test/resources/9999999/queryDefinition/retrieve-CustomerKey=testExisting_query_fixKeysANDStatus=Active-response.xml +0 -30
  907. package/test/resources/9999999/queryDefinition/retrieve-CustomerKey=testExisting_query_fixKeysSuffixANDStatus=Active-response.xml +0 -30
  908. package/test/resources/9999999/queryDefinition/retrieve-CustomerKey=testExisting_query_fixedKeysANDStatus=Active-response.xml +0 -30
  909. package/test/resources/9999999/queryDefinition/retrieve-CustomerKey=testNew_queryANDStatus=Active-response.xml +0 -30
  910. package/test/resources/9999999/script/build-expected.json +0 -6
  911. package/test/resources/9999999/script/build-expected.ssjs +0 -1
  912. package/test/resources/9999999/script/get-expected.json +0 -8
  913. package/test/resources/9999999/script/get-expected.ssjs +0 -1
  914. package/test/resources/9999999/script/get_ampincluded-expected.html +0 -5
  915. package/test/resources/9999999/script/get_ampincluded-expected.json +0 -8
  916. package/test/resources/9999999/script/get_ampincluded-rcb-id-expected.html +0 -5
  917. package/test/resources/9999999/script/get_ampincluded-rcb-key-expected.html +0 -5
  918. package/test/resources/9999999/script/get_ampincluded-rcb-name-expected.html +0 -5
  919. package/test/resources/9999999/script/get_ampscript-expected.html +0 -11
  920. package/test/resources/9999999/script/get_ampscript-expected.json +0 -8
  921. package/test/resources/9999999/script/get_ampscript-rcb-id-expected.html +0 -9
  922. package/test/resources/9999999/script/get_ampscript-rcb-key-expected.html +0 -9
  923. package/test/resources/9999999/script/get_ampscript-rcb-name-expected.html +0 -13
  924. package/test/resources/9999999/script/get_mixed-expected.html +0 -12
  925. package/test/resources/9999999/script/get_mixed-expected.json +0 -8
  926. package/test/resources/9999999/script/get_mixed-rcb-id-expected.html +0 -12
  927. package/test/resources/9999999/script/get_mixed-rcb-key-expected.html +0 -12
  928. package/test/resources/9999999/script/get_mixed-rcb-name-expected.html +0 -14
  929. package/test/resources/9999999/script/get_noScriptTag-expected.html +0 -1
  930. package/test/resources/9999999/script/get_noScriptTag-expected.json +0 -8
  931. package/test/resources/9999999/script/patch-expected.json +0 -8
  932. package/test/resources/9999999/script/patch-expected.ssjs +0 -2
  933. package/test/resources/9999999/script/post-expected.json +0 -8
  934. package/test/resources/9999999/script/post-expected.ssjs +0 -1
  935. package/test/resources/9999999/script/template-expected.json +0 -6
  936. package/test/resources/9999999/script/template-expected.ssjs +0 -1
  937. package/test/resources/9999999/sendClassification/build-expected.json +0 -8
  938. package/test/resources/9999999/sendClassification/create-response.xml +0 -51
  939. package/test/resources/9999999/sendClassification/delete-response.xml +0 -36
  940. package/test/resources/9999999/sendClassification/get-expected.json +0 -10
  941. package/test/resources/9999999/sendClassification/patch-expected.json +0 -10
  942. package/test/resources/9999999/sendClassification/post-expected.json +0 -8
  943. package/test/resources/9999999/sendClassification/retrieve-response.xml +0 -86
  944. package/test/resources/9999999/sendClassification/template-expected.json +0 -8
  945. package/test/resources/9999999/sendClassification/update-response.xml +0 -49
  946. package/test/resources/9999999/senderProfile/build-expected.json +0 -15
  947. package/test/resources/9999999/senderProfile/create-response.xml +0 -50
  948. package/test/resources/9999999/senderProfile/delete-response.xml +0 -36
  949. package/test/resources/9999999/senderProfile/get-expected.json +0 -19
  950. package/test/resources/9999999/senderProfile/get-rcb-id-expected.json +0 -19
  951. package/test/resources/9999999/senderProfile/get-rcb-key-expected.json +0 -19
  952. package/test/resources/9999999/senderProfile/get-rcb-name-expected.json +0 -19
  953. package/test/resources/9999999/senderProfile/patch-expected.json +0 -19
  954. package/test/resources/9999999/senderProfile/post-expected.json +0 -15
  955. package/test/resources/9999999/senderProfile/retrieve-CustomerKey=Default-response.xml +0 -49
  956. package/test/resources/9999999/senderProfile/retrieve-CustomerKey=wrong-key-response.xml +0 -26
  957. package/test/resources/9999999/senderProfile/retrieve-response.xml +0 -95
  958. package/test/resources/9999999/senderProfile/template-expected.json +0 -15
  959. package/test/resources/9999999/senderProfile/update-response.xml +0 -48
  960. package/test/resources/9999999/transactionalEmail/build-expected.json +0 -18
  961. package/test/resources/9999999/transactionalEmail/create-publish-expected.json +0 -20
  962. package/test/resources/9999999/transactionalEmail/get-expected.json +0 -20
  963. package/test/resources/9999999/transactionalEmail/get-published-expected.json +0 -20
  964. package/test/resources/9999999/transactionalEmail/patch-expected.json +0 -20
  965. package/test/resources/9999999/transactionalEmail/post-expected.json +0 -20
  966. package/test/resources/9999999/transactionalEmail/template-expected.json +0 -18
  967. package/test/resources/9999999/transactionalPush/build-expected.json +0 -8
  968. package/test/resources/9999999/transactionalPush/get-expected.json +0 -11
  969. package/test/resources/9999999/transactionalPush/patch-expected.json +0 -14
  970. package/test/resources/9999999/transactionalPush/post-expected.json +0 -14
  971. package/test/resources/9999999/transactionalPush/template-expected.json +0 -8
  972. package/test/resources/9999999/transactionalSMS/build-expected.amp +0 -108
  973. package/test/resources/9999999/transactionalSMS/build-expected.json +0 -12
  974. package/test/resources/9999999/transactionalSMS/get-expected.amp +0 -108
  975. package/test/resources/9999999/transactionalSMS/get-expected.json +0 -14
  976. package/test/resources/9999999/transactionalSMS/patch-expected.amp +0 -102
  977. package/test/resources/9999999/transactionalSMS/patch-expected.json +0 -14
  978. package/test/resources/9999999/transactionalSMS/post-expected.amp +0 -102
  979. package/test/resources/9999999/transactionalSMS/post-expected.json +0 -14
  980. package/test/resources/9999999/transactionalSMS/template-expected.amp +0 -108
  981. package/test/resources/9999999/transactionalSMS/template-expected.json +0 -12
  982. package/test/resources/9999999/triggeredSend/build-expected.json +0 -28
  983. package/test/resources/9999999/triggeredSend/get-expected.json +0 -28
  984. package/test/resources/9999999/triggeredSend/get-rcb-id-expected.json +0 -28
  985. package/test/resources/9999999/triggeredSend/get-rcb-key-expected.json +0 -28
  986. package/test/resources/9999999/triggeredSend/get-rcb-name-expected.json +0 -28
  987. package/test/resources/9999999/triggeredSend/patch-expected.json +0 -27
  988. package/test/resources/9999999/triggeredSend/post-expected.json +0 -27
  989. package/test/resources/9999999/triggeredSend/template-expected.json +0 -28
  990. package/test/resources/9999999/triggeredSendDefinition/create-response.xml +0 -79
  991. package/test/resources/9999999/triggeredSendDefinition/delete-response.xml +0 -36
  992. package/test/resources/9999999/triggeredSendDefinition/retrieve-CustomerKey=testExisting_triggeredSend-response.xml +0 -72
  993. package/test/resources/9999999/triggeredSendDefinition/retrieve-CustomerKey=testExisting_triggeredSend_rcb-response.xml +0 -72
  994. package/test/resources/9999999/triggeredSendDefinition/retrieve-TriggeredSendStatusINNew,Active,Inactive,Moved,Canceled-response.xml +0 -118
  995. package/test/resources/9999999/triggeredSendDefinition/retrieve-TriggeredSendStatusINdummy,Active-response.xml +0 -118
  996. package/test/resources/9999999/triggeredSendDefinition/update-response.xml +0 -78
  997. package/test/resources/9999999/triggeredSendSummary/get-expected.json +0 -24
  998. package/test/resources/9999999/triggeredSendSummary/retrieve-response.xml +0 -49
  999. package/test/resources/9999999/verification/build-expected.json +0 -11
  1000. package/test/resources/9999999/verification/get-expected.json +0 -12
  1001. package/test/resources/9999999/verification/patch-expected.json +0 -12
  1002. package/test/resources/9999999/verification/post-expected.json +0 -12
  1003. package/test/resources/9999999/verification/template-expected.json +0 -11
  1004. package/test/resources/auth.json +0 -32
  1005. package/test/resources/rest404-response.json +0 -5
  1006. package/test/resources/retrieve-response.xml +0 -21
  1007. package/test/type.asset.test.js +0 -1432
  1008. package/test/type.attributeGroup.test.js +0 -56
  1009. package/test/type.attributeSet.test.js +0 -56
  1010. package/test/type.automation.test.js +0 -1003
  1011. package/test/type.dataExtension.test.js +0 -419
  1012. package/test/type.dataExtensionField.test.js +0 -81
  1013. package/test/type.dataExtract.test.js +0 -186
  1014. package/test/type.dataFilter.test.js +0 -182
  1015. package/test/type.deliveryProfile.test.js +0 -45
  1016. package/test/type.domainVerification.test.js +0 -169
  1017. package/test/type.emailSend.test.js +0 -144
  1018. package/test/type.event.test.js +0 -346
  1019. package/test/type.fileLocation.test.js +0 -279
  1020. package/test/type.fileTransfer.test.js +0 -183
  1021. package/test/type.filter.test.js +0 -177
  1022. package/test/type.folder.test.js +0 -264
  1023. package/test/type.importFile.test.js +0 -223
  1024. package/test/type.journey.test.js +0 -1547
  1025. package/test/type.mobileKeyword.test.js +0 -279
  1026. package/test/type.mobileMessage.test.js +0 -206
  1027. package/test/type.query.test.js +0 -934
  1028. package/test/type.script.test.js +0 -674
  1029. package/test/type.sendClassification.test.js +0 -156
  1030. package/test/type.senderProfile.test.js +0 -320
  1031. package/test/type.transactionalEmail.test.js +0 -162
  1032. package/test/type.transactionalPush.test.js +0 -160
  1033. package/test/type.transactionalSMS.test.js +0 -222
  1034. package/test/type.triggeredSend.test.js +0 -397
  1035. package/test/type.triggeredSendSummary.test.js +0 -45
  1036. package/test/type.user.test.js +0 -221
  1037. package/test/type.verification.test.js +0 -169
  1038. package/test/utils.js +0 -426
  1039. package/tsconfig.json +0 -26
  1040. package/tsconfig.npmScripts.json +0 -12
  1041. package/tsconfig.precommit.json +0 -26
@@ -1,1003 +0,0 @@
1
- import * as chai from 'chai';
2
- const assert = chai.assert;
3
- const expect = chai.expect;
4
-
5
- import chaiFiles from 'chai-files';
6
- import cache from '../lib/util/cache.js';
7
- import * as testUtils from './utils.js';
8
- import handler from '../lib/index.js';
9
- chai.use(chaiFiles);
10
-
11
- describe('type: automation', () => {
12
- beforeEach(() => {
13
- testUtils.mockSetup();
14
- });
15
-
16
- afterEach(() => {
17
- testUtils.mockReset();
18
- });
19
-
20
- describe('Retrieve ================', () => {
21
- it('Should retrieve a automation', async () => {
22
- // WHEN
23
- await handler.retrieve('testInstance/testBU', ['automation']);
24
- // THEN
25
- assert.equal(process.exitCode, 0, 'retrieve should not have thrown an error');
26
- // get results from cache
27
- const result = cache.getCache();
28
- assert.equal(
29
- result.automation ? Object.keys(result.automation).length : 0,
30
- 6,
31
- 'unexpected number of automations'
32
- );
33
- assert.deepEqual(
34
- await testUtils.getActualJson('testExisting_automation', 'automation'),
35
- await testUtils.getExpectedJson('9999999', 'automation', 'retrieve'),
36
-
37
- 'returned metadata was not equal expected'
38
- );
39
- // check if MD file was created and equals expectations
40
- expect(await testUtils.getActualDoc('testExisting_automation', 'automation')).to.equal(
41
- await testUtils.getExpectedFile(
42
- '9999999',
43
- 'automation',
44
- 'retrieve-testExisting_automation',
45
- 'md'
46
- )
47
- );
48
- assert.deepEqual(
49
- await testUtils.getActualJson('testExisting_automation_wait', 'automation'),
50
- await testUtils.getExpectedJson('9999999', 'automation', 'retrieve-wait'),
51
-
52
- 'returned metadata was not equal expected'
53
- );
54
- expect(
55
- await testUtils.getActualDoc('testExisting_automation_wait', 'automation')
56
- ).to.equal(
57
- await testUtils.getExpectedFile('9999999', 'automation', 'retrieve-wait', 'md')
58
- );
59
- assert.equal(
60
- testUtils.getAPIHistoryLength(),
61
- 34,
62
- 'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
63
- );
64
- return;
65
- });
66
- });
67
-
68
- describe('Deploy ================', () => {
69
- beforeEach(() => {
70
- testUtils.mockSetup(true);
71
- });
72
-
73
- it('Should create & update a automation', async () => {
74
- // WHEN
75
- const deployResult = await handler.deploy(
76
- 'testInstance/testBU',
77
- ['automation', 'verification'],
78
- ['testExisting_automation', 'testNew_automation', 'testNew_automation__s1.7']
79
- );
80
- // THEN
81
- assert.equal(process.exitCode, 0, 'deploy should not have thrown an error');
82
-
83
- // check how many items were deployed
84
- assert.equal(
85
- deployResult['testInstance/testBU']?.automation
86
- ? Object.keys(deployResult['testInstance/testBU']?.automation).length
87
- : 0,
88
- 2,
89
- 'two automations to be deployed'
90
- );
91
-
92
- // get results from cache
93
- const cacheResult = cache.getCache();
94
- assert.equal(
95
- cacheResult.automation ? Object.keys(cacheResult.automation).length : 0,
96
- 7,
97
- 'unexpected number of automations in cache'
98
- );
99
- // get what was sent to the server API
100
- const createCallout = testUtils.getRestCallout('post', '/automation/v1/automations/%');
101
- const updateCallout = testUtils.getRestCallout('patch', '/automation/v1/automations/%');
102
-
103
- // insert
104
- assert.deepEqual(
105
- createCallout,
106
- await testUtils.getExpectedJson('9999999', 'automation', 'create-callout'),
107
- 'sent metadata was not equal expected for create'
108
- );
109
- assert.deepEqual(
110
- await testUtils.getActualJson('testNew_automation', 'automation'),
111
- await testUtils.getExpectedJson('9999999', 'automation', 'create'),
112
- 'returned metadata was not equal expected for create'
113
- );
114
- // update
115
- assert.deepEqual(
116
- updateCallout,
117
- await testUtils.getExpectedJson('9999999', 'automation', 'update-callout'),
118
- 'sent metadata was not equal expected for create'
119
- );
120
- assert.deepEqual(
121
- await testUtils.getActualJson('testExisting_automation', 'automation'),
122
- await testUtils.getExpectedJson('9999999', 'automation', 'update'),
123
- 'returned metadata was not equal expected for update'
124
- );
125
- // check if MD file was created and equals expectations
126
- expect(await testUtils.getActualDoc('testExisting_automation', 'automation')).to.equal(
127
- await testUtils.getExpectedFile(
128
- '9999999',
129
- 'automation',
130
- 'update-testExisting_automation',
131
- 'md'
132
- )
133
- );
134
-
135
- // check if MD file was created and equals expectations
136
- expect(await testUtils.getActualDoc('testNew_automation', 'automation')).to.equal(
137
- await testUtils.getExpectedFile(
138
- '9999999',
139
- 'automation',
140
- 'create-testNew_automation',
141
- 'md'
142
- )
143
- );
144
-
145
- assert.equal(
146
- testUtils.getAPIHistoryLength(),
147
- 52,
148
- 'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
149
- );
150
- return;
151
- });
152
-
153
- it('Should update & schedule an automation with --schedule option', async () => {
154
- // WHEN
155
- handler.setOptions({ schedule: true });
156
- const deployed = await handler.deploy(
157
- 'testInstance/testBU',
158
- ['automation', 'verification'],
159
- ['testExisting_automation', 'testNew_automation', 'testNew_automation__s1.7']
160
- );
161
- // THEN
162
- assert.equal(
163
- process.exitCode,
164
- 0,
165
- 'deploy with --execute should not have thrown an error'
166
- );
167
-
168
- // get results from cache
169
- const cached = cache.getCache();
170
- assert.equal(
171
- cached.automation ? Object.keys(cached.automation).length : 0,
172
- 7,
173
- 'unexpected number of automations in cache'
174
- );
175
-
176
- assert.equal(
177
- deployed['testInstance/testBU'].automation
178
- ? Object.keys(deployed['testInstance/testBU'].automation).length
179
- : 0,
180
- 2,
181
- 'two deployed automation expected'
182
- );
183
- assert.equal(
184
- deployed['testInstance/testBU'].automation
185
- ? Object.keys(deployed['testInstance/testBU'].automation)[0]
186
- : null,
187
- 'testNew_automation',
188
- 'expected specific automation to have been deployed'
189
- );
190
- assert.equal(
191
- deployed['testInstance/testBU'].automation
192
- ? Object.keys(deployed['testInstance/testBU'].automation)[1]
193
- : null,
194
- 'testExisting_automation',
195
- 'expected specific automation to have been deployed'
196
- );
197
-
198
- assert.deepEqual(
199
- await testUtils.getActualJson('testExisting_automation', 'automation'),
200
- await testUtils.getExpectedJson('9999999', 'automation', 'update'),
201
- 'returned metadata was not equal expected for update'
202
- );
203
- // check if MD file was created and equals expectations
204
- expect(await testUtils.getActualDoc('testExisting_automation', 'automation')).to.equal(
205
- await testUtils.getExpectedFile(
206
- '9999999',
207
- 'automation',
208
- 'update-testExisting_automation',
209
- 'md'
210
- )
211
- );
212
-
213
- assert.equal(
214
- testUtils.getAPIHistoryLength(),
215
- 56,
216
- 'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
217
- );
218
- return;
219
- });
220
-
221
- it('Should update & runOnce an automation with --execute option', async () => {
222
- // WHEN
223
- handler.setOptions({ execute: true });
224
- const deployed = await handler.deploy(
225
- 'testInstance/testBU',
226
- ['automation', 'verification'],
227
- ['testExisting_automation', 'testNew_automation', 'testNew_automation__s1.7']
228
- );
229
- // THEN
230
- assert.equal(
231
- process.exitCode,
232
- 0,
233
- 'deploy with --execute should not have thrown an error'
234
- );
235
-
236
- // get results from cache
237
- const cached = cache.getCache();
238
- assert.equal(
239
- cached.automation ? Object.keys(cached.automation).length : 0,
240
- 7,
241
- 'unexpected number of automations in cache'
242
- );
243
- assert.equal(
244
- deployed['testInstance/testBU'].automation
245
- ? Object.keys(deployed['testInstance/testBU'].automation).length
246
- : 0,
247
- 2,
248
- 'two deployed automation expected'
249
- );
250
- assert.equal(
251
- deployed['testInstance/testBU'].automation
252
- ? Object.keys(deployed['testInstance/testBU'].automation)[0]
253
- : null,
254
- 'testNew_automation',
255
- 'expected specific automation to have been deployed'
256
- );
257
- assert.equal(
258
- deployed['testInstance/testBU'].automation
259
- ? Object.keys(deployed['testInstance/testBU'].automation)[1]
260
- : null,
261
- 'testExisting_automation',
262
- 'expected specific automation to have been deployed'
263
- );
264
- // update
265
- assert.deepEqual(
266
- await testUtils.getActualJson('testExisting_automation', 'automation'),
267
- await testUtils.getExpectedJson('9999999', 'automation', 'update'),
268
- 'returned metadata was not equal expected for update'
269
- );
270
- // check if MD file was created and equals expectations
271
- expect(await testUtils.getActualDoc('testExisting_automation', 'automation')).to.equal(
272
- await testUtils.getExpectedFile(
273
- '9999999',
274
- 'automation',
275
- 'update-testExisting_automation',
276
- 'md'
277
- )
278
- );
279
-
280
- assert.equal(
281
- testUtils.getAPIHistoryLength(),
282
- 56,
283
- 'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
284
- );
285
- return;
286
- });
287
- });
288
-
289
- describe('FixKeys ================', () => {
290
- beforeEach(() => {
291
- testUtils.mockSetup(true);
292
- });
293
-
294
- it('Should run fixKeys but not find fixable keys and hence stop', async () => {
295
- // WHEN
296
- handler.setOptions({ skipInteraction: { fixKeysReretrieve: false } });
297
- const resultFixKeys = await handler.fixKeys(
298
- 'testInstance/testBU',
299
- ['automation'],
300
- ['testExisting_automation']
301
- );
302
- // THEN
303
- assert.equal(process.exitCode, 0, 'fixKeys should not have thrown an error');
304
- // check which keys were fixed
305
- assert.equal(
306
- resultFixKeys['testInstance/testBU']['automation'].length,
307
- 0,
308
- 'expected to find no keys to be fixed'
309
- );
310
-
311
- // get results from cache
312
- const result = cache.getCache();
313
- assert.equal(
314
- result.automation ? Object.keys(result.automation).length : 0,
315
- 1,
316
- 'one automation expected'
317
- );
318
- // check number of API calls
319
- assert.equal(
320
- testUtils.getAPIHistoryLength(),
321
- 28,
322
- 'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
323
- );
324
- return;
325
- });
326
-
327
- it('Should fixKeys by key w/o re-retrieving, auto-schedule', async () => {
328
- // WHEN
329
- handler.setOptions({ skipInteraction: { fixKeysReretrieve: false } });
330
- const resultFixKeys = await handler.fixKeys(
331
- 'testInstance/testBU',
332
- ['automation'],
333
- ['testExisting_automation_fixKey_schedule', 'testExisting_automation']
334
- );
335
- assert.equal(
336
- resultFixKeys['testInstance/testBU']['automation'].length,
337
- 1,
338
- 'returned number of keys does not correspond to number of expected fixed keys'
339
- );
340
- assert.equal(
341
- resultFixKeys['testInstance/testBU']['automation'][0],
342
- 'testExisting_automation_fixedKey_scheduled',
343
- 'returned keys do not correspond to expected fixed keys'
344
- );
345
- // THEN
346
- assert.equal(process.exitCode, 0, 'fixKeys should not have thrown an error');
347
- // confirm updated item
348
- assert.deepEqual(
349
- await testUtils.getActualJson(
350
- 'testExisting_automation_fixedKey_scheduled',
351
- 'automation'
352
- ),
353
- await testUtils.getExpectedJson('9999999', 'automation', 'patch_fixKeys-schedule'),
354
- 'returned metadata was not equal expected for update automation'
355
- );
356
- expect(
357
- await testUtils.getActualDoc(
358
- 'testExisting_automation_fixedKey_scheduled',
359
- 'automation'
360
- )
361
- ).to.exist;
362
- // check number of API calls
363
- assert.equal(
364
- testUtils.getAPIHistoryLength(),
365
- 74,
366
- 'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
367
- );
368
- return;
369
- });
370
-
371
- it('Should fixKeys by key w/o re-retrieving, auto-schedule and then --execute', async () => {
372
- // WHEN
373
- handler.setOptions({ skipInteraction: { fixKeysReretrieve: false }, execute: true });
374
- const resultFixKeys = await handler.fixKeys(
375
- 'testInstance/testBU',
376
- ['automation'],
377
- ['testExisting_automation_fixKey_schedule', 'testExisting_automation']
378
- );
379
- assert.equal(
380
- resultFixKeys['testInstance/testBU']['automation'].length,
381
- 1,
382
- 'returned number of keys does not correspond to number of expected fixed keys'
383
- );
384
- assert.equal(
385
- resultFixKeys['testInstance/testBU']['automation'][0],
386
- 'testExisting_automation_fixedKey_scheduled',
387
- 'returned keys do not correspond to expected fixed keys'
388
- );
389
- // THEN
390
- assert.equal(process.exitCode, 0, 'fixKeys should not have thrown an error');
391
- // confirm updated item
392
- assert.deepEqual(
393
- await testUtils.getActualJson(
394
- 'testExisting_automation_fixedKey_scheduled',
395
- 'automation'
396
- ),
397
- await testUtils.getExpectedJson('9999999', 'automation', 'patch_fixKeys-schedule'),
398
- 'returned metadata was not equal expected for update automation'
399
- );
400
- expect(
401
- await testUtils.getActualDoc(
402
- 'testExisting_automation_fixedKey_scheduled',
403
- 'automation'
404
- )
405
- ).to.exist;
406
- // check number of API calls
407
- assert.equal(
408
- testUtils.getAPIHistoryLength(),
409
- 76,
410
- 'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
411
- );
412
- return;
413
- });
414
-
415
- it('Should fixKeys by key w/o re-retrieving, auto-schedule and then --schedule', async () => {
416
- // WHEN
417
- handler.setOptions({ skipInteraction: { fixKeysReretrieve: false }, schedule: true });
418
- const resultFixKeys = await handler.fixKeys(
419
- 'testInstance/testBU',
420
- ['automation'],
421
- ['testExisting_automation_fixKey_schedule', 'testExisting_automation']
422
- );
423
- assert.equal(
424
- resultFixKeys['testInstance/testBU']['automation'].length,
425
- 1,
426
- 'returned number of keys does not correspond to number of expected fixed keys'
427
- );
428
- assert.equal(
429
- resultFixKeys['testInstance/testBU']['automation'][0],
430
- 'testExisting_automation_fixedKey_scheduled',
431
- 'returned keys do not correspond to expected fixed keys'
432
- );
433
- // THEN
434
- assert.equal(process.exitCode, 0, 'fixKeys should not have thrown an error');
435
- // confirm updated item
436
- assert.deepEqual(
437
- await testUtils.getActualJson(
438
- 'testExisting_automation_fixedKey_scheduled',
439
- 'automation'
440
- ),
441
- await testUtils.getExpectedJson('9999999', 'automation', 'patch_fixKeys-schedule'),
442
- 'returned metadata was not equal expected for update automation'
443
- );
444
- expect(
445
- await testUtils.getActualDoc(
446
- 'testExisting_automation_fixedKey_scheduled',
447
- 'automation'
448
- )
449
- ).to.exist;
450
- // check number of API calls
451
- assert.equal(
452
- testUtils.getAPIHistoryLength(),
453
- 76,
454
- 'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
455
- );
456
- return;
457
- });
458
-
459
- it('Should fixKeys by key w/o re-retrieving, deploy paused', async () => {
460
- // WHEN
461
- handler.setOptions({ skipInteraction: { fixKeysReretrieve: false } });
462
- const resultFixKeys = await handler.fixKeys(
463
- 'testInstance/testBU',
464
- ['automation'],
465
- ['testExisting_automation_fixKey_pause']
466
- );
467
- assert.equal(
468
- resultFixKeys['testInstance/testBU']['automation'].length,
469
- 1,
470
- 'returned number of keys does not correspond to number of expected fixed keys'
471
- );
472
- assert.equal(
473
- resultFixKeys['testInstance/testBU']['automation'][0],
474
- 'testExisting_automation_fixedKey_paused',
475
- 'returned keys do not correspond to expected fixed keys'
476
- );
477
- // THEN
478
- assert.equal(process.exitCode, 0, 'fixKeys should not have thrown an error');
479
- // confirm updated item
480
- assert.deepEqual(
481
- await testUtils.getActualJson(
482
- 'testExisting_automation_fixedKey_paused',
483
- 'automation'
484
- ),
485
- await testUtils.getExpectedJson('9999999', 'automation', 'patch_fixKeys-pause'),
486
- 'returned metadata was not equal expected for update automation'
487
- );
488
- expect(
489
- await testUtils.getActualDoc(
490
- 'testExisting_automation_fixedKey_paused',
491
- 'automation'
492
- )
493
- ).to.exist;
494
- // check number of API calls
495
- assert.equal(
496
- testUtils.getAPIHistoryLength(),
497
- 69,
498
- 'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
499
- );
500
- return;
501
- });
502
-
503
- it('Should fixKeys by key w/o re-retrieving, deploy paused and then --execute', async () => {
504
- // WHEN
505
- handler.setOptions({ skipInteraction: { fixKeysReretrieve: false }, execute: true });
506
- const resultFixKeys = await handler.fixKeys(
507
- 'testInstance/testBU',
508
- ['automation'],
509
- ['testExisting_automation_fixKey_pause', 'testExisting_automation']
510
- );
511
- assert.equal(
512
- resultFixKeys['testInstance/testBU']['automation'].length,
513
- 1,
514
- 'returned number of keys does not correspond to number of expected fixed keys'
515
- );
516
- assert.equal(
517
- resultFixKeys['testInstance/testBU']['automation'][0],
518
- 'testExisting_automation_fixedKey_paused',
519
- 'returned keys do not correspond to expected fixed keys'
520
- );
521
- // THEN
522
- assert.equal(process.exitCode, 0, 'fixKeys should not have thrown an error');
523
- // confirm updated item
524
- assert.deepEqual(
525
- await testUtils.getActualJson(
526
- 'testExisting_automation_fixedKey_paused',
527
- 'automation'
528
- ),
529
- await testUtils.getExpectedJson('9999999', 'automation', 'patch_fixKeys-pause'),
530
- 'returned metadata was not equal expected for update automation'
531
- );
532
- expect(
533
- await testUtils.getActualDoc(
534
- 'testExisting_automation_fixedKey_paused',
535
- 'automation'
536
- )
537
- ).to.exist;
538
- // check number of API calls
539
- assert.equal(
540
- testUtils.getAPIHistoryLength(),
541
- 76,
542
- 'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
543
- );
544
- return;
545
- });
546
-
547
- it('Should fixKeys by key w/o re-retrieving, deploy paused and then --schedule', async () => {
548
- // WHEN
549
- handler.setOptions({ skipInteraction: { fixKeysReretrieve: false }, schedule: true });
550
- const resultFixKeys = await handler.fixKeys(
551
- 'testInstance/testBU',
552
- ['automation'],
553
- ['testExisting_automation_fixKey_pause', 'testExisting_automation']
554
- );
555
- assert.equal(
556
- resultFixKeys['testInstance/testBU']['automation'].length,
557
- 1,
558
- 'returned number of keys does not correspond to number of expected fixed keys'
559
- );
560
- assert.equal(
561
- resultFixKeys['testInstance/testBU']['automation'][0],
562
- 'testExisting_automation_fixedKey_paused',
563
- 'returned keys do not correspond to expected fixed keys'
564
- );
565
- // THEN
566
- assert.equal(process.exitCode, 0, 'fixKeys should not have thrown an error');
567
- // confirm updated item
568
- assert.deepEqual(
569
- await testUtils.getActualJson(
570
- 'testExisting_automation_fixedKey_paused',
571
- 'automation'
572
- ),
573
- await testUtils.getExpectedJson('9999999', 'automation', 'patch_fixKeys-pause'),
574
- 'returned metadata was not equal expected for update automation'
575
- );
576
- expect(
577
- await testUtils.getActualDoc(
578
- 'testExisting_automation_fixedKey_paused',
579
- 'automation'
580
- )
581
- ).to.exist;
582
- // check number of API calls
583
- assert.equal(
584
- testUtils.getAPIHistoryLength(),
585
- 76,
586
- 'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
587
- );
588
- return;
589
- });
590
- });
591
-
592
- describe('Templating ================', () => {
593
- it('Should create a automation template via retrieveAsTemplate and build it', async () => {
594
- // GIVEN there is a template
595
- const result = await handler.retrieveAsTemplate(
596
- 'testInstance/testBU',
597
- 'automation',
598
- ['testExisting_automation'],
599
- 'testSourceMarket'
600
- );
601
- assert.equal(process.exitCode, 0, 'retrieveAsTemplate should not have thrown an error');
602
-
603
- // WHEN
604
- assert.equal(
605
- result.automation ? Object.keys(result.automation).length : 0,
606
- 1,
607
- 'only one automation expected'
608
- );
609
- assert.deepEqual(
610
- await testUtils.getActualTemplateJson('testExisting_automation', 'automation'),
611
- await testUtils.getExpectedJson('9999999', 'automation', 'template'),
612
- 'returned template was not equal expected'
613
- );
614
- // THEN
615
- await handler.buildDefinition(
616
- 'testInstance/testBU',
617
- 'automation',
618
- ['testExisting_automation'],
619
- ['testTargetMarket']
620
- );
621
- assert.equal(process.exitCode, 0, 'buildDefinition should not have thrown an error');
622
- assert.deepEqual(
623
- await testUtils.getActualDeployJson('testTemplated_automation', 'automation'),
624
- await testUtils.getExpectedJson('9999999', 'automation', 'build'),
625
- 'returned deployment file was not equal expected'
626
- );
627
- assert.equal(
628
- testUtils.getAPIHistoryLength(),
629
- 30,
630
- 'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
631
- );
632
- return;
633
- });
634
-
635
- it('Should create a automation template via buildTemplate and build it', async () => {
636
- // download first before we test buildTemplate
637
- await handler.retrieve('testInstance/testBU', ['automation']);
638
- // GIVEN there is a template
639
- const result = await handler.buildTemplate(
640
- 'testInstance/testBU',
641
- 'automation',
642
- ['testExisting_automation'],
643
- ['testSourceMarket']
644
- );
645
- assert.equal(process.exitCode, 0, 'buildTemplate should not have thrown an error');
646
- // WHEN
647
- assert.equal(
648
- result.automation ? Object.keys(result.automation).length : 0,
649
- 1,
650
- 'only one automation expected'
651
- );
652
- assert.deepEqual(
653
- await testUtils.getActualTemplateJson('testExisting_automation', 'automation'),
654
- await testUtils.getExpectedJson('9999999', 'automation', 'template'),
655
- 'returned template was not equal expected'
656
- );
657
- // THEN
658
- await handler.buildDefinition(
659
- 'testInstance/testBU',
660
- 'automation',
661
- ['testExisting_automation'],
662
- ['testTargetMarket']
663
- );
664
- assert.equal(process.exitCode, 0, 'buildDefinition should not have thrown an error');
665
-
666
- assert.deepEqual(
667
- await testUtils.getActualDeployJson('testTemplated_automation', 'automation'),
668
- await testUtils.getExpectedJson('9999999', 'automation', 'build'),
669
- 'returned deployment file was not equal expected'
670
- );
671
- assert.equal(
672
- testUtils.getAPIHistoryLength(),
673
- 34,
674
- 'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
675
- );
676
- return;
677
- });
678
-
679
- it('Should create a automation template via buildTemplate with --dependencies', async () => {
680
- // download first before we test buildTemplate
681
- await handler.retrieve('testInstance/testBU');
682
- assert.equal(process.exitCode, 0, 'retrieve should not have thrown an error');
683
-
684
- const expectedApiCallsRetrieve = 109;
685
- assert.equal(
686
- testUtils.getAPIHistoryLength(),
687
- expectedApiCallsRetrieve,
688
- 'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
689
- );
690
-
691
- // preparation
692
- // set skipInteraction to true to skip re-retrieving question
693
- handler.setOptions({ dependencies: true, skipInteraction: true });
694
-
695
- // GIVEN there is a template
696
- const templateResult = await handler.buildTemplate(
697
- 'testInstance/testBU',
698
- 'automation',
699
- ['testExisting_automation'],
700
- ['testSourceMarket']
701
- );
702
- assert.equal(process.exitCode, 0, 'buildTemplate should not have thrown an error');
703
- // WHEN
704
- // check type list
705
- assert.deepEqual(
706
- Object.keys(templateResult),
707
- [
708
- 'automation',
709
- 'dataExtension',
710
- 'dataExtract',
711
- 'domainVerification',
712
- 'emailSend',
713
- 'fileTransfer',
714
- 'importFile',
715
- 'query',
716
- 'script',
717
- 'sendClassification',
718
- 'senderProfile',
719
- 'verification',
720
- ],
721
- 'did not create deployment packages for all relevant types'
722
- );
723
-
724
- assert.equal(
725
- templateResult.automation ? Object.keys(templateResult.automation).length : 0,
726
- 1,
727
- 'only one automation expected'
728
- );
729
- assert.deepEqual(
730
- await testUtils.getActualTemplateJson('testExisting_automation', 'automation'),
731
- await testUtils.getExpectedJson('9999999', 'automation', 'template'),
732
- 'returned template was not equal expected'
733
- );
734
- assert.equal(
735
- testUtils.getAPIHistoryLength() - expectedApiCallsRetrieve,
736
- 4,
737
- 'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
738
- );
739
- return;
740
- });
741
- });
742
-
743
- describe('Delete ================', () => {
744
- it('Should delete the item', async () => {
745
- // WHEN
746
- const isDeleted = await handler.deleteByKey(
747
- 'testInstance/testBU',
748
- 'automation',
749
- 'testExisting_automation'
750
- );
751
- // THEN
752
- assert.equal(process.exitCode, 0, 'delete should not have thrown an error');
753
-
754
- assert.equal(isDeleted, true, 'should have deleted the item');
755
- return;
756
- });
757
- });
758
-
759
- describe('CI/CD ================', () => {
760
- it('Should return a list of files based on their type and key', async () => {
761
- // WHEN
762
- const fileList = await handler.getFilesToCommit('testInstance/testBU', 'automation', [
763
- 'testExisting_automation',
764
- ]);
765
- // THEN
766
- assert.equal(process.exitCode, 0, 'getFilesToCommit should not have thrown an error');
767
- assert.equal(fileList.length, 2, 'expected only 2 file paths');
768
-
769
- assert.equal(
770
- fileList[0].split('\\').join('/'),
771
- 'retrieve/testInstance/testBU/automation/testExisting_automation.automation-meta.json',
772
- 'wrong JSON path'
773
- );
774
- assert.equal(
775
- fileList[1].split('\\').join('/'),
776
- 'retrieve/testInstance/testBU/automation/testExisting_automation.automation-doc.md',
777
- 'wrong MD path'
778
- );
779
- return;
780
- });
781
- });
782
-
783
- describe('Schedule ================', () => {
784
- it('Should schedule an automation by key', async () => {
785
- const scheduled = await handler.schedule(
786
- 'testInstance/testBU',
787
- ['automation'],
788
- ['testExisting_automation']
789
- );
790
- assert.equal(process.exitCode, 0, 'execute should not have thrown an error');
791
- assert.equal(
792
- scheduled['testInstance/testBU']?.automation?.length,
793
- 1,
794
- 'returned number of keys does not correspond to number of expected fixed keys'
795
- );
796
- assert.equal(
797
- scheduled['testInstance/testBU']?.automation[0],
798
- 'testExisting_automation',
799
- 'returned keys do not correspond to expected fixed keys'
800
- );
801
- return;
802
- });
803
-
804
- it('Should schedule an automation selected via --like', async () => {
805
- handler.setOptions({ like: { key: 'testExist%automation' } });
806
- const scheduled = await handler.schedule('testInstance/testBU', ['automation']);
807
- assert.equal(process.exitCode, 0, 'execute should not have thrown an error');
808
- assert.equal(
809
- scheduled['testInstance/testBU']?.automation?.length,
810
- 1,
811
- 'returned number of keys does not correspond to number of expected fixed keys'
812
- );
813
- assert.equal(
814
- scheduled['testInstance/testBU']?.automation[0],
815
- 'testExisting_automation',
816
- 'returned keys do not correspond to expected fixed keys'
817
- );
818
- return;
819
- });
820
-
821
- it('Should not schedule executing an automation because key and --like was specified', async () => {
822
- handler.setOptions({ like: { key: 'testExisting%' } });
823
- const scheduled = await handler.schedule(
824
- 'testInstance/testBU',
825
- ['automation'],
826
- ['testExisting_automation']
827
- );
828
- assert.equal(process.exitCode, 1, 'execute should have thrown an error');
829
- assert.equal(
830
- Object.keys(scheduled).length,
831
- 0,
832
- 'automation was not supposed to be executed'
833
- );
834
- return;
835
- });
836
- });
837
-
838
- describe('Execute ================', () => {
839
- it('Should execute --schedule an automation by key', async () => {
840
- handler.setOptions({ schedule: true });
841
- const executedKeys = await handler.execute(
842
- 'testInstance/testBU',
843
- ['automation'],
844
- ['testExisting_automation']
845
- );
846
- assert.equal(process.exitCode, 0, 'execute should not have thrown an error');
847
- assert.equal(
848
- executedKeys['testInstance/testBU']?.automation?.length,
849
- 1,
850
- 'returned number of keys does not correspond to number of expected fixed keys'
851
- );
852
- assert.equal(
853
- executedKeys['testInstance/testBU']?.automation[0],
854
- 'testExisting_automation',
855
- 'returned keys do not correspond to expected fixed keys'
856
- );
857
- return;
858
- });
859
-
860
- it('Should execute --schedule an automation selected via --like', async () => {
861
- handler.setOptions({ like: { key: 'testExist%automation' }, schedule: true });
862
- const executedKeys = await handler.execute('testInstance/testBU', ['automation']);
863
- assert.equal(process.exitCode, 0, 'execute should not have thrown an error');
864
- assert.equal(
865
- executedKeys['testInstance/testBU']?.automation?.length,
866
- 1,
867
- 'returned number of keys does not correspond to number of expected fixed keys'
868
- );
869
- assert.equal(
870
- executedKeys['testInstance/testBU']?.automation[0],
871
- 'testExisting_automation',
872
- 'returned keys do not correspond to expected fixed keys'
873
- );
874
- return;
875
- });
876
-
877
- it('Should not execute --schedule executing an automation because key and --like was specified', async () => {
878
- handler.setOptions({ like: { key: 'testExisting%' }, schedule: true });
879
- const executedKeys = await handler.execute(
880
- 'testInstance/testBU',
881
- ['automation'],
882
- ['testExisting_automation']
883
- );
884
- assert.equal(process.exitCode, 1, 'execute should have thrown an error');
885
- assert.equal(
886
- Object.keys(executedKeys).length,
887
- 0,
888
- 'automation was not supposed to be executed'
889
- );
890
- return;
891
- });
892
-
893
- it('Should runOnce an automation by key', async () => {
894
- const executedKeys = await handler.execute(
895
- 'testInstance/testBU',
896
- ['automation'],
897
- ['testExisting_automation']
898
- );
899
- assert.equal(process.exitCode, 0, 'execute should not have thrown an error');
900
- assert.equal(
901
- executedKeys['testInstance/testBU']?.automation?.length,
902
- 1,
903
- 'automation was supposed to be executed'
904
- );
905
- assert.equal(
906
- executedKeys['testInstance/testBU']?.automation[0],
907
- 'testExisting_automation',
908
- 'returned keys do not correspond to expected fixed keys'
909
- );
910
- return;
911
- });
912
-
913
- it('Should runOnce an automation selected via --like', async () => {
914
- handler.setOptions({ like: { key: 'testExist%automation' } });
915
- const executedKeys = await handler.execute('testInstance/testBU', ['automation']);
916
- assert.equal(process.exitCode, 0, 'execute should not have thrown an error');
917
- assert.equal(
918
- executedKeys['testInstance/testBU']?.automation?.length,
919
- 1,
920
- 'automation was supposed to be executed'
921
- );
922
- assert.equal(
923
- executedKeys['testInstance/testBU']?.automation[0],
924
- 'testExisting_automation',
925
- 'returned keys do not correspond to expected fixed keys'
926
- );
927
-
928
- return;
929
- });
930
-
931
- it('Should not runOnce executing an automation because key and --like was specified', async () => {
932
- handler.setOptions({ like: { key: 'testExisting%' } });
933
- const executedKeys = await handler.execute(
934
- 'testInstance/testBU',
935
- ['automation'],
936
- ['testExisting_automation']
937
- );
938
- assert.equal(process.exitCode, 1, 'execute should have thrown an error');
939
- assert.equal(
940
- Object.keys(executedKeys).length,
941
- 0,
942
- 'automation was not supposed to be executed'
943
- );
944
-
945
- return;
946
- });
947
- });
948
-
949
- describe('Pause ================', () => {
950
- it('Should pause a automation by key', async () => {
951
- const pausedKeys = await handler.pause(
952
- 'testInstance/testBU',
953
- ['automation'],
954
- ['testExisting_automation_pause']
955
- );
956
- assert.equal(process.exitCode, 0, 'pause should not have thrown an error');
957
- assert.equal(
958
- pausedKeys['testInstance/testBU']?.automation?.length,
959
- 1,
960
- 'returned number of keys does not correspond to number of expected fixed keys'
961
- );
962
- assert.equal(
963
- pausedKeys['testInstance/testBU']?.automation[0],
964
- 'testExisting_automation_pause',
965
- 'returned keys do not correspond to expected fixed keys'
966
- );
967
- return;
968
- });
969
-
970
- it('Should pause a automation selected via --like', async () => {
971
- handler.setOptions({ like: { key: 'testExisting_a%n_pause' } });
972
- const pausedKeys = await handler.pause('testInstance/testBU', ['automation']);
973
- assert.equal(process.exitCode, 0, 'pause should not have thrown an error');
974
- assert.equal(
975
- pausedKeys['testInstance/testBU']?.automation?.length,
976
- 1,
977
- 'returned number of keys does not correspond to number of expected fixed keys'
978
- );
979
- assert.equal(
980
- pausedKeys['testInstance/testBU']?.automation[0],
981
- 'testExisting_automation_pause',
982
- 'returned keys do not correspond to expected fixed keys'
983
- );
984
- return;
985
- });
986
-
987
- it('Should not pause automation because key and --like was specified', async () => {
988
- handler.setOptions({ like: { key: 'testExisting_a%n_pause' } });
989
- const pausedKeys = await handler.pause(
990
- 'testInstance/testBU',
991
- ['automation'],
992
- ['testExisting_automation_pause']
993
- );
994
- assert.equal(process.exitCode, 1, 'pause should have thrown an error');
995
- assert.equal(
996
- Object.keys(pausedKeys).length,
997
- 0,
998
- 'returned number of keys does not correspond to number of expected fixed keys'
999
- );
1000
- return;
1001
- });
1002
- });
1003
- });