@salesforce/plugin-omnistudio-migration-tool 2.0.0-preview.23 → 2.0.0-preview.24

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.
@@ -95,7 +95,7 @@ class CustomLabelsMigrationTool extends base_1.BaseMigrationTool {
95
95
  name: this.getName(),
96
96
  results: emptyMap,
97
97
  records: emptyMap, // Both point to the same empty map
98
- errors: [String(error)],
98
+ errors: [this.messages.getMessage('customLabelMigrationErrorMessage')],
99
99
  },
100
100
  ];
101
101
  }
@@ -1 +1 @@
1
- {"version":3,"file":"customLabels.js","sourceRoot":"","sources":["../../src/migration/customLabels.ts"],"names":[],"mappings":";;;AAMA,sCAAuD;AACvD,4CAAyC;AACzC,sEAA8D;AAC9D,iCAA2C;AAmD3C,MAAa,yBAA0B,SAAQ,wBAAiB;IAC9D,YAAmB,SAAiB,EAAE,UAAsB,EAAE,MAAc,EAAE,QAA0B,EAAE,EAAM;QAC9G,KAAK,CAAC,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,CAAC,CAAC;IACrD,CAAC;IAEM,OAAO;QACZ,OAAO,eAAe,CAAC;IACzB,CAAC;IAEM,aAAa,CAAC,MAAyB;QAC5C,OAAO,MAAM,CAAC,SAAS,IAAI,MAAM,CAAC,IAAI,IAAI,SAAS,CAAC;IACtD,CAAC;IAEM,WAAW;QAChB,OAAO;YACL;gBACE,MAAM,EAAE,eAAe;gBACvB,MAAM,EAAE,eAAe;aACxB;SACF,CAAC;IACJ,CAAC;IAEM,KAAK,CAAC,QAAQ;QACnB,kEAAkE;QAClE,eAAM,CAAC,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,+BAA+B,CAAC,CAAC,CAAC;QACtE,MAAM,OAAO,CAAC,OAAO,EAAE,CAAC;IAC1B,CAAC;IAEM,KAAK,CAAC,OAAO;QAClB,IAAI,CAAC;YACH,eAAM,CAAC,GAAG,CAAC,IAAI,C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AK,EAAE,CAAC;YACvD;gBACE,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;QACzD,CAAC;IACH,CAAC;CACF;AA3LD,8DA2LC"}
@@ -18,4 +18,5 @@ export declare const documentRegistry: {
18
18
  duplicateCardNameMessage: string;
19
19
  reservedKeysFoundInPropertySet: string;
20
20
  manualDeploymentSteps: string;
21
+ customLabelMigrationErrorMessage: string;
21
22
  };
@@ -21,5 +21,6 @@ exports.documentRegistry = {
21
21
  duplicateCardNameMessage: 'https://help.salesforce.com/s/articleView?id=xcloud.os_clone_a_flexcard.htm&type=5',
22
22
  reservedKeysFoundInPropertySet: 'https://help.salesforce.com/s/articleView?id=xcloud.os_omnistudio_naming_conventions.htm&type=5',
23
23
  manualDeploymentSteps: 'https://help.salesforce.com/s/articleView?id=xcloud.os_standard_set_up_your_environment_for_customizing_omniscript_elements.htm&type=5',
24
+ customLabelMigrationErrorMessage: 'https://help.salesforce.com/s/articleView?id=xcloud.os_migrate_oma_prereq.htm&type=5',
24
25
  };
25
26
  //# sourceMappingURL=documentRegistry.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"documentRegistry.js","sourceRoot":"","sources":["../../../src/utils/constants/documentRegistry.ts"],"names":[],"mappings":";;;AAAa,QAAA,gBAAgB,GAAG;IAC9B,wCAAwC,EACtC,iGAAiG;IACnG,kBAAkB,EAAE,iGAAiG;IACrH,gBAAgB,EAAE,iGAAiG;IACnH,gBAAgB,EAAE,iGAAiG;IACnH,cAAc,EAAE,iGAAiG;IACjH,sBAAsB,EAAE,0FAA0F;IAClH,wBAAwB,EACtB,gHAAgH;IAClH,uBAAuB,EACrB,gHAAgH;IAClH,gBAAgB,EACd,sHAAsH;IACxH,kBAAkB,EAAE,4FAA4F;IAChH,qBAAqB,EAAE,4FAA4F;IACnH,qBAAqB,EACnB,iGAAiG;IACnG,2BAA2B,EACzB,0HAA0H;IAC5H,2BAA2B,EACzB,sIAAsI;IACxI,qCAAqC,EACnC,sIAAsI;IACxI,uCAAuC,EACrC,sIAAsI;IACxI,wBAAwB,EAAE,oFAAoF;IAC9G,8BAA8B,EAC5B,iGAAiG;IACnG,qBAAqB,EACnB,wIAAwI;CAC3I,CAAC"}
1
+ {"version":3,"file":"documentRegistry.js","sourceRoot":"","sources":["../../../src/utils/constants/documentRegistry.ts"],"names":[],"mappings":";;;AAAa,QAAA,gBAAgB,GAAG;IAC9B,wCAAwC,EACtC,iGAAiG;IACnG,kBAAkB,EAAE,iGAAiG;IACrH,gBAAgB,EAAE,iGAAiG;IACnH,gBAAgB,EAAE,iGAAiG;IACnH,cAAc,EAAE,iGAAiG;IACjH,sBAAsB,EAAE,0FAA0F;IAClH,wBAAwB,EACtB,gHAAgH;IAClH,uBAAuB,EACrB,gHAAgH;IAClH,gBAAgB,EACd,sHAAsH;IACxH,kBAAkB,EAAE,4FAA4F;IAChH,qBAAqB,EAAE,4FAA4F;IACnH,qBAAqB,EACnB,iGAAiG;IACnG,2BAA2B,EACzB,0HAA0H;IAC5H,2BAA2B,EACzB,sIAAsI;IACxI,qCAAqC,EACnC,sIAAsI;IACxI,uCAAuC,EACrC,sIAAsI;IACxI,wBAAwB,EAAE,oFAAoF;IAC9G,8BAA8B,EAC5B,iGAAiG;IACnG,qBAAqB,EACnB,wIAAwI;IAC1I,gCAAgC,EAC9B,sFAAsF;CACzF,CAAC"}
@@ -232,6 +232,7 @@
232
232
  "startingCustomLabelMigration": "Starting Custom Labels migration",
233
233
  "customLabelMigrationCompleted": "Custom Labels migration completed. %s labels processed out of %s total",
234
234
  "errorDuringCustomLabelMigration": "Error during Custom Labels migration: %s",
235
+ "customLabelMigrationErrorMessage": "We couldn’t complete the Custom Labels migration. Check your org configuration and confirm it meets the requirements outlined <a href='https://help.salesforce.com/s/articleView?id=xcloud.os_migrate_oma_prereq.htm&type=5' target='_blank'>here</a>.",
235
236
  "callingCloneCustomLabelsAPI": "Calling clone-custom-labels API for namespace: %s",
236
237
  "cloneCustomLabelsAPIResponse": "Clone custom labels API response summary: %s results",
237
238
  "errorCallingCloneCustomLabelsAPI": "Error calling clone-custom-labels API: %s",
@@ -1 +1 @@
1
- {"version":"2.0.0-preview.23","commands":{"omnistudio:migration:assess":{"id":"omnistudio:migration:assess","description":"If your Omnistudio components are on custom data model, assess the migration of the components from Omnistudio managed package runtime to Omnistudio standard runtime. If your Omnistudio components are on standard data model, assess the updates made to the component names and references.See: https://help.salesforce.com/s/articleView?id=xcloud.os_omnistudio_naming_conventions.htm&type=5","pluginName":"@salesforce/plugin-omnistudio-migration-tool","pluginType":"core","aliases":[],"examples":["omnistudio:migration:assess -u orguser@domain.com ","omnistudio:migration:assess -u orguser@domain.com --only=dm","omnistudio:migration:assess -u orguser@domain.com --only=ip","omnistudio:migration:assess -u orguser@domain.com --only=os","omnistudio:migration:assess -u orguser@domain.com --only=fc","omnistudio:migration:assess -u orguser@domain.com --only=cl","omnistudio:migration:assess -u orguser@domain.com --only=autonumber","omnistudio:migration:assess -u orguser@domain.com --relatedobjects apex,lwc,flexipage,expsites","omnistudio:migration:assess -u orguser@domain.com -r apex,lwc,flexipage,expsites"],"flags":{"target-org":{"name":"target-org","type":"option","char":"u","required":true,"default":{}},"only":{"name":"only","type":"option","char":"o","description":"Migrate a single component: os | ip | fc | dm | autonumber | cl"},"allversions":{"name":"allversions","type":"boolean","char":"a","description":"Migrate all versions of a component","required":false,"allowNo":false},"relatedobjects":{"name":"relatedobjects","type":"option","char":"r","description":"Select the component type that you want 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."},"verbose":{"name":"verbose","type":"boolean","description":"Enable verbose output","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"Logging level (deprecated, use --verbose instead)"}},"args":[]},"omnistudio:migration:info":{"id":"omnistudio:migration:info","description":"print a greeting and your org IDs","pluginName":"@salesforce/plugin-omnistudio-migration-tool","pluginType":"core","aliases":[],"examples":["sfdx omnistudio:migration:info --targetusername myOrg@example.com --targetdevhubusername devhub@org.com","sfdx omnistudio:migration:info --name myname --targetusername myOrg@example.com"],"flags":{"target-org":{"name":"target-org","type":"option","char":"u","required":true,"default":{}},"name":{"name":"name","type":"option","char":"n","description":"name to print"},"allversions":{"name":"allversions","type":"boolean","char":"a","description":"Migrate all versions of a component","required":false,"allowNo":false},"verbose":{"name":"verbose","type":"boolean","description":"Enable verbose output","allowNo":false}},"args":[]},"omnistudio:migration:migrate":{"id":"omnistudio:migration:migrate","description":"If your Omnistudio components are on custom data model, migrate the components from custom data model to standard data model, and switch the runtime from Omnistudio managed package runtime to Omnistudio standard runtime. If your Omnistudio components are on standard data model, the component names and references will be updated to contain only alphanumeric characters. This update is required to enable the metadata API. See: https://help.salesforce.com/s/articleView?id=xcloud.os_omnistudio_naming_conventions.htm&type=5","pluginName":"@salesforce/plugin-omnistudio-migration-tool","pluginType":"core","aliases":[],"examples":["omnistudio:migration:migrate -u orguser@domain.com ","omnistudio:migration:migrate -u orguser@domain.com --only=dm","omnistudio:migration:migrate -u orguser@domain.com --only=ip","omnistudio:migration:migrate -u orguser@domain.com --only=os","omnistudio:migration:migrate -u orguser@domain.com --only=fc","omnistudio:migration:migrate -u orguser@domain.com --only=autonumber","omnistudio:migration:migrate -u orguser@domain.com --only=cl","omnistudio:migration:migrate -u orguser@domain.com --relatedobjects apex,lwc,flexipage,expsites","omnistudio:migration:migrate -u orguser@domain.com -r apex,lwc,flexipage,expsites","omnistudio:migration:migrate -u orguser@domain.com -r apex","omnistudio:migration:migrate -u orguser@domain.com -r lwc"],"flags":{"target-org":{"name":"target-org","type":"option","char":"u","required":true,"default":{}},"only":{"name":"only","type":"option","char":"o","description":"Migrate a single component: os | ip | fc | dm | autonumber | cl"},"allversions":{"name":"allversions","type":"boolean","char":"a","description":"Migrate all versions of a component","required":false,"allowNo":false},"relatedobjects":{"name":"relatedobjects","type":"option","char":"r","description":"Select the component type that you want 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."},"verbose":{"name":"verbose","type":"boolean","description":"Enable verbose output","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"Logging level (deprecated, use --verbose instead)"}},"args":[]}}}
1
+ {"version":"2.0.0-preview.24","commands":{"omnistudio:migration:assess":{"id":"omnistudio:migration:assess","description":"If your Omnistudio components are on custom data model, assess the migration of the components from Omnistudio managed package runtime to Omnistudio standard runtime. If your Omnistudio components are on standard data model, assess the updates made to the component names and references.See: https://help.salesforce.com/s/articleView?id=xcloud.os_omnistudio_naming_conventions.htm&type=5","pluginName":"@salesforce/plugin-omnistudio-migration-tool","pluginType":"core","aliases":[],"examples":["omnistudio:migration:assess -u orguser@domain.com ","omnistudio:migration:assess -u orguser@domain.com --only=dm","omnistudio:migration:assess -u orguser@domain.com --only=ip","omnistudio:migration:assess -u orguser@domain.com --only=os","omnistudio:migration:assess -u orguser@domain.com --only=fc","omnistudio:migration:assess -u orguser@domain.com --only=cl","omnistudio:migration:assess -u orguser@domain.com --only=autonumber","omnistudio:migration:assess -u orguser@domain.com --relatedobjects apex,lwc,flexipage,expsites","omnistudio:migration:assess -u orguser@domain.com -r apex,lwc,flexipage,expsites"],"flags":{"target-org":{"name":"target-org","type":"option","char":"u","required":true,"default":{}},"only":{"name":"only","type":"option","char":"o","description":"Migrate a single component: os | ip | fc | dm | autonumber | cl"},"allversions":{"name":"allversions","type":"boolean","char":"a","description":"Migrate all versions of a component","required":false,"allowNo":false},"relatedobjects":{"name":"relatedobjects","type":"option","char":"r","description":"Select the component type that you want 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."},"verbose":{"name":"verbose","type":"boolean","description":"Enable verbose output","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"Logging level (deprecated, use --verbose instead)"}},"args":[]},"omnistudio:migration:info":{"id":"omnistudio:migration:info","description":"print a greeting and your org IDs","pluginName":"@salesforce/plugin-omnistudio-migration-tool","pluginType":"core","aliases":[],"examples":["sfdx omnistudio:migration:info --targetusername myOrg@example.com --targetdevhubusername devhub@org.com","sfdx omnistudio:migration:info --name myname --targetusername myOrg@example.com"],"flags":{"target-org":{"name":"target-org","type":"option","char":"u","required":true,"default":{}},"name":{"name":"name","type":"option","char":"n","description":"name to print"},"allversions":{"name":"allversions","type":"boolean","char":"a","description":"Migrate all versions of a component","required":false,"allowNo":false},"verbose":{"name":"verbose","type":"boolean","description":"Enable verbose output","allowNo":false}},"args":[]},"omnistudio:migration:migrate":{"id":"omnistudio:migration:migrate","description":"If your Omnistudio components are on custom data model, migrate the components from custom data model to standard data model, and switch the runtime from Omnistudio managed package runtime to Omnistudio standard runtime. If your Omnistudio components are on standard data model, the component names and references will be updated to contain only alphanumeric characters. This update is required to enable the metadata API. See: https://help.salesforce.com/s/articleView?id=xcloud.os_omnistudio_naming_conventions.htm&type=5","pluginName":"@salesforce/plugin-omnistudio-migration-tool","pluginType":"core","aliases":[],"examples":["omnistudio:migration:migrate -u orguser@domain.com ","omnistudio:migration:migrate -u orguser@domain.com --only=dm","omnistudio:migration:migrate -u orguser@domain.com --only=ip","omnistudio:migration:migrate -u orguser@domain.com --only=os","omnistudio:migration:migrate -u orguser@domain.com --only=fc","omnistudio:migration:migrate -u orguser@domain.com --only=autonumber","omnistudio:migration:migrate -u orguser@domain.com --only=cl","omnistudio:migration:migrate -u orguser@domain.com --relatedobjects apex,lwc,flexipage,expsites","omnistudio:migration:migrate -u orguser@domain.com -r apex,lwc,flexipage,expsites","omnistudio:migration:migrate -u orguser@domain.com -r apex","omnistudio:migration:migrate -u orguser@domain.com -r lwc"],"flags":{"target-org":{"name":"target-org","type":"option","char":"u","required":true,"default":{}},"only":{"name":"only","type":"option","char":"o","description":"Migrate a single component: os | ip | fc | dm | autonumber | cl"},"allversions":{"name":"allversions","type":"boolean","char":"a","description":"Migrate all versions of a component","required":false,"allowNo":false},"relatedobjects":{"name":"relatedobjects","type":"option","char":"r","description":"Select the component type that you want 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."},"verbose":{"name":"verbose","type":"boolean","description":"Enable verbose output","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"Logging level (deprecated, use --verbose instead)"}},"args":[]}}}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-omnistudio-migration-tool",
3
3
  "description": "This SFDX plugin migrates FlexCard, OmniScript, DataRaptor, and Integration Procedure custom objects to standard objects.",
4
- "version": "2.0.0-preview.23",
4
+ "version": "2.0.0-preview.24",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "dependencies": {
@@ -163,7 +163,7 @@
163
163
  }
164
164
  },
165
165
  "sfdx": {
166
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-omnistudio-migration-tool/2.0.0-preview.23.crt",
167
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-omnistudio-migration-tool/2.0.0-preview.23.sig"
166
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-omnistudio-migration-tool/2.0.0-preview.24.crt",
167
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-omnistudio-migration-tool/2.0.0-preview.24.sig"
168
168
  }
169
169
  }