@salesforce/lds-adapters-uiapi 1.314.0 → 1.315.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/types/src/main.d.ts +2 -0
- package/dist/es/es2018/types/src/wire/createContentDocumentAndVersion/configurationTypes.d.ts +2 -3
- package/dist/es/es2018/types/src/wire/createRecord/configurationTypes.d.ts +2 -3
- package/dist/es/es2018/types/src/wire/deleteRecord/configurationTypes.d.ts +3 -2
- package/dist/es/es2018/types/src/wire/graphql/configurationTypes.d.ts +3 -3
- package/dist/es/es2018/types/src/wire/graphqlBatch/configurationTypes.d.ts +2 -3
- package/dist/es/es2018/types/src/wire/performQuickAction/index.d.ts +1 -1
- package/dist/es/es2018/types/src/wire/performUpdateRecordQuickAction/index.d.ts +1 -1
- package/dist/es/es2018/types/src/wire/updateRecord/configurationTypes.d.ts +2 -3
- package/dist/es/es2018/uiapi-records-service.js +659 -747
- package/package.json +6 -6
- package/sfdc/graphqlAdapters.js +3 -3
- package/sfdc/index.js +681 -769
|
@@ -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$
|
|
8
|
+
import { serializeStructuredKey, ingestShape, coerceConfig as coerceConfig$1, typeCheckConfig as typeCheckConfig$1a, createResourceParams as createResourceParams$16, StoreKeyMap, StoreKeySet, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$X, 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
|
|
|
@@ -5914,9 +5914,9 @@ function isRestrictedPathCondition(existingPath, path) {
|
|
|
5914
5914
|
(existingPath.includes('/records') && path.includes('/record-ui')));
|
|
5915
5915
|
}
|
|
5916
5916
|
|
|
5917
|
-
const createResourceRequest$
|
|
5917
|
+
const createResourceRequest$1h = function getUiApiRecordsByRecordIdCreateResourceRequest(config) {
|
|
5918
5918
|
return {
|
|
5919
|
-
...createResourceRequest$
|
|
5919
|
+
...createResourceRequest$1g(config),
|
|
5920
5920
|
fulfill: fulfill,
|
|
5921
5921
|
};
|
|
5922
5922
|
};
|
|
@@ -5929,7 +5929,7 @@ function keyBuilder$3z(luvio, params) {
|
|
|
5929
5929
|
function getResponseCacheKeys$17(storeKeyMap, luvio, resourceParams, response) {
|
|
5930
5930
|
getTypeCacheKeys$2h(storeKeyMap, luvio, response);
|
|
5931
5931
|
}
|
|
5932
|
-
function createResourceRequest$
|
|
5932
|
+
function createResourceRequest$1g(config) {
|
|
5933
5933
|
const headers = {};
|
|
5934
5934
|
return {
|
|
5935
5935
|
baseUri: '/services/data/v63.0',
|
|
@@ -5943,7 +5943,7 @@ function createResourceRequest$1f(config) {
|
|
|
5943
5943
|
};
|
|
5944
5944
|
}
|
|
5945
5945
|
|
|
5946
|
-
const adapterName
|
|
5946
|
+
const adapterName$$ = 'getRecord';
|
|
5947
5947
|
const oneOfConfigPropertiesIdentifier$1 = [
|
|
5948
5948
|
'layoutTypes',
|
|
5949
5949
|
'fields',
|
|
@@ -5961,12 +5961,12 @@ const getRecord_ConfigPropertyMetadata = [
|
|
|
5961
5961
|
generateParamConfigMetadata('updateMru', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
5962
5962
|
];
|
|
5963
5963
|
const createResourceParams$15 = /*#__PURE__*/ createResourceParams$16(getRecord_ConfigPropertyMetadata);
|
|
5964
|
-
function typeCheckConfig$
|
|
5964
|
+
function typeCheckConfig$19(untrustedConfig) {
|
|
5965
5965
|
const config = {};
|
|
5966
|
-
typeCheckConfig$
|
|
5966
|
+
typeCheckConfig$1a(untrustedConfig, config, getRecord_ConfigPropertyMetadata);
|
|
5967
5967
|
return config;
|
|
5968
5968
|
}
|
|
5969
|
-
function validateAdapterConfig$
|
|
5969
|
+
function validateAdapterConfig$1c(untrustedConfig, configPropertyNames) {
|
|
5970
5970
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
5971
5971
|
return null;
|
|
5972
5972
|
}
|
|
@@ -5974,7 +5974,7 @@ function validateAdapterConfig$1e(untrustedConfig, configPropertyNames) {
|
|
|
5974
5974
|
validateConfig(untrustedConfig, configPropertyNames, oneOfConfigPropertiesIdentifier$1);
|
|
5975
5975
|
}
|
|
5976
5976
|
const coercedConfig = coerceConfig$1(untrustedConfig, getRecord_ConfigPropertyMetadata);
|
|
5977
|
-
const config = typeCheckConfig$
|
|
5977
|
+
const config = typeCheckConfig$19(coercedConfig);
|
|
5978
5978
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
5979
5979
|
return null;
|
|
5980
5980
|
}
|
|
@@ -6019,7 +6019,7 @@ function prepareRequest$7(luvio, config) {
|
|
|
6019
6019
|
fields,
|
|
6020
6020
|
optionalFields: optionalFields.length > 0 ? optionalFields : undefined,
|
|
6021
6021
|
});
|
|
6022
|
-
const request = createResourceRequest$
|
|
6022
|
+
const request = createResourceRequest$1h(resourceParams);
|
|
6023
6023
|
return { request, key, allTrackedFields, resourceParams };
|
|
6024
6024
|
}
|
|
6025
6025
|
function ingestSuccess$X(luvio, config, key, allTrackedFields, response, serverRequestCount) {
|
|
@@ -6371,7 +6371,7 @@ function ingestError$Q(luvio, params, error, snapshotRefresh) {
|
|
|
6371
6371
|
luvio.storeIngestError(key, errorSnapshot);
|
|
6372
6372
|
return errorSnapshot;
|
|
6373
6373
|
}
|
|
6374
|
-
function createResourceRequest$
|
|
6374
|
+
function createResourceRequest$1f(config) {
|
|
6375
6375
|
const headers = {};
|
|
6376
6376
|
return {
|
|
6377
6377
|
baseUri: '/services/data/v63.0',
|
|
@@ -6485,7 +6485,7 @@ function onFetchResponseError$T(luvio, config, resourceParams, response) {
|
|
|
6485
6485
|
}
|
|
6486
6486
|
function buildNetworkSnapshot$1a(luvio, config, serverRequestCount = 0, options) {
|
|
6487
6487
|
const resourceParams = createResourceParams$14(config);
|
|
6488
|
-
const request = createResourceRequest$
|
|
6488
|
+
const request = createResourceRequest$1f(resourceParams);
|
|
6489
6489
|
return luvio.dispatchResourceRequest(request, options).then((response) => {
|
|
6490
6490
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$S(luvio, config, resourceParams, response, serverRequestCount + 1), () => {
|
|
6491
6491
|
const cache = new StoreKeyMap();
|
|
@@ -7700,7 +7700,7 @@ function ingestError$P(luvio, params, error, snapshotRefresh) {
|
|
|
7700
7700
|
luvio.storeIngestError(key, errorSnapshot);
|
|
7701
7701
|
return errorSnapshot;
|
|
7702
7702
|
}
|
|
7703
|
-
function createResourceRequest$
|
|
7703
|
+
function createResourceRequest$1e(config) {
|
|
7704
7704
|
const headers = {};
|
|
7705
7705
|
return {
|
|
7706
7706
|
baseUri: '/services/data/v63.0',
|
|
@@ -7714,7 +7714,7 @@ function createResourceRequest$1d(config) {
|
|
|
7714
7714
|
};
|
|
7715
7715
|
}
|
|
7716
7716
|
|
|
7717
|
-
const adapterName$
|
|
7717
|
+
const adapterName$_ = 'getListUiByApiName';
|
|
7718
7718
|
const getListUiByApiName_ConfigPropertyMetadata = [
|
|
7719
7719
|
generateParamConfigMetadata('listViewApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
7720
7720
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
|
|
@@ -7724,18 +7724,18 @@ const getListUiByApiName_ConfigPropertyMetadata = [
|
|
|
7724
7724
|
generateParamConfigMetadata('pageToken', false, 1 /* QueryParameter */, 0 /* String */),
|
|
7725
7725
|
generateParamConfigMetadata('sortBy', false, 1 /* QueryParameter */, 0 /* String */, true, getFieldApiNamesArray),
|
|
7726
7726
|
];
|
|
7727
|
-
const getListUiByApiName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
7727
|
+
const getListUiByApiName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$_, getListUiByApiName_ConfigPropertyMetadata);
|
|
7728
7728
|
const createResourceParams$13 = /*#__PURE__*/ createResourceParams$16(getListUiByApiName_ConfigPropertyMetadata);
|
|
7729
7729
|
function keyBuilder$3u(luvio, config) {
|
|
7730
7730
|
const resourceParams = createResourceParams$13(config);
|
|
7731
7731
|
return keyBuilder$3v(luvio, resourceParams);
|
|
7732
7732
|
}
|
|
7733
|
-
function typeCheckConfig$
|
|
7733
|
+
function typeCheckConfig$18(untrustedConfig) {
|
|
7734
7734
|
const config = {};
|
|
7735
|
-
typeCheckConfig$
|
|
7735
|
+
typeCheckConfig$1a(untrustedConfig, config, getListUiByApiName_ConfigPropertyMetadata);
|
|
7736
7736
|
return config;
|
|
7737
7737
|
}
|
|
7738
|
-
function validateAdapterConfig$
|
|
7738
|
+
function validateAdapterConfig$1b(untrustedConfig, configPropertyNames) {
|
|
7739
7739
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
7740
7740
|
return null;
|
|
7741
7741
|
}
|
|
@@ -7743,7 +7743,7 @@ function validateAdapterConfig$1d(untrustedConfig, configPropertyNames) {
|
|
|
7743
7743
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
7744
7744
|
}
|
|
7745
7745
|
const coercedConfig = coerceConfig$1(untrustedConfig, getListUiByApiName_ConfigPropertyMetadata);
|
|
7746
|
-
const config = typeCheckConfig$
|
|
7746
|
+
const config = typeCheckConfig$18(coercedConfig);
|
|
7747
7747
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
7748
7748
|
return null;
|
|
7749
7749
|
}
|
|
@@ -7769,7 +7769,7 @@ function onFetchResponseError$S(luvio, config, resourceParams, response) {
|
|
|
7769
7769
|
}
|
|
7770
7770
|
function buildNetworkSnapshot$19(luvio, config, options, cacheSnapshot) {
|
|
7771
7771
|
const resourceParams = createResourceParams$13(config);
|
|
7772
|
-
const request = createResourceRequest$
|
|
7772
|
+
const request = createResourceRequest$1e(resourceParams);
|
|
7773
7773
|
return luvio.dispatchResourceRequest(request, options)
|
|
7774
7774
|
.then((response) => {
|
|
7775
7775
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$R(luvio, config, resourceParams, response), () => {
|
|
@@ -7801,7 +7801,7 @@ function buildCachedSnapshotCachePolicy$U(context, storeLookup) {
|
|
|
7801
7801
|
return cacheSnapshot;
|
|
7802
7802
|
}
|
|
7803
7803
|
const getListUiByApiNameAdapterFactory = (luvio) => function UiApi__getListUiByApiName(untrustedConfig, requestContext) {
|
|
7804
|
-
const config = validateAdapterConfig$
|
|
7804
|
+
const config = validateAdapterConfig$1b(untrustedConfig, getListUiByApiName_ConfigPropertyNames);
|
|
7805
7805
|
// Invalid or incomplete config
|
|
7806
7806
|
if (config === null) {
|
|
7807
7807
|
return null;
|
|
@@ -7850,7 +7850,7 @@ function ingestError$O(luvio, params, error, snapshotRefresh) {
|
|
|
7850
7850
|
luvio.storeIngestError(key, errorSnapshot);
|
|
7851
7851
|
return errorSnapshot;
|
|
7852
7852
|
}
|
|
7853
|
-
function createResourceRequest$
|
|
7853
|
+
function createResourceRequest$1d(config) {
|
|
7854
7854
|
const headers = {};
|
|
7855
7855
|
return {
|
|
7856
7856
|
baseUri: '/services/data/v63.0',
|
|
@@ -7864,7 +7864,7 @@ function createResourceRequest$1c(config) {
|
|
|
7864
7864
|
};
|
|
7865
7865
|
}
|
|
7866
7866
|
|
|
7867
|
-
const adapterName
|
|
7867
|
+
const adapterName$Z = 'getListUiByListViewId';
|
|
7868
7868
|
const getListUiByListViewId_ConfigPropertyMetadata = [
|
|
7869
7869
|
generateParamConfigMetadata('listViewId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
7870
7870
|
generateParamConfigMetadata('fields', false, 1 /* QueryParameter */, 0 /* String */, true, getFieldApiNamesArray),
|
|
@@ -7873,18 +7873,18 @@ const getListUiByListViewId_ConfigPropertyMetadata = [
|
|
|
7873
7873
|
generateParamConfigMetadata('pageToken', false, 1 /* QueryParameter */, 0 /* String */),
|
|
7874
7874
|
generateParamConfigMetadata('sortBy', false, 1 /* QueryParameter */, 0 /* String */, true, getFieldApiNamesArray),
|
|
7875
7875
|
];
|
|
7876
|
-
const getListUiByListViewId_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName
|
|
7876
|
+
const getListUiByListViewId_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$Z, getListUiByListViewId_ConfigPropertyMetadata);
|
|
7877
7877
|
const createResourceParams$12 = /*#__PURE__*/ createResourceParams$16(getListUiByListViewId_ConfigPropertyMetadata);
|
|
7878
7878
|
function keyBuilder$3s(luvio, config) {
|
|
7879
7879
|
const resourceParams = createResourceParams$12(config);
|
|
7880
7880
|
return keyBuilder$3t(luvio, resourceParams);
|
|
7881
7881
|
}
|
|
7882
|
-
function typeCheckConfig$
|
|
7882
|
+
function typeCheckConfig$17(untrustedConfig) {
|
|
7883
7883
|
const config = {};
|
|
7884
|
-
typeCheckConfig$
|
|
7884
|
+
typeCheckConfig$1a(untrustedConfig, config, getListUiByListViewId_ConfigPropertyMetadata);
|
|
7885
7885
|
return config;
|
|
7886
7886
|
}
|
|
7887
|
-
function validateAdapterConfig$
|
|
7887
|
+
function validateAdapterConfig$1a(untrustedConfig, configPropertyNames) {
|
|
7888
7888
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
7889
7889
|
return null;
|
|
7890
7890
|
}
|
|
@@ -7892,7 +7892,7 @@ function validateAdapterConfig$1c(untrustedConfig, configPropertyNames) {
|
|
|
7892
7892
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
7893
7893
|
}
|
|
7894
7894
|
const coercedConfig = coerceConfig$1(untrustedConfig, getListUiByListViewId_ConfigPropertyMetadata);
|
|
7895
|
-
const config = typeCheckConfig$
|
|
7895
|
+
const config = typeCheckConfig$17(coercedConfig);
|
|
7896
7896
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
7897
7897
|
return null;
|
|
7898
7898
|
}
|
|
@@ -7918,7 +7918,7 @@ function onFetchResponseError$R(luvio, config, resourceParams, response) {
|
|
|
7918
7918
|
}
|
|
7919
7919
|
function buildNetworkSnapshot$18(luvio, config, options, cacheSnapshot) {
|
|
7920
7920
|
const resourceParams = createResourceParams$12(config);
|
|
7921
|
-
const request = createResourceRequest$
|
|
7921
|
+
const request = createResourceRequest$1d(resourceParams);
|
|
7922
7922
|
return luvio.dispatchResourceRequest(request, options)
|
|
7923
7923
|
.then((response) => {
|
|
7924
7924
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$Q(luvio, config, resourceParams, response), () => {
|
|
@@ -7950,7 +7950,7 @@ function buildCachedSnapshotCachePolicy$T(context, storeLookup) {
|
|
|
7950
7950
|
return cacheSnapshot;
|
|
7951
7951
|
}
|
|
7952
7952
|
const getListUiByListViewIdAdapterFactory = (luvio) => function UiApi__getListUiByListViewId(untrustedConfig, requestContext) {
|
|
7953
|
-
const config = validateAdapterConfig$
|
|
7953
|
+
const config = validateAdapterConfig$1a(untrustedConfig, getListUiByListViewId_ConfigPropertyNames);
|
|
7954
7954
|
// Invalid or incomplete config
|
|
7955
7955
|
if (config === null) {
|
|
7956
7956
|
return null;
|
|
@@ -7959,7 +7959,7 @@ const getListUiByListViewIdAdapterFactory = (luvio) => function UiApi__getListUi
|
|
|
7959
7959
|
buildCachedSnapshotCachePolicy$T, buildNetworkSnapshotCachePolicy$U);
|
|
7960
7960
|
};
|
|
7961
7961
|
|
|
7962
|
-
function createResourceRequest$
|
|
7962
|
+
function createResourceRequest$1c(config) {
|
|
7963
7963
|
const headers = {};
|
|
7964
7964
|
return {
|
|
7965
7965
|
baseUri: '/services/data/v63.0',
|
|
@@ -8943,7 +8943,7 @@ function ingestError$N(luvio, params, error, snapshotRefresh) {
|
|
|
8943
8943
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
8944
8944
|
return errorSnapshot;
|
|
8945
8945
|
}
|
|
8946
|
-
function createResourceRequest$
|
|
8946
|
+
function createResourceRequest$1b(config) {
|
|
8947
8947
|
const headers = {};
|
|
8948
8948
|
return {
|
|
8949
8949
|
baseUri: '/services/data/v63.0',
|
|
@@ -9679,7 +9679,7 @@ function ingestError$M(luvio, params, error, snapshotRefresh) {
|
|
|
9679
9679
|
luvio.storeIngestError(key, errorSnapshot);
|
|
9680
9680
|
return errorSnapshot;
|
|
9681
9681
|
}
|
|
9682
|
-
function createResourceRequest$
|
|
9682
|
+
function createResourceRequest$1a(config) {
|
|
9683
9683
|
const headers = {};
|
|
9684
9684
|
return {
|
|
9685
9685
|
baseUri: '/services/data/v63.0',
|
|
@@ -9693,7 +9693,7 @@ function createResourceRequest$19(config) {
|
|
|
9693
9693
|
};
|
|
9694
9694
|
}
|
|
9695
9695
|
|
|
9696
|
-
const adapterName$
|
|
9696
|
+
const adapterName$Y = 'getListViewSummaryCollection';
|
|
9697
9697
|
const getListViewSummaryCollection_ConfigPropertyMetadata = [
|
|
9698
9698
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
|
|
9699
9699
|
generateParamConfigMetadata('pageSize', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
@@ -9701,18 +9701,18 @@ const getListViewSummaryCollection_ConfigPropertyMetadata = [
|
|
|
9701
9701
|
generateParamConfigMetadata('q', false, 1 /* QueryParameter */, 0 /* String */),
|
|
9702
9702
|
generateParamConfigMetadata('recentListsOnly', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
9703
9703
|
];
|
|
9704
|
-
const getListViewSummaryCollection_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
9704
|
+
const getListViewSummaryCollection_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$Y, getListViewSummaryCollection_ConfigPropertyMetadata);
|
|
9705
9705
|
const createResourceParams$11 = /*#__PURE__*/ createResourceParams$16(getListViewSummaryCollection_ConfigPropertyMetadata);
|
|
9706
9706
|
function keyBuilder$3l(luvio, config) {
|
|
9707
9707
|
const resourceParams = createResourceParams$11(config);
|
|
9708
9708
|
return keyBuilder$3m(luvio, resourceParams);
|
|
9709
9709
|
}
|
|
9710
|
-
function typeCheckConfig$
|
|
9710
|
+
function typeCheckConfig$16(untrustedConfig) {
|
|
9711
9711
|
const config = {};
|
|
9712
|
-
typeCheckConfig$
|
|
9712
|
+
typeCheckConfig$1a(untrustedConfig, config, getListViewSummaryCollection_ConfigPropertyMetadata);
|
|
9713
9713
|
return config;
|
|
9714
9714
|
}
|
|
9715
|
-
function validateAdapterConfig$
|
|
9715
|
+
function validateAdapterConfig$19(untrustedConfig, configPropertyNames) {
|
|
9716
9716
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
9717
9717
|
return null;
|
|
9718
9718
|
}
|
|
@@ -9720,7 +9720,7 @@ function validateAdapterConfig$1b(untrustedConfig, configPropertyNames) {
|
|
|
9720
9720
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
9721
9721
|
}
|
|
9722
9722
|
const coercedConfig = coerceConfig$1(untrustedConfig, getListViewSummaryCollection_ConfigPropertyMetadata);
|
|
9723
|
-
const config = typeCheckConfig$
|
|
9723
|
+
const config = typeCheckConfig$16(coercedConfig);
|
|
9724
9724
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
9725
9725
|
return null;
|
|
9726
9726
|
}
|
|
@@ -9746,13 +9746,13 @@ function onFetchResponseError$Q(luvio, config, resourceParams, response) {
|
|
|
9746
9746
|
}
|
|
9747
9747
|
function prepareRequest$6(luvio, config, resourceParams, cacheSnapshot) {
|
|
9748
9748
|
if (cacheSnapshot === undefined) {
|
|
9749
|
-
return createResourceRequest$
|
|
9749
|
+
return createResourceRequest$1a(resourceParams);
|
|
9750
9750
|
}
|
|
9751
9751
|
const [newToken, newPageSize] = minimizePaginationParams$2(luvio, resourceParams, cacheSnapshot);
|
|
9752
9752
|
if (newToken === undefined) {
|
|
9753
|
-
return createResourceRequest$
|
|
9753
|
+
return createResourceRequest$1a(resourceParams);
|
|
9754
9754
|
}
|
|
9755
|
-
return createResourceRequest$
|
|
9755
|
+
return createResourceRequest$1a(createResourceParams$11({
|
|
9756
9756
|
...config,
|
|
9757
9757
|
pageSize: newPageSize,
|
|
9758
9758
|
pageToken: newToken
|
|
@@ -9853,7 +9853,7 @@ function buildCachedSnapshotCachePolicy$S(context, storeLookup) {
|
|
|
9853
9853
|
return cacheSnapshot;
|
|
9854
9854
|
}
|
|
9855
9855
|
const getListViewSummaryCollectionAdapterFactory = (luvio) => function UiApi__getListViewSummaryCollection(untrustedConfig, requestContext) {
|
|
9856
|
-
const config = validateAdapterConfig$
|
|
9856
|
+
const config = validateAdapterConfig$19(untrustedConfig, getListViewSummaryCollection_ConfigPropertyNames);
|
|
9857
9857
|
// Invalid or incomplete config
|
|
9858
9858
|
if (config === null) {
|
|
9859
9859
|
return null;
|
|
@@ -9877,7 +9877,7 @@ function keyBuilder$3k(luvio, params) {
|
|
|
9877
9877
|
sortBy: params.queryParams.sortBy || null
|
|
9878
9878
|
});
|
|
9879
9879
|
}
|
|
9880
|
-
function createResourceRequest$
|
|
9880
|
+
function createResourceRequest$19(config) {
|
|
9881
9881
|
const headers = {};
|
|
9882
9882
|
return {
|
|
9883
9883
|
baseUri: '/services/data/v63.0',
|
|
@@ -9891,7 +9891,7 @@ function createResourceRequest$18(config) {
|
|
|
9891
9891
|
};
|
|
9892
9892
|
}
|
|
9893
9893
|
|
|
9894
|
-
const adapterName$
|
|
9894
|
+
const adapterName$X = 'getMruListUi';
|
|
9895
9895
|
const getMruListUi_ConfigPropertyMetadata = [
|
|
9896
9896
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
|
|
9897
9897
|
generateParamConfigMetadata('fields', false, 1 /* QueryParameter */, 0 /* String */, true, getFieldApiNamesArray),
|
|
@@ -9900,14 +9900,14 @@ const getMruListUi_ConfigPropertyMetadata = [
|
|
|
9900
9900
|
generateParamConfigMetadata('pageToken', false, 1 /* QueryParameter */, 0 /* String */),
|
|
9901
9901
|
generateParamConfigMetadata('sortBy', false, 1 /* QueryParameter */, 0 /* String */, true, getFieldApiNamesArray),
|
|
9902
9902
|
];
|
|
9903
|
-
const getMruListUi_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
9903
|
+
const getMruListUi_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$X, getMruListUi_ConfigPropertyMetadata);
|
|
9904
9904
|
const createResourceParams$10 = /*#__PURE__*/ createResourceParams$16(getMruListUi_ConfigPropertyMetadata);
|
|
9905
|
-
function typeCheckConfig$
|
|
9905
|
+
function typeCheckConfig$15(untrustedConfig) {
|
|
9906
9906
|
const config = {};
|
|
9907
|
-
typeCheckConfig$
|
|
9907
|
+
typeCheckConfig$1a(untrustedConfig, config, getMruListUi_ConfigPropertyMetadata);
|
|
9908
9908
|
return config;
|
|
9909
9909
|
}
|
|
9910
|
-
function validateAdapterConfig$
|
|
9910
|
+
function validateAdapterConfig$18(untrustedConfig, configPropertyNames) {
|
|
9911
9911
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
9912
9912
|
return null;
|
|
9913
9913
|
}
|
|
@@ -9915,14 +9915,14 @@ function validateAdapterConfig$1a(untrustedConfig, configPropertyNames) {
|
|
|
9915
9915
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
9916
9916
|
}
|
|
9917
9917
|
const coercedConfig = coerceConfig$1(untrustedConfig, getMruListUi_ConfigPropertyMetadata);
|
|
9918
|
-
const config = typeCheckConfig$
|
|
9918
|
+
const config = typeCheckConfig$15(coercedConfig);
|
|
9919
9919
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
9920
9920
|
return null;
|
|
9921
9921
|
}
|
|
9922
9922
|
return config;
|
|
9923
9923
|
}
|
|
9924
9924
|
|
|
9925
|
-
function createResourceRequest$
|
|
9925
|
+
function createResourceRequest$18(config) {
|
|
9926
9926
|
const headers = {};
|
|
9927
9927
|
return {
|
|
9928
9928
|
baseUri: '/services/data/v63.0',
|
|
@@ -10048,7 +10048,7 @@ function buildCachedSnapshot$8(luvio, storeLookup, config, listInfo, fields) {
|
|
|
10048
10048
|
*/
|
|
10049
10049
|
function buildNetworkSnapshot_getMruListUi(luvio, config, dispatchOptions) {
|
|
10050
10050
|
const params = createResourceParams$10(config);
|
|
10051
|
-
const request = createResourceRequest$
|
|
10051
|
+
const request = createResourceRequest$19(params);
|
|
10052
10052
|
return luvio.dispatchResourceRequest(request, dispatchOptions).then((response) => {
|
|
10053
10053
|
const { body } = response;
|
|
10054
10054
|
// response might have records.sortBy in csv format but keyBuilder/ingestion
|
|
@@ -10075,7 +10075,7 @@ function prepareRequest_getMruListRecords(luvio, config, listInfo, snapshot) {
|
|
|
10075
10075
|
pageToken,
|
|
10076
10076
|
sortBy,
|
|
10077
10077
|
};
|
|
10078
|
-
const request = createResourceRequest$
|
|
10078
|
+
const request = createResourceRequest$18({
|
|
10079
10079
|
urlParams: {
|
|
10080
10080
|
objectApiName: config.objectApiName,
|
|
10081
10081
|
},
|
|
@@ -10232,7 +10232,7 @@ function buildNetworkListUiSnapshot$1(context, coercedAdapterRequestContext) {
|
|
|
10232
10232
|
return buildNetworkSnapshot_getMruListRecords(luvio, config, listInfo, dispatchOptions, listUi);
|
|
10233
10233
|
}
|
|
10234
10234
|
const factory$k = (luvio) => function getMruListUi(untrustedConfig, requestContext) {
|
|
10235
|
-
const config = validateAdapterConfig$
|
|
10235
|
+
const config = validateAdapterConfig$18(untrustedConfig, getMruListUi_ConfigPropertyNames_augmented);
|
|
10236
10236
|
if (config === null) {
|
|
10237
10237
|
return null;
|
|
10238
10238
|
}
|
|
@@ -10350,7 +10350,7 @@ function prepareRequest_getListUi(config) {
|
|
|
10350
10350
|
};
|
|
10351
10351
|
let request;
|
|
10352
10352
|
if (isGetListUiByApiNameConfig(config)) {
|
|
10353
|
-
request = createResourceRequest$
|
|
10353
|
+
request = createResourceRequest$1e({
|
|
10354
10354
|
urlParams: {
|
|
10355
10355
|
listViewApiName: config.listViewApiName,
|
|
10356
10356
|
objectApiName: config.objectApiName,
|
|
@@ -10359,7 +10359,7 @@ function prepareRequest_getListUi(config) {
|
|
|
10359
10359
|
});
|
|
10360
10360
|
}
|
|
10361
10361
|
else if (isGetListUiByListViewIdConfig(config)) {
|
|
10362
|
-
request = createResourceRequest$
|
|
10362
|
+
request = createResourceRequest$1d({
|
|
10363
10363
|
urlParams: { listViewId: config.listViewId },
|
|
10364
10364
|
queryParams,
|
|
10365
10365
|
});
|
|
@@ -10442,7 +10442,7 @@ function prepareRequest_getListRecords(luvio, context, config, listInfo, snapsho
|
|
|
10442
10442
|
};
|
|
10443
10443
|
let request;
|
|
10444
10444
|
if (isGetListUiByApiNameConfig(config)) {
|
|
10445
|
-
request = createResourceRequest$
|
|
10445
|
+
request = createResourceRequest$1b({
|
|
10446
10446
|
urlParams: {
|
|
10447
10447
|
listViewApiName: config.listViewApiName,
|
|
10448
10448
|
objectApiName: config.objectApiName,
|
|
@@ -10451,7 +10451,7 @@ function prepareRequest_getListRecords(luvio, context, config, listInfo, snapsho
|
|
|
10451
10451
|
});
|
|
10452
10452
|
}
|
|
10453
10453
|
else if (isGetListUiByListViewIdConfig(config)) {
|
|
10454
|
-
request = createResourceRequest$
|
|
10454
|
+
request = createResourceRequest$1c({
|
|
10455
10455
|
urlParams: { listViewId: config.listViewId },
|
|
10456
10456
|
queryParams,
|
|
10457
10457
|
});
|
|
@@ -10651,9 +10651,9 @@ function looksLikeGetMruListUiConfig(untrustedConfig) {
|
|
|
10651
10651
|
}
|
|
10652
10652
|
function validateGetListUiConfig(untrustedConfig) {
|
|
10653
10653
|
return looksLikeGetListUiByApiNameConfig(untrustedConfig)
|
|
10654
|
-
? validateAdapterConfig$
|
|
10654
|
+
? validateAdapterConfig$1b(untrustedConfig, getListUiByApiName_ConfigPropertyNames_augmented)
|
|
10655
10655
|
: looksLikeGetListUiByListViewIdConfig(untrustedConfig)
|
|
10656
|
-
? validateAdapterConfig$
|
|
10656
|
+
? validateAdapterConfig$1a(untrustedConfig, getListUiByListViewId_ConfigPropertyNames_augmented)
|
|
10657
10657
|
: null;
|
|
10658
10658
|
}
|
|
10659
10659
|
// the listViewApiName value to pass to getListUi() to request the MRU list
|
|
@@ -11727,7 +11727,7 @@ function ingestError$L(luvio, params, error, snapshotRefresh) {
|
|
|
11727
11727
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
11728
11728
|
return errorSnapshot;
|
|
11729
11729
|
}
|
|
11730
|
-
function createResourceRequest$
|
|
11730
|
+
function createResourceRequest$17(config) {
|
|
11731
11731
|
const headers = {};
|
|
11732
11732
|
return {
|
|
11733
11733
|
baseUri: '/services/data/v63.0',
|
|
@@ -11741,22 +11741,22 @@ function createResourceRequest$16(config) {
|
|
|
11741
11741
|
};
|
|
11742
11742
|
}
|
|
11743
11743
|
|
|
11744
|
-
const adapterName$
|
|
11744
|
+
const adapterName$W = 'getObjectInfo';
|
|
11745
11745
|
const getObjectInfo_ConfigPropertyMetadata = [
|
|
11746
11746
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
|
|
11747
11747
|
];
|
|
11748
|
-
const getObjectInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
11748
|
+
const getObjectInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$W, getObjectInfo_ConfigPropertyMetadata);
|
|
11749
11749
|
const createResourceParams$$ = /*#__PURE__*/ createResourceParams$16(getObjectInfo_ConfigPropertyMetadata);
|
|
11750
11750
|
function keyBuilder$3h(luvio, config) {
|
|
11751
11751
|
const resourceParams = createResourceParams$$(config);
|
|
11752
11752
|
return keyBuilder$3i(luvio, resourceParams);
|
|
11753
11753
|
}
|
|
11754
|
-
function typeCheckConfig$
|
|
11754
|
+
function typeCheckConfig$14(untrustedConfig) {
|
|
11755
11755
|
const config = {};
|
|
11756
|
-
typeCheckConfig$
|
|
11756
|
+
typeCheckConfig$1a(untrustedConfig, config, getObjectInfo_ConfigPropertyMetadata);
|
|
11757
11757
|
return config;
|
|
11758
11758
|
}
|
|
11759
|
-
function validateAdapterConfig$
|
|
11759
|
+
function validateAdapterConfig$17(untrustedConfig, configPropertyNames) {
|
|
11760
11760
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
11761
11761
|
return null;
|
|
11762
11762
|
}
|
|
@@ -11764,7 +11764,7 @@ function validateAdapterConfig$19(untrustedConfig, configPropertyNames) {
|
|
|
11764
11764
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
11765
11765
|
}
|
|
11766
11766
|
const coercedConfig = coerceConfig$1(untrustedConfig, getObjectInfo_ConfigPropertyMetadata);
|
|
11767
|
-
const config = typeCheckConfig$
|
|
11767
|
+
const config = typeCheckConfig$14(coercedConfig);
|
|
11768
11768
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
11769
11769
|
return null;
|
|
11770
11770
|
}
|
|
@@ -11790,7 +11790,7 @@ function onFetchResponseError$P(luvio, config, resourceParams, response) {
|
|
|
11790
11790
|
}
|
|
11791
11791
|
function buildNetworkSnapshot$16(luvio, config, options) {
|
|
11792
11792
|
const resourceParams = createResourceParams$$(config);
|
|
11793
|
-
const request = createResourceRequest$
|
|
11793
|
+
const request = createResourceRequest$17(resourceParams);
|
|
11794
11794
|
return luvio.dispatchResourceRequest(request, options)
|
|
11795
11795
|
.then((response) => {
|
|
11796
11796
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$O(luvio, config, resourceParams, response), () => {
|
|
@@ -11819,7 +11819,7 @@ function buildCachedSnapshotCachePolicy$R(context, storeLookup) {
|
|
|
11819
11819
|
return cacheSnapshot;
|
|
11820
11820
|
}
|
|
11821
11821
|
const getObjectInfoAdapterFactory = (luvio) => function UiApi__getObjectInfo(untrustedConfig, requestContext) {
|
|
11822
|
-
const config = validateAdapterConfig$
|
|
11822
|
+
const config = validateAdapterConfig$17(untrustedConfig, getObjectInfo_ConfigPropertyNames);
|
|
11823
11823
|
// Invalid or incomplete config
|
|
11824
11824
|
if (config === null) {
|
|
11825
11825
|
return null;
|
|
@@ -12764,7 +12764,7 @@ const ingest$22 = function RecordUiRepresentationIngest(input, path, luvio, stor
|
|
|
12764
12764
|
return createLink$1(key);
|
|
12765
12765
|
};
|
|
12766
12766
|
|
|
12767
|
-
function createResourceRequest$
|
|
12767
|
+
function createResourceRequest$16(config) {
|
|
12768
12768
|
const headers = {};
|
|
12769
12769
|
return {
|
|
12770
12770
|
baseUri: '/services/data/v63.0',
|
|
@@ -12788,12 +12788,12 @@ const getRecordUi_ConfigPropertyMetadata = [
|
|
|
12788
12788
|
generateParamConfigMetadata('pageSize', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
12789
12789
|
generateParamConfigMetadata('updateMru', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
12790
12790
|
];
|
|
12791
|
-
function typeCheckConfig$
|
|
12791
|
+
function typeCheckConfig$13(untrustedConfig) {
|
|
12792
12792
|
const config = {};
|
|
12793
|
-
typeCheckConfig$
|
|
12793
|
+
typeCheckConfig$1a(untrustedConfig, config, getRecordUi_ConfigPropertyMetadata);
|
|
12794
12794
|
return config;
|
|
12795
12795
|
}
|
|
12796
|
-
function validateAdapterConfig$
|
|
12796
|
+
function validateAdapterConfig$16(untrustedConfig, configPropertyNames) {
|
|
12797
12797
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
12798
12798
|
return null;
|
|
12799
12799
|
}
|
|
@@ -12801,7 +12801,7 @@ function validateAdapterConfig$18(untrustedConfig, configPropertyNames) {
|
|
|
12801
12801
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
12802
12802
|
}
|
|
12803
12803
|
const coercedConfig = coerceConfig$1(untrustedConfig, getRecordUi_ConfigPropertyMetadata);
|
|
12804
|
-
const config = typeCheckConfig$
|
|
12804
|
+
const config = typeCheckConfig$13(coercedConfig);
|
|
12805
12805
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
12806
12806
|
return null;
|
|
12807
12807
|
}
|
|
@@ -13101,7 +13101,7 @@ function prepareRequest$5(luvio, config) {
|
|
|
13101
13101
|
const { recordIds, layoutTypes, modes, optionalFields } = config;
|
|
13102
13102
|
const key = keyBuilder$3e(recordIds, layoutTypes, modes, optionalFields);
|
|
13103
13103
|
const selectorKey = buildCachedSelectorKey(key);
|
|
13104
|
-
const resourceRequest = createResourceRequest$
|
|
13104
|
+
const resourceRequest = createResourceRequest$16({
|
|
13105
13105
|
urlParams: {
|
|
13106
13106
|
recordIds,
|
|
13107
13107
|
},
|
|
@@ -13300,7 +13300,7 @@ function buildNetworkRecordUiRepresentationSnapshot(context, coercedAdapterReque
|
|
|
13300
13300
|
return buildNetworkSnapshot$15(context.luvio, context.config, dispatchOptions);
|
|
13301
13301
|
}
|
|
13302
13302
|
function coerceConfigWithDefaults$3(untrustedConfig) {
|
|
13303
|
-
const config = validateAdapterConfig$
|
|
13303
|
+
const config = validateAdapterConfig$16(untrustedConfig, GET_RECORDUI_ADAPTER_CONFIG);
|
|
13304
13304
|
if (config === null) {
|
|
13305
13305
|
return null;
|
|
13306
13306
|
}
|
|
@@ -13802,7 +13802,7 @@ function runSnapshotOrPromise(promiseOrSnapshot, next) {
|
|
|
13802
13802
|
}
|
|
13803
13803
|
}
|
|
13804
13804
|
|
|
13805
|
-
const contextId$4 = `${keyPrefix}__${adapterName
|
|
13805
|
+
const contextId$4 = `${keyPrefix}__${adapterName$$}`;
|
|
13806
13806
|
// Custom adapter config due to `unsupported` items
|
|
13807
13807
|
const GET_RECORD_ADAPTER_CONFIG = {
|
|
13808
13808
|
displayName: 'getRecord',
|
|
@@ -13831,7 +13831,7 @@ function createResourceRequestFromRepresentation(representation, optionalFields)
|
|
|
13831
13831
|
optionalFields,
|
|
13832
13832
|
},
|
|
13833
13833
|
};
|
|
13834
|
-
return createResourceRequest$
|
|
13834
|
+
return createResourceRequest$1h(config);
|
|
13835
13835
|
}
|
|
13836
13836
|
// eslint-disable-next-line @salesforce/lds/no-invalid-todo
|
|
13837
13837
|
// TODO: this should probably be code generated in RecordRepresentation
|
|
@@ -13896,7 +13896,7 @@ const notifyChangeFactory = (luvio) => {
|
|
|
13896
13896
|
const factory$h = (luvio) => {
|
|
13897
13897
|
return luvio.withContext(function getRecord(untrustedConfig, adapterContext, requestContext) {
|
|
13898
13898
|
// standard config validation and coercion
|
|
13899
|
-
const config = validateAdapterConfig$
|
|
13899
|
+
const config = validateAdapterConfig$1c(untrustedConfig, GET_RECORD_ADAPTER_CONFIG);
|
|
13900
13900
|
if (config === null) {
|
|
13901
13901
|
return null;
|
|
13902
13902
|
}
|
|
@@ -15439,7 +15439,7 @@ function ingestError$K(luvio, params, error, snapshotRefresh) {
|
|
|
15439
15439
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
15440
15440
|
return errorSnapshot;
|
|
15441
15441
|
}
|
|
15442
|
-
function createResourceRequest$
|
|
15442
|
+
function createResourceRequest$15(config) {
|
|
15443
15443
|
const headers = {};
|
|
15444
15444
|
return {
|
|
15445
15445
|
baseUri: '/services/data/v63.0',
|
|
@@ -15453,7 +15453,7 @@ function createResourceRequest$14(config) {
|
|
|
15453
15453
|
};
|
|
15454
15454
|
}
|
|
15455
15455
|
|
|
15456
|
-
const adapterName$
|
|
15456
|
+
const adapterName$V = 'getGlobalActions';
|
|
15457
15457
|
const getGlobalActions_ConfigPropertyMetadata = [
|
|
15458
15458
|
generateParamConfigMetadata('actionTypes', false, 1 /* QueryParameter */, 0 /* String */, true),
|
|
15459
15459
|
generateParamConfigMetadata('apiNames', false, 1 /* QueryParameter */, 0 /* String */, true, toSortedStringArrayAllowEmpty),
|
|
@@ -15461,18 +15461,18 @@ const getGlobalActions_ConfigPropertyMetadata = [
|
|
|
15461
15461
|
generateParamConfigMetadata('retrievalMode', false, 1 /* QueryParameter */, 0 /* String */),
|
|
15462
15462
|
generateParamConfigMetadata('sections', false, 1 /* QueryParameter */, 0 /* String */, true, toSortedStringArray),
|
|
15463
15463
|
];
|
|
15464
|
-
const getGlobalActions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
15464
|
+
const getGlobalActions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$V, getGlobalActions_ConfigPropertyMetadata);
|
|
15465
15465
|
const createResourceParams$_ = /*#__PURE__*/ createResourceParams$16(getGlobalActions_ConfigPropertyMetadata);
|
|
15466
15466
|
function keyBuilder$37(luvio, config) {
|
|
15467
15467
|
const resourceParams = createResourceParams$_(config);
|
|
15468
15468
|
return keyBuilder$38(luvio, resourceParams);
|
|
15469
15469
|
}
|
|
15470
|
-
function typeCheckConfig$
|
|
15470
|
+
function typeCheckConfig$12(untrustedConfig) {
|
|
15471
15471
|
const config = {};
|
|
15472
|
-
typeCheckConfig$
|
|
15472
|
+
typeCheckConfig$1a(untrustedConfig, config, getGlobalActions_ConfigPropertyMetadata);
|
|
15473
15473
|
return config;
|
|
15474
15474
|
}
|
|
15475
|
-
function validateAdapterConfig$
|
|
15475
|
+
function validateAdapterConfig$15(untrustedConfig, configPropertyNames) {
|
|
15476
15476
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
15477
15477
|
return null;
|
|
15478
15478
|
}
|
|
@@ -15480,7 +15480,7 @@ function validateAdapterConfig$17(untrustedConfig, configPropertyNames) {
|
|
|
15480
15480
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
15481
15481
|
}
|
|
15482
15482
|
const coercedConfig = coerceConfig$1(untrustedConfig, getGlobalActions_ConfigPropertyMetadata);
|
|
15483
|
-
const config = typeCheckConfig$
|
|
15483
|
+
const config = typeCheckConfig$12(coercedConfig);
|
|
15484
15484
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
15485
15485
|
return null;
|
|
15486
15486
|
}
|
|
@@ -15506,7 +15506,7 @@ function onFetchResponseError$N(luvio, config, resourceParams, response) {
|
|
|
15506
15506
|
}
|
|
15507
15507
|
function buildNetworkSnapshot$13(luvio, config, options) {
|
|
15508
15508
|
const resourceParams = createResourceParams$_(config);
|
|
15509
|
-
const request = createResourceRequest$
|
|
15509
|
+
const request = createResourceRequest$15(resourceParams);
|
|
15510
15510
|
return luvio.dispatchResourceRequest(request, options)
|
|
15511
15511
|
.then((response) => {
|
|
15512
15512
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$M(luvio, config, resourceParams, response), () => {
|
|
@@ -15535,7 +15535,7 @@ function buildCachedSnapshotCachePolicy$Q(context, storeLookup) {
|
|
|
15535
15535
|
return cacheSnapshot;
|
|
15536
15536
|
}
|
|
15537
15537
|
const getGlobalActionsAdapterFactory = (luvio) => function UiApi__getGlobalActions(untrustedConfig, requestContext) {
|
|
15538
|
-
const config = validateAdapterConfig$
|
|
15538
|
+
const config = validateAdapterConfig$15(untrustedConfig, getGlobalActions_ConfigPropertyNames);
|
|
15539
15539
|
// Invalid or incomplete config
|
|
15540
15540
|
if (config === null) {
|
|
15541
15541
|
return null;
|
|
@@ -15673,7 +15673,7 @@ function ingestError$J(luvio, params, error, snapshotRefresh) {
|
|
|
15673
15673
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
15674
15674
|
return errorSnapshot;
|
|
15675
15675
|
}
|
|
15676
|
-
function createResourceRequest$
|
|
15676
|
+
function createResourceRequest$14(config) {
|
|
15677
15677
|
const headers = {};
|
|
15678
15678
|
return {
|
|
15679
15679
|
baseUri: '/services/data/v63.0',
|
|
@@ -15687,31 +15687,31 @@ function createResourceRequest$13(config) {
|
|
|
15687
15687
|
};
|
|
15688
15688
|
}
|
|
15689
15689
|
|
|
15690
|
-
const adapterName$
|
|
15690
|
+
const adapterName$U = 'getQuickActionLayout';
|
|
15691
15691
|
const getQuickActionLayout_ConfigPropertyMetadata = [
|
|
15692
15692
|
generateParamConfigMetadata('actionApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
15693
15693
|
generateParamConfigMetadata('objectApiName', false, 1 /* QueryParameter */, 0 /* String */),
|
|
15694
15694
|
generateParamConfigMetadata('recordTypeId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
15695
15695
|
];
|
|
15696
|
-
const getQuickActionLayout_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
15696
|
+
const getQuickActionLayout_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$U, getQuickActionLayout_ConfigPropertyMetadata);
|
|
15697
15697
|
const createResourceParams$Z = /*#__PURE__*/ createResourceParams$16(getQuickActionLayout_ConfigPropertyMetadata);
|
|
15698
15698
|
function keyBuilder$34(luvio, config) {
|
|
15699
15699
|
const resourceParams = createResourceParams$Z(config);
|
|
15700
15700
|
return keyBuilder$35(luvio, resourceParams);
|
|
15701
15701
|
}
|
|
15702
|
-
function typeCheckConfig$
|
|
15702
|
+
function typeCheckConfig$11(untrustedConfig) {
|
|
15703
15703
|
const config = {};
|
|
15704
|
-
typeCheckConfig$
|
|
15704
|
+
typeCheckConfig$1a(untrustedConfig, config, getQuickActionLayout_ConfigPropertyMetadata);
|
|
15705
15705
|
return config;
|
|
15706
15706
|
}
|
|
15707
|
-
function validateAdapterConfig$
|
|
15707
|
+
function validateAdapterConfig$14(untrustedConfig, configPropertyNames) {
|
|
15708
15708
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
15709
15709
|
return null;
|
|
15710
15710
|
}
|
|
15711
15711
|
if (process.env.NODE_ENV !== 'production') {
|
|
15712
15712
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
15713
15713
|
}
|
|
15714
|
-
const config = typeCheckConfig$
|
|
15714
|
+
const config = typeCheckConfig$11(untrustedConfig);
|
|
15715
15715
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
15716
15716
|
return null;
|
|
15717
15717
|
}
|
|
@@ -15737,7 +15737,7 @@ function onFetchResponseError$M(luvio, config, resourceParams, response) {
|
|
|
15737
15737
|
}
|
|
15738
15738
|
function buildNetworkSnapshot$12(luvio, config, options) {
|
|
15739
15739
|
const resourceParams = createResourceParams$Z(config);
|
|
15740
|
-
const request = createResourceRequest$
|
|
15740
|
+
const request = createResourceRequest$14(resourceParams);
|
|
15741
15741
|
return luvio.dispatchResourceRequest(request, options)
|
|
15742
15742
|
.then((response) => {
|
|
15743
15743
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$L(luvio, config, resourceParams, response), () => {
|
|
@@ -15766,7 +15766,7 @@ function buildCachedSnapshotCachePolicy$P(context, storeLookup) {
|
|
|
15766
15766
|
return cacheSnapshot;
|
|
15767
15767
|
}
|
|
15768
15768
|
const getQuickActionLayoutAdapterFactory = (luvio) => function UiApi__getQuickActionLayout(untrustedConfig, requestContext) {
|
|
15769
|
-
const config = validateAdapterConfig$
|
|
15769
|
+
const config = validateAdapterConfig$14(untrustedConfig, getQuickActionLayout_ConfigPropertyNames);
|
|
15770
15770
|
// Invalid or incomplete config
|
|
15771
15771
|
if (config === null) {
|
|
15772
15772
|
return null;
|
|
@@ -15845,7 +15845,7 @@ function ingestError$I(luvio, params, error, snapshotRefresh) {
|
|
|
15845
15845
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
15846
15846
|
return errorSnapshot;
|
|
15847
15847
|
}
|
|
15848
|
-
function createResourceRequest$
|
|
15848
|
+
function createResourceRequest$13(config) {
|
|
15849
15849
|
const headers = {};
|
|
15850
15850
|
return {
|
|
15851
15851
|
baseUri: '/services/data/v63.0',
|
|
@@ -15859,25 +15859,25 @@ function createResourceRequest$12(config) {
|
|
|
15859
15859
|
};
|
|
15860
15860
|
}
|
|
15861
15861
|
|
|
15862
|
-
const adapterName$
|
|
15862
|
+
const adapterName$T = 'getLookupActions';
|
|
15863
15863
|
const getLookupActions_ConfigPropertyMetadata = [
|
|
15864
15864
|
generateParamConfigMetadata('objectApiNames', true, 0 /* UrlParameter */, 0 /* String */, true, getSortedObjectApiNamesArray),
|
|
15865
15865
|
generateParamConfigMetadata('actionTypes', false, 1 /* QueryParameter */, 0 /* String */, true, toSortedStringArray),
|
|
15866
15866
|
generateParamConfigMetadata('formFactor', false, 1 /* QueryParameter */, 0 /* String */, false, coerceFormFactor),
|
|
15867
15867
|
generateParamConfigMetadata('sections', false, 1 /* QueryParameter */, 0 /* String */, true, toSortedStringArray),
|
|
15868
15868
|
];
|
|
15869
|
-
const getLookupActions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
15869
|
+
const getLookupActions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$T, getLookupActions_ConfigPropertyMetadata);
|
|
15870
15870
|
const createResourceParams$Y = /*#__PURE__*/ createResourceParams$16(getLookupActions_ConfigPropertyMetadata);
|
|
15871
15871
|
function keyBuilder$32(luvio, config) {
|
|
15872
15872
|
const resourceParams = createResourceParams$Y(config);
|
|
15873
15873
|
return keyBuilder$33(luvio, resourceParams);
|
|
15874
15874
|
}
|
|
15875
|
-
function typeCheckConfig$
|
|
15875
|
+
function typeCheckConfig$10(untrustedConfig) {
|
|
15876
15876
|
const config = {};
|
|
15877
|
-
typeCheckConfig$
|
|
15877
|
+
typeCheckConfig$1a(untrustedConfig, config, getLookupActions_ConfigPropertyMetadata);
|
|
15878
15878
|
return config;
|
|
15879
15879
|
}
|
|
15880
|
-
function validateAdapterConfig$
|
|
15880
|
+
function validateAdapterConfig$13(untrustedConfig, configPropertyNames) {
|
|
15881
15881
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
15882
15882
|
return null;
|
|
15883
15883
|
}
|
|
@@ -15885,7 +15885,7 @@ function validateAdapterConfig$15(untrustedConfig, configPropertyNames) {
|
|
|
15885
15885
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
15886
15886
|
}
|
|
15887
15887
|
const coercedConfig = coerceConfig$1(untrustedConfig, getLookupActions_ConfigPropertyMetadata);
|
|
15888
|
-
const config = typeCheckConfig$
|
|
15888
|
+
const config = typeCheckConfig$10(coercedConfig);
|
|
15889
15889
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
15890
15890
|
return null;
|
|
15891
15891
|
}
|
|
@@ -15911,7 +15911,7 @@ function onFetchResponseError$L(luvio, config, resourceParams, response) {
|
|
|
15911
15911
|
}
|
|
15912
15912
|
function buildNetworkSnapshot$11(luvio, config, options) {
|
|
15913
15913
|
const resourceParams = createResourceParams$Y(config);
|
|
15914
|
-
const request = createResourceRequest$
|
|
15914
|
+
const request = createResourceRequest$13(resourceParams);
|
|
15915
15915
|
return luvio.dispatchResourceRequest(request, options)
|
|
15916
15916
|
.then((response) => {
|
|
15917
15917
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$K(luvio, config, resourceParams, response), () => {
|
|
@@ -15940,7 +15940,7 @@ function buildCachedSnapshotCachePolicy$O(context, storeLookup) {
|
|
|
15940
15940
|
return cacheSnapshot;
|
|
15941
15941
|
}
|
|
15942
15942
|
const getLookupActionsAdapterFactory = (luvio) => function UiApi__getLookupActions(untrustedConfig, requestContext) {
|
|
15943
|
-
const config = validateAdapterConfig$
|
|
15943
|
+
const config = validateAdapterConfig$13(untrustedConfig, getLookupActions_ConfigPropertyNames);
|
|
15944
15944
|
// Invalid or incomplete config
|
|
15945
15945
|
if (config === null) {
|
|
15946
15946
|
return null;
|
|
@@ -15987,7 +15987,7 @@ function ingestError$H(luvio, params, error, snapshotRefresh) {
|
|
|
15987
15987
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
15988
15988
|
return errorSnapshot;
|
|
15989
15989
|
}
|
|
15990
|
-
function createResourceRequest$
|
|
15990
|
+
function createResourceRequest$12(config) {
|
|
15991
15991
|
const headers = {};
|
|
15992
15992
|
return {
|
|
15993
15993
|
baseUri: '/services/data/v63.0',
|
|
@@ -16001,25 +16001,25 @@ function createResourceRequest$11(config) {
|
|
|
16001
16001
|
};
|
|
16002
16002
|
}
|
|
16003
16003
|
|
|
16004
|
-
const adapterName$
|
|
16004
|
+
const adapterName$S = 'getObjectCreateActions';
|
|
16005
16005
|
const getObjectCreateActions_ConfigPropertyMetadata = [
|
|
16006
16006
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
|
|
16007
16007
|
generateParamConfigMetadata('actionTypes', false, 1 /* QueryParameter */, 0 /* String */, true),
|
|
16008
16008
|
generateParamConfigMetadata('formFactor', false, 1 /* QueryParameter */, 0 /* String */, false, coerceFormFactor),
|
|
16009
16009
|
generateParamConfigMetadata('sections', false, 1 /* QueryParameter */, 0 /* String */, true, toSortedStringArray),
|
|
16010
16010
|
];
|
|
16011
|
-
const getObjectCreateActions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
16011
|
+
const getObjectCreateActions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$S, getObjectCreateActions_ConfigPropertyMetadata);
|
|
16012
16012
|
const createResourceParams$X = /*#__PURE__*/ createResourceParams$16(getObjectCreateActions_ConfigPropertyMetadata);
|
|
16013
16013
|
function keyBuilder$30(luvio, config) {
|
|
16014
16014
|
const resourceParams = createResourceParams$X(config);
|
|
16015
16015
|
return keyBuilder$31(luvio, resourceParams);
|
|
16016
16016
|
}
|
|
16017
|
-
function typeCheckConfig
|
|
16017
|
+
function typeCheckConfig$$(untrustedConfig) {
|
|
16018
16018
|
const config = {};
|
|
16019
|
-
typeCheckConfig$
|
|
16019
|
+
typeCheckConfig$1a(untrustedConfig, config, getObjectCreateActions_ConfigPropertyMetadata);
|
|
16020
16020
|
return config;
|
|
16021
16021
|
}
|
|
16022
|
-
function validateAdapterConfig$
|
|
16022
|
+
function validateAdapterConfig$12(untrustedConfig, configPropertyNames) {
|
|
16023
16023
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
16024
16024
|
return null;
|
|
16025
16025
|
}
|
|
@@ -16027,7 +16027,7 @@ function validateAdapterConfig$14(untrustedConfig, configPropertyNames) {
|
|
|
16027
16027
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
16028
16028
|
}
|
|
16029
16029
|
const coercedConfig = coerceConfig$1(untrustedConfig, getObjectCreateActions_ConfigPropertyMetadata);
|
|
16030
|
-
const config = typeCheckConfig
|
|
16030
|
+
const config = typeCheckConfig$$(coercedConfig);
|
|
16031
16031
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
16032
16032
|
return null;
|
|
16033
16033
|
}
|
|
@@ -16053,7 +16053,7 @@ function onFetchResponseError$K(luvio, config, resourceParams, response) {
|
|
|
16053
16053
|
}
|
|
16054
16054
|
function buildNetworkSnapshot$10(luvio, config, options) {
|
|
16055
16055
|
const resourceParams = createResourceParams$X(config);
|
|
16056
|
-
const request = createResourceRequest$
|
|
16056
|
+
const request = createResourceRequest$12(resourceParams);
|
|
16057
16057
|
return luvio.dispatchResourceRequest(request, options)
|
|
16058
16058
|
.then((response) => {
|
|
16059
16059
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$J(luvio, config, resourceParams, response), () => {
|
|
@@ -16082,7 +16082,7 @@ function buildCachedSnapshotCachePolicy$N(context, storeLookup) {
|
|
|
16082
16082
|
return cacheSnapshot;
|
|
16083
16083
|
}
|
|
16084
16084
|
const getObjectCreateActionsAdapterFactory = (luvio) => function UiApi__getObjectCreateActions(untrustedConfig, requestContext) {
|
|
16085
|
-
const config = validateAdapterConfig$
|
|
16085
|
+
const config = validateAdapterConfig$12(untrustedConfig, getObjectCreateActions_ConfigPropertyNames);
|
|
16086
16086
|
// Invalid or incomplete config
|
|
16087
16087
|
if (config === null) {
|
|
16088
16088
|
return null;
|
|
@@ -16177,7 +16177,7 @@ function ingestError$G(luvio, params, error, snapshotRefresh) {
|
|
|
16177
16177
|
luvio.storeIngestError(key, errorSnapshot);
|
|
16178
16178
|
return errorSnapshot;
|
|
16179
16179
|
}
|
|
16180
|
-
function createResourceRequest$
|
|
16180
|
+
function createResourceRequest$11(config) {
|
|
16181
16181
|
const headers = {};
|
|
16182
16182
|
return {
|
|
16183
16183
|
baseUri: '/services/data/v63.0',
|
|
@@ -16191,24 +16191,24 @@ function createResourceRequest$10(config) {
|
|
|
16191
16191
|
};
|
|
16192
16192
|
}
|
|
16193
16193
|
|
|
16194
|
-
const adapterName$
|
|
16194
|
+
const adapterName$R = 'getActionOverrides';
|
|
16195
16195
|
const getActionOverrides_ConfigPropertyMetadata = [
|
|
16196
16196
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
|
|
16197
16197
|
generateParamConfigMetadata('defaultTemplateOnly', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
16198
16198
|
generateParamConfigMetadata('type', false, 1 /* QueryParameter */, 0 /* String */),
|
|
16199
16199
|
];
|
|
16200
|
-
const getActionOverrides_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
16200
|
+
const getActionOverrides_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$R, getActionOverrides_ConfigPropertyMetadata);
|
|
16201
16201
|
const createResourceParams$W = /*#__PURE__*/ createResourceParams$16(getActionOverrides_ConfigPropertyMetadata);
|
|
16202
16202
|
function keyBuilder$2_(luvio, config) {
|
|
16203
16203
|
const resourceParams = createResourceParams$W(config);
|
|
16204
16204
|
return keyBuilder$2$(luvio, resourceParams);
|
|
16205
16205
|
}
|
|
16206
|
-
function typeCheckConfig$
|
|
16206
|
+
function typeCheckConfig$_(untrustedConfig) {
|
|
16207
16207
|
const config = {};
|
|
16208
|
-
typeCheckConfig$
|
|
16208
|
+
typeCheckConfig$1a(untrustedConfig, config, getActionOverrides_ConfigPropertyMetadata);
|
|
16209
16209
|
return config;
|
|
16210
16210
|
}
|
|
16211
|
-
function validateAdapterConfig$
|
|
16211
|
+
function validateAdapterConfig$11(untrustedConfig, configPropertyNames) {
|
|
16212
16212
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
16213
16213
|
return null;
|
|
16214
16214
|
}
|
|
@@ -16216,7 +16216,7 @@ function validateAdapterConfig$13(untrustedConfig, configPropertyNames) {
|
|
|
16216
16216
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
16217
16217
|
}
|
|
16218
16218
|
const coercedConfig = coerceConfig$1(untrustedConfig, getActionOverrides_ConfigPropertyMetadata);
|
|
16219
|
-
const config = typeCheckConfig$
|
|
16219
|
+
const config = typeCheckConfig$_(coercedConfig);
|
|
16220
16220
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
16221
16221
|
return null;
|
|
16222
16222
|
}
|
|
@@ -16242,7 +16242,7 @@ function onFetchResponseError$J(luvio, config, resourceParams, response) {
|
|
|
16242
16242
|
}
|
|
16243
16243
|
function buildNetworkSnapshot$$(luvio, config, options) {
|
|
16244
16244
|
const resourceParams = createResourceParams$W(config);
|
|
16245
|
-
const request = createResourceRequest$
|
|
16245
|
+
const request = createResourceRequest$11(resourceParams);
|
|
16246
16246
|
return luvio.dispatchResourceRequest(request, options)
|
|
16247
16247
|
.then((response) => {
|
|
16248
16248
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$I(luvio, config, resourceParams, response), () => {
|
|
@@ -16271,7 +16271,7 @@ function buildCachedSnapshotCachePolicy$M(context, storeLookup) {
|
|
|
16271
16271
|
return cacheSnapshot;
|
|
16272
16272
|
}
|
|
16273
16273
|
const getActionOverridesAdapterFactory = (luvio) => function UiApi__getActionOverrides(untrustedConfig, requestContext) {
|
|
16274
|
-
const config = validateAdapterConfig$
|
|
16274
|
+
const config = validateAdapterConfig$11(untrustedConfig, getActionOverrides_ConfigPropertyNames);
|
|
16275
16275
|
// Invalid or incomplete config
|
|
16276
16276
|
if (config === null) {
|
|
16277
16277
|
return null;
|
|
@@ -16441,7 +16441,7 @@ function ingestError$F(luvio, params, error, snapshotRefresh) {
|
|
|
16441
16441
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
16442
16442
|
return errorSnapshot;
|
|
16443
16443
|
}
|
|
16444
|
-
function createResourceRequest
|
|
16444
|
+
function createResourceRequest$10(config) {
|
|
16445
16445
|
const headers = {};
|
|
16446
16446
|
return {
|
|
16447
16447
|
baseUri: '/services/data/v63.0',
|
|
@@ -16455,24 +16455,24 @@ function createResourceRequest$$(config) {
|
|
|
16455
16455
|
};
|
|
16456
16456
|
}
|
|
16457
16457
|
|
|
16458
|
-
const adapterName$
|
|
16458
|
+
const adapterName$Q = 'getFlexipageFormulaOverrides';
|
|
16459
16459
|
const getFlexipageFormulaOverrides_ConfigPropertyMetadata = [
|
|
16460
16460
|
generateParamConfigMetadata('actionFeature', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
|
|
16461
16461
|
generateParamConfigMetadata('application', false, 1 /* QueryParameter */, 0 /* String */, false, getObjectApiName$1),
|
|
16462
16462
|
generateParamConfigMetadata('objectApiNames', false, 1 /* QueryParameter */, 0 /* String */, true, toSortedStringArray),
|
|
16463
16463
|
];
|
|
16464
|
-
const getFlexipageFormulaOverrides_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
16464
|
+
const getFlexipageFormulaOverrides_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$Q, getFlexipageFormulaOverrides_ConfigPropertyMetadata);
|
|
16465
16465
|
const createResourceParams$V = /*#__PURE__*/ createResourceParams$16(getFlexipageFormulaOverrides_ConfigPropertyMetadata);
|
|
16466
16466
|
function keyBuilder$2Y(luvio, config) {
|
|
16467
16467
|
const resourceParams = createResourceParams$V(config);
|
|
16468
16468
|
return keyBuilder$2Z(luvio, resourceParams);
|
|
16469
16469
|
}
|
|
16470
|
-
function typeCheckConfig
|
|
16470
|
+
function typeCheckConfig$Z(untrustedConfig) {
|
|
16471
16471
|
const config = {};
|
|
16472
|
-
typeCheckConfig$
|
|
16472
|
+
typeCheckConfig$1a(untrustedConfig, config, getFlexipageFormulaOverrides_ConfigPropertyMetadata);
|
|
16473
16473
|
return config;
|
|
16474
16474
|
}
|
|
16475
|
-
function validateAdapterConfig$
|
|
16475
|
+
function validateAdapterConfig$10(untrustedConfig, configPropertyNames) {
|
|
16476
16476
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
16477
16477
|
return null;
|
|
16478
16478
|
}
|
|
@@ -16480,7 +16480,7 @@ function validateAdapterConfig$12(untrustedConfig, configPropertyNames) {
|
|
|
16480
16480
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
16481
16481
|
}
|
|
16482
16482
|
const coercedConfig = coerceConfig$1(untrustedConfig, getFlexipageFormulaOverrides_ConfigPropertyMetadata);
|
|
16483
|
-
const config = typeCheckConfig
|
|
16483
|
+
const config = typeCheckConfig$Z(coercedConfig);
|
|
16484
16484
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
16485
16485
|
return null;
|
|
16486
16486
|
}
|
|
@@ -16506,7 +16506,7 @@ function onFetchResponseError$I(luvio, config, resourceParams, response) {
|
|
|
16506
16506
|
}
|
|
16507
16507
|
function buildNetworkSnapshot$_(luvio, config, options) {
|
|
16508
16508
|
const resourceParams = createResourceParams$V(config);
|
|
16509
|
-
const request = createResourceRequest
|
|
16509
|
+
const request = createResourceRequest$10(resourceParams);
|
|
16510
16510
|
return luvio.dispatchResourceRequest(request, options)
|
|
16511
16511
|
.then((response) => {
|
|
16512
16512
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$H(luvio, config, resourceParams, response), () => {
|
|
@@ -16535,7 +16535,7 @@ function buildCachedSnapshotCachePolicy$L(context, storeLookup) {
|
|
|
16535
16535
|
return cacheSnapshot;
|
|
16536
16536
|
}
|
|
16537
16537
|
const getFlexipageFormulaOverridesAdapterFactory = (luvio) => function UiApi__getFlexipageFormulaOverrides(untrustedConfig, requestContext) {
|
|
16538
|
-
const config = validateAdapterConfig$
|
|
16538
|
+
const config = validateAdapterConfig$10(untrustedConfig, getFlexipageFormulaOverrides_ConfigPropertyNames);
|
|
16539
16539
|
// Invalid or incomplete config
|
|
16540
16540
|
if (config === null) {
|
|
16541
16541
|
return null;
|
|
@@ -17558,7 +17558,7 @@ function ingestError$E(luvio, params, error, snapshotRefresh) {
|
|
|
17558
17558
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
17559
17559
|
return errorSnapshot;
|
|
17560
17560
|
}
|
|
17561
|
-
function createResourceRequest
|
|
17561
|
+
function createResourceRequest$$(config) {
|
|
17562
17562
|
const headers = {};
|
|
17563
17563
|
return {
|
|
17564
17564
|
baseUri: '/services/data/v63.0',
|
|
@@ -17572,23 +17572,23 @@ function createResourceRequest$_(config) {
|
|
|
17572
17572
|
};
|
|
17573
17573
|
}
|
|
17574
17574
|
|
|
17575
|
-
const adapterName$
|
|
17575
|
+
const adapterName$P = 'getQuickActionInfo';
|
|
17576
17576
|
const getQuickActionInfo_ConfigPropertyMetadata = [
|
|
17577
17577
|
generateParamConfigMetadata('actionApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
|
|
17578
17578
|
generateParamConfigMetadata('parentRecordId', false, 1 /* QueryParameter */, 0 /* String */, false, getRecordId18),
|
|
17579
17579
|
];
|
|
17580
|
-
const getQuickActionInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
17580
|
+
const getQuickActionInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$P, getQuickActionInfo_ConfigPropertyMetadata);
|
|
17581
17581
|
const createResourceParams$U = /*#__PURE__*/ createResourceParams$16(getQuickActionInfo_ConfigPropertyMetadata);
|
|
17582
17582
|
function keyBuilder$2V(luvio, config) {
|
|
17583
17583
|
const resourceParams = createResourceParams$U(config);
|
|
17584
17584
|
return keyBuilder$2W(luvio, resourceParams);
|
|
17585
17585
|
}
|
|
17586
|
-
function typeCheckConfig$
|
|
17586
|
+
function typeCheckConfig$Y(untrustedConfig) {
|
|
17587
17587
|
const config = {};
|
|
17588
|
-
typeCheckConfig$
|
|
17588
|
+
typeCheckConfig$1a(untrustedConfig, config, getQuickActionInfo_ConfigPropertyMetadata);
|
|
17589
17589
|
return config;
|
|
17590
17590
|
}
|
|
17591
|
-
function validateAdapterConfig
|
|
17591
|
+
function validateAdapterConfig$$(untrustedConfig, configPropertyNames) {
|
|
17592
17592
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
17593
17593
|
return null;
|
|
17594
17594
|
}
|
|
@@ -17596,7 +17596,7 @@ function validateAdapterConfig$11(untrustedConfig, configPropertyNames) {
|
|
|
17596
17596
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
17597
17597
|
}
|
|
17598
17598
|
const coercedConfig = coerceConfig$1(untrustedConfig, getQuickActionInfo_ConfigPropertyMetadata);
|
|
17599
|
-
const config = typeCheckConfig$
|
|
17599
|
+
const config = typeCheckConfig$Y(coercedConfig);
|
|
17600
17600
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
17601
17601
|
return null;
|
|
17602
17602
|
}
|
|
@@ -17622,7 +17622,7 @@ function onFetchResponseError$H(luvio, config, resourceParams, response) {
|
|
|
17622
17622
|
}
|
|
17623
17623
|
function buildNetworkSnapshot$Z(luvio, config, options) {
|
|
17624
17624
|
const resourceParams = createResourceParams$U(config);
|
|
17625
|
-
const request = createResourceRequest
|
|
17625
|
+
const request = createResourceRequest$$(resourceParams);
|
|
17626
17626
|
return luvio.dispatchResourceRequest(request, options)
|
|
17627
17627
|
.then((response) => {
|
|
17628
17628
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$G(luvio, config, resourceParams, response), () => {
|
|
@@ -17651,7 +17651,7 @@ function buildCachedSnapshotCachePolicy$K(context, storeLookup) {
|
|
|
17651
17651
|
return cacheSnapshot;
|
|
17652
17652
|
}
|
|
17653
17653
|
const getQuickActionInfoAdapterFactory = (luvio) => function UiApi__getQuickActionInfo(untrustedConfig, requestContext) {
|
|
17654
|
-
const config = validateAdapterConfig
|
|
17654
|
+
const config = validateAdapterConfig$$(untrustedConfig, getQuickActionInfo_ConfigPropertyNames);
|
|
17655
17655
|
// Invalid or incomplete config
|
|
17656
17656
|
if (config === null) {
|
|
17657
17657
|
return null;
|
|
@@ -17769,7 +17769,7 @@ function ingestError$D(luvio, params, error, snapshotRefresh) {
|
|
|
17769
17769
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
17770
17770
|
return errorSnapshot;
|
|
17771
17771
|
}
|
|
17772
|
-
function createResourceRequest$
|
|
17772
|
+
function createResourceRequest$_(config) {
|
|
17773
17773
|
const headers = {};
|
|
17774
17774
|
return {
|
|
17775
17775
|
baseUri: '/services/data/v63.0',
|
|
@@ -17789,7 +17789,7 @@ function adapterFragment$C(luvio, config) {
|
|
|
17789
17789
|
}
|
|
17790
17790
|
function buildNetworkSnapshot$Y(luvio, config, options) {
|
|
17791
17791
|
const resourceParams = createResourceParams$T(config);
|
|
17792
|
-
const request = createResourceRequest$
|
|
17792
|
+
const request = createResourceRequest$_(resourceParams);
|
|
17793
17793
|
const key = keyBuilder$2T(luvio, config);
|
|
17794
17794
|
const trackedFieldsConfig = {
|
|
17795
17795
|
maxDepth: configurationForRestAdapters.getTrackedFieldDepthOnCacheMiss(),
|
|
@@ -17825,24 +17825,24 @@ function buildNetworkSnapshot$Y(luvio, config, options) {
|
|
|
17825
17825
|
});
|
|
17826
17826
|
}
|
|
17827
17827
|
|
|
17828
|
-
const adapterName$
|
|
17828
|
+
const adapterName$O = 'getQuickActionDefaults';
|
|
17829
17829
|
const getQuickActionDefaults_ConfigPropertyMetadata = [
|
|
17830
17830
|
generateParamConfigMetadata('actionApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
|
|
17831
17831
|
generateParamConfigMetadata('optionalFields', false, 1 /* QueryParameter */, 0 /* String */, true, getFieldApiNamesArray),
|
|
17832
17832
|
generateParamConfigMetadata('parentRecordId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
17833
17833
|
];
|
|
17834
|
-
const getQuickActionDefaults_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
17834
|
+
const getQuickActionDefaults_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$O, getQuickActionDefaults_ConfigPropertyMetadata);
|
|
17835
17835
|
const createResourceParams$T = /*#__PURE__*/ createResourceParams$16(getQuickActionDefaults_ConfigPropertyMetadata);
|
|
17836
17836
|
function keyBuilder$2T(luvio, config) {
|
|
17837
17837
|
const resourceParams = createResourceParams$T(config);
|
|
17838
17838
|
return keyBuilder$2U(luvio, resourceParams);
|
|
17839
17839
|
}
|
|
17840
|
-
function typeCheckConfig$
|
|
17840
|
+
function typeCheckConfig$X(untrustedConfig) {
|
|
17841
17841
|
const config = {};
|
|
17842
|
-
typeCheckConfig$
|
|
17842
|
+
typeCheckConfig$1a(untrustedConfig, config, getQuickActionDefaults_ConfigPropertyMetadata);
|
|
17843
17843
|
return config;
|
|
17844
17844
|
}
|
|
17845
|
-
function validateAdapterConfig$
|
|
17845
|
+
function validateAdapterConfig$_(untrustedConfig, configPropertyNames) {
|
|
17846
17846
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
17847
17847
|
return null;
|
|
17848
17848
|
}
|
|
@@ -17850,7 +17850,7 @@ function validateAdapterConfig$10(untrustedConfig, configPropertyNames) {
|
|
|
17850
17850
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
17851
17851
|
}
|
|
17852
17852
|
const coercedConfig = coerceConfig$1(untrustedConfig, getQuickActionDefaults_ConfigPropertyMetadata);
|
|
17853
|
-
const config = typeCheckConfig$
|
|
17853
|
+
const config = typeCheckConfig$X(coercedConfig);
|
|
17854
17854
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
17855
17855
|
return null;
|
|
17856
17856
|
}
|
|
@@ -17891,7 +17891,7 @@ function buildCachedSnapshotCachePolicy$J(context, storeLookup) {
|
|
|
17891
17891
|
return cacheSnapshot;
|
|
17892
17892
|
}
|
|
17893
17893
|
const getQuickActionDefaultsAdapterFactory = (luvio) => function UiApi__getQuickActionDefaults(untrustedConfig, requestContext) {
|
|
17894
|
-
const config = validateAdapterConfig$
|
|
17894
|
+
const config = validateAdapterConfig$_(untrustedConfig, getQuickActionDefaults_ConfigPropertyNames);
|
|
17895
17895
|
// Invalid or incomplete config
|
|
17896
17896
|
if (config === null) {
|
|
17897
17897
|
return null;
|
|
@@ -17938,7 +17938,7 @@ function ingestError$C(luvio, params, error, snapshotRefresh) {
|
|
|
17938
17938
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
17939
17939
|
return errorSnapshot;
|
|
17940
17940
|
}
|
|
17941
|
-
function createResourceRequest$
|
|
17941
|
+
function createResourceRequest$Z(config) {
|
|
17942
17942
|
const headers = {};
|
|
17943
17943
|
return {
|
|
17944
17944
|
baseUri: '/services/data/v63.0',
|
|
@@ -17952,7 +17952,7 @@ function createResourceRequest$Y(config) {
|
|
|
17952
17952
|
};
|
|
17953
17953
|
}
|
|
17954
17954
|
|
|
17955
|
-
const adapterName$
|
|
17955
|
+
const adapterName$N = 'getRecordActions';
|
|
17956
17956
|
const oneOfConfigPropertiesIdentifier = [
|
|
17957
17957
|
'sections',
|
|
17958
17958
|
'apiNames'
|
|
@@ -17965,18 +17965,18 @@ const getRecordActions_ConfigPropertyMetadata = [
|
|
|
17965
17965
|
generateParamConfigMetadata('retrievalMode', false, 1 /* QueryParameter */, 0 /* String */),
|
|
17966
17966
|
generateParamConfigMetadata('sections', false, 1 /* QueryParameter */, 0 /* String */, true, toSortedStringArray),
|
|
17967
17967
|
];
|
|
17968
|
-
const getRecordActions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
17968
|
+
const getRecordActions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$N, getRecordActions_ConfigPropertyMetadata);
|
|
17969
17969
|
const createResourceParams$S = /*#__PURE__*/ createResourceParams$16(getRecordActions_ConfigPropertyMetadata);
|
|
17970
17970
|
function keyBuilder$2R(luvio, config) {
|
|
17971
17971
|
const resourceParams = createResourceParams$S(config);
|
|
17972
17972
|
return keyBuilder$2S(luvio, resourceParams);
|
|
17973
17973
|
}
|
|
17974
|
-
function typeCheckConfig$
|
|
17974
|
+
function typeCheckConfig$W(untrustedConfig) {
|
|
17975
17975
|
const config = {};
|
|
17976
|
-
typeCheckConfig$
|
|
17976
|
+
typeCheckConfig$1a(untrustedConfig, config, getRecordActions_ConfigPropertyMetadata);
|
|
17977
17977
|
return config;
|
|
17978
17978
|
}
|
|
17979
|
-
function validateAdapterConfig
|
|
17979
|
+
function validateAdapterConfig$Z(untrustedConfig, configPropertyNames) {
|
|
17980
17980
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
17981
17981
|
return null;
|
|
17982
17982
|
}
|
|
@@ -17984,7 +17984,7 @@ function validateAdapterConfig$$(untrustedConfig, configPropertyNames) {
|
|
|
17984
17984
|
validateConfig(untrustedConfig, configPropertyNames, oneOfConfigPropertiesIdentifier);
|
|
17985
17985
|
}
|
|
17986
17986
|
const coercedConfig = coerceConfig$1(untrustedConfig, getRecordActions_ConfigPropertyMetadata);
|
|
17987
|
-
const config = typeCheckConfig$
|
|
17987
|
+
const config = typeCheckConfig$W(coercedConfig);
|
|
17988
17988
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
17989
17989
|
return null;
|
|
17990
17990
|
}
|
|
@@ -18014,7 +18014,7 @@ function onFetchResponseError$F(luvio, config, resourceParams, response) {
|
|
|
18014
18014
|
}
|
|
18015
18015
|
function buildNetworkSnapshot$X(luvio, config, options) {
|
|
18016
18016
|
const resourceParams = createResourceParams$S(config);
|
|
18017
|
-
const request = createResourceRequest$
|
|
18017
|
+
const request = createResourceRequest$Z(resourceParams);
|
|
18018
18018
|
return luvio.dispatchResourceRequest(request, options)
|
|
18019
18019
|
.then((response) => {
|
|
18020
18020
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$F(luvio, config, resourceParams, response), () => {
|
|
@@ -18043,7 +18043,7 @@ function buildCachedSnapshotCachePolicy$I(context, storeLookup) {
|
|
|
18043
18043
|
return cacheSnapshot;
|
|
18044
18044
|
}
|
|
18045
18045
|
const getRecordActionsAdapterFactory = (luvio) => function UiApi__getRecordActions(untrustedConfig, requestContext) {
|
|
18046
|
-
const config = validateAdapterConfig
|
|
18046
|
+
const config = validateAdapterConfig$Z(untrustedConfig, getRecordActions_ConfigPropertyNames);
|
|
18047
18047
|
// Invalid or incomplete config
|
|
18048
18048
|
if (config === null) {
|
|
18049
18049
|
return null;
|
|
@@ -18090,7 +18090,7 @@ function ingestError$B(luvio, params, error, snapshotRefresh) {
|
|
|
18090
18090
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
18091
18091
|
return errorSnapshot;
|
|
18092
18092
|
}
|
|
18093
|
-
function createResourceRequest$
|
|
18093
|
+
function createResourceRequest$Y(config) {
|
|
18094
18094
|
const headers = {};
|
|
18095
18095
|
return {
|
|
18096
18096
|
baseUri: '/services/data/v63.0',
|
|
@@ -18104,25 +18104,25 @@ function createResourceRequest$X(config) {
|
|
|
18104
18104
|
};
|
|
18105
18105
|
}
|
|
18106
18106
|
|
|
18107
|
-
const adapterName$
|
|
18107
|
+
const adapterName$M = 'getRecordEditActions';
|
|
18108
18108
|
const getRecordEditActions_ConfigPropertyMetadata = [
|
|
18109
18109
|
generateParamConfigMetadata('recordIds', true, 0 /* UrlParameter */, 0 /* String */, true, getRecordId18Array),
|
|
18110
18110
|
generateParamConfigMetadata('actionTypes', false, 1 /* QueryParameter */, 0 /* String */, true),
|
|
18111
18111
|
generateParamConfigMetadata('formFactor', false, 1 /* QueryParameter */, 0 /* String */, false, coerceFormFactor),
|
|
18112
18112
|
generateParamConfigMetadata('sections', false, 1 /* QueryParameter */, 0 /* String */, true, toSortedStringArray),
|
|
18113
18113
|
];
|
|
18114
|
-
const getRecordEditActions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
18114
|
+
const getRecordEditActions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$M, getRecordEditActions_ConfigPropertyMetadata);
|
|
18115
18115
|
const createResourceParams$R = /*#__PURE__*/ createResourceParams$16(getRecordEditActions_ConfigPropertyMetadata);
|
|
18116
18116
|
function keyBuilder$2P(luvio, config) {
|
|
18117
18117
|
const resourceParams = createResourceParams$R(config);
|
|
18118
18118
|
return keyBuilder$2Q(luvio, resourceParams);
|
|
18119
18119
|
}
|
|
18120
|
-
function typeCheckConfig$
|
|
18120
|
+
function typeCheckConfig$V(untrustedConfig) {
|
|
18121
18121
|
const config = {};
|
|
18122
|
-
typeCheckConfig$
|
|
18122
|
+
typeCheckConfig$1a(untrustedConfig, config, getRecordEditActions_ConfigPropertyMetadata);
|
|
18123
18123
|
return config;
|
|
18124
18124
|
}
|
|
18125
|
-
function validateAdapterConfig$
|
|
18125
|
+
function validateAdapterConfig$Y(untrustedConfig, configPropertyNames) {
|
|
18126
18126
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
18127
18127
|
return null;
|
|
18128
18128
|
}
|
|
@@ -18130,7 +18130,7 @@ function validateAdapterConfig$_(untrustedConfig, configPropertyNames) {
|
|
|
18130
18130
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
18131
18131
|
}
|
|
18132
18132
|
const coercedConfig = coerceConfig$1(untrustedConfig, getRecordEditActions_ConfigPropertyMetadata);
|
|
18133
|
-
const config = typeCheckConfig$
|
|
18133
|
+
const config = typeCheckConfig$V(coercedConfig);
|
|
18134
18134
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
18135
18135
|
return null;
|
|
18136
18136
|
}
|
|
@@ -18156,7 +18156,7 @@ function onFetchResponseError$E(luvio, config, resourceParams, response) {
|
|
|
18156
18156
|
}
|
|
18157
18157
|
function buildNetworkSnapshot$W(luvio, config, options) {
|
|
18158
18158
|
const resourceParams = createResourceParams$R(config);
|
|
18159
|
-
const request = createResourceRequest$
|
|
18159
|
+
const request = createResourceRequest$Y(resourceParams);
|
|
18160
18160
|
return luvio.dispatchResourceRequest(request, options)
|
|
18161
18161
|
.then((response) => {
|
|
18162
18162
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$E(luvio, config, resourceParams, response), () => {
|
|
@@ -18185,7 +18185,7 @@ function buildCachedSnapshotCachePolicy$H(context, storeLookup) {
|
|
|
18185
18185
|
return cacheSnapshot;
|
|
18186
18186
|
}
|
|
18187
18187
|
const getRecordEditActionsAdapterFactory = (luvio) => function UiApi__getRecordEditActions(untrustedConfig, requestContext) {
|
|
18188
|
-
const config = validateAdapterConfig$
|
|
18188
|
+
const config = validateAdapterConfig$Y(untrustedConfig, getRecordEditActions_ConfigPropertyNames);
|
|
18189
18189
|
// Invalid or incomplete config
|
|
18190
18190
|
if (config === null) {
|
|
18191
18191
|
return null;
|
|
@@ -18302,7 +18302,7 @@ function ingestError$A(luvio, params, error, snapshotRefresh) {
|
|
|
18302
18302
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
18303
18303
|
return errorSnapshot;
|
|
18304
18304
|
}
|
|
18305
|
-
function createResourceRequest$
|
|
18305
|
+
function createResourceRequest$X(config) {
|
|
18306
18306
|
const headers = {};
|
|
18307
18307
|
return {
|
|
18308
18308
|
baseUri: '/services/data/v63.0',
|
|
@@ -18587,7 +18587,7 @@ function ingestError$z(luvio, params, error, snapshotRefresh) {
|
|
|
18587
18587
|
luvio.storeIngestError(key, errorSnapshot);
|
|
18588
18588
|
return errorSnapshot;
|
|
18589
18589
|
}
|
|
18590
|
-
function createResourceRequest$
|
|
18590
|
+
function createResourceRequest$W(config) {
|
|
18591
18591
|
const headers = {};
|
|
18592
18592
|
return {
|
|
18593
18593
|
baseUri: '/services/data/v63.0',
|
|
@@ -18601,20 +18601,20 @@ function createResourceRequest$V(config) {
|
|
|
18601
18601
|
};
|
|
18602
18602
|
}
|
|
18603
18603
|
|
|
18604
|
-
const adapterName$
|
|
18604
|
+
const adapterName$L = 'getRelatedListsActions';
|
|
18605
18605
|
const getRelatedListsActions_ConfigPropertyMetadata = [
|
|
18606
18606
|
generateParamConfigMetadata('recordIds', true, 0 /* UrlParameter */, 0 /* String */, true, getRecordId18Array),
|
|
18607
18607
|
generateParamConfigMetadata('relatedListsActionParameters', true, 2 /* Body */, 4 /* Unsupported */, true),
|
|
18608
18608
|
];
|
|
18609
|
-
const getRelatedListsActions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
18609
|
+
const getRelatedListsActions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$L, getRelatedListsActions_ConfigPropertyMetadata);
|
|
18610
18610
|
const createResourceParams$Q = /*#__PURE__*/ createResourceParams$16(getRelatedListsActions_ConfigPropertyMetadata);
|
|
18611
18611
|
function keyBuilder$2M(luvio, config) {
|
|
18612
18612
|
const resourceParams = createResourceParams$Q(config);
|
|
18613
18613
|
return keyBuilder$2N(luvio, resourceParams);
|
|
18614
18614
|
}
|
|
18615
|
-
function typeCheckConfig$
|
|
18615
|
+
function typeCheckConfig$U(untrustedConfig) {
|
|
18616
18616
|
const config = {};
|
|
18617
|
-
typeCheckConfig$
|
|
18617
|
+
typeCheckConfig$1a(untrustedConfig, config, getRelatedListsActions_ConfigPropertyMetadata);
|
|
18618
18618
|
const untrustedConfig_relatedListsActionParameters = untrustedConfig.relatedListsActionParameters;
|
|
18619
18619
|
if (ArrayIsArray$1(untrustedConfig_relatedListsActionParameters)) {
|
|
18620
18620
|
const untrustedConfig_relatedListsActionParameters_array = [];
|
|
@@ -18629,7 +18629,7 @@ function typeCheckConfig$W(untrustedConfig) {
|
|
|
18629
18629
|
}
|
|
18630
18630
|
return config;
|
|
18631
18631
|
}
|
|
18632
|
-
function validateAdapterConfig$
|
|
18632
|
+
function validateAdapterConfig$X(untrustedConfig, configPropertyNames) {
|
|
18633
18633
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
18634
18634
|
return null;
|
|
18635
18635
|
}
|
|
@@ -18637,7 +18637,7 @@ function validateAdapterConfig$Z(untrustedConfig, configPropertyNames) {
|
|
|
18637
18637
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
18638
18638
|
}
|
|
18639
18639
|
const coercedConfig = coerceConfig$1(untrustedConfig, getRelatedListsActions_ConfigPropertyMetadata);
|
|
18640
|
-
const config = typeCheckConfig$
|
|
18640
|
+
const config = typeCheckConfig$U(coercedConfig);
|
|
18641
18641
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
18642
18642
|
return null;
|
|
18643
18643
|
}
|
|
@@ -18663,7 +18663,7 @@ function onFetchResponseError$D(luvio, config, resourceParams, response) {
|
|
|
18663
18663
|
}
|
|
18664
18664
|
function buildNetworkSnapshot$V(luvio, config, options) {
|
|
18665
18665
|
const resourceParams = createResourceParams$Q(config);
|
|
18666
|
-
const request = createResourceRequest$
|
|
18666
|
+
const request = createResourceRequest$W(resourceParams);
|
|
18667
18667
|
return luvio.dispatchResourceRequest(request, options)
|
|
18668
18668
|
.then((response) => {
|
|
18669
18669
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$D(luvio, config, resourceParams, response), () => {
|
|
@@ -18692,7 +18692,7 @@ function buildCachedSnapshotCachePolicy$G(context, storeLookup) {
|
|
|
18692
18692
|
return cacheSnapshot;
|
|
18693
18693
|
}
|
|
18694
18694
|
const getRelatedListsActionsAdapterFactory = (luvio) => function UiApi__getRelatedListsActions(untrustedConfig, requestContext) {
|
|
18695
|
-
const config = validateAdapterConfig$
|
|
18695
|
+
const config = validateAdapterConfig$X(untrustedConfig, getRelatedListsActions_ConfigPropertyNames);
|
|
18696
18696
|
// Invalid or incomplete config
|
|
18697
18697
|
if (config === null) {
|
|
18698
18698
|
return null;
|
|
@@ -18701,7 +18701,7 @@ const getRelatedListsActionsAdapterFactory = (luvio) => function UiApi__getRelat
|
|
|
18701
18701
|
buildCachedSnapshotCachePolicy$G, buildNetworkSnapshotCachePolicy$H);
|
|
18702
18702
|
};
|
|
18703
18703
|
|
|
18704
|
-
const adapterName$
|
|
18704
|
+
const adapterName$K = 'getRelatedListActions';
|
|
18705
18705
|
const getRelatedListActions_ConfigPropertyMetadata = [
|
|
18706
18706
|
generateParamConfigMetadata('recordIds', true, 0 /* UrlParameter */, 0 /* String */, true, getRecordId18Array),
|
|
18707
18707
|
generateParamConfigMetadata('relatedListId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
@@ -18711,18 +18711,18 @@ const getRelatedListActions_ConfigPropertyMetadata = [
|
|
|
18711
18711
|
generateParamConfigMetadata('retrievalMode', false, 2 /* Body */, 0 /* String */),
|
|
18712
18712
|
generateParamConfigMetadata('sections', false, 2 /* Body */, 0 /* String */, true, toSortedStringArray),
|
|
18713
18713
|
];
|
|
18714
|
-
const getRelatedListActions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
18714
|
+
const getRelatedListActions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$K, getRelatedListActions_ConfigPropertyMetadata);
|
|
18715
18715
|
const createResourceParams$P = /*#__PURE__*/ createResourceParams$16(getRelatedListActions_ConfigPropertyMetadata);
|
|
18716
18716
|
function keyBuilder$2L(luvio, config) {
|
|
18717
18717
|
const resourceParams = createResourceParams$P(config);
|
|
18718
18718
|
return keyBuilder$2O(luvio, resourceParams);
|
|
18719
18719
|
}
|
|
18720
|
-
function typeCheckConfig$
|
|
18720
|
+
function typeCheckConfig$T(untrustedConfig) {
|
|
18721
18721
|
const config = {};
|
|
18722
|
-
typeCheckConfig$
|
|
18722
|
+
typeCheckConfig$1a(untrustedConfig, config, getRelatedListActions_ConfigPropertyMetadata);
|
|
18723
18723
|
return config;
|
|
18724
18724
|
}
|
|
18725
|
-
function validateAdapterConfig$
|
|
18725
|
+
function validateAdapterConfig$W(untrustedConfig, configPropertyNames) {
|
|
18726
18726
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
18727
18727
|
return null;
|
|
18728
18728
|
}
|
|
@@ -18730,7 +18730,7 @@ function validateAdapterConfig$Y(untrustedConfig, configPropertyNames) {
|
|
|
18730
18730
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
18731
18731
|
}
|
|
18732
18732
|
const coercedConfig = coerceConfig$1(untrustedConfig, getRelatedListActions_ConfigPropertyMetadata);
|
|
18733
|
-
const config = typeCheckConfig$
|
|
18733
|
+
const config = typeCheckConfig$T(coercedConfig);
|
|
18734
18734
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
18735
18735
|
return null;
|
|
18736
18736
|
}
|
|
@@ -18756,7 +18756,7 @@ function onFetchResponseError$C(luvio, config, resourceParams, response) {
|
|
|
18756
18756
|
}
|
|
18757
18757
|
function buildNetworkSnapshot$U(luvio, config, options) {
|
|
18758
18758
|
const resourceParams = createResourceParams$P(config);
|
|
18759
|
-
const request = createResourceRequest$
|
|
18759
|
+
const request = createResourceRequest$X(resourceParams);
|
|
18760
18760
|
return luvio.dispatchResourceRequest(request, options)
|
|
18761
18761
|
.then((response) => {
|
|
18762
18762
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$C(luvio, config, resourceParams, response), () => {
|
|
@@ -18785,7 +18785,7 @@ function buildCachedSnapshotCachePolicy$F(context, storeLookup) {
|
|
|
18785
18785
|
return cacheSnapshot;
|
|
18786
18786
|
}
|
|
18787
18787
|
const getRelatedListActionsAdapterFactory = (luvio) => function UiApi__getRelatedListActions(untrustedConfig, requestContext) {
|
|
18788
|
-
const config = validateAdapterConfig$
|
|
18788
|
+
const config = validateAdapterConfig$W(untrustedConfig, getRelatedListActions_ConfigPropertyNames);
|
|
18789
18789
|
// Invalid or incomplete config
|
|
18790
18790
|
if (config === null) {
|
|
18791
18791
|
return null;
|
|
@@ -18832,7 +18832,7 @@ function ingestError$y(luvio, params, error, snapshotRefresh) {
|
|
|
18832
18832
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
18833
18833
|
return errorSnapshot;
|
|
18834
18834
|
}
|
|
18835
|
-
function createResourceRequest$
|
|
18835
|
+
function createResourceRequest$V(config) {
|
|
18836
18836
|
const headers = {};
|
|
18837
18837
|
return {
|
|
18838
18838
|
baseUri: '/services/data/v63.0',
|
|
@@ -18846,7 +18846,7 @@ function createResourceRequest$U(config) {
|
|
|
18846
18846
|
};
|
|
18847
18847
|
}
|
|
18848
18848
|
|
|
18849
|
-
const adapterName$
|
|
18849
|
+
const adapterName$J = 'getRelatedListRecordActions';
|
|
18850
18850
|
const getRelatedListRecordActions_ConfigPropertyMetadata = [
|
|
18851
18851
|
generateParamConfigMetadata('recordIds', true, 0 /* UrlParameter */, 0 /* String */, true, getRecordId18Array),
|
|
18852
18852
|
generateParamConfigMetadata('relatedListRecordIds', true, 0 /* UrlParameter */, 0 /* String */, true, getRecordId18Array),
|
|
@@ -18854,18 +18854,18 @@ const getRelatedListRecordActions_ConfigPropertyMetadata = [
|
|
|
18854
18854
|
generateParamConfigMetadata('formFactor', false, 1 /* QueryParameter */, 0 /* String */, false, coerceFormFactor),
|
|
18855
18855
|
generateParamConfigMetadata('sections', false, 1 /* QueryParameter */, 0 /* String */, true, toSortedStringArray),
|
|
18856
18856
|
];
|
|
18857
|
-
const getRelatedListRecordActions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
18857
|
+
const getRelatedListRecordActions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$J, getRelatedListRecordActions_ConfigPropertyMetadata);
|
|
18858
18858
|
const createResourceParams$O = /*#__PURE__*/ createResourceParams$16(getRelatedListRecordActions_ConfigPropertyMetadata);
|
|
18859
18859
|
function keyBuilder$2J(luvio, config) {
|
|
18860
18860
|
const resourceParams = createResourceParams$O(config);
|
|
18861
18861
|
return keyBuilder$2K(luvio, resourceParams);
|
|
18862
18862
|
}
|
|
18863
|
-
function typeCheckConfig$
|
|
18863
|
+
function typeCheckConfig$S(untrustedConfig) {
|
|
18864
18864
|
const config = {};
|
|
18865
|
-
typeCheckConfig$
|
|
18865
|
+
typeCheckConfig$1a(untrustedConfig, config, getRelatedListRecordActions_ConfigPropertyMetadata);
|
|
18866
18866
|
return config;
|
|
18867
18867
|
}
|
|
18868
|
-
function validateAdapterConfig$
|
|
18868
|
+
function validateAdapterConfig$V(untrustedConfig, configPropertyNames) {
|
|
18869
18869
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
18870
18870
|
return null;
|
|
18871
18871
|
}
|
|
@@ -18873,7 +18873,7 @@ function validateAdapterConfig$X(untrustedConfig, configPropertyNames) {
|
|
|
18873
18873
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
18874
18874
|
}
|
|
18875
18875
|
const coercedConfig = coerceConfig$1(untrustedConfig, getRelatedListRecordActions_ConfigPropertyMetadata);
|
|
18876
|
-
const config = typeCheckConfig$
|
|
18876
|
+
const config = typeCheckConfig$S(coercedConfig);
|
|
18877
18877
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
18878
18878
|
return null;
|
|
18879
18879
|
}
|
|
@@ -18899,7 +18899,7 @@ function onFetchResponseError$B(luvio, config, resourceParams, response) {
|
|
|
18899
18899
|
}
|
|
18900
18900
|
function buildNetworkSnapshot$T(luvio, config, options) {
|
|
18901
18901
|
const resourceParams = createResourceParams$O(config);
|
|
18902
|
-
const request = createResourceRequest$
|
|
18902
|
+
const request = createResourceRequest$V(resourceParams);
|
|
18903
18903
|
return luvio.dispatchResourceRequest(request, options)
|
|
18904
18904
|
.then((response) => {
|
|
18905
18905
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$B(luvio, config, resourceParams, response), () => {
|
|
@@ -18928,7 +18928,7 @@ function buildCachedSnapshotCachePolicy$E(context, storeLookup) {
|
|
|
18928
18928
|
return cacheSnapshot;
|
|
18929
18929
|
}
|
|
18930
18930
|
const getRelatedListRecordActionsAdapterFactory = (luvio) => function UiApi__getRelatedListRecordActions(untrustedConfig, requestContext) {
|
|
18931
|
-
const config = validateAdapterConfig$
|
|
18931
|
+
const config = validateAdapterConfig$V(untrustedConfig, getRelatedListRecordActions_ConfigPropertyNames);
|
|
18932
18932
|
// Invalid or incomplete config
|
|
18933
18933
|
if (config === null) {
|
|
18934
18934
|
return null;
|
|
@@ -20089,7 +20089,7 @@ function ingestError$x(luvio, params, error, snapshotRefresh) {
|
|
|
20089
20089
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
20090
20090
|
return errorSnapshot;
|
|
20091
20091
|
}
|
|
20092
|
-
function createResourceRequest$
|
|
20092
|
+
function createResourceRequest$U(config) {
|
|
20093
20093
|
const headers = {};
|
|
20094
20094
|
return {
|
|
20095
20095
|
baseUri: '/services/data/v63.0',
|
|
@@ -20103,23 +20103,23 @@ function createResourceRequest$T(config) {
|
|
|
20103
20103
|
};
|
|
20104
20104
|
}
|
|
20105
20105
|
|
|
20106
|
-
const adapterName$
|
|
20106
|
+
const adapterName$I = 'getAllApps';
|
|
20107
20107
|
const getAllApps_ConfigPropertyMetadata = [
|
|
20108
20108
|
generateParamConfigMetadata('formFactor', false, 1 /* QueryParameter */, 0 /* String */, false, coerceFormFactor),
|
|
20109
20109
|
generateParamConfigMetadata('userCustomizations', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
20110
20110
|
];
|
|
20111
|
-
const getAllApps_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
20111
|
+
const getAllApps_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$I, getAllApps_ConfigPropertyMetadata);
|
|
20112
20112
|
const createResourceParams$N = /*#__PURE__*/ createResourceParams$16(getAllApps_ConfigPropertyMetadata);
|
|
20113
20113
|
function keyBuilder$2F(luvio, config) {
|
|
20114
20114
|
const resourceParams = createResourceParams$N(config);
|
|
20115
20115
|
return keyBuilder$2G(luvio, resourceParams);
|
|
20116
20116
|
}
|
|
20117
|
-
function typeCheckConfig$
|
|
20117
|
+
function typeCheckConfig$R(untrustedConfig) {
|
|
20118
20118
|
const config = {};
|
|
20119
|
-
typeCheckConfig$
|
|
20119
|
+
typeCheckConfig$1a(untrustedConfig, config, getAllApps_ConfigPropertyMetadata);
|
|
20120
20120
|
return config;
|
|
20121
20121
|
}
|
|
20122
|
-
function validateAdapterConfig$
|
|
20122
|
+
function validateAdapterConfig$U(untrustedConfig, configPropertyNames) {
|
|
20123
20123
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
20124
20124
|
return null;
|
|
20125
20125
|
}
|
|
@@ -20127,7 +20127,7 @@ function validateAdapterConfig$W(untrustedConfig, configPropertyNames) {
|
|
|
20127
20127
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
20128
20128
|
}
|
|
20129
20129
|
const coercedConfig = coerceConfig$1(untrustedConfig, getAllApps_ConfigPropertyMetadata);
|
|
20130
|
-
const config = typeCheckConfig$
|
|
20130
|
+
const config = typeCheckConfig$R(coercedConfig);
|
|
20131
20131
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
20132
20132
|
return null;
|
|
20133
20133
|
}
|
|
@@ -20153,7 +20153,7 @@ function onFetchResponseError$A(luvio, config, resourceParams, response) {
|
|
|
20153
20153
|
}
|
|
20154
20154
|
function buildNetworkSnapshot$S(luvio, config, options) {
|
|
20155
20155
|
const resourceParams = createResourceParams$N(config);
|
|
20156
|
-
const request = createResourceRequest$
|
|
20156
|
+
const request = createResourceRequest$U(resourceParams);
|
|
20157
20157
|
return luvio.dispatchResourceRequest(request, options)
|
|
20158
20158
|
.then((response) => {
|
|
20159
20159
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$A(luvio, config, resourceParams, response), () => {
|
|
@@ -20182,7 +20182,7 @@ function buildCachedSnapshotCachePolicy$D(context, storeLookup) {
|
|
|
20182
20182
|
return cacheSnapshot;
|
|
20183
20183
|
}
|
|
20184
20184
|
const getAllAppsAdapterFactory = (luvio) => function UiApi__getAllApps(untrustedConfig, requestContext) {
|
|
20185
|
-
const config = validateAdapterConfig$
|
|
20185
|
+
const config = validateAdapterConfig$U(untrustedConfig, getAllApps_ConfigPropertyNames);
|
|
20186
20186
|
// Invalid or incomplete config
|
|
20187
20187
|
if (config === null) {
|
|
20188
20188
|
return null;
|
|
@@ -20229,7 +20229,7 @@ function ingestError$w(luvio, params, error, snapshotRefresh) {
|
|
|
20229
20229
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
20230
20230
|
return errorSnapshot;
|
|
20231
20231
|
}
|
|
20232
|
-
function createResourceRequest$
|
|
20232
|
+
function createResourceRequest$T(config) {
|
|
20233
20233
|
const headers = {};
|
|
20234
20234
|
return {
|
|
20235
20235
|
baseUri: '/services/data/v63.0',
|
|
@@ -20243,30 +20243,30 @@ function createResourceRequest$S(config) {
|
|
|
20243
20243
|
};
|
|
20244
20244
|
}
|
|
20245
20245
|
|
|
20246
|
-
const adapterName$
|
|
20246
|
+
const adapterName$H = 'getSelectedApp';
|
|
20247
20247
|
const getSelectedApp_ConfigPropertyMetadata = [
|
|
20248
20248
|
generateParamConfigMetadata('formFactor', false, 1 /* QueryParameter */, 0 /* String */),
|
|
20249
20249
|
generateParamConfigMetadata('userCustomizations', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
20250
20250
|
];
|
|
20251
|
-
const getSelectedApp_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
20251
|
+
const getSelectedApp_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$H, getSelectedApp_ConfigPropertyMetadata);
|
|
20252
20252
|
const createResourceParams$M = /*#__PURE__*/ createResourceParams$16(getSelectedApp_ConfigPropertyMetadata);
|
|
20253
20253
|
function keyBuilder$2D(luvio, config) {
|
|
20254
20254
|
const resourceParams = createResourceParams$M(config);
|
|
20255
20255
|
return keyBuilder$2E(luvio, resourceParams);
|
|
20256
20256
|
}
|
|
20257
|
-
function typeCheckConfig$
|
|
20257
|
+
function typeCheckConfig$Q(untrustedConfig) {
|
|
20258
20258
|
const config = {};
|
|
20259
|
-
typeCheckConfig$
|
|
20259
|
+
typeCheckConfig$1a(untrustedConfig, config, getSelectedApp_ConfigPropertyMetadata);
|
|
20260
20260
|
return config;
|
|
20261
20261
|
}
|
|
20262
|
-
function validateAdapterConfig$
|
|
20262
|
+
function validateAdapterConfig$T(untrustedConfig, configPropertyNames) {
|
|
20263
20263
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
20264
20264
|
return null;
|
|
20265
20265
|
}
|
|
20266
20266
|
if (process.env.NODE_ENV !== 'production') {
|
|
20267
20267
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
20268
20268
|
}
|
|
20269
|
-
const config = typeCheckConfig$
|
|
20269
|
+
const config = typeCheckConfig$Q(untrustedConfig);
|
|
20270
20270
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
20271
20271
|
return null;
|
|
20272
20272
|
}
|
|
@@ -20292,7 +20292,7 @@ function onFetchResponseError$z(luvio, config, resourceParams, response) {
|
|
|
20292
20292
|
}
|
|
20293
20293
|
function buildNetworkSnapshot$R(luvio, config, options) {
|
|
20294
20294
|
const resourceParams = createResourceParams$M(config);
|
|
20295
|
-
const request = createResourceRequest$
|
|
20295
|
+
const request = createResourceRequest$T(resourceParams);
|
|
20296
20296
|
return luvio.dispatchResourceRequest(request, options)
|
|
20297
20297
|
.then((response) => {
|
|
20298
20298
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$z(luvio, config, resourceParams, response), () => {
|
|
@@ -20321,7 +20321,7 @@ function buildCachedSnapshotCachePolicy$C(context, storeLookup) {
|
|
|
20321
20321
|
return cacheSnapshot;
|
|
20322
20322
|
}
|
|
20323
20323
|
const getSelectedAppAdapterFactory = (luvio) => function UiApi__getSelectedApp(untrustedConfig, requestContext) {
|
|
20324
|
-
const config = validateAdapterConfig$
|
|
20324
|
+
const config = validateAdapterConfig$T(untrustedConfig, getSelectedApp_ConfigPropertyNames);
|
|
20325
20325
|
// Invalid or incomplete config
|
|
20326
20326
|
if (config === null) {
|
|
20327
20327
|
return null;
|
|
@@ -20370,7 +20370,7 @@ function ingestError$v(luvio, params, error, snapshotRefresh) {
|
|
|
20370
20370
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
20371
20371
|
return errorSnapshot;
|
|
20372
20372
|
}
|
|
20373
|
-
function createResourceRequest$
|
|
20373
|
+
function createResourceRequest$S(config) {
|
|
20374
20374
|
const headers = {};
|
|
20375
20375
|
return {
|
|
20376
20376
|
baseUri: '/services/data/v63.0',
|
|
@@ -20384,24 +20384,24 @@ function createResourceRequest$R(config) {
|
|
|
20384
20384
|
};
|
|
20385
20385
|
}
|
|
20386
20386
|
|
|
20387
|
-
const adapterName$
|
|
20387
|
+
const adapterName$G = 'getAppDetails';
|
|
20388
20388
|
const getAppDetails_ConfigPropertyMetadata = [
|
|
20389
20389
|
generateParamConfigMetadata('appId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
20390
20390
|
generateParamConfigMetadata('formFactor', false, 1 /* QueryParameter */, 0 /* String */, false, coerceFormFactor),
|
|
20391
20391
|
generateParamConfigMetadata('userCustomizations', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
20392
20392
|
];
|
|
20393
|
-
const getAppDetails_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
20393
|
+
const getAppDetails_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$G, getAppDetails_ConfigPropertyMetadata);
|
|
20394
20394
|
const createResourceParams$L = /*#__PURE__*/ createResourceParams$16(getAppDetails_ConfigPropertyMetadata);
|
|
20395
20395
|
function keyBuilder$2B(luvio, config) {
|
|
20396
20396
|
const resourceParams = createResourceParams$L(config);
|
|
20397
20397
|
return keyBuilder$2C(luvio, resourceParams);
|
|
20398
20398
|
}
|
|
20399
|
-
function typeCheckConfig$
|
|
20399
|
+
function typeCheckConfig$P(untrustedConfig) {
|
|
20400
20400
|
const config = {};
|
|
20401
|
-
typeCheckConfig$
|
|
20401
|
+
typeCheckConfig$1a(untrustedConfig, config, getAppDetails_ConfigPropertyMetadata);
|
|
20402
20402
|
return config;
|
|
20403
20403
|
}
|
|
20404
|
-
function validateAdapterConfig$
|
|
20404
|
+
function validateAdapterConfig$S(untrustedConfig, configPropertyNames) {
|
|
20405
20405
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
20406
20406
|
return null;
|
|
20407
20407
|
}
|
|
@@ -20409,7 +20409,7 @@ function validateAdapterConfig$U(untrustedConfig, configPropertyNames) {
|
|
|
20409
20409
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
20410
20410
|
}
|
|
20411
20411
|
const coercedConfig = coerceConfig$1(untrustedConfig, getAppDetails_ConfigPropertyMetadata);
|
|
20412
|
-
const config = typeCheckConfig$
|
|
20412
|
+
const config = typeCheckConfig$P(coercedConfig);
|
|
20413
20413
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
20414
20414
|
return null;
|
|
20415
20415
|
}
|
|
@@ -20435,7 +20435,7 @@ function onFetchResponseError$y(luvio, config, resourceParams, response) {
|
|
|
20435
20435
|
}
|
|
20436
20436
|
function buildNetworkSnapshot$Q(luvio, config, options) {
|
|
20437
20437
|
const resourceParams = createResourceParams$L(config);
|
|
20438
|
-
const request = createResourceRequest$
|
|
20438
|
+
const request = createResourceRequest$S(resourceParams);
|
|
20439
20439
|
return luvio.dispatchResourceRequest(request, options)
|
|
20440
20440
|
.then((response) => {
|
|
20441
20441
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$y(luvio, config, resourceParams, response), () => {
|
|
@@ -20464,7 +20464,7 @@ function buildCachedSnapshotCachePolicy$B(context, storeLookup) {
|
|
|
20464
20464
|
return cacheSnapshot;
|
|
20465
20465
|
}
|
|
20466
20466
|
const getAppDetailsAdapterFactory = (luvio) => function UiApi__getAppDetails(untrustedConfig, requestContext) {
|
|
20467
|
-
const config = validateAdapterConfig$
|
|
20467
|
+
const config = validateAdapterConfig$S(untrustedConfig, getAppDetails_ConfigPropertyNames);
|
|
20468
20468
|
// Invalid or incomplete config
|
|
20469
20469
|
if (config === null) {
|
|
20470
20470
|
return null;
|
|
@@ -20973,7 +20973,7 @@ function ingestError$u(luvio, params, error, snapshotRefresh) {
|
|
|
20973
20973
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
20974
20974
|
return errorSnapshot;
|
|
20975
20975
|
}
|
|
20976
|
-
function createResourceRequest$
|
|
20976
|
+
function createResourceRequest$R(config) {
|
|
20977
20977
|
const headers = {};
|
|
20978
20978
|
return {
|
|
20979
20979
|
baseUri: '/services/data/v63.0',
|
|
@@ -20987,30 +20987,30 @@ function createResourceRequest$Q(config) {
|
|
|
20987
20987
|
};
|
|
20988
20988
|
}
|
|
20989
20989
|
|
|
20990
|
-
const adapterName$
|
|
20990
|
+
const adapterName$F = 'getDuplicateConfiguration';
|
|
20991
20991
|
const getDuplicateConfiguration_ConfigPropertyMetadata = [
|
|
20992
20992
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
20993
20993
|
generateParamConfigMetadata('recordTypeId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
20994
20994
|
];
|
|
20995
|
-
const getDuplicateConfiguration_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
20995
|
+
const getDuplicateConfiguration_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$F, getDuplicateConfiguration_ConfigPropertyMetadata);
|
|
20996
20996
|
const createResourceParams$K = /*#__PURE__*/ createResourceParams$16(getDuplicateConfiguration_ConfigPropertyMetadata);
|
|
20997
20997
|
function keyBuilder$2z(luvio, config) {
|
|
20998
20998
|
const resourceParams = createResourceParams$K(config);
|
|
20999
20999
|
return keyBuilder$2A(luvio, resourceParams);
|
|
21000
21000
|
}
|
|
21001
|
-
function typeCheckConfig$
|
|
21001
|
+
function typeCheckConfig$O(untrustedConfig) {
|
|
21002
21002
|
const config = {};
|
|
21003
|
-
typeCheckConfig$
|
|
21003
|
+
typeCheckConfig$1a(untrustedConfig, config, getDuplicateConfiguration_ConfigPropertyMetadata);
|
|
21004
21004
|
return config;
|
|
21005
21005
|
}
|
|
21006
|
-
function validateAdapterConfig$
|
|
21006
|
+
function validateAdapterConfig$R(untrustedConfig, configPropertyNames) {
|
|
21007
21007
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
21008
21008
|
return null;
|
|
21009
21009
|
}
|
|
21010
21010
|
if (process.env.NODE_ENV !== 'production') {
|
|
21011
21011
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
21012
21012
|
}
|
|
21013
|
-
const config = typeCheckConfig$
|
|
21013
|
+
const config = typeCheckConfig$O(untrustedConfig);
|
|
21014
21014
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
21015
21015
|
return null;
|
|
21016
21016
|
}
|
|
@@ -21036,7 +21036,7 @@ function onFetchResponseError$x(luvio, config, resourceParams, response) {
|
|
|
21036
21036
|
}
|
|
21037
21037
|
function buildNetworkSnapshot$P(luvio, config, options) {
|
|
21038
21038
|
const resourceParams = createResourceParams$K(config);
|
|
21039
|
-
const request = createResourceRequest$
|
|
21039
|
+
const request = createResourceRequest$R(resourceParams);
|
|
21040
21040
|
return luvio.dispatchResourceRequest(request, options)
|
|
21041
21041
|
.then((response) => {
|
|
21042
21042
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$x(luvio, config, resourceParams, response), () => {
|
|
@@ -21065,7 +21065,7 @@ function buildCachedSnapshotCachePolicy$A(context, storeLookup) {
|
|
|
21065
21065
|
return cacheSnapshot;
|
|
21066
21066
|
}
|
|
21067
21067
|
const getDuplicateConfigurationAdapterFactory = (luvio) => function UiApi__getDuplicateConfiguration(untrustedConfig, requestContext) {
|
|
21068
|
-
const config = validateAdapterConfig$
|
|
21068
|
+
const config = validateAdapterConfig$R(untrustedConfig, getDuplicateConfiguration_ConfigPropertyNames);
|
|
21069
21069
|
// Invalid or incomplete config
|
|
21070
21070
|
if (config === null) {
|
|
21071
21071
|
return null;
|
|
@@ -21112,7 +21112,7 @@ function ingestError$t(luvio, params, error, snapshotRefresh) {
|
|
|
21112
21112
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
21113
21113
|
return errorSnapshot;
|
|
21114
21114
|
}
|
|
21115
|
-
function createResourceRequest$
|
|
21115
|
+
function createResourceRequest$Q(config) {
|
|
21116
21116
|
const headers = {};
|
|
21117
21117
|
return {
|
|
21118
21118
|
baseUri: '/services/data/v63.0',
|
|
@@ -21150,8 +21150,8 @@ const getLayout_ConfigPropertyNames = {
|
|
|
21150
21150
|
},
|
|
21151
21151
|
};
|
|
21152
21152
|
|
|
21153
|
-
function validateAdapterConfig$
|
|
21154
|
-
const config = validateAdapterConfig$
|
|
21153
|
+
function validateAdapterConfig$Q(untrustedConfig, _configPropertyNames) {
|
|
21154
|
+
const config = validateAdapterConfig$P(untrustedConfig, getLayout_ConfigPropertyNames);
|
|
21155
21155
|
if (config === null) {
|
|
21156
21156
|
return null;
|
|
21157
21157
|
}
|
|
@@ -21195,12 +21195,12 @@ const getLayout_ConfigPropertyMetadata = [
|
|
|
21195
21195
|
generateParamConfigMetadata('recordTypeId', false, 1 /* QueryParameter */, 0 /* String */, false, getRecordId18),
|
|
21196
21196
|
];
|
|
21197
21197
|
const createResourceParams$J = /*#__PURE__*/ createResourceParams$16(getLayout_ConfigPropertyMetadata);
|
|
21198
|
-
function typeCheckConfig$
|
|
21198
|
+
function typeCheckConfig$N(untrustedConfig) {
|
|
21199
21199
|
const config = {};
|
|
21200
|
-
typeCheckConfig$
|
|
21200
|
+
typeCheckConfig$1a(untrustedConfig, config, getLayout_ConfigPropertyMetadata);
|
|
21201
21201
|
return config;
|
|
21202
21202
|
}
|
|
21203
|
-
function validateAdapterConfig$
|
|
21203
|
+
function validateAdapterConfig$P(untrustedConfig, configPropertyNames) {
|
|
21204
21204
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
21205
21205
|
return null;
|
|
21206
21206
|
}
|
|
@@ -21208,7 +21208,7 @@ function validateAdapterConfig$R(untrustedConfig, configPropertyNames) {
|
|
|
21208
21208
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
21209
21209
|
}
|
|
21210
21210
|
const coercedConfig = coerceConfig$1(untrustedConfig, getLayout_ConfigPropertyMetadata);
|
|
21211
|
-
const config = typeCheckConfig$
|
|
21211
|
+
const config = typeCheckConfig$N(coercedConfig);
|
|
21212
21212
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
21213
21213
|
return null;
|
|
21214
21214
|
}
|
|
@@ -21223,7 +21223,7 @@ function onFetchResponseError$w(luvio, config, resourceParams, response) {
|
|
|
21223
21223
|
}
|
|
21224
21224
|
function buildNetworkSnapshot$O(luvio, config, options) {
|
|
21225
21225
|
const resourceParams = createResourceParams$J(config);
|
|
21226
|
-
const request = createResourceRequest$
|
|
21226
|
+
const request = createResourceRequest$Q(resourceParams);
|
|
21227
21227
|
return luvio.dispatchResourceRequest(request, options)
|
|
21228
21228
|
.then((response) => {
|
|
21229
21229
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$w(luvio, config, resourceParams, response), () => {
|
|
@@ -21239,7 +21239,7 @@ function buildNetworkSnapshotCachePolicy$A(context, coercedAdapterRequestContext
|
|
|
21239
21239
|
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$O, undefined, false);
|
|
21240
21240
|
}
|
|
21241
21241
|
const getLayoutAdapterFactory = (luvio) => function UiApi__getLayout(untrustedConfig, requestContext) {
|
|
21242
|
-
const config = validateAdapterConfig$
|
|
21242
|
+
const config = validateAdapterConfig$Q(untrustedConfig);
|
|
21243
21243
|
// Invalid or incomplete config
|
|
21244
21244
|
if (config === null) {
|
|
21245
21245
|
return null;
|
|
@@ -21251,7 +21251,7 @@ const getLayoutAdapterFactory = (luvio) => function UiApi__getLayout(untrustedCo
|
|
|
21251
21251
|
function getResponseCacheKeys$K(storeKeyMap, luvio, resourceParams, response) {
|
|
21252
21252
|
getTypeCacheKeys$26(storeKeyMap, luvio, response);
|
|
21253
21253
|
}
|
|
21254
|
-
function createResourceRequest$
|
|
21254
|
+
function createResourceRequest$P(config) {
|
|
21255
21255
|
const headers = {};
|
|
21256
21256
|
return {
|
|
21257
21257
|
baseUri: '/services/data/v63.0',
|
|
@@ -21336,12 +21336,12 @@ function prepareRequest$4(luvio, config) {
|
|
|
21336
21336
|
recordTypeId: config.recordTypeId,
|
|
21337
21337
|
},
|
|
21338
21338
|
};
|
|
21339
|
-
const request = createResourceRequest$
|
|
21339
|
+
const request = createResourceRequest$P(resourceParams);
|
|
21340
21340
|
return { resourceParams, request, key };
|
|
21341
21341
|
}
|
|
21342
21342
|
|
|
21343
|
-
function validateAdapterConfig$
|
|
21344
|
-
const config = validateAdapterConfig$
|
|
21343
|
+
function validateAdapterConfig$O(untrustedConfig, configPropertyNames) {
|
|
21344
|
+
const config = validateAdapterConfig$N(untrustedConfig, configPropertyNames);
|
|
21345
21345
|
if (config === null) {
|
|
21346
21346
|
return null;
|
|
21347
21347
|
}
|
|
@@ -21409,12 +21409,12 @@ const getLayoutUserState_ConfigPropertyMetadata = [
|
|
|
21409
21409
|
generateParamConfigMetadata('mode', false, 1 /* QueryParameter */, 0 /* String */, false, coerceLayoutMode),
|
|
21410
21410
|
generateParamConfigMetadata('recordTypeId', false, 1 /* QueryParameter */, 0 /* String */, false, getRecordId18),
|
|
21411
21411
|
];
|
|
21412
|
-
function typeCheckConfig$
|
|
21412
|
+
function typeCheckConfig$M(untrustedConfig) {
|
|
21413
21413
|
const config = {};
|
|
21414
|
-
typeCheckConfig$
|
|
21414
|
+
typeCheckConfig$1a(untrustedConfig, config, getLayoutUserState_ConfigPropertyMetadata);
|
|
21415
21415
|
return config;
|
|
21416
21416
|
}
|
|
21417
|
-
function validateAdapterConfig$
|
|
21417
|
+
function validateAdapterConfig$N(untrustedConfig, configPropertyNames) {
|
|
21418
21418
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
21419
21419
|
return null;
|
|
21420
21420
|
}
|
|
@@ -21422,7 +21422,7 @@ function validateAdapterConfig$P(untrustedConfig, configPropertyNames) {
|
|
|
21422
21422
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
21423
21423
|
}
|
|
21424
21424
|
const coercedConfig = coerceConfig$1(untrustedConfig, getLayoutUserState_ConfigPropertyMetadata);
|
|
21425
|
-
const config = typeCheckConfig$
|
|
21425
|
+
const config = typeCheckConfig$M(coercedConfig);
|
|
21426
21426
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
21427
21427
|
return null;
|
|
21428
21428
|
}
|
|
@@ -21432,7 +21432,7 @@ function buildNetworkSnapshotCachePolicy$z(context, coercedAdapterRequestContext
|
|
|
21432
21432
|
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$N, undefined, false);
|
|
21433
21433
|
}
|
|
21434
21434
|
const getLayoutUserStateAdapterFactory = (luvio) => function UiApi__getLayoutUserState(untrustedConfig, requestContext) {
|
|
21435
|
-
const config = validateAdapterConfig$
|
|
21435
|
+
const config = validateAdapterConfig$O(untrustedConfig, getLayoutUserState_ConfigPropertyNames);
|
|
21436
21436
|
// Invalid or incomplete config
|
|
21437
21437
|
if (config === null) {
|
|
21438
21438
|
return null;
|
|
@@ -21484,7 +21484,7 @@ function ingestError$s(luvio, params, error, snapshotRefresh) {
|
|
|
21484
21484
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
21485
21485
|
return errorSnapshot;
|
|
21486
21486
|
}
|
|
21487
|
-
function createResourceRequest$
|
|
21487
|
+
function createResourceRequest$O(config) {
|
|
21488
21488
|
const headers = {};
|
|
21489
21489
|
return {
|
|
21490
21490
|
baseUri: '/services/data/v63.0',
|
|
@@ -21753,7 +21753,7 @@ function ingestError$r(luvio, params, error, snapshotRefresh) {
|
|
|
21753
21753
|
luvio.storeIngestError(key, errorSnapshot);
|
|
21754
21754
|
return errorSnapshot;
|
|
21755
21755
|
}
|
|
21756
|
-
function createResourceRequest$
|
|
21756
|
+
function createResourceRequest$N(config) {
|
|
21757
21757
|
const headers = {};
|
|
21758
21758
|
return {
|
|
21759
21759
|
baseUri: '/services/data/v63.0',
|
|
@@ -21767,30 +21767,30 @@ function createResourceRequest$M(config) {
|
|
|
21767
21767
|
};
|
|
21768
21768
|
}
|
|
21769
21769
|
|
|
21770
|
-
const adapterName$
|
|
21770
|
+
const adapterName$E = 'getListInfosByName';
|
|
21771
21771
|
const getListInfosByName_ConfigPropertyMetadata = [
|
|
21772
21772
|
generateParamConfigMetadata('ids', false, 1 /* QueryParameter */, 0 /* String */, true),
|
|
21773
21773
|
generateParamConfigMetadata('names', false, 1 /* QueryParameter */, 0 /* String */, true),
|
|
21774
21774
|
];
|
|
21775
|
-
const getListInfosByName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
21775
|
+
const getListInfosByName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$E, getListInfosByName_ConfigPropertyMetadata);
|
|
21776
21776
|
const createResourceParams$I = /*#__PURE__*/ createResourceParams$16(getListInfosByName_ConfigPropertyMetadata);
|
|
21777
21777
|
function keyBuilder$2v(luvio, config) {
|
|
21778
21778
|
const resourceParams = createResourceParams$I(config);
|
|
21779
21779
|
return keyBuilder$2w(luvio, resourceParams);
|
|
21780
21780
|
}
|
|
21781
|
-
function typeCheckConfig$
|
|
21781
|
+
function typeCheckConfig$L(untrustedConfig) {
|
|
21782
21782
|
const config = {};
|
|
21783
|
-
typeCheckConfig$
|
|
21783
|
+
typeCheckConfig$1a(untrustedConfig, config, getListInfosByName_ConfigPropertyMetadata);
|
|
21784
21784
|
return config;
|
|
21785
21785
|
}
|
|
21786
|
-
function validateAdapterConfig$
|
|
21786
|
+
function validateAdapterConfig$M(untrustedConfig, configPropertyNames) {
|
|
21787
21787
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
21788
21788
|
return null;
|
|
21789
21789
|
}
|
|
21790
21790
|
if (process.env.NODE_ENV !== 'production') {
|
|
21791
21791
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
21792
21792
|
}
|
|
21793
|
-
const config = typeCheckConfig$
|
|
21793
|
+
const config = typeCheckConfig$L(untrustedConfig);
|
|
21794
21794
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
21795
21795
|
return null;
|
|
21796
21796
|
}
|
|
@@ -21816,7 +21816,7 @@ function onFetchResponseError$u(luvio, config, resourceParams, response) {
|
|
|
21816
21816
|
}
|
|
21817
21817
|
function buildNetworkSnapshot$M(luvio, config, options) {
|
|
21818
21818
|
const resourceParams = createResourceParams$I(config);
|
|
21819
|
-
const request = createResourceRequest$
|
|
21819
|
+
const request = createResourceRequest$N(resourceParams);
|
|
21820
21820
|
return luvio.dispatchResourceRequest(request, options)
|
|
21821
21821
|
.then((response) => {
|
|
21822
21822
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$u(luvio, config, resourceParams, response), () => {
|
|
@@ -21845,7 +21845,7 @@ function buildCachedSnapshotCachePolicy$x(context, storeLookup) {
|
|
|
21845
21845
|
return cacheSnapshot;
|
|
21846
21846
|
}
|
|
21847
21847
|
const getListInfosByNameAdapterFactory = (luvio) => function UiApi__getListInfosByName(untrustedConfig, requestContext) {
|
|
21848
|
-
const config = validateAdapterConfig$
|
|
21848
|
+
const config = validateAdapterConfig$M(untrustedConfig, getListInfosByName_ConfigPropertyNames);
|
|
21849
21849
|
// Invalid or incomplete config
|
|
21850
21850
|
if (config === null) {
|
|
21851
21851
|
return null;
|
|
@@ -21898,7 +21898,7 @@ function ingestError$q(luvio, params, error, snapshotRefresh) {
|
|
|
21898
21898
|
luvio.storeIngestError(key, errorSnapshot);
|
|
21899
21899
|
return errorSnapshot;
|
|
21900
21900
|
}
|
|
21901
|
-
function createResourceRequest$
|
|
21901
|
+
function createResourceRequest$M(config) {
|
|
21902
21902
|
const headers = {};
|
|
21903
21903
|
return {
|
|
21904
21904
|
baseUri: '/services/data/v63.0',
|
|
@@ -21912,7 +21912,7 @@ function createResourceRequest$L(config) {
|
|
|
21912
21912
|
};
|
|
21913
21913
|
}
|
|
21914
21914
|
|
|
21915
|
-
const adapterName$
|
|
21915
|
+
const adapterName$D = 'getListInfosByObjectName';
|
|
21916
21916
|
const getListInfosByObjectName_ConfigPropertyMetadata = [
|
|
21917
21917
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
21918
21918
|
generateParamConfigMetadata('pageSize', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
@@ -21920,25 +21920,25 @@ const getListInfosByObjectName_ConfigPropertyMetadata = [
|
|
|
21920
21920
|
generateParamConfigMetadata('q', false, 1 /* QueryParameter */, 0 /* String */),
|
|
21921
21921
|
generateParamConfigMetadata('recentListsOnly', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
21922
21922
|
];
|
|
21923
|
-
const getListInfosByObjectName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
21923
|
+
const getListInfosByObjectName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$D, getListInfosByObjectName_ConfigPropertyMetadata);
|
|
21924
21924
|
const createResourceParams$H = /*#__PURE__*/ createResourceParams$16(getListInfosByObjectName_ConfigPropertyMetadata);
|
|
21925
21925
|
function keyBuilder$2t(luvio, config) {
|
|
21926
21926
|
const resourceParams = createResourceParams$H(config);
|
|
21927
21927
|
return keyBuilder$2u(luvio, resourceParams);
|
|
21928
21928
|
}
|
|
21929
|
-
function typeCheckConfig$
|
|
21929
|
+
function typeCheckConfig$K(untrustedConfig) {
|
|
21930
21930
|
const config = {};
|
|
21931
|
-
typeCheckConfig$
|
|
21931
|
+
typeCheckConfig$1a(untrustedConfig, config, getListInfosByObjectName_ConfigPropertyMetadata);
|
|
21932
21932
|
return config;
|
|
21933
21933
|
}
|
|
21934
|
-
function validateAdapterConfig$
|
|
21934
|
+
function validateAdapterConfig$L(untrustedConfig, configPropertyNames) {
|
|
21935
21935
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
21936
21936
|
return null;
|
|
21937
21937
|
}
|
|
21938
21938
|
if (process.env.NODE_ENV !== 'production') {
|
|
21939
21939
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
21940
21940
|
}
|
|
21941
|
-
const config = typeCheckConfig$
|
|
21941
|
+
const config = typeCheckConfig$K(untrustedConfig);
|
|
21942
21942
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
21943
21943
|
return null;
|
|
21944
21944
|
}
|
|
@@ -21964,13 +21964,13 @@ function onFetchResponseError$t(luvio, config, resourceParams, response) {
|
|
|
21964
21964
|
}
|
|
21965
21965
|
function prepareRequest$3(luvio, config, resourceParams, cacheSnapshot) {
|
|
21966
21966
|
if (cacheSnapshot === undefined) {
|
|
21967
|
-
return createResourceRequest$
|
|
21967
|
+
return createResourceRequest$M(resourceParams);
|
|
21968
21968
|
}
|
|
21969
21969
|
const [newToken, newPageSize] = minimizePaginationParams$1(luvio, resourceParams, cacheSnapshot);
|
|
21970
21970
|
if (newToken === undefined) {
|
|
21971
|
-
return createResourceRequest$
|
|
21971
|
+
return createResourceRequest$M(resourceParams);
|
|
21972
21972
|
}
|
|
21973
|
-
return createResourceRequest$
|
|
21973
|
+
return createResourceRequest$M(createResourceParams$H({
|
|
21974
21974
|
...config,
|
|
21975
21975
|
pageSize: newPageSize,
|
|
21976
21976
|
pageToken: newToken
|
|
@@ -22071,7 +22071,7 @@ function buildCachedSnapshotCachePolicy$w(context, storeLookup) {
|
|
|
22071
22071
|
return cacheSnapshot;
|
|
22072
22072
|
}
|
|
22073
22073
|
const getListInfosByObjectNameAdapterFactory = (luvio) => function UiApi__getListInfosByObjectName(untrustedConfig, requestContext) {
|
|
22074
|
-
const config = validateAdapterConfig$
|
|
22074
|
+
const config = validateAdapterConfig$L(untrustedConfig, getListInfosByObjectName_ConfigPropertyNames);
|
|
22075
22075
|
// Invalid or incomplete config
|
|
22076
22076
|
if (config === null) {
|
|
22077
22077
|
return null;
|
|
@@ -22204,7 +22204,7 @@ function ingestSuccess$y(luvio, resourceParams, response) {
|
|
|
22204
22204
|
deepFreeze(snapshot.data);
|
|
22205
22205
|
return snapshot;
|
|
22206
22206
|
}
|
|
22207
|
-
function createResourceRequest$
|
|
22207
|
+
function createResourceRequest$L(config) {
|
|
22208
22208
|
const headers = {};
|
|
22209
22209
|
return {
|
|
22210
22210
|
baseUri: '/services/data/v63.0',
|
|
@@ -22218,7 +22218,7 @@ function createResourceRequest$K(config) {
|
|
|
22218
22218
|
};
|
|
22219
22219
|
}
|
|
22220
22220
|
|
|
22221
|
-
const adapterName$
|
|
22221
|
+
const adapterName$C = 'createListInfo';
|
|
22222
22222
|
const createListInfo_ConfigPropertyMetadata = [
|
|
22223
22223
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
|
|
22224
22224
|
generateParamConfigMetadata('displayColumns', false, 2 /* Body */, 0 /* String */, true),
|
|
@@ -22230,11 +22230,11 @@ const createListInfo_ConfigPropertyMetadata = [
|
|
|
22230
22230
|
generateParamConfigMetadata('scope', false, 2 /* Body */, 4 /* Unsupported */),
|
|
22231
22231
|
generateParamConfigMetadata('visibility', false, 2 /* Body */, 0 /* String */),
|
|
22232
22232
|
];
|
|
22233
|
-
const createListInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
22233
|
+
const createListInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$C, createListInfo_ConfigPropertyMetadata);
|
|
22234
22234
|
const createResourceParams$G = /*#__PURE__*/ createResourceParams$16(createListInfo_ConfigPropertyMetadata);
|
|
22235
|
-
function typeCheckConfig$
|
|
22235
|
+
function typeCheckConfig$J(untrustedConfig) {
|
|
22236
22236
|
const config = {};
|
|
22237
|
-
typeCheckConfig$
|
|
22237
|
+
typeCheckConfig$1a(untrustedConfig, config, createListInfo_ConfigPropertyMetadata);
|
|
22238
22238
|
const untrustedConfig_filteredByInfo = untrustedConfig.filteredByInfo;
|
|
22239
22239
|
if (ArrayIsArray$1(untrustedConfig_filteredByInfo)) {
|
|
22240
22240
|
const untrustedConfig_filteredByInfo_array = [];
|
|
@@ -22254,7 +22254,7 @@ function typeCheckConfig$L(untrustedConfig) {
|
|
|
22254
22254
|
}
|
|
22255
22255
|
return config;
|
|
22256
22256
|
}
|
|
22257
|
-
function validateAdapterConfig$
|
|
22257
|
+
function validateAdapterConfig$K(untrustedConfig, configPropertyNames) {
|
|
22258
22258
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
22259
22259
|
return null;
|
|
22260
22260
|
}
|
|
@@ -22262,7 +22262,7 @@ function validateAdapterConfig$M(untrustedConfig, configPropertyNames) {
|
|
|
22262
22262
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
22263
22263
|
}
|
|
22264
22264
|
const coercedConfig = coerceConfig$1(untrustedConfig, createListInfo_ConfigPropertyMetadata);
|
|
22265
|
-
const config = typeCheckConfig$
|
|
22265
|
+
const config = typeCheckConfig$J(coercedConfig);
|
|
22266
22266
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
22267
22267
|
return null;
|
|
22268
22268
|
}
|
|
@@ -22270,7 +22270,7 @@ function validateAdapterConfig$M(untrustedConfig, configPropertyNames) {
|
|
|
22270
22270
|
}
|
|
22271
22271
|
function buildNetworkSnapshot$K(luvio, config, options) {
|
|
22272
22272
|
const resourceParams = createResourceParams$G(config);
|
|
22273
|
-
const request = createResourceRequest$
|
|
22273
|
+
const request = createResourceRequest$L(resourceParams);
|
|
22274
22274
|
return luvio.dispatchResourceRequest(request, options)
|
|
22275
22275
|
.then((response) => {
|
|
22276
22276
|
return luvio.handleSuccessResponse(() => {
|
|
@@ -22288,7 +22288,7 @@ function buildNetworkSnapshot$K(luvio, config, options) {
|
|
|
22288
22288
|
}
|
|
22289
22289
|
const createListInfoAdapterFactory = (luvio) => {
|
|
22290
22290
|
return function createListInfo(untrustedConfig) {
|
|
22291
|
-
const config = validateAdapterConfig$
|
|
22291
|
+
const config = validateAdapterConfig$K(untrustedConfig, createListInfo_ConfigPropertyNames);
|
|
22292
22292
|
// Invalid or incomplete config
|
|
22293
22293
|
if (config === null) {
|
|
22294
22294
|
throw new Error('Invalid config for "createListInfo"');
|
|
@@ -22316,7 +22316,7 @@ function evictSuccess$1(luvio, resourceParams) {
|
|
|
22316
22316
|
const key = keyBuilder$2s(luvio, resourceParams);
|
|
22317
22317
|
luvio.storeEvict(key);
|
|
22318
22318
|
}
|
|
22319
|
-
function createResourceRequest$
|
|
22319
|
+
function createResourceRequest$K(config) {
|
|
22320
22320
|
const headers = {};
|
|
22321
22321
|
return {
|
|
22322
22322
|
baseUri: '/services/data/v63.0',
|
|
@@ -22330,26 +22330,26 @@ function createResourceRequest$J(config) {
|
|
|
22330
22330
|
};
|
|
22331
22331
|
}
|
|
22332
22332
|
|
|
22333
|
-
const adapterName$
|
|
22333
|
+
const adapterName$B = 'deleteListInfo';
|
|
22334
22334
|
const deleteListInfo_ConfigPropertyMetadata = [
|
|
22335
22335
|
generateParamConfigMetadata('listViewApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
22336
22336
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
22337
22337
|
];
|
|
22338
|
-
const deleteListInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
22338
|
+
const deleteListInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$B, deleteListInfo_ConfigPropertyMetadata);
|
|
22339
22339
|
const createResourceParams$F = /*#__PURE__*/ createResourceParams$16(deleteListInfo_ConfigPropertyMetadata);
|
|
22340
|
-
function typeCheckConfig$
|
|
22340
|
+
function typeCheckConfig$I(untrustedConfig) {
|
|
22341
22341
|
const config = {};
|
|
22342
|
-
typeCheckConfig$
|
|
22342
|
+
typeCheckConfig$1a(untrustedConfig, config, deleteListInfo_ConfigPropertyMetadata);
|
|
22343
22343
|
return config;
|
|
22344
22344
|
}
|
|
22345
|
-
function validateAdapterConfig$
|
|
22345
|
+
function validateAdapterConfig$J(untrustedConfig, configPropertyNames) {
|
|
22346
22346
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
22347
22347
|
return null;
|
|
22348
22348
|
}
|
|
22349
22349
|
if (process.env.NODE_ENV !== 'production') {
|
|
22350
22350
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
22351
22351
|
}
|
|
22352
|
-
const config = typeCheckConfig$
|
|
22352
|
+
const config = typeCheckConfig$I(untrustedConfig);
|
|
22353
22353
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
22354
22354
|
return null;
|
|
22355
22355
|
}
|
|
@@ -22357,7 +22357,7 @@ function validateAdapterConfig$L(untrustedConfig, configPropertyNames) {
|
|
|
22357
22357
|
}
|
|
22358
22358
|
function buildNetworkSnapshot$J(luvio, config, options) {
|
|
22359
22359
|
const resourceParams = createResourceParams$F(config);
|
|
22360
|
-
const request = createResourceRequest$
|
|
22360
|
+
const request = createResourceRequest$K(resourceParams);
|
|
22361
22361
|
return luvio.dispatchResourceRequest(request, options)
|
|
22362
22362
|
.then(() => {
|
|
22363
22363
|
return luvio.handleSuccessResponse(() => {
|
|
@@ -22375,39 +22375,39 @@ function buildNetworkSnapshot$J(luvio, config, options) {
|
|
|
22375
22375
|
}
|
|
22376
22376
|
const deleteListInfoAdapterFactory = (luvio) => {
|
|
22377
22377
|
return function UiApideleteListInfo(untrustedConfig) {
|
|
22378
|
-
const config = validateAdapterConfig$
|
|
22378
|
+
const config = validateAdapterConfig$J(untrustedConfig, deleteListInfo_ConfigPropertyNames);
|
|
22379
22379
|
// Invalid or incomplete config
|
|
22380
22380
|
if (config === null) {
|
|
22381
|
-
throw new Error(`Invalid config for "${adapterName$
|
|
22381
|
+
throw new Error(`Invalid config for "${adapterName$B}"`);
|
|
22382
22382
|
}
|
|
22383
22383
|
return buildNetworkSnapshot$J(luvio, config);
|
|
22384
22384
|
};
|
|
22385
22385
|
};
|
|
22386
22386
|
|
|
22387
|
-
const adapterName$
|
|
22387
|
+
const adapterName$A = 'getListInfoByName';
|
|
22388
22388
|
const getListInfoByName_ConfigPropertyMetadata = [
|
|
22389
22389
|
generateParamConfigMetadata('listViewApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
22390
22390
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
22391
22391
|
];
|
|
22392
|
-
const getListInfoByName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
22392
|
+
const getListInfoByName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$A, getListInfoByName_ConfigPropertyMetadata);
|
|
22393
22393
|
const createResourceParams$E = /*#__PURE__*/ createResourceParams$16(getListInfoByName_ConfigPropertyMetadata);
|
|
22394
22394
|
function keyBuilder$2r(luvio, config) {
|
|
22395
22395
|
const resourceParams = createResourceParams$E(config);
|
|
22396
22396
|
return keyBuilder$2x(luvio, resourceParams);
|
|
22397
22397
|
}
|
|
22398
|
-
function typeCheckConfig$
|
|
22398
|
+
function typeCheckConfig$H(untrustedConfig) {
|
|
22399
22399
|
const config = {};
|
|
22400
|
-
typeCheckConfig$
|
|
22400
|
+
typeCheckConfig$1a(untrustedConfig, config, getListInfoByName_ConfigPropertyMetadata);
|
|
22401
22401
|
return config;
|
|
22402
22402
|
}
|
|
22403
|
-
function validateAdapterConfig$
|
|
22403
|
+
function validateAdapterConfig$I(untrustedConfig, configPropertyNames) {
|
|
22404
22404
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
22405
22405
|
return null;
|
|
22406
22406
|
}
|
|
22407
22407
|
if (process.env.NODE_ENV !== 'production') {
|
|
22408
22408
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
22409
22409
|
}
|
|
22410
|
-
const config = typeCheckConfig$
|
|
22410
|
+
const config = typeCheckConfig$H(untrustedConfig);
|
|
22411
22411
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
22412
22412
|
return null;
|
|
22413
22413
|
}
|
|
@@ -22433,7 +22433,7 @@ function onFetchResponseError$s(luvio, config, resourceParams, response) {
|
|
|
22433
22433
|
}
|
|
22434
22434
|
function buildNetworkSnapshot$I(luvio, config, options) {
|
|
22435
22435
|
const resourceParams = createResourceParams$E(config);
|
|
22436
|
-
const request = createResourceRequest$
|
|
22436
|
+
const request = createResourceRequest$O(resourceParams);
|
|
22437
22437
|
return luvio.dispatchResourceRequest(request, options)
|
|
22438
22438
|
.then((response) => {
|
|
22439
22439
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$s(luvio, config, resourceParams, response), () => {
|
|
@@ -22462,7 +22462,7 @@ function buildCachedSnapshotCachePolicy$v(context, storeLookup) {
|
|
|
22462
22462
|
return cacheSnapshot;
|
|
22463
22463
|
}
|
|
22464
22464
|
const getListInfoByNameAdapterFactory = (luvio) => function UiApi__getListInfoByName(untrustedConfig, requestContext) {
|
|
22465
|
-
const config = validateAdapterConfig$
|
|
22465
|
+
const config = validateAdapterConfig$I(untrustedConfig, getListInfoByName_ConfigPropertyNames);
|
|
22466
22466
|
// Invalid or incomplete config
|
|
22467
22467
|
if (config === null) {
|
|
22468
22468
|
return null;
|
|
@@ -22494,7 +22494,7 @@ function ingestSuccess$x(luvio, resourceParams, response) {
|
|
|
22494
22494
|
deepFreeze(snapshot.data);
|
|
22495
22495
|
return snapshot;
|
|
22496
22496
|
}
|
|
22497
|
-
function createResourceRequest$
|
|
22497
|
+
function createResourceRequest$J(config) {
|
|
22498
22498
|
const headers = {};
|
|
22499
22499
|
return {
|
|
22500
22500
|
baseUri: '/services/data/v63.0',
|
|
@@ -22508,7 +22508,7 @@ function createResourceRequest$I(config) {
|
|
|
22508
22508
|
};
|
|
22509
22509
|
}
|
|
22510
22510
|
|
|
22511
|
-
const adapterName$
|
|
22511
|
+
const adapterName$z = 'updateListInfoByName';
|
|
22512
22512
|
const updateListInfoByName_ConfigPropertyMetadata = [
|
|
22513
22513
|
generateParamConfigMetadata('listViewApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
22514
22514
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
|
|
@@ -22520,11 +22520,11 @@ const updateListInfoByName_ConfigPropertyMetadata = [
|
|
|
22520
22520
|
generateParamConfigMetadata('scope', false, 2 /* Body */, 4 /* Unsupported */),
|
|
22521
22521
|
generateParamConfigMetadata('visibility', false, 2 /* Body */, 0 /* String */),
|
|
22522
22522
|
];
|
|
22523
|
-
const updateListInfoByName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
22523
|
+
const updateListInfoByName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$z, updateListInfoByName_ConfigPropertyMetadata);
|
|
22524
22524
|
const createResourceParams$D = /*#__PURE__*/ createResourceParams$16(updateListInfoByName_ConfigPropertyMetadata);
|
|
22525
|
-
function typeCheckConfig$
|
|
22525
|
+
function typeCheckConfig$G(untrustedConfig) {
|
|
22526
22526
|
const config = {};
|
|
22527
|
-
typeCheckConfig$
|
|
22527
|
+
typeCheckConfig$1a(untrustedConfig, config, updateListInfoByName_ConfigPropertyMetadata);
|
|
22528
22528
|
const untrustedConfig_filteredByInfo = untrustedConfig.filteredByInfo;
|
|
22529
22529
|
if (ArrayIsArray$1(untrustedConfig_filteredByInfo)) {
|
|
22530
22530
|
const untrustedConfig_filteredByInfo_array = [];
|
|
@@ -22544,7 +22544,7 @@ function typeCheckConfig$I(untrustedConfig) {
|
|
|
22544
22544
|
}
|
|
22545
22545
|
return config;
|
|
22546
22546
|
}
|
|
22547
|
-
function validateAdapterConfig$
|
|
22547
|
+
function validateAdapterConfig$H(untrustedConfig, configPropertyNames) {
|
|
22548
22548
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
22549
22549
|
return null;
|
|
22550
22550
|
}
|
|
@@ -22552,7 +22552,7 @@ function validateAdapterConfig$J(untrustedConfig, configPropertyNames) {
|
|
|
22552
22552
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
22553
22553
|
}
|
|
22554
22554
|
const coercedConfig = coerceConfig$1(untrustedConfig, updateListInfoByName_ConfigPropertyMetadata);
|
|
22555
|
-
const config = typeCheckConfig$
|
|
22555
|
+
const config = typeCheckConfig$G(coercedConfig);
|
|
22556
22556
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
22557
22557
|
return null;
|
|
22558
22558
|
}
|
|
@@ -22560,7 +22560,7 @@ function validateAdapterConfig$J(untrustedConfig, configPropertyNames) {
|
|
|
22560
22560
|
}
|
|
22561
22561
|
function buildNetworkSnapshot$H(luvio, config, options) {
|
|
22562
22562
|
const resourceParams = createResourceParams$D(config);
|
|
22563
|
-
const request = createResourceRequest$
|
|
22563
|
+
const request = createResourceRequest$J(resourceParams);
|
|
22564
22564
|
return luvio.dispatchResourceRequest(request, options)
|
|
22565
22565
|
.then((response) => {
|
|
22566
22566
|
return luvio.handleSuccessResponse(() => {
|
|
@@ -22578,7 +22578,7 @@ function buildNetworkSnapshot$H(luvio, config, options) {
|
|
|
22578
22578
|
}
|
|
22579
22579
|
const updateListInfoByNameAdapterFactory = (luvio) => {
|
|
22580
22580
|
return function updateListInfoByName(untrustedConfig) {
|
|
22581
|
-
const config = validateAdapterConfig$
|
|
22581
|
+
const config = validateAdapterConfig$H(untrustedConfig, updateListInfoByName_ConfigPropertyNames);
|
|
22582
22582
|
// Invalid or incomplete config
|
|
22583
22583
|
if (config === null) {
|
|
22584
22584
|
throw new Error('Invalid config for "updateListInfoByName"');
|
|
@@ -23221,7 +23221,7 @@ function ingestError$p(luvio, params, error, snapshotRefresh) {
|
|
|
23221
23221
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
23222
23222
|
return errorSnapshot;
|
|
23223
23223
|
}
|
|
23224
|
-
function createResourceRequest$
|
|
23224
|
+
function createResourceRequest$I(config) {
|
|
23225
23225
|
const headers = {};
|
|
23226
23226
|
return {
|
|
23227
23227
|
baseUri: '/services/data/v63.0',
|
|
@@ -23235,22 +23235,22 @@ function createResourceRequest$H(config) {
|
|
|
23235
23235
|
};
|
|
23236
23236
|
}
|
|
23237
23237
|
|
|
23238
|
-
const adapterName$
|
|
23238
|
+
const adapterName$y = 'getListObjectInfo';
|
|
23239
23239
|
const getListObjectInfo_ConfigPropertyMetadata = [
|
|
23240
23240
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
|
|
23241
23241
|
];
|
|
23242
|
-
const getListObjectInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
23242
|
+
const getListObjectInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$y, getListObjectInfo_ConfigPropertyMetadata);
|
|
23243
23243
|
const createResourceParams$C = /*#__PURE__*/ createResourceParams$16(getListObjectInfo_ConfigPropertyMetadata);
|
|
23244
23244
|
function keyBuilder$2o(luvio, config) {
|
|
23245
23245
|
const resourceParams = createResourceParams$C(config);
|
|
23246
23246
|
return keyBuilder$2p(luvio, resourceParams);
|
|
23247
23247
|
}
|
|
23248
|
-
function typeCheckConfig$
|
|
23248
|
+
function typeCheckConfig$F(untrustedConfig) {
|
|
23249
23249
|
const config = {};
|
|
23250
|
-
typeCheckConfig$
|
|
23250
|
+
typeCheckConfig$1a(untrustedConfig, config, getListObjectInfo_ConfigPropertyMetadata);
|
|
23251
23251
|
return config;
|
|
23252
23252
|
}
|
|
23253
|
-
function validateAdapterConfig$
|
|
23253
|
+
function validateAdapterConfig$G(untrustedConfig, configPropertyNames) {
|
|
23254
23254
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
23255
23255
|
return null;
|
|
23256
23256
|
}
|
|
@@ -23258,7 +23258,7 @@ function validateAdapterConfig$I(untrustedConfig, configPropertyNames) {
|
|
|
23258
23258
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
23259
23259
|
}
|
|
23260
23260
|
const coercedConfig = coerceConfig$1(untrustedConfig, getListObjectInfo_ConfigPropertyMetadata);
|
|
23261
|
-
const config = typeCheckConfig$
|
|
23261
|
+
const config = typeCheckConfig$F(coercedConfig);
|
|
23262
23262
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
23263
23263
|
return null;
|
|
23264
23264
|
}
|
|
@@ -23284,7 +23284,7 @@ function onFetchResponseError$r(luvio, config, resourceParams, response) {
|
|
|
23284
23284
|
}
|
|
23285
23285
|
function buildNetworkSnapshot$G(luvio, config, options) {
|
|
23286
23286
|
const resourceParams = createResourceParams$C(config);
|
|
23287
|
-
const request = createResourceRequest$
|
|
23287
|
+
const request = createResourceRequest$I(resourceParams);
|
|
23288
23288
|
return luvio.dispatchResourceRequest(request, options)
|
|
23289
23289
|
.then((response) => {
|
|
23290
23290
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$r(luvio, config, resourceParams, response), () => {
|
|
@@ -23313,7 +23313,7 @@ function buildCachedSnapshotCachePolicy$u(context, storeLookup) {
|
|
|
23313
23313
|
return cacheSnapshot;
|
|
23314
23314
|
}
|
|
23315
23315
|
const getListObjectInfoAdapterFactory = (luvio) => function UiApi__getListObjectInfo(untrustedConfig, requestContext) {
|
|
23316
|
-
const config = validateAdapterConfig$
|
|
23316
|
+
const config = validateAdapterConfig$G(untrustedConfig, getListObjectInfo_ConfigPropertyNames);
|
|
23317
23317
|
// Invalid or incomplete config
|
|
23318
23318
|
if (config === null) {
|
|
23319
23319
|
return null;
|
|
@@ -23530,7 +23530,7 @@ function ingestError$o(luvio, params, error, snapshotRefresh) {
|
|
|
23530
23530
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
23531
23531
|
return errorSnapshot;
|
|
23532
23532
|
}
|
|
23533
|
-
function createResourceRequest$
|
|
23533
|
+
function createResourceRequest$H(config) {
|
|
23534
23534
|
const headers = {};
|
|
23535
23535
|
return {
|
|
23536
23536
|
baseUri: '/services/data/v63.0',
|
|
@@ -23544,23 +23544,23 @@ function createResourceRequest$G(config) {
|
|
|
23544
23544
|
};
|
|
23545
23545
|
}
|
|
23546
23546
|
|
|
23547
|
-
const adapterName$
|
|
23547
|
+
const adapterName$x = 'getListPreferences';
|
|
23548
23548
|
const getListPreferences_ConfigPropertyMetadata = [
|
|
23549
23549
|
generateParamConfigMetadata('listViewApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
23550
23550
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
|
|
23551
23551
|
];
|
|
23552
|
-
const getListPreferences_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
23552
|
+
const getListPreferences_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$x, getListPreferences_ConfigPropertyMetadata);
|
|
23553
23553
|
const createResourceParams$B = /*#__PURE__*/ createResourceParams$16(getListPreferences_ConfigPropertyMetadata);
|
|
23554
23554
|
function keyBuilder$2l(luvio, config) {
|
|
23555
23555
|
const resourceParams = createResourceParams$B(config);
|
|
23556
23556
|
return keyBuilder$2m(luvio, resourceParams);
|
|
23557
23557
|
}
|
|
23558
|
-
function typeCheckConfig$
|
|
23558
|
+
function typeCheckConfig$E(untrustedConfig) {
|
|
23559
23559
|
const config = {};
|
|
23560
|
-
typeCheckConfig$
|
|
23560
|
+
typeCheckConfig$1a(untrustedConfig, config, getListPreferences_ConfigPropertyMetadata);
|
|
23561
23561
|
return config;
|
|
23562
23562
|
}
|
|
23563
|
-
function validateAdapterConfig$
|
|
23563
|
+
function validateAdapterConfig$F(untrustedConfig, configPropertyNames) {
|
|
23564
23564
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
23565
23565
|
return null;
|
|
23566
23566
|
}
|
|
@@ -23568,7 +23568,7 @@ function validateAdapterConfig$H(untrustedConfig, configPropertyNames) {
|
|
|
23568
23568
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
23569
23569
|
}
|
|
23570
23570
|
const coercedConfig = coerceConfig$1(untrustedConfig, getListPreferences_ConfigPropertyMetadata);
|
|
23571
|
-
const config = typeCheckConfig$
|
|
23571
|
+
const config = typeCheckConfig$E(coercedConfig);
|
|
23572
23572
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
23573
23573
|
return null;
|
|
23574
23574
|
}
|
|
@@ -23594,7 +23594,7 @@ function onFetchResponseError$q(luvio, config, resourceParams, response) {
|
|
|
23594
23594
|
}
|
|
23595
23595
|
function buildNetworkSnapshot$F(luvio, config, options) {
|
|
23596
23596
|
const resourceParams = createResourceParams$B(config);
|
|
23597
|
-
const request = createResourceRequest$
|
|
23597
|
+
const request = createResourceRequest$H(resourceParams);
|
|
23598
23598
|
return luvio.dispatchResourceRequest(request, options)
|
|
23599
23599
|
.then((response) => {
|
|
23600
23600
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$q(luvio, config, resourceParams, response), () => {
|
|
@@ -23623,7 +23623,7 @@ function buildCachedSnapshotCachePolicy$t(context, storeLookup) {
|
|
|
23623
23623
|
return cacheSnapshot;
|
|
23624
23624
|
}
|
|
23625
23625
|
const getListPreferencesAdapterFactory = (luvio) => function UiApi__getListPreferences(untrustedConfig, requestContext) {
|
|
23626
|
-
const config = validateAdapterConfig$
|
|
23626
|
+
const config = validateAdapterConfig$F(untrustedConfig, getListPreferences_ConfigPropertyNames);
|
|
23627
23627
|
// Invalid or incomplete config
|
|
23628
23628
|
if (config === null) {
|
|
23629
23629
|
return null;
|
|
@@ -23674,7 +23674,7 @@ function ingestSuccess$u(luvio, resourceParams, response) {
|
|
|
23674
23674
|
deepFreeze(snapshot.data);
|
|
23675
23675
|
return snapshot;
|
|
23676
23676
|
}
|
|
23677
|
-
function createResourceRequest$
|
|
23677
|
+
function createResourceRequest$G(config) {
|
|
23678
23678
|
const headers = {};
|
|
23679
23679
|
return {
|
|
23680
23680
|
baseUri: '/services/data/v63.0',
|
|
@@ -23688,7 +23688,7 @@ function createResourceRequest$F(config) {
|
|
|
23688
23688
|
};
|
|
23689
23689
|
}
|
|
23690
23690
|
|
|
23691
|
-
const adapterName$
|
|
23691
|
+
const adapterName$w = 'updateListPreferences';
|
|
23692
23692
|
const updateListPreferences_ConfigPropertyMetadata = [
|
|
23693
23693
|
generateParamConfigMetadata('listViewApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
23694
23694
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
|
|
@@ -23696,11 +23696,11 @@ const updateListPreferences_ConfigPropertyMetadata = [
|
|
|
23696
23696
|
generateParamConfigMetadata('columnWrap', false, 2 /* Body */, 4 /* Unsupported */),
|
|
23697
23697
|
generateParamConfigMetadata('orderedBy', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
23698
23698
|
];
|
|
23699
|
-
const updateListPreferences_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
23699
|
+
const updateListPreferences_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$w, updateListPreferences_ConfigPropertyMetadata);
|
|
23700
23700
|
const createResourceParams$A = /*#__PURE__*/ createResourceParams$16(updateListPreferences_ConfigPropertyMetadata);
|
|
23701
|
-
function typeCheckConfig$
|
|
23701
|
+
function typeCheckConfig$D(untrustedConfig) {
|
|
23702
23702
|
const config = {};
|
|
23703
|
-
typeCheckConfig$
|
|
23703
|
+
typeCheckConfig$1a(untrustedConfig, config, updateListPreferences_ConfigPropertyMetadata);
|
|
23704
23704
|
const untrustedConfig_columnWidths = untrustedConfig.columnWidths;
|
|
23705
23705
|
if (untrustedIsObject(untrustedConfig_columnWidths)) {
|
|
23706
23706
|
const untrustedConfig_columnWidths_object = {};
|
|
@@ -23749,7 +23749,7 @@ function typeCheckConfig$F(untrustedConfig) {
|
|
|
23749
23749
|
}
|
|
23750
23750
|
return config;
|
|
23751
23751
|
}
|
|
23752
|
-
function validateAdapterConfig$
|
|
23752
|
+
function validateAdapterConfig$E(untrustedConfig, configPropertyNames) {
|
|
23753
23753
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
23754
23754
|
return null;
|
|
23755
23755
|
}
|
|
@@ -23757,7 +23757,7 @@ function validateAdapterConfig$G(untrustedConfig, configPropertyNames) {
|
|
|
23757
23757
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
23758
23758
|
}
|
|
23759
23759
|
const coercedConfig = coerceConfig$1(untrustedConfig, updateListPreferences_ConfigPropertyMetadata);
|
|
23760
|
-
const config = typeCheckConfig$
|
|
23760
|
+
const config = typeCheckConfig$D(coercedConfig);
|
|
23761
23761
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
23762
23762
|
return null;
|
|
23763
23763
|
}
|
|
@@ -23765,7 +23765,7 @@ function validateAdapterConfig$G(untrustedConfig, configPropertyNames) {
|
|
|
23765
23765
|
}
|
|
23766
23766
|
function buildNetworkSnapshot$E(luvio, config, options) {
|
|
23767
23767
|
const resourceParams = createResourceParams$A(config);
|
|
23768
|
-
const request = createResourceRequest$
|
|
23768
|
+
const request = createResourceRequest$G(resourceParams);
|
|
23769
23769
|
return luvio.dispatchResourceRequest(request, options)
|
|
23770
23770
|
.then((response) => {
|
|
23771
23771
|
return luvio.handleSuccessResponse(() => {
|
|
@@ -23783,7 +23783,7 @@ function buildNetworkSnapshot$E(luvio, config, options) {
|
|
|
23783
23783
|
}
|
|
23784
23784
|
const updateListPreferencesAdapterFactory = (luvio) => {
|
|
23785
23785
|
return function updateListPreferences(untrustedConfig) {
|
|
23786
|
-
const config = validateAdapterConfig$
|
|
23786
|
+
const config = validateAdapterConfig$E(untrustedConfig, updateListPreferences_ConfigPropertyNames);
|
|
23787
23787
|
// Invalid or incomplete config
|
|
23788
23788
|
if (config === null) {
|
|
23789
23789
|
throw new Error('Invalid config for "updateListPreferences"');
|
|
@@ -23984,7 +23984,7 @@ function ingestError$n(luvio, params, error, snapshotRefresh) {
|
|
|
23984
23984
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
23985
23985
|
return errorSnapshot;
|
|
23986
23986
|
}
|
|
23987
|
-
function createResourceRequest$
|
|
23987
|
+
function createResourceRequest$F(config) {
|
|
23988
23988
|
const headers = {};
|
|
23989
23989
|
return {
|
|
23990
23990
|
baseUri: '/services/data/v63.0',
|
|
@@ -23998,25 +23998,25 @@ function createResourceRequest$E(config) {
|
|
|
23998
23998
|
};
|
|
23999
23999
|
}
|
|
24000
24000
|
|
|
24001
|
-
const adapterName$
|
|
24001
|
+
const adapterName$v = 'getNavItems';
|
|
24002
24002
|
const getNavItems_ConfigPropertyMetadata = [
|
|
24003
24003
|
generateParamConfigMetadata('formFactor', false, 1 /* QueryParameter */, 0 /* String */, false, coerceFormFactor),
|
|
24004
24004
|
generateParamConfigMetadata('navItemNames', false, 1 /* QueryParameter */, 0 /* String */, true),
|
|
24005
24005
|
generateParamConfigMetadata('page', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
24006
24006
|
generateParamConfigMetadata('pageSize', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
24007
24007
|
];
|
|
24008
|
-
const getNavItems_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
24008
|
+
const getNavItems_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$v, getNavItems_ConfigPropertyMetadata);
|
|
24009
24009
|
const createResourceParams$z = /*#__PURE__*/ createResourceParams$16(getNavItems_ConfigPropertyMetadata);
|
|
24010
24010
|
function keyBuilder$2j(luvio, config) {
|
|
24011
24011
|
const resourceParams = createResourceParams$z(config);
|
|
24012
24012
|
return keyBuilder$2k(luvio, resourceParams);
|
|
24013
24013
|
}
|
|
24014
|
-
function typeCheckConfig$
|
|
24014
|
+
function typeCheckConfig$C(untrustedConfig) {
|
|
24015
24015
|
const config = {};
|
|
24016
|
-
typeCheckConfig$
|
|
24016
|
+
typeCheckConfig$1a(untrustedConfig, config, getNavItems_ConfigPropertyMetadata);
|
|
24017
24017
|
return config;
|
|
24018
24018
|
}
|
|
24019
|
-
function validateAdapterConfig$
|
|
24019
|
+
function validateAdapterConfig$D(untrustedConfig, configPropertyNames) {
|
|
24020
24020
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
24021
24021
|
return null;
|
|
24022
24022
|
}
|
|
@@ -24024,7 +24024,7 @@ function validateAdapterConfig$F(untrustedConfig, configPropertyNames) {
|
|
|
24024
24024
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
24025
24025
|
}
|
|
24026
24026
|
const coercedConfig = coerceConfig$1(untrustedConfig, getNavItems_ConfigPropertyMetadata);
|
|
24027
|
-
const config = typeCheckConfig$
|
|
24027
|
+
const config = typeCheckConfig$C(coercedConfig);
|
|
24028
24028
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
24029
24029
|
return null;
|
|
24030
24030
|
}
|
|
@@ -24050,7 +24050,7 @@ function onFetchResponseError$p(luvio, config, resourceParams, response) {
|
|
|
24050
24050
|
}
|
|
24051
24051
|
function buildNetworkSnapshot$D(luvio, config, options) {
|
|
24052
24052
|
const resourceParams = createResourceParams$z(config);
|
|
24053
|
-
const request = createResourceRequest$
|
|
24053
|
+
const request = createResourceRequest$F(resourceParams);
|
|
24054
24054
|
return luvio.dispatchResourceRequest(request, options)
|
|
24055
24055
|
.then((response) => {
|
|
24056
24056
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$p(luvio, config, resourceParams, response), () => {
|
|
@@ -24079,7 +24079,7 @@ function buildCachedSnapshotCachePolicy$s(context, storeLookup) {
|
|
|
24079
24079
|
return cacheSnapshot;
|
|
24080
24080
|
}
|
|
24081
24081
|
const getNavItemsAdapterFactory = (luvio) => function UiApi__getNavItems(untrustedConfig, requestContext) {
|
|
24082
|
-
const config = validateAdapterConfig$
|
|
24082
|
+
const config = validateAdapterConfig$D(untrustedConfig, getNavItems_ConfigPropertyNames);
|
|
24083
24083
|
// Invalid or incomplete config
|
|
24084
24084
|
if (config === null) {
|
|
24085
24085
|
return null;
|
|
@@ -24120,7 +24120,7 @@ function ingestError$m(luvio, params, error, snapshotRefresh) {
|
|
|
24120
24120
|
luvio.storeIngestError(key, errorSnapshot);
|
|
24121
24121
|
return errorSnapshot;
|
|
24122
24122
|
}
|
|
24123
|
-
function createResourceRequest$
|
|
24123
|
+
function createResourceRequest$E(config) {
|
|
24124
24124
|
const headers = {};
|
|
24125
24125
|
return {
|
|
24126
24126
|
baseUri: '/services/data/v63.0',
|
|
@@ -24134,26 +24134,26 @@ function createResourceRequest$D(config) {
|
|
|
24134
24134
|
};
|
|
24135
24135
|
}
|
|
24136
24136
|
|
|
24137
|
-
const adapterName$
|
|
24137
|
+
const adapterName$u = 'getObjectInfoDirectory';
|
|
24138
24138
|
const getObjectInfoDirectory_ConfigPropertyMetadata = [];
|
|
24139
|
-
const getObjectInfoDirectory_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
24139
|
+
const getObjectInfoDirectory_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$u, getObjectInfoDirectory_ConfigPropertyMetadata);
|
|
24140
24140
|
const createResourceParams$y = /*#__PURE__*/ createResourceParams$16(getObjectInfoDirectory_ConfigPropertyMetadata);
|
|
24141
24141
|
function keyBuilder$2h(luvio, config) {
|
|
24142
24142
|
createResourceParams$y(config);
|
|
24143
24143
|
return keyBuilder$2i();
|
|
24144
24144
|
}
|
|
24145
|
-
function typeCheckConfig$
|
|
24145
|
+
function typeCheckConfig$B(untrustedConfig) {
|
|
24146
24146
|
const config = {};
|
|
24147
24147
|
return config;
|
|
24148
24148
|
}
|
|
24149
|
-
function validateAdapterConfig$
|
|
24149
|
+
function validateAdapterConfig$C(untrustedConfig, configPropertyNames) {
|
|
24150
24150
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
24151
24151
|
return null;
|
|
24152
24152
|
}
|
|
24153
24153
|
if (process.env.NODE_ENV !== 'production') {
|
|
24154
24154
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
24155
24155
|
}
|
|
24156
|
-
const config = typeCheckConfig$
|
|
24156
|
+
const config = typeCheckConfig$B();
|
|
24157
24157
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
24158
24158
|
return null;
|
|
24159
24159
|
}
|
|
@@ -24179,7 +24179,7 @@ function onFetchResponseError$o(luvio, config, resourceParams, response) {
|
|
|
24179
24179
|
}
|
|
24180
24180
|
function buildNetworkSnapshot$C(luvio, config, options) {
|
|
24181
24181
|
const resourceParams = createResourceParams$y(config);
|
|
24182
|
-
const request = createResourceRequest$
|
|
24182
|
+
const request = createResourceRequest$E();
|
|
24183
24183
|
return luvio.dispatchResourceRequest(request, options)
|
|
24184
24184
|
.then((response) => {
|
|
24185
24185
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$o(luvio, config, resourceParams, response), () => {
|
|
@@ -24208,7 +24208,7 @@ function buildCachedSnapshotCachePolicy$r(context, storeLookup) {
|
|
|
24208
24208
|
return cacheSnapshot;
|
|
24209
24209
|
}
|
|
24210
24210
|
const getObjectInfoDirectoryAdapterFactory = (luvio) => function UiApi__getObjectInfoDirectory(untrustedConfig, requestContext) {
|
|
24211
|
-
const config = validateAdapterConfig$
|
|
24211
|
+
const config = validateAdapterConfig$C(untrustedConfig, getObjectInfoDirectory_ConfigPropertyNames);
|
|
24212
24212
|
// Invalid or incomplete config
|
|
24213
24213
|
if (config === null) {
|
|
24214
24214
|
return null;
|
|
@@ -24465,7 +24465,7 @@ function ingestError$l(luvio, params, error, snapshotRefresh) {
|
|
|
24465
24465
|
luvio.storeIngestError(key, errorSnapshot);
|
|
24466
24466
|
return errorSnapshot;
|
|
24467
24467
|
}
|
|
24468
|
-
function createResourceRequest$
|
|
24468
|
+
function createResourceRequest$D(config) {
|
|
24469
24469
|
const headers = {};
|
|
24470
24470
|
return {
|
|
24471
24471
|
baseUri: '/services/data/v63.0',
|
|
@@ -24479,22 +24479,22 @@ function createResourceRequest$C(config) {
|
|
|
24479
24479
|
};
|
|
24480
24480
|
}
|
|
24481
24481
|
|
|
24482
|
-
const adapterName$
|
|
24482
|
+
const adapterName$t = 'getObjectInfos';
|
|
24483
24483
|
const getObjectInfos_ConfigPropertyMetadata = [
|
|
24484
24484
|
generateParamConfigMetadata('objectApiNames', true, 0 /* UrlParameter */, 0 /* String */, true, getObjectApiNamesArray),
|
|
24485
24485
|
];
|
|
24486
|
-
const getObjectInfos_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
24486
|
+
const getObjectInfos_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$t, getObjectInfos_ConfigPropertyMetadata);
|
|
24487
24487
|
const createResourceParams$x = /*#__PURE__*/ createResourceParams$16(getObjectInfos_ConfigPropertyMetadata);
|
|
24488
24488
|
function keyBuilder$2f(luvio, config) {
|
|
24489
24489
|
const resourceParams = createResourceParams$x(config);
|
|
24490
24490
|
return keyBuilder$2g(luvio, resourceParams);
|
|
24491
24491
|
}
|
|
24492
|
-
function typeCheckConfig$
|
|
24492
|
+
function typeCheckConfig$A(untrustedConfig) {
|
|
24493
24493
|
const config = {};
|
|
24494
|
-
typeCheckConfig$
|
|
24494
|
+
typeCheckConfig$1a(untrustedConfig, config, getObjectInfos_ConfigPropertyMetadata);
|
|
24495
24495
|
return config;
|
|
24496
24496
|
}
|
|
24497
|
-
function validateAdapterConfig$
|
|
24497
|
+
function validateAdapterConfig$B(untrustedConfig, configPropertyNames) {
|
|
24498
24498
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
24499
24499
|
return null;
|
|
24500
24500
|
}
|
|
@@ -24502,7 +24502,7 @@ function validateAdapterConfig$D(untrustedConfig, configPropertyNames) {
|
|
|
24502
24502
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
24503
24503
|
}
|
|
24504
24504
|
const coercedConfig = coerceConfig$1(untrustedConfig, getObjectInfos_ConfigPropertyMetadata);
|
|
24505
|
-
const config = typeCheckConfig$
|
|
24505
|
+
const config = typeCheckConfig$A(coercedConfig);
|
|
24506
24506
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
24507
24507
|
return null;
|
|
24508
24508
|
}
|
|
@@ -24528,7 +24528,7 @@ function onFetchResponseError$n(luvio, config, resourceParams, response) {
|
|
|
24528
24528
|
}
|
|
24529
24529
|
function buildNetworkSnapshot$B(luvio, config, options) {
|
|
24530
24530
|
const resourceParams = createResourceParams$x(config);
|
|
24531
|
-
const request = createResourceRequest$
|
|
24531
|
+
const request = createResourceRequest$D(resourceParams);
|
|
24532
24532
|
return luvio.dispatchResourceRequest(request, options)
|
|
24533
24533
|
.then((response) => {
|
|
24534
24534
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$n(luvio, config, resourceParams, response), () => {
|
|
@@ -24557,7 +24557,7 @@ function buildCachedSnapshotCachePolicy$q(context, storeLookup) {
|
|
|
24557
24557
|
return cacheSnapshot;
|
|
24558
24558
|
}
|
|
24559
24559
|
const getObjectInfosAdapterFactory = (luvio) => function UiApi__getObjectInfos(untrustedConfig, requestContext) {
|
|
24560
|
-
const config = validateAdapterConfig$
|
|
24560
|
+
const config = validateAdapterConfig$B(untrustedConfig, getObjectInfos_ConfigPropertyNames);
|
|
24561
24561
|
// Invalid or incomplete config
|
|
24562
24562
|
if (config === null) {
|
|
24563
24563
|
return null;
|
|
@@ -25105,7 +25105,7 @@ function ingestError$k(luvio, params, error, snapshotRefresh) {
|
|
|
25105
25105
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
25106
25106
|
return errorSnapshot;
|
|
25107
25107
|
}
|
|
25108
|
-
function createResourceRequest$
|
|
25108
|
+
function createResourceRequest$C(config) {
|
|
25109
25109
|
const headers = {};
|
|
25110
25110
|
return {
|
|
25111
25111
|
baseUri: '/services/data/v63.0',
|
|
@@ -25119,23 +25119,23 @@ function createResourceRequest$B(config) {
|
|
|
25119
25119
|
};
|
|
25120
25120
|
}
|
|
25121
25121
|
|
|
25122
|
-
const adapterName$
|
|
25122
|
+
const adapterName$s = 'getPicklistValuesByRecordType';
|
|
25123
25123
|
const getPicklistValuesByRecordType_ConfigPropertyMetadata = [
|
|
25124
25124
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
|
|
25125
25125
|
generateParamConfigMetadata('recordTypeId', true, 0 /* UrlParameter */, 0 /* String */, false, getRecordId18),
|
|
25126
25126
|
];
|
|
25127
|
-
const getPicklistValuesByRecordType_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
25127
|
+
const getPicklistValuesByRecordType_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$s, getPicklistValuesByRecordType_ConfigPropertyMetadata);
|
|
25128
25128
|
const createResourceParams$w = /*#__PURE__*/ createResourceParams$16(getPicklistValuesByRecordType_ConfigPropertyMetadata);
|
|
25129
25129
|
function keyBuilder$2c(luvio, config) {
|
|
25130
25130
|
const resourceParams = createResourceParams$w(config);
|
|
25131
25131
|
return keyBuilder$2d(luvio, resourceParams);
|
|
25132
25132
|
}
|
|
25133
|
-
function typeCheckConfig$
|
|
25133
|
+
function typeCheckConfig$z(untrustedConfig) {
|
|
25134
25134
|
const config = {};
|
|
25135
|
-
typeCheckConfig$
|
|
25135
|
+
typeCheckConfig$1a(untrustedConfig, config, getPicklistValuesByRecordType_ConfigPropertyMetadata);
|
|
25136
25136
|
return config;
|
|
25137
25137
|
}
|
|
25138
|
-
function validateAdapterConfig$
|
|
25138
|
+
function validateAdapterConfig$A(untrustedConfig, configPropertyNames) {
|
|
25139
25139
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
25140
25140
|
return null;
|
|
25141
25141
|
}
|
|
@@ -25143,7 +25143,7 @@ function validateAdapterConfig$C(untrustedConfig, configPropertyNames) {
|
|
|
25143
25143
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
25144
25144
|
}
|
|
25145
25145
|
const coercedConfig = coerceConfig$1(untrustedConfig, getPicklistValuesByRecordType_ConfigPropertyMetadata);
|
|
25146
|
-
const config = typeCheckConfig$
|
|
25146
|
+
const config = typeCheckConfig$z(coercedConfig);
|
|
25147
25147
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
25148
25148
|
return null;
|
|
25149
25149
|
}
|
|
@@ -25169,7 +25169,7 @@ function onFetchResponseError$m(luvio, config, resourceParams, response) {
|
|
|
25169
25169
|
}
|
|
25170
25170
|
function buildNetworkSnapshot$A(luvio, config, options) {
|
|
25171
25171
|
const resourceParams = createResourceParams$w(config);
|
|
25172
|
-
const request = createResourceRequest$
|
|
25172
|
+
const request = createResourceRequest$C(resourceParams);
|
|
25173
25173
|
return luvio.dispatchResourceRequest(request, options)
|
|
25174
25174
|
.then((response) => {
|
|
25175
25175
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$m(luvio, config, resourceParams, response), () => {
|
|
@@ -25198,7 +25198,7 @@ function buildCachedSnapshotCachePolicy$p(context, storeLookup) {
|
|
|
25198
25198
|
return cacheSnapshot;
|
|
25199
25199
|
}
|
|
25200
25200
|
const getPicklistValuesByRecordTypeAdapterFactory = (luvio) => function UiApi__getPicklistValuesByRecordType(untrustedConfig, requestContext) {
|
|
25201
|
-
const config = validateAdapterConfig$
|
|
25201
|
+
const config = validateAdapterConfig$A(untrustedConfig, getPicklistValuesByRecordType_ConfigPropertyNames);
|
|
25202
25202
|
// Invalid or incomplete config
|
|
25203
25203
|
if (config === null) {
|
|
25204
25204
|
return null;
|
|
@@ -25210,7 +25210,7 @@ const getPicklistValuesByRecordTypeAdapterFactory = (luvio) => function UiApi__g
|
|
|
25210
25210
|
function getResponseCacheKeys$w(storeKeyMap, luvio, resourceParams, response) {
|
|
25211
25211
|
getTypeCacheKeys$1O(storeKeyMap, luvio, response);
|
|
25212
25212
|
}
|
|
25213
|
-
function createResourceRequest$
|
|
25213
|
+
function createResourceRequest$B(config) {
|
|
25214
25214
|
const headers = {};
|
|
25215
25215
|
return {
|
|
25216
25216
|
baseUri: '/services/data/v63.0',
|
|
@@ -25241,7 +25241,7 @@ function buildRequestAndKey(luvio, config) {
|
|
|
25241
25241
|
recordTypeId,
|
|
25242
25242
|
},
|
|
25243
25243
|
};
|
|
25244
|
-
const request = createResourceRequest$
|
|
25244
|
+
const request = createResourceRequest$B(resourceParams);
|
|
25245
25245
|
const key = keyBuilder$2e(luvio, { id: request.basePath });
|
|
25246
25246
|
return { resourceParams, request, key };
|
|
25247
25247
|
}
|
|
@@ -25274,7 +25274,7 @@ function buildNetworkSnapshot$z(luvio, config, options) {
|
|
|
25274
25274
|
}
|
|
25275
25275
|
function buildCachedSnapshot$4(luvio, config) {
|
|
25276
25276
|
const fieldNames = getFieldId(config.fieldApiName);
|
|
25277
|
-
const request = createResourceRequest$
|
|
25277
|
+
const request = createResourceRequest$B({
|
|
25278
25278
|
urlParams: {
|
|
25279
25279
|
objectApiName: fieldNames.objectApiName,
|
|
25280
25280
|
fieldApiName: fieldNames.fieldApiName,
|
|
@@ -25313,7 +25313,7 @@ function buildNetworkSnapshotCachePolicy$p(context, coercedAdapterRequestContext
|
|
|
25313
25313
|
function buildCachedSnapshotCachePolicy$o(context, storeLookup) {
|
|
25314
25314
|
const { config, luvio } = context;
|
|
25315
25315
|
const fieldNames = getFieldId(config.fieldApiName);
|
|
25316
|
-
const { basePath } = createResourceRequest$
|
|
25316
|
+
const { basePath } = createResourceRequest$B({
|
|
25317
25317
|
urlParams: {
|
|
25318
25318
|
objectApiName: fieldNames.objectApiName,
|
|
25319
25319
|
fieldApiName: fieldNames.fieldApiName,
|
|
@@ -25339,8 +25339,8 @@ const picklistValuesConfigPropertyNames = {
|
|
|
25339
25339
|
optional: [],
|
|
25340
25340
|
},
|
|
25341
25341
|
};
|
|
25342
|
-
function validateAdapterConfig$
|
|
25343
|
-
return validateAdapterConfig$
|
|
25342
|
+
function validateAdapterConfig$z(untrusted, _config) {
|
|
25343
|
+
return validateAdapterConfig$y(untrusted, picklistValuesConfigPropertyNames);
|
|
25344
25344
|
}
|
|
25345
25345
|
|
|
25346
25346
|
const getPicklistValues_ConfigPropertyMetadata = [
|
|
@@ -25348,12 +25348,12 @@ const getPicklistValues_ConfigPropertyMetadata = [
|
|
|
25348
25348
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
25349
25349
|
generateParamConfigMetadata('recordTypeId', true, 0 /* UrlParameter */, 0 /* String */, false, getRecordId18),
|
|
25350
25350
|
];
|
|
25351
|
-
function typeCheckConfig$
|
|
25351
|
+
function typeCheckConfig$y(untrustedConfig) {
|
|
25352
25352
|
const config = {};
|
|
25353
|
-
typeCheckConfig$
|
|
25353
|
+
typeCheckConfig$1a(untrustedConfig, config, getPicklistValues_ConfigPropertyMetadata);
|
|
25354
25354
|
return config;
|
|
25355
25355
|
}
|
|
25356
|
-
function validateAdapterConfig$
|
|
25356
|
+
function validateAdapterConfig$y(untrustedConfig, configPropertyNames) {
|
|
25357
25357
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
25358
25358
|
return null;
|
|
25359
25359
|
}
|
|
@@ -25361,14 +25361,14 @@ function validateAdapterConfig$A(untrustedConfig, configPropertyNames) {
|
|
|
25361
25361
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
25362
25362
|
}
|
|
25363
25363
|
const coercedConfig = coerceConfig$1(untrustedConfig, getPicklistValues_ConfigPropertyMetadata);
|
|
25364
|
-
const config = typeCheckConfig$
|
|
25364
|
+
const config = typeCheckConfig$y(coercedConfig);
|
|
25365
25365
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
25366
25366
|
return null;
|
|
25367
25367
|
}
|
|
25368
25368
|
return config;
|
|
25369
25369
|
}
|
|
25370
25370
|
const getPicklistValuesAdapterFactory = (luvio) => function UiApi__getPicklistValues(untrustedConfig, requestContext) {
|
|
25371
|
-
const config = validateAdapterConfig$
|
|
25371
|
+
const config = validateAdapterConfig$z(untrustedConfig);
|
|
25372
25372
|
// Invalid or incomplete config
|
|
25373
25373
|
if (config === null) {
|
|
25374
25374
|
return null;
|
|
@@ -25422,7 +25422,7 @@ function ingestError$j(luvio, params, error, snapshotRefresh) {
|
|
|
25422
25422
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
25423
25423
|
return errorSnapshot;
|
|
25424
25424
|
}
|
|
25425
|
-
function createResourceRequest$
|
|
25425
|
+
function createResourceRequest$A(config) {
|
|
25426
25426
|
const headers = {};
|
|
25427
25427
|
return {
|
|
25428
25428
|
baseUri: '/services/data/v63.0',
|
|
@@ -25436,7 +25436,7 @@ function createResourceRequest$z(config) {
|
|
|
25436
25436
|
};
|
|
25437
25437
|
}
|
|
25438
25438
|
|
|
25439
|
-
const adapterName$
|
|
25439
|
+
const adapterName$r = 'getPathLayout';
|
|
25440
25440
|
const getPathLayout_ConfigPropertyMetadata = [
|
|
25441
25441
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
|
|
25442
25442
|
generateParamConfigMetadata('formFactor', false, 1 /* QueryParameter */, 0 /* String */),
|
|
@@ -25444,18 +25444,18 @@ const getPathLayout_ConfigPropertyMetadata = [
|
|
|
25444
25444
|
generateParamConfigMetadata('mode', false, 1 /* QueryParameter */, 0 /* String */, false, coerceLayoutMode),
|
|
25445
25445
|
generateParamConfigMetadata('recordTypeId', false, 1 /* QueryParameter */, 0 /* String */, false, getRecordId18),
|
|
25446
25446
|
];
|
|
25447
|
-
const getPathLayout_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
25447
|
+
const getPathLayout_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$r, getPathLayout_ConfigPropertyMetadata);
|
|
25448
25448
|
const createResourceParams$v = /*#__PURE__*/ createResourceParams$16(getPathLayout_ConfigPropertyMetadata);
|
|
25449
25449
|
function keyBuilder$2a(luvio, config) {
|
|
25450
25450
|
const resourceParams = createResourceParams$v(config);
|
|
25451
25451
|
return keyBuilder$2b(luvio, resourceParams);
|
|
25452
25452
|
}
|
|
25453
|
-
function typeCheckConfig$
|
|
25453
|
+
function typeCheckConfig$x(untrustedConfig) {
|
|
25454
25454
|
const config = {};
|
|
25455
|
-
typeCheckConfig$
|
|
25455
|
+
typeCheckConfig$1a(untrustedConfig, config, getPathLayout_ConfigPropertyMetadata);
|
|
25456
25456
|
return config;
|
|
25457
25457
|
}
|
|
25458
|
-
function validateAdapterConfig$
|
|
25458
|
+
function validateAdapterConfig$x(untrustedConfig, configPropertyNames) {
|
|
25459
25459
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
25460
25460
|
return null;
|
|
25461
25461
|
}
|
|
@@ -25463,7 +25463,7 @@ function validateAdapterConfig$z(untrustedConfig, configPropertyNames) {
|
|
|
25463
25463
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
25464
25464
|
}
|
|
25465
25465
|
const coercedConfig = coerceConfig$1(untrustedConfig, getPathLayout_ConfigPropertyMetadata);
|
|
25466
|
-
const config = typeCheckConfig$
|
|
25466
|
+
const config = typeCheckConfig$x(coercedConfig);
|
|
25467
25467
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
25468
25468
|
return null;
|
|
25469
25469
|
}
|
|
@@ -25489,7 +25489,7 @@ function onFetchResponseError$l(luvio, config, resourceParams, response) {
|
|
|
25489
25489
|
}
|
|
25490
25490
|
function buildNetworkSnapshot$y(luvio, config, options) {
|
|
25491
25491
|
const resourceParams = createResourceParams$v(config);
|
|
25492
|
-
const request = createResourceRequest$
|
|
25492
|
+
const request = createResourceRequest$A(resourceParams);
|
|
25493
25493
|
return luvio.dispatchResourceRequest(request, options)
|
|
25494
25494
|
.then((response) => {
|
|
25495
25495
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$l(luvio, config, resourceParams, response), () => {
|
|
@@ -25518,7 +25518,7 @@ function buildCachedSnapshotCachePolicy$n(context, storeLookup) {
|
|
|
25518
25518
|
return cacheSnapshot;
|
|
25519
25519
|
}
|
|
25520
25520
|
const getPathLayoutAdapterFactory = (luvio) => function UiApi__getPathLayout(untrustedConfig, requestContext) {
|
|
25521
|
-
const config = validateAdapterConfig$
|
|
25521
|
+
const config = validateAdapterConfig$x(untrustedConfig, getPathLayout_ConfigPropertyNames);
|
|
25522
25522
|
// Invalid or incomplete config
|
|
25523
25523
|
if (config === null) {
|
|
25524
25524
|
return null;
|
|
@@ -25748,7 +25748,7 @@ function ingestError$i(luvio, params, error, snapshotRefresh) {
|
|
|
25748
25748
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
25749
25749
|
return errorSnapshot;
|
|
25750
25750
|
}
|
|
25751
|
-
function createResourceRequest$
|
|
25751
|
+
function createResourceRequest$z(config) {
|
|
25752
25752
|
const headers = {};
|
|
25753
25753
|
return {
|
|
25754
25754
|
baseUri: '/services/data/v63.0',
|
|
@@ -25762,21 +25762,21 @@ function createResourceRequest$y(config) {
|
|
|
25762
25762
|
};
|
|
25763
25763
|
}
|
|
25764
25764
|
|
|
25765
|
-
const adapterName$
|
|
25765
|
+
const adapterName$q = 'getDuplicates';
|
|
25766
25766
|
const getDuplicates_ConfigPropertyMetadata = [
|
|
25767
25767
|
generateParamConfigMetadata('allowSaveOnDuplicate', false, 2 /* Body */, 1 /* Boolean */),
|
|
25768
25768
|
generateParamConfigMetadata('apiName', false, 2 /* Body */, 0 /* String */),
|
|
25769
25769
|
generateParamConfigMetadata('fields', true, 2 /* Body */, 4 /* Unsupported */),
|
|
25770
25770
|
];
|
|
25771
|
-
const getDuplicates_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
25771
|
+
const getDuplicates_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$q, getDuplicates_ConfigPropertyMetadata);
|
|
25772
25772
|
const createResourceParams$u = /*#__PURE__*/ createResourceParams$16(getDuplicates_ConfigPropertyMetadata);
|
|
25773
25773
|
function keyBuilder$28(luvio, config) {
|
|
25774
25774
|
const resourceParams = createResourceParams$u(config);
|
|
25775
25775
|
return keyBuilder$29(luvio, resourceParams);
|
|
25776
25776
|
}
|
|
25777
|
-
function typeCheckConfig$
|
|
25777
|
+
function typeCheckConfig$w(untrustedConfig) {
|
|
25778
25778
|
const config = {};
|
|
25779
|
-
typeCheckConfig$
|
|
25779
|
+
typeCheckConfig$1a(untrustedConfig, config, getDuplicates_ConfigPropertyMetadata);
|
|
25780
25780
|
const untrustedConfig_fields = untrustedConfig.fields;
|
|
25781
25781
|
if (untrustedIsObject(untrustedConfig_fields)) {
|
|
25782
25782
|
const untrustedConfig_fields_object = {};
|
|
@@ -25811,14 +25811,14 @@ function typeCheckConfig$y(untrustedConfig) {
|
|
|
25811
25811
|
}
|
|
25812
25812
|
return config;
|
|
25813
25813
|
}
|
|
25814
|
-
function validateAdapterConfig$
|
|
25814
|
+
function validateAdapterConfig$w(untrustedConfig, configPropertyNames) {
|
|
25815
25815
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
25816
25816
|
return null;
|
|
25817
25817
|
}
|
|
25818
25818
|
if (process.env.NODE_ENV !== 'production') {
|
|
25819
25819
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
25820
25820
|
}
|
|
25821
|
-
const config = typeCheckConfig$
|
|
25821
|
+
const config = typeCheckConfig$w(untrustedConfig);
|
|
25822
25822
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
25823
25823
|
return null;
|
|
25824
25824
|
}
|
|
@@ -25844,7 +25844,7 @@ function onFetchResponseError$k(luvio, config, resourceParams, response) {
|
|
|
25844
25844
|
}
|
|
25845
25845
|
function buildNetworkSnapshot$x(luvio, config, options) {
|
|
25846
25846
|
const resourceParams = createResourceParams$u(config);
|
|
25847
|
-
const request = createResourceRequest$
|
|
25847
|
+
const request = createResourceRequest$z(resourceParams);
|
|
25848
25848
|
return luvio.dispatchResourceRequest(request, options)
|
|
25849
25849
|
.then((response) => {
|
|
25850
25850
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$k(luvio, config, resourceParams, response), () => {
|
|
@@ -25873,7 +25873,7 @@ function buildCachedSnapshotCachePolicy$m(context, storeLookup) {
|
|
|
25873
25873
|
return cacheSnapshot;
|
|
25874
25874
|
}
|
|
25875
25875
|
const getDuplicatesAdapterFactory = (luvio) => function UiApi__getDuplicates(untrustedConfig, requestContext) {
|
|
25876
|
-
const config = validateAdapterConfig$
|
|
25876
|
+
const config = validateAdapterConfig$w(untrustedConfig, getDuplicates_ConfigPropertyNames);
|
|
25877
25877
|
// Invalid or incomplete config
|
|
25878
25878
|
if (config === null) {
|
|
25879
25879
|
return null;
|
|
@@ -26967,7 +26967,7 @@ function ingestError$h(luvio, params, error, snapshotRefresh) {
|
|
|
26967
26967
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
26968
26968
|
return errorSnapshot;
|
|
26969
26969
|
}
|
|
26970
|
-
function createResourceRequest$
|
|
26970
|
+
function createResourceRequest$y(config) {
|
|
26971
26971
|
const headers = {};
|
|
26972
26972
|
return {
|
|
26973
26973
|
baseUri: '/services/data/v63.0',
|
|
@@ -27074,7 +27074,7 @@ function buildNetworkSnapshot$w(luvio, config, options) {
|
|
|
27074
27074
|
if (recordIdsNotInFlight.length > 0) {
|
|
27075
27075
|
recordIdsNotInFlight.forEach((id) => IN_FLIGHT_REQUESTS.add(id));
|
|
27076
27076
|
const resourceParams = createResourceParams$t({ ...config, recordIds: recordIdsNotInFlight });
|
|
27077
|
-
const request = createResourceRequest$
|
|
27077
|
+
const request = createResourceRequest$y(resourceParams);
|
|
27078
27078
|
luvioResponse = luvio
|
|
27079
27079
|
.dispatchResourceRequest(request, options)
|
|
27080
27080
|
.then((response) => {
|
|
@@ -27171,19 +27171,19 @@ function buildNetworkSnapshotCachePolicy$m(context, coercedAdapterRequestContext
|
|
|
27171
27171
|
return buildNetworkSnapshot$w(luvio, config, dispatchOptions);
|
|
27172
27172
|
}
|
|
27173
27173
|
|
|
27174
|
-
const adapterName$
|
|
27174
|
+
const adapterName$p = 'getRecordAvatars';
|
|
27175
27175
|
const getRecordAvatars_ConfigPropertyMetadata = [
|
|
27176
27176
|
generateParamConfigMetadata('recordIds', true, 0 /* UrlParameter */, 0 /* String */, true, getRecordId18Array),
|
|
27177
27177
|
generateParamConfigMetadata('formFactor', false, 1 /* QueryParameter */, 0 /* String */, false, coerceFormFactor),
|
|
27178
27178
|
];
|
|
27179
|
-
const getRecordAvatars_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
27179
|
+
const getRecordAvatars_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$p, getRecordAvatars_ConfigPropertyMetadata);
|
|
27180
27180
|
const createResourceParams$t = /*#__PURE__*/ createResourceParams$16(getRecordAvatars_ConfigPropertyMetadata);
|
|
27181
|
-
function typeCheckConfig$
|
|
27181
|
+
function typeCheckConfig$v(untrustedConfig) {
|
|
27182
27182
|
const config = {};
|
|
27183
|
-
typeCheckConfig$
|
|
27183
|
+
typeCheckConfig$1a(untrustedConfig, config, getRecordAvatars_ConfigPropertyMetadata);
|
|
27184
27184
|
return config;
|
|
27185
27185
|
}
|
|
27186
|
-
function validateAdapterConfig$
|
|
27186
|
+
function validateAdapterConfig$v(untrustedConfig, configPropertyNames) {
|
|
27187
27187
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
27188
27188
|
return null;
|
|
27189
27189
|
}
|
|
@@ -27191,7 +27191,7 @@ function validateAdapterConfig$x(untrustedConfig, configPropertyNames) {
|
|
|
27191
27191
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
27192
27192
|
}
|
|
27193
27193
|
const coercedConfig = coerceConfig$1(untrustedConfig, getRecordAvatars_ConfigPropertyMetadata);
|
|
27194
|
-
const config = typeCheckConfig$
|
|
27194
|
+
const config = typeCheckConfig$v(coercedConfig);
|
|
27195
27195
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
27196
27196
|
return null;
|
|
27197
27197
|
}
|
|
@@ -27212,7 +27212,7 @@ function onFetchResponseError$j(luvio, config, resourceParams, response) {
|
|
|
27212
27212
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
27213
27213
|
}
|
|
27214
27214
|
const getRecordAvatarsAdapterFactory = (luvio) => function UiApi__getRecordAvatars(untrustedConfig, requestContext) {
|
|
27215
|
-
const config = validateAdapterConfig$
|
|
27215
|
+
const config = validateAdapterConfig$v(untrustedConfig, getRecordAvatars_ConfigPropertyNames);
|
|
27216
27216
|
// Invalid or incomplete config
|
|
27217
27217
|
if (config === null) {
|
|
27218
27218
|
return null;
|
|
@@ -27261,7 +27261,7 @@ function coerceConfig(config) {
|
|
|
27261
27261
|
}
|
|
27262
27262
|
return coercedRecordsConfig;
|
|
27263
27263
|
}
|
|
27264
|
-
function typeCheckConfig$
|
|
27264
|
+
function typeCheckConfig$u(untrustedConfig) {
|
|
27265
27265
|
const coercedConfig = coerceConfig(untrustedConfig);
|
|
27266
27266
|
const config = {};
|
|
27267
27267
|
const untrustedConfigs_records = coercedConfig.records;
|
|
@@ -27343,14 +27343,14 @@ function validateFieldsObjectApiName(config) {
|
|
|
27343
27343
|
}
|
|
27344
27344
|
}
|
|
27345
27345
|
}
|
|
27346
|
-
function validateAdapterConfig$
|
|
27346
|
+
function validateAdapterConfig$u(untrustedConfig, configPropertyNames) {
|
|
27347
27347
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
27348
27348
|
return null;
|
|
27349
27349
|
}
|
|
27350
27350
|
if (process.env.NODE_ENV !== 'production') {
|
|
27351
27351
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
27352
27352
|
}
|
|
27353
|
-
const config = typeCheckConfig$
|
|
27353
|
+
const config = typeCheckConfig$u(untrustedConfig);
|
|
27354
27354
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
27355
27355
|
return null;
|
|
27356
27356
|
}
|
|
@@ -27382,7 +27382,7 @@ function onFetchResponseError$i(luvio, config, resourceParams, response) {
|
|
|
27382
27382
|
}
|
|
27383
27383
|
function buildNetworkSnapshot$v(luvio, config, options) {
|
|
27384
27384
|
const resourceParams = createResourceParams$14(config);
|
|
27385
|
-
const request = createResourceRequest$
|
|
27385
|
+
const request = createResourceRequest$1f(resourceParams);
|
|
27386
27386
|
return luvio.dispatchResourceRequest(request, options)
|
|
27387
27387
|
.then((response) => {
|
|
27388
27388
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$S(luvio, config, resourceParams, response), () => {
|
|
@@ -27411,7 +27411,7 @@ function buildCachedSnapshotCachePolicy$k(context, storeLookup) {
|
|
|
27411
27411
|
return cacheSnapshot;
|
|
27412
27412
|
}
|
|
27413
27413
|
const getRecordsAdapterFactory = (luvio) => function UiApi__getRecords(untrustedConfig, requestContext) {
|
|
27414
|
-
const config = validateAdapterConfig$
|
|
27414
|
+
const config = validateAdapterConfig$u(untrustedConfig, getRecords_ConfigPropertyNames);
|
|
27415
27415
|
// Invalid or incomplete config
|
|
27416
27416
|
if (config === null) {
|
|
27417
27417
|
return null;
|
|
@@ -27831,7 +27831,7 @@ function ingestError$g(luvio, params, error, snapshotRefresh) {
|
|
|
27831
27831
|
luvio.storeIngestError(key, errorSnapshot);
|
|
27832
27832
|
return errorSnapshot;
|
|
27833
27833
|
}
|
|
27834
|
-
function createResourceRequest$
|
|
27834
|
+
function createResourceRequest$x(config) {
|
|
27835
27835
|
const headers = {};
|
|
27836
27836
|
return {
|
|
27837
27837
|
baseUri: '/services/data/v63.0',
|
|
@@ -28096,7 +28096,7 @@ function ingestError$f(luvio, params, error, snapshotRefresh) {
|
|
|
28096
28096
|
luvio.storeIngestError(key, errorSnapshot);
|
|
28097
28097
|
return errorSnapshot;
|
|
28098
28098
|
}
|
|
28099
|
-
function createResourceRequest$
|
|
28099
|
+
function createResourceRequest$w(config) {
|
|
28100
28100
|
const headers = {};
|
|
28101
28101
|
return {
|
|
28102
28102
|
baseUri: '/services/data/v63.0',
|
|
@@ -28110,24 +28110,24 @@ function createResourceRequest$v(config) {
|
|
|
28110
28110
|
};
|
|
28111
28111
|
}
|
|
28112
28112
|
|
|
28113
|
-
const adapterName$
|
|
28113
|
+
const adapterName$o = 'getRelatedListsCount';
|
|
28114
28114
|
const getRelatedListsCount_ConfigPropertyMetadata = [
|
|
28115
28115
|
generateParamConfigMetadata('parentRecordId', true, 0 /* UrlParameter */, 0 /* String */, false, getRecordId18),
|
|
28116
28116
|
generateParamConfigMetadata('relatedListNames', true, 0 /* UrlParameter */, 0 /* String */, true, getFieldApiNamesArray),
|
|
28117
28117
|
generateParamConfigMetadata('maxCount', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
28118
28118
|
];
|
|
28119
|
-
const getRelatedListsCount_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
28119
|
+
const getRelatedListsCount_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$o, getRelatedListsCount_ConfigPropertyMetadata);
|
|
28120
28120
|
const createResourceParams$s = /*#__PURE__*/ createResourceParams$16(getRelatedListsCount_ConfigPropertyMetadata);
|
|
28121
28121
|
function keyBuilder$21(luvio, config) {
|
|
28122
28122
|
const resourceParams = createResourceParams$s(config);
|
|
28123
28123
|
return keyBuilder$22(luvio, resourceParams);
|
|
28124
28124
|
}
|
|
28125
|
-
function typeCheckConfig$
|
|
28125
|
+
function typeCheckConfig$t(untrustedConfig) {
|
|
28126
28126
|
const config = {};
|
|
28127
|
-
typeCheckConfig$
|
|
28127
|
+
typeCheckConfig$1a(untrustedConfig, config, getRelatedListsCount_ConfigPropertyMetadata);
|
|
28128
28128
|
return config;
|
|
28129
28129
|
}
|
|
28130
|
-
function validateAdapterConfig$
|
|
28130
|
+
function validateAdapterConfig$t(untrustedConfig, configPropertyNames) {
|
|
28131
28131
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
28132
28132
|
return null;
|
|
28133
28133
|
}
|
|
@@ -28135,7 +28135,7 @@ function validateAdapterConfig$v(untrustedConfig, configPropertyNames) {
|
|
|
28135
28135
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
28136
28136
|
}
|
|
28137
28137
|
const coercedConfig = coerceConfig$1(untrustedConfig, getRelatedListsCount_ConfigPropertyMetadata);
|
|
28138
|
-
const config = typeCheckConfig$
|
|
28138
|
+
const config = typeCheckConfig$t(coercedConfig);
|
|
28139
28139
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
28140
28140
|
return null;
|
|
28141
28141
|
}
|
|
@@ -28161,7 +28161,7 @@ function onFetchResponseError$h(luvio, config, resourceParams, response) {
|
|
|
28161
28161
|
}
|
|
28162
28162
|
function buildNetworkSnapshot$u(luvio, config, options) {
|
|
28163
28163
|
const resourceParams = createResourceParams$s(config);
|
|
28164
|
-
const request = createResourceRequest$
|
|
28164
|
+
const request = createResourceRequest$w(resourceParams);
|
|
28165
28165
|
return luvio.dispatchResourceRequest(request, options)
|
|
28166
28166
|
.then((response) => {
|
|
28167
28167
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$i(luvio, config, resourceParams, response), () => {
|
|
@@ -28190,7 +28190,7 @@ function buildCachedSnapshotCachePolicy$j(context, storeLookup) {
|
|
|
28190
28190
|
return cacheSnapshot;
|
|
28191
28191
|
}
|
|
28192
28192
|
const getRelatedListsCountAdapterFactory = (luvio) => function UiApi__getRelatedListsCount(untrustedConfig, requestContext) {
|
|
28193
|
-
const config = validateAdapterConfig$
|
|
28193
|
+
const config = validateAdapterConfig$t(untrustedConfig, getRelatedListsCount_ConfigPropertyNames);
|
|
28194
28194
|
// Invalid or incomplete config
|
|
28195
28195
|
if (config === null) {
|
|
28196
28196
|
return null;
|
|
@@ -28199,24 +28199,24 @@ const getRelatedListsCountAdapterFactory = (luvio) => function UiApi__getRelated
|
|
|
28199
28199
|
buildCachedSnapshotCachePolicy$j, buildNetworkSnapshotCachePolicy$k);
|
|
28200
28200
|
};
|
|
28201
28201
|
|
|
28202
|
-
const adapterName$
|
|
28202
|
+
const adapterName$n = 'getRelatedListCount';
|
|
28203
28203
|
const getRelatedListCount_ConfigPropertyMetadata = [
|
|
28204
28204
|
generateParamConfigMetadata('parentRecordId', true, 0 /* UrlParameter */, 0 /* String */, false, getRecordId18),
|
|
28205
28205
|
generateParamConfigMetadata('relatedListId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
28206
28206
|
generateParamConfigMetadata('maxCount', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
28207
28207
|
];
|
|
28208
|
-
const getRelatedListCount_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
28208
|
+
const getRelatedListCount_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$n, getRelatedListCount_ConfigPropertyMetadata);
|
|
28209
28209
|
const createResourceParams$r = /*#__PURE__*/ createResourceParams$16(getRelatedListCount_ConfigPropertyMetadata);
|
|
28210
28210
|
function keyBuilder$20(luvio, config) {
|
|
28211
28211
|
const resourceParams = createResourceParams$r(config);
|
|
28212
28212
|
return keyBuilder$23(luvio, resourceParams);
|
|
28213
28213
|
}
|
|
28214
|
-
function typeCheckConfig$
|
|
28214
|
+
function typeCheckConfig$s(untrustedConfig) {
|
|
28215
28215
|
const config = {};
|
|
28216
|
-
typeCheckConfig$
|
|
28216
|
+
typeCheckConfig$1a(untrustedConfig, config, getRelatedListCount_ConfigPropertyMetadata);
|
|
28217
28217
|
return config;
|
|
28218
28218
|
}
|
|
28219
|
-
function validateAdapterConfig$
|
|
28219
|
+
function validateAdapterConfig$s(untrustedConfig, configPropertyNames) {
|
|
28220
28220
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
28221
28221
|
return null;
|
|
28222
28222
|
}
|
|
@@ -28224,7 +28224,7 @@ function validateAdapterConfig$u(untrustedConfig, configPropertyNames) {
|
|
|
28224
28224
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
28225
28225
|
}
|
|
28226
28226
|
const coercedConfig = coerceConfig$1(untrustedConfig, getRelatedListCount_ConfigPropertyMetadata);
|
|
28227
|
-
const config = typeCheckConfig$
|
|
28227
|
+
const config = typeCheckConfig$s(coercedConfig);
|
|
28228
28228
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
28229
28229
|
return null;
|
|
28230
28230
|
}
|
|
@@ -28250,7 +28250,7 @@ function onFetchResponseError$g(luvio, config, resourceParams, response) {
|
|
|
28250
28250
|
}
|
|
28251
28251
|
function buildNetworkSnapshot$t(luvio, config, options) {
|
|
28252
28252
|
const resourceParams = createResourceParams$r(config);
|
|
28253
|
-
const request = createResourceRequest$
|
|
28253
|
+
const request = createResourceRequest$x(resourceParams);
|
|
28254
28254
|
return luvio.dispatchResourceRequest(request, options)
|
|
28255
28255
|
.then((response) => {
|
|
28256
28256
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$h(luvio, config, resourceParams, response), () => {
|
|
@@ -28279,7 +28279,7 @@ function buildCachedSnapshotCachePolicy$i(context, storeLookup) {
|
|
|
28279
28279
|
return cacheSnapshot;
|
|
28280
28280
|
}
|
|
28281
28281
|
const getRelatedListCountAdapterFactory = (luvio) => function UiApi__getRelatedListCount(untrustedConfig, requestContext) {
|
|
28282
|
-
const config = validateAdapterConfig$
|
|
28282
|
+
const config = validateAdapterConfig$s(untrustedConfig, getRelatedListCount_ConfigPropertyNames);
|
|
28283
28283
|
// Invalid or incomplete config
|
|
28284
28284
|
if (config === null) {
|
|
28285
28285
|
return null;
|
|
@@ -28790,7 +28790,7 @@ function ingestError$e(luvio, params, error, snapshotRefresh) {
|
|
|
28790
28790
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
28791
28791
|
return errorSnapshot;
|
|
28792
28792
|
}
|
|
28793
|
-
function createResourceRequest$
|
|
28793
|
+
function createResourceRequest$v(config) {
|
|
28794
28794
|
const headers = {};
|
|
28795
28795
|
return {
|
|
28796
28796
|
baseUri: '/services/data/v63.0',
|
|
@@ -29060,7 +29060,7 @@ function ingestError$d(luvio, params, error, snapshotRefresh) {
|
|
|
29060
29060
|
luvio.storeIngestError(key, errorSnapshot);
|
|
29061
29061
|
return errorSnapshot;
|
|
29062
29062
|
}
|
|
29063
|
-
function createResourceRequest$
|
|
29063
|
+
function createResourceRequest$u(config) {
|
|
29064
29064
|
const headers = {};
|
|
29065
29065
|
return {
|
|
29066
29066
|
baseUri: '/services/data/v63.0',
|
|
@@ -29074,24 +29074,24 @@ function createResourceRequest$t(config) {
|
|
|
29074
29074
|
};
|
|
29075
29075
|
}
|
|
29076
29076
|
|
|
29077
|
-
const adapterName$
|
|
29077
|
+
const adapterName$m = 'getRelatedListInfoBatch';
|
|
29078
29078
|
const getRelatedListInfoBatch_ConfigPropertyMetadata = [
|
|
29079
29079
|
generateParamConfigMetadata('parentObjectApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
|
|
29080
29080
|
generateParamConfigMetadata('relatedListNames', true, 0 /* UrlParameter */, 0 /* String */, true),
|
|
29081
29081
|
generateParamConfigMetadata('recordTypeId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
29082
29082
|
];
|
|
29083
|
-
const getRelatedListInfoBatch_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
29083
|
+
const getRelatedListInfoBatch_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$m, getRelatedListInfoBatch_ConfigPropertyMetadata);
|
|
29084
29084
|
const createResourceParams$q = /*#__PURE__*/ createResourceParams$16(getRelatedListInfoBatch_ConfigPropertyMetadata);
|
|
29085
29085
|
function keyBuilder$1Y(luvio, config) {
|
|
29086
29086
|
const resourceParams = createResourceParams$q(config);
|
|
29087
29087
|
return keyBuilder$1Z(luvio, resourceParams);
|
|
29088
29088
|
}
|
|
29089
|
-
function typeCheckConfig$
|
|
29089
|
+
function typeCheckConfig$r(untrustedConfig) {
|
|
29090
29090
|
const config = {};
|
|
29091
|
-
typeCheckConfig$
|
|
29091
|
+
typeCheckConfig$1a(untrustedConfig, config, getRelatedListInfoBatch_ConfigPropertyMetadata);
|
|
29092
29092
|
return config;
|
|
29093
29093
|
}
|
|
29094
|
-
function validateAdapterConfig$
|
|
29094
|
+
function validateAdapterConfig$r(untrustedConfig, configPropertyNames) {
|
|
29095
29095
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
29096
29096
|
return null;
|
|
29097
29097
|
}
|
|
@@ -29099,7 +29099,7 @@ function validateAdapterConfig$t(untrustedConfig, configPropertyNames) {
|
|
|
29099
29099
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
29100
29100
|
}
|
|
29101
29101
|
const coercedConfig = coerceConfig$1(untrustedConfig, getRelatedListInfoBatch_ConfigPropertyMetadata);
|
|
29102
|
-
const config = typeCheckConfig$
|
|
29102
|
+
const config = typeCheckConfig$r(coercedConfig);
|
|
29103
29103
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
29104
29104
|
return null;
|
|
29105
29105
|
}
|
|
@@ -29125,7 +29125,7 @@ function onFetchResponseError$f(luvio, config, resourceParams, response) {
|
|
|
29125
29125
|
}
|
|
29126
29126
|
function buildNetworkSnapshot$s(luvio, config, options) {
|
|
29127
29127
|
const resourceParams = createResourceParams$q(config);
|
|
29128
|
-
const request = createResourceRequest$
|
|
29128
|
+
const request = createResourceRequest$u(resourceParams);
|
|
29129
29129
|
return luvio.dispatchResourceRequest(request, options)
|
|
29130
29130
|
.then((response) => {
|
|
29131
29131
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$g(luvio, config, resourceParams, response), () => {
|
|
@@ -29154,7 +29154,7 @@ function buildCachedSnapshotCachePolicy$h(context, storeLookup) {
|
|
|
29154
29154
|
return cacheSnapshot;
|
|
29155
29155
|
}
|
|
29156
29156
|
const getRelatedListInfoBatchAdapterFactory = (luvio) => function UiApi__getRelatedListInfoBatch(untrustedConfig, requestContext) {
|
|
29157
|
-
const config = validateAdapterConfig$
|
|
29157
|
+
const config = validateAdapterConfig$r(untrustedConfig, getRelatedListInfoBatch_ConfigPropertyNames);
|
|
29158
29158
|
// Invalid or incomplete config
|
|
29159
29159
|
if (config === null) {
|
|
29160
29160
|
return null;
|
|
@@ -29454,7 +29454,7 @@ function ingestError$c(luvio, params, error, snapshotRefresh) {
|
|
|
29454
29454
|
luvio.storeIngestError(key, errorSnapshot);
|
|
29455
29455
|
return errorSnapshot;
|
|
29456
29456
|
}
|
|
29457
|
-
function createResourceRequest$
|
|
29457
|
+
function createResourceRequest$t(config) {
|
|
29458
29458
|
const headers = {};
|
|
29459
29459
|
return {
|
|
29460
29460
|
baseUri: '/services/data/v63.0',
|
|
@@ -29468,23 +29468,23 @@ function createResourceRequest$s(config) {
|
|
|
29468
29468
|
};
|
|
29469
29469
|
}
|
|
29470
29470
|
|
|
29471
|
-
const adapterName$
|
|
29471
|
+
const adapterName$l = 'getRelatedListsInfo';
|
|
29472
29472
|
const getRelatedListsInfo_ConfigPropertyMetadata = [
|
|
29473
29473
|
generateParamConfigMetadata('parentObjectApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
|
|
29474
29474
|
generateParamConfigMetadata('recordTypeId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
29475
29475
|
];
|
|
29476
|
-
const getRelatedListsInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
29476
|
+
const getRelatedListsInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$l, getRelatedListsInfo_ConfigPropertyMetadata);
|
|
29477
29477
|
const createResourceParams$p = /*#__PURE__*/ createResourceParams$16(getRelatedListsInfo_ConfigPropertyMetadata);
|
|
29478
29478
|
function keyBuilder$1V(luvio, config) {
|
|
29479
29479
|
const resourceParams = createResourceParams$p(config);
|
|
29480
29480
|
return keyBuilder$1W(luvio, resourceParams);
|
|
29481
29481
|
}
|
|
29482
|
-
function typeCheckConfig$
|
|
29482
|
+
function typeCheckConfig$q(untrustedConfig) {
|
|
29483
29483
|
const config = {};
|
|
29484
|
-
typeCheckConfig$
|
|
29484
|
+
typeCheckConfig$1a(untrustedConfig, config, getRelatedListsInfo_ConfigPropertyMetadata);
|
|
29485
29485
|
return config;
|
|
29486
29486
|
}
|
|
29487
|
-
function validateAdapterConfig$
|
|
29487
|
+
function validateAdapterConfig$q(untrustedConfig, configPropertyNames) {
|
|
29488
29488
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
29489
29489
|
return null;
|
|
29490
29490
|
}
|
|
@@ -29492,7 +29492,7 @@ function validateAdapterConfig$s(untrustedConfig, configPropertyNames) {
|
|
|
29492
29492
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
29493
29493
|
}
|
|
29494
29494
|
const coercedConfig = coerceConfig$1(untrustedConfig, getRelatedListsInfo_ConfigPropertyMetadata);
|
|
29495
|
-
const config = typeCheckConfig$
|
|
29495
|
+
const config = typeCheckConfig$q(coercedConfig);
|
|
29496
29496
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
29497
29497
|
return null;
|
|
29498
29498
|
}
|
|
@@ -29518,7 +29518,7 @@ function onFetchResponseError$e(luvio, config, resourceParams, response) {
|
|
|
29518
29518
|
}
|
|
29519
29519
|
function buildNetworkSnapshot$r(luvio, config, options) {
|
|
29520
29520
|
const resourceParams = createResourceParams$p(config);
|
|
29521
|
-
const request = createResourceRequest$
|
|
29521
|
+
const request = createResourceRequest$t(resourceParams);
|
|
29522
29522
|
return luvio.dispatchResourceRequest(request, options)
|
|
29523
29523
|
.then((response) => {
|
|
29524
29524
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$f(luvio, config, resourceParams, response), () => {
|
|
@@ -29547,7 +29547,7 @@ function buildCachedSnapshotCachePolicy$g(context, storeLookup) {
|
|
|
29547
29547
|
return cacheSnapshot;
|
|
29548
29548
|
}
|
|
29549
29549
|
const getRelatedListsInfoAdapterFactory = (luvio) => function UiApi__getRelatedListsInfo(untrustedConfig, requestContext) {
|
|
29550
|
-
const config = validateAdapterConfig$
|
|
29550
|
+
const config = validateAdapterConfig$q(untrustedConfig, getRelatedListsInfo_ConfigPropertyNames);
|
|
29551
29551
|
// Invalid or incomplete config
|
|
29552
29552
|
if (config === null) {
|
|
29553
29553
|
return null;
|
|
@@ -29556,7 +29556,7 @@ const getRelatedListsInfoAdapterFactory = (luvio) => function UiApi__getRelatedL
|
|
|
29556
29556
|
buildCachedSnapshotCachePolicy$g, buildNetworkSnapshotCachePolicy$h);
|
|
29557
29557
|
};
|
|
29558
29558
|
|
|
29559
|
-
const adapterName$
|
|
29559
|
+
const adapterName$k = 'getRelatedListInfo';
|
|
29560
29560
|
const getRelatedListInfo_ConfigPropertyMetadata = [
|
|
29561
29561
|
generateParamConfigMetadata('parentObjectApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
|
|
29562
29562
|
generateParamConfigMetadata('relatedListId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
@@ -29565,18 +29565,18 @@ const getRelatedListInfo_ConfigPropertyMetadata = [
|
|
|
29565
29565
|
generateParamConfigMetadata('recordTypeId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
29566
29566
|
generateParamConfigMetadata('restrictColumnsToLayout', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
29567
29567
|
];
|
|
29568
|
-
const getRelatedListInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
29568
|
+
const getRelatedListInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$k, getRelatedListInfo_ConfigPropertyMetadata);
|
|
29569
29569
|
const createResourceParams$o = /*#__PURE__*/ createResourceParams$16(getRelatedListInfo_ConfigPropertyMetadata);
|
|
29570
29570
|
function keyBuilder$1U(luvio, config) {
|
|
29571
29571
|
const resourceParams = createResourceParams$o(config);
|
|
29572
29572
|
return keyBuilder$1_(luvio, resourceParams);
|
|
29573
29573
|
}
|
|
29574
|
-
function typeCheckConfig$
|
|
29574
|
+
function typeCheckConfig$p(untrustedConfig) {
|
|
29575
29575
|
const config = {};
|
|
29576
|
-
typeCheckConfig$
|
|
29576
|
+
typeCheckConfig$1a(untrustedConfig, config, getRelatedListInfo_ConfigPropertyMetadata);
|
|
29577
29577
|
return config;
|
|
29578
29578
|
}
|
|
29579
|
-
function validateAdapterConfig$
|
|
29579
|
+
function validateAdapterConfig$p(untrustedConfig, configPropertyNames) {
|
|
29580
29580
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
29581
29581
|
return null;
|
|
29582
29582
|
}
|
|
@@ -29584,7 +29584,7 @@ function validateAdapterConfig$r(untrustedConfig, configPropertyNames) {
|
|
|
29584
29584
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
29585
29585
|
}
|
|
29586
29586
|
const coercedConfig = coerceConfig$1(untrustedConfig, getRelatedListInfo_ConfigPropertyMetadata);
|
|
29587
|
-
const config = typeCheckConfig$
|
|
29587
|
+
const config = typeCheckConfig$p(coercedConfig);
|
|
29588
29588
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
29589
29589
|
return null;
|
|
29590
29590
|
}
|
|
@@ -29610,7 +29610,7 @@ function onFetchResponseError$d(luvio, config, resourceParams, response) {
|
|
|
29610
29610
|
}
|
|
29611
29611
|
function buildNetworkSnapshot$q(luvio, config, options) {
|
|
29612
29612
|
const resourceParams = createResourceParams$o(config);
|
|
29613
|
-
const request = createResourceRequest$
|
|
29613
|
+
const request = createResourceRequest$v(resourceParams);
|
|
29614
29614
|
return luvio.dispatchResourceRequest(request, options)
|
|
29615
29615
|
.then((response) => {
|
|
29616
29616
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$e(luvio, config, resourceParams, response), () => {
|
|
@@ -29639,7 +29639,7 @@ function buildCachedSnapshotCachePolicy$f(context, storeLookup) {
|
|
|
29639
29639
|
return cacheSnapshot;
|
|
29640
29640
|
}
|
|
29641
29641
|
const getRelatedListInfoAdapterFactory = (luvio) => function UiApi__getRelatedListInfo(untrustedConfig, requestContext) {
|
|
29642
|
-
const config = validateAdapterConfig$
|
|
29642
|
+
const config = validateAdapterConfig$p(untrustedConfig, getRelatedListInfo_ConfigPropertyNames);
|
|
29643
29643
|
// Invalid or incomplete config
|
|
29644
29644
|
if (config === null) {
|
|
29645
29645
|
return null;
|
|
@@ -29708,7 +29708,7 @@ function ingestSuccess$h(luvio, resourceParams, response) {
|
|
|
29708
29708
|
deepFreeze(snapshot.data);
|
|
29709
29709
|
return snapshot;
|
|
29710
29710
|
}
|
|
29711
|
-
function createResourceRequest$
|
|
29711
|
+
function createResourceRequest$s(config) {
|
|
29712
29712
|
const headers = {};
|
|
29713
29713
|
return {
|
|
29714
29714
|
baseUri: '/services/data/v63.0',
|
|
@@ -29722,9 +29722,9 @@ function createResourceRequest$r(config) {
|
|
|
29722
29722
|
};
|
|
29723
29723
|
}
|
|
29724
29724
|
|
|
29725
|
-
function typeCheckConfig$
|
|
29725
|
+
function typeCheckConfig$o(untrustedConfig) {
|
|
29726
29726
|
const config = {};
|
|
29727
|
-
typeCheckConfig$
|
|
29727
|
+
typeCheckConfig$1a(untrustedConfig, config, updateRelatedListInfo_ConfigPropertyMetadata);
|
|
29728
29728
|
const untrustedConfig_orderedByInfo = untrustedConfig.orderedByInfo;
|
|
29729
29729
|
if (ArrayIsArray$1(untrustedConfig_orderedByInfo)) {
|
|
29730
29730
|
const untrustedConfig_orderedByInfo_array = [];
|
|
@@ -29748,7 +29748,7 @@ function typeCheckConfig$q(untrustedConfig) {
|
|
|
29748
29748
|
return config;
|
|
29749
29749
|
}
|
|
29750
29750
|
|
|
29751
|
-
const adapterName$
|
|
29751
|
+
const adapterName$j = 'updateRelatedListInfo';
|
|
29752
29752
|
const updateRelatedListInfo_ConfigPropertyMetadata = [
|
|
29753
29753
|
generateParamConfigMetadata('parentObjectApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
|
|
29754
29754
|
generateParamConfigMetadata('relatedListId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
@@ -29756,9 +29756,9 @@ const updateRelatedListInfo_ConfigPropertyMetadata = [
|
|
|
29756
29756
|
generateParamConfigMetadata('orderedByInfo', true, 2 /* Body */, 4 /* Unsupported */, true),
|
|
29757
29757
|
generateParamConfigMetadata('userPreferences', true, 2 /* Body */, 4 /* Unsupported */),
|
|
29758
29758
|
];
|
|
29759
|
-
const updateRelatedListInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
29759
|
+
const updateRelatedListInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$j, updateRelatedListInfo_ConfigPropertyMetadata);
|
|
29760
29760
|
const createResourceParams$n = /*#__PURE__*/ createResourceParams$16(updateRelatedListInfo_ConfigPropertyMetadata);
|
|
29761
|
-
function validateAdapterConfig$
|
|
29761
|
+
function validateAdapterConfig$o(untrustedConfig, configPropertyNames) {
|
|
29762
29762
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
29763
29763
|
return null;
|
|
29764
29764
|
}
|
|
@@ -29766,7 +29766,7 @@ function validateAdapterConfig$q(untrustedConfig, configPropertyNames) {
|
|
|
29766
29766
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
29767
29767
|
}
|
|
29768
29768
|
const coercedConfig = coerceConfig$1(untrustedConfig, updateRelatedListInfo_ConfigPropertyMetadata);
|
|
29769
|
-
const config = typeCheckConfig$
|
|
29769
|
+
const config = typeCheckConfig$o(coercedConfig);
|
|
29770
29770
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
29771
29771
|
return null;
|
|
29772
29772
|
}
|
|
@@ -29774,7 +29774,7 @@ function validateAdapterConfig$q(untrustedConfig, configPropertyNames) {
|
|
|
29774
29774
|
}
|
|
29775
29775
|
function buildNetworkSnapshot$p(luvio, config, options) {
|
|
29776
29776
|
const resourceParams = createResourceParams$n(config);
|
|
29777
|
-
const request = createResourceRequest$
|
|
29777
|
+
const request = createResourceRequest$s(resourceParams);
|
|
29778
29778
|
return luvio.dispatchResourceRequest(request, options)
|
|
29779
29779
|
.then((response) => {
|
|
29780
29780
|
return luvio.handleSuccessResponse(() => {
|
|
@@ -29792,7 +29792,7 @@ function buildNetworkSnapshot$p(luvio, config, options) {
|
|
|
29792
29792
|
}
|
|
29793
29793
|
const updateRelatedListInfoAdapterFactory = (luvio) => {
|
|
29794
29794
|
return function updateRelatedListInfo(untrustedConfig) {
|
|
29795
|
-
const config = validateAdapterConfig$
|
|
29795
|
+
const config = validateAdapterConfig$o(untrustedConfig, updateRelatedListInfo_ConfigPropertyNames);
|
|
29796
29796
|
// Invalid or incomplete config
|
|
29797
29797
|
if (config === null) {
|
|
29798
29798
|
throw new Error('Invalid config for "updateRelatedListInfo"');
|
|
@@ -29948,7 +29948,7 @@ function ingestError$b(luvio, params, error, snapshotRefresh) {
|
|
|
29948
29948
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
29949
29949
|
return errorSnapshot;
|
|
29950
29950
|
}
|
|
29951
|
-
function createResourceRequest$
|
|
29951
|
+
function createResourceRequest$r(config) {
|
|
29952
29952
|
const headers = {};
|
|
29953
29953
|
return {
|
|
29954
29954
|
baseUri: '/services/data/v63.0',
|
|
@@ -30210,7 +30210,7 @@ function ingestError$a(luvio, params, error, snapshotRefresh) {
|
|
|
30210
30210
|
luvio.storeIngestError(key, errorSnapshot);
|
|
30211
30211
|
return errorSnapshot;
|
|
30212
30212
|
}
|
|
30213
|
-
function createResourceRequest$
|
|
30213
|
+
function createResourceRequest$q(config) {
|
|
30214
30214
|
const headers = {};
|
|
30215
30215
|
return {
|
|
30216
30216
|
baseUri: '/services/data/v63.0',
|
|
@@ -30224,29 +30224,29 @@ function createResourceRequest$p(config) {
|
|
|
30224
30224
|
};
|
|
30225
30225
|
}
|
|
30226
30226
|
|
|
30227
|
-
const adapterName$
|
|
30227
|
+
const adapterName$i = 'getRelatedListPreferencesBatch';
|
|
30228
30228
|
const getRelatedListPreferencesBatch_ConfigPropertyMetadata = [
|
|
30229
30229
|
generateParamConfigMetadata('preferencesIds', true, 0 /* UrlParameter */, 0 /* String */, true),
|
|
30230
30230
|
];
|
|
30231
|
-
const getRelatedListPreferencesBatch_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
30231
|
+
const getRelatedListPreferencesBatch_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$i, getRelatedListPreferencesBatch_ConfigPropertyMetadata);
|
|
30232
30232
|
const createResourceParams$m = /*#__PURE__*/ createResourceParams$16(getRelatedListPreferencesBatch_ConfigPropertyMetadata);
|
|
30233
30233
|
function keyBuilder$1Q(luvio, config) {
|
|
30234
30234
|
const resourceParams = createResourceParams$m(config);
|
|
30235
30235
|
return keyBuilder$1R(luvio, resourceParams);
|
|
30236
30236
|
}
|
|
30237
|
-
function typeCheckConfig$
|
|
30237
|
+
function typeCheckConfig$n(untrustedConfig) {
|
|
30238
30238
|
const config = {};
|
|
30239
|
-
typeCheckConfig$
|
|
30239
|
+
typeCheckConfig$1a(untrustedConfig, config, getRelatedListPreferencesBatch_ConfigPropertyMetadata);
|
|
30240
30240
|
return config;
|
|
30241
30241
|
}
|
|
30242
|
-
function validateAdapterConfig$
|
|
30242
|
+
function validateAdapterConfig$n(untrustedConfig, configPropertyNames) {
|
|
30243
30243
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
30244
30244
|
return null;
|
|
30245
30245
|
}
|
|
30246
30246
|
if (process.env.NODE_ENV !== 'production') {
|
|
30247
30247
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
30248
30248
|
}
|
|
30249
|
-
const config = typeCheckConfig$
|
|
30249
|
+
const config = typeCheckConfig$n(untrustedConfig);
|
|
30250
30250
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
30251
30251
|
return null;
|
|
30252
30252
|
}
|
|
@@ -30272,7 +30272,7 @@ function onFetchResponseError$c(luvio, config, resourceParams, response) {
|
|
|
30272
30272
|
}
|
|
30273
30273
|
function buildNetworkSnapshot$o(luvio, config, options) {
|
|
30274
30274
|
const resourceParams = createResourceParams$m(config);
|
|
30275
|
-
const request = createResourceRequest$
|
|
30275
|
+
const request = createResourceRequest$q(resourceParams);
|
|
30276
30276
|
return luvio.dispatchResourceRequest(request, options)
|
|
30277
30277
|
.then((response) => {
|
|
30278
30278
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$d(luvio, config, resourceParams, response), () => {
|
|
@@ -30301,7 +30301,7 @@ function buildCachedSnapshotCachePolicy$e(context, storeLookup) {
|
|
|
30301
30301
|
return cacheSnapshot;
|
|
30302
30302
|
}
|
|
30303
30303
|
const getRelatedListPreferencesBatchAdapterFactory = (luvio) => function UiApi__getRelatedListPreferencesBatch(untrustedConfig, requestContext) {
|
|
30304
|
-
const config = validateAdapterConfig$
|
|
30304
|
+
const config = validateAdapterConfig$n(untrustedConfig, getRelatedListPreferencesBatch_ConfigPropertyNames);
|
|
30305
30305
|
// Invalid or incomplete config
|
|
30306
30306
|
if (config === null) {
|
|
30307
30307
|
return null;
|
|
@@ -30310,29 +30310,29 @@ const getRelatedListPreferencesBatchAdapterFactory = (luvio) => function UiApi__
|
|
|
30310
30310
|
buildCachedSnapshotCachePolicy$e, buildNetworkSnapshotCachePolicy$f);
|
|
30311
30311
|
};
|
|
30312
30312
|
|
|
30313
|
-
const adapterName$
|
|
30313
|
+
const adapterName$h = 'getRelatedListPreferences';
|
|
30314
30314
|
const getRelatedListPreferences_ConfigPropertyMetadata = [
|
|
30315
30315
|
generateParamConfigMetadata('preferencesId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
30316
30316
|
];
|
|
30317
|
-
const getRelatedListPreferences_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
30317
|
+
const getRelatedListPreferences_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$h, getRelatedListPreferences_ConfigPropertyMetadata);
|
|
30318
30318
|
const createResourceParams$l = /*#__PURE__*/ createResourceParams$16(getRelatedListPreferences_ConfigPropertyMetadata);
|
|
30319
30319
|
function keyBuilder$1P(luvio, config) {
|
|
30320
30320
|
const resourceParams = createResourceParams$l(config);
|
|
30321
30321
|
return keyBuilder$1S(luvio, resourceParams);
|
|
30322
30322
|
}
|
|
30323
|
-
function typeCheckConfig$
|
|
30323
|
+
function typeCheckConfig$m(untrustedConfig) {
|
|
30324
30324
|
const config = {};
|
|
30325
|
-
typeCheckConfig$
|
|
30325
|
+
typeCheckConfig$1a(untrustedConfig, config, getRelatedListPreferences_ConfigPropertyMetadata);
|
|
30326
30326
|
return config;
|
|
30327
30327
|
}
|
|
30328
|
-
function validateAdapterConfig$
|
|
30328
|
+
function validateAdapterConfig$m(untrustedConfig, configPropertyNames) {
|
|
30329
30329
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
30330
30330
|
return null;
|
|
30331
30331
|
}
|
|
30332
30332
|
if (process.env.NODE_ENV !== 'production') {
|
|
30333
30333
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
30334
30334
|
}
|
|
30335
|
-
const config = typeCheckConfig$
|
|
30335
|
+
const config = typeCheckConfig$m(untrustedConfig);
|
|
30336
30336
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
30337
30337
|
return null;
|
|
30338
30338
|
}
|
|
@@ -30358,7 +30358,7 @@ function onFetchResponseError$b(luvio, config, resourceParams, response) {
|
|
|
30358
30358
|
}
|
|
30359
30359
|
function buildNetworkSnapshot$n(luvio, config, options) {
|
|
30360
30360
|
const resourceParams = createResourceParams$l(config);
|
|
30361
|
-
const request = createResourceRequest$
|
|
30361
|
+
const request = createResourceRequest$r(resourceParams);
|
|
30362
30362
|
return luvio.dispatchResourceRequest(request, options)
|
|
30363
30363
|
.then((response) => {
|
|
30364
30364
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$c(luvio, config, resourceParams, response), () => {
|
|
@@ -30387,7 +30387,7 @@ function buildCachedSnapshotCachePolicy$d(context, storeLookup) {
|
|
|
30387
30387
|
return cacheSnapshot;
|
|
30388
30388
|
}
|
|
30389
30389
|
const getRelatedListPreferencesAdapterFactory = (luvio) => function UiApi__getRelatedListPreferences(untrustedConfig, requestContext) {
|
|
30390
|
-
const config = validateAdapterConfig$
|
|
30390
|
+
const config = validateAdapterConfig$m(untrustedConfig, getRelatedListPreferences_ConfigPropertyNames);
|
|
30391
30391
|
// Invalid or incomplete config
|
|
30392
30392
|
if (config === null) {
|
|
30393
30393
|
return null;
|
|
@@ -30419,7 +30419,7 @@ function ingestSuccess$e(luvio, resourceParams, response) {
|
|
|
30419
30419
|
deepFreeze(snapshot.data);
|
|
30420
30420
|
return snapshot;
|
|
30421
30421
|
}
|
|
30422
|
-
function createResourceRequest$
|
|
30422
|
+
function createResourceRequest$p(config) {
|
|
30423
30423
|
const headers = {};
|
|
30424
30424
|
return {
|
|
30425
30425
|
baseUri: '/services/data/v63.0',
|
|
@@ -30433,18 +30433,18 @@ function createResourceRequest$o(config) {
|
|
|
30433
30433
|
};
|
|
30434
30434
|
}
|
|
30435
30435
|
|
|
30436
|
-
const adapterName$
|
|
30436
|
+
const adapterName$g = 'updateRelatedListPreferences';
|
|
30437
30437
|
const updateRelatedListPreferences_ConfigPropertyMetadata = [
|
|
30438
30438
|
generateParamConfigMetadata('preferencesId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
30439
30439
|
generateParamConfigMetadata('columnWidths', false, 2 /* Body */, 4 /* Unsupported */),
|
|
30440
30440
|
generateParamConfigMetadata('columnWrap', false, 2 /* Body */, 4 /* Unsupported */),
|
|
30441
30441
|
generateParamConfigMetadata('orderedBy', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
30442
30442
|
];
|
|
30443
|
-
const updateRelatedListPreferences_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
30443
|
+
const updateRelatedListPreferences_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$g, updateRelatedListPreferences_ConfigPropertyMetadata);
|
|
30444
30444
|
const createResourceParams$k = /*#__PURE__*/ createResourceParams$16(updateRelatedListPreferences_ConfigPropertyMetadata);
|
|
30445
|
-
function typeCheckConfig$
|
|
30445
|
+
function typeCheckConfig$l(untrustedConfig) {
|
|
30446
30446
|
const config = {};
|
|
30447
|
-
typeCheckConfig$
|
|
30447
|
+
typeCheckConfig$1a(untrustedConfig, config, updateRelatedListPreferences_ConfigPropertyMetadata);
|
|
30448
30448
|
const untrustedConfig_columnWidths = untrustedConfig.columnWidths;
|
|
30449
30449
|
if (untrustedIsObject(untrustedConfig_columnWidths)) {
|
|
30450
30450
|
const untrustedConfig_columnWidths_object = {};
|
|
@@ -30493,14 +30493,14 @@ function typeCheckConfig$n(untrustedConfig) {
|
|
|
30493
30493
|
}
|
|
30494
30494
|
return config;
|
|
30495
30495
|
}
|
|
30496
|
-
function validateAdapterConfig$
|
|
30496
|
+
function validateAdapterConfig$l(untrustedConfig, configPropertyNames) {
|
|
30497
30497
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
30498
30498
|
return null;
|
|
30499
30499
|
}
|
|
30500
30500
|
if (process.env.NODE_ENV !== 'production') {
|
|
30501
30501
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
30502
30502
|
}
|
|
30503
|
-
const config = typeCheckConfig$
|
|
30503
|
+
const config = typeCheckConfig$l(untrustedConfig);
|
|
30504
30504
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
30505
30505
|
return null;
|
|
30506
30506
|
}
|
|
@@ -30508,7 +30508,7 @@ function validateAdapterConfig$n(untrustedConfig, configPropertyNames) {
|
|
|
30508
30508
|
}
|
|
30509
30509
|
function buildNetworkSnapshot$m(luvio, config, options) {
|
|
30510
30510
|
const resourceParams = createResourceParams$k(config);
|
|
30511
|
-
const request = createResourceRequest$
|
|
30511
|
+
const request = createResourceRequest$p(resourceParams);
|
|
30512
30512
|
return luvio.dispatchResourceRequest(request, options)
|
|
30513
30513
|
.then((response) => {
|
|
30514
30514
|
return luvio.handleSuccessResponse(() => {
|
|
@@ -30526,7 +30526,7 @@ function buildNetworkSnapshot$m(luvio, config, options) {
|
|
|
30526
30526
|
}
|
|
30527
30527
|
const updateRelatedListPreferencesAdapterFactory = (luvio) => {
|
|
30528
30528
|
return function updateRelatedListPreferences(untrustedConfig) {
|
|
30529
|
-
const config = validateAdapterConfig$
|
|
30529
|
+
const config = validateAdapterConfig$l(untrustedConfig, updateRelatedListPreferences_ConfigPropertyNames);
|
|
30530
30530
|
// Invalid or incomplete config
|
|
30531
30531
|
if (config === null) {
|
|
30532
30532
|
throw new Error('Invalid config for "updateRelatedListPreferences"');
|
|
@@ -31454,7 +31454,7 @@ function ingestError$9(luvio, params, error, snapshotRefresh) {
|
|
|
31454
31454
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
31455
31455
|
return errorSnapshot;
|
|
31456
31456
|
}
|
|
31457
|
-
function createResourceRequest$
|
|
31457
|
+
function createResourceRequest$o(config) {
|
|
31458
31458
|
const headers = {};
|
|
31459
31459
|
return {
|
|
31460
31460
|
baseUri: '/services/data/v63.0',
|
|
@@ -31739,7 +31739,7 @@ function ingestError$8(luvio, params, error, snapshotRefresh) {
|
|
|
31739
31739
|
luvio.storeIngestError(key, errorSnapshot);
|
|
31740
31740
|
return errorSnapshot;
|
|
31741
31741
|
}
|
|
31742
|
-
function createResourceRequest$
|
|
31742
|
+
function createResourceRequest$n(config) {
|
|
31743
31743
|
const headers = {};
|
|
31744
31744
|
return {
|
|
31745
31745
|
baseUri: '/services/data/v63.0',
|
|
@@ -31753,20 +31753,20 @@ function createResourceRequest$m(config) {
|
|
|
31753
31753
|
};
|
|
31754
31754
|
}
|
|
31755
31755
|
|
|
31756
|
-
const adapterName$
|
|
31756
|
+
const adapterName$f = 'getRelatedListRecordsBatch';
|
|
31757
31757
|
const getRelatedListRecordsBatch_ConfigPropertyMetadata = [
|
|
31758
31758
|
generateParamConfigMetadata('parentRecordId', true, 0 /* UrlParameter */, 0 /* String */, false, getRecordId18),
|
|
31759
31759
|
generateParamConfigMetadata('relatedListParameters', true, 2 /* Body */, 4 /* Unsupported */, true),
|
|
31760
31760
|
];
|
|
31761
|
-
const getRelatedListRecordsBatch_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
31761
|
+
const getRelatedListRecordsBatch_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, getRelatedListRecordsBatch_ConfigPropertyMetadata);
|
|
31762
31762
|
const createResourceParams$j = /*#__PURE__*/ createResourceParams$16(getRelatedListRecordsBatch_ConfigPropertyMetadata);
|
|
31763
31763
|
function keyBuilder$1L(luvio, config) {
|
|
31764
31764
|
const resourceParams = createResourceParams$j(config);
|
|
31765
31765
|
return keyBuilder$1M(luvio, resourceParams);
|
|
31766
31766
|
}
|
|
31767
|
-
function typeCheckConfig$
|
|
31767
|
+
function typeCheckConfig$k(untrustedConfig) {
|
|
31768
31768
|
const config = {};
|
|
31769
|
-
typeCheckConfig$
|
|
31769
|
+
typeCheckConfig$1a(untrustedConfig, config, getRelatedListRecordsBatch_ConfigPropertyMetadata);
|
|
31770
31770
|
const untrustedConfig_relatedListParameters = untrustedConfig.relatedListParameters;
|
|
31771
31771
|
if (ArrayIsArray$1(untrustedConfig_relatedListParameters)) {
|
|
31772
31772
|
const untrustedConfig_relatedListParameters_array = [];
|
|
@@ -31781,7 +31781,7 @@ function typeCheckConfig$m(untrustedConfig) {
|
|
|
31781
31781
|
}
|
|
31782
31782
|
return config;
|
|
31783
31783
|
}
|
|
31784
|
-
function validateAdapterConfig$
|
|
31784
|
+
function validateAdapterConfig$k(untrustedConfig, configPropertyNames) {
|
|
31785
31785
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
31786
31786
|
return null;
|
|
31787
31787
|
}
|
|
@@ -31789,7 +31789,7 @@ function validateAdapterConfig$m(untrustedConfig, configPropertyNames) {
|
|
|
31789
31789
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
31790
31790
|
}
|
|
31791
31791
|
const coercedConfig = coerceConfig$1(untrustedConfig, getRelatedListRecordsBatch_ConfigPropertyMetadata);
|
|
31792
|
-
const config = typeCheckConfig$
|
|
31792
|
+
const config = typeCheckConfig$k(coercedConfig);
|
|
31793
31793
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
31794
31794
|
return null;
|
|
31795
31795
|
}
|
|
@@ -31815,7 +31815,7 @@ function onFetchResponseError$a(luvio, config, resourceParams, response) {
|
|
|
31815
31815
|
}
|
|
31816
31816
|
function buildNetworkSnapshot$l(luvio, config, options) {
|
|
31817
31817
|
const resourceParams = createResourceParams$j(config);
|
|
31818
|
-
const request = createResourceRequest$
|
|
31818
|
+
const request = createResourceRequest$n(resourceParams);
|
|
31819
31819
|
return luvio.dispatchResourceRequest(request, options)
|
|
31820
31820
|
.then((response) => {
|
|
31821
31821
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$b(luvio, config, resourceParams, response), () => {
|
|
@@ -31844,7 +31844,7 @@ function buildCachedSnapshotCachePolicy$c(context, storeLookup) {
|
|
|
31844
31844
|
return cacheSnapshot;
|
|
31845
31845
|
}
|
|
31846
31846
|
const getRelatedListRecordsBatchAdapterFactory = (luvio) => function UiApi__getRelatedListRecordsBatch(untrustedConfig, requestContext) {
|
|
31847
|
-
const config = validateAdapterConfig$
|
|
31847
|
+
const config = validateAdapterConfig$k(untrustedConfig, getRelatedListRecordsBatch_ConfigPropertyNames);
|
|
31848
31848
|
// Invalid or incomplete config
|
|
31849
31849
|
if (config === null) {
|
|
31850
31850
|
return null;
|
|
@@ -31853,7 +31853,7 @@ const getRelatedListRecordsBatchAdapterFactory = (luvio) => function UiApi__getR
|
|
|
31853
31853
|
buildCachedSnapshotCachePolicy$c, buildNetworkSnapshotCachePolicy$d);
|
|
31854
31854
|
};
|
|
31855
31855
|
|
|
31856
|
-
const adapterName$
|
|
31856
|
+
const adapterName$e = 'getRelatedListRecords';
|
|
31857
31857
|
const getRelatedListRecords_ConfigPropertyMetadata = [
|
|
31858
31858
|
generateParamConfigMetadata('parentRecordId', true, 0 /* UrlParameter */, 0 /* String */, false, getRecordId18),
|
|
31859
31859
|
generateParamConfigMetadata('relatedListId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
@@ -31864,18 +31864,18 @@ const getRelatedListRecords_ConfigPropertyMetadata = [
|
|
|
31864
31864
|
generateParamConfigMetadata('sortBy', false, 2 /* Body */, 0 /* String */, true),
|
|
31865
31865
|
generateParamConfigMetadata('where', false, 2 /* Body */, 0 /* String */),
|
|
31866
31866
|
];
|
|
31867
|
-
const getRelatedListRecords_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
31867
|
+
const getRelatedListRecords_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$e, getRelatedListRecords_ConfigPropertyMetadata);
|
|
31868
31868
|
const createResourceParams$i = /*#__PURE__*/ createResourceParams$16(getRelatedListRecords_ConfigPropertyMetadata);
|
|
31869
31869
|
function keyBuilder$1K(luvio, config) {
|
|
31870
31870
|
const resourceParams = createResourceParams$i(config);
|
|
31871
31871
|
return keyBuilder$1N(luvio, resourceParams);
|
|
31872
31872
|
}
|
|
31873
|
-
function typeCheckConfig$
|
|
31873
|
+
function typeCheckConfig$j(untrustedConfig) {
|
|
31874
31874
|
const config = {};
|
|
31875
|
-
typeCheckConfig$
|
|
31875
|
+
typeCheckConfig$1a(untrustedConfig, config, getRelatedListRecords_ConfigPropertyMetadata);
|
|
31876
31876
|
return config;
|
|
31877
31877
|
}
|
|
31878
|
-
function validateAdapterConfig$
|
|
31878
|
+
function validateAdapterConfig$j(untrustedConfig, configPropertyNames) {
|
|
31879
31879
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
31880
31880
|
return null;
|
|
31881
31881
|
}
|
|
@@ -31883,7 +31883,7 @@ function validateAdapterConfig$l(untrustedConfig, configPropertyNames) {
|
|
|
31883
31883
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
31884
31884
|
}
|
|
31885
31885
|
const coercedConfig = coerceConfig$1(untrustedConfig, getRelatedListRecords_ConfigPropertyMetadata);
|
|
31886
|
-
const config = typeCheckConfig$
|
|
31886
|
+
const config = typeCheckConfig$j(coercedConfig);
|
|
31887
31887
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
31888
31888
|
return null;
|
|
31889
31889
|
}
|
|
@@ -31910,13 +31910,13 @@ function onFetchResponseError$9(luvio, config, resourceParams, response) {
|
|
|
31910
31910
|
function prepareRequest$2(luvio, config, resourceParams, cacheSnapshot) {
|
|
31911
31911
|
const paginationMetadata = getPaginationMetadata$1(luvio, resourceParams);
|
|
31912
31912
|
if (paginationMetadata === undefined) {
|
|
31913
|
-
return createResourceRequest$
|
|
31913
|
+
return createResourceRequest$o(resourceParams);
|
|
31914
31914
|
}
|
|
31915
31915
|
const { token: configToken, pageSize: configPageSize } = createPaginationParams(resourceParams);
|
|
31916
31916
|
const configTokenOffset = offsetFromClientToken(paginationMetadata, configToken);
|
|
31917
31917
|
const maxOffset = getRequestMaxOffset(configTokenOffset, cacheSnapshot);
|
|
31918
31918
|
const [serverToken, serverTokenOffset] = serverTokenForAtMost(paginationMetadata, maxOffset);
|
|
31919
|
-
return createResourceRequest$
|
|
31919
|
+
return createResourceRequest$o(createResourceParams$i({
|
|
31920
31920
|
...config,
|
|
31921
31921
|
pageSize: configPageSize - (serverTokenOffset - configTokenOffset),
|
|
31922
31922
|
pageToken: serverToken
|
|
@@ -32008,7 +32008,7 @@ function buildCachedSnapshotCachePolicy$b(context, storeLookup) {
|
|
|
32008
32008
|
return cacheSnapshot;
|
|
32009
32009
|
}
|
|
32010
32010
|
const getRelatedListRecordsAdapterFactory = (luvio) => function UiApi__getRelatedListRecords(untrustedConfig, requestContext) {
|
|
32011
|
-
const config = validateAdapterConfig$
|
|
32011
|
+
const config = validateAdapterConfig$j(untrustedConfig, getRelatedListRecords_ConfigPropertyNames);
|
|
32012
32012
|
// Invalid or incomplete config
|
|
32013
32013
|
if (config === null) {
|
|
32014
32014
|
return null;
|
|
@@ -32281,7 +32281,7 @@ function ingestError$7(luvio, params, error, snapshotRefresh) {
|
|
|
32281
32281
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
32282
32282
|
return errorSnapshot;
|
|
32283
32283
|
}
|
|
32284
|
-
function createResourceRequest$
|
|
32284
|
+
function createResourceRequest$m(config) {
|
|
32285
32285
|
const headers = {};
|
|
32286
32286
|
return {
|
|
32287
32287
|
baseUri: '/services/data/v63.0',
|
|
@@ -32295,31 +32295,31 @@ function createResourceRequest$l(config) {
|
|
|
32295
32295
|
};
|
|
32296
32296
|
}
|
|
32297
32297
|
|
|
32298
|
-
const adapterName$
|
|
32298
|
+
const adapterName$d = 'getSearchFilterMetadata';
|
|
32299
32299
|
const getSearchFilterMetadata_ConfigPropertyMetadata = [
|
|
32300
32300
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
32301
32301
|
generateParamConfigMetadata('channel', false, 1 /* QueryParameter */, 0 /* String */),
|
|
32302
32302
|
generateParamConfigMetadata('configurationName', false, 1 /* QueryParameter */, 0 /* String */),
|
|
32303
32303
|
];
|
|
32304
|
-
const getSearchFilterMetadata_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
32304
|
+
const getSearchFilterMetadata_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, getSearchFilterMetadata_ConfigPropertyMetadata);
|
|
32305
32305
|
const createResourceParams$h = /*#__PURE__*/ createResourceParams$16(getSearchFilterMetadata_ConfigPropertyMetadata);
|
|
32306
32306
|
function keyBuilder$1H(luvio, config) {
|
|
32307
32307
|
const resourceParams = createResourceParams$h(config);
|
|
32308
32308
|
return keyBuilder$1I(luvio, resourceParams);
|
|
32309
32309
|
}
|
|
32310
|
-
function typeCheckConfig$
|
|
32310
|
+
function typeCheckConfig$i(untrustedConfig) {
|
|
32311
32311
|
const config = {};
|
|
32312
|
-
typeCheckConfig$
|
|
32312
|
+
typeCheckConfig$1a(untrustedConfig, config, getSearchFilterMetadata_ConfigPropertyMetadata);
|
|
32313
32313
|
return config;
|
|
32314
32314
|
}
|
|
32315
|
-
function validateAdapterConfig$
|
|
32315
|
+
function validateAdapterConfig$i(untrustedConfig, configPropertyNames) {
|
|
32316
32316
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
32317
32317
|
return null;
|
|
32318
32318
|
}
|
|
32319
32319
|
if (process.env.NODE_ENV !== 'production') {
|
|
32320
32320
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
32321
32321
|
}
|
|
32322
|
-
const config = typeCheckConfig$
|
|
32322
|
+
const config = typeCheckConfig$i(untrustedConfig);
|
|
32323
32323
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
32324
32324
|
return null;
|
|
32325
32325
|
}
|
|
@@ -32345,7 +32345,7 @@ function onFetchResponseError$8(luvio, config, resourceParams, response) {
|
|
|
32345
32345
|
}
|
|
32346
32346
|
function buildNetworkSnapshot$j(luvio, config, options) {
|
|
32347
32347
|
const resourceParams = createResourceParams$h(config);
|
|
32348
|
-
const request = createResourceRequest$
|
|
32348
|
+
const request = createResourceRequest$m(resourceParams);
|
|
32349
32349
|
return luvio.dispatchResourceRequest(request, options)
|
|
32350
32350
|
.then((response) => {
|
|
32351
32351
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$9(luvio, config, resourceParams, response), () => {
|
|
@@ -32374,7 +32374,7 @@ function buildCachedSnapshotCachePolicy$a(context, storeLookup) {
|
|
|
32374
32374
|
return cacheSnapshot;
|
|
32375
32375
|
}
|
|
32376
32376
|
const getSearchFilterMetadataAdapterFactory = (luvio) => function UiApi__getSearchFilterMetadata(untrustedConfig, requestContext) {
|
|
32377
|
-
const config = validateAdapterConfig$
|
|
32377
|
+
const config = validateAdapterConfig$i(untrustedConfig, getSearchFilterMetadata_ConfigPropertyNames);
|
|
32378
32378
|
// Invalid or incomplete config
|
|
32379
32379
|
if (config === null) {
|
|
32380
32380
|
return null;
|
|
@@ -32537,7 +32537,7 @@ function ingestError$6(luvio, params, error, snapshotRefresh) {
|
|
|
32537
32537
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
32538
32538
|
return errorSnapshot;
|
|
32539
32539
|
}
|
|
32540
|
-
function createResourceRequest$
|
|
32540
|
+
function createResourceRequest$l(config) {
|
|
32541
32541
|
const headers = {};
|
|
32542
32542
|
return {
|
|
32543
32543
|
baseUri: '/services/data/v63.0',
|
|
@@ -32551,31 +32551,31 @@ function createResourceRequest$k(config) {
|
|
|
32551
32551
|
};
|
|
32552
32552
|
}
|
|
32553
32553
|
|
|
32554
|
-
const adapterName$
|
|
32554
|
+
const adapterName$c = 'getSearchFilterOptions';
|
|
32555
32555
|
const getSearchFilterOptions_ConfigPropertyMetadata = [
|
|
32556
32556
|
generateParamConfigMetadata('filterApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
32557
32557
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
32558
32558
|
generateParamConfigMetadata('q', false, 1 /* QueryParameter */, 0 /* String */),
|
|
32559
32559
|
];
|
|
32560
|
-
const getSearchFilterOptions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
32560
|
+
const getSearchFilterOptions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, getSearchFilterOptions_ConfigPropertyMetadata);
|
|
32561
32561
|
const createResourceParams$g = /*#__PURE__*/ createResourceParams$16(getSearchFilterOptions_ConfigPropertyMetadata);
|
|
32562
32562
|
function keyBuilder$1E(luvio, config) {
|
|
32563
32563
|
const resourceParams = createResourceParams$g(config);
|
|
32564
32564
|
return keyBuilder$1F(luvio, resourceParams);
|
|
32565
32565
|
}
|
|
32566
|
-
function typeCheckConfig$
|
|
32566
|
+
function typeCheckConfig$h(untrustedConfig) {
|
|
32567
32567
|
const config = {};
|
|
32568
|
-
typeCheckConfig$
|
|
32568
|
+
typeCheckConfig$1a(untrustedConfig, config, getSearchFilterOptions_ConfigPropertyMetadata);
|
|
32569
32569
|
return config;
|
|
32570
32570
|
}
|
|
32571
|
-
function validateAdapterConfig$
|
|
32571
|
+
function validateAdapterConfig$h(untrustedConfig, configPropertyNames) {
|
|
32572
32572
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
32573
32573
|
return null;
|
|
32574
32574
|
}
|
|
32575
32575
|
if (process.env.NODE_ENV !== 'production') {
|
|
32576
32576
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
32577
32577
|
}
|
|
32578
|
-
const config = typeCheckConfig$
|
|
32578
|
+
const config = typeCheckConfig$h(untrustedConfig);
|
|
32579
32579
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
32580
32580
|
return null;
|
|
32581
32581
|
}
|
|
@@ -32601,7 +32601,7 @@ function onFetchResponseError$7(luvio, config, resourceParams, response) {
|
|
|
32601
32601
|
}
|
|
32602
32602
|
function buildNetworkSnapshot$i(luvio, config, options) {
|
|
32603
32603
|
const resourceParams = createResourceParams$g(config);
|
|
32604
|
-
const request = createResourceRequest$
|
|
32604
|
+
const request = createResourceRequest$l(resourceParams);
|
|
32605
32605
|
return luvio.dispatchResourceRequest(request, options)
|
|
32606
32606
|
.then((response) => {
|
|
32607
32607
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$8(luvio, config, resourceParams, response), () => {
|
|
@@ -32630,7 +32630,7 @@ function buildCachedSnapshotCachePolicy$9(context, storeLookup) {
|
|
|
32630
32630
|
return cacheSnapshot;
|
|
32631
32631
|
}
|
|
32632
32632
|
const getSearchFilterOptionsAdapterFactory = (luvio) => function UiApi__getSearchFilterOptions(untrustedConfig, requestContext) {
|
|
32633
|
-
const config = validateAdapterConfig$
|
|
32633
|
+
const config = validateAdapterConfig$h(untrustedConfig, getSearchFilterOptions_ConfigPropertyNames);
|
|
32634
32634
|
// Invalid or incomplete config
|
|
32635
32635
|
if (config === null) {
|
|
32636
32636
|
return null;
|
|
@@ -32955,7 +32955,7 @@ function ingestError$5(luvio, params, error, snapshotRefresh) {
|
|
|
32955
32955
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
32956
32956
|
return errorSnapshot;
|
|
32957
32957
|
}
|
|
32958
|
-
function createResourceRequest$
|
|
32958
|
+
function createResourceRequest$k(config) {
|
|
32959
32959
|
const headers = {};
|
|
32960
32960
|
return {
|
|
32961
32961
|
baseUri: '/services/data/v63.0',
|
|
@@ -32969,30 +32969,30 @@ function createResourceRequest$j(config) {
|
|
|
32969
32969
|
};
|
|
32970
32970
|
}
|
|
32971
32971
|
|
|
32972
|
-
const adapterName$
|
|
32972
|
+
const adapterName$b = 'getLookupMetadata';
|
|
32973
32973
|
const getLookupMetadata_ConfigPropertyMetadata = [
|
|
32974
32974
|
generateParamConfigMetadata('fieldApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
32975
32975
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
32976
32976
|
];
|
|
32977
|
-
const getLookupMetadata_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
32977
|
+
const getLookupMetadata_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, getLookupMetadata_ConfigPropertyMetadata);
|
|
32978
32978
|
const createResourceParams$f = /*#__PURE__*/ createResourceParams$16(getLookupMetadata_ConfigPropertyMetadata);
|
|
32979
32979
|
function keyBuilder$1B(luvio, config) {
|
|
32980
32980
|
const resourceParams = createResourceParams$f(config);
|
|
32981
32981
|
return keyBuilder$1C(luvio, resourceParams);
|
|
32982
32982
|
}
|
|
32983
|
-
function typeCheckConfig$
|
|
32983
|
+
function typeCheckConfig$g(untrustedConfig) {
|
|
32984
32984
|
const config = {};
|
|
32985
|
-
typeCheckConfig$
|
|
32985
|
+
typeCheckConfig$1a(untrustedConfig, config, getLookupMetadata_ConfigPropertyMetadata);
|
|
32986
32986
|
return config;
|
|
32987
32987
|
}
|
|
32988
|
-
function validateAdapterConfig$
|
|
32988
|
+
function validateAdapterConfig$g(untrustedConfig, configPropertyNames) {
|
|
32989
32989
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
32990
32990
|
return null;
|
|
32991
32991
|
}
|
|
32992
32992
|
if (process.env.NODE_ENV !== 'production') {
|
|
32993
32993
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
32994
32994
|
}
|
|
32995
|
-
const config = typeCheckConfig$
|
|
32995
|
+
const config = typeCheckConfig$g(untrustedConfig);
|
|
32996
32996
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
32997
32997
|
return null;
|
|
32998
32998
|
}
|
|
@@ -33018,7 +33018,7 @@ function onFetchResponseError$6(luvio, config, resourceParams, response) {
|
|
|
33018
33018
|
}
|
|
33019
33019
|
function buildNetworkSnapshot$h(luvio, config, options) {
|
|
33020
33020
|
const resourceParams = createResourceParams$f(config);
|
|
33021
|
-
const request = createResourceRequest$
|
|
33021
|
+
const request = createResourceRequest$k(resourceParams);
|
|
33022
33022
|
return luvio.dispatchResourceRequest(request, options)
|
|
33023
33023
|
.then((response) => {
|
|
33024
33024
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$7(luvio, config, resourceParams, response), () => {
|
|
@@ -33047,7 +33047,7 @@ function buildCachedSnapshotCachePolicy$8(context, storeLookup) {
|
|
|
33047
33047
|
return cacheSnapshot;
|
|
33048
33048
|
}
|
|
33049
33049
|
const getLookupMetadataAdapterFactory = (luvio) => function UiApi__getLookupMetadata(untrustedConfig, requestContext) {
|
|
33050
|
-
const config = validateAdapterConfig$
|
|
33050
|
+
const config = validateAdapterConfig$g(untrustedConfig, getLookupMetadata_ConfigPropertyNames);
|
|
33051
33051
|
// Invalid or incomplete config
|
|
33052
33052
|
if (config === null) {
|
|
33053
33053
|
return null;
|
|
@@ -33869,7 +33869,7 @@ function ingestError$4(luvio, params, error, snapshotRefresh) {
|
|
|
33869
33869
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
33870
33870
|
return errorSnapshot;
|
|
33871
33871
|
}
|
|
33872
|
-
function createResourceRequest$
|
|
33872
|
+
function createResourceRequest$j(config) {
|
|
33873
33873
|
const headers = {};
|
|
33874
33874
|
return {
|
|
33875
33875
|
baseUri: '/services/data/v63.0',
|
|
@@ -33883,7 +33883,7 @@ function createResourceRequest$i(config) {
|
|
|
33883
33883
|
};
|
|
33884
33884
|
}
|
|
33885
33885
|
|
|
33886
|
-
const adapterName$
|
|
33886
|
+
const adapterName$a = 'getSearchResults';
|
|
33887
33887
|
const getSearchResults_ConfigPropertyMetadata = [
|
|
33888
33888
|
generateParamConfigMetadata('q', true, 1 /* QueryParameter */, 0 /* String */),
|
|
33889
33889
|
generateParamConfigMetadata('answerTypes', false, 2 /* Body */, 0 /* String */, true),
|
|
@@ -33891,15 +33891,15 @@ const getSearchResults_ConfigPropertyMetadata = [
|
|
|
33891
33891
|
generateParamConfigMetadata('objectApiNames', false, 2 /* Body */, 0 /* String */, true),
|
|
33892
33892
|
generateParamConfigMetadata('searchObjectOptions', false, 2 /* Body */, 4 /* Unsupported */),
|
|
33893
33893
|
];
|
|
33894
|
-
const getSearchResults_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
33894
|
+
const getSearchResults_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, getSearchResults_ConfigPropertyMetadata);
|
|
33895
33895
|
const createResourceParams$e = /*#__PURE__*/ createResourceParams$16(getSearchResults_ConfigPropertyMetadata);
|
|
33896
33896
|
function keyBuilder$1y(luvio, config) {
|
|
33897
33897
|
const resourceParams = createResourceParams$e(config);
|
|
33898
33898
|
return keyBuilder$1z(luvio, resourceParams);
|
|
33899
33899
|
}
|
|
33900
|
-
function typeCheckConfig$
|
|
33900
|
+
function typeCheckConfig$f(untrustedConfig) {
|
|
33901
33901
|
const config = {};
|
|
33902
|
-
typeCheckConfig$
|
|
33902
|
+
typeCheckConfig$1a(untrustedConfig, config, getSearchResults_ConfigPropertyMetadata);
|
|
33903
33903
|
const untrustedConfig_searchObjectOptions = untrustedConfig.searchObjectOptions;
|
|
33904
33904
|
if (untrustedIsObject(untrustedConfig_searchObjectOptions)) {
|
|
33905
33905
|
const untrustedConfig_searchObjectOptions_object = {};
|
|
@@ -33920,14 +33920,14 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
33920
33920
|
}
|
|
33921
33921
|
return config;
|
|
33922
33922
|
}
|
|
33923
|
-
function validateAdapterConfig$
|
|
33923
|
+
function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
|
|
33924
33924
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
33925
33925
|
return null;
|
|
33926
33926
|
}
|
|
33927
33927
|
if (process.env.NODE_ENV !== 'production') {
|
|
33928
33928
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
33929
33929
|
}
|
|
33930
|
-
const config = typeCheckConfig$
|
|
33930
|
+
const config = typeCheckConfig$f(untrustedConfig);
|
|
33931
33931
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
33932
33932
|
return null;
|
|
33933
33933
|
}
|
|
@@ -33953,7 +33953,7 @@ function onFetchResponseError$5(luvio, config, resourceParams, response) {
|
|
|
33953
33953
|
}
|
|
33954
33954
|
function buildNetworkSnapshot$g(luvio, config, options) {
|
|
33955
33955
|
const resourceParams = createResourceParams$e(config);
|
|
33956
|
-
const request = createResourceRequest$
|
|
33956
|
+
const request = createResourceRequest$j(resourceParams);
|
|
33957
33957
|
return luvio.dispatchResourceRequest(request, options)
|
|
33958
33958
|
.then((response) => {
|
|
33959
33959
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$6(luvio, config, resourceParams, response), () => {
|
|
@@ -33982,7 +33982,7 @@ function buildCachedSnapshotCachePolicy$7(context, storeLookup) {
|
|
|
33982
33982
|
return cacheSnapshot;
|
|
33983
33983
|
}
|
|
33984
33984
|
const getSearchResultsAdapterFactory = (luvio) => function UiApi__getSearchResults(untrustedConfig, requestContext) {
|
|
33985
|
-
const config = validateAdapterConfig$
|
|
33985
|
+
const config = validateAdapterConfig$f(untrustedConfig, getSearchResults_ConfigPropertyNames);
|
|
33986
33986
|
// Invalid or incomplete config
|
|
33987
33987
|
if (config === null) {
|
|
33988
33988
|
return null;
|
|
@@ -34143,7 +34143,7 @@ function ingestError$3(luvio, params, error, snapshotRefresh) {
|
|
|
34143
34143
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
34144
34144
|
return errorSnapshot;
|
|
34145
34145
|
}
|
|
34146
|
-
function createResourceRequest$
|
|
34146
|
+
function createResourceRequest$i(config) {
|
|
34147
34147
|
const headers = {};
|
|
34148
34148
|
return {
|
|
34149
34149
|
baseUri: '/services/data/v63.0',
|
|
@@ -34157,7 +34157,7 @@ function createResourceRequest$h(config) {
|
|
|
34157
34157
|
};
|
|
34158
34158
|
}
|
|
34159
34159
|
|
|
34160
|
-
const adapterName$
|
|
34160
|
+
const adapterName$9 = 'getKeywordSearchResults';
|
|
34161
34161
|
const getKeywordSearchResults_ConfigPropertyMetadata = [
|
|
34162
34162
|
generateParamConfigMetadata('objectApiName', true, 1 /* QueryParameter */, 0 /* String */),
|
|
34163
34163
|
generateParamConfigMetadata('q', true, 1 /* QueryParameter */, 0 /* String */),
|
|
@@ -34167,15 +34167,15 @@ const getKeywordSearchResults_ConfigPropertyMetadata = [
|
|
|
34167
34167
|
generateParamConfigMetadata('pageToken', false, 2 /* Body */, 0 /* String */),
|
|
34168
34168
|
generateParamConfigMetadata('sortBy', false, 2 /* Body */, 0 /* String */),
|
|
34169
34169
|
];
|
|
34170
|
-
const getKeywordSearchResults_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
34170
|
+
const getKeywordSearchResults_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, getKeywordSearchResults_ConfigPropertyMetadata);
|
|
34171
34171
|
const createResourceParams$d = /*#__PURE__*/ createResourceParams$16(getKeywordSearchResults_ConfigPropertyMetadata);
|
|
34172
34172
|
function keyBuilder$1v(luvio, config) {
|
|
34173
34173
|
const resourceParams = createResourceParams$d(config);
|
|
34174
34174
|
return keyBuilder$1w(luvio, resourceParams);
|
|
34175
34175
|
}
|
|
34176
|
-
function typeCheckConfig$
|
|
34176
|
+
function typeCheckConfig$e(untrustedConfig) {
|
|
34177
34177
|
const config = {};
|
|
34178
|
-
typeCheckConfig$
|
|
34178
|
+
typeCheckConfig$1a(untrustedConfig, config, getKeywordSearchResults_ConfigPropertyMetadata);
|
|
34179
34179
|
const untrustedConfig_filters = untrustedConfig.filters;
|
|
34180
34180
|
if (ArrayIsArray$1(untrustedConfig_filters)) {
|
|
34181
34181
|
const untrustedConfig_filters_array = [];
|
|
@@ -34190,14 +34190,14 @@ function typeCheckConfig$g(untrustedConfig) {
|
|
|
34190
34190
|
}
|
|
34191
34191
|
return config;
|
|
34192
34192
|
}
|
|
34193
|
-
function validateAdapterConfig$
|
|
34193
|
+
function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
|
|
34194
34194
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
34195
34195
|
return null;
|
|
34196
34196
|
}
|
|
34197
34197
|
if (process.env.NODE_ENV !== 'production') {
|
|
34198
34198
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
34199
34199
|
}
|
|
34200
|
-
const config = typeCheckConfig$
|
|
34200
|
+
const config = typeCheckConfig$e(untrustedConfig);
|
|
34201
34201
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
34202
34202
|
return null;
|
|
34203
34203
|
}
|
|
@@ -34223,7 +34223,7 @@ function onFetchResponseError$4(luvio, config, resourceParams, response) {
|
|
|
34223
34223
|
}
|
|
34224
34224
|
function buildNetworkSnapshot$f(luvio, config, options) {
|
|
34225
34225
|
const resourceParams = createResourceParams$d(config);
|
|
34226
|
-
const request = createResourceRequest$
|
|
34226
|
+
const request = createResourceRequest$i(resourceParams);
|
|
34227
34227
|
return luvio.dispatchResourceRequest(request, options)
|
|
34228
34228
|
.then((response) => {
|
|
34229
34229
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$5(luvio, config, resourceParams, response), () => {
|
|
@@ -34252,7 +34252,7 @@ function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
|
|
|
34252
34252
|
return cacheSnapshot;
|
|
34253
34253
|
}
|
|
34254
34254
|
const getKeywordSearchResultsAdapterFactory = (luvio) => function UiApi__getKeywordSearchResults(untrustedConfig, requestContext) {
|
|
34255
|
-
const config = validateAdapterConfig$
|
|
34255
|
+
const config = validateAdapterConfig$e(untrustedConfig, getKeywordSearchResults_ConfigPropertyNames);
|
|
34256
34256
|
// Invalid or incomplete config
|
|
34257
34257
|
if (config === null) {
|
|
34258
34258
|
return null;
|
|
@@ -54667,7 +54667,7 @@ function ingestError$2(luvio, config, params, error, snapshotRefresh) {
|
|
|
54667
54667
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
54668
54668
|
return errorSnapshot;
|
|
54669
54669
|
}
|
|
54670
|
-
function createResourceRequest$
|
|
54670
|
+
function createResourceRequest$h(config) {
|
|
54671
54671
|
const headers = {};
|
|
54672
54672
|
return {
|
|
54673
54673
|
baseUri: '/services/data/v63.0',
|
|
@@ -54705,19 +54705,19 @@ function stripDocumentOfMetaschema(documentNode) {
|
|
|
54705
54705
|
},
|
|
54706
54706
|
});
|
|
54707
54707
|
}
|
|
54708
|
-
function createResourceRequest$
|
|
54708
|
+
function createResourceRequest$g(config) {
|
|
54709
54709
|
const queryWithoutMetaschemaDirectives = stripDocumentOfMetaschema(config.body.query);
|
|
54710
54710
|
const newBody = {
|
|
54711
54711
|
...config.body,
|
|
54712
54712
|
query: queryWithoutMetaschemaDirectives,
|
|
54713
54713
|
};
|
|
54714
|
-
return createResourceRequest$
|
|
54714
|
+
return createResourceRequest$h({
|
|
54715
54715
|
...config,
|
|
54716
54716
|
body: newBody,
|
|
54717
54717
|
});
|
|
54718
54718
|
}
|
|
54719
54719
|
|
|
54720
|
-
function createResourceRequest$
|
|
54720
|
+
function createResourceRequest$f(config) {
|
|
54721
54721
|
const headers = {};
|
|
54722
54722
|
const transformedConfig = stripDocumentsOfMetaschema(config);
|
|
54723
54723
|
return {
|
|
@@ -55040,7 +55040,7 @@ function transformConfiguration$1(config) {
|
|
|
55040
55040
|
batchQuery: batchQueryTransformed,
|
|
55041
55041
|
};
|
|
55042
55042
|
}
|
|
55043
|
-
function typeCheckConfig$
|
|
55043
|
+
function typeCheckConfig$d(untrustedConfig) {
|
|
55044
55044
|
const config = {};
|
|
55045
55045
|
const untrustedConfig_batchQuery = untrustedConfig.batchQuery;
|
|
55046
55046
|
if (untrustedConfig_batchQuery !== undefined && ArrayIsArray$1(untrustedConfig_batchQuery)) {
|
|
@@ -55063,7 +55063,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
55063
55063
|
}
|
|
55064
55064
|
// Handroll offline support here
|
|
55065
55065
|
const factory$g = (luvio) => function UiApi__graphqlBatch(untrustedConfig, requestContext) {
|
|
55066
|
-
const config = validateAdapterConfig$
|
|
55066
|
+
const config = validateAdapterConfig$d(untrustedConfig, graphqlBatch_ConfigPropertyNames);
|
|
55067
55067
|
// Invalid or incomplete config
|
|
55068
55068
|
if (config === null) {
|
|
55069
55069
|
return null;
|
|
@@ -55071,7 +55071,7 @@ const factory$g = (luvio) => function UiApi__graphqlBatch(untrustedConfig, reque
|
|
|
55071
55071
|
const { getEnvironmentAwareGraphQLBatchAdapter } = configurationForGraphQLAdapters;
|
|
55072
55072
|
const adapter = getEnvironmentAwareGraphQLBatchAdapter();
|
|
55073
55073
|
if (adapter !== undefined) {
|
|
55074
|
-
return adapter(config,
|
|
55074
|
+
return adapter(config, requestContext);
|
|
55075
55075
|
}
|
|
55076
55076
|
return luvio.applyCachePolicy(requestContext || {}, { config, luvio }, // BuildSnapshotContext
|
|
55077
55077
|
buildCachedSnapshotCachePolicy$5, buildNetworkSnapshotCachePolicy$6);
|
|
@@ -55087,14 +55087,14 @@ function keyBuilder$b(luvio, config) {
|
|
|
55087
55087
|
const resourceParams = createResourceParams$c(config);
|
|
55088
55088
|
return keyBuilder$c(luvio, resourceParams);
|
|
55089
55089
|
}
|
|
55090
|
-
function validateAdapterConfig$
|
|
55090
|
+
function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
|
|
55091
55091
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
55092
55092
|
return null;
|
|
55093
55093
|
}
|
|
55094
55094
|
if (process.env.NODE_ENV !== 'production') {
|
|
55095
55095
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
55096
55096
|
}
|
|
55097
|
-
const config = typeCheckConfig$
|
|
55097
|
+
const config = typeCheckConfig$d(untrustedConfig);
|
|
55098
55098
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
55099
55099
|
return null;
|
|
55100
55100
|
}
|
|
@@ -55120,7 +55120,7 @@ function onFetchResponseError$3(luvio, config, resourceParams, response) {
|
|
|
55120
55120
|
}
|
|
55121
55121
|
function buildNetworkSnapshot$e(luvio, config, options) {
|
|
55122
55122
|
const resourceParams = createResourceParams$c(transformConfiguration$1(config));
|
|
55123
|
-
const request = createResourceRequest$
|
|
55123
|
+
const request = createResourceRequest$f(resourceParams);
|
|
55124
55124
|
return luvio.dispatchResourceRequest(request, options).then((response) => {
|
|
55125
55125
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$4(luvio, config, resourceParams, response), () => {
|
|
55126
55126
|
const cache = new StoreKeyMap();
|
|
@@ -55266,7 +55266,7 @@ function ingestSuccess$4(luvio, response) {
|
|
|
55266
55266
|
};
|
|
55267
55267
|
return syntheticSnapshot;
|
|
55268
55268
|
}
|
|
55269
|
-
function createResourceRequest$
|
|
55269
|
+
function createResourceRequest$e(config) {
|
|
55270
55270
|
const headers = {};
|
|
55271
55271
|
return {
|
|
55272
55272
|
baseUri: '/services/data/v63.0',
|
|
@@ -55280,13 +55280,13 @@ function createResourceRequest$d(config) {
|
|
|
55280
55280
|
};
|
|
55281
55281
|
}
|
|
55282
55282
|
|
|
55283
|
-
const adapterName$
|
|
55283
|
+
const adapterName$8 = 'executeBatchRecordOperations';
|
|
55284
55284
|
const executeBatchRecordOperations_ConfigPropertyMetadata = [
|
|
55285
55285
|
generateParamConfigMetadata('allOrNone', true, 2, 1, false),
|
|
55286
55286
|
generateParamConfigMetadata('operations', true, 2, 4, true), // Required, BodyParam, Unsupported(Object type), array
|
|
55287
55287
|
];
|
|
55288
55288
|
const executeBatchRecordOperations_ConfigPropertyNames =
|
|
55289
|
-
/*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
55289
|
+
/*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, executeBatchRecordOperations_ConfigPropertyMetadata);
|
|
55290
55290
|
const acceptedOperations = ['CREATE', 'UPDATE', 'DELETE'];
|
|
55291
55291
|
const batchUpdateRecordsCreateResourceParams = /*#__PURE__*/ createResourceParams$16(executeBatchRecordOperations_ConfigPropertyMetadata);
|
|
55292
55292
|
function batchUpdateRecordsTypeCheckConfig(untrustedConfig) {
|
|
@@ -55321,7 +55321,7 @@ function batchUpdateRecordsTypeCheckConfig(untrustedConfig) {
|
|
|
55321
55321
|
}
|
|
55322
55322
|
return config;
|
|
55323
55323
|
}
|
|
55324
|
-
function validateAdapterConfig$
|
|
55324
|
+
function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
|
|
55325
55325
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
55326
55326
|
return null;
|
|
55327
55327
|
}
|
|
@@ -55338,7 +55338,7 @@ function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
|
|
|
55338
55338
|
}
|
|
55339
55339
|
function buildNetworkSnapshot$d(luvio, config, options) {
|
|
55340
55340
|
const resourceParams = batchUpdateRecordsCreateResourceParams(config);
|
|
55341
|
-
const request = createResourceRequest$
|
|
55341
|
+
const request = createResourceRequest$e(resourceParams);
|
|
55342
55342
|
return luvio.dispatchResourceRequest(request, options).then((response) => {
|
|
55343
55343
|
return luvio.handleSuccessResponse(() => {
|
|
55344
55344
|
const snapshot = ingestSuccess$4(luvio, response);
|
|
@@ -55355,7 +55355,7 @@ function buildNetworkSnapshot$d(luvio, config, options) {
|
|
|
55355
55355
|
}
|
|
55356
55356
|
const factory$f = (luvio) => {
|
|
55357
55357
|
return function executeBatchRecordOperations(untrustedConfig) {
|
|
55358
|
-
const config = validateAdapterConfig$
|
|
55358
|
+
const config = validateAdapterConfig$c(untrustedConfig, executeBatchRecordOperations_ConfigPropertyNames);
|
|
55359
55359
|
// Invalid or incomplete config
|
|
55360
55360
|
if (config === null) {
|
|
55361
55361
|
// eslint-disable-next-line @salesforce/lds/no-error-in-production
|
|
@@ -55365,19 +55365,19 @@ const factory$f = (luvio) => {
|
|
|
55365
55365
|
};
|
|
55366
55366
|
};
|
|
55367
55367
|
|
|
55368
|
-
const adapterName$
|
|
55368
|
+
const adapterName$7 = 'graphql';
|
|
55369
55369
|
const graphql_ConfigPropertyMetadata = [
|
|
55370
55370
|
generateParamConfigMetadata('operationName', false, 2 /* Body */, 0 /* String */),
|
|
55371
55371
|
generateParamConfigMetadata('query', true, 2 /* Body */, 0 /* String */),
|
|
55372
55372
|
generateParamConfigMetadata('variables', false, 2 /* Body */, 4 /* Unsupported */),
|
|
55373
55373
|
];
|
|
55374
|
-
const graphql_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
55374
|
+
const graphql_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, graphql_ConfigPropertyMetadata);
|
|
55375
55375
|
const createResourceParams$b = /*#__PURE__*/ createResourceParams$16(graphql_ConfigPropertyMetadata);
|
|
55376
55376
|
function keyBuilder$a(luvio, config) {
|
|
55377
55377
|
const resourceParams = createResourceParams$b(config);
|
|
55378
55378
|
return keyBuilder$d(luvio, resourceParams);
|
|
55379
55379
|
}
|
|
55380
|
-
function typeCheckConfig$
|
|
55380
|
+
function typeCheckConfig$c(untrustedConfig) {
|
|
55381
55381
|
const config = {};
|
|
55382
55382
|
const untrustedConfig_operationName = untrustedConfig.operationName;
|
|
55383
55383
|
if (typeof untrustedConfig_operationName === 'string') {
|
|
@@ -55404,14 +55404,14 @@ function typeCheckConfig$e(untrustedConfig) {
|
|
|
55404
55404
|
}
|
|
55405
55405
|
return config;
|
|
55406
55406
|
}
|
|
55407
|
-
function validateAdapterConfig$
|
|
55407
|
+
function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
|
|
55408
55408
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
55409
55409
|
return null;
|
|
55410
55410
|
}
|
|
55411
55411
|
if (process.env.NODE_ENV !== 'production') {
|
|
55412
55412
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
55413
55413
|
}
|
|
55414
|
-
const config = typeCheckConfig$
|
|
55414
|
+
const config = typeCheckConfig$c(untrustedConfig);
|
|
55415
55415
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
55416
55416
|
return null;
|
|
55417
55417
|
}
|
|
@@ -55447,7 +55447,7 @@ function onFetchResponseError$2(luvio, config, resourceParams, response) {
|
|
|
55447
55447
|
}
|
|
55448
55448
|
function buildNetworkSnapshot$c(luvio, config, options) {
|
|
55449
55449
|
const resourceParams = createResourceParams$b(transformConfiguration(config));
|
|
55450
|
-
const request = createResourceRequest$
|
|
55450
|
+
const request = createResourceRequest$g(resourceParams);
|
|
55451
55451
|
return luvio.dispatchResourceRequest(request, options)
|
|
55452
55452
|
.then((response) => {
|
|
55453
55453
|
var _a, _b;
|
|
@@ -55485,7 +55485,7 @@ function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
|
|
|
55485
55485
|
return cacheSnapshot;
|
|
55486
55486
|
}
|
|
55487
55487
|
|
|
55488
|
-
function validateAdapterConfig$
|
|
55488
|
+
function validateAdapterConfig$a(untrustedConfig, _configPropertyNames) {
|
|
55489
55489
|
if (untrustedConfig !== null && typeof untrustedConfig === 'object') {
|
|
55490
55490
|
const operationNameIsDefinedAsUndefined = ObjectPrototypeHasOwnProperty.call(untrustedConfig, 'operationName') &&
|
|
55491
55491
|
untrustedConfig.operationName === undefined;
|
|
@@ -55495,11 +55495,11 @@ function validateAdapterConfig$c(untrustedConfig, _configPropertyNames) {
|
|
|
55495
55495
|
return null;
|
|
55496
55496
|
}
|
|
55497
55497
|
}
|
|
55498
|
-
return validateAdapterConfig$
|
|
55498
|
+
return validateAdapterConfig$b(untrustedConfig, _configPropertyNames);
|
|
55499
55499
|
}
|
|
55500
55500
|
|
|
55501
55501
|
const factory$e = (luvio) => function graphql(untrustedConfig, requestContext) {
|
|
55502
|
-
const config = validateAdapterConfig$
|
|
55502
|
+
const config = validateAdapterConfig$a(untrustedConfig, graphql_ConfigPropertyNames);
|
|
55503
55503
|
// Invalid or incomplete config
|
|
55504
55504
|
if (config === null) {
|
|
55505
55505
|
return null;
|
|
@@ -55507,7 +55507,7 @@ const factory$e = (luvio) => function graphql(untrustedConfig, requestContext) {
|
|
|
55507
55507
|
const { getDraftAwareGraphQLAdapter } = configurationForGraphQLAdapters;
|
|
55508
55508
|
const adapter = getDraftAwareGraphQLAdapter();
|
|
55509
55509
|
if (adapter !== undefined) {
|
|
55510
|
-
return adapter(config,
|
|
55510
|
+
return adapter(config, requestContext);
|
|
55511
55511
|
}
|
|
55512
55512
|
return luvio.applyCachePolicy(requestContext || {}, { config, luvio }, buildCachedSnapshotCachePolicy$4, buildNetworkSnapshotCachePolicy$5);
|
|
55513
55513
|
};
|
|
@@ -55535,7 +55535,7 @@ function ingestSuccess$3(luvio, resourceParams, response) {
|
|
|
55535
55535
|
deepFreeze(snapshot.data);
|
|
55536
55536
|
return snapshot;
|
|
55537
55537
|
}
|
|
55538
|
-
function createResourceRequest$
|
|
55538
|
+
function createResourceRequest$d(config) {
|
|
55539
55539
|
const headers = {};
|
|
55540
55540
|
return {
|
|
55541
55541
|
baseUri: '/services/data/v63.0',
|
|
@@ -55549,7 +55549,6 @@ function createResourceRequest$c(config) {
|
|
|
55549
55549
|
};
|
|
55550
55550
|
}
|
|
55551
55551
|
|
|
55552
|
-
const adapterName$8 = 'performUpdateRecordQuickAction';
|
|
55553
55552
|
const performUpdateRecordQuickAction_ConfigPropertyMetadata = [
|
|
55554
55553
|
generateParamConfigMetadata('actionApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
55555
55554
|
generateParamConfigMetadata('allowSaveOnDuplicate', false, 2 /* Body */, 1 /* Boolean */),
|
|
@@ -55557,62 +55556,10 @@ const performUpdateRecordQuickAction_ConfigPropertyMetadata = [
|
|
|
55557
55556
|
generateParamConfigMetadata('contextId', false, 2 /* Body */, 0 /* String */, false, getRecordId18),
|
|
55558
55557
|
generateParamConfigMetadata('fields', true, 2 /* Body */, 4 /* Unsupported */),
|
|
55559
55558
|
];
|
|
55560
|
-
const performUpdateRecordQuickAction_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, performUpdateRecordQuickAction_ConfigPropertyMetadata);
|
|
55561
55559
|
const createResourceParams$a = /*#__PURE__*/ createResourceParams$16(performUpdateRecordQuickAction_ConfigPropertyMetadata);
|
|
55562
|
-
function typeCheckConfig$d(untrustedConfig) {
|
|
55563
|
-
const config = {};
|
|
55564
|
-
typeCheckConfig$1c(untrustedConfig, config, performUpdateRecordQuickAction_ConfigPropertyMetadata);
|
|
55565
|
-
const untrustedConfig_fields = untrustedConfig.fields;
|
|
55566
|
-
if (untrustedIsObject(untrustedConfig_fields)) {
|
|
55567
|
-
const untrustedConfig_fields_object = {};
|
|
55568
|
-
const untrustedConfig_fields_keys = Object.keys(untrustedConfig_fields);
|
|
55569
|
-
for (let i = 0, arrayLength = untrustedConfig_fields_keys.length; i < arrayLength; i++) {
|
|
55570
|
-
const key = untrustedConfig_fields_keys[i];
|
|
55571
|
-
const untrustedConfig_fields_prop = untrustedConfig_fields[key];
|
|
55572
|
-
if (typeof untrustedConfig_fields_prop === 'string') {
|
|
55573
|
-
if (untrustedConfig_fields_object !== undefined) {
|
|
55574
|
-
untrustedConfig_fields_object[key] = untrustedConfig_fields_prop;
|
|
55575
|
-
}
|
|
55576
|
-
}
|
|
55577
|
-
if (typeof untrustedConfig_fields_prop === 'number') {
|
|
55578
|
-
if (untrustedConfig_fields_object !== undefined) {
|
|
55579
|
-
untrustedConfig_fields_object[key] = untrustedConfig_fields_prop;
|
|
55580
|
-
}
|
|
55581
|
-
}
|
|
55582
|
-
if (untrustedConfig_fields_prop === null) {
|
|
55583
|
-
if (untrustedConfig_fields_object !== undefined) {
|
|
55584
|
-
untrustedConfig_fields_object[key] = untrustedConfig_fields_prop;
|
|
55585
|
-
}
|
|
55586
|
-
}
|
|
55587
|
-
if (typeof untrustedConfig_fields_prop === 'boolean') {
|
|
55588
|
-
if (untrustedConfig_fields_object !== undefined) {
|
|
55589
|
-
untrustedConfig_fields_object[key] = untrustedConfig_fields_prop;
|
|
55590
|
-
}
|
|
55591
|
-
}
|
|
55592
|
-
}
|
|
55593
|
-
if (untrustedConfig_fields_object !== undefined && Object.keys(untrustedConfig_fields_object).length >= 0) {
|
|
55594
|
-
config.fields = untrustedConfig_fields_object;
|
|
55595
|
-
}
|
|
55596
|
-
}
|
|
55597
|
-
return config;
|
|
55598
|
-
}
|
|
55599
|
-
function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
|
|
55600
|
-
if (!untrustedIsObject(untrustedConfig)) {
|
|
55601
|
-
return null;
|
|
55602
|
-
}
|
|
55603
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
55604
|
-
validateConfig(untrustedConfig, configPropertyNames);
|
|
55605
|
-
}
|
|
55606
|
-
const coercedConfig = coerceConfig$1(untrustedConfig, performUpdateRecordQuickAction_ConfigPropertyMetadata);
|
|
55607
|
-
const config = typeCheckConfig$d(coercedConfig);
|
|
55608
|
-
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
55609
|
-
return null;
|
|
55610
|
-
}
|
|
55611
|
-
return config;
|
|
55612
|
-
}
|
|
55613
55560
|
function buildNetworkSnapshot$b(luvio, config, options) {
|
|
55614
55561
|
const resourceParams = createResourceParams$a(config);
|
|
55615
|
-
const request = createResourceRequest$
|
|
55562
|
+
const request = createResourceRequest$d(resourceParams);
|
|
55616
55563
|
return luvio.dispatchResourceRequest(request, options)
|
|
55617
55564
|
.then((response) => {
|
|
55618
55565
|
return luvio.handleSuccessResponse(() => {
|
|
@@ -55628,18 +55575,6 @@ function buildNetworkSnapshot$b(luvio, config, options) {
|
|
|
55628
55575
|
throw response;
|
|
55629
55576
|
});
|
|
55630
55577
|
}
|
|
55631
|
-
const performUpdateRecordQuickActionAdapterFactory = (luvio) => {
|
|
55632
|
-
return function performUpdateRecordQuickAction(untrustedConfig) {
|
|
55633
|
-
const config = validateAdapterConfig$b(untrustedConfig, performUpdateRecordQuickAction_ConfigPropertyNames);
|
|
55634
|
-
// Invalid or incomplete config
|
|
55635
|
-
if (config === null) {
|
|
55636
|
-
throw new Error('Invalid config for "performUpdateRecordQuickAction"');
|
|
55637
|
-
}
|
|
55638
|
-
return buildNetworkSnapshot$b(luvio, config);
|
|
55639
|
-
};
|
|
55640
|
-
};
|
|
55641
|
-
|
|
55642
|
-
const factory$d = performUpdateRecordQuickActionAdapterFactory;
|
|
55643
55578
|
|
|
55644
55579
|
function select$4(luvio, params) {
|
|
55645
55580
|
return select$32();
|
|
@@ -55664,7 +55599,7 @@ function ingestSuccess$2(luvio, resourceParams, response) {
|
|
|
55664
55599
|
deepFreeze(snapshot.data);
|
|
55665
55600
|
return snapshot;
|
|
55666
55601
|
}
|
|
55667
|
-
function createResourceRequest$
|
|
55602
|
+
function createResourceRequest$c(config) {
|
|
55668
55603
|
const headers = {};
|
|
55669
55604
|
return {
|
|
55670
55605
|
baseUri: '/services/data/v63.0',
|
|
@@ -55678,7 +55613,6 @@ function createResourceRequest$b(config) {
|
|
|
55678
55613
|
};
|
|
55679
55614
|
}
|
|
55680
55615
|
|
|
55681
|
-
const adapterName$7 = 'performQuickAction';
|
|
55682
55616
|
const performQuickAction_ConfigPropertyMetadata = [
|
|
55683
55617
|
generateParamConfigMetadata('actionApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
55684
55618
|
generateParamConfigMetadata('allowSaveOnDuplicate', false, 2 /* Body */, 1 /* Boolean */),
|
|
@@ -55686,62 +55620,10 @@ const performQuickAction_ConfigPropertyMetadata = [
|
|
|
55686
55620
|
generateParamConfigMetadata('contextId', false, 2 /* Body */, 0 /* String */, false, getRecordId18),
|
|
55687
55621
|
generateParamConfigMetadata('fields', true, 2 /* Body */, 4 /* Unsupported */),
|
|
55688
55622
|
];
|
|
55689
|
-
const performQuickAction_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, performQuickAction_ConfigPropertyMetadata);
|
|
55690
55623
|
const createResourceParams$9 = /*#__PURE__*/ createResourceParams$16(performQuickAction_ConfigPropertyMetadata);
|
|
55691
|
-
function typeCheckConfig$c(untrustedConfig) {
|
|
55692
|
-
const config = {};
|
|
55693
|
-
typeCheckConfig$1c(untrustedConfig, config, performQuickAction_ConfigPropertyMetadata);
|
|
55694
|
-
const untrustedConfig_fields = untrustedConfig.fields;
|
|
55695
|
-
if (untrustedIsObject(untrustedConfig_fields)) {
|
|
55696
|
-
const untrustedConfig_fields_object = {};
|
|
55697
|
-
const untrustedConfig_fields_keys = Object.keys(untrustedConfig_fields);
|
|
55698
|
-
for (let i = 0, arrayLength = untrustedConfig_fields_keys.length; i < arrayLength; i++) {
|
|
55699
|
-
const key = untrustedConfig_fields_keys[i];
|
|
55700
|
-
const untrustedConfig_fields_prop = untrustedConfig_fields[key];
|
|
55701
|
-
if (typeof untrustedConfig_fields_prop === 'string') {
|
|
55702
|
-
if (untrustedConfig_fields_object !== undefined) {
|
|
55703
|
-
untrustedConfig_fields_object[key] = untrustedConfig_fields_prop;
|
|
55704
|
-
}
|
|
55705
|
-
}
|
|
55706
|
-
if (typeof untrustedConfig_fields_prop === 'number') {
|
|
55707
|
-
if (untrustedConfig_fields_object !== undefined) {
|
|
55708
|
-
untrustedConfig_fields_object[key] = untrustedConfig_fields_prop;
|
|
55709
|
-
}
|
|
55710
|
-
}
|
|
55711
|
-
if (untrustedConfig_fields_prop === null) {
|
|
55712
|
-
if (untrustedConfig_fields_object !== undefined) {
|
|
55713
|
-
untrustedConfig_fields_object[key] = untrustedConfig_fields_prop;
|
|
55714
|
-
}
|
|
55715
|
-
}
|
|
55716
|
-
if (typeof untrustedConfig_fields_prop === 'boolean') {
|
|
55717
|
-
if (untrustedConfig_fields_object !== undefined) {
|
|
55718
|
-
untrustedConfig_fields_object[key] = untrustedConfig_fields_prop;
|
|
55719
|
-
}
|
|
55720
|
-
}
|
|
55721
|
-
}
|
|
55722
|
-
if (untrustedConfig_fields_object !== undefined && Object.keys(untrustedConfig_fields_object).length >= 0) {
|
|
55723
|
-
config.fields = untrustedConfig_fields_object;
|
|
55724
|
-
}
|
|
55725
|
-
}
|
|
55726
|
-
return config;
|
|
55727
|
-
}
|
|
55728
|
-
function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
|
|
55729
|
-
if (!untrustedIsObject(untrustedConfig)) {
|
|
55730
|
-
return null;
|
|
55731
|
-
}
|
|
55732
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
55733
|
-
validateConfig(untrustedConfig, configPropertyNames);
|
|
55734
|
-
}
|
|
55735
|
-
const coercedConfig = coerceConfig$1(untrustedConfig, performQuickAction_ConfigPropertyMetadata);
|
|
55736
|
-
const config = typeCheckConfig$c(coercedConfig);
|
|
55737
|
-
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
55738
|
-
return null;
|
|
55739
|
-
}
|
|
55740
|
-
return config;
|
|
55741
|
-
}
|
|
55742
55624
|
function buildNetworkSnapshot$a(luvio, config, options) {
|
|
55743
55625
|
const resourceParams = createResourceParams$9(config);
|
|
55744
|
-
const request = createResourceRequest$
|
|
55626
|
+
const request = createResourceRequest$c(resourceParams);
|
|
55745
55627
|
return luvio.dispatchResourceRequest(request, options)
|
|
55746
55628
|
.then((response) => {
|
|
55747
55629
|
return luvio.handleSuccessResponse(() => {
|
|
@@ -55757,20 +55639,36 @@ function buildNetworkSnapshot$a(luvio, config, options) {
|
|
|
55757
55639
|
throw response;
|
|
55758
55640
|
});
|
|
55759
55641
|
}
|
|
55760
|
-
|
|
55761
|
-
|
|
55762
|
-
|
|
55763
|
-
|
|
55764
|
-
|
|
55765
|
-
|
|
55642
|
+
|
|
55643
|
+
const factory$d = (luvio) => {
|
|
55644
|
+
return function (untrustedConfig) {
|
|
55645
|
+
const config = untrustedConfig;
|
|
55646
|
+
const draftAdapter = configurationForRestAdapters.getDraftAwarePerformUpdateRecordQuickActionAdapter();
|
|
55647
|
+
if (draftAdapter !== undefined) {
|
|
55648
|
+
return draftAdapter(config, (config) => {
|
|
55649
|
+
const resourceParams = createResourceParams$9(config);
|
|
55650
|
+
return createResourceRequest$d(resourceParams);
|
|
55651
|
+
});
|
|
55766
55652
|
}
|
|
55767
|
-
return buildNetworkSnapshot$
|
|
55653
|
+
return buildNetworkSnapshot$b(luvio, config);
|
|
55768
55654
|
};
|
|
55769
55655
|
};
|
|
55770
55656
|
|
|
55771
|
-
const factory$c =
|
|
55657
|
+
const factory$c = (luvio) => {
|
|
55658
|
+
return function (untrustedConfig) {
|
|
55659
|
+
const config = untrustedConfig;
|
|
55660
|
+
const draftAdapter = configurationForRestAdapters.getDraftAwarePerformQuickActionAdapter();
|
|
55661
|
+
if (draftAdapter !== undefined) {
|
|
55662
|
+
return draftAdapter(config, (config) => {
|
|
55663
|
+
const resourceParams = createResourceParams$9(config);
|
|
55664
|
+
return createResourceRequest$c(resourceParams);
|
|
55665
|
+
});
|
|
55666
|
+
}
|
|
55667
|
+
return buildNetworkSnapshot$a(luvio, config);
|
|
55668
|
+
};
|
|
55669
|
+
};
|
|
55772
55670
|
|
|
55773
|
-
function createResourceRequest$
|
|
55671
|
+
function createResourceRequest$b(config) {
|
|
55774
55672
|
const headers = {};
|
|
55775
55673
|
return {
|
|
55776
55674
|
baseUri: '/services/data/v63.0',
|
|
@@ -55880,7 +55778,7 @@ function optimisticUpdate(cachedLayoutUserState, layoutUserStateInput) {
|
|
|
55880
55778
|
return clonedLayoutUserState;
|
|
55881
55779
|
}
|
|
55882
55780
|
function coerceConfigWithDefaults$2(untrusted, layoutUserStateInput) {
|
|
55883
|
-
const config = validateAdapterConfig$
|
|
55781
|
+
const config = validateAdapterConfig$O(untrusted, getLayoutUserState_ConfigPropertyNames);
|
|
55884
55782
|
if (config === null) {
|
|
55885
55783
|
// eslint-disable-next-line @salesforce/lds/no-error-in-production
|
|
55886
55784
|
throw new Error(`@wire(updateLayoutUserState) invalid configuration ${stringify(untrusted)}`);
|
|
@@ -55907,7 +55805,7 @@ const factory$b = (luvio) => {
|
|
|
55907
55805
|
}
|
|
55908
55806
|
}
|
|
55909
55807
|
const { objectApiName, layoutType, mode, recordTypeId, layoutUserStateInput } = config;
|
|
55910
|
-
const updateRequest = createResourceRequest$
|
|
55808
|
+
const updateRequest = createResourceRequest$b({
|
|
55911
55809
|
urlParams: {
|
|
55912
55810
|
objectApiName,
|
|
55913
55811
|
},
|
|
@@ -55986,7 +55884,7 @@ function keyBuilder$9(luvio, config) {
|
|
|
55986
55884
|
}
|
|
55987
55885
|
function typeCheckConfig$b(untrustedConfig) {
|
|
55988
55886
|
const config = {};
|
|
55989
|
-
typeCheckConfig$
|
|
55887
|
+
typeCheckConfig$1a(untrustedConfig, config, getListRecordsByName_ConfigPropertyMetadata);
|
|
55990
55888
|
return config;
|
|
55991
55889
|
}
|
|
55992
55890
|
function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
|
|
@@ -56022,13 +55920,13 @@ function onFetchResponseError$1(luvio, config, resourceParams, response) {
|
|
|
56022
55920
|
}
|
|
56023
55921
|
function prepareRequest$1(luvio, config, resourceParams, cacheSnapshot) {
|
|
56024
55922
|
if (cacheSnapshot === undefined) {
|
|
56025
|
-
return createResourceRequest$
|
|
55923
|
+
return createResourceRequest$1b(resourceParams);
|
|
56026
55924
|
}
|
|
56027
55925
|
const [newToken, newPageSize] = minimizePaginationParams(luvio, resourceParams, cacheSnapshot);
|
|
56028
55926
|
if (newToken === undefined) {
|
|
56029
|
-
return createResourceRequest$
|
|
55927
|
+
return createResourceRequest$1b(resourceParams);
|
|
56030
55928
|
}
|
|
56031
|
-
return createResourceRequest$
|
|
55929
|
+
return createResourceRequest$1b(createResourceParams$8({
|
|
56032
55930
|
...config,
|
|
56033
55931
|
pageSize: newPageSize,
|
|
56034
55932
|
pageToken: newToken
|
|
@@ -56251,7 +56149,7 @@ function keyBuilder$8(luvio, params) {
|
|
|
56251
56149
|
function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
|
|
56252
56150
|
getTypeCacheKeys$7(storeKeyMap, luvio, response, () => keyBuilder$8(luvio, resourceParams));
|
|
56253
56151
|
}
|
|
56254
|
-
function createResourceRequest$
|
|
56152
|
+
function createResourceRequest$a(config) {
|
|
56255
56153
|
const headers = {};
|
|
56256
56154
|
return {
|
|
56257
56155
|
baseUri: '/services/data/v63.0',
|
|
@@ -56279,7 +56177,7 @@ const getLookupRecords_ConfigPropertyMetadata = [
|
|
|
56279
56177
|
];
|
|
56280
56178
|
function typeCheckConfig$a(untrustedConfig) {
|
|
56281
56179
|
const config = {};
|
|
56282
|
-
typeCheckConfig$
|
|
56180
|
+
typeCheckConfig$1a(untrustedConfig, config, getLookupRecords_ConfigPropertyMetadata);
|
|
56283
56181
|
const untrustedConfig_sourceRecord = untrustedConfig.sourceRecord;
|
|
56284
56182
|
const referenceRecordInputRepresentationValidationError = validate$b(untrustedConfig_sourceRecord);
|
|
56285
56183
|
if (referenceRecordInputRepresentationValidationError === null) {
|
|
@@ -56401,7 +56299,7 @@ function buildNetworkSnapshot$8(luvio, config, options) {
|
|
|
56401
56299
|
sourceRecord: config.sourceRecord,
|
|
56402
56300
|
},
|
|
56403
56301
|
};
|
|
56404
|
-
const request = createResourceRequest$
|
|
56302
|
+
const request = createResourceRequest$a(resourceParams);
|
|
56405
56303
|
return luvio.dispatchResourceRequest(request, options).then((response) => {
|
|
56406
56304
|
return luvio.handleSuccessResponse(() => {
|
|
56407
56305
|
// TODO [W-7235112]: remove this hack to never ingest lookup responses that
|
|
@@ -56478,7 +56376,7 @@ const factory$9 = (luvio) => {
|
|
|
56478
56376
|
};
|
|
56479
56377
|
};
|
|
56480
56378
|
|
|
56481
|
-
function createResourceRequest$
|
|
56379
|
+
function createResourceRequest$9(config) {
|
|
56482
56380
|
const headers = {};
|
|
56483
56381
|
return {
|
|
56484
56382
|
baseUri: '/services/data/v63.0',
|
|
@@ -56504,7 +56402,7 @@ const updateRecordAvatar_ConfigPropertyMetadata = [
|
|
|
56504
56402
|
const updateRecordAvatar_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, updateRecordAvatar_ConfigPropertyMetadata);
|
|
56505
56403
|
function typeCheckConfig$9(untrustedConfig) {
|
|
56506
56404
|
const config = {};
|
|
56507
|
-
typeCheckConfig$
|
|
56405
|
+
typeCheckConfig$1a(untrustedConfig, config, updateRecordAvatar_ConfigPropertyMetadata);
|
|
56508
56406
|
return config;
|
|
56509
56407
|
}
|
|
56510
56408
|
function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
|
|
@@ -56540,7 +56438,7 @@ const factory$8 = (luvio) => {
|
|
|
56540
56438
|
actionType: config.actionType,
|
|
56541
56439
|
},
|
|
56542
56440
|
};
|
|
56543
|
-
const request = createResourceRequest$
|
|
56441
|
+
const request = createResourceRequest$9(resourceParams);
|
|
56544
56442
|
return luvio.dispatchResourceRequest(request).then((response) => {
|
|
56545
56443
|
const { body } = response;
|
|
56546
56444
|
const key = keyBuilderFromType$f(luvio, body);
|
|
@@ -57087,7 +56985,7 @@ function keyBuilder$7(luvio, params) {
|
|
|
57087
56985
|
function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
|
|
57088
56986
|
getTypeCacheKeys$5(storeKeyMap, luvio, response, () => keyBuilder$7(luvio, resourceParams));
|
|
57089
56987
|
}
|
|
57090
|
-
function createResourceRequest$
|
|
56988
|
+
function createResourceRequest$8(config) {
|
|
57091
56989
|
const headers = {};
|
|
57092
56990
|
return {
|
|
57093
56991
|
baseUri: '/services/data/v63.0',
|
|
@@ -57112,7 +57010,7 @@ const getRecordCreateDefaults_ConfigPropertyNames = /*#__PURE__*/ buildAdapterVa
|
|
|
57112
57010
|
const createResourceParams$7 = /*#__PURE__*/ createResourceParams$16(getRecordCreateDefaults_ConfigPropertyMetadata);
|
|
57113
57011
|
function typeCheckConfig$8(untrustedConfig) {
|
|
57114
57012
|
const config = {};
|
|
57115
|
-
typeCheckConfig$
|
|
57013
|
+
typeCheckConfig$1a(untrustedConfig, config, getRecordCreateDefaults_ConfigPropertyMetadata);
|
|
57116
57014
|
return config;
|
|
57117
57015
|
}
|
|
57118
57016
|
function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
|
|
@@ -57168,7 +57066,7 @@ function buildSnapshotRefresh$1(luvio, context, config) {
|
|
|
57168
57066
|
}
|
|
57169
57067
|
function buildNetworkSnapshot$7(luvio, context, config, options) {
|
|
57170
57068
|
const params = createResourceParams$7(config);
|
|
57171
|
-
const request = createResourceRequest$
|
|
57069
|
+
const request = createResourceRequest$8(params);
|
|
57172
57070
|
const key = keyBuilder$7(luvio, params);
|
|
57173
57071
|
const selectorKey = buildSelectorKey(luvio, config);
|
|
57174
57072
|
return luvio.dispatchResourceRequest(request, options).then((response) => {
|
|
@@ -57718,7 +57616,7 @@ const select$2 = (luvio, params) => {
|
|
|
57718
57616
|
function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
|
|
57719
57617
|
getTypeCacheKeys$3(storeKeyMap, luvio, response);
|
|
57720
57618
|
}
|
|
57721
|
-
function createResourceRequest$
|
|
57619
|
+
function createResourceRequest$7(config) {
|
|
57722
57620
|
const headers = {};
|
|
57723
57621
|
return {
|
|
57724
57622
|
baseUri: '/services/data/v63.0',
|
|
@@ -57742,7 +57640,7 @@ const getRecordTemplateClone_ConfigPropertyNames = /*#__PURE__*/ buildAdapterVal
|
|
|
57742
57640
|
const createResourceParams$6 = /*#__PURE__*/ createResourceParams$16(getRecordTemplateClone_ConfigPropertyMetadata);
|
|
57743
57641
|
function typeCheckConfig$7(untrustedConfig) {
|
|
57744
57642
|
const config = {};
|
|
57745
|
-
typeCheckConfig$
|
|
57643
|
+
typeCheckConfig$1a(untrustedConfig, config, getRecordTemplateClone_ConfigPropertyMetadata);
|
|
57746
57644
|
return config;
|
|
57747
57645
|
}
|
|
57748
57646
|
function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
|
|
@@ -57787,7 +57685,7 @@ const buildNetworkSnapshot$6 = (luvio, context, config, options) => {
|
|
|
57787
57685
|
const resourceParams = createResourceParams$6(config);
|
|
57788
57686
|
const recordTypeId = getRecordTypeId$1(config, context);
|
|
57789
57687
|
const { recordId } = config;
|
|
57790
|
-
const resourceRequest = createResourceRequest$
|
|
57688
|
+
const resourceRequest = createResourceRequest$7(resourceParams);
|
|
57791
57689
|
const coercedRecordTypeId = recordTypeId === undefined ? null : recordTypeId;
|
|
57792
57690
|
const templateRecordKey = keyBuilder$6(luvio, {
|
|
57793
57691
|
cloneSourceId: recordId,
|
|
@@ -57795,7 +57693,7 @@ const buildNetworkSnapshot$6 = (luvio, context, config, options) => {
|
|
|
57795
57693
|
});
|
|
57796
57694
|
const request = recordTypeId === undefined
|
|
57797
57695
|
? resourceRequest
|
|
57798
|
-
: createResourceRequest$
|
|
57696
|
+
: createResourceRequest$7({
|
|
57799
57697
|
...resourceParams,
|
|
57800
57698
|
queryParams: {
|
|
57801
57699
|
...resourceRequest.queryParams,
|
|
@@ -58349,7 +58247,7 @@ function ingestError(luvio, params, error, snapshotRefresh) {
|
|
|
58349
58247
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
58350
58248
|
return errorSnapshot;
|
|
58351
58249
|
}
|
|
58352
|
-
function createResourceRequest$
|
|
58250
|
+
function createResourceRequest$6(config) {
|
|
58353
58251
|
const headers = {};
|
|
58354
58252
|
return {
|
|
58355
58253
|
baseUri: '/services/data/v63.0',
|
|
@@ -58378,7 +58276,7 @@ const getRecordTemplateCreate_ConfigPropertyNames = /*#__PURE__*/ buildAdapterVa
|
|
|
58378
58276
|
const createResourceParams$5 = /*#__PURE__*/ createResourceParams$16(getRecordTemplateCreate_ConfigPropertyMetadata);
|
|
58379
58277
|
function typeCheckConfig$6(untrustedConfig) {
|
|
58380
58278
|
const config = {};
|
|
58381
|
-
typeCheckConfig$
|
|
58279
|
+
typeCheckConfig$1a(untrustedConfig, config, getRecordTemplateCreate_ConfigPropertyMetadata);
|
|
58382
58280
|
return config;
|
|
58383
58281
|
}
|
|
58384
58282
|
function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
|
|
@@ -58422,7 +58320,7 @@ function prepareRequest(luvio, context, config) {
|
|
|
58422
58320
|
const resourceParams = createResourceParams$5(config);
|
|
58423
58321
|
const recordTypeId = getRecordTypeId(context, config);
|
|
58424
58322
|
const { objectApiName } = config;
|
|
58425
|
-
const resourceRequest = createResourceRequest$
|
|
58323
|
+
const resourceRequest = createResourceRequest$6(resourceParams);
|
|
58426
58324
|
if (recordTypeId === undefined) {
|
|
58427
58325
|
return resourceRequest;
|
|
58428
58326
|
}
|
|
@@ -58430,7 +58328,7 @@ function prepareRequest(luvio, context, config) {
|
|
|
58430
58328
|
apiName: objectApiName,
|
|
58431
58329
|
recordTypeId: recordTypeId,
|
|
58432
58330
|
});
|
|
58433
|
-
return createResourceRequest$
|
|
58331
|
+
return createResourceRequest$6({
|
|
58434
58332
|
...resourceParams,
|
|
58435
58333
|
queryParams: {
|
|
58436
58334
|
...resourceRequest.queryParams,
|
|
@@ -58562,7 +58460,7 @@ const factory$5 = (luvio) => {
|
|
|
58562
58460
|
function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
|
|
58563
58461
|
getTypeCacheKeys$2h(storeKeyMap, luvio, response);
|
|
58564
58462
|
}
|
|
58565
|
-
function createResourceRequest$
|
|
58463
|
+
function createResourceRequest$5(config) {
|
|
58566
58464
|
const headers = {};
|
|
58567
58465
|
return {
|
|
58568
58466
|
baseUri: '/services/data/v63.0',
|
|
@@ -58617,7 +58515,7 @@ function onResponseSuccess(luvio, response, recordIngest, conflictMap) {
|
|
|
58617
58515
|
}
|
|
58618
58516
|
function buildNetworkSnapshot$4(luvio, config) {
|
|
58619
58517
|
const resourceParams = createResourceParams$4(config);
|
|
58620
|
-
const request = createResourceRequest$
|
|
58518
|
+
const request = createResourceRequest$5(resourceParams);
|
|
58621
58519
|
const fieldTrie = BLANK_RECORD_FIELDS_TRIE;
|
|
58622
58520
|
const optionalFieldTrie = BLANK_RECORD_FIELDS_TRIE;
|
|
58623
58521
|
const conflictMap = {
|
|
@@ -58636,12 +58534,16 @@ function buildNetworkSnapshot$4(luvio, config) {
|
|
|
58636
58534
|
throw err;
|
|
58637
58535
|
});
|
|
58638
58536
|
}
|
|
58537
|
+
function createResourceRequest$4(config) {
|
|
58538
|
+
const resourceParams = createResourceParams$4(config);
|
|
58539
|
+
return createResourceRequest$5(resourceParams);
|
|
58540
|
+
}
|
|
58639
58541
|
const factory$4 = (luvio) => {
|
|
58640
58542
|
return function (untrustedConfig) {
|
|
58641
58543
|
const config = untrustedConfig;
|
|
58642
58544
|
const draftAdapter = configurationForRestAdapters.getDraftAwareCreateRecordAdapter();
|
|
58643
58545
|
if (draftAdapter !== undefined) {
|
|
58644
|
-
return draftAdapter(config,
|
|
58546
|
+
return draftAdapter(config, createResourceRequest$4);
|
|
58645
58547
|
}
|
|
58646
58548
|
return buildNetworkSnapshot$4(luvio, config);
|
|
58647
58549
|
};
|
|
@@ -58686,7 +58588,7 @@ const deleteRecord_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationCon
|
|
|
58686
58588
|
const createResourceParams$3 = /*#__PURE__*/ createResourceParams$16(deleteRecord_ConfigPropertyMetadata);
|
|
58687
58589
|
function typeCheckConfig$5(untrustedConfig) {
|
|
58688
58590
|
const config = {};
|
|
58689
|
-
typeCheckConfig$
|
|
58591
|
+
typeCheckConfig$1a(untrustedConfig, config, deleteRecord_ConfigPropertyMetadata);
|
|
58690
58592
|
return config;
|
|
58691
58593
|
}
|
|
58692
58594
|
function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
|
|
@@ -58738,7 +58640,10 @@ const factory$3 = (luvio) => {
|
|
|
58738
58640
|
const config = { recordId };
|
|
58739
58641
|
const draftAdapter = configurationForRestAdapters.getDraftAwareDeleteRecordAdapter();
|
|
58740
58642
|
if (draftAdapter !== undefined) {
|
|
58741
|
-
return draftAdapter(config,
|
|
58643
|
+
return draftAdapter(config, (config) => {
|
|
58644
|
+
const params = createResourceParams$3(config);
|
|
58645
|
+
return createResourceRequest$3(params);
|
|
58646
|
+
});
|
|
58742
58647
|
}
|
|
58743
58648
|
return deleteRecordAdapterInstance(config);
|
|
58744
58649
|
};
|
|
@@ -58781,7 +58686,7 @@ const updateRecord_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationCon
|
|
|
58781
58686
|
const createResourceParams$2 = /*#__PURE__*/ createResourceParams$16(updateRecord_ConfigPropertyMetadata);
|
|
58782
58687
|
function typeCheckConfig$4(untrustedConfig) {
|
|
58783
58688
|
const config = {};
|
|
58784
|
-
typeCheckConfig$
|
|
58689
|
+
typeCheckConfig$1a(untrustedConfig, config, updateRecord_ConfigPropertyMetadata);
|
|
58785
58690
|
const untrustedConfig_fields = untrustedConfig.fields;
|
|
58786
58691
|
if (untrustedIsObject(untrustedConfig_fields)) {
|
|
58787
58692
|
const untrustedConfig_fields_object = {};
|
|
@@ -58900,7 +58805,11 @@ const factory$2 = (luvio) => {
|
|
|
58900
58805
|
}
|
|
58901
58806
|
const draftAdapter = configurationForRestAdapters.getDraftAwareUpdateRecordAdapter();
|
|
58902
58807
|
if (draftAdapter !== undefined) {
|
|
58903
|
-
return draftAdapter(config,
|
|
58808
|
+
return draftAdapter(config, (config) => {
|
|
58809
|
+
const headers = getHeaders(clientOptions);
|
|
58810
|
+
const resourceParams = createResourceParams$2({ ...config, ...headers });
|
|
58811
|
+
return createResourceRequest$2(resourceParams);
|
|
58812
|
+
});
|
|
58904
58813
|
}
|
|
58905
58814
|
return buildNetworkSnapshot$2(luvio, config, clientOptions);
|
|
58906
58815
|
};
|
|
@@ -59248,7 +59157,7 @@ const createContentDocumentAndVersion_ConfigPropertyMetadata = [
|
|
|
59248
59157
|
];
|
|
59249
59158
|
function typeCheckConfig$3(untrustedConfig) {
|
|
59250
59159
|
const config = {};
|
|
59251
|
-
typeCheckConfig$
|
|
59160
|
+
typeCheckConfig$1a(untrustedConfig, config, createContentDocumentAndVersion_ConfigPropertyMetadata);
|
|
59252
59161
|
return config;
|
|
59253
59162
|
}
|
|
59254
59163
|
|
|
@@ -59293,7 +59202,10 @@ const factory$1 = (luvio) => {
|
|
|
59293
59202
|
}
|
|
59294
59203
|
const draftAdapter = configurationForRestAdapters.getDraftAwareCreateContentDocumentAndVersionAdapter();
|
|
59295
59204
|
if (draftAdapter !== undefined) {
|
|
59296
|
-
return draftAdapter(config,
|
|
59205
|
+
return draftAdapter(config, (config) => {
|
|
59206
|
+
const resourceParams = createResourceParams(config);
|
|
59207
|
+
return createResourceRequest(resourceParams);
|
|
59208
|
+
}, requestContext);
|
|
59297
59209
|
}
|
|
59298
59210
|
return buildNetworkSnapshot(luvio, config, createDispatchResourceRequestContext$1(requestContext));
|
|
59299
59211
|
};
|
|
@@ -59327,7 +59239,7 @@ const createContentVersion_ConfigPropertyMetadata = [
|
|
|
59327
59239
|
];
|
|
59328
59240
|
function typeCheckConfig$1(untrustedConfig) {
|
|
59329
59241
|
const config = {};
|
|
59330
|
-
typeCheckConfig$
|
|
59242
|
+
typeCheckConfig$1a(untrustedConfig, config, createContentVersion_ConfigPropertyMetadata);
|
|
59331
59243
|
return config;
|
|
59332
59244
|
}
|
|
59333
59245
|
|