@salesforce/lds-adapters-uiapi 1.289.0 → 1.291.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/types/src/generated/adapters/createRecord.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/adapters/getQuickActionLayout.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/adapters/updateRecord.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/resources/deleteUiApiFormsHealthCheckByApiName.d.ts +11 -0
- package/dist/es/es2018/types/src/generated/resources/deleteUiApiListInfoByListViewId.d.ts +11 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiActionsLayoutByActionApiName.d.ts +4 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiFormsHealthCheckByApiName.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiListRecordsByListViewId.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/resources/patchUiApiFormsHealthCheckByApiName.d.ts +9 -0
- package/dist/es/es2018/types/src/generated/resources/patchUiApiRecordsByRecordId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/postUiApiListRecordsByListViewId.d.ts +24 -0
- package/dist/es/es2018/types/src/generated/resources/postUiApiRecords.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/putUiApiFormsHealthCheckByApiName.d.ts +9 -0
- package/dist/es/es2018/types/src/generated/types/ActionInputRepresentation.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/types/AdvancedLookupDisplayInfoFieldRepresentation.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/types/GraphQLBatchInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/HealthCheckRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/ListInfoInputRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/ListInfoShareRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/ObjectInfoRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/RecordAvatarBulkMapRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/RecordTypeInfoRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/wire/updateRecord/index.d.ts +1 -1
- package/dist/es/es2018/uiapi-records-service.js +216 -185
- package/package.json +6 -6
- package/sfdc/graphqlAdapters.js +3 -3
- package/sfdc/index.js +217 -186
- package/src/raml/api.raml +474 -46
- package/src/raml/luvio.raml +2 -2
package/sfdc/index.js
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
/* proxy-compat-disable */
|
|
15
15
|
import { createInstrumentedAdapter, createLDSAdapter, createWireAdapterConstructor, createInfiniteScrollingWireAdapterConstructor, createImperativeAdapter, bindWireRefresh, refresh as refresh$2 } from 'force/ldsBindings';
|
|
16
16
|
import { register, withDefaultLuvio } from 'force/ldsEngine';
|
|
17
|
-
import { serializeStructuredKey, ingestShape, coerceConfig as coerceConfig$1, typeCheckConfig as typeCheckConfig$18, createResourceParams as createResourceParams$12, StoreKeyMap, StoreKeySet, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$R, coerceAdapterRequestContext, Wildcard } from 'force/luvioEngine';
|
|
17
|
+
import { serializeStructuredKey, ingestShape, coerceConfig as coerceConfig$1, typeCheckConfig as typeCheckConfig$18, createResourceParams as createResourceParams$12, StoreKeyMap, StoreKeySet, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$R, HttpStatusCode, coerceAdapterRequestContext, Wildcard } from 'force/luvioEngine';
|
|
18
18
|
export { createRecordInputFilteredByEditedFields, generateRecordInputForCreate, generateRecordInputForUpdate, getFieldDisplayValue, getFieldValue, getRecordInput } from './uiapi-static-functions';
|
|
19
19
|
|
|
20
20
|
/**
|
|
@@ -5647,7 +5647,7 @@ function getResponseCacheKeys$11(storeKeyMap, luvio, resourceParams, response) {
|
|
|
5647
5647
|
function createResourceRequest$1a(config) {
|
|
5648
5648
|
const headers = {};
|
|
5649
5649
|
return {
|
|
5650
|
-
baseUri: '/services/data/
|
|
5650
|
+
baseUri: '/services/data/v62.0',
|
|
5651
5651
|
basePath: '/ui-api/records/' + config.urlParams.recordId + '',
|
|
5652
5652
|
method: 'get',
|
|
5653
5653
|
body: null,
|
|
@@ -6089,7 +6089,7 @@ function ingestError$K(luvio, params, error, snapshotRefresh) {
|
|
|
6089
6089
|
function createResourceRequest$19(config) {
|
|
6090
6090
|
const headers = {};
|
|
6091
6091
|
return {
|
|
6092
|
-
baseUri: '/services/data/
|
|
6092
|
+
baseUri: '/services/data/v62.0',
|
|
6093
6093
|
basePath: '/ui-api/records/batch/' + config.urlParams.recordIds + '',
|
|
6094
6094
|
method: 'get',
|
|
6095
6095
|
body: null,
|
|
@@ -7242,7 +7242,7 @@ function createPaginationParams$6(params) {
|
|
|
7242
7242
|
function createResourceRequest$18(config) {
|
|
7243
7243
|
const headers = {};
|
|
7244
7244
|
return {
|
|
7245
|
-
baseUri: '/services/data/
|
|
7245
|
+
baseUri: '/services/data/v62.0',
|
|
7246
7246
|
basePath: '/ui-api/list-ui/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
|
|
7247
7247
|
method: 'get',
|
|
7248
7248
|
body: null,
|
|
@@ -7295,7 +7295,7 @@ function createPaginationParams$5(params) {
|
|
|
7295
7295
|
function createResourceRequest$17(config) {
|
|
7296
7296
|
const headers = {};
|
|
7297
7297
|
return {
|
|
7298
|
-
baseUri: '/services/data/
|
|
7298
|
+
baseUri: '/services/data/v62.0',
|
|
7299
7299
|
basePath: '/ui-api/list-ui/' + config.urlParams.listViewId + '',
|
|
7300
7300
|
method: 'get',
|
|
7301
7301
|
body: null,
|
|
@@ -7340,7 +7340,7 @@ function validateAdapterConfig$17(untrustedConfig, configPropertyNames) {
|
|
|
7340
7340
|
function createResourceRequest$16(config) {
|
|
7341
7341
|
const headers = {};
|
|
7342
7342
|
return {
|
|
7343
|
-
baseUri: '/services/data/
|
|
7343
|
+
baseUri: '/services/data/v62.0',
|
|
7344
7344
|
basePath: '/ui-api/list-records/' + config.urlParams.listViewId + '',
|
|
7345
7345
|
method: 'get',
|
|
7346
7346
|
body: null,
|
|
@@ -8419,7 +8419,7 @@ function ingestError$J(luvio, params, error, snapshotRefresh) {
|
|
|
8419
8419
|
function createResourceRequest$15(config) {
|
|
8420
8420
|
const headers = {};
|
|
8421
8421
|
return {
|
|
8422
|
-
baseUri: '/services/data/
|
|
8422
|
+
baseUri: '/services/data/v62.0',
|
|
8423
8423
|
basePath: '/ui-api/list-records/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
|
|
8424
8424
|
method: 'post',
|
|
8425
8425
|
body: config.body,
|
|
@@ -9155,7 +9155,7 @@ function ingestError$I(luvio, params, error, snapshotRefresh) {
|
|
|
9155
9155
|
function createResourceRequest$14(config) {
|
|
9156
9156
|
const headers = {};
|
|
9157
9157
|
return {
|
|
9158
|
-
baseUri: '/services/data/
|
|
9158
|
+
baseUri: '/services/data/v62.0',
|
|
9159
9159
|
basePath: '/ui-api/list-ui/' + config.urlParams.objectApiName + '',
|
|
9160
9160
|
method: 'get',
|
|
9161
9161
|
body: null,
|
|
@@ -9353,7 +9353,7 @@ function keyBuilder$1W(luvio, params) {
|
|
|
9353
9353
|
function createResourceRequest$13(config) {
|
|
9354
9354
|
const headers = {};
|
|
9355
9355
|
return {
|
|
9356
|
-
baseUri: '/services/data/
|
|
9356
|
+
baseUri: '/services/data/v62.0',
|
|
9357
9357
|
basePath: '/ui-api/mru-list-ui/' + config.urlParams.objectApiName + '',
|
|
9358
9358
|
method: 'get',
|
|
9359
9359
|
body: null,
|
|
@@ -9398,7 +9398,7 @@ function validateAdapterConfig$15(untrustedConfig, configPropertyNames) {
|
|
|
9398
9398
|
function createResourceRequest$12(config) {
|
|
9399
9399
|
const headers = {};
|
|
9400
9400
|
return {
|
|
9401
|
-
baseUri: '/services/data/
|
|
9401
|
+
baseUri: '/services/data/v62.0',
|
|
9402
9402
|
basePath: '/ui-api/mru-list-records/' + config.urlParams.objectApiName + '',
|
|
9403
9403
|
method: 'get',
|
|
9404
9404
|
body: null,
|
|
@@ -11146,7 +11146,7 @@ function ingestError$H(luvio, params, error, snapshotRefresh) {
|
|
|
11146
11146
|
function createResourceRequest$11(config) {
|
|
11147
11147
|
const headers = {};
|
|
11148
11148
|
return {
|
|
11149
|
-
baseUri: '/services/data/
|
|
11149
|
+
baseUri: '/services/data/v62.0',
|
|
11150
11150
|
basePath: '/ui-api/object-info/' + config.urlParams.objectApiName + '',
|
|
11151
11151
|
method: 'get',
|
|
11152
11152
|
body: null,
|
|
@@ -12183,7 +12183,7 @@ const ingest$D = function RecordUiRepresentationIngest(input, path, luvio, store
|
|
|
12183
12183
|
function createResourceRequest$10(config) {
|
|
12184
12184
|
const headers = {};
|
|
12185
12185
|
return {
|
|
12186
|
-
baseUri: '/services/data/
|
|
12186
|
+
baseUri: '/services/data/v62.0',
|
|
12187
12187
|
basePath: '/ui-api/record-ui/' + config.urlParams.recordIds + '',
|
|
12188
12188
|
method: 'get',
|
|
12189
12189
|
body: null,
|
|
@@ -14827,7 +14827,7 @@ function ingestError$G(luvio, params, error, snapshotRefresh) {
|
|
|
14827
14827
|
function createResourceRequest$$(config) {
|
|
14828
14828
|
const headers = {};
|
|
14829
14829
|
return {
|
|
14830
|
-
baseUri: '/services/data/
|
|
14830
|
+
baseUri: '/services/data/v62.0',
|
|
14831
14831
|
basePath: '/ui-api/actions/global',
|
|
14832
14832
|
method: 'get',
|
|
14833
14833
|
body: null,
|
|
@@ -15061,12 +15061,12 @@ function ingestError$F(luvio, params, error, snapshotRefresh) {
|
|
|
15061
15061
|
function createResourceRequest$_(config) {
|
|
15062
15062
|
const headers = {};
|
|
15063
15063
|
return {
|
|
15064
|
-
baseUri: '/services/data/
|
|
15064
|
+
baseUri: '/services/data/v62.0',
|
|
15065
15065
|
basePath: '/ui-api/actions/layout/' + config.urlParams.actionApiName + '',
|
|
15066
15066
|
method: 'get',
|
|
15067
15067
|
body: null,
|
|
15068
15068
|
urlParams: config.urlParams,
|
|
15069
|
-
queryParams:
|
|
15069
|
+
queryParams: config.queryParams,
|
|
15070
15070
|
headers,
|
|
15071
15071
|
priority: 'normal',
|
|
15072
15072
|
};
|
|
@@ -15075,6 +15075,8 @@ function createResourceRequest$_(config) {
|
|
|
15075
15075
|
const adapterName$X = 'getQuickActionLayout';
|
|
15076
15076
|
const getQuickActionLayout_ConfigPropertyMetadata = [
|
|
15077
15077
|
generateParamConfigMetadata('actionApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
15078
|
+
generateParamConfigMetadata('objectApiName', false, 1 /* QueryParameter */, 0 /* String */),
|
|
15079
|
+
generateParamConfigMetadata('recordTypeId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
15078
15080
|
];
|
|
15079
15081
|
const getQuickActionLayout_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$X, getQuickActionLayout_ConfigPropertyMetadata);
|
|
15080
15082
|
const createResourceParams$V = /*#__PURE__*/ createResourceParams$12(getQuickActionLayout_ConfigPropertyMetadata);
|
|
@@ -15231,7 +15233,7 @@ function ingestError$E(luvio, params, error, snapshotRefresh) {
|
|
|
15231
15233
|
function createResourceRequest$Z(config) {
|
|
15232
15234
|
const headers = {};
|
|
15233
15235
|
return {
|
|
15234
|
-
baseUri: '/services/data/
|
|
15236
|
+
baseUri: '/services/data/v62.0',
|
|
15235
15237
|
basePath: '/ui-api/actions/lookup/' + config.urlParams.objectApiNames + '',
|
|
15236
15238
|
method: 'get',
|
|
15237
15239
|
body: null,
|
|
@@ -15373,7 +15375,7 @@ function ingestError$D(luvio, params, error, snapshotRefresh) {
|
|
|
15373
15375
|
function createResourceRequest$Y(config) {
|
|
15374
15376
|
const headers = {};
|
|
15375
15377
|
return {
|
|
15376
|
-
baseUri: '/services/data/
|
|
15378
|
+
baseUri: '/services/data/v62.0',
|
|
15377
15379
|
basePath: '/ui-api/actions/object/' + config.urlParams.objectApiName + '/record-create',
|
|
15378
15380
|
method: 'get',
|
|
15379
15381
|
body: null,
|
|
@@ -15563,7 +15565,7 @@ function ingestError$C(luvio, params, error, snapshotRefresh) {
|
|
|
15563
15565
|
function createResourceRequest$X(config) {
|
|
15564
15566
|
const headers = {};
|
|
15565
15567
|
return {
|
|
15566
|
-
baseUri: '/services/data/
|
|
15568
|
+
baseUri: '/services/data/v62.0',
|
|
15567
15569
|
basePath: '/ui-api/actions/overrides/' + config.urlParams.objectApiName + '',
|
|
15568
15570
|
method: 'get',
|
|
15569
15571
|
body: null,
|
|
@@ -15827,7 +15829,7 @@ function ingestError$B(luvio, params, error, snapshotRefresh) {
|
|
|
15827
15829
|
function createResourceRequest$W(config) {
|
|
15828
15830
|
const headers = {};
|
|
15829
15831
|
return {
|
|
15830
|
-
baseUri: '/services/data/
|
|
15832
|
+
baseUri: '/services/data/v62.0',
|
|
15831
15833
|
basePath: '/ui-api/actions/formula-activation/' + config.urlParams.actionFeature + '',
|
|
15832
15834
|
method: 'get',
|
|
15833
15835
|
body: null,
|
|
@@ -16039,7 +16041,7 @@ function ingestError$A(luvio, params, error, snapshotRefresh) {
|
|
|
16039
16041
|
function createResourceRequest$V(config) {
|
|
16040
16042
|
const headers = {};
|
|
16041
16043
|
return {
|
|
16042
|
-
baseUri: '/services/data/
|
|
16044
|
+
baseUri: '/services/data/v62.0',
|
|
16043
16045
|
basePath: '/ui-api/actions/record-defaults/' + config.urlParams.actionApiName + '',
|
|
16044
16046
|
method: 'get',
|
|
16045
16047
|
body: null,
|
|
@@ -16208,7 +16210,7 @@ function ingestError$z(luvio, params, error, snapshotRefresh) {
|
|
|
16208
16210
|
function createResourceRequest$U(config) {
|
|
16209
16211
|
const headers = {};
|
|
16210
16212
|
return {
|
|
16211
|
-
baseUri: '/services/data/
|
|
16213
|
+
baseUri: '/services/data/v62.0',
|
|
16212
16214
|
basePath: '/ui-api/actions/record/' + config.urlParams.recordIds + '',
|
|
16213
16215
|
method: 'get',
|
|
16214
16216
|
body: null,
|
|
@@ -16360,7 +16362,7 @@ function ingestError$y(luvio, params, error, snapshotRefresh) {
|
|
|
16360
16362
|
function createResourceRequest$T(config) {
|
|
16361
16363
|
const headers = {};
|
|
16362
16364
|
return {
|
|
16363
|
-
baseUri: '/services/data/
|
|
16365
|
+
baseUri: '/services/data/v62.0',
|
|
16364
16366
|
basePath: '/ui-api/actions/record/' + config.urlParams.recordIds + '/record-edit',
|
|
16365
16367
|
method: 'get',
|
|
16366
16368
|
body: null,
|
|
@@ -16572,7 +16574,7 @@ function ingestError$x(luvio, params, error, snapshotRefresh) {
|
|
|
16572
16574
|
function createResourceRequest$S(config) {
|
|
16573
16575
|
const headers = {};
|
|
16574
16576
|
return {
|
|
16575
|
-
baseUri: '/services/data/
|
|
16577
|
+
baseUri: '/services/data/v62.0',
|
|
16576
16578
|
basePath: '/ui-api/actions/record/' + config.urlParams.recordIds + '/related-list/' + config.urlParams.relatedListId + '',
|
|
16577
16579
|
method: 'post',
|
|
16578
16580
|
body: config.body,
|
|
@@ -16857,7 +16859,7 @@ function ingestError$w(luvio, params, error, snapshotRefresh) {
|
|
|
16857
16859
|
function createResourceRequest$R(config) {
|
|
16858
16860
|
const headers = {};
|
|
16859
16861
|
return {
|
|
16860
|
-
baseUri: '/services/data/
|
|
16862
|
+
baseUri: '/services/data/v62.0',
|
|
16861
16863
|
basePath: '/ui-api/actions/record/' + config.urlParams.recordIds + '/related-list/batch',
|
|
16862
16864
|
method: 'post',
|
|
16863
16865
|
body: config.body,
|
|
@@ -17102,7 +17104,7 @@ function ingestError$v(luvio, params, error, snapshotRefresh) {
|
|
|
17102
17104
|
function createResourceRequest$Q(config) {
|
|
17103
17105
|
const headers = {};
|
|
17104
17106
|
return {
|
|
17105
|
-
baseUri: '/services/data/
|
|
17107
|
+
baseUri: '/services/data/v62.0',
|
|
17106
17108
|
basePath: '/ui-api/actions/record/' + config.urlParams.recordIds + '/related-list-record/' + config.urlParams.relatedListRecordIds + '',
|
|
17107
17109
|
method: 'get',
|
|
17108
17110
|
body: null,
|
|
@@ -18345,7 +18347,7 @@ function ingestError$u(luvio, params, error, snapshotRefresh) {
|
|
|
18345
18347
|
function createResourceRequest$P(config) {
|
|
18346
18348
|
const headers = {};
|
|
18347
18349
|
return {
|
|
18348
|
-
baseUri: '/services/data/
|
|
18350
|
+
baseUri: '/services/data/v62.0',
|
|
18349
18351
|
basePath: '/ui-api/apps',
|
|
18350
18352
|
method: 'get',
|
|
18351
18353
|
body: null,
|
|
@@ -18487,7 +18489,7 @@ function ingestError$t(luvio, params, error, snapshotRefresh) {
|
|
|
18487
18489
|
function createResourceRequest$O(config) {
|
|
18488
18490
|
const headers = {};
|
|
18489
18491
|
return {
|
|
18490
|
-
baseUri: '/services/data/
|
|
18492
|
+
baseUri: '/services/data/v62.0',
|
|
18491
18493
|
basePath: '/ui-api/apps/' + config.urlParams.appId + '',
|
|
18492
18494
|
method: 'get',
|
|
18493
18495
|
body: null,
|
|
@@ -19090,7 +19092,7 @@ function ingestError$s(luvio, params, error, snapshotRefresh) {
|
|
|
19090
19092
|
function createResourceRequest$N(config) {
|
|
19091
19093
|
const headers = {};
|
|
19092
19094
|
return {
|
|
19093
|
-
baseUri: '/services/data/
|
|
19095
|
+
baseUri: '/services/data/v62.0',
|
|
19094
19096
|
basePath: '/ui-api/duplicates/' + config.urlParams.objectApiName + '',
|
|
19095
19097
|
method: 'get',
|
|
19096
19098
|
body: null,
|
|
@@ -19229,7 +19231,7 @@ function ingestError$r(luvio, params, error, snapshotRefresh) {
|
|
|
19229
19231
|
function createResourceRequest$M(config) {
|
|
19230
19232
|
const headers = {};
|
|
19231
19233
|
return {
|
|
19232
|
-
baseUri: '/services/data/
|
|
19234
|
+
baseUri: '/services/data/v62.0',
|
|
19233
19235
|
basePath: '/ui-api/layout/' + config.urlParams.objectApiName + '',
|
|
19234
19236
|
method: 'get',
|
|
19235
19237
|
body: null,
|
|
@@ -19369,7 +19371,7 @@ function getResponseCacheKeys$I(storeKeyMap, luvio, resourceParams, response) {
|
|
|
19369
19371
|
function createResourceRequest$L(config) {
|
|
19370
19372
|
const headers = {};
|
|
19371
19373
|
return {
|
|
19372
|
-
baseUri: '/services/data/
|
|
19374
|
+
baseUri: '/services/data/v62.0',
|
|
19373
19375
|
basePath: '/ui-api/layout/' + config.urlParams.objectApiName + '/user-state',
|
|
19374
19376
|
method: 'get',
|
|
19375
19377
|
body: null,
|
|
@@ -19603,7 +19605,7 @@ function ingestError$q(luvio, params, error, snapshotRefresh) {
|
|
|
19603
19605
|
function createResourceRequest$K(config) {
|
|
19604
19606
|
const headers = {};
|
|
19605
19607
|
return {
|
|
19606
|
-
baseUri: '/services/data/
|
|
19608
|
+
baseUri: '/services/data/v62.0',
|
|
19607
19609
|
basePath: '/ui-api/list-info/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
|
|
19608
19610
|
method: 'get',
|
|
19609
19611
|
body: null,
|
|
@@ -19872,7 +19874,7 @@ function ingestError$p(luvio, params, error, snapshotRefresh) {
|
|
|
19872
19874
|
function createResourceRequest$J(config) {
|
|
19873
19875
|
const headers = {};
|
|
19874
19876
|
return {
|
|
19875
|
-
baseUri: '/services/data/
|
|
19877
|
+
baseUri: '/services/data/v62.0',
|
|
19876
19878
|
basePath: '/ui-api/list-info/batch',
|
|
19877
19879
|
method: 'get',
|
|
19878
19880
|
body: null,
|
|
@@ -20017,7 +20019,7 @@ function ingestError$o(luvio, params, error, snapshotRefresh) {
|
|
|
20017
20019
|
function createResourceRequest$I(config) {
|
|
20018
20020
|
const headers = {};
|
|
20019
20021
|
return {
|
|
20020
|
-
baseUri: '/services/data/
|
|
20022
|
+
baseUri: '/services/data/v62.0',
|
|
20021
20023
|
basePath: '/ui-api/list-info/' + config.urlParams.objectApiName + '',
|
|
20022
20024
|
method: 'get',
|
|
20023
20025
|
body: null,
|
|
@@ -20323,7 +20325,7 @@ function ingestSuccess$w(luvio, resourceParams, response) {
|
|
|
20323
20325
|
function createResourceRequest$H(config) {
|
|
20324
20326
|
const headers = {};
|
|
20325
20327
|
return {
|
|
20326
|
-
baseUri: '/services/data/
|
|
20328
|
+
baseUri: '/services/data/v62.0',
|
|
20327
20329
|
basePath: '/ui-api/list-info/' + config.urlParams.objectApiName + '',
|
|
20328
20330
|
method: 'post',
|
|
20329
20331
|
body: config.body,
|
|
@@ -20413,94 +20415,7 @@ const createListInfoAdapterFactory = (luvio) => {
|
|
|
20413
20415
|
};
|
|
20414
20416
|
};
|
|
20415
20417
|
|
|
20416
|
-
|
|
20417
|
-
const getListInfoByName_ConfigPropertyMetadata = [
|
|
20418
|
-
generateParamConfigMetadata('listViewApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
20419
|
-
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
20420
|
-
];
|
|
20421
|
-
const getListInfoByName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$E, getListInfoByName_ConfigPropertyMetadata);
|
|
20422
|
-
const createResourceParams$D = /*#__PURE__*/ createResourceParams$12(getListInfoByName_ConfigPropertyMetadata);
|
|
20423
|
-
function keyBuilder$17(luvio, config) {
|
|
20424
|
-
const resourceParams = createResourceParams$D(config);
|
|
20425
|
-
return keyBuilder$1c(luvio, resourceParams);
|
|
20426
|
-
}
|
|
20427
|
-
function typeCheckConfig$I(untrustedConfig) {
|
|
20428
|
-
const config = {};
|
|
20429
|
-
typeCheckConfig$18(untrustedConfig, config, getListInfoByName_ConfigPropertyMetadata);
|
|
20430
|
-
return config;
|
|
20431
|
-
}
|
|
20432
|
-
function validateAdapterConfig$I(untrustedConfig, configPropertyNames) {
|
|
20433
|
-
if (!untrustedIsObject(untrustedConfig)) {
|
|
20434
|
-
return null;
|
|
20435
|
-
}
|
|
20436
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
20437
|
-
validateConfig(untrustedConfig, configPropertyNames);
|
|
20438
|
-
}
|
|
20439
|
-
const config = typeCheckConfig$I(untrustedConfig);
|
|
20440
|
-
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
20441
|
-
return null;
|
|
20442
|
-
}
|
|
20443
|
-
return config;
|
|
20444
|
-
}
|
|
20445
|
-
function adapterFragment$o(luvio, config) {
|
|
20446
|
-
createResourceParams$D(config);
|
|
20447
|
-
return select$16();
|
|
20448
|
-
}
|
|
20449
|
-
function onFetchResponseSuccess$q(luvio, config, resourceParams, response) {
|
|
20450
|
-
const snapshot = ingestSuccess$z(luvio, resourceParams, response, {
|
|
20451
|
-
config,
|
|
20452
|
-
resolve: () => buildNetworkSnapshot$H(luvio, config, snapshotRefreshOptions)
|
|
20453
|
-
});
|
|
20454
|
-
return luvio.storeBroadcast().then(() => snapshot);
|
|
20455
|
-
}
|
|
20456
|
-
function onFetchResponseError$q(luvio, config, resourceParams, response) {
|
|
20457
|
-
const snapshot = ingestError$q(luvio, resourceParams, response, {
|
|
20458
|
-
config,
|
|
20459
|
-
resolve: () => buildNetworkSnapshot$H(luvio, config, snapshotRefreshOptions)
|
|
20460
|
-
});
|
|
20461
|
-
return luvio.storeBroadcast().then(() => snapshot);
|
|
20462
|
-
}
|
|
20463
|
-
function buildNetworkSnapshot$H(luvio, config, options) {
|
|
20464
|
-
const resourceParams = createResourceParams$D(config);
|
|
20465
|
-
const request = createResourceRequest$K(resourceParams);
|
|
20466
|
-
return luvio.dispatchResourceRequest(request, options)
|
|
20467
|
-
.then((response) => {
|
|
20468
|
-
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$q(luvio, config, resourceParams, response), () => {
|
|
20469
|
-
const cache = new StoreKeyMap();
|
|
20470
|
-
getResponseCacheKeys$H(cache, luvio, resourceParams, response.body);
|
|
20471
|
-
return cache;
|
|
20472
|
-
});
|
|
20473
|
-
}, (response) => {
|
|
20474
|
-
return luvio.handleErrorResponse(() => onFetchResponseError$q(luvio, config, resourceParams, response));
|
|
20475
|
-
});
|
|
20476
|
-
}
|
|
20477
|
-
function buildNetworkSnapshotCachePolicy$u(context, coercedAdapterRequestContext) {
|
|
20478
|
-
return buildNetworkSnapshotCachePolicy$R(context, coercedAdapterRequestContext, buildNetworkSnapshot$H, undefined, false);
|
|
20479
|
-
}
|
|
20480
|
-
function buildCachedSnapshotCachePolicy$t(context, storeLookup) {
|
|
20481
|
-
const { luvio, config } = context;
|
|
20482
|
-
const selector = {
|
|
20483
|
-
recordId: keyBuilder$17(luvio, config),
|
|
20484
|
-
node: adapterFragment$o(luvio, config),
|
|
20485
|
-
variables: {},
|
|
20486
|
-
};
|
|
20487
|
-
const cacheSnapshot = storeLookup(selector, {
|
|
20488
|
-
config,
|
|
20489
|
-
resolve: () => buildNetworkSnapshot$H(luvio, config, snapshotRefreshOptions)
|
|
20490
|
-
});
|
|
20491
|
-
return cacheSnapshot;
|
|
20492
|
-
}
|
|
20493
|
-
const getListInfoByNameAdapterFactory = (luvio) => function UiApi__getListInfoByName(untrustedConfig, requestContext) {
|
|
20494
|
-
const config = validateAdapterConfig$I(untrustedConfig, getListInfoByName_ConfigPropertyNames);
|
|
20495
|
-
// Invalid or incomplete config
|
|
20496
|
-
if (config === null) {
|
|
20497
|
-
return null;
|
|
20498
|
-
}
|
|
20499
|
-
return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
|
|
20500
|
-
buildCachedSnapshotCachePolicy$t, buildNetworkSnapshotCachePolicy$u);
|
|
20501
|
-
};
|
|
20502
|
-
|
|
20503
|
-
function keyBuilder$16(luvio, params) {
|
|
20418
|
+
function keyBuilder$17(luvio, params) {
|
|
20504
20419
|
return keyBuilder$27(luvio, {
|
|
20505
20420
|
objectApiName: params.urlParams.objectApiName,
|
|
20506
20421
|
listViewApiName: params.urlParams.listViewApiName,
|
|
@@ -20508,7 +20423,7 @@ function keyBuilder$16(luvio, params) {
|
|
|
20508
20423
|
});
|
|
20509
20424
|
}
|
|
20510
20425
|
function getResponseCacheKeys$D(cacheKeyMap, luvio, resourceParams) {
|
|
20511
|
-
const key = keyBuilder$
|
|
20426
|
+
const key = keyBuilder$17(luvio, resourceParams);
|
|
20512
20427
|
cacheKeyMap.set(key, {
|
|
20513
20428
|
namespace: keyPrefix,
|
|
20514
20429
|
representationName: RepresentationType$X,
|
|
@@ -20516,13 +20431,13 @@ function getResponseCacheKeys$D(cacheKeyMap, luvio, resourceParams) {
|
|
|
20516
20431
|
});
|
|
20517
20432
|
}
|
|
20518
20433
|
function evictSuccess$1(luvio, resourceParams) {
|
|
20519
|
-
const key = keyBuilder$
|
|
20434
|
+
const key = keyBuilder$17(luvio, resourceParams);
|
|
20520
20435
|
luvio.storeEvict(key);
|
|
20521
20436
|
}
|
|
20522
20437
|
function createResourceRequest$G(config) {
|
|
20523
20438
|
const headers = {};
|
|
20524
20439
|
return {
|
|
20525
|
-
baseUri: '/services/data/
|
|
20440
|
+
baseUri: '/services/data/v62.0',
|
|
20526
20441
|
basePath: '/ui-api/list-info/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
|
|
20527
20442
|
method: 'delete',
|
|
20528
20443
|
body: null,
|
|
@@ -20533,33 +20448,33 @@ function createResourceRequest$G(config) {
|
|
|
20533
20448
|
};
|
|
20534
20449
|
}
|
|
20535
20450
|
|
|
20536
|
-
const adapterName$
|
|
20451
|
+
const adapterName$E = 'deleteListInfo';
|
|
20537
20452
|
const deleteListInfo_ConfigPropertyMetadata = [
|
|
20538
20453
|
generateParamConfigMetadata('listViewApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
20539
20454
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
20540
20455
|
];
|
|
20541
|
-
const deleteListInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
20542
|
-
const createResourceParams$
|
|
20543
|
-
function typeCheckConfig$
|
|
20456
|
+
const deleteListInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$E, deleteListInfo_ConfigPropertyMetadata);
|
|
20457
|
+
const createResourceParams$D = /*#__PURE__*/ createResourceParams$12(deleteListInfo_ConfigPropertyMetadata);
|
|
20458
|
+
function typeCheckConfig$I(untrustedConfig) {
|
|
20544
20459
|
const config = {};
|
|
20545
20460
|
typeCheckConfig$18(untrustedConfig, config, deleteListInfo_ConfigPropertyMetadata);
|
|
20546
20461
|
return config;
|
|
20547
20462
|
}
|
|
20548
|
-
function validateAdapterConfig$
|
|
20463
|
+
function validateAdapterConfig$I(untrustedConfig, configPropertyNames) {
|
|
20549
20464
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
20550
20465
|
return null;
|
|
20551
20466
|
}
|
|
20552
20467
|
if (process.env.NODE_ENV !== 'production') {
|
|
20553
20468
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
20554
20469
|
}
|
|
20555
|
-
const config = typeCheckConfig$
|
|
20470
|
+
const config = typeCheckConfig$I(untrustedConfig);
|
|
20556
20471
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
20557
20472
|
return null;
|
|
20558
20473
|
}
|
|
20559
20474
|
return config;
|
|
20560
20475
|
}
|
|
20561
|
-
function buildNetworkSnapshot$
|
|
20562
|
-
const resourceParams = createResourceParams$
|
|
20476
|
+
function buildNetworkSnapshot$H(luvio, config, options) {
|
|
20477
|
+
const resourceParams = createResourceParams$D(config);
|
|
20563
20478
|
const request = createResourceRequest$G(resourceParams);
|
|
20564
20479
|
return luvio.dispatchResourceRequest(request, options)
|
|
20565
20480
|
.then(() => {
|
|
@@ -20578,13 +20493,100 @@ function buildNetworkSnapshot$G(luvio, config, options) {
|
|
|
20578
20493
|
}
|
|
20579
20494
|
const deleteListInfoAdapterFactory = (luvio) => {
|
|
20580
20495
|
return function UiApideleteListInfo(untrustedConfig) {
|
|
20581
|
-
const config = validateAdapterConfig$
|
|
20496
|
+
const config = validateAdapterConfig$I(untrustedConfig, deleteListInfo_ConfigPropertyNames);
|
|
20582
20497
|
// Invalid or incomplete config
|
|
20583
20498
|
if (config === null) {
|
|
20584
|
-
throw new Error(`Invalid config for "${adapterName$
|
|
20499
|
+
throw new Error(`Invalid config for "${adapterName$E}"`);
|
|
20585
20500
|
}
|
|
20586
|
-
return buildNetworkSnapshot$
|
|
20501
|
+
return buildNetworkSnapshot$H(luvio, config);
|
|
20502
|
+
};
|
|
20503
|
+
};
|
|
20504
|
+
|
|
20505
|
+
const adapterName$D = 'getListInfoByName';
|
|
20506
|
+
const getListInfoByName_ConfigPropertyMetadata = [
|
|
20507
|
+
generateParamConfigMetadata('listViewApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
20508
|
+
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
20509
|
+
];
|
|
20510
|
+
const getListInfoByName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$D, getListInfoByName_ConfigPropertyMetadata);
|
|
20511
|
+
const createResourceParams$C = /*#__PURE__*/ createResourceParams$12(getListInfoByName_ConfigPropertyMetadata);
|
|
20512
|
+
function keyBuilder$16(luvio, config) {
|
|
20513
|
+
const resourceParams = createResourceParams$C(config);
|
|
20514
|
+
return keyBuilder$1c(luvio, resourceParams);
|
|
20515
|
+
}
|
|
20516
|
+
function typeCheckConfig$H(untrustedConfig) {
|
|
20517
|
+
const config = {};
|
|
20518
|
+
typeCheckConfig$18(untrustedConfig, config, getListInfoByName_ConfigPropertyMetadata);
|
|
20519
|
+
return config;
|
|
20520
|
+
}
|
|
20521
|
+
function validateAdapterConfig$H(untrustedConfig, configPropertyNames) {
|
|
20522
|
+
if (!untrustedIsObject(untrustedConfig)) {
|
|
20523
|
+
return null;
|
|
20524
|
+
}
|
|
20525
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
20526
|
+
validateConfig(untrustedConfig, configPropertyNames);
|
|
20527
|
+
}
|
|
20528
|
+
const config = typeCheckConfig$H(untrustedConfig);
|
|
20529
|
+
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
20530
|
+
return null;
|
|
20531
|
+
}
|
|
20532
|
+
return config;
|
|
20533
|
+
}
|
|
20534
|
+
function adapterFragment$o(luvio, config) {
|
|
20535
|
+
createResourceParams$C(config);
|
|
20536
|
+
return select$16();
|
|
20537
|
+
}
|
|
20538
|
+
function onFetchResponseSuccess$q(luvio, config, resourceParams, response) {
|
|
20539
|
+
const snapshot = ingestSuccess$z(luvio, resourceParams, response, {
|
|
20540
|
+
config,
|
|
20541
|
+
resolve: () => buildNetworkSnapshot$G(luvio, config, snapshotRefreshOptions)
|
|
20542
|
+
});
|
|
20543
|
+
return luvio.storeBroadcast().then(() => snapshot);
|
|
20544
|
+
}
|
|
20545
|
+
function onFetchResponseError$q(luvio, config, resourceParams, response) {
|
|
20546
|
+
const snapshot = ingestError$q(luvio, resourceParams, response, {
|
|
20547
|
+
config,
|
|
20548
|
+
resolve: () => buildNetworkSnapshot$G(luvio, config, snapshotRefreshOptions)
|
|
20549
|
+
});
|
|
20550
|
+
return luvio.storeBroadcast().then(() => snapshot);
|
|
20551
|
+
}
|
|
20552
|
+
function buildNetworkSnapshot$G(luvio, config, options) {
|
|
20553
|
+
const resourceParams = createResourceParams$C(config);
|
|
20554
|
+
const request = createResourceRequest$K(resourceParams);
|
|
20555
|
+
return luvio.dispatchResourceRequest(request, options)
|
|
20556
|
+
.then((response) => {
|
|
20557
|
+
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$q(luvio, config, resourceParams, response), () => {
|
|
20558
|
+
const cache = new StoreKeyMap();
|
|
20559
|
+
getResponseCacheKeys$H(cache, luvio, resourceParams, response.body);
|
|
20560
|
+
return cache;
|
|
20561
|
+
});
|
|
20562
|
+
}, (response) => {
|
|
20563
|
+
return luvio.handleErrorResponse(() => onFetchResponseError$q(luvio, config, resourceParams, response));
|
|
20564
|
+
});
|
|
20565
|
+
}
|
|
20566
|
+
function buildNetworkSnapshotCachePolicy$u(context, coercedAdapterRequestContext) {
|
|
20567
|
+
return buildNetworkSnapshotCachePolicy$R(context, coercedAdapterRequestContext, buildNetworkSnapshot$G, undefined, false);
|
|
20568
|
+
}
|
|
20569
|
+
function buildCachedSnapshotCachePolicy$t(context, storeLookup) {
|
|
20570
|
+
const { luvio, config } = context;
|
|
20571
|
+
const selector = {
|
|
20572
|
+
recordId: keyBuilder$16(luvio, config),
|
|
20573
|
+
node: adapterFragment$o(luvio, config),
|
|
20574
|
+
variables: {},
|
|
20587
20575
|
};
|
|
20576
|
+
const cacheSnapshot = storeLookup(selector, {
|
|
20577
|
+
config,
|
|
20578
|
+
resolve: () => buildNetworkSnapshot$G(luvio, config, snapshotRefreshOptions)
|
|
20579
|
+
});
|
|
20580
|
+
return cacheSnapshot;
|
|
20581
|
+
}
|
|
20582
|
+
const getListInfoByNameAdapterFactory = (luvio) => function UiApi__getListInfoByName(untrustedConfig, requestContext) {
|
|
20583
|
+
const config = validateAdapterConfig$H(untrustedConfig, getListInfoByName_ConfigPropertyNames);
|
|
20584
|
+
// Invalid or incomplete config
|
|
20585
|
+
if (config === null) {
|
|
20586
|
+
return null;
|
|
20587
|
+
}
|
|
20588
|
+
return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
|
|
20589
|
+
buildCachedSnapshotCachePolicy$t, buildNetworkSnapshotCachePolicy$u);
|
|
20588
20590
|
};
|
|
20589
20591
|
|
|
20590
20592
|
function select$12(luvio, params) {
|
|
@@ -20613,7 +20615,7 @@ function ingestSuccess$v(luvio, resourceParams, response) {
|
|
|
20613
20615
|
function createResourceRequest$F(config) {
|
|
20614
20616
|
const headers = {};
|
|
20615
20617
|
return {
|
|
20616
|
-
baseUri: '/services/data/
|
|
20618
|
+
baseUri: '/services/data/v62.0',
|
|
20617
20619
|
basePath: '/ui-api/list-info/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
|
|
20618
20620
|
method: 'patch',
|
|
20619
20621
|
body: config.body,
|
|
@@ -21340,7 +21342,7 @@ function ingestError$n(luvio, params, error, snapshotRefresh) {
|
|
|
21340
21342
|
function createResourceRequest$E(config) {
|
|
21341
21343
|
const headers = {};
|
|
21342
21344
|
return {
|
|
21343
|
-
baseUri: '/services/data/
|
|
21345
|
+
baseUri: '/services/data/v62.0',
|
|
21344
21346
|
basePath: '/ui-api/list-object-info/' + config.urlParams.objectApiName + '',
|
|
21345
21347
|
method: 'get',
|
|
21346
21348
|
body: null,
|
|
@@ -21649,7 +21651,7 @@ function ingestError$m(luvio, params, error, snapshotRefresh) {
|
|
|
21649
21651
|
function createResourceRequest$D(config) {
|
|
21650
21652
|
const headers = {};
|
|
21651
21653
|
return {
|
|
21652
|
-
baseUri: '/services/data/
|
|
21654
|
+
baseUri: '/services/data/v62.0',
|
|
21653
21655
|
basePath: '/ui-api/list-preferences/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
|
|
21654
21656
|
method: 'get',
|
|
21655
21657
|
body: null,
|
|
@@ -21793,7 +21795,7 @@ function ingestSuccess$s(luvio, resourceParams, response) {
|
|
|
21793
21795
|
function createResourceRequest$C(config) {
|
|
21794
21796
|
const headers = {};
|
|
21795
21797
|
return {
|
|
21796
|
-
baseUri: '/services/data/
|
|
21798
|
+
baseUri: '/services/data/v62.0',
|
|
21797
21799
|
basePath: '/ui-api/list-preferences/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
|
|
21798
21800
|
method: 'patch',
|
|
21799
21801
|
body: config.body,
|
|
@@ -22103,7 +22105,7 @@ function ingestError$l(luvio, params, error, snapshotRefresh) {
|
|
|
22103
22105
|
function createResourceRequest$B(config) {
|
|
22104
22106
|
const headers = {};
|
|
22105
22107
|
return {
|
|
22106
|
-
baseUri: '/services/data/
|
|
22108
|
+
baseUri: '/services/data/v62.0',
|
|
22107
22109
|
basePath: '/ui-api/nav-items',
|
|
22108
22110
|
method: 'get',
|
|
22109
22111
|
body: null,
|
|
@@ -22239,7 +22241,7 @@ function ingestError$k(luvio, params, error, snapshotRefresh) {
|
|
|
22239
22241
|
function createResourceRequest$A(config) {
|
|
22240
22242
|
const headers = {};
|
|
22241
22243
|
return {
|
|
22242
|
-
baseUri: '/services/data/
|
|
22244
|
+
baseUri: '/services/data/v62.0',
|
|
22243
22245
|
basePath: '/ui-api/object-info',
|
|
22244
22246
|
method: 'get',
|
|
22245
22247
|
body: null,
|
|
@@ -22584,7 +22586,7 @@ function ingestError$j(luvio, params, error, snapshotRefresh) {
|
|
|
22584
22586
|
function createResourceRequest$z(config) {
|
|
22585
22587
|
const headers = {};
|
|
22586
22588
|
return {
|
|
22587
|
-
baseUri: '/services/data/
|
|
22589
|
+
baseUri: '/services/data/v62.0',
|
|
22588
22590
|
basePath: '/ui-api/object-info/batch/' + config.urlParams.objectApiNames + '',
|
|
22589
22591
|
method: 'get',
|
|
22590
22592
|
body: null,
|
|
@@ -22913,8 +22915,8 @@ const select$L = function PicklistValueRepresentationSelect() {
|
|
|
22913
22915
|
const keyBuilderFromType$i =
|
|
22914
22916
|
/**
|
|
22915
22917
|
* custom key builder from PicklistValuesRepresentation.
|
|
22916
|
-
* PicklistValuesRepresentation.url is like /services/data/
|
|
22917
|
-
* the '/services/data/
|
|
22918
|
+
* PicklistValuesRepresentation.url is like /services/data/v62.0/ui-api/object-info/Account/picklist-values/012000000000000AAA/AccountSource
|
|
22919
|
+
* the '/services/data/v62.0' in the key make trouble for new js release. so chop it off make the key unique cross releases.
|
|
22918
22920
|
*/
|
|
22919
22921
|
function PicklistValuesRepresentationKeyBuilderFromType(luvio, object) {
|
|
22920
22922
|
const id = object.url.substring(object.url.indexOf('/ui-api'));
|
|
@@ -23224,7 +23226,7 @@ function ingestError$i(luvio, params, error, snapshotRefresh) {
|
|
|
23224
23226
|
function createResourceRequest$y(config) {
|
|
23225
23227
|
const headers = {};
|
|
23226
23228
|
return {
|
|
23227
|
-
baseUri: '/services/data/
|
|
23229
|
+
baseUri: '/services/data/v62.0',
|
|
23228
23230
|
basePath: '/ui-api/object-info/' + config.urlParams.objectApiName + '/picklist-values/' + config.urlParams.recordTypeId + '',
|
|
23229
23231
|
method: 'get',
|
|
23230
23232
|
body: null,
|
|
@@ -23329,7 +23331,7 @@ function getResponseCacheKeys$u(storeKeyMap, luvio, resourceParams, response) {
|
|
|
23329
23331
|
function createResourceRequest$x(config) {
|
|
23330
23332
|
const headers = {};
|
|
23331
23333
|
return {
|
|
23332
|
-
baseUri: '/services/data/
|
|
23334
|
+
baseUri: '/services/data/v62.0',
|
|
23333
23335
|
basePath: '/ui-api/object-info/' + config.urlParams.objectApiName + '/picklist-values/' + config.urlParams.recordTypeId + '/' + config.urlParams.fieldApiName + '',
|
|
23334
23336
|
method: 'get',
|
|
23335
23337
|
body: null,
|
|
@@ -23542,7 +23544,7 @@ function ingestError$h(luvio, params, error, snapshotRefresh) {
|
|
|
23542
23544
|
function createResourceRequest$w(config) {
|
|
23543
23545
|
const headers = {};
|
|
23544
23546
|
return {
|
|
23545
|
-
baseUri: '/services/data/
|
|
23547
|
+
baseUri: '/services/data/v62.0',
|
|
23546
23548
|
basePath: '/ui-api/path/layout/' + config.urlParams.objectApiName + '',
|
|
23547
23549
|
method: 'get',
|
|
23548
23550
|
body: null,
|
|
@@ -23868,7 +23870,7 @@ function ingestError$g(luvio, params, error, snapshotRefresh) {
|
|
|
23868
23870
|
function createResourceRequest$v(config) {
|
|
23869
23871
|
const headers = {};
|
|
23870
23872
|
return {
|
|
23871
|
-
baseUri: '/services/data/
|
|
23873
|
+
baseUri: '/services/data/v62.0',
|
|
23872
23874
|
basePath: '/ui-api/predupe',
|
|
23873
23875
|
method: 'post',
|
|
23874
23876
|
body: config.body,
|
|
@@ -24966,7 +24968,7 @@ function getTypeCacheKeys$j(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
24966
24968
|
throw new Error(`Invalid discriminatorValue "${discriminatorValue}". Expected one of "200","400","404"`);
|
|
24967
24969
|
}
|
|
24968
24970
|
|
|
24969
|
-
const TTL$d =
|
|
24971
|
+
const TTL$d = 1800000;
|
|
24970
24972
|
const VERSION$i = "c44c049fa6ad7cf7e932c0aab9107d86";
|
|
24971
24973
|
function validate$J(obj, path = 'RecordAvatarBulkMapRepresentation') {
|
|
24972
24974
|
const v_error = (() => {
|
|
@@ -25087,7 +25089,7 @@ function ingestError$f(luvio, params, error, snapshotRefresh) {
|
|
|
25087
25089
|
function createResourceRequest$u(config) {
|
|
25088
25090
|
const headers = {};
|
|
25089
25091
|
return {
|
|
25090
|
-
baseUri: '/services/data/
|
|
25092
|
+
baseUri: '/services/data/v62.0',
|
|
25091
25093
|
basePath: '/ui-api/record-avatars/batch/' + config.urlParams.recordIds + '',
|
|
25092
25094
|
method: 'get',
|
|
25093
25095
|
body: null,
|
|
@@ -25952,7 +25954,7 @@ function ingestError$e(luvio, params, error, snapshotRefresh) {
|
|
|
25952
25954
|
function createResourceRequest$t(config) {
|
|
25953
25955
|
const headers = {};
|
|
25954
25956
|
return {
|
|
25955
|
-
baseUri: '/services/data/
|
|
25957
|
+
baseUri: '/services/data/v62.0',
|
|
25956
25958
|
basePath: '/ui-api/related-list-count/' + config.urlParams.parentRecordId + '/' + config.urlParams.relatedListId + '',
|
|
25957
25959
|
method: 'get',
|
|
25958
25960
|
body: null,
|
|
@@ -26217,7 +26219,7 @@ function ingestError$d(luvio, params, error, snapshotRefresh) {
|
|
|
26217
26219
|
function createResourceRequest$s(config) {
|
|
26218
26220
|
const headers = {};
|
|
26219
26221
|
return {
|
|
26220
|
-
baseUri: '/services/data/
|
|
26222
|
+
baseUri: '/services/data/v62.0',
|
|
26221
26223
|
basePath: '/ui-api/related-list-count/batch/' + config.urlParams.parentRecordId + '/' + config.urlParams.relatedListNames + '',
|
|
26222
26224
|
method: 'get',
|
|
26223
26225
|
body: null,
|
|
@@ -26911,7 +26913,7 @@ function ingestError$c(luvio, params, error, snapshotRefresh) {
|
|
|
26911
26913
|
function createResourceRequest$r(config) {
|
|
26912
26914
|
const headers = {};
|
|
26913
26915
|
return {
|
|
26914
|
-
baseUri: '/services/data/
|
|
26916
|
+
baseUri: '/services/data/v62.0',
|
|
26915
26917
|
basePath: '/ui-api/related-list-info/' + config.urlParams.parentObjectApiName + '/' + config.urlParams.relatedListId + '',
|
|
26916
26918
|
method: 'get',
|
|
26917
26919
|
body: null,
|
|
@@ -27181,7 +27183,7 @@ function ingestError$b(luvio, params, error, snapshotRefresh) {
|
|
|
27181
27183
|
function createResourceRequest$q(config) {
|
|
27182
27184
|
const headers = {};
|
|
27183
27185
|
return {
|
|
27184
|
-
baseUri: '/services/data/
|
|
27186
|
+
baseUri: '/services/data/v62.0',
|
|
27185
27187
|
basePath: '/ui-api/related-list-info/batch/' + config.urlParams.parentObjectApiName + '/' + config.urlParams.relatedListNames + '',
|
|
27186
27188
|
method: 'get',
|
|
27187
27189
|
body: null,
|
|
@@ -27575,7 +27577,7 @@ function ingestError$a(luvio, params, error, snapshotRefresh) {
|
|
|
27575
27577
|
function createResourceRequest$p(config) {
|
|
27576
27578
|
const headers = {};
|
|
27577
27579
|
return {
|
|
27578
|
-
baseUri: '/services/data/
|
|
27580
|
+
baseUri: '/services/data/v62.0',
|
|
27579
27581
|
basePath: '/ui-api/related-list-info/' + config.urlParams.parentObjectApiName + '',
|
|
27580
27582
|
method: 'get',
|
|
27581
27583
|
body: null,
|
|
@@ -27829,7 +27831,7 @@ function ingestSuccess$f(luvio, resourceParams, response) {
|
|
|
27829
27831
|
function createResourceRequest$o(config) {
|
|
27830
27832
|
const headers = {};
|
|
27831
27833
|
return {
|
|
27832
|
-
baseUri: '/services/data/
|
|
27834
|
+
baseUri: '/services/data/v62.0',
|
|
27833
27835
|
basePath: '/ui-api/related-list-info/' + config.urlParams.parentObjectApiName + '/' + config.urlParams.relatedListId + '',
|
|
27834
27836
|
method: 'patch',
|
|
27835
27837
|
body: config.body,
|
|
@@ -28069,7 +28071,7 @@ function ingestError$9(luvio, params, error, snapshotRefresh) {
|
|
|
28069
28071
|
function createResourceRequest$n(config) {
|
|
28070
28072
|
const headers = {};
|
|
28071
28073
|
return {
|
|
28072
|
-
baseUri: '/services/data/
|
|
28074
|
+
baseUri: '/services/data/v62.0',
|
|
28073
28075
|
basePath: '/ui-api/related-list-preferences/' + config.urlParams.preferencesId + '',
|
|
28074
28076
|
method: 'get',
|
|
28075
28077
|
body: null,
|
|
@@ -28331,7 +28333,7 @@ function ingestError$8(luvio, params, error, snapshotRefresh) {
|
|
|
28331
28333
|
function createResourceRequest$m(config) {
|
|
28332
28334
|
const headers = {};
|
|
28333
28335
|
return {
|
|
28334
|
-
baseUri: '/services/data/
|
|
28336
|
+
baseUri: '/services/data/v62.0',
|
|
28335
28337
|
basePath: '/ui-api/related-list-preferences/batch/' + config.urlParams.preferencesIds + '',
|
|
28336
28338
|
method: 'get',
|
|
28337
28339
|
body: null,
|
|
@@ -28540,7 +28542,7 @@ function ingestSuccess$c(luvio, resourceParams, response) {
|
|
|
28540
28542
|
function createResourceRequest$l(config) {
|
|
28541
28543
|
const headers = {};
|
|
28542
28544
|
return {
|
|
28543
|
-
baseUri: '/services/data/
|
|
28545
|
+
baseUri: '/services/data/v62.0',
|
|
28544
28546
|
basePath: '/ui-api/related-list-preferences/' + config.urlParams.preferencesId + '',
|
|
28545
28547
|
method: 'patch',
|
|
28546
28548
|
body: config.body,
|
|
@@ -29575,7 +29577,7 @@ function ingestError$7(luvio, params, error, snapshotRefresh) {
|
|
|
29575
29577
|
function createResourceRequest$k(config) {
|
|
29576
29578
|
const headers = {};
|
|
29577
29579
|
return {
|
|
29578
|
-
baseUri: '/services/data/
|
|
29580
|
+
baseUri: '/services/data/v62.0',
|
|
29579
29581
|
basePath: '/ui-api/related-list-records/' + config.urlParams.parentRecordId + '/' + config.urlParams.relatedListId + '',
|
|
29580
29582
|
method: 'post',
|
|
29581
29583
|
body: config.body,
|
|
@@ -29860,7 +29862,7 @@ function ingestError$6(luvio, params, error, snapshotRefresh) {
|
|
|
29860
29862
|
function createResourceRequest$j(config) {
|
|
29861
29863
|
const headers = {};
|
|
29862
29864
|
return {
|
|
29863
|
-
baseUri: '/services/data/
|
|
29865
|
+
baseUri: '/services/data/v62.0',
|
|
29864
29866
|
basePath: '/ui-api/related-list-records/batch/' + config.urlParams.parentRecordId + '',
|
|
29865
29867
|
method: 'post',
|
|
29866
29868
|
body: config.body,
|
|
@@ -30374,7 +30376,7 @@ function ingestError$5(luvio, params, error, snapshotRefresh) {
|
|
|
30374
30376
|
function createResourceRequest$i(config) {
|
|
30375
30377
|
const headers = {};
|
|
30376
30378
|
return {
|
|
30377
|
-
baseUri: '/services/data/
|
|
30379
|
+
baseUri: '/services/data/v62.0',
|
|
30378
30380
|
basePath: '/ui-api/search-info/' + config.urlParams.objectApiName + '/filters',
|
|
30379
30381
|
method: 'get',
|
|
30380
30382
|
body: null,
|
|
@@ -30629,7 +30631,7 @@ function ingestError$4(luvio, params, error, snapshotRefresh) {
|
|
|
30629
30631
|
function createResourceRequest$h(config) {
|
|
30630
30632
|
const headers = {};
|
|
30631
30633
|
return {
|
|
30632
|
-
baseUri: '/services/data/
|
|
30634
|
+
baseUri: '/services/data/v62.0',
|
|
30633
30635
|
basePath: '/ui-api/search-info/' + config.urlParams.objectApiName + '/filters/' + config.urlParams.filterApiName + '/options',
|
|
30634
30636
|
method: 'get',
|
|
30635
30637
|
body: null,
|
|
@@ -31047,7 +31049,7 @@ function ingestError$3(luvio, params, error, snapshotRefresh) {
|
|
|
31047
31049
|
function createResourceRequest$g(config) {
|
|
31048
31050
|
const headers = {};
|
|
31049
31051
|
return {
|
|
31050
|
-
baseUri: '/services/data/
|
|
31052
|
+
baseUri: '/services/data/v62.0',
|
|
31051
31053
|
basePath: '/ui-api/search-info/' + config.urlParams.objectApiName + '/lookup/' + config.urlParams.fieldApiName + '',
|
|
31052
31054
|
method: 'get',
|
|
31053
31055
|
body: null,
|
|
@@ -31919,7 +31921,7 @@ function ingestError$2(luvio, params, error, snapshotRefresh) {
|
|
|
31919
31921
|
function createResourceRequest$f(config) {
|
|
31920
31922
|
const headers = {};
|
|
31921
31923
|
return {
|
|
31922
|
-
baseUri: '/services/data/
|
|
31924
|
+
baseUri: '/services/data/v62.0',
|
|
31923
31925
|
basePath: '/ui-api/search/results',
|
|
31924
31926
|
method: 'post',
|
|
31925
31927
|
body: config.body,
|
|
@@ -32193,7 +32195,7 @@ function ingestError$1(luvio, params, error, snapshotRefresh) {
|
|
|
32193
32195
|
function createResourceRequest$e(config) {
|
|
32194
32196
|
const headers = {};
|
|
32195
32197
|
return {
|
|
32196
|
-
baseUri: '/services/data/
|
|
32198
|
+
baseUri: '/services/data/v62.0',
|
|
32197
32199
|
basePath: '/ui-api/search/results/keyword',
|
|
32198
32200
|
method: 'post',
|
|
32199
32201
|
body: config.body,
|
|
@@ -32439,7 +32441,7 @@ function ingestSuccess$4(luvio, response) {
|
|
|
32439
32441
|
function createResourceRequest$d(config) {
|
|
32440
32442
|
const headers = {};
|
|
32441
32443
|
return {
|
|
32442
|
-
baseUri: '/services/data/
|
|
32444
|
+
baseUri: '/services/data/v62.0',
|
|
32443
32445
|
basePath: '/ui-api/records/batch',
|
|
32444
32446
|
method: 'post',
|
|
32445
32447
|
body: config.body,
|
|
@@ -32561,7 +32563,7 @@ function ingestSuccess$3(luvio, resourceParams, response) {
|
|
|
32561
32563
|
function createResourceRequest$c(config) {
|
|
32562
32564
|
const headers = {};
|
|
32563
32565
|
return {
|
|
32564
|
-
baseUri: '/services/data/
|
|
32566
|
+
baseUri: '/services/data/v62.0',
|
|
32565
32567
|
basePath: '/ui-api/actions/perform-quick-action/' + config.urlParams.actionApiName + '',
|
|
32566
32568
|
method: 'patch',
|
|
32567
32569
|
body: config.body,
|
|
@@ -32689,7 +32691,7 @@ function ingestSuccess$2(luvio, resourceParams, response) {
|
|
|
32689
32691
|
function createResourceRequest$b(config) {
|
|
32690
32692
|
const headers = {};
|
|
32691
32693
|
return {
|
|
32692
|
-
baseUri: '/services/data/
|
|
32694
|
+
baseUri: '/services/data/v62.0',
|
|
32693
32695
|
basePath: '/ui-api/actions/perform-quick-action/' + config.urlParams.actionApiName + '',
|
|
32694
32696
|
method: 'post',
|
|
32695
32697
|
body: config.body,
|
|
@@ -32794,7 +32796,7 @@ const factory$c = performQuickActionAdapterFactory;
|
|
|
32794
32796
|
function createResourceRequest$a(config) {
|
|
32795
32797
|
const headers = {};
|
|
32796
32798
|
return {
|
|
32797
|
-
baseUri: '/services/data/
|
|
32799
|
+
baseUri: '/services/data/v62.0',
|
|
32798
32800
|
basePath: '/ui-api/layout/' + config.urlParams.objectApiName + '/user-state',
|
|
32799
32801
|
method: 'patch',
|
|
32800
32802
|
body: config.body,
|
|
@@ -33275,7 +33277,7 @@ function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
|
|
|
33275
33277
|
function createResourceRequest$9(config) {
|
|
33276
33278
|
const headers = {};
|
|
33277
33279
|
return {
|
|
33278
|
-
baseUri: '/services/data/
|
|
33280
|
+
baseUri: '/services/data/v62.0',
|
|
33279
33281
|
basePath: '/ui-api/lookups/' + config.urlParams.objectApiName + '/' + config.urlParams.fieldApiName + '',
|
|
33280
33282
|
method: 'post',
|
|
33281
33283
|
body: config.body,
|
|
@@ -33502,7 +33504,7 @@ const factory$9 = (luvio) => {
|
|
|
33502
33504
|
function createResourceRequest$8(config) {
|
|
33503
33505
|
const headers = {};
|
|
33504
33506
|
return {
|
|
33505
|
-
baseUri: '/services/data/
|
|
33507
|
+
baseUri: '/services/data/v62.0',
|
|
33506
33508
|
basePath: '/ui-api/record-avatars/' + config.urlParams.recordId + '/association',
|
|
33507
33509
|
method: 'post',
|
|
33508
33510
|
body: config.body,
|
|
@@ -34111,7 +34113,7 @@ function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
|
|
|
34111
34113
|
function createResourceRequest$7(config) {
|
|
34112
34114
|
const headers = {};
|
|
34113
34115
|
return {
|
|
34114
|
-
baseUri: '/services/data/
|
|
34116
|
+
baseUri: '/services/data/v62.0',
|
|
34115
34117
|
basePath: '/ui-api/record-defaults/create/' + config.urlParams.objectApiName + '',
|
|
34116
34118
|
method: 'get',
|
|
34117
34119
|
body: null,
|
|
@@ -34742,7 +34744,7 @@ function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
|
|
|
34742
34744
|
function createResourceRequest$6(config) {
|
|
34743
34745
|
const headers = {};
|
|
34744
34746
|
return {
|
|
34745
|
-
baseUri: '/services/data/
|
|
34747
|
+
baseUri: '/services/data/v62.0',
|
|
34746
34748
|
basePath: '/ui-api/record-defaults/template/clone/' + config.urlParams.recordId + '',
|
|
34747
34749
|
method: 'get',
|
|
34748
34750
|
body: null,
|
|
@@ -35373,7 +35375,7 @@ function ingestError(luvio, params, error, snapshotRefresh) {
|
|
|
35373
35375
|
function createResourceRequest$5(config) {
|
|
35374
35376
|
const headers = {};
|
|
35375
35377
|
return {
|
|
35376
|
-
baseUri: '/services/data/
|
|
35378
|
+
baseUri: '/services/data/v62.0',
|
|
35377
35379
|
basePath: '/ui-api/record-defaults/template/create/' + config.urlParams.objectApiName + '',
|
|
35378
35380
|
method: 'get',
|
|
35379
35381
|
body: null,
|
|
@@ -35586,7 +35588,7 @@ function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
|
|
|
35586
35588
|
function createResourceRequest$4(config) {
|
|
35587
35589
|
const headers = {};
|
|
35588
35590
|
return {
|
|
35589
|
-
baseUri: '/services/data/
|
|
35591
|
+
baseUri: '/services/data/v62.0',
|
|
35590
35592
|
basePath: '/ui-api/records',
|
|
35591
35593
|
method: 'post',
|
|
35592
35594
|
body: config.body,
|
|
@@ -35598,6 +35600,7 @@ function createResourceRequest$4(config) {
|
|
|
35598
35600
|
}
|
|
35599
35601
|
|
|
35600
35602
|
const createRecord_ConfigPropertyMetadata = [
|
|
35603
|
+
generateParamConfigMetadata('handleOwnerChange', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
35601
35604
|
generateParamConfigMetadata('includeFieldsInBody', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
35602
35605
|
generateParamConfigMetadata('triggerOtherEmail', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
35603
35606
|
generateParamConfigMetadata('triggerUserEmail', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
@@ -35609,7 +35612,14 @@ const createRecord_ConfigPropertyMetadata = [
|
|
|
35609
35612
|
const createResourceParams$4 = /*#__PURE__*/ createResourceParams$12(createRecord_ConfigPropertyMetadata);
|
|
35610
35613
|
|
|
35611
35614
|
function onResponseSuccess(luvio, response, recordIngest, conflictMap) {
|
|
35612
|
-
const { body } = response;
|
|
35615
|
+
const { body, status } = response;
|
|
35616
|
+
if (status === HttpStatusCode.NoContent) {
|
|
35617
|
+
const syntheticSnapshot = {
|
|
35618
|
+
state: 'Fulfilled',
|
|
35619
|
+
data: {},
|
|
35620
|
+
};
|
|
35621
|
+
return luvio.storeBroadcast().then(() => syntheticSnapshot);
|
|
35622
|
+
}
|
|
35613
35623
|
const selections = buildSelectionFromRecord(body);
|
|
35614
35624
|
const key = keyBuilder$26(luvio, {
|
|
35615
35625
|
recordId: body.id,
|
|
@@ -35680,7 +35690,7 @@ function evictSuccess(luvio, resourceParams) {
|
|
|
35680
35690
|
function createResourceRequest$3(config) {
|
|
35681
35691
|
const headers = {};
|
|
35682
35692
|
return {
|
|
35683
|
-
baseUri: '/services/data/
|
|
35693
|
+
baseUri: '/services/data/v62.0',
|
|
35684
35694
|
basePath: '/ui-api/records/' + config.urlParams.recordId + '',
|
|
35685
35695
|
method: 'delete',
|
|
35686
35696
|
body: null,
|
|
@@ -35767,7 +35777,7 @@ function createResourceRequest$2(config) {
|
|
|
35767
35777
|
headers['If-Unmodified-Since'] = header_ifUnmodifiedSince;
|
|
35768
35778
|
}
|
|
35769
35779
|
return {
|
|
35770
|
-
baseUri: '/services/data/
|
|
35780
|
+
baseUri: '/services/data/v62.0',
|
|
35771
35781
|
basePath: '/ui-api/records/' + config.urlParams.recordId + '',
|
|
35772
35782
|
method: 'patch',
|
|
35773
35783
|
body: config.body,
|
|
@@ -35781,6 +35791,7 @@ function createResourceRequest$2(config) {
|
|
|
35781
35791
|
const adapterName = 'updateRecord';
|
|
35782
35792
|
const updateRecord_ConfigPropertyMetadata = [
|
|
35783
35793
|
generateParamConfigMetadata('recordId', true, 0 /* UrlParameter */, 0 /* String */, false, getRecordId18),
|
|
35794
|
+
generateParamConfigMetadata('handleOwnerChange', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
35784
35795
|
generateParamConfigMetadata('triggerOtherEmail', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
35785
35796
|
generateParamConfigMetadata('triggerUserEmail', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
35786
35797
|
generateParamConfigMetadata('useDefaultRule', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
@@ -35843,11 +35854,23 @@ function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
|
|
|
35843
35854
|
return config;
|
|
35844
35855
|
}
|
|
35845
35856
|
|
|
35857
|
+
const ISO8601_DATE_REGEX = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d+Z$/;
|
|
35846
35858
|
function getHeaders(clientOptions) {
|
|
35847
35859
|
const headers = {};
|
|
35848
35860
|
if (untrustedIsObject(clientOptions)) {
|
|
35849
35861
|
if (typeof clientOptions.ifUnmodifiedSince === 'string') {
|
|
35850
35862
|
headers.ifUnmodifiedSince = clientOptions.ifUnmodifiedSince;
|
|
35863
|
+
// HTTP standard format date is expected by UI-API
|
|
35864
|
+
// https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Unmodified-Since
|
|
35865
|
+
// A component built for Connect API must use If-Unmodified-Since
|
|
35866
|
+
// dates formatted as ISO 8601, which does not match the HTTP spec.
|
|
35867
|
+
// For compatibility, convert the date to match the standard.
|
|
35868
|
+
if (headers.ifUnmodifiedSince.match(ISO8601_DATE_REGEX)) {
|
|
35869
|
+
const utcString = new Date(headers.ifUnmodifiedSince).toUTCString();
|
|
35870
|
+
if (utcString !== 'Invalid Date') {
|
|
35871
|
+
headers.ifUnmodifiedSince = utcString;
|
|
35872
|
+
}
|
|
35873
|
+
}
|
|
35851
35874
|
}
|
|
35852
35875
|
}
|
|
35853
35876
|
return headers;
|
|
@@ -35866,6 +35889,14 @@ function buildNetworkSnapshot$2(luvio, config, clientOptions) {
|
|
|
35866
35889
|
const recordIngest = createRecordIngest(fieldTrie, optionalFieldTrie, conflictMap);
|
|
35867
35890
|
return luvio.dispatchResourceRequest(request).then((response) => {
|
|
35868
35891
|
return luvio.handleSuccessResponse(() => {
|
|
35892
|
+
if (response.status === HttpStatusCode.NoContent) {
|
|
35893
|
+
const syntheticSnapshot = {
|
|
35894
|
+
state: 'Fulfilled',
|
|
35895
|
+
data: {},
|
|
35896
|
+
};
|
|
35897
|
+
luvio.storeEvict(keyBuilder$26(luvio, { recordId }));
|
|
35898
|
+
return luvio.storeBroadcast().then(() => syntheticSnapshot);
|
|
35899
|
+
}
|
|
35869
35900
|
const snapshot = ingestRecordResponse(luvio, response, recordId, recordIngest, conflictMap);
|
|
35870
35901
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
35871
35902
|
}, () => {
|
|
@@ -36069,7 +36100,7 @@ function createResourceParams$1(config) {
|
|
|
36069
36100
|
function createResourceRequest$1(config) {
|
|
36070
36101
|
const headers = {};
|
|
36071
36102
|
return {
|
|
36072
|
-
baseUri: '/services/data/
|
|
36103
|
+
baseUri: '/services/data/v62.0',
|
|
36073
36104
|
basePath: '/ui-api/records/content-documents/' +
|
|
36074
36105
|
config.urlParams.contentDocumentId +
|
|
36075
36106
|
'/content-versions',
|
|
@@ -36187,7 +36218,7 @@ function createResourceParams(config) {
|
|
|
36187
36218
|
function createResourceRequest(config) {
|
|
36188
36219
|
const headers = {};
|
|
36189
36220
|
return {
|
|
36190
|
-
baseUri: '/services/data/
|
|
36221
|
+
baseUri: '/services/data/v62.0',
|
|
36191
36222
|
basePath: '/ui-api/records/content-documents/content-versions',
|
|
36192
36223
|
method: 'post',
|
|
36193
36224
|
body: config.body,
|
|
@@ -36566,7 +36597,7 @@ const getGlobalActionsMetadata = { apiFamily: keyPrefix, name: adapterName$Y, tt
|
|
|
36566
36597
|
const getKeywordSearchResultsMetadata = { apiFamily: keyPrefix, name: adapterName$a, ttl: 200 };
|
|
36567
36598
|
const getLayoutMetadata = { apiFamily: keyPrefix, name: adapterName$J, ttl: 900000 };
|
|
36568
36599
|
const getLayoutUserStateMetadata = { apiFamily: keyPrefix, name: adapterName$I, ttl: 900000 };
|
|
36569
|
-
const getListInfoByNameMetadata = { apiFamily: keyPrefix, name: adapterName$
|
|
36600
|
+
const getListInfoByNameMetadata = { apiFamily: keyPrefix, name: adapterName$D, ttl: 900000 };
|
|
36570
36601
|
const getListInfosByNameMetadata = { apiFamily: keyPrefix, name: adapterName$H };
|
|
36571
36602
|
const getListInfosByObjectNameMetadata = { apiFamily: keyPrefix, name: adapterName$G };
|
|
36572
36603
|
const getListObjectInfoMetadata = { apiFamily: keyPrefix, name: adapterName$B, ttl: 900000 };
|
|
@@ -36587,7 +36618,7 @@ const getQuickActionDefaultsMetadata = { apiFamily: keyPrefix, name: adapterName
|
|
|
36587
36618
|
const getQuickActionLayoutMetadata = { apiFamily: keyPrefix, name: adapterName$X, ttl: 900000 };
|
|
36588
36619
|
const getRecordMetadata = { apiFamily: keyPrefix, name: 'getRecord', ttl: 30000 };
|
|
36589
36620
|
const getRecordActionsMetadata = { apiFamily: keyPrefix, name: adapterName$R, ttl: 300000 };
|
|
36590
|
-
const getRecordAvatarsMetadata = { apiFamily: keyPrefix, name: adapterName$r, ttl:
|
|
36621
|
+
const getRecordAvatarsMetadata = { apiFamily: keyPrefix, name: adapterName$r, ttl: 1800000 };
|
|
36591
36622
|
const getRecordCreateDefaultsMetadata = { apiFamily: keyPrefix, name: 'getRecordCreateDefaults', ttl: 900000 };
|
|
36592
36623
|
const getRecordEditActionsMetadata = { apiFamily: keyPrefix, name: adapterName$Q, ttl: 300000 };
|
|
36593
36624
|
const getRecordTemplateCloneMetadata = { apiFamily: keyPrefix, name: 'getRecordTemplateClone', ttl: 1000 };
|
|
@@ -36674,7 +36705,7 @@ function bindExportsTo(luvio) {
|
|
|
36674
36705
|
createContentVersion: unwrapSnapshotData(factory),
|
|
36675
36706
|
createListInfo: createLDSAdapter(luvio, adapterName$F, createListInfoAdapterFactory),
|
|
36676
36707
|
createRecord: unwrapSnapshotData(factory$4),
|
|
36677
|
-
deleteListInfo: createLDSAdapter(luvio, adapterName$
|
|
36708
|
+
deleteListInfo: createLDSAdapter(luvio, adapterName$E, deleteListInfoAdapterFactory),
|
|
36678
36709
|
deleteRecord: createLDSAdapter(luvio, 'deleteRecord', factory$3),
|
|
36679
36710
|
executeBatchRecordOperations: unwrapSnapshotData(factory$e),
|
|
36680
36711
|
getActionOverrides: createWireAdapterConstructor(luvio, getActionOverrides_ldsAdapter, getActionOverridesMetadata),
|
|
@@ -37000,4 +37031,4 @@ withDefaultLuvio((luvio) => {
|
|
|
37000
37031
|
});
|
|
37001
37032
|
|
|
37002
37033
|
export { API_NAMESPACE, InMemoryRecordRepresentationQueryEvaluator, MRU, RepresentationType$I as ObjectInfoDirectoryEntryRepresentationType, RepresentationType$N as ObjectInfoRepresentationType, RECORD_FIELDS_KEY_JUNCTION, RECORD_ID_PREFIX, RECORD_REPRESENTATION_NAME, RECORD_VIEW_ENTITY_ID_PREFIX, RECORD_VIEW_ENTITY_REPRESENTATION_NAME, RepresentationType$U as RecordRepresentationRepresentationType, TTL$y as RecordRepresentationTTL, RepresentationType$U as RecordRepresentationType, VERSION$1a as RecordRepresentationVersion, keyPrefix as UiApiNamespace, buildRecordRepKeyFromId, getFieldApiNamesArray as coerceFieldIdArray, getObjectApiName$1 as coerceObjectId, getObjectApiNamesArray as coerceObjectIdArray, configurationForRestAdapters as configuration, createContentDocumentAndVersion, createContentVersion, createIngestRecordWithFields, createLDSAdapterWithPrediction, createListInfo, createRecord, createRelatedListAdapterWithPrediction, deleteListInfo, deleteRecord, executeBatchRecordOperations, extractRecordIdFromStoreKey, getActionOverrides, getActionOverrides_imperative, getAllApps, getAllApps_imperative, getAppDetails, getAppDetails_imperative, getDuplicateConfiguration, getDuplicateConfiguration_imperative, getDuplicates, getDuplicates_imperative, getFlexipageFormulaOverrides, getFlexipageFormulaOverrides_imperative, getGlobalActions, getGlobalActions_imperative, getKeywordSearchResults, getKeywordSearchResults_imperative, getLayout, getLayoutUserState, getLayoutUserState_imperative, getLayout_imperative, getListInfoByName, getListInfoByName_imperative, getListInfosByName, getListInfosByName_imperative, getListInfosByObjectName, getListInfosByObjectName_imperative, getListObjectInfo, getListObjectInfo_imperative, getListPreferences, getListPreferences_imperative, getListRecordsByName, getListRecordsByName_imperative, getListUi, getListUi_imperative, getLookupActions, getLookupActions_imperative, getLookupMetadata, getLookupMetadata_imperative, getLookupRecords, getLookupRecords_imperative, getNavItems, getNavItems_imperative, getObjectCreateActions, getObjectCreateActions_imperative, getObjectInfo, getObjectInfoAdapterFactory, getObjectInfoDirectoryAdapterFactory, getObjectInfo_imperative, getObjectInfos, getObjectInfosAdapterFactory, getObjectInfos_imperative, getPathLayout, getPathLayout_imperative, getPicklistValues, getPicklistValuesByRecordType, getPicklistValuesByRecordType_imperative, getPicklistValues_imperative, getQuickActionDefaults, getQuickActionDefaults_imperative, getQuickActionLayout, getQuickActionLayout_imperative, getRecord, getRecordActions, getRecordActionsAdapterFactory, getRecordActions_imperative, factory$f as getRecordAdapterFactory, getRecordAvatars, getRecordAvatarsAdapterFactory, getRecordAvatars_imperative, getRecordCreateDefaults, getRecordCreateDefaults_imperative, getRecordEditActions, getRecordEditActions_imperative, getRecordId18, getRecordNotifyChange, getRecordTemplateClone, getRecordTemplateClone_imperative, getRecordTemplateCreate, getRecordTemplateCreate_imperative, getRecordUi, getRecordUi_imperative, getRecord_imperative, getRecords, getRecordsAdapterFactory, getRecords_imperative, getRelatedListActions, getRelatedListActions_imperative, getRelatedListCount, getRelatedListCount_imperative, getRelatedListInfo, getRelatedListInfoBatch, getRelatedListInfoBatchAdapterFactory, getRelatedListInfoBatch_imperative, getRelatedListInfo_imperative, getRelatedListPreferences, getRelatedListPreferencesBatch, getRelatedListPreferencesBatch_imperative, getRelatedListPreferences_imperative, getRelatedListRecordActions, getRelatedListRecordActions_imperative, getRelatedListRecords, getRelatedListRecordsAdapterFactory, getRelatedListRecordsBatch, getRelatedListRecordsBatchAdapterFactory, getRelatedListRecordsBatch_imperative, getRelatedListRecords_imperative, getRelatedListsActions, getRelatedListsActionsAdapterFactory, getRelatedListsActions_imperative, getRelatedListsCount, getRelatedListsCount_imperative, getRelatedListsInfo, getRelatedListsInfo_imperative, getResponseCacheKeys as getResponseCacheKeysContentDocumentCompositeRepresentation, getSearchFilterMetadata, getSearchFilterMetadata_imperative, getSearchFilterOptions, getSearchFilterOptions_imperative, getSearchResults, getSearchResults_imperative, getTypeCacheKeys$W as getTypeCacheKeysRecord, ingest as ingestContentDocumentCompositeRepresentation, ingest$G as ingestObjectInfo, ingest$A as ingestQuickActionExecutionRepresentation, ingest$N as ingestRecord, instrument, isStoreKeyRecordViewEntity, keyBuilder as keyBuilderContentDocumentCompositeRepresentation, keyBuilderFromType as keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilderFromType$C as keyBuilderFromTypeRecordRepresentation, keyBuilder$1V as keyBuilderObjectInfo, keyBuilder$1O as keyBuilderQuickActionExecutionRepresentation, keyBuilder$26 as keyBuilderRecord, notifyAllListInfoSummaryUpdateAvailable, notifyAllListRecordUpdateAvailable, notifyListInfoSummaryUpdateAvailable, notifyListInfoUpdateAvailable, notifyListRecordCollectionUpdateAvailable, notifyListViewSummaryUpdateAvailable, notifyQuickActionDefaultsUpdateAvailable, notifyRecordUpdateAvailable, performQuickAction, performUpdateRecordQuickAction, refresh, registerPrefetcher, updateLayoutUserState, updateListInfoByName, updateListPreferences, updateRecord, updateRecordAvatar, updateRelatedListInfo, updateRelatedListPreferences };
|
|
37003
|
-
// version: 1.
|
|
37034
|
+
// version: 1.291.0-79b8ea231
|