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,27 +1,48 @@
1
1
  export namespace Util {
2
- let authFileName: string;
3
- let boilerplateDirectory: string;
4
- let configFileName: string;
5
- let defaultGitBranch: string;
6
- let parentBuName: string;
7
- let standardizedSplitChar: string;
8
- let folderNameSlashEscapeChar: string;
9
- let skipInteraction: SkipInteraction;
10
- let packageJsonMcdev: any;
11
- let OPTIONS: {};
12
- let changedKeysMap: {};
13
- let matchedByName: {};
2
+ export let authFileName: string;
3
+ export let boilerplateDirectory: string;
4
+ export { defaultBoilerplateRoot as boilerplateRoot };
5
+ export let configFileName: string;
6
+ export let defaultGitBranch: string;
7
+ export let parentBuName: string;
8
+ export let standardizedSplitChar: string;
9
+ export let folderNameSlashEscapeChar: string;
10
+ export let skipInteraction: SkipInteraction;
11
+ export { packageJsonMcdev };
12
+ export let OPTIONS: {};
13
+ export let changedKeysMap: {};
14
+ export let matchedByName: {};
15
+ /**
16
+ * Resolve a path within the bundled project boilerplate.
17
+ *
18
+ * @param {...string} segments path segments below the boilerplate root
19
+ * @returns {string} absolute boilerplate path
20
+ */
21
+ export function getBoilerplatePath(...segments: string[]): string;
22
+ /**
23
+ * Override the boilerplate root for embedded consumers and tests.
24
+ *
25
+ * @param {string} root absolute or cwd-relative boilerplate root
26
+ * @returns {string} resolved boilerplate root
27
+ */
28
+ export function setBoilerplateRoot(root: string): string;
29
+ /**
30
+ * Restore the package's default boilerplate root.
31
+ *
32
+ * @returns {string} restored boilerplate root
33
+ */
34
+ export function resetBoilerplateRoot(): string;
14
35
  /**
15
36
  * helper that allows filtering an object by its keys
16
37
  *
17
- * @param {Object.<string,*>} originalObj object that you want to filter
38
+ * @param {Object.<string, unknown>} originalObj object that you want to filter
18
39
  * @param {string[]} [whitelistArr] positive filter. if not provided, returns originalObj without filter
19
- * @returns {Object.<string,*>} filtered object that only contains keys you provided
40
+ * @returns {Object.<string, unknown>} filtered object that only contains keys you provided
20
41
  */
21
- function filterObjByKeys(originalObj: {
22
- [x: string]: any;
42
+ export function filterObjByKeys(originalObj: {
43
+ [x: string]: unknown;
23
44
  }, whitelistArr?: string[]): {
24
- [x: string]: any;
45
+ [x: string]: unknown;
25
46
  };
26
47
  /**
27
48
  * extended Array.includes method that allows check if an array-element starts with a certain string
@@ -30,7 +51,7 @@ export namespace Util {
30
51
  * @param {string} search the string you are looking for
31
52
  * @returns {boolean} found / not found
32
53
  */
33
- function includesStartsWith(arr: string[], search: string): boolean;
54
+ export function includesStartsWith(arr: string[], search: string): boolean;
34
55
  /**
35
56
  * extended Array.includes method that allows check if an array-element starts with a certain string
36
57
  *
@@ -38,7 +59,7 @@ export namespace Util {
38
59
  * @param {string} search the string you are looking for
39
60
  * @returns {number} array index 0..n or -1 of not found
40
61
  */
41
- function includesStartsWithIndex(arr: string[], search: string): number;
62
+ export function includesStartsWithIndex(arr: string[], search: string): number;
42
63
  /**
43
64
  * check if a market name exists in current mcdev config
44
65
  *
@@ -46,7 +67,7 @@ export namespace Util {
46
67
  * @param {Mcdevrc} properties local mcdev config
47
68
  * @returns {boolean} found market or not
48
69
  */
49
- function checkMarket(market: string, properties: Mcdevrc): boolean;
70
+ export function checkMarket(market: string, properties: Mcdevrc): boolean;
50
71
  /**
51
72
  * check if a market name exists in current mcdev config
52
73
  *
@@ -54,14 +75,14 @@ export namespace Util {
54
75
  * @param {Mcdevrc} properties local mcdev config
55
76
  * @returns {boolean} found market or not
56
77
  */
57
- function checkMarketList(marketArr: string[], properties: Mcdevrc): boolean;
78
+ export function checkMarketList(marketArr: string[], properties: Mcdevrc): boolean;
58
79
  /**
59
80
  * ensure provided MarketList exists and it's content including markets and BUs checks out
60
81
  *
61
82
  * @param {string} mlName name of marketList
62
83
  * @param {Mcdevrc} properties General configuration to be used in retrieve
63
84
  */
64
- function verifyMarketList(mlName: string, properties: Mcdevrc): void;
85
+ export function verifyMarketList(mlName: string, properties: Mcdevrc): void;
65
86
  /**
66
87
  *
67
88
  * @param {string | TypeKeyCombo} selectedTypes supported metadata type
@@ -69,56 +90,56 @@ export namespace Util {
69
90
  * @param {string} [commandName] for log output only
70
91
  * @returns {TypeKeyCombo | undefined} true if everything is valid; false otherwise
71
92
  */
72
- function checkAndPrepareTypeKeyCombo(selectedTypes: string | TypeKeyCombo, keyArr?: string[], commandName?: string): TypeKeyCombo | undefined;
93
+ export function checkAndPrepareTypeKeyCombo(selectedTypes: string | TypeKeyCombo, keyArr?: string[], commandName?: string): TypeKeyCombo | undefined;
73
94
  /**
74
95
  * used to ensure the program tells surrounding software that an unrecoverable error occured
75
96
  *
76
97
  * @returns {void}
77
98
  */
78
- function signalFatalError(): void;
99
+ export function signalFatalError(): void;
79
100
  /**
80
101
  * SFMC accepts multiple true values for Boolean attributes for which we are checking here.
81
102
  * The same problem occurs when evaluating boolean CLI flags
82
103
  *
83
- * @param {*} attrValue value
104
+ * @param {string|number|boolean|null|undefined} attrValue value
84
105
  * @returns {boolean} attribute value == true ? true : false
85
106
  */
86
- function isTrue(attrValue: any): boolean;
107
+ export function isTrue(attrValue: string | number | boolean | null | undefined): boolean;
87
108
  /**
88
109
  * SFMC accepts multiple false values for Boolean attributes for which we are checking here.
89
110
  * The same problem occurs when evaluating boolean CLI flags
90
111
  *
91
- * @param {*} attrValue value
112
+ * @param {string|number|boolean|null|undefined} attrValue value
92
113
  * @returns {boolean} attribute value == false ? true : false
93
114
  */
94
- function isFalse(attrValue: any): boolean;
95
- function isEqual(item1: string | number | boolean | any[] | object, item2: string | number | boolean | any[] | object): boolean;
96
- function _isEqualArray(array1: any[], array2: any[]): boolean;
97
- function _isEqualObject(item1: object, item2: object): boolean;
115
+ export function isFalse(attrValue: string | number | boolean | null | undefined): boolean;
116
+ export function isEqual(item1: string | number | boolean | any[] | object, item2: string | number | boolean | any[] | object): boolean;
117
+ export function _isEqualArray(array1: any[], array2: any[]): boolean;
118
+ export function _isEqualObject(item1: object, item2: object): boolean;
98
119
  /**
99
- * helper for Mcdev.retrieve, Mcdev.retrieveAsTemplate and Mcdev.deploy
120
+ * helper for Mcdev.retrieve and Mcdev.deploy
100
121
  *
101
122
  * @param {string} selectedType type or type-subtype
102
123
  * @param {boolean} [handleOutside] if the API reponse is irregular this allows you to handle it outside of this generic method
103
124
  * @returns {boolean} type ok or not
104
125
  */
105
- function _isValidType(selectedType: string, handleOutside?: boolean): boolean;
126
+ export function _isValidType(selectedType: string, handleOutside?: boolean): boolean;
106
127
  /**
107
- * helper for Mcdev.retrieve, Mcdev.retrieveAsTemplate and Mcdev.deploy
128
+ * helper for Mcdev.retrieve and Mcdev.deploy
108
129
  *
109
130
  * @param {Mcdevrc} properties javascript object in .mcdevrc.json
110
131
  * @param {string} businessUnit name of BU
111
132
  * @param {boolean} [handleOutside] if the API reponse is irregular this allows you to handle it outside of this generic method
112
133
  * @returns {boolean} bu found or not
113
134
  */
114
- function isValidBU(properties: Mcdevrc, businessUnit: string, handleOutside?: boolean): boolean;
135
+ export function isValidBU(properties: Mcdevrc, businessUnit: string, handleOutside?: boolean): boolean;
115
136
  /**
116
137
  * helper that deals with extracting type and subtype
117
138
  *
118
139
  * @param {string} selectedType "type" or "type-subtype"
119
140
  * @returns {{type:string, subType:string}} first elem is type, second elem is subType
120
141
  */
121
- function getTypeAndSubType(selectedType: string): {
142
+ export function getTypeAndSubType(selectedType: string): {
122
143
  type: string;
123
144
  subType: string;
124
145
  };
@@ -128,7 +149,7 @@ export namespace Util {
128
149
  * @param {'typeRetrieveByDefault'|'typeCdpByDefault'} field relevant field in type definition
129
150
  * @returns {string[]} type choices
130
151
  */
131
- function getTypeChoices(field: "typeRetrieveByDefault" | "typeCdpByDefault"): string[];
152
+ export function getTypeChoices(field: "typeRetrieveByDefault" | "typeCdpByDefault"): string[];
132
153
  /**
133
154
  * helper for cli.selectTypes and init.config.fixMcdevConfig that converts subtypes back to main type if all and only defaults were selected
134
155
  * this keeps the config automatically upgradable when we add new subtypes or change what is selected by default
@@ -138,29 +159,29 @@ export namespace Util {
138
159
  * @param {'asset'} [type] metadata type
139
160
  * @returns {string[]} filtered selectedTypes
140
161
  */
141
- function summarizeSubtypes(field: "typeRetrieveByDefault" | "typeCdpByDefault", selectedTypes: string[], type?: "asset"): string[];
142
- let logFileName: string;
143
- function _createNewLoggerTransport(noLogFile?: boolean): object;
144
- let loggerTransports: any;
145
- let logger: Logger;
146
- function startLogger(restart?: boolean, noLogFile?: boolean): void;
147
- function metadataLogger(level: string, type: string, method: string, payload: any, source?: string): void;
148
- function replaceByObject(str: string | object, obj: TemplateMap): string | object;
149
- function inverseGet(objs: object, val: string | number): string;
162
+ export function summarizeSubtypes(field: "typeRetrieveByDefault" | "typeCdpByDefault", selectedTypes: string[], type?: "asset"): string[];
163
+ export let logFileName: string;
164
+ export function _createNewLoggerTransport(noLogFile?: boolean): object;
165
+ export let loggerTransports: any;
166
+ export let logger: Logger;
167
+ export function startLogger(restart?: boolean, noLogFile?: boolean): void;
168
+ export function metadataLogger(level: string, type: string, method: string, payload: Error | string | object, source?: string): void;
169
+ export function replaceByObject(str: string | object, obj: TemplateMap): string | object;
170
+ export function inverseGet(objs: object, val: string | number): string;
150
171
  /**
151
172
  *helper for Mcdev.fixKeys. Retrieve dependent metadata
152
173
  *
153
174
  * @param {string} fixedType type of the metadata passed as a parameter to fixKeys function
154
175
  * @returns {string[]} array of types that depend on the given type
155
176
  */
156
- function getDependentMetadata(fixedType: string): string[];
177
+ export function getDependentMetadata(fixedType: string): string[];
157
178
  /**
158
179
  * Returns Order in which metadata needs to be retrieved/deployed
159
180
  *
160
181
  * @param {string[]} typeArr which should be retrieved/deployed
161
182
  * @returns {Object.<string, string[]>} retrieve/deploy order as array
162
183
  */
163
- function getMetadataHierachy(typeArr: string[]): {
184
+ export function getMetadataHierachy(typeArr: string[]): {
164
185
  [x: string]: string[];
165
186
  };
166
187
  /**
@@ -168,9 +189,9 @@ export namespace Util {
168
189
  *
169
190
  * @param {string} path 'fieldA.fieldB.fieldC'
170
191
  * @param {object} obj some parent object
171
- * @returns {any} value of obj.path
192
+ * @returns {ReturnType<JSON['parse']>} value of obj.path
172
193
  */
173
- function resolveObjPath(path: string, obj: object): any;
194
+ export function resolveObjPath(path: string, obj: object): ReturnType<JSON["parse"]>;
174
195
  /**
175
196
  * helper to run other commands as if run manually by user
176
197
  *
@@ -179,7 +200,7 @@ export namespace Util {
179
200
  * @param {boolean} [hideOutput] if true, output of command will be hidden from CLI
180
201
  * @returns {string|void} output of command if hideOutput is true
181
202
  */
182
- function execSync(cmd: string, args?: string[], hideOutput?: boolean): string | void;
203
+ export function execSync(cmd: string, args?: string[], hideOutput?: boolean): string | void;
183
204
  /**
184
205
  * standardize check to ensure only one result is returned from template search
185
206
  *
@@ -188,7 +209,7 @@ export namespace Util {
188
209
  * @param {string} searchValue the value which is being looked for
189
210
  * @returns {MetadataTypeItem} metadata to be used in building template
190
211
  */
191
- function templateSearchResult(results: MetadataTypeItem[], keyToSearch: string, searchValue: string): MetadataTypeItem;
212
+ export function templateSearchResult(results: MetadataTypeItem[], keyToSearch: string, searchValue: string): MetadataTypeItem;
192
213
  /**
193
214
  * configures what is displayed in the console
194
215
  *
@@ -198,7 +219,7 @@ export namespace Util {
198
219
  * @param {boolean} [argv.debug] enables developer output & features
199
220
  * @returns {void}
200
221
  */
201
- function setLoggingLevel(argv: {
222
+ export function setLoggingLevel(argv: {
202
223
  silent?: boolean;
203
224
  verbose?: boolean;
204
225
  debug?: boolean;
@@ -208,16 +229,20 @@ export namespace Util {
208
229
  *
209
230
  * @param {string} type api name of the type thats in beta
210
231
  */
211
- function logBeta(type: string): void;
232
+ export function logBeta(type: string): void;
212
233
  /**
213
234
  * outputs a warning that the given method is deprecated
214
235
  *
215
236
  * @param {string} method name of the method
216
237
  * @param {string} [useInstead] optionally specify which method to use instead
217
238
  */
218
- function logDeprecated(method: string, useInstead?: string): void;
219
- function logNotSupported(definition: any, method: string, item?: MetadataTypeItem): void;
220
- namespace color {
239
+ export function logDeprecated(method: string, useInstead?: string): void;
240
+ export function logNotSupported(definition: {
241
+ type: string;
242
+ keyField: string;
243
+ nameField: string;
244
+ }, method: string, item?: MetadataTypeItem): void;
245
+ export namespace color {
221
246
  let reset: string;
222
247
  let dim: string;
223
248
  let bright: string;
@@ -250,31 +275,43 @@ export namespace Util {
250
275
  * @param {string} msg log message that should be wrapped with color codes
251
276
  * @returns {string} gray msg
252
277
  */
253
- function getGrayMsg(msg: string): string;
278
+ export function getGrayMsg(msg: string): string;
254
279
  /**
255
280
  * helper that returns the prefix of item specific log messages
256
281
  *
257
- * @param {any} definition metadata definition
282
+ * @param {{type:string, keyField:string, nameField:string}} definition metadata definition
258
283
  * @param {MetadataTypeItem} metadataItem metadata item
259
284
  * @returns {string} msg prefix
260
285
  */
261
- function getMsgPrefix(definition: any, metadataItem: MetadataTypeItem): string;
286
+ export function getMsgPrefix(definition: {
287
+ type: string;
288
+ keyField: string;
289
+ nameField: string;
290
+ }, metadataItem: MetadataTypeItem): string;
262
291
  /**
263
292
  * helper that returns the prefix of item specific log messages
264
293
  *
265
- * @param {any} definition metadata definition
294
+ * @param {{type:string, keyField:string, nameField:string}} definition metadata definition
266
295
  * @param {MetadataTypeItem} metadataItem metadata item
267
296
  * @returns {string} key or key/name combo
268
297
  */
269
- function getTypeKeyName(definition: any, metadataItem: MetadataTypeItem): string;
298
+ export function getTypeKeyName(definition: {
299
+ type: string;
300
+ keyField: string;
301
+ nameField: string;
302
+ }, metadataItem: MetadataTypeItem): string;
270
303
  /**
271
304
  * helper that returns the prefix of item specific log messages
272
305
  *
273
- * @param {any} definition metadata definition
306
+ * @param {{type:string, keyField:string, nameField:string}} definition metadata definition
274
307
  * @param {MetadataTypeItem} metadataItem metadata item
275
308
  * @returns {string} key or key/name combo
276
309
  */
277
- function getKeyName(definition: any, metadataItem: MetadataTypeItem): string;
310
+ export function getKeyName(definition: {
311
+ type: string;
312
+ keyField: string;
313
+ nameField: string;
314
+ }, metadataItem: MetadataTypeItem): string;
278
315
  /**
279
316
  * helper to print the subtypes we filtered by
280
317
  *
@@ -282,7 +319,7 @@ export namespace Util {
282
319
  * @param {string} [indent] optional prefix of spaces to be added to the log message
283
320
  * @returns {void}
284
321
  */
285
- function logSubtypes(subTypeArr: string[], indent?: string): void;
322
+ export function logSubtypes(subTypeArr: string[], indent?: string): void;
286
323
  /**
287
324
  * helper to print the subtypes we filtered by
288
325
  *
@@ -290,14 +327,14 @@ export namespace Util {
290
327
  * @param {boolean} [isId] optional flag to indicate if key is an id
291
328
  * @returns {string} string to be appended to log message
292
329
  */
293
- function getKeysString(keyArr: string[] | string, isId?: boolean): string;
330
+ export function getKeysString(keyArr: string[] | string, isId?: boolean): string;
294
331
  /**
295
332
  * pause execution of code; useful when multiple server calls are dependent on each other and might not be executed right away
296
333
  *
297
334
  * @param {number} ms time in miliseconds to wait
298
335
  * @returns {Promise.<void>} - promise to wait for
299
336
  */
300
- function sleep(ms: number): Promise<void>;
337
+ export function sleep(ms: number): Promise<void>;
301
338
  /**
302
339
  * helper for Asset.extractCode and Script.prepExtractedCode to determine if a code block is a valid SSJS block
303
340
  *
@@ -316,7 +353,7 @@ export namespace Util {
316
353
  * @param {string} code code block to check
317
354
  * @returns {string} the SSJS code if code block is a valid SSJS block, otherwise null
318
355
  */
319
- function getSsjs(code: string): string;
356
+ export function getSsjs(code: string): string;
320
357
  /**
321
358
  * allows us to filter just like with SQL's LIKE operator
322
359
  *
@@ -324,7 +361,7 @@ export namespace Util {
324
361
  * @param {string} search search string in SQL LIKE format
325
362
  * @returns {boolean} true if testString matches search
326
363
  */
327
- function stringLike(testString: string, search: string): boolean;
364
+ export function stringLike(testString: string, search: string): boolean;
328
365
  /**
329
366
  * returns true if no LIKE filter is defined or if all filters match
330
367
  *
@@ -333,14 +370,14 @@ export namespace Util {
333
370
  * @param {object} [filters] only used in recursive calls
334
371
  * @returns {boolean} true if no LIKE filter is defined or if all filters match
335
372
  */
336
- function fieldsLike(metadata: MetadataTypeItem, definition: object, filters?: object): boolean;
373
+ export function fieldsLike(metadata: MetadataTypeItem, definition: object, filters?: object): boolean;
337
374
  /**
338
375
  * helper used by SOAP methods to ensure the type always uses an upper-cased first letter
339
376
  *
340
377
  * @param {string} str string to capitalize
341
378
  * @returns {string} str with first letter capitalized
342
379
  */
343
- function capitalizeFirstLetter(str: string): string;
380
+ export function capitalizeFirstLetter(str: string): string;
344
381
  /**
345
382
  * helper for Retriever and Deployer class
346
383
  *
@@ -349,59 +386,60 @@ export namespace Util {
349
386
  * @param {boolean} [returnEmpty] returns array with null element if false/not set; Retriever needs this to be false; Deployer needs it to be true
350
387
  * @returns {TypeKeyCombo} -
351
388
  */
352
- function createTypeKeyCombo(typeArr: string | string[], keyArr: string[], returnEmpty?: boolean): TypeKeyCombo;
389
+ export function createTypeKeyCombo(typeArr: string | string[], keyArr: string[], returnEmpty?: boolean): TypeKeyCombo;
353
390
  /**
354
391
  * helper that converts TypeKeyCombo objects into a string with all relevant -m parameters
355
392
  *
356
393
  * @param {TypeKeyCombo} [selectedTypes] selected metadata types & key
357
394
  * @returns {string} object converted into --metadata parameters
358
395
  */
359
- function convertTypeKeyToCli(selectedTypes?: TypeKeyCombo): string;
396
+ export function convertTypeKeyToCli(selectedTypes?: TypeKeyCombo): string;
360
397
  /**
361
398
  * helper that converts TypeKeyCombo objects into a string with all relevant -m parameters
362
399
  *
363
400
  * @param {TypeKeyCombo} [selectedTypes] selected metadata types & key
364
401
  * @returns {string} object converted into --metadata parameters
365
402
  */
366
- function convertTypeKeyToString(selectedTypes?: TypeKeyCombo): string;
403
+ export function convertTypeKeyToString(selectedTypes?: TypeKeyCombo): string;
367
404
  /**
368
405
  * helper that checks how many keys are defined in TypeKeyCombo object
369
406
  *
370
407
  * @param {TypeKeyCombo} [selectedTypes] selected metadata types & key
371
408
  * @returns {number} amount of keys across all types
372
409
  */
373
- function getTypeKeyCount(selectedTypes?: TypeKeyCombo): number;
410
+ export function getTypeKeyCount(selectedTypes?: TypeKeyCombo): number;
374
411
  /**
375
412
  * async version of Array.find()
376
413
  * returns the first element in the provided array that satisfies the provided testin function
377
414
  *
378
- * @param {Array} arr your test array
379
- * @param {Function} asyncCallback callback
380
- * @returns {Promise.<any | undefined>} first element that passed the test
415
+ * @template T
416
+ * @param {T[]} arr your test array
417
+ * @param {(element: T) => Promise.<boolean>} asyncCallback callback
418
+ * @returns {Promise.<T | undefined>} first element that passed the test
381
419
  */
382
- function findAsync(arr: any[], asyncCallback: Function): Promise<any | undefined>;
420
+ export function findAsync<T>(arr: T[], asyncCallback: (element: T) => Promise<boolean>): Promise<T | undefined>;
383
421
  /**
384
422
  *
385
423
  * @param {Array} array array to be chunked
386
424
  * @param {number} chunk_size integer > 0
387
425
  * @returns {Array[]} array of arrays with max chunk_size members per element, last element might have less
388
426
  */
389
- function chunk(array: any[], chunk_size: number): any[][];
427
+ export function chunk(array: any[], chunk_size: number): any[][];
390
428
  /**
391
429
  * recursively find all values of the given key in the object
392
430
  *
393
- * @param {any} object data to search in
431
+ * @param {object} object data to search in
394
432
  * @param {string} key attribute to find
395
433
  * @returns {Array} all values of the given key
396
434
  */
397
- function findLeafVals(object: any, key: string): any[];
435
+ export function findLeafVals(object: object, key: string): any[];
398
436
  /**
399
437
  * helper that returns a new object with sorted attributes of the given object
400
438
  *
401
439
  * @param {object} obj object with unsorted attributes
402
440
  * @returns {object} obj but with sorted attributes
403
441
  */
404
- function sortObjectAttributes(obj: object): object;
442
+ export function sortObjectAttributes(obj: object): object;
405
443
  }
406
444
  export type AuthObject = import("../../types/mcdev.d.js").AuthObject;
407
445
  export type BuObject = import("../../types/mcdev.d.js").BuObject;
@@ -424,4 +462,7 @@ export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestPara
424
462
  export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap;
425
463
  export type TypeKeyCombo = import("../../types/mcdev.d.js").TypeKeyCombo;
426
464
  export type SDKError = import("../../types/mcdev.d.js").SDKError;
465
+ declare const defaultBoilerplateRoot: string;
466
+ import packageJsonMcdev from '../../package.json' with { type: 'json' };
467
+ export {};
427
468
  //# sourceMappingURL=util.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../lib/util/util.js"],"names":[],"mappings":";;;;;;;;yBAiDe,eAAe;;;;;IAO1B;;;;;;OAMG;IACH;;sBAHW,MAAM,EAAE;;MAalB;IAED;;;;;;OAMG;IACH,iCAJW,MAAM,EAAE,UACR,MAAM,GACJ,OAAO,CAInB;IAED;;;;;;OAMG;IACH,sCAJW,MAAM,EAAE,UACR,MAAM,GACJ,MAAM,CAIlB;IAED;;;;;;OAMG;IACH,6BAJW,MAAM,cACN,OAAO,GACL,OAAO,CAcnB;IAED;;;;;;OAMG;IACH,oCAJW,MAAM,EAAE,cACR,OAAO,GACL,OAAO,CAYnB;IAED;;;;;OAKG;IACH,kCAHW,MAAM,cACN,OAAO,QAqCjB;IACD;;;;;;OAMG;IACH,oDALW,MAAM,GAAG,YAAY,WACrB,MAAM,EAAE,gBACR,MAAM,GACJ,YAAY,GAAG,SAAS,CAwBpC;IAED;;;;OAIG;IACH,6BAFa,IAAI,CAKhB;IAED;;;;;;OAMG;IACH,2BAHW,GAAC,GACC,OAAO,CAInB;IAED;;;;;;OAMG;IACH,4BAHW,GAAC,GACC,OAAO,CAInB;IAQQ,wBAJE,MAAM,GAAG,MAAM,GAAG,OAAO,WAAW,MAAM,SAC1C,MAAM,GAAG,MAAM,GAAG,OAAO,WAAW,MAAM,GACxC,OAAO,CAgBnB;IAQc,sDAFF,OAAO,CAQnB;IAQe,+BAJL,MAAM,SACN,MAAM,GACJ,OAAO,CAYnB;IAED;;;;;;OAMG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
2
3
  *
3
- * @param {any} definition type definition
4
- * @param {any} item MetadataItem
4
+ * @param {string} [root] project root containing the custom validation module
5
+ * @returns {Promise.<void>} -
6
+ */
7
+ export function loadCustomRules(root?: string): Promise<void>;
8
+ /**
9
+ *
10
+ * @param {{type:string, keyField:string, nameField:string}} definition type definition
11
+ * @param {ReturnType<JSON['parse']>} item MetadataItem
5
12
  * @param {string} targetDir folder in which the MetadataItem is deployed from (deploy/cred/bu)
6
13
  * @param {CodeExtract[]} [codeExtractItemArr] array of code snippets
14
+ * @param {string} [root] project root containing .mcdev-validations.js
7
15
  * @returns {Promise.<validationRuleList>} MetadataItem
8
16
  */
9
- export default function validation(definition: any, item: any, targetDir: string, codeExtractItemArr?: CodeExtract[]): Promise<validationRuleList>;
17
+ export default function validation(definition: {
18
+ type: string;
19
+ keyField: string;
20
+ nameField: string;
21
+ }, item: ReturnType<JSON["parse"]>, targetDir: string, codeExtractItemArr?: CodeExtract[], root?: string): Promise<validationRuleList>;
10
22
  export type validationRuleList = import("../../types/mcdev.d.js").validationRuleList;
11
23
  export type validationRuleFix = import("../../types/mcdev.d.js").validationRuleFix;
12
24
  export type validationRuleTest = import("../../types/mcdev.d.js").validationRuleTest;
@@ -1 +1 @@
1
- {"version":3,"file":"validations.d.ts","sourceRoot":"","sources":["../../../lib/util/validations.js"],"names":[],"mappings":"AAqCA;;;;;;;GAOG;AACH,+CANW,GAAG,QACH,GAAG,aACH,MAAM,uBACN,WAAW,EAAE,GACX,OAAO,CAAE,kBAAkB,CAAC,CAuHxC;iCA7JY,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;iCAClD,OAAO,wBAAwB,EAAE,kBAAkB;0BACnD,OAAO,wBAAwB,EAAE,WAAW"}
1
+ {"version":3,"file":"validations.d.ts","sourceRoot":"","sources":["../../../lib/util/validations.js"],"names":[],"mappings":"AAgBA;;;;;GAKG;AACH,uCAHW,MAAM,GACJ,OAAO,CAAE,IAAI,CAAC,CAwB1B;AACD;;;;;;;;GAQG;AACH,+CAPW;IAAC,IAAI,EAAC,MAAM,CAAC;IAAC,QAAQ,EAAC,MAAM,CAAC;IAAC,SAAS,EAAC,MAAM,CAAA;CAAC,QAChD,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,aACzB,MAAM,uBACN,WAAW,EAAE,SACb,MAAM,GACJ,OAAO,CAAE,kBAAkB,CAAC,CAoHxC;iCAlKY,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;iCAClD,OAAO,wBAAwB,EAAE,kBAAkB;0BACnD,OAAO,wBAAwB,EAAE,WAAW"}