@salesforce/lds-adapters-uiapi 1.289.0 → 1.291.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.
Files changed (30) hide show
  1. package/dist/es/es2018/types/src/generated/adapters/createRecord.d.ts +1 -0
  2. package/dist/es/es2018/types/src/generated/adapters/getQuickActionLayout.d.ts +2 -0
  3. package/dist/es/es2018/types/src/generated/adapters/updateRecord.d.ts +1 -0
  4. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +1 -1
  5. package/dist/es/es2018/types/src/generated/resources/deleteUiApiFormsHealthCheckByApiName.d.ts +11 -0
  6. package/dist/es/es2018/types/src/generated/resources/deleteUiApiListInfoByListViewId.d.ts +11 -0
  7. package/dist/es/es2018/types/src/generated/resources/getUiApiActionsLayoutByActionApiName.d.ts +4 -0
  8. package/dist/es/es2018/types/src/generated/resources/getUiApiFormsHealthCheckByApiName.d.ts +15 -0
  9. package/dist/es/es2018/types/src/generated/resources/getUiApiListRecordsByListViewId.d.ts +1 -1
  10. package/dist/es/es2018/types/src/generated/resources/patchUiApiFormsHealthCheckByApiName.d.ts +9 -0
  11. package/dist/es/es2018/types/src/generated/resources/patchUiApiRecordsByRecordId.d.ts +1 -0
  12. package/dist/es/es2018/types/src/generated/resources/postUiApiListRecordsByListViewId.d.ts +24 -0
  13. package/dist/es/es2018/types/src/generated/resources/postUiApiRecords.d.ts +1 -0
  14. package/dist/es/es2018/types/src/generated/resources/putUiApiFormsHealthCheckByApiName.d.ts +9 -0
  15. package/dist/es/es2018/types/src/generated/types/ActionInputRepresentation.d.ts +3 -3
  16. package/dist/es/es2018/types/src/generated/types/AdvancedLookupDisplayInfoFieldRepresentation.d.ts +3 -3
  17. package/dist/es/es2018/types/src/generated/types/GraphQLBatchInputRepresentation.d.ts +28 -0
  18. package/dist/es/es2018/types/src/generated/types/HealthCheckRepresentation.d.ts +28 -0
  19. package/dist/es/es2018/types/src/generated/types/ListInfoInputRepresentation.d.ts +1 -1
  20. package/dist/es/es2018/types/src/generated/types/ListInfoShareRepresentation.d.ts +1 -1
  21. package/dist/es/es2018/types/src/generated/types/ObjectInfoRepresentation.d.ts +1 -1
  22. package/dist/es/es2018/types/src/generated/types/RecordAvatarBulkMapRepresentation.d.ts +1 -1
  23. package/dist/es/es2018/types/src/generated/types/RecordTypeInfoRepresentation.d.ts +1 -1
  24. package/dist/es/es2018/types/src/wire/updateRecord/index.d.ts +1 -1
  25. package/dist/es/es2018/uiapi-records-service.js +216 -185
  26. package/package.json +6 -6
  27. package/sfdc/graphqlAdapters.js +3 -3
  28. package/sfdc/index.js +217 -186
  29. package/src/raml/api.raml +474 -46
  30. package/src/raml/luvio.raml +2 -2
@@ -5,7 +5,7 @@
5
5
  */
6
6
 
7
7
  import { register } from '@salesforce/lds-default-luvio';
8
- import { serializeStructuredKey, ingestShape, coerceConfig as coerceConfig$1, typeCheckConfig as typeCheckConfig$1b, createResourceParams as createResourceParams$15, StoreKeyMap, StoreKeySet, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$W, resolveLink, coerceAdapterRequestContext, Wildcard } from '@luvio/engine';
8
+ import { serializeStructuredKey, ingestShape, coerceConfig as coerceConfig$1, typeCheckConfig as typeCheckConfig$1b, createResourceParams as createResourceParams$15, StoreKeyMap, StoreKeySet, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$W, resolveLink, HttpStatusCode, coerceAdapterRequestContext, Wildcard } from '@luvio/engine';
9
9
  import { print, visit, parse as parse$1 } from '@luvio/graphql-parser';
10
10
  import { getRequestedFieldsForType, buildFieldState, buildQueryTypeStringKey, serializeFieldArguments, createFragmentMap, mergeSelectionSets, deepMerge, getOperationFromDocument } from '@luvio/graphql';
11
11
 
@@ -5772,7 +5772,7 @@ function getResponseCacheKeys$16(storeKeyMap, luvio, resourceParams, response) {
5772
5772
  function createResourceRequest$1e(config) {
5773
5773
  const headers = {};
5774
5774
  return {
5775
- baseUri: '/services/data/v61.0',
5775
+ baseUri: '/services/data/v62.0',
5776
5776
  basePath: '/ui-api/records/' + config.urlParams.recordId + '',
5777
5777
  method: 'get',
5778
5778
  body: null,
@@ -6214,7 +6214,7 @@ function ingestError$P(luvio, params, error, snapshotRefresh) {
6214
6214
  function createResourceRequest$1d(config) {
6215
6215
  const headers = {};
6216
6216
  return {
6217
- baseUri: '/services/data/v61.0',
6217
+ baseUri: '/services/data/v62.0',
6218
6218
  basePath: '/ui-api/records/batch/' + config.urlParams.recordIds + '',
6219
6219
  method: 'get',
6220
6220
  body: null,
@@ -7540,7 +7540,7 @@ function ingestError$O(luvio, params, error, snapshotRefresh) {
7540
7540
  function createResourceRequest$1c(config) {
7541
7541
  const headers = {};
7542
7542
  return {
7543
- baseUri: '/services/data/v61.0',
7543
+ baseUri: '/services/data/v62.0',
7544
7544
  basePath: '/ui-api/list-ui/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
7545
7545
  method: 'get',
7546
7546
  body: null,
@@ -7690,7 +7690,7 @@ function ingestError$N(luvio, params, error, snapshotRefresh) {
7690
7690
  function createResourceRequest$1b(config) {
7691
7691
  const headers = {};
7692
7692
  return {
7693
- baseUri: '/services/data/v61.0',
7693
+ baseUri: '/services/data/v62.0',
7694
7694
  basePath: '/ui-api/list-ui/' + config.urlParams.listViewId + '',
7695
7695
  method: 'get',
7696
7696
  body: null,
@@ -7799,7 +7799,7 @@ const getListUiByListViewIdAdapterFactory = (luvio) => function UiApi__getListUi
7799
7799
  function createResourceRequest$1a(config) {
7800
7800
  const headers = {};
7801
7801
  return {
7802
- baseUri: '/services/data/v61.0',
7802
+ baseUri: '/services/data/v62.0',
7803
7803
  basePath: '/ui-api/list-records/' + config.urlParams.listViewId + '',
7804
7804
  method: 'get',
7805
7805
  body: null,
@@ -8774,7 +8774,7 @@ function ingestError$M(luvio, params, error, snapshotRefresh) {
8774
8774
  function createResourceRequest$19(config) {
8775
8775
  const headers = {};
8776
8776
  return {
8777
- baseUri: '/services/data/v61.0',
8777
+ baseUri: '/services/data/v62.0',
8778
8778
  basePath: '/ui-api/list-records/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
8779
8779
  method: 'post',
8780
8780
  body: config.body,
@@ -9510,7 +9510,7 @@ function ingestError$L(luvio, params, error, snapshotRefresh) {
9510
9510
  function createResourceRequest$18(config) {
9511
9511
  const headers = {};
9512
9512
  return {
9513
- baseUri: '/services/data/v61.0',
9513
+ baseUri: '/services/data/v62.0',
9514
9514
  basePath: '/ui-api/list-ui/' + config.urlParams.objectApiName + '',
9515
9515
  method: 'get',
9516
9516
  body: null,
@@ -9708,7 +9708,7 @@ function keyBuilder$37(luvio, params) {
9708
9708
  function createResourceRequest$17(config) {
9709
9709
  const headers = {};
9710
9710
  return {
9711
- baseUri: '/services/data/v61.0',
9711
+ baseUri: '/services/data/v62.0',
9712
9712
  basePath: '/ui-api/mru-list-ui/' + config.urlParams.objectApiName + '',
9713
9713
  method: 'get',
9714
9714
  body: null,
@@ -9753,7 +9753,7 @@ function validateAdapterConfig$19(untrustedConfig, configPropertyNames) {
9753
9753
  function createResourceRequest$16(config) {
9754
9754
  const headers = {};
9755
9755
  return {
9756
- baseUri: '/services/data/v61.0',
9756
+ baseUri: '/services/data/v62.0',
9757
9757
  basePath: '/ui-api/mru-list-records/' + config.urlParams.objectApiName + '',
9758
9758
  method: 'get',
9759
9759
  body: null,
@@ -11501,7 +11501,7 @@ function ingestError$K(luvio, params, error, snapshotRefresh) {
11501
11501
  function createResourceRequest$15(config) {
11502
11502
  const headers = {};
11503
11503
  return {
11504
- baseUri: '/services/data/v61.0',
11504
+ baseUri: '/services/data/v62.0',
11505
11505
  basePath: '/ui-api/object-info/' + config.urlParams.objectApiName + '',
11506
11506
  method: 'get',
11507
11507
  body: null,
@@ -12538,7 +12538,7 @@ const ingest$1R = function RecordUiRepresentationIngest(input, path, luvio, stor
12538
12538
  function createResourceRequest$14(config) {
12539
12539
  const headers = {};
12540
12540
  return {
12541
- baseUri: '/services/data/v61.0',
12541
+ baseUri: '/services/data/v62.0',
12542
12542
  basePath: '/ui-api/record-ui/' + config.urlParams.recordIds + '',
12543
12543
  method: 'get',
12544
12544
  body: null,
@@ -15182,7 +15182,7 @@ function ingestError$J(luvio, params, error, snapshotRefresh) {
15182
15182
  function createResourceRequest$13(config) {
15183
15183
  const headers = {};
15184
15184
  return {
15185
- baseUri: '/services/data/v61.0',
15185
+ baseUri: '/services/data/v62.0',
15186
15186
  basePath: '/ui-api/actions/global',
15187
15187
  method: 'get',
15188
15188
  body: null,
@@ -15416,12 +15416,12 @@ function ingestError$I(luvio, params, error, snapshotRefresh) {
15416
15416
  function createResourceRequest$12(config) {
15417
15417
  const headers = {};
15418
15418
  return {
15419
- baseUri: '/services/data/v61.0',
15419
+ baseUri: '/services/data/v62.0',
15420
15420
  basePath: '/ui-api/actions/layout/' + config.urlParams.actionApiName + '',
15421
15421
  method: 'get',
15422
15422
  body: null,
15423
15423
  urlParams: config.urlParams,
15424
- queryParams: {},
15424
+ queryParams: config.queryParams,
15425
15425
  headers,
15426
15426
  priority: 'normal',
15427
15427
  };
@@ -15430,6 +15430,8 @@ function createResourceRequest$12(config) {
15430
15430
  const adapterName$V = 'getQuickActionLayout';
15431
15431
  const getQuickActionLayout_ConfigPropertyMetadata = [
15432
15432
  generateParamConfigMetadata('actionApiName', true, 0 /* UrlParameter */, 0 /* String */),
15433
+ generateParamConfigMetadata('objectApiName', false, 1 /* QueryParameter */, 0 /* String */),
15434
+ generateParamConfigMetadata('recordTypeId', false, 1 /* QueryParameter */, 0 /* String */),
15433
15435
  ];
15434
15436
  const getQuickActionLayout_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$V, getQuickActionLayout_ConfigPropertyMetadata);
15435
15437
  const createResourceParams$Y = /*#__PURE__*/ createResourceParams$15(getQuickActionLayout_ConfigPropertyMetadata);
@@ -15586,7 +15588,7 @@ function ingestError$H(luvio, params, error, snapshotRefresh) {
15586
15588
  function createResourceRequest$11(config) {
15587
15589
  const headers = {};
15588
15590
  return {
15589
- baseUri: '/services/data/v61.0',
15591
+ baseUri: '/services/data/v62.0',
15590
15592
  basePath: '/ui-api/actions/lookup/' + config.urlParams.objectApiNames + '',
15591
15593
  method: 'get',
15592
15594
  body: null,
@@ -15728,7 +15730,7 @@ function ingestError$G(luvio, params, error, snapshotRefresh) {
15728
15730
  function createResourceRequest$10(config) {
15729
15731
  const headers = {};
15730
15732
  return {
15731
- baseUri: '/services/data/v61.0',
15733
+ baseUri: '/services/data/v62.0',
15732
15734
  basePath: '/ui-api/actions/object/' + config.urlParams.objectApiName + '/record-create',
15733
15735
  method: 'get',
15734
15736
  body: null,
@@ -15918,7 +15920,7 @@ function ingestError$F(luvio, params, error, snapshotRefresh) {
15918
15920
  function createResourceRequest$$(config) {
15919
15921
  const headers = {};
15920
15922
  return {
15921
- baseUri: '/services/data/v61.0',
15923
+ baseUri: '/services/data/v62.0',
15922
15924
  basePath: '/ui-api/actions/overrides/' + config.urlParams.objectApiName + '',
15923
15925
  method: 'get',
15924
15926
  body: null,
@@ -16182,7 +16184,7 @@ function ingestError$E(luvio, params, error, snapshotRefresh) {
16182
16184
  function createResourceRequest$_(config) {
16183
16185
  const headers = {};
16184
16186
  return {
16185
- baseUri: '/services/data/v61.0',
16187
+ baseUri: '/services/data/v62.0',
16186
16188
  basePath: '/ui-api/actions/formula-activation/' + config.urlParams.actionFeature + '',
16187
16189
  method: 'get',
16188
16190
  body: null,
@@ -16394,7 +16396,7 @@ function ingestError$D(luvio, params, error, snapshotRefresh) {
16394
16396
  function createResourceRequest$Z(config) {
16395
16397
  const headers = {};
16396
16398
  return {
16397
- baseUri: '/services/data/v61.0',
16399
+ baseUri: '/services/data/v62.0',
16398
16400
  basePath: '/ui-api/actions/record-defaults/' + config.urlParams.actionApiName + '',
16399
16401
  method: 'get',
16400
16402
  body: null,
@@ -16563,7 +16565,7 @@ function ingestError$C(luvio, params, error, snapshotRefresh) {
16563
16565
  function createResourceRequest$Y(config) {
16564
16566
  const headers = {};
16565
16567
  return {
16566
- baseUri: '/services/data/v61.0',
16568
+ baseUri: '/services/data/v62.0',
16567
16569
  basePath: '/ui-api/actions/record/' + config.urlParams.recordIds + '',
16568
16570
  method: 'get',
16569
16571
  body: null,
@@ -16715,7 +16717,7 @@ function ingestError$B(luvio, params, error, snapshotRefresh) {
16715
16717
  function createResourceRequest$X(config) {
16716
16718
  const headers = {};
16717
16719
  return {
16718
- baseUri: '/services/data/v61.0',
16720
+ baseUri: '/services/data/v62.0',
16719
16721
  basePath: '/ui-api/actions/record/' + config.urlParams.recordIds + '/record-edit',
16720
16722
  method: 'get',
16721
16723
  body: null,
@@ -16927,7 +16929,7 @@ function ingestError$A(luvio, params, error, snapshotRefresh) {
16927
16929
  function createResourceRequest$W(config) {
16928
16930
  const headers = {};
16929
16931
  return {
16930
- baseUri: '/services/data/v61.0',
16932
+ baseUri: '/services/data/v62.0',
16931
16933
  basePath: '/ui-api/actions/record/' + config.urlParams.recordIds + '/related-list/' + config.urlParams.relatedListId + '',
16932
16934
  method: 'post',
16933
16935
  body: config.body,
@@ -17212,7 +17214,7 @@ function ingestError$z(luvio, params, error, snapshotRefresh) {
17212
17214
  function createResourceRequest$V(config) {
17213
17215
  const headers = {};
17214
17216
  return {
17215
- baseUri: '/services/data/v61.0',
17217
+ baseUri: '/services/data/v62.0',
17216
17218
  basePath: '/ui-api/actions/record/' + config.urlParams.recordIds + '/related-list/batch',
17217
17219
  method: 'post',
17218
17220
  body: config.body,
@@ -17457,7 +17459,7 @@ function ingestError$y(luvio, params, error, snapshotRefresh) {
17457
17459
  function createResourceRequest$U(config) {
17458
17460
  const headers = {};
17459
17461
  return {
17460
- baseUri: '/services/data/v61.0',
17462
+ baseUri: '/services/data/v62.0',
17461
17463
  basePath: '/ui-api/actions/record/' + config.urlParams.recordIds + '/related-list-record/' + config.urlParams.relatedListRecordIds + '',
17462
17464
  method: 'get',
17463
17465
  body: null,
@@ -18700,7 +18702,7 @@ function ingestError$x(luvio, params, error, snapshotRefresh) {
18700
18702
  function createResourceRequest$T(config) {
18701
18703
  const headers = {};
18702
18704
  return {
18703
- baseUri: '/services/data/v61.0',
18705
+ baseUri: '/services/data/v62.0',
18704
18706
  basePath: '/ui-api/apps',
18705
18707
  method: 'get',
18706
18708
  body: null,
@@ -18840,7 +18842,7 @@ function ingestError$w(luvio, params, error, snapshotRefresh) {
18840
18842
  function createResourceRequest$S(config) {
18841
18843
  const headers = {};
18842
18844
  return {
18843
- baseUri: '/services/data/v61.0',
18845
+ baseUri: '/services/data/v62.0',
18844
18846
  basePath: '/ui-api/apps/selected',
18845
18847
  method: 'get',
18846
18848
  body: null,
@@ -18981,7 +18983,7 @@ function ingestError$v(luvio, params, error, snapshotRefresh) {
18981
18983
  function createResourceRequest$R(config) {
18982
18984
  const headers = {};
18983
18985
  return {
18984
- baseUri: '/services/data/v61.0',
18986
+ baseUri: '/services/data/v62.0',
18985
18987
  basePath: '/ui-api/apps/' + config.urlParams.appId + '',
18986
18988
  method: 'get',
18987
18989
  body: null,
@@ -19584,7 +19586,7 @@ function ingestError$u(luvio, params, error, snapshotRefresh) {
19584
19586
  function createResourceRequest$Q(config) {
19585
19587
  const headers = {};
19586
19588
  return {
19587
- baseUri: '/services/data/v61.0',
19589
+ baseUri: '/services/data/v62.0',
19588
19590
  basePath: '/ui-api/duplicates/' + config.urlParams.objectApiName + '',
19589
19591
  method: 'get',
19590
19592
  body: null,
@@ -19723,7 +19725,7 @@ function ingestError$t(luvio, params, error, snapshotRefresh) {
19723
19725
  function createResourceRequest$P(config) {
19724
19726
  const headers = {};
19725
19727
  return {
19726
- baseUri: '/services/data/v61.0',
19728
+ baseUri: '/services/data/v62.0',
19727
19729
  basePath: '/ui-api/layout/' + config.urlParams.objectApiName + '',
19728
19730
  method: 'get',
19729
19731
  body: null,
@@ -19862,7 +19864,7 @@ function getResponseCacheKeys$K(storeKeyMap, luvio, resourceParams, response) {
19862
19864
  function createResourceRequest$O(config) {
19863
19865
  const headers = {};
19864
19866
  return {
19865
- baseUri: '/services/data/v61.0',
19867
+ baseUri: '/services/data/v62.0',
19866
19868
  basePath: '/ui-api/layout/' + config.urlParams.objectApiName + '/user-state',
19867
19869
  method: 'get',
19868
19870
  body: null,
@@ -20095,7 +20097,7 @@ function ingestError$s(luvio, params, error, snapshotRefresh) {
20095
20097
  function createResourceRequest$N(config) {
20096
20098
  const headers = {};
20097
20099
  return {
20098
- baseUri: '/services/data/v61.0',
20100
+ baseUri: '/services/data/v62.0',
20099
20101
  basePath: '/ui-api/list-info/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
20100
20102
  method: 'get',
20101
20103
  body: null,
@@ -20364,7 +20366,7 @@ function ingestError$r(luvio, params, error, snapshotRefresh) {
20364
20366
  function createResourceRequest$M(config) {
20365
20367
  const headers = {};
20366
20368
  return {
20367
- baseUri: '/services/data/v61.0',
20369
+ baseUri: '/services/data/v62.0',
20368
20370
  basePath: '/ui-api/list-info/batch',
20369
20371
  method: 'get',
20370
20372
  body: null,
@@ -20509,7 +20511,7 @@ function ingestError$q(luvio, params, error, snapshotRefresh) {
20509
20511
  function createResourceRequest$L(config) {
20510
20512
  const headers = {};
20511
20513
  return {
20512
- baseUri: '/services/data/v61.0',
20514
+ baseUri: '/services/data/v62.0',
20513
20515
  basePath: '/ui-api/list-info/' + config.urlParams.objectApiName + '',
20514
20516
  method: 'get',
20515
20517
  body: null,
@@ -20815,7 +20817,7 @@ function ingestSuccess$y(luvio, resourceParams, response) {
20815
20817
  function createResourceRequest$K(config) {
20816
20818
  const headers = {};
20817
20819
  return {
20818
- baseUri: '/services/data/v61.0',
20820
+ baseUri: '/services/data/v62.0',
20819
20821
  basePath: '/ui-api/list-info/' + config.urlParams.objectApiName + '',
20820
20822
  method: 'post',
20821
20823
  body: config.body,
@@ -20905,94 +20907,7 @@ const createListInfoAdapterFactory = (luvio) => {
20905
20907
  };
20906
20908
  };
20907
20909
 
20908
- const adapterName$D = 'getListInfoByName';
20909
- const getListInfoByName_ConfigPropertyMetadata = [
20910
- generateParamConfigMetadata('listViewApiName', true, 0 /* UrlParameter */, 0 /* String */),
20911
- generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */),
20912
- ];
20913
- const getListInfoByName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$D, getListInfoByName_ConfigPropertyMetadata);
20914
- const createResourceParams$F = /*#__PURE__*/ createResourceParams$15(getListInfoByName_ConfigPropertyMetadata);
20915
- function keyBuilder$2i(luvio, config) {
20916
- const resourceParams = createResourceParams$F(config);
20917
- return keyBuilder$2n(luvio, resourceParams);
20918
- }
20919
- function typeCheckConfig$K(untrustedConfig) {
20920
- const config = {};
20921
- typeCheckConfig$1b(untrustedConfig, config, getListInfoByName_ConfigPropertyMetadata);
20922
- return config;
20923
- }
20924
- function validateAdapterConfig$L(untrustedConfig, configPropertyNames) {
20925
- if (!untrustedIsObject(untrustedConfig)) {
20926
- return null;
20927
- }
20928
- if (process.env.NODE_ENV !== 'production') {
20929
- validateConfig(untrustedConfig, configPropertyNames);
20930
- }
20931
- const config = typeCheckConfig$K(untrustedConfig);
20932
- if (!areRequiredParametersPresent(config, configPropertyNames)) {
20933
- return null;
20934
- }
20935
- return config;
20936
- }
20937
- function adapterFragment$q(luvio, config) {
20938
- createResourceParams$F(config);
20939
- return select$2i();
20940
- }
20941
- function onFetchResponseSuccess$s(luvio, config, resourceParams, response) {
20942
- const snapshot = ingestSuccess$B(luvio, resourceParams, response, {
20943
- config,
20944
- resolve: () => buildNetworkSnapshot$J(luvio, config, snapshotRefreshOptions)
20945
- });
20946
- return luvio.storeBroadcast().then(() => snapshot);
20947
- }
20948
- function onFetchResponseError$s(luvio, config, resourceParams, response) {
20949
- const snapshot = ingestError$s(luvio, resourceParams, response, {
20950
- config,
20951
- resolve: () => buildNetworkSnapshot$J(luvio, config, snapshotRefreshOptions)
20952
- });
20953
- return luvio.storeBroadcast().then(() => snapshot);
20954
- }
20955
- function buildNetworkSnapshot$J(luvio, config, options) {
20956
- const resourceParams = createResourceParams$F(config);
20957
- const request = createResourceRequest$N(resourceParams);
20958
- return luvio.dispatchResourceRequest(request, options)
20959
- .then((response) => {
20960
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$s(luvio, config, resourceParams, response), () => {
20961
- const cache = new StoreKeyMap();
20962
- getResponseCacheKeys$J(cache, luvio, resourceParams, response.body);
20963
- return cache;
20964
- });
20965
- }, (response) => {
20966
- return luvio.handleErrorResponse(() => onFetchResponseError$s(luvio, config, resourceParams, response));
20967
- });
20968
- }
20969
- function buildNetworkSnapshotCachePolicy$w(context, coercedAdapterRequestContext) {
20970
- return buildNetworkSnapshotCachePolicy$W(context, coercedAdapterRequestContext, buildNetworkSnapshot$J, undefined, false);
20971
- }
20972
- function buildCachedSnapshotCachePolicy$v(context, storeLookup) {
20973
- const { luvio, config } = context;
20974
- const selector = {
20975
- recordId: keyBuilder$2i(luvio, config),
20976
- node: adapterFragment$q(luvio, config),
20977
- variables: {},
20978
- };
20979
- const cacheSnapshot = storeLookup(selector, {
20980
- config,
20981
- resolve: () => buildNetworkSnapshot$J(luvio, config, snapshotRefreshOptions)
20982
- });
20983
- return cacheSnapshot;
20984
- }
20985
- const getListInfoByNameAdapterFactory = (luvio) => function UiApi__getListInfoByName(untrustedConfig, requestContext) {
20986
- const config = validateAdapterConfig$L(untrustedConfig, getListInfoByName_ConfigPropertyNames);
20987
- // Invalid or incomplete config
20988
- if (config === null) {
20989
- return null;
20990
- }
20991
- return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
20992
- buildCachedSnapshotCachePolicy$v, buildNetworkSnapshotCachePolicy$w);
20993
- };
20994
-
20995
- function keyBuilder$2h(luvio, params) {
20910
+ function keyBuilder$2i(luvio, params) {
20996
20911
  return keyBuilder$3o(luvio, {
20997
20912
  objectApiName: params.urlParams.objectApiName,
20998
20913
  listViewApiName: params.urlParams.listViewApiName,
@@ -21000,7 +20915,7 @@ function keyBuilder$2h(luvio, params) {
21000
20915
  });
21001
20916
  }
21002
20917
  function getResponseCacheKeys$F(cacheKeyMap, luvio, resourceParams) {
21003
- const key = keyBuilder$2h(luvio, resourceParams);
20918
+ const key = keyBuilder$2i(luvio, resourceParams);
21004
20919
  cacheKeyMap.set(key, {
21005
20920
  namespace: keyPrefix,
21006
20921
  representationName: RepresentationType$10,
@@ -21008,13 +20923,13 @@ function getResponseCacheKeys$F(cacheKeyMap, luvio, resourceParams) {
21008
20923
  });
21009
20924
  }
21010
20925
  function evictSuccess$1(luvio, resourceParams) {
21011
- const key = keyBuilder$2h(luvio, resourceParams);
20926
+ const key = keyBuilder$2i(luvio, resourceParams);
21012
20927
  luvio.storeEvict(key);
21013
20928
  }
21014
20929
  function createResourceRequest$J(config) {
21015
20930
  const headers = {};
21016
20931
  return {
21017
- baseUri: '/services/data/v61.0',
20932
+ baseUri: '/services/data/v62.0',
21018
20933
  basePath: '/ui-api/list-info/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
21019
20934
  method: 'delete',
21020
20935
  body: null,
@@ -21025,33 +20940,33 @@ function createResourceRequest$J(config) {
21025
20940
  };
21026
20941
  }
21027
20942
 
21028
- const adapterName$C = 'deleteListInfo';
20943
+ const adapterName$D = 'deleteListInfo';
21029
20944
  const deleteListInfo_ConfigPropertyMetadata = [
21030
20945
  generateParamConfigMetadata('listViewApiName', true, 0 /* UrlParameter */, 0 /* String */),
21031
20946
  generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */),
21032
20947
  ];
21033
- const deleteListInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$C, deleteListInfo_ConfigPropertyMetadata);
21034
- const createResourceParams$E = /*#__PURE__*/ createResourceParams$15(deleteListInfo_ConfigPropertyMetadata);
21035
- function typeCheckConfig$J(untrustedConfig) {
20948
+ const deleteListInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$D, deleteListInfo_ConfigPropertyMetadata);
20949
+ const createResourceParams$F = /*#__PURE__*/ createResourceParams$15(deleteListInfo_ConfigPropertyMetadata);
20950
+ function typeCheckConfig$K(untrustedConfig) {
21036
20951
  const config = {};
21037
20952
  typeCheckConfig$1b(untrustedConfig, config, deleteListInfo_ConfigPropertyMetadata);
21038
20953
  return config;
21039
20954
  }
21040
- function validateAdapterConfig$K(untrustedConfig, configPropertyNames) {
20955
+ function validateAdapterConfig$L(untrustedConfig, configPropertyNames) {
21041
20956
  if (!untrustedIsObject(untrustedConfig)) {
21042
20957
  return null;
21043
20958
  }
21044
20959
  if (process.env.NODE_ENV !== 'production') {
21045
20960
  validateConfig(untrustedConfig, configPropertyNames);
21046
20961
  }
21047
- const config = typeCheckConfig$J(untrustedConfig);
20962
+ const config = typeCheckConfig$K(untrustedConfig);
21048
20963
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
21049
20964
  return null;
21050
20965
  }
21051
20966
  return config;
21052
20967
  }
21053
- function buildNetworkSnapshot$I(luvio, config, options) {
21054
- const resourceParams = createResourceParams$E(config);
20968
+ function buildNetworkSnapshot$J(luvio, config, options) {
20969
+ const resourceParams = createResourceParams$F(config);
21055
20970
  const request = createResourceRequest$J(resourceParams);
21056
20971
  return luvio.dispatchResourceRequest(request, options)
21057
20972
  .then(() => {
@@ -21070,13 +20985,100 @@ function buildNetworkSnapshot$I(luvio, config, options) {
21070
20985
  }
21071
20986
  const deleteListInfoAdapterFactory = (luvio) => {
21072
20987
  return function UiApideleteListInfo(untrustedConfig) {
21073
- const config = validateAdapterConfig$K(untrustedConfig, deleteListInfo_ConfigPropertyNames);
20988
+ const config = validateAdapterConfig$L(untrustedConfig, deleteListInfo_ConfigPropertyNames);
21074
20989
  // Invalid or incomplete config
21075
20990
  if (config === null) {
21076
- throw new Error(`Invalid config for "${adapterName$C}"`);
20991
+ throw new Error(`Invalid config for "${adapterName$D}"`);
21077
20992
  }
21078
- return buildNetworkSnapshot$I(luvio, config);
20993
+ return buildNetworkSnapshot$J(luvio, config);
20994
+ };
20995
+ };
20996
+
20997
+ const adapterName$C = 'getListInfoByName';
20998
+ const getListInfoByName_ConfigPropertyMetadata = [
20999
+ generateParamConfigMetadata('listViewApiName', true, 0 /* UrlParameter */, 0 /* String */),
21000
+ generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */),
21001
+ ];
21002
+ const getListInfoByName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$C, getListInfoByName_ConfigPropertyMetadata);
21003
+ const createResourceParams$E = /*#__PURE__*/ createResourceParams$15(getListInfoByName_ConfigPropertyMetadata);
21004
+ function keyBuilder$2h(luvio, config) {
21005
+ const resourceParams = createResourceParams$E(config);
21006
+ return keyBuilder$2n(luvio, resourceParams);
21007
+ }
21008
+ function typeCheckConfig$J(untrustedConfig) {
21009
+ const config = {};
21010
+ typeCheckConfig$1b(untrustedConfig, config, getListInfoByName_ConfigPropertyMetadata);
21011
+ return config;
21012
+ }
21013
+ function validateAdapterConfig$K(untrustedConfig, configPropertyNames) {
21014
+ if (!untrustedIsObject(untrustedConfig)) {
21015
+ return null;
21016
+ }
21017
+ if (process.env.NODE_ENV !== 'production') {
21018
+ validateConfig(untrustedConfig, configPropertyNames);
21019
+ }
21020
+ const config = typeCheckConfig$J(untrustedConfig);
21021
+ if (!areRequiredParametersPresent(config, configPropertyNames)) {
21022
+ return null;
21023
+ }
21024
+ return config;
21025
+ }
21026
+ function adapterFragment$q(luvio, config) {
21027
+ createResourceParams$E(config);
21028
+ return select$2i();
21029
+ }
21030
+ function onFetchResponseSuccess$s(luvio, config, resourceParams, response) {
21031
+ const snapshot = ingestSuccess$B(luvio, resourceParams, response, {
21032
+ config,
21033
+ resolve: () => buildNetworkSnapshot$I(luvio, config, snapshotRefreshOptions)
21034
+ });
21035
+ return luvio.storeBroadcast().then(() => snapshot);
21036
+ }
21037
+ function onFetchResponseError$s(luvio, config, resourceParams, response) {
21038
+ const snapshot = ingestError$s(luvio, resourceParams, response, {
21039
+ config,
21040
+ resolve: () => buildNetworkSnapshot$I(luvio, config, snapshotRefreshOptions)
21041
+ });
21042
+ return luvio.storeBroadcast().then(() => snapshot);
21043
+ }
21044
+ function buildNetworkSnapshot$I(luvio, config, options) {
21045
+ const resourceParams = createResourceParams$E(config);
21046
+ const request = createResourceRequest$N(resourceParams);
21047
+ return luvio.dispatchResourceRequest(request, options)
21048
+ .then((response) => {
21049
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$s(luvio, config, resourceParams, response), () => {
21050
+ const cache = new StoreKeyMap();
21051
+ getResponseCacheKeys$J(cache, luvio, resourceParams, response.body);
21052
+ return cache;
21053
+ });
21054
+ }, (response) => {
21055
+ return luvio.handleErrorResponse(() => onFetchResponseError$s(luvio, config, resourceParams, response));
21056
+ });
21057
+ }
21058
+ function buildNetworkSnapshotCachePolicy$w(context, coercedAdapterRequestContext) {
21059
+ return buildNetworkSnapshotCachePolicy$W(context, coercedAdapterRequestContext, buildNetworkSnapshot$I, undefined, false);
21060
+ }
21061
+ function buildCachedSnapshotCachePolicy$v(context, storeLookup) {
21062
+ const { luvio, config } = context;
21063
+ const selector = {
21064
+ recordId: keyBuilder$2h(luvio, config),
21065
+ node: adapterFragment$q(luvio, config),
21066
+ variables: {},
21079
21067
  };
21068
+ const cacheSnapshot = storeLookup(selector, {
21069
+ config,
21070
+ resolve: () => buildNetworkSnapshot$I(luvio, config, snapshotRefreshOptions)
21071
+ });
21072
+ return cacheSnapshot;
21073
+ }
21074
+ const getListInfoByNameAdapterFactory = (luvio) => function UiApi__getListInfoByName(untrustedConfig, requestContext) {
21075
+ const config = validateAdapterConfig$K(untrustedConfig, getListInfoByName_ConfigPropertyNames);
21076
+ // Invalid or incomplete config
21077
+ if (config === null) {
21078
+ return null;
21079
+ }
21080
+ return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
21081
+ buildCachedSnapshotCachePolicy$v, buildNetworkSnapshotCachePolicy$w);
21080
21082
  };
21081
21083
 
21082
21084
  function select$2e(luvio, params) {
@@ -21105,7 +21107,7 @@ function ingestSuccess$x(luvio, resourceParams, response) {
21105
21107
  function createResourceRequest$I(config) {
21106
21108
  const headers = {};
21107
21109
  return {
21108
- baseUri: '/services/data/v61.0',
21110
+ baseUri: '/services/data/v62.0',
21109
21111
  basePath: '/ui-api/list-info/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
21110
21112
  method: 'patch',
21111
21113
  body: config.body,
@@ -21832,7 +21834,7 @@ function ingestError$p(luvio, params, error, snapshotRefresh) {
21832
21834
  function createResourceRequest$H(config) {
21833
21835
  const headers = {};
21834
21836
  return {
21835
- baseUri: '/services/data/v61.0',
21837
+ baseUri: '/services/data/v62.0',
21836
21838
  basePath: '/ui-api/list-object-info/' + config.urlParams.objectApiName + '',
21837
21839
  method: 'get',
21838
21840
  body: null,
@@ -22141,7 +22143,7 @@ function ingestError$o(luvio, params, error, snapshotRefresh) {
22141
22143
  function createResourceRequest$G(config) {
22142
22144
  const headers = {};
22143
22145
  return {
22144
- baseUri: '/services/data/v61.0',
22146
+ baseUri: '/services/data/v62.0',
22145
22147
  basePath: '/ui-api/list-preferences/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
22146
22148
  method: 'get',
22147
22149
  body: null,
@@ -22285,7 +22287,7 @@ function ingestSuccess$u(luvio, resourceParams, response) {
22285
22287
  function createResourceRequest$F(config) {
22286
22288
  const headers = {};
22287
22289
  return {
22288
- baseUri: '/services/data/v61.0',
22290
+ baseUri: '/services/data/v62.0',
22289
22291
  basePath: '/ui-api/list-preferences/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
22290
22292
  method: 'patch',
22291
22293
  body: config.body,
@@ -22595,7 +22597,7 @@ function ingestError$n(luvio, params, error, snapshotRefresh) {
22595
22597
  function createResourceRequest$E(config) {
22596
22598
  const headers = {};
22597
22599
  return {
22598
- baseUri: '/services/data/v61.0',
22600
+ baseUri: '/services/data/v62.0',
22599
22601
  basePath: '/ui-api/nav-items',
22600
22602
  method: 'get',
22601
22603
  body: null,
@@ -22731,7 +22733,7 @@ function ingestError$m(luvio, params, error, snapshotRefresh) {
22731
22733
  function createResourceRequest$D(config) {
22732
22734
  const headers = {};
22733
22735
  return {
22734
- baseUri: '/services/data/v61.0',
22736
+ baseUri: '/services/data/v62.0',
22735
22737
  basePath: '/ui-api/object-info',
22736
22738
  method: 'get',
22737
22739
  body: null,
@@ -23076,7 +23078,7 @@ function ingestError$l(luvio, params, error, snapshotRefresh) {
23076
23078
  function createResourceRequest$C(config) {
23077
23079
  const headers = {};
23078
23080
  return {
23079
- baseUri: '/services/data/v61.0',
23081
+ baseUri: '/services/data/v62.0',
23080
23082
  basePath: '/ui-api/object-info/batch/' + config.urlParams.objectApiNames + '',
23081
23083
  method: 'get',
23082
23084
  body: null,
@@ -23405,8 +23407,8 @@ const select$1X = function PicklistValueRepresentationSelect() {
23405
23407
  const keyBuilderFromType$i =
23406
23408
  /**
23407
23409
  * custom key builder from PicklistValuesRepresentation.
23408
- * PicklistValuesRepresentation.url is like /services/data/v61.0/ui-api/object-info/Account/picklist-values/012000000000000AAA/AccountSource
23409
- * the '/services/data/v61.0' in the key make trouble for new js release. so chop it off make the key unique cross releases.
23410
+ * PicklistValuesRepresentation.url is like /services/data/v62.0/ui-api/object-info/Account/picklist-values/012000000000000AAA/AccountSource
23411
+ * the '/services/data/v62.0' in the key make trouble for new js release. so chop it off make the key unique cross releases.
23410
23412
  */
23411
23413
  function PicklistValuesRepresentationKeyBuilderFromType(luvio, object) {
23412
23414
  const id = object.url.substring(object.url.indexOf('/ui-api'));
@@ -23716,7 +23718,7 @@ function ingestError$k(luvio, params, error, snapshotRefresh) {
23716
23718
  function createResourceRequest$B(config) {
23717
23719
  const headers = {};
23718
23720
  return {
23719
- baseUri: '/services/data/v61.0',
23721
+ baseUri: '/services/data/v62.0',
23720
23722
  basePath: '/ui-api/object-info/' + config.urlParams.objectApiName + '/picklist-values/' + config.urlParams.recordTypeId + '',
23721
23723
  method: 'get',
23722
23724
  body: null,
@@ -23821,7 +23823,7 @@ function getResponseCacheKeys$w(storeKeyMap, luvio, resourceParams, response) {
23821
23823
  function createResourceRequest$A(config) {
23822
23824
  const headers = {};
23823
23825
  return {
23824
- baseUri: '/services/data/v61.0',
23826
+ baseUri: '/services/data/v62.0',
23825
23827
  basePath: '/ui-api/object-info/' + config.urlParams.objectApiName + '/picklist-values/' + config.urlParams.recordTypeId + '/' + config.urlParams.fieldApiName + '',
23826
23828
  method: 'get',
23827
23829
  body: null,
@@ -24033,7 +24035,7 @@ function ingestError$j(luvio, params, error, snapshotRefresh) {
24033
24035
  function createResourceRequest$z(config) {
24034
24036
  const headers = {};
24035
24037
  return {
24036
- baseUri: '/services/data/v61.0',
24038
+ baseUri: '/services/data/v62.0',
24037
24039
  basePath: '/ui-api/path/layout/' + config.urlParams.objectApiName + '',
24038
24040
  method: 'get',
24039
24041
  body: null,
@@ -24359,7 +24361,7 @@ function ingestError$i(luvio, params, error, snapshotRefresh) {
24359
24361
  function createResourceRequest$y(config) {
24360
24362
  const headers = {};
24361
24363
  return {
24362
- baseUri: '/services/data/v61.0',
24364
+ baseUri: '/services/data/v62.0',
24363
24365
  basePath: '/ui-api/predupe',
24364
24366
  method: 'post',
24365
24367
  body: config.body,
@@ -25457,7 +25459,7 @@ function getTypeCacheKeys$1t(rootKeySet, luvio, input, fullPathFactory) {
25457
25459
  throw new Error(`Invalid discriminatorValue "${discriminatorValue}". Expected one of "200","400","404"`);
25458
25460
  }
25459
25461
 
25460
- const TTL$j = 300000;
25462
+ const TTL$j = 1800000;
25461
25463
  const VERSION$1w = "c44c049fa6ad7cf7e932c0aab9107d86";
25462
25464
  function validate$N(obj, path = 'RecordAvatarBulkMapRepresentation') {
25463
25465
  const v_error = (() => {
@@ -25578,7 +25580,7 @@ function ingestError$h(luvio, params, error, snapshotRefresh) {
25578
25580
  function createResourceRequest$x(config) {
25579
25581
  const headers = {};
25580
25582
  return {
25581
- baseUri: '/services/data/v61.0',
25583
+ baseUri: '/services/data/v62.0',
25582
25584
  basePath: '/ui-api/record-avatars/batch/' + config.urlParams.recordIds + '',
25583
25585
  method: 'get',
25584
25586
  body: null,
@@ -26442,7 +26444,7 @@ function ingestError$g(luvio, params, error, snapshotRefresh) {
26442
26444
  function createResourceRequest$w(config) {
26443
26445
  const headers = {};
26444
26446
  return {
26445
- baseUri: '/services/data/v61.0',
26447
+ baseUri: '/services/data/v62.0',
26446
26448
  basePath: '/ui-api/related-list-count/' + config.urlParams.parentRecordId + '/' + config.urlParams.relatedListId + '',
26447
26449
  method: 'get',
26448
26450
  body: null,
@@ -26707,7 +26709,7 @@ function ingestError$f(luvio, params, error, snapshotRefresh) {
26707
26709
  function createResourceRequest$v(config) {
26708
26710
  const headers = {};
26709
26711
  return {
26710
- baseUri: '/services/data/v61.0',
26712
+ baseUri: '/services/data/v62.0',
26711
26713
  basePath: '/ui-api/related-list-count/batch/' + config.urlParams.parentRecordId + '/' + config.urlParams.relatedListNames + '',
26712
26714
  method: 'get',
26713
26715
  body: null,
@@ -27401,7 +27403,7 @@ function ingestError$e(luvio, params, error, snapshotRefresh) {
27401
27403
  function createResourceRequest$u(config) {
27402
27404
  const headers = {};
27403
27405
  return {
27404
- baseUri: '/services/data/v61.0',
27406
+ baseUri: '/services/data/v62.0',
27405
27407
  basePath: '/ui-api/related-list-info/' + config.urlParams.parentObjectApiName + '/' + config.urlParams.relatedListId + '',
27406
27408
  method: 'get',
27407
27409
  body: null,
@@ -27671,7 +27673,7 @@ function ingestError$d(luvio, params, error, snapshotRefresh) {
27671
27673
  function createResourceRequest$t(config) {
27672
27674
  const headers = {};
27673
27675
  return {
27674
- baseUri: '/services/data/v61.0',
27676
+ baseUri: '/services/data/v62.0',
27675
27677
  basePath: '/ui-api/related-list-info/batch/' + config.urlParams.parentObjectApiName + '/' + config.urlParams.relatedListNames + '',
27676
27678
  method: 'get',
27677
27679
  body: null,
@@ -28065,7 +28067,7 @@ function ingestError$c(luvio, params, error, snapshotRefresh) {
28065
28067
  function createResourceRequest$s(config) {
28066
28068
  const headers = {};
28067
28069
  return {
28068
- baseUri: '/services/data/v61.0',
28070
+ baseUri: '/services/data/v62.0',
28069
28071
  basePath: '/ui-api/related-list-info/' + config.urlParams.parentObjectApiName + '',
28070
28072
  method: 'get',
28071
28073
  body: null,
@@ -28319,7 +28321,7 @@ function ingestSuccess$h(luvio, resourceParams, response) {
28319
28321
  function createResourceRequest$r(config) {
28320
28322
  const headers = {};
28321
28323
  return {
28322
- baseUri: '/services/data/v61.0',
28324
+ baseUri: '/services/data/v62.0',
28323
28325
  basePath: '/ui-api/related-list-info/' + config.urlParams.parentObjectApiName + '/' + config.urlParams.relatedListId + '',
28324
28326
  method: 'patch',
28325
28327
  body: config.body,
@@ -28559,7 +28561,7 @@ function ingestError$b(luvio, params, error, snapshotRefresh) {
28559
28561
  function createResourceRequest$q(config) {
28560
28562
  const headers = {};
28561
28563
  return {
28562
- baseUri: '/services/data/v61.0',
28564
+ baseUri: '/services/data/v62.0',
28563
28565
  basePath: '/ui-api/related-list-preferences/' + config.urlParams.preferencesId + '',
28564
28566
  method: 'get',
28565
28567
  body: null,
@@ -28821,7 +28823,7 @@ function ingestError$a(luvio, params, error, snapshotRefresh) {
28821
28823
  function createResourceRequest$p(config) {
28822
28824
  const headers = {};
28823
28825
  return {
28824
- baseUri: '/services/data/v61.0',
28826
+ baseUri: '/services/data/v62.0',
28825
28827
  basePath: '/ui-api/related-list-preferences/batch/' + config.urlParams.preferencesIds + '',
28826
28828
  method: 'get',
28827
28829
  body: null,
@@ -29030,7 +29032,7 @@ function ingestSuccess$e(luvio, resourceParams, response) {
29030
29032
  function createResourceRequest$o(config) {
29031
29033
  const headers = {};
29032
29034
  return {
29033
- baseUri: '/services/data/v61.0',
29035
+ baseUri: '/services/data/v62.0',
29034
29036
  basePath: '/ui-api/related-list-preferences/' + config.urlParams.preferencesId + '',
29035
29037
  method: 'patch',
29036
29038
  body: config.body,
@@ -30065,7 +30067,7 @@ function ingestError$9(luvio, params, error, snapshotRefresh) {
30065
30067
  function createResourceRequest$n(config) {
30066
30068
  const headers = {};
30067
30069
  return {
30068
- baseUri: '/services/data/v61.0',
30070
+ baseUri: '/services/data/v62.0',
30069
30071
  basePath: '/ui-api/related-list-records/' + config.urlParams.parentRecordId + '/' + config.urlParams.relatedListId + '',
30070
30072
  method: 'post',
30071
30073
  body: config.body,
@@ -30350,7 +30352,7 @@ function ingestError$8(luvio, params, error, snapshotRefresh) {
30350
30352
  function createResourceRequest$m(config) {
30351
30353
  const headers = {};
30352
30354
  return {
30353
- baseUri: '/services/data/v61.0',
30355
+ baseUri: '/services/data/v62.0',
30354
30356
  basePath: '/ui-api/related-list-records/batch/' + config.urlParams.parentRecordId + '',
30355
30357
  method: 'post',
30356
30358
  body: config.body,
@@ -30864,7 +30866,7 @@ function ingestError$7(luvio, params, error, snapshotRefresh) {
30864
30866
  function createResourceRequest$l(config) {
30865
30867
  const headers = {};
30866
30868
  return {
30867
- baseUri: '/services/data/v61.0',
30869
+ baseUri: '/services/data/v62.0',
30868
30870
  basePath: '/ui-api/search-info/' + config.urlParams.objectApiName + '/filters',
30869
30871
  method: 'get',
30870
30872
  body: null,
@@ -31119,7 +31121,7 @@ function ingestError$6(luvio, params, error, snapshotRefresh) {
31119
31121
  function createResourceRequest$k(config) {
31120
31122
  const headers = {};
31121
31123
  return {
31122
- baseUri: '/services/data/v61.0',
31124
+ baseUri: '/services/data/v62.0',
31123
31125
  basePath: '/ui-api/search-info/' + config.urlParams.objectApiName + '/filters/' + config.urlParams.filterApiName + '/options',
31124
31126
  method: 'get',
31125
31127
  body: null,
@@ -31537,7 +31539,7 @@ function ingestError$5(luvio, params, error, snapshotRefresh) {
31537
31539
  function createResourceRequest$j(config) {
31538
31540
  const headers = {};
31539
31541
  return {
31540
- baseUri: '/services/data/v61.0',
31542
+ baseUri: '/services/data/v62.0',
31541
31543
  basePath: '/ui-api/search-info/' + config.urlParams.objectApiName + '/lookup/' + config.urlParams.fieldApiName + '',
31542
31544
  method: 'get',
31543
31545
  body: null,
@@ -32409,7 +32411,7 @@ function ingestError$4(luvio, params, error, snapshotRefresh) {
32409
32411
  function createResourceRequest$i(config) {
32410
32412
  const headers = {};
32411
32413
  return {
32412
- baseUri: '/services/data/v61.0',
32414
+ baseUri: '/services/data/v62.0',
32413
32415
  basePath: '/ui-api/search/results',
32414
32416
  method: 'post',
32415
32417
  body: config.body,
@@ -32683,7 +32685,7 @@ function ingestError$3(luvio, params, error, snapshotRefresh) {
32683
32685
  function createResourceRequest$h(config) {
32684
32686
  const headers = {};
32685
32687
  return {
32686
- baseUri: '/services/data/v61.0',
32688
+ baseUri: '/services/data/v62.0',
32687
32689
  basePath: '/ui-api/search/results/keyword',
32688
32690
  method: 'post',
32689
32691
  body: config.body,
@@ -50707,7 +50709,7 @@ function ingestError$2(luvio, config, params, error, snapshotRefresh) {
50707
50709
  function createResourceRequest$g(config) {
50708
50710
  const headers = {};
50709
50711
  return {
50710
- baseUri: '/services/data/v61.0',
50712
+ baseUri: '/services/data/v62.0',
50711
50713
  basePath: '/graphql',
50712
50714
  method: 'post',
50713
50715
  body: { ...config.body,
@@ -50758,7 +50760,7 @@ function createResourceRequest$e(config) {
50758
50760
  const headers = {};
50759
50761
  const transformedConfig = stripDocumentsOfMetaschema(config);
50760
50762
  return {
50761
- baseUri: '/services/data/v61.0',
50763
+ baseUri: '/services/data/v62.0',
50762
50764
  basePath: '/graphql/batch',
50763
50765
  method: 'post',
50764
50766
  body: transformedConfig.body,
@@ -51306,7 +51308,7 @@ function ingestSuccess$4(luvio, response) {
51306
51308
  function createResourceRequest$d(config) {
51307
51309
  const headers = {};
51308
51310
  return {
51309
- baseUri: '/services/data/v61.0',
51311
+ baseUri: '/services/data/v62.0',
51310
51312
  basePath: '/ui-api/records/batch',
51311
51313
  method: 'post',
51312
51314
  body: config.body,
@@ -51575,7 +51577,7 @@ function ingestSuccess$3(luvio, resourceParams, response) {
51575
51577
  function createResourceRequest$c(config) {
51576
51578
  const headers = {};
51577
51579
  return {
51578
- baseUri: '/services/data/v61.0',
51580
+ baseUri: '/services/data/v62.0',
51579
51581
  basePath: '/ui-api/actions/perform-quick-action/' + config.urlParams.actionApiName + '',
51580
51582
  method: 'patch',
51581
51583
  body: config.body,
@@ -51703,7 +51705,7 @@ function ingestSuccess$2(luvio, resourceParams, response) {
51703
51705
  function createResourceRequest$b(config) {
51704
51706
  const headers = {};
51705
51707
  return {
51706
- baseUri: '/services/data/v61.0',
51708
+ baseUri: '/services/data/v62.0',
51707
51709
  basePath: '/ui-api/actions/perform-quick-action/' + config.urlParams.actionApiName + '',
51708
51710
  method: 'post',
51709
51711
  body: config.body,
@@ -51808,7 +51810,7 @@ const factory$c = performQuickActionAdapterFactory;
51808
51810
  function createResourceRequest$a(config) {
51809
51811
  const headers = {};
51810
51812
  return {
51811
- baseUri: '/services/data/v61.0',
51813
+ baseUri: '/services/data/v62.0',
51812
51814
  basePath: '/ui-api/layout/' + config.urlParams.objectApiName + '/user-state',
51813
51815
  method: 'patch',
51814
51816
  body: config.body,
@@ -52289,7 +52291,7 @@ function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
52289
52291
  function createResourceRequest$9(config) {
52290
52292
  const headers = {};
52291
52293
  return {
52292
- baseUri: '/services/data/v61.0',
52294
+ baseUri: '/services/data/v62.0',
52293
52295
  basePath: '/ui-api/lookups/' + config.urlParams.objectApiName + '/' + config.urlParams.fieldApiName + '',
52294
52296
  method: 'post',
52295
52297
  body: config.body,
@@ -52516,7 +52518,7 @@ const factory$9 = (luvio) => {
52516
52518
  function createResourceRequest$8(config) {
52517
52519
  const headers = {};
52518
52520
  return {
52519
- baseUri: '/services/data/v61.0',
52521
+ baseUri: '/services/data/v62.0',
52520
52522
  basePath: '/ui-api/record-avatars/' + config.urlParams.recordId + '/association',
52521
52523
  method: 'post',
52522
52524
  body: config.body,
@@ -53125,7 +53127,7 @@ function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
53125
53127
  function createResourceRequest$7(config) {
53126
53128
  const headers = {};
53127
53129
  return {
53128
- baseUri: '/services/data/v61.0',
53130
+ baseUri: '/services/data/v62.0',
53129
53131
  basePath: '/ui-api/record-defaults/create/' + config.urlParams.objectApiName + '',
53130
53132
  method: 'get',
53131
53133
  body: null,
@@ -53756,7 +53758,7 @@ function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
53756
53758
  function createResourceRequest$6(config) {
53757
53759
  const headers = {};
53758
53760
  return {
53759
- baseUri: '/services/data/v61.0',
53761
+ baseUri: '/services/data/v62.0',
53760
53762
  basePath: '/ui-api/record-defaults/template/clone/' + config.urlParams.recordId + '',
53761
53763
  method: 'get',
53762
53764
  body: null,
@@ -54387,7 +54389,7 @@ function ingestError(luvio, params, error, snapshotRefresh) {
54387
54389
  function createResourceRequest$5(config) {
54388
54390
  const headers = {};
54389
54391
  return {
54390
- baseUri: '/services/data/v61.0',
54392
+ baseUri: '/services/data/v62.0',
54391
54393
  basePath: '/ui-api/record-defaults/template/create/' + config.urlParams.objectApiName + '',
54392
54394
  method: 'get',
54393
54395
  body: null,
@@ -54600,7 +54602,7 @@ function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
54600
54602
  function createResourceRequest$4(config) {
54601
54603
  const headers = {};
54602
54604
  return {
54603
- baseUri: '/services/data/v61.0',
54605
+ baseUri: '/services/data/v62.0',
54604
54606
  basePath: '/ui-api/records',
54605
54607
  method: 'post',
54606
54608
  body: config.body,
@@ -54612,6 +54614,7 @@ function createResourceRequest$4(config) {
54612
54614
  }
54613
54615
 
54614
54616
  const createRecord_ConfigPropertyMetadata = [
54617
+ generateParamConfigMetadata('handleOwnerChange', false, 1 /* QueryParameter */, 1 /* Boolean */),
54615
54618
  generateParamConfigMetadata('includeFieldsInBody', false, 1 /* QueryParameter */, 1 /* Boolean */),
54616
54619
  generateParamConfigMetadata('triggerOtherEmail', false, 1 /* QueryParameter */, 1 /* Boolean */),
54617
54620
  generateParamConfigMetadata('triggerUserEmail', false, 1 /* QueryParameter */, 1 /* Boolean */),
@@ -54623,7 +54626,14 @@ const createRecord_ConfigPropertyMetadata = [
54623
54626
  const createResourceParams$4 = /*#__PURE__*/ createResourceParams$15(createRecord_ConfigPropertyMetadata);
54624
54627
 
54625
54628
  function onResponseSuccess(luvio, response, recordIngest, conflictMap) {
54626
- const { body } = response;
54629
+ const { body, status } = response;
54630
+ if (status === HttpStatusCode.NoContent) {
54631
+ const syntheticSnapshot = {
54632
+ state: 'Fulfilled',
54633
+ data: {},
54634
+ };
54635
+ return luvio.storeBroadcast().then(() => syntheticSnapshot);
54636
+ }
54627
54637
  const selections = buildSelectionFromRecord(body);
54628
54638
  const key = keyBuilder$3n(luvio, {
54629
54639
  recordId: body.id,
@@ -54694,7 +54704,7 @@ function evictSuccess(luvio, resourceParams) {
54694
54704
  function createResourceRequest$3(config) {
54695
54705
  const headers = {};
54696
54706
  return {
54697
- baseUri: '/services/data/v61.0',
54707
+ baseUri: '/services/data/v62.0',
54698
54708
  basePath: '/ui-api/records/' + config.urlParams.recordId + '',
54699
54709
  method: 'delete',
54700
54710
  body: null,
@@ -54781,7 +54791,7 @@ function createResourceRequest$2(config) {
54781
54791
  headers['If-Unmodified-Since'] = header_ifUnmodifiedSince;
54782
54792
  }
54783
54793
  return {
54784
- baseUri: '/services/data/v61.0',
54794
+ baseUri: '/services/data/v62.0',
54785
54795
  basePath: '/ui-api/records/' + config.urlParams.recordId + '',
54786
54796
  method: 'patch',
54787
54797
  body: config.body,
@@ -54795,6 +54805,7 @@ function createResourceRequest$2(config) {
54795
54805
  const adapterName = 'updateRecord';
54796
54806
  const updateRecord_ConfigPropertyMetadata = [
54797
54807
  generateParamConfigMetadata('recordId', true, 0 /* UrlParameter */, 0 /* String */, false, getRecordId18),
54808
+ generateParamConfigMetadata('handleOwnerChange', false, 1 /* QueryParameter */, 1 /* Boolean */),
54798
54809
  generateParamConfigMetadata('triggerOtherEmail', false, 1 /* QueryParameter */, 1 /* Boolean */),
54799
54810
  generateParamConfigMetadata('triggerUserEmail', false, 1 /* QueryParameter */, 1 /* Boolean */),
54800
54811
  generateParamConfigMetadata('useDefaultRule', false, 1 /* QueryParameter */, 1 /* Boolean */),
@@ -54857,11 +54868,23 @@ function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
54857
54868
  return config;
54858
54869
  }
54859
54870
 
54871
+ const ISO8601_DATE_REGEX = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d+Z$/;
54860
54872
  function getHeaders(clientOptions) {
54861
54873
  const headers = {};
54862
54874
  if (untrustedIsObject(clientOptions)) {
54863
54875
  if (typeof clientOptions.ifUnmodifiedSince === 'string') {
54864
54876
  headers.ifUnmodifiedSince = clientOptions.ifUnmodifiedSince;
54877
+ // HTTP standard format date is expected by UI-API
54878
+ // https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Unmodified-Since
54879
+ // A component built for Connect API must use If-Unmodified-Since
54880
+ // dates formatted as ISO 8601, which does not match the HTTP spec.
54881
+ // For compatibility, convert the date to match the standard.
54882
+ if (headers.ifUnmodifiedSince.match(ISO8601_DATE_REGEX)) {
54883
+ const utcString = new Date(headers.ifUnmodifiedSince).toUTCString();
54884
+ if (utcString !== 'Invalid Date') {
54885
+ headers.ifUnmodifiedSince = utcString;
54886
+ }
54887
+ }
54865
54888
  }
54866
54889
  }
54867
54890
  return headers;
@@ -54880,6 +54903,14 @@ function buildNetworkSnapshot$2(luvio, config, clientOptions) {
54880
54903
  const recordIngest = createRecordIngest(fieldTrie, optionalFieldTrie, conflictMap);
54881
54904
  return luvio.dispatchResourceRequest(request).then((response) => {
54882
54905
  return luvio.handleSuccessResponse(() => {
54906
+ if (response.status === HttpStatusCode.NoContent) {
54907
+ const syntheticSnapshot = {
54908
+ state: 'Fulfilled',
54909
+ data: {},
54910
+ };
54911
+ luvio.storeEvict(keyBuilder$3n(luvio, { recordId }));
54912
+ return luvio.storeBroadcast().then(() => syntheticSnapshot);
54913
+ }
54883
54914
  const snapshot = ingestRecordResponse(luvio, response, recordId, recordIngest, conflictMap);
54884
54915
  return luvio.storeBroadcast().then(() => snapshot);
54885
54916
  }, () => {
@@ -55083,7 +55114,7 @@ function createResourceParams$1(config) {
55083
55114
  function createResourceRequest$1(config) {
55084
55115
  const headers = {};
55085
55116
  return {
55086
- baseUri: '/services/data/v61.0',
55117
+ baseUri: '/services/data/v62.0',
55087
55118
  basePath: '/ui-api/records/content-documents/' +
55088
55119
  config.urlParams.contentDocumentId +
55089
55120
  '/content-versions',
@@ -55201,7 +55232,7 @@ function createResourceParams(config) {
55201
55232
  function createResourceRequest(config) {
55202
55233
  const headers = {};
55203
55234
  return {
55204
- baseUri: '/services/data/v61.0',
55235
+ baseUri: '/services/data/v62.0',
55205
55236
  basePath: '/ui-api/records/content-documents/content-versions',
55206
55237
  method: 'post',
55207
55238
  body: config.body,