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.
- package/@types/lib/Builder.d.ts +13 -14
- package/@types/lib/Builder.d.ts.map +1 -1
- package/@types/lib/Deployer.d.ts +16 -17
- package/@types/lib/Deployer.d.ts.map +1 -1
- package/@types/lib/MetadataTypeDefinitions.d.ts +4 -0
- package/@types/lib/MetadataTypeDefinitions.d.ts.map +1 -1
- package/@types/lib/MetadataTypeInfo.d.ts +4 -0
- package/@types/lib/MetadataTypeInfo.d.ts.map +1 -1
- package/@types/lib/Retriever.d.ts +16 -21
- package/@types/lib/Retriever.d.ts.map +1 -1
- package/@types/lib/cli.d.ts.map +1 -1
- package/@types/lib/index.d.ts +64 -36
- package/@types/lib/index.d.ts.map +1 -1
- package/@types/lib/metadataTypes/Asset.d.ts +159 -84
- package/@types/lib/metadataTypes/Asset.d.ts.map +1 -1
- package/@types/lib/metadataTypes/AttributeGroup.d.ts.map +1 -1
- package/@types/lib/metadataTypes/Automation.d.ts +2 -12
- package/@types/lib/metadataTypes/Automation.d.ts.map +1 -1
- package/@types/lib/metadataTypes/Campaign.d.ts +1 -0
- package/@types/lib/metadataTypes/Campaign.d.ts.map +1 -1
- package/@types/lib/metadataTypes/DataExtension.d.ts +4 -24
- package/@types/lib/metadataTypes/DataExtension.d.ts.map +1 -1
- package/@types/lib/metadataTypes/DataExtensionField.d.ts +25 -0
- package/@types/lib/metadataTypes/DataExtensionField.d.ts.map +1 -1
- package/@types/lib/metadataTypes/DataExtract.d.ts +1 -10
- package/@types/lib/metadataTypes/DataExtract.d.ts.map +1 -1
- package/@types/lib/metadataTypes/DataFilter.d.ts +6 -19
- package/@types/lib/metadataTypes/DataFilter.d.ts.map +1 -1
- package/@types/lib/metadataTypes/DeliveryProfile.d.ts.map +1 -1
- package/@types/lib/metadataTypes/DomainVerification.d.ts +1 -0
- package/@types/lib/metadataTypes/DomainVerification.d.ts.map +1 -1
- package/@types/lib/metadataTypes/Email.d.ts +0 -2
- package/@types/lib/metadataTypes/Email.d.ts.map +1 -1
- package/@types/lib/metadataTypes/Event.d.ts +6 -16
- package/@types/lib/metadataTypes/Event.d.ts.map +1 -1
- package/@types/lib/metadataTypes/FileLocation.d.ts.map +1 -1
- package/@types/lib/metadataTypes/FileTransfer.d.ts +1 -10
- package/@types/lib/metadataTypes/FileTransfer.d.ts.map +1 -1
- package/@types/lib/metadataTypes/Filter.d.ts +1 -1
- package/@types/lib/metadataTypes/Folder.d.ts +4 -4
- package/@types/lib/metadataTypes/Folder.d.ts.map +1 -1
- package/@types/lib/metadataTypes/ImportFile.d.ts +2 -12
- package/@types/lib/metadataTypes/ImportFile.d.ts.map +1 -1
- package/@types/lib/metadataTypes/Journey.d.ts +4 -4
- package/@types/lib/metadataTypes/Journey.d.ts.map +1 -1
- package/@types/lib/metadataTypes/List.d.ts +1 -1
- package/@types/lib/metadataTypes/MetadataType.d.ts +33 -36
- package/@types/lib/metadataTypes/MetadataType.d.ts.map +1 -1
- package/@types/lib/metadataTypes/MobileApplication.d.ts +189 -0
- package/@types/lib/metadataTypes/MobileApplication.d.ts.map +1 -0
- package/@types/lib/metadataTypes/MobileCode.d.ts.map +1 -1
- package/@types/lib/metadataTypes/MobileKeyword.d.ts +1 -11
- package/@types/lib/metadataTypes/MobileKeyword.d.ts.map +1 -1
- package/@types/lib/metadataTypes/MobileMessage.d.ts +23 -1
- package/@types/lib/metadataTypes/MobileMessage.d.ts.map +1 -1
- package/@types/lib/metadataTypes/MobilePush.d.ts +407 -0
- package/@types/lib/metadataTypes/MobilePush.d.ts.map +1 -0
- package/@types/lib/metadataTypes/MobilePushApp.d.ts +189 -0
- package/@types/lib/metadataTypes/MobilePushApp.d.ts.map +1 -0
- package/@types/lib/metadataTypes/Query.d.ts +1 -13
- package/@types/lib/metadataTypes/Query.d.ts.map +1 -1
- package/@types/lib/metadataTypes/Script.d.ts +1 -13
- package/@types/lib/metadataTypes/Script.d.ts.map +1 -1
- package/@types/lib/metadataTypes/SenderProfile.d.ts +7 -2
- package/@types/lib/metadataTypes/SenderProfile.d.ts.map +1 -1
- package/@types/lib/metadataTypes/User.d.ts.map +1 -1
- package/@types/lib/metadataTypes/definitions/Asset.definition.d.ts +51 -41
- package/@types/lib/metadataTypes/definitions/Campaign.definition.d.ts +1 -0
- package/@types/lib/metadataTypes/definitions/DataExtract.definition.d.ts +1 -0
- package/@types/lib/metadataTypes/definitions/DomainVerification.definition.d.ts +1 -0
- package/@types/lib/metadataTypes/definitions/FileTransfer.definition.d.ts +1 -0
- package/@types/lib/metadataTypes/definitions/Filter.definition.d.ts +1 -1
- package/@types/lib/metadataTypes/definitions/Journey.definition.d.ts +2 -0
- package/@types/lib/metadataTypes/definitions/MobileApplication.definition.d.ts +122 -0
- package/@types/lib/metadataTypes/definitions/MobileApplication.definition.d.ts.map +1 -0
- package/@types/lib/metadataTypes/definitions/MobileMessage.definition.d.ts +6 -0
- package/@types/lib/metadataTypes/definitions/MobilePush.definition.d.ts +467 -0
- package/@types/lib/metadataTypes/definitions/MobilePush.definition.d.ts.map +1 -0
- package/@types/lib/metadataTypes/definitions/MobilePushApp.definition.d.ts +122 -0
- package/@types/lib/metadataTypes/definitions/MobilePushApp.definition.d.ts.map +1 -0
- package/@types/lib/metadataTypes/definitions/Query.definition.d.ts +1 -0
- package/@types/lib/metadataTypes/definitions/Script.definition.d.ts +1 -0
- package/@types/lib/util/auth.d.ts +30 -23
- package/@types/lib/util/auth.d.ts.map +1 -1
- package/@types/lib/util/cache.d.ts.map +1 -1
- package/@types/lib/util/cli.d.ts.map +1 -1
- package/@types/lib/util/config.d.ts.map +1 -1
- package/@types/lib/util/devops.d.ts +9 -0
- package/@types/lib/util/devops.d.ts.map +1 -1
- package/@types/lib/util/file.d.ts +32 -18
- package/@types/lib/util/file.d.ts.map +1 -1
- package/@types/lib/util/git.d.ts +155 -0
- package/@types/lib/util/git.d.ts.map +1 -0
- package/@types/lib/util/init.config.d.ts +30 -14
- package/@types/lib/util/init.config.d.ts.map +1 -1
- package/@types/lib/util/init.d.ts.map +1 -1
- package/@types/lib/util/init.git.d.ts +10 -0
- package/@types/lib/util/init.git.d.ts.map +1 -1
- package/@types/lib/util/init.npm.d.ts +9 -14
- package/@types/lib/util/init.npm.d.ts.map +1 -1
- package/@types/lib/util/isDeepEqual.d.ts +9 -0
- package/@types/lib/util/isDeepEqual.d.ts.map +1 -0
- package/@types/lib/util/jsonToTable.d.ts +9 -0
- package/@types/lib/util/jsonToTable.d.ts.map +1 -0
- package/@types/lib/util/migrations/assetV10.d.ts +70 -0
- package/@types/lib/util/migrations/assetV10.d.ts.map +1 -0
- package/@types/lib/util/progress.d.ts +249 -0
- package/@types/lib/util/progress.d.ts.map +1 -0
- package/@types/lib/util/sessionStore.d.ts +25 -0
- package/@types/lib/util/sessionStore.d.ts.map +1 -0
- package/@types/lib/util/topological-sort.d.ts +22 -0
- package/@types/lib/util/topological-sort.d.ts.map +1 -0
- package/@types/lib/util/util.d.ts +124 -83
- package/@types/lib/util/util.d.ts.map +1 -1
- package/@types/lib/util/validations.d.ts +15 -3
- package/@types/lib/util/validations.d.ts.map +1 -1
- package/@types/types/mcdev.d.d.ts +35 -22
- package/@types/types/mcdev.d.d.ts.map +1 -1
- package/README.md +6 -2
- package/boilerplate/files/.prettierignore +7 -0
- package/boilerplate/files/.prettierrc +1 -23
- package/boilerplate/files/.vscode/extensions.json +14 -13
- package/boilerplate/files/.vscode/settings.json +14 -8
- package/boilerplate/files/eslint.config.js +44 -175
- package/boilerplate/forcedUpdates.json +11 -0
- package/boilerplate/npm-dependencies.json +3 -5
- package/boilerplate/npmrc-template +1 -0
- package/lib/Builder.js +4 -12
- package/lib/Deployer.js +32 -29
- package/lib/MetadataTypeDefinitions.js +4 -0
- package/lib/MetadataTypeInfo.js +4 -0
- package/lib/Retriever.js +8 -32
- package/lib/cli.js +101 -82
- package/lib/index.js +225 -166
- package/lib/metadataTypes/Asset.js +958 -307
- package/lib/metadataTypes/AttributeGroup.js +1 -6
- package/lib/metadataTypes/AttributeSet.js +1 -1
- package/lib/metadataTypes/Automation.js +95 -162
- package/lib/metadataTypes/Campaign.js +1 -6
- package/lib/metadataTypes/DataExtension.js +92 -132
- package/lib/metadataTypes/DataExtensionField.js +115 -1
- package/lib/metadataTypes/DataExtract.js +1 -56
- package/lib/metadataTypes/DataExtractType.js +1 -1
- package/lib/metadataTypes/DataFilter.js +23 -9
- package/lib/metadataTypes/DeliveryProfile.js +1 -6
- package/lib/metadataTypes/DomainVerification.js +1 -1
- package/lib/metadataTypes/Email.js +2 -4
- package/lib/metadataTypes/Event.js +7 -66
- package/lib/metadataTypes/FileLocation.js +1 -7
- package/lib/metadataTypes/FileTransfer.js +1 -56
- package/lib/metadataTypes/Filter.js +1 -1
- package/lib/metadataTypes/Folder.js +9 -9
- package/lib/metadataTypes/ImportFile.js +4 -59
- package/lib/metadataTypes/Journey.js +408 -168
- package/lib/metadataTypes/MetadataType.js +180 -182
- package/lib/metadataTypes/MobileCode.js +0 -1
- package/lib/metadataTypes/MobileKeyword.js +6 -39
- package/lib/metadataTypes/MobileMessage.js +111 -13
- package/lib/metadataTypes/MobilePush.js +456 -0
- package/lib/metadataTypes/MobilePushApp.js +118 -0
- package/lib/metadataTypes/Query.js +11 -37
- package/lib/metadataTypes/Script.js +1 -20
- package/lib/metadataTypes/SenderProfile.js +27 -23
- package/lib/metadataTypes/TransactionalMessage.js +1 -1
- package/lib/metadataTypes/TransactionalSMS.js +1 -1
- package/lib/metadataTypes/TriggeredSend.js +1 -1
- package/lib/metadataTypes/User.js +27 -23
- package/lib/metadataTypes/Verification.js +2 -2
- package/lib/metadataTypes/definitions/Asset.definition.js +94 -61
- package/lib/metadataTypes/definitions/Campaign.definition.js +1 -0
- package/lib/metadataTypes/definitions/DataExtract.definition.js +1 -0
- package/lib/metadataTypes/definitions/DomainVerification.definition.js +1 -0
- package/lib/metadataTypes/definitions/EmailSend.definition.js +2 -2
- package/lib/metadataTypes/definitions/FileTransfer.definition.js +1 -0
- package/lib/metadataTypes/definitions/Filter.definition.js +2 -3
- package/lib/metadataTypes/definitions/Journey.definition.js +7 -3
- package/lib/metadataTypes/definitions/MobileMessage.definition.js +6 -0
- package/lib/metadataTypes/definitions/MobilePush.definition.js +308 -0
- package/lib/metadataTypes/definitions/MobilePushApp.definition.js +121 -0
- package/lib/metadataTypes/definitions/Query.definition.js +1 -0
- package/lib/metadataTypes/definitions/Script.definition.js +1 -0
- package/lib/metadataTypes/definitions/TransactionalEmail.definition.js +1 -1
- package/lib/metadataTypes/definitions/TransactionalPush.definition.js +1 -1
- package/lib/metadataTypes/definitions/TriggeredSend.definition.js +2 -2
- package/lib/retrieveChangelog.js +28 -26
- package/lib/util/auth.js +127 -83
- package/lib/util/businessUnit.js +1 -1
- package/lib/util/cache.js +4 -6
- package/lib/util/cli.js +19 -19
- package/lib/util/config.js +22 -21
- package/lib/util/devops.js +162 -77
- package/lib/util/file.js +213 -199
- package/lib/util/git.js +278 -0
- package/lib/util/init.config.js +149 -169
- package/lib/util/init.git.js +37 -13
- package/lib/util/init.js +24 -15
- package/lib/util/init.npm.js +103 -120
- package/lib/util/isDeepEqual.js +48 -0
- package/lib/util/jsonToTable.js +76 -0
- package/lib/util/migrations/assetV10.js +367 -0
- package/lib/util/progress.js +609 -0
- package/lib/util/sessionStore.js +219 -0
- package/lib/util/topological-sort.js +114 -0
- package/lib/util/util.js +203 -118
- package/lib/util/validations.js +17 -11
- package/package.json +121 -126
- package/scripts/verify-packed-package.mjs +90 -0
- package/scripts/verify-progress-fixture.mjs +362 -0
- package/types/init-declarations.type-test.js +10 -0
- package/types/mcdev.d.js +18 -12
- package/.beautyamp.json +0 -13
- package/.bitbucket/PULL_REQUEST_TEMPLATE.md +0 -19
- package/.coverage-comment-template.svelte +0 -194
- package/.editorconfig +0 -9
- package/.fork/.prettierrc +0 -6
- package/.fork/custom-commands.json +0 -140
- package/.gitattributes +0 -7
- package/.github/ISSUE_TEMPLATE/bug.yml +0 -149
- package/.github/ISSUE_TEMPLATE/feature_request.md +0 -20
- package/.github/ISSUE_TEMPLATE/task.md +0 -10
- package/.github/PULL_REQUEST_TEMPLATE/pr_template_release.md +0 -28
- package/.github/PULL_REQUEST_TEMPLATE.md +0 -16
- package/.github/dependabot.yml +0 -23
- package/.github/pr-labeler.yml +0 -3
- package/.github/workflows/close_issues_on_merge.yml +0 -23
- package/.github/workflows/code-test.yml +0 -41
- package/.github/workflows/coverage-base-update.yml +0 -61
- package/.github/workflows/coverage-develop-branch.yml +0 -42
- package/.github/workflows/coverage-main-branch.yml +0 -42
- package/.github/workflows/coverage.yml +0 -82
- package/.github/workflows/npm-publish.yml +0 -36
- package/.github/workflows/pr-labeler.yml +0 -19
- package/.husky/commit-msg +0 -8
- package/.husky/post-checkout +0 -38
- package/.husky/post-merge +0 -24
- package/.husky/pre-commit +0 -8
- package/.issuetracker +0 -15
- package/.markdownlint.json +0 -16
- package/.markdownlint.md +0 -4
- package/.nycrc.json +0 -5
- package/.prettierignore +0 -3
- package/.prettierrc +0 -33
- package/.vscode/extensions.json +0 -28
- package/.vscode/launch.json +0 -15
- package/.vscode/settings.json +0 -92
- package/.vsls.json +0 -6
- package/CONTRIBUTING.md +0 -22
- package/boilerplate/files/.beautyamp.json +0 -13
- package/docs/dist/considerations.md +0 -66
- package/eslint.config.js +0 -144
- package/img/README.md/cdp-1.jpg +0 -0
- package/img/README.md/troubleshoot-authentication.jpg +0 -0
- package/img/README.md/troubleshoot-execution_policy-2.png +0 -0
- package/img/README.md/troubleshoot-execution_policy.jpg +0 -0
- package/img/README.md/troubleshoot-mac-sudo.png +0 -0
- package/img/README.md/troubleshoot-nodejs-index.jpg +0 -0
- package/img/README.md/troubleshoot-nodejs-permission.jpg +0 -0
- package/img/README.md/troubleshoot-ssh.jpg +0 -0
- package/img/README.md/vscode-eslint-allow_everywhere.jpg +0 -0
- package/img/README.md/vscode-recommendations-1.png +0 -0
- package/img/README.md/vscode-recommendations-2.png +0 -0
- package/prepare-release.js +0 -37
- package/test/general.test.js +0 -2709
- package/test/mockRoot/.mcdev-auth.json +0 -8
- package/test/mockRoot/.mcdev-validations.js +0 -93
- package/test/mockRoot/.mcdevrc.json +0 -182
- package/test/mockRoot/deploy/testInstance/_ParentBU_/dataExtension/testExisting_dataExtensionShared.dataExtension-meta.json +0 -58
- package/test/mockRoot/deploy/testInstance/_ParentBU_/dataExtension/testNew_dataExtensionShared.dataExtension-meta.json +0 -20
- package/test/mockRoot/deploy/testInstance/_ParentBU_/query/testNew_query.query-meta.json +0 -11
- package/test/mockRoot/deploy/testInstance/_ParentBU_/query/testNew_query.query-meta.sql +0 -4
- package/test/mockRoot/deploy/testInstance/_ParentBU_/user/testBlocked_user.user-meta.json +0 -23
- package/test/mockRoot/deploy/testInstance/_ParentBU_/user/testExisting_user.user-meta.json +0 -31
- package/test/mockRoot/deploy/testInstance/_ParentBU_/user/testNew_user.user-meta.json +0 -27
- package/test/mockRoot/deploy/testInstance/testBU/asset/block/testExisting_asset_html-matchNamFail.asset-block-meta.html +0 -23
- package/test/mockRoot/deploy/testInstance/testBU/asset/block/testExisting_asset_html-matchNamFail.asset-block-meta.json +0 -41
- package/test/mockRoot/deploy/testInstance/testBU/asset/block/testExisting_asset_html-matchName.asset-block-meta.html +0 -23
- package/test/mockRoot/deploy/testInstance/testBU/asset/block/testExisting_asset_html-matchName.asset-block-meta.json +0 -41
- package/test/mockRoot/deploy/testInstance/testBU/asset/block/testExisting_asset_html-matchNameAdd.asset-block-meta.html +0 -23
- package/test/mockRoot/deploy/testInstance/testBU/asset/block/testExisting_asset_html-matchNameAdd.asset-block-meta.json +0 -41
- package/test/mockRoot/deploy/testInstance/testBU/asset/block/testNew_asset.asset-block-meta.html +0 -12
- package/test/mockRoot/deploy/testInstance/testBU/asset/block/testNew_asset.asset-block-meta.json +0 -39
- package/test/mockRoot/deploy/testInstance/testBU/asset/block/testNew_asset_htmlblock.asset-block-meta.html +0 -1
- package/test/mockRoot/deploy/testInstance/testBU/asset/block/testNew_asset_htmlblock.asset-block-meta.json +0 -39
- package/test/mockRoot/deploy/testInstance/testBU/asset/block/testNew_asset_withCBBK_notexisting.asset-block-meta.html +0 -4
- package/test/mockRoot/deploy/testInstance/testBU/asset/block/testNew_asset_withCBBK_notexisting.asset-block-meta.json +0 -39
- package/test/mockRoot/deploy/testInstance/testBU/asset/block/testNew_asset_withCBBK_preexisting.asset-block-meta.html +0 -4
- package/test/mockRoot/deploy/testInstance/testBU/asset/block/testNew_asset_withCBBK_preexisting.asset-block-meta.json +0 -39
- package/test/mockRoot/deploy/testInstance/testBU/asset/block/test_slash.asset-block-meta.html +0 -12
- package/test/mockRoot/deploy/testInstance/testBU/asset/block/test_slash.asset-block-meta.json +0 -29
- package/test/mockRoot/deploy/testInstance/testBU/asset/message/testNew_assetMessage/testNew_assetMessage.asset-message-meta.json +0 -435
- package/test/mockRoot/deploy/testInstance/testBU/asset/message/testNew_assetMessage/views.html.content.asset-message-meta.html +0 -150
- package/test/mockRoot/deploy/testInstance/testBU/asset/message/testNew_asset_templatebasedemail/testNew_asset_templatebasedemail.asset-message-meta.json +0 -305
- package/test/mockRoot/deploy/testInstance/testBU/asset/message/testNew_asset_templatebasedemail/views.html.content.asset-message-meta.html +0 -150
- package/test/mockRoot/deploy/testInstance/testBU/asset/template/testNew_asset_template/content.asset-template-meta.html +0 -150
- package/test/mockRoot/deploy/testInstance/testBU/asset/template/testNew_asset_template/testNew_asset_template.asset-template-meta.json +0 -116
- package/test/mockRoot/deploy/testInstance/testBU/automation/testExisting_automation.automation-meta.json +0 -52
- package/test/mockRoot/deploy/testInstance/testBU/automation/testNew_automation.automation-meta.json +0 -49
- package/test/mockRoot/deploy/testInstance/testBU/dataExtension/testExisting_dataExtension.dataExtension-meta.json +0 -59
- package/test/mockRoot/deploy/testInstance/testBU/dataExtension/testNew_dataExtension.dataExtension-meta.json +0 -20
- package/test/mockRoot/deploy/testInstance/testBU/dataExtract/testExisting_dataExtract.dataExtract-meta.json +0 -35
- package/test/mockRoot/deploy/testInstance/testBU/dataExtract/testNew_dataExtract.dataExtract-meta.json +0 -35
- package/test/mockRoot/deploy/testInstance/testBU/dataFilter/testExisting_dataFilter.dataFilter-meta.json +0 -19
- package/test/mockRoot/deploy/testInstance/testBU/dataFilter/testNew_dataFilter.dataFilter-meta.json +0 -19
- package/test/mockRoot/deploy/testInstance/testBU/domainVerification/joern.berkefeld.New@accenture.com.domainVerification-meta.json +0 -6
- package/test/mockRoot/deploy/testInstance/testBU/domainVerification/joern.berkefeld@accenture.com.domainVerification-meta.json +0 -6
- package/test/mockRoot/deploy/testInstance/testBU/domainVerification/mcdev.accenture.com.domainVerification-meta.json +0 -6
- package/test/mockRoot/deploy/testInstance/testBU/emailSend/testExisting_emailSend.emailSend-meta.json +0 -36
- package/test/mockRoot/deploy/testInstance/testBU/emailSend/testNew_emailSend.emailSend-meta.json +0 -36
- package/test/mockRoot/deploy/testInstance/testBU/event/testExisting_event.event-meta.json +0 -201
- package/test/mockRoot/deploy/testInstance/testBU/event/testNew_event_withExistingDE.event-meta.json +0 -233
- package/test/mockRoot/deploy/testInstance/testBU/event/testNew_event_withSchema.event-meta.json +0 -194
- package/test/mockRoot/deploy/testInstance/testBU/fileLocation/ExactTarget Enhanced FTP.fileLocation-meta.json +0 -5
- package/test/mockRoot/deploy/testInstance/testBU/fileLocation/testExisting_fileLocation_aws.fileLocation-meta.json +0 -14
- package/test/mockRoot/deploy/testInstance/testBU/fileLocation/testExisting_fileLocation_exsftp.fileLocation-meta.json +0 -12
- package/test/mockRoot/deploy/testInstance/testBU/fileTransfer/testExisting_fileTransfer.fileTransfer-meta.json +0 -17
- package/test/mockRoot/deploy/testInstance/testBU/fileTransfer/testNew_fileTransfer.fileTransfer-meta.json +0 -17
- package/test/mockRoot/deploy/testInstance/testBU/filter/testExisting_filter.filter-meta.json +0 -10
- package/test/mockRoot/deploy/testInstance/testBU/filter/testNew_filter.filter-meta.json +0 -11
- package/test/mockRoot/deploy/testInstance/testBU/importFile/testExisting_importFile.importFile-meta.json +0 -36
- package/test/mockRoot/deploy/testInstance/testBU/importFile/testNew_importFile.importFile-meta.json +0 -34
- package/test/mockRoot/deploy/testInstance/testBU/journey/testExisting_journey_Multistep.journey-meta.json +0 -418
- package/test/mockRoot/deploy/testInstance/testBU/journey/testExisting_journey_Quicksend.journey-meta.json +0 -232
- package/test/mockRoot/deploy/testInstance/testBU/journey/testExisting_journey_updatecontact.journey-meta.json +0 -108
- package/test/mockRoot/deploy/testInstance/testBU/journey/testExisting_temail.journey-meta.json +0 -212
- package/test/mockRoot/deploy/testInstance/testBU/journey/testExisting_temail_notPublished.journey-meta.json +0 -217
- package/test/mockRoot/deploy/testInstance/testBU/journey/testNew_temail_notPublished.journey-meta.json +0 -213
- package/test/mockRoot/deploy/testInstance/testBU/mobileKeyword/4912312345678.TESTNEW_KEYWORD.mobileKeyword-meta.amp +0 -2
- package/test/mockRoot/deploy/testInstance/testBU/mobileKeyword/4912312345678.TESTNEW_KEYWORD.mobileKeyword-meta.json +0 -8
- package/test/mockRoot/deploy/testInstance/testBU/mobileKeyword/4912312345678.TESTNEW_KEYWORD_BLOCKED.mobileKeyword-meta.amp +0 -2
- package/test/mockRoot/deploy/testInstance/testBU/mobileKeyword/4912312345678.TESTNEW_KEYWORD_BLOCKED.mobileKeyword-meta.json +0 -8
- package/test/mockRoot/deploy/testInstance/testBU/mobileMessage/NTIzOjc4OjA.mobileMessage-meta.amp +0 -1
- package/test/mockRoot/deploy/testInstance/testBU/mobileMessage/NTIzOjc4OjA.mobileMessage-meta.json +0 -59
- package/test/mockRoot/deploy/testInstance/testBU/mobileMessage/new.mobileMessage-meta.amp +0 -1
- package/test/mockRoot/deploy/testInstance/testBU/mobileMessage/new.mobileMessage-meta.json +0 -58
- package/test/mockRoot/deploy/testInstance/testBU/query/testExisting_query.query-meta.json +0 -11
- package/test/mockRoot/deploy/testInstance/testBU/query/testExisting_query.query-meta.sql +0 -6
- package/test/mockRoot/deploy/testInstance/testBU/query/testExisting_query_fixKeys.query-meta.json +0 -11
- package/test/mockRoot/deploy/testInstance/testBU/query/testExisting_query_fixKeys.query-meta.sql +0 -6
- package/test/mockRoot/deploy/testInstance/testBU/query/testNew_query.query-meta.json +0 -11
- package/test/mockRoot/deploy/testInstance/testBU/query/testNew_query.query-meta.sql +0 -4
- package/test/mockRoot/deploy/testInstance/testBU/script/testExisting_script.script-meta.json +0 -6
- package/test/mockRoot/deploy/testInstance/testBU/script/testExisting_script.script-meta.ssjs +0 -1
- package/test/mockRoot/deploy/testInstance/testBU/script/testNew_script.script-meta.json +0 -6
- package/test/mockRoot/deploy/testInstance/testBU/script/testNew_script.script-meta.ssjs +0 -1
- package/test/mockRoot/deploy/testInstance/testBU/sendClassification/testExisting_sendClassification.sendClassification-meta.json +0 -8
- package/test/mockRoot/deploy/testInstance/testBU/sendClassification/testNew_sendClassification.sendClassification-meta.json +0 -8
- package/test/mockRoot/deploy/testInstance/testBU/senderProfile/testExisting_senderProfile.senderProfile-meta.json +0 -15
- package/test/mockRoot/deploy/testInstance/testBU/senderProfile/testNew_senderProfile.senderProfile-meta.json +0 -15
- package/test/mockRoot/deploy/testInstance/testBU/transactionalEmail/testExisting_temail.transactionalEmail-meta.json +0 -20
- package/test/mockRoot/deploy/testInstance/testBU/transactionalEmail/testNew_temail.transactionalEmail-meta.json +0 -19
- package/test/mockRoot/deploy/testInstance/testBU/transactionalPush/testExisting_tpush.transactionalPush-meta.json +0 -16
- package/test/mockRoot/deploy/testInstance/testBU/transactionalPush/testNew_tpush.transactionalPush-meta.json +0 -16
- package/test/mockRoot/deploy/testInstance/testBU/transactionalSMS/testExisting_tsms.transactionalSMS-meta.amp +0 -4
- package/test/mockRoot/deploy/testInstance/testBU/transactionalSMS/testExisting_tsms.transactionalSMS-meta.json +0 -14
- package/test/mockRoot/deploy/testInstance/testBU/transactionalSMS/testNew_tsms.transactionalSMS-meta.amp +0 -4
- package/test/mockRoot/deploy/testInstance/testBU/transactionalSMS/testNew_tsms.transactionalSMS-meta.json +0 -14
- package/test/mockRoot/deploy/testInstance/testBU/triggeredSend/testExisting_triggeredSend.triggeredSend-meta.json +0 -27
- package/test/mockRoot/deploy/testInstance/testBU/triggeredSend/testNew_triggeredSend.triggeredSend-meta.json +0 -27
- package/test/mockRoot/deploy/testInstance/testBU/verification/testExisting_automation__s1.7.verification-meta.json +0 -11
- package/test/mockRoot/deploy/testInstance/testBU/verification/testNew_automation__s1.7.verification-meta.json +0 -11
- package/test/resourceFactory.js +0 -494
- package/test/resources/1111111/accountUser/configure-response.xml +0 -70
- package/test/resources/1111111/accountUser/create-response.xml +0 -97
- package/test/resources/1111111/accountUser/retrieve-ActiveFlag=falseANDCustomerKey=testExisting_userANDEmaillike@-QAA-response.xml +0 -27
- package/test/resources/1111111/accountUser/retrieve-ActiveFlag=falseANDEmaillike@-QAA-response.xml +0 -156
- package/test/resources/1111111/accountUser/retrieve-ActiveFlag=trueANDCustomerKey=testExisting_userANDEmaillike@-QAA-response.xml +0 -156
- package/test/resources/1111111/accountUser/retrieve-ActiveFlag=trueANDEmailisNullORNamelikeapp userANDMustChangePassword=false-QAA-response.xml +0 -87
- package/test/resources/1111111/accountUser/retrieve-ActiveFlag=trueANDEmaillike@-QAA-response.xml +0 -156
- package/test/resources/1111111/accountUser/update-response.xml +0 -111
- package/test/resources/1111111/accountUserAccount/retrieve-AccountUser.AccountUserID=700301950-response.xml +0 -60
- package/test/resources/1111111/accountUserAccount/retrieve-AccountUser.AccountUserIDIN700301950,700301951,7471228-response.xml +0 -77
- package/test/resources/1111111/automation/v1/queries/get-response.json +0 -6
- package/test/resources/1111111/automation/v1/queries/post-response.json +0 -18
- package/test/resources/1111111/businessUnit/retrieve-ID=1111111-QAA-response.xml +0 -33
- package/test/resources/1111111/data/v1/customobjectdata/key/testExisting_dataExtensionShared/rowset/get-response.json +0 -13
- package/test/resources/1111111/dataExtension/create-expected.json +0 -20
- package/test/resources/1111111/dataExtension/create-response.xml +0 -59
- package/test/resources/1111111/dataExtension/retrieve-expected.json +0 -53
- package/test/resources/1111111/dataExtension/retrieve-expected.md +0 -23
- package/test/resources/1111111/dataExtension/retrieve-response.xml +0 -52
- package/test/resources/1111111/dataExtension/update-expected.json +0 -55
- package/test/resources/1111111/dataExtension/update-response.xml +0 -59
- package/test/resources/1111111/dataExtensionField/retrieve-CustomerKey=[testExisting_dataExtensionShared].[TriggerUpdate_randomNumber_]-response.xml +0 -45
- package/test/resources/1111111/dataExtensionField/retrieve-DataExtension.CustomerKey=testExisting_dataExtensionShared-response.xml +0 -98
- package/test/resources/1111111/dataExtensionField/retrieve-DataExtension.CustomerKey=testNew_dataExtensionSharedORDataExtension.CustomerKey=testExisting_dataExtensionShared-response.xml +0 -98
- package/test/resources/1111111/dataExtensionField/retrieve-response.xml +0 -98
- package/test/resources/1111111/dataExtensionTemplate/retrieve-response.xml +0 -303
- package/test/resources/1111111/dataFolder/retrieve-ContentType=queryactivity-response.xml +0 -48
- package/test/resources/1111111/dataFolder/retrieve-ContentTypeINdataextension,hidden,queryactivity,salesforcedataextension,shared_data,shared_dataextension,shared_salesforcedataextension,synchronizeddataextension-response.xml +0 -26
- package/test/resources/1111111/dataFolder/retrieve-ContentTypeINdataextension,hidden,salesforcedataextension,shared_data,shared_dataextension,shared_salesforcedataextension,synchronizeddataextension-response.xml +0 -387
- package/test/resources/1111111/dataFolder/retrieve-ContentTypeINshared_data,shared_dataextension,shared_salesforcedataextension,synchronizeddataextension-response.xml +0 -364
- package/test/resources/1111111/dataFolder/retrieve-response-.xml +0 -387
- package/test/resources/1111111/list/retrieve-CustomerKey=All SubscribersORListName=All Subscribers-response.xml +0 -39
- package/test/resources/1111111/platform/v1/setup/quickflow/data/get-response.json +0 -455
- package/test/resources/1111111/query/patch_keySuffix-expected.json +0 -11
- package/test/resources/1111111/query/patch_keySuffix-expected.sql +0 -4
- package/test/resources/1111111/role/retrieve-IsPrivate=false-response.xml +0 -76
- package/test/resources/1111111/user/build-expected.json +0 -16
- package/test/resources/1111111/user/create-expected.json +0 -21
- package/test/resources/1111111/user/retrieve-expected.json +0 -24
- package/test/resources/1111111/user/retrieve-expected.md +0 -21
- package/test/resources/1111111/user/template-expected.json +0 -16
- package/test/resources/1111111/user/update-expected.json +0 -21
- package/test/resources/9999999/accountUser/retrieve-response.xml +0 -104
- package/test/resources/9999999/asset/build-asset_htmlblock-expected.html +0 -23
- package/test/resources/9999999/asset/build-asset_htmlblock-expected.json +0 -29
- package/test/resources/9999999/asset/build-templatebasedemail-expected.json +0 -145
- package/test/resources/9999999/asset/build-templatebasedemail-html-expected.html +0 -20
- package/test/resources/9999999/asset/build-templatebasedemail-preheader-expected.amp +0 -1
- package/test/resources/9999999/asset/create-expected.json +0 -18
- package/test/resources/9999999/asset/resolveId-1234-notFound-expected.json +0 -1
- package/test/resources/9999999/asset/resolveId-1295064-noPath-expected.json +0 -8
- package/test/resources/9999999/asset/resolveId-1295064-withPath-expected.json +0 -8
- package/test/resources/9999999/asset/retrieve-templatebasedemail-expected.json +0 -148
- package/test/resources/9999999/asset/retrieve-templatebasedemail-html-expected.html +0 -20
- package/test/resources/9999999/asset/retrieve-templatebasedemail-preheader-expected.amp +0 -1
- package/test/resources/9999999/asset/template-emailTemplate-expected.json +0 -20
- package/test/resources/9999999/asset/template-templatebasedemail-expected.json +0 -145
- package/test/resources/9999999/asset/template-templatebasedemail-html-expected.html +0 -20
- package/test/resources/9999999/asset/template-templatebasedemail-preheader-expected.amp +0 -1
- package/test/resources/9999999/asset/template-testExisting_asset_htmlblock-expected.json +0 -29
- package/test/resources/9999999/asset/testExisting_asset_htmlblock-retrieve-expected.html +0 -23
- package/test/resources/9999999/asset/testExisting_asset_htmlblock-retrieve-expected.json +0 -41
- package/test/resources/9999999/asset/testExisting_asset_message-html-rcb-id-expected.html +0 -33
- package/test/resources/9999999/asset/testExisting_asset_message-html-rcb-key-expected.html +0 -33
- package/test/resources/9999999/asset/testExisting_asset_message-html-rcb-name-expected.html +0 -35
- package/test/resources/9999999/asset/testExisting_asset_message-preheader-rcb-id-expected.amp +0 -4
- package/test/resources/9999999/asset/testExisting_asset_message-preheader-rcb-key-expected.amp +0 -4
- package/test/resources/9999999/asset/testExisting_asset_message-preheader-rcb-name-expected.amp +0 -4
- package/test/resources/9999999/asset/testExisting_asset_message-text-rcb-id-expected.amp +0 -4
- package/test/resources/9999999/asset/testExisting_asset_message-text-rcb-key-expected.amp +0 -4
- package/test/resources/9999999/asset/testExisting_asset_message-text-rcb-name-expected.amp +0 -4
- package/test/resources/9999999/asset/test_coderesource_js-retrieve-expected.js +0 -1
- package/test/resources/9999999/asset/test_coderesource_js-retrieve-expected.json +0 -45
- package/test/resources/9999999/asset/test_coderesource_json-retrieve-expected.json +0 -45
- package/test/resources/9999999/asset/test_coderesource_json-retrieve-expected.jsonc +0 -1
- package/test/resources/9999999/asset/test_coderesource_xml-retrieve-expected.json +0 -44
- package/test/resources/9999999/asset/test_coderesource_xml-retrieve-expected.xml +0 -1
- package/test/resources/9999999/asset/test_interactivecontent-retrieve-expected.json +0 -41
- package/test/resources/9999999/asset/test_landingpage-retrieve-expected.json +0 -40
- package/test/resources/9999999/asset/test_microsite-retrieve-expected.json +0 -41
- package/test/resources/9999999/asset/v1/content/assets/1209971/get-response.json +0 -61
- package/test/resources/9999999/asset/v1/content/assets/1295064/get-response.json +0 -60
- package/test/resources/9999999/asset/v1/content/assets/1295064/patch-response.json +0 -59
- package/test/resources/9999999/asset/v1/content/assets/1295065/get-response.json +0 -60
- package/test/resources/9999999/asset/v1/content/assets/1295066/get-response.json +0 -60
- package/test/resources/9999999/asset/v1/content/assets/1295067/get-response.json +0 -60
- package/test/resources/9999999/asset/v1/content/assets/16992/get-response.json +0 -60
- package/test/resources/9999999/asset/v1/content/assets/5286/get-response.json +0 -48
- package/test/resources/9999999/asset/v1/content/assets/5289/get-response.json +0 -273
- package/test/resources/9999999/asset/v1/content/assets/808714/get-response.json +0 -185
- package/test/resources/9999999/asset/v1/content/assets/9451/get-response.json +0 -61
- package/test/resources/9999999/asset/v1/content/assets/9456/get-response.json +0 -56
- package/test/resources/9999999/asset/v1/content/assets/9458/get-response.json +0 -56
- package/test/resources/9999999/asset/v1/content/assets/9460/get-response.json +0 -59
- package/test/resources/9999999/asset/v1/content/assets/9463/get-response.json +0 -61
- package/test/resources/9999999/asset/v1/content/assets/9465/get-response.json +0 -54
- package/test/resources/9999999/asset/v1/content/assets/950143/delete-response.txt +0 -1
- package/test/resources/9999999/asset/v1/content/assets/950143/get-response.json +0 -97
- package/test/resources/9999999/asset/v1/content/assets/get-response-customerKey=testExisting_asset.json +0 -105
- package/test/resources/9999999/asset/v1/content/assets/post-response-key=testNew_assetMessage.json +0 -441
- package/test/resources/9999999/asset/v1/content/assets/post-response-key=testNew_asset_htmlblock.json +0 -59
- package/test/resources/9999999/asset/v1/content/assets/post-response-key=testNew_asset_template.json +0 -147
- package/test/resources/9999999/asset/v1/content/assets/post-response-key=testNew_asset_templatebasedemail.json +0 -322
- package/test/resources/9999999/asset/v1/content/assets/post-response-key=testNew_asset_withCBBK_notexisting.json +0 -59
- package/test/resources/9999999/asset/v1/content/assets/post-response-key=testNew_asset_withCBBK_preexisting.json +0 -59
- package/test/resources/9999999/asset/v1/content/assets/post-response-key=test_slash.json +0 -60
- package/test/resources/9999999/asset/v1/content/assets/post-response.json +0 -59
- 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
- package/test/resources/9999999/asset/v1/content/assets/query/post-response-assetType.idIN1,205,206,230,232.json +0 -129
- 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
- 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
- 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
- package/test/resources/9999999/asset/v1/content/assets/query/post-response-assetType.idIN1,5,205,206,207,208,209,230,232.json +0 -229
- 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
- package/test/resources/9999999/asset/v1/content/assets/query/post-response-assetType.idIN15,193,194.json +0 -7
- 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
- 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
- package/test/resources/9999999/asset/v1/content/assets/query/post-response-assetType.idIN223,224,225,226,227,228,230,232.json +0 -32
- package/test/resources/9999999/asset/v1/content/assets/query/post-response-assetType.idIN225,226,227,228,230,232.json +0 -7
- package/test/resources/9999999/asset/v1/content/assets/query/post-response-assetType.idIN240,241,242,243,244,245.json +0 -144
- package/test/resources/9999999/asset/v1/content/assets/query/post-response-assetType.idIN246,247,248,249.json +0 -132
- 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
- package/test/resources/9999999/asset/v1/content/assets/query/post-response-assetType.idIN4,214.json +0 -35
- package/test/resources/9999999/asset/v1/content/assets/query/post-response-assetType.idIN5,207,208,209.json +0 -108
- package/test/resources/9999999/asset/v1/content/assets/query/post-response-customerKey=testExisting_asset_htmlblock.json +0 -46
- package/test/resources/9999999/asset/v1/content/categories/post-response.json +0 -9
- package/test/resources/9999999/asset-deploy/block/testNew_asset_badExtension.bad-type-extension.json +0 -39
- package/test/resources/9999999/asset-deploy/block/testNew_asset_badName_bad.asset-block-meta.json +0 -39
- package/test/resources/9999999/asset-deploy2/block/testBlacklist_asset_htmlblock.asset-block-meta.html +0 -1
- package/test/resources/9999999/asset-deploy2/block/testBlacklist_asset_htmlblock.asset-block-meta.json +0 -39
- package/test/resources/9999999/asset-slashfolder-deploy/block/test_slash.asset-block-meta.html +0 -12
- package/test/resources/9999999/asset-slashfolder-deploy/block/test_slash.asset-block-meta.json +0 -29
- package/test/resources/9999999/attributeGroup/retrieve-expected.json +0 -25
- package/test/resources/9999999/attributeSet/retrieve-expected.json +0 -143
- package/test/resources/9999999/automation/build-expected.json +0 -61
- package/test/resources/9999999/automation/clone-expected.json +0 -61
- package/test/resources/9999999/automation/create-callout-expected.json +0 -66
- package/test/resources/9999999/automation/create-expected.json +0 -50
- package/test/resources/9999999/automation/create-testNew_automation-expected.md +0 -29
- package/test/resources/9999999/automation/delete-response.xml +0 -40
- package/test/resources/9999999/automation/patch_fixKeys-pause-expected.json +0 -44
- package/test/resources/9999999/automation/patch_fixKeys-schedule-expected.json +0 -44
- package/test/resources/9999999/automation/perform-08afb0e2-b00a-4c88-ad2e-1f7f8788c560-response.xml +0 -42
- package/test/resources/9999999/automation/perform-08afb0e2-b00a-4c88-fixKey_pause-response.xml +0 -42
- package/test/resources/9999999/automation/perform-08afb0e2-b00a-4c88-fixKey_schedule-response.xml +0 -42
- package/test/resources/9999999/automation/perform-a8afb0e2-b00a-4c88-ad2e-1f7f8788c560-response.xml +0 -42
- package/test/resources/9999999/automation/retrieve-expected.json +0 -67
- package/test/resources/9999999/automation/retrieve-testExisting_automation-expected.md +0 -31
- package/test/resources/9999999/automation/retrieve-wait-expected.json +0 -81
- package/test/resources/9999999/automation/retrieve-wait-expected.md +0 -18
- package/test/resources/9999999/automation/template-expected.json +0 -61
- package/test/resources/9999999/automation/update-callout-expected.json +0 -68
- package/test/resources/9999999/automation/update-expected.json +0 -67
- package/test/resources/9999999/automation/update-testExisting_automation-expected.md +0 -31
- package/test/resources/9999999/automation/v1/automations/08afb0e2-b00a-4c88-ad2e-1f7f8788c560/get-response.json +0 -92
- package/test/resources/9999999/automation/v1/automations/08afb0e2-b00a-4c88-ad2e-1f7f8788c560/patch-response.json +0 -85
- package/test/resources/9999999/automation/v1/automations/08afb0e2-b00a-4c88-ad2e-pause/get-response.json +0 -85
- package/test/resources/9999999/automation/v1/automations/08afb0e2-b00a-4c88-ad2e-pause/patch-response.json +0 -85
- package/test/resources/9999999/automation/v1/automations/08afb0e2-b00a-4c88-fixKey_pause/get-response.json +0 -85
- package/test/resources/9999999/automation/v1/automations/08afb0e2-b00a-4c88-fixKey_pause/patch-response.json +0 -86
- package/test/resources/9999999/automation/v1/automations/08afb0e2-b00a-4c88-fixKey_schedule/get-response.json +0 -85
- package/test/resources/9999999/automation/v1/automations/08afb0e2-b00a-4c88-fixKey_schedule/patch-response.json +0 -86
- package/test/resources/9999999/automation/v1/automations/0fc2ac96-14ba-495a-8db9-3ddd4f8ac444-wait/get-response.json +0 -114
- package/test/resources/9999999/automation/v1/automations/8f82c2a7-0bae-45a9-bdee-e631ab25c0d5/get-response.json +0 -44
- package/test/resources/9999999/automation/v1/automations/a8afb0e2-b00a-4c88-ad2e-1f7f8788c560/get-response.json +0 -85
- package/test/resources/9999999/automation/v1/automations/post-response.json +0 -93
- package/test/resources/9999999/automation/v1/dataextracts/56c5370a-f988-4f36-b0ee-0f876573f6d7/delete-response.txt +0 -1
- package/test/resources/9999999/automation/v1/dataextracts/56c5370a-f988-4f36-b0ee-0f876573f6d7/get-response.json +0 -38
- package/test/resources/9999999/automation/v1/dataextracts/56c5370a-f988-4f36-b0ee-0f876573f6d7/patch-response.json +0 -38
- package/test/resources/9999999/automation/v1/dataextracts/get-response.json +0 -20
- package/test/resources/9999999/automation/v1/dataextracts/post-response.json +0 -38
- package/test/resources/9999999/automation/v1/dataextracttypes/get-response.json +0 -50
- package/test/resources/9999999/automation/v1/dataverifications/post-response.json +0 -12
- package/test/resources/9999999/automation/v1/dataverifications/testExisting_39f6a488-20eb-4ba0-b0b9/delete-response.json +0 -0
- package/test/resources/9999999/automation/v1/dataverifications/testExisting_39f6a488-20eb-4ba0-b0b9/get-response.json +0 -12
- package/test/resources/9999999/automation/v1/dataverifications/testExisting_39f6a488-20eb-4ba0-b0b9/patch-response.json +0 -12
- package/test/resources/9999999/automation/v1/filetransfers/72c328ac-f5b0-4e37-91d3-a775666f15a6/delete-response.json +0 -1
- package/test/resources/9999999/automation/v1/filetransfers/72c328ac-f5b0-4e37-91d3-a775666f15a6/get-response.json +0 -18
- package/test/resources/9999999/automation/v1/filetransfers/72c328ac-f5b0-4e37-91d3-a775666f15a6/patch-response.json +0 -18
- package/test/resources/9999999/automation/v1/filetransfers/get-response.json +0 -15
- package/test/resources/9999999/automation/v1/filetransfers/post-response.json +0 -18
- package/test/resources/9999999/automation/v1/filters/a0f1a1bc-4ea1-44b3-8fe1-ce40ef35c1c0/patch-response.json +0 -18
- package/test/resources/9999999/automation/v1/filters/f018f237-f7ef-40b0-afc8-39ea2e5dcca4/delete-response.txt +0 -0
- package/test/resources/9999999/automation/v1/filters/f018f237-f7ef-40b0-afc8-39ea2e5dcca4/get-response.json +0 -15
- package/test/resources/9999999/automation/v1/filters/f018f237-f7ef-40b0-afc8-39ea2e5dcca4/patch-response.json +0 -15
- package/test/resources/9999999/automation/v1/filters/get-response.json +0 -22
- package/test/resources/9999999/automation/v1/ftplocations/get-response.json +0 -43
- package/test/resources/9999999/automation/v1/imports/1ebf557b-372e-eb11-b81b-48df37d1dbd7/get-response.json +0 -78
- package/test/resources/9999999/automation/v1/imports/9d16f42c-2260-ed11-b849-48df37d1de8b/delete-response.txt +0 -0
- package/test/resources/9999999/automation/v1/imports/9d16f42c-2260-ed11-b849-48df37d1de8b/get-response.json +0 -35
- package/test/resources/9999999/automation/v1/imports/9d16f42c-2260-ed11-b849-48df37d1de8b/patch-response.json +0 -35
- package/test/resources/9999999/automation/v1/imports/d2474efb-a449-ef11-b876-f40343c95928/get-response.json +0 -37
- package/test/resources/9999999/automation/v1/imports/get-response.json +0 -146
- package/test/resources/9999999/automation/v1/imports/post-response.json +0 -30
- package/test/resources/9999999/automation/v1/queries/549f0568-607c-4940-afef-437965094dae/actions/start/post-response.txt +0 -1
- package/test/resources/9999999/automation/v1/queries/549f0568-607c-4940-afef-437965094dat/actions/start/post-response.txt +0 -1
- package/test/resources/9999999/automation/v1/queries/549f0568-607c-4940-afef-437965094dat/delete-response.json +0 -1
- package/test/resources/9999999/automation/v1/queries/549f0568-607c-4940-afef-437965094dat/get-response.json +0 -17
- package/test/resources/9999999/automation/v1/queries/549f0568-607c-4940-afef-437965094dat/patch-response.json +0 -18
- package/test/resources/9999999/automation/v1/queries/549f0568-607c-4940-afef-437965094dat_fixKeys/get-response.json +0 -17
- package/test/resources/9999999/automation/v1/queries/549f0568-607c-4940-afef-437965094dat_fixKeys/patch-response.json +0 -18
- package/test/resources/9999999/automation/v1/queries/549f0568-607c-4940-afef-437965094dat_fixKeysSuffix/get-response.json +0 -17
- package/test/resources/9999999/automation/v1/queries/549f0568-607c-4940-afef-437965094dat_fixKeysSuffix/patch-response.json +0 -18
- package/test/resources/9999999/automation/v1/queries/abcde-607c-4940-afef-437965094dat/get-response.json +0 -17
- package/test/resources/9999999/automation/v1/queries/get-response-Name=testExisting_query.json +0 -24
- package/test/resources/9999999/automation/v1/queries/get-response.json +0 -75
- package/test/resources/9999999/automation/v1/queries/post-response.json +0 -18
- package/test/resources/9999999/automation/v1/scripts/39f6a488-20eb-4ba0-b0b9-023725b574e4/delete-response.txt +0 -1
- package/test/resources/9999999/automation/v1/scripts/39f6a488-20eb-4ba0-b0b9-023725b574e4/get-response.json +0 -10
- package/test/resources/9999999/automation/v1/scripts/39f6a488-20eb-4ba0-b0b9-023725b574e4/patch-response.json +0 -10
- package/test/resources/9999999/automation/v1/scripts/get-response-name=testExisting_script.json +0 -17
- package/test/resources/9999999/automation/v1/scripts/get-response.json +0 -57
- package/test/resources/9999999/automation/v1/scripts/post-response.json +0 -10
- package/test/resources/9999999/data/v1/customobjectdata/key/testExisting_dataExtension/rowset/get-response.json +0 -13
- package/test/resources/9999999/data/v1/filetransferlocation/Salesforce%20Objects%20%26%20Reports/get-response.json +0 -4
- package/test/resources/9999999/data/v1/filetransferlocation/testExisting_fileLocation_aws/patch-response.json +0 -18
- package/test/resources/9999999/data/v1/filetransferlocation/testExisting_fileLocation_azure/delete-response.json +0 -4
- package/test/resources/9999999/data/v1/filetransferlocation/testExisting_fileLocation_azure/get-response.json +0 -18
- package/test/resources/9999999/data/v1/filetransferlocation/testExisting_fileLocation_exsftp/patch-response.json +0 -16
- package/test/resources/9999999/data/v1/filetransferlocations/get-response.json +0 -59
- package/test/resources/9999999/dataExtension/build-expected.json +0 -66
- package/test/resources/9999999/dataExtension/create-expected.json +0 -20
- package/test/resources/9999999/dataExtension/create-response.xml +0 -59
- package/test/resources/9999999/dataExtension/delete-response.xml +0 -42
- package/test/resources/9999999/dataExtension/retrieve-CustomerKey=testExisting_dataExtension-response.xml +0 -52
- package/test/resources/9999999/dataExtension/retrieve-CustomerKey=testNew_event_withSchema-response.xml +0 -50
- package/test/resources/9999999/dataExtension/retrieve-Name=testExisting_dataExtension-response.xml +0 -52
- package/test/resources/9999999/dataExtension/retrieve-createdViaEvent-response.xml +0 -50
- package/test/resources/9999999/dataExtension/retrieve-expected.json +0 -66
- package/test/resources/9999999/dataExtension/retrieve-expected.md +0 -25
- package/test/resources/9999999/dataExtension/retrieve-response.xml +0 -224
- package/test/resources/9999999/dataExtension/retrieve_event_withSchema-expected.json +0 -219
- package/test/resources/9999999/dataExtension/template-expected.json +0 -66
- package/test/resources/9999999/dataExtension/update-afterCreatedViaEvent-response.xml +0 -55
- package/test/resources/9999999/dataExtension/update-callout-afterCreatedViaEvent-expected.xml +0 -1
- package/test/resources/9999999/dataExtension/update-expected.json +0 -72
- package/test/resources/9999999/dataExtension/update-response.xml +0 -59
- package/test/resources/9999999/dataExtension-deploy/testBlacklist_dataExtension.dataExtension-meta.json +0 -20
- package/test/resources/9999999/dataExtensionField/retrieve-CustomerKey=[testExisting_dataExtension].[LastName]-response.xml +0 -44
- package/test/resources/9999999/dataExtensionField/retrieve-DataExtension.CustomerKey=testExisting_dataExtension-response.xml +0 -133
- package/test/resources/9999999/dataExtensionField/retrieve-DataExtension.CustomerKey=testNew_dataExtensionORDataExtension.CustomerKey=testExisting_dataExtension-response.xml +0 -99
- package/test/resources/9999999/dataExtensionField/retrieve-DataExtension.CustomerKey=testNew_event_withSchema-response.xml +0 -461
- package/test/resources/9999999/dataExtensionField/retrieve-DataExtension.CustomerKeyINtestExisting_dataExtension,testNew_dataExtension-response.xml +0 -133
- package/test/resources/9999999/dataExtensionField/retrieve-Name=FirstName-response.xml +0 -78
- package/test/resources/9999999/dataExtensionField/retrieve-Name=LastName-response.xml +0 -78
- package/test/resources/9999999/dataExtensionField/retrieve-response.xml +0 -1075
- package/test/resources/9999999/dataExtensionTemplate/retrieve-response.xml +0 -303
- package/test/resources/9999999/dataExtract/build-expected.json +0 -35
- package/test/resources/9999999/dataExtract/get-expected.json +0 -39
- package/test/resources/9999999/dataExtract/patch-expected.json +0 -39
- package/test/resources/9999999/dataExtract/post-expected.json +0 -37
- package/test/resources/9999999/dataExtract/template-expected.json +0 -35
- package/test/resources/9999999/dataFilter/build-expected.json +0 -19
- package/test/resources/9999999/dataFilter/get-expected.json +0 -23
- package/test/resources/9999999/dataFilter/patch-expected.json +0 -20
- package/test/resources/9999999/dataFilter/post-expected.json +0 -20
- package/test/resources/9999999/dataFilter/template-expected.json +0 -19
- package/test/resources/9999999/dataFolder/+retrieve-ContentTypeINasset,asset-shared,cloudpages-slashfolder-response.xml +0 -136
- package/test/resources/9999999/dataFolder/create-ContentType=asset,Name=testFolder_samePath,ParentFolderID=89397-response.xml +0 -33
- package/test/resources/9999999/dataFolder/create-ContentType=dataextension,Name=my,ParentFolderID=2-response.xml +0 -33
- package/test/resources/9999999/dataFolder/create-ContentType=dataextension,Name=path,ParentFolderID=862002-response.xml +0 -33
- package/test/resources/9999999/dataFolder/create-ContentType=dataextension,Name=sub,ParentFolderID=862001-response.xml +0 -33
- package/test/resources/9999999/dataFolder/create-ContentType=dataextension,Name=subpath,ParentFolderID=862003-response.xml +0 -33
- package/test/resources/9999999/dataFolder/create-response.xml +0 -33
- package/test/resources/9999999/dataFolder/retrieve-ContentType=asset-shared-QAA-response.xml +0 -70
- package/test/resources/9999999/dataFolder/retrieve-ContentType=asset-shared-response.xml +0 -70
- package/test/resources/9999999/dataFolder/retrieve-ContentType=automations-response.xml +0 -48
- package/test/resources/9999999/dataFolder/retrieve-ContentType=journey-response.xml +0 -48
- package/test/resources/9999999/dataFolder/retrieve-ContentType=queryactivity-response.xml +0 -48
- package/test/resources/9999999/dataFolder/retrieve-ContentType=ssjsactivity-response.xml +0 -48
- package/test/resources/9999999/dataFolder/retrieve-ContentType=userinitiatedsends-response.xml +0 -48
- 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
- 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
- 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
- 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
- package/test/resources/9999999/dataFolder/retrieve-ContentTypeINasset,asset-shared,cloudpages,dataextension,hidden,salesforcedataextension,shared_data,shared_dataextension,shared_salesforcedataextension,synchronizeddataextension-response.xml +0 -181
- package/test/resources/9999999/dataFolder/retrieve-ContentTypeINasset,asset-shared,cloudpages,journey-response.xml +0 -136
- package/test/resources/9999999/dataFolder/retrieve-ContentTypeINasset,asset-shared,cloudpages,ssjsactivity-response.xml +0 -136
- package/test/resources/9999999/dataFolder/retrieve-ContentTypeINasset,asset-shared,cloudpages-response.xml +0 -114
- package/test/resources/9999999/dataFolder/retrieve-ContentTypeINasset,asset-shared,shared_data,shared_dataextension,shared_salesforcedataextension,synchronizeddataextension-QAA-response.xml +0 -115
- package/test/resources/9999999/dataFolder/retrieve-ContentTypeINasset,asset-shared-QAA-response.xml +0 -70
- package/test/resources/9999999/dataFolder/retrieve-ContentTypeINasset,asset-shared-response.xml +0 -70
- package/test/resources/9999999/dataFolder/retrieve-ContentTypeINasset-shared,shared_data,shared_dataextension,shared_salesforcedataextension,synchronizeddataextension-QAA-response.xml +0 -431
- package/test/resources/9999999/dataFolder/retrieve-ContentTypeINautomations,queryactivity-response.xml +0 -70
- package/test/resources/9999999/dataFolder/retrieve-ContentTypeINcontextual_suppression_list,hidden,list,mysubs,publication,suppression_list,triggered_send,triggered_send_journeybuilder-response.xml +0 -385
- package/test/resources/9999999/dataFolder/retrieve-ContentTypeINcontextual_suppression_list,list,mysubs,publication,suppression_list-response.xml +0 -136
- package/test/resources/9999999/dataFolder/retrieve-ContentTypeINdataextension,hidden,queryactivity,salesforcedataextension,shared_data,shared_dataextension,shared_salesforcedataextension,synchronizeddataextension-response.xml +0 -138
- package/test/resources/9999999/dataFolder/retrieve-ContentTypeINdataextension,hidden,salesforcedataextension,shared_data,shared_dataextension,shared_salesforcedataextension,synchronizeddataextension-response.xml +0 -117
- package/test/resources/9999999/dataFolder/retrieve-ContentTypeINdataextension,salesforcedataextension,shared_data,shared_dataextension,shared_salesforcedataextension,synchronizeddataextension-QAA-response.xml +0 -117
- package/test/resources/9999999/dataFolder/retrieve-ContentTypeINfilteractivity,hidden-response.xml +0 -139
- package/test/resources/9999999/dataFolder/retrieve-ContentTypeINfilterdefinition,hidden-response.xml +0 -116
- package/test/resources/9999999/dataFolder/retrieve-ContentTypeINhidden,shared_data,shared_dataextension,shared_salesforcedataextension,synchronizeddataextension-response.xml +0 -46
- package/test/resources/9999999/dataFolder/retrieve-ContentTypeINhidden,triggered_send,triggered_send_journeybuilder-response.xml +0 -276
- package/test/resources/9999999/dataFolder/retrieve-ContentTypeINshared_data,shared_dataextension,shared_salesforcedataextension,synchronizeddataextension-QAA-response.xml +0 -251
- package/test/resources/9999999/dataFolder/retrieve-QAA-response.xml +0 -387
- package/test/resources/9999999/dataFolder/retrieve-response.xml +0 -542
- package/test/resources/9999999/dataFolder/retrieve-samePathOtherBU-response.xml +0 -564
- package/test/resources/9999999/dataFolder/update-response.xml +0 -31
- package/test/resources/9999999/deliveryProfile/get-expected.json +0 -7
- package/test/resources/9999999/domainVerification/create-expected.json +0 -3
- package/test/resources/9999999/domainVerification/get-sap-expected.json +0 -6
- package/test/resources/9999999/domainVerification/update-expected.json +0 -6
- package/test/resources/9999999/email/retrieve-response.xml +0 -203
- package/test/resources/9999999/email/v1/category/post-response-parentCatId=290937,name=my,catType=automations.json +0 -7
- package/test/resources/9999999/email/v1/category/post-response-parentCatId=862100,name=sub,catType=automations.json +0 -7
- package/test/resources/9999999/email/v1/category/post-response-parentCatId=862101,name=path,catType=automations.json +0 -7
- package/test/resources/9999999/email/v1/category/post-response-parentCatId=862102,name=subpath,catType=automations.json +0 -7
- package/test/resources/9999999/email/v1/filters/filterdefinition/10ef27dd-4be8-4bf6-970a-8acf8e281e55/delete-response.txt +0 -1
- package/test/resources/9999999/email/v1/filters/filterdefinition/10ef27dd-4be8-4bf6-970a-8acf8e281e55/get-response.json +0 -19
- package/test/resources/9999999/email/v1/filters/filterdefinition/10ef27dd-4be8-4bf6-970a-8acf8e281e55/patch-response.json +0 -15
- package/test/resources/9999999/email/v1/filters/filterdefinition/category/5318/get-response.json +0 -27
- package/test/resources/9999999/email/v1/filters/filterdefinition/category/8502/get-response.json +0 -7
- package/test/resources/9999999/email/v1/filters/filterdefinition/category/8503/get-response.json +0 -7
- package/test/resources/9999999/email/v1/filters/filterdefinition/post-response.json +0 -15
- package/test/resources/9999999/emailSend/build-expected.json +0 -43
- package/test/resources/9999999/emailSend/get-expected.json +0 -43
- package/test/resources/9999999/emailSend/patch-expected.json +0 -41
- package/test/resources/9999999/emailSend/post-expected.json +0 -41
- package/test/resources/9999999/emailSend/template-expected.json +0 -43
- package/test/resources/9999999/emailSendDefinition/create-response.xml +0 -98
- package/test/resources/9999999/emailSendDefinition/delete-response.xml +0 -36
- package/test/resources/9999999/emailSendDefinition/retrieve-IsPlatformObject=falseANDDescriptionnotEqualsSFSendDefinition-response.xml +0 -95
- package/test/resources/9999999/emailSendDefinition/update-response.xml +0 -97
- package/test/resources/9999999/event/build-expected.json +0 -226
- package/test/resources/9999999/event/get-automation-expected.json +0 -41
- package/test/resources/9999999/event/get-expected.json +0 -232
- package/test/resources/9999999/event/get-published-expected.json +0 -28
- package/test/resources/9999999/event/post_withExistingDE-callout-expected.json +0 -231
- package/test/resources/9999999/event/post_withExistingDE-expected.json +0 -21
- package/test/resources/9999999/event/post_withSchema-callout-expected.json +0 -202
- package/test/resources/9999999/event/post_withSchema-expected.json +0 -232
- package/test/resources/9999999/event/put-callout-expected.json +0 -207
- package/test/resources/9999999/event/put-expected.json +0 -232
- package/test/resources/9999999/event/template-expected.json +0 -226
- package/test/resources/9999999/event-deploy/testNew_event_badExtension.bad-type-extension.json +0 -200
- package/test/resources/9999999/event-deploy/testNew_event_badName_bad.event-meta.json +0 -200
- package/test/resources/9999999/eventDefinition/get-expected.json +0 -34
- package/test/resources/9999999/fileLocation/build-expected.json +0 -14
- package/test/resources/9999999/fileLocation/get-aws-expected.json +0 -14
- package/test/resources/9999999/fileLocation/get-azure-expected.json +0 -14
- package/test/resources/9999999/fileLocation/get-eftp-expected.json +0 -5
- package/test/resources/9999999/fileLocation/get-exsftp-expected.json +0 -12
- package/test/resources/9999999/fileLocation/get-gcp-expected.json +0 -10
- package/test/resources/9999999/fileLocation/get-sor-expected.json +0 -5
- package/test/resources/9999999/fileLocation/patch-aws-expected.json +0 -14
- package/test/resources/9999999/fileLocation/patch-exsftp-expected.json +0 -12
- package/test/resources/9999999/fileLocation/template-expected.json +0 -14
- package/test/resources/9999999/fileTransfer/build-expected.json +0 -15
- package/test/resources/9999999/fileTransfer/get-expected.json +0 -17
- package/test/resources/9999999/fileTransfer/patch-expected.json +0 -17
- package/test/resources/9999999/fileTransfer/post-expected.json +0 -17
- package/test/resources/9999999/fileTransfer/template-expected.json +0 -15
- package/test/resources/9999999/filter/build-expected.json +0 -10
- package/test/resources/9999999/filter/get-expected.json +0 -11
- package/test/resources/9999999/filter/patch-expected.json +0 -11
- package/test/resources/9999999/filter/post-expected.json +0 -11
- package/test/resources/9999999/filter/template-expected.json +0 -10
- package/test/resources/9999999/filterActivity/create-response.xml +0 -46
- package/test/resources/9999999/filterActivity/retrieve-CustomerKey=testExisting_filter-response.xml +0 -30
- package/test/resources/9999999/filterDefinition/retrieve-CustomerKey=testExisting_dataFilter-response.xml +0 -30
- package/test/resources/9999999/folder-deploy/Data Extensions/my/sub/path/subpath.folder-meta.json +0 -9
- package/test/resources/9999999/folder-deploy/Data Extensions/my/sub/path.folder-meta.json +0 -9
- package/test/resources/9999999/folder-deploy/Data Extensions/my/sub.folder-meta.json +0 -9
- package/test/resources/9999999/folder-deploy/Data Extensions/my.folder-meta.json +0 -9
- package/test/resources/9999999/folder-deploy/Data Extensions/testExisting_folder.folder-meta.json +0 -9
- package/test/resources/9999999/folder-deploy/my automations/my/sub/path/subpath.folder-meta.json +0 -9
- package/test/resources/9999999/folder-deploy/my automations/my/sub/path.folder-meta.json +0 -9
- package/test/resources/9999999/folder-deploy/my automations/my/sub.folder-meta.json +0 -9
- package/test/resources/9999999/folder-deploy/my automations/my.folder-meta.json +0 -9
- package/test/resources/9999999/folder-deploy-samepath/Content Builder/testFolder_samePath.folder-meta.json +0 -9
- package/test/resources/9999999/folder-deploy-slash/Content Builder/Headers%2FFolders.folder-meta.json +0 -9
- package/test/resources/9999999/hub/v1/contacts/schema/attributeGroups/get-response.json +0 -628
- package/test/resources/9999999/hub/v1/contacts/schema/setDefinitions/get-response.json +0 -20194
- package/test/resources/9999999/importDefinition/retrieve-CustomerKey=testExisting_importFile-response.xml +0 -30
- package/test/resources/9999999/importDefinition/retrieve-Name=testExisting_importFile-response.xml +0 -30
- package/test/resources/9999999/importFile/build-expected.json +0 -30
- package/test/resources/9999999/importFile/get-dataImport-expected.json +0 -36
- package/test/resources/9999999/importFile/get-expected.json +0 -36
- package/test/resources/9999999/importFile/get-sms-expected.json +0 -80
- package/test/resources/9999999/importFile/patch-expected.json +0 -32
- package/test/resources/9999999/importFile/post-expected.json +0 -30
- package/test/resources/9999999/importFile/template-expected.json +0 -30
- package/test/resources/9999999/interaction/v1/eventDefinitions/get-response.json +0 -426
- package/test/resources/9999999/interaction/v1/eventDefinitions/key_DEAudience-2e3c73b6-48cc-2ec0-5522-48636e1a236e/get-response.json +0 -39
- package/test/resources/9999999/interaction/v1/eventDefinitions/key_testExisting_event/delete-response.txt +0 -0
- package/test/resources/9999999/interaction/v1/eventDefinitions/key_testExisting_event/put-response.json +0 -242
- package/test/resources/9999999/interaction/v1/eventDefinitions/key_testExisting_event_automation/get-response.json +0 -52
- package/test/resources/9999999/interaction/v1/eventDefinitions/post_withExistingDE-response.json +0 -28
- package/test/resources/9999999/interaction/v1/eventDefinitions/post_withSchema-response.json +0 -243
- package/test/resources/9999999/interaction/v1/interactions/0175b971-71a3-4d8e-98ac-48121f3fbf4f/audit/all/get-response-versionNumber=1.json +0 -86
- package/test/resources/9999999/interaction/v1/interactions/0175b971-71a3-4d8e-98ac-48121f3fbf4f/audit/all/get-response-versionNumber=2.json +0 -101
- package/test/resources/9999999/interaction/v1/interactions/0175b971-71a3-4d8e-98ac-48121f3fbf4f/audit/all/get-response-versionNumber=3.json +0 -86
- package/test/resources/9999999/interaction/v1/interactions/0175b971-71a3-4d8e-98ac-48121f3fbf4f/delete-response-versionNumber=1.txt +0 -1
- package/test/resources/9999999/interaction/v1/interactions/0175b971-71a3-4d8e-98ac-48121f3fbf4f/delete-response.txt +0 -1
- package/test/resources/9999999/interaction/v1/interactions/0175b971-71a3-4d8e-98ac-48121f3fbf4f/get-response-versionNumber=1.json +0 -461
- package/test/resources/9999999/interaction/v1/interactions/0175b971-71a3-4d8e-98ac-48121f3fbf4f/get-response-versionNumber=3.json +0 -461
- package/test/resources/9999999/interaction/v1/interactions/0175b971-71a3-4d8e-98ac-48121f3fbf4f/get-response.json +0 -461
- package/test/resources/9999999/interaction/v1/interactions/3c3f4112-9b43-43ca-8a89-aa0375b2c1a2/delete-response.txt +0 -1
- package/test/resources/9999999/interaction/v1/interactions/3c3f4112-9b43-43ca-8a89-aa0375b2c1a2/get-response.json +0 -253
- package/test/resources/9999999/interaction/v1/interactions/dsfdsafdsa-922c-4568-85a5-e5cc77efc3be/audit/all/get-response-versionNumber=1.json +0 -38
- package/test/resources/9999999/interaction/v1/interactions/dsfdsafdsa-922c-4568-85a5-e5cc77efc3be/audit/all/get-response-versionNumber=2.json +0 -53
- package/test/resources/9999999/interaction/v1/interactions/dsfdsafdsa-922c-4568-85a5-e5cc77efc3be/delete-response.txt +0 -1
- package/test/resources/9999999/interaction/v1/interactions/get-response-status=Published.json +0 -40
- package/test/resources/9999999/interaction/v1/interactions/get-response.json +0 -211
- package/test/resources/9999999/interaction/v1/interactions/key_testExisting_journey_Multistep/get-response-versionNumber=1.json +0 -461
- package/test/resources/9999999/interaction/v1/interactions/key_testExisting_journey_Multistep/get-response.json +0 -461
- package/test/resources/9999999/interaction/v1/interactions/key_testExisting_journey_Multistep/put-response.json +0 -461
- package/test/resources/9999999/interaction/v1/interactions/key_testExisting_journey_Quicksend/get-response-versionNumber=1.json +0 -253
- package/test/resources/9999999/interaction/v1/interactions/key_testExisting_journey_Quicksend/get-response.json +0 -253
- package/test/resources/9999999/interaction/v1/interactions/key_testExisting_journey_updatecontact/get-response.json +0 -119
- package/test/resources/9999999/interaction/v1/interactions/key_testExisting_journey_updatecontact/put-response.json +0 -106
- package/test/resources/9999999/interaction/v1/interactions/key_testExisting_temail/get-response-versionNumber=1.json +0 -219
- package/test/resources/9999999/interaction/v1/interactions/key_testExisting_temail/get-response.json +0 -219
- package/test/resources/9999999/interaction/v1/interactions/key_testExisting_temail/put-response-paused.json +0 -219
- package/test/resources/9999999/interaction/v1/interactions/key_testExisting_temail/put-response.json +0 -219
- package/test/resources/9999999/interaction/v1/interactions/key_testExisting_temail_notPublished/get-response-versionNumber=1.json +0 -226
- package/test/resources/9999999/interaction/v1/interactions/key_testExisting_temail_notPublished/get-response.json +0 -226
- package/test/resources/9999999/interaction/v1/interactions/key_testExisting_temail_notPublished/put-response.json +0 -226
- package/test/resources/9999999/interaction/v1/interactions/key_testNew_temail_notPublished/get-response.json +0 -218
- package/test/resources/9999999/interaction/v1/interactions/post-response.json +0 -216
- package/test/resources/9999999/interaction/v1/interactions/publishAsync/0175b971-71a3-4d8e-98ac-48121f3fbf4f/post-response-versionNumber=1.json +0 -4
- package/test/resources/9999999/interaction/v1/interactions/publishAsync/0175b971-71a3-4d8e-98ac-48121f3fbf4f/post-response-versionNumber=3.json +0 -4
- package/test/resources/9999999/interaction/v1/interactions/publishStatus/45f06c0a-3ed2-48b2-a6a8-b5119253f01c/get-response-failed.json +0 -34
- package/test/resources/9999999/interaction/v1/interactions/publishStatus/45f06c0a-3ed2-48b2-a6a8-b5119253f01c/get-response-success.json +0 -5
- package/test/resources/9999999/interaction/v1/interactions/publishStatus/45f06c0a-3ed2-48b2-a6a8-b5119253f01c/get-response-successWarnings.json +0 -36
- package/test/resources/9999999/interaction/v1/interactions/transactional/create/post-response.json +0 -3
- package/test/resources/9999999/interaction/v1/interactions/transactional/pause/post-response.json +0 -3
- package/test/resources/9999999/interaction/v1/interactions/transactional/resume/post-response.json +0 -3
- package/test/resources/9999999/interaction/v1/interactions/validateAsync/0175b971-71a3-4d8e-98ac-48121f3fbf4f/post-response.json +0 -4
- package/test/resources/9999999/interaction/v1/interactions/validateStatus/45f06c0a-3ed2-48b2-a6a8-b5119253f01c/get-response-failed.json +0 -34
- package/test/resources/9999999/interaction/v1/interactions/validateStatus/45f06c0a-3ed2-48b2-a6a8-b5119253f01c/get-response-success.json +0 -5
- package/test/resources/9999999/interaction/v1/interactions/validateStatus/45f06c0a-3ed2-48b2-a6a8-b5119253f01c/get-response-successWarnings.json +0 -36
- package/test/resources/9999999/interaction/v1/interactions/validateStatus/45f06c0a-3ed2-48b2-a6a8-b5119253f01c/get-response.json +0 -0
- package/test/resources/9999999/journey/build-expected.json +0 -229
- package/test/resources/9999999/journey/create-transactionaEmail-publish-expected.json +0 -216
- package/test/resources/9999999/journey/get-multistep-expected.json +0 -414
- package/test/resources/9999999/journey/get-published-expected.json +0 -216
- package/test/resources/9999999/journey/get-quicksend-expected.json +0 -234
- package/test/resources/9999999/journey/get-quicksend-rcb-id-expected.json +0 -232
- package/test/resources/9999999/journey/get-quicksend-rcb-key-expected.json +0 -232
- package/test/resources/9999999/journey/get-quicksend-rcb-name-expected.json +0 -236
- package/test/resources/9999999/journey/get-transactionalEmail-expected.json +0 -211
- package/test/resources/9999999/journey/get-updatecontact-expected.json +0 -108
- package/test/resources/9999999/journey/post-expected.json +0 -264
- package/test/resources/9999999/journey/publish-callout-expected.json +0 -1
- package/test/resources/9999999/journey/put-expected.json +0 -576
- package/test/resources/9999999/journey/put-updatecontact-expected.json +0 -108
- package/test/resources/9999999/journey/template-expected.json +0 -229
- package/test/resources/9999999/journey/validate-callout-expected.json +0 -1
- package/test/resources/9999999/legacy/v1/beta/automations/notifications/RkpOcE9qSVh2VUdnYTVJbWFfWW14dzoyNTow/get-response.json +0 -21
- package/test/resources/9999999/legacy/v1/beta/automations/notifications/RkpOcE9qSVh2VUdnYTVJbWFfWW14dzoyNTow/post-response.json +0 -0
- package/test/resources/9999999/legacy/v1/beta/automations/notifications/RkpOcE9qSVh2VUdnYTVJbWFfWW14dzoyNTow-PAUSED/get-response.json +0 -3
- package/test/resources/9999999/legacy/v1/beta/automations/notifications/bHF6Q0Q3b1VXa21OdVQzZFQ0ckVSQToyNTow/get-response.json +0 -3
- package/test/resources/9999999/legacy/v1/beta/automations/notifications/cDhLQ2o2NExxVVc5N3VZeHF5WEExUToyNTow/get-response.json +0 -3
- package/test/resources/9999999/legacy/v1/beta/bulk/automations/automation/definition/NewRkpOcE9qSVh2VUdnYTVJbWFfWW14dzoyNTow/get-response.json +0 -29
- package/test/resources/9999999/legacy/v1/beta/bulk/automations/automation/definition/RkpOcE9qSVh2VUdnYTVJbWFfWW14dzoyNTow/get-response.json +0 -50
- package/test/resources/9999999/legacy/v1/beta/bulk/automations/automation/definition/RkpOcE9qSVh2VUdnYTVJbWFfWW14dzoyNTow-PAUSED/get-response.json +0 -51
- package/test/resources/9999999/legacy/v1/beta/bulk/automations/automation/definition/bHF6Q0Q3b1VXa21OdVQzZFQ0ckVSQToyNTow/get-response.json +0 -216
- package/test/resources/9999999/legacy/v1/beta/bulk/automations/automation/definition/cDhLQ2o2NExxVVc5N3VZeHF5WEExUToyNTow/get-response.json +0 -79
- package/test/resources/9999999/legacy/v1/beta/bulk/automations/automation/definition/get-response.json +0 -286
- package/test/resources/9999999/legacy/v1/beta/bulk/automations/automation/definition/post-response-pauseSchedule.json +0 -1
- package/test/resources/9999999/legacy/v1/beta/bulk/automations/automation/definition/post-response-schedule.json +0 -1
- package/test/resources/9999999/legacy/v1/beta/messaging/deliverypolicy/get-response.json +0 -15
- package/test/resources/9999999/legacy/v1/beta/mobile/code/get-response.json +0 -32
- package/test/resources/9999999/legacy/v1/beta/mobile/imports/get-response.json +0 -112
- package/test/resources/9999999/legacy/v1/beta/mobile/keyword/NXV4ZFMwTEFwRVczd3RaLUF5X3p5dzo4Njow/get-response.json +0 -42
- package/test/resources/9999999/legacy/v1/beta/mobile/keyword/cTVJaG5oSDJPVUNHcUh6Z3pQT2tVdzo4Njow/delete-response.json +0 -0
- package/test/resources/9999999/legacy/v1/beta/mobile/keyword/get-response.json +0 -47
- package/test/resources/9999999/legacy/v1/beta/mobile/keyword/post-response.json +0 -3
- package/test/resources/9999999/legacy/v1/beta/mobile/message/NTIzOjc4OjA/delete-response.json +0 -0
- package/test/resources/9999999/legacy/v1/beta/mobile/message/NTIzOjc4OjA/get-response.json +0 -106
- package/test/resources/9999999/legacy/v1/beta/mobile/message/NTIzOjc4OjA/post-response.json +0 -0
- package/test/resources/9999999/legacy/v1/beta/mobile/message/NTQ3Ojc4OjA/get-response.json +0 -127
- package/test/resources/9999999/legacy/v1/beta/mobile/message/get-response.json +0 -129
- package/test/resources/9999999/legacy/v1/beta/mobile/message/post-response.json +0 -3
- package/test/resources/9999999/legacy/v1/beta/object/NWQwdnhEU3dFZWVBekJRQzdISWl0QTo0NTow/get-response.json +0 -12
- package/test/resources/9999999/legacy/v1/beta2/data/campaign/get-response.json +0 -29
- package/test/resources/9999999/list/retrieve-response.xml +0 -91
- package/test/resources/9999999/messaging/v1/domainverification/delete/post-response.txt +0 -1
- package/test/resources/9999999/messaging/v1/domainverification/get-response.json +0 -52
- package/test/resources/9999999/messaging/v1/domainverification/post-response.txt +0 -1
- package/test/resources/9999999/messaging/v1/domainverification/update/post-response.txt +0 -1
- package/test/resources/9999999/messaging/v1/email/definitions/get-response.json +0 -29
- package/test/resources/9999999/messaging/v1/email/definitions/post-response.json +0 -19
- package/test/resources/9999999/messaging/v1/email/definitions/testExisting_temail/delete-response.json +0 -6
- package/test/resources/9999999/messaging/v1/email/definitions/testExisting_temail/get-response.json +0 -26
- package/test/resources/9999999/messaging/v1/email/definitions/testExisting_temail/patch-response.json +0 -26
- package/test/resources/9999999/messaging/v1/email/definitions/testExisting_temail_notPublished/get-response.json +0 -26
- package/test/resources/9999999/messaging/v1/email/definitions/testNew_temail_notPublished/get-response.json +0 -26
- package/test/resources/9999999/messaging/v1/push/definitions/get-response.json +0 -15
- package/test/resources/9999999/messaging/v1/push/definitions/post-response.json +0 -13
- package/test/resources/9999999/messaging/v1/push/definitions/testExisting_tpush/get-response.json +0 -13
- package/test/resources/9999999/messaging/v1/push/definitions/testExisting_tpush/patch-response.json +0 -13
- package/test/resources/9999999/messaging/v1/sms/definitions/get-response.json +0 -15
- package/test/resources/9999999/messaging/v1/sms/definitions/post-response.json +0 -19
- package/test/resources/9999999/messaging/v1/sms/definitions/testExisting_tsms/get-response.json +0 -20
- package/test/resources/9999999/messaging/v1/sms/definitions/testExisting_tsms/patch-response.json +0 -20
- package/test/resources/9999999/mobileKeyword/build-expected.amp +0 -6
- package/test/resources/9999999/mobileKeyword/build-expected.json +0 -7
- package/test/resources/9999999/mobileKeyword/get-expected.amp +0 -6
- package/test/resources/9999999/mobileKeyword/get-expected.json +0 -13
- package/test/resources/9999999/mobileKeyword/post-create-expected.amp +0 -2
- package/test/resources/9999999/mobileKeyword/post-create-expected.json +0 -15
- package/test/resources/9999999/mobileKeyword/template-expected.amp +0 -6
- package/test/resources/9999999/mobileKeyword/template-expected.json +0 -7
- package/test/resources/9999999/mobileMessage/build-expected.amp +0 -6
- package/test/resources/9999999/mobileMessage/build-expected.json +0 -57
- package/test/resources/9999999/mobileMessage/get-expected.amp +0 -6
- package/test/resources/9999999/mobileMessage/get-expected.json +0 -58
- package/test/resources/9999999/mobileMessage/post-create-expected.amp +0 -1
- package/test/resources/9999999/mobileMessage/post-create-expected.json +0 -61
- package/test/resources/9999999/mobileMessage/post-update-expected.amp +0 -1
- package/test/resources/9999999/mobileMessage/post-update-expected.json +0 -58
- package/test/resources/9999999/mobileMessage/template-expected.amp +0 -6
- package/test/resources/9999999/mobileMessage/template-expected.json +0 -57
- package/test/resources/9999999/program/retrieve-CustomerKey=testExisting_automation-response.xml +0 -30
- package/test/resources/9999999/program/retrieve-CustomerKey=testExisting_automation_fixKey_pause-response.xml +0 -32
- package/test/resources/9999999/program/retrieve-CustomerKey=testExisting_automation_fixKey_schedule-response.xml +0 -32
- package/test/resources/9999999/program/retrieve-CustomerKey=testExisting_automation_fixedKey_paused-response.xml +0 -32
- package/test/resources/9999999/program/retrieve-CustomerKey=testExisting_automation_fixedKey_scheduled-response.xml +0 -32
- package/test/resources/9999999/program/retrieve-CustomerKey=testExisting_automation_pause-response.xml +0 -30
- package/test/resources/9999999/program/retrieve-CustomerKey=testNew_automation-response.xml +0 -30
- package/test/resources/9999999/program/retrieve-Name=testExisting_automation-response.xml +0 -31
- package/test/resources/9999999/program/retrieve-response.xml +0 -62
- package/test/resources/9999999/query/build-expected.json +0 -8
- package/test/resources/9999999/query/build-expected.sql +0 -7
- package/test/resources/9999999/query/clone-expected.json +0 -8
- package/test/resources/9999999/query/clone-expected.sql +0 -7
- package/test/resources/9999999/query/get-expected.json +0 -11
- package/test/resources/9999999/query/get-expected.sql +0 -7
- package/test/resources/9999999/query/get2-expected.json +0 -11
- package/test/resources/9999999/query/patch-expected.json +0 -11
- package/test/resources/9999999/query/patch-expected.sql +0 -6
- package/test/resources/9999999/query/patch_fixKeys-expected.json +0 -11
- package/test/resources/9999999/query/patch_fixKeys-expected.sql +0 -6
- package/test/resources/9999999/query/patch_fixKeysSuffix-expected.json +0 -11
- package/test/resources/9999999/query/patch_fixKeysSuffix-expected.sql +0 -6
- package/test/resources/9999999/query/post-expected.json +0 -11
- package/test/resources/9999999/query/post-expected.sql +0 -4
- package/test/resources/9999999/query/template-expected.json +0 -8
- package/test/resources/9999999/query/template-expected.sql +0 -7
- package/test/resources/9999999/queryDefinition/retrieve-CustomerKey=badANDStatus=Active-response.xml +0 -26
- package/test/resources/9999999/queryDefinition/retrieve-CustomerKey=testExisting_query2ANDStatus=Active-response.xml +0 -30
- package/test/resources/9999999/queryDefinition/retrieve-CustomerKey=testExisting_queryANDStatus=Active-response.xml +0 -30
- package/test/resources/9999999/queryDefinition/retrieve-CustomerKey=testExisting_query_fixKeysANDStatus=Active-response.xml +0 -30
- package/test/resources/9999999/queryDefinition/retrieve-CustomerKey=testExisting_query_fixKeysSuffixANDStatus=Active-response.xml +0 -30
- package/test/resources/9999999/queryDefinition/retrieve-CustomerKey=testExisting_query_fixedKeysANDStatus=Active-response.xml +0 -30
- package/test/resources/9999999/queryDefinition/retrieve-CustomerKey=testNew_queryANDStatus=Active-response.xml +0 -30
- package/test/resources/9999999/script/build-expected.json +0 -6
- package/test/resources/9999999/script/build-expected.ssjs +0 -1
- package/test/resources/9999999/script/get-expected.json +0 -8
- package/test/resources/9999999/script/get-expected.ssjs +0 -1
- package/test/resources/9999999/script/get_ampincluded-expected.html +0 -5
- package/test/resources/9999999/script/get_ampincluded-expected.json +0 -8
- package/test/resources/9999999/script/get_ampincluded-rcb-id-expected.html +0 -5
- package/test/resources/9999999/script/get_ampincluded-rcb-key-expected.html +0 -5
- package/test/resources/9999999/script/get_ampincluded-rcb-name-expected.html +0 -5
- package/test/resources/9999999/script/get_ampscript-expected.html +0 -11
- package/test/resources/9999999/script/get_ampscript-expected.json +0 -8
- package/test/resources/9999999/script/get_ampscript-rcb-id-expected.html +0 -9
- package/test/resources/9999999/script/get_ampscript-rcb-key-expected.html +0 -9
- package/test/resources/9999999/script/get_ampscript-rcb-name-expected.html +0 -13
- package/test/resources/9999999/script/get_mixed-expected.html +0 -12
- package/test/resources/9999999/script/get_mixed-expected.json +0 -8
- package/test/resources/9999999/script/get_mixed-rcb-id-expected.html +0 -12
- package/test/resources/9999999/script/get_mixed-rcb-key-expected.html +0 -12
- package/test/resources/9999999/script/get_mixed-rcb-name-expected.html +0 -14
- package/test/resources/9999999/script/get_noScriptTag-expected.html +0 -1
- package/test/resources/9999999/script/get_noScriptTag-expected.json +0 -8
- package/test/resources/9999999/script/patch-expected.json +0 -8
- package/test/resources/9999999/script/patch-expected.ssjs +0 -2
- package/test/resources/9999999/script/post-expected.json +0 -8
- package/test/resources/9999999/script/post-expected.ssjs +0 -1
- package/test/resources/9999999/script/template-expected.json +0 -6
- package/test/resources/9999999/script/template-expected.ssjs +0 -1
- package/test/resources/9999999/sendClassification/build-expected.json +0 -8
- package/test/resources/9999999/sendClassification/create-response.xml +0 -51
- package/test/resources/9999999/sendClassification/delete-response.xml +0 -36
- package/test/resources/9999999/sendClassification/get-expected.json +0 -10
- package/test/resources/9999999/sendClassification/patch-expected.json +0 -10
- package/test/resources/9999999/sendClassification/post-expected.json +0 -8
- package/test/resources/9999999/sendClassification/retrieve-response.xml +0 -86
- package/test/resources/9999999/sendClassification/template-expected.json +0 -8
- package/test/resources/9999999/sendClassification/update-response.xml +0 -49
- package/test/resources/9999999/senderProfile/build-expected.json +0 -15
- package/test/resources/9999999/senderProfile/create-response.xml +0 -50
- package/test/resources/9999999/senderProfile/delete-response.xml +0 -36
- package/test/resources/9999999/senderProfile/get-expected.json +0 -19
- package/test/resources/9999999/senderProfile/get-rcb-id-expected.json +0 -19
- package/test/resources/9999999/senderProfile/get-rcb-key-expected.json +0 -19
- package/test/resources/9999999/senderProfile/get-rcb-name-expected.json +0 -19
- package/test/resources/9999999/senderProfile/patch-expected.json +0 -19
- package/test/resources/9999999/senderProfile/post-expected.json +0 -15
- package/test/resources/9999999/senderProfile/retrieve-CustomerKey=Default-response.xml +0 -49
- package/test/resources/9999999/senderProfile/retrieve-CustomerKey=wrong-key-response.xml +0 -26
- package/test/resources/9999999/senderProfile/retrieve-response.xml +0 -95
- package/test/resources/9999999/senderProfile/template-expected.json +0 -15
- package/test/resources/9999999/senderProfile/update-response.xml +0 -48
- package/test/resources/9999999/transactionalEmail/build-expected.json +0 -18
- package/test/resources/9999999/transactionalEmail/create-publish-expected.json +0 -20
- package/test/resources/9999999/transactionalEmail/get-expected.json +0 -20
- package/test/resources/9999999/transactionalEmail/get-published-expected.json +0 -20
- package/test/resources/9999999/transactionalEmail/patch-expected.json +0 -20
- package/test/resources/9999999/transactionalEmail/post-expected.json +0 -20
- package/test/resources/9999999/transactionalEmail/template-expected.json +0 -18
- package/test/resources/9999999/transactionalPush/build-expected.json +0 -8
- package/test/resources/9999999/transactionalPush/get-expected.json +0 -11
- package/test/resources/9999999/transactionalPush/patch-expected.json +0 -14
- package/test/resources/9999999/transactionalPush/post-expected.json +0 -14
- package/test/resources/9999999/transactionalPush/template-expected.json +0 -8
- package/test/resources/9999999/transactionalSMS/build-expected.amp +0 -108
- package/test/resources/9999999/transactionalSMS/build-expected.json +0 -12
- package/test/resources/9999999/transactionalSMS/get-expected.amp +0 -108
- package/test/resources/9999999/transactionalSMS/get-expected.json +0 -14
- package/test/resources/9999999/transactionalSMS/patch-expected.amp +0 -102
- package/test/resources/9999999/transactionalSMS/patch-expected.json +0 -14
- package/test/resources/9999999/transactionalSMS/post-expected.amp +0 -102
- package/test/resources/9999999/transactionalSMS/post-expected.json +0 -14
- package/test/resources/9999999/transactionalSMS/template-expected.amp +0 -108
- package/test/resources/9999999/transactionalSMS/template-expected.json +0 -12
- package/test/resources/9999999/triggeredSend/build-expected.json +0 -28
- package/test/resources/9999999/triggeredSend/get-expected.json +0 -28
- package/test/resources/9999999/triggeredSend/get-rcb-id-expected.json +0 -28
- package/test/resources/9999999/triggeredSend/get-rcb-key-expected.json +0 -28
- package/test/resources/9999999/triggeredSend/get-rcb-name-expected.json +0 -28
- package/test/resources/9999999/triggeredSend/patch-expected.json +0 -27
- package/test/resources/9999999/triggeredSend/post-expected.json +0 -27
- package/test/resources/9999999/triggeredSend/template-expected.json +0 -28
- package/test/resources/9999999/triggeredSendDefinition/create-response.xml +0 -79
- package/test/resources/9999999/triggeredSendDefinition/delete-response.xml +0 -36
- package/test/resources/9999999/triggeredSendDefinition/retrieve-CustomerKey=testExisting_triggeredSend-response.xml +0 -72
- package/test/resources/9999999/triggeredSendDefinition/retrieve-CustomerKey=testExisting_triggeredSend_rcb-response.xml +0 -72
- package/test/resources/9999999/triggeredSendDefinition/retrieve-TriggeredSendStatusINNew,Active,Inactive,Moved,Canceled-response.xml +0 -118
- package/test/resources/9999999/triggeredSendDefinition/retrieve-TriggeredSendStatusINdummy,Active-response.xml +0 -118
- package/test/resources/9999999/triggeredSendDefinition/update-response.xml +0 -78
- package/test/resources/9999999/triggeredSendSummary/get-expected.json +0 -24
- package/test/resources/9999999/triggeredSendSummary/retrieve-response.xml +0 -49
- package/test/resources/9999999/verification/build-expected.json +0 -11
- package/test/resources/9999999/verification/get-expected.json +0 -12
- package/test/resources/9999999/verification/patch-expected.json +0 -12
- package/test/resources/9999999/verification/post-expected.json +0 -12
- package/test/resources/9999999/verification/template-expected.json +0 -11
- package/test/resources/auth.json +0 -32
- package/test/resources/rest404-response.json +0 -5
- package/test/resources/retrieve-response.xml +0 -21
- package/test/type.asset.test.js +0 -1432
- package/test/type.attributeGroup.test.js +0 -56
- package/test/type.attributeSet.test.js +0 -56
- package/test/type.automation.test.js +0 -1003
- package/test/type.dataExtension.test.js +0 -419
- package/test/type.dataExtensionField.test.js +0 -81
- package/test/type.dataExtract.test.js +0 -186
- package/test/type.dataFilter.test.js +0 -182
- package/test/type.deliveryProfile.test.js +0 -45
- package/test/type.domainVerification.test.js +0 -169
- package/test/type.emailSend.test.js +0 -144
- package/test/type.event.test.js +0 -346
- package/test/type.fileLocation.test.js +0 -279
- package/test/type.fileTransfer.test.js +0 -183
- package/test/type.filter.test.js +0 -177
- package/test/type.folder.test.js +0 -264
- package/test/type.importFile.test.js +0 -223
- package/test/type.journey.test.js +0 -1547
- package/test/type.mobileKeyword.test.js +0 -279
- package/test/type.mobileMessage.test.js +0 -206
- package/test/type.query.test.js +0 -934
- package/test/type.script.test.js +0 -674
- package/test/type.sendClassification.test.js +0 -156
- package/test/type.senderProfile.test.js +0 -320
- package/test/type.transactionalEmail.test.js +0 -162
- package/test/type.transactionalPush.test.js +0 -160
- package/test/type.transactionalSMS.test.js +0 -222
- package/test/type.triggeredSend.test.js +0 -397
- package/test/type.triggeredSendSummary.test.js +0 -45
- package/test/type.user.test.js +0 -221
- package/test/type.verification.test.js +0 -169
- package/test/utils.js +0 -426
- package/tsconfig.json +0 -26
- package/tsconfig.npmScripts.json +0 -12
- package/tsconfig.precommit.json +0 -26
package/lib/util/file.js
CHANGED
|
@@ -2,10 +2,7 @@
|
|
|
2
2
|
import fs from 'fs-extra';
|
|
3
3
|
|
|
4
4
|
import path from 'node:path';
|
|
5
|
-
import prettier from 'prettier';
|
|
6
|
-
import beautyAmp from 'beauty-amp-core2';
|
|
7
5
|
import { Util } from './util.js';
|
|
8
|
-
import updateNotifier from 'update-notifier';
|
|
9
6
|
import config from './config.js';
|
|
10
7
|
|
|
11
8
|
/**
|
|
@@ -24,24 +21,105 @@ import config from './config.js';
|
|
|
24
21
|
* @typedef {import('../../types/mcdev.d.js').MultiMetadataTypeList} MultiMetadataTypeList
|
|
25
22
|
* @typedef {import('../../types/mcdev.d.js').MultiMetadataTypeMap} MultiMetadataTypeMap
|
|
26
23
|
* @typedef {import('../../types/mcdev.d.js').SoapRequestParams} SoapRequestParams
|
|
27
|
-
* @typedef {import('../../types/mcdev.d.js').TemplateMap} TemplateMap
|
|
28
24
|
* @typedef {import('../../types/mcdev.d.js').TypeKeyCombo} TypeKeyCombo
|
|
29
25
|
*/
|
|
30
26
|
|
|
31
|
-
// inform user when there is an update
|
|
32
|
-
const notifier = updateNotifier({
|
|
33
|
-
pkg: Util.packageJsonMcdev,
|
|
34
|
-
updateCheckInterval: 1000 * 3600 * 24, // once per day
|
|
35
|
-
});
|
|
36
|
-
// Notify using the built-in convenience method
|
|
37
|
-
notifier.notify();
|
|
38
|
-
|
|
39
27
|
/**
|
|
40
28
|
* File extends fs-extra. It adds logger and util methods for file handling
|
|
41
29
|
*/
|
|
30
|
+
let prettierModulesPromise;
|
|
31
|
+
|
|
42
32
|
const File = {
|
|
33
|
+
// Deprecated compatibility fields. Formatting uses immutable per-filetype entries below.
|
|
43
34
|
prettierConfig: null,
|
|
44
35
|
prettierConfigFileType: null,
|
|
36
|
+
prettierConfigCache: new Map(),
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Loads and caches formatting packages after formatting has been confirmed enabled.
|
|
40
|
+
*
|
|
41
|
+
* @returns {Promise.<{prettier: import('prettier'), prettierPluginSfmc: object}>} formatter modules
|
|
42
|
+
*/
|
|
43
|
+
async _loadPrettierModules() {
|
|
44
|
+
if (!prettierModulesPromise) {
|
|
45
|
+
prettierModulesPromise = (async () => {
|
|
46
|
+
const [prettierModule, prettierPluginSfmc] = await Promise.all([
|
|
47
|
+
import('prettier'),
|
|
48
|
+
import('prettier-plugin-sfmc'),
|
|
49
|
+
]);
|
|
50
|
+
return { prettier: prettierModule.default, prettierPluginSfmc };
|
|
51
|
+
})();
|
|
52
|
+
}
|
|
53
|
+
return prettierModulesPromise;
|
|
54
|
+
},
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Maps mcdev file extensions to Prettier parser names.
|
|
58
|
+
*
|
|
59
|
+
* @param {string} filetype file extension without dot
|
|
60
|
+
* @returns {string | undefined} parser name when mcdev has an explicit mapping
|
|
61
|
+
*/
|
|
62
|
+
_getPrettierParser(filetype) {
|
|
63
|
+
switch (filetype.toLowerCase()) {
|
|
64
|
+
case 'amp':
|
|
65
|
+
case 'ampscript':
|
|
66
|
+
case 'html':
|
|
67
|
+
case 'htm':
|
|
68
|
+
case 'hbs': {
|
|
69
|
+
return 'ampscript-parse';
|
|
70
|
+
}
|
|
71
|
+
case 'ssjs':
|
|
72
|
+
case 'js': {
|
|
73
|
+
return 'babel';
|
|
74
|
+
}
|
|
75
|
+
case 'sql': {
|
|
76
|
+
return 'sql';
|
|
77
|
+
}
|
|
78
|
+
case 'json': {
|
|
79
|
+
return 'json';
|
|
80
|
+
}
|
|
81
|
+
case 'jsonc': {
|
|
82
|
+
return 'jsonc';
|
|
83
|
+
}
|
|
84
|
+
case 'yaml':
|
|
85
|
+
case 'yml': {
|
|
86
|
+
return 'yaml';
|
|
87
|
+
}
|
|
88
|
+
case 'ts': {
|
|
89
|
+
return 'babel-ts';
|
|
90
|
+
}
|
|
91
|
+
case 'css': {
|
|
92
|
+
return 'css';
|
|
93
|
+
}
|
|
94
|
+
case 'less': {
|
|
95
|
+
return 'less';
|
|
96
|
+
}
|
|
97
|
+
case 'scss': {
|
|
98
|
+
return 'scss';
|
|
99
|
+
}
|
|
100
|
+
case 'md': {
|
|
101
|
+
return 'markdown';
|
|
102
|
+
}
|
|
103
|
+
default: {
|
|
104
|
+
// Unknown and intentionally unsupported text types (csv, rss, sass, txt, xml)
|
|
105
|
+
// rely on filepath inference; absent inference means safe pass-through.
|
|
106
|
+
return;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* Checks whether formatting is enabled by CLI or project configuration.
|
|
113
|
+
*
|
|
114
|
+
* @param {Mcdevrc} properties project configuration
|
|
115
|
+
* @returns {boolean} whether formatting should run
|
|
116
|
+
*/
|
|
117
|
+
_isFormattingEnabled(properties) {
|
|
118
|
+
return Boolean(
|
|
119
|
+
(properties?.options?.formatOnSave && Util.OPTIONS.format === undefined) ||
|
|
120
|
+
Util.OPTIONS.format
|
|
121
|
+
);
|
|
122
|
+
},
|
|
45
123
|
|
|
46
124
|
/**
|
|
47
125
|
* copies a file from one path to another
|
|
@@ -75,7 +153,7 @@ const File = {
|
|
|
75
153
|
filterIllegalPathChars(path) {
|
|
76
154
|
return (
|
|
77
155
|
encodeURIComponent(path)
|
|
78
|
-
.replaceAll(
|
|
156
|
+
.replaceAll('*', '_STAR_')
|
|
79
157
|
// convert space back
|
|
80
158
|
.split('%20')
|
|
81
159
|
.join(' ')
|
|
@@ -112,7 +190,7 @@ const File = {
|
|
|
112
190
|
filterIllegalFilenames(filename) {
|
|
113
191
|
return (
|
|
114
192
|
encodeURIComponent(filename)
|
|
115
|
-
.replaceAll(
|
|
193
|
+
.replaceAll('*', '_STAR_')
|
|
116
194
|
// convert space back
|
|
117
195
|
.split('%20')
|
|
118
196
|
.join(' ')
|
|
@@ -141,7 +219,7 @@ const File = {
|
|
|
141
219
|
* @returns {string} - corrected string
|
|
142
220
|
*/
|
|
143
221
|
reverseFilterIllegalFilenames(filename) {
|
|
144
|
-
return decodeURIComponent(filename).
|
|
222
|
+
return decodeURIComponent(filename).replaceAll('_STAR_', '*');
|
|
145
223
|
},
|
|
146
224
|
|
|
147
225
|
/**
|
|
@@ -151,7 +229,6 @@ const File = {
|
|
|
151
229
|
* @returns {string} Path strings
|
|
152
230
|
*/
|
|
153
231
|
normalizePath: function (denormalizedPath) {
|
|
154
|
-
/* eslint-disable unicorn/prefer-ternary */
|
|
155
232
|
if (Array.isArray(denormalizedPath)) {
|
|
156
233
|
// if the value is undefined set to empty string to allow parsing
|
|
157
234
|
return path.join(...denormalizedPath.map((val) => val || ''));
|
|
@@ -159,7 +236,6 @@ const File = {
|
|
|
159
236
|
// if directory is empty put . as otherwill will write to c://
|
|
160
237
|
return path.join(denormalizedPath || '.');
|
|
161
238
|
}
|
|
162
|
-
/* eslint-enable unicorn/prefer-ternary */
|
|
163
239
|
},
|
|
164
240
|
|
|
165
241
|
/**
|
|
@@ -173,11 +249,13 @@ const File = {
|
|
|
173
249
|
writeJSONToFile: async function (directory, filename, content) {
|
|
174
250
|
directory = this.filterIllegalPathChars(this.normalizePath(directory));
|
|
175
251
|
filename = this.filterIllegalFilenames(filename);
|
|
176
|
-
await fs.ensureDir(directory);
|
|
177
252
|
try {
|
|
178
|
-
|
|
253
|
+
await fs.ensureDir(directory);
|
|
254
|
+
await fs.writeJSON(path.join(directory, filename + '.json'), content, { spaces: 4 });
|
|
255
|
+
return true;
|
|
179
256
|
} catch (ex) {
|
|
180
257
|
Util.logger.error('File.writeJSONToFile:: error | ' + ex.message);
|
|
258
|
+
return false;
|
|
181
259
|
}
|
|
182
260
|
},
|
|
183
261
|
|
|
@@ -189,74 +267,28 @@ const File = {
|
|
|
189
267
|
* @param {string} filename name of the file without suffix
|
|
190
268
|
* @param {string} filetype filetype ie. JSON or SSJS
|
|
191
269
|
* @param {string} content filecontent
|
|
192
|
-
* @param {TemplateMap} [templateVariables] templating variables to be replaced in the metadata
|
|
193
270
|
* @returns {Promise.<boolean>} Promise
|
|
194
271
|
*/
|
|
195
|
-
writePrettyToFile: async function (directory, filename, filetype, content
|
|
196
|
-
let formatted;
|
|
272
|
+
writePrettyToFile: async function (directory, filename, filetype, content) {
|
|
197
273
|
const properties = await config.getProperties();
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
) {
|
|
202
|
-
formatted =
|
|
203
|
-
filetype === 'amp'
|
|
204
|
-
? await this.beautify_beautyAmp(content, false)
|
|
205
|
-
: await this._beautify_prettier(directory, filename, filetype, content);
|
|
206
|
-
} else {
|
|
207
|
-
// skip formatting
|
|
208
|
-
formatted = content;
|
|
209
|
-
}
|
|
210
|
-
if (templateVariables) {
|
|
211
|
-
formatted = Util.replaceByObject(formatted, templateVariables);
|
|
212
|
-
}
|
|
274
|
+
const formatted = this._isFormattingEnabled(properties)
|
|
275
|
+
? await this._beautify_prettier(directory, filename, filetype, content)
|
|
276
|
+
: content;
|
|
213
277
|
return this.writeToFile(directory, filename, filetype, formatted);
|
|
214
278
|
},
|
|
215
279
|
|
|
216
280
|
/**
|
|
217
|
-
*
|
|
218
|
-
*
|
|
219
|
-
* @param {string} content code
|
|
220
|
-
* @param {boolean} [formatHTML] applies formatting to html and ampscript if true
|
|
221
|
-
* @returns {Promise.<string>} formatted code
|
|
222
|
-
*/
|
|
223
|
-
_beautify_beautyAmp_beautify: async function (content, formatHTML = true) {
|
|
224
|
-
const response = await beautyAmp.beautify(content, formatHTML);
|
|
225
|
-
if (typeof response == 'string') {
|
|
226
|
-
return response.trim() + '\n';
|
|
227
|
-
} else {
|
|
228
|
-
throw new TypeError('beautyAmp failed to beautify the content');
|
|
229
|
-
}
|
|
230
|
-
},
|
|
231
|
-
|
|
232
|
-
/**
|
|
233
|
-
* helper for {@link File.writePrettyToFile}, applying beautyAmp onto given stringified content
|
|
281
|
+
* Formats extracted Transactional SMS content when formatting is enabled.
|
|
234
282
|
*
|
|
235
|
-
* @param {string} content
|
|
236
|
-
* @
|
|
237
|
-
* @returns {Promise.<string>} original string on error; formatted string on success
|
|
283
|
+
* @param {string} content extracted AMPscript content
|
|
284
|
+
* @returns {Promise.<string>} original string when disabled or on error; formatted string on success
|
|
238
285
|
*/
|
|
239
|
-
|
|
286
|
+
_formatTransactionalSmsContent: async function (content) {
|
|
240
287
|
const properties = await config.getProperties();
|
|
241
|
-
if (
|
|
242
|
-
(properties?.options?.formatOnSave && Util.OPTIONS.format === undefined) ||
|
|
243
|
-
Util.OPTIONS.format
|
|
244
|
-
) {
|
|
245
|
-
// logs trough console only for the moment.
|
|
246
|
-
const logs = {
|
|
247
|
-
loggerOn: false, // <= disable logging
|
|
248
|
-
};
|
|
249
|
-
try {
|
|
250
|
-
beautyAmp.setup(null, null, logs);
|
|
251
|
-
// Note: we need to trim the result as beautyAmp adds a leading new line; but we also want to ensure there is a single new line at the end to comply with standard linting rules
|
|
252
|
-
return await this._beautify_beautyAmp_beautify(content, formatHTML);
|
|
253
|
-
} catch {
|
|
254
|
-
return content;
|
|
255
|
-
}
|
|
256
|
-
} else {
|
|
257
|
-
// skip formatting
|
|
288
|
+
if (!this._isFormattingEnabled(properties)) {
|
|
258
289
|
return content;
|
|
259
290
|
}
|
|
291
|
+
return this._beautify_prettier('', '', 'amp', content);
|
|
260
292
|
},
|
|
261
293
|
|
|
262
294
|
/**
|
|
@@ -271,85 +303,48 @@ const File = {
|
|
|
271
303
|
*/
|
|
272
304
|
_beautify_prettier: async function (directory, filename, filetype, content) {
|
|
273
305
|
const properties = await config.getProperties();
|
|
306
|
+
const normalizedFiletype = filetype.toLowerCase();
|
|
307
|
+
const filepath = path.resolve(
|
|
308
|
+
this.normalizePath(directory),
|
|
309
|
+
`${filename || 'index'}.${normalizedFiletype}`
|
|
310
|
+
);
|
|
311
|
+
const mappedParser = this._getPrettierParser(normalizedFiletype);
|
|
312
|
+
let effectiveParser;
|
|
274
313
|
/** @type {string} */
|
|
275
314
|
let formatted;
|
|
276
315
|
try {
|
|
277
|
-
|
|
278
|
-
|
|
316
|
+
await this.initPrettier(normalizedFiletype);
|
|
317
|
+
const resolvedConfig = FileFs.prettierConfigCache.get(normalizedFiletype);
|
|
318
|
+
if (!resolvedConfig) {
|
|
279
319
|
return content;
|
|
280
|
-
} else if (content.includes('%%[') || content.includes('%%=')) {
|
|
281
|
-
// in case we find AMPScript we need to abort beautifying as prettier
|
|
282
|
-
// will throw an error falsely assuming bad syntax
|
|
283
|
-
return await this.beautify_beautyAmp(content, true);
|
|
284
320
|
}
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
case 'htm':
|
|
290
|
-
case 'html': {
|
|
291
|
-
FileFs.prettierConfig.parser = 'html';
|
|
292
|
-
break;
|
|
293
|
-
}
|
|
294
|
-
case 'ssjs':
|
|
295
|
-
case 'js': {
|
|
296
|
-
FileFs.prettierConfig.parser = 'babel';
|
|
297
|
-
break;
|
|
298
|
-
}
|
|
299
|
-
case 'json': {
|
|
300
|
-
FileFs.prettierConfig.parser = 'json';
|
|
301
|
-
break;
|
|
302
|
-
}
|
|
303
|
-
case 'yaml':
|
|
304
|
-
case 'yml': {
|
|
305
|
-
FileFs.prettierConfig.parser = 'yaml';
|
|
306
|
-
break;
|
|
307
|
-
}
|
|
308
|
-
case 'ts': {
|
|
309
|
-
FileFs.prettierConfig.parser = 'babel-ts';
|
|
310
|
-
break;
|
|
311
|
-
}
|
|
312
|
-
case 'css': {
|
|
313
|
-
FileFs.prettierConfig.parser = 'css';
|
|
314
|
-
break;
|
|
315
|
-
}
|
|
316
|
-
case 'less': {
|
|
317
|
-
FileFs.prettierConfig.parser = 'less';
|
|
318
|
-
break;
|
|
319
|
-
}
|
|
320
|
-
case 'sass':
|
|
321
|
-
case 'scss': {
|
|
322
|
-
FileFs.prettierConfig.parser = 'scss';
|
|
323
|
-
break;
|
|
324
|
-
}
|
|
325
|
-
case 'md': {
|
|
326
|
-
FileFs.prettierConfig.parser = 'markdown';
|
|
327
|
-
break;
|
|
328
|
-
}
|
|
329
|
-
case 'sql': {
|
|
330
|
-
FileFs.prettierConfig.parser = 'sql';
|
|
331
|
-
FileFs.prettierConfig.plugins = ['prettier-plugin-sql'];
|
|
332
|
-
break;
|
|
333
|
-
}
|
|
334
|
-
default: {
|
|
335
|
-
FileFs.prettierConfig.parser = 'babel';
|
|
336
|
-
}
|
|
337
|
-
}
|
|
321
|
+
const { prettier, prettierPluginSfmc } = await this._loadPrettierModules();
|
|
322
|
+
effectiveParser = resolvedConfig.parser || mappedParser;
|
|
323
|
+
if (!effectiveParser && !(await prettier.getFileInfo(filepath)).inferredParser) {
|
|
324
|
+
return content;
|
|
338
325
|
}
|
|
339
326
|
|
|
340
|
-
|
|
327
|
+
const formatOptions = {
|
|
328
|
+
...resolvedConfig,
|
|
329
|
+
filepath,
|
|
330
|
+
plugins: [...(resolvedConfig.plugins || []), prettierPluginSfmc],
|
|
331
|
+
};
|
|
332
|
+
if (effectiveParser) {
|
|
333
|
+
formatOptions.parser = effectiveParser;
|
|
334
|
+
}
|
|
335
|
+
formatted = await prettier.format(content, formatOptions);
|
|
341
336
|
} catch (ex) {
|
|
342
337
|
if (properties?.options?.formatErrorLog) {
|
|
343
|
-
// save prettier
|
|
344
|
-
// Note:
|
|
338
|
+
// save prettier error into log file
|
|
339
|
+
// Note: filter color codes from Prettier's error message before saving it
|
|
345
340
|
/* eslint-disable no-control-regex */
|
|
346
|
-
|
|
341
|
+
const parserContext = effectiveParser ? `Parser: ${effectiveParser}\n` : '';
|
|
342
|
+
await this.writeToFile(
|
|
347
343
|
directory,
|
|
348
344
|
filename + '.error',
|
|
349
345
|
'log',
|
|
350
|
-
`Error Log\
|
|
346
|
+
`Error Log\nFile: ${filepath}\n${parserContext}${ex.message.replaceAll(
|
|
351
347
|
/[\u001B\u009B][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g,
|
|
352
|
-
|
|
353
348
|
''
|
|
354
349
|
)}`
|
|
355
350
|
);
|
|
@@ -465,29 +460,30 @@ const File = {
|
|
|
465
460
|
for (const dirent of raw) {
|
|
466
461
|
const direntPath = path.join(directory, dirent.name);
|
|
467
462
|
if (
|
|
468
|
-
(await fs.pathExists(direntPath))
|
|
469
|
-
(await fs.lstat(direntPath)).isDirectory()
|
|
470
|
-
depth
|
|
463
|
+
!(await fs.pathExists(direntPath)) ||
|
|
464
|
+
!(await fs.lstat(direntPath)).isDirectory() ||
|
|
465
|
+
depth <= 0
|
|
471
466
|
) {
|
|
472
|
-
|
|
473
|
-
direntPath,
|
|
474
|
-
depth - 1,
|
|
475
|
-
includeStem,
|
|
476
|
-
_stemLength
|
|
477
|
-
);
|
|
478
|
-
children = children.concat(nestedChildren);
|
|
467
|
+
continue;
|
|
479
468
|
}
|
|
469
|
+
const nestedChildren = await this.readDirectories(
|
|
470
|
+
direntPath,
|
|
471
|
+
depth - 1,
|
|
472
|
+
includeStem,
|
|
473
|
+
_stemLength
|
|
474
|
+
);
|
|
475
|
+
children = children.concat(nestedChildren);
|
|
480
476
|
}
|
|
481
477
|
if (children.length === 0) {
|
|
482
478
|
// if not includeStem then remove base directory and leading slahes and backslashes
|
|
483
|
-
return
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
479
|
+
return [
|
|
480
|
+
includeStem
|
|
481
|
+
? directory
|
|
482
|
+
: directory
|
|
487
483
|
.slice(Math.max(0, _stemLength))
|
|
488
484
|
.replace(/^\\+/, '')
|
|
489
485
|
.replace(/^\/+/, ''),
|
|
490
|
-
|
|
486
|
+
];
|
|
491
487
|
} else {
|
|
492
488
|
return children;
|
|
493
489
|
}
|
|
@@ -532,16 +528,18 @@ const File = {
|
|
|
532
528
|
// loop through children of current directory (if not then this is skipped)
|
|
533
529
|
for (const dirent of raw) {
|
|
534
530
|
// if directory found and should get children then recursively call
|
|
535
|
-
if (dirent.isDirectory() && depth > 0) {
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
531
|
+
if (!(dirent.isDirectory() && depth > 0)) {
|
|
532
|
+
continue;
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
const nestedChildren = this.readDirectoriesSync(
|
|
536
|
+
path.join(directory, dirent.name),
|
|
537
|
+
depth - 1,
|
|
538
|
+
includeStem,
|
|
539
|
+
_stemLength
|
|
540
|
+
);
|
|
541
|
+
if (Array.isArray(nestedChildren) && nestedChildren.length > 0) {
|
|
542
|
+
children.push(...nestedChildren);
|
|
545
543
|
}
|
|
546
544
|
}
|
|
547
545
|
return children;
|
|
@@ -555,14 +553,25 @@ const File = {
|
|
|
555
553
|
* helper that splits the config back into auth & config parts to save them separately
|
|
556
554
|
*
|
|
557
555
|
* @param {Mcdevrc} properties central properties object
|
|
558
|
-
* @
|
|
556
|
+
* @param {string} [version] version to persist; defaults to the current mcdev version
|
|
557
|
+
* @returns {Promise.<boolean>} whether the config file was saved successfully
|
|
559
558
|
*/
|
|
560
|
-
async saveConfigFile(properties) {
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
559
|
+
async saveConfigFile(properties, version = Util.packageJsonMcdev.version) {
|
|
560
|
+
const previousVersion = properties.version;
|
|
561
|
+
// save the full version to allow us to upgrade configs properly in the future
|
|
562
|
+
properties.version = version;
|
|
563
|
+
|
|
564
|
+
const success = await this.writeJSONToFile(
|
|
565
|
+
'',
|
|
566
|
+
Util.configFileName.split('.json', 1)[0],
|
|
567
|
+
properties
|
|
568
|
+
);
|
|
569
|
+
if (!success) {
|
|
570
|
+
properties.version = previousVersion;
|
|
571
|
+
return false;
|
|
572
|
+
}
|
|
565
573
|
Util.logger.info(`✔️ ${Util.configFileName} and ${Util.authFileName} saved successfully`);
|
|
574
|
+
return true;
|
|
566
575
|
},
|
|
567
576
|
|
|
568
577
|
/**
|
|
@@ -572,39 +581,44 @@ const File = {
|
|
|
572
581
|
* @returns {Promise.<boolean>} success of config load
|
|
573
582
|
*/
|
|
574
583
|
async initPrettier(filetype = 'html') {
|
|
575
|
-
if (Util.OPTIONS.format === false) {
|
|
576
|
-
// auto-formatting was disabled via CLI option
|
|
577
|
-
return;
|
|
578
|
-
}
|
|
579
584
|
const properties = await config.getProperties();
|
|
580
|
-
if (
|
|
581
|
-
// auto-formatting was disabled via config file
|
|
585
|
+
if (!this._isFormattingEnabled(properties)) {
|
|
582
586
|
return;
|
|
583
587
|
}
|
|
584
|
-
if (FileFs.prettierConfig === null || FileFs.prettierConfigFileType !== filetype) {
|
|
585
|
-
// run this if no config was yet found or if the filetype previously used to initialize it differs (because it results in a potentially different config!)
|
|
586
|
-
FileFs.prettierConfigFileType = filetype;
|
|
587
|
-
try {
|
|
588
|
-
// pass in project dir with fake index.html to avoid "no parser" error
|
|
589
|
-
// by using process.cwd we are limiting ourselves to a config in the project root
|
|
590
|
-
// note: overrides will be ignored unless they are for *.html if hand in an html file here. This method includes the overrides corresponding to the file we pass in
|
|
591
|
-
FileFs.prettierConfig = await prettier.resolveConfig(
|
|
592
|
-
path.join(process.cwd(), 'index.' + filetype)
|
|
593
|
-
);
|
|
594
|
-
if (FileFs.prettierConfig === null) {
|
|
595
|
-
// set to false to avoid re-running this after an initial failure
|
|
596
|
-
throw new Error(
|
|
597
|
-
`No .prettierrc found in your project directory. Please run 'mcdev upgrade' to create it`
|
|
598
|
-
);
|
|
599
|
-
}
|
|
600
588
|
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
589
|
+
const effectiveFiletype = filetype.toLowerCase();
|
|
590
|
+
if (FileFs.prettierConfigCache.has(effectiveFiletype)) {
|
|
591
|
+
return false;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
try {
|
|
595
|
+
const { prettier } = await this._loadPrettierModules();
|
|
596
|
+
// Resolve against a synthetic project-root file so matching overrides are applied.
|
|
597
|
+
// Clear Prettier's internal cache because mcdev tests and long-running API users can update config.
|
|
598
|
+
prettier.clearConfigCache();
|
|
599
|
+
const resolvedConfig = await prettier.resolveConfig(
|
|
600
|
+
path.join(process.cwd(), 'index.' + effectiveFiletype)
|
|
601
|
+
);
|
|
602
|
+
if (resolvedConfig === null) {
|
|
603
|
+
throw new Error(
|
|
604
|
+
`No .prettierrc found in your project directory. Please run 'mcdev upgrade' to create it`
|
|
605
|
+
);
|
|
606
606
|
}
|
|
607
|
-
|
|
607
|
+
|
|
608
|
+
const immutableConfig = Object.freeze({
|
|
609
|
+
...resolvedConfig,
|
|
610
|
+
plugins: Object.freeze([...(resolvedConfig.plugins || [])]),
|
|
611
|
+
});
|
|
612
|
+
FileFs.prettierConfigCache.set(effectiveFiletype, immutableConfig);
|
|
613
|
+
// Maintain public compatibility fields without using them for formatting decisions.
|
|
614
|
+
FileFs.prettierConfig = immutableConfig;
|
|
615
|
+
FileFs.prettierConfigFileType = effectiveFiletype;
|
|
616
|
+
return true;
|
|
617
|
+
} catch (ex) {
|
|
618
|
+
FileFs.prettierConfigCache.set(effectiveFiletype, false);
|
|
619
|
+
FileFs.prettierConfig = false;
|
|
620
|
+
FileFs.prettierConfigFileType = effectiveFiletype;
|
|
621
|
+
Util.logger.error('Cannot apply auto-formatting to your code: ' + ex.message);
|
|
608
622
|
return false;
|
|
609
623
|
}
|
|
610
624
|
},
|