@hcl-software/dxclient 221.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/LICENSE +62 -0
- package/README.txt +3143 -0
- package/bin/dxclient +3 -0
- package/dist/LICENSE +62 -0
- package/dist/configuration/config.json +52 -0
- package/dist/configuration/versionConfigMap.json +34 -0
- package/dist/package.json +149 -0
- package/dist/packages/admintasks/package-lock.json +21843 -0
- package/dist/packages/admintasks/package.json +56 -0
- package/dist/packages/admintasks/src/commands/createCredentialVault.d.ts +5 -0
- package/dist/packages/admintasks/src/commands/createCredentialVault.js +100 -0
- package/dist/packages/admintasks/src/commands/createCredentialVault.js.map +1 -0
- package/dist/packages/admintasks/src/commands/createSyndicationRelation.d.ts +4 -0
- package/dist/packages/admintasks/src/commands/createSyndicationRelation.js +70 -0
- package/dist/packages/admintasks/src/commands/createSyndicationRelation.js.map +1 -0
- package/dist/packages/admintasks/src/commands/createVirtualPortal.d.ts +4 -0
- package/dist/packages/admintasks/src/commands/createVirtualPortal.js +63 -0
- package/dist/packages/admintasks/src/commands/createVirtualPortal.js.map +1 -0
- package/dist/packages/admintasks/src/commands/differentialReport.d.ts +6 -0
- package/dist/packages/admintasks/src/commands/differentialReport.js +149 -0
- package/dist/packages/admintasks/src/commands/differentialReport.js.map +1 -0
- package/dist/packages/admintasks/src/commands/exportVirtualPortal.d.ts +4 -0
- package/dist/packages/admintasks/src/commands/exportVirtualPortal.js +66 -0
- package/dist/packages/admintasks/src/commands/exportVirtualPortal.js.map +1 -0
- package/dist/packages/admintasks/src/commands/exportWCMLibrary.d.ts +4 -0
- package/dist/packages/admintasks/src/commands/exportWCMLibrary.js +141 -0
- package/dist/packages/admintasks/src/commands/exportWCMLibrary.js.map +1 -0
- package/dist/packages/admintasks/src/commands/importVirtualPortal.d.ts +4 -0
- package/dist/packages/admintasks/src/commands/importVirtualPortal.js +67 -0
- package/dist/packages/admintasks/src/commands/importVirtualPortal.js.map +1 -0
- package/dist/packages/admintasks/src/commands/importWCMLibrary.d.ts +4 -0
- package/dist/packages/admintasks/src/commands/importWCMLibrary.js +112 -0
- package/dist/packages/admintasks/src/commands/importWCMLibrary.js.map +1 -0
- package/dist/packages/admintasks/src/commands/listVirtualPortals.d.ts +4 -0
- package/dist/packages/admintasks/src/commands/listVirtualPortals.js +57 -0
- package/dist/packages/admintasks/src/commands/listVirtualPortals.js.map +1 -0
- package/dist/packages/admintasks/src/commands/pznRulesExport.d.ts +4 -0
- package/dist/packages/admintasks/src/commands/pznRulesExport.js +85 -0
- package/dist/packages/admintasks/src/commands/pznRulesExport.js.map +1 -0
- package/dist/packages/admintasks/src/commands/pznRulesImport.d.ts +4 -0
- package/dist/packages/admintasks/src/commands/pznRulesImport.js +130 -0
- package/dist/packages/admintasks/src/commands/pznRulesImport.js.map +1 -0
- package/dist/packages/admintasks/src/commands/resEnvProviderActions.d.ts +4 -0
- package/dist/packages/admintasks/src/commands/resEnvProviderActions.js +179 -0
- package/dist/packages/admintasks/src/commands/resEnvProviderActions.js.map +1 -0
- package/dist/packages/admintasks/src/commands/restartCorePods.d.ts +4 -0
- package/dist/packages/admintasks/src/commands/restartCorePods.js +45 -0
- package/dist/packages/admintasks/src/commands/restartCorePods.js.map +1 -0
- package/dist/packages/admintasks/src/commands/restartDXCore.d.ts +4 -0
- package/dist/packages/admintasks/src/commands/restartDXCore.js +68 -0
- package/dist/packages/admintasks/src/commands/restartDXCore.js.map +1 -0
- package/dist/packages/admintasks/src/errors/CommandLineMessages_en.json +62 -0
- package/dist/packages/admintasks/src/messages/messages_en.json +34 -0
- package/dist/packages/admintasks/src/services/createSyndicationRelationServices.d.ts +4 -0
- package/dist/packages/admintasks/src/services/createSyndicationRelationServices.js +53 -0
- package/dist/packages/admintasks/src/services/createSyndicationRelationServices.js.map +1 -0
- package/dist/packages/admintasks/src/services/differentialReportService.d.ts +5 -0
- package/dist/packages/admintasks/src/services/differentialReportService.js +59 -0
- package/dist/packages/admintasks/src/services/differentialReportService.js.map +1 -0
- package/dist/packages/admintasks/src/services/resEnvProviderService.d.ts +9 -0
- package/dist/packages/admintasks/src/services/resEnvProviderService.js +238 -0
- package/dist/packages/admintasks/src/services/resEnvProviderService.js.map +1 -0
- package/dist/packages/admintasks/src/services/restartCorePodsService.d.ts +4 -0
- package/dist/packages/admintasks/src/services/restartCorePodsService.js +45 -0
- package/dist/packages/admintasks/src/services/restartCorePodsService.js.map +1 -0
- package/dist/packages/admintasks/src/services/restartDXCoreService.d.ts +4 -0
- package/dist/packages/admintasks/src/services/restartDXCoreService.js +82 -0
- package/dist/packages/admintasks/src/services/restartDXCoreService.js.map +1 -0
- package/dist/packages/admintasks/src/services/virtualPortalServices.d.ts +33 -0
- package/dist/packages/admintasks/src/services/virtualPortalServices.js +169 -0
- package/dist/packages/admintasks/src/services/virtualPortalServices.js.map +1 -0
- package/dist/packages/admintasks/src/utils/createCredentialVault.xml +14 -0
- package/dist/packages/admintasks/src/utils/differential-report-utils.d.ts +11 -0
- package/dist/packages/admintasks/src/utils/differential-report-utils.js +1564 -0
- package/dist/packages/admintasks/src/utils/differential-report-utils.js.map +1 -0
- package/dist/packages/admintasks/src/utils/differential-report-utils.ts +1651 -0
- package/dist/packages/admintasks/src/utils/reportAttributes.properties +179 -0
- package/dist/packages/dam/package-lock.json +14605 -0
- package/dist/packages/dam/package.json +57 -0
- package/dist/packages/dam/src/commands/createSecrets.d.ts +4 -0
- package/dist/packages/dam/src/commands/createSecrets.js +61 -0
- package/dist/packages/dam/src/commands/createSecrets.js.map +1 -0
- package/dist/packages/dam/src/commands/deleteDAMStagingMismatch.d.ts +7 -0
- package/dist/packages/dam/src/commands/deleteDAMStagingMismatch.js +50 -0
- package/dist/packages/dam/src/commands/deleteDAMStagingMismatch.js.map +1 -0
- package/dist/packages/dam/src/commands/deleteSchema.d.ts +4 -0
- package/dist/packages/dam/src/commands/deleteSchema.js +80 -0
- package/dist/packages/dam/src/commands/deleteSchema.js.map +1 -0
- package/dist/packages/dam/src/commands/exportAssets.d.ts +5 -0
- package/dist/packages/dam/src/commands/exportAssets.js +106 -0
- package/dist/packages/dam/src/commands/exportAssets.js.map +1 -0
- package/dist/packages/dam/src/commands/findDAMStagingMismatch.d.ts +7 -0
- package/dist/packages/dam/src/commands/findDAMStagingMismatch.js +53 -0
- package/dist/packages/dam/src/commands/findDAMStagingMismatch.js.map +1 -0
- package/dist/packages/dam/src/commands/importAssets.d.ts +4 -0
- package/dist/packages/dam/src/commands/importAssets.js +78 -0
- package/dist/packages/dam/src/commands/importAssets.js.map +1 -0
- package/dist/packages/dam/src/commands/listSchema.d.ts +4 -0
- package/dist/packages/dam/src/commands/listSchema.js +44 -0
- package/dist/packages/dam/src/commands/listSchema.js.map +1 -0
- package/dist/packages/dam/src/commands/stagingMismatchReport.d.ts +15 -0
- package/dist/packages/dam/src/commands/stagingMismatchReport.js +168 -0
- package/dist/packages/dam/src/commands/stagingMismatchReport.js.map +1 -0
- package/dist/packages/dam/src/commands/stagingResync.d.ts +7 -0
- package/dist/packages/dam/src/commands/stagingResync.js +53 -0
- package/dist/packages/dam/src/commands/stagingResync.js.map +1 -0
- package/dist/packages/dam/src/commands/subscriberDeRegistration.d.ts +4 -0
- package/dist/packages/dam/src/commands/subscriberDeRegistration.js +45 -0
- package/dist/packages/dam/src/commands/subscriberDeRegistration.js.map +1 -0
- package/dist/packages/dam/src/commands/subscriberDetails.d.ts +9 -0
- package/dist/packages/dam/src/commands/subscriberDetails.js +50 -0
- package/dist/packages/dam/src/commands/subscriberDetails.js.map +1 -0
- package/dist/packages/dam/src/commands/subscriberRegistration.d.ts +9 -0
- package/dist/packages/dam/src/commands/subscriberRegistration.js +62 -0
- package/dist/packages/dam/src/commands/subscriberRegistration.js.map +1 -0
- package/dist/packages/dam/src/commands/triggerDAMStaging.d.ts +4 -0
- package/dist/packages/dam/src/commands/triggerDAMStaging.js +45 -0
- package/dist/packages/dam/src/commands/triggerDAMStaging.js.map +1 -0
- package/dist/packages/dam/src/commands/triggerDamReindexing.d.ts +4 -0
- package/dist/packages/dam/src/commands/triggerDamReindexing.js +54 -0
- package/dist/packages/dam/src/commands/triggerDamReindexing.js.map +1 -0
- package/dist/packages/dam/src/commands/updateSecrets.d.ts +4 -0
- package/dist/packages/dam/src/commands/updateSecrets.js +61 -0
- package/dist/packages/dam/src/commands/updateSecrets.js.map +1 -0
- package/dist/packages/dam/src/commands/validateAssets.d.ts +4 -0
- package/dist/packages/dam/src/commands/validateAssets.js +64 -0
- package/dist/packages/dam/src/commands/validateAssets.js.map +1 -0
- package/dist/packages/dam/src/errors/CommandLineMessages_en.json +80 -0
- package/dist/packages/dam/src/export/collection.d.ts +10 -0
- package/dist/packages/dam/src/export/collection.js +291 -0
- package/dist/packages/dam/src/export/collection.js.map +1 -0
- package/dist/packages/dam/src/export/favorite.d.ts +2 -0
- package/dist/packages/dam/src/export/favorite.js +61 -0
- package/dist/packages/dam/src/export/favorite.js.map +1 -0
- package/dist/packages/dam/src/export/media-item.d.ts +6 -0
- package/dist/packages/dam/src/export/media-item.js +193 -0
- package/dist/packages/dam/src/export/media-item.js.map +1 -0
- package/dist/packages/dam/src/export/media-type-group.d.ts +2 -0
- package/dist/packages/dam/src/export/media-type-group.js +43 -0
- package/dist/packages/dam/src/export/media-type-group.js.map +1 -0
- package/dist/packages/dam/src/export/media-type.d.ts +2 -0
- package/dist/packages/dam/src/export/media-type.js +43 -0
- package/dist/packages/dam/src/export/media-type.js.map +1 -0
- package/dist/packages/dam/src/export/renditions.d.ts +8 -0
- package/dist/packages/dam/src/export/renditions.js +255 -0
- package/dist/packages/dam/src/export/renditions.js.map +1 -0
- package/dist/packages/dam/src/import/collection.d.ts +5 -0
- package/dist/packages/dam/src/import/collection.js +148 -0
- package/dist/packages/dam/src/import/collection.js.map +1 -0
- package/dist/packages/dam/src/import/favorite.d.ts +2 -0
- package/dist/packages/dam/src/import/favorite.js +65 -0
- package/dist/packages/dam/src/import/favorite.js.map +1 -0
- package/dist/packages/dam/src/import/media-items.d.ts +5 -0
- package/dist/packages/dam/src/import/media-items.js +182 -0
- package/dist/packages/dam/src/import/media-items.js.map +1 -0
- package/dist/packages/dam/src/import/media-type-group.d.ts +2 -0
- package/dist/packages/dam/src/import/media-type-group.js +68 -0
- package/dist/packages/dam/src/import/media-type-group.js.map +1 -0
- package/dist/packages/dam/src/import/media-type.d.ts +2 -0
- package/dist/packages/dam/src/import/media-type.js +71 -0
- package/dist/packages/dam/src/import/media-type.js.map +1 -0
- package/dist/packages/dam/src/import/permission.d.ts +5 -0
- package/dist/packages/dam/src/import/permission.js +96 -0
- package/dist/packages/dam/src/import/permission.js.map +1 -0
- package/dist/packages/dam/src/import/renditions.d.ts +9 -0
- package/dist/packages/dam/src/import/renditions.js +326 -0
- package/dist/packages/dam/src/import/renditions.js.map +1 -0
- package/dist/packages/dam/src/messages/messages_en.json +19 -0
- package/dist/packages/dam/src/services/authService.d.ts +5 -0
- package/dist/packages/dam/src/services/authService.js +55 -0
- package/dist/packages/dam/src/services/authService.js.map +1 -0
- package/dist/packages/dam/src/services/stagingService.d.ts +37 -0
- package/dist/packages/dam/src/services/stagingService.js +440 -0
- package/dist/packages/dam/src/services/stagingService.js.map +1 -0
- package/dist/packages/dam/src/services/tokenCache.d.ts +8 -0
- package/dist/packages/dam/src/services/tokenCache.js +68 -0
- package/dist/packages/dam/src/services/tokenCache.js.map +1 -0
- package/dist/packages/dam/src/utils/constants.d.ts +70 -0
- package/dist/packages/dam/src/utils/constants.js +76 -0
- package/dist/packages/dam/src/utils/constants.js.map +1 -0
- package/dist/packages/dam/src/utils/interfaces/collection.d.ts +46 -0
- package/dist/packages/dam/src/utils/interfaces/collection.js +3 -0
- package/dist/packages/dam/src/utils/interfaces/collection.js.map +1 -0
- package/dist/packages/dam/src/utils/interfaces/favorite-request.d.ts +6 -0
- package/dist/packages/dam/src/utils/interfaces/favorite-request.js +3 -0
- package/dist/packages/dam/src/utils/interfaces/favorite-request.js.map +1 -0
- package/dist/packages/dam/src/utils/interfaces/media-request.d.ts +54 -0
- package/dist/packages/dam/src/utils/interfaces/media-request.js +3 -0
- package/dist/packages/dam/src/utils/interfaces/media-request.js.map +1 -0
- package/dist/packages/dam/src/utils/interfaces/media-type-group.d.ts +8 -0
- package/dist/packages/dam/src/utils/interfaces/media-type-group.js +3 -0
- package/dist/packages/dam/src/utils/interfaces/media-type-group.js.map +1 -0
- package/dist/packages/dam/src/utils/interfaces/media-type.d.ts +11 -0
- package/dist/packages/dam/src/utils/interfaces/media-type.js +3 -0
- package/dist/packages/dam/src/utils/interfaces/media-type.js.map +1 -0
- package/dist/packages/dam/src/utils/interfaces/media.d.ts +118 -0
- package/dist/packages/dam/src/utils/interfaces/media.js +3 -0
- package/dist/packages/dam/src/utils/interfaces/media.js.map +1 -0
- package/dist/packages/dam/src/utils/service.d.ts +8 -0
- package/dist/packages/dam/src/utils/service.js +126 -0
- package/dist/packages/dam/src/utils/service.js.map +1 -0
- package/dist/packages/dam/src/validation/collection-list-validate.d.ts +2 -0
- package/dist/packages/dam/src/validation/collection-list-validate.js +81 -0
- package/dist/packages/dam/src/validation/collection-list-validate.js.map +1 -0
- package/dist/packages/dam/src/validation/media-list-validate.d.ts +2 -0
- package/dist/packages/dam/src/validation/media-list-validate.js +91 -0
- package/dist/packages/dam/src/validation/media-list-validate.js.map +1 -0
- package/dist/packages/dam/src/validation/media-type-group-validate.d.ts +1 -0
- package/dist/packages/dam/src/validation/media-type-group-validate.js +28 -0
- package/dist/packages/dam/src/validation/media-type-group-validate.js.map +1 -0
- package/dist/packages/dam/src/validation/media-type-validate.d.ts +1 -0
- package/dist/packages/dam/src/validation/media-type-validate.js +28 -0
- package/dist/packages/dam/src/validation/media-type-validate.js.map +1 -0
- package/dist/packages/dam/src/validation/root-validate.d.ts +1 -0
- package/dist/packages/dam/src/validation/root-validate.js +42 -0
- package/dist/packages/dam/src/validation/root-validate.js.map +1 -0
- package/dist/packages/dam/src/validation/validate.rendition.d.ts +1 -0
- package/dist/packages/dam/src/validation/validate.rendition.js +69 -0
- package/dist/packages/dam/src/validation/validate.rendition.js.map +1 -0
- package/dist/packages/dam/src/validation/validate.versions.d.ts +1 -0
- package/dist/packages/dam/src/validation/validate.versions.js +67 -0
- package/dist/packages/dam/src/validation/validate.versions.js.map +1 -0
- package/dist/packages/deployportlet/package-lock.json +20575 -0
- package/dist/packages/deployportlet/package.json +51 -0
- package/dist/packages/deployportlet/src/commands/deployPortlet.d.ts +4 -0
- package/dist/packages/deployportlet/src/commands/deployPortlet.js +99 -0
- package/dist/packages/deployportlet/src/commands/deployPortlet.js.map +1 -0
- package/dist/packages/deployportlet/src/commands/undeployPortlet.d.ts +4 -0
- package/dist/packages/deployportlet/src/commands/undeployPortlet.js +118 -0
- package/dist/packages/deployportlet/src/commands/undeployPortlet.js.map +1 -0
- package/dist/packages/deployportlet/src/commands/xmlaccess.d.ts +4 -0
- package/dist/packages/deployportlet/src/commands/xmlaccess.js +37 -0
- package/dist/packages/deployportlet/src/commands/xmlaccess.js.map +1 -0
- package/dist/packages/deployportlet/src/errors/CommandLineMessages_en.json +5 -0
- package/dist/packages/deployportlet/src/messages/messages_en.json +10 -0
- package/dist/packages/deployportlet/src/services/undeployPortletServices.d.ts +4 -0
- package/dist/packages/deployportlet/src/services/undeployPortletServices.js +92 -0
- package/dist/packages/deployportlet/src/services/undeployPortletServices.js.map +1 -0
- package/dist/packages/deployscriptapplication/package-lock.json +20758 -0
- package/dist/packages/deployscriptapplication/package.json +48 -0
- package/dist/packages/deployscriptapplication/src/commands/list.js +109 -0
- package/dist/packages/deployscriptapplication/src/commands/pull.d.ts +6 -0
- package/dist/packages/deployscriptapplication/src/commands/pull.js +195 -0
- package/dist/packages/deployscriptapplication/src/commands/pull.js.map +1 -0
- package/dist/packages/deployscriptapplication/src/commands/push.d.ts +9 -0
- package/dist/packages/deployscriptapplication/src/commands/push.js +282 -0
- package/dist/packages/deployscriptapplication/src/commands/push.js.map +1 -0
- package/dist/packages/deployscriptapplication/src/commands/restoreScriptApplication.d.ts +5 -0
- package/dist/packages/deployscriptapplication/src/commands/restoreScriptApplication.js +125 -0
- package/dist/packages/deployscriptapplication/src/commands/restoreScriptApplication.js.map +1 -0
- package/dist/packages/deployscriptapplication/src/commands/undeployScriptApplication.d.ts +5 -0
- package/dist/packages/deployscriptapplication/src/commands/undeployScriptApplication.js +162 -0
- package/dist/packages/deployscriptapplication/src/commands/undeployScriptApplication.js.map +1 -0
- package/dist/packages/deployscriptapplication/src/errors/CommandLineMessages.properties +211 -0
- package/dist/packages/deployscriptapplication/src/errors/CommandLineMessages_ar.properties +211 -0
- package/dist/packages/deployscriptapplication/src/errors/CommandLineMessages_ca.properties +211 -0
- package/dist/packages/deployscriptapplication/src/errors/CommandLineMessages_cs.properties +211 -0
- package/dist/packages/deployscriptapplication/src/errors/CommandLineMessages_da.properties +211 -0
- package/dist/packages/deployscriptapplication/src/errors/CommandLineMessages_de.properties +211 -0
- package/dist/packages/deployscriptapplication/src/errors/CommandLineMessages_el.properties +211 -0
- package/dist/packages/deployscriptapplication/src/errors/CommandLineMessages_en.json +129 -0
- package/dist/packages/deployscriptapplication/src/errors/CommandLineMessages_en.properties +211 -0
- package/dist/packages/deployscriptapplication/src/errors/CommandLineMessages_es.properties +211 -0
- package/dist/packages/deployscriptapplication/src/errors/CommandLineMessages_fi.properties +211 -0
- package/dist/packages/deployscriptapplication/src/errors/CommandLineMessages_fr.properties +211 -0
- package/dist/packages/deployscriptapplication/src/errors/CommandLineMessages_hr.properties +211 -0
- package/dist/packages/deployscriptapplication/src/errors/CommandLineMessages_hu.properties +211 -0
- package/dist/packages/deployscriptapplication/src/errors/CommandLineMessages_it.properties +212 -0
- package/dist/packages/deployscriptapplication/src/errors/CommandLineMessages_iw.properties +211 -0
- package/dist/packages/deployscriptapplication/src/errors/CommandLineMessages_ja.properties +211 -0
- package/dist/packages/deployscriptapplication/src/errors/CommandLineMessages_kk.properties +211 -0
- package/dist/packages/deployscriptapplication/src/errors/CommandLineMessages_ko.properties +211 -0
- package/dist/packages/deployscriptapplication/src/errors/CommandLineMessages_nl.properties +211 -0
- package/dist/packages/deployscriptapplication/src/errors/CommandLineMessages_no.properties +211 -0
- package/dist/packages/deployscriptapplication/src/errors/CommandLineMessages_pl.properties +211 -0
- package/dist/packages/deployscriptapplication/src/errors/CommandLineMessages_pt.properties +211 -0
- package/dist/packages/deployscriptapplication/src/errors/CommandLineMessages_pt_BR.properties +211 -0
- package/dist/packages/deployscriptapplication/src/errors/CommandLineMessages_ro.properties +211 -0
- package/dist/packages/deployscriptapplication/src/errors/CommandLineMessages_ru.properties +211 -0
- package/dist/packages/deployscriptapplication/src/errors/CommandLineMessages_sk.properties +211 -0
- package/dist/packages/deployscriptapplication/src/errors/CommandLineMessages_sl.properties +211 -0
- package/dist/packages/deployscriptapplication/src/errors/CommandLineMessages_sv.properties +211 -0
- package/dist/packages/deployscriptapplication/src/errors/CommandLineMessages_th.properties +211 -0
- package/dist/packages/deployscriptapplication/src/errors/CommandLineMessages_tr.properties +211 -0
- package/dist/packages/deployscriptapplication/src/errors/CommandLineMessages_uk.properties +211 -0
- package/dist/packages/deployscriptapplication/src/errors/CommandLineMessages_zh.properties +210 -0
- package/dist/packages/deployscriptapplication/src/errors/CommandLineMessages_zh_TW.properties +211 -0
- package/dist/packages/deployscriptapplication/src/messages/messages.properties +63 -0
- package/dist/packages/deployscriptapplication/src/messages/messages_ar.properties +63 -0
- package/dist/packages/deployscriptapplication/src/messages/messages_ca.properties +63 -0
- package/dist/packages/deployscriptapplication/src/messages/messages_cs.properties +63 -0
- package/dist/packages/deployscriptapplication/src/messages/messages_da.properties +63 -0
- package/dist/packages/deployscriptapplication/src/messages/messages_de.properties +63 -0
- package/dist/packages/deployscriptapplication/src/messages/messages_el.properties +63 -0
- package/dist/packages/deployscriptapplication/src/messages/messages_en.json +61 -0
- package/dist/packages/deployscriptapplication/src/messages/messages_en.properties +63 -0
- package/dist/packages/deployscriptapplication/src/messages/messages_es.properties +63 -0
- package/dist/packages/deployscriptapplication/src/messages/messages_fi.properties +63 -0
- package/dist/packages/deployscriptapplication/src/messages/messages_fr.properties +63 -0
- package/dist/packages/deployscriptapplication/src/messages/messages_hr.properties +63 -0
- package/dist/packages/deployscriptapplication/src/messages/messages_hu.properties +63 -0
- package/dist/packages/deployscriptapplication/src/messages/messages_it.properties +63 -0
- package/dist/packages/deployscriptapplication/src/messages/messages_iw.properties +63 -0
- package/dist/packages/deployscriptapplication/src/messages/messages_ja.properties +63 -0
- package/dist/packages/deployscriptapplication/src/messages/messages_kk.properties +63 -0
- package/dist/packages/deployscriptapplication/src/messages/messages_ko.properties +63 -0
- package/dist/packages/deployscriptapplication/src/messages/messages_nl.properties +63 -0
- package/dist/packages/deployscriptapplication/src/messages/messages_no.properties +63 -0
- package/dist/packages/deployscriptapplication/src/messages/messages_pl.properties +63 -0
- package/dist/packages/deployscriptapplication/src/messages/messages_pt.properties +63 -0
- package/dist/packages/deployscriptapplication/src/messages/messages_pt_BR.properties +63 -0
- package/dist/packages/deployscriptapplication/src/messages/messages_ro.properties +63 -0
- package/dist/packages/deployscriptapplication/src/messages/messages_ru.properties +63 -0
- package/dist/packages/deployscriptapplication/src/messages/messages_sk.properties +63 -0
- package/dist/packages/deployscriptapplication/src/messages/messages_sl.properties +63 -0
- package/dist/packages/deployscriptapplication/src/messages/messages_sv.properties +63 -0
- package/dist/packages/deployscriptapplication/src/messages/messages_th.properties +63 -0
- package/dist/packages/deployscriptapplication/src/messages/messages_tr.properties +63 -0
- package/dist/packages/deployscriptapplication/src/messages/messages_uk.properties +63 -0
- package/dist/packages/deployscriptapplication/src/messages/messages_zh.properties +67 -0
- package/dist/packages/deployscriptapplication/src/messages/messages_zh_TW.properties +67 -0
- package/dist/packages/deployscriptapplication/src/util/constants.d.ts +74 -0
- package/dist/packages/deployscriptapplication/src/util/constants.js +98 -0
- package/dist/packages/deployscriptapplication/src/util/constants.js.map +1 -0
- package/dist/packages/deployscriptapplication/src/util/generic.d.ts +2 -0
- package/dist/packages/deployscriptapplication/src/util/generic.js +29 -0
- package/dist/packages/deployscriptapplication/src/util/generic.js.map +1 -0
- package/dist/packages/deploytheme/package-lock.json +21204 -0
- package/dist/packages/deploytheme/package.json +56 -0
- package/dist/packages/deploytheme/src/commands/deployApplication.d.ts +4 -0
- package/dist/packages/deploytheme/src/commands/deployApplication.js +115 -0
- package/dist/packages/deploytheme/src/commands/deployApplication.js.map +1 -0
- package/dist/packages/deploytheme/src/commands/deployTheme.d.ts +7 -0
- package/dist/packages/deploytheme/src/commands/deployTheme.js +286 -0
- package/dist/packages/deploytheme/src/commands/deployTheme.js.map +1 -0
- package/dist/packages/deploytheme/src/commands/undeployApplication.d.ts +4 -0
- package/dist/packages/deploytheme/src/commands/undeployApplication.js +46 -0
- package/dist/packages/deploytheme/src/commands/undeployApplication.js.map +1 -0
- package/dist/packages/deploytheme/src/commands/undeployTheme.d.ts +10 -0
- package/dist/packages/deploytheme/src/commands/undeployTheme.js +288 -0
- package/dist/packages/deploytheme/src/commands/undeployTheme.js.map +1 -0
- package/dist/packages/deploytheme/src/errors/CommandLineMessages_en.json +28 -0
- package/dist/packages/deploytheme/src/messages/messages_en.json +30 -0
- package/dist/packages/deploytheme/src/services/themeServices.d.ts +15 -0
- package/dist/packages/deploytheme/src/services/themeServices.js +413 -0
- package/dist/packages/deploytheme/src/services/themeServices.js.map +1 -0
- package/dist/packages/deploytheme/src/utils/Export.xml +28 -0
- package/dist/packages/livesync/package-lock.json +9737 -0
- package/dist/packages/livesync/package.json +49 -0
- package/dist/packages/livesync/src/commands/pullTheme.d.ts +5 -0
- package/dist/packages/livesync/src/commands/pullTheme.js +104 -0
- package/dist/packages/livesync/src/commands/pullTheme.js.map +1 -0
- package/dist/packages/livesync/src/commands/pullWcmDesignLibrary.d.ts +18 -0
- package/dist/packages/livesync/src/commands/pullWcmDesignLibrary.js +193 -0
- package/dist/packages/livesync/src/commands/pullWcmDesignLibrary.js.map +1 -0
- package/dist/packages/livesync/src/commands/pushTheme.d.ts +12 -0
- package/dist/packages/livesync/src/commands/pushTheme.js +233 -0
- package/dist/packages/livesync/src/commands/pushTheme.js.map +1 -0
- package/dist/packages/livesync/src/commands/pushWcmDesignLibrary.d.ts +4 -0
- package/dist/packages/livesync/src/commands/pushWcmDesignLibrary.js +23 -0
- package/dist/packages/livesync/src/commands/pushWcmDesignLibrary.js.map +1 -0
- package/dist/packages/livesync/src/errors/CommandLineMessages_en.json +52 -0
- package/dist/packages/livesync/src/messages/messages_en.json +33 -0
- package/dist/packages/livesync/src/services/EventsQueue.d.ts +12 -0
- package/dist/packages/livesync/src/services/EventsQueue.js +66 -0
- package/dist/packages/livesync/src/services/EventsQueue.js.map +1 -0
- package/dist/packages/livesync/src/services/foldersWcmServices.d.ts +7 -0
- package/dist/packages/livesync/src/services/foldersWcmServices.js +120 -0
- package/dist/packages/livesync/src/services/foldersWcmServices.js.map +1 -0
- package/dist/packages/livesync/src/services/htmlComponentWcmServices.d.ts +6 -0
- package/dist/packages/livesync/src/services/htmlComponentWcmServices.js +108 -0
- package/dist/packages/livesync/src/services/htmlComponentWcmServices.js.map +1 -0
- package/dist/packages/livesync/src/services/initialSyncServices.d.ts +3 -0
- package/dist/packages/livesync/src/services/initialSyncServices.js +94 -0
- package/dist/packages/livesync/src/services/initialSyncServices.js.map +1 -0
- package/dist/packages/livesync/src/services/livesyncUtils.d.ts +2 -0
- package/dist/packages/livesync/src/services/livesyncUtils.js +59 -0
- package/dist/packages/livesync/src/services/livesyncUtils.js.map +1 -0
- package/dist/packages/livesync/src/services/metadataServices.d.ts +16 -0
- package/dist/packages/livesync/src/services/metadataServices.js +117 -0
- package/dist/packages/livesync/src/services/metadataServices.js.map +1 -0
- package/dist/packages/livesync/src/services/ongoingSyncServices.d.ts +10 -0
- package/dist/packages/livesync/src/services/ongoingSyncServices.js +266 -0
- package/dist/packages/livesync/src/services/ongoingSyncServices.js.map +1 -0
- package/dist/packages/livesync/src/services/wcmRestV2Services.d.ts +5 -0
- package/dist/packages/livesync/src/services/wcmRestV2Services.js +92 -0
- package/dist/packages/livesync/src/services/wcmRestV2Services.js.map +1 -0
- package/dist/packages/livesync/src/types/EventHandler.type.d.ts +5 -0
- package/dist/packages/livesync/src/types/EventHandler.type.js +3 -0
- package/dist/packages/livesync/src/types/EventHandler.type.js.map +1 -0
- package/dist/packages/livesync/src/types/EventQueueItem.type.d.ts +7 -0
- package/dist/packages/livesync/src/types/EventQueueItem.type.js +3 -0
- package/dist/packages/livesync/src/types/EventQueueItem.type.js.map +1 -0
- package/dist/packages/livesync/src/types/OngoingSyncHooks.type.d.ts +4 -0
- package/dist/packages/livesync/src/types/OngoingSyncHooks.type.js +3 -0
- package/dist/packages/livesync/src/types/OngoingSyncHooks.type.js.map +1 -0
- package/dist/packages/livesync/src/types/WcmRestApiV2.type.d.ts +99 -0
- package/dist/packages/livesync/src/types/WcmRestApiV2.type.js +3 -0
- package/dist/packages/livesync/src/types/WcmRestApiV2.type.js.map +1 -0
- package/dist/packages/livesync/src/types/index.d.ts +4 -0
- package/dist/packages/livesync/src/types/index.js +17 -0
- package/dist/packages/livesync/src/types/index.js.map +1 -0
- package/dist/packages/mls_exim/package-lock.json +13855 -0
- package/dist/packages/mls_exim/package.json +51 -0
- package/dist/packages/mls_exim/src/errors/CommandLineMessages_en.json +19 -0
- package/dist/packages/mls_exim/src/export/mlsExport.d.ts +7 -0
- package/dist/packages/mls_exim/src/export/mlsExport.js +292 -0
- package/dist/packages/mls_exim/src/export/mlsExport.js.map +1 -0
- package/dist/packages/mls_exim/src/export/mlsExport.ts +371 -0
- package/dist/packages/mls_exim/src/import/mlsImport.d.ts +8 -0
- package/dist/packages/mls_exim/src/import/mlsImport.js +104 -0
- package/dist/packages/mls_exim/src/import/mlsImport.js.map +1 -0
- package/dist/packages/mls_exim/src/import/mlsImport.ts +138 -0
- package/dist/packages/mls_exim/src/messages/messages_en.json +14 -0
- package/dist/packages/mls_exim/src/utils/interfaces/export.d.ts +133 -0
- package/dist/packages/mls_exim/src/utils/interfaces/export.js +3 -0
- package/dist/packages/mls_exim/src/utils/interfaces/export.js.map +1 -0
- package/dist/packages/mls_exim/src/utils/interfaces/export.ts +165 -0
- package/dist/packages/mls_exim/src/utils/interfaces/import.d.ts +52 -0
- package/dist/packages/mls_exim/src/utils/interfaces/import.js +3 -0
- package/dist/packages/mls_exim/src/utils/interfaces/import.js.map +1 -0
- package/dist/packages/mls_exim/src/utils/interfaces/import.ts +76 -0
- package/dist/packages/sharedlibrary/package-lock.json +20575 -0
- package/dist/packages/sharedlibrary/package.json +51 -0
- package/dist/packages/sharedlibrary/src/commands/delete.d.ts +4 -0
- package/dist/packages/sharedlibrary/src/commands/delete.js +64 -0
- package/dist/packages/sharedlibrary/src/commands/delete.js.map +1 -0
- package/dist/packages/sharedlibrary/src/commands/upload.d.ts +4 -0
- package/dist/packages/sharedlibrary/src/commands/upload.js +105 -0
- package/dist/packages/sharedlibrary/src/commands/upload.js.map +1 -0
- package/dist/packages/sharedlibrary/src/errors/CommandLineMessages_en.json +10 -0
- package/dist/packages/sharedlibrary/src/messages/messages_en.json +7 -0
- package/dist/packages/sharedlibrary/src/services/sharedLibraryServices.d.ts +5 -0
- package/dist/packages/sharedlibrary/src/services/sharedLibraryServices.js +100 -0
- package/dist/packages/sharedlibrary/src/services/sharedLibraryServices.js.map +1 -0
- package/dist/packages/syndication/package-lock.json +20575 -0
- package/dist/packages/syndication/package.json +51 -0
- package/dist/packages/syndication/src/commands/subscriber.d.ts +4 -0
- package/dist/packages/syndication/src/commands/subscriber.js +62 -0
- package/dist/packages/syndication/src/commands/subscriber.js.map +1 -0
- package/dist/packages/syndication/src/commands/syndicationReport.d.ts +2 -0
- package/dist/packages/syndication/src/commands/syndicationReport.js +99 -0
- package/dist/packages/syndication/src/commands/syndicationReport.js.map +1 -0
- package/dist/packages/syndication/src/commands/syndicator.d.ts +4 -0
- package/dist/packages/syndication/src/commands/syndicator.js +62 -0
- package/dist/packages/syndication/src/commands/syndicator.js.map +1 -0
- package/dist/packages/syndication/src/commands/syndicatorFailedItem.d.ts +4 -0
- package/dist/packages/syndication/src/commands/syndicatorFailedItem.js +104 -0
- package/dist/packages/syndication/src/commands/syndicatorFailedItem.js.map +1 -0
- package/dist/packages/syndication/src/errors/CommandLineMessages_en.json +12 -0
- package/dist/packages/syndication/src/messages/messages_en.json +9 -0
- package/dist/packages/syndication/src/services/syndicationService.d.ts +108 -0
- package/dist/packages/syndication/src/services/syndicationService.js +167 -0
- package/dist/packages/syndication/src/services/syndicationService.js.map +1 -0
- package/dist/src/errors/CommandLineMessages_en.json +53 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.js +2207 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/services/apiServices.d.ts +32 -0
- package/dist/src/services/apiServices.js +932 -0
- package/dist/src/services/apiServices.js.map +1 -0
- package/dist/src/services/filesServices.d.ts +9 -0
- package/dist/src/services/filesServices.js +134 -0
- package/dist/src/services/filesServices.js.map +1 -0
- package/dist/src/services/requestService.d.ts +4 -0
- package/dist/src/services/requestService.js +55 -0
- package/dist/src/services/requestService.js.map +1 -0
- package/dist/src/utils/commands.d.ts +2 -0
- package/dist/src/utils/commands.js +13 -0
- package/dist/src/utils/commands.js.map +1 -0
- package/dist/src/utils/constants.d.ts +389 -0
- package/dist/src/utils/constants.js +464 -0
- package/dist/src/utils/constants.js.map +1 -0
- package/dist/src/utils/interfaces.d.ts +19 -0
- package/dist/src/utils/interfaces.js +3 -0
- package/dist/src/utils/interfaces.js.map +1 -0
- package/dist/src/utils/logger.d.ts +3 -0
- package/dist/src/utils/logger.js +126 -0
- package/dist/src/utils/logger.js.map +1 -0
- package/dist/src/utils/utils.d.ts +31 -0
- package/dist/src/utils/utils.js +791 -0
- package/dist/src/utils/utils.js.map +1 -0
- package/dist/src/utils/validateOptions.d.ts +4 -0
- package/dist/src/utils/validateOptions.js +730 -0
- package/dist/src/utils/validateOptions.js.map +1 -0
- package/package.json +149 -0
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
export interface IWCMUserType {
|
|
2
|
+
distinguishedName: string;
|
|
3
|
+
uri?: string;
|
|
4
|
+
name: string;
|
|
5
|
+
}
|
|
6
|
+
export interface IFormattedLink {
|
|
7
|
+
[key: string]: {
|
|
8
|
+
href: string;
|
|
9
|
+
lang?: string;
|
|
10
|
+
label?: string;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
export interface IFormattedPath {
|
|
14
|
+
id: string;
|
|
15
|
+
type?: string;
|
|
16
|
+
name: string;
|
|
17
|
+
title: {
|
|
18
|
+
lang?: string;
|
|
19
|
+
value: string;
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
export interface IFormattedCategory {
|
|
23
|
+
[key: string]: {
|
|
24
|
+
term: string;
|
|
25
|
+
lang?: string;
|
|
26
|
+
label?: string;
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
export interface IWebContentSearch {
|
|
30
|
+
id: string;
|
|
31
|
+
title: {
|
|
32
|
+
lang?: string;
|
|
33
|
+
value: string;
|
|
34
|
+
};
|
|
35
|
+
summary?: {
|
|
36
|
+
lang?: string;
|
|
37
|
+
value: string;
|
|
38
|
+
};
|
|
39
|
+
name: string;
|
|
40
|
+
type: string;
|
|
41
|
+
updated: string;
|
|
42
|
+
published?: string;
|
|
43
|
+
created?: string;
|
|
44
|
+
author?: IWCMUserType[];
|
|
45
|
+
owner?: IWCMUserType[];
|
|
46
|
+
lastModifier: IWCMUserType;
|
|
47
|
+
creator?: IWCMUserType;
|
|
48
|
+
profile?: {
|
|
49
|
+
keyword?: string[];
|
|
50
|
+
category?: string[];
|
|
51
|
+
};
|
|
52
|
+
workflow?: {
|
|
53
|
+
publishDate: string;
|
|
54
|
+
};
|
|
55
|
+
links?: IFormattedLink;
|
|
56
|
+
path?: IFormattedPath[];
|
|
57
|
+
categories?: IFormattedCategory;
|
|
58
|
+
content?: Object;
|
|
59
|
+
elements?: Object[];
|
|
60
|
+
properties?: Object;
|
|
61
|
+
}
|
|
62
|
+
export interface ElementProperties {
|
|
63
|
+
key?: string;
|
|
64
|
+
value?: string;
|
|
65
|
+
}
|
|
66
|
+
export interface IMLSTranslationItem {
|
|
67
|
+
description: {
|
|
68
|
+
lang: string;
|
|
69
|
+
value: string;
|
|
70
|
+
};
|
|
71
|
+
title: {
|
|
72
|
+
lang: string;
|
|
73
|
+
value: string;
|
|
74
|
+
};
|
|
75
|
+
elements: {
|
|
76
|
+
element?: {
|
|
77
|
+
name: string;
|
|
78
|
+
title: {
|
|
79
|
+
lang: string;
|
|
80
|
+
value: string;
|
|
81
|
+
};
|
|
82
|
+
type: string;
|
|
83
|
+
data: {
|
|
84
|
+
type: string;
|
|
85
|
+
PropertiesContent?: {
|
|
86
|
+
type?: string;
|
|
87
|
+
properties?: ElementProperties[];
|
|
88
|
+
content?: {
|
|
89
|
+
type: string;
|
|
90
|
+
value: string;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
}[];
|
|
95
|
+
};
|
|
96
|
+
uuid: string;
|
|
97
|
+
locale: string;
|
|
98
|
+
updated: string;
|
|
99
|
+
created: string;
|
|
100
|
+
}
|
|
101
|
+
export interface IMLSTranslatedItems {
|
|
102
|
+
source_content: IMLSTranslationItem;
|
|
103
|
+
translated_content?: IMLSTranslationItem[];
|
|
104
|
+
}
|
|
105
|
+
export interface IMLSTranslations {
|
|
106
|
+
source_language: string;
|
|
107
|
+
translated_language: string[];
|
|
108
|
+
translated_items: IMLSTranslatedItems[];
|
|
109
|
+
}
|
|
110
|
+
export interface ICSVFileContents {
|
|
111
|
+
source: string;
|
|
112
|
+
target: string;
|
|
113
|
+
sourceUUID: string;
|
|
114
|
+
targetUUID: string;
|
|
115
|
+
sourceLanguage: string;
|
|
116
|
+
targetLanguage: string;
|
|
117
|
+
field: string;
|
|
118
|
+
type: string;
|
|
119
|
+
wcmType: string;
|
|
120
|
+
componentType: string;
|
|
121
|
+
fieldLimit: string;
|
|
122
|
+
previewLink: string;
|
|
123
|
+
lastModifiedOfSource: string;
|
|
124
|
+
lastModifiedOfTarget: string;
|
|
125
|
+
}
|
|
126
|
+
export interface IWCMLibrary {
|
|
127
|
+
id?: string;
|
|
128
|
+
name?: string;
|
|
129
|
+
}
|
|
130
|
+
export interface IContentIdLanguage {
|
|
131
|
+
contentId: string;
|
|
132
|
+
lang: string;
|
|
133
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"export.js","sourceRoot":"","sources":["../../../../../../packages/mls_exim/src/utils/interfaces/export.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
/*
|
|
2
|
+
********************************************************************
|
|
3
|
+
* Licensed Materials - Property of HCL *
|
|
4
|
+
* *
|
|
5
|
+
* Copyright HCL Technologies Ltd. 2021. All Rights Reserved. *
|
|
6
|
+
* *
|
|
7
|
+
* Note to US Government Users Restricted Rights: *
|
|
8
|
+
* *
|
|
9
|
+
* Use, duplication or disclosure restricted by GSA ADP Schedule *
|
|
10
|
+
********************************************************************
|
|
11
|
+
*/
|
|
12
|
+
export interface IWCMUserType {
|
|
13
|
+
distinguishedName: string,
|
|
14
|
+
uri?: string,
|
|
15
|
+
name: string,
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface IFormattedLink {
|
|
19
|
+
[key: string]: {
|
|
20
|
+
href: string,
|
|
21
|
+
lang?: string,
|
|
22
|
+
label?: string
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export interface IFormattedPath {
|
|
27
|
+
id: string,
|
|
28
|
+
type?: string,
|
|
29
|
+
name: string,
|
|
30
|
+
title: {
|
|
31
|
+
lang?: string,
|
|
32
|
+
value: string,
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export interface IFormattedCategory {
|
|
37
|
+
[key: string]: {
|
|
38
|
+
term: string,
|
|
39
|
+
lang?: string,
|
|
40
|
+
label?: string,
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export interface IWebContentSearch {
|
|
45
|
+
id: string,
|
|
46
|
+
title: {
|
|
47
|
+
lang?: string,
|
|
48
|
+
value: string,
|
|
49
|
+
},
|
|
50
|
+
summary?: {
|
|
51
|
+
lang?: string,
|
|
52
|
+
value: string,
|
|
53
|
+
},
|
|
54
|
+
name: string,
|
|
55
|
+
type: string,
|
|
56
|
+
updated: string,
|
|
57
|
+
published?: string,
|
|
58
|
+
created?: string,
|
|
59
|
+
author?: IWCMUserType[],
|
|
60
|
+
owner?: IWCMUserType[],
|
|
61
|
+
lastModifier: IWCMUserType,
|
|
62
|
+
creator?: IWCMUserType,
|
|
63
|
+
profile?: {
|
|
64
|
+
keyword?: string[],
|
|
65
|
+
category?: string[]
|
|
66
|
+
},
|
|
67
|
+
workflow?: {
|
|
68
|
+
publishDate: string,
|
|
69
|
+
},
|
|
70
|
+
links?: IFormattedLink,
|
|
71
|
+
path?: IFormattedPath[],
|
|
72
|
+
categories?: IFormattedCategory,
|
|
73
|
+
content?: Object,
|
|
74
|
+
elements?: Object[],
|
|
75
|
+
properties?: Object,
|
|
76
|
+
}
|
|
77
|
+
export interface ElementProperties {
|
|
78
|
+
key?: string,
|
|
79
|
+
value?: string,
|
|
80
|
+
}
|
|
81
|
+
export interface IMLSTranslationItem {
|
|
82
|
+
description: {
|
|
83
|
+
lang: string,
|
|
84
|
+
value: string
|
|
85
|
+
},
|
|
86
|
+
title: {
|
|
87
|
+
lang: string,
|
|
88
|
+
value: string
|
|
89
|
+
},
|
|
90
|
+
elements:
|
|
91
|
+
{
|
|
92
|
+
element?:
|
|
93
|
+
{
|
|
94
|
+
name: string,
|
|
95
|
+
title:
|
|
96
|
+
{
|
|
97
|
+
lang: string,
|
|
98
|
+
value: string
|
|
99
|
+
},
|
|
100
|
+
type: string,
|
|
101
|
+
data:{
|
|
102
|
+
type: string,
|
|
103
|
+
PropertiesContent?: {
|
|
104
|
+
type?: string,
|
|
105
|
+
properties?: ElementProperties[],
|
|
106
|
+
content?:{
|
|
107
|
+
type: string,
|
|
108
|
+
value: string
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
}
|
|
112
|
+
}[]
|
|
113
|
+
},
|
|
114
|
+
uuid: string,
|
|
115
|
+
locale: string,
|
|
116
|
+
updated: string,
|
|
117
|
+
created: string,
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
export interface IMLSTranslatedItems {
|
|
121
|
+
// eslint-why: DX returns response with this key
|
|
122
|
+
// eslint-disable-next-line camelcase
|
|
123
|
+
source_content: IMLSTranslationItem,
|
|
124
|
+
// eslint-why: DX returns response with this key
|
|
125
|
+
// eslint-disable-next-line camelcase
|
|
126
|
+
translated_content?: IMLSTranslationItem[]
|
|
127
|
+
}
|
|
128
|
+
export interface IMLSTranslations {
|
|
129
|
+
// eslint-why: DX returns response with this key
|
|
130
|
+
// eslint-disable-next-line camelcase
|
|
131
|
+
source_language: string,
|
|
132
|
+
// eslint-why: DX returns response with this key
|
|
133
|
+
// eslint-disable-next-line camelcase
|
|
134
|
+
translated_language: string[],
|
|
135
|
+
// eslint-why: DX returns response with this key
|
|
136
|
+
// eslint-disable-next-line camelcase
|
|
137
|
+
translated_items: IMLSTranslatedItems[]
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
export interface ICSVFileContents {
|
|
141
|
+
source: string,
|
|
142
|
+
target: string,
|
|
143
|
+
sourceUUID: string,
|
|
144
|
+
targetUUID: string,
|
|
145
|
+
sourceLanguage: string,
|
|
146
|
+
targetLanguage: string,
|
|
147
|
+
field: string,
|
|
148
|
+
type: string,
|
|
149
|
+
wcmType: string,
|
|
150
|
+
componentType: string,
|
|
151
|
+
fieldLimit: string,
|
|
152
|
+
previewLink: string,
|
|
153
|
+
lastModifiedOfSource: string,
|
|
154
|
+
lastModifiedOfTarget: string,
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
export interface IWCMLibrary {
|
|
158
|
+
id?: string;
|
|
159
|
+
name?: string;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
export interface IContentIdLanguage {
|
|
163
|
+
contentId: string;
|
|
164
|
+
lang: string;
|
|
165
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export interface ICSVFileContents {
|
|
2
|
+
source: string;
|
|
3
|
+
target: string;
|
|
4
|
+
sourceUUID: string;
|
|
5
|
+
targetUUID: string;
|
|
6
|
+
sourceLanguage: string;
|
|
7
|
+
targetLanguage: string;
|
|
8
|
+
field: string;
|
|
9
|
+
type: string;
|
|
10
|
+
componentType: string;
|
|
11
|
+
wcmType: string;
|
|
12
|
+
fieldLimit: string;
|
|
13
|
+
previewLink: string;
|
|
14
|
+
lastModifiedOfSource: string;
|
|
15
|
+
lastModifiedOfTarget: string;
|
|
16
|
+
}
|
|
17
|
+
export interface IElementsData {
|
|
18
|
+
name: string;
|
|
19
|
+
type: string;
|
|
20
|
+
data: {
|
|
21
|
+
type: string;
|
|
22
|
+
value: string;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
export interface ITargetData {
|
|
26
|
+
title: {
|
|
27
|
+
lang: string;
|
|
28
|
+
value: string;
|
|
29
|
+
};
|
|
30
|
+
description: {
|
|
31
|
+
lang: string;
|
|
32
|
+
value: string;
|
|
33
|
+
};
|
|
34
|
+
elements: {
|
|
35
|
+
element: IElementsData[];
|
|
36
|
+
};
|
|
37
|
+
uuid: string;
|
|
38
|
+
locale: string;
|
|
39
|
+
}
|
|
40
|
+
interface ITargetItemsData {
|
|
41
|
+
translated_content: ITargetData[];
|
|
42
|
+
}
|
|
43
|
+
export interface IImportRequestData {
|
|
44
|
+
entry: {
|
|
45
|
+
content: {
|
|
46
|
+
data: {
|
|
47
|
+
translated_items: ITargetItemsData[];
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"import.js","sourceRoot":"","sources":["../../../../../../packages/mls_exim/src/utils/interfaces/import.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/*
|
|
2
|
+
********************************************************************
|
|
3
|
+
* Licensed Materials - Property of HCL *
|
|
4
|
+
* *
|
|
5
|
+
* Copyright HCL Technologies Ltd. 2021. All Rights Reserved. *
|
|
6
|
+
* *
|
|
7
|
+
* Note to US Government Users Restricted Rights: *
|
|
8
|
+
* *
|
|
9
|
+
* Use, duplication or disclosure restricted by GSA ADP Schedule *
|
|
10
|
+
********************************************************************
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
// Interface for CSV file contents
|
|
14
|
+
export interface ICSVFileContents {
|
|
15
|
+
source: string,
|
|
16
|
+
target: string,
|
|
17
|
+
sourceUUID: string,
|
|
18
|
+
targetUUID: string,
|
|
19
|
+
sourceLanguage: string,
|
|
20
|
+
targetLanguage: string,
|
|
21
|
+
field: string,
|
|
22
|
+
type: string,
|
|
23
|
+
componentType: string,
|
|
24
|
+
wcmType: string,
|
|
25
|
+
fieldLimit: string,
|
|
26
|
+
previewLink: string,
|
|
27
|
+
lastModifiedOfSource: string,
|
|
28
|
+
lastModifiedOfTarget: string,
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
// Interface for content elements data
|
|
32
|
+
export interface IElementsData {
|
|
33
|
+
name: string,
|
|
34
|
+
type: string,
|
|
35
|
+
data: {
|
|
36
|
+
type: string,
|
|
37
|
+
value: string,
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
// Interface for target elements data
|
|
42
|
+
export interface ITargetData {
|
|
43
|
+
title: {
|
|
44
|
+
lang: string,
|
|
45
|
+
value: string
|
|
46
|
+
},
|
|
47
|
+
description: {
|
|
48
|
+
lang: string,
|
|
49
|
+
value: string
|
|
50
|
+
},
|
|
51
|
+
elements: {
|
|
52
|
+
element: IElementsData[],
|
|
53
|
+
},
|
|
54
|
+
uuid: string,
|
|
55
|
+
locale: string,
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
// Interface for target items data
|
|
59
|
+
interface ITargetItemsData {
|
|
60
|
+
// eslint-why: DX expected request with this key
|
|
61
|
+
// eslint-disable-next-line camelcase
|
|
62
|
+
translated_content: ITargetData[],
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
// Interface for request data of import
|
|
66
|
+
export interface IImportRequestData {
|
|
67
|
+
entry: {
|
|
68
|
+
content: {
|
|
69
|
+
data: {
|
|
70
|
+
// eslint-why: DX expected request with this key
|
|
71
|
+
// eslint-disable-next-line camelcase
|
|
72
|
+
translated_items: ITargetItemsData[],
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|