@salesforce/plugin-omnistudio-migration-tool 2.0.0-beta.7 → 2.0.0-rc.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (147) hide show
  1. package/README.md +116 -20
  2. package/lib/commands/omnistudio/migration/assess.d.ts +1 -1
  3. package/lib/commands/omnistudio/migration/assess.js +46 -96
  4. package/lib/commands/omnistudio/migration/assess.js.map +1 -1
  5. package/lib/commands/omnistudio/migration/info.js +2 -3
  6. package/lib/commands/omnistudio/migration/info.js.map +1 -1
  7. package/lib/commands/omnistudio/migration/migrate.d.ts +3 -1
  8. package/lib/commands/omnistudio/migration/migrate.js +126 -42
  9. package/lib/commands/omnistudio/migration/migrate.js.map +1 -1
  10. package/lib/error/errorInterfaces.d.ts +14 -0
  11. package/lib/error/errorInterfaces.js +27 -0
  12. package/lib/error/errorInterfaces.js.map +1 -0
  13. package/lib/javascripts/reportGeneratorUtility.js +1 -3
  14. package/lib/mappings/GlobalAutoNumber.d.ts +10 -0
  15. package/lib/mappings/GlobalAutoNumber.js +14 -0
  16. package/lib/mappings/GlobalAutoNumber.js.map +1 -0
  17. package/lib/migration/base.d.ts +5 -4
  18. package/lib/migration/base.js +28 -7
  19. package/lib/migration/base.js.map +1 -1
  20. package/lib/migration/dataraptor.js +26 -11
  21. package/lib/migration/dataraptor.js.map +1 -1
  22. package/lib/migration/flexcard.d.ts +3 -0
  23. package/lib/migration/flexcard.js +161 -35
  24. package/lib/migration/flexcard.js.map +1 -1
  25. package/lib/migration/globalautonumber.d.ts +60 -0
  26. package/lib/migration/globalautonumber.js +318 -0
  27. package/lib/migration/globalautonumber.js.map +1 -0
  28. package/lib/migration/interfaces.d.ts +89 -0
  29. package/lib/migration/interfaces.js +7 -0
  30. package/lib/migration/interfaces.js.map +1 -1
  31. package/lib/migration/omniscript.d.ts +3 -0
  32. package/lib/migration/omniscript.js +204 -33
  33. package/lib/migration/omniscript.js.map +1 -1
  34. package/lib/migration/postMigrate.d.ts +13 -0
  35. package/lib/migration/postMigrate.js +58 -0
  36. package/lib/migration/postMigrate.js.map +1 -0
  37. package/lib/migration/premigrate.d.ts +12 -0
  38. package/lib/migration/premigrate.js +75 -0
  39. package/lib/migration/premigrate.js.map +1 -0
  40. package/lib/migration/related/ApexMigration.js +23 -15
  41. package/lib/migration/related/ApexMigration.js.map +1 -1
  42. package/lib/migration/related/ExperienceSiteMigration.d.ts +25 -0
  43. package/lib/migration/related/ExperienceSiteMigration.js +286 -0
  44. package/lib/migration/related/ExperienceSiteMigration.js.map +1 -0
  45. package/lib/migration/related/FlexipageMigration.d.ts +84 -0
  46. package/lib/migration/related/FlexipageMigration.js +215 -0
  47. package/lib/migration/related/FlexipageMigration.js.map +1 -0
  48. package/lib/migration/related/LwcMigration.js +13 -13
  49. package/lib/migration/related/LwcMigration.js.map +1 -1
  50. package/lib/migration/related/OmnistudioRelatedObjectMigrationFacade.d.ts +4 -0
  51. package/lib/migration/related/OmnistudioRelatedObjectMigrationFacade.js +34 -27
  52. package/lib/migration/related/OmnistudioRelatedObjectMigrationFacade.js.map +1 -1
  53. package/lib/styles/reportGenerator.css +46 -7
  54. package/lib/templates/assessmentReport.template +53 -33
  55. package/lib/templates/dashboard.template +22 -2
  56. package/lib/templates/migrationReport.template +37 -27
  57. package/lib/utils/OmniGlobalAutoNumberPrefManager.d.ts +40 -0
  58. package/lib/utils/OmniGlobalAutoNumberPrefManager.js +65 -0
  59. package/lib/utils/OmniGlobalAutoNumberPrefManager.js.map +1 -0
  60. package/lib/utils/XMLUtil.d.ts +34 -0
  61. package/lib/utils/XMLUtil.js +171 -0
  62. package/lib/utils/XMLUtil.js.map +1 -0
  63. package/lib/utils/constants/{callToActionMessages.d.ts → documentRegistry.d.ts} +2 -1
  64. package/lib/utils/constants/{callToActionMessages.js → documentRegistry.js} +6 -5
  65. package/lib/utils/constants/documentRegistry.js.map +1 -0
  66. package/lib/utils/constants/stringContants.d.ts +8 -0
  67. package/lib/utils/constants/stringContants.js +8 -0
  68. package/lib/utils/constants/stringContants.js.map +1 -1
  69. package/lib/utils/file/fileUtil.d.ts +3 -0
  70. package/lib/utils/file/fileUtil.js +36 -0
  71. package/lib/utils/file/fileUtil.js.map +1 -1
  72. package/lib/utils/flexipage/flexiPageTransformer.d.ts +17 -0
  73. package/lib/utils/flexipage/flexiPageTransformer.js +138 -0
  74. package/lib/utils/flexipage/flexiPageTransformer.js.map +1 -0
  75. package/lib/utils/generatePackageXml.d.ts +4 -2
  76. package/lib/utils/generatePackageXml.js +23 -1
  77. package/lib/utils/generatePackageXml.js.map +1 -1
  78. package/lib/utils/interfaces.d.ts +71 -0
  79. package/lib/utils/logger.d.ts +2 -2
  80. package/lib/utils/logger.js +4 -3
  81. package/lib/utils/logger.js.map +1 -1
  82. package/lib/utils/lwcparser/fileutils/FileDiffUtil.d.ts +2 -1
  83. package/lib/utils/lwcparser/fileutils/FileDiffUtil.js +92 -47
  84. package/lib/utils/lwcparser/fileutils/FileDiffUtil.js.map +1 -1
  85. package/lib/utils/lwcparser/jsParser/JavaScriptParser.js +1 -1
  86. package/lib/utils/lwcparser/jsParser/JavaScriptParser.js.map +1 -1
  87. package/lib/utils/lwcparser/xmlParser/XmlParser.js +1 -1
  88. package/lib/utils/lwcparser/xmlParser/XmlParser.js.map +1 -1
  89. package/lib/utils/net/index.js +13 -16
  90. package/lib/utils/net/index.js.map +1 -1
  91. package/lib/utils/orgPreferences.d.ts +23 -0
  92. package/lib/utils/orgPreferences.js +73 -0
  93. package/lib/utils/orgPreferences.js.map +1 -1
  94. package/lib/utils/orgUtils/index.js +1 -2
  95. package/lib/utils/orgUtils/index.js.map +1 -1
  96. package/lib/utils/projectPathUtil.d.ts +39 -0
  97. package/lib/utils/projectPathUtil.js +173 -0
  98. package/lib/utils/projectPathUtil.js.map +1 -0
  99. package/lib/utils/promptUtil.d.ts +2 -0
  100. package/lib/utils/promptUtil.js +26 -1
  101. package/lib/utils/promptUtil.js.map +1 -1
  102. package/lib/utils/reportGenerator/reportInterfaces.d.ts +3 -0
  103. package/lib/utils/reportGenerator/reportUtil.d.ts +1 -1
  104. package/lib/utils/reportGenerator/reportUtil.js +5 -1
  105. package/lib/utils/reportGenerator/reportUtil.js.map +1 -1
  106. package/lib/utils/resultsbuilder/ApexAssessmentReporter.js +24 -10
  107. package/lib/utils/resultsbuilder/ApexAssessmentReporter.js.map +1 -1
  108. package/lib/utils/resultsbuilder/DRAssessmentReporter.js +34 -11
  109. package/lib/utils/resultsbuilder/DRAssessmentReporter.js.map +1 -1
  110. package/lib/utils/resultsbuilder/ExperienceSiteAssessmentReporter.d.ts +12 -0
  111. package/lib/utils/resultsbuilder/ExperienceSiteAssessmentReporter.js +93 -0
  112. package/lib/utils/resultsbuilder/ExperienceSiteAssessmentReporter.js.map +1 -0
  113. package/lib/utils/resultsbuilder/FlexcardAssessmentReporter.js +46 -10
  114. package/lib/utils/resultsbuilder/FlexcardAssessmentReporter.js.map +1 -1
  115. package/lib/utils/resultsbuilder/FlexipageAssessmentReporter.d.ts +55 -0
  116. package/lib/utils/resultsbuilder/FlexipageAssessmentReporter.js +137 -0
  117. package/lib/utils/resultsbuilder/FlexipageAssessmentReporter.js.map +1 -0
  118. package/lib/utils/resultsbuilder/GlobalAutoNumberAssessmentReporter.d.ts +14 -0
  119. package/lib/utils/resultsbuilder/GlobalAutoNumberAssessmentReporter.js +148 -0
  120. package/lib/utils/resultsbuilder/GlobalAutoNumberAssessmentReporter.js.map +1 -0
  121. package/lib/utils/resultsbuilder/IPAssessmentReporter.js +31 -11
  122. package/lib/utils/resultsbuilder/IPAssessmentReporter.js.map +1 -1
  123. package/lib/utils/resultsbuilder/LWCAssessmentReporter.d.ts +12 -0
  124. package/lib/utils/resultsbuilder/LWCAssessmentReporter.js +114 -139
  125. package/lib/utils/resultsbuilder/LWCAssessmentReporter.js.map +1 -1
  126. package/lib/utils/resultsbuilder/OSAssessmentReporter.js +25 -16
  127. package/lib/utils/resultsbuilder/OSAssessmentReporter.js.map +1 -1
  128. package/lib/utils/resultsbuilder/assessmentReporter.d.ts +5 -1
  129. package/lib/utils/resultsbuilder/assessmentReporter.js +120 -53
  130. package/lib/utils/resultsbuilder/assessmentReporter.js.map +1 -1
  131. package/lib/utils/resultsbuilder/index.d.ts +7 -1
  132. package/lib/utils/resultsbuilder/index.js +318 -48
  133. package/lib/utils/resultsbuilder/index.js.map +1 -1
  134. package/lib/utils/resultsbuilder/reportingHelper.d.ts +4 -2
  135. package/lib/utils/resultsbuilder/reportingHelper.js +22 -4
  136. package/lib/utils/resultsbuilder/reportingHelper.js.map +1 -1
  137. package/lib/utils/storageUtil.d.ts +10 -0
  138. package/lib/utils/storageUtil.js +61 -0
  139. package/lib/utils/storageUtil.js.map +1 -0
  140. package/lib/utils/stringUtils.d.ts +1 -0
  141. package/lib/utils/stringUtils.js +22 -1
  142. package/lib/utils/stringUtils.js.map +1 -1
  143. package/messages/assess.json +102 -28
  144. package/messages/migrate.json +130 -23
  145. package/oclif.manifest.json +1 -1
  146. package/package.json +6 -5
  147. package/lib/utils/constants/callToActionMessages.js.map +0 -1
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.reportingHelper = void 0;
4
4
  const core_1 = require("@salesforce/core");
5
- const callToActionMessages_1 = require("../constants/callToActionMessages");
5
+ const documentRegistry_1 = require("../constants/documentRegistry");
6
6
  const logger_1 = require("../logger");
7
7
  core_1.Messages.importMessagesDirectory(__dirname);
8
8
  const assessMessages = core_1.Messages.loadMessages('@salesforce/plugin-omnistudio-migration-tool', 'assess');
@@ -32,12 +32,30 @@ class reportingHelper {
32
32
  return htmlContent;
33
33
  }
34
34
  }
35
+ static decorateErrors(errors) {
36
+ if (!errors || errors.length === 0)
37
+ return [];
38
+ const errorMessages = [];
39
+ for (const error of errors) {
40
+ errorMessages.push('<div class="slds-text-color_error">' + error + '</div>');
41
+ }
42
+ return errorMessages;
43
+ }
44
+ static decorateStatus(status) {
45
+ if (status === 'Can be Automated' || status === 'Complete') {
46
+ return '<div class="slds-text-color_success">' + status + '</div>';
47
+ }
48
+ if (status === 'Skipped') {
49
+ return '<div class="text-warning">' + status + '</div>';
50
+ }
51
+ return '<div class="slds-text-color_error">' + status + '</div>';
52
+ }
35
53
  static getCallToAction(assessmentInfos) {
36
54
  const callToAction = [];
37
55
  assessmentInfos.forEach((assessmentInfo) => {
38
56
  if (assessmentInfo.warnings && assessmentInfo.warnings.length > 0) {
39
57
  for (const info of assessmentInfo.warnings) {
40
- for (const key of Object.keys(callToActionMessages_1.callToActionMessages)) {
58
+ for (const key of Object.keys(documentRegistry_1.documentRegistry)) {
41
59
  const value = assessMessages.getMessage(key);
42
60
  if (typeof value === 'string' &&
43
61
  typeof key === 'string' &&
@@ -89,8 +107,8 @@ class reportingHelper {
89
107
  });
90
108
  }
91
109
  static getLink(key) {
92
- if (callToActionMessages_1.callToActionMessages[key]) {
93
- return callToActionMessages_1.callToActionMessages[key];
110
+ if (documentRegistry_1.documentRegistry[key]) {
111
+ return documentRegistry_1.documentRegistry[key];
94
112
  }
95
113
  logger_1.Logger.logVerbose(`No link found for ${key}`);
96
114
  return undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"reportingHelper.js","sourceRoot":"","sources":["../../../src/utils/resultsbuilder/reportingHelper.ts"],"names":[],"mappings":";;;AAAA,2CAA4C;AAI5C,4EAAyE;AACzE,sCAAmC;AAEnC,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,cAAc,GAAG,eAAQ,CAAC,YAAY,CAAC,8CAA8C,EAAE,QAAQ,CAAC,CAAC;AAEvG,MAAa,eAAe;IACnB,MAAM,CAAC,QAAQ,CAAC,aAA6B;QAClD,IAAI,WAAW,GAAG,+BAA+B,CAAC;QAClD,KAAK,MAAM,OAAO,IAAI,aAAa,EAAE;YACnC,WAAW,IAAI,wCAAwC,OAAO,CAAC,QAAQ,KAAK,OAAO,CAAC,IAAI,OAAO,CAAC;SACjG;Q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AE;gBACpB,OAAO,IAAI,CAAC;aACb;SACF;QAAC,OAAO,KAAK,EAAE;YACd,eAAM,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;YACpB,OAAO,KAAK,CAAC;SACd;QACD,OAAO,KAAK,CAAC;IACf,CAAC;IAEO,MAAM,CAAC,YAAY,CAAC,GAAiB;QAC3C,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU,CAAC;QAC/B,OAAO,GAAG,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE;YACzB,IAAI,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;gBACvB,OAAO,KAAK,CAAC;aACd;iBAAM;gBACL,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;gBACpB,OAAO,IAAI,CAAC;aACb;QACH,CAAC,CAAC,CAAC;IACL,CAAC;IAEO,MAAM,CAAC,OAAO,CAAC,GAAW;QAChC,IAAI,mCAAgB,CAAC,GAAG,CAAC,EAAE;YACzB,OAAO,mCAAgB,CAAC,GAAG,CAAW,CAAC;SACxC;QACD,eAAM,CAAC,UAAU,CAAC,qBAAqB,GAAG,EAAE,CAAC,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;CACF;AA1HD,0CA0HC"}
@@ -0,0 +1,10 @@
1
+ import { MigrationStorage } from '../migration/interfaces';
2
+ export declare class StorageUtil {
3
+ private static omnistudioMigrationStorage;
4
+ private static omnistudioAssessmentStorage;
5
+ static getOmnistudioMigrationStorage(): MigrationStorage;
6
+ static getOmnistudioAssessmentStorage(): MigrationStorage;
7
+ static printMigrationStorage(): void;
8
+ static printAssessmentStorage(): void;
9
+ private static printStorage;
10
+ }
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StorageUtil = void 0;
4
+ const logger_1 = require("./logger");
5
+ class StorageUtil {
6
+ static getOmnistudioMigrationStorage() {
7
+ if (this.omnistudioMigrationStorage === undefined) {
8
+ this.omnistudioAssessmentStorage = {
9
+ osStorage: new Map(),
10
+ fcStorage: new Map(),
11
+ };
12
+ }
13
+ if (this.omnistudioMigrationStorage.osStorage === undefined) {
14
+ this.omnistudioMigrationStorage.osStorage = new Map();
15
+ }
16
+ if (this.omnistudioMigrationStorage.fcStorage === undefined) {
17
+ this.omnistudioMigrationStorage.fcStorage = new Map();
18
+ }
19
+ return this.omnistudioMigrationStorage;
20
+ }
21
+ static getOmnistudioAssessmentStorage() {
22
+ return this.omnistudioAssessmentStorage;
23
+ }
24
+ static printMigrationStorage() {
25
+ this.printStorage(this.omnistudioMigrationStorage);
26
+ }
27
+ static printAssessmentStorage() {
28
+ this.printStorage(this.omnistudioAssessmentStorage);
29
+ }
30
+ static printStorage(storage) {
31
+ try {
32
+ logger_1.Logger.logVerbose('Printing the storage');
33
+ logger_1.Logger.logVerbose(JSON.stringify(storage, (key, value) => {
34
+ if (value instanceof Map) {
35
+ const safeEntries = [...value.entries()].map(([k, v]) => {
36
+ // Replace undefined/null with a placeholder or skip
37
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-return
38
+ return [k, v !== null && v !== void 0 ? v : { note: 'Value was undefined' }];
39
+ });
40
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-return
41
+ return Object.fromEntries(safeEntries);
42
+ }
43
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-return
44
+ return value;
45
+ }));
46
+ }
47
+ catch (Error) {
48
+ logger_1.Logger.logVerbose('Error occurred while printing storage');
49
+ }
50
+ }
51
+ }
52
+ exports.StorageUtil = StorageUtil;
53
+ StorageUtil.omnistudioMigrationStorage = {
54
+ osStorage: new Map(),
55
+ fcStorage: new Map(),
56
+ };
57
+ StorageUtil.omnistudioAssessmentStorage = {
58
+ osStorage: new Map(),
59
+ fcStorage: new Map(),
60
+ };
61
+ //# sourceMappingURL=storageUtil.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storageUtil.js","sourceRoot":"","sources":["../../src/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AC,EAAE,EAAE;wBACtD,oDAAoD;wBACpD,+DAA+D;wBAC/D,OAAO,CAAC,CAAC,EAAE,CAAC,aAAD,CAAC,cAAD,CAAC,GAAI,EAAE,IAAI,EAAE,qBAAqB,EAAE,CAAC,CAAC;oBACnD,CAAC,CAAC,CAAC;oBAEH,+DAA+D;oBAC/D,OAAO,MAAM,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC;iBACxC;gBACD,+DAA+D;gBAC/D,OAAO,KAAK,CAAC;YACf,CAAC,CAAC,CACH,CAAC;SACH;QAAC,OAAO,KAAK,EAAE;YACd,eAAM,CAAC,UAAU,CAAC,uCAAuC,CAAC,CAAC;SAC5D;IACH,CAAC;;AAhEH,kCAiEC;AAhEgB,sCAA0B,GAAqB;IAC5D,SAAS,EAAE,IAAI,GAAG,EAA6B;IAC/C,SAAS,EAAE,IAAI,GAAG,EAA2B;CAC9C,CAAC;AAEa,uCAA2B,GAAqB;IAC7D,SAAS,EAAE,IAAI,GAAG,EAA6B;IAC/C,SAAS,EAAE,IAAI,GAAG,EAA2B;CAC9C,CAAC"}
@@ -7,3 +7,4 @@
7
7
  * @returns The formatted string.
8
8
  */
9
9
  export declare function formatUnicorn(formatString: string, ...args: Array<string | number | Record<string, string | number>>): string;
10
+ export declare function getMigrationHeading(name: string): string;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.formatUnicorn = void 0;
3
+ exports.getMigrationHeading = exports.formatUnicorn = void 0;
4
4
  /**
5
5
  * Replaces placeholders in a string with corresponding values from arguments.
6
6
  * Placeholders are in the format {key}.
@@ -22,4 +22,25 @@ function formatUnicorn(formatString, ...args) {
22
22
  return str;
23
23
  }
24
24
  exports.formatUnicorn = formatUnicorn;
25
+ function getMigrationHeading(name) {
26
+ if (name.toLowerCase().includes('data')) {
27
+ return 'Data Mapper';
28
+ }
29
+ else if (name.toLowerCase().includes('flexcard')) {
30
+ return 'Flexcard';
31
+ }
32
+ else if (name.toLowerCase().includes('omniscript')) {
33
+ return 'OmniScript';
34
+ }
35
+ else if (name.toLowerCase().includes('integration')) {
36
+ return 'Integration Procedure';
37
+ }
38
+ else if (name.toLowerCase().includes('apex')) {
39
+ return 'Apex File';
40
+ }
41
+ else {
42
+ return name;
43
+ }
44
+ }
45
+ exports.getMigrationHeading = getMigrationHeading;
25
46
  //# sourceMappingURL=stringUtils.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"stringUtils.js","sourceRoot":"","sources":["../../src/utils/stringUtils.ts"],"names":[],"mappings":";;;AAAA;;;;;;;GAOG;AACH,SAAgB,aAAa,CAC3B,YAAoB,EACpB,GAAG,IAA8D;IAEjE,IAAI,GAAG,GAAG,YAAY,CAAC,QAAQ,EAAE,CAAC;IAElC,IAAI,IAAI,CAAC,MAAM,GAAG,CAAC,EAAE;QACnB,MAAM,UAAU,GAAG,OAAO,IAAI,CAAC,CAAC,CAAC,KAAK,QAAQ,IAAI,OAAO,IAAI,CAAC,CAAC,CAAC,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAE/F,KAAK,MAAM,GAAG,IAAI,UAAU,EAAE;YAC5B,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,UAAU,EAAE,GAAG,CAAC,EAAE;gBACzD,GAAG,GAAG,GAAG,CAAC,OAAO,CAAC,IAAI,MAAM,CAAC,KAAK,GAAG,GAAG,GAAG,KAAK,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;aACnF;SACF;KACF;IAED,OAAO,GAAG,CAAC;AACb,CAAC;AAjBD,sCAiBC"}
1
+ {"version":3,"file":"stringUtils.js","sourceRoot":"","sources":["../../src/utils/stringUtils.ts"],"names":[],"mappings":";;;AAAA;;;;;;;GAOG;AACH,SAAgB,aAAa,CAC3B,YAAoB,EACpB,GAAG,IAA8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AAO,IAAI,CAAC;KACb;AACH,CAAC;AAdD,kDAcC"}
@@ -1,19 +1,20 @@
1
1
  {
2
2
  "examples": [
3
- "omnistudio:migration:assess -u orguser@domain.com --namespace=YOUR_PACKAGE_NAMESPACE",
4
- "omnistudio:migration:assess -u orguser@domain.com --namespace=YOUR_PACKAGE_NAMESPACE --only=dr",
5
- "omnistudio:migration:assess -u orguser@domain.com --namespace=YOUR_PACKAGE_NAMESPACE --only=ip",
6
- "omnistudio:migration:assess -u orguser@domain.com --namespace=YOUR_PACKAGE_NAMESPACE --only=os",
7
- "omnistudio:migration:assess -u orguser@domain.com --namespace=YOUR_PACKAGE_NAMESPACE --only=fc"
3
+ "omnistudio:migration:assess -u orguser@domain.com ",
4
+ "omnistudio:migration:assess -u orguser@domain.com --only=dr",
5
+ "omnistudio:migration:assess -u orguser@domain.com --only=ip",
6
+ "omnistudio:migration:assess -u orguser@domain.com --only=os",
7
+ "omnistudio:migration:assess -u orguser@domain.com --only=fc",
8
+ "omnistudio:migration:assess -u orguser@domain.com --only=autonumber"
8
9
  ],
9
10
  "commandDescription": "Assess migration of omnistudio components from custom objects to standard objects",
10
11
  "namespaceFlagDescription": "The namespaced of the package",
11
12
  "apiVersionFlagDescription": "The Salesforce API version to use",
12
13
  "errorNoOrgResults": "No results found for the org '%s'.",
13
- "onlyFlagDescription": "Migrate a single element: os | ip | fc | dr",
14
- "invalidOnlyFlag": "Invalid flag, valid options are: os | ip | fc | dr",
14
+ "onlyFlagDescription": "Migrate a single element: os | ip | fc | dr | autonumber",
15
+ "invalidOnlyFlag": "Invalid flag, valid options are: os | ip | fc | dr | autonumber",
15
16
  "couldNotDeactivateOmniProcesses": "Could not deactivate current OmniProcesses",
16
- "couldNotTruncate": "Could not truncate {0}",
17
+ "couldNotTruncate": "Could not truncate %s",
17
18
  "couldNotTruncateOmnniProcess": "Could not truncate OmniProcess. Please make sure your OS/IP is not referenced in an OmniScrirpt or Flex Card.",
18
19
  "invalidNameTypeSubtypeOrLanguage": "Not a valid Name, Type, SubType or Language",
19
20
  "invalidOrRepeatingOmniscriptElementNames": "Invalid or Repeating Element Names for Same OmniScript",
@@ -29,21 +30,27 @@
29
30
  "allVersionsDescription": "Migrate all versions of a component",
30
31
  "changeMessage": " %s will be changed from %s to %s",
31
32
  "angularOSWarning": " Angular OmniScript will not be migrated, please convert this to LWC based Omniscript",
32
- "apexLwc": "Please select the type of components to assess: 'apex' for Apex classes, 'lwc' for Lightning Web Components, or 'apex,lwc' if you want to include both types.",
33
+ "relatedObjectGA": "Please select the type of component to assess: 'apex' for Apex classes, 'lwc' for Lightning Web Components, 'flexipage' for FlexiPages, or 'apex,lwc,flexipage' if you want to include all types.",
34
+ "apexLwc": "Please select the type of component to assess: 'apex' for Apex classes.",
33
35
  "invalidNamespace": "The namespace you have passed is not valid namespace, the valid namespace of your org is ",
34
36
  "noPackageInstalled": "No package installed on given org.",
35
37
  "alreadyStandardModel": "The org is already on standard data model.",
36
- "invalidRelatedObjectsOption": "Invalid option provided for -r: %s. Valid options are apex, lwc.",
38
+ "invalidRelatedObjectsOptionGA": "Invalid option provided for -r: %s. Valid options are apex, lwc.",
39
+ "invalidRelatedObjectsOption": "Invalid option provided for -r: %s. Valid option is apex.",
37
40
  "formulaSyntaxError": "There was some problem while updating the formula syntax, please check the all the formula's syntax once : %s",
38
41
  "errorDuringFlexCardAssessment": "Error during FlexCard assessment",
39
42
  "errorDuringOmniScriptAssessment": "Error during OmniScript assessment",
43
+ "errorDuringGlobalAutoNumberAssessment": "Error during GlobalAutoNumber assessment",
40
44
  "processingFlexCard": "Processing FlexCard: %s",
41
45
  "processingDataRaptor": "Processing DataRaptor: %s",
42
46
  "processingOmniScript": "Processing OmniScript: %s",
47
+ "processingGlobalAutoNumber": "Processing GlobalAutoNumber: %s",
43
48
  "foundDataRaptorsToAssess": "Found %s DataRaptors to assess",
44
49
  "foundOmniScriptsToAssess": "Found %s OmniScripts and Integration Procedures to assess",
50
+ "foundGlobalAutoNumbersToAssess": "Found %s GlobalAutoNumbers to assess",
45
51
  "startingDataRaptorAssessment": "Starting DataRaptor assessment",
46
52
  "startingOmniScriptAssessment": "Starting OmniScript assessment",
53
+ "startingGlobalAutoNumberAssessment": "Starting GlobalAutoNumber assessment",
47
54
  "allVersionsInfo": "allVersions : %s",
48
55
  "assessmentInitialization": "Assessment Initialization: Using namespace: %s",
49
56
  "apiVersionInfo": "API Version: %s",
@@ -55,6 +62,9 @@
55
62
  "flexCardAssessment": "FlexCard Assessment",
56
63
  "assessedFlexCardsCount": "Assessed %s FlexCards",
57
64
  "flexCardAssessmentCompleted": "FlexCard assessment completed",
65
+ "globalAutoNumberAssessment": "GlobalAutoNumber Assessment",
66
+ "assessedGlobalAutoNumbersCount": "Assessed %s GlobalAutoNumbers",
67
+ "globalAutoNumberAssessmentCompleted": "The assessment for Global Auto Number is complete.",
58
68
  "omniScriptAssessment": "OmniScript and Integration Procedure Assessment",
59
69
  "assessedOmniScriptsCount": "Assessed %s OmniScripts",
60
70
  "assessedIntegrationProceduresCount": "Assessed %s Integration Procedures",
@@ -68,7 +78,7 @@
68
78
  "foundApexFilesInDirectory": "Found %s Apex files in directory: %s",
69
79
  "skippingNonApexFile": "Skipping non-Apex file: %s",
70
80
  "processingApexFile": "Processing Apex file: %s",
71
- "skippingApexFileFewChanges": "Skipping Apex file: %s as it has less than 3 changes",
81
+ "skippingApexFileNoChanges": "Skipping Apex file: %s as it has no changes",
72
82
  "successfullyProcessedApexFile": "Successfully processed Apex file: %s",
73
83
  "fileNoOmnistudioCalls": "File %s does not have any omnistudio calls or remote calls. No changes will be applied.",
74
84
  "fileAlreadyImplementsCallable": "file %s already implements callable no changes will be applied",
@@ -77,21 +87,22 @@
77
87
  "processingLwcsForAssessment": "Processing LWCs for assessment",
78
88
  "successfullyProcessedLwcsForAssessment": "Successfully processed %s LWCs for assessment",
79
89
  "lwcAssessmentResults": "LWC assessment results: %s",
80
- "errorReadingFiles": "Error in reading files: %s",
81
- "errorProcessingFiles": "Error in processing files: %s",
90
+ "errorReadingFiles": "Error in reading files",
91
+ "errorProcessingFiles": "Error in processing files",
82
92
  "startingProcessRelatedObjects": "Starting processRelatedObjects for %s in project path: %s",
83
93
  "errorProcessingApexFile": "Error processing Apex file: %s",
84
- "fileUpdatedToAllowRemoteCalls": "File updated to allow remote calls",
85
- "fileUpdatedToAllowCalls": "File updated to allow calls",
86
- "fileImplementsVlocityOpenInterface": "file %s implements VlocityOpenInterface no changes will be applied",
94
+ "fileUpdatedToAllowRemoteCalls": "File will be updated to allow remote calls",
95
+ "fileUpdatedToAllowCalls": "File will be updated to allow calls",
96
+ "fileImplementsVlocityOpenInterface": "File %s implements VlocityOpenInterface no changes will be applied",
87
97
  "methodCallBundleNameUpdated": "Method call bundle name will be updated in %s for class %s method %s",
88
- "cardNameChangeMessage": "Card name will be changed from {0} to {1} to follow API naming standards",
89
- "authordNameChangeMessage": "Author name will be changed from {0} to {1} to follow API naming standards",
90
- "omniScriptNameChangeMessage": "OmniScript reference part {0} will be changed to {1} during migration.",
91
- "dataRaptorNameChangeMessage": "DataRaptor reference {0} will be changed to {1} during migration.",
92
- "integrationProcedureNameChangeMessage": "Integration Procedure reference {0} will be changed to {1} during migration.",
93
- "integrationProcedureManualUpdateMessage": "Integration Procedure reference {0} may need manual updates after migration.",
94
- "duplicateCardNameMessage": "Potential duplicate: Another card has the same name {0} after name cleaning. This may cause conflicts during migration",
98
+ "cardNameChangeMessage": "Card name will be changed from %s to %s to follow API naming standards",
99
+ "authordNameChangeMessage": "Author name will be changed from %s to %s to follow API naming standards",
100
+ "omniScriptNameChangeMessage": "OmniScript reference part %s will be changed to %s during migration.",
101
+ "dataRaptorNameChangeMessage": "DataRaptor reference %s will be changed to %s during migration.",
102
+ "integrationProcedureNameChangeMessage": "Integration Procedure reference %s will be changed to %s during migration.",
103
+ "integrationProcedureManualUpdateMessage": "Integration Procedure reference %s may need manual updates after migration.",
104
+ "duplicateCardNameMessage": "Potential duplicate: Another card has the same name %s after name cleaning. This may cause conflicts during migration",
105
+ "duplicateGlobalAutoNumberNameMessage": "Potential duplicate: Another Global Auto Number has the same name %s after name cleaning. This may cause conflicts during migration",
95
106
  "existingApexPrompt": "Do you have a sfdc project that already contains the APEX classes retrieved from your org? [y/n]",
96
107
  "enterExistingProjectPath": "Enter the path to the project folder that contains the retrieved APEX classes:",
97
108
  "invalidProjectFolderPath": "Provided project folder does not exist. Please provide a valid project folder path",
@@ -102,13 +113,76 @@
102
113
  "operationCancelled": "Operation cancelled.",
103
114
  "invalidYesNoResponse": "Invalid response. Please answer y or n.",
104
115
  "notSfdxProjectFolderPath": "Provided folder is not a valid Salesforce DX project. Please select a folder containing sfdx-project.json",
116
+ "failedToGetValidProjectPath": "Failed to get valid project path",
117
+ "errorRunningAssess": "Error running assess",
105
118
  "enableVerboseOutput": "Enable verbose output",
106
- "apexFileChangesIdentifiedNotApplied": "Changes identified for Apex class {0} but not applied (assessment mode)",
107
- "apexFileHasMultipleInterfaces": "File {0} has multiple interfaces including Callable, standardizing to System.Callable only",
108
- "apexFileImplementsVlocityOpenInterface2": "File {0} implements VlocityOpenInterface2, replacing with System.Callable",
119
+ "apexFileChangesIdentifiedNotApplied": "Changes identified for Apex class %s but not applied (assessment mode)",
120
+ "apexFileHasMultipleInterfaces": "File %s has multiple interfaces including Callable, standardizing to System.Callable only",
121
+ "apexFileImplementsVlocityOpenInterface2": "File %s implements VlocityOpenInterface2, replacing with System.Callable",
109
122
  "errorParsingHtmlTemplate": "Error while parsing template",
110
123
  "errorParsingData": "Error while parsing data for template",
111
- "errorGeneratingHTML": "Error while generating HTML from template for {} with properties {}",
124
+ "errorGeneratingHTML": "Error while generating HTML from template for %s with properties %s",
112
125
  "unexpectedError": "Unexpected Assessment error",
113
- "errorEvaluatingExpression": "Error evaluating expression: {0}, {1}"
126
+ "errorEvaluatingExpression": "Error evaluating expression: %s, %s",
127
+ "retrievingFlexiPages": "Retrieving FlexiPages",
128
+ "successfullyRetrievedFlexiPages": "Successfully retrieved %s FlexiPages",
129
+ "assessingFlexiPages": "Assessing FlexiPages",
130
+ "completedProcessingAllFlexiPages": "Completed processing all flexipage files. Total processed: %s",
131
+ "completedProcessingFlexiPage": "Completed processing %s - Errors: %s",
132
+ "processingFlexiPage": "Processing flexipage file: %s",
133
+ "startingFlexiPageProcessing": "Starting to process flexipage: %s",
134
+ "readFlexiPageContent": "Read file content, size: %s characters",
135
+ "updatedModifiedContent": "updated content in file: %s",
136
+ "generatedDiffForFile": "Generated diff for file: %s",
137
+ "errorProcessingFlexiPage": "Error processing flexipage file: %s, %s",
138
+ "flexipagesWithChanges": "Found %s flexipage files with changes",
139
+ "migratingFlexiPages": "Migrating FlexiPages",
140
+ "experienceSiteMetadataConsent": "The consent for exp site is %s",
141
+ "experienceSiteConsentNotProvidedWarning": "Consent for experience sites is not provided. Experience sites will not be processed",
142
+ "relatedObjectsToProcessAfterExpSitesRemoval": "Objects to process after removing expsite are",
143
+ "experienceBundleMetadataAPIAlreadyEnabled": "ExperienceBundle metadata api is already enabled",
144
+ "enableExperienceBundleMetadataAPIProgramatically": "ExperienceBundle metadata api needs to be programatically enabled",
145
+ "unableToEnableExperienceBundleMetadataAPI": "Since the api could not able enabled the experience sites would not be processed",
146
+ "relatedObjectsToProcess": "Objects to process are",
147
+ "consentForExperienceSites": "'By proceeding further, you hereby consent to enable digital experience metadata api(y/n). If y sites will be processed, if n expsites will not be processed';",
148
+ "failedToGetConsentError": "Failed to get user consent: %s",
149
+ "settingDesignersToStandardModel": "Setting designers to use the standard data model",
150
+ "errorSettingDesignersToStandardModel": "Error occurred while setting designers to use the standard data model",
151
+ "designersSetToStandardModel": "Successfully executed setDesignersToUseStandardDataModel",
152
+ "exceptionSettingDesignersToStandardModel": "Exception occurred while setting designers to use the standard data model",
153
+ "noRelatedObjects": "No related objects to process",
154
+ "turnOffExperienceBundleAPI": "Since ExperienceSiteMetadata API was programatically enabled, turing it off",
155
+ "errorRevertingExperienceBundleMetadataAPI": "Exception occurred while reverting metadata API. Please do that manually",
156
+ "processingExperienceSites": "Starting experience sites processing for %s",
157
+ "experienceSitesProcessingStarted": "Started processing the experience sites",
158
+ "experienceSiteSuccessfullyProcessed": "Successfully processed experience sites for %s",
159
+ "readingFile": "Started reading the files",
160
+ "totalFileCount": "The total count of files is %s",
161
+ "skipNonJsonFile": "Skipping non-JSON file - %s",
162
+ "experienceSiteWithOmniWrapperSuccessfullyProcessed": "Successfully processed experience site file having vlocity wrapper",
163
+ "fileNotHavingWrapper": "File does not contain vlocity wrapper",
164
+ "errorProcessingExperienceSite": "Error processing experience site file",
165
+ "experienceSiteReportingDetails": "Only the files in which have vlocity wrapper will be shown in the assessment report",
166
+ "processingFile": "Processing for file",
167
+ "currentRegionOfExperienceSite": "The current region being processed is %s",
168
+ "currentComponentOfExperienceSite": "The current component being processed is %s",
169
+ "omniWrapperFound": "Omnistudio wrapper component found",
170
+ "printUpdatedObject": "Now printing the updated object %s",
171
+ "printDifference": "Printing the difference %s",
172
+ "updatingFile": "Updating the file content",
173
+ "processingFlexcardComponent": "Started processing FC component %s",
174
+ "processingOmniscriptComponent": "Started processing OS component",
175
+ "targetData": "The target data is %s",
176
+ "manualInterventionForExperienceSite": "%s needs manual intervention as the migrated key does not exist",
177
+ "manualInterventionForExperienceSiteAsFailure": "%s needs manual intervention as migration failed",
178
+ "manualInterventionForExperienceSiteAsDuplicateKey": "%s needs manual intervention as duplicated key found in storage",
179
+ "updatingStorageForOmniscipt": "Started updating storage for omniscript %s",
180
+ "keyAlreadyInStorage": "Key %s already exists in storage",
181
+ "flexcardStorageProcessingStarted": "Started preparing storage for flexcards",
182
+ "errorWhileProcessingFlexcardStorage": "Error occurred while processing key for flexcard storage",
183
+ "missingInfo": "Info is missing",
184
+ "errorCheckingGlobalAutoNumber": "We couldn’t check whether the Global Auto Number setting is enabled: %s. Try again later.",
185
+ "errorMigrationMessage": "Error migrating object: %s",
186
+ "nameMappingUndefined": "Name Mapping is undefined",
187
+ "experienceSiteException": "Exception occurred while processing experience sites"
114
188
  }
@@ -1,22 +1,23 @@
1
1
  {
2
2
  "examples": [
3
- "omnistudio:migration:migrate -u orguser@domain.com --namespace=YOUR_PACKAGE_NAMESPACE",
4
- "omnistudio:migration:migrate -u orguser@domain.com --namespace=YOUR_PACKAGE_NAMESPACE --only=dr",
5
- "omnistudio:migration:migrate -u orguser@domain.com --namespace=YOUR_PACKAGE_NAMESPACE --only=ip",
6
- "omnistudio:migration:migrate -u orguser@domain.com --namespace=YOUR_PACKAGE_NAMESPACE --only=os",
7
- "omnistudio:migration:migrate -u orguser@domain.com --namespace=YOUR_PACKAGE_NAMESPACE --only=fc",
8
- "omnistudio:migration:migrate -u orguser@domain.com --namespace=YOUR_PACKAGE_NAMESPACE -r apex,lwc",
9
- "omnistudio:migration:migrate -u orguser@domain.com --namespace=YOUR_PACKAGE_NAMESPACE -r apex",
10
- "omnistudio:migration:migrate -u orguser@domain.com --namespace=YOUR_PACKAGE_NAMESPACE -r lwc"
3
+ "omnistudio:migration:migrate -u orguser@domain.com ",
4
+ "omnistudio:migration:migrate -u orguser@domain.com --only=dr",
5
+ "omnistudio:migration:migrate -u orguser@domain.com --only=ip",
6
+ "omnistudio:migration:migrate -u orguser@domain.com --only=os",
7
+ "omnistudio:migration:migrate -u orguser@domain.com --only=fc",
8
+ "omnistudio:migration:migrate -u orguser@domain.com --only=autonumber",
9
+ "omnistudio:migration:migrate -u orguser@domain.com -r apex,lwc",
10
+ "omnistudio:migration:migrate -u orguser@domain.com -r apex",
11
+ "omnistudio:migration:migrate -u orguser@domain.com -r lwc"
11
12
  ],
12
13
  "commandDescription": "Migrate omnistudio components from custom objects to standard objects",
13
14
  "namespaceFlagDescription": "The namespace of the package",
14
15
  "apiVersionFlagDescription": "The Salesforce API version to use",
15
16
  "errorNoOrgResults": "No results found for the org '%s'.",
16
- "onlyFlagDescription": "Migrate a single element: os | ip | fc | dr",
17
- "invalidOnlyFlag": "Invalid flag, valid options are: os | ip | fc | dr",
17
+ "onlyFlagDescription": "Migrate a single element: os | ip | fc | dr | autonumber",
18
+ "invalidOnlyFlag": "Invalid flag, valid options are: os | ip | fc | dr | autonumber",
18
19
  "couldNotDeactivateOmniProcesses": "Could not deactivate current OmniProcesses",
19
- "couldNotTruncate": "Could not truncate {0}",
20
+ "couldNotTruncate": "Could not truncate %s",
20
21
  "couldNotTruncateOmnniProcess": "Could not truncate OmniProcess. Please make sure your OS/IP is not referenced in an OmniScrirpt or Flex Card.",
21
22
  "invalidNameTypeSubtypeOrLanguage": "Not a valid Name, Type, SubType or Language",
22
23
  "invalidOrRepeatingOmniscriptElementNames": "Invalid or Repeating Element Names for Same OmniScript",
@@ -29,14 +30,31 @@
29
30
  "errorWhileUploadingCard": "An error ocurred while uploading Card: ",
30
31
  "errorWhileCreatingElements": "An error ocurred while saving OmniScript elements: ",
31
32
  "allVersionsDescription": "Migrate all versions of a component",
32
- "apexLwc": "Please select the type of components to migrate: 'apex' for Apex classes, 'lwc' for Lightning Web Components, or 'apex,lwc' if you want to include both types.",
33
+ "relatedObjectGA": "Please select the type of components to migrate: 'apex' for Apex classes, 'lwc' for Lightning Web Components, 'flexipage' for FlexiPages, 'expsites' for Experience Sites, or 'apex,lwc,flexipage,expsites' if you want to include all types.",
34
+ "apexLwc": "Please select the type of components to migrate: 'apex' for Apex classes.",
33
35
  "invalidNamespace": "The namespace you have passed is not valid namespace, the valid namespace of your org is ",
34
36
  "noPackageInstalled": "No package installed on given org.",
35
37
  "alreadyStandardModel": "The org is already on standard data model.",
36
- "invalidRelatedObjectsOption": "Invalid option provided for -r: %s. Valid options are apex, lwc.",
37
- "userConsentMessage": "By proceeding further, you hereby consent to the use, accept changes to your custom code, and the accompanying terms and conditions associated with the use of the OmniStudio Migration Tool. Do you want to proceed? [y/n]",
38
+ "invalidRelatedObjectsOptionGA": "Invalid option provided for -r: %s. Valid options are apex, lwc.",
39
+ "invalidRelatedObjectsOption": "Invalid option provided for -r: %s. Valid option is apex.",
40
+ "userConsentMessage": "By proceeding further, you hereby consent to the use, accept changes to your custom code and the accompanying terms and conditions associated with the use of the OmniStudio Migration Tool. Do you want to proceed? [y/n]",
38
41
  "userDeclinedConsent": "User declined consent, will not process %s .",
39
42
  "userConsentedToProceed": "User consented to proceed",
43
+ "existingApexPrompt": "Do you have a sfdc project that already contains the APEX classes retrieved from your org? [y/n]",
44
+ "enterExistingProjectPath": "Enter the path to the project folder that contains the retrieved APEX classes:",
45
+ "invalidProjectFolderPath": "Provided project folder does not exist. Please provide a valid project folder path",
46
+ "requestTimedOut": "Request timed out",
47
+ "retrieveApexPrompt": "Omnistudio Migration Tool can connect to your org and retrieve the APEX classes. Provide an empty project folder to store the retrieved APEX classes. Would you like to proceed with the retrieval? [y/n]",
48
+ "enterEmptyProjectPath": "Enter the path to an empty project folder to retrieve to and process the APEX classes:",
49
+ "notEmptyProjectFolderPath": "Provided project folder is not empty. Please provide a valid empty project folder name and path",
50
+ "invalidYesNoResponse": "Invalid response. Please answer y or n.",
51
+ "notSfdxProjectFolderPath": "Provided folder is not a valid Salesforce DX project. Please select a folder containing sfdx-project.json",
52
+ "operationCancelled": "Operation cancelled.",
53
+ "failedToGetValidProjectPath": "Failed to get valid project path",
54
+ "errorRunningMigrate": "Error running migrate %s",
55
+ "couldNotEnableOmniPreferences": "Could not enable Omni preferences: %s",
56
+ "errorSettingDesignersToStandardDataModel": "Error occurred while setting designers to use the standard data model %s",
57
+ "exceptionSettingDesignersToStandardDataModel": "Exception occurred while setting designers to use the standard data model %s",
40
58
  "projectPathConfirmation": "Do you have a sfdc project where %s files are already retrieved from org - y\nor you want tool to create a project omnistudio_migration in current directory for processing - n ? [y/n]",
41
59
  "enterProjectPath": "Enter the project path for processing %s :",
42
60
  "projectJsonNotFound": "Could not find any %s in %s.",
@@ -46,11 +64,14 @@
46
64
  "cleaningComponent": "Cleaning: %s",
47
65
  "cleaningDone": "Cleaning Done: %s",
48
66
  "migratingComponent": "Migrating: %s",
67
+ "cleaningFailed": "Cleaning Failed: %s",
49
68
  "migrationCompleted": "Migration completed: %s",
69
+ "migrationFailed": "Migration failed: %s",
50
70
  "formulaSyntaxError": "There was some problem while updating the formula syntax, please check the all the formula's syntax once : %s",
51
71
  "foundDataRaptorsToMigrate": "Found %s DataRaptors to migrate",
52
72
  "foundFlexCardsToMigrate": "Found %s FlexCards to migrate",
53
73
  "foundOmniScriptsToMigrate": "Found %s OmniScripts and Integration Procedures to migrate",
74
+ "foundGlobalAutoNumbersToMigrate": "Found %s GlobalAutoNumbers to migrate",
54
75
  "allVersionsInfo": "allVersions : %s",
55
76
  "migrationInitialization": "Migration Initialization: Using namespace: %s",
56
77
  "apiVersionInfo": "API Version: %s",
@@ -77,19 +98,105 @@
77
98
  "packageSelectionPrompt": "Enter the number of the package to use (1-%s):",
78
99
  "invalidPackageSelection": "Invalid selection. Please enter a number between 1 and %s.",
79
100
  "selectedPackage": "Selected package: %s (Version: %s)",
80
- "dataRaptorNameChangeMessage": "DataRaptor reference {0} will be changed to {1} during migration.",
81
- "integrationProcedureNameChangeMessage": "Integration Procedure reference {0} will be changed to {1} during migration.",
82
- "integrationProcedureManualUpdateMessage": "Integration Procedure reference {0} may need manual updates after migration.",
83
- "cardAuthorNameChangeMessage": "Card author name has been modified to fit naming rules: {0}",
84
- "cardNameChangeMessage": "Card name has been modified to fit naming rules: {0}",
85
- "duplicateCardNameMessage": "Potential duplicate: Another card has the same name {0} after name cleaning. This may cause conflicts during migration",
101
+ "dataRaptorNameChangeMessage": "DataRaptor reference %s will be changed to %s during migration.",
102
+ "integrationProcedureNameChangeMessage": "Integration Procedure reference %s will be changed to %s during migration.",
103
+ "integrationProcedureManualUpdateMessage": "Integration Procedure reference %s may need manual updates after migration.",
104
+ "cardAuthorNameChangeMessage": "Card author name has been modified to fit naming rules: %s",
105
+ "cardNameChangeMessage": "Card name has been modified to fit naming rules: %s",
106
+ "duplicateCardNameMessage": "Potential duplicate: Another card has the same name %s after name cleaning. This may cause conflicts during migration",
86
107
  "angularOmniscriptWarningMessage": " Angular OmniScript will not be migrated, please convert this to LWC based Omniscript",
87
- "apexFileChangesApplied": "Applied changes to Apex class {0}",
108
+ "apexFileChangesApplied": "Applied changes to Apex class %s",
88
109
  "generatingComponentReports": "Generating report for components",
89
110
  "generatingRelatedObjectReports": "Generating report for related objects",
90
111
  "generatingMigrationReportDashboard": "Generating migration report dashboard",
91
112
  "errorParsingHtmlTemplate": "Error while parsing template",
92
113
  "errorParsingData": "Error while parsing data for template",
93
- "errorGeneratingHTML": "Error while generating HTML from template for {} with properties {}",
94
- "errorEvaluatingExpression": "Error evaluating expression: {0}, {1}"
114
+ "errorGeneratingHTML": "Error while generating HTML from template for %s with properties %s",
115
+ "errorEvaluatingExpression": "Error evaluating expression: %s, %s",
116
+ "manuallySwitchDesignerToStandardDataModel": "To complete the setup, please manually run the required Apex code to configure OmniStudio Designers to use the Standard Data Model <br> https://help.salesforce.com/s/articleView?id=xcloud.os_migrate_change_the_sobject_data_model_after_migration.htm&type=5",
117
+ "labelStatusSkipped": "Skipped",
118
+ "labelStatusFailed": "Failed",
119
+ "labelStatusComplete": "Complete",
120
+ "migrationConsentNotGiven": "Couldn't confirm whether assessment errors are resolved",
121
+ "migrationConsentMessage": "Ensure that all items in the assessment report are marked as Green before proceeding with the migration. Do you want to proceed?",
122
+ "retrievingFlexiPages": "Retrieving FlexiPages",
123
+ "successfullyRetrievedFlexiPages": "Successfully retrieved %s FlexiPages",
124
+ "migratingFlexiPages": "Migrating FlexiPages",
125
+ "completedProcessingAllFlexiPages": "Completed processing all flexipage files. Total processed: %s",
126
+ "completedProcessingFlexiPage": "Completed processing %s - Errors: %s",
127
+ "processingFlexiPage": "Processing flexipage file: %s",
128
+ "startingFlexiPageProcessing": "Starting to process flexipage: %s",
129
+ "readFlexiPageContent": "Read file content, size: %s characters",
130
+ "updatedModifiedContent": "updated content in file: %s",
131
+ "generatedDiffForFile": "Generated diff for file: %s",
132
+ "errorProcessingFlexiPage": "Error processing flexipage file: %s, %s",
133
+ "flexipagesWithChanges": "Found %s flexipage files with changes",
134
+ "omniGlobalAutoNumberPrefEnabled": "Successfully enabled OmniGlobalAutoNumberPref org preference",
135
+ "errorEnablingOmniGlobalAutoNumberPref": "We couldn’t enable the Global Auto Number setting. Turn on the Global Auto Number setting manually, and try again. See <a href='https://help.salesforce.com/s/articleView?id=xcloud.os_standard_global_auto_number.htm&type=5' target='_blank'>Set Up Omni Global Auto Number</a>.",
136
+ "performingPreMigrationChecks": "Performing pre-migration checks for Global Auto Number...",
137
+ "preMigrationChecksPassed": "Pre-migration checks passed. Proceeding with Global Auto Number migration.",
138
+ "preMigrationChecksFailed": "Pre-migration checks failed. Migration cannot proceed.",
139
+ "globalAutoNumberPrefEnabledError": "The Global Auto Number setting is enabled and global auto numbers have already been migrated.",
140
+ "bothRollbackFlagsEnabledError": "We couldn’t turn on Global Auto Number. Disable the RollBackDRChanges and RollBackIPChanges <a href='https://help.salesforce.com/s/articleView?id=xcloud.os_standard_global_auto_number.htm&type=5' target='_blank'>Omni Interaction Configurations</a>, and try again.",
141
+ "rollbackIPFlagEnabledError": "We couldn’t turn on Global Auto Number. Disable the RollBackIPChanges <a href='https://help.salesforce.com/s/articleView?id=xcloud.os_standard_global_auto_number.htm&type=5' target='_blank'>Omni Interaction Configurations</a> and try again.",
142
+ "rollbackDRFlagEnabledError": "We couldn’t turn on Global Auto Number. Disable the RollBackDRChanges <a href='https://help.salesforce.com/s/articleView?id=xcloud.os_standard_global_auto_number.htm&type=5' target='_blank'>Omni Interaction Configurations</a> and try again.",
143
+ "errorCheckingRollbackFlags": "Error checking rollback flags status.",
144
+ "startingPostMigrationCleanup": "Starting post-migration cleanup for Global Auto Number...",
145
+ "postMigrationCleanupCompleted": "Post-migration cleanup completed successfully.",
146
+ "errorDuringPostMigrationCleanup": "We’ve encountered an error during the post-migration cleanup. Try again later.",
147
+ "duplicatedGlobalAutoNumberName": "Duplicated Global Auto Number name",
148
+ "errorWhileUploadingGlobalAutoNumber": "An error occurred while uploading Global Auto Number: ",
149
+ "startingGlobalAutoNumberAssessment": "Starting Global Auto Number assessment...",
150
+ "foundGlobalAutoNumbersToAssess": "Found %s Global Auto Numbers to assess",
151
+ "unexpectedError": "An unexpected error occurred during processing",
152
+ "migrationValidationFailed": "Post Migration validation failed.",
153
+ "incompleteMigrationDetected": "Incomplete migration detected. Source objects: %s, Target objects: %s.",
154
+ "experienceSiteMetadataConsent": "The consent for exp site is %s",
155
+ "experienceSiteConsentNotProvidedWarning": "Consent for experience sites is not provided. Experience sites will not be processed",
156
+ "relatedObjectsToProcessAfterExpSitesRemoval": "Objects to process after removing expsite are",
157
+ "experienceBundleMetadataAPIAlreadyEnabled": "ExperienceBundle metadata api is already enabled",
158
+ "enableExperienceBundleMetadataAPIProgramatically": "ExperienceBundle metadata api needs to be programatically enabled",
159
+ "unableToEnableExperienceBundleMetadataAPI": "Since the api could not able enabled the experience sites would not be processed",
160
+ "relatedObjectsToProcess": "Objects to process are",
161
+ "consentForExperienceSites": "'By proceeding further, you hereby consent to enable digital experience metadata api(y/n). If y sites will be processed, if n expsites will not be processed';",
162
+ "failedToGetConsentError": "Failed to get user consent: %s",
163
+ "settingDesignersToStandardModel": "Setting designers to use the standard data model",
164
+ "errorSettingDesignersToStandardModel": "Error occurred while setting designers to use the standard data model",
165
+ "designersSetToStandardModel": "Successfully executed setDesignersToUseStandardDataModel",
166
+ "exceptionSettingDesignersToStandardModel": "Exception occurred while setting designers to use the standard data model",
167
+ "noRelatedObjects": "No related objects to process",
168
+ "turnOffExperienceBundleAPI": "Since ExperienceSiteMetadata API was programatically enabled, turing it off",
169
+ "errorRevertingExperienceBundleMetadataAPI": "Exception occurred while reverting metadata API. Please do that manually",
170
+ "processingExperienceSites": "Starting experience sites processing for %s",
171
+ "experienceSitesProcessingStarted": "Started processing the experience sites",
172
+ "experienceSiteSuccessfullyProcessed": "Successfully processed experience sites for %s",
173
+ "readingFile": "Started reading the files",
174
+ "totalFileCount": "The total count of files is %s",
175
+ "skipNonJsonFile": "Skipping non-JSON file - %s",
176
+ "experienceSiteWithOmniWrapperSuccessfullyProcessed": "Successfully processed experience site file having vlocity wrapper",
177
+ "fileNotHavingWrapper": "File does not contain vlocity wrapper",
178
+ "errorProcessingExperienceSite": "Error processing experience site file",
179
+ "experienceSiteReportingDetails": "Only the files in which have vlocity wrapper will be shown in the assessment report",
180
+ "processingFile": "Processing for file",
181
+ "currentRegionOfExperienceSite": "The current region being processed is %s",
182
+ "currentComponentOfExperienceSite": "The current component being processed is %s",
183
+ "omniWrapperFound": "Omnistudio wrapper component found",
184
+ "printUpdatedObject": "Now printing the updated object %s",
185
+ "printDifference": "Printing the difference %s",
186
+ "updatingFile": "Updating the file content",
187
+ "processingFlexcardComponent": "Started processing FC component %s",
188
+ "processingOmniscriptComponent": "Started processing OS component",
189
+ "targetData": "The target data is %s",
190
+ "manualInterventionForExperienceSite": "%s needs manual intervention as the migrated key does not exist",
191
+ "manualInterventionForExperienceSiteAsFailure": "%s needs manual intervention as migration failed",
192
+ "manualInterventionForExperienceSiteAsDuplicateKey": "%s needs manual intervention as duplicated key found in storage",
193
+ "updatingStorageForOmniscipt": "Started updating storage for omniscript %s",
194
+ "keyAlreadyInStorage": "Key %s already exists in storage",
195
+ "flexcardStorageProcessingStarted": "Started preparing storage for flexcards",
196
+ "errorWhileProcessingFlexcardStorage": "Error occurred while processing key for flexcard storage",
197
+ "missingInfo": "Info is missing",
198
+ "errorCheckingGlobalAutoNumber": "We couldn’t check whether the Global Auto Number setting is enabled: %s. Try again later.",
199
+ "errorMigrationMessage": "Error migrating object: %s",
200
+ "nameMappingUndefined": "Name Mapping is undefined",
201
+ "experienceSiteException": "Exception occurred while processing experience sites"
95
202
  }