@salesforce/lds-adapters-uiapi 1.314.0 → 1.316.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/generated/adapters/getLookupRecords.d.ts +3 -1
- package/dist/es/es2018/types/src/generated/resources/postUiApiLookupsByFieldApiNameAndObjectApiName.d.ts +3 -1
- package/dist/es/es2018/types/src/generated/types/LookupPOSTRequestBodyRepresentation.d.ts +7 -4
- package/dist/es/es2018/types/src/main.d.ts +2 -0
- package/dist/es/es2018/types/src/primitives/SortedStringArrayTitleCase/coerce.d.ts +1 -0
- package/dist/es/es2018/types/src/validation/utils.d.ts +5 -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/getLookupRecords/index.d.ts +3 -1
- 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 +698 -752
- package/package.json +6 -6
- package/sfdc/graphqlAdapters.js +3 -3
- package/sfdc/index.js +720 -774
- package/src/raml/api.raml +7 -3
- package/src/raml/luvio.raml +4 -2
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
import { register } from '@salesforce/lds-default-luvio';
|
|
8
|
-
import { serializeStructuredKey, ingestShape, coerceConfig as coerceConfig$1, typeCheckConfig as typeCheckConfig$
|
|
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
|
|
|
@@ -518,6 +518,13 @@ function difference(source, compare) {
|
|
|
518
518
|
}
|
|
519
519
|
return strings;
|
|
520
520
|
}
|
|
521
|
+
/**
|
|
522
|
+
* @param word The string to title case
|
|
523
|
+
* @returns The sames string but in title case
|
|
524
|
+
*/
|
|
525
|
+
function toTitleCase(word) {
|
|
526
|
+
return word.charAt(0).toUpperCase() + word.slice(1).toLowerCase();
|
|
527
|
+
}
|
|
521
528
|
|
|
522
529
|
function isObjectId(unknown) {
|
|
523
530
|
if (typeof unknown !== 'object' || unknown === null) {
|
|
@@ -2007,6 +2014,17 @@ function getRecordId18(value) {
|
|
|
2007
2014
|
return undefined;
|
|
2008
2015
|
}
|
|
2009
2016
|
|
|
2017
|
+
// Copy of SortedStringArray but calls toTitleCase
|
|
2018
|
+
function toSortedStringArrayTitleCase(value) {
|
|
2019
|
+
const valueArray = isArray(value) ? value : [value];
|
|
2020
|
+
if (valueArray.length !== 0 && isArrayOfNonEmptyStrings(valueArray)) {
|
|
2021
|
+
return dedupe(valueArray)
|
|
2022
|
+
.sort()
|
|
2023
|
+
.map((value) => toTitleCase(value));
|
|
2024
|
+
}
|
|
2025
|
+
return undefined;
|
|
2026
|
+
}
|
|
2027
|
+
|
|
2010
2028
|
function toSortedStringArray(value) {
|
|
2011
2029
|
const valueArray = isArray(value) ? value : [value];
|
|
2012
2030
|
if (valueArray.length !== 0 && isArrayOfNonEmptyStrings(valueArray)) {
|
|
@@ -5914,9 +5932,9 @@ function isRestrictedPathCondition(existingPath, path) {
|
|
|
5914
5932
|
(existingPath.includes('/records') && path.includes('/record-ui')));
|
|
5915
5933
|
}
|
|
5916
5934
|
|
|
5917
|
-
const createResourceRequest$
|
|
5935
|
+
const createResourceRequest$1h = function getUiApiRecordsByRecordIdCreateResourceRequest(config) {
|
|
5918
5936
|
return {
|
|
5919
|
-
...createResourceRequest$
|
|
5937
|
+
...createResourceRequest$1g(config),
|
|
5920
5938
|
fulfill: fulfill,
|
|
5921
5939
|
};
|
|
5922
5940
|
};
|
|
@@ -5929,7 +5947,7 @@ function keyBuilder$3z(luvio, params) {
|
|
|
5929
5947
|
function getResponseCacheKeys$17(storeKeyMap, luvio, resourceParams, response) {
|
|
5930
5948
|
getTypeCacheKeys$2h(storeKeyMap, luvio, response);
|
|
5931
5949
|
}
|
|
5932
|
-
function createResourceRequest$
|
|
5950
|
+
function createResourceRequest$1g(config) {
|
|
5933
5951
|
const headers = {};
|
|
5934
5952
|
return {
|
|
5935
5953
|
baseUri: '/services/data/v63.0',
|
|
@@ -5943,7 +5961,7 @@ function createResourceRequest$1f(config) {
|
|
|
5943
5961
|
};
|
|
5944
5962
|
}
|
|
5945
5963
|
|
|
5946
|
-
const adapterName
|
|
5964
|
+
const adapterName$$ = 'getRecord';
|
|
5947
5965
|
const oneOfConfigPropertiesIdentifier$1 = [
|
|
5948
5966
|
'layoutTypes',
|
|
5949
5967
|
'fields',
|
|
@@ -5954,19 +5972,19 @@ const getRecord_ConfigPropertyMetadata = [
|
|
|
5954
5972
|
generateParamConfigMetadata('childRelationships', false, 1 /* QueryParameter */, 0 /* String */, true),
|
|
5955
5973
|
generateParamConfigMetadata('fields', false, 1 /* QueryParameter */, 0 /* String */, true, getFieldApiNamesArray),
|
|
5956
5974
|
generateParamConfigMetadata('forms', false, 1 /* QueryParameter */, 0 /* String */, true),
|
|
5957
|
-
generateParamConfigMetadata('layoutTypes', false, 1 /* QueryParameter */, 0 /* String */, true,
|
|
5975
|
+
generateParamConfigMetadata('layoutTypes', false, 1 /* QueryParameter */, 0 /* String */, true, toSortedStringArrayTitleCase),
|
|
5958
5976
|
generateParamConfigMetadata('modes', false, 1 /* QueryParameter */, 0 /* String */, true, toSortedStringArray),
|
|
5959
5977
|
generateParamConfigMetadata('optionalFields', false, 1 /* QueryParameter */, 0 /* String */, true, getFieldApiNamesArray),
|
|
5960
5978
|
generateParamConfigMetadata('pageSize', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
5961
5979
|
generateParamConfigMetadata('updateMru', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
5962
5980
|
];
|
|
5963
5981
|
const createResourceParams$15 = /*#__PURE__*/ createResourceParams$16(getRecord_ConfigPropertyMetadata);
|
|
5964
|
-
function typeCheckConfig$
|
|
5982
|
+
function typeCheckConfig$19(untrustedConfig) {
|
|
5965
5983
|
const config = {};
|
|
5966
|
-
typeCheckConfig$
|
|
5984
|
+
typeCheckConfig$1a(untrustedConfig, config, getRecord_ConfigPropertyMetadata);
|
|
5967
5985
|
return config;
|
|
5968
5986
|
}
|
|
5969
|
-
function validateAdapterConfig$
|
|
5987
|
+
function validateAdapterConfig$1c(untrustedConfig, configPropertyNames) {
|
|
5970
5988
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
5971
5989
|
return null;
|
|
5972
5990
|
}
|
|
@@ -5974,7 +5992,7 @@ function validateAdapterConfig$1e(untrustedConfig, configPropertyNames) {
|
|
|
5974
5992
|
validateConfig(untrustedConfig, configPropertyNames, oneOfConfigPropertiesIdentifier$1);
|
|
5975
5993
|
}
|
|
5976
5994
|
const coercedConfig = coerceConfig$1(untrustedConfig, getRecord_ConfigPropertyMetadata);
|
|
5977
|
-
const config = typeCheckConfig$
|
|
5995
|
+
const config = typeCheckConfig$19(coercedConfig);
|
|
5978
5996
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
5979
5997
|
return null;
|
|
5980
5998
|
}
|
|
@@ -6019,7 +6037,7 @@ function prepareRequest$7(luvio, config) {
|
|
|
6019
6037
|
fields,
|
|
6020
6038
|
optionalFields: optionalFields.length > 0 ? optionalFields : undefined,
|
|
6021
6039
|
});
|
|
6022
|
-
const request = createResourceRequest$
|
|
6040
|
+
const request = createResourceRequest$1h(resourceParams);
|
|
6023
6041
|
return { request, key, allTrackedFields, resourceParams };
|
|
6024
6042
|
}
|
|
6025
6043
|
function ingestSuccess$X(luvio, config, key, allTrackedFields, response, serverRequestCount) {
|
|
@@ -6371,7 +6389,7 @@ function ingestError$Q(luvio, params, error, snapshotRefresh) {
|
|
|
6371
6389
|
luvio.storeIngestError(key, errorSnapshot);
|
|
6372
6390
|
return errorSnapshot;
|
|
6373
6391
|
}
|
|
6374
|
-
function createResourceRequest$
|
|
6392
|
+
function createResourceRequest$1f(config) {
|
|
6375
6393
|
const headers = {};
|
|
6376
6394
|
return {
|
|
6377
6395
|
baseUri: '/services/data/v63.0',
|
|
@@ -6485,7 +6503,7 @@ function onFetchResponseError$T(luvio, config, resourceParams, response) {
|
|
|
6485
6503
|
}
|
|
6486
6504
|
function buildNetworkSnapshot$1a(luvio, config, serverRequestCount = 0, options) {
|
|
6487
6505
|
const resourceParams = createResourceParams$14(config);
|
|
6488
|
-
const request = createResourceRequest$
|
|
6506
|
+
const request = createResourceRequest$1f(resourceParams);
|
|
6489
6507
|
return luvio.dispatchResourceRequest(request, options).then((response) => {
|
|
6490
6508
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$S(luvio, config, resourceParams, response, serverRequestCount + 1), () => {
|
|
6491
6509
|
const cache = new StoreKeyMap();
|
|
@@ -7700,7 +7718,7 @@ function ingestError$P(luvio, params, error, snapshotRefresh) {
|
|
|
7700
7718
|
luvio.storeIngestError(key, errorSnapshot);
|
|
7701
7719
|
return errorSnapshot;
|
|
7702
7720
|
}
|
|
7703
|
-
function createResourceRequest$
|
|
7721
|
+
function createResourceRequest$1e(config) {
|
|
7704
7722
|
const headers = {};
|
|
7705
7723
|
return {
|
|
7706
7724
|
baseUri: '/services/data/v63.0',
|
|
@@ -7714,7 +7732,7 @@ function createResourceRequest$1d(config) {
|
|
|
7714
7732
|
};
|
|
7715
7733
|
}
|
|
7716
7734
|
|
|
7717
|
-
const adapterName$
|
|
7735
|
+
const adapterName$_ = 'getListUiByApiName';
|
|
7718
7736
|
const getListUiByApiName_ConfigPropertyMetadata = [
|
|
7719
7737
|
generateParamConfigMetadata('listViewApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
7720
7738
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
|
|
@@ -7724,18 +7742,18 @@ const getListUiByApiName_ConfigPropertyMetadata = [
|
|
|
7724
7742
|
generateParamConfigMetadata('pageToken', false, 1 /* QueryParameter */, 0 /* String */),
|
|
7725
7743
|
generateParamConfigMetadata('sortBy', false, 1 /* QueryParameter */, 0 /* String */, true, getFieldApiNamesArray),
|
|
7726
7744
|
];
|
|
7727
|
-
const getListUiByApiName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
7745
|
+
const getListUiByApiName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$_, getListUiByApiName_ConfigPropertyMetadata);
|
|
7728
7746
|
const createResourceParams$13 = /*#__PURE__*/ createResourceParams$16(getListUiByApiName_ConfigPropertyMetadata);
|
|
7729
7747
|
function keyBuilder$3u(luvio, config) {
|
|
7730
7748
|
const resourceParams = createResourceParams$13(config);
|
|
7731
7749
|
return keyBuilder$3v(luvio, resourceParams);
|
|
7732
7750
|
}
|
|
7733
|
-
function typeCheckConfig$
|
|
7751
|
+
function typeCheckConfig$18(untrustedConfig) {
|
|
7734
7752
|
const config = {};
|
|
7735
|
-
typeCheckConfig$
|
|
7753
|
+
typeCheckConfig$1a(untrustedConfig, config, getListUiByApiName_ConfigPropertyMetadata);
|
|
7736
7754
|
return config;
|
|
7737
7755
|
}
|
|
7738
|
-
function validateAdapterConfig$
|
|
7756
|
+
function validateAdapterConfig$1b(untrustedConfig, configPropertyNames) {
|
|
7739
7757
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
7740
7758
|
return null;
|
|
7741
7759
|
}
|
|
@@ -7743,7 +7761,7 @@ function validateAdapterConfig$1d(untrustedConfig, configPropertyNames) {
|
|
|
7743
7761
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
7744
7762
|
}
|
|
7745
7763
|
const coercedConfig = coerceConfig$1(untrustedConfig, getListUiByApiName_ConfigPropertyMetadata);
|
|
7746
|
-
const config = typeCheckConfig$
|
|
7764
|
+
const config = typeCheckConfig$18(coercedConfig);
|
|
7747
7765
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
7748
7766
|
return null;
|
|
7749
7767
|
}
|
|
@@ -7769,7 +7787,7 @@ function onFetchResponseError$S(luvio, config, resourceParams, response) {
|
|
|
7769
7787
|
}
|
|
7770
7788
|
function buildNetworkSnapshot$19(luvio, config, options, cacheSnapshot) {
|
|
7771
7789
|
const resourceParams = createResourceParams$13(config);
|
|
7772
|
-
const request = createResourceRequest$
|
|
7790
|
+
const request = createResourceRequest$1e(resourceParams);
|
|
7773
7791
|
return luvio.dispatchResourceRequest(request, options)
|
|
7774
7792
|
.then((response) => {
|
|
7775
7793
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$R(luvio, config, resourceParams, response), () => {
|
|
@@ -7801,7 +7819,7 @@ function buildCachedSnapshotCachePolicy$U(context, storeLookup) {
|
|
|
7801
7819
|
return cacheSnapshot;
|
|
7802
7820
|
}
|
|
7803
7821
|
const getListUiByApiNameAdapterFactory = (luvio) => function UiApi__getListUiByApiName(untrustedConfig, requestContext) {
|
|
7804
|
-
const config = validateAdapterConfig$
|
|
7822
|
+
const config = validateAdapterConfig$1b(untrustedConfig, getListUiByApiName_ConfigPropertyNames);
|
|
7805
7823
|
// Invalid or incomplete config
|
|
7806
7824
|
if (config === null) {
|
|
7807
7825
|
return null;
|
|
@@ -7850,7 +7868,7 @@ function ingestError$O(luvio, params, error, snapshotRefresh) {
|
|
|
7850
7868
|
luvio.storeIngestError(key, errorSnapshot);
|
|
7851
7869
|
return errorSnapshot;
|
|
7852
7870
|
}
|
|
7853
|
-
function createResourceRequest$
|
|
7871
|
+
function createResourceRequest$1d(config) {
|
|
7854
7872
|
const headers = {};
|
|
7855
7873
|
return {
|
|
7856
7874
|
baseUri: '/services/data/v63.0',
|
|
@@ -7864,7 +7882,7 @@ function createResourceRequest$1c(config) {
|
|
|
7864
7882
|
};
|
|
7865
7883
|
}
|
|
7866
7884
|
|
|
7867
|
-
const adapterName
|
|
7885
|
+
const adapterName$Z = 'getListUiByListViewId';
|
|
7868
7886
|
const getListUiByListViewId_ConfigPropertyMetadata = [
|
|
7869
7887
|
generateParamConfigMetadata('listViewId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
7870
7888
|
generateParamConfigMetadata('fields', false, 1 /* QueryParameter */, 0 /* String */, true, getFieldApiNamesArray),
|
|
@@ -7873,18 +7891,18 @@ const getListUiByListViewId_ConfigPropertyMetadata = [
|
|
|
7873
7891
|
generateParamConfigMetadata('pageToken', false, 1 /* QueryParameter */, 0 /* String */),
|
|
7874
7892
|
generateParamConfigMetadata('sortBy', false, 1 /* QueryParameter */, 0 /* String */, true, getFieldApiNamesArray),
|
|
7875
7893
|
];
|
|
7876
|
-
const getListUiByListViewId_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName
|
|
7894
|
+
const getListUiByListViewId_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$Z, getListUiByListViewId_ConfigPropertyMetadata);
|
|
7877
7895
|
const createResourceParams$12 = /*#__PURE__*/ createResourceParams$16(getListUiByListViewId_ConfigPropertyMetadata);
|
|
7878
7896
|
function keyBuilder$3s(luvio, config) {
|
|
7879
7897
|
const resourceParams = createResourceParams$12(config);
|
|
7880
7898
|
return keyBuilder$3t(luvio, resourceParams);
|
|
7881
7899
|
}
|
|
7882
|
-
function typeCheckConfig$
|
|
7900
|
+
function typeCheckConfig$17(untrustedConfig) {
|
|
7883
7901
|
const config = {};
|
|
7884
|
-
typeCheckConfig$
|
|
7902
|
+
typeCheckConfig$1a(untrustedConfig, config, getListUiByListViewId_ConfigPropertyMetadata);
|
|
7885
7903
|
return config;
|
|
7886
7904
|
}
|
|
7887
|
-
function validateAdapterConfig$
|
|
7905
|
+
function validateAdapterConfig$1a(untrustedConfig, configPropertyNames) {
|
|
7888
7906
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
7889
7907
|
return null;
|
|
7890
7908
|
}
|
|
@@ -7892,7 +7910,7 @@ function validateAdapterConfig$1c(untrustedConfig, configPropertyNames) {
|
|
|
7892
7910
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
7893
7911
|
}
|
|
7894
7912
|
const coercedConfig = coerceConfig$1(untrustedConfig, getListUiByListViewId_ConfigPropertyMetadata);
|
|
7895
|
-
const config = typeCheckConfig$
|
|
7913
|
+
const config = typeCheckConfig$17(coercedConfig);
|
|
7896
7914
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
7897
7915
|
return null;
|
|
7898
7916
|
}
|
|
@@ -7918,7 +7936,7 @@ function onFetchResponseError$R(luvio, config, resourceParams, response) {
|
|
|
7918
7936
|
}
|
|
7919
7937
|
function buildNetworkSnapshot$18(luvio, config, options, cacheSnapshot) {
|
|
7920
7938
|
const resourceParams = createResourceParams$12(config);
|
|
7921
|
-
const request = createResourceRequest$
|
|
7939
|
+
const request = createResourceRequest$1d(resourceParams);
|
|
7922
7940
|
return luvio.dispatchResourceRequest(request, options)
|
|
7923
7941
|
.then((response) => {
|
|
7924
7942
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$Q(luvio, config, resourceParams, response), () => {
|
|
@@ -7950,7 +7968,7 @@ function buildCachedSnapshotCachePolicy$T(context, storeLookup) {
|
|
|
7950
7968
|
return cacheSnapshot;
|
|
7951
7969
|
}
|
|
7952
7970
|
const getListUiByListViewIdAdapterFactory = (luvio) => function UiApi__getListUiByListViewId(untrustedConfig, requestContext) {
|
|
7953
|
-
const config = validateAdapterConfig$
|
|
7971
|
+
const config = validateAdapterConfig$1a(untrustedConfig, getListUiByListViewId_ConfigPropertyNames);
|
|
7954
7972
|
// Invalid or incomplete config
|
|
7955
7973
|
if (config === null) {
|
|
7956
7974
|
return null;
|
|
@@ -7959,7 +7977,7 @@ const getListUiByListViewIdAdapterFactory = (luvio) => function UiApi__getListUi
|
|
|
7959
7977
|
buildCachedSnapshotCachePolicy$T, buildNetworkSnapshotCachePolicy$U);
|
|
7960
7978
|
};
|
|
7961
7979
|
|
|
7962
|
-
function createResourceRequest$
|
|
7980
|
+
function createResourceRequest$1c(config) {
|
|
7963
7981
|
const headers = {};
|
|
7964
7982
|
return {
|
|
7965
7983
|
baseUri: '/services/data/v63.0',
|
|
@@ -8943,7 +8961,7 @@ function ingestError$N(luvio, params, error, snapshotRefresh) {
|
|
|
8943
8961
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
8944
8962
|
return errorSnapshot;
|
|
8945
8963
|
}
|
|
8946
|
-
function createResourceRequest$
|
|
8964
|
+
function createResourceRequest$1b(config) {
|
|
8947
8965
|
const headers = {};
|
|
8948
8966
|
return {
|
|
8949
8967
|
baseUri: '/services/data/v63.0',
|
|
@@ -9679,7 +9697,7 @@ function ingestError$M(luvio, params, error, snapshotRefresh) {
|
|
|
9679
9697
|
luvio.storeIngestError(key, errorSnapshot);
|
|
9680
9698
|
return errorSnapshot;
|
|
9681
9699
|
}
|
|
9682
|
-
function createResourceRequest$
|
|
9700
|
+
function createResourceRequest$1a(config) {
|
|
9683
9701
|
const headers = {};
|
|
9684
9702
|
return {
|
|
9685
9703
|
baseUri: '/services/data/v63.0',
|
|
@@ -9693,7 +9711,7 @@ function createResourceRequest$19(config) {
|
|
|
9693
9711
|
};
|
|
9694
9712
|
}
|
|
9695
9713
|
|
|
9696
|
-
const adapterName$
|
|
9714
|
+
const adapterName$Y = 'getListViewSummaryCollection';
|
|
9697
9715
|
const getListViewSummaryCollection_ConfigPropertyMetadata = [
|
|
9698
9716
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
|
|
9699
9717
|
generateParamConfigMetadata('pageSize', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
@@ -9701,18 +9719,18 @@ const getListViewSummaryCollection_ConfigPropertyMetadata = [
|
|
|
9701
9719
|
generateParamConfigMetadata('q', false, 1 /* QueryParameter */, 0 /* String */),
|
|
9702
9720
|
generateParamConfigMetadata('recentListsOnly', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
9703
9721
|
];
|
|
9704
|
-
const getListViewSummaryCollection_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
9722
|
+
const getListViewSummaryCollection_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$Y, getListViewSummaryCollection_ConfigPropertyMetadata);
|
|
9705
9723
|
const createResourceParams$11 = /*#__PURE__*/ createResourceParams$16(getListViewSummaryCollection_ConfigPropertyMetadata);
|
|
9706
9724
|
function keyBuilder$3l(luvio, config) {
|
|
9707
9725
|
const resourceParams = createResourceParams$11(config);
|
|
9708
9726
|
return keyBuilder$3m(luvio, resourceParams);
|
|
9709
9727
|
}
|
|
9710
|
-
function typeCheckConfig$
|
|
9728
|
+
function typeCheckConfig$16(untrustedConfig) {
|
|
9711
9729
|
const config = {};
|
|
9712
|
-
typeCheckConfig$
|
|
9730
|
+
typeCheckConfig$1a(untrustedConfig, config, getListViewSummaryCollection_ConfigPropertyMetadata);
|
|
9713
9731
|
return config;
|
|
9714
9732
|
}
|
|
9715
|
-
function validateAdapterConfig$
|
|
9733
|
+
function validateAdapterConfig$19(untrustedConfig, configPropertyNames) {
|
|
9716
9734
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
9717
9735
|
return null;
|
|
9718
9736
|
}
|
|
@@ -9720,7 +9738,7 @@ function validateAdapterConfig$1b(untrustedConfig, configPropertyNames) {
|
|
|
9720
9738
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
9721
9739
|
}
|
|
9722
9740
|
const coercedConfig = coerceConfig$1(untrustedConfig, getListViewSummaryCollection_ConfigPropertyMetadata);
|
|
9723
|
-
const config = typeCheckConfig$
|
|
9741
|
+
const config = typeCheckConfig$16(coercedConfig);
|
|
9724
9742
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
9725
9743
|
return null;
|
|
9726
9744
|
}
|
|
@@ -9746,13 +9764,13 @@ function onFetchResponseError$Q(luvio, config, resourceParams, response) {
|
|
|
9746
9764
|
}
|
|
9747
9765
|
function prepareRequest$6(luvio, config, resourceParams, cacheSnapshot) {
|
|
9748
9766
|
if (cacheSnapshot === undefined) {
|
|
9749
|
-
return createResourceRequest$
|
|
9767
|
+
return createResourceRequest$1a(resourceParams);
|
|
9750
9768
|
}
|
|
9751
9769
|
const [newToken, newPageSize] = minimizePaginationParams$2(luvio, resourceParams, cacheSnapshot);
|
|
9752
9770
|
if (newToken === undefined) {
|
|
9753
|
-
return createResourceRequest$
|
|
9771
|
+
return createResourceRequest$1a(resourceParams);
|
|
9754
9772
|
}
|
|
9755
|
-
return createResourceRequest$
|
|
9773
|
+
return createResourceRequest$1a(createResourceParams$11({
|
|
9756
9774
|
...config,
|
|
9757
9775
|
pageSize: newPageSize,
|
|
9758
9776
|
pageToken: newToken
|
|
@@ -9853,7 +9871,7 @@ function buildCachedSnapshotCachePolicy$S(context, storeLookup) {
|
|
|
9853
9871
|
return cacheSnapshot;
|
|
9854
9872
|
}
|
|
9855
9873
|
const getListViewSummaryCollectionAdapterFactory = (luvio) => function UiApi__getListViewSummaryCollection(untrustedConfig, requestContext) {
|
|
9856
|
-
const config = validateAdapterConfig$
|
|
9874
|
+
const config = validateAdapterConfig$19(untrustedConfig, getListViewSummaryCollection_ConfigPropertyNames);
|
|
9857
9875
|
// Invalid or incomplete config
|
|
9858
9876
|
if (config === null) {
|
|
9859
9877
|
return null;
|
|
@@ -9877,7 +9895,7 @@ function keyBuilder$3k(luvio, params) {
|
|
|
9877
9895
|
sortBy: params.queryParams.sortBy || null
|
|
9878
9896
|
});
|
|
9879
9897
|
}
|
|
9880
|
-
function createResourceRequest$
|
|
9898
|
+
function createResourceRequest$19(config) {
|
|
9881
9899
|
const headers = {};
|
|
9882
9900
|
return {
|
|
9883
9901
|
baseUri: '/services/data/v63.0',
|
|
@@ -9891,7 +9909,7 @@ function createResourceRequest$18(config) {
|
|
|
9891
9909
|
};
|
|
9892
9910
|
}
|
|
9893
9911
|
|
|
9894
|
-
const adapterName$
|
|
9912
|
+
const adapterName$X = 'getMruListUi';
|
|
9895
9913
|
const getMruListUi_ConfigPropertyMetadata = [
|
|
9896
9914
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
|
|
9897
9915
|
generateParamConfigMetadata('fields', false, 1 /* QueryParameter */, 0 /* String */, true, getFieldApiNamesArray),
|
|
@@ -9900,14 +9918,14 @@ const getMruListUi_ConfigPropertyMetadata = [
|
|
|
9900
9918
|
generateParamConfigMetadata('pageToken', false, 1 /* QueryParameter */, 0 /* String */),
|
|
9901
9919
|
generateParamConfigMetadata('sortBy', false, 1 /* QueryParameter */, 0 /* String */, true, getFieldApiNamesArray),
|
|
9902
9920
|
];
|
|
9903
|
-
const getMruListUi_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
9921
|
+
const getMruListUi_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$X, getMruListUi_ConfigPropertyMetadata);
|
|
9904
9922
|
const createResourceParams$10 = /*#__PURE__*/ createResourceParams$16(getMruListUi_ConfigPropertyMetadata);
|
|
9905
|
-
function typeCheckConfig$
|
|
9923
|
+
function typeCheckConfig$15(untrustedConfig) {
|
|
9906
9924
|
const config = {};
|
|
9907
|
-
typeCheckConfig$
|
|
9925
|
+
typeCheckConfig$1a(untrustedConfig, config, getMruListUi_ConfigPropertyMetadata);
|
|
9908
9926
|
return config;
|
|
9909
9927
|
}
|
|
9910
|
-
function validateAdapterConfig$
|
|
9928
|
+
function validateAdapterConfig$18(untrustedConfig, configPropertyNames) {
|
|
9911
9929
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
9912
9930
|
return null;
|
|
9913
9931
|
}
|
|
@@ -9915,14 +9933,14 @@ function validateAdapterConfig$1a(untrustedConfig, configPropertyNames) {
|
|
|
9915
9933
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
9916
9934
|
}
|
|
9917
9935
|
const coercedConfig = coerceConfig$1(untrustedConfig, getMruListUi_ConfigPropertyMetadata);
|
|
9918
|
-
const config = typeCheckConfig$
|
|
9936
|
+
const config = typeCheckConfig$15(coercedConfig);
|
|
9919
9937
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
9920
9938
|
return null;
|
|
9921
9939
|
}
|
|
9922
9940
|
return config;
|
|
9923
9941
|
}
|
|
9924
9942
|
|
|
9925
|
-
function createResourceRequest$
|
|
9943
|
+
function createResourceRequest$18(config) {
|
|
9926
9944
|
const headers = {};
|
|
9927
9945
|
return {
|
|
9928
9946
|
baseUri: '/services/data/v63.0',
|
|
@@ -10048,7 +10066,7 @@ function buildCachedSnapshot$8(luvio, storeLookup, config, listInfo, fields) {
|
|
|
10048
10066
|
*/
|
|
10049
10067
|
function buildNetworkSnapshot_getMruListUi(luvio, config, dispatchOptions) {
|
|
10050
10068
|
const params = createResourceParams$10(config);
|
|
10051
|
-
const request = createResourceRequest$
|
|
10069
|
+
const request = createResourceRequest$19(params);
|
|
10052
10070
|
return luvio.dispatchResourceRequest(request, dispatchOptions).then((response) => {
|
|
10053
10071
|
const { body } = response;
|
|
10054
10072
|
// response might have records.sortBy in csv format but keyBuilder/ingestion
|
|
@@ -10075,7 +10093,7 @@ function prepareRequest_getMruListRecords(luvio, config, listInfo, snapshot) {
|
|
|
10075
10093
|
pageToken,
|
|
10076
10094
|
sortBy,
|
|
10077
10095
|
};
|
|
10078
|
-
const request = createResourceRequest$
|
|
10096
|
+
const request = createResourceRequest$18({
|
|
10079
10097
|
urlParams: {
|
|
10080
10098
|
objectApiName: config.objectApiName,
|
|
10081
10099
|
},
|
|
@@ -10232,7 +10250,7 @@ function buildNetworkListUiSnapshot$1(context, coercedAdapterRequestContext) {
|
|
|
10232
10250
|
return buildNetworkSnapshot_getMruListRecords(luvio, config, listInfo, dispatchOptions, listUi);
|
|
10233
10251
|
}
|
|
10234
10252
|
const factory$k = (luvio) => function getMruListUi(untrustedConfig, requestContext) {
|
|
10235
|
-
const config = validateAdapterConfig$
|
|
10253
|
+
const config = validateAdapterConfig$18(untrustedConfig, getMruListUi_ConfigPropertyNames_augmented);
|
|
10236
10254
|
if (config === null) {
|
|
10237
10255
|
return null;
|
|
10238
10256
|
}
|
|
@@ -10350,7 +10368,7 @@ function prepareRequest_getListUi(config) {
|
|
|
10350
10368
|
};
|
|
10351
10369
|
let request;
|
|
10352
10370
|
if (isGetListUiByApiNameConfig(config)) {
|
|
10353
|
-
request = createResourceRequest$
|
|
10371
|
+
request = createResourceRequest$1e({
|
|
10354
10372
|
urlParams: {
|
|
10355
10373
|
listViewApiName: config.listViewApiName,
|
|
10356
10374
|
objectApiName: config.objectApiName,
|
|
@@ -10359,7 +10377,7 @@ function prepareRequest_getListUi(config) {
|
|
|
10359
10377
|
});
|
|
10360
10378
|
}
|
|
10361
10379
|
else if (isGetListUiByListViewIdConfig(config)) {
|
|
10362
|
-
request = createResourceRequest$
|
|
10380
|
+
request = createResourceRequest$1d({
|
|
10363
10381
|
urlParams: { listViewId: config.listViewId },
|
|
10364
10382
|
queryParams,
|
|
10365
10383
|
});
|
|
@@ -10442,7 +10460,7 @@ function prepareRequest_getListRecords(luvio, context, config, listInfo, snapsho
|
|
|
10442
10460
|
};
|
|
10443
10461
|
let request;
|
|
10444
10462
|
if (isGetListUiByApiNameConfig(config)) {
|
|
10445
|
-
request = createResourceRequest$
|
|
10463
|
+
request = createResourceRequest$1b({
|
|
10446
10464
|
urlParams: {
|
|
10447
10465
|
listViewApiName: config.listViewApiName,
|
|
10448
10466
|
objectApiName: config.objectApiName,
|
|
@@ -10451,7 +10469,7 @@ function prepareRequest_getListRecords(luvio, context, config, listInfo, snapsho
|
|
|
10451
10469
|
});
|
|
10452
10470
|
}
|
|
10453
10471
|
else if (isGetListUiByListViewIdConfig(config)) {
|
|
10454
|
-
request = createResourceRequest$
|
|
10472
|
+
request = createResourceRequest$1c({
|
|
10455
10473
|
urlParams: { listViewId: config.listViewId },
|
|
10456
10474
|
queryParams,
|
|
10457
10475
|
});
|
|
@@ -10651,9 +10669,9 @@ function looksLikeGetMruListUiConfig(untrustedConfig) {
|
|
|
10651
10669
|
}
|
|
10652
10670
|
function validateGetListUiConfig(untrustedConfig) {
|
|
10653
10671
|
return looksLikeGetListUiByApiNameConfig(untrustedConfig)
|
|
10654
|
-
? validateAdapterConfig$
|
|
10672
|
+
? validateAdapterConfig$1b(untrustedConfig, getListUiByApiName_ConfigPropertyNames_augmented)
|
|
10655
10673
|
: looksLikeGetListUiByListViewIdConfig(untrustedConfig)
|
|
10656
|
-
? validateAdapterConfig$
|
|
10674
|
+
? validateAdapterConfig$1a(untrustedConfig, getListUiByListViewId_ConfigPropertyNames_augmented)
|
|
10657
10675
|
: null;
|
|
10658
10676
|
}
|
|
10659
10677
|
// the listViewApiName value to pass to getListUi() to request the MRU list
|
|
@@ -11727,7 +11745,7 @@ function ingestError$L(luvio, params, error, snapshotRefresh) {
|
|
|
11727
11745
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
11728
11746
|
return errorSnapshot;
|
|
11729
11747
|
}
|
|
11730
|
-
function createResourceRequest$
|
|
11748
|
+
function createResourceRequest$17(config) {
|
|
11731
11749
|
const headers = {};
|
|
11732
11750
|
return {
|
|
11733
11751
|
baseUri: '/services/data/v63.0',
|
|
@@ -11741,22 +11759,22 @@ function createResourceRequest$16(config) {
|
|
|
11741
11759
|
};
|
|
11742
11760
|
}
|
|
11743
11761
|
|
|
11744
|
-
const adapterName$
|
|
11762
|
+
const adapterName$W = 'getObjectInfo';
|
|
11745
11763
|
const getObjectInfo_ConfigPropertyMetadata = [
|
|
11746
11764
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
|
|
11747
11765
|
];
|
|
11748
|
-
const getObjectInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
11766
|
+
const getObjectInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$W, getObjectInfo_ConfigPropertyMetadata);
|
|
11749
11767
|
const createResourceParams$$ = /*#__PURE__*/ createResourceParams$16(getObjectInfo_ConfigPropertyMetadata);
|
|
11750
11768
|
function keyBuilder$3h(luvio, config) {
|
|
11751
11769
|
const resourceParams = createResourceParams$$(config);
|
|
11752
11770
|
return keyBuilder$3i(luvio, resourceParams);
|
|
11753
11771
|
}
|
|
11754
|
-
function typeCheckConfig$
|
|
11772
|
+
function typeCheckConfig$14(untrustedConfig) {
|
|
11755
11773
|
const config = {};
|
|
11756
|
-
typeCheckConfig$
|
|
11774
|
+
typeCheckConfig$1a(untrustedConfig, config, getObjectInfo_ConfigPropertyMetadata);
|
|
11757
11775
|
return config;
|
|
11758
11776
|
}
|
|
11759
|
-
function validateAdapterConfig$
|
|
11777
|
+
function validateAdapterConfig$17(untrustedConfig, configPropertyNames) {
|
|
11760
11778
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
11761
11779
|
return null;
|
|
11762
11780
|
}
|
|
@@ -11764,7 +11782,7 @@ function validateAdapterConfig$19(untrustedConfig, configPropertyNames) {
|
|
|
11764
11782
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
11765
11783
|
}
|
|
11766
11784
|
const coercedConfig = coerceConfig$1(untrustedConfig, getObjectInfo_ConfigPropertyMetadata);
|
|
11767
|
-
const config = typeCheckConfig$
|
|
11785
|
+
const config = typeCheckConfig$14(coercedConfig);
|
|
11768
11786
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
11769
11787
|
return null;
|
|
11770
11788
|
}
|
|
@@ -11790,7 +11808,7 @@ function onFetchResponseError$P(luvio, config, resourceParams, response) {
|
|
|
11790
11808
|
}
|
|
11791
11809
|
function buildNetworkSnapshot$16(luvio, config, options) {
|
|
11792
11810
|
const resourceParams = createResourceParams$$(config);
|
|
11793
|
-
const request = createResourceRequest$
|
|
11811
|
+
const request = createResourceRequest$17(resourceParams);
|
|
11794
11812
|
return luvio.dispatchResourceRequest(request, options)
|
|
11795
11813
|
.then((response) => {
|
|
11796
11814
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$O(luvio, config, resourceParams, response), () => {
|
|
@@ -11819,7 +11837,7 @@ function buildCachedSnapshotCachePolicy$R(context, storeLookup) {
|
|
|
11819
11837
|
return cacheSnapshot;
|
|
11820
11838
|
}
|
|
11821
11839
|
const getObjectInfoAdapterFactory = (luvio) => function UiApi__getObjectInfo(untrustedConfig, requestContext) {
|
|
11822
|
-
const config = validateAdapterConfig$
|
|
11840
|
+
const config = validateAdapterConfig$17(untrustedConfig, getObjectInfo_ConfigPropertyNames);
|
|
11823
11841
|
// Invalid or incomplete config
|
|
11824
11842
|
if (config === null) {
|
|
11825
11843
|
return null;
|
|
@@ -12764,7 +12782,7 @@ const ingest$22 = function RecordUiRepresentationIngest(input, path, luvio, stor
|
|
|
12764
12782
|
return createLink$1(key);
|
|
12765
12783
|
};
|
|
12766
12784
|
|
|
12767
|
-
function createResourceRequest$
|
|
12785
|
+
function createResourceRequest$16(config) {
|
|
12768
12786
|
const headers = {};
|
|
12769
12787
|
return {
|
|
12770
12788
|
baseUri: '/services/data/v63.0',
|
|
@@ -12782,18 +12800,18 @@ const getRecordUi_ConfigPropertyMetadata = [
|
|
|
12782
12800
|
generateParamConfigMetadata('recordIds', true, 0 /* UrlParameter */, 0 /* String */, true, getRecordId18Array),
|
|
12783
12801
|
generateParamConfigMetadata('childRelationships', false, 1 /* QueryParameter */, 0 /* String */, true),
|
|
12784
12802
|
generateParamConfigMetadata('formFactor', false, 1 /* QueryParameter */, 0 /* String */),
|
|
12785
|
-
generateParamConfigMetadata('layoutTypes', false, 1 /* QueryParameter */, 0 /* String */, true,
|
|
12803
|
+
generateParamConfigMetadata('layoutTypes', false, 1 /* QueryParameter */, 0 /* String */, true, toSortedStringArrayTitleCase),
|
|
12786
12804
|
generateParamConfigMetadata('modes', false, 1 /* QueryParameter */, 0 /* String */, true, toSortedStringArray),
|
|
12787
12805
|
generateParamConfigMetadata('optionalFields', false, 1 /* QueryParameter */, 0 /* String */, true, getFieldApiNamesArray),
|
|
12788
12806
|
generateParamConfigMetadata('pageSize', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
12789
12807
|
generateParamConfigMetadata('updateMru', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
12790
12808
|
];
|
|
12791
|
-
function typeCheckConfig$
|
|
12809
|
+
function typeCheckConfig$13(untrustedConfig) {
|
|
12792
12810
|
const config = {};
|
|
12793
|
-
typeCheckConfig$
|
|
12811
|
+
typeCheckConfig$1a(untrustedConfig, config, getRecordUi_ConfigPropertyMetadata);
|
|
12794
12812
|
return config;
|
|
12795
12813
|
}
|
|
12796
|
-
function validateAdapterConfig$
|
|
12814
|
+
function validateAdapterConfig$16(untrustedConfig, configPropertyNames) {
|
|
12797
12815
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
12798
12816
|
return null;
|
|
12799
12817
|
}
|
|
@@ -12801,7 +12819,7 @@ function validateAdapterConfig$18(untrustedConfig, configPropertyNames) {
|
|
|
12801
12819
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
12802
12820
|
}
|
|
12803
12821
|
const coercedConfig = coerceConfig$1(untrustedConfig, getRecordUi_ConfigPropertyMetadata);
|
|
12804
|
-
const config = typeCheckConfig$
|
|
12822
|
+
const config = typeCheckConfig$13(coercedConfig);
|
|
12805
12823
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
12806
12824
|
return null;
|
|
12807
12825
|
}
|
|
@@ -13101,7 +13119,7 @@ function prepareRequest$5(luvio, config) {
|
|
|
13101
13119
|
const { recordIds, layoutTypes, modes, optionalFields } = config;
|
|
13102
13120
|
const key = keyBuilder$3e(recordIds, layoutTypes, modes, optionalFields);
|
|
13103
13121
|
const selectorKey = buildCachedSelectorKey(key);
|
|
13104
|
-
const resourceRequest = createResourceRequest$
|
|
13122
|
+
const resourceRequest = createResourceRequest$16({
|
|
13105
13123
|
urlParams: {
|
|
13106
13124
|
recordIds,
|
|
13107
13125
|
},
|
|
@@ -13300,7 +13318,7 @@ function buildNetworkRecordUiRepresentationSnapshot(context, coercedAdapterReque
|
|
|
13300
13318
|
return buildNetworkSnapshot$15(context.luvio, context.config, dispatchOptions);
|
|
13301
13319
|
}
|
|
13302
13320
|
function coerceConfigWithDefaults$3(untrustedConfig) {
|
|
13303
|
-
const config = validateAdapterConfig$
|
|
13321
|
+
const config = validateAdapterConfig$16(untrustedConfig, GET_RECORDUI_ADAPTER_CONFIG);
|
|
13304
13322
|
if (config === null) {
|
|
13305
13323
|
return null;
|
|
13306
13324
|
}
|
|
@@ -13802,7 +13820,7 @@ function runSnapshotOrPromise(promiseOrSnapshot, next) {
|
|
|
13802
13820
|
}
|
|
13803
13821
|
}
|
|
13804
13822
|
|
|
13805
|
-
const contextId$4 = `${keyPrefix}__${adapterName
|
|
13823
|
+
const contextId$4 = `${keyPrefix}__${adapterName$$}`;
|
|
13806
13824
|
// Custom adapter config due to `unsupported` items
|
|
13807
13825
|
const GET_RECORD_ADAPTER_CONFIG = {
|
|
13808
13826
|
displayName: 'getRecord',
|
|
@@ -13831,7 +13849,7 @@ function createResourceRequestFromRepresentation(representation, optionalFields)
|
|
|
13831
13849
|
optionalFields,
|
|
13832
13850
|
},
|
|
13833
13851
|
};
|
|
13834
|
-
return createResourceRequest$
|
|
13852
|
+
return createResourceRequest$1h(config);
|
|
13835
13853
|
}
|
|
13836
13854
|
// eslint-disable-next-line @salesforce/lds/no-invalid-todo
|
|
13837
13855
|
// TODO: this should probably be code generated in RecordRepresentation
|
|
@@ -13896,7 +13914,7 @@ const notifyChangeFactory = (luvio) => {
|
|
|
13896
13914
|
const factory$h = (luvio) => {
|
|
13897
13915
|
return luvio.withContext(function getRecord(untrustedConfig, adapterContext, requestContext) {
|
|
13898
13916
|
// standard config validation and coercion
|
|
13899
|
-
const config = validateAdapterConfig$
|
|
13917
|
+
const config = validateAdapterConfig$1c(untrustedConfig, GET_RECORD_ADAPTER_CONFIG);
|
|
13900
13918
|
if (config === null) {
|
|
13901
13919
|
return null;
|
|
13902
13920
|
}
|
|
@@ -15439,7 +15457,7 @@ function ingestError$K(luvio, params, error, snapshotRefresh) {
|
|
|
15439
15457
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
15440
15458
|
return errorSnapshot;
|
|
15441
15459
|
}
|
|
15442
|
-
function createResourceRequest$
|
|
15460
|
+
function createResourceRequest$15(config) {
|
|
15443
15461
|
const headers = {};
|
|
15444
15462
|
return {
|
|
15445
15463
|
baseUri: '/services/data/v63.0',
|
|
@@ -15453,7 +15471,7 @@ function createResourceRequest$14(config) {
|
|
|
15453
15471
|
};
|
|
15454
15472
|
}
|
|
15455
15473
|
|
|
15456
|
-
const adapterName$
|
|
15474
|
+
const adapterName$V = 'getGlobalActions';
|
|
15457
15475
|
const getGlobalActions_ConfigPropertyMetadata = [
|
|
15458
15476
|
generateParamConfigMetadata('actionTypes', false, 1 /* QueryParameter */, 0 /* String */, true),
|
|
15459
15477
|
generateParamConfigMetadata('apiNames', false, 1 /* QueryParameter */, 0 /* String */, true, toSortedStringArrayAllowEmpty),
|
|
@@ -15461,18 +15479,18 @@ const getGlobalActions_ConfigPropertyMetadata = [
|
|
|
15461
15479
|
generateParamConfigMetadata('retrievalMode', false, 1 /* QueryParameter */, 0 /* String */),
|
|
15462
15480
|
generateParamConfigMetadata('sections', false, 1 /* QueryParameter */, 0 /* String */, true, toSortedStringArray),
|
|
15463
15481
|
];
|
|
15464
|
-
const getGlobalActions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
15482
|
+
const getGlobalActions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$V, getGlobalActions_ConfigPropertyMetadata);
|
|
15465
15483
|
const createResourceParams$_ = /*#__PURE__*/ createResourceParams$16(getGlobalActions_ConfigPropertyMetadata);
|
|
15466
15484
|
function keyBuilder$37(luvio, config) {
|
|
15467
15485
|
const resourceParams = createResourceParams$_(config);
|
|
15468
15486
|
return keyBuilder$38(luvio, resourceParams);
|
|
15469
15487
|
}
|
|
15470
|
-
function typeCheckConfig$
|
|
15488
|
+
function typeCheckConfig$12(untrustedConfig) {
|
|
15471
15489
|
const config = {};
|
|
15472
|
-
typeCheckConfig$
|
|
15490
|
+
typeCheckConfig$1a(untrustedConfig, config, getGlobalActions_ConfigPropertyMetadata);
|
|
15473
15491
|
return config;
|
|
15474
15492
|
}
|
|
15475
|
-
function validateAdapterConfig$
|
|
15493
|
+
function validateAdapterConfig$15(untrustedConfig, configPropertyNames) {
|
|
15476
15494
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
15477
15495
|
return null;
|
|
15478
15496
|
}
|
|
@@ -15480,7 +15498,7 @@ function validateAdapterConfig$17(untrustedConfig, configPropertyNames) {
|
|
|
15480
15498
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
15481
15499
|
}
|
|
15482
15500
|
const coercedConfig = coerceConfig$1(untrustedConfig, getGlobalActions_ConfigPropertyMetadata);
|
|
15483
|
-
const config = typeCheckConfig$
|
|
15501
|
+
const config = typeCheckConfig$12(coercedConfig);
|
|
15484
15502
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
15485
15503
|
return null;
|
|
15486
15504
|
}
|
|
@@ -15506,7 +15524,7 @@ function onFetchResponseError$N(luvio, config, resourceParams, response) {
|
|
|
15506
15524
|
}
|
|
15507
15525
|
function buildNetworkSnapshot$13(luvio, config, options) {
|
|
15508
15526
|
const resourceParams = createResourceParams$_(config);
|
|
15509
|
-
const request = createResourceRequest$
|
|
15527
|
+
const request = createResourceRequest$15(resourceParams);
|
|
15510
15528
|
return luvio.dispatchResourceRequest(request, options)
|
|
15511
15529
|
.then((response) => {
|
|
15512
15530
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$M(luvio, config, resourceParams, response), () => {
|
|
@@ -15535,7 +15553,7 @@ function buildCachedSnapshotCachePolicy$Q(context, storeLookup) {
|
|
|
15535
15553
|
return cacheSnapshot;
|
|
15536
15554
|
}
|
|
15537
15555
|
const getGlobalActionsAdapterFactory = (luvio) => function UiApi__getGlobalActions(untrustedConfig, requestContext) {
|
|
15538
|
-
const config = validateAdapterConfig$
|
|
15556
|
+
const config = validateAdapterConfig$15(untrustedConfig, getGlobalActions_ConfigPropertyNames);
|
|
15539
15557
|
// Invalid or incomplete config
|
|
15540
15558
|
if (config === null) {
|
|
15541
15559
|
return null;
|
|
@@ -15673,7 +15691,7 @@ function ingestError$J(luvio, params, error, snapshotRefresh) {
|
|
|
15673
15691
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
15674
15692
|
return errorSnapshot;
|
|
15675
15693
|
}
|
|
15676
|
-
function createResourceRequest$
|
|
15694
|
+
function createResourceRequest$14(config) {
|
|
15677
15695
|
const headers = {};
|
|
15678
15696
|
return {
|
|
15679
15697
|
baseUri: '/services/data/v63.0',
|
|
@@ -15687,31 +15705,31 @@ function createResourceRequest$13(config) {
|
|
|
15687
15705
|
};
|
|
15688
15706
|
}
|
|
15689
15707
|
|
|
15690
|
-
const adapterName$
|
|
15708
|
+
const adapterName$U = 'getQuickActionLayout';
|
|
15691
15709
|
const getQuickActionLayout_ConfigPropertyMetadata = [
|
|
15692
15710
|
generateParamConfigMetadata('actionApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
15693
15711
|
generateParamConfigMetadata('objectApiName', false, 1 /* QueryParameter */, 0 /* String */),
|
|
15694
15712
|
generateParamConfigMetadata('recordTypeId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
15695
15713
|
];
|
|
15696
|
-
const getQuickActionLayout_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
15714
|
+
const getQuickActionLayout_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$U, getQuickActionLayout_ConfigPropertyMetadata);
|
|
15697
15715
|
const createResourceParams$Z = /*#__PURE__*/ createResourceParams$16(getQuickActionLayout_ConfigPropertyMetadata);
|
|
15698
15716
|
function keyBuilder$34(luvio, config) {
|
|
15699
15717
|
const resourceParams = createResourceParams$Z(config);
|
|
15700
15718
|
return keyBuilder$35(luvio, resourceParams);
|
|
15701
15719
|
}
|
|
15702
|
-
function typeCheckConfig$
|
|
15720
|
+
function typeCheckConfig$11(untrustedConfig) {
|
|
15703
15721
|
const config = {};
|
|
15704
|
-
typeCheckConfig$
|
|
15722
|
+
typeCheckConfig$1a(untrustedConfig, config, getQuickActionLayout_ConfigPropertyMetadata);
|
|
15705
15723
|
return config;
|
|
15706
15724
|
}
|
|
15707
|
-
function validateAdapterConfig$
|
|
15725
|
+
function validateAdapterConfig$14(untrustedConfig, configPropertyNames) {
|
|
15708
15726
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
15709
15727
|
return null;
|
|
15710
15728
|
}
|
|
15711
15729
|
if (process.env.NODE_ENV !== 'production') {
|
|
15712
15730
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
15713
15731
|
}
|
|
15714
|
-
const config = typeCheckConfig$
|
|
15732
|
+
const config = typeCheckConfig$11(untrustedConfig);
|
|
15715
15733
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
15716
15734
|
return null;
|
|
15717
15735
|
}
|
|
@@ -15737,7 +15755,7 @@ function onFetchResponseError$M(luvio, config, resourceParams, response) {
|
|
|
15737
15755
|
}
|
|
15738
15756
|
function buildNetworkSnapshot$12(luvio, config, options) {
|
|
15739
15757
|
const resourceParams = createResourceParams$Z(config);
|
|
15740
|
-
const request = createResourceRequest$
|
|
15758
|
+
const request = createResourceRequest$14(resourceParams);
|
|
15741
15759
|
return luvio.dispatchResourceRequest(request, options)
|
|
15742
15760
|
.then((response) => {
|
|
15743
15761
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$L(luvio, config, resourceParams, response), () => {
|
|
@@ -15766,7 +15784,7 @@ function buildCachedSnapshotCachePolicy$P(context, storeLookup) {
|
|
|
15766
15784
|
return cacheSnapshot;
|
|
15767
15785
|
}
|
|
15768
15786
|
const getQuickActionLayoutAdapterFactory = (luvio) => function UiApi__getQuickActionLayout(untrustedConfig, requestContext) {
|
|
15769
|
-
const config = validateAdapterConfig$
|
|
15787
|
+
const config = validateAdapterConfig$14(untrustedConfig, getQuickActionLayout_ConfigPropertyNames);
|
|
15770
15788
|
// Invalid or incomplete config
|
|
15771
15789
|
if (config === null) {
|
|
15772
15790
|
return null;
|
|
@@ -15845,7 +15863,7 @@ function ingestError$I(luvio, params, error, snapshotRefresh) {
|
|
|
15845
15863
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
15846
15864
|
return errorSnapshot;
|
|
15847
15865
|
}
|
|
15848
|
-
function createResourceRequest$
|
|
15866
|
+
function createResourceRequest$13(config) {
|
|
15849
15867
|
const headers = {};
|
|
15850
15868
|
return {
|
|
15851
15869
|
baseUri: '/services/data/v63.0',
|
|
@@ -15859,25 +15877,25 @@ function createResourceRequest$12(config) {
|
|
|
15859
15877
|
};
|
|
15860
15878
|
}
|
|
15861
15879
|
|
|
15862
|
-
const adapterName$
|
|
15880
|
+
const adapterName$T = 'getLookupActions';
|
|
15863
15881
|
const getLookupActions_ConfigPropertyMetadata = [
|
|
15864
15882
|
generateParamConfigMetadata('objectApiNames', true, 0 /* UrlParameter */, 0 /* String */, true, getSortedObjectApiNamesArray),
|
|
15865
15883
|
generateParamConfigMetadata('actionTypes', false, 1 /* QueryParameter */, 0 /* String */, true, toSortedStringArray),
|
|
15866
15884
|
generateParamConfigMetadata('formFactor', false, 1 /* QueryParameter */, 0 /* String */, false, coerceFormFactor),
|
|
15867
15885
|
generateParamConfigMetadata('sections', false, 1 /* QueryParameter */, 0 /* String */, true, toSortedStringArray),
|
|
15868
15886
|
];
|
|
15869
|
-
const getLookupActions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
15887
|
+
const getLookupActions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$T, getLookupActions_ConfigPropertyMetadata);
|
|
15870
15888
|
const createResourceParams$Y = /*#__PURE__*/ createResourceParams$16(getLookupActions_ConfigPropertyMetadata);
|
|
15871
15889
|
function keyBuilder$32(luvio, config) {
|
|
15872
15890
|
const resourceParams = createResourceParams$Y(config);
|
|
15873
15891
|
return keyBuilder$33(luvio, resourceParams);
|
|
15874
15892
|
}
|
|
15875
|
-
function typeCheckConfig$
|
|
15893
|
+
function typeCheckConfig$10(untrustedConfig) {
|
|
15876
15894
|
const config = {};
|
|
15877
|
-
typeCheckConfig$
|
|
15895
|
+
typeCheckConfig$1a(untrustedConfig, config, getLookupActions_ConfigPropertyMetadata);
|
|
15878
15896
|
return config;
|
|
15879
15897
|
}
|
|
15880
|
-
function validateAdapterConfig$
|
|
15898
|
+
function validateAdapterConfig$13(untrustedConfig, configPropertyNames) {
|
|
15881
15899
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
15882
15900
|
return null;
|
|
15883
15901
|
}
|
|
@@ -15885,7 +15903,7 @@ function validateAdapterConfig$15(untrustedConfig, configPropertyNames) {
|
|
|
15885
15903
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
15886
15904
|
}
|
|
15887
15905
|
const coercedConfig = coerceConfig$1(untrustedConfig, getLookupActions_ConfigPropertyMetadata);
|
|
15888
|
-
const config = typeCheckConfig$
|
|
15906
|
+
const config = typeCheckConfig$10(coercedConfig);
|
|
15889
15907
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
15890
15908
|
return null;
|
|
15891
15909
|
}
|
|
@@ -15911,7 +15929,7 @@ function onFetchResponseError$L(luvio, config, resourceParams, response) {
|
|
|
15911
15929
|
}
|
|
15912
15930
|
function buildNetworkSnapshot$11(luvio, config, options) {
|
|
15913
15931
|
const resourceParams = createResourceParams$Y(config);
|
|
15914
|
-
const request = createResourceRequest$
|
|
15932
|
+
const request = createResourceRequest$13(resourceParams);
|
|
15915
15933
|
return luvio.dispatchResourceRequest(request, options)
|
|
15916
15934
|
.then((response) => {
|
|
15917
15935
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$K(luvio, config, resourceParams, response), () => {
|
|
@@ -15940,7 +15958,7 @@ function buildCachedSnapshotCachePolicy$O(context, storeLookup) {
|
|
|
15940
15958
|
return cacheSnapshot;
|
|
15941
15959
|
}
|
|
15942
15960
|
const getLookupActionsAdapterFactory = (luvio) => function UiApi__getLookupActions(untrustedConfig, requestContext) {
|
|
15943
|
-
const config = validateAdapterConfig$
|
|
15961
|
+
const config = validateAdapterConfig$13(untrustedConfig, getLookupActions_ConfigPropertyNames);
|
|
15944
15962
|
// Invalid or incomplete config
|
|
15945
15963
|
if (config === null) {
|
|
15946
15964
|
return null;
|
|
@@ -15987,7 +16005,7 @@ function ingestError$H(luvio, params, error, snapshotRefresh) {
|
|
|
15987
16005
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
15988
16006
|
return errorSnapshot;
|
|
15989
16007
|
}
|
|
15990
|
-
function createResourceRequest$
|
|
16008
|
+
function createResourceRequest$12(config) {
|
|
15991
16009
|
const headers = {};
|
|
15992
16010
|
return {
|
|
15993
16011
|
baseUri: '/services/data/v63.0',
|
|
@@ -16001,25 +16019,25 @@ function createResourceRequest$11(config) {
|
|
|
16001
16019
|
};
|
|
16002
16020
|
}
|
|
16003
16021
|
|
|
16004
|
-
const adapterName$
|
|
16022
|
+
const adapterName$S = 'getObjectCreateActions';
|
|
16005
16023
|
const getObjectCreateActions_ConfigPropertyMetadata = [
|
|
16006
16024
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
|
|
16007
16025
|
generateParamConfigMetadata('actionTypes', false, 1 /* QueryParameter */, 0 /* String */, true),
|
|
16008
16026
|
generateParamConfigMetadata('formFactor', false, 1 /* QueryParameter */, 0 /* String */, false, coerceFormFactor),
|
|
16009
16027
|
generateParamConfigMetadata('sections', false, 1 /* QueryParameter */, 0 /* String */, true, toSortedStringArray),
|
|
16010
16028
|
];
|
|
16011
|
-
const getObjectCreateActions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
16029
|
+
const getObjectCreateActions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$S, getObjectCreateActions_ConfigPropertyMetadata);
|
|
16012
16030
|
const createResourceParams$X = /*#__PURE__*/ createResourceParams$16(getObjectCreateActions_ConfigPropertyMetadata);
|
|
16013
16031
|
function keyBuilder$30(luvio, config) {
|
|
16014
16032
|
const resourceParams = createResourceParams$X(config);
|
|
16015
16033
|
return keyBuilder$31(luvio, resourceParams);
|
|
16016
16034
|
}
|
|
16017
|
-
function typeCheckConfig
|
|
16035
|
+
function typeCheckConfig$$(untrustedConfig) {
|
|
16018
16036
|
const config = {};
|
|
16019
|
-
typeCheckConfig$
|
|
16037
|
+
typeCheckConfig$1a(untrustedConfig, config, getObjectCreateActions_ConfigPropertyMetadata);
|
|
16020
16038
|
return config;
|
|
16021
16039
|
}
|
|
16022
|
-
function validateAdapterConfig$
|
|
16040
|
+
function validateAdapterConfig$12(untrustedConfig, configPropertyNames) {
|
|
16023
16041
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
16024
16042
|
return null;
|
|
16025
16043
|
}
|
|
@@ -16027,7 +16045,7 @@ function validateAdapterConfig$14(untrustedConfig, configPropertyNames) {
|
|
|
16027
16045
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
16028
16046
|
}
|
|
16029
16047
|
const coercedConfig = coerceConfig$1(untrustedConfig, getObjectCreateActions_ConfigPropertyMetadata);
|
|
16030
|
-
const config = typeCheckConfig
|
|
16048
|
+
const config = typeCheckConfig$$(coercedConfig);
|
|
16031
16049
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
16032
16050
|
return null;
|
|
16033
16051
|
}
|
|
@@ -16053,7 +16071,7 @@ function onFetchResponseError$K(luvio, config, resourceParams, response) {
|
|
|
16053
16071
|
}
|
|
16054
16072
|
function buildNetworkSnapshot$10(luvio, config, options) {
|
|
16055
16073
|
const resourceParams = createResourceParams$X(config);
|
|
16056
|
-
const request = createResourceRequest$
|
|
16074
|
+
const request = createResourceRequest$12(resourceParams);
|
|
16057
16075
|
return luvio.dispatchResourceRequest(request, options)
|
|
16058
16076
|
.then((response) => {
|
|
16059
16077
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$J(luvio, config, resourceParams, response), () => {
|
|
@@ -16082,7 +16100,7 @@ function buildCachedSnapshotCachePolicy$N(context, storeLookup) {
|
|
|
16082
16100
|
return cacheSnapshot;
|
|
16083
16101
|
}
|
|
16084
16102
|
const getObjectCreateActionsAdapterFactory = (luvio) => function UiApi__getObjectCreateActions(untrustedConfig, requestContext) {
|
|
16085
|
-
const config = validateAdapterConfig$
|
|
16103
|
+
const config = validateAdapterConfig$12(untrustedConfig, getObjectCreateActions_ConfigPropertyNames);
|
|
16086
16104
|
// Invalid or incomplete config
|
|
16087
16105
|
if (config === null) {
|
|
16088
16106
|
return null;
|
|
@@ -16177,7 +16195,7 @@ function ingestError$G(luvio, params, error, snapshotRefresh) {
|
|
|
16177
16195
|
luvio.storeIngestError(key, errorSnapshot);
|
|
16178
16196
|
return errorSnapshot;
|
|
16179
16197
|
}
|
|
16180
|
-
function createResourceRequest$
|
|
16198
|
+
function createResourceRequest$11(config) {
|
|
16181
16199
|
const headers = {};
|
|
16182
16200
|
return {
|
|
16183
16201
|
baseUri: '/services/data/v63.0',
|
|
@@ -16191,24 +16209,24 @@ function createResourceRequest$10(config) {
|
|
|
16191
16209
|
};
|
|
16192
16210
|
}
|
|
16193
16211
|
|
|
16194
|
-
const adapterName$
|
|
16212
|
+
const adapterName$R = 'getActionOverrides';
|
|
16195
16213
|
const getActionOverrides_ConfigPropertyMetadata = [
|
|
16196
16214
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
|
|
16197
16215
|
generateParamConfigMetadata('defaultTemplateOnly', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
16198
16216
|
generateParamConfigMetadata('type', false, 1 /* QueryParameter */, 0 /* String */),
|
|
16199
16217
|
];
|
|
16200
|
-
const getActionOverrides_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
16218
|
+
const getActionOverrides_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$R, getActionOverrides_ConfigPropertyMetadata);
|
|
16201
16219
|
const createResourceParams$W = /*#__PURE__*/ createResourceParams$16(getActionOverrides_ConfigPropertyMetadata);
|
|
16202
16220
|
function keyBuilder$2_(luvio, config) {
|
|
16203
16221
|
const resourceParams = createResourceParams$W(config);
|
|
16204
16222
|
return keyBuilder$2$(luvio, resourceParams);
|
|
16205
16223
|
}
|
|
16206
|
-
function typeCheckConfig$
|
|
16224
|
+
function typeCheckConfig$_(untrustedConfig) {
|
|
16207
16225
|
const config = {};
|
|
16208
|
-
typeCheckConfig$
|
|
16226
|
+
typeCheckConfig$1a(untrustedConfig, config, getActionOverrides_ConfigPropertyMetadata);
|
|
16209
16227
|
return config;
|
|
16210
16228
|
}
|
|
16211
|
-
function validateAdapterConfig$
|
|
16229
|
+
function validateAdapterConfig$11(untrustedConfig, configPropertyNames) {
|
|
16212
16230
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
16213
16231
|
return null;
|
|
16214
16232
|
}
|
|
@@ -16216,7 +16234,7 @@ function validateAdapterConfig$13(untrustedConfig, configPropertyNames) {
|
|
|
16216
16234
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
16217
16235
|
}
|
|
16218
16236
|
const coercedConfig = coerceConfig$1(untrustedConfig, getActionOverrides_ConfigPropertyMetadata);
|
|
16219
|
-
const config = typeCheckConfig$
|
|
16237
|
+
const config = typeCheckConfig$_(coercedConfig);
|
|
16220
16238
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
16221
16239
|
return null;
|
|
16222
16240
|
}
|
|
@@ -16242,7 +16260,7 @@ function onFetchResponseError$J(luvio, config, resourceParams, response) {
|
|
|
16242
16260
|
}
|
|
16243
16261
|
function buildNetworkSnapshot$$(luvio, config, options) {
|
|
16244
16262
|
const resourceParams = createResourceParams$W(config);
|
|
16245
|
-
const request = createResourceRequest$
|
|
16263
|
+
const request = createResourceRequest$11(resourceParams);
|
|
16246
16264
|
return luvio.dispatchResourceRequest(request, options)
|
|
16247
16265
|
.then((response) => {
|
|
16248
16266
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$I(luvio, config, resourceParams, response), () => {
|
|
@@ -16271,7 +16289,7 @@ function buildCachedSnapshotCachePolicy$M(context, storeLookup) {
|
|
|
16271
16289
|
return cacheSnapshot;
|
|
16272
16290
|
}
|
|
16273
16291
|
const getActionOverridesAdapterFactory = (luvio) => function UiApi__getActionOverrides(untrustedConfig, requestContext) {
|
|
16274
|
-
const config = validateAdapterConfig$
|
|
16292
|
+
const config = validateAdapterConfig$11(untrustedConfig, getActionOverrides_ConfigPropertyNames);
|
|
16275
16293
|
// Invalid or incomplete config
|
|
16276
16294
|
if (config === null) {
|
|
16277
16295
|
return null;
|
|
@@ -16441,7 +16459,7 @@ function ingestError$F(luvio, params, error, snapshotRefresh) {
|
|
|
16441
16459
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
16442
16460
|
return errorSnapshot;
|
|
16443
16461
|
}
|
|
16444
|
-
function createResourceRequest
|
|
16462
|
+
function createResourceRequest$10(config) {
|
|
16445
16463
|
const headers = {};
|
|
16446
16464
|
return {
|
|
16447
16465
|
baseUri: '/services/data/v63.0',
|
|
@@ -16455,24 +16473,24 @@ function createResourceRequest$$(config) {
|
|
|
16455
16473
|
};
|
|
16456
16474
|
}
|
|
16457
16475
|
|
|
16458
|
-
const adapterName$
|
|
16476
|
+
const adapterName$Q = 'getFlexipageFormulaOverrides';
|
|
16459
16477
|
const getFlexipageFormulaOverrides_ConfigPropertyMetadata = [
|
|
16460
16478
|
generateParamConfigMetadata('actionFeature', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
|
|
16461
16479
|
generateParamConfigMetadata('application', false, 1 /* QueryParameter */, 0 /* String */, false, getObjectApiName$1),
|
|
16462
16480
|
generateParamConfigMetadata('objectApiNames', false, 1 /* QueryParameter */, 0 /* String */, true, toSortedStringArray),
|
|
16463
16481
|
];
|
|
16464
|
-
const getFlexipageFormulaOverrides_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
16482
|
+
const getFlexipageFormulaOverrides_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$Q, getFlexipageFormulaOverrides_ConfigPropertyMetadata);
|
|
16465
16483
|
const createResourceParams$V = /*#__PURE__*/ createResourceParams$16(getFlexipageFormulaOverrides_ConfigPropertyMetadata);
|
|
16466
16484
|
function keyBuilder$2Y(luvio, config) {
|
|
16467
16485
|
const resourceParams = createResourceParams$V(config);
|
|
16468
16486
|
return keyBuilder$2Z(luvio, resourceParams);
|
|
16469
16487
|
}
|
|
16470
|
-
function typeCheckConfig
|
|
16488
|
+
function typeCheckConfig$Z(untrustedConfig) {
|
|
16471
16489
|
const config = {};
|
|
16472
|
-
typeCheckConfig$
|
|
16490
|
+
typeCheckConfig$1a(untrustedConfig, config, getFlexipageFormulaOverrides_ConfigPropertyMetadata);
|
|
16473
16491
|
return config;
|
|
16474
16492
|
}
|
|
16475
|
-
function validateAdapterConfig$
|
|
16493
|
+
function validateAdapterConfig$10(untrustedConfig, configPropertyNames) {
|
|
16476
16494
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
16477
16495
|
return null;
|
|
16478
16496
|
}
|
|
@@ -16480,7 +16498,7 @@ function validateAdapterConfig$12(untrustedConfig, configPropertyNames) {
|
|
|
16480
16498
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
16481
16499
|
}
|
|
16482
16500
|
const coercedConfig = coerceConfig$1(untrustedConfig, getFlexipageFormulaOverrides_ConfigPropertyMetadata);
|
|
16483
|
-
const config = typeCheckConfig
|
|
16501
|
+
const config = typeCheckConfig$Z(coercedConfig);
|
|
16484
16502
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
16485
16503
|
return null;
|
|
16486
16504
|
}
|
|
@@ -16506,7 +16524,7 @@ function onFetchResponseError$I(luvio, config, resourceParams, response) {
|
|
|
16506
16524
|
}
|
|
16507
16525
|
function buildNetworkSnapshot$_(luvio, config, options) {
|
|
16508
16526
|
const resourceParams = createResourceParams$V(config);
|
|
16509
|
-
const request = createResourceRequest
|
|
16527
|
+
const request = createResourceRequest$10(resourceParams);
|
|
16510
16528
|
return luvio.dispatchResourceRequest(request, options)
|
|
16511
16529
|
.then((response) => {
|
|
16512
16530
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$H(luvio, config, resourceParams, response), () => {
|
|
@@ -16535,7 +16553,7 @@ function buildCachedSnapshotCachePolicy$L(context, storeLookup) {
|
|
|
16535
16553
|
return cacheSnapshot;
|
|
16536
16554
|
}
|
|
16537
16555
|
const getFlexipageFormulaOverridesAdapterFactory = (luvio) => function UiApi__getFlexipageFormulaOverrides(untrustedConfig, requestContext) {
|
|
16538
|
-
const config = validateAdapterConfig$
|
|
16556
|
+
const config = validateAdapterConfig$10(untrustedConfig, getFlexipageFormulaOverrides_ConfigPropertyNames);
|
|
16539
16557
|
// Invalid or incomplete config
|
|
16540
16558
|
if (config === null) {
|
|
16541
16559
|
return null;
|
|
@@ -17558,7 +17576,7 @@ function ingestError$E(luvio, params, error, snapshotRefresh) {
|
|
|
17558
17576
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
17559
17577
|
return errorSnapshot;
|
|
17560
17578
|
}
|
|
17561
|
-
function createResourceRequest
|
|
17579
|
+
function createResourceRequest$$(config) {
|
|
17562
17580
|
const headers = {};
|
|
17563
17581
|
return {
|
|
17564
17582
|
baseUri: '/services/data/v63.0',
|
|
@@ -17572,23 +17590,23 @@ function createResourceRequest$_(config) {
|
|
|
17572
17590
|
};
|
|
17573
17591
|
}
|
|
17574
17592
|
|
|
17575
|
-
const adapterName$
|
|
17593
|
+
const adapterName$P = 'getQuickActionInfo';
|
|
17576
17594
|
const getQuickActionInfo_ConfigPropertyMetadata = [
|
|
17577
17595
|
generateParamConfigMetadata('actionApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
|
|
17578
17596
|
generateParamConfigMetadata('parentRecordId', false, 1 /* QueryParameter */, 0 /* String */, false, getRecordId18),
|
|
17579
17597
|
];
|
|
17580
|
-
const getQuickActionInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
17598
|
+
const getQuickActionInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$P, getQuickActionInfo_ConfigPropertyMetadata);
|
|
17581
17599
|
const createResourceParams$U = /*#__PURE__*/ createResourceParams$16(getQuickActionInfo_ConfigPropertyMetadata);
|
|
17582
17600
|
function keyBuilder$2V(luvio, config) {
|
|
17583
17601
|
const resourceParams = createResourceParams$U(config);
|
|
17584
17602
|
return keyBuilder$2W(luvio, resourceParams);
|
|
17585
17603
|
}
|
|
17586
|
-
function typeCheckConfig$
|
|
17604
|
+
function typeCheckConfig$Y(untrustedConfig) {
|
|
17587
17605
|
const config = {};
|
|
17588
|
-
typeCheckConfig$
|
|
17606
|
+
typeCheckConfig$1a(untrustedConfig, config, getQuickActionInfo_ConfigPropertyMetadata);
|
|
17589
17607
|
return config;
|
|
17590
17608
|
}
|
|
17591
|
-
function validateAdapterConfig
|
|
17609
|
+
function validateAdapterConfig$$(untrustedConfig, configPropertyNames) {
|
|
17592
17610
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
17593
17611
|
return null;
|
|
17594
17612
|
}
|
|
@@ -17596,7 +17614,7 @@ function validateAdapterConfig$11(untrustedConfig, configPropertyNames) {
|
|
|
17596
17614
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
17597
17615
|
}
|
|
17598
17616
|
const coercedConfig = coerceConfig$1(untrustedConfig, getQuickActionInfo_ConfigPropertyMetadata);
|
|
17599
|
-
const config = typeCheckConfig$
|
|
17617
|
+
const config = typeCheckConfig$Y(coercedConfig);
|
|
17600
17618
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
17601
17619
|
return null;
|
|
17602
17620
|
}
|
|
@@ -17622,7 +17640,7 @@ function onFetchResponseError$H(luvio, config, resourceParams, response) {
|
|
|
17622
17640
|
}
|
|
17623
17641
|
function buildNetworkSnapshot$Z(luvio, config, options) {
|
|
17624
17642
|
const resourceParams = createResourceParams$U(config);
|
|
17625
|
-
const request = createResourceRequest
|
|
17643
|
+
const request = createResourceRequest$$(resourceParams);
|
|
17626
17644
|
return luvio.dispatchResourceRequest(request, options)
|
|
17627
17645
|
.then((response) => {
|
|
17628
17646
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$G(luvio, config, resourceParams, response), () => {
|
|
@@ -17651,7 +17669,7 @@ function buildCachedSnapshotCachePolicy$K(context, storeLookup) {
|
|
|
17651
17669
|
return cacheSnapshot;
|
|
17652
17670
|
}
|
|
17653
17671
|
const getQuickActionInfoAdapterFactory = (luvio) => function UiApi__getQuickActionInfo(untrustedConfig, requestContext) {
|
|
17654
|
-
const config = validateAdapterConfig
|
|
17672
|
+
const config = validateAdapterConfig$$(untrustedConfig, getQuickActionInfo_ConfigPropertyNames);
|
|
17655
17673
|
// Invalid or incomplete config
|
|
17656
17674
|
if (config === null) {
|
|
17657
17675
|
return null;
|
|
@@ -17769,7 +17787,7 @@ function ingestError$D(luvio, params, error, snapshotRefresh) {
|
|
|
17769
17787
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
17770
17788
|
return errorSnapshot;
|
|
17771
17789
|
}
|
|
17772
|
-
function createResourceRequest$
|
|
17790
|
+
function createResourceRequest$_(config) {
|
|
17773
17791
|
const headers = {};
|
|
17774
17792
|
return {
|
|
17775
17793
|
baseUri: '/services/data/v63.0',
|
|
@@ -17789,7 +17807,7 @@ function adapterFragment$C(luvio, config) {
|
|
|
17789
17807
|
}
|
|
17790
17808
|
function buildNetworkSnapshot$Y(luvio, config, options) {
|
|
17791
17809
|
const resourceParams = createResourceParams$T(config);
|
|
17792
|
-
const request = createResourceRequest$
|
|
17810
|
+
const request = createResourceRequest$_(resourceParams);
|
|
17793
17811
|
const key = keyBuilder$2T(luvio, config);
|
|
17794
17812
|
const trackedFieldsConfig = {
|
|
17795
17813
|
maxDepth: configurationForRestAdapters.getTrackedFieldDepthOnCacheMiss(),
|
|
@@ -17825,24 +17843,24 @@ function buildNetworkSnapshot$Y(luvio, config, options) {
|
|
|
17825
17843
|
});
|
|
17826
17844
|
}
|
|
17827
17845
|
|
|
17828
|
-
const adapterName$
|
|
17846
|
+
const adapterName$O = 'getQuickActionDefaults';
|
|
17829
17847
|
const getQuickActionDefaults_ConfigPropertyMetadata = [
|
|
17830
17848
|
generateParamConfigMetadata('actionApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
|
|
17831
17849
|
generateParamConfigMetadata('optionalFields', false, 1 /* QueryParameter */, 0 /* String */, true, getFieldApiNamesArray),
|
|
17832
17850
|
generateParamConfigMetadata('parentRecordId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
17833
17851
|
];
|
|
17834
|
-
const getQuickActionDefaults_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
17852
|
+
const getQuickActionDefaults_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$O, getQuickActionDefaults_ConfigPropertyMetadata);
|
|
17835
17853
|
const createResourceParams$T = /*#__PURE__*/ createResourceParams$16(getQuickActionDefaults_ConfigPropertyMetadata);
|
|
17836
17854
|
function keyBuilder$2T(luvio, config) {
|
|
17837
17855
|
const resourceParams = createResourceParams$T(config);
|
|
17838
17856
|
return keyBuilder$2U(luvio, resourceParams);
|
|
17839
17857
|
}
|
|
17840
|
-
function typeCheckConfig$
|
|
17858
|
+
function typeCheckConfig$X(untrustedConfig) {
|
|
17841
17859
|
const config = {};
|
|
17842
|
-
typeCheckConfig$
|
|
17860
|
+
typeCheckConfig$1a(untrustedConfig, config, getQuickActionDefaults_ConfigPropertyMetadata);
|
|
17843
17861
|
return config;
|
|
17844
17862
|
}
|
|
17845
|
-
function validateAdapterConfig$
|
|
17863
|
+
function validateAdapterConfig$_(untrustedConfig, configPropertyNames) {
|
|
17846
17864
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
17847
17865
|
return null;
|
|
17848
17866
|
}
|
|
@@ -17850,7 +17868,7 @@ function validateAdapterConfig$10(untrustedConfig, configPropertyNames) {
|
|
|
17850
17868
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
17851
17869
|
}
|
|
17852
17870
|
const coercedConfig = coerceConfig$1(untrustedConfig, getQuickActionDefaults_ConfigPropertyMetadata);
|
|
17853
|
-
const config = typeCheckConfig$
|
|
17871
|
+
const config = typeCheckConfig$X(coercedConfig);
|
|
17854
17872
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
17855
17873
|
return null;
|
|
17856
17874
|
}
|
|
@@ -17891,7 +17909,7 @@ function buildCachedSnapshotCachePolicy$J(context, storeLookup) {
|
|
|
17891
17909
|
return cacheSnapshot;
|
|
17892
17910
|
}
|
|
17893
17911
|
const getQuickActionDefaultsAdapterFactory = (luvio) => function UiApi__getQuickActionDefaults(untrustedConfig, requestContext) {
|
|
17894
|
-
const config = validateAdapterConfig$
|
|
17912
|
+
const config = validateAdapterConfig$_(untrustedConfig, getQuickActionDefaults_ConfigPropertyNames);
|
|
17895
17913
|
// Invalid or incomplete config
|
|
17896
17914
|
if (config === null) {
|
|
17897
17915
|
return null;
|
|
@@ -17938,7 +17956,7 @@ function ingestError$C(luvio, params, error, snapshotRefresh) {
|
|
|
17938
17956
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
17939
17957
|
return errorSnapshot;
|
|
17940
17958
|
}
|
|
17941
|
-
function createResourceRequest$
|
|
17959
|
+
function createResourceRequest$Z(config) {
|
|
17942
17960
|
const headers = {};
|
|
17943
17961
|
return {
|
|
17944
17962
|
baseUri: '/services/data/v63.0',
|
|
@@ -17952,7 +17970,7 @@ function createResourceRequest$Y(config) {
|
|
|
17952
17970
|
};
|
|
17953
17971
|
}
|
|
17954
17972
|
|
|
17955
|
-
const adapterName$
|
|
17973
|
+
const adapterName$N = 'getRecordActions';
|
|
17956
17974
|
const oneOfConfigPropertiesIdentifier = [
|
|
17957
17975
|
'sections',
|
|
17958
17976
|
'apiNames'
|
|
@@ -17965,18 +17983,18 @@ const getRecordActions_ConfigPropertyMetadata = [
|
|
|
17965
17983
|
generateParamConfigMetadata('retrievalMode', false, 1 /* QueryParameter */, 0 /* String */),
|
|
17966
17984
|
generateParamConfigMetadata('sections', false, 1 /* QueryParameter */, 0 /* String */, true, toSortedStringArray),
|
|
17967
17985
|
];
|
|
17968
|
-
const getRecordActions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
17986
|
+
const getRecordActions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$N, getRecordActions_ConfigPropertyMetadata);
|
|
17969
17987
|
const createResourceParams$S = /*#__PURE__*/ createResourceParams$16(getRecordActions_ConfigPropertyMetadata);
|
|
17970
17988
|
function keyBuilder$2R(luvio, config) {
|
|
17971
17989
|
const resourceParams = createResourceParams$S(config);
|
|
17972
17990
|
return keyBuilder$2S(luvio, resourceParams);
|
|
17973
17991
|
}
|
|
17974
|
-
function typeCheckConfig$
|
|
17992
|
+
function typeCheckConfig$W(untrustedConfig) {
|
|
17975
17993
|
const config = {};
|
|
17976
|
-
typeCheckConfig$
|
|
17994
|
+
typeCheckConfig$1a(untrustedConfig, config, getRecordActions_ConfigPropertyMetadata);
|
|
17977
17995
|
return config;
|
|
17978
17996
|
}
|
|
17979
|
-
function validateAdapterConfig
|
|
17997
|
+
function validateAdapterConfig$Z(untrustedConfig, configPropertyNames) {
|
|
17980
17998
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
17981
17999
|
return null;
|
|
17982
18000
|
}
|
|
@@ -17984,7 +18002,7 @@ function validateAdapterConfig$$(untrustedConfig, configPropertyNames) {
|
|
|
17984
18002
|
validateConfig(untrustedConfig, configPropertyNames, oneOfConfigPropertiesIdentifier);
|
|
17985
18003
|
}
|
|
17986
18004
|
const coercedConfig = coerceConfig$1(untrustedConfig, getRecordActions_ConfigPropertyMetadata);
|
|
17987
|
-
const config = typeCheckConfig$
|
|
18005
|
+
const config = typeCheckConfig$W(coercedConfig);
|
|
17988
18006
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
17989
18007
|
return null;
|
|
17990
18008
|
}
|
|
@@ -18014,7 +18032,7 @@ function onFetchResponseError$F(luvio, config, resourceParams, response) {
|
|
|
18014
18032
|
}
|
|
18015
18033
|
function buildNetworkSnapshot$X(luvio, config, options) {
|
|
18016
18034
|
const resourceParams = createResourceParams$S(config);
|
|
18017
|
-
const request = createResourceRequest$
|
|
18035
|
+
const request = createResourceRequest$Z(resourceParams);
|
|
18018
18036
|
return luvio.dispatchResourceRequest(request, options)
|
|
18019
18037
|
.then((response) => {
|
|
18020
18038
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$F(luvio, config, resourceParams, response), () => {
|
|
@@ -18043,7 +18061,7 @@ function buildCachedSnapshotCachePolicy$I(context, storeLookup) {
|
|
|
18043
18061
|
return cacheSnapshot;
|
|
18044
18062
|
}
|
|
18045
18063
|
const getRecordActionsAdapterFactory = (luvio) => function UiApi__getRecordActions(untrustedConfig, requestContext) {
|
|
18046
|
-
const config = validateAdapterConfig
|
|
18064
|
+
const config = validateAdapterConfig$Z(untrustedConfig, getRecordActions_ConfigPropertyNames);
|
|
18047
18065
|
// Invalid or incomplete config
|
|
18048
18066
|
if (config === null) {
|
|
18049
18067
|
return null;
|
|
@@ -18090,7 +18108,7 @@ function ingestError$B(luvio, params, error, snapshotRefresh) {
|
|
|
18090
18108
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
18091
18109
|
return errorSnapshot;
|
|
18092
18110
|
}
|
|
18093
|
-
function createResourceRequest$
|
|
18111
|
+
function createResourceRequest$Y(config) {
|
|
18094
18112
|
const headers = {};
|
|
18095
18113
|
return {
|
|
18096
18114
|
baseUri: '/services/data/v63.0',
|
|
@@ -18104,25 +18122,25 @@ function createResourceRequest$X(config) {
|
|
|
18104
18122
|
};
|
|
18105
18123
|
}
|
|
18106
18124
|
|
|
18107
|
-
const adapterName$
|
|
18125
|
+
const adapterName$M = 'getRecordEditActions';
|
|
18108
18126
|
const getRecordEditActions_ConfigPropertyMetadata = [
|
|
18109
18127
|
generateParamConfigMetadata('recordIds', true, 0 /* UrlParameter */, 0 /* String */, true, getRecordId18Array),
|
|
18110
18128
|
generateParamConfigMetadata('actionTypes', false, 1 /* QueryParameter */, 0 /* String */, true),
|
|
18111
18129
|
generateParamConfigMetadata('formFactor', false, 1 /* QueryParameter */, 0 /* String */, false, coerceFormFactor),
|
|
18112
18130
|
generateParamConfigMetadata('sections', false, 1 /* QueryParameter */, 0 /* String */, true, toSortedStringArray),
|
|
18113
18131
|
];
|
|
18114
|
-
const getRecordEditActions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
18132
|
+
const getRecordEditActions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$M, getRecordEditActions_ConfigPropertyMetadata);
|
|
18115
18133
|
const createResourceParams$R = /*#__PURE__*/ createResourceParams$16(getRecordEditActions_ConfigPropertyMetadata);
|
|
18116
18134
|
function keyBuilder$2P(luvio, config) {
|
|
18117
18135
|
const resourceParams = createResourceParams$R(config);
|
|
18118
18136
|
return keyBuilder$2Q(luvio, resourceParams);
|
|
18119
18137
|
}
|
|
18120
|
-
function typeCheckConfig$
|
|
18138
|
+
function typeCheckConfig$V(untrustedConfig) {
|
|
18121
18139
|
const config = {};
|
|
18122
|
-
typeCheckConfig$
|
|
18140
|
+
typeCheckConfig$1a(untrustedConfig, config, getRecordEditActions_ConfigPropertyMetadata);
|
|
18123
18141
|
return config;
|
|
18124
18142
|
}
|
|
18125
|
-
function validateAdapterConfig$
|
|
18143
|
+
function validateAdapterConfig$Y(untrustedConfig, configPropertyNames) {
|
|
18126
18144
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
18127
18145
|
return null;
|
|
18128
18146
|
}
|
|
@@ -18130,7 +18148,7 @@ function validateAdapterConfig$_(untrustedConfig, configPropertyNames) {
|
|
|
18130
18148
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
18131
18149
|
}
|
|
18132
18150
|
const coercedConfig = coerceConfig$1(untrustedConfig, getRecordEditActions_ConfigPropertyMetadata);
|
|
18133
|
-
const config = typeCheckConfig$
|
|
18151
|
+
const config = typeCheckConfig$V(coercedConfig);
|
|
18134
18152
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
18135
18153
|
return null;
|
|
18136
18154
|
}
|
|
@@ -18156,7 +18174,7 @@ function onFetchResponseError$E(luvio, config, resourceParams, response) {
|
|
|
18156
18174
|
}
|
|
18157
18175
|
function buildNetworkSnapshot$W(luvio, config, options) {
|
|
18158
18176
|
const resourceParams = createResourceParams$R(config);
|
|
18159
|
-
const request = createResourceRequest$
|
|
18177
|
+
const request = createResourceRequest$Y(resourceParams);
|
|
18160
18178
|
return luvio.dispatchResourceRequest(request, options)
|
|
18161
18179
|
.then((response) => {
|
|
18162
18180
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$E(luvio, config, resourceParams, response), () => {
|
|
@@ -18185,7 +18203,7 @@ function buildCachedSnapshotCachePolicy$H(context, storeLookup) {
|
|
|
18185
18203
|
return cacheSnapshot;
|
|
18186
18204
|
}
|
|
18187
18205
|
const getRecordEditActionsAdapterFactory = (luvio) => function UiApi__getRecordEditActions(untrustedConfig, requestContext) {
|
|
18188
|
-
const config = validateAdapterConfig$
|
|
18206
|
+
const config = validateAdapterConfig$Y(untrustedConfig, getRecordEditActions_ConfigPropertyNames);
|
|
18189
18207
|
// Invalid or incomplete config
|
|
18190
18208
|
if (config === null) {
|
|
18191
18209
|
return null;
|
|
@@ -18302,7 +18320,7 @@ function ingestError$A(luvio, params, error, snapshotRefresh) {
|
|
|
18302
18320
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
18303
18321
|
return errorSnapshot;
|
|
18304
18322
|
}
|
|
18305
|
-
function createResourceRequest$
|
|
18323
|
+
function createResourceRequest$X(config) {
|
|
18306
18324
|
const headers = {};
|
|
18307
18325
|
return {
|
|
18308
18326
|
baseUri: '/services/data/v63.0',
|
|
@@ -18587,7 +18605,7 @@ function ingestError$z(luvio, params, error, snapshotRefresh) {
|
|
|
18587
18605
|
luvio.storeIngestError(key, errorSnapshot);
|
|
18588
18606
|
return errorSnapshot;
|
|
18589
18607
|
}
|
|
18590
|
-
function createResourceRequest$
|
|
18608
|
+
function createResourceRequest$W(config) {
|
|
18591
18609
|
const headers = {};
|
|
18592
18610
|
return {
|
|
18593
18611
|
baseUri: '/services/data/v63.0',
|
|
@@ -18601,20 +18619,20 @@ function createResourceRequest$V(config) {
|
|
|
18601
18619
|
};
|
|
18602
18620
|
}
|
|
18603
18621
|
|
|
18604
|
-
const adapterName$
|
|
18622
|
+
const adapterName$L = 'getRelatedListsActions';
|
|
18605
18623
|
const getRelatedListsActions_ConfigPropertyMetadata = [
|
|
18606
18624
|
generateParamConfigMetadata('recordIds', true, 0 /* UrlParameter */, 0 /* String */, true, getRecordId18Array),
|
|
18607
18625
|
generateParamConfigMetadata('relatedListsActionParameters', true, 2 /* Body */, 4 /* Unsupported */, true),
|
|
18608
18626
|
];
|
|
18609
|
-
const getRelatedListsActions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
18627
|
+
const getRelatedListsActions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$L, getRelatedListsActions_ConfigPropertyMetadata);
|
|
18610
18628
|
const createResourceParams$Q = /*#__PURE__*/ createResourceParams$16(getRelatedListsActions_ConfigPropertyMetadata);
|
|
18611
18629
|
function keyBuilder$2M(luvio, config) {
|
|
18612
18630
|
const resourceParams = createResourceParams$Q(config);
|
|
18613
18631
|
return keyBuilder$2N(luvio, resourceParams);
|
|
18614
18632
|
}
|
|
18615
|
-
function typeCheckConfig$
|
|
18633
|
+
function typeCheckConfig$U(untrustedConfig) {
|
|
18616
18634
|
const config = {};
|
|
18617
|
-
typeCheckConfig$
|
|
18635
|
+
typeCheckConfig$1a(untrustedConfig, config, getRelatedListsActions_ConfigPropertyMetadata);
|
|
18618
18636
|
const untrustedConfig_relatedListsActionParameters = untrustedConfig.relatedListsActionParameters;
|
|
18619
18637
|
if (ArrayIsArray$1(untrustedConfig_relatedListsActionParameters)) {
|
|
18620
18638
|
const untrustedConfig_relatedListsActionParameters_array = [];
|
|
@@ -18629,7 +18647,7 @@ function typeCheckConfig$W(untrustedConfig) {
|
|
|
18629
18647
|
}
|
|
18630
18648
|
return config;
|
|
18631
18649
|
}
|
|
18632
|
-
function validateAdapterConfig$
|
|
18650
|
+
function validateAdapterConfig$X(untrustedConfig, configPropertyNames) {
|
|
18633
18651
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
18634
18652
|
return null;
|
|
18635
18653
|
}
|
|
@@ -18637,7 +18655,7 @@ function validateAdapterConfig$Z(untrustedConfig, configPropertyNames) {
|
|
|
18637
18655
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
18638
18656
|
}
|
|
18639
18657
|
const coercedConfig = coerceConfig$1(untrustedConfig, getRelatedListsActions_ConfigPropertyMetadata);
|
|
18640
|
-
const config = typeCheckConfig$
|
|
18658
|
+
const config = typeCheckConfig$U(coercedConfig);
|
|
18641
18659
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
18642
18660
|
return null;
|
|
18643
18661
|
}
|
|
@@ -18663,7 +18681,7 @@ function onFetchResponseError$D(luvio, config, resourceParams, response) {
|
|
|
18663
18681
|
}
|
|
18664
18682
|
function buildNetworkSnapshot$V(luvio, config, options) {
|
|
18665
18683
|
const resourceParams = createResourceParams$Q(config);
|
|
18666
|
-
const request = createResourceRequest$
|
|
18684
|
+
const request = createResourceRequest$W(resourceParams);
|
|
18667
18685
|
return luvio.dispatchResourceRequest(request, options)
|
|
18668
18686
|
.then((response) => {
|
|
18669
18687
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$D(luvio, config, resourceParams, response), () => {
|
|
@@ -18692,7 +18710,7 @@ function buildCachedSnapshotCachePolicy$G(context, storeLookup) {
|
|
|
18692
18710
|
return cacheSnapshot;
|
|
18693
18711
|
}
|
|
18694
18712
|
const getRelatedListsActionsAdapterFactory = (luvio) => function UiApi__getRelatedListsActions(untrustedConfig, requestContext) {
|
|
18695
|
-
const config = validateAdapterConfig$
|
|
18713
|
+
const config = validateAdapterConfig$X(untrustedConfig, getRelatedListsActions_ConfigPropertyNames);
|
|
18696
18714
|
// Invalid or incomplete config
|
|
18697
18715
|
if (config === null) {
|
|
18698
18716
|
return null;
|
|
@@ -18701,7 +18719,7 @@ const getRelatedListsActionsAdapterFactory = (luvio) => function UiApi__getRelat
|
|
|
18701
18719
|
buildCachedSnapshotCachePolicy$G, buildNetworkSnapshotCachePolicy$H);
|
|
18702
18720
|
};
|
|
18703
18721
|
|
|
18704
|
-
const adapterName$
|
|
18722
|
+
const adapterName$K = 'getRelatedListActions';
|
|
18705
18723
|
const getRelatedListActions_ConfigPropertyMetadata = [
|
|
18706
18724
|
generateParamConfigMetadata('recordIds', true, 0 /* UrlParameter */, 0 /* String */, true, getRecordId18Array),
|
|
18707
18725
|
generateParamConfigMetadata('relatedListId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
@@ -18711,18 +18729,18 @@ const getRelatedListActions_ConfigPropertyMetadata = [
|
|
|
18711
18729
|
generateParamConfigMetadata('retrievalMode', false, 2 /* Body */, 0 /* String */),
|
|
18712
18730
|
generateParamConfigMetadata('sections', false, 2 /* Body */, 0 /* String */, true, toSortedStringArray),
|
|
18713
18731
|
];
|
|
18714
|
-
const getRelatedListActions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
18732
|
+
const getRelatedListActions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$K, getRelatedListActions_ConfigPropertyMetadata);
|
|
18715
18733
|
const createResourceParams$P = /*#__PURE__*/ createResourceParams$16(getRelatedListActions_ConfigPropertyMetadata);
|
|
18716
18734
|
function keyBuilder$2L(luvio, config) {
|
|
18717
18735
|
const resourceParams = createResourceParams$P(config);
|
|
18718
18736
|
return keyBuilder$2O(luvio, resourceParams);
|
|
18719
18737
|
}
|
|
18720
|
-
function typeCheckConfig$
|
|
18738
|
+
function typeCheckConfig$T(untrustedConfig) {
|
|
18721
18739
|
const config = {};
|
|
18722
|
-
typeCheckConfig$
|
|
18740
|
+
typeCheckConfig$1a(untrustedConfig, config, getRelatedListActions_ConfigPropertyMetadata);
|
|
18723
18741
|
return config;
|
|
18724
18742
|
}
|
|
18725
|
-
function validateAdapterConfig$
|
|
18743
|
+
function validateAdapterConfig$W(untrustedConfig, configPropertyNames) {
|
|
18726
18744
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
18727
18745
|
return null;
|
|
18728
18746
|
}
|
|
@@ -18730,7 +18748,7 @@ function validateAdapterConfig$Y(untrustedConfig, configPropertyNames) {
|
|
|
18730
18748
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
18731
18749
|
}
|
|
18732
18750
|
const coercedConfig = coerceConfig$1(untrustedConfig, getRelatedListActions_ConfigPropertyMetadata);
|
|
18733
|
-
const config = typeCheckConfig$
|
|
18751
|
+
const config = typeCheckConfig$T(coercedConfig);
|
|
18734
18752
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
18735
18753
|
return null;
|
|
18736
18754
|
}
|
|
@@ -18756,7 +18774,7 @@ function onFetchResponseError$C(luvio, config, resourceParams, response) {
|
|
|
18756
18774
|
}
|
|
18757
18775
|
function buildNetworkSnapshot$U(luvio, config, options) {
|
|
18758
18776
|
const resourceParams = createResourceParams$P(config);
|
|
18759
|
-
const request = createResourceRequest$
|
|
18777
|
+
const request = createResourceRequest$X(resourceParams);
|
|
18760
18778
|
return luvio.dispatchResourceRequest(request, options)
|
|
18761
18779
|
.then((response) => {
|
|
18762
18780
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$C(luvio, config, resourceParams, response), () => {
|
|
@@ -18785,7 +18803,7 @@ function buildCachedSnapshotCachePolicy$F(context, storeLookup) {
|
|
|
18785
18803
|
return cacheSnapshot;
|
|
18786
18804
|
}
|
|
18787
18805
|
const getRelatedListActionsAdapterFactory = (luvio) => function UiApi__getRelatedListActions(untrustedConfig, requestContext) {
|
|
18788
|
-
const config = validateAdapterConfig$
|
|
18806
|
+
const config = validateAdapterConfig$W(untrustedConfig, getRelatedListActions_ConfigPropertyNames);
|
|
18789
18807
|
// Invalid or incomplete config
|
|
18790
18808
|
if (config === null) {
|
|
18791
18809
|
return null;
|
|
@@ -18832,7 +18850,7 @@ function ingestError$y(luvio, params, error, snapshotRefresh) {
|
|
|
18832
18850
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
18833
18851
|
return errorSnapshot;
|
|
18834
18852
|
}
|
|
18835
|
-
function createResourceRequest$
|
|
18853
|
+
function createResourceRequest$V(config) {
|
|
18836
18854
|
const headers = {};
|
|
18837
18855
|
return {
|
|
18838
18856
|
baseUri: '/services/data/v63.0',
|
|
@@ -18846,7 +18864,7 @@ function createResourceRequest$U(config) {
|
|
|
18846
18864
|
};
|
|
18847
18865
|
}
|
|
18848
18866
|
|
|
18849
|
-
const adapterName$
|
|
18867
|
+
const adapterName$J = 'getRelatedListRecordActions';
|
|
18850
18868
|
const getRelatedListRecordActions_ConfigPropertyMetadata = [
|
|
18851
18869
|
generateParamConfigMetadata('recordIds', true, 0 /* UrlParameter */, 0 /* String */, true, getRecordId18Array),
|
|
18852
18870
|
generateParamConfigMetadata('relatedListRecordIds', true, 0 /* UrlParameter */, 0 /* String */, true, getRecordId18Array),
|
|
@@ -18854,18 +18872,18 @@ const getRelatedListRecordActions_ConfigPropertyMetadata = [
|
|
|
18854
18872
|
generateParamConfigMetadata('formFactor', false, 1 /* QueryParameter */, 0 /* String */, false, coerceFormFactor),
|
|
18855
18873
|
generateParamConfigMetadata('sections', false, 1 /* QueryParameter */, 0 /* String */, true, toSortedStringArray),
|
|
18856
18874
|
];
|
|
18857
|
-
const getRelatedListRecordActions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
18875
|
+
const getRelatedListRecordActions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$J, getRelatedListRecordActions_ConfigPropertyMetadata);
|
|
18858
18876
|
const createResourceParams$O = /*#__PURE__*/ createResourceParams$16(getRelatedListRecordActions_ConfigPropertyMetadata);
|
|
18859
18877
|
function keyBuilder$2J(luvio, config) {
|
|
18860
18878
|
const resourceParams = createResourceParams$O(config);
|
|
18861
18879
|
return keyBuilder$2K(luvio, resourceParams);
|
|
18862
18880
|
}
|
|
18863
|
-
function typeCheckConfig$
|
|
18881
|
+
function typeCheckConfig$S(untrustedConfig) {
|
|
18864
18882
|
const config = {};
|
|
18865
|
-
typeCheckConfig$
|
|
18883
|
+
typeCheckConfig$1a(untrustedConfig, config, getRelatedListRecordActions_ConfigPropertyMetadata);
|
|
18866
18884
|
return config;
|
|
18867
18885
|
}
|
|
18868
|
-
function validateAdapterConfig$
|
|
18886
|
+
function validateAdapterConfig$V(untrustedConfig, configPropertyNames) {
|
|
18869
18887
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
18870
18888
|
return null;
|
|
18871
18889
|
}
|
|
@@ -18873,7 +18891,7 @@ function validateAdapterConfig$X(untrustedConfig, configPropertyNames) {
|
|
|
18873
18891
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
18874
18892
|
}
|
|
18875
18893
|
const coercedConfig = coerceConfig$1(untrustedConfig, getRelatedListRecordActions_ConfigPropertyMetadata);
|
|
18876
|
-
const config = typeCheckConfig$
|
|
18894
|
+
const config = typeCheckConfig$S(coercedConfig);
|
|
18877
18895
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
18878
18896
|
return null;
|
|
18879
18897
|
}
|
|
@@ -18899,7 +18917,7 @@ function onFetchResponseError$B(luvio, config, resourceParams, response) {
|
|
|
18899
18917
|
}
|
|
18900
18918
|
function buildNetworkSnapshot$T(luvio, config, options) {
|
|
18901
18919
|
const resourceParams = createResourceParams$O(config);
|
|
18902
|
-
const request = createResourceRequest$
|
|
18920
|
+
const request = createResourceRequest$V(resourceParams);
|
|
18903
18921
|
return luvio.dispatchResourceRequest(request, options)
|
|
18904
18922
|
.then((response) => {
|
|
18905
18923
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$B(luvio, config, resourceParams, response), () => {
|
|
@@ -18928,7 +18946,7 @@ function buildCachedSnapshotCachePolicy$E(context, storeLookup) {
|
|
|
18928
18946
|
return cacheSnapshot;
|
|
18929
18947
|
}
|
|
18930
18948
|
const getRelatedListRecordActionsAdapterFactory = (luvio) => function UiApi__getRelatedListRecordActions(untrustedConfig, requestContext) {
|
|
18931
|
-
const config = validateAdapterConfig$
|
|
18949
|
+
const config = validateAdapterConfig$V(untrustedConfig, getRelatedListRecordActions_ConfigPropertyNames);
|
|
18932
18950
|
// Invalid or incomplete config
|
|
18933
18951
|
if (config === null) {
|
|
18934
18952
|
return null;
|
|
@@ -20089,7 +20107,7 @@ function ingestError$x(luvio, params, error, snapshotRefresh) {
|
|
|
20089
20107
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
20090
20108
|
return errorSnapshot;
|
|
20091
20109
|
}
|
|
20092
|
-
function createResourceRequest$
|
|
20110
|
+
function createResourceRequest$U(config) {
|
|
20093
20111
|
const headers = {};
|
|
20094
20112
|
return {
|
|
20095
20113
|
baseUri: '/services/data/v63.0',
|
|
@@ -20103,23 +20121,23 @@ function createResourceRequest$T(config) {
|
|
|
20103
20121
|
};
|
|
20104
20122
|
}
|
|
20105
20123
|
|
|
20106
|
-
const adapterName$
|
|
20124
|
+
const adapterName$I = 'getAllApps';
|
|
20107
20125
|
const getAllApps_ConfigPropertyMetadata = [
|
|
20108
20126
|
generateParamConfigMetadata('formFactor', false, 1 /* QueryParameter */, 0 /* String */, false, coerceFormFactor),
|
|
20109
20127
|
generateParamConfigMetadata('userCustomizations', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
20110
20128
|
];
|
|
20111
|
-
const getAllApps_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
20129
|
+
const getAllApps_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$I, getAllApps_ConfigPropertyMetadata);
|
|
20112
20130
|
const createResourceParams$N = /*#__PURE__*/ createResourceParams$16(getAllApps_ConfigPropertyMetadata);
|
|
20113
20131
|
function keyBuilder$2F(luvio, config) {
|
|
20114
20132
|
const resourceParams = createResourceParams$N(config);
|
|
20115
20133
|
return keyBuilder$2G(luvio, resourceParams);
|
|
20116
20134
|
}
|
|
20117
|
-
function typeCheckConfig$
|
|
20135
|
+
function typeCheckConfig$R(untrustedConfig) {
|
|
20118
20136
|
const config = {};
|
|
20119
|
-
typeCheckConfig$
|
|
20137
|
+
typeCheckConfig$1a(untrustedConfig, config, getAllApps_ConfigPropertyMetadata);
|
|
20120
20138
|
return config;
|
|
20121
20139
|
}
|
|
20122
|
-
function validateAdapterConfig$
|
|
20140
|
+
function validateAdapterConfig$U(untrustedConfig, configPropertyNames) {
|
|
20123
20141
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
20124
20142
|
return null;
|
|
20125
20143
|
}
|
|
@@ -20127,7 +20145,7 @@ function validateAdapterConfig$W(untrustedConfig, configPropertyNames) {
|
|
|
20127
20145
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
20128
20146
|
}
|
|
20129
20147
|
const coercedConfig = coerceConfig$1(untrustedConfig, getAllApps_ConfigPropertyMetadata);
|
|
20130
|
-
const config = typeCheckConfig$
|
|
20148
|
+
const config = typeCheckConfig$R(coercedConfig);
|
|
20131
20149
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
20132
20150
|
return null;
|
|
20133
20151
|
}
|
|
@@ -20153,7 +20171,7 @@ function onFetchResponseError$A(luvio, config, resourceParams, response) {
|
|
|
20153
20171
|
}
|
|
20154
20172
|
function buildNetworkSnapshot$S(luvio, config, options) {
|
|
20155
20173
|
const resourceParams = createResourceParams$N(config);
|
|
20156
|
-
const request = createResourceRequest$
|
|
20174
|
+
const request = createResourceRequest$U(resourceParams);
|
|
20157
20175
|
return luvio.dispatchResourceRequest(request, options)
|
|
20158
20176
|
.then((response) => {
|
|
20159
20177
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$A(luvio, config, resourceParams, response), () => {
|
|
@@ -20182,7 +20200,7 @@ function buildCachedSnapshotCachePolicy$D(context, storeLookup) {
|
|
|
20182
20200
|
return cacheSnapshot;
|
|
20183
20201
|
}
|
|
20184
20202
|
const getAllAppsAdapterFactory = (luvio) => function UiApi__getAllApps(untrustedConfig, requestContext) {
|
|
20185
|
-
const config = validateAdapterConfig$
|
|
20203
|
+
const config = validateAdapterConfig$U(untrustedConfig, getAllApps_ConfigPropertyNames);
|
|
20186
20204
|
// Invalid or incomplete config
|
|
20187
20205
|
if (config === null) {
|
|
20188
20206
|
return null;
|
|
@@ -20229,7 +20247,7 @@ function ingestError$w(luvio, params, error, snapshotRefresh) {
|
|
|
20229
20247
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
20230
20248
|
return errorSnapshot;
|
|
20231
20249
|
}
|
|
20232
|
-
function createResourceRequest$
|
|
20250
|
+
function createResourceRequest$T(config) {
|
|
20233
20251
|
const headers = {};
|
|
20234
20252
|
return {
|
|
20235
20253
|
baseUri: '/services/data/v63.0',
|
|
@@ -20243,30 +20261,30 @@ function createResourceRequest$S(config) {
|
|
|
20243
20261
|
};
|
|
20244
20262
|
}
|
|
20245
20263
|
|
|
20246
|
-
const adapterName$
|
|
20264
|
+
const adapterName$H = 'getSelectedApp';
|
|
20247
20265
|
const getSelectedApp_ConfigPropertyMetadata = [
|
|
20248
20266
|
generateParamConfigMetadata('formFactor', false, 1 /* QueryParameter */, 0 /* String */),
|
|
20249
20267
|
generateParamConfigMetadata('userCustomizations', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
20250
20268
|
];
|
|
20251
|
-
const getSelectedApp_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
20269
|
+
const getSelectedApp_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$H, getSelectedApp_ConfigPropertyMetadata);
|
|
20252
20270
|
const createResourceParams$M = /*#__PURE__*/ createResourceParams$16(getSelectedApp_ConfigPropertyMetadata);
|
|
20253
20271
|
function keyBuilder$2D(luvio, config) {
|
|
20254
20272
|
const resourceParams = createResourceParams$M(config);
|
|
20255
20273
|
return keyBuilder$2E(luvio, resourceParams);
|
|
20256
20274
|
}
|
|
20257
|
-
function typeCheckConfig$
|
|
20275
|
+
function typeCheckConfig$Q(untrustedConfig) {
|
|
20258
20276
|
const config = {};
|
|
20259
|
-
typeCheckConfig$
|
|
20277
|
+
typeCheckConfig$1a(untrustedConfig, config, getSelectedApp_ConfigPropertyMetadata);
|
|
20260
20278
|
return config;
|
|
20261
20279
|
}
|
|
20262
|
-
function validateAdapterConfig$
|
|
20280
|
+
function validateAdapterConfig$T(untrustedConfig, configPropertyNames) {
|
|
20263
20281
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
20264
20282
|
return null;
|
|
20265
20283
|
}
|
|
20266
20284
|
if (process.env.NODE_ENV !== 'production') {
|
|
20267
20285
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
20268
20286
|
}
|
|
20269
|
-
const config = typeCheckConfig$
|
|
20287
|
+
const config = typeCheckConfig$Q(untrustedConfig);
|
|
20270
20288
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
20271
20289
|
return null;
|
|
20272
20290
|
}
|
|
@@ -20292,7 +20310,7 @@ function onFetchResponseError$z(luvio, config, resourceParams, response) {
|
|
|
20292
20310
|
}
|
|
20293
20311
|
function buildNetworkSnapshot$R(luvio, config, options) {
|
|
20294
20312
|
const resourceParams = createResourceParams$M(config);
|
|
20295
|
-
const request = createResourceRequest$
|
|
20313
|
+
const request = createResourceRequest$T(resourceParams);
|
|
20296
20314
|
return luvio.dispatchResourceRequest(request, options)
|
|
20297
20315
|
.then((response) => {
|
|
20298
20316
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$z(luvio, config, resourceParams, response), () => {
|
|
@@ -20321,7 +20339,7 @@ function buildCachedSnapshotCachePolicy$C(context, storeLookup) {
|
|
|
20321
20339
|
return cacheSnapshot;
|
|
20322
20340
|
}
|
|
20323
20341
|
const getSelectedAppAdapterFactory = (luvio) => function UiApi__getSelectedApp(untrustedConfig, requestContext) {
|
|
20324
|
-
const config = validateAdapterConfig$
|
|
20342
|
+
const config = validateAdapterConfig$T(untrustedConfig, getSelectedApp_ConfigPropertyNames);
|
|
20325
20343
|
// Invalid or incomplete config
|
|
20326
20344
|
if (config === null) {
|
|
20327
20345
|
return null;
|
|
@@ -20370,7 +20388,7 @@ function ingestError$v(luvio, params, error, snapshotRefresh) {
|
|
|
20370
20388
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
20371
20389
|
return errorSnapshot;
|
|
20372
20390
|
}
|
|
20373
|
-
function createResourceRequest$
|
|
20391
|
+
function createResourceRequest$S(config) {
|
|
20374
20392
|
const headers = {};
|
|
20375
20393
|
return {
|
|
20376
20394
|
baseUri: '/services/data/v63.0',
|
|
@@ -20384,24 +20402,24 @@ function createResourceRequest$R(config) {
|
|
|
20384
20402
|
};
|
|
20385
20403
|
}
|
|
20386
20404
|
|
|
20387
|
-
const adapterName$
|
|
20405
|
+
const adapterName$G = 'getAppDetails';
|
|
20388
20406
|
const getAppDetails_ConfigPropertyMetadata = [
|
|
20389
20407
|
generateParamConfigMetadata('appId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
20390
20408
|
generateParamConfigMetadata('formFactor', false, 1 /* QueryParameter */, 0 /* String */, false, coerceFormFactor),
|
|
20391
20409
|
generateParamConfigMetadata('userCustomizations', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
20392
20410
|
];
|
|
20393
|
-
const getAppDetails_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
20411
|
+
const getAppDetails_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$G, getAppDetails_ConfigPropertyMetadata);
|
|
20394
20412
|
const createResourceParams$L = /*#__PURE__*/ createResourceParams$16(getAppDetails_ConfigPropertyMetadata);
|
|
20395
20413
|
function keyBuilder$2B(luvio, config) {
|
|
20396
20414
|
const resourceParams = createResourceParams$L(config);
|
|
20397
20415
|
return keyBuilder$2C(luvio, resourceParams);
|
|
20398
20416
|
}
|
|
20399
|
-
function typeCheckConfig$
|
|
20417
|
+
function typeCheckConfig$P(untrustedConfig) {
|
|
20400
20418
|
const config = {};
|
|
20401
|
-
typeCheckConfig$
|
|
20419
|
+
typeCheckConfig$1a(untrustedConfig, config, getAppDetails_ConfigPropertyMetadata);
|
|
20402
20420
|
return config;
|
|
20403
20421
|
}
|
|
20404
|
-
function validateAdapterConfig$
|
|
20422
|
+
function validateAdapterConfig$S(untrustedConfig, configPropertyNames) {
|
|
20405
20423
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
20406
20424
|
return null;
|
|
20407
20425
|
}
|
|
@@ -20409,7 +20427,7 @@ function validateAdapterConfig$U(untrustedConfig, configPropertyNames) {
|
|
|
20409
20427
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
20410
20428
|
}
|
|
20411
20429
|
const coercedConfig = coerceConfig$1(untrustedConfig, getAppDetails_ConfigPropertyMetadata);
|
|
20412
|
-
const config = typeCheckConfig$
|
|
20430
|
+
const config = typeCheckConfig$P(coercedConfig);
|
|
20413
20431
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
20414
20432
|
return null;
|
|
20415
20433
|
}
|
|
@@ -20435,7 +20453,7 @@ function onFetchResponseError$y(luvio, config, resourceParams, response) {
|
|
|
20435
20453
|
}
|
|
20436
20454
|
function buildNetworkSnapshot$Q(luvio, config, options) {
|
|
20437
20455
|
const resourceParams = createResourceParams$L(config);
|
|
20438
|
-
const request = createResourceRequest$
|
|
20456
|
+
const request = createResourceRequest$S(resourceParams);
|
|
20439
20457
|
return luvio.dispatchResourceRequest(request, options)
|
|
20440
20458
|
.then((response) => {
|
|
20441
20459
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$y(luvio, config, resourceParams, response), () => {
|
|
@@ -20464,7 +20482,7 @@ function buildCachedSnapshotCachePolicy$B(context, storeLookup) {
|
|
|
20464
20482
|
return cacheSnapshot;
|
|
20465
20483
|
}
|
|
20466
20484
|
const getAppDetailsAdapterFactory = (luvio) => function UiApi__getAppDetails(untrustedConfig, requestContext) {
|
|
20467
|
-
const config = validateAdapterConfig$
|
|
20485
|
+
const config = validateAdapterConfig$S(untrustedConfig, getAppDetails_ConfigPropertyNames);
|
|
20468
20486
|
// Invalid or incomplete config
|
|
20469
20487
|
if (config === null) {
|
|
20470
20488
|
return null;
|
|
@@ -20973,7 +20991,7 @@ function ingestError$u(luvio, params, error, snapshotRefresh) {
|
|
|
20973
20991
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
20974
20992
|
return errorSnapshot;
|
|
20975
20993
|
}
|
|
20976
|
-
function createResourceRequest$
|
|
20994
|
+
function createResourceRequest$R(config) {
|
|
20977
20995
|
const headers = {};
|
|
20978
20996
|
return {
|
|
20979
20997
|
baseUri: '/services/data/v63.0',
|
|
@@ -20987,30 +21005,30 @@ function createResourceRequest$Q(config) {
|
|
|
20987
21005
|
};
|
|
20988
21006
|
}
|
|
20989
21007
|
|
|
20990
|
-
const adapterName$
|
|
21008
|
+
const adapterName$F = 'getDuplicateConfiguration';
|
|
20991
21009
|
const getDuplicateConfiguration_ConfigPropertyMetadata = [
|
|
20992
21010
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
20993
21011
|
generateParamConfigMetadata('recordTypeId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
20994
21012
|
];
|
|
20995
|
-
const getDuplicateConfiguration_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
21013
|
+
const getDuplicateConfiguration_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$F, getDuplicateConfiguration_ConfigPropertyMetadata);
|
|
20996
21014
|
const createResourceParams$K = /*#__PURE__*/ createResourceParams$16(getDuplicateConfiguration_ConfigPropertyMetadata);
|
|
20997
21015
|
function keyBuilder$2z(luvio, config) {
|
|
20998
21016
|
const resourceParams = createResourceParams$K(config);
|
|
20999
21017
|
return keyBuilder$2A(luvio, resourceParams);
|
|
21000
21018
|
}
|
|
21001
|
-
function typeCheckConfig$
|
|
21019
|
+
function typeCheckConfig$O(untrustedConfig) {
|
|
21002
21020
|
const config = {};
|
|
21003
|
-
typeCheckConfig$
|
|
21021
|
+
typeCheckConfig$1a(untrustedConfig, config, getDuplicateConfiguration_ConfigPropertyMetadata);
|
|
21004
21022
|
return config;
|
|
21005
21023
|
}
|
|
21006
|
-
function validateAdapterConfig$
|
|
21024
|
+
function validateAdapterConfig$R(untrustedConfig, configPropertyNames) {
|
|
21007
21025
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
21008
21026
|
return null;
|
|
21009
21027
|
}
|
|
21010
21028
|
if (process.env.NODE_ENV !== 'production') {
|
|
21011
21029
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
21012
21030
|
}
|
|
21013
|
-
const config = typeCheckConfig$
|
|
21031
|
+
const config = typeCheckConfig$O(untrustedConfig);
|
|
21014
21032
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
21015
21033
|
return null;
|
|
21016
21034
|
}
|
|
@@ -21036,7 +21054,7 @@ function onFetchResponseError$x(luvio, config, resourceParams, response) {
|
|
|
21036
21054
|
}
|
|
21037
21055
|
function buildNetworkSnapshot$P(luvio, config, options) {
|
|
21038
21056
|
const resourceParams = createResourceParams$K(config);
|
|
21039
|
-
const request = createResourceRequest$
|
|
21057
|
+
const request = createResourceRequest$R(resourceParams);
|
|
21040
21058
|
return luvio.dispatchResourceRequest(request, options)
|
|
21041
21059
|
.then((response) => {
|
|
21042
21060
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$x(luvio, config, resourceParams, response), () => {
|
|
@@ -21065,7 +21083,7 @@ function buildCachedSnapshotCachePolicy$A(context, storeLookup) {
|
|
|
21065
21083
|
return cacheSnapshot;
|
|
21066
21084
|
}
|
|
21067
21085
|
const getDuplicateConfigurationAdapterFactory = (luvio) => function UiApi__getDuplicateConfiguration(untrustedConfig, requestContext) {
|
|
21068
|
-
const config = validateAdapterConfig$
|
|
21086
|
+
const config = validateAdapterConfig$R(untrustedConfig, getDuplicateConfiguration_ConfigPropertyNames);
|
|
21069
21087
|
// Invalid or incomplete config
|
|
21070
21088
|
if (config === null) {
|
|
21071
21089
|
return null;
|
|
@@ -21112,7 +21130,7 @@ function ingestError$t(luvio, params, error, snapshotRefresh) {
|
|
|
21112
21130
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
21113
21131
|
return errorSnapshot;
|
|
21114
21132
|
}
|
|
21115
|
-
function createResourceRequest$
|
|
21133
|
+
function createResourceRequest$Q(config) {
|
|
21116
21134
|
const headers = {};
|
|
21117
21135
|
return {
|
|
21118
21136
|
baseUri: '/services/data/v63.0',
|
|
@@ -21150,8 +21168,8 @@ const getLayout_ConfigPropertyNames = {
|
|
|
21150
21168
|
},
|
|
21151
21169
|
};
|
|
21152
21170
|
|
|
21153
|
-
function validateAdapterConfig$
|
|
21154
|
-
const config = validateAdapterConfig$
|
|
21171
|
+
function validateAdapterConfig$Q(untrustedConfig, _configPropertyNames) {
|
|
21172
|
+
const config = validateAdapterConfig$P(untrustedConfig, getLayout_ConfigPropertyNames);
|
|
21155
21173
|
if (config === null) {
|
|
21156
21174
|
return null;
|
|
21157
21175
|
}
|
|
@@ -21195,12 +21213,12 @@ const getLayout_ConfigPropertyMetadata = [
|
|
|
21195
21213
|
generateParamConfigMetadata('recordTypeId', false, 1 /* QueryParameter */, 0 /* String */, false, getRecordId18),
|
|
21196
21214
|
];
|
|
21197
21215
|
const createResourceParams$J = /*#__PURE__*/ createResourceParams$16(getLayout_ConfigPropertyMetadata);
|
|
21198
|
-
function typeCheckConfig$
|
|
21216
|
+
function typeCheckConfig$N(untrustedConfig) {
|
|
21199
21217
|
const config = {};
|
|
21200
|
-
typeCheckConfig$
|
|
21218
|
+
typeCheckConfig$1a(untrustedConfig, config, getLayout_ConfigPropertyMetadata);
|
|
21201
21219
|
return config;
|
|
21202
21220
|
}
|
|
21203
|
-
function validateAdapterConfig$
|
|
21221
|
+
function validateAdapterConfig$P(untrustedConfig, configPropertyNames) {
|
|
21204
21222
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
21205
21223
|
return null;
|
|
21206
21224
|
}
|
|
@@ -21208,7 +21226,7 @@ function validateAdapterConfig$R(untrustedConfig, configPropertyNames) {
|
|
|
21208
21226
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
21209
21227
|
}
|
|
21210
21228
|
const coercedConfig = coerceConfig$1(untrustedConfig, getLayout_ConfigPropertyMetadata);
|
|
21211
|
-
const config = typeCheckConfig$
|
|
21229
|
+
const config = typeCheckConfig$N(coercedConfig);
|
|
21212
21230
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
21213
21231
|
return null;
|
|
21214
21232
|
}
|
|
@@ -21223,7 +21241,7 @@ function onFetchResponseError$w(luvio, config, resourceParams, response) {
|
|
|
21223
21241
|
}
|
|
21224
21242
|
function buildNetworkSnapshot$O(luvio, config, options) {
|
|
21225
21243
|
const resourceParams = createResourceParams$J(config);
|
|
21226
|
-
const request = createResourceRequest$
|
|
21244
|
+
const request = createResourceRequest$Q(resourceParams);
|
|
21227
21245
|
return luvio.dispatchResourceRequest(request, options)
|
|
21228
21246
|
.then((response) => {
|
|
21229
21247
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$w(luvio, config, resourceParams, response), () => {
|
|
@@ -21239,7 +21257,7 @@ function buildNetworkSnapshotCachePolicy$A(context, coercedAdapterRequestContext
|
|
|
21239
21257
|
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$O, undefined, false);
|
|
21240
21258
|
}
|
|
21241
21259
|
const getLayoutAdapterFactory = (luvio) => function UiApi__getLayout(untrustedConfig, requestContext) {
|
|
21242
|
-
const config = validateAdapterConfig$
|
|
21260
|
+
const config = validateAdapterConfig$Q(untrustedConfig);
|
|
21243
21261
|
// Invalid or incomplete config
|
|
21244
21262
|
if (config === null) {
|
|
21245
21263
|
return null;
|
|
@@ -21251,7 +21269,7 @@ const getLayoutAdapterFactory = (luvio) => function UiApi__getLayout(untrustedCo
|
|
|
21251
21269
|
function getResponseCacheKeys$K(storeKeyMap, luvio, resourceParams, response) {
|
|
21252
21270
|
getTypeCacheKeys$26(storeKeyMap, luvio, response);
|
|
21253
21271
|
}
|
|
21254
|
-
function createResourceRequest$
|
|
21272
|
+
function createResourceRequest$P(config) {
|
|
21255
21273
|
const headers = {};
|
|
21256
21274
|
return {
|
|
21257
21275
|
baseUri: '/services/data/v63.0',
|
|
@@ -21336,12 +21354,12 @@ function prepareRequest$4(luvio, config) {
|
|
|
21336
21354
|
recordTypeId: config.recordTypeId,
|
|
21337
21355
|
},
|
|
21338
21356
|
};
|
|
21339
|
-
const request = createResourceRequest$
|
|
21357
|
+
const request = createResourceRequest$P(resourceParams);
|
|
21340
21358
|
return { resourceParams, request, key };
|
|
21341
21359
|
}
|
|
21342
21360
|
|
|
21343
|
-
function validateAdapterConfig$
|
|
21344
|
-
const config = validateAdapterConfig$
|
|
21361
|
+
function validateAdapterConfig$O(untrustedConfig, configPropertyNames) {
|
|
21362
|
+
const config = validateAdapterConfig$N(untrustedConfig, configPropertyNames);
|
|
21345
21363
|
if (config === null) {
|
|
21346
21364
|
return null;
|
|
21347
21365
|
}
|
|
@@ -21409,12 +21427,12 @@ const getLayoutUserState_ConfigPropertyMetadata = [
|
|
|
21409
21427
|
generateParamConfigMetadata('mode', false, 1 /* QueryParameter */, 0 /* String */, false, coerceLayoutMode),
|
|
21410
21428
|
generateParamConfigMetadata('recordTypeId', false, 1 /* QueryParameter */, 0 /* String */, false, getRecordId18),
|
|
21411
21429
|
];
|
|
21412
|
-
function typeCheckConfig$
|
|
21430
|
+
function typeCheckConfig$M(untrustedConfig) {
|
|
21413
21431
|
const config = {};
|
|
21414
|
-
typeCheckConfig$
|
|
21432
|
+
typeCheckConfig$1a(untrustedConfig, config, getLayoutUserState_ConfigPropertyMetadata);
|
|
21415
21433
|
return config;
|
|
21416
21434
|
}
|
|
21417
|
-
function validateAdapterConfig$
|
|
21435
|
+
function validateAdapterConfig$N(untrustedConfig, configPropertyNames) {
|
|
21418
21436
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
21419
21437
|
return null;
|
|
21420
21438
|
}
|
|
@@ -21422,7 +21440,7 @@ function validateAdapterConfig$P(untrustedConfig, configPropertyNames) {
|
|
|
21422
21440
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
21423
21441
|
}
|
|
21424
21442
|
const coercedConfig = coerceConfig$1(untrustedConfig, getLayoutUserState_ConfigPropertyMetadata);
|
|
21425
|
-
const config = typeCheckConfig$
|
|
21443
|
+
const config = typeCheckConfig$M(coercedConfig);
|
|
21426
21444
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
21427
21445
|
return null;
|
|
21428
21446
|
}
|
|
@@ -21432,7 +21450,7 @@ function buildNetworkSnapshotCachePolicy$z(context, coercedAdapterRequestContext
|
|
|
21432
21450
|
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$N, undefined, false);
|
|
21433
21451
|
}
|
|
21434
21452
|
const getLayoutUserStateAdapterFactory = (luvio) => function UiApi__getLayoutUserState(untrustedConfig, requestContext) {
|
|
21435
|
-
const config = validateAdapterConfig$
|
|
21453
|
+
const config = validateAdapterConfig$O(untrustedConfig, getLayoutUserState_ConfigPropertyNames);
|
|
21436
21454
|
// Invalid or incomplete config
|
|
21437
21455
|
if (config === null) {
|
|
21438
21456
|
return null;
|
|
@@ -21484,7 +21502,7 @@ function ingestError$s(luvio, params, error, snapshotRefresh) {
|
|
|
21484
21502
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
21485
21503
|
return errorSnapshot;
|
|
21486
21504
|
}
|
|
21487
|
-
function createResourceRequest$
|
|
21505
|
+
function createResourceRequest$O(config) {
|
|
21488
21506
|
const headers = {};
|
|
21489
21507
|
return {
|
|
21490
21508
|
baseUri: '/services/data/v63.0',
|
|
@@ -21753,7 +21771,7 @@ function ingestError$r(luvio, params, error, snapshotRefresh) {
|
|
|
21753
21771
|
luvio.storeIngestError(key, errorSnapshot);
|
|
21754
21772
|
return errorSnapshot;
|
|
21755
21773
|
}
|
|
21756
|
-
function createResourceRequest$
|
|
21774
|
+
function createResourceRequest$N(config) {
|
|
21757
21775
|
const headers = {};
|
|
21758
21776
|
return {
|
|
21759
21777
|
baseUri: '/services/data/v63.0',
|
|
@@ -21767,30 +21785,30 @@ function createResourceRequest$M(config) {
|
|
|
21767
21785
|
};
|
|
21768
21786
|
}
|
|
21769
21787
|
|
|
21770
|
-
const adapterName$
|
|
21788
|
+
const adapterName$E = 'getListInfosByName';
|
|
21771
21789
|
const getListInfosByName_ConfigPropertyMetadata = [
|
|
21772
21790
|
generateParamConfigMetadata('ids', false, 1 /* QueryParameter */, 0 /* String */, true),
|
|
21773
21791
|
generateParamConfigMetadata('names', false, 1 /* QueryParameter */, 0 /* String */, true),
|
|
21774
21792
|
];
|
|
21775
|
-
const getListInfosByName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
21793
|
+
const getListInfosByName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$E, getListInfosByName_ConfigPropertyMetadata);
|
|
21776
21794
|
const createResourceParams$I = /*#__PURE__*/ createResourceParams$16(getListInfosByName_ConfigPropertyMetadata);
|
|
21777
21795
|
function keyBuilder$2v(luvio, config) {
|
|
21778
21796
|
const resourceParams = createResourceParams$I(config);
|
|
21779
21797
|
return keyBuilder$2w(luvio, resourceParams);
|
|
21780
21798
|
}
|
|
21781
|
-
function typeCheckConfig$
|
|
21799
|
+
function typeCheckConfig$L(untrustedConfig) {
|
|
21782
21800
|
const config = {};
|
|
21783
|
-
typeCheckConfig$
|
|
21801
|
+
typeCheckConfig$1a(untrustedConfig, config, getListInfosByName_ConfigPropertyMetadata);
|
|
21784
21802
|
return config;
|
|
21785
21803
|
}
|
|
21786
|
-
function validateAdapterConfig$
|
|
21804
|
+
function validateAdapterConfig$M(untrustedConfig, configPropertyNames) {
|
|
21787
21805
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
21788
21806
|
return null;
|
|
21789
21807
|
}
|
|
21790
21808
|
if (process.env.NODE_ENV !== 'production') {
|
|
21791
21809
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
21792
21810
|
}
|
|
21793
|
-
const config = typeCheckConfig$
|
|
21811
|
+
const config = typeCheckConfig$L(untrustedConfig);
|
|
21794
21812
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
21795
21813
|
return null;
|
|
21796
21814
|
}
|
|
@@ -21816,7 +21834,7 @@ function onFetchResponseError$u(luvio, config, resourceParams, response) {
|
|
|
21816
21834
|
}
|
|
21817
21835
|
function buildNetworkSnapshot$M(luvio, config, options) {
|
|
21818
21836
|
const resourceParams = createResourceParams$I(config);
|
|
21819
|
-
const request = createResourceRequest$
|
|
21837
|
+
const request = createResourceRequest$N(resourceParams);
|
|
21820
21838
|
return luvio.dispatchResourceRequest(request, options)
|
|
21821
21839
|
.then((response) => {
|
|
21822
21840
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$u(luvio, config, resourceParams, response), () => {
|
|
@@ -21845,7 +21863,7 @@ function buildCachedSnapshotCachePolicy$x(context, storeLookup) {
|
|
|
21845
21863
|
return cacheSnapshot;
|
|
21846
21864
|
}
|
|
21847
21865
|
const getListInfosByNameAdapterFactory = (luvio) => function UiApi__getListInfosByName(untrustedConfig, requestContext) {
|
|
21848
|
-
const config = validateAdapterConfig$
|
|
21866
|
+
const config = validateAdapterConfig$M(untrustedConfig, getListInfosByName_ConfigPropertyNames);
|
|
21849
21867
|
// Invalid or incomplete config
|
|
21850
21868
|
if (config === null) {
|
|
21851
21869
|
return null;
|
|
@@ -21898,7 +21916,7 @@ function ingestError$q(luvio, params, error, snapshotRefresh) {
|
|
|
21898
21916
|
luvio.storeIngestError(key, errorSnapshot);
|
|
21899
21917
|
return errorSnapshot;
|
|
21900
21918
|
}
|
|
21901
|
-
function createResourceRequest$
|
|
21919
|
+
function createResourceRequest$M(config) {
|
|
21902
21920
|
const headers = {};
|
|
21903
21921
|
return {
|
|
21904
21922
|
baseUri: '/services/data/v63.0',
|
|
@@ -21912,7 +21930,7 @@ function createResourceRequest$L(config) {
|
|
|
21912
21930
|
};
|
|
21913
21931
|
}
|
|
21914
21932
|
|
|
21915
|
-
const adapterName$
|
|
21933
|
+
const adapterName$D = 'getListInfosByObjectName';
|
|
21916
21934
|
const getListInfosByObjectName_ConfigPropertyMetadata = [
|
|
21917
21935
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
21918
21936
|
generateParamConfigMetadata('pageSize', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
@@ -21920,25 +21938,25 @@ const getListInfosByObjectName_ConfigPropertyMetadata = [
|
|
|
21920
21938
|
generateParamConfigMetadata('q', false, 1 /* QueryParameter */, 0 /* String */),
|
|
21921
21939
|
generateParamConfigMetadata('recentListsOnly', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
21922
21940
|
];
|
|
21923
|
-
const getListInfosByObjectName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
21941
|
+
const getListInfosByObjectName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$D, getListInfosByObjectName_ConfigPropertyMetadata);
|
|
21924
21942
|
const createResourceParams$H = /*#__PURE__*/ createResourceParams$16(getListInfosByObjectName_ConfigPropertyMetadata);
|
|
21925
21943
|
function keyBuilder$2t(luvio, config) {
|
|
21926
21944
|
const resourceParams = createResourceParams$H(config);
|
|
21927
21945
|
return keyBuilder$2u(luvio, resourceParams);
|
|
21928
21946
|
}
|
|
21929
|
-
function typeCheckConfig$
|
|
21947
|
+
function typeCheckConfig$K(untrustedConfig) {
|
|
21930
21948
|
const config = {};
|
|
21931
|
-
typeCheckConfig$
|
|
21949
|
+
typeCheckConfig$1a(untrustedConfig, config, getListInfosByObjectName_ConfigPropertyMetadata);
|
|
21932
21950
|
return config;
|
|
21933
21951
|
}
|
|
21934
|
-
function validateAdapterConfig$
|
|
21952
|
+
function validateAdapterConfig$L(untrustedConfig, configPropertyNames) {
|
|
21935
21953
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
21936
21954
|
return null;
|
|
21937
21955
|
}
|
|
21938
21956
|
if (process.env.NODE_ENV !== 'production') {
|
|
21939
21957
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
21940
21958
|
}
|
|
21941
|
-
const config = typeCheckConfig$
|
|
21959
|
+
const config = typeCheckConfig$K(untrustedConfig);
|
|
21942
21960
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
21943
21961
|
return null;
|
|
21944
21962
|
}
|
|
@@ -21964,13 +21982,13 @@ function onFetchResponseError$t(luvio, config, resourceParams, response) {
|
|
|
21964
21982
|
}
|
|
21965
21983
|
function prepareRequest$3(luvio, config, resourceParams, cacheSnapshot) {
|
|
21966
21984
|
if (cacheSnapshot === undefined) {
|
|
21967
|
-
return createResourceRequest$
|
|
21985
|
+
return createResourceRequest$M(resourceParams);
|
|
21968
21986
|
}
|
|
21969
21987
|
const [newToken, newPageSize] = minimizePaginationParams$1(luvio, resourceParams, cacheSnapshot);
|
|
21970
21988
|
if (newToken === undefined) {
|
|
21971
|
-
return createResourceRequest$
|
|
21989
|
+
return createResourceRequest$M(resourceParams);
|
|
21972
21990
|
}
|
|
21973
|
-
return createResourceRequest$
|
|
21991
|
+
return createResourceRequest$M(createResourceParams$H({
|
|
21974
21992
|
...config,
|
|
21975
21993
|
pageSize: newPageSize,
|
|
21976
21994
|
pageToken: newToken
|
|
@@ -22071,7 +22089,7 @@ function buildCachedSnapshotCachePolicy$w(context, storeLookup) {
|
|
|
22071
22089
|
return cacheSnapshot;
|
|
22072
22090
|
}
|
|
22073
22091
|
const getListInfosByObjectNameAdapterFactory = (luvio) => function UiApi__getListInfosByObjectName(untrustedConfig, requestContext) {
|
|
22074
|
-
const config = validateAdapterConfig$
|
|
22092
|
+
const config = validateAdapterConfig$L(untrustedConfig, getListInfosByObjectName_ConfigPropertyNames);
|
|
22075
22093
|
// Invalid or incomplete config
|
|
22076
22094
|
if (config === null) {
|
|
22077
22095
|
return null;
|
|
@@ -22204,7 +22222,7 @@ function ingestSuccess$y(luvio, resourceParams, response) {
|
|
|
22204
22222
|
deepFreeze(snapshot.data);
|
|
22205
22223
|
return snapshot;
|
|
22206
22224
|
}
|
|
22207
|
-
function createResourceRequest$
|
|
22225
|
+
function createResourceRequest$L(config) {
|
|
22208
22226
|
const headers = {};
|
|
22209
22227
|
return {
|
|
22210
22228
|
baseUri: '/services/data/v63.0',
|
|
@@ -22218,7 +22236,7 @@ function createResourceRequest$K(config) {
|
|
|
22218
22236
|
};
|
|
22219
22237
|
}
|
|
22220
22238
|
|
|
22221
|
-
const adapterName$
|
|
22239
|
+
const adapterName$C = 'createListInfo';
|
|
22222
22240
|
const createListInfo_ConfigPropertyMetadata = [
|
|
22223
22241
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
|
|
22224
22242
|
generateParamConfigMetadata('displayColumns', false, 2 /* Body */, 0 /* String */, true),
|
|
@@ -22230,11 +22248,11 @@ const createListInfo_ConfigPropertyMetadata = [
|
|
|
22230
22248
|
generateParamConfigMetadata('scope', false, 2 /* Body */, 4 /* Unsupported */),
|
|
22231
22249
|
generateParamConfigMetadata('visibility', false, 2 /* Body */, 0 /* String */),
|
|
22232
22250
|
];
|
|
22233
|
-
const createListInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
22251
|
+
const createListInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$C, createListInfo_ConfigPropertyMetadata);
|
|
22234
22252
|
const createResourceParams$G = /*#__PURE__*/ createResourceParams$16(createListInfo_ConfigPropertyMetadata);
|
|
22235
|
-
function typeCheckConfig$
|
|
22253
|
+
function typeCheckConfig$J(untrustedConfig) {
|
|
22236
22254
|
const config = {};
|
|
22237
|
-
typeCheckConfig$
|
|
22255
|
+
typeCheckConfig$1a(untrustedConfig, config, createListInfo_ConfigPropertyMetadata);
|
|
22238
22256
|
const untrustedConfig_filteredByInfo = untrustedConfig.filteredByInfo;
|
|
22239
22257
|
if (ArrayIsArray$1(untrustedConfig_filteredByInfo)) {
|
|
22240
22258
|
const untrustedConfig_filteredByInfo_array = [];
|
|
@@ -22254,7 +22272,7 @@ function typeCheckConfig$L(untrustedConfig) {
|
|
|
22254
22272
|
}
|
|
22255
22273
|
return config;
|
|
22256
22274
|
}
|
|
22257
|
-
function validateAdapterConfig$
|
|
22275
|
+
function validateAdapterConfig$K(untrustedConfig, configPropertyNames) {
|
|
22258
22276
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
22259
22277
|
return null;
|
|
22260
22278
|
}
|
|
@@ -22262,7 +22280,7 @@ function validateAdapterConfig$M(untrustedConfig, configPropertyNames) {
|
|
|
22262
22280
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
22263
22281
|
}
|
|
22264
22282
|
const coercedConfig = coerceConfig$1(untrustedConfig, createListInfo_ConfigPropertyMetadata);
|
|
22265
|
-
const config = typeCheckConfig$
|
|
22283
|
+
const config = typeCheckConfig$J(coercedConfig);
|
|
22266
22284
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
22267
22285
|
return null;
|
|
22268
22286
|
}
|
|
@@ -22270,7 +22288,7 @@ function validateAdapterConfig$M(untrustedConfig, configPropertyNames) {
|
|
|
22270
22288
|
}
|
|
22271
22289
|
function buildNetworkSnapshot$K(luvio, config, options) {
|
|
22272
22290
|
const resourceParams = createResourceParams$G(config);
|
|
22273
|
-
const request = createResourceRequest$
|
|
22291
|
+
const request = createResourceRequest$L(resourceParams);
|
|
22274
22292
|
return luvio.dispatchResourceRequest(request, options)
|
|
22275
22293
|
.then((response) => {
|
|
22276
22294
|
return luvio.handleSuccessResponse(() => {
|
|
@@ -22288,7 +22306,7 @@ function buildNetworkSnapshot$K(luvio, config, options) {
|
|
|
22288
22306
|
}
|
|
22289
22307
|
const createListInfoAdapterFactory = (luvio) => {
|
|
22290
22308
|
return function createListInfo(untrustedConfig) {
|
|
22291
|
-
const config = validateAdapterConfig$
|
|
22309
|
+
const config = validateAdapterConfig$K(untrustedConfig, createListInfo_ConfigPropertyNames);
|
|
22292
22310
|
// Invalid or incomplete config
|
|
22293
22311
|
if (config === null) {
|
|
22294
22312
|
throw new Error('Invalid config for "createListInfo"');
|
|
@@ -22316,7 +22334,7 @@ function evictSuccess$1(luvio, resourceParams) {
|
|
|
22316
22334
|
const key = keyBuilder$2s(luvio, resourceParams);
|
|
22317
22335
|
luvio.storeEvict(key);
|
|
22318
22336
|
}
|
|
22319
|
-
function createResourceRequest$
|
|
22337
|
+
function createResourceRequest$K(config) {
|
|
22320
22338
|
const headers = {};
|
|
22321
22339
|
return {
|
|
22322
22340
|
baseUri: '/services/data/v63.0',
|
|
@@ -22330,26 +22348,26 @@ function createResourceRequest$J(config) {
|
|
|
22330
22348
|
};
|
|
22331
22349
|
}
|
|
22332
22350
|
|
|
22333
|
-
const adapterName$
|
|
22351
|
+
const adapterName$B = 'deleteListInfo';
|
|
22334
22352
|
const deleteListInfo_ConfigPropertyMetadata = [
|
|
22335
22353
|
generateParamConfigMetadata('listViewApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
22336
22354
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
22337
22355
|
];
|
|
22338
|
-
const deleteListInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
22356
|
+
const deleteListInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$B, deleteListInfo_ConfigPropertyMetadata);
|
|
22339
22357
|
const createResourceParams$F = /*#__PURE__*/ createResourceParams$16(deleteListInfo_ConfigPropertyMetadata);
|
|
22340
|
-
function typeCheckConfig$
|
|
22358
|
+
function typeCheckConfig$I(untrustedConfig) {
|
|
22341
22359
|
const config = {};
|
|
22342
|
-
typeCheckConfig$
|
|
22360
|
+
typeCheckConfig$1a(untrustedConfig, config, deleteListInfo_ConfigPropertyMetadata);
|
|
22343
22361
|
return config;
|
|
22344
22362
|
}
|
|
22345
|
-
function validateAdapterConfig$
|
|
22363
|
+
function validateAdapterConfig$J(untrustedConfig, configPropertyNames) {
|
|
22346
22364
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
22347
22365
|
return null;
|
|
22348
22366
|
}
|
|
22349
22367
|
if (process.env.NODE_ENV !== 'production') {
|
|
22350
22368
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
22351
22369
|
}
|
|
22352
|
-
const config = typeCheckConfig$
|
|
22370
|
+
const config = typeCheckConfig$I(untrustedConfig);
|
|
22353
22371
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
22354
22372
|
return null;
|
|
22355
22373
|
}
|
|
@@ -22357,7 +22375,7 @@ function validateAdapterConfig$L(untrustedConfig, configPropertyNames) {
|
|
|
22357
22375
|
}
|
|
22358
22376
|
function buildNetworkSnapshot$J(luvio, config, options) {
|
|
22359
22377
|
const resourceParams = createResourceParams$F(config);
|
|
22360
|
-
const request = createResourceRequest$
|
|
22378
|
+
const request = createResourceRequest$K(resourceParams);
|
|
22361
22379
|
return luvio.dispatchResourceRequest(request, options)
|
|
22362
22380
|
.then(() => {
|
|
22363
22381
|
return luvio.handleSuccessResponse(() => {
|
|
@@ -22375,39 +22393,39 @@ function buildNetworkSnapshot$J(luvio, config, options) {
|
|
|
22375
22393
|
}
|
|
22376
22394
|
const deleteListInfoAdapterFactory = (luvio) => {
|
|
22377
22395
|
return function UiApideleteListInfo(untrustedConfig) {
|
|
22378
|
-
const config = validateAdapterConfig$
|
|
22396
|
+
const config = validateAdapterConfig$J(untrustedConfig, deleteListInfo_ConfigPropertyNames);
|
|
22379
22397
|
// Invalid or incomplete config
|
|
22380
22398
|
if (config === null) {
|
|
22381
|
-
throw new Error(`Invalid config for "${adapterName$
|
|
22399
|
+
throw new Error(`Invalid config for "${adapterName$B}"`);
|
|
22382
22400
|
}
|
|
22383
22401
|
return buildNetworkSnapshot$J(luvio, config);
|
|
22384
22402
|
};
|
|
22385
22403
|
};
|
|
22386
22404
|
|
|
22387
|
-
const adapterName$
|
|
22405
|
+
const adapterName$A = 'getListInfoByName';
|
|
22388
22406
|
const getListInfoByName_ConfigPropertyMetadata = [
|
|
22389
22407
|
generateParamConfigMetadata('listViewApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
22390
22408
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
22391
22409
|
];
|
|
22392
|
-
const getListInfoByName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
22410
|
+
const getListInfoByName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$A, getListInfoByName_ConfigPropertyMetadata);
|
|
22393
22411
|
const createResourceParams$E = /*#__PURE__*/ createResourceParams$16(getListInfoByName_ConfigPropertyMetadata);
|
|
22394
22412
|
function keyBuilder$2r(luvio, config) {
|
|
22395
22413
|
const resourceParams = createResourceParams$E(config);
|
|
22396
22414
|
return keyBuilder$2x(luvio, resourceParams);
|
|
22397
22415
|
}
|
|
22398
|
-
function typeCheckConfig$
|
|
22416
|
+
function typeCheckConfig$H(untrustedConfig) {
|
|
22399
22417
|
const config = {};
|
|
22400
|
-
typeCheckConfig$
|
|
22418
|
+
typeCheckConfig$1a(untrustedConfig, config, getListInfoByName_ConfigPropertyMetadata);
|
|
22401
22419
|
return config;
|
|
22402
22420
|
}
|
|
22403
|
-
function validateAdapterConfig$
|
|
22421
|
+
function validateAdapterConfig$I(untrustedConfig, configPropertyNames) {
|
|
22404
22422
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
22405
22423
|
return null;
|
|
22406
22424
|
}
|
|
22407
22425
|
if (process.env.NODE_ENV !== 'production') {
|
|
22408
22426
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
22409
22427
|
}
|
|
22410
|
-
const config = typeCheckConfig$
|
|
22428
|
+
const config = typeCheckConfig$H(untrustedConfig);
|
|
22411
22429
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
22412
22430
|
return null;
|
|
22413
22431
|
}
|
|
@@ -22433,7 +22451,7 @@ function onFetchResponseError$s(luvio, config, resourceParams, response) {
|
|
|
22433
22451
|
}
|
|
22434
22452
|
function buildNetworkSnapshot$I(luvio, config, options) {
|
|
22435
22453
|
const resourceParams = createResourceParams$E(config);
|
|
22436
|
-
const request = createResourceRequest$
|
|
22454
|
+
const request = createResourceRequest$O(resourceParams);
|
|
22437
22455
|
return luvio.dispatchResourceRequest(request, options)
|
|
22438
22456
|
.then((response) => {
|
|
22439
22457
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$s(luvio, config, resourceParams, response), () => {
|
|
@@ -22462,7 +22480,7 @@ function buildCachedSnapshotCachePolicy$v(context, storeLookup) {
|
|
|
22462
22480
|
return cacheSnapshot;
|
|
22463
22481
|
}
|
|
22464
22482
|
const getListInfoByNameAdapterFactory = (luvio) => function UiApi__getListInfoByName(untrustedConfig, requestContext) {
|
|
22465
|
-
const config = validateAdapterConfig$
|
|
22483
|
+
const config = validateAdapterConfig$I(untrustedConfig, getListInfoByName_ConfigPropertyNames);
|
|
22466
22484
|
// Invalid or incomplete config
|
|
22467
22485
|
if (config === null) {
|
|
22468
22486
|
return null;
|
|
@@ -22494,7 +22512,7 @@ function ingestSuccess$x(luvio, resourceParams, response) {
|
|
|
22494
22512
|
deepFreeze(snapshot.data);
|
|
22495
22513
|
return snapshot;
|
|
22496
22514
|
}
|
|
22497
|
-
function createResourceRequest$
|
|
22515
|
+
function createResourceRequest$J(config) {
|
|
22498
22516
|
const headers = {};
|
|
22499
22517
|
return {
|
|
22500
22518
|
baseUri: '/services/data/v63.0',
|
|
@@ -22508,7 +22526,7 @@ function createResourceRequest$I(config) {
|
|
|
22508
22526
|
};
|
|
22509
22527
|
}
|
|
22510
22528
|
|
|
22511
|
-
const adapterName$
|
|
22529
|
+
const adapterName$z = 'updateListInfoByName';
|
|
22512
22530
|
const updateListInfoByName_ConfigPropertyMetadata = [
|
|
22513
22531
|
generateParamConfigMetadata('listViewApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
22514
22532
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
|
|
@@ -22520,11 +22538,11 @@ const updateListInfoByName_ConfigPropertyMetadata = [
|
|
|
22520
22538
|
generateParamConfigMetadata('scope', false, 2 /* Body */, 4 /* Unsupported */),
|
|
22521
22539
|
generateParamConfigMetadata('visibility', false, 2 /* Body */, 0 /* String */),
|
|
22522
22540
|
];
|
|
22523
|
-
const updateListInfoByName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
22541
|
+
const updateListInfoByName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$z, updateListInfoByName_ConfigPropertyMetadata);
|
|
22524
22542
|
const createResourceParams$D = /*#__PURE__*/ createResourceParams$16(updateListInfoByName_ConfigPropertyMetadata);
|
|
22525
|
-
function typeCheckConfig$
|
|
22543
|
+
function typeCheckConfig$G(untrustedConfig) {
|
|
22526
22544
|
const config = {};
|
|
22527
|
-
typeCheckConfig$
|
|
22545
|
+
typeCheckConfig$1a(untrustedConfig, config, updateListInfoByName_ConfigPropertyMetadata);
|
|
22528
22546
|
const untrustedConfig_filteredByInfo = untrustedConfig.filteredByInfo;
|
|
22529
22547
|
if (ArrayIsArray$1(untrustedConfig_filteredByInfo)) {
|
|
22530
22548
|
const untrustedConfig_filteredByInfo_array = [];
|
|
@@ -22544,7 +22562,7 @@ function typeCheckConfig$I(untrustedConfig) {
|
|
|
22544
22562
|
}
|
|
22545
22563
|
return config;
|
|
22546
22564
|
}
|
|
22547
|
-
function validateAdapterConfig$
|
|
22565
|
+
function validateAdapterConfig$H(untrustedConfig, configPropertyNames) {
|
|
22548
22566
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
22549
22567
|
return null;
|
|
22550
22568
|
}
|
|
@@ -22552,7 +22570,7 @@ function validateAdapterConfig$J(untrustedConfig, configPropertyNames) {
|
|
|
22552
22570
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
22553
22571
|
}
|
|
22554
22572
|
const coercedConfig = coerceConfig$1(untrustedConfig, updateListInfoByName_ConfigPropertyMetadata);
|
|
22555
|
-
const config = typeCheckConfig$
|
|
22573
|
+
const config = typeCheckConfig$G(coercedConfig);
|
|
22556
22574
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
22557
22575
|
return null;
|
|
22558
22576
|
}
|
|
@@ -22560,7 +22578,7 @@ function validateAdapterConfig$J(untrustedConfig, configPropertyNames) {
|
|
|
22560
22578
|
}
|
|
22561
22579
|
function buildNetworkSnapshot$H(luvio, config, options) {
|
|
22562
22580
|
const resourceParams = createResourceParams$D(config);
|
|
22563
|
-
const request = createResourceRequest$
|
|
22581
|
+
const request = createResourceRequest$J(resourceParams);
|
|
22564
22582
|
return luvio.dispatchResourceRequest(request, options)
|
|
22565
22583
|
.then((response) => {
|
|
22566
22584
|
return luvio.handleSuccessResponse(() => {
|
|
@@ -22578,7 +22596,7 @@ function buildNetworkSnapshot$H(luvio, config, options) {
|
|
|
22578
22596
|
}
|
|
22579
22597
|
const updateListInfoByNameAdapterFactory = (luvio) => {
|
|
22580
22598
|
return function updateListInfoByName(untrustedConfig) {
|
|
22581
|
-
const config = validateAdapterConfig$
|
|
22599
|
+
const config = validateAdapterConfig$H(untrustedConfig, updateListInfoByName_ConfigPropertyNames);
|
|
22582
22600
|
// Invalid or incomplete config
|
|
22583
22601
|
if (config === null) {
|
|
22584
22602
|
throw new Error('Invalid config for "updateListInfoByName"');
|
|
@@ -23221,7 +23239,7 @@ function ingestError$p(luvio, params, error, snapshotRefresh) {
|
|
|
23221
23239
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
23222
23240
|
return errorSnapshot;
|
|
23223
23241
|
}
|
|
23224
|
-
function createResourceRequest$
|
|
23242
|
+
function createResourceRequest$I(config) {
|
|
23225
23243
|
const headers = {};
|
|
23226
23244
|
return {
|
|
23227
23245
|
baseUri: '/services/data/v63.0',
|
|
@@ -23235,22 +23253,22 @@ function createResourceRequest$H(config) {
|
|
|
23235
23253
|
};
|
|
23236
23254
|
}
|
|
23237
23255
|
|
|
23238
|
-
const adapterName$
|
|
23256
|
+
const adapterName$y = 'getListObjectInfo';
|
|
23239
23257
|
const getListObjectInfo_ConfigPropertyMetadata = [
|
|
23240
23258
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
|
|
23241
23259
|
];
|
|
23242
|
-
const getListObjectInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
23260
|
+
const getListObjectInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$y, getListObjectInfo_ConfigPropertyMetadata);
|
|
23243
23261
|
const createResourceParams$C = /*#__PURE__*/ createResourceParams$16(getListObjectInfo_ConfigPropertyMetadata);
|
|
23244
23262
|
function keyBuilder$2o(luvio, config) {
|
|
23245
23263
|
const resourceParams = createResourceParams$C(config);
|
|
23246
23264
|
return keyBuilder$2p(luvio, resourceParams);
|
|
23247
23265
|
}
|
|
23248
|
-
function typeCheckConfig$
|
|
23266
|
+
function typeCheckConfig$F(untrustedConfig) {
|
|
23249
23267
|
const config = {};
|
|
23250
|
-
typeCheckConfig$
|
|
23268
|
+
typeCheckConfig$1a(untrustedConfig, config, getListObjectInfo_ConfigPropertyMetadata);
|
|
23251
23269
|
return config;
|
|
23252
23270
|
}
|
|
23253
|
-
function validateAdapterConfig$
|
|
23271
|
+
function validateAdapterConfig$G(untrustedConfig, configPropertyNames) {
|
|
23254
23272
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
23255
23273
|
return null;
|
|
23256
23274
|
}
|
|
@@ -23258,7 +23276,7 @@ function validateAdapterConfig$I(untrustedConfig, configPropertyNames) {
|
|
|
23258
23276
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
23259
23277
|
}
|
|
23260
23278
|
const coercedConfig = coerceConfig$1(untrustedConfig, getListObjectInfo_ConfigPropertyMetadata);
|
|
23261
|
-
const config = typeCheckConfig$
|
|
23279
|
+
const config = typeCheckConfig$F(coercedConfig);
|
|
23262
23280
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
23263
23281
|
return null;
|
|
23264
23282
|
}
|
|
@@ -23284,7 +23302,7 @@ function onFetchResponseError$r(luvio, config, resourceParams, response) {
|
|
|
23284
23302
|
}
|
|
23285
23303
|
function buildNetworkSnapshot$G(luvio, config, options) {
|
|
23286
23304
|
const resourceParams = createResourceParams$C(config);
|
|
23287
|
-
const request = createResourceRequest$
|
|
23305
|
+
const request = createResourceRequest$I(resourceParams);
|
|
23288
23306
|
return luvio.dispatchResourceRequest(request, options)
|
|
23289
23307
|
.then((response) => {
|
|
23290
23308
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$r(luvio, config, resourceParams, response), () => {
|
|
@@ -23313,7 +23331,7 @@ function buildCachedSnapshotCachePolicy$u(context, storeLookup) {
|
|
|
23313
23331
|
return cacheSnapshot;
|
|
23314
23332
|
}
|
|
23315
23333
|
const getListObjectInfoAdapterFactory = (luvio) => function UiApi__getListObjectInfo(untrustedConfig, requestContext) {
|
|
23316
|
-
const config = validateAdapterConfig$
|
|
23334
|
+
const config = validateAdapterConfig$G(untrustedConfig, getListObjectInfo_ConfigPropertyNames);
|
|
23317
23335
|
// Invalid or incomplete config
|
|
23318
23336
|
if (config === null) {
|
|
23319
23337
|
return null;
|
|
@@ -23530,7 +23548,7 @@ function ingestError$o(luvio, params, error, snapshotRefresh) {
|
|
|
23530
23548
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
23531
23549
|
return errorSnapshot;
|
|
23532
23550
|
}
|
|
23533
|
-
function createResourceRequest$
|
|
23551
|
+
function createResourceRequest$H(config) {
|
|
23534
23552
|
const headers = {};
|
|
23535
23553
|
return {
|
|
23536
23554
|
baseUri: '/services/data/v63.0',
|
|
@@ -23544,23 +23562,23 @@ function createResourceRequest$G(config) {
|
|
|
23544
23562
|
};
|
|
23545
23563
|
}
|
|
23546
23564
|
|
|
23547
|
-
const adapterName$
|
|
23565
|
+
const adapterName$x = 'getListPreferences';
|
|
23548
23566
|
const getListPreferences_ConfigPropertyMetadata = [
|
|
23549
23567
|
generateParamConfigMetadata('listViewApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
23550
23568
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
|
|
23551
23569
|
];
|
|
23552
|
-
const getListPreferences_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
23570
|
+
const getListPreferences_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$x, getListPreferences_ConfigPropertyMetadata);
|
|
23553
23571
|
const createResourceParams$B = /*#__PURE__*/ createResourceParams$16(getListPreferences_ConfigPropertyMetadata);
|
|
23554
23572
|
function keyBuilder$2l(luvio, config) {
|
|
23555
23573
|
const resourceParams = createResourceParams$B(config);
|
|
23556
23574
|
return keyBuilder$2m(luvio, resourceParams);
|
|
23557
23575
|
}
|
|
23558
|
-
function typeCheckConfig$
|
|
23576
|
+
function typeCheckConfig$E(untrustedConfig) {
|
|
23559
23577
|
const config = {};
|
|
23560
|
-
typeCheckConfig$
|
|
23578
|
+
typeCheckConfig$1a(untrustedConfig, config, getListPreferences_ConfigPropertyMetadata);
|
|
23561
23579
|
return config;
|
|
23562
23580
|
}
|
|
23563
|
-
function validateAdapterConfig$
|
|
23581
|
+
function validateAdapterConfig$F(untrustedConfig, configPropertyNames) {
|
|
23564
23582
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
23565
23583
|
return null;
|
|
23566
23584
|
}
|
|
@@ -23568,7 +23586,7 @@ function validateAdapterConfig$H(untrustedConfig, configPropertyNames) {
|
|
|
23568
23586
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
23569
23587
|
}
|
|
23570
23588
|
const coercedConfig = coerceConfig$1(untrustedConfig, getListPreferences_ConfigPropertyMetadata);
|
|
23571
|
-
const config = typeCheckConfig$
|
|
23589
|
+
const config = typeCheckConfig$E(coercedConfig);
|
|
23572
23590
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
23573
23591
|
return null;
|
|
23574
23592
|
}
|
|
@@ -23594,7 +23612,7 @@ function onFetchResponseError$q(luvio, config, resourceParams, response) {
|
|
|
23594
23612
|
}
|
|
23595
23613
|
function buildNetworkSnapshot$F(luvio, config, options) {
|
|
23596
23614
|
const resourceParams = createResourceParams$B(config);
|
|
23597
|
-
const request = createResourceRequest$
|
|
23615
|
+
const request = createResourceRequest$H(resourceParams);
|
|
23598
23616
|
return luvio.dispatchResourceRequest(request, options)
|
|
23599
23617
|
.then((response) => {
|
|
23600
23618
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$q(luvio, config, resourceParams, response), () => {
|
|
@@ -23623,7 +23641,7 @@ function buildCachedSnapshotCachePolicy$t(context, storeLookup) {
|
|
|
23623
23641
|
return cacheSnapshot;
|
|
23624
23642
|
}
|
|
23625
23643
|
const getListPreferencesAdapterFactory = (luvio) => function UiApi__getListPreferences(untrustedConfig, requestContext) {
|
|
23626
|
-
const config = validateAdapterConfig$
|
|
23644
|
+
const config = validateAdapterConfig$F(untrustedConfig, getListPreferences_ConfigPropertyNames);
|
|
23627
23645
|
// Invalid or incomplete config
|
|
23628
23646
|
if (config === null) {
|
|
23629
23647
|
return null;
|
|
@@ -23674,7 +23692,7 @@ function ingestSuccess$u(luvio, resourceParams, response) {
|
|
|
23674
23692
|
deepFreeze(snapshot.data);
|
|
23675
23693
|
return snapshot;
|
|
23676
23694
|
}
|
|
23677
|
-
function createResourceRequest$
|
|
23695
|
+
function createResourceRequest$G(config) {
|
|
23678
23696
|
const headers = {};
|
|
23679
23697
|
return {
|
|
23680
23698
|
baseUri: '/services/data/v63.0',
|
|
@@ -23688,7 +23706,7 @@ function createResourceRequest$F(config) {
|
|
|
23688
23706
|
};
|
|
23689
23707
|
}
|
|
23690
23708
|
|
|
23691
|
-
const adapterName$
|
|
23709
|
+
const adapterName$w = 'updateListPreferences';
|
|
23692
23710
|
const updateListPreferences_ConfigPropertyMetadata = [
|
|
23693
23711
|
generateParamConfigMetadata('listViewApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
23694
23712
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
|
|
@@ -23696,11 +23714,11 @@ const updateListPreferences_ConfigPropertyMetadata = [
|
|
|
23696
23714
|
generateParamConfigMetadata('columnWrap', false, 2 /* Body */, 4 /* Unsupported */),
|
|
23697
23715
|
generateParamConfigMetadata('orderedBy', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
23698
23716
|
];
|
|
23699
|
-
const updateListPreferences_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
23717
|
+
const updateListPreferences_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$w, updateListPreferences_ConfigPropertyMetadata);
|
|
23700
23718
|
const createResourceParams$A = /*#__PURE__*/ createResourceParams$16(updateListPreferences_ConfigPropertyMetadata);
|
|
23701
|
-
function typeCheckConfig$
|
|
23719
|
+
function typeCheckConfig$D(untrustedConfig) {
|
|
23702
23720
|
const config = {};
|
|
23703
|
-
typeCheckConfig$
|
|
23721
|
+
typeCheckConfig$1a(untrustedConfig, config, updateListPreferences_ConfigPropertyMetadata);
|
|
23704
23722
|
const untrustedConfig_columnWidths = untrustedConfig.columnWidths;
|
|
23705
23723
|
if (untrustedIsObject(untrustedConfig_columnWidths)) {
|
|
23706
23724
|
const untrustedConfig_columnWidths_object = {};
|
|
@@ -23749,7 +23767,7 @@ function typeCheckConfig$F(untrustedConfig) {
|
|
|
23749
23767
|
}
|
|
23750
23768
|
return config;
|
|
23751
23769
|
}
|
|
23752
|
-
function validateAdapterConfig$
|
|
23770
|
+
function validateAdapterConfig$E(untrustedConfig, configPropertyNames) {
|
|
23753
23771
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
23754
23772
|
return null;
|
|
23755
23773
|
}
|
|
@@ -23757,7 +23775,7 @@ function validateAdapterConfig$G(untrustedConfig, configPropertyNames) {
|
|
|
23757
23775
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
23758
23776
|
}
|
|
23759
23777
|
const coercedConfig = coerceConfig$1(untrustedConfig, updateListPreferences_ConfigPropertyMetadata);
|
|
23760
|
-
const config = typeCheckConfig$
|
|
23778
|
+
const config = typeCheckConfig$D(coercedConfig);
|
|
23761
23779
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
23762
23780
|
return null;
|
|
23763
23781
|
}
|
|
@@ -23765,7 +23783,7 @@ function validateAdapterConfig$G(untrustedConfig, configPropertyNames) {
|
|
|
23765
23783
|
}
|
|
23766
23784
|
function buildNetworkSnapshot$E(luvio, config, options) {
|
|
23767
23785
|
const resourceParams = createResourceParams$A(config);
|
|
23768
|
-
const request = createResourceRequest$
|
|
23786
|
+
const request = createResourceRequest$G(resourceParams);
|
|
23769
23787
|
return luvio.dispatchResourceRequest(request, options)
|
|
23770
23788
|
.then((response) => {
|
|
23771
23789
|
return luvio.handleSuccessResponse(() => {
|
|
@@ -23783,7 +23801,7 @@ function buildNetworkSnapshot$E(luvio, config, options) {
|
|
|
23783
23801
|
}
|
|
23784
23802
|
const updateListPreferencesAdapterFactory = (luvio) => {
|
|
23785
23803
|
return function updateListPreferences(untrustedConfig) {
|
|
23786
|
-
const config = validateAdapterConfig$
|
|
23804
|
+
const config = validateAdapterConfig$E(untrustedConfig, updateListPreferences_ConfigPropertyNames);
|
|
23787
23805
|
// Invalid or incomplete config
|
|
23788
23806
|
if (config === null) {
|
|
23789
23807
|
throw new Error('Invalid config for "updateListPreferences"');
|
|
@@ -23984,7 +24002,7 @@ function ingestError$n(luvio, params, error, snapshotRefresh) {
|
|
|
23984
24002
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
23985
24003
|
return errorSnapshot;
|
|
23986
24004
|
}
|
|
23987
|
-
function createResourceRequest$
|
|
24005
|
+
function createResourceRequest$F(config) {
|
|
23988
24006
|
const headers = {};
|
|
23989
24007
|
return {
|
|
23990
24008
|
baseUri: '/services/data/v63.0',
|
|
@@ -23998,25 +24016,25 @@ function createResourceRequest$E(config) {
|
|
|
23998
24016
|
};
|
|
23999
24017
|
}
|
|
24000
24018
|
|
|
24001
|
-
const adapterName$
|
|
24019
|
+
const adapterName$v = 'getNavItems';
|
|
24002
24020
|
const getNavItems_ConfigPropertyMetadata = [
|
|
24003
24021
|
generateParamConfigMetadata('formFactor', false, 1 /* QueryParameter */, 0 /* String */, false, coerceFormFactor),
|
|
24004
24022
|
generateParamConfigMetadata('navItemNames', false, 1 /* QueryParameter */, 0 /* String */, true),
|
|
24005
24023
|
generateParamConfigMetadata('page', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
24006
24024
|
generateParamConfigMetadata('pageSize', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
24007
24025
|
];
|
|
24008
|
-
const getNavItems_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
24026
|
+
const getNavItems_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$v, getNavItems_ConfigPropertyMetadata);
|
|
24009
24027
|
const createResourceParams$z = /*#__PURE__*/ createResourceParams$16(getNavItems_ConfigPropertyMetadata);
|
|
24010
24028
|
function keyBuilder$2j(luvio, config) {
|
|
24011
24029
|
const resourceParams = createResourceParams$z(config);
|
|
24012
24030
|
return keyBuilder$2k(luvio, resourceParams);
|
|
24013
24031
|
}
|
|
24014
|
-
function typeCheckConfig$
|
|
24032
|
+
function typeCheckConfig$C(untrustedConfig) {
|
|
24015
24033
|
const config = {};
|
|
24016
|
-
typeCheckConfig$
|
|
24034
|
+
typeCheckConfig$1a(untrustedConfig, config, getNavItems_ConfigPropertyMetadata);
|
|
24017
24035
|
return config;
|
|
24018
24036
|
}
|
|
24019
|
-
function validateAdapterConfig$
|
|
24037
|
+
function validateAdapterConfig$D(untrustedConfig, configPropertyNames) {
|
|
24020
24038
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
24021
24039
|
return null;
|
|
24022
24040
|
}
|
|
@@ -24024,7 +24042,7 @@ function validateAdapterConfig$F(untrustedConfig, configPropertyNames) {
|
|
|
24024
24042
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
24025
24043
|
}
|
|
24026
24044
|
const coercedConfig = coerceConfig$1(untrustedConfig, getNavItems_ConfigPropertyMetadata);
|
|
24027
|
-
const config = typeCheckConfig$
|
|
24045
|
+
const config = typeCheckConfig$C(coercedConfig);
|
|
24028
24046
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
24029
24047
|
return null;
|
|
24030
24048
|
}
|
|
@@ -24050,7 +24068,7 @@ function onFetchResponseError$p(luvio, config, resourceParams, response) {
|
|
|
24050
24068
|
}
|
|
24051
24069
|
function buildNetworkSnapshot$D(luvio, config, options) {
|
|
24052
24070
|
const resourceParams = createResourceParams$z(config);
|
|
24053
|
-
const request = createResourceRequest$
|
|
24071
|
+
const request = createResourceRequest$F(resourceParams);
|
|
24054
24072
|
return luvio.dispatchResourceRequest(request, options)
|
|
24055
24073
|
.then((response) => {
|
|
24056
24074
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$p(luvio, config, resourceParams, response), () => {
|
|
@@ -24079,7 +24097,7 @@ function buildCachedSnapshotCachePolicy$s(context, storeLookup) {
|
|
|
24079
24097
|
return cacheSnapshot;
|
|
24080
24098
|
}
|
|
24081
24099
|
const getNavItemsAdapterFactory = (luvio) => function UiApi__getNavItems(untrustedConfig, requestContext) {
|
|
24082
|
-
const config = validateAdapterConfig$
|
|
24100
|
+
const config = validateAdapterConfig$D(untrustedConfig, getNavItems_ConfigPropertyNames);
|
|
24083
24101
|
// Invalid or incomplete config
|
|
24084
24102
|
if (config === null) {
|
|
24085
24103
|
return null;
|
|
@@ -24120,7 +24138,7 @@ function ingestError$m(luvio, params, error, snapshotRefresh) {
|
|
|
24120
24138
|
luvio.storeIngestError(key, errorSnapshot);
|
|
24121
24139
|
return errorSnapshot;
|
|
24122
24140
|
}
|
|
24123
|
-
function createResourceRequest$
|
|
24141
|
+
function createResourceRequest$E(config) {
|
|
24124
24142
|
const headers = {};
|
|
24125
24143
|
return {
|
|
24126
24144
|
baseUri: '/services/data/v63.0',
|
|
@@ -24134,26 +24152,26 @@ function createResourceRequest$D(config) {
|
|
|
24134
24152
|
};
|
|
24135
24153
|
}
|
|
24136
24154
|
|
|
24137
|
-
const adapterName$
|
|
24155
|
+
const adapterName$u = 'getObjectInfoDirectory';
|
|
24138
24156
|
const getObjectInfoDirectory_ConfigPropertyMetadata = [];
|
|
24139
|
-
const getObjectInfoDirectory_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
24157
|
+
const getObjectInfoDirectory_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$u, getObjectInfoDirectory_ConfigPropertyMetadata);
|
|
24140
24158
|
const createResourceParams$y = /*#__PURE__*/ createResourceParams$16(getObjectInfoDirectory_ConfigPropertyMetadata);
|
|
24141
24159
|
function keyBuilder$2h(luvio, config) {
|
|
24142
24160
|
createResourceParams$y(config);
|
|
24143
24161
|
return keyBuilder$2i();
|
|
24144
24162
|
}
|
|
24145
|
-
function typeCheckConfig$
|
|
24163
|
+
function typeCheckConfig$B(untrustedConfig) {
|
|
24146
24164
|
const config = {};
|
|
24147
24165
|
return config;
|
|
24148
24166
|
}
|
|
24149
|
-
function validateAdapterConfig$
|
|
24167
|
+
function validateAdapterConfig$C(untrustedConfig, configPropertyNames) {
|
|
24150
24168
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
24151
24169
|
return null;
|
|
24152
24170
|
}
|
|
24153
24171
|
if (process.env.NODE_ENV !== 'production') {
|
|
24154
24172
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
24155
24173
|
}
|
|
24156
|
-
const config = typeCheckConfig$
|
|
24174
|
+
const config = typeCheckConfig$B();
|
|
24157
24175
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
24158
24176
|
return null;
|
|
24159
24177
|
}
|
|
@@ -24179,7 +24197,7 @@ function onFetchResponseError$o(luvio, config, resourceParams, response) {
|
|
|
24179
24197
|
}
|
|
24180
24198
|
function buildNetworkSnapshot$C(luvio, config, options) {
|
|
24181
24199
|
const resourceParams = createResourceParams$y(config);
|
|
24182
|
-
const request = createResourceRequest$
|
|
24200
|
+
const request = createResourceRequest$E();
|
|
24183
24201
|
return luvio.dispatchResourceRequest(request, options)
|
|
24184
24202
|
.then((response) => {
|
|
24185
24203
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$o(luvio, config, resourceParams, response), () => {
|
|
@@ -24208,7 +24226,7 @@ function buildCachedSnapshotCachePolicy$r(context, storeLookup) {
|
|
|
24208
24226
|
return cacheSnapshot;
|
|
24209
24227
|
}
|
|
24210
24228
|
const getObjectInfoDirectoryAdapterFactory = (luvio) => function UiApi__getObjectInfoDirectory(untrustedConfig, requestContext) {
|
|
24211
|
-
const config = validateAdapterConfig$
|
|
24229
|
+
const config = validateAdapterConfig$C(untrustedConfig, getObjectInfoDirectory_ConfigPropertyNames);
|
|
24212
24230
|
// Invalid or incomplete config
|
|
24213
24231
|
if (config === null) {
|
|
24214
24232
|
return null;
|
|
@@ -24465,7 +24483,7 @@ function ingestError$l(luvio, params, error, snapshotRefresh) {
|
|
|
24465
24483
|
luvio.storeIngestError(key, errorSnapshot);
|
|
24466
24484
|
return errorSnapshot;
|
|
24467
24485
|
}
|
|
24468
|
-
function createResourceRequest$
|
|
24486
|
+
function createResourceRequest$D(config) {
|
|
24469
24487
|
const headers = {};
|
|
24470
24488
|
return {
|
|
24471
24489
|
baseUri: '/services/data/v63.0',
|
|
@@ -24479,22 +24497,22 @@ function createResourceRequest$C(config) {
|
|
|
24479
24497
|
};
|
|
24480
24498
|
}
|
|
24481
24499
|
|
|
24482
|
-
const adapterName$
|
|
24500
|
+
const adapterName$t = 'getObjectInfos';
|
|
24483
24501
|
const getObjectInfos_ConfigPropertyMetadata = [
|
|
24484
24502
|
generateParamConfigMetadata('objectApiNames', true, 0 /* UrlParameter */, 0 /* String */, true, getObjectApiNamesArray),
|
|
24485
24503
|
];
|
|
24486
|
-
const getObjectInfos_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
24504
|
+
const getObjectInfos_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$t, getObjectInfos_ConfigPropertyMetadata);
|
|
24487
24505
|
const createResourceParams$x = /*#__PURE__*/ createResourceParams$16(getObjectInfos_ConfigPropertyMetadata);
|
|
24488
24506
|
function keyBuilder$2f(luvio, config) {
|
|
24489
24507
|
const resourceParams = createResourceParams$x(config);
|
|
24490
24508
|
return keyBuilder$2g(luvio, resourceParams);
|
|
24491
24509
|
}
|
|
24492
|
-
function typeCheckConfig$
|
|
24510
|
+
function typeCheckConfig$A(untrustedConfig) {
|
|
24493
24511
|
const config = {};
|
|
24494
|
-
typeCheckConfig$
|
|
24512
|
+
typeCheckConfig$1a(untrustedConfig, config, getObjectInfos_ConfigPropertyMetadata);
|
|
24495
24513
|
return config;
|
|
24496
24514
|
}
|
|
24497
|
-
function validateAdapterConfig$
|
|
24515
|
+
function validateAdapterConfig$B(untrustedConfig, configPropertyNames) {
|
|
24498
24516
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
24499
24517
|
return null;
|
|
24500
24518
|
}
|
|
@@ -24502,7 +24520,7 @@ function validateAdapterConfig$D(untrustedConfig, configPropertyNames) {
|
|
|
24502
24520
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
24503
24521
|
}
|
|
24504
24522
|
const coercedConfig = coerceConfig$1(untrustedConfig, getObjectInfos_ConfigPropertyMetadata);
|
|
24505
|
-
const config = typeCheckConfig$
|
|
24523
|
+
const config = typeCheckConfig$A(coercedConfig);
|
|
24506
24524
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
24507
24525
|
return null;
|
|
24508
24526
|
}
|
|
@@ -24528,7 +24546,7 @@ function onFetchResponseError$n(luvio, config, resourceParams, response) {
|
|
|
24528
24546
|
}
|
|
24529
24547
|
function buildNetworkSnapshot$B(luvio, config, options) {
|
|
24530
24548
|
const resourceParams = createResourceParams$x(config);
|
|
24531
|
-
const request = createResourceRequest$
|
|
24549
|
+
const request = createResourceRequest$D(resourceParams);
|
|
24532
24550
|
return luvio.dispatchResourceRequest(request, options)
|
|
24533
24551
|
.then((response) => {
|
|
24534
24552
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$n(luvio, config, resourceParams, response), () => {
|
|
@@ -24557,7 +24575,7 @@ function buildCachedSnapshotCachePolicy$q(context, storeLookup) {
|
|
|
24557
24575
|
return cacheSnapshot;
|
|
24558
24576
|
}
|
|
24559
24577
|
const getObjectInfosAdapterFactory = (luvio) => function UiApi__getObjectInfos(untrustedConfig, requestContext) {
|
|
24560
|
-
const config = validateAdapterConfig$
|
|
24578
|
+
const config = validateAdapterConfig$B(untrustedConfig, getObjectInfos_ConfigPropertyNames);
|
|
24561
24579
|
// Invalid or incomplete config
|
|
24562
24580
|
if (config === null) {
|
|
24563
24581
|
return null;
|
|
@@ -25105,7 +25123,7 @@ function ingestError$k(luvio, params, error, snapshotRefresh) {
|
|
|
25105
25123
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
25106
25124
|
return errorSnapshot;
|
|
25107
25125
|
}
|
|
25108
|
-
function createResourceRequest$
|
|
25126
|
+
function createResourceRequest$C(config) {
|
|
25109
25127
|
const headers = {};
|
|
25110
25128
|
return {
|
|
25111
25129
|
baseUri: '/services/data/v63.0',
|
|
@@ -25119,23 +25137,23 @@ function createResourceRequest$B(config) {
|
|
|
25119
25137
|
};
|
|
25120
25138
|
}
|
|
25121
25139
|
|
|
25122
|
-
const adapterName$
|
|
25140
|
+
const adapterName$s = 'getPicklistValuesByRecordType';
|
|
25123
25141
|
const getPicklistValuesByRecordType_ConfigPropertyMetadata = [
|
|
25124
25142
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
|
|
25125
25143
|
generateParamConfigMetadata('recordTypeId', true, 0 /* UrlParameter */, 0 /* String */, false, getRecordId18),
|
|
25126
25144
|
];
|
|
25127
|
-
const getPicklistValuesByRecordType_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
25145
|
+
const getPicklistValuesByRecordType_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$s, getPicklistValuesByRecordType_ConfigPropertyMetadata);
|
|
25128
25146
|
const createResourceParams$w = /*#__PURE__*/ createResourceParams$16(getPicklistValuesByRecordType_ConfigPropertyMetadata);
|
|
25129
25147
|
function keyBuilder$2c(luvio, config) {
|
|
25130
25148
|
const resourceParams = createResourceParams$w(config);
|
|
25131
25149
|
return keyBuilder$2d(luvio, resourceParams);
|
|
25132
25150
|
}
|
|
25133
|
-
function typeCheckConfig$
|
|
25151
|
+
function typeCheckConfig$z(untrustedConfig) {
|
|
25134
25152
|
const config = {};
|
|
25135
|
-
typeCheckConfig$
|
|
25153
|
+
typeCheckConfig$1a(untrustedConfig, config, getPicklistValuesByRecordType_ConfigPropertyMetadata);
|
|
25136
25154
|
return config;
|
|
25137
25155
|
}
|
|
25138
|
-
function validateAdapterConfig$
|
|
25156
|
+
function validateAdapterConfig$A(untrustedConfig, configPropertyNames) {
|
|
25139
25157
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
25140
25158
|
return null;
|
|
25141
25159
|
}
|
|
@@ -25143,7 +25161,7 @@ function validateAdapterConfig$C(untrustedConfig, configPropertyNames) {
|
|
|
25143
25161
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
25144
25162
|
}
|
|
25145
25163
|
const coercedConfig = coerceConfig$1(untrustedConfig, getPicklistValuesByRecordType_ConfigPropertyMetadata);
|
|
25146
|
-
const config = typeCheckConfig$
|
|
25164
|
+
const config = typeCheckConfig$z(coercedConfig);
|
|
25147
25165
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
25148
25166
|
return null;
|
|
25149
25167
|
}
|
|
@@ -25169,7 +25187,7 @@ function onFetchResponseError$m(luvio, config, resourceParams, response) {
|
|
|
25169
25187
|
}
|
|
25170
25188
|
function buildNetworkSnapshot$A(luvio, config, options) {
|
|
25171
25189
|
const resourceParams = createResourceParams$w(config);
|
|
25172
|
-
const request = createResourceRequest$
|
|
25190
|
+
const request = createResourceRequest$C(resourceParams);
|
|
25173
25191
|
return luvio.dispatchResourceRequest(request, options)
|
|
25174
25192
|
.then((response) => {
|
|
25175
25193
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$m(luvio, config, resourceParams, response), () => {
|
|
@@ -25198,7 +25216,7 @@ function buildCachedSnapshotCachePolicy$p(context, storeLookup) {
|
|
|
25198
25216
|
return cacheSnapshot;
|
|
25199
25217
|
}
|
|
25200
25218
|
const getPicklistValuesByRecordTypeAdapterFactory = (luvio) => function UiApi__getPicklistValuesByRecordType(untrustedConfig, requestContext) {
|
|
25201
|
-
const config = validateAdapterConfig$
|
|
25219
|
+
const config = validateAdapterConfig$A(untrustedConfig, getPicklistValuesByRecordType_ConfigPropertyNames);
|
|
25202
25220
|
// Invalid or incomplete config
|
|
25203
25221
|
if (config === null) {
|
|
25204
25222
|
return null;
|
|
@@ -25210,7 +25228,7 @@ const getPicklistValuesByRecordTypeAdapterFactory = (luvio) => function UiApi__g
|
|
|
25210
25228
|
function getResponseCacheKeys$w(storeKeyMap, luvio, resourceParams, response) {
|
|
25211
25229
|
getTypeCacheKeys$1O(storeKeyMap, luvio, response);
|
|
25212
25230
|
}
|
|
25213
|
-
function createResourceRequest$
|
|
25231
|
+
function createResourceRequest$B(config) {
|
|
25214
25232
|
const headers = {};
|
|
25215
25233
|
return {
|
|
25216
25234
|
baseUri: '/services/data/v63.0',
|
|
@@ -25241,7 +25259,7 @@ function buildRequestAndKey(luvio, config) {
|
|
|
25241
25259
|
recordTypeId,
|
|
25242
25260
|
},
|
|
25243
25261
|
};
|
|
25244
|
-
const request = createResourceRequest$
|
|
25262
|
+
const request = createResourceRequest$B(resourceParams);
|
|
25245
25263
|
const key = keyBuilder$2e(luvio, { id: request.basePath });
|
|
25246
25264
|
return { resourceParams, request, key };
|
|
25247
25265
|
}
|
|
@@ -25274,7 +25292,7 @@ function buildNetworkSnapshot$z(luvio, config, options) {
|
|
|
25274
25292
|
}
|
|
25275
25293
|
function buildCachedSnapshot$4(luvio, config) {
|
|
25276
25294
|
const fieldNames = getFieldId(config.fieldApiName);
|
|
25277
|
-
const request = createResourceRequest$
|
|
25295
|
+
const request = createResourceRequest$B({
|
|
25278
25296
|
urlParams: {
|
|
25279
25297
|
objectApiName: fieldNames.objectApiName,
|
|
25280
25298
|
fieldApiName: fieldNames.fieldApiName,
|
|
@@ -25313,7 +25331,7 @@ function buildNetworkSnapshotCachePolicy$p(context, coercedAdapterRequestContext
|
|
|
25313
25331
|
function buildCachedSnapshotCachePolicy$o(context, storeLookup) {
|
|
25314
25332
|
const { config, luvio } = context;
|
|
25315
25333
|
const fieldNames = getFieldId(config.fieldApiName);
|
|
25316
|
-
const { basePath } = createResourceRequest$
|
|
25334
|
+
const { basePath } = createResourceRequest$B({
|
|
25317
25335
|
urlParams: {
|
|
25318
25336
|
objectApiName: fieldNames.objectApiName,
|
|
25319
25337
|
fieldApiName: fieldNames.fieldApiName,
|
|
@@ -25339,8 +25357,8 @@ const picklistValuesConfigPropertyNames = {
|
|
|
25339
25357
|
optional: [],
|
|
25340
25358
|
},
|
|
25341
25359
|
};
|
|
25342
|
-
function validateAdapterConfig$
|
|
25343
|
-
return validateAdapterConfig$
|
|
25360
|
+
function validateAdapterConfig$z(untrusted, _config) {
|
|
25361
|
+
return validateAdapterConfig$y(untrusted, picklistValuesConfigPropertyNames);
|
|
25344
25362
|
}
|
|
25345
25363
|
|
|
25346
25364
|
const getPicklistValues_ConfigPropertyMetadata = [
|
|
@@ -25348,12 +25366,12 @@ const getPicklistValues_ConfigPropertyMetadata = [
|
|
|
25348
25366
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
25349
25367
|
generateParamConfigMetadata('recordTypeId', true, 0 /* UrlParameter */, 0 /* String */, false, getRecordId18),
|
|
25350
25368
|
];
|
|
25351
|
-
function typeCheckConfig$
|
|
25369
|
+
function typeCheckConfig$y(untrustedConfig) {
|
|
25352
25370
|
const config = {};
|
|
25353
|
-
typeCheckConfig$
|
|
25371
|
+
typeCheckConfig$1a(untrustedConfig, config, getPicklistValues_ConfigPropertyMetadata);
|
|
25354
25372
|
return config;
|
|
25355
25373
|
}
|
|
25356
|
-
function validateAdapterConfig$
|
|
25374
|
+
function validateAdapterConfig$y(untrustedConfig, configPropertyNames) {
|
|
25357
25375
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
25358
25376
|
return null;
|
|
25359
25377
|
}
|
|
@@ -25361,14 +25379,14 @@ function validateAdapterConfig$A(untrustedConfig, configPropertyNames) {
|
|
|
25361
25379
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
25362
25380
|
}
|
|
25363
25381
|
const coercedConfig = coerceConfig$1(untrustedConfig, getPicklistValues_ConfigPropertyMetadata);
|
|
25364
|
-
const config = typeCheckConfig$
|
|
25382
|
+
const config = typeCheckConfig$y(coercedConfig);
|
|
25365
25383
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
25366
25384
|
return null;
|
|
25367
25385
|
}
|
|
25368
25386
|
return config;
|
|
25369
25387
|
}
|
|
25370
25388
|
const getPicklistValuesAdapterFactory = (luvio) => function UiApi__getPicklistValues(untrustedConfig, requestContext) {
|
|
25371
|
-
const config = validateAdapterConfig$
|
|
25389
|
+
const config = validateAdapterConfig$z(untrustedConfig);
|
|
25372
25390
|
// Invalid or incomplete config
|
|
25373
25391
|
if (config === null) {
|
|
25374
25392
|
return null;
|
|
@@ -25422,7 +25440,7 @@ function ingestError$j(luvio, params, error, snapshotRefresh) {
|
|
|
25422
25440
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
25423
25441
|
return errorSnapshot;
|
|
25424
25442
|
}
|
|
25425
|
-
function createResourceRequest$
|
|
25443
|
+
function createResourceRequest$A(config) {
|
|
25426
25444
|
const headers = {};
|
|
25427
25445
|
return {
|
|
25428
25446
|
baseUri: '/services/data/v63.0',
|
|
@@ -25436,7 +25454,7 @@ function createResourceRequest$z(config) {
|
|
|
25436
25454
|
};
|
|
25437
25455
|
}
|
|
25438
25456
|
|
|
25439
|
-
const adapterName$
|
|
25457
|
+
const adapterName$r = 'getPathLayout';
|
|
25440
25458
|
const getPathLayout_ConfigPropertyMetadata = [
|
|
25441
25459
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
|
|
25442
25460
|
generateParamConfigMetadata('formFactor', false, 1 /* QueryParameter */, 0 /* String */),
|
|
@@ -25444,18 +25462,18 @@ const getPathLayout_ConfigPropertyMetadata = [
|
|
|
25444
25462
|
generateParamConfigMetadata('mode', false, 1 /* QueryParameter */, 0 /* String */, false, coerceLayoutMode),
|
|
25445
25463
|
generateParamConfigMetadata('recordTypeId', false, 1 /* QueryParameter */, 0 /* String */, false, getRecordId18),
|
|
25446
25464
|
];
|
|
25447
|
-
const getPathLayout_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
25465
|
+
const getPathLayout_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$r, getPathLayout_ConfigPropertyMetadata);
|
|
25448
25466
|
const createResourceParams$v = /*#__PURE__*/ createResourceParams$16(getPathLayout_ConfigPropertyMetadata);
|
|
25449
25467
|
function keyBuilder$2a(luvio, config) {
|
|
25450
25468
|
const resourceParams = createResourceParams$v(config);
|
|
25451
25469
|
return keyBuilder$2b(luvio, resourceParams);
|
|
25452
25470
|
}
|
|
25453
|
-
function typeCheckConfig$
|
|
25471
|
+
function typeCheckConfig$x(untrustedConfig) {
|
|
25454
25472
|
const config = {};
|
|
25455
|
-
typeCheckConfig$
|
|
25473
|
+
typeCheckConfig$1a(untrustedConfig, config, getPathLayout_ConfigPropertyMetadata);
|
|
25456
25474
|
return config;
|
|
25457
25475
|
}
|
|
25458
|
-
function validateAdapterConfig$
|
|
25476
|
+
function validateAdapterConfig$x(untrustedConfig, configPropertyNames) {
|
|
25459
25477
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
25460
25478
|
return null;
|
|
25461
25479
|
}
|
|
@@ -25463,7 +25481,7 @@ function validateAdapterConfig$z(untrustedConfig, configPropertyNames) {
|
|
|
25463
25481
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
25464
25482
|
}
|
|
25465
25483
|
const coercedConfig = coerceConfig$1(untrustedConfig, getPathLayout_ConfigPropertyMetadata);
|
|
25466
|
-
const config = typeCheckConfig$
|
|
25484
|
+
const config = typeCheckConfig$x(coercedConfig);
|
|
25467
25485
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
25468
25486
|
return null;
|
|
25469
25487
|
}
|
|
@@ -25489,7 +25507,7 @@ function onFetchResponseError$l(luvio, config, resourceParams, response) {
|
|
|
25489
25507
|
}
|
|
25490
25508
|
function buildNetworkSnapshot$y(luvio, config, options) {
|
|
25491
25509
|
const resourceParams = createResourceParams$v(config);
|
|
25492
|
-
const request = createResourceRequest$
|
|
25510
|
+
const request = createResourceRequest$A(resourceParams);
|
|
25493
25511
|
return luvio.dispatchResourceRequest(request, options)
|
|
25494
25512
|
.then((response) => {
|
|
25495
25513
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$l(luvio, config, resourceParams, response), () => {
|
|
@@ -25518,7 +25536,7 @@ function buildCachedSnapshotCachePolicy$n(context, storeLookup) {
|
|
|
25518
25536
|
return cacheSnapshot;
|
|
25519
25537
|
}
|
|
25520
25538
|
const getPathLayoutAdapterFactory = (luvio) => function UiApi__getPathLayout(untrustedConfig, requestContext) {
|
|
25521
|
-
const config = validateAdapterConfig$
|
|
25539
|
+
const config = validateAdapterConfig$x(untrustedConfig, getPathLayout_ConfigPropertyNames);
|
|
25522
25540
|
// Invalid or incomplete config
|
|
25523
25541
|
if (config === null) {
|
|
25524
25542
|
return null;
|
|
@@ -25748,7 +25766,7 @@ function ingestError$i(luvio, params, error, snapshotRefresh) {
|
|
|
25748
25766
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
25749
25767
|
return errorSnapshot;
|
|
25750
25768
|
}
|
|
25751
|
-
function createResourceRequest$
|
|
25769
|
+
function createResourceRequest$z(config) {
|
|
25752
25770
|
const headers = {};
|
|
25753
25771
|
return {
|
|
25754
25772
|
baseUri: '/services/data/v63.0',
|
|
@@ -25762,21 +25780,21 @@ function createResourceRequest$y(config) {
|
|
|
25762
25780
|
};
|
|
25763
25781
|
}
|
|
25764
25782
|
|
|
25765
|
-
const adapterName$
|
|
25783
|
+
const adapterName$q = 'getDuplicates';
|
|
25766
25784
|
const getDuplicates_ConfigPropertyMetadata = [
|
|
25767
25785
|
generateParamConfigMetadata('allowSaveOnDuplicate', false, 2 /* Body */, 1 /* Boolean */),
|
|
25768
25786
|
generateParamConfigMetadata('apiName', false, 2 /* Body */, 0 /* String */),
|
|
25769
25787
|
generateParamConfigMetadata('fields', true, 2 /* Body */, 4 /* Unsupported */),
|
|
25770
25788
|
];
|
|
25771
|
-
const getDuplicates_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
25789
|
+
const getDuplicates_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$q, getDuplicates_ConfigPropertyMetadata);
|
|
25772
25790
|
const createResourceParams$u = /*#__PURE__*/ createResourceParams$16(getDuplicates_ConfigPropertyMetadata);
|
|
25773
25791
|
function keyBuilder$28(luvio, config) {
|
|
25774
25792
|
const resourceParams = createResourceParams$u(config);
|
|
25775
25793
|
return keyBuilder$29(luvio, resourceParams);
|
|
25776
25794
|
}
|
|
25777
|
-
function typeCheckConfig$
|
|
25795
|
+
function typeCheckConfig$w(untrustedConfig) {
|
|
25778
25796
|
const config = {};
|
|
25779
|
-
typeCheckConfig$
|
|
25797
|
+
typeCheckConfig$1a(untrustedConfig, config, getDuplicates_ConfigPropertyMetadata);
|
|
25780
25798
|
const untrustedConfig_fields = untrustedConfig.fields;
|
|
25781
25799
|
if (untrustedIsObject(untrustedConfig_fields)) {
|
|
25782
25800
|
const untrustedConfig_fields_object = {};
|
|
@@ -25811,14 +25829,14 @@ function typeCheckConfig$y(untrustedConfig) {
|
|
|
25811
25829
|
}
|
|
25812
25830
|
return config;
|
|
25813
25831
|
}
|
|
25814
|
-
function validateAdapterConfig$
|
|
25832
|
+
function validateAdapterConfig$w(untrustedConfig, configPropertyNames) {
|
|
25815
25833
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
25816
25834
|
return null;
|
|
25817
25835
|
}
|
|
25818
25836
|
if (process.env.NODE_ENV !== 'production') {
|
|
25819
25837
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
25820
25838
|
}
|
|
25821
|
-
const config = typeCheckConfig$
|
|
25839
|
+
const config = typeCheckConfig$w(untrustedConfig);
|
|
25822
25840
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
25823
25841
|
return null;
|
|
25824
25842
|
}
|
|
@@ -25844,7 +25862,7 @@ function onFetchResponseError$k(luvio, config, resourceParams, response) {
|
|
|
25844
25862
|
}
|
|
25845
25863
|
function buildNetworkSnapshot$x(luvio, config, options) {
|
|
25846
25864
|
const resourceParams = createResourceParams$u(config);
|
|
25847
|
-
const request = createResourceRequest$
|
|
25865
|
+
const request = createResourceRequest$z(resourceParams);
|
|
25848
25866
|
return luvio.dispatchResourceRequest(request, options)
|
|
25849
25867
|
.then((response) => {
|
|
25850
25868
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$k(luvio, config, resourceParams, response), () => {
|
|
@@ -25873,7 +25891,7 @@ function buildCachedSnapshotCachePolicy$m(context, storeLookup) {
|
|
|
25873
25891
|
return cacheSnapshot;
|
|
25874
25892
|
}
|
|
25875
25893
|
const getDuplicatesAdapterFactory = (luvio) => function UiApi__getDuplicates(untrustedConfig, requestContext) {
|
|
25876
|
-
const config = validateAdapterConfig$
|
|
25894
|
+
const config = validateAdapterConfig$w(untrustedConfig, getDuplicates_ConfigPropertyNames);
|
|
25877
25895
|
// Invalid or incomplete config
|
|
25878
25896
|
if (config === null) {
|
|
25879
25897
|
return null;
|
|
@@ -26967,7 +26985,7 @@ function ingestError$h(luvio, params, error, snapshotRefresh) {
|
|
|
26967
26985
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
26968
26986
|
return errorSnapshot;
|
|
26969
26987
|
}
|
|
26970
|
-
function createResourceRequest$
|
|
26988
|
+
function createResourceRequest$y(config) {
|
|
26971
26989
|
const headers = {};
|
|
26972
26990
|
return {
|
|
26973
26991
|
baseUri: '/services/data/v63.0',
|
|
@@ -27074,7 +27092,7 @@ function buildNetworkSnapshot$w(luvio, config, options) {
|
|
|
27074
27092
|
if (recordIdsNotInFlight.length > 0) {
|
|
27075
27093
|
recordIdsNotInFlight.forEach((id) => IN_FLIGHT_REQUESTS.add(id));
|
|
27076
27094
|
const resourceParams = createResourceParams$t({ ...config, recordIds: recordIdsNotInFlight });
|
|
27077
|
-
const request = createResourceRequest$
|
|
27095
|
+
const request = createResourceRequest$y(resourceParams);
|
|
27078
27096
|
luvioResponse = luvio
|
|
27079
27097
|
.dispatchResourceRequest(request, options)
|
|
27080
27098
|
.then((response) => {
|
|
@@ -27171,19 +27189,19 @@ function buildNetworkSnapshotCachePolicy$m(context, coercedAdapterRequestContext
|
|
|
27171
27189
|
return buildNetworkSnapshot$w(luvio, config, dispatchOptions);
|
|
27172
27190
|
}
|
|
27173
27191
|
|
|
27174
|
-
const adapterName$
|
|
27192
|
+
const adapterName$p = 'getRecordAvatars';
|
|
27175
27193
|
const getRecordAvatars_ConfigPropertyMetadata = [
|
|
27176
27194
|
generateParamConfigMetadata('recordIds', true, 0 /* UrlParameter */, 0 /* String */, true, getRecordId18Array),
|
|
27177
27195
|
generateParamConfigMetadata('formFactor', false, 1 /* QueryParameter */, 0 /* String */, false, coerceFormFactor),
|
|
27178
27196
|
];
|
|
27179
|
-
const getRecordAvatars_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
27197
|
+
const getRecordAvatars_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$p, getRecordAvatars_ConfigPropertyMetadata);
|
|
27180
27198
|
const createResourceParams$t = /*#__PURE__*/ createResourceParams$16(getRecordAvatars_ConfigPropertyMetadata);
|
|
27181
|
-
function typeCheckConfig$
|
|
27199
|
+
function typeCheckConfig$v(untrustedConfig) {
|
|
27182
27200
|
const config = {};
|
|
27183
|
-
typeCheckConfig$
|
|
27201
|
+
typeCheckConfig$1a(untrustedConfig, config, getRecordAvatars_ConfigPropertyMetadata);
|
|
27184
27202
|
return config;
|
|
27185
27203
|
}
|
|
27186
|
-
function validateAdapterConfig$
|
|
27204
|
+
function validateAdapterConfig$v(untrustedConfig, configPropertyNames) {
|
|
27187
27205
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
27188
27206
|
return null;
|
|
27189
27207
|
}
|
|
@@ -27191,7 +27209,7 @@ function validateAdapterConfig$x(untrustedConfig, configPropertyNames) {
|
|
|
27191
27209
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
27192
27210
|
}
|
|
27193
27211
|
const coercedConfig = coerceConfig$1(untrustedConfig, getRecordAvatars_ConfigPropertyMetadata);
|
|
27194
|
-
const config = typeCheckConfig$
|
|
27212
|
+
const config = typeCheckConfig$v(coercedConfig);
|
|
27195
27213
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
27196
27214
|
return null;
|
|
27197
27215
|
}
|
|
@@ -27212,7 +27230,7 @@ function onFetchResponseError$j(luvio, config, resourceParams, response) {
|
|
|
27212
27230
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
27213
27231
|
}
|
|
27214
27232
|
const getRecordAvatarsAdapterFactory = (luvio) => function UiApi__getRecordAvatars(untrustedConfig, requestContext) {
|
|
27215
|
-
const config = validateAdapterConfig$
|
|
27233
|
+
const config = validateAdapterConfig$v(untrustedConfig, getRecordAvatars_ConfigPropertyNames);
|
|
27216
27234
|
// Invalid or incomplete config
|
|
27217
27235
|
if (config === null) {
|
|
27218
27236
|
return null;
|
|
@@ -27261,7 +27279,7 @@ function coerceConfig(config) {
|
|
|
27261
27279
|
}
|
|
27262
27280
|
return coercedRecordsConfig;
|
|
27263
27281
|
}
|
|
27264
|
-
function typeCheckConfig$
|
|
27282
|
+
function typeCheckConfig$u(untrustedConfig) {
|
|
27265
27283
|
const coercedConfig = coerceConfig(untrustedConfig);
|
|
27266
27284
|
const config = {};
|
|
27267
27285
|
const untrustedConfigs_records = coercedConfig.records;
|
|
@@ -27343,14 +27361,14 @@ function validateFieldsObjectApiName(config) {
|
|
|
27343
27361
|
}
|
|
27344
27362
|
}
|
|
27345
27363
|
}
|
|
27346
|
-
function validateAdapterConfig$
|
|
27364
|
+
function validateAdapterConfig$u(untrustedConfig, configPropertyNames) {
|
|
27347
27365
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
27348
27366
|
return null;
|
|
27349
27367
|
}
|
|
27350
27368
|
if (process.env.NODE_ENV !== 'production') {
|
|
27351
27369
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
27352
27370
|
}
|
|
27353
|
-
const config = typeCheckConfig$
|
|
27371
|
+
const config = typeCheckConfig$u(untrustedConfig);
|
|
27354
27372
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
27355
27373
|
return null;
|
|
27356
27374
|
}
|
|
@@ -27382,7 +27400,7 @@ function onFetchResponseError$i(luvio, config, resourceParams, response) {
|
|
|
27382
27400
|
}
|
|
27383
27401
|
function buildNetworkSnapshot$v(luvio, config, options) {
|
|
27384
27402
|
const resourceParams = createResourceParams$14(config);
|
|
27385
|
-
const request = createResourceRequest$
|
|
27403
|
+
const request = createResourceRequest$1f(resourceParams);
|
|
27386
27404
|
return luvio.dispatchResourceRequest(request, options)
|
|
27387
27405
|
.then((response) => {
|
|
27388
27406
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$S(luvio, config, resourceParams, response), () => {
|
|
@@ -27411,7 +27429,7 @@ function buildCachedSnapshotCachePolicy$k(context, storeLookup) {
|
|
|
27411
27429
|
return cacheSnapshot;
|
|
27412
27430
|
}
|
|
27413
27431
|
const getRecordsAdapterFactory = (luvio) => function UiApi__getRecords(untrustedConfig, requestContext) {
|
|
27414
|
-
const config = validateAdapterConfig$
|
|
27432
|
+
const config = validateAdapterConfig$u(untrustedConfig, getRecords_ConfigPropertyNames);
|
|
27415
27433
|
// Invalid or incomplete config
|
|
27416
27434
|
if (config === null) {
|
|
27417
27435
|
return null;
|
|
@@ -27831,7 +27849,7 @@ function ingestError$g(luvio, params, error, snapshotRefresh) {
|
|
|
27831
27849
|
luvio.storeIngestError(key, errorSnapshot);
|
|
27832
27850
|
return errorSnapshot;
|
|
27833
27851
|
}
|
|
27834
|
-
function createResourceRequest$
|
|
27852
|
+
function createResourceRequest$x(config) {
|
|
27835
27853
|
const headers = {};
|
|
27836
27854
|
return {
|
|
27837
27855
|
baseUri: '/services/data/v63.0',
|
|
@@ -28096,7 +28114,7 @@ function ingestError$f(luvio, params, error, snapshotRefresh) {
|
|
|
28096
28114
|
luvio.storeIngestError(key, errorSnapshot);
|
|
28097
28115
|
return errorSnapshot;
|
|
28098
28116
|
}
|
|
28099
|
-
function createResourceRequest$
|
|
28117
|
+
function createResourceRequest$w(config) {
|
|
28100
28118
|
const headers = {};
|
|
28101
28119
|
return {
|
|
28102
28120
|
baseUri: '/services/data/v63.0',
|
|
@@ -28110,24 +28128,24 @@ function createResourceRequest$v(config) {
|
|
|
28110
28128
|
};
|
|
28111
28129
|
}
|
|
28112
28130
|
|
|
28113
|
-
const adapterName$
|
|
28131
|
+
const adapterName$o = 'getRelatedListsCount';
|
|
28114
28132
|
const getRelatedListsCount_ConfigPropertyMetadata = [
|
|
28115
28133
|
generateParamConfigMetadata('parentRecordId', true, 0 /* UrlParameter */, 0 /* String */, false, getRecordId18),
|
|
28116
28134
|
generateParamConfigMetadata('relatedListNames', true, 0 /* UrlParameter */, 0 /* String */, true, getFieldApiNamesArray),
|
|
28117
28135
|
generateParamConfigMetadata('maxCount', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
28118
28136
|
];
|
|
28119
|
-
const getRelatedListsCount_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
28137
|
+
const getRelatedListsCount_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$o, getRelatedListsCount_ConfigPropertyMetadata);
|
|
28120
28138
|
const createResourceParams$s = /*#__PURE__*/ createResourceParams$16(getRelatedListsCount_ConfigPropertyMetadata);
|
|
28121
28139
|
function keyBuilder$21(luvio, config) {
|
|
28122
28140
|
const resourceParams = createResourceParams$s(config);
|
|
28123
28141
|
return keyBuilder$22(luvio, resourceParams);
|
|
28124
28142
|
}
|
|
28125
|
-
function typeCheckConfig$
|
|
28143
|
+
function typeCheckConfig$t(untrustedConfig) {
|
|
28126
28144
|
const config = {};
|
|
28127
|
-
typeCheckConfig$
|
|
28145
|
+
typeCheckConfig$1a(untrustedConfig, config, getRelatedListsCount_ConfigPropertyMetadata);
|
|
28128
28146
|
return config;
|
|
28129
28147
|
}
|
|
28130
|
-
function validateAdapterConfig$
|
|
28148
|
+
function validateAdapterConfig$t(untrustedConfig, configPropertyNames) {
|
|
28131
28149
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
28132
28150
|
return null;
|
|
28133
28151
|
}
|
|
@@ -28135,7 +28153,7 @@ function validateAdapterConfig$v(untrustedConfig, configPropertyNames) {
|
|
|
28135
28153
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
28136
28154
|
}
|
|
28137
28155
|
const coercedConfig = coerceConfig$1(untrustedConfig, getRelatedListsCount_ConfigPropertyMetadata);
|
|
28138
|
-
const config = typeCheckConfig$
|
|
28156
|
+
const config = typeCheckConfig$t(coercedConfig);
|
|
28139
28157
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
28140
28158
|
return null;
|
|
28141
28159
|
}
|
|
@@ -28161,7 +28179,7 @@ function onFetchResponseError$h(luvio, config, resourceParams, response) {
|
|
|
28161
28179
|
}
|
|
28162
28180
|
function buildNetworkSnapshot$u(luvio, config, options) {
|
|
28163
28181
|
const resourceParams = createResourceParams$s(config);
|
|
28164
|
-
const request = createResourceRequest$
|
|
28182
|
+
const request = createResourceRequest$w(resourceParams);
|
|
28165
28183
|
return luvio.dispatchResourceRequest(request, options)
|
|
28166
28184
|
.then((response) => {
|
|
28167
28185
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$i(luvio, config, resourceParams, response), () => {
|
|
@@ -28190,7 +28208,7 @@ function buildCachedSnapshotCachePolicy$j(context, storeLookup) {
|
|
|
28190
28208
|
return cacheSnapshot;
|
|
28191
28209
|
}
|
|
28192
28210
|
const getRelatedListsCountAdapterFactory = (luvio) => function UiApi__getRelatedListsCount(untrustedConfig, requestContext) {
|
|
28193
|
-
const config = validateAdapterConfig$
|
|
28211
|
+
const config = validateAdapterConfig$t(untrustedConfig, getRelatedListsCount_ConfigPropertyNames);
|
|
28194
28212
|
// Invalid or incomplete config
|
|
28195
28213
|
if (config === null) {
|
|
28196
28214
|
return null;
|
|
@@ -28199,24 +28217,24 @@ const getRelatedListsCountAdapterFactory = (luvio) => function UiApi__getRelated
|
|
|
28199
28217
|
buildCachedSnapshotCachePolicy$j, buildNetworkSnapshotCachePolicy$k);
|
|
28200
28218
|
};
|
|
28201
28219
|
|
|
28202
|
-
const adapterName$
|
|
28220
|
+
const adapterName$n = 'getRelatedListCount';
|
|
28203
28221
|
const getRelatedListCount_ConfigPropertyMetadata = [
|
|
28204
28222
|
generateParamConfigMetadata('parentRecordId', true, 0 /* UrlParameter */, 0 /* String */, false, getRecordId18),
|
|
28205
28223
|
generateParamConfigMetadata('relatedListId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
28206
28224
|
generateParamConfigMetadata('maxCount', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
28207
28225
|
];
|
|
28208
|
-
const getRelatedListCount_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
28226
|
+
const getRelatedListCount_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$n, getRelatedListCount_ConfigPropertyMetadata);
|
|
28209
28227
|
const createResourceParams$r = /*#__PURE__*/ createResourceParams$16(getRelatedListCount_ConfigPropertyMetadata);
|
|
28210
28228
|
function keyBuilder$20(luvio, config) {
|
|
28211
28229
|
const resourceParams = createResourceParams$r(config);
|
|
28212
28230
|
return keyBuilder$23(luvio, resourceParams);
|
|
28213
28231
|
}
|
|
28214
|
-
function typeCheckConfig$
|
|
28232
|
+
function typeCheckConfig$s(untrustedConfig) {
|
|
28215
28233
|
const config = {};
|
|
28216
|
-
typeCheckConfig$
|
|
28234
|
+
typeCheckConfig$1a(untrustedConfig, config, getRelatedListCount_ConfigPropertyMetadata);
|
|
28217
28235
|
return config;
|
|
28218
28236
|
}
|
|
28219
|
-
function validateAdapterConfig$
|
|
28237
|
+
function validateAdapterConfig$s(untrustedConfig, configPropertyNames) {
|
|
28220
28238
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
28221
28239
|
return null;
|
|
28222
28240
|
}
|
|
@@ -28224,7 +28242,7 @@ function validateAdapterConfig$u(untrustedConfig, configPropertyNames) {
|
|
|
28224
28242
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
28225
28243
|
}
|
|
28226
28244
|
const coercedConfig = coerceConfig$1(untrustedConfig, getRelatedListCount_ConfigPropertyMetadata);
|
|
28227
|
-
const config = typeCheckConfig$
|
|
28245
|
+
const config = typeCheckConfig$s(coercedConfig);
|
|
28228
28246
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
28229
28247
|
return null;
|
|
28230
28248
|
}
|
|
@@ -28250,7 +28268,7 @@ function onFetchResponseError$g(luvio, config, resourceParams, response) {
|
|
|
28250
28268
|
}
|
|
28251
28269
|
function buildNetworkSnapshot$t(luvio, config, options) {
|
|
28252
28270
|
const resourceParams = createResourceParams$r(config);
|
|
28253
|
-
const request = createResourceRequest$
|
|
28271
|
+
const request = createResourceRequest$x(resourceParams);
|
|
28254
28272
|
return luvio.dispatchResourceRequest(request, options)
|
|
28255
28273
|
.then((response) => {
|
|
28256
28274
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$h(luvio, config, resourceParams, response), () => {
|
|
@@ -28279,7 +28297,7 @@ function buildCachedSnapshotCachePolicy$i(context, storeLookup) {
|
|
|
28279
28297
|
return cacheSnapshot;
|
|
28280
28298
|
}
|
|
28281
28299
|
const getRelatedListCountAdapterFactory = (luvio) => function UiApi__getRelatedListCount(untrustedConfig, requestContext) {
|
|
28282
|
-
const config = validateAdapterConfig$
|
|
28300
|
+
const config = validateAdapterConfig$s(untrustedConfig, getRelatedListCount_ConfigPropertyNames);
|
|
28283
28301
|
// Invalid or incomplete config
|
|
28284
28302
|
if (config === null) {
|
|
28285
28303
|
return null;
|
|
@@ -28790,7 +28808,7 @@ function ingestError$e(luvio, params, error, snapshotRefresh) {
|
|
|
28790
28808
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
28791
28809
|
return errorSnapshot;
|
|
28792
28810
|
}
|
|
28793
|
-
function createResourceRequest$
|
|
28811
|
+
function createResourceRequest$v(config) {
|
|
28794
28812
|
const headers = {};
|
|
28795
28813
|
return {
|
|
28796
28814
|
baseUri: '/services/data/v63.0',
|
|
@@ -29060,7 +29078,7 @@ function ingestError$d(luvio, params, error, snapshotRefresh) {
|
|
|
29060
29078
|
luvio.storeIngestError(key, errorSnapshot);
|
|
29061
29079
|
return errorSnapshot;
|
|
29062
29080
|
}
|
|
29063
|
-
function createResourceRequest$
|
|
29081
|
+
function createResourceRequest$u(config) {
|
|
29064
29082
|
const headers = {};
|
|
29065
29083
|
return {
|
|
29066
29084
|
baseUri: '/services/data/v63.0',
|
|
@@ -29074,24 +29092,24 @@ function createResourceRequest$t(config) {
|
|
|
29074
29092
|
};
|
|
29075
29093
|
}
|
|
29076
29094
|
|
|
29077
|
-
const adapterName$
|
|
29095
|
+
const adapterName$m = 'getRelatedListInfoBatch';
|
|
29078
29096
|
const getRelatedListInfoBatch_ConfigPropertyMetadata = [
|
|
29079
29097
|
generateParamConfigMetadata('parentObjectApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
|
|
29080
29098
|
generateParamConfigMetadata('relatedListNames', true, 0 /* UrlParameter */, 0 /* String */, true),
|
|
29081
29099
|
generateParamConfigMetadata('recordTypeId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
29082
29100
|
];
|
|
29083
|
-
const getRelatedListInfoBatch_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
29101
|
+
const getRelatedListInfoBatch_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$m, getRelatedListInfoBatch_ConfigPropertyMetadata);
|
|
29084
29102
|
const createResourceParams$q = /*#__PURE__*/ createResourceParams$16(getRelatedListInfoBatch_ConfigPropertyMetadata);
|
|
29085
29103
|
function keyBuilder$1Y(luvio, config) {
|
|
29086
29104
|
const resourceParams = createResourceParams$q(config);
|
|
29087
29105
|
return keyBuilder$1Z(luvio, resourceParams);
|
|
29088
29106
|
}
|
|
29089
|
-
function typeCheckConfig$
|
|
29107
|
+
function typeCheckConfig$r(untrustedConfig) {
|
|
29090
29108
|
const config = {};
|
|
29091
|
-
typeCheckConfig$
|
|
29109
|
+
typeCheckConfig$1a(untrustedConfig, config, getRelatedListInfoBatch_ConfigPropertyMetadata);
|
|
29092
29110
|
return config;
|
|
29093
29111
|
}
|
|
29094
|
-
function validateAdapterConfig$
|
|
29112
|
+
function validateAdapterConfig$r(untrustedConfig, configPropertyNames) {
|
|
29095
29113
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
29096
29114
|
return null;
|
|
29097
29115
|
}
|
|
@@ -29099,7 +29117,7 @@ function validateAdapterConfig$t(untrustedConfig, configPropertyNames) {
|
|
|
29099
29117
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
29100
29118
|
}
|
|
29101
29119
|
const coercedConfig = coerceConfig$1(untrustedConfig, getRelatedListInfoBatch_ConfigPropertyMetadata);
|
|
29102
|
-
const config = typeCheckConfig$
|
|
29120
|
+
const config = typeCheckConfig$r(coercedConfig);
|
|
29103
29121
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
29104
29122
|
return null;
|
|
29105
29123
|
}
|
|
@@ -29125,7 +29143,7 @@ function onFetchResponseError$f(luvio, config, resourceParams, response) {
|
|
|
29125
29143
|
}
|
|
29126
29144
|
function buildNetworkSnapshot$s(luvio, config, options) {
|
|
29127
29145
|
const resourceParams = createResourceParams$q(config);
|
|
29128
|
-
const request = createResourceRequest$
|
|
29146
|
+
const request = createResourceRequest$u(resourceParams);
|
|
29129
29147
|
return luvio.dispatchResourceRequest(request, options)
|
|
29130
29148
|
.then((response) => {
|
|
29131
29149
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$g(luvio, config, resourceParams, response), () => {
|
|
@@ -29154,7 +29172,7 @@ function buildCachedSnapshotCachePolicy$h(context, storeLookup) {
|
|
|
29154
29172
|
return cacheSnapshot;
|
|
29155
29173
|
}
|
|
29156
29174
|
const getRelatedListInfoBatchAdapterFactory = (luvio) => function UiApi__getRelatedListInfoBatch(untrustedConfig, requestContext) {
|
|
29157
|
-
const config = validateAdapterConfig$
|
|
29175
|
+
const config = validateAdapterConfig$r(untrustedConfig, getRelatedListInfoBatch_ConfigPropertyNames);
|
|
29158
29176
|
// Invalid or incomplete config
|
|
29159
29177
|
if (config === null) {
|
|
29160
29178
|
return null;
|
|
@@ -29454,7 +29472,7 @@ function ingestError$c(luvio, params, error, snapshotRefresh) {
|
|
|
29454
29472
|
luvio.storeIngestError(key, errorSnapshot);
|
|
29455
29473
|
return errorSnapshot;
|
|
29456
29474
|
}
|
|
29457
|
-
function createResourceRequest$
|
|
29475
|
+
function createResourceRequest$t(config) {
|
|
29458
29476
|
const headers = {};
|
|
29459
29477
|
return {
|
|
29460
29478
|
baseUri: '/services/data/v63.0',
|
|
@@ -29468,23 +29486,23 @@ function createResourceRequest$s(config) {
|
|
|
29468
29486
|
};
|
|
29469
29487
|
}
|
|
29470
29488
|
|
|
29471
|
-
const adapterName$
|
|
29489
|
+
const adapterName$l = 'getRelatedListsInfo';
|
|
29472
29490
|
const getRelatedListsInfo_ConfigPropertyMetadata = [
|
|
29473
29491
|
generateParamConfigMetadata('parentObjectApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
|
|
29474
29492
|
generateParamConfigMetadata('recordTypeId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
29475
29493
|
];
|
|
29476
|
-
const getRelatedListsInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
29494
|
+
const getRelatedListsInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$l, getRelatedListsInfo_ConfigPropertyMetadata);
|
|
29477
29495
|
const createResourceParams$p = /*#__PURE__*/ createResourceParams$16(getRelatedListsInfo_ConfigPropertyMetadata);
|
|
29478
29496
|
function keyBuilder$1V(luvio, config) {
|
|
29479
29497
|
const resourceParams = createResourceParams$p(config);
|
|
29480
29498
|
return keyBuilder$1W(luvio, resourceParams);
|
|
29481
29499
|
}
|
|
29482
|
-
function typeCheckConfig$
|
|
29500
|
+
function typeCheckConfig$q(untrustedConfig) {
|
|
29483
29501
|
const config = {};
|
|
29484
|
-
typeCheckConfig$
|
|
29502
|
+
typeCheckConfig$1a(untrustedConfig, config, getRelatedListsInfo_ConfigPropertyMetadata);
|
|
29485
29503
|
return config;
|
|
29486
29504
|
}
|
|
29487
|
-
function validateAdapterConfig$
|
|
29505
|
+
function validateAdapterConfig$q(untrustedConfig, configPropertyNames) {
|
|
29488
29506
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
29489
29507
|
return null;
|
|
29490
29508
|
}
|
|
@@ -29492,7 +29510,7 @@ function validateAdapterConfig$s(untrustedConfig, configPropertyNames) {
|
|
|
29492
29510
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
29493
29511
|
}
|
|
29494
29512
|
const coercedConfig = coerceConfig$1(untrustedConfig, getRelatedListsInfo_ConfigPropertyMetadata);
|
|
29495
|
-
const config = typeCheckConfig$
|
|
29513
|
+
const config = typeCheckConfig$q(coercedConfig);
|
|
29496
29514
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
29497
29515
|
return null;
|
|
29498
29516
|
}
|
|
@@ -29518,7 +29536,7 @@ function onFetchResponseError$e(luvio, config, resourceParams, response) {
|
|
|
29518
29536
|
}
|
|
29519
29537
|
function buildNetworkSnapshot$r(luvio, config, options) {
|
|
29520
29538
|
const resourceParams = createResourceParams$p(config);
|
|
29521
|
-
const request = createResourceRequest$
|
|
29539
|
+
const request = createResourceRequest$t(resourceParams);
|
|
29522
29540
|
return luvio.dispatchResourceRequest(request, options)
|
|
29523
29541
|
.then((response) => {
|
|
29524
29542
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$f(luvio, config, resourceParams, response), () => {
|
|
@@ -29547,7 +29565,7 @@ function buildCachedSnapshotCachePolicy$g(context, storeLookup) {
|
|
|
29547
29565
|
return cacheSnapshot;
|
|
29548
29566
|
}
|
|
29549
29567
|
const getRelatedListsInfoAdapterFactory = (luvio) => function UiApi__getRelatedListsInfo(untrustedConfig, requestContext) {
|
|
29550
|
-
const config = validateAdapterConfig$
|
|
29568
|
+
const config = validateAdapterConfig$q(untrustedConfig, getRelatedListsInfo_ConfigPropertyNames);
|
|
29551
29569
|
// Invalid or incomplete config
|
|
29552
29570
|
if (config === null) {
|
|
29553
29571
|
return null;
|
|
@@ -29556,7 +29574,7 @@ const getRelatedListsInfoAdapterFactory = (luvio) => function UiApi__getRelatedL
|
|
|
29556
29574
|
buildCachedSnapshotCachePolicy$g, buildNetworkSnapshotCachePolicy$h);
|
|
29557
29575
|
};
|
|
29558
29576
|
|
|
29559
|
-
const adapterName$
|
|
29577
|
+
const adapterName$k = 'getRelatedListInfo';
|
|
29560
29578
|
const getRelatedListInfo_ConfigPropertyMetadata = [
|
|
29561
29579
|
generateParamConfigMetadata('parentObjectApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
|
|
29562
29580
|
generateParamConfigMetadata('relatedListId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
@@ -29565,18 +29583,18 @@ const getRelatedListInfo_ConfigPropertyMetadata = [
|
|
|
29565
29583
|
generateParamConfigMetadata('recordTypeId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
29566
29584
|
generateParamConfigMetadata('restrictColumnsToLayout', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
29567
29585
|
];
|
|
29568
|
-
const getRelatedListInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
29586
|
+
const getRelatedListInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$k, getRelatedListInfo_ConfigPropertyMetadata);
|
|
29569
29587
|
const createResourceParams$o = /*#__PURE__*/ createResourceParams$16(getRelatedListInfo_ConfigPropertyMetadata);
|
|
29570
29588
|
function keyBuilder$1U(luvio, config) {
|
|
29571
29589
|
const resourceParams = createResourceParams$o(config);
|
|
29572
29590
|
return keyBuilder$1_(luvio, resourceParams);
|
|
29573
29591
|
}
|
|
29574
|
-
function typeCheckConfig$
|
|
29592
|
+
function typeCheckConfig$p(untrustedConfig) {
|
|
29575
29593
|
const config = {};
|
|
29576
|
-
typeCheckConfig$
|
|
29594
|
+
typeCheckConfig$1a(untrustedConfig, config, getRelatedListInfo_ConfigPropertyMetadata);
|
|
29577
29595
|
return config;
|
|
29578
29596
|
}
|
|
29579
|
-
function validateAdapterConfig$
|
|
29597
|
+
function validateAdapterConfig$p(untrustedConfig, configPropertyNames) {
|
|
29580
29598
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
29581
29599
|
return null;
|
|
29582
29600
|
}
|
|
@@ -29584,7 +29602,7 @@ function validateAdapterConfig$r(untrustedConfig, configPropertyNames) {
|
|
|
29584
29602
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
29585
29603
|
}
|
|
29586
29604
|
const coercedConfig = coerceConfig$1(untrustedConfig, getRelatedListInfo_ConfigPropertyMetadata);
|
|
29587
|
-
const config = typeCheckConfig$
|
|
29605
|
+
const config = typeCheckConfig$p(coercedConfig);
|
|
29588
29606
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
29589
29607
|
return null;
|
|
29590
29608
|
}
|
|
@@ -29610,7 +29628,7 @@ function onFetchResponseError$d(luvio, config, resourceParams, response) {
|
|
|
29610
29628
|
}
|
|
29611
29629
|
function buildNetworkSnapshot$q(luvio, config, options) {
|
|
29612
29630
|
const resourceParams = createResourceParams$o(config);
|
|
29613
|
-
const request = createResourceRequest$
|
|
29631
|
+
const request = createResourceRequest$v(resourceParams);
|
|
29614
29632
|
return luvio.dispatchResourceRequest(request, options)
|
|
29615
29633
|
.then((response) => {
|
|
29616
29634
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$e(luvio, config, resourceParams, response), () => {
|
|
@@ -29639,7 +29657,7 @@ function buildCachedSnapshotCachePolicy$f(context, storeLookup) {
|
|
|
29639
29657
|
return cacheSnapshot;
|
|
29640
29658
|
}
|
|
29641
29659
|
const getRelatedListInfoAdapterFactory = (luvio) => function UiApi__getRelatedListInfo(untrustedConfig, requestContext) {
|
|
29642
|
-
const config = validateAdapterConfig$
|
|
29660
|
+
const config = validateAdapterConfig$p(untrustedConfig, getRelatedListInfo_ConfigPropertyNames);
|
|
29643
29661
|
// Invalid or incomplete config
|
|
29644
29662
|
if (config === null) {
|
|
29645
29663
|
return null;
|
|
@@ -29708,7 +29726,7 @@ function ingestSuccess$h(luvio, resourceParams, response) {
|
|
|
29708
29726
|
deepFreeze(snapshot.data);
|
|
29709
29727
|
return snapshot;
|
|
29710
29728
|
}
|
|
29711
|
-
function createResourceRequest$
|
|
29729
|
+
function createResourceRequest$s(config) {
|
|
29712
29730
|
const headers = {};
|
|
29713
29731
|
return {
|
|
29714
29732
|
baseUri: '/services/data/v63.0',
|
|
@@ -29722,9 +29740,9 @@ function createResourceRequest$r(config) {
|
|
|
29722
29740
|
};
|
|
29723
29741
|
}
|
|
29724
29742
|
|
|
29725
|
-
function typeCheckConfig$
|
|
29743
|
+
function typeCheckConfig$o(untrustedConfig) {
|
|
29726
29744
|
const config = {};
|
|
29727
|
-
typeCheckConfig$
|
|
29745
|
+
typeCheckConfig$1a(untrustedConfig, config, updateRelatedListInfo_ConfigPropertyMetadata);
|
|
29728
29746
|
const untrustedConfig_orderedByInfo = untrustedConfig.orderedByInfo;
|
|
29729
29747
|
if (ArrayIsArray$1(untrustedConfig_orderedByInfo)) {
|
|
29730
29748
|
const untrustedConfig_orderedByInfo_array = [];
|
|
@@ -29748,7 +29766,7 @@ function typeCheckConfig$q(untrustedConfig) {
|
|
|
29748
29766
|
return config;
|
|
29749
29767
|
}
|
|
29750
29768
|
|
|
29751
|
-
const adapterName$
|
|
29769
|
+
const adapterName$j = 'updateRelatedListInfo';
|
|
29752
29770
|
const updateRelatedListInfo_ConfigPropertyMetadata = [
|
|
29753
29771
|
generateParamConfigMetadata('parentObjectApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
|
|
29754
29772
|
generateParamConfigMetadata('relatedListId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
@@ -29756,9 +29774,9 @@ const updateRelatedListInfo_ConfigPropertyMetadata = [
|
|
|
29756
29774
|
generateParamConfigMetadata('orderedByInfo', true, 2 /* Body */, 4 /* Unsupported */, true),
|
|
29757
29775
|
generateParamConfigMetadata('userPreferences', true, 2 /* Body */, 4 /* Unsupported */),
|
|
29758
29776
|
];
|
|
29759
|
-
const updateRelatedListInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
29777
|
+
const updateRelatedListInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$j, updateRelatedListInfo_ConfigPropertyMetadata);
|
|
29760
29778
|
const createResourceParams$n = /*#__PURE__*/ createResourceParams$16(updateRelatedListInfo_ConfigPropertyMetadata);
|
|
29761
|
-
function validateAdapterConfig$
|
|
29779
|
+
function validateAdapterConfig$o(untrustedConfig, configPropertyNames) {
|
|
29762
29780
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
29763
29781
|
return null;
|
|
29764
29782
|
}
|
|
@@ -29766,7 +29784,7 @@ function validateAdapterConfig$q(untrustedConfig, configPropertyNames) {
|
|
|
29766
29784
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
29767
29785
|
}
|
|
29768
29786
|
const coercedConfig = coerceConfig$1(untrustedConfig, updateRelatedListInfo_ConfigPropertyMetadata);
|
|
29769
|
-
const config = typeCheckConfig$
|
|
29787
|
+
const config = typeCheckConfig$o(coercedConfig);
|
|
29770
29788
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
29771
29789
|
return null;
|
|
29772
29790
|
}
|
|
@@ -29774,7 +29792,7 @@ function validateAdapterConfig$q(untrustedConfig, configPropertyNames) {
|
|
|
29774
29792
|
}
|
|
29775
29793
|
function buildNetworkSnapshot$p(luvio, config, options) {
|
|
29776
29794
|
const resourceParams = createResourceParams$n(config);
|
|
29777
|
-
const request = createResourceRequest$
|
|
29795
|
+
const request = createResourceRequest$s(resourceParams);
|
|
29778
29796
|
return luvio.dispatchResourceRequest(request, options)
|
|
29779
29797
|
.then((response) => {
|
|
29780
29798
|
return luvio.handleSuccessResponse(() => {
|
|
@@ -29792,7 +29810,7 @@ function buildNetworkSnapshot$p(luvio, config, options) {
|
|
|
29792
29810
|
}
|
|
29793
29811
|
const updateRelatedListInfoAdapterFactory = (luvio) => {
|
|
29794
29812
|
return function updateRelatedListInfo(untrustedConfig) {
|
|
29795
|
-
const config = validateAdapterConfig$
|
|
29813
|
+
const config = validateAdapterConfig$o(untrustedConfig, updateRelatedListInfo_ConfigPropertyNames);
|
|
29796
29814
|
// Invalid or incomplete config
|
|
29797
29815
|
if (config === null) {
|
|
29798
29816
|
throw new Error('Invalid config for "updateRelatedListInfo"');
|
|
@@ -29948,7 +29966,7 @@ function ingestError$b(luvio, params, error, snapshotRefresh) {
|
|
|
29948
29966
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
29949
29967
|
return errorSnapshot;
|
|
29950
29968
|
}
|
|
29951
|
-
function createResourceRequest$
|
|
29969
|
+
function createResourceRequest$r(config) {
|
|
29952
29970
|
const headers = {};
|
|
29953
29971
|
return {
|
|
29954
29972
|
baseUri: '/services/data/v63.0',
|
|
@@ -30210,7 +30228,7 @@ function ingestError$a(luvio, params, error, snapshotRefresh) {
|
|
|
30210
30228
|
luvio.storeIngestError(key, errorSnapshot);
|
|
30211
30229
|
return errorSnapshot;
|
|
30212
30230
|
}
|
|
30213
|
-
function createResourceRequest$
|
|
30231
|
+
function createResourceRequest$q(config) {
|
|
30214
30232
|
const headers = {};
|
|
30215
30233
|
return {
|
|
30216
30234
|
baseUri: '/services/data/v63.0',
|
|
@@ -30224,29 +30242,29 @@ function createResourceRequest$p(config) {
|
|
|
30224
30242
|
};
|
|
30225
30243
|
}
|
|
30226
30244
|
|
|
30227
|
-
const adapterName$
|
|
30245
|
+
const adapterName$i = 'getRelatedListPreferencesBatch';
|
|
30228
30246
|
const getRelatedListPreferencesBatch_ConfigPropertyMetadata = [
|
|
30229
30247
|
generateParamConfigMetadata('preferencesIds', true, 0 /* UrlParameter */, 0 /* String */, true),
|
|
30230
30248
|
];
|
|
30231
|
-
const getRelatedListPreferencesBatch_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
30249
|
+
const getRelatedListPreferencesBatch_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$i, getRelatedListPreferencesBatch_ConfigPropertyMetadata);
|
|
30232
30250
|
const createResourceParams$m = /*#__PURE__*/ createResourceParams$16(getRelatedListPreferencesBatch_ConfigPropertyMetadata);
|
|
30233
30251
|
function keyBuilder$1Q(luvio, config) {
|
|
30234
30252
|
const resourceParams = createResourceParams$m(config);
|
|
30235
30253
|
return keyBuilder$1R(luvio, resourceParams);
|
|
30236
30254
|
}
|
|
30237
|
-
function typeCheckConfig$
|
|
30255
|
+
function typeCheckConfig$n(untrustedConfig) {
|
|
30238
30256
|
const config = {};
|
|
30239
|
-
typeCheckConfig$
|
|
30257
|
+
typeCheckConfig$1a(untrustedConfig, config, getRelatedListPreferencesBatch_ConfigPropertyMetadata);
|
|
30240
30258
|
return config;
|
|
30241
30259
|
}
|
|
30242
|
-
function validateAdapterConfig$
|
|
30260
|
+
function validateAdapterConfig$n(untrustedConfig, configPropertyNames) {
|
|
30243
30261
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
30244
30262
|
return null;
|
|
30245
30263
|
}
|
|
30246
30264
|
if (process.env.NODE_ENV !== 'production') {
|
|
30247
30265
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
30248
30266
|
}
|
|
30249
|
-
const config = typeCheckConfig$
|
|
30267
|
+
const config = typeCheckConfig$n(untrustedConfig);
|
|
30250
30268
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
30251
30269
|
return null;
|
|
30252
30270
|
}
|
|
@@ -30272,7 +30290,7 @@ function onFetchResponseError$c(luvio, config, resourceParams, response) {
|
|
|
30272
30290
|
}
|
|
30273
30291
|
function buildNetworkSnapshot$o(luvio, config, options) {
|
|
30274
30292
|
const resourceParams = createResourceParams$m(config);
|
|
30275
|
-
const request = createResourceRequest$
|
|
30293
|
+
const request = createResourceRequest$q(resourceParams);
|
|
30276
30294
|
return luvio.dispatchResourceRequest(request, options)
|
|
30277
30295
|
.then((response) => {
|
|
30278
30296
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$d(luvio, config, resourceParams, response), () => {
|
|
@@ -30301,7 +30319,7 @@ function buildCachedSnapshotCachePolicy$e(context, storeLookup) {
|
|
|
30301
30319
|
return cacheSnapshot;
|
|
30302
30320
|
}
|
|
30303
30321
|
const getRelatedListPreferencesBatchAdapterFactory = (luvio) => function UiApi__getRelatedListPreferencesBatch(untrustedConfig, requestContext) {
|
|
30304
|
-
const config = validateAdapterConfig$
|
|
30322
|
+
const config = validateAdapterConfig$n(untrustedConfig, getRelatedListPreferencesBatch_ConfigPropertyNames);
|
|
30305
30323
|
// Invalid or incomplete config
|
|
30306
30324
|
if (config === null) {
|
|
30307
30325
|
return null;
|
|
@@ -30310,29 +30328,29 @@ const getRelatedListPreferencesBatchAdapterFactory = (luvio) => function UiApi__
|
|
|
30310
30328
|
buildCachedSnapshotCachePolicy$e, buildNetworkSnapshotCachePolicy$f);
|
|
30311
30329
|
};
|
|
30312
30330
|
|
|
30313
|
-
const adapterName$
|
|
30331
|
+
const adapterName$h = 'getRelatedListPreferences';
|
|
30314
30332
|
const getRelatedListPreferences_ConfigPropertyMetadata = [
|
|
30315
30333
|
generateParamConfigMetadata('preferencesId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
30316
30334
|
];
|
|
30317
|
-
const getRelatedListPreferences_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
30335
|
+
const getRelatedListPreferences_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$h, getRelatedListPreferences_ConfigPropertyMetadata);
|
|
30318
30336
|
const createResourceParams$l = /*#__PURE__*/ createResourceParams$16(getRelatedListPreferences_ConfigPropertyMetadata);
|
|
30319
30337
|
function keyBuilder$1P(luvio, config) {
|
|
30320
30338
|
const resourceParams = createResourceParams$l(config);
|
|
30321
30339
|
return keyBuilder$1S(luvio, resourceParams);
|
|
30322
30340
|
}
|
|
30323
|
-
function typeCheckConfig$
|
|
30341
|
+
function typeCheckConfig$m(untrustedConfig) {
|
|
30324
30342
|
const config = {};
|
|
30325
|
-
typeCheckConfig$
|
|
30343
|
+
typeCheckConfig$1a(untrustedConfig, config, getRelatedListPreferences_ConfigPropertyMetadata);
|
|
30326
30344
|
return config;
|
|
30327
30345
|
}
|
|
30328
|
-
function validateAdapterConfig$
|
|
30346
|
+
function validateAdapterConfig$m(untrustedConfig, configPropertyNames) {
|
|
30329
30347
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
30330
30348
|
return null;
|
|
30331
30349
|
}
|
|
30332
30350
|
if (process.env.NODE_ENV !== 'production') {
|
|
30333
30351
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
30334
30352
|
}
|
|
30335
|
-
const config = typeCheckConfig$
|
|
30353
|
+
const config = typeCheckConfig$m(untrustedConfig);
|
|
30336
30354
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
30337
30355
|
return null;
|
|
30338
30356
|
}
|
|
@@ -30358,7 +30376,7 @@ function onFetchResponseError$b(luvio, config, resourceParams, response) {
|
|
|
30358
30376
|
}
|
|
30359
30377
|
function buildNetworkSnapshot$n(luvio, config, options) {
|
|
30360
30378
|
const resourceParams = createResourceParams$l(config);
|
|
30361
|
-
const request = createResourceRequest$
|
|
30379
|
+
const request = createResourceRequest$r(resourceParams);
|
|
30362
30380
|
return luvio.dispatchResourceRequest(request, options)
|
|
30363
30381
|
.then((response) => {
|
|
30364
30382
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$c(luvio, config, resourceParams, response), () => {
|
|
@@ -30387,7 +30405,7 @@ function buildCachedSnapshotCachePolicy$d(context, storeLookup) {
|
|
|
30387
30405
|
return cacheSnapshot;
|
|
30388
30406
|
}
|
|
30389
30407
|
const getRelatedListPreferencesAdapterFactory = (luvio) => function UiApi__getRelatedListPreferences(untrustedConfig, requestContext) {
|
|
30390
|
-
const config = validateAdapterConfig$
|
|
30408
|
+
const config = validateAdapterConfig$m(untrustedConfig, getRelatedListPreferences_ConfigPropertyNames);
|
|
30391
30409
|
// Invalid or incomplete config
|
|
30392
30410
|
if (config === null) {
|
|
30393
30411
|
return null;
|
|
@@ -30419,7 +30437,7 @@ function ingestSuccess$e(luvio, resourceParams, response) {
|
|
|
30419
30437
|
deepFreeze(snapshot.data);
|
|
30420
30438
|
return snapshot;
|
|
30421
30439
|
}
|
|
30422
|
-
function createResourceRequest$
|
|
30440
|
+
function createResourceRequest$p(config) {
|
|
30423
30441
|
const headers = {};
|
|
30424
30442
|
return {
|
|
30425
30443
|
baseUri: '/services/data/v63.0',
|
|
@@ -30433,18 +30451,18 @@ function createResourceRequest$o(config) {
|
|
|
30433
30451
|
};
|
|
30434
30452
|
}
|
|
30435
30453
|
|
|
30436
|
-
const adapterName$
|
|
30454
|
+
const adapterName$g = 'updateRelatedListPreferences';
|
|
30437
30455
|
const updateRelatedListPreferences_ConfigPropertyMetadata = [
|
|
30438
30456
|
generateParamConfigMetadata('preferencesId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
30439
30457
|
generateParamConfigMetadata('columnWidths', false, 2 /* Body */, 4 /* Unsupported */),
|
|
30440
30458
|
generateParamConfigMetadata('columnWrap', false, 2 /* Body */, 4 /* Unsupported */),
|
|
30441
30459
|
generateParamConfigMetadata('orderedBy', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
30442
30460
|
];
|
|
30443
|
-
const updateRelatedListPreferences_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
30461
|
+
const updateRelatedListPreferences_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$g, updateRelatedListPreferences_ConfigPropertyMetadata);
|
|
30444
30462
|
const createResourceParams$k = /*#__PURE__*/ createResourceParams$16(updateRelatedListPreferences_ConfigPropertyMetadata);
|
|
30445
|
-
function typeCheckConfig$
|
|
30463
|
+
function typeCheckConfig$l(untrustedConfig) {
|
|
30446
30464
|
const config = {};
|
|
30447
|
-
typeCheckConfig$
|
|
30465
|
+
typeCheckConfig$1a(untrustedConfig, config, updateRelatedListPreferences_ConfigPropertyMetadata);
|
|
30448
30466
|
const untrustedConfig_columnWidths = untrustedConfig.columnWidths;
|
|
30449
30467
|
if (untrustedIsObject(untrustedConfig_columnWidths)) {
|
|
30450
30468
|
const untrustedConfig_columnWidths_object = {};
|
|
@@ -30493,14 +30511,14 @@ function typeCheckConfig$n(untrustedConfig) {
|
|
|
30493
30511
|
}
|
|
30494
30512
|
return config;
|
|
30495
30513
|
}
|
|
30496
|
-
function validateAdapterConfig$
|
|
30514
|
+
function validateAdapterConfig$l(untrustedConfig, configPropertyNames) {
|
|
30497
30515
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
30498
30516
|
return null;
|
|
30499
30517
|
}
|
|
30500
30518
|
if (process.env.NODE_ENV !== 'production') {
|
|
30501
30519
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
30502
30520
|
}
|
|
30503
|
-
const config = typeCheckConfig$
|
|
30521
|
+
const config = typeCheckConfig$l(untrustedConfig);
|
|
30504
30522
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
30505
30523
|
return null;
|
|
30506
30524
|
}
|
|
@@ -30508,7 +30526,7 @@ function validateAdapterConfig$n(untrustedConfig, configPropertyNames) {
|
|
|
30508
30526
|
}
|
|
30509
30527
|
function buildNetworkSnapshot$m(luvio, config, options) {
|
|
30510
30528
|
const resourceParams = createResourceParams$k(config);
|
|
30511
|
-
const request = createResourceRequest$
|
|
30529
|
+
const request = createResourceRequest$p(resourceParams);
|
|
30512
30530
|
return luvio.dispatchResourceRequest(request, options)
|
|
30513
30531
|
.then((response) => {
|
|
30514
30532
|
return luvio.handleSuccessResponse(() => {
|
|
@@ -30526,7 +30544,7 @@ function buildNetworkSnapshot$m(luvio, config, options) {
|
|
|
30526
30544
|
}
|
|
30527
30545
|
const updateRelatedListPreferencesAdapterFactory = (luvio) => {
|
|
30528
30546
|
return function updateRelatedListPreferences(untrustedConfig) {
|
|
30529
|
-
const config = validateAdapterConfig$
|
|
30547
|
+
const config = validateAdapterConfig$l(untrustedConfig, updateRelatedListPreferences_ConfigPropertyNames);
|
|
30530
30548
|
// Invalid or incomplete config
|
|
30531
30549
|
if (config === null) {
|
|
30532
30550
|
throw new Error('Invalid config for "updateRelatedListPreferences"');
|
|
@@ -31454,7 +31472,7 @@ function ingestError$9(luvio, params, error, snapshotRefresh) {
|
|
|
31454
31472
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
31455
31473
|
return errorSnapshot;
|
|
31456
31474
|
}
|
|
31457
|
-
function createResourceRequest$
|
|
31475
|
+
function createResourceRequest$o(config) {
|
|
31458
31476
|
const headers = {};
|
|
31459
31477
|
return {
|
|
31460
31478
|
baseUri: '/services/data/v63.0',
|
|
@@ -31739,7 +31757,7 @@ function ingestError$8(luvio, params, error, snapshotRefresh) {
|
|
|
31739
31757
|
luvio.storeIngestError(key, errorSnapshot);
|
|
31740
31758
|
return errorSnapshot;
|
|
31741
31759
|
}
|
|
31742
|
-
function createResourceRequest$
|
|
31760
|
+
function createResourceRequest$n(config) {
|
|
31743
31761
|
const headers = {};
|
|
31744
31762
|
return {
|
|
31745
31763
|
baseUri: '/services/data/v63.0',
|
|
@@ -31753,20 +31771,20 @@ function createResourceRequest$m(config) {
|
|
|
31753
31771
|
};
|
|
31754
31772
|
}
|
|
31755
31773
|
|
|
31756
|
-
const adapterName$
|
|
31774
|
+
const adapterName$f = 'getRelatedListRecordsBatch';
|
|
31757
31775
|
const getRelatedListRecordsBatch_ConfigPropertyMetadata = [
|
|
31758
31776
|
generateParamConfigMetadata('parentRecordId', true, 0 /* UrlParameter */, 0 /* String */, false, getRecordId18),
|
|
31759
31777
|
generateParamConfigMetadata('relatedListParameters', true, 2 /* Body */, 4 /* Unsupported */, true),
|
|
31760
31778
|
];
|
|
31761
|
-
const getRelatedListRecordsBatch_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
31779
|
+
const getRelatedListRecordsBatch_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, getRelatedListRecordsBatch_ConfigPropertyMetadata);
|
|
31762
31780
|
const createResourceParams$j = /*#__PURE__*/ createResourceParams$16(getRelatedListRecordsBatch_ConfigPropertyMetadata);
|
|
31763
31781
|
function keyBuilder$1L(luvio, config) {
|
|
31764
31782
|
const resourceParams = createResourceParams$j(config);
|
|
31765
31783
|
return keyBuilder$1M(luvio, resourceParams);
|
|
31766
31784
|
}
|
|
31767
|
-
function typeCheckConfig$
|
|
31785
|
+
function typeCheckConfig$k(untrustedConfig) {
|
|
31768
31786
|
const config = {};
|
|
31769
|
-
typeCheckConfig$
|
|
31787
|
+
typeCheckConfig$1a(untrustedConfig, config, getRelatedListRecordsBatch_ConfigPropertyMetadata);
|
|
31770
31788
|
const untrustedConfig_relatedListParameters = untrustedConfig.relatedListParameters;
|
|
31771
31789
|
if (ArrayIsArray$1(untrustedConfig_relatedListParameters)) {
|
|
31772
31790
|
const untrustedConfig_relatedListParameters_array = [];
|
|
@@ -31781,7 +31799,7 @@ function typeCheckConfig$m(untrustedConfig) {
|
|
|
31781
31799
|
}
|
|
31782
31800
|
return config;
|
|
31783
31801
|
}
|
|
31784
|
-
function validateAdapterConfig$
|
|
31802
|
+
function validateAdapterConfig$k(untrustedConfig, configPropertyNames) {
|
|
31785
31803
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
31786
31804
|
return null;
|
|
31787
31805
|
}
|
|
@@ -31789,7 +31807,7 @@ function validateAdapterConfig$m(untrustedConfig, configPropertyNames) {
|
|
|
31789
31807
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
31790
31808
|
}
|
|
31791
31809
|
const coercedConfig = coerceConfig$1(untrustedConfig, getRelatedListRecordsBatch_ConfigPropertyMetadata);
|
|
31792
|
-
const config = typeCheckConfig$
|
|
31810
|
+
const config = typeCheckConfig$k(coercedConfig);
|
|
31793
31811
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
31794
31812
|
return null;
|
|
31795
31813
|
}
|
|
@@ -31815,7 +31833,7 @@ function onFetchResponseError$a(luvio, config, resourceParams, response) {
|
|
|
31815
31833
|
}
|
|
31816
31834
|
function buildNetworkSnapshot$l(luvio, config, options) {
|
|
31817
31835
|
const resourceParams = createResourceParams$j(config);
|
|
31818
|
-
const request = createResourceRequest$
|
|
31836
|
+
const request = createResourceRequest$n(resourceParams);
|
|
31819
31837
|
return luvio.dispatchResourceRequest(request, options)
|
|
31820
31838
|
.then((response) => {
|
|
31821
31839
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$b(luvio, config, resourceParams, response), () => {
|
|
@@ -31844,7 +31862,7 @@ function buildCachedSnapshotCachePolicy$c(context, storeLookup) {
|
|
|
31844
31862
|
return cacheSnapshot;
|
|
31845
31863
|
}
|
|
31846
31864
|
const getRelatedListRecordsBatchAdapterFactory = (luvio) => function UiApi__getRelatedListRecordsBatch(untrustedConfig, requestContext) {
|
|
31847
|
-
const config = validateAdapterConfig$
|
|
31865
|
+
const config = validateAdapterConfig$k(untrustedConfig, getRelatedListRecordsBatch_ConfigPropertyNames);
|
|
31848
31866
|
// Invalid or incomplete config
|
|
31849
31867
|
if (config === null) {
|
|
31850
31868
|
return null;
|
|
@@ -31853,7 +31871,7 @@ const getRelatedListRecordsBatchAdapterFactory = (luvio) => function UiApi__getR
|
|
|
31853
31871
|
buildCachedSnapshotCachePolicy$c, buildNetworkSnapshotCachePolicy$d);
|
|
31854
31872
|
};
|
|
31855
31873
|
|
|
31856
|
-
const adapterName$
|
|
31874
|
+
const adapterName$e = 'getRelatedListRecords';
|
|
31857
31875
|
const getRelatedListRecords_ConfigPropertyMetadata = [
|
|
31858
31876
|
generateParamConfigMetadata('parentRecordId', true, 0 /* UrlParameter */, 0 /* String */, false, getRecordId18),
|
|
31859
31877
|
generateParamConfigMetadata('relatedListId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
@@ -31864,18 +31882,18 @@ const getRelatedListRecords_ConfigPropertyMetadata = [
|
|
|
31864
31882
|
generateParamConfigMetadata('sortBy', false, 2 /* Body */, 0 /* String */, true),
|
|
31865
31883
|
generateParamConfigMetadata('where', false, 2 /* Body */, 0 /* String */),
|
|
31866
31884
|
];
|
|
31867
|
-
const getRelatedListRecords_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
31885
|
+
const getRelatedListRecords_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$e, getRelatedListRecords_ConfigPropertyMetadata);
|
|
31868
31886
|
const createResourceParams$i = /*#__PURE__*/ createResourceParams$16(getRelatedListRecords_ConfigPropertyMetadata);
|
|
31869
31887
|
function keyBuilder$1K(luvio, config) {
|
|
31870
31888
|
const resourceParams = createResourceParams$i(config);
|
|
31871
31889
|
return keyBuilder$1N(luvio, resourceParams);
|
|
31872
31890
|
}
|
|
31873
|
-
function typeCheckConfig$
|
|
31891
|
+
function typeCheckConfig$j(untrustedConfig) {
|
|
31874
31892
|
const config = {};
|
|
31875
|
-
typeCheckConfig$
|
|
31893
|
+
typeCheckConfig$1a(untrustedConfig, config, getRelatedListRecords_ConfigPropertyMetadata);
|
|
31876
31894
|
return config;
|
|
31877
31895
|
}
|
|
31878
|
-
function validateAdapterConfig$
|
|
31896
|
+
function validateAdapterConfig$j(untrustedConfig, configPropertyNames) {
|
|
31879
31897
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
31880
31898
|
return null;
|
|
31881
31899
|
}
|
|
@@ -31883,7 +31901,7 @@ function validateAdapterConfig$l(untrustedConfig, configPropertyNames) {
|
|
|
31883
31901
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
31884
31902
|
}
|
|
31885
31903
|
const coercedConfig = coerceConfig$1(untrustedConfig, getRelatedListRecords_ConfigPropertyMetadata);
|
|
31886
|
-
const config = typeCheckConfig$
|
|
31904
|
+
const config = typeCheckConfig$j(coercedConfig);
|
|
31887
31905
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
31888
31906
|
return null;
|
|
31889
31907
|
}
|
|
@@ -31910,13 +31928,13 @@ function onFetchResponseError$9(luvio, config, resourceParams, response) {
|
|
|
31910
31928
|
function prepareRequest$2(luvio, config, resourceParams, cacheSnapshot) {
|
|
31911
31929
|
const paginationMetadata = getPaginationMetadata$1(luvio, resourceParams);
|
|
31912
31930
|
if (paginationMetadata === undefined) {
|
|
31913
|
-
return createResourceRequest$
|
|
31931
|
+
return createResourceRequest$o(resourceParams);
|
|
31914
31932
|
}
|
|
31915
31933
|
const { token: configToken, pageSize: configPageSize } = createPaginationParams(resourceParams);
|
|
31916
31934
|
const configTokenOffset = offsetFromClientToken(paginationMetadata, configToken);
|
|
31917
31935
|
const maxOffset = getRequestMaxOffset(configTokenOffset, cacheSnapshot);
|
|
31918
31936
|
const [serverToken, serverTokenOffset] = serverTokenForAtMost(paginationMetadata, maxOffset);
|
|
31919
|
-
return createResourceRequest$
|
|
31937
|
+
return createResourceRequest$o(createResourceParams$i({
|
|
31920
31938
|
...config,
|
|
31921
31939
|
pageSize: configPageSize - (serverTokenOffset - configTokenOffset),
|
|
31922
31940
|
pageToken: serverToken
|
|
@@ -32008,7 +32026,7 @@ function buildCachedSnapshotCachePolicy$b(context, storeLookup) {
|
|
|
32008
32026
|
return cacheSnapshot;
|
|
32009
32027
|
}
|
|
32010
32028
|
const getRelatedListRecordsAdapterFactory = (luvio) => function UiApi__getRelatedListRecords(untrustedConfig, requestContext) {
|
|
32011
|
-
const config = validateAdapterConfig$
|
|
32029
|
+
const config = validateAdapterConfig$j(untrustedConfig, getRelatedListRecords_ConfigPropertyNames);
|
|
32012
32030
|
// Invalid or incomplete config
|
|
32013
32031
|
if (config === null) {
|
|
32014
32032
|
return null;
|
|
@@ -32281,7 +32299,7 @@ function ingestError$7(luvio, params, error, snapshotRefresh) {
|
|
|
32281
32299
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
32282
32300
|
return errorSnapshot;
|
|
32283
32301
|
}
|
|
32284
|
-
function createResourceRequest$
|
|
32302
|
+
function createResourceRequest$m(config) {
|
|
32285
32303
|
const headers = {};
|
|
32286
32304
|
return {
|
|
32287
32305
|
baseUri: '/services/data/v63.0',
|
|
@@ -32295,31 +32313,31 @@ function createResourceRequest$l(config) {
|
|
|
32295
32313
|
};
|
|
32296
32314
|
}
|
|
32297
32315
|
|
|
32298
|
-
const adapterName$
|
|
32316
|
+
const adapterName$d = 'getSearchFilterMetadata';
|
|
32299
32317
|
const getSearchFilterMetadata_ConfigPropertyMetadata = [
|
|
32300
32318
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
32301
32319
|
generateParamConfigMetadata('channel', false, 1 /* QueryParameter */, 0 /* String */),
|
|
32302
32320
|
generateParamConfigMetadata('configurationName', false, 1 /* QueryParameter */, 0 /* String */),
|
|
32303
32321
|
];
|
|
32304
|
-
const getSearchFilterMetadata_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
32322
|
+
const getSearchFilterMetadata_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, getSearchFilterMetadata_ConfigPropertyMetadata);
|
|
32305
32323
|
const createResourceParams$h = /*#__PURE__*/ createResourceParams$16(getSearchFilterMetadata_ConfigPropertyMetadata);
|
|
32306
32324
|
function keyBuilder$1H(luvio, config) {
|
|
32307
32325
|
const resourceParams = createResourceParams$h(config);
|
|
32308
32326
|
return keyBuilder$1I(luvio, resourceParams);
|
|
32309
32327
|
}
|
|
32310
|
-
function typeCheckConfig$
|
|
32328
|
+
function typeCheckConfig$i(untrustedConfig) {
|
|
32311
32329
|
const config = {};
|
|
32312
|
-
typeCheckConfig$
|
|
32330
|
+
typeCheckConfig$1a(untrustedConfig, config, getSearchFilterMetadata_ConfigPropertyMetadata);
|
|
32313
32331
|
return config;
|
|
32314
32332
|
}
|
|
32315
|
-
function validateAdapterConfig$
|
|
32333
|
+
function validateAdapterConfig$i(untrustedConfig, configPropertyNames) {
|
|
32316
32334
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
32317
32335
|
return null;
|
|
32318
32336
|
}
|
|
32319
32337
|
if (process.env.NODE_ENV !== 'production') {
|
|
32320
32338
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
32321
32339
|
}
|
|
32322
|
-
const config = typeCheckConfig$
|
|
32340
|
+
const config = typeCheckConfig$i(untrustedConfig);
|
|
32323
32341
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
32324
32342
|
return null;
|
|
32325
32343
|
}
|
|
@@ -32345,7 +32363,7 @@ function onFetchResponseError$8(luvio, config, resourceParams, response) {
|
|
|
32345
32363
|
}
|
|
32346
32364
|
function buildNetworkSnapshot$j(luvio, config, options) {
|
|
32347
32365
|
const resourceParams = createResourceParams$h(config);
|
|
32348
|
-
const request = createResourceRequest$
|
|
32366
|
+
const request = createResourceRequest$m(resourceParams);
|
|
32349
32367
|
return luvio.dispatchResourceRequest(request, options)
|
|
32350
32368
|
.then((response) => {
|
|
32351
32369
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$9(luvio, config, resourceParams, response), () => {
|
|
@@ -32374,7 +32392,7 @@ function buildCachedSnapshotCachePolicy$a(context, storeLookup) {
|
|
|
32374
32392
|
return cacheSnapshot;
|
|
32375
32393
|
}
|
|
32376
32394
|
const getSearchFilterMetadataAdapterFactory = (luvio) => function UiApi__getSearchFilterMetadata(untrustedConfig, requestContext) {
|
|
32377
|
-
const config = validateAdapterConfig$
|
|
32395
|
+
const config = validateAdapterConfig$i(untrustedConfig, getSearchFilterMetadata_ConfigPropertyNames);
|
|
32378
32396
|
// Invalid or incomplete config
|
|
32379
32397
|
if (config === null) {
|
|
32380
32398
|
return null;
|
|
@@ -32537,7 +32555,7 @@ function ingestError$6(luvio, params, error, snapshotRefresh) {
|
|
|
32537
32555
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
32538
32556
|
return errorSnapshot;
|
|
32539
32557
|
}
|
|
32540
|
-
function createResourceRequest$
|
|
32558
|
+
function createResourceRequest$l(config) {
|
|
32541
32559
|
const headers = {};
|
|
32542
32560
|
return {
|
|
32543
32561
|
baseUri: '/services/data/v63.0',
|
|
@@ -32551,31 +32569,31 @@ function createResourceRequest$k(config) {
|
|
|
32551
32569
|
};
|
|
32552
32570
|
}
|
|
32553
32571
|
|
|
32554
|
-
const adapterName$
|
|
32572
|
+
const adapterName$c = 'getSearchFilterOptions';
|
|
32555
32573
|
const getSearchFilterOptions_ConfigPropertyMetadata = [
|
|
32556
32574
|
generateParamConfigMetadata('filterApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
32557
32575
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
32558
32576
|
generateParamConfigMetadata('q', false, 1 /* QueryParameter */, 0 /* String */),
|
|
32559
32577
|
];
|
|
32560
|
-
const getSearchFilterOptions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
32578
|
+
const getSearchFilterOptions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, getSearchFilterOptions_ConfigPropertyMetadata);
|
|
32561
32579
|
const createResourceParams$g = /*#__PURE__*/ createResourceParams$16(getSearchFilterOptions_ConfigPropertyMetadata);
|
|
32562
32580
|
function keyBuilder$1E(luvio, config) {
|
|
32563
32581
|
const resourceParams = createResourceParams$g(config);
|
|
32564
32582
|
return keyBuilder$1F(luvio, resourceParams);
|
|
32565
32583
|
}
|
|
32566
|
-
function typeCheckConfig$
|
|
32584
|
+
function typeCheckConfig$h(untrustedConfig) {
|
|
32567
32585
|
const config = {};
|
|
32568
|
-
typeCheckConfig$
|
|
32586
|
+
typeCheckConfig$1a(untrustedConfig, config, getSearchFilterOptions_ConfigPropertyMetadata);
|
|
32569
32587
|
return config;
|
|
32570
32588
|
}
|
|
32571
|
-
function validateAdapterConfig$
|
|
32589
|
+
function validateAdapterConfig$h(untrustedConfig, configPropertyNames) {
|
|
32572
32590
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
32573
32591
|
return null;
|
|
32574
32592
|
}
|
|
32575
32593
|
if (process.env.NODE_ENV !== 'production') {
|
|
32576
32594
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
32577
32595
|
}
|
|
32578
|
-
const config = typeCheckConfig$
|
|
32596
|
+
const config = typeCheckConfig$h(untrustedConfig);
|
|
32579
32597
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
32580
32598
|
return null;
|
|
32581
32599
|
}
|
|
@@ -32601,7 +32619,7 @@ function onFetchResponseError$7(luvio, config, resourceParams, response) {
|
|
|
32601
32619
|
}
|
|
32602
32620
|
function buildNetworkSnapshot$i(luvio, config, options) {
|
|
32603
32621
|
const resourceParams = createResourceParams$g(config);
|
|
32604
|
-
const request = createResourceRequest$
|
|
32622
|
+
const request = createResourceRequest$l(resourceParams);
|
|
32605
32623
|
return luvio.dispatchResourceRequest(request, options)
|
|
32606
32624
|
.then((response) => {
|
|
32607
32625
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$8(luvio, config, resourceParams, response), () => {
|
|
@@ -32630,7 +32648,7 @@ function buildCachedSnapshotCachePolicy$9(context, storeLookup) {
|
|
|
32630
32648
|
return cacheSnapshot;
|
|
32631
32649
|
}
|
|
32632
32650
|
const getSearchFilterOptionsAdapterFactory = (luvio) => function UiApi__getSearchFilterOptions(untrustedConfig, requestContext) {
|
|
32633
|
-
const config = validateAdapterConfig$
|
|
32651
|
+
const config = validateAdapterConfig$h(untrustedConfig, getSearchFilterOptions_ConfigPropertyNames);
|
|
32634
32652
|
// Invalid or incomplete config
|
|
32635
32653
|
if (config === null) {
|
|
32636
32654
|
return null;
|
|
@@ -32955,7 +32973,7 @@ function ingestError$5(luvio, params, error, snapshotRefresh) {
|
|
|
32955
32973
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
32956
32974
|
return errorSnapshot;
|
|
32957
32975
|
}
|
|
32958
|
-
function createResourceRequest$
|
|
32976
|
+
function createResourceRequest$k(config) {
|
|
32959
32977
|
const headers = {};
|
|
32960
32978
|
return {
|
|
32961
32979
|
baseUri: '/services/data/v63.0',
|
|
@@ -32969,30 +32987,30 @@ function createResourceRequest$j(config) {
|
|
|
32969
32987
|
};
|
|
32970
32988
|
}
|
|
32971
32989
|
|
|
32972
|
-
const adapterName$
|
|
32990
|
+
const adapterName$b = 'getLookupMetadata';
|
|
32973
32991
|
const getLookupMetadata_ConfigPropertyMetadata = [
|
|
32974
32992
|
generateParamConfigMetadata('fieldApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
32975
32993
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
32976
32994
|
];
|
|
32977
|
-
const getLookupMetadata_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
32995
|
+
const getLookupMetadata_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, getLookupMetadata_ConfigPropertyMetadata);
|
|
32978
32996
|
const createResourceParams$f = /*#__PURE__*/ createResourceParams$16(getLookupMetadata_ConfigPropertyMetadata);
|
|
32979
32997
|
function keyBuilder$1B(luvio, config) {
|
|
32980
32998
|
const resourceParams = createResourceParams$f(config);
|
|
32981
32999
|
return keyBuilder$1C(luvio, resourceParams);
|
|
32982
33000
|
}
|
|
32983
|
-
function typeCheckConfig$
|
|
33001
|
+
function typeCheckConfig$g(untrustedConfig) {
|
|
32984
33002
|
const config = {};
|
|
32985
|
-
typeCheckConfig$
|
|
33003
|
+
typeCheckConfig$1a(untrustedConfig, config, getLookupMetadata_ConfigPropertyMetadata);
|
|
32986
33004
|
return config;
|
|
32987
33005
|
}
|
|
32988
|
-
function validateAdapterConfig$
|
|
33006
|
+
function validateAdapterConfig$g(untrustedConfig, configPropertyNames) {
|
|
32989
33007
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
32990
33008
|
return null;
|
|
32991
33009
|
}
|
|
32992
33010
|
if (process.env.NODE_ENV !== 'production') {
|
|
32993
33011
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
32994
33012
|
}
|
|
32995
|
-
const config = typeCheckConfig$
|
|
33013
|
+
const config = typeCheckConfig$g(untrustedConfig);
|
|
32996
33014
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
32997
33015
|
return null;
|
|
32998
33016
|
}
|
|
@@ -33018,7 +33036,7 @@ function onFetchResponseError$6(luvio, config, resourceParams, response) {
|
|
|
33018
33036
|
}
|
|
33019
33037
|
function buildNetworkSnapshot$h(luvio, config, options) {
|
|
33020
33038
|
const resourceParams = createResourceParams$f(config);
|
|
33021
|
-
const request = createResourceRequest$
|
|
33039
|
+
const request = createResourceRequest$k(resourceParams);
|
|
33022
33040
|
return luvio.dispatchResourceRequest(request, options)
|
|
33023
33041
|
.then((response) => {
|
|
33024
33042
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$7(luvio, config, resourceParams, response), () => {
|
|
@@ -33047,7 +33065,7 @@ function buildCachedSnapshotCachePolicy$8(context, storeLookup) {
|
|
|
33047
33065
|
return cacheSnapshot;
|
|
33048
33066
|
}
|
|
33049
33067
|
const getLookupMetadataAdapterFactory = (luvio) => function UiApi__getLookupMetadata(untrustedConfig, requestContext) {
|
|
33050
|
-
const config = validateAdapterConfig$
|
|
33068
|
+
const config = validateAdapterConfig$g(untrustedConfig, getLookupMetadata_ConfigPropertyNames);
|
|
33051
33069
|
// Invalid or incomplete config
|
|
33052
33070
|
if (config === null) {
|
|
33053
33071
|
return null;
|
|
@@ -33869,7 +33887,7 @@ function ingestError$4(luvio, params, error, snapshotRefresh) {
|
|
|
33869
33887
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
33870
33888
|
return errorSnapshot;
|
|
33871
33889
|
}
|
|
33872
|
-
function createResourceRequest$
|
|
33890
|
+
function createResourceRequest$j(config) {
|
|
33873
33891
|
const headers = {};
|
|
33874
33892
|
return {
|
|
33875
33893
|
baseUri: '/services/data/v63.0',
|
|
@@ -33883,7 +33901,7 @@ function createResourceRequest$i(config) {
|
|
|
33883
33901
|
};
|
|
33884
33902
|
}
|
|
33885
33903
|
|
|
33886
|
-
const adapterName$
|
|
33904
|
+
const adapterName$a = 'getSearchResults';
|
|
33887
33905
|
const getSearchResults_ConfigPropertyMetadata = [
|
|
33888
33906
|
generateParamConfigMetadata('q', true, 1 /* QueryParameter */, 0 /* String */),
|
|
33889
33907
|
generateParamConfigMetadata('answerTypes', false, 2 /* Body */, 0 /* String */, true),
|
|
@@ -33891,15 +33909,15 @@ const getSearchResults_ConfigPropertyMetadata = [
|
|
|
33891
33909
|
generateParamConfigMetadata('objectApiNames', false, 2 /* Body */, 0 /* String */, true),
|
|
33892
33910
|
generateParamConfigMetadata('searchObjectOptions', false, 2 /* Body */, 4 /* Unsupported */),
|
|
33893
33911
|
];
|
|
33894
|
-
const getSearchResults_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
33912
|
+
const getSearchResults_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, getSearchResults_ConfigPropertyMetadata);
|
|
33895
33913
|
const createResourceParams$e = /*#__PURE__*/ createResourceParams$16(getSearchResults_ConfigPropertyMetadata);
|
|
33896
33914
|
function keyBuilder$1y(luvio, config) {
|
|
33897
33915
|
const resourceParams = createResourceParams$e(config);
|
|
33898
33916
|
return keyBuilder$1z(luvio, resourceParams);
|
|
33899
33917
|
}
|
|
33900
|
-
function typeCheckConfig$
|
|
33918
|
+
function typeCheckConfig$f(untrustedConfig) {
|
|
33901
33919
|
const config = {};
|
|
33902
|
-
typeCheckConfig$
|
|
33920
|
+
typeCheckConfig$1a(untrustedConfig, config, getSearchResults_ConfigPropertyMetadata);
|
|
33903
33921
|
const untrustedConfig_searchObjectOptions = untrustedConfig.searchObjectOptions;
|
|
33904
33922
|
if (untrustedIsObject(untrustedConfig_searchObjectOptions)) {
|
|
33905
33923
|
const untrustedConfig_searchObjectOptions_object = {};
|
|
@@ -33920,14 +33938,14 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
33920
33938
|
}
|
|
33921
33939
|
return config;
|
|
33922
33940
|
}
|
|
33923
|
-
function validateAdapterConfig$
|
|
33941
|
+
function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
|
|
33924
33942
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
33925
33943
|
return null;
|
|
33926
33944
|
}
|
|
33927
33945
|
if (process.env.NODE_ENV !== 'production') {
|
|
33928
33946
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
33929
33947
|
}
|
|
33930
|
-
const config = typeCheckConfig$
|
|
33948
|
+
const config = typeCheckConfig$f(untrustedConfig);
|
|
33931
33949
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
33932
33950
|
return null;
|
|
33933
33951
|
}
|
|
@@ -33953,7 +33971,7 @@ function onFetchResponseError$5(luvio, config, resourceParams, response) {
|
|
|
33953
33971
|
}
|
|
33954
33972
|
function buildNetworkSnapshot$g(luvio, config, options) {
|
|
33955
33973
|
const resourceParams = createResourceParams$e(config);
|
|
33956
|
-
const request = createResourceRequest$
|
|
33974
|
+
const request = createResourceRequest$j(resourceParams);
|
|
33957
33975
|
return luvio.dispatchResourceRequest(request, options)
|
|
33958
33976
|
.then((response) => {
|
|
33959
33977
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$6(luvio, config, resourceParams, response), () => {
|
|
@@ -33982,7 +34000,7 @@ function buildCachedSnapshotCachePolicy$7(context, storeLookup) {
|
|
|
33982
34000
|
return cacheSnapshot;
|
|
33983
34001
|
}
|
|
33984
34002
|
const getSearchResultsAdapterFactory = (luvio) => function UiApi__getSearchResults(untrustedConfig, requestContext) {
|
|
33985
|
-
const config = validateAdapterConfig$
|
|
34003
|
+
const config = validateAdapterConfig$f(untrustedConfig, getSearchResults_ConfigPropertyNames);
|
|
33986
34004
|
// Invalid or incomplete config
|
|
33987
34005
|
if (config === null) {
|
|
33988
34006
|
return null;
|
|
@@ -34143,7 +34161,7 @@ function ingestError$3(luvio, params, error, snapshotRefresh) {
|
|
|
34143
34161
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
34144
34162
|
return errorSnapshot;
|
|
34145
34163
|
}
|
|
34146
|
-
function createResourceRequest$
|
|
34164
|
+
function createResourceRequest$i(config) {
|
|
34147
34165
|
const headers = {};
|
|
34148
34166
|
return {
|
|
34149
34167
|
baseUri: '/services/data/v63.0',
|
|
@@ -34157,7 +34175,7 @@ function createResourceRequest$h(config) {
|
|
|
34157
34175
|
};
|
|
34158
34176
|
}
|
|
34159
34177
|
|
|
34160
|
-
const adapterName$
|
|
34178
|
+
const adapterName$9 = 'getKeywordSearchResults';
|
|
34161
34179
|
const getKeywordSearchResults_ConfigPropertyMetadata = [
|
|
34162
34180
|
generateParamConfigMetadata('objectApiName', true, 1 /* QueryParameter */, 0 /* String */),
|
|
34163
34181
|
generateParamConfigMetadata('q', true, 1 /* QueryParameter */, 0 /* String */),
|
|
@@ -34167,15 +34185,15 @@ const getKeywordSearchResults_ConfigPropertyMetadata = [
|
|
|
34167
34185
|
generateParamConfigMetadata('pageToken', false, 2 /* Body */, 0 /* String */),
|
|
34168
34186
|
generateParamConfigMetadata('sortBy', false, 2 /* Body */, 0 /* String */),
|
|
34169
34187
|
];
|
|
34170
|
-
const getKeywordSearchResults_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
34188
|
+
const getKeywordSearchResults_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, getKeywordSearchResults_ConfigPropertyMetadata);
|
|
34171
34189
|
const createResourceParams$d = /*#__PURE__*/ createResourceParams$16(getKeywordSearchResults_ConfigPropertyMetadata);
|
|
34172
34190
|
function keyBuilder$1v(luvio, config) {
|
|
34173
34191
|
const resourceParams = createResourceParams$d(config);
|
|
34174
34192
|
return keyBuilder$1w(luvio, resourceParams);
|
|
34175
34193
|
}
|
|
34176
|
-
function typeCheckConfig$
|
|
34194
|
+
function typeCheckConfig$e(untrustedConfig) {
|
|
34177
34195
|
const config = {};
|
|
34178
|
-
typeCheckConfig$
|
|
34196
|
+
typeCheckConfig$1a(untrustedConfig, config, getKeywordSearchResults_ConfigPropertyMetadata);
|
|
34179
34197
|
const untrustedConfig_filters = untrustedConfig.filters;
|
|
34180
34198
|
if (ArrayIsArray$1(untrustedConfig_filters)) {
|
|
34181
34199
|
const untrustedConfig_filters_array = [];
|
|
@@ -34190,14 +34208,14 @@ function typeCheckConfig$g(untrustedConfig) {
|
|
|
34190
34208
|
}
|
|
34191
34209
|
return config;
|
|
34192
34210
|
}
|
|
34193
|
-
function validateAdapterConfig$
|
|
34211
|
+
function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
|
|
34194
34212
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
34195
34213
|
return null;
|
|
34196
34214
|
}
|
|
34197
34215
|
if (process.env.NODE_ENV !== 'production') {
|
|
34198
34216
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
34199
34217
|
}
|
|
34200
|
-
const config = typeCheckConfig$
|
|
34218
|
+
const config = typeCheckConfig$e(untrustedConfig);
|
|
34201
34219
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
34202
34220
|
return null;
|
|
34203
34221
|
}
|
|
@@ -34223,7 +34241,7 @@ function onFetchResponseError$4(luvio, config, resourceParams, response) {
|
|
|
34223
34241
|
}
|
|
34224
34242
|
function buildNetworkSnapshot$f(luvio, config, options) {
|
|
34225
34243
|
const resourceParams = createResourceParams$d(config);
|
|
34226
|
-
const request = createResourceRequest$
|
|
34244
|
+
const request = createResourceRequest$i(resourceParams);
|
|
34227
34245
|
return luvio.dispatchResourceRequest(request, options)
|
|
34228
34246
|
.then((response) => {
|
|
34229
34247
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$5(luvio, config, resourceParams, response), () => {
|
|
@@ -34252,7 +34270,7 @@ function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
|
|
|
34252
34270
|
return cacheSnapshot;
|
|
34253
34271
|
}
|
|
34254
34272
|
const getKeywordSearchResultsAdapterFactory = (luvio) => function UiApi__getKeywordSearchResults(untrustedConfig, requestContext) {
|
|
34255
|
-
const config = validateAdapterConfig$
|
|
34273
|
+
const config = validateAdapterConfig$e(untrustedConfig, getKeywordSearchResults_ConfigPropertyNames);
|
|
34256
34274
|
// Invalid or incomplete config
|
|
34257
34275
|
if (config === null) {
|
|
34258
34276
|
return null;
|
|
@@ -54667,7 +54685,7 @@ function ingestError$2(luvio, config, params, error, snapshotRefresh) {
|
|
|
54667
54685
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
54668
54686
|
return errorSnapshot;
|
|
54669
54687
|
}
|
|
54670
|
-
function createResourceRequest$
|
|
54688
|
+
function createResourceRequest$h(config) {
|
|
54671
54689
|
const headers = {};
|
|
54672
54690
|
return {
|
|
54673
54691
|
baseUri: '/services/data/v63.0',
|
|
@@ -54705,19 +54723,19 @@ function stripDocumentOfMetaschema(documentNode) {
|
|
|
54705
54723
|
},
|
|
54706
54724
|
});
|
|
54707
54725
|
}
|
|
54708
|
-
function createResourceRequest$
|
|
54726
|
+
function createResourceRequest$g(config) {
|
|
54709
54727
|
const queryWithoutMetaschemaDirectives = stripDocumentOfMetaschema(config.body.query);
|
|
54710
54728
|
const newBody = {
|
|
54711
54729
|
...config.body,
|
|
54712
54730
|
query: queryWithoutMetaschemaDirectives,
|
|
54713
54731
|
};
|
|
54714
|
-
return createResourceRequest$
|
|
54732
|
+
return createResourceRequest$h({
|
|
54715
54733
|
...config,
|
|
54716
54734
|
body: newBody,
|
|
54717
54735
|
});
|
|
54718
54736
|
}
|
|
54719
54737
|
|
|
54720
|
-
function createResourceRequest$
|
|
54738
|
+
function createResourceRequest$f(config) {
|
|
54721
54739
|
const headers = {};
|
|
54722
54740
|
const transformedConfig = stripDocumentsOfMetaschema(config);
|
|
54723
54741
|
return {
|
|
@@ -55040,7 +55058,7 @@ function transformConfiguration$1(config) {
|
|
|
55040
55058
|
batchQuery: batchQueryTransformed,
|
|
55041
55059
|
};
|
|
55042
55060
|
}
|
|
55043
|
-
function typeCheckConfig$
|
|
55061
|
+
function typeCheckConfig$d(untrustedConfig) {
|
|
55044
55062
|
const config = {};
|
|
55045
55063
|
const untrustedConfig_batchQuery = untrustedConfig.batchQuery;
|
|
55046
55064
|
if (untrustedConfig_batchQuery !== undefined && ArrayIsArray$1(untrustedConfig_batchQuery)) {
|
|
@@ -55063,7 +55081,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
55063
55081
|
}
|
|
55064
55082
|
// Handroll offline support here
|
|
55065
55083
|
const factory$g = (luvio) => function UiApi__graphqlBatch(untrustedConfig, requestContext) {
|
|
55066
|
-
const config = validateAdapterConfig$
|
|
55084
|
+
const config = validateAdapterConfig$d(untrustedConfig, graphqlBatch_ConfigPropertyNames);
|
|
55067
55085
|
// Invalid or incomplete config
|
|
55068
55086
|
if (config === null) {
|
|
55069
55087
|
return null;
|
|
@@ -55071,7 +55089,7 @@ const factory$g = (luvio) => function UiApi__graphqlBatch(untrustedConfig, reque
|
|
|
55071
55089
|
const { getEnvironmentAwareGraphQLBatchAdapter } = configurationForGraphQLAdapters;
|
|
55072
55090
|
const adapter = getEnvironmentAwareGraphQLBatchAdapter();
|
|
55073
55091
|
if (adapter !== undefined) {
|
|
55074
|
-
return adapter(config,
|
|
55092
|
+
return adapter(config, requestContext);
|
|
55075
55093
|
}
|
|
55076
55094
|
return luvio.applyCachePolicy(requestContext || {}, { config, luvio }, // BuildSnapshotContext
|
|
55077
55095
|
buildCachedSnapshotCachePolicy$5, buildNetworkSnapshotCachePolicy$6);
|
|
@@ -55087,14 +55105,14 @@ function keyBuilder$b(luvio, config) {
|
|
|
55087
55105
|
const resourceParams = createResourceParams$c(config);
|
|
55088
55106
|
return keyBuilder$c(luvio, resourceParams);
|
|
55089
55107
|
}
|
|
55090
|
-
function validateAdapterConfig$
|
|
55108
|
+
function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
|
|
55091
55109
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
55092
55110
|
return null;
|
|
55093
55111
|
}
|
|
55094
55112
|
if (process.env.NODE_ENV !== 'production') {
|
|
55095
55113
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
55096
55114
|
}
|
|
55097
|
-
const config = typeCheckConfig$
|
|
55115
|
+
const config = typeCheckConfig$d(untrustedConfig);
|
|
55098
55116
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
55099
55117
|
return null;
|
|
55100
55118
|
}
|
|
@@ -55120,7 +55138,7 @@ function onFetchResponseError$3(luvio, config, resourceParams, response) {
|
|
|
55120
55138
|
}
|
|
55121
55139
|
function buildNetworkSnapshot$e(luvio, config, options) {
|
|
55122
55140
|
const resourceParams = createResourceParams$c(transformConfiguration$1(config));
|
|
55123
|
-
const request = createResourceRequest$
|
|
55141
|
+
const request = createResourceRequest$f(resourceParams);
|
|
55124
55142
|
return luvio.dispatchResourceRequest(request, options).then((response) => {
|
|
55125
55143
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$4(luvio, config, resourceParams, response), () => {
|
|
55126
55144
|
const cache = new StoreKeyMap();
|
|
@@ -55266,7 +55284,7 @@ function ingestSuccess$4(luvio, response) {
|
|
|
55266
55284
|
};
|
|
55267
55285
|
return syntheticSnapshot;
|
|
55268
55286
|
}
|
|
55269
|
-
function createResourceRequest$
|
|
55287
|
+
function createResourceRequest$e(config) {
|
|
55270
55288
|
const headers = {};
|
|
55271
55289
|
return {
|
|
55272
55290
|
baseUri: '/services/data/v63.0',
|
|
@@ -55280,13 +55298,13 @@ function createResourceRequest$d(config) {
|
|
|
55280
55298
|
};
|
|
55281
55299
|
}
|
|
55282
55300
|
|
|
55283
|
-
const adapterName$
|
|
55301
|
+
const adapterName$8 = 'executeBatchRecordOperations';
|
|
55284
55302
|
const executeBatchRecordOperations_ConfigPropertyMetadata = [
|
|
55285
55303
|
generateParamConfigMetadata('allOrNone', true, 2, 1, false),
|
|
55286
55304
|
generateParamConfigMetadata('operations', true, 2, 4, true), // Required, BodyParam, Unsupported(Object type), array
|
|
55287
55305
|
];
|
|
55288
55306
|
const executeBatchRecordOperations_ConfigPropertyNames =
|
|
55289
|
-
/*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
55307
|
+
/*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, executeBatchRecordOperations_ConfigPropertyMetadata);
|
|
55290
55308
|
const acceptedOperations = ['CREATE', 'UPDATE', 'DELETE'];
|
|
55291
55309
|
const batchUpdateRecordsCreateResourceParams = /*#__PURE__*/ createResourceParams$16(executeBatchRecordOperations_ConfigPropertyMetadata);
|
|
55292
55310
|
function batchUpdateRecordsTypeCheckConfig(untrustedConfig) {
|
|
@@ -55321,7 +55339,7 @@ function batchUpdateRecordsTypeCheckConfig(untrustedConfig) {
|
|
|
55321
55339
|
}
|
|
55322
55340
|
return config;
|
|
55323
55341
|
}
|
|
55324
|
-
function validateAdapterConfig$
|
|
55342
|
+
function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
|
|
55325
55343
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
55326
55344
|
return null;
|
|
55327
55345
|
}
|
|
@@ -55338,7 +55356,7 @@ function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
|
|
|
55338
55356
|
}
|
|
55339
55357
|
function buildNetworkSnapshot$d(luvio, config, options) {
|
|
55340
55358
|
const resourceParams = batchUpdateRecordsCreateResourceParams(config);
|
|
55341
|
-
const request = createResourceRequest$
|
|
55359
|
+
const request = createResourceRequest$e(resourceParams);
|
|
55342
55360
|
return luvio.dispatchResourceRequest(request, options).then((response) => {
|
|
55343
55361
|
return luvio.handleSuccessResponse(() => {
|
|
55344
55362
|
const snapshot = ingestSuccess$4(luvio, response);
|
|
@@ -55355,7 +55373,7 @@ function buildNetworkSnapshot$d(luvio, config, options) {
|
|
|
55355
55373
|
}
|
|
55356
55374
|
const factory$f = (luvio) => {
|
|
55357
55375
|
return function executeBatchRecordOperations(untrustedConfig) {
|
|
55358
|
-
const config = validateAdapterConfig$
|
|
55376
|
+
const config = validateAdapterConfig$c(untrustedConfig, executeBatchRecordOperations_ConfigPropertyNames);
|
|
55359
55377
|
// Invalid or incomplete config
|
|
55360
55378
|
if (config === null) {
|
|
55361
55379
|
// eslint-disable-next-line @salesforce/lds/no-error-in-production
|
|
@@ -55365,19 +55383,19 @@ const factory$f = (luvio) => {
|
|
|
55365
55383
|
};
|
|
55366
55384
|
};
|
|
55367
55385
|
|
|
55368
|
-
const adapterName$
|
|
55386
|
+
const adapterName$7 = 'graphql';
|
|
55369
55387
|
const graphql_ConfigPropertyMetadata = [
|
|
55370
55388
|
generateParamConfigMetadata('operationName', false, 2 /* Body */, 0 /* String */),
|
|
55371
55389
|
generateParamConfigMetadata('query', true, 2 /* Body */, 0 /* String */),
|
|
55372
55390
|
generateParamConfigMetadata('variables', false, 2 /* Body */, 4 /* Unsupported */),
|
|
55373
55391
|
];
|
|
55374
|
-
const graphql_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
55392
|
+
const graphql_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, graphql_ConfigPropertyMetadata);
|
|
55375
55393
|
const createResourceParams$b = /*#__PURE__*/ createResourceParams$16(graphql_ConfigPropertyMetadata);
|
|
55376
55394
|
function keyBuilder$a(luvio, config) {
|
|
55377
55395
|
const resourceParams = createResourceParams$b(config);
|
|
55378
55396
|
return keyBuilder$d(luvio, resourceParams);
|
|
55379
55397
|
}
|
|
55380
|
-
function typeCheckConfig$
|
|
55398
|
+
function typeCheckConfig$c(untrustedConfig) {
|
|
55381
55399
|
const config = {};
|
|
55382
55400
|
const untrustedConfig_operationName = untrustedConfig.operationName;
|
|
55383
55401
|
if (typeof untrustedConfig_operationName === 'string') {
|
|
@@ -55404,14 +55422,14 @@ function typeCheckConfig$e(untrustedConfig) {
|
|
|
55404
55422
|
}
|
|
55405
55423
|
return config;
|
|
55406
55424
|
}
|
|
55407
|
-
function validateAdapterConfig$
|
|
55425
|
+
function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
|
|
55408
55426
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
55409
55427
|
return null;
|
|
55410
55428
|
}
|
|
55411
55429
|
if (process.env.NODE_ENV !== 'production') {
|
|
55412
55430
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
55413
55431
|
}
|
|
55414
|
-
const config = typeCheckConfig$
|
|
55432
|
+
const config = typeCheckConfig$c(untrustedConfig);
|
|
55415
55433
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
55416
55434
|
return null;
|
|
55417
55435
|
}
|
|
@@ -55447,7 +55465,7 @@ function onFetchResponseError$2(luvio, config, resourceParams, response) {
|
|
|
55447
55465
|
}
|
|
55448
55466
|
function buildNetworkSnapshot$c(luvio, config, options) {
|
|
55449
55467
|
const resourceParams = createResourceParams$b(transformConfiguration(config));
|
|
55450
|
-
const request = createResourceRequest$
|
|
55468
|
+
const request = createResourceRequest$g(resourceParams);
|
|
55451
55469
|
return luvio.dispatchResourceRequest(request, options)
|
|
55452
55470
|
.then((response) => {
|
|
55453
55471
|
var _a, _b;
|
|
@@ -55485,7 +55503,7 @@ function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
|
|
|
55485
55503
|
return cacheSnapshot;
|
|
55486
55504
|
}
|
|
55487
55505
|
|
|
55488
|
-
function validateAdapterConfig$
|
|
55506
|
+
function validateAdapterConfig$a(untrustedConfig, _configPropertyNames) {
|
|
55489
55507
|
if (untrustedConfig !== null && typeof untrustedConfig === 'object') {
|
|
55490
55508
|
const operationNameIsDefinedAsUndefined = ObjectPrototypeHasOwnProperty.call(untrustedConfig, 'operationName') &&
|
|
55491
55509
|
untrustedConfig.operationName === undefined;
|
|
@@ -55495,11 +55513,11 @@ function validateAdapterConfig$c(untrustedConfig, _configPropertyNames) {
|
|
|
55495
55513
|
return null;
|
|
55496
55514
|
}
|
|
55497
55515
|
}
|
|
55498
|
-
return validateAdapterConfig$
|
|
55516
|
+
return validateAdapterConfig$b(untrustedConfig, _configPropertyNames);
|
|
55499
55517
|
}
|
|
55500
55518
|
|
|
55501
55519
|
const factory$e = (luvio) => function graphql(untrustedConfig, requestContext) {
|
|
55502
|
-
const config = validateAdapterConfig$
|
|
55520
|
+
const config = validateAdapterConfig$a(untrustedConfig, graphql_ConfigPropertyNames);
|
|
55503
55521
|
// Invalid or incomplete config
|
|
55504
55522
|
if (config === null) {
|
|
55505
55523
|
return null;
|
|
@@ -55507,7 +55525,7 @@ const factory$e = (luvio) => function graphql(untrustedConfig, requestContext) {
|
|
|
55507
55525
|
const { getDraftAwareGraphQLAdapter } = configurationForGraphQLAdapters;
|
|
55508
55526
|
const adapter = getDraftAwareGraphQLAdapter();
|
|
55509
55527
|
if (adapter !== undefined) {
|
|
55510
|
-
return adapter(config,
|
|
55528
|
+
return adapter(config, requestContext);
|
|
55511
55529
|
}
|
|
55512
55530
|
return luvio.applyCachePolicy(requestContext || {}, { config, luvio }, buildCachedSnapshotCachePolicy$4, buildNetworkSnapshotCachePolicy$5);
|
|
55513
55531
|
};
|
|
@@ -55535,7 +55553,7 @@ function ingestSuccess$3(luvio, resourceParams, response) {
|
|
|
55535
55553
|
deepFreeze(snapshot.data);
|
|
55536
55554
|
return snapshot;
|
|
55537
55555
|
}
|
|
55538
|
-
function createResourceRequest$
|
|
55556
|
+
function createResourceRequest$d(config) {
|
|
55539
55557
|
const headers = {};
|
|
55540
55558
|
return {
|
|
55541
55559
|
baseUri: '/services/data/v63.0',
|
|
@@ -55549,7 +55567,6 @@ function createResourceRequest$c(config) {
|
|
|
55549
55567
|
};
|
|
55550
55568
|
}
|
|
55551
55569
|
|
|
55552
|
-
const adapterName$8 = 'performUpdateRecordQuickAction';
|
|
55553
55570
|
const performUpdateRecordQuickAction_ConfigPropertyMetadata = [
|
|
55554
55571
|
generateParamConfigMetadata('actionApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
55555
55572
|
generateParamConfigMetadata('allowSaveOnDuplicate', false, 2 /* Body */, 1 /* Boolean */),
|
|
@@ -55557,62 +55574,10 @@ const performUpdateRecordQuickAction_ConfigPropertyMetadata = [
|
|
|
55557
55574
|
generateParamConfigMetadata('contextId', false, 2 /* Body */, 0 /* String */, false, getRecordId18),
|
|
55558
55575
|
generateParamConfigMetadata('fields', true, 2 /* Body */, 4 /* Unsupported */),
|
|
55559
55576
|
];
|
|
55560
|
-
const performUpdateRecordQuickAction_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, performUpdateRecordQuickAction_ConfigPropertyMetadata);
|
|
55561
55577
|
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
55578
|
function buildNetworkSnapshot$b(luvio, config, options) {
|
|
55614
55579
|
const resourceParams = createResourceParams$a(config);
|
|
55615
|
-
const request = createResourceRequest$
|
|
55580
|
+
const request = createResourceRequest$d(resourceParams);
|
|
55616
55581
|
return luvio.dispatchResourceRequest(request, options)
|
|
55617
55582
|
.then((response) => {
|
|
55618
55583
|
return luvio.handleSuccessResponse(() => {
|
|
@@ -55628,18 +55593,6 @@ function buildNetworkSnapshot$b(luvio, config, options) {
|
|
|
55628
55593
|
throw response;
|
|
55629
55594
|
});
|
|
55630
55595
|
}
|
|
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
55596
|
|
|
55644
55597
|
function select$4(luvio, params) {
|
|
55645
55598
|
return select$32();
|
|
@@ -55664,7 +55617,7 @@ function ingestSuccess$2(luvio, resourceParams, response) {
|
|
|
55664
55617
|
deepFreeze(snapshot.data);
|
|
55665
55618
|
return snapshot;
|
|
55666
55619
|
}
|
|
55667
|
-
function createResourceRequest$
|
|
55620
|
+
function createResourceRequest$c(config) {
|
|
55668
55621
|
const headers = {};
|
|
55669
55622
|
return {
|
|
55670
55623
|
baseUri: '/services/data/v63.0',
|
|
@@ -55678,7 +55631,6 @@ function createResourceRequest$b(config) {
|
|
|
55678
55631
|
};
|
|
55679
55632
|
}
|
|
55680
55633
|
|
|
55681
|
-
const adapterName$7 = 'performQuickAction';
|
|
55682
55634
|
const performQuickAction_ConfigPropertyMetadata = [
|
|
55683
55635
|
generateParamConfigMetadata('actionApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
55684
55636
|
generateParamConfigMetadata('allowSaveOnDuplicate', false, 2 /* Body */, 1 /* Boolean */),
|
|
@@ -55686,62 +55638,10 @@ const performQuickAction_ConfigPropertyMetadata = [
|
|
|
55686
55638
|
generateParamConfigMetadata('contextId', false, 2 /* Body */, 0 /* String */, false, getRecordId18),
|
|
55687
55639
|
generateParamConfigMetadata('fields', true, 2 /* Body */, 4 /* Unsupported */),
|
|
55688
55640
|
];
|
|
55689
|
-
const performQuickAction_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, performQuickAction_ConfigPropertyMetadata);
|
|
55690
55641
|
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
55642
|
function buildNetworkSnapshot$a(luvio, config, options) {
|
|
55743
55643
|
const resourceParams = createResourceParams$9(config);
|
|
55744
|
-
const request = createResourceRequest$
|
|
55644
|
+
const request = createResourceRequest$c(resourceParams);
|
|
55745
55645
|
return luvio.dispatchResourceRequest(request, options)
|
|
55746
55646
|
.then((response) => {
|
|
55747
55647
|
return luvio.handleSuccessResponse(() => {
|
|
@@ -55757,20 +55657,36 @@ function buildNetworkSnapshot$a(luvio, config, options) {
|
|
|
55757
55657
|
throw response;
|
|
55758
55658
|
});
|
|
55759
55659
|
}
|
|
55760
|
-
|
|
55761
|
-
|
|
55762
|
-
|
|
55763
|
-
|
|
55764
|
-
|
|
55765
|
-
|
|
55660
|
+
|
|
55661
|
+
const factory$d = (luvio) => {
|
|
55662
|
+
return function (untrustedConfig) {
|
|
55663
|
+
const config = untrustedConfig;
|
|
55664
|
+
const draftAdapter = configurationForRestAdapters.getDraftAwarePerformUpdateRecordQuickActionAdapter();
|
|
55665
|
+
if (draftAdapter !== undefined) {
|
|
55666
|
+
return draftAdapter(config, (config) => {
|
|
55667
|
+
const resourceParams = createResourceParams$9(config);
|
|
55668
|
+
return createResourceRequest$d(resourceParams);
|
|
55669
|
+
});
|
|
55766
55670
|
}
|
|
55767
|
-
return buildNetworkSnapshot$
|
|
55671
|
+
return buildNetworkSnapshot$b(luvio, config);
|
|
55768
55672
|
};
|
|
55769
55673
|
};
|
|
55770
55674
|
|
|
55771
|
-
const factory$c =
|
|
55675
|
+
const factory$c = (luvio) => {
|
|
55676
|
+
return function (untrustedConfig) {
|
|
55677
|
+
const config = untrustedConfig;
|
|
55678
|
+
const draftAdapter = configurationForRestAdapters.getDraftAwarePerformQuickActionAdapter();
|
|
55679
|
+
if (draftAdapter !== undefined) {
|
|
55680
|
+
return draftAdapter(config, (config) => {
|
|
55681
|
+
const resourceParams = createResourceParams$9(config);
|
|
55682
|
+
return createResourceRequest$c(resourceParams);
|
|
55683
|
+
});
|
|
55684
|
+
}
|
|
55685
|
+
return buildNetworkSnapshot$a(luvio, config);
|
|
55686
|
+
};
|
|
55687
|
+
};
|
|
55772
55688
|
|
|
55773
|
-
function createResourceRequest$
|
|
55689
|
+
function createResourceRequest$b(config) {
|
|
55774
55690
|
const headers = {};
|
|
55775
55691
|
return {
|
|
55776
55692
|
baseUri: '/services/data/v63.0',
|
|
@@ -55880,7 +55796,7 @@ function optimisticUpdate(cachedLayoutUserState, layoutUserStateInput) {
|
|
|
55880
55796
|
return clonedLayoutUserState;
|
|
55881
55797
|
}
|
|
55882
55798
|
function coerceConfigWithDefaults$2(untrusted, layoutUserStateInput) {
|
|
55883
|
-
const config = validateAdapterConfig$
|
|
55799
|
+
const config = validateAdapterConfig$O(untrusted, getLayoutUserState_ConfigPropertyNames);
|
|
55884
55800
|
if (config === null) {
|
|
55885
55801
|
// eslint-disable-next-line @salesforce/lds/no-error-in-production
|
|
55886
55802
|
throw new Error(`@wire(updateLayoutUserState) invalid configuration ${stringify(untrusted)}`);
|
|
@@ -55907,7 +55823,7 @@ const factory$b = (luvio) => {
|
|
|
55907
55823
|
}
|
|
55908
55824
|
}
|
|
55909
55825
|
const { objectApiName, layoutType, mode, recordTypeId, layoutUserStateInput } = config;
|
|
55910
|
-
const updateRequest = createResourceRequest$
|
|
55826
|
+
const updateRequest = createResourceRequest$b({
|
|
55911
55827
|
urlParams: {
|
|
55912
55828
|
objectApiName,
|
|
55913
55829
|
},
|
|
@@ -55986,7 +55902,7 @@ function keyBuilder$9(luvio, config) {
|
|
|
55986
55902
|
}
|
|
55987
55903
|
function typeCheckConfig$b(untrustedConfig) {
|
|
55988
55904
|
const config = {};
|
|
55989
|
-
typeCheckConfig$
|
|
55905
|
+
typeCheckConfig$1a(untrustedConfig, config, getListRecordsByName_ConfigPropertyMetadata);
|
|
55990
55906
|
return config;
|
|
55991
55907
|
}
|
|
55992
55908
|
function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
|
|
@@ -56022,13 +55938,13 @@ function onFetchResponseError$1(luvio, config, resourceParams, response) {
|
|
|
56022
55938
|
}
|
|
56023
55939
|
function prepareRequest$1(luvio, config, resourceParams, cacheSnapshot) {
|
|
56024
55940
|
if (cacheSnapshot === undefined) {
|
|
56025
|
-
return createResourceRequest$
|
|
55941
|
+
return createResourceRequest$1b(resourceParams);
|
|
56026
55942
|
}
|
|
56027
55943
|
const [newToken, newPageSize] = minimizePaginationParams(luvio, resourceParams, cacheSnapshot);
|
|
56028
55944
|
if (newToken === undefined) {
|
|
56029
|
-
return createResourceRequest$
|
|
55945
|
+
return createResourceRequest$1b(resourceParams);
|
|
56030
55946
|
}
|
|
56031
|
-
return createResourceRequest$
|
|
55947
|
+
return createResourceRequest$1b(createResourceParams$8({
|
|
56032
55948
|
...config,
|
|
56033
55949
|
pageSize: newPageSize,
|
|
56034
55950
|
pageToken: newToken
|
|
@@ -56246,12 +56162,13 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
56246
56162
|
}
|
|
56247
56163
|
|
|
56248
56164
|
function keyBuilder$8(luvio, params) {
|
|
56249
|
-
|
|
56165
|
+
var _a, _b, _c, _d, _e;
|
|
56166
|
+
return keyPrefix + '::LookupValuesRepresentation:(' + 'dependentFieldBindings:' + params.queryParams.dependentFieldBindings + ',' + 'page:' + params.queryParams.page + ',' + 'pageSize:' + params.queryParams.pageSize + ',' + 'q:' + params.queryParams.q + ',' + 'searchType:' + params.queryParams.searchType + ',' + 'sourceRecordId:' + params.queryParams.sourceRecordId + ',' + 'targetApiName:' + params.queryParams.targetApiName + ',' + 'fieldApiName:' + params.urlParams.fieldApiName + ',' + 'objectApiName:' + params.urlParams.objectApiName + ',' + (((_a = params.body.sourceRecord) === null || _a === void 0 ? void 0 : _a.allowSaveOnDuplicate) === undefined ? 'sourceRecord.allowSaveOnDuplicate' : 'sourceRecord.allowSaveOnDuplicate:' + ((_b = params.body.sourceRecord) === null || _b === void 0 ? void 0 : _b.allowSaveOnDuplicate)) + '::' + (((_c = params.body.sourceRecord) === null || _c === void 0 ? void 0 : _c.apiName) === undefined ? 'sourceRecord.apiName' : 'sourceRecord.apiName:' + ((_d = params.body.sourceRecord) === null || _d === void 0 ? void 0 : _d.apiName)) + '::' + stableJSONStringify((_e = params.body.sourceRecord) === null || _e === void 0 ? void 0 : _e.fields) + '::' + (params.body.orderBy === undefined ? undefined : ('[' + params.body.orderBy.map(element => 'orderBy.fieldApiName:' + element.fieldApiName + '::' + 'orderBy.isAscending:' + element.isAscending).join(',') + ']')) + ')';
|
|
56250
56167
|
}
|
|
56251
56168
|
function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
|
|
56252
56169
|
getTypeCacheKeys$7(storeKeyMap, luvio, response, () => keyBuilder$8(luvio, resourceParams));
|
|
56253
56170
|
}
|
|
56254
|
-
function createResourceRequest$
|
|
56171
|
+
function createResourceRequest$a(config) {
|
|
56255
56172
|
const headers = {};
|
|
56256
56173
|
return {
|
|
56257
56174
|
baseUri: '/services/data/v63.0',
|
|
@@ -56276,17 +56193,27 @@ const getLookupRecords_ConfigPropertyMetadata = [
|
|
|
56276
56193
|
generateParamConfigMetadata('sourceRecordId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
56277
56194
|
generateParamConfigMetadata('targetApiName', false, 1 /* QueryParameter */, 0 /* String */),
|
|
56278
56195
|
generateParamConfigMetadata('sourceRecord', false, 2 /* Body */, 4 /* Unsupported */),
|
|
56196
|
+
generateParamConfigMetadata('orderBy', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
56279
56197
|
];
|
|
56280
56198
|
function typeCheckConfig$a(untrustedConfig) {
|
|
56281
56199
|
const config = {};
|
|
56282
|
-
typeCheckConfig$
|
|
56200
|
+
typeCheckConfig$1a(untrustedConfig, config, getLookupRecords_ConfigPropertyMetadata);
|
|
56283
56201
|
const untrustedConfig_sourceRecord = untrustedConfig.sourceRecord;
|
|
56284
56202
|
const referenceRecordInputRepresentationValidationError = validate$b(untrustedConfig_sourceRecord);
|
|
56285
56203
|
if (referenceRecordInputRepresentationValidationError === null) {
|
|
56286
56204
|
config.sourceRecord = untrustedConfig_sourceRecord;
|
|
56287
56205
|
}
|
|
56288
|
-
|
|
56289
|
-
|
|
56206
|
+
const untrustedConfig_orderBy = untrustedConfig.orderBy;
|
|
56207
|
+
if (ArrayIsArray$1(untrustedConfig_orderBy)) {
|
|
56208
|
+
const untrustedConfig_orderBy_array = [];
|
|
56209
|
+
for (let i = 0, arrayLength = untrustedConfig_orderBy.length; i < arrayLength; i++) {
|
|
56210
|
+
const untrustedConfig_orderBy_item = untrustedConfig_orderBy[i];
|
|
56211
|
+
const referenceListOrderedByInfoInputRepresentationValidationError = validate$14(untrustedConfig_orderBy_item);
|
|
56212
|
+
if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
|
|
56213
|
+
untrustedConfig_orderBy_array.push(untrustedConfig_orderBy_item);
|
|
56214
|
+
}
|
|
56215
|
+
}
|
|
56216
|
+
config.orderBy = untrustedConfig_orderBy_array;
|
|
56290
56217
|
}
|
|
56291
56218
|
return config;
|
|
56292
56219
|
}
|
|
@@ -56350,6 +56277,10 @@ function coerceRequestParams(untrusted) {
|
|
|
56350
56277
|
if (sourceRecord !== undefined) {
|
|
56351
56278
|
coercedConfig.sourceRecord = sourceRecord;
|
|
56352
56279
|
}
|
|
56280
|
+
const orderBy = requestParams.orderBy;
|
|
56281
|
+
if (orderBy !== undefined) {
|
|
56282
|
+
coercedConfig.orderBy = orderBy;
|
|
56283
|
+
}
|
|
56353
56284
|
return coercedConfig;
|
|
56354
56285
|
}
|
|
56355
56286
|
function coerceConfigWithDefaults$1(untrusted) {
|
|
@@ -56399,9 +56330,10 @@ function buildNetworkSnapshot$8(luvio, config, options) {
|
|
|
56399
56330
|
},
|
|
56400
56331
|
body: {
|
|
56401
56332
|
sourceRecord: config.sourceRecord,
|
|
56333
|
+
orderBy: config.orderBy,
|
|
56402
56334
|
},
|
|
56403
56335
|
};
|
|
56404
|
-
const request = createResourceRequest$
|
|
56336
|
+
const request = createResourceRequest$a(resourceParams);
|
|
56405
56337
|
return luvio.dispatchResourceRequest(request, options).then((response) => {
|
|
56406
56338
|
return luvio.handleSuccessResponse(() => {
|
|
56407
56339
|
// TODO [W-7235112]: remove this hack to never ingest lookup responses that
|
|
@@ -56478,7 +56410,7 @@ const factory$9 = (luvio) => {
|
|
|
56478
56410
|
};
|
|
56479
56411
|
};
|
|
56480
56412
|
|
|
56481
|
-
function createResourceRequest$
|
|
56413
|
+
function createResourceRequest$9(config) {
|
|
56482
56414
|
const headers = {};
|
|
56483
56415
|
return {
|
|
56484
56416
|
baseUri: '/services/data/v63.0',
|
|
@@ -56504,7 +56436,7 @@ const updateRecordAvatar_ConfigPropertyMetadata = [
|
|
|
56504
56436
|
const updateRecordAvatar_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, updateRecordAvatar_ConfigPropertyMetadata);
|
|
56505
56437
|
function typeCheckConfig$9(untrustedConfig) {
|
|
56506
56438
|
const config = {};
|
|
56507
|
-
typeCheckConfig$
|
|
56439
|
+
typeCheckConfig$1a(untrustedConfig, config, updateRecordAvatar_ConfigPropertyMetadata);
|
|
56508
56440
|
return config;
|
|
56509
56441
|
}
|
|
56510
56442
|
function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
|
|
@@ -56540,7 +56472,7 @@ const factory$8 = (luvio) => {
|
|
|
56540
56472
|
actionType: config.actionType,
|
|
56541
56473
|
},
|
|
56542
56474
|
};
|
|
56543
|
-
const request = createResourceRequest$
|
|
56475
|
+
const request = createResourceRequest$9(resourceParams);
|
|
56544
56476
|
return luvio.dispatchResourceRequest(request).then((response) => {
|
|
56545
56477
|
const { body } = response;
|
|
56546
56478
|
const key = keyBuilderFromType$f(luvio, body);
|
|
@@ -57087,7 +57019,7 @@ function keyBuilder$7(luvio, params) {
|
|
|
57087
57019
|
function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
|
|
57088
57020
|
getTypeCacheKeys$5(storeKeyMap, luvio, response, () => keyBuilder$7(luvio, resourceParams));
|
|
57089
57021
|
}
|
|
57090
|
-
function createResourceRequest$
|
|
57022
|
+
function createResourceRequest$8(config) {
|
|
57091
57023
|
const headers = {};
|
|
57092
57024
|
return {
|
|
57093
57025
|
baseUri: '/services/data/v63.0',
|
|
@@ -57112,7 +57044,7 @@ const getRecordCreateDefaults_ConfigPropertyNames = /*#__PURE__*/ buildAdapterVa
|
|
|
57112
57044
|
const createResourceParams$7 = /*#__PURE__*/ createResourceParams$16(getRecordCreateDefaults_ConfigPropertyMetadata);
|
|
57113
57045
|
function typeCheckConfig$8(untrustedConfig) {
|
|
57114
57046
|
const config = {};
|
|
57115
|
-
typeCheckConfig$
|
|
57047
|
+
typeCheckConfig$1a(untrustedConfig, config, getRecordCreateDefaults_ConfigPropertyMetadata);
|
|
57116
57048
|
return config;
|
|
57117
57049
|
}
|
|
57118
57050
|
function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
|
|
@@ -57168,7 +57100,7 @@ function buildSnapshotRefresh$1(luvio, context, config) {
|
|
|
57168
57100
|
}
|
|
57169
57101
|
function buildNetworkSnapshot$7(luvio, context, config, options) {
|
|
57170
57102
|
const params = createResourceParams$7(config);
|
|
57171
|
-
const request = createResourceRequest$
|
|
57103
|
+
const request = createResourceRequest$8(params);
|
|
57172
57104
|
const key = keyBuilder$7(luvio, params);
|
|
57173
57105
|
const selectorKey = buildSelectorKey(luvio, config);
|
|
57174
57106
|
return luvio.dispatchResourceRequest(request, options).then((response) => {
|
|
@@ -57718,7 +57650,7 @@ const select$2 = (luvio, params) => {
|
|
|
57718
57650
|
function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
|
|
57719
57651
|
getTypeCacheKeys$3(storeKeyMap, luvio, response);
|
|
57720
57652
|
}
|
|
57721
|
-
function createResourceRequest$
|
|
57653
|
+
function createResourceRequest$7(config) {
|
|
57722
57654
|
const headers = {};
|
|
57723
57655
|
return {
|
|
57724
57656
|
baseUri: '/services/data/v63.0',
|
|
@@ -57742,7 +57674,7 @@ const getRecordTemplateClone_ConfigPropertyNames = /*#__PURE__*/ buildAdapterVal
|
|
|
57742
57674
|
const createResourceParams$6 = /*#__PURE__*/ createResourceParams$16(getRecordTemplateClone_ConfigPropertyMetadata);
|
|
57743
57675
|
function typeCheckConfig$7(untrustedConfig) {
|
|
57744
57676
|
const config = {};
|
|
57745
|
-
typeCheckConfig$
|
|
57677
|
+
typeCheckConfig$1a(untrustedConfig, config, getRecordTemplateClone_ConfigPropertyMetadata);
|
|
57746
57678
|
return config;
|
|
57747
57679
|
}
|
|
57748
57680
|
function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
|
|
@@ -57787,7 +57719,7 @@ const buildNetworkSnapshot$6 = (luvio, context, config, options) => {
|
|
|
57787
57719
|
const resourceParams = createResourceParams$6(config);
|
|
57788
57720
|
const recordTypeId = getRecordTypeId$1(config, context);
|
|
57789
57721
|
const { recordId } = config;
|
|
57790
|
-
const resourceRequest = createResourceRequest$
|
|
57722
|
+
const resourceRequest = createResourceRequest$7(resourceParams);
|
|
57791
57723
|
const coercedRecordTypeId = recordTypeId === undefined ? null : recordTypeId;
|
|
57792
57724
|
const templateRecordKey = keyBuilder$6(luvio, {
|
|
57793
57725
|
cloneSourceId: recordId,
|
|
@@ -57795,7 +57727,7 @@ const buildNetworkSnapshot$6 = (luvio, context, config, options) => {
|
|
|
57795
57727
|
});
|
|
57796
57728
|
const request = recordTypeId === undefined
|
|
57797
57729
|
? resourceRequest
|
|
57798
|
-
: createResourceRequest$
|
|
57730
|
+
: createResourceRequest$7({
|
|
57799
57731
|
...resourceParams,
|
|
57800
57732
|
queryParams: {
|
|
57801
57733
|
...resourceRequest.queryParams,
|
|
@@ -58349,7 +58281,7 @@ function ingestError(luvio, params, error, snapshotRefresh) {
|
|
|
58349
58281
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
58350
58282
|
return errorSnapshot;
|
|
58351
58283
|
}
|
|
58352
|
-
function createResourceRequest$
|
|
58284
|
+
function createResourceRequest$6(config) {
|
|
58353
58285
|
const headers = {};
|
|
58354
58286
|
return {
|
|
58355
58287
|
baseUri: '/services/data/v63.0',
|
|
@@ -58378,7 +58310,7 @@ const getRecordTemplateCreate_ConfigPropertyNames = /*#__PURE__*/ buildAdapterVa
|
|
|
58378
58310
|
const createResourceParams$5 = /*#__PURE__*/ createResourceParams$16(getRecordTemplateCreate_ConfigPropertyMetadata);
|
|
58379
58311
|
function typeCheckConfig$6(untrustedConfig) {
|
|
58380
58312
|
const config = {};
|
|
58381
|
-
typeCheckConfig$
|
|
58313
|
+
typeCheckConfig$1a(untrustedConfig, config, getRecordTemplateCreate_ConfigPropertyMetadata);
|
|
58382
58314
|
return config;
|
|
58383
58315
|
}
|
|
58384
58316
|
function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
|
|
@@ -58422,7 +58354,7 @@ function prepareRequest(luvio, context, config) {
|
|
|
58422
58354
|
const resourceParams = createResourceParams$5(config);
|
|
58423
58355
|
const recordTypeId = getRecordTypeId(context, config);
|
|
58424
58356
|
const { objectApiName } = config;
|
|
58425
|
-
const resourceRequest = createResourceRequest$
|
|
58357
|
+
const resourceRequest = createResourceRequest$6(resourceParams);
|
|
58426
58358
|
if (recordTypeId === undefined) {
|
|
58427
58359
|
return resourceRequest;
|
|
58428
58360
|
}
|
|
@@ -58430,7 +58362,7 @@ function prepareRequest(luvio, context, config) {
|
|
|
58430
58362
|
apiName: objectApiName,
|
|
58431
58363
|
recordTypeId: recordTypeId,
|
|
58432
58364
|
});
|
|
58433
|
-
return createResourceRequest$
|
|
58365
|
+
return createResourceRequest$6({
|
|
58434
58366
|
...resourceParams,
|
|
58435
58367
|
queryParams: {
|
|
58436
58368
|
...resourceRequest.queryParams,
|
|
@@ -58562,7 +58494,7 @@ const factory$5 = (luvio) => {
|
|
|
58562
58494
|
function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
|
|
58563
58495
|
getTypeCacheKeys$2h(storeKeyMap, luvio, response);
|
|
58564
58496
|
}
|
|
58565
|
-
function createResourceRequest$
|
|
58497
|
+
function createResourceRequest$5(config) {
|
|
58566
58498
|
const headers = {};
|
|
58567
58499
|
return {
|
|
58568
58500
|
baseUri: '/services/data/v63.0',
|
|
@@ -58617,7 +58549,7 @@ function onResponseSuccess(luvio, response, recordIngest, conflictMap) {
|
|
|
58617
58549
|
}
|
|
58618
58550
|
function buildNetworkSnapshot$4(luvio, config) {
|
|
58619
58551
|
const resourceParams = createResourceParams$4(config);
|
|
58620
|
-
const request = createResourceRequest$
|
|
58552
|
+
const request = createResourceRequest$5(resourceParams);
|
|
58621
58553
|
const fieldTrie = BLANK_RECORD_FIELDS_TRIE;
|
|
58622
58554
|
const optionalFieldTrie = BLANK_RECORD_FIELDS_TRIE;
|
|
58623
58555
|
const conflictMap = {
|
|
@@ -58636,12 +58568,16 @@ function buildNetworkSnapshot$4(luvio, config) {
|
|
|
58636
58568
|
throw err;
|
|
58637
58569
|
});
|
|
58638
58570
|
}
|
|
58571
|
+
function createResourceRequest$4(config) {
|
|
58572
|
+
const resourceParams = createResourceParams$4(config);
|
|
58573
|
+
return createResourceRequest$5(resourceParams);
|
|
58574
|
+
}
|
|
58639
58575
|
const factory$4 = (luvio) => {
|
|
58640
58576
|
return function (untrustedConfig) {
|
|
58641
58577
|
const config = untrustedConfig;
|
|
58642
58578
|
const draftAdapter = configurationForRestAdapters.getDraftAwareCreateRecordAdapter();
|
|
58643
58579
|
if (draftAdapter !== undefined) {
|
|
58644
|
-
return draftAdapter(config,
|
|
58580
|
+
return draftAdapter(config, createResourceRequest$4);
|
|
58645
58581
|
}
|
|
58646
58582
|
return buildNetworkSnapshot$4(luvio, config);
|
|
58647
58583
|
};
|
|
@@ -58686,7 +58622,7 @@ const deleteRecord_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationCon
|
|
|
58686
58622
|
const createResourceParams$3 = /*#__PURE__*/ createResourceParams$16(deleteRecord_ConfigPropertyMetadata);
|
|
58687
58623
|
function typeCheckConfig$5(untrustedConfig) {
|
|
58688
58624
|
const config = {};
|
|
58689
|
-
typeCheckConfig$
|
|
58625
|
+
typeCheckConfig$1a(untrustedConfig, config, deleteRecord_ConfigPropertyMetadata);
|
|
58690
58626
|
return config;
|
|
58691
58627
|
}
|
|
58692
58628
|
function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
|
|
@@ -58738,7 +58674,10 @@ const factory$3 = (luvio) => {
|
|
|
58738
58674
|
const config = { recordId };
|
|
58739
58675
|
const draftAdapter = configurationForRestAdapters.getDraftAwareDeleteRecordAdapter();
|
|
58740
58676
|
if (draftAdapter !== undefined) {
|
|
58741
|
-
return draftAdapter(config,
|
|
58677
|
+
return draftAdapter(config, (config) => {
|
|
58678
|
+
const params = createResourceParams$3(config);
|
|
58679
|
+
return createResourceRequest$3(params);
|
|
58680
|
+
});
|
|
58742
58681
|
}
|
|
58743
58682
|
return deleteRecordAdapterInstance(config);
|
|
58744
58683
|
};
|
|
@@ -58781,7 +58720,7 @@ const updateRecord_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationCon
|
|
|
58781
58720
|
const createResourceParams$2 = /*#__PURE__*/ createResourceParams$16(updateRecord_ConfigPropertyMetadata);
|
|
58782
58721
|
function typeCheckConfig$4(untrustedConfig) {
|
|
58783
58722
|
const config = {};
|
|
58784
|
-
typeCheckConfig$
|
|
58723
|
+
typeCheckConfig$1a(untrustedConfig, config, updateRecord_ConfigPropertyMetadata);
|
|
58785
58724
|
const untrustedConfig_fields = untrustedConfig.fields;
|
|
58786
58725
|
if (untrustedIsObject(untrustedConfig_fields)) {
|
|
58787
58726
|
const untrustedConfig_fields_object = {};
|
|
@@ -58900,7 +58839,11 @@ const factory$2 = (luvio) => {
|
|
|
58900
58839
|
}
|
|
58901
58840
|
const draftAdapter = configurationForRestAdapters.getDraftAwareUpdateRecordAdapter();
|
|
58902
58841
|
if (draftAdapter !== undefined) {
|
|
58903
|
-
return draftAdapter(config,
|
|
58842
|
+
return draftAdapter(config, (config) => {
|
|
58843
|
+
const headers = getHeaders(clientOptions);
|
|
58844
|
+
const resourceParams = createResourceParams$2({ ...config, ...headers });
|
|
58845
|
+
return createResourceRequest$2(resourceParams);
|
|
58846
|
+
});
|
|
58904
58847
|
}
|
|
58905
58848
|
return buildNetworkSnapshot$2(luvio, config, clientOptions);
|
|
58906
58849
|
};
|
|
@@ -59248,7 +59191,7 @@ const createContentDocumentAndVersion_ConfigPropertyMetadata = [
|
|
|
59248
59191
|
];
|
|
59249
59192
|
function typeCheckConfig$3(untrustedConfig) {
|
|
59250
59193
|
const config = {};
|
|
59251
|
-
typeCheckConfig$
|
|
59194
|
+
typeCheckConfig$1a(untrustedConfig, config, createContentDocumentAndVersion_ConfigPropertyMetadata);
|
|
59252
59195
|
return config;
|
|
59253
59196
|
}
|
|
59254
59197
|
|
|
@@ -59293,7 +59236,10 @@ const factory$1 = (luvio) => {
|
|
|
59293
59236
|
}
|
|
59294
59237
|
const draftAdapter = configurationForRestAdapters.getDraftAwareCreateContentDocumentAndVersionAdapter();
|
|
59295
59238
|
if (draftAdapter !== undefined) {
|
|
59296
|
-
return draftAdapter(config,
|
|
59239
|
+
return draftAdapter(config, (config) => {
|
|
59240
|
+
const resourceParams = createResourceParams(config);
|
|
59241
|
+
return createResourceRequest(resourceParams);
|
|
59242
|
+
}, requestContext);
|
|
59297
59243
|
}
|
|
59298
59244
|
return buildNetworkSnapshot(luvio, config, createDispatchResourceRequestContext$1(requestContext));
|
|
59299
59245
|
};
|
|
@@ -59327,7 +59273,7 @@ const createContentVersion_ConfigPropertyMetadata = [
|
|
|
59327
59273
|
];
|
|
59328
59274
|
function typeCheckConfig$1(untrustedConfig) {
|
|
59329
59275
|
const config = {};
|
|
59330
|
-
typeCheckConfig$
|
|
59276
|
+
typeCheckConfig$1a(untrustedConfig, config, createContentVersion_ConfigPropertyMetadata);
|
|
59331
59277
|
return config;
|
|
59332
59278
|
}
|
|
59333
59279
|
|