sfdx-browserforce-plugin 2.9.13 → 2.10.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.
@@ -7,10 +7,11 @@ import { EmailDeliverability as emailDeliverability } from './email-deliverabili
7
7
  import { HighVelocitySalesSettings as highVelocitySalesSettings } from './high-velocity-sales-settings';
8
8
  import { HomePageLayouts as homePageLayouts } from './home-page-layouts';
9
9
  import { LightningExperienceSettings as lightningExperienceSettings } from './lightning-experience-settings';
10
+ import { OpportunitySplits as opportunitySplits } from './opportunity-splits';
10
11
  import { Picklists as picklists } from './picklists';
11
12
  import { RecordTypes as recordTypes } from './record-types';
13
+ import { RelateContactToMultipleAccounts as relateContactToMultipleAccounts } from './relate-contact-to-multiple-accounts';
12
14
  import { ReportsAndDashboards as reportsAndDashboards } from './reports-and-dashboards';
13
15
  import { SalesforceToSalesforce as salesforceToSalesforce } from './salesforce-to-salesforce';
14
16
  import { Security as security } from './security';
15
- import { RelateContactToMultipleAccounts as relateContactToMultipleAccounts } from './relate-contact-to-multiple-accounts';
16
- export { relateContactToMultipleAccounts, activitySettings, communities, customerPortal, deferSharingCalculation, densitySettings, emailDeliverability, highVelocitySalesSettings, homePageLayouts, lightningExperienceSettings, picklists, recordTypes, reportsAndDashboards, salesforceToSalesforce, security };
17
+ export { activitySettings, communities, customerPortal, deferSharingCalculation, densitySettings, emailDeliverability, highVelocitySalesSettings, homePageLayouts, lightningExperienceSettings, opportunitySplits, picklists, recordTypes, relateContactToMultipleAccounts, reportsAndDashboards, salesforceToSalesforce, security };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.security = exports.salesforceToSalesforce = exports.reportsAndDashboards = exports.recordTypes = exports.picklists = exports.lightningExperienceSettings = exports.homePageLayouts = exports.highVelocitySalesSettings = exports.emailDeliverability = exports.densitySettings = exports.deferSharingCalculation = exports.customerPortal = exports.communities = exports.activitySettings = exports.relateContactToMultipleAccounts = void 0;
3
+ exports.security = exports.salesforceToSalesforce = exports.reportsAndDashboards = exports.relateContactToMultipleAccounts = exports.recordTypes = exports.picklists = exports.opportunitySplits = exports.lightningExperienceSettings = exports.homePageLayouts = exports.highVelocitySalesSettings = exports.emailDeliverability = exports.densitySettings = exports.deferSharingCalculation = exports.customerPortal = exports.communities = exports.activitySettings = void 0;
4
4
  const activity_settings_1 = require("./activity-settings");
5
5
  Object.defineProperty(exports, "activitySettings", { enumerable: true, get: function () { return activity_settings_1.ActivitySettings; } });
6
6
  const communities_1 = require("./communities");
@@ -19,16 +19,18 @@ const home_page_layouts_1 = require("./home-page-layouts");
19
19
  Object.defineProperty(exports, "homePageLayouts", { enumerable: true, get: function () { return home_page_layouts_1.HomePageLayouts; } });
20
20
  const lightning_experience_settings_1 = require("./lightning-experience-settings");
21
21
  Object.defineProperty(exports, "lightningExperienceSettings", { enumerable: true, get: function () { return lightning_experience_settings_1.LightningExperienceSettings; } });
22
+ const opportunity_splits_1 = require("./opportunity-splits");
23
+ Object.defineProperty(exports, "opportunitySplits", { enumerable: true, get: function () { return opportunity_splits_1.OpportunitySplits; } });
22
24
  const picklists_1 = require("./picklists");
23
25
  Object.defineProperty(exports, "picklists", { enumerable: true, get: function () { return picklists_1.Picklists; } });
24
26
  const record_types_1 = require("./record-types");
25
27
  Object.defineProperty(exports, "recordTypes", { enumerable: true, get: function () { return record_types_1.RecordTypes; } });
28
+ const relate_contact_to_multiple_accounts_1 = require("./relate-contact-to-multiple-accounts");
29
+ Object.defineProperty(exports, "relateContactToMultipleAccounts", { enumerable: true, get: function () { return relate_contact_to_multiple_accounts_1.RelateContactToMultipleAccounts; } });
26
30
  const reports_and_dashboards_1 = require("./reports-and-dashboards");
27
31
  Object.defineProperty(exports, "reportsAndDashboards", { enumerable: true, get: function () { return reports_and_dashboards_1.ReportsAndDashboards; } });
28
32
  const salesforce_to_salesforce_1 = require("./salesforce-to-salesforce");
29
33
  Object.defineProperty(exports, "salesforceToSalesforce", { enumerable: true, get: function () { return salesforce_to_salesforce_1.SalesforceToSalesforce; } });
30
34
  const security_1 = require("./security");
31
35
  Object.defineProperty(exports, "security", { enumerable: true, get: function () { return security_1.Security; } });
32
- const relate_contact_to_multiple_accounts_1 = require("./relate-contact-to-multiple-accounts");
33
- Object.defineProperty(exports, "relateContactToMultipleAccounts", { enumerable: true, get: function () { return relate_contact_to_multiple_accounts_1.RelateContactToMultipleAccounts; } });
34
36
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/plugins/index.ts"],"names":[],"mappings":";;;AAAA,2DAA2E;AAmBzE,iGAnB2B,oCAAgB,OAmB3B;AAlBlB,+CAA2D;AAmBzD,4FAnBsB,yBAAW,OAmBtB;AAlBb,uDAAqE;AAmBnE,+FAnByB,gCAAc,OAmBzB;AAlBhB,2EAAiG;AAmB/F,wGAnBkC,mDAAuB,OAmBlC;AAlBzB,yDAAwE;AAmBtE,gGAnB0B,kCAAe,OAmB1B;AAlBjB,iEAAoF;AAmBlF,oGAnB8B,0CAAmB,OAmB9B;AAlBrB,iFAAwG;AAmBtG,0GAnBoC,wDAAyB,OAmBpC;AAlB3B,2DAAyE;AAmBvE,gGAnB0B,mCAAe,OAmB1B;AAlBjB,mFAA6G;AAmB3G,4GAnBsC,2DAA2B,OAmBtC;AAlB7B,2CAAqD;AAmBnD,0FAnBoB,qBAAS,OAmBpB;AAlBX,iDAA4D;AAmB1D,4FAnBsB,0BAAW,OAmBtB;AAlBb,qEAAwF;AAmBtF,qGAnB+B,6CAAoB,OAmB/B;AAlBtB,yEAA8F;AAmB5F,uGAnBiC,iDAAsB,OAmBjC;AAlBxB,yCAAkD;AAmBhD,yFAnBmB,mBAAQ,OAmBnB;AAjBV,+FAA2H;AAGzH,gHAH0C,qEAA+B,OAG1C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/plugins/index.ts"],"names":[],"mappings":";;;AAAA,2DAA2E;AAkBzE,iGAlB2B,oCAAgB,OAkB3B;AAjBlB,+CAA2D;AAkBzD,4FAlBsB,yBAAW,OAkBtB;AAjBb,uDAAqE;AAkBnE,+FAlByB,gCAAc,OAkBzB;AAjBhB,2EAAiG;AAkB/F,wGAlBkC,mDAAuB,OAkBlC;AAjBzB,yDAAwE;AAkBtE,gGAlB0B,kCAAe,OAkB1B;AAjBjB,iEAAoF;AAkBlF,oGAlB8B,0CAAmB,OAkB9B;AAjBrB,iFAAwG;AAkBtG,0GAlBoC,wDAAyB,OAkBpC;AAjB3B,2DAAyE;AAkBvE,gGAlB0B,mCAAe,OAkB1B;AAjBjB,mFAA6G;AAkB3G,4GAlBsC,2DAA2B,OAkBtC;AAjB7B,6DAA8E;AAkB5E,kGAlB4B,sCAAiB,OAkB5B;AAjBnB,2CAAqD;AAkBnD,0FAlBoB,qBAAS,OAkBpB;AAjBX,iDAA4D;AAkB1D,4FAlBsB,0BAAW,OAkBtB;AAjBb,+FAA2H;AAkBzH,gHAlB0C,qEAA+B,OAkB1C;AAjBjC,qEAAwF;AAkBtF,qGAlB+B,6CAAoB,OAkB/B;AAjBtB,yEAA8F;AAkB5F,uGAlBiC,iDAAsB,OAkBjC;AAjBxB,yCAAkD;AAkBhD,yFAlBmB,mBAAQ,OAkBnB"}
@@ -0,0 +1,9 @@
1
+ import { BrowserforcePlugin } from '../../plugin';
2
+ declare type Config = {
3
+ enabled: boolean;
4
+ };
5
+ export declare class OpportunitySplits extends BrowserforcePlugin {
6
+ retrieve(definition?: Config): Promise<Config>;
7
+ apply(config: Config): Promise<void>;
8
+ }
9
+ export {};
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OpportunitySplits = void 0;
4
+ const plugin_1 = require("../../plugin");
5
+ const overview_1 = require("./pages/overview");
6
+ const setup_1 = require("./pages/setup");
7
+ class OpportunitySplits extends plugin_1.BrowserforcePlugin {
8
+ async retrieve(definition) {
9
+ const page = await this.browserforce.openPage(overview_1.OverviewPage.PATH);
10
+ const overviewPage = new overview_1.OverviewPage(page);
11
+ const response = {
12
+ enabled: await overviewPage.isEnabled()
13
+ };
14
+ return response;
15
+ }
16
+ async apply(config) {
17
+ if (config.enabled) {
18
+ const page = await this.browserforce.openPage(setup_1.SetupPage.PATH);
19
+ const setupPage = new setup_1.SetupPage(page);
20
+ const layoutSelectionPage = await setupPage.enable();
21
+ const overviewPage = await layoutSelectionPage.choose();
22
+ await overviewPage.waitUntilEnabled();
23
+ }
24
+ else {
25
+ const page = await this.browserforce.openPage(overview_1.OverviewPage.PATH);
26
+ const overviewPage = new overview_1.OverviewPage(page);
27
+ await overviewPage.disable();
28
+ await overviewPage.waitUntilDisabled();
29
+ }
30
+ }
31
+ }
32
+ exports.OpportunitySplits = OpportunitySplits;
33
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/plugins/opportunity-splits/index.ts"],"names":[],"mappings":";;;AAAA,yCAAkD;AAClD,+CAAgD;AAChD,yCAA0C;AAM1C,MAAa,iBAAkB,SAAQ,2BAAkB;IAChD,KAAK,CAAC,QAAQ,CAAC,UAAmB;QACvC,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,uBAAY,CAAC,IAAI,CAAC,CAAC;QACjE,MAAM,YAAY,GAAG,IAAI,uBAAY,CAAC,IAAI,CAAC,CAAC;QAC5C,MAAM,QAAQ,GAAG;YACf,OAAO,EAAE,MAAM,YAAY,CAAC,SAAS,EAAE;SACxC,CAAC;QACF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAEM,KAAK,CAAC,KAAK,CAAC,MAAc;QAC/B,IAAI,MAAM,CAAC,OAAO,EAAE;YAClB,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,iBAAS,CAAC,IAAI,CAAC,CAAC;YAC9D,MAAM,SAAS,GAAG,IAAI,iBAAS,CAAC,IAAI,CAAC,CAAC;YACtC,MAAM,mBAAmB,GAAG,MAAM,SAAS,CAAC,MAAM,EAAE,CAAC;YACrD,MAAM,YAAY,GAAG,MAAM,mBAAmB,CAAC,MAAM,EAAE,CAAC;YACxD,MAAM,YAAY,CAAC,gBAAgB,EAAE,CAAC;SACvC;aAAM;YACL,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,uBAAY,CAAC,IAAI,CAAC,CAAC;YACjE,MAAM,YAAY,GAAG,IAAI,uBAAY,CAAC,IAAI,CAAC,CAAC;YAC5C,MAAM,YAAY,CAAC,OAAO,EAAE,CAAC;YAC7B,MAAM,YAAY,CAAC,iBAAiB,EAAE,CAAC;SACxC;IACH,CAAC;CACF;AAxBD,8CAwBC"}
@@ -0,0 +1,8 @@
1
+ import { Page } from 'puppeteer';
2
+ import { OverviewPage } from './overview';
3
+ export declare class LayoutSelectionPage {
4
+ static PATH: string;
5
+ private page;
6
+ constructor(page: Page);
7
+ choose(): Promise<OverviewPage>;
8
+ }
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LayoutSelectionPage = void 0;
4
+ const overview_1 = require("./overview");
5
+ const SAVE_BUTTON = 'input[id$=":save"]';
6
+ class LayoutSelectionPage {
7
+ constructor(page) {
8
+ this.page = page;
9
+ }
10
+ async choose() {
11
+ await this.page.waitForSelector(SAVE_BUTTON);
12
+ await Promise.all([
13
+ this.page.waitForNavigation(),
14
+ this.page.click(SAVE_BUTTON)
15
+ ]);
16
+ return new overview_1.OverviewPage(this.page);
17
+ }
18
+ }
19
+ exports.LayoutSelectionPage = LayoutSelectionPage;
20
+ LayoutSelectionPage.PATH = 'opp/opportunitySplitSetupLayout.apexp?setupid=OpportunitySplitSetup';
21
+ //# sourceMappingURL=layout-selection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"layout-selection.js","sourceRoot":"","sources":["../../../../src/plugins/opportunity-splits/pages/layout-selection.ts"],"names":[],"mappings":";;;AACA,yCAA0C;AAE1C,MAAM,WAAW,GAAG,oBAAoB,CAAC;AAEzC,MAAa,mBAAmB;IAK9B,YAAY,IAAU;QACpB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;IAEM,KAAK,CAAC,MAAM;QACjB,MAAM,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,WAAW,CAAC,CAAC;QAC7C,MAAM,OAAO,CAAC,GAAG,CAAC;YAChB,IAAI,CAAC,IAAI,CAAC,iBAAiB,EAAE;YAC7B,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC;SAC7B,CAAC,CAAC;QACH,OAAO,IAAI,uBAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACrC,CAAC;;AAhBH,kDAiBC;AAhBQ,wBAAI,GACT,qEAAqE,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { Page } from 'puppeteer';
2
+ export declare class OverviewPage {
3
+ static PATH: string;
4
+ private page;
5
+ constructor(page: Page);
6
+ isEnabled(): Promise<boolean>;
7
+ waitUntilEnabled(): Promise<void>;
8
+ disable(): Promise<OverviewPage>;
9
+ waitUntilDisabled(): Promise<void>;
10
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OverviewPage = void 0;
4
+ const IN_PRGOGRESS = '#enablingInProgress';
5
+ const COMPLETED = '#prefSettingSucceeded';
6
+ const DISABLE_LINK = 'div[id*=":disable_form:"] a';
7
+ const DISABLE_CONFIRM_CHECKBOX = 'input#dis_confirm';
8
+ const DISABLE_CONFIRM_BUTTON = 'input#splitsDisableConfirmDialog_overlayConfirmButton';
9
+ class OverviewPage {
10
+ constructor(page) {
11
+ this.page = page;
12
+ }
13
+ async isEnabled() {
14
+ return (await this.page.$(DISABLE_LINK)) !== null;
15
+ }
16
+ async waitUntilEnabled() {
17
+ await this.page.waitForSelector(IN_PRGOGRESS);
18
+ // 10 minutes
19
+ await this.page.waitForSelector(COMPLETED, { timeout: 10 * 60 * 1000 });
20
+ }
21
+ async disable() {
22
+ await this.page.waitForSelector(DISABLE_LINK);
23
+ await this.page.click(DISABLE_LINK);
24
+ await this.page.waitForSelector(DISABLE_CONFIRM_CHECKBOX);
25
+ await this.page.click(DISABLE_CONFIRM_CHECKBOX);
26
+ await this.page.waitForSelector(DISABLE_CONFIRM_BUTTON);
27
+ await Promise.all([
28
+ this.page.waitForNavigation(),
29
+ this.page.click(DISABLE_CONFIRM_BUTTON)
30
+ ]);
31
+ return this;
32
+ }
33
+ async waitUntilDisabled() {
34
+ await this.page.waitForSelector(COMPLETED);
35
+ }
36
+ }
37
+ exports.OverviewPage = OverviewPage;
38
+ OverviewPage.PATH = 'opp/opportunitySplitSetupOverview.apexp?setupid=OpportunitySplitSetup';
39
+ //# sourceMappingURL=overview.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"overview.js","sourceRoot":"","sources":["../../../../src/plugins/opportunity-splits/pages/overview.ts"],"names":[],"mappings":";;;AAEA,MAAM,YAAY,GAAG,qBAAqB,CAAC;AAC3C,MAAM,SAAS,GAAG,uBAAuB,CAAC;AAC1C,MAAM,YAAY,GAAG,6BAA6B,CAAC;AACnD,MAAM,wBAAwB,GAAG,mBAAmB,CAAC;AACrD,MAAM,sBAAsB,GAC1B,uDAAuD,CAAC;AAE1D,MAAa,YAAY;IAKvB,YAAY,IAAU;QACpB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;IAEM,KAAK,CAAC,SAAS;QACpB,OAAO,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,KAAK,IAAI,CAAC;IACpD,CAAC;IAEM,KAAK,CAAC,gBAAgB;QAC3B,MAAM,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,YAAY,CAAC,CAAC;QAC9C,aAAa;QACb,MAAM,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,SAAS,EAAE,EAAE,OAAO,EAAE,EAAE,GAAG,EAAE,GAAG,IAAI,EAAE,CAAC,CAAC;IAC1E,CAAC;IAEM,KAAK,CAAC,OAAO;QAClB,MAAM,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,YAAY,CAAC,CAAC;QAC9C,MAAM,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;QACpC,MAAM,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,wBAAwB,CAAC,CAAC;QAC1D,MAAM,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC;QAChD,MAAM,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,sBAAsB,CAAC,CAAC;QACxD,MAAM,OAAO,CAAC,GAAG,CAAC;YAChB,IAAI,CAAC,IAAI,CAAC,iBAAiB,EAAE;YAC7B,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,sBAAsB,CAAC;SACxC,CAAC,CAAC;QACH,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,KAAK,CAAC,iBAAiB;QAC5B,MAAM,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,SAAS,CAAC,CAAC;IAC7C,CAAC;;AAlCH,oCAmCC;AAlCQ,iBAAI,GACT,uEAAuE,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { Page } from 'puppeteer';
2
+ import { LayoutSelectionPage } from './layout-selection';
3
+ export declare class SetupPage {
4
+ static PATH: string;
5
+ private page;
6
+ constructor(page: Page);
7
+ enable(): Promise<LayoutSelectionPage>;
8
+ }
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SetupPage = void 0;
4
+ const layout_selection_1 = require("./layout-selection");
5
+ const SAVE_BUTTON = 'input[id$=":form:SaveButton"]';
6
+ const MODAL_CONFIRM_BUTTON = 'input[id="splitsMassOperationConfirmDialog_overlayConfirmButton"]';
7
+ class SetupPage {
8
+ constructor(page) {
9
+ this.page = page;
10
+ }
11
+ async enable() {
12
+ await this.page.waitForSelector(SAVE_BUTTON);
13
+ await this.page.click(SAVE_BUTTON);
14
+ await this.page.waitForSelector(MODAL_CONFIRM_BUTTON);
15
+ await Promise.all([
16
+ this.page.waitForNavigation(),
17
+ this.page.click(MODAL_CONFIRM_BUTTON)
18
+ ]);
19
+ return new layout_selection_1.LayoutSelectionPage(this.page);
20
+ }
21
+ }
22
+ exports.SetupPage = SetupPage;
23
+ SetupPage.PATH = 'opp/opportunitySplitSetupEdit.apexp?setupid=OpportunitySplitSetup';
24
+ //# sourceMappingURL=setup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setup.js","sourceRoot":"","sources":["../../../../src/plugins/opportunity-splits/pages/setup.ts"],"names":[],"mappings":";;;AACA,yDAAyD;AAEzD,MAAM,WAAW,GAAG,+BAA+B,CAAC;AACpD,MAAM,oBAAoB,GACxB,mEAAmE,CAAC;AAEtE,MAAa,SAAS;IAKpB,YAAY,IAAU;QACpB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;IAEM,KAAK,CAAC,MAAM;QACjB,MAAM,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,WAAW,CAAC,CAAC;QAC7C,MAAM,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;QACnC,MAAM,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,oBAAoB,CAAC,CAAC;QACtD,MAAM,OAAO,CAAC,GAAG,CAAC;YAChB,IAAI,CAAC,IAAI,CAAC,iBAAiB,EAAE;YAC7B,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,oBAAoB,CAAC;SACtC,CAAC,CAAC;QACH,OAAO,IAAI,sCAAmB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC5C,CAAC;;AAlBH,8BAmBC;AAlBQ,cAAI,GACT,mEAAmE,CAAC"}
@@ -1 +1 @@
1
- {"version":"2.9.13","commands":{"browserforce:apply":{"id":"browserforce:apply","description":"apply a plan from a definition file","strict":true,"usage":"<%= command.id %> [-f <string>] [-p <string>] [-s <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-browserforce-plugin","pluginAlias":"sfdx-browserforce-plugin","pluginType":"core","aliases":[],"examples":["$ sfdx browserforce:apply -f ./config/setup-admin-login-as-any.json --targetusername myOrg@example.com\n logging in... done\n Applying definition file ./config/setup-admin-login-as-any.json to org myOrg@example.com\n [Security] retrieving state... done\n [Security] changing 'loginAccessPolicies' to '{\"administratorsCanLogInAsAnyUser\":true}'... done\n logging out... done\n "],"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)","multiple":false,"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","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"definitionfile":{"name":"definitionfile","type":"option","char":"f","description":"path to a browserforce definition file\nThe schema is similar to the scratch org definition file.\nSee https://github.com/amtrack/sfdx-browserforce-plugin#supported-org-preferences for supported values.","multiple":false},"planfile":{"name":"planfile","type":"option","char":"p","description":"path to a browserforce plan file","multiple":false},"statefile":{"name":"statefile","type":"option","char":"s","description":"path to a browserforce state file","multiple":false}},"args":[]},"browserforce:plan":{"id":"browserforce:plan","description":"retrieve state and generate plan file","strict":true,"usage":"<%= command.id %> [-f <string>] [-p <string>] [-s <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-browserforce-plugin","pluginAlias":"sfdx-browserforce-plugin","pluginType":"core","aliases":[],"examples":["$ sfdx browserforce:plan -f ./config/setup-admin-login-as-any.json --targetusername myOrg@example.com\n logging in... done\n Generating plan with definition file ./config/setup-admin-login-as-any.json from org myOrg@example.com\n [Security] retrieving state... done\n [Security] generating plan... done\n logging out... done\n "],"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)","multiple":false,"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","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"definitionfile":{"name":"definitionfile","type":"option","char":"f","description":"path to a browserforce definition file\nThe schema is similar to the scratch org definition file.\nSee https://github.com/amtrack/sfdx-browserforce-plugin#supported-org-preferences for supported values.","multiple":false},"planfile":{"name":"planfile","type":"option","char":"p","description":"path to a browserforce plan file","multiple":false},"statefile":{"name":"statefile","type":"option","char":"s","description":"path to a browserforce state file","multiple":false}},"args":[]}}}
1
+ {"version":"2.10.0","commands":{"browserforce:apply":{"id":"browserforce:apply","description":"apply a plan from a definition file","strict":true,"usage":"<%= command.id %> [-f <string>] [-p <string>] [-s <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-browserforce-plugin","pluginAlias":"sfdx-browserforce-plugin","pluginType":"core","aliases":[],"examples":["$ sfdx browserforce:apply -f ./config/setup-admin-login-as-any.json --targetusername myOrg@example.com\n logging in... done\n Applying definition file ./config/setup-admin-login-as-any.json to org myOrg@example.com\n [Security] retrieving state... done\n [Security] changing 'loginAccessPolicies' to '{\"administratorsCanLogInAsAnyUser\":true}'... done\n logging out... done\n "],"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)","multiple":false,"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","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"definitionfile":{"name":"definitionfile","type":"option","char":"f","description":"path to a browserforce definition file\nThe schema is similar to the scratch org definition file.\nSee https://github.com/amtrack/sfdx-browserforce-plugin#supported-org-preferences for supported values.","multiple":false},"planfile":{"name":"planfile","type":"option","char":"p","description":"path to a browserforce plan file","multiple":false},"statefile":{"name":"statefile","type":"option","char":"s","description":"path to a browserforce state file","multiple":false}},"args":[]},"browserforce:plan":{"id":"browserforce:plan","description":"retrieve state and generate plan file","strict":true,"usage":"<%= command.id %> [-f <string>] [-p <string>] [-s <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-browserforce-plugin","pluginAlias":"sfdx-browserforce-plugin","pluginType":"core","aliases":[],"examples":["$ sfdx browserforce:plan -f ./config/setup-admin-login-as-any.json --targetusername myOrg@example.com\n logging in... done\n Generating plan with definition file ./config/setup-admin-login-as-any.json from org myOrg@example.com\n [Security] retrieving state... done\n [Security] generating plan... done\n logging out... done\n "],"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)","multiple":false,"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","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"definitionfile":{"name":"definitionfile","type":"option","char":"f","description":"path to a browserforce definition file\nThe schema is similar to the scratch org definition file.\nSee https://github.com/amtrack/sfdx-browserforce-plugin#supported-org-preferences for supported values.","multiple":false},"planfile":{"name":"planfile","type":"option","char":"p","description":"path to a browserforce plan file","multiple":false},"statefile":{"name":"statefile","type":"option","char":"s","description":"path to a browserforce state file","multiple":false}},"args":[]}}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sfdx-browserforce-plugin",
3
- "version": "2.9.13",
3
+ "version": "2.10.0",
4
4
  "description": "sfdx plugin for browser automation",
5
5
  "author": "Matthias Rolke <mr.amtrack@gmail.com>",
6
6
  "bin": {
@@ -16,10 +16,10 @@
16
16
  },
17
17
  "devDependencies": {
18
18
  "@types/mocha": "10.0.0",
19
- "@types/node": "16.18.1",
19
+ "@types/node": "16.18.3",
20
20
  "mocha": "10.1.0",
21
21
  "nyc": "15.1.0",
22
- "oclif": "3.2.22",
22
+ "oclif": "3.2.24",
23
23
  "ts-node": "10.9.1",
24
24
  "typescript": "4.8.4"
25
25
  },