@salesforce/lds-network-aura 1.247.0 → 1.249.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
CHANGED
|
@@ -24,6 +24,7 @@ const { parse: parse$1, stringify: stringify$1 } = JSON;
|
|
|
24
24
|
const BASE_URI = '/services/data/v60.0';
|
|
25
25
|
const CONNECT_BASE_URI = `${BASE_URI}/connect`;
|
|
26
26
|
const COMMERCE_BASE_URI = `${BASE_URI}/commerce`;
|
|
27
|
+
const COMMERCE_CONFIGURATION_BASE_URI = `${COMMERCE_BASE_URI}/configuration`;
|
|
27
28
|
const COMMERCE_EXTENSION_BASE_URI = `${COMMERCE_BASE_URI}/extension`;
|
|
28
29
|
const COMMERCE_ESF_BASE_URI = `${COMMERCE_BASE_URI}/experience`;
|
|
29
30
|
const GUIDANCE_BASE_URI = `${BASE_URI}/assistant-platform`;
|
|
@@ -49,6 +50,7 @@ const NAMED_CREDENTIAL_BASE_URI = `${BASE_URI}/named-credentials`;
|
|
|
49
50
|
const EXTERNAL_SERVICES_BASE_URI = `${BASE_URI}/externalservices`;
|
|
50
51
|
const E_SIGN_BASE_URI = `${CONNECT_BASE_URI}/e-sign`;
|
|
51
52
|
const CLAUSE_LIBRARY_BASE_URI = `${CONNECT_BASE_URI}/clause-library`;
|
|
53
|
+
const OMNI_ANALYTICS_BASE_URI = `${CONNECT_BASE_URI}/omni-analytics`;
|
|
52
54
|
const SERVICE_EXCELLENCE_BASE_URI = `${CONNECT_BASE_URI}/service-excellence`;
|
|
53
55
|
const EPC_BASE_URI = `${CONNECT_BASE_URI}/pcm`;
|
|
54
56
|
const ERI_BASE_URI = `${CONNECT_BASE_URI}/eri`;
|
|
@@ -79,6 +81,10 @@ const COMMERCE_STORE_MANAGEMENT_BASE_URI = `${COMMERCE_BASE_URI}/management/webs
|
|
|
79
81
|
const SERVICE_CATALOG_CATEGORIES_BASE_URI = `${CONNECT_BASE_URI}/service-automation/service-catalog/categories`;
|
|
80
82
|
const REMINDER_BASE_URI = `${CONNECT_BASE_URI}/reminder/reminder-definition`;
|
|
81
83
|
const PATHASSISTANT_BASE_URI = `${CONNECT_BASE_URI}/pathassistant`;
|
|
84
|
+
const AI4M_EINSTEIN_BASE_URI = `${CONNECT_BASE_URI}/ai4m/einstein`;
|
|
85
|
+
const DECISIONTABLE_BASE_URI = `${CONNECT_BASE_URI}/business-rules`;
|
|
86
|
+
const CONTENT_TAXONOMY_BASE_URI = `${CONNECT_BASE_URI}/content-taxonomy`;
|
|
87
|
+
const ENERGY_UTILITIES_PROGRAMS_BASE_URI = `${CONNECT_BASE_URI}/eu-program`;
|
|
82
88
|
|
|
83
89
|
function getStatusText(status) {
|
|
84
90
|
switch (status) {
|
|
@@ -486,6 +492,8 @@ const GET_PRODUCT_CATEGORY_PATH_PATH = new RegExp(`${COMMERCE_BASE_URI}/webstore
|
|
|
486
492
|
const PRODUCT_SEARCH_PATH = new RegExp(`${COMMERCE_BASE_URI}/webstores/([A-Z0-9]){15,18}/search/product-search`, 'i');
|
|
487
493
|
const GET_PRODUCT_PRICE_PATH = new RegExp(`${COMMERCE_BASE_URI}/webstores/([A-Z0-9]){15,18}/pricing/products/([A-Z0-9]){15,18}`, 'i');
|
|
488
494
|
const GET_MANAGEMENT_CHANNELS_PATH = new RegExp(`${COMMERCE_BASE_URI}/management/channels(\\?.*)?$`, 'i');
|
|
495
|
+
const GET_MANAGEMENT_SHIPPING_PROFILES_PATH = new RegExp(`${COMMERCE_BASE_URI}/webstores/([A-Z0-9]){15,18}/shippingProfiles`, 'i');
|
|
496
|
+
const GET_COMMERCE_CONFIGURATION_ATTRIBUTE_PATH = new RegExp(`${COMMERCE_CONFIGURATION_BASE_URI}/[^/]+/[^/]+/[^/]+$`, 'i');
|
|
489
497
|
const GET_EXTENSIONS_PATH = new RegExp(`${COMMERCE_EXTENSION_BASE_URI}/extensions$`, 'i');
|
|
490
498
|
const GET_MAPPINGS_PATH = new RegExp(`${COMMERCE_EXTENSION_BASE_URI}/mappings(\\?.*)?$`, 'i');
|
|
491
499
|
const GET_MAPPING_PATH = new RegExp(`${COMMERCE_EXTENSION_BASE_URI}/mappings/([A-Z0-9]){15,18}$`, 'i');
|
|
@@ -606,7 +614,7 @@ const INTERACTION_RUNTIME_NAVIGATE_FLOW_PATH = new RegExp(`^${INTERACTION_BASE_U
|
|
|
606
614
|
const INTERACTION_RUNTIME_RESUME_FLOW_PATH = new RegExp(`^${INTERACTION_BASE_URI}/runtime/resumeFlow$`, 'i');
|
|
607
615
|
const INTERACTION_FLOW_BUILDER_RULES_PATH = new RegExp(`^${INTERACTION_BASE_URI}/builder/rules`, 'i');
|
|
608
616
|
const REVENUE_UPDATE_PLACE_QUOTE_PATH = new RegExp(`${COMMERCE_BASE_URI}/quotes/actions/place`, 'i');
|
|
609
|
-
const REVENUE_PLACE_ORDER_PATH = new RegExp(`${COMMERCE_BASE_URI}/sales-orders/
|
|
617
|
+
const REVENUE_PLACE_ORDER_PATH = new RegExp(`${COMMERCE_BASE_URI}/sales-orders/actions/place`, 'i');
|
|
610
618
|
const POST_BATCH_PAYMENTS_SCHEDULERS_PATH = new RegExp(`${COMMERCE_BASE_URI}/payments/payment-schedulers`, 'i');
|
|
611
619
|
const POST_BATCH_INVOICES_SCHEDULERS_PATH = new RegExp(`${COMMERCE_BASE_URI}/invoicing/invoice-schedulers`, 'i');
|
|
612
620
|
const EXPLAINABILITY_ACTION_LOG_PATH = new RegExp(`${EXPLAINABILITY_BASE_URI}/action-logs$`, 'i');
|
|
@@ -703,6 +711,8 @@ const SAVE_EXTERNAL_DOCUMENT_URI_PATH = new RegExp(`${CLM_BASE_URI}/external-doc
|
|
|
703
711
|
const UPLOAD_REFERENCE_DATA_PATH = new RegExp(`${CONNECT_BASE_URI}/sustainability/reference-data/([A-Z]){2,40}/upload$`, 'i');
|
|
704
712
|
const FETCH_ENTITY_VERSION_PATH = new RegExp(`${CONNECT_BASE_URI}/sustainability/reference-data/v2/entitySection/([A-Za-z]){2,40}/dataSource/([A-Za-z]){2,80}/version$`, 'i');
|
|
705
713
|
const UPLOAD_ENTITY_VERSION_PATH = new RegExp(`${CONNECT_BASE_URI}/sustainability/reference-data/v2/entityVersion/upload$`, 'i');
|
|
714
|
+
const UPLOAD_DATASETS_VERSION_PATH = new RegExp(`${CONNECT_BASE_URI}/sustainability/reference-data/v3/entityVersion/upload$`, 'i');
|
|
715
|
+
const GET_DATASETS_VERSION_PATH = new RegExp(`${CONNECT_BASE_URI}/sustainability/reference-data/v3/entitySection/([A-Za-z]){2,40}$`, 'i');
|
|
706
716
|
const BEI_PATH = new RegExp(`${CONNECT_BASE_URI}/sustainability/bei/recalculate/([A-Z0-9]){1,18}$`, 'i');
|
|
707
717
|
const RCG_TPM_MANAGEMENT_PATH = new RegExp(`${RCG_TENANTMANAGEMENT_BASE_URI}/tenant-registration$`, 'i');
|
|
708
718
|
const RECALCULATE_PATH = new RegExp(`${CONNECT_BASE_URI}/sustainability/footprint-calculation/recalculate`, 'i');
|
|
@@ -731,8 +741,11 @@ const SALES_EXCELLENCE_ASSIGNED_ACTIONABLE_LISTS = new RegExp(`${SALES_EXCELLENC
|
|
|
731
741
|
const SALES_EXCELLENCE_GET_ACTIONABLE_LIST_METADATA = new RegExp(`${SALES_EXCELLENCE_BASE_URI}/actionable-lists/metadata/([A-Za-z0-9_]){1,255}$`, 'i');
|
|
732
742
|
const SALES_EXCELLENCE_GET_ALM_QUEUES = new RegExp(`${SALES_EXCELLENCE_BASE_URI}/actionable-list-member/queues`, 'i');
|
|
733
743
|
const GET_FIELD_SETS_PATH = new RegExp(`${CONNECT_BASE_URI}/fieldset/[A-Za-z]([A-Za-z0-9_]){1,39}$`, 'i');
|
|
734
|
-
const SALES_EXCELLENCE_GET_ACTIONABLE_LIST_KPI_MAPPING = new RegExp(`${SALES_EXCELLENCE_BASE_URI}/actionable-list/
|
|
744
|
+
const SALES_EXCELLENCE_GET_ACTIONABLE_LIST_KPI_MAPPING = new RegExp(`${SALES_EXCELLENCE_BASE_URI}/actionable-list/key-performance-indicators/mappings`, 'i');
|
|
735
745
|
const SALES_EXCELLENCE_GET_ACTIONABLE_LIST_KPI_BAR = new RegExp(`${SALES_EXCELLENCE_BASE_URI}/actionable-list/kpi`, 'i');
|
|
746
|
+
const OMNI_ANALYTICS_FETCH_OMNIANALYTICS_LOGS = new RegExp(`${OMNI_ANALYTICS_BASE_URI}/get-analytics-logs`, 'i');
|
|
747
|
+
const OMNI_ANALYTICS_STORE_OMNIANALYTICS_LOGS = new RegExp(`${OMNI_ANALYTICS_BASE_URI}/analytics-logs`, 'i');
|
|
748
|
+
const OMNI_ANALYTICS_FETCH_OMNIANALYTICS_METADATA = new RegExp(`${OMNI_ANALYTICS_BASE_URI}/analytics-metadata`, 'i');
|
|
736
749
|
const TIMELINE_PATH = new RegExp(`${CONNECT_BASE_URI}/timeline/([A-Z0-9]){15,18}/timeline-definitions/([A-Za-z0-9_]){1,255}/events`, 'i');
|
|
737
750
|
const TIMELINE_METADATA_PATH = new RegExp(`${CONNECT_BASE_URI}/timeline/metadata/configurations`, 'i');
|
|
738
751
|
const ENGAGEMENT_EVENT_TIMELINE_PATH = new RegExp(`${CONNECT_BASE_URI}/timeline/([A-Za-z0-9]){15,18}/timeline-definitions/([A-Za-z0-9_]){1,255}/cust-data-pfrm/events`, 'i');
|
|
@@ -752,13 +765,17 @@ const MANAGED_CONTENT_CHANNEL_MANAGEMENT_RECORD_PATH = new RegExp(`${CMS_BASE_UR
|
|
|
752
765
|
const MANAGED_CONTENT_RUNNING_ORCHESTRATION_HISTORY_PATH = new RegExp(`${CMS_BASE_URI}/contents/orchestration-history-events`, 'i');
|
|
753
766
|
const MANAGED_CONTENT_TYPE_FOR_MIXIN_PATH = new RegExp(`${CMS_BASE_URI}/spaces/([A-Z0-9]){15,18}/content-types$`, 'i');
|
|
754
767
|
const GET_SLOTS_PATH = new RegExp(`${HEALTH_CLOUD_BASE_URI}/advanced-therapy-management/get-slots`, 'i');
|
|
768
|
+
const GET_SLOT_CHAINS_PATH = new RegExp(`${HEALTH_CLOUD_BASE_URI}/advanced-therapy-management/get-slot-chains`, 'i');
|
|
755
769
|
const CANCEL_SLOT_CHAIN_PATH = new RegExp(`${HEALTH_CLOUD_BASE_URI}/advanced-therapy-management/cancel-slot-chain`, 'i');
|
|
756
770
|
const BOOK_SLOTS_PATH = new RegExp(`${HEALTH_CLOUD_BASE_URI}/advanced-therapy-management/book-slot-chain`, 'i');
|
|
757
771
|
const RESCHEDULE_SLOT_CHAIN_PATH = new RegExp(`${HEALTH_CLOUD_BASE_URI}/advanced-therapy-management/reschedule-slot-chain`, 'i');
|
|
758
772
|
const FETCH_SERVICE_TERRITORY_PATH = new RegExp(`${HEALTH_CLOUD_BASE_URI}/advanced-therapy-management/fetch-service-territories`, 'i');
|
|
759
773
|
const MOVE_TO_NEXT_STEP_PATH = new RegExp(`${HEALTH_CLOUD_BASE_URI}/advanced-therapy-management/move-to-next-step`, 'i');
|
|
760
774
|
const TRIGGER_ON_DEMAND_COMPUTATION_PATH = new RegExp(`${SALES_ENABLEMENT_BASE_URI}/on-demand-computation/programs/([A-Za-z0-9_]){1,20}`, 'i');
|
|
775
|
+
const GET_CONTRIBUTING_RECORDS_INFO_PATH = new RegExp(`${SALES_ENABLEMENT_BASE_URI}/contributing-records/taskProgress/([A-Za-z0-9_]){1,20}`, 'i');
|
|
761
776
|
const GET_SALES_ENABLEMENT_PROGRAM_TEMPLATE_PATH = new RegExp(`${SALES_ENABLEMENT_BASE_URI}/programTemplate/([A-Za-z0-9_]){1,100}$`, 'i');
|
|
777
|
+
const WORKTYPE_LEADTIME_PATH = new RegExp(`${HEALTH_CLOUD_BASE_URI}/advanced-therapy-management/worktype-leadtime`, 'i');
|
|
778
|
+
const DIGITAL_VERIFICATION_PATH = new RegExp(`${HEALTH_CLOUD_BASE_URI}/advanced-therapy-management/digital-verification`, 'i');
|
|
762
779
|
const GET_SALES_ENABLEMENT_PROGRAM_TEMPLATES_PATH = new RegExp(`${SALES_ENABLEMENT_BASE_URI}/programTemplate`, 'i');
|
|
763
780
|
const DELETE_SALES_USER_WORKING_HOURS_PATH = new RegExp(`${BASE_URI}/sales/working-hours/time-slots/([A-Za-z0-9_]){1,100}$`, 'i');
|
|
764
781
|
const GET_SALES_USER_WORKING_HOURS_PATH = new RegExp(`${BASE_URI}/sales/working-hours/time-slots`, 'i');
|
|
@@ -795,6 +812,7 @@ const SERVICE_EXCELLENCE_ACTION_LAUNCH_PATH = new RegExp(`${SERVICE_EXCELLENCE_B
|
|
|
795
812
|
const SERVICE_EXCELLENCE_GET_SERVICE_CATALOG_ITEMS_PATH = new RegExp(`${SERVICE_EXCELLENCE_BASE_URI}/service-catalog-items/([A-Z0-9]){15,18}$`, 'i');
|
|
796
813
|
const FETCH_ENTITY_DETAILS_PATH = new RegExp(`${HEALTH_CLOUD_BASE_URI}/fetch-entity-details`, 'i');
|
|
797
814
|
const EPC_PRODUCT_ATTRIBUTE_DEFINITION_PATH = new RegExp(`${EPC_BASE_URI}/product-attribute-definition`, 'i');
|
|
815
|
+
const DECISION_TABLE_BY_ID_PATH = new RegExp(`${DECISIONTABLE_BASE_URI}/decision-table/definitions/([A-Z0-9]){15,18}`, 'i');
|
|
798
816
|
const EPC_DEACTIVATE_PATH = new RegExp(`${EPC_BASE_URI}/actions/deactivate`, 'i');
|
|
799
817
|
const EPC_PRODUCT_FLOW_PATH = new RegExp(`${EPC_BASE_URI}/products/([A-Z0-9]){15,18}/flow$`, 'i');
|
|
800
818
|
const EPC_PRODUCT_ATTRIBUTES_PATH = new RegExp(`${EPC_BASE_URI}/product/([A-Z0-9]){15,18}/attributes$`, 'i');
|
|
@@ -887,6 +905,8 @@ const GET_AVAILABLE_TIME_SLOTS = new RegExp(`${EDUCATION_BASE_URI}/appointment-b
|
|
|
887
905
|
const CREATE_CARE_PLANS = new RegExp(`${EDUCATION_BASE_URI}/careplan/bulk`, 'i');
|
|
888
906
|
const EDU_PUBLISH_LEARNING_PROGRAM_PLAN = new RegExp(`${EDUCATION_BASE_URI}/campus-setup/learning-program-plan/publish`, 'i');
|
|
889
907
|
const EDU_LEARNING = new RegExp(`${EDUCATION_BASE_URI}/campus-setup/learning`, 'i');
|
|
908
|
+
const EDU_GET_APT_TASK = new RegExp(`${EDUCATION_BASE_URI}/student-action-centre/([A-Z0-9]{15,18})/apts-tasks-plans`, 'i');
|
|
909
|
+
const EDU_PATCH_TASK = new RegExp(`${EDUCATION_BASE_URI}/student-action-centre/task/([A-Z0-9]{15,18})`, 'i');
|
|
890
910
|
const GET_PERSON_PUBLIC_PROFILE = new RegExp(`${EDUCATION_BASE_URI}/person-public-profile/([A-Za-z0-9]+( ?-?[A-Za-z0-9]+)+)/([A-Z0-9]{15,18})`, 'i');
|
|
891
911
|
const APPLY_REMINDER_PATH = new RegExp(`${CONNECT_BASE_URI}/automated-actions/reminder/apply`, 'i');
|
|
892
912
|
const CPQ_PREVIEW_PATH = new RegExp(`${CPQ_BASE_URI}/preview`, 'i');
|
|
@@ -914,6 +934,8 @@ const KNOWLEDGE_ARTICLE_PATH = new RegExp(`${CONNECT_BASE_URI}/communities/([a-z
|
|
|
914
934
|
const CATALOG_ITEM_FOR_COMMUNITY_PATH = new RegExp(`${CONNECT_BASE_URI}/communities/([a-zA-Z0-9]){15,18}/network-data-category/9cn([a-zA-Z0-9]){12,15}/catalog-item`, 'i');
|
|
915
935
|
const CATALOG_ITEM_PATH = new RegExp(`${CONNECT_BASE_URI}/network-data-category/9cn([a-zA-Z0-9]){12,15}/catalog-item`, 'i');
|
|
916
936
|
const NETWORK_DATA_CATEGORIES_PATH = new RegExp(`${CONNECT_BASE_URI}/communities/([a-zA-Z0-9]){15,18}/data-category/network-data-category`, 'i');
|
|
937
|
+
const PARENT_NETWORK_DATA_CATEGORY_PATH = new RegExp(`${CONNECT_BASE_URI}/communities/([a-zA-Z0-9]){15,18}/network-data-category/9cn([a-zA-Z0-9]){12,15}/parent-path`, 'i');
|
|
938
|
+
const CHILD_CATEGORY = new RegExp(`${CONNECT_BASE_URI}/communities/([a-zA-Z0-9]){15,18}/network-data-category/9cn([a-zA-Z0-9]){12,15}/child-category`, 'i');
|
|
917
939
|
const CATEGORY_GROUP_PATH = new RegExp(`${CONNECT_BASE_URI}/data-category/category-group`);
|
|
918
940
|
const PUT_CDP_DATA_GRAPH_PATH = new RegExp(`${CDP_BASE_URI}/data-graphs/retry`, 'i');
|
|
919
941
|
const AUTOMOTIVE_INV_MGMT_PATH = new RegExp(`${CONNECT_BASE_URI}/inventory-visibility/actions`, 'i');
|
|
@@ -928,12 +950,16 @@ const EINSTEIN_LLM_GENERATIONS_PATH = new RegExp(`${EINSTEIN_BASE_URI}/llm/promp
|
|
|
928
950
|
const EINSTEIN_PROMPT_TEMPLATE_GENERATIONS_PATH = new RegExp(`${EINSTEIN_BASE_URI}/prompt-templates/([A-Za-z0-9_]){1,255}/generations`, 'i');
|
|
929
951
|
const EINSTEIN_LLM_FEEDBACK_PATH = new RegExp(`${EINSTEIN_BASE_URI}/llm/feedback`, 'i');
|
|
930
952
|
const DOCUMENT_MATRIX_FETCH_RESULTS = new RegExp(`${CONNECT_BASE_URI}/document-matrix/document-decision/([A-Za-z0-9]){1,18}$`, 'i');
|
|
931
|
-
const NEXTGENSALESAGREEMENTPRICE_PATH = new RegExp(`${CONNECT_BASE_URI}/
|
|
953
|
+
const NEXTGENSALESAGREEMENTPRICE_PATH = new RegExp(`${CONNECT_BASE_URI}/sales-agreements/([A-Za-z0-9]){1,255}/price`, 'i');
|
|
932
954
|
const COMMERCE_STORE_MANAGEMENT_CONFIGURE_PRODUCT_PRICING_PATH = new RegExp(`${COMMERCE_STORE_MANAGEMENT_BASE_URI}/([A-Z0-9]){15,18}/configureProductPricing`, 'i');
|
|
933
955
|
const COMMERCE_STORE_MANAGEMENT_GET_PRODUCT_PRICING_PATH = new RegExp(`${COMMERCE_STORE_MANAGEMENT_BASE_URI}/([A-Z0-9]){15,18}/getProductPricing`, 'i');
|
|
934
956
|
const REMINDER_PATH = new RegExp(`${REMINDER_BASE_URI}`, 'i');
|
|
935
957
|
const PATHASSISTANT_GET_PATH = new RegExp(`${PATHASSISTANT_BASE_URI}/([A-Z0-9]){15,18}$`, 'i');
|
|
936
958
|
const PATHASSISTANT_DAYS_IN_STAGE_PATH = new RegExp(`${PATHASSISTANT_BASE_URI}/([A-Z0-9]){15,18}/daysInStage$`, 'i');
|
|
959
|
+
const POST_AI4M_EINSTEIN_CREATE_CONTENT_PATH = new RegExp(`${AI4M_EINSTEIN_BASE_URI}/content`, 'i');
|
|
960
|
+
const POST_AI4M_EINSTEIN_MODIFY_CONTENT_PATH = new RegExp(`${AI4M_EINSTEIN_BASE_URI}/content/modification`, 'i');
|
|
961
|
+
const CONTENT_TAXONOMY_TERMS_PATH = new RegExp(`${CONTENT_TAXONOMY_BASE_URI}/terms`);
|
|
962
|
+
const ENERGY_UTILITIES_PROGRAMS_GET_PROGRAM_APPLICATIONS_PATH = new RegExp(`${ENERGY_UTILITIES_PROGRAMS_BASE_URI}/applications`);
|
|
937
963
|
const connect = [
|
|
938
964
|
generateAdapter('get', CONNECT_BASE_URI, NOTIFICATION_SERVICE_CONFIG_PATH, 'NotificationServiceConnectFamilyController.getNotificationServiceConfig'),
|
|
939
965
|
generateAdapter('post', CONNECT_BASE_URI, AI_ACCELERATOR_RECOMMENDATIONS, 'AIAcceleratorConnectFamilyController.fetchRecommendations'),
|
|
@@ -957,7 +983,7 @@ const connect = [
|
|
|
957
983
|
generateAdapter('get', CMS_BASE_URI, GET_MANAGED_CONTENT_SPACE_FOLDER_PATH, 'ManagedContentController.getManagedContentSpaceFolder'),
|
|
958
984
|
generateAdapter('get', CMS_BASE_URI, GET_MANAGED_CONTENT_FOLDER_ITEMS_PATH, 'ManagedContentController.getManagedContentSpaceFolderItems'),
|
|
959
985
|
generateAdapter('get', CMS_BASE_URI, GET_WEB_URLS_PATH, 'ManagedContentController.getWebUrls'),
|
|
960
|
-
generateAdapter('patch', CMS_BASE_URI, UPDATE_MANAGED_CONTENT_WEB_URL_PATH, 'ManagedContentController.updateManagedContentWebUrl'),
|
|
986
|
+
generateAdapter('patch', CMS_BASE_URI, UPDATE_MANAGED_CONTENT_WEB_URL_PATH, 'ManagedContentController.updateManagedContentWebUrl', 'managedContentWebUrlInput'),
|
|
961
987
|
generateAdapter('post', CMS_BASE_URI, UNPUBLISH_MANAGED_CONTENT_PATH, 'ManagedContentController.unpublish'),
|
|
962
988
|
generateAdapter('post', CMS_BASE_URI, PUBLISH_MANAGED_CONTENT_PATH, 'ManagedContentController.publish'),
|
|
963
989
|
generateAdapter('get', CONNECT_BASE_URI, LIST_CONTENT_INTERNAL_PATH, 'ManagedContentController.getPublishedManagedContentListByContentKey'),
|
|
@@ -1097,6 +1123,8 @@ const connect = [
|
|
|
1097
1123
|
generateAdapter('put', CONNECT_BASE_URI, UPLOAD_ENTITY_VERSION_PATH, 'SustainabilityFamilyController.uploadEntityVersion'),
|
|
1098
1124
|
generateAdapter('post', CONNECT_BASE_URI, BEI_PATH, 'SustainabilityFamilyController.performBuildingEnergyIntensityCalculation'),
|
|
1099
1125
|
generateAdapter('post', CONNECT_BASE_URI, RECALCULATE_PATH, 'SustainabilityFamilyController.performSustainabilityFootprintCalculationOnRecord'),
|
|
1126
|
+
generateAdapter('post', CONNECT_BASE_URI, UPLOAD_DATASETS_VERSION_PATH, 'SustainabilityFamilyController.postUploadDataset', 'uploadDatasetEntityInput'),
|
|
1127
|
+
generateAdapter('get', CONNECT_BASE_URI, GET_DATASETS_VERSION_PATH, 'SustainabilityFamilyController.getSCGetDatasetMetaResource'),
|
|
1100
1128
|
generateAdapter('get', RCG_TENANTMANAGEMENT_BASE_URI, RCG_TPM_MANAGEMENT_PATH, 'RCGTenantManagementController.getTenantRegistrationStatus'),
|
|
1101
1129
|
generateAdapter('put', RCG_TENANTMANAGEMENT_BASE_URI, RCG_TPM_MANAGEMENT_PATH, 'RCGTenantManagementController.updateTenantCertificate'),
|
|
1102
1130
|
generateAdapter('get', SERVICE_EXCELLENCE_BASE_URI, SERVICE_EXCELLENCE_GET_SERVICE_CATALOG_ITEMS_PATH, 'ServiceCatalogConnectController.getServiceCatalogItems'),
|
|
@@ -1130,6 +1158,12 @@ const commerce = [
|
|
|
1130
1158
|
];
|
|
1131
1159
|
const commerce_management = [
|
|
1132
1160
|
generateAdapter('get', COMMERCE_BASE_URI, GET_MANAGEMENT_CHANNELS_PATH, 'ICommerceManagementController.getChannels'),
|
|
1161
|
+
generateAdapter('get', COMMERCE_BASE_URI, GET_MANAGEMENT_SHIPPING_PROFILES_PATH, 'CommerceShippingController.getShippingProfilesForWebStore'),
|
|
1162
|
+
];
|
|
1163
|
+
const commerce_configuration = [
|
|
1164
|
+
generateAdapter('delete', COMMERCE_CONFIGURATION_BASE_URI, GET_COMMERCE_CONFIGURATION_ATTRIBUTE_PATH, 'CommerceConfigurationDataController.deleteAttributeValue'),
|
|
1165
|
+
generateAdapter('get', COMMERCE_CONFIGURATION_BASE_URI, GET_COMMERCE_CONFIGURATION_ATTRIBUTE_PATH, 'CommerceConfigurationDataController.getAttributeValue'),
|
|
1166
|
+
generateAdapter('put', COMMERCE_CONFIGURATION_BASE_URI, GET_COMMERCE_CONFIGURATION_ATTRIBUTE_PATH, 'CommerceConfigurationDataController.setAttributeValue', 'commerceConfigurationAttributeInputRepresentation'),
|
|
1133
1167
|
];
|
|
1134
1168
|
const commerce_extension = [
|
|
1135
1169
|
generateAdapter('get', COMMERCE_EXTENSION_BASE_URI, GET_EXTENSIONS_PATH, 'CommerceExtensionFamilyController.getExtensions'),
|
|
@@ -1190,6 +1224,24 @@ const networkDataCategory = [
|
|
|
1190
1224
|
},
|
|
1191
1225
|
},
|
|
1192
1226
|
];
|
|
1227
|
+
const parentNetworkDataCategoryPath = [
|
|
1228
|
+
{
|
|
1229
|
+
method: 'get',
|
|
1230
|
+
predicate: (path) => PARENT_NETWORK_DATA_CATEGORY_PATH.test(path),
|
|
1231
|
+
transport: {
|
|
1232
|
+
controller: 'NetworkDataCategoryController.getParentNetworkDataCategoryPath',
|
|
1233
|
+
},
|
|
1234
|
+
},
|
|
1235
|
+
];
|
|
1236
|
+
const childCategory = [
|
|
1237
|
+
{
|
|
1238
|
+
method: 'get',
|
|
1239
|
+
predicate: (path) => CHILD_CATEGORY.test(path),
|
|
1240
|
+
transport: {
|
|
1241
|
+
controller: 'NetworkDataCategoryController.getChildCategories',
|
|
1242
|
+
},
|
|
1243
|
+
},
|
|
1244
|
+
];
|
|
1193
1245
|
const dataCategory = [
|
|
1194
1246
|
{
|
|
1195
1247
|
method: 'get',
|
|
@@ -1408,6 +1460,11 @@ const salesExcellence = [
|
|
|
1408
1460
|
generateAdapter('post', CONNECT_BASE_URI, SALES_EXCELLENCE_GET_ACTIONABLE_LIST_KPI_MAPPING, 'IndustriesActionableListMemberController.generateActionableListKpiMappingResults'),
|
|
1409
1461
|
generateAdapter('post', CONNECT_BASE_URI, SALES_EXCELLENCE_GET_ACTIONABLE_LIST_KPI_BAR, 'IndustriesActionableListMemberController.generateActionableListKpiBarResults'),
|
|
1410
1462
|
];
|
|
1463
|
+
const omnianalytics = [
|
|
1464
|
+
generateAdapter('get', CONNECT_BASE_URI, OMNI_ANALYTICS_FETCH_OMNIANALYTICS_LOGS, 'OmniAnalyticsController.fetchOmniAnalyticsLogs'),
|
|
1465
|
+
generateAdapter('post', CONNECT_BASE_URI, OMNI_ANALYTICS_STORE_OMNIANALYTICS_LOGS, 'OmniAnalyticsController.storeOmniAnalyticsLogs', 'omniAnalyticsLogDefinition'),
|
|
1466
|
+
generateAdapter('get', CONNECT_BASE_URI, OMNI_ANALYTICS_FETCH_OMNIANALYTICS_METADATA, 'OmniAnalyticsController.fetchOmniAnalyticsMetadata'),
|
|
1467
|
+
];
|
|
1411
1468
|
const cdpSalesExcellence = [
|
|
1412
1469
|
generateAdapter('post', CONNECT_BASE_URI, CDP_SALES_EXCELLENCE_SEGMENT_PREVIEW, 'CdpSalesExcellenceController.createObjectsDataFromSelectedSegment'),
|
|
1413
1470
|
generateAdapter('post', CONNECT_BASE_URI, CDP_SALES_EXCELLENCE_CREATE_ACTIONABLE_LIST_RECORDS, 'CdpSalesExcellenceController.createActionableListRecords'),
|
|
@@ -1433,11 +1490,14 @@ const assetCreation = [
|
|
|
1433
1490
|
];
|
|
1434
1491
|
const advancedTherapyManagement = [
|
|
1435
1492
|
generateAdapter('post', HEALTH_CLOUD_BASE_URI, GET_SLOTS_PATH, 'AdvancedTherapyManagementController.getSlots'),
|
|
1493
|
+
generateAdapter('post', HEALTH_CLOUD_BASE_URI, GET_SLOT_CHAINS_PATH, 'AdvancedTherapyManagementController.getSlotChains', 'getSlotChainsInput'),
|
|
1436
1494
|
generateAdapter('post', HEALTH_CLOUD_BASE_URI, BOOK_SLOTS_PATH, 'AdvancedTherapyManagementController.bookSlotChain'),
|
|
1437
1495
|
generateAdapter('post', HEALTH_CLOUD_BASE_URI, CANCEL_SLOT_CHAIN_PATH, 'AdvancedTherapyManagementController.cancelSlotChain'),
|
|
1438
1496
|
generateAdapter('post', HEALTH_CLOUD_BASE_URI, FETCH_SERVICE_TERRITORY_PATH, 'AdvancedTherapyManagementController.getWorkTypeServiceTerritories'),
|
|
1439
1497
|
generateAdapter('post', HEALTH_CLOUD_BASE_URI, RESCHEDULE_SLOT_CHAIN_PATH, 'AdvancedTherapyManagementController.rescheduleSlotChain'),
|
|
1440
1498
|
generateAdapter('post', HEALTH_CLOUD_BASE_URI, FETCH_ENTITY_DETAILS_PATH, 'AdvancedTherapyManagementController.getEntityDetailsInfo'),
|
|
1499
|
+
generateAdapter('post', HEALTH_CLOUD_BASE_URI, WORKTYPE_LEADTIME_PATH, 'AdvancedTherapyManagementController.workTypeLeadTime', 'workTypeLeadTimeValidationRequest'),
|
|
1500
|
+
generateAdapter('post', HEALTH_CLOUD_BASE_URI, DIGITAL_VERIFICATION_PATH, 'AdvancedTherapyManagementController.digitalVerification', 'digitalVerificationInputRequest'),
|
|
1441
1501
|
generateAdapter('post', HEALTH_CLOUD_BASE_URI, GENERIC_CONNECT_API_PATH, 'GenericConnectApiController.genericConnectApiPOST'),
|
|
1442
1502
|
generateAdapter('get', HEALTH_CLOUD_BASE_URI, GENERIC_CONNECT_API_PATH, 'GenericConnectApiController.genericConnectApiGET'),
|
|
1443
1503
|
generateAdapter('post', HEALTH_CLOUD_BASE_URI, MOVE_TO_NEXT_STEP_PATH, 'AdvancedTherapyManagementController.moveToNextStep'),
|
|
@@ -1448,6 +1508,7 @@ const enablementProgram = [
|
|
|
1448
1508
|
];
|
|
1449
1509
|
const enablementMeasure = [
|
|
1450
1510
|
generateAdapter('patch', SALES_ENABLEMENT_BASE_URI, TRIGGER_ON_DEMAND_COMPUTATION_PATH, 'EnablementMeasureConnectController.triggerOnDemandComputation'),
|
|
1511
|
+
generateAdapter('get', SALES_ENABLEMENT_BASE_URI, GET_CONTRIBUTING_RECORDS_INFO_PATH, 'EnablementMeasureConnectController.getContributingRecordsInfoForMilestone'),
|
|
1451
1512
|
];
|
|
1452
1513
|
const salesUserWorkingHours = [
|
|
1453
1514
|
generateAdapter('delete', BASE_URI, DELETE_SALES_USER_WORKING_HOURS_PATH, 'ISalesUserWorkingHoursFamilyController.deleteSalesUserWorkingHours'),
|
|
@@ -1463,6 +1524,9 @@ const salesEngagementWorkspace = [
|
|
|
1463
1524
|
];
|
|
1464
1525
|
const namedCredential = [
|
|
1465
1526
|
generateAdapter('delete', NAMED_CREDENTIAL_BASE_URI, CREDENTIAL_PATH, 'NamedCredentialsController.deleteCredential'),
|
|
1527
|
+
generateAdapter('get', NAMED_CREDENTIAL_BASE_URI, CREDENTIAL_PATH, 'NamedCredentialsController.getCredential'),
|
|
1528
|
+
generateAdapter('put', NAMED_CREDENTIAL_BASE_URI, CREDENTIAL_PATH, 'NamedCredentialsController.updateCredential'),
|
|
1529
|
+
generateAdapter('post', NAMED_CREDENTIAL_BASE_URI, CREDENTIAL_PATH, 'NamedCredentialsController.createCredential'),
|
|
1466
1530
|
generateAdapter('post', NAMED_CREDENTIAL_BASE_URI, OAUTH_CREDENTIAL_AUTH_URL_PATH, 'NamedCredentialsController.getOAuthCredentialAuthUrl'),
|
|
1467
1531
|
generateAdapter('get', NAMED_CREDENTIAL_BASE_URI, EXTERNAL_CREDENTIAL_PATH, 'NamedCredentialsController.getExternalCredentials'),
|
|
1468
1532
|
];
|
|
@@ -1541,6 +1605,8 @@ const education = [
|
|
|
1541
1605
|
generateAdapter('post', EDUCATION_BASE_URI, EDU_PUBLISH_LEARNING_PROGRAM_PLAN, 'CampusSetupController.postPublishLearningProgramPlan'),
|
|
1542
1606
|
generateAdapter('post', EDUCATION_BASE_URI, EDU_LEARNING, 'CampusSetupController.postCreateLearning'),
|
|
1543
1607
|
generateAdapter('get', EDUCATION_BASE_URI, GET_PERSON_PUBLIC_PROFILE, 'PersonPublicProfileInfoController.getPersonPublicProfile'),
|
|
1608
|
+
generateAdapter('get', EDUCATION_BASE_URI, EDU_GET_APT_TASK, 'StudentActionCentreController.getAptsTasksPlans'),
|
|
1609
|
+
generateAdapter('patch', EDUCATION_BASE_URI, EDU_PATCH_TASK, 'StudentActionCentreController.updateTaskStatus', 'task'),
|
|
1544
1610
|
];
|
|
1545
1611
|
const industriesContext = [
|
|
1546
1612
|
generateAdapter('get', CONNECT_BASE_URI, GET_INDUSTRIES_CONTEXT_RUNTIME_PATH, 'ContextResourceFamilyController.getContext'),
|
|
@@ -1590,8 +1656,8 @@ const industriesContext = [
|
|
|
1590
1656
|
generateAdapter('get', CONNECT_BASE_URI, GET_INDUSTRIES_CONTEXT_DEFINITIONS_PATH, 'ContextResourceFamilyController.getContextDefinitions'),
|
|
1591
1657
|
];
|
|
1592
1658
|
const industriesPricing = [
|
|
1593
|
-
generateAdapter('post', CONNECT_BASE_URI, GET_INDUSTRIES_PRICING_PATH, 'PricingResourceFamilyController.
|
|
1594
|
-
generateAdapter('post', CONNECT_BASE_URI, GET_INDUSTRIES_PRICING_HEADLESS_PATH, 'PricingResourceFamilyController.
|
|
1659
|
+
generateAdapter('post', CONNECT_BASE_URI, GET_INDUSTRIES_PRICING_PATH, 'PricingResourceFamilyController.newPricingRequest', 'PricingRequest'),
|
|
1660
|
+
generateAdapter('post', CONNECT_BASE_URI, GET_INDUSTRIES_PRICING_HEADLESS_PATH, 'PricingResourceFamilyController.getPrice', 'pricingInputRequest'),
|
|
1595
1661
|
generateAdapter('get', CONNECT_BASE_URI, GET_INDUSTRIES_PRICING_RECIPES_MAPPING_PATH, 'PricingResourceFamilyController.getRecipeLookupTableMapping'),
|
|
1596
1662
|
generateAdapter('post', CONNECT_BASE_URI, CREATE_INDUSTRIES_PRICING_RECIPES_MAPPING_PATH, 'PricingResourceFamilyController.createPricingRecipeMapping'),
|
|
1597
1663
|
generateAdapter('get', CONNECT_BASE_URI, GET_INDUSTRIES_PRICING_SYNC_PARAM_PATH, 'PricingResourceFamilyController.syncPricingData'),
|
|
@@ -1671,12 +1737,27 @@ const pathassistant = [
|
|
|
1671
1737
|
generateAdapter('get', PATHASSISTANT_BASE_URI, PATHASSISTANT_GET_PATH, 'PathAssistantController.getPathAssistant'),
|
|
1672
1738
|
generateAdapter('get', PATHASSISTANT_BASE_URI, PATHASSISTANT_DAYS_IN_STAGE_PATH, 'PathAssistantController.getPathAssistantDaysInStage'),
|
|
1673
1739
|
];
|
|
1740
|
+
const ai4m = [
|
|
1741
|
+
generateAdapter('post', AI4M_EINSTEIN_BASE_URI, POST_AI4M_EINSTEIN_MODIFY_CONTENT_PATH, 'Ai4mController.postModifyContent'),
|
|
1742
|
+
generateAdapter('post', AI4M_EINSTEIN_BASE_URI, POST_AI4M_EINSTEIN_CREATE_CONTENT_PATH, 'Ai4mController.postCreateContent'),
|
|
1743
|
+
];
|
|
1744
|
+
const decisiontable = [
|
|
1745
|
+
generateAdapter('get', DECISIONTABLE_BASE_URI, DECISION_TABLE_BY_ID_PATH, 'DecisionTableFamilyController.getDecisionTable'),
|
|
1746
|
+
];
|
|
1747
|
+
const contentTaxonomy = [
|
|
1748
|
+
generateAdapter('get', CONTENT_TAXONOMY_BASE_URI, CONTENT_TAXONOMY_TERMS_PATH, 'ContentTaxonomyController.getTerms'),
|
|
1749
|
+
];
|
|
1750
|
+
const energyUtilities = [
|
|
1751
|
+
generateAdapter('get', ENERGY_UTILITIES_PROGRAMS_BASE_URI, ENERGY_UTILITIES_PROGRAMS_GET_PROGRAM_APPLICATIONS_PATH, 'EUProgramController.getProgramApplication'),
|
|
1752
|
+
];
|
|
1753
|
+
registerApiFamilyRoutes(decisiontable);
|
|
1674
1754
|
registerApiFamilyRoutes(updateQuote);
|
|
1675
1755
|
registerApiFamilyRoutes(placeOrder);
|
|
1676
1756
|
registerApiFamilyRoutes(connect);
|
|
1677
1757
|
registerApiFamilyRoutes(connectInternal);
|
|
1678
1758
|
registerApiFamilyRoutes(commerce);
|
|
1679
1759
|
registerApiFamilyRoutes(commerce_management);
|
|
1760
|
+
registerApiFamilyRoutes(commerce_configuration);
|
|
1680
1761
|
registerApiFamilyRoutes(commerce_extension);
|
|
1681
1762
|
registerApiFamilyRoutes(commerce_esf);
|
|
1682
1763
|
registerApiFamilyRoutes(guidance);
|
|
@@ -1685,6 +1766,8 @@ registerApiFamilyRoutes(analyticsPrivate);
|
|
|
1685
1766
|
registerApiFamilyRoutes(tableauEmbedding);
|
|
1686
1767
|
registerApiFamilyRoutes(scalecenter);
|
|
1687
1768
|
registerApiFamilyRoutes(networkDataCategory);
|
|
1769
|
+
registerApiFamilyRoutes(parentNetworkDataCategoryPath);
|
|
1770
|
+
registerApiFamilyRoutes(childCategory);
|
|
1688
1771
|
registerApiFamilyRoutes(dataCategory);
|
|
1689
1772
|
registerApiFamilyRoutes(flow);
|
|
1690
1773
|
registerApiFamilyRoutes(flowBuilder);
|
|
@@ -1695,6 +1778,7 @@ registerApiFamilyRoutes(featurevalidation);
|
|
|
1695
1778
|
registerApiFamilyRoutes(interesttagging);
|
|
1696
1779
|
registerApiFamilyRoutes(identityVerification);
|
|
1697
1780
|
registerApiFamilyRoutes(salesExcellence);
|
|
1781
|
+
registerApiFamilyRoutes(omnianalytics);
|
|
1698
1782
|
registerApiFamilyRoutes(hpiscore);
|
|
1699
1783
|
registerApiFamilyRoutes(learningContentPlatform);
|
|
1700
1784
|
registerApiFamilyRoutes(eci);
|
|
@@ -1741,6 +1825,9 @@ registerApiFamilyRoutes(commerceStoreManagement);
|
|
|
1741
1825
|
registerApiFamilyRoutes(serviceCatalogCategory);
|
|
1742
1826
|
registerApiFamilyRoutes(reminder);
|
|
1743
1827
|
registerApiFamilyRoutes(pathassistant);
|
|
1828
|
+
registerApiFamilyRoutes(ai4m);
|
|
1829
|
+
registerApiFamilyRoutes(contentTaxonomy);
|
|
1830
|
+
registerApiFamilyRoutes(energyUtilities);
|
|
1744
1831
|
|
|
1745
1832
|
const UI_API_BASE_URI$1 = `${BASE_URI}/ui-api`;
|
|
1746
1833
|
const ACTION_CONFIG = {
|
|
@@ -1828,11 +1915,12 @@ var UiApiRecordController$1;
|
|
|
1828
1915
|
UiApiRecordController["UpdateLayoutUserState"] = "RecordUiController.updateLayoutUserState";
|
|
1829
1916
|
UiApiRecordController["GetDuplicateConfiguration"] = "RecordUiController.getDuplicateConfig";
|
|
1830
1917
|
UiApiRecordController["GetDuplicates"] = "RecordUiController.findDuplicates";
|
|
1918
|
+
UiApiRecordController["ExecuteBatchRecordOperations"] = "RecordUiController.executeBatchRecordOperations";
|
|
1831
1919
|
})(UiApiRecordController$1 || (UiApiRecordController$1 = {}));
|
|
1832
1920
|
const UIAPI_GET_LAYOUT = `${UI_API_BASE_URI$1}/layout/`;
|
|
1833
1921
|
const UIAPI_AGGREGATE_UI_PATH = `${UI_API_BASE_URI$1}/aggregate-ui`;
|
|
1834
1922
|
const UIAPI_RECORDS_PATH$1 = `${UI_API_BASE_URI$1}/records`;
|
|
1835
|
-
const UIAPI_RECORDS_BATCH_PATH$1 = `${UI_API_BASE_URI$1}/records/batch
|
|
1923
|
+
const UIAPI_RECORDS_BATCH_PATH$1 = `${UI_API_BASE_URI$1}/records/batch`;
|
|
1836
1924
|
const UIAPI_RECORD_AVATARS_BASE = `${UI_API_BASE_URI$1}/record-avatars/`;
|
|
1837
1925
|
const UIAPI_RECORD_AVATARS_BATCH_PATH = `${UI_API_BASE_URI$1}/record-avatars/batch/`;
|
|
1838
1926
|
const UIAPI_RECORD_AVATAR_UPDATE = `/association`;
|
|
@@ -2234,6 +2322,14 @@ function executeGraphQLBatch(resourceRequest, resourceRequestContext) {
|
|
|
2234
2322
|
const enrichedConfig = enrichWithSourceContext(resourceRequestContext, actionConfig);
|
|
2235
2323
|
return dispatchAction(controller, params, enrichedConfig);
|
|
2236
2324
|
}
|
|
2325
|
+
function executeBatchRecordOperations(resourceRequest, resourceRequestContext) {
|
|
2326
|
+
const controller = UiApiRecordController$1.ExecuteBatchRecordOperations;
|
|
2327
|
+
const params = buildUiApiParams({
|
|
2328
|
+
recordInput: resourceRequest.body,
|
|
2329
|
+
}, resourceRequest);
|
|
2330
|
+
const enrichedConfig = enrichWithSourceContext(resourceRequestContext, actionConfig);
|
|
2331
|
+
return dispatchAction(controller, params, enrichedConfig);
|
|
2332
|
+
}
|
|
2237
2333
|
router.delete((path) => path.startsWith(UIAPI_RECORDS_PATH$1), deleteRecord);
|
|
2238
2334
|
router.patch((path) => path.startsWith(UIAPI_RECORDS_PATH$1), updateRecord);
|
|
2239
2335
|
router.patch((path) => path.startsWith(UIAPI_GET_LAYOUT) && path.endsWith(UIAPI_GET_LAYOUT_USER_STATE), updateLayoutUserState);
|
|
@@ -2253,6 +2349,7 @@ router.get((path) => path.startsWith(UIAPI_OBJECT_INFO_PATH) &&
|
|
|
2253
2349
|
/picklist-values\/[a-zA-Z\d]+\/[a-zA-Z\d]+/.test(path) === false &&
|
|
2254
2350
|
/picklist-values\/[a-zA-Z\d]+/.test(path) === false, getObjectInfo);
|
|
2255
2351
|
router.post((path) => path.startsWith(UIAPI_AGGREGATE_UI_PATH), executeAggregateUi);
|
|
2352
|
+
router.post((path) => path === UIAPI_RECORDS_BATCH_PATH$1, executeBatchRecordOperations);
|
|
2256
2353
|
router.get((path) => path.startsWith(UIAPI_RECORDS_BATCH_PATH$1), getRecords); // Must be registered before getRecord since they both begin with /records.
|
|
2257
2354
|
router.get((path) => path.startsWith(UIAPI_RECORDS_PATH$1), getRecord);
|
|
2258
2355
|
router.get((path) => path.startsWith(UIAPI_RECORD_TEMPLATE_CLONE_PATH), getRecordTemplateClone);
|
|
@@ -2416,6 +2513,7 @@ var UiApiListsController;
|
|
|
2416
2513
|
UiApiListsController["GetListObjectInfo"] = "ListUiController.getListObjectInfo";
|
|
2417
2514
|
UiApiListsController["DeleteListInfo"] = "ListUiController.deleteListInfo";
|
|
2418
2515
|
UiApiListsController["GetListPreferences"] = "ListUiController.getListPreferences";
|
|
2516
|
+
UiApiListsController["UpdateListPreferences"] = "ListUiController.updateListPreferences";
|
|
2419
2517
|
})(UiApiListsController || (UiApiListsController = {}));
|
|
2420
2518
|
const UIAPI_LIST_RECORDS_PATH = `${UI_API_BASE_URI$1}/list-records/`;
|
|
2421
2519
|
const UIAPI_LIST_UI_PATH = `${UI_API_BASE_URI$1}/list-ui/`;
|
|
@@ -2542,6 +2640,20 @@ function getListPreferences(resourceRequest, resourceRequestContext) {
|
|
|
2542
2640
|
const enrichedConfig = enrichWithSourceContext(resourceRequestContext);
|
|
2543
2641
|
return dispatchAction(UiApiListsController.GetListPreferences, params, enrichedConfig);
|
|
2544
2642
|
}
|
|
2643
|
+
function updateListPreferences(resourceRequest, resourceRequestContext) {
|
|
2644
|
+
const { urlParams: { objectApiName, listViewApiName }, body, } = resourceRequest;
|
|
2645
|
+
const params = buildUiApiParams({
|
|
2646
|
+
objectApiName: objectApiName,
|
|
2647
|
+
listViewApiName: listViewApiName,
|
|
2648
|
+
listPreferencesInput: {
|
|
2649
|
+
columnWidths: body.columnWidths,
|
|
2650
|
+
columnWrap: body.columnWrap,
|
|
2651
|
+
orderedBy: body.orderedBy,
|
|
2652
|
+
},
|
|
2653
|
+
}, resourceRequest);
|
|
2654
|
+
const enrichedConfig = enrichWithSourceContext(resourceRequestContext);
|
|
2655
|
+
return dispatchAction(UiApiListsController.UpdateListPreferences, params, enrichedConfig);
|
|
2656
|
+
}
|
|
2545
2657
|
function createListInfo(resourceRequest, resourceRequestContext) {
|
|
2546
2658
|
const { urlParams: { objectApiName }, body, } = resourceRequest;
|
|
2547
2659
|
const params = buildUiApiParams({
|
|
@@ -2594,6 +2706,7 @@ router.get((path) => path.startsWith(UIAPI_LIST_OBJ_INFO_PATH) &&
|
|
|
2594
2706
|
/00B[a-zA-Z\d]{15}$/.test(path) === false, getListObjectInfo);
|
|
2595
2707
|
// .../list-preferences/${objectApiName}/${listViewApiName}
|
|
2596
2708
|
router.get((path) => path.startsWith(UIAPI_LIST_PREF_PATH) && /list-preferences\/.*\//.test(path), getListPreferences);
|
|
2709
|
+
router.patch((path) => path.startsWith(UIAPI_LIST_PREF_PATH), updateListPreferences);
|
|
2597
2710
|
|
|
2598
2711
|
const UIAPI_LOOKUP_RECORDS = `${UI_API_BASE_URI$1}/lookups`;
|
|
2599
2712
|
const LookupRecords = 'LookupController.lookup';
|
|
@@ -3492,4 +3605,4 @@ function auraNetworkAdapter(resourceRequest, resourceRequestContext) {
|
|
|
3492
3605
|
var main = platformNetworkAdapter(auraNetworkAdapter);
|
|
3493
3606
|
|
|
3494
3607
|
export { main as default, defaultActionConfig, dispatchAction as dispatchAuraAction, forceRecordTransactionsDisabled, instrument$1 as instrument, instrument as ldsNetworkAdapterInstrument };
|
|
3495
|
-
// version: 1.
|
|
3608
|
+
// version: 1.249.0-11c3e1ed5
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare const BASE_URI = "/services/data/v60.0";
|
|
2
2
|
export declare const CONNECT_BASE_URI: string;
|
|
3
3
|
export declare const COMMERCE_BASE_URI: string;
|
|
4
|
+
export declare const COMMERCE_CONFIGURATION_BASE_URI: string;
|
|
4
5
|
export declare const COMMERCE_EXTENSION_BASE_URI: string;
|
|
5
6
|
export declare const COMMERCE_ESF_BASE_URI: string;
|
|
6
7
|
export declare const GUIDANCE_BASE_URI: string;
|
|
@@ -27,6 +28,7 @@ export declare const NAMED_CREDENTIAL_BASE_URI: string;
|
|
|
27
28
|
export declare const EXTERNAL_SERVICES_BASE_URI: string;
|
|
28
29
|
export declare const E_SIGN_BASE_URI: string;
|
|
29
30
|
export declare const CLAUSE_LIBRARY_BASE_URI: string;
|
|
31
|
+
export declare const OMNI_ANALYTICS_BASE_URI: string;
|
|
30
32
|
export declare const SERVICE_EXCELLENCE_BASE_URI: string;
|
|
31
33
|
export declare const EPC_BASE_URI: string;
|
|
32
34
|
export declare const ERI_BASE_URI: string;
|
|
@@ -58,3 +60,7 @@ export declare const COMMERCE_STORE_MANAGEMENT_BASE_URI: string;
|
|
|
58
60
|
export declare const SERVICE_CATALOG_CATEGORIES_BASE_URI: string;
|
|
59
61
|
export declare const REMINDER_BASE_URI: string;
|
|
60
62
|
export declare const PATHASSISTANT_BASE_URI: string;
|
|
63
|
+
export declare const AI4M_EINSTEIN_BASE_URI: string;
|
|
64
|
+
export declare const DECISIONTABLE_BASE_URI: string;
|
|
65
|
+
export declare const CONTENT_TAXONOMY_BASE_URI: string;
|
|
66
|
+
export declare const ENERGY_UTILITIES_PROGRAMS_BASE_URI: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-network-aura",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.249.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "LDS Network Adapter for Aura Runtime",
|
|
6
6
|
"main": "dist/ldsNetwork.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"release:corejar": "yarn build && ../core-build/scripts/core.js --name=lds-network-aura"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@luvio/engine": "0.
|
|
37
|
+
"@luvio/engine": "0.152.2"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@salesforce/lds-adapters-uiapi": "*",
|