@salesforce/lds-network-aura 1.354.0-dev7 → 1.354.0-dev8
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/dist/ldsNetwork.js +20 -3
- package/package.json +6 -6
package/dist/ldsNetwork.js
CHANGED
|
@@ -1240,8 +1240,19 @@ const FUNDRAISING_COMMITMENT_DEFAULT_DESIGNATION_PATH = new RegExp(`${FUNDRAISIN
|
|
|
1240
1240
|
const FUNDRAISING_GIFT_TRANSACTION_PATH = new RegExp(`${FUNDRAISING_BASE_URI}/gift-commitments/[a-zA-Z0-9]{15,18}/gift-transactions$`, 'i');
|
|
1241
1241
|
const FUNDRAISING_TRANSACTION_LINKED_DESIGNATION_PATH = new RegExp(`${FUNDRAISING_BASE_URI}/transaction/[a-zA-Z0-9]{15,18}/designations$`, 'i');
|
|
1242
1242
|
// CDP BYOC Endpoints
|
|
1243
|
-
|
|
1244
|
-
|
|
1243
|
+
/**
|
|
1244
|
+
* Generic endpoint strings built from our base endpoint. This allows for reusability across our endpoints
|
|
1245
|
+
*/
|
|
1246
|
+
const CDP_BYOC_CUSTOM_CODE_BASE_URI = `${CDP_BYOC_BASE_URI}/([A-Za-z0-9_]){1,80}`;
|
|
1247
|
+
const CDP_BYOC_CUSTOM_CODE_EXECUTION_COLLECTION_BASE_URI = `${CDP_BYOC_CUSTOM_CODE_BASE_URI}/executions`;
|
|
1248
|
+
const CDP_BYOC_CUSTOM_CODE_EXECUTION_BASE_URI = `${CDP_BYOC_CUSTOM_CODE_EXECUTION_COLLECTION_BASE_URI}/[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}`;
|
|
1249
|
+
/**
|
|
1250
|
+
* Regex used for matching the paths in our adapters
|
|
1251
|
+
*/
|
|
1252
|
+
const CDP_BYOC_CUSTOM_CODE_COLLECTION_PATH = new RegExp(`${CDP_BYOC_BASE_URI}$`, 'i');
|
|
1253
|
+
const CDP_BYOC_CUSTOM_CODE_PATH = new RegExp(`${CDP_BYOC_CUSTOM_CODE_BASE_URI}$`, 'i');
|
|
1254
|
+
const CDP_BYOC_CUSTOM_CODE_EXECUTIONS_PATH = new RegExp(`${CDP_BYOC_CUSTOM_CODE_EXECUTION_COLLECTION_BASE_URI}$`, 'i');
|
|
1255
|
+
const CDP_BYOC_CUSTOM_CODE_EXECUTION_LOGS_PATH = new RegExp(`${CDP_BYOC_CUSTOM_CODE_EXECUTION_BASE_URI}/logs$`, 'i');
|
|
1245
1256
|
// CDP Data Graph Endpoints
|
|
1246
1257
|
const CDP_DATA_GRAPH_PATH = new RegExp(`${CDP_BASE_URI}/data-graphs`, 'i');
|
|
1247
1258
|
// Prevent matching /data-graphs/metadata
|
|
@@ -1614,6 +1625,8 @@ const CDP_DATA_CLEAN_ROOM_COLLABORATIONS = new RegExp(`${CDP_DATA_CLEAN_ROOM_BAS
|
|
|
1614
1625
|
const CDP_DATA_CLEAN_ROOM_TEMPLATES = new RegExp(`${CDP_DATA_CLEAN_ROOM_BASE_URI}/templates`, 'i');
|
|
1615
1626
|
const CDP_DATA_CLEAN_ROOM_ACCEPT_INVITATION = new RegExp(`${CDP_DATA_CLEAN_ROOM_BASE_URI}/collaborations/([^/]+)/actions/accept-invitation`, 'i');
|
|
1616
1627
|
const CDP_DATA_CLEAN_ROOM_REJECT_INVITATION = new RegExp(`${CDP_DATA_CLEAN_ROOM_BASE_URI}/collaborations/([^/]+)/actions/reject-invitation`, 'i');
|
|
1628
|
+
const CDP_DATA_CLEAN_ROOM_RUN_QUERY = new RegExp(`${CDP_DATA_CLEAN_ROOM_BASE_URI}/([^/]+)/actions/run`, 'i');
|
|
1629
|
+
const CDP_DATA_CLEAN_ROOM_GET_JOB_HISTORY = new RegExp(`${CDP_DATA_CLEAN_ROOM_BASE_URI}/([^/]+)/jobs`, 'i');
|
|
1617
1630
|
const unifiedAnalytics = [
|
|
1618
1631
|
// eslint-disable-next-line @salesforce/lds/oas-body-name-required
|
|
1619
1632
|
generateAdapter('post', BASE_URI, UNIFIED_ANALYTICS_ANNOTATIONS_PATH, 'AnalyticsController.createAnnotation', 'annotation'),
|
|
@@ -2957,6 +2970,8 @@ const cdp = [
|
|
|
2957
2970
|
// NOTE: Order is important, put more-specific regexes earlier in the array.
|
|
2958
2971
|
// e.g. If /data-custom-code comes before /data-custom-code/{nameOrId}, the latter will never be used.
|
|
2959
2972
|
const cdpByoc = [
|
|
2973
|
+
generateAdapter('get', CDP_BASE_URI, CDP_BYOC_CUSTOM_CODE_EXECUTION_LOGS_PATH, 'CdpCustomCodeDeploymentController.getCustomCodeExecutionLogs'),
|
|
2974
|
+
generateAdapter('get', CDP_BASE_URI, CDP_BYOC_CUSTOM_CODE_EXECUTIONS_PATH, 'CdpCustomCodeDeploymentController.getCustomCodeExecutions'),
|
|
2960
2975
|
generateAdapter('get', CDP_BASE_URI, CDP_BYOC_CUSTOM_CODE_PATH, 'CdpCustomCodeDeploymentController.getCustomCodeDeployment'),
|
|
2961
2976
|
generateAdapter('patch', CDP_BASE_URI, CDP_BYOC_CUSTOM_CODE_PATH, 'CdpCustomCodeDeploymentController.updateCustomCodeDeployment', 'customCodeDeployment'),
|
|
2962
2977
|
generateAdapter('delete', CDP_BASE_URI, CDP_BYOC_CUSTOM_CODE_PATH, 'CdpCustomCodeDeploymentController.deleteCustomCodeDeployment'),
|
|
@@ -3016,6 +3031,8 @@ const cdpDataCleanRoom = [
|
|
|
3016
3031
|
generateAdapter('get', BASE_URI, CDP_DATA_CLEAN_ROOM_TEMPLATES, 'CdpDataCleanRoomController.getDataCleanRoomTemplatePaginated'),
|
|
3017
3032
|
generateAdapter('put', BASE_URI, CDP_DATA_CLEAN_ROOM_ACCEPT_INVITATION, 'CdpDataCleanRoomController.acceptDataCleanRoomInvitation', 'input'),
|
|
3018
3033
|
generateAdapter('put', BASE_URI, CDP_DATA_CLEAN_ROOM_REJECT_INVITATION, 'CdpDataCleanRoomController.rejectDataCleanRoomInvitation', 'input'),
|
|
3034
|
+
generateAdapter('post', BASE_URI, CDP_DATA_CLEAN_ROOM_RUN_QUERY, 'CdpDataCleanRoomController.executeDataCleanRoomQuery', 'input'),
|
|
3035
|
+
generateAdapter('get', BASE_URI, CDP_DATA_CLEAN_ROOM_GET_JOB_HISTORY, 'CdpDataCleanRoomController.getAllDataCleanRoomQueryPaginated'),
|
|
3019
3036
|
];
|
|
3020
3037
|
const cdpDocumentProcessing = [
|
|
3021
3038
|
generateAdapter('get', CDP_DOCUMENT_PROCESSING, CDP_DOCUMENT_PROCESSING_GLOBAL_CONFIG, 'IntelligentDocumentProcessingController.getIdpGlobalConfig'),
|
|
@@ -5592,4 +5609,4 @@ function auraNetworkAdapter(resourceRequest, resourceRequestContext) {
|
|
|
5592
5609
|
var main = platformNetworkAdapter(auraNetworkAdapter);
|
|
5593
5610
|
|
|
5594
5611
|
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 };
|
|
5595
|
-
// version: 1.354.0-
|
|
5612
|
+
// version: 1.354.0-dev8-f1629d64ec
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-network-aura",
|
|
3
|
-
"version": "1.354.0-
|
|
3
|
+
"version": "1.354.0-dev8",
|
|
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.157.1-dev2"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@salesforce/lds-adapters-uiapi": "^1.354.0-
|
|
41
|
-
"@salesforce/lds-aura-storage": "^1.354.0-
|
|
42
|
-
"@salesforce/lds-environment-settings": "^1.354.0-
|
|
43
|
-
"@salesforce/lds-instrumentation": "^1.354.0-
|
|
44
|
-
"@salesforce/lds-network-adapter": "^1.354.0-
|
|
40
|
+
"@salesforce/lds-adapters-uiapi": "^1.354.0-dev8",
|
|
41
|
+
"@salesforce/lds-aura-storage": "^1.354.0-dev8",
|
|
42
|
+
"@salesforce/lds-environment-settings": "^1.354.0-dev8",
|
|
43
|
+
"@salesforce/lds-instrumentation": "^1.354.0-dev8",
|
|
44
|
+
"@salesforce/lds-network-adapter": "^1.354.0-dev8"
|
|
45
45
|
},
|
|
46
46
|
"volta": {
|
|
47
47
|
"extends": "../../package.json"
|