sfdx-browserforce-plugin 2.11.3 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -6
- package/lib/browserforce-command.js +25 -19
- package/lib/browserforce-command.js.map +1 -1
- package/lib/browserforce.js +11 -28
- package/lib/browserforce.js.map +1 -1
- package/lib/commands/browserforce/apply.js +14 -14
- package/lib/commands/browserforce/apply.js.map +1 -1
- package/lib/commands/browserforce/plan.js +16 -15
- package/lib/commands/browserforce/plan.js.map +1 -1
- package/lib/config-parser.js +1 -1
- package/lib/config-parser.js.map +1 -1
- package/lib/jsforce-utils.js.map +1 -1
- package/lib/plugin.js +11 -30
- package/lib/plugin.js.map +1 -1
- package/lib/plugins/activity-settings/index.e2e-spec.js +41 -0
- package/lib/plugins/activity-settings/index.e2e-spec.js.map +1 -0
- package/lib/plugins/activity-settings/index.js +1 -4
- package/lib/plugins/activity-settings/index.js.map +1 -1
- package/lib/plugins/communities/index.e2e-spec.js +39 -0
- package/lib/plugins/communities/index.e2e-spec.js.map +1 -0
- package/lib/plugins/communities/index.js +2 -7
- package/lib/plugins/communities/index.js.map +1 -1
- package/lib/plugins/company-information/index.e2e-spec.js +42 -0
- package/lib/plugins/company-information/index.e2e-spec.js.map +1 -0
- package/lib/plugins/company-information/index.js +8 -12
- package/lib/plugins/company-information/index.js.map +1 -1
- package/lib/plugins/customer-portal/available-custom-objects/index.js +20 -48
- package/lib/plugins/customer-portal/available-custom-objects/index.js.map +1 -1
- package/lib/plugins/customer-portal/available-custom-objects/index.test.js +44 -0
- package/lib/plugins/customer-portal/available-custom-objects/index.test.js.map +1 -0
- package/lib/plugins/customer-portal/enabled/index.js +3 -11
- package/lib/plugins/customer-portal/enabled/index.js.map +1 -1
- package/lib/plugins/customer-portal/enabled/index.test.js +39 -0
- package/lib/plugins/customer-portal/enabled/index.test.js.map +1 -0
- package/lib/plugins/customer-portal/index.e2e-spec.js +222 -0
- package/lib/plugins/customer-portal/index.e2e-spec.js.map +1 -0
- package/lib/plugins/customer-portal/index.js +17 -13
- package/lib/plugins/customer-portal/index.js.map +1 -1
- package/lib/plugins/customer-portal/index.test.js +89 -0
- package/lib/plugins/customer-portal/index.test.js.map +1 -0
- package/lib/plugins/customer-portal/portals/index.js +17 -25
- package/lib/plugins/customer-portal/portals/index.js.map +1 -1
- package/lib/plugins/customer-portal/portals/index.test.js +145 -0
- package/lib/plugins/customer-portal/portals/index.test.js.map +1 -0
- package/lib/plugins/defer-sharing-calculation/index.e2e-spec.js +96 -0
- package/lib/plugins/defer-sharing-calculation/index.e2e-spec.js.map +1 -0
- package/lib/plugins/defer-sharing-calculation/index.js +2 -7
- package/lib/plugins/defer-sharing-calculation/index.js.map +1 -1
- package/lib/plugins/density-settings/index.e2e-spec.js +44 -0
- package/lib/plugins/density-settings/index.e2e-spec.js.map +1 -0
- package/lib/plugins/density-settings/index.js +8 -6
- package/lib/plugins/density-settings/index.js.map +1 -1
- package/lib/plugins/email-deliverability/index.e2e-spec.js +60 -0
- package/lib/plugins/email-deliverability/index.e2e-spec.js.map +1 -0
- package/lib/plugins/email-deliverability/index.js +7 -10
- package/lib/plugins/email-deliverability/index.js.map +1 -1
- package/lib/plugins/high-velocity-sales-settings/index.e2e-spec.js +34 -0
- package/lib/plugins/high-velocity-sales-settings/index.e2e-spec.js.map +1 -0
- package/lib/plugins/high-velocity-sales-settings/index.js +1 -2
- package/lib/plugins/high-velocity-sales-settings/index.js.map +1 -1
- package/lib/plugins/high-velocity-sales-settings/page.js +3 -1
- package/lib/plugins/high-velocity-sales-settings/page.js.map +1 -1
- package/lib/plugins/home-page-layouts/index.e2e-spec.js +52 -0
- package/lib/plugins/home-page-layouts/index.e2e-spec.js.map +1 -0
- package/lib/plugins/home-page-layouts/index.js +14 -32
- package/lib/plugins/home-page-layouts/index.js.map +1 -1
- package/lib/plugins/home-page-layouts/index.test.js +109 -0
- package/lib/plugins/home-page-layouts/index.test.js.map +1 -0
- package/lib/plugins/lightning-experience-settings/index.e2e-spec.js +44 -0
- package/lib/plugins/lightning-experience-settings/index.e2e-spec.js.map +1 -0
- package/lib/plugins/lightning-experience-settings/index.js +11 -9
- package/lib/plugins/lightning-experience-settings/index.js.map +1 -1
- package/lib/plugins/opportunity-splits/index.e2e-spec.js +70 -0
- package/lib/plugins/opportunity-splits/index.e2e-spec.js.map +1 -0
- package/lib/plugins/opportunity-splits/pages/layout-selection.js +1 -4
- package/lib/plugins/opportunity-splits/pages/layout-selection.js.map +1 -1
- package/lib/plugins/opportunity-splits/pages/overview.js +1 -4
- package/lib/plugins/opportunity-splits/pages/overview.js.map +1 -1
- package/lib/plugins/opportunity-splits/pages/setup.js +1 -4
- package/lib/plugins/opportunity-splits/pages/setup.js.map +1 -1
- package/lib/plugins/picklists/field-dependencies/index.js +15 -10
- package/lib/plugins/picklists/field-dependencies/index.js.map +1 -1
- package/lib/plugins/picklists/field-dependencies/index.test.js +69 -0
- package/lib/plugins/picklists/field-dependencies/index.test.js.map +1 -0
- package/lib/plugins/picklists/field-dependencies/pages.js +3 -12
- package/lib/plugins/picklists/field-dependencies/pages.js.map +1 -1
- package/lib/plugins/picklists/index.e2e-spec.js +118 -0
- package/lib/plugins/picklists/index.e2e-spec.js.map +1 -0
- package/lib/plugins/picklists/index.js +36 -27
- package/lib/plugins/picklists/index.js.map +1 -1
- package/lib/plugins/picklists/pages.js +7 -28
- package/lib/plugins/picklists/pages.js.map +1 -1
- package/lib/plugins/picklists/standard-value-set.js +1 -1
- package/lib/plugins/picklists/standard-value-set.js.map +1 -1
- package/lib/plugins/record-types/index.e2e-spec.js +99 -0
- package/lib/plugins/record-types/index.e2e-spec.js.map +1 -0
- package/lib/plugins/record-types/index.js +1 -2
- package/lib/plugins/record-types/index.js.map +1 -1
- package/lib/plugins/record-types/pages.js +4 -10
- package/lib/plugins/record-types/pages.js.map +1 -1
- package/lib/plugins/relate-contact-to-multiple-accounts/index.e2e-spec.js +34 -0
- package/lib/plugins/relate-contact-to-multiple-accounts/index.e2e-spec.js.map +1 -0
- package/lib/plugins/relate-contact-to-multiple-accounts/index.js +3 -12
- package/lib/plugins/relate-contact-to-multiple-accounts/index.js.map +1 -1
- package/lib/plugins/reports-and-dashboards/folder-sharing/index.e2e-spec.js +3 -0
- package/lib/plugins/reports-and-dashboards/folder-sharing/index.e2e-spec.js.map +1 -0
- package/lib/plugins/reports-and-dashboards/folder-sharing/index.js +1 -4
- package/lib/plugins/reports-and-dashboards/folder-sharing/index.js.map +1 -1
- package/lib/plugins/reports-and-dashboards/index.e2e-spec.js +3 -0
- package/lib/plugins/reports-and-dashboards/index.e2e-spec.js.map +1 -0
- package/lib/plugins/reports-and-dashboards/index.js +6 -6
- package/lib/plugins/reports-and-dashboards/index.js.map +1 -1
- package/lib/plugins/salesforce-to-salesforce/index.e2e-spec.js +39 -0
- package/lib/plugins/salesforce-to-salesforce/index.e2e-spec.js.map +1 -0
- package/lib/plugins/salesforce-to-salesforce/index.js +1 -4
- package/lib/plugins/salesforce-to-salesforce/index.js.map +1 -1
- package/lib/plugins/security/certificate-and-key-management/index.js +25 -36
- package/lib/plugins/security/certificate-and-key-management/index.js.map +1 -1
- package/lib/plugins/security/certificate-and-key-management/index.test.js +66 -0
- package/lib/plugins/security/certificate-and-key-management/index.test.js.map +1 -0
- package/lib/plugins/security/identity-provider/index.js +13 -24
- package/lib/plugins/security/identity-provider/index.js.map +1 -1
- package/lib/plugins/security/index.e2e-spec.js +86 -0
- package/lib/plugins/security/index.e2e-spec.js.map +1 -0
- package/lib/plugins/security/index.js +24 -15
- package/lib/plugins/security/index.js.map +1 -1
- package/lib/plugins/security/login-access-policies/index.e2e-spec.js +32 -0
- package/lib/plugins/security/login-access-policies/index.e2e-spec.js.map +1 -0
- package/lib/plugins/security/login-access-policies/index.js +2 -5
- package/lib/plugins/security/login-access-policies/index.js.map +1 -1
- package/lib/plugins/security/sharing/index.e2e-spec.js +34 -0
- package/lib/plugins/security/sharing/index.e2e-spec.js.map +1 -0
- package/lib/plugins/security/sharing/index.js +5 -11
- package/lib/plugins/security/sharing/index.js.map +1 -1
- package/lib/plugins/utils.js +38 -41
- package/lib/plugins/utils.js.map +1 -1
- package/oclif.manifest.json +85 -53
- package/package.json +12 -10
- package/lib/browserforce-command.d.ts +0 -15
- package/lib/browserforce.d.ts +0 -26
- package/lib/commands/browserforce/apply.d.ts +0 -6
- package/lib/commands/browserforce/plan.d.ts +0 -6
- package/lib/config-parser.d.ts +0 -16
- package/lib/index.d.ts +0 -1
- package/lib/jsforce-utils.d.ts +0 -5
- package/lib/plugin.d.ts +0 -11
- package/lib/plugins/activity-settings/index.d.ts +0 -9
- package/lib/plugins/communities/index.d.ts +0 -10
- package/lib/plugins/company-information/index.d.ts +0 -8
- package/lib/plugins/customer-portal/available-custom-objects/index.d.ts +0 -14
- package/lib/plugins/customer-portal/enabled/index.d.ts +0 -7
- package/lib/plugins/customer-portal/index.d.ts +0 -15
- package/lib/plugins/customer-portal/portals/index.d.ts +0 -25
- package/lib/plugins/defer-sharing-calculation/index.d.ts +0 -9
- package/lib/plugins/density-settings/index.d.ts +0 -17
- package/lib/plugins/email-deliverability/index.d.ts +0 -9
- package/lib/plugins/high-velocity-sales-settings/index.d.ts +0 -10
- package/lib/plugins/high-velocity-sales-settings/page.d.ts +0 -7
- package/lib/plugins/home-page-layouts/index.d.ts +0 -14
- package/lib/plugins/index.d.ts +0 -18
- package/lib/plugins/lightning-experience-settings/index.d.ts +0 -17
- package/lib/plugins/opportunity-splits/index.d.ts +0 -9
- package/lib/plugins/opportunity-splits/pages/layout-selection.d.ts +0 -8
- package/lib/plugins/opportunity-splits/pages/overview.d.ts +0 -10
- package/lib/plugins/opportunity-splits/pages/setup.d.ts +0 -8
- package/lib/plugins/picklists/field-dependencies/index.d.ts +0 -11
- package/lib/plugins/picklists/field-dependencies/pages.d.ts +0 -14
- package/lib/plugins/picklists/index.d.ts +0 -23
- package/lib/plugins/picklists/pages.d.ts +0 -40
- package/lib/plugins/picklists/standard-value-set.d.ts +0 -1
- package/lib/plugins/record-types/index.d.ts +0 -13
- package/lib/plugins/record-types/pages.d.ts +0 -15
- package/lib/plugins/relate-contact-to-multiple-accounts/index.d.ts +0 -9
- package/lib/plugins/reports-and-dashboards/folder-sharing/index.d.ts +0 -8
- package/lib/plugins/reports-and-dashboards/index.d.ts +0 -11
- package/lib/plugins/salesforce-to-salesforce/index.d.ts +0 -9
- package/lib/plugins/security/certificate-and-key-management/index.d.ts +0 -23
- package/lib/plugins/security/identity-provider/index.d.ts +0 -10
- package/lib/plugins/security/index.d.ts +0 -17
- package/lib/plugins/security/login-access-policies/index.d.ts +0 -8
- package/lib/plugins/security/sharing/index.d.ts +0 -8
- package/lib/plugins/utils.d.ts +0 -4
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { BrowserforcePlugin } from '../../plugin';
|
|
2
|
-
import { Config as FieldDependenciesConfig } from './field-dependencies';
|
|
3
|
-
type Config = {
|
|
4
|
-
picklistValues: PicklistValuesConfig[];
|
|
5
|
-
fieldDependencies: FieldDependenciesConfig;
|
|
6
|
-
};
|
|
7
|
-
type PicklistValuesConfig = {
|
|
8
|
-
metadataType: string;
|
|
9
|
-
metadataFullName: string;
|
|
10
|
-
value?: string;
|
|
11
|
-
newValue?: string;
|
|
12
|
-
statusCategory?: string;
|
|
13
|
-
replaceAllBlankValues?: boolean;
|
|
14
|
-
active?: boolean;
|
|
15
|
-
absent?: boolean;
|
|
16
|
-
_newValueExists?: boolean;
|
|
17
|
-
};
|
|
18
|
-
export declare class Picklists extends BrowserforcePlugin {
|
|
19
|
-
retrieve(definition?: Config): Promise<Config>;
|
|
20
|
-
diff(state: Config, definition: Config): Config;
|
|
21
|
-
apply(config: Config): Promise<void>;
|
|
22
|
-
}
|
|
23
|
-
export {};
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { Page } from 'puppeteer';
|
|
2
|
-
type PicklistValue = {
|
|
3
|
-
value: string;
|
|
4
|
-
active: boolean;
|
|
5
|
-
};
|
|
6
|
-
export declare class PicklistPage {
|
|
7
|
-
private page;
|
|
8
|
-
constructor(page: Page);
|
|
9
|
-
getPicklistValues(): Promise<Array<PicklistValue>>;
|
|
10
|
-
clickNewActionButton(): Promise<void>;
|
|
11
|
-
clickReplaceActionButton(): Promise<PicklistReplacePage>;
|
|
12
|
-
clickDeleteActionForValue(picklistValueApiName: string): Promise<PicklistReplaceAndDeletePage>;
|
|
13
|
-
clickActivateDeactivateActionForValue(picklistValueApiName: string, active: boolean): Promise<PicklistPage>;
|
|
14
|
-
}
|
|
15
|
-
export declare class DefaultPicklistAddPage {
|
|
16
|
-
protected page: any;
|
|
17
|
-
protected saveButton: string;
|
|
18
|
-
constructor(page: Page);
|
|
19
|
-
add(newValue: string): Promise<void>;
|
|
20
|
-
save(): Promise<void>;
|
|
21
|
-
}
|
|
22
|
-
export declare class StatusPicklistAddPage {
|
|
23
|
-
protected page: any;
|
|
24
|
-
protected saveButton: string;
|
|
25
|
-
constructor(page: Page);
|
|
26
|
-
add(newValue: string, statusCategory: string): Promise<void>;
|
|
27
|
-
save(): Promise<void>;
|
|
28
|
-
}
|
|
29
|
-
export declare class PicklistReplacePage {
|
|
30
|
-
protected page: any;
|
|
31
|
-
protected saveButton: string;
|
|
32
|
-
constructor(page: Page);
|
|
33
|
-
replace(value: string, newValue: string, replaceAllBlankValues?: boolean): Promise<void>;
|
|
34
|
-
save(): Promise<void>;
|
|
35
|
-
}
|
|
36
|
-
export declare class PicklistReplaceAndDeletePage extends PicklistReplacePage {
|
|
37
|
-
constructor(page: Page);
|
|
38
|
-
replaceAndDelete(newValue: string): Promise<void>;
|
|
39
|
-
}
|
|
40
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function determineStandardValueSetEditUrl(standardValueSet: string): string;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { BrowserforcePlugin } from '../../plugin';
|
|
2
|
-
type Config = {
|
|
3
|
-
deletions: RecordTypeConfig[];
|
|
4
|
-
};
|
|
5
|
-
type RecordTypeConfig = {
|
|
6
|
-
fullName: string;
|
|
7
|
-
replacement?: string;
|
|
8
|
-
};
|
|
9
|
-
export declare class RecordTypes extends BrowserforcePlugin {
|
|
10
|
-
retrieve(definition?: Config): Promise<Config>;
|
|
11
|
-
apply(config: Config): Promise<void>;
|
|
12
|
-
}
|
|
13
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Page } from 'puppeteer';
|
|
2
|
-
export declare class RecordTypePage {
|
|
3
|
-
private page;
|
|
4
|
-
constructor(page: Page);
|
|
5
|
-
clickDeleteAction(recordTypeId: string): Promise<RecordTypeDeletePage>;
|
|
6
|
-
}
|
|
7
|
-
export declare class RecordTypeDeletePage {
|
|
8
|
-
protected page: any;
|
|
9
|
-
protected saveButton: string;
|
|
10
|
-
constructor(page: Page);
|
|
11
|
-
replace(newRecordTypeId?: string): Promise<void>;
|
|
12
|
-
save(): Promise<void>;
|
|
13
|
-
throwOnMissingSaveButton(): Promise<void>;
|
|
14
|
-
throwPageErrors(): Promise<void>;
|
|
15
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BrowserforcePlugin } from '../../plugin';
|
|
2
|
-
type Config = {
|
|
3
|
-
enabled: boolean;
|
|
4
|
-
};
|
|
5
|
-
export declare class RelateContactToMultipleAccounts extends BrowserforcePlugin {
|
|
6
|
-
retrieve(definition?: Config): Promise<Config>;
|
|
7
|
-
apply(config: Config): Promise<void>;
|
|
8
|
-
}
|
|
9
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { BrowserforcePlugin } from '../../../plugin';
|
|
2
|
-
export type Config = {
|
|
3
|
-
enableEnhancedFolderSharing: boolean;
|
|
4
|
-
};
|
|
5
|
-
export declare class FolderSharing extends BrowserforcePlugin {
|
|
6
|
-
retrieve(definition?: Config): Promise<Config>;
|
|
7
|
-
apply(config: Config): Promise<void>;
|
|
8
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { BrowserforcePlugin } from '../../plugin';
|
|
2
|
-
import { Config as FolderSharingConfig } from './folder-sharing';
|
|
3
|
-
type Config = {
|
|
4
|
-
folderSharing?: FolderSharingConfig;
|
|
5
|
-
};
|
|
6
|
-
export declare class ReportsAndDashboards extends BrowserforcePlugin {
|
|
7
|
-
retrieve(definition?: Config): Promise<Config>;
|
|
8
|
-
diff(state: Config, definition: Config): Config;
|
|
9
|
-
apply(plan: Config): Promise<void>;
|
|
10
|
-
}
|
|
11
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { BrowserforcePlugin } from '../../../plugin';
|
|
2
|
-
export type Config = {
|
|
3
|
-
certificates?: Certificate[];
|
|
4
|
-
importFromKeystore?: KeyStore[];
|
|
5
|
-
};
|
|
6
|
-
type Certificate = {
|
|
7
|
-
name: string;
|
|
8
|
-
label: string;
|
|
9
|
-
exportable?: boolean;
|
|
10
|
-
keySize?: number;
|
|
11
|
-
_id?: string;
|
|
12
|
-
};
|
|
13
|
-
type KeyStore = {
|
|
14
|
-
name: string;
|
|
15
|
-
filePath: string;
|
|
16
|
-
password?: string;
|
|
17
|
-
};
|
|
18
|
-
export declare class CertificateAndKeyManagement extends BrowserforcePlugin {
|
|
19
|
-
retrieve(definition?: Config): Promise<Config>;
|
|
20
|
-
diff(state: Config, definition: Config): Config;
|
|
21
|
-
apply(plan: Config): Promise<void>;
|
|
22
|
-
}
|
|
23
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { BrowserforcePlugin } from '../../../plugin';
|
|
2
|
-
export type Config = {
|
|
3
|
-
enabled?: boolean;
|
|
4
|
-
certificate?: string;
|
|
5
|
-
};
|
|
6
|
-
export declare class IdentityProvider extends BrowserforcePlugin {
|
|
7
|
-
retrieve(definition?: Config): Promise<Config>;
|
|
8
|
-
diff(state: Config, definition: Config): Config;
|
|
9
|
-
apply(plan: Config): Promise<void>;
|
|
10
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { BrowserforcePlugin } from '../../plugin';
|
|
2
|
-
import { Config as CertificateAndKeyManagementConfig } from './certificate-and-key-management';
|
|
3
|
-
import { Config as IdentityProviderConfig } from './identity-provider';
|
|
4
|
-
import { Config as LoginAccessPoliciesConfig } from './login-access-policies';
|
|
5
|
-
import { Config as SharingConfig } from './sharing';
|
|
6
|
-
type Config = {
|
|
7
|
-
certificateAndKeyManagement?: CertificateAndKeyManagementConfig;
|
|
8
|
-
identityProvider?: IdentityProviderConfig;
|
|
9
|
-
loginAccessPolicies?: LoginAccessPoliciesConfig;
|
|
10
|
-
sharing?: SharingConfig;
|
|
11
|
-
};
|
|
12
|
-
export declare class Security extends BrowserforcePlugin {
|
|
13
|
-
retrieve(definition?: Config): Promise<Config>;
|
|
14
|
-
diff(state: Config, definition: Config): Config;
|
|
15
|
-
apply(plan: Config): Promise<void>;
|
|
16
|
-
}
|
|
17
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { BrowserforcePlugin } from '../../../plugin';
|
|
2
|
-
export type Config = {
|
|
3
|
-
administratorsCanLogInAsAnyUser: boolean;
|
|
4
|
-
};
|
|
5
|
-
export declare class LoginAccessPolicies extends BrowserforcePlugin {
|
|
6
|
-
retrieve(definition?: Config): Promise<Config>;
|
|
7
|
-
apply(config: Config): Promise<void>;
|
|
8
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { BrowserforcePlugin } from '../../../plugin';
|
|
2
|
-
export type Config = {
|
|
3
|
-
enableExternalSharingModel: boolean;
|
|
4
|
-
};
|
|
5
|
-
export declare class Sharing extends BrowserforcePlugin {
|
|
6
|
-
retrieve(definition?: Config): Promise<Config>;
|
|
7
|
-
apply(config: Config): Promise<void>;
|
|
8
|
-
}
|
package/lib/plugins/utils.d.ts
DELETED