@salesforce/lds-network-aura 1.380.0-dev1 → 1.380.0-dev3

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 (2) hide show
  1. package/dist/ldsNetwork.js +12 -1
  2. package/package.json +6 -6
@@ -1347,12 +1347,15 @@ const GET_AVAILS_CALENDAR_CONFIGS = new RegExp(`${MEDIA_ADSALES_BASE_URI}/avails
1347
1347
  const EINSTEIN_LLM_GENERATIONS_PATH = new RegExp(`${EINSTEIN_BASE_URI}/llm/prompt/generations`, 'i');
1348
1348
  const EINSTEIN_PROMPT_TEMPLATE_GENERATIONS_PATH = new RegExp(`${EINSTEIN_BASE_URI}/prompt-templates/([A-Za-z0-9_]){1,255}/generations`, 'i');
1349
1349
  const EINSTEIN_SINGLE_PROMPT_TEMPLATE_PATH = new RegExp(`${EINSTEIN_BASE_URI}/prompt-templates/([A-Za-z0-9_]){1,255}$`, 'i');
1350
+ const EINSTEIN_DATA_PROVIDER_MAPPED_PATH = new RegExp(`${EINSTEIN_BASE_URI}/prompt-templates/data-providers/mapped`, 'i');
1351
+ const EINSTEIN_DATA_PROVIDER_INSTANCE_CONFIG_PATH = new RegExp(`${EINSTEIN_BASE_URI}/prompt-templates/data-provider/describe`, 'i');
1350
1352
  const EINSTEIN_PROMPT_TEMPLATE_PATH = new RegExp(`${EINSTEIN_BASE_URI}/prompt-templates$`, 'i');
1351
1353
  const EINSTEIN_PROMPT_TEMPLATE_VERSIONS_CREATE_PATH = new RegExp(`${EINSTEIN_BASE_URI}/prompt-templates/([A-Za-z0-9_]){1,255}/versions`, 'i');
1352
1354
  const EINSTEIN_PROMPT_TEMPLATE_VERSIONS_UPDATE_PATH = new RegExp(`${EINSTEIN_BASE_URI}/prompt-templates/([A-Za-z0-9_]){1,255}/versions/([A-Za-z0-9_]){1,255}`, 'i');
1353
1355
  const EINSTEIN_PROMPT_TEMPLATE_OUTPUT_LANG_PATH = new RegExp(`${EINSTEIN_BASE_URI}/prompt-template/(?!.*__)[A-Za-z0-9](?:[A-Za-z0-9_]{0,253}[A-Za-z0-9])?/output-languages$`, 'i');
1354
1356
  const EINSTEIN_LLM_FEEDBACK_PATH = new RegExp(`${EINSTEIN_BASE_URI}/llm/feedback`, 'i');
1355
1357
  const EINSTEIN_LLM_EMBEDDINGS_PATH = new RegExp(`${EINSTEIN_BASE_URI}/llm/embeddings`, 'i');
1358
+ const EINSTEIN_PROMPT_TEMPLATE_VERSION_STATUS_PATH = new RegExp(`${EINSTEIN_BASE_URI}/prompt-templates/([A-Za-z0-9_]){1,255}/versions/([A-Za-z0-9_]){1,255}/status(\\?.*)?$`, 'i');
1356
1359
  const DOCUMENT_MATRIX_FETCH_RESULTS = new RegExp(`${CONNECT_BASE_URI}/document-matrix/document-decision/([A-Za-z0-9]){1,18}$`, 'i');
1357
1360
  const NEXTGENSALESAGREEMENTPRICE_PATH = new RegExp(`${CONNECT_BASE_URI}/sales-agreements/([A-Za-z0-9]){1,255}/price`, 'i');
1358
1361
  const SALES_AGREEMENT_UPDATE_PATH = new RegExp(`${CONNECT_BASE_URI}/sales-agreements/([A-Za-z0-9]){1,255}/product`, 'i');
@@ -3185,6 +3188,10 @@ const einstein = [
3185
3188
  generateAdapter('post', EINSTEIN_BASE_URI, EINSTEIN_LLM_FEEDBACK_PATH, 'EinsteinLLMController.feedback'),
3186
3189
  // eslint-disable-next-line @salesforce/lds/oas-body-name-required
3187
3190
  generateAdapter('post', EINSTEIN_BASE_URI, EINSTEIN_LLM_EMBEDDINGS_PATH, 'EinsteinLLMController.createEmbeddings'),
3191
+ generateAdapter('post', EINSTEIN_BASE_URI, EINSTEIN_DATA_PROVIDER_MAPPED_PATH, 'EinsteinLLMController.getInputMappedDataProviders', 'dataProviderDiscoveryInput'),
3192
+ // eslint-disable-next-line @salesforce/lds/oas-body-name-required
3193
+ generateAdapter('put', EINSTEIN_BASE_URI, EINSTEIN_PROMPT_TEMPLATE_VERSION_STATUS_PATH, 'EinsteinLLMController.putEinsteinPromptTemplateVersionStatus'),
3194
+ generateAdapter('post', EINSTEIN_BASE_URI, EINSTEIN_DATA_PROVIDER_INSTANCE_CONFIG_PATH, 'EinsteinLLMController.getDataProviderInstanceConfig', 'dataProviderInstanceConfigInput'),
3188
3195
  ];
3189
3196
  const nextGenSalesAgreementPrice = [
3190
3197
  // eslint-disable-next-line @salesforce/lds/oas-body-name-required
@@ -3246,6 +3253,7 @@ const SERVICE_SLACK_CONVERSATION_AUTH = new RegExp(`${SERVICE_SLACK_BASE_URI}/co
3246
3253
  const SERVICE_SLACK_CONVERSATION_EMOJIS = new RegExp(`${SERVICE_SLACK_BASE_URI}/conversation/emojis$`, 'i');
3247
3254
  const SERVICE_SLACK_CONVERSATION_FILES = new RegExp(`${SERVICE_SLACK_BASE_URI}/conversation/files$`, 'i');
3248
3255
  const SERVICE_SLACK_CONVERSATION_MESSAGES = new RegExp(`${SERVICE_SLACK_BASE_URI}/conversation/messages$`, 'i');
3256
+ const SERVICE_SLACK_CONVERSATION_OPEN = new RegExp(`${SERVICE_SLACK_BASE_URI}/conversation/open$`, 'i');
3249
3257
  const SERVICE_SLACK_CONVERSATION_BY_TIMESTAMP = new RegExp(`${SERVICE_SLACK_BASE_URI}/conversation/messages/([0-9.]){1,30}$`, 'i');
3250
3258
  const SERVICE_SLACK_CONVERSATION_MESSAGE_REACTIONS = new RegExp(`${SERVICE_SLACK_BASE_URI}/conversation/messages/([0-9.]){1,30}/reactions$`, 'i');
3251
3259
  const SERVICE_SLACK_CONVERSATION_USER = new RegExp(`${SERVICE_SLACK_BASE_URI}/conversation/user/([A-Za-z0-9_]+){3,50}$`, 'i');
@@ -3253,6 +3261,7 @@ const serviceSlack = [
3253
3261
  generateAdapter('get', SERVICE_SLACK_BASE_URI, SERVICE_SLACK_CONVERSATION_MESSAGES, 'SwarmingController.getSlackConversationReplies'),
3254
3262
  generateAdapter('get', SERVICE_SLACK_BASE_URI, SERVICE_SLACK_CONVERSATION_MESSAGES, 'SwarmingController.getSlackConversationHistory'),
3255
3263
  generateAdapter('post', SERVICE_SLACK_BASE_URI, SERVICE_SLACK_CONVERSATION_MESSAGES, 'SwarmingController.postSlackMessage', 'slackMessagePostRequest'),
3264
+ generateAdapter('post', SERVICE_SLACK_BASE_URI, SERVICE_SLACK_CONVERSATION_OPEN, 'SwarmingController.openSlackConversation', 'slackConversationOpenRequest'),
3256
3265
  generateAdapter('get', SERVICE_SLACK_BASE_URI, SERVICE_SLACK_CONVERSATION_AUTH, 'SwarmingController.getSlackSalesforceAuthentication'),
3257
3266
  generateAdapter('get', SERVICE_SLACK_BASE_URI, SERVICE_SLACK_CONVERSATION_INFO, 'SwarmingController.getConversationInfo'),
3258
3267
  generateAdapter('get', SERVICE_SLACK_BASE_URI, SERVICE_SLACK_SEARCH_CONVERSATION, 'SwarmingController.searchSlackConversation'),
@@ -3653,6 +3662,7 @@ const lightningTypes = [
3653
3662
  generateAdapter('get', PLATFORM_LIGHTNING_TYPES_BASE_URI, GET_LIGHTNING_TYPES_COLLECTION, 'LightningTypesFamilyController.getLightningTypes'),
3654
3663
  ];
3655
3664
  const SLACK_BRIDGE_CONVERSATION_MESSAGES = new RegExp(`${SLACK_BRIDGE_BASE_URI}/conversation/messages$`, 'i');
3665
+ const SLACK_BRIDGE_CONVERSATION_OPEN = new RegExp(`${SLACK_BRIDGE_BASE_URI}/conversation/open$`, 'i');
3656
3666
  const SLACK_BRIDGE_RECORD_CHANNELS_URI = `${SLACK_BRIDGE_BASE_URI}/record_channels`;
3657
3667
  const SLACK_BRIDGE_RECORD_CHANNELS = new RegExp(`${SLACK_BRIDGE_RECORD_CHANNELS_URI}$`, 'i');
3658
3668
  const SLACK_BRIDGE_RECORD_CHANNELS_MEMBER = new RegExp(`${SLACK_BRIDGE_RECORD_CHANNELS_URI}/([a-zA-Z0-9]{15}|[a-zA-Z0-9]{18})`, 'i');
@@ -3678,6 +3688,7 @@ const SLACK_BRIDGE_SLACK_DISPLAY_LOGIN_PATH = new RegExp(`${SLACK_BRIDGE_BASE_UR
3678
3688
  const slackBridge = [
3679
3689
  generateAdapter('get', SLACK_BRIDGE_BASE_URI, SLACK_BRIDGE_CONVERSATION_MESSAGES, 'SlackBridgeController.getSlackConversation'),
3680
3690
  generateAdapter('post', SLACK_BRIDGE_BASE_URI, SLACK_BRIDGE_CONVERSATION_MESSAGES, 'SlackBridgeController.postSlackConversation', 'slackMessagePostRequest'),
3691
+ generateAdapter('post', SLACK_BRIDGE_BASE_URI, SLACK_BRIDGE_CONVERSATION_OPEN, 'SlackBridgeController.openSlackConversation', 'slackConversationOpenRequest'),
3681
3692
  generateAdapter('get', SLACK_BRIDGE_BASE_URI, SLACK_BRIDGE_TEAM_CHANNEL_INFO, 'SlackBridgeController.getSlackConversationInfo'),
3682
3693
  generateAdapter('get', SLACK_BRIDGE_BASE_URI, SLACK_BRIDGE_TEAM_CHANNEL_INFOS, 'SlackBridgeController.getSlackConversationInfos'),
3683
3694
  generateAdapter('get', SLACK_BRIDGE_BASE_URI, SLACK_BRIDGE_SEARCH_CONVERSATION, 'SlackBridgeController.searchSlackConversation'),
@@ -5758,4 +5769,4 @@ function auraNetworkAdapter(resourceRequest, resourceRequestContext) {
5758
5769
  var main = platformNetworkAdapter(auraNetworkAdapter);
5759
5770
 
5760
5771
  export { CrudEventState, CrudEventType, UIAPI_GET_LAYOUT, UIAPI_GET_LAYOUT_USER_STATE, UIAPI_OBJECT_INFO_BATCH_PATH, UIAPI_OBJECT_INFO_PATH, UIAPI_RECORDS_PATH$1 as UIAPI_RECORDS_PATH, UIAPI_RELATED_LIST_RECORDS_BATCH_PATH, UIAPI_RELATED_LIST_RECORDS_PATH, createOkResponse$1 as createOkResponse, main as default, defaultActionConfig, dispatchAction as dispatchAuraAction, forceRecordTransactionsDisabled, getTransactionKey, instrument$1 as instrument, layoutStorage, layoutStorageStatsLogger, layoutUserStateStorage, layoutUserStateStorageStatsLogger, instrument as ldsNetworkAdapterInstrument, objectInfoStorage, objectInfoStorageStatsLogger, shouldForceRefresh };
5761
- // version: 1.380.0-dev1-4b44b915b4
5772
+ // version: 1.380.0-dev3-53ae034d90
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-network-aura",
3
- "version": "1.380.0-dev1",
3
+ "version": "1.380.0-dev3",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "LDS Network Adapter for Aura Runtime",
6
6
  "main": "dist/ldsNetwork.js",
@@ -37,11 +37,11 @@
37
37
  "@luvio/engine": "0.158.7"
38
38
  },
39
39
  "devDependencies": {
40
- "@salesforce/lds-adapters-uiapi": "^1.380.0-dev1",
41
- "@salesforce/lds-aura-storage": "^1.380.0-dev1",
42
- "@salesforce/lds-environment-settings": "^1.380.0-dev1",
43
- "@salesforce/lds-instrumentation": "^1.380.0-dev1",
44
- "@salesforce/lds-network-adapter": "^1.380.0-dev1"
40
+ "@salesforce/lds-adapters-uiapi": "^1.380.0-dev3",
41
+ "@salesforce/lds-aura-storage": "^1.380.0-dev3",
42
+ "@salesforce/lds-environment-settings": "^1.380.0-dev3",
43
+ "@salesforce/lds-instrumentation": "^1.380.0-dev3",
44
+ "@salesforce/lds-network-adapter": "^1.380.0-dev3"
45
45
  },
46
46
  "volta": {
47
47
  "extends": "../../package.json"