@salesforce/lds-network-aura 1.332.0-dev20 → 1.332.0-dev22

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.
@@ -134,6 +134,7 @@ const PLATFORM_LIGHTNING_TYPES_BASE_URI = `${CONNECT_BASE_URI}/lightning-types`;
134
134
  const INVOICING_BASE_URI = `${COMMERCE_BASE_URI}/invoicing`;
135
135
  const SLACK_BRIDGE_BASE_URI = `${CONNECT_BASE_URI}/slackbridge`;
136
136
  const EXPLORER_VIEW_BASE_URI = `${CONNECT_BASE_URI}/explorer-view`;
137
+ const CDP_DATA_CLEAN_ROOM_BASE_URI = `${CDP_BASE_URI}/data-clean-room`;
137
138
 
138
139
  function getStatusText(status) {
139
140
  switch (status) {
@@ -1203,7 +1204,8 @@ const FUNDRAISING_COMMITMENT_DEFAULT_DESIGNATION_PATH = new RegExp(`${FUNDRAISIN
1203
1204
  const FUNDRAISING_GIFT_TRANSACTION_PATH = new RegExp(`${FUNDRAISING_BASE_URI}/gift-commitments/[a-zA-Z0-9]{15,18}/gift-transactions$`, 'i');
1204
1205
  const FUNDRAISING_TRANSACTION_LINKED_DESIGNATION_PATH = new RegExp(`${FUNDRAISING_BASE_URI}/transaction/[a-zA-Z0-9]{15,18}/designations$`, 'i');
1205
1206
  // CDP BYOC Endpoints
1206
- const CDP_BYOC_PATH = new RegExp(`${CDP_BYOC_BASE_URI}`, 'i');
1207
+ const CDP_BYOC_CUSTOM_CODE_COLLECTION_PATH = new RegExp(`${CDP_BYOC_BASE_URI}`, 'i');
1208
+ const CDP_BYOC_CUSTOM_CODE_PATH = new RegExp(`${CDP_BYOC_BASE_URI}/([A-Za-z0-9_]){1,80}$`, 'i');
1207
1209
  // CDP Data Graph Endpoints
1208
1210
  const CDP_DATA_GRAPH_PATH = new RegExp(`${CDP_BASE_URI}/data-graphs`, 'i');
1209
1211
  // Prevent matching /data-graphs/metadata
@@ -1514,6 +1516,7 @@ const APP_FRAMEWORK_TEMPLATE_TAGS_PUT = APP_FRAMEWORK_TEMPLATE_TAGS_GET;
1514
1516
  const MFG_INVENTORY_COUNT_SCHEDULES_PATH = new RegExp(`${CONNECT_BASE_URI}/inventory/inventory-count`, 'i');
1515
1517
  const GET_LIGHTNING_TYPES_COLLECTION = new RegExp(`${PLATFORM_LIGHTNING_TYPES_BASE_URI}`, 'i');
1516
1518
  const GET_LIGHTNING_TYPE_PATH = new RegExp(`${PLATFORM_LIGHTNING_TYPES_BASE_URI}/([A-Za-z0-9_]){1,100}$`, 'i');
1519
+ const CDP_DATA_CLEAN_ROOM_CREATE_PROVIDER = new RegExp(`${CDP_DATA_CLEAN_ROOM_BASE_URI}/providers`, 'i');
1517
1520
  const unifiedAnalytics = [
1518
1521
  // eslint-disable-next-line @salesforce/lds/oas-body-name-required
1519
1522
  generateAdapter('post', BASE_URI, UNIFIED_ANALYTICS_ANNOTATIONS_PATH, 'AnalyticsController.createAnnotation', 'annotation'),
@@ -2813,8 +2816,14 @@ const cdp = [
2813
2816
  generateAdapter('post', CDP_BASE_URI, CDP_DATA_GRAPH_DRAFT_PATH, 'CdpDataGraphController.saveDataGraphDraft'),
2814
2817
  generateAdapter('get', CDP_BASE_URI, GET_CDP_DATA_GRAPH_DRAFT_PATH, 'CdpDataGraphController.getDataGraphDraft'),
2815
2818
  ];
2819
+ // NOTE: Order is important, put more-specific regexes earlier in the array.
2820
+ // e.g. If /data-custom-code comes before /data-custom-code/{nameOrId}, the latter will never be used.
2816
2821
  const cdpByoc = [
2817
- generateAdapter('post', CDP_BASE_URI, CDP_BYOC_PATH, 'CdpCustomCodeDeploymentController.createCustomCodeDeployment', 'customCodeDeployment'),
2822
+ generateAdapter('get', CDP_BASE_URI, CDP_BYOC_CUSTOM_CODE_PATH, 'CdpCustomCodeDeploymentController.getCustomCodeDeployment'),
2823
+ generateAdapter('patch', CDP_BASE_URI, CDP_BYOC_CUSTOM_CODE_PATH, 'CdpCustomCodeDeploymentController.updateCustomCodeDeployment', 'customCodeDeployment'),
2824
+ generateAdapter('delete', CDP_BASE_URI, CDP_BYOC_CUSTOM_CODE_PATH, 'CdpCustomCodeDeploymentController.deleteCustomCodeDeployment'),
2825
+ generateAdapter('get', CDP_BASE_URI, CDP_BYOC_CUSTOM_CODE_COLLECTION_PATH, 'CdpCustomCodeDeploymentController.getCustomCodeDeployments'),
2826
+ generateAdapter('post', CDP_BASE_URI, CDP_BYOC_CUSTOM_CODE_COLLECTION_PATH, 'CdpCustomCodeDeploymentController.createCustomCodeDeployment', 'customCodeDeployment'),
2818
2827
  ];
2819
2828
  const cdpMetadata = [
2820
2829
  generateAdapter('get', CDP_BASE_URI, CDP_METADATA, 'CdpQueryController.getAllMetadata'),
@@ -3323,6 +3332,10 @@ const slackBridge = [
3323
3332
  generateAdapter('get', CONNECT_BASE_URI, AGENTFORCE_EMPLOYEE_AGENTS, 'ConversationRuntimeProxyController.getAgents'),
3324
3333
  generateAdapter('get', BASE_URI, SLACK_BRIDGE_SLACK_RELATED_THREADS_PATH, 'SlackBridgeController.getRelatedThreads'),
3325
3334
  ];
3335
+ const cdpDataCleanRoom = [
3336
+ generateAdapter('get', BASE_URI, CDP_DATA_CLEAN_ROOM_CREATE_PROVIDER, 'CdpDataCleanRoomController.getDataCleanRoomProvidersPaginated'),
3337
+ generateAdapter('post', BASE_URI, CDP_DATA_CLEAN_ROOM_CREATE_PROVIDER, 'CdpDataCleanRoomController.createProvider', 'input'),
3338
+ ];
3326
3339
  registerApiFamilyRoutes(homeHealth);
3327
3340
  registerApiFamilyRoutes(dataProcessingEngine);
3328
3341
  registerApiFamilyRoutes(providerNetworkManagement);
@@ -3468,6 +3481,7 @@ registerApiFamilyRoutes(marketingProspect);
3468
3481
  registerApiFamilyRoutes(guardrailFramework);
3469
3482
  registerApiFamilyRoutes(lightningTypes);
3470
3483
  registerApiFamilyRoutes(slackBridge);
3484
+ registerApiFamilyRoutes(cdpDataCleanRoom);
3471
3485
 
3472
3486
  const UI_API_BASE_URI$1 = `${BASE_URI}/ui-api`;
3473
3487
  const ACTION_CONFIG = {
@@ -5315,4 +5329,4 @@ function auraNetworkAdapter(resourceRequest, resourceRequestContext) {
5315
5329
  var main = platformNetworkAdapter(auraNetworkAdapter);
5316
5330
 
5317
5331
  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 };
5318
- // version: 1.332.0-dev20-f65bc51b43
5332
+ // version: 1.332.0-dev22-929db04706
@@ -115,3 +115,4 @@ export declare const PLATFORM_LIGHTNING_TYPES_BASE_URI: string;
115
115
  export declare const INVOICING_BASE_URI: string;
116
116
  export declare const SLACK_BRIDGE_BASE_URI: string;
117
117
  export declare const EXPLORER_VIEW_BASE_URI: string;
118
+ export declare const CDP_DATA_CLEAN_ROOM_BASE_URI: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-network-aura",
3
- "version": "1.332.0-dev20",
3
+ "version": "1.332.0-dev22",
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.156.5"
38
38
  },
39
39
  "devDependencies": {
40
- "@salesforce/lds-adapters-uiapi": "^1.332.0-dev20",
41
- "@salesforce/lds-aura-storage": "^1.332.0-dev20",
42
- "@salesforce/lds-environment-settings": "^1.332.0-dev20",
43
- "@salesforce/lds-instrumentation": "^1.332.0-dev20",
44
- "@salesforce/lds-network-adapter": "^1.332.0-dev20"
40
+ "@salesforce/lds-adapters-uiapi": "^1.332.0-dev22",
41
+ "@salesforce/lds-aura-storage": "^1.332.0-dev22",
42
+ "@salesforce/lds-environment-settings": "^1.332.0-dev22",
43
+ "@salesforce/lds-instrumentation": "^1.332.0-dev22",
44
+ "@salesforce/lds-network-adapter": "^1.332.0-dev22"
45
45
  },
46
46
  "volta": {
47
47
  "extends": "../../package.json"