@salesforce/lds-network-aura 1.383.0 → 1.385.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,13 +1347,17 @@ 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');
1353
+ const EINSTEIN_DATA_PROVIDER_INSTANCE_CONFIG_PATH = new RegExp(`${EINSTEIN_BASE_URI}/prompt-templates/data-provider/describe`, 'i');
1351
1354
  const EINSTEIN_PROMPT_TEMPLATE_PATH = new RegExp(`${EINSTEIN_BASE_URI}/prompt-templates$`, 'i');
1352
1355
  const EINSTEIN_PROMPT_TEMPLATE_VERSIONS_CREATE_PATH = new RegExp(`${EINSTEIN_BASE_URI}/prompt-templates/([A-Za-z0-9_]){1,255}/versions`, 'i');
1353
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');
1354
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');
1355
1358
  const EINSTEIN_LLM_FEEDBACK_PATH = new RegExp(`${EINSTEIN_BASE_URI}/llm/feedback`, 'i');
1356
1359
  const EINSTEIN_LLM_EMBEDDINGS_PATH = new RegExp(`${EINSTEIN_BASE_URI}/llm/embeddings`, 'i');
1360
+ 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');
1357
1361
  const DOCUMENT_MATRIX_FETCH_RESULTS = new RegExp(`${CONNECT_BASE_URI}/document-matrix/document-decision/([A-Za-z0-9]){1,18}$`, 'i');
1358
1362
  const NEXTGENSALESAGREEMENTPRICE_PATH = new RegExp(`${CONNECT_BASE_URI}/sales-agreements/([A-Za-z0-9]){1,255}/price`, 'i');
1359
1363
  const SALES_AGREEMENT_UPDATE_PATH = new RegExp(`${CONNECT_BASE_URI}/sales-agreements/([A-Za-z0-9]){1,255}/product`, 'i');
@@ -3191,7 +3195,12 @@ const einstein = [
3191
3195
  generateAdapter('post', EINSTEIN_BASE_URI, EINSTEIN_LLM_FEEDBACK_PATH, 'EinsteinLLMController.feedback'),
3192
3196
  // eslint-disable-next-line @salesforce/lds/oas-body-name-required
3193
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'),
3194
3199
  generateAdapter('post', EINSTEIN_BASE_URI, EINSTEIN_DATA_PROVIDER_MAPPED_PATH, 'EinsteinLLMController.getInputMappedDataProviders', 'dataProviderDiscoveryInput'),
3200
+ generateAdapter('post', EINSTEIN_BASE_URI, EINSTEIN_DATA_PROVIDER_INSTANCE_CONFIG_PATH, 'EinsteinLLMController.getDataProviderInstanceConfig', 'dataProviderInstanceConfigInput'),
3201
+ // eslint-disable-next-line @salesforce/lds/oas-body-name-required
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'),
3195
3204
  ];
3196
3205
  const nextGenSalesAgreementPrice = [
3197
3206
  // eslint-disable-next-line @salesforce/lds/oas-body-name-required
@@ -5272,7 +5281,7 @@ const { join, push, unshift } = Array.prototype;
5272
5281
  const { isArray } = Array;
5273
5282
  const { entries, keys } = Object;
5274
5283
 
5275
- const UI_API_BASE_URI = '/services/data/v65.0/ui-api';
5284
+ const UI_API_BASE_URI = '/services/data/v66.0/ui-api';
5276
5285
 
5277
5286
  let instrumentation = {
5278
5287
  aggregateUiChunkCount: (_cb) => { },
@@ -5777,4 +5786,4 @@ function auraNetworkAdapter(resourceRequest, resourceRequestContext) {
5777
5786
  var main = platformNetworkAdapter(auraNetworkAdapter);
5778
5787
 
5779
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 };
5780
- // version: 1.383.0-b9875fc4e1
5789
+ // version: 1.385.0-d3f7eb3162
@@ -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.383.0",
3
+ "version": "1.385.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.383.0",
41
- "@salesforce/lds-aura-storage": "^1.383.0",
42
- "@salesforce/lds-environment-settings": "^1.383.0",
43
- "@salesforce/lds-instrumentation": "^1.383.0",
44
- "@salesforce/lds-network-adapter": "^1.383.0"
40
+ "@salesforce/lds-adapters-uiapi": "^1.385.0",
41
+ "@salesforce/lds-aura-storage": "^1.385.0",
42
+ "@salesforce/lds-environment-settings": "^1.385.0",
43
+ "@salesforce/lds-instrumentation": "^1.385.0",
44
+ "@salesforce/lds-network-adapter": "^1.385.0"
45
45
  },
46
46
  "volta": {
47
47
  "extends": "../../package.json"