@salesforce/lds-adapters-industries-omnidesigner 1.303.0 → 1.305.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/industries-omnidesigner.js +808 -303
- package/dist/es/es2018/types/src/generated/adapters/getDataraptorConfig.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +3 -1
- package/dist/es/es2018/types/src/generated/resources/getConnectOmniDesignerDataraptorConfig.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/types/OmniDesignerDataraptorInfoRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/OmniDesignerDataraptorMappingItemInfoDetailRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/OmniDesignerDataraptorMappingItemInfoRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/OmniDesignerDataraptorRepresentation.d.ts +40 -0
- package/package.json +3 -3
- package/sfdc/index.js +1587 -1070
- package/src/raml/api.raml +85 -0
- package/src/raml/luvio.raml +9 -0
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* For full license text, see the LICENSE.txt file
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import { serializeStructuredKey, ingestShape, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$
|
|
7
|
+
import { serializeStructuredKey, ingestShape, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$k, typeCheckConfig as typeCheckConfig$z, StoreKeyMap, createResourceParams as createResourceParams$z } from '@luvio/engine';
|
|
8
8
|
|
|
9
9
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
|
|
10
10
|
const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
|
|
@@ -112,8 +112,8 @@ function createLink(ref) {
|
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
const VERSION$
|
|
116
|
-
function validate$
|
|
115
|
+
const VERSION$T = "82ae2dc85f99633c65d4dd65d4ea7723";
|
|
116
|
+
function validate$W(obj, path = 'OmniDesignerEntityInfoDetailRepresentation') {
|
|
117
117
|
const v_error = (() => {
|
|
118
118
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
119
119
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -131,10 +131,10 @@ function validate$S(obj, path = 'OmniDesignerEntityInfoDetailRepresentation') {
|
|
|
131
131
|
})();
|
|
132
132
|
return v_error === undefined ? null : v_error;
|
|
133
133
|
}
|
|
134
|
-
const select$
|
|
134
|
+
const select$1q = function OmniDesignerEntityInfoDetailRepresentationSelect() {
|
|
135
135
|
return {
|
|
136
136
|
kind: 'Fragment',
|
|
137
|
-
version: VERSION$
|
|
137
|
+
version: VERSION$T,
|
|
138
138
|
private: [],
|
|
139
139
|
selections: [
|
|
140
140
|
{
|
|
@@ -148,7 +148,7 @@ const select$1l = function OmniDesignerEntityInfoDetailRepresentationSelect() {
|
|
|
148
148
|
]
|
|
149
149
|
};
|
|
150
150
|
};
|
|
151
|
-
function equals$
|
|
151
|
+
function equals$T(existing, incoming) {
|
|
152
152
|
const existing_entityInfoName = existing.entityInfoName;
|
|
153
153
|
const incoming_entityInfoName = incoming.entityInfoName;
|
|
154
154
|
if (!(existing_entityInfoName === incoming_entityInfoName)) {
|
|
@@ -162,8 +162,8 @@ function equals$P(existing, incoming) {
|
|
|
162
162
|
return true;
|
|
163
163
|
}
|
|
164
164
|
|
|
165
|
-
const VERSION$
|
|
166
|
-
function validate$
|
|
165
|
+
const VERSION$S = "4d8b4cf8a4cb069856885e2ea0da8a80";
|
|
166
|
+
function validate$V(obj, path = 'OmniDesignerEntitiesInfoDetailRepresentation') {
|
|
167
167
|
const v_error = (() => {
|
|
168
168
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
169
169
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -176,7 +176,7 @@ function validate$R(obj, path = 'OmniDesignerEntitiesInfoDetailRepresentation')
|
|
|
176
176
|
for (let i = 0; i < obj_entityInfo.length; i++) {
|
|
177
177
|
const obj_entityInfo_item = obj_entityInfo[i];
|
|
178
178
|
const path_entityInfo_item = path_entityInfo + '[' + i + ']';
|
|
179
|
-
const referencepath_entityInfo_itemValidationError = validate$
|
|
179
|
+
const referencepath_entityInfo_itemValidationError = validate$W(obj_entityInfo_item, path_entityInfo_item);
|
|
180
180
|
if (referencepath_entityInfo_itemValidationError !== null) {
|
|
181
181
|
let message = 'Object doesn\'t match OmniDesignerEntityInfoDetailRepresentation (at "' + path_entityInfo_item + '")\n';
|
|
182
182
|
message += referencepath_entityInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -191,11 +191,11 @@ function validate$R(obj, path = 'OmniDesignerEntitiesInfoDetailRepresentation')
|
|
|
191
191
|
})();
|
|
192
192
|
return v_error === undefined ? null : v_error;
|
|
193
193
|
}
|
|
194
|
-
const select$
|
|
195
|
-
const { selections: OmniDesignerEntityInfoDetailRepresentation__selections, opaque: OmniDesignerEntityInfoDetailRepresentation__opaque, } = select$
|
|
194
|
+
const select$1p = function OmniDesignerEntitiesInfoDetailRepresentationSelect() {
|
|
195
|
+
const { selections: OmniDesignerEntityInfoDetailRepresentation__selections, opaque: OmniDesignerEntityInfoDetailRepresentation__opaque, } = select$1q();
|
|
196
196
|
return {
|
|
197
197
|
kind: 'Fragment',
|
|
198
|
-
version: VERSION$
|
|
198
|
+
version: VERSION$S,
|
|
199
199
|
private: [],
|
|
200
200
|
selections: [
|
|
201
201
|
{
|
|
@@ -211,7 +211,7 @@ const select$1k = function OmniDesignerEntitiesInfoDetailRepresentationSelect()
|
|
|
211
211
|
]
|
|
212
212
|
};
|
|
213
213
|
};
|
|
214
|
-
function equals$
|
|
214
|
+
function equals$S(existing, incoming) {
|
|
215
215
|
const existing_entityName = existing.entityName;
|
|
216
216
|
const incoming_entityName = incoming.entityName;
|
|
217
217
|
if (!(existing_entityName === incoming_entityName)) {
|
|
@@ -220,7 +220,7 @@ function equals$O(existing, incoming) {
|
|
|
220
220
|
const existing_entityInfo = existing.entityInfo;
|
|
221
221
|
const incoming_entityInfo = incoming.entityInfo;
|
|
222
222
|
const equals_entityInfo_items = equalsArray(existing_entityInfo, incoming_entityInfo, (existing_entityInfo_item, incoming_entityInfo_item) => {
|
|
223
|
-
if (!(equals$
|
|
223
|
+
if (!(equals$T(existing_entityInfo_item, incoming_entityInfo_item))) {
|
|
224
224
|
return false;
|
|
225
225
|
}
|
|
226
226
|
});
|
|
@@ -230,9 +230,9 @@ function equals$O(existing, incoming) {
|
|
|
230
230
|
return true;
|
|
231
231
|
}
|
|
232
232
|
|
|
233
|
-
const TTL$
|
|
234
|
-
const VERSION$
|
|
235
|
-
function validate$
|
|
233
|
+
const TTL$y = 10000;
|
|
234
|
+
const VERSION$R = "2ed0e3bb8be6d1c5a8e7b538d4a59f17";
|
|
235
|
+
function validate$U(obj, path = 'OmniDesignerEntityInfoRepresentation') {
|
|
236
236
|
const v_error = (() => {
|
|
237
237
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
238
238
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -245,7 +245,7 @@ function validate$Q(obj, path = 'OmniDesignerEntityInfoRepresentation') {
|
|
|
245
245
|
for (let i = 0; i < obj_entitiesInfo.length; i++) {
|
|
246
246
|
const obj_entitiesInfo_item = obj_entitiesInfo[i];
|
|
247
247
|
const path_entitiesInfo_item = path_entitiesInfo + '[' + i + ']';
|
|
248
|
-
const referencepath_entitiesInfo_itemValidationError = validate$
|
|
248
|
+
const referencepath_entitiesInfo_itemValidationError = validate$V(obj_entitiesInfo_item, path_entitiesInfo_item);
|
|
249
249
|
if (referencepath_entitiesInfo_itemValidationError !== null) {
|
|
250
250
|
let message = 'Object doesn\'t match OmniDesignerEntitiesInfoDetailRepresentation (at "' + path_entitiesInfo_item + '")\n';
|
|
251
251
|
message += referencepath_entitiesInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -262,15 +262,15 @@ function validate$Q(obj, path = 'OmniDesignerEntityInfoRepresentation') {
|
|
|
262
262
|
})();
|
|
263
263
|
return v_error === undefined ? null : v_error;
|
|
264
264
|
}
|
|
265
|
-
const RepresentationType$
|
|
266
|
-
function normalize$
|
|
265
|
+
const RepresentationType$y = 'OmniDesignerEntityInfoRepresentation';
|
|
266
|
+
function normalize$y(input, existing, path, luvio, store, timestamp) {
|
|
267
267
|
return input;
|
|
268
268
|
}
|
|
269
|
-
const select$
|
|
270
|
-
const { selections: OmniDesignerEntitiesInfoDetailRepresentation__selections, opaque: OmniDesignerEntitiesInfoDetailRepresentation__opaque, } = select$
|
|
269
|
+
const select$1o = function OmniDesignerEntityInfoRepresentationSelect() {
|
|
270
|
+
const { selections: OmniDesignerEntitiesInfoDetailRepresentation__selections, opaque: OmniDesignerEntitiesInfoDetailRepresentation__opaque, } = select$1p();
|
|
271
271
|
return {
|
|
272
272
|
kind: 'Fragment',
|
|
273
|
-
version: VERSION$
|
|
273
|
+
version: VERSION$R,
|
|
274
274
|
private: [],
|
|
275
275
|
selections: [
|
|
276
276
|
{
|
|
@@ -287,7 +287,7 @@ const select$1j = function OmniDesignerEntityInfoRepresentationSelect() {
|
|
|
287
287
|
]
|
|
288
288
|
};
|
|
289
289
|
};
|
|
290
|
-
function equals$
|
|
290
|
+
function equals$R(existing, incoming) {
|
|
291
291
|
const existing_queryMore = existing.queryMore;
|
|
292
292
|
const incoming_queryMore = incoming.queryMore;
|
|
293
293
|
// if at least one of these optionals is defined
|
|
@@ -304,7 +304,7 @@ function equals$N(existing, incoming) {
|
|
|
304
304
|
const existing_entitiesInfo = existing.entitiesInfo;
|
|
305
305
|
const incoming_entitiesInfo = incoming.entitiesInfo;
|
|
306
306
|
const equals_entitiesInfo_items = equalsArray(existing_entitiesInfo, incoming_entitiesInfo, (existing_entitiesInfo_item, incoming_entitiesInfo_item) => {
|
|
307
|
-
if (!(equals$
|
|
307
|
+
if (!(equals$S(existing_entitiesInfo_item, incoming_entitiesInfo_item))) {
|
|
308
308
|
return false;
|
|
309
309
|
}
|
|
310
310
|
});
|
|
@@ -313,44 +313,44 @@ function equals$N(existing, incoming) {
|
|
|
313
313
|
}
|
|
314
314
|
return true;
|
|
315
315
|
}
|
|
316
|
-
const ingest$
|
|
316
|
+
const ingest$y = function OmniDesignerEntityInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
317
317
|
if (process.env.NODE_ENV !== 'production') {
|
|
318
|
-
const validateError = validate$
|
|
318
|
+
const validateError = validate$U(input);
|
|
319
319
|
if (validateError !== null) {
|
|
320
320
|
throw validateError;
|
|
321
321
|
}
|
|
322
322
|
}
|
|
323
323
|
const key = path.fullPath;
|
|
324
|
-
const ttlToUse = TTL$
|
|
325
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$
|
|
324
|
+
const ttlToUse = TTL$y;
|
|
325
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$y, "OmniDesigner", VERSION$R, RepresentationType$y, equals$R);
|
|
326
326
|
return createLink(key);
|
|
327
327
|
};
|
|
328
|
-
function getTypeCacheKeys$
|
|
328
|
+
function getTypeCacheKeys$y(rootKeySet, luvio, input, fullPathFactory) {
|
|
329
329
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
330
330
|
const rootKey = fullPathFactory();
|
|
331
331
|
rootKeySet.set(rootKey, {
|
|
332
332
|
namespace: keyPrefix,
|
|
333
|
-
representationName: RepresentationType$
|
|
333
|
+
representationName: RepresentationType$y,
|
|
334
334
|
mergeable: false
|
|
335
335
|
});
|
|
336
336
|
}
|
|
337
337
|
|
|
338
|
-
function select$
|
|
339
|
-
return select$
|
|
338
|
+
function select$1n(luvio, params) {
|
|
339
|
+
return select$1o();
|
|
340
340
|
}
|
|
341
|
-
function keyBuilder$
|
|
341
|
+
function keyBuilder$T(luvio, params) {
|
|
342
342
|
return keyPrefix + '::OmniDesignerEntityInfoRepresentation:(' + 'pageSize:' + params.queryParams.pageSize + ',' + 'queryMore:' + params.queryParams.queryMore + ')';
|
|
343
343
|
}
|
|
344
|
-
function getResponseCacheKeys$
|
|
345
|
-
getTypeCacheKeys$
|
|
344
|
+
function getResponseCacheKeys$y(storeKeyMap, luvio, resourceParams, response) {
|
|
345
|
+
getTypeCacheKeys$y(storeKeyMap, luvio, response, () => keyBuilder$T(luvio, resourceParams));
|
|
346
346
|
}
|
|
347
|
-
function ingestSuccess$
|
|
347
|
+
function ingestSuccess$y(luvio, resourceParams, response, snapshotRefresh) {
|
|
348
348
|
const { body } = response;
|
|
349
|
-
const key = keyBuilder$
|
|
350
|
-
luvio.storeIngest(key, ingest$
|
|
349
|
+
const key = keyBuilder$T(luvio, resourceParams);
|
|
350
|
+
luvio.storeIngest(key, ingest$y, body);
|
|
351
351
|
const snapshot = luvio.storeLookup({
|
|
352
352
|
recordId: key,
|
|
353
|
-
node: select$
|
|
353
|
+
node: select$1n(),
|
|
354
354
|
variables: {},
|
|
355
355
|
}, snapshotRefresh);
|
|
356
356
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -361,19 +361,19 @@ function ingestSuccess$x(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
361
361
|
deepFreeze(snapshot.data);
|
|
362
362
|
return snapshot;
|
|
363
363
|
}
|
|
364
|
-
function ingestError$
|
|
365
|
-
const key = keyBuilder$
|
|
364
|
+
function ingestError$j(luvio, params, error, snapshotRefresh) {
|
|
365
|
+
const key = keyBuilder$T(luvio, params);
|
|
366
366
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
367
367
|
const storeMetadataParams = {
|
|
368
|
-
ttl: TTL$
|
|
368
|
+
ttl: TTL$y,
|
|
369
369
|
namespace: keyPrefix,
|
|
370
|
-
version: VERSION$
|
|
371
|
-
representationName: RepresentationType$
|
|
370
|
+
version: VERSION$R,
|
|
371
|
+
representationName: RepresentationType$y
|
|
372
372
|
};
|
|
373
373
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
374
374
|
return errorSnapshot;
|
|
375
375
|
}
|
|
376
|
-
function createResourceRequest$
|
|
376
|
+
function createResourceRequest$y(config) {
|
|
377
377
|
const headers = {};
|
|
378
378
|
return {
|
|
379
379
|
baseUri: '/services/data/v62.0',
|
|
@@ -387,96 +387,96 @@ function createResourceRequest$x(config) {
|
|
|
387
387
|
};
|
|
388
388
|
}
|
|
389
389
|
|
|
390
|
-
const adapterName$
|
|
390
|
+
const adapterName$y = 'fetchEntityInfo';
|
|
391
391
|
const fetchEntityInfo_ConfigPropertyMetadata = [
|
|
392
392
|
generateParamConfigMetadata('pageSize', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
393
393
|
generateParamConfigMetadata('queryMore', false, 1 /* QueryParameter */, 0 /* String */),
|
|
394
394
|
];
|
|
395
|
-
const fetchEntityInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
396
|
-
const createResourceParams$
|
|
397
|
-
function keyBuilder$
|
|
398
|
-
const resourceParams = createResourceParams$
|
|
399
|
-
return keyBuilder$
|
|
395
|
+
const fetchEntityInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$y, fetchEntityInfo_ConfigPropertyMetadata);
|
|
396
|
+
const createResourceParams$y = /*#__PURE__*/ createResourceParams$z(fetchEntityInfo_ConfigPropertyMetadata);
|
|
397
|
+
function keyBuilder$S(luvio, config) {
|
|
398
|
+
const resourceParams = createResourceParams$y(config);
|
|
399
|
+
return keyBuilder$T(luvio, resourceParams);
|
|
400
400
|
}
|
|
401
|
-
function typeCheckConfig$
|
|
401
|
+
function typeCheckConfig$y(untrustedConfig) {
|
|
402
402
|
const config = {};
|
|
403
|
-
typeCheckConfig$
|
|
403
|
+
typeCheckConfig$z(untrustedConfig, config, fetchEntityInfo_ConfigPropertyMetadata);
|
|
404
404
|
return config;
|
|
405
405
|
}
|
|
406
|
-
function validateAdapterConfig$
|
|
406
|
+
function validateAdapterConfig$y(untrustedConfig, configPropertyNames) {
|
|
407
407
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
408
408
|
return null;
|
|
409
409
|
}
|
|
410
410
|
if (process.env.NODE_ENV !== 'production') {
|
|
411
411
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
412
412
|
}
|
|
413
|
-
const config = typeCheckConfig$
|
|
413
|
+
const config = typeCheckConfig$y(untrustedConfig);
|
|
414
414
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
415
415
|
return null;
|
|
416
416
|
}
|
|
417
417
|
return config;
|
|
418
418
|
}
|
|
419
|
-
function adapterFragment$
|
|
420
|
-
createResourceParams$
|
|
421
|
-
return select$
|
|
419
|
+
function adapterFragment$j(luvio, config) {
|
|
420
|
+
createResourceParams$y(config);
|
|
421
|
+
return select$1n();
|
|
422
422
|
}
|
|
423
|
-
function onFetchResponseSuccess$
|
|
424
|
-
const snapshot = ingestSuccess$
|
|
423
|
+
function onFetchResponseSuccess$j(luvio, config, resourceParams, response) {
|
|
424
|
+
const snapshot = ingestSuccess$y(luvio, resourceParams, response, {
|
|
425
425
|
config,
|
|
426
|
-
resolve: () => buildNetworkSnapshot$
|
|
426
|
+
resolve: () => buildNetworkSnapshot$y(luvio, config, snapshotRefreshOptions)
|
|
427
427
|
});
|
|
428
428
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
429
429
|
}
|
|
430
|
-
function onFetchResponseError$
|
|
431
|
-
const snapshot = ingestError$
|
|
430
|
+
function onFetchResponseError$j(luvio, config, resourceParams, response) {
|
|
431
|
+
const snapshot = ingestError$j(luvio, resourceParams, response, {
|
|
432
432
|
config,
|
|
433
|
-
resolve: () => buildNetworkSnapshot$
|
|
433
|
+
resolve: () => buildNetworkSnapshot$y(luvio, config, snapshotRefreshOptions)
|
|
434
434
|
});
|
|
435
435
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
436
436
|
}
|
|
437
|
-
function buildNetworkSnapshot$
|
|
438
|
-
const resourceParams = createResourceParams$
|
|
439
|
-
const request = createResourceRequest$
|
|
437
|
+
function buildNetworkSnapshot$y(luvio, config, options) {
|
|
438
|
+
const resourceParams = createResourceParams$y(config);
|
|
439
|
+
const request = createResourceRequest$y(resourceParams);
|
|
440
440
|
return luvio.dispatchResourceRequest(request, options)
|
|
441
441
|
.then((response) => {
|
|
442
|
-
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$
|
|
442
|
+
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$j(luvio, config, resourceParams, response), () => {
|
|
443
443
|
const cache = new StoreKeyMap();
|
|
444
|
-
getResponseCacheKeys$
|
|
444
|
+
getResponseCacheKeys$y(cache, luvio, resourceParams, response.body);
|
|
445
445
|
return cache;
|
|
446
446
|
});
|
|
447
447
|
}, (response) => {
|
|
448
|
-
return luvio.handleErrorResponse(() => onFetchResponseError$
|
|
448
|
+
return luvio.handleErrorResponse(() => onFetchResponseError$j(luvio, config, resourceParams, response));
|
|
449
449
|
});
|
|
450
450
|
}
|
|
451
|
-
function buildNetworkSnapshotCachePolicy$
|
|
452
|
-
return buildNetworkSnapshotCachePolicy$
|
|
451
|
+
function buildNetworkSnapshotCachePolicy$j(context, coercedAdapterRequestContext) {
|
|
452
|
+
return buildNetworkSnapshotCachePolicy$k(context, coercedAdapterRequestContext, buildNetworkSnapshot$y, undefined, false);
|
|
453
453
|
}
|
|
454
|
-
function buildCachedSnapshotCachePolicy$
|
|
454
|
+
function buildCachedSnapshotCachePolicy$j(context, storeLookup) {
|
|
455
455
|
const { luvio, config } = context;
|
|
456
456
|
const selector = {
|
|
457
|
-
recordId: keyBuilder$
|
|
458
|
-
node: adapterFragment$
|
|
457
|
+
recordId: keyBuilder$S(luvio, config),
|
|
458
|
+
node: adapterFragment$j(luvio, config),
|
|
459
459
|
variables: {},
|
|
460
460
|
};
|
|
461
461
|
const cacheSnapshot = storeLookup(selector, {
|
|
462
462
|
config,
|
|
463
|
-
resolve: () => buildNetworkSnapshot$
|
|
463
|
+
resolve: () => buildNetworkSnapshot$y(luvio, config, snapshotRefreshOptions)
|
|
464
464
|
});
|
|
465
465
|
return cacheSnapshot;
|
|
466
466
|
}
|
|
467
467
|
const fetchEntityInfoAdapterFactory = (luvio) => function OmniDesigner__fetchEntityInfo(untrustedConfig, requestContext) {
|
|
468
|
-
const config = validateAdapterConfig$
|
|
468
|
+
const config = validateAdapterConfig$y(untrustedConfig, fetchEntityInfo_ConfigPropertyNames);
|
|
469
469
|
// Invalid or incomplete config
|
|
470
470
|
if (config === null) {
|
|
471
471
|
return null;
|
|
472
472
|
}
|
|
473
473
|
return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
|
|
474
|
-
buildCachedSnapshotCachePolicy$
|
|
474
|
+
buildCachedSnapshotCachePolicy$j, buildNetworkSnapshotCachePolicy$j);
|
|
475
475
|
};
|
|
476
476
|
|
|
477
|
-
const TTL$
|
|
478
|
-
const VERSION$
|
|
479
|
-
function validate$
|
|
477
|
+
const TTL$x = 10000;
|
|
478
|
+
const VERSION$Q = "fe5fb10a07e2a2154417010e48db3ba9";
|
|
479
|
+
function validate$T(obj, path = 'OmniUiCardAttachmentUpsertRepresentation') {
|
|
480
480
|
const v_error = (() => {
|
|
481
481
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
482
482
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -489,23 +489,23 @@ function validate$P(obj, path = 'OmniUiCardAttachmentUpsertRepresentation') {
|
|
|
489
489
|
})();
|
|
490
490
|
return v_error === undefined ? null : v_error;
|
|
491
491
|
}
|
|
492
|
-
const RepresentationType$
|
|
493
|
-
function keyBuilder$
|
|
494
|
-
return keyPrefix + '::' + RepresentationType$
|
|
492
|
+
const RepresentationType$x = 'OmniUiCardAttachmentUpsertRepresentation';
|
|
493
|
+
function keyBuilder$R(luvio, config) {
|
|
494
|
+
return keyPrefix + '::' + RepresentationType$x + ':' + config.attachmentId;
|
|
495
495
|
}
|
|
496
496
|
function keyBuilderFromType$f(luvio, object) {
|
|
497
497
|
const keyParams = {
|
|
498
498
|
attachmentId: object.attachmentId
|
|
499
499
|
};
|
|
500
|
-
return keyBuilder$
|
|
500
|
+
return keyBuilder$R(luvio, keyParams);
|
|
501
501
|
}
|
|
502
|
-
function normalize$
|
|
502
|
+
function normalize$x(input, existing, path, luvio, store, timestamp) {
|
|
503
503
|
return input;
|
|
504
504
|
}
|
|
505
|
-
const select$
|
|
505
|
+
const select$1m = function OmniUiCardAttachmentUpsertRepresentationSelect() {
|
|
506
506
|
return {
|
|
507
507
|
kind: 'Fragment',
|
|
508
|
-
version: VERSION$
|
|
508
|
+
version: VERSION$Q,
|
|
509
509
|
private: [],
|
|
510
510
|
selections: [
|
|
511
511
|
{
|
|
@@ -515,7 +515,7 @@ const select$1h = function OmniUiCardAttachmentUpsertRepresentationSelect() {
|
|
|
515
515
|
]
|
|
516
516
|
};
|
|
517
517
|
};
|
|
518
|
-
function equals$
|
|
518
|
+
function equals$Q(existing, incoming) {
|
|
519
519
|
const existing_attachmentId = existing.attachmentId;
|
|
520
520
|
const incoming_attachmentId = incoming.attachmentId;
|
|
521
521
|
if (!(existing_attachmentId === incoming_attachmentId)) {
|
|
@@ -523,41 +523,41 @@ function equals$M(existing, incoming) {
|
|
|
523
523
|
}
|
|
524
524
|
return true;
|
|
525
525
|
}
|
|
526
|
-
const ingest$
|
|
526
|
+
const ingest$x = function OmniUiCardAttachmentUpsertRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
527
527
|
if (process.env.NODE_ENV !== 'production') {
|
|
528
|
-
const validateError = validate$
|
|
528
|
+
const validateError = validate$T(input);
|
|
529
529
|
if (validateError !== null) {
|
|
530
530
|
throw validateError;
|
|
531
531
|
}
|
|
532
532
|
}
|
|
533
533
|
const key = keyBuilderFromType$f(luvio, input);
|
|
534
|
-
const ttlToUse = TTL$
|
|
535
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$
|
|
534
|
+
const ttlToUse = TTL$x;
|
|
535
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$x, "OmniDesigner", VERSION$Q, RepresentationType$x, equals$Q);
|
|
536
536
|
return createLink(key);
|
|
537
537
|
};
|
|
538
|
-
function getTypeCacheKeys$
|
|
538
|
+
function getTypeCacheKeys$x(rootKeySet, luvio, input, fullPathFactory) {
|
|
539
539
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
540
540
|
const rootKey = keyBuilderFromType$f(luvio, input);
|
|
541
541
|
rootKeySet.set(rootKey, {
|
|
542
542
|
namespace: keyPrefix,
|
|
543
|
-
representationName: RepresentationType$
|
|
543
|
+
representationName: RepresentationType$x,
|
|
544
544
|
mergeable: false
|
|
545
545
|
});
|
|
546
546
|
}
|
|
547
547
|
|
|
548
|
-
function select$
|
|
549
|
-
return select$
|
|
548
|
+
function select$1l(luvio, params) {
|
|
549
|
+
return select$1m();
|
|
550
550
|
}
|
|
551
|
-
function getResponseCacheKeys$
|
|
552
|
-
getTypeCacheKeys$
|
|
551
|
+
function getResponseCacheKeys$x(storeKeyMap, luvio, resourceParams, response) {
|
|
552
|
+
getTypeCacheKeys$x(storeKeyMap, luvio, response);
|
|
553
553
|
}
|
|
554
|
-
function ingestSuccess$
|
|
554
|
+
function ingestSuccess$x(luvio, resourceParams, response) {
|
|
555
555
|
const { body } = response;
|
|
556
556
|
const key = keyBuilderFromType$f(luvio, body);
|
|
557
|
-
luvio.storeIngest(key, ingest$
|
|
557
|
+
luvio.storeIngest(key, ingest$x, body);
|
|
558
558
|
const snapshot = luvio.storeLookup({
|
|
559
559
|
recordId: key,
|
|
560
|
-
node: select$
|
|
560
|
+
node: select$1l(),
|
|
561
561
|
variables: {},
|
|
562
562
|
});
|
|
563
563
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -568,7 +568,7 @@ function ingestSuccess$w(luvio, resourceParams, response) {
|
|
|
568
568
|
deepFreeze(snapshot.data);
|
|
569
569
|
return snapshot;
|
|
570
570
|
}
|
|
571
|
-
function createResourceRequest$
|
|
571
|
+
function createResourceRequest$x(config) {
|
|
572
572
|
const headers = {};
|
|
573
573
|
return {
|
|
574
574
|
baseUri: '/services/data/v62.0',
|
|
@@ -582,43 +582,43 @@ function createResourceRequest$w(config) {
|
|
|
582
582
|
};
|
|
583
583
|
}
|
|
584
584
|
|
|
585
|
-
const adapterName$
|
|
585
|
+
const adapterName$x = 'cardUpsertAttachment';
|
|
586
586
|
const cardUpsertAttachment_ConfigPropertyMetadata = [
|
|
587
587
|
generateParamConfigMetadata('attachmentContent', true, 2 /* Body */, 0 /* String */),
|
|
588
588
|
generateParamConfigMetadata('attachmentName', true, 2 /* Body */, 0 /* String */),
|
|
589
589
|
generateParamConfigMetadata('cardId', true, 2 /* Body */, 0 /* String */),
|
|
590
590
|
];
|
|
591
|
-
const cardUpsertAttachment_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
592
|
-
const createResourceParams$
|
|
593
|
-
function typeCheckConfig$
|
|
591
|
+
const cardUpsertAttachment_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$x, cardUpsertAttachment_ConfigPropertyMetadata);
|
|
592
|
+
const createResourceParams$x = /*#__PURE__*/ createResourceParams$z(cardUpsertAttachment_ConfigPropertyMetadata);
|
|
593
|
+
function typeCheckConfig$x(untrustedConfig) {
|
|
594
594
|
const config = {};
|
|
595
|
-
typeCheckConfig$
|
|
595
|
+
typeCheckConfig$z(untrustedConfig, config, cardUpsertAttachment_ConfigPropertyMetadata);
|
|
596
596
|
return config;
|
|
597
597
|
}
|
|
598
|
-
function validateAdapterConfig$
|
|
598
|
+
function validateAdapterConfig$x(untrustedConfig, configPropertyNames) {
|
|
599
599
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
600
600
|
return null;
|
|
601
601
|
}
|
|
602
602
|
if (process.env.NODE_ENV !== 'production') {
|
|
603
603
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
604
604
|
}
|
|
605
|
-
const config = typeCheckConfig$
|
|
605
|
+
const config = typeCheckConfig$x(untrustedConfig);
|
|
606
606
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
607
607
|
return null;
|
|
608
608
|
}
|
|
609
609
|
return config;
|
|
610
610
|
}
|
|
611
|
-
function buildNetworkSnapshot$
|
|
612
|
-
const resourceParams = createResourceParams$
|
|
613
|
-
const request = createResourceRequest$
|
|
611
|
+
function buildNetworkSnapshot$x(luvio, config, options) {
|
|
612
|
+
const resourceParams = createResourceParams$x(config);
|
|
613
|
+
const request = createResourceRequest$x(resourceParams);
|
|
614
614
|
return luvio.dispatchResourceRequest(request, options)
|
|
615
615
|
.then((response) => {
|
|
616
616
|
return luvio.handleSuccessResponse(() => {
|
|
617
|
-
const snapshot = ingestSuccess$
|
|
617
|
+
const snapshot = ingestSuccess$x(luvio, resourceParams, response);
|
|
618
618
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
619
619
|
}, () => {
|
|
620
620
|
const cache = new StoreKeyMap();
|
|
621
|
-
getResponseCacheKeys$
|
|
621
|
+
getResponseCacheKeys$x(cache, luvio, resourceParams, response.body);
|
|
622
622
|
return cache;
|
|
623
623
|
});
|
|
624
624
|
}, (response) => {
|
|
@@ -628,17 +628,17 @@ function buildNetworkSnapshot$w(luvio, config, options) {
|
|
|
628
628
|
}
|
|
629
629
|
const cardUpsertAttachmentAdapterFactory = (luvio) => {
|
|
630
630
|
return function cardUpsertAttachment(untrustedConfig) {
|
|
631
|
-
const config = validateAdapterConfig$
|
|
631
|
+
const config = validateAdapterConfig$x(untrustedConfig, cardUpsertAttachment_ConfigPropertyNames);
|
|
632
632
|
// Invalid or incomplete config
|
|
633
633
|
if (config === null) {
|
|
634
634
|
throw new Error('Invalid config for "cardUpsertAttachment"');
|
|
635
635
|
}
|
|
636
|
-
return buildNetworkSnapshot$
|
|
636
|
+
return buildNetworkSnapshot$x(luvio, config);
|
|
637
637
|
};
|
|
638
638
|
};
|
|
639
639
|
|
|
640
|
-
const VERSION$
|
|
641
|
-
function validate$
|
|
640
|
+
const VERSION$P = "460d27f1105c4c4b91d704db635c60be";
|
|
641
|
+
function validate$S(obj, path = 'OmniUiCardAttachmentRepresentation') {
|
|
642
642
|
const v_error = (() => {
|
|
643
643
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
644
644
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -656,10 +656,10 @@ function validate$O(obj, path = 'OmniUiCardAttachmentRepresentation') {
|
|
|
656
656
|
})();
|
|
657
657
|
return v_error === undefined ? null : v_error;
|
|
658
658
|
}
|
|
659
|
-
const select$
|
|
659
|
+
const select$1k = function OmniUiCardAttachmentRepresentationSelect() {
|
|
660
660
|
return {
|
|
661
661
|
kind: 'Fragment',
|
|
662
|
-
version: VERSION$
|
|
662
|
+
version: VERSION$P,
|
|
663
663
|
private: [],
|
|
664
664
|
selections: [
|
|
665
665
|
{
|
|
@@ -673,7 +673,7 @@ const select$1f = function OmniUiCardAttachmentRepresentationSelect() {
|
|
|
673
673
|
]
|
|
674
674
|
};
|
|
675
675
|
};
|
|
676
|
-
function equals$
|
|
676
|
+
function equals$P(existing, incoming) {
|
|
677
677
|
const existing_id = existing.id;
|
|
678
678
|
const incoming_id = incoming.id;
|
|
679
679
|
if (!(existing_id === incoming_id)) {
|
|
@@ -687,9 +687,9 @@ function equals$L(existing, incoming) {
|
|
|
687
687
|
return true;
|
|
688
688
|
}
|
|
689
689
|
|
|
690
|
-
const TTL$
|
|
691
|
-
const VERSION$
|
|
692
|
-
function validate$
|
|
690
|
+
const TTL$w = 1000;
|
|
691
|
+
const VERSION$O = "51ad3132300625f21c1b23f81de33513";
|
|
692
|
+
function validate$R(obj, path = 'OmniUiCardRepresentation') {
|
|
693
693
|
const v_error = (() => {
|
|
694
694
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
695
695
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -702,7 +702,7 @@ function validate$N(obj, path = 'OmniUiCardRepresentation') {
|
|
|
702
702
|
for (let i = 0; i < obj_attachments.length; i++) {
|
|
703
703
|
const obj_attachments_item = obj_attachments[i];
|
|
704
704
|
const path_attachments_item = path_attachments + '[' + i + ']';
|
|
705
|
-
const referencepath_attachments_itemValidationError = validate$
|
|
705
|
+
const referencepath_attachments_itemValidationError = validate$S(obj_attachments_item, path_attachments_item);
|
|
706
706
|
if (referencepath_attachments_itemValidationError !== null) {
|
|
707
707
|
let message = 'Object doesn\'t match OmniUiCardAttachmentRepresentation (at "' + path_attachments_item + '")\n';
|
|
708
708
|
message += referencepath_attachments_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -763,24 +763,24 @@ function validate$N(obj, path = 'OmniUiCardRepresentation') {
|
|
|
763
763
|
})();
|
|
764
764
|
return v_error === undefined ? null : v_error;
|
|
765
765
|
}
|
|
766
|
-
const RepresentationType$
|
|
767
|
-
function keyBuilder$
|
|
768
|
-
return keyPrefix + '::' + RepresentationType$
|
|
766
|
+
const RepresentationType$w = 'OmniUiCardRepresentation';
|
|
767
|
+
function keyBuilder$Q(luvio, config) {
|
|
768
|
+
return keyPrefix + '::' + RepresentationType$w + ':' + config.id;
|
|
769
769
|
}
|
|
770
770
|
function keyBuilderFromType$e(luvio, object) {
|
|
771
771
|
const keyParams = {
|
|
772
772
|
id: object.id
|
|
773
773
|
};
|
|
774
|
-
return keyBuilder$
|
|
774
|
+
return keyBuilder$Q(luvio, keyParams);
|
|
775
775
|
}
|
|
776
|
-
function normalize$
|
|
776
|
+
function normalize$w(input, existing, path, luvio, store, timestamp) {
|
|
777
777
|
return input;
|
|
778
778
|
}
|
|
779
|
-
const select$
|
|
780
|
-
const { selections: OmniUiCardAttachmentRepresentation__selections, opaque: OmniUiCardAttachmentRepresentation__opaque, } = select$
|
|
779
|
+
const select$1j = function OmniUiCardRepresentationSelect() {
|
|
780
|
+
const { selections: OmniUiCardAttachmentRepresentation__selections, opaque: OmniUiCardAttachmentRepresentation__opaque, } = select$1k();
|
|
781
781
|
return {
|
|
782
782
|
kind: 'Fragment',
|
|
783
|
-
version: VERSION$
|
|
783
|
+
version: VERSION$O,
|
|
784
784
|
private: [],
|
|
785
785
|
selections: [
|
|
786
786
|
{
|
|
@@ -836,7 +836,7 @@ const select$1e = function OmniUiCardRepresentationSelect() {
|
|
|
836
836
|
]
|
|
837
837
|
};
|
|
838
838
|
};
|
|
839
|
-
function equals$
|
|
839
|
+
function equals$O(existing, incoming) {
|
|
840
840
|
const existing_isActive = existing.isActive;
|
|
841
841
|
const incoming_isActive = incoming.isActive;
|
|
842
842
|
if (!(existing_isActive === incoming_isActive)) {
|
|
@@ -895,7 +895,7 @@ function equals$K(existing, incoming) {
|
|
|
895
895
|
const existing_attachments = existing.attachments;
|
|
896
896
|
const incoming_attachments = incoming.attachments;
|
|
897
897
|
const equals_attachments_items = equalsArray(existing_attachments, incoming_attachments, (existing_attachments_item, incoming_attachments_item) => {
|
|
898
|
-
if (!(equals$
|
|
898
|
+
if (!(equals$P(existing_attachments_item, incoming_attachments_item))) {
|
|
899
899
|
return false;
|
|
900
900
|
}
|
|
901
901
|
});
|
|
@@ -904,46 +904,46 @@ function equals$K(existing, incoming) {
|
|
|
904
904
|
}
|
|
905
905
|
return true;
|
|
906
906
|
}
|
|
907
|
-
const ingest$
|
|
907
|
+
const ingest$w = function OmniUiCardRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
908
908
|
if (process.env.NODE_ENV !== 'production') {
|
|
909
|
-
const validateError = validate$
|
|
909
|
+
const validateError = validate$R(input);
|
|
910
910
|
if (validateError !== null) {
|
|
911
911
|
throw validateError;
|
|
912
912
|
}
|
|
913
913
|
}
|
|
914
914
|
const key = keyBuilderFromType$e(luvio, input);
|
|
915
|
-
const ttlToUse = TTL$
|
|
916
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$
|
|
915
|
+
const ttlToUse = TTL$w;
|
|
916
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$w, "OmniDesigner", VERSION$O, RepresentationType$w, equals$O);
|
|
917
917
|
return createLink(key);
|
|
918
918
|
};
|
|
919
|
-
function getTypeCacheKeys$
|
|
919
|
+
function getTypeCacheKeys$w(rootKeySet, luvio, input, fullPathFactory) {
|
|
920
920
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
921
921
|
const rootKey = keyBuilderFromType$e(luvio, input);
|
|
922
922
|
rootKeySet.set(rootKey, {
|
|
923
923
|
namespace: keyPrefix,
|
|
924
|
-
representationName: RepresentationType$
|
|
924
|
+
representationName: RepresentationType$w,
|
|
925
925
|
mergeable: false
|
|
926
926
|
});
|
|
927
927
|
}
|
|
928
928
|
|
|
929
|
-
function select$
|
|
930
|
-
return select$
|
|
929
|
+
function select$1i(luvio, params) {
|
|
930
|
+
return select$1j();
|
|
931
931
|
}
|
|
932
|
-
function keyBuilder$
|
|
933
|
-
return keyBuilder$
|
|
932
|
+
function keyBuilder$P(luvio, params) {
|
|
933
|
+
return keyBuilder$Q(luvio, {
|
|
934
934
|
id: params.urlParams.cardId
|
|
935
935
|
});
|
|
936
936
|
}
|
|
937
|
-
function getResponseCacheKeys$
|
|
938
|
-
getTypeCacheKeys$
|
|
937
|
+
function getResponseCacheKeys$w(storeKeyMap, luvio, resourceParams, response) {
|
|
938
|
+
getTypeCacheKeys$w(storeKeyMap, luvio, response);
|
|
939
939
|
}
|
|
940
|
-
function ingestSuccess$
|
|
940
|
+
function ingestSuccess$w(luvio, resourceParams, response, snapshotRefresh) {
|
|
941
941
|
const { body } = response;
|
|
942
|
-
const key = keyBuilder$
|
|
943
|
-
luvio.storeIngest(key, ingest$
|
|
942
|
+
const key = keyBuilder$P(luvio, resourceParams);
|
|
943
|
+
luvio.storeIngest(key, ingest$w, body);
|
|
944
944
|
const snapshot = luvio.storeLookup({
|
|
945
945
|
recordId: key,
|
|
946
|
-
node: select$
|
|
946
|
+
node: select$1i(),
|
|
947
947
|
variables: {},
|
|
948
948
|
}, snapshotRefresh);
|
|
949
949
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -954,19 +954,19 @@ function ingestSuccess$v(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
954
954
|
deepFreeze(snapshot.data);
|
|
955
955
|
return snapshot;
|
|
956
956
|
}
|
|
957
|
-
function ingestError$
|
|
958
|
-
const key = keyBuilder$
|
|
957
|
+
function ingestError$i(luvio, params, error, snapshotRefresh) {
|
|
958
|
+
const key = keyBuilder$P(luvio, params);
|
|
959
959
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
960
960
|
const storeMetadataParams = {
|
|
961
|
-
ttl: TTL$
|
|
961
|
+
ttl: TTL$w,
|
|
962
962
|
namespace: keyPrefix,
|
|
963
|
-
version: VERSION$
|
|
964
|
-
representationName: RepresentationType$
|
|
963
|
+
version: VERSION$O,
|
|
964
|
+
representationName: RepresentationType$w
|
|
965
965
|
};
|
|
966
966
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
967
967
|
return errorSnapshot;
|
|
968
968
|
}
|
|
969
|
-
function createResourceRequest$
|
|
969
|
+
function createResourceRequest$w(config) {
|
|
970
970
|
const headers = {};
|
|
971
971
|
return {
|
|
972
972
|
baseUri: '/services/data/v62.0',
|
|
@@ -980,95 +980,95 @@ function createResourceRequest$v(config) {
|
|
|
980
980
|
};
|
|
981
981
|
}
|
|
982
982
|
|
|
983
|
-
const adapterName$
|
|
983
|
+
const adapterName$w = 'getCardById';
|
|
984
984
|
const getCardById_ConfigPropertyMetadata = [
|
|
985
985
|
generateParamConfigMetadata('cardId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
986
986
|
];
|
|
987
|
-
const getCardById_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
988
|
-
const createResourceParams$
|
|
989
|
-
function keyBuilder$
|
|
990
|
-
const resourceParams = createResourceParams$
|
|
991
|
-
return keyBuilder$
|
|
987
|
+
const getCardById_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$w, getCardById_ConfigPropertyMetadata);
|
|
988
|
+
const createResourceParams$w = /*#__PURE__*/ createResourceParams$z(getCardById_ConfigPropertyMetadata);
|
|
989
|
+
function keyBuilder$O(luvio, config) {
|
|
990
|
+
const resourceParams = createResourceParams$w(config);
|
|
991
|
+
return keyBuilder$P(luvio, resourceParams);
|
|
992
992
|
}
|
|
993
|
-
function typeCheckConfig$
|
|
993
|
+
function typeCheckConfig$w(untrustedConfig) {
|
|
994
994
|
const config = {};
|
|
995
|
-
typeCheckConfig$
|
|
995
|
+
typeCheckConfig$z(untrustedConfig, config, getCardById_ConfigPropertyMetadata);
|
|
996
996
|
return config;
|
|
997
997
|
}
|
|
998
|
-
function validateAdapterConfig$
|
|
998
|
+
function validateAdapterConfig$w(untrustedConfig, configPropertyNames) {
|
|
999
999
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
1000
1000
|
return null;
|
|
1001
1001
|
}
|
|
1002
1002
|
if (process.env.NODE_ENV !== 'production') {
|
|
1003
1003
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
1004
1004
|
}
|
|
1005
|
-
const config = typeCheckConfig$
|
|
1005
|
+
const config = typeCheckConfig$w(untrustedConfig);
|
|
1006
1006
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
1007
1007
|
return null;
|
|
1008
1008
|
}
|
|
1009
1009
|
return config;
|
|
1010
1010
|
}
|
|
1011
|
-
function adapterFragment$
|
|
1012
|
-
createResourceParams$
|
|
1013
|
-
return select$
|
|
1011
|
+
function adapterFragment$i(luvio, config) {
|
|
1012
|
+
createResourceParams$w(config);
|
|
1013
|
+
return select$1i();
|
|
1014
1014
|
}
|
|
1015
|
-
function onFetchResponseSuccess$
|
|
1016
|
-
const snapshot = ingestSuccess$
|
|
1015
|
+
function onFetchResponseSuccess$i(luvio, config, resourceParams, response) {
|
|
1016
|
+
const snapshot = ingestSuccess$w(luvio, resourceParams, response, {
|
|
1017
1017
|
config,
|
|
1018
|
-
resolve: () => buildNetworkSnapshot$
|
|
1018
|
+
resolve: () => buildNetworkSnapshot$w(luvio, config, snapshotRefreshOptions)
|
|
1019
1019
|
});
|
|
1020
1020
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
1021
1021
|
}
|
|
1022
|
-
function onFetchResponseError$
|
|
1023
|
-
const snapshot = ingestError$
|
|
1022
|
+
function onFetchResponseError$i(luvio, config, resourceParams, response) {
|
|
1023
|
+
const snapshot = ingestError$i(luvio, resourceParams, response, {
|
|
1024
1024
|
config,
|
|
1025
|
-
resolve: () => buildNetworkSnapshot$
|
|
1025
|
+
resolve: () => buildNetworkSnapshot$w(luvio, config, snapshotRefreshOptions)
|
|
1026
1026
|
});
|
|
1027
1027
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
1028
1028
|
}
|
|
1029
|
-
function buildNetworkSnapshot$
|
|
1030
|
-
const resourceParams = createResourceParams$
|
|
1031
|
-
const request = createResourceRequest$
|
|
1029
|
+
function buildNetworkSnapshot$w(luvio, config, options) {
|
|
1030
|
+
const resourceParams = createResourceParams$w(config);
|
|
1031
|
+
const request = createResourceRequest$w(resourceParams);
|
|
1032
1032
|
return luvio.dispatchResourceRequest(request, options)
|
|
1033
1033
|
.then((response) => {
|
|
1034
|
-
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$
|
|
1034
|
+
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$i(luvio, config, resourceParams, response), () => {
|
|
1035
1035
|
const cache = new StoreKeyMap();
|
|
1036
|
-
getResponseCacheKeys$
|
|
1036
|
+
getResponseCacheKeys$w(cache, luvio, resourceParams, response.body);
|
|
1037
1037
|
return cache;
|
|
1038
1038
|
});
|
|
1039
1039
|
}, (response) => {
|
|
1040
|
-
return luvio.handleErrorResponse(() => onFetchResponseError$
|
|
1040
|
+
return luvio.handleErrorResponse(() => onFetchResponseError$i(luvio, config, resourceParams, response));
|
|
1041
1041
|
});
|
|
1042
1042
|
}
|
|
1043
|
-
function buildNetworkSnapshotCachePolicy$
|
|
1044
|
-
return buildNetworkSnapshotCachePolicy$
|
|
1043
|
+
function buildNetworkSnapshotCachePolicy$i(context, coercedAdapterRequestContext) {
|
|
1044
|
+
return buildNetworkSnapshotCachePolicy$k(context, coercedAdapterRequestContext, buildNetworkSnapshot$w, undefined, false);
|
|
1045
1045
|
}
|
|
1046
|
-
function buildCachedSnapshotCachePolicy$
|
|
1046
|
+
function buildCachedSnapshotCachePolicy$i(context, storeLookup) {
|
|
1047
1047
|
const { luvio, config } = context;
|
|
1048
1048
|
const selector = {
|
|
1049
|
-
recordId: keyBuilder$
|
|
1050
|
-
node: adapterFragment$
|
|
1049
|
+
recordId: keyBuilder$O(luvio, config),
|
|
1050
|
+
node: adapterFragment$i(luvio, config),
|
|
1051
1051
|
variables: {},
|
|
1052
1052
|
};
|
|
1053
1053
|
const cacheSnapshot = storeLookup(selector, {
|
|
1054
1054
|
config,
|
|
1055
|
-
resolve: () => buildNetworkSnapshot$
|
|
1055
|
+
resolve: () => buildNetworkSnapshot$w(luvio, config, snapshotRefreshOptions)
|
|
1056
1056
|
});
|
|
1057
1057
|
return cacheSnapshot;
|
|
1058
1058
|
}
|
|
1059
1059
|
const getCardByIdAdapterFactory = (luvio) => function OmniDesigner__getCardById(untrustedConfig, requestContext) {
|
|
1060
|
-
const config = validateAdapterConfig$
|
|
1060
|
+
const config = validateAdapterConfig$w(untrustedConfig, getCardById_ConfigPropertyNames);
|
|
1061
1061
|
// Invalid or incomplete config
|
|
1062
1062
|
if (config === null) {
|
|
1063
1063
|
return null;
|
|
1064
1064
|
}
|
|
1065
1065
|
return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
|
|
1066
|
-
buildCachedSnapshotCachePolicy$
|
|
1066
|
+
buildCachedSnapshotCachePolicy$i, buildNetworkSnapshotCachePolicy$i);
|
|
1067
1067
|
};
|
|
1068
1068
|
|
|
1069
|
-
const TTL$
|
|
1070
|
-
const VERSION$
|
|
1071
|
-
function validate$
|
|
1069
|
+
const TTL$v = 100;
|
|
1070
|
+
const VERSION$N = "793e6108d3bcb27c9ec6890a1b4aa795";
|
|
1071
|
+
function validate$Q(obj, path = 'OmniProcessCloneOutputRepresentation') {
|
|
1072
1072
|
const v_error = (() => {
|
|
1073
1073
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1074
1074
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1081,23 +1081,23 @@ function validate$M(obj, path = 'OmniProcessCloneOutputRepresentation') {
|
|
|
1081
1081
|
})();
|
|
1082
1082
|
return v_error === undefined ? null : v_error;
|
|
1083
1083
|
}
|
|
1084
|
-
const RepresentationType$
|
|
1085
|
-
function keyBuilder$
|
|
1086
|
-
return keyPrefix + '::' + RepresentationType$
|
|
1084
|
+
const RepresentationType$v = 'OmniProcessCloneOutputRepresentation';
|
|
1085
|
+
function keyBuilder$N(luvio, config) {
|
|
1086
|
+
return keyPrefix + '::' + RepresentationType$v + ':' + config.id;
|
|
1087
1087
|
}
|
|
1088
1088
|
function keyBuilderFromType$d(luvio, object) {
|
|
1089
1089
|
const keyParams = {
|
|
1090
1090
|
id: object.id
|
|
1091
1091
|
};
|
|
1092
|
-
return keyBuilder$
|
|
1092
|
+
return keyBuilder$N(luvio, keyParams);
|
|
1093
1093
|
}
|
|
1094
|
-
function normalize$
|
|
1094
|
+
function normalize$v(input, existing, path, luvio, store, timestamp) {
|
|
1095
1095
|
return input;
|
|
1096
1096
|
}
|
|
1097
|
-
const select$
|
|
1097
|
+
const select$1h = function OmniProcessCloneOutputRepresentationSelect() {
|
|
1098
1098
|
return {
|
|
1099
1099
|
kind: 'Fragment',
|
|
1100
|
-
version: VERSION$
|
|
1100
|
+
version: VERSION$N,
|
|
1101
1101
|
private: [],
|
|
1102
1102
|
selections: [
|
|
1103
1103
|
{
|
|
@@ -1107,7 +1107,7 @@ const select$1c = function OmniProcessCloneOutputRepresentationSelect() {
|
|
|
1107
1107
|
]
|
|
1108
1108
|
};
|
|
1109
1109
|
};
|
|
1110
|
-
function equals$
|
|
1110
|
+
function equals$N(existing, incoming) {
|
|
1111
1111
|
const existing_id = existing.id;
|
|
1112
1112
|
const incoming_id = incoming.id;
|
|
1113
1113
|
if (!(existing_id === incoming_id)) {
|
|
@@ -1115,41 +1115,41 @@ function equals$J(existing, incoming) {
|
|
|
1115
1115
|
}
|
|
1116
1116
|
return true;
|
|
1117
1117
|
}
|
|
1118
|
-
const ingest$
|
|
1118
|
+
const ingest$v = function OmniProcessCloneOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1119
1119
|
if (process.env.NODE_ENV !== 'production') {
|
|
1120
|
-
const validateError = validate$
|
|
1120
|
+
const validateError = validate$Q(input);
|
|
1121
1121
|
if (validateError !== null) {
|
|
1122
1122
|
throw validateError;
|
|
1123
1123
|
}
|
|
1124
1124
|
}
|
|
1125
1125
|
const key = keyBuilderFromType$d(luvio, input);
|
|
1126
|
-
const ttlToUse = TTL$
|
|
1127
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$
|
|
1126
|
+
const ttlToUse = TTL$v;
|
|
1127
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$v, "OmniDesigner", VERSION$N, RepresentationType$v, equals$N);
|
|
1128
1128
|
return createLink(key);
|
|
1129
1129
|
};
|
|
1130
|
-
function getTypeCacheKeys$
|
|
1130
|
+
function getTypeCacheKeys$v(rootKeySet, luvio, input, fullPathFactory) {
|
|
1131
1131
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
1132
1132
|
const rootKey = keyBuilderFromType$d(luvio, input);
|
|
1133
1133
|
rootKeySet.set(rootKey, {
|
|
1134
1134
|
namespace: keyPrefix,
|
|
1135
|
-
representationName: RepresentationType$
|
|
1135
|
+
representationName: RepresentationType$v,
|
|
1136
1136
|
mergeable: false
|
|
1137
1137
|
});
|
|
1138
1138
|
}
|
|
1139
1139
|
|
|
1140
|
-
function select$
|
|
1141
|
-
return select$
|
|
1140
|
+
function select$1g(luvio, params) {
|
|
1141
|
+
return select$1h();
|
|
1142
1142
|
}
|
|
1143
|
-
function getResponseCacheKeys$
|
|
1144
|
-
getTypeCacheKeys$
|
|
1143
|
+
function getResponseCacheKeys$v(storeKeyMap, luvio, resourceParams, response) {
|
|
1144
|
+
getTypeCacheKeys$v(storeKeyMap, luvio, response);
|
|
1145
1145
|
}
|
|
1146
|
-
function ingestSuccess$
|
|
1146
|
+
function ingestSuccess$v(luvio, resourceParams, response) {
|
|
1147
1147
|
const { body } = response;
|
|
1148
1148
|
const key = keyBuilderFromType$d(luvio, body);
|
|
1149
|
-
luvio.storeIngest(key, ingest$
|
|
1149
|
+
luvio.storeIngest(key, ingest$v, body);
|
|
1150
1150
|
const snapshot = luvio.storeLookup({
|
|
1151
1151
|
recordId: key,
|
|
1152
|
-
node: select$
|
|
1152
|
+
node: select$1g(),
|
|
1153
1153
|
variables: {},
|
|
1154
1154
|
});
|
|
1155
1155
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -1160,7 +1160,7 @@ function ingestSuccess$u(luvio, resourceParams, response) {
|
|
|
1160
1160
|
deepFreeze(snapshot.data);
|
|
1161
1161
|
return snapshot;
|
|
1162
1162
|
}
|
|
1163
|
-
function createResourceRequest$
|
|
1163
|
+
function createResourceRequest$v(config) {
|
|
1164
1164
|
const headers = {};
|
|
1165
1165
|
return {
|
|
1166
1166
|
baseUri: '/services/data/v62.0',
|
|
@@ -1174,42 +1174,42 @@ function createResourceRequest$u(config) {
|
|
|
1174
1174
|
};
|
|
1175
1175
|
}
|
|
1176
1176
|
|
|
1177
|
-
const adapterName$
|
|
1177
|
+
const adapterName$v = 'cloneOmniProcess';
|
|
1178
1178
|
const cloneOmniProcess_ConfigPropertyMetadata = [
|
|
1179
1179
|
generateParamConfigMetadata('id', true, 2 /* Body */, 0 /* String */),
|
|
1180
1180
|
generateParamConfigMetadata('type', true, 2 /* Body */, 0 /* String */),
|
|
1181
1181
|
];
|
|
1182
|
-
const cloneOmniProcess_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
1183
|
-
const createResourceParams$
|
|
1184
|
-
function typeCheckConfig$
|
|
1182
|
+
const cloneOmniProcess_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$v, cloneOmniProcess_ConfigPropertyMetadata);
|
|
1183
|
+
const createResourceParams$v = /*#__PURE__*/ createResourceParams$z(cloneOmniProcess_ConfigPropertyMetadata);
|
|
1184
|
+
function typeCheckConfig$v(untrustedConfig) {
|
|
1185
1185
|
const config = {};
|
|
1186
|
-
typeCheckConfig$
|
|
1186
|
+
typeCheckConfig$z(untrustedConfig, config, cloneOmniProcess_ConfigPropertyMetadata);
|
|
1187
1187
|
return config;
|
|
1188
1188
|
}
|
|
1189
|
-
function validateAdapterConfig$
|
|
1189
|
+
function validateAdapterConfig$v(untrustedConfig, configPropertyNames) {
|
|
1190
1190
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
1191
1191
|
return null;
|
|
1192
1192
|
}
|
|
1193
1193
|
if (process.env.NODE_ENV !== 'production') {
|
|
1194
1194
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
1195
1195
|
}
|
|
1196
|
-
const config = typeCheckConfig$
|
|
1196
|
+
const config = typeCheckConfig$v(untrustedConfig);
|
|
1197
1197
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
1198
1198
|
return null;
|
|
1199
1199
|
}
|
|
1200
1200
|
return config;
|
|
1201
1201
|
}
|
|
1202
|
-
function buildNetworkSnapshot$
|
|
1203
|
-
const resourceParams = createResourceParams$
|
|
1204
|
-
const request = createResourceRequest$
|
|
1202
|
+
function buildNetworkSnapshot$v(luvio, config, options) {
|
|
1203
|
+
const resourceParams = createResourceParams$v(config);
|
|
1204
|
+
const request = createResourceRequest$v(resourceParams);
|
|
1205
1205
|
return luvio.dispatchResourceRequest(request, options)
|
|
1206
1206
|
.then((response) => {
|
|
1207
1207
|
return luvio.handleSuccessResponse(() => {
|
|
1208
|
-
const snapshot = ingestSuccess$
|
|
1208
|
+
const snapshot = ingestSuccess$v(luvio, resourceParams, response);
|
|
1209
1209
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
1210
1210
|
}, () => {
|
|
1211
1211
|
const cache = new StoreKeyMap();
|
|
1212
|
-
getResponseCacheKeys$
|
|
1212
|
+
getResponseCacheKeys$v(cache, luvio, resourceParams, response.body);
|
|
1213
1213
|
return cache;
|
|
1214
1214
|
});
|
|
1215
1215
|
}, (response) => {
|
|
@@ -1219,14 +1219,519 @@ function buildNetworkSnapshot$u(luvio, config, options) {
|
|
|
1219
1219
|
}
|
|
1220
1220
|
const cloneOmniProcessAdapterFactory = (luvio) => {
|
|
1221
1221
|
return function cloneOmniProcess(untrustedConfig) {
|
|
1222
|
-
const config = validateAdapterConfig$
|
|
1222
|
+
const config = validateAdapterConfig$v(untrustedConfig, cloneOmniProcess_ConfigPropertyNames);
|
|
1223
1223
|
// Invalid or incomplete config
|
|
1224
1224
|
if (config === null) {
|
|
1225
1225
|
throw new Error('Invalid config for "cloneOmniProcess"');
|
|
1226
1226
|
}
|
|
1227
|
-
return buildNetworkSnapshot$
|
|
1227
|
+
return buildNetworkSnapshot$v(luvio, config);
|
|
1228
|
+
};
|
|
1229
|
+
};
|
|
1230
|
+
|
|
1231
|
+
const VERSION$M = "6a9210be2d607a74ae42b7e10f9ab971";
|
|
1232
|
+
function validate$P(obj, path = 'OmniDesignerDataraptorInfoRepresentation') {
|
|
1233
|
+
const v_error = (() => {
|
|
1234
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1235
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1236
|
+
}
|
|
1237
|
+
const obj_dataraptorProperty = obj.dataraptorProperty;
|
|
1238
|
+
const path_dataraptorProperty = path + '.dataraptorProperty';
|
|
1239
|
+
if (typeof obj_dataraptorProperty !== 'string') {
|
|
1240
|
+
return new TypeError('Expected "string" but received "' + typeof obj_dataraptorProperty + '" (at "' + path_dataraptorProperty + '")');
|
|
1241
|
+
}
|
|
1242
|
+
const obj_value = obj.value;
|
|
1243
|
+
const path_value = path + '.value';
|
|
1244
|
+
if (typeof obj_value !== 'string') {
|
|
1245
|
+
return new TypeError('Expected "string" but received "' + typeof obj_value + '" (at "' + path_value + '")');
|
|
1246
|
+
}
|
|
1247
|
+
})();
|
|
1248
|
+
return v_error === undefined ? null : v_error;
|
|
1249
|
+
}
|
|
1250
|
+
const select$1f = function OmniDesignerDataraptorInfoRepresentationSelect() {
|
|
1251
|
+
return {
|
|
1252
|
+
kind: 'Fragment',
|
|
1253
|
+
version: VERSION$M,
|
|
1254
|
+
private: [],
|
|
1255
|
+
selections: [
|
|
1256
|
+
{
|
|
1257
|
+
name: 'dataraptorProperty',
|
|
1258
|
+
kind: 'Scalar'
|
|
1259
|
+
},
|
|
1260
|
+
{
|
|
1261
|
+
name: 'value',
|
|
1262
|
+
kind: 'Scalar'
|
|
1263
|
+
}
|
|
1264
|
+
]
|
|
1265
|
+
};
|
|
1266
|
+
};
|
|
1267
|
+
function equals$M(existing, incoming) {
|
|
1268
|
+
const existing_dataraptorProperty = existing.dataraptorProperty;
|
|
1269
|
+
const incoming_dataraptorProperty = incoming.dataraptorProperty;
|
|
1270
|
+
if (!(existing_dataraptorProperty === incoming_dataraptorProperty)) {
|
|
1271
|
+
return false;
|
|
1272
|
+
}
|
|
1273
|
+
const existing_value = existing.value;
|
|
1274
|
+
const incoming_value = incoming.value;
|
|
1275
|
+
if (!(existing_value === incoming_value)) {
|
|
1276
|
+
return false;
|
|
1277
|
+
}
|
|
1278
|
+
return true;
|
|
1279
|
+
}
|
|
1280
|
+
|
|
1281
|
+
const VERSION$L = "9a5c42b8c27fe70673ec80b944bf679b";
|
|
1282
|
+
function validate$O(obj, path = 'OmniDesignerDataraptorMappingItemInfoDetailRepresentation') {
|
|
1283
|
+
const v_error = (() => {
|
|
1284
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1285
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1286
|
+
}
|
|
1287
|
+
const obj_mappingName = obj.mappingName;
|
|
1288
|
+
const path_mappingName = path + '.mappingName';
|
|
1289
|
+
if (typeof obj_mappingName !== 'string') {
|
|
1290
|
+
return new TypeError('Expected "string" but received "' + typeof obj_mappingName + '" (at "' + path_mappingName + '")');
|
|
1291
|
+
}
|
|
1292
|
+
const obj_mappingValue = obj.mappingValue;
|
|
1293
|
+
const path_mappingValue = path + '.mappingValue';
|
|
1294
|
+
if (typeof obj_mappingValue !== 'string') {
|
|
1295
|
+
return new TypeError('Expected "string" but received "' + typeof obj_mappingValue + '" (at "' + path_mappingValue + '")');
|
|
1296
|
+
}
|
|
1297
|
+
})();
|
|
1298
|
+
return v_error === undefined ? null : v_error;
|
|
1299
|
+
}
|
|
1300
|
+
const select$1e = function OmniDesignerDataraptorMappingItemInfoDetailRepresentationSelect() {
|
|
1301
|
+
return {
|
|
1302
|
+
kind: 'Fragment',
|
|
1303
|
+
version: VERSION$L,
|
|
1304
|
+
private: [],
|
|
1305
|
+
selections: [
|
|
1306
|
+
{
|
|
1307
|
+
name: 'mappingName',
|
|
1308
|
+
kind: 'Scalar'
|
|
1309
|
+
},
|
|
1310
|
+
{
|
|
1311
|
+
name: 'mappingValue',
|
|
1312
|
+
kind: 'Scalar'
|
|
1313
|
+
}
|
|
1314
|
+
]
|
|
1228
1315
|
};
|
|
1229
1316
|
};
|
|
1317
|
+
function equals$L(existing, incoming) {
|
|
1318
|
+
const existing_mappingName = existing.mappingName;
|
|
1319
|
+
const incoming_mappingName = incoming.mappingName;
|
|
1320
|
+
if (!(existing_mappingName === incoming_mappingName)) {
|
|
1321
|
+
return false;
|
|
1322
|
+
}
|
|
1323
|
+
const existing_mappingValue = existing.mappingValue;
|
|
1324
|
+
const incoming_mappingValue = incoming.mappingValue;
|
|
1325
|
+
if (!(existing_mappingValue === incoming_mappingValue)) {
|
|
1326
|
+
return false;
|
|
1327
|
+
}
|
|
1328
|
+
return true;
|
|
1329
|
+
}
|
|
1330
|
+
|
|
1331
|
+
const VERSION$K = "4ec8e6a053424d198df7df77fc8b08ed";
|
|
1332
|
+
function validate$N(obj, path = 'OmniDesignerDataraptorMappingItemInfoRepresentation') {
|
|
1333
|
+
const v_error = (() => {
|
|
1334
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1335
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1336
|
+
}
|
|
1337
|
+
if (obj.mappingItemParams !== undefined) {
|
|
1338
|
+
const obj_mappingItemParams = obj.mappingItemParams;
|
|
1339
|
+
const path_mappingItemParams = path + '.mappingItemParams';
|
|
1340
|
+
if (!ArrayIsArray(obj_mappingItemParams)) {
|
|
1341
|
+
return new TypeError('Expected "array" but received "' + typeof obj_mappingItemParams + '" (at "' + path_mappingItemParams + '")');
|
|
1342
|
+
}
|
|
1343
|
+
for (let i = 0; i < obj_mappingItemParams.length; i++) {
|
|
1344
|
+
const obj_mappingItemParams_item = obj_mappingItemParams[i];
|
|
1345
|
+
const path_mappingItemParams_item = path_mappingItemParams + '[' + i + ']';
|
|
1346
|
+
const referencepath_mappingItemParams_itemValidationError = validate$O(obj_mappingItemParams_item, path_mappingItemParams_item);
|
|
1347
|
+
if (referencepath_mappingItemParams_itemValidationError !== null) {
|
|
1348
|
+
let message = 'Object doesn\'t match OmniDesignerDataraptorMappingItemInfoDetailRepresentation (at "' + path_mappingItemParams_item + '")\n';
|
|
1349
|
+
message += referencepath_mappingItemParams_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1350
|
+
return new TypeError(message);
|
|
1351
|
+
}
|
|
1352
|
+
}
|
|
1353
|
+
}
|
|
1354
|
+
if (obj.omniDataTransformItemId !== undefined) {
|
|
1355
|
+
const obj_omniDataTransformItemId = obj.omniDataTransformItemId;
|
|
1356
|
+
const path_omniDataTransformItemId = path + '.omniDataTransformItemId';
|
|
1357
|
+
if (typeof obj_omniDataTransformItemId !== 'string') {
|
|
1358
|
+
return new TypeError('Expected "string" but received "' + typeof obj_omniDataTransformItemId + '" (at "' + path_omniDataTransformItemId + '")');
|
|
1359
|
+
}
|
|
1360
|
+
}
|
|
1361
|
+
})();
|
|
1362
|
+
return v_error === undefined ? null : v_error;
|
|
1363
|
+
}
|
|
1364
|
+
const select$1d = function OmniDesignerDataraptorMappingItemInfoRepresentationSelect() {
|
|
1365
|
+
const { selections: OmniDesignerDataraptorMappingItemInfoDetailRepresentation__selections, opaque: OmniDesignerDataraptorMappingItemInfoDetailRepresentation__opaque, } = select$1e();
|
|
1366
|
+
return {
|
|
1367
|
+
kind: 'Fragment',
|
|
1368
|
+
version: VERSION$K,
|
|
1369
|
+
private: [],
|
|
1370
|
+
selections: [
|
|
1371
|
+
{
|
|
1372
|
+
name: 'mappingItemParams',
|
|
1373
|
+
kind: 'Object',
|
|
1374
|
+
plural: true,
|
|
1375
|
+
selections: OmniDesignerDataraptorMappingItemInfoDetailRepresentation__selections,
|
|
1376
|
+
required: false
|
|
1377
|
+
},
|
|
1378
|
+
{
|
|
1379
|
+
name: 'omniDataTransformItemId',
|
|
1380
|
+
kind: 'Scalar',
|
|
1381
|
+
required: false
|
|
1382
|
+
}
|
|
1383
|
+
]
|
|
1384
|
+
};
|
|
1385
|
+
};
|
|
1386
|
+
function equals$K(existing, incoming) {
|
|
1387
|
+
const existing_omniDataTransformItemId = existing.omniDataTransformItemId;
|
|
1388
|
+
const incoming_omniDataTransformItemId = incoming.omniDataTransformItemId;
|
|
1389
|
+
// if at least one of these optionals is defined
|
|
1390
|
+
if (existing_omniDataTransformItemId !== undefined || incoming_omniDataTransformItemId !== undefined) {
|
|
1391
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1392
|
+
// not equal
|
|
1393
|
+
if (existing_omniDataTransformItemId === undefined || incoming_omniDataTransformItemId === undefined) {
|
|
1394
|
+
return false;
|
|
1395
|
+
}
|
|
1396
|
+
if (!(existing_omniDataTransformItemId === incoming_omniDataTransformItemId)) {
|
|
1397
|
+
return false;
|
|
1398
|
+
}
|
|
1399
|
+
}
|
|
1400
|
+
const existing_mappingItemParams = existing.mappingItemParams;
|
|
1401
|
+
const incoming_mappingItemParams = incoming.mappingItemParams;
|
|
1402
|
+
// if at least one of these optionals is defined
|
|
1403
|
+
if (existing_mappingItemParams !== undefined || incoming_mappingItemParams !== undefined) {
|
|
1404
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1405
|
+
// not equal
|
|
1406
|
+
if (existing_mappingItemParams === undefined || incoming_mappingItemParams === undefined) {
|
|
1407
|
+
return false;
|
|
1408
|
+
}
|
|
1409
|
+
const equals_mappingItemParams_items = equalsArray(existing_mappingItemParams, incoming_mappingItemParams, (existing_mappingItemParams_item, incoming_mappingItemParams_item) => {
|
|
1410
|
+
if (!(equals$L(existing_mappingItemParams_item, incoming_mappingItemParams_item))) {
|
|
1411
|
+
return false;
|
|
1412
|
+
}
|
|
1413
|
+
});
|
|
1414
|
+
if (equals_mappingItemParams_items === false) {
|
|
1415
|
+
return false;
|
|
1416
|
+
}
|
|
1417
|
+
}
|
|
1418
|
+
return true;
|
|
1419
|
+
}
|
|
1420
|
+
|
|
1421
|
+
const TTL$u = 60000;
|
|
1422
|
+
const VERSION$J = "b88b9852566d06d2d0579ccd658f4d2e";
|
|
1423
|
+
function validate$M(obj, path = 'OmniDesignerDataraptorRepresentation') {
|
|
1424
|
+
const v_error = (() => {
|
|
1425
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1426
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1427
|
+
}
|
|
1428
|
+
if (obj.dataraptorInfo !== undefined) {
|
|
1429
|
+
const obj_dataraptorInfo = obj.dataraptorInfo;
|
|
1430
|
+
const path_dataraptorInfo = path + '.dataraptorInfo';
|
|
1431
|
+
if (!ArrayIsArray(obj_dataraptorInfo)) {
|
|
1432
|
+
return new TypeError('Expected "array" but received "' + typeof obj_dataraptorInfo + '" (at "' + path_dataraptorInfo + '")');
|
|
1433
|
+
}
|
|
1434
|
+
for (let i = 0; i < obj_dataraptorInfo.length; i++) {
|
|
1435
|
+
const obj_dataraptorInfo_item = obj_dataraptorInfo[i];
|
|
1436
|
+
const path_dataraptorInfo_item = path_dataraptorInfo + '[' + i + ']';
|
|
1437
|
+
const referencepath_dataraptorInfo_itemValidationError = validate$P(obj_dataraptorInfo_item, path_dataraptorInfo_item);
|
|
1438
|
+
if (referencepath_dataraptorInfo_itemValidationError !== null) {
|
|
1439
|
+
let message = 'Object doesn\'t match OmniDesignerDataraptorInfoRepresentation (at "' + path_dataraptorInfo_item + '")\n';
|
|
1440
|
+
message += referencepath_dataraptorInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1441
|
+
return new TypeError(message);
|
|
1442
|
+
}
|
|
1443
|
+
}
|
|
1444
|
+
}
|
|
1445
|
+
if (obj.mappingInfo !== undefined) {
|
|
1446
|
+
const obj_mappingInfo = obj.mappingInfo;
|
|
1447
|
+
const path_mappingInfo = path + '.mappingInfo';
|
|
1448
|
+
if (!ArrayIsArray(obj_mappingInfo)) {
|
|
1449
|
+
return new TypeError('Expected "array" but received "' + typeof obj_mappingInfo + '" (at "' + path_mappingInfo + '")');
|
|
1450
|
+
}
|
|
1451
|
+
for (let i = 0; i < obj_mappingInfo.length; i++) {
|
|
1452
|
+
const obj_mappingInfo_item = obj_mappingInfo[i];
|
|
1453
|
+
const path_mappingInfo_item = path_mappingInfo + '[' + i + ']';
|
|
1454
|
+
const referencepath_mappingInfo_itemValidationError = validate$N(obj_mappingInfo_item, path_mappingInfo_item);
|
|
1455
|
+
if (referencepath_mappingInfo_itemValidationError !== null) {
|
|
1456
|
+
let message = 'Object doesn\'t match OmniDesignerDataraptorMappingItemInfoRepresentation (at "' + path_mappingInfo_item + '")\n';
|
|
1457
|
+
message += referencepath_mappingInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1458
|
+
return new TypeError(message);
|
|
1459
|
+
}
|
|
1460
|
+
}
|
|
1461
|
+
}
|
|
1462
|
+
const obj_name = obj.name;
|
|
1463
|
+
const path_name = path + '.name';
|
|
1464
|
+
if (typeof obj_name !== 'string') {
|
|
1465
|
+
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
1466
|
+
}
|
|
1467
|
+
if (obj.omniDataTransformationId !== undefined) {
|
|
1468
|
+
const obj_omniDataTransformationId = obj.omniDataTransformationId;
|
|
1469
|
+
const path_omniDataTransformationId = path + '.omniDataTransformationId';
|
|
1470
|
+
if (typeof obj_omniDataTransformationId !== 'string') {
|
|
1471
|
+
return new TypeError('Expected "string" but received "' + typeof obj_omniDataTransformationId + '" (at "' + path_omniDataTransformationId + '")');
|
|
1472
|
+
}
|
|
1473
|
+
}
|
|
1474
|
+
})();
|
|
1475
|
+
return v_error === undefined ? null : v_error;
|
|
1476
|
+
}
|
|
1477
|
+
const RepresentationType$u = 'OmniDesignerDataraptorRepresentation';
|
|
1478
|
+
function normalize$u(input, existing, path, luvio, store, timestamp) {
|
|
1479
|
+
return input;
|
|
1480
|
+
}
|
|
1481
|
+
const select$1c = function OmniDesignerDataraptorRepresentationSelect() {
|
|
1482
|
+
const { selections: OmniDesignerDataraptorInfoRepresentation__selections, opaque: OmniDesignerDataraptorInfoRepresentation__opaque, } = select$1f();
|
|
1483
|
+
const { selections: OmniDesignerDataraptorMappingItemInfoRepresentation__selections, opaque: OmniDesignerDataraptorMappingItemInfoRepresentation__opaque, } = select$1d();
|
|
1484
|
+
return {
|
|
1485
|
+
kind: 'Fragment',
|
|
1486
|
+
version: VERSION$J,
|
|
1487
|
+
private: [],
|
|
1488
|
+
selections: [
|
|
1489
|
+
{
|
|
1490
|
+
name: 'dataraptorInfo',
|
|
1491
|
+
kind: 'Object',
|
|
1492
|
+
plural: true,
|
|
1493
|
+
selections: OmniDesignerDataraptorInfoRepresentation__selections,
|
|
1494
|
+
required: false
|
|
1495
|
+
},
|
|
1496
|
+
{
|
|
1497
|
+
name: 'mappingInfo',
|
|
1498
|
+
kind: 'Object',
|
|
1499
|
+
plural: true,
|
|
1500
|
+
selections: OmniDesignerDataraptorMappingItemInfoRepresentation__selections,
|
|
1501
|
+
required: false
|
|
1502
|
+
},
|
|
1503
|
+
{
|
|
1504
|
+
name: 'name',
|
|
1505
|
+
kind: 'Scalar'
|
|
1506
|
+
},
|
|
1507
|
+
{
|
|
1508
|
+
name: 'omniDataTransformationId',
|
|
1509
|
+
kind: 'Scalar',
|
|
1510
|
+
required: false
|
|
1511
|
+
}
|
|
1512
|
+
]
|
|
1513
|
+
};
|
|
1514
|
+
};
|
|
1515
|
+
function equals$J(existing, incoming) {
|
|
1516
|
+
const existing_name = existing.name;
|
|
1517
|
+
const incoming_name = incoming.name;
|
|
1518
|
+
if (!(existing_name === incoming_name)) {
|
|
1519
|
+
return false;
|
|
1520
|
+
}
|
|
1521
|
+
const existing_omniDataTransformationId = existing.omniDataTransformationId;
|
|
1522
|
+
const incoming_omniDataTransformationId = incoming.omniDataTransformationId;
|
|
1523
|
+
// if at least one of these optionals is defined
|
|
1524
|
+
if (existing_omniDataTransformationId !== undefined || incoming_omniDataTransformationId !== undefined) {
|
|
1525
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1526
|
+
// not equal
|
|
1527
|
+
if (existing_omniDataTransformationId === undefined || incoming_omniDataTransformationId === undefined) {
|
|
1528
|
+
return false;
|
|
1529
|
+
}
|
|
1530
|
+
if (!(existing_omniDataTransformationId === incoming_omniDataTransformationId)) {
|
|
1531
|
+
return false;
|
|
1532
|
+
}
|
|
1533
|
+
}
|
|
1534
|
+
const existing_dataraptorInfo = existing.dataraptorInfo;
|
|
1535
|
+
const incoming_dataraptorInfo = incoming.dataraptorInfo;
|
|
1536
|
+
// if at least one of these optionals is defined
|
|
1537
|
+
if (existing_dataraptorInfo !== undefined || incoming_dataraptorInfo !== undefined) {
|
|
1538
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1539
|
+
// not equal
|
|
1540
|
+
if (existing_dataraptorInfo === undefined || incoming_dataraptorInfo === undefined) {
|
|
1541
|
+
return false;
|
|
1542
|
+
}
|
|
1543
|
+
const equals_dataraptorInfo_items = equalsArray(existing_dataraptorInfo, incoming_dataraptorInfo, (existing_dataraptorInfo_item, incoming_dataraptorInfo_item) => {
|
|
1544
|
+
if (!(equals$M(existing_dataraptorInfo_item, incoming_dataraptorInfo_item))) {
|
|
1545
|
+
return false;
|
|
1546
|
+
}
|
|
1547
|
+
});
|
|
1548
|
+
if (equals_dataraptorInfo_items === false) {
|
|
1549
|
+
return false;
|
|
1550
|
+
}
|
|
1551
|
+
}
|
|
1552
|
+
const existing_mappingInfo = existing.mappingInfo;
|
|
1553
|
+
const incoming_mappingInfo = incoming.mappingInfo;
|
|
1554
|
+
// if at least one of these optionals is defined
|
|
1555
|
+
if (existing_mappingInfo !== undefined || incoming_mappingInfo !== undefined) {
|
|
1556
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1557
|
+
// not equal
|
|
1558
|
+
if (existing_mappingInfo === undefined || incoming_mappingInfo === undefined) {
|
|
1559
|
+
return false;
|
|
1560
|
+
}
|
|
1561
|
+
const equals_mappingInfo_items = equalsArray(existing_mappingInfo, incoming_mappingInfo, (existing_mappingInfo_item, incoming_mappingInfo_item) => {
|
|
1562
|
+
if (!(equals$K(existing_mappingInfo_item, incoming_mappingInfo_item))) {
|
|
1563
|
+
return false;
|
|
1564
|
+
}
|
|
1565
|
+
});
|
|
1566
|
+
if (equals_mappingInfo_items === false) {
|
|
1567
|
+
return false;
|
|
1568
|
+
}
|
|
1569
|
+
}
|
|
1570
|
+
return true;
|
|
1571
|
+
}
|
|
1572
|
+
const ingest$u = function OmniDesignerDataraptorRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1573
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
1574
|
+
const validateError = validate$M(input);
|
|
1575
|
+
if (validateError !== null) {
|
|
1576
|
+
throw validateError;
|
|
1577
|
+
}
|
|
1578
|
+
}
|
|
1579
|
+
const key = path.fullPath;
|
|
1580
|
+
const ttlToUse = TTL$u;
|
|
1581
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$u, "OmniDesigner", VERSION$J, RepresentationType$u, equals$J);
|
|
1582
|
+
return createLink(key);
|
|
1583
|
+
};
|
|
1584
|
+
function getTypeCacheKeys$u(rootKeySet, luvio, input, fullPathFactory) {
|
|
1585
|
+
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
1586
|
+
const rootKey = fullPathFactory();
|
|
1587
|
+
rootKeySet.set(rootKey, {
|
|
1588
|
+
namespace: keyPrefix,
|
|
1589
|
+
representationName: RepresentationType$u,
|
|
1590
|
+
mergeable: false
|
|
1591
|
+
});
|
|
1592
|
+
}
|
|
1593
|
+
|
|
1594
|
+
function select$1b(luvio, params) {
|
|
1595
|
+
return select$1c();
|
|
1596
|
+
}
|
|
1597
|
+
function keyBuilder$M(luvio, params) {
|
|
1598
|
+
return keyPrefix + '::OmniDesignerDataraptorRepresentation:(' + 'dataraptorIdentifier:' + params.queryParams.dataraptorIdentifier + ',' + 'dataraptorName:' + params.queryParams.dataraptorName + ',' + 'dataraptorVersion:' + params.queryParams.dataraptorVersion + ',' + 'mappingItemsCount:' + params.queryParams.mappingItemsCount + ',' + 'queryMore:' + params.queryParams.queryMore + ')';
|
|
1599
|
+
}
|
|
1600
|
+
function getResponseCacheKeys$u(storeKeyMap, luvio, resourceParams, response) {
|
|
1601
|
+
getTypeCacheKeys$u(storeKeyMap, luvio, response, () => keyBuilder$M(luvio, resourceParams));
|
|
1602
|
+
}
|
|
1603
|
+
function ingestSuccess$u(luvio, resourceParams, response, snapshotRefresh) {
|
|
1604
|
+
const { body } = response;
|
|
1605
|
+
const key = keyBuilder$M(luvio, resourceParams);
|
|
1606
|
+
luvio.storeIngest(key, ingest$u, body);
|
|
1607
|
+
const snapshot = luvio.storeLookup({
|
|
1608
|
+
recordId: key,
|
|
1609
|
+
node: select$1b(),
|
|
1610
|
+
variables: {},
|
|
1611
|
+
}, snapshotRefresh);
|
|
1612
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
1613
|
+
if (snapshot.state !== 'Fulfilled') {
|
|
1614
|
+
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
1615
|
+
}
|
|
1616
|
+
}
|
|
1617
|
+
deepFreeze(snapshot.data);
|
|
1618
|
+
return snapshot;
|
|
1619
|
+
}
|
|
1620
|
+
function ingestError$h(luvio, params, error, snapshotRefresh) {
|
|
1621
|
+
const key = keyBuilder$M(luvio, params);
|
|
1622
|
+
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
1623
|
+
const storeMetadataParams = {
|
|
1624
|
+
ttl: TTL$u,
|
|
1625
|
+
namespace: keyPrefix,
|
|
1626
|
+
version: VERSION$J,
|
|
1627
|
+
representationName: RepresentationType$u
|
|
1628
|
+
};
|
|
1629
|
+
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
1630
|
+
return errorSnapshot;
|
|
1631
|
+
}
|
|
1632
|
+
function createResourceRequest$u(config) {
|
|
1633
|
+
const headers = {};
|
|
1634
|
+
return {
|
|
1635
|
+
baseUri: '/services/data/v62.0',
|
|
1636
|
+
basePath: '/connect/omni-designer/dataraptor-config',
|
|
1637
|
+
method: 'get',
|
|
1638
|
+
body: null,
|
|
1639
|
+
urlParams: {},
|
|
1640
|
+
queryParams: config.queryParams,
|
|
1641
|
+
headers,
|
|
1642
|
+
priority: 'normal',
|
|
1643
|
+
};
|
|
1644
|
+
}
|
|
1645
|
+
|
|
1646
|
+
const adapterName$u = 'getDataraptorConfig';
|
|
1647
|
+
const getDataraptorConfig_ConfigPropertyMetadata = [
|
|
1648
|
+
generateParamConfigMetadata('dataraptorIdentifier', false, 1 /* QueryParameter */, 0 /* String */),
|
|
1649
|
+
generateParamConfigMetadata('dataraptorName', false, 1 /* QueryParameter */, 0 /* String */),
|
|
1650
|
+
generateParamConfigMetadata('dataraptorVersion', false, 1 /* QueryParameter */, 0 /* String */),
|
|
1651
|
+
generateParamConfigMetadata('mappingItemsCount', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
1652
|
+
generateParamConfigMetadata('queryMore', false, 1 /* QueryParameter */, 0 /* String */),
|
|
1653
|
+
];
|
|
1654
|
+
const getDataraptorConfig_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$u, getDataraptorConfig_ConfigPropertyMetadata);
|
|
1655
|
+
const createResourceParams$u = /*#__PURE__*/ createResourceParams$z(getDataraptorConfig_ConfigPropertyMetadata);
|
|
1656
|
+
function keyBuilder$L(luvio, config) {
|
|
1657
|
+
const resourceParams = createResourceParams$u(config);
|
|
1658
|
+
return keyBuilder$M(luvio, resourceParams);
|
|
1659
|
+
}
|
|
1660
|
+
function typeCheckConfig$u(untrustedConfig) {
|
|
1661
|
+
const config = {};
|
|
1662
|
+
typeCheckConfig$z(untrustedConfig, config, getDataraptorConfig_ConfigPropertyMetadata);
|
|
1663
|
+
return config;
|
|
1664
|
+
}
|
|
1665
|
+
function validateAdapterConfig$u(untrustedConfig, configPropertyNames) {
|
|
1666
|
+
if (!untrustedIsObject(untrustedConfig)) {
|
|
1667
|
+
return null;
|
|
1668
|
+
}
|
|
1669
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
1670
|
+
validateConfig(untrustedConfig, configPropertyNames);
|
|
1671
|
+
}
|
|
1672
|
+
const config = typeCheckConfig$u(untrustedConfig);
|
|
1673
|
+
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
1674
|
+
return null;
|
|
1675
|
+
}
|
|
1676
|
+
return config;
|
|
1677
|
+
}
|
|
1678
|
+
function adapterFragment$h(luvio, config) {
|
|
1679
|
+
createResourceParams$u(config);
|
|
1680
|
+
return select$1b();
|
|
1681
|
+
}
|
|
1682
|
+
function onFetchResponseSuccess$h(luvio, config, resourceParams, response) {
|
|
1683
|
+
const snapshot = ingestSuccess$u(luvio, resourceParams, response, {
|
|
1684
|
+
config,
|
|
1685
|
+
resolve: () => buildNetworkSnapshot$u(luvio, config, snapshotRefreshOptions)
|
|
1686
|
+
});
|
|
1687
|
+
return luvio.storeBroadcast().then(() => snapshot);
|
|
1688
|
+
}
|
|
1689
|
+
function onFetchResponseError$h(luvio, config, resourceParams, response) {
|
|
1690
|
+
const snapshot = ingestError$h(luvio, resourceParams, response, {
|
|
1691
|
+
config,
|
|
1692
|
+
resolve: () => buildNetworkSnapshot$u(luvio, config, snapshotRefreshOptions)
|
|
1693
|
+
});
|
|
1694
|
+
return luvio.storeBroadcast().then(() => snapshot);
|
|
1695
|
+
}
|
|
1696
|
+
function buildNetworkSnapshot$u(luvio, config, options) {
|
|
1697
|
+
const resourceParams = createResourceParams$u(config);
|
|
1698
|
+
const request = createResourceRequest$u(resourceParams);
|
|
1699
|
+
return luvio.dispatchResourceRequest(request, options)
|
|
1700
|
+
.then((response) => {
|
|
1701
|
+
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$h(luvio, config, resourceParams, response), () => {
|
|
1702
|
+
const cache = new StoreKeyMap();
|
|
1703
|
+
getResponseCacheKeys$u(cache, luvio, resourceParams, response.body);
|
|
1704
|
+
return cache;
|
|
1705
|
+
});
|
|
1706
|
+
}, (response) => {
|
|
1707
|
+
return luvio.handleErrorResponse(() => onFetchResponseError$h(luvio, config, resourceParams, response));
|
|
1708
|
+
});
|
|
1709
|
+
}
|
|
1710
|
+
function buildNetworkSnapshotCachePolicy$h(context, coercedAdapterRequestContext) {
|
|
1711
|
+
return buildNetworkSnapshotCachePolicy$k(context, coercedAdapterRequestContext, buildNetworkSnapshot$u, undefined, false);
|
|
1712
|
+
}
|
|
1713
|
+
function buildCachedSnapshotCachePolicy$h(context, storeLookup) {
|
|
1714
|
+
const { luvio, config } = context;
|
|
1715
|
+
const selector = {
|
|
1716
|
+
recordId: keyBuilder$L(luvio, config),
|
|
1717
|
+
node: adapterFragment$h(luvio, config),
|
|
1718
|
+
variables: {},
|
|
1719
|
+
};
|
|
1720
|
+
const cacheSnapshot = storeLookup(selector, {
|
|
1721
|
+
config,
|
|
1722
|
+
resolve: () => buildNetworkSnapshot$u(luvio, config, snapshotRefreshOptions)
|
|
1723
|
+
});
|
|
1724
|
+
return cacheSnapshot;
|
|
1725
|
+
}
|
|
1726
|
+
const getDataraptorConfigAdapterFactory = (luvio) => function OmniDesigner__getDataraptorConfig(untrustedConfig, requestContext) {
|
|
1727
|
+
const config = validateAdapterConfig$u(untrustedConfig, getDataraptorConfig_ConfigPropertyNames);
|
|
1728
|
+
// Invalid or incomplete config
|
|
1729
|
+
if (config === null) {
|
|
1730
|
+
return null;
|
|
1731
|
+
}
|
|
1732
|
+
return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
|
|
1733
|
+
buildCachedSnapshotCachePolicy$h, buildNetworkSnapshotCachePolicy$h);
|
|
1734
|
+
};
|
|
1230
1735
|
|
|
1231
1736
|
const VERSION$I = "6c86d4156245fe0075620f807acd5c0b";
|
|
1232
1737
|
function validate$L(obj, path = 'OmniDesignerDRDetailRepresentation') {
|
|
@@ -1444,14 +1949,14 @@ const fetchDataraptorList_ConfigPropertyMetadata = [
|
|
|
1444
1949
|
generateParamConfigMetadata('type', false, 1 /* QueryParameter */, 0 /* String */),
|
|
1445
1950
|
];
|
|
1446
1951
|
const fetchDataraptorList_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$t, fetchDataraptorList_ConfigPropertyMetadata);
|
|
1447
|
-
const createResourceParams$t = /*#__PURE__*/ createResourceParams$
|
|
1952
|
+
const createResourceParams$t = /*#__PURE__*/ createResourceParams$z(fetchDataraptorList_ConfigPropertyMetadata);
|
|
1448
1953
|
function keyBuilder$J(luvio, config) {
|
|
1449
1954
|
const resourceParams = createResourceParams$t(config);
|
|
1450
1955
|
return keyBuilder$K(luvio, resourceParams);
|
|
1451
1956
|
}
|
|
1452
1957
|
function typeCheckConfig$t(untrustedConfig) {
|
|
1453
1958
|
const config = {};
|
|
1454
|
-
typeCheckConfig$
|
|
1959
|
+
typeCheckConfig$z(untrustedConfig, config, fetchDataraptorList_ConfigPropertyMetadata);
|
|
1455
1960
|
return config;
|
|
1456
1961
|
}
|
|
1457
1962
|
function validateAdapterConfig$t(untrustedConfig, configPropertyNames) {
|
|
@@ -1500,7 +2005,7 @@ function buildNetworkSnapshot$t(luvio, config, options) {
|
|
|
1500
2005
|
});
|
|
1501
2006
|
}
|
|
1502
2007
|
function buildNetworkSnapshotCachePolicy$g(context, coercedAdapterRequestContext) {
|
|
1503
|
-
return buildNetworkSnapshotCachePolicy$
|
|
2008
|
+
return buildNetworkSnapshotCachePolicy$k(context, coercedAdapterRequestContext, buildNetworkSnapshot$t, undefined, false);
|
|
1504
2009
|
}
|
|
1505
2010
|
function buildCachedSnapshotCachePolicy$g(context, storeLookup) {
|
|
1506
2011
|
const { luvio, config } = context;
|
|
@@ -1743,7 +2248,7 @@ function createResourceRequest$s(config) {
|
|
|
1743
2248
|
const adapterName$s = 'fetchDecisionMatrix';
|
|
1744
2249
|
const fetchDecisionMatrix_ConfigPropertyMetadata = [];
|
|
1745
2250
|
const fetchDecisionMatrix_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$s, fetchDecisionMatrix_ConfigPropertyMetadata);
|
|
1746
|
-
const createResourceParams$s = /*#__PURE__*/ createResourceParams$
|
|
2251
|
+
const createResourceParams$s = /*#__PURE__*/ createResourceParams$z(fetchDecisionMatrix_ConfigPropertyMetadata);
|
|
1747
2252
|
function keyBuilder$H(luvio, config) {
|
|
1748
2253
|
createResourceParams$s(config);
|
|
1749
2254
|
return keyBuilder$I();
|
|
@@ -1798,7 +2303,7 @@ function buildNetworkSnapshot$s(luvio, config, options) {
|
|
|
1798
2303
|
});
|
|
1799
2304
|
}
|
|
1800
2305
|
function buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext) {
|
|
1801
|
-
return buildNetworkSnapshotCachePolicy$
|
|
2306
|
+
return buildNetworkSnapshotCachePolicy$k(context, coercedAdapterRequestContext, buildNetworkSnapshot$s, undefined, false);
|
|
1802
2307
|
}
|
|
1803
2308
|
function buildCachedSnapshotCachePolicy$f(context, storeLookup) {
|
|
1804
2309
|
const { luvio, config } = context;
|
|
@@ -2066,7 +2571,7 @@ function createResourceRequest$r(config) {
|
|
|
2066
2571
|
const adapterName$r = 'fetchDocusignTemplates';
|
|
2067
2572
|
const fetchDocusignTemplates_ConfigPropertyMetadata = [];
|
|
2068
2573
|
const fetchDocusignTemplates_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$r, fetchDocusignTemplates_ConfigPropertyMetadata);
|
|
2069
|
-
const createResourceParams$r = /*#__PURE__*/ createResourceParams$
|
|
2574
|
+
const createResourceParams$r = /*#__PURE__*/ createResourceParams$z(fetchDocusignTemplates_ConfigPropertyMetadata);
|
|
2070
2575
|
function keyBuilder$F(luvio, config) {
|
|
2071
2576
|
createResourceParams$r(config);
|
|
2072
2577
|
return keyBuilder$G();
|
|
@@ -2121,7 +2626,7 @@ function buildNetworkSnapshot$r(luvio, config, options) {
|
|
|
2121
2626
|
});
|
|
2122
2627
|
}
|
|
2123
2628
|
function buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext) {
|
|
2124
|
-
return buildNetworkSnapshotCachePolicy$
|
|
2629
|
+
return buildNetworkSnapshotCachePolicy$k(context, coercedAdapterRequestContext, buildNetworkSnapshot$r, undefined, false);
|
|
2125
2630
|
}
|
|
2126
2631
|
function buildCachedSnapshotCachePolicy$e(context, storeLookup) {
|
|
2127
2632
|
const { luvio, config } = context;
|
|
@@ -2364,7 +2869,7 @@ function createResourceRequest$q(config) {
|
|
|
2364
2869
|
const adapterName$q = 'fetchEmailDocuments';
|
|
2365
2870
|
const fetchEmailDocuments_ConfigPropertyMetadata = [];
|
|
2366
2871
|
const fetchEmailDocuments_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$q, fetchEmailDocuments_ConfigPropertyMetadata);
|
|
2367
|
-
const createResourceParams$q = /*#__PURE__*/ createResourceParams$
|
|
2872
|
+
const createResourceParams$q = /*#__PURE__*/ createResourceParams$z(fetchEmailDocuments_ConfigPropertyMetadata);
|
|
2368
2873
|
function keyBuilder$D(luvio, config) {
|
|
2369
2874
|
createResourceParams$q(config);
|
|
2370
2875
|
return keyBuilder$E();
|
|
@@ -2419,7 +2924,7 @@ function buildNetworkSnapshot$q(luvio, config, options) {
|
|
|
2419
2924
|
});
|
|
2420
2925
|
}
|
|
2421
2926
|
function buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext) {
|
|
2422
|
-
return buildNetworkSnapshotCachePolicy$
|
|
2927
|
+
return buildNetworkSnapshotCachePolicy$k(context, coercedAdapterRequestContext, buildNetworkSnapshot$q, undefined, false);
|
|
2423
2928
|
}
|
|
2424
2929
|
function buildCachedSnapshotCachePolicy$d(context, storeLookup) {
|
|
2425
2930
|
const { luvio, config } = context;
|
|
@@ -2812,14 +3317,14 @@ const fetchOmniProcessList_ConfigPropertyMetadata = [
|
|
|
2812
3317
|
generateParamConfigMetadata('queryMore', false, 1 /* QueryParameter */, 0 /* String */),
|
|
2813
3318
|
];
|
|
2814
3319
|
const fetchOmniProcessList_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$p, fetchOmniProcessList_ConfigPropertyMetadata);
|
|
2815
|
-
const createResourceParams$p = /*#__PURE__*/ createResourceParams$
|
|
3320
|
+
const createResourceParams$p = /*#__PURE__*/ createResourceParams$z(fetchOmniProcessList_ConfigPropertyMetadata);
|
|
2816
3321
|
function keyBuilder$B(luvio, config) {
|
|
2817
3322
|
const resourceParams = createResourceParams$p(config);
|
|
2818
3323
|
return keyBuilder$C(luvio, resourceParams);
|
|
2819
3324
|
}
|
|
2820
3325
|
function typeCheckConfig$p(untrustedConfig) {
|
|
2821
3326
|
const config = {};
|
|
2822
|
-
typeCheckConfig$
|
|
3327
|
+
typeCheckConfig$z(untrustedConfig, config, fetchOmniProcessList_ConfigPropertyMetadata);
|
|
2823
3328
|
return config;
|
|
2824
3329
|
}
|
|
2825
3330
|
function validateAdapterConfig$p(untrustedConfig, configPropertyNames) {
|
|
@@ -2868,7 +3373,7 @@ function buildNetworkSnapshot$p(luvio, config, options) {
|
|
|
2868
3373
|
});
|
|
2869
3374
|
}
|
|
2870
3375
|
function buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext) {
|
|
2871
|
-
return buildNetworkSnapshotCachePolicy$
|
|
3376
|
+
return buildNetworkSnapshotCachePolicy$k(context, coercedAdapterRequestContext, buildNetworkSnapshot$p, undefined, false);
|
|
2872
3377
|
}
|
|
2873
3378
|
function buildCachedSnapshotCachePolicy$c(context, storeLookup) {
|
|
2874
3379
|
const { luvio, config } = context;
|
|
@@ -3147,14 +3652,14 @@ const fetchOmniProcessData_ConfigPropertyMetadata = [
|
|
|
3147
3652
|
generateParamConfigMetadata('omniProcessId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
3148
3653
|
];
|
|
3149
3654
|
const fetchOmniProcessData_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$o, fetchOmniProcessData_ConfigPropertyMetadata);
|
|
3150
|
-
const createResourceParams$o = /*#__PURE__*/ createResourceParams$
|
|
3655
|
+
const createResourceParams$o = /*#__PURE__*/ createResourceParams$z(fetchOmniProcessData_ConfigPropertyMetadata);
|
|
3151
3656
|
function keyBuilder$z(luvio, config) {
|
|
3152
3657
|
const resourceParams = createResourceParams$o(config);
|
|
3153
3658
|
return keyBuilder$A(luvio, resourceParams);
|
|
3154
3659
|
}
|
|
3155
3660
|
function typeCheckConfig$o(untrustedConfig) {
|
|
3156
3661
|
const config = {};
|
|
3157
|
-
typeCheckConfig$
|
|
3662
|
+
typeCheckConfig$z(untrustedConfig, config, fetchOmniProcessData_ConfigPropertyMetadata);
|
|
3158
3663
|
return config;
|
|
3159
3664
|
}
|
|
3160
3665
|
function validateAdapterConfig$o(untrustedConfig, configPropertyNames) {
|
|
@@ -3203,7 +3708,7 @@ function buildNetworkSnapshot$o(luvio, config, options) {
|
|
|
3203
3708
|
});
|
|
3204
3709
|
}
|
|
3205
3710
|
function buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext) {
|
|
3206
|
-
return buildNetworkSnapshotCachePolicy$
|
|
3711
|
+
return buildNetworkSnapshotCachePolicy$k(context, coercedAdapterRequestContext, buildNetworkSnapshot$o, undefined, false);
|
|
3207
3712
|
}
|
|
3208
3713
|
function buildCachedSnapshotCachePolicy$b(context, storeLookup) {
|
|
3209
3714
|
const { luvio, config } = context;
|
|
@@ -3360,10 +3865,10 @@ const upsertOmniProcess_ConfigPropertyMetadata = [
|
|
|
3360
3865
|
generateParamConfigMetadata('versionNumber', false, 2 /* Body */, 0 /* String */),
|
|
3361
3866
|
];
|
|
3362
3867
|
const upsertOmniProcess_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$n, upsertOmniProcess_ConfigPropertyMetadata);
|
|
3363
|
-
const createResourceParams$n = /*#__PURE__*/ createResourceParams$
|
|
3868
|
+
const createResourceParams$n = /*#__PURE__*/ createResourceParams$z(upsertOmniProcess_ConfigPropertyMetadata);
|
|
3364
3869
|
function typeCheckConfig$n(untrustedConfig) {
|
|
3365
3870
|
const config = {};
|
|
3366
|
-
typeCheckConfig$
|
|
3871
|
+
typeCheckConfig$z(untrustedConfig, config, upsertOmniProcess_ConfigPropertyMetadata);
|
|
3367
3872
|
return config;
|
|
3368
3873
|
}
|
|
3369
3874
|
function validateAdapterConfig$n(untrustedConfig, configPropertyNames) {
|
|
@@ -3541,10 +4046,10 @@ const upsertDataraptor_ConfigPropertyMetadata = [
|
|
|
3541
4046
|
generateParamConfigMetadata('xmlOutputTagsOrder', false, 2 /* Body */, 0 /* String */),
|
|
3542
4047
|
];
|
|
3543
4048
|
const upsertDataraptor_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$m, upsertDataraptor_ConfigPropertyMetadata);
|
|
3544
|
-
const createResourceParams$m = /*#__PURE__*/ createResourceParams$
|
|
4049
|
+
const createResourceParams$m = /*#__PURE__*/ createResourceParams$z(upsertDataraptor_ConfigPropertyMetadata);
|
|
3545
4050
|
function typeCheckConfig$m(untrustedConfig) {
|
|
3546
4051
|
const config = {};
|
|
3547
|
-
typeCheckConfig$
|
|
4052
|
+
typeCheckConfig$z(untrustedConfig, config, upsertDataraptor_ConfigPropertyMetadata);
|
|
3548
4053
|
return config;
|
|
3549
4054
|
}
|
|
3550
4055
|
function validateAdapterConfig$m(untrustedConfig, configPropertyNames) {
|
|
@@ -3732,10 +4237,10 @@ const buildBusinessProcessDataJson_ConfigPropertyMetadata = [
|
|
|
3732
4237
|
generateParamConfigMetadata('rootElements', true, 2 /* Body */, 4 /* Unsupported */),
|
|
3733
4238
|
];
|
|
3734
4239
|
const buildBusinessProcessDataJson_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$l, buildBusinessProcessDataJson_ConfigPropertyMetadata);
|
|
3735
|
-
const createResourceParams$l = /*#__PURE__*/ createResourceParams$
|
|
4240
|
+
const createResourceParams$l = /*#__PURE__*/ createResourceParams$z(buildBusinessProcessDataJson_ConfigPropertyMetadata);
|
|
3736
4241
|
function typeCheckConfig$l(untrustedConfig) {
|
|
3737
4242
|
const config = {};
|
|
3738
|
-
typeCheckConfig$
|
|
4243
|
+
typeCheckConfig$z(untrustedConfig, config, buildBusinessProcessDataJson_ConfigPropertyMetadata);
|
|
3739
4244
|
const untrustedConfig_rootElements = untrustedConfig.rootElements;
|
|
3740
4245
|
if (untrustedIsObject(untrustedConfig_rootElements)) {
|
|
3741
4246
|
const untrustedConfig_rootElements_object = {};
|
|
@@ -3916,10 +4421,10 @@ const buildJson_ConfigPropertyMetadata = [
|
|
|
3916
4421
|
generateParamConfigMetadata('scriptState', true, 2 /* Body */, 0 /* String */),
|
|
3917
4422
|
];
|
|
3918
4423
|
const buildJson_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$k, buildJson_ConfigPropertyMetadata);
|
|
3919
|
-
const createResourceParams$k = /*#__PURE__*/ createResourceParams$
|
|
4424
|
+
const createResourceParams$k = /*#__PURE__*/ createResourceParams$z(buildJson_ConfigPropertyMetadata);
|
|
3920
4425
|
function typeCheckConfig$k(untrustedConfig) {
|
|
3921
4426
|
const config = {};
|
|
3922
|
-
typeCheckConfig$
|
|
4427
|
+
typeCheckConfig$z(untrustedConfig, config, buildJson_ConfigPropertyMetadata);
|
|
3923
4428
|
const untrustedConfig_multiLangCode = untrustedConfig.multiLangCode;
|
|
3924
4429
|
if (typeof untrustedConfig_multiLangCode === 'string') {
|
|
3925
4430
|
config.multiLangCode = untrustedConfig_multiLangCode;
|
|
@@ -4553,10 +5058,10 @@ const cloneOmniProcessElement_ConfigPropertyMetadata = [
|
|
|
4553
5058
|
generateParamConfigMetadata('omniscriptId', true, 2 /* Body */, 0 /* String */),
|
|
4554
5059
|
];
|
|
4555
5060
|
const cloneOmniProcessElement_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$j, cloneOmniProcessElement_ConfigPropertyMetadata);
|
|
4556
|
-
const createResourceParams$j = /*#__PURE__*/ createResourceParams$
|
|
5061
|
+
const createResourceParams$j = /*#__PURE__*/ createResourceParams$z(cloneOmniProcessElement_ConfigPropertyMetadata);
|
|
4557
5062
|
function typeCheckConfig$j(untrustedConfig) {
|
|
4558
5063
|
const config = {};
|
|
4559
|
-
typeCheckConfig$
|
|
5064
|
+
typeCheckConfig$z(untrustedConfig, config, cloneOmniProcessElement_ConfigPropertyMetadata);
|
|
4560
5065
|
return config;
|
|
4561
5066
|
}
|
|
4562
5067
|
function validateAdapterConfig$j(untrustedConfig, configPropertyNames) {
|
|
@@ -4736,14 +5241,14 @@ const getDesignerCustomizationElementWarning_ConfigPropertyMetadata = [
|
|
|
4736
5241
|
generateParamConfigMetadata('omniScriptId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
4737
5242
|
];
|
|
4738
5243
|
const getDesignerCustomizationElementWarning_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$i, getDesignerCustomizationElementWarning_ConfigPropertyMetadata);
|
|
4739
|
-
const createResourceParams$i = /*#__PURE__*/ createResourceParams$
|
|
5244
|
+
const createResourceParams$i = /*#__PURE__*/ createResourceParams$z(getDesignerCustomizationElementWarning_ConfigPropertyMetadata);
|
|
4740
5245
|
function keyBuilder$s(luvio, config) {
|
|
4741
5246
|
const resourceParams = createResourceParams$i(config);
|
|
4742
5247
|
return keyBuilder$t(luvio, resourceParams);
|
|
4743
5248
|
}
|
|
4744
5249
|
function typeCheckConfig$i(untrustedConfig) {
|
|
4745
5250
|
const config = {};
|
|
4746
|
-
typeCheckConfig$
|
|
5251
|
+
typeCheckConfig$z(untrustedConfig, config, getDesignerCustomizationElementWarning_ConfigPropertyMetadata);
|
|
4747
5252
|
return config;
|
|
4748
5253
|
}
|
|
4749
5254
|
function validateAdapterConfig$i(untrustedConfig, configPropertyNames) {
|
|
@@ -4792,7 +5297,7 @@ function buildNetworkSnapshot$i(luvio, config, options) {
|
|
|
4792
5297
|
});
|
|
4793
5298
|
}
|
|
4794
5299
|
function buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext) {
|
|
4795
|
-
return buildNetworkSnapshotCachePolicy$
|
|
5300
|
+
return buildNetworkSnapshotCachePolicy$k(context, coercedAdapterRequestContext, buildNetworkSnapshot$i, undefined, false);
|
|
4796
5301
|
}
|
|
4797
5302
|
function buildCachedSnapshotCachePolicy$a(context, storeLookup) {
|
|
4798
5303
|
const { luvio, config } = context;
|
|
@@ -4951,14 +5456,14 @@ const getDesignerCustomization_ConfigPropertyMetadata = [
|
|
|
4951
5456
|
generateParamConfigMetadata('designerCustomizationType', true, 0 /* UrlParameter */, 0 /* String */),
|
|
4952
5457
|
];
|
|
4953
5458
|
const getDesignerCustomization_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$h, getDesignerCustomization_ConfigPropertyMetadata);
|
|
4954
|
-
const createResourceParams$h = /*#__PURE__*/ createResourceParams$
|
|
5459
|
+
const createResourceParams$h = /*#__PURE__*/ createResourceParams$z(getDesignerCustomization_ConfigPropertyMetadata);
|
|
4955
5460
|
function keyBuilder$q(luvio, config) {
|
|
4956
5461
|
const resourceParams = createResourceParams$h(config);
|
|
4957
5462
|
return keyBuilder$r(luvio, resourceParams);
|
|
4958
5463
|
}
|
|
4959
5464
|
function typeCheckConfig$h(untrustedConfig) {
|
|
4960
5465
|
const config = {};
|
|
4961
|
-
typeCheckConfig$
|
|
5466
|
+
typeCheckConfig$z(untrustedConfig, config, getDesignerCustomization_ConfigPropertyMetadata);
|
|
4962
5467
|
return config;
|
|
4963
5468
|
}
|
|
4964
5469
|
function validateAdapterConfig$h(untrustedConfig, configPropertyNames) {
|
|
@@ -5007,7 +5512,7 @@ function buildNetworkSnapshot$h(luvio, config, options) {
|
|
|
5007
5512
|
});
|
|
5008
5513
|
}
|
|
5009
5514
|
function buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext) {
|
|
5010
|
-
return buildNetworkSnapshotCachePolicy$
|
|
5515
|
+
return buildNetworkSnapshotCachePolicy$k(context, coercedAdapterRequestContext, buildNetworkSnapshot$h, undefined, false);
|
|
5011
5516
|
}
|
|
5012
5517
|
function buildCachedSnapshotCachePolicy$9(context, storeLookup) {
|
|
5013
5518
|
const { luvio, config } = context;
|
|
@@ -5176,7 +5681,7 @@ function createResourceRequest$g(config) {
|
|
|
5176
5681
|
const adapterName$g = 'getDynamicElements';
|
|
5177
5682
|
const getDynamicElements_ConfigPropertyMetadata = [];
|
|
5178
5683
|
const getDynamicElements_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$g, getDynamicElements_ConfigPropertyMetadata);
|
|
5179
|
-
const createResourceParams$g = /*#__PURE__*/ createResourceParams$
|
|
5684
|
+
const createResourceParams$g = /*#__PURE__*/ createResourceParams$z(getDynamicElements_ConfigPropertyMetadata);
|
|
5180
5685
|
function keyBuilder$o(luvio, config) {
|
|
5181
5686
|
createResourceParams$g(config);
|
|
5182
5687
|
return keyBuilder$p();
|
|
@@ -5231,7 +5736,7 @@ function buildNetworkSnapshot$g(luvio, config, options) {
|
|
|
5231
5736
|
});
|
|
5232
5737
|
}
|
|
5233
5738
|
function buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext) {
|
|
5234
|
-
return buildNetworkSnapshotCachePolicy$
|
|
5739
|
+
return buildNetworkSnapshotCachePolicy$k(context, coercedAdapterRequestContext, buildNetworkSnapshot$g, undefined, false);
|
|
5235
5740
|
}
|
|
5236
5741
|
function buildCachedSnapshotCachePolicy$8(context, storeLookup) {
|
|
5237
5742
|
const { luvio, config } = context;
|
|
@@ -5406,10 +5911,10 @@ const insertOmniProcessElement_ConfigPropertyMetadata = [
|
|
|
5406
5911
|
generateParamConfigMetadata('width', true, 2 /* Body */, 3 /* Integer */),
|
|
5407
5912
|
];
|
|
5408
5913
|
const insertOmniProcessElement_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, insertOmniProcessElement_ConfigPropertyMetadata);
|
|
5409
|
-
const createResourceParams$f = /*#__PURE__*/ createResourceParams$
|
|
5914
|
+
const createResourceParams$f = /*#__PURE__*/ createResourceParams$z(insertOmniProcessElement_ConfigPropertyMetadata);
|
|
5410
5915
|
function typeCheckConfig$f(untrustedConfig) {
|
|
5411
5916
|
const config = {};
|
|
5412
|
-
typeCheckConfig$
|
|
5917
|
+
typeCheckConfig$z(untrustedConfig, config, insertOmniProcessElement_ConfigPropertyMetadata);
|
|
5413
5918
|
const untrustedConfig_customLwcName = untrustedConfig.customLwcName;
|
|
5414
5919
|
if (typeof untrustedConfig_customLwcName === 'string') {
|
|
5415
5920
|
config.customLwcName = untrustedConfig_customLwcName;
|
|
@@ -5910,10 +6415,10 @@ const moveOmniProcessElement_ConfigPropertyMetadata = [
|
|
|
5910
6415
|
generateParamConfigMetadata('parentElementId', false, 2 /* Body */, 4 /* Unsupported */),
|
|
5911
6416
|
];
|
|
5912
6417
|
const moveOmniProcessElement_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$e, moveOmniProcessElement_ConfigPropertyMetadata);
|
|
5913
|
-
const createResourceParams$e = /*#__PURE__*/ createResourceParams$
|
|
6418
|
+
const createResourceParams$e = /*#__PURE__*/ createResourceParams$z(moveOmniProcessElement_ConfigPropertyMetadata);
|
|
5914
6419
|
function typeCheckConfig$e(untrustedConfig) {
|
|
5915
6420
|
const config = {};
|
|
5916
|
-
typeCheckConfig$
|
|
6421
|
+
typeCheckConfig$z(untrustedConfig, config, moveOmniProcessElement_ConfigPropertyMetadata);
|
|
5917
6422
|
const untrustedConfig_parentElementId = untrustedConfig.parentElementId;
|
|
5918
6423
|
if (typeof untrustedConfig_parentElementId === 'string') {
|
|
5919
6424
|
config.parentElementId = untrustedConfig_parentElementId;
|
|
@@ -6112,14 +6617,14 @@ const getNonOmniscriptLwc_ConfigPropertyMetadata = [
|
|
|
6112
6617
|
generateParamConfigMetadata('type', false, 1 /* QueryParameter */, 0 /* String */),
|
|
6113
6618
|
];
|
|
6114
6619
|
const getNonOmniscriptLwc_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, getNonOmniscriptLwc_ConfigPropertyMetadata);
|
|
6115
|
-
const createResourceParams$d = /*#__PURE__*/ createResourceParams$
|
|
6620
|
+
const createResourceParams$d = /*#__PURE__*/ createResourceParams$z(getNonOmniscriptLwc_ConfigPropertyMetadata);
|
|
6116
6621
|
function keyBuilder$k(luvio, config) {
|
|
6117
6622
|
const resourceParams = createResourceParams$d(config);
|
|
6118
6623
|
return keyBuilder$l(luvio, resourceParams);
|
|
6119
6624
|
}
|
|
6120
6625
|
function typeCheckConfig$d(untrustedConfig) {
|
|
6121
6626
|
const config = {};
|
|
6122
|
-
typeCheckConfig$
|
|
6627
|
+
typeCheckConfig$z(untrustedConfig, config, getNonOmniscriptLwc_ConfigPropertyMetadata);
|
|
6123
6628
|
return config;
|
|
6124
6629
|
}
|
|
6125
6630
|
function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
|
|
@@ -6168,7 +6673,7 @@ function buildNetworkSnapshot$d(luvio, config, options) {
|
|
|
6168
6673
|
});
|
|
6169
6674
|
}
|
|
6170
6675
|
function buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext) {
|
|
6171
|
-
return buildNetworkSnapshotCachePolicy$
|
|
6676
|
+
return buildNetworkSnapshotCachePolicy$k(context, coercedAdapterRequestContext, buildNetworkSnapshot$d, undefined, false);
|
|
6172
6677
|
}
|
|
6173
6678
|
function buildCachedSnapshotCachePolicy$7(context, storeLookup) {
|
|
6174
6679
|
const { luvio, config } = context;
|
|
@@ -6590,10 +7095,10 @@ const deleteOmniProcessElement_ConfigPropertyMetadata = [
|
|
|
6590
7095
|
generateParamConfigMetadata('omniscriptId', true, 2 /* Body */, 0 /* String */),
|
|
6591
7096
|
];
|
|
6592
7097
|
const deleteOmniProcessElement_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, deleteOmniProcessElement_ConfigPropertyMetadata);
|
|
6593
|
-
const createResourceParams$c = /*#__PURE__*/ createResourceParams$
|
|
7098
|
+
const createResourceParams$c = /*#__PURE__*/ createResourceParams$z(deleteOmniProcessElement_ConfigPropertyMetadata);
|
|
6594
7099
|
function typeCheckConfig$c(untrustedConfig) {
|
|
6595
7100
|
const config = {};
|
|
6596
|
-
typeCheckConfig$
|
|
7101
|
+
typeCheckConfig$z(untrustedConfig, config, deleteOmniProcessElement_ConfigPropertyMetadata);
|
|
6597
7102
|
return config;
|
|
6598
7103
|
}
|
|
6599
7104
|
function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
|
|
@@ -6991,10 +7496,10 @@ const uploadDocument_ConfigPropertyMetadata = [
|
|
|
6991
7496
|
generateParamConfigMetadata('type', true, 2 /* Body */, 0 /* String */),
|
|
6992
7497
|
];
|
|
6993
7498
|
const uploadDocument_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, uploadDocument_ConfigPropertyMetadata);
|
|
6994
|
-
const createResourceParams$b = /*#__PURE__*/ createResourceParams$
|
|
7499
|
+
const createResourceParams$b = /*#__PURE__*/ createResourceParams$z(uploadDocument_ConfigPropertyMetadata);
|
|
6995
7500
|
function typeCheckConfig$b(untrustedConfig) {
|
|
6996
7501
|
const config = {};
|
|
6997
|
-
typeCheckConfig$
|
|
7502
|
+
typeCheckConfig$z(untrustedConfig, config, uploadDocument_ConfigPropertyMetadata);
|
|
6998
7503
|
return config;
|
|
6999
7504
|
}
|
|
7000
7505
|
function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
|
|
@@ -9131,14 +9636,14 @@ const getFileBasedOsDetail_ConfigPropertyMetadata = [
|
|
|
9131
9636
|
generateParamConfigMetadata('osName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
9132
9637
|
];
|
|
9133
9638
|
const getFileBasedOsDetail_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, getFileBasedOsDetail_ConfigPropertyMetadata);
|
|
9134
|
-
const createResourceParams$a = /*#__PURE__*/ createResourceParams$
|
|
9639
|
+
const createResourceParams$a = /*#__PURE__*/ createResourceParams$z(getFileBasedOsDetail_ConfigPropertyMetadata);
|
|
9135
9640
|
function keyBuilder$g(luvio, config) {
|
|
9136
9641
|
const resourceParams = createResourceParams$a(config);
|
|
9137
9642
|
return keyBuilder$h(luvio, resourceParams);
|
|
9138
9643
|
}
|
|
9139
9644
|
function typeCheckConfig$a(untrustedConfig) {
|
|
9140
9645
|
const config = {};
|
|
9141
|
-
typeCheckConfig$
|
|
9646
|
+
typeCheckConfig$z(untrustedConfig, config, getFileBasedOsDetail_ConfigPropertyMetadata);
|
|
9142
9647
|
return config;
|
|
9143
9648
|
}
|
|
9144
9649
|
function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
|
|
@@ -9187,7 +9692,7 @@ function buildNetworkSnapshot$a(luvio, config, options) {
|
|
|
9187
9692
|
});
|
|
9188
9693
|
}
|
|
9189
9694
|
function buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext) {
|
|
9190
|
-
return buildNetworkSnapshotCachePolicy$
|
|
9695
|
+
return buildNetworkSnapshotCachePolicy$k(context, coercedAdapterRequestContext, buildNetworkSnapshot$a, undefined, false);
|
|
9191
9696
|
}
|
|
9192
9697
|
function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
|
|
9193
9698
|
const { luvio, config } = context;
|
|
@@ -9708,7 +10213,7 @@ function createResourceRequest$9(config) {
|
|
|
9708
10213
|
const adapterName$9 = 'getFileBasedOsList';
|
|
9709
10214
|
const getFileBasedOsList_ConfigPropertyMetadata = [];
|
|
9710
10215
|
const getFileBasedOsList_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, getFileBasedOsList_ConfigPropertyMetadata);
|
|
9711
|
-
const createResourceParams$9 = /*#__PURE__*/ createResourceParams$
|
|
10216
|
+
const createResourceParams$9 = /*#__PURE__*/ createResourceParams$z(getFileBasedOsList_ConfigPropertyMetadata);
|
|
9712
10217
|
function keyBuilder$e(luvio, config) {
|
|
9713
10218
|
createResourceParams$9(config);
|
|
9714
10219
|
return keyBuilder$f();
|
|
@@ -9763,7 +10268,7 @@ function buildNetworkSnapshot$9(luvio, config, options) {
|
|
|
9763
10268
|
});
|
|
9764
10269
|
}
|
|
9765
10270
|
function buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext) {
|
|
9766
|
-
return buildNetworkSnapshotCachePolicy$
|
|
10271
|
+
return buildNetworkSnapshotCachePolicy$k(context, coercedAdapterRequestContext, buildNetworkSnapshot$9, undefined, false);
|
|
9767
10272
|
}
|
|
9768
10273
|
function buildCachedSnapshotCachePolicy$5(context, storeLookup) {
|
|
9769
10274
|
const { luvio, config } = context;
|
|
@@ -10075,14 +10580,14 @@ const getIntegrationProcedureFetchRecord_ConfigPropertyMetadata = [
|
|
|
10075
10580
|
generateParamConfigMetadata('omniProcessId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
10076
10581
|
];
|
|
10077
10582
|
const getIntegrationProcedureFetchRecord_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, getIntegrationProcedureFetchRecord_ConfigPropertyMetadata);
|
|
10078
|
-
const createResourceParams$8 = /*#__PURE__*/ createResourceParams$
|
|
10583
|
+
const createResourceParams$8 = /*#__PURE__*/ createResourceParams$z(getIntegrationProcedureFetchRecord_ConfigPropertyMetadata);
|
|
10079
10584
|
function keyBuilder$c(luvio, config) {
|
|
10080
10585
|
const resourceParams = createResourceParams$8(config);
|
|
10081
10586
|
return keyBuilder$d(luvio, resourceParams);
|
|
10082
10587
|
}
|
|
10083
10588
|
function typeCheckConfig$8(untrustedConfig) {
|
|
10084
10589
|
const config = {};
|
|
10085
|
-
typeCheckConfig$
|
|
10590
|
+
typeCheckConfig$z(untrustedConfig, config, getIntegrationProcedureFetchRecord_ConfigPropertyMetadata);
|
|
10086
10591
|
return config;
|
|
10087
10592
|
}
|
|
10088
10593
|
function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
|
|
@@ -10131,7 +10636,7 @@ function buildNetworkSnapshot$8(luvio, config, options) {
|
|
|
10131
10636
|
});
|
|
10132
10637
|
}
|
|
10133
10638
|
function buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext) {
|
|
10134
|
-
return buildNetworkSnapshotCachePolicy$
|
|
10639
|
+
return buildNetworkSnapshotCachePolicy$k(context, coercedAdapterRequestContext, buildNetworkSnapshot$8, undefined, false);
|
|
10135
10640
|
}
|
|
10136
10641
|
function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
|
|
10137
10642
|
const { luvio, config } = context;
|
|
@@ -10319,10 +10824,10 @@ const postIntegrationProcedureConnectPost_ConfigPropertyMetadata = [
|
|
|
10319
10824
|
generateParamConfigMetadata('steps', true, 2 /* Body */, 4 /* Unsupported */),
|
|
10320
10825
|
];
|
|
10321
10826
|
const postIntegrationProcedureConnectPost_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, postIntegrationProcedureConnectPost_ConfigPropertyMetadata);
|
|
10322
|
-
const createResourceParams$7 = /*#__PURE__*/ createResourceParams$
|
|
10827
|
+
const createResourceParams$7 = /*#__PURE__*/ createResourceParams$z(postIntegrationProcedureConnectPost_ConfigPropertyMetadata);
|
|
10323
10828
|
function typeCheckConfig$7(untrustedConfig) {
|
|
10324
10829
|
const config = {};
|
|
10325
|
-
typeCheckConfig$
|
|
10830
|
+
typeCheckConfig$z(untrustedConfig, config, postIntegrationProcedureConnectPost_ConfigPropertyMetadata);
|
|
10326
10831
|
const untrustedConfig_attributes = untrustedConfig.attributes;
|
|
10327
10832
|
if (untrustedIsObject(untrustedConfig_attributes)) {
|
|
10328
10833
|
const untrustedConfig_attributes_object = {};
|
|
@@ -10584,14 +11089,14 @@ const getExpressionGrammar_ConfigPropertyMetadata = [
|
|
|
10584
11089
|
generateParamConfigMetadata('designerName', false, 1 /* QueryParameter */, 0 /* String */),
|
|
10585
11090
|
];
|
|
10586
11091
|
const getExpressionGrammar_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, getExpressionGrammar_ConfigPropertyMetadata);
|
|
10587
|
-
const createResourceParams$6 = /*#__PURE__*/ createResourceParams$
|
|
11092
|
+
const createResourceParams$6 = /*#__PURE__*/ createResourceParams$z(getExpressionGrammar_ConfigPropertyMetadata);
|
|
10588
11093
|
function keyBuilder$9(luvio, config) {
|
|
10589
11094
|
const resourceParams = createResourceParams$6(config);
|
|
10590
11095
|
return keyBuilder$a(luvio, resourceParams);
|
|
10591
11096
|
}
|
|
10592
11097
|
function typeCheckConfig$6(untrustedConfig) {
|
|
10593
11098
|
const config = {};
|
|
10594
|
-
typeCheckConfig$
|
|
11099
|
+
typeCheckConfig$z(untrustedConfig, config, getExpressionGrammar_ConfigPropertyMetadata);
|
|
10595
11100
|
return config;
|
|
10596
11101
|
}
|
|
10597
11102
|
function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
|
|
@@ -10640,7 +11145,7 @@ function buildNetworkSnapshot$6(luvio, config, options) {
|
|
|
10640
11145
|
});
|
|
10641
11146
|
}
|
|
10642
11147
|
function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
|
|
10643
|
-
return buildNetworkSnapshotCachePolicy$
|
|
11148
|
+
return buildNetworkSnapshotCachePolicy$k(context, coercedAdapterRequestContext, buildNetworkSnapshot$6, undefined, false);
|
|
10644
11149
|
}
|
|
10645
11150
|
function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
|
|
10646
11151
|
const { luvio, config } = context;
|
|
@@ -10812,10 +11317,10 @@ const simulateDataraptor_ConfigPropertyMetadata = [
|
|
|
10812
11317
|
generateParamConfigMetadata('simulationParams', true, 2 /* Body */, 4 /* Unsupported */, true),
|
|
10813
11318
|
];
|
|
10814
11319
|
const simulateDataraptor_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, simulateDataraptor_ConfigPropertyMetadata);
|
|
10815
|
-
const createResourceParams$5 = /*#__PURE__*/ createResourceParams$
|
|
11320
|
+
const createResourceParams$5 = /*#__PURE__*/ createResourceParams$z(simulateDataraptor_ConfigPropertyMetadata);
|
|
10816
11321
|
function typeCheckConfig$5(untrustedConfig) {
|
|
10817
11322
|
const config = {};
|
|
10818
|
-
typeCheckConfig$
|
|
11323
|
+
typeCheckConfig$z(untrustedConfig, config, simulateDataraptor_ConfigPropertyMetadata);
|
|
10819
11324
|
const untrustedConfig_simulationParams = untrustedConfig.simulationParams;
|
|
10820
11325
|
if (ArrayIsArray$1(untrustedConfig_simulationParams)) {
|
|
10821
11326
|
const untrustedConfig_simulationParams_array = [];
|
|
@@ -11018,10 +11523,10 @@ const getEntityRecords_ConfigPropertyMetadata = [
|
|
|
11018
11523
|
generateParamConfigMetadata('pageSize', false, 2 /* Body */, 3 /* Integer */),
|
|
11019
11524
|
];
|
|
11020
11525
|
const getEntityRecords_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, getEntityRecords_ConfigPropertyMetadata);
|
|
11021
|
-
const createResourceParams$4 = /*#__PURE__*/ createResourceParams$
|
|
11526
|
+
const createResourceParams$4 = /*#__PURE__*/ createResourceParams$z(getEntityRecords_ConfigPropertyMetadata);
|
|
11022
11527
|
function typeCheckConfig$4(untrustedConfig) {
|
|
11023
11528
|
const config = {};
|
|
11024
|
-
typeCheckConfig$
|
|
11529
|
+
typeCheckConfig$z(untrustedConfig, config, getEntityRecords_ConfigPropertyMetadata);
|
|
11025
11530
|
const untrustedConfig_filters = untrustedConfig.filters;
|
|
11026
11531
|
if (ArrayIsArray$1(untrustedConfig_filters)) {
|
|
11027
11532
|
const untrustedConfig_filters_array = [];
|
|
@@ -11199,10 +11704,10 @@ const integrationProcedureExecutionResult_ConfigPropertyMetadata = [
|
|
|
11199
11704
|
generateParamConfigMetadata('procedureId', true, 2 /* Body */, 0 /* String */),
|
|
11200
11705
|
];
|
|
11201
11706
|
const integrationProcedureExecutionResult_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, integrationProcedureExecutionResult_ConfigPropertyMetadata);
|
|
11202
|
-
const createResourceParams$3 = /*#__PURE__*/ createResourceParams$
|
|
11707
|
+
const createResourceParams$3 = /*#__PURE__*/ createResourceParams$z(integrationProcedureExecutionResult_ConfigPropertyMetadata);
|
|
11203
11708
|
function typeCheckConfig$3(untrustedConfig) {
|
|
11204
11709
|
const config = {};
|
|
11205
|
-
typeCheckConfig$
|
|
11710
|
+
typeCheckConfig$z(untrustedConfig, config, integrationProcedureExecutionResult_ConfigPropertyMetadata);
|
|
11206
11711
|
const untrustedConfig_inputParams = untrustedConfig.inputParams;
|
|
11207
11712
|
if (untrustedIsObject(untrustedConfig_inputParams)) {
|
|
11208
11713
|
const untrustedConfig_inputParams_object = {};
|
|
@@ -11682,14 +12187,14 @@ const getCardList_ConfigPropertyMetadata = [
|
|
|
11682
12187
|
generateParamConfigMetadata('nextPageCursor', false, 1 /* QueryParameter */, 0 /* String */),
|
|
11683
12188
|
];
|
|
11684
12189
|
const getCardList_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getCardList_ConfigPropertyMetadata);
|
|
11685
|
-
const createResourceParams$2 = /*#__PURE__*/ createResourceParams$
|
|
12190
|
+
const createResourceParams$2 = /*#__PURE__*/ createResourceParams$z(getCardList_ConfigPropertyMetadata);
|
|
11686
12191
|
function keyBuilder$4(luvio, config) {
|
|
11687
12192
|
const resourceParams = createResourceParams$2(config);
|
|
11688
12193
|
return keyBuilder$5(luvio, resourceParams);
|
|
11689
12194
|
}
|
|
11690
12195
|
function typeCheckConfig$2(untrustedConfig) {
|
|
11691
12196
|
const config = {};
|
|
11692
|
-
typeCheckConfig$
|
|
12197
|
+
typeCheckConfig$z(untrustedConfig, config, getCardList_ConfigPropertyMetadata);
|
|
11693
12198
|
return config;
|
|
11694
12199
|
}
|
|
11695
12200
|
function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
|
|
@@ -11738,7 +12243,7 @@ function buildNetworkSnapshot$2(luvio, config, options) {
|
|
|
11738
12243
|
});
|
|
11739
12244
|
}
|
|
11740
12245
|
function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
|
|
11741
|
-
return buildNetworkSnapshotCachePolicy$
|
|
12246
|
+
return buildNetworkSnapshotCachePolicy$k(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
|
|
11742
12247
|
}
|
|
11743
12248
|
function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
|
|
11744
12249
|
const { luvio, config } = context;
|
|
@@ -12084,14 +12589,14 @@ const getFileCardDetail_ConfigPropertyMetadata = [
|
|
|
12084
12589
|
generateParamConfigMetadata('cardName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
12085
12590
|
];
|
|
12086
12591
|
const getFileCardDetail_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getFileCardDetail_ConfigPropertyMetadata);
|
|
12087
|
-
const createResourceParams$1 = /*#__PURE__*/ createResourceParams$
|
|
12592
|
+
const createResourceParams$1 = /*#__PURE__*/ createResourceParams$z(getFileCardDetail_ConfigPropertyMetadata);
|
|
12088
12593
|
function keyBuilder$2(luvio, config) {
|
|
12089
12594
|
const resourceParams = createResourceParams$1(config);
|
|
12090
12595
|
return keyBuilder$3(luvio, resourceParams);
|
|
12091
12596
|
}
|
|
12092
12597
|
function typeCheckConfig$1(untrustedConfig) {
|
|
12093
12598
|
const config = {};
|
|
12094
|
-
typeCheckConfig$
|
|
12599
|
+
typeCheckConfig$z(untrustedConfig, config, getFileCardDetail_ConfigPropertyMetadata);
|
|
12095
12600
|
return config;
|
|
12096
12601
|
}
|
|
12097
12602
|
function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
|
|
@@ -12140,7 +12645,7 @@ function buildNetworkSnapshot$1(luvio, config, options) {
|
|
|
12140
12645
|
});
|
|
12141
12646
|
}
|
|
12142
12647
|
function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
|
|
12143
|
-
return buildNetworkSnapshotCachePolicy$
|
|
12648
|
+
return buildNetworkSnapshotCachePolicy$k(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
|
|
12144
12649
|
}
|
|
12145
12650
|
function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
|
|
12146
12651
|
const { luvio, config } = context;
|
|
@@ -12358,7 +12863,7 @@ function createResourceRequest(config) {
|
|
|
12358
12863
|
const adapterName = 'getEmailTemplates';
|
|
12359
12864
|
const getEmailTemplates_ConfigPropertyMetadata = [];
|
|
12360
12865
|
const getEmailTemplates_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, getEmailTemplates_ConfigPropertyMetadata);
|
|
12361
|
-
const createResourceParams = /*#__PURE__*/ createResourceParams$
|
|
12866
|
+
const createResourceParams = /*#__PURE__*/ createResourceParams$z(getEmailTemplates_ConfigPropertyMetadata);
|
|
12362
12867
|
function keyBuilder(luvio, config) {
|
|
12363
12868
|
createResourceParams(config);
|
|
12364
12869
|
return keyBuilder$1();
|
|
@@ -12413,7 +12918,7 @@ function buildNetworkSnapshot(luvio, config, options) {
|
|
|
12413
12918
|
});
|
|
12414
12919
|
}
|
|
12415
12920
|
function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
|
|
12416
|
-
return buildNetworkSnapshotCachePolicy$
|
|
12921
|
+
return buildNetworkSnapshotCachePolicy$k(context, coercedAdapterRequestContext, buildNetworkSnapshot, undefined, false);
|
|
12417
12922
|
}
|
|
12418
12923
|
function buildCachedSnapshotCachePolicy(context, storeLookup) {
|
|
12419
12924
|
const { luvio, config } = context;
|
|
@@ -12438,4 +12943,4 @@ const getEmailTemplatesAdapterFactory = (luvio) => function OmniDesigner__getEma
|
|
|
12438
12943
|
buildCachedSnapshotCachePolicy, buildNetworkSnapshotCachePolicy);
|
|
12439
12944
|
};
|
|
12440
12945
|
|
|
12441
|
-
export { buildBusinessProcessDataJsonAdapterFactory, buildJsonAdapterFactory, cardUpsertAttachmentAdapterFactory, cloneOmniProcessAdapterFactory, cloneOmniProcessElementAdapterFactory, deleteOmniProcessElementAdapterFactory, fetchDataraptorListAdapterFactory, fetchDecisionMatrixAdapterFactory, fetchDocusignTemplatesAdapterFactory, fetchEmailDocumentsAdapterFactory, fetchEntityInfoAdapterFactory, fetchOmniProcessDataAdapterFactory, fetchOmniProcessListAdapterFactory, getCardByIdAdapterFactory, getCardListAdapterFactory, getDesignerCustomizationAdapterFactory, getDesignerCustomizationElementWarningAdapterFactory, getDynamicElementsAdapterFactory, getEmailTemplatesAdapterFactory, getEntityRecordsAdapterFactory, getExpressionGrammarAdapterFactory, getFileBasedOsDetailAdapterFactory, getFileBasedOsListAdapterFactory, getFileCardDetailAdapterFactory, getIntegrationProcedureFetchRecordAdapterFactory, getNonOmniscriptLwcAdapterFactory, insertOmniProcessElementAdapterFactory, integrationProcedureExecutionResultAdapterFactory, moveOmniProcessElementAdapterFactory, postIntegrationProcedureConnectPostAdapterFactory, simulateDataraptorAdapterFactory, uploadDocumentAdapterFactory, upsertDataraptorAdapterFactory, upsertOmniProcessAdapterFactory };
|
|
12946
|
+
export { buildBusinessProcessDataJsonAdapterFactory, buildJsonAdapterFactory, cardUpsertAttachmentAdapterFactory, cloneOmniProcessAdapterFactory, cloneOmniProcessElementAdapterFactory, deleteOmniProcessElementAdapterFactory, fetchDataraptorListAdapterFactory, fetchDecisionMatrixAdapterFactory, fetchDocusignTemplatesAdapterFactory, fetchEmailDocumentsAdapterFactory, fetchEntityInfoAdapterFactory, fetchOmniProcessDataAdapterFactory, fetchOmniProcessListAdapterFactory, getCardByIdAdapterFactory, getCardListAdapterFactory, getDataraptorConfigAdapterFactory, getDesignerCustomizationAdapterFactory, getDesignerCustomizationElementWarningAdapterFactory, getDynamicElementsAdapterFactory, getEmailTemplatesAdapterFactory, getEntityRecordsAdapterFactory, getExpressionGrammarAdapterFactory, getFileBasedOsDetailAdapterFactory, getFileBasedOsListAdapterFactory, getFileCardDetailAdapterFactory, getIntegrationProcedureFetchRecordAdapterFactory, getNonOmniscriptLwcAdapterFactory, insertOmniProcessElementAdapterFactory, integrationProcedureExecutionResultAdapterFactory, moveOmniProcessElementAdapterFactory, postIntegrationProcedureConnectPostAdapterFactory, simulateDataraptorAdapterFactory, uploadDocumentAdapterFactory, upsertDataraptorAdapterFactory, upsertOmniProcessAdapterFactory };
|