@salesforce/lds-network-aura 1.178.0 → 1.180.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.
- package/dist/ldsNetwork.js +27 -1
- package/package.json +1 -1
package/dist/ldsNetwork.js
CHANGED
|
@@ -621,6 +621,7 @@ const CLM_UPDATE_DOCUMENT_URI_PATH = new RegExp(`${CLM_BASE_URI}/contract-docume
|
|
|
621
621
|
const CLM_CONTRACT_CHECKIN_URI_PATH = new RegExp(`${CLM_BASE_URI}/contract-document-version/([A-Z0-9]){1,18}/checkIn$`, 'i');
|
|
622
622
|
const CLM_CONTRACT_UNLOCK_URI_PATH = new RegExp(`${CLM_BASE_URI}/contract-document-version/([A-Z0-9]){1,18}/unlock$`, 'i');
|
|
623
623
|
const CLM_CONTRACT_LOCK_URI_PATH = new RegExp(`${CLM_BASE_URI}/contract-document-version/([A-Z0-9]){1,18}/lock$`, 'i');
|
|
624
|
+
const CLM_CONTRACT_EXTERNAL_REVIEW_DOCUMENT_URI_PATH = new RegExp(`${CLM_BASE_URI}/contract-document-version/([A-Z0-9]){1,18}/externalReviewDocument$`, 'i');
|
|
624
625
|
const CLM_CONTRACT_CHECKOUT_URI_PATH = new RegExp(`${CLM_BASE_URI}/contract-document-version/([A-Z0-9]){1,18}/checkout$`, 'i');
|
|
625
626
|
const CLM_CONTENT_DOCUMENTS = new RegExp(`${CLM_BASE_URI}/contract-document-version/([A-Z0-9]){1,18}/content-documents$`, 'i');
|
|
626
627
|
const CLM_CONTRACT_REVIEW_PATH = new RegExp(`${CLM_BASE_URI}/contract-document-version/([A-Z0-9]){1,18}/review$`, 'i');
|
|
@@ -644,6 +645,7 @@ const IDENTIFY_VERIFICATION_VERIFY_RECORD_PATH = new RegExp(`${IDENTITY_VERIFICA
|
|
|
644
645
|
const FORM_BASED_VERIFICATION_VERIFY_RECORD_PATH = new RegExp(`${IDENTITY_VERIFICATION_BASE_URI}/input-verification`, 'i');
|
|
645
646
|
const AUDIT_TRAIL_EXPORT_DELETE_PATH = new RegExp(`${SERVICE_EXCELLENCE_BASE_URI}/audit-trail-exports/([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}$`, 'i');
|
|
646
647
|
const AUDIT_TRAIL_EXPORT_GET_PATH = new RegExp(`${SERVICE_EXCELLENCE_BASE_URI}/audit-trail-exports`, 'i');
|
|
648
|
+
const CDP_SALES_EXCELLENCE_GET_SEGMENT_DETAILS = new RegExp(`${CDP_SALES_EXCELLENCE_BASE_URI}/segments`, 'i');
|
|
647
649
|
const CDP_SALES_EXCELLENCE_SEGMENT_PREVIEW = new RegExp(`${CDP_SALES_EXCELLENCE_BASE_URI}/segment-preview`, 'i');
|
|
648
650
|
const AUDIT_TRAIL_EXPORT_DOWNLOAD_PATH = new RegExp(`${SERVICE_EXCELLENCE_BASE_URI}/audit-trail-exports/([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}/download$`, 'i');
|
|
649
651
|
const SALES_EXCELLENCE_ACTIONABLE_LIST_MEMBER_SEARCH = new RegExp(`${SALES_EXCELLENCE_BASE_URI}/actionable-list-members`, 'i');
|
|
@@ -652,6 +654,7 @@ const SALES_EXCELLENCE_ASSIGN_ACTIONABLE_LIST = new RegExp(`${SALES_EXCELLENCE_B
|
|
|
652
654
|
const SALES_EXCELLENCE_ASSIGNED_ACTIONABLE_LISTS = new RegExp(`${SALES_EXCELLENCE_BASE_URI}/actionable-lists$`, 'i');
|
|
653
655
|
const SALES_EXCELLENCE_GET_ACTIONABLE_LIST_METADATA = new RegExp(`${SALES_EXCELLENCE_BASE_URI}/actionable-lists/metadata/([A-Za-z0-9_]){1,255}$`, 'i');
|
|
654
656
|
const SALES_EXCELLENCE_GET_ALM_QUEUES = new RegExp(`${SALES_EXCELLENCE_BASE_URI}/actionable-list-member/queues`, 'i');
|
|
657
|
+
const GET_FIELD_SETS_PATH = new RegExp(`${CONNECT_BASE_URI}/fieldset/[A-Za-z]([A-Za-z0-9_]){1,39}$`, 'i');
|
|
655
658
|
const SALES_EXCELLENCE_GET_ACTIONABLE_LIST_KPI_BAR = new RegExp(`${SALES_EXCELLENCE_BASE_URI}/actionable-list/kpi`, 'i');
|
|
656
659
|
const TIMELINE_PATH = new RegExp(`${CONNECT_BASE_URI}/timeline/([A-Z0-9]){15,18}/timeline-definitions/([A-Za-z0-9_]){1,255}/events`, 'i');
|
|
657
660
|
const TIMELINE_METADATA_PATH = new RegExp(`${CONNECT_BASE_URI}/timeline/metadata/configurations`, 'i');
|
|
@@ -935,6 +938,7 @@ const connect = [
|
|
|
935
938
|
generateAdapter('patch', CLM_BASE_URI, CLM_CONTRACT_CHECKIN_URI_PATH, 'ClmController.checkIn'),
|
|
936
939
|
generateAdapter('patch', CLM_BASE_URI, CLM_CONTRACT_UNLOCK_URI_PATH, 'ClmController.unlock'),
|
|
937
940
|
generateAdapter('patch', CLM_BASE_URI, CLM_CONTRACT_LOCK_URI_PATH, 'ClmController.lockContractDocumentVersion'),
|
|
941
|
+
generateAdapter('get', CLM_BASE_URI, CLM_CONTRACT_EXTERNAL_REVIEW_DOCUMENT_URI_PATH, 'ClmController.getExternalReviewDocument'),
|
|
938
942
|
generateAdapter('post', CLM_BASE_URI, CLM_CONTRACT_CHECKOUT_URI_PATH, 'ClmController.checkoutContractDocumentVersion'),
|
|
939
943
|
generateAdapter('delete', CLM_BASE_URI, CLM_CONTENT_DOCUMENTS, 'ClmController.deleteAttachment'),
|
|
940
944
|
generateAdapter('get', CLM_BASE_URI, CLM_CONTENT_DOCUMENTS, 'ClmController.getContentDocument'),
|
|
@@ -1231,6 +1235,10 @@ const salesExcellence = [
|
|
|
1231
1235
|
];
|
|
1232
1236
|
const cdpSalesExcellence = [
|
|
1233
1237
|
generateAdapter('post', CONNECT_BASE_URI, CDP_SALES_EXCELLENCE_SEGMENT_PREVIEW, 'CdpSalesExcellenceController.createObjectsDataFromSelectedSegment'),
|
|
1238
|
+
generateAdapter('get', CONNECT_BASE_URI, CDP_SALES_EXCELLENCE_GET_SEGMENT_DETAILS, 'CdpSalesExcellenceController.getSegmentsDetails'),
|
|
1239
|
+
];
|
|
1240
|
+
const industriesFieldset = [
|
|
1241
|
+
generateAdapter('get', CONNECT_BASE_URI, GET_FIELD_SETS_PATH, 'FieldSetController.getFieldSets'),
|
|
1234
1242
|
];
|
|
1235
1243
|
const timeline = [
|
|
1236
1244
|
generateAdapter('get', CONNECT_BASE_URI, TIMELINE_PATH, 'TimelineController.getTimelineData'),
|
|
@@ -1443,6 +1451,7 @@ registerApiFamilyRoutes(identityVerification);
|
|
|
1443
1451
|
registerApiFamilyRoutes(salesExcellence);
|
|
1444
1452
|
registerApiFamilyRoutes(hpiscore);
|
|
1445
1453
|
registerApiFamilyRoutes(learningContentPlatform);
|
|
1454
|
+
registerApiFamilyRoutes(industriesFieldset);
|
|
1446
1455
|
registerApiFamilyRoutes(timeline);
|
|
1447
1456
|
registerApiFamilyRoutes(criteriabasedsearchfilter);
|
|
1448
1457
|
registerApiFamilyRoutes(smartDataDiscovery);
|
|
@@ -2105,6 +2114,7 @@ var UiApiListsController;
|
|
|
2105
2114
|
UiApiListsController["GetListInfoByName"] = "ListUiController.getListInfoByName";
|
|
2106
2115
|
UiApiListsController["GetListInfosByName"] = "ListUiController.getListInfosByName";
|
|
2107
2116
|
UiApiListsController["GetListRecordsByName"] = "ListUiController.getListRecordsByName";
|
|
2117
|
+
UiApiListsController["UpdateListInfoByName"] = "ListUiController.updateListInfoByName";
|
|
2108
2118
|
})(UiApiListsController || (UiApiListsController = {}));
|
|
2109
2119
|
const UIAPI_LIST_RECORDS_PATH = `${UI_API_BASE_URI$1}/list-records/`;
|
|
2110
2120
|
const UIAPI_LIST_UI_PATH = `${UI_API_BASE_URI$1}/list-ui/`;
|
|
@@ -2168,6 +2178,21 @@ function getListInfoByName(resourceRequest) {
|
|
|
2168
2178
|
}, resourceRequest);
|
|
2169
2179
|
return dispatchAction(UiApiListsController.GetListInfoByName, params);
|
|
2170
2180
|
}
|
|
2181
|
+
function updateListInfoByName(resourceRequest) {
|
|
2182
|
+
const { urlParams: { objectApiName, listViewApiName }, body, } = resourceRequest;
|
|
2183
|
+
const params = buildUiApiParams({
|
|
2184
|
+
objectApiName: objectApiName,
|
|
2185
|
+
listViewApiName: listViewApiName,
|
|
2186
|
+
listInfoInput: {
|
|
2187
|
+
filterLogicString: body.filterLogicString,
|
|
2188
|
+
filteredByInfo: body.filteredByInfo,
|
|
2189
|
+
label: body.label,
|
|
2190
|
+
scope: body.scope,
|
|
2191
|
+
visibility: body.visibility,
|
|
2192
|
+
},
|
|
2193
|
+
}, resourceRequest);
|
|
2194
|
+
return dispatchAction(UiApiListsController.UpdateListInfoByName, params);
|
|
2195
|
+
}
|
|
2171
2196
|
function getListInfosByName(resourceRequest) {
|
|
2172
2197
|
const { queryParams: { names }, } = resourceRequest;
|
|
2173
2198
|
const params = buildUiApiParams({
|
|
@@ -2201,6 +2226,7 @@ router.get((path) => path.startsWith(UIAPI_LIST_UI_PATH) &&
|
|
|
2201
2226
|
// .../list-info/batch
|
|
2202
2227
|
router.get((path) => path.startsWith(`${UIAPI_LIST_INFO_BATCH_PATH}`), getListInfosByName);
|
|
2203
2228
|
// .../list-info/${objectApiName}/${listViewApiName}
|
|
2229
|
+
router.patch((path) => path.startsWith(UIAPI_LIST_INFO_PATH), updateListInfoByName);
|
|
2204
2230
|
router.get((path) => path.startsWith(UIAPI_LIST_INFO_PATH) && /list-info\/.*\//.test(path), getListInfoByName);
|
|
2205
2231
|
|
|
2206
2232
|
const UIAPI_LOOKUP_RECORDS = `${UI_API_BASE_URI$1}/lookups`;
|
|
@@ -3075,4 +3101,4 @@ function auraNetworkAdapter(resourceRequest) {
|
|
|
3075
3101
|
var main = platformNetworkAdapter(auraNetworkAdapter);
|
|
3076
3102
|
|
|
3077
3103
|
export { main as default, forceRecordTransactionsDisabled, instrument$1 as instrument, instrument as ldsNetworkAdapterInstrument };
|
|
3078
|
-
// version: 1.
|
|
3104
|
+
// version: 1.180.0-3f485c0fc
|