@salesforce/plugin-omnistudio-migration-tool 2.0.0-dev.3 → 2.0.0-dev.4
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/lib/utils/orgPreferences.d.ts +1 -0
- package/lib/utils/orgPreferences.js +11 -0
- package/lib/utils/orgPreferences.js.map +1 -1
- package/lib/utils/validatorService.d.ts +1 -0
- package/lib/utils/validatorService.js +20 -0
- package/lib/utils/validatorService.js.map +1 -1
- package/messages/assess.json +6 -2
- package/messages/migrate.json +5 -1
- package/oclif.manifest.json +1 -1
- package/package.json +3 -3
|
@@ -26,6 +26,7 @@ export declare class OrgPreferences {
|
|
|
26
26
|
* @returns {Promise<void>}
|
|
27
27
|
*/
|
|
28
28
|
static enableOmniPreferences(connection: Connection): Promise<void>;
|
|
29
|
+
static checkDRVersioning(connection: Connection): Promise<boolean>;
|
|
29
30
|
/**
|
|
30
31
|
* Checks which rollback flags are enabled in OmniInteractionConfig
|
|
31
32
|
*
|
|
@@ -32,6 +32,17 @@ class OrgPreferences {
|
|
|
32
32
|
throw new Error(`Failed to enable disableRollbackFlagsPref: ${error instanceof Error ? error.message : String(error)}`);
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
|
+
static async checkDRVersioning(connection) {
|
|
36
|
+
try {
|
|
37
|
+
const result = await connection.metadata.read('OmniStudioSettings', ['OmniStudioDrVersionOrgPreference']);
|
|
38
|
+
logger_1.Logger.captureVerboseData('DR version response', result);
|
|
39
|
+
const metadata = result;
|
|
40
|
+
return metadata.enableOmniStudioDrVersion === 'true';
|
|
41
|
+
}
|
|
42
|
+
catch (error) {
|
|
43
|
+
throw new Error(`Failed to read DR version: ${error instanceof Error ? error.message : String(error)}`);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
35
46
|
/**
|
|
36
47
|
* Checks which rollback flags are enabled in OmniInteractionConfig
|
|
37
48
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orgPreferences.js","sourceRoot":"","sources":["../../src/utils/orgPreferences.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"orgPreferences.js","sourceRoot":"","sources":["../../src/utils/orgPreferences.ts"],"names":[],"mappings":";;;AAQA,qCAAkC;AAElC;;;;;GAKG;AACH,MAAa,cAAc;IAWzB;;;;;;;;;OASG;IACI,MAAM,CAAC,KAAK,CAAC,qBAAqB,CAAC,UAAsB;QAC9D,IAAI;YACF,MAAM,UAAU,CAAC,QAAQ,CAAC,MAAM,CAAC,oBAAoB,EAAE;gBACrD;oBACE,QAAQ,EAAE,YAAY;oBACtB,wBAAwB,EAAE,IAAI;iBACD;aAChC,CAAC,CAAC;SACJ;QAAC,OAAO,KAAK,EAAE;YACd,MAAM,IAAI,KAAK,CACb,8CAA8C,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CACvG,CAAC;SACH;IACH,CAAC;IAEM,MAAM,CAAC,KAAK,CAAC,iBAAiB,CAAC,UAAsB;QAC1D,IAAI;YACF,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,oBAAoB,EAAE,CAAC,kCAAkC,CAAC,CAAC,CAAC;YAC1G,eAAM,CAAC,kBAAkB,CAAC,qBAAqB,EAAE,MAAM,CAAC,CAAC;YACzD,MAAM,QAAQ,GAAG,MAAsB,CAAC;YACxC,OAAO,QAAQ,CAAC,yBAAyB,KAAK,MAAM,CAAC;SACtD;QAAC,OAAO,KAAK,EAAE;YACd,MAAM,IAAI,KAAK,CAAC,8BAA8B,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;SACzG;IACH,CAAC;IAED;;;;;;;;;OASG;IACI,MAAM,CAAC,KAAK,CAAC,kBAAkB,CAAC,UAAsB;QAC3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AAM,GAAG,MAAM,UAAU,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;YAC7C,sEAAsE;YACtE,IAAI,CAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,SAAS,IAAG,CAAC,EAAE;gBACzB,sEAAsE;gBACtE,MAAM,OAAO,GAAG,MAAM,CAAC,OAA0D,CAAC;gBAElF,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE;oBAC5B,IAAI,MAAM,CAAC,KAAK,KAAK,iBAAiB,EAAE;wBACtC,OAAO,IAAI,CAAC;qBACb;iBACF;gBACD,OAAO,KAAK,CAAC;aACd;iBAAM;gBACL,OAAO,KAAK,CAAC;aACd;SACF;QAAC,OAAO,KAAK,EAAE;YACd,gEAAgE;YAChE,MAAM,MAAM,GAAG,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;YACtE,eAAM,CAAC,KAAK,CAAC,kDAAkD,iBAAiB,KAAK,MAAM,EAAE,CAAC,CAAC;YAC/F,OAAO,KAAK,CAAC;SACd;IACH,CAAC;;AA/LH,wCAgMC;AA/LC;;;;;;;GAOG;AACqB,6BAAc,GAAa,CAAC,mBAAmB,EAAE,mBAAmB,EAAE,mBAAmB,CAAC,CAAC"}
|
|
@@ -4,6 +4,7 @@ exports.ValidatorService = void 0;
|
|
|
4
4
|
const logger_1 = require("../utils/logger");
|
|
5
5
|
const dataModelService_1 = require("./dataModelService");
|
|
6
6
|
const OmnistudioSettingsPrefManager_1 = require("./OmnistudioSettingsPrefManager");
|
|
7
|
+
const orgPreferences_1 = require("./orgPreferences");
|
|
7
8
|
class ValidatorService {
|
|
8
9
|
constructor(orgs, messages, connection) {
|
|
9
10
|
this.orgs = orgs;
|
|
@@ -15,6 +16,10 @@ class ValidatorService {
|
|
|
15
16
|
if (!basicValidation) {
|
|
16
17
|
return false;
|
|
17
18
|
}
|
|
19
|
+
const isDRVersioningDisabled = await this.validateDrVersioningDisabled();
|
|
20
|
+
if (!isDRVersioningDisabled) {
|
|
21
|
+
return false;
|
|
22
|
+
}
|
|
18
23
|
// If data model is standard no need to check for the licences
|
|
19
24
|
const isStandard = (0, dataModelService_1.isStandardDataModel)();
|
|
20
25
|
if (isStandard) {
|
|
@@ -73,6 +78,21 @@ class ValidatorService {
|
|
|
73
78
|
return false;
|
|
74
79
|
}
|
|
75
80
|
}
|
|
81
|
+
async validateDrVersioningDisabled() {
|
|
82
|
+
logger_1.Logger.logVerbose(this.messages.getMessage('validatingDrVersioningDisabled'));
|
|
83
|
+
try {
|
|
84
|
+
const drVersion = await orgPreferences_1.OrgPreferences.checkDRVersioning(this.connection);
|
|
85
|
+
if (!drVersion) {
|
|
86
|
+
logger_1.Logger.logVerbose(this.messages.getMessage('drVersioningDisabled'));
|
|
87
|
+
return true;
|
|
88
|
+
}
|
|
89
|
+
logger_1.Logger.error(this.messages.getMessage('drVersioningEnabled'));
|
|
90
|
+
}
|
|
91
|
+
catch (error) {
|
|
92
|
+
logger_1.Logger.error(this.messages.getMessage('errorValidatingDrVersioning'));
|
|
93
|
+
}
|
|
94
|
+
return false;
|
|
95
|
+
}
|
|
76
96
|
}
|
|
77
97
|
exports.ValidatorService = ValidatorService;
|
|
78
98
|
//# sourceMappingURL=validatorService.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validatorService.js","sourceRoot":"","sources":["../../src/utils/validatorService.ts"],"names":[],"mappings":";;;AACA,4CAAyC;AAEzC,yDAAyD;AACzD,mFAAgF;
|
|
1
|
+
{"version":3,"file":"validatorService.js","sourceRoot":"","sources":["../../src/utils/validatorService.ts"],"names":[],"mappings":";;;AACA,4CAAyC;AAEzC,yDAAyD;AACzD,mFAAgF;AAChF,qDAAkD;AAElD,MAAa,gBAAgB;IAI3B,YAAmB,IAA0B,EAAE,QAAkB,EAAE,UAAsB;QACvF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,C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,CAAC,UAAU,CAAC,gCAAgC,CAAC,CAAC,CAAC;QAC9E,IAAI;YACF,MAAM,SAAS,GAAG,MAAM,+BAAc,CAAC,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;YAC1E,IAAI,CAAC,SAAS,EAAE;gBACd,eAAM,CAAC,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,sBAAsB,CAAC,CAAC,CAAC;gBACpE,OAAO,IAAI,CAAC;aACb;YACD,eAAM,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,qBAAqB,CAAC,CAAC,CAAC;SAC/D;QAAC,OAAO,KAAK,EAAE;YACd,eAAM,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,6BAA6B,CAAC,CAAC,CAAC;SACvE;QACD,OAAO,KAAK,CAAC;IACf,CAAC;CACF;AAnGD,4CAmGC"}
|
package/messages/assess.json
CHANGED
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"fileImplementsVlocityOpenInterface": "The %s file implements VlocityOpenInterface. Changes will be applied.",
|
|
93
93
|
"methodCallBundleNameUpdated": "Method call bundle name will be updated in %s for the %s class and %s method.",
|
|
94
94
|
"cardNameChangeMessage": "The Flexcard name will be changed from %s to %s to adhere to the API naming standards.",
|
|
95
|
-
"authordNameChangeMessage": "The Flexcard author name will be changed from %s to %s to adhere to the naming rules
|
|
95
|
+
"authordNameChangeMessage": "The Flexcard author name will be changed from %s to %s to adhere to the naming rules",
|
|
96
96
|
"cardLWCNameChangeMessage": "The Flexcard generated LWC name will be changed from %s to %s to align with Flexcard name change.",
|
|
97
97
|
"omniScriptNameChangeMessage": "The Omniscript reference name %s will be changed to %s during migration.",
|
|
98
98
|
"dataRaptorNameChangeMessage": "The Data Mapper name will be changed from %s to %s during migration.",
|
|
@@ -204,5 +204,9 @@
|
|
|
204
204
|
"assessmentSuccessfulMessage": "Migration assessment for org %s is complete and reports are ready for review in the folder %s",
|
|
205
205
|
"errorCheckingOmniStudioMetadata": "Error while checking the Omnistudio settings metadata status: %s.",
|
|
206
206
|
"omniStudioSettingsMetadataAlreadyEnabled": "The Omnistudio Metadata setting is already enabled with standard data model. No need for migration.",
|
|
207
|
-
"missingMandatoryField": "Missing mandatory field: %s for %s"
|
|
207
|
+
"missingMandatoryField": "Missing mandatory field: %s for %s",
|
|
208
|
+
"validatingDrVersioningDisabled": "Checking the Data Mapper versioning setting in your org.",
|
|
209
|
+
"drVersioningDisabled": "Proceeding with the assessment as the Data Mapper versioning setting is disabled.",
|
|
210
|
+
"drVersioningEnabled": "We cannot proceed with the assessment as the Data Mapper versioning setting is enabled in your org.",
|
|
211
|
+
"errorValidatingDrVersioning": "Failed to verify the status of the Data Mapper versioning setting. Try again later."
|
|
208
212
|
}
|
package/messages/migrate.json
CHANGED
|
@@ -308,5 +308,9 @@
|
|
|
308
308
|
"omniStudioAllVersionsMigrationConsent": "Org uses the standard data model. All versions of Omnistudio components such as Omniscripts, Data Mappers, Integration Procedures, and Flexcards must be migrated to enable the Omnistudio Metadata API setting. But you’ve not specified -a or allversions flag in the command. Proceed to migrate all versions of the Omnistudio components? [y/n]",
|
|
309
309
|
"omniStudioAllVersionsMigrationConsentNotGiven": "You've not consented to migrate all versions of the Omnistudio components. We cannot proceed with the migration.",
|
|
310
310
|
"omniStudioAllVersionsMigrationConsentGiven": "You've consented to migrate all versions of the Omnistudio components.",
|
|
311
|
-
"customLWCFlexCardReferenceUpdated": "Updated Custom LWC FlexCard reference: %s -> cf%s"
|
|
311
|
+
"customLWCFlexCardReferenceUpdated": "Updated Custom LWC FlexCard reference: %s -> cf%s",
|
|
312
|
+
"validatingDrVersioningDisabled": "Checking the Data Mapper versioning setting in your org.",
|
|
313
|
+
"drVersioningDisabled": "Proceeding with the migration as the Data Mapper versioning setting is disabled.",
|
|
314
|
+
"drVersioningEnabled": "We cannot proceed with the migration as the Data Mapper versioning setting is enabled in your org.",
|
|
315
|
+
"errorValidatingDrVersioning": "Failed to verify the status of the Data Mapper versioning setting. Try again later."
|
|
312
316
|
}
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"2.0.0-dev.
|
|
1
|
+
{"version":"2.0.0-dev.4","commands":{"basecommand":{"id":"basecommand","usage":"<%= command.id %> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-omnistudio-migration-tool","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"}},"args":[]},"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","usage":"<%= command.id %> [-o <string>] [-a] [-r <string>] [-u <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","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":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"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}},"args":[{"name":"file"}]},"omnistudio:migration:info":{"id":"omnistudio:migration:info","description":"print a greeting and your org IDs","usage":"<%= command.id %> [-n <string>] [-a] [-v <string>] [-u <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","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":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"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":[{"name":"file"}]},"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","usage":"<%= command.id %> [-o <string>] [-a] [-r <string>] [-u <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","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":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"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}},"args":[{"name":"file"}]}}}
|
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-dev.
|
|
4
|
+
"version": "2.0.0-dev.4",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
7
7
|
"dependencies": {
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
}
|
|
162
162
|
},
|
|
163
163
|
"sfdx": {
|
|
164
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-omnistudio-migration-tool/2.0.0-dev.
|
|
165
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-omnistudio-migration-tool/2.0.0-dev.
|
|
164
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-omnistudio-migration-tool/2.0.0-dev.4.crt",
|
|
165
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-omnistudio-migration-tool/2.0.0-dev.4.sig"
|
|
166
166
|
}
|
|
167
167
|
}
|