@salesforce/lds-worker-api 1.243.0 → 1.245.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.
@@ -2599,7 +2599,10 @@ class Reader {
2599
2599
  this.markPending();
2600
2600
  return;
2601
2601
  default:
2602
- this.readStoreLinkWithRef(linkState, fragment, sink, property, required);
2602
+ // if we have a link reference we override the required property passed to true
2603
+ // because if there was a missing reference the `isMissing` property would be true and the links state would
2604
+ // have returned `Missing`.
2605
+ this.readStoreLinkWithRef(linkState, fragment, sink, property, true);
2603
2606
  }
2604
2607
  }
2605
2608
  markRedirectsSeen(state) {
@@ -3899,7 +3902,7 @@ function createResourceParamsImpl(config, configMetadata) {
3899
3902
  }
3900
3903
  return resourceParams;
3901
3904
  }
3902
- // engine version: 0.150.2-5dcb5d26
3905
+ // engine version: 0.150.5-275045c5
3903
3906
 
3904
3907
  /**
3905
3908
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -4027,7 +4030,7 @@ function withDefaultLuvio(callback) {
4027
4030
  }
4028
4031
  callbacks.push(callback);
4029
4032
  }
4030
- // version: 1.243.0-87f38263e
4033
+ // version: 1.245.0-0ea124370
4031
4034
 
4032
4035
  // TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
4033
4036
  function instrumentAdapter$1(createFunction, _metadata) {
@@ -15488,7 +15491,7 @@ function gql(literals, ...subs) {
15488
15491
  }
15489
15492
  return superResult;
15490
15493
  }
15491
- // version: 1.243.0-87f38263e
15494
+ // version: 1.245.0-0ea124370
15492
15495
 
15493
15496
  function unwrap(data) {
15494
15497
  // The lwc-luvio bindings import a function from lwc called "unwrap".
@@ -16413,7 +16416,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
16413
16416
  const { apiFamily, name } = metadata;
16414
16417
  return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
16415
16418
  }
16416
- // version: 1.243.0-87f38263e
16419
+ // version: 1.245.0-0ea124370
16417
16420
 
16418
16421
  /**
16419
16422
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -16512,11 +16515,11 @@ var TypeCheckShapes;
16512
16515
  TypeCheckShapes[TypeCheckShapes["Integer"] = 3] = "Integer";
16513
16516
  TypeCheckShapes[TypeCheckShapes["Unsupported"] = 4] = "Unsupported";
16514
16517
  })(TypeCheckShapes || (TypeCheckShapes = {}));
16515
- // engine version: 0.150.2-5dcb5d26
16518
+ // engine version: 0.150.5-275045c5
16516
16519
 
16517
16520
  const { keys: ObjectKeys$3, create: ObjectCreate$3 } = Object;
16518
16521
 
16519
- const { assign: assign$9, create: create$9, freeze: freeze$5, keys: keys$b } = Object;
16522
+ const { assign: assign$9, create: create$9, freeze: freeze$5, isFrozen: isFrozen$3, keys: keys$b } = Object;
16520
16523
 
16521
16524
  ObjectCreate$3(null);
16522
16525
 
@@ -16885,9 +16888,9 @@ function buildAdapterValidationConfig$2(displayName, paramsMeta) {
16885
16888
  }
16886
16889
  };
16887
16890
  }
16888
- const keyPrefix$1 = 'UiApi';
16891
+ const keyPrefix$2 = 'UiApi';
16889
16892
 
16890
- const { assign: assign$8, create: create$8, freeze: freeze$4, keys: keys$a } = Object;
16893
+ const { assign: assign$8, create: create$8, freeze: freeze$4, isFrozen: isFrozen$2, keys: keys$a } = Object;
16891
16894
  const { hasOwnProperty: hasOwnProperty$1 } = Object.prototype;
16892
16895
  const { split, endsWith } = String.prototype;
16893
16896
  const { isArray: isArray$7 } = Array;
@@ -17100,7 +17103,7 @@ function assignMetadataLink$1(entry, metadataKey) {
17100
17103
  entry['__metadata'] = createLink$3(metadataKey);
17101
17104
  }
17102
17105
 
17103
- const VERSION$1o = "275ae22194003d1e53f548b81219c5cb";
17106
+ const VERSION$1o = "d8917f62af39b67a54f8ff8cf7ea49c6";
17104
17107
  const select$1W$1 = function ListColumnRepresentationSelect() {
17105
17108
  return {
17106
17109
  kind: 'Fragment',
@@ -17119,6 +17122,11 @@ const select$1W$1 = function ListColumnRepresentationSelect() {
17119
17122
  name: 'lookupId',
17120
17123
  kind: 'Scalar'
17121
17124
  },
17125
+ {
17126
+ name: 'searchable',
17127
+ kind: 'Scalar',
17128
+ required: false
17129
+ },
17122
17130
  {
17123
17131
  name: 'sortable',
17124
17132
  kind: 'Scalar'
@@ -17366,10 +17374,10 @@ const select$1N = function ListUserPreferenceRepresentationSelect() {
17366
17374
  };
17367
17375
 
17368
17376
  const TTL$y = 900000;
17369
- const VERSION$1e = "0dbff3feaaa7ced2709e9ae46c58a3e7";
17377
+ const VERSION$1e = "6bd7c5a1bb955f37db137327c7d65f65";
17370
17378
  const RepresentationType$R = 'ListInfoRepresentation';
17371
17379
  function keyBuilder$1V(luvio, config) {
17372
- return keyPrefix$1 + '::' + RepresentationType$R + ':' + (config.listViewApiName === null ? '' : config.listViewApiName) + ':' + config.objectApiName + ':' + config.type;
17380
+ return keyPrefix$2 + '::' + RepresentationType$R + ':' + (config.listViewApiName === null ? '' : config.listViewApiName) + ':' + config.objectApiName + ':' + config.type;
17373
17381
  }
17374
17382
  function keyBuilderFromType$A(luvio, object) {
17375
17383
  const keyParams = {
@@ -17460,6 +17468,11 @@ const select$1M = function ListInfoRepresentationSelect() {
17460
17468
  selections: ListScopeRepresentation__selections,
17461
17469
  required: false
17462
17470
  },
17471
+ {
17472
+ name: 'searchable',
17473
+ kind: 'Scalar',
17474
+ required: false
17475
+ },
17463
17476
  {
17464
17477
  name: 'updateable',
17465
17478
  kind: 'Scalar'
@@ -17496,7 +17509,7 @@ function getTypeCacheKeys$S$1(rootKeySet, luvio, input, fullPathFactory) {
17496
17509
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
17497
17510
  const rootKey = keyBuilderFromType$A(luvio, input);
17498
17511
  rootKeySet.set(rootKey, {
17499
- namespace: keyPrefix$1,
17512
+ namespace: keyPrefix$2,
17500
17513
  representationName: RepresentationType$R,
17501
17514
  mergeable: false
17502
17515
  });
@@ -17675,7 +17688,7 @@ function getTypeCacheKeys$R$1(rootKeySet, luvio, input, fullPathFactory) {
17675
17688
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
17676
17689
  const rootKey = fullPathFactory();
17677
17690
  rootKeySet.set(rootKey, {
17678
- namespace: keyPrefix$1,
17691
+ namespace: keyPrefix$2,
17679
17692
  representationName: RepresentationType$Q,
17680
17693
  mergeable: false
17681
17694
  });
@@ -17689,7 +17702,7 @@ const getTypeCacheKeys$Q$1 = (rootKeySet, luvio, input, _fullPathFactory) => {
17689
17702
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
17690
17703
  const rootKey = keyBuilderFromType$y(luvio, input);
17691
17704
  rootKeySet.set(rootKey, {
17692
- namespace: keyPrefix$1,
17705
+ namespace: keyPrefix$2,
17693
17706
  representationName: RepresentationType$O,
17694
17707
  mergeable: true,
17695
17708
  });
@@ -17833,7 +17846,7 @@ function getTypeCacheKeys$P$1(rootKeySet, luvio, input, fullPathFactory) {
17833
17846
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
17834
17847
  const rootKey = fullPathFactory();
17835
17848
  rootKeySet.set(rootKey, {
17836
- namespace: keyPrefix$1,
17849
+ namespace: keyPrefix$2,
17837
17850
  representationName: RepresentationType$P,
17838
17851
  mergeable: false
17839
17852
  });
@@ -17844,7 +17857,7 @@ function getTypeCacheKeys$P$1(rootKeySet, luvio, input, fullPathFactory) {
17844
17857
  }
17845
17858
 
17846
17859
  const VIEW_ENTITY_API_NAME = 'Name';
17847
- const VIEW_ENTITY_KEY_PREFIX = `${keyPrefix$1}::RecordViewEntityRepresentation:${VIEW_ENTITY_API_NAME}:`;
17860
+ const VIEW_ENTITY_KEY_PREFIX = `${keyPrefix$2}::RecordViewEntityRepresentation:${VIEW_ENTITY_API_NAME}:`;
17848
17861
  const keyBuilderFromType$z = function RecordRepresentationKeyBuilderFromType(luvio, object) {
17849
17862
  const { apiName, id } = object;
17850
17863
  if (apiName === VIEW_ENTITY_API_NAME) {
@@ -17857,7 +17870,7 @@ const TTL$w = 30000;
17857
17870
  const VERSION$1a$1 = "98c5b18512e48ca8d28727549507e4ba";
17858
17871
  const RepresentationType$O = 'RecordRepresentation';
17859
17872
  function keyBuilder$1U(luvio, config) {
17860
- return keyPrefix$1 + '::' + RepresentationType$O + ':' + config.recordId;
17873
+ return keyPrefix$2 + '::' + RepresentationType$O + ':' + config.recordId;
17861
17874
  }
17862
17875
  function keyBuilderFromType$y(luvio, object) {
17863
17876
  const keyParams = {
@@ -18095,7 +18108,7 @@ function getTypeCacheKeys$O$1(rootKeySet, luvio, input, fullPathFactory) {
18095
18108
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
18096
18109
  const rootKey = keyBuilderFromType$z(luvio, input);
18097
18110
  rootKeySet.set(rootKey, {
18098
- namespace: keyPrefix$1,
18111
+ namespace: keyPrefix$2,
18099
18112
  representationName: RepresentationType$O,
18100
18113
  mergeable: false
18101
18114
  });
@@ -19676,7 +19689,7 @@ const CUSTOM_EXTERNAL_OBJECT_FIELD_SUFFIX = '__x';
19676
19689
  const RECORD_REPRESENTATION_ERROR_VERSION = 'RECORD_REPRESENTATION_ERROR_VERSION_1';
19677
19690
  const RECORD_REPRESENTATION_ERROR_STORE_METADATA_PARAMS = {
19678
19691
  representationName: '',
19679
- namespace: keyPrefix$1,
19692
+ namespace: keyPrefix$2,
19680
19693
  ttl: TTL$w,
19681
19694
  version: RECORD_REPRESENTATION_ERROR_VERSION,
19682
19695
  };
@@ -19906,7 +19919,11 @@ function markNulledOutPath(record, path) {
19906
19919
  }
19907
19920
  const link = fieldValueRepresentation.link(fieldName);
19908
19921
  const resolved = link.follow();
19909
- if (isGraphNode(resolved) && resolved.isScalar('value') && path.length > 0) {
19922
+ if (isGraphNode(resolved) &&
19923
+ resolved.isScalar('value') &&
19924
+ path.length > 0 &&
19925
+ // TODO [W-14082782]: temporary fix
19926
+ !isFrozen$2(link.data)) {
19910
19927
  const linkState = link.linkData();
19911
19928
  const fields = linkState === undefined ? [] : linkState.fields;
19912
19929
  link.writeLinkData({
@@ -20375,7 +20392,7 @@ const createRecordIngest = (fieldsTrie, optionalFieldsTrie, recordConflictMap) =
20375
20392
  luvio.publishStoreMetadata(key, {
20376
20393
  ttl: TTL$w,
20377
20394
  representationName: RepresentationType$O,
20378
- namespace: keyPrefix$1,
20395
+ namespace: keyPrefix$2,
20379
20396
  version: VERSION$1a$1,
20380
20397
  });
20381
20398
  return createLink$3(key);
@@ -20877,7 +20894,7 @@ function createChildResourceParams$b(resourceParams) {
20877
20894
  return childConfigs;
20878
20895
  }
20879
20896
  function keyBuilder$1S(luvio, params) {
20880
- return keyPrefix$1 + '::BatchRepresentation:(' + 'childRelationships:' + params.queryParams.childRelationships + ',' + 'fields:' + params.queryParams.fields + ',' + 'layoutTypes:' + params.queryParams.layoutTypes + ',' + 'modes:' + params.queryParams.modes + ',' + 'optionalFields:' + params.queryParams.optionalFields + ',' + 'pageSize:' + params.queryParams.pageSize + ',' + 'updateMru:' + params.queryParams.updateMru + ',' + 'recordIds:' + params.urlParams.recordIds + ')';
20897
+ return keyPrefix$2 + '::BatchRepresentation:(' + 'childRelationships:' + params.queryParams.childRelationships + ',' + 'fields:' + params.queryParams.fields + ',' + 'layoutTypes:' + params.queryParams.layoutTypes + ',' + 'modes:' + params.queryParams.modes + ',' + 'optionalFields:' + params.queryParams.optionalFields + ',' + 'pageSize:' + params.queryParams.pageSize + ',' + 'updateMru:' + params.queryParams.updateMru + ',' + 'recordIds:' + params.urlParams.recordIds + ')';
20881
20898
  }
20882
20899
  function getResponseCacheKeys$U(keys, luvio, resourceParams, response) {
20883
20900
  const childEnvelopes = response.results;
@@ -20893,7 +20910,7 @@ function getResponseCacheKeys$U(keys, luvio, resourceParams, response) {
20893
20910
  else if (childStatusCode === 404) {
20894
20911
  const childKey = keyBuilder$1T(luvio, childResourceParams);
20895
20912
  keys.set(childKey, {
20896
- namespace: keyPrefix$1,
20913
+ namespace: keyPrefix$2,
20897
20914
  representationName: RepresentationType$O,
20898
20915
  mergeable: false
20899
20916
  });
@@ -21174,7 +21191,7 @@ const TTL$v = 30000;
21174
21191
  const VERSION$18$1 = "614ef19823027c07fa6deb9a149619d2";
21175
21192
  const RepresentationType$N = 'ListRecordCollectionRepresentation';
21176
21193
  function keyBuilder$1R(luvio, config) {
21177
- return keyPrefix$1 + '::' + RepresentationType$N + ':' + (config.listViewId === null ? '' : config.listViewId) + ':' + (config.sortBy === null ? '' : '[' + config.sortBy.join(',') + ']') + ':' + config.objectApiName + ':' + (config.listViewApiName === null ? '' : config.listViewApiName);
21194
+ return keyPrefix$2 + '::' + RepresentationType$N + ':' + (config.listViewId === null ? '' : config.listViewId) + ':' + (config.sortBy === null ? '' : '[' + config.sortBy.join(',') + ']') + ':' + config.objectApiName + ':' + (config.listViewApiName === null ? '' : config.listViewApiName);
21178
21195
  }
21179
21196
  function keyBuilderFromType$x(luvio, object) {
21180
21197
  const keyParams = {
@@ -21563,12 +21580,12 @@ function getTypeCacheKeys$N$1(rootKeySet, luvio, input, fullPathFactory) {
21563
21580
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
21564
21581
  const rootKey = keyBuilderFromType$x(luvio, input);
21565
21582
  rootKeySet.set(rootKey, {
21566
- namespace: keyPrefix$1,
21583
+ namespace: keyPrefix$2,
21567
21584
  representationName: RepresentationType$N,
21568
21585
  mergeable: true
21569
21586
  });
21570
21587
  rootKeySet.set(rootKey + '__pagination', {
21571
- namespace: keyPrefix$1,
21588
+ namespace: keyPrefix$2,
21572
21589
  representationName: RepresentationType$N,
21573
21590
  mergeable: true
21574
21591
  });
@@ -21581,7 +21598,7 @@ function getTypeCacheKeys$N$1(rootKeySet, luvio, input, fullPathFactory) {
21581
21598
  const VERSION$17$1 = "cf8d2eb042188974da26ffe6618cfd07";
21582
21599
  const RepresentationType$M = 'ListUiRepresentation';
21583
21600
  function keyBuilder$1Q(luvio, config) {
21584
- return keyPrefix$1 + '::' + RepresentationType$M + ':' + (config.listViewApiName === null ? '' : config.listViewApiName) + ':' + config.objectApiName + ':' + config.type + ':' + (config.sortBy === null ? '' : '[' + config.sortBy.join(',') + ']');
21601
+ return keyPrefix$2 + '::' + RepresentationType$M + ':' + (config.listViewApiName === null ? '' : config.listViewApiName) + ':' + config.objectApiName + ':' + config.type + ':' + (config.sortBy === null ? '' : '[' + config.sortBy.join(',') + ']');
21585
21602
  }
21586
21603
  function keyBuilderFromType$w(luvio, object) {
21587
21604
  const keyParams = {
@@ -21670,7 +21687,7 @@ function getTypeCacheKeys$M$1(rootKeySet, luvio, input, fullPathFactory) {
21670
21687
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
21671
21688
  const rootKey = keyBuilderFromType$w(luvio, input);
21672
21689
  rootKeySet.set(rootKey, {
21673
- namespace: keyPrefix$1,
21690
+ namespace: keyPrefix$2,
21674
21691
  representationName: RepresentationType$M,
21675
21692
  mergeable: false
21676
21693
  });
@@ -21875,8 +21892,8 @@ function buildDefaultsKey(listRef) {
21875
21892
  */
21876
21893
  function addServerDefaults(config, records, listReference, context) {
21877
21894
  // If the request already contains the potential default information,
21878
- // or the response does not come back with a default
21879
- if (config.sortBy !== undefined || records.sortBy === null) {
21895
+ // or the response does not come back with a default or comes back wih an empty array []
21896
+ if ((config.sortBy !== undefined && config.sortBy.length > 0) || records.sortBy === null) {
21880
21897
  return;
21881
21898
  }
21882
21899
  const key = buildDefaultsKey(listReference);
@@ -22034,11 +22051,14 @@ function keyBuilder$1P(luvio, params) {
22034
22051
  // Check and use any default values returned from the server (i.e. sortBy)
22035
22052
  const config = { ...params.urlParams, ...params.queryParams };
22036
22053
  const defaults = getServerDefaults(config, context$2);
22054
+ // Use default values when sortBy is undefined or an empty Array []
22037
22055
  return keyBuilder$1R(luvio, {
22038
22056
  objectApiName: listReference.objectApiName,
22039
22057
  listViewApiName: listReference.listViewApiName,
22040
22058
  listViewId: listReference.id,
22041
- sortBy: params.queryParams.sortBy || defaults.sortBy || [],
22059
+ sortBy: params.queryParams.sortBy !== undefined && params.queryParams.sortBy.length <= 0
22060
+ ? defaults.sortBy || params.queryParams.sortBy || []
22061
+ : params.queryParams.sortBy || defaults.sortBy || [],
22042
22062
  });
22043
22063
  }
22044
22064
  // If there are no matching entries in the store, then we haven't fetched any data for this list view yet.
@@ -22109,7 +22129,7 @@ function ingestError$F(luvio, params, error, snapshotRefresh) {
22109
22129
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
22110
22130
  const storeMetadataParams = {
22111
22131
  ttl: TTL$v,
22112
- namespace: keyPrefix$1,
22132
+ namespace: keyPrefix$2,
22113
22133
  version: VERSION$18$1,
22114
22134
  representationName: RepresentationType$N
22115
22135
  };
@@ -22186,7 +22206,7 @@ function isErrorSnapshot(snapshot) {
22186
22206
  const VERSION$16$1 = "3529c5f7d0eb2206c90a52c6d9f721d4";
22187
22207
  const RepresentationType$L = 'ListViewSummaryRepresentation';
22188
22208
  function keyBuilder$1O(luvio, config) {
22189
- return keyPrefix$1 + '::' + RepresentationType$L + ':' + (config.id === null ? '' : config.id);
22209
+ return keyPrefix$2 + '::' + RepresentationType$L + ':' + (config.id === null ? '' : config.id);
22190
22210
  }
22191
22211
  function keyBuilderFromType$v(luvio, object) {
22192
22212
  const keyParams = {
@@ -22255,7 +22275,7 @@ function getTypeCacheKeys$L$1(rootKeySet, luvio, input, fullPathFactory) {
22255
22275
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
22256
22276
  const rootKey = keyBuilderFromType$v(luvio, input);
22257
22277
  rootKeySet.set(rootKey, {
22258
- namespace: keyPrefix$1,
22278
+ namespace: keyPrefix$2,
22259
22279
  representationName: RepresentationType$L,
22260
22280
  mergeable: false
22261
22281
  });
@@ -22264,7 +22284,7 @@ function getTypeCacheKeys$L$1(rootKeySet, luvio, input, fullPathFactory) {
22264
22284
  const VERSION$15$1 = "f4c79fe066da3558499d5ee88c72abcd";
22265
22285
  const RepresentationType$K = 'ListViewSummaryCollectionRepresentation';
22266
22286
  function keyBuilder$1N(luvio, config) {
22267
- return keyPrefix$1 + '::' + RepresentationType$K + ':' + config.objectApiName + ':' + (config.queryString === null ? '' : config.queryString) + ':' + config.recentListsOnly;
22287
+ return keyPrefix$2 + '::' + RepresentationType$K + ':' + config.objectApiName + ':' + (config.queryString === null ? '' : config.queryString) + ':' + config.recentListsOnly;
22268
22288
  }
22269
22289
  function keyBuilderFromType$u(luvio, object) {
22270
22290
  const keyParams = {
@@ -22526,12 +22546,12 @@ function getTypeCacheKeys$K$1(rootKeySet, luvio, input, fullPathFactory) {
22526
22546
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
22527
22547
  const rootKey = keyBuilderFromType$u(luvio, input);
22528
22548
  rootKeySet.set(rootKey, {
22529
- namespace: keyPrefix$1,
22549
+ namespace: keyPrefix$2,
22530
22550
  representationName: RepresentationType$K,
22531
22551
  mergeable: true
22532
22552
  });
22533
22553
  rootKeySet.set(rootKey + '__pagination', {
22534
- namespace: keyPrefix$1,
22554
+ namespace: keyPrefix$2,
22535
22555
  representationName: RepresentationType$K,
22536
22556
  mergeable: true
22537
22557
  });
@@ -23143,7 +23163,7 @@ const factory$h = (luvio) => function getMruListUi(untrustedConfig, requestConte
23143
23163
  : processListInfo(listInfoPromiseOrSnapshot);
23144
23164
  };
23145
23165
 
23146
- const contextId$6 = `${keyPrefix$1}__getListUi`;
23166
+ const contextId$6 = `${keyPrefix$2}__getListUi`;
23147
23167
  // eslint-disable-next-line @salesforce/lds/no-invalid-todo
23148
23168
  // TODO RAML - this more properly goes in the generated resource files
23149
23169
  const DEFAULT_PAGE_SIZE = 50;
@@ -23579,7 +23599,7 @@ const TTL$u = 900000;
23579
23599
  const VERSION$14$1 = "ec9370a0cd56f4769fe9ec5cd942ff30";
23580
23600
  const RepresentationType$J = 'ObjectInfoRepresentation';
23581
23601
  function keyBuilder$1J(luvio, config) {
23582
- return keyPrefix$1 + '::' + RepresentationType$J + ':' + config.apiName;
23602
+ return keyPrefix$2 + '::' + RepresentationType$J + ':' + config.apiName;
23583
23603
  }
23584
23604
  function keyBuilderFromType$t(luvio, object) {
23585
23605
  const keyParams = {
@@ -23711,7 +23731,7 @@ function getTypeCacheKeys$J$1(rootKeySet, luvio, input, fullPathFactory) {
23711
23731
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
23712
23732
  const rootKey = keyBuilderFromType$t(luvio, input);
23713
23733
  rootKeySet.set(rootKey, {
23714
- namespace: keyPrefix$1,
23734
+ namespace: keyPrefix$2,
23715
23735
  representationName: RepresentationType$J,
23716
23736
  mergeable: false
23717
23737
  });
@@ -23745,7 +23765,7 @@ function ingestError$D(luvio, params, error, snapshotRefresh) {
23745
23765
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
23746
23766
  const storeMetadataParams = {
23747
23767
  ttl: TTL$u,
23748
- namespace: keyPrefix$1,
23768
+ namespace: keyPrefix$2,
23749
23769
  version: VERSION$14$1,
23750
23770
  representationName: RepresentationType$J
23751
23771
  };
@@ -23864,7 +23884,7 @@ const TTL$t = 900000;
23864
23884
  const VERSION$13$1 = "fb515e25a89ca1ec154dc865e72b913a";
23865
23885
  const RepresentationType$I = 'RecordLayoutRepresentation';
23866
23886
  function keyBuilder$1G(luvio, config) {
23867
- return keyPrefix$1 + '::' + RepresentationType$I + ':' + (config.recordTypeId === null ? '' : config.recordTypeId) + ':' + (config.objectApiName === null ? '' : config.objectApiName) + ':' + config.layoutType + ':' + config.mode;
23887
+ return keyPrefix$2 + '::' + RepresentationType$I + ':' + (config.recordTypeId === null ? '' : config.recordTypeId) + ':' + (config.objectApiName === null ? '' : config.objectApiName) + ':' + config.layoutType + ':' + config.mode;
23868
23888
  }
23869
23889
  function keyBuilderFromType$s(luvio, object) {
23870
23890
  const keyParams = {
@@ -23935,7 +23955,7 @@ function getTypeCacheKeys$I$1(rootKeySet, luvio, input, fullPathFactory) {
23935
23955
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
23936
23956
  const rootKey = keyBuilderFromType$s(luvio, input);
23937
23957
  rootKeySet.set(rootKey, {
23938
- namespace: keyPrefix$1,
23958
+ namespace: keyPrefix$2,
23939
23959
  representationName: RepresentationType$I,
23940
23960
  mergeable: false
23941
23961
  });
@@ -23967,7 +23987,7 @@ const TTL$s = 900000;
23967
23987
  const VERSION$12$1 = "4ba42e1fa0fb00cf78fce86082da41c9";
23968
23988
  const RepresentationType$H = 'RecordLayoutUserStateRepresentation';
23969
23989
  function keyBuilder$1F(luvio, config) {
23970
- return keyPrefix$1 + '::' + RepresentationType$H + ':' + config.recordTypeId + ':' + config.apiName + ':' + config.layoutType + ':' + config.mode;
23990
+ return keyPrefix$2 + '::' + RepresentationType$H + ':' + config.recordTypeId + ':' + config.apiName + ':' + config.layoutType + ':' + config.mode;
23971
23991
  }
23972
23992
  function keyBuilderFromType$r(luvio, object) {
23973
23993
  const keyParams = {
@@ -24020,7 +24040,7 @@ function getTypeCacheKeys$H$1(rootKeySet, luvio, input, fullPathFactory) {
24020
24040
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
24021
24041
  const rootKey = keyBuilderFromType$r(luvio, input);
24022
24042
  rootKeySet.set(rootKey, {
24023
- namespace: keyPrefix$1,
24043
+ namespace: keyPrefix$2,
24024
24044
  representationName: RepresentationType$H,
24025
24045
  mergeable: false
24026
24046
  });
@@ -24447,7 +24467,7 @@ const RECORD_UI_ERROR_STORE_METADATA_PARAMS_VERSION = 'RECORD_UI_ERROR_STORE_MET
24447
24467
  const RECORD_UI_ERROR_STORE_METADATA_PARAMS = {
24448
24468
  ttl: TTL$r,
24449
24469
  representationName: '',
24450
- namespace: keyPrefix$1,
24470
+ namespace: keyPrefix$2,
24451
24471
  version: RECORD_UI_ERROR_STORE_METADATA_PARAMS_VERSION,
24452
24472
  };
24453
24473
  const RECORD_UI_CACHED_SELECTOR_VERSION = 'RECORD_UI_CACHED_SELECTOR_VERSION_1';
@@ -24496,7 +24516,7 @@ function keyBuilder$1E(recordIds, layoutTypes, modes, optionalFields) {
24496
24516
  const joinedOptionalFields = optionalFields.sort().join(',');
24497
24517
  const joinedLayoutTypes = layoutTypes.sort().join(',');
24498
24518
  const joinedModes = modes.sort().join(',');
24499
- return `${keyPrefix$1}::RecordUiRepresentation:${joinedRecordIds}:${joinedLayoutTypes}:${joinedModes}:${joinedOptionalFields}`;
24519
+ return `${keyPrefix$2}::RecordUiRepresentation:${joinedRecordIds}:${joinedLayoutTypes}:${joinedModes}:${joinedOptionalFields}`;
24500
24520
  }
24501
24521
  function buildSnapshotRefresh$4(luvio, config) {
24502
24522
  return {
@@ -25183,7 +25203,7 @@ function runSnapshotOrPromise(promiseOrSnapshot, next) {
25183
25203
  }
25184
25204
  }
25185
25205
 
25186
- const contextId$5 = `${keyPrefix$1}__${adapterName$X}`;
25206
+ const contextId$5 = `${keyPrefix$2}__${adapterName$X}`;
25187
25207
  // Custom adapter config due to `unsupported` items
25188
25208
  const GET_RECORD_ADAPTER_CONFIG = {
25189
25209
  displayName: 'getRecord',
@@ -25309,7 +25329,7 @@ const notifyUpdateAvailableFactory$1 = (luvio) => {
25309
25329
  const VERSION$10$1 = "7e00c51105cbf56a79ab8fcddf462c1e";
25310
25330
  const RepresentationType$F = 'QuickActionExecutionRepresentation';
25311
25331
  function keyBuilder$1D(luvio, config) {
25312
- return keyPrefix$1 + '::' + RepresentationType$F + ':' + config.id;
25332
+ return keyPrefix$2 + '::' + RepresentationType$F + ':' + config.id;
25313
25333
  }
25314
25334
  function keyBuilderFromType$q(luvio, object) {
25315
25335
  const keyParams = {
@@ -25403,7 +25423,7 @@ function getTypeCacheKeys$G$1(rootKeySet, luvio, input, fullPathFactory) {
25403
25423
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
25404
25424
  const rootKey = keyBuilderFromType$q(luvio, input);
25405
25425
  rootKeySet.set(rootKey, {
25406
- namespace: keyPrefix$1,
25426
+ namespace: keyPrefix$2,
25407
25427
  representationName: RepresentationType$F,
25408
25428
  mergeable: false
25409
25429
  });
@@ -25413,7 +25433,7 @@ const TTL$q = 900000;
25413
25433
  const VERSION$$$1 = "993b0a7bce6056c4f57ed300ec153d9c";
25414
25434
  const RepresentationType$E = 'QuickActionDefaultsRepresentation';
25415
25435
  function keyBuilder$1C(luvio, config) {
25416
- return keyPrefix$1 + '::' + RepresentationType$E + ':' + config.actionApiName;
25436
+ return keyPrefix$2 + '::' + RepresentationType$E + ':' + config.actionApiName;
25417
25437
  }
25418
25438
  function keyBuilderFromType$p(luvio, object) {
25419
25439
  const keyParams = {
@@ -25503,7 +25523,7 @@ function getTypeCacheKeys$F$1(rootKeySet, luvio, input, fullPathFactory) {
25503
25523
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
25504
25524
  const rootKey = keyBuilderFromType$p(luvio, input);
25505
25525
  rootKeySet.set(rootKey, {
25506
- namespace: keyPrefix$1,
25526
+ namespace: keyPrefix$2,
25507
25527
  representationName: RepresentationType$E,
25508
25528
  mergeable: false
25509
25529
  });
@@ -25547,7 +25567,7 @@ function coerceFormFactor(form) {
25547
25567
  const VERSION$_$1 = "3f49d751896cf66e6e29788d8880e2cc";
25548
25568
  const RepresentationType$D = 'PlatformActionRepresentation';
25549
25569
  function keyBuilder$1B(luvio, config) {
25550
- return keyPrefix$1 + '::' + RepresentationType$D + ':' + config.externalId + ':' + (config.relatedSourceObject === null ? '' : config.relatedSourceObject) + ':' + (config.relatedListRecordId === null ? '' : config.relatedListRecordId);
25570
+ return keyPrefix$2 + '::' + RepresentationType$D + ':' + config.externalId + ':' + (config.relatedSourceObject === null ? '' : config.relatedSourceObject) + ':' + (config.relatedListRecordId === null ? '' : config.relatedListRecordId);
25551
25571
  }
25552
25572
  function keyBuilderFromType$o(luvio, object) {
25553
25573
  const keyParams = {
@@ -25751,7 +25771,7 @@ function getTypeCacheKeys$E$1(rootKeySet, luvio, input, fullPathFactory) {
25751
25771
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
25752
25772
  const rootKey = keyBuilderFromType$o(luvio, input);
25753
25773
  rootKeySet.set(rootKey, {
25754
- namespace: keyPrefix$1,
25774
+ namespace: keyPrefix$2,
25755
25775
  representationName: RepresentationType$D,
25756
25776
  mergeable: false
25757
25777
  });
@@ -25760,7 +25780,7 @@ function getTypeCacheKeys$E$1(rootKeySet, luvio, input, fullPathFactory) {
25760
25780
  const VERSION$Z$1 = "378d506f563a4bd724b322d440df33d1";
25761
25781
  const RepresentationType$C = 'EntityActionRepresentation';
25762
25782
  function keyBuilder$1A(luvio, config) {
25763
- return keyPrefix$1 + '::' + RepresentationType$C + ':' + config.url;
25783
+ return keyPrefix$2 + '::' + RepresentationType$C + ':' + config.url;
25764
25784
  }
25765
25785
  function keyBuilderFromType$n(luvio, object) {
25766
25786
  const keyParams = {
@@ -25843,7 +25863,7 @@ function getTypeCacheKeys$D$1(rootKeySet, luvio, input, fullPathFactory) {
25843
25863
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
25844
25864
  const rootKey = keyBuilderFromType$n(luvio, input);
25845
25865
  rootKeySet.set(rootKey, {
25846
- namespace: keyPrefix$1,
25866
+ namespace: keyPrefix$2,
25847
25867
  representationName: RepresentationType$C,
25848
25868
  mergeable: false
25849
25869
  });
@@ -25929,7 +25949,7 @@ function getTypeCacheKeys$C$1(rootKeySet, luvio, input, fullPathFactory) {
25929
25949
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
25930
25950
  const rootKey = fullPathFactory();
25931
25951
  rootKeySet.set(rootKey, {
25932
- namespace: keyPrefix$1,
25952
+ namespace: keyPrefix$2,
25933
25953
  representationName: RepresentationType$B,
25934
25954
  mergeable: false
25935
25955
  });
@@ -25946,7 +25966,7 @@ function select$1u(luvio, params) {
25946
25966
  return select$1v();
25947
25967
  }
25948
25968
  function keyBuilder$1z(luvio, params) {
25949
- return keyPrefix$1 + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'apiNames:' + params.queryParams.apiNames + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'retrievalMode:' + params.queryParams.retrievalMode + ',' + 'sections:' + params.queryParams.sections + ')';
25969
+ return keyPrefix$2 + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'apiNames:' + params.queryParams.apiNames + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'retrievalMode:' + params.queryParams.retrievalMode + ',' + 'sections:' + params.queryParams.sections + ')';
25950
25970
  }
25951
25971
  function getResponseCacheKeys$Q(storeKeyMap, luvio, resourceParams, response) {
25952
25972
  getTypeCacheKeys$C$1(storeKeyMap, luvio, response, () => keyBuilder$1z(luvio, resourceParams));
@@ -25968,7 +25988,7 @@ function ingestError$C(luvio, params, error, snapshotRefresh) {
25968
25988
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
25969
25989
  const storeMetadataParams = {
25970
25990
  ttl: TTL$p,
25971
- namespace: keyPrefix$1,
25991
+ namespace: keyPrefix$2,
25972
25992
  version: VERSION$Y$1,
25973
25993
  representationName: RepresentationType$B
25974
25994
  };
@@ -26081,7 +26101,7 @@ const TTL$o = 900000;
26081
26101
  const VERSION$X$1 = "35f3eec8ce7f6001c6d5d17821b75bb9";
26082
26102
  const RepresentationType$A = 'QuickActionLayoutRepresentation';
26083
26103
  function keyBuilder$1x(luvio, config) {
26084
- return keyPrefix$1 + '::' + RepresentationType$A + ':' + config.actionApiName;
26104
+ return keyPrefix$2 + '::' + RepresentationType$A + ':' + config.actionApiName;
26085
26105
  }
26086
26106
  function keyBuilderFromType$m(luvio, object) {
26087
26107
  const keyParams = {
@@ -26128,7 +26148,7 @@ function getTypeCacheKeys$B$1(rootKeySet, luvio, input, fullPathFactory) {
26128
26148
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
26129
26149
  const rootKey = keyBuilderFromType$m(luvio, input);
26130
26150
  rootKeySet.set(rootKey, {
26131
- namespace: keyPrefix$1,
26151
+ namespace: keyPrefix$2,
26132
26152
  representationName: RepresentationType$A,
26133
26153
  mergeable: false
26134
26154
  });
@@ -26162,7 +26182,7 @@ function ingestError$B(luvio, params, error, snapshotRefresh) {
26162
26182
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
26163
26183
  const storeMetadataParams = {
26164
26184
  ttl: TTL$o,
26165
- namespace: keyPrefix$1,
26185
+ namespace: keyPrefix$2,
26166
26186
  version: VERSION$X$1,
26167
26187
  representationName: RepresentationType$A
26168
26188
  };
@@ -26302,7 +26322,7 @@ function select$1r(luvio, params) {
26302
26322
  return select$1v();
26303
26323
  }
26304
26324
  function keyBuilder$1u(luvio, params) {
26305
- return keyPrefix$1 + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'objectApiNames:' + params.urlParams.objectApiNames + ')';
26325
+ return keyPrefix$2 + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'objectApiNames:' + params.urlParams.objectApiNames + ')';
26306
26326
  }
26307
26327
  function getResponseCacheKeys$O(storeKeyMap, luvio, resourceParams, response) {
26308
26328
  getTypeCacheKeys$C$1(storeKeyMap, luvio, response, () => keyBuilder$1u(luvio, resourceParams));
@@ -26324,7 +26344,7 @@ function ingestError$A(luvio, params, error, snapshotRefresh) {
26324
26344
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
26325
26345
  const storeMetadataParams = {
26326
26346
  ttl: TTL$p,
26327
- namespace: keyPrefix$1,
26347
+ namespace: keyPrefix$2,
26328
26348
  version: VERSION$Y$1,
26329
26349
  representationName: RepresentationType$B
26330
26350
  };
@@ -26436,7 +26456,7 @@ function select$1q(luvio, params) {
26436
26456
  return select$1v();
26437
26457
  }
26438
26458
  function keyBuilder$1s(luvio, params) {
26439
- return keyPrefix$1 + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
26459
+ return keyPrefix$2 + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
26440
26460
  }
26441
26461
  function getResponseCacheKeys$N(storeKeyMap, luvio, resourceParams, response) {
26442
26462
  getTypeCacheKeys$C$1(storeKeyMap, luvio, response, () => keyBuilder$1s(luvio, resourceParams));
@@ -26458,7 +26478,7 @@ function ingestError$z(luvio, params, error, snapshotRefresh) {
26458
26478
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
26459
26479
  const storeMetadataParams = {
26460
26480
  ttl: TTL$p,
26461
- namespace: keyPrefix$1,
26481
+ namespace: keyPrefix$2,
26462
26482
  version: VERSION$Y$1,
26463
26483
  representationName: RepresentationType$B
26464
26484
  };
@@ -26595,7 +26615,7 @@ function getTypeCacheKeys$A$1(rootKeySet, luvio, input, fullPathFactory) {
26595
26615
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
26596
26616
  const rootKey = fullPathFactory();
26597
26617
  rootKeySet.set(rootKey, {
26598
- namespace: keyPrefix$1,
26618
+ namespace: keyPrefix$2,
26599
26619
  representationName: RepresentationType$z,
26600
26620
  mergeable: false
26601
26621
  });
@@ -26605,7 +26625,7 @@ function select$1o(luvio, params) {
26605
26625
  return select$1p();
26606
26626
  }
26607
26627
  function keyBuilder$1q(luvio, params) {
26608
- return keyPrefix$1 + '::ActionOverrideRepresentation:(' + 'type:' + params.queryParams.type + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
26628
+ return keyPrefix$2 + '::ActionOverrideRepresentation:(' + 'type:' + params.queryParams.type + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
26609
26629
  }
26610
26630
  function getResponseCacheKeys$M(storeKeyMap, luvio, resourceParams, response) {
26611
26631
  getTypeCacheKeys$A$1(storeKeyMap, luvio, response, () => keyBuilder$1q(luvio, resourceParams));
@@ -26729,7 +26749,7 @@ const getActionOverridesAdapterFactory = (luvio) => function UiApi__getActionOve
26729
26749
 
26730
26750
  const QUICK_ACTION_DEFAULTS_STORE_METADATA_PARAMS = {
26731
26751
  ttl: TTL$q,
26732
- namespace: keyPrefix$1,
26752
+ namespace: keyPrefix$2,
26733
26753
  representationName: RepresentationType$E,
26734
26754
  version: VERSION$$$1,
26735
26755
  };
@@ -26820,7 +26840,7 @@ function ingestError$x(luvio, params, error, snapshotRefresh) {
26820
26840
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
26821
26841
  const storeMetadataParams = {
26822
26842
  ttl: TTL$q,
26823
- namespace: keyPrefix$1,
26843
+ namespace: keyPrefix$2,
26824
26844
  version: VERSION$$$1,
26825
26845
  representationName: RepresentationType$E
26826
26846
  };
@@ -26954,7 +26974,7 @@ function select$1n(luvio, params) {
26954
26974
  return select$1v();
26955
26975
  }
26956
26976
  function keyBuilder$1m(luvio, params) {
26957
- 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 + ')';
26977
+ return keyPrefix$2 + '::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 + ')';
26958
26978
  }
26959
26979
  function getResponseCacheKeys$K(storeKeyMap, luvio, resourceParams, response) {
26960
26980
  getTypeCacheKeys$C$1(storeKeyMap, luvio, response, () => keyBuilder$1m(luvio, resourceParams));
@@ -26976,7 +26996,7 @@ function ingestError$w(luvio, params, error, snapshotRefresh) {
26976
26996
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
26977
26997
  const storeMetadataParams = {
26978
26998
  ttl: TTL$p,
26979
- namespace: keyPrefix$1,
26999
+ namespace: keyPrefix$2,
26980
27000
  version: VERSION$Y$1,
26981
27001
  representationName: RepresentationType$B
26982
27002
  };
@@ -27094,7 +27114,7 @@ function select$1m(luvio, params) {
27094
27114
  return select$1v();
27095
27115
  }
27096
27116
  function keyBuilder$1k(luvio, params) {
27097
- return keyPrefix$1 + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'recordIds:' + params.urlParams.recordIds + ')';
27117
+ return keyPrefix$2 + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'recordIds:' + params.urlParams.recordIds + ')';
27098
27118
  }
27099
27119
  function getResponseCacheKeys$J(storeKeyMap, luvio, resourceParams, response) {
27100
27120
  getTypeCacheKeys$C$1(storeKeyMap, luvio, response, () => keyBuilder$1k(luvio, resourceParams));
@@ -27116,7 +27136,7 @@ function ingestError$v(luvio, params, error, snapshotRefresh) {
27116
27136
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
27117
27137
  const storeMetadataParams = {
27118
27138
  ttl: TTL$p,
27119
- namespace: keyPrefix$1,
27139
+ namespace: keyPrefix$2,
27120
27140
  version: VERSION$Y$1,
27121
27141
  representationName: RepresentationType$B
27122
27142
  };
@@ -27224,7 +27244,7 @@ const getRecordEditActionsAdapterFactory = (luvio) => function UiApi__getRecordE
27224
27244
  buildCachedSnapshotCachePolicy$B, buildNetworkSnapshotCachePolicy$B);
27225
27245
  };
27226
27246
 
27227
- function validate$19(obj, path = 'ActionRelatedListSingleBatchInputRepresentation') {
27247
+ function validate$1a(obj, path = 'ActionRelatedListSingleBatchInputRepresentation') {
27228
27248
  const v_error = (() => {
27229
27249
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
27230
27250
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -27298,7 +27318,7 @@ function select$1l(luvio, params) {
27298
27318
  return select$1v();
27299
27319
  }
27300
27320
  function keyBuilder$1i(luvio, params) {
27301
- 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) + ')';
27321
+ return keyPrefix$2 + '::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) + ')';
27302
27322
  }
27303
27323
  function getResponseCacheKeys$I(storeKeyMap, luvio, resourceParams, response) {
27304
27324
  getTypeCacheKeys$C$1(storeKeyMap, luvio, response, () => keyBuilder$1i(luvio, resourceParams));
@@ -27320,7 +27340,7 @@ function ingestError$u(luvio, params, error, snapshotRefresh) {
27320
27340
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
27321
27341
  const storeMetadataParams = {
27322
27342
  ttl: TTL$p,
27323
- namespace: keyPrefix$1,
27343
+ namespace: keyPrefix$2,
27324
27344
  version: VERSION$Y$1,
27325
27345
  representationName: RepresentationType$B
27326
27346
  };
@@ -27487,7 +27507,7 @@ function select$1k(luvio, resourceParams) {
27487
27507
  return selectChildResourceParams$6(luvio, childResources, resourceParams);
27488
27508
  }
27489
27509
  function keyBuilder$1h(luvio, params) {
27490
- return keyPrefix$1 + '::ActionRelatedListsCollectionBatchRepresentation:(' + 'recordIds:' + params.urlParams.recordIds + ',' + '[' + params.body.relatedListsActionParameters.map(element => (element.actionTypes === undefined ? 'relatedListsActionParameters.actionTypes' : 'relatedListsActionParameters.actionTypes:' + element.actionTypes) + '::' + (element.apiNames === undefined ? 'relatedListsActionParameters.apiNames' : 'relatedListsActionParameters.apiNames:' + element.apiNames) + '::' + (element.formFactor === undefined ? 'relatedListsActionParameters.formFactor' : 'relatedListsActionParameters.formFactor:' + element.formFactor) + '::' + 'relatedListsActionParameters.relatedListId:' + element.relatedListId + '::' + (element.retrievalMode === undefined ? 'relatedListsActionParameters.retrievalMode' : 'relatedListsActionParameters.retrievalMode:' + element.retrievalMode) + '::' + (element.sections === undefined ? 'relatedListsActionParameters.sections' : 'relatedListsActionParameters.sections:' + element.sections)).join(',') + ']' + ')';
27510
+ return keyPrefix$2 + '::ActionRelatedListsCollectionBatchRepresentation:(' + 'recordIds:' + params.urlParams.recordIds + ',' + '[' + params.body.relatedListsActionParameters.map(element => (element.actionTypes === undefined ? 'relatedListsActionParameters.actionTypes' : 'relatedListsActionParameters.actionTypes:' + element.actionTypes) + '::' + (element.apiNames === undefined ? 'relatedListsActionParameters.apiNames' : 'relatedListsActionParameters.apiNames:' + element.apiNames) + '::' + (element.formFactor === undefined ? 'relatedListsActionParameters.formFactor' : 'relatedListsActionParameters.formFactor:' + element.formFactor) + '::' + 'relatedListsActionParameters.relatedListId:' + element.relatedListId + '::' + (element.retrievalMode === undefined ? 'relatedListsActionParameters.retrievalMode' : 'relatedListsActionParameters.retrievalMode:' + element.retrievalMode) + '::' + (element.sections === undefined ? 'relatedListsActionParameters.sections' : 'relatedListsActionParameters.sections:' + element.sections)).join(',') + ']' + ')';
27491
27511
  }
27492
27512
  function getResponseCacheKeys$H(keys, luvio, resourceParams, response) {
27493
27513
  const childEnvelopes = response.results;
@@ -27503,7 +27523,7 @@ function getResponseCacheKeys$H(keys, luvio, resourceParams, response) {
27503
27523
  else if (childStatusCode === 404) {
27504
27524
  const childKey = keyBuilder$1i(luvio, childResourceParams);
27505
27525
  keys.set(childKey, {
27506
- namespace: keyPrefix$1,
27526
+ namespace: keyPrefix$2,
27507
27527
  representationName: RepresentationType$B,
27508
27528
  mergeable: false
27509
27529
  });
@@ -27635,7 +27655,7 @@ function typeCheckConfig$N(untrustedConfig) {
27635
27655
  const untrustedConfig_relatedListsActionParameters_array = [];
27636
27656
  for (let i = 0, arrayLength = untrustedConfig_relatedListsActionParameters.length; i < arrayLength; i++) {
27637
27657
  const untrustedConfig_relatedListsActionParameters_item = untrustedConfig_relatedListsActionParameters[i];
27638
- const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$19(untrustedConfig_relatedListsActionParameters_item);
27658
+ const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$1a(untrustedConfig_relatedListsActionParameters_item);
27639
27659
  if (referenceActionRelatedListSingleBatchInputRepresentationValidationError === null) {
27640
27660
  untrustedConfig_relatedListsActionParameters_array.push(untrustedConfig_relatedListsActionParameters_item);
27641
27661
  }
@@ -27807,7 +27827,7 @@ function select$1j(luvio, params) {
27807
27827
  return select$1v();
27808
27828
  }
27809
27829
  function keyBuilder$1e(luvio, params) {
27810
- return keyPrefix$1 + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'recordIds:' + params.urlParams.recordIds + ',' + 'relatedListRecordIds:' + params.urlParams.relatedListRecordIds + ')';
27830
+ return keyPrefix$2 + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'recordIds:' + params.urlParams.recordIds + ',' + 'relatedListRecordIds:' + params.urlParams.relatedListRecordIds + ')';
27811
27831
  }
27812
27832
  function getResponseCacheKeys$G(storeKeyMap, luvio, resourceParams, response) {
27813
27833
  getTypeCacheKeys$C$1(storeKeyMap, luvio, response, () => keyBuilder$1e(luvio, resourceParams));
@@ -27829,7 +27849,7 @@ function ingestError$s(luvio, params, error, snapshotRefresh) {
27829
27849
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
27830
27850
  const storeMetadataParams = {
27831
27851
  ttl: TTL$p,
27832
- namespace: keyPrefix$1,
27852
+ namespace: keyPrefix$2,
27833
27853
  version: VERSION$Y$1,
27834
27854
  representationName: RepresentationType$B
27835
27855
  };
@@ -27967,7 +27987,7 @@ function getTypeCacheKeys$z$1(rootKeySet, luvio, input, fullPathFactory) {
27967
27987
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
27968
27988
  const rootKey = fullPathFactory();
27969
27989
  rootKeySet.set(rootKey, {
27970
- namespace: keyPrefix$1,
27990
+ namespace: keyPrefix$2,
27971
27991
  representationName: RepresentationType$y,
27972
27992
  mergeable: false
27973
27993
  });
@@ -27977,7 +27997,7 @@ const TTL$n = 120000;
27977
27997
  const VERSION$U$1 = "09884ca5bf90ea4662092a4e48817081";
27978
27998
  const RepresentationType$x = 'NavItemRepresentation';
27979
27999
  function keyBuilder$1c(luvio, config) {
27980
- return keyPrefix$1 + '::' + RepresentationType$x + ':' + config.developerName;
28000
+ return keyPrefix$2 + '::' + RepresentationType$x + ':' + config.developerName;
27981
28001
  }
27982
28002
  function keyBuilderFromType$l(luvio, object) {
27983
28003
  const keyParams = {
@@ -28166,7 +28186,7 @@ function getTypeCacheKeys$y$1(rootKeySet, luvio, input, fullPathFactory) {
28166
28186
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
28167
28187
  const rootKey = keyBuilderFromType$l(luvio, input);
28168
28188
  rootKeySet.set(rootKey, {
28169
- namespace: keyPrefix$1,
28189
+ namespace: keyPrefix$2,
28170
28190
  representationName: RepresentationType$x,
28171
28191
  mergeable: false
28172
28192
  });
@@ -28179,7 +28199,7 @@ const TTL$m = 300000;
28179
28199
  const VERSION$T$1 = "1781f2d3d4e413cf0c681774d82d02cd";
28180
28200
  const RepresentationType$w = 'AppRepresentation';
28181
28201
  function keyBuilder$1b(luvio, config) {
28182
- return keyPrefix$1 + '::' + RepresentationType$w + ':' + (config.appId === null ? '' : config.appId);
28202
+ return keyPrefix$2 + '::' + RepresentationType$w + ':' + (config.appId === null ? '' : config.appId);
28183
28203
  }
28184
28204
  function keyBuilderFromType$k(luvio, object) {
28185
28205
  const keyParams = {
@@ -28424,7 +28444,7 @@ function getTypeCacheKeys$x$1(rootKeySet, luvio, input, fullPathFactory) {
28424
28444
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
28425
28445
  const rootKey = keyBuilderFromType$k(luvio, input);
28426
28446
  rootKeySet.set(rootKey, {
28427
- namespace: keyPrefix$1,
28447
+ namespace: keyPrefix$2,
28428
28448
  representationName: RepresentationType$w,
28429
28449
  mergeable: false
28430
28450
  });
@@ -28505,7 +28525,7 @@ function getTypeCacheKeys$w$1(rootKeySet, luvio, input, fullPathFactory) {
28505
28525
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
28506
28526
  const rootKey = fullPathFactory();
28507
28527
  rootKeySet.set(rootKey, {
28508
- namespace: keyPrefix$1,
28528
+ namespace: keyPrefix$2,
28509
28529
  representationName: RepresentationType$v,
28510
28530
  mergeable: false
28511
28531
  });
@@ -28519,7 +28539,7 @@ function select$1e(luvio, params) {
28519
28539
  return select$1f();
28520
28540
  }
28521
28541
  function keyBuilder$1a(luvio, params) {
28522
- return keyPrefix$1 + '::AppsRepresentation:(' + 'formFactor:' + params.queryParams.formFactor + ',' + 'userCustomizations:' + params.queryParams.userCustomizations + ')';
28542
+ return keyPrefix$2 + '::AppsRepresentation:(' + 'formFactor:' + params.queryParams.formFactor + ',' + 'userCustomizations:' + params.queryParams.userCustomizations + ')';
28523
28543
  }
28524
28544
  function getResponseCacheKeys$F(storeKeyMap, luvio, resourceParams, response) {
28525
28545
  getTypeCacheKeys$w$1(storeKeyMap, luvio, response, () => keyBuilder$1a(luvio, resourceParams));
@@ -28541,7 +28561,7 @@ function ingestError$r(luvio, params, error, snapshotRefresh) {
28541
28561
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
28542
28562
  const storeMetadataParams = {
28543
28563
  ttl: TTL$l,
28544
- namespace: keyPrefix$1,
28564
+ namespace: keyPrefix$2,
28545
28565
  version: VERSION$S$1,
28546
28566
  representationName: RepresentationType$v
28547
28567
  };
@@ -28675,7 +28695,7 @@ function ingestError$q(luvio, params, error, snapshotRefresh) {
28675
28695
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
28676
28696
  const storeMetadataParams = {
28677
28697
  ttl: TTL$m,
28678
- namespace: keyPrefix$1,
28698
+ namespace: keyPrefix$2,
28679
28699
  version: VERSION$T$1,
28680
28700
  representationName: RepresentationType$w
28681
28701
  };
@@ -28979,7 +28999,7 @@ function getTypeCacheKeys$v$1(rootKeySet, luvio, input, fullPathFactory) {
28979
28999
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
28980
29000
  const rootKey = fullPathFactory();
28981
29001
  rootKeySet.set(rootKey, {
28982
- namespace: keyPrefix$1,
29002
+ namespace: keyPrefix$2,
28983
29003
  representationName: RepresentationType$u,
28984
29004
  mergeable: false
28985
29005
  });
@@ -28989,7 +29009,7 @@ function select$17$1(luvio, params) {
28989
29009
  return select$18$1();
28990
29010
  }
28991
29011
  function keyBuilder$16$1(luvio, params) {
28992
- return keyPrefix$1 + '::DuplicatesConfigurationRepresentation:(' + 'recordTypeId:' + params.queryParams.recordTypeId + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
29012
+ return keyPrefix$2 + '::DuplicatesConfigurationRepresentation:(' + 'recordTypeId:' + params.queryParams.recordTypeId + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
28993
29013
  }
28994
29014
  function getResponseCacheKeys$D(storeKeyMap, luvio, resourceParams, response) {
28995
29015
  getTypeCacheKeys$v$1(storeKeyMap, luvio, response, () => keyBuilder$16$1(luvio, resourceParams));
@@ -29011,7 +29031,7 @@ function ingestError$p(luvio, params, error, snapshotRefresh) {
29011
29031
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
29012
29032
  const storeMetadataParams = {
29013
29033
  ttl: TTL$k,
29014
- namespace: keyPrefix$1,
29034
+ namespace: keyPrefix$2,
29015
29035
  version: VERSION$N$1,
29016
29036
  representationName: RepresentationType$u
29017
29037
  };
@@ -29137,7 +29157,7 @@ function coerceLayoutMode(value) {
29137
29157
  }
29138
29158
 
29139
29159
  function keyBuilder$14$1(luvio, params) {
29140
- return keyPrefix$1 + '::RecordLayoutRepresentation:(' + 'formFactor:' + params.queryParams.formFactor + ',' + 'layoutType:' + params.queryParams.layoutType + ',' + 'mode:' + params.queryParams.mode + ',' + 'recordTypeId:' + params.queryParams.recordTypeId + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
29160
+ return keyPrefix$2 + '::RecordLayoutRepresentation:(' + 'formFactor:' + params.queryParams.formFactor + ',' + 'layoutType:' + params.queryParams.layoutType + ',' + 'mode:' + params.queryParams.mode + ',' + 'recordTypeId:' + params.queryParams.recordTypeId + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
29141
29161
  }
29142
29162
  function getResponseCacheKeys$C(storeKeyMap, luvio, resourceParams, response) {
29143
29163
  getTypeCacheKeys$I$1(storeKeyMap, luvio, response);
@@ -29147,7 +29167,7 @@ function ingestError$o(luvio, params, error, snapshotRefresh) {
29147
29167
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
29148
29168
  const storeMetadataParams = {
29149
29169
  ttl: TTL$t,
29150
- namespace: keyPrefix$1,
29170
+ namespace: keyPrefix$2,
29151
29171
  version: VERSION$13$1,
29152
29172
  representationName: RepresentationType$I
29153
29173
  };
@@ -29510,7 +29530,7 @@ function ingestError$n(luvio, params, error, snapshotRefresh) {
29510
29530
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
29511
29531
  const storeMetadataParams = {
29512
29532
  ttl: TTL$y,
29513
- namespace: keyPrefix$1,
29533
+ namespace: keyPrefix$2,
29514
29534
  version: VERSION$1e,
29515
29535
  representationName: RepresentationType$R
29516
29536
  };
@@ -29661,7 +29681,7 @@ function select$15$1(luvio, resourceParams) {
29661
29681
  return selectChildResourceParams$5(luvio, childResources, resourceParams);
29662
29682
  }
29663
29683
  function keyBuilder$12$1(luvio, params) {
29664
- return keyPrefix$1 + '::ListInfoBatchRepresentation:(' + 'ids:' + params.queryParams.ids + ',' + 'names:' + params.queryParams.names + ')';
29684
+ return keyPrefix$2 + '::ListInfoBatchRepresentation:(' + 'ids:' + params.queryParams.ids + ',' + 'names:' + params.queryParams.names + ')';
29665
29685
  }
29666
29686
  function getResponseCacheKeys$z(keys, luvio, resourceParams, response) {
29667
29687
  const childEnvelopes = response.results;
@@ -29677,7 +29697,7 @@ function getResponseCacheKeys$z(keys, luvio, resourceParams, response) {
29677
29697
  else if (childStatusCode === 404) {
29678
29698
  const childKey = keyBuilder$13$1(luvio, childResourceParams);
29679
29699
  keys.set(childKey, {
29680
- namespace: keyPrefix$1,
29700
+ namespace: keyPrefix$2,
29681
29701
  representationName: RepresentationType$R,
29682
29702
  mergeable: false
29683
29703
  });
@@ -29874,7 +29894,7 @@ const getListInfosByNameAdapterFactory = (luvio) => function UiApi__getListInfos
29874
29894
  buildCachedSnapshotCachePolicy$s, buildNetworkSnapshotCachePolicy$s);
29875
29895
  };
29876
29896
 
29877
- function validate$$(obj, path = 'ListFilterByInfoInputRepresentation') {
29897
+ function validate$10(obj, path = 'ListFilterByInfoInputRepresentation') {
29878
29898
  const v_error = (() => {
29879
29899
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
29880
29900
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -29905,7 +29925,7 @@ function validate$$(obj, path = 'ListFilterByInfoInputRepresentation') {
29905
29925
  return v_error === undefined ? null : v_error;
29906
29926
  }
29907
29927
 
29908
- function validate$_(obj, path = 'ListScopeInputRepresentation') {
29928
+ function validate$$(obj, path = 'ListScopeInputRepresentation') {
29909
29929
  const v_error = (() => {
29910
29930
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
29911
29931
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -29915,57 +29935,61 @@ function validate$_(obj, path = 'ListScopeInputRepresentation') {
29915
29935
  if (typeof obj_apiName !== 'string') {
29916
29936
  return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
29917
29937
  }
29918
- const obj_entityId = obj.entityId;
29919
- const path_entityId = path + '.entityId';
29920
- let obj_entityId_union0 = null;
29921
- const obj_entityId_union0_error = (() => {
29922
- if (typeof obj_entityId !== 'string') {
29923
- return new TypeError('Expected "string" but received "' + typeof obj_entityId + '" (at "' + path_entityId + '")');
29924
- }
29925
- })();
29926
- if (obj_entityId_union0_error != null) {
29927
- obj_entityId_union0 = obj_entityId_union0_error.message;
29928
- }
29929
- let obj_entityId_union1 = null;
29930
- const obj_entityId_union1_error = (() => {
29931
- if (obj_entityId !== null) {
29932
- return new TypeError('Expected "null" but received "' + typeof obj_entityId + '" (at "' + path_entityId + '")');
29933
- }
29934
- })();
29935
- if (obj_entityId_union1_error != null) {
29936
- obj_entityId_union1 = obj_entityId_union1_error.message;
29937
- }
29938
- if (obj_entityId_union0 && obj_entityId_union1) {
29939
- let message = 'Object doesn\'t match union (at "' + path_entityId + '")';
29940
- message += '\n' + obj_entityId_union0.split('\n').map((line) => '\t' + line).join('\n');
29941
- message += '\n' + obj_entityId_union1.split('\n').map((line) => '\t' + line).join('\n');
29942
- return new TypeError(message);
29943
- }
29944
- const obj_relatedEntityId = obj.relatedEntityId;
29945
- const path_relatedEntityId = path + '.relatedEntityId';
29946
- let obj_relatedEntityId_union0 = null;
29947
- const obj_relatedEntityId_union0_error = (() => {
29948
- if (typeof obj_relatedEntityId !== 'string') {
29949
- return new TypeError('Expected "string" but received "' + typeof obj_relatedEntityId + '" (at "' + path_relatedEntityId + '")');
29950
- }
29951
- })();
29952
- if (obj_relatedEntityId_union0_error != null) {
29953
- obj_relatedEntityId_union0 = obj_relatedEntityId_union0_error.message;
29954
- }
29955
- let obj_relatedEntityId_union1 = null;
29956
- const obj_relatedEntityId_union1_error = (() => {
29957
- if (obj_relatedEntityId !== null) {
29958
- return new TypeError('Expected "null" but received "' + typeof obj_relatedEntityId + '" (at "' + path_relatedEntityId + '")');
29959
- }
29960
- })();
29961
- if (obj_relatedEntityId_union1_error != null) {
29962
- obj_relatedEntityId_union1 = obj_relatedEntityId_union1_error.message;
29963
- }
29964
- if (obj_relatedEntityId_union0 && obj_relatedEntityId_union1) {
29965
- let message = 'Object doesn\'t match union (at "' + path_relatedEntityId + '")';
29966
- message += '\n' + obj_relatedEntityId_union0.split('\n').map((line) => '\t' + line).join('\n');
29967
- message += '\n' + obj_relatedEntityId_union1.split('\n').map((line) => '\t' + line).join('\n');
29968
- return new TypeError(message);
29938
+ if (obj.entityId !== undefined) {
29939
+ const obj_entityId = obj.entityId;
29940
+ const path_entityId = path + '.entityId';
29941
+ let obj_entityId_union0 = null;
29942
+ const obj_entityId_union0_error = (() => {
29943
+ if (typeof obj_entityId !== 'string') {
29944
+ return new TypeError('Expected "string" but received "' + typeof obj_entityId + '" (at "' + path_entityId + '")');
29945
+ }
29946
+ })();
29947
+ if (obj_entityId_union0_error != null) {
29948
+ obj_entityId_union0 = obj_entityId_union0_error.message;
29949
+ }
29950
+ let obj_entityId_union1 = null;
29951
+ const obj_entityId_union1_error = (() => {
29952
+ if (obj_entityId !== null) {
29953
+ return new TypeError('Expected "null" but received "' + typeof obj_entityId + '" (at "' + path_entityId + '")');
29954
+ }
29955
+ })();
29956
+ if (obj_entityId_union1_error != null) {
29957
+ obj_entityId_union1 = obj_entityId_union1_error.message;
29958
+ }
29959
+ if (obj_entityId_union0 && obj_entityId_union1) {
29960
+ let message = 'Object doesn\'t match union (at "' + path_entityId + '")';
29961
+ message += '\n' + obj_entityId_union0.split('\n').map((line) => '\t' + line).join('\n');
29962
+ message += '\n' + obj_entityId_union1.split('\n').map((line) => '\t' + line).join('\n');
29963
+ return new TypeError(message);
29964
+ }
29965
+ }
29966
+ if (obj.relatedEntityId !== undefined) {
29967
+ const obj_relatedEntityId = obj.relatedEntityId;
29968
+ const path_relatedEntityId = path + '.relatedEntityId';
29969
+ let obj_relatedEntityId_union0 = null;
29970
+ const obj_relatedEntityId_union0_error = (() => {
29971
+ if (typeof obj_relatedEntityId !== 'string') {
29972
+ return new TypeError('Expected "string" but received "' + typeof obj_relatedEntityId + '" (at "' + path_relatedEntityId + '")');
29973
+ }
29974
+ })();
29975
+ if (obj_relatedEntityId_union0_error != null) {
29976
+ obj_relatedEntityId_union0 = obj_relatedEntityId_union0_error.message;
29977
+ }
29978
+ let obj_relatedEntityId_union1 = null;
29979
+ const obj_relatedEntityId_union1_error = (() => {
29980
+ if (obj_relatedEntityId !== null) {
29981
+ return new TypeError('Expected "null" but received "' + typeof obj_relatedEntityId + '" (at "' + path_relatedEntityId + '")');
29982
+ }
29983
+ })();
29984
+ if (obj_relatedEntityId_union1_error != null) {
29985
+ obj_relatedEntityId_union1 = obj_relatedEntityId_union1_error.message;
29986
+ }
29987
+ if (obj_relatedEntityId_union0 && obj_relatedEntityId_union1) {
29988
+ let message = 'Object doesn\'t match union (at "' + path_relatedEntityId + '")';
29989
+ message += '\n' + obj_relatedEntityId_union0.split('\n').map((line) => '\t' + line).join('\n');
29990
+ message += '\n' + obj_relatedEntityId_union1.split('\n').map((line) => '\t' + line).join('\n');
29991
+ return new TypeError(message);
29992
+ }
29969
29993
  }
29970
29994
  })();
29971
29995
  return v_error === undefined ? null : v_error;
@@ -30025,7 +30049,7 @@ function typeCheckConfig$E(untrustedConfig) {
30025
30049
  const untrustedConfig_filteredByInfo_array = [];
30026
30050
  for (let i = 0, arrayLength = untrustedConfig_filteredByInfo.length; i < arrayLength; i++) {
30027
30051
  const untrustedConfig_filteredByInfo_item = untrustedConfig_filteredByInfo[i];
30028
- const referenceListFilterByInfoInputRepresentationValidationError = validate$$(untrustedConfig_filteredByInfo_item);
30052
+ const referenceListFilterByInfoInputRepresentationValidationError = validate$10(untrustedConfig_filteredByInfo_item);
30029
30053
  if (referenceListFilterByInfoInputRepresentationValidationError === null) {
30030
30054
  untrustedConfig_filteredByInfo_array.push(untrustedConfig_filteredByInfo_item);
30031
30055
  }
@@ -30033,7 +30057,7 @@ function typeCheckConfig$E(untrustedConfig) {
30033
30057
  config.filteredByInfo = untrustedConfig_filteredByInfo_array;
30034
30058
  }
30035
30059
  const untrustedConfig_scope = untrustedConfig.scope;
30036
- const referenceListScopeInputRepresentationValidationError = validate$_(untrustedConfig_scope);
30060
+ const referenceListScopeInputRepresentationValidationError = validate$$(untrustedConfig_scope);
30037
30061
  if (referenceListScopeInputRepresentationValidationError === null) {
30038
30062
  config.scope = untrustedConfig_scope;
30039
30063
  }
@@ -30217,7 +30241,7 @@ function typeCheckConfig$C(untrustedConfig) {
30217
30241
  const untrustedConfig_filteredByInfo_array = [];
30218
30242
  for (let i = 0, arrayLength = untrustedConfig_filteredByInfo.length; i < arrayLength; i++) {
30219
30243
  const untrustedConfig_filteredByInfo_item = untrustedConfig_filteredByInfo[i];
30220
- const referenceListFilterByInfoInputRepresentationValidationError = validate$$(untrustedConfig_filteredByInfo_item);
30244
+ const referenceListFilterByInfoInputRepresentationValidationError = validate$10(untrustedConfig_filteredByInfo_item);
30221
30245
  if (referenceListFilterByInfoInputRepresentationValidationError === null) {
30222
30246
  untrustedConfig_filteredByInfo_array.push(untrustedConfig_filteredByInfo_item);
30223
30247
  }
@@ -30225,7 +30249,7 @@ function typeCheckConfig$C(untrustedConfig) {
30225
30249
  config.filteredByInfo = untrustedConfig_filteredByInfo_array;
30226
30250
  }
30227
30251
  const untrustedConfig_scope = untrustedConfig.scope;
30228
- const referenceListScopeInputRepresentationValidationError = validate$_(untrustedConfig_scope);
30252
+ const referenceListScopeInputRepresentationValidationError = validate$$(untrustedConfig_scope);
30229
30253
  if (referenceListScopeInputRepresentationValidationError === null) {
30230
30254
  config.scope = untrustedConfig_scope;
30231
30255
  }
@@ -30506,7 +30530,7 @@ const TTL$j = 900000;
30506
30530
  const VERSION$I$1 = "84e1e3ffdfcb59f65d7b8906e33027ac";
30507
30531
  const RepresentationType$t = 'ListObjectInfoRepresentation';
30508
30532
  function keyBuilder$$$1(luvio, config) {
30509
- return keyPrefix$1 + '::' + RepresentationType$t + ':' + config.objectApiName;
30533
+ return keyPrefix$2 + '::' + RepresentationType$t + ':' + config.objectApiName;
30510
30534
  }
30511
30535
  function keyBuilderFromType$j(luvio, object) {
30512
30536
  const keyParams = {
@@ -30600,7 +30624,7 @@ function getTypeCacheKeys$u$1(rootKeySet, luvio, input, fullPathFactory) {
30600
30624
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
30601
30625
  const rootKey = keyBuilderFromType$j(luvio, input);
30602
30626
  rootKeySet.set(rootKey, {
30603
- namespace: keyPrefix$1,
30627
+ namespace: keyPrefix$2,
30604
30628
  representationName: RepresentationType$t,
30605
30629
  mergeable: false
30606
30630
  });
@@ -30634,7 +30658,7 @@ function ingestError$l(luvio, params, error, snapshotRefresh) {
30634
30658
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
30635
30659
  const storeMetadataParams = {
30636
30660
  ttl: TTL$j,
30637
- namespace: keyPrefix$1,
30661
+ namespace: keyPrefix$2,
30638
30662
  version: VERSION$I$1,
30639
30663
  representationName: RepresentationType$t
30640
30664
  };
@@ -30821,7 +30845,7 @@ function getTypeCacheKeys$t$1(rootKeySet, luvio, input, fullPathFactory) {
30821
30845
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
30822
30846
  const rootKey = fullPathFactory();
30823
30847
  rootKeySet.set(rootKey, {
30824
- namespace: keyPrefix$1,
30848
+ namespace: keyPrefix$2,
30825
30849
  representationName: RepresentationType$s,
30826
30850
  mergeable: false
30827
30851
  });
@@ -30835,7 +30859,7 @@ function select$X$1(luvio, params) {
30835
30859
  return select$Y$1();
30836
30860
  }
30837
30861
  function keyBuilder$Y$1(luvio, params) {
30838
- return keyPrefix$1 + '::NavItemsRepresentation:(' + 'formFactor:' + params.queryParams.formFactor + ',' + 'navItemNames:' + params.queryParams.navItemNames + ',' + 'page:' + params.queryParams.page + ',' + 'pageSize:' + params.queryParams.pageSize + ')';
30862
+ return keyPrefix$2 + '::NavItemsRepresentation:(' + 'formFactor:' + params.queryParams.formFactor + ',' + 'navItemNames:' + params.queryParams.navItemNames + ',' + 'page:' + params.queryParams.page + ',' + 'pageSize:' + params.queryParams.pageSize + ')';
30839
30863
  }
30840
30864
  function getResponseCacheKeys$v(storeKeyMap, luvio, resourceParams, response) {
30841
30865
  getTypeCacheKeys$t$1(storeKeyMap, luvio, response, () => keyBuilder$Y$1(luvio, resourceParams));
@@ -30857,7 +30881,7 @@ function ingestError$k(luvio, params, error, snapshotRefresh) {
30857
30881
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
30858
30882
  const storeMetadataParams = {
30859
30883
  ttl: TTL$i,
30860
- namespace: keyPrefix$1,
30884
+ namespace: keyPrefix$2,
30861
30885
  version: VERSION$H$1,
30862
30886
  representationName: RepresentationType$s
30863
30887
  };
@@ -31088,7 +31112,7 @@ function select$W$1(luvio, resourceParams) {
31088
31112
  return selectChildResourceParams$4(luvio, childResources, resourceParams);
31089
31113
  }
31090
31114
  function keyBuilder$W$1(luvio, params) {
31091
- return keyPrefix$1 + '::SimplifiedBatchRepresentation:(' + 'objectApiNames:' + params.urlParams.objectApiNames + ')';
31115
+ return keyPrefix$2 + '::SimplifiedBatchRepresentation:(' + 'objectApiNames:' + params.urlParams.objectApiNames + ')';
31092
31116
  }
31093
31117
  function getResponseCacheKeys$u(keys, luvio, resourceParams, response) {
31094
31118
  const childEnvelopes = response.results;
@@ -31104,7 +31128,7 @@ function getResponseCacheKeys$u(keys, luvio, resourceParams, response) {
31104
31128
  else if (childStatusCode === 404) {
31105
31129
  const childKey = keyBuilder$1I(luvio, childResourceParams);
31106
31130
  keys.set(childKey, {
31107
- namespace: keyPrefix$1,
31131
+ namespace: keyPrefix$2,
31108
31132
  representationName: RepresentationType$J,
31109
31133
  mergeable: false
31110
31134
  });
@@ -31472,7 +31496,7 @@ const TTL$h = 900000;
31472
31496
  const VERSION$A$1 = "0a361a49370acb4c6a31721a2057649a";
31473
31497
  const RepresentationType$r = 'PicklistValuesRepresentation';
31474
31498
  function keyBuilder$U$1(luvio, config) {
31475
- return keyPrefix$1 + '::' + RepresentationType$r + ':' + config.id;
31499
+ return keyPrefix$2 + '::' + RepresentationType$r + ':' + config.id;
31476
31500
  }
31477
31501
  function normalize$m(input, existing, path, luvio, store, timestamp) {
31478
31502
  return input;
@@ -31526,7 +31550,7 @@ function getTypeCacheKeys$s$1(rootKeySet, luvio, input, fullPathFactory) {
31526
31550
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
31527
31551
  const rootKey = keyBuilderFromType$i(luvio, input);
31528
31552
  rootKeySet.set(rootKey, {
31529
- namespace: keyPrefix$1,
31553
+ namespace: keyPrefix$2,
31530
31554
  representationName: RepresentationType$r,
31531
31555
  mergeable: false
31532
31556
  });
@@ -31602,7 +31626,7 @@ function getTypeCacheKeys$r$1(rootKeySet, luvio, input, fullPathFactory) {
31602
31626
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
31603
31627
  const rootKey = fullPathFactory();
31604
31628
  rootKeySet.set(rootKey, {
31605
- namespace: keyPrefix$1,
31629
+ namespace: keyPrefix$2,
31606
31630
  representationName: RepresentationType$q,
31607
31631
  mergeable: false
31608
31632
  });
@@ -31619,7 +31643,7 @@ function select$N$1(luvio, params) {
31619
31643
  return select$O$1();
31620
31644
  }
31621
31645
  function keyBuilder$T$1(luvio, params) {
31622
- return keyPrefix$1 + '::PicklistValuesCollectionRepresentation:(' + 'objectApiName:' + params.urlParams.objectApiName + ',' + 'recordTypeId:' + params.urlParams.recordTypeId + ')';
31646
+ return keyPrefix$2 + '::PicklistValuesCollectionRepresentation:(' + 'objectApiName:' + params.urlParams.objectApiName + ',' + 'recordTypeId:' + params.urlParams.recordTypeId + ')';
31623
31647
  }
31624
31648
  function getResponseCacheKeys$t(storeKeyMap, luvio, resourceParams, response) {
31625
31649
  getTypeCacheKeys$r$1(storeKeyMap, luvio, response, () => keyBuilder$T$1(luvio, resourceParams));
@@ -31641,7 +31665,7 @@ function ingestError$i(luvio, params, error, snapshotRefresh) {
31641
31665
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
31642
31666
  const storeMetadataParams = {
31643
31667
  ttl: TTL$g,
31644
- namespace: keyPrefix$1,
31668
+ namespace: keyPrefix$2,
31645
31669
  version: VERSION$z$1,
31646
31670
  representationName: RepresentationType$q
31647
31671
  };
@@ -31944,7 +31968,7 @@ function getTypeCacheKeys$q$1(rootKeySet, luvio, input, fullPathFactory) {
31944
31968
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
31945
31969
  const rootKey = fullPathFactory();
31946
31970
  rootKeySet.set(rootKey, {
31947
- namespace: keyPrefix$1,
31971
+ namespace: keyPrefix$2,
31948
31972
  representationName: RepresentationType$p,
31949
31973
  mergeable: false
31950
31974
  });
@@ -31954,7 +31978,7 @@ function select$L$1(luvio, params) {
31954
31978
  return select$M$1();
31955
31979
  }
31956
31980
  function keyBuilder$R$1(luvio, params) {
31957
- return keyPrefix$1 + '::DuplicatesRepresentation:(' + (params.body.allowSaveOnDuplicate === undefined ? 'allowSaveOnDuplicate' : 'allowSaveOnDuplicate:' + params.body.allowSaveOnDuplicate) + '::' + (params.body.apiName === undefined ? 'apiName' : 'apiName:' + params.body.apiName) + '::' + stableJSONStringify$2(params.body.fields) + ')';
31981
+ return keyPrefix$2 + '::DuplicatesRepresentation:(' + (params.body.allowSaveOnDuplicate === undefined ? 'allowSaveOnDuplicate' : 'allowSaveOnDuplicate:' + params.body.allowSaveOnDuplicate) + '::' + (params.body.apiName === undefined ? 'apiName' : 'apiName:' + params.body.apiName) + '::' + stableJSONStringify$2(params.body.fields) + ')';
31958
31982
  }
31959
31983
  function getResponseCacheKeys$r(storeKeyMap, luvio, resourceParams, response) {
31960
31984
  getTypeCacheKeys$q$1(storeKeyMap, luvio, response, () => keyBuilder$R$1(luvio, resourceParams));
@@ -31976,7 +32000,7 @@ function ingestError$h(luvio, params, error, snapshotRefresh) {
31976
32000
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
31977
32001
  const storeMetadataParams = {
31978
32002
  ttl: TTL$f,
31979
- namespace: keyPrefix$1,
32003
+ namespace: keyPrefix$2,
31980
32004
  version: VERSION$y$1,
31981
32005
  representationName: RepresentationType$p
31982
32006
  };
@@ -32244,7 +32268,7 @@ function getTypeCacheKeys$p$1(rootKeySet, luvio, input, fullPathFactory) {
32244
32268
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
32245
32269
  const rootKey = keyBuilderFromType$h(luvio, input);
32246
32270
  rootKeySet.set(rootKey, {
32247
- namespace: keyPrefix$1,
32271
+ namespace: keyPrefix$2,
32248
32272
  representationName: RepresentationType$m,
32249
32273
  mergeable: false
32250
32274
  });
@@ -32310,7 +32334,7 @@ function getTypeCacheKeys$o$1(rootKeySet, luvio, input, fullPathFactory) {
32310
32334
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
32311
32335
  const rootKey = keyBuilderFromType$g(luvio, input);
32312
32336
  rootKeySet.set(rootKey, {
32313
- namespace: keyPrefix$1,
32337
+ namespace: keyPrefix$2,
32314
32338
  representationName: RepresentationType$m,
32315
32339
  mergeable: false
32316
32340
  });
@@ -32324,7 +32348,7 @@ var DiscriminatorValues$2$2;
32324
32348
  const VERSION$u$1 = "bc05f8d1c708b6c41c9bf2fe6001aff0";
32325
32349
  const RepresentationType$m = 'AbstractRecordAvatarRepresentation';
32326
32350
  function keyBuilder$P$1(luvio, config) {
32327
- return keyPrefix$1 + '::' + RepresentationType$m + ':' + config.recordId;
32351
+ return keyPrefix$2 + '::' + RepresentationType$m + ':' + config.recordId;
32328
32352
  }
32329
32353
  function keyBuilderFromType$f(luvio, object) {
32330
32354
  const keyParams = {
@@ -32450,7 +32474,7 @@ function getTypeCacheKeys$m$1(rootKeySet, luvio, input, fullPathFactory) {
32450
32474
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
32451
32475
  const rootKey = fullPathFactory();
32452
32476
  rootKeySet.set(rootKey, {
32453
- namespace: keyPrefix$1,
32477
+ namespace: keyPrefix$2,
32454
32478
  representationName: RepresentationType$l,
32455
32479
  mergeable: false
32456
32480
  });
@@ -32537,7 +32561,7 @@ function getTypeCacheKeys$l$1(rootKeySet, luvio, input, fullPathFactory) {
32537
32561
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
32538
32562
  const rootKey = fullPathFactory();
32539
32563
  rootKeySet.set(rootKey, {
32540
- namespace: keyPrefix$1,
32564
+ namespace: keyPrefix$2,
32541
32565
  representationName: RepresentationType$k,
32542
32566
  mergeable: false
32543
32567
  });
@@ -32592,7 +32616,7 @@ function getTypeCacheKeys$k$1(rootKeySet, luvio, input, fullPathFactory) {
32592
32616
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
32593
32617
  const rootKey = fullPathFactory();
32594
32618
  rootKeySet.set(rootKey, {
32595
- namespace: keyPrefix$1,
32619
+ namespace: keyPrefix$2,
32596
32620
  representationName: RepresentationType$j,
32597
32621
  mergeable: false
32598
32622
  });
@@ -32706,7 +32730,7 @@ function getTypeCacheKeys$i$1(rootKeySet, luvio, input, fullPathFactory) {
32706
32730
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
32707
32731
  const rootKey = fullPathFactory();
32708
32732
  rootKeySet.set(rootKey, {
32709
- namespace: keyPrefix$1,
32733
+ namespace: keyPrefix$2,
32710
32734
  representationName: RepresentationType$i,
32711
32735
  mergeable: false
32712
32736
  });
@@ -32746,7 +32770,7 @@ const ingest$e$1 = function RecordAvatarBulkMapRepresentationIngest(input, path,
32746
32770
  };
32747
32771
 
32748
32772
  function keyBuilder$O$1(luvio, params) {
32749
- return keyPrefix$1 + '::RecordAvatarBulkMapRepresentation:(' + 'formFactor:' + params.queryParams.formFactor + ',' + 'recordIds:' + params.urlParams.recordIds + ')';
32773
+ return keyPrefix$2 + '::RecordAvatarBulkMapRepresentation:(' + 'formFactor:' + params.queryParams.formFactor + ',' + 'recordIds:' + params.urlParams.recordIds + ')';
32750
32774
  }
32751
32775
  function getResponseCacheKeys$q(storeKeyMap, luvio, resourceParams, response) {
32752
32776
  getTypeCacheKeys$i$1(storeKeyMap, luvio, response, () => keyBuilder$O$1(luvio, resourceParams));
@@ -32756,7 +32780,7 @@ function ingestError$g(luvio, params, error, snapshotRefresh) {
32756
32780
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
32757
32781
  const storeMetadataParams = {
32758
32782
  ttl: TTL$d,
32759
- namespace: keyPrefix$1,
32783
+ namespace: keyPrefix$2,
32760
32784
  version: VERSION$o$1,
32761
32785
  representationName: RepresentationType$i
32762
32786
  };
@@ -32779,7 +32803,7 @@ function createResourceRequest$t(config) {
32779
32803
 
32780
32804
  // All of the avatars are ingested into
32781
32805
  // the same top level object
32782
- const KEY = `${keyPrefix$1}RecordAvatarsBulk`;
32806
+ const KEY = `${keyPrefix$2}RecordAvatarsBulk`;
32783
32807
  function recordAvatarsFragment(recordIds) {
32784
32808
  return {
32785
32809
  kind: 'Fragment',
@@ -33266,7 +33290,7 @@ function equals$k(existing, incoming) {
33266
33290
  const VERSION$m$1 = "836b875b519813e7499efc62f0f1d04b";
33267
33291
  const RepresentationType$h = 'RelatedListRecordCountRepresentation';
33268
33292
  function keyBuilder$M$1(luvio, config) {
33269
- return keyPrefix$1 + '::' + RepresentationType$h + ':' + (config.parentRecordId === null ? '' : config.parentRecordId) + ':' + config.relatedListId;
33293
+ return keyPrefix$2 + '::' + RepresentationType$h + ':' + (config.parentRecordId === null ? '' : config.parentRecordId) + ':' + config.relatedListId;
33270
33294
  }
33271
33295
  function keyBuilderFromType$e(luvio, object) {
33272
33296
  const keyParams = {
@@ -33336,7 +33360,7 @@ function getTypeCacheKeys$h$1(rootKeySet, luvio, input, fullPathFactory) {
33336
33360
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
33337
33361
  const rootKey = keyBuilderFromType$e(luvio, input);
33338
33362
  rootKeySet.set(rootKey, {
33339
- namespace: keyPrefix$1,
33363
+ namespace: keyPrefix$2,
33340
33364
  representationName: RepresentationType$h,
33341
33365
  mergeable: false
33342
33366
  });
@@ -33513,7 +33537,7 @@ function select$y$1(luvio, resourceParams) {
33513
33537
  return selectChildResourceParams$3(luvio, childResources, resourceParams);
33514
33538
  }
33515
33539
  function keyBuilder$K$1(luvio, params) {
33516
- return keyPrefix$1 + '::BatchRelatedListCountRepresentation:(' + 'maxCount:' + params.queryParams.maxCount + ',' + 'parentRecordId:' + params.urlParams.parentRecordId + ',' + 'relatedListNames:' + params.urlParams.relatedListNames + ')';
33540
+ return keyPrefix$2 + '::BatchRelatedListCountRepresentation:(' + 'maxCount:' + params.queryParams.maxCount + ',' + 'parentRecordId:' + params.urlParams.parentRecordId + ',' + 'relatedListNames:' + params.urlParams.relatedListNames + ')';
33517
33541
  }
33518
33542
  function getResponseCacheKeys$o(keys, luvio, resourceParams, response) {
33519
33543
  const childEnvelopes = response.results;
@@ -33529,7 +33553,7 @@ function getResponseCacheKeys$o(keys, luvio, resourceParams, response) {
33529
33553
  else if (childStatusCode === 404) {
33530
33554
  const childKey = keyBuilder$L$1(luvio, childResourceParams);
33531
33555
  keys.set(childKey, {
33532
- namespace: keyPrefix$1,
33556
+ namespace: keyPrefix$2,
33533
33557
  representationName: RepresentationType$h,
33534
33558
  mergeable: false
33535
33559
  });
@@ -33816,7 +33840,7 @@ const TTL$c = 900000;
33816
33840
  const VERSION$l$1 = "c977d65d153a2b4e888ddd45fb083248";
33817
33841
  const RepresentationType$g = 'RelatedListInfoRepresentation';
33818
33842
  function keyBuilder$H$1(luvio, config) {
33819
- return keyPrefix$1 + '::' + RepresentationType$g + ':' + config.relatedListId + ':' + config.parentObjectApiName + ':' + config.restrictColumnsToLayout + ':' + (config.recordTypeId === null ? '' : config.recordTypeId) + ':' + '[' + config.optionalFields.join(',') + ']' + ':' + '[' + config.fields.join(',') + ']';
33843
+ return keyPrefix$2 + '::' + RepresentationType$g + ':' + config.relatedListId + ':' + config.parentObjectApiName + ':' + config.restrictColumnsToLayout + ':' + (config.recordTypeId === null ? '' : config.recordTypeId) + ':' + '[' + config.optionalFields.join(',') + ']' + ':' + '[' + config.fields.join(',') + ']';
33820
33844
  }
33821
33845
  function keyBuilderFromType$d(luvio, object) {
33822
33846
  const keyParams = {
@@ -33943,7 +33967,7 @@ function getTypeCacheKeys$g$1(rootKeySet, luvio, input, fullPathFactory) {
33943
33967
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
33944
33968
  const rootKey = keyBuilderFromType$d(luvio, input);
33945
33969
  rootKeySet.set(rootKey, {
33946
- namespace: keyPrefix$1,
33970
+ namespace: keyPrefix$2,
33947
33971
  representationName: RepresentationType$g,
33948
33972
  mergeable: false
33949
33973
  });
@@ -33982,7 +34006,7 @@ function ingestError$d(luvio, params, error, snapshotRefresh) {
33982
34006
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
33983
34007
  const storeMetadataParams = {
33984
34008
  ttl: TTL$c,
33985
- namespace: keyPrefix$1,
34009
+ namespace: keyPrefix$2,
33986
34010
  version: VERSION$l$1,
33987
34011
  representationName: RepresentationType$g
33988
34012
  };
@@ -34134,7 +34158,7 @@ function select$v$1(luvio, resourceParams) {
34134
34158
  return selectChildResourceParams$2(luvio, childResources, resourceParams);
34135
34159
  }
34136
34160
  function keyBuilder$F$1(luvio, params) {
34137
- return keyPrefix$1 + '::RelatedListInfoBatchRepresentation:(' + 'recordTypeId:' + params.queryParams.recordTypeId + ',' + 'parentObjectApiName:' + params.urlParams.parentObjectApiName + ',' + 'relatedListNames:' + params.urlParams.relatedListNames + ')';
34161
+ return keyPrefix$2 + '::RelatedListInfoBatchRepresentation:(' + 'recordTypeId:' + params.queryParams.recordTypeId + ',' + 'parentObjectApiName:' + params.urlParams.parentObjectApiName + ',' + 'relatedListNames:' + params.urlParams.relatedListNames + ')';
34138
34162
  }
34139
34163
  function getResponseCacheKeys$m(keys, luvio, resourceParams, response) {
34140
34164
  const childEnvelopes = response.results;
@@ -34150,7 +34174,7 @@ function getResponseCacheKeys$m(keys, luvio, resourceParams, response) {
34150
34174
  else if (childStatusCode === 404) {
34151
34175
  const childKey = keyBuilder$G$1(luvio, childResourceParams);
34152
34176
  keys.set(childKey, {
34153
- namespace: keyPrefix$1,
34177
+ namespace: keyPrefix$2,
34154
34178
  representationName: RepresentationType$g,
34155
34179
  mergeable: false
34156
34180
  });
@@ -34352,7 +34376,7 @@ const getRelatedListInfoBatchAdapterFactory = (luvio) => function UiApi__getRela
34352
34376
  const VERSION$k$1 = "2a1722afba0e1ee52d6b7b0a25ccd9f4";
34353
34377
  const RepresentationType$f = 'RelatedListSummaryInfoCollectionRepresentation';
34354
34378
  function keyBuilder$D$1(luvio, config) {
34355
- return keyPrefix$1 + '::' + RepresentationType$f + ':' + config.parentObjectApiName + ':' + (config.recordTypeId === null ? '' : config.recordTypeId);
34379
+ return keyPrefix$2 + '::' + RepresentationType$f + ':' + config.parentObjectApiName + ':' + (config.recordTypeId === null ? '' : config.recordTypeId);
34356
34380
  }
34357
34381
  function keyBuilderFromType$c(luvio, object) {
34358
34382
  const keyParams = {
@@ -34404,7 +34428,7 @@ function getTypeCacheKeys$f$1(rootKeySet, luvio, input, fullPathFactory) {
34404
34428
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
34405
34429
  const rootKey = keyBuilderFromType$c(luvio, input);
34406
34430
  rootKeySet.set(rootKey, {
34407
- namespace: keyPrefix$1,
34431
+ namespace: keyPrefix$2,
34408
34432
  representationName: RepresentationType$f,
34409
34433
  mergeable: false
34410
34434
  });
@@ -34628,7 +34652,7 @@ const getRelatedListInfoAdapterFactory = (luvio) => function UiApi__getRelatedLi
34628
34652
  buildCachedSnapshotCachePolicy$e, buildNetworkSnapshotCachePolicy$e);
34629
34653
  };
34630
34654
 
34631
- function validate$v(obj, path = 'ListOrderedByInfoInputRepresentation') {
34655
+ function validate$w(obj, path = 'ListOrderedByInfoInputRepresentation') {
34632
34656
  const v_error = (() => {
34633
34657
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
34634
34658
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -34647,7 +34671,7 @@ function validate$v(obj, path = 'ListOrderedByInfoInputRepresentation') {
34647
34671
  return v_error === undefined ? null : v_error;
34648
34672
  }
34649
34673
 
34650
- function validate$u(obj, path = 'ListUserPreferenceInputRepresentation') {
34674
+ function validate$v(obj, path = 'ListUserPreferenceInputRepresentation') {
34651
34675
  const v_error = (() => {
34652
34676
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
34653
34677
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -34724,7 +34748,7 @@ function typeCheckConfig$o(untrustedConfig) {
34724
34748
  const untrustedConfig_orderedByInfo_array = [];
34725
34749
  for (let i = 0, arrayLength = untrustedConfig_orderedByInfo.length; i < arrayLength; i++) {
34726
34750
  const untrustedConfig_orderedByInfo_item = untrustedConfig_orderedByInfo[i];
34727
- const referenceListOrderedByInfoInputRepresentationValidationError = validate$v(untrustedConfig_orderedByInfo_item);
34751
+ const referenceListOrderedByInfoInputRepresentationValidationError = validate$w(untrustedConfig_orderedByInfo_item);
34728
34752
  if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
34729
34753
  untrustedConfig_orderedByInfo_array.push(untrustedConfig_orderedByInfo_item);
34730
34754
  }
@@ -34732,7 +34756,7 @@ function typeCheckConfig$o(untrustedConfig) {
34732
34756
  config.orderedByInfo = untrustedConfig_orderedByInfo_array;
34733
34757
  }
34734
34758
  const untrustedConfig_userPreferences = untrustedConfig.userPreferences;
34735
- const referenceListUserPreferenceInputRepresentationValidationError = validate$u(untrustedConfig_userPreferences);
34759
+ const referenceListUserPreferenceInputRepresentationValidationError = validate$v(untrustedConfig_userPreferences);
34736
34760
  if (referenceListUserPreferenceInputRepresentationValidationError === null) {
34737
34761
  config.userPreferences = untrustedConfig_userPreferences;
34738
34762
  }
@@ -34796,7 +34820,7 @@ const TTL$b = 900000;
34796
34820
  const VERSION$j$1 = "094cdf8e3e1f07fca02c4e51e14c528e";
34797
34821
  const RepresentationType$e = 'RelatedListUserPreferencesRepresentation';
34798
34822
  function keyBuilder$z$1(luvio, config) {
34799
- return keyPrefix$1 + '::' + RepresentationType$e + ':' + config.preferencesId;
34823
+ return keyPrefix$2 + '::' + RepresentationType$e + ':' + config.preferencesId;
34800
34824
  }
34801
34825
  function keyBuilderFromType$b(luvio, object) {
34802
34826
  const keyParams = {
@@ -34831,7 +34855,7 @@ function getTypeCacheKeys$e$1(rootKeySet, luvio, input, fullPathFactory) {
34831
34855
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
34832
34856
  const rootKey = keyBuilderFromType$b(luvio, input);
34833
34857
  rootKeySet.set(rootKey, {
34834
- namespace: keyPrefix$1,
34858
+ namespace: keyPrefix$2,
34835
34859
  representationName: RepresentationType$e,
34836
34860
  mergeable: false
34837
34861
  });
@@ -34865,7 +34889,7 @@ function ingestError$a(luvio, params, error, snapshotRefresh) {
34865
34889
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
34866
34890
  const storeMetadataParams = {
34867
34891
  ttl: TTL$b,
34868
- namespace: keyPrefix$1,
34892
+ namespace: keyPrefix$2,
34869
34893
  version: VERSION$j$1,
34870
34894
  representationName: RepresentationType$e
34871
34895
  };
@@ -35009,7 +35033,7 @@ function select$p$1(luvio, resourceParams) {
35009
35033
  return selectChildResourceParams$1(luvio, childResources, resourceParams);
35010
35034
  }
35011
35035
  function keyBuilder$x$1(luvio, params) {
35012
- return keyPrefix$1 + '::RelatedListPreferencesBatchRepresentation:(' + 'preferencesIds:' + params.urlParams.preferencesIds + ')';
35036
+ return keyPrefix$2 + '::RelatedListPreferencesBatchRepresentation:(' + 'preferencesIds:' + params.urlParams.preferencesIds + ')';
35013
35037
  }
35014
35038
  function getResponseCacheKeys$i(keys, luvio, resourceParams, response) {
35015
35039
  const childEnvelopes = response.results;
@@ -35025,7 +35049,7 @@ function getResponseCacheKeys$i(keys, luvio, resourceParams, response) {
35025
35049
  else if (childStatusCode === 404) {
35026
35050
  const childKey = keyBuilder$y$1(luvio, childResourceParams);
35027
35051
  keys.set(childKey, {
35028
- namespace: keyPrefix$1,
35052
+ namespace: keyPrefix$2,
35029
35053
  representationName: RepresentationType$e,
35030
35054
  mergeable: false
35031
35055
  });
@@ -35387,7 +35411,7 @@ function typeCheckConfig$l(untrustedConfig) {
35387
35411
  const untrustedConfig_orderedBy_array = [];
35388
35412
  for (let i = 0, arrayLength = untrustedConfig_orderedBy.length; i < arrayLength; i++) {
35389
35413
  const untrustedConfig_orderedBy_item = untrustedConfig_orderedBy[i];
35390
- const referenceListOrderedByInfoInputRepresentationValidationError = validate$v(untrustedConfig_orderedBy_item);
35414
+ const referenceListOrderedByInfoInputRepresentationValidationError = validate$w(untrustedConfig_orderedBy_item);
35391
35415
  if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
35392
35416
  untrustedConfig_orderedBy_array.push(untrustedConfig_orderedBy_item);
35393
35417
  }
@@ -35435,7 +35459,7 @@ const updateRelatedListPreferencesAdapterFactory = (luvio) => {
35435
35459
  };
35436
35460
  };
35437
35461
 
35438
- function validate$s(obj, path = 'RelatedListRecordsSingleBatchInputRepresentation') {
35462
+ function validate$t(obj, path = 'RelatedListRecordsSingleBatchInputRepresentation') {
35439
35463
  const v_error = (() => {
35440
35464
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
35441
35465
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -35680,7 +35704,7 @@ const TTL$a = 30000;
35680
35704
  const VERSION$i$1 = "62467c27c19349b70c9db2a8d9d591d9";
35681
35705
  const RepresentationType$d = 'RelatedListRecordCollectionRepresentation';
35682
35706
  function keyBuilder$u$1(luvio, config) {
35683
- return keyPrefix$1 + '::' + RepresentationType$d + ':' + '[' + config.sortBy.join(',') + ']' + ':' + (config.parentRecordId === null ? '' : config.parentRecordId) + ':' + config.relatedListId + ':' + (config.where === null ? '' : config.where);
35707
+ return keyPrefix$2 + '::' + RepresentationType$d + ':' + '[' + config.sortBy.join(',') + ']' + ':' + (config.parentRecordId === null ? '' : config.parentRecordId) + ':' + config.relatedListId + ':' + (config.where === null ? '' : config.where);
35684
35708
  }
35685
35709
  function keyBuilderFromType$a(luvio, object) {
35686
35710
  const keyParams = {
@@ -35992,12 +36016,12 @@ function getTypeCacheKeys$d$1(rootKeySet, luvio, input, fullPathFactory) {
35992
36016
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
35993
36017
  const rootKey = keyBuilderFromType$a(luvio, input);
35994
36018
  rootKeySet.set(rootKey, {
35995
- namespace: keyPrefix$1,
36019
+ namespace: keyPrefix$2,
35996
36020
  representationName: RepresentationType$d,
35997
36021
  mergeable: true
35998
36022
  });
35999
36023
  rootKeySet.set(rootKey + '__pagination', {
36000
- namespace: keyPrefix$1,
36024
+ namespace: keyPrefix$2,
36001
36025
  representationName: RepresentationType$d,
36002
36026
  mergeable: true
36003
36027
  });
@@ -36073,7 +36097,7 @@ function ingestError$8(luvio, params, error, snapshotRefresh) {
36073
36097
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
36074
36098
  const storeMetadataParams = {
36075
36099
  ttl: TTL$a,
36076
- namespace: keyPrefix$1,
36100
+ namespace: keyPrefix$2,
36077
36101
  version: VERSION$i$1,
36078
36102
  representationName: RepresentationType$d
36079
36103
  };
@@ -36240,7 +36264,7 @@ function select$m$1(luvio, resourceParams) {
36240
36264
  return selectChildResourceParams$8(luvio, childResources, resourceParams);
36241
36265
  }
36242
36266
  function keyBuilder$s$1(luvio, params) {
36243
- return keyPrefix$1 + '::RelatedListRecordCollectionBatchRepresentation:(' + 'parentRecordId:' + params.urlParams.parentRecordId + ',' + '[' + params.body.relatedListParameters.map(element => (element.fields === undefined ? 'relatedListParameters.fields' : 'relatedListParameters.fields:' + element.fields) + '::' + (element.optionalFields === undefined ? 'relatedListParameters.optionalFields' : 'relatedListParameters.optionalFields:' + element.optionalFields) + '::' + (element.pageSize === undefined ? 'relatedListParameters.pageSize' : 'relatedListParameters.pageSize:' + element.pageSize) + '::' + 'relatedListParameters.relatedListId:' + element.relatedListId + '::' + (element.sortBy === undefined ? 'relatedListParameters.sortBy' : 'relatedListParameters.sortBy:' + element.sortBy) + '::' + (element.where === undefined ? 'relatedListParameters.where' : 'relatedListParameters.where:' + element.where)).join(',') + ']' + ')';
36267
+ return keyPrefix$2 + '::RelatedListRecordCollectionBatchRepresentation:(' + 'parentRecordId:' + params.urlParams.parentRecordId + ',' + '[' + params.body.relatedListParameters.map(element => (element.fields === undefined ? 'relatedListParameters.fields' : 'relatedListParameters.fields:' + element.fields) + '::' + (element.optionalFields === undefined ? 'relatedListParameters.optionalFields' : 'relatedListParameters.optionalFields:' + element.optionalFields) + '::' + (element.pageSize === undefined ? 'relatedListParameters.pageSize' : 'relatedListParameters.pageSize:' + element.pageSize) + '::' + 'relatedListParameters.relatedListId:' + element.relatedListId + '::' + (element.sortBy === undefined ? 'relatedListParameters.sortBy' : 'relatedListParameters.sortBy:' + element.sortBy) + '::' + (element.where === undefined ? 'relatedListParameters.where' : 'relatedListParameters.where:' + element.where)).join(',') + ']' + ')';
36244
36268
  }
36245
36269
  function getResponseCacheKeys$f(keys, luvio, resourceParams, response) {
36246
36270
  const childEnvelopes = response.results;
@@ -36256,7 +36280,7 @@ function getResponseCacheKeys$f(keys, luvio, resourceParams, response) {
36256
36280
  else if (childStatusCode === 404) {
36257
36281
  const childKey = keyBuilder$t$1(luvio, childResourceParams);
36258
36282
  keys.set(childKey, {
36259
- namespace: keyPrefix$1,
36283
+ namespace: keyPrefix$2,
36260
36284
  representationName: RepresentationType$d,
36261
36285
  mergeable: false
36262
36286
  });
@@ -36388,7 +36412,7 @@ function typeCheckConfig$k(untrustedConfig) {
36388
36412
  const untrustedConfig_relatedListParameters_array = [];
36389
36413
  for (let i = 0, arrayLength = untrustedConfig_relatedListParameters.length; i < arrayLength; i++) {
36390
36414
  const untrustedConfig_relatedListParameters_item = untrustedConfig_relatedListParameters[i];
36391
- const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$s(untrustedConfig_relatedListParameters_item);
36415
+ const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$t(untrustedConfig_relatedListParameters_item);
36392
36416
  if (referenceRelatedListRecordsSingleBatchInputRepresentationValidationError === null) {
36393
36417
  untrustedConfig_relatedListParameters_array.push(untrustedConfig_relatedListParameters_item);
36394
36418
  }
@@ -36807,7 +36831,7 @@ const TTL$9 = 30000;
36807
36831
  const VERSION$c$1 = "4c15d70367f2a3acd1e1c627b4946679";
36808
36832
  const RepresentationType$c = 'SearchFilterMetadataCollectionRepresentation';
36809
36833
  function keyBuilder$p$1(luvio, config) {
36810
- return keyPrefix$1 + '::' + RepresentationType$c + ':' + config.objectApiName;
36834
+ return keyPrefix$2 + '::' + RepresentationType$c + ':' + config.objectApiName;
36811
36835
  }
36812
36836
  function keyBuilderFromType$9(luvio, object) {
36813
36837
  const keyParams = {
@@ -36866,7 +36890,7 @@ function getTypeCacheKeys$c$1(rootKeySet, luvio, input, fullPathFactory) {
36866
36890
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
36867
36891
  const rootKey = keyBuilderFromType$9(luvio, input);
36868
36892
  rootKeySet.set(rootKey, {
36869
- namespace: keyPrefix$1,
36893
+ namespace: keyPrefix$2,
36870
36894
  representationName: RepresentationType$c,
36871
36895
  mergeable: false
36872
36896
  });
@@ -36900,7 +36924,7 @@ function ingestError$6(luvio, params, error, snapshotRefresh) {
36900
36924
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
36901
36925
  const storeMetadataParams = {
36902
36926
  ttl: TTL$9,
36903
- namespace: keyPrefix$1,
36927
+ namespace: keyPrefix$2,
36904
36928
  version: VERSION$c$1,
36905
36929
  representationName: RepresentationType$c
36906
36930
  };
@@ -37008,7 +37032,7 @@ const TTL$8 = 30000;
37008
37032
  const VERSION$b$1 = "8d851a8d9abf0a061a8ad81d4cbb83bc";
37009
37033
  const RepresentationType$b = 'SearchFilterOptionCollectionRepresentation';
37010
37034
  function keyBuilder$m$1(luvio, config) {
37011
- return keyPrefix$1 + '::' + RepresentationType$b + ':' + (config.query === null ? '' : config.query) + ':' + config.objectApiName + ':' + config.filterApiName;
37035
+ return keyPrefix$2 + '::' + RepresentationType$b + ':' + (config.query === null ? '' : config.query) + ':' + config.objectApiName + ':' + config.filterApiName;
37012
37036
  }
37013
37037
  function keyBuilderFromType$8(luvio, object) {
37014
37038
  const keyParams = {
@@ -37045,7 +37069,7 @@ function getTypeCacheKeys$b$1(rootKeySet, luvio, input, fullPathFactory) {
37045
37069
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
37046
37070
  const rootKey = keyBuilderFromType$8(luvio, input);
37047
37071
  rootKeySet.set(rootKey, {
37048
- namespace: keyPrefix$1,
37072
+ namespace: keyPrefix$2,
37049
37073
  representationName: RepresentationType$b,
37050
37074
  mergeable: false
37051
37075
  });
@@ -37081,7 +37105,7 @@ function ingestError$5(luvio, params, error, snapshotRefresh) {
37081
37105
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
37082
37106
  const storeMetadataParams = {
37083
37107
  ttl: TTL$8,
37084
- namespace: keyPrefix$1,
37108
+ namespace: keyPrefix$2,
37085
37109
  version: VERSION$b$1,
37086
37110
  representationName: RepresentationType$b
37087
37111
  };
@@ -37191,7 +37215,7 @@ const TTL$7 = 30000;
37191
37215
  const VERSION$a$1 = "ab99b79a5e8a78e051ec92b39d76a6bd";
37192
37216
  const RepresentationType$a = 'LookupMetadataRepresentation';
37193
37217
  function keyBuilder$j$1(luvio, config) {
37194
- return keyPrefix$1 + '::' + RepresentationType$a + ':' + config.objectApiName + ':' + config.fieldApiName;
37218
+ return keyPrefix$2 + '::' + RepresentationType$a + ':' + config.objectApiName + ':' + config.fieldApiName;
37195
37219
  }
37196
37220
  function keyBuilderFromType$7(luvio, object) {
37197
37221
  const keyParams = {
@@ -37227,7 +37251,7 @@ function getTypeCacheKeys$a$1(rootKeySet, luvio, input, fullPathFactory) {
37227
37251
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
37228
37252
  const rootKey = keyBuilderFromType$7(luvio, input);
37229
37253
  rootKeySet.set(rootKey, {
37230
- namespace: keyPrefix$1,
37254
+ namespace: keyPrefix$2,
37231
37255
  representationName: RepresentationType$a,
37232
37256
  mergeable: false
37233
37257
  });
@@ -37262,7 +37286,7 @@ function ingestError$4(luvio, params, error, snapshotRefresh) {
37262
37286
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
37263
37287
  const storeMetadataParams = {
37264
37288
  ttl: TTL$7,
37265
- namespace: keyPrefix$1,
37289
+ namespace: keyPrefix$2,
37266
37290
  version: VERSION$a$1,
37267
37291
  representationName: RepresentationType$a
37268
37292
  };
@@ -37371,7 +37395,7 @@ const TTL$6 = 200;
37371
37395
  const VERSION$9$1 = "da21e889922062e90012ba48c4a733e2";
37372
37396
  const RepresentationType$9 = 'SearchResultsSummaryRepresentation';
37373
37397
  function keyBuilder$g$1(luvio, config) {
37374
- return keyPrefix$1 + '::' + RepresentationType$9 + ':' + config.query;
37398
+ return keyPrefix$2 + '::' + RepresentationType$9 + ':' + config.query;
37375
37399
  }
37376
37400
  function keyBuilderFromType$6(luvio, object) {
37377
37401
  const keyParams = {
@@ -37406,7 +37430,7 @@ function getTypeCacheKeys$9$1(rootKeySet, luvio, input, fullPathFactory) {
37406
37430
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
37407
37431
  const rootKey = keyBuilderFromType$6(luvio, input);
37408
37432
  rootKeySet.set(rootKey, {
37409
- namespace: keyPrefix$1,
37433
+ namespace: keyPrefix$2,
37410
37434
  representationName: RepresentationType$9,
37411
37435
  mergeable: false
37412
37436
  });
@@ -37440,7 +37464,7 @@ function ingestError$3(luvio, params, error, snapshotRefresh) {
37440
37464
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
37441
37465
  const storeMetadataParams = {
37442
37466
  ttl: TTL$6,
37443
- namespace: keyPrefix$1,
37467
+ namespace: keyPrefix$2,
37444
37468
  version: VERSION$9$1,
37445
37469
  representationName: RepresentationType$9
37446
37470
  };
@@ -37546,7 +37570,7 @@ const getSearchResultsAdapterFactory = (luvio) => function UiApi__getSearchResul
37546
37570
  buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$6);
37547
37571
  };
37548
37572
 
37549
- function validate$a(obj, path = 'SearchFilterInputRepresentation') {
37573
+ function validate$b(obj, path = 'SearchFilterInputRepresentation') {
37550
37574
  const v_error = (() => {
37551
37575
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
37552
37576
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -37619,7 +37643,7 @@ const TTL$5 = 200;
37619
37643
  const VERSION$8$1 = "168255e2d3a26e867c3fb9cee0165537";
37620
37644
  const RepresentationType$8 = 'KeywordSearchResultsSummaryRepresentation';
37621
37645
  function keyBuilder$d$1(luvio, config) {
37622
- return keyPrefix$1 + '::' + RepresentationType$8 + ':' + config.query + ':' + config.objectApiName;
37646
+ return keyPrefix$2 + '::' + RepresentationType$8 + ':' + config.query + ':' + config.objectApiName;
37623
37647
  }
37624
37648
  function keyBuilderFromType$5(luvio, object) {
37625
37649
  const keyParams = {
@@ -37655,7 +37679,7 @@ function getTypeCacheKeys$8$1(rootKeySet, luvio, input, fullPathFactory) {
37655
37679
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
37656
37680
  const rootKey = keyBuilderFromType$5(luvio, input);
37657
37681
  rootKeySet.set(rootKey, {
37658
- namespace: keyPrefix$1,
37682
+ namespace: keyPrefix$2,
37659
37683
  representationName: RepresentationType$8,
37660
37684
  mergeable: false
37661
37685
  });
@@ -37690,7 +37714,7 @@ function ingestError$2(luvio, params, error, snapshotRefresh) {
37690
37714
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
37691
37715
  const storeMetadataParams = {
37692
37716
  ttl: TTL$5,
37693
- namespace: keyPrefix$1,
37717
+ namespace: keyPrefix$2,
37694
37718
  version: VERSION$8$1,
37695
37719
  representationName: RepresentationType$8
37696
37720
  };
@@ -37734,7 +37758,7 @@ function typeCheckConfig$e(untrustedConfig) {
37734
37758
  const untrustedConfig_filters_array = [];
37735
37759
  for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
37736
37760
  const untrustedConfig_filters_item = untrustedConfig_filters[i];
37737
- const referenceSearchFilterInputRepresentationValidationError = validate$a(untrustedConfig_filters_item);
37761
+ const referenceSearchFilterInputRepresentationValidationError = validate$b(untrustedConfig_filters_item);
37738
37762
  if (referenceSearchFilterInputRepresentationValidationError === null) {
37739
37763
  untrustedConfig_filters_array.push(untrustedConfig_filters_item);
37740
37764
  }
@@ -38087,7 +38111,7 @@ function createResourceRequest$a(config) {
38087
38111
  };
38088
38112
  }
38089
38113
 
38090
- function validate$8(obj, path = 'RecordLayoutUserStateInputRepresentation') {
38114
+ function validate$9(obj, path = 'RecordLayoutUserStateInputRepresentation') {
38091
38115
  const v_error = (() => {
38092
38116
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
38093
38117
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -38177,7 +38201,7 @@ function coerceConfigWithDefaults$1(untrusted, layoutUserStateInput) {
38177
38201
  throw new Error(`@wire(updateLayoutUserState) invalid configuration ${stringify$8(untrusted)}`);
38178
38202
  }
38179
38203
  // This will throw if layoutUserStateInput is not a valid input
38180
- validate$8(layoutUserStateInput, 'layoutUserStateInput');
38204
+ validate$9(layoutUserStateInput, 'layoutUserStateInput');
38181
38205
  return {
38182
38206
  ...config,
38183
38207
  layoutUserStateInput: layoutUserStateInput,
@@ -38234,6 +38258,14 @@ function buildNetworkSnapshot$9(luvio, config, options, cacheSnapshot) {
38234
38258
  if (sortBy && typeof sortBy === 'string') {
38235
38259
  response.body.sortBy = sortBy.split(',');
38236
38260
  }
38261
+ // Hand-rolling: The server returns sortBy as null for MRU when we don't pass it as a parameter.
38262
+ // Changing server response to avoid key mismatch
38263
+ const listViewApiName = body.listReference && body.listReference.listViewApiName
38264
+ ? body.listReference.listViewApiName
38265
+ : null;
38266
+ if (listViewApiName === '__Recent' && !sortBy) {
38267
+ response.body.sortBy = [];
38268
+ }
38237
38269
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$2$1(luvio, config, resourceParams, response), () => {
38238
38270
  const cache = new StoreKeyMap();
38239
38271
  getResponseCacheKeys$T(cache, luvio, resourceParams, response.body);
@@ -38408,7 +38440,7 @@ function onFetchResponseSuccess$2$1(luvio, config, resourceParams, response) {
38408
38440
  return onFetchResponseSuccess$3(luvio, config, resourceParams, response);
38409
38441
  }
38410
38442
 
38411
- const contextId$4 = `${keyPrefix$1}__${adapterName$7}`;
38443
+ const contextId$4 = `${keyPrefix$2}__${adapterName$7}`;
38412
38444
  const factory$a = (luvio) => {
38413
38445
  return luvio.withContext(function UiApi__getListRecordsByName(untrustedConfig, adapterContext, requestContext) {
38414
38446
  const config = validateAdapterConfig$a(untrustedConfig, getListRecordsByName_ConfigPropertyNames);
@@ -38421,6 +38453,84 @@ const factory$a = (luvio) => {
38421
38453
  }, { contextId: contextId$4 });
38422
38454
  };
38423
38455
 
38456
+ function validate$8(obj, path = 'RecordInputRepresentation') {
38457
+ const v_error = (() => {
38458
+ if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
38459
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
38460
+ }
38461
+ if (obj.allowSaveOnDuplicate !== undefined) {
38462
+ const obj_allowSaveOnDuplicate = obj.allowSaveOnDuplicate;
38463
+ const path_allowSaveOnDuplicate = path + '.allowSaveOnDuplicate';
38464
+ if (typeof obj_allowSaveOnDuplicate !== 'boolean') {
38465
+ return new TypeError('Expected "boolean" but received "' + typeof obj_allowSaveOnDuplicate + '" (at "' + path_allowSaveOnDuplicate + '")');
38466
+ }
38467
+ }
38468
+ if (obj.apiName !== undefined) {
38469
+ const obj_apiName = obj.apiName;
38470
+ const path_apiName = path + '.apiName';
38471
+ if (typeof obj_apiName !== 'string') {
38472
+ return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
38473
+ }
38474
+ }
38475
+ const obj_fields = obj.fields;
38476
+ const path_fields = path + '.fields';
38477
+ if (typeof obj_fields !== 'object' || ArrayIsArray$2(obj_fields) || obj_fields === null) {
38478
+ return new TypeError('Expected "object" but received "' + typeof obj_fields + '" (at "' + path_fields + '")');
38479
+ }
38480
+ const obj_fields_keys = ObjectKeys$2(obj_fields);
38481
+ for (let i = 0; i < obj_fields_keys.length; i++) {
38482
+ const key = obj_fields_keys[i];
38483
+ const obj_fields_prop = obj_fields[key];
38484
+ const path_fields_prop = path_fields + '["' + key + '"]';
38485
+ let obj_fields_prop_union0 = null;
38486
+ const obj_fields_prop_union0_error = (() => {
38487
+ if (typeof obj_fields_prop !== 'string') {
38488
+ return new TypeError('Expected "string" but received "' + typeof obj_fields_prop + '" (at "' + path_fields_prop + '")');
38489
+ }
38490
+ })();
38491
+ if (obj_fields_prop_union0_error != null) {
38492
+ obj_fields_prop_union0 = obj_fields_prop_union0_error.message;
38493
+ }
38494
+ let obj_fields_prop_union1 = null;
38495
+ const obj_fields_prop_union1_error = (() => {
38496
+ if (typeof obj_fields_prop !== 'number') {
38497
+ return new TypeError('Expected "number" but received "' + typeof obj_fields_prop + '" (at "' + path_fields_prop + '")');
38498
+ }
38499
+ })();
38500
+ if (obj_fields_prop_union1_error != null) {
38501
+ obj_fields_prop_union1 = obj_fields_prop_union1_error.message;
38502
+ }
38503
+ let obj_fields_prop_union2 = null;
38504
+ const obj_fields_prop_union2_error = (() => {
38505
+ if (obj_fields_prop !== null) {
38506
+ return new TypeError('Expected "null" but received "' + typeof obj_fields_prop + '" (at "' + path_fields_prop + '")');
38507
+ }
38508
+ })();
38509
+ if (obj_fields_prop_union2_error != null) {
38510
+ obj_fields_prop_union2 = obj_fields_prop_union2_error.message;
38511
+ }
38512
+ let obj_fields_prop_union3 = null;
38513
+ const obj_fields_prop_union3_error = (() => {
38514
+ if (typeof obj_fields_prop !== 'boolean') {
38515
+ return new TypeError('Expected "boolean" but received "' + typeof obj_fields_prop + '" (at "' + path_fields_prop + '")');
38516
+ }
38517
+ })();
38518
+ if (obj_fields_prop_union3_error != null) {
38519
+ obj_fields_prop_union3 = obj_fields_prop_union3_error.message;
38520
+ }
38521
+ if (obj_fields_prop_union0 && obj_fields_prop_union1 && obj_fields_prop_union2 && obj_fields_prop_union3) {
38522
+ let message = 'Object doesn\'t match union (at "' + path_fields_prop + '")';
38523
+ message += '\n' + obj_fields_prop_union0.split('\n').map((line) => '\t' + line).join('\n');
38524
+ message += '\n' + obj_fields_prop_union1.split('\n').map((line) => '\t' + line).join('\n');
38525
+ message += '\n' + obj_fields_prop_union2.split('\n').map((line) => '\t' + line).join('\n');
38526
+ message += '\n' + obj_fields_prop_union3.split('\n').map((line) => '\t' + line).join('\n');
38527
+ return new TypeError(message);
38528
+ }
38529
+ }
38530
+ })();
38531
+ return v_error === undefined ? null : v_error;
38532
+ }
38533
+
38424
38534
  const VERSION$7$1 = "022d5de1337ec512acb4af43b75ea5e6";
38425
38535
  const RepresentationType$7 = 'LookupValuesRepresentation';
38426
38536
  function normalize$3(input, existing, path, luvio, store, timestamp) {
@@ -38480,7 +38590,7 @@ function getTypeCacheKeys$7$1(rootKeySet, luvio, input, fullPathFactory) {
38480
38590
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
38481
38591
  const rootKey = fullPathFactory();
38482
38592
  rootKeySet.set(rootKey, {
38483
- namespace: keyPrefix$1,
38593
+ namespace: keyPrefix$2,
38484
38594
  representationName: RepresentationType$7,
38485
38595
  mergeable: false
38486
38596
  });
@@ -38584,7 +38694,7 @@ const select$4$1 = (luvio, params, response) => {
38584
38694
  };
38585
38695
 
38586
38696
  function keyBuilder$9$1(luvio, params) {
38587
- return keyPrefix$1 + '::LookupValuesRepresentation:(' + 'dependentFieldBindings:' + params.queryParams.dependentFieldBindings + ',' + 'page:' + params.queryParams.page + ',' + 'pageSize:' + params.queryParams.pageSize + ',' + 'q:' + params.queryParams.q + ',' + 'searchType:' + params.queryParams.searchType + ',' + 'sourceRecordId:' + params.queryParams.sourceRecordId + ',' + 'targetApiName:' + params.queryParams.targetApiName + ',' + 'fieldApiName:' + params.urlParams.fieldApiName + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
38697
+ return keyPrefix$2 + '::LookupValuesRepresentation:(' + 'dependentFieldBindings:' + params.queryParams.dependentFieldBindings + ',' + 'page:' + params.queryParams.page + ',' + 'pageSize:' + params.queryParams.pageSize + ',' + 'q:' + params.queryParams.q + ',' + 'searchType:' + params.queryParams.searchType + ',' + 'sourceRecordId:' + params.queryParams.sourceRecordId + ',' + 'targetApiName:' + params.queryParams.targetApiName + ',' + 'fieldApiName:' + params.urlParams.fieldApiName + ',' + 'objectApiName:' + params.urlParams.objectApiName + ',' + (params.body.sourceRecord === undefined ? 'sourceRecord' : 'sourceRecord:' + params.body.sourceRecord) + ')';
38588
38698
  }
38589
38699
  function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
38590
38700
  getTypeCacheKeys$7$1(storeKeyMap, luvio, response, () => keyBuilder$9$1(luvio, resourceParams));
@@ -38600,8 +38710,8 @@ function createResourceRequest$9(config) {
38600
38710
  return {
38601
38711
  baseUri: '/services/data/v60.0',
38602
38712
  basePath: '/ui-api/lookups/' + config.urlParams.objectApiName + '/' + config.urlParams.fieldApiName + '',
38603
- method: 'get',
38604
- body: null,
38713
+ method: 'post',
38714
+ body: config.body,
38605
38715
  urlParams: config.urlParams,
38606
38716
  queryParams: config.queryParams,
38607
38717
  headers,
@@ -38634,6 +38744,7 @@ const getLookupRecords_ConfigPropertyMetadata = [
38634
38744
  generateParamConfigMetadata$2('searchType', false, 1 /* QueryParameter */, 0 /* String */),
38635
38745
  generateParamConfigMetadata$2('sourceRecordId', false, 1 /* QueryParameter */, 0 /* String */),
38636
38746
  generateParamConfigMetadata$2('targetApiName', false, 1 /* QueryParameter */, 0 /* String */),
38747
+ generateParamConfigMetadata$2('sourceRecord', false, 2 /* Body */, 4 /* Unsupported */),
38637
38748
  ];
38638
38749
  const createResourceParams$8 = /*#__PURE__*/ createResourceParams$Z(getLookupRecords_ConfigPropertyMetadata);
38639
38750
  function keyBuilder$8$1(luvio, config) {
@@ -38643,6 +38754,14 @@ function keyBuilder$8$1(luvio, config) {
38643
38754
  function typeCheckConfig$a(untrustedConfig) {
38644
38755
  const config = {};
38645
38756
  typeCheckConfig$12(untrustedConfig, config, getLookupRecords_ConfigPropertyMetadata);
38757
+ const untrustedConfig_sourceRecord = untrustedConfig.sourceRecord;
38758
+ const referenceRecordInputRepresentationValidationError = validate$8(untrustedConfig_sourceRecord);
38759
+ if (referenceRecordInputRepresentationValidationError === null) {
38760
+ config.sourceRecord = untrustedConfig_sourceRecord;
38761
+ }
38762
+ if (untrustedConfig_sourceRecord === null) {
38763
+ config.sourceRecord = untrustedConfig_sourceRecord;
38764
+ }
38646
38765
  return config;
38647
38766
  }
38648
38767
  function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
@@ -38689,7 +38808,7 @@ function buildNetworkSnapshot$8(luvio, config, options) {
38689
38808
  });
38690
38809
  }
38691
38810
  function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
38692
- return buildNetworkSnapshotCachePolicy$N(context, coercedAdapterRequestContext, buildNetworkSnapshot$8, undefined, false);
38811
+ return buildNetworkSnapshotCachePolicy$N(context, coercedAdapterRequestContext, buildNetworkSnapshot$8, 'get', false);
38693
38812
  }
38694
38813
  function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
38695
38814
  const { luvio, config } = context;
@@ -38739,6 +38858,10 @@ function coerceRequestParams(untrusted) {
38739
38858
  if (targetApiName !== undefined) {
38740
38859
  coercedConfig.targetApiName = targetApiName;
38741
38860
  }
38861
+ const sourceRecord = requestParams.sourceRecord;
38862
+ if (sourceRecord !== undefined) {
38863
+ coercedConfig.sourceRecord = sourceRecord;
38864
+ }
38742
38865
  return coercedConfig;
38743
38866
  }
38744
38867
  function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
@@ -38756,7 +38879,7 @@ function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
38756
38879
  };
38757
38880
  }
38758
38881
 
38759
- const contextId$3 = `${keyPrefix$1}__${adapterName$6}`;
38882
+ const contextId$3 = `${keyPrefix$2}__${adapterName$6}`;
38760
38883
  const paramNames = {
38761
38884
  displayName: 'getLookupRecords',
38762
38885
  parameters: {
@@ -38997,7 +39120,7 @@ function getTypeCacheKeys$6$1(rootKeySet, luvio, input, fullPathFactory) {
38997
39120
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
38998
39121
  const rootKey = fullPathFactory();
38999
39122
  rootKeySet.set(rootKey, {
39000
- namespace: keyPrefix$1,
39123
+ namespace: keyPrefix$2,
39001
39124
  representationName: RepresentationType$6,
39002
39125
  mergeable: false
39003
39126
  });
@@ -39106,7 +39229,7 @@ function getTypeCacheKeys$5$1(rootKeySet, luvio, input, fullPathFactory) {
39106
39229
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
39107
39230
  const rootKey = fullPathFactory();
39108
39231
  rootKeySet.set(rootKey, {
39109
- namespace: keyPrefix$1,
39232
+ namespace: keyPrefix$2,
39110
39233
  representationName: RepresentationType$5,
39111
39234
  mergeable: false
39112
39235
  });
@@ -39124,7 +39247,7 @@ function getTypeCacheKeys$5$1(rootKeySet, luvio, input, fullPathFactory) {
39124
39247
  }
39125
39248
 
39126
39249
  function keyBuilder$7$1(luvio, params) {
39127
- return keyPrefix$1 + '::RecordDefaultsRepresentation:(' + 'formFactor:' + params.queryParams.formFactor + ',' + 'optionalFields:' + params.queryParams.optionalFields + ',' + 'recordTypeId:' + params.queryParams.recordTypeId + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
39250
+ return keyPrefix$2 + '::RecordDefaultsRepresentation:(' + 'formFactor:' + params.queryParams.formFactor + ',' + 'optionalFields:' + params.queryParams.optionalFields + ',' + 'recordTypeId:' + params.queryParams.recordTypeId + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
39128
39251
  }
39129
39252
  function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
39130
39253
  getTypeCacheKeys$5$1(storeKeyMap, luvio, response, () => keyBuilder$7$1(luvio, resourceParams));
@@ -39169,7 +39292,7 @@ function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
39169
39292
  return config;
39170
39293
  }
39171
39294
 
39172
- const contextId$2 = `${keyPrefix$1}__${adapterName$4$1}`;
39295
+ const contextId$2 = `${keyPrefix$2}__${adapterName$4$1}`;
39173
39296
  const layoutSelections = select$1A();
39174
39297
  const objectInfoSelections = select$1C();
39175
39298
  function buildSelector(resp) {
@@ -39321,7 +39444,7 @@ const TTL$3$1 = 1000;
39321
39444
  const VERSION$4$1 = "6a63c9ca6dda2e125d94e004f83240d8";
39322
39445
  const RepresentationType$4 = 'RecordTemplateCloneRepresentation';
39323
39446
  function keyBuilder$6$1(luvio, config) {
39324
- return keyPrefix$1 + '::' + RepresentationType$4 + ':' + config.cloneSourceId + ':' + (config.recordTypeId === null ? '' : config.recordTypeId);
39447
+ return keyPrefix$2 + '::' + RepresentationType$4 + ':' + config.cloneSourceId + ':' + (config.recordTypeId === null ? '' : config.recordTypeId);
39325
39448
  }
39326
39449
  function keyBuilderFromType$4(luvio, object) {
39327
39450
  const keyParams = {
@@ -39441,7 +39564,7 @@ function getTypeCacheKeys$4$1(rootKeySet, luvio, input, fullPathFactory) {
39441
39564
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
39442
39565
  const rootKey = keyBuilderFromType$4(luvio, input);
39443
39566
  rootKeySet.set(rootKey, {
39444
- namespace: keyPrefix$1,
39567
+ namespace: keyPrefix$2,
39445
39568
  representationName: RepresentationType$4,
39446
39569
  mergeable: false
39447
39570
  });
@@ -39466,7 +39589,7 @@ const TTL$2$1 = 1000;
39466
39589
  const VERSION$3$1 = "b352a734f919895e97682703b486b649";
39467
39590
  const RepresentationType$3$1 = 'RecordDefaultsTemplateCloneRepresentation';
39468
39591
  function keyBuilder$5$1(luvio, config) {
39469
- return keyPrefix$1 + '::' + RepresentationType$3$1 + ':' + config.cloneSourceId + ':' + (config.recordTypeId === null ? '' : config.recordTypeId);
39592
+ return keyPrefix$2 + '::' + RepresentationType$3$1 + ':' + config.cloneSourceId + ':' + (config.recordTypeId === null ? '' : config.recordTypeId);
39470
39593
  }
39471
39594
  function keyBuilderFromType$3(luvio, object) {
39472
39595
  const keyParams = {
@@ -39555,7 +39678,7 @@ function getTypeCacheKeys$3$1(rootKeySet, luvio, input, fullPathFactory) {
39555
39678
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
39556
39679
  const rootKey = keyBuilderFromType$3(luvio, input);
39557
39680
  rootKeySet.set(rootKey, {
39558
- namespace: keyPrefix$1,
39681
+ namespace: keyPrefix$2,
39559
39682
  representationName: RepresentationType$3$1,
39560
39683
  mergeable: false
39561
39684
  });
@@ -39698,13 +39821,13 @@ function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
39698
39821
  return config;
39699
39822
  }
39700
39823
 
39701
- const contextId$1 = `${keyPrefix$1}__${adapterName$3$1}`;
39824
+ const contextId$1 = `${keyPrefix$2}__${adapterName$3$1}`;
39702
39825
  const DEFAULT_RECORD_TYPE_ID_KEY = 'defaultRecordTypeId';
39703
39826
  const RECORD_TEMPLATE_CLONE_ERROR_VERSION = 'RECORD_TEMPLATE_CLONE_ERROR_VERSION_1';
39704
39827
  const RECORD_TEMPLATE_CLONE_ERROR_STORE_METADATA_PARAMS = {
39705
39828
  ttl: TTL$2$1,
39706
39829
  representationName: '',
39707
- namespace: keyPrefix$1,
39830
+ namespace: keyPrefix$2,
39708
39831
  version: RECORD_TEMPLATE_CLONE_ERROR_VERSION,
39709
39832
  };
39710
39833
  function saveDefaultRecordTypeId(context, objectInfo) {
@@ -39859,7 +39982,7 @@ const TTL$1$1 = 30000;
39859
39982
  const VERSION$2$1 = "665de0fdde39efd6f1098e374117ef58";
39860
39983
  const RepresentationType$2$1 = 'RecordTemplateCreateRepresentation';
39861
39984
  function keyBuilder$4$1(luvio, config) {
39862
- return keyPrefix$1 + '::' + RepresentationType$2$1 + ':' + config.apiName + ':' + (config.recordTypeId === null ? '' : config.recordTypeId);
39985
+ return keyPrefix$2 + '::' + RepresentationType$2$1 + ':' + config.apiName + ':' + (config.recordTypeId === null ? '' : config.recordTypeId);
39863
39986
  }
39864
39987
  function keyBuilderFromType$2(luvio, object) {
39865
39988
  const keyParams = {
@@ -39966,7 +40089,7 @@ function getTypeCacheKeys$2$1(rootKeySet, luvio, input, fullPathFactory) {
39966
40089
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
39967
40090
  const rootKey = keyBuilderFromType$2(luvio, input);
39968
40091
  rootKeySet.set(rootKey, {
39969
- namespace: keyPrefix$1,
40092
+ namespace: keyPrefix$2,
39970
40093
  representationName: RepresentationType$2$1,
39971
40094
  mergeable: false
39972
40095
  });
@@ -39991,7 +40114,7 @@ const TTL$z = 900000;
39991
40114
  const VERSION$1$1 = "30493e7ac0677e35242026bb959c079e";
39992
40115
  const RepresentationType$1$1 = 'RecordDefaultsTemplateCreateRepresentation';
39993
40116
  function keyBuilder$3$1(luvio, config) {
39994
- return keyPrefix$1 + '::' + RepresentationType$1$1 + ':' + config.objectApiName + ':' + (config.recordTypeId === null ? '' : config.recordTypeId);
40117
+ return keyPrefix$2 + '::' + RepresentationType$1$1 + ':' + config.objectApiName + ':' + (config.recordTypeId === null ? '' : config.recordTypeId);
39995
40118
  }
39996
40119
  function keyBuilderFromType$1(luvio, object) {
39997
40120
  const keyParams = {
@@ -40080,7 +40203,7 @@ function getTypeCacheKeys$1$1(rootKeySet, luvio, input, fullPathFactory) {
40080
40203
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
40081
40204
  const rootKey = keyBuilderFromType$1(luvio, input);
40082
40205
  rootKeySet.set(rootKey, {
40083
- namespace: keyPrefix$1,
40206
+ namespace: keyPrefix$2,
40084
40207
  representationName: RepresentationType$1$1,
40085
40208
  mergeable: false
40086
40209
  });
@@ -40182,7 +40305,7 @@ function ingestError$I(luvio, params, error, snapshotRefresh) {
40182
40305
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
40183
40306
  const storeMetadataParams = {
40184
40307
  ttl: TTL$z,
40185
- namespace: keyPrefix$1,
40308
+ namespace: keyPrefix$2,
40186
40309
  version: VERSION$1$1,
40187
40310
  representationName: RepresentationType$1$1
40188
40311
  };
@@ -40233,7 +40356,7 @@ function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
40233
40356
  return config;
40234
40357
  }
40235
40358
 
40236
- const contextId = `${keyPrefix$1}__${adapterName$2$1}`;
40359
+ const contextId = `${keyPrefix$2}__${adapterName$2$1}`;
40237
40360
  function buildSnapshotRefresh$6(luvio, context, config) {
40238
40361
  return {
40239
40362
  config,
@@ -40478,7 +40601,7 @@ function keyBuilder$1$1(luvio, params) {
40478
40601
  function getResponseCacheKeys$2$1(cacheKeyMap, luvio, resourceParams) {
40479
40602
  const key = keyBuilder$1$1(luvio, resourceParams);
40480
40603
  cacheKeyMap.set(key, {
40481
- namespace: keyPrefix$1,
40604
+ namespace: keyPrefix$2,
40482
40605
  representationName: RepresentationType$O,
40483
40606
  mergeable: false
40484
40607
  });
@@ -40722,7 +40845,7 @@ const factory$2 = (luvio) => {
40722
40845
  const VERSION$1p = "5f97eb4f2c3f805ef9d98ba7f0530b3e";
40723
40846
  const RepresentationType$S = 'ContentDocumentCompositeRepresentation';
40724
40847
  function keyBuilder$1W(luvio, config) {
40725
- return keyPrefix$1 + '::' + RepresentationType$S + ':' + config.contentDocumentId;
40848
+ return keyPrefix$2 + '::' + RepresentationType$S + ':' + config.contentDocumentId;
40726
40849
  }
40727
40850
  function keyBuilderFromType$B(luvio, object) {
40728
40851
  const keyParams = {
@@ -40806,7 +40929,7 @@ function getTypeCacheKeys$18(rootKeySet, luvio, input, fullPathFactory) {
40806
40929
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
40807
40930
  const rootKey = keyBuilderFromType$B(luvio, input);
40808
40931
  rootKeySet.set(rootKey, {
40809
- namespace: keyPrefix$1,
40932
+ namespace: keyPrefix$2,
40810
40933
  representationName: RepresentationType$S,
40811
40934
  mergeable: false
40812
40935
  });
@@ -41273,55 +41396,55 @@ let getSearchFilterMetadata_imperative;
41273
41396
  let getSearchFilterOptions_imperative;
41274
41397
  let getSearchResults_imperative;
41275
41398
  // Adapter Metadata
41276
- const getActionOverridesMetadata = { apiFamily: keyPrefix$1, name: adapterName$N };
41277
- const getAllAppsMetadata = { apiFamily: keyPrefix$1, name: adapterName$G, ttl: 300000 };
41278
- const getAppDetailsMetadata = { apiFamily: keyPrefix$1, name: adapterName$F, ttl: 300000 };
41279
- const getDuplicateConfigurationMetadata = { apiFamily: keyPrefix$1, name: adapterName$E, ttl: 900000 };
41280
- const getDuplicatesMetadata = { apiFamily: keyPrefix$1, name: adapterName$s, ttl: 30000 };
41281
- const getGlobalActionsMetadata = { apiFamily: keyPrefix$1, name: adapterName$R$1, ttl: 300000 };
41282
- const getKeywordSearchResultsMetadata = { apiFamily: keyPrefix$1, name: adapterName$a, ttl: 200 };
41283
- const getLayoutMetadata = { apiFamily: keyPrefix$1, name: adapterName$D, ttl: 900000 };
41284
- const getLayoutUserStateMetadata = { apiFamily: keyPrefix$1, name: adapterName$C, ttl: 900000 };
41285
- const getListInfoByNameMetadata = { apiFamily: keyPrefix$1, name: adapterName$z, ttl: 900000 };
41286
- const getListInfosByNameMetadata = { apiFamily: keyPrefix$1, name: adapterName$B };
41287
- const getListObjectInfoMetadata = { apiFamily: keyPrefix$1, name: adapterName$x, ttl: 900000 };
41288
- const getListRecordsByNameMetadata = { apiFamily: keyPrefix$1, name: 'getListRecordsByName', ttl: 30000 };
41289
- const getListUiMetadata = { apiFamily: keyPrefix$1, name: 'getListUi', ttl: 900000 };
41290
- const getLookupActionsMetadata = { apiFamily: keyPrefix$1, name: adapterName$P, ttl: 300000 };
41291
- const getLookupMetadataMetadata = { apiFamily: keyPrefix$1, name: adapterName$c, ttl: 30000 };
41292
- const getLookupRecordsMetadata = { apiFamily: keyPrefix$1, name: 'getLookupRecords' };
41293
- const getNavItemsMetadata = { apiFamily: keyPrefix$1, name: adapterName$w, ttl: 120000 };
41294
- const getObjectCreateActionsMetadata = { apiFamily: keyPrefix$1, name: adapterName$O, ttl: 300000 };
41295
- const getObjectInfoMetadata = { apiFamily: keyPrefix$1, name: adapterName$S, ttl: 900000 };
41296
- const getObjectInfosMetadata = { apiFamily: keyPrefix$1, name: adapterName$v };
41297
- const getPicklistValuesMetadata = { apiFamily: keyPrefix$1, name: adapterName$t, ttl: 900000 };
41298
- const getPicklistValuesByRecordTypeMetadata = { apiFamily: keyPrefix$1, name: adapterName$u, ttl: 300000 };
41299
- const getQuickActionDefaultsMetadata = { apiFamily: keyPrefix$1, name: adapterName$M, ttl: 900000 };
41300
- const getQuickActionLayoutMetadata = { apiFamily: keyPrefix$1, name: adapterName$Q, ttl: 900000 };
41301
- const getRecordMetadata = { apiFamily: keyPrefix$1, name: 'getRecord', ttl: 30000 };
41302
- const getRecordActionsMetadata = { apiFamily: keyPrefix$1, name: adapterName$L, ttl: 300000 };
41303
- const getRecordAvatarsMetadata = { apiFamily: keyPrefix$1, name: adapterName$r, ttl: 300000 };
41304
- const getRecordCreateDefaultsMetadata = { apiFamily: keyPrefix$1, name: 'getRecordCreateDefaults', ttl: 900000 };
41305
- const getRecordEditActionsMetadata = { apiFamily: keyPrefix$1, name: adapterName$K, ttl: 300000 };
41306
- const getRecordTemplateCloneMetadata = { apiFamily: keyPrefix$1, name: 'getRecordTemplateClone', ttl: 1000 };
41307
- const getRecordTemplateCreateMetadata = { apiFamily: keyPrefix$1, name: 'getRecordTemplateCreate', ttl: 900000 };
41308
- const getRecordUiMetadata = { apiFamily: keyPrefix$1, name: 'getRecordUi', ttl: 900000 };
41309
- const getRecordsMetadata = { apiFamily: keyPrefix$1, name: adapterName$q };
41310
- const getRelatedListActionsMetadata = { apiFamily: keyPrefix$1, name: adapterName$I, ttl: 300000 };
41311
- const getRelatedListCountMetadata = { apiFamily: keyPrefix$1, name: adapterName$o };
41312
- const getRelatedListInfoMetadata = { apiFamily: keyPrefix$1, name: adapterName$l, ttl: 900000 };
41313
- const getRelatedListInfoBatchMetadata = { apiFamily: keyPrefix$1, name: adapterName$n };
41314
- const getRelatedListPreferencesMetadata = { apiFamily: keyPrefix$1, name: adapterName$i, ttl: 900000 };
41315
- const getRelatedListPreferencesBatchMetadata = { apiFamily: keyPrefix$1, name: adapterName$j };
41316
- const getRelatedListRecordActionsMetadata = { apiFamily: keyPrefix$1, name: adapterName$H, ttl: 300000 };
41317
- const getRelatedListRecordsMetadata = { apiFamily: keyPrefix$1, name: adapterName$f, ttl: 30000 };
41318
- const getRelatedListRecordsBatchMetadata = { apiFamily: keyPrefix$1, name: adapterName$g };
41319
- const getRelatedListsActionsMetadata = { apiFamily: keyPrefix$1, name: adapterName$J };
41320
- const getRelatedListsCountMetadata = { apiFamily: keyPrefix$1, name: adapterName$p };
41321
- const getRelatedListsInfoMetadata = { apiFamily: keyPrefix$1, name: adapterName$m };
41322
- const getSearchFilterMetadataMetadata = { apiFamily: keyPrefix$1, name: adapterName$e, ttl: 30000 };
41323
- const getSearchFilterOptionsMetadata = { apiFamily: keyPrefix$1, name: adapterName$d, ttl: 30000 };
41324
- const getSearchResultsMetadata = { apiFamily: keyPrefix$1, name: adapterName$b, ttl: 200 };
41399
+ const getActionOverridesMetadata = { apiFamily: keyPrefix$2, name: adapterName$N };
41400
+ const getAllAppsMetadata = { apiFamily: keyPrefix$2, name: adapterName$G, ttl: 300000 };
41401
+ const getAppDetailsMetadata = { apiFamily: keyPrefix$2, name: adapterName$F, ttl: 300000 };
41402
+ const getDuplicateConfigurationMetadata = { apiFamily: keyPrefix$2, name: adapterName$E, ttl: 900000 };
41403
+ const getDuplicatesMetadata = { apiFamily: keyPrefix$2, name: adapterName$s, ttl: 30000 };
41404
+ const getGlobalActionsMetadata = { apiFamily: keyPrefix$2, name: adapterName$R$1, ttl: 300000 };
41405
+ const getKeywordSearchResultsMetadata = { apiFamily: keyPrefix$2, name: adapterName$a, ttl: 200 };
41406
+ const getLayoutMetadata = { apiFamily: keyPrefix$2, name: adapterName$D, ttl: 900000 };
41407
+ const getLayoutUserStateMetadata = { apiFamily: keyPrefix$2, name: adapterName$C, ttl: 900000 };
41408
+ const getListInfoByNameMetadata = { apiFamily: keyPrefix$2, name: adapterName$z, ttl: 900000 };
41409
+ const getListInfosByNameMetadata = { apiFamily: keyPrefix$2, name: adapterName$B };
41410
+ const getListObjectInfoMetadata = { apiFamily: keyPrefix$2, name: adapterName$x, ttl: 900000 };
41411
+ const getListRecordsByNameMetadata = { apiFamily: keyPrefix$2, name: 'getListRecordsByName', ttl: 30000 };
41412
+ const getListUiMetadata = { apiFamily: keyPrefix$2, name: 'getListUi', ttl: 900000 };
41413
+ const getLookupActionsMetadata = { apiFamily: keyPrefix$2, name: adapterName$P, ttl: 300000 };
41414
+ const getLookupMetadataMetadata = { apiFamily: keyPrefix$2, name: adapterName$c, ttl: 30000 };
41415
+ const getLookupRecordsMetadata = { apiFamily: keyPrefix$2, name: 'getLookupRecords' };
41416
+ const getNavItemsMetadata = { apiFamily: keyPrefix$2, name: adapterName$w, ttl: 120000 };
41417
+ const getObjectCreateActionsMetadata = { apiFamily: keyPrefix$2, name: adapterName$O, ttl: 300000 };
41418
+ const getObjectInfoMetadata = { apiFamily: keyPrefix$2, name: adapterName$S, ttl: 900000 };
41419
+ const getObjectInfosMetadata = { apiFamily: keyPrefix$2, name: adapterName$v };
41420
+ const getPicklistValuesMetadata = { apiFamily: keyPrefix$2, name: adapterName$t, ttl: 900000 };
41421
+ const getPicklistValuesByRecordTypeMetadata = { apiFamily: keyPrefix$2, name: adapterName$u, ttl: 300000 };
41422
+ const getQuickActionDefaultsMetadata = { apiFamily: keyPrefix$2, name: adapterName$M, ttl: 900000 };
41423
+ const getQuickActionLayoutMetadata = { apiFamily: keyPrefix$2, name: adapterName$Q, ttl: 900000 };
41424
+ const getRecordMetadata = { apiFamily: keyPrefix$2, name: 'getRecord', ttl: 30000 };
41425
+ const getRecordActionsMetadata = { apiFamily: keyPrefix$2, name: adapterName$L, ttl: 300000 };
41426
+ const getRecordAvatarsMetadata = { apiFamily: keyPrefix$2, name: adapterName$r, ttl: 300000 };
41427
+ const getRecordCreateDefaultsMetadata = { apiFamily: keyPrefix$2, name: 'getRecordCreateDefaults', ttl: 900000 };
41428
+ const getRecordEditActionsMetadata = { apiFamily: keyPrefix$2, name: adapterName$K, ttl: 300000 };
41429
+ const getRecordTemplateCloneMetadata = { apiFamily: keyPrefix$2, name: 'getRecordTemplateClone', ttl: 1000 };
41430
+ const getRecordTemplateCreateMetadata = { apiFamily: keyPrefix$2, name: 'getRecordTemplateCreate', ttl: 900000 };
41431
+ const getRecordUiMetadata = { apiFamily: keyPrefix$2, name: 'getRecordUi', ttl: 900000 };
41432
+ const getRecordsMetadata = { apiFamily: keyPrefix$2, name: adapterName$q };
41433
+ const getRelatedListActionsMetadata = { apiFamily: keyPrefix$2, name: adapterName$I, ttl: 300000 };
41434
+ const getRelatedListCountMetadata = { apiFamily: keyPrefix$2, name: adapterName$o };
41435
+ const getRelatedListInfoMetadata = { apiFamily: keyPrefix$2, name: adapterName$l, ttl: 900000 };
41436
+ const getRelatedListInfoBatchMetadata = { apiFamily: keyPrefix$2, name: adapterName$n };
41437
+ const getRelatedListPreferencesMetadata = { apiFamily: keyPrefix$2, name: adapterName$i, ttl: 900000 };
41438
+ const getRelatedListPreferencesBatchMetadata = { apiFamily: keyPrefix$2, name: adapterName$j };
41439
+ const getRelatedListRecordActionsMetadata = { apiFamily: keyPrefix$2, name: adapterName$H, ttl: 300000 };
41440
+ const getRelatedListRecordsMetadata = { apiFamily: keyPrefix$2, name: adapterName$f, ttl: 30000 };
41441
+ const getRelatedListRecordsBatchMetadata = { apiFamily: keyPrefix$2, name: adapterName$g };
41442
+ const getRelatedListsActionsMetadata = { apiFamily: keyPrefix$2, name: adapterName$J };
41443
+ const getRelatedListsCountMetadata = { apiFamily: keyPrefix$2, name: adapterName$p };
41444
+ const getRelatedListsInfoMetadata = { apiFamily: keyPrefix$2, name: adapterName$m };
41445
+ const getSearchFilterMetadataMetadata = { apiFamily: keyPrefix$2, name: adapterName$e, ttl: 30000 };
41446
+ const getSearchFilterOptionsMetadata = { apiFamily: keyPrefix$2, name: adapterName$d, ttl: 30000 };
41447
+ const getSearchResultsMetadata = { apiFamily: keyPrefix$2, name: adapterName$b, ttl: 200 };
41325
41448
  function bindExportsTo$1(luvio) {
41326
41449
  // LDS adapters
41327
41450
  const getActionOverrides_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getActionOverrides', getActionOverridesAdapterFactory), getActionOverridesMetadata);
@@ -41640,7 +41763,7 @@ withDefaultLuvio((luvio) => {
41640
41763
  throttle(60, 60000, createLDSAdapter(luvio, 'notifyListInfoUpdateAvailable', notifyUpdateAvailableFactory$1));
41641
41764
  throttle(60, 60000, createLDSAdapter(luvio, 'notifyQuickActionDefaultsUpdateAvailable', notifyUpdateAvailableFactory));
41642
41765
  });
41643
- // version: 1.243.0-c7d8ec9e0
41766
+ // version: 1.245.0-df5596041
41644
41767
 
41645
41768
  var caseSensitiveUserId = '005B0000000GR4OIAW';
41646
41769
 
@@ -46685,20 +46808,20 @@ class AsyncWorkerPool {
46685
46808
  */
46686
46809
 
46687
46810
 
46688
- var DraftActionStatus;
46811
+ var DraftActionStatus$1;
46689
46812
  (function (DraftActionStatus) {
46690
46813
  DraftActionStatus["Pending"] = "pending";
46691
46814
  DraftActionStatus["Uploading"] = "uploading";
46692
46815
  DraftActionStatus["Error"] = "error";
46693
46816
  DraftActionStatus["Completed"] = "completed";
46694
- })(DraftActionStatus || (DraftActionStatus = {}));
46817
+ })(DraftActionStatus$1 || (DraftActionStatus$1 = {}));
46695
46818
  function isDraftError(draft) {
46696
- return draft.status === DraftActionStatus.Error;
46819
+ return draft.status === DraftActionStatus$1.Error;
46697
46820
  }
46698
46821
  function isDraftQueueStateChangeEvent(event) {
46699
- return event.type === DraftQueueEventType.QueueStateChanged;
46822
+ return event.type === DraftQueueEventType$1.QueueStateChanged;
46700
46823
  }
46701
- var ProcessActionResult;
46824
+ var ProcessActionResult$1;
46702
46825
  (function (ProcessActionResult) {
46703
46826
  // non-2xx network error, requires user intervention
46704
46827
  ProcessActionResult["ACTION_ERRORED"] = "ERROR";
@@ -46714,8 +46837,8 @@ var ProcessActionResult;
46714
46837
  ProcessActionResult["BLOCKED_ON_ERROR"] = "BLOCKED_ON_ERROR";
46715
46838
  //waiting for user to execute custom action
46716
46839
  ProcessActionResult["CUSTOM_ACTION_WAITING"] = "CUSTOM_ACTION_WAITING";
46717
- })(ProcessActionResult || (ProcessActionResult = {}));
46718
- var DraftQueueState;
46840
+ })(ProcessActionResult$1 || (ProcessActionResult$1 = {}));
46841
+ var DraftQueueState$1;
46719
46842
  (function (DraftQueueState) {
46720
46843
  /** Currently processing an item in the queue or queue is empty and waiting to process the next item. */
46721
46844
  DraftQueueState["Started"] = "started";
@@ -46734,8 +46857,8 @@ var DraftQueueState;
46734
46857
  * To attempt to force an upload now call startDraftQueue().
46735
46858
  */
46736
46859
  DraftQueueState["Waiting"] = "waiting";
46737
- })(DraftQueueState || (DraftQueueState = {}));
46738
- var DraftQueueEventType;
46860
+ })(DraftQueueState$1 || (DraftQueueState$1 = {}));
46861
+ var DraftQueueEventType$1;
46739
46862
  (function (DraftQueueEventType) {
46740
46863
  /**
46741
46864
  * Triggered after an action had been added to the queue
@@ -46765,13 +46888,13 @@ var DraftQueueEventType;
46765
46888
  * Triggered after the Draft Queue state changes
46766
46889
  */
46767
46890
  DraftQueueEventType["QueueStateChanged"] = "state";
46768
- })(DraftQueueEventType || (DraftQueueEventType = {}));
46769
- var QueueOperationType;
46891
+ })(DraftQueueEventType$1 || (DraftQueueEventType$1 = {}));
46892
+ var QueueOperationType$1;
46770
46893
  (function (QueueOperationType) {
46771
46894
  QueueOperationType["Add"] = "add";
46772
46895
  QueueOperationType["Delete"] = "delete";
46773
46896
  QueueOperationType["Update"] = "update";
46774
- })(QueueOperationType || (QueueOperationType = {}));
46897
+ })(QueueOperationType$1 || (QueueOperationType$1 = {}));
46775
46898
 
46776
46899
  class DraftSynthesisError extends Error {
46777
46900
  constructor(message, errorType) {
@@ -46894,7 +47017,7 @@ function generateUniqueDraftActionId(existingIds) {
46894
47017
  /**
46895
47018
  Use Math.random to generate v4 RFC4122 compliant uuid
46896
47019
  */
46897
- function uuidv4() {
47020
+ function uuidv4$1() {
46898
47021
  const uuid = [];
46899
47022
  for (let i = 0; i < 32; i++) {
46900
47023
  const random = (Math.random() * 16) | 0;
@@ -46939,7 +47062,7 @@ function buildLuvioOverrideForDraftAdapters(luvio, handler, extractTargetIdFromC
46939
47062
  const dispatchResourceRequest = async function (resourceRequest, _context) {
46940
47063
  const resourceRequestCopy = clone$1(resourceRequest);
46941
47064
  resourceRequestCopy.headers = resourceRequestCopy.headers || {};
46942
- resourceRequestCopy.headers[HTTP_HEADER_IDEMPOTENCY_KEY] = uuidv4();
47065
+ resourceRequestCopy.headers[HTTP_HEADER_IDEMPOTENCY_KEY] = uuidv4$1();
46943
47066
  // enable return extra fields for record creation and record update http call
46944
47067
  if (resourceRequest.basePath === '/ui-api/records' &&
46945
47068
  (resourceRequest.method === 'post' || resourceRequest.method === 'patch')) {
@@ -47043,26 +47166,26 @@ async function clearDraftIdSegment(durableStore) {
47043
47166
  }
47044
47167
  }
47045
47168
 
47046
- var CustomActionResultType;
47169
+ var CustomActionResultType$1;
47047
47170
  (function (CustomActionResultType) {
47048
47171
  CustomActionResultType["SUCCESS"] = "SUCCESS";
47049
47172
  CustomActionResultType["FAILURE"] = "FAILURE";
47050
- })(CustomActionResultType || (CustomActionResultType = {}));
47051
- var CustomActionErrorType;
47173
+ })(CustomActionResultType$1 || (CustomActionResultType$1 = {}));
47174
+ var CustomActionErrorType$1;
47052
47175
  (function (CustomActionErrorType) {
47053
47176
  CustomActionErrorType["NETWORK_ERROR"] = "NETWORK_ERROR";
47054
47177
  CustomActionErrorType["CLIENT_ERROR"] = "CLIENT_ERROR";
47055
- })(CustomActionErrorType || (CustomActionErrorType = {}));
47178
+ })(CustomActionErrorType$1 || (CustomActionErrorType$1 = {}));
47056
47179
  function isCustomActionSuccess(result) {
47057
- return result.type === CustomActionResultType.SUCCESS;
47180
+ return result.type === CustomActionResultType$1.SUCCESS;
47058
47181
  }
47059
47182
  function isCustomActionFailed(result) {
47060
- return result.type === CustomActionResultType.FAILURE;
47183
+ return result.type === CustomActionResultType$1.FAILURE;
47061
47184
  }
47062
47185
  function customActionHandler(executor, id, draftQueue) {
47063
47186
  const handle = (action, actionCompleted, actionErrored) => {
47064
47187
  notifyCustomActionToExecute(action, actionCompleted, actionErrored);
47065
- return Promise.resolve(ProcessActionResult.CUSTOM_ACTION_WAITING);
47188
+ return Promise.resolve(ProcessActionResult$1.CUSTOM_ACTION_WAITING);
47066
47189
  };
47067
47190
  const notifyCustomActionToExecute = (action, actionCompleted, actionErrored) => {
47068
47191
  if (executor !== undefined) {
@@ -47073,16 +47196,16 @@ function customActionHandler(executor, id, draftQueue) {
47073
47196
  if (isCustomActionSuccess(result)) {
47074
47197
  actionCompleted({
47075
47198
  ...action,
47076
- status: DraftActionStatus.Completed,
47199
+ status: DraftActionStatus$1.Completed,
47077
47200
  response: createOkResponse(undefined),
47078
47201
  });
47079
47202
  }
47080
47203
  else if (isCustomActionFailed(result)) {
47081
47204
  actionErrored({
47082
47205
  ...action,
47083
- status: DraftActionStatus.Error,
47206
+ status: DraftActionStatus$1.Error,
47084
47207
  error: result.error.message,
47085
- }, result.error.type === CustomActionErrorType.NETWORK_ERROR);
47208
+ }, result.error.type === CustomActionErrorType$1.NETWORK_ERROR);
47086
47209
  }
47087
47210
  };
47088
47211
  const buildPendingAction = (action, queue) => {
@@ -47091,7 +47214,7 @@ function customActionHandler(executor, id, draftQueue) {
47091
47214
  return Promise.resolve({
47092
47215
  id,
47093
47216
  targetId,
47094
- status: DraftActionStatus.Pending,
47217
+ status: DraftActionStatus$1.Pending,
47095
47218
  data,
47096
47219
  tag,
47097
47220
  timestamp: Date.now(),
@@ -47103,7 +47226,7 @@ function customActionHandler(executor, id, draftQueue) {
47103
47226
  const { id } = action;
47104
47227
  const queueOperations = [];
47105
47228
  queueOperations.push({
47106
- type: QueueOperationType.Delete,
47229
+ type: QueueOperationType$1.Delete,
47107
47230
  id: id,
47108
47231
  });
47109
47232
  return queueOperations;
@@ -47153,8 +47276,8 @@ class DurableDraftQueue {
47153
47276
  this.minimumRetryInterval = 250;
47154
47277
  this.maximumRetryInterval = 32000;
47155
47278
  this.draftQueueChangedListeners = [];
47156
- this.state = DraftQueueState.Stopped;
47157
- this.userState = DraftQueueState.Stopped;
47279
+ this.state = DraftQueueState$1.Stopped;
47280
+ this.userState = DraftQueueState$1.Stopped;
47158
47281
  this.uploadingActionId = undefined;
47159
47282
  this.timeoutHandler = undefined;
47160
47283
  this.handlers = {};
@@ -47181,8 +47304,8 @@ class DurableDraftQueue {
47181
47304
  return this.state;
47182
47305
  }
47183
47306
  async startQueue() {
47184
- this.userState = DraftQueueState.Started;
47185
- if (this.state === DraftQueueState.Started) {
47307
+ this.userState = DraftQueueState$1.Started;
47308
+ if (this.state === DraftQueueState$1.Started) {
47186
47309
  // Do nothing if the queue state is already started
47187
47310
  return;
47188
47311
  }
@@ -47193,30 +47316,30 @@ class DurableDraftQueue {
47193
47316
  return;
47194
47317
  }
47195
47318
  this.retryIntervalMilliseconds = 0;
47196
- this.state = DraftQueueState.Started;
47319
+ this.state = DraftQueueState$1.Started;
47197
47320
  await this.notifyChangedListeners({
47198
- type: DraftQueueEventType.QueueStateChanged,
47321
+ type: DraftQueueEventType$1.QueueStateChanged,
47199
47322
  state: this.state,
47200
47323
  });
47201
47324
  const result = await this.processNextAction();
47202
47325
  switch (result) {
47203
- case ProcessActionResult.BLOCKED_ON_ERROR:
47204
- this.state = DraftQueueState.Error;
47326
+ case ProcessActionResult$1.BLOCKED_ON_ERROR:
47327
+ this.state = DraftQueueState$1.Error;
47205
47328
  return Promise.reject();
47206
47329
  default:
47207
47330
  return Promise.resolve();
47208
47331
  }
47209
47332
  }
47210
47333
  stopQueue() {
47211
- this.userState = DraftQueueState.Stopped;
47212
- if (this.state === DraftQueueState.Stopped) {
47334
+ this.userState = DraftQueueState$1.Stopped;
47335
+ if (this.state === DraftQueueState$1.Stopped) {
47213
47336
  // Do nothing if the queue state is already stopped
47214
47337
  return Promise.resolve();
47215
47338
  }
47216
47339
  this.stopQueueManually();
47217
47340
  return this.notifyChangedListeners({
47218
- type: DraftQueueEventType.QueueStateChanged,
47219
- state: DraftQueueState.Stopped,
47341
+ type: DraftQueueEventType$1.QueueStateChanged,
47342
+ state: DraftQueueState$1.Stopped,
47220
47343
  });
47221
47344
  }
47222
47345
  /**
@@ -47227,7 +47350,7 @@ class DurableDraftQueue {
47227
47350
  clearTimeout(this.timeoutHandler);
47228
47351
  this.timeoutHandler = undefined;
47229
47352
  }
47230
- this.state = DraftQueueState.Stopped;
47353
+ this.state = DraftQueueState$1.Stopped;
47231
47354
  }
47232
47355
  async getQueueActions() {
47233
47356
  const drafts = (await this.draftStore.getAllDrafts());
@@ -47237,7 +47360,7 @@ class DurableDraftQueue {
47237
47360
  }
47238
47361
  drafts.forEach((draft) => {
47239
47362
  if (draft.id === this.uploadingActionId) {
47240
- draft.status = DraftActionStatus.Uploading;
47363
+ draft.status = DraftActionStatus$1.Uploading;
47241
47364
  }
47242
47365
  queue.push(draft);
47243
47366
  });
@@ -47263,11 +47386,11 @@ class DurableDraftQueue {
47263
47386
  await this.draftStore.writeAction(pendingAction);
47264
47387
  queue = await this.getQueueActions();
47265
47388
  await this.notifyChangedListeners({
47266
- type: DraftQueueEventType.ActionAdded,
47389
+ type: DraftQueueEventType$1.ActionAdded,
47267
47390
  action: pendingAction,
47268
47391
  });
47269
47392
  await handler.handleActionEnqueued(pendingAction, queue);
47270
- if (this.state === DraftQueueState.Started) {
47393
+ if (this.state === DraftQueueState$1.Started) {
47271
47394
  this.processNextAction();
47272
47395
  }
47273
47396
  const actionData = (await handler.getDataForAction(pendingAction));
@@ -47299,10 +47422,10 @@ class DurableDraftQueue {
47299
47422
  this.retryIntervalMilliseconds = 0;
47300
47423
  this.uploadingActionId = undefined;
47301
47424
  await this.notifyChangedListeners({
47302
- type: DraftQueueEventType.ActionCompleted,
47425
+ type: DraftQueueEventType$1.ActionCompleted,
47303
47426
  action,
47304
47427
  });
47305
- if (this.state === DraftQueueState.Started) {
47428
+ if (this.state === DraftQueueState$1.Started) {
47306
47429
  this.processNextAction();
47307
47430
  }
47308
47431
  },
@@ -47312,12 +47435,12 @@ class DurableDraftQueue {
47312
47435
  if (actionDataChanged === true) {
47313
47436
  await this.draftStore.writeAction({
47314
47437
  ...action,
47315
- status: DraftActionStatus.Pending,
47438
+ status: DraftActionStatus$1.Pending,
47316
47439
  });
47317
47440
  }
47318
47441
  this.uploadingActionId = undefined;
47319
- if (retry && this.state !== DraftQueueState.Stopped) {
47320
- this.state = DraftQueueState.Waiting;
47442
+ if (retry && this.state !== DraftQueueState$1.Stopped) {
47443
+ this.state = DraftQueueState$1.Waiting;
47321
47444
  return retryDelayInMs !== undefined
47322
47445
  ? this.scheduleRetryWithSpecifiedDelay(retryDelayInMs)
47323
47446
  : this.scheduleRetry();
@@ -47341,27 +47464,27 @@ class DurableDraftQueue {
47341
47464
  const action = queue[0];
47342
47465
  if (action === undefined) {
47343
47466
  this.processingAction = undefined;
47344
- return ProcessActionResult.NO_ACTION_TO_PROCESS;
47467
+ return ProcessActionResult$1.NO_ACTION_TO_PROCESS;
47345
47468
  }
47346
47469
  const { status, id } = action;
47347
- if (status === DraftActionStatus.Error) {
47348
- this.state = DraftQueueState.Error;
47470
+ if (status === DraftActionStatus$1.Error) {
47471
+ this.state = DraftQueueState$1.Error;
47349
47472
  this.processingAction = undefined;
47350
- return ProcessActionResult.BLOCKED_ON_ERROR;
47473
+ return ProcessActionResult$1.BLOCKED_ON_ERROR;
47351
47474
  }
47352
47475
  if (id === this.uploadingActionId) {
47353
- this.state = DraftQueueState.Started;
47476
+ this.state = DraftQueueState$1.Started;
47354
47477
  this.processingAction = undefined;
47355
- return ProcessActionResult.ACTION_ALREADY_PROCESSING;
47478
+ return ProcessActionResult$1.ACTION_ALREADY_PROCESSING;
47356
47479
  }
47357
47480
  this.uploadingActionId = id;
47358
47481
  this.processingAction = undefined;
47359
- if (this.state === DraftQueueState.Waiting) {
47360
- this.state = DraftQueueState.Started;
47482
+ if (this.state === DraftQueueState$1.Waiting) {
47483
+ this.state = DraftQueueState$1.Started;
47361
47484
  }
47362
47485
  this.notifyChangedListeners({
47363
- type: DraftQueueEventType.ActionUploading,
47364
- action: { ...action, status: DraftActionStatus.Uploading },
47486
+ type: DraftQueueEventType$1.ActionUploading,
47487
+ action: { ...action, status: DraftActionStatus$1.Uploading },
47365
47488
  });
47366
47489
  return this.handle(action);
47367
47490
  }
@@ -47374,14 +47497,14 @@ class DurableDraftQueue {
47374
47497
  }
47375
47498
  const errorAction = {
47376
47499
  ...action,
47377
- status: DraftActionStatus.Error,
47500
+ status: DraftActionStatus$1.Error,
47378
47501
  error,
47379
47502
  metadata: newMetadata,
47380
47503
  };
47381
47504
  await this.draftStore.writeAction(errorAction);
47382
- this.state = DraftQueueState.Error;
47505
+ this.state = DraftQueueState$1.Error;
47383
47506
  return this.notifyChangedListeners({
47384
- type: DraftQueueEventType.ActionFailed,
47507
+ type: DraftQueueEventType$1.ActionFailed,
47385
47508
  action: errorAction,
47386
47509
  });
47387
47510
  }
@@ -47400,7 +47523,7 @@ class DurableDraftQueue {
47400
47523
  * started
47401
47524
  */
47402
47525
  async startQueueSafe() {
47403
- if (this.userState === DraftQueueState.Started && this.state !== DraftQueueState.Started) {
47526
+ if (this.userState === DraftQueueState$1.Started && this.state !== DraftQueueState$1.Started) {
47404
47527
  await this.startQueue();
47405
47528
  }
47406
47529
  }
@@ -47427,11 +47550,11 @@ class DurableDraftQueue {
47427
47550
  }
47428
47551
  await handler.handleActionRemoved(action, queue.filter((x) => x.id !== actionId));
47429
47552
  await this.notifyChangedListeners({
47430
- type: DraftQueueEventType.ActionDeleted,
47553
+ type: DraftQueueEventType$1.ActionDeleted,
47431
47554
  action,
47432
47555
  });
47433
- if (this.userState === DraftQueueState.Started &&
47434
- this.state !== DraftQueueState.Started &&
47556
+ if (this.userState === DraftQueueState$1.Started &&
47557
+ this.state !== DraftQueueState$1.Started &&
47435
47558
  this.replacingAction === undefined) {
47436
47559
  await this.startQueue();
47437
47560
  }
@@ -47461,14 +47584,14 @@ class DurableDraftQueue {
47461
47584
  action.metadata = handler.updateMetadata(action.metadata, metadata);
47462
47585
  await this.draftStore.writeAction(action);
47463
47586
  await this.notifyChangedListeners({
47464
- type: DraftQueueEventType.ActionUpdated,
47587
+ type: DraftQueueEventType$1.ActionUpdated,
47465
47588
  action: action,
47466
47589
  });
47467
47590
  return action;
47468
47591
  }
47469
47592
  scheduleRetryWithSpecifiedDelay(retryDelayInMs) {
47470
47593
  this.timeoutHandler = setTimeout(() => {
47471
- if (this.state !== DraftQueueState.Stopped) {
47594
+ if (this.state !== DraftQueueState$1.Stopped) {
47472
47595
  this.processNextAction();
47473
47596
  }
47474
47597
  }, retryDelayInMs);
@@ -47504,11 +47627,11 @@ class DurableDraftQueue {
47504
47627
  if (targetTag !== sourceTag) {
47505
47628
  throw Error('Cannot replace/merge actions for different tags.');
47506
47629
  }
47507
- if (targetStatus === DraftActionStatus.Completed ||
47508
- targetStatus === DraftActionStatus.Uploading) {
47630
+ if (targetStatus === DraftActionStatus$1.Completed ||
47631
+ targetStatus === DraftActionStatus$1.Uploading) {
47509
47632
  throw Error(`Cannot replace/merge actions when targetAction is in ${targetStatus} status.`);
47510
47633
  }
47511
- if (sourceStatus !== DraftActionStatus.Pending) {
47634
+ if (sourceStatus !== DraftActionStatus$1.Pending) {
47512
47635
  throw Error(`Cannot replace/merge actions when sourceAction is in ${sourceStatus} status.`);
47513
47636
  }
47514
47637
  if (targetVersion !== sourceVersion) {
@@ -47538,7 +47661,7 @@ class DurableDraftQueue {
47538
47661
  // update the target
47539
47662
  await this.draftStore.writeAction(updatedTarget);
47540
47663
  await this.notifyChangedListeners({
47541
- type: DraftQueueEventType.ActionUpdated,
47664
+ type: DraftQueueEventType$1.ActionUpdated,
47542
47665
  action: updatedTarget,
47543
47666
  });
47544
47667
  // remove the source from queue
@@ -47637,7 +47760,7 @@ class DurableDraftStore {
47637
47760
  const { draftStore } = this;
47638
47761
  for (let i = 0, len = queueOperations.length; i < len; i++) {
47639
47762
  const operation = queueOperations[i];
47640
- if (operation.type === QueueOperationType.Delete) {
47763
+ if (operation.type === QueueOperationType$1.Delete) {
47641
47764
  const action = draftStore[operation.id];
47642
47765
  if (action !== undefined) {
47643
47766
  delete draftStore[operation.id];
@@ -47774,9 +47897,9 @@ class AbstractResourceRequestActionHandler {
47774
47897
  await actionCompleted({
47775
47898
  ...action,
47776
47899
  response,
47777
- status: DraftActionStatus.Completed,
47900
+ status: DraftActionStatus$1.Completed,
47778
47901
  });
47779
- return ProcessActionResult.ACTION_SUCCEEDED;
47902
+ return ProcessActionResult$1.ACTION_SUCCEEDED;
47780
47903
  }
47781
47904
  let shouldRetry = false;
47782
47905
  let retryDelayInMs = undefined;
@@ -47797,7 +47920,7 @@ class AbstractResourceRequestActionHandler {
47797
47920
  const errorCode = response.body[0].errorCode;
47798
47921
  if (errorCode === ERROR_CODE_IDEMPOTENCY_KEY_USED_DIFFERENT_USER) {
47799
47922
  updatedAction.data.headers = updatedAction.data.headers || {};
47800
- updatedAction.data.headers[HTTP_HEADER_IDEMPOTENCY_KEY] = uuidv4();
47923
+ updatedAction.data.headers[HTTP_HEADER_IDEMPOTENCY_KEY] = uuidv4$1();
47801
47924
  retryDelayInMs = 0;
47802
47925
  actionDataChanged = true;
47803
47926
  }
@@ -47814,13 +47937,13 @@ class AbstractResourceRequestActionHandler {
47814
47937
  : {
47815
47938
  ...updatedAction,
47816
47939
  error: response,
47817
- status: DraftActionStatus.Error,
47940
+ status: DraftActionStatus$1.Error,
47818
47941
  }, shouldRetry, retryDelayInMs, actionDataChanged);
47819
- return ProcessActionResult.ACTION_ERRORED;
47942
+ return ProcessActionResult$1.ACTION_ERRORED;
47820
47943
  }
47821
47944
  catch (e) {
47822
47945
  await actionErrored(action, true);
47823
- return ProcessActionResult.NETWORK_ERROR;
47946
+ return ProcessActionResult$1.NETWORK_ERROR;
47824
47947
  }
47825
47948
  }
47826
47949
  async buildPendingAction(request, queue) {
@@ -47838,7 +47961,7 @@ class AbstractResourceRequestActionHandler {
47838
47961
  targetId,
47839
47962
  tag,
47840
47963
  data: request,
47841
- status: DraftActionStatus.Pending,
47964
+ status: DraftActionStatus$1.Pending,
47842
47965
  id: generateUniqueDraftActionId(queue.map((x) => x.id)),
47843
47966
  timestamp: Date.now(),
47844
47967
  metadata: {},
@@ -47904,11 +48027,11 @@ class AbstractResourceRequestActionHandler {
47904
48027
  };
47905
48028
  // item needs to be replaced with a new item at the new record key
47906
48029
  queueOperations.push({
47907
- type: QueueOperationType.Delete,
48030
+ type: QueueOperationType$1.Delete,
47908
48031
  id: queueActionId,
47909
48032
  });
47910
48033
  queueOperations.push({
47911
- type: QueueOperationType.Add,
48034
+ type: QueueOperationType$1.Add,
47912
48035
  action: updatedAction,
47913
48036
  });
47914
48037
  }
@@ -47923,7 +48046,7 @@ class AbstractResourceRequestActionHandler {
47923
48046
  };
47924
48047
  // item needs to be updated
47925
48048
  queueOperations.push({
47926
- type: QueueOperationType.Update,
48049
+ type: QueueOperationType$1.Update,
47927
48050
  id: queueActionId,
47928
48051
  action: updatedAction,
47929
48052
  });
@@ -47934,7 +48057,7 @@ class AbstractResourceRequestActionHandler {
47934
48057
  }
47935
48058
  // delete completed action
47936
48059
  queueOperations.push({
47937
- type: QueueOperationType.Delete,
48060
+ type: QueueOperationType$1.Delete,
47938
48061
  id: action.id,
47939
48062
  });
47940
48063
  return queueOperations;
@@ -47970,7 +48093,7 @@ class AbstractResourceRequestActionHandler {
47970
48093
  synchronousIngest: this.synchronousIngest.bind(this),
47971
48094
  buildCacheKeysForResponse: this.buildCacheKeysFromResponse.bind(this),
47972
48095
  });
47973
- const recordsNeedingReplay = queueOperations.filter((x) => x.type === QueueOperationType.Update);
48096
+ const recordsNeedingReplay = queueOperations.filter((x) => x.type === QueueOperationType$1.Update);
47974
48097
  for (const recordNeedingReplay of recordsNeedingReplay) {
47975
48098
  const { action } = recordNeedingReplay;
47976
48099
  if (isResourceRequestAction(action)) {
@@ -47998,7 +48121,7 @@ class AbstractResourceRequestActionHandler {
47998
48121
  }
47999
48122
  if (this.isActionOfType(targetAction) &&
48000
48123
  this.isActionOfType(sourceAction)) {
48001
- targetAction.status = DraftActionStatus.Pending;
48124
+ targetAction.status = DraftActionStatus$1.Pending;
48002
48125
  targetAction.data = sourceAction.data;
48003
48126
  return targetAction;
48004
48127
  }
@@ -48036,7 +48159,7 @@ class AbstractResourceRequestActionHandler {
48036
48159
  // overlay metadata
48037
48160
  merged.metadata = { ...targetMetadata, ...sourceMetadata };
48038
48161
  // put status back to pending to auto upload if queue is active and targed is at the head.
48039
- merged.status = DraftActionStatus.Pending;
48162
+ merged.status = DraftActionStatus$1.Pending;
48040
48163
  return merged;
48041
48164
  }
48042
48165
  shouldDeleteActionByTagOnRemoval(action) {
@@ -48072,7 +48195,7 @@ class AbstractResourceRequestActionHandler {
48072
48195
  async ingestResponses(responses, action) {
48073
48196
  const luvio = this.getLuvio();
48074
48197
  await luvio.handleSuccessResponse(() => {
48075
- if (action.status === DraftActionStatus.Completed) {
48198
+ if (action.status === DraftActionStatus$1.Completed) {
48076
48199
  const mappings = this.getRedirectMappings(action);
48077
48200
  if (mappings) {
48078
48201
  mappings.forEach((mapping) => {
@@ -48127,14 +48250,14 @@ function isResourceRequestAction(action) {
48127
48250
  /**
48128
48251
  * Denotes what kind of operation a DraftQueueItem represents.
48129
48252
  */
48130
- var DraftActionOperationType;
48253
+ var DraftActionOperationType$1;
48131
48254
  (function (DraftActionOperationType) {
48132
48255
  DraftActionOperationType["Create"] = "create";
48133
48256
  DraftActionOperationType["Update"] = "update";
48134
48257
  DraftActionOperationType["Delete"] = "delete";
48135
48258
  DraftActionOperationType["Custom"] = "custom";
48136
- })(DraftActionOperationType || (DraftActionOperationType = {}));
48137
- var DraftQueueOperationType;
48259
+ })(DraftActionOperationType$1 || (DraftActionOperationType$1 = {}));
48260
+ var DraftQueueOperationType$1;
48138
48261
  (function (DraftQueueOperationType) {
48139
48262
  DraftQueueOperationType["ItemAdded"] = "added";
48140
48263
  DraftQueueOperationType["ItemUploading"] = "uploading";
@@ -48144,7 +48267,7 @@ var DraftQueueOperationType;
48144
48267
  DraftQueueOperationType["ItemUpdated"] = "updated";
48145
48268
  DraftQueueOperationType["QueueStarted"] = "started";
48146
48269
  DraftQueueOperationType["QueueStopped"] = "stopped";
48147
- })(DraftQueueOperationType || (DraftQueueOperationType = {}));
48270
+ })(DraftQueueOperationType$1 || (DraftQueueOperationType$1 = {}));
48148
48271
  /**
48149
48272
  * Converts the internal DraftAction's ResourceRequest into
48150
48273
  * a DraftActionOperationType.
@@ -48158,11 +48281,11 @@ function getOperationTypeFrom(action) {
48158
48281
  switch (action.data.method) {
48159
48282
  case 'put':
48160
48283
  case 'patch':
48161
- return DraftActionOperationType.Update;
48284
+ return DraftActionOperationType$1.Update;
48162
48285
  case 'post':
48163
- return DraftActionOperationType.Create;
48286
+ return DraftActionOperationType$1.Create;
48164
48287
  case 'delete':
48165
- return DraftActionOperationType.Delete;
48288
+ return DraftActionOperationType$1.Delete;
48166
48289
  default:
48167
48290
  // eslint-disable-next-line @salesforce/lds/no-error-in-production
48168
48291
  throw new Error(`${action.data.method} is an unsupported request method type for DraftQueue.`);
@@ -48174,7 +48297,7 @@ function getOperationTypeFrom(action) {
48174
48297
  }
48175
48298
  }
48176
48299
  else {
48177
- return DraftActionOperationType.Custom;
48300
+ return DraftActionOperationType$1.Custom;
48178
48301
  }
48179
48302
  }
48180
48303
  function toQueueState(queue) {
@@ -48189,13 +48312,13 @@ class DraftManager {
48189
48312
  constructor(draftQueue) {
48190
48313
  this.listeners = [];
48191
48314
  this.draftEventsShouldBeEmitted = [
48192
- DraftQueueEventType.ActionAdded,
48193
- DraftQueueEventType.ActionUploading,
48194
- DraftQueueEventType.ActionCompleted,
48195
- DraftQueueEventType.ActionDeleted,
48196
- DraftQueueEventType.ActionFailed,
48197
- DraftQueueEventType.ActionUpdated,
48198
- DraftQueueEventType.QueueStateChanged,
48315
+ DraftQueueEventType$1.ActionAdded,
48316
+ DraftQueueEventType$1.ActionUploading,
48317
+ DraftQueueEventType$1.ActionCompleted,
48318
+ DraftQueueEventType$1.ActionDeleted,
48319
+ DraftQueueEventType$1.ActionFailed,
48320
+ DraftQueueEventType$1.ActionUpdated,
48321
+ DraftQueueEventType$1.QueueStateChanged,
48199
48322
  ];
48200
48323
  this.draftQueue = draftQueue;
48201
48324
  draftQueue.registerOnChangedListener((event) => {
@@ -48207,28 +48330,28 @@ class DraftManager {
48207
48330
  }
48208
48331
  draftQueueEventTypeToOperationType(type) {
48209
48332
  switch (type) {
48210
- case DraftQueueEventType.ActionAdded:
48211
- return DraftQueueOperationType.ItemAdded;
48212
- case DraftQueueEventType.ActionUploading:
48213
- return DraftQueueOperationType.ItemUploading;
48214
- case DraftQueueEventType.ActionCompleted:
48215
- return DraftQueueOperationType.ItemCompleted;
48216
- case DraftQueueEventType.ActionDeleted:
48217
- return DraftQueueOperationType.ItemDeleted;
48218
- case DraftQueueEventType.ActionFailed:
48219
- return DraftQueueOperationType.ItemFailed;
48220
- case DraftQueueEventType.ActionUpdated:
48221
- return DraftQueueOperationType.ItemUpdated;
48333
+ case DraftQueueEventType$1.ActionAdded:
48334
+ return DraftQueueOperationType$1.ItemAdded;
48335
+ case DraftQueueEventType$1.ActionUploading:
48336
+ return DraftQueueOperationType$1.ItemUploading;
48337
+ case DraftQueueEventType$1.ActionCompleted:
48338
+ return DraftQueueOperationType$1.ItemCompleted;
48339
+ case DraftQueueEventType$1.ActionDeleted:
48340
+ return DraftQueueOperationType$1.ItemDeleted;
48341
+ case DraftQueueEventType$1.ActionFailed:
48342
+ return DraftQueueOperationType$1.ItemFailed;
48343
+ case DraftQueueEventType$1.ActionUpdated:
48344
+ return DraftQueueOperationType$1.ItemUpdated;
48222
48345
  default:
48223
48346
  throw Error('Unsupported event type');
48224
48347
  }
48225
48348
  }
48226
48349
  draftQueueStateToOperationType(state) {
48227
48350
  switch (state) {
48228
- case DraftQueueState.Started:
48229
- return DraftQueueOperationType.QueueStarted;
48230
- case DraftQueueState.Stopped:
48231
- return DraftQueueOperationType.QueueStopped;
48351
+ case DraftQueueState$1.Started:
48352
+ return DraftQueueOperationType$1.QueueStarted;
48353
+ case DraftQueueState$1.Stopped:
48354
+ return DraftQueueOperationType$1.QueueStopped;
48232
48355
  default:
48233
48356
  throw Error('Unsupported event type');
48234
48357
  }
@@ -54195,30 +54318,36 @@ function makeRecordDenormalizingDurableStore(luvio, durableStore, getStoreRecord
54195
54318
  const operationsWithDenormedRecords = [];
54196
54319
  for (let i = 0, len = operations.length; i < len; i++) {
54197
54320
  const operation = operations[i];
54198
- if (durableStore.plugin !== undefined &&
54199
- durableStore.plugin.supportsBatchUpdates !== undefined &&
54200
- durableStore.plugin.supportsBatchUpdates() === true) {
54201
- if (operation.segment !== DefaultDurableSegment ||
54202
- operation.type !== 'setEntries') {
54203
- operationsWithDenormedRecords.push(operation);
54204
- continue;
54321
+ if (operation.type === 'setMetadata') {
54322
+ // if setMetadata also contains entry data then it needs to be denormalized.
54323
+ const keys$1 = keys$3$1(operation.entries);
54324
+ if (keys$1.length > 0) {
54325
+ const firstKey = keys$1[0];
54326
+ // casted to any to check if data exists
54327
+ const firstEntry = operation.entries[firstKey];
54328
+ // it is not possible for setMetadata to contain entries with both data and no data in the same operation.
54329
+ // this is determined by the plugin supporting update batch calls before it gets to this HOF.
54330
+ // so we only need to check one entry to confirm this for performance
54331
+ if (firstEntry.data !== undefined) {
54332
+ operationsWithDenormedRecords.push({
54333
+ ...operation,
54334
+ entries: denormalizeEntries(operation.entries),
54335
+ });
54336
+ }
54337
+ else {
54338
+ operationsWithDenormedRecords.push(operation);
54339
+ }
54205
54340
  }
54206
- operationsWithDenormedRecords.push({
54207
- ...operation,
54208
- entries: denormalizeEntries(operation.entries),
54209
- });
54341
+ continue;
54210
54342
  }
54211
- else {
54212
- if (operation.segment !== DefaultDurableSegment ||
54213
- operation.type === 'evictEntries') {
54214
- operationsWithDenormedRecords.push(operation);
54215
- continue;
54216
- }
54217
- operationsWithDenormedRecords.push({
54218
- ...operation,
54219
- entries: denormalizeEntries(operation.entries),
54220
- });
54343
+ if (operation.segment !== DefaultDurableSegment || operation.type === 'evictEntries') {
54344
+ operationsWithDenormedRecords.push(operation);
54345
+ continue;
54221
54346
  }
54347
+ operationsWithDenormedRecords.push({
54348
+ ...operation,
54349
+ entries: denormalizeEntries(operation.entries),
54350
+ });
54222
54351
  }
54223
54352
  return durableStore.batchOperations(operationsWithDenormedRecords);
54224
54353
  };
@@ -56474,29 +56603,29 @@ const withInstrumentation = (operation, config) => {
56474
56603
  function instrumentDraftQueue(queue) {
56475
56604
  queue.registerOnChangedListener((draftQueueEvent) => {
56476
56605
  switch (draftQueueEvent.type) {
56477
- case DraftQueueEventType.QueueStateChanged:
56606
+ case DraftQueueEventType$1.QueueStateChanged:
56478
56607
  switch (draftQueueEvent.state) {
56479
- case DraftQueueState.Error:
56608
+ case DraftQueueState$1.Error:
56480
56609
  break;
56481
- case DraftQueueState.Started:
56610
+ case DraftQueueState$1.Started:
56482
56611
  break;
56483
- case DraftQueueState.Stopped:
56612
+ case DraftQueueState$1.Stopped:
56484
56613
  break;
56485
- case DraftQueueState.Waiting:
56614
+ case DraftQueueState$1.Waiting:
56486
56615
  break;
56487
56616
  }
56488
56617
  break;
56489
- case DraftQueueEventType.ActionAdded:
56618
+ case DraftQueueEventType$1.ActionAdded:
56490
56619
  break;
56491
- case DraftQueueEventType.ActionUploading:
56620
+ case DraftQueueEventType$1.ActionUploading:
56492
56621
  break;
56493
- case DraftQueueEventType.ActionCompleted:
56622
+ case DraftQueueEventType$1.ActionCompleted:
56494
56623
  break;
56495
- case DraftQueueEventType.ActionDeleted:
56624
+ case DraftQueueEventType$1.ActionDeleted:
56496
56625
  break;
56497
- case DraftQueueEventType.ActionFailed:
56626
+ case DraftQueueEventType$1.ActionFailed:
56498
56627
  break;
56499
- case DraftQueueEventType.ActionUpdated:
56628
+ case DraftQueueEventType$1.ActionUpdated:
56500
56629
  break;
56501
56630
  }
56502
56631
  return Promise.resolve();
@@ -58255,11 +58384,11 @@ class RecordIngestor {
58255
58384
  }
58256
58385
  const luvio = this.getLuvio();
58257
58386
  const ingestionTimestamp = Date.now();
58258
- const ttlOverride = await luvio.storeGetTTLOverride(keyPrefix$1, RepresentationType$O);
58387
+ const ttlOverride = await luvio.storeGetTTLOverride(keyPrefix$2, RepresentationType$O);
58259
58388
  const metadata = {
58260
58389
  ingestionTimestamp,
58261
58390
  expirationTimestamp: (ttlOverride !== null && ttlOverride !== void 0 ? ttlOverride : TTL$w) + ingestionTimestamp,
58262
- namespace: keyPrefix$1,
58391
+ namespace: keyPrefix$2,
58263
58392
  representationName: RepresentationType$O,
58264
58393
  metadataVersion: DURABLE_METADATA_VERSION,
58265
58394
  version: VERSION$1a$1,
@@ -58668,6 +58797,7 @@ function getRuntime() {
58668
58797
  getRecords: lazyGetRecords,
58669
58798
  });
58670
58799
  },
58800
+ nimbusSqliteStore: lazyBaseDurableStore,
58671
58801
  };
58672
58802
  }
58673
58803
 
@@ -58682,7 +58812,7 @@ register$1({
58682
58812
  id: '@salesforce/lds-network-adapter',
58683
58813
  instrument: instrument$2,
58684
58814
  });
58685
- // version: 1.243.0-87f38263e
58815
+ // version: 1.245.0-0ea124370
58686
58816
 
58687
58817
  const { create: create$3, keys: keys$3 } = Object;
58688
58818
  const { stringify: stringify$1, parse: parse$1 } = JSON;
@@ -59216,7 +59346,7 @@ function buildAdapterValidationConfig$1(displayName, paramsMeta) {
59216
59346
  }
59217
59347
  };
59218
59348
  }
59219
- const keyPrefix = 'UiApi';
59349
+ const keyPrefix$1 = 'UiApi';
59220
59350
 
59221
59351
  const { keys: ObjectKeys, create: ObjectCreate, assign: ObjectAssign } = Object;
59222
59352
  function equalsObject(a, b, equalsProp) {
@@ -59471,7 +59601,7 @@ function ingest$14(astNode, state) {
59471
59601
  mergeData: mergeData$12,
59472
59602
  storeMetadataParams: {
59473
59603
  ttl: TTL$1,
59474
- namespace: keyPrefix,
59604
+ namespace: keyPrefix$1,
59475
59605
  representationName: "DoubleValue",
59476
59606
  version: VERSION$1d
59477
59607
  },
@@ -59522,7 +59652,7 @@ function getTypeCacheKeys$17(cacheKeySink, astNode, state) {
59522
59652
  const { path, data, luvio } = state;
59523
59653
  const rootKey = keyBuilder$17(luvio, path);
59524
59654
  cacheKeySink.set(rootKey, {
59525
- namespace: keyPrefix,
59655
+ namespace: keyPrefix$1,
59526
59656
  mergeable: true,
59527
59657
  representationName: name$12
59528
59658
  });
@@ -59613,7 +59743,7 @@ function ingest$13(astNode, state) {
59613
59743
  mergeData: mergeData$11,
59614
59744
  storeMetadataParams: {
59615
59745
  ttl: TTL$1,
59616
- namespace: keyPrefix,
59746
+ namespace: keyPrefix$1,
59617
59747
  representationName: "LongValue",
59618
59748
  version: VERSION$1c
59619
59749
  },
@@ -59664,7 +59794,7 @@ function getTypeCacheKeys$16(cacheKeySink, astNode, state) {
59664
59794
  const { path, data, luvio } = state;
59665
59795
  const rootKey = keyBuilder$16(luvio, path);
59666
59796
  cacheKeySink.set(rootKey, {
59667
- namespace: keyPrefix,
59797
+ namespace: keyPrefix$1,
59668
59798
  mergeable: true,
59669
59799
  representationName: name$11
59670
59800
  });
@@ -59755,7 +59885,7 @@ function ingest$12(astNode, state) {
59755
59885
  mergeData: mergeData$10,
59756
59886
  storeMetadataParams: {
59757
59887
  ttl: TTL$1,
59758
- namespace: keyPrefix,
59888
+ namespace: keyPrefix$1,
59759
59889
  representationName: "PercentValue",
59760
59890
  version: VERSION$1b
59761
59891
  },
@@ -59806,7 +59936,7 @@ function getTypeCacheKeys$15(cacheKeySink, astNode, state) {
59806
59936
  const { path, data, luvio } = state;
59807
59937
  const rootKey = keyBuilder$15(luvio, path);
59808
59938
  cacheKeySink.set(rootKey, {
59809
- namespace: keyPrefix,
59939
+ namespace: keyPrefix$1,
59810
59940
  mergeable: true,
59811
59941
  representationName: name$10
59812
59942
  });
@@ -59897,7 +60027,7 @@ function ingest$11(astNode, state) {
59897
60027
  mergeData: mergeData$$,
59898
60028
  storeMetadataParams: {
59899
60029
  ttl: TTL$1,
59900
- namespace: keyPrefix,
60030
+ namespace: keyPrefix$1,
59901
60031
  representationName: "PercentAggregate",
59902
60032
  version: VERSION$1a
59903
60033
  },
@@ -59972,7 +60102,7 @@ function getTypeCacheKeys$14(cacheKeySink, astNode, state) {
59972
60102
  const { path, data, luvio } = state;
59973
60103
  const rootKey = keyBuilder$14(luvio, path);
59974
60104
  cacheKeySink.set(rootKey, {
59975
- namespace: keyPrefix,
60105
+ namespace: keyPrefix$1,
59976
60106
  mergeable: true,
59977
60107
  representationName: name$$
59978
60108
  });
@@ -60159,7 +60289,7 @@ function ingest$10(astNode, state) {
60159
60289
  mergeData: mergeData$_,
60160
60290
  storeMetadataParams: {
60161
60291
  ttl: TTL$1,
60162
- namespace: keyPrefix,
60292
+ namespace: keyPrefix$1,
60163
60293
  representationName: "IntValue",
60164
60294
  version: VERSION$19
60165
60295
  },
@@ -60210,7 +60340,7 @@ function getTypeCacheKeys$13(cacheKeySink, astNode, state) {
60210
60340
  const { path, data, luvio } = state;
60211
60341
  const rootKey = keyBuilder$13(luvio, path);
60212
60342
  cacheKeySink.set(rootKey, {
60213
- namespace: keyPrefix,
60343
+ namespace: keyPrefix$1,
60214
60344
  mergeable: true,
60215
60345
  representationName: name$_
60216
60346
  });
@@ -60301,7 +60431,7 @@ function ingest$$(astNode, state) {
60301
60431
  mergeData: mergeData$Z,
60302
60432
  storeMetadataParams: {
60303
60433
  ttl: TTL$1,
60304
- namespace: keyPrefix,
60434
+ namespace: keyPrefix$1,
60305
60435
  representationName: "StringValue",
60306
60436
  version: VERSION$18
60307
60437
  },
@@ -60347,7 +60477,7 @@ function getTypeCacheKeys$12(cacheKeySink, astNode, state) {
60347
60477
  const { path, data, luvio } = state;
60348
60478
  const rootKey = keyBuilder$12(luvio, path);
60349
60479
  cacheKeySink.set(rootKey, {
60350
- namespace: keyPrefix,
60480
+ namespace: keyPrefix$1,
60351
60481
  mergeable: true,
60352
60482
  representationName: name$Z
60353
60483
  });
@@ -60434,7 +60564,7 @@ function ingest$_(astNode, state) {
60434
60564
  mergeData: mergeData$Y,
60435
60565
  storeMetadataParams: {
60436
60566
  ttl: TTL$1,
60437
- namespace: keyPrefix,
60567
+ namespace: keyPrefix$1,
60438
60568
  representationName: "StringAggregate",
60439
60569
  version: VERSION$17
60440
60570
  },
@@ -60504,7 +60634,7 @@ function getTypeCacheKeys$11(cacheKeySink, astNode, state) {
60504
60634
  const { path, data, luvio } = state;
60505
60635
  const rootKey = keyBuilder$11(luvio, path);
60506
60636
  cacheKeySink.set(rootKey, {
60507
- namespace: keyPrefix,
60637
+ namespace: keyPrefix$1,
60508
60638
  mergeable: true,
60509
60639
  representationName: name$Y
60510
60640
  });
@@ -60676,7 +60806,7 @@ function ingest$Z(astNode, state) {
60676
60806
  mergeData: mergeData$X,
60677
60807
  storeMetadataParams: {
60678
60808
  ttl: TTL$1,
60679
- namespace: keyPrefix,
60809
+ namespace: keyPrefix$1,
60680
60810
  representationName: "IDValue",
60681
60811
  version: VERSION$16
60682
60812
  },
@@ -60727,7 +60857,7 @@ function getTypeCacheKeys$10(cacheKeySink, astNode, state) {
60727
60857
  const { path, data, luvio } = state;
60728
60858
  const rootKey = keyBuilder$10(luvio, path);
60729
60859
  cacheKeySink.set(rootKey, {
60730
- namespace: keyPrefix,
60860
+ namespace: keyPrefix$1,
60731
60861
  mergeable: true,
60732
60862
  representationName: name$X
60733
60863
  });
@@ -60812,7 +60942,7 @@ function ingest$Y(astNode, state) {
60812
60942
  mergeData: mergeData$W,
60813
60943
  storeMetadataParams: {
60814
60944
  ttl: TTL$1,
60815
- namespace: keyPrefix,
60945
+ namespace: keyPrefix$1,
60816
60946
  representationName: "DateTimeValue",
60817
60947
  version: VERSION$15
60818
60948
  },
@@ -60863,7 +60993,7 @@ function getTypeCacheKeys$$(cacheKeySink, astNode, state) {
60863
60993
  const { path, data, luvio } = state;
60864
60994
  const rootKey = keyBuilder$$(luvio, path);
60865
60995
  cacheKeySink.set(rootKey, {
60866
- namespace: keyPrefix,
60996
+ namespace: keyPrefix$1,
60867
60997
  mergeable: true,
60868
60998
  representationName: name$W
60869
60999
  });
@@ -60954,7 +61084,7 @@ function ingest$X(astNode, state) {
60954
61084
  mergeData: mergeData$V,
60955
61085
  storeMetadataParams: {
60956
61086
  ttl: TTL$1,
60957
- namespace: keyPrefix,
61087
+ namespace: keyPrefix$1,
60958
61088
  representationName: "BooleanValue",
60959
61089
  version: VERSION$14
60960
61090
  },
@@ -61005,7 +61135,7 @@ function getTypeCacheKeys$_(cacheKeySink, astNode, state) {
61005
61135
  const { path, data, luvio } = state;
61006
61136
  const rootKey = keyBuilder$_(luvio, path);
61007
61137
  cacheKeySink.set(rootKey, {
61008
- namespace: keyPrefix,
61138
+ namespace: keyPrefix$1,
61009
61139
  mergeable: true,
61010
61140
  representationName: name$V
61011
61141
  });
@@ -61090,7 +61220,7 @@ function ingest$W(astNode, state) {
61090
61220
  mergeData: mergeData$U,
61091
61221
  storeMetadataParams: {
61092
61222
  ttl: TTL$1,
61093
- namespace: keyPrefix,
61223
+ namespace: keyPrefix$1,
61094
61224
  representationName: "TimeValue",
61095
61225
  version: VERSION$13
61096
61226
  },
@@ -61141,7 +61271,7 @@ function getTypeCacheKeys$Z(cacheKeySink, astNode, state) {
61141
61271
  const { path, data, luvio } = state;
61142
61272
  const rootKey = keyBuilder$Z(luvio, path);
61143
61273
  cacheKeySink.set(rootKey, {
61144
- namespace: keyPrefix,
61274
+ namespace: keyPrefix$1,
61145
61275
  mergeable: true,
61146
61276
  representationName: name$U
61147
61277
  });
@@ -61232,7 +61362,7 @@ function ingest$V(astNode, state) {
61232
61362
  mergeData: mergeData$T,
61233
61363
  storeMetadataParams: {
61234
61364
  ttl: TTL$1,
61235
- namespace: keyPrefix,
61365
+ namespace: keyPrefix$1,
61236
61366
  representationName: "DateValue",
61237
61367
  version: VERSION$12
61238
61368
  },
@@ -61283,7 +61413,7 @@ function getTypeCacheKeys$Y(cacheKeySink, astNode, state) {
61283
61413
  const { path, data, luvio } = state;
61284
61414
  const rootKey = keyBuilder$Y(luvio, path);
61285
61415
  cacheKeySink.set(rootKey, {
61286
- namespace: keyPrefix,
61416
+ namespace: keyPrefix$1,
61287
61417
  mergeable: true,
61288
61418
  representationName: name$T
61289
61419
  });
@@ -61374,7 +61504,7 @@ function ingest$U(astNode, state) {
61374
61504
  mergeData: mergeData$S,
61375
61505
  storeMetadataParams: {
61376
61506
  ttl: TTL$1,
61377
- namespace: keyPrefix,
61507
+ namespace: keyPrefix$1,
61378
61508
  representationName: "TextAreaValue",
61379
61509
  version: VERSION$11
61380
61510
  },
@@ -61425,7 +61555,7 @@ function getTypeCacheKeys$X(cacheKeySink, astNode, state) {
61425
61555
  const { path, data, luvio } = state;
61426
61556
  const rootKey = keyBuilder$X(luvio, path);
61427
61557
  cacheKeySink.set(rootKey, {
61428
- namespace: keyPrefix,
61558
+ namespace: keyPrefix$1,
61429
61559
  mergeable: true,
61430
61560
  representationName: name$S
61431
61561
  });
@@ -61510,7 +61640,7 @@ function ingest$T(astNode, state) {
61510
61640
  mergeData: mergeData$R,
61511
61641
  storeMetadataParams: {
61512
61642
  ttl: TTL$1,
61513
- namespace: keyPrefix,
61643
+ namespace: keyPrefix$1,
61514
61644
  representationName: "LongTextAreaValue",
61515
61645
  version: VERSION$10
61516
61646
  },
@@ -61561,7 +61691,7 @@ function getTypeCacheKeys$W(cacheKeySink, astNode, state) {
61561
61691
  const { path, data, luvio } = state;
61562
61692
  const rootKey = keyBuilder$W(luvio, path);
61563
61693
  cacheKeySink.set(rootKey, {
61564
- namespace: keyPrefix,
61694
+ namespace: keyPrefix$1,
61565
61695
  mergeable: true,
61566
61696
  representationName: name$R
61567
61697
  });
@@ -61646,7 +61776,7 @@ function ingest$S(astNode, state) {
61646
61776
  mergeData: mergeData$Q,
61647
61777
  storeMetadataParams: {
61648
61778
  ttl: TTL$1,
61649
- namespace: keyPrefix,
61779
+ namespace: keyPrefix$1,
61650
61780
  representationName: "RichTextAreaValue",
61651
61781
  version: VERSION$$
61652
61782
  },
@@ -61697,7 +61827,7 @@ function getTypeCacheKeys$V(cacheKeySink, astNode, state) {
61697
61827
  const { path, data, luvio } = state;
61698
61828
  const rootKey = keyBuilder$V(luvio, path);
61699
61829
  cacheKeySink.set(rootKey, {
61700
- namespace: keyPrefix,
61830
+ namespace: keyPrefix$1,
61701
61831
  mergeable: true,
61702
61832
  representationName: name$Q
61703
61833
  });
@@ -61782,7 +61912,7 @@ function ingest$R(astNode, state) {
61782
61912
  mergeData: mergeData$P,
61783
61913
  storeMetadataParams: {
61784
61914
  ttl: TTL$1,
61785
- namespace: keyPrefix,
61915
+ namespace: keyPrefix$1,
61786
61916
  representationName: "PhoneNumberValue",
61787
61917
  version: VERSION$_
61788
61918
  },
@@ -61833,7 +61963,7 @@ function getTypeCacheKeys$U(cacheKeySink, astNode, state) {
61833
61963
  const { path, data, luvio } = state;
61834
61964
  const rootKey = keyBuilder$U(luvio, path);
61835
61965
  cacheKeySink.set(rootKey, {
61836
- namespace: keyPrefix,
61966
+ namespace: keyPrefix$1,
61837
61967
  mergeable: true,
61838
61968
  representationName: name$P
61839
61969
  });
@@ -61918,7 +62048,7 @@ function ingest$Q(astNode, state) {
61918
62048
  mergeData: mergeData$O,
61919
62049
  storeMetadataParams: {
61920
62050
  ttl: TTL$1,
61921
- namespace: keyPrefix,
62051
+ namespace: keyPrefix$1,
61922
62052
  representationName: "EmailValue",
61923
62053
  version: VERSION$Z
61924
62054
  },
@@ -61969,7 +62099,7 @@ function getTypeCacheKeys$T(cacheKeySink, astNode, state) {
61969
62099
  const { path, data, luvio } = state;
61970
62100
  const rootKey = keyBuilder$T(luvio, path);
61971
62101
  cacheKeySink.set(rootKey, {
61972
- namespace: keyPrefix,
62102
+ namespace: keyPrefix$1,
61973
62103
  mergeable: true,
61974
62104
  representationName: name$O
61975
62105
  });
@@ -62054,7 +62184,7 @@ function ingest$P(astNode, state) {
62054
62184
  mergeData: mergeData$N,
62055
62185
  storeMetadataParams: {
62056
62186
  ttl: TTL$1,
62057
- namespace: keyPrefix,
62187
+ namespace: keyPrefix$1,
62058
62188
  representationName: "UrlValue",
62059
62189
  version: VERSION$Y
62060
62190
  },
@@ -62105,7 +62235,7 @@ function getTypeCacheKeys$S(cacheKeySink, astNode, state) {
62105
62235
  const { path, data, luvio } = state;
62106
62236
  const rootKey = keyBuilder$S(luvio, path);
62107
62237
  cacheKeySink.set(rootKey, {
62108
- namespace: keyPrefix,
62238
+ namespace: keyPrefix$1,
62109
62239
  mergeable: true,
62110
62240
  representationName: name$N
62111
62241
  });
@@ -62190,7 +62320,7 @@ function ingest$O(astNode, state) {
62190
62320
  mergeData: mergeData$M,
62191
62321
  storeMetadataParams: {
62192
62322
  ttl: TTL$1,
62193
- namespace: keyPrefix,
62323
+ namespace: keyPrefix$1,
62194
62324
  representationName: "EncryptedStringValue",
62195
62325
  version: VERSION$X
62196
62326
  },
@@ -62241,7 +62371,7 @@ function getTypeCacheKeys$R(cacheKeySink, astNode, state) {
62241
62371
  const { path, data, luvio } = state;
62242
62372
  const rootKey = keyBuilder$R(luvio, path);
62243
62373
  cacheKeySink.set(rootKey, {
62244
- namespace: keyPrefix,
62374
+ namespace: keyPrefix$1,
62245
62375
  mergeable: true,
62246
62376
  representationName: name$M
62247
62377
  });
@@ -62326,7 +62456,7 @@ function ingest$N(astNode, state) {
62326
62456
  mergeData: mergeData$L,
62327
62457
  storeMetadataParams: {
62328
62458
  ttl: TTL$1,
62329
- namespace: keyPrefix,
62459
+ namespace: keyPrefix$1,
62330
62460
  representationName: "CurrencyValue",
62331
62461
  version: VERSION$W
62332
62462
  },
@@ -62377,7 +62507,7 @@ function getTypeCacheKeys$Q(cacheKeySink, astNode, state) {
62377
62507
  const { path, data, luvio } = state;
62378
62508
  const rootKey = keyBuilder$Q(luvio, path);
62379
62509
  cacheKeySink.set(rootKey, {
62380
- namespace: keyPrefix,
62510
+ namespace: keyPrefix$1,
62381
62511
  mergeable: true,
62382
62512
  representationName: name$L
62383
62513
  });
@@ -62468,7 +62598,7 @@ function ingest$M(astNode, state) {
62468
62598
  mergeData: mergeData$K,
62469
62599
  storeMetadataParams: {
62470
62600
  ttl: TTL$1,
62471
- namespace: keyPrefix,
62601
+ namespace: keyPrefix$1,
62472
62602
  representationName: "LongitudeValue",
62473
62603
  version: VERSION$V
62474
62604
  },
@@ -62519,7 +62649,7 @@ function getTypeCacheKeys$P(cacheKeySink, astNode, state) {
62519
62649
  const { path, data, luvio } = state;
62520
62650
  const rootKey = keyBuilder$P(luvio, path);
62521
62651
  cacheKeySink.set(rootKey, {
62522
- namespace: keyPrefix,
62652
+ namespace: keyPrefix$1,
62523
62653
  mergeable: true,
62524
62654
  representationName: name$K
62525
62655
  });
@@ -62604,7 +62734,7 @@ function ingest$L(astNode, state) {
62604
62734
  mergeData: mergeData$J,
62605
62735
  storeMetadataParams: {
62606
62736
  ttl: TTL$1,
62607
- namespace: keyPrefix,
62737
+ namespace: keyPrefix$1,
62608
62738
  representationName: "LatitudeValue",
62609
62739
  version: VERSION$U
62610
62740
  },
@@ -62655,7 +62785,7 @@ function getTypeCacheKeys$O(cacheKeySink, astNode, state) {
62655
62785
  const { path, data, luvio } = state;
62656
62786
  const rootKey = keyBuilder$O(luvio, path);
62657
62787
  cacheKeySink.set(rootKey, {
62658
- namespace: keyPrefix,
62788
+ namespace: keyPrefix$1,
62659
62789
  mergeable: true,
62660
62790
  representationName: name$J
62661
62791
  });
@@ -62740,7 +62870,7 @@ function ingest$K(astNode, state) {
62740
62870
  mergeData: mergeData$I,
62741
62871
  storeMetadataParams: {
62742
62872
  ttl: TTL$1,
62743
- namespace: keyPrefix,
62873
+ namespace: keyPrefix$1,
62744
62874
  representationName: "PicklistValue",
62745
62875
  version: VERSION$T
62746
62876
  },
@@ -62791,7 +62921,7 @@ function getTypeCacheKeys$N(cacheKeySink, astNode, state) {
62791
62921
  const { path, data, luvio } = state;
62792
62922
  const rootKey = keyBuilder$N(luvio, path);
62793
62923
  cacheKeySink.set(rootKey, {
62794
- namespace: keyPrefix,
62924
+ namespace: keyPrefix$1,
62795
62925
  mergeable: true,
62796
62926
  representationName: name$I
62797
62927
  });
@@ -62882,7 +63012,7 @@ function ingest$J(astNode, state) {
62882
63012
  mergeData: mergeData$H,
62883
63013
  storeMetadataParams: {
62884
63014
  ttl: TTL$1,
62885
- namespace: keyPrefix,
63015
+ namespace: keyPrefix$1,
62886
63016
  representationName: "MultiPicklistValue",
62887
63017
  version: VERSION$S
62888
63018
  },
@@ -62933,7 +63063,7 @@ function getTypeCacheKeys$M(cacheKeySink, astNode, state) {
62933
63063
  const { path, data, luvio } = state;
62934
63064
  const rootKey = keyBuilder$M(luvio, path);
62935
63065
  cacheKeySink.set(rootKey, {
62936
- namespace: keyPrefix,
63066
+ namespace: keyPrefix$1,
62937
63067
  mergeable: true,
62938
63068
  representationName: name$H
62939
63069
  });
@@ -63024,7 +63154,7 @@ function ingest$I(astNode, state) {
63024
63154
  mergeData: mergeData$G,
63025
63155
  storeMetadataParams: {
63026
63156
  ttl: TTL$1,
63027
- namespace: keyPrefix,
63157
+ namespace: keyPrefix$1,
63028
63158
  representationName: "Base64Value",
63029
63159
  version: VERSION$R
63030
63160
  },
@@ -63075,7 +63205,7 @@ function getTypeCacheKeys$L(cacheKeySink, astNode, state) {
63075
63205
  const { path, data, luvio } = state;
63076
63206
  const rootKey = keyBuilder$L(luvio, path);
63077
63207
  cacheKeySink.set(rootKey, {
63078
- namespace: keyPrefix,
63208
+ namespace: keyPrefix$1,
63079
63209
  mergeable: true,
63080
63210
  representationName: name$G
63081
63211
  });
@@ -63160,7 +63290,7 @@ function ingest$H(astNode, state) {
63160
63290
  mergeData: mergeData$F,
63161
63291
  storeMetadataParams: {
63162
63292
  ttl: TTL$1,
63163
- namespace: keyPrefix,
63293
+ namespace: keyPrefix$1,
63164
63294
  representationName: "JSONValue",
63165
63295
  version: VERSION$Q
63166
63296
  },
@@ -63211,7 +63341,7 @@ function getTypeCacheKeys$K(cacheKeySink, astNode, state) {
63211
63341
  const { path, data, luvio } = state;
63212
63342
  const rootKey = keyBuilder$K(luvio, path);
63213
63343
  cacheKeySink.set(rootKey, {
63214
- namespace: keyPrefix,
63344
+ namespace: keyPrefix$1,
63215
63345
  mergeable: true,
63216
63346
  representationName: name$F
63217
63347
  });
@@ -63504,7 +63634,7 @@ function getFieldType$M(field) {
63504
63634
  }
63505
63635
  }
63506
63636
 
63507
- const { assign: assign$1, create: create$2, freeze: freeze$2, keys: keys$2 } = Object;
63637
+ const { assign: assign$1, create: create$2, freeze: freeze$2, isFrozen: isFrozen$1, keys: keys$2 } = Object;
63508
63638
  const { isArray: isArray$2 } = Array;
63509
63639
  const { concat: concat$1, filter: filter$1, includes: includes$1, push: push$1, reduce: reduce$1 } = Array.prototype;
63510
63640
 
@@ -63513,7 +63643,7 @@ const getTypeCacheKeys$I = (rootKeySet, luvio, input, _fullPathFactory) => {
63513
63643
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
63514
63644
  const rootKey = keyBuilderFromType(luvio, input);
63515
63645
  rootKeySet.set(rootKey, {
63516
- namespace: keyPrefix,
63646
+ namespace: keyPrefix$1,
63517
63647
  representationName: RepresentationType$2,
63518
63648
  mergeable: true,
63519
63649
  });
@@ -63539,7 +63669,7 @@ function getTypeCacheKeys$H(rootKeySet, luvio, input, fullPathFactory) {
63539
63669
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
63540
63670
  const rootKey = fullPathFactory();
63541
63671
  rootKeySet.set(rootKey, {
63542
- namespace: keyPrefix,
63672
+ namespace: keyPrefix$1,
63543
63673
  representationName: RepresentationType$3,
63544
63674
  mergeable: false
63545
63675
  });
@@ -63552,7 +63682,7 @@ function getTypeCacheKeys$H(rootKeySet, luvio, input, fullPathFactory) {
63552
63682
  const VERSION$O = "98c5b18512e48ca8d28727549507e4ba";
63553
63683
  const RepresentationType$2 = 'RecordRepresentation';
63554
63684
  function keyBuilder$J(luvio, config) {
63555
- return keyPrefix + '::' + RepresentationType$2 + ':' + config.recordId;
63685
+ return keyPrefix$1 + '::' + RepresentationType$2 + ':' + config.recordId;
63556
63686
  }
63557
63687
  function keyBuilderFromType(luvio, object) {
63558
63688
  const keyParams = {
@@ -63567,7 +63697,7 @@ function getTypeCacheKeys$G(rootKeySet, luvio, input, fullPathFactory) {
63567
63697
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
63568
63698
  const rootKey = fullPathFactory();
63569
63699
  rootKeySet.set(rootKey, {
63570
- namespace: keyPrefix,
63700
+ namespace: keyPrefix$1,
63571
63701
  representationName: RepresentationType$1,
63572
63702
  mergeable: false
63573
63703
  });
@@ -63772,7 +63902,7 @@ function ingest$F(astNode, state) {
63772
63902
  mergeData: mergeData$E,
63773
63903
  storeMetadataParams: {
63774
63904
  ttl: TTL$1,
63775
- namespace: keyPrefix,
63905
+ namespace: keyPrefix$1,
63776
63906
  representationName: "CompoundField",
63777
63907
  version: VERSION$M
63778
63908
  },
@@ -63815,7 +63945,7 @@ function getTypeCacheKeys$F(cacheKeySink, astNode, state) {
63815
63945
  const { path, data, luvio } = state;
63816
63946
  const rootKey = keyBuilder$I(luvio, path);
63817
63947
  cacheKeySink.set(rootKey, {
63818
- namespace: keyPrefix,
63948
+ namespace: keyPrefix$1,
63819
63949
  mergeable: true,
63820
63950
  representationName: name$E
63821
63951
  });
@@ -64778,7 +64908,7 @@ function ingest$E(astNode, state) {
64778
64908
  mergeData: mergeData$D,
64779
64909
  storeMetadataParams: {
64780
64910
  ttl: TTL$1,
64781
- namespace: keyPrefix,
64911
+ namespace: keyPrefix$1,
64782
64912
  representationName: "PageInfo",
64783
64913
  version: VERSION$L
64784
64914
  },
@@ -64841,7 +64971,7 @@ function getTypeCacheKeys$E(cacheKeySink, astNode, state) {
64841
64971
  const { path, data, luvio } = state;
64842
64972
  const rootKey = keyBuilder$H(luvio, path);
64843
64973
  cacheKeySink.set(rootKey, {
64844
- namespace: keyPrefix,
64974
+ namespace: keyPrefix$1,
64845
64975
  mergeable: true,
64846
64976
  representationName: name$D
64847
64977
  });
@@ -64915,7 +65045,7 @@ function getTypeCacheKeys$D(cacheKeySink, astNode, state) {
64915
65045
  const { path, data, luvio } = state;
64916
65046
  const rootKey = keyBuilder$E(luvio, path);
64917
65047
  cacheKeySink.set(rootKey, {
64918
- namespace: keyPrefix,
65048
+ namespace: keyPrefix$1,
64919
65049
  mergeable: true,
64920
65050
  representationName: name$A,
64921
65051
  });
@@ -64955,7 +65085,7 @@ function getTypeCacheKeys$D(cacheKeySink, astNode, state) {
64955
65085
  case 'PageInfo': {
64956
65086
  // I guess just return the pagination key here since pagination replaced it.
64957
65087
  cacheKeySink.set(`${rootKey}__pagination`, {
64958
- namespace: keyPrefix,
65088
+ namespace: keyPrefix$1,
64959
65089
  mergeable: true,
64960
65090
  representationName: name$D,
64961
65091
  });
@@ -64973,7 +65103,7 @@ function getMappedTypeCacheKeys(cache, astNode, state) {
64973
65103
  const name$C = 'RecordRepresentation';
64974
65104
  const VERSION$K = 'b09728109b666bc69fe789bade015193';
64975
65105
  function keyBuilder$G(luvio, path, data) {
64976
- return keyPrefix + '::uiapi::' + name$C + '::' + data.Id; // We're missing idNodeName in the actual key here...
65106
+ return keyPrefix$1 + '::uiapi::' + name$C + '::' + data.Id; // We're missing idNodeName in the actual key here...
64977
65107
  }
64978
65108
  function mergeData$C(existingData, newData) {
64979
65109
  return {
@@ -64997,7 +65127,7 @@ function ingest$D(astNode, state) {
64997
65127
  mergeData: mergeData$C,
64998
65128
  storeMetadataParams: {
64999
65129
  ttl: TTL$1,
65000
- namespace: keyPrefix,
65130
+ namespace: keyPrefix$1,
65001
65131
  representationName: "RecordRepresentation",
65002
65132
  version: VERSION$K
65003
65133
  },
@@ -65158,7 +65288,7 @@ function getTypeCacheKeys$C(cacheKeySink, astNode, state) {
65158
65288
  const { path, data, luvio } = state;
65159
65289
  const rootKey = keyBuilder$G(luvio, path, data);
65160
65290
  cacheKeySink.set(rootKey, {
65161
- namespace: keyPrefix,
65291
+ namespace: keyPrefix$1,
65162
65292
  mergeable: true,
65163
65293
  representationName: name$C
65164
65294
  });
@@ -65533,7 +65663,7 @@ function ingest$C(astNode, state) {
65533
65663
  mergeData: mergeData$B,
65534
65664
  storeMetadataParams: {
65535
65665
  ttl: TTL$1,
65536
- namespace: keyPrefix,
65666
+ namespace: keyPrefix$1,
65537
65667
  representationName: "RecordEdge",
65538
65668
  version: VERSION$J
65539
65669
  },
@@ -65595,7 +65725,7 @@ function getTypeCacheKeys$B(cacheKeySink, astNode, state) {
65595
65725
  const { path, data, luvio } = state;
65596
65726
  const rootKey = keyBuilder$F(luvio, path);
65597
65727
  cacheKeySink.set(rootKey, {
65598
- namespace: keyPrefix,
65728
+ namespace: keyPrefix$1,
65599
65729
  mergeable: true,
65600
65730
  representationName: name$B
65601
65731
  });
@@ -65754,7 +65884,7 @@ function ingest$B(astNode, state) {
65754
65884
  mergeData: mergeData$A,
65755
65885
  storeMetadataParams: {
65756
65886
  ttl: TTL$4,
65757
- namespace: keyPrefix,
65887
+ namespace: keyPrefix$1,
65758
65888
  representationName: "RecordConnection",
65759
65889
  version: VERSION$I
65760
65890
  },
@@ -65937,7 +66067,7 @@ function ingest$A(astNode, state) {
65937
66067
  mergeData: mergeData$z,
65938
66068
  storeMetadataParams: {
65939
66069
  ttl: TTL$1,
65940
- namespace: keyPrefix,
66070
+ namespace: keyPrefix$1,
65941
66071
  representationName: "RecordQuery",
65942
66072
  version: VERSION$H
65943
66073
  },
@@ -65999,7 +66129,7 @@ function getTypeCacheKeys$A(cacheKeySink, astNode, state) {
65999
66129
  const { path, data, luvio } = state;
66000
66130
  const rootKey = keyBuilder$D(luvio, path);
66001
66131
  cacheKeySink.set(rootKey, {
66002
- namespace: keyPrefix,
66132
+ namespace: keyPrefix$1,
66003
66133
  mergeable: true,
66004
66134
  representationName: name$z
66005
66135
  });
@@ -66081,7 +66211,7 @@ function ingest$z(astNode, state) {
66081
66211
  mergeData: mergeData$y,
66082
66212
  storeMetadataParams: {
66083
66213
  ttl: TTL$1,
66084
- namespace: keyPrefix,
66214
+ namespace: keyPrefix$1,
66085
66215
  representationName: "BooleanAggregate",
66086
66216
  version: VERSION$G
66087
66217
  },
@@ -66148,7 +66278,7 @@ function getTypeCacheKeys$z(cacheKeySink, astNode, state) {
66148
66278
  const { path, data, luvio } = state;
66149
66279
  const rootKey = keyBuilder$C(luvio, path);
66150
66280
  cacheKeySink.set(rootKey, {
66151
- namespace: keyPrefix,
66281
+ namespace: keyPrefix$1,
66152
66282
  mergeable: true,
66153
66283
  representationName: name$y
66154
66284
  });
@@ -66264,7 +66394,7 @@ function ingest$y(astNode, state) {
66264
66394
  mergeData: mergeData$x,
66265
66395
  storeMetadataParams: {
66266
66396
  ttl: TTL$1,
66267
- namespace: keyPrefix,
66397
+ namespace: keyPrefix$1,
66268
66398
  representationName: "CurrencyAggregate",
66269
66399
  version: VERSION$F
66270
66400
  },
@@ -66339,7 +66469,7 @@ function getTypeCacheKeys$y(cacheKeySink, astNode, state) {
66339
66469
  const { path, data, luvio } = state;
66340
66470
  const rootKey = keyBuilder$B(luvio, path);
66341
66471
  cacheKeySink.set(rootKey, {
66342
- namespace: keyPrefix,
66472
+ namespace: keyPrefix$1,
66343
66473
  mergeable: true,
66344
66474
  representationName: name$x
66345
66475
  });
@@ -66526,7 +66656,7 @@ function ingest$x(astNode, state) {
66526
66656
  mergeData: mergeData$w,
66527
66657
  storeMetadataParams: {
66528
66658
  ttl: TTL$1,
66529
- namespace: keyPrefix,
66659
+ namespace: keyPrefix$1,
66530
66660
  representationName: "DateFunctionAggregation",
66531
66661
  version: VERSION$E
66532
66662
  },
@@ -66589,7 +66719,7 @@ function getTypeCacheKeys$x(cacheKeySink, astNode, state) {
66589
66719
  const { path, data, luvio } = state;
66590
66720
  const rootKey = keyBuilder$A(luvio, path);
66591
66721
  cacheKeySink.set(rootKey, {
66592
- namespace: keyPrefix,
66722
+ namespace: keyPrefix$1,
66593
66723
  mergeable: true,
66594
66724
  representationName: name$w
66595
66725
  });
@@ -66674,7 +66804,7 @@ function ingest$w(astNode, state) {
66674
66804
  mergeData: mergeData$v,
66675
66805
  storeMetadataParams: {
66676
66806
  ttl: TTL$1,
66677
- namespace: keyPrefix,
66807
+ namespace: keyPrefix$1,
66678
66808
  representationName: "DateAggregate",
66679
66809
  version: VERSION$D
66680
66810
  },
@@ -66753,7 +66883,7 @@ function getTypeCacheKeys$w(cacheKeySink, astNode, state) {
66753
66883
  const { path, data, luvio } = state;
66754
66884
  const rootKey = keyBuilder$z(luvio, path);
66755
66885
  cacheKeySink.set(rootKey, {
66756
- namespace: keyPrefix,
66886
+ namespace: keyPrefix$1,
66757
66887
  mergeable: true,
66758
66888
  representationName: name$v
66759
66889
  });
@@ -67055,7 +67185,7 @@ function ingest$v(astNode, state) {
67055
67185
  mergeData: mergeData$u,
67056
67186
  storeMetadataParams: {
67057
67187
  ttl: TTL$1,
67058
- namespace: keyPrefix,
67188
+ namespace: keyPrefix$1,
67059
67189
  representationName: "DoubleAggregate",
67060
67190
  version: VERSION$C
67061
67191
  },
@@ -67126,7 +67256,7 @@ function getTypeCacheKeys$v(cacheKeySink, astNode, state) {
67126
67256
  const { path, data, luvio } = state;
67127
67257
  const rootKey = keyBuilder$y(luvio, path);
67128
67258
  cacheKeySink.set(rootKey, {
67129
- namespace: keyPrefix,
67259
+ namespace: keyPrefix$1,
67130
67260
  mergeable: true,
67131
67261
  representationName: name$u
67132
67262
  });
@@ -67308,7 +67438,7 @@ function ingest$u(astNode, state) {
67308
67438
  mergeData: mergeData$t,
67309
67439
  storeMetadataParams: {
67310
67440
  ttl: TTL$1,
67311
- namespace: keyPrefix,
67441
+ namespace: keyPrefix$1,
67312
67442
  representationName: "EmailAggregate",
67313
67443
  version: VERSION$B
67314
67444
  },
@@ -67383,7 +67513,7 @@ function getTypeCacheKeys$u(cacheKeySink, astNode, state) {
67383
67513
  const { path, data, luvio } = state;
67384
67514
  const rootKey = keyBuilder$x(luvio, path);
67385
67515
  cacheKeySink.set(rootKey, {
67386
- namespace: keyPrefix,
67516
+ namespace: keyPrefix$1,
67387
67517
  mergeable: true,
67388
67518
  representationName: name$t
67389
67519
  });
@@ -67553,7 +67683,7 @@ function ingest$t(astNode, state) {
67553
67683
  mergeData: mergeData$s,
67554
67684
  storeMetadataParams: {
67555
67685
  ttl: TTL$1,
67556
- namespace: keyPrefix,
67686
+ namespace: keyPrefix$1,
67557
67687
  representationName: "IDAggregate",
67558
67688
  version: VERSION$A
67559
67689
  },
@@ -67628,7 +67758,7 @@ function getTypeCacheKeys$t(cacheKeySink, astNode, state) {
67628
67758
  const { path, data, luvio } = state;
67629
67759
  const rootKey = keyBuilder$w(luvio, path);
67630
67760
  cacheKeySink.set(rootKey, {
67631
- namespace: keyPrefix,
67761
+ namespace: keyPrefix$1,
67632
67762
  mergeable: true,
67633
67763
  representationName: name$s
67634
67764
  });
@@ -67798,7 +67928,7 @@ function ingest$s(astNode, state) {
67798
67928
  mergeData: mergeData$r,
67799
67929
  storeMetadataParams: {
67800
67930
  ttl: TTL$1,
67801
- namespace: keyPrefix,
67931
+ namespace: keyPrefix$1,
67802
67932
  representationName: "IntAggregate",
67803
67933
  version: VERSION$z
67804
67934
  },
@@ -67873,7 +68003,7 @@ function getTypeCacheKeys$s(cacheKeySink, astNode, state) {
67873
68003
  const { path, data, luvio } = state;
67874
68004
  const rootKey = keyBuilder$v(luvio, path);
67875
68005
  cacheKeySink.set(rootKey, {
67876
- namespace: keyPrefix,
68006
+ namespace: keyPrefix$1,
67877
68007
  mergeable: true,
67878
68008
  representationName: name$r
67879
68009
  });
@@ -68071,7 +68201,7 @@ function ingest$r(astNode, state) {
68071
68201
  mergeData: mergeData$q,
68072
68202
  storeMetadataParams: {
68073
68203
  ttl: TTL$1,
68074
- namespace: keyPrefix,
68204
+ namespace: keyPrefix$1,
68075
68205
  representationName: "LatitudeAggregate",
68076
68206
  version: VERSION$y
68077
68207
  },
@@ -68146,7 +68276,7 @@ function getTypeCacheKeys$r(cacheKeySink, astNode, state) {
68146
68276
  const { path, data, luvio } = state;
68147
68277
  const rootKey = keyBuilder$u(luvio, path);
68148
68278
  cacheKeySink.set(rootKey, {
68149
- namespace: keyPrefix,
68279
+ namespace: keyPrefix$1,
68150
68280
  mergeable: true,
68151
68281
  representationName: name$q
68152
68282
  });
@@ -68327,7 +68457,7 @@ function ingest$q(astNode, state) {
68327
68457
  mergeData: mergeData$p,
68328
68458
  storeMetadataParams: {
68329
68459
  ttl: TTL$1,
68330
- namespace: keyPrefix,
68460
+ namespace: keyPrefix$1,
68331
68461
  representationName: "LongitudeAggregate",
68332
68462
  version: VERSION$x
68333
68463
  },
@@ -68402,7 +68532,7 @@ function getTypeCacheKeys$q(cacheKeySink, astNode, state) {
68402
68532
  const { path, data, luvio } = state;
68403
68533
  const rootKey = keyBuilder$t(luvio, path);
68404
68534
  cacheKeySink.set(rootKey, {
68405
- namespace: keyPrefix,
68535
+ namespace: keyPrefix$1,
68406
68536
  mergeable: true,
68407
68537
  representationName: name$p
68408
68538
  });
@@ -68583,7 +68713,7 @@ function ingest$p(astNode, state) {
68583
68713
  mergeData: mergeData$o,
68584
68714
  storeMetadataParams: {
68585
68715
  ttl: TTL$1,
68586
- namespace: keyPrefix,
68716
+ namespace: keyPrefix$1,
68587
68717
  representationName: "LongAggregate",
68588
68718
  version: VERSION$w
68589
68719
  },
@@ -68658,7 +68788,7 @@ function getTypeCacheKeys$p(cacheKeySink, astNode, state) {
68658
68788
  const { path, data, luvio } = state;
68659
68789
  const rootKey = keyBuilder$s(luvio, path);
68660
68790
  cacheKeySink.set(rootKey, {
68661
- namespace: keyPrefix,
68791
+ namespace: keyPrefix$1,
68662
68792
  mergeable: true,
68663
68793
  representationName: name$o
68664
68794
  });
@@ -68856,7 +68986,7 @@ function ingest$o(astNode, state) {
68856
68986
  mergeData: mergeData$n,
68857
68987
  storeMetadataParams: {
68858
68988
  ttl: TTL$1,
68859
- namespace: keyPrefix,
68989
+ namespace: keyPrefix$1,
68860
68990
  representationName: "PhoneNumberAggregate",
68861
68991
  version: VERSION$v
68862
68992
  },
@@ -68931,7 +69061,7 @@ function getTypeCacheKeys$o(cacheKeySink, astNode, state) {
68931
69061
  const { path, data, luvio } = state;
68932
69062
  const rootKey = keyBuilder$r(luvio, path);
68933
69063
  cacheKeySink.set(rootKey, {
68934
- namespace: keyPrefix,
69064
+ namespace: keyPrefix$1,
68935
69065
  mergeable: true,
68936
69066
  representationName: name$n
68937
69067
  });
@@ -69101,7 +69231,7 @@ function ingest$n(astNode, state) {
69101
69231
  mergeData: mergeData$m,
69102
69232
  storeMetadataParams: {
69103
69233
  ttl: TTL$1,
69104
- namespace: keyPrefix,
69234
+ namespace: keyPrefix$1,
69105
69235
  representationName: "PicklistAggregate",
69106
69236
  version: VERSION$u
69107
69237
  },
@@ -69176,7 +69306,7 @@ function getTypeCacheKeys$n(cacheKeySink, astNode, state) {
69176
69306
  const { path, data, luvio } = state;
69177
69307
  const rootKey = keyBuilder$q(luvio, path);
69178
69308
  cacheKeySink.set(rootKey, {
69179
- namespace: keyPrefix,
69309
+ namespace: keyPrefix$1,
69180
69310
  mergeable: true,
69181
69311
  representationName: name$m
69182
69312
  });
@@ -69352,7 +69482,7 @@ function ingest$m(astNode, state) {
69352
69482
  mergeData: mergeData$l,
69353
69483
  storeMetadataParams: {
69354
69484
  ttl: TTL$1,
69355
- namespace: keyPrefix,
69485
+ namespace: keyPrefix$1,
69356
69486
  representationName: "TextAreaAggregate",
69357
69487
  version: VERSION$t
69358
69488
  },
@@ -69427,7 +69557,7 @@ function getTypeCacheKeys$m(cacheKeySink, astNode, state) {
69427
69557
  const { path, data, luvio } = state;
69428
69558
  const rootKey = keyBuilder$p(luvio, path);
69429
69559
  cacheKeySink.set(rootKey, {
69430
- namespace: keyPrefix,
69560
+ namespace: keyPrefix$1,
69431
69561
  mergeable: true,
69432
69562
  representationName: name$l
69433
69563
  });
@@ -69597,7 +69727,7 @@ function ingest$l(astNode, state) {
69597
69727
  mergeData: mergeData$k,
69598
69728
  storeMetadataParams: {
69599
69729
  ttl: TTL$1,
69600
- namespace: keyPrefix,
69730
+ namespace: keyPrefix$1,
69601
69731
  representationName: "TimeAggregate",
69602
69732
  version: VERSION$s
69603
69733
  },
@@ -69664,7 +69794,7 @@ function getTypeCacheKeys$l(cacheKeySink, astNode, state) {
69664
69794
  const { path, data, luvio } = state;
69665
69795
  const rootKey = keyBuilder$o(luvio, path);
69666
69796
  cacheKeySink.set(rootKey, {
69667
- namespace: keyPrefix,
69797
+ namespace: keyPrefix$1,
69668
69798
  mergeable: true,
69669
69799
  representationName: name$k
69670
69800
  });
@@ -69786,7 +69916,7 @@ function ingest$k(astNode, state) {
69786
69916
  mergeData: mergeData$j,
69787
69917
  storeMetadataParams: {
69788
69918
  ttl: TTL$1,
69789
- namespace: keyPrefix,
69919
+ namespace: keyPrefix$1,
69790
69920
  representationName: "UrlAggregate",
69791
69921
  version: VERSION$r
69792
69922
  },
@@ -69861,7 +69991,7 @@ function getTypeCacheKeys$k(cacheKeySink, astNode, state) {
69861
69991
  const { path, data, luvio } = state;
69862
69992
  const rootKey = keyBuilder$n(luvio, path);
69863
69993
  cacheKeySink.set(rootKey, {
69864
- namespace: keyPrefix,
69994
+ namespace: keyPrefix$1,
69865
69995
  mergeable: true,
69866
69996
  representationName: name$j
69867
69997
  });
@@ -70154,7 +70284,7 @@ function ingest$j(astNode, state) {
70154
70284
  mergeData: mergeData$i,
70155
70285
  storeMetadataParams: {
70156
70286
  ttl: TTL$1,
70157
- namespace: keyPrefix,
70287
+ namespace: keyPrefix$1,
70158
70288
  representationName: "RecordAggregate",
70159
70289
  version: VERSION$q
70160
70290
  },
@@ -70280,7 +70410,7 @@ function getTypeCacheKeys$j(cacheKeySink, astNode, state) {
70280
70410
  const { path, data, luvio } = state;
70281
70411
  const rootKey = keyBuilder$m(luvio, path);
70282
70412
  cacheKeySink.set(rootKey, {
70283
- namespace: keyPrefix,
70413
+ namespace: keyPrefix$1,
70284
70414
  mergeable: true,
70285
70415
  representationName: name$i
70286
70416
  });
@@ -70522,7 +70652,7 @@ function ingest$i(astNode, state) {
70522
70652
  mergeData: mergeData$h,
70523
70653
  storeMetadataParams: {
70524
70654
  ttl: TTL$1,
70525
- namespace: keyPrefix,
70655
+ namespace: keyPrefix$1,
70526
70656
  representationName: "RecordResult",
70527
70657
  version: VERSION$p
70528
70658
  },
@@ -70584,7 +70714,7 @@ function getTypeCacheKeys$i(cacheKeySink, astNode, state) {
70584
70714
  const { path, data, luvio } = state;
70585
70715
  const rootKey = keyBuilder$l(luvio, path);
70586
70716
  cacheKeySink.set(rootKey, {
70587
- namespace: keyPrefix,
70717
+ namespace: keyPrefix$1,
70588
70718
  mergeable: true,
70589
70719
  representationName: name$h
70590
70720
  });
@@ -70684,7 +70814,7 @@ function ingest$h(astNode, state) {
70684
70814
  mergeData: mergeData$g,
70685
70815
  storeMetadataParams: {
70686
70816
  ttl: TTL$1,
70687
- namespace: keyPrefix,
70817
+ namespace: keyPrefix$1,
70688
70818
  representationName: "RecordAggregateEdge",
70689
70819
  version: VERSION$o
70690
70820
  },
@@ -70746,7 +70876,7 @@ function getTypeCacheKeys$h(cacheKeySink, astNode, state) {
70746
70876
  const { path, data, luvio } = state;
70747
70877
  const rootKey = keyBuilder$k(luvio, path);
70748
70878
  cacheKeySink.set(rootKey, {
70749
- namespace: keyPrefix,
70879
+ namespace: keyPrefix$1,
70750
70880
  mergeable: true,
70751
70881
  representationName: name$g
70752
70882
  });
@@ -70904,7 +71034,7 @@ function ingest$g(astNode, state) {
70904
71034
  mergeData: mergeData$f,
70905
71035
  storeMetadataParams: {
70906
71036
  ttl: TTL$1,
70907
- namespace: keyPrefix,
71037
+ namespace: keyPrefix$1,
70908
71038
  representationName: "RecordAggregateConnection",
70909
71039
  version: VERSION$n
70910
71040
  },
@@ -70976,7 +71106,7 @@ function getTypeCacheKeys$g(cacheKeySink, astNode, state) {
70976
71106
  const { path, data, luvio } = state;
70977
71107
  const rootKey = keyBuilder$j(luvio, path);
70978
71108
  cacheKeySink.set(rootKey, {
70979
- namespace: keyPrefix,
71109
+ namespace: keyPrefix$1,
70980
71110
  mergeable: true,
70981
71111
  representationName: name$f
70982
71112
  });
@@ -71135,7 +71265,7 @@ function ingest$f(astNode, state) {
71135
71265
  mergeData: mergeData$e,
71136
71266
  storeMetadataParams: {
71137
71267
  ttl: TTL$1,
71138
- namespace: keyPrefix,
71268
+ namespace: keyPrefix$1,
71139
71269
  representationName: "RecordQueryAggregate",
71140
71270
  version: VERSION$m
71141
71271
  },
@@ -71197,7 +71327,7 @@ function getTypeCacheKeys$f(cacheKeySink, astNode, state) {
71197
71327
  const { path, data, luvio } = state;
71198
71328
  const rootKey = keyBuilder$i(luvio, path);
71199
71329
  cacheKeySink.set(rootKey, {
71200
- namespace: keyPrefix,
71330
+ namespace: keyPrefix$1,
71201
71331
  mergeable: true,
71202
71332
  representationName: name$e
71203
71333
  });
@@ -71279,7 +71409,7 @@ function ingest$e(astNode, state) {
71279
71409
  mergeData: mergeData$d,
71280
71410
  storeMetadataParams: {
71281
71411
  ttl: TTL$1,
71282
- namespace: keyPrefix,
71412
+ namespace: keyPrefix$1,
71283
71413
  representationName: "ChildRelationship",
71284
71414
  version: VERSION$l
71285
71415
  },
@@ -71341,7 +71471,7 @@ function getTypeCacheKeys$e(cacheKeySink, astNode, state) {
71341
71471
  const { path, data, luvio } = state;
71342
71472
  const rootKey = keyBuilder$h(luvio, path);
71343
71473
  cacheKeySink.set(rootKey, {
71344
- namespace: keyPrefix,
71474
+ namespace: keyPrefix$1,
71345
71475
  mergeable: true,
71346
71476
  representationName: name$d
71347
71477
  });
@@ -71471,7 +71601,7 @@ function ingest$d(astNode, state) {
71471
71601
  mergeData: mergeData$c,
71472
71602
  storeMetadataParams: {
71473
71603
  ttl: TTL$1,
71474
- namespace: keyPrefix,
71604
+ namespace: keyPrefix$1,
71475
71605
  representationName: "DependentField",
71476
71606
  version: VERSION$k
71477
71607
  },
@@ -71529,7 +71659,7 @@ function getTypeCacheKeys$d(cacheKeySink, astNode, state) {
71529
71659
  const { path, data, luvio } = state;
71530
71660
  const rootKey = keyBuilder$g(luvio, path);
71531
71661
  cacheKeySink.set(rootKey, {
71532
- namespace: keyPrefix,
71662
+ namespace: keyPrefix$1,
71533
71663
  mergeable: true,
71534
71664
  representationName: name$c
71535
71665
  });
@@ -71610,7 +71740,7 @@ function ingest$c(astNode, state) {
71610
71740
  mergeData: mergeData$b,
71611
71741
  storeMetadataParams: {
71612
71742
  ttl: TTL$1,
71613
- namespace: keyPrefix,
71743
+ namespace: keyPrefix$1,
71614
71744
  representationName: "FilteredLookupInfo",
71615
71745
  version: VERSION$j
71616
71746
  },
@@ -71673,7 +71803,7 @@ function getTypeCacheKeys$c(cacheKeySink, astNode, state) {
71673
71803
  const { path, data, luvio } = state;
71674
71804
  const rootKey = keyBuilder$f(luvio, path);
71675
71805
  cacheKeySink.set(rootKey, {
71676
- namespace: keyPrefix,
71806
+ namespace: keyPrefix$1,
71677
71807
  mergeable: true,
71678
71808
  representationName: name$b
71679
71809
  });
@@ -71764,7 +71894,7 @@ function ingest$b(astNode, state) {
71764
71894
  mergeData: mergeData$a,
71765
71895
  storeMetadataParams: {
71766
71896
  ttl: TTL$1,
71767
- namespace: keyPrefix,
71897
+ namespace: keyPrefix$1,
71768
71898
  representationName: "ReferenceToInfo",
71769
71899
  version: VERSION$i
71770
71900
  },
@@ -71826,7 +71956,7 @@ function getTypeCacheKeys$b(cacheKeySink, astNode, state) {
71826
71956
  const { path, data, luvio } = state;
71827
71957
  const rootKey = keyBuilder$e(luvio, path);
71828
71958
  cacheKeySink.set(rootKey, {
71829
- namespace: keyPrefix,
71959
+ namespace: keyPrefix$1,
71830
71960
  mergeable: true,
71831
71961
  representationName: name$a
71832
71962
  });
@@ -71938,7 +72068,7 @@ function ingest$a(astNode, state) {
71938
72068
  mergeData: mergeData$9,
71939
72069
  storeMetadataParams: {
71940
72070
  ttl: TTL$1,
71941
- namespace: keyPrefix,
72071
+ namespace: keyPrefix$1,
71942
72072
  representationName: "Field",
71943
72073
  version: VERSION$h
71944
72074
  },
@@ -72024,7 +72154,7 @@ function getTypeCacheKeys$a(cacheKeySink, astNode, state) {
72024
72154
  const { path, data, luvio } = state;
72025
72155
  const rootKey = keyBuilder$d(luvio, path);
72026
72156
  cacheKeySink.set(rootKey, {
72027
- namespace: keyPrefix,
72157
+ namespace: keyPrefix$1,
72028
72158
  mergeable: true,
72029
72159
  representationName: name$9
72030
72160
  });
@@ -72330,7 +72460,7 @@ function ingest$9(astNode, state) {
72330
72460
  mergeData: mergeData$8,
72331
72461
  storeMetadataParams: {
72332
72462
  ttl: TTL$1,
72333
- namespace: keyPrefix,
72463
+ namespace: keyPrefix$1,
72334
72464
  representationName: "RecordTypeInfo",
72335
72465
  version: VERSION$g
72336
72466
  },
@@ -72398,7 +72528,7 @@ function getTypeCacheKeys$9(cacheKeySink, astNode, state) {
72398
72528
  const { path, data, luvio } = state;
72399
72529
  const rootKey = keyBuilder$c(luvio, path);
72400
72530
  cacheKeySink.set(rootKey, {
72401
- namespace: keyPrefix,
72531
+ namespace: keyPrefix$1,
72402
72532
  mergeable: true,
72403
72533
  representationName: name$8
72404
72534
  });
@@ -72505,7 +72635,7 @@ function ingest$8(astNode, state) {
72505
72635
  mergeData: mergeData$7,
72506
72636
  storeMetadataParams: {
72507
72637
  ttl: TTL$1,
72508
- namespace: keyPrefix,
72638
+ namespace: keyPrefix$1,
72509
72639
  representationName: "ThemeInfo",
72510
72640
  version: VERSION$f
72511
72641
  },
@@ -72563,7 +72693,7 @@ function getTypeCacheKeys$8(cacheKeySink, astNode, state) {
72563
72693
  const { path, data, luvio } = state;
72564
72694
  const rootKey = keyBuilder$b(luvio, path);
72565
72695
  cacheKeySink.set(rootKey, {
72566
- namespace: keyPrefix,
72696
+ namespace: keyPrefix$1,
72567
72697
  mergeable: true,
72568
72698
  representationName: name$7
72569
72699
  });
@@ -72645,7 +72775,7 @@ function ingest$7(astNode, state) {
72645
72775
  mergeData: mergeData$6,
72646
72776
  storeMetadataParams: {
72647
72777
  ttl: TTL$3,
72648
- namespace: keyPrefix,
72778
+ namespace: keyPrefix$1,
72649
72779
  representationName: "ObjectInfo",
72650
72780
  version: VERSION$e
72651
72781
  },
@@ -72733,7 +72863,7 @@ function getTypeCacheKeys$7(cacheKeySink, astNode, state) {
72733
72863
  const { path, data, luvio } = state;
72734
72864
  const rootKey = keyBuilder$a(luvio, path);
72735
72865
  cacheKeySink.set(rootKey, {
72736
- namespace: keyPrefix,
72866
+ namespace: keyPrefix$1,
72737
72867
  mergeable: true,
72738
72868
  representationName: name$6
72739
72869
  });
@@ -73043,7 +73173,7 @@ function ingest$6(astNode, state) {
73043
73173
  mergeData: mergeData$5,
73044
73174
  storeMetadataParams: {
73045
73175
  ttl: TTL$1,
73046
- namespace: keyPrefix,
73176
+ namespace: keyPrefix$1,
73047
73177
  representationName: "ListColumn",
73048
73178
  version: VERSION$d
73049
73179
  },
@@ -73106,7 +73236,7 @@ function getTypeCacheKeys$6(cacheKeySink, astNode, state) {
73106
73236
  const { path, data, luvio } = state;
73107
73237
  const rootKey = keyBuilder$9(luvio, path);
73108
73238
  cacheKeySink.set(rootKey, {
73109
- namespace: keyPrefix,
73239
+ namespace: keyPrefix$1,
73110
73240
  mergeable: true,
73111
73241
  representationName: name$5
73112
73242
  });
@@ -73203,7 +73333,7 @@ function ingest$5(astNode, state) {
73203
73333
  mergeData: mergeData$4,
73204
73334
  storeMetadataParams: {
73205
73335
  ttl: TTL$1,
73206
- namespace: keyPrefix,
73336
+ namespace: keyPrefix$1,
73207
73337
  representationName: "ListOrder",
73208
73338
  version: VERSION$c
73209
73339
  },
@@ -73266,7 +73396,7 @@ function getTypeCacheKeys$5(cacheKeySink, astNode, state) {
73266
73396
  const { path, data, luvio } = state;
73267
73397
  const rootKey = keyBuilder$8(luvio, path);
73268
73398
  cacheKeySink.set(rootKey, {
73269
- namespace: keyPrefix,
73399
+ namespace: keyPrefix$1,
73270
73400
  mergeable: true,
73271
73401
  representationName: name$4
73272
73402
  });
@@ -73352,7 +73482,7 @@ function ingest$4(astNode, state) {
73352
73482
  mergeData: mergeData$3,
73353
73483
  storeMetadataParams: {
73354
73484
  ttl: TTL$2,
73355
- namespace: keyPrefix,
73485
+ namespace: keyPrefix$1,
73356
73486
  representationName: "RelatedListInfo",
73357
73487
  version: VERSION$b
73358
73488
  },
@@ -73418,7 +73548,7 @@ function getTypeCacheKeys$4(cacheKeySink, astNode, state) {
73418
73548
  const { path, data, luvio } = state;
73419
73549
  const rootKey = keyBuilder$7(luvio, path);
73420
73550
  cacheKeySink.set(rootKey, {
73421
- namespace: keyPrefix,
73551
+ namespace: keyPrefix$1,
73422
73552
  mergeable: true,
73423
73553
  representationName: name$3
73424
73554
  });
@@ -73588,7 +73718,7 @@ function ingest$3(astNode, state) {
73588
73718
  mergeData: mergeData$2,
73589
73719
  storeMetadataParams: {
73590
73720
  ttl: TTL$1,
73591
- namespace: keyPrefix,
73721
+ namespace: keyPrefix$1,
73592
73722
  representationName: "UIAPI",
73593
73723
  version: VERSION$a
73594
73724
  },
@@ -73662,7 +73792,7 @@ function getTypeCacheKeys$3(cacheKeySink, astNode, state) {
73662
73792
  const { path, data, luvio } = state;
73663
73793
  const rootKey = keyBuilder$6(luvio, path);
73664
73794
  cacheKeySink.set(rootKey, {
73665
- namespace: keyPrefix,
73795
+ namespace: keyPrefix$1,
73666
73796
  mergeable: true,
73667
73797
  representationName: name$2
73668
73798
  });
@@ -73822,7 +73952,7 @@ function ingest$2(astNode, state) {
73822
73952
  mergeData: mergeData$1,
73823
73953
  storeMetadataParams: {
73824
73954
  ttl: TTL$1,
73825
- namespace: keyPrefix,
73955
+ namespace: keyPrefix$1,
73826
73956
  representationName: "RateLimit",
73827
73957
  version: VERSION$9
73828
73958
  },
@@ -73890,7 +74020,7 @@ function getTypeCacheKeys$2(cacheKeySink, astNode, state) {
73890
74020
  const { path, data, luvio } = state;
73891
74021
  const rootKey = keyBuilder$5(luvio, path);
73892
74022
  cacheKeySink.set(rootKey, {
73893
- namespace: keyPrefix,
74023
+ namespace: keyPrefix$1,
73894
74024
  mergeable: true,
73895
74025
  representationName: name$1
73896
74026
  });
@@ -73969,7 +74099,7 @@ const VERSION$8 = '3d3abb3d797454846af45b54bff46916';
73969
74099
  function keyBuilder$4(luvio, operationNode, variables, fragmentMap) {
73970
74100
  return buildQueryTypeStringKey({
73971
74101
  luvio,
73972
- keyPrefix: keyPrefix,
74102
+ keyPrefix: keyPrefix$1,
73973
74103
  schemaName: 'uiapi',
73974
74104
  queryTypeName: name,
73975
74105
  operationNode,
@@ -73995,7 +74125,7 @@ function ingest$1(astNode, state) {
73995
74125
  mergeData,
73996
74126
  storeMetadataParams: {
73997
74127
  ttl: TTL$1,
73998
- namespace: keyPrefix,
74128
+ namespace: keyPrefix$1,
73999
74129
  representationName: "Query",
74000
74130
  version: VERSION$8
74001
74131
  },
@@ -74053,7 +74183,7 @@ function getTypeCacheKeys$1(cacheKeySink, astNode, state) {
74053
74183
  const { path, data, luvio } = state;
74054
74184
  const rootKey = keyBuilder$4(luvio, astNode, state.variables, state.fragments);
74055
74185
  cacheKeySink.set(rootKey, {
74056
- namespace: keyPrefix,
74186
+ namespace: keyPrefix$1,
74057
74187
  mergeable: true,
74058
74188
  representationName: name
74059
74189
  });
@@ -75862,7 +75992,7 @@ function ingestError$1(luvio, config, params, error, snapshotRefresh) {
75862
75992
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
75863
75993
  const storeMetadataParams = {
75864
75994
  ttl: TTL,
75865
- namespace: keyPrefix,
75995
+ namespace: keyPrefix$1,
75866
75996
  representationName: RepresentationType,
75867
75997
  version: VERSION$7
75868
75998
  };
@@ -76371,7 +76501,7 @@ function select$7(luvio, resourceParams) {
76371
76501
  return selectChildResourceParams(luvio, childResources, resourceParams);
76372
76502
  }
76373
76503
  function keyBuilder$1(luvio, params) {
76374
- return (keyPrefix +
76504
+ return (keyPrefix$1 +
76375
76505
  '::GraphQLBatchRepresentation:(' +
76376
76506
  'batchQuery:' +
76377
76507
  params.body.batchQuery +
@@ -76391,7 +76521,7 @@ function getResponseCacheKeys$2(keys, luvio, resourceParams, response) {
76391
76521
  else if (childStatusCode === 404) {
76392
76522
  const childKey = keyBuilder$3(luvio, childResourceParams);
76393
76523
  keys.set(childKey, {
76394
- namespace: keyPrefix,
76524
+ namespace: keyPrefix$1,
76395
76525
  representationName: RepresentationType,
76396
76526
  mergeable: false,
76397
76527
  });
@@ -76640,8 +76770,8 @@ let graphqlBatch;
76640
76770
  let graphql_imperative;
76641
76771
  let graphqlBatch_imperative;
76642
76772
  // Adapter Metadata
76643
- const graphqlMetadata = { apiFamily: keyPrefix, name: 'graphql', ttl: 900000 };
76644
- const graphqlBatchMetadata = { apiFamily: keyPrefix, name: 'graphqlBatch' };
76773
+ const graphqlMetadata = { apiFamily: keyPrefix$1, name: 'graphql', ttl: 900000 };
76774
+ const graphqlBatchMetadata = { apiFamily: keyPrefix$1, name: 'graphqlBatch' };
76645
76775
  function bindExportsTo(luvio) {
76646
76776
  // LDS adapters
76647
76777
  const graphql_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'graphql', factory$1), graphqlMetadata);
@@ -77150,7 +77280,7 @@ register$1({
77150
77280
  configuration: { ...configurationForGraphQLAdapters$1 },
77151
77281
  instrument: instrument$1,
77152
77282
  });
77153
- // version: 1.243.0-c7d8ec9e0
77283
+ // version: 1.245.0-df5596041
77154
77284
 
77155
77285
  // On core the unstable adapters are re-exported with different names,
77156
77286
  // we want to match them here.
@@ -79399,7 +79529,7 @@ withDefaultLuvio((luvio) => {
79399
79529
  unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
79400
79530
  graphQLImperative = ldsAdapter;
79401
79531
  });
79402
- // version: 1.243.0-c7d8ec9e0
79532
+ // version: 1.245.0-df5596041
79403
79533
 
79404
79534
  var gqlApi = /*#__PURE__*/Object.freeze({
79405
79535
  __proto__: null,
@@ -80097,7 +80227,7 @@ const callbacks$1 = [];
80097
80227
  function register(r) {
80098
80228
  callbacks$1.forEach((callback) => callback(r));
80099
80229
  }
80100
- // version: 1.243.0-87f38263e
80230
+ // version: 1.245.0-0ea124370
80101
80231
 
80102
80232
  /**
80103
80233
  * Returns true if the value acts like a Promise, i.e. has a "then" function,
@@ -84247,8 +84377,9 @@ function buildAdapterValidationConfig(displayName, paramsMeta) {
84247
84377
  }
84248
84378
  };
84249
84379
  }
84380
+ const keyPrefix = 'UiApi';
84250
84381
 
84251
- const { assign, create, freeze, keys } = Object;
84382
+ const { assign, create, freeze, isFrozen, keys } = Object;
84252
84383
  const { isArray } = Array;
84253
84384
  const { concat, filter, includes, push, reduce } = Array.prototype;
84254
84385
 
@@ -84345,6 +84476,10 @@ function getFieldApiNamesArray(value) {
84345
84476
  }
84346
84477
  return dedupe(array).sort();
84347
84478
  }
84479
+ const RepresentationType$T = 'RecordRepresentation';
84480
+ function keyBuilder$35(luvio, config) {
84481
+ return keyPrefix + '::' + RepresentationType$T + ':' + config.recordId;
84482
+ }
84348
84483
  freeze({
84349
84484
  name: '',
84350
84485
  children: {},
@@ -84736,11 +84871,250 @@ function removeEventHandler(session, handler) {
84736
84871
  }
84737
84872
  }
84738
84873
 
84874
+ /**
84875
+ * Copyright (c) 2022, Salesforce, Inc.,
84876
+ * All rights reserved.
84877
+ * For full license text, see the LICENSE.txt file
84878
+ */
84879
+
84880
+
84881
+ var DraftActionStatus;
84882
+ (function (DraftActionStatus) {
84883
+ DraftActionStatus["Pending"] = "pending";
84884
+ DraftActionStatus["Uploading"] = "uploading";
84885
+ DraftActionStatus["Error"] = "error";
84886
+ DraftActionStatus["Completed"] = "completed";
84887
+ })(DraftActionStatus || (DraftActionStatus = {}));
84888
+ var ProcessActionResult;
84889
+ (function (ProcessActionResult) {
84890
+ // non-2xx network error, requires user intervention
84891
+ ProcessActionResult["ACTION_ERRORED"] = "ERROR";
84892
+ // upload succeeded
84893
+ ProcessActionResult["ACTION_SUCCEEDED"] = "SUCCESS";
84894
+ // queue is empty
84895
+ ProcessActionResult["NO_ACTION_TO_PROCESS"] = "NO_ACTION_TO_PROCESS";
84896
+ // network request is in flight
84897
+ ProcessActionResult["ACTION_ALREADY_PROCESSING"] = "ACTION_ALREADY_PROCESSING";
84898
+ // network call failed (offline)
84899
+ ProcessActionResult["NETWORK_ERROR"] = "NETWORK_ERROR";
84900
+ // queue is blocked on an error that requires user intervention
84901
+ ProcessActionResult["BLOCKED_ON_ERROR"] = "BLOCKED_ON_ERROR";
84902
+ //waiting for user to execute custom action
84903
+ ProcessActionResult["CUSTOM_ACTION_WAITING"] = "CUSTOM_ACTION_WAITING";
84904
+ })(ProcessActionResult || (ProcessActionResult = {}));
84905
+ var DraftQueueState;
84906
+ (function (DraftQueueState) {
84907
+ /** Currently processing an item in the queue or queue is empty and waiting to process the next item. */
84908
+ DraftQueueState["Started"] = "started";
84909
+ /**
84910
+ * The queue is stopped and will not attempt to upload any drafts until startDraftQueue() is called.
84911
+ * This is the initial state when the DraftQueue gets instantiated.
84912
+ */
84913
+ DraftQueueState["Stopped"] = "stopped";
84914
+ /**
84915
+ * The queue is stopped due to a blocking error from the last upload attempt.
84916
+ * The queue will not run again until startDraftQueue() is called.
84917
+ */
84918
+ DraftQueueState["Error"] = "error";
84919
+ /**
84920
+ * There was a network error and the queue will attempt to upload again shortly.
84921
+ * To attempt to force an upload now call startDraftQueue().
84922
+ */
84923
+ DraftQueueState["Waiting"] = "waiting";
84924
+ })(DraftQueueState || (DraftQueueState = {}));
84925
+ var DraftQueueEventType;
84926
+ (function (DraftQueueEventType) {
84927
+ /**
84928
+ * Triggered after an action had been added to the queue
84929
+ */
84930
+ DraftQueueEventType["ActionAdded"] = "added";
84931
+ /**
84932
+ * Triggered when starting to upload and process an action
84933
+ */
84934
+ DraftQueueEventType["ActionUploading"] = "uploading";
84935
+ /**
84936
+ * Triggered once an action failed
84937
+ */
84938
+ DraftQueueEventType["ActionFailed"] = "failed";
84939
+ /**
84940
+ * Triggered after an action has been deleted from the queue
84941
+ */
84942
+ DraftQueueEventType["ActionDeleted"] = "deleted";
84943
+ /**
84944
+ * Triggered after an action has been completed and after it has been removed from the queue
84945
+ */
84946
+ DraftQueueEventType["ActionCompleted"] = "completed";
84947
+ /**
84948
+ * Triggered after an action has been updated by the updateAction API
84949
+ */
84950
+ DraftQueueEventType["ActionUpdated"] = "updated";
84951
+ /**
84952
+ * Triggered after the Draft Queue state changes
84953
+ */
84954
+ DraftQueueEventType["QueueStateChanged"] = "state";
84955
+ })(DraftQueueEventType || (DraftQueueEventType = {}));
84956
+ var QueueOperationType;
84957
+ (function (QueueOperationType) {
84958
+ QueueOperationType["Add"] = "add";
84959
+ QueueOperationType["Delete"] = "delete";
84960
+ QueueOperationType["Update"] = "update";
84961
+ })(QueueOperationType || (QueueOperationType = {}));
84962
+ /**
84963
+ Use Math.random to generate v4 RFC4122 compliant uuid
84964
+ */
84965
+ function uuidv4() {
84966
+ const uuid = [];
84967
+ for (let i = 0; i < 32; i++) {
84968
+ const random = (Math.random() * 16) | 0;
84969
+ if (i === 8 || i === 12 || i === 16 || i === 20) {
84970
+ uuid.push('-');
84971
+ }
84972
+ uuid.push((i === 12 ? 4 : i === 16 ? (random & 3) | 8 : random).toString(16));
84973
+ }
84974
+ return uuid.join('');
84975
+ }
84976
+
84977
+ var CustomActionResultType;
84978
+ (function (CustomActionResultType) {
84979
+ CustomActionResultType["SUCCESS"] = "SUCCESS";
84980
+ CustomActionResultType["FAILURE"] = "FAILURE";
84981
+ })(CustomActionResultType || (CustomActionResultType = {}));
84982
+ var CustomActionErrorType;
84983
+ (function (CustomActionErrorType) {
84984
+ CustomActionErrorType["NETWORK_ERROR"] = "NETWORK_ERROR";
84985
+ CustomActionErrorType["CLIENT_ERROR"] = "CLIENT_ERROR";
84986
+ })(CustomActionErrorType || (CustomActionErrorType = {}));
84987
+
84988
+ /**
84989
+ * Denotes what kind of operation a DraftQueueItem represents.
84990
+ */
84991
+ var DraftActionOperationType;
84992
+ (function (DraftActionOperationType) {
84993
+ DraftActionOperationType["Create"] = "create";
84994
+ DraftActionOperationType["Update"] = "update";
84995
+ DraftActionOperationType["Delete"] = "delete";
84996
+ DraftActionOperationType["Custom"] = "custom";
84997
+ })(DraftActionOperationType || (DraftActionOperationType = {}));
84998
+ var DraftQueueOperationType;
84999
+ (function (DraftQueueOperationType) {
85000
+ DraftQueueOperationType["ItemAdded"] = "added";
85001
+ DraftQueueOperationType["ItemUploading"] = "uploading";
85002
+ DraftQueueOperationType["ItemDeleted"] = "deleted";
85003
+ DraftQueueOperationType["ItemCompleted"] = "completed";
85004
+ DraftQueueOperationType["ItemFailed"] = "failed";
85005
+ DraftQueueOperationType["ItemUpdated"] = "updated";
85006
+ DraftQueueOperationType["QueueStarted"] = "started";
85007
+ DraftQueueOperationType["QueueStopped"] = "stopped";
85008
+ })(DraftQueueOperationType || (DraftQueueOperationType = {}));
85009
+
85010
+ var EvictStatus;
85011
+ (function (EvictStatus) {
85012
+ EvictStatus["InProgress"] = "InProgress";
85013
+ EvictStatus["Succeeded"] = "Succeeded";
85014
+ EvictStatus["Error"] = "Error";
85015
+ EvictStatus["Cancelled"] = "Cancelled";
85016
+ })(EvictStatus || (EvictStatus = {}));
85017
+ const MessagingDurableSegmentName = 'MESSAGING';
85018
+ const DEFAULT_MAX_ENTRIES_PER_OPERATION = 500;
85019
+ /**
85020
+ * Keep tracking of ongoing eviction id to a flag to trigger eviction cancellation.
85021
+ * false in the begining, set to false when cancelEviction is called.
85022
+ */
85023
+ const inProgressEvictions = new Map();
85024
+ /**
85025
+ * Purging records specified by an array of record id from durable store
85026
+ * @param recordIds record id array
85027
+ * @onProgressUpdate call back to report evict progress
85028
+ *
85029
+ * @returns a function to cancel the eviction
85030
+ *
85031
+ * The record will not be purged if the record has draft.
85032
+ */
85033
+ function evictCacheRecordsByIds(recordIds, onProgressUpdate) {
85034
+ const evictionId = uuidv4();
85035
+ inProgressEvictions.set(evictionId, false);
85036
+ const onEvicted = (progress) => {
85037
+ onProgressUpdate(progress);
85038
+ const { status } = progress;
85039
+ if (status === EvictStatus.Succeeded || status === EvictStatus.Error) {
85040
+ inProgressEvictions.delete(evictionId);
85041
+ }
85042
+ if (status === EvictStatus.InProgress) {
85043
+ if (inProgressEvictions.get(evictionId)) {
85044
+ inProgressEvictions.delete(evictionId);
85045
+ onProgressUpdate({ status: EvictStatus.Cancelled });
85046
+ }
85047
+ else {
85048
+ evictAChunk();
85049
+ }
85050
+ }
85051
+ };
85052
+ const evictAChunk = () => {
85053
+ evictChunksOfRecord(recordIds).then(onEvicted);
85054
+ };
85055
+ evictAChunk();
85056
+ return evictionId;
85057
+ }
85058
+ /**
85059
+ * Cancel the eviction by specified id.
85060
+ * @param evictionId
85061
+ */
85062
+ function cancelEviction(evictionId) {
85063
+ inProgressEvictions.set(evictionId, true);
85064
+ }
85065
+ /**
85066
+ * pull a chunk of record id, evict status back in a promise.
85067
+ * @param ids the list of record ids.
85068
+ * @returns
85069
+ */
85070
+ function evictChunksOfRecord(ids) {
85071
+ const chunk = ids.splice(0, DEFAULT_MAX_ENTRIES_PER_OPERATION);
85072
+ if (chunk.length === 0) {
85073
+ return Promise.resolve({ status: EvictStatus.Succeeded });
85074
+ }
85075
+ return new Promise((resolve) => {
85076
+ // evict the chunk
85077
+ const { luvio, nimbusSqliteStore } = getRuntime();
85078
+ const paramTemplate = chunk.map((_) => '?').join(',');
85079
+ const params = chunk.map((recordId) => keyBuilder$35(luvio, { recordId }));
85080
+ try {
85081
+ nimbusSqliteStore
85082
+ .query(`DELETE FROM lds_data
85083
+ WHERE key IN (${paramTemplate}) AND JSON_EXTRACT(data,'$.drafts') IS NULL
85084
+ RETURNING key
85085
+ `, params)
85086
+ .then((result) => {
85087
+ const evictedEntries = result.rows.map((row) => row[0]);
85088
+ const skippedEntries = params.filter((entryKey) => evictedEntries.indexOf(entryKey) === -1);
85089
+ // broadcast entries evicted
85090
+ nimbusSqliteStore.setEntries({ notifyStoreUpdateAvailable: { data: evictedEntries } }, MessagingDurableSegmentName);
85091
+ resolve({
85092
+ status: EvictStatus.InProgress,
85093
+ evictedEntries,
85094
+ skippedEntries,
85095
+ });
85096
+ })
85097
+ .catch((reason) => {
85098
+ resolve({
85099
+ status: EvictStatus.Error,
85100
+ message: JSON.stringify(reason),
85101
+ });
85102
+ });
85103
+ }
85104
+ catch (reason) {
85105
+ resolve({
85106
+ status: EvictStatus.Error,
85107
+ message: JSON.stringify(reason),
85108
+ });
85109
+ }
85110
+ });
85111
+ }
85112
+
84739
85113
  // LWR has a "setupLDS" bootstrap service/loader hook, we simulate this in
84740
85114
  // standalone bundle by mimicking what "setupLDS" does here and then exporting
84741
85115
  // everything from main.ts
84742
85116
  const { luvio } = getRuntime();
84743
85117
  setDefaultLuvio({ luvio });
84744
85118
 
84745
- export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
84746
- // version: 1.243.0-87f38263e
85119
+ export { cancelEviction, createPrimingSession, draftManager, draftQueue, evictCacheRecordsByIds, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
85120
+ // version: 1.245.0-0ea124370