mcdev 9.0.3 → 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 (1049) 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 +2 -24
  22. package/@types/lib/metadataTypes/DataExtension.d.ts.map +1 -1
  23. package/@types/lib/metadataTypes/DataExtensionField.d.ts +1 -1
  24. package/@types/lib/metadataTypes/DataExtract.d.ts +1 -10
  25. package/@types/lib/metadataTypes/DataExtract.d.ts.map +1 -1
  26. package/@types/lib/metadataTypes/DataFilter.d.ts +6 -19
  27. package/@types/lib/metadataTypes/DataFilter.d.ts.map +1 -1
  28. package/@types/lib/metadataTypes/DeliveryProfile.d.ts.map +1 -1
  29. package/@types/lib/metadataTypes/DomainVerification.d.ts +1 -0
  30. package/@types/lib/metadataTypes/DomainVerification.d.ts.map +1 -1
  31. package/@types/lib/metadataTypes/Email.d.ts +0 -2
  32. package/@types/lib/metadataTypes/Email.d.ts.map +1 -1
  33. package/@types/lib/metadataTypes/Event.d.ts +6 -16
  34. package/@types/lib/metadataTypes/Event.d.ts.map +1 -1
  35. package/@types/lib/metadataTypes/FileLocation.d.ts.map +1 -1
  36. package/@types/lib/metadataTypes/FileTransfer.d.ts +1 -10
  37. package/@types/lib/metadataTypes/FileTransfer.d.ts.map +1 -1
  38. package/@types/lib/metadataTypes/Folder.d.ts +4 -4
  39. package/@types/lib/metadataTypes/Folder.d.ts.map +1 -1
  40. package/@types/lib/metadataTypes/ImportFile.d.ts +2 -12
  41. package/@types/lib/metadataTypes/ImportFile.d.ts.map +1 -1
  42. package/@types/lib/metadataTypes/Journey.d.ts +4 -4
  43. package/@types/lib/metadataTypes/Journey.d.ts.map +1 -1
  44. package/@types/lib/metadataTypes/List.d.ts +1 -1
  45. package/@types/lib/metadataTypes/MetadataType.d.ts +23 -36
  46. package/@types/lib/metadataTypes/MetadataType.d.ts.map +1 -1
  47. package/@types/lib/metadataTypes/MobileApplication.d.ts +189 -0
  48. package/@types/lib/metadataTypes/MobileApplication.d.ts.map +1 -0
  49. package/@types/lib/metadataTypes/MobileCode.d.ts.map +1 -1
  50. package/@types/lib/metadataTypes/MobileKeyword.d.ts +1 -11
  51. package/@types/lib/metadataTypes/MobileKeyword.d.ts.map +1 -1
  52. package/@types/lib/metadataTypes/MobileMessage.d.ts +23 -1
  53. package/@types/lib/metadataTypes/MobileMessage.d.ts.map +1 -1
  54. package/@types/lib/metadataTypes/MobilePush.d.ts +407 -0
  55. package/@types/lib/metadataTypes/MobilePush.d.ts.map +1 -0
  56. package/@types/lib/metadataTypes/MobilePushApp.d.ts +189 -0
  57. package/@types/lib/metadataTypes/MobilePushApp.d.ts.map +1 -0
  58. package/@types/lib/metadataTypes/Query.d.ts +1 -13
  59. package/@types/lib/metadataTypes/Query.d.ts.map +1 -1
  60. package/@types/lib/metadataTypes/Script.d.ts +1 -13
  61. package/@types/lib/metadataTypes/Script.d.ts.map +1 -1
  62. package/@types/lib/metadataTypes/SenderProfile.d.ts +7 -2
  63. package/@types/lib/metadataTypes/SenderProfile.d.ts.map +1 -1
  64. package/@types/lib/metadataTypes/User.d.ts.map +1 -1
  65. package/@types/lib/metadataTypes/definitions/Asset.definition.d.ts +51 -41
  66. package/@types/lib/metadataTypes/definitions/Campaign.definition.d.ts +1 -0
  67. package/@types/lib/metadataTypes/definitions/DataExtract.definition.d.ts +1 -0
  68. package/@types/lib/metadataTypes/definitions/DomainVerification.definition.d.ts +1 -0
  69. package/@types/lib/metadataTypes/definitions/FileTransfer.definition.d.ts +1 -0
  70. package/@types/lib/metadataTypes/definitions/Journey.definition.d.ts +2 -0
  71. package/@types/lib/metadataTypes/definitions/MobileApplication.definition.d.ts +122 -0
  72. package/@types/lib/metadataTypes/definitions/MobileApplication.definition.d.ts.map +1 -0
  73. package/@types/lib/metadataTypes/definitions/MobileMessage.definition.d.ts +6 -0
  74. package/@types/lib/metadataTypes/definitions/MobilePush.definition.d.ts +467 -0
  75. package/@types/lib/metadataTypes/definitions/MobilePush.definition.d.ts.map +1 -0
  76. package/@types/lib/metadataTypes/definitions/MobilePushApp.definition.d.ts +122 -0
  77. package/@types/lib/metadataTypes/definitions/MobilePushApp.definition.d.ts.map +1 -0
  78. package/@types/lib/metadataTypes/definitions/Query.definition.d.ts +1 -0
  79. package/@types/lib/metadataTypes/definitions/Script.definition.d.ts +1 -0
  80. package/@types/lib/util/auth.d.ts +30 -23
  81. package/@types/lib/util/auth.d.ts.map +1 -1
  82. package/@types/lib/util/cache.d.ts.map +1 -1
  83. package/@types/lib/util/cli.d.ts.map +1 -1
  84. package/@types/lib/util/config.d.ts.map +1 -1
  85. package/@types/lib/util/devops.d.ts +9 -0
  86. package/@types/lib/util/devops.d.ts.map +1 -1
  87. package/@types/lib/util/file.d.ts +32 -18
  88. package/@types/lib/util/file.d.ts.map +1 -1
  89. package/@types/lib/util/git.d.ts +155 -0
  90. package/@types/lib/util/git.d.ts.map +1 -0
  91. package/@types/lib/util/init.config.d.ts +30 -14
  92. package/@types/lib/util/init.config.d.ts.map +1 -1
  93. package/@types/lib/util/init.d.ts.map +1 -1
  94. package/@types/lib/util/init.git.d.ts +10 -0
  95. package/@types/lib/util/init.git.d.ts.map +1 -1
  96. package/@types/lib/util/init.npm.d.ts +9 -14
  97. package/@types/lib/util/init.npm.d.ts.map +1 -1
  98. package/@types/lib/util/isDeepEqual.d.ts +9 -0
  99. package/@types/lib/util/isDeepEqual.d.ts.map +1 -0
  100. package/@types/lib/util/jsonToTable.d.ts +9 -0
  101. package/@types/lib/util/jsonToTable.d.ts.map +1 -0
  102. package/@types/lib/util/migrations/assetV10.d.ts +70 -0
  103. package/@types/lib/util/migrations/assetV10.d.ts.map +1 -0
  104. package/@types/lib/util/progress.d.ts +249 -0
  105. package/@types/lib/util/progress.d.ts.map +1 -0
  106. package/@types/lib/util/sessionStore.d.ts +25 -0
  107. package/@types/lib/util/sessionStore.d.ts.map +1 -0
  108. package/@types/lib/util/topological-sort.d.ts +22 -0
  109. package/@types/lib/util/topological-sort.d.ts.map +1 -0
  110. package/@types/lib/util/util.d.ts +124 -83
  111. package/@types/lib/util/util.d.ts.map +1 -1
  112. package/@types/lib/util/validations.d.ts +15 -3
  113. package/@types/lib/util/validations.d.ts.map +1 -1
  114. package/@types/types/mcdev.d.d.ts +35 -22
  115. package/@types/types/mcdev.d.d.ts.map +1 -1
  116. package/README.md +6 -2
  117. package/boilerplate/files/.prettierignore +7 -0
  118. package/boilerplate/files/.prettierrc +1 -23
  119. package/boilerplate/files/.vscode/extensions.json +14 -13
  120. package/boilerplate/files/.vscode/settings.json +14 -8
  121. package/boilerplate/files/eslint.config.js +44 -175
  122. package/boilerplate/forcedUpdates.json +11 -0
  123. package/boilerplate/npm-dependencies.json +3 -5
  124. package/boilerplate/npmrc-template +1 -0
  125. package/lib/Builder.js +4 -12
  126. package/lib/Deployer.js +32 -29
  127. package/lib/MetadataTypeDefinitions.js +4 -0
  128. package/lib/MetadataTypeInfo.js +4 -0
  129. package/lib/Retriever.js +6 -31
  130. package/lib/cli.js +101 -82
  131. package/lib/index.js +223 -164
  132. package/lib/metadataTypes/Asset.js +958 -307
  133. package/lib/metadataTypes/AttributeGroup.js +1 -6
  134. package/lib/metadataTypes/AttributeSet.js +1 -1
  135. package/lib/metadataTypes/Automation.js +95 -162
  136. package/lib/metadataTypes/Campaign.js +1 -6
  137. package/lib/metadataTypes/DataExtension.js +33 -132
  138. package/lib/metadataTypes/DataExtensionField.js +1 -1
  139. package/lib/metadataTypes/DataExtract.js +1 -56
  140. package/lib/metadataTypes/DataExtractType.js +1 -1
  141. package/lib/metadataTypes/DataFilter.js +23 -9
  142. package/lib/metadataTypes/DeliveryProfile.js +1 -6
  143. package/lib/metadataTypes/DomainVerification.js +1 -1
  144. package/lib/metadataTypes/Email.js +2 -4
  145. package/lib/metadataTypes/Event.js +7 -66
  146. package/lib/metadataTypes/FileLocation.js +1 -7
  147. package/lib/metadataTypes/FileTransfer.js +1 -56
  148. package/lib/metadataTypes/Filter.js +1 -1
  149. package/lib/metadataTypes/Folder.js +9 -9
  150. package/lib/metadataTypes/ImportFile.js +4 -59
  151. package/lib/metadataTypes/Journey.js +326 -129
  152. package/lib/metadataTypes/MetadataType.js +156 -174
  153. package/lib/metadataTypes/MobileCode.js +0 -1
  154. package/lib/metadataTypes/MobileKeyword.js +6 -39
  155. package/lib/metadataTypes/MobileMessage.js +111 -13
  156. package/lib/metadataTypes/MobilePush.js +456 -0
  157. package/lib/metadataTypes/MobilePushApp.js +118 -0
  158. package/lib/metadataTypes/Query.js +11 -37
  159. package/lib/metadataTypes/Script.js +1 -20
  160. package/lib/metadataTypes/SenderProfile.js +27 -23
  161. package/lib/metadataTypes/TransactionalMessage.js +1 -1
  162. package/lib/metadataTypes/TransactionalSMS.js +1 -1
  163. package/lib/metadataTypes/TriggeredSend.js +1 -1
  164. package/lib/metadataTypes/User.js +27 -23
  165. package/lib/metadataTypes/Verification.js +2 -2
  166. package/lib/metadataTypes/definitions/Asset.definition.js +94 -61
  167. package/lib/metadataTypes/definitions/Campaign.definition.js +1 -0
  168. package/lib/metadataTypes/definitions/DataExtract.definition.js +1 -0
  169. package/lib/metadataTypes/definitions/DomainVerification.definition.js +1 -0
  170. package/lib/metadataTypes/definitions/EmailSend.definition.js +2 -2
  171. package/lib/metadataTypes/definitions/FileTransfer.definition.js +1 -0
  172. package/lib/metadataTypes/definitions/Journey.definition.js +7 -3
  173. package/lib/metadataTypes/definitions/MobileMessage.definition.js +6 -0
  174. package/lib/metadataTypes/definitions/MobilePush.definition.js +308 -0
  175. package/lib/metadataTypes/definitions/MobilePushApp.definition.js +121 -0
  176. package/lib/metadataTypes/definitions/Query.definition.js +1 -0
  177. package/lib/metadataTypes/definitions/Script.definition.js +1 -0
  178. package/lib/metadataTypes/definitions/TransactionalEmail.definition.js +1 -1
  179. package/lib/metadataTypes/definitions/TransactionalPush.definition.js +1 -1
  180. package/lib/metadataTypes/definitions/TriggeredSend.definition.js +2 -2
  181. package/lib/retrieveChangelog.js +28 -26
  182. package/lib/util/auth.js +127 -83
  183. package/lib/util/businessUnit.js +1 -1
  184. package/lib/util/cache.js +4 -6
  185. package/lib/util/cli.js +16 -19
  186. package/lib/util/config.js +22 -21
  187. package/lib/util/devops.js +162 -77
  188. package/lib/util/file.js +213 -199
  189. package/lib/util/git.js +278 -0
  190. package/lib/util/init.config.js +149 -169
  191. package/lib/util/init.git.js +37 -13
  192. package/lib/util/init.js +24 -15
  193. package/lib/util/init.npm.js +103 -120
  194. package/lib/util/isDeepEqual.js +48 -0
  195. package/lib/util/jsonToTable.js +76 -0
  196. package/lib/util/migrations/assetV10.js +367 -0
  197. package/lib/util/progress.js +609 -0
  198. package/lib/util/sessionStore.js +219 -0
  199. package/lib/util/topological-sort.js +114 -0
  200. package/lib/util/util.js +203 -118
  201. package/lib/util/validations.js +17 -11
  202. package/package.json +121 -126
  203. package/scripts/verify-packed-package.mjs +90 -0
  204. package/scripts/verify-progress-fixture.mjs +362 -0
  205. package/types/init-declarations.type-test.js +10 -0
  206. package/types/mcdev.d.js +18 -12
  207. package/.beautyamp.json +0 -13
  208. package/.bitbucket/PULL_REQUEST_TEMPLATE.md +0 -19
  209. package/.coverage-comment-template.svelte +0 -194
  210. package/.editorconfig +0 -9
  211. package/.fork/.prettierrc +0 -6
  212. package/.fork/custom-commands.json +0 -140
  213. package/.gitattributes +0 -7
  214. package/.github/ISSUE_TEMPLATE/bug.yml +0 -150
  215. package/.github/ISSUE_TEMPLATE/feature_request.md +0 -20
  216. package/.github/ISSUE_TEMPLATE/task.md +0 -10
  217. package/.github/PULL_REQUEST_TEMPLATE/pr_template_release.md +0 -28
  218. package/.github/PULL_REQUEST_TEMPLATE.md +0 -16
  219. package/.github/copilot-instructions.md +0 -85
  220. package/.github/dependabot.yml +0 -23
  221. package/.github/pr-labeler.yml +0 -3
  222. package/.github/workflows/close_issues_on_merge.yml +0 -23
  223. package/.github/workflows/code-test.yml +0 -41
  224. package/.github/workflows/coverage-base-update.yml +0 -61
  225. package/.github/workflows/coverage-develop-branch.yml +0 -42
  226. package/.github/workflows/coverage-main-branch.yml +0 -42
  227. package/.github/workflows/coverage.yml +0 -82
  228. package/.github/workflows/npm-publish.yml +0 -85
  229. package/.github/workflows/pr-labeler.yml +0 -19
  230. package/.github/workflows/sync-milestone.yml +0 -55
  231. package/.husky/commit-msg +0 -8
  232. package/.husky/post-checkout +0 -38
  233. package/.husky/post-merge +0 -24
  234. package/.husky/pre-commit +0 -8
  235. package/.issuetracker +0 -15
  236. package/.markdownlint.json +0 -16
  237. package/.markdownlint.md +0 -4
  238. package/.nycrc.json +0 -5
  239. package/.prettierignore +0 -3
  240. package/.prettierrc +0 -33
  241. package/.vscode/extensions.json +0 -28
  242. package/.vscode/launch.json +0 -15
  243. package/.vscode/settings.json +0 -92
  244. package/.vsls.json +0 -6
  245. package/CONTRIBUTING.md +0 -22
  246. package/boilerplate/files/.beautyamp.json +0 -13
  247. package/docs/dist/considerations.md +0 -66
  248. package/eslint.config.js +0 -144
  249. package/img/README.md/cdp-1.jpg +0 -0
  250. package/img/README.md/troubleshoot-authentication.jpg +0 -0
  251. package/img/README.md/troubleshoot-execution_policy-2.png +0 -0
  252. package/img/README.md/troubleshoot-execution_policy.jpg +0 -0
  253. package/img/README.md/troubleshoot-mac-sudo.png +0 -0
  254. package/img/README.md/troubleshoot-nodejs-index.jpg +0 -0
  255. package/img/README.md/troubleshoot-nodejs-permission.jpg +0 -0
  256. package/img/README.md/troubleshoot-ssh.jpg +0 -0
  257. package/img/README.md/vscode-eslint-allow_everywhere.jpg +0 -0
  258. package/img/README.md/vscode-recommendations-1.png +0 -0
  259. package/img/README.md/vscode-recommendations-2.png +0 -0
  260. package/prepare-release.js +0 -37
  261. package/test/general.test.js +0 -2709
  262. package/test/mockRoot/.mcdev-auth.json +0 -8
  263. package/test/mockRoot/.mcdev-validations.js +0 -93
  264. package/test/mockRoot/.mcdevrc.json +0 -182
  265. package/test/mockRoot/deploy/testInstance/_ParentBU_/dataExtension/testExisting_dataExtensionShared.dataExtension-meta.json +0 -58
  266. package/test/mockRoot/deploy/testInstance/_ParentBU_/dataExtension/testNew_dataExtensionShared.dataExtension-meta.json +0 -20
  267. package/test/mockRoot/deploy/testInstance/_ParentBU_/query/testNew_query.query-meta.json +0 -11
  268. package/test/mockRoot/deploy/testInstance/_ParentBU_/query/testNew_query.query-meta.sql +0 -4
  269. package/test/mockRoot/deploy/testInstance/_ParentBU_/user/testBlocked_user.user-meta.json +0 -23
  270. package/test/mockRoot/deploy/testInstance/_ParentBU_/user/testExisting_user.user-meta.json +0 -31
  271. package/test/mockRoot/deploy/testInstance/_ParentBU_/user/testNew_user.user-meta.json +0 -27
  272. package/test/mockRoot/deploy/testInstance/testBU/asset/block/testExisting_asset_html-matchNamFail.asset-block-meta.html +0 -23
  273. package/test/mockRoot/deploy/testInstance/testBU/asset/block/testExisting_asset_html-matchNamFail.asset-block-meta.json +0 -41
  274. package/test/mockRoot/deploy/testInstance/testBU/asset/block/testExisting_asset_html-matchName.asset-block-meta.html +0 -23
  275. package/test/mockRoot/deploy/testInstance/testBU/asset/block/testExisting_asset_html-matchName.asset-block-meta.json +0 -41
  276. package/test/mockRoot/deploy/testInstance/testBU/asset/block/testExisting_asset_html-matchNameAdd.asset-block-meta.html +0 -23
  277. package/test/mockRoot/deploy/testInstance/testBU/asset/block/testExisting_asset_html-matchNameAdd.asset-block-meta.json +0 -41
  278. package/test/mockRoot/deploy/testInstance/testBU/asset/block/testNew_asset.asset-block-meta.html +0 -12
  279. package/test/mockRoot/deploy/testInstance/testBU/asset/block/testNew_asset.asset-block-meta.json +0 -39
  280. package/test/mockRoot/deploy/testInstance/testBU/asset/block/testNew_asset_htmlblock.asset-block-meta.html +0 -1
  281. package/test/mockRoot/deploy/testInstance/testBU/asset/block/testNew_asset_htmlblock.asset-block-meta.json +0 -39
  282. package/test/mockRoot/deploy/testInstance/testBU/asset/block/testNew_asset_withCBBK_notexisting.asset-block-meta.html +0 -4
  283. package/test/mockRoot/deploy/testInstance/testBU/asset/block/testNew_asset_withCBBK_notexisting.asset-block-meta.json +0 -39
  284. package/test/mockRoot/deploy/testInstance/testBU/asset/block/testNew_asset_withCBBK_preexisting.asset-block-meta.html +0 -4
  285. package/test/mockRoot/deploy/testInstance/testBU/asset/block/testNew_asset_withCBBK_preexisting.asset-block-meta.json +0 -39
  286. package/test/mockRoot/deploy/testInstance/testBU/asset/block/test_slash.asset-block-meta.html +0 -12
  287. package/test/mockRoot/deploy/testInstance/testBU/asset/block/test_slash.asset-block-meta.json +0 -29
  288. package/test/mockRoot/deploy/testInstance/testBU/asset/message/testNew_assetMessage/testNew_assetMessage.asset-message-meta.json +0 -435
  289. package/test/mockRoot/deploy/testInstance/testBU/asset/message/testNew_assetMessage/views.html.content.asset-message-meta.html +0 -150
  290. package/test/mockRoot/deploy/testInstance/testBU/asset/message/testNew_asset_templatebasedemail/testNew_asset_templatebasedemail.asset-message-meta.json +0 -305
  291. package/test/mockRoot/deploy/testInstance/testBU/asset/message/testNew_asset_templatebasedemail/views.html.content.asset-message-meta.html +0 -150
  292. package/test/mockRoot/deploy/testInstance/testBU/asset/template/testNew_asset_template/content.asset-template-meta.html +0 -150
  293. package/test/mockRoot/deploy/testInstance/testBU/asset/template/testNew_asset_template/testNew_asset_template.asset-template-meta.json +0 -116
  294. package/test/mockRoot/deploy/testInstance/testBU/automation/testExisting_automation.automation-meta.json +0 -52
  295. package/test/mockRoot/deploy/testInstance/testBU/automation/testNew_automation.automation-meta.json +0 -49
  296. package/test/mockRoot/deploy/testInstance/testBU/dataExtension/testExisting_dataExtension.dataExtension-meta.json +0 -59
  297. package/test/mockRoot/deploy/testInstance/testBU/dataExtension/testNew_dataExtension.dataExtension-meta.json +0 -20
  298. package/test/mockRoot/deploy/testInstance/testBU/dataExtract/testExisting_dataExtract.dataExtract-meta.json +0 -35
  299. package/test/mockRoot/deploy/testInstance/testBU/dataExtract/testNew_dataExtract.dataExtract-meta.json +0 -35
  300. package/test/mockRoot/deploy/testInstance/testBU/dataFilter/testExisting_dataFilter.dataFilter-meta.json +0 -19
  301. package/test/mockRoot/deploy/testInstance/testBU/dataFilter/testNew_dataFilter.dataFilter-meta.json +0 -19
  302. package/test/mockRoot/deploy/testInstance/testBU/domainVerification/joern.berkefeld.New@accenture.com.domainVerification-meta.json +0 -6
  303. package/test/mockRoot/deploy/testInstance/testBU/domainVerification/joern.berkefeld@accenture.com.domainVerification-meta.json +0 -6
  304. package/test/mockRoot/deploy/testInstance/testBU/domainVerification/mcdev.accenture.com.domainVerification-meta.json +0 -6
  305. package/test/mockRoot/deploy/testInstance/testBU/emailSend/testExisting_emailSend.emailSend-meta.json +0 -36
  306. package/test/mockRoot/deploy/testInstance/testBU/emailSend/testNew_emailSend.emailSend-meta.json +0 -36
  307. package/test/mockRoot/deploy/testInstance/testBU/event/testExisting_event.event-meta.json +0 -201
  308. package/test/mockRoot/deploy/testInstance/testBU/event/testNew_event_withExistingDE.event-meta.json +0 -233
  309. package/test/mockRoot/deploy/testInstance/testBU/event/testNew_event_withSchema.event-meta.json +0 -194
  310. package/test/mockRoot/deploy/testInstance/testBU/fileLocation/ExactTarget Enhanced FTP.fileLocation-meta.json +0 -5
  311. package/test/mockRoot/deploy/testInstance/testBU/fileLocation/testExisting_fileLocation_aws.fileLocation-meta.json +0 -14
  312. package/test/mockRoot/deploy/testInstance/testBU/fileLocation/testExisting_fileLocation_exsftp.fileLocation-meta.json +0 -12
  313. package/test/mockRoot/deploy/testInstance/testBU/fileTransfer/testExisting_fileTransfer.fileTransfer-meta.json +0 -17
  314. package/test/mockRoot/deploy/testInstance/testBU/fileTransfer/testNew_fileTransfer.fileTransfer-meta.json +0 -17
  315. package/test/mockRoot/deploy/testInstance/testBU/filter/testExisting_filter.filter-meta.json +0 -10
  316. package/test/mockRoot/deploy/testInstance/testBU/filter/testNew_filter.filter-meta.json +0 -11
  317. package/test/mockRoot/deploy/testInstance/testBU/importFile/testExisting_importFile.importFile-meta.json +0 -36
  318. package/test/mockRoot/deploy/testInstance/testBU/importFile/testNew_importFile.importFile-meta.json +0 -34
  319. package/test/mockRoot/deploy/testInstance/testBU/journey/testExisting_journey_Multistep.journey-meta.json +0 -418
  320. package/test/mockRoot/deploy/testInstance/testBU/journey/testExisting_journey_Quicksend.journey-meta.json +0 -232
  321. package/test/mockRoot/deploy/testInstance/testBU/journey/testExisting_journey_updatecontact.journey-meta.json +0 -108
  322. package/test/mockRoot/deploy/testInstance/testBU/journey/testExisting_journey_updatecontact_sharedDE.journey-meta.json +0 -108
  323. package/test/mockRoot/deploy/testInstance/testBU/journey/testExisting_temail.journey-meta.json +0 -212
  324. package/test/mockRoot/deploy/testInstance/testBU/journey/testExisting_temail_notPublished.journey-meta.json +0 -217
  325. package/test/mockRoot/deploy/testInstance/testBU/journey/testNew_temail_notPublished.journey-meta.json +0 -213
  326. package/test/mockRoot/deploy/testInstance/testBU/mobileKeyword/4912312345678.TESTNEW_KEYWORD.mobileKeyword-meta.amp +0 -2
  327. package/test/mockRoot/deploy/testInstance/testBU/mobileKeyword/4912312345678.TESTNEW_KEYWORD.mobileKeyword-meta.json +0 -8
  328. package/test/mockRoot/deploy/testInstance/testBU/mobileKeyword/4912312345678.TESTNEW_KEYWORD_BLOCKED.mobileKeyword-meta.amp +0 -2
  329. package/test/mockRoot/deploy/testInstance/testBU/mobileKeyword/4912312345678.TESTNEW_KEYWORD_BLOCKED.mobileKeyword-meta.json +0 -8
  330. package/test/mockRoot/deploy/testInstance/testBU/mobileMessage/NTIzOjc4OjA.mobileMessage-meta.amp +0 -1
  331. package/test/mockRoot/deploy/testInstance/testBU/mobileMessage/NTIzOjc4OjA.mobileMessage-meta.json +0 -59
  332. package/test/mockRoot/deploy/testInstance/testBU/mobileMessage/new.mobileMessage-meta.amp +0 -1
  333. package/test/mockRoot/deploy/testInstance/testBU/mobileMessage/new.mobileMessage-meta.json +0 -58
  334. package/test/mockRoot/deploy/testInstance/testBU/query/testExisting_query.query-meta.json +0 -11
  335. package/test/mockRoot/deploy/testInstance/testBU/query/testExisting_query.query-meta.sql +0 -6
  336. package/test/mockRoot/deploy/testInstance/testBU/query/testExisting_query_fixKeys.query-meta.json +0 -11
  337. package/test/mockRoot/deploy/testInstance/testBU/query/testExisting_query_fixKeys.query-meta.sql +0 -6
  338. package/test/mockRoot/deploy/testInstance/testBU/query/testNew_query.query-meta.json +0 -11
  339. package/test/mockRoot/deploy/testInstance/testBU/query/testNew_query.query-meta.sql +0 -4
  340. package/test/mockRoot/deploy/testInstance/testBU/script/testExisting_script.script-meta.json +0 -6
  341. package/test/mockRoot/deploy/testInstance/testBU/script/testExisting_script.script-meta.ssjs +0 -1
  342. package/test/mockRoot/deploy/testInstance/testBU/script/testNew_script.script-meta.json +0 -6
  343. package/test/mockRoot/deploy/testInstance/testBU/script/testNew_script.script-meta.ssjs +0 -1
  344. package/test/mockRoot/deploy/testInstance/testBU/sendClassification/testExisting_sendClassification.sendClassification-meta.json +0 -8
  345. package/test/mockRoot/deploy/testInstance/testBU/sendClassification/testNew_sendClassification.sendClassification-meta.json +0 -8
  346. package/test/mockRoot/deploy/testInstance/testBU/senderProfile/testExisting_senderProfile.senderProfile-meta.json +0 -15
  347. package/test/mockRoot/deploy/testInstance/testBU/senderProfile/testNew_senderProfile.senderProfile-meta.json +0 -15
  348. package/test/mockRoot/deploy/testInstance/testBU/transactionalEmail/testExisting_temail.transactionalEmail-meta.json +0 -20
  349. package/test/mockRoot/deploy/testInstance/testBU/transactionalEmail/testNew_temail.transactionalEmail-meta.json +0 -19
  350. package/test/mockRoot/deploy/testInstance/testBU/transactionalPush/testExisting_tpush.transactionalPush-meta.json +0 -16
  351. package/test/mockRoot/deploy/testInstance/testBU/transactionalPush/testNew_tpush.transactionalPush-meta.json +0 -16
  352. package/test/mockRoot/deploy/testInstance/testBU/transactionalSMS/testExisting_tsms.transactionalSMS-meta.amp +0 -4
  353. package/test/mockRoot/deploy/testInstance/testBU/transactionalSMS/testExisting_tsms.transactionalSMS-meta.json +0 -14
  354. package/test/mockRoot/deploy/testInstance/testBU/transactionalSMS/testNew_tsms.transactionalSMS-meta.amp +0 -4
  355. package/test/mockRoot/deploy/testInstance/testBU/transactionalSMS/testNew_tsms.transactionalSMS-meta.json +0 -14
  356. package/test/mockRoot/deploy/testInstance/testBU/triggeredSend/testExisting_triggeredSend.triggeredSend-meta.json +0 -27
  357. package/test/mockRoot/deploy/testInstance/testBU/triggeredSend/testNew_triggeredSend.triggeredSend-meta.json +0 -27
  358. package/test/mockRoot/deploy/testInstance/testBU/verification/testExisting_automation__s1.7.verification-meta.json +0 -11
  359. package/test/mockRoot/deploy/testInstance/testBU/verification/testNew_automation__s1.7.verification-meta.json +0 -11
  360. package/test/resourceFactory.js +0 -494
  361. package/test/resources/1111111/accountUser/configure-response.xml +0 -70
  362. package/test/resources/1111111/accountUser/create-response.xml +0 -97
  363. package/test/resources/1111111/accountUser/retrieve-ActiveFlag=falseANDCustomerKey=testExisting_userANDEmaillike@-QAA-response.xml +0 -27
  364. package/test/resources/1111111/accountUser/retrieve-ActiveFlag=falseANDEmaillike@-QAA-response.xml +0 -156
  365. package/test/resources/1111111/accountUser/retrieve-ActiveFlag=trueANDCustomerKey=testExisting_userANDEmaillike@-QAA-response.xml +0 -156
  366. package/test/resources/1111111/accountUser/retrieve-ActiveFlag=trueANDEmailisNullORNamelikeapp userANDMustChangePassword=false-QAA-response.xml +0 -87
  367. package/test/resources/1111111/accountUser/retrieve-ActiveFlag=trueANDEmaillike@-QAA-response.xml +0 -156
  368. package/test/resources/1111111/accountUser/update-response.xml +0 -111
  369. package/test/resources/1111111/accountUserAccount/retrieve-AccountUser.AccountUserID=700301950-response.xml +0 -60
  370. package/test/resources/1111111/accountUserAccount/retrieve-AccountUser.AccountUserIDIN700301950,700301951,7471228-response.xml +0 -77
  371. package/test/resources/1111111/automation/v1/queries/get-response.json +0 -6
  372. package/test/resources/1111111/automation/v1/queries/post-response.json +0 -18
  373. package/test/resources/1111111/businessUnit/retrieve-ID=1111111-QAA-response.xml +0 -33
  374. package/test/resources/1111111/data/v1/customobjectdata/key/testExisting_dataExtensionShared/rowset/get-response.json +0 -13
  375. package/test/resources/1111111/dataExtension/create-expected.json +0 -20
  376. package/test/resources/1111111/dataExtension/create-response.xml +0 -59
  377. package/test/resources/1111111/dataExtension/retrieve-expected.json +0 -53
  378. package/test/resources/1111111/dataExtension/retrieve-expected.md +0 -23
  379. package/test/resources/1111111/dataExtension/retrieve-response.xml +0 -52
  380. package/test/resources/1111111/dataExtension/template_sharedDE-expected.json +0 -53
  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 -92
  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 -249
  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_journey_updatecontact_sharedDE/get-response.json +0 -119
  774. package/test/resources/9999999/interaction/v1/interactions/key_testExisting_journey_updatecontact_sharedDE/put-response.json +0 -110
  775. package/test/resources/9999999/interaction/v1/interactions/key_testExisting_temail/get-response-versionNumber=1.json +0 -219
  776. package/test/resources/9999999/interaction/v1/interactions/key_testExisting_temail/get-response.json +0 -219
  777. package/test/resources/9999999/interaction/v1/interactions/key_testExisting_temail/put-response-paused.json +0 -219
  778. package/test/resources/9999999/interaction/v1/interactions/key_testExisting_temail/put-response.json +0 -219
  779. package/test/resources/9999999/interaction/v1/interactions/key_testExisting_temail_notPublished/get-response-versionNumber=1.json +0 -226
  780. package/test/resources/9999999/interaction/v1/interactions/key_testExisting_temail_notPublished/get-response.json +0 -226
  781. package/test/resources/9999999/interaction/v1/interactions/key_testExisting_temail_notPublished/put-response.json +0 -226
  782. package/test/resources/9999999/interaction/v1/interactions/key_testNew_temail_notPublished/get-response.json +0 -218
  783. package/test/resources/9999999/interaction/v1/interactions/post-response.json +0 -216
  784. package/test/resources/9999999/interaction/v1/interactions/publishAsync/0175b971-71a3-4d8e-98ac-48121f3fbf4f/post-response-versionNumber=1.json +0 -4
  785. package/test/resources/9999999/interaction/v1/interactions/publishAsync/0175b971-71a3-4d8e-98ac-48121f3fbf4f/post-response-versionNumber=3.json +0 -4
  786. package/test/resources/9999999/interaction/v1/interactions/publishStatus/45f06c0a-3ed2-48b2-a6a8-b5119253f01c/get-response-failed.json +0 -34
  787. package/test/resources/9999999/interaction/v1/interactions/publishStatus/45f06c0a-3ed2-48b2-a6a8-b5119253f01c/get-response-success.json +0 -5
  788. package/test/resources/9999999/interaction/v1/interactions/publishStatus/45f06c0a-3ed2-48b2-a6a8-b5119253f01c/get-response-successWarnings.json +0 -36
  789. package/test/resources/9999999/interaction/v1/interactions/transactional/create/post-response.json +0 -3
  790. package/test/resources/9999999/interaction/v1/interactions/transactional/pause/post-response.json +0 -3
  791. package/test/resources/9999999/interaction/v1/interactions/transactional/resume/post-response.json +0 -3
  792. package/test/resources/9999999/interaction/v1/interactions/validateAsync/0175b971-71a3-4d8e-98ac-48121f3fbf4f/post-response.json +0 -4
  793. package/test/resources/9999999/interaction/v1/interactions/validateStatus/45f06c0a-3ed2-48b2-a6a8-b5119253f01c/get-response-failed.json +0 -34
  794. package/test/resources/9999999/interaction/v1/interactions/validateStatus/45f06c0a-3ed2-48b2-a6a8-b5119253f01c/get-response-success.json +0 -5
  795. package/test/resources/9999999/interaction/v1/interactions/validateStatus/45f06c0a-3ed2-48b2-a6a8-b5119253f01c/get-response-successWarnings.json +0 -36
  796. package/test/resources/9999999/interaction/v1/interactions/validateStatus/45f06c0a-3ed2-48b2-a6a8-b5119253f01c/get-response.json +0 -0
  797. package/test/resources/9999999/journey/build-expected.json +0 -229
  798. package/test/resources/9999999/journey/create-transactionaEmail-publish-expected.json +0 -216
  799. package/test/resources/9999999/journey/get-multistep-expected.json +0 -414
  800. package/test/resources/9999999/journey/get-published-expected.json +0 -216
  801. package/test/resources/9999999/journey/get-quicksend-expected.json +0 -234
  802. package/test/resources/9999999/journey/get-quicksend-rcb-id-expected.json +0 -232
  803. package/test/resources/9999999/journey/get-quicksend-rcb-key-expected.json +0 -232
  804. package/test/resources/9999999/journey/get-quicksend-rcb-name-expected.json +0 -236
  805. package/test/resources/9999999/journey/get-transactionalEmail-expected.json +0 -211
  806. package/test/resources/9999999/journey/get-updatecontact-expected.json +0 -108
  807. package/test/resources/9999999/journey/get-updatecontact-sharedDE-expected.json +0 -108
  808. package/test/resources/9999999/journey/post-expected.json +0 -264
  809. package/test/resources/9999999/journey/publish-callout-expected.json +0 -1
  810. package/test/resources/9999999/journey/put-expected.json +0 -576
  811. package/test/resources/9999999/journey/put-updatecontact-expected.json +0 -108
  812. package/test/resources/9999999/journey/put-updatecontact-sharedDE-expected.json +0 -108
  813. package/test/resources/9999999/journey/template-expected.json +0 -229
  814. package/test/resources/9999999/journey/validate-callout-expected.json +0 -1
  815. package/test/resources/9999999/legacy/v1/beta/automations/notifications/RkpOcE9qSVh2VUdnYTVJbWFfWW14dzoyNTow/get-response.json +0 -21
  816. package/test/resources/9999999/legacy/v1/beta/automations/notifications/RkpOcE9qSVh2VUdnYTVJbWFfWW14dzoyNTow/post-response.json +0 -0
  817. package/test/resources/9999999/legacy/v1/beta/automations/notifications/RkpOcE9qSVh2VUdnYTVJbWFfWW14dzoyNTow-PAUSED/get-response.json +0 -3
  818. package/test/resources/9999999/legacy/v1/beta/automations/notifications/bHF6Q0Q3b1VXa21OdVQzZFQ0ckVSQToyNTow/get-response.json +0 -3
  819. package/test/resources/9999999/legacy/v1/beta/automations/notifications/cDhLQ2o2NExxVVc5N3VZeHF5WEExUToyNTow/get-response.json +0 -3
  820. package/test/resources/9999999/legacy/v1/beta/bulk/automations/automation/definition/NewRkpOcE9qSVh2VUdnYTVJbWFfWW14dzoyNTow/get-response.json +0 -29
  821. package/test/resources/9999999/legacy/v1/beta/bulk/automations/automation/definition/RkpOcE9qSVh2VUdnYTVJbWFfWW14dzoyNTow/get-response.json +0 -50
  822. package/test/resources/9999999/legacy/v1/beta/bulk/automations/automation/definition/RkpOcE9qSVh2VUdnYTVJbWFfWW14dzoyNTow-PAUSED/get-response.json +0 -51
  823. package/test/resources/9999999/legacy/v1/beta/bulk/automations/automation/definition/bHF6Q0Q3b1VXa21OdVQzZFQ0ckVSQToyNTow/get-response.json +0 -216
  824. package/test/resources/9999999/legacy/v1/beta/bulk/automations/automation/definition/cDhLQ2o2NExxVVc5N3VZeHF5WEExUToyNTow/get-response.json +0 -79
  825. package/test/resources/9999999/legacy/v1/beta/bulk/automations/automation/definition/get-response.json +0 -286
  826. package/test/resources/9999999/legacy/v1/beta/bulk/automations/automation/definition/post-response-pauseSchedule.json +0 -1
  827. package/test/resources/9999999/legacy/v1/beta/bulk/automations/automation/definition/post-response-schedule.json +0 -1
  828. package/test/resources/9999999/legacy/v1/beta/messaging/deliverypolicy/get-response.json +0 -15
  829. package/test/resources/9999999/legacy/v1/beta/mobile/code/get-response.json +0 -32
  830. package/test/resources/9999999/legacy/v1/beta/mobile/imports/get-response.json +0 -112
  831. package/test/resources/9999999/legacy/v1/beta/mobile/keyword/NXV4ZFMwTEFwRVczd3RaLUF5X3p5dzo4Njow/get-response.json +0 -42
  832. package/test/resources/9999999/legacy/v1/beta/mobile/keyword/cTVJaG5oSDJPVUNHcUh6Z3pQT2tVdzo4Njow/delete-response.json +0 -0
  833. package/test/resources/9999999/legacy/v1/beta/mobile/keyword/get-response.json +0 -47
  834. package/test/resources/9999999/legacy/v1/beta/mobile/keyword/post-response.json +0 -3
  835. package/test/resources/9999999/legacy/v1/beta/mobile/message/NTIzOjc4OjA/delete-response.json +0 -0
  836. package/test/resources/9999999/legacy/v1/beta/mobile/message/NTIzOjc4OjA/get-response.json +0 -106
  837. package/test/resources/9999999/legacy/v1/beta/mobile/message/NTIzOjc4OjA/post-response.json +0 -0
  838. package/test/resources/9999999/legacy/v1/beta/mobile/message/NTQ3Ojc4OjA/get-response.json +0 -127
  839. package/test/resources/9999999/legacy/v1/beta/mobile/message/get-response.json +0 -129
  840. package/test/resources/9999999/legacy/v1/beta/mobile/message/post-response.json +0 -3
  841. package/test/resources/9999999/legacy/v1/beta/object/NWQwdnhEU3dFZWVBekJRQzdISWl0QTo0NTow/get-response.json +0 -12
  842. package/test/resources/9999999/legacy/v1/beta2/data/campaign/get-response.json +0 -29
  843. package/test/resources/9999999/list/retrieve-response.xml +0 -91
  844. package/test/resources/9999999/messaging/v1/domainverification/delete/post-response.txt +0 -1
  845. package/test/resources/9999999/messaging/v1/domainverification/get-response.json +0 -52
  846. package/test/resources/9999999/messaging/v1/domainverification/post-response.txt +0 -1
  847. package/test/resources/9999999/messaging/v1/domainverification/update/post-response.txt +0 -1
  848. package/test/resources/9999999/messaging/v1/email/definitions/get-response.json +0 -29
  849. package/test/resources/9999999/messaging/v1/email/definitions/post-response.json +0 -19
  850. package/test/resources/9999999/messaging/v1/email/definitions/testExisting_temail/delete-response.json +0 -6
  851. package/test/resources/9999999/messaging/v1/email/definitions/testExisting_temail/get-response.json +0 -26
  852. package/test/resources/9999999/messaging/v1/email/definitions/testExisting_temail/patch-response.json +0 -26
  853. package/test/resources/9999999/messaging/v1/email/definitions/testExisting_temail_notPublished/get-response.json +0 -26
  854. package/test/resources/9999999/messaging/v1/email/definitions/testNew_temail_notPublished/get-response.json +0 -26
  855. package/test/resources/9999999/messaging/v1/push/definitions/get-response.json +0 -15
  856. package/test/resources/9999999/messaging/v1/push/definitions/post-response.json +0 -13
  857. package/test/resources/9999999/messaging/v1/push/definitions/testExisting_tpush/get-response.json +0 -13
  858. package/test/resources/9999999/messaging/v1/push/definitions/testExisting_tpush/patch-response.json +0 -13
  859. package/test/resources/9999999/messaging/v1/sms/definitions/get-response.json +0 -15
  860. package/test/resources/9999999/messaging/v1/sms/definitions/post-response.json +0 -19
  861. package/test/resources/9999999/messaging/v1/sms/definitions/testExisting_tsms/get-response.json +0 -20
  862. package/test/resources/9999999/messaging/v1/sms/definitions/testExisting_tsms/patch-response.json +0 -20
  863. package/test/resources/9999999/mobileKeyword/build-expected.amp +0 -6
  864. package/test/resources/9999999/mobileKeyword/build-expected.json +0 -7
  865. package/test/resources/9999999/mobileKeyword/get-expected.amp +0 -6
  866. package/test/resources/9999999/mobileKeyword/get-expected.json +0 -13
  867. package/test/resources/9999999/mobileKeyword/post-create-expected.amp +0 -2
  868. package/test/resources/9999999/mobileKeyword/post-create-expected.json +0 -15
  869. package/test/resources/9999999/mobileKeyword/template-expected.amp +0 -6
  870. package/test/resources/9999999/mobileKeyword/template-expected.json +0 -7
  871. package/test/resources/9999999/mobileMessage/build-expected.amp +0 -6
  872. package/test/resources/9999999/mobileMessage/build-expected.json +0 -57
  873. package/test/resources/9999999/mobileMessage/get-expected.amp +0 -6
  874. package/test/resources/9999999/mobileMessage/get-expected.json +0 -58
  875. package/test/resources/9999999/mobileMessage/post-create-expected.amp +0 -1
  876. package/test/resources/9999999/mobileMessage/post-create-expected.json +0 -61
  877. package/test/resources/9999999/mobileMessage/post-update-expected.amp +0 -1
  878. package/test/resources/9999999/mobileMessage/post-update-expected.json +0 -58
  879. package/test/resources/9999999/mobileMessage/template-expected.amp +0 -6
  880. package/test/resources/9999999/mobileMessage/template-expected.json +0 -57
  881. package/test/resources/9999999/program/retrieve-CustomerKey=testExisting_automation-response.xml +0 -30
  882. package/test/resources/9999999/program/retrieve-CustomerKey=testExisting_automation_fixKey_pause-response.xml +0 -32
  883. package/test/resources/9999999/program/retrieve-CustomerKey=testExisting_automation_fixKey_schedule-response.xml +0 -32
  884. package/test/resources/9999999/program/retrieve-CustomerKey=testExisting_automation_fixedKey_paused-response.xml +0 -32
  885. package/test/resources/9999999/program/retrieve-CustomerKey=testExisting_automation_fixedKey_scheduled-response.xml +0 -32
  886. package/test/resources/9999999/program/retrieve-CustomerKey=testExisting_automation_pause-response.xml +0 -30
  887. package/test/resources/9999999/program/retrieve-CustomerKey=testNew_automation-response.xml +0 -30
  888. package/test/resources/9999999/program/retrieve-Name=testExisting_automation-response.xml +0 -31
  889. package/test/resources/9999999/program/retrieve-response.xml +0 -62
  890. package/test/resources/9999999/query/build-expected.json +0 -8
  891. package/test/resources/9999999/query/build-expected.sql +0 -7
  892. package/test/resources/9999999/query/clone-expected.json +0 -8
  893. package/test/resources/9999999/query/clone-expected.sql +0 -7
  894. package/test/resources/9999999/query/get-expected.json +0 -11
  895. package/test/resources/9999999/query/get-expected.sql +0 -7
  896. package/test/resources/9999999/query/get2-expected.json +0 -11
  897. package/test/resources/9999999/query/get_sharedDE-expected.json +0 -11
  898. package/test/resources/9999999/query/get_sharedDE-expected.sql +0 -7
  899. package/test/resources/9999999/query/patch-expected.json +0 -11
  900. package/test/resources/9999999/query/patch-expected.sql +0 -6
  901. package/test/resources/9999999/query/patch_fixKeys-expected.json +0 -11
  902. package/test/resources/9999999/query/patch_fixKeys-expected.sql +0 -6
  903. package/test/resources/9999999/query/patch_fixKeysSuffix-expected.json +0 -11
  904. package/test/resources/9999999/query/patch_fixKeysSuffix-expected.sql +0 -6
  905. package/test/resources/9999999/query/post-expected.json +0 -11
  906. package/test/resources/9999999/query/post-expected.sql +0 -4
  907. package/test/resources/9999999/query/template-expected.json +0 -8
  908. package/test/resources/9999999/query/template-expected.sql +0 -7
  909. package/test/resources/9999999/query/template_sharedDE-expected.json +0 -8
  910. package/test/resources/9999999/query/template_sharedDE-expected.sql +0 -7
  911. package/test/resources/9999999/queryDefinition/retrieve-CustomerKey=badANDStatus=Active-response.xml +0 -26
  912. package/test/resources/9999999/queryDefinition/retrieve-CustomerKey=testExisting_query2ANDStatus=Active-response.xml +0 -30
  913. package/test/resources/9999999/queryDefinition/retrieve-CustomerKey=testExisting_queryANDStatus=Active-response.xml +0 -30
  914. package/test/resources/9999999/queryDefinition/retrieve-CustomerKey=testExisting_query_fixKeysANDStatus=Active-response.xml +0 -30
  915. package/test/resources/9999999/queryDefinition/retrieve-CustomerKey=testExisting_query_fixKeysSuffixANDStatus=Active-response.xml +0 -30
  916. package/test/resources/9999999/queryDefinition/retrieve-CustomerKey=testExisting_query_fixedKeysANDStatus=Active-response.xml +0 -30
  917. package/test/resources/9999999/queryDefinition/retrieve-CustomerKey=testNew_queryANDStatus=Active-response.xml +0 -30
  918. package/test/resources/9999999/script/build-expected.json +0 -6
  919. package/test/resources/9999999/script/build-expected.ssjs +0 -1
  920. package/test/resources/9999999/script/get-expected.json +0 -8
  921. package/test/resources/9999999/script/get-expected.ssjs +0 -1
  922. package/test/resources/9999999/script/get_ampincluded-expected.html +0 -5
  923. package/test/resources/9999999/script/get_ampincluded-expected.json +0 -8
  924. package/test/resources/9999999/script/get_ampincluded-rcb-id-expected.html +0 -5
  925. package/test/resources/9999999/script/get_ampincluded-rcb-key-expected.html +0 -5
  926. package/test/resources/9999999/script/get_ampincluded-rcb-name-expected.html +0 -5
  927. package/test/resources/9999999/script/get_ampscript-expected.html +0 -11
  928. package/test/resources/9999999/script/get_ampscript-expected.json +0 -8
  929. package/test/resources/9999999/script/get_ampscript-rcb-id-expected.html +0 -9
  930. package/test/resources/9999999/script/get_ampscript-rcb-key-expected.html +0 -9
  931. package/test/resources/9999999/script/get_ampscript-rcb-name-expected.html +0 -13
  932. package/test/resources/9999999/script/get_mixed-expected.html +0 -12
  933. package/test/resources/9999999/script/get_mixed-expected.json +0 -8
  934. package/test/resources/9999999/script/get_mixed-rcb-id-expected.html +0 -12
  935. package/test/resources/9999999/script/get_mixed-rcb-key-expected.html +0 -12
  936. package/test/resources/9999999/script/get_mixed-rcb-name-expected.html +0 -14
  937. package/test/resources/9999999/script/get_noScriptTag-expected.html +0 -1
  938. package/test/resources/9999999/script/get_noScriptTag-expected.json +0 -8
  939. package/test/resources/9999999/script/patch-expected.json +0 -8
  940. package/test/resources/9999999/script/patch-expected.ssjs +0 -2
  941. package/test/resources/9999999/script/post-expected.json +0 -8
  942. package/test/resources/9999999/script/post-expected.ssjs +0 -1
  943. package/test/resources/9999999/script/template-expected.json +0 -6
  944. package/test/resources/9999999/script/template-expected.ssjs +0 -1
  945. package/test/resources/9999999/sendClassification/build-expected.json +0 -8
  946. package/test/resources/9999999/sendClassification/create-response.xml +0 -51
  947. package/test/resources/9999999/sendClassification/delete-response.xml +0 -36
  948. package/test/resources/9999999/sendClassification/get-expected.json +0 -10
  949. package/test/resources/9999999/sendClassification/patch-expected.json +0 -10
  950. package/test/resources/9999999/sendClassification/post-expected.json +0 -8
  951. package/test/resources/9999999/sendClassification/retrieve-response.xml +0 -86
  952. package/test/resources/9999999/sendClassification/template-expected.json +0 -8
  953. package/test/resources/9999999/sendClassification/update-response.xml +0 -49
  954. package/test/resources/9999999/senderProfile/build-expected.json +0 -15
  955. package/test/resources/9999999/senderProfile/create-response.xml +0 -50
  956. package/test/resources/9999999/senderProfile/delete-response.xml +0 -36
  957. package/test/resources/9999999/senderProfile/get-expected.json +0 -19
  958. package/test/resources/9999999/senderProfile/get-rcb-id-expected.json +0 -19
  959. package/test/resources/9999999/senderProfile/get-rcb-key-expected.json +0 -19
  960. package/test/resources/9999999/senderProfile/get-rcb-name-expected.json +0 -19
  961. package/test/resources/9999999/senderProfile/patch-expected.json +0 -19
  962. package/test/resources/9999999/senderProfile/post-expected.json +0 -15
  963. package/test/resources/9999999/senderProfile/retrieve-CustomerKey=Default-response.xml +0 -49
  964. package/test/resources/9999999/senderProfile/retrieve-CustomerKey=wrong-key-response.xml +0 -26
  965. package/test/resources/9999999/senderProfile/retrieve-response.xml +0 -95
  966. package/test/resources/9999999/senderProfile/template-expected.json +0 -15
  967. package/test/resources/9999999/senderProfile/update-response.xml +0 -48
  968. package/test/resources/9999999/transactionalEmail/build-expected.json +0 -18
  969. package/test/resources/9999999/transactionalEmail/create-publish-expected.json +0 -20
  970. package/test/resources/9999999/transactionalEmail/get-expected.json +0 -20
  971. package/test/resources/9999999/transactionalEmail/get-published-expected.json +0 -20
  972. package/test/resources/9999999/transactionalEmail/patch-expected.json +0 -20
  973. package/test/resources/9999999/transactionalEmail/post-expected.json +0 -20
  974. package/test/resources/9999999/transactionalEmail/template-expected.json +0 -18
  975. package/test/resources/9999999/transactionalPush/build-expected.json +0 -8
  976. package/test/resources/9999999/transactionalPush/get-expected.json +0 -11
  977. package/test/resources/9999999/transactionalPush/patch-expected.json +0 -14
  978. package/test/resources/9999999/transactionalPush/post-expected.json +0 -14
  979. package/test/resources/9999999/transactionalPush/template-expected.json +0 -8
  980. package/test/resources/9999999/transactionalSMS/build-expected.amp +0 -108
  981. package/test/resources/9999999/transactionalSMS/build-expected.json +0 -12
  982. package/test/resources/9999999/transactionalSMS/get-expected.amp +0 -108
  983. package/test/resources/9999999/transactionalSMS/get-expected.json +0 -14
  984. package/test/resources/9999999/transactionalSMS/patch-expected.amp +0 -102
  985. package/test/resources/9999999/transactionalSMS/patch-expected.json +0 -14
  986. package/test/resources/9999999/transactionalSMS/post-expected.amp +0 -102
  987. package/test/resources/9999999/transactionalSMS/post-expected.json +0 -14
  988. package/test/resources/9999999/transactionalSMS/template-expected.amp +0 -108
  989. package/test/resources/9999999/transactionalSMS/template-expected.json +0 -12
  990. package/test/resources/9999999/triggeredSend/build-expected.json +0 -28
  991. package/test/resources/9999999/triggeredSend/get-expected.json +0 -28
  992. package/test/resources/9999999/triggeredSend/get-rcb-id-expected.json +0 -28
  993. package/test/resources/9999999/triggeredSend/get-rcb-key-expected.json +0 -28
  994. package/test/resources/9999999/triggeredSend/get-rcb-name-expected.json +0 -28
  995. package/test/resources/9999999/triggeredSend/patch-expected.json +0 -27
  996. package/test/resources/9999999/triggeredSend/post-expected.json +0 -27
  997. package/test/resources/9999999/triggeredSend/template-expected.json +0 -28
  998. package/test/resources/9999999/triggeredSendDefinition/create-response.xml +0 -79
  999. package/test/resources/9999999/triggeredSendDefinition/delete-response.xml +0 -36
  1000. package/test/resources/9999999/triggeredSendDefinition/retrieve-CustomerKey=testExisting_triggeredSend-response.xml +0 -72
  1001. package/test/resources/9999999/triggeredSendDefinition/retrieve-CustomerKey=testExisting_triggeredSend_rcb-response.xml +0 -72
  1002. package/test/resources/9999999/triggeredSendDefinition/retrieve-TriggeredSendStatusINNew,Active,Inactive,Moved,Canceled-response.xml +0 -118
  1003. package/test/resources/9999999/triggeredSendDefinition/retrieve-TriggeredSendStatusINdummy,Active-response.xml +0 -118
  1004. package/test/resources/9999999/triggeredSendDefinition/update-response.xml +0 -78
  1005. package/test/resources/9999999/triggeredSendSummary/get-expected.json +0 -24
  1006. package/test/resources/9999999/triggeredSendSummary/retrieve-response.xml +0 -49
  1007. package/test/resources/9999999/verification/build-expected.json +0 -11
  1008. package/test/resources/9999999/verification/get-expected.json +0 -12
  1009. package/test/resources/9999999/verification/patch-expected.json +0 -12
  1010. package/test/resources/9999999/verification/post-expected.json +0 -12
  1011. package/test/resources/9999999/verification/template-expected.json +0 -11
  1012. package/test/resources/auth.json +0 -32
  1013. package/test/resources/rest404-response.json +0 -5
  1014. package/test/resources/retrieve-response.xml +0 -21
  1015. package/test/type.asset.test.js +0 -1432
  1016. package/test/type.attributeGroup.test.js +0 -56
  1017. package/test/type.attributeSet.test.js +0 -97
  1018. package/test/type.automation.test.js +0 -1003
  1019. package/test/type.dataExtension.test.js +0 -419
  1020. package/test/type.dataExtensionField.test.js +0 -81
  1021. package/test/type.dataExtract.test.js +0 -186
  1022. package/test/type.dataFilter.test.js +0 -182
  1023. package/test/type.deliveryProfile.test.js +0 -45
  1024. package/test/type.domainVerification.test.js +0 -169
  1025. package/test/type.emailSend.test.js +0 -144
  1026. package/test/type.event.test.js +0 -346
  1027. package/test/type.fileLocation.test.js +0 -279
  1028. package/test/type.fileTransfer.test.js +0 -183
  1029. package/test/type.filter.test.js +0 -177
  1030. package/test/type.folder.test.js +0 -264
  1031. package/test/type.importFile.test.js +0 -223
  1032. package/test/type.journey.test.js +0 -1649
  1033. package/test/type.mobileKeyword.test.js +0 -279
  1034. package/test/type.mobileMessage.test.js +0 -206
  1035. package/test/type.query.test.js +0 -1031
  1036. package/test/type.script.test.js +0 -674
  1037. package/test/type.sendClassification.test.js +0 -156
  1038. package/test/type.senderProfile.test.js +0 -320
  1039. package/test/type.transactionalEmail.test.js +0 -162
  1040. package/test/type.transactionalPush.test.js +0 -160
  1041. package/test/type.transactionalSMS.test.js +0 -222
  1042. package/test/type.triggeredSend.test.js +0 -397
  1043. package/test/type.triggeredSendSummary.test.js +0 -45
  1044. package/test/type.user.test.js +0 -221
  1045. package/test/type.verification.test.js +0 -169
  1046. package/test/utils.js +0 -426
  1047. package/tsconfig.json +0 -26
  1048. package/tsconfig.npmScripts.json +0 -12
  1049. package/tsconfig.precommit.json +0 -26
@@ -1,1031 +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: query', () => {
12
- beforeEach(() => {
13
- testUtils.mockSetup();
14
- });
15
-
16
- afterEach(() => {
17
- testUtils.mockReset();
18
- });
19
-
20
- describe('Retrieve ================', () => {
21
- it('Should retrieve all queries', async () => {
22
- // WHEN
23
- await handler.retrieve('testInstance/testBU', ['query']);
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.query ? Object.keys(result.query).length : 0,
30
- 5,
31
- 'only 5 queries expected'
32
- );
33
- // normal test
34
- assert.deepEqual(
35
- await testUtils.getActualJson('testExisting_query', 'query'),
36
- await testUtils.getExpectedJson('9999999', 'query', 'get'),
37
- 'returned metadata with correct key was not equal expected'
38
- );
39
- expect(await testUtils.getActualFile('testExisting_query', 'query', 'sql')).to.equal(
40
- await testUtils.getExpectedFile('9999999', 'query', 'get', 'sql')
41
- );
42
- // check if r__dataExtension_key was overwritten
43
- assert.deepEqual(
44
- await testUtils.getActualJson('testExisting_query2', 'query'),
45
- await testUtils.getExpectedJson('9999999', 'query', 'get2'),
46
- 'returned metadata with wrong key was not equal expected'
47
- );
48
-
49
- assert.equal(
50
- testUtils.getAPIHistoryLength(),
51
- 5,
52
- 'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
53
- );
54
- return;
55
- });
56
-
57
- it('Should resolve shared dataExtensions in query when retrieved together with dataExtension', async () => {
58
- // WHEN
59
- // this test verifies the fix for: shared DEs not resolved if query+dataExtension is retrieved together
60
- await handler.retrieve('testInstance/testBU', ['dataExtension', 'query']);
61
- // THEN
62
- assert.equal(process.exitCode, 0, 'retrieve should not have thrown an error');
63
- // get results from cache
64
- const result = cache.getCache();
65
- assert.equal(
66
- result.query ? Object.keys(result.query).length : 0,
67
- 5,
68
- 'only 5 queries expected'
69
- );
70
- // verify that shared DE was resolved correctly in query (this is the key bug fix check)
71
- assert.deepEqual(
72
- await testUtils.getActualJson('testExisting_query_SharedDE', 'query'),
73
- await testUtils.getExpectedJson('9999999', 'query', 'get_sharedDE'),
74
- 'returned metadata was not equal expected - shared DE should be resolved even when dataExtension is retrieved together with query'
75
- );
76
- expect(
77
- await testUtils.getActualFile('testExisting_query_SharedDE', 'query', 'sql')
78
- ).to.equal(await testUtils.getExpectedFile('9999999', 'query', 'get_sharedDE', 'sql'));
79
-
80
- assert.equal(
81
- testUtils.getAPIHistoryLength(),
82
- 8,
83
- 'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
84
- );
85
- return;
86
- });
87
-
88
- it('Should retrieve one specific query by key', async () => {
89
- // WHEN
90
- await handler.retrieve('testInstance/testBU', ['query'], ['testExisting_query']);
91
- // THEN
92
- assert.equal(process.exitCode, 0, 'retrieve should not have thrown an error');
93
- // get results from cache
94
- const result = cache.getCache();
95
- assert.equal(
96
- result.query ? Object.keys(result.query).length : 0,
97
- 1,
98
- 'only one query expected'
99
- );
100
- assert.deepEqual(
101
- await testUtils.getActualJson('testExisting_query', 'query'),
102
- await testUtils.getExpectedJson('9999999', 'query', 'get'),
103
- 'returned metadata was not equal expected'
104
- );
105
- expect(await testUtils.getActualFile('testExisting_query', 'query', 'sql')).to.equal(
106
- await testUtils.getExpectedFile('9999999', 'query', 'get', 'sql')
107
- );
108
- assert.equal(
109
- testUtils.getAPIHistoryLength(),
110
- 6,
111
- 'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
112
- );
113
- return;
114
- });
115
-
116
- it('Should retrieve one specific query via --like', async () => {
117
- // WHEN
118
- handler.setOptions({ like: { key: '%Existing_query' } });
119
- await handler.retrieve('testInstance/testBU', ['query']);
120
- // THEN
121
- assert.equal(process.exitCode, 0, 'retrieve should not have thrown an error');
122
- // get results from cache
123
- const result = cache.getCache();
124
- assert.equal(
125
- result.query ? Object.keys(result.query).length : 0,
126
- 5,
127
- '5 queries in cache expected'
128
- );
129
- assert.deepEqual(
130
- await testUtils.getActualJson('testExisting_query', 'query'),
131
- await testUtils.getExpectedJson('9999999', 'query', 'get'),
132
- 'returned metadata was not equal expected'
133
- );
134
- expect(await testUtils.getActualFile('testExisting_query', 'query', 'sql')).to.equal(
135
- await testUtils.getExpectedFile('9999999', 'query', 'get', 'sql')
136
- );
137
- expect(await testUtils.getActualFile('testExisting_query2', 'query', 'sql')).to.not
138
- .exist;
139
- assert.equal(
140
- testUtils.getAPIHistoryLength(),
141
- 5,
142
- 'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
143
- );
144
- return;
145
- });
146
-
147
- it('Should not retrieve any query via --like and key due to a mismatching filter', async () => {
148
- // WHEN
149
- handler.setOptions({ like: { key: 'NotExisting_query' } });
150
- await handler.retrieve('testInstance/testBU', ['query']);
151
- // THEN
152
- assert.equal(process.exitCode, 0, 'retrieve should not have thrown an error');
153
- // get results from cache
154
- const result = cache.getCache();
155
- assert.equal(
156
- result.query ? Object.keys(result.query).length : 0,
157
- 5,
158
- '5 queries in cache expected'
159
- );
160
-
161
- expect(await testUtils.getActualFile('testExisting_query', 'query', 'sql')).to.not
162
- .exist;
163
- expect(await testUtils.getActualFile('testExisting_query2', 'query', 'sql')).to.not
164
- .exist;
165
- assert.equal(
166
- testUtils.getAPIHistoryLength(),
167
- 5,
168
- 'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
169
- );
170
- return;
171
- });
172
- });
173
-
174
- describe('Deploy ================', () => {
175
- beforeEach(() => {
176
- testUtils.mockSetup(true);
177
- });
178
-
179
- it('Should create & upsert a query', async () => {
180
- // WHEN
181
- const resultDeploy = await handler.deploy(
182
- 'testInstance/testBU',
183
- ['query'],
184
- ['testNew_query', 'testExisting_query']
185
- );
186
- // THEN
187
- assert.equal(process.exitCode, 0, 'deploy should not have thrown an error');
188
- assert.equal(
189
- resultDeploy['testInstance/testBU']?.query
190
- ? Object.keys(resultDeploy['testInstance/testBU']?.query).length
191
- : 0,
192
- 2,
193
- 'two queries to be deployed'
194
- );
195
- // get results from cache
196
- const result = cache.getCache();
197
- assert.equal(
198
- result.query ? Object.keys(result.query).length : 0,
199
- 6,
200
- '6 queries expected in cache'
201
- );
202
- // confirm created item
203
- assert.deepEqual(
204
- await testUtils.getActualJson('testNew_query', 'query'),
205
- await testUtils.getExpectedJson('9999999', 'query', 'post'),
206
- 'returned metadata was not equal expected for insert query'
207
- );
208
- expect(await testUtils.getActualFile('testNew_query', 'query', 'sql')).to.equal(
209
- await testUtils.getExpectedFile('9999999', 'query', 'post', 'sql')
210
- );
211
- // confirm updated item
212
- assert.deepEqual(
213
- await testUtils.getActualJson('testExisting_query', 'query'),
214
- await testUtils.getExpectedJson('9999999', 'query', 'patch'),
215
- 'returned metadata was not equal expected for insert query'
216
- );
217
- expect(await testUtils.getActualFile('testExisting_query', 'query', 'sql')).to.equal(
218
- await testUtils.getExpectedFile('9999999', 'query', 'patch', 'sql')
219
- );
220
- // check number of API calls
221
- assert.equal(
222
- testUtils.getAPIHistoryLength(),
223
- 7,
224
- 'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
225
- );
226
- return;
227
- });
228
-
229
- it('Should deploy and execute with --execute', async () => {
230
- handler.setOptions({ execute: true });
231
- // WHEN
232
- await handler.deploy(
233
- 'testInstance/testBU',
234
- ['query'],
235
- ['testExisting_query', 'testNew_query']
236
- );
237
- // THEN
238
- assert.equal(
239
- process.exitCode,
240
- 0,
241
- 'deploy with --execute should not have thrown an error'
242
- );
243
- // confirm updated item
244
- assert.deepEqual(
245
- await testUtils.getActualJson('testExisting_query', 'query'),
246
- await testUtils.getExpectedJson('9999999', 'query', 'patch'),
247
- 'returned metadata was not equal expected for insert query'
248
- );
249
- expect(await testUtils.getActualFile('testExisting_query', 'query', 'sql')).to.equal(
250
- await testUtils.getExpectedFile('9999999', 'query', 'patch', 'sql')
251
- );
252
- // check number of API calls
253
- assert.equal(
254
- testUtils.getAPIHistoryLength(),
255
- 11,
256
- 'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
257
- );
258
- return;
259
- });
260
- });
261
-
262
- describe('FixKeys ================', () => {
263
- beforeEach(() => {
264
- testUtils.mockSetup(true);
265
- });
266
-
267
- it('Should change the key during update with --changeKeyValue', async () => {
268
- // WHEN
269
- await handler.retrieve(
270
- 'testInstance/testBU',
271
- ['query'],
272
- ['testExisting_query_fixKeys']
273
- );
274
- handler.setOptions({
275
- changeKeyValue: 'testExisting_query_fixedKeys',
276
- fromRetrieve: true,
277
- });
278
- const deployed = await handler.deploy(
279
- 'testInstance/testBU',
280
- ['query'],
281
- ['testExisting_query_fixKeys']
282
- );
283
- // THEN
284
- assert.equal(
285
- process.exitCode,
286
- 0,
287
- 'deploy --changeKeyValue should not have thrown an error'
288
- );
289
- const upsertCallout = testUtils.getRestCallout('patch', '/automation/v1/queries/%');
290
- assert.equal(
291
- upsertCallout?.key,
292
- 'testExisting_query_fixedKeys',
293
- 'key in create callout was not as expected'
294
- );
295
-
296
- assert.equal(
297
- Object.keys(deployed['testInstance/testBU'].query).length,
298
- 1,
299
- 'returned number of keys does not correspond to number of expected fixed keys'
300
- );
301
- assert.equal(
302
- Object.keys(deployed['testInstance/testBU'].query)[0],
303
- 'testExisting_query_fixedKeys',
304
- 'returned keys do not correspond to expected fixed keys'
305
- );
306
-
307
- // confirm updated item
308
- assert.deepEqual(
309
- await testUtils.getActualJson('testExisting_query_fixedKeys', 'query'),
310
- await testUtils.getExpectedJson('9999999', 'query', 'patch_fixKeys'),
311
- 'returned metadata was not equal expected for update query'
312
- );
313
- expect(
314
- await testUtils.getActualFile('testExisting_query_fixedKeys', 'query', 'sql')
315
- ).to.equal(await testUtils.getExpectedFile('9999999', 'query', 'patch_fixKeys', 'sql'));
316
- // check number of API calls
317
- assert.equal(
318
- testUtils.getAPIHistoryLength(),
319
- 12,
320
- 'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
321
- );
322
- return;
323
- });
324
-
325
- it('Should change the key during update with --changeKeyField', async () => {
326
- // WHEN
327
- await handler.retrieve(
328
- 'testInstance/testBU',
329
- ['query'],
330
- ['testExisting_query_fixKeys']
331
- );
332
- handler.setOptions({ changeKeyField: 'name', fromRetrieve: true });
333
- const deployed = await handler.deploy(
334
- 'testInstance/testBU',
335
- ['query'],
336
- ['testExisting_query_fixKeys']
337
- );
338
- // THEN
339
- assert.equal(
340
- process.exitCode,
341
- 0,
342
- 'deploy --changeKeyValue should not have thrown an error'
343
- );
344
- const upsertCallout = testUtils.getRestCallout('patch', '/automation/v1/queries/%');
345
- assert.equal(
346
- upsertCallout?.key,
347
- 'testExisting_query_fixedKeys',
348
- 'key in create callout was not as expected'
349
- );
350
-
351
- assert.equal(
352
- Object.keys(deployed['testInstance/testBU'].query).length,
353
- 1,
354
- 'returned number of keys does not correspond to number of expected fixed keys'
355
- );
356
- assert.equal(
357
- Object.keys(deployed['testInstance/testBU'].query)[0],
358
- 'testExisting_query_fixedKeys',
359
- 'returned keys do not correspond to expected fixed keys'
360
- );
361
- // confirm updated item
362
- assert.deepEqual(
363
- await testUtils.getActualJson('testExisting_query_fixedKeys', 'query'),
364
- await testUtils.getExpectedJson('9999999', 'query', 'patch_fixKeys'),
365
- 'returned metadata was not equal expected for update query'
366
- );
367
- expect(
368
- await testUtils.getActualFile('testExisting_query_fixedKeys', 'query', 'sql')
369
- ).to.equal(await testUtils.getExpectedFile('9999999', 'query', 'patch_fixKeys', 'sql'));
370
- // check number of API calls
371
- assert.equal(
372
- testUtils.getAPIHistoryLength(),
373
- 12,
374
- 'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
375
- );
376
- return;
377
- });
378
-
379
- it('Should change the key during update with --changeKeyField and --keySuffix', async () => {
380
- // WHEN
381
- await handler.retrieve(
382
- 'testInstance/testBU',
383
- ['query'],
384
- ['testExisting_query_fixKeysSuffix']
385
- );
386
- handler.setOptions({ changeKeyField: 'name', keySuffix: '_DEV', fromRetrieve: true });
387
- const deployed = await handler.deploy(
388
- 'testInstance/testBU',
389
- ['query'],
390
- ['testExisting_query_fixKeysSuffix']
391
- );
392
- // THEN
393
- assert.equal(
394
- process.exitCode,
395
- 0,
396
- 'deploy --changeKeyValue --keySuffix should not have thrown an error'
397
- );
398
- assert.equal(
399
- Object.keys(deployed['testInstance/testBU'].query).length,
400
- 1,
401
- 'returned number of keys does not correspond to number of expected fixed keys'
402
- );
403
- const upsertCallout = testUtils.getRestCallout('patch', '/automation/v1/queries/%');
404
-
405
- assert.equal(
406
- upsertCallout?.key,
407
- 'testExisting_query_fixedKeysSuff_DEV',
408
- 'key in create callout was not as expected'
409
- );
410
- assert.equal(
411
- Object.keys(deployed['testInstance/testBU'].query)[0],
412
- 'testExisting_query_fixedKeysSuff_DEV',
413
- 'returned keys do not correspond to expected fixed keys'
414
- );
415
- // confirm updated item
416
- assert.deepEqual(
417
- await testUtils.getActualJson('testExisting_query_fixedKeysSuff_DEV', 'query'),
418
- await testUtils.getExpectedJson('9999999', 'query', 'patch_fixKeysSuffix'),
419
- 'returned metadata was not equal expected for update query'
420
- );
421
- expect(
422
- await testUtils.getActualFile(
423
- 'testExisting_query_fixedKeysSuff_DEV',
424
- 'query',
425
- 'sql'
426
- )
427
- ).to.equal(
428
- await testUtils.getExpectedFile('9999999', 'query', 'patch_fixKeysSuffix', 'sql')
429
- );
430
- // check number of API calls
431
- assert.equal(
432
- testUtils.getAPIHistoryLength(),
433
- 12,
434
- 'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
435
- );
436
- return;
437
- });
438
-
439
- it('Should change the key during create with and --keySuffix', async () => {
440
- handler.setOptions({ keySuffix: '_DEV' });
441
- const deployed = await handler.deploy(
442
- 'testInstance/_ParentBU_',
443
- ['query'],
444
- ['testNew_query']
445
- );
446
- // THEN
447
- assert.equal(process.exitCode, 0, 'deploy --keySuffix should not have thrown an error');
448
- assert.equal(
449
- Object.keys(deployed['testInstance/_ParentBU_'].query).length,
450
- 1,
451
- 'returned number of keys does not correspond to number of expected fixed keys'
452
- );
453
- assert.equal(
454
- Object.keys(deployed['testInstance/_ParentBU_'].query)[0],
455
- 'testNew_query_DEV',
456
- 'returned keys do not correspond to expected fixed keys'
457
- );
458
-
459
- const createCallout = testUtils.getRestCallout('post', '/automation/v1/queries/');
460
- assert.equal(
461
- createCallout?.key,
462
- 'testNew_query_DEV',
463
- 'key in create callout was not as expected'
464
- );
465
-
466
- // confirm updated item
467
- assert.deepEqual(
468
- await testUtils.getActualJson('testNew_query_DEV', 'query', '_ParentBU_'),
469
- await testUtils.getExpectedJson('1111111', 'query', 'patch_keySuffix'),
470
- 'returned metadata was not equal expected for update query'
471
- );
472
-
473
- // check number of API calls
474
- assert.equal(
475
- testUtils.getAPIHistoryLength(),
476
- 4,
477
- 'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
478
- );
479
- return;
480
- });
481
-
482
- it('Should run fixKeys but not find fixable keys and hence stop', async () => {
483
- // WHEN
484
- handler.setOptions({ skipInteraction: { fixKeysReretrieve: false } });
485
- const resultFixKeys = await handler.fixKeys(
486
- 'testInstance/testBU',
487
- ['query'],
488
- ['testExisting_query']
489
- );
490
- // THEN
491
- assert.equal(process.exitCode, 0, 'fixKeys should not have thrown an error');
492
- // check which keys were fixed
493
- assert.equal(
494
- resultFixKeys['testInstance/testBU']['query'].length,
495
- 0,
496
- 'expected to find no keys to be fixed'
497
- );
498
-
499
- // get results from cache
500
- const result = cache.getCache();
501
- assert.equal(
502
- result.query ? Object.keys(result.query).length : 0,
503
- 1,
504
- 'one query expected'
505
- );
506
- // check number of API calls
507
- assert.equal(
508
- testUtils.getAPIHistoryLength(),
509
- 6,
510
- 'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
511
- );
512
- return;
513
- });
514
-
515
- it('Should fixKeys by key WITHOUT re-retrieving dependent types', async () => {
516
- // WHEN
517
- handler.setOptions({ skipInteraction: { fixKeysReretrieve: false } });
518
- const resultFixKeys = await handler.fixKeys(
519
- 'testInstance/testBU',
520
- ['query'],
521
- ['testExisting_query_fixKeys', 'testExisting_query']
522
- );
523
- assert.equal(
524
- resultFixKeys['testInstance/testBU']['query'].length,
525
- 1,
526
- 'returned number of keys does not correspond to number of expected fixed keys'
527
- );
528
- assert.equal(
529
- resultFixKeys['testInstance/testBU']['query'][0],
530
- 'testExisting_query_fixedKeys',
531
- 'returned keys do not correspond to expected fixed keys'
532
- );
533
- // THEN
534
- assert.equal(process.exitCode, 0, 'fixKeys should not have thrown an error');
535
- // confirm updated item
536
- assert.deepEqual(
537
- await testUtils.getActualJson('testExisting_query_fixedKeys', 'query'),
538
- await testUtils.getExpectedJson('9999999', 'query', 'patch_fixKeys'),
539
- 'returned metadata was not equal expected for update query'
540
- );
541
- expect(
542
- await testUtils.getActualFile('testExisting_query_fixedKeys', 'query', 'sql')
543
- ).to.equal(await testUtils.getExpectedFile('9999999', 'query', 'patch_fixKeys', 'sql'));
544
- // check number of API calls
545
- assert.equal(
546
- testUtils.getAPIHistoryLength(),
547
- 14,
548
- 'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
549
- );
550
- return;
551
- });
552
-
553
- it('Should fixKeys by key with --keySuffix WITHOUT re-retrieving dependent types', async () => {
554
- // WHEN
555
- handler.setOptions({
556
- keySuffix: '_DEV',
557
- skipInteraction: { fixKeysReretrieve: false },
558
- });
559
- const resultFixKeys = await handler.fixKeys(
560
- 'testInstance/testBU',
561
- ['query'],
562
- ['testExisting_query_fixKeysSuffix', 'testExisting_query']
563
- );
564
- // THEN
565
- assert.equal(process.exitCode, 0, 'fixKeys should not have thrown an error');
566
-
567
- const upsertCallout = testUtils.getRestCallout('patch', '/automation/v1/queries/%');
568
- assert.equal(
569
- upsertCallout?.key,
570
- 'testExisting_query_fixedKeysSuff_DEV',
571
- 'key in create callout was not as expected'
572
- );
573
-
574
- assert.equal(
575
- resultFixKeys['testInstance/testBU']['query'].length,
576
- 1,
577
- 'returned number of keys does not correspond to number of expected fixed keys'
578
- );
579
- assert.equal(
580
- resultFixKeys['testInstance/testBU']['query'][0],
581
- 'testExisting_query_fixedKeysSuff_DEV',
582
- 'returned keys do not correspond to expected fixed keys'
583
- );
584
- // confirm updated item
585
- assert.deepEqual(
586
- await testUtils.getActualJson('testExisting_query_fixedKeysSuff_DEV', 'query'),
587
- await testUtils.getExpectedJson('9999999', 'query', 'patch_fixKeysSuffix'),
588
- 'returned metadata was not equal expected for update query'
589
- );
590
- expect(
591
- await testUtils.getActualFile(
592
- 'testExisting_query_fixedKeysSuff_DEV',
593
- 'query',
594
- 'sql'
595
- )
596
- ).to.equal(
597
- await testUtils.getExpectedFile('9999999', 'query', 'patch_fixKeysSuffix', 'sql')
598
- );
599
- // check number of API calls
600
- assert.equal(
601
- testUtils.getAPIHistoryLength(),
602
- 14,
603
- 'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
604
- );
605
- return;
606
- });
607
-
608
- it('Should fixKeys by key WITHOUT re-retrieving dependent types and then --execute', async () => {
609
- // WHEN
610
- handler.setOptions({ skipInteraction: { fixKeysReretrieve: false }, execute: true });
611
- const resultFixKeys = await handler.fixKeys(
612
- 'testInstance/testBU',
613
- ['query'],
614
- ['testExisting_query_fixKeys', 'testExisting_query']
615
- );
616
- assert.equal(
617
- resultFixKeys['testInstance/testBU']['query'].length,
618
- 1,
619
- 'returned number of keys does not correspond to number of expected fixed keys'
620
- );
621
- assert.equal(
622
- resultFixKeys['testInstance/testBU']['query'][0],
623
- 'testExisting_query_fixedKeys',
624
- 'returned keys do not correspond to expected fixed keys'
625
- );
626
- // THEN
627
- assert.equal(
628
- process.exitCode,
629
- 0,
630
- 'fixKeys with --execute should not have thrown an error'
631
- );
632
- // confirm updated item
633
- assert.deepEqual(
634
- await testUtils.getActualJson('testExisting_query_fixedKeys', 'query'),
635
- await testUtils.getExpectedJson('9999999', 'query', 'patch_fixKeys'),
636
- 'returned metadata was not equal expected for update query'
637
- );
638
- expect(
639
- await testUtils.getActualFile('testExisting_query_fixedKeys', 'query', 'sql')
640
- ).to.equal(await testUtils.getExpectedFile('9999999', 'query', 'patch_fixKeys', 'sql'));
641
- // check number of API calls
642
- assert.equal(
643
- testUtils.getAPIHistoryLength(),
644
- 16,
645
- 'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
646
- );
647
- return;
648
- });
649
-
650
- it('Should fixKeys by key AND re-retrieve dependent types', async () => {
651
- // WHEN
652
- handler.setOptions({ skipInteraction: { fixKeysReretrieve: true } });
653
- const resultFixKeys = await handler.fixKeys(
654
- 'testInstance/testBU',
655
- ['query'],
656
- ['testExisting_query_fixKeys', 'testExisting_query']
657
- );
658
- assert.equal(
659
- resultFixKeys['testInstance/testBU']['query'].length,
660
- 1,
661
- 'returned number of keys does not correspond to number of expected fixed keys'
662
- );
663
- assert.equal(
664
- resultFixKeys['testInstance/testBU']['query'][0],
665
- 'testExisting_query_fixedKeys',
666
- 'returned keys do not correspond to expected fixed keys'
667
- );
668
- // THEN
669
- assert.equal(process.exitCode, 0, 'fixKeys should not have thrown an error');
670
- // confirm updated item
671
- assert.deepEqual(
672
- await testUtils.getActualJson('testExisting_query_fixedKeys', 'query'),
673
- await testUtils.getExpectedJson('9999999', 'query', 'patch_fixKeys'),
674
- 'returned metadata was not equal expected for update query'
675
- );
676
- expect(
677
- await testUtils.getActualFile('testExisting_query_fixedKeys', 'query', 'sql')
678
- ).to.equal(await testUtils.getExpectedFile('9999999', 'query', 'patch_fixKeys', 'sql'));
679
- // check number of API calls
680
- assert.equal(
681
- testUtils.getAPIHistoryLength(),
682
- 48,
683
- 'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
684
- );
685
- return;
686
- });
687
-
688
- it('Should fixKeys by key AND re-retrieve dependent types and then --execute', async () => {
689
- // WHEN
690
- handler.setOptions({ skipInteraction: { fixKeysReretrieve: true }, execute: true });
691
- const resultFixKeys = await handler.fixKeys(
692
- 'testInstance/testBU',
693
- ['query'],
694
- ['testExisting_query_fixKeys', 'testExisting_query']
695
- );
696
- assert.equal(
697
- resultFixKeys['testInstance/testBU']['query'].length,
698
- 1,
699
- 'returned number of keys does not correspond to number of expected fixed keys'
700
- );
701
- assert.equal(
702
- resultFixKeys['testInstance/testBU']['query'][0],
703
- 'testExisting_query_fixedKeys',
704
- 'returned keys do not correspond to expected fixed keys'
705
- );
706
- // THEN
707
- assert.equal(
708
- process.exitCode,
709
- 0,
710
- 'fixKeys with --execute should not have thrown an error'
711
- );
712
- // confirm updated item
713
- assert.deepEqual(
714
- await testUtils.getActualJson('testExisting_query_fixedKeys', 'query'),
715
- await testUtils.getExpectedJson('9999999', 'query', 'patch_fixKeys'),
716
- 'returned metadata was not equal expected for update query'
717
- );
718
- expect(
719
- await testUtils.getActualFile('testExisting_query_fixedKeys', 'query', 'sql')
720
- ).to.equal(await testUtils.getExpectedFile('9999999', 'query', 'patch_fixKeys', 'sql'));
721
- // check number of API calls
722
- assert.equal(
723
- testUtils.getAPIHistoryLength(),
724
- 50,
725
- 'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
726
- );
727
- return;
728
- });
729
-
730
- it('Should fixKeys via --like WITHOUT re-retrieving dependent types', async () => {
731
- // WHEN
732
- handler.setOptions({
733
- like: { key: 'testExisting_query_f%' },
734
- skipInteraction: { fixKeysReretrieve: false },
735
- });
736
- const resultFixKeys = await handler.fixKeys('testInstance/testBU', ['query']);
737
- assert.equal(
738
- resultFixKeys['testInstance/testBU']['query'].length,
739
- 2,
740
- 'returned number of keys does not correspond to number of expected fixed keys'
741
- );
742
- assert.equal(
743
- resultFixKeys['testInstance/testBU']['query'][0],
744
- 'testExisting_query_fixedKeys',
745
- 'returned keys do not correspond to expected fixed keys'
746
- );
747
- // THEN
748
- assert.equal(process.exitCode, 0, 'fixKeys should not have thrown an error');
749
- // confirm updated item
750
- assert.deepEqual(
751
- await testUtils.getActualJson('testExisting_query_fixedKeys', 'query'),
752
- await testUtils.getExpectedJson('9999999', 'query', 'patch_fixKeys'),
753
- 'returned metadata was not equal expected for update query'
754
- );
755
- expect(
756
- await testUtils.getActualFile('testExisting_query_fixedKeys', 'query', 'sql')
757
- ).to.equal(await testUtils.getExpectedFile('9999999', 'query', 'patch_fixKeys', 'sql'));
758
- // check number of API calls
759
- assert.equal(
760
- testUtils.getAPIHistoryLength(),
761
- 12,
762
- 'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
763
- );
764
- return;
765
- });
766
- });
767
-
768
- describe('Templating ================', () => {
769
- it('Should create a query template via retrieveAsTemplate and build it', async () => {
770
- // GIVEN there is a template
771
- const result = await handler.retrieveAsTemplate(
772
- 'testInstance/testBU',
773
- 'query',
774
- ['testExisting_query'],
775
- 'testSourceMarket'
776
- );
777
- // WHEN
778
- assert.equal(process.exitCode, 0, 'retrieveAsTemplate should not have thrown an error');
779
- assert.equal(
780
- result.query ? Object.keys(result.query).length : 0,
781
- 1,
782
- 'only one query expected'
783
- );
784
- assert.deepEqual(
785
- await testUtils.getActualTemplateJson('testExisting_query', 'query'),
786
- await testUtils.getExpectedJson('9999999', 'query', 'template'),
787
- 'returned template JSON of retrieveAsTemplate was not equal expected'
788
- );
789
- expect(
790
- await testUtils.getActualTemplateFile('testExisting_query', 'query', 'sql')
791
- ).to.equal(await testUtils.getExpectedFile('9999999', 'query', 'template', 'sql'));
792
- // THEN
793
- await handler.buildDefinition(
794
- 'testInstance/testBU',
795
- 'query',
796
- ['testExisting_query'],
797
- ['testTargetMarket']
798
- );
799
- assert.equal(process.exitCode, 0, 'buildDefinition should not have thrown an error');
800
-
801
- assert.deepEqual(
802
- await testUtils.getActualDeployJson('testTemplated_query', 'query'),
803
- await testUtils.getExpectedJson('9999999', 'query', 'build'),
804
- 'returned deployment JSON was not equal expected'
805
- );
806
- expect(
807
- await testUtils.getActualDeployFile('testTemplated_query', 'query', 'sql')
808
- ).to.equal(await testUtils.getExpectedFile('9999999', 'query', 'build', 'sql'));
809
-
810
- assert.equal(
811
- testUtils.getAPIHistoryLength(),
812
- 5,
813
- 'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
814
- );
815
- return;
816
- });
817
-
818
- it('Should warn about shared dataExtension in _ParentBU_ when running buildTemplate with --dependencies on child BU', async () => {
819
- // Retrieve shared DEs from _ParentBU_ to disk first
820
- await handler.retrieve('testInstance/_ParentBU_', ['dataExtension']);
821
- assert.equal(
822
- process.exitCode,
823
- 0,
824
- '_ParentBU_ retrieve should not have thrown an error'
825
- );
826
- const expectedApiCallsParentBURetrieve = 4;
827
- assert.equal(
828
- testUtils.getAPIHistoryLength(),
829
- expectedApiCallsParentBURetrieve,
830
- 'Unexpected number of requests for _ParentBU_ dataExtension retrieve'
831
- );
832
-
833
- // Retrieve query from child BU (testBU)
834
- await handler.retrieve('testInstance/testBU', ['query']);
835
- assert.equal(
836
- process.exitCode,
837
- 0,
838
- 'testBU query retrieve should not have thrown an error'
839
- );
840
- const expectedApiCallsTestBURetrieve = 5;
841
- assert.equal(
842
- testUtils.getAPIHistoryLength() - expectedApiCallsParentBURetrieve,
843
- expectedApiCallsTestBURetrieve,
844
- 'Unexpected number of requests for testBU query retrieve'
845
- );
846
-
847
- // Run buildTemplate with --dependencies: shared DE must show a warning, not be included in result
848
- handler.setOptions({ dependencies: true, skipInteraction: true });
849
- const templateResult = await handler.buildTemplate(
850
- 'testInstance/testBU',
851
- 'query',
852
- ['testExisting_query_SharedDE'],
853
- ['testSourceMarket']
854
- );
855
- assert.equal(process.exitCode, 0, 'buildTemplate should not have thrown an error');
856
-
857
- // Verify query was templated
858
- assert.equal(
859
- templateResult.query ? templateResult.query.length : 0,
860
- 1,
861
- 'expected one query to be templated'
862
- );
863
- assert.deepEqual(
864
- await testUtils.getActualTemplateJson('testExisting_query_SharedDE', 'query'),
865
- await testUtils.getExpectedJson('9999999', 'query', 'template_sharedDE'),
866
- 'returned query template JSON was not equal expected'
867
- );
868
- expect(
869
- await testUtils.getActualTemplateFile('testExisting_query_SharedDE', 'query', 'sql')
870
- ).to.equal(
871
- await testUtils.getExpectedFile('9999999', 'query', 'template_sharedDE', 'sql')
872
- );
873
-
874
- // Verify shared DE was NOT included in template result (only a warning should be shown)
875
- assert.equal(
876
- templateResult.dataExtension ? templateResult.dataExtension.length : 0,
877
- 0,
878
- 'shared DE should not be included in the child BU template result - only a warning should be shown'
879
- );
880
-
881
- return;
882
- });
883
-
884
- it('Should create a query template via buildTemplate and build it', async () => {
885
- // download first before we test buildTemplate
886
- await handler.retrieve('testInstance/testBU', ['query']);
887
- // GIVEN there is a template
888
- const result = await handler.buildTemplate(
889
- 'testInstance/testBU',
890
- 'query',
891
- ['testExisting_query'],
892
- ['testSourceMarket']
893
- );
894
- // WHEN
895
- assert.equal(process.exitCode, 0, 'buildTemplate should not have thrown an error');
896
-
897
- assert.equal(
898
- result.query ? Object.keys(result.query).length : 0,
899
- 1,
900
- 'only one query expected'
901
- );
902
- assert.deepEqual(
903
- await testUtils.getActualTemplateJson('testExisting_query', 'query'),
904
- await testUtils.getExpectedJson('9999999', 'query', 'template'),
905
- 'returned template JSON of buildTemplate was not equal expected'
906
- );
907
- expect(
908
- await testUtils.getActualTemplateFile('testExisting_query', 'query', 'sql')
909
- ).to.equal(await testUtils.getExpectedFile('9999999', 'query', 'template', 'sql'));
910
- // THEN
911
- await handler.buildDefinition(
912
- 'testInstance/testBU',
913
- 'query',
914
- ['testExisting_query'],
915
- ['testTargetMarket']
916
- );
917
- assert.equal(process.exitCode, 0, 'buildDefinition should not have thrown an error');
918
-
919
- assert.deepEqual(
920
- await testUtils.getActualDeployJson('testTemplated_query', 'query'),
921
- await testUtils.getExpectedJson('9999999', 'query', 'build'),
922
- 'returned deployment JSON was not equal expected'
923
- );
924
- expect(
925
- await testUtils.getActualDeployFile('testTemplated_query', 'query', 'sql')
926
- ).to.equal(await testUtils.getExpectedFile('9999999', 'query', 'build', 'sql'));
927
-
928
- assert.equal(
929
- testUtils.getAPIHistoryLength(),
930
- 5,
931
- 'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests'
932
- );
933
- return;
934
- });
935
- });
936
-
937
- describe('Delete ================', () => {
938
- it('Should delete the item', async () => {
939
- // WHEN
940
- const isDeleted = await handler.deleteByKey(
941
- 'testInstance/testBU',
942
- 'query',
943
- 'testExisting_query'
944
- );
945
- // THEN
946
- assert.equal(process.exitCode, 0, 'delete should not have thrown an error');
947
-
948
- assert.equal(isDeleted, true, 'should have deleted the item');
949
- return;
950
- });
951
- });
952
-
953
- describe('CI/CD ================', () => {
954
- it('Should return a list of files based on their type and key', async () => {
955
- // WHEN
956
- const fileList = await handler.getFilesToCommit('testInstance/testBU', 'query', [
957
- 'testExisting_query',
958
- ]);
959
- // THEN
960
- assert.equal(process.exitCode, 0, 'getFilesToCommit should not have thrown an error');
961
- assert.equal(fileList.length, 2, 'expected only 2 file paths');
962
-
963
- assert.equal(
964
- fileList[0].split('\\').join('/'),
965
- 'retrieve/testInstance/testBU/query/testExisting_query.query-meta.json',
966
- 'wrong JSON path'
967
- );
968
- assert.equal(
969
- fileList[1].split('\\').join('/'),
970
- 'retrieve/testInstance/testBU/query/testExisting_query.query-meta.sql',
971
- 'wrong JSON path'
972
- );
973
- return;
974
- });
975
- });
976
-
977
- describe('Execute ================', () => {
978
- it('Should start a query by key', async () => {
979
- const executedKeys = await handler.execute(
980
- 'testInstance/testBU',
981
- ['query'],
982
- ['testExisting_query']
983
- );
984
- assert.equal(process.exitCode, 0, 'execute should not have thrown an error');
985
- assert.equal(
986
- executedKeys['testInstance/testBU']?.query?.length,
987
- 1,
988
- 'returned number of keys does not correspond to number of expected fixed keys'
989
- );
990
- assert.equal(
991
- executedKeys['testInstance/testBU']?.query[0],
992
- 'testExisting_query',
993
- 'returned keys do not correspond to expected fixed keys'
994
- );
995
- return;
996
- });
997
-
998
- it('Should start a query selected via --like', async () => {
999
- handler.setOptions({ like: { key: 'testExist%query' } });
1000
- const executedKeys = await handler.execute('testInstance/testBU', ['query']);
1001
- assert.equal(process.exitCode, 0, 'execute should not have thrown an error');
1002
- assert.equal(
1003
- executedKeys['testInstance/testBU']?.query?.length,
1004
- 1,
1005
- 'returned number of keys does not correspond to number of expected fixed keys'
1006
- );
1007
- assert.equal(
1008
- executedKeys['testInstance/testBU']?.query[0],
1009
- 'testExisting_query',
1010
- 'returned keys do not correspond to expected fixed keys'
1011
- );
1012
- return;
1013
- });
1014
-
1015
- it('Should not start executing a query because key and --like was specified', async () => {
1016
- handler.setOptions({ like: { key: 'testExisting%' } });
1017
- const executedKeys = await handler.execute(
1018
- 'testInstance/testBU',
1019
- ['query'],
1020
- ['testExisting_query']
1021
- );
1022
- assert.equal(process.exitCode, 1, 'execute should have thrown an error');
1023
- assert.equal(
1024
- Object.keys(executedKeys).length,
1025
- 0,
1026
- 'query was not supposed to be executed'
1027
- );
1028
- return;
1029
- });
1030
- });
1031
- });