sf-intelligence 0.1.26 → 0.2.1

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 (29) hide show
  1. package/demo-source/main/default/authproviders/Verdant_SSO_Provider.authprovider-meta.xml +11 -0
  2. package/demo-source/main/default/bots/Verdant_Support_Agent/Verdant_Support_Agent.bot-meta.xml +23 -0
  3. package/demo-source/main/default/bots/Verdant_Support_Agent/v1.botVersion-meta.xml +20 -0
  4. package/demo-source/main/default/certs/Verdant_Community.crt +3 -0
  5. package/demo-source/main/default/certs/Verdant_Community.crt-meta.xml +9 -0
  6. package/demo-source/main/default/connectedApps/Verdant_Marketing_Suite.connectedApp-meta.xml +12 -0
  7. package/demo-source/main/default/experiences/VerdantPortal1/views/home.json +4 -0
  8. package/demo-source/main/default/experiences/VerdantPortal1.site-meta.xml +6 -0
  9. package/demo-source/main/default/genAiPlannerBundles/Verdant_Support_Agent_v1/Verdant_Support_Agent_v1.genAiPlannerBundle-meta.xml +11 -0
  10. package/demo-source/main/default/globalValueSets/Solar_Equipment_Types.globalValueSet-meta.xml +23 -0
  11. package/demo-source/main/default/mutingpermissionsets/Sales_Muting.mutingpermissionset-meta.xml +21 -0
  12. package/demo-source/main/default/namedCredentials/Verdant_Permitting_API.namedCredential-meta.xml +11 -0
  13. package/demo-source/main/default/networkAccesses/Office_VPN.networkAccess-meta.xml +5 -0
  14. package/demo-source/main/default/networks/VerdantPortal.network-meta.xml +16 -0
  15. package/demo-source/main/default/platformEventChannelMembers/Verdant_Event_Member__chn.platformEventChannelMember-meta.xml +5 -0
  16. package/demo-source/main/default/platformEventChannels/Verdant_Event_Channel__chn.platformEventChannel-meta.xml +5 -0
  17. package/demo-source/main/default/samlssoconfigs/Verdant_Energy_SSO.samlssoconfig-meta.xml +8 -0
  18. package/demo-source/main/default/sites/VerdantPortal.site-meta.xml +9 -0
  19. package/demo-source/main/default/skills/Solar_Installation.skill-meta.xml +6 -0
  20. package/demo-source/main/default/standardValueSets/Status__c.standardValueSet-meta.xml +28 -0
  21. package/demo-source/main/default/timeSheetTemplates/Field_Crew_Weekly.timeSheetTemplate-meta.xml +10 -0
  22. package/demo-source/main/default/transactionSecurityPolicies/Block_Suspicious_Login.transactionSecurityPolicy-meta.xml +19 -0
  23. package/demo-source/main/default/wave/Ops_Overview.wdash-meta.xml +8 -0
  24. package/demo-source/main/default/wave/Project_Pipeline.xmd-meta.xml +21 -0
  25. package/dist/apex-ast-worker.js +409 -0
  26. package/dist/index.js +74028 -111962
  27. package/package.json +21 -19
  28. package/server.json +2 -2
  29. package/dist/data/embedding-index.json +0 -67943
@@ -0,0 +1,11 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <AuthProvider xmlns="http://soap.sforce.com/2006/04/metadata">
3
+ <friendlyName>Verdant Corporate SSO</friendlyName>
4
+ <providerType>OpenIdConnect</providerType>
5
+ <executionUser>integration@verdantenergy.example</executionUser>
6
+ <defaultScopes>profile email openid</defaultScopes>
7
+ <registrationHandler>VerdantSsoRegHandler</registrationHandler>
8
+ <sendAccessTokenInHeader>true</sendAccessTokenInHeader>
9
+ <sendClientCredentialsInHeader>false</sendClientCredentialsInHeader>
10
+ <includeOrgIdInIdentifier>false</includeOrgIdInIdentifier>
11
+ </AuthProvider>
@@ -0,0 +1,23 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Bot xmlns="http://soap.sforce.com/2006/04/metadata">
3
+ <agentTemplate>AiCopilot__AgentforceAgent</agentTemplate>
4
+ <agentType>EinsteinServiceAgent</agentType>
5
+ <botMlDomain>
6
+ <label>Verdant Support Agent</label>
7
+ <name>Verdant_Support_Agent</name>
8
+ </botMlDomain>
9
+ <botSource>None</botSource>
10
+ <botUser>agentuser@verdantenergy.example</botUser>
11
+ <contextVariables>
12
+ <dataType>Text</dataType>
13
+ <developerName>ChannelType</developerName>
14
+ <includeInPrompt>true</includeInPrompt>
15
+ <label>Channel Type</label>
16
+ </contextVariables>
17
+ <description>Answers customer questions about solar projects and installations.</description>
18
+ <label>Verdant Support Agent</label>
19
+ <logPrivateConversationData>false</logPrivateConversationData>
20
+ <richContentEnabled>true</richContentEnabled>
21
+ <sessionTimeout>0</sessionTimeout>
22
+ <type>ExternalCopilot</type>
23
+ </Bot>
@@ -0,0 +1,20 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <BotVersion xmlns="http://soap.sforce.com/2006/04/metadata">
3
+ <fullName>v1</fullName>
4
+ <articleAnswersGPTEnabled>false</articleAnswersGPTEnabled>
5
+ <botDialogs>
6
+ <developerName>Welcome</developerName>
7
+ <label>Welcome</label>
8
+ </botDialogs>
9
+ <botDialogs>
10
+ <developerName>Project_Status</developerName>
11
+ <label>Project Status</label>
12
+ </botDialogs>
13
+ <citationsEnabled>false</citationsEnabled>
14
+ <conversationDefinitionPlanners>
15
+ <genAiPlannerName>Verdant_Support_Agent_v1</genAiPlannerName>
16
+ </conversationDefinitionPlanners>
17
+ <entryDialog>Welcome</entryDialog>
18
+ <knowledgeFallbackEnabled>false</knowledgeFallbackEnabled>
19
+ <toneType>Professional</toneType>
20
+ </BotVersion>
@@ -0,0 +1,3 @@
1
+ -----BEGIN CERTIFICATE-----
2
+ MIISYNTHETICFIXTUREPLACEHOLDERverdantenergy0000000000000000000000
3
+ -----END CERTIFICATE-----
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Certificate xmlns="http://soap.sforce.com/2006/04/metadata">
3
+ <caSigned>true</caSigned>
4
+ <encryptedWithPlatformEncryption>false</encryptedWithPlatformEncryption>
5
+ <expirationDate>2027-06-01T00:00:00.000Z</expirationDate>
6
+ <keySize>2048</keySize>
7
+ <masterLabel>Verdant Community</masterLabel>
8
+ <privateKeyExportable>false</privateKeyExportable>
9
+ </Certificate>
@@ -0,0 +1,12 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <ConnectedApp xmlns="http://soap.sforce.com/2006/04/metadata">
3
+ <label>Verdant Marketing Suite</label>
4
+ <contactEmail>admin@verdantenergy.example</contactEmail>
5
+ <description>Marketing automation integration for lead nurture campaigns</description>
6
+ <oauthConfig>
7
+ <consumerKey>3MVG9synthetic000clientkey</consumerKey>
8
+ <callbackUrl>https://marketing.verdantenergy.example/oauth/callback</callbackUrl>
9
+ <scopes>Api</scopes>
10
+ <scopes>RefreshToken</scopes>
11
+ </oauthConfig>
12
+ </ConnectedApp>
@@ -0,0 +1,4 @@
1
+ {
2
+ "type": "home",
3
+ "title": "Home"
4
+ }
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <ExperienceBundle xmlns="http://soap.sforce.com/2006/04/metadata">
3
+ <label>Verdant Customer Portal</label>
4
+ <type>ChatterNetworkPicasso</type>
5
+ <urlPathPrefix>portal/s</urlPathPrefix>
6
+ </ExperienceBundle>
@@ -0,0 +1,11 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <GenAiPlannerBundle xmlns="http://soap.sforce.com/2006/04/metadata">
3
+ <masterLabel>Verdant Support Agent</masterLabel>
4
+ <description>Helps customers check solar project status and installation schedules</description>
5
+ <plannerType>AiCopilot__ReAct</plannerType>
6
+ <capabilities>Reasoning</capabilities>
7
+ <capabilities>Grounding</capabilities>
8
+ <genAiPlugins>
9
+ <genAiPluginName>Project_Inquiry</genAiPluginName>
10
+ </genAiPlugins>
11
+ </GenAiPlannerBundle>
@@ -0,0 +1,23 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <GlobalValueSet xmlns="http://soap.sforce.com/2006/04/metadata">
3
+ <masterLabel>Solar Equipment Types</masterLabel>
4
+ <description>Equipment categories used across solar and battery picklists.</description>
5
+ <customValue>
6
+ <fullName>Panel</fullName>
7
+ <default>false</default>
8
+ <label>Solar Panel</label>
9
+ <isActive>true</isActive>
10
+ </customValue>
11
+ <customValue>
12
+ <fullName>Battery</fullName>
13
+ <default>false</default>
14
+ <label>Battery Storage</label>
15
+ <isActive>true</isActive>
16
+ </customValue>
17
+ <customValue>
18
+ <fullName>Inverter</fullName>
19
+ <default>true</default>
20
+ <label>Inverter</label>
21
+ <isActive>true</isActive>
22
+ </customValue>
23
+ </GlobalValueSet>
@@ -0,0 +1,21 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <MutingPermissionSet xmlns="http://soap.sforce.com/2006/04/metadata">
3
+ <description>Deny dangerous permissions for the field Sales team</description>
4
+ <objectPermissions>
5
+ <allowCreate>false</allowCreate>
6
+ <allowDelete>true</allowDelete>
7
+ <allowEdit>true</allowEdit>
8
+ <allowRead>false</allowRead>
9
+ <modifyAllRecords>true</modifyAllRecords>
10
+ <object>Project__c</object>
11
+ <viewAllRecords>false</viewAllRecords>
12
+ </objectPermissions>
13
+ <userPermissions>
14
+ <enabled>true</enabled>
15
+ <name>ModifyAllData</name>
16
+ </userPermissions>
17
+ <customPermissions>
18
+ <enabled>true</enabled>
19
+ <name>SkipValidation</name>
20
+ </customPermissions>
21
+ </MutingPermissionSet>
@@ -0,0 +1,11 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <NamedCredential xmlns="http://soap.sforce.com/2006/04/metadata">
3
+ <label>Verdant Permitting API</label>
4
+ <endpoint>https://api.permitting.verdantenergy.example/v2</endpoint>
5
+ <principalType>NamedUser</principalType>
6
+ <protocol>Password</protocol>
7
+ <username>integration_user</username>
8
+ <generateAuthorizationHeader>true</generateAuthorizationHeader>
9
+ <allowMergeFieldsInBody>true</allowMergeFieldsInBody>
10
+ <allowMergeFieldsInHeader>false</allowMergeFieldsInHeader>
11
+ </NamedCredential>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <NetworkAccess xmlns="http://soap.sforce.com/2006/04/metadata">
3
+ <startAddress>198.51.100.10</startAddress>
4
+ <endAddress>198.51.100.20</endAddress>
5
+ </NetworkAccess>
@@ -0,0 +1,16 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Network xmlns="http://soap.sforce.com/2006/04/metadata">
3
+ <allowInternalUserLogin>false</allowInternalUserLogin>
4
+ <enableGuestChatter>false</enableGuestChatter>
5
+ <enableGuestFileAccess>true</enableGuestFileAccess>
6
+ <enableGuestMemberVisibility>false</enableGuestMemberVisibility>
7
+ <networkMemberGroups>
8
+ <permissionSet>Customer_Portal_Access</permissionSet>
9
+ <profile>Customer Community User</profile>
10
+ </networkMemberGroups>
11
+ <picassoSite>VerdantPortal1</picassoSite>
12
+ <selfRegistration>false</selfRegistration>
13
+ <site>VerdantPortal</site>
14
+ <status>Live</status>
15
+ <urlPathPrefix>portal</urlPathPrefix>
16
+ </Network>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <PlatformEventChannelMember xmlns="http://soap.sforce.com/2006/04/metadata">
3
+ <eventChannel>Verdant_Event_Channel__chn</eventChannel>
4
+ <selectedEntity>Project_Status_Changed__e</selectedEntity>
5
+ </PlatformEventChannelMember>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <PlatformEventChannel xmlns="http://soap.sforce.com/2006/04/metadata">
3
+ <channelType>event</channelType>
4
+ <label>Verdant Event Channel</label>
5
+ </PlatformEventChannel>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <SamlSsoConfig xmlns="http://soap.sforce.com/2006/04/metadata">
3
+ <identityLocation>SubjectNameId</identityLocation>
4
+ <identityMapping>FederationId</identityMapping>
5
+ <issuer>https://sts.verdantenergy.example/saml</issuer>
6
+ <samlEntityId>https://verdantenergy.my.salesforce.com</samlEntityId>
7
+ <validationCert>Verdant_Community</validationCert>
8
+ </SamlSsoConfig>
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <CustomSite xmlns="http://soap.sforce.com/2006/04/metadata">
3
+ <active>true</active>
4
+ <masterLabel>VerdantPortal</masterLabel>
5
+ <siteAdmin>siteadmin@verdantenergy.example</siteAdmin>
6
+ <siteGuestRecordDefaultOwner>guest@verdantenergy.example</siteGuestRecordDefaultOwner>
7
+ <siteType>ChatterNetwork</siteType>
8
+ <urlPathPrefix>portal</urlPathPrefix>
9
+ </CustomSite>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Skill xmlns="http://soap.sforce.com/2006/04/metadata">
3
+ <label>Solar Installation</label>
4
+ <description>Certified solar panel installation and commissioning skill</description>
5
+ <skillType>Technician</skillType>
6
+ </Skill>
@@ -0,0 +1,28 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <StandardValueSet xmlns="http://soap.sforce.com/2006/04/metadata">
3
+ <sorted>false</sorted>
4
+ <standardValue>
5
+ <fullName>Draft</fullName>
6
+ <default>true</default>
7
+ </standardValue>
8
+ <standardValue>
9
+ <fullName>Approved</fullName>
10
+ <default>false</default>
11
+ </standardValue>
12
+ <standardValue>
13
+ <fullName>Permitting</fullName>
14
+ <default>false</default>
15
+ </standardValue>
16
+ <standardValue>
17
+ <fullName>Installing</fullName>
18
+ <default>false</default>
19
+ </standardValue>
20
+ <standardValue>
21
+ <fullName>Complete</fullName>
22
+ <default>false</default>
23
+ </standardValue>
24
+ <standardValue>
25
+ <fullName>Cancelled</fullName>
26
+ <default>false</default>
27
+ </standardValue>
28
+ </StandardValueSet>
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <TimeSheetTemplate xmlns="http://soap.sforce.com/2006/04/metadata">
3
+ <active>true</active>
4
+ <description>Standard weekly time sheet for field installation crews</description>
5
+ <frequency>Weekly</frequency>
6
+ <masterLabel>Field Crew Weekly</masterLabel>
7
+ <startDate>2024-01-01</startDate>
8
+ <workWeekEndDay>Sunday</workWeekEndDay>
9
+ <workWeekStartDay>Monday</workWeekStartDay>
10
+ </TimeSheetTemplate>
@@ -0,0 +1,19 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <TransactionSecurityPolicy xmlns="http://soap.sforce.com/2006/04/metadata">
3
+ <action>
4
+ <block>true</block>
5
+ <endSession>false</endSession>
6
+ <freezeUser>false</freezeUser>
7
+ <notifications>
8
+ <inApp>true</inApp>
9
+ <sendEmail>true</sendEmail>
10
+ <user>admin@verdantenergy.example</user>
11
+ </notifications>
12
+ <twoFactorAuthentication>false</twoFactorAuthentication>
13
+ </action>
14
+ <active>true</active>
15
+ <apexClass>SuspiciousLoginCondition</apexClass>
16
+ <developerName>Block_Suspicious_Login</developerName>
17
+ <eventName>LoginEvent</eventName>
18
+ <masterLabel>Block Suspicious Login</masterLabel>
19
+ </TransactionSecurityPolicy>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <WaveDashboard xmlns="http://soap.sforce.com/2006/04/metadata" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3
+ <content xsi:nil="true"/>
4
+ <application>Verdant_Analytics</application>
5
+ <masterLabel>Ops Overview</masterLabel>
6
+ <description>Operational KPIs for solar project pipeline and installation throughput.</description>
7
+ <dateVersion>1</dateVersion>
8
+ </WaveDashboard>
@@ -0,0 +1,21 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <WaveXmd xmlns="http://soap.sforce.com/2006/04/metadata">
3
+ <application>Verdant_Analytics</application>
4
+ <dataset>Project_Pipeline</dataset>
5
+ <type>User</type>
6
+ <dimensions>
7
+ <field>Project__c.Status__c</field>
8
+ <isDerived>false</isDerived>
9
+ <label>Project Status</label>
10
+ <origin>Project__c.Status__c</origin>
11
+ <showInExplorer>true</showInExplorer>
12
+ <sortIndex>0</sortIndex>
13
+ </dimensions>
14
+ <measures>
15
+ <field>Project__c.Contract_Value__c</field>
16
+ <isDerived>false</isDerived>
17
+ <label>Contract Value</label>
18
+ <origin>Project__c.Contract_Value__c</origin>
19
+ <showInExplorer>true</showInExplorer>
20
+ </measures>
21
+ </WaveXmd>