mcdev 9.0.2 → 10.0.0

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