@salesforce/lds-network-aura 1.273.0 → 1.274.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 +34 -2
- package/package.json +6 -6
package/dist/ldsNetwork.js
CHANGED
|
@@ -491,6 +491,7 @@ const VISIT_BROADCAST_API_PATH = new RegExp(`${HEALTH_CLOUD_BASE_URI}/home-healt
|
|
|
491
491
|
const POST_MATERIALITY_ASSESSMENT_CALCULATE = new RegExp(`${MATERIALITY_ASSESSMENT_BASE_URI}/calculate/([A-Z0-9]{15,18})`, 'i');
|
|
492
492
|
const COMMUNITIES_MICROBATCHING_PATH = new RegExp(`${CONNECT_BASE_URI}/communities/([A-Z0-9]){15,18}/microbatching`, 'i');
|
|
493
493
|
const COMMUNITIES_NAVIGATION_MENU_PATH = new RegExp(`${CONNECT_BASE_URI}/communities/([A-Z0-9]){15,18}/navigation-menu`, 'i');
|
|
494
|
+
const COMMUNITIES_PREVIEW_URL_PATH = new RegExp(`${CONNECT_BASE_URI}/communities/([A-Z0-9]){15,18}/preview-url/pages/([A-Za-z0-9_]){1,255}`, 'i');
|
|
494
495
|
const NLP_SERVICE_READ_RESULTS = new RegExp(`${CONNECT_BASE_URI}/nlp-service/aiNaturalLangProcessResults/sourceRecords/([A-Z0-9]){15,18}$`, 'i');
|
|
495
496
|
const NLP_SERVICE_READ_RESULTS_BY_REFERENCE_RECORD = new RegExp(`${CONNECT_BASE_URI}/nlp-service/aiNaturalLangProcessResults/referenceRecords/([A-Z0-9]){15,18}$`, 'i');
|
|
496
497
|
const NLP_SERVICE_CLAUSE_GENERATION = new RegExp(`${CONNECT_BASE_URI}/nlp-service/aiNaturalLangProcessResults`, 'i');
|
|
@@ -510,6 +511,7 @@ const GET_PROVIDERS_PATH = new RegExp(`${COMMERCE_EXTENSION_BASE_URI}/providers(
|
|
|
510
511
|
const GET_PROVIDER_PATH = new RegExp(`${COMMERCE_EXTENSION_BASE_URI}/providers/([A-Z0-9]){15,18}$`, 'i');
|
|
511
512
|
const PATCH_EXPERIENCE_BRANDING_PATH = new RegExp(`${COMMERCE_ESF_BASE_URI}/([A-Z0-9]){15,18}/branding$`, 'i');
|
|
512
513
|
const POST_EXPERIENCE_EXTRACT_BRAND_PATH = new RegExp(`${COMMERCE_ESF_BASE_URI}/([A-Z0-9]){15,18}/brand-extractor$`, 'i');
|
|
514
|
+
const GET_EXPERIENCE_CMS_WORKSPACES_PATH = new RegExp(`${COMMERCE_ESF_BASE_URI}/([A-Z0-9]){15,18}/cms-workspaces$`, 'i');
|
|
513
515
|
const GET_GUIDANCE_ASSISTANT_PATH = new RegExp(`${GUIDANCE_BASE_URI}/([A-Z0-9_]){2,80}$`, 'i');
|
|
514
516
|
const GET_LEARNING_CONTENT_PLATFORM_RELATED_LIST_PATH = new RegExp(`${LEARNING_CONTENT_PLATFORM_BASE_URI}/featured-item/list/related$`, 'i');
|
|
515
517
|
const GET_LEARNING_CONTENT_PLATFORM_RECOMMENDED_LIST_PATH = new RegExp(`${LEARNING_CONTENT_PLATFORM_BASE_URI}/featured-item/list/recommended$`, 'i');
|
|
@@ -609,8 +611,9 @@ const SCHEDULED_DEPLOYMENT_PATH = new RegExp(`${CMS_BASE_URI}/schedules/([A-Z0-9
|
|
|
609
611
|
const CMS_SCHEDULES_PATH = new RegExp(`${CMS_BASE_URI}/schedules`, 'i');
|
|
610
612
|
const UNPUBLISH_MANAGED_CONTENT_PATH = new RegExp(`${CMS_BASE_URI}/contents/unpublish`, 'i');
|
|
611
613
|
const PUBLISH_MANAGED_CONTENT_PATH = new RegExp(`${CMS_BASE_URI}/contents/publish`, 'i');
|
|
614
|
+
const CLONE_MANAGED_CONTENT_PATH = new RegExp(`${CMS_BASE_URI}/contents/clone$`, 'i');
|
|
612
615
|
const CREATE_MANAGED_CONTENT_VARIANT_PATH = new RegExp(`${CMS_BASE_URI}/contents/variants`, 'i');
|
|
613
|
-
const CREATE_MANAGED_CONTENT_PATH = new RegExp(`${CMS_BASE_URI}/contents
|
|
616
|
+
const CREATE_MANAGED_CONTENT_PATH = new RegExp(`${CMS_BASE_URI}/contents$`, 'i');
|
|
614
617
|
const GET_BLOCK_TYPES_PATH = new RegExp(`${EXPERIENCE_MODEL_BASE_URI}/block-types$`, 'i');
|
|
615
618
|
const GET_BLOCK_TYPE_PATH = new RegExp(`${EXPERIENCE_MODEL_BASE_URI}/block-types/([-A-Za-z0-9_]){1,100}$`, 'i');
|
|
616
619
|
const GET_CONTENT_TYPES_PATH = new RegExp(`${EXPERIENCE_MODEL_BASE_URI}/content-types$`, 'i');
|
|
@@ -708,6 +711,8 @@ const AL_GET_FILTER_TEMPLATE_URI_PATH = new RegExp(`${CONNECT_BASE_URI}/get-acti
|
|
|
708
711
|
const UPSERT_AL_REFRESH_COUNT_URI_PATH = new RegExp(`${CONNECT_BASE_URI}/actionable-list-refresh-count$`, 'i');
|
|
709
712
|
const CLM_CONTRACT_URI_PATH = new RegExp(`${CLM_BASE_URI}/contract/([A-Z0-9]){15,18}/contract-document-version$`, 'i');
|
|
710
713
|
const CLM_CONTRACT_URI_CC_USER_PATH = new RegExp(`${CLM_BASE_URI}/cc/contract/([A-Z0-9]){15,18}/contract-document-version$`, 'i');
|
|
714
|
+
const CLM_CONTRACT_GET_RECIPIENT_STATUS_URI_PATH = new RegExp(`${CLM_BASE_URI}/cc/documentRecipient$`, 'i');
|
|
715
|
+
const CLM_CONTRACT_GET_EXTERNAL_DOC_URI_PATH = new RegExp(`${CLM_BASE_URI}/cc/external-document$`, 'i');
|
|
711
716
|
const CLM_GET_DOCUMENT_URI_PATH = new RegExp(`${CLM_BASE_URI}/document-template$`, 'i');
|
|
712
717
|
const CLM_UPDATE_DOCUMENT_URI_PATH = new RegExp(`${CLM_BASE_URI}/contract-document-version/([A-Z0-9]){1,18}$`, 'i');
|
|
713
718
|
const CLM_CONTRACT_CHECKIN_URI_PATH = new RegExp(`${CLM_BASE_URI}/contract-document-version/([A-Z0-9]){1,18}/checkIn$`, 'i');
|
|
@@ -924,8 +929,10 @@ const WAITLIST_APPOINTMENTS = new RegExp(`${SCHEDULER_BASE_URI}/waitlist-appoint
|
|
|
924
929
|
const WAITLIST_CHECKIN = new RegExp(`${SCHEDULER_BASE_URI}/waitlist-checkin`, 'i');
|
|
925
930
|
const WAITLIST_RELATIONSHIPS = new RegExp(`${SCHEDULER_BASE_URI}/waitlist-relationships`, 'i');
|
|
926
931
|
const WAITLISTS = new RegExp(`${SCHEDULER_BASE_URI}/waitlists`, 'i');
|
|
932
|
+
const GET_SERVICE_TERRITORY_CAPACITY = new RegExp(`${SCHEDULER_BASE_URI}/service-territory-capacity`, 'i');
|
|
927
933
|
const LIGHTNING_CARDS_ACTIVATION_PATH = new RegExp(`${LIGHTNING_CARDS_BASE_URI}/activationdata/([A-Z0-9]){15,18}`, 'i');
|
|
928
934
|
const CREATE_SERVICE_APPOINTMENTS = new RegExp(`${SCHEDULER_BASE_URI}/service-appointments`, 'i');
|
|
935
|
+
const SERVICE_APPOINTMENT_ATTENDEE = new RegExp(`${SCHEDULER_BASE_URI}/service-appointment-attendee`, 'i');
|
|
929
936
|
const GET_SUCCESS_TEAM = new RegExp(`${EDUCATION_BASE_URI}/([A-Z0-9]{15,18})/success-team`, 'i');
|
|
930
937
|
const GET_AVAILABLE_TOPICS = new RegExp(`${EDUCATION_BASE_URI}/appointment-booking/available-topics`, 'i');
|
|
931
938
|
const GET_AVAILABLE_TIME_SLOTS = new RegExp(`${EDUCATION_BASE_URI}/appointment-booking/available-time-slots`, 'i');
|
|
@@ -1022,6 +1029,7 @@ const HARMONIZE_INVOICE_DRAFT_TO_POSTED_PATH = new RegExp(`${COMMERCE_BASE_URI}/
|
|
|
1022
1029
|
const HARMONIZE_BATCH_INVOICE_DRAFT_TO_POSTED_PATH = new RegExp(`${COMMERCE_BASE_URI}/invoicing/invoice-batch-runs/([A-Za-z0-9]){15,18}/actions/draft-to-posted`, 'i');
|
|
1023
1030
|
const HARMONIZE_BILLING_SCHEDULE_RECOVERY_PATH = new RegExp(`${COMMERCE_BASE_URI}/invoicing/billing-schedules/collection/actions/recover`, 'i');
|
|
1024
1031
|
const BUSINESS_OBJECTIVES_PATH = new RegExp(`${COMMERCE_GOALS_RECS_BUSINESS_OBJECTIVES_URI}(\\?.*)?$`, 'i');
|
|
1032
|
+
const BUSINESS_OBJECTIVES_RECOMMENDATIONS_PATH = new RegExp(`${COMMERCE_GOALS_RECS_BASE_URI}/recommendations(\\?.*)?$`, 'i');
|
|
1025
1033
|
const CMS_CONTENT_TAXONOMY_TERMS_PATH = new RegExp(`${CMS_BASE_URI}/content/([A-Z0-9_]){15,28}/taxonomy-terms`, 'i');
|
|
1026
1034
|
const homeHealth = [
|
|
1027
1035
|
generateAdapter('post', HEALTH_CLOUD_BASE_URI, VISIT_BROADCAST_ASSIGNMENT_API_PATH, 'HomeHealthController.broadcastVisitAssignment', 'VisitBroadcastAssignmentInput'),
|
|
@@ -1040,6 +1048,7 @@ const connect = [
|
|
|
1040
1048
|
generateAdapter('get', CONNECT_BASE_URI, NLP_SERVICE_READ_RESULTS, 'IndustriesEinsteinNLPServiceController.fetchAINaturalLangProcessResultsBySourceId'),
|
|
1041
1049
|
generateAdapter('get', CONNECT_BASE_URI, NLP_SERVICE_READ_RESULTS_BY_REFERENCE_RECORD, 'IndustriesEinsteinNLPServiceController.fetchAINaturalLangProcessResultsByReferenceRecordId'),
|
|
1042
1050
|
generateAdapter('get', CONNECT_BASE_URI, COMMUNITIES_NAVIGATION_MENU_PATH, 'NavigationMenuController.getCommunityNavigationMenu'),
|
|
1051
|
+
generateAdapter('get', CONNECT_BASE_URI, COMMUNITIES_PREVIEW_URL_PATH, 'CommunitiesController.getPagePreviewUrl'),
|
|
1043
1052
|
generateAdapter('get', CMS_BASE_URI, GET_COLLECTION_ITEMS_PATH, 'ManagedContentController.getCollectionItems'),
|
|
1044
1053
|
generateAdapter('get', CONNECT_BASE_URI, GET_SEARCH_RESULTS, 'ManagedContentController.searchManagedContentForItems'),
|
|
1045
1054
|
generateAdapter('get', CMS_BASE_URI, GET_MANAGED_CONTENT_PATH, 'ManagedContentController.getManagedContent'),
|
|
@@ -1054,6 +1063,7 @@ const connect = [
|
|
|
1054
1063
|
generateAdapter('patch', CMS_BASE_URI, UPDATE_MANAGED_CONTENT_WEB_URL_PATH, 'ManagedContentController.updateManagedContentWebUrl', 'managedContentWebUrlInput'),
|
|
1055
1064
|
generateAdapter('post', CMS_BASE_URI, UNPUBLISH_MANAGED_CONTENT_PATH, 'ManagedContentController.unpublish'),
|
|
1056
1065
|
generateAdapter('post', CMS_BASE_URI, PUBLISH_MANAGED_CONTENT_PATH, 'ManagedContentController.publish'),
|
|
1066
|
+
generateAdapter('post', CMS_BASE_URI, CLONE_MANAGED_CONTENT_PATH, 'ManagedContentController.cloneManagedContents', 'ManagedContentCloneInputParam'),
|
|
1057
1067
|
generateAdapter('get', CONNECT_BASE_URI, LIST_CONTENT_INTERNAL_PATH, 'ManagedContentController.getPublishedManagedContentListByContentKey'),
|
|
1058
1068
|
generateAdapter('get', CONNECT_BASE_URI, LIST_CONTENT_PATH, 'ManagedContentController.getManagedContentByTopicsAndContentKeys'),
|
|
1059
1069
|
generateAdapter('get', CONNECT_BASE_URI, GET_COLLECTION_ITEMS_FOR_SITE, 'ManagedContentDeliveryController.getCollectionItemsForSite'),
|
|
@@ -1170,6 +1180,8 @@ const connect = [
|
|
|
1170
1180
|
generateAdapter('get', CONNECT_BASE_URI, ALD_COLUMN_VALUES_URI_PATH, 'IndustriesActionableListController.getDatasetColumnValues'),
|
|
1171
1181
|
generateAdapter('get', CLM_BASE_URI, CLM_CONTRACT_URI_PATH, 'ClmController.getContractDocumentVersion'),
|
|
1172
1182
|
generateAdapter('get', CLM_BASE_URI, CLM_CONTRACT_URI_CC_USER_PATH, 'ClmController.getLatestContractDocumentVersionCC'),
|
|
1183
|
+
generateAdapter('get', CLM_BASE_URI, CLM_CONTRACT_GET_RECIPIENT_STATUS_URI_PATH, 'ClmController.getDocumentRecipientAndStatus'),
|
|
1184
|
+
generateAdapter('get', CLM_BASE_URI, CLM_CONTRACT_GET_EXTERNAL_DOC_URI_PATH, 'ClmController.getExternalDocumentReviewCC'),
|
|
1173
1185
|
generateAdapter('patch', CLM_BASE_URI, CLM_CONTENT_DOCUMENTS, 'ClmController.updateSharingOnAttachment'),
|
|
1174
1186
|
generateAdapter('post', CLM_BASE_URI, CLM_CONTRACT_URI_PATH, 'ClmController.createContractDocumentVersionAndInitializeGenerateDocumentProcess'),
|
|
1175
1187
|
generateAdapter('get', CLM_BASE_URI, CLM_GET_DOCUMENT_URI_PATH, 'ClmController.getTemplates'),
|
|
@@ -1253,9 +1265,11 @@ const commerce_extension = [
|
|
|
1253
1265
|
const commerce_esf = [
|
|
1254
1266
|
generateAdapter('patch', COMMERCE_ESF_BASE_URI, PATCH_EXPERIENCE_BRANDING_PATH, 'CommerceExperienceBrandingController.updateBrandingSet', 'brandingSetInputRepresentation'),
|
|
1255
1267
|
generateAdapter('post', COMMERCE_ESF_BASE_URI, POST_EXPERIENCE_EXTRACT_BRAND_PATH, 'CommerceExperienceBrandingController.queryBrandExtractor', 'brandExtractorQueryInputRepresentation'),
|
|
1268
|
+
generateAdapter('get', COMMERCE_ESF_BASE_URI, GET_EXPERIENCE_CMS_WORKSPACES_PATH, 'CommerceExperienceBrandingController.getCmsWorkspaces'),
|
|
1256
1269
|
];
|
|
1257
1270
|
const commerceGoalsRecs = [
|
|
1258
1271
|
generateAdapter('get', COMMERCE_GOALS_RECS_BUSINESS_OBJECTIVES_URI, BUSINESS_OBJECTIVES_PATH, 'IBusinessObjectivesAndRecsFamilyController.getBusinessObjectives'),
|
|
1272
|
+
generateAdapter('get', COMMERCE_GOALS_RECS_BASE_URI, BUSINESS_OBJECTIVES_RECOMMENDATIONS_PATH, 'IBusinessObjectivesAndRecsFamilyController.getRecommendations'),
|
|
1259
1273
|
];
|
|
1260
1274
|
const scalecenter = [
|
|
1261
1275
|
{
|
|
@@ -1692,6 +1706,9 @@ const scheduler = [
|
|
|
1692
1706
|
generateAdapter('get', SCHEDULER_BASE_URI, WAITLIST_RELATIONSHIPS, 'LightningSchedulerController.waitlistRelationships'),
|
|
1693
1707
|
generateAdapter('post', SCHEDULER_BASE_URI, WAITLIST_APPOINTMENTS, 'LightningSchedulerController.waitlistAppointment'),
|
|
1694
1708
|
generateAdapter('post', SCHEDULER_BASE_URI, WAITLIST_CHECKIN, 'LightningSchedulerController.waitlistCheckIn'),
|
|
1709
|
+
generateAdapter('post', SCHEDULER_BASE_URI, SERVICE_APPOINTMENT_ATTENDEE, 'LightningSchedulerController.createServiceAppointmentAttendee', 'createServiceAppointmentAttendeeInput'),
|
|
1710
|
+
generateAdapter('patch', SCHEDULER_BASE_URI, SERVICE_APPOINTMENT_ATTENDEE, 'LightningSchedulerController.updateServiceAppointmentAttendee', 'updateServiceAppointmentAttendeeInput'),
|
|
1711
|
+
generateAdapter('get', SCHEDULER_BASE_URI, GET_SERVICE_TERRITORY_CAPACITY, 'LightningSchedulerController.getServiceTerritoryCapacity'),
|
|
1695
1712
|
];
|
|
1696
1713
|
const materialityAssessment = [
|
|
1697
1714
|
generateAdapter('post', MATERIALITY_ASSESSMENT_BASE_URI, POST_MATERIALITY_ASSESSMENT_CALCULATE, 'MaterialityAssessmentController.postPerformCalculation'),
|
|
@@ -2679,6 +2696,7 @@ var UiApiListsController;
|
|
|
2679
2696
|
UiApiListsController["DeleteListInfo"] = "ListUiController.deleteListInfo";
|
|
2680
2697
|
UiApiListsController["GetListPreferences"] = "ListUiController.getListPreferences";
|
|
2681
2698
|
UiApiListsController["UpdateListPreferences"] = "ListUiController.updateListPreferences";
|
|
2699
|
+
UiApiListsController["GetListInfosByObjectName"] = "ListUiController.getListInfosByObjectName";
|
|
2682
2700
|
})(UiApiListsController || (UiApiListsController = {}));
|
|
2683
2701
|
const UIAPI_LIST_RECORDS_PATH = `${UI_API_BASE_URI$1}/list-records/`;
|
|
2684
2702
|
const UIAPI_LIST_UI_PATH = `${UI_API_BASE_URI$1}/list-ui/`;
|
|
@@ -2768,6 +2786,18 @@ function updateListInfoByName(resourceRequest, resourceRequestContext) {
|
|
|
2768
2786
|
const enrichedConfig = enrichWithSourceContext(resourceRequestContext);
|
|
2769
2787
|
return dispatchAction(UiApiListsController.UpdateListInfoByName, params, enrichedConfig);
|
|
2770
2788
|
}
|
|
2789
|
+
function getListInfosByObjectName(resourceRequest, resourceRequestContext) {
|
|
2790
|
+
const { urlParams: { objectApiName }, queryParams: { pageSize, pageToken, q, recentListsOnly }, } = resourceRequest;
|
|
2791
|
+
const params = buildUiApiParams({
|
|
2792
|
+
objectApiName,
|
|
2793
|
+
pageSize,
|
|
2794
|
+
pageToken,
|
|
2795
|
+
q,
|
|
2796
|
+
recentListsOnly,
|
|
2797
|
+
}, resourceRequest);
|
|
2798
|
+
const enrichedConfig = enrichWithSourceContext(resourceRequestContext);
|
|
2799
|
+
return dispatchAction(UiApiListsController.GetListInfosByObjectName, params, enrichedConfig);
|
|
2800
|
+
}
|
|
2771
2801
|
function getListInfosByName(resourceRequest, resourceRequestContext) {
|
|
2772
2802
|
const { queryParams: { names }, } = resourceRequest;
|
|
2773
2803
|
const params = buildUiApiParams({
|
|
@@ -2865,6 +2895,8 @@ router.get((path) => path.startsWith(UIAPI_LIST_INFO_PATH) && /list-info\/.*\//.
|
|
|
2865
2895
|
router.delete((path) => path.startsWith(UIAPI_LIST_INFO_PATH), deleteListInfo);
|
|
2866
2896
|
// .../list-info/${objectApiName}
|
|
2867
2897
|
router.post((path) => path.startsWith(UIAPI_LIST_INFO_PATH), createListInfo);
|
|
2898
|
+
// .../list-info/${objectApiName}
|
|
2899
|
+
router.get((path) => path.startsWith(UIAPI_LIST_INFO_PATH), getListInfosByObjectName);
|
|
2868
2900
|
// .../list-object-info/${objectApiName}
|
|
2869
2901
|
router.get((path) => path.startsWith(UIAPI_LIST_OBJ_INFO_PATH) &&
|
|
2870
2902
|
/list-object-info\/.*\//.test(path) === false &&
|
|
@@ -3770,4 +3802,4 @@ function auraNetworkAdapter(resourceRequest, resourceRequestContext) {
|
|
|
3770
3802
|
var main = platformNetworkAdapter(auraNetworkAdapter);
|
|
3771
3803
|
|
|
3772
3804
|
export { main as default, defaultActionConfig, dispatchAction as dispatchAuraAction, forceRecordTransactionsDisabled, instrument$1 as instrument, instrument as ldsNetworkAdapterInstrument };
|
|
3773
|
-
// version: 1.
|
|
3805
|
+
// version: 1.274.0-67da496e8
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-network-aura",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.274.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.154.9"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@salesforce/lds-adapters-uiapi": "^1.
|
|
41
|
-
"@salesforce/lds-aura-storage": "^1.
|
|
42
|
-
"@salesforce/lds-environment-settings": "^1.
|
|
43
|
-
"@salesforce/lds-instrumentation": "^1.
|
|
44
|
-
"@salesforce/lds-network-adapter": "^1.
|
|
40
|
+
"@salesforce/lds-adapters-uiapi": "^1.274.0",
|
|
41
|
+
"@salesforce/lds-aura-storage": "^1.274.0",
|
|
42
|
+
"@salesforce/lds-environment-settings": "^1.274.0",
|
|
43
|
+
"@salesforce/lds-instrumentation": "^1.274.0",
|
|
44
|
+
"@salesforce/lds-network-adapter": "^1.274.0"
|
|
45
45
|
},
|
|
46
46
|
"volta": {
|
|
47
47
|
"extends": "../../package.json"
|