@salesforce/lds-worker-api 1.227.1 → 1.228.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.
@@ -3968,7 +3968,7 @@ function withDefaultLuvio(callback) {
3968
3968
  }
3969
3969
  callbacks.push(callback);
3970
3970
  }
3971
- // version: 1.227.1-9eac9f138
3971
+ // version: 1.228.0-23a63ee19
3972
3972
 
3973
3973
  // TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
3974
3974
  function instrumentAdapter$1(createFunction, _metadata) {
@@ -15429,7 +15429,7 @@ function gql(literals, ...subs) {
15429
15429
  }
15430
15430
  return superResult;
15431
15431
  }
15432
- // version: 1.227.1-9eac9f138
15432
+ // version: 1.228.0-23a63ee19
15433
15433
 
15434
15434
  function unwrap(data) {
15435
15435
  // The lwc-luvio bindings import a function from lwc called "unwrap".
@@ -16352,7 +16352,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
16352
16352
  const { apiFamily, name } = metadata;
16353
16353
  return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
16354
16354
  }
16355
- // version: 1.227.1-9eac9f138
16355
+ // version: 1.228.0-23a63ee19
16356
16356
 
16357
16357
  /**
16358
16358
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -17542,7 +17542,7 @@ function getTypeCacheKeys$S$1(rootKeySet, luvio, input, fullPathFactory) {
17542
17542
  mergeable: false
17543
17543
  });
17544
17544
  }
17545
- const notifyUpdateAvailableFactory$3 = (luvio) => {
17545
+ const notifyUpdateAvailableFactory$4 = (luvio) => {
17546
17546
  return function notifyListInfoUpdateAvailable(configs) {
17547
17547
  const keys = configs.map(c => keyBuilder$1V(luvio, c));
17548
17548
  return luvio.notifyStoreUpdateAvailable(keys);
@@ -18155,7 +18155,7 @@ function getTypeCacheKeys$O$1(rootKeySet, luvio, input, fullPathFactory) {
18155
18155
  getTypeCacheKeys$R$1(rootKeySet, luvio, input_fields[key], () => rootKey + "__fields" + "__" + key);
18156
18156
  }
18157
18157
  }
18158
- const notifyUpdateAvailableFactory$2 = (luvio) => {
18158
+ const notifyUpdateAvailableFactory$3 = (luvio) => {
18159
18159
  return function notifyRecordUpdateAvailable(configs) {
18160
18160
  const keys = configs.map(c => keyBuilder$1U(luvio, c));
18161
18161
  return luvio.notifyStoreUpdateAvailable(keys);
@@ -22573,7 +22573,7 @@ function getTypeCacheKeys$K$1(rootKeySet, luvio, input, fullPathFactory) {
22573
22573
  getTypeCacheKeys$L$1(rootKeySet, luvio, input.lists[i]);
22574
22574
  }
22575
22575
  }
22576
- const notifyUpdateAvailableFactory$1 = (luvio) => {
22576
+ const notifyUpdateAvailableFactory$2 = (luvio) => {
22577
22577
  return function notifyListViewSummaryUpdateAvailable(configs) {
22578
22578
  const keys = configs.map(c => keyBuilder$1N(luvio, c));
22579
22579
  return luvio.notifyStoreUpdateAvailable(keys);
@@ -25314,9 +25314,9 @@ const factory$e = (luvio) => {
25314
25314
  }, { contextId: contextId$4 });
25315
25315
  };
25316
25316
 
25317
- const notifyUpdateAvailableFactory = (luvio) => {
25317
+ const notifyUpdateAvailableFactory$1 = (luvio) => {
25318
25318
  return function notifyListInfoUpdateAvailable(configs) {
25319
- const generated_notifyUpdateAvailable = notifyUpdateAvailableFactory$3(luvio);
25319
+ const generated_notifyUpdateAvailable = notifyUpdateAvailableFactory$4(luvio);
25320
25320
  // Taken from getUiApiListInfoByListViewApiNameAndObjectApiName/keyBuilder artifact
25321
25321
  // We automatically set the type based on the listViewApiName, and we need to do the same
25322
25322
  // here for key matching and validation
@@ -25432,6 +25432,119 @@ function getTypeCacheKeys$G$1(rootKeySet, luvio, input, fullPathFactory) {
25432
25432
  });
25433
25433
  }
25434
25434
 
25435
+ const TTL$q = 900000;
25436
+ const VERSION$Y$1 = "993b0a7bce6056c4f57ed300ec153d9c";
25437
+ const RepresentationType$E = 'QuickActionDefaultsRepresentation';
25438
+ function keyBuilder$1C(luvio, config) {
25439
+ return keyPrefix$1 + '::' + RepresentationType$E + ':' + config.actionApiName;
25440
+ }
25441
+ function keyBuilderFromType$p(luvio, object) {
25442
+ const keyParams = {
25443
+ actionApiName: object.actionApiName
25444
+ };
25445
+ return keyBuilder$1C(luvio, keyParams);
25446
+ }
25447
+ function dynamicNormalize$4(ingestParams) {
25448
+ return function normalize_dynamic(input, existing, path, luvio, store, timestamp) {
25449
+ const input_fields = input.fields;
25450
+ const input_fields_id = path.fullPath + '__fields';
25451
+ const input_fields_keys = Object.keys(input_fields);
25452
+ const input_fields_length = input_fields_keys.length;
25453
+ for (let i = 0; i < input_fields_length; i++) {
25454
+ const key = input_fields_keys[i];
25455
+ const input_fields_prop = input_fields[key];
25456
+ const input_fields_prop_id = input_fields_id + '__' + key;
25457
+ input_fields[key] = ingestParams.fields(input_fields_prop, {
25458
+ fullPath: input_fields_prop_id,
25459
+ propertyName: key,
25460
+ parent: {
25461
+ data: input,
25462
+ key: path.fullPath,
25463
+ existing: existing,
25464
+ },
25465
+ ttl: path.ttl
25466
+ }, luvio, store, timestamp);
25467
+ }
25468
+ return input;
25469
+ };
25470
+ }
25471
+ const dynamicSelect$5 = function dynamicQuickActionDefaultsRepresentationSelect(params) {
25472
+ const fieldsPathSelection = params.fields === undefined ? {
25473
+ name: 'fields',
25474
+ kind: 'Link',
25475
+ map: true,
25476
+ fragment: select$1F()
25477
+ } : params.fields;
25478
+ return {
25479
+ kind: 'Fragment',
25480
+ version: VERSION$Y$1,
25481
+ private: [
25482
+ 'eTag'
25483
+ ],
25484
+ selections: [
25485
+ {
25486
+ name: 'actionApiName',
25487
+ kind: 'Scalar'
25488
+ },
25489
+ fieldsPathSelection,
25490
+ {
25491
+ name: 'objectApiName',
25492
+ kind: 'Scalar'
25493
+ }
25494
+ ]
25495
+ };
25496
+ };
25497
+ function equals$L(existing, incoming) {
25498
+ const existing_actionApiName = existing.actionApiName;
25499
+ const incoming_actionApiName = incoming.actionApiName;
25500
+ if (!(existing_actionApiName === incoming_actionApiName)) {
25501
+ return false;
25502
+ }
25503
+ const existing_eTag = existing.eTag;
25504
+ const incoming_eTag = incoming.eTag;
25505
+ if (!(existing_eTag === incoming_eTag)) {
25506
+ return false;
25507
+ }
25508
+ const existing_objectApiName = existing.objectApiName;
25509
+ const incoming_objectApiName = incoming.objectApiName;
25510
+ if (!(existing_objectApiName === incoming_objectApiName)) {
25511
+ return false;
25512
+ }
25513
+ const existing_fields = existing.fields;
25514
+ const incoming_fields = incoming.fields;
25515
+ const equals_fields_props = equalsObject$1(existing_fields, incoming_fields, (existing_fields_prop, incoming_fields_prop) => {
25516
+ if (!(existing_fields_prop.__ref === incoming_fields_prop.__ref)) {
25517
+ return false;
25518
+ }
25519
+ });
25520
+ if (equals_fields_props === false) {
25521
+ return false;
25522
+ }
25523
+ return true;
25524
+ }
25525
+ function getTypeCacheKeys$F$1(rootKeySet, luvio, input, fullPathFactory) {
25526
+ // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
25527
+ const rootKey = keyBuilderFromType$p(luvio, input);
25528
+ rootKeySet.set(rootKey, {
25529
+ namespace: keyPrefix$1,
25530
+ representationName: RepresentationType$E,
25531
+ mergeable: false
25532
+ });
25533
+ const input_fields = input.fields;
25534
+ const input_fields_keys = ObjectKeys$2(input_fields);
25535
+ const input_fields_length = input_fields_keys.length;
25536
+ for (let i = 0; i < input_fields_length; i++) {
25537
+ const key = input_fields_keys[i];
25538
+ getTypeCacheKeys$R$1(rootKeySet, luvio, input_fields[key], () => rootKey + "__fields" + "__" + key);
25539
+ }
25540
+ }
25541
+ const notifyUpdateAvailableFactory = (luvio) => {
25542
+ return function notifyQuickActionDefaultsUpdateAvailable(configs) {
25543
+ const keys = configs.map(c => keyBuilder$1C(luvio, c));
25544
+ return luvio.notifyStoreUpdateAvailable(keys);
25545
+ };
25546
+ };
25547
+
25435
25548
  function toSortedStringArrayAllowEmpty(value) {
25436
25549
  const valueArray = isArray$7(value) ? value : [value];
25437
25550
  if (valueArray.length === 0) {
@@ -25454,18 +25567,18 @@ function coerceFormFactor(form) {
25454
25567
  return undefined;
25455
25568
  }
25456
25569
 
25457
- const VERSION$Y$1 = "3f49d751896cf66e6e29788d8880e2cc";
25458
- const RepresentationType$E = 'PlatformActionRepresentation';
25459
- function keyBuilder$1C(luvio, config) {
25460
- return keyPrefix$1 + '::' + RepresentationType$E + ':' + config.externalId + ':' + (config.relatedSourceObject === null ? '' : config.relatedSourceObject) + ':' + (config.relatedListRecordId === null ? '' : config.relatedListRecordId);
25570
+ const VERSION$X$1 = "3f49d751896cf66e6e29788d8880e2cc";
25571
+ const RepresentationType$D = 'PlatformActionRepresentation';
25572
+ function keyBuilder$1B(luvio, config) {
25573
+ return keyPrefix$1 + '::' + RepresentationType$D + ':' + config.externalId + ':' + (config.relatedSourceObject === null ? '' : config.relatedSourceObject) + ':' + (config.relatedListRecordId === null ? '' : config.relatedListRecordId);
25461
25574
  }
25462
- function keyBuilderFromType$p(luvio, object) {
25575
+ function keyBuilderFromType$o(luvio, object) {
25463
25576
  const keyParams = {
25464
25577
  externalId: object.externalId,
25465
25578
  relatedSourceObject: object.relatedSourceObject,
25466
25579
  relatedListRecordId: object.relatedListRecordId
25467
25580
  };
25468
- return keyBuilder$1C(luvio, keyParams);
25581
+ return keyBuilder$1B(luvio, keyParams);
25469
25582
  }
25470
25583
  function normalize$x(input, existing, path, luvio, store, timestamp) {
25471
25584
  return input;
@@ -25473,7 +25586,7 @@ function normalize$x(input, existing, path, luvio, store, timestamp) {
25473
25586
  const select$1s = function PlatformActionRepresentationSelect() {
25474
25587
  return {
25475
25588
  kind: 'Fragment',
25476
- version: VERSION$Y$1,
25589
+ version: VERSION$X$1,
25477
25590
  private: [
25478
25591
  'id'
25479
25592
  ],
@@ -25553,7 +25666,7 @@ const select$1s = function PlatformActionRepresentationSelect() {
25553
25666
  ]
25554
25667
  };
25555
25668
  };
25556
- function equals$L(existing, incoming) {
25669
+ function equals$K(existing, incoming) {
25557
25670
  const existing_actionListContext = existing.actionListContext;
25558
25671
  const incoming_actionListContext = incoming.actionListContext;
25559
25672
  if (!(existing_actionListContext === incoming_actionListContext)) {
@@ -25652,31 +25765,31 @@ function equals$L(existing, incoming) {
25652
25765
  return true;
25653
25766
  }
25654
25767
  const ingest$x$1 = function PlatformActionRepresentationIngest(input, path, luvio, store, timestamp) {
25655
- const key = keyBuilderFromType$p(luvio, input);
25768
+ const key = keyBuilderFromType$o(luvio, input);
25656
25769
  const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
25657
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$x, "UiApi", VERSION$Y$1, RepresentationType$E, equals$L);
25770
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$x, "UiApi", VERSION$X$1, RepresentationType$D, equals$K);
25658
25771
  return createLink$3(key);
25659
25772
  };
25660
- function getTypeCacheKeys$F$1(rootKeySet, luvio, input, fullPathFactory) {
25773
+ function getTypeCacheKeys$E$1(rootKeySet, luvio, input, fullPathFactory) {
25661
25774
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
25662
- const rootKey = keyBuilderFromType$p(luvio, input);
25775
+ const rootKey = keyBuilderFromType$o(luvio, input);
25663
25776
  rootKeySet.set(rootKey, {
25664
25777
  namespace: keyPrefix$1,
25665
- representationName: RepresentationType$E,
25778
+ representationName: RepresentationType$D,
25666
25779
  mergeable: false
25667
25780
  });
25668
25781
  }
25669
25782
 
25670
- const VERSION$X$1 = "378d506f563a4bd724b322d440df33d1";
25671
- const RepresentationType$D = 'EntityActionRepresentation';
25672
- function keyBuilder$1B(luvio, config) {
25673
- return keyPrefix$1 + '::' + RepresentationType$D + ':' + config.url;
25783
+ const VERSION$W$1 = "378d506f563a4bd724b322d440df33d1";
25784
+ const RepresentationType$C = 'EntityActionRepresentation';
25785
+ function keyBuilder$1A(luvio, config) {
25786
+ return keyPrefix$1 + '::' + RepresentationType$C + ':' + config.url;
25674
25787
  }
25675
- function keyBuilderFromType$o(luvio, object) {
25788
+ function keyBuilderFromType$n(luvio, object) {
25676
25789
  const keyParams = {
25677
25790
  url: object.url
25678
25791
  };
25679
- return keyBuilder$1B(luvio, keyParams);
25792
+ return keyBuilder$1A(luvio, keyParams);
25680
25793
  }
25681
25794
  function normalize$w(input, existing, path, luvio, store, timestamp) {
25682
25795
  const input_actions = input.actions;
@@ -25700,7 +25813,7 @@ function normalize$w(input, existing, path, luvio, store, timestamp) {
25700
25813
  const select$1r = function EntityActionRepresentationSelect() {
25701
25814
  return {
25702
25815
  kind: 'Fragment',
25703
- version: VERSION$X$1,
25816
+ version: VERSION$W$1,
25704
25817
  private: [
25705
25818
  'links',
25706
25819
  'url'
@@ -25715,7 +25828,7 @@ const select$1r = function EntityActionRepresentationSelect() {
25715
25828
  ]
25716
25829
  };
25717
25830
  };
25718
- function equals$K(existing, incoming) {
25831
+ function equals$J(existing, incoming) {
25719
25832
  const existing_url = existing.url;
25720
25833
  const incoming_url = incoming.url;
25721
25834
  if (!(existing_url === incoming_url)) {
@@ -25744,28 +25857,28 @@ function equals$K(existing, incoming) {
25744
25857
  return true;
25745
25858
  }
25746
25859
  const ingest$w$1 = function EntityActionRepresentationIngest(input, path, luvio, store, timestamp) {
25747
- const key = keyBuilderFromType$o(luvio, input);
25860
+ const key = keyBuilderFromType$n(luvio, input);
25748
25861
  const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
25749
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$w, "UiApi", VERSION$X$1, RepresentationType$D, equals$K);
25862
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$w, "UiApi", VERSION$W$1, RepresentationType$C, equals$J);
25750
25863
  return createLink$3(key);
25751
25864
  };
25752
- function getTypeCacheKeys$E$1(rootKeySet, luvio, input, fullPathFactory) {
25865
+ function getTypeCacheKeys$D$1(rootKeySet, luvio, input, fullPathFactory) {
25753
25866
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
25754
- const rootKey = keyBuilderFromType$o(luvio, input);
25867
+ const rootKey = keyBuilderFromType$n(luvio, input);
25755
25868
  rootKeySet.set(rootKey, {
25756
25869
  namespace: keyPrefix$1,
25757
- representationName: RepresentationType$D,
25870
+ representationName: RepresentationType$C,
25758
25871
  mergeable: false
25759
25872
  });
25760
25873
  const input_actions_length = input.actions.length;
25761
25874
  for (let i = 0; i < input_actions_length; i++) {
25762
- getTypeCacheKeys$F$1(rootKeySet, luvio, input.actions[i]);
25875
+ getTypeCacheKeys$E$1(rootKeySet, luvio, input.actions[i]);
25763
25876
  }
25764
25877
  }
25765
25878
 
25766
- const TTL$q = 300000;
25767
- const VERSION$W$1 = "e485d96c1402a9ca2f56e56485af0216";
25768
- const RepresentationType$C = 'ActionRepresentation';
25879
+ const TTL$p = 300000;
25880
+ const VERSION$V$1 = "e485d96c1402a9ca2f56e56485af0216";
25881
+ const RepresentationType$B = 'ActionRepresentation';
25769
25882
  function normalize$v(input, existing, path, luvio, store, timestamp) {
25770
25883
  const input_actions = input.actions;
25771
25884
  const input_actions_id = path.fullPath + '__actions';
@@ -25791,7 +25904,7 @@ function normalize$v(input, existing, path, luvio, store, timestamp) {
25791
25904
  const select$1q = function ActionRepresentationSelect() {
25792
25905
  return {
25793
25906
  kind: 'Fragment',
25794
- version: VERSION$W$1,
25907
+ version: VERSION$V$1,
25795
25908
  private: [
25796
25909
  'eTag',
25797
25910
  'url'
@@ -25806,7 +25919,7 @@ const select$1q = function ActionRepresentationSelect() {
25806
25919
  ]
25807
25920
  };
25808
25921
  };
25809
- function equals$J(existing, incoming) {
25922
+ function equals$I(existing, incoming) {
25810
25923
  const existing_eTag = existing.eTag;
25811
25924
  const incoming_eTag = incoming.eTag;
25812
25925
  if (!(existing_eTag === incoming_eTag)) {
@@ -25831,16 +25944,16 @@ function equals$J(existing, incoming) {
25831
25944
  }
25832
25945
  const ingest$v$1 = function ActionRepresentationIngest(input, path, luvio, store, timestamp) {
25833
25946
  const key = path.fullPath;
25834
- const ttlToUse = TTL$q;
25835
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$v, "UiApi", VERSION$W$1, RepresentationType$C, equals$J);
25947
+ const ttlToUse = TTL$p;
25948
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$v, "UiApi", VERSION$V$1, RepresentationType$B, equals$I);
25836
25949
  return createLink$3(key);
25837
25950
  };
25838
- function getTypeCacheKeys$D$1(rootKeySet, luvio, input, fullPathFactory) {
25951
+ function getTypeCacheKeys$C$1(rootKeySet, luvio, input, fullPathFactory) {
25839
25952
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
25840
25953
  const rootKey = fullPathFactory();
25841
25954
  rootKeySet.set(rootKey, {
25842
25955
  namespace: keyPrefix$1,
25843
- representationName: RepresentationType$C,
25956
+ representationName: RepresentationType$B,
25844
25957
  mergeable: false
25845
25958
  });
25846
25959
  const input_actions = input.actions;
@@ -25848,22 +25961,22 @@ function getTypeCacheKeys$D$1(rootKeySet, luvio, input, fullPathFactory) {
25848
25961
  const input_actions_length = input_actions_keys.length;
25849
25962
  for (let i = 0; i < input_actions_length; i++) {
25850
25963
  const key = input_actions_keys[i];
25851
- getTypeCacheKeys$E$1(rootKeySet, luvio, input_actions[key]);
25964
+ getTypeCacheKeys$D$1(rootKeySet, luvio, input_actions[key]);
25852
25965
  }
25853
25966
  }
25854
25967
 
25855
25968
  function select$1p(luvio, params) {
25856
25969
  return select$1q();
25857
25970
  }
25858
- function keyBuilder$1A(luvio, params) {
25971
+ function keyBuilder$1z(luvio, params) {
25859
25972
  return keyPrefix$1 + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'apiNames:' + params.queryParams.apiNames + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'retrievalMode:' + params.queryParams.retrievalMode + ',' + 'sections:' + params.queryParams.sections + ')';
25860
25973
  }
25861
25974
  function getResponseCacheKeys$P(storeKeyMap, luvio, resourceParams, response) {
25862
- getTypeCacheKeys$D$1(storeKeyMap, luvio, response, () => keyBuilder$1A(luvio, resourceParams));
25975
+ getTypeCacheKeys$C$1(storeKeyMap, luvio, response, () => keyBuilder$1z(luvio, resourceParams));
25863
25976
  }
25864
25977
  function ingestSuccess$F(luvio, resourceParams, response, snapshotRefresh) {
25865
25978
  const { body } = response;
25866
- const key = keyBuilder$1A(luvio, resourceParams);
25979
+ const key = keyBuilder$1z(luvio, resourceParams);
25867
25980
  luvio.storeIngest(key, ingest$v$1, body);
25868
25981
  const snapshot = luvio.storeLookup({
25869
25982
  recordId: key,
@@ -25874,13 +25987,13 @@ function ingestSuccess$F(luvio, resourceParams, response, snapshotRefresh) {
25874
25987
  return snapshot;
25875
25988
  }
25876
25989
  function ingestError$B(luvio, params, error, snapshotRefresh) {
25877
- const key = keyBuilder$1A(luvio, params);
25990
+ const key = keyBuilder$1z(luvio, params);
25878
25991
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
25879
25992
  const storeMetadataParams = {
25880
- ttl: TTL$q,
25993
+ ttl: TTL$p,
25881
25994
  namespace: keyPrefix$1,
25882
- version: VERSION$W$1,
25883
- representationName: RepresentationType$C
25995
+ version: VERSION$V$1,
25996
+ representationName: RepresentationType$B
25884
25997
  };
25885
25998
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
25886
25999
  return errorSnapshot;
@@ -25909,9 +26022,9 @@ const getGlobalActions_ConfigPropertyMetadata = [
25909
26022
  ];
25910
26023
  const getGlobalActions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig$1(adapterName$P, getGlobalActions_ConfigPropertyMetadata);
25911
26024
  const createResourceParams$O = /*#__PURE__*/ createResourceParams$X(getGlobalActions_ConfigPropertyMetadata);
25912
- function keyBuilder$1z(luvio, config) {
26025
+ function keyBuilder$1y(luvio, config) {
25913
26026
  const resourceParams = createResourceParams$O(config);
25914
- return keyBuilder$1A(luvio, resourceParams);
26027
+ return keyBuilder$1z(luvio, resourceParams);
25915
26028
  }
25916
26029
  function typeCheckConfig$U(untrustedConfig) {
25917
26030
  const config = {};
@@ -25967,7 +26080,7 @@ function buildNetworkSnapshotCachePolicy$I(context, coercedAdapterRequestContext
25967
26080
  function buildCachedSnapshotCachePolicy$H(context, storeLookup) {
25968
26081
  const { luvio, config } = context;
25969
26082
  const selector = {
25970
- recordId: keyBuilder$1z(luvio, config),
26083
+ recordId: keyBuilder$1y(luvio, config),
25971
26084
  node: adapterFragment$A(luvio, config),
25972
26085
  variables: {},
25973
26086
  };
@@ -25987,17 +26100,17 @@ const getGlobalActionsAdapterFactory = (luvio) => function UiApi__getGlobalActio
25987
26100
  buildCachedSnapshotCachePolicy$H, buildNetworkSnapshotCachePolicy$I);
25988
26101
  };
25989
26102
 
25990
- const TTL$p = 900000;
25991
- const VERSION$V$1 = "3c5af9dc4086169091e3c5df2414c495";
25992
- const RepresentationType$B = 'QuickActionLayoutRepresentation';
25993
- function keyBuilder$1y(luvio, config) {
25994
- return keyPrefix$1 + '::' + RepresentationType$B + ':' + config.actionApiName;
26103
+ const TTL$o = 900000;
26104
+ const VERSION$U$1 = "3c5af9dc4086169091e3c5df2414c495";
26105
+ const RepresentationType$A = 'QuickActionLayoutRepresentation';
26106
+ function keyBuilder$1x(luvio, config) {
26107
+ return keyPrefix$1 + '::' + RepresentationType$A + ':' + config.actionApiName;
25995
26108
  }
25996
- function keyBuilderFromType$n(luvio, object) {
26109
+ function keyBuilderFromType$m(luvio, object) {
25997
26110
  const keyParams = {
25998
26111
  actionApiName: object.actionApiName
25999
26112
  };
26000
- return keyBuilder$1y(luvio, keyParams);
26113
+ return keyBuilder$1x(luvio, keyParams);
26001
26114
  }
26002
26115
  function normalize$u(input, existing, path, luvio, store, timestamp) {
26003
26116
  return input;
@@ -26005,7 +26118,7 @@ function normalize$u(input, existing, path, luvio, store, timestamp) {
26005
26118
  const select$1o = function QuickActionLayoutRepresentationSelect() {
26006
26119
  return {
26007
26120
  kind: 'Fragment',
26008
- version: VERSION$V$1,
26121
+ version: VERSION$U$1,
26009
26122
  private: [
26010
26123
  'eTag'
26011
26124
  ],
@@ -26022,24 +26135,24 @@ const select$1o = function QuickActionLayoutRepresentationSelect() {
26022
26135
  ]
26023
26136
  };
26024
26137
  };
26025
- function equals$I(existing, incoming) {
26138
+ function equals$H(existing, incoming) {
26026
26139
  if (existing.eTag !== incoming.eTag) {
26027
26140
  return false;
26028
26141
  }
26029
26142
  return true;
26030
26143
  }
26031
26144
  const ingest$u$1 = function QuickActionLayoutRepresentationIngest(input, path, luvio, store, timestamp) {
26032
- const key = keyBuilderFromType$n(luvio, input);
26033
- const ttlToUse = TTL$p;
26034
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$u, "UiApi", VERSION$V$1, RepresentationType$B, equals$I);
26145
+ const key = keyBuilderFromType$m(luvio, input);
26146
+ const ttlToUse = TTL$o;
26147
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$u, "UiApi", VERSION$U$1, RepresentationType$A, equals$H);
26035
26148
  return createLink$3(key);
26036
26149
  };
26037
- function getTypeCacheKeys$C$1(rootKeySet, luvio, input, fullPathFactory) {
26150
+ function getTypeCacheKeys$B$1(rootKeySet, luvio, input, fullPathFactory) {
26038
26151
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
26039
- const rootKey = keyBuilderFromType$n(luvio, input);
26152
+ const rootKey = keyBuilderFromType$m(luvio, input);
26040
26153
  rootKeySet.set(rootKey, {
26041
26154
  namespace: keyPrefix$1,
26042
- representationName: RepresentationType$B,
26155
+ representationName: RepresentationType$A,
26043
26156
  mergeable: false
26044
26157
  });
26045
26158
  }
@@ -26047,17 +26160,17 @@ function getTypeCacheKeys$C$1(rootKeySet, luvio, input, fullPathFactory) {
26047
26160
  function select$1n(luvio, params) {
26048
26161
  return select$1o();
26049
26162
  }
26050
- function keyBuilder$1x(luvio, params) {
26051
- return keyBuilder$1y(luvio, {
26163
+ function keyBuilder$1w(luvio, params) {
26164
+ return keyBuilder$1x(luvio, {
26052
26165
  actionApiName: params.urlParams.actionApiName
26053
26166
  });
26054
26167
  }
26055
26168
  function getResponseCacheKeys$O(storeKeyMap, luvio, resourceParams, response) {
26056
- getTypeCacheKeys$C$1(storeKeyMap, luvio, response);
26169
+ getTypeCacheKeys$B$1(storeKeyMap, luvio, response);
26057
26170
  }
26058
26171
  function ingestSuccess$E(luvio, resourceParams, response, snapshotRefresh) {
26059
26172
  const { body } = response;
26060
- const key = keyBuilder$1x(luvio, resourceParams);
26173
+ const key = keyBuilder$1w(luvio, resourceParams);
26061
26174
  luvio.storeIngest(key, ingest$u$1, body);
26062
26175
  const snapshot = luvio.storeLookup({
26063
26176
  recordId: key,
@@ -26068,13 +26181,13 @@ function ingestSuccess$E(luvio, resourceParams, response, snapshotRefresh) {
26068
26181
  return snapshot;
26069
26182
  }
26070
26183
  function ingestError$A(luvio, params, error, snapshotRefresh) {
26071
- const key = keyBuilder$1x(luvio, params);
26184
+ const key = keyBuilder$1w(luvio, params);
26072
26185
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
26073
26186
  const storeMetadataParams = {
26074
- ttl: TTL$p,
26187
+ ttl: TTL$o,
26075
26188
  namespace: keyPrefix$1,
26076
- version: VERSION$V$1,
26077
- representationName: RepresentationType$B
26189
+ version: VERSION$U$1,
26190
+ representationName: RepresentationType$A
26078
26191
  };
26079
26192
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
26080
26193
  return errorSnapshot;
@@ -26099,9 +26212,9 @@ const getQuickActionLayout_ConfigPropertyMetadata = [
26099
26212
  ];
26100
26213
  const getQuickActionLayout_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig$1(adapterName$O, getQuickActionLayout_ConfigPropertyMetadata);
26101
26214
  const createResourceParams$N = /*#__PURE__*/ createResourceParams$X(getQuickActionLayout_ConfigPropertyMetadata);
26102
- function keyBuilder$1w(luvio, config) {
26215
+ function keyBuilder$1v(luvio, config) {
26103
26216
  const resourceParams = createResourceParams$N(config);
26104
- return keyBuilder$1x(luvio, resourceParams);
26217
+ return keyBuilder$1w(luvio, resourceParams);
26105
26218
  }
26106
26219
  function typeCheckConfig$T(untrustedConfig) {
26107
26220
  const config = {};
@@ -26156,7 +26269,7 @@ function buildNetworkSnapshotCachePolicy$H(context, coercedAdapterRequestContext
26156
26269
  function buildCachedSnapshotCachePolicy$G(context, storeLookup) {
26157
26270
  const { luvio, config } = context;
26158
26271
  const selector = {
26159
- recordId: keyBuilder$1w(luvio, config),
26272
+ recordId: keyBuilder$1v(luvio, config),
26160
26273
  node: adapterFragment$z(luvio, config),
26161
26274
  variables: {},
26162
26275
  };
@@ -26211,15 +26324,15 @@ function getSortedObjectApiNamesArray(value) {
26211
26324
  function select$1m(luvio, params) {
26212
26325
  return select$1q();
26213
26326
  }
26214
- function keyBuilder$1v(luvio, params) {
26327
+ function keyBuilder$1u(luvio, params) {
26215
26328
  return keyPrefix$1 + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'objectApiNames:' + params.urlParams.objectApiNames + ')';
26216
26329
  }
26217
26330
  function getResponseCacheKeys$N(storeKeyMap, luvio, resourceParams, response) {
26218
- getTypeCacheKeys$D$1(storeKeyMap, luvio, response, () => keyBuilder$1v(luvio, resourceParams));
26331
+ getTypeCacheKeys$C$1(storeKeyMap, luvio, response, () => keyBuilder$1u(luvio, resourceParams));
26219
26332
  }
26220
26333
  function ingestSuccess$D(luvio, resourceParams, response, snapshotRefresh) {
26221
26334
  const { body } = response;
26222
- const key = keyBuilder$1v(luvio, resourceParams);
26335
+ const key = keyBuilder$1u(luvio, resourceParams);
26223
26336
  luvio.storeIngest(key, ingest$v$1, body);
26224
26337
  const snapshot = luvio.storeLookup({
26225
26338
  recordId: key,
@@ -26230,13 +26343,13 @@ function ingestSuccess$D(luvio, resourceParams, response, snapshotRefresh) {
26230
26343
  return snapshot;
26231
26344
  }
26232
26345
  function ingestError$z(luvio, params, error, snapshotRefresh) {
26233
- const key = keyBuilder$1v(luvio, params);
26346
+ const key = keyBuilder$1u(luvio, params);
26234
26347
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
26235
26348
  const storeMetadataParams = {
26236
- ttl: TTL$q,
26349
+ ttl: TTL$p,
26237
26350
  namespace: keyPrefix$1,
26238
- version: VERSION$W$1,
26239
- representationName: RepresentationType$C
26351
+ version: VERSION$V$1,
26352
+ representationName: RepresentationType$B
26240
26353
  };
26241
26354
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
26242
26355
  return errorSnapshot;
@@ -26264,9 +26377,9 @@ const getLookupActions_ConfigPropertyMetadata = [
26264
26377
  ];
26265
26378
  const getLookupActions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig$1(adapterName$N, getLookupActions_ConfigPropertyMetadata);
26266
26379
  const createResourceParams$M = /*#__PURE__*/ createResourceParams$X(getLookupActions_ConfigPropertyMetadata);
26267
- function keyBuilder$1u(luvio, config) {
26380
+ function keyBuilder$1t(luvio, config) {
26268
26381
  const resourceParams = createResourceParams$M(config);
26269
- return keyBuilder$1v(luvio, resourceParams);
26382
+ return keyBuilder$1u(luvio, resourceParams);
26270
26383
  }
26271
26384
  function typeCheckConfig$S(untrustedConfig) {
26272
26385
  const config = {};
@@ -26322,7 +26435,7 @@ function buildNetworkSnapshotCachePolicy$G(context, coercedAdapterRequestContext
26322
26435
  function buildCachedSnapshotCachePolicy$F(context, storeLookup) {
26323
26436
  const { luvio, config } = context;
26324
26437
  const selector = {
26325
- recordId: keyBuilder$1u(luvio, config),
26438
+ recordId: keyBuilder$1t(luvio, config),
26326
26439
  node: adapterFragment$y(luvio, config),
26327
26440
  variables: {},
26328
26441
  };
@@ -26345,15 +26458,15 @@ const getLookupActionsAdapterFactory = (luvio) => function UiApi__getLookupActio
26345
26458
  function select$1l(luvio, params) {
26346
26459
  return select$1q();
26347
26460
  }
26348
- function keyBuilder$1t(luvio, params) {
26461
+ function keyBuilder$1s(luvio, params) {
26349
26462
  return keyPrefix$1 + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
26350
26463
  }
26351
26464
  function getResponseCacheKeys$M(storeKeyMap, luvio, resourceParams, response) {
26352
- getTypeCacheKeys$D$1(storeKeyMap, luvio, response, () => keyBuilder$1t(luvio, resourceParams));
26465
+ getTypeCacheKeys$C$1(storeKeyMap, luvio, response, () => keyBuilder$1s(luvio, resourceParams));
26353
26466
  }
26354
26467
  function ingestSuccess$C(luvio, resourceParams, response, snapshotRefresh) {
26355
26468
  const { body } = response;
26356
- const key = keyBuilder$1t(luvio, resourceParams);
26469
+ const key = keyBuilder$1s(luvio, resourceParams);
26357
26470
  luvio.storeIngest(key, ingest$v$1, body);
26358
26471
  const snapshot = luvio.storeLookup({
26359
26472
  recordId: key,
@@ -26364,13 +26477,13 @@ function ingestSuccess$C(luvio, resourceParams, response, snapshotRefresh) {
26364
26477
  return snapshot;
26365
26478
  }
26366
26479
  function ingestError$y(luvio, params, error, snapshotRefresh) {
26367
- const key = keyBuilder$1t(luvio, params);
26480
+ const key = keyBuilder$1s(luvio, params);
26368
26481
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
26369
26482
  const storeMetadataParams = {
26370
- ttl: TTL$q,
26483
+ ttl: TTL$p,
26371
26484
  namespace: keyPrefix$1,
26372
- version: VERSION$W$1,
26373
- representationName: RepresentationType$C
26485
+ version: VERSION$V$1,
26486
+ representationName: RepresentationType$B
26374
26487
  };
26375
26488
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
26376
26489
  return errorSnapshot;
@@ -26398,9 +26511,9 @@ const getObjectCreateActions_ConfigPropertyMetadata = [
26398
26511
  ];
26399
26512
  const getObjectCreateActions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig$1(adapterName$M, getObjectCreateActions_ConfigPropertyMetadata);
26400
26513
  const createResourceParams$L = /*#__PURE__*/ createResourceParams$X(getObjectCreateActions_ConfigPropertyMetadata);
26401
- function keyBuilder$1s(luvio, config) {
26514
+ function keyBuilder$1r(luvio, config) {
26402
26515
  const resourceParams = createResourceParams$L(config);
26403
- return keyBuilder$1t(luvio, resourceParams);
26516
+ return keyBuilder$1s(luvio, resourceParams);
26404
26517
  }
26405
26518
  function typeCheckConfig$R(untrustedConfig) {
26406
26519
  const config = {};
@@ -26456,7 +26569,7 @@ function buildNetworkSnapshotCachePolicy$F(context, coercedAdapterRequestContext
26456
26569
  function buildCachedSnapshotCachePolicy$E(context, storeLookup) {
26457
26570
  const { luvio, config } = context;
26458
26571
  const selector = {
26459
- recordId: keyBuilder$1s(luvio, config),
26572
+ recordId: keyBuilder$1r(luvio, config),
26460
26573
  node: adapterFragment$x(luvio, config),
26461
26574
  variables: {},
26462
26575
  };
@@ -26476,20 +26589,20 @@ const getObjectCreateActionsAdapterFactory = (luvio) => function UiApi__getObjec
26476
26589
  buildCachedSnapshotCachePolicy$E, buildNetworkSnapshotCachePolicy$F);
26477
26590
  };
26478
26591
 
26479
- const VERSION$U$1 = "fecd80e9e24a1c1e75fd5395cd34ff2e";
26480
- const RepresentationType$A = 'ActionOverrideRepresentation';
26592
+ const VERSION$T$1 = "fecd80e9e24a1c1e75fd5395cd34ff2e";
26593
+ const RepresentationType$z = 'ActionOverrideRepresentation';
26481
26594
  function normalize$t(input, existing, path, luvio, store, timestamp) {
26482
26595
  return input;
26483
26596
  }
26484
26597
  const select$1k = function ActionOverrideRepresentationSelect() {
26485
26598
  return {
26486
26599
  kind: 'Fragment',
26487
- version: VERSION$U$1,
26600
+ version: VERSION$T$1,
26488
26601
  private: [],
26489
26602
  opaque: true
26490
26603
  };
26491
26604
  };
26492
- function equals$H(existing, incoming) {
26605
+ function equals$G(existing, incoming) {
26493
26606
  if (JSONStringify$2(incoming) !== JSONStringify$2(existing)) {
26494
26607
  return false;
26495
26608
  }
@@ -26498,15 +26611,15 @@ function equals$H(existing, incoming) {
26498
26611
  const ingest$t$1 = function ActionOverrideRepresentationIngest(input, path, luvio, store, timestamp) {
26499
26612
  const key = path.fullPath;
26500
26613
  const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
26501
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$t, "UiApi", VERSION$U$1, RepresentationType$A, equals$H);
26614
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$t, "UiApi", VERSION$T$1, RepresentationType$z, equals$G);
26502
26615
  return createLink$3(key);
26503
26616
  };
26504
- function getTypeCacheKeys$B$1(rootKeySet, luvio, input, fullPathFactory) {
26617
+ function getTypeCacheKeys$A$1(rootKeySet, luvio, input, fullPathFactory) {
26505
26618
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
26506
26619
  const rootKey = fullPathFactory();
26507
26620
  rootKeySet.set(rootKey, {
26508
26621
  namespace: keyPrefix$1,
26509
- representationName: RepresentationType$A,
26622
+ representationName: RepresentationType$z,
26510
26623
  mergeable: false
26511
26624
  });
26512
26625
  }
@@ -26514,15 +26627,15 @@ function getTypeCacheKeys$B$1(rootKeySet, luvio, input, fullPathFactory) {
26514
26627
  function select$1j(luvio, params) {
26515
26628
  return select$1k();
26516
26629
  }
26517
- function keyBuilder$1r(luvio, params) {
26630
+ function keyBuilder$1q(luvio, params) {
26518
26631
  return keyPrefix$1 + '::ActionOverrideRepresentation:(' + 'type:' + params.queryParams.type + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
26519
26632
  }
26520
26633
  function getResponseCacheKeys$L(storeKeyMap, luvio, resourceParams, response) {
26521
- getTypeCacheKeys$B$1(storeKeyMap, luvio, response, () => keyBuilder$1r(luvio, resourceParams));
26634
+ getTypeCacheKeys$A$1(storeKeyMap, luvio, response, () => keyBuilder$1q(luvio, resourceParams));
26522
26635
  }
26523
26636
  function ingestSuccess$B(luvio, resourceParams, response, snapshotRefresh) {
26524
26637
  const { body } = response;
26525
- const key = keyBuilder$1r(luvio, resourceParams);
26638
+ const key = keyBuilder$1q(luvio, resourceParams);
26526
26639
  luvio.storeIngest(key, ingest$t$1, body);
26527
26640
  const snapshot = luvio.storeLookup({
26528
26641
  recordId: key,
@@ -26533,7 +26646,7 @@ function ingestSuccess$B(luvio, resourceParams, response, snapshotRefresh) {
26533
26646
  return snapshot;
26534
26647
  }
26535
26648
  function ingestError$x(luvio, params, error, snapshotRefresh) {
26536
- const key = keyBuilder$1r(luvio, params);
26649
+ const key = keyBuilder$1q(luvio, params);
26537
26650
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
26538
26651
  luvio.storeIngestError(key, errorSnapshot);
26539
26652
  return errorSnapshot;
@@ -26559,9 +26672,9 @@ const getActionOverrides_ConfigPropertyMetadata = [
26559
26672
  ];
26560
26673
  const getActionOverrides_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig$1(adapterName$L, getActionOverrides_ConfigPropertyMetadata);
26561
26674
  const createResourceParams$K = /*#__PURE__*/ createResourceParams$X(getActionOverrides_ConfigPropertyMetadata);
26562
- function keyBuilder$1q(luvio, config) {
26675
+ function keyBuilder$1p(luvio, config) {
26563
26676
  const resourceParams = createResourceParams$K(config);
26564
- return keyBuilder$1r(luvio, resourceParams);
26677
+ return keyBuilder$1q(luvio, resourceParams);
26565
26678
  }
26566
26679
  function typeCheckConfig$Q(untrustedConfig) {
26567
26680
  const config = {};
@@ -26617,7 +26730,7 @@ function buildNetworkSnapshotCachePolicy$E(context, coercedAdapterRequestContext
26617
26730
  function buildCachedSnapshotCachePolicy$D(context, storeLookup) {
26618
26731
  const { luvio, config } = context;
26619
26732
  const selector = {
26620
- recordId: keyBuilder$1q(luvio, config),
26733
+ recordId: keyBuilder$1p(luvio, config),
26621
26734
  node: adapterFragment$w(luvio, config),
26622
26735
  variables: {},
26623
26736
  };
@@ -26637,118 +26750,11 @@ const getActionOverridesAdapterFactory = (luvio) => function UiApi__getActionOve
26637
26750
  buildCachedSnapshotCachePolicy$D, buildNetworkSnapshotCachePolicy$E);
26638
26751
  };
26639
26752
 
26640
- const TTL$o = 900000;
26641
- const VERSION$T$1 = "993b0a7bce6056c4f57ed300ec153d9c";
26642
- const RepresentationType$z = 'QuickActionDefaultsRepresentation';
26643
- function keyBuilder$1p(luvio, config) {
26644
- return keyPrefix$1 + '::' + RepresentationType$z + ':' + config.actionApiName;
26645
- }
26646
- function keyBuilderFromType$m(luvio, object) {
26647
- const keyParams = {
26648
- actionApiName: object.actionApiName
26649
- };
26650
- return keyBuilder$1p(luvio, keyParams);
26651
- }
26652
- function dynamicNormalize$4(ingestParams) {
26653
- return function normalize_dynamic(input, existing, path, luvio, store, timestamp) {
26654
- const input_fields = input.fields;
26655
- const input_fields_id = path.fullPath + '__fields';
26656
- const input_fields_keys = Object.keys(input_fields);
26657
- const input_fields_length = input_fields_keys.length;
26658
- for (let i = 0; i < input_fields_length; i++) {
26659
- const key = input_fields_keys[i];
26660
- const input_fields_prop = input_fields[key];
26661
- const input_fields_prop_id = input_fields_id + '__' + key;
26662
- input_fields[key] = ingestParams.fields(input_fields_prop, {
26663
- fullPath: input_fields_prop_id,
26664
- propertyName: key,
26665
- parent: {
26666
- data: input,
26667
- key: path.fullPath,
26668
- existing: existing,
26669
- },
26670
- ttl: path.ttl
26671
- }, luvio, store, timestamp);
26672
- }
26673
- return input;
26674
- };
26675
- }
26676
- const dynamicSelect$5 = function dynamicQuickActionDefaultsRepresentationSelect(params) {
26677
- const fieldsPathSelection = params.fields === undefined ? {
26678
- name: 'fields',
26679
- kind: 'Link',
26680
- map: true,
26681
- fragment: select$1F()
26682
- } : params.fields;
26683
- return {
26684
- kind: 'Fragment',
26685
- version: VERSION$T$1,
26686
- private: [
26687
- 'eTag'
26688
- ],
26689
- selections: [
26690
- {
26691
- name: 'actionApiName',
26692
- kind: 'Scalar'
26693
- },
26694
- fieldsPathSelection,
26695
- {
26696
- name: 'objectApiName',
26697
- kind: 'Scalar'
26698
- }
26699
- ]
26700
- };
26701
- };
26702
- function equals$G(existing, incoming) {
26703
- const existing_actionApiName = existing.actionApiName;
26704
- const incoming_actionApiName = incoming.actionApiName;
26705
- if (!(existing_actionApiName === incoming_actionApiName)) {
26706
- return false;
26707
- }
26708
- const existing_eTag = existing.eTag;
26709
- const incoming_eTag = incoming.eTag;
26710
- if (!(existing_eTag === incoming_eTag)) {
26711
- return false;
26712
- }
26713
- const existing_objectApiName = existing.objectApiName;
26714
- const incoming_objectApiName = incoming.objectApiName;
26715
- if (!(existing_objectApiName === incoming_objectApiName)) {
26716
- return false;
26717
- }
26718
- const existing_fields = existing.fields;
26719
- const incoming_fields = incoming.fields;
26720
- const equals_fields_props = equalsObject$1(existing_fields, incoming_fields, (existing_fields_prop, incoming_fields_prop) => {
26721
- if (!(existing_fields_prop.__ref === incoming_fields_prop.__ref)) {
26722
- return false;
26723
- }
26724
- });
26725
- if (equals_fields_props === false) {
26726
- return false;
26727
- }
26728
- return true;
26729
- }
26730
- function getTypeCacheKeys$A$1(rootKeySet, luvio, input, fullPathFactory) {
26731
- // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
26732
- const rootKey = keyBuilderFromType$m(luvio, input);
26733
- rootKeySet.set(rootKey, {
26734
- namespace: keyPrefix$1,
26735
- representationName: RepresentationType$z,
26736
- mergeable: false
26737
- });
26738
- const input_fields = input.fields;
26739
- const input_fields_keys = ObjectKeys$2(input_fields);
26740
- const input_fields_length = input_fields_keys.length;
26741
- for (let i = 0; i < input_fields_length; i++) {
26742
- const key = input_fields_keys[i];
26743
- getTypeCacheKeys$R$1(rootKeySet, luvio, input_fields[key], () => rootKey + "__fields" + "__" + key);
26744
- }
26745
- }
26746
-
26747
26753
  const QUICK_ACTION_DEFAULTS_STORE_METADATA_PARAMS = {
26748
- ttl: TTL$o,
26754
+ ttl: TTL$q,
26749
26755
  namespace: keyPrefix$1,
26750
- representationName: RepresentationType$z,
26751
- version: VERSION$T$1,
26756
+ representationName: RepresentationType$E,
26757
+ version: VERSION$Y$1,
26752
26758
  };
26753
26759
  function merge$1(existing, incoming) {
26754
26760
  if (existing === undefined) {
@@ -26765,7 +26771,7 @@ function merge$1(existing, incoming) {
26765
26771
  }
26766
26772
  const dynamicIngest$4 = (ingestParams) => {
26767
26773
  return function QuickActionDefaultsRepresentationIngest(input, path, luvio, store, timestamp) {
26768
- const key = keyBuilderFromType$m(luvio, input);
26774
+ const key = keyBuilderFromType$p(luvio, input);
26769
26775
  const existingRecord = store.readEntry(key);
26770
26776
  let incomingRecord = dynamicNormalize$4(ingestParams)(input, store.readEntry(key), {
26771
26777
  fullPath: key,
@@ -26773,7 +26779,7 @@ const dynamicIngest$4 = (ingestParams) => {
26773
26779
  propertyName: path.propertyName,
26774
26780
  }, luvio, store, timestamp);
26775
26781
  incomingRecord = merge$1(existingRecord, incomingRecord);
26776
- if (existingRecord === undefined || equals$G(existingRecord, incomingRecord) === false) {
26782
+ if (existingRecord === undefined || equals$L(existingRecord, incomingRecord) === false) {
26777
26783
  luvio.storePublish(key, incomingRecord);
26778
26784
  }
26779
26785
  luvio.publishStoreMetadata(key, QUICK_ACTION_DEFAULTS_STORE_METADATA_PARAMS);
@@ -26825,21 +26831,21 @@ function selectFields$6(luvio, params) {
26825
26831
  }
26826
26832
 
26827
26833
  function keyBuilder$1o(luvio, params) {
26828
- return keyBuilder$1p(luvio, {
26834
+ return keyBuilder$1C(luvio, {
26829
26835
  actionApiName: params.urlParams.actionApiName
26830
26836
  });
26831
26837
  }
26832
26838
  function getResponseCacheKeys$K(storeKeyMap, luvio, resourceParams, response) {
26833
- getTypeCacheKeys$A$1(storeKeyMap, luvio, response);
26839
+ getTypeCacheKeys$F$1(storeKeyMap, luvio, response);
26834
26840
  }
26835
26841
  function ingestError$w(luvio, params, error, snapshotRefresh) {
26836
26842
  const key = keyBuilder$1o(luvio, params);
26837
26843
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
26838
26844
  const storeMetadataParams = {
26839
- ttl: TTL$o,
26845
+ ttl: TTL$q,
26840
26846
  namespace: keyPrefix$1,
26841
- version: VERSION$T$1,
26842
- representationName: RepresentationType$z
26847
+ version: VERSION$Y$1,
26848
+ representationName: RepresentationType$E
26843
26849
  };
26844
26850
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
26845
26851
  return errorSnapshot;
@@ -26974,7 +26980,7 @@ function keyBuilder$1m(luvio, params) {
26974
26980
  return keyPrefix$1 + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'apiNames:' + params.queryParams.apiNames + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'retrievalMode:' + params.queryParams.retrievalMode + ',' + 'sections:' + params.queryParams.sections + ',' + 'recordIds:' + params.urlParams.recordIds + ')';
26975
26981
  }
26976
26982
  function getResponseCacheKeys$J(storeKeyMap, luvio, resourceParams, response) {
26977
- getTypeCacheKeys$D$1(storeKeyMap, luvio, response, () => keyBuilder$1m(luvio, resourceParams));
26983
+ getTypeCacheKeys$C$1(storeKeyMap, luvio, response, () => keyBuilder$1m(luvio, resourceParams));
26978
26984
  }
26979
26985
  function ingestSuccess$A(luvio, resourceParams, response, snapshotRefresh) {
26980
26986
  const { body } = response;
@@ -26992,10 +26998,10 @@ function ingestError$v(luvio, params, error, snapshotRefresh) {
26992
26998
  const key = keyBuilder$1m(luvio, params);
26993
26999
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
26994
27000
  const storeMetadataParams = {
26995
- ttl: TTL$q,
27001
+ ttl: TTL$p,
26996
27002
  namespace: keyPrefix$1,
26997
- version: VERSION$W$1,
26998
- representationName: RepresentationType$C
27003
+ version: VERSION$V$1,
27004
+ representationName: RepresentationType$B
26999
27005
  };
27000
27006
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
27001
27007
  return errorSnapshot;
@@ -27114,7 +27120,7 @@ function keyBuilder$1k(luvio, params) {
27114
27120
  return keyPrefix$1 + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'recordIds:' + params.urlParams.recordIds + ')';
27115
27121
  }
27116
27122
  function getResponseCacheKeys$I(storeKeyMap, luvio, resourceParams, response) {
27117
- getTypeCacheKeys$D$1(storeKeyMap, luvio, response, () => keyBuilder$1k(luvio, resourceParams));
27123
+ getTypeCacheKeys$C$1(storeKeyMap, luvio, response, () => keyBuilder$1k(luvio, resourceParams));
27118
27124
  }
27119
27125
  function ingestSuccess$z(luvio, resourceParams, response, snapshotRefresh) {
27120
27126
  const { body } = response;
@@ -27132,10 +27138,10 @@ function ingestError$u(luvio, params, error, snapshotRefresh) {
27132
27138
  const key = keyBuilder$1k(luvio, params);
27133
27139
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
27134
27140
  const storeMetadataParams = {
27135
- ttl: TTL$q,
27141
+ ttl: TTL$p,
27136
27142
  namespace: keyPrefix$1,
27137
- version: VERSION$W$1,
27138
- representationName: RepresentationType$C
27143
+ version: VERSION$V$1,
27144
+ representationName: RepresentationType$B
27139
27145
  };
27140
27146
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
27141
27147
  return errorSnapshot;
@@ -27318,7 +27324,7 @@ function keyBuilder$1i(luvio, params) {
27318
27324
  return keyPrefix$1 + '::ActionRepresentation:(' + 'recordIds:' + params.urlParams.recordIds + ',' + 'relatedListId:' + params.urlParams.relatedListId + ',' + (params.body.actionTypes === undefined ? 'actionTypes' : 'actionTypes:' + params.body.actionTypes) + '::' + (params.body.apiNames === undefined ? 'apiNames' : 'apiNames:' + params.body.apiNames) + '::' + (params.body.formFactor === undefined ? 'formFactor' : 'formFactor:' + params.body.formFactor) + '::' + (params.body.retrievalMode === undefined ? 'retrievalMode' : 'retrievalMode:' + params.body.retrievalMode) + '::' + (params.body.sections === undefined ? 'sections' : 'sections:' + params.body.sections) + ')';
27319
27325
  }
27320
27326
  function getResponseCacheKeys$H(storeKeyMap, luvio, resourceParams, response) {
27321
- getTypeCacheKeys$D$1(storeKeyMap, luvio, response, () => keyBuilder$1i(luvio, resourceParams));
27327
+ getTypeCacheKeys$C$1(storeKeyMap, luvio, response, () => keyBuilder$1i(luvio, resourceParams));
27322
27328
  }
27323
27329
  function ingestSuccess$y(luvio, resourceParams, response, snapshotRefresh) {
27324
27330
  const { body } = response;
@@ -27336,10 +27342,10 @@ function ingestError$t(luvio, params, error, snapshotRefresh) {
27336
27342
  const key = keyBuilder$1i(luvio, params);
27337
27343
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
27338
27344
  const storeMetadataParams = {
27339
- ttl: TTL$q,
27345
+ ttl: TTL$p,
27340
27346
  namespace: keyPrefix$1,
27341
- version: VERSION$W$1,
27342
- representationName: RepresentationType$C
27347
+ version: VERSION$V$1,
27348
+ representationName: RepresentationType$B
27343
27349
  };
27344
27350
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
27345
27351
  return errorSnapshot;
@@ -27764,7 +27770,7 @@ function keyBuilder$1e(luvio, params) {
27764
27770
  return keyPrefix$1 + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'recordIds:' + params.urlParams.recordIds + ',' + 'relatedListRecordIds:' + params.urlParams.relatedListRecordIds + ')';
27765
27771
  }
27766
27772
  function getResponseCacheKeys$F(storeKeyMap, luvio, resourceParams, response) {
27767
- getTypeCacheKeys$D$1(storeKeyMap, luvio, response, () => keyBuilder$1e(luvio, resourceParams));
27773
+ getTypeCacheKeys$C$1(storeKeyMap, luvio, response, () => keyBuilder$1e(luvio, resourceParams));
27768
27774
  }
27769
27775
  function ingestSuccess$w(luvio, resourceParams, response, snapshotRefresh) {
27770
27776
  const { body } = response;
@@ -27782,10 +27788,10 @@ function ingestError$r(luvio, params, error, snapshotRefresh) {
27782
27788
  const key = keyBuilder$1e(luvio, params);
27783
27789
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
27784
27790
  const storeMetadataParams = {
27785
- ttl: TTL$q,
27791
+ ttl: TTL$p,
27786
27792
  namespace: keyPrefix$1,
27787
- version: VERSION$W$1,
27788
- representationName: RepresentationType$C
27793
+ version: VERSION$V$1,
27794
+ representationName: RepresentationType$B
27789
27795
  };
27790
27796
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
27791
27797
  return errorSnapshot;
@@ -41138,14 +41144,15 @@ withDefaultLuvio((luvio) => {
41138
41144
  allowFunction: instrumentation$2.getRecordNotifyChangeAllowed,
41139
41145
  dropFunction: instrumentation$2.getRecordNotifyChangeDropped,
41140
41146
  });
41141
- throttle(60, 60000, createLDSAdapter(luvio, 'notifyRecordUpdateAvailable', notifyUpdateAvailableFactory$2), {
41147
+ throttle(60, 60000, createLDSAdapter(luvio, 'notifyRecordUpdateAvailable', notifyUpdateAvailableFactory$3), {
41142
41148
  allowFunction: instrumentation$2.notifyRecordUpdateAvailableAllowed,
41143
41149
  dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
41144
41150
  });
41145
- throttle(60, 60000, createLDSAdapter(luvio, 'notifyListViewSummaryUpdateAvailable', notifyUpdateAvailableFactory$1));
41146
- throttle(60, 60000, createLDSAdapter(luvio, 'notifyListInfoUpdateAvailable', notifyUpdateAvailableFactory));
41151
+ throttle(60, 60000, createLDSAdapter(luvio, 'notifyListViewSummaryUpdateAvailable', notifyUpdateAvailableFactory$2));
41152
+ throttle(60, 60000, createLDSAdapter(luvio, 'notifyListInfoUpdateAvailable', notifyUpdateAvailableFactory$1));
41153
+ throttle(60, 60000, createLDSAdapter(luvio, 'notifyQuickActionDefaultsUpdateAvailable', notifyUpdateAvailableFactory));
41147
41154
  });
41148
- // version: 1.227.1-a3108f583
41155
+ // version: 1.228.0-946298e9a
41149
41156
 
41150
41157
  var caseSensitiveUserId = '005B0000000GR4OIAW';
41151
41158
 
@@ -46260,6 +46267,12 @@ function buildLuvioOverrideForDraftAdapters(luvio, handler, extractTargetIdFromC
46260
46267
  const resourceRequestCopy = clone$1(resourceRequest);
46261
46268
  resourceRequestCopy.headers = resourceRequestCopy.headers || {};
46262
46269
  resourceRequestCopy.headers[HTTP_HEADER_IDEMPOTENCY_KEY] = uuidv4();
46270
+ // enable return extra fields for record creation and record update http call
46271
+ if (resourceRequest.basePath === '/ui-api/records' &&
46272
+ (resourceRequest.method === 'post' || resourceRequest.method === 'patch')) {
46273
+ resourceRequestCopy.queryParams = resourceRequestCopy.queryParams || {};
46274
+ resourceRequestCopy.queryParams['includeFieldsInBody'] = true;
46275
+ }
46263
46276
  const { data } = await handler.enqueue(resourceRequestCopy).catch((err) => {
46264
46277
  throw transformErrorToDraftSynthesisError(err);
46265
46278
  });
@@ -57797,7 +57810,7 @@ register({
57797
57810
  id: '@salesforce/lds-network-adapter',
57798
57811
  instrument: instrument$1,
57799
57812
  });
57800
- // version: 1.227.1-9eac9f138
57813
+ // version: 1.228.0-23a63ee19
57801
57814
 
57802
57815
  const { create: create$2, keys: keys$2 } = Object;
57803
57816
  const { stringify: stringify$1, parse: parse$1 } = JSON;
@@ -76075,7 +76088,7 @@ register({
76075
76088
  configuration: { ...configurationForGraphQLAdapters },
76076
76089
  instrument,
76077
76090
  });
76078
- // version: 1.227.1-a3108f583
76091
+ // version: 1.228.0-946298e9a
76079
76092
 
76080
76093
  // On core the unstable adapters are re-exported with different names,
76081
76094
 
@@ -78322,7 +78335,7 @@ withDefaultLuvio((luvio) => {
78322
78335
  unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
78323
78336
  graphQLImperative = ldsAdapter;
78324
78337
  });
78325
- // version: 1.227.1-a3108f583
78338
+ // version: 1.228.0-946298e9a
78326
78339
 
78327
78340
  var gqlApi = /*#__PURE__*/Object.freeze({
78328
78341
  __proto__: null,
@@ -79036,4 +79049,4 @@ const { luvio } = getRuntime();
79036
79049
  setDefaultLuvio({ luvio });
79037
79050
 
79038
79051
  export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
79039
- // version: 1.227.1-9eac9f138
79052
+ // version: 1.228.0-23a63ee19