@salesforce/lds-network-aura 1.384.0 → 1.386.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.
@@ -21,7 +21,7 @@ import { getEnvironmentSetting, EnvironmentSettings } from 'force/ldsEnvironment
21
21
  const { create, entries: entries$1, keys: keys$1 } = Object;
22
22
  const { parse: parse$1, stringify: stringify$1 } = JSON;
23
23
 
24
- const BASE_URI = '/services/data/v65.0';
24
+ const BASE_URI = '/services/data/v66.0';
25
25
  const CONNECT_BASE_URI = `${BASE_URI}/connect`;
26
26
  const ASSET_MANAGEMENT_BASE_URI = `${BASE_URI}/asset-management`;
27
27
  const COMMERCE_BASE_URI = `${BASE_URI}/commerce`;
@@ -470,7 +470,7 @@ router.post((path) => path.startsWith(`${CDP_BASE_URI}/data-graphs`), buildDataG
470
470
  router.put((path) => path.startsWith(`${CDP_BASE_URI}/data-graphs/retry`), buildDataGraphAction('CdpDataGraphController.retryDataGraph'));
471
471
  router.put((path) => path.startsWith(`${CDP_BASE_URI}/data-graphs`), buildDataGraphAction('CdpDataGraphController.editDataGraph'));
472
472
 
473
- const LWR_APEX_BASE_URI = '/lwr/apex/v65.0';
473
+ const LWR_APEX_BASE_URI = '/lwr/apex/v66.0';
474
474
  const ApexController = 'ApexActionController.execute';
475
475
  const CACHE_CONTROL = 'Cache-Control';
476
476
  const X_SFDC_ALLOW_CONTINUATION = 'X-SFDC-Allow-Continuation';
@@ -1347,11 +1347,13 @@ 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_DISCOVER_PATH = new RegExp(`${EINSTEIN_BASE_URI}/prompt-templates/data-providers/([A-Za-z0-9_]){1,255}`, 'i');
1350
1351
  const EINSTEIN_DATA_PROVIDER_MAPPED_PATH = new RegExp(`${EINSTEIN_BASE_URI}/prompt-templates/data-providers/mapped`, 'i');
1352
+ const EINSTEIN_DATA_PROVIDER_TYPE_CONFIG_PATH = new RegExp(`${EINSTEIN_BASE_URI}/prompt-templates/data-provider-types/([A-Za-z0-9_]){1,255}`, 'i');
1351
1353
  const EINSTEIN_DATA_PROVIDER_INSTANCE_CONFIG_PATH = new RegExp(`${EINSTEIN_BASE_URI}/prompt-templates/data-provider/describe`, 'i');
1352
1354
  const EINSTEIN_PROMPT_TEMPLATE_PATH = new RegExp(`${EINSTEIN_BASE_URI}/prompt-templates$`, 'i');
1353
1355
  const EINSTEIN_PROMPT_TEMPLATE_VERSIONS_CREATE_PATH = new RegExp(`${EINSTEIN_BASE_URI}/prompt-templates/([A-Za-z0-9_]){1,255}/versions`, 'i');
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');
1356
+ 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');
1355
1357
  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');
1356
1358
  const EINSTEIN_LLM_FEEDBACK_PATH = new RegExp(`${EINSTEIN_BASE_URI}/llm/feedback`, 'i');
1357
1359
  const EINSTEIN_LLM_EMBEDDINGS_PATH = new RegExp(`${EINSTEIN_BASE_URI}/llm/embeddings`, 'i');
@@ -3193,10 +3195,12 @@ const einstein = [
3193
3195
  generateAdapter('post', EINSTEIN_BASE_URI, EINSTEIN_LLM_FEEDBACK_PATH, 'EinsteinLLMController.feedback'),
3194
3196
  // eslint-disable-next-line @salesforce/lds/oas-body-name-required
3195
3197
  generateAdapter('post', EINSTEIN_BASE_URI, EINSTEIN_LLM_EMBEDDINGS_PATH, 'EinsteinLLMController.createEmbeddings'),
3198
+ generateAdapter('get', EINSTEIN_BASE_URI, EINSTEIN_DATA_PROVIDER_DISCOVER_PATH, 'EinsteinLLMController.getDataProviders'),
3196
3199
  generateAdapter('post', EINSTEIN_BASE_URI, EINSTEIN_DATA_PROVIDER_MAPPED_PATH, 'EinsteinLLMController.getInputMappedDataProviders', 'dataProviderDiscoveryInput'),
3197
3200
  generateAdapter('post', EINSTEIN_BASE_URI, EINSTEIN_DATA_PROVIDER_INSTANCE_CONFIG_PATH, 'EinsteinLLMController.getDataProviderInstanceConfig', 'dataProviderInstanceConfigInput'),
3198
3201
  // eslint-disable-next-line @salesforce/lds/oas-body-name-required
3199
3202
  generateAdapter('put', EINSTEIN_BASE_URI, EINSTEIN_PROMPT_TEMPLATE_VERSION_STATUS_PATH, 'EinsteinLLMController.putEinsteinPromptTemplateVersionStatus'),
3203
+ generateAdapter('get', EINSTEIN_BASE_URI, EINSTEIN_DATA_PROVIDER_TYPE_CONFIG_PATH, 'EinsteinLLMController.getDataProviderTypeConfigs'),
3200
3204
  ];
3201
3205
  const nextGenSalesAgreementPrice = [
3202
3206
  // eslint-disable-next-line @salesforce/lds/oas-body-name-required
@@ -5277,7 +5281,7 @@ const { join, push, unshift } = Array.prototype;
5277
5281
  const { isArray } = Array;
5278
5282
  const { entries, keys } = Object;
5279
5283
 
5280
- const UI_API_BASE_URI = '/services/data/v65.0/ui-api';
5284
+ const UI_API_BASE_URI = '/services/data/v66.0/ui-api';
5281
5285
 
5282
5286
  let instrumentation = {
5283
5287
  aggregateUiChunkCount: (_cb) => { },
@@ -5782,4 +5786,4 @@ function auraNetworkAdapter(resourceRequest, resourceRequestContext) {
5782
5786
  var main = platformNetworkAdapter(auraNetworkAdapter);
5783
5787
 
5784
5788
  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 };
5785
- // version: 1.384.0-cb845692ac
5789
+ // version: 1.386.0-667e615528
@@ -1 +1 @@
1
- export declare const LWR_APEX_BASE_URI = "/lwr/apex/v65.0";
1
+ export declare const LWR_APEX_BASE_URI = "/lwr/apex/v66.0";
@@ -1,4 +1,4 @@
1
- export declare const BASE_URI = "/services/data/v65.0";
1
+ export declare const BASE_URI = "/services/data/v66.0";
2
2
  export declare const CONNECT_BASE_URI: string;
3
3
  export declare const ASSET_MANAGEMENT_BASE_URI: string;
4
4
  export declare const COMMERCE_BASE_URI: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-network-aura",
3
- "version": "1.384.0",
3
+ "version": "1.386.0",
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.384.0",
41
- "@salesforce/lds-aura-storage": "^1.384.0",
42
- "@salesforce/lds-environment-settings": "^1.384.0",
43
- "@salesforce/lds-instrumentation": "^1.384.0",
44
- "@salesforce/lds-network-adapter": "^1.384.0"
40
+ "@salesforce/lds-adapters-uiapi": "^1.386.0",
41
+ "@salesforce/lds-aura-storage": "^1.386.0",
42
+ "@salesforce/lds-environment-settings": "^1.386.0",
43
+ "@salesforce/lds-instrumentation": "^1.386.0",
44
+ "@salesforce/lds-network-adapter": "^1.386.0"
45
45
  },
46
46
  "volta": {
47
47
  "extends": "../../package.json"